@kirbydesign/designsystem 11.0.0 → 11.1.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 (986) hide show
  1. package/accordion/index.d.ts +42 -6
  2. package/accordion/index.d.ts.map +1 -0
  3. package/action-group/index.d.ts +43 -6
  4. package/action-group/index.d.ts.map +1 -0
  5. package/avatar/index.d.ts +28 -6
  6. package/avatar/index.d.ts.map +1 -0
  7. package/badge/index.d.ts +20 -6
  8. package/badge/index.d.ts.map +1 -0
  9. package/button/index.d.ts +43 -6
  10. package/button/index.d.ts.map +1 -0
  11. package/calendar/index.d.ts +137 -6
  12. package/calendar/index.d.ts.map +1 -0
  13. package/card/index.d.ts +72 -6
  14. package/card/index.d.ts.map +1 -0
  15. package/chart/index.d.ts +198 -4
  16. package/chart/index.d.ts.map +1 -0
  17. package/checkbox/index.d.ts +69 -6
  18. package/checkbox/index.d.ts.map +1 -0
  19. package/config/index.d.ts +40 -4
  20. package/config/index.d.ts.map +1 -0
  21. package/data-table/index.d.ts +30 -4
  22. package/data-table/index.d.ts.map +1 -0
  23. package/divider/index.d.ts +10 -6
  24. package/divider/index.d.ts.map +1 -0
  25. package/dropdown/index.d.ts +166 -6
  26. package/dropdown/index.d.ts.map +1 -0
  27. package/empty-state/index.d.ts +37 -6
  28. package/empty-state/index.d.ts.map +1 -0
  29. package/fab-sheet/index.d.ts +29 -6
  30. package/fab-sheet/index.d.ts.map +1 -0
  31. package/fesm2022/kirbydesign-designsystem-accordion.mjs +42 -22
  32. package/fesm2022/kirbydesign-designsystem-accordion.mjs.map +1 -1
  33. package/fesm2022/kirbydesign-designsystem-action-group.mjs +5 -7
  34. package/fesm2022/kirbydesign-designsystem-action-group.mjs.map +1 -1
  35. package/fesm2022/kirbydesign-designsystem-avatar.mjs +4 -4
  36. package/fesm2022/kirbydesign-designsystem-avatar.mjs.map +1 -1
  37. package/fesm2022/kirbydesign-designsystem-badge.mjs +4 -6
  38. package/fesm2022/kirbydesign-designsystem-badge.mjs.map +1 -1
  39. package/fesm2022/kirbydesign-designsystem-button.mjs +4 -5
  40. package/fesm2022/kirbydesign-designsystem-button.mjs.map +1 -1
  41. package/fesm2022/kirbydesign-designsystem-calendar.mjs +4 -6
  42. package/fesm2022/kirbydesign-designsystem-calendar.mjs.map +1 -1
  43. package/fesm2022/kirbydesign-designsystem-card.mjs +20 -21
  44. package/fesm2022/kirbydesign-designsystem-card.mjs.map +1 -1
  45. package/fesm2022/kirbydesign-designsystem-chart.mjs +478 -478
  46. package/fesm2022/kirbydesign-designsystem-chart.mjs.map +1 -1
  47. package/fesm2022/kirbydesign-designsystem-checkbox.mjs +6 -8
  48. package/fesm2022/kirbydesign-designsystem-checkbox.mjs.map +1 -1
  49. package/fesm2022/kirbydesign-designsystem-config.mjs.map +1 -1
  50. package/fesm2022/kirbydesign-designsystem-data-table.mjs +8 -8
  51. package/fesm2022/kirbydesign-designsystem-data-table.mjs.map +1 -1
  52. package/fesm2022/kirbydesign-designsystem-divider.mjs +4 -5
  53. package/fesm2022/kirbydesign-designsystem-divider.mjs.map +1 -1
  54. package/fesm2022/kirbydesign-designsystem-dropdown.mjs +27 -22
  55. package/fesm2022/kirbydesign-designsystem-dropdown.mjs.map +1 -1
  56. package/fesm2022/kirbydesign-designsystem-empty-state.mjs +10 -9
  57. package/fesm2022/kirbydesign-designsystem-empty-state.mjs.map +1 -1
  58. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs +5 -6
  59. package/fesm2022/kirbydesign-designsystem-fab-sheet.mjs.map +1 -1
  60. package/fesm2022/kirbydesign-designsystem-flag.mjs +5 -6
  61. package/fesm2022/kirbydesign-designsystem-flag.mjs.map +1 -1
  62. package/fesm2022/kirbydesign-designsystem-form-field.mjs +48 -41
  63. package/fesm2022/kirbydesign-designsystem-form-field.mjs.map +1 -1
  64. package/fesm2022/kirbydesign-designsystem-header.mjs +20 -20
  65. package/fesm2022/kirbydesign-designsystem-header.mjs.map +1 -1
  66. package/fesm2022/kirbydesign-designsystem-helpers-scss.mjs.map +1 -1
  67. package/fesm2022/kirbydesign-designsystem-helpers.mjs +9 -9
  68. package/fesm2022/kirbydesign-designsystem-helpers.mjs.map +1 -1
  69. package/fesm2022/kirbydesign-designsystem-icon.mjs +11 -10
  70. package/fesm2022/kirbydesign-designsystem-icon.mjs.map +1 -1
  71. package/fesm2022/kirbydesign-designsystem-item-group.mjs +4 -5
  72. package/fesm2022/kirbydesign-designsystem-item-group.mjs.map +1 -1
  73. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs +4 -4
  74. package/fesm2022/kirbydesign-designsystem-item-sliding.mjs.map +1 -1
  75. package/fesm2022/kirbydesign-designsystem-item.mjs +12 -13
  76. package/fesm2022/kirbydesign-designsystem-item.mjs.map +1 -1
  77. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs +7 -7
  78. package/fesm2022/kirbydesign-designsystem-kirby-app.mjs.map +1 -1
  79. package/fesm2022/kirbydesign-designsystem-list.mjs +43 -46
  80. package/fesm2022/kirbydesign-designsystem-list.mjs.map +1 -1
  81. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs +8 -8
  82. package/fesm2022/kirbydesign-designsystem-loading-overlay.mjs.map +1 -1
  83. package/fesm2022/kirbydesign-designsystem-menu.mjs +8 -10
  84. package/fesm2022/kirbydesign-designsystem-menu.mjs.map +1 -1
  85. package/fesm2022/kirbydesign-designsystem-modal.mjs +643 -634
  86. package/fesm2022/kirbydesign-designsystem-modal.mjs.map +1 -1
  87. package/fesm2022/kirbydesign-designsystem-page.mjs +67 -54
  88. package/fesm2022/kirbydesign-designsystem-page.mjs.map +1 -1
  89. package/fesm2022/kirbydesign-designsystem-popover.mjs +5 -6
  90. package/fesm2022/kirbydesign-designsystem-popover.mjs.map +1 -1
  91. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs +8 -9
  92. package/fesm2022/kirbydesign-designsystem-progress-circle.mjs.map +1 -1
  93. package/fesm2022/kirbydesign-designsystem-radio.mjs +16 -16
  94. package/fesm2022/kirbydesign-designsystem-radio.mjs.map +1 -1
  95. package/fesm2022/kirbydesign-designsystem-range.mjs +6 -8
  96. package/fesm2022/kirbydesign-designsystem-range.mjs.map +1 -1
  97. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs +4 -4
  98. package/fesm2022/kirbydesign-designsystem-reorder-list.mjs.map +1 -1
  99. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs +9 -10
  100. package/fesm2022/kirbydesign-designsystem-router-outlet.mjs.map +1 -1
  101. package/fesm2022/kirbydesign-designsystem-section-header.mjs +4 -5
  102. package/fesm2022/kirbydesign-designsystem-section-header.mjs.map +1 -1
  103. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs +3 -3
  104. package/fesm2022/kirbydesign-designsystem-shared-floating.mjs.map +1 -1
  105. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs +3 -3
  106. package/fesm2022/kirbydesign-designsystem-shared-portal.mjs.map +1 -1
  107. package/fesm2022/kirbydesign-designsystem-shared.mjs +18 -18
  108. package/fesm2022/kirbydesign-designsystem-shared.mjs.map +1 -1
  109. package/fesm2022/kirbydesign-designsystem-slide-button.mjs +17 -70
  110. package/fesm2022/kirbydesign-designsystem-slide-button.mjs.map +1 -1
  111. package/fesm2022/kirbydesign-designsystem-slide.mjs +14 -14
  112. package/fesm2022/kirbydesign-designsystem-slide.mjs.map +1 -1
  113. package/fesm2022/kirbydesign-designsystem-spinner.mjs +7 -7
  114. package/fesm2022/kirbydesign-designsystem-spinner.mjs.map +1 -1
  115. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs +11 -11
  116. package/fesm2022/kirbydesign-designsystem-tab-navigation.mjs.map +1 -1
  117. package/fesm2022/kirbydesign-designsystem-tabs.mjs +14 -15
  118. package/fesm2022/kirbydesign-designsystem-tabs.mjs.map +1 -1
  119. package/fesm2022/kirbydesign-designsystem-testing-base.mjs +286 -286
  120. package/fesm2022/kirbydesign-designsystem-testing-base.mjs.map +1 -1
  121. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs +4 -4
  122. package/fesm2022/kirbydesign-designsystem-testing-jasmine.mjs.map +1 -1
  123. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs +4 -4
  124. package/fesm2022/kirbydesign-designsystem-testing-jest.mjs.map +1 -1
  125. package/fesm2022/kirbydesign-designsystem-testing.mjs +4 -4
  126. package/fesm2022/kirbydesign-designsystem-testing.mjs.map +1 -1
  127. package/fesm2022/kirbydesign-designsystem-toast.mjs +6 -6
  128. package/fesm2022/kirbydesign-designsystem-toast.mjs.map +1 -1
  129. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs +9 -10
  130. package/fesm2022/kirbydesign-designsystem-toggle-button.mjs.map +1 -1
  131. package/fesm2022/kirbydesign-designsystem-toggle.mjs +6 -8
  132. package/fesm2022/kirbydesign-designsystem-toggle.mjs.map +1 -1
  133. package/fesm2022/kirbydesign-designsystem-types.mjs +3 -3
  134. package/fesm2022/kirbydesign-designsystem-types.mjs.map +1 -1
  135. package/fesm2022/kirbydesign-designsystem.mjs +17 -18
  136. package/fesm2022/kirbydesign-designsystem.mjs.map +1 -1
  137. package/flag/index.d.ts +14 -6
  138. package/flag/index.d.ts.map +1 -0
  139. package/form-field/index.d.ts +230 -6
  140. package/form-field/index.d.ts.map +1 -0
  141. package/header/index.d.ts +70 -6
  142. package/header/index.d.ts.map +1 -0
  143. package/helpers/index.d.ts +94 -4
  144. package/helpers/index.d.ts.map +1 -0
  145. package/helpers/scss/index.d.ts +9 -6
  146. package/helpers/scss/index.d.ts.map +1 -0
  147. package/icon/index.d.ts +66 -4
  148. package/icon/index.d.ts.map +1 -0
  149. package/icons/svg/top-up.svg +1 -0
  150. package/index.d.ts +222 -6
  151. package/index.d.ts.map +1 -0
  152. package/item/index.d.ts +53 -6
  153. package/item/index.d.ts.map +1 -0
  154. package/item-group/index.d.ts +10 -6
  155. package/item-group/index.d.ts.map +1 -0
  156. package/item-sliding/index.d.ts +28 -6
  157. package/item-sliding/index.d.ts.map +1 -0
  158. package/kirby-app/index.d.ts +21 -6
  159. package/kirby-app/index.d.ts.map +1 -0
  160. package/list/index.d.ts +282 -4
  161. package/list/index.d.ts.map +1 -0
  162. package/loading-overlay/index.d.ts +26 -6
  163. package/loading-overlay/index.d.ts.map +1 -0
  164. package/menu/index.d.ts +71 -6
  165. package/menu/index.d.ts.map +1 -0
  166. package/modal/index.d.ts +492 -4
  167. package/modal/index.d.ts.map +1 -0
  168. package/package.json +17 -17
  169. package/page/index.d.ts +233 -4
  170. package/page/index.d.ts.map +1 -0
  171. package/popover/index.d.ts +40 -6
  172. package/popover/index.d.ts.map +1 -0
  173. package/progress-circle/index.d.ts +64 -6
  174. package/progress-circle/index.d.ts.map +1 -0
  175. package/radio/index.d.ts +100 -6
  176. package/radio/index.d.ts.map +1 -0
  177. package/range/index.d.ts +45 -6
  178. package/range/index.d.ts.map +1 -0
  179. package/reorder-list/index.d.ts +34 -6
  180. package/reorder-list/index.d.ts.map +1 -0
  181. package/router-outlet/index.d.ts +20 -6
  182. package/router-outlet/index.d.ts.map +1 -0
  183. package/section-header/index.d.ts +9 -6
  184. package/section-header/index.d.ts.map +1 -0
  185. package/shared/floating/index.d.ts +138 -4
  186. package/shared/floating/index.d.ts.map +1 -0
  187. package/shared/index.d.ts +150 -4
  188. package/shared/index.d.ts.map +1 -0
  189. package/shared/portal/index.d.ts +36 -4
  190. package/shared/portal/index.d.ts.map +1 -0
  191. package/slide/index.d.ts +66 -6
  192. package/slide/index.d.ts.map +1 -0
  193. package/slide-button/index.d.ts +35 -6
  194. package/slide-button/index.d.ts.map +1 -0
  195. package/spinner/index.d.ts +16 -6
  196. package/spinner/index.d.ts.map +1 -0
  197. package/tab-navigation/index.d.ts +58 -6
  198. package/tab-navigation/index.d.ts.map +1 -0
  199. package/tabs/index.d.ts +49 -6
  200. package/tabs/index.d.ts.map +1 -0
  201. package/testing/index.d.ts +62 -6
  202. package/testing/index.d.ts.map +1 -0
  203. package/testing-base/index.d.ts +816 -6
  204. package/testing-base/index.d.ts.map +1 -0
  205. package/testing-jasmine/index.d.ts +11 -6
  206. package/testing-jasmine/index.d.ts.map +1 -0
  207. package/testing-jest/index.d.ts +11 -6
  208. package/testing-jest/index.d.ts.map +1 -0
  209. package/toast/index.d.ts +34 -6
  210. package/toast/index.d.ts.map +1 -0
  211. package/toggle/index.d.ts +64 -6
  212. package/toggle/index.d.ts.map +1 -0
  213. package/toggle-button/index.d.ts +58 -6
  214. package/toggle-button/index.d.ts.map +1 -0
  215. package/types/index.d.ts +21 -6
  216. package/types/index.d.ts.map +1 -0
  217. package/accordion/accordion-item.component.d.ts +0 -22
  218. package/accordion/accordion-item.component.d.ts.map +0 -1
  219. package/accordion/accordion.directive.d.ts +0 -6
  220. package/accordion/accordion.directive.d.ts.map +0 -1
  221. package/accordion/accordion.module.d.ts +0 -10
  222. package/accordion/accordion.module.d.ts.map +0 -1
  223. package/accordion/kirbydesign-designsystem-accordion.d.ts.map +0 -1
  224. package/accordion/public_api.d.ts +0 -4
  225. package/accordion/public_api.d.ts.map +0 -1
  226. package/action-group/action-group.component.d.ts +0 -40
  227. package/action-group/action-group.component.d.ts.map +0 -1
  228. package/action-group/kirbydesign-designsystem-action-group.d.ts.map +0 -1
  229. package/action-group/public_api.d.ts +0 -2
  230. package/action-group/public_api.d.ts.map +0 -1
  231. package/avatar/avatar.component.d.ts +0 -25
  232. package/avatar/avatar.component.d.ts.map +0 -1
  233. package/avatar/kirbydesign-designsystem-avatar.d.ts.map +0 -1
  234. package/avatar/public_api.d.ts +0 -2
  235. package/avatar/public_api.d.ts.map +0 -1
  236. package/badge/badge.component.d.ts +0 -16
  237. package/badge/badge.component.d.ts.map +0 -1
  238. package/badge/kirbydesign-designsystem-badge.d.ts.map +0 -1
  239. package/badge/public_api.d.ts +0 -2
  240. package/badge/public_api.d.ts.map +0 -1
  241. package/button/button.component.d.ts +0 -39
  242. package/button/button.component.d.ts.map +0 -1
  243. package/button/kirbydesign-designsystem-button.d.ts.map +0 -1
  244. package/button/public_api.d.ts +0 -2
  245. package/button/public_api.d.ts.map +0 -1
  246. package/calendar/calendar.component.d.ts +0 -113
  247. package/calendar/calendar.component.d.ts.map +0 -1
  248. package/calendar/interfaces/calendar-day.d.ts +0 -18
  249. package/calendar/interfaces/calendar-day.d.ts.map +0 -1
  250. package/calendar/interfaces/calendar-year-navigator-config.d.ts +0 -5
  251. package/calendar/interfaces/calendar-year-navigator-config.d.ts.map +0 -1
  252. package/calendar/kirbydesign-designsystem-calendar.d.ts.map +0 -1
  253. package/calendar/public_api.d.ts +0 -3
  254. package/calendar/public_api.d.ts.map +0 -1
  255. package/card/card-as-button/card-as-button.directive.d.ts +0 -16
  256. package/card/card-as-button/card-as-button.directive.d.ts.map +0 -1
  257. package/card/card-flag-level.d.ts +0 -3
  258. package/card/card-flag-level.d.ts.map +0 -1
  259. package/card/card-footer/card-footer.component.d.ts +0 -7
  260. package/card/card-footer/card-footer.component.d.ts.map +0 -1
  261. package/card/card-header/card-header.component.d.ts +0 -13
  262. package/card/card-header/card-header.component.d.ts.map +0 -1
  263. package/card/card.component.d.ts +0 -27
  264. package/card/card.component.d.ts.map +0 -1
  265. package/card/card.module.d.ts +0 -13
  266. package/card/card.module.d.ts.map +0 -1
  267. package/card/kirbydesign-designsystem-card.d.ts.map +0 -1
  268. package/card/public_api.d.ts +0 -7
  269. package/card/public_api.d.ts.map +0 -1
  270. package/chart/chart/chart.component.d.ts +0 -8
  271. package/chart/chart/chart.component.d.ts.map +0 -1
  272. package/chart/chart/index.d.ts +0 -2
  273. package/chart/chart/index.d.ts.map +0 -1
  274. package/chart/chart-config/chart-bar-config/chart-bar-config.d.ts +0 -10
  275. package/chart/chart-config/chart-bar-config/chart-bar-config.d.ts.map +0 -1
  276. package/chart/chart-config/chart-base-config.d.ts +0 -7
  277. package/chart/chart-config/chart-base-config.d.ts.map +0 -1
  278. package/chart/chart-config/chart-stock-config/chart-stock-config.d.ts +0 -21
  279. package/chart/chart-config/chart-stock-config/chart-stock-config.d.ts.map +0 -1
  280. package/chart/chart-config/chart-stock-config/data-label-position/data-label-position.d.ts +0 -5
  281. package/chart/chart-config/chart-stock-config/data-label-position/data-label-position.d.ts.map +0 -1
  282. package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.d.ts +0 -3
  283. package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.d.ts.map +0 -1
  284. package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.d.ts +0 -13
  285. package/chart/chart-config/chart-stock-config/vertical-line-plugin/vertical-line-plugin.model.d.ts.map +0 -1
  286. package/chart/charts.module.d.ts +0 -9
  287. package/chart/charts.module.d.ts.map +0 -1
  288. package/chart/kirbydesign-designsystem-chart.d.ts.map +0 -1
  289. package/chart/public_api.d.ts +0 -7
  290. package/chart/public_api.d.ts.map +0 -1
  291. package/chart/shared/base-chart/base-chart.component.d.ts +0 -35
  292. package/chart/shared/base-chart/base-chart.component.d.ts.map +0 -1
  293. package/chart/shared/base-chart/index.d.ts +0 -2
  294. package/chart/shared/base-chart/index.d.ts.map +0 -1
  295. package/chart/shared/chart-config-service/chart-config.service.d.ts +0 -31
  296. package/chart/shared/chart-config-service/chart-config.service.d.ts.map +0 -1
  297. package/chart/shared/chart-config-service/configs/annotations.config.d.ts +0 -3
  298. package/chart/shared/chart-config-service/configs/annotations.config.d.ts.map +0 -1
  299. package/chart/shared/chart-config-service/configs/global-defaults.config.d.ts +0 -49
  300. package/chart/shared/chart-config-service/configs/global-defaults.config.d.ts.map +0 -1
  301. package/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.d.ts +0 -5
  302. package/chart/shared/chart-config-service/configs/interaction-functions-extensions.config.d.ts.map +0 -1
  303. package/chart/shared/chart-config-service/configs/type.config.d.ts +0 -3
  304. package/chart/shared/chart-config-service/configs/type.config.d.ts.map +0 -1
  305. package/chart/shared/chart-config-service/index.d.ts +0 -2
  306. package/chart/shared/chart-config-service/index.d.ts.map +0 -1
  307. package/chart/shared/chart-js-service/annotations.delegate.d.ts +0 -17
  308. package/chart/shared/chart-js-service/annotations.delegate.d.ts.map +0 -1
  309. package/chart/shared/chart-js-service/chart-js.service.d.ts +0 -46
  310. package/chart/shared/chart-js-service/chart-js.service.d.ts.map +0 -1
  311. package/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.d.ts +0 -15
  312. package/chart/shared/chart-js-service/chartjs-plugin-marker/chartjs-plugin-marker.d.ts.map +0 -1
  313. package/chart/shared/chart-js-service/configured-chart-js.d.ts +0 -4
  314. package/chart/shared/chart-js-service/configured-chart-js.d.ts.map +0 -1
  315. package/chart/shared/chart-js-service/index.d.ts +0 -3
  316. package/chart/shared/chart-js-service/index.d.ts.map +0 -1
  317. package/chart/shared/chart-js-service/test-utils.d.ts +0 -5
  318. package/chart/shared/chart-js-service/test-utils.d.ts.map +0 -1
  319. package/chart/shared/charts.types.d.ts +0 -27
  320. package/chart/shared/charts.types.d.ts.map +0 -1
  321. package/chart/shared/index.d.ts +0 -5
  322. package/chart/shared/index.d.ts.map +0 -1
  323. package/chart/stock-chart/index.d.ts +0 -2
  324. package/chart/stock-chart/index.d.ts.map +0 -1
  325. package/chart/stock-chart/stock-chart-js.service.d.ts +0 -38
  326. package/chart/stock-chart/stock-chart-js.service.d.ts.map +0 -1
  327. package/chart/stock-chart/stock-chart.component.d.ts +0 -10
  328. package/chart/stock-chart/stock-chart.component.d.ts.map +0 -1
  329. package/checkbox/checkbox.component.d.ts +0 -66
  330. package/checkbox/checkbox.component.d.ts.map +0 -1
  331. package/checkbox/kirbydesign-designsystem-checkbox.d.ts.map +0 -1
  332. package/checkbox/public_api.d.ts +0 -2
  333. package/checkbox/public_api.d.ts.map +0 -1
  334. package/config/kirbydesign-designsystem-config.d.ts.map +0 -1
  335. package/config/provide-kirby.d.ts +0 -38
  336. package/config/provide-kirby.d.ts.map +0 -1
  337. package/config/public_api.d.ts +0 -2
  338. package/config/public_api.d.ts.map +0 -1
  339. package/data-table/data-table.module.d.ts +0 -13
  340. package/data-table/data-table.module.d.ts.map +0 -1
  341. package/data-table/kirbydesign-designsystem-data-table.d.ts.map +0 -1
  342. package/data-table/public_api.d.ts +0 -3
  343. package/data-table/public_api.d.ts.map +0 -1
  344. package/data-table/sortable/sortable.component.d.ts +0 -18
  345. package/data-table/sortable/sortable.component.d.ts.map +0 -1
  346. package/divider/divider.component.d.ts +0 -7
  347. package/divider/divider.component.d.ts.map +0 -1
  348. package/divider/kirbydesign-designsystem-divider.d.ts.map +0 -1
  349. package/divider/public_api.d.ts +0 -2
  350. package/divider/public_api.d.ts.map +0 -1
  351. package/dropdown/dropdown.component.d.ts +0 -131
  352. package/dropdown/dropdown.component.d.ts.map +0 -1
  353. package/dropdown/dropdown.module.d.ts +0 -16
  354. package/dropdown/dropdown.module.d.ts.map +0 -1
  355. package/dropdown/dropdown.types.d.ts +0 -10
  356. package/dropdown/dropdown.types.d.ts.map +0 -1
  357. package/dropdown/keyboard-handler.service.d.ts +0 -7
  358. package/dropdown/keyboard-handler.service.d.ts.map +0 -1
  359. package/dropdown/kirbydesign-designsystem-dropdown.d.ts.map +0 -1
  360. package/dropdown/public_api.d.ts +0 -6
  361. package/dropdown/public_api.d.ts.map +0 -1
  362. package/empty-state/empty-state.component.d.ts +0 -24
  363. package/empty-state/empty-state.component.d.ts.map +0 -1
  364. package/empty-state/empty-state.module.d.ts +0 -11
  365. package/empty-state/empty-state.module.d.ts.map +0 -1
  366. package/empty-state/kirbydesign-designsystem-empty-state.d.ts.map +0 -1
  367. package/empty-state/public_api.d.ts +0 -3
  368. package/empty-state/public_api.d.ts.map +0 -1
  369. package/fab-sheet/fab-sheet.component.d.ts +0 -26
  370. package/fab-sheet/fab-sheet.component.d.ts.map +0 -1
  371. package/fab-sheet/kirbydesign-designsystem-fab-sheet.d.ts.map +0 -1
  372. package/fab-sheet/public_api.d.ts +0 -2
  373. package/fab-sheet/public_api.d.ts.map +0 -1
  374. package/flag/flag.component.d.ts +0 -10
  375. package/flag/flag.component.d.ts.map +0 -1
  376. package/flag/kirbydesign-designsystem-flag.d.ts.map +0 -1
  377. package/flag/public_api.d.ts +0 -2
  378. package/flag/public_api.d.ts.map +0 -1
  379. package/form-field/directives/affix/affix.directive.d.ts +0 -10
  380. package/form-field/directives/affix/affix.directive.d.ts.map +0 -1
  381. package/form-field/directives/date/date-input.directive.d.ts +0 -45
  382. package/form-field/directives/date/date-input.directive.d.ts.map +0 -1
  383. package/form-field/directives/decimal-mask/decimal-mask.directive.d.ts +0 -41
  384. package/form-field/directives/decimal-mask/decimal-mask.directive.d.ts.map +0 -1
  385. package/form-field/form-field-message/form-field-message.component.d.ts +0 -8
  386. package/form-field/form-field-message/form-field-message.component.d.ts.map +0 -1
  387. package/form-field/form-field.component.d.ts +0 -58
  388. package/form-field/form-field.component.d.ts.map +0 -1
  389. package/form-field/form-field.module.d.ts +0 -14
  390. package/form-field/form-field.module.d.ts.map +0 -1
  391. package/form-field/input/input.component.d.ts +0 -39
  392. package/form-field/input/input.component.d.ts.map +0 -1
  393. package/form-field/input-counter/input-counter.component.d.ts +0 -16
  394. package/form-field/input-counter/input-counter.component.d.ts.map +0 -1
  395. package/form-field/kirbydesign-designsystem-form-field.d.ts.map +0 -1
  396. package/form-field/public_api.d.ts +0 -10
  397. package/form-field/public_api.d.ts.map +0 -1
  398. package/form-field/textarea/textarea.component.d.ts +0 -28
  399. package/form-field/textarea/textarea.component.d.ts.map +0 -1
  400. package/header/header.component.d.ts +0 -59
  401. package/header/header.component.d.ts.map +0 -1
  402. package/header/header.module.d.ts +0 -10
  403. package/header/header.module.d.ts.map +0 -1
  404. package/header/kirbydesign-designsystem-header.d.ts.map +0 -1
  405. package/header/public_api.d.ts +0 -3
  406. package/header/public_api.d.ts.map +0 -1
  407. package/helpers/chart-config-has-type.d.ts +0 -3
  408. package/helpers/chart-config-has-type.d.ts.map +0 -1
  409. package/helpers/color-helper.d.ts +0 -2
  410. package/helpers/color-helper.d.ts.map +0 -1
  411. package/helpers/content-mutation-observer.d.ts +0 -9
  412. package/helpers/content-mutation-observer.d.ts.map +0 -1
  413. package/helpers/deep-copy.d.ts +0 -2
  414. package/helpers/deep-copy.d.ts.map +0 -1
  415. package/helpers/design-token-helper.d.ts +0 -2
  416. package/helpers/design-token-helper.d.ts.map +0 -1
  417. package/helpers/element-ancestor-utils.d.ts +0 -3
  418. package/helpers/element-ancestor-utils.d.ts.map +0 -1
  419. package/helpers/ionic-element-part-helper.d.ts +0 -10
  420. package/helpers/ionic-element-part-helper.d.ts.map +0 -1
  421. package/helpers/kirby-animation.d.ts +0 -20
  422. package/helpers/kirby-animation.d.ts.map +0 -1
  423. package/helpers/kirbydesign-designsystem-helpers.d.ts.map +0 -1
  424. package/helpers/line-clamp-helper.d.ts +0 -12
  425. package/helpers/line-clamp-helper.d.ts.map +0 -1
  426. package/helpers/merge-deep.d.ts +0 -17
  427. package/helpers/merge-deep.d.ts.map +0 -1
  428. package/helpers/platform.service.d.ts +0 -11
  429. package/helpers/platform.service.d.ts.map +0 -1
  430. package/helpers/public_api.d.ts +0 -15
  431. package/helpers/public_api.d.ts.map +0 -1
  432. package/helpers/scss/kirbydesign-designsystem-helpers-scss.d.ts.map +0 -1
  433. package/helpers/scss/public_api.d.ts +0 -2
  434. package/helpers/scss/public_api.d.ts.map +0 -1
  435. package/helpers/scss/scss-helper.d.ts +0 -7
  436. package/helpers/scss/scss-helper.d.ts.map +0 -1
  437. package/helpers/string-helper.d.ts +0 -2
  438. package/helpers/string-helper.d.ts.map +0 -1
  439. package/helpers/theme-color.type.d.ts +0 -2
  440. package/helpers/theme-color.type.d.ts.map +0 -1
  441. package/helpers/unique-id-generator.helper.d.ts +0 -9
  442. package/helpers/unique-id-generator.helper.d.ts.map +0 -1
  443. package/icon/icon-registry.service.d.ts +0 -21
  444. package/icon/icon-registry.service.d.ts.map +0 -1
  445. package/icon/icon-settings.d.ts +0 -8
  446. package/icon/icon-settings.d.ts.map +0 -1
  447. package/icon/icon.component.d.ts +0 -29
  448. package/icon/icon.component.d.ts.map +0 -1
  449. package/icon/icon.module.d.ts +0 -10
  450. package/icon/icon.module.d.ts.map +0 -1
  451. package/icon/kirby-icon-settings.d.ts +0 -4
  452. package/icon/kirby-icon-settings.d.ts.map +0 -1
  453. package/icon/kirbydesign-designsystem-icon.d.ts.map +0 -1
  454. package/icon/public_api.d.ts +0 -6
  455. package/icon/public_api.d.ts.map +0 -1
  456. package/item/item.component.d.ts +0 -34
  457. package/item/item.component.d.ts.map +0 -1
  458. package/item/item.module.d.ts +0 -12
  459. package/item/item.module.d.ts.map +0 -1
  460. package/item/kirbydesign-designsystem-item.d.ts.map +0 -1
  461. package/item/label/label.component.d.ts +0 -8
  462. package/item/label/label.component.d.ts.map +0 -1
  463. package/item/public_api.d.ts +0 -4
  464. package/item/public_api.d.ts.map +0 -1
  465. package/item-group/item-group.component.d.ts +0 -7
  466. package/item-group/item-group.component.d.ts.map +0 -1
  467. package/item-group/kirbydesign-designsystem-item-group.d.ts.map +0 -1
  468. package/item-group/public_api.d.ts +0 -2
  469. package/item-group/public_api.d.ts.map +0 -1
  470. package/item-sliding/item-sliding.component.d.ts +0 -14
  471. package/item-sliding/item-sliding.component.d.ts.map +0 -1
  472. package/item-sliding/item-sliding.types.d.ts +0 -11
  473. package/item-sliding/item-sliding.types.d.ts.map +0 -1
  474. package/item-sliding/kirbydesign-designsystem-item-sliding.d.ts.map +0 -1
  475. package/item-sliding/public_api.d.ts +0 -3
  476. package/item-sliding/public_api.d.ts.map +0 -1
  477. package/kirby-app/kirby-app.component.d.ts +0 -10
  478. package/kirby-app/kirby-app.component.d.ts.map +0 -1
  479. package/kirby-app/kirby-app.module.d.ts +0 -10
  480. package/kirby-app/kirby-app.module.d.ts.map +0 -1
  481. package/kirby-app/kirbydesign-designsystem-kirby-app.d.ts.map +0 -1
  482. package/kirby-app/public_api.d.ts +0 -3
  483. package/kirby-app/public_api.d.ts.map +0 -1
  484. package/kirbydesign-designsystem.d.ts.map +0 -1
  485. package/lib/components/index.d.ts +0 -3
  486. package/lib/components/index.d.ts.map +0 -1
  487. package/lib/components/segmented-control/segment-item.d.ts +0 -14
  488. package/lib/components/segmented-control/segment-item.d.ts.map +0 -1
  489. package/lib/components/segmented-control/segmented-control.component.d.ts +0 -86
  490. package/lib/components/segmented-control/segmented-control.component.d.ts.map +0 -1
  491. package/lib/directives/index.d.ts +0 -3
  492. package/lib/directives/index.d.ts.map +0 -1
  493. package/lib/directives/key-handler/key-handler.directive.d.ts +0 -10
  494. package/lib/directives/key-handler/key-handler.directive.d.ts.map +0 -1
  495. package/lib/directives/modal-router-link/modal-router-link.directive.d.ts +0 -16
  496. package/lib/directives/modal-router-link/modal-router-link.directive.d.ts.map +0 -1
  497. package/lib/index.d.ts +0 -49
  498. package/lib/index.d.ts.map +0 -1
  499. package/lib/kirby.module.d.ts +0 -57
  500. package/lib/kirby.module.d.ts.map +0 -1
  501. package/list/directives/index.d.ts +0 -4
  502. package/list/directives/index.d.ts.map +0 -1
  503. package/list/directives/infinite-scroll.directive.d.ts +0 -50
  504. package/list/directives/infinite-scroll.directive.d.ts.map +0 -1
  505. package/list/directives/list-item-color.directive.d.ts +0 -13
  506. package/list/directives/list-item-color.directive.d.ts.map +0 -1
  507. package/list/directives/scroll.model.d.ts +0 -6
  508. package/list/directives/scroll.model.d.ts.map +0 -1
  509. package/list/helpers/index.d.ts +0 -2
  510. package/list/helpers/index.d.ts.map +0 -1
  511. package/list/helpers/list-helper.d.ts +0 -22
  512. package/list/helpers/list-helper.d.ts.map +0 -1
  513. package/list/kirbydesign-designsystem-list.d.ts.map +0 -1
  514. package/list/list-experimental/index.d.ts +0 -2
  515. package/list/list-experimental/index.d.ts.map +0 -1
  516. package/list/list-experimental/list-experimental.component.d.ts +0 -9
  517. package/list/list-experimental/list-experimental.component.d.ts.map +0 -1
  518. package/list/list-header/index.d.ts +0 -2
  519. package/list/list-header/index.d.ts.map +0 -1
  520. package/list/list-header/list-header.component.d.ts +0 -7
  521. package/list/list-header/list-header.component.d.ts.map +0 -1
  522. package/list/list-item/index.d.ts +0 -2
  523. package/list/list-item/index.d.ts.map +0 -1
  524. package/list/list-item/list-item.component.d.ts +0 -37
  525. package/list/list-item/list-item.component.d.ts.map +0 -1
  526. package/list/list-section-header/index.d.ts +0 -2
  527. package/list/list-section-header/index.d.ts.map +0 -1
  528. package/list/list-section-header/list-section-header.component.d.ts +0 -7
  529. package/list/list-section-header/list-section-header.component.d.ts.map +0 -1
  530. package/list/list-swipe-action.d.ts +0 -2
  531. package/list/list-swipe-action.d.ts.map +0 -1
  532. package/list/list-swipe-action.type.d.ts +0 -12
  533. package/list/list-swipe-action.type.d.ts.map +0 -1
  534. package/list/list.component.d.ts +0 -108
  535. package/list/list.component.d.ts.map +0 -1
  536. package/list/list.directive.d.ts +0 -18
  537. package/list/list.directive.d.ts.map +0 -1
  538. package/list/list.event.d.ts +0 -8
  539. package/list/list.event.d.ts.map +0 -1
  540. package/list/list.module.d.ts +0 -19
  541. package/list/list.module.d.ts.map +0 -1
  542. package/list/public_api.d.ts +0 -12
  543. package/list/public_api.d.ts.map +0 -1
  544. package/loading-overlay/kirbydesign-designsystem-loading-overlay.d.ts.map +0 -1
  545. package/loading-overlay/loading-overlay.component.d.ts +0 -9
  546. package/loading-overlay/loading-overlay.component.d.ts.map +0 -1
  547. package/loading-overlay/loading-overlay.service.d.ts +0 -15
  548. package/loading-overlay/loading-overlay.service.d.ts.map +0 -1
  549. package/loading-overlay/public_api.d.ts +0 -3
  550. package/loading-overlay/public_api.d.ts.map +0 -1
  551. package/menu/kirbydesign-designsystem-menu.d.ts.map +0 -1
  552. package/menu/menu.component.d.ts +0 -68
  553. package/menu/menu.component.d.ts.map +0 -1
  554. package/menu/public_api.d.ts +0 -2
  555. package/menu/public_api.d.ts.map +0 -1
  556. package/modal/kirbydesign-designsystem-modal.d.ts.map +0 -1
  557. package/modal/modal/action-sheet/action-sheet.component.d.ts +0 -18
  558. package/modal/modal/action-sheet/action-sheet.component.d.ts.map +0 -1
  559. package/modal/modal/action-sheet/config/action-sheet-config.d.ts +0 -8
  560. package/modal/modal/action-sheet/config/action-sheet-config.d.ts.map +0 -1
  561. package/modal/modal/action-sheet/config/action-sheet-item.d.ts +0 -5
  562. package/modal/modal/action-sheet/config/action-sheet-item.d.ts.map +0 -1
  563. package/modal/modal/action-sheet/index.d.ts +0 -4
  564. package/modal/modal/action-sheet/index.d.ts.map +0 -1
  565. package/modal/modal/alert/alert.component.d.ts +0 -29
  566. package/modal/modal/alert/alert.component.d.ts.map +0 -1
  567. package/modal/modal/alert/config/alert-config.d.ts +0 -15
  568. package/modal/modal/alert/config/alert-config.d.ts.map +0 -1
  569. package/modal/modal/alert/index.d.ts +0 -3
  570. package/modal/modal/alert/index.d.ts.map +0 -1
  571. package/modal/modal/footer/modal-footer.component.d.ts +0 -13
  572. package/modal/modal/footer/modal-footer.component.d.ts.map +0 -1
  573. package/modal/modal/index.d.ts +0 -7
  574. package/modal/modal/index.d.ts.map +0 -1
  575. package/modal/modal/modal-component/modal.component.d.ts +0 -53
  576. package/modal/modal/modal-component/modal.component.d.ts.map +0 -1
  577. package/modal/modal/services/action-sheet.helper.d.ts +0 -12
  578. package/modal/modal/services/action-sheet.helper.d.ts.map +0 -1
  579. package/modal/modal/services/alert.helper.d.ts +0 -15
  580. package/modal/modal/services/alert.helper.d.ts.map +0 -1
  581. package/modal/modal/services/can-dismiss-modal-guard.d.ts +0 -3
  582. package/modal/modal/services/can-dismiss-modal-guard.d.ts.map +0 -1
  583. package/modal/modal/services/can-dismiss.helper.d.ts +0 -13
  584. package/modal/modal/services/can-dismiss.helper.d.ts.map +0 -1
  585. package/modal/modal/services/index.d.ts +0 -7
  586. package/modal/modal/services/index.d.ts.map +0 -1
  587. package/modal/modal/services/modal-animation-builder.service.d.ts +0 -28
  588. package/modal/modal/services/modal-animation-builder.service.d.ts.map +0 -1
  589. package/modal/modal/services/modal.controller.d.ts +0 -39
  590. package/modal/modal/services/modal.controller.d.ts.map +0 -1
  591. package/modal/modal/services/modal.helper.d.ts +0 -21
  592. package/modal/modal/services/modal.helper.d.ts.map +0 -1
  593. package/modal/modal-navigation.service.d.ts +0 -39
  594. package/modal/modal-navigation.service.d.ts.map +0 -1
  595. package/modal/modal-wrapper/compact/index.d.ts +0 -2
  596. package/modal/modal-wrapper/compact/index.d.ts.map +0 -1
  597. package/modal/modal-wrapper/compact/modal-compact-wrapper.component.d.ts +0 -36
  598. package/modal/modal-wrapper/compact/modal-compact-wrapper.component.d.ts.map +0 -1
  599. package/modal/modal-wrapper/config/drawer-supplementary-action.d.ts +0 -5
  600. package/modal/modal-wrapper/config/drawer-supplementary-action.d.ts.map +0 -1
  601. package/modal/modal-wrapper/config/index.d.ts +0 -4
  602. package/modal/modal-wrapper/config/index.d.ts.map +0 -1
  603. package/modal/modal-wrapper/config/modal-config.d.ts +0 -42
  604. package/modal/modal-wrapper/config/modal-config.d.ts.map +0 -1
  605. package/modal/modal-wrapper/config/modal-config.helper.d.ts +0 -3
  606. package/modal/modal-wrapper/config/modal-config.helper.d.ts.map +0 -1
  607. package/modal/modal-wrapper/index.d.ts +0 -4
  608. package/modal/modal-wrapper/index.d.ts.map +0 -1
  609. package/modal/modal-wrapper/modal-elements-mover.delegate.d.ts +0 -15
  610. package/modal/modal-wrapper/modal-elements-mover.delegate.d.ts.map +0 -1
  611. package/modal/modal-wrapper/modal-wrapper.component.d.ts +0 -112
  612. package/modal/modal-wrapper/modal-wrapper.component.d.ts.map +0 -1
  613. package/modal/modal.interfaces.d.ts +0 -58
  614. package/modal/modal.interfaces.d.ts.map +0 -1
  615. package/modal/public_api.d.ts +0 -5
  616. package/modal/public_api.d.ts.map +0 -1
  617. package/page/kirbydesign-designsystem-page.d.ts.map +0 -1
  618. package/page/page-footer/page-footer.component.d.ts +0 -15
  619. package/page/page-footer/page-footer.component.d.ts.map +0 -1
  620. package/page/page.component.d.ts +0 -207
  621. package/page/page.component.d.ts.map +0 -1
  622. package/page/page.module.d.ts +0 -14
  623. package/page/page.module.d.ts.map +0 -1
  624. package/page/public_api.d.ts +0 -4
  625. package/page/public_api.d.ts.map +0 -1
  626. package/popover/kirbydesign-designsystem-popover.d.ts.map +0 -1
  627. package/popover/popover.component.d.ts +0 -37
  628. package/popover/popover.component.d.ts.map +0 -1
  629. package/popover/public_api.d.ts +0 -2
  630. package/popover/public_api.d.ts.map +0 -1
  631. package/progress-circle/kirbydesign-designsystem-progress-circle.d.ts.map +0 -1
  632. package/progress-circle/progress-circle-ring.component.d.ts +0 -20
  633. package/progress-circle/progress-circle-ring.component.d.ts.map +0 -1
  634. package/progress-circle/progress-circle.component.d.ts +0 -43
  635. package/progress-circle/progress-circle.component.d.ts.map +0 -1
  636. package/progress-circle/public_api.d.ts +0 -3
  637. package/progress-circle/public_api.d.ts.map +0 -1
  638. package/public-api.d.ts +0 -2
  639. package/public-api.d.ts.map +0 -1
  640. package/radio/kirbydesign-designsystem-radio.d.ts.map +0 -1
  641. package/radio/public_api.d.ts +0 -4
  642. package/radio/public_api.d.ts.map +0 -1
  643. package/radio/radio-group/radio-group.component.d.ts +0 -65
  644. package/radio/radio-group/radio-group.component.d.ts.map +0 -1
  645. package/radio/radio-module.d.ts +0 -11
  646. package/radio/radio-module.d.ts.map +0 -1
  647. package/radio/radio.component.d.ts +0 -26
  648. package/radio/radio.component.d.ts.map +0 -1
  649. package/range/kirbydesign-designsystem-range.d.ts.map +0 -1
  650. package/range/public_api.d.ts +0 -2
  651. package/range/public_api.d.ts.map +0 -1
  652. package/range/range.component.d.ts +0 -42
  653. package/range/range.component.d.ts.map +0 -1
  654. package/reorder-list/kirbydesign-designsystem-reorder-list.d.ts.map +0 -1
  655. package/reorder-list/public_api.d.ts +0 -3
  656. package/reorder-list/public_api.d.ts.map +0 -1
  657. package/reorder-list/reorder-event.d.ts +0 -8
  658. package/reorder-list/reorder-event.d.ts.map +0 -1
  659. package/reorder-list/reorder-list.component.d.ts +0 -24
  660. package/reorder-list/reorder-list.component.d.ts.map +0 -1
  661. package/router-outlet/kirbydesign-designsystem-router-outlet.d.ts.map +0 -1
  662. package/router-outlet/public_api.d.ts +0 -4
  663. package/router-outlet/public_api.d.ts.map +0 -1
  664. package/router-outlet/router-outlet.component.d.ts +0 -8
  665. package/router-outlet/router-outlet.component.d.ts.map +0 -1
  666. package/router-outlet/router-outlet.module.d.ts +0 -10
  667. package/router-outlet/router-outlet.module.d.ts.map +0 -1
  668. package/section-header/kirbydesign-designsystem-section-header.d.ts.map +0 -1
  669. package/section-header/public_api.d.ts +0 -2
  670. package/section-header/public_api.d.ts.map +0 -1
  671. package/section-header/section-header.component.d.ts +0 -6
  672. package/section-header/section-header.component.d.ts.map +0 -1
  673. package/shared/component-configuration.d.ts +0 -6
  674. package/shared/component-configuration.d.ts.map +0 -1
  675. package/shared/component-loader.directive.d.ts +0 -16
  676. package/shared/component-loader.directive.d.ts.map +0 -1
  677. package/shared/controls/label-helpers.d.ts +0 -17
  678. package/shared/controls/label-helpers.d.ts.map +0 -1
  679. package/shared/dynamic-component.d.ts +0 -4
  680. package/shared/dynamic-component.d.ts.map +0 -1
  681. package/shared/fit-heading/fit-heading.directive.d.ts +0 -29
  682. package/shared/fit-heading/fit-heading.directive.d.ts.map +0 -1
  683. package/shared/fit-heading/index.d.ts +0 -2
  684. package/shared/fit-heading/index.d.ts.map +0 -1
  685. package/shared/floating/floating.directive.d.ts +0 -136
  686. package/shared/floating/floating.directive.d.ts.map +0 -1
  687. package/shared/floating/kirbydesign-designsystem-shared-floating.d.ts.map +0 -1
  688. package/shared/floating/public_api.d.ts +0 -2
  689. package/shared/floating/public_api.d.ts.map +0 -1
  690. package/shared/kirbydesign-designsystem-shared.d.ts.map +0 -1
  691. package/shared/portal/kirbydesign-designsystem-shared-portal.d.ts.map +0 -1
  692. package/shared/portal/portal.directive.d.ts +0 -35
  693. package/shared/portal/portal.directive.d.ts.map +0 -1
  694. package/shared/portal/public_api.d.ts +0 -2
  695. package/shared/portal/public_api.d.ts.map +0 -1
  696. package/shared/public_api.d.ts +0 -10
  697. package/shared/public_api.d.ts.map +0 -1
  698. package/shared/resize-observer/resize-observer.factory.d.ts +0 -11
  699. package/shared/resize-observer/resize-observer.factory.d.ts.map +0 -1
  700. package/shared/resize-observer/resize-observer.service.d.ts +0 -16
  701. package/shared/resize-observer/resize-observer.service.d.ts.map +0 -1
  702. package/shared/theme-color/theme-color.directive.d.ts +0 -36
  703. package/shared/theme-color/theme-color.directive.d.ts.map +0 -1
  704. package/shared/translation/translation.interface.d.ts +0 -13
  705. package/shared/translation/translation.interface.d.ts.map +0 -1
  706. package/shared/translation/translation.service.d.ts +0 -13
  707. package/shared/translation/translation.service.d.ts.map +0 -1
  708. package/shared/translation/translations/da.d.ts +0 -3
  709. package/shared/translation/translations/da.d.ts.map +0 -1
  710. package/shared/translation/translations/de.d.ts +0 -3
  711. package/shared/translation/translations/de.d.ts.map +0 -1
  712. package/shared/translation/translations/en.d.ts +0 -3
  713. package/shared/translation/translations/en.d.ts.map +0 -1
  714. package/slide/kirbydesign-designsystem-slide.d.ts.map +0 -1
  715. package/slide/public_api.d.ts +0 -5
  716. package/slide/public_api.d.ts.map +0 -1
  717. package/slide/slide-stretch-height.directive.d.ts +0 -10
  718. package/slide/slide-stretch-height.directive.d.ts.map +0 -1
  719. package/slide/slide.directive.d.ts +0 -6
  720. package/slide/slide.directive.d.ts.map +0 -1
  721. package/slide/slide.module.d.ts +0 -13
  722. package/slide/slide.module.d.ts.map +0 -1
  723. package/slide/slides.component.d.ts +0 -42
  724. package/slide/slides.component.d.ts.map +0 -1
  725. package/slide-button/kirbydesign-designsystem-slide-button.d.ts.map +0 -1
  726. package/slide-button/public_api.d.ts +0 -2
  727. package/slide-button/public_api.d.ts.map +0 -1
  728. package/slide-button/slide-button.component.d.ts +0 -32
  729. package/slide-button/slide-button.component.d.ts.map +0 -1
  730. package/spinner/kirbydesign-designsystem-spinner.d.ts.map +0 -1
  731. package/spinner/public_api.d.ts +0 -3
  732. package/spinner/public_api.d.ts.map +0 -1
  733. package/spinner/spinner.component.d.ts +0 -6
  734. package/spinner/spinner.component.d.ts.map +0 -1
  735. package/spinner/spinner.module.d.ts +0 -9
  736. package/spinner/spinner.module.d.ts.map +0 -1
  737. package/tab-navigation/kirbydesign-designsystem-tab-navigation.d.ts.map +0 -1
  738. package/tab-navigation/public_api.d.ts +0 -4
  739. package/tab-navigation/public_api.d.ts.map +0 -1
  740. package/tab-navigation/tab-navigation/tab-navigation.component.d.ts +0 -36
  741. package/tab-navigation/tab-navigation/tab-navigation.component.d.ts.map +0 -1
  742. package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts +0 -14
  743. package/tab-navigation/tab-navigation-item/tab-navigation-item.component.d.ts.map +0 -1
  744. package/tab-navigation/tab-navigation.module.d.ts +0 -10
  745. package/tab-navigation/tab-navigation.module.d.ts.map +0 -1
  746. package/tabs/kirbydesign-designsystem-tabs.d.ts.map +0 -1
  747. package/tabs/public_api.d.ts +0 -6
  748. package/tabs/public_api.d.ts.map +0 -1
  749. package/tabs/tab-button/tab-button.component.d.ts +0 -12
  750. package/tabs/tab-button/tab-button.component.d.ts.map +0 -1
  751. package/tabs/tab-button/tab-button.events.d.ts +0 -2
  752. package/tabs/tab-button/tab-button.events.d.ts.map +0 -1
  753. package/tabs/tabs.component.d.ts +0 -15
  754. package/tabs/tabs.component.d.ts.map +0 -1
  755. package/tabs/tabs.module.d.ts +0 -12
  756. package/tabs/tabs.module.d.ts.map +0 -1
  757. package/tabs/tabs.service.d.ts +0 -12
  758. package/tabs/tabs.service.d.ts.map +0 -1
  759. package/testing/element-css-custom-matchers.d.ts +0 -4
  760. package/testing/element-css-custom-matchers.d.ts.map +0 -1
  761. package/testing/kirbydesign-designsystem-testing.d.ts.map +0 -1
  762. package/testing/public_api.d.ts +0 -3
  763. package/testing/public_api.d.ts.map +0 -1
  764. package/testing/test-helper.d.ts +0 -55
  765. package/testing/test-helper.d.ts.map +0 -1
  766. package/testing-base/kirbydesign-designsystem-testing-base.d.ts.map +0 -1
  767. package/testing-base/lib/components/index.d.ts +0 -64
  768. package/testing-base/lib/components/index.d.ts.map +0 -1
  769. package/testing-base/lib/components/mock.accordion-item.component.d.ts +0 -10
  770. package/testing-base/lib/components/mock.accordion-item.component.d.ts.map +0 -1
  771. package/testing-base/lib/components/mock.action-group.component.d.ts +0 -9
  772. package/testing-base/lib/components/mock.action-group.component.d.ts.map +0 -1
  773. package/testing-base/lib/components/mock.action-sheet.component.d.ts +0 -16
  774. package/testing-base/lib/components/mock.action-sheet.component.d.ts.map +0 -1
  775. package/testing-base/lib/components/mock.alert.component.d.ts +0 -15
  776. package/testing-base/lib/components/mock.alert.component.d.ts.map +0 -1
  777. package/testing-base/lib/components/mock.avatar.component.d.ts +0 -16
  778. package/testing-base/lib/components/mock.avatar.component.d.ts.map +0 -1
  779. package/testing-base/lib/components/mock.badge.component.d.ts +0 -8
  780. package/testing-base/lib/components/mock.badge.component.d.ts.map +0 -1
  781. package/testing-base/lib/components/mock.base-chart.component.d.ts +0 -16
  782. package/testing-base/lib/components/mock.base-chart.component.d.ts.map +0 -1
  783. package/testing-base/lib/components/mock.button.component.d.ts +0 -15
  784. package/testing-base/lib/components/mock.button.component.d.ts.map +0 -1
  785. package/testing-base/lib/components/mock.calendar.component.d.ts +0 -33
  786. package/testing-base/lib/components/mock.calendar.component.d.ts.map +0 -1
  787. package/testing-base/lib/components/mock.card-footer.component.d.ts +0 -7
  788. package/testing-base/lib/components/mock.card-footer.component.d.ts.map +0 -1
  789. package/testing-base/lib/components/mock.card-header.component.d.ts +0 -12
  790. package/testing-base/lib/components/mock.card-header.component.d.ts.map +0 -1
  791. package/testing-base/lib/components/mock.card.component.d.ts +0 -14
  792. package/testing-base/lib/components/mock.card.component.d.ts.map +0 -1
  793. package/testing-base/lib/components/mock.chart.component.d.ts +0 -9
  794. package/testing-base/lib/components/mock.chart.component.d.ts.map +0 -1
  795. package/testing-base/lib/components/mock.checkbox.component.d.ts +0 -14
  796. package/testing-base/lib/components/mock.checkbox.component.d.ts.map +0 -1
  797. package/testing-base/lib/components/mock.divider.component.d.ts +0 -7
  798. package/testing-base/lib/components/mock.divider.component.d.ts.map +0 -1
  799. package/testing-base/lib/components/mock.dropdown.component.d.ts +0 -22
  800. package/testing-base/lib/components/mock.dropdown.component.d.ts.map +0 -1
  801. package/testing-base/lib/components/mock.empty-state.component.d.ts +0 -9
  802. package/testing-base/lib/components/mock.empty-state.component.d.ts.map +0 -1
  803. package/testing-base/lib/components/mock.fab-sheet.component.d.ts +0 -8
  804. package/testing-base/lib/components/mock.fab-sheet.component.d.ts.map +0 -1
  805. package/testing-base/lib/components/mock.flag.component.d.ts +0 -8
  806. package/testing-base/lib/components/mock.flag.component.d.ts.map +0 -1
  807. package/testing-base/lib/components/mock.form-field-message.component.d.ts +0 -8
  808. package/testing-base/lib/components/mock.form-field-message.component.d.ts.map +0 -1
  809. package/testing-base/lib/components/mock.form-field.component.d.ts +0 -9
  810. package/testing-base/lib/components/mock.form-field.component.d.ts.map +0 -1
  811. package/testing-base/lib/components/mock.header.component.d.ts +0 -22
  812. package/testing-base/lib/components/mock.header.component.d.ts.map +0 -1
  813. package/testing-base/lib/components/mock.icon.component.d.ts +0 -9
  814. package/testing-base/lib/components/mock.icon.component.d.ts.map +0 -1
  815. package/testing-base/lib/components/mock.input-counter.component.d.ts +0 -8
  816. package/testing-base/lib/components/mock.input-counter.component.d.ts.map +0 -1
  817. package/testing-base/lib/components/mock.input.component.d.ts +0 -16
  818. package/testing-base/lib/components/mock.input.component.d.ts.map +0 -1
  819. package/testing-base/lib/components/mock.item-group.component.d.ts +0 -6
  820. package/testing-base/lib/components/mock.item-group.component.d.ts.map +0 -1
  821. package/testing-base/lib/components/mock.item-sliding.component.d.ts +0 -9
  822. package/testing-base/lib/components/mock.item-sliding.component.d.ts.map +0 -1
  823. package/testing-base/lib/components/mock.item.component.d.ts +0 -13
  824. package/testing-base/lib/components/mock.item.component.d.ts.map +0 -1
  825. package/testing-base/lib/components/mock.kirby-app.component.d.ts +0 -6
  826. package/testing-base/lib/components/mock.kirby-app.component.d.ts.map +0 -1
  827. package/testing-base/lib/components/mock.label.component.d.ts +0 -7
  828. package/testing-base/lib/components/mock.label.component.d.ts.map +0 -1
  829. package/testing-base/lib/components/mock.list-experimental.component.d.ts +0 -6
  830. package/testing-base/lib/components/mock.list-experimental.component.d.ts.map +0 -1
  831. package/testing-base/lib/components/mock.list-header.component.d.ts +0 -6
  832. package/testing-base/lib/components/mock.list-header.component.d.ts.map +0 -1
  833. package/testing-base/lib/components/mock.list-item.component.d.ts +0 -17
  834. package/testing-base/lib/components/mock.list-item.component.d.ts.map +0 -1
  835. package/testing-base/lib/components/mock.list-section-header.component.d.ts +0 -7
  836. package/testing-base/lib/components/mock.list-section-header.component.d.ts.map +0 -1
  837. package/testing-base/lib/components/mock.list.component.d.ts +0 -24
  838. package/testing-base/lib/components/mock.list.component.d.ts.map +0 -1
  839. package/testing-base/lib/components/mock.loading-overlay.component.d.ts +0 -9
  840. package/testing-base/lib/components/mock.loading-overlay.component.d.ts.map +0 -1
  841. package/testing-base/lib/components/mock.menu.component.d.ts +0 -21
  842. package/testing-base/lib/components/mock.menu.component.d.ts.map +0 -1
  843. package/testing-base/lib/components/mock.modal-compact-wrapper.component.d.ts +0 -8
  844. package/testing-base/lib/components/mock.modal-compact-wrapper.component.d.ts.map +0 -1
  845. package/testing-base/lib/components/mock.modal-footer.component.d.ts +0 -8
  846. package/testing-base/lib/components/mock.modal-footer.component.d.ts.map +0 -1
  847. package/testing-base/lib/components/mock.modal-wrapper.component.d.ts +0 -10
  848. package/testing-base/lib/components/mock.modal-wrapper.component.d.ts.map +0 -1
  849. package/testing-base/lib/components/mock.page-footer.component.d.ts +0 -7
  850. package/testing-base/lib/components/mock.page-footer.component.d.ts.map +0 -1
  851. package/testing-base/lib/components/mock.page.component.d.ts +0 -70
  852. package/testing-base/lib/components/mock.page.component.d.ts.map +0 -1
  853. package/testing-base/lib/components/mock.popover.component.d.ts +0 -11
  854. package/testing-base/lib/components/mock.popover.component.d.ts.map +0 -1
  855. package/testing-base/lib/components/mock.progress-circle-ring.component.d.ts +0 -11
  856. package/testing-base/lib/components/mock.progress-circle-ring.component.d.ts.map +0 -1
  857. package/testing-base/lib/components/mock.progress-circle.component.d.ts +0 -9
  858. package/testing-base/lib/components/mock.progress-circle.component.d.ts.map +0 -1
  859. package/testing-base/lib/components/mock.radio-group.component.d.ts +0 -15
  860. package/testing-base/lib/components/mock.radio-group.component.d.ts.map +0 -1
  861. package/testing-base/lib/components/mock.radio.component.d.ts +0 -10
  862. package/testing-base/lib/components/mock.radio.component.d.ts.map +0 -1
  863. package/testing-base/lib/components/mock.range.component.d.ts +0 -22
  864. package/testing-base/lib/components/mock.range.component.d.ts.map +0 -1
  865. package/testing-base/lib/components/mock.reorder-list.component.d.ts +0 -13
  866. package/testing-base/lib/components/mock.reorder-list.component.d.ts.map +0 -1
  867. package/testing-base/lib/components/mock.router-outlet.component.d.ts +0 -7
  868. package/testing-base/lib/components/mock.router-outlet.component.d.ts.map +0 -1
  869. package/testing-base/lib/components/mock.section-header.component.d.ts +0 -6
  870. package/testing-base/lib/components/mock.section-header.component.d.ts.map +0 -1
  871. package/testing-base/lib/components/mock.segmented-control.component.d.ts +0 -16
  872. package/testing-base/lib/components/mock.segmented-control.component.d.ts.map +0 -1
  873. package/testing-base/lib/components/mock.slide-button.component.d.ts +0 -11
  874. package/testing-base/lib/components/mock.slide-button.component.d.ts.map +0 -1
  875. package/testing-base/lib/components/mock.slides.component.d.ts +0 -11
  876. package/testing-base/lib/components/mock.slides.component.d.ts.map +0 -1
  877. package/testing-base/lib/components/mock.spinner.component.d.ts +0 -6
  878. package/testing-base/lib/components/mock.spinner.component.d.ts.map +0 -1
  879. package/testing-base/lib/components/mock.stock-chart.component.d.ts +0 -9
  880. package/testing-base/lib/components/mock.stock-chart.component.d.ts.map +0 -1
  881. package/testing-base/lib/components/mock.tab-button.component.d.ts +0 -9
  882. package/testing-base/lib/components/mock.tab-button.component.d.ts.map +0 -1
  883. package/testing-base/lib/components/mock.tab-navigation-item.component.d.ts +0 -7
  884. package/testing-base/lib/components/mock.tab-navigation-item.component.d.ts.map +0 -1
  885. package/testing-base/lib/components/mock.tab-navigation.component.d.ts +0 -8
  886. package/testing-base/lib/components/mock.tab-navigation.component.d.ts.map +0 -1
  887. package/testing-base/lib/components/mock.tabs.component.d.ts +0 -6
  888. package/testing-base/lib/components/mock.tabs.component.d.ts.map +0 -1
  889. package/testing-base/lib/components/mock.textarea.component.d.ts +0 -12
  890. package/testing-base/lib/components/mock.textarea.component.d.ts.map +0 -1
  891. package/testing-base/lib/components/mock.toggle-button.component.d.ts +0 -9
  892. package/testing-base/lib/components/mock.toggle-button.component.d.ts.map +0 -1
  893. package/testing-base/lib/components/mock.toggle.component.d.ts +0 -10
  894. package/testing-base/lib/components/mock.toggle.component.d.ts.map +0 -1
  895. package/testing-base/lib/directives/index.d.ts +0 -17
  896. package/testing-base/lib/directives/index.d.ts.map +0 -1
  897. package/testing-base/lib/directives/mock.accordion.directive.d.ts +0 -6
  898. package/testing-base/lib/directives/mock.accordion.directive.d.ts.map +0 -1
  899. package/testing-base/lib/directives/mock.affix.directive.d.ts +0 -7
  900. package/testing-base/lib/directives/mock.affix.directive.d.ts.map +0 -1
  901. package/testing-base/lib/directives/mock.card-as-button.directive.d.ts +0 -6
  902. package/testing-base/lib/directives/mock.card-as-button.directive.d.ts.map +0 -1
  903. package/testing-base/lib/directives/mock.component-loader.directive.d.ts +0 -9
  904. package/testing-base/lib/directives/mock.component-loader.directive.d.ts.map +0 -1
  905. package/testing-base/lib/directives/mock.date-input.directive.d.ts +0 -6
  906. package/testing-base/lib/directives/mock.date-input.directive.d.ts.map +0 -1
  907. package/testing-base/lib/directives/mock.decimal-mask.directive.d.ts +0 -13
  908. package/testing-base/lib/directives/mock.decimal-mask.directive.d.ts.map +0 -1
  909. package/testing-base/lib/directives/mock.fit-heading.directive.d.ts +0 -8
  910. package/testing-base/lib/directives/mock.fit-heading.directive.d.ts.map +0 -1
  911. package/testing-base/lib/directives/mock.floating.directive.d.ts +0 -27
  912. package/testing-base/lib/directives/mock.floating.directive.d.ts.map +0 -1
  913. package/testing-base/lib/directives/mock.infinite-scroll.directive.d.ts +0 -9
  914. package/testing-base/lib/directives/mock.infinite-scroll.directive.d.ts.map +0 -1
  915. package/testing-base/lib/directives/mock.key-handler.directive.d.ts +0 -6
  916. package/testing-base/lib/directives/mock.key-handler.directive.d.ts.map +0 -1
  917. package/testing-base/lib/directives/mock.list-item-color.directive.d.ts +0 -9
  918. package/testing-base/lib/directives/mock.list-item-color.directive.d.ts.map +0 -1
  919. package/testing-base/lib/directives/mock.list.directive.d.ts +0 -18
  920. package/testing-base/lib/directives/mock.list.directive.d.ts.map +0 -1
  921. package/testing-base/lib/directives/mock.modal-router-link.directive.d.ts +0 -9
  922. package/testing-base/lib/directives/mock.modal-router-link.directive.d.ts.map +0 -1
  923. package/testing-base/lib/directives/mock.portal.directive.d.ts +0 -7
  924. package/testing-base/lib/directives/mock.portal.directive.d.ts.map +0 -1
  925. package/testing-base/lib/directives/mock.slide.directive.d.ts +0 -6
  926. package/testing-base/lib/directives/mock.slide.directive.d.ts.map +0 -1
  927. package/testing-base/lib/directives/mock.theme-color.directive.d.ts +0 -8
  928. package/testing-base/lib/directives/mock.theme-color.directive.d.ts.map +0 -1
  929. package/testing-base/lib/index.d.ts +0 -4
  930. package/testing-base/lib/index.d.ts.map +0 -1
  931. package/testing-base/lib/kirby-testing-base.module.d.ts +0 -86
  932. package/testing-base/lib/kirby-testing-base.module.d.ts.map +0 -1
  933. package/testing-base/lib/mock-components.d.ts +0 -3
  934. package/testing-base/lib/mock-components.d.ts.map +0 -1
  935. package/testing-base/lib/mock-directives.d.ts +0 -3
  936. package/testing-base/lib/mock-directives.d.ts.map +0 -1
  937. package/testing-base/public_api.d.ts +0 -2
  938. package/testing-base/public_api.d.ts.map +0 -1
  939. package/testing-jasmine/kirbydesign-designsystem-testing-jasmine.d.ts.map +0 -1
  940. package/testing-jasmine/lib/kirby-testing.module.d.ts +0 -8
  941. package/testing-jasmine/lib/kirby-testing.module.d.ts.map +0 -1
  942. package/testing-jasmine/lib/mock-providers.d.ts +0 -33
  943. package/testing-jasmine/lib/mock-providers.d.ts.map +0 -1
  944. package/testing-jasmine/public_api.d.ts +0 -2
  945. package/testing-jasmine/public_api.d.ts.map +0 -1
  946. package/testing-jest/kirbydesign-designsystem-testing-jest.d.ts.map +0 -1
  947. package/testing-jest/lib/kirby-testing.module.d.ts +0 -8
  948. package/testing-jest/lib/kirby-testing.module.d.ts.map +0 -1
  949. package/testing-jest/lib/mock-providers.d.ts +0 -68
  950. package/testing-jest/lib/mock-providers.d.ts.map +0 -1
  951. package/testing-jest/public_api.d.ts +0 -2
  952. package/testing-jest/public_api.d.ts.map +0 -1
  953. package/toast/config/toast-config.d.ts +0 -8
  954. package/toast/config/toast-config.d.ts.map +0 -1
  955. package/toast/kirbydesign-designsystem-toast.d.ts.map +0 -1
  956. package/toast/public_api.d.ts +0 -4
  957. package/toast/public_api.d.ts.map +0 -1
  958. package/toast/services/indexs.d.ts +0 -3
  959. package/toast/services/indexs.d.ts.map +0 -1
  960. package/toast/services/toast.controller.d.ts +0 -11
  961. package/toast/services/toast.controller.d.ts.map +0 -1
  962. package/toast/services/toast.helper.d.ts +0 -15
  963. package/toast/services/toast.helper.d.ts.map +0 -1
  964. package/toggle/kirbydesign-designsystem-toggle.d.ts.map +0 -1
  965. package/toggle/public_api.d.ts +0 -2
  966. package/toggle/public_api.d.ts.map +0 -1
  967. package/toggle/toggle.component.d.ts +0 -61
  968. package/toggle/toggle.component.d.ts.map +0 -1
  969. package/toggle-button/kirbydesign-designsystem-toggle-button.d.ts.map +0 -1
  970. package/toggle-button/public_api.d.ts +0 -3
  971. package/toggle-button/public_api.d.ts.map +0 -1
  972. package/toggle-button/toggle-button.component.d.ts +0 -48
  973. package/toggle-button/toggle-button.component.d.ts.map +0 -1
  974. package/toggle-button/toggle-button.module.d.ts +0 -9
  975. package/toggle-button/toggle-button.module.d.ts.map +0 -1
  976. package/types/event-listener-dispose-fn.d.ts +0 -2
  977. package/types/event-listener-dispose-fn.d.ts.map +0 -1
  978. package/types/form-field-control.d.ts +0 -6
  979. package/types/form-field-control.d.ts.map +0 -1
  980. package/types/kirbydesign-designsystem-types.d.ts.map +0 -1
  981. package/types/public_api.d.ts +0 -5
  982. package/types/public_api.d.ts.map +0 -1
  983. package/types/unobserve-fn.d.ts +0 -2
  984. package/types/unobserve-fn.d.ts.map +0 -1
  985. package/types/window-ref.d.ts +0 -7
  986. package/types/window-ref.d.ts.map +0 -1
@@ -1,153 +1,396 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, ViewChild, Input, HostBinding, Component, NgModule } from '@angular/core';
3
3
  import { ResizeObserverFactory } from '@kirbydesign/designsystem/shared';
4
- import { ColorHelper, DesignTokenHelper, deepCopy, mergeDeepAll, chartConfigHasType } from '@kirbydesign/designsystem/helpers';
5
- import { toDate } from 'date-fns';
4
+ import { mergeDeepAll, ColorHelper, DesignTokenHelper, deepCopy, chartConfigHasType } from '@kirbydesign/designsystem/helpers';
6
5
  import { CategoryScale, LinearScale, TimeScale, BarElement, LineElement, PointElement, BarController, LineController, Filler, Tooltip, Chart, Legend } from 'chart.js';
7
6
  import 'chartjs-adapter-date-fns';
8
7
  import annotationPlugin from 'chartjs-plugin-annotation';
9
8
  import ChartDataLabels from 'chartjs-plugin-datalabels';
10
9
  import { valueOrDefault } from 'chart.js/helpers';
10
+ import { toDate } from 'date-fns';
11
11
 
12
12
  function isNumberArray(value) {
13
13
  return Array.isArray(value) && value.every((item) => typeof item === 'number');
14
14
  }
15
15
 
16
+ class AnnotationsDelegate {
17
+ constructor(chartConfigService) {
18
+ this.chartConfigService = chartConfigService;
19
+ }
20
+ applyDefaultsToAnnotations(annotations) {
21
+ return annotations.map((annotation) => {
22
+ const annotationTypeDefaults = this.chartConfigService.getAnnotationDefaults(annotation.type);
23
+ return mergeDeepAll(annotationTypeDefaults, annotation);
24
+ });
25
+ }
26
+ createAnnotationPluginOptionsObject(annotations) {
27
+ const annotationsWithDefaults = this.applyDefaultsToAnnotations(annotations);
28
+ return {
29
+ plugins: {
30
+ annotation: {
31
+ annotations: annotationsWithDefaults,
32
+ },
33
+ },
34
+ };
35
+ }
36
+ getExistingChartAnnotations(chart) {
37
+ const annotations = chart.options.plugins?.annotation?.annotations;
38
+ /* In browser chart.js might return annotations as a Proxy object; force it to be an array.
39
+ Each annotationOption in the resulting array will also be a Proxy object.
40
+ But internally chart.js will just work with them as normal values */
41
+ if (annotations !== undefined) {
42
+ return Object.keys(annotations).map((key) => annotations[key]);
43
+ }
44
+ else {
45
+ return [];
46
+ }
47
+ }
48
+ }
49
+
16
50
  const { getThemeColorHexString: getThemeColorHexString$5 } = ColorHelper;
17
- /* The chart.js annotation does not allow for changing the
18
- defaults it comes with. In order to have sensible defaults
19
- this object is used instead and manually merged with the
20
- rest of the annotations object */
21
- const borderColor = getThemeColorHexString$5('semi-dark');
22
- const borderDash = [6, 3];
23
- const borderWidth = 1;
24
- const CHART_ANNOTATIONS_CONFIG = {
25
- line: {
26
- borderDash,
27
- borderWidth,
28
- borderColor,
51
+ const hoverBackgroundColor = getThemeColorHexString$5('primary');
52
+ const backgroundColor = getThemeColorHexString$5('secondary');
53
+ function scriptedBackgroundColor(context) {
54
+ const dataset = context.dataset;
55
+ const highlightedElements = dataset?.kirbyOptions?.highlightedElements;
56
+ if (highlightedElements && highlightedElements.includes(context.dataIndex)) {
57
+ return hoverBackgroundColor;
58
+ }
59
+ else {
60
+ return backgroundColor;
61
+ }
62
+ }
63
+ // Only adds a hovercolor if an onClick handler is provided
64
+ function scriptedHoverBackgroundColor(context) {
65
+ if (context.chart.options.onClick) {
66
+ return hoverBackgroundColor;
67
+ }
68
+ }
69
+ const CHART_GLOBAL_DEFAULTS = {
70
+ maintainAspectRatio: false,
71
+ color: getThemeColorHexString$5('black'),
72
+ resizeDelay: 10,
73
+ elements: {
74
+ bar: {
75
+ backgroundColor: scriptedBackgroundColor,
76
+ hoverBackgroundColor: scriptedHoverBackgroundColor,
77
+ },
78
+ line: {
79
+ borderColor: scriptedBackgroundColor,
80
+ borderWidth: 2,
81
+ tension: 0.3,
82
+ },
29
83
  },
30
- ellipse: {
31
- borderDash,
32
- borderWidth,
33
- borderColor,
34
- backgroundColor: 'transparent',
84
+ scales: {
85
+ linear: {
86
+ display: false,
87
+ ticks: {
88
+ display: false,
89
+ },
90
+ },
91
+ category: {
92
+ display: true,
93
+ grid: {
94
+ display: false,
95
+ },
96
+ },
35
97
  },
36
- box: {
37
- borderDash,
38
- borderWidth,
39
- borderColor,
40
- backgroundColor: 'transparent',
98
+ font: {
99
+ family: 'Roboto',
41
100
  },
42
- point: {
43
- backgroundColor: 'initial',
101
+ plugins: {
102
+ legend: {
103
+ display: false,
104
+ },
105
+ datalabels: {
106
+ display: false,
107
+ },
108
+ tooltip: {
109
+ enabled: false,
110
+ },
44
111
  },
45
112
  };
46
113
 
47
- /* Allows for adding functionality to interactions chart.js while
48
- preserving the interaction functionality the consumer of the component has
49
- passed by being provided as a callback. */
50
- const CHART_INTERACTION_FUNCTIONS_EXTENSIONS = {
51
- onHover: (_event, activeElements, _chart, callback) => {
52
- if (_chart.options.onClick) {
53
- _chart.canvas.style.cursor = activeElements[0] ? 'pointer' : 'default';
54
- }
55
- if (callback)
56
- callback(_event, activeElements, _chart);
114
+ /*
115
+ The marker plugin is heavily inspired by https://chartjs-plugin-crosshair.netlify.app
116
+ The project appears stale and only the vertical line feature is needed
117
+ part of the plugin that was actually needed is implemented here.
118
+ */
119
+ const defaultOptions = {
120
+ line: {
121
+ color: 'black',
122
+ width: 1,
123
+ dashPattern: [],
124
+ },
125
+ snap: {
126
+ enabled: false,
57
127
  },
58
128
  };
59
-
60
- const { fontSize: fontSize$2 } = DesignTokenHelper;
61
- const { getThemeColorHexString: getThemeColorHexString$4, getThemeColorRgbString: getThemeColorRgbString$1 } = ColorHelper;
62
- /**
63
- * A filter to read a chartpoint from a Chart.js point context (used for chartdata points). Context is provided by Chart.js.
64
- */
65
- const getChartPointFromContext = (context) => {
66
- return context.dataset.data[context.dataIndex];
129
+ const hasMarkerConfiguration = (chart) => {
130
+ /*
131
+ Hacky solution. Should be fixed in this issue: https://github.com/kirbydesign/designsystem/issues/1967
132
+ */
133
+ return chart.data.datasets.some((dataset) => !!dataset?.kirbyOptions?.isStockChart);
67
134
  };
68
- const CHART_TYPES_CONFIG = {
69
- bar: {
70
- type: 'bar',
71
- options: {
72
- datasets: {
73
- bar: {
74
- barPercentage: 0.6,
75
- },
76
- line: {
77
- spanGaps: true,
78
- },
79
- },
80
- indexAxis: 'y',
81
- scales: {
82
- y: {
83
- grid: {
84
- drawBorder: false,
85
- },
86
- ticks: {
87
- font: {
88
- size: parseInt(fontSize$2('s')),
89
- },
90
- },
91
- },
92
- },
93
- elements: {
94
- point: {
95
- radius: 0,
96
- },
97
- line: {
98
- borderColor: getThemeColorHexString$4('medium'),
99
- },
100
- },
101
- },
135
+ var MarkerPlugin = {
136
+ id: 'marker',
137
+ afterInit: function (chart) {
138
+ if (!hasMarkerConfiguration(chart)) {
139
+ return;
140
+ }
141
+ const xScaleType = chart.config.options.scales.x.type;
142
+ if (xScaleType !== 'linear' &&
143
+ xScaleType !== 'time' &&
144
+ xScaleType !== 'category' &&
145
+ xScaleType !== 'logarithmic') {
146
+ return;
147
+ }
148
+ if (chart.options.plugins.marker === undefined) {
149
+ chart.options.plugins.marker = defaultOptions;
150
+ }
151
+ chart.marker = {
152
+ enabled: false,
153
+ suppressUpdate: false,
154
+ x: null,
155
+ originalData: [],
156
+ originalXRange: {},
157
+ dragStarted: false,
158
+ dragStartX: null,
159
+ dragEndX: null,
160
+ suppressTooltips: false,
161
+ ignoreNextEvents: 0,
162
+ };
102
163
  },
103
- column: {
104
- type: 'bar',
105
- options: {
106
- datasets: {
107
- bar: {
108
- barPercentage: 0.6,
109
- },
110
- line: {
111
- spanGaps: true,
112
- },
113
- },
114
- indexAxis: 'x',
115
- scales: {
116
- x: {
117
- grid: {
118
- drawBorder: false,
119
- },
120
- ticks: {
121
- font: {
122
- size: parseInt(fontSize$2('xs')),
123
- },
124
- },
125
- },
126
- },
127
- elements: {
128
- line: {
129
- tension: 0.2,
130
- borderColor: getThemeColorHexString$4('medium'),
131
- },
132
- point: {
133
- radius: 0,
134
- },
135
- },
136
- },
164
+ getOption: function (chart, category, name) {
165
+ return valueOrDefault(chart.options.plugins.marker[category]
166
+ ? chart.options.plugins.marker[category][name]
167
+ : undefined, defaultOptions[category][name]);
137
168
  },
138
- line: {
139
- type: 'line',
140
- options: {
141
- backgroundColor: getThemeColorRgbString$1('semi-light', 0.5),
142
- scales: {
143
- x: {
144
- grid: {
145
- borderColor: getThemeColorHexString$4('medium'),
146
- borderWidth: 1,
147
- },
148
- ticks: {
169
+ getXScale: function (chart) {
170
+ return chart.data.datasets.length ? chart.scales[chart.getDatasetMeta(0).xAxisID] : null;
171
+ },
172
+ getYScale: function (chart) {
173
+ return chart.scales[chart.getDatasetMeta(0).yAxisID];
174
+ },
175
+ afterEvent: function (chart, event) {
176
+ if (!hasMarkerConfiguration(chart)) {
177
+ return;
178
+ }
179
+ if (chart.config.options.scales.x.length == 0) {
180
+ return;
181
+ }
182
+ const e = event.event;
183
+ const xScaleType = chart.config.options.scales.x.type;
184
+ if (xScaleType !== 'linear' &&
185
+ xScaleType !== 'time' &&
186
+ xScaleType !== 'category' &&
187
+ xScaleType !== 'logarithmic') {
188
+ return;
189
+ }
190
+ const xScale = this.getXScale(chart);
191
+ if (!xScale) {
192
+ return;
193
+ }
194
+ if (chart.marker.ignoreNextEvents > 0) {
195
+ chart.marker.ignoreNextEvents -= 1;
196
+ return;
197
+ }
198
+ chart.marker.enabled =
199
+ e.type !== 'mouseout' &&
200
+ e.x > xScale.getPixelForValue(xScale.min) &&
201
+ e.x < xScale.getPixelForValue(xScale.max);
202
+ if (!chart.marker.enabled && !chart.marker.suppressUpdate) {
203
+ if (e.x > xScale.getPixelForValue(xScale.max)) {
204
+ // suppress future updates to prevent endless redrawing of chart
205
+ chart.marker.suppressUpdate = true;
206
+ chart.update('none');
207
+ }
208
+ chart.marker.dragStarted = false; // cancel zoom in progress
209
+ return false;
210
+ }
211
+ chart.marker.suppressUpdate = false;
212
+ chart.marker.x = e.x;
213
+ chart.draw();
214
+ },
215
+ doDraw: function (chart) {
216
+ if (!hasMarkerConfiguration(chart)) {
217
+ return;
218
+ }
219
+ if (!chart.marker.enabled) {
220
+ return;
221
+ }
222
+ this.drawTraceLine(chart);
223
+ this.interpolateValues(chart);
224
+ this.drawTracePoints(chart);
225
+ return true;
226
+ },
227
+ beforeDraw: function (chart) {
228
+ return this.doDraw(chart);
229
+ },
230
+ // Logic moved to beforeDraw in order
231
+ // for the vertical line to be drawn
232
+ // under tooltip and datalabels.
233
+ // afterDraw: function(chart) {
234
+ // return this.doDraw(chart);
235
+ // },
236
+ drawTraceLine: function (chart) {
237
+ if (!hasMarkerConfiguration(chart)) {
238
+ return;
239
+ }
240
+ const yScale = this.getYScale(chart);
241
+ const lineWidth = this.getOption(chart, 'line', 'width');
242
+ const color = this.getOption(chart, 'line', 'color');
243
+ const dashPattern = this.getOption(chart, 'line', 'dashPattern');
244
+ const snapEnabled = this.getOption(chart, 'snap', 'enabled');
245
+ let lineX = chart.marker.x;
246
+ if (snapEnabled && chart._active.length) {
247
+ lineX = chart._active[0].element.x;
248
+ }
249
+ chart.ctx.beginPath();
250
+ chart.ctx.setLineDash(dashPattern);
251
+ chart.ctx.moveTo(lineX, yScale.getPixelForValue(yScale.max));
252
+ chart.ctx.lineWidth = lineWidth;
253
+ chart.ctx.strokeStyle = color;
254
+ chart.ctx.lineTo(lineX, yScale.getPixelForValue(yScale.min));
255
+ chart.ctx.stroke();
256
+ chart.ctx.setLineDash([]);
257
+ },
258
+ drawTracePoints: function (chart) {
259
+ if (!hasMarkerConfiguration(chart)) {
260
+ return;
261
+ }
262
+ for (let chartIndex = 0; chartIndex < chart.data.datasets.length; chartIndex++) {
263
+ const dataset = chart.data.datasets[chartIndex];
264
+ const meta = chart.getDatasetMeta(chartIndex);
265
+ const yScale = chart.scales[meta.yAxisID];
266
+ if (meta.hidden || !dataset.interpolate) {
267
+ continue;
268
+ }
269
+ chart.ctx.beginPath();
270
+ chart.ctx.arc(chart.marker.x, yScale.getPixelForValue(dataset.interpolatedValue), 3, 0, 2 * Math.PI, false);
271
+ chart.ctx.fillStyle = 'white';
272
+ chart.ctx.lineWidth = 2;
273
+ chart.ctx.strokeStyle = dataset.borderColor;
274
+ chart.ctx.fill();
275
+ chart.ctx.stroke();
276
+ }
277
+ },
278
+ interpolateValues: function (chart) {
279
+ for (let chartIndex = 0; chartIndex < chart.data.datasets.length; chartIndex++) {
280
+ const dataset = chart.data.datasets[chartIndex];
281
+ const meta = chart.getDatasetMeta(chartIndex);
282
+ const xScale = chart.scales[meta.xAxisID];
283
+ const xValue = xScale.getValueForPixel(chart.marker.x);
284
+ if (meta.hidden || !dataset.interpolate) {
285
+ continue;
286
+ }
287
+ const data = dataset.data;
288
+ const index = data.findIndex(function (o) {
289
+ return o.x >= xValue;
290
+ });
291
+ const prev = data[index - 1];
292
+ const next = data[index];
293
+ if (chart.data.datasets[chartIndex].steppedLine && prev) {
294
+ dataset.interpolatedValue = prev.y;
295
+ }
296
+ else if (prev && next) {
297
+ const slope = (next.y - prev.y) / (next.x - prev.x);
298
+ dataset.interpolatedValue = prev.y + (xValue - prev.x) * slope;
299
+ }
300
+ else {
301
+ dataset.interpolatedValue = NaN;
302
+ }
303
+ }
304
+ },
305
+ };
306
+
307
+ const CHART_SCALES = [CategoryScale, LinearScale, TimeScale];
308
+ const CHART_ELEMENTS = [BarElement, LineElement, PointElement];
309
+ const CHART_CONTROLLERS = [BarController, LineController];
310
+ const CHART_PLUGINS = [annotationPlugin, Filler, ChartDataLabels, Tooltip, MarkerPlugin].map((plugin) => (plugin?.__esModule ? plugin.default : plugin));
311
+ /* Order matters; defaults must be merged after register as
312
+ register modifies the Chart.defaults objects */
313
+ Chart.register(Legend, ...CHART_SCALES, ...CHART_ELEMENTS, ...CHART_CONTROLLERS, ...CHART_PLUGINS);
314
+ /* Chart.defaults is read only; set each key modified in
315
+ CHART_GLOBAL_DEFAULTS manually */
316
+ const mergedDefaults = mergeDeepAll(Chart.defaults, CHART_GLOBAL_DEFAULTS);
317
+ Object.entries(CHART_GLOBAL_DEFAULTS).forEach(([key]) => {
318
+ Chart.defaults[key] = mergedDefaults[key];
319
+ });
320
+
321
+ const { getThemeColorHexString: getThemeColorHexString$4 } = ColorHelper;
322
+ /* The chart.js annotation does not allow for changing the
323
+ defaults it comes with. In order to have sensible defaults
324
+ this object is used instead and manually merged with the
325
+ rest of the annotations object */
326
+ const borderColor = getThemeColorHexString$4('semi-dark');
327
+ const borderDash = [6, 3];
328
+ const borderWidth = 1;
329
+ const CHART_ANNOTATIONS_CONFIG = {
330
+ line: {
331
+ borderDash,
332
+ borderWidth,
333
+ borderColor,
334
+ },
335
+ ellipse: {
336
+ borderDash,
337
+ borderWidth,
338
+ borderColor,
339
+ backgroundColor: 'transparent',
340
+ },
341
+ box: {
342
+ borderDash,
343
+ borderWidth,
344
+ borderColor,
345
+ backgroundColor: 'transparent',
346
+ },
347
+ point: {
348
+ backgroundColor: 'initial',
349
+ },
350
+ };
351
+
352
+ /* Allows for adding functionality to interactions chart.js while
353
+ preserving the interaction functionality the consumer of the component has
354
+ passed by being provided as a callback. */
355
+ const CHART_INTERACTION_FUNCTIONS_EXTENSIONS = {
356
+ onHover: (_event, activeElements, _chart, callback) => {
357
+ if (_chart.options.onClick) {
358
+ _chart.canvas.style.cursor = activeElements[0] ? 'pointer' : 'default';
359
+ }
360
+ if (callback)
361
+ callback(_event, activeElements, _chart);
362
+ },
363
+ };
364
+
365
+ const { fontSize: fontSize$2 } = DesignTokenHelper;
366
+ const { getThemeColorHexString: getThemeColorHexString$3, getThemeColorRgbString: getThemeColorRgbString$1 } = ColorHelper;
367
+ /**
368
+ * A filter to read a chartpoint from a Chart.js point context (used for chartdata points). Context is provided by Chart.js.
369
+ */
370
+ const getChartPointFromContext = (context) => {
371
+ return context.dataset.data[context.dataIndex];
372
+ };
373
+ const CHART_TYPES_CONFIG = {
374
+ bar: {
375
+ type: 'bar',
376
+ options: {
377
+ datasets: {
378
+ bar: {
379
+ barPercentage: 0.6,
380
+ },
381
+ line: {
382
+ spanGaps: true,
383
+ },
384
+ },
385
+ indexAxis: 'y',
386
+ scales: {
387
+ y: {
388
+ grid: {
389
+ drawBorder: false,
390
+ },
391
+ ticks: {
149
392
  font: {
150
- size: parseInt(fontSize$2('xs')),
393
+ size: parseInt(fontSize$2('s')),
151
394
  },
152
395
  },
153
396
  },
@@ -156,44 +399,106 @@ const CHART_TYPES_CONFIG = {
156
399
  point: {
157
400
  radius: 0,
158
401
  },
402
+ line: {
403
+ borderColor: getThemeColorHexString$3('medium'),
404
+ },
159
405
  },
160
406
  },
161
407
  },
162
- stock: {
163
- type: 'line',
408
+ column: {
409
+ type: 'bar',
164
410
  options: {
165
- responsive: true,
166
- animation: {
167
- duration: 0,
168
- },
169
- layout: {
170
- padding: {
171
- left: 20,
172
- right: 20,
173
- top: 30,
174
- bottom: 0,
411
+ datasets: {
412
+ bar: {
413
+ barPercentage: 0.6,
414
+ },
415
+ line: {
416
+ spanGaps: true,
175
417
  },
176
418
  },
177
- backgroundColor: getThemeColorRgbString$1('semi-light', 0.5),
419
+ indexAxis: 'x',
178
420
  scales: {
179
421
  x: {
180
422
  grid: {
181
- lineWidth: 0,
423
+ drawBorder: false,
182
424
  },
183
425
  ticks: {
184
- maxRotation: 0,
185
- autoSkipPadding: 120,
186
426
  font: {
187
427
  size: parseInt(fontSize$2('xs')),
188
428
  },
189
429
  },
190
430
  },
191
- y: {
192
- position: 'right',
193
- display: true,
194
- grid: {
195
- drawBorder: false,
196
- },
431
+ },
432
+ elements: {
433
+ line: {
434
+ tension: 0.2,
435
+ borderColor: getThemeColorHexString$3('medium'),
436
+ },
437
+ point: {
438
+ radius: 0,
439
+ },
440
+ },
441
+ },
442
+ },
443
+ line: {
444
+ type: 'line',
445
+ options: {
446
+ backgroundColor: getThemeColorRgbString$1('semi-light', 0.5),
447
+ scales: {
448
+ x: {
449
+ grid: {
450
+ borderColor: getThemeColorHexString$3('medium'),
451
+ borderWidth: 1,
452
+ },
453
+ ticks: {
454
+ font: {
455
+ size: parseInt(fontSize$2('xs')),
456
+ },
457
+ },
458
+ },
459
+ },
460
+ elements: {
461
+ point: {
462
+ radius: 0,
463
+ },
464
+ },
465
+ },
466
+ },
467
+ stock: {
468
+ type: 'line',
469
+ options: {
470
+ responsive: true,
471
+ animation: {
472
+ duration: 0,
473
+ },
474
+ layout: {
475
+ padding: {
476
+ left: 20,
477
+ right: 20,
478
+ top: 30,
479
+ bottom: 0,
480
+ },
481
+ },
482
+ backgroundColor: getThemeColorRgbString$1('semi-light', 0.5),
483
+ scales: {
484
+ x: {
485
+ grid: {
486
+ lineWidth: 0,
487
+ },
488
+ ticks: {
489
+ maxRotation: 0,
490
+ autoSkipPadding: 120,
491
+ font: {
492
+ size: parseInt(fontSize$2('xs')),
493
+ },
494
+ },
495
+ },
496
+ y: {
497
+ position: 'right',
498
+ display: true,
499
+ grid: {
500
+ drawBorder: false,
501
+ },
197
502
  ticks: {
198
503
  display: true,
199
504
  font: {
@@ -221,9 +526,9 @@ const CHART_TYPES_CONFIG = {
221
526
  enabled: true,
222
527
  mode: 'index',
223
528
  intersect: false,
224
- backgroundColor: getThemeColorHexString$4('semi-light'),
225
- titleColor: getThemeColorHexString$4('semi-light-contrast'),
226
- bodyColor: getThemeColorHexString$4('semi-light-contrast'),
529
+ backgroundColor: getThemeColorHexString$3('semi-light'),
530
+ titleColor: getThemeColorHexString$3('semi-light-contrast'),
531
+ bodyColor: getThemeColorHexString$3('semi-light-contrast'),
227
532
  caretSize: 0,
228
533
  bodySpacing: 5,
229
534
  titleSpacing: 5,
@@ -232,7 +537,7 @@ const CHART_TYPES_CONFIG = {
232
537
  labelColor: (tooltipItem) => {
233
538
  return {
234
539
  backgroundColor: tooltipItem.dataset.borderColor,
235
- borderColor: getThemeColorHexString$4('semi-light'),
540
+ borderColor: getThemeColorHexString$3('semi-light'),
236
541
  borderWidth: 2, // This value must be exactly 2. If it is less, a white "border" will appear, if greater than, a shadow around the box will be shown.
237
542
  // An issue has been created, requesting a test to check this value doesn´t change: https://github.com/kirbydesign/designsystem/issues/2578
238
543
  };
@@ -241,7 +546,7 @@ const CHART_TYPES_CONFIG = {
241
546
  },
242
547
  datalabels: {
243
548
  backgroundColor: (context) => context.dataset.borderColor,
244
- color: getThemeColorHexString$4('white'),
549
+ color: getThemeColorHexString$3('white'),
245
550
  borderRadius: 3,
246
551
  font: {
247
552
  lineHeight: 1,
@@ -324,318 +629,13 @@ class ChartConfigService {
324
629
  },
325
630
  };
326
631
  }
327
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
328
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartConfigService }); }
632
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
633
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartConfigService }); }
329
634
  }
330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartConfigService, decorators: [{
635
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartConfigService, decorators: [{
331
636
  type: Injectable
332
637
  }] });
333
638
 
334
- class AnnotationsDelegate {
335
- constructor(chartConfigService) {
336
- this.chartConfigService = chartConfigService;
337
- }
338
- applyDefaultsToAnnotations(annotations) {
339
- return annotations.map((annotation) => {
340
- const annotationTypeDefaults = this.chartConfigService.getAnnotationDefaults(annotation.type);
341
- return mergeDeepAll(annotationTypeDefaults, annotation);
342
- });
343
- }
344
- createAnnotationPluginOptionsObject(annotations) {
345
- const annotationsWithDefaults = this.applyDefaultsToAnnotations(annotations);
346
- return {
347
- plugins: {
348
- annotation: {
349
- annotations: annotationsWithDefaults,
350
- },
351
- },
352
- };
353
- }
354
- getExistingChartAnnotations(chart) {
355
- const annotations = chart.options.plugins?.annotation?.annotations;
356
- /* In browser chart.js might return annotations as a Proxy object; force it to be an array.
357
- Each annotationOption in the resulting array will also be a Proxy object.
358
- But internally chart.js will just work with them as normal values */
359
- if (annotations !== undefined) {
360
- return Object.keys(annotations).map((key) => annotations[key]);
361
- }
362
- else {
363
- return [];
364
- }
365
- }
366
- }
367
-
368
- const { getThemeColorHexString: getThemeColorHexString$3 } = ColorHelper;
369
- const hoverBackgroundColor = getThemeColorHexString$3('primary');
370
- const backgroundColor = getThemeColorHexString$3('secondary');
371
- function scriptedBackgroundColor(context) {
372
- const dataset = context.dataset;
373
- const highlightedElements = dataset?.kirbyOptions?.highlightedElements;
374
- if (highlightedElements && highlightedElements.includes(context.dataIndex)) {
375
- return hoverBackgroundColor;
376
- }
377
- else {
378
- return backgroundColor;
379
- }
380
- }
381
- // Only adds a hovercolor if an onClick handler is provided
382
- function scriptedHoverBackgroundColor(context) {
383
- if (context.chart.options.onClick) {
384
- return hoverBackgroundColor;
385
- }
386
- }
387
- const CHART_GLOBAL_DEFAULTS = {
388
- maintainAspectRatio: false,
389
- color: getThemeColorHexString$3('black'),
390
- resizeDelay: 10,
391
- elements: {
392
- bar: {
393
- backgroundColor: scriptedBackgroundColor,
394
- hoverBackgroundColor: scriptedHoverBackgroundColor,
395
- },
396
- line: {
397
- borderColor: scriptedBackgroundColor,
398
- borderWidth: 2,
399
- tension: 0.3,
400
- },
401
- },
402
- scales: {
403
- linear: {
404
- display: false,
405
- ticks: {
406
- display: false,
407
- },
408
- },
409
- category: {
410
- display: true,
411
- grid: {
412
- display: false,
413
- },
414
- },
415
- },
416
- font: {
417
- family: 'Roboto',
418
- },
419
- plugins: {
420
- legend: {
421
- display: false,
422
- },
423
- datalabels: {
424
- display: false,
425
- },
426
- tooltip: {
427
- enabled: false,
428
- },
429
- },
430
- };
431
-
432
- /*
433
- The marker plugin is heavily inspired by https://chartjs-plugin-crosshair.netlify.app
434
- The project appears stale and only the vertical line feature is needed
435
- part of the plugin that was actually needed is implemented here.
436
- */
437
- const defaultOptions = {
438
- line: {
439
- color: 'black',
440
- width: 1,
441
- dashPattern: [],
442
- },
443
- snap: {
444
- enabled: false,
445
- },
446
- };
447
- const hasMarkerConfiguration = (chart) => {
448
- /*
449
- Hacky solution. Should be fixed in this issue: https://github.com/kirbydesign/designsystem/issues/1967
450
- */
451
- return chart.data.datasets.some((dataset) => !!dataset?.kirbyOptions?.isStockChart);
452
- };
453
- var MarkerPlugin = {
454
- id: 'marker',
455
- afterInit: function (chart) {
456
- if (!hasMarkerConfiguration(chart)) {
457
- return;
458
- }
459
- const xScaleType = chart.config.options.scales.x.type;
460
- if (xScaleType !== 'linear' &&
461
- xScaleType !== 'time' &&
462
- xScaleType !== 'category' &&
463
- xScaleType !== 'logarithmic') {
464
- return;
465
- }
466
- if (chart.options.plugins.marker === undefined) {
467
- chart.options.plugins.marker = defaultOptions;
468
- }
469
- chart.marker = {
470
- enabled: false,
471
- suppressUpdate: false,
472
- x: null,
473
- originalData: [],
474
- originalXRange: {},
475
- dragStarted: false,
476
- dragStartX: null,
477
- dragEndX: null,
478
- suppressTooltips: false,
479
- ignoreNextEvents: 0,
480
- };
481
- },
482
- getOption: function (chart, category, name) {
483
- return valueOrDefault(chart.options.plugins.marker[category]
484
- ? chart.options.plugins.marker[category][name]
485
- : undefined, defaultOptions[category][name]);
486
- },
487
- getXScale: function (chart) {
488
- return chart.data.datasets.length ? chart.scales[chart.getDatasetMeta(0).xAxisID] : null;
489
- },
490
- getYScale: function (chart) {
491
- return chart.scales[chart.getDatasetMeta(0).yAxisID];
492
- },
493
- afterEvent: function (chart, event) {
494
- if (!hasMarkerConfiguration(chart)) {
495
- return;
496
- }
497
- if (chart.config.options.scales.x.length == 0) {
498
- return;
499
- }
500
- const e = event.event;
501
- const xScaleType = chart.config.options.scales.x.type;
502
- if (xScaleType !== 'linear' &&
503
- xScaleType !== 'time' &&
504
- xScaleType !== 'category' &&
505
- xScaleType !== 'logarithmic') {
506
- return;
507
- }
508
- const xScale = this.getXScale(chart);
509
- if (!xScale) {
510
- return;
511
- }
512
- if (chart.marker.ignoreNextEvents > 0) {
513
- chart.marker.ignoreNextEvents -= 1;
514
- return;
515
- }
516
- chart.marker.enabled =
517
- e.type !== 'mouseout' &&
518
- e.x > xScale.getPixelForValue(xScale.min) &&
519
- e.x < xScale.getPixelForValue(xScale.max);
520
- if (!chart.marker.enabled && !chart.marker.suppressUpdate) {
521
- if (e.x > xScale.getPixelForValue(xScale.max)) {
522
- // suppress future updates to prevent endless redrawing of chart
523
- chart.marker.suppressUpdate = true;
524
- chart.update('none');
525
- }
526
- chart.marker.dragStarted = false; // cancel zoom in progress
527
- return false;
528
- }
529
- chart.marker.suppressUpdate = false;
530
- chart.marker.x = e.x;
531
- chart.draw();
532
- },
533
- doDraw: function (chart) {
534
- if (!hasMarkerConfiguration(chart)) {
535
- return;
536
- }
537
- if (!chart.marker.enabled) {
538
- return;
539
- }
540
- this.drawTraceLine(chart);
541
- this.interpolateValues(chart);
542
- this.drawTracePoints(chart);
543
- return true;
544
- },
545
- beforeDraw: function (chart) {
546
- return this.doDraw(chart);
547
- },
548
- // Logic moved to beforeDraw in order
549
- // for the vertical line to be drawn
550
- // under tooltip and datalabels.
551
- // afterDraw: function(chart) {
552
- // return this.doDraw(chart);
553
- // },
554
- drawTraceLine: function (chart) {
555
- if (!hasMarkerConfiguration(chart)) {
556
- return;
557
- }
558
- const yScale = this.getYScale(chart);
559
- const lineWidth = this.getOption(chart, 'line', 'width');
560
- const color = this.getOption(chart, 'line', 'color');
561
- const dashPattern = this.getOption(chart, 'line', 'dashPattern');
562
- const snapEnabled = this.getOption(chart, 'snap', 'enabled');
563
- let lineX = chart.marker.x;
564
- if (snapEnabled && chart._active.length) {
565
- lineX = chart._active[0].element.x;
566
- }
567
- chart.ctx.beginPath();
568
- chart.ctx.setLineDash(dashPattern);
569
- chart.ctx.moveTo(lineX, yScale.getPixelForValue(yScale.max));
570
- chart.ctx.lineWidth = lineWidth;
571
- chart.ctx.strokeStyle = color;
572
- chart.ctx.lineTo(lineX, yScale.getPixelForValue(yScale.min));
573
- chart.ctx.stroke();
574
- chart.ctx.setLineDash([]);
575
- },
576
- drawTracePoints: function (chart) {
577
- if (!hasMarkerConfiguration(chart)) {
578
- return;
579
- }
580
- for (let chartIndex = 0; chartIndex < chart.data.datasets.length; chartIndex++) {
581
- const dataset = chart.data.datasets[chartIndex];
582
- const meta = chart.getDatasetMeta(chartIndex);
583
- const yScale = chart.scales[meta.yAxisID];
584
- if (meta.hidden || !dataset.interpolate) {
585
- continue;
586
- }
587
- chart.ctx.beginPath();
588
- chart.ctx.arc(chart.marker.x, yScale.getPixelForValue(dataset.interpolatedValue), 3, 0, 2 * Math.PI, false);
589
- chart.ctx.fillStyle = 'white';
590
- chart.ctx.lineWidth = 2;
591
- chart.ctx.strokeStyle = dataset.borderColor;
592
- chart.ctx.fill();
593
- chart.ctx.stroke();
594
- }
595
- },
596
- interpolateValues: function (chart) {
597
- for (let chartIndex = 0; chartIndex < chart.data.datasets.length; chartIndex++) {
598
- const dataset = chart.data.datasets[chartIndex];
599
- const meta = chart.getDatasetMeta(chartIndex);
600
- const xScale = chart.scales[meta.xAxisID];
601
- const xValue = xScale.getValueForPixel(chart.marker.x);
602
- if (meta.hidden || !dataset.interpolate) {
603
- continue;
604
- }
605
- const data = dataset.data;
606
- const index = data.findIndex(function (o) {
607
- return o.x >= xValue;
608
- });
609
- const prev = data[index - 1];
610
- const next = data[index];
611
- if (chart.data.datasets[chartIndex].steppedLine && prev) {
612
- dataset.interpolatedValue = prev.y;
613
- }
614
- else if (prev && next) {
615
- const slope = (next.y - prev.y) / (next.x - prev.x);
616
- dataset.interpolatedValue = prev.y + (xValue - prev.x) * slope;
617
- }
618
- else {
619
- dataset.interpolatedValue = NaN;
620
- }
621
- }
622
- },
623
- };
624
-
625
- const CHART_SCALES = [CategoryScale, LinearScale, TimeScale];
626
- const CHART_ELEMENTS = [BarElement, LineElement, PointElement];
627
- const CHART_CONTROLLERS = [BarController, LineController];
628
- const CHART_PLUGINS = [annotationPlugin, Filler, ChartDataLabels, Tooltip, MarkerPlugin].map((plugin) => (plugin?.__esModule ? plugin.default : plugin));
629
- /* Order matters; defaults must be merged after register as
630
- register modifies the Chart.defaults objects */
631
- Chart.register(Legend, ...CHART_SCALES, ...CHART_ELEMENTS, ...CHART_CONTROLLERS, ...CHART_PLUGINS);
632
- /* Chart.defaults is read only; set each key modified in
633
- CHART_GLOBAL_DEFAULTS manually */
634
- const mergedDefaults = mergeDeepAll(Chart.defaults, CHART_GLOBAL_DEFAULTS);
635
- Object.entries(CHART_GLOBAL_DEFAULTS).forEach(([key]) => {
636
- Chart.defaults[key] = mergedDefaults[key];
637
- });
638
-
639
639
  class ChartJSService {
640
640
  constructor(chartConfigService) {
641
641
  this.chartConfigService = chartConfigService;
@@ -800,10 +800,10 @@ class ChartJSService {
800
800
  return this.getDefaultLabels(datasets);
801
801
  }
802
802
  }
803
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartJSService, deps: [{ token: ChartConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
804
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartJSService }); }
803
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartJSService, deps: [{ token: ChartConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
804
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartJSService }); }
805
805
  }
806
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartJSService, decorators: [{
806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartJSService, decorators: [{
807
807
  type: Injectable
808
808
  }], ctorParameters: () => [{ type: ChartConfigService }] });
809
809
 
@@ -1065,10 +1065,10 @@ class BaseChartComponent {
1065
1065
  ngOnDestroy() {
1066
1066
  this.chartJSService.destroyChart();
1067
1067
  }
1068
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseChartComponent, deps: [{ token: ChartJSService }], target: i0.ɵɵFactoryTarget.Component }); }
1069
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: BaseChartComponent, isStandalone: false, selector: "kirby-base-chart", inputs: { type: "type", data: "data", labels: "labels", customOptions: "customOptions", annotations: "annotations", highlightedElements: "highlightedElements", height: "height" }, host: { properties: { "style.--kirby-chart-height": "this._height" } }, viewQueries: [{ propertyName: "canvasElement", first: true, predicate: ["chartCanvas"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1068
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: BaseChartComponent, deps: [{ token: ChartJSService }], target: i0.ɵɵFactoryTarget.Component }); }
1069
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0", type: BaseChartComponent, isStandalone: false, selector: "kirby-base-chart", inputs: { type: "type", data: "data", labels: "labels", customOptions: "customOptions", annotations: "annotations", highlightedElements: "highlightedElements", height: "height" }, host: { properties: { "style.--kirby-chart-height": "this._height" } }, viewQueries: [{ propertyName: "canvasElement", first: true, predicate: ["chartCanvas"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1070
1070
  }
1071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseChartComponent, decorators: [{
1071
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: BaseChartComponent, decorators: [{
1072
1072
  type: Component,
1073
1073
  args: [{ selector: 'kirby-base-chart', standalone: false, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }]
1074
1074
  }], ctorParameters: () => [{ type: ChartJSService }], propDecorators: { type: [{
@@ -1098,10 +1098,10 @@ class ChartComponent extends BaseChartComponent {
1098
1098
  super(...arguments);
1099
1099
  this.type = 'column';
1100
1100
  }
1101
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1102
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: ChartComponent, isStandalone: false, selector: "kirby-chart", inputs: { type: "type" }, providers: [ChartJSService], usesInheritance: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1101
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1102
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0", type: ChartComponent, isStandalone: false, selector: "kirby-chart", inputs: { type: "type" }, providers: [ChartJSService], usesInheritance: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1103
1103
  }
1104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartComponent, decorators: [{
1104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartComponent, decorators: [{
1105
1105
  type: Component,
1106
1106
  args: [{ selector: 'kirby-chart', providers: [ChartJSService], standalone: false, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }]
1107
1107
  }], propDecorators: { type: [{
@@ -1196,10 +1196,10 @@ class StockChartJSService extends ChartJSService {
1196
1196
  });
1197
1197
  return { value, pointer };
1198
1198
  }
1199
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockChartJSService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1200
- /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockChartJSService }); }
1199
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: StockChartJSService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
1200
+ /** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: StockChartJSService }); }
1201
1201
  }
1202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockChartJSService, decorators: [{
1202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: StockChartJSService, decorators: [{
1203
1203
  type: Injectable
1204
1204
  }] });
1205
1205
 
@@ -1211,10 +1211,10 @@ class StockChartComponent extends BaseChartComponent {
1211
1211
  renderChart() {
1212
1212
  super.renderChart({ dataLabelOptions: this.dataLabelOptions });
1213
1213
  }
1214
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1215
- /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: StockChartComponent, isStandalone: false, selector: "kirby-stock-chart", inputs: { dataLabelOptions: "dataLabelOptions" }, providers: [{ provide: ChartJSService, useClass: StockChartJSService }], usesInheritance: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1214
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: StockChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1215
+ /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0", type: StockChartComponent, isStandalone: false, selector: "kirby-stock-chart", inputs: { dataLabelOptions: "dataLabelOptions" }, providers: [{ provide: ChartJSService, useClass: StockChartJSService }], usesInheritance: true, ngImport: i0, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }); }
1216
1216
  }
1217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: StockChartComponent, decorators: [{
1217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: StockChartComponent, decorators: [{
1218
1218
  type: Component,
1219
1219
  args: [{ selector: 'kirby-stock-chart', providers: [{ provide: ChartJSService, useClass: StockChartJSService }], standalone: false, template: "<div class=\"chart-container\">\n <canvas #chartCanvas>\n <!-- Slotted content makes it possible to insert fallback content for screen readers \n https://www.chartjs.org/docs/latest/general/accessibility.html-->\n <ng-content></ng-content>\n </canvas>\n</div>\n", styles: [":host div{height:var(--kirby-chart-height, 300px);position:relative}\n"] }]
1220
1220
  }], propDecorators: { dataLabelOptions: [{
@@ -1222,11 +1222,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
1222
1222
  }] } });
1223
1223
 
1224
1224
  class ChartsModule {
1225
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1226
- /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: ChartsModule, declarations: [ChartComponent, StockChartComponent], exports: [ChartComponent, StockChartComponent] }); }
1227
- /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartsModule, providers: [ChartConfigService] }); }
1225
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1226
+ /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0", ngImport: i0, type: ChartsModule, declarations: [ChartComponent, StockChartComponent], exports: [ChartComponent, StockChartComponent] }); }
1227
+ /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartsModule, providers: [ChartConfigService] }); }
1228
1228
  }
1229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ChartsModule, decorators: [{
1229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ChartsModule, decorators: [{
1230
1230
  type: NgModule,
1231
1231
  args: [{
1232
1232
  declarations: [ChartComponent, StockChartComponent],