@sd-angular/core 1.3.0 → 1.3.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 (805) hide show
  1. package/api/package.json +1 -12
  2. package/api/sd-angular-core-api.d.ts +0 -2
  3. package/autocomplete/package.json +1 -12
  4. package/autocomplete/sd-angular-core-autocomplete.d.ts +0 -2
  5. package/badge/package.json +1 -12
  6. package/badge/sd-angular-core-badge.d.ts +0 -2
  7. package/bundles/sd-angular-core-api.umd.js +1 -2
  8. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  9. package/bundles/sd-angular-core-autocomplete.umd.js +1 -2
  10. package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
  11. package/bundles/sd-angular-core-badge.umd.js +1 -2
  12. package/bundles/sd-angular-core-badge.umd.js.map +1 -1
  13. package/bundles/sd-angular-core-button.umd.js +1 -2
  14. package/bundles/sd-angular-core-button.umd.js.map +1 -1
  15. package/bundles/sd-angular-core-cache.umd.js +1 -2
  16. package/bundles/sd-angular-core-cache.umd.js.map +1 -1
  17. package/bundles/sd-angular-core-chart.umd.js +1 -2
  18. package/bundles/sd-angular-core-chart.umd.js.map +1 -1
  19. package/bundles/sd-angular-core-checkbox.umd.js +1 -2
  20. package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
  21. package/bundles/sd-angular-core-chip.umd.js +1 -2
  22. package/bundles/sd-angular-core-chip.umd.js.map +1 -1
  23. package/bundles/sd-angular-core-comment.umd.js +1 -2
  24. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  25. package/bundles/sd-angular-core-common.umd.js +1 -2
  26. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  27. package/bundles/sd-angular-core-confirm.umd.js +1 -2
  28. package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
  29. package/bundles/sd-angular-core-date-month.umd.js +1 -2
  30. package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
  31. package/bundles/sd-angular-core-date-range.umd.js +1 -2
  32. package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
  33. package/bundles/sd-angular-core-date-time.umd.js +1 -2
  34. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  35. package/bundles/sd-angular-core-db.umd.js +1 -2
  36. package/bundles/sd-angular-core-db.umd.js.map +1 -1
  37. package/bundles/sd-angular-core-dynamic-report.umd.js +1 -2
  38. package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
  39. package/bundles/sd-angular-core-editor.umd.js +1 -2
  40. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  41. package/bundles/sd-angular-core-excel.umd.js +1 -2
  42. package/bundles/sd-angular-core-excel.umd.js.map +1 -1
  43. package/bundles/sd-angular-core-export.umd.js +1 -2
  44. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  45. package/bundles/sd-angular-core-filter.umd.js +1 -2
  46. package/bundles/sd-angular-core-filter.umd.js.map +1 -1
  47. package/bundles/sd-angular-core-form.umd.js +1 -2
  48. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  49. package/bundles/sd-angular-core-grid-material.umd.js +19 -17
  50. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  51. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  52. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  53. package/bundles/sd-angular-core-grid.umd.js +1 -2
  54. package/bundles/sd-angular-core-grid.umd.js.map +1 -1
  55. package/bundles/sd-angular-core-group.umd.js +1 -2
  56. package/bundles/sd-angular-core-group.umd.js.map +1 -1
  57. package/bundles/sd-angular-core-header-title.umd.js +1 -2
  58. package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
  59. package/bundles/sd-angular-core-image-preview.umd.js +1 -2
  60. package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
  61. package/bundles/sd-angular-core-input-currency.umd.js +1 -2
  62. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  63. package/bundles/sd-angular-core-input-dropdown.umd.js +1 -2
  64. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  65. package/bundles/sd-angular-core-input-number.umd.js +1 -2
  66. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  67. package/bundles/sd-angular-core-input-upload-file.umd.js +1 -2
  68. package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
  69. package/bundles/sd-angular-core-input.umd.js +1 -2
  70. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  71. package/bundles/sd-angular-core-json-editor.umd.js +1 -2
  72. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  73. package/bundles/sd-angular-core-konva.umd.js +1 -2
  74. package/bundles/sd-angular-core-konva.umd.js.map +1 -1
  75. package/bundles/sd-angular-core-label.umd.js +1 -2
  76. package/bundles/sd-angular-core-label.umd.js.map +1 -1
  77. package/bundles/sd-angular-core-loading.umd.js +1 -2
  78. package/bundles/sd-angular-core-loading.umd.js.map +1 -1
  79. package/bundles/sd-angular-core-modal-resizable.umd.js +1 -2
  80. package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
  81. package/bundles/sd-angular-core-modal.umd.js +1 -2
  82. package/bundles/sd-angular-core-modal.umd.js.map +1 -1
  83. package/bundles/sd-angular-core-notify.umd.js +1 -2
  84. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  85. package/bundles/sd-angular-core-popover.umd.js +1 -2
  86. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  87. package/bundles/sd-angular-core-quick-action.umd.js +1 -2
  88. package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
  89. package/bundles/sd-angular-core-radio.umd.js +1 -2
  90. package/bundles/sd-angular-core-radio.umd.js.map +1 -1
  91. package/bundles/sd-angular-core-select-badge.umd.js +1 -2
  92. package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
  93. package/bundles/sd-angular-core-select-editor.umd.js +1 -2
  94. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  95. package/bundles/sd-angular-core-select.umd.js +1 -2
  96. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  97. package/bundles/sd-angular-core-service.umd.js +1 -2
  98. package/bundles/sd-angular-core-service.umd.js.map +1 -1
  99. package/bundles/sd-angular-core-setting.umd.js +1 -2
  100. package/bundles/sd-angular-core-setting.umd.js.map +1 -1
  101. package/bundles/sd-angular-core-side-drawer.umd.js +1 -2
  102. package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
  103. package/bundles/sd-angular-core-switch.umd.js +1 -2
  104. package/bundles/sd-angular-core-switch.umd.js.map +1 -1
  105. package/bundles/sd-angular-core-tab-router.umd.js +1 -2
  106. package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
  107. package/bundles/sd-angular-core-textarea.umd.js +1 -2
  108. package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
  109. package/bundles/sd-angular-core-time.umd.js +1 -2
  110. package/bundles/sd-angular-core-time.umd.js.map +1 -1
  111. package/bundles/sd-angular-core-timeline.umd.js +1 -2
  112. package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
  113. package/bundles/sd-angular-core-translate.umd.js +1 -2
  114. package/bundles/sd-angular-core-translate.umd.js.map +1 -1
  115. package/bundles/sd-angular-core-upload-excel.umd.js +1 -2
  116. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  117. package/bundles/sd-angular-core-upload-file.umd.js +1 -2
  118. package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
  119. package/bundles/sd-angular-core-utility.umd.js +1 -2
  120. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  121. package/bundles/sd-angular-core-view.umd.js +1 -2
  122. package/bundles/sd-angular-core-view.umd.js.map +1 -1
  123. package/button/package.json +1 -12
  124. package/button/sd-angular-core-button.d.ts +0 -2
  125. package/cache/package.json +1 -12
  126. package/cache/sd-angular-core-cache.d.ts +0 -2
  127. package/chart/package.json +1 -12
  128. package/chart/sd-angular-core-chart.d.ts +0 -2
  129. package/checkbox/package.json +1 -12
  130. package/checkbox/sd-angular-core-checkbox.d.ts +0 -2
  131. package/chip/package.json +1 -12
  132. package/chip/sd-angular-core-chip.d.ts +0 -2
  133. package/comment/package.json +1 -12
  134. package/comment/sd-angular-core-comment.d.ts +0 -2
  135. package/common/package.json +1 -12
  136. package/common/sd-angular-core-common.d.ts +0 -2
  137. package/confirm/package.json +1 -12
  138. package/confirm/sd-angular-core-confirm.d.ts +0 -2
  139. package/date-month/package.json +1 -12
  140. package/date-month/sd-angular-core-date-month.d.ts +0 -2
  141. package/date-range/package.json +1 -12
  142. package/date-range/sd-angular-core-date-range.d.ts +0 -2
  143. package/date-time/package.json +1 -12
  144. package/date-time/sd-angular-core-date-time.d.ts +0 -2
  145. package/db/package.json +1 -12
  146. package/db/sd-angular-core-db.d.ts +0 -2
  147. package/dynamic-report/package.json +1 -12
  148. package/dynamic-report/sd-angular-core-dynamic-report.d.ts +0 -2
  149. package/editor/package.json +1 -12
  150. package/editor/sd-angular-core-editor.d.ts +0 -2
  151. package/esm2015/api/sd-angular-core-api.js +1 -1
  152. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  153. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  154. package/esm2015/button/sd-angular-core-button.js +1 -1
  155. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  156. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  157. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  158. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  159. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  160. package/esm2015/common/sd-angular-core-common.js +1 -1
  161. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  162. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  163. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  164. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  165. package/esm2015/db/sd-angular-core-db.js +1 -1
  166. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  167. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  168. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  169. package/esm2015/export/sd-angular-core-export.js +1 -1
  170. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  171. package/esm2015/form/sd-angular-core-form.js +1 -1
  172. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  173. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  174. package/esm2015/grid-material/src/lib/grid-material.component.js +44 -40
  175. package/esm2015/group/sd-angular-core-group.js +1 -1
  176. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  177. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  178. package/esm2015/input/sd-angular-core-input.js +1 -1
  179. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  180. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  181. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  182. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  183. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  184. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  185. package/esm2015/label/sd-angular-core-label.js +1 -1
  186. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  187. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  188. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  189. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  190. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  191. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  192. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  193. package/esm2015/select/sd-angular-core-select.js +1 -1
  194. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  195. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  196. package/esm2015/service/sd-angular-core-service.js +1 -1
  197. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  198. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  199. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  200. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  201. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  202. package/esm2015/time/sd-angular-core-time.js +1 -1
  203. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  204. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  205. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  206. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  207. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  208. package/esm2015/view/sd-angular-core-view.js +1 -1
  209. package/excel/package.json +1 -12
  210. package/excel/sd-angular-core-excel.d.ts +0 -2
  211. package/export/package.json +1 -12
  212. package/export/sd-angular-core-export.d.ts +0 -2
  213. package/fesm2015/sd-angular-core-api.js +1 -2
  214. package/fesm2015/sd-angular-core-api.js.map +1 -1
  215. package/fesm2015/sd-angular-core-autocomplete.js +1 -2
  216. package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
  217. package/fesm2015/sd-angular-core-badge.js +1 -2
  218. package/fesm2015/sd-angular-core-badge.js.map +1 -1
  219. package/fesm2015/sd-angular-core-button.js +1 -2
  220. package/fesm2015/sd-angular-core-button.js.map +1 -1
  221. package/fesm2015/sd-angular-core-cache.js +1 -2
  222. package/fesm2015/sd-angular-core-cache.js.map +1 -1
  223. package/fesm2015/sd-angular-core-chart.js +1 -2
  224. package/fesm2015/sd-angular-core-chart.js.map +1 -1
  225. package/fesm2015/sd-angular-core-checkbox.js +1 -2
  226. package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
  227. package/fesm2015/sd-angular-core-chip.js +1 -2
  228. package/fesm2015/sd-angular-core-chip.js.map +1 -1
  229. package/fesm2015/sd-angular-core-comment.js +1 -2
  230. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  231. package/fesm2015/sd-angular-core-common.js +1 -2
  232. package/fesm2015/sd-angular-core-common.js.map +1 -1
  233. package/fesm2015/sd-angular-core-confirm.js +1 -2
  234. package/fesm2015/sd-angular-core-confirm.js.map +1 -1
  235. package/fesm2015/sd-angular-core-date-month.js +1 -2
  236. package/fesm2015/sd-angular-core-date-month.js.map +1 -1
  237. package/fesm2015/sd-angular-core-date-range.js +1 -2
  238. package/fesm2015/sd-angular-core-date-range.js.map +1 -1
  239. package/fesm2015/sd-angular-core-date-time.js +1 -2
  240. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  241. package/fesm2015/sd-angular-core-db.js +1 -2
  242. package/fesm2015/sd-angular-core-db.js.map +1 -1
  243. package/fesm2015/sd-angular-core-dynamic-report.js +1 -2
  244. package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
  245. package/fesm2015/sd-angular-core-editor.js +1 -2
  246. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  247. package/fesm2015/sd-angular-core-excel.js +1 -2
  248. package/fesm2015/sd-angular-core-excel.js.map +1 -1
  249. package/fesm2015/sd-angular-core-export.js +1 -2
  250. package/fesm2015/sd-angular-core-export.js.map +1 -1
  251. package/fesm2015/sd-angular-core-filter.js +1 -2
  252. package/fesm2015/sd-angular-core-filter.js.map +1 -1
  253. package/fesm2015/sd-angular-core-form.js +1 -2
  254. package/fesm2015/sd-angular-core-form.js.map +1 -1
  255. package/fesm2015/sd-angular-core-grid-material.js +44 -41
  256. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  257. package/fesm2015/sd-angular-core-grid.js +1 -2
  258. package/fesm2015/sd-angular-core-grid.js.map +1 -1
  259. package/fesm2015/sd-angular-core-group.js +1 -2
  260. package/fesm2015/sd-angular-core-group.js.map +1 -1
  261. package/fesm2015/sd-angular-core-header-title.js +1 -2
  262. package/fesm2015/sd-angular-core-header-title.js.map +1 -1
  263. package/fesm2015/sd-angular-core-image-preview.js +1 -2
  264. package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
  265. package/fesm2015/sd-angular-core-input-currency.js +1 -2
  266. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  267. package/fesm2015/sd-angular-core-input-dropdown.js +1 -2
  268. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  269. package/fesm2015/sd-angular-core-input-number.js +1 -2
  270. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  271. package/fesm2015/sd-angular-core-input-upload-file.js +1 -2
  272. package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
  273. package/fesm2015/sd-angular-core-input.js +1 -2
  274. package/fesm2015/sd-angular-core-input.js.map +1 -1
  275. package/fesm2015/sd-angular-core-json-editor.js +1 -2
  276. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  277. package/fesm2015/sd-angular-core-konva.js +1 -2
  278. package/fesm2015/sd-angular-core-konva.js.map +1 -1
  279. package/fesm2015/sd-angular-core-label.js +1 -2
  280. package/fesm2015/sd-angular-core-label.js.map +1 -1
  281. package/fesm2015/sd-angular-core-loading.js +1 -2
  282. package/fesm2015/sd-angular-core-loading.js.map +1 -1
  283. package/fesm2015/sd-angular-core-modal-resizable.js +1 -2
  284. package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
  285. package/fesm2015/sd-angular-core-modal.js +1 -2
  286. package/fesm2015/sd-angular-core-modal.js.map +1 -1
  287. package/fesm2015/sd-angular-core-notify.js +1 -2
  288. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  289. package/fesm2015/sd-angular-core-popover.js +1 -2
  290. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  291. package/fesm2015/sd-angular-core-quick-action.js +1 -2
  292. package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
  293. package/fesm2015/sd-angular-core-radio.js +1 -2
  294. package/fesm2015/sd-angular-core-radio.js.map +1 -1
  295. package/fesm2015/sd-angular-core-select-badge.js +1 -2
  296. package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
  297. package/fesm2015/sd-angular-core-select-editor.js +1 -2
  298. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  299. package/fesm2015/sd-angular-core-select.js +1 -2
  300. package/fesm2015/sd-angular-core-select.js.map +1 -1
  301. package/fesm2015/sd-angular-core-service.js +1 -2
  302. package/fesm2015/sd-angular-core-service.js.map +1 -1
  303. package/fesm2015/sd-angular-core-setting.js +1 -2
  304. package/fesm2015/sd-angular-core-setting.js.map +1 -1
  305. package/fesm2015/sd-angular-core-side-drawer.js +1 -2
  306. package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
  307. package/fesm2015/sd-angular-core-switch.js +1 -2
  308. package/fesm2015/sd-angular-core-switch.js.map +1 -1
  309. package/fesm2015/sd-angular-core-tab-router.js +1 -2
  310. package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
  311. package/fesm2015/sd-angular-core-textarea.js +1 -2
  312. package/fesm2015/sd-angular-core-textarea.js.map +1 -1
  313. package/fesm2015/sd-angular-core-time.js +1 -2
  314. package/fesm2015/sd-angular-core-time.js.map +1 -1
  315. package/fesm2015/sd-angular-core-timeline.js +1 -2
  316. package/fesm2015/sd-angular-core-timeline.js.map +1 -1
  317. package/fesm2015/sd-angular-core-translate.js +1 -2
  318. package/fesm2015/sd-angular-core-translate.js.map +1 -1
  319. package/fesm2015/sd-angular-core-upload-excel.js +1 -2
  320. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  321. package/fesm2015/sd-angular-core-upload-file.js +1 -2
  322. package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
  323. package/fesm2015/sd-angular-core-utility.js +1 -2
  324. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  325. package/fesm2015/sd-angular-core-view.js +1 -2
  326. package/fesm2015/sd-angular-core-view.js.map +1 -1
  327. package/filter/package.json +1 -12
  328. package/filter/sd-angular-core-filter.d.ts +0 -2
  329. package/form/package.json +1 -12
  330. package/form/sd-angular-core-form.d.ts +0 -2
  331. package/grid/package.json +1 -12
  332. package/grid/sd-angular-core-grid.d.ts +0 -2
  333. package/grid-material/package.json +1 -12
  334. package/grid-material/sd-angular-core-grid-material.d.ts +0 -2
  335. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  336. package/group/package.json +1 -12
  337. package/group/sd-angular-core-group.d.ts +0 -2
  338. package/header-title/package.json +1 -12
  339. package/header-title/sd-angular-core-header-title.d.ts +0 -2
  340. package/image-preview/package.json +1 -12
  341. package/image-preview/sd-angular-core-image-preview.d.ts +0 -2
  342. package/input/package.json +1 -12
  343. package/input/sd-angular-core-input.d.ts +0 -2
  344. package/input-currency/package.json +1 -12
  345. package/input-currency/sd-angular-core-input-currency.d.ts +0 -2
  346. package/input-dropdown/package.json +1 -12
  347. package/input-dropdown/sd-angular-core-input-dropdown.d.ts +0 -2
  348. package/input-number/package.json +1 -12
  349. package/input-number/sd-angular-core-input-number.d.ts +0 -2
  350. package/input-upload-file/package.json +1 -12
  351. package/input-upload-file/sd-angular-core-input-upload-file.d.ts +0 -2
  352. package/json-editor/package.json +1 -12
  353. package/json-editor/sd-angular-core-json-editor.d.ts +0 -2
  354. package/konva/package.json +1 -12
  355. package/konva/sd-angular-core-konva.d.ts +0 -2
  356. package/label/package.json +1 -12
  357. package/label/sd-angular-core-label.d.ts +0 -2
  358. package/loading/package.json +1 -12
  359. package/loading/sd-angular-core-loading.d.ts +0 -2
  360. package/modal/package.json +1 -12
  361. package/modal/sd-angular-core-modal.d.ts +0 -2
  362. package/modal-resizable/package.json +1 -12
  363. package/modal-resizable/sd-angular-core-modal-resizable.d.ts +0 -2
  364. package/notify/package.json +1 -12
  365. package/notify/sd-angular-core-notify.d.ts +0 -2
  366. package/package.json +1 -1
  367. package/popover/package.json +1 -12
  368. package/popover/sd-angular-core-popover.d.ts +0 -2
  369. package/quick-action/package.json +1 -12
  370. package/quick-action/sd-angular-core-quick-action.d.ts +0 -2
  371. package/radio/package.json +1 -12
  372. package/radio/sd-angular-core-radio.d.ts +0 -2
  373. package/sd-angular-core-1.3.1.tgz +0 -0
  374. package/select/package.json +1 -12
  375. package/select/sd-angular-core-select.d.ts +0 -2
  376. package/select-badge/package.json +1 -12
  377. package/select-badge/sd-angular-core-select-badge.d.ts +0 -2
  378. package/select-editor/package.json +1 -12
  379. package/select-editor/sd-angular-core-select-editor.d.ts +0 -2
  380. package/service/package.json +1 -12
  381. package/service/sd-angular-core-service.d.ts +0 -2
  382. package/setting/package.json +1 -12
  383. package/setting/sd-angular-core-setting.d.ts +0 -2
  384. package/side-drawer/package.json +1 -12
  385. package/side-drawer/sd-angular-core-side-drawer.d.ts +0 -2
  386. package/switch/package.json +1 -12
  387. package/switch/sd-angular-core-switch.d.ts +0 -2
  388. package/tab-router/package.json +1 -12
  389. package/tab-router/sd-angular-core-tab-router.d.ts +0 -2
  390. package/textarea/package.json +1 -12
  391. package/textarea/sd-angular-core-textarea.d.ts +0 -2
  392. package/time/package.json +1 -12
  393. package/time/sd-angular-core-time.d.ts +0 -2
  394. package/timeline/package.json +1 -12
  395. package/timeline/sd-angular-core-timeline.d.ts +0 -2
  396. package/translate/package.json +1 -12
  397. package/translate/sd-angular-core-translate.d.ts +0 -2
  398. package/upload-excel/package.json +1 -12
  399. package/upload-excel/sd-angular-core-upload-excel.d.ts +0 -2
  400. package/upload-file/package.json +1 -12
  401. package/upload-file/sd-angular-core-upload-file.d.ts +0 -2
  402. package/utility/package.json +1 -12
  403. package/utility/sd-angular-core-utility.d.ts +0 -2
  404. package/view/package.json +1 -12
  405. package/view/sd-angular-core-view.d.ts +0 -2
  406. package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +0 -4
  407. package/api/sd-angular-core-api.d.ts.map +0 -1
  408. package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +0 -4
  409. package/autocomplete/sd-angular-core-autocomplete.d.ts.map +0 -1
  410. package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +0 -4
  411. package/badge/sd-angular-core-badge.d.ts.map +0 -1
  412. package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +0 -876
  413. package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +0 -1
  414. package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +0 -791
  415. package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +0 -1
  416. package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +0 -89
  417. package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +0 -1
  418. package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +0 -447
  419. package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +0 -1
  420. package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +0 -623
  421. package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +0 -1
  422. package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +0 -1106
  423. package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +0 -1
  424. package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +0 -461
  425. package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +0 -1
  426. package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +0 -1051
  427. package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +0 -1
  428. package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +0 -456
  429. package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +0 -1
  430. package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +0 -962
  431. package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +0 -1
  432. package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +0 -159
  433. package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +0 -1
  434. package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +0 -650
  435. package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +0 -1
  436. package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +0 -660
  437. package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +0 -1
  438. package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +0 -734
  439. package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +0 -1
  440. package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +0 -475
  441. package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +0 -1
  442. package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +0 -96
  443. package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +0 -1
  444. package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +0 -943
  445. package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  446. package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +0 -500
  447. package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +0 -1
  448. package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +0 -712
  449. package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +0 -1
  450. package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +0 -703
  451. package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +0 -1
  452. package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +0 -88
  453. package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +0 -1
  454. package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +0 -5029
  455. package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +0 -1
  456. package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +0 -5125
  457. package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +0 -1
  458. package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +0 -93
  459. package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +0 -1
  460. package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +0 -56
  461. package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +0 -1
  462. package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +0 -121
  463. package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +0 -1
  464. package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +0 -737
  465. package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +0 -1
  466. package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +0 -634
  467. package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +0 -1
  468. package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +0 -792
  469. package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +0 -1
  470. package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +0 -648
  471. package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
  472. package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +0 -798
  473. package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +0 -1
  474. package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +0 -523
  475. package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  476. package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +0 -605
  477. package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +0 -1
  478. package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +0 -60
  479. package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +0 -1
  480. package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +0 -413
  481. package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +0 -1
  482. package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +0 -487
  483. package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +0 -1
  484. package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +0 -307
  485. package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +0 -1
  486. package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +0 -719
  487. package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +0 -1
  488. package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +0 -752
  489. package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +0 -1
  490. package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +0 -66
  491. package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +0 -1
  492. package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +0 -535
  493. package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +0 -1
  494. package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +0 -486
  495. package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +0 -1
  496. package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +0 -431
  497. package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +0 -1
  498. package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +0 -921
  499. package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +0 -1
  500. package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +0 -42
  501. package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +0 -1
  502. package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +0 -664
  503. package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +0 -1
  504. package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +0 -438
  505. package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +0 -1
  506. package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +0 -454
  507. package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +0 -1
  508. package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +0 -941
  509. package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +0 -1
  510. package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +0 -642
  511. package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +0 -1
  512. package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +0 -497
  513. package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +0 -1
  514. package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +0 -102
  515. package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +0 -1
  516. package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +0 -119
  517. package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +0 -1
  518. package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +0 -1114
  519. package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +0 -1
  520. package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +0 -880
  521. package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +0 -1
  522. package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +0 -739
  523. package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +0 -1
  524. package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +0 -32
  525. package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +0 -1
  526. package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +0 -4
  527. package/button/sd-angular-core-button.d.ts.map +0 -1
  528. package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +0 -4
  529. package/cache/sd-angular-core-cache.d.ts.map +0 -1
  530. package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +0 -4
  531. package/chart/sd-angular-core-chart.d.ts.map +0 -1
  532. package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +0 -5
  533. package/checkbox/sd-angular-core-checkbox.d.ts.map +0 -1
  534. package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +0 -5
  535. package/chip/sd-angular-core-chip.d.ts.map +0 -1
  536. package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +0 -4
  537. package/comment/sd-angular-core-comment.d.ts.map +0 -1
  538. package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +0 -4
  539. package/common/sd-angular-core-common.d.ts.map +0 -1
  540. package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +0 -4
  541. package/confirm/sd-angular-core-confirm.d.ts.map +0 -1
  542. package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +0 -5
  543. package/date-month/sd-angular-core-date-month.d.ts.map +0 -1
  544. package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +0 -4
  545. package/date-range/sd-angular-core-date-range.d.ts.map +0 -1
  546. package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +0 -4
  547. package/date-time/sd-angular-core-date-time.d.ts.map +0 -1
  548. package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +0 -4
  549. package/db/sd-angular-core-db.d.ts.map +0 -1
  550. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +0 -4
  551. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +0 -1
  552. package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +0 -4
  553. package/editor/sd-angular-core-editor.d.ts.map +0 -1
  554. package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +0 -5
  555. package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -5
  556. package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -5
  557. package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +0 -5
  558. package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -5
  559. package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -5
  560. package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -6
  561. package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -6
  562. package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -5
  563. package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +0 -5
  564. package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -5
  565. package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -6
  566. package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -5
  567. package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -5
  568. package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +0 -5
  569. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -5
  570. package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -5
  571. package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -5
  572. package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +0 -5
  573. package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -8
  574. package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +0 -5
  575. package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -5
  576. package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -47
  577. package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +0 -6
  578. package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -6
  579. package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -7
  580. package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +0 -6
  581. package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -5
  582. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -5
  583. package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -5
  584. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -5
  585. package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -5
  586. package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -5
  587. package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +0 -6
  588. package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -5
  589. package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -5
  590. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -5
  591. package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -5
  592. package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -5
  593. package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -5
  594. package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -5
  595. package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +0 -5
  596. package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -5
  597. package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -5
  598. package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +0 -5
  599. package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -5
  600. package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -5
  601. package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -5
  602. package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -7
  603. package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -5
  604. package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +0 -6
  605. package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -6
  606. package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -5
  607. package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -7
  608. package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -5
  609. package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -5
  610. package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +0 -5
  611. package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +0 -4
  612. package/excel/sd-angular-core-excel.d.ts.map +0 -1
  613. package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +0 -4
  614. package/export/sd-angular-core-export.d.ts.map +0 -1
  615. package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +0 -496
  616. package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +0 -1
  617. package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +0 -427
  618. package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +0 -1
  619. package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +0 -70
  620. package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +0 -1
  621. package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +0 -118
  622. package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +0 -1
  623. package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +0 -259
  624. package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +0 -1
  625. package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +0 -727
  626. package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +0 -1
  627. package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +0 -120
  628. package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +0 -1
  629. package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +0 -632
  630. package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +0 -1
  631. package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +0 -118
  632. package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +0 -1
  633. package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +0 -562
  634. package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +0 -1
  635. package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +0 -154
  636. package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +0 -1
  637. package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +0 -289
  638. package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +0 -1
  639. package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +0 -297
  640. package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +0 -1
  641. package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +0 -367
  642. package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +0 -1
  643. package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +0 -102
  644. package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +0 -1
  645. package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +0 -82
  646. package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +0 -1
  647. package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +0 -576
  648. package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +0 -1
  649. package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +0 -100
  650. package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +0 -1
  651. package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +0 -272
  652. package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +0 -1
  653. package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +0 -323
  654. package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +0 -1
  655. package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +0 -104
  656. package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +0 -1
  657. package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +0 -3740
  658. package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +0 -1
  659. package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +0 -3935
  660. package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +0 -1
  661. package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +0 -74
  662. package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +0 -1
  663. package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +0 -45
  664. package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +0 -1
  665. package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +0 -107
  666. package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +0 -1
  667. package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +0 -330
  668. package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +0 -1
  669. package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +0 -268
  670. package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +0 -1
  671. package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +0 -415
  672. package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +0 -1
  673. package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +0 -274
  674. package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +0 -1
  675. package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +0 -398
  676. package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +0 -1
  677. package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +0 -180
  678. package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +0 -1
  679. package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +0 -237
  680. package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +0 -1
  681. package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +0 -49
  682. package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +0 -1
  683. package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +0 -83
  684. package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +0 -1
  685. package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +0 -161
  686. package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +0 -1
  687. package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +0 -284
  688. package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +0 -1
  689. package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +0 -402
  690. package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +0 -1
  691. package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +0 -415
  692. package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +0 -1
  693. package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +0 -53
  694. package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +0 -1
  695. package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +0 -188
  696. package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +0 -1
  697. package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +0 -156
  698. package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +0 -1
  699. package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +0 -110
  700. package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +0 -1
  701. package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +0 -487
  702. package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +0 -1
  703. package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +0 -36
  704. package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +0 -1
  705. package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +0 -290
  706. package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +0 -1
  707. package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +0 -115
  708. package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +0 -1
  709. package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +0 -116
  710. package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +0 -1
  711. package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +0 -531
  712. package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +0 -1
  713. package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +0 -266
  714. package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +0 -1
  715. package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +0 -143
  716. package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +0 -1
  717. package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +0 -87
  718. package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +0 -1
  719. package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +0 -101
  720. package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +0 -1
  721. package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +0 -638
  722. package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +0 -1
  723. package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +0 -462
  724. package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +0 -1
  725. package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +0 -384
  726. package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +0 -1
  727. package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +0 -23
  728. package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +0 -1
  729. package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +0 -7
  730. package/filter/sd-angular-core-filter.d.ts.map +0 -1
  731. package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +0 -4
  732. package/form/sd-angular-core-form.d.ts.map +0 -1
  733. package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +0 -4
  734. package/grid/sd-angular-core-grid.d.ts.map +0 -1
  735. package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +0 -46
  736. package/grid-material/sd-angular-core-grid-material.d.ts.map +0 -1
  737. package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +0 -5
  738. package/group/sd-angular-core-group.d.ts.map +0 -1
  739. package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +0 -5
  740. package/header-title/sd-angular-core-header-title.d.ts.map +0 -1
  741. package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +0 -6
  742. package/image-preview/sd-angular-core-image-preview.d.ts.map +0 -1
  743. package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +0 -5
  744. package/input/sd-angular-core-input.d.ts.map +0 -1
  745. package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +0 -4
  746. package/input-currency/sd-angular-core-input-currency.d.ts.map +0 -1
  747. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +0 -4
  748. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +0 -1
  749. package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +0 -4
  750. package/input-number/sd-angular-core-input-number.d.ts.map +0 -1
  751. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +0 -4
  752. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +0 -1
  753. package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +0 -4
  754. package/json-editor/sd-angular-core-json-editor.d.ts.map +0 -1
  755. package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +0 -4
  756. package/konva/sd-angular-core-konva.d.ts.map +0 -1
  757. package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +0 -5
  758. package/label/sd-angular-core-label.d.ts.map +0 -1
  759. package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +0 -4
  760. package/loading/sd-angular-core-loading.d.ts.map +0 -1
  761. package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +0 -4
  762. package/modal/sd-angular-core-modal.d.ts.map +0 -1
  763. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +0 -4
  764. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +0 -1
  765. package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +0 -4
  766. package/notify/sd-angular-core-notify.d.ts.map +0 -1
  767. package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +0 -4
  768. package/popover/sd-angular-core-popover.d.ts.map +0 -1
  769. package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +0 -4
  770. package/quick-action/sd-angular-core-quick-action.d.ts.map +0 -1
  771. package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +0 -4
  772. package/radio/sd-angular-core-radio.d.ts.map +0 -1
  773. package/sd-angular-core-1.3.0.tgz +0 -0
  774. package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +0 -4
  775. package/select/sd-angular-core-select.d.ts.map +0 -1
  776. package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +0 -4
  777. package/select-badge/sd-angular-core-select-badge.d.ts.map +0 -1
  778. package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +0 -4
  779. package/select-editor/sd-angular-core-select-editor.d.ts.map +0 -1
  780. package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +0 -4
  781. package/service/sd-angular-core-service.d.ts.map +0 -1
  782. package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +0 -4
  783. package/setting/sd-angular-core-setting.d.ts.map +0 -1
  784. package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +0 -4
  785. package/side-drawer/sd-angular-core-side-drawer.d.ts.map +0 -1
  786. package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +0 -4
  787. package/switch/sd-angular-core-switch.d.ts.map +0 -1
  788. package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +0 -6
  789. package/tab-router/sd-angular-core-tab-router.d.ts.map +0 -1
  790. package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +0 -4
  791. package/textarea/sd-angular-core-textarea.d.ts.map +0 -1
  792. package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +0 -5
  793. package/time/sd-angular-core-time.d.ts.map +0 -1
  794. package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +0 -5
  795. package/timeline/sd-angular-core-timeline.d.ts.map +0 -1
  796. package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +0 -4
  797. package/translate/sd-angular-core-translate.d.ts.map +0 -1
  798. package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +0 -6
  799. package/upload-excel/sd-angular-core-upload-excel.d.ts.map +0 -1
  800. package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +0 -4
  801. package/upload-file/sd-angular-core-upload-file.d.ts.map +0 -1
  802. package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +0 -4
  803. package/utility/sd-angular-core-utility.d.ts.map +0 -1
  804. package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +0 -4
  805. package/view/sd-angular-core-view.d.ts.map +0 -1
@@ -1,727 +0,0 @@
1
- import '@sd-angular/core/common';
2
- import { InjectionToken, Component, ChangeDetectorRef, Optional, Inject, Input, ViewChild, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { __awaiter } from 'tslib';
5
- import * as Chart from 'chart.js';
6
- import $ from 'jquery';
7
- import { v4 } from 'uuid';
8
-
9
- const ChartColors = {
10
- Red: 'rgb(255, 99, 132)',
11
- Orange: 'rgb(255, 159, 64)',
12
- Yellow: 'rgb(255, 205, 86)',
13
- Green: 'rgb(75, 192, 192)',
14
- Blue: 'rgb(54, 162, 235)',
15
- Purple: 'rgb(153, 102, 255)',
16
- Grey: 'rgb(201, 203, 207)',
17
- Purple700: '#2E224C',
18
- Purple600: '#453372',
19
- Purple500: '#574191',
20
- Purple400: '#7356BF',
21
- Purple300: '#957FCE',
22
- Purple200: '#C1B4E2',
23
- Purple100: '#E3DDF2',
24
- Purple50: '#F3F1F9',
25
- Blue700: '#0F2C60',
26
- Blue600: '#174291',
27
- Blue500: '#1D53B7',
28
- Blue400: '#276EF1',
29
- Blue300: '#5A90F4',
30
- Blue200: '#9FBFF8',
31
- Blue100: '#D4E2FC',
32
- Blue50: '#EDF3FD',
33
- Green700: '#0D4020',
34
- Green600: '#156A36',
35
- Green500: '#09863D',
36
- Green400: '#21A453',
37
- Green300: '#43BF75',
38
- Green200: '#9EE2B8',
39
- Green100: '#CFF3DD',
40
- Green50: '#F0FAF3',
41
- Yellow700: '#664C1A',
42
- Yellow600: '#997328',
43
- Yellow500: '#C19132',
44
- Yellow400: '#FFC043',
45
- Yellow300: '#FFCF70',
46
- Yellow200: '#FFE3AC',
47
- Yellow100: '#FFF2D9',
48
- Yellow50: '#FFF9EF',
49
- Orange700: '#5F2C14',
50
- Orange600: '#8E421E',
51
- Orange500: '#B45326',
52
- Orange400: '#ED6E33',
53
- Orange300: '#F19063',
54
- Orange200: '#F7BFA5',
55
- Orange100: '#FBE2D6',
56
- Orange50: '#FDF3EE',
57
- Red700: '#541A14',
58
- Red600: '#7F281E',
59
- Red500: '#A13226',
60
- Red400: '#D44333',
61
- Red300: '#DE7063',
62
- Red200: '#ECACA5',
63
- Red100: '#F6D9D6',
64
- Red50: '#FBEFEE',
65
- Brown700: '#3D281E',
66
- Brown600: '#5B3C2D',
67
- Brown500: '#744C39',
68
- Brown400: '#99644C',
69
- Brown300: '#B18976',
70
- Brown200: '#D2BAB0',
71
- Brown100: '#EBE0DB',
72
- Brown50: '#F6F2F0',
73
- Gray900: '#141414',
74
- Gray800: '#1F1F1F',
75
- Gray700: '#333333',
76
- Gray600: '#545454',
77
- Gray500: '#757575',
78
- Gray400: '#AFAFAF',
79
- Gray300: '#CBCBCB',
80
- Gray200: '#E2E2E2',
81
- Gray100: '#EEEEEE',
82
- Gray50: '#F6F6F6',
83
- Platinum700: '#394145',
84
- Platinum600: '#556268',
85
- Platinum500: '#6C7C83',
86
- Platinum400: '#8EA3AD',
87
- Platinum300: '#A1BDCA',
88
- Platinum200: '#CCDFE5',
89
- Platinum100: '#EBF5F7',
90
- Platinum50: '#F4FAFB',
91
- EatsGreen400: '#21A453',
92
- FreightBlue400: '#21A453',
93
- JumpRed400: '#FF0A2D',
94
- Black: '#000000',
95
- White: '#FFFFFF',
96
- };
97
- const CHART_CONFIG = new InjectionToken('chart.configuration');
98
-
99
- class SdChart {
100
- constructor(ref, chartConfiguration) {
101
- this.ref = ref;
102
- this.chartConfiguration = chartConfiguration;
103
- this.initialized = false;
104
- this.isLoading = false;
105
- this.visible = true;
106
- this.height = '300px';
107
- this.loadingStart = () => {
108
- this.isLoading = true;
109
- };
110
- }
111
- set chartOption(chartOption) {
112
- this.pChartOption = chartOption;
113
- if (this.initialized) {
114
- this.renderChart();
115
- }
116
- }
117
- ngOnInit() {
118
- }
119
- ngAfterViewInit() {
120
- this.renderChart(true);
121
- this.initialized = true;
122
- this.ref.detectChanges();
123
- }
124
- renderChart(firstRender) {
125
- var _a, _b;
126
- return __awaiter(this, void 0, void 0, function* () {
127
- this.height = ((_a = this.pChartOption) === null || _a === void 0 ? void 0 : _a.height) || '300px';
128
- if (!firstRender) {
129
- this.visible = false;
130
- yield new Promise(resolve => setTimeout(resolve, 200));
131
- this.visible = true;
132
- }
133
- yield new Promise(resolve => setTimeout(resolve, 200));
134
- if ((_b = this.chartRef) === null || _b === void 0 ? void 0 : _b.nativeElement) {
135
- const canvas = this.chartRef.nativeElement;
136
- this.ctx = canvas.getContext('2d');
137
- switch (this.pChartOption.type) {
138
- case 'pie':
139
- this.renderPieChart(this.pChartOption);
140
- break;
141
- case 'bar':
142
- this.renderBarChart(this.pChartOption);
143
- break;
144
- case 'horizontalBar':
145
- this.renderHorizontalBarChart(this.pChartOption);
146
- break;
147
- case 'line':
148
- this.renderLineChart(this.pChartOption);
149
- break;
150
- case 'stackArea':
151
- this.renderStackAreaChart(this.pChartOption);
152
- break;
153
- case 'barline':
154
- this.renderBarLineChart(this.pChartOption);
155
- break;
156
- default:
157
- break;
158
- }
159
- }
160
- });
161
- }
162
- renderPieChart(option) {
163
- var _a, _b, _c;
164
- const configuration = {
165
- type: 'pie',
166
- options: {
167
- responsive: true,
168
- title: {
169
- display: true,
170
- text: option.title
171
- },
172
- legend: {
173
- display: !option.hideLegend
174
- },
175
- tooltips: {
176
- callbacks: {
177
- label: (tooltipItem, data) => {
178
- var _a, _b, _c;
179
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
180
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
181
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
182
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
183
- datasetLabel,
184
- label,
185
- value
186
- })) || `${datasetLabel ? `[${datasetLabel}] ` : ''}${label} : ${Number.toVNCurrency(value)}`;
187
- }
188
- }
189
- }
190
- },
191
- data: {
192
- labels: ((_a = option.datasets) === null || _a === void 0 ? void 0 : _a.map(e => e.label)) || [],
193
- datasets: [{
194
- data: ((_b = option.datasets) === null || _b === void 0 ? void 0 : _b.map(e => e.value)) || [],
195
- backgroundColor: ((_c = option.datasets) === null || _c === void 0 ? void 0 : _c.map((e, idx) => {
196
- var _a, _b, _c;
197
- return e.backgroundColor
198
- || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor)
199
- || this.dynamicColor;
200
- })) || []
201
- }]
202
- }
203
- };
204
- if (option.hover === 'ShowAll') {
205
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
206
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
207
- }
208
- this.chart = new Chart(this.ctx, configuration);
209
- this.isLoading = false;
210
- }
211
- renderBarChart(option) {
212
- var _a, _b;
213
- const labelWidth = (_a = option.labelWidth) !== null && _a !== void 0 ? _a : 50;
214
- if (option.datasets.length) {
215
- // const newwidth = Math.max(option.labels.length * option.datasets.length * labelWidth, $(this.chartWrapperRef.nativeElement).width());
216
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
217
- const newwidth = option.labels.length * option.datasets.length * labelWidth;
218
- $(this.chartAreaWrapperExtendRef.nativeElement).css('width', `max(100%,${newwidth}px)`);
219
- }
220
- const configuration = {
221
- options: {
222
- responsive: true,
223
- maintainAspectRatio: false,
224
- legend: {
225
- display: !option.hideLegend
226
- },
227
- scales: {
228
- xAxes: [{
229
- display: true,
230
- scaleLabel: {
231
- display: !!option.xTitle,
232
- labelString: option.xTitle || ''
233
- },
234
- ticks: {
235
- callback: (value, index) => {
236
- var _a;
237
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.xLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
238
- }
239
- }
240
- }],
241
- yAxes: [{
242
- display: true,
243
- ticks: {
244
- beginAtZero: (_b = option.beginAtZero) !== null && _b !== void 0 ? _b : true,
245
- callback: (value, index) => {
246
- var _a;
247
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
248
- }
249
- },
250
- scaleLabel: {
251
- display: !!option.yTitle,
252
- labelString: option.yTitle || ''
253
- }
254
- }]
255
- },
256
- tooltips: {
257
- callbacks: {
258
- label: (tooltipItem, data) => {
259
- var _a, _b, _c;
260
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
261
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
262
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
263
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
264
- datasetLabel,
265
- label,
266
- value
267
- })) || `${datasetLabel} : ${Number.toVNCurrency(value)}`;
268
- }
269
- }
270
- }
271
- },
272
- type: 'bar',
273
- data: {
274
- labels: option.labels,
275
- datasets: option.datasets.map((e, idx) => {
276
- var _a, _b, _c, _d, _e, _f;
277
- const dynamicColor = this.dynamicColor;
278
- const result = {
279
- label: e.label,
280
- fill: e.backgroundColor || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor) || dynamicColor,
281
- backgroundColor: e.backgroundColor || ((_f = (_e = (_d = this.chartConfiguration) === null || _d === void 0 ? void 0 : _d.defaultColors) === null || _e === void 0 ? void 0 : _e[idx]) === null || _f === void 0 ? void 0 : _f.backgroundColor) || dynamicColor,
282
- data: e.data,
283
- stack: e.stack
284
- };
285
- return result;
286
- })
287
- }
288
- };
289
- if (option.hover === 'ShowAll') {
290
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
291
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
292
- }
293
- this.chart = new Chart(this.ctx, configuration);
294
- this.isLoading = false;
295
- }
296
- renderHorizontalBarChart(option) {
297
- var _a;
298
- // const labelWidth = option.labelWidth ?? 50;
299
- // if (option.datasets.length) {
300
- // const newwidth = Math.max(option.labels.length * option.datasets.length * labelWidth, $(this.chartWrapperRef.nativeElement).width());
301
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
302
- // }
303
- const configuration = {
304
- options: {
305
- responsive: true,
306
- maintainAspectRatio: false,
307
- legend: {
308
- display: !option.hideLegend
309
- },
310
- scales: {
311
- xAxes: [{
312
- display: true,
313
- scaleLabel: {
314
- display: !!option.xTitle,
315
- labelString: option.xTitle || ''
316
- },
317
- ticks: {
318
- beginAtZero: (_a = option.beginAtZero) !== null && _a !== void 0 ? _a : true,
319
- callback: (value, index) => {
320
- var _a;
321
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.xLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
322
- }
323
- }
324
- }],
325
- yAxes: [{
326
- display: true,
327
- ticks: {
328
- callback: (value, index) => {
329
- var _a;
330
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
331
- }
332
- },
333
- scaleLabel: {
334
- display: !!option.yTitle,
335
- labelString: option.yTitle || ''
336
- }
337
- }]
338
- },
339
- tooltips: {
340
- callbacks: {
341
- label: (tooltipItem, data) => {
342
- var _a, _b, _c;
343
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
344
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
345
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
346
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
347
- datasetLabel,
348
- label,
349
- value
350
- })) || `${datasetLabel} : ${Number.toVNCurrency(value)}`;
351
- }
352
- }
353
- }
354
- },
355
- type: 'horizontalBar',
356
- data: {
357
- labels: option.labels,
358
- datasets: option.datasets.map((e, idx) => {
359
- var _a, _b, _c, _d, _e, _f;
360
- const dynamicColor = this.dynamicColor;
361
- const result = {
362
- label: e.label,
363
- fill: e.backgroundColor || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor) || dynamicColor,
364
- backgroundColor: e.backgroundColor || ((_f = (_e = (_d = this.chartConfiguration) === null || _d === void 0 ? void 0 : _d.defaultColors) === null || _e === void 0 ? void 0 : _e[idx]) === null || _f === void 0 ? void 0 : _f.backgroundColor) || dynamicColor,
365
- data: e.data,
366
- stack: e.stack
367
- };
368
- return result;
369
- })
370
- }
371
- };
372
- if (option.hover === 'ShowAll') {
373
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
374
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
375
- }
376
- this.chart = new Chart(this.ctx, configuration);
377
- this.isLoading = false;
378
- }
379
- renderLineChart(option) {
380
- var _a, _b;
381
- const labelWidth = (_a = option.labelWidth) !== null && _a !== void 0 ? _a : 50;
382
- if (option.datasets.length) {
383
- // const newwidth = Math.max(option.labels.length * labelWidth, $(this.chartWrapperRef.nativeElement).width());
384
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
385
- const newwidth = option.labels.length * labelWidth;
386
- $(this.chartAreaWrapperExtendRef.nativeElement).css('width', `max(100%,${newwidth}px)`);
387
- }
388
- const configuration = {
389
- options: {
390
- responsive: true,
391
- maintainAspectRatio: false,
392
- legend: {
393
- display: !option.hideLegend
394
- },
395
- scales: {
396
- xAxes: [{
397
- display: true,
398
- scaleLabel: {
399
- display: !!option.xTitle,
400
- labelString: option.xTitle || ''
401
- },
402
- ticks: {
403
- callback: (value, index) => {
404
- var _a;
405
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.xLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
406
- }
407
- },
408
- }],
409
- yAxes: [{
410
- display: true,
411
- ticks: {
412
- beginAtZero: (_b = option.beginAtZero) !== null && _b !== void 0 ? _b : true,
413
- callback: (value, index) => {
414
- var _a;
415
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
416
- }
417
- },
418
- scaleLabel: {
419
- display: !!option.yTitle,
420
- labelString: option.yTitle || ''
421
- }
422
- }]
423
- },
424
- tooltips: {
425
- callbacks: {
426
- label: (tooltipItem, data) => {
427
- var _a, _b, _c;
428
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
429
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
430
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
431
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
432
- datasetLabel,
433
- label,
434
- value
435
- })) || `${datasetLabel} : ${Number.toVNCurrency(value)}`;
436
- }
437
- }
438
- }
439
- },
440
- type: 'line',
441
- data: {
442
- labels: option.labels,
443
- datasets: option.datasets.map((e, idx) => {
444
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
445
- const dynamicColor = this.dynamicColor;
446
- const result = {
447
- label: e.label,
448
- fill: e.backgroundColor || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor) || dynamicColor,
449
- backgroundColor: e.backgroundColor || ((_f = (_e = (_d = this.chartConfiguration) === null || _d === void 0 ? void 0 : _d.defaultColors) === null || _e === void 0 ? void 0 : _e[idx]) === null || _f === void 0 ? void 0 : _f.backgroundColor) || dynamicColor,
450
- borderColor: e.borderColor || ((_j = (_h = (_g = this.chartConfiguration) === null || _g === void 0 ? void 0 : _g.defaultColors) === null || _h === void 0 ? void 0 : _h[idx]) === null || _j === void 0 ? void 0 : _j.borderColor) || dynamicColor,
451
- data: e.data,
452
- lineTension: 0,
453
- };
454
- return result;
455
- })
456
- }
457
- };
458
- if (option.hover === 'ShowAll') {
459
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
460
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
461
- }
462
- this.chart = new Chart(this.ctx, configuration);
463
- this.isLoading = false;
464
- }
465
- renderStackAreaChart(option) {
466
- var _a, _b;
467
- const labelWidth = (_a = option.labelWidth) !== null && _a !== void 0 ? _a : 50;
468
- if (option.datasets.length) {
469
- // const newwidth = Math.max(option.labels.length * labelWidth, $(this.chartWrapperRef.nativeElement).width());
470
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
471
- const newwidth = option.labels.length * labelWidth;
472
- $(this.chartAreaWrapperExtendRef.nativeElement).css('width', `max(100%,${newwidth}px)`);
473
- }
474
- const configuration = {
475
- options: {
476
- responsive: true,
477
- maintainAspectRatio: false,
478
- legend: {
479
- display: !option.hideLegend
480
- },
481
- scales: {
482
- xAxes: [{
483
- display: true,
484
- scaleLabel: {
485
- display: !!option.xTitle,
486
- labelString: option.xTitle || ''
487
- },
488
- ticks: {
489
- callback: (value, index) => {
490
- var _a;
491
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.xLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
492
- }
493
- },
494
- }],
495
- yAxes: [{
496
- display: true,
497
- ticks: {
498
- beginAtZero: (_b = option.beginAtZero) !== null && _b !== void 0 ? _b : true,
499
- callback: (value, index) => {
500
- var _a;
501
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
502
- }
503
- },
504
- stacked: true,
505
- scaleLabel: {
506
- display: !!option.yTitle,
507
- labelString: option.yTitle || ''
508
- }
509
- }]
510
- },
511
- tooltips: {
512
- callbacks: {
513
- label: (tooltipItem, data) => {
514
- var _a, _b, _c;
515
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
516
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
517
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
518
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
519
- datasetLabel,
520
- label,
521
- value
522
- })) || `${datasetLabel} : ${Number.toVNCurrency(value)}`;
523
- }
524
- }
525
- }
526
- },
527
- type: 'line',
528
- data: {
529
- labels: option.labels,
530
- datasets: option.datasets.map((e, idx) => {
531
- var _a, _b, _c, _d, _e, _f;
532
- const dynamicColor = this.dynamicColor;
533
- const result = {
534
- label: e.label,
535
- // fill: e.backgroundColor,
536
- backgroundColor: e.backgroundColor || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor) || dynamicColor,
537
- borderColor: e.borderColor || ((_f = (_e = (_d = this.chartConfiguration) === null || _d === void 0 ? void 0 : _d.defaultColors) === null || _e === void 0 ? void 0 : _e[idx]) === null || _f === void 0 ? void 0 : _f.borderColor) || dynamicColor,
538
- data: e.data,
539
- lineTension: 0,
540
- };
541
- return result;
542
- })
543
- }
544
- };
545
- if (option.hover === 'ShowAll') {
546
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
547
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
548
- }
549
- this.chart = new Chart(this.ctx, configuration);
550
- this.isLoading = false;
551
- }
552
- renderBarLineChart(option) {
553
- var _a, _b, _c;
554
- const labelWidth = (_a = option.labelWidth) !== null && _a !== void 0 ? _a : 50;
555
- if (option.datasets.length) {
556
- const numberOfBars = option.datasets.filter(e => e.type === 'bar').length;
557
- if (numberOfBars <= 1) {
558
- // const newwidth = Math.max(option.labels.length * labelWidth, $(this.chartWrapperRef.nativeElement).width());
559
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
560
- const newwidth = option.labels.length * labelWidth;
561
- $(this.chartAreaWrapperExtendRef.nativeElement).css('width', `max(100%,${newwidth}px)`);
562
- }
563
- else {
564
- // const newwidth = Math.max(option.labels.length * numberOfBars * labelWidth, $(this.chartWrapperRef.nativeElement).width());
565
- // $(this.chartAreaWrapperExtendRef.nativeElement).width(newwidth);
566
- const newwidth = option.labels.length * numberOfBars * labelWidth;
567
- $(this.chartAreaWrapperExtendRef.nativeElement).css('width', `max(100%,${newwidth}px)`);
568
- }
569
- }
570
- const leftId = `I${v4()}`;
571
- const rightId = `I${v4()}`;
572
- const yAxes = [{
573
- type: 'linear',
574
- display: true,
575
- position: 'left',
576
- id: leftId,
577
- ticks: {
578
- beginAtZero: (_b = option.beginAtZero) !== null && _b !== void 0 ? _b : true,
579
- suggestedMin: 0,
580
- callback: (value, index) => {
581
- var _a;
582
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
583
- }
584
- },
585
- scaleLabel: {
586
- display: !!option.yTitle,
587
- labelString: option.yTitle || ''
588
- }
589
- }];
590
- if (option.datasets.some(e => e.yAlign === 'right')) {
591
- yAxes.push({
592
- type: 'linear',
593
- display: true,
594
- position: 'right',
595
- id: rightId,
596
- ticks: {
597
- beginAtZero: (_c = option.beginAtZero) !== null && _c !== void 0 ? _c : true,
598
- suggestedMin: 0,
599
- callback: (value, index) => {
600
- var _a;
601
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.yRightLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
602
- }
603
- },
604
- scaleLabel: {
605
- display: !!option.yRightTitle,
606
- labelString: option.yRightTitle || ''
607
- }
608
- });
609
- }
610
- const configuration = {
611
- options: {
612
- responsive: true,
613
- maintainAspectRatio: false,
614
- legend: {
615
- display: !option.hideLegend
616
- },
617
- title: {
618
- display: true,
619
- text: option.title
620
- },
621
- scales: {
622
- xAxes: [{
623
- display: true,
624
- scaleLabel: {
625
- display: !!option.xTitle,
626
- labelString: option.xTitle || ''
627
- },
628
- ticks: {
629
- callback: (value, index) => {
630
- var _a;
631
- return ((_a = option.ticks) === null || _a === void 0 ? void 0 : _a.xLabel(value, index)) || (Number.isNumber(value) ? Number.toVNCurrency(value) : value);
632
- }
633
- },
634
- }],
635
- yAxes
636
- },
637
- tooltips: {
638
- callbacks: {
639
- label: (tooltipItem, data) => {
640
- var _a, _b, _c;
641
- const datasetLabel = (_a = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _a === void 0 ? void 0 : _a.label;
642
- const label = data === null || data === void 0 ? void 0 : data.labels[tooltipItem.index];
643
- const value = (_b = data === null || data === void 0 ? void 0 : data.datasets[tooltipItem.datasetIndex]) === null || _b === void 0 ? void 0 : _b.data[tooltipItem.index];
644
- return ((_c = option.tooltips) === null || _c === void 0 ? void 0 : _c.label({
645
- datasetLabel,
646
- label,
647
- value
648
- })) || `${datasetLabel ? `[${datasetLabel}] ` : ''} ${label} : ${Number.toVNCurrency(value)}`;
649
- }
650
- }
651
- }
652
- },
653
- data: {
654
- labels: option.labels,
655
- datasets: option.datasets.map((e, idx) => {
656
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
657
- const dynamicColor = this.dynamicColor;
658
- const result = {
659
- type: e.type,
660
- label: e.label,
661
- fill: e.backgroundColor || ((_c = (_b = (_a = this.chartConfiguration) === null || _a === void 0 ? void 0 : _a.defaultColors) === null || _b === void 0 ? void 0 : _b[idx]) === null || _c === void 0 ? void 0 : _c.backgroundColor) || dynamicColor,
662
- backgroundColor: e.backgroundColor || ((_f = (_e = (_d = this.chartConfiguration) === null || _d === void 0 ? void 0 : _d.defaultColors) === null || _e === void 0 ? void 0 : _e[idx]) === null || _f === void 0 ? void 0 : _f.backgroundColor) || dynamicColor,
663
- borderColor: e.borderColor || ((_j = (_h = (_g = this.chartConfiguration) === null || _g === void 0 ? void 0 : _g.defaultColors) === null || _h === void 0 ? void 0 : _h[idx]) === null || _j === void 0 ? void 0 : _j.borderColor) || dynamicColor,
664
- data: e.data,
665
- yAxisID: e.yAlign === 'right' ? rightId : leftId,
666
- lineTension: 0
667
- };
668
- return result;
669
- })
670
- }
671
- };
672
- if (option.hover === 'ShowAll') {
673
- configuration.options.tooltips = Object.assign(Object.assign({}, configuration.options.tooltips), { mode: 'index', intersect: false });
674
- configuration.options.hover = Object.assign(Object.assign({}, configuration.options.hover), { mode: 'index', intersect: false });
675
- }
676
- this.chart = new Chart(this.ctx, configuration);
677
- this.isLoading = false;
678
- }
679
- get dynamicColor() {
680
- const r = Math.floor(Math.random() * 255);
681
- const g = Math.floor(Math.random() * 255);
682
- const b = Math.floor(Math.random() * 255);
683
- return 'rgb(' + r + ',' + g + ',' + b + ')';
684
- }
685
- }
686
- SdChart.decorators = [
687
- { type: Component, args: [{
688
- selector: 'sd-chart',
689
- template: "<div *ngIf=\"visible\" class=\"c-chart-wrapper mt-2\" >\r\n <div class=\"c-chart-area-wrapper\" #chartWrapper>\r\n <div class=\"c-chart-area-wrapper-extend\" [ngStyle]=\"{'height':height}\" #chartAreaWrapperExtend [ngClass]=\"{'c-loading': isLoading}\">\r\n <i [ngClass]=\"{'d-none': !isLoading}\" class=\"fa fa-5x fa-spinner fa-pulse c-loading-icon\"></i>\r\n <canvas #chart [ngClass]=\"{'c-loading-margin': isLoading}\"></canvas>\r\n </div>\r\n </div>\r\n</div>\r\n",
690
- styles: [".c-container{background:#f5f6f7;border-radius:5px}.c-flex{border-radius:8px;display:flex;margin:15px}.c-chart-container{background:#fff;border-radius:5px;border-radius:8px;box-shadow:0 0 13px 0 rgba(82,63,105,.1);margin:15px;padding:15px}.c-btn-dashboard{align-self:center;height:60%;vertical-align:middle}.c-chart-wrapper{position:relative}.c-chart-wrapper>canvas{left:0;pointer-events:none;position:absolute;top:0}.c-chart-area-wrapper{overflow-x:auto;position:relative;width:100%}.c-chart-area-wrapper-extend{position:relative}.c-loading{opacity:.4}.c-loading-icon{left:calc(50% - 2.5rem);position:-webkit-sticky;position:sticky;top:calc(50% - 2.5rem)}.c-loading-margin{margin-top:-6rem}::-webkit-scrollbar{height:7px;width:7px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:50px}::-webkit-scrollbar-thumb:hover{background:#555}"]
691
- },] }
692
- ];
693
- SdChart.ctorParameters = () => [
694
- { type: ChangeDetectorRef },
695
- { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHART_CONFIG,] }] }
696
- ];
697
- SdChart.propDecorators = {
698
- chartOption: [{ type: Input }],
699
- chartRef: [{ type: ViewChild, args: ['chart',] }],
700
- chartWrapperRef: [{ type: ViewChild, args: ['chartWrapper',] }],
701
- chartAxisRef: [{ type: ViewChild, args: ['chartAxis',] }],
702
- chartAreaWrapperExtendRef: [{ type: ViewChild, args: ['chartAreaWrapperExtend',] }]
703
- };
704
-
705
- class SdChartModule {
706
- }
707
- SdChartModule.decorators = [
708
- { type: NgModule, args: [{
709
- imports: [
710
- CommonModule
711
- ],
712
- declarations: [
713
- SdChart
714
- ],
715
- exports: [
716
- SdChart
717
- ],
718
- providers: []
719
- },] }
720
- ];
721
-
722
- /**
723
- * Generated bundle index. Do not edit.
724
- */
725
-
726
- export { CHART_CONFIG, ChartColors, SdChart, SdChartModule };
727
- //# sourceMappingURL=sd-angular-core-chart.js.map