@designsystem-se/af 35.4.1-beta.0 → 35.4.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1336) hide show
  1. package/components/digi-bar-chart.js +684 -470
  2. package/components/digi-calendar-datepicker.js +13 -13
  3. package/components/digi-calendar-week-view.js +3 -3
  4. package/components/digi-calendar.js +1 -1
  5. package/components/digi-chart-line.js +5 -5
  6. package/components/digi-code-block.js +1 -1
  7. package/components/digi-code-example.js +9 -9
  8. package/components/digi-code.js +1 -1
  9. package/components/digi-context-menu.js +5 -5
  10. package/components/digi-dialog.js +6 -6
  11. package/components/digi-expandable-accordion.js +3 -3
  12. package/components/digi-expandable-faq-item.js +6 -6
  13. package/components/digi-expandable-faq.js +2 -2
  14. package/components/digi-footer-card.js +1 -1
  15. package/components/digi-footer.js +4 -4
  16. package/components/digi-form-category-filter.js +4 -4
  17. package/components/digi-form-checkbox.js +1 -1
  18. package/components/digi-form-error-list.js +13 -13
  19. package/components/digi-form-fieldset.js +1 -1
  20. package/components/digi-form-file-upload.js +18 -18
  21. package/components/digi-form-filter.js +7 -7
  22. package/components/digi-form-input-search.js +9 -9
  23. package/components/digi-form-input.js +1 -1
  24. package/components/digi-form-label.js +1 -1
  25. package/components/digi-form-radiobutton.js +1 -1
  26. package/components/digi-form-radiogroup.js +2 -2
  27. package/components/digi-form-receipt.js +3 -3
  28. package/components/digi-form-select-filter.js +16 -16
  29. package/components/digi-form-select.js +1 -1
  30. package/components/digi-form-textarea.js +8 -8
  31. package/components/digi-form-validation-message.js +1 -1
  32. package/components/digi-header-avatar.js +3 -3
  33. package/components/digi-header-navigation-item.js +1 -1
  34. package/components/digi-header-navigation.js +7 -7
  35. package/components/digi-header-notification.js +2 -2
  36. package/components/digi-header.js +6 -6
  37. package/components/digi-icon-accessibility-deaf.js +2 -2
  38. package/components/digi-icon-accessibility-universal.js +2 -2
  39. package/components/digi-icon-apple.js +2 -2
  40. package/components/digi-icon-archive-outline.js +2 -2
  41. package/components/digi-icon-archive.js +2 -2
  42. package/components/digi-icon-arrow-back.js +2 -2
  43. package/components/digi-icon-arrow-down.js +2 -2
  44. package/components/digi-icon-arrow-left.js +2 -2
  45. package/components/digi-icon-arrow-right.js +1 -1
  46. package/components/digi-icon-arrow-sign-in.js +2 -2
  47. package/components/digi-icon-arrow-sign-out.js +2 -2
  48. package/components/digi-icon-arrow-up.js +2 -2
  49. package/components/digi-icon-at.js +2 -2
  50. package/components/digi-icon-bars.js +1 -1
  51. package/components/digi-icon-bell-filled.js +2 -2
  52. package/components/digi-icon-bell.js +2 -2
  53. package/components/digi-icon-book.js +2 -2
  54. package/components/digi-icon-bookmark-outline.js +2 -2
  55. package/components/digi-icon-bookmark-solid.js +2 -2
  56. package/components/digi-icon-bubble-ellipsis.js +2 -2
  57. package/components/digi-icon-bubble.js +2 -2
  58. package/components/digi-icon-building-outline.js +2 -2
  59. package/components/digi-icon-building-solid.js +2 -2
  60. package/components/digi-icon-bullseye.js +2 -2
  61. package/components/digi-icon-calculator-solid.js +2 -2
  62. package/components/digi-icon-calendar-alt-alert.js +2 -2
  63. package/components/digi-icon-calendar-alt.js +1 -1
  64. package/components/digi-icon-calendar.js +2 -2
  65. package/components/digi-icon-caret-circle-right.js +2 -2
  66. package/components/digi-icon-caret-down.js +1 -1
  67. package/components/digi-icon-caret-left.js +2 -2
  68. package/components/digi-icon-caret-right.js +2 -2
  69. package/components/digi-icon-caret-up.js +1 -1
  70. package/components/digi-icon-chart.js +1 -1
  71. package/components/digi-icon-chat.js +2 -2
  72. package/components/digi-icon-check-circle-reg-alt.js +2 -2
  73. package/components/digi-icon-check-circle-solid.js +1 -1
  74. package/components/digi-icon-check.js +1 -1
  75. package/components/digi-icon-checklist.js +2 -2
  76. package/components/digi-icon-chevron-down.js +1 -1
  77. package/components/digi-icon-chevron-left.js +1 -1
  78. package/components/digi-icon-chevron-right.js +1 -1
  79. package/components/digi-icon-chevron-up.js +2 -2
  80. package/components/digi-icon-clock.js +2 -2
  81. package/components/digi-icon-communication-play-solid.js +2 -2
  82. package/components/digi-icon-compress-alt.js +2 -2
  83. package/components/digi-icon-comunication-case.js +2 -2
  84. package/components/digi-icon-comunication-flag.js +2 -2
  85. package/components/digi-icon-comunication-graduate.js +2 -2
  86. package/components/digi-icon-comunication-play.js +2 -2
  87. package/components/digi-icon-cooperation.js +2 -2
  88. package/components/digi-icon-copy.js +1 -1
  89. package/components/digi-icon-danger-outline.js +2 -2
  90. package/components/digi-icon-download.js +2 -2
  91. package/components/digi-icon-dxa.js +2 -2
  92. package/components/digi-icon-edit.js +2 -2
  93. package/components/digi-icon-ellipsis.js +2 -2
  94. package/components/digi-icon-envelope-filled.js +2 -2
  95. package/components/digi-icon-envelope.js +2 -2
  96. package/components/digi-icon-exclamation-circle-filled.js +2 -2
  97. package/components/digi-icon-exclamation-triangle-filled.js +2 -2
  98. package/components/digi-icon-exclamation-triangle-warning.js +2 -2
  99. package/components/digi-icon-exclamation-triangle.js +2 -2
  100. package/components/digi-icon-expand-alt.js +2 -2
  101. package/components/digi-icon-external-link-alt.js +1 -1
  102. package/components/digi-icon-eye-slash.js +2 -2
  103. package/components/digi-icon-eye.js +2 -2
  104. package/components/digi-icon-facebook-square.js +2 -2
  105. package/components/digi-icon-file-add.js +1 -1
  106. package/components/digi-icon-file-document.js +2 -2
  107. package/components/digi-icon-file-excel.js +2 -2
  108. package/components/digi-icon-file-export.js +1 -1
  109. package/components/digi-icon-file-governing.js +2 -2
  110. package/components/digi-icon-file-pdf.js +2 -2
  111. package/components/digi-icon-file-powerpoint.js +2 -2
  112. package/components/digi-icon-file-remove.js +1 -1
  113. package/components/digi-icon-file-word.js +2 -2
  114. package/components/digi-icon-film.js +2 -2
  115. package/components/digi-icon-filter.js +2 -2
  116. package/components/digi-icon-folder-add.js +1 -1
  117. package/components/digi-icon-folder-directory.js +1 -1
  118. package/components/digi-icon-folder-open.js +1 -1
  119. package/components/digi-icon-folder.js +1 -1
  120. package/components/digi-icon-globe-filled.js +2 -2
  121. package/components/digi-icon-globe.js +2 -2
  122. package/components/digi-icon-headphones.js +2 -2
  123. package/components/digi-icon-heart-solid.js +2 -2
  124. package/components/digi-icon-heart.js +2 -2
  125. package/components/digi-icon-history.js +2 -2
  126. package/components/digi-icon-home.js +2 -2
  127. package/components/digi-icon-image.js +2 -2
  128. package/components/digi-icon-info-circle-solid.js +2 -2
  129. package/components/digi-icon-input-select-marker.js +1 -1
  130. package/components/digi-icon-instagram.js +2 -2
  131. package/components/digi-icon-job-suggestion.js +2 -2
  132. package/components/digi-icon-language-outline.js +2 -2
  133. package/components/digi-icon-language.js +2 -2
  134. package/components/digi-icon-laptop-phone.js +2 -2
  135. package/components/digi-icon-lattlast.js +2 -2
  136. package/components/digi-icon-licence-bus.js +2 -2
  137. package/components/digi-icon-licence-car.js +2 -2
  138. package/components/digi-icon-licence-motorcycle.js +2 -2
  139. package/components/digi-icon-licence-truck.js +2 -2
  140. package/components/digi-icon-lightbulb.js +2 -2
  141. package/components/digi-icon-linkedin-in.js +2 -2
  142. package/components/digi-icon-list-ul.js +1 -1
  143. package/components/digi-icon-lock.js +2 -2
  144. package/components/digi-icon-marker-filled.js +2 -2
  145. package/components/digi-icon-marker.js +2 -2
  146. package/components/digi-icon-media-course.js +2 -2
  147. package/components/digi-icon-media-podcast.js +2 -2
  148. package/components/digi-icon-microphone-off.js +2 -2
  149. package/components/digi-icon-microphone.js +2 -2
  150. package/components/digi-icon-minus.js +1 -1
  151. package/components/digi-icon-move.js +2 -2
  152. package/components/digi-icon-news.js +1 -1
  153. package/components/digi-icon-notification-error.js +1 -1
  154. package/components/digi-icon-notification-info.js +1 -1
  155. package/components/digi-icon-notification-succes.js +1 -1
  156. package/components/digi-icon-notification-warning.js +1 -1
  157. package/components/digi-icon-online-computervideo.js +1 -1
  158. package/components/digi-icon-online-interview.js +2 -2
  159. package/components/digi-icon-online-meeting.js +2 -2
  160. package/components/digi-icon-online-task.js +2 -2
  161. package/components/digi-icon-online-video.js +1 -1
  162. package/components/digi-icon-open-source.js +2 -2
  163. package/components/digi-icon-palette.js +2 -2
  164. package/components/digi-icon-paperclip.js +1 -1
  165. package/components/digi-icon-paste.js +1 -1
  166. package/components/digi-icon-pen.js +2 -2
  167. package/components/digi-icon-phone-hangup.js +2 -2
  168. package/components/digi-icon-phone.js +2 -2
  169. package/components/digi-icon-plus.js +1 -1
  170. package/components/digi-icon-pod.js +1 -1
  171. package/components/digi-icon-print.js +2 -2
  172. package/components/digi-icon-read.js +2 -2
  173. package/components/digi-icon-redo.js +2 -2
  174. package/components/digi-icon-scale.js +1 -1
  175. package/components/digi-icon-screensharing-off.js +2 -2
  176. package/components/digi-icon-screensharing.js +2 -2
  177. package/components/digi-icon-search.js +1 -1
  178. package/components/digi-icon-send-outline.js +2 -2
  179. package/components/digi-icon-send-solid.js +2 -2
  180. package/components/digi-icon-settings.js +2 -2
  181. package/components/digi-icon-share-alt.js +2 -2
  182. package/components/digi-icon-share-chain.js +2 -2
  183. package/components/digi-icon-sign.js +2 -2
  184. package/components/digi-icon-sliders-h.js +2 -2
  185. package/components/digi-icon-sokkandidat.js +2 -2
  186. package/components/digi-icon-sort-down.js +2 -2
  187. package/components/digi-icon-sort-up.js +2 -2
  188. package/components/digi-icon-sort.js +2 -2
  189. package/components/digi-icon-spinner.js +1 -1
  190. package/components/digi-icon-star-reg.js +2 -2
  191. package/components/digi-icon-star.js +2 -2
  192. package/components/digi-icon-suitcase-outline.js +2 -2
  193. package/components/digi-icon-suitcase-solid.js +2 -2
  194. package/components/digi-icon-system-assistance.js +2 -2
  195. package/components/digi-icon-table-column.js +2 -2
  196. package/components/digi-icon-table-row.js +2 -2
  197. package/components/digi-icon-table.js +1 -1
  198. package/components/digi-icon-task-done.js +2 -2
  199. package/components/digi-icon-toggle-off.js +2 -2
  200. package/components/digi-icon-toggle-on.js +2 -2
  201. package/components/digi-icon-trash.js +1 -1
  202. package/components/digi-icon-twitter.js +2 -2
  203. package/components/digi-icon-tyck-till.js +2 -2
  204. package/components/digi-icon-unlock.js +2 -2
  205. package/components/digi-icon-update.js +2 -2
  206. package/components/digi-icon-upload.js +2 -2
  207. package/components/digi-icon-user-add.js +1 -1
  208. package/components/digi-icon-user-alt.js +2 -2
  209. package/components/digi-icon-user-edit.js +1 -1
  210. package/components/digi-icon-users-solid.js +2 -2
  211. package/components/digi-icon-validation-error.js +1 -1
  212. package/components/digi-icon-validation-success.js +1 -1
  213. package/components/digi-icon-validation-warning.js +1 -1
  214. package/components/digi-icon-videocamera-off.js +2 -2
  215. package/components/digi-icon-videocamera.js +2 -2
  216. package/components/digi-icon-volume.js +2 -2
  217. package/components/digi-icon-web-tv.js +2 -2
  218. package/components/digi-icon-webinar.js +1 -1
  219. package/components/digi-icon-wifi-signal0.js +2 -2
  220. package/components/digi-icon-wifi-signal1.js +2 -2
  221. package/components/digi-icon-wifi-signal2.js +2 -2
  222. package/components/digi-icon-wifi-signal3.js +2 -2
  223. package/components/digi-icon-window.js +2 -2
  224. package/components/digi-icon-x-button-outline.js +1 -1
  225. package/components/digi-icon-x-button.js +2 -2
  226. package/components/digi-icon-x.js +1 -1
  227. package/components/digi-icon-youtube.js +2 -2
  228. package/components/digi-info-card-multi-container.js +2 -2
  229. package/components/digi-info-card-multi.js +11 -11
  230. package/components/digi-info-card.js +5 -5
  231. package/components/digi-layout-block.js +1 -1
  232. package/components/digi-layout-columns.js +1 -1
  233. package/components/digi-layout-container.js +1 -1
  234. package/components/digi-link-button.js +2 -2
  235. package/components/digi-link-external.js +1 -1
  236. package/components/digi-link-internal.js +1 -1
  237. package/components/digi-link.js +1 -1
  238. package/components/digi-list.js +3 -3
  239. package/components/digi-loader-skeleton.js +3 -3
  240. package/components/digi-loader-spinner.js +2 -2
  241. package/components/digi-logo.js +2 -2
  242. package/components/digi-media-figure.js +1 -1
  243. package/components/digi-media-image.js +1 -1
  244. package/components/digi-navigation-breadcrumbs.js +2 -2
  245. package/components/digi-navigation-pagination.js +10 -10
  246. package/components/digi-navigation-sidebar-button.js +1 -1
  247. package/components/digi-navigation-sidebar.js +5 -5
  248. package/components/digi-navigation-vertical-menu-item.js +8 -8
  249. package/components/digi-navigation-vertical-menu.js +1 -1
  250. package/components/digi-notification-alert.js +1 -1
  251. package/components/digi-notification-error-page.js +6 -6
  252. package/components/digi-progress-circle.js +10 -10
  253. package/components/digi-progress-indicator.js +6 -6
  254. package/components/digi-progress-list-item.js +8 -8
  255. package/components/digi-progress-list.js +2 -2
  256. package/components/digi-progressbar.js +2 -2
  257. package/components/digi-quote.js +3 -3
  258. package/components/digi-table.js +1 -1
  259. package/components/digi-tablist-panel.js +2 -2
  260. package/components/digi-tablist.js +7 -7
  261. package/components/digi-tag-media.js +1 -1
  262. package/components/digi-tag.js +2 -2
  263. package/components/digi-title-logo.js +1 -1
  264. package/components/digi-tools-feedback-banner.js +6 -6
  265. package/components/digi-tools-feedback-rating.js +7 -7
  266. package/components/digi-tools-feedback.js +3 -3
  267. package/components/digi-tools-theme-provider.js +1 -1
  268. package/components/digi-typography-heading-jumbo.js +1 -1
  269. package/components/digi-typography-meta.js +1 -1
  270. package/components/digi-typography-preamble.js +1 -1
  271. package/components/digi-typography-time.js +1 -1
  272. package/components/digi-typography.js +1 -1
  273. package/components/digi-util-breakpoint-observer.js +1 -1
  274. package/components/digi-util-detect-click-outside.js +1 -1
  275. package/components/digi-util-detect-focus-outside.js +1 -1
  276. package/components/digi-util-intersection-observer.js +1 -1
  277. package/components/digi-util-keydown-handler.js +1 -1
  278. package/components/digi-util-keyup-handler.js +1 -1
  279. package/components/digi-util-resize-observer.js +1 -1
  280. package/components/{p-291680dc.js → p-006daf6c.js} +2 -2
  281. package/components/{p-f516f6d6.js → p-013b272d.js} +2 -2
  282. package/components/{p-15bbce60.js → p-017e5253.js} +1 -1
  283. package/components/{p-4caaef7a.js → p-02eaef05.js} +2 -2
  284. package/components/{p-472bc7d3.js → p-03338211.js} +2 -2
  285. package/components/{p-fccc9322.js → p-0c5076db.js} +3 -3
  286. package/components/{p-6b275dc1.js → p-0c854af1.js} +2 -2
  287. package/components/{p-4437e1a8.js → p-0dd5a8f7.js} +1 -1
  288. package/components/{p-64a9f915.js → p-11278347.js} +2 -2
  289. package/components/{p-7492d61e.js → p-12ec96fa.js} +2 -2
  290. package/components/{p-95dc2a66.js → p-1a145be2.js} +2 -2
  291. package/components/{p-60394bdb.js → p-23755c77.js} +2 -2
  292. package/components/{p-127b0f7a.js → p-24a74dc2.js} +2 -2
  293. package/components/{p-5c935094.js → p-26f2230b.js} +8 -8
  294. package/components/{p-3ea21529.js → p-2bcbe128.js} +2 -2
  295. package/components/{p-b08505a8.js → p-2c01b4f7.js} +2 -2
  296. package/components/{p-8a2e80d2.js → p-32226717.js} +1 -1
  297. package/components/{p-cf527784.js → p-3344671c.js} +2 -2
  298. package/components/{p-42c4e18d.js → p-33f08ec3.js} +1 -1
  299. package/components/{p-a90980f7.js → p-34685ea4.js} +2 -2
  300. package/components/{p-4458129b.js → p-356b716a.js} +2 -2
  301. package/components/{p-2d8b68de.js → p-3748dc79.js} +2 -2
  302. package/components/{p-9f12ac0c.js → p-388030df.js} +8 -8
  303. package/components/{p-f7fd3e36.js → p-3c5d25a0.js} +1 -1
  304. package/components/{p-b5523600.js → p-3c9cea93.js} +2 -2
  305. package/components/{p-82463cc2.js → p-3e15a1be.js} +2 -2
  306. package/components/{p-300490fb.js → p-4241698a.js} +2 -2
  307. package/components/{p-61fe9d78.js → p-49c80f22.js} +2 -2
  308. package/components/{p-6013f971.js → p-4a93de6b.js} +2 -2
  309. package/components/{p-965664d4.js → p-52fe1a97.js} +10 -10
  310. package/components/{p-d14fe54d.js → p-581b3b56.js} +2 -2
  311. package/components/{p-299871dc.js → p-5bbb5a67.js} +2 -2
  312. package/components/{p-f147733f.js → p-5ef44852.js} +2 -2
  313. package/components/{p-b5b891f2.js → p-68b8b9a8.js} +3 -3
  314. package/components/{p-9bcf4599.js → p-6a4babd1.js} +2 -2
  315. package/components/{p-f9e6f45e.js → p-6aa77536.js} +2 -2
  316. package/components/{p-6a652c1c.js → p-6db48210.js} +2 -2
  317. package/components/{p-d18dccc2.js → p-73101c41.js} +2 -2
  318. package/components/{p-372e42fa.js → p-73796afb.js} +2 -2
  319. package/components/{p-ab1d6ae3.js → p-7811ea5a.js} +10 -10
  320. package/components/{p-39021139.js → p-85197207.js} +2 -2
  321. package/components/{p-042282c9.js → p-8bc620b1.js} +2 -2
  322. package/components/{p-bbaf1285.js → p-94603530.js} +2 -2
  323. package/components/{p-82085ee1.js → p-954224b5.js} +2 -2
  324. package/components/{p-3cbdeea5.js → p-9b37e59c.js} +1 -1
  325. package/components/{p-d309b91a.js → p-a2c97c2e.js} +2 -2
  326. package/components/{p-2a0c0c78.js → p-aa5b937d.js} +2 -2
  327. package/components/{p-96a4c4dc.js → p-af9bf7a3.js} +2 -2
  328. package/components/{p-aed6db71.js → p-b2ff86cf.js} +2 -2
  329. package/components/{p-c495f54e.js → p-bd545c73.js} +2 -2
  330. package/components/{p-1440ff46.js → p-c139a46c.js} +2 -2
  331. package/components/{p-ba757bc9.js → p-c6c4ee59.js} +3 -3
  332. package/components/{p-364d38fc.js → p-c90fed99.js} +2 -2
  333. package/components/{p-0e6bb1ce.js → p-cc5bd9f9.js} +2 -2
  334. package/components/{p-f5e13d2e.js → p-ccccd7bb.js} +1 -1
  335. package/components/{p-764c106c.js → p-cfb33ac7.js} +1 -1
  336. package/components/{p-73c973fc.js → p-d0884709.js} +8 -8
  337. package/components/{p-71bad47e.js → p-d1fc55fd.js} +1 -1
  338. package/components/{p-cfa81e91.js → p-df47eea9.js} +1 -1
  339. package/components/{p-6c7ff092.js → p-e6a40b0a.js} +2 -2
  340. package/components/{p-ad94e4f3.js → p-f630b5d3.js} +4 -4
  341. package/custom-elements.json +1 -1
  342. package/dist/cjs/digi-bar-chart_27.cjs.entry.js +721 -507
  343. package/dist/cjs/digi-calendar_2.cjs.entry.js +2 -2
  344. package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
  345. package/dist/cjs/digi-code-block_3.cjs.entry.js +4 -4
  346. package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
  347. package/dist/cjs/digi-code.cjs.entry.js +1 -1
  348. package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
  349. package/dist/cjs/digi-dialog.cjs.entry.js +3 -3
  350. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
  351. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +4 -4
  352. package/dist/cjs/digi-expandable-faq.cjs.entry.js +2 -2
  353. package/dist/cjs/digi-footer-card.cjs.entry.js +1 -1
  354. package/dist/cjs/digi-footer.cjs.entry.js +1 -1
  355. package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
  356. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  357. package/dist/cjs/digi-form-error-list.cjs.entry.js +3 -3
  358. package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
  359. package/dist/cjs/digi-form-filter.cjs.entry.js +5 -5
  360. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -2
  361. package/dist/cjs/digi-form-input.cjs.entry.js +3 -3
  362. package/dist/cjs/digi-form-label_5.cjs.entry.js +8 -8
  363. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +2 -2
  364. package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -1
  365. package/dist/cjs/digi-form-select-filter.cjs.entry.js +7 -7
  366. package/dist/cjs/digi-form-select_2.cjs.entry.js +6 -6
  367. package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
  368. package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
  369. package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
  370. package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
  371. package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
  372. package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
  373. package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
  374. package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
  375. package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
  376. package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
  377. package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
  378. package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
  379. package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
  380. package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
  381. package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
  382. package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
  383. package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
  384. package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
  385. package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
  386. package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
  387. package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
  388. package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
  389. package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
  390. package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
  391. package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
  392. package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
  393. package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
  394. package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
  395. package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
  396. package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
  397. package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
  398. package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +8 -8
  399. package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
  400. package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
  401. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
  402. package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +2 -2
  403. package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +2 -2
  404. package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
  405. package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
  406. package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
  407. package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
  408. package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
  409. package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
  410. package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
  411. package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
  412. package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
  413. package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
  414. package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
  415. package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
  416. package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
  417. package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
  418. package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
  419. package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
  420. package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
  421. package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
  422. package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
  423. package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
  424. package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
  425. package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
  426. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
  427. package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
  428. package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
  429. package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
  430. package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
  431. package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
  432. package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
  433. package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
  434. package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
  435. package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
  436. package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
  437. package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
  438. package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
  439. package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
  440. package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
  441. package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
  442. package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
  443. package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
  444. package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
  445. package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
  446. package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
  447. package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
  448. package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
  449. package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
  450. package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
  451. package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
  452. package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
  453. package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
  454. package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
  455. package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
  456. package/dist/cjs/digi-icon-language-outline.cjs.entry.js +2 -2
  457. package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
  458. package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
  459. package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
  460. package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
  461. package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
  462. package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
  463. package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
  464. package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
  465. package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
  466. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
  467. package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
  468. package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
  469. package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
  470. package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
  471. package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
  472. package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
  473. package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
  474. package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
  475. package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +8 -8
  476. package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
  477. package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
  478. package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
  479. package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
  480. package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
  481. package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
  482. package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
  483. package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
  484. package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
  485. package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
  486. package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
  487. package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
  488. package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
  489. package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
  490. package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
  491. package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
  492. package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
  493. package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
  494. package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
  495. package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
  496. package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
  497. package/dist/cjs/digi-icon-sign.cjs.entry.js +2 -2
  498. package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
  499. package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
  500. package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
  501. package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
  502. package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
  503. package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
  504. package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
  505. package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
  506. package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
  507. package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
  508. package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
  509. package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
  510. package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
  511. package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
  512. package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
  513. package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
  514. package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
  515. package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
  516. package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
  517. package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
  518. package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
  519. package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
  520. package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
  521. package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
  522. package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
  523. package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
  524. package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
  525. package/dist/cjs/digi-icon-volume.cjs.entry.js +2 -2
  526. package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
  527. package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
  528. package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
  529. package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
  530. package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
  531. package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
  532. package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
  533. package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
  534. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
  535. package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
  536. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  537. package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
  538. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  539. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  540. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  541. package/dist/cjs/digi-list.cjs.entry.js +1 -1
  542. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
  543. package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
  544. package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
  545. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
  546. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +6 -6
  547. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
  548. package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -2
  549. package/dist/cjs/digi-notification-error-page.cjs.entry.js +3 -3
  550. package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
  551. package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -3
  552. package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
  553. package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
  554. package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
  555. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  556. package/dist/cjs/digi-table.cjs.entry.js +1 -1
  557. package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
  558. package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
  559. package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
  560. package/dist/cjs/digi-tag.cjs.entry.js +1 -1
  561. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
  562. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
  563. package/dist/cjs/digi-tools-feedback.cjs.entry.js +1 -1
  564. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
  565. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +1 -1
  566. package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
  567. package/dist/cjs/digi-typography-preamble.cjs.entry.js +1 -1
  568. package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
  569. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
  570. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
  571. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
  572. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
  573. package/dist/collection/components/_chart/bar-chart/bar-chart.css +44 -27
  574. package/dist/collection/components/_chart/bar-chart/bar-chart.js +687 -473
  575. package/dist/collection/components/_chart/chart-line/chart-line.js +3 -3
  576. package/dist/collection/components/_chart/interfaces/line-chart-data.interface.js +1 -0
  577. package/dist/collection/components/_code/code/code.js +1 -1
  578. package/dist/collection/components/_code/code-block/code-block.js +1 -1
  579. package/dist/collection/components/_code/code-example/code-example.js +4 -4
  580. package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
  581. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
  582. package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
  583. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
  584. package/dist/collection/components/_footer/footer/footer.js +1 -1
  585. package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
  586. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
  587. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
  588. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  589. package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
  590. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
  591. package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
  592. package/dist/collection/components/_form/form-input/form-input.js +3 -3
  593. package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
  594. package/dist/collection/components/_form/form-label/form-label.js +1 -1
  595. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
  596. package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -2
  597. package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
  598. package/dist/collection/components/_form/form-select/form-select.js +4 -4
  599. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
  600. package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
  601. package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
  602. package/dist/collection/components/_header/header/header.js +1 -1
  603. package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
  604. package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
  605. package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
  606. package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
  607. package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
  608. package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
  609. package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
  610. package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
  611. package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
  612. package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
  613. package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
  614. package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
  615. package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
  616. package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
  617. package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
  618. package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
  619. package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
  620. package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
  621. package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
  622. package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
  623. package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
  624. package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
  625. package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
  626. package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
  627. package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
  628. package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
  629. package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
  630. package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
  631. package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
  632. package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
  633. package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
  634. package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
  635. package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
  636. package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
  637. package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
  638. package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
  639. package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
  640. package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
  641. package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
  642. package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
  643. package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
  644. package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
  645. package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
  646. package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
  647. package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
  648. package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
  649. package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
  650. package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
  651. package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
  652. package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
  653. package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
  654. package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
  655. package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
  656. package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
  657. package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
  658. package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
  659. package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
  660. package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
  661. package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
  662. package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
  663. package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
  664. package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
  665. package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
  666. package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
  667. package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
  668. package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
  669. package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
  670. package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
  671. package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
  672. package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
  673. package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
  674. package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
  675. package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
  676. package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
  677. package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
  678. package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
  679. package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
  680. package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
  681. package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
  682. package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
  683. package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
  684. package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
  685. package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
  686. package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
  687. package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
  688. package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
  689. package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
  690. package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
  691. package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
  692. package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
  693. package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
  694. package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
  695. package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
  696. package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
  697. package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
  698. package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
  699. package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
  700. package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
  701. package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
  702. package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
  703. package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
  704. package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
  705. package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
  706. package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
  707. package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
  708. package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
  709. package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
  710. package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
  711. package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
  712. package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
  713. package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
  714. package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
  715. package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
  716. package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
  717. package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
  718. package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
  719. package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
  720. package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
  721. package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
  722. package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
  723. package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
  724. package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
  725. package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
  726. package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
  727. package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
  728. package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
  729. package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
  730. package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
  731. package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
  732. package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
  733. package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
  734. package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
  735. package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
  736. package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
  737. package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
  738. package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
  739. package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
  740. package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
  741. package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
  742. package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
  743. package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
  744. package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
  745. package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
  746. package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
  747. package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
  748. package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
  749. package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
  750. package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
  751. package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
  752. package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
  753. package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
  754. package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
  755. package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
  756. package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
  757. package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
  758. package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
  759. package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
  760. package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
  761. package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
  762. package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
  763. package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
  764. package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
  765. package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
  766. package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
  767. package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
  768. package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
  769. package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
  770. package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
  771. package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
  772. package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
  773. package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
  774. package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
  775. package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
  776. package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
  777. package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
  778. package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
  779. package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
  780. package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
  781. package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
  782. package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
  783. package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
  784. package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
  785. package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
  786. package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
  787. package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
  788. package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
  789. package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
  790. package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
  791. package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
  792. package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
  793. package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
  794. package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
  795. package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
  796. package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
  797. package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
  798. package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
  799. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
  800. package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
  801. package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
  802. package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
  803. package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
  804. package/dist/collection/components/_link/link/link.js +1 -1
  805. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  806. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  807. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  808. package/dist/collection/components/_list/list/list.js +1 -1
  809. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  810. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  811. package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
  812. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  813. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  814. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  815. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
  816. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  817. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  818. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  819. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
  820. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  821. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  822. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  823. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  824. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  825. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  826. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  827. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  828. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  829. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  830. package/dist/collection/components/_quote/quote/quote.js +1 -1
  831. package/dist/collection/components/_table/table/table.js +1 -1
  832. package/dist/collection/components/_tag/tag/tag.js +1 -1
  833. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  834. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  835. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  836. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  837. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
  838. package/dist/collection/components/_typography/typography/typography.js +1 -1
  839. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  840. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  841. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  842. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  843. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  844. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  845. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  846. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  847. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  848. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  849. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  850. package/dist/collection/design-tokens/components/_logo.variables.scss +16 -19
  851. package/dist/collection/interfaces.js +2 -2
  852. package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +15 -19
  853. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  854. package/dist/digi-arbetsformedlingen/{p-cfad003c.entry.js → p-00e12273.entry.js} +1 -1
  855. package/dist/digi-arbetsformedlingen/{p-5e37e5aa.entry.js → p-012c9ce6.entry.js} +1 -1
  856. package/dist/digi-arbetsformedlingen/{p-21653bf9.entry.js → p-01ec90b7.entry.js} +1 -1
  857. package/dist/digi-arbetsformedlingen/{p-27be8d2b.entry.js → p-0254b7a0.entry.js} +1 -1
  858. package/dist/digi-arbetsformedlingen/{p-5456a3bc.entry.js → p-06c5ef56.entry.js} +1 -1
  859. package/dist/digi-arbetsformedlingen/{p-37459590.entry.js → p-071edd63.entry.js} +1 -1
  860. package/dist/digi-arbetsformedlingen/{p-c168c84a.entry.js → p-07730a8e.entry.js} +1 -1
  861. package/dist/digi-arbetsformedlingen/{p-18006927.entry.js → p-089d928b.entry.js} +1 -1
  862. package/dist/digi-arbetsformedlingen/{p-36229058.entry.js → p-09e4471e.entry.js} +1 -1
  863. package/dist/digi-arbetsformedlingen/{p-ce8d2455.entry.js → p-10d9870d.entry.js} +1 -1
  864. package/dist/digi-arbetsformedlingen/{p-83b3f053.entry.js → p-10dd9a49.entry.js} +1 -1
  865. package/dist/digi-arbetsformedlingen/{p-2196c33b.entry.js → p-1108b754.entry.js} +1 -1
  866. package/dist/digi-arbetsformedlingen/{p-815a97f1.entry.js → p-110d71e2.entry.js} +1 -1
  867. package/dist/digi-arbetsformedlingen/{p-51c9cc1a.entry.js → p-11331424.entry.js} +1 -1
  868. package/dist/digi-arbetsformedlingen/{p-53483e1d.entry.js → p-1246da70.entry.js} +1 -1
  869. package/dist/digi-arbetsformedlingen/{p-38603899.entry.js → p-126d4aca.entry.js} +1 -1
  870. package/dist/digi-arbetsformedlingen/{p-0052b03c.entry.js → p-14c46c37.entry.js} +1 -1
  871. package/dist/digi-arbetsformedlingen/{p-a947fa52.entry.js → p-1535b321.entry.js} +1 -1
  872. package/dist/digi-arbetsformedlingen/p-1743bbb5.entry.js +1 -0
  873. package/dist/digi-arbetsformedlingen/{p-bab6f184.entry.js → p-1783f800.entry.js} +1 -1
  874. package/dist/digi-arbetsformedlingen/{p-87721a1f.entry.js → p-194b2d68.entry.js} +1 -1
  875. package/dist/digi-arbetsformedlingen/{p-664de70c.entry.js → p-1957d85a.entry.js} +1 -1
  876. package/dist/digi-arbetsformedlingen/{p-a67b4609.entry.js → p-1988baf1.entry.js} +1 -1
  877. package/dist/digi-arbetsformedlingen/{p-3ae60edc.entry.js → p-1a191be4.entry.js} +1 -1
  878. package/dist/digi-arbetsformedlingen/{p-3eb4faff.entry.js → p-1b788352.entry.js} +1 -1
  879. package/dist/digi-arbetsformedlingen/{p-4477f14c.entry.js → p-1bc60ab0.entry.js} +1 -1
  880. package/dist/digi-arbetsformedlingen/{p-431baa4e.entry.js → p-1bf78bdd.entry.js} +1 -1
  881. package/dist/digi-arbetsformedlingen/{p-c8751075.entry.js → p-1c10b11b.entry.js} +1 -1
  882. package/dist/digi-arbetsformedlingen/{p-8473e21b.entry.js → p-1d836a3e.entry.js} +1 -1
  883. package/dist/digi-arbetsformedlingen/{p-649c30ed.entry.js → p-20354ce6.entry.js} +1 -1
  884. package/dist/digi-arbetsformedlingen/{p-4eb58cf9.entry.js → p-22c420aa.entry.js} +1 -1
  885. package/dist/digi-arbetsformedlingen/{p-99e4bd13.entry.js → p-2303adba.entry.js} +1 -1
  886. package/dist/digi-arbetsformedlingen/{p-d0a8fa77.entry.js → p-2559ff9c.entry.js} +1 -1
  887. package/dist/digi-arbetsformedlingen/{p-905f3864.entry.js → p-257a08ce.entry.js} +1 -1
  888. package/dist/digi-arbetsformedlingen/{p-e69d2e1c.entry.js → p-26010df0.entry.js} +1 -1
  889. package/dist/digi-arbetsformedlingen/{p-a6a0a040.entry.js → p-2656add6.entry.js} +1 -1
  890. package/dist/digi-arbetsformedlingen/p-275de08b.entry.js +1 -0
  891. package/dist/digi-arbetsformedlingen/{p-c566cef3.entry.js → p-2b9a18c3.entry.js} +1 -1
  892. package/dist/digi-arbetsformedlingen/{p-044b32d7.entry.js → p-2c1bac02.entry.js} +1 -1
  893. package/dist/digi-arbetsformedlingen/{p-780b30f6.entry.js → p-2dac502b.entry.js} +1 -1
  894. package/dist/digi-arbetsformedlingen/{p-63148e09.entry.js → p-2e7d6275.entry.js} +1 -1
  895. package/dist/digi-arbetsformedlingen/{p-c92e206b.entry.js → p-2f7b4d00.entry.js} +1 -1
  896. package/dist/digi-arbetsformedlingen/{p-8b88c952.entry.js → p-31f5f71c.entry.js} +1 -1
  897. package/dist/digi-arbetsformedlingen/{p-a9bfc5bd.entry.js → p-3273c669.entry.js} +1 -1
  898. package/dist/digi-arbetsformedlingen/{p-a5c387e8.entry.js → p-34891a6b.entry.js} +1 -1
  899. package/dist/digi-arbetsformedlingen/{p-b48f2acd.entry.js → p-34e3e0e6.entry.js} +1 -1
  900. package/dist/digi-arbetsformedlingen/{p-4b618926.entry.js → p-3598ace4.entry.js} +1 -1
  901. package/dist/digi-arbetsformedlingen/{p-82634b60.entry.js → p-359fba9e.entry.js} +1 -1
  902. package/dist/digi-arbetsformedlingen/{p-8318562f.entry.js → p-36d4b2c8.entry.js} +1 -1
  903. package/dist/digi-arbetsformedlingen/{p-4224f1e4.entry.js → p-380b3f39.entry.js} +1 -1
  904. package/dist/digi-arbetsformedlingen/{p-4c69c234.entry.js → p-38325b58.entry.js} +1 -1
  905. package/dist/digi-arbetsformedlingen/{p-cdbfa3d0.entry.js → p-395f0bda.entry.js} +1 -1
  906. package/dist/digi-arbetsformedlingen/{p-61385dc4.entry.js → p-3c043498.entry.js} +1 -1
  907. package/dist/digi-arbetsformedlingen/{p-58f76475.entry.js → p-3cf6c027.entry.js} +1 -1
  908. package/dist/digi-arbetsformedlingen/{p-3e126f89.entry.js → p-3e74d20d.entry.js} +1 -1
  909. package/dist/digi-arbetsformedlingen/{p-1e2a9156.entry.js → p-3fb297c6.entry.js} +1 -1
  910. package/dist/digi-arbetsformedlingen/{p-b7494943.entry.js → p-40cf758f.entry.js} +1 -1
  911. package/dist/digi-arbetsformedlingen/{p-cab53989.entry.js → p-4194e1fc.entry.js} +1 -1
  912. package/dist/digi-arbetsformedlingen/{p-726a0b56.entry.js → p-41f7e512.entry.js} +1 -1
  913. package/dist/digi-arbetsformedlingen/p-44da2e39.entry.js +1 -0
  914. package/dist/digi-arbetsformedlingen/{p-8d3cb15a.entry.js → p-44f06c51.entry.js} +1 -1
  915. package/dist/digi-arbetsformedlingen/{p-658aa433.entry.js → p-462d6f20.entry.js} +1 -1
  916. package/dist/digi-arbetsformedlingen/{p-89566597.entry.js → p-47a41577.entry.js} +1 -1
  917. package/dist/digi-arbetsformedlingen/{p-ef9a3ddc.entry.js → p-49c82d68.entry.js} +1 -1
  918. package/dist/digi-arbetsformedlingen/{p-588fe3b5.entry.js → p-4a5cacf7.entry.js} +1 -1
  919. package/dist/digi-arbetsformedlingen/{p-9763005c.entry.js → p-4b00b1c3.entry.js} +1 -1
  920. package/dist/digi-arbetsformedlingen/{p-a7361f39.entry.js → p-4bbed9ef.entry.js} +1 -1
  921. package/dist/digi-arbetsformedlingen/{p-d5376b7c.entry.js → p-4ee6b711.entry.js} +1 -1
  922. package/dist/digi-arbetsformedlingen/{p-a98df65c.entry.js → p-5177b503.entry.js} +1 -1
  923. package/dist/digi-arbetsformedlingen/{p-66483a84.entry.js → p-531d681a.entry.js} +1 -1
  924. package/dist/digi-arbetsformedlingen/{p-a1ae9863.entry.js → p-5491d7d4.entry.js} +1 -1
  925. package/dist/digi-arbetsformedlingen/{p-20ef225a.entry.js → p-554aae7c.entry.js} +1 -1
  926. package/dist/digi-arbetsformedlingen/{p-77ea6604.entry.js → p-55ef7f3d.entry.js} +1 -1
  927. package/dist/digi-arbetsformedlingen/{p-93ec0277.entry.js → p-57118749.entry.js} +1 -1
  928. package/dist/digi-arbetsformedlingen/{p-8355c75d.entry.js → p-57459e51.entry.js} +1 -1
  929. package/dist/digi-arbetsformedlingen/{p-7660ba5b.entry.js → p-574a7418.entry.js} +1 -1
  930. package/dist/digi-arbetsformedlingen/{p-2f57b446.entry.js → p-57790de9.entry.js} +1 -1
  931. package/dist/digi-arbetsformedlingen/{p-e627abeb.entry.js → p-58d4933f.entry.js} +1 -1
  932. package/dist/digi-arbetsformedlingen/{p-9f03b573.entry.js → p-5a27b6b5.entry.js} +1 -1
  933. package/dist/digi-arbetsformedlingen/{p-5d0ffc80.entry.js → p-5aabb979.entry.js} +1 -1
  934. package/dist/digi-arbetsformedlingen/{p-07b02fa8.entry.js → p-5abfd0c7.entry.js} +1 -1
  935. package/dist/digi-arbetsformedlingen/{p-9cf50217.entry.js → p-5cdc0458.entry.js} +1 -1
  936. package/dist/digi-arbetsformedlingen/{p-0bc366fb.entry.js → p-5d79bfc0.entry.js} +1 -1
  937. package/dist/digi-arbetsformedlingen/{p-1241d74a.entry.js → p-5dae03d4.entry.js} +1 -1
  938. package/dist/digi-arbetsformedlingen/{p-db7c2105.entry.js → p-5e8a9b5a.entry.js} +1 -1
  939. package/dist/digi-arbetsformedlingen/{p-804cb867.entry.js → p-601a994c.entry.js} +1 -1
  940. package/dist/digi-arbetsformedlingen/{p-edfdf8e9.entry.js → p-60665a18.entry.js} +1 -1
  941. package/dist/digi-arbetsformedlingen/{p-2aa3ed49.entry.js → p-62326367.entry.js} +1 -1
  942. package/dist/digi-arbetsformedlingen/{p-099b1bac.entry.js → p-630cd660.entry.js} +1 -1
  943. package/dist/digi-arbetsformedlingen/{p-16b8d192.entry.js → p-631334ff.entry.js} +1 -1
  944. package/dist/digi-arbetsformedlingen/{p-af4b851e.entry.js → p-65de40aa.entry.js} +1 -1
  945. package/dist/digi-arbetsformedlingen/{p-352712b9.entry.js → p-66523239.entry.js} +1 -1
  946. package/dist/digi-arbetsformedlingen/{p-4bb41707.entry.js → p-667d915b.entry.js} +1 -1
  947. package/dist/digi-arbetsformedlingen/{p-49aeb019.entry.js → p-690e5bad.entry.js} +1 -1
  948. package/dist/digi-arbetsformedlingen/{p-0a904539.entry.js → p-6a7e65ec.entry.js} +1 -1
  949. package/dist/digi-arbetsformedlingen/{p-9495044c.entry.js → p-6a80fc2b.entry.js} +1 -1
  950. package/dist/digi-arbetsformedlingen/{p-6a33818a.entry.js → p-6b03f6d8.entry.js} +1 -1
  951. package/dist/digi-arbetsformedlingen/{p-c4cf1215.entry.js → p-6ba7b2f8.entry.js} +1 -1
  952. package/dist/digi-arbetsformedlingen/{p-5ee51a86.entry.js → p-6c601c76.entry.js} +1 -1
  953. package/dist/digi-arbetsformedlingen/{p-5aae7437.entry.js → p-6ca52876.entry.js} +1 -1
  954. package/dist/digi-arbetsformedlingen/{p-e8fd0aed.entry.js → p-6f6281e4.entry.js} +1 -1
  955. package/dist/digi-arbetsformedlingen/{p-18ffcb24.entry.js → p-70468ce6.entry.js} +1 -1
  956. package/dist/digi-arbetsformedlingen/{p-fc945ec1.entry.js → p-70677284.entry.js} +1 -1
  957. package/dist/digi-arbetsformedlingen/{p-2ffd9c4c.entry.js → p-713eee6b.entry.js} +1 -1
  958. package/dist/digi-arbetsformedlingen/{p-4f6b2e2a.entry.js → p-728a2192.entry.js} +1 -1
  959. package/dist/digi-arbetsformedlingen/{p-b81e0aec.entry.js → p-73046585.entry.js} +1 -1
  960. package/dist/digi-arbetsformedlingen/{p-7d597755.entry.js → p-732be7a0.entry.js} +1 -1
  961. package/dist/digi-arbetsformedlingen/{p-b734218c.entry.js → p-73b6d872.entry.js} +1 -1
  962. package/dist/digi-arbetsformedlingen/{p-fe235598.entry.js → p-756f88d1.entry.js} +1 -1
  963. package/dist/digi-arbetsformedlingen/{p-2c7d4ecf.entry.js → p-773ab423.entry.js} +1 -1
  964. package/dist/digi-arbetsformedlingen/{p-8328e58b.entry.js → p-788b29ec.entry.js} +1 -1
  965. package/dist/digi-arbetsformedlingen/{p-de1e9254.entry.js → p-78cd2706.entry.js} +1 -1
  966. package/dist/digi-arbetsformedlingen/{p-4b5edc89.entry.js → p-79f4abc4.entry.js} +1 -1
  967. package/dist/digi-arbetsformedlingen/{p-df2038b9.entry.js → p-7b089cb7.entry.js} +1 -1
  968. package/dist/digi-arbetsformedlingen/{p-d7cdbe75.entry.js → p-7b2f12b2.entry.js} +1 -1
  969. package/dist/digi-arbetsformedlingen/{p-8e16d36a.entry.js → p-7bb7a25a.entry.js} +1 -1
  970. package/dist/digi-arbetsformedlingen/{p-16303afa.entry.js → p-7ca774e8.entry.js} +1 -1
  971. package/dist/digi-arbetsformedlingen/{p-5503d5be.entry.js → p-7cf555b3.entry.js} +1 -1
  972. package/dist/digi-arbetsformedlingen/{p-5b01d3e2.entry.js → p-7cf8107e.entry.js} +1 -1
  973. package/dist/digi-arbetsformedlingen/{p-b10a1760.entry.js → p-7e7c82f3.entry.js} +1 -1
  974. package/dist/digi-arbetsformedlingen/{p-bb1daa3b.entry.js → p-7f56550a.entry.js} +1 -1
  975. package/dist/digi-arbetsformedlingen/{p-f6476365.entry.js → p-7fa5601d.entry.js} +1 -1
  976. package/dist/digi-arbetsformedlingen/{p-9e4a0fe4.entry.js → p-80439965.entry.js} +1 -1
  977. package/dist/digi-arbetsformedlingen/{p-1cc801fd.entry.js → p-810a40e3.entry.js} +1 -1
  978. package/dist/digi-arbetsformedlingen/{p-b63e0b2d.entry.js → p-815b4882.entry.js} +1 -1
  979. package/dist/digi-arbetsformedlingen/{p-5473bfea.entry.js → p-828461a1.entry.js} +1 -1
  980. package/dist/digi-arbetsformedlingen/{p-9a7e195c.entry.js → p-878a5e40.entry.js} +1 -1
  981. package/dist/digi-arbetsformedlingen/{p-c8257c8c.entry.js → p-87ae4ae3.entry.js} +1 -1
  982. package/dist/digi-arbetsformedlingen/{p-60989dea.entry.js → p-8945ea11.entry.js} +1 -1
  983. package/dist/digi-arbetsformedlingen/{p-4871b74a.entry.js → p-89eea066.entry.js} +1 -1
  984. package/dist/digi-arbetsformedlingen/{p-e55d3abf.entry.js → p-8aa5732b.entry.js} +1 -1
  985. package/dist/digi-arbetsformedlingen/{p-1e03ba21.entry.js → p-8b38261b.entry.js} +1 -1
  986. package/dist/digi-arbetsformedlingen/{p-accb56da.entry.js → p-8b620bb4.entry.js} +1 -1
  987. package/dist/digi-arbetsformedlingen/{p-9ea535e1.entry.js → p-8bfe319c.entry.js} +1 -1
  988. package/dist/digi-arbetsformedlingen/{p-b32df740.entry.js → p-8f1d812e.entry.js} +1 -1
  989. package/dist/digi-arbetsformedlingen/{p-7d54fe81.entry.js → p-8fb4be3e.entry.js} +1 -1
  990. package/dist/digi-arbetsformedlingen/{p-d1a77b0b.entry.js → p-938d5268.entry.js} +1 -1
  991. package/dist/digi-arbetsformedlingen/{p-bb554f34.entry.js → p-94056eff.entry.js} +1 -1
  992. package/dist/digi-arbetsformedlingen/{p-4788712e.entry.js → p-94d31951.entry.js} +1 -1
  993. package/dist/digi-arbetsformedlingen/{p-a439e93f.entry.js → p-96ac63da.entry.js} +1 -1
  994. package/dist/digi-arbetsformedlingen/{p-d46b426b.entry.js → p-975c07d8.entry.js} +1 -1
  995. package/dist/digi-arbetsformedlingen/{p-11b5ab8d.entry.js → p-97e025c7.entry.js} +1 -1
  996. package/dist/digi-arbetsformedlingen/{p-33425742.entry.js → p-99faaa94.entry.js} +1 -1
  997. package/dist/digi-arbetsformedlingen/{p-a4895704.entry.js → p-9e10ac9a.entry.js} +1 -1
  998. package/dist/digi-arbetsformedlingen/p-9e3ab016.entry.js +1 -0
  999. package/dist/digi-arbetsformedlingen/{p-c721f99a.entry.js → p-9f3b65c9.entry.js} +1 -1
  1000. package/dist/digi-arbetsformedlingen/{p-f7628391.entry.js → p-a2111444.entry.js} +1 -1
  1001. package/dist/digi-arbetsformedlingen/{p-f2eb8ee5.entry.js → p-a2580017.entry.js} +1 -1
  1002. package/dist/digi-arbetsformedlingen/{p-83269fe6.entry.js → p-a393d458.entry.js} +1 -1
  1003. package/dist/digi-arbetsformedlingen/{p-76eb331e.entry.js → p-a437b3f9.entry.js} +1 -1
  1004. package/dist/digi-arbetsformedlingen/{p-c70ba82f.entry.js → p-a4af962c.entry.js} +1 -1
  1005. package/dist/digi-arbetsformedlingen/{p-baac6e73.entry.js → p-a540bf30.entry.js} +1 -1
  1006. package/dist/digi-arbetsformedlingen/p-a5d3d3c3.entry.js +1 -0
  1007. package/dist/digi-arbetsformedlingen/{p-222a2b41.entry.js → p-a5ebb909.entry.js} +1 -1
  1008. package/dist/digi-arbetsformedlingen/{p-c917502e.entry.js → p-a71ae220.entry.js} +1 -1
  1009. package/dist/digi-arbetsformedlingen/{p-7e6d699e.entry.js → p-a8ffe40b.entry.js} +1 -1
  1010. package/dist/digi-arbetsformedlingen/{p-6e925e52.entry.js → p-aacb29b9.entry.js} +1 -1
  1011. package/dist/digi-arbetsformedlingen/{p-0ac9f348.entry.js → p-ab058e08.entry.js} +1 -1
  1012. package/dist/digi-arbetsformedlingen/{p-9fe345d1.entry.js → p-aca55593.entry.js} +1 -1
  1013. package/dist/digi-arbetsformedlingen/{p-c81d1d0b.entry.js → p-acdc4ad2.entry.js} +1 -1
  1014. package/dist/digi-arbetsformedlingen/{p-c30a3366.entry.js → p-ae6819c3.entry.js} +1 -1
  1015. package/dist/digi-arbetsformedlingen/{p-dcaa4461.entry.js → p-afd55426.entry.js} +1 -1
  1016. package/dist/digi-arbetsformedlingen/{p-cd770cb4.entry.js → p-b1f348dd.entry.js} +1 -1
  1017. package/dist/digi-arbetsformedlingen/{p-293ea71f.entry.js → p-b1f62aa7.entry.js} +1 -1
  1018. package/dist/digi-arbetsformedlingen/{p-5a08f170.entry.js → p-b20e4b2b.entry.js} +1 -1
  1019. package/dist/digi-arbetsformedlingen/{p-0c210491.entry.js → p-b21a2e98.entry.js} +1 -1
  1020. package/dist/digi-arbetsformedlingen/{p-fc252a02.entry.js → p-b26d1962.entry.js} +1 -1
  1021. package/dist/digi-arbetsformedlingen/{p-d2a12b86.entry.js → p-b6b80e5e.entry.js} +1 -1
  1022. package/dist/digi-arbetsformedlingen/{p-6de493b0.entry.js → p-b8d19dbd.entry.js} +1 -1
  1023. package/dist/digi-arbetsformedlingen/{p-73f6209d.entry.js → p-b97f4844.entry.js} +1 -1
  1024. package/dist/digi-arbetsformedlingen/{p-43a43f09.entry.js → p-b9f5938f.entry.js} +1 -1
  1025. package/dist/digi-arbetsformedlingen/{p-d146131e.entry.js → p-ba527995.entry.js} +1 -1
  1026. package/dist/digi-arbetsformedlingen/{p-39604e43.entry.js → p-bc24cbe8.entry.js} +1 -1
  1027. package/dist/digi-arbetsformedlingen/{p-014044a7.entry.js → p-bdcbcdc8.entry.js} +1 -1
  1028. package/dist/digi-arbetsformedlingen/{p-8fa46692.entry.js → p-beaad0d0.entry.js} +1 -1
  1029. package/dist/digi-arbetsformedlingen/{p-592fd6a9.entry.js → p-bf0dfd0b.entry.js} +1 -1
  1030. package/dist/digi-arbetsformedlingen/{p-0e634a09.entry.js → p-bf72ed5a.entry.js} +1 -1
  1031. package/dist/digi-arbetsformedlingen/{p-3212807d.entry.js → p-c01795e5.entry.js} +1 -1
  1032. package/dist/digi-arbetsformedlingen/p-c134240a.entry.js +1 -0
  1033. package/dist/digi-arbetsformedlingen/{p-2062e63b.entry.js → p-c19ce9d4.entry.js} +1 -1
  1034. package/dist/digi-arbetsformedlingen/{p-e917904e.entry.js → p-c1ccede0.entry.js} +1 -1
  1035. package/dist/digi-arbetsformedlingen/{p-1bd29b6a.entry.js → p-c3ca35dd.entry.js} +1 -1
  1036. package/dist/digi-arbetsformedlingen/{p-4fe05e2f.entry.js → p-c3fb7dd7.entry.js} +1 -1
  1037. package/dist/digi-arbetsformedlingen/{p-48113595.entry.js → p-c53510ef.entry.js} +1 -1
  1038. package/dist/digi-arbetsformedlingen/{p-7474d7b0.entry.js → p-c66d07b2.entry.js} +1 -1
  1039. package/dist/digi-arbetsformedlingen/{p-1fcbbf5f.entry.js → p-c71d48b2.entry.js} +1 -1
  1040. package/dist/digi-arbetsformedlingen/{p-8ef4cf4a.entry.js → p-cb564e82.entry.js} +1 -1
  1041. package/dist/digi-arbetsformedlingen/{p-16dd9b3f.entry.js → p-cbca6d07.entry.js} +1 -1
  1042. package/dist/digi-arbetsformedlingen/{p-01df63d6.entry.js → p-ce0dabff.entry.js} +1 -1
  1043. package/dist/digi-arbetsformedlingen/{p-3c28625a.entry.js → p-d1ecee88.entry.js} +1 -1
  1044. package/dist/digi-arbetsformedlingen/{p-57dd2b38.entry.js → p-d2ab4ed2.entry.js} +1 -1
  1045. package/dist/digi-arbetsformedlingen/p-d378e55c.entry.js +1 -0
  1046. package/dist/digi-arbetsformedlingen/{p-4e2e1902.entry.js → p-d4db7f47.entry.js} +1 -1
  1047. package/dist/digi-arbetsformedlingen/{p-bb0935fc.entry.js → p-d8eb784a.entry.js} +1 -1
  1048. package/dist/digi-arbetsformedlingen/{p-1dc8b284.entry.js → p-d98cbbc6.entry.js} +1 -1
  1049. package/dist/digi-arbetsformedlingen/{p-5d30475d.entry.js → p-d9d512a2.entry.js} +1 -1
  1050. package/dist/digi-arbetsformedlingen/{p-80a77b6e.entry.js → p-da873ca4.entry.js} +1 -1
  1051. package/dist/digi-arbetsformedlingen/{p-ccd18e1a.entry.js → p-dbba5d69.entry.js} +1 -1
  1052. package/dist/digi-arbetsformedlingen/{p-5ac3d7a9.entry.js → p-dbbfef28.entry.js} +1 -1
  1053. package/dist/digi-arbetsformedlingen/{p-90bc53dc.entry.js → p-dbc3b435.entry.js} +1 -1
  1054. package/dist/digi-arbetsformedlingen/{p-218b829e.entry.js → p-de4fbcd3.entry.js} +1 -1
  1055. package/dist/digi-arbetsformedlingen/{p-a884ccf8.entry.js → p-df25ab6c.entry.js} +1 -1
  1056. package/dist/digi-arbetsformedlingen/{p-56ca6c5c.entry.js → p-e0332fa2.entry.js} +1 -1
  1057. package/dist/digi-arbetsformedlingen/{p-676ab6ef.entry.js → p-e0c26551.entry.js} +1 -1
  1058. package/dist/digi-arbetsformedlingen/{p-9a73a55d.entry.js → p-e11ceb56.entry.js} +1 -1
  1059. package/dist/digi-arbetsformedlingen/{p-9d15493f.entry.js → p-e4e62c4c.entry.js} +1 -1
  1060. package/dist/digi-arbetsformedlingen/{p-34ef0baa.entry.js → p-e589bb2d.entry.js} +1 -1
  1061. package/dist/digi-arbetsformedlingen/{p-5acaf4b0.entry.js → p-e5d8a700.entry.js} +1 -1
  1062. package/dist/digi-arbetsformedlingen/{p-b21e9c0a.entry.js → p-e61f241a.entry.js} +1 -1
  1063. package/dist/digi-arbetsformedlingen/{p-eeec1cf1.entry.js → p-e79c0ed4.entry.js} +1 -1
  1064. package/dist/digi-arbetsformedlingen/{p-f6b2d484.entry.js → p-e81118c0.entry.js} +1 -1
  1065. package/dist/digi-arbetsformedlingen/{p-f9315403.entry.js → p-e9a38c46.entry.js} +1 -1
  1066. package/dist/digi-arbetsformedlingen/p-ebe1a123.entry.js +1 -0
  1067. package/dist/digi-arbetsformedlingen/{p-a0267f76.entry.js → p-ebf72947.entry.js} +1 -1
  1068. package/dist/digi-arbetsformedlingen/{p-07513ee6.entry.js → p-ec6b2a9f.entry.js} +1 -1
  1069. package/dist/digi-arbetsformedlingen/{p-e10e24fc.entry.js → p-efb71c3e.entry.js} +1 -1
  1070. package/dist/digi-arbetsformedlingen/{p-ad471fd2.entry.js → p-f2fb8b75.entry.js} +1 -1
  1071. package/dist/digi-arbetsformedlingen/{p-27388bc4.entry.js → p-f4e149c8.entry.js} +1 -1
  1072. package/dist/digi-arbetsformedlingen/{p-01c29a14.entry.js → p-f557e3c1.entry.js} +1 -1
  1073. package/dist/digi-arbetsformedlingen/p-f59e3142.entry.js +1 -0
  1074. package/dist/digi-arbetsformedlingen/{p-9045d5ff.entry.js → p-f5c90c67.entry.js} +1 -1
  1075. package/dist/digi-arbetsformedlingen/{p-2412deb9.entry.js → p-f60443a4.entry.js} +1 -1
  1076. package/dist/digi-arbetsformedlingen/{p-9df20034.entry.js → p-f60f2522.entry.js} +1 -1
  1077. package/dist/digi-arbetsformedlingen/{p-1a21de52.entry.js → p-f6e7076a.entry.js} +1 -1
  1078. package/dist/digi-arbetsformedlingen/{p-40f5fda7.entry.js → p-f77fd434.entry.js} +1 -1
  1079. package/dist/digi-arbetsformedlingen/{p-9789b001.entry.js → p-f78590cc.entry.js} +1 -1
  1080. package/dist/digi-arbetsformedlingen/{p-56cb2ded.entry.js → p-f9d7d880.entry.js} +1 -1
  1081. package/dist/digi-arbetsformedlingen/{p-f69dbfcf.entry.js → p-fa82c26d.entry.js} +1 -1
  1082. package/dist/digi-arbetsformedlingen/{p-45af5d55.entry.js → p-fd88cc1c.entry.js} +1 -1
  1083. package/dist/digi-arbetsformedlingen/{p-69010d14.entry.js → p-fde27f08.entry.js} +1 -1
  1084. package/dist/digi-arbetsformedlingen/{p-ba39e14b.entry.js → p-fe5ba864.entry.js} +1 -1
  1085. package/dist/esm/digi-bar-chart_27.entry.js +721 -507
  1086. package/dist/esm/digi-calendar_2.entry.js +2 -2
  1087. package/dist/esm/digi-chart-line.entry.js +1 -1
  1088. package/dist/esm/digi-code-block_3.entry.js +4 -4
  1089. package/dist/esm/digi-code-example.entry.js +4 -4
  1090. package/dist/esm/digi-code.entry.js +1 -1
  1091. package/dist/esm/digi-context-menu.entry.js +3 -3
  1092. package/dist/esm/digi-dialog.entry.js +3 -3
  1093. package/dist/esm/digi-expandable-accordion.entry.js +1 -1
  1094. package/dist/esm/digi-expandable-faq-item.entry.js +4 -4
  1095. package/dist/esm/digi-expandable-faq.entry.js +2 -2
  1096. package/dist/esm/digi-footer-card.entry.js +1 -1
  1097. package/dist/esm/digi-footer.entry.js +1 -1
  1098. package/dist/esm/digi-form-category-filter.entry.js +2 -2
  1099. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  1100. package/dist/esm/digi-form-error-list.entry.js +3 -3
  1101. package/dist/esm/digi-form-file-upload.entry.js +7 -7
  1102. package/dist/esm/digi-form-filter.entry.js +5 -5
  1103. package/dist/esm/digi-form-input-search.entry.js +2 -2
  1104. package/dist/esm/digi-form-input.entry.js +3 -3
  1105. package/dist/esm/digi-form-label_5.entry.js +8 -8
  1106. package/dist/esm/digi-form-radiogroup.entry.js +2 -2
  1107. package/dist/esm/digi-form-receipt.entry.js +1 -1
  1108. package/dist/esm/digi-form-select-filter.entry.js +7 -7
  1109. package/dist/esm/digi-form-select_2.entry.js +6 -6
  1110. package/dist/esm/digi-form-textarea.entry.js +3 -3
  1111. package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
  1112. package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
  1113. package/dist/esm/digi-icon-apple.entry.js +2 -2
  1114. package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
  1115. package/dist/esm/digi-icon-archive.entry.js +2 -2
  1116. package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
  1117. package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
  1118. package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
  1119. package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
  1120. package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
  1121. package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
  1122. package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
  1123. package/dist/esm/digi-icon-at.entry.js +2 -2
  1124. package/dist/esm/digi-icon-bell.entry.js +2 -2
  1125. package/dist/esm/digi-icon-book.entry.js +2 -2
  1126. package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
  1127. package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
  1128. package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
  1129. package/dist/esm/digi-icon-bubble.entry.js +2 -2
  1130. package/dist/esm/digi-icon-building-outline.entry.js +2 -2
  1131. package/dist/esm/digi-icon-building-solid.entry.js +2 -2
  1132. package/dist/esm/digi-icon-bullseye.entry.js +2 -2
  1133. package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
  1134. package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
  1135. package/dist/esm/digi-icon-calendar.entry.js +2 -2
  1136. package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
  1137. package/dist/esm/digi-icon-caret-left.entry.js +2 -2
  1138. package/dist/esm/digi-icon-caret-right.entry.js +2 -2
  1139. package/dist/esm/digi-icon-chat.entry.js +2 -2
  1140. package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
  1141. package/dist/esm/digi-icon-check-circle-solid_4.entry.js +8 -8
  1142. package/dist/esm/digi-icon-check.entry.js +2 -2
  1143. package/dist/esm/digi-icon-checklist.entry.js +2 -2
  1144. package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
  1145. package/dist/esm/digi-icon-chevron-left.entry.js +2 -2
  1146. package/dist/esm/digi-icon-chevron-right.entry.js +2 -2
  1147. package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
  1148. package/dist/esm/digi-icon-clock.entry.js +2 -2
  1149. package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
  1150. package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
  1151. package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
  1152. package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
  1153. package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
  1154. package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
  1155. package/dist/esm/digi-icon-cooperation.entry.js +2 -2
  1156. package/dist/esm/digi-icon-copy.entry.js +2 -2
  1157. package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
  1158. package/dist/esm/digi-icon-download.entry.js +2 -2
  1159. package/dist/esm/digi-icon-dxa.entry.js +2 -2
  1160. package/dist/esm/digi-icon-edit.entry.js +2 -2
  1161. package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
  1162. package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
  1163. package/dist/esm/digi-icon-envelope.entry.js +2 -2
  1164. package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
  1165. package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
  1166. package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
  1167. package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
  1168. package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
  1169. package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
  1170. package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
  1171. package/dist/esm/digi-icon-eye.entry.js +2 -2
  1172. package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
  1173. package/dist/esm/digi-icon-file-add.entry.js +1 -1
  1174. package/dist/esm/digi-icon-file-document.entry.js +2 -2
  1175. package/dist/esm/digi-icon-file-excel.entry.js +2 -2
  1176. package/dist/esm/digi-icon-file-export.entry.js +1 -1
  1177. package/dist/esm/digi-icon-file-governing.entry.js +2 -2
  1178. package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
  1179. package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
  1180. package/dist/esm/digi-icon-file-remove.entry.js +1 -1
  1181. package/dist/esm/digi-icon-file-word.entry.js +2 -2
  1182. package/dist/esm/digi-icon-film.entry.js +2 -2
  1183. package/dist/esm/digi-icon-filter.entry.js +2 -2
  1184. package/dist/esm/digi-icon-folder-add.entry.js +1 -1
  1185. package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
  1186. package/dist/esm/digi-icon-folder-open.entry.js +1 -1
  1187. package/dist/esm/digi-icon-folder.entry.js +1 -1
  1188. package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
  1189. package/dist/esm/digi-icon-globe.entry.js +2 -2
  1190. package/dist/esm/digi-icon-headphones.entry.js +2 -2
  1191. package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
  1192. package/dist/esm/digi-icon-heart.entry.js +2 -2
  1193. package/dist/esm/digi-icon-history.entry.js +2 -2
  1194. package/dist/esm/digi-icon-home.entry.js +2 -2
  1195. package/dist/esm/digi-icon-image.entry.js +2 -2
  1196. package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
  1197. package/dist/esm/digi-icon-instagram.entry.js +2 -2
  1198. package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
  1199. package/dist/esm/digi-icon-language-outline.entry.js +2 -2
  1200. package/dist/esm/digi-icon-language.entry.js +2 -2
  1201. package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
  1202. package/dist/esm/digi-icon-lattlast.entry.js +2 -2
  1203. package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
  1204. package/dist/esm/digi-icon-licence-car.entry.js +2 -2
  1205. package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
  1206. package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
  1207. package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
  1208. package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
  1209. package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
  1210. package/dist/esm/digi-icon-lock.entry.js +2 -2
  1211. package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
  1212. package/dist/esm/digi-icon-marker.entry.js +2 -2
  1213. package/dist/esm/digi-icon-media-course.entry.js +2 -2
  1214. package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
  1215. package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
  1216. package/dist/esm/digi-icon-microphone.entry.js +2 -2
  1217. package/dist/esm/digi-icon-move.entry.js +2 -2
  1218. package/dist/esm/digi-icon-notification-error_4.entry.js +8 -8
  1219. package/dist/esm/digi-icon-online-interview.entry.js +2 -2
  1220. package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
  1221. package/dist/esm/digi-icon-online-task.entry.js +2 -2
  1222. package/dist/esm/digi-icon-open-source.entry.js +2 -2
  1223. package/dist/esm/digi-icon-palette.entry.js +2 -2
  1224. package/dist/esm/digi-icon-paste.entry.js +1 -1
  1225. package/dist/esm/digi-icon-pen.entry.js +2 -2
  1226. package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
  1227. package/dist/esm/digi-icon-phone.entry.js +2 -2
  1228. package/dist/esm/digi-icon-print.entry.js +2 -2
  1229. package/dist/esm/digi-icon-read.entry.js +2 -2
  1230. package/dist/esm/digi-icon-redo.entry.js +2 -2
  1231. package/dist/esm/digi-icon-scale.entry.js +1 -1
  1232. package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
  1233. package/dist/esm/digi-icon-screensharing.entry.js +2 -2
  1234. package/dist/esm/digi-icon-search.entry.js +2 -2
  1235. package/dist/esm/digi-icon-send-outline.entry.js +2 -2
  1236. package/dist/esm/digi-icon-send-solid.entry.js +2 -2
  1237. package/dist/esm/digi-icon-settings.entry.js +2 -2
  1238. package/dist/esm/digi-icon-share-alt.entry.js +2 -2
  1239. package/dist/esm/digi-icon-share-chain.entry.js +2 -2
  1240. package/dist/esm/digi-icon-sign.entry.js +2 -2
  1241. package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
  1242. package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
  1243. package/dist/esm/digi-icon-sort-down.entry.js +2 -2
  1244. package/dist/esm/digi-icon-sort-up.entry.js +2 -2
  1245. package/dist/esm/digi-icon-sort.entry.js +2 -2
  1246. package/dist/esm/digi-icon-spinner.entry.js +2 -2
  1247. package/dist/esm/digi-icon-star-reg.entry.js +2 -2
  1248. package/dist/esm/digi-icon-star.entry.js +2 -2
  1249. package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
  1250. package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
  1251. package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
  1252. package/dist/esm/digi-icon-table-column.entry.js +2 -2
  1253. package/dist/esm/digi-icon-table-row.entry.js +2 -2
  1254. package/dist/esm/digi-icon-task-done.entry.js +2 -2
  1255. package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
  1256. package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
  1257. package/dist/esm/digi-icon-twitter.entry.js +2 -2
  1258. package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
  1259. package/dist/esm/digi-icon-unlock.entry.js +2 -2
  1260. package/dist/esm/digi-icon-update.entry.js +2 -2
  1261. package/dist/esm/digi-icon-upload.entry.js +2 -2
  1262. package/dist/esm/digi-icon-user-add.entry.js +1 -1
  1263. package/dist/esm/digi-icon-user-alt.entry.js +2 -2
  1264. package/dist/esm/digi-icon-user-edit.entry.js +1 -1
  1265. package/dist/esm/digi-icon-users-solid.entry.js +2 -2
  1266. package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
  1267. package/dist/esm/digi-icon-videocamera.entry.js +2 -2
  1268. package/dist/esm/digi-icon-volume.entry.js +2 -2
  1269. package/dist/esm/digi-icon-web-tv.entry.js +2 -2
  1270. package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
  1271. package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
  1272. package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
  1273. package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
  1274. package/dist/esm/digi-icon-window.entry.js +2 -2
  1275. package/dist/esm/digi-icon-x-button.entry.js +2 -2
  1276. package/dist/esm/digi-icon-youtube.entry.js +2 -2
  1277. package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
  1278. package/dist/esm/digi-info-card-multi.entry.js +1 -1
  1279. package/dist/esm/digi-info-card.entry.js +1 -1
  1280. package/dist/esm/digi-layout-columns.entry.js +1 -1
  1281. package/dist/esm/digi-link-button.entry.js +1 -1
  1282. package/dist/esm/digi-link-internal.entry.js +1 -1
  1283. package/dist/esm/digi-link.entry.js +1 -1
  1284. package/dist/esm/digi-list.entry.js +1 -1
  1285. package/dist/esm/digi-loader-skeleton.entry.js +3 -3
  1286. package/dist/esm/digi-loader-spinner.entry.js +1 -1
  1287. package/dist/esm/digi-media-figure.entry.js +1 -1
  1288. package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
  1289. package/dist/esm/digi-navigation-pagination.entry.js +6 -6
  1290. package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
  1291. package/dist/esm/digi-notification-alert.entry.js +2 -2
  1292. package/dist/esm/digi-notification-error-page.entry.js +3 -3
  1293. package/dist/esm/digi-progress-circle.entry.js +8 -8
  1294. package/dist/esm/digi-progress-indicator.entry.js +3 -3
  1295. package/dist/esm/digi-progress-list-item.entry.js +5 -5
  1296. package/dist/esm/digi-progress-list.entry.js +1 -1
  1297. package/dist/esm/digi-progressbar.entry.js +2 -2
  1298. package/dist/esm/digi-quote.entry.js +1 -1
  1299. package/dist/esm/digi-table.entry.js +1 -1
  1300. package/dist/esm/digi-tablist-panel.entry.js +2 -2
  1301. package/dist/esm/digi-tablist.entry.js +5 -5
  1302. package/dist/esm/digi-tag-media.entry.js +2 -2
  1303. package/dist/esm/digi-tag.entry.js +1 -1
  1304. package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
  1305. package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
  1306. package/dist/esm/digi-tools-feedback.entry.js +1 -1
  1307. package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
  1308. package/dist/esm/digi-typography-heading-jumbo.entry.js +1 -1
  1309. package/dist/esm/digi-typography-meta.entry.js +1 -1
  1310. package/dist/esm/digi-typography-preamble.entry.js +1 -1
  1311. package/dist/esm/digi-typography-time.entry.js +1 -1
  1312. package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
  1313. package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
  1314. package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
  1315. package/dist/esm/digi-util-resize-observer.entry.js +1 -1
  1316. package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +49 -41
  1317. package/dist/types/components/_chart/chart-line/chart-line.d.ts +1 -1
  1318. package/dist/types/components/_chart/interfaces/bar-chart-data.interface.d.ts +28 -0
  1319. package/dist/types/components/_chart/{chart-line/chart-line-series.interface.d.ts → interfaces/chart-data-series.interface.d.ts} +1 -1
  1320. package/dist/types/components/_chart/{chart-line/chart-line-data.interface.d.ts → interfaces/line-chart-data.interface.d.ts} +2 -2
  1321. package/dist/types/components.d.ts +8 -6
  1322. package/dist/types/interfaces.d.ts +2 -2
  1323. package/hydrate/index.js +1214 -1000
  1324. package/hydrate/index.mjs +1214 -1000
  1325. package/package.json +1 -1
  1326. package/dist/digi-arbetsformedlingen/p-37377041.entry.js +0 -1
  1327. package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +0 -1
  1328. package/dist/digi-arbetsformedlingen/p-7393b76b.entry.js +0 -1
  1329. package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +0 -1
  1330. package/dist/digi-arbetsformedlingen/p-b924bb0b.entry.js +0 -1
  1331. package/dist/digi-arbetsformedlingen/p-d2799e99.entry.js +0 -1
  1332. package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +0 -1
  1333. package/dist/digi-arbetsformedlingen/p-ea09368a.entry.js +0 -1
  1334. package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +0 -1
  1335. /package/dist/collection/components/_chart/{chart-line/chart-line-data.interface.js → interfaces/bar-chart-data.interface.js} +0 -0
  1336. /package/dist/collection/components/_chart/{chart-line/chart-line-series.interface.js → interfaces/chart-data-series.interface.js} +0 -0
@@ -4,12 +4,12 @@ import { _ as _t } from './p-08cf2c0e.js';
4
4
  import { r as randomIdGenerator } from './p-ffe5c0e8.js';
5
5
  import { B as BarChartVariation } from './p-dcdffb3c.js';
6
6
  import { d as defineCustomElement$8 } from './p-e8fc33ed.js';
7
- import { d as defineCustomElement$7 } from './p-300490fb.js';
8
- import { d as defineCustomElement$6 } from './p-f147733f.js';
9
- import { d as defineCustomElement$5 } from './p-b5523600.js';
10
- import { d as defineCustomElement$4 } from './p-bbaf1285.js';
11
- import { d as defineCustomElement$3 } from './p-0e6bb1ce.js';
12
- import { d as defineCustomElement$2 } from './p-764c106c.js';
7
+ import { d as defineCustomElement$7 } from './p-4241698a.js';
8
+ import { d as defineCustomElement$6 } from './p-5ef44852.js';
9
+ import { d as defineCustomElement$5 } from './p-3c9cea93.js';
10
+ import { d as defineCustomElement$4 } from './p-94603530.js';
11
+ import { d as defineCustomElement$3 } from './p-cc5bd9f9.js';
12
+ import { d as defineCustomElement$2 } from './p-cfb33ac7.js';
13
13
 
14
14
  function band() {
15
15
  var scale = ordinal().unknown(undefined),
@@ -91,7 +91,7 @@ function band() {
91
91
  return initRange.apply(rescale(), arguments);
92
92
  }
93
93
 
94
- const barChartCss = ".sc-digi-bar-chart-h .digi-bar-chart.sc-digi-bar-chart{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart,.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart .digi-typography.sc-digi-bar-chart{display:flex;flex-direction:column;gap:0.75rem}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart{margin-bottom:0.75rem}.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.sc-digi-bar-chart-h .buttonWrapper.sc-digi-bar-chart{--digi--button--padding--medium:4px 4px 0.8125rem 0}.sc-digi-bar-chart-h .chartTooltip.sc-digi-bar-chart{box-sizing:border-box;position:absolute;background-color:rgba(250, 250, 250, 0.98);color:black;padding:5px 10px;padding-right:5px;border-radius:4px;display:flex;flex-direction:row;align-items:flex-start;box-shadow:rgba(60, 64, 67, 0.4) 0px 1px 2px 0px, rgba(60, 64, 67, 0.2) 0px 2px 6px 2px;font-size:0.875rem;display:none}.sc-digi-bar-chart-h .close.sc-digi-bar-chart{--digi--icon--color:black;cursor:pointer;margin-top:-5px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar{height:10px;width:10px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-track,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-track{background:whitesmoke;border-radius:4px}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart::-webkit-scrollbar-thumb,.sc-digi-bar-chart-h .table.sc-digi-bar-chart::-webkit-scrollbar-thumb{background-color:lightgray;border-radius:4px;border:0}.sc-digi-bar-chart-h .scChartStatus.sc-digi-bar-chart{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-bar-chart-h .table.sc-digi-bar-chart{display:none;overflow-y:scroll;height:fit-content;border-radius:4px;padding:0.25rem;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}";
94
+ const barChartCss = ".sc-digi-bar-chart-h{width:100%;display:flex;flex-direction:column;min-width:0}.sc-digi-bar-chart-h .digi-bar-chart.sc-digi-bar-chart{font-family:var(--digi--global--typography--font-family--default)}.sc-digi-bar-chart-h .svgWrap.sc-digi-bar-chart{position:relative;display:flex;width:100%;height:100%}.sc-digi-bar-chart-h .topWrapper.sc-digi-bar-chart,.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart .digi-typography.sc-digi-bar-chart{display:flex;flex-direction:column;gap:0.75rem}.sc-digi-bar-chart-h .chartTitle.sc-digi-bar-chart{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.sc-digi-bar-chart-h .buttonWrapper.sc-digi-bar-chart{--digi--button--padding--medium:4px 4px 0.8125rem 0}.sc-digi-bar-chart-h .chartTooltip.sc-digi-bar-chart{top:-5px;position:absolute;background-color:var(--digi--color--background--primary);color:black;padding:5px 10px;padding-right:5px;border-radius:4px;display:block;width:max-content;white-space:nowrap;filter:drop-shadow(rgba(0, 0, 0, 0.8) 0px 0px 1px);font-size:0.875rem}.sc-digi-bar-chart-h .tooltipBody.sc-digi-bar-chart{display:inline-block}.sc-digi-bar-chart-h .tooltipHead.sc-digi-bar-chart{display:flex;flex-direction:row;justify-content:space-between}.sc-digi-bar-chart-h .close.sc-digi-bar-chart{display:inline-block;vertical-align:top;--digi--color--icon--primary:#333;cursor:pointer}.sc-digi-bar-chart-h .close.sc-digi-bar-chart:hover{--digi--color--icon--primary:gray}.sc-digi-bar-chart-h .legendWrap.sc-digi-bar-chart{display:grid}.sc-digi-bar-chart-h .legend.sc-digi-bar-chart{display:flex;flex-direction:row;gap:1rem;min-width:0;overflow-x:auto;scrollbar-gutter:stable}.sc-digi-bar-chart-h .caret.sc-digi-bar-chart{--digi--icon--color:var(--digi--color--background--primary)}.sc-digi-bar-chart-h .scChartStatus.sc-digi-bar-chart{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-bar-chart-h .table.sc-digi-bar-chart{display:none;overflow-y:auto;height:auto;border-radius:4px;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}";
95
95
  const DigiBarChartStyle0 = barChartCss;
96
96
 
97
97
  const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
@@ -99,13 +99,14 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
99
99
  super();
100
100
  this.__registerHost();
101
101
  // States
102
- this._loading = false;
103
- this._placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
102
+ this.loading = false;
103
+ this.placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
104
104
  // Width of data at each tick, if we have two data series that have values att same tick, this will be 2 for example. defaults to 1;
105
105
  this.dataWidth = 1;
106
+ // Bar gap when using multiple bars for each point, this will be doubled, since it is applied on both bars
106
107
  this.barGap = 0;
107
- this._dims = {};
108
- this._margin = {
108
+ this.dims = {};
109
+ this.margin = {
109
110
  bottom: 0,
110
111
  top: 6,
111
112
  left: 5,
@@ -116,7 +117,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
116
117
  this.yTickSize = 0;
117
118
  this.xTickSize = 5;
118
119
  // Width of the largets X-tick-value
119
- this._tickWidth = 1;
120
+ this.tickWidth = 1;
120
121
  // Transition
121
122
  this.defaultDuration = 400;
122
123
  // Text and formats
@@ -125,137 +126,234 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
125
126
  // Observer for watching size changes when in line chart mode
126
127
  this.barChartObserver = new ResizeObserver((entries) => {
127
128
  entries.forEach(() => {
128
- if (this._loading)
129
+ if (this.loading)
129
130
  return this.loadingResize();
130
131
  this.resize();
131
132
  });
132
133
  });
133
- // Observer for watching size changes when in table mode
134
- this.tableObserver = new ResizeObserver((entries) => {
135
- entries.forEach(() => {
136
- select(this._legendDiv).style('width', this._dims.width + 'px');
137
- this.resizeTable();
134
+ this.highlightBars = (serie) => {
135
+ this.barChartContainer.selectAll('.bar')
136
+ .attr('fill', (barData) => this.colorFunction(barData.serie))
137
+ .transition('color')
138
+ .duration(150)
139
+ .attr('fill', (barData) => {
140
+ var _a;
141
+ if (barData.serie === serie)
142
+ return this.colorFunction(barData.serie);
143
+ else {
144
+ if (((_a = this.chartData.meta) === null || _a === void 0 ? void 0 : _a.prognosisPattern) && this.series.indexOf(barData.serie) > 0) {
145
+ return 'url(#prognosisInactive)';
146
+ }
147
+ return this.evalColorVar('--digi--color--background--secondary-accent');
148
+ }
138
149
  });
139
- });
150
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', (title) => title === serie ? 1 : 0.25);
151
+ };
152
+ this.resetBarColor = () => {
153
+ this.barChartContainer.selectAll('.bar').transition('color').duration(150).attr('fill', (barData) => this.colorFunction(barData.serie));
154
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', 1);
155
+ if (this.chartData.data.averageLine) {
156
+ this.barChartContainer.selectAll('.averageLine').transition('avgLine').style('mix-blend-mode', 'plus-lighter')
157
+ .style('filter', 'contrast(0.5)');
158
+ /* this.barChartContainer.selectAll('.averageLineText').transition('avgLine').style('mix-blend-mode', 'plus-lighter')
159
+ .style('filter', 'contrast(0.5)'); */
160
+ }
161
+ };
162
+ this.highlightAverageLine = (serie) => {
163
+ this.barChartContainer.selectAll('.bar')
164
+ .transition('color')
165
+ .duration(150)
166
+ .attr('fill', (barData) => {
167
+ var _a;
168
+ if (((_a = this.chartData.meta) === null || _a === void 0 ? void 0 : _a.prognosisPattern) && this.series.indexOf(barData.serie) > 0) {
169
+ return 'url(#prognosisInactive)';
170
+ }
171
+ else
172
+ return this.evalColorVar('--digi--color--background--secondary-accent');
173
+ });
174
+ this.barChartContainer.selectAll('.averageLine').transition('avgLine')
175
+ .duration(150).style('mix-blend-mode', null).style('filter', null);
176
+ /* this.barChartContainer.selectAll('.averageLineText').transition('avgLineText')
177
+ .duration(150).style('mix-blend-mode', null).style('filter', null) */
178
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', (title) => title === serie ? 1 : 0.25);
179
+ };
180
+ // Sets and resizespositions the average line
181
+ this.averageLine = () => {
182
+ if (!this.chartData.data.averageLine)
183
+ return;
184
+ const avLineGroup = this.barChartContainer.select('.interactiveElements').selectAll('.averageLineGroup').data([this.chartData.data.averageLine]).join('g').attr('class', 'averageLineGroup');
185
+ /* avLineGroup.selectAll('.averageLineText')
186
+ .data(d => [d])
187
+ .join('text')
188
+ .attr('class', 'averageLineText')
189
+ .text(d => d.text)
190
+ .attr('x', this.xScale.range()[0])
191
+ .attr('y', (d) => this.yScale(d.value))
192
+ .attr('dy', -2)
193
+ .attr('font-size', this.fontSize)
194
+ .attr('fill', 'var(--digi--color--infographic--lineart)')
195
+ .style('mix-blend-mode', 'plus-lighter')
196
+ .style('filter', 'contrast(0.5)'); */
197
+ avLineGroup.selectAll('.averageLine')
198
+ .data(d => [d.value])
199
+ .join('line')
200
+ .attr('class', 'averageLine')
201
+ .attr('x1', this.xScale.range()[0])
202
+ .attr('y1', (d) => this.yScale(d))
203
+ .attr('x2', this.xScale.range()[1])
204
+ .attr('y2', (d) => this.yScale(d))
205
+ .attr('stroke', 'var(--digi--color--infographic--lineart)')
206
+ .attr('stroke-width', 2)
207
+ .attr('stroke-dasharray', '12, 7')
208
+ .attr('stroke-linecap', 'round')
209
+ .style('mix-blend-mode', 'plus-lighter')
210
+ .style('filter', 'contrast(0.5)')
211
+ .style('pointer-events', 'none');
212
+ };
140
213
  // Resizing chart while loading
141
214
  this.loadingResize = () => {
142
215
  const newHeight = this.setDims();
143
216
  this.setMargins(true);
144
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
145
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
146
- this._margin.right =
147
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
217
+ this.svg.attr('width', this.dims.width).attr('height', this.dims.height);
218
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
219
+ this.margin.right =
220
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
148
221
  this.yTickSize +
149
222
  this.tickPadding;
150
223
  // If there is a new height
151
224
  if (newHeight) {
152
225
  // Update y-axis with potentially new height (might want to do a check here)
153
226
  this.afVariation === BarChartVariation.Horizontal
154
- ? this._yScale.range([
155
- this._margin.top,
156
- this._dims.height - this._margin.bottom
227
+ ? this.yScale.range([
228
+ this.margin.top,
229
+ this.dims.height - this.margin.bottom
157
230
  ])
158
- : this._yScale.range([
159
- this._dims.height - this._margin.bottom,
160
- this._margin.top
231
+ : this.yScale.range([
232
+ this.dims.height - this.margin.bottom,
233
+ this.margin.top
161
234
  ]);
162
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
235
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
163
236
  }
164
237
  // Update x-axis with new width
165
- this._xScale.range([
238
+ this.xScale.range([
166
239
  0,
167
- this._dims.width - this._margin.right - this._margin.left
240
+ this.dims.width - this.margin.right - this.margin.left
168
241
  ]);
169
- this._barSelection
242
+ this.barSelection
170
243
  .attr('x', this.xFunction)
171
244
  .attr('width', this.widthFunction);
172
245
  this.setValueTicks();
173
246
  };
247
+ this.highlightBarGroup = (_event, datum) => {
248
+ if (typeof datum === 'string') {
249
+ const barGroupID = '#' + this.barGroupID(datum);
250
+ this.barChartContainer.select(barGroupID).selectAll('.bar').transition('color')
251
+ .duration(20)
252
+ .attr('fill', (d) => {
253
+ var _a;
254
+ if (((_a = this.chartData.meta) === null || _a === void 0 ? void 0 : _a.prognosisPattern) && this.series.indexOf(d.serie) > 0) {
255
+ return 'url(#prognosisHighlight)';
256
+ }
257
+ else
258
+ return this.adjustColor(this.colorFunction(d.serie), 50);
259
+ });
260
+ }
261
+ };
262
+ this.unHighlightBarGroup = () => {
263
+ this.barSelection.selectAll('.bar').transition('color')
264
+ .duration(100)
265
+ .attr('fill', (d) => {
266
+ return this.colorFunction(d.serie);
267
+ });
268
+ };
174
269
  // Adding click listener for tool tip text
175
270
  this.setTickInteraction = () => {
176
271
  if (this.afVariation === BarChartVariation.Horizontal) {
177
- this._yAxisHandle
272
+ this.yAxisHandle
178
273
  .selectAll('text')
179
274
  .style('cursor', 'pointer')
180
275
  .on('click', this.openTooltip)
181
- .on('mouseenter', this.hover)
182
- .on('mouseleave', this.hoverOut);
276
+ .on('mouseenter', this.highlightBarGroup)
277
+ .on('mouseleave', this.unHighlightBarGroup);
183
278
  }
184
279
  else {
185
- this._xAxisHandle
280
+ this.xAxisHandle
186
281
  .selectAll('text')
187
282
  .style('cursor', 'pointer')
188
283
  .on('click', this.openTooltip)
189
- .on('mouseenter', this.hover)
190
- .on('mouseleave', this.hoverOut);
284
+ .on('mouseenter', this.highlightBarGroup)
285
+ .on('mouseleave', this.unHighlightBarGroup);
191
286
  }
192
287
  };
193
288
  // Setting Y-scale
194
289
  this.setYScale = (empty) => {
195
290
  var _a, _b, _c;
196
291
  if (this.afVariation == BarChartVariation.Horizontal) {
197
- this._yScale = band(empty
292
+ this.yScale = band(empty
198
293
  ? ['0', '1', '2', '3', '4', '5', '6', '7']
199
- : this._chartData.data.xValueNames, [this._margin.top, this._dims.height - this._margin.bottom])
294
+ : this.chartData.data.xValueNames, [this.margin.top, this.dims.height - this.margin.bottom])
200
295
  .paddingOuter(0.1)
201
296
  .paddingInner(0.1);
202
- this._yAxis = axisLeft(this._yScale);
297
+ this.yAxis = axisLeft(this.yScale);
203
298
  }
204
299
  else {
205
- this._yScale = linear()
206
- .domain(empty ? [0, 10] : [this._minVal, this._maxVal])
207
- .nice(((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
208
- ? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
300
+ this.yScale = linear()
301
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
302
+ .nice(((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
303
+ ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
209
304
  : 3);
210
- this._yScale.range([
211
- this._dims.height - this._margin.bottom,
212
- this._margin.top
305
+ this.yScale.range([
306
+ this.dims.height - this.margin.bottom,
307
+ this.margin.top
213
308
  ]);
214
- this._yAxis = axisLeft(this._yScale);
309
+ this.yAxis = axisLeft(this.yScale);
215
310
  }
216
311
  };
217
312
  // Setting X-Scale
218
313
  this.setXScale = (empty) => {
219
314
  // Horizontal
220
315
  if (this.afVariation == BarChartVariation.Horizontal) {
221
- this._xScale = linear()
222
- .domain(empty ? [0, 10] : [this._minVal, this._maxVal])
316
+ this.xScale = linear()
317
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
223
318
  .nice(3);
224
- this._margin.right =
225
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
319
+ this.margin.right =
320
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
226
321
  this.yTickSize +
227
322
  this.tickPadding;
228
- this._xScale.range([
323
+ this.xScale.range([
229
324
  0,
230
- this._dims.width - this._margin.right - this._margin.left
325
+ this.dims.width - this.margin.right - this.margin.left
231
326
  ]);
232
327
  // Initializing actual axis
233
- this._xAxis = axisBottom(this._xScale);
234
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
328
+ this.xAxis = axisBottom(this.xScale);
329
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
235
330
  }
236
331
  else {
237
332
  // Vertical
238
- this._xScale = band()
239
- .domain(empty ? this._placeholderTicks : this._chartData.data.xValueNames)
240
- .range([0, this._dims.width - this._margin.right - this._margin.left])
333
+ this.xScale = band()
334
+ .domain(empty ? this.placeholderTicks : this.chartData.data.xValueNames)
335
+ .range([0, this.dims.width - this.margin.right - this.margin.left])
241
336
  .paddingOuter(0.1)
242
337
  .paddingInner(0.1);
243
- this._xAxis = axisBottom(this._xScale);
338
+ this.xAxis = axisBottom(this.xScale);
244
339
  }
245
340
  };
246
341
  // Stores all tick text sizes in an indexable array
247
342
  this.tickSizes = () => {
248
343
  // Initializing tick size array
249
- this._namedTickSizes = [];
250
- this._ellipsisSize = this.getTextSize('...');
251
- if (this._chartData && this._chartData.data) {
252
- for (let i = 0; i < this._chartData.data.xValueNames.length; i++) {
253
- this._namedTickSizes.push(Math.ceil(this.getTextSize(this._chartData.data.xValueNames[i])));
344
+ this.namedTickSizes = [];
345
+ this.ellipsisSize = this.getTextSize('...');
346
+ if (this.chartData && this.chartData.data) {
347
+ for (let i = 0; i < this.chartData.data.xValueNames.length; i++) {
348
+ this.namedTickSizes.push(Math.ceil(this.getTextSize(this.chartData.data.xValueNames[i])));
254
349
  }
255
350
  }
256
351
  };
352
+ this.barGroupID = (key) => {
353
+ return 'barGroup' + key.replace(/[^A-Z0-9]+/gi, '');
354
+ };
257
355
  this.updateBars = (fromLoading) => {
258
- this._barChartContainer
356
+ this.barChartContainer
259
357
  .selectAll('.barGroup')
260
358
  .data(this.mappedData)
261
359
  .join((enter) => {
@@ -263,7 +361,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
263
361
  const tempSelection = enter
264
362
  .append('g')
265
363
  .attr('class', 'barGroup')
266
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
364
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
267
365
  tempSelection
268
366
  .append('rect')
269
367
  .attr('class', 'bar')
@@ -271,16 +369,16 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
271
369
  .attr('ry', 4)
272
370
  .attr('rx', 4)
273
371
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
274
- ? this._yScale(d.key)
275
- : this._dims.height - this._margin.bottom)
372
+ ? this.yScale(d.key)
373
+ : this.dims.height - this.margin.bottom)
276
374
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
277
375
  ? 2
278
- : this._xScale(d.key))
376
+ : this.xScale(d.key))
279
377
  .attr('width', () => this.afVariation === BarChartVariation.Horizontal
280
378
  ? 0
281
- : this._xScale.bandwidth())
379
+ : this.xScale.bandwidth())
282
380
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
283
- ? this._yScale.bandwidth()
381
+ ? this.yScale.bandwidth()
284
382
  : 0)
285
383
  .on('mouseenter', this.hover)
286
384
  .on('mouseleave', this.hoverOut)
@@ -292,7 +390,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
292
390
  .attr('y', this.yFunction)
293
391
  .attr('height', this.heightFunction)
294
392
  .attr('fill', '#00005a');
295
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
393
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
296
394
  return tempSelection;
297
395
  tempSelection
298
396
  .append('text')
@@ -303,32 +401,32 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
303
401
  .attr('text-anchor', 'end')
304
402
  .style('pointer-events', 'none')
305
403
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
306
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
307
- : this._dims.height - this._margin.bottom)
404
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
405
+ : this.dims.height - this.margin.bottom)
308
406
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
309
407
  ? 2
310
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
408
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
311
409
  .transition()
312
410
  .duration(this.defaultDuration)
313
411
  .ease(polyInOut)
314
412
  .attr('font-size', this.fontSize)
315
413
  .attr('font-weight', '600')
316
414
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
317
- ? this._xScale(d.value)
318
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
415
+ ? this.xScale(d.value)
416
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
319
417
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
320
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
321
- : this._yScale(d.value))
418
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
419
+ : this.yScale(d.value))
322
420
  .attr('text-anchor', (d) => {
323
421
  if (this.afVariation === BarChartVariation.Vertical)
324
422
  return 'middle';
325
- return this._xScale(d.value) < d.len + this.tickPadding * 2
423
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
326
424
  ? 'start'
327
425
  : 'end';
328
426
  })
329
427
  .attr('dx', (d) => {
330
428
  if (this.afVariation === BarChartVariation.Horizontal)
331
- return this._xScale(d.value) < d.len + this.tickPadding * 2
429
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
332
430
  ? this.tickPadding
333
431
  : -this.tickPadding;
334
432
  return 0;
@@ -336,7 +434,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
336
434
  .attr('fill', (d) => {
337
435
  if (this.afVariation === BarChartVariation.Vertical)
338
436
  return 'black';
339
- return this._xScale(d.value) < d.len + this.tickPadding * 2
437
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
340
438
  ? 'black'
341
439
  : 'white';
342
440
  })
@@ -349,12 +447,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
349
447
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
350
448
  : 0;
351
449
  const interpolatedValue = interpolate(oldnum, d.value);
352
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
450
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
353
451
  });
354
452
  return tempSelection;
355
453
  }, (update) => {
356
454
  // Update ids to bars
357
- update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
455
+ update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
358
456
  // Mouse interaction to updated loading bars
359
457
  if (fromLoading) {
360
458
  update
@@ -364,11 +462,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
364
462
  .on('click', this.openTooltip)
365
463
  .attr('x', this.xFunction)
366
464
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
367
- ? this._yScale(d.key)
368
- : this._dims.height - this._margin.bottom)
465
+ ? this.yScale(d.key)
466
+ : this.dims.height - this.margin.bottom)
369
467
  .attr('width', this.widthFunction)
370
468
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
371
- ? this._yScale.bandwidth()
469
+ ? this.yScale.bandwidth()
372
470
  : 0)
373
471
  .attr('fill', '#00005a')
374
472
  .transition()
@@ -376,7 +474,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
376
474
  .ease(polyInOut)
377
475
  .attr('y', this.yFunction)
378
476
  .attr('height', this.heightFunction)
379
- .on('end', () => this.barChartObserver.observe(this._chartDiv)); // Reset barchartObserver
477
+ .on('end', () => this.barChartObserver.observe(this.chartDiv)); // Reset barchartObserver
380
478
  }
381
479
  else {
382
480
  update
@@ -392,28 +490,28 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
392
490
  }
393
491
  return update
394
492
  .select('text')
395
- .style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
493
+ .style('display', () => { var _a, _b; return ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; })
396
494
  .transition()
397
495
  .duration(this.defaultDuration)
398
496
  .ease(polyInOut)
399
497
  .attr('font-size', this.fontSize)
400
498
  .attr('font-weight', '600')
401
499
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
402
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
403
- : this._yScale(d.value))
500
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
501
+ : this.yScale(d.value))
404
502
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
405
- ? this._xScale(d.value)
406
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
503
+ ? this.xScale(d.value)
504
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
407
505
  .attr('text-anchor', (d) => {
408
506
  if (this.afVariation === BarChartVariation.Vertical)
409
507
  return 'middle';
410
- return this._xScale(d.value) < d.len + this.tickPadding * 2
508
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
411
509
  ? 'start'
412
510
  : 'end';
413
511
  })
414
512
  .attr('dx', (d) => {
415
513
  if (this.afVariation === BarChartVariation.Horizontal)
416
- return this._xScale(d.value) < d.len + this.tickPadding * 2
514
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
417
515
  ? this.tickPadding
418
516
  : -this.tickPadding;
419
517
  return 0;
@@ -421,7 +519,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
421
519
  .attr('fill', (d) => {
422
520
  if (this.afVariation === BarChartVariation.Vertical)
423
521
  return 'black';
424
- return this._xScale(d.value) < d.len + this.tickPadding * 2
522
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
425
523
  ? 'black'
426
524
  : 'white';
427
525
  })
@@ -434,27 +532,27 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
434
532
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
435
533
  : 0;
436
534
  const interpolatedValue = interpolate(oldnum, d.value);
437
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
535
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
438
536
  });
439
537
  }, (exit) => exit.remove());
440
- this._barSelection = this._barChartContainer.selectAll('rect');
441
- this._textSelection = this._barChartContainer.selectAll('.barText');
538
+ this.barSelection = this.barChartContainer.selectAll('rect');
539
+ this.textSelection = this.barChartContainer.selectAll('.barText');
442
540
  };
443
541
  // Setting position of text according to bar size
444
542
  this.adjustBarText = () => {
445
543
  var _a, _b;
446
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
544
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
447
545
  return;
448
- this._textSelection
546
+ this.textSelection
449
547
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
450
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
451
- : this._yScale(d.value))
548
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
549
+ : this.yScale(d.value))
452
550
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
453
- ? this._xScale(d.value)
454
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
551
+ ? this.xScale(d.value)
552
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
455
553
  .attr('dx', (d) => {
456
554
  if (this.afVariation === BarChartVariation.Horizontal)
457
- return this._xScale(d.value) < d.len + this.tickPadding * 2
555
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
458
556
  ? this.tickPadding
459
557
  : -this.tickPadding;
460
558
  return 0;
@@ -462,26 +560,26 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
462
560
  .attr('fill', (d) => {
463
561
  if (this.afVariation === BarChartVariation.Vertical)
464
562
  return 'black';
465
- return this._xScale(d.value) < d.len + this.tickPadding * 2
563
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
466
564
  ? 'black'
467
565
  : 'white';
468
566
  })
469
567
  .attr('text-anchor', (d) => {
470
568
  if (this.afVariation === BarChartVariation.Vertical)
471
569
  return 'middle';
472
- return this._xScale(d.value) < d.len + this.tickPadding * 2
570
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
473
571
  ? 'start'
474
572
  : 'end';
475
573
  });
476
574
  };
477
575
  this.reshapeData = () => {
478
576
  const toReturn = [];
479
- if (this._loading) {
480
- this._placeholderTicks.forEach((key) => {
577
+ if (this.loading || !this.chartData) {
578
+ this.placeholderTicks.forEach((key) => {
481
579
  const tick = { key: key, series: [] };
482
580
  tick.series.push({
483
581
  key: key,
484
- serie: '',
582
+ serie: 'loading',
485
583
  value: Math.floor(Math.random() * (9 - 2 + 1) + 2),
486
584
  len: 0
487
585
  });
@@ -489,154 +587,177 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
489
587
  });
490
588
  return toReturn;
491
589
  }
492
- this._chartData.data.xValueNames.forEach((key, index) => {
493
- const tick = { key: key, series: [] };
494
- this._chartData.data.series.forEach((serie) => {
495
- if (serie.yValues[index]) {
496
- tick.series.push({
497
- key: key,
498
- serie: serie.title,
499
- value: serie.yValues[index],
500
- len: serie.yValues[index] ? this.getTextSize(serie.yValues[index].toLocaleString()) : 0
590
+ else {
591
+ if (this.chartData.data.xValueNames) {
592
+ this.chartData.data.xValueNames.forEach((key, index) => {
593
+ const tick = { key: key, series: [] };
594
+ this.chartData.data.series.forEach((serie) => {
595
+ if (serie.yValues[index]) {
596
+ tick.series.push({
597
+ key: key,
598
+ serie: serie.title,
599
+ value: serie.yValues[index],
600
+ len: serie.yValues[index] ? this.getTextSize(serie.yValues[index].toLocaleString()) : 0
601
+ });
602
+ }
501
603
  });
502
- }
503
- });
504
- toReturn.push(tick);
505
- });
604
+ toReturn.push(tick);
605
+ });
606
+ }
607
+ else {
608
+ this.chartData.data.xValues.forEach((key, index) => {
609
+ const tick = { key: key.toString(), series: [] };
610
+ this.chartData.data.series.forEach((serie) => {
611
+ if (serie.yValues[index]) {
612
+ tick.series.push({
613
+ key: key.toString(),
614
+ serie: serie.title,
615
+ value: serie.yValues[index],
616
+ len: serie.yValues[index] ? this.getTextSize(serie.yValues[index].toLocaleString()) : 0
617
+ });
618
+ }
619
+ });
620
+ toReturn.push(tick);
621
+ });
622
+ }
623
+ }
506
624
  return toReturn;
507
625
  };
508
626
  this.adjustBarSize = () => {
509
- this._barSelection.selectAll('.bar')
627
+ this.barSelection.selectAll('.bar')
510
628
  .attr('x', this.xFunction)
511
629
  .attr('y', this.yFunction)
512
630
  .attr('width', this.widthFunction)
513
631
  .attr('height', this.heightFunction);
514
632
  };
633
+ this.evalColorVar = (colorVar) => {
634
+ return getComputedStyle(document.documentElement)
635
+ .getPropertyValue(colorVar)
636
+ .trim()
637
+ .toLocaleLowerCase();
638
+ };
515
639
  // Handling x positioning of bars
516
640
  this.xFunction = (d, i) => {
517
641
  return this.afVariation === BarChartVariation.Horizontal
518
- ? (d.value > 0 ? this._xScale(0) : this._xScale(d.value))
519
- : this._xScale(d.key) + ((this._xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
642
+ ? (d.value > 0 ? this.xScale(0) : this.xScale(d.value))
643
+ : this.xScale(d.key) + ((this.xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
520
644
  };
521
645
  // Handling y positioning of bars
522
646
  this.yFunction = (d, i) => {
523
647
  if (!d.value)
524
648
  return 0;
525
649
  return this.afVariation === BarChartVariation.Horizontal
526
- ? this._yScale(d.key) + ((this._yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
527
- : (d.value < 0 ? this._yScale(0) : this._yScale(d.value));
650
+ ? this.yScale(d.key) + ((this.yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
651
+ : (d.value < 0 ? this.yScale(0) : this.yScale(d.value));
528
652
  };
529
653
  // Handling height for bars
530
654
  this.heightFunction = (d) => {
531
655
  if (!d.value)
532
656
  return 0;
533
657
  return this.afVariation === BarChartVariation.Horizontal
534
- ? this._yScale.bandwidth() / this.dataWidth - (this.barGap)
535
- : (d.value < 0 ? this._yScale(d.value) - this._yScale(0) : this._yScale(0) - this._yScale(d.value));
658
+ ? this.yScale.bandwidth() / this.dataWidth - (this.barGap)
659
+ : (d.value < 0 ? this.yScale(d.value) - this.yScale(0) : this.yScale(0) - this.yScale(d.value));
536
660
  };
537
661
  // Handling width for bars
538
662
  this.widthFunction = (d) => {
539
663
  return this.afVariation === BarChartVariation.Horizontal
540
- ? Math.abs(this._xScale(0) - this._xScale(d.value))
541
- : this._xScale.bandwidth() / this.dataWidth - (this.barGap);
542
- };
543
- // Resize table
544
- this.resizeTable = () => {
545
- this.setDims();
546
- this.setTableDimensions();
664
+ ? Math.abs(this.xScale(0) - this.xScale(d.value))
665
+ : this.xScale.bandwidth() / this.dataWidth - (this.barGap);
547
666
  };
548
667
  // Setting dimension variable
549
668
  this.setDims = (onlyHeight = false) => {
550
669
  // Get title dimensions
551
- const tempTitle = select(this._titleDiv).node().getBoundingClientRect(), tempLegend = select(this._legendDiv).node().getBoundingClientRect();
552
- const prevHeight = this._dims.height;
670
+ const tempTitle = select(this.titleDiv).node().getBoundingClientRect(), tempLegend = select(this.legendDiv).node().getBoundingClientRect();
671
+ const prevHeight = this.dims.height;
553
672
  if (!onlyHeight)
554
- this._dims = select(this._chartDiv).node().getBoundingClientRect();
555
- this._dims.height =
556
- this._maxHeight - tempLegend.height - tempTitle.height - 1.75 * this._rem;
557
- return prevHeight != this._dims.height;
673
+ this.dims = select(this.chartDiv).node().getBoundingClientRect();
674
+ this.dims.height =
675
+ this.maxHeight - tempLegend.height - tempTitle.height - 1.75 * this.rem;
676
+ return prevHeight != this.dims.height;
558
677
  };
559
678
  // Setting margins given text size
560
679
  this.setMargins = (fromLoading) => {
561
680
  var _a;
562
- this._pixelSize =
681
+ this.pixelSize =
563
682
  Number(window
564
683
  .getComputedStyle(document.body)
565
684
  .getPropertyValue('font-size')
566
685
  .match(/\d+/)[0]) * Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, ''));
567
686
  // Getting the longest word, assuming it will also be the widest in terms of pixels
568
687
  if (this.afVariation === BarChartVariation.Horizontal) {
569
- const left = ((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data) &&
570
- this.getLargestText(this._chartData.data.xValueNames)
571
- ? this.getLargestText(this._chartData.data.xValueNames)
688
+ const left = ((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data) &&
689
+ this.getLargestText(this.chartData.data.xValueNames)
690
+ ? this.getLargestText(this.chartData.data.xValueNames)
572
691
  : 0;
573
- this._margin.left = left;
692
+ this.margin.left = left;
693
+ this.margin.bottom = this.pixelSize + this.tickPadding + this.xTickSize;
574
694
  }
575
- else
576
- this._margin.left = this.getLargestText(fromLoading
695
+ else {
696
+ this.margin.left = this.getLargestText(fromLoading
577
697
  ? ['0', '10']
578
698
  : [
579
- this._minVal ? this._tempScale[0].toLocaleString() : '0',
580
- this._maxVal ? this._tempScale[1].toLocaleString() : '10'
699
+ this.minVal ? this.tempScale[0].toLocaleString() : '0',
700
+ this.maxVal ? this.tempScale[1].toLocaleString() : '10'
581
701
  ]);
582
- if (this._margin.left > this._dims.width / 4) {
583
- this._margin.left = Math.floor(this._dims.width / 4);
584
- this._margin.ellipsis = true;
702
+ this.margin.bottom = this.pixelSize;
703
+ }
704
+ if (this.margin.left > this.dims.width / 4) {
705
+ this.margin.left = Math.floor(this.dims.width / 4);
706
+ this.margin.ellipsis = true;
585
707
  }
586
708
  else
587
- this._margin.ellipsis = false;
588
- this._margin.bottom = this._pixelSize + this.tickPadding + this.xTickSize;
709
+ this.margin.ellipsis = false;
589
710
  };
590
711
  // Adjusting y-ticks
591
712
  this.setNamedTicks = (transition = false) => {
592
713
  if (this.afVariation == BarChartVariation.Horizontal) {
593
714
  if (!transition) {
594
- this._yAxisHandle
715
+ this.yAxisHandle
595
716
  .style('font-size', this.fontSize)
596
717
  .style('font-family', 'Open Sans')
597
- .call(this._yAxis
718
+ .call(this.yAxis
598
719
  .tickPadding(this.tickPadding)
599
720
  .tickSize(this.yTickSize)
600
721
  .tickSizeOuter(0)
601
722
  .tickFormat((d, i) => {
602
- if (!this._margin.ellipsis)
723
+ if (!this.margin.ellipsis)
603
724
  return d.toLocaleString();
604
725
  // Adding ellipsis to text
605
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
606
- const mSize = this._margin.left;
726
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
727
+ const mSize = this.margin.left;
607
728
  if (size < mSize)
608
729
  return d.toLocaleString();
609
- const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3)) + '...');
730
+ const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3)) + '...');
610
731
  let adjustment = 0;
611
732
  if (newSize > mSize) {
612
733
  adjustment = Math.ceil((newSize - mSize) / (size / d.length));
613
734
  }
614
735
  // Slicing the text up, saving atleast 3 characters
615
736
  return (d
616
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
737
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
617
738
  .trim() + '...');
618
739
  }));
619
740
  }
620
741
  else {
621
- this._yAxisHandle
742
+ this.yAxisHandle
622
743
  .style('font-size', this.fontSize)
623
744
  .style('font-family', 'Open Sans')
624
745
  .transition()
625
746
  .duration(this.defaultDuration)
626
- .call(this._yAxis
747
+ .call(this.yAxis
627
748
  .tickPadding(this.tickPadding)
628
749
  .tickSize(this.yTickSize)
629
750
  .tickSizeOuter(0)
630
751
  .tickFormat((d, i) => {
631
- if (!this._margin.ellipsis)
752
+ if (!this.margin.ellipsis)
632
753
  return d;
633
754
  // Adding ellipsis to text
634
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
635
- const mSize = this._margin.left;
755
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
756
+ const mSize = this.margin.left;
636
757
  if (size < mSize)
637
758
  return d;
638
759
  const newSize = this.getTextSize(d
639
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3))
760
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3))
640
761
  .trim() + '...');
641
762
  let adjustment = 0;
642
763
  if (newSize > mSize) {
@@ -644,26 +765,26 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
644
765
  }
645
766
  // Slicing the text up, saving atleast 3 characters
646
767
  return (d
647
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
768
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
648
769
  .trim() + '...');
649
770
  }));
650
771
  }
651
772
  }
652
773
  else {
653
774
  //Calculating every n:th text to show
654
- let nTh = Math.round(this._chartData.data.xValues.length /
655
- ((this._dims.width - this._margin.left - this._margin.right) / 90 - 1));
656
- if (Math.floor(this._chartData.data.xValues.length / nTh) < 4) {
657
- nTh = Math.round(this._chartData.data.xValues.length / 4);
775
+ let nTh = Math.max(Math.round(this.chartData.data.xValues.length /
776
+ ((this.dims.width - this.margin.left - this.margin.right) / 90 - 1)), 1);
777
+ if (Math.floor(this.chartData.data.xValues.length / nTh) < 4) {
778
+ nTh = Math.round(this.chartData.data.xValues.length / 4);
658
779
  }
659
- const allowedWidth = (this._dims.width - this._margin.left - this._margin.right) /
660
- Math.floor(this._chartData.data.xValues.length / nTh + 1);
780
+ const allowedWidth = (this.dims.width - this.margin.left - this.margin.right) /
781
+ Math.floor(this.chartData.data.xValues.length / nTh + 1);
661
782
  if (!transition) {
662
- this._xAxisHandle
783
+ this.xAxisHandle
663
784
  .style('font-size', this.fontSize)
664
785
  .style('font-family', 'Open Sans')
665
- .call(this._xAxis
666
- .tickValues(this._xScale.domain().filter((...[, i]) => {
786
+ .call(this.xAxis
787
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
667
788
  if (i == 0)
668
789
  return true;
669
790
  else {
@@ -675,23 +796,23 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
675
796
  .tickSizeOuter(0)
676
797
  .tickFormat((d, i) => {
677
798
  const index = i * nTh;
678
- if (this._namedTickSizes[index] < allowedWidth)
799
+ if (this.namedTickSizes[index] < allowedWidth)
679
800
  return d;
680
801
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
681
- (this._namedTickSizes[index] +
682
- this._ellipsisSize +
802
+ (this.namedTickSizes[index] +
803
+ this.ellipsisSize +
683
804
  5)) *
684
805
  d.length), 3)) + '...');
685
806
  }));
686
807
  }
687
808
  else {
688
- this._xAxisHandle
809
+ this.xAxisHandle
689
810
  .style('font-size', this.fontSize)
690
811
  .style('font-family', 'Open Sans')
691
812
  .transition()
692
813
  .duration(this.defaultDuration)
693
- .call(this._xAxis
694
- .tickValues(this._xScale.domain().filter((...[, i]) => {
814
+ .call(this.xAxis
815
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
695
816
  if (i == 0)
696
817
  return true;
697
818
  else {
@@ -703,11 +824,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
703
824
  .tickSizeOuter(0)
704
825
  .tickFormat((d, i) => {
705
826
  const index = i * nTh;
706
- if (this._namedTickSizes[index] < allowedWidth)
827
+ if (this.namedTickSizes[index] < allowedWidth)
707
828
  return d;
708
829
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
709
- (this._namedTickSizes[index] +
710
- this._ellipsisSize +
830
+ (this.namedTickSizes[index] +
831
+ this.ellipsisSize +
711
832
  5)) *
712
833
  d.length), 3)) + '...');
713
834
  }));
@@ -717,30 +838,30 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
717
838
  // Positioning the ticks of the value bearing axis
718
839
  this.setValueTicks = (transition = false) => {
719
840
  var _a, _b;
720
- if (((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
841
+ if (((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
721
842
  this.afVariation === BarChartVariation.Horizontal
722
- ? this._xAxisHandle.attr('display', 'none')
723
- : this._yAxisHandle.attr('display', 'none');
843
+ ? this.xAxisHandle.attr('display', 'none')
844
+ : this.yAxisHandle.attr('display', 'none');
724
845
  return;
725
846
  }
726
847
  let toCall, tickSize, handle;
727
848
  if (this.afVariation === BarChartVariation.Horizontal) {
728
- this._xAxisHandle.attr('display', null);
729
- toCall = this._xAxis;
730
- tickSize = -(this._dims.height - this._margin.top - this._margin.bottom);
731
- handle = this._xAxisHandle;
849
+ this.xAxisHandle.attr('display', null);
850
+ toCall = this.xAxis;
851
+ tickSize = -(this.dims.height - this.margin.top - this.margin.bottom);
852
+ handle = this.xAxisHandle;
732
853
  }
733
854
  else {
734
- this._yAxisHandle.attr('display', null);
735
- toCall = this._yAxis;
736
- tickSize = -(this._dims.width - this._margin.left - this._margin.right);
737
- handle = this._yAxisHandle;
855
+ this.yAxisHandle.attr('display', null);
856
+ toCall = this.yAxis;
857
+ tickSize = -(this.dims.width - this.margin.left - this.margin.right);
858
+ handle = this.yAxisHandle;
738
859
  }
739
860
  // Computing the amount of ticks to show
740
- const ticks = Math.min(Math.floor((this._dims.width - this._margin.left - this._margin.right) /
741
- (this._tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
742
- ? this._xScale.ticks().length
743
- : this._yScale.ticks().length);
861
+ const ticks = Math.min(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
862
+ (this.tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
863
+ ? this.xScale.ticks().length
864
+ : this.yScale.ticks().length);
744
865
  if (!transition) {
745
866
  handle
746
867
  .style('font-size', this.fontSize)
@@ -771,124 +892,162 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
771
892
  }
772
893
  handle.selectAll('line').attr('stroke', 'lightgray');
773
894
  if (this.afVariation === BarChartVariation.Vertical)
774
- this._yAxisHandle.select('.domain').attr('display', 'none');
895
+ this.yAxisHandle.select('.domain').attr('display', 'none');
775
896
  };
776
897
  // Highlight bar
777
898
  this.hover = (event) => {
778
899
  select(event.target)
779
- .transition('hover')
900
+ .transition('color')
780
901
  .duration(20)
781
- .attr('fill', (d) => event.target.tagName === 'rect'
782
- ? `hsl(from ${this.colorFunction(d.serie)} h s calc(l + 10))`
783
- : 'var(--digi--color--background--interactive--hover--tertiary)');
902
+ .attr('fill', (d) => {
903
+ var _a;
904
+ if (event.target.tagName === 'rect') {
905
+ if (((_a = this.chartData.meta) === null || _a === void 0 ? void 0 : _a.prognosisPattern) && this.series.indexOf(d.serie) > 0) {
906
+ return 'url(#prognosisHighlight)';
907
+ }
908
+ else
909
+ return this.adjustColor(this.colorFunction(d.serie), 50);
910
+ }
911
+ else {
912
+ return this.evalColorVar('--digi--color--background--interactive--hover--tertiary');
913
+ }
914
+ });
784
915
  };
785
916
  // Removing highlight from bar
786
917
  this.hoverOut = (event) => {
787
918
  select(event.target)
788
- .transition('hover')
919
+ .transition('color')
789
920
  .duration(this.defaultDuration)
790
921
  .attr('fill', (d) => event.target.tagName === 'rect' ? this.colorFunction(d.serie) : '#333333');
791
922
  };
792
923
  this.openTooltip = (...[, d]) => {
793
924
  // If type is string, the user has clicked on a y-axis tick
794
925
  if (typeof d === 'string') {
795
- this._tooltipData = this._barChartContainer
796
- .select(`#barGroup${d.replace(/[^A-Z0-9]+/gi, '_')}`)
926
+ this.tooltipData = this.barChartContainer
927
+ .select(`#${this.barGroupID(d)}`)
797
928
  .datum();
798
929
  }
799
930
  else
800
- this._tooltipData = d;
801
- const tooltipBody = this._tooltip.select('.tooltipBody');
802
- tooltipBody
803
- .select(this._tooltipHeading)
804
- .style('margin', '0 0.75rem 0 0 ')
805
- .style('font-weight', 500)
806
- .html(this._tooltipData.key);
931
+ this.tooltipData = d;
932
+ const tooltipBody = this.tooltip.select('.tooltipBody');
933
+ this.tooltip
934
+ .select('.tooltipHeading')
935
+ .html(this.tooltipData.key);
807
936
  tooltipBody
808
937
  .selectAll('div')
809
- .data([this._tooltipData])
938
+ .data(this.tooltipData.series ? this.tooltipData.series : [this.tooltipData])
810
939
  .join('div')
811
940
  .style('display', 'flex')
812
941
  .style('flex-direction', 'row')
813
942
  .style('flex-wrap', 'nowrap')
814
943
  .style('white-space', 'nowrap')
815
944
  .style('justify-content', 'space-between')
816
- .html((d) => d.value.toLocaleString());
817
- this._tooltip.style('display', 'flex');
818
- this.positionTooltip(this._tooltipData);
945
+ .style('margin', '0.25rem 0')
946
+ .html((d) => {
947
+ return `<span>${d.serie}: <b style="font-weight:600;">${d.value.toLocaleString(undefined, this.numberFormat)}</b></span>`;
948
+ });
949
+ this.tooltip.style('visibility', 'visible');
950
+ this.positionTooltip(this.tooltipData);
819
951
  };
820
952
  this.closeTooltip = () => {
821
- this._tooltip.style('display', 'none');
953
+ this.tooltip.style('visibility', 'hidden');
822
954
  };
823
955
  // Positions tooltip in horizontal mode
824
956
  this.positionTooltip = (data) => {
825
- const width = this._tooltip.node().getBoundingClientRect().width;
826
- const height = this._tooltip.node().getBoundingClientRect().height + 8;
827
- const diff = this._xScale(data.value) / 2 - width / 2;
828
- if (this.afVariation === BarChartVariation.Horizontal) {
829
- this._tooltip
830
- .style('transform', `translate(${this._margin.left + this.tickPadding + Math.max(diff, -4)}px, ${this._yScale(data.key) + this._yScale.bandwidth() + this._yScale.paddingInner() * this._yScale.bandwidth()}px )`)
831
- .style('max-width', this._xScale.range()[1] + 'px');
832
- this._tooltip
833
- .select('digi-icon-caret-up')
834
- .style('position', 'absolute')
835
- .style('--digi--icon--color', 'white')
836
- .style('top', '-11px')
837
- .style('left', '0')
838
- .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this._xScale(data.value) / 2}px,0)`);
957
+ var _a;
958
+ const width = this.tooltip.node().getBoundingClientRect().width;
959
+ // Single bar
960
+ if ('serie' in data) {
961
+ if (this.afVariation === BarChartVariation.Horizontal) {
962
+ const diff = this.xScale(data.value) / 2 - width / 2;
963
+ this.tooltip
964
+ .style('transform', `translate(${this.margin.left + this.tickPadding + Math.max(diff, -4)}px, ${this.yScale(data.key) + this.yScale.bandwidth() + this.yScale.paddingInner() * this.yScale.bandwidth()}px )`)
965
+ .style('max-width', this.xScale.range()[1] + 'px');
966
+ this.tooltip
967
+ .select('digi-icon-caret-up')
968
+ .style('position', 'absolute')
969
+ .style('top', '-12px')
970
+ .style('left', '0')
971
+ .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this.xScale(data.value) / 2}px,0)`);
972
+ }
973
+ else {
974
+ const index = (_a = this.mappedData.find(xPoint => xPoint.key === data.key)) === null || _a === void 0 ? void 0 : _a.series.findIndex(serie => serie.serie === data.serie);
975
+ const barIndex = ((this.xScale.bandwidth() / this.dataWidth) * (index ? index + 1 : 1)) - (this.xScale.bandwidth() / this.dataWidth) / 2;
976
+ // This should be where the x-axis starts
977
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
978
+ // Creating adjustment for tooltip to not appear outside of chart
979
+ const spaceToSVGEdge = 5;
980
+ const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (this.xScale(data.key) + xStart + barIndex + width / 2) ? (((this.xScale(data.key) + xStart + barIndex + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
981
+ this.tooltip
982
+ .style('transform', `translate( calc(${this.xScale(data.key) + xStart + barIndex}px - ${50 + inlineAdjustment}%), calc(-100% + ${(data.value > 0 ? this.yScale(data.value) : this.yScale(0)) - 2}px) )`);
983
+ this.tooltip
984
+ .select('digi-icon-caret-down')
985
+ .style('position', 'absolute')
986
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
987
+ .style('bottom', '-12px');
988
+ }
839
989
  }
840
990
  else {
841
- this._tooltip
842
- .style('transform', `translate(${this._margin.left + this.tickPadding + this._xScale(data.key) + this._xScale.bandwidth() / 2 - width / 2}px, ${this._yScale(data.value) - height}px )`)
843
- .style('max-width', this._xScale.range()[1] + 'px');
844
- this._tooltip
845
- .select('digi-icon-caret-down')
846
- .style('position', 'absolute')
847
- .style('--digi--icon--color', 'white')
848
- .style('left', '0')
849
- .style('bottom', '-11px')
850
- .style('transform', `translate(${width / 2 - 6}px,0)`);
991
+ if (this.afVariation === BarChartVariation.Horizontal) {
992
+ console.log('helloo');
993
+ }
994
+ else {
995
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
996
+ const translatePoint = this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2;
997
+ const yMax = max(data.series.map(elem => elem.value));
998
+ // Creating adjustment for tooltip to not appear outside of chart
999
+ const spaceToSVGEdge = 5;
1000
+ const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (translatePoint + width / 2) ? (((translatePoint + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
1001
+ this.tooltip
1002
+ .style('transform', `translate( calc(${this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2}px - ${50 + inlineAdjustment}%), calc(-100% + ${this.yScale(yMax && yMax > 0 ? yMax : 0) - 1}px) )`);
1003
+ this.tooltip
1004
+ .select('digi-icon-caret-down')
1005
+ .style('position', 'absolute')
1006
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
1007
+ .style('bottom', '-12px');
1008
+ }
851
1009
  }
852
1010
  };
853
1011
  // Once texts has fully loaded, we can recompute some sizes
854
1012
  this.recomputeTextSize = () => {
855
1013
  var _a, _b;
856
1014
  if (this.afVariation == BarChartVariation.Horizontal)
857
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
1015
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
858
1016
  this.tickSizes();
859
- this._barChartContainer.selectAll('.barGroup').data(this.mappedData);
860
- if ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
861
- this._textSelection.remove();
1017
+ this.barChartContainer.selectAll('.barGroup').data(this.mappedData);
1018
+ if ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
1019
+ this.textSelection.remove();
862
1020
  this.initBarText();
863
1021
  };
864
1022
  // Removes resize observer for chart and inits table
865
1023
  this.activateTable = (event) => {
866
1024
  this.closeTooltip();
867
1025
  this.barChartObserver.disconnect();
868
- this.tableObserver.observe(this._chartDiv);
869
- this._status.innerHTML = '<p>Visas som tabell</p>';
870
- select(this._host).select('.tableButton').style('display', 'none');
871
- select(this._host).select('.chartButton').style('display', null);
1026
+ this.status.innerHTML = '<p>Visas som tabell</p>';
1027
+ select(this.host).select('.tableButton').style('display', 'none');
1028
+ select(this.host).select('.chartButton').style('display', null);
872
1029
  event.target.nextSibling.lastChild.focus();
873
1030
  const duration = 150;
874
- this._svg
1031
+ this.svg
875
1032
  .attr('opacity', 1)
876
1033
  .transition('fadeout')
877
1034
  .duration(duration)
878
1035
  .attr('opacity', 0)
879
1036
  .on('end', () => {
880
- this._svg.remove();
881
- this._legendDiv.style['display'] = 'none';
882
- this._tableDiv.style['display'] = 'block';
1037
+ this.svg.remove();
1038
+ select(this.legendDiv).select('.legend').selectAll('.legendChip').remove();
1039
+ this.legendDiv.style['display'] = 'none';
1040
+ this.tableDiv.style['display'] = 'block';
883
1041
  this.setTableContent();
884
1042
  this.setTableDimensions();
885
- select(this._tableDiv)
1043
+ select(this.tableDiv)
886
1044
  .style('opacity', 0)
887
1045
  .transition('fadein')
888
1046
  .duration(duration)
889
1047
  .style('opacity', 1);
1048
+ this.chartDiv.style['display'] = 'none';
890
1049
  });
891
- select(this._legendDiv)
1050
+ select(this.legendDiv)
892
1051
  .style('opacity', 1)
893
1052
  .transition('fadeout')
894
1053
  .duration(duration)
@@ -896,12 +1055,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
896
1055
  };
897
1056
  // Removes observer and calls init functions for line chart
898
1057
  this.reInitChart = (event) => {
899
- this.tableObserver.disconnect();
900
- this._status.innerHTML = '<p>Visas som diagram</p>';
901
- select(this._host).select('.tableButton').style('display', null);
902
- select(this._host).select('.chartButton').style('display', 'none');
1058
+ this.status.innerHTML = '<p>Visas som diagram</p>';
1059
+ select(this.host).select('.tableButton').style('display', null);
1060
+ select(this.host).select('.chartButton').style('display', 'none');
903
1061
  event.target.previousSibling.lastChild.focus();
904
- const table = select(this._tableDiv);
1062
+ const table = select(this.tableDiv);
1063
+ const duration = 150;
905
1064
  table
906
1065
  .style('opacity', 1)
907
1066
  .transition()
@@ -909,12 +1068,19 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
909
1068
  .style('opacity', 0)
910
1069
  .on('end', () => {
911
1070
  table.style('display', 'none');
1071
+ this.chartDiv.style['display'] = 'flex';
1072
+ this.legendDiv.style['display'] = 'grid';
912
1073
  this.initChain();
913
- this._svg
1074
+ this.svg
914
1075
  .attr('opacity', 0)
915
1076
  .transition()
916
- .duration(150)
1077
+ .duration(duration)
917
1078
  .attr('opacity', 1);
1079
+ select(this.legendDiv)
1080
+ .style('opacity', 0)
1081
+ .transition('fadeout')
1082
+ .duration(duration)
1083
+ .style('opacity', 1);
918
1084
  });
919
1085
  };
920
1086
  this.afVariation = BarChartVariation.Vertical;
@@ -924,9 +1090,10 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
924
1090
  }
925
1091
  afChartDataUpdate(data) {
926
1092
  if (typeof data != 'string')
927
- this._chartData = data;
1093
+ this.chartData = data;
928
1094
  else
929
- this._chartData = JSON.parse(data);
1095
+ this.chartData = JSON.parse(data);
1096
+ this.series = this.chartData.data.series.map(serie => serie.title);
930
1097
  this.mappedData = this.reshapeData();
931
1098
  // checking for width of each tick
932
1099
  this.mappedData.forEach((elem) => {
@@ -939,69 +1106,113 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
939
1106
  initSvg() {
940
1107
  var _a, _b, _c, _d, _e, _f, _g;
941
1108
  // Fetch number formatting
942
- this._numberFormat = {
943
- maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
944
- notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1109
+ this.numberFormat = {
1110
+ maximumSignificantDigits: (_c = (_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1111
+ notation: ((_f = (_e = (_d = this.chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
945
1112
  ? 'compact'
946
1113
  : 'standard'
947
1114
  };
948
- select(this._chartDiv).select('svg').remove();
949
- this._maxHeight = (_g = select(this._host)
1115
+ select(this.chartDiv).select('.chartSVG').remove();
1116
+ this.maxHeight = (_g = select(this.host)
950
1117
  .node()
951
1118
  .parentNode) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().height;
952
- this.barChartObserver.observe(this._chartDiv);
1119
+ this.barChartObserver.observe(this.chartDiv);
953
1120
  // Getting rem-size
954
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
955
- this.setMinMax();
1121
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
956
1122
  this.setDims();
1123
+ this.setMinMax();
957
1124
  this.setMargins();
958
1125
  // Appending svg
959
- this._svg = select(this._chartDiv)
1126
+ this.svg = select(this.chartDiv)
960
1127
  .append('svg')
1128
+ .attr('class', 'chartSVG')
961
1129
  .attr('aria-hidden', true)
962
1130
  .attr('role', 'img')
963
- .attr('aria-label', this._chartData && this._chartData.title
964
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
965
- : 'Stapeldiagram');
966
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
1131
+ .attr('aria-label', this.chartData && this.chartData.title
1132
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1133
+ : 'Stapeldiagram')
1134
+ .attr('style', 'display: flex;min-width: 0;width: 100%;height: auto;');
1135
+ }
1136
+ initLegend() {
1137
+ const rectSize = 18;
1138
+ const legendData = this.chartData.data.series.map(serie => serie.title);
1139
+ if (this.chartData.data.averageLine)
1140
+ legendData.push(this.chartData.data.averageLine.text);
1141
+ const legendChips = select(this.legendDiv).select('.legend')
1142
+ .style('margin-left', `${this.margin.left + this.tickPadding + this.yTickSize}px`)
1143
+ .selectAll('.legendChip')
1144
+ .data(legendData)
1145
+ .join('div')
1146
+ .attr('class', 'legendChip')
1147
+ .style('display', 'flex')
1148
+ .style('flex-direction', 'row')
1149
+ .style('align-items', 'center')
1150
+ .style('gap', '0.25rem')
1151
+ .style('cursor', 'default')
1152
+ .on('mouseenter', (_event, serie) => this.highlightBars(serie))
1153
+ .on('mouseleave', this.resetBarColor);
1154
+ legendChips.append('svg')
1155
+ .attr('width', rectSize)
1156
+ .attr('height', rectSize)
1157
+ .append('rect')
1158
+ .attr('x', 0)
1159
+ .attr('y', 0)
1160
+ .attr('width', rectSize)
1161
+ .attr('height', rectSize)
1162
+ .attr('rx', 4)
1163
+ .attr('ry', 4)
1164
+ .attr('fill', (title) => this.colorFunction(title));
1165
+ legendChips.append('span').style('text-wrap', 'nowrap').text((d) => d);
1166
+ if (this.chartData.data.averageLine) {
1167
+ const averageLine = legendChips.filter(':last-child')
1168
+ .on('mouseenter', (_event, serie) => this.highlightAverageLine(serie));
1169
+ const miniSVG = averageLine
1170
+ .select('svg')
1171
+ .attr('width', rectSize * 2);
1172
+ miniSVG.select('rect').remove();
1173
+ miniSVG.append('line')
1174
+ .attr('x1', 1)
1175
+ .attr('x2', rectSize * 2 - 1)
1176
+ .attr('y1', rectSize / 2 + 1)
1177
+ .attr('y2', rectSize / 2 + 1)
1178
+ .attr('stroke', 'var(--digi--color--infographic--lineart)')
1179
+ .attr('stroke-linecap', 'round')
1180
+ .attr('stroke-dasharray', '12, 7');
1181
+ }
967
1182
  }
968
1183
  initToolTip() {
969
1184
  // Getting handle for tooltip
970
- this._tooltip = select('#' + this.afId);
971
- this._tooltip.select('.close').on('click', this.closeTooltip);
972
- this._tooltipHeading =
973
- 'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1); // increment heading level by one
1185
+ this.tooltip = select('#' + this.afId);
1186
+ this.tooltip.select('.close').on('click', this.closeTooltip);
974
1187
  // Add heading placeholder for heading
975
- this._tooltip
976
- .selectAll('.tooltipBody')
977
- .append(this._tooltipHeading)
1188
+ this.tooltip
1189
+ .select('.tooltipHead')
1190
+ .insert('h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1), ':first-child') // increment heading level by one
978
1191
  .attr('class', 'tooltipHeading') // Adding class to try to dodge global css classes
979
1192
  .style('font-size', '1rem')
980
- .style('margin', '0 0.75rem')
1193
+ .style('margin', '0 0.75rem 0.5rem 0 ')
981
1194
  .style('font-weight', '500');
1195
+ this.tooltip.style('visibility', 'hidden');
982
1196
  }
983
1197
  initEmpty() {
984
- select(this._chartDiv).select('svg').remove();
985
- this._maxHeight = select(this._host)
1198
+ select(this.chartDiv).select('svg').remove();
1199
+ this.maxHeight = select(this.host)
986
1200
  .node()
987
1201
  .parentNode.getBoundingClientRect().height;
988
- this.barChartObserver.observe(this._chartDiv);
1202
+ this.barChartObserver.observe(this.chartDiv);
989
1203
  // Getting rem-size
990
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
991
- //this.setMinMax();
992
- this.setDims();
1204
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
993
1205
  this.setMargins();
994
1206
  // Appending svg
995
- this._svg = select(this._chartDiv)
1207
+ this.svg = select(this.chartDiv)
996
1208
  .append('svg')
997
1209
  .attr('aria-hidden', true)
998
1210
  .attr('role', 'img')
999
- .attr('aria-label', this._chartData && this._chartData.title
1000
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1211
+ .attr('aria-label', this.chartData && this.chartData.title
1212
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1001
1213
  : 'Stapeldiagram');
1002
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
1003
1214
  // Hide unusable components
1004
- select(this._titleDiv)
1215
+ select(this.titleDiv)
1005
1216
  .select(this.afHeadingLevel)
1006
1217
  .html(`${_t.loading}...`);
1007
1218
  this.initYAxis(true);
@@ -1009,62 +1220,60 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1009
1220
  this.loadingState(true);
1010
1221
  }
1011
1222
  loadingState(empty) {
1012
- this._loading = true;
1223
+ this.loading = true;
1013
1224
  // close potentially open tooltip
1014
- if (this._tooltip)
1225
+ if (this.tooltip)
1015
1226
  this.closeTooltip();
1016
- select(this._host).select('.tableButton').style('display', 'none');
1227
+ select(this.host).select('.tableButton').style('display', 'none');
1017
1228
  const newHeight = this.setDims();
1018
1229
  this.transitionTitle();
1019
- this._xAxisHandle.selectAll('.tick').remove();
1020
- this._xAxisHandle.select('path').remove();
1021
- this._svg
1230
+ this.xAxisHandle.selectAll('.tick').remove();
1231
+ this.xAxisHandle.select('path').remove();
1232
+ this.svg
1022
1233
  .transition()
1023
1234
  .duration(400)
1024
- .attr('width', this._dims.width)
1025
- .attr('height', this._dims.height)
1026
- .attr('aria-label', this._chartData && this._chartData.title
1027
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1235
+ .attr('aria-label', this.chartData && this.chartData.title
1236
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1028
1237
  : 'Stapeldiagram');
1029
1238
  this.setMargins(true);
1030
- select(this._titleDiv)
1239
+ select(this.titleDiv)
1031
1240
  .select(this.afHeadingLevel)
1032
1241
  .html(`${_t.loading}...`);
1033
1242
  // Waiting with observing for changes until transition to regular bars is complete
1034
- this._barChartContainer
1243
+ this.barChartContainer
1035
1244
  .transition('position')
1036
1245
  .duration(this.defaultDuration)
1037
1246
  .ease(polyInOut)
1038
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1247
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1039
1248
  // If there is a new height
1040
1249
  if (newHeight) {
1041
1250
  // Update y-axis with potentially new height (might want to do a check here)
1042
1251
  this.afVariation === BarChartVariation.Horizontal
1043
- ? this._yScale.range([
1044
- this._margin.top,
1045
- this._dims.height - this._margin.bottom
1252
+ ? this.yScale.range([
1253
+ this.margin.top,
1254
+ this.dims.height - this.margin.bottom
1046
1255
  ])
1047
- : this._yScale.range([
1048
- this._dims.height - this._margin.bottom,
1049
- this._margin.top
1256
+ : this.yScale.range([
1257
+ this.dims.height - this.margin.bottom,
1258
+ this.margin.top
1050
1259
  ]);
1051
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1260
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1052
1261
  }
1053
1262
  const animateBars = () => {
1054
- this._barChartContainer.selectAll('.barGroup').remove();
1055
- this._barSelection = this._barChartContainer
1263
+ this.barChartContainer.selectAll('.barGroup').remove();
1264
+ this.barSelection = this.barChartContainer
1056
1265
  .selectAll('barGroup')
1057
1266
  .data(this.mappedData)
1058
1267
  .join('g')
1059
1268
  .attr('class', 'barGroup')
1060
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
1269
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''))
1061
1270
  .append('rect')
1062
1271
  .attr('class', 'bar')
1063
1272
  .style('cursor', 'pointer');
1064
- this._barSelection
1273
+ this.barSelection
1065
1274
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1066
- ? this._yScale(d.key)
1067
- : this._dims.height - this._margin.bottom)
1275
+ ? this.yScale(d.key)
1276
+ : this.dims.height - this.margin.bottom)
1068
1277
  .attr('x', this.xFunction)
1069
1278
  .attr('ry', 4)
1070
1279
  .attr('rx', 4)
@@ -1076,29 +1285,29 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1076
1285
  .delay((...[, i]) => i * 150)
1077
1286
  .attr('y', this.yFunction)
1078
1287
  .attr('height', this.heightFunction);
1079
- this._barSelection
1288
+ this.barSelection
1080
1289
  .transition()
1081
1290
  .duration(400)
1082
1291
  .ease(linear$1)
1083
1292
  .delay((...[, i]) => i * 150 + 400)
1084
1293
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1085
- ? this._yScale(d.key)
1086
- : this._dims.height - this._margin.bottom)
1294
+ ? this.yScale(d.key)
1295
+ : this.dims.height - this.margin.bottom)
1087
1296
  .attr('height', () => 0)
1088
1297
  .on('end', (...[, i]) => {
1089
- if (i === this._placeholderTicks.length - 1)
1298
+ if (i === this.placeholderTicks.length - 1)
1090
1299
  animateBars();
1091
1300
  });
1092
1301
  };
1093
1302
  const flattenBars = () => {
1094
- this._barChartContainer
1303
+ this.barChartContainer
1095
1304
  .selectAll('rect')
1096
1305
  .transition()
1097
1306
  .duration(200)
1098
1307
  .ease(linear$1)
1099
1308
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1100
- ? this._yScale(d.key)
1101
- : this._dims.height - this._margin.bottom)
1309
+ ? this.yScale(d.key)
1310
+ : this.dims.height - this.margin.bottom)
1102
1311
  .attr('height', () => 0)
1103
1312
  .on('end', (...[, i]) => {
1104
1313
  if (i != 0)
@@ -1106,7 +1315,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1106
1315
  this.setYScale(true);
1107
1316
  this.setValueTicks();
1108
1317
  this.setXScale(true);
1109
- this.barChartObserver.observe(this._chartDiv);
1318
+ this.barChartObserver.observe(this.chartDiv);
1110
1319
  animateBars();
1111
1320
  });
1112
1321
  };
@@ -1116,20 +1325,20 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1116
1325
  flattenBars();
1117
1326
  }
1118
1327
  transitionTitle() {
1119
- const height = select(this._titleDiv).style('height');
1120
- select(this._titleDiv)
1121
- .style('height', this._prevHeight)
1328
+ const height = select(this.titleDiv).style('height');
1329
+ select(this.titleDiv)
1330
+ .style('height', this.prevHeight)
1122
1331
  .transition('adjust')
1123
1332
  .duration(400)
1124
1333
  .style('height', height)
1125
- .on('end', () => select(this._titleDiv).style('height', null));
1334
+ .on('end', () => select(this.titleDiv).style('height', null));
1126
1335
  }
1127
1336
  initYAxis(empty) {
1128
1337
  this.setYScale(empty);
1129
- this._barChartContainer = this._svg
1338
+ this.barChartContainer = this.svg
1130
1339
  .append('g')
1131
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1132
- this._yAxisHandle = this._barChartContainer.append('g');
1340
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1341
+ this.yAxisHandle = this.barChartContainer.append('g');
1133
1342
  if (this.afVariation === BarChartVariation.Horizontal) {
1134
1343
  this.tickSizes();
1135
1344
  this.setNamedTicks();
@@ -1141,31 +1350,31 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1141
1350
  // Sets the largest and smallest value from series 0, Should only be used when not loading
1142
1351
  setMinMax() {
1143
1352
  var _a, _b, _c, _d, _e, _f, _g;
1144
- const max$1 = max((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1145
- ? max((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1353
+ const max$1 = max((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1354
+ ? max((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1146
1355
  : 0;
1147
- const min$1 = min([0, min((_c = this._chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1148
- ? min([0, min((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1356
+ const min$1 = min([0, min((_c = this.chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1357
+ ? min([0, min((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1149
1358
  : 0;
1150
- this._maxVal = max$1;
1151
- this._minVal = min$1;
1152
- this._tempScale = linear()
1153
- .domain([this._minVal, this._maxVal])
1154
- .nice(((_f = (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1155
- ? (_g = this._chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1359
+ this.maxVal = max$1;
1360
+ this.minVal = min$1;
1361
+ this.tempScale = linear()
1362
+ .domain([this.minVal, this.maxVal])
1363
+ .nice(((_f = (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1364
+ ? (_g = this.chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1156
1365
  : 3)
1157
1366
  .domain();
1158
1367
  }
1159
1368
  // Setting up x-axis, getting margin.right in this function
1160
1369
  initXAxis(empty) {
1161
1370
  this.setXScale(empty);
1162
- this._xAxisHandle = this._barChartContainer
1371
+ this.xAxisHandle = this.barChartContainer
1163
1372
  .append('g')
1164
- .attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1373
+ .attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1165
1374
  if (this.afVariation === BarChartVariation.Horizontal) {
1166
1375
  this.setValueTicks();
1167
1376
  // Removing first tick, because it aligns with y-axis domain
1168
- //this._xAxisHandle.select('.tick').select('line').remove();
1377
+ //this.xAxisHandle.select('.tick').select('line').remove();
1169
1378
  }
1170
1379
  else {
1171
1380
  if (!empty) {
@@ -1177,15 +1386,16 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1177
1386
  }
1178
1387
  // Initializing bars, can only handle one series of bars for now
1179
1388
  initBars() {
1180
- this._barSelection = this._barChartContainer
1389
+ this.barSelection = this.barChartContainer
1390
+ .append('g')
1391
+ .attr('class', 'interactiveElements')
1392
+ .style('isolation', 'isolate')
1181
1393
  .selectAll('barGroup')
1182
1394
  .data(this.mappedData)
1183
1395
  .join('g')
1184
1396
  .attr('class', 'barGroup')
1185
- .attr('id', (d) => {
1186
- return 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_');
1187
- });
1188
- this._barSelection.selectAll('.barGroup')
1397
+ .attr('id', (d) => this.barGroupID(d.key));
1398
+ this.barSelection.selectAll('.barGroup')
1189
1399
  .data((d) => {
1190
1400
  return d.series;
1191
1401
  })
@@ -1205,53 +1415,55 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1205
1415
  }
1206
1416
  initBarText() {
1207
1417
  var _a, _b;
1208
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
1418
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
1209
1419
  return;
1210
- this._textSelection = this._barChartContainer
1420
+ this.textSelection = this.barChartContainer
1211
1421
  .selectAll('.barGroup')
1212
1422
  .append('text');
1213
- this._textSelection
1423
+ this.textSelection
1214
1424
  .text((d) => {
1215
- return d.value ? d.value.toLocaleString(undefined, this._numberFormat) : undefined;
1425
+ return d.value ? d.value.toLocaleString(undefined, this.numberFormat) : undefined;
1216
1426
  })
1217
1427
  .attr('class', 'barText')
1218
1428
  .attr('font-size', this.fontSize)
1219
1429
  .attr('font-weight', '600')
1220
1430
  .attr('text-anchor', 'end')
1221
1431
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1222
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
1223
- : this._yScale(d.value))
1432
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
1433
+ : this.yScale(d.value))
1224
1434
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
1225
- ? this._xScale(d)
1226
- : this._xScale(d.key) + this._xScale.bandwidth())
1435
+ ? this.xScale(d)
1436
+ : this.xScale(d.key) + this.xScale.bandwidth())
1227
1437
  .attr('dy', () => this.afVariation == BarChartVariation.Horizontal ? '0.35em' : '-0.25em')
1228
1438
  .style('pointer-events', 'none')
1229
- .style('display', () => { var _a, _b; return ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; });
1439
+ .style('display', () => { var _a, _b; return ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels) ? null : 'none'; });
1230
1440
  this.adjustBarText();
1231
1441
  }
1232
1442
  initChain() {
1233
1443
  this.initSvg();
1444
+ this.initLegend();
1234
1445
  this.initToolTip();
1235
1446
  this.initYAxis();
1236
1447
  this.initXAxis();
1237
1448
  this.initBars();
1449
+ this.averageLine();
1238
1450
  this.initBarText();
1239
1451
  }
1240
1452
  async updateChain() {
1241
1453
  var _a, _b, _c, _d, _e, _f;
1242
1454
  // Fetch number formatting
1243
- this._numberFormat = {
1244
- maximumSignificantDigits: (_c = (_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1245
- notation: ((_f = (_e = (_d = this._chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1455
+ this.numberFormat = {
1456
+ maximumSignificantDigits: (_c = (_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.labelProperties) === null || _c === void 0 ? void 0 : _c.significantDigits,
1457
+ notation: ((_f = (_e = (_d = this.chartData) === null || _d === void 0 ? void 0 : _d.meta) === null || _e === void 0 ? void 0 : _e.labelProperties) === null || _f === void 0 ? void 0 : _f.shortHand)
1246
1458
  ? 'compact'
1247
1459
  : 'standard'
1248
1460
  };
1249
- if (this._tooltip)
1461
+ if (this.tooltip)
1250
1462
  this.closeTooltip();
1251
1463
  // Check whether we are in table mode or not
1252
- if (this._tableDiv.style['display'] == 'block') {
1253
- if (!this._chartData.title) {
1254
- select(this._titleDiv)
1464
+ if (this.tableDiv.style['display'] == 'block') {
1465
+ if (!this.chartData.title) {
1466
+ select(this.titleDiv)
1255
1467
  .select(this.afHeadingLevel)
1256
1468
  .html(`${_t.loading}...`);
1257
1469
  }
@@ -1263,9 +1475,9 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1263
1475
  }
1264
1476
  else {
1265
1477
  // displaying legend again
1266
- if (this._loading) {
1267
- select(this._host).select('.tableButton').style('display', null);
1268
- select(this._legendDiv).style('display', null);
1478
+ if (this.loading) {
1479
+ select(this.host).select('.tableButton').style('display', null);
1480
+ select(this.legendDiv).style('display', null);
1269
1481
  this.initToolTip();
1270
1482
  }
1271
1483
  // Disconnect resize observer while adjusting things
@@ -1273,73 +1485,69 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1273
1485
  this.setMinMax();
1274
1486
  const newHeight = this.setDims();
1275
1487
  this.transitionTitle();
1276
- this._svg
1277
- .transition()
1278
- .duration(400)
1279
- .attr('width', this._dims.width)
1280
- .attr('height', this._dims.height)
1281
- .attr('aria-label', this._chartData && this._chartData.title
1282
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1488
+ this.svg
1489
+ .attr('aria-label', this.chartData && this.chartData.title
1490
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1283
1491
  : 'Stapeldiagram');
1284
1492
  this.setMargins();
1285
1493
  // Waiting with observing for changes until transition to regular bars is complete
1286
- this._barChartContainer
1494
+ this.barChartContainer
1287
1495
  .transition('position')
1288
1496
  .duration(this.defaultDuration)
1289
1497
  .ease(polyInOut)
1290
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1291
- if (!this._loading)
1292
- this._barChartContainer.on('end', () => this.barChartObserver.observe(this._chartDiv));
1498
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1499
+ if (!this.loading)
1500
+ this.barChartContainer.on('end', () => this.barChartObserver.observe(this.chartDiv));
1293
1501
  // If there is a new height
1294
1502
  if (newHeight) {
1295
1503
  // Update y-axis with potentially new height (might want to do a check here)
1296
1504
  this.afVariation === BarChartVariation.Horizontal
1297
- ? this._yScale.range([
1298
- this._margin.top,
1299
- this._dims.height - this._margin.bottom
1505
+ ? this.yScale.range([
1506
+ this.margin.top,
1507
+ this.dims.height - this.margin.bottom
1300
1508
  ])
1301
- : this._yScale.range([
1302
- this._dims.height - this._margin.bottom,
1303
- this._margin.top
1509
+ : this.yScale.range([
1510
+ this.dims.height - this.margin.bottom,
1511
+ this.margin.top
1304
1512
  ]);
1305
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1513
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1306
1514
  }
1307
1515
  this.tickSizes();
1308
1516
  this.setYScale();
1309
1517
  this.setXScale();
1310
1518
  this.setTickInteraction();
1311
- this._tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1312
- ? this._xScale.ticks().map((tick) => tick.toLocaleString())
1313
- : this._yScale.ticks().map((tick) => tick.toLocaleString()));
1519
+ this.tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1520
+ ? this.xScale.ticks().map((tick) => tick.toLocaleString())
1521
+ : this.yScale.ticks().map((tick) => tick.toLocaleString()));
1314
1522
  this.setValueTicks(true);
1315
- if (this._loading) {
1316
- select(this._legendDiv)
1523
+ if (this.loading) {
1524
+ select(this.legendDiv)
1317
1525
  .style('opacity', 0)
1318
1526
  .transition()
1319
1527
  .duration(400)
1320
1528
  .ease(polyInOut)
1321
1529
  .style('opacity', 1);
1322
- this._margin.right =
1323
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1530
+ this.margin.right =
1531
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1324
1532
  this.yTickSize +
1325
1533
  this.tickPadding;
1326
1534
  // Update x-axis with new width
1327
- this._xScale.range([
1535
+ this.xScale.range([
1328
1536
  0,
1329
- this._dims.width - this._margin.right - this._margin.left
1537
+ this.dims.width - this.margin.right - this.margin.left
1330
1538
  ]);
1331
1539
  this.setNamedTicks(true);
1332
1540
  // Stop animation
1333
- this._barSelection.selectAll('.barGroup').on('end', null);
1334
- this._loading = false;
1335
- this._barSelection
1541
+ this.barSelection.selectAll('.barGroup').on('end', null);
1542
+ this.loading = false;
1543
+ this.barSelection
1336
1544
  .transition()
1337
1545
  .duration(this.defaultDuration)
1338
1546
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1339
- ? this._yScale(d.key)
1340
- : this._dims.height - this._margin.bottom)
1547
+ ? this.yScale(d.key)
1548
+ : this.dims.height - this.margin.bottom)
1341
1549
  .attr('height', () => 0)
1342
- .on('end', (...[, i]) => i === this._placeholderTicks.length - 1
1550
+ .on('end', (...[, i]) => i === this.placeholderTicks.length - 1
1343
1551
  ? this.updateBars(true)
1344
1552
  : null);
1345
1553
  this.setTickInteraction();
@@ -1353,52 +1561,58 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1353
1561
  }
1354
1562
  // Getting correct color given index or name of data serie
1355
1563
  colorFunction(input) {
1356
- if (typeof input === 'number')
1357
- return `var(${this.colorPalettes[input]})`;
1564
+ var _a;
1565
+ if (typeof input === 'number') {
1566
+ return this.evalColorVar(this.colorPalettes[input]);
1567
+ }
1358
1568
  else {
1359
- const index = this._chartData.data.series.findIndex((serie) => serie.title === input);
1360
- if (index > 0)
1361
- return `var(${this.colorPalettes[index]})`;
1569
+ const index = this.chartData.data.series.findIndex((serie) => serie.title === input);
1570
+ if (index > 0) {
1571
+ if ((_a = this.chartData.meta) === null || _a === void 0 ? void 0 : _a.prognosisPattern)
1572
+ return 'url(#prognosis)';
1573
+ else
1574
+ return this.evalColorVar(this.colorPalettes[index]);
1575
+ }
1362
1576
  else
1363
- return `var(${this.colorPalettes[0]})`;
1577
+ return this.evalColorVar(this.colorPalettes[0]);
1364
1578
  }
1365
1579
  }
1366
1580
  // Resizing bar chart
1367
1581
  resize() {
1368
- var _a;
1369
1582
  const newHeight = this.setDims();
1370
- this.setMargins();
1371
- (_a = this._svg) === null || _a === void 0 ? void 0 : _a.attr('width', this._dims.width).attr('height', this._dims.height);
1372
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1373
- this._margin.right =
1374
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1583
+ //this.setMargins();
1584
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1585
+ this.margin.right =
1586
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1375
1587
  this.yTickSize +
1376
1588
  this.tickPadding;
1377
1589
  // If there is a new height
1378
1590
  if (newHeight) {
1379
1591
  // Update y-axis with potentially new height (might want to do a check here)
1380
1592
  this.afVariation === BarChartVariation.Horizontal
1381
- ? this._yScale.range([
1382
- this._margin.top,
1383
- this._dims.height - this._margin.bottom
1593
+ ? this.yScale.range([
1594
+ this.margin.top,
1595
+ this.dims.height - this.margin.bottom
1384
1596
  ])
1385
- : this._yScale.range([
1386
- this._dims.height - this._margin.bottom,
1387
- this._margin.top
1597
+ : this.yScale.range([
1598
+ this.dims.height - this.margin.bottom,
1599
+ this.margin.top
1388
1600
  ]);
1389
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1601
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1390
1602
  }
1391
1603
  // Update x-axis with new width
1392
- this._xScale.range([
1604
+ this.xScale.range([
1393
1605
  0,
1394
- this._dims.width - this._margin.right - this._margin.left
1606
+ this.dims.width - this.margin.right - this.margin.left
1395
1607
  ]);
1396
1608
  this.setNamedTicks();
1397
1609
  this.setValueTicks();
1610
+ this.setTickInteraction();
1611
+ this.averageLine();
1398
1612
  this.adjustBarSize();
1399
1613
  this.adjustBarText();
1400
- if (this._tooltipData)
1401
- this.positionTooltip(this._tooltipData);
1614
+ if (this.tooltip.style('visibility') !== 'hidden')
1615
+ this.positionTooltip(this.tooltipData);
1402
1616
  }
1403
1617
  // Returns the longest text from an array of strings
1404
1618
  getLargestText(array) {
@@ -1411,30 +1625,33 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1411
1625
  });
1412
1626
  return width;
1413
1627
  }
1628
+ adjustColor(color, amount) {
1629
+ return '#' + color.replace(/^#/, '').replace(/../g, color => ('0' + Math.min(255, Math.max(0, parseInt(color, 16) + amount)).toString(16)).substr(-2));
1630
+ }
1414
1631
  componentWillLoad() {
1415
1632
  this.afChartDataUpdate(this.afChartData);
1416
1633
  }
1417
1634
  componentDidLoad() {
1418
- if (!this._chartData || Object.keys(this._chartData).length === 0) {
1419
- this._loading = true;
1635
+ if (!this.chartData || Object.keys(this.chartData).length === 0) {
1636
+ this.loading = true;
1420
1637
  return this.initEmpty();
1421
1638
  }
1422
1639
  this.initChain();
1423
1640
  document.fonts.ready.then(() => {
1424
1641
  this.recomputeTextSize();
1425
1642
  this.setNamedTicks();
1426
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1643
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1427
1644
  });
1428
1645
  }
1429
1646
  disconnectedCallback() {
1430
1647
  this.barChartObserver.disconnect();
1431
1648
  }
1432
1649
  componentWillUpdate() {
1433
- this._prevHeight = select(this._titleDiv).style('height');
1650
+ this.prevHeight = select(this.titleDiv).style('height');
1434
1651
  }
1435
1652
  componentDidUpdate() {
1436
- if (this._tableDiv.style['display'] != 'block' &&
1437
- Object.keys(this._chartData).length === 0) {
1653
+ if (this.tableDiv.style['display'] != 'block' &&
1654
+ Object.keys(this.chartData).length === 0) {
1438
1655
  // Disconnect old barchartobserver while doing resizing
1439
1656
  this.barChartObserver.disconnect();
1440
1657
  return this.loadingState();
@@ -1451,7 +1668,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1451
1668
  // Returns pixelwidth of text given the current fontSize (costly function using .each)
1452
1669
  getTextSize(text) {
1453
1670
  const textWidth = [];
1454
- const svg = select(this._chartDiv).append('svg');
1671
+ const svg = select(this.chartDiv).append('svg');
1455
1672
  svg
1456
1673
  .selectAll('dummyText')
1457
1674
  .data([text])
@@ -1466,21 +1683,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1466
1683
  svg.remove().exit();
1467
1684
  return textWidth[0];
1468
1685
  }
1469
- // Setting table content from this._chartData
1686
+ // Setting table content from this.chartData
1470
1687
  setTableContent() {
1471
- this._tableDiv.innerHTML = `<digi-table af-size="small" af-variation="primary"> <table><caption>${this._chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
1688
+ this.tableDiv.innerHTML = `<digi-table af-size="small" style="width:100%" af-variation="primary"> <table><caption>${this.chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
1472
1689
  }
1473
1690
  setTableDimensions() {
1474
- const table = select(this._tableDiv);
1475
- table
1476
- // The last value is for compensating the padding set on the table element, changing padding in css, will need change in these two lines
1477
- .style('height', this._dims.height + 'px');
1478
- table.style('width', this._dims.width - this._rem * 0.65 + 'px');
1691
+ const table = select(this.tableDiv);
1692
+ table.style('display', 'flex').style('height', '100%').style('width', '100%');
1479
1693
  }
1480
1694
  // Extracting all headings from data and returning a string with <th>-elements with headings
1481
1695
  headings() {
1482
- let headingsString = `<th scope="col">${this._chartData.x}</th>`;
1483
- this._chartData.data.series.forEach((elem) => {
1696
+ let headingsString = `<th scope="col">${this.chartData.x}</th>`;
1697
+ this.chartData.data.series.forEach((elem) => {
1484
1698
  headingsString = headingsString.concat(`<th scope="col">${elem.title}</th>`);
1485
1699
  });
1486
1700
  return headingsString;
@@ -1488,13 +1702,13 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1488
1702
  // Building the table body
1489
1703
  tableBody() {
1490
1704
  let body = '';
1491
- if (this._chartData && this._chartData.data) {
1492
- const loopable = this._chartData.data.xValueNames
1493
- ? this._chartData.data.xValueNames
1494
- : this._chartData.data.xValues;
1705
+ if (this.chartData && this.chartData.data) {
1706
+ const loopable = this.chartData.data.xValueNames
1707
+ ? this.chartData.data.xValueNames
1708
+ : this.chartData.data.xValues;
1495
1709
  loopable.forEach((elem, index) => {
1496
1710
  let cells = '';
1497
- this._chartData.data.series.forEach((serie) => {
1711
+ this.chartData.data.series.forEach((serie) => {
1498
1712
  cells = cells.concat(`<td>${serie.yValues[index] != null ? serie.yValues[index].toLocaleString() : '-'}</td>`);
1499
1713
  });
1500
1714
  body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
@@ -1506,18 +1720,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1506
1720
  var _a, _b, _c, _d, _e;
1507
1721
  // Setting header
1508
1722
  let heading = '';
1509
- if (this._chartData) {
1510
- if (!this._chartData.subTitle)
1511
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}>`;
1723
+ if (this.chartData) {
1724
+ if (!this.chartData.subTitle)
1725
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}>`;
1512
1726
  else {
1513
- if (!this._chartData.infoText)
1514
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${this._chartData.subTitle}</p>`;
1727
+ if (!this.chartData.infoText)
1728
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${this.chartData.subTitle}</p>`;
1515
1729
  else
1516
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${(_a = this._chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1517
- <span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this._chartData.infoText}</span></p>`;
1730
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${(_a = this.chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1731
+ <span style="display:block;margin-top:0.25rem;font-size:0.875rem;color:var(--digi--global--color--neutral--grayscale--darkest-3)">${this.chartData.infoText}</span></p>`;
1518
1732
  }
1519
1733
  }
1520
- return (h(Host, { key: 'a1e4aaa788766d54c691e95b7e70932b0e7d2b05', ref: (el) => (this._host = el) }, h("div", { key: '2fac926d196acaa20ab5f438968e3c98c08dd104', class: "topWrapper", ref: (el) => (this._titleDiv = el) }, h("digi-typography", { key: '16d8cbd0f03a2a2d24d3366ab1b3eaed797dd361', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '22a93add4a7f1ea3965ce496f2b5cbf488b01314', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this._chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '152938d206dc00e2fb88b52d332960cbeda2c045', slot: "icon" }), "Visa tabell"), h("digi-button", { key: '66db213ee1c4cb169c7c257853a15a468bf2a83e', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: 'ac4b8adad6ace97f50591cd39b8b0082d067f069', slot: "icon" }), "Visa diagram"), h("div", { key: 'b28e00a40b5c1a2919146ec4815f23a14fdfac50', class: "scChartStatus", role: "status", ref: (el) => (this._status = el) })), h("div", { key: '63f80744faa1d4b3d7d62bece3b5c446eda3ae7b', class: "chartTooltip", id: this.afId }, h("div", { key: '8c9fa9388b9bfc071c4a594275159eb36a8ec43b', class: "tooltipBody" }), h("digi-icon-x", { key: '252d12a937e5276381fa40ec3bb4e77c259da9c1', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", null)) : (h("digi-icon-caret-down", null))), h("div", { key: '9b70433c310882bd0a06784ca1fa21c5b2dd9e52', ref: (el) => (this._chartDiv = el) }, " "), h("div", { key: '459e38448e29eea1fa7a10de7f3f1f06b6404eab', class: "legend", ref: (el) => (this._legendDiv = el) }), h("div", { key: 'cc655054cb3c3688c75060ebbdf6c3f8ea4ad712', class: "table", ref: (el) => (this._tableDiv = el) }, ' ')));
1734
+ return (h(Host, { key: '54667697f174d4094b521c81dc772b599c262c29', ref: (el) => (this.host = el) }, h("svg", { key: 'df7e852f09b0c7b142154024444a8cc694b3a34a', xmlns: "http://www.w3.org/2000/svg", width: "0", height: "0" }, h("defs", { key: '036603fe008473d87dac2c97e7d4106aca962cc6' }, h("pattern", { key: '4d69d72862f411f0c1d115613ef21b449467a8cf', id: "prognosis", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '75f26f0b57f83546f5b0a788f14be2daebe4c1f9', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar(this.colorPalettes[0]), "stroke-width": "8" })), h("pattern", { key: '93a47ceac0fb59103486e974e63325b31672e89d', id: "prognosisInactive", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '90e8ca1a698db50f0711ede271c6d5357fb26c42', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.evalColorVar('--digi--color--background--secondary-accent'), "stroke-width": "8" })), h("pattern", { key: 'cc034a851b624f5c2107b15f29d63a224601e0c9', id: "prognosisHighlight", patternUnits: "userSpaceOnUse", width: "8", height: "8", patternTransform: "rotate(45)" }, h("line", { key: '248034ecb86d548ceafe837341dabbae07b6c753', x1: "0", y: "0", x2: "0", y2: "12", stroke: this.adjustColor(this.colorFunction(0), 50), "stroke-width": "8" })))), h("div", { key: '51b7a0e2f9ff0f85d3abde08ab3f3cf346cdd4aa', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, h("digi-typography", { key: '880b7b7a2fde8eccbd4c24878cc7b3b9b9c6497a', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: 'f374ae56dc6d13906d27bbb76fba63128bc6b704', class: "buttonWrapper tableButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.activateTable, afAriaLabel: `Visa tabell ${((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.title) ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.title.toLowerCase() : ''}` }, h("digi-icon-table", { key: '3c8dcd209ffd76fb97cdb14232996136ff3a0387', slot: "icon" }), "Visa tabell"), h("digi-button", { key: '89e5a3a838efd0e2c21abb88141e7e455c1c5b7a', style: { display: 'none' }, class: "buttonWrapper chartButton", "af-size": "medium", "af-variation": "function", "af-full-width": "false", onAfOnClick: this.reInitChart, afAriaLabel: `Visa diagram ${((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.title) ? (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.title.toLowerCase() : ''}` }, h("digi-icon-chart", { key: '8c3debb222d5079506dee4f9cdacf85128ead251', slot: "icon" }), "Visa diagram"), h("div", { key: '0c1916ce68d02ab2b567ed20ea25c17076497aaf', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), h("div", { key: '143cc5ecbc3bbf3d085eb0426bca9b3bf66ecc7b', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, h("div", { key: 'eabbfd6c62996ae237014bd0e4754fb857e0f518', class: "chartTooltip", id: this.afId }, h("div", { key: '97c7c2e479acb9a6f4658768870c1484baa59f01', class: "tooltipHead" }, h("digi-icon-x", { key: 'ec08ba3c764cb66ed0ecac0afdd6b4d16bc84b84', class: "close" })), h("div", { key: '6d80b2cb7bf94c492eaed42a80a8252394fe92b9', class: "tooltipBody" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", { class: "caret" })) : (h("digi-icon-caret-down", { class: "caret" })))), h("div", { key: '7a22b0e07deb81e3e566f60e5e8e2d2f3056a2a2', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, h("div", { key: '40d906b37ea0a69cb7fcfe310e612e8a5cba2928', class: "legend" })), h("div", { key: '24802d1363812b9d50bd98216f36c7c3f44856d2', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
1521
1735
  }
1522
1736
  get hostElement() { return this; }
1523
1737
  static get watchers() { return {