@sd-angular/core 1.2.98 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (812) hide show
  1. package/api/package.json +12 -1
  2. package/api/sd-angular-core-api.d.ts +2 -0
  3. package/api/sd-angular-core-api.d.ts.__ivy_ngcc_bak +4 -0
  4. package/api/sd-angular-core-api.d.ts.map +1 -0
  5. package/autocomplete/package.json +12 -1
  6. package/autocomplete/sd-angular-core-autocomplete.d.ts +2 -0
  7. package/autocomplete/sd-angular-core-autocomplete.d.ts.__ivy_ngcc_bak +4 -0
  8. package/autocomplete/sd-angular-core-autocomplete.d.ts.map +1 -0
  9. package/badge/package.json +12 -1
  10. package/badge/sd-angular-core-badge.d.ts +2 -0
  11. package/badge/sd-angular-core-badge.d.ts.__ivy_ngcc_bak +4 -0
  12. package/badge/sd-angular-core-badge.d.ts.map +1 -0
  13. package/bundles/sd-angular-core-api.umd.js +2 -1
  14. package/bundles/sd-angular-core-api.umd.js.__ivy_ngcc_bak +876 -0
  15. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  16. package/bundles/sd-angular-core-api.umd.js.map.__ivy_ngcc_bak +1 -0
  17. package/bundles/sd-angular-core-autocomplete.umd.js +2 -1
  18. package/bundles/sd-angular-core-autocomplete.umd.js.__ivy_ngcc_bak +791 -0
  19. package/bundles/sd-angular-core-autocomplete.umd.js.map +1 -1
  20. package/bundles/sd-angular-core-autocomplete.umd.js.map.__ivy_ngcc_bak +1 -0
  21. package/bundles/sd-angular-core-badge.umd.js +2 -1
  22. package/bundles/sd-angular-core-badge.umd.js.__ivy_ngcc_bak +89 -0
  23. package/bundles/sd-angular-core-badge.umd.js.map +1 -1
  24. package/bundles/sd-angular-core-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  25. package/bundles/sd-angular-core-button.umd.js +2 -1
  26. package/bundles/sd-angular-core-button.umd.js.__ivy_ngcc_bak +447 -0
  27. package/bundles/sd-angular-core-button.umd.js.map +1 -1
  28. package/bundles/sd-angular-core-button.umd.js.map.__ivy_ngcc_bak +1 -0
  29. package/bundles/sd-angular-core-cache.umd.js +2 -1
  30. package/bundles/sd-angular-core-cache.umd.js.__ivy_ngcc_bak +623 -0
  31. package/bundles/sd-angular-core-cache.umd.js.map +1 -1
  32. package/bundles/sd-angular-core-cache.umd.js.map.__ivy_ngcc_bak +1 -0
  33. package/bundles/sd-angular-core-chart.umd.js +2 -1
  34. package/bundles/sd-angular-core-chart.umd.js.__ivy_ngcc_bak +1106 -0
  35. package/bundles/sd-angular-core-chart.umd.js.map +1 -1
  36. package/bundles/sd-angular-core-chart.umd.js.map.__ivy_ngcc_bak +1 -0
  37. package/bundles/sd-angular-core-checkbox.umd.js +2 -1
  38. package/bundles/sd-angular-core-checkbox.umd.js.__ivy_ngcc_bak +461 -0
  39. package/bundles/sd-angular-core-checkbox.umd.js.map +1 -1
  40. package/bundles/sd-angular-core-checkbox.umd.js.map.__ivy_ngcc_bak +1 -0
  41. package/bundles/sd-angular-core-chip.umd.js +2 -1
  42. package/bundles/sd-angular-core-chip.umd.js.__ivy_ngcc_bak +1051 -0
  43. package/bundles/sd-angular-core-chip.umd.js.map +1 -1
  44. package/bundles/sd-angular-core-chip.umd.js.map.__ivy_ngcc_bak +1 -0
  45. package/bundles/sd-angular-core-comment.umd.js +2 -1
  46. package/bundles/sd-angular-core-comment.umd.js.__ivy_ngcc_bak +456 -0
  47. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  48. package/bundles/sd-angular-core-comment.umd.js.map.__ivy_ngcc_bak +1 -0
  49. package/bundles/sd-angular-core-common.umd.js +2 -1
  50. package/bundles/sd-angular-core-common.umd.js.__ivy_ngcc_bak +962 -0
  51. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  52. package/bundles/sd-angular-core-common.umd.js.map.__ivy_ngcc_bak +1 -0
  53. package/bundles/sd-angular-core-confirm.umd.js +2 -1
  54. package/bundles/sd-angular-core-confirm.umd.js.__ivy_ngcc_bak +159 -0
  55. package/bundles/sd-angular-core-confirm.umd.js.map +1 -1
  56. package/bundles/sd-angular-core-confirm.umd.js.map.__ivy_ngcc_bak +1 -0
  57. package/bundles/sd-angular-core-date-month.umd.js +2 -1
  58. package/bundles/sd-angular-core-date-month.umd.js.__ivy_ngcc_bak +650 -0
  59. package/bundles/sd-angular-core-date-month.umd.js.map +1 -1
  60. package/bundles/sd-angular-core-date-month.umd.js.map.__ivy_ngcc_bak +1 -0
  61. package/bundles/sd-angular-core-date-range.umd.js +2 -1
  62. package/bundles/sd-angular-core-date-range.umd.js.__ivy_ngcc_bak +660 -0
  63. package/bundles/sd-angular-core-date-range.umd.js.map +1 -1
  64. package/bundles/sd-angular-core-date-range.umd.js.map.__ivy_ngcc_bak +1 -0
  65. package/bundles/sd-angular-core-date-time.umd.js +2 -1
  66. package/bundles/sd-angular-core-date-time.umd.js.__ivy_ngcc_bak +734 -0
  67. package/bundles/sd-angular-core-date-time.umd.js.map +1 -1
  68. package/bundles/sd-angular-core-date-time.umd.js.map.__ivy_ngcc_bak +1 -0
  69. package/bundles/sd-angular-core-db.umd.js +3 -2
  70. package/bundles/sd-angular-core-db.umd.js.__ivy_ngcc_bak +475 -0
  71. package/bundles/sd-angular-core-db.umd.js.map +1 -1
  72. package/bundles/sd-angular-core-db.umd.js.map.__ivy_ngcc_bak +1 -0
  73. package/bundles/sd-angular-core-db.umd.min.js +1 -1
  74. package/bundles/sd-angular-core-db.umd.min.js.map +1 -1
  75. package/bundles/sd-angular-core-dynamic-report.umd.js +2 -1
  76. package/bundles/sd-angular-core-dynamic-report.umd.js.__ivy_ngcc_bak +96 -0
  77. package/bundles/sd-angular-core-dynamic-report.umd.js.map +1 -1
  78. package/bundles/sd-angular-core-dynamic-report.umd.js.map.__ivy_ngcc_bak +1 -0
  79. package/bundles/sd-angular-core-editor.umd.js +2 -1
  80. package/bundles/sd-angular-core-editor.umd.js.__ivy_ngcc_bak +943 -0
  81. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  82. package/bundles/sd-angular-core-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  83. package/bundles/sd-angular-core-excel.umd.js +2 -1
  84. package/bundles/sd-angular-core-excel.umd.js.__ivy_ngcc_bak +500 -0
  85. package/bundles/sd-angular-core-excel.umd.js.map +1 -1
  86. package/bundles/sd-angular-core-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  87. package/bundles/sd-angular-core-export.umd.js +2 -1
  88. package/bundles/sd-angular-core-export.umd.js.__ivy_ngcc_bak +712 -0
  89. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  90. package/bundles/sd-angular-core-export.umd.js.map.__ivy_ngcc_bak +1 -0
  91. package/bundles/sd-angular-core-filter.umd.js +2 -1
  92. package/bundles/sd-angular-core-filter.umd.js.__ivy_ngcc_bak +703 -0
  93. package/bundles/sd-angular-core-filter.umd.js.map +1 -1
  94. package/bundles/sd-angular-core-filter.umd.js.map.__ivy_ngcc_bak +1 -0
  95. package/bundles/sd-angular-core-form.umd.js +2 -1
  96. package/bundles/sd-angular-core-form.umd.js.__ivy_ngcc_bak +88 -0
  97. package/bundles/sd-angular-core-form.umd.js.map +1 -1
  98. package/bundles/sd-angular-core-form.umd.js.map.__ivy_ngcc_bak +1 -0
  99. package/bundles/sd-angular-core-grid-material.umd.js +2 -1
  100. package/bundles/sd-angular-core-grid-material.umd.js.__ivy_ngcc_bak +5029 -0
  101. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  102. package/bundles/sd-angular-core-grid-material.umd.js.map.__ivy_ngcc_bak +1 -0
  103. package/bundles/sd-angular-core-grid.umd.js +2 -1
  104. package/bundles/sd-angular-core-grid.umd.js.__ivy_ngcc_bak +5125 -0
  105. package/bundles/sd-angular-core-grid.umd.js.map +1 -1
  106. package/bundles/sd-angular-core-grid.umd.js.map.__ivy_ngcc_bak +1 -0
  107. package/bundles/sd-angular-core-group.umd.js +2 -1
  108. package/bundles/sd-angular-core-group.umd.js.__ivy_ngcc_bak +93 -0
  109. package/bundles/sd-angular-core-group.umd.js.map +1 -1
  110. package/bundles/sd-angular-core-group.umd.js.map.__ivy_ngcc_bak +1 -0
  111. package/bundles/sd-angular-core-header-title.umd.js +2 -1
  112. package/bundles/sd-angular-core-header-title.umd.js.__ivy_ngcc_bak +56 -0
  113. package/bundles/sd-angular-core-header-title.umd.js.map +1 -1
  114. package/bundles/sd-angular-core-header-title.umd.js.map.__ivy_ngcc_bak +1 -0
  115. package/bundles/sd-angular-core-image-preview.umd.js +2 -1
  116. package/bundles/sd-angular-core-image-preview.umd.js.__ivy_ngcc_bak +121 -0
  117. package/bundles/sd-angular-core-image-preview.umd.js.map +1 -1
  118. package/bundles/sd-angular-core-image-preview.umd.js.map.__ivy_ngcc_bak +1 -0
  119. package/bundles/sd-angular-core-input-currency.umd.js +2 -1
  120. package/bundles/sd-angular-core-input-currency.umd.js.__ivy_ngcc_bak +737 -0
  121. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  122. package/bundles/sd-angular-core-input-currency.umd.js.map.__ivy_ngcc_bak +1 -0
  123. package/bundles/sd-angular-core-input-dropdown.umd.js +2 -1
  124. package/bundles/sd-angular-core-input-dropdown.umd.js.__ivy_ngcc_bak +634 -0
  125. package/bundles/sd-angular-core-input-dropdown.umd.js.map +1 -1
  126. package/bundles/sd-angular-core-input-dropdown.umd.js.map.__ivy_ngcc_bak +1 -0
  127. package/bundles/sd-angular-core-input-number.umd.js +2 -1
  128. package/bundles/sd-angular-core-input-number.umd.js.__ivy_ngcc_bak +792 -0
  129. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  130. package/bundles/sd-angular-core-input-number.umd.js.map.__ivy_ngcc_bak +1 -0
  131. package/bundles/sd-angular-core-input-upload-file.umd.js +2 -1
  132. package/bundles/sd-angular-core-input-upload-file.umd.js.__ivy_ngcc_bak +648 -0
  133. package/bundles/sd-angular-core-input-upload-file.umd.js.map +1 -1
  134. package/bundles/sd-angular-core-input-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  135. package/bundles/sd-angular-core-input.umd.js +2 -1
  136. package/bundles/sd-angular-core-input.umd.js.__ivy_ngcc_bak +798 -0
  137. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  138. package/bundles/sd-angular-core-input.umd.js.map.__ivy_ngcc_bak +1 -0
  139. package/bundles/sd-angular-core-json-editor.umd.js +2 -1
  140. package/bundles/sd-angular-core-json-editor.umd.js.__ivy_ngcc_bak +523 -0
  141. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  142. package/bundles/sd-angular-core-json-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  143. package/bundles/sd-angular-core-konva.umd.js +2 -1
  144. package/bundles/sd-angular-core-konva.umd.js.__ivy_ngcc_bak +605 -0
  145. package/bundles/sd-angular-core-konva.umd.js.map +1 -1
  146. package/bundles/sd-angular-core-konva.umd.js.map.__ivy_ngcc_bak +1 -0
  147. package/bundles/sd-angular-core-label.umd.js +2 -1
  148. package/bundles/sd-angular-core-label.umd.js.__ivy_ngcc_bak +60 -0
  149. package/bundles/sd-angular-core-label.umd.js.map +1 -1
  150. package/bundles/sd-angular-core-label.umd.js.map.__ivy_ngcc_bak +1 -0
  151. package/bundles/sd-angular-core-loading.umd.js +2 -1
  152. package/bundles/sd-angular-core-loading.umd.js.__ivy_ngcc_bak +413 -0
  153. package/bundles/sd-angular-core-loading.umd.js.map +1 -1
  154. package/bundles/sd-angular-core-loading.umd.js.map.__ivy_ngcc_bak +1 -0
  155. package/bundles/sd-angular-core-modal-resizable.umd.js +2 -1
  156. package/bundles/sd-angular-core-modal-resizable.umd.js.__ivy_ngcc_bak +487 -0
  157. package/bundles/sd-angular-core-modal-resizable.umd.js.map +1 -1
  158. package/bundles/sd-angular-core-modal-resizable.umd.js.map.__ivy_ngcc_bak +1 -0
  159. package/bundles/sd-angular-core-modal.umd.js +2 -1
  160. package/bundles/sd-angular-core-modal.umd.js.__ivy_ngcc_bak +307 -0
  161. package/bundles/sd-angular-core-modal.umd.js.map +1 -1
  162. package/bundles/sd-angular-core-modal.umd.js.map.__ivy_ngcc_bak +1 -0
  163. package/bundles/sd-angular-core-notify.umd.js +2 -1
  164. package/bundles/sd-angular-core-notify.umd.js.__ivy_ngcc_bak +719 -0
  165. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  166. package/bundles/sd-angular-core-notify.umd.js.map.__ivy_ngcc_bak +1 -0
  167. package/bundles/sd-angular-core-popover.umd.js +2 -1
  168. package/bundles/sd-angular-core-popover.umd.js.__ivy_ngcc_bak +752 -0
  169. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  170. package/bundles/sd-angular-core-popover.umd.js.map.__ivy_ngcc_bak +1 -0
  171. package/bundles/sd-angular-core-quick-action.umd.js +2 -1
  172. package/bundles/sd-angular-core-quick-action.umd.js.__ivy_ngcc_bak +66 -0
  173. package/bundles/sd-angular-core-quick-action.umd.js.map +1 -1
  174. package/bundles/sd-angular-core-quick-action.umd.js.map.__ivy_ngcc_bak +1 -0
  175. package/bundles/sd-angular-core-radio.umd.js +2 -1
  176. package/bundles/sd-angular-core-radio.umd.js.__ivy_ngcc_bak +535 -0
  177. package/bundles/sd-angular-core-radio.umd.js.map +1 -1
  178. package/bundles/sd-angular-core-radio.umd.js.map.__ivy_ngcc_bak +1 -0
  179. package/bundles/sd-angular-core-select-badge.umd.js +2 -1
  180. package/bundles/sd-angular-core-select-badge.umd.js.__ivy_ngcc_bak +486 -0
  181. package/bundles/sd-angular-core-select-badge.umd.js.map +1 -1
  182. package/bundles/sd-angular-core-select-badge.umd.js.map.__ivy_ngcc_bak +1 -0
  183. package/bundles/sd-angular-core-select-editor.umd.js +2 -1
  184. package/bundles/sd-angular-core-select-editor.umd.js.__ivy_ngcc_bak +431 -0
  185. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  186. package/bundles/sd-angular-core-select-editor.umd.js.map.__ivy_ngcc_bak +1 -0
  187. package/bundles/sd-angular-core-select.umd.js +2 -1
  188. package/bundles/sd-angular-core-select.umd.js.__ivy_ngcc_bak +921 -0
  189. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  190. package/bundles/sd-angular-core-select.umd.js.map.__ivy_ngcc_bak +1 -0
  191. package/bundles/sd-angular-core-service.umd.js +2 -1
  192. package/bundles/sd-angular-core-service.umd.js.__ivy_ngcc_bak +42 -0
  193. package/bundles/sd-angular-core-service.umd.js.map +1 -1
  194. package/bundles/sd-angular-core-service.umd.js.map.__ivy_ngcc_bak +1 -0
  195. package/bundles/sd-angular-core-setting.umd.js +2 -1
  196. package/bundles/sd-angular-core-setting.umd.js.__ivy_ngcc_bak +664 -0
  197. package/bundles/sd-angular-core-setting.umd.js.map +1 -1
  198. package/bundles/sd-angular-core-setting.umd.js.map.__ivy_ngcc_bak +1 -0
  199. package/bundles/sd-angular-core-side-drawer.umd.js +2 -1
  200. package/bundles/sd-angular-core-side-drawer.umd.js.__ivy_ngcc_bak +438 -0
  201. package/bundles/sd-angular-core-side-drawer.umd.js.map +1 -1
  202. package/bundles/sd-angular-core-side-drawer.umd.js.map.__ivy_ngcc_bak +1 -0
  203. package/bundles/sd-angular-core-switch.umd.js +2 -1
  204. package/bundles/sd-angular-core-switch.umd.js.__ivy_ngcc_bak +454 -0
  205. package/bundles/sd-angular-core-switch.umd.js.map +1 -1
  206. package/bundles/sd-angular-core-switch.umd.js.map.__ivy_ngcc_bak +1 -0
  207. package/bundles/sd-angular-core-tab-router.umd.js +2 -1
  208. package/bundles/sd-angular-core-tab-router.umd.js.__ivy_ngcc_bak +941 -0
  209. package/bundles/sd-angular-core-tab-router.umd.js.map +1 -1
  210. package/bundles/sd-angular-core-tab-router.umd.js.map.__ivy_ngcc_bak +1 -0
  211. package/bundles/sd-angular-core-textarea.umd.js +2 -1
  212. package/bundles/sd-angular-core-textarea.umd.js.__ivy_ngcc_bak +642 -0
  213. package/bundles/sd-angular-core-textarea.umd.js.map +1 -1
  214. package/bundles/sd-angular-core-textarea.umd.js.map.__ivy_ngcc_bak +1 -0
  215. package/bundles/sd-angular-core-time.umd.js +2 -1
  216. package/bundles/sd-angular-core-time.umd.js.__ivy_ngcc_bak +497 -0
  217. package/bundles/sd-angular-core-time.umd.js.map +1 -1
  218. package/bundles/sd-angular-core-time.umd.js.map.__ivy_ngcc_bak +1 -0
  219. package/bundles/sd-angular-core-timeline.umd.js +2 -1
  220. package/bundles/sd-angular-core-timeline.umd.js.__ivy_ngcc_bak +102 -0
  221. package/bundles/sd-angular-core-timeline.umd.js.map +1 -1
  222. package/bundles/sd-angular-core-timeline.umd.js.map.__ivy_ngcc_bak +1 -0
  223. package/bundles/sd-angular-core-translate.umd.js +2 -1
  224. package/bundles/sd-angular-core-translate.umd.js.__ivy_ngcc_bak +119 -0
  225. package/bundles/sd-angular-core-translate.umd.js.map +1 -1
  226. package/bundles/sd-angular-core-translate.umd.js.map.__ivy_ngcc_bak +1 -0
  227. package/bundles/sd-angular-core-upload-excel.umd.js +2 -1
  228. package/bundles/sd-angular-core-upload-excel.umd.js.__ivy_ngcc_bak +1114 -0
  229. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  230. package/bundles/sd-angular-core-upload-excel.umd.js.map.__ivy_ngcc_bak +1 -0
  231. package/bundles/sd-angular-core-upload-file.umd.js +2 -1
  232. package/bundles/sd-angular-core-upload-file.umd.js.__ivy_ngcc_bak +880 -0
  233. package/bundles/sd-angular-core-upload-file.umd.js.map +1 -1
  234. package/bundles/sd-angular-core-upload-file.umd.js.map.__ivy_ngcc_bak +1 -0
  235. package/bundles/sd-angular-core-utility.umd.js +33 -1
  236. package/bundles/sd-angular-core-utility.umd.js.__ivy_ngcc_bak +739 -0
  237. package/bundles/sd-angular-core-utility.umd.js.map +1 -1
  238. package/bundles/sd-angular-core-utility.umd.js.map.__ivy_ngcc_bak +1 -0
  239. package/bundles/sd-angular-core-utility.umd.min.js +1 -1
  240. package/bundles/sd-angular-core-utility.umd.min.js.map +1 -1
  241. package/bundles/sd-angular-core-view.umd.js +2 -1
  242. package/bundles/sd-angular-core-view.umd.js.__ivy_ngcc_bak +32 -0
  243. package/bundles/sd-angular-core-view.umd.js.map +1 -1
  244. package/bundles/sd-angular-core-view.umd.js.map.__ivy_ngcc_bak +1 -0
  245. package/button/package.json +12 -1
  246. package/button/sd-angular-core-button.d.ts +2 -0
  247. package/button/sd-angular-core-button.d.ts.__ivy_ngcc_bak +4 -0
  248. package/button/sd-angular-core-button.d.ts.map +1 -0
  249. package/cache/package.json +12 -1
  250. package/cache/sd-angular-core-cache.d.ts +2 -0
  251. package/cache/sd-angular-core-cache.d.ts.__ivy_ngcc_bak +4 -0
  252. package/cache/sd-angular-core-cache.d.ts.map +1 -0
  253. package/chart/package.json +12 -1
  254. package/chart/sd-angular-core-chart.d.ts +2 -0
  255. package/chart/sd-angular-core-chart.d.ts.__ivy_ngcc_bak +4 -0
  256. package/chart/sd-angular-core-chart.d.ts.map +1 -0
  257. package/checkbox/package.json +12 -1
  258. package/checkbox/sd-angular-core-checkbox.d.ts +2 -0
  259. package/checkbox/sd-angular-core-checkbox.d.ts.__ivy_ngcc_bak +5 -0
  260. package/checkbox/sd-angular-core-checkbox.d.ts.map +1 -0
  261. package/chip/package.json +12 -1
  262. package/chip/sd-angular-core-chip.d.ts +2 -0
  263. package/chip/sd-angular-core-chip.d.ts.__ivy_ngcc_bak +5 -0
  264. package/chip/sd-angular-core-chip.d.ts.map +1 -0
  265. package/comment/package.json +12 -1
  266. package/comment/sd-angular-core-comment.d.ts +2 -0
  267. package/comment/sd-angular-core-comment.d.ts.__ivy_ngcc_bak +4 -0
  268. package/comment/sd-angular-core-comment.d.ts.map +1 -0
  269. package/common/package.json +12 -1
  270. package/common/sd-angular-core-common.d.ts +2 -0
  271. package/common/sd-angular-core-common.d.ts.__ivy_ngcc_bak +4 -0
  272. package/common/sd-angular-core-common.d.ts.map +1 -0
  273. package/confirm/package.json +12 -1
  274. package/confirm/sd-angular-core-confirm.d.ts +2 -0
  275. package/confirm/sd-angular-core-confirm.d.ts.__ivy_ngcc_bak +4 -0
  276. package/confirm/sd-angular-core-confirm.d.ts.map +1 -0
  277. package/date-month/package.json +12 -1
  278. package/date-month/sd-angular-core-date-month.d.ts +2 -0
  279. package/date-month/sd-angular-core-date-month.d.ts.__ivy_ngcc_bak +5 -0
  280. package/date-month/sd-angular-core-date-month.d.ts.map +1 -0
  281. package/date-range/package.json +12 -1
  282. package/date-range/sd-angular-core-date-range.d.ts +2 -0
  283. package/date-range/sd-angular-core-date-range.d.ts.__ivy_ngcc_bak +4 -0
  284. package/date-range/sd-angular-core-date-range.d.ts.map +1 -0
  285. package/date-time/package.json +12 -1
  286. package/date-time/sd-angular-core-date-time.d.ts +2 -0
  287. package/date-time/sd-angular-core-date-time.d.ts.__ivy_ngcc_bak +4 -0
  288. package/date-time/sd-angular-core-date-time.d.ts.map +1 -0
  289. package/db/package.json +12 -1
  290. package/db/sd-angular-core-db.d.ts +2 -0
  291. package/db/sd-angular-core-db.d.ts.__ivy_ngcc_bak +4 -0
  292. package/db/sd-angular-core-db.d.ts.map +1 -0
  293. package/db/sd-angular-core-db.metadata.json +1 -1
  294. package/db/src/lib/db.model.d.ts +10 -2
  295. package/db/src/lib/db.service.d.ts +6 -9
  296. package/dynamic-report/package.json +12 -1
  297. package/dynamic-report/sd-angular-core-dynamic-report.d.ts +2 -0
  298. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.__ivy_ngcc_bak +4 -0
  299. package/dynamic-report/sd-angular-core-dynamic-report.d.ts.map +1 -0
  300. package/editor/package.json +12 -1
  301. package/editor/sd-angular-core-editor.d.ts +2 -0
  302. package/editor/sd-angular-core-editor.d.ts.__ivy_ngcc_bak +4 -0
  303. package/editor/sd-angular-core-editor.d.ts.map +1 -0
  304. package/esm2015/api/sd-angular-core-api.js +1 -1
  305. package/esm2015/api/sd-angular-core-api.js.__ivy_ngcc_bak +5 -0
  306. package/esm2015/autocomplete/sd-angular-core-autocomplete.js +1 -1
  307. package/esm2015/autocomplete/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +5 -0
  308. package/esm2015/badge/sd-angular-core-badge.js +1 -1
  309. package/esm2015/badge/sd-angular-core-badge.js.__ivy_ngcc_bak +5 -0
  310. package/esm2015/button/sd-angular-core-button.js +1 -1
  311. package/esm2015/button/sd-angular-core-button.js.__ivy_ngcc_bak +5 -0
  312. package/esm2015/cache/sd-angular-core-cache.js +1 -1
  313. package/esm2015/cache/sd-angular-core-cache.js.__ivy_ngcc_bak +5 -0
  314. package/esm2015/chart/sd-angular-core-chart.js +1 -1
  315. package/esm2015/chart/sd-angular-core-chart.js.__ivy_ngcc_bak +5 -0
  316. package/esm2015/checkbox/sd-angular-core-checkbox.js +1 -1
  317. package/esm2015/checkbox/sd-angular-core-checkbox.js.__ivy_ngcc_bak +6 -0
  318. package/esm2015/chip/sd-angular-core-chip.js +1 -1
  319. package/esm2015/chip/sd-angular-core-chip.js.__ivy_ngcc_bak +6 -0
  320. package/esm2015/comment/sd-angular-core-comment.js +1 -1
  321. package/esm2015/comment/sd-angular-core-comment.js.__ivy_ngcc_bak +5 -0
  322. package/esm2015/common/sd-angular-core-common.js +1 -1
  323. package/esm2015/common/sd-angular-core-common.js.__ivy_ngcc_bak +5 -0
  324. package/esm2015/confirm/sd-angular-core-confirm.js +1 -1
  325. package/esm2015/confirm/sd-angular-core-confirm.js.__ivy_ngcc_bak +5 -0
  326. package/esm2015/date-month/sd-angular-core-date-month.js +1 -1
  327. package/esm2015/date-month/sd-angular-core-date-month.js.__ivy_ngcc_bak +6 -0
  328. package/esm2015/date-range/sd-angular-core-date-range.js +1 -1
  329. package/esm2015/date-range/sd-angular-core-date-range.js.__ivy_ngcc_bak +5 -0
  330. package/esm2015/date-time/sd-angular-core-date-time.js +1 -1
  331. package/esm2015/date-time/sd-angular-core-date-time.js.__ivy_ngcc_bak +5 -0
  332. package/esm2015/db/sd-angular-core-db.js +1 -1
  333. package/esm2015/db/sd-angular-core-db.js.__ivy_ngcc_bak +5 -0
  334. package/esm2015/db/src/lib/db.model.js +1 -1
  335. package/esm2015/db/src/lib/db.service.js +2 -2
  336. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js +1 -1
  337. package/esm2015/dynamic-report/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +5 -0
  338. package/esm2015/editor/sd-angular-core-editor.js +1 -1
  339. package/esm2015/editor/sd-angular-core-editor.js.__ivy_ngcc_bak +5 -0
  340. package/esm2015/excel/sd-angular-core-excel.js +1 -1
  341. package/esm2015/excel/sd-angular-core-excel.js.__ivy_ngcc_bak +5 -0
  342. package/esm2015/export/sd-angular-core-export.js +1 -1
  343. package/esm2015/export/sd-angular-core-export.js.__ivy_ngcc_bak +5 -0
  344. package/esm2015/filter/sd-angular-core-filter.js +1 -1
  345. package/esm2015/filter/sd-angular-core-filter.js.__ivy_ngcc_bak +8 -0
  346. package/esm2015/form/sd-angular-core-form.js +1 -1
  347. package/esm2015/form/sd-angular-core-form.js.__ivy_ngcc_bak +5 -0
  348. package/esm2015/grid/sd-angular-core-grid.js +1 -1
  349. package/esm2015/grid/sd-angular-core-grid.js.__ivy_ngcc_bak +5 -0
  350. package/esm2015/grid-material/sd-angular-core-grid-material.js +1 -1
  351. package/esm2015/grid-material/sd-angular-core-grid-material.js.__ivy_ngcc_bak +47 -0
  352. package/esm2015/group/sd-angular-core-group.js +1 -1
  353. package/esm2015/group/sd-angular-core-group.js.__ivy_ngcc_bak +6 -0
  354. package/esm2015/header-title/sd-angular-core-header-title.js +1 -1
  355. package/esm2015/header-title/sd-angular-core-header-title.js.__ivy_ngcc_bak +6 -0
  356. package/esm2015/image-preview/sd-angular-core-image-preview.js +1 -1
  357. package/esm2015/image-preview/sd-angular-core-image-preview.js.__ivy_ngcc_bak +7 -0
  358. package/esm2015/input/sd-angular-core-input.js +1 -1
  359. package/esm2015/input/sd-angular-core-input.js.__ivy_ngcc_bak +6 -0
  360. package/esm2015/input-currency/sd-angular-core-input-currency.js +1 -1
  361. package/esm2015/input-currency/sd-angular-core-input-currency.js.__ivy_ngcc_bak +5 -0
  362. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js +1 -1
  363. package/esm2015/input-dropdown/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +5 -0
  364. package/esm2015/input-number/sd-angular-core-input-number.js +1 -1
  365. package/esm2015/input-number/sd-angular-core-input-number.js.__ivy_ngcc_bak +5 -0
  366. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js +1 -1
  367. package/esm2015/input-upload-file/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +5 -0
  368. package/esm2015/json-editor/sd-angular-core-json-editor.js +1 -1
  369. package/esm2015/json-editor/sd-angular-core-json-editor.js.__ivy_ngcc_bak +5 -0
  370. package/esm2015/konva/sd-angular-core-konva.js +1 -1
  371. package/esm2015/konva/sd-angular-core-konva.js.__ivy_ngcc_bak +5 -0
  372. package/esm2015/label/sd-angular-core-label.js +1 -1
  373. package/esm2015/label/sd-angular-core-label.js.__ivy_ngcc_bak +6 -0
  374. package/esm2015/loading/sd-angular-core-loading.js +1 -1
  375. package/esm2015/loading/sd-angular-core-loading.js.__ivy_ngcc_bak +5 -0
  376. package/esm2015/modal/sd-angular-core-modal.js +1 -1
  377. package/esm2015/modal/sd-angular-core-modal.js.__ivy_ngcc_bak +5 -0
  378. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js +1 -1
  379. package/esm2015/modal-resizable/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +5 -0
  380. package/esm2015/notify/sd-angular-core-notify.js +1 -1
  381. package/esm2015/notify/sd-angular-core-notify.js.__ivy_ngcc_bak +5 -0
  382. package/esm2015/popover/sd-angular-core-popover.js +1 -1
  383. package/esm2015/popover/sd-angular-core-popover.js.__ivy_ngcc_bak +5 -0
  384. package/esm2015/quick-action/sd-angular-core-quick-action.js +1 -1
  385. package/esm2015/quick-action/sd-angular-core-quick-action.js.__ivy_ngcc_bak +5 -0
  386. package/esm2015/radio/sd-angular-core-radio.js +1 -1
  387. package/esm2015/radio/sd-angular-core-radio.js.__ivy_ngcc_bak +5 -0
  388. package/esm2015/select/sd-angular-core-select.js +1 -1
  389. package/esm2015/select/sd-angular-core-select.js.__ivy_ngcc_bak +5 -0
  390. package/esm2015/select-badge/sd-angular-core-select-badge.js +1 -1
  391. package/esm2015/select-badge/sd-angular-core-select-badge.js.__ivy_ngcc_bak +5 -0
  392. package/esm2015/select-editor/sd-angular-core-select-editor.js +1 -1
  393. package/esm2015/select-editor/sd-angular-core-select-editor.js.__ivy_ngcc_bak +5 -0
  394. package/esm2015/service/sd-angular-core-service.js +1 -1
  395. package/esm2015/service/sd-angular-core-service.js.__ivy_ngcc_bak +5 -0
  396. package/esm2015/setting/sd-angular-core-setting.js +1 -1
  397. package/esm2015/setting/sd-angular-core-setting.js.__ivy_ngcc_bak +5 -0
  398. package/esm2015/side-drawer/sd-angular-core-side-drawer.js +1 -1
  399. package/esm2015/side-drawer/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +5 -0
  400. package/esm2015/switch/sd-angular-core-switch.js +1 -1
  401. package/esm2015/switch/sd-angular-core-switch.js.__ivy_ngcc_bak +5 -0
  402. package/esm2015/tab-router/sd-angular-core-tab-router.js +1 -1
  403. package/esm2015/tab-router/sd-angular-core-tab-router.js.__ivy_ngcc_bak +7 -0
  404. package/esm2015/textarea/sd-angular-core-textarea.js +1 -1
  405. package/esm2015/textarea/sd-angular-core-textarea.js.__ivy_ngcc_bak +5 -0
  406. package/esm2015/time/sd-angular-core-time.js +1 -1
  407. package/esm2015/time/sd-angular-core-time.js.__ivy_ngcc_bak +6 -0
  408. package/esm2015/timeline/sd-angular-core-timeline.js +1 -1
  409. package/esm2015/timeline/sd-angular-core-timeline.js.__ivy_ngcc_bak +6 -0
  410. package/esm2015/translate/sd-angular-core-translate.js +1 -1
  411. package/esm2015/translate/sd-angular-core-translate.js.__ivy_ngcc_bak +5 -0
  412. package/esm2015/upload-excel/sd-angular-core-upload-excel.js +1 -1
  413. package/esm2015/upload-excel/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +7 -0
  414. package/esm2015/upload-file/sd-angular-core-upload-file.js +1 -1
  415. package/esm2015/upload-file/sd-angular-core-upload-file.js.__ivy_ngcc_bak +5 -0
  416. package/esm2015/utility/sd-angular-core-utility.js +1 -1
  417. package/esm2015/utility/sd-angular-core-utility.js.__ivy_ngcc_bak +5 -0
  418. package/esm2015/utility/src/lib/utility.service.js +22 -2
  419. package/esm2015/view/sd-angular-core-view.js +1 -1
  420. package/esm2015/view/sd-angular-core-view.js.__ivy_ngcc_bak +5 -0
  421. package/excel/package.json +12 -1
  422. package/excel/sd-angular-core-excel.d.ts +2 -0
  423. package/excel/sd-angular-core-excel.d.ts.__ivy_ngcc_bak +4 -0
  424. package/excel/sd-angular-core-excel.d.ts.map +1 -0
  425. package/export/package.json +12 -1
  426. package/export/sd-angular-core-export.d.ts +2 -0
  427. package/export/sd-angular-core-export.d.ts.__ivy_ngcc_bak +4 -0
  428. package/export/sd-angular-core-export.d.ts.map +1 -0
  429. package/fesm2015/sd-angular-core-api.js +2 -1
  430. package/fesm2015/sd-angular-core-api.js.__ivy_ngcc_bak +496 -0
  431. package/fesm2015/sd-angular-core-api.js.map +1 -1
  432. package/fesm2015/sd-angular-core-api.js.map.__ivy_ngcc_bak +1 -0
  433. package/fesm2015/sd-angular-core-autocomplete.js +2 -1
  434. package/fesm2015/sd-angular-core-autocomplete.js.__ivy_ngcc_bak +427 -0
  435. package/fesm2015/sd-angular-core-autocomplete.js.map +1 -1
  436. package/fesm2015/sd-angular-core-autocomplete.js.map.__ivy_ngcc_bak +1 -0
  437. package/fesm2015/sd-angular-core-badge.js +2 -1
  438. package/fesm2015/sd-angular-core-badge.js.__ivy_ngcc_bak +70 -0
  439. package/fesm2015/sd-angular-core-badge.js.map +1 -1
  440. package/fesm2015/sd-angular-core-badge.js.map.__ivy_ngcc_bak +1 -0
  441. package/fesm2015/sd-angular-core-button.js +2 -1
  442. package/fesm2015/sd-angular-core-button.js.__ivy_ngcc_bak +118 -0
  443. package/fesm2015/sd-angular-core-button.js.map +1 -1
  444. package/fesm2015/sd-angular-core-button.js.map.__ivy_ngcc_bak +1 -0
  445. package/fesm2015/sd-angular-core-cache.js +2 -1
  446. package/fesm2015/sd-angular-core-cache.js.__ivy_ngcc_bak +259 -0
  447. package/fesm2015/sd-angular-core-cache.js.map +1 -1
  448. package/fesm2015/sd-angular-core-cache.js.map.__ivy_ngcc_bak +1 -0
  449. package/fesm2015/sd-angular-core-chart.js +2 -1
  450. package/fesm2015/sd-angular-core-chart.js.__ivy_ngcc_bak +727 -0
  451. package/fesm2015/sd-angular-core-chart.js.map +1 -1
  452. package/fesm2015/sd-angular-core-chart.js.map.__ivy_ngcc_bak +1 -0
  453. package/fesm2015/sd-angular-core-checkbox.js +2 -1
  454. package/fesm2015/sd-angular-core-checkbox.js.__ivy_ngcc_bak +120 -0
  455. package/fesm2015/sd-angular-core-checkbox.js.map +1 -1
  456. package/fesm2015/sd-angular-core-checkbox.js.map.__ivy_ngcc_bak +1 -0
  457. package/fesm2015/sd-angular-core-chip.js +2 -1
  458. package/fesm2015/sd-angular-core-chip.js.__ivy_ngcc_bak +632 -0
  459. package/fesm2015/sd-angular-core-chip.js.map +1 -1
  460. package/fesm2015/sd-angular-core-chip.js.map.__ivy_ngcc_bak +1 -0
  461. package/fesm2015/sd-angular-core-comment.js +2 -1
  462. package/fesm2015/sd-angular-core-comment.js.__ivy_ngcc_bak +118 -0
  463. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  464. package/fesm2015/sd-angular-core-comment.js.map.__ivy_ngcc_bak +1 -0
  465. package/fesm2015/sd-angular-core-common.js +2 -1
  466. package/fesm2015/sd-angular-core-common.js.__ivy_ngcc_bak +562 -0
  467. package/fesm2015/sd-angular-core-common.js.map +1 -1
  468. package/fesm2015/sd-angular-core-common.js.map.__ivy_ngcc_bak +1 -0
  469. package/fesm2015/sd-angular-core-confirm.js +2 -1
  470. package/fesm2015/sd-angular-core-confirm.js.__ivy_ngcc_bak +154 -0
  471. package/fesm2015/sd-angular-core-confirm.js.map +1 -1
  472. package/fesm2015/sd-angular-core-confirm.js.map.__ivy_ngcc_bak +1 -0
  473. package/fesm2015/sd-angular-core-date-month.js +2 -1
  474. package/fesm2015/sd-angular-core-date-month.js.__ivy_ngcc_bak +289 -0
  475. package/fesm2015/sd-angular-core-date-month.js.map +1 -1
  476. package/fesm2015/sd-angular-core-date-month.js.map.__ivy_ngcc_bak +1 -0
  477. package/fesm2015/sd-angular-core-date-range.js +2 -1
  478. package/fesm2015/sd-angular-core-date-range.js.__ivy_ngcc_bak +297 -0
  479. package/fesm2015/sd-angular-core-date-range.js.map +1 -1
  480. package/fesm2015/sd-angular-core-date-range.js.map.__ivy_ngcc_bak +1 -0
  481. package/fesm2015/sd-angular-core-date-time.js +2 -1
  482. package/fesm2015/sd-angular-core-date-time.js.__ivy_ngcc_bak +367 -0
  483. package/fesm2015/sd-angular-core-date-time.js.map +1 -1
  484. package/fesm2015/sd-angular-core-date-time.js.map.__ivy_ngcc_bak +1 -0
  485. package/fesm2015/sd-angular-core-db.js +3 -2
  486. package/fesm2015/sd-angular-core-db.js.__ivy_ngcc_bak +102 -0
  487. package/fesm2015/sd-angular-core-db.js.map +1 -1
  488. package/fesm2015/sd-angular-core-db.js.map.__ivy_ngcc_bak +1 -0
  489. package/fesm2015/sd-angular-core-dynamic-report.js +2 -1
  490. package/fesm2015/sd-angular-core-dynamic-report.js.__ivy_ngcc_bak +82 -0
  491. package/fesm2015/sd-angular-core-dynamic-report.js.map +1 -1
  492. package/fesm2015/sd-angular-core-dynamic-report.js.map.__ivy_ngcc_bak +1 -0
  493. package/fesm2015/sd-angular-core-editor.js +2 -1
  494. package/fesm2015/sd-angular-core-editor.js.__ivy_ngcc_bak +576 -0
  495. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  496. package/fesm2015/sd-angular-core-editor.js.map.__ivy_ngcc_bak +1 -0
  497. package/fesm2015/sd-angular-core-excel.js +2 -1
  498. package/fesm2015/sd-angular-core-excel.js.__ivy_ngcc_bak +100 -0
  499. package/fesm2015/sd-angular-core-excel.js.map +1 -1
  500. package/fesm2015/sd-angular-core-excel.js.map.__ivy_ngcc_bak +1 -0
  501. package/fesm2015/sd-angular-core-export.js +2 -1
  502. package/fesm2015/sd-angular-core-export.js.__ivy_ngcc_bak +272 -0
  503. package/fesm2015/sd-angular-core-export.js.map +1 -1
  504. package/fesm2015/sd-angular-core-export.js.map.__ivy_ngcc_bak +1 -0
  505. package/fesm2015/sd-angular-core-filter.js +2 -1
  506. package/fesm2015/sd-angular-core-filter.js.__ivy_ngcc_bak +323 -0
  507. package/fesm2015/sd-angular-core-filter.js.map +1 -1
  508. package/fesm2015/sd-angular-core-filter.js.map.__ivy_ngcc_bak +1 -0
  509. package/fesm2015/sd-angular-core-form.js +2 -1
  510. package/fesm2015/sd-angular-core-form.js.__ivy_ngcc_bak +104 -0
  511. package/fesm2015/sd-angular-core-form.js.map +1 -1
  512. package/fesm2015/sd-angular-core-form.js.map.__ivy_ngcc_bak +1 -0
  513. package/fesm2015/sd-angular-core-grid-material.js +2 -1
  514. package/fesm2015/sd-angular-core-grid-material.js.__ivy_ngcc_bak +3740 -0
  515. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  516. package/fesm2015/sd-angular-core-grid-material.js.map.__ivy_ngcc_bak +1 -0
  517. package/fesm2015/sd-angular-core-grid.js +2 -1
  518. package/fesm2015/sd-angular-core-grid.js.__ivy_ngcc_bak +3935 -0
  519. package/fesm2015/sd-angular-core-grid.js.map +1 -1
  520. package/fesm2015/sd-angular-core-grid.js.map.__ivy_ngcc_bak +1 -0
  521. package/fesm2015/sd-angular-core-group.js +2 -1
  522. package/fesm2015/sd-angular-core-group.js.__ivy_ngcc_bak +74 -0
  523. package/fesm2015/sd-angular-core-group.js.map +1 -1
  524. package/fesm2015/sd-angular-core-group.js.map.__ivy_ngcc_bak +1 -0
  525. package/fesm2015/sd-angular-core-header-title.js +2 -1
  526. package/fesm2015/sd-angular-core-header-title.js.__ivy_ngcc_bak +45 -0
  527. package/fesm2015/sd-angular-core-header-title.js.map +1 -1
  528. package/fesm2015/sd-angular-core-header-title.js.map.__ivy_ngcc_bak +1 -0
  529. package/fesm2015/sd-angular-core-image-preview.js +2 -1
  530. package/fesm2015/sd-angular-core-image-preview.js.__ivy_ngcc_bak +107 -0
  531. package/fesm2015/sd-angular-core-image-preview.js.map +1 -1
  532. package/fesm2015/sd-angular-core-image-preview.js.map.__ivy_ngcc_bak +1 -0
  533. package/fesm2015/sd-angular-core-input-currency.js +2 -1
  534. package/fesm2015/sd-angular-core-input-currency.js.__ivy_ngcc_bak +330 -0
  535. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  536. package/fesm2015/sd-angular-core-input-currency.js.map.__ivy_ngcc_bak +1 -0
  537. package/fesm2015/sd-angular-core-input-dropdown.js +2 -1
  538. package/fesm2015/sd-angular-core-input-dropdown.js.__ivy_ngcc_bak +268 -0
  539. package/fesm2015/sd-angular-core-input-dropdown.js.map +1 -1
  540. package/fesm2015/sd-angular-core-input-dropdown.js.map.__ivy_ngcc_bak +1 -0
  541. package/fesm2015/sd-angular-core-input-number.js +2 -1
  542. package/fesm2015/sd-angular-core-input-number.js.__ivy_ngcc_bak +415 -0
  543. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  544. package/fesm2015/sd-angular-core-input-number.js.map.__ivy_ngcc_bak +1 -0
  545. package/fesm2015/sd-angular-core-input-upload-file.js +2 -1
  546. package/fesm2015/sd-angular-core-input-upload-file.js.__ivy_ngcc_bak +274 -0
  547. package/fesm2015/sd-angular-core-input-upload-file.js.map +1 -1
  548. package/fesm2015/sd-angular-core-input-upload-file.js.map.__ivy_ngcc_bak +1 -0
  549. package/fesm2015/sd-angular-core-input.js +2 -1
  550. package/fesm2015/sd-angular-core-input.js.__ivy_ngcc_bak +398 -0
  551. package/fesm2015/sd-angular-core-input.js.map +1 -1
  552. package/fesm2015/sd-angular-core-input.js.map.__ivy_ngcc_bak +1 -0
  553. package/fesm2015/sd-angular-core-json-editor.js +2 -1
  554. package/fesm2015/sd-angular-core-json-editor.js.__ivy_ngcc_bak +180 -0
  555. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  556. package/fesm2015/sd-angular-core-json-editor.js.map.__ivy_ngcc_bak +1 -0
  557. package/fesm2015/sd-angular-core-konva.js +2 -1
  558. package/fesm2015/sd-angular-core-konva.js.__ivy_ngcc_bak +237 -0
  559. package/fesm2015/sd-angular-core-konva.js.map +1 -1
  560. package/fesm2015/sd-angular-core-konva.js.map.__ivy_ngcc_bak +1 -0
  561. package/fesm2015/sd-angular-core-label.js +2 -1
  562. package/fesm2015/sd-angular-core-label.js.__ivy_ngcc_bak +49 -0
  563. package/fesm2015/sd-angular-core-label.js.map +1 -1
  564. package/fesm2015/sd-angular-core-label.js.map.__ivy_ngcc_bak +1 -0
  565. package/fesm2015/sd-angular-core-loading.js +2 -1
  566. package/fesm2015/sd-angular-core-loading.js.__ivy_ngcc_bak +83 -0
  567. package/fesm2015/sd-angular-core-loading.js.map +1 -1
  568. package/fesm2015/sd-angular-core-loading.js.map.__ivy_ngcc_bak +1 -0
  569. package/fesm2015/sd-angular-core-modal-resizable.js +2 -1
  570. package/fesm2015/sd-angular-core-modal-resizable.js.__ivy_ngcc_bak +161 -0
  571. package/fesm2015/sd-angular-core-modal-resizable.js.map +1 -1
  572. package/fesm2015/sd-angular-core-modal-resizable.js.map.__ivy_ngcc_bak +1 -0
  573. package/fesm2015/sd-angular-core-modal.js +2 -1
  574. package/fesm2015/sd-angular-core-modal.js.__ivy_ngcc_bak +284 -0
  575. package/fesm2015/sd-angular-core-modal.js.map +1 -1
  576. package/fesm2015/sd-angular-core-modal.js.map.__ivy_ngcc_bak +1 -0
  577. package/fesm2015/sd-angular-core-notify.js +2 -1
  578. package/fesm2015/sd-angular-core-notify.js.__ivy_ngcc_bak +402 -0
  579. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  580. package/fesm2015/sd-angular-core-notify.js.map.__ivy_ngcc_bak +1 -0
  581. package/fesm2015/sd-angular-core-popover.js +2 -1
  582. package/fesm2015/sd-angular-core-popover.js.__ivy_ngcc_bak +415 -0
  583. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  584. package/fesm2015/sd-angular-core-popover.js.map.__ivy_ngcc_bak +1 -0
  585. package/fesm2015/sd-angular-core-quick-action.js +2 -1
  586. package/fesm2015/sd-angular-core-quick-action.js.__ivy_ngcc_bak +53 -0
  587. package/fesm2015/sd-angular-core-quick-action.js.map +1 -1
  588. package/fesm2015/sd-angular-core-quick-action.js.map.__ivy_ngcc_bak +1 -0
  589. package/fesm2015/sd-angular-core-radio.js +2 -1
  590. package/fesm2015/sd-angular-core-radio.js.__ivy_ngcc_bak +188 -0
  591. package/fesm2015/sd-angular-core-radio.js.map +1 -1
  592. package/fesm2015/sd-angular-core-radio.js.map.__ivy_ngcc_bak +1 -0
  593. package/fesm2015/sd-angular-core-select-badge.js +2 -1
  594. package/fesm2015/sd-angular-core-select-badge.js.__ivy_ngcc_bak +156 -0
  595. package/fesm2015/sd-angular-core-select-badge.js.map +1 -1
  596. package/fesm2015/sd-angular-core-select-badge.js.map.__ivy_ngcc_bak +1 -0
  597. package/fesm2015/sd-angular-core-select-editor.js +2 -1
  598. package/fesm2015/sd-angular-core-select-editor.js.__ivy_ngcc_bak +110 -0
  599. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  600. package/fesm2015/sd-angular-core-select-editor.js.map.__ivy_ngcc_bak +1 -0
  601. package/fesm2015/sd-angular-core-select.js +2 -1
  602. package/fesm2015/sd-angular-core-select.js.__ivy_ngcc_bak +487 -0
  603. package/fesm2015/sd-angular-core-select.js.map +1 -1
  604. package/fesm2015/sd-angular-core-select.js.map.__ivy_ngcc_bak +1 -0
  605. package/fesm2015/sd-angular-core-service.js +2 -1
  606. package/fesm2015/sd-angular-core-service.js.__ivy_ngcc_bak +36 -0
  607. package/fesm2015/sd-angular-core-service.js.map +1 -1
  608. package/fesm2015/sd-angular-core-service.js.map.__ivy_ngcc_bak +1 -0
  609. package/fesm2015/sd-angular-core-setting.js +2 -1
  610. package/fesm2015/sd-angular-core-setting.js.__ivy_ngcc_bak +290 -0
  611. package/fesm2015/sd-angular-core-setting.js.map +1 -1
  612. package/fesm2015/sd-angular-core-setting.js.map.__ivy_ngcc_bak +1 -0
  613. package/fesm2015/sd-angular-core-side-drawer.js +2 -1
  614. package/fesm2015/sd-angular-core-side-drawer.js.__ivy_ngcc_bak +115 -0
  615. package/fesm2015/sd-angular-core-side-drawer.js.map +1 -1
  616. package/fesm2015/sd-angular-core-side-drawer.js.map.__ivy_ngcc_bak +1 -0
  617. package/fesm2015/sd-angular-core-switch.js +2 -1
  618. package/fesm2015/sd-angular-core-switch.js.__ivy_ngcc_bak +116 -0
  619. package/fesm2015/sd-angular-core-switch.js.map +1 -1
  620. package/fesm2015/sd-angular-core-switch.js.map.__ivy_ngcc_bak +1 -0
  621. package/fesm2015/sd-angular-core-tab-router.js +2 -1
  622. package/fesm2015/sd-angular-core-tab-router.js.__ivy_ngcc_bak +531 -0
  623. package/fesm2015/sd-angular-core-tab-router.js.map +1 -1
  624. package/fesm2015/sd-angular-core-tab-router.js.map.__ivy_ngcc_bak +1 -0
  625. package/fesm2015/sd-angular-core-textarea.js +2 -1
  626. package/fesm2015/sd-angular-core-textarea.js.__ivy_ngcc_bak +266 -0
  627. package/fesm2015/sd-angular-core-textarea.js.map +1 -1
  628. package/fesm2015/sd-angular-core-textarea.js.map.__ivy_ngcc_bak +1 -0
  629. package/fesm2015/sd-angular-core-time.js +2 -1
  630. package/fesm2015/sd-angular-core-time.js.__ivy_ngcc_bak +143 -0
  631. package/fesm2015/sd-angular-core-time.js.map +1 -1
  632. package/fesm2015/sd-angular-core-time.js.map.__ivy_ngcc_bak +1 -0
  633. package/fesm2015/sd-angular-core-timeline.js +2 -1
  634. package/fesm2015/sd-angular-core-timeline.js.__ivy_ngcc_bak +87 -0
  635. package/fesm2015/sd-angular-core-timeline.js.map +1 -1
  636. package/fesm2015/sd-angular-core-timeline.js.map.__ivy_ngcc_bak +1 -0
  637. package/fesm2015/sd-angular-core-translate.js +2 -1
  638. package/fesm2015/sd-angular-core-translate.js.__ivy_ngcc_bak +101 -0
  639. package/fesm2015/sd-angular-core-translate.js.map +1 -1
  640. package/fesm2015/sd-angular-core-translate.js.map.__ivy_ngcc_bak +1 -0
  641. package/fesm2015/sd-angular-core-upload-excel.js +2 -1
  642. package/fesm2015/sd-angular-core-upload-excel.js.__ivy_ngcc_bak +638 -0
  643. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  644. package/fesm2015/sd-angular-core-upload-excel.js.map.__ivy_ngcc_bak +1 -0
  645. package/fesm2015/sd-angular-core-upload-file.js +2 -1
  646. package/fesm2015/sd-angular-core-upload-file.js.__ivy_ngcc_bak +462 -0
  647. package/fesm2015/sd-angular-core-upload-file.js.map +1 -1
  648. package/fesm2015/sd-angular-core-upload-file.js.map.__ivy_ngcc_bak +1 -0
  649. package/fesm2015/sd-angular-core-utility.js +23 -2
  650. package/fesm2015/sd-angular-core-utility.js.__ivy_ngcc_bak +384 -0
  651. package/fesm2015/sd-angular-core-utility.js.map +1 -1
  652. package/fesm2015/sd-angular-core-utility.js.map.__ivy_ngcc_bak +1 -0
  653. package/fesm2015/sd-angular-core-view.js +2 -1
  654. package/fesm2015/sd-angular-core-view.js.__ivy_ngcc_bak +23 -0
  655. package/fesm2015/sd-angular-core-view.js.map +1 -1
  656. package/fesm2015/sd-angular-core-view.js.map.__ivy_ngcc_bak +1 -0
  657. package/filter/package.json +12 -1
  658. package/filter/sd-angular-core-filter.d.ts +2 -0
  659. package/filter/sd-angular-core-filter.d.ts.__ivy_ngcc_bak +7 -0
  660. package/filter/sd-angular-core-filter.d.ts.map +1 -0
  661. package/form/package.json +12 -1
  662. package/form/sd-angular-core-form.d.ts +2 -0
  663. package/form/sd-angular-core-form.d.ts.__ivy_ngcc_bak +4 -0
  664. package/form/sd-angular-core-form.d.ts.map +1 -0
  665. package/grid/package.json +12 -1
  666. package/grid/sd-angular-core-grid.d.ts +2 -0
  667. package/grid/sd-angular-core-grid.d.ts.__ivy_ngcc_bak +4 -0
  668. package/grid/sd-angular-core-grid.d.ts.map +1 -0
  669. package/grid-material/package.json +12 -1
  670. package/grid-material/sd-angular-core-grid-material.d.ts +2 -0
  671. package/grid-material/sd-angular-core-grid-material.d.ts.__ivy_ngcc_bak +46 -0
  672. package/grid-material/sd-angular-core-grid-material.d.ts.map +1 -0
  673. package/group/package.json +12 -1
  674. package/group/sd-angular-core-group.d.ts +2 -0
  675. package/group/sd-angular-core-group.d.ts.__ivy_ngcc_bak +5 -0
  676. package/group/sd-angular-core-group.d.ts.map +1 -0
  677. package/header-title/package.json +12 -1
  678. package/header-title/sd-angular-core-header-title.d.ts +2 -0
  679. package/header-title/sd-angular-core-header-title.d.ts.__ivy_ngcc_bak +5 -0
  680. package/header-title/sd-angular-core-header-title.d.ts.map +1 -0
  681. package/image-preview/package.json +12 -1
  682. package/image-preview/sd-angular-core-image-preview.d.ts +2 -0
  683. package/image-preview/sd-angular-core-image-preview.d.ts.__ivy_ngcc_bak +6 -0
  684. package/image-preview/sd-angular-core-image-preview.d.ts.map +1 -0
  685. package/input/package.json +12 -1
  686. package/input/sd-angular-core-input.d.ts +2 -0
  687. package/input/sd-angular-core-input.d.ts.__ivy_ngcc_bak +5 -0
  688. package/input/sd-angular-core-input.d.ts.map +1 -0
  689. package/input-currency/package.json +12 -1
  690. package/input-currency/sd-angular-core-input-currency.d.ts +2 -0
  691. package/input-currency/sd-angular-core-input-currency.d.ts.__ivy_ngcc_bak +4 -0
  692. package/input-currency/sd-angular-core-input-currency.d.ts.map +1 -0
  693. package/input-dropdown/package.json +12 -1
  694. package/input-dropdown/sd-angular-core-input-dropdown.d.ts +2 -0
  695. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.__ivy_ngcc_bak +4 -0
  696. package/input-dropdown/sd-angular-core-input-dropdown.d.ts.map +1 -0
  697. package/input-number/package.json +12 -1
  698. package/input-number/sd-angular-core-input-number.d.ts +2 -0
  699. package/input-number/sd-angular-core-input-number.d.ts.__ivy_ngcc_bak +4 -0
  700. package/input-number/sd-angular-core-input-number.d.ts.map +1 -0
  701. package/input-upload-file/package.json +12 -1
  702. package/input-upload-file/sd-angular-core-input-upload-file.d.ts +2 -0
  703. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  704. package/input-upload-file/sd-angular-core-input-upload-file.d.ts.map +1 -0
  705. package/json-editor/package.json +12 -1
  706. package/json-editor/sd-angular-core-json-editor.d.ts +2 -0
  707. package/json-editor/sd-angular-core-json-editor.d.ts.__ivy_ngcc_bak +4 -0
  708. package/json-editor/sd-angular-core-json-editor.d.ts.map +1 -0
  709. package/konva/package.json +12 -1
  710. package/konva/sd-angular-core-konva.d.ts +2 -0
  711. package/konva/sd-angular-core-konva.d.ts.__ivy_ngcc_bak +4 -0
  712. package/konva/sd-angular-core-konva.d.ts.map +1 -0
  713. package/label/package.json +12 -1
  714. package/label/sd-angular-core-label.d.ts +2 -0
  715. package/label/sd-angular-core-label.d.ts.__ivy_ngcc_bak +5 -0
  716. package/label/sd-angular-core-label.d.ts.map +1 -0
  717. package/loading/package.json +12 -1
  718. package/loading/sd-angular-core-loading.d.ts +2 -0
  719. package/loading/sd-angular-core-loading.d.ts.__ivy_ngcc_bak +4 -0
  720. package/loading/sd-angular-core-loading.d.ts.map +1 -0
  721. package/modal/package.json +12 -1
  722. package/modal/sd-angular-core-modal.d.ts +2 -0
  723. package/modal/sd-angular-core-modal.d.ts.__ivy_ngcc_bak +4 -0
  724. package/modal/sd-angular-core-modal.d.ts.map +1 -0
  725. package/modal-resizable/package.json +12 -1
  726. package/modal-resizable/sd-angular-core-modal-resizable.d.ts +2 -0
  727. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.__ivy_ngcc_bak +4 -0
  728. package/modal-resizable/sd-angular-core-modal-resizable.d.ts.map +1 -0
  729. package/notify/package.json +12 -1
  730. package/notify/sd-angular-core-notify.d.ts +2 -0
  731. package/notify/sd-angular-core-notify.d.ts.__ivy_ngcc_bak +4 -0
  732. package/notify/sd-angular-core-notify.d.ts.map +1 -0
  733. package/package.json +1 -1
  734. package/popover/package.json +12 -1
  735. package/popover/sd-angular-core-popover.d.ts +2 -0
  736. package/popover/sd-angular-core-popover.d.ts.__ivy_ngcc_bak +4 -0
  737. package/popover/sd-angular-core-popover.d.ts.map +1 -0
  738. package/quick-action/package.json +12 -1
  739. package/quick-action/sd-angular-core-quick-action.d.ts +2 -0
  740. package/quick-action/sd-angular-core-quick-action.d.ts.__ivy_ngcc_bak +4 -0
  741. package/quick-action/sd-angular-core-quick-action.d.ts.map +1 -0
  742. package/radio/package.json +12 -1
  743. package/radio/sd-angular-core-radio.d.ts +2 -0
  744. package/radio/sd-angular-core-radio.d.ts.__ivy_ngcc_bak +4 -0
  745. package/radio/sd-angular-core-radio.d.ts.map +1 -0
  746. package/sd-angular-core-1.3.0.tgz +0 -0
  747. package/select/package.json +12 -1
  748. package/select/sd-angular-core-select.d.ts +2 -0
  749. package/select/sd-angular-core-select.d.ts.__ivy_ngcc_bak +4 -0
  750. package/select/sd-angular-core-select.d.ts.map +1 -0
  751. package/select-badge/package.json +12 -1
  752. package/select-badge/sd-angular-core-select-badge.d.ts +2 -0
  753. package/select-badge/sd-angular-core-select-badge.d.ts.__ivy_ngcc_bak +4 -0
  754. package/select-badge/sd-angular-core-select-badge.d.ts.map +1 -0
  755. package/select-editor/package.json +12 -1
  756. package/select-editor/sd-angular-core-select-editor.d.ts +2 -0
  757. package/select-editor/sd-angular-core-select-editor.d.ts.__ivy_ngcc_bak +4 -0
  758. package/select-editor/sd-angular-core-select-editor.d.ts.map +1 -0
  759. package/service/package.json +12 -1
  760. package/service/sd-angular-core-service.d.ts +2 -0
  761. package/service/sd-angular-core-service.d.ts.__ivy_ngcc_bak +4 -0
  762. package/service/sd-angular-core-service.d.ts.map +1 -0
  763. package/setting/package.json +12 -1
  764. package/setting/sd-angular-core-setting.d.ts +2 -0
  765. package/setting/sd-angular-core-setting.d.ts.__ivy_ngcc_bak +4 -0
  766. package/setting/sd-angular-core-setting.d.ts.map +1 -0
  767. package/side-drawer/package.json +12 -1
  768. package/side-drawer/sd-angular-core-side-drawer.d.ts +2 -0
  769. package/side-drawer/sd-angular-core-side-drawer.d.ts.__ivy_ngcc_bak +4 -0
  770. package/side-drawer/sd-angular-core-side-drawer.d.ts.map +1 -0
  771. package/switch/package.json +12 -1
  772. package/switch/sd-angular-core-switch.d.ts +2 -0
  773. package/switch/sd-angular-core-switch.d.ts.__ivy_ngcc_bak +4 -0
  774. package/switch/sd-angular-core-switch.d.ts.map +1 -0
  775. package/tab-router/package.json +12 -1
  776. package/tab-router/sd-angular-core-tab-router.d.ts +2 -0
  777. package/tab-router/sd-angular-core-tab-router.d.ts.__ivy_ngcc_bak +6 -0
  778. package/tab-router/sd-angular-core-tab-router.d.ts.map +1 -0
  779. package/textarea/package.json +12 -1
  780. package/textarea/sd-angular-core-textarea.d.ts +2 -0
  781. package/textarea/sd-angular-core-textarea.d.ts.__ivy_ngcc_bak +4 -0
  782. package/textarea/sd-angular-core-textarea.d.ts.map +1 -0
  783. package/time/package.json +12 -1
  784. package/time/sd-angular-core-time.d.ts +2 -0
  785. package/time/sd-angular-core-time.d.ts.__ivy_ngcc_bak +5 -0
  786. package/time/sd-angular-core-time.d.ts.map +1 -0
  787. package/timeline/package.json +12 -1
  788. package/timeline/sd-angular-core-timeline.d.ts +2 -0
  789. package/timeline/sd-angular-core-timeline.d.ts.__ivy_ngcc_bak +5 -0
  790. package/timeline/sd-angular-core-timeline.d.ts.map +1 -0
  791. package/translate/package.json +12 -1
  792. package/translate/sd-angular-core-translate.d.ts +2 -0
  793. package/translate/sd-angular-core-translate.d.ts.__ivy_ngcc_bak +4 -0
  794. package/translate/sd-angular-core-translate.d.ts.map +1 -0
  795. package/upload-excel/package.json +12 -1
  796. package/upload-excel/sd-angular-core-upload-excel.d.ts +2 -0
  797. package/upload-excel/sd-angular-core-upload-excel.d.ts.__ivy_ngcc_bak +6 -0
  798. package/upload-excel/sd-angular-core-upload-excel.d.ts.map +1 -0
  799. package/upload-file/package.json +12 -1
  800. package/upload-file/sd-angular-core-upload-file.d.ts +2 -0
  801. package/upload-file/sd-angular-core-upload-file.d.ts.__ivy_ngcc_bak +4 -0
  802. package/upload-file/sd-angular-core-upload-file.d.ts.map +1 -0
  803. package/utility/package.json +12 -1
  804. package/utility/sd-angular-core-utility.d.ts +2 -0
  805. package/utility/sd-angular-core-utility.d.ts.__ivy_ngcc_bak +4 -0
  806. package/utility/sd-angular-core-utility.d.ts.map +1 -0
  807. package/utility/src/lib/utility.service.d.ts +4 -0
  808. package/view/package.json +12 -1
  809. package/view/sd-angular-core-view.d.ts +2 -0
  810. package/view/sd-angular-core-view.d.ts.__ivy_ngcc_bak +4 -0
  811. package/view/sd-angular-core-view.d.ts.map +1 -0
  812. package/sd-angular-core-1.2.98.tgz +0 -0
@@ -0,0 +1,727 @@
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