@designsystem-se/af 35.4.0 → 35.4.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1368) hide show
  1. package/components/digi-bar-chart.js +641 -538
  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-6c7ff092.js → p-039ae2b0.js} +2 -2
  281. package/components/{p-d18dccc2.js → p-03c90546.js} +2 -2
  282. package/components/{p-f516f6d6.js → p-04d40c11.js} +2 -2
  283. package/components/{p-5c935094.js → p-05d1c086.js} +8 -8
  284. package/components/{p-71bad47e.js → p-0b4d2d83.js} +1 -1
  285. package/components/{p-2d8b68de.js → p-0c50c0de.js} +2 -2
  286. package/components/{p-6a652c1c.js → p-13f4d2ef.js} +2 -2
  287. package/components/{p-ad94e4f3.js → p-14ca5b70.js} +4 -4
  288. package/components/{p-a90980f7.js → p-1585a4be.js} +2 -2
  289. package/components/{p-6013f971.js → p-1a1da470.js} +2 -2
  290. package/components/{p-764c106c.js → p-204a12b0.js} +1 -1
  291. package/components/{p-d309b91a.js → p-21a5bc1b.js} +2 -2
  292. package/components/{p-b08505a8.js → p-21cd8c48.js} +2 -2
  293. package/components/{p-64a9f915.js → p-2889897c.js} +2 -2
  294. package/components/{p-300490fb.js → p-2e15f1c6.js} +2 -2
  295. package/components/{p-f147733f.js → p-346262e9.js} +2 -2
  296. package/components/{p-60394bdb.js → p-358d9f7f.js} +2 -2
  297. package/components/{p-95dc2a66.js → p-3592c644.js} +2 -2
  298. package/components/{p-b5523600.js → p-3a53c26b.js} +2 -2
  299. package/components/{p-fccc9322.js → p-3f7610aa.js} +3 -3
  300. package/components/{p-f9e6f45e.js → p-48c9d0f3.js} +2 -2
  301. package/components/{p-73c973fc.js → p-4be31ab9.js} +8 -8
  302. package/components/{p-f5e13d2e.js → p-5489de1a.js} +1 -1
  303. package/components/{p-61fe9d78.js → p-598345b2.js} +2 -2
  304. package/components/{p-372e42fa.js → p-5c41419e.js} +2 -2
  305. package/components/{p-965664d4.js → p-5d16bf8e.js} +10 -10
  306. package/components/{p-0e6bb1ce.js → p-5e2cf317.js} +2 -2
  307. package/components/{p-299871dc.js → p-6105626d.js} +2 -2
  308. package/components/{p-1440ff46.js → p-6e6c2153.js} +2 -2
  309. package/components/{p-bbaf1285.js → p-70a1e53a.js} +2 -2
  310. package/components/{p-15bbce60.js → p-71b44546.js} +1 -1
  311. package/components/{p-96a4c4dc.js → p-739fcdc7.js} +2 -2
  312. package/components/{p-d14fe54d.js → p-748dfa2c.js} +2 -2
  313. package/components/{p-127b0f7a.js → p-75973da5.js} +2 -2
  314. package/components/{p-9f12ac0c.js → p-83c08ea6.js} +8 -8
  315. package/components/{p-042282c9.js → p-85b6b337.js} +2 -2
  316. package/components/{p-2a0c0c78.js → p-92b68e77.js} +2 -2
  317. package/components/{p-291680dc.js → p-95536f3c.js} +2 -2
  318. package/components/{p-4caaef7a.js → p-a7a01d29.js} +2 -2
  319. package/components/{p-39021139.js → p-a88d72d7.js} +2 -2
  320. package/components/{p-ba757bc9.js → p-b0527d47.js} +3 -3
  321. package/components/{p-ab1d6ae3.js → p-b6b7ca97.js} +10 -10
  322. package/components/{p-3cbdeea5.js → p-b808953f.js} +1 -1
  323. package/components/{p-7492d61e.js → p-bc6e8aa7.js} +2 -2
  324. package/components/{p-f7fd3e36.js → p-beb92e80.js} +1 -1
  325. package/components/{p-cfa81e91.js → p-beda5948.js} +1 -1
  326. package/components/{p-6b275dc1.js → p-d1e931a6.js} +2 -2
  327. package/components/{p-82463cc2.js → p-d6e8ab86.js} +2 -2
  328. package/components/{p-9bcf4599.js → p-daa147ae.js} +2 -2
  329. package/components/{p-aed6db71.js → p-e048c005.js} +2 -2
  330. package/components/{p-82085ee1.js → p-e14ea3f3.js} +2 -2
  331. package/components/{p-cf527784.js → p-e22a938c.js} +2 -2
  332. package/components/{p-8a2e80d2.js → p-e7d6ed0f.js} +1 -1
  333. package/components/{p-364d38fc.js → p-ea3ca139.js} +2 -2
  334. package/components/{p-42c4e18d.js → p-ecf4d8ee.js} +1 -1
  335. package/components/{p-472bc7d3.js → p-f080d24e.js} +2 -2
  336. package/components/{p-c495f54e.js → p-f2dc2816.js} +2 -2
  337. package/components/{p-3ea21529.js → p-f3c0bfd0.js} +2 -2
  338. package/components/{p-b5b891f2.js → p-f3cfe620.js} +3 -3
  339. package/components/{p-4458129b.js → p-fade2a85.js} +2 -2
  340. package/components/{p-4437e1a8.js → p-fc39074d.js} +1 -1
  341. package/custom-elements.json +1 -1
  342. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  343. package/dist/cjs/{digi-button_24.cjs.entry.js → digi-bar-chart_27.cjs.entry.js} +1734 -82
  344. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2 -2
  345. package/dist/cjs/digi-calendar_2.cjs.entry.js +2 -2
  346. package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
  347. package/dist/cjs/digi-code-block_3.cjs.entry.js +6 -6
  348. package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
  349. package/dist/cjs/digi-code.cjs.entry.js +1 -1
  350. package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
  351. package/dist/cjs/digi-dialog.cjs.entry.js +5 -5
  352. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
  353. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +4 -4
  354. package/dist/cjs/digi-expandable-faq.cjs.entry.js +2 -2
  355. package/dist/cjs/digi-footer-card.cjs.entry.js +1 -1
  356. package/dist/cjs/digi-footer.cjs.entry.js +3 -3
  357. package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
  358. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  359. package/dist/cjs/digi-form-error-list.cjs.entry.js +5 -5
  360. package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
  361. package/dist/cjs/digi-form-filter.cjs.entry.js +5 -5
  362. package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -2
  363. package/dist/cjs/digi-form-input.cjs.entry.js +3 -3
  364. package/dist/cjs/digi-form-label_5.cjs.entry.js +8 -8
  365. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +2 -2
  366. package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -3
  367. package/dist/cjs/digi-form-select-filter.cjs.entry.js +9 -9
  368. package/dist/cjs/digi-form-select_2.cjs.entry.js +6 -6
  369. package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
  370. package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
  371. package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
  372. package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
  373. package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
  374. package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
  375. package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
  376. package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
  377. package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
  378. package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
  379. package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
  380. package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
  381. package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
  382. package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
  383. package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
  384. package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
  385. package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
  386. package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
  387. package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
  388. package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
  389. package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
  390. package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
  391. package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
  392. package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
  393. package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
  394. package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
  395. package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
  396. package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
  397. package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
  398. package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
  399. package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
  400. package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +8 -8
  401. package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
  402. package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
  403. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
  404. package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +2 -2
  405. package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +2 -2
  406. package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
  407. package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
  408. package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
  409. package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
  410. package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
  411. package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
  412. package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
  413. package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
  414. package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
  415. package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
  416. package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
  417. package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
  418. package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
  419. package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
  420. package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
  421. package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
  422. package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
  423. package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
  424. package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
  425. package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
  426. package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
  427. package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
  428. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
  429. package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
  430. package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
  431. package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
  432. package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
  433. package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
  434. package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
  435. package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
  436. package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
  437. package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
  438. package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
  439. package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
  440. package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
  441. package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
  442. package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
  443. package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
  444. package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
  445. package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
  446. package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
  447. package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
  448. package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
  449. package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
  450. package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
  451. package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
  452. package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
  453. package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
  454. package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
  455. package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
  456. package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
  457. package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
  458. package/dist/cjs/digi-icon-language-outline.cjs.entry.js +2 -2
  459. package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
  460. package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
  461. package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
  462. package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
  463. package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
  464. package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
  465. package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
  466. package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
  467. package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
  468. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
  469. package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
  470. package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
  471. package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
  472. package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
  473. package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
  474. package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
  475. package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
  476. package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
  477. package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +8 -8
  478. package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
  479. package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
  480. package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
  481. package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
  482. package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
  483. package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
  484. package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
  485. package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
  486. package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
  487. package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
  488. package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
  489. package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
  490. package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
  491. package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
  492. package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
  493. package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
  494. package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
  495. package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
  496. package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
  497. package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
  498. package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
  499. package/dist/cjs/digi-icon-sign.cjs.entry.js +2 -2
  500. package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
  501. package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
  502. package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
  503. package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
  504. package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
  505. package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
  506. package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
  507. package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
  508. package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
  509. package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
  510. package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
  511. package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
  512. package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
  513. package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
  514. package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
  515. package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
  516. package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
  517. package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
  518. package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
  519. package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
  520. package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
  521. package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
  522. package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
  523. package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
  524. package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
  525. package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
  526. package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
  527. package/dist/cjs/digi-icon-volume.cjs.entry.js +2 -2
  528. package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
  529. package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
  530. package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
  531. package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
  532. package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
  533. package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
  534. package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
  535. package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
  536. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
  537. package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
  538. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  539. package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
  540. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  541. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  542. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  543. package/dist/cjs/digi-list.cjs.entry.js +1 -1
  544. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
  545. package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
  546. package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
  547. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
  548. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +8 -8
  549. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
  550. package/dist/cjs/digi-notification-alert.cjs.entry.js +4 -4
  551. package/dist/cjs/digi-notification-error-page.cjs.entry.js +5 -5
  552. package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
  553. package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -3
  554. package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
  555. package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
  556. package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
  557. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  558. package/dist/cjs/digi-table.cjs.entry.js +1 -1
  559. package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
  560. package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
  561. package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
  562. package/dist/cjs/digi-tag.cjs.entry.js +1 -1
  563. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
  564. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
  565. package/dist/cjs/digi-tools-feedback.cjs.entry.js +3 -3
  566. package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
  567. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +38 -0
  568. package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
  569. package/dist/cjs/digi-typography-preamble.cjs.entry.js +20 -0
  570. package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
  571. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
  572. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
  573. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
  574. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
  575. package/dist/cjs/index-7a477838.js +10 -14
  576. package/dist/cjs/index.cjs.js +20 -20
  577. package/dist/cjs/loader.cjs.js +1 -1
  578. package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +17 -0
  579. package/dist/cjs/{typography-variation.enum-9f56fd50.js → typography-variation.enum-8fd8bed4.js} +6 -16
  580. package/dist/collection/components/_chart/bar-chart/bar-chart.css +37 -28
  581. package/dist/collection/components/_chart/bar-chart/bar-chart.js +644 -541
  582. package/dist/collection/components/_chart/chart-line/chart-line.js +3 -3
  583. package/dist/collection/components/_chart/interfaces/line-chart-data.interface.js +1 -0
  584. package/dist/collection/components/_code/code/code.js +1 -1
  585. package/dist/collection/components/_code/code-block/code-block.js +1 -1
  586. package/dist/collection/components/_code/code-example/code-example.js +4 -4
  587. package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
  588. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
  589. package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
  590. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
  591. package/dist/collection/components/_footer/footer/footer.js +1 -1
  592. package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
  593. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
  594. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
  595. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  596. package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
  597. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
  598. package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
  599. package/dist/collection/components/_form/form-input/form-input.js +3 -3
  600. package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
  601. package/dist/collection/components/_form/form-label/form-label.js +1 -1
  602. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
  603. package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -2
  604. package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
  605. package/dist/collection/components/_form/form-select/form-select.js +4 -4
  606. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
  607. package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
  608. package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
  609. package/dist/collection/components/_header/header/header.js +1 -1
  610. package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
  611. package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
  612. package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
  613. package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
  614. package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
  615. package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
  616. package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
  617. package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
  618. package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
  619. package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
  620. package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
  621. package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
  622. package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
  623. package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
  624. package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
  625. package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
  626. package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
  627. package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
  628. package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
  629. package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
  630. package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
  631. package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
  632. package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
  633. package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
  634. package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
  635. package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
  636. package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
  637. package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
  638. package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
  639. package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
  640. package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
  641. package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
  642. package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
  643. package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
  644. package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
  645. package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
  646. package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
  647. package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
  648. package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
  649. package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
  650. package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
  651. package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
  652. package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
  653. package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
  654. package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
  655. package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
  656. package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
  657. package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
  658. package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
  659. package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
  660. package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
  661. package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
  662. package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
  663. package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
  664. package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
  665. package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
  666. package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
  667. package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
  668. package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
  669. package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
  670. package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
  671. package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
  672. package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
  673. package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
  674. package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
  675. package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
  676. package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
  677. package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
  678. package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
  679. package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
  680. package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
  681. package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
  682. package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
  683. package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
  684. package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
  685. package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
  686. package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
  687. package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
  688. package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
  689. package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
  690. package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
  691. package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
  692. package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
  693. package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
  694. package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
  695. package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
  696. package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
  697. package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
  698. package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
  699. package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
  700. package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
  701. package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
  702. package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
  703. package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
  704. package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
  705. package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
  706. package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
  707. package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
  708. package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
  709. package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
  710. package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
  711. package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
  712. package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
  713. package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
  714. package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
  715. package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
  716. package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
  717. package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
  718. package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
  719. package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
  720. package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
  721. package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
  722. package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
  723. package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
  724. package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
  725. package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
  726. package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
  727. package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
  728. package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
  729. package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
  730. package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
  731. package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
  732. package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
  733. package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
  734. package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
  735. package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
  736. package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
  737. package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
  738. package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
  739. package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
  740. package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
  741. package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
  742. package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
  743. package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
  744. package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
  745. package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
  746. package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
  747. package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
  748. package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
  749. package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
  750. package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
  751. package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
  752. package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
  753. package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
  754. package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
  755. package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
  756. package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
  757. package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
  758. package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
  759. package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
  760. package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
  761. package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
  762. package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
  763. package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
  764. package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
  765. package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
  766. package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
  767. package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
  768. package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
  769. package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
  770. package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
  771. package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
  772. package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
  773. package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
  774. package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
  775. package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
  776. package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
  777. package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
  778. package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
  779. package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
  780. package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
  781. package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
  782. package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
  783. package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
  784. package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
  785. package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
  786. package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
  787. package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
  788. package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
  789. package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
  790. package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
  791. package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
  792. package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
  793. package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
  794. package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
  795. package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
  796. package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
  797. package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
  798. package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
  799. package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
  800. package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
  801. package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
  802. package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
  803. package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
  804. package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
  805. package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
  806. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
  807. package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
  808. package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
  809. package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
  810. package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
  811. package/dist/collection/components/_link/link/link.js +1 -1
  812. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  813. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  814. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  815. package/dist/collection/components/_list/list/list.js +1 -1
  816. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  817. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  818. package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
  819. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  820. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  821. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  822. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
  823. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  824. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  825. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  826. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
  827. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  828. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  829. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  830. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  831. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  832. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  833. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  834. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  835. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  836. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  837. package/dist/collection/components/_quote/quote/quote.js +1 -1
  838. package/dist/collection/components/_table/table/table.js +1 -1
  839. package/dist/collection/components/_tag/tag/tag.js +1 -1
  840. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  841. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  842. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  843. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  844. package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
  845. package/dist/collection/components/_typography/typography/typography.js +1 -1
  846. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  847. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  848. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  849. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  850. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  851. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  852. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  853. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  854. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  855. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  856. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  857. package/dist/collection/design-tokens/components/_logo.variables.scss +16 -19
  858. package/dist/collection/interfaces.js +2 -2
  859. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  860. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  861. package/dist/digi-arbetsformedlingen/{p-20ef225a.entry.js → p-01bf3ad8.entry.js} +1 -1
  862. package/dist/digi-arbetsformedlingen/{p-1e2a9156.entry.js → p-0361e2a2.entry.js} +1 -1
  863. package/dist/digi-arbetsformedlingen/{p-2c7d4ecf.entry.js → p-0564bb24.entry.js} +1 -1
  864. package/dist/digi-arbetsformedlingen/{p-352712b9.entry.js → p-056a51ac.entry.js} +1 -1
  865. package/dist/digi-arbetsformedlingen/{p-0d35dc92.entry.js → p-056d6d46.entry.js} +1 -1
  866. package/dist/digi-arbetsformedlingen/{p-9a73a55d.entry.js → p-064c939e.entry.js} +1 -1
  867. package/dist/digi-arbetsformedlingen/{p-7660ba5b.entry.js → p-077c4ce7.entry.js} +1 -1
  868. package/dist/digi-arbetsformedlingen/{p-fc945ec1.entry.js → p-07d588b9.entry.js} +1 -1
  869. package/dist/digi-arbetsformedlingen/{p-d146131e.entry.js → p-081d9429.entry.js} +1 -1
  870. package/dist/digi-arbetsformedlingen/{p-c70ba82f.entry.js → p-08f58a6e.entry.js} +1 -1
  871. package/dist/digi-arbetsformedlingen/{p-b7494943.entry.js → p-09906093.entry.js} +1 -1
  872. package/dist/digi-arbetsformedlingen/{p-34ef0baa.entry.js → p-09a77556.entry.js} +1 -1
  873. package/dist/digi-arbetsformedlingen/{p-f69dbfcf.entry.js → p-0ad9751e.entry.js} +1 -1
  874. package/dist/digi-arbetsformedlingen/{p-4b618926.entry.js → p-0ce866e5.entry.js} +1 -1
  875. package/dist/digi-arbetsformedlingen/{p-cd770cb4.entry.js → p-0cf7ecbc.entry.js} +1 -1
  876. package/dist/digi-arbetsformedlingen/{p-48113595.entry.js → p-0d2fbd96.entry.js} +1 -1
  877. package/dist/digi-arbetsformedlingen/{p-07b02fa8.entry.js → p-0e83f440.entry.js} +1 -1
  878. package/dist/digi-arbetsformedlingen/{p-bb554f34.entry.js → p-118de1ce.entry.js} +1 -1
  879. package/dist/digi-arbetsformedlingen/{p-905f3864.entry.js → p-124903f2.entry.js} +1 -1
  880. package/dist/digi-arbetsformedlingen/{p-76eb331e.entry.js → p-14c497e9.entry.js} +1 -1
  881. package/dist/digi-arbetsformedlingen/{p-83b3f053.entry.js → p-1567c7cf.entry.js} +1 -1
  882. package/dist/digi-arbetsformedlingen/{p-a5c387e8.entry.js → p-187a2bff.entry.js} +1 -1
  883. package/dist/digi-arbetsformedlingen/{p-6a33818a.entry.js → p-1934f440.entry.js} +1 -1
  884. package/dist/digi-arbetsformedlingen/{p-4788712e.entry.js → p-1da9c71e.entry.js} +1 -1
  885. package/dist/digi-arbetsformedlingen/{p-fc252a02.entry.js → p-1debc9e3.entry.js} +1 -1
  886. package/dist/digi-arbetsformedlingen/{p-b63e0b2d.entry.js → p-1e7003b3.entry.js} +1 -1
  887. package/dist/digi-arbetsformedlingen/{p-9a7e195c.entry.js → p-1f96ae50.entry.js} +1 -1
  888. package/dist/digi-arbetsformedlingen/{p-ad471fd2.entry.js → p-207287dc.entry.js} +1 -1
  889. package/dist/digi-arbetsformedlingen/{p-2412deb9.entry.js → p-21a46b7b.entry.js} +1 -1
  890. package/dist/digi-arbetsformedlingen/{p-0c210491.entry.js → p-22dceb50.entry.js} +1 -1
  891. package/dist/digi-arbetsformedlingen/{p-82634b60.entry.js → p-257b435c.entry.js} +1 -1
  892. package/dist/digi-arbetsformedlingen/{p-d7cdbe75.entry.js → p-271cc7ea.entry.js} +1 -1
  893. package/dist/digi-arbetsformedlingen/{p-df2038b9.entry.js → p-28209746.entry.js} +1 -1
  894. package/dist/digi-arbetsformedlingen/{p-658aa433.entry.js → p-29a1c40f.entry.js} +1 -1
  895. package/dist/digi-arbetsformedlingen/{p-8355c75d.entry.js → p-2b0eba50.entry.js} +1 -1
  896. package/dist/digi-arbetsformedlingen/{p-4477f14c.entry.js → p-2b43163d.entry.js} +1 -1
  897. package/dist/digi-arbetsformedlingen/{p-0052b03c.entry.js → p-2be7c13e.entry.js} +1 -1
  898. package/dist/digi-arbetsformedlingen/{p-0e634a09.entry.js → p-2d3383dd.entry.js} +1 -1
  899. package/dist/digi-arbetsformedlingen/{p-218b829e.entry.js → p-2e7b66bf.entry.js} +1 -1
  900. package/dist/digi-arbetsformedlingen/{p-1fcbbf5f.entry.js → p-2f797f49.entry.js} +1 -1
  901. package/dist/digi-arbetsformedlingen/{p-a98df65c.entry.js → p-31cead89.entry.js} +1 -1
  902. package/dist/digi-arbetsformedlingen/{p-2aa3ed49.entry.js → p-31d496fe.entry.js} +1 -1
  903. package/dist/digi-arbetsformedlingen/{p-4c69c234.entry.js → p-32baaef3.entry.js} +1 -1
  904. package/dist/digi-arbetsformedlingen/{p-80a77b6e.entry.js → p-389c82d2.entry.js} +1 -1
  905. package/dist/digi-arbetsformedlingen/{p-11b5ab8d.entry.js → p-3a66b1ea.entry.js} +1 -1
  906. package/dist/digi-arbetsformedlingen/{p-9789b001.entry.js → p-3ad168dc.entry.js} +1 -1
  907. package/dist/digi-arbetsformedlingen/{p-e627abeb.entry.js → p-3bcccf75.entry.js} +1 -1
  908. package/dist/digi-arbetsformedlingen/{p-4871b74a.entry.js → p-3bf5a52f.entry.js} +1 -1
  909. package/dist/digi-arbetsformedlingen/{p-0a904539.entry.js → p-3dd60944.entry.js} +1 -1
  910. package/dist/digi-arbetsformedlingen/{p-edfdf8e9.entry.js → p-3ee18966.entry.js} +1 -1
  911. package/dist/digi-arbetsformedlingen/{p-c917502e.entry.js → p-3f62e3cc.entry.js} +1 -1
  912. package/dist/digi-arbetsformedlingen/{p-8d3cb15a.entry.js → p-402ed96b.entry.js} +1 -1
  913. package/dist/digi-arbetsformedlingen/{p-3c28625a.entry.js → p-4058160e.entry.js} +1 -1
  914. package/dist/digi-arbetsformedlingen/{p-27be8d2b.entry.js → p-421db079.entry.js} +1 -1
  915. package/dist/digi-arbetsformedlingen/{p-a0267f76.entry.js → p-4319225d.entry.js} +1 -1
  916. package/dist/digi-arbetsformedlingen/{p-f6476365.entry.js → p-43837437.entry.js} +1 -1
  917. package/dist/digi-arbetsformedlingen/{p-7d597755.entry.js → p-43cfc8f6.entry.js} +1 -1
  918. package/dist/digi-arbetsformedlingen/p-450c58fb.entry.js +1 -0
  919. package/dist/digi-arbetsformedlingen/{p-a439e93f.entry.js → p-45af6173.entry.js} +1 -1
  920. package/dist/digi-arbetsformedlingen/{p-21653bf9.entry.js → p-46443861.entry.js} +1 -1
  921. package/dist/digi-arbetsformedlingen/{p-6559910e.entry.js → p-471da06a.entry.js} +1 -1
  922. package/dist/digi-arbetsformedlingen/{p-38603899.entry.js → p-47876094.entry.js} +1 -1
  923. package/dist/digi-arbetsformedlingen/{p-b48f2acd.entry.js → p-4a3f6ae6.entry.js} +1 -1
  924. package/dist/digi-arbetsformedlingen/{p-1cc801fd.entry.js → p-4b44a657.entry.js} +1 -1
  925. package/dist/digi-arbetsformedlingen/{p-83269fe6.entry.js → p-4b801f40.entry.js} +1 -1
  926. package/dist/digi-arbetsformedlingen/{p-ce8d2455.entry.js → p-4d08605b.entry.js} +1 -1
  927. package/dist/digi-arbetsformedlingen/{p-4f6b2e2a.entry.js → p-505d0668.entry.js} +1 -1
  928. package/dist/digi-arbetsformedlingen/{p-e2330d9c.entry.js → p-50a66237.entry.js} +1 -1
  929. package/dist/digi-arbetsformedlingen/{p-a1ae9863.entry.js → p-51470297.entry.js} +1 -1
  930. package/dist/digi-arbetsformedlingen/{p-5456a3bc.entry.js → p-51ea79ee.entry.js} +1 -1
  931. package/dist/digi-arbetsformedlingen/p-52cdbf49.entry.js +1 -0
  932. package/dist/digi-arbetsformedlingen/{p-63148e09.entry.js → p-52d1fbdf.entry.js} +1 -1
  933. package/dist/digi-arbetsformedlingen/{p-d1a77b0b.entry.js → p-53a6acbe.entry.js} +1 -1
  934. package/dist/digi-arbetsformedlingen/{p-2f57b446.entry.js → p-557f59d9.entry.js} +1 -1
  935. package/dist/digi-arbetsformedlingen/{p-dcaa4461.entry.js → p-58774bdd.entry.js} +1 -1
  936. package/dist/digi-arbetsformedlingen/{p-a7361f39.entry.js → p-58b3f403.entry.js} +1 -1
  937. package/dist/digi-arbetsformedlingen/{p-092d0e3e.entry.js → p-58dd2feb.entry.js} +1 -1
  938. package/dist/digi-arbetsformedlingen/{p-7e6d699e.entry.js → p-5920fda5.entry.js} +1 -1
  939. package/dist/digi-arbetsformedlingen/{p-e10e24fc.entry.js → p-599d0718.entry.js} +1 -1
  940. package/dist/digi-arbetsformedlingen/{p-45af5d55.entry.js → p-59a2dea9.entry.js} +1 -1
  941. package/dist/digi-arbetsformedlingen/{p-99e4bd13.entry.js → p-5d25b4a2.entry.js} +1 -1
  942. package/dist/digi-arbetsformedlingen/{p-37459590.entry.js → p-5dc96f65.entry.js} +1 -1
  943. package/dist/digi-arbetsformedlingen/{p-0ac9f348.entry.js → p-5dcafc83.entry.js} +1 -1
  944. package/dist/digi-arbetsformedlingen/{p-9fe345d1.entry.js → p-5e38aa9d.entry.js} +1 -1
  945. package/dist/digi-arbetsformedlingen/{p-8b88c952.entry.js → p-5e87079c.entry.js} +1 -1
  946. package/dist/digi-arbetsformedlingen/{p-5d0ffc80.entry.js → p-5f8b4cd7.entry.js} +1 -1
  947. package/dist/digi-arbetsformedlingen/{p-36229058.entry.js → p-60f2ae82.entry.js} +1 -1
  948. package/dist/digi-arbetsformedlingen/{p-1a21de52.entry.js → p-61113be3.entry.js} +1 -1
  949. package/dist/digi-arbetsformedlingen/p-628437a4.entry.js +1 -0
  950. package/dist/digi-arbetsformedlingen/{p-56cb2ded.entry.js → p-63afb8fa.entry.js} +1 -1
  951. package/dist/digi-arbetsformedlingen/{p-e69d2e1c.entry.js → p-641d21cc.entry.js} +1 -1
  952. package/dist/digi-arbetsformedlingen/{p-5ac3d7a9.entry.js → p-64809ce2.entry.js} +1 -1
  953. package/dist/digi-arbetsformedlingen/{p-40f5fda7.entry.js → p-6544b13d.entry.js} +1 -1
  954. package/dist/digi-arbetsformedlingen/{p-c30a3366.entry.js → p-65edd9ce.entry.js} +1 -1
  955. package/dist/digi-arbetsformedlingen/{p-1bd29b6a.entry.js → p-690cd894.entry.js} +1 -1
  956. package/dist/digi-arbetsformedlingen/{p-5473bfea.entry.js → p-69a504c4.entry.js} +1 -1
  957. package/dist/digi-arbetsformedlingen/{p-57dd2b38.entry.js → p-69abaca6.entry.js} +1 -1
  958. package/dist/digi-arbetsformedlingen/{p-8328e58b.entry.js → p-6bc5f5e0.entry.js} +1 -1
  959. package/dist/digi-arbetsformedlingen/{p-5503d5be.entry.js → p-72296348.entry.js} +1 -1
  960. package/dist/digi-arbetsformedlingen/{p-89566597.entry.js → p-72a9f3f0.entry.js} +1 -1
  961. package/dist/digi-arbetsformedlingen/p-730f71a8.entry.js +1 -0
  962. package/dist/digi-arbetsformedlingen/{p-c721f99a.entry.js → p-7762d2cc.entry.js} +1 -1
  963. package/dist/digi-arbetsformedlingen/{p-61385dc4.entry.js → p-7a1fb0c3.entry.js} +1 -1
  964. package/dist/digi-arbetsformedlingen/{p-bb0935fc.entry.js → p-7a25d31e.entry.js} +1 -1
  965. package/dist/digi-arbetsformedlingen/{p-16b8d192.entry.js → p-7bc9c1c7.entry.js} +1 -1
  966. package/dist/digi-arbetsformedlingen/{p-01f5f243.entry.js → p-7f4b20e3.entry.js} +1 -1
  967. package/dist/digi-arbetsformedlingen/{p-e917904e.entry.js → p-802a5b46.entry.js} +1 -1
  968. package/dist/digi-arbetsformedlingen/{p-5d30475d.entry.js → p-8122646c.entry.js} +1 -1
  969. package/dist/digi-arbetsformedlingen/{p-af4b851e.entry.js → p-81e2dacd.entry.js} +1 -1
  970. package/dist/digi-arbetsformedlingen/{p-d0a8fa77.entry.js → p-82794386.entry.js} +1 -1
  971. package/dist/digi-arbetsformedlingen/{p-b32df740.entry.js → p-86cd6f83.entry.js} +1 -1
  972. package/dist/digi-arbetsformedlingen/p-86eddf30.js +1 -0
  973. package/dist/digi-arbetsformedlingen/{p-649c30ed.entry.js → p-87b568b2.entry.js} +1 -1
  974. package/dist/digi-arbetsformedlingen/{p-3212807d.entry.js → p-87eddfbe.entry.js} +1 -1
  975. package/dist/digi-arbetsformedlingen/{p-1dc8b284.entry.js → p-88ebf872.entry.js} +1 -1
  976. package/dist/digi-arbetsformedlingen/{p-676ab6ef.entry.js → p-8b8d7c93.entry.js} +1 -1
  977. package/dist/digi-arbetsformedlingen/{p-51c9cc1a.entry.js → p-8c0e86f4.entry.js} +1 -1
  978. package/dist/digi-arbetsformedlingen/{p-a9bfc5bd.entry.js → p-90026fe6.entry.js} +1 -1
  979. package/dist/digi-arbetsformedlingen/{p-33425742.entry.js → p-906e723e.entry.js} +1 -1
  980. package/dist/digi-arbetsformedlingen/{p-b10a1760.entry.js → p-91f23f8e.entry.js} +1 -1
  981. package/dist/digi-arbetsformedlingen/{p-8ef4cf4a.entry.js → p-92cbf4fa.entry.js} +1 -1
  982. package/dist/digi-arbetsformedlingen/{p-c8257c8c.entry.js → p-9325f966.entry.js} +1 -1
  983. package/dist/digi-arbetsformedlingen/{p-16303afa.entry.js → p-94110ab3.entry.js} +1 -1
  984. package/dist/digi-arbetsformedlingen/{p-4bb41707.entry.js → p-94e21fe5.entry.js} +1 -1
  985. package/dist/digi-arbetsformedlingen/p-95a880bc.entry.js +1 -0
  986. package/dist/digi-arbetsformedlingen/{p-f6b2d484.entry.js → p-95d16f4f.entry.js} +1 -1
  987. package/dist/digi-arbetsformedlingen/{p-e8fd0aed.entry.js → p-964278e5.entry.js} +1 -1
  988. package/dist/digi-arbetsformedlingen/p-970324c7.entry.js +1 -0
  989. package/dist/digi-arbetsformedlingen/{p-4224f1e4.entry.js → p-980ed378.entry.js} +1 -1
  990. package/dist/digi-arbetsformedlingen/{p-c81d1d0b.entry.js → p-988bc7d7.entry.js} +1 -1
  991. package/dist/digi-arbetsformedlingen/{p-7474d7b0.entry.js → p-9a802b7f.entry.js} +1 -1
  992. package/dist/digi-arbetsformedlingen/{p-27388bc4.entry.js → p-9b4786b1.entry.js} +1 -1
  993. package/dist/digi-arbetsformedlingen/{p-bab6f184.entry.js → p-9be08233.entry.js} +1 -1
  994. package/dist/digi-arbetsformedlingen/{p-9ea535e1.entry.js → p-9db4749b.entry.js} +1 -1
  995. package/dist/digi-arbetsformedlingen/{p-c566cef3.entry.js → p-9e1693bf.entry.js} +1 -1
  996. package/dist/digi-arbetsformedlingen/{p-5ee51a86.entry.js → p-9eb8d626.entry.js} +1 -1
  997. package/dist/digi-arbetsformedlingen/{p-db7c2105.entry.js → p-9fcb6c29.entry.js} +1 -1
  998. package/dist/digi-arbetsformedlingen/p-a0bbf554.entry.js +1 -0
  999. package/dist/digi-arbetsformedlingen/p-a1d723c7.entry.js +1 -0
  1000. package/dist/digi-arbetsformedlingen/{p-d2a12b86.entry.js → p-a1f7262e.entry.js} +1 -1
  1001. package/dist/digi-arbetsformedlingen/{p-66483a84.entry.js → p-a2c2af60.entry.js} +1 -1
  1002. package/dist/digi-arbetsformedlingen/{p-6e925e52.entry.js → p-a3feba97.entry.js} +1 -1
  1003. package/dist/digi-arbetsformedlingen/{p-cdbfa3d0.entry.js → p-a40a2cfb.entry.js} +1 -1
  1004. package/dist/digi-arbetsformedlingen/{p-588fe3b5.entry.js → p-a42c7b62.entry.js} +1 -1
  1005. package/dist/digi-arbetsformedlingen/{p-b734218c.entry.js → p-a619cf85.entry.js} +1 -1
  1006. package/dist/digi-arbetsformedlingen/{p-cab53989.entry.js → p-a6aa5829.entry.js} +1 -1
  1007. package/dist/digi-arbetsformedlingen/{p-5e37e5aa.entry.js → p-a797690b.entry.js} +1 -1
  1008. package/dist/digi-arbetsformedlingen/{p-c92e206b.entry.js → p-a913d408.entry.js} +1 -1
  1009. package/dist/digi-arbetsformedlingen/{p-592fd6a9.entry.js → p-ab8fb809.entry.js} +1 -1
  1010. package/dist/digi-arbetsformedlingen/{p-eeec1cf1.entry.js → p-ade1e805.entry.js} +1 -1
  1011. package/dist/digi-arbetsformedlingen/{p-b81e0aec.entry.js → p-b02206fd.entry.js} +1 -1
  1012. package/dist/digi-arbetsformedlingen/{p-de1e9254.entry.js → p-b0458215.entry.js} +1 -1
  1013. package/dist/digi-arbetsformedlingen/p-b1a9c2fb.entry.js +1 -0
  1014. package/dist/digi-arbetsformedlingen/{p-1e03ba21.entry.js → p-b1c9b7c9.entry.js} +1 -1
  1015. package/dist/digi-arbetsformedlingen/{p-9cf50217.entry.js → p-b2b270b8.entry.js} +1 -1
  1016. package/dist/digi-arbetsformedlingen/{p-6de493b0.entry.js → p-b3eb7b70.entry.js} +1 -1
  1017. package/dist/digi-arbetsformedlingen/{p-fe235598.entry.js → p-b67f9461.entry.js} +1 -1
  1018. package/dist/digi-arbetsformedlingen/{p-bb1daa3b.entry.js → p-b80828d4.entry.js} +1 -1
  1019. package/dist/digi-arbetsformedlingen/{p-73f6209d.entry.js → p-b8c5b457.entry.js} +1 -1
  1020. package/dist/digi-arbetsformedlingen/{p-87721a1f.entry.js → p-b963c8d3.entry.js} +1 -1
  1021. package/dist/digi-arbetsformedlingen/{p-8318562f.entry.js → p-bb980b9f.entry.js} +1 -1
  1022. package/dist/digi-arbetsformedlingen/{p-f2eb8ee5.entry.js → p-bc017492.entry.js} +1 -1
  1023. package/dist/digi-arbetsformedlingen/{p-780b30f6.entry.js → p-bccbb035.entry.js} +1 -1
  1024. package/dist/digi-arbetsformedlingen/{p-8fa46692.entry.js → p-bcf9aac2.entry.js} +1 -1
  1025. package/dist/digi-arbetsformedlingen/{p-53483e1d.entry.js → p-bd1024f6.entry.js} +1 -1
  1026. package/dist/digi-arbetsformedlingen/{p-baac6e73.entry.js → p-bdb34478.entry.js} +1 -1
  1027. package/dist/digi-arbetsformedlingen/{p-cfad003c.entry.js → p-be749fc0.entry.js} +1 -1
  1028. package/dist/digi-arbetsformedlingen/{p-c8751075.entry.js → p-be8b2f3b.entry.js} +1 -1
  1029. package/dist/digi-arbetsformedlingen/p-bee6cf1e.entry.js +1 -0
  1030. package/dist/digi-arbetsformedlingen/{p-07513ee6.entry.js → p-bef79399.entry.js} +1 -1
  1031. package/dist/digi-arbetsformedlingen/{p-01df63d6.entry.js → p-bf7b0303.entry.js} +1 -1
  1032. package/dist/digi-arbetsformedlingen/{p-726a0b56.entry.js → p-c09c9322.entry.js} +1 -1
  1033. package/dist/digi-arbetsformedlingen/{p-815a97f1.entry.js → p-c0bba648.entry.js} +1 -1
  1034. package/dist/digi-arbetsformedlingen/{p-43a43f09.entry.js → p-c10498fe.entry.js} +1 -1
  1035. package/dist/digi-arbetsformedlingen/{p-f9315403.entry.js → p-c1d6e124.entry.js} +1 -1
  1036. package/dist/digi-arbetsformedlingen/p-c273397c.entry.js +1 -0
  1037. package/dist/digi-arbetsformedlingen/{p-18006927.entry.js → p-c2fd82d0.entry.js} +1 -1
  1038. package/dist/digi-arbetsformedlingen/p-c3e0c1dd.entry.js +1 -0
  1039. package/dist/digi-arbetsformedlingen/{p-ba39e14b.entry.js → p-c596aac5.entry.js} +1 -1
  1040. package/dist/digi-arbetsformedlingen/{p-9d15493f.entry.js → p-c6a031ec.entry.js} +1 -1
  1041. package/dist/digi-arbetsformedlingen/{p-9763005c.entry.js → p-c7bfc24d.entry.js} +1 -1
  1042. package/dist/digi-arbetsformedlingen/{p-3e126f89.entry.js → p-c924ccab.entry.js} +1 -1
  1043. package/dist/digi-arbetsformedlingen/{p-9e4a0fe4.entry.js → p-ce6f3f0c.entry.js} +1 -1
  1044. package/dist/digi-arbetsformedlingen/{p-b924bb0b.entry.js → p-ce8b2664.entry.js} +1 -1
  1045. package/dist/digi-arbetsformedlingen/{p-16dd9b3f.entry.js → p-cfe0c858.entry.js} +1 -1
  1046. package/dist/digi-arbetsformedlingen/p-d1886fff.js +1 -0
  1047. package/dist/digi-arbetsformedlingen/{p-2ffd9c4c.entry.js → p-d2543b7d.entry.js} +1 -1
  1048. package/dist/digi-arbetsformedlingen/{p-d46b426b.entry.js → p-d3e444da.entry.js} +1 -1
  1049. package/dist/digi-arbetsformedlingen/p-d5bb52b0.entry.js +1 -0
  1050. package/dist/digi-arbetsformedlingen/{p-7d54fe81.entry.js → p-d60e6377.entry.js} +1 -1
  1051. package/dist/digi-arbetsformedlingen/{p-4fe05e2f.entry.js → p-d94a3918.entry.js} +1 -1
  1052. package/dist/digi-arbetsformedlingen/{p-a6a0a040.entry.js → p-d9b00653.entry.js} +1 -1
  1053. package/dist/digi-arbetsformedlingen/{p-49aeb019.entry.js → p-da9aac78.entry.js} +1 -1
  1054. package/dist/digi-arbetsformedlingen/{p-e55d3abf.entry.js → p-db4d42a7.entry.js} +1 -1
  1055. package/dist/digi-arbetsformedlingen/{p-5b01d3e2.entry.js → p-dc35ac0d.entry.js} +1 -1
  1056. package/dist/digi-arbetsformedlingen/{p-93ec0277.entry.js → p-dcdf1e46.entry.js} +1 -1
  1057. package/dist/digi-arbetsformedlingen/{p-014044a7.entry.js → p-dceca2fa.entry.js} +1 -1
  1058. package/dist/digi-arbetsformedlingen/{p-9045d5ff.entry.js → p-dddc341e.entry.js} +1 -1
  1059. package/dist/digi-arbetsformedlingen/{p-a67b4609.entry.js → p-de32edc5.entry.js} +1 -1
  1060. package/dist/digi-arbetsformedlingen/{p-90bc53dc.entry.js → p-df04a0a9.entry.js} +1 -1
  1061. package/dist/digi-arbetsformedlingen/{p-60989dea.entry.js → p-e03f981e.entry.js} +1 -1
  1062. package/dist/digi-arbetsformedlingen/{p-d5376b7c.entry.js → p-e2031ddc.entry.js} +1 -1
  1063. package/dist/digi-arbetsformedlingen/{p-5c7acd45.entry.js → p-e3bdf65a.entry.js} +1 -1
  1064. package/dist/digi-arbetsformedlingen/{p-01c29a14.entry.js → p-e3f1d8e0.entry.js} +1 -1
  1065. package/dist/digi-arbetsformedlingen/{p-d2799e99.entry.js → p-e422f88e.entry.js} +1 -1
  1066. package/dist/digi-arbetsformedlingen/{p-293ea71f.entry.js → p-e43b30d8.entry.js} +1 -1
  1067. package/dist/digi-arbetsformedlingen/{p-3eb4faff.entry.js → p-e4923428.entry.js} +1 -1
  1068. package/dist/digi-arbetsformedlingen/{p-2196c33b.entry.js → p-e518d25b.entry.js} +1 -1
  1069. package/dist/digi-arbetsformedlingen/{p-5acaf4b0.entry.js → p-e5755cec.entry.js} +1 -1
  1070. package/dist/digi-arbetsformedlingen/{p-4b5edc89.entry.js → p-e5da1893.entry.js} +1 -1
  1071. package/dist/digi-arbetsformedlingen/{p-77ea6604.entry.js → p-e61b6fc6.entry.js} +1 -1
  1072. package/dist/digi-arbetsformedlingen/{p-ef9a3ddc.entry.js → p-e69ad396.entry.js} +1 -1
  1073. package/dist/digi-arbetsformedlingen/{p-8e16d36a.entry.js → p-e7270a99.entry.js} +1 -1
  1074. package/dist/digi-arbetsformedlingen/{p-c1606b8a.entry.js → p-e7e38b64.entry.js} +1 -1
  1075. package/dist/digi-arbetsformedlingen/{p-a947fa52.entry.js → p-e92e7779.entry.js} +1 -1
  1076. package/dist/digi-arbetsformedlingen/{p-4e2e1902.entry.js → p-eb166d2d.entry.js} +1 -1
  1077. package/dist/digi-arbetsformedlingen/{p-4eb58cf9.entry.js → p-ebfa36da.entry.js} +1 -1
  1078. package/dist/digi-arbetsformedlingen/{p-accb56da.entry.js → p-ec5e06ff.entry.js} +1 -1
  1079. package/dist/digi-arbetsformedlingen/{p-a4895704.entry.js → p-ed001874.entry.js} +1 -1
  1080. package/dist/digi-arbetsformedlingen/{p-c168c84a.entry.js → p-ee24f4dd.entry.js} +1 -1
  1081. package/dist/digi-arbetsformedlingen/{p-39604e43.entry.js → p-f0b889b5.entry.js} +1 -1
  1082. package/dist/digi-arbetsformedlingen/{p-099b1bac.entry.js → p-f124bfc7.entry.js} +1 -1
  1083. package/dist/digi-arbetsformedlingen/{p-ccd18e1a.entry.js → p-f3642357.entry.js} +1 -1
  1084. package/dist/digi-arbetsformedlingen/{p-664de70c.entry.js → p-f5e195f7.entry.js} +1 -1
  1085. package/dist/digi-arbetsformedlingen/{p-f7628391.entry.js → p-f7b51ba9.entry.js} +1 -1
  1086. package/dist/digi-arbetsformedlingen/{p-8473e21b.entry.js → p-f834ecf8.entry.js} +1 -1
  1087. package/dist/digi-arbetsformedlingen/{p-0bc366fb.entry.js → p-f896c941.entry.js} +1 -1
  1088. package/dist/digi-arbetsformedlingen/{p-804cb867.entry.js → p-f8ab294b.entry.js} +1 -1
  1089. package/dist/digi-arbetsformedlingen/{p-9df20034.entry.js → p-f8dd7a43.entry.js} +1 -1
  1090. package/dist/digi-arbetsformedlingen/{p-9495044c.entry.js → p-f9b7f9f0.entry.js} +1 -1
  1091. package/dist/digi-arbetsformedlingen/{p-5aae7437.entry.js → p-fab53686.entry.js} +1 -1
  1092. package/dist/digi-arbetsformedlingen/{p-e0db40e9.entry.js → p-fb2f9c4c.entry.js} +1 -1
  1093. package/dist/digi-arbetsformedlingen/{p-2062e63b.entry.js → p-fdc1f600.entry.js} +1 -1
  1094. package/dist/digi-arbetsformedlingen/{p-b21e9c0a.entry.js → p-fe646f75.entry.js} +1 -1
  1095. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  1096. package/dist/esm/{digi-button_24.entry.js → digi-bar-chart_27.entry.js} +1731 -82
  1097. package/dist/esm/digi-calendar-datepicker.entry.js +2 -2
  1098. package/dist/esm/digi-calendar_2.entry.js +2 -2
  1099. package/dist/esm/digi-chart-line.entry.js +1 -1
  1100. package/dist/esm/digi-code-block_3.entry.js +6 -6
  1101. package/dist/esm/digi-code-example.entry.js +4 -4
  1102. package/dist/esm/digi-code.entry.js +1 -1
  1103. package/dist/esm/digi-context-menu.entry.js +3 -3
  1104. package/dist/esm/digi-dialog.entry.js +5 -5
  1105. package/dist/esm/digi-expandable-accordion.entry.js +1 -1
  1106. package/dist/esm/digi-expandable-faq-item.entry.js +4 -4
  1107. package/dist/esm/digi-expandable-faq.entry.js +2 -2
  1108. package/dist/esm/digi-footer-card.entry.js +1 -1
  1109. package/dist/esm/digi-footer.entry.js +3 -3
  1110. package/dist/esm/digi-form-category-filter.entry.js +2 -2
  1111. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  1112. package/dist/esm/digi-form-error-list.entry.js +5 -5
  1113. package/dist/esm/digi-form-file-upload.entry.js +7 -7
  1114. package/dist/esm/digi-form-filter.entry.js +5 -5
  1115. package/dist/esm/digi-form-input-search.entry.js +2 -2
  1116. package/dist/esm/digi-form-input.entry.js +3 -3
  1117. package/dist/esm/digi-form-label_5.entry.js +8 -8
  1118. package/dist/esm/digi-form-radiogroup.entry.js +2 -2
  1119. package/dist/esm/digi-form-receipt.entry.js +3 -3
  1120. package/dist/esm/digi-form-select-filter.entry.js +9 -9
  1121. package/dist/esm/digi-form-select_2.entry.js +6 -6
  1122. package/dist/esm/digi-form-textarea.entry.js +3 -3
  1123. package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
  1124. package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
  1125. package/dist/esm/digi-icon-apple.entry.js +2 -2
  1126. package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
  1127. package/dist/esm/digi-icon-archive.entry.js +2 -2
  1128. package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
  1129. package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
  1130. package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
  1131. package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
  1132. package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
  1133. package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
  1134. package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
  1135. package/dist/esm/digi-icon-at.entry.js +2 -2
  1136. package/dist/esm/digi-icon-bell.entry.js +2 -2
  1137. package/dist/esm/digi-icon-book.entry.js +2 -2
  1138. package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
  1139. package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
  1140. package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
  1141. package/dist/esm/digi-icon-bubble.entry.js +2 -2
  1142. package/dist/esm/digi-icon-building-outline.entry.js +2 -2
  1143. package/dist/esm/digi-icon-building-solid.entry.js +2 -2
  1144. package/dist/esm/digi-icon-bullseye.entry.js +2 -2
  1145. package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
  1146. package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
  1147. package/dist/esm/digi-icon-calendar.entry.js +2 -2
  1148. package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
  1149. package/dist/esm/digi-icon-caret-left.entry.js +2 -2
  1150. package/dist/esm/digi-icon-caret-right.entry.js +2 -2
  1151. package/dist/esm/digi-icon-chat.entry.js +2 -2
  1152. package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
  1153. package/dist/esm/digi-icon-check-circle-solid_4.entry.js +8 -8
  1154. package/dist/esm/digi-icon-check.entry.js +2 -2
  1155. package/dist/esm/digi-icon-checklist.entry.js +2 -2
  1156. package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
  1157. package/dist/esm/digi-icon-chevron-left.entry.js +2 -2
  1158. package/dist/esm/digi-icon-chevron-right.entry.js +2 -2
  1159. package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
  1160. package/dist/esm/digi-icon-clock.entry.js +2 -2
  1161. package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
  1162. package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
  1163. package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
  1164. package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
  1165. package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
  1166. package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
  1167. package/dist/esm/digi-icon-cooperation.entry.js +2 -2
  1168. package/dist/esm/digi-icon-copy.entry.js +2 -2
  1169. package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
  1170. package/dist/esm/digi-icon-download.entry.js +2 -2
  1171. package/dist/esm/digi-icon-dxa.entry.js +2 -2
  1172. package/dist/esm/digi-icon-edit.entry.js +2 -2
  1173. package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
  1174. package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
  1175. package/dist/esm/digi-icon-envelope.entry.js +2 -2
  1176. package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
  1177. package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
  1178. package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
  1179. package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
  1180. package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
  1181. package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
  1182. package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
  1183. package/dist/esm/digi-icon-eye.entry.js +2 -2
  1184. package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
  1185. package/dist/esm/digi-icon-file-add.entry.js +1 -1
  1186. package/dist/esm/digi-icon-file-document.entry.js +2 -2
  1187. package/dist/esm/digi-icon-file-excel.entry.js +2 -2
  1188. package/dist/esm/digi-icon-file-export.entry.js +1 -1
  1189. package/dist/esm/digi-icon-file-governing.entry.js +2 -2
  1190. package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
  1191. package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
  1192. package/dist/esm/digi-icon-file-remove.entry.js +1 -1
  1193. package/dist/esm/digi-icon-file-word.entry.js +2 -2
  1194. package/dist/esm/digi-icon-film.entry.js +2 -2
  1195. package/dist/esm/digi-icon-filter.entry.js +2 -2
  1196. package/dist/esm/digi-icon-folder-add.entry.js +1 -1
  1197. package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
  1198. package/dist/esm/digi-icon-folder-open.entry.js +1 -1
  1199. package/dist/esm/digi-icon-folder.entry.js +1 -1
  1200. package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
  1201. package/dist/esm/digi-icon-globe.entry.js +2 -2
  1202. package/dist/esm/digi-icon-headphones.entry.js +2 -2
  1203. package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
  1204. package/dist/esm/digi-icon-heart.entry.js +2 -2
  1205. package/dist/esm/digi-icon-history.entry.js +2 -2
  1206. package/dist/esm/digi-icon-home.entry.js +2 -2
  1207. package/dist/esm/digi-icon-image.entry.js +2 -2
  1208. package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
  1209. package/dist/esm/digi-icon-instagram.entry.js +2 -2
  1210. package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
  1211. package/dist/esm/digi-icon-language-outline.entry.js +2 -2
  1212. package/dist/esm/digi-icon-language.entry.js +2 -2
  1213. package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
  1214. package/dist/esm/digi-icon-lattlast.entry.js +2 -2
  1215. package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
  1216. package/dist/esm/digi-icon-licence-car.entry.js +2 -2
  1217. package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
  1218. package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
  1219. package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
  1220. package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
  1221. package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
  1222. package/dist/esm/digi-icon-lock.entry.js +2 -2
  1223. package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
  1224. package/dist/esm/digi-icon-marker.entry.js +2 -2
  1225. package/dist/esm/digi-icon-media-course.entry.js +2 -2
  1226. package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
  1227. package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
  1228. package/dist/esm/digi-icon-microphone.entry.js +2 -2
  1229. package/dist/esm/digi-icon-move.entry.js +2 -2
  1230. package/dist/esm/digi-icon-notification-error_4.entry.js +8 -8
  1231. package/dist/esm/digi-icon-online-interview.entry.js +2 -2
  1232. package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
  1233. package/dist/esm/digi-icon-online-task.entry.js +2 -2
  1234. package/dist/esm/digi-icon-open-source.entry.js +2 -2
  1235. package/dist/esm/digi-icon-palette.entry.js +2 -2
  1236. package/dist/esm/digi-icon-paste.entry.js +1 -1
  1237. package/dist/esm/digi-icon-pen.entry.js +2 -2
  1238. package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
  1239. package/dist/esm/digi-icon-phone.entry.js +2 -2
  1240. package/dist/esm/digi-icon-print.entry.js +2 -2
  1241. package/dist/esm/digi-icon-read.entry.js +2 -2
  1242. package/dist/esm/digi-icon-redo.entry.js +2 -2
  1243. package/dist/esm/digi-icon-scale.entry.js +1 -1
  1244. package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
  1245. package/dist/esm/digi-icon-screensharing.entry.js +2 -2
  1246. package/dist/esm/digi-icon-search.entry.js +2 -2
  1247. package/dist/esm/digi-icon-send-outline.entry.js +2 -2
  1248. package/dist/esm/digi-icon-send-solid.entry.js +2 -2
  1249. package/dist/esm/digi-icon-settings.entry.js +2 -2
  1250. package/dist/esm/digi-icon-share-alt.entry.js +2 -2
  1251. package/dist/esm/digi-icon-share-chain.entry.js +2 -2
  1252. package/dist/esm/digi-icon-sign.entry.js +2 -2
  1253. package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
  1254. package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
  1255. package/dist/esm/digi-icon-sort-down.entry.js +2 -2
  1256. package/dist/esm/digi-icon-sort-up.entry.js +2 -2
  1257. package/dist/esm/digi-icon-sort.entry.js +2 -2
  1258. package/dist/esm/digi-icon-spinner.entry.js +2 -2
  1259. package/dist/esm/digi-icon-star-reg.entry.js +2 -2
  1260. package/dist/esm/digi-icon-star.entry.js +2 -2
  1261. package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
  1262. package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
  1263. package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
  1264. package/dist/esm/digi-icon-table-column.entry.js +2 -2
  1265. package/dist/esm/digi-icon-table-row.entry.js +2 -2
  1266. package/dist/esm/digi-icon-task-done.entry.js +2 -2
  1267. package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
  1268. package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
  1269. package/dist/esm/digi-icon-twitter.entry.js +2 -2
  1270. package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
  1271. package/dist/esm/digi-icon-unlock.entry.js +2 -2
  1272. package/dist/esm/digi-icon-update.entry.js +2 -2
  1273. package/dist/esm/digi-icon-upload.entry.js +2 -2
  1274. package/dist/esm/digi-icon-user-add.entry.js +1 -1
  1275. package/dist/esm/digi-icon-user-alt.entry.js +2 -2
  1276. package/dist/esm/digi-icon-user-edit.entry.js +1 -1
  1277. package/dist/esm/digi-icon-users-solid.entry.js +2 -2
  1278. package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
  1279. package/dist/esm/digi-icon-videocamera.entry.js +2 -2
  1280. package/dist/esm/digi-icon-volume.entry.js +2 -2
  1281. package/dist/esm/digi-icon-web-tv.entry.js +2 -2
  1282. package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
  1283. package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
  1284. package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
  1285. package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
  1286. package/dist/esm/digi-icon-window.entry.js +2 -2
  1287. package/dist/esm/digi-icon-x-button.entry.js +2 -2
  1288. package/dist/esm/digi-icon-youtube.entry.js +2 -2
  1289. package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
  1290. package/dist/esm/digi-info-card-multi.entry.js +1 -1
  1291. package/dist/esm/digi-info-card.entry.js +1 -1
  1292. package/dist/esm/digi-layout-columns.entry.js +1 -1
  1293. package/dist/esm/digi-link-button.entry.js +1 -1
  1294. package/dist/esm/digi-link-internal.entry.js +1 -1
  1295. package/dist/esm/digi-link.entry.js +1 -1
  1296. package/dist/esm/digi-list.entry.js +1 -1
  1297. package/dist/esm/digi-loader-skeleton.entry.js +3 -3
  1298. package/dist/esm/digi-loader-spinner.entry.js +1 -1
  1299. package/dist/esm/digi-media-figure.entry.js +1 -1
  1300. package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
  1301. package/dist/esm/digi-navigation-pagination.entry.js +8 -8
  1302. package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
  1303. package/dist/esm/digi-notification-alert.entry.js +4 -4
  1304. package/dist/esm/digi-notification-error-page.entry.js +5 -5
  1305. package/dist/esm/digi-progress-circle.entry.js +8 -8
  1306. package/dist/esm/digi-progress-indicator.entry.js +3 -3
  1307. package/dist/esm/digi-progress-list-item.entry.js +5 -5
  1308. package/dist/esm/digi-progress-list.entry.js +1 -1
  1309. package/dist/esm/digi-progressbar.entry.js +2 -2
  1310. package/dist/esm/digi-quote.entry.js +1 -1
  1311. package/dist/esm/digi-table.entry.js +1 -1
  1312. package/dist/esm/digi-tablist-panel.entry.js +2 -2
  1313. package/dist/esm/digi-tablist.entry.js +5 -5
  1314. package/dist/esm/digi-tag-media.entry.js +2 -2
  1315. package/dist/esm/digi-tag.entry.js +1 -1
  1316. package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
  1317. package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
  1318. package/dist/esm/digi-tools-feedback.entry.js +3 -3
  1319. package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
  1320. package/dist/esm/digi-typography-heading-jumbo.entry.js +34 -0
  1321. package/dist/esm/digi-typography-meta.entry.js +1 -1
  1322. package/dist/esm/digi-typography-preamble.entry.js +16 -0
  1323. package/dist/esm/digi-typography-time.entry.js +1 -1
  1324. package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
  1325. package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
  1326. package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
  1327. package/dist/esm/digi-util-resize-observer.entry.js +1 -1
  1328. package/dist/esm/index-148a7577.js +10 -14
  1329. package/dist/esm/index.js +2 -2
  1330. package/dist/esm/loader.js +1 -1
  1331. package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +17 -0
  1332. package/dist/esm/{typography-variation.enum-8ba40d15.js → typography-variation.enum-531cdf64.js} +7 -17
  1333. package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +55 -41
  1334. package/dist/types/components/_chart/chart-line/chart-line.d.ts +1 -1
  1335. package/dist/types/components/_chart/interfaces/bar-chart-data.interface.d.ts +23 -0
  1336. package/dist/types/components/_chart/{chart-line/chart-line-series.interface.d.ts → interfaces/chart-data-series.interface.d.ts} +1 -1
  1337. package/dist/types/components/_chart/{chart-line/chart-line-data.interface.d.ts → interfaces/line-chart-data.interface.d.ts} +2 -2
  1338. package/dist/types/components.d.ts +8 -6
  1339. package/dist/types/interfaces.d.ts +2 -2
  1340. package/hydrate/index.js +1171 -1068
  1341. package/hydrate/index.mjs +1171 -1068
  1342. package/package.json +1 -1
  1343. package/dist/cjs/bar-chart-variation.enum-a4e866b6.js +0 -7
  1344. package/dist/cjs/digi-bar-chart.cjs.entry.js +0 -1510
  1345. package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +0 -53
  1346. package/dist/cjs/digi-icon-chart_2.cjs.entry.js +0 -53
  1347. package/dist/digi-arbetsformedlingen/p-07fd5ccf.entry.js +0 -1
  1348. package/dist/digi-arbetsformedlingen/p-18ffcb24.entry.js +0 -1
  1349. package/dist/digi-arbetsformedlingen/p-2422b0d1.entry.js +0 -1
  1350. package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +0 -1
  1351. package/dist/digi-arbetsformedlingen/p-54a797ed.entry.js +0 -1
  1352. package/dist/digi-arbetsformedlingen/p-7393b76b.entry.js +0 -1
  1353. package/dist/digi-arbetsformedlingen/p-a5c6e42e.entry.js +0 -1
  1354. package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +0 -1
  1355. package/dist/digi-arbetsformedlingen/p-b22f09f1.entry.js +0 -1
  1356. package/dist/digi-arbetsformedlingen/p-cb8e7e0a.entry.js +0 -1
  1357. package/dist/digi-arbetsformedlingen/p-d2d0856f.js +0 -1
  1358. package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +0 -1
  1359. package/dist/digi-arbetsformedlingen/p-dcdffb3c.js +0 -1
  1360. package/dist/digi-arbetsformedlingen/p-e54f5b28.entry.js +0 -1
  1361. package/dist/digi-arbetsformedlingen/p-ea09368a.entry.js +0 -1
  1362. package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +0 -1
  1363. package/dist/esm/bar-chart-variation.enum-97c0b47f.js +0 -7
  1364. package/dist/esm/digi-bar-chart.entry.js +0 -1506
  1365. package/dist/esm/digi-icon-caret-down_2.entry.js +0 -48
  1366. package/dist/esm/digi-icon-chart_2.entry.js +0 -48
  1367. /package/dist/collection/components/_chart/{chart-line/chart-line-data.interface.js → interfaces/bar-chart-data.interface.js} +0 -0
  1368. /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-2e15f1c6.js';
8
+ import { d as defineCustomElement$6 } from './p-346262e9.js';
9
+ import { d as defineCustomElement$5 } from './p-3a53c26b.js';
10
+ import { d as defineCustomElement$4 } from './p-70a1e53a.js';
11
+ import { d as defineCustomElement$3 } from './p-5e2cf317.js';
12
+ import { d as defineCustomElement$2 } from './p-204a12b0.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 .close.sc-digi-bar-chart{display:inline-block;vertical-align:top;--digi--color--icon--primary:#333;cursor:pointer}.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:100%;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,10 +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'];
104
- this._dims = {};
105
- this._margin = {
102
+ this.loading = false;
103
+ this.placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
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
+ this.dataWidth = 1;
106
+ // Bar gap when using multiple bars for each point, this will be doubled, since it is applied on both bars
107
+ this.barGap = 0;
108
+ this.dims = {};
109
+ this.margin = {
106
110
  bottom: 0,
107
111
  top: 6,
108
112
  left: 5,
@@ -113,157 +117,184 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
113
117
  this.yTickSize = 0;
114
118
  this.xTickSize = 5;
115
119
  // Width of the largets X-tick-value
116
- this._tickWidth = 1;
120
+ this.tickWidth = 1;
117
121
  // Transition
118
122
  this.defaultDuration = 400;
119
123
  // Text and formats
120
124
  this.fontSize = '0.875rem';
125
+ this.colorPalettes = ['--digi--color--background--brand-primary', '--digi--color--infographic--brand--primary', '--digi--color--background--sentiment--beta--primary', '--digi--color--text--interactive--visited', '--digi--color--icon--validation--error'];
121
126
  // Observer for watching size changes when in line chart mode
122
127
  this.barChartObserver = new ResizeObserver((entries) => {
123
128
  entries.forEach(() => {
124
- if (this._loading)
129
+ if (this.loading)
125
130
  return this.loadingResize();
126
131
  this.resize();
127
132
  });
128
133
  });
129
- // Observer for watching size changes when in table mode
130
- this.tableObserver = new ResizeObserver((entries) => {
131
- entries.forEach(() => {
132
- select(this._legendDiv).style('width', this._dims.width + 'px');
133
- 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
+ if (barData.serie === serie)
141
+ return this.colorFunction(barData.serie);
142
+ else
143
+ return this.evalColorVar('--digi--color--background--secondary-accent');
134
144
  });
135
- });
145
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', (title) => title === serie ? 1 : 0.25);
146
+ };
147
+ this.resetBarColor = () => {
148
+ this.barChartContainer.selectAll('.bar').transition('color').duration(150).attr('fill', (barData) => this.colorFunction(barData.serie));
149
+ select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', 1);
150
+ };
136
151
  // Resizing chart while loading
137
152
  this.loadingResize = () => {
138
153
  const newHeight = this.setDims();
139
154
  this.setMargins(true);
140
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
141
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
142
- this._margin.right =
143
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
155
+ this.svg.attr('width', this.dims.width).attr('height', this.dims.height);
156
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
157
+ this.margin.right =
158
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
144
159
  this.yTickSize +
145
160
  this.tickPadding;
146
161
  // If there is a new height
147
162
  if (newHeight) {
148
163
  // Update y-axis with potentially new height (might want to do a check here)
149
164
  this.afVariation === BarChartVariation.Horizontal
150
- ? this._yScale.range([
151
- this._margin.top,
152
- this._dims.height - this._margin.bottom
165
+ ? this.yScale.range([
166
+ this.margin.top,
167
+ this.dims.height - this.margin.bottom
153
168
  ])
154
- : this._yScale.range([
155
- this._dims.height - this._margin.bottom,
156
- this._margin.top
169
+ : this.yScale.range([
170
+ this.dims.height - this.margin.bottom,
171
+ this.margin.top
157
172
  ]);
158
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
173
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
159
174
  }
160
175
  // Update x-axis with new width
161
- this._xScale.range([
176
+ this.xScale.range([
162
177
  0,
163
- this._dims.width - this._margin.right - this._margin.left
178
+ this.dims.width - this.margin.right - this.margin.left
164
179
  ]);
165
- this._barSelection
166
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
167
- ? 2
168
- : this._xScale(d.key))
169
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
170
- ? this._xScale(d.value)
171
- : this._xScale.bandwidth());
180
+ this.barSelection
181
+ .attr('x', this.xFunction)
182
+ .attr('width', this.widthFunction);
172
183
  this.setValueTicks();
173
184
  };
185
+ this.highlightBarGroup = (_event, datum) => {
186
+ if (typeof datum === 'string') {
187
+ const barGroupID = '#' + this.barGroupID(datum);
188
+ this.barChartContainer.select(barGroupID).selectAll('.bar').transition('color')
189
+ .duration(20)
190
+ .attr('fill', (d) => {
191
+ return this.adjustColor(this.colorFunction(d.serie), 50);
192
+ });
193
+ }
194
+ };
195
+ this.unHighlightBarGroup = () => {
196
+ this.barSelection.selectAll('.bar').transition('color')
197
+ .duration(100)
198
+ .attr('fill', (d) => {
199
+ return this.colorFunction(d.serie);
200
+ });
201
+ };
174
202
  // Adding click listener for tool tip text
175
203
  this.setTickInteraction = () => {
176
204
  if (this.afVariation === BarChartVariation.Horizontal) {
177
- this._yAxisHandle
205
+ this.yAxisHandle
178
206
  .selectAll('text')
179
207
  .style('cursor', 'pointer')
180
208
  .on('click', this.openTooltip)
181
- .on('mouseenter', this.hover)
182
- .on('mouseleave', this.hoverOut);
209
+ .on('mouseenter', this.highlightBarGroup)
210
+ .on('mouseleave', this.unHighlightBarGroup);
183
211
  }
184
212
  else {
185
- this._xAxisHandle
213
+ this.xAxisHandle
186
214
  .selectAll('text')
187
215
  .style('cursor', 'pointer')
188
216
  .on('click', this.openTooltip)
189
- .on('mouseenter', this.hover)
190
- .on('mouseleave', this.hoverOut);
217
+ .on('mouseenter', this.highlightBarGroup)
218
+ .on('mouseleave', this.unHighlightBarGroup);
191
219
  }
192
220
  };
193
221
  // Setting Y-scale
194
222
  this.setYScale = (empty) => {
195
223
  var _a, _b, _c;
196
224
  if (this.afVariation == BarChartVariation.Horizontal) {
197
- this._yScale = band(empty
225
+ this.yScale = band(empty
198
226
  ? ['0', '1', '2', '3', '4', '5', '6', '7']
199
- : this._chartData.data.xValueNames, [this._margin.top, this._dims.height - this._margin.bottom])
227
+ : this.chartData.data.xValueNames, [this.margin.top, this.dims.height - this.margin.bottom])
200
228
  .paddingOuter(0.1)
201
229
  .paddingInner(0.1);
202
- this._yAxis = axisLeft(this._yScale);
230
+ this.yAxis = axisLeft(this.yScale);
203
231
  }
204
232
  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
233
+ this.yScale = linear()
234
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
235
+ .nice(((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
236
+ ? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
209
237
  : 3);
210
- this._yScale.range([
211
- this._dims.height - this._margin.bottom,
212
- this._margin.top
238
+ this.yScale.range([
239
+ this.dims.height - this.margin.bottom,
240
+ this.margin.top
213
241
  ]);
214
- this._yAxis = axisLeft(this._yScale);
242
+ this.yAxis = axisLeft(this.yScale);
215
243
  }
216
244
  };
217
245
  // Setting X-Scale
218
246
  this.setXScale = (empty) => {
219
247
  // Horizontal
220
248
  if (this.afVariation == BarChartVariation.Horizontal) {
221
- this._xScale = linear()
222
- .domain(empty ? [0, 10] : [this._minVal, this._maxVal])
249
+ this.xScale = linear()
250
+ .domain(empty ? [0, 10] : [this.minVal, this.maxVal])
223
251
  .nice(3);
224
- this._margin.right =
225
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
252
+ this.margin.right =
253
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
226
254
  this.yTickSize +
227
255
  this.tickPadding;
228
- this._xScale.range([
256
+ this.xScale.range([
229
257
  0,
230
- this._dims.width - this._margin.right - this._margin.left
258
+ this.dims.width - this.margin.right - this.margin.left
231
259
  ]);
232
260
  // Initializing actual axis
233
- this._xAxis = axisBottom(this._xScale);
234
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
261
+ this.xAxis = axisBottom(this.xScale);
262
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
235
263
  }
236
264
  else {
237
265
  // 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])
266
+ this.xScale = band()
267
+ .domain(empty ? this.placeholderTicks : this.chartData.data.xValueNames)
268
+ .range([0, this.dims.width - this.margin.right - this.margin.left])
241
269
  .paddingOuter(0.1)
242
270
  .paddingInner(0.1);
243
- this._xAxis = axisBottom(this._xScale);
271
+ this.xAxis = axisBottom(this.xScale);
244
272
  }
245
273
  };
246
274
  // Stores all tick text sizes in an indexable array
247
275
  this.tickSizes = () => {
248
276
  // 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])));
277
+ this.namedTickSizes = [];
278
+ this.ellipsisSize = this.getTextSize('...');
279
+ if (this.chartData && this.chartData.data) {
280
+ for (let i = 0; i < this.chartData.data.xValueNames.length; i++) {
281
+ this.namedTickSizes.push(Math.ceil(this.getTextSize(this.chartData.data.xValueNames[i])));
254
282
  }
255
283
  }
256
284
  };
285
+ this.barGroupID = (key) => {
286
+ return 'barGroup' + key.replace(/[^A-Z0-9]+/gi, '');
287
+ };
257
288
  this.updateBars = (fromLoading) => {
258
- this._barChartContainer
289
+ this.barChartContainer
259
290
  .selectAll('.barGroup')
260
- .data(this.reshapeData)
291
+ .data(this.mappedData)
261
292
  .join((enter) => {
262
293
  var _a, _b;
263
294
  const tempSelection = enter
264
295
  .append('g')
265
296
  .attr('class', 'barGroup')
266
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
297
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
267
298
  tempSelection
268
299
  .append('rect')
269
300
  .attr('class', 'bar')
@@ -271,16 +302,16 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
271
302
  .attr('ry', 4)
272
303
  .attr('rx', 4)
273
304
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
274
- ? this._yScale(d.key)
275
- : this._dims.height - this._margin.bottom)
305
+ ? this.yScale(d.key)
306
+ : this.dims.height - this.margin.bottom)
276
307
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
277
308
  ? 2
278
- : this._xScale(d.key))
309
+ : this.xScale(d.key))
279
310
  .attr('width', () => this.afVariation === BarChartVariation.Horizontal
280
311
  ? 0
281
- : this._xScale.bandwidth())
312
+ : this.xScale.bandwidth())
282
313
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
283
- ? this._yScale.bandwidth()
314
+ ? this.yScale.bandwidth()
284
315
  : 0)
285
316
  .on('mouseenter', this.hover)
286
317
  .on('mouseleave', this.hoverOut)
@@ -288,19 +319,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
288
319
  .transition()
289
320
  .duration(this.defaultDuration)
290
321
  .ease(polyInOut)
291
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
292
- ? this._xScale(d.value)
293
- : this._xScale.bandwidth())
294
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
295
- ? this._yScale(d.key)
296
- : this._yScale(d.value))
297
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
298
- ? this._yScale.bandwidth()
299
- : this._dims.height -
300
- this._margin.bottom -
301
- this._yScale(d.value))
322
+ .attr('width', this.widthFunction)
323
+ .attr('y', this.yFunction)
324
+ .attr('height', this.heightFunction)
302
325
  .attr('fill', '#00005a');
303
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
326
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
304
327
  return tempSelection;
305
328
  tempSelection
306
329
  .append('text')
@@ -311,32 +334,32 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
311
334
  .attr('text-anchor', 'end')
312
335
  .style('pointer-events', 'none')
313
336
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
314
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
315
- : this._dims.height - this._margin.bottom)
337
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
338
+ : this.dims.height - this.margin.bottom)
316
339
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
317
340
  ? 2
318
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
341
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
319
342
  .transition()
320
343
  .duration(this.defaultDuration)
321
344
  .ease(polyInOut)
322
345
  .attr('font-size', this.fontSize)
323
346
  .attr('font-weight', '600')
324
347
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
325
- ? this._xScale(d.value)
326
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
348
+ ? this.xScale(d.value)
349
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
327
350
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
328
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
329
- : this._yScale(d.value))
351
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
352
+ : this.yScale(d.value))
330
353
  .attr('text-anchor', (d) => {
331
354
  if (this.afVariation === BarChartVariation.Vertical)
332
355
  return 'middle';
333
- return this._xScale(d.value) < d.len + this.tickPadding * 2
356
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
334
357
  ? 'start'
335
358
  : 'end';
336
359
  })
337
360
  .attr('dx', (d) => {
338
361
  if (this.afVariation === BarChartVariation.Horizontal)
339
- return this._xScale(d.value) < d.len + this.tickPadding * 2
362
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
340
363
  ? this.tickPadding
341
364
  : -this.tickPadding;
342
365
  return 0;
@@ -344,7 +367,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
344
367
  .attr('fill', (d) => {
345
368
  if (this.afVariation === BarChartVariation.Vertical)
346
369
  return 'black';
347
- return this._xScale(d.value) < d.len + this.tickPadding * 2
370
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
348
371
  ? 'black'
349
372
  : 'white';
350
373
  })
@@ -357,12 +380,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
357
380
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
358
381
  : 0;
359
382
  const interpolatedValue = interpolate(oldnum, d.value);
360
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
383
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
361
384
  });
362
385
  return tempSelection;
363
386
  }, (update) => {
364
387
  // Update ids to bars
365
- update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'));
388
+ update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
366
389
  // Mouse interaction to updated loading bars
367
390
  if (fromLoading) {
368
391
  update
@@ -370,31 +393,21 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
370
393
  .on('mouseenter', this.hover)
371
394
  .on('mouseleave', this.hoverOut)
372
395
  .on('click', this.openTooltip)
373
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
374
- ? 2
375
- : this._xScale(d.key))
396
+ .attr('x', this.xFunction)
376
397
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
377
- ? this._yScale(d.key)
378
- : this._dims.height - this._margin.bottom)
379
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
380
- ? this._xScale(d.value)
381
- : this._xScale.bandwidth())
398
+ ? this.yScale(d.key)
399
+ : this.dims.height - this.margin.bottom)
400
+ .attr('width', this.widthFunction)
382
401
  .attr('height', () => this.afVariation === BarChartVariation.Horizontal
383
- ? this._yScale.bandwidth()
402
+ ? this.yScale.bandwidth()
384
403
  : 0)
385
404
  .attr('fill', '#00005a')
386
405
  .transition()
387
406
  .duration(this.defaultDuration)
388
407
  .ease(polyInOut)
389
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
390
- ? this._yScale(d.key)
391
- : this._yScale(d.value))
392
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
393
- ? this._yScale.bandwidth()
394
- : this._dims.height -
395
- this._margin.bottom -
396
- this._yScale(d.value))
397
- .on('end', () => this.barChartObserver.observe(this._chartDiv)); // Reset barchartObserver
408
+ .attr('y', this.yFunction)
409
+ .attr('height', this.heightFunction)
410
+ .on('end', () => this.barChartObserver.observe(this.chartDiv)); // Reset barchartObserver
398
411
  }
399
412
  else {
400
413
  update
@@ -402,46 +415,36 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
402
415
  .transition()
403
416
  .duration(this.defaultDuration)
404
417
  .ease(polyInOut)
405
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
406
- ? this._yScale(d.key)
407
- : this._yScale(d.value))
408
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
409
- ? 2
410
- : this._xScale(d.key))
411
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
412
- ? this._xScale(d.value)
413
- : this._xScale.bandwidth())
414
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
415
- ? this._yScale.bandwidth()
416
- : this._dims.height -
417
- this._margin.bottom -
418
- this._yScale(d.value))
418
+ .attr('x', this.xFunction)
419
+ .attr('y', this.yFunction)
420
+ .attr('width', this.widthFunction)
421
+ .attr('height', this.heightFunction)
419
422
  .attr('fill', '#00005a');
420
423
  }
421
424
  return update
422
425
  .select('text')
423
- .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'; })
426
+ .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'; })
424
427
  .transition()
425
428
  .duration(this.defaultDuration)
426
429
  .ease(polyInOut)
427
430
  .attr('font-size', this.fontSize)
428
431
  .attr('font-weight', '600')
429
432
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
430
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
431
- : this._yScale(d.value))
433
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
434
+ : this.yScale(d.value))
432
435
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
433
- ? this._xScale(d.value)
434
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
436
+ ? this.xScale(d.value)
437
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
435
438
  .attr('text-anchor', (d) => {
436
439
  if (this.afVariation === BarChartVariation.Vertical)
437
440
  return 'middle';
438
- return this._xScale(d.value) < d.len + this.tickPadding * 2
441
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
439
442
  ? 'start'
440
443
  : 'end';
441
444
  })
442
445
  .attr('dx', (d) => {
443
446
  if (this.afVariation === BarChartVariation.Horizontal)
444
- return this._xScale(d.value) < d.len + this.tickPadding * 2
447
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
445
448
  ? this.tickPadding
446
449
  : -this.tickPadding;
447
450
  return 0;
@@ -449,7 +452,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
449
452
  .attr('fill', (d) => {
450
453
  if (this.afVariation === BarChartVariation.Vertical)
451
454
  return 'black';
452
- return this._xScale(d.value) < d.len + this.tickPadding * 2
455
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
453
456
  ? 'black'
454
457
  : 'white';
455
458
  })
@@ -462,27 +465,27 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
462
465
  ? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
463
466
  : 0;
464
467
  const interpolatedValue = interpolate(oldnum, d.value);
465
- return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this._numberFormat));
468
+ return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
466
469
  });
467
470
  }, (exit) => exit.remove());
468
- this._barSelection = this._barChartContainer.selectAll('rect');
469
- this._textSelection = this._barChartContainer.selectAll('.barText');
471
+ this.barSelection = this.barChartContainer.selectAll('rect');
472
+ this.textSelection = this.barChartContainer.selectAll('.barText');
470
473
  };
471
474
  // Setting position of text according to bar size
472
475
  this.adjustBarText = () => {
473
476
  var _a, _b;
474
- if (!((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
477
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
475
478
  return;
476
- this._textSelection
479
+ this.textSelection
477
480
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
478
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
479
- : this._yScale(d.value))
481
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
482
+ : this.yScale(d.value))
480
483
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
481
- ? this._xScale(d.value)
482
- : this._xScale(d.key) + this._xScale.bandwidth() / 2)
484
+ ? this.xScale(d.value)
485
+ : this.xScale(d.key) + this.xScale.bandwidth() / 2)
483
486
  .attr('dx', (d) => {
484
487
  if (this.afVariation === BarChartVariation.Horizontal)
485
- return this._xScale(d.value) < d.len + this.tickPadding * 2
488
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
486
489
  ? this.tickPadding
487
490
  : -this.tickPadding;
488
491
  return 0;
@@ -490,151 +493,184 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
490
493
  .attr('fill', (d) => {
491
494
  if (this.afVariation === BarChartVariation.Vertical)
492
495
  return 'black';
493
- return this._xScale(d.value) < d.len + this.tickPadding * 2
496
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
494
497
  ? 'black'
495
498
  : 'white';
496
499
  })
497
500
  .attr('text-anchor', (d) => {
498
501
  if (this.afVariation === BarChartVariation.Vertical)
499
502
  return 'middle';
500
- return this._xScale(d.value) < d.len + this.tickPadding * 2
503
+ return this.xScale(d.value) < d.len + this.tickPadding * 2
501
504
  ? 'start'
502
505
  : 'end';
503
506
  });
504
507
  };
505
508
  this.reshapeData = () => {
506
509
  const toReturn = [];
507
- if (this._loading) {
508
- this._placeholderTicks.forEach((key) => {
509
- toReturn.push({
510
+ if (this.loading || !this.chartData) {
511
+ this.placeholderTicks.forEach((key) => {
512
+ const tick = { key: key, series: [] };
513
+ tick.series.push({
510
514
  key: key,
515
+ serie: 'loading',
511
516
  value: Math.floor(Math.random() * (9 - 2 + 1) + 2),
512
- len: '1'
517
+ len: 0
513
518
  });
519
+ toReturn.push(tick);
514
520
  });
515
521
  return toReturn;
516
522
  }
517
- this._chartData.data.xValueNames.forEach((key, index) => {
518
- toReturn.push({
519
- key: key,
520
- value: this._chartData.data.series[0].yValues[index],
521
- len: this.getTextSize(this._chartData.data.series[0].yValues[index].toLocaleString())
523
+ this.chartData.data.xValueNames.forEach((key, index) => {
524
+ const tick = { key: key, series: [] };
525
+ this.chartData.data.series.forEach((serie) => {
526
+ if (serie.yValues[index]) {
527
+ tick.series.push({
528
+ key: key,
529
+ serie: serie.title,
530
+ value: serie.yValues[index],
531
+ len: serie.yValues[index] ? this.getTextSize(serie.yValues[index].toLocaleString()) : 0
532
+ });
533
+ }
522
534
  });
535
+ toReturn.push(tick);
523
536
  });
524
537
  return toReturn;
525
538
  };
526
539
  this.adjustBarSize = () => {
527
- this._barSelection
528
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
529
- ? this._yScale(d.key)
530
- : this._yScale(d.value))
531
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
532
- ? 2
533
- : this._xScale(d.key))
534
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
535
- ? this._xScale(d.value)
536
- : this._xScale.bandwidth())
537
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
538
- ? this._yScale.bandwidth()
539
- : this._dims.height - this._margin.bottom - this._yScale(d.value));
540
+ this.barSelection.selectAll('.bar')
541
+ .attr('x', this.xFunction)
542
+ .attr('y', this.yFunction)
543
+ .attr('width', this.widthFunction)
544
+ .attr('height', this.heightFunction);
545
+ };
546
+ this.evalColorVar = (colorVar) => {
547
+ return getComputedStyle(document.documentElement)
548
+ .getPropertyValue(colorVar)
549
+ .trim()
550
+ .toLocaleLowerCase();
540
551
  };
541
- // Resize table
542
- this.resizeTable = () => {
543
- this.setDims();
544
- this.setTableDimensions();
552
+ // Handling x positioning of bars
553
+ this.xFunction = (d, i) => {
554
+ return this.afVariation === BarChartVariation.Horizontal
555
+ ? (d.value > 0 ? this.xScale(0) : this.xScale(d.value))
556
+ : this.xScale(d.key) + ((this.xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
557
+ };
558
+ // Handling y positioning of bars
559
+ this.yFunction = (d, i) => {
560
+ if (!d.value)
561
+ return 0;
562
+ return this.afVariation === BarChartVariation.Horizontal
563
+ ? this.yScale(d.key) + ((this.yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
564
+ : (d.value < 0 ? this.yScale(0) : this.yScale(d.value));
565
+ };
566
+ // Handling height for bars
567
+ this.heightFunction = (d) => {
568
+ if (!d.value)
569
+ return 0;
570
+ return this.afVariation === BarChartVariation.Horizontal
571
+ ? this.yScale.bandwidth() / this.dataWidth - (this.barGap)
572
+ : (d.value < 0 ? this.yScale(d.value) - this.yScale(0) : this.yScale(0) - this.yScale(d.value));
573
+ };
574
+ // Handling width for bars
575
+ this.widthFunction = (d) => {
576
+ return this.afVariation === BarChartVariation.Horizontal
577
+ ? Math.abs(this.xScale(0) - this.xScale(d.value))
578
+ : this.xScale.bandwidth() / this.dataWidth - (this.barGap);
545
579
  };
546
580
  // Setting dimension variable
547
581
  this.setDims = (onlyHeight = false) => {
548
582
  // Get title dimensions
549
- const tempTitle = select(this._titleDiv).node().getBoundingClientRect(), tempLegend = select(this._legendDiv).node().getBoundingClientRect();
550
- const prevHeight = this._dims.height;
583
+ const tempTitle = select(this.titleDiv).node().getBoundingClientRect(), tempLegend = select(this.legendDiv).node().getBoundingClientRect();
584
+ const prevHeight = this.dims.height;
551
585
  if (!onlyHeight)
552
- this._dims = select(this._chartDiv).node().getBoundingClientRect();
553
- this._dims.height =
554
- this._maxHeight - tempLegend.height - tempTitle.height - 1.75 * this._rem;
555
- return prevHeight != this._dims.height;
586
+ this.dims = select(this.chartDiv).node().getBoundingClientRect();
587
+ this.dims.height =
588
+ this.maxHeight - tempLegend.height - tempTitle.height - 1.75 * this.rem;
589
+ return prevHeight != this.dims.height;
556
590
  };
557
591
  // Setting margins given text size
558
592
  this.setMargins = (fromLoading) => {
559
593
  var _a;
560
- this._pixelSize =
594
+ this.pixelSize =
561
595
  Number(window
562
596
  .getComputedStyle(document.body)
563
597
  .getPropertyValue('font-size')
564
598
  .match(/\d+/)[0]) * Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, ''));
565
599
  // Getting the longest word, assuming it will also be the widest in terms of pixels
566
600
  if (this.afVariation === BarChartVariation.Horizontal) {
567
- const left = ((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data) &&
568
- this.getLargestText(this._chartData.data.xValueNames)
569
- ? this.getLargestText(this._chartData.data.xValueNames)
601
+ const left = ((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data) &&
602
+ this.getLargestText(this.chartData.data.xValueNames)
603
+ ? this.getLargestText(this.chartData.data.xValueNames)
570
604
  : 0;
571
- this._margin.left = left;
605
+ this.margin.left = left;
606
+ this.margin.bottom = this.pixelSize + this.tickPadding + this.xTickSize;
572
607
  }
573
- else
574
- this._margin.left = this.getLargestText(fromLoading
608
+ else {
609
+ this.margin.left = this.getLargestText(fromLoading
575
610
  ? ['0', '10']
576
611
  : [
577
- this._minVal ? this._tempScale[0].toLocaleString() : '0',
578
- this._maxVal ? this._tempScale[1].toLocaleString() : '10'
612
+ this.minVal ? this.tempScale[0].toLocaleString() : '0',
613
+ this.maxVal ? this.tempScale[1].toLocaleString() : '10'
579
614
  ]);
580
- if (this._margin.left > this._dims.width / 4) {
581
- this._margin.left = Math.floor(this._dims.width / 4);
582
- this._margin.ellipsis = true;
615
+ this.margin.bottom = this.pixelSize;
616
+ }
617
+ if (this.margin.left > this.dims.width / 4) {
618
+ this.margin.left = Math.floor(this.dims.width / 4);
619
+ this.margin.ellipsis = true;
583
620
  }
584
621
  else
585
- this._margin.ellipsis = false;
586
- this._margin.bottom = this._pixelSize + this.tickPadding + this.xTickSize;
622
+ this.margin.ellipsis = false;
587
623
  };
588
624
  // Adjusting y-ticks
589
625
  this.setNamedTicks = (transition = false) => {
590
626
  if (this.afVariation == BarChartVariation.Horizontal) {
591
627
  if (!transition) {
592
- this._yAxisHandle
628
+ this.yAxisHandle
593
629
  .style('font-size', this.fontSize)
594
630
  .style('font-family', 'Open Sans')
595
- .call(this._yAxis
631
+ .call(this.yAxis
596
632
  .tickPadding(this.tickPadding)
597
633
  .tickSize(this.yTickSize)
598
634
  .tickSizeOuter(0)
599
635
  .tickFormat((d, i) => {
600
- if (!this._margin.ellipsis)
636
+ if (!this.margin.ellipsis)
601
637
  return d.toLocaleString();
602
638
  // Adding ellipsis to text
603
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
604
- const mSize = this._margin.left;
639
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
640
+ const mSize = this.margin.left;
605
641
  if (size < mSize)
606
642
  return d.toLocaleString();
607
- const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3)) + '...');
643
+ const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3)) + '...');
608
644
  let adjustment = 0;
609
645
  if (newSize > mSize) {
610
646
  adjustment = Math.ceil((newSize - mSize) / (size / d.length));
611
647
  }
612
648
  // Slicing the text up, saving atleast 3 characters
613
649
  return (d
614
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
650
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
615
651
  .trim() + '...');
616
652
  }));
617
653
  }
618
654
  else {
619
- this._yAxisHandle
655
+ this.yAxisHandle
620
656
  .style('font-size', this.fontSize)
621
657
  .style('font-family', 'Open Sans')
622
658
  .transition()
623
659
  .duration(this.defaultDuration)
624
- .call(this._yAxis
660
+ .call(this.yAxis
625
661
  .tickPadding(this.tickPadding)
626
662
  .tickSize(this.yTickSize)
627
663
  .tickSizeOuter(0)
628
664
  .tickFormat((d, i) => {
629
- if (!this._margin.ellipsis)
665
+ if (!this.margin.ellipsis)
630
666
  return d;
631
667
  // Adding ellipsis to text
632
- const size = this._namedTickSizes[i] + this.tickPadding + this.yTickSize;
633
- const mSize = this._margin.left;
668
+ const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
669
+ const mSize = this.margin.left;
634
670
  if (size < mSize)
635
671
  return d;
636
672
  const newSize = this.getTextSize(d
637
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length), 3))
673
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3))
638
674
  .trim() + '...');
639
675
  let adjustment = 0;
640
676
  if (newSize > mSize) {
@@ -642,26 +678,26 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
642
678
  }
643
679
  // Slicing the text up, saving atleast 3 characters
644
680
  return (d
645
- .slice(0, Math.max(Math.floor((mSize / (size + this._ellipsisSize)) * d.length) - adjustment, 3))
681
+ .slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
646
682
  .trim() + '...');
647
683
  }));
648
684
  }
649
685
  }
650
686
  else {
651
687
  //Calculating every n:th text to show
652
- let nTh = Math.round(this._chartData.data.xValues.length /
653
- ((this._dims.width - this._margin.left - this._margin.right) / 90 - 1));
654
- if (Math.floor(this._chartData.data.xValues.length / nTh) < 4) {
655
- nTh = Math.round(this._chartData.data.xValues.length / 4);
688
+ let nTh = Math.max(Math.round(this.chartData.data.xValues.length /
689
+ ((this.dims.width - this.margin.left - this.margin.right) / 90 - 1)), 1);
690
+ if (Math.floor(this.chartData.data.xValues.length / nTh) < 4) {
691
+ nTh = Math.round(this.chartData.data.xValues.length / 4);
656
692
  }
657
- const allowedWidth = (this._dims.width - this._margin.left - this._margin.right) /
658
- Math.floor(this._chartData.data.xValues.length / nTh + 1);
693
+ const allowedWidth = (this.dims.width - this.margin.left - this.margin.right) /
694
+ Math.floor(this.chartData.data.xValues.length / nTh + 1);
659
695
  if (!transition) {
660
- this._xAxisHandle
696
+ this.xAxisHandle
661
697
  .style('font-size', this.fontSize)
662
698
  .style('font-family', 'Open Sans')
663
- .call(this._xAxis
664
- .tickValues(this._xScale.domain().filter((...[, i]) => {
699
+ .call(this.xAxis
700
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
665
701
  if (i == 0)
666
702
  return true;
667
703
  else {
@@ -673,23 +709,23 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
673
709
  .tickSizeOuter(0)
674
710
  .tickFormat((d, i) => {
675
711
  const index = i * nTh;
676
- if (this._namedTickSizes[index] < allowedWidth)
712
+ if (this.namedTickSizes[index] < allowedWidth)
677
713
  return d;
678
714
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
679
- (this._namedTickSizes[index] +
680
- this._ellipsisSize +
715
+ (this.namedTickSizes[index] +
716
+ this.ellipsisSize +
681
717
  5)) *
682
718
  d.length), 3)) + '...');
683
719
  }));
684
720
  }
685
721
  else {
686
- this._xAxisHandle
722
+ this.xAxisHandle
687
723
  .style('font-size', this.fontSize)
688
724
  .style('font-family', 'Open Sans')
689
725
  .transition()
690
726
  .duration(this.defaultDuration)
691
- .call(this._xAxis
692
- .tickValues(this._xScale.domain().filter((...[, i]) => {
727
+ .call(this.xAxis
728
+ .tickValues(this.xScale.domain().filter((...[, i]) => {
693
729
  if (i == 0)
694
730
  return true;
695
731
  else {
@@ -701,11 +737,11 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
701
737
  .tickSizeOuter(0)
702
738
  .tickFormat((d, i) => {
703
739
  const index = i * nTh;
704
- if (this._namedTickSizes[index] < allowedWidth)
740
+ if (this.namedTickSizes[index] < allowedWidth)
705
741
  return d;
706
742
  return (d.slice(0, Math.max(Math.floor((allowedWidth /
707
- (this._namedTickSizes[index] +
708
- this._ellipsisSize +
743
+ (this.namedTickSizes[index] +
744
+ this.ellipsisSize +
709
745
  5)) *
710
746
  d.length), 3)) + '...');
711
747
  }));
@@ -715,30 +751,30 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
715
751
  // Positioning the ticks of the value bearing axis
716
752
  this.setValueTicks = (transition = false) => {
717
753
  var _a, _b;
718
- if (((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
754
+ if (((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
719
755
  this.afVariation === BarChartVariation.Horizontal
720
- ? this._xAxisHandle.attr('display', 'none')
721
- : this._yAxisHandle.attr('display', 'none');
756
+ ? this.xAxisHandle.attr('display', 'none')
757
+ : this.yAxisHandle.attr('display', 'none');
722
758
  return;
723
759
  }
724
760
  let toCall, tickSize, handle;
725
761
  if (this.afVariation === BarChartVariation.Horizontal) {
726
- this._xAxisHandle.attr('display', null);
727
- toCall = this._xAxis;
728
- tickSize = -(this._dims.height - this._margin.top - this._margin.bottom);
729
- handle = this._xAxisHandle;
762
+ this.xAxisHandle.attr('display', null);
763
+ toCall = this.xAxis;
764
+ tickSize = -(this.dims.height - this.margin.top - this.margin.bottom);
765
+ handle = this.xAxisHandle;
730
766
  }
731
767
  else {
732
- this._yAxisHandle.attr('display', null);
733
- toCall = this._yAxis;
734
- tickSize = -(this._dims.width - this._margin.left - this._margin.right);
735
- handle = this._yAxisHandle;
768
+ this.yAxisHandle.attr('display', null);
769
+ toCall = this.yAxis;
770
+ tickSize = -(this.dims.width - this.margin.left - this.margin.right);
771
+ handle = this.yAxisHandle;
736
772
  }
737
773
  // Computing the amount of ticks to show
738
- const ticks = Math.min(Math.floor((this._dims.width - this._margin.left - this._margin.right) /
739
- (this._tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
740
- ? this._xScale.ticks().length
741
- : this._yScale.ticks().length);
774
+ const ticks = Math.min(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
775
+ (this.tickWidth + this.xTickSize)) - 2, this.afVariation == BarChartVariation.Horizontal
776
+ ? this.xScale.ticks().length
777
+ : this.yScale.ticks().length);
742
778
  if (!transition) {
743
779
  handle
744
780
  .style('font-size', this.fontSize)
@@ -769,124 +805,154 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
769
805
  }
770
806
  handle.selectAll('line').attr('stroke', 'lightgray');
771
807
  if (this.afVariation === BarChartVariation.Vertical)
772
- this._yAxisHandle.select('.domain').attr('display', 'none');
808
+ this.yAxisHandle.select('.domain').attr('display', 'none');
773
809
  };
774
810
  // Highlight bar
775
811
  this.hover = (event) => {
776
812
  select(event.target)
777
- .transition('hover')
813
+ .transition('color')
778
814
  .duration(20)
779
- .attr('fill', event.target.tagName === 'rect'
780
- ? '#4C4C8B'
781
- : 'var(--digi--color--text--link-hover)');
815
+ .attr('fill', (d) => {
816
+ return event.target.tagName === 'rect'
817
+ ? this.adjustColor(this.colorFunction(d.serie), 50)
818
+ : this.evalColorVar('--digi--color--background--interactive--hover--tertiary');
819
+ });
782
820
  };
783
821
  // Removing highlight from bar
784
822
  this.hoverOut = (event) => {
785
823
  select(event.target)
786
- .transition('hover')
824
+ .transition('color')
787
825
  .duration(this.defaultDuration)
788
- .attr('fill', event.target.tagName === 'rect' ? '#00005a' : '#333333');
826
+ .attr('fill', (d) => event.target.tagName === 'rect' ? this.colorFunction(d.serie) : '#333333');
789
827
  };
790
828
  this.openTooltip = (...[, d]) => {
791
829
  // If type is string, the user has clicked on a y-axis tick
792
830
  if (typeof d === 'string') {
793
- this._tooltipData = this._barChartContainer
794
- .select(`#barGroup${d.replace(/[^A-Z0-9]+/gi, '_')}`)
831
+ this.tooltipData = this.barChartContainer
832
+ .select(`#${this.barGroupID(d)}`)
795
833
  .datum();
796
834
  }
797
835
  else
798
- this._tooltipData = d;
799
- const tooltipBody = this._tooltip.select('.tooltipBody');
836
+ this.tooltipData = d;
837
+ const tooltipBody = this.tooltip.select('.tooltipBody');
800
838
  tooltipBody
801
- .select(this._tooltipHeading)
802
- .style('margin', '0 0.75rem 0 0 ')
803
- .style('font-weight', 500)
804
- .html(this._tooltipData.key);
839
+ .select('.tooltipHeading')
840
+ .html(this.tooltipData.key);
805
841
  tooltipBody
806
842
  .selectAll('div')
807
- .data([this._tooltipData])
843
+ .data(this.tooltipData.series ? this.tooltipData.series : [this.tooltipData])
808
844
  .join('div')
809
845
  .style('display', 'flex')
810
846
  .style('flex-direction', 'row')
811
847
  .style('flex-wrap', 'nowrap')
812
848
  .style('white-space', 'nowrap')
813
849
  .style('justify-content', 'space-between')
814
- .html((d) => d.value.toLocaleString());
815
- this._tooltip.style('display', 'flex');
816
- this.positionTooltip(this._tooltipData);
850
+ .style('margin', '0.25rem 0')
851
+ .html((d) => {
852
+ return `<span>${d.serie}: <b style="font-weight:600;">${d.value.toLocaleString(undefined, this.numberFormat)}</b></span>`;
853
+ });
854
+ this.tooltip.style('visibility', 'visible');
855
+ this.positionTooltip(this.tooltipData);
817
856
  };
818
857
  this.closeTooltip = () => {
819
- this._tooltip.style('display', 'none');
858
+ this.tooltip.style('visibility', 'hidden');
820
859
  };
821
860
  // Positions tooltip in horizontal mode
822
861
  this.positionTooltip = (data) => {
823
- const width = this._tooltip.node().getBoundingClientRect().width;
824
- const height = this._tooltip.node().getBoundingClientRect().height + 8;
825
- const diff = this._xScale(data.value) / 2 - width / 2;
826
- if (this.afVariation === BarChartVariation.Horizontal) {
827
- this._tooltip
828
- .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 )`)
829
- .style('max-width', this._xScale.range()[1] + 'px');
830
- this._tooltip
831
- .select('digi-icon-caret-up')
832
- .style('position', 'absolute')
833
- .style('--digi--icon--color', 'white')
834
- .style('top', '-11px')
835
- .style('left', '0')
836
- .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this._xScale(data.value) / 2}px,0)`);
862
+ var _a;
863
+ const width = this.tooltip.node().getBoundingClientRect().width;
864
+ // Single bar
865
+ if ('serie' in data) {
866
+ if (this.afVariation === BarChartVariation.Horizontal) {
867
+ const diff = this.xScale(data.value) / 2 - width / 2;
868
+ this.tooltip
869
+ .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 )`)
870
+ .style('max-width', this.xScale.range()[1] + 'px');
871
+ this.tooltip
872
+ .select('digi-icon-caret-up')
873
+ .style('position', 'absolute')
874
+ .style('top', '-12px')
875
+ .style('left', '0')
876
+ .style('transform', `translate(${diff > 0 ? width / 2 - 10 : this.xScale(data.value) / 2}px,0)`);
877
+ }
878
+ else {
879
+ 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);
880
+ const barIndex = ((this.xScale.bandwidth() / this.dataWidth) * (index ? index + 1 : 1)) - (this.xScale.bandwidth() / this.dataWidth) / 2;
881
+ // This should be where the x-axis starts
882
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
883
+ // Creating adjustment for tooltip to not appear outside of chart
884
+ const spaceToSVGEdge = 5;
885
+ 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;
886
+ this.tooltip
887
+ .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) )`);
888
+ this.tooltip
889
+ .select('digi-icon-caret-down')
890
+ .style('position', 'absolute')
891
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
892
+ .style('bottom', '-12px');
893
+ }
837
894
  }
838
895
  else {
839
- this._tooltip
840
- .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 )`)
841
- .style('max-width', this._xScale.range()[1] + 'px');
842
- this._tooltip
843
- .select('digi-icon-caret-down')
844
- .style('position', 'absolute')
845
- .style('--digi--icon--color', 'white')
846
- .style('left', '0')
847
- .style('bottom', '-11px')
848
- .style('transform', `translate(${width / 2 - 6}px,0)`);
896
+ if (this.afVariation === BarChartVariation.Horizontal) {
897
+ console.log('helloo');
898
+ }
899
+ else {
900
+ const xStart = this.margin.left + this.tickPadding + this.yTickSize;
901
+ const translatePoint = this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2;
902
+ const yMax = max(data.series.map(elem => elem.value));
903
+ // Creating adjustment for tooltip to not appear outside of chart
904
+ const spaceToSVGEdge = 5;
905
+ const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (translatePoint + width / 2) ? (((translatePoint + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
906
+ this.tooltip
907
+ .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) )`);
908
+ this.tooltip
909
+ .select('digi-icon-caret-down')
910
+ .style('position', 'absolute')
911
+ .style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
912
+ .style('bottom', '-12px');
913
+ }
849
914
  }
850
915
  };
851
916
  // Once texts has fully loaded, we can recompute some sizes
852
917
  this.recomputeTextSize = () => {
853
918
  var _a, _b;
854
919
  if (this.afVariation == BarChartVariation.Horizontal)
855
- this._tickWidth = this.getLargestText(this._xScale.ticks().map((tick) => tick.toLocaleString()));
920
+ this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
856
921
  this.tickSizes();
857
- this._barChartContainer.selectAll('.barGroup').data(this.reshapeData);
858
- if ((_b = (_a = this._chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
859
- this._textSelection.remove();
922
+ this.barChartContainer.selectAll('.barGroup').data(this.mappedData);
923
+ if ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
924
+ this.textSelection.remove();
860
925
  this.initBarText();
861
926
  };
862
927
  // Removes resize observer for chart and inits table
863
928
  this.activateTable = (event) => {
864
929
  this.closeTooltip();
865
930
  this.barChartObserver.disconnect();
866
- this.tableObserver.observe(this._chartDiv);
867
- this._status.innerHTML = '<p>Visas som tabell</p>';
868
- select(this._host).select('.tableButton').style('display', 'none');
869
- select(this._host).select('.chartButton').style('display', null);
931
+ this.status.innerHTML = '<p>Visas som tabell</p>';
932
+ select(this.host).select('.tableButton').style('display', 'none');
933
+ select(this.host).select('.chartButton').style('display', null);
870
934
  event.target.nextSibling.lastChild.focus();
871
935
  const duration = 150;
872
- this._svg
936
+ this.svg
873
937
  .attr('opacity', 1)
874
938
  .transition('fadeout')
875
939
  .duration(duration)
876
940
  .attr('opacity', 0)
877
941
  .on('end', () => {
878
- this._svg.remove();
879
- this._legendDiv.style['display'] = 'none';
880
- this._tableDiv.style['display'] = 'block';
942
+ this.svg.remove();
943
+ select(this.legendDiv).select('.legend').selectAll('.legendChip').remove();
944
+ this.legendDiv.style['display'] = 'none';
945
+ this.tableDiv.style['display'] = 'block';
881
946
  this.setTableContent();
882
947
  this.setTableDimensions();
883
- select(this._tableDiv)
948
+ select(this.tableDiv)
884
949
  .style('opacity', 0)
885
950
  .transition('fadein')
886
951
  .duration(duration)
887
952
  .style('opacity', 1);
953
+ this.chartDiv.style['display'] = 'none';
888
954
  });
889
- select(this._legendDiv)
955
+ select(this.legendDiv)
890
956
  .style('opacity', 1)
891
957
  .transition('fadeout')
892
958
  .duration(duration)
@@ -894,12 +960,12 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
894
960
  };
895
961
  // Removes observer and calls init functions for line chart
896
962
  this.reInitChart = (event) => {
897
- this.tableObserver.disconnect();
898
- this._status.innerHTML = '<p>Visas som diagram</p>';
899
- select(this._host).select('.tableButton').style('display', null);
900
- select(this._host).select('.chartButton').style('display', 'none');
963
+ this.status.innerHTML = '<p>Visas som diagram</p>';
964
+ select(this.host).select('.tableButton').style('display', null);
965
+ select(this.host).select('.chartButton').style('display', 'none');
901
966
  event.target.previousSibling.lastChild.focus();
902
- const table = select(this._tableDiv);
967
+ const table = select(this.tableDiv);
968
+ const duration = 150;
903
969
  table
904
970
  .style('opacity', 1)
905
971
  .transition()
@@ -907,12 +973,19 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
907
973
  .style('opacity', 0)
908
974
  .on('end', () => {
909
975
  table.style('display', 'none');
976
+ this.chartDiv.style['display'] = 'flex';
977
+ this.legendDiv.style['display'] = 'grid';
910
978
  this.initChain();
911
- this._svg
979
+ this.svg
912
980
  .attr('opacity', 0)
913
981
  .transition()
914
- .duration(150)
982
+ .duration(duration)
915
983
  .attr('opacity', 1);
984
+ select(this.legendDiv)
985
+ .style('opacity', 0)
986
+ .transition('fadeout')
987
+ .duration(duration)
988
+ .style('opacity', 1);
916
989
  });
917
990
  };
918
991
  this.afVariation = BarChartVariation.Vertical;
@@ -922,76 +995,109 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
922
995
  }
923
996
  afChartDataUpdate(data) {
924
997
  if (typeof data != 'string')
925
- this._chartData = data;
998
+ this.chartData = data;
926
999
  else
927
- this._chartData = JSON.parse(data);
1000
+ this.chartData = JSON.parse(data);
1001
+ this.mappedData = this.reshapeData();
1002
+ // checking for width of each tick
1003
+ this.mappedData.forEach((elem) => {
1004
+ if (elem.series.length > this.dataWidth)
1005
+ this.dataWidth = elem.series.length;
1006
+ });
1007
+ if (this.dataWidth > 1)
1008
+ this.barGap = 1;
928
1009
  }
929
1010
  initSvg() {
930
1011
  var _a, _b, _c, _d, _e, _f, _g;
931
1012
  // Fetch number formatting
932
- this._numberFormat = {
933
- 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,
934
- 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)
1013
+ this.numberFormat = {
1014
+ 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,
1015
+ 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)
935
1016
  ? 'compact'
936
1017
  : 'standard'
937
1018
  };
938
- select(this._chartDiv).select('svg').remove();
939
- this._maxHeight = (_g = select(this._host)
1019
+ select(this.chartDiv).select('.chartSVG').remove();
1020
+ this.maxHeight = (_g = select(this.host)
940
1021
  .node()
941
1022
  .parentNode) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().height;
942
- this.barChartObserver.observe(this._chartDiv);
1023
+ this.barChartObserver.observe(this.chartDiv);
943
1024
  // Getting rem-size
944
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
945
- this.setMinMax();
1025
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
946
1026
  this.setDims();
1027
+ this.setMinMax();
947
1028
  this.setMargins();
948
1029
  // Appending svg
949
- this._svg = select(this._chartDiv)
1030
+ this.svg = select(this.chartDiv)
950
1031
  .append('svg')
1032
+ .attr('class', 'chartSVG')
951
1033
  .attr('aria-hidden', true)
952
1034
  .attr('role', 'img')
953
- .attr('aria-label', this._chartData && this._chartData.title
954
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
955
- : 'Stapeldiagram');
956
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
1035
+ .attr('aria-label', this.chartData && this.chartData.title
1036
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1037
+ : 'Stapeldiagram')
1038
+ .attr('style', 'display: flex;min-width: 0;width: 100%;height: auto;');
1039
+ }
1040
+ initLegend() {
1041
+ const rectSize = 18;
1042
+ const legendChips = select(this.legendDiv).select('.legend')
1043
+ .style('margin-left', `${this.margin.left + this.tickPadding + this.yTickSize}px`)
1044
+ .selectAll('.legendChip')
1045
+ .data(this.chartData.data.series.map(serie => serie.title))
1046
+ .join('div')
1047
+ .attr('class', 'legendChip')
1048
+ .style('display', 'flex')
1049
+ .style('flex-direction', 'row')
1050
+ .style('align-items', 'center')
1051
+ .style('gap', '0.25rem')
1052
+ .style('cursor', 'default')
1053
+ .on('mouseenter', (_event, serie) => this.highlightBars(serie))
1054
+ .on('mouseleave', this.resetBarColor);
1055
+ legendChips.append('svg')
1056
+ .attr('width', rectSize)
1057
+ .attr('height', rectSize)
1058
+ .append('rect')
1059
+ .attr('x', 0)
1060
+ .attr('y', 0)
1061
+ .attr('width', rectSize)
1062
+ .attr('height', rectSize)
1063
+ .attr('rx', 4)
1064
+ .attr('ry', 4)
1065
+ .attr('fill', (title) => this.colorFunction(title));
1066
+ legendChips.append('span').text((d) => d);
957
1067
  }
958
1068
  initToolTip() {
959
1069
  // Getting handle for tooltip
960
- this._tooltip = select('#' + this.afId);
961
- this._tooltip.select('.close').on('click', this.closeTooltip);
962
- this._tooltipHeading =
963
- 'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1); // increment heading level by one
1070
+ this.tooltip = select('#' + this.afId);
1071
+ this.tooltip.select('.close').on('click', this.closeTooltip);
964
1072
  // Add heading placeholder for heading
965
- this._tooltip
966
- .selectAll('.tooltipBody')
967
- .append(this._tooltipHeading)
1073
+ this.tooltip
1074
+ .select('.tooltipBody')
1075
+ .append('h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1)) // increment heading level by one
968
1076
  .attr('class', 'tooltipHeading') // Adding class to try to dodge global css classes
969
1077
  .style('font-size', '1rem')
970
- .style('margin', '0 0.75rem')
1078
+ .style('margin', '0 0.75rem 0.5rem 0 ')
971
1079
  .style('font-weight', '500');
1080
+ this.tooltip.style('visibility', 'hidden');
972
1081
  }
973
1082
  initEmpty() {
974
- select(this._chartDiv).select('svg').remove();
975
- this._maxHeight = select(this._host)
1083
+ select(this.chartDiv).select('svg').remove();
1084
+ this.maxHeight = select(this.host)
976
1085
  .node()
977
1086
  .parentNode.getBoundingClientRect().height;
978
- this.barChartObserver.observe(this._chartDiv);
1087
+ this.barChartObserver.observe(this.chartDiv);
979
1088
  // Getting rem-size
980
- this._rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
981
- //this.setMinMax();
982
- this.setDims();
1089
+ this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
983
1090
  this.setMargins();
984
1091
  // Appending svg
985
- this._svg = select(this._chartDiv)
1092
+ this.svg = select(this.chartDiv)
986
1093
  .append('svg')
987
1094
  .attr('aria-hidden', true)
988
1095
  .attr('role', 'img')
989
- .attr('aria-label', this._chartData && this._chartData.title
990
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1096
+ .attr('aria-label', this.chartData && this.chartData.title
1097
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
991
1098
  : 'Stapeldiagram');
992
- this._svg.attr('width', this._dims.width).attr('height', this._dims.height);
993
1099
  // Hide unusable components
994
- select(this._titleDiv)
1100
+ select(this.titleDiv)
995
1101
  .select(this.afHeadingLevel)
996
1102
  .html(`${_t.loading}...`);
997
1103
  this.initYAxis(true);
@@ -999,105 +1105,94 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
999
1105
  this.loadingState(true);
1000
1106
  }
1001
1107
  loadingState(empty) {
1002
- this._loading = true;
1108
+ this.loading = true;
1003
1109
  // close potentially open tooltip
1004
- if (this._tooltip)
1110
+ if (this.tooltip)
1005
1111
  this.closeTooltip();
1006
- select(this._host).select('.tableButton').style('display', 'none');
1112
+ select(this.host).select('.tableButton').style('display', 'none');
1007
1113
  const newHeight = this.setDims();
1008
1114
  this.transitionTitle();
1009
- this._xAxisHandle.selectAll('.tick').remove();
1010
- this._xAxisHandle.select('path').remove();
1011
- this._svg
1115
+ this.xAxisHandle.selectAll('.tick').remove();
1116
+ this.xAxisHandle.select('path').remove();
1117
+ this.svg
1012
1118
  .transition()
1013
1119
  .duration(400)
1014
- .attr('width', this._dims.width)
1015
- .attr('height', this._dims.height)
1016
- .attr('aria-label', this._chartData && this._chartData.title
1017
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1120
+ .attr('aria-label', this.chartData && this.chartData.title
1121
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1018
1122
  : 'Stapeldiagram');
1019
1123
  this.setMargins(true);
1020
- select(this._titleDiv)
1124
+ select(this.titleDiv)
1021
1125
  .select(this.afHeadingLevel)
1022
1126
  .html(`${_t.loading}...`);
1023
1127
  // Waiting with observing for changes until transition to regular bars is complete
1024
- this._barChartContainer
1128
+ this.barChartContainer
1025
1129
  .transition('position')
1026
1130
  .duration(this.defaultDuration)
1027
1131
  .ease(polyInOut)
1028
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1132
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1029
1133
  // If there is a new height
1030
1134
  if (newHeight) {
1031
1135
  // Update y-axis with potentially new height (might want to do a check here)
1032
1136
  this.afVariation === BarChartVariation.Horizontal
1033
- ? this._yScale.range([
1034
- this._margin.top,
1035
- this._dims.height - this._margin.bottom
1137
+ ? this.yScale.range([
1138
+ this.margin.top,
1139
+ this.dims.height - this.margin.bottom
1036
1140
  ])
1037
- : this._yScale.range([
1038
- this._dims.height - this._margin.bottom,
1039
- this._margin.top
1141
+ : this.yScale.range([
1142
+ this.dims.height - this.margin.bottom,
1143
+ this.margin.top
1040
1144
  ]);
1041
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1145
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1042
1146
  }
1043
1147
  const animateBars = () => {
1044
- this._barChartContainer.selectAll('.barGroup').remove();
1045
- this._barSelection = this._barChartContainer
1148
+ this.barChartContainer.selectAll('.barGroup').remove();
1149
+ this.barSelection = this.barChartContainer
1046
1150
  .selectAll('barGroup')
1047
- .data(this.reshapeData)
1151
+ .data(this.mappedData)
1048
1152
  .join('g')
1049
1153
  .attr('class', 'barGroup')
1050
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
1154
+ .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''))
1051
1155
  .append('rect')
1052
1156
  .attr('class', 'bar')
1053
1157
  .style('cursor', 'pointer');
1054
- this._barSelection
1158
+ this.barSelection
1055
1159
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1056
- ? this._yScale(d.key)
1057
- : this._dims.height - this._margin.bottom)
1058
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
1059
- ? 2
1060
- : this._xScale(d.key))
1160
+ ? this.yScale(d.key)
1161
+ : this.dims.height - this.margin.bottom)
1162
+ .attr('x', this.xFunction)
1061
1163
  .attr('ry', 4)
1062
1164
  .attr('rx', 4)
1063
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
1064
- ? this._xScale(d.value)
1065
- : this._xScale.bandwidth())
1165
+ .attr('width', this.widthFunction)
1066
1166
  .attr('height', () => 0)
1067
- //.attr('height', (d: any) => this.afVariation === BarChartVariation.Horizontal ? this._yScale.bandwidth() : (this._dims.height - this._margin.bottom) - this._yScale(d.value))
1068
1167
  .attr('fill', 'gray')
1069
1168
  .transition()
1070
1169
  .duration(400)
1071
1170
  .delay((...[, i]) => i * 150)
1072
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1073
- ? this._yScale(d.key)
1074
- : this._yScale(d.value))
1075
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
1076
- ? this._yScale.bandwidth()
1077
- : this._dims.height - this._margin.bottom - this._yScale(d.value));
1078
- this._barSelection
1171
+ .attr('y', this.yFunction)
1172
+ .attr('height', this.heightFunction);
1173
+ this.barSelection
1079
1174
  .transition()
1080
1175
  .duration(400)
1081
1176
  .ease(linear$1)
1082
1177
  .delay((...[, i]) => i * 150 + 400)
1083
1178
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1084
- ? this._yScale(d.key)
1085
- : this._dims.height - this._margin.bottom)
1179
+ ? this.yScale(d.key)
1180
+ : this.dims.height - this.margin.bottom)
1086
1181
  .attr('height', () => 0)
1087
1182
  .on('end', (...[, i]) => {
1088
- if (i === this._placeholderTicks.length - 1)
1183
+ if (i === this.placeholderTicks.length - 1)
1089
1184
  animateBars();
1090
1185
  });
1091
1186
  };
1092
1187
  const flattenBars = () => {
1093
- this._barChartContainer
1188
+ this.barChartContainer
1094
1189
  .selectAll('rect')
1095
1190
  .transition()
1096
1191
  .duration(200)
1097
1192
  .ease(linear$1)
1098
1193
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1099
- ? this._yScale(d.key)
1100
- : this._dims.height - this._margin.bottom)
1194
+ ? this.yScale(d.key)
1195
+ : this.dims.height - this.margin.bottom)
1101
1196
  .attr('height', () => 0)
1102
1197
  .on('end', (...[, i]) => {
1103
1198
  if (i != 0)
@@ -1105,7 +1200,7 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1105
1200
  this.setYScale(true);
1106
1201
  this.setValueTicks();
1107
1202
  this.setXScale(true);
1108
- this.barChartObserver.observe(this._chartDiv);
1203
+ this.barChartObserver.observe(this.chartDiv);
1109
1204
  animateBars();
1110
1205
  });
1111
1206
  };
@@ -1115,20 +1210,20 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1115
1210
  flattenBars();
1116
1211
  }
1117
1212
  transitionTitle() {
1118
- const height = select(this._titleDiv).style('height');
1119
- select(this._titleDiv)
1120
- .style('height', this._prevHeight)
1213
+ const height = select(this.titleDiv).style('height');
1214
+ select(this.titleDiv)
1215
+ .style('height', this.prevHeight)
1121
1216
  .transition('adjust')
1122
1217
  .duration(400)
1123
1218
  .style('height', height)
1124
- .on('end', () => select(this._titleDiv).style('height', null));
1219
+ .on('end', () => select(this.titleDiv).style('height', null));
1125
1220
  }
1126
1221
  initYAxis(empty) {
1127
1222
  this.setYScale(empty);
1128
- this._barChartContainer = this._svg
1223
+ this.barChartContainer = this.svg
1129
1224
  .append('g')
1130
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1131
- this._yAxisHandle = this._barChartContainer.append('g');
1225
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1226
+ this.yAxisHandle = this.barChartContainer.append('g');
1132
1227
  if (this.afVariation === BarChartVariation.Horizontal) {
1133
1228
  this.tickSizes();
1134
1229
  this.setNamedTicks();
@@ -1140,31 +1235,31 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1140
1235
  // Sets the largest and smallest value from series 0, Should only be used when not loading
1141
1236
  setMinMax() {
1142
1237
  var _a, _b, _c, _d, _e, _f, _g;
1143
- const max$1 = max((_a = this._chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1144
- ? max((_b = this._chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1238
+ const max$1 = max((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
1239
+ ? max((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
1145
1240
  : 0;
1146
- const min$1 = min([0, min((_c = this._chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1147
- ? min([0, min((_d = this._chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1241
+ const min$1 = min([0, min((_c = this.chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
1242
+ ? min([0, min((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
1148
1243
  : 0;
1149
- this._maxVal = max$1;
1150
- this._minVal = min$1;
1151
- this._tempScale = linear()
1152
- .domain([this._minVal, this._maxVal])
1153
- .nice(((_f = (_e = this._chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1154
- ? (_g = this._chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1244
+ this.maxVal = max$1;
1245
+ this.minVal = min$1;
1246
+ this.tempScale = linear()
1247
+ .domain([this.minVal, this.maxVal])
1248
+ .nice(((_f = (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
1249
+ ? (_g = this.chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
1155
1250
  : 3)
1156
1251
  .domain();
1157
1252
  }
1158
1253
  // Setting up x-axis, getting margin.right in this function
1159
1254
  initXAxis(empty) {
1160
1255
  this.setXScale(empty);
1161
- this._xAxisHandle = this._barChartContainer
1256
+ this.xAxisHandle = this.barChartContainer
1162
1257
  .append('g')
1163
- .attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1258
+ .attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1164
1259
  if (this.afVariation === BarChartVariation.Horizontal) {
1165
1260
  this.setValueTicks();
1166
1261
  // Removing first tick, because it aligns with y-axis domain
1167
- this._xAxisHandle.select('.tick').select('line').remove();
1262
+ //this.xAxisHandle.select('.tick').select('line').remove();
1168
1263
  }
1169
1264
  else {
1170
1265
  if (!empty) {
@@ -1176,58 +1271,59 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1176
1271
  }
1177
1272
  // Initializing bars, can only handle one series of bars for now
1178
1273
  initBars() {
1179
- this._barSelection = this._barChartContainer
1274
+ this.barSelection = this.barChartContainer
1180
1275
  .selectAll('barGroup')
1181
- .data(this.reshapeData)
1276
+ .data(this.mappedData)
1182
1277
  .join('g')
1183
1278
  .attr('class', 'barGroup')
1184
- .attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, '_'))
1185
- .append('rect')
1279
+ .attr('id', (d) => this.barGroupID(d.key));
1280
+ this.barSelection.selectAll('.barGroup')
1281
+ .data((d) => {
1282
+ return d.series;
1283
+ })
1284
+ .join('rect')
1186
1285
  .attr('class', 'bar')
1187
- .style('cursor', 'pointer');
1188
- this._barSelection
1189
- .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1190
- ? this._yScale(d.key)
1191
- : this._yScale(d.value))
1192
- .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
1193
- ? 2
1194
- : this._xScale(d.key))
1286
+ .style('cursor', 'pointer')
1287
+ .attr('x', this.xFunction)
1288
+ .attr('y', this.yFunction)
1195
1289
  .attr('ry', 4)
1196
1290
  .attr('rx', 4)
1197
- .attr('width', (d) => this.afVariation === BarChartVariation.Horizontal
1198
- ? this._xScale(d.value)
1199
- : this._xScale.bandwidth())
1200
- .attr('height', (d) => this.afVariation === BarChartVariation.Horizontal
1201
- ? this._yScale.bandwidth()
1202
- : this._dims.height - this._margin.bottom - this._yScale(d.value))
1203
- .attr('fill', '#00005a')
1291
+ .attr('width', this.widthFunction)
1292
+ .attr('height', this.heightFunction)
1293
+ .attr('fill', (d) => this.colorFunction(d.serie))
1204
1294
  .on('mouseenter', this.hover)
1205
1295
  .on('mouseleave', this.hoverOut)
1206
1296
  .on('click', this.openTooltip);
1207
1297
  }
1208
1298
  initBarText() {
1209
- this._textSelection = this._barChartContainer
1299
+ var _a, _b;
1300
+ if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
1301
+ return;
1302
+ this.textSelection = this.barChartContainer
1210
1303
  .selectAll('.barGroup')
1211
1304
  .append('text');
1212
- this._textSelection
1213
- .text((d) => d.value.toLocaleString(undefined, this._numberFormat))
1305
+ this.textSelection
1306
+ .text((d) => {
1307
+ return d.value ? d.value.toLocaleString(undefined, this.numberFormat) : undefined;
1308
+ })
1214
1309
  .attr('class', 'barText')
1215
1310
  .attr('font-size', this.fontSize)
1216
1311
  .attr('font-weight', '600')
1217
1312
  .attr('text-anchor', 'end')
1218
1313
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1219
- ? this._yScale(d.key) + this._yScale.bandwidth() / 2
1220
- : this._yScale(d.value))
1314
+ ? this.yScale(d.key) + this.yScale.bandwidth() / 2
1315
+ : this.yScale(d.value))
1221
1316
  .attr('x', (d) => this.afVariation === BarChartVariation.Horizontal
1222
- ? this._xScale(d)
1223
- : this._xScale(d.key) + this._xScale.bandwidth())
1317
+ ? this.xScale(d)
1318
+ : this.xScale(d.key) + this.xScale.bandwidth())
1224
1319
  .attr('dy', () => this.afVariation == BarChartVariation.Horizontal ? '0.35em' : '-0.25em')
1225
1320
  .style('pointer-events', 'none')
1226
- .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'; });
1321
+ .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'; });
1227
1322
  this.adjustBarText();
1228
1323
  }
1229
1324
  initChain() {
1230
1325
  this.initSvg();
1326
+ this.initLegend();
1231
1327
  this.initToolTip();
1232
1328
  this.initYAxis();
1233
1329
  this.initXAxis();
@@ -1237,18 +1333,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1237
1333
  async updateChain() {
1238
1334
  var _a, _b, _c, _d, _e, _f;
1239
1335
  // Fetch number formatting
1240
- this._numberFormat = {
1241
- 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,
1242
- 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)
1336
+ this.numberFormat = {
1337
+ 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,
1338
+ 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)
1243
1339
  ? 'compact'
1244
1340
  : 'standard'
1245
1341
  };
1246
- if (this._tooltip)
1342
+ if (this.tooltip)
1247
1343
  this.closeTooltip();
1248
1344
  // Check whether we are in table mode or not
1249
- if (this._tableDiv.style['display'] == 'block') {
1250
- if (!this._chartData.title) {
1251
- select(this._titleDiv)
1345
+ if (this.tableDiv.style['display'] == 'block') {
1346
+ if (!this.chartData.title) {
1347
+ select(this.titleDiv)
1252
1348
  .select(this.afHeadingLevel)
1253
1349
  .html(`${_t.loading}...`);
1254
1350
  }
@@ -1260,9 +1356,9 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1260
1356
  }
1261
1357
  else {
1262
1358
  // displaying legend again
1263
- if (this._loading) {
1264
- select(this._host).select('.tableButton').style('display', null);
1265
- select(this._legendDiv).style('display', null);
1359
+ if (this.loading) {
1360
+ select(this.host).select('.tableButton').style('display', null);
1361
+ select(this.legendDiv).style('display', null);
1266
1362
  this.initToolTip();
1267
1363
  }
1268
1364
  // Disconnect resize observer while adjusting things
@@ -1270,73 +1366,69 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1270
1366
  this.setMinMax();
1271
1367
  const newHeight = this.setDims();
1272
1368
  this.transitionTitle();
1273
- this._svg
1274
- .transition()
1275
- .duration(400)
1276
- .attr('width', this._dims.width)
1277
- .attr('height', this._dims.height)
1278
- .attr('aria-label', this._chartData && this._chartData.title
1279
- ? 'Stapeldiagram om ' + this._chartData.title.toLowerCase()
1369
+ this.svg
1370
+ .attr('aria-label', this.chartData && this.chartData.title
1371
+ ? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
1280
1372
  : 'Stapeldiagram');
1281
1373
  this.setMargins();
1282
1374
  // Waiting with observing for changes until transition to regular bars is complete
1283
- this._barChartContainer
1375
+ this.barChartContainer
1284
1376
  .transition('position')
1285
1377
  .duration(this.defaultDuration)
1286
1378
  .ease(polyInOut)
1287
- .attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1288
- if (!this._loading)
1289
- this._barChartContainer.on('end', () => this.barChartObserver.observe(this._chartDiv));
1379
+ .attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1380
+ if (!this.loading)
1381
+ this.barChartContainer.on('end', () => this.barChartObserver.observe(this.chartDiv));
1290
1382
  // If there is a new height
1291
1383
  if (newHeight) {
1292
1384
  // Update y-axis with potentially new height (might want to do a check here)
1293
1385
  this.afVariation === BarChartVariation.Horizontal
1294
- ? this._yScale.range([
1295
- this._margin.top,
1296
- this._dims.height - this._margin.bottom
1386
+ ? this.yScale.range([
1387
+ this.margin.top,
1388
+ this.dims.height - this.margin.bottom
1297
1389
  ])
1298
- : this._yScale.range([
1299
- this._dims.height - this._margin.bottom,
1300
- this._margin.top
1390
+ : this.yScale.range([
1391
+ this.dims.height - this.margin.bottom,
1392
+ this.margin.top
1301
1393
  ]);
1302
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1394
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1303
1395
  }
1304
1396
  this.tickSizes();
1305
1397
  this.setYScale();
1306
1398
  this.setXScale();
1307
1399
  this.setTickInteraction();
1308
- this._tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1309
- ? this._xScale.ticks().map((tick) => tick.toLocaleString())
1310
- : this._yScale.ticks().map((tick) => tick.toLocaleString()));
1400
+ this.tickWidth = this.getLargestText(this.afVariation == BarChartVariation.Horizontal
1401
+ ? this.xScale.ticks().map((tick) => tick.toLocaleString())
1402
+ : this.yScale.ticks().map((tick) => tick.toLocaleString()));
1311
1403
  this.setValueTicks(true);
1312
- if (this._loading) {
1313
- select(this._legendDiv)
1404
+ if (this.loading) {
1405
+ select(this.legendDiv)
1314
1406
  .style('opacity', 0)
1315
1407
  .transition()
1316
1408
  .duration(400)
1317
1409
  .ease(polyInOut)
1318
1410
  .style('opacity', 1);
1319
- this._margin.right =
1320
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1411
+ this.margin.right =
1412
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1321
1413
  this.yTickSize +
1322
1414
  this.tickPadding;
1323
1415
  // Update x-axis with new width
1324
- this._xScale.range([
1416
+ this.xScale.range([
1325
1417
  0,
1326
- this._dims.width - this._margin.right - this._margin.left
1418
+ this.dims.width - this.margin.right - this.margin.left
1327
1419
  ]);
1328
1420
  this.setNamedTicks(true);
1329
1421
  // Stop animation
1330
- this._barSelection.selectAll('.barGroup').on('end', null);
1331
- this._loading = false;
1332
- this._barSelection
1422
+ this.barSelection.selectAll('.barGroup').on('end', null);
1423
+ this.loading = false;
1424
+ this.barSelection
1333
1425
  .transition()
1334
1426
  .duration(this.defaultDuration)
1335
1427
  .attr('y', (d) => this.afVariation === BarChartVariation.Horizontal
1336
- ? this._yScale(d.key)
1337
- : this._dims.height - this._margin.bottom)
1428
+ ? this.yScale(d.key)
1429
+ : this.dims.height - this.margin.bottom)
1338
1430
  .attr('height', () => 0)
1339
- .on('end', (...[, i]) => i === this._placeholderTicks.length - 1
1431
+ .on('end', (...[, i]) => i === this.placeholderTicks.length - 1
1340
1432
  ? this.updateBars(true)
1341
1433
  : null);
1342
1434
  this.setTickInteraction();
@@ -1348,42 +1440,53 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1348
1440
  }
1349
1441
  }
1350
1442
  }
1443
+ // Getting correct color given index or name of data serie
1444
+ colorFunction(input) {
1445
+ if (typeof input === 'number')
1446
+ return this.evalColorVar(this.colorPalettes[input]);
1447
+ else {
1448
+ const index = this.chartData.data.series.findIndex((serie) => serie.title === input);
1449
+ if (index > 0)
1450
+ return this.evalColorVar(this.colorPalettes[index]);
1451
+ else
1452
+ return this.evalColorVar(this.colorPalettes[0]);
1453
+ }
1454
+ }
1351
1455
  // Resizing bar chart
1352
1456
  resize() {
1353
- var _a;
1354
1457
  const newHeight = this.setDims();
1355
- this.setMargins();
1356
- (_a = this._svg) === null || _a === void 0 ? void 0 : _a.attr('width', this._dims.width).attr('height', this._dims.height);
1357
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1358
- this._margin.right =
1359
- this.getTextSize(this._xScale.domain()[1].toLocaleString()) / 2 +
1458
+ //this.setMargins();
1459
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1460
+ this.margin.right =
1461
+ this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
1360
1462
  this.yTickSize +
1361
1463
  this.tickPadding;
1362
1464
  // If there is a new height
1363
1465
  if (newHeight) {
1364
1466
  // Update y-axis with potentially new height (might want to do a check here)
1365
1467
  this.afVariation === BarChartVariation.Horizontal
1366
- ? this._yScale.range([
1367
- this._margin.top,
1368
- this._dims.height - this._margin.bottom
1468
+ ? this.yScale.range([
1469
+ this.margin.top,
1470
+ this.dims.height - this.margin.bottom
1369
1471
  ])
1370
- : this._yScale.range([
1371
- this._dims.height - this._margin.bottom,
1372
- this._margin.top
1472
+ : this.yScale.range([
1473
+ this.dims.height - this.margin.bottom,
1474
+ this.margin.top
1373
1475
  ]);
1374
- this._xAxisHandle.attr('transform', `translate(0,${this._dims.height - this._margin.bottom})`);
1476
+ this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
1375
1477
  }
1376
1478
  // Update x-axis with new width
1377
- this._xScale.range([
1479
+ this.xScale.range([
1378
1480
  0,
1379
- this._dims.width - this._margin.right - this._margin.left
1481
+ this.dims.width - this.margin.right - this.margin.left
1380
1482
  ]);
1381
1483
  this.setNamedTicks();
1382
1484
  this.setValueTicks();
1485
+ this.setTickInteraction();
1383
1486
  this.adjustBarSize();
1384
1487
  this.adjustBarText();
1385
- if (this._tooltipData)
1386
- this.positionTooltip(this._tooltipData);
1488
+ if (this.tooltip.style('visibility') !== 'hidden')
1489
+ this.positionTooltip(this.tooltipData);
1387
1490
  }
1388
1491
  // Returns the longest text from an array of strings
1389
1492
  getLargestText(array) {
@@ -1396,30 +1499,33 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1396
1499
  });
1397
1500
  return width;
1398
1501
  }
1502
+ adjustColor(color, amount) {
1503
+ return '#' + color.replace(/^#/, '').replace(/../g, color => ('0' + Math.min(255, Math.max(0, parseInt(color, 16) + amount)).toString(16)).substr(-2));
1504
+ }
1399
1505
  componentWillLoad() {
1400
1506
  this.afChartDataUpdate(this.afChartData);
1401
1507
  }
1402
1508
  componentDidLoad() {
1403
- if (!this._chartData || Object.keys(this._chartData).length === 0) {
1404
- this._loading = true;
1509
+ if (!this.chartData || Object.keys(this.chartData).length === 0) {
1510
+ this.loading = true;
1405
1511
  return this.initEmpty();
1406
1512
  }
1407
1513
  this.initChain();
1408
1514
  document.fonts.ready.then(() => {
1409
1515
  this.recomputeTextSize();
1410
1516
  this.setNamedTicks();
1411
- this._barChartContainer.attr('transform', `translate(${this._margin.left + this.tickPadding + this.yTickSize},0)`);
1517
+ this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
1412
1518
  });
1413
1519
  }
1414
1520
  disconnectedCallback() {
1415
1521
  this.barChartObserver.disconnect();
1416
1522
  }
1417
1523
  componentWillUpdate() {
1418
- this._prevHeight = select(this._titleDiv).style('height');
1524
+ this.prevHeight = select(this.titleDiv).style('height');
1419
1525
  }
1420
1526
  componentDidUpdate() {
1421
- if (this._tableDiv.style['display'] != 'block' &&
1422
- Object.keys(this._chartData).length === 0) {
1527
+ if (this.tableDiv.style['display'] != 'block' &&
1528
+ Object.keys(this.chartData).length === 0) {
1423
1529
  // Disconnect old barchartobserver while doing resizing
1424
1530
  this.barChartObserver.disconnect();
1425
1531
  return this.loadingState();
@@ -1428,15 +1534,15 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1428
1534
  }
1429
1535
  // Not currently used
1430
1536
  /*get cssModifiers() {
1431
- return {
1432
- 'digi-bar-chart--vertical': this.afVariation == 'vertical',
1433
- 'digi-bar-chart--horizontal': this.afVariation == 'horizontal'
1434
- };
1435
- }*/
1537
+ return {
1538
+ 'digi-bar-chart--vertical': this.afVariation == 'vertical',
1539
+ 'digi-bar-chart--horizontal': this.afVariation == 'horizontal'
1540
+ };
1541
+ }*/
1436
1542
  // Returns pixelwidth of text given the current fontSize (costly function using .each)
1437
1543
  getTextSize(text) {
1438
1544
  const textWidth = [];
1439
- const svg = select(this._chartDiv).append('svg');
1545
+ const svg = select(this.chartDiv).append('svg');
1440
1546
  svg
1441
1547
  .selectAll('dummyText')
1442
1548
  .data([text])
@@ -1451,21 +1557,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1451
1557
  svg.remove().exit();
1452
1558
  return textWidth[0];
1453
1559
  }
1454
- // Setting table content from this._chartData
1560
+ // Setting table content from this.chartData
1455
1561
  setTableContent() {
1456
- 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>`;
1562
+ 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>`;
1457
1563
  }
1458
1564
  setTableDimensions() {
1459
- const table = select(this._tableDiv);
1460
- table
1461
- // The last value is for compensating the padding set on the table element, changing padding in css, will need change in these two lines
1462
- .style('height', this._dims.height + 'px');
1463
- table.style('width', this._dims.width - this._rem * 0.65 + 'px');
1565
+ const table = select(this.tableDiv);
1566
+ table.style('display', 'flex').style('height', '100%').style('width', '100%');
1464
1567
  }
1465
1568
  // Extracting all headings from data and returning a string with <th>-elements with headings
1466
1569
  headings() {
1467
- let headingsString = `<th scope="col">${this._chartData.x}</th>`;
1468
- this._chartData.data.series.forEach((elem) => {
1570
+ let headingsString = `<th scope="col">${this.chartData.x}</th>`;
1571
+ this.chartData.data.series.forEach((elem) => {
1469
1572
  headingsString = headingsString.concat(`<th scope="col">${elem.title}</th>`);
1470
1573
  });
1471
1574
  return headingsString;
@@ -1473,13 +1576,13 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1473
1576
  // Building the table body
1474
1577
  tableBody() {
1475
1578
  let body = '';
1476
- if (this._chartData && this._chartData.data) {
1477
- const loopable = this._chartData.data.xValueNames
1478
- ? this._chartData.data.xValueNames
1479
- : this._chartData.data.xValues;
1579
+ if (this.chartData && this.chartData.data) {
1580
+ const loopable = this.chartData.data.xValueNames
1581
+ ? this.chartData.data.xValueNames
1582
+ : this.chartData.data.xValues;
1480
1583
  loopable.forEach((elem, index) => {
1481
1584
  let cells = '';
1482
- this._chartData.data.series.forEach((serie) => {
1585
+ this.chartData.data.series.forEach((serie) => {
1483
1586
  cells = cells.concat(`<td>${serie.yValues[index] != null ? serie.yValues[index].toLocaleString() : '-'}</td>`);
1484
1587
  });
1485
1588
  body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
@@ -1491,18 +1594,18 @@ const barChart = /*@__PURE__*/ proxyCustomElement(class barChart extends H {
1491
1594
  var _a, _b, _c, _d, _e;
1492
1595
  // Setting header
1493
1596
  let heading = '';
1494
- if (this._chartData) {
1495
- if (!this._chartData.subTitle)
1496
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}>`;
1597
+ if (this.chartData) {
1598
+ if (!this.chartData.subTitle)
1599
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}>`;
1497
1600
  else {
1498
- if (!this._chartData.infoText)
1499
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${this._chartData.subTitle}</p>`;
1601
+ if (!this.chartData.infoText)
1602
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${this.chartData.subTitle}</p>`;
1500
1603
  else
1501
- heading = `<${this.afHeadingLevel}>${this._chartData.title}</${this.afHeadingLevel}><p>${(_a = this._chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1502
- <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>`;
1604
+ heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${(_a = this.chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
1605
+ <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>`;
1503
1606
  }
1504
1607
  }
1505
- return (h(Host, { key: '7659fcc4817cdfb3f19f2bd11a41464c13b5e19e', ref: (el) => (this._host = el) }, h("div", { key: '063611cf8dbb2554904d972ed3fc1f89d714772e', class: "topWrapper", ref: (el) => (this._titleDiv = el) }, h("digi-typography", { key: 'ad58c43c2629e7b2b97e3ad1658646e5171b1531', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '2234460c0ffab8e7d251f099f4f2d38e1e5ebede', 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: 'b82a89d578d997ab878d44a2928e5e31773bd34f', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'b5dc532f7655bd383d0dcf42f8851edbc81b448c', 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: 'f868d9fd2c37c247e8abdd59cf2b9342ad120fef', slot: "icon" }), "Visa diagram"), h("div", { key: '6a0f7838d86a43b46d9a036ad935f50ebb2b523f', class: "scChartStatus", role: "status", ref: (el) => (this._status = el) })), h("div", { key: '5f37b9eaf1030cd1d5b1b0360cdaaa61f953b624', class: "chartTooltip", id: this.afId }, h("div", { key: 'a89608cb64620456a165ba4fb57db823870d2231', class: "tooltipBody" }), h("digi-icon-x", { key: 'e842c2b42f6bc7d6dfdad1d1b8a7acb9f8df5a1a', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", null)) : (h("digi-icon-caret-down", null))), h("div", { key: 'f07154ab370a948016aa30a2547c4c9b25fae03b', ref: (el) => (this._chartDiv = el) }, " "), h("div", { key: '385151df18d373779257040d298bf8c108184500', class: "legend", ref: (el) => (this._legendDiv = el) }), h("div", { key: 'd5f07fc01a628aa2035a96d86621b6bab1e73f01', class: "table", ref: (el) => (this._tableDiv = el) }, ' ')));
1608
+ return (h(Host, { key: 'adbf9f1c26a8816a8d4b585b0fc7a0b9100bf252', ref: (el) => (this.host = el) }, h("div", { key: 'ee28dc5914be751e08c73253b80fd257c2e17bbb', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, h("digi-typography", { key: '6a0b051d3c26e9c34fb59d4ee323a10d1cb542e1', class: "chartTitle", innerHTML: heading }), h("digi-button", { key: '9e11623f0b35f394dc3655067625a37771f648d1', 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: '6e00e771521a10c0213ae6267ea2879c7ccc4b3c', slot: "icon" }), "Visa tabell"), h("digi-button", { key: 'a1eec7299c9cd273ceffa1f1689ee0c6297ce0a1', 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: '5361af6d17e4cd7d6217afd48c4a474fd905c8de', slot: "icon" }), "Visa diagram"), h("div", { key: '2efe2244c2105390580779f60a7c1accd5135d49', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), h("div", { key: '48f2316efe396309fd73510a2eea011c137e24ed', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, h("div", { key: '4f2f494517979cbb9de43945d5ffe17acbe6c814', class: "chartTooltip", id: this.afId }, h("div", { key: '36db97d0dcd4e2009cd33b4125b631eddae039ae', class: "tooltipBody" }), h("digi-icon-x", { key: 'b3ac9ec4b6cd6c2c666d475929c10c0aaba2b9e1', class: "close" }), this.afVariation === BarChartVariation.Horizontal ? (h("digi-icon-caret-up", { class: "caret" })) : (h("digi-icon-caret-down", { class: "caret" })))), h("div", { key: 'f96ed8b4c527ba32de5dd5bdb58c367435ecbc04', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, h("div", { key: '3911352915f02a33231c2e0604a5073fb7203bd3', class: "legend" })), h("div", { key: '29c613f6af6e23b05748e230bad4c00156f30fd6', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
1506
1609
  }
1507
1610
  get hostElement() { return this; }
1508
1611
  static get watchers() { return {