@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.
- package/components/digi-bar-chart.js +641 -538
- package/components/digi-calendar-datepicker.js +13 -13
- package/components/digi-calendar-week-view.js +3 -3
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +5 -5
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +9 -9
- package/components/digi-code.js +1 -1
- package/components/digi-context-menu.js +5 -5
- package/components/digi-dialog.js +6 -6
- package/components/digi-expandable-accordion.js +3 -3
- package/components/digi-expandable-faq-item.js +6 -6
- package/components/digi-expandable-faq.js +2 -2
- package/components/digi-footer-card.js +1 -1
- package/components/digi-footer.js +4 -4
- package/components/digi-form-category-filter.js +4 -4
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +13 -13
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +18 -18
- package/components/digi-form-filter.js +7 -7
- package/components/digi-form-input-search.js +9 -9
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +2 -2
- package/components/digi-form-receipt.js +3 -3
- package/components/digi-form-select-filter.js +16 -16
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +8 -8
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +3 -3
- package/components/digi-header-navigation-item.js +1 -1
- package/components/digi-header-navigation.js +7 -7
- package/components/digi-header-notification.js +2 -2
- package/components/digi-header.js +6 -6
- package/components/digi-icon-accessibility-deaf.js +2 -2
- package/components/digi-icon-accessibility-universal.js +2 -2
- package/components/digi-icon-apple.js +2 -2
- package/components/digi-icon-archive-outline.js +2 -2
- package/components/digi-icon-archive.js +2 -2
- package/components/digi-icon-arrow-back.js +2 -2
- package/components/digi-icon-arrow-down.js +2 -2
- package/components/digi-icon-arrow-left.js +2 -2
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +2 -2
- package/components/digi-icon-arrow-sign-out.js +2 -2
- package/components/digi-icon-arrow-up.js +2 -2
- package/components/digi-icon-at.js +2 -2
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +2 -2
- package/components/digi-icon-bell.js +2 -2
- package/components/digi-icon-book.js +2 -2
- package/components/digi-icon-bookmark-outline.js +2 -2
- package/components/digi-icon-bookmark-solid.js +2 -2
- package/components/digi-icon-bubble-ellipsis.js +2 -2
- package/components/digi-icon-bubble.js +2 -2
- package/components/digi-icon-building-outline.js +2 -2
- package/components/digi-icon-building-solid.js +2 -2
- package/components/digi-icon-bullseye.js +2 -2
- package/components/digi-icon-calculator-solid.js +2 -2
- package/components/digi-icon-calendar-alt-alert.js +2 -2
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +2 -2
- package/components/digi-icon-caret-circle-right.js +2 -2
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +2 -2
- package/components/digi-icon-caret-right.js +2 -2
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +2 -2
- package/components/digi-icon-check-circle-reg-alt.js +2 -2
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +2 -2
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.js +2 -2
- package/components/digi-icon-clock.js +2 -2
- package/components/digi-icon-communication-play-solid.js +2 -2
- package/components/digi-icon-compress-alt.js +2 -2
- package/components/digi-icon-comunication-case.js +2 -2
- package/components/digi-icon-comunication-flag.js +2 -2
- package/components/digi-icon-comunication-graduate.js +2 -2
- package/components/digi-icon-comunication-play.js +2 -2
- package/components/digi-icon-cooperation.js +2 -2
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +2 -2
- package/components/digi-icon-download.js +2 -2
- package/components/digi-icon-dxa.js +2 -2
- package/components/digi-icon-edit.js +2 -2
- package/components/digi-icon-ellipsis.js +2 -2
- package/components/digi-icon-envelope-filled.js +2 -2
- package/components/digi-icon-envelope.js +2 -2
- package/components/digi-icon-exclamation-circle-filled.js +2 -2
- package/components/digi-icon-exclamation-triangle-filled.js +2 -2
- package/components/digi-icon-exclamation-triangle-warning.js +2 -2
- package/components/digi-icon-exclamation-triangle.js +2 -2
- package/components/digi-icon-expand-alt.js +2 -2
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +2 -2
- package/components/digi-icon-eye.js +2 -2
- package/components/digi-icon-facebook-square.js +2 -2
- package/components/digi-icon-file-add.js +1 -1
- package/components/digi-icon-file-document.js +2 -2
- package/components/digi-icon-file-excel.js +2 -2
- package/components/digi-icon-file-export.js +1 -1
- package/components/digi-icon-file-governing.js +2 -2
- package/components/digi-icon-file-pdf.js +2 -2
- package/components/digi-icon-file-powerpoint.js +2 -2
- package/components/digi-icon-file-remove.js +1 -1
- package/components/digi-icon-file-word.js +2 -2
- package/components/digi-icon-film.js +2 -2
- package/components/digi-icon-filter.js +2 -2
- package/components/digi-icon-folder-add.js +1 -1
- package/components/digi-icon-folder-directory.js +1 -1
- package/components/digi-icon-folder-open.js +1 -1
- package/components/digi-icon-folder.js +1 -1
- package/components/digi-icon-globe-filled.js +2 -2
- package/components/digi-icon-globe.js +2 -2
- package/components/digi-icon-headphones.js +2 -2
- package/components/digi-icon-heart-solid.js +2 -2
- package/components/digi-icon-heart.js +2 -2
- package/components/digi-icon-history.js +2 -2
- package/components/digi-icon-home.js +2 -2
- package/components/digi-icon-image.js +2 -2
- package/components/digi-icon-info-circle-solid.js +2 -2
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +2 -2
- package/components/digi-icon-job-suggestion.js +2 -2
- package/components/digi-icon-language-outline.js +2 -2
- package/components/digi-icon-language.js +2 -2
- package/components/digi-icon-laptop-phone.js +2 -2
- package/components/digi-icon-lattlast.js +2 -2
- package/components/digi-icon-licence-bus.js +2 -2
- package/components/digi-icon-licence-car.js +2 -2
- package/components/digi-icon-licence-motorcycle.js +2 -2
- package/components/digi-icon-licence-truck.js +2 -2
- package/components/digi-icon-lightbulb.js +2 -2
- package/components/digi-icon-linkedin-in.js +2 -2
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +2 -2
- package/components/digi-icon-marker-filled.js +2 -2
- package/components/digi-icon-marker.js +2 -2
- package/components/digi-icon-media-course.js +2 -2
- package/components/digi-icon-media-podcast.js +2 -2
- package/components/digi-icon-microphone-off.js +2 -2
- package/components/digi-icon-microphone.js +2 -2
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +2 -2
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.js +2 -2
- package/components/digi-icon-online-meeting.js +2 -2
- package/components/digi-icon-online-task.js +2 -2
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +2 -2
- package/components/digi-icon-palette.js +2 -2
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +1 -1
- package/components/digi-icon-pen.js +2 -2
- package/components/digi-icon-phone-hangup.js +2 -2
- package/components/digi-icon-phone.js +2 -2
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +2 -2
- package/components/digi-icon-read.js +2 -2
- package/components/digi-icon-redo.js +2 -2
- package/components/digi-icon-scale.js +1 -1
- package/components/digi-icon-screensharing-off.js +2 -2
- package/components/digi-icon-screensharing.js +2 -2
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +2 -2
- package/components/digi-icon-send-solid.js +2 -2
- package/components/digi-icon-settings.js +2 -2
- package/components/digi-icon-share-alt.js +2 -2
- package/components/digi-icon-share-chain.js +2 -2
- package/components/digi-icon-sign.js +2 -2
- package/components/digi-icon-sliders-h.js +2 -2
- package/components/digi-icon-sokkandidat.js +2 -2
- package/components/digi-icon-sort-down.js +2 -2
- package/components/digi-icon-sort-up.js +2 -2
- package/components/digi-icon-sort.js +2 -2
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +2 -2
- package/components/digi-icon-star.js +2 -2
- package/components/digi-icon-suitcase-outline.js +2 -2
- package/components/digi-icon-suitcase-solid.js +2 -2
- package/components/digi-icon-system-assistance.js +2 -2
- package/components/digi-icon-table-column.js +2 -2
- package/components/digi-icon-table-row.js +2 -2
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +2 -2
- package/components/digi-icon-toggle-off.js +2 -2
- package/components/digi-icon-toggle-on.js +2 -2
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +2 -2
- package/components/digi-icon-tyck-till.js +2 -2
- package/components/digi-icon-unlock.js +2 -2
- package/components/digi-icon-update.js +2 -2
- package/components/digi-icon-upload.js +2 -2
- package/components/digi-icon-user-add.js +1 -1
- package/components/digi-icon-user-alt.js +2 -2
- package/components/digi-icon-user-edit.js +1 -1
- package/components/digi-icon-users-solid.js +2 -2
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.js +2 -2
- package/components/digi-icon-videocamera.js +2 -2
- package/components/digi-icon-volume.js +2 -2
- package/components/digi-icon-web-tv.js +2 -2
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +2 -2
- package/components/digi-icon-wifi-signal1.js +2 -2
- package/components/digi-icon-wifi-signal2.js +2 -2
- package/components/digi-icon-wifi-signal3.js +2 -2
- package/components/digi-icon-window.js +2 -2
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +2 -2
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +2 -2
- package/components/digi-info-card-multi-container.js +2 -2
- package/components/digi-info-card-multi.js +11 -11
- package/components/digi-info-card.js +5 -5
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.js +2 -2
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.js +3 -3
- package/components/digi-loader-skeleton.js +3 -3
- package/components/digi-loader-spinner.js +2 -2
- package/components/digi-logo.js +2 -2
- package/components/digi-media-figure.js +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +2 -2
- package/components/digi-navigation-pagination.js +10 -10
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +5 -5
- package/components/digi-navigation-vertical-menu-item.js +8 -8
- package/components/digi-navigation-vertical-menu.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +6 -6
- package/components/digi-progress-circle.js +10 -10
- package/components/digi-progress-indicator.js +6 -6
- package/components/digi-progress-list-item.js +8 -8
- package/components/digi-progress-list.js +2 -2
- package/components/digi-progressbar.js +2 -2
- package/components/digi-quote.js +3 -3
- package/components/digi-table.js +1 -1
- package/components/digi-tablist-panel.js +2 -2
- package/components/digi-tablist.js +7 -7
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +2 -2
- package/components/digi-title-logo.js +1 -1
- package/components/digi-tools-feedback-banner.js +6 -6
- package/components/digi-tools-feedback-rating.js +7 -7
- package/components/digi-tools-feedback.js +3 -3
- package/components/digi-tools-theme-provider.js +1 -1
- package/components/digi-typography-heading-jumbo.js +1 -1
- package/components/digi-typography-meta.js +1 -1
- package/components/digi-typography-preamble.js +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +1 -1
- package/components/digi-util-detect-focus-outside.js +1 -1
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/{p-6c7ff092.js → p-039ae2b0.js} +2 -2
- package/components/{p-d18dccc2.js → p-03c90546.js} +2 -2
- package/components/{p-f516f6d6.js → p-04d40c11.js} +2 -2
- package/components/{p-5c935094.js → p-05d1c086.js} +8 -8
- package/components/{p-71bad47e.js → p-0b4d2d83.js} +1 -1
- package/components/{p-2d8b68de.js → p-0c50c0de.js} +2 -2
- package/components/{p-6a652c1c.js → p-13f4d2ef.js} +2 -2
- package/components/{p-ad94e4f3.js → p-14ca5b70.js} +4 -4
- package/components/{p-a90980f7.js → p-1585a4be.js} +2 -2
- package/components/{p-6013f971.js → p-1a1da470.js} +2 -2
- package/components/{p-764c106c.js → p-204a12b0.js} +1 -1
- package/components/{p-d309b91a.js → p-21a5bc1b.js} +2 -2
- package/components/{p-b08505a8.js → p-21cd8c48.js} +2 -2
- package/components/{p-64a9f915.js → p-2889897c.js} +2 -2
- package/components/{p-300490fb.js → p-2e15f1c6.js} +2 -2
- package/components/{p-f147733f.js → p-346262e9.js} +2 -2
- package/components/{p-60394bdb.js → p-358d9f7f.js} +2 -2
- package/components/{p-95dc2a66.js → p-3592c644.js} +2 -2
- package/components/{p-b5523600.js → p-3a53c26b.js} +2 -2
- package/components/{p-fccc9322.js → p-3f7610aa.js} +3 -3
- package/components/{p-f9e6f45e.js → p-48c9d0f3.js} +2 -2
- package/components/{p-73c973fc.js → p-4be31ab9.js} +8 -8
- package/components/{p-f5e13d2e.js → p-5489de1a.js} +1 -1
- package/components/{p-61fe9d78.js → p-598345b2.js} +2 -2
- package/components/{p-372e42fa.js → p-5c41419e.js} +2 -2
- package/components/{p-965664d4.js → p-5d16bf8e.js} +10 -10
- package/components/{p-0e6bb1ce.js → p-5e2cf317.js} +2 -2
- package/components/{p-299871dc.js → p-6105626d.js} +2 -2
- package/components/{p-1440ff46.js → p-6e6c2153.js} +2 -2
- package/components/{p-bbaf1285.js → p-70a1e53a.js} +2 -2
- package/components/{p-15bbce60.js → p-71b44546.js} +1 -1
- package/components/{p-96a4c4dc.js → p-739fcdc7.js} +2 -2
- package/components/{p-d14fe54d.js → p-748dfa2c.js} +2 -2
- package/components/{p-127b0f7a.js → p-75973da5.js} +2 -2
- package/components/{p-9f12ac0c.js → p-83c08ea6.js} +8 -8
- package/components/{p-042282c9.js → p-85b6b337.js} +2 -2
- package/components/{p-2a0c0c78.js → p-92b68e77.js} +2 -2
- package/components/{p-291680dc.js → p-95536f3c.js} +2 -2
- package/components/{p-4caaef7a.js → p-a7a01d29.js} +2 -2
- package/components/{p-39021139.js → p-a88d72d7.js} +2 -2
- package/components/{p-ba757bc9.js → p-b0527d47.js} +3 -3
- package/components/{p-ab1d6ae3.js → p-b6b7ca97.js} +10 -10
- package/components/{p-3cbdeea5.js → p-b808953f.js} +1 -1
- package/components/{p-7492d61e.js → p-bc6e8aa7.js} +2 -2
- package/components/{p-f7fd3e36.js → p-beb92e80.js} +1 -1
- package/components/{p-cfa81e91.js → p-beda5948.js} +1 -1
- package/components/{p-6b275dc1.js → p-d1e931a6.js} +2 -2
- package/components/{p-82463cc2.js → p-d6e8ab86.js} +2 -2
- package/components/{p-9bcf4599.js → p-daa147ae.js} +2 -2
- package/components/{p-aed6db71.js → p-e048c005.js} +2 -2
- package/components/{p-82085ee1.js → p-e14ea3f3.js} +2 -2
- package/components/{p-cf527784.js → p-e22a938c.js} +2 -2
- package/components/{p-8a2e80d2.js → p-e7d6ed0f.js} +1 -1
- package/components/{p-364d38fc.js → p-ea3ca139.js} +2 -2
- package/components/{p-42c4e18d.js → p-ecf4d8ee.js} +1 -1
- package/components/{p-472bc7d3.js → p-f080d24e.js} +2 -2
- package/components/{p-c495f54e.js → p-f2dc2816.js} +2 -2
- package/components/{p-3ea21529.js → p-f3c0bfd0.js} +2 -2
- package/components/{p-b5b891f2.js → p-f3cfe620.js} +3 -3
- package/components/{p-4458129b.js → p-fade2a85.js} +2 -2
- package/components/{p-4437e1a8.js → p-fc39074d.js} +1 -1
- package/custom-elements.json +1 -1
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/{digi-button_24.cjs.entry.js → digi-bar-chart_27.cjs.entry.js} +1734 -82
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/digi-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
- package/dist/cjs/digi-code-block_3.cjs.entry.js +6 -6
- package/dist/cjs/digi-code-example.cjs.entry.js +4 -4
- package/dist/cjs/digi-code.cjs.entry.js +1 -1
- package/dist/cjs/digi-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/digi-dialog.cjs.entry.js +5 -5
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +4 -4
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +2 -2
- package/dist/cjs/digi-footer-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-footer.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-error-list.cjs.entry.js +5 -5
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
- package/dist/cjs/digi-form-filter.cjs.entry.js +5 -5
- package/dist/cjs/digi-form-input-search.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-input.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-label_5.cjs.entry.js +8 -8
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-receipt.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +9 -9
- package/dist/cjs/digi-form-select_2.cjs.entry.js +6 -6
- package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +8 -8
- package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
- package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +8 -8
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sign.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-volume.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
- package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
- package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
- package/dist/cjs/digi-link.cjs.entry.js +1 -1
- package/dist/cjs/digi-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +8 -8
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/digi-notification-alert.cjs.entry.js +4 -4
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +5 -5
- package/dist/cjs/digi-progress-circle.cjs.entry.js +8 -8
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +5 -5
- package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +2 -2
- package/dist/cjs/digi-quote.cjs.entry.js +1 -1
- package/dist/cjs/digi-table.cjs.entry.js +1 -1
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
- package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
- package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +3 -3
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +38 -0
- package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +20 -0
- package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/index-7a477838.js +10 -14
- package/dist/cjs/index.cjs.js +20 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +17 -0
- package/dist/cjs/{typography-variation.enum-9f56fd50.js → typography-variation.enum-8fd8bed4.js} +6 -16
- package/dist/collection/components/_chart/bar-chart/bar-chart.css +37 -28
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +644 -541
- package/dist/collection/components/_chart/chart-line/chart-line.js +3 -3
- package/dist/collection/components/_chart/interfaces/line-chart-data.interface.js +1 -0
- package/dist/collection/components/_code/code/code.js +1 -1
- package/dist/collection/components/_code/code-block/code-block.js +1 -1
- package/dist/collection/components/_code/code-example/code-example.js +4 -4
- package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
- package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
- package/dist/collection/components/_footer/footer/footer.js +1 -1
- package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
- package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
- package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
- package/dist/collection/components/_form/form-input/form-input.js +3 -3
- package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
- package/dist/collection/components/_form/form-label/form-label.js +1 -1
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -2
- package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
- package/dist/collection/components/_form/form-select/form-select.js +4 -4
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
- package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
- package/dist/collection/components/_header/header/header.js +1 -1
- package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
- package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
- package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
- package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
- package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
- package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
- package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
- package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
- package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
- package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
- package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
- package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
- package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
- package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
- package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
- package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
- package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
- package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
- package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
- package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
- package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
- package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
- package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
- package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
- package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
- package/dist/collection/components/_link/link/link.js +1 -1
- package/dist/collection/components/_link/link-button/link-button.js +1 -1
- package/dist/collection/components/_link/link-external/link-external.js +1 -1
- package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
- package/dist/collection/components/_list/list/list.js +1 -1
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
- package/dist/collection/components/_logo/title-logo/title-logo.js +1 -1
- package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
- package/dist/collection/components/_media/media-image/media-image.js +2 -2
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
- package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
- package/dist/collection/components/_quote/quote/quote.js +1 -1
- package/dist/collection/components/_table/table/table.js +1 -1
- package/dist/collection/components/_tag/tag/tag.js +1 -1
- package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
- package/dist/collection/design-tokens/components/_logo.variables.scss +16 -19
- package/dist/collection/interfaces.js +2 -2
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-20ef225a.entry.js → p-01bf3ad8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1e2a9156.entry.js → p-0361e2a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2c7d4ecf.entry.js → p-0564bb24.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-352712b9.entry.js → p-056a51ac.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0d35dc92.entry.js → p-056d6d46.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9a73a55d.entry.js → p-064c939e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7660ba5b.entry.js → p-077c4ce7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc945ec1.entry.js → p-07d588b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d146131e.entry.js → p-081d9429.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c70ba82f.entry.js → p-08f58a6e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b7494943.entry.js → p-09906093.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-34ef0baa.entry.js → p-09a77556.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f69dbfcf.entry.js → p-0ad9751e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b618926.entry.js → p-0ce866e5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cd770cb4.entry.js → p-0cf7ecbc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48113595.entry.js → p-0d2fbd96.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-07b02fa8.entry.js → p-0e83f440.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb554f34.entry.js → p-118de1ce.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-905f3864.entry.js → p-124903f2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-76eb331e.entry.js → p-14c497e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-83b3f053.entry.js → p-1567c7cf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a5c387e8.entry.js → p-187a2bff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6a33818a.entry.js → p-1934f440.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4788712e.entry.js → p-1da9c71e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc252a02.entry.js → p-1debc9e3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b63e0b2d.entry.js → p-1e7003b3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9a7e195c.entry.js → p-1f96ae50.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ad471fd2.entry.js → p-207287dc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2412deb9.entry.js → p-21a46b7b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0c210491.entry.js → p-22dceb50.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-82634b60.entry.js → p-257b435c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d7cdbe75.entry.js → p-271cc7ea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-df2038b9.entry.js → p-28209746.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-658aa433.entry.js → p-29a1c40f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8355c75d.entry.js → p-2b0eba50.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4477f14c.entry.js → p-2b43163d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0052b03c.entry.js → p-2be7c13e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0e634a09.entry.js → p-2d3383dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-218b829e.entry.js → p-2e7b66bf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1fcbbf5f.entry.js → p-2f797f49.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a98df65c.entry.js → p-31cead89.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2aa3ed49.entry.js → p-31d496fe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4c69c234.entry.js → p-32baaef3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-80a77b6e.entry.js → p-389c82d2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11b5ab8d.entry.js → p-3a66b1ea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9789b001.entry.js → p-3ad168dc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e627abeb.entry.js → p-3bcccf75.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4871b74a.entry.js → p-3bf5a52f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0a904539.entry.js → p-3dd60944.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-edfdf8e9.entry.js → p-3ee18966.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c917502e.entry.js → p-3f62e3cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8d3cb15a.entry.js → p-402ed96b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3c28625a.entry.js → p-4058160e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-27be8d2b.entry.js → p-421db079.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a0267f76.entry.js → p-4319225d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f6476365.entry.js → p-43837437.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7d597755.entry.js → p-43cfc8f6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-450c58fb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a439e93f.entry.js → p-45af6173.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-21653bf9.entry.js → p-46443861.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6559910e.entry.js → p-471da06a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-38603899.entry.js → p-47876094.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b48f2acd.entry.js → p-4a3f6ae6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1cc801fd.entry.js → p-4b44a657.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-83269fe6.entry.js → p-4b801f40.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ce8d2455.entry.js → p-4d08605b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4f6b2e2a.entry.js → p-505d0668.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e2330d9c.entry.js → p-50a66237.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a1ae9863.entry.js → p-51470297.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5456a3bc.entry.js → p-51ea79ee.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-52cdbf49.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-63148e09.entry.js → p-52d1fbdf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d1a77b0b.entry.js → p-53a6acbe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2f57b446.entry.js → p-557f59d9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dcaa4461.entry.js → p-58774bdd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a7361f39.entry.js → p-58b3f403.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-092d0e3e.entry.js → p-58dd2feb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7e6d699e.entry.js → p-5920fda5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e10e24fc.entry.js → p-599d0718.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-45af5d55.entry.js → p-59a2dea9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-99e4bd13.entry.js → p-5d25b4a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-37459590.entry.js → p-5dc96f65.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0ac9f348.entry.js → p-5dcafc83.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9fe345d1.entry.js → p-5e38aa9d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8b88c952.entry.js → p-5e87079c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5d0ffc80.entry.js → p-5f8b4cd7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-36229058.entry.js → p-60f2ae82.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a21de52.entry.js → p-61113be3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-628437a4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-56cb2ded.entry.js → p-63afb8fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e69d2e1c.entry.js → p-641d21cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ac3d7a9.entry.js → p-64809ce2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-40f5fda7.entry.js → p-6544b13d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c30a3366.entry.js → p-65edd9ce.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1bd29b6a.entry.js → p-690cd894.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5473bfea.entry.js → p-69a504c4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-57dd2b38.entry.js → p-69abaca6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8328e58b.entry.js → p-6bc5f5e0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5503d5be.entry.js → p-72296348.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-89566597.entry.js → p-72a9f3f0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-730f71a8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c721f99a.entry.js → p-7762d2cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-61385dc4.entry.js → p-7a1fb0c3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb0935fc.entry.js → p-7a25d31e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16b8d192.entry.js → p-7bc9c1c7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-01f5f243.entry.js → p-7f4b20e3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e917904e.entry.js → p-802a5b46.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5d30475d.entry.js → p-8122646c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-af4b851e.entry.js → p-81e2dacd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d0a8fa77.entry.js → p-82794386.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b32df740.entry.js → p-86cd6f83.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-86eddf30.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-649c30ed.entry.js → p-87b568b2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3212807d.entry.js → p-87eddfbe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1dc8b284.entry.js → p-88ebf872.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-676ab6ef.entry.js → p-8b8d7c93.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51c9cc1a.entry.js → p-8c0e86f4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a9bfc5bd.entry.js → p-90026fe6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-33425742.entry.js → p-906e723e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b10a1760.entry.js → p-91f23f8e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8ef4cf4a.entry.js → p-92cbf4fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c8257c8c.entry.js → p-9325f966.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16303afa.entry.js → p-94110ab3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4bb41707.entry.js → p-94e21fe5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-95a880bc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f6b2d484.entry.js → p-95d16f4f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e8fd0aed.entry.js → p-964278e5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-970324c7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-4224f1e4.entry.js → p-980ed378.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c81d1d0b.entry.js → p-988bc7d7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7474d7b0.entry.js → p-9a802b7f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-27388bc4.entry.js → p-9b4786b1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bab6f184.entry.js → p-9be08233.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9ea535e1.entry.js → p-9db4749b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c566cef3.entry.js → p-9e1693bf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ee51a86.entry.js → p-9eb8d626.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-db7c2105.entry.js → p-9fcb6c29.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a0bbf554.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a1d723c7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d2a12b86.entry.js → p-a1f7262e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-66483a84.entry.js → p-a2c2af60.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6e925e52.entry.js → p-a3feba97.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cdbfa3d0.entry.js → p-a40a2cfb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-588fe3b5.entry.js → p-a42c7b62.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b734218c.entry.js → p-a619cf85.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cab53989.entry.js → p-a6aa5829.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5e37e5aa.entry.js → p-a797690b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c92e206b.entry.js → p-a913d408.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-592fd6a9.entry.js → p-ab8fb809.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-eeec1cf1.entry.js → p-ade1e805.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b81e0aec.entry.js → p-b02206fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-de1e9254.entry.js → p-b0458215.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b1a9c2fb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1e03ba21.entry.js → p-b1c9b7c9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9cf50217.entry.js → p-b2b270b8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6de493b0.entry.js → p-b3eb7b70.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fe235598.entry.js → p-b67f9461.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb1daa3b.entry.js → p-b80828d4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-73f6209d.entry.js → p-b8c5b457.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-87721a1f.entry.js → p-b963c8d3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8318562f.entry.js → p-bb980b9f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f2eb8ee5.entry.js → p-bc017492.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-780b30f6.entry.js → p-bccbb035.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8fa46692.entry.js → p-bcf9aac2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-53483e1d.entry.js → p-bd1024f6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-baac6e73.entry.js → p-bdb34478.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cfad003c.entry.js → p-be749fc0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c8751075.entry.js → p-be8b2f3b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-bee6cf1e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-07513ee6.entry.js → p-bef79399.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-01df63d6.entry.js → p-bf7b0303.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-726a0b56.entry.js → p-c09c9322.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-815a97f1.entry.js → p-c0bba648.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-43a43f09.entry.js → p-c10498fe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f9315403.entry.js → p-c1d6e124.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c273397c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-18006927.entry.js → p-c2fd82d0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c3e0c1dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ba39e14b.entry.js → p-c596aac5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9d15493f.entry.js → p-c6a031ec.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9763005c.entry.js → p-c7bfc24d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3e126f89.entry.js → p-c924ccab.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9e4a0fe4.entry.js → p-ce6f3f0c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b924bb0b.entry.js → p-ce8b2664.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16dd9b3f.entry.js → p-cfe0c858.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-2ffd9c4c.entry.js → p-d2543b7d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d46b426b.entry.js → p-d3e444da.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d5bb52b0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7d54fe81.entry.js → p-d60e6377.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4fe05e2f.entry.js → p-d94a3918.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a6a0a040.entry.js → p-d9b00653.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-49aeb019.entry.js → p-da9aac78.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e55d3abf.entry.js → p-db4d42a7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5b01d3e2.entry.js → p-dc35ac0d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-93ec0277.entry.js → p-dcdf1e46.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-014044a7.entry.js → p-dceca2fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9045d5ff.entry.js → p-dddc341e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a67b4609.entry.js → p-de32edc5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-90bc53dc.entry.js → p-df04a0a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-60989dea.entry.js → p-e03f981e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d5376b7c.entry.js → p-e2031ddc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5c7acd45.entry.js → p-e3bdf65a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-01c29a14.entry.js → p-e3f1d8e0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2799e99.entry.js → p-e422f88e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-293ea71f.entry.js → p-e43b30d8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3eb4faff.entry.js → p-e4923428.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2196c33b.entry.js → p-e518d25b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5acaf4b0.entry.js → p-e5755cec.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b5edc89.entry.js → p-e5da1893.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-77ea6604.entry.js → p-e61b6fc6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ef9a3ddc.entry.js → p-e69ad396.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8e16d36a.entry.js → p-e7270a99.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c1606b8a.entry.js → p-e7e38b64.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a947fa52.entry.js → p-e92e7779.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4e2e1902.entry.js → p-eb166d2d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4eb58cf9.entry.js → p-ebfa36da.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-accb56da.entry.js → p-ec5e06ff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a4895704.entry.js → p-ed001874.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c168c84a.entry.js → p-ee24f4dd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-39604e43.entry.js → p-f0b889b5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-099b1bac.entry.js → p-f124bfc7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ccd18e1a.entry.js → p-f3642357.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-664de70c.entry.js → p-f5e195f7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f7628391.entry.js → p-f7b51ba9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8473e21b.entry.js → p-f834ecf8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0bc366fb.entry.js → p-f896c941.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-804cb867.entry.js → p-f8ab294b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9df20034.entry.js → p-f8dd7a43.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9495044c.entry.js → p-f9b7f9f0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5aae7437.entry.js → p-fab53686.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e0db40e9.entry.js → p-fb2f9c4c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2062e63b.entry.js → p-fdc1f600.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b21e9c0a.entry.js → p-fe646f75.entry.js} +1 -1
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/{digi-button_24.entry.js → digi-bar-chart_27.entry.js} +1731 -82
- package/dist/esm/digi-calendar-datepicker.entry.js +2 -2
- package/dist/esm/digi-calendar_2.entry.js +2 -2
- package/dist/esm/digi-chart-line.entry.js +1 -1
- package/dist/esm/digi-code-block_3.entry.js +6 -6
- package/dist/esm/digi-code-example.entry.js +4 -4
- package/dist/esm/digi-code.entry.js +1 -1
- package/dist/esm/digi-context-menu.entry.js +3 -3
- package/dist/esm/digi-dialog.entry.js +5 -5
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-expandable-faq-item.entry.js +4 -4
- package/dist/esm/digi-expandable-faq.entry.js +2 -2
- package/dist/esm/digi-footer-card.entry.js +1 -1
- package/dist/esm/digi-footer.entry.js +3 -3
- package/dist/esm/digi-form-category-filter.entry.js +2 -2
- package/dist/esm/digi-form-checkbox.entry.js +2 -2
- package/dist/esm/digi-form-error-list.entry.js +5 -5
- package/dist/esm/digi-form-file-upload.entry.js +7 -7
- package/dist/esm/digi-form-filter.entry.js +5 -5
- package/dist/esm/digi-form-input-search.entry.js +2 -2
- package/dist/esm/digi-form-input.entry.js +3 -3
- package/dist/esm/digi-form-label_5.entry.js +8 -8
- package/dist/esm/digi-form-radiogroup.entry.js +2 -2
- package/dist/esm/digi-form-receipt.entry.js +3 -3
- package/dist/esm/digi-form-select-filter.entry.js +9 -9
- package/dist/esm/digi-form-select_2.entry.js +6 -6
- package/dist/esm/digi-form-textarea.entry.js +3 -3
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
- package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
- package/dist/esm/digi-icon-apple.entry.js +2 -2
- package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
- package/dist/esm/digi-icon-archive.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
- package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
- package/dist/esm/digi-icon-at.entry.js +2 -2
- package/dist/esm/digi-icon-bell.entry.js +2 -2
- package/dist/esm/digi-icon-book.entry.js +2 -2
- package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
- package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
- package/dist/esm/digi-icon-bubble.entry.js +2 -2
- package/dist/esm/digi-icon-building-outline.entry.js +2 -2
- package/dist/esm/digi-icon-building-solid.entry.js +2 -2
- package/dist/esm/digi-icon-bullseye.entry.js +2 -2
- package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
- package/dist/esm/digi-icon-calendar.entry.js +2 -2
- package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
- package/dist/esm/digi-icon-caret-left.entry.js +2 -2
- package/dist/esm/digi-icon-caret-right.entry.js +2 -2
- package/dist/esm/digi-icon-chat.entry.js +2 -2
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +8 -8
- package/dist/esm/digi-icon-check.entry.js +2 -2
- package/dist/esm/digi-icon-checklist.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-left.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-right.entry.js +2 -2
- package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
- package/dist/esm/digi-icon-clock.entry.js +2 -2
- package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
- package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
- package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
- package/dist/esm/digi-icon-cooperation.entry.js +2 -2
- package/dist/esm/digi-icon-copy.entry.js +2 -2
- package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
- package/dist/esm/digi-icon-download.entry.js +2 -2
- package/dist/esm/digi-icon-dxa.entry.js +2 -2
- package/dist/esm/digi-icon-edit.entry.js +2 -2
- package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
- package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
- package/dist/esm/digi-icon-envelope.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
- package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
- package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
- package/dist/esm/digi-icon-eye.entry.js +2 -2
- package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
- package/dist/esm/digi-icon-file-add.entry.js +1 -1
- package/dist/esm/digi-icon-file-document.entry.js +2 -2
- package/dist/esm/digi-icon-file-excel.entry.js +2 -2
- package/dist/esm/digi-icon-file-export.entry.js +1 -1
- package/dist/esm/digi-icon-file-governing.entry.js +2 -2
- package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
- package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
- package/dist/esm/digi-icon-file-remove.entry.js +1 -1
- package/dist/esm/digi-icon-file-word.entry.js +2 -2
- package/dist/esm/digi-icon-film.entry.js +2 -2
- package/dist/esm/digi-icon-filter.entry.js +2 -2
- package/dist/esm/digi-icon-folder-add.entry.js +1 -1
- package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
- package/dist/esm/digi-icon-folder-open.entry.js +1 -1
- package/dist/esm/digi-icon-folder.entry.js +1 -1
- package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
- package/dist/esm/digi-icon-globe.entry.js +2 -2
- package/dist/esm/digi-icon-headphones.entry.js +2 -2
- package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
- package/dist/esm/digi-icon-heart.entry.js +2 -2
- package/dist/esm/digi-icon-history.entry.js +2 -2
- package/dist/esm/digi-icon-home.entry.js +2 -2
- package/dist/esm/digi-icon-image.entry.js +2 -2
- package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
- package/dist/esm/digi-icon-instagram.entry.js +2 -2
- package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
- package/dist/esm/digi-icon-language-outline.entry.js +2 -2
- package/dist/esm/digi-icon-language.entry.js +2 -2
- package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
- package/dist/esm/digi-icon-lattlast.entry.js +2 -2
- package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
- package/dist/esm/digi-icon-licence-car.entry.js +2 -2
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
- package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
- package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
- package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
- package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
- package/dist/esm/digi-icon-lock.entry.js +2 -2
- package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
- package/dist/esm/digi-icon-marker.entry.js +2 -2
- package/dist/esm/digi-icon-media-course.entry.js +2 -2
- package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
- package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
- package/dist/esm/digi-icon-microphone.entry.js +2 -2
- package/dist/esm/digi-icon-move.entry.js +2 -2
- package/dist/esm/digi-icon-notification-error_4.entry.js +8 -8
- package/dist/esm/digi-icon-online-interview.entry.js +2 -2
- package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
- package/dist/esm/digi-icon-online-task.entry.js +2 -2
- package/dist/esm/digi-icon-open-source.entry.js +2 -2
- package/dist/esm/digi-icon-palette.entry.js +2 -2
- package/dist/esm/digi-icon-paste.entry.js +1 -1
- package/dist/esm/digi-icon-pen.entry.js +2 -2
- package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
- package/dist/esm/digi-icon-phone.entry.js +2 -2
- package/dist/esm/digi-icon-print.entry.js +2 -2
- package/dist/esm/digi-icon-read.entry.js +2 -2
- package/dist/esm/digi-icon-redo.entry.js +2 -2
- package/dist/esm/digi-icon-scale.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
- package/dist/esm/digi-icon-screensharing.entry.js +2 -2
- package/dist/esm/digi-icon-search.entry.js +2 -2
- package/dist/esm/digi-icon-send-outline.entry.js +2 -2
- package/dist/esm/digi-icon-send-solid.entry.js +2 -2
- package/dist/esm/digi-icon-settings.entry.js +2 -2
- package/dist/esm/digi-icon-share-alt.entry.js +2 -2
- package/dist/esm/digi-icon-share-chain.entry.js +2 -2
- package/dist/esm/digi-icon-sign.entry.js +2 -2
- package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
- package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
- package/dist/esm/digi-icon-sort-down.entry.js +2 -2
- package/dist/esm/digi-icon-sort-up.entry.js +2 -2
- package/dist/esm/digi-icon-sort.entry.js +2 -2
- package/dist/esm/digi-icon-spinner.entry.js +2 -2
- package/dist/esm/digi-icon-star-reg.entry.js +2 -2
- package/dist/esm/digi-icon-star.entry.js +2 -2
- package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
- package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
- package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
- package/dist/esm/digi-icon-table-column.entry.js +2 -2
- package/dist/esm/digi-icon-table-row.entry.js +2 -2
- package/dist/esm/digi-icon-task-done.entry.js +2 -2
- package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
- package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
- package/dist/esm/digi-icon-twitter.entry.js +2 -2
- package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
- package/dist/esm/digi-icon-unlock.entry.js +2 -2
- package/dist/esm/digi-icon-update.entry.js +2 -2
- package/dist/esm/digi-icon-upload.entry.js +2 -2
- package/dist/esm/digi-icon-user-add.entry.js +1 -1
- package/dist/esm/digi-icon-user-alt.entry.js +2 -2
- package/dist/esm/digi-icon-user-edit.entry.js +1 -1
- package/dist/esm/digi-icon-users-solid.entry.js +2 -2
- package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
- package/dist/esm/digi-icon-videocamera.entry.js +2 -2
- package/dist/esm/digi-icon-volume.entry.js +2 -2
- package/dist/esm/digi-icon-web-tv.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
- package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
- package/dist/esm/digi-icon-window.entry.js +2 -2
- package/dist/esm/digi-icon-x-button.entry.js +2 -2
- package/dist/esm/digi-icon-youtube.entry.js +2 -2
- package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
- package/dist/esm/digi-info-card-multi.entry.js +1 -1
- package/dist/esm/digi-info-card.entry.js +1 -1
- package/dist/esm/digi-layout-columns.entry.js +1 -1
- package/dist/esm/digi-link-button.entry.js +1 -1
- package/dist/esm/digi-link-internal.entry.js +1 -1
- package/dist/esm/digi-link.entry.js +1 -1
- package/dist/esm/digi-list.entry.js +1 -1
- package/dist/esm/digi-loader-skeleton.entry.js +3 -3
- package/dist/esm/digi-loader-spinner.entry.js +1 -1
- package/dist/esm/digi-media-figure.entry.js +1 -1
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +2 -2
- package/dist/esm/digi-navigation-pagination.entry.js +8 -8
- package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
- package/dist/esm/digi-notification-alert.entry.js +4 -4
- package/dist/esm/digi-notification-error-page.entry.js +5 -5
- package/dist/esm/digi-progress-circle.entry.js +8 -8
- package/dist/esm/digi-progress-indicator.entry.js +3 -3
- package/dist/esm/digi-progress-list-item.entry.js +5 -5
- package/dist/esm/digi-progress-list.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +2 -2
- package/dist/esm/digi-quote.entry.js +1 -1
- package/dist/esm/digi-table.entry.js +1 -1
- package/dist/esm/digi-tablist-panel.entry.js +2 -2
- package/dist/esm/digi-tablist.entry.js +5 -5
- package/dist/esm/digi-tag-media.entry.js +2 -2
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +3 -3
- package/dist/esm/digi-tools-theme-provider.entry.js +1 -1
- package/dist/esm/digi-typography-heading-jumbo.entry.js +34 -0
- package/dist/esm/digi-typography-meta.entry.js +1 -1
- package/dist/esm/digi-typography-preamble.entry.js +16 -0
- package/dist/esm/digi-typography-time.entry.js +1 -1
- package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
- package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
- package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
- package/dist/esm/digi-util-resize-observer.entry.js +1 -1
- package/dist/esm/index-148a7577.js +10 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +17 -0
- package/dist/esm/{typography-variation.enum-8ba40d15.js → typography-variation.enum-531cdf64.js} +7 -17
- package/dist/types/components/_chart/bar-chart/bar-chart.d.ts +55 -41
- package/dist/types/components/_chart/chart-line/chart-line.d.ts +1 -1
- package/dist/types/components/_chart/interfaces/bar-chart-data.interface.d.ts +23 -0
- package/dist/types/components/_chart/{chart-line/chart-line-series.interface.d.ts → interfaces/chart-data-series.interface.d.ts} +1 -1
- package/dist/types/components/_chart/{chart-line/chart-line-data.interface.d.ts → interfaces/line-chart-data.interface.d.ts} +2 -2
- package/dist/types/components.d.ts +8 -6
- package/dist/types/interfaces.d.ts +2 -2
- package/hydrate/index.js +1171 -1068
- package/hydrate/index.mjs +1171 -1068
- package/package.json +1 -1
- package/dist/cjs/bar-chart-variation.enum-a4e866b6.js +0 -7
- package/dist/cjs/digi-bar-chart.cjs.entry.js +0 -1510
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +0 -53
- package/dist/digi-arbetsformedlingen/p-07fd5ccf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-18ffcb24.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2422b0d1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-54a797ed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7393b76b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a5c6e42e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b22f09f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cb8e7e0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d2d0856f.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dcdffb3c.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e54f5b28.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ea09368a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +0 -1
- package/dist/esm/bar-chart-variation.enum-97c0b47f.js +0 -7
- package/dist/esm/digi-bar-chart.entry.js +0 -1506
- package/dist/esm/digi-icon-caret-down_2.entry.js +0 -48
- package/dist/esm/digi-icon-chart_2.entry.js +0 -48
- /package/dist/collection/components/_chart/{chart-line/chart-line-data.interface.js → interfaces/bar-chart-data.interface.js} +0 -0
- /package/dist/collection/components/_chart/{chart-line/chart-line-series.interface.js → interfaces/chart-data-series.interface.js} +0 -0
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-7a477838.js');
|
|
6
|
+
const linear = require('./linear-86314cb2.js');
|
|
7
|
+
const text = require('./text-3157012b.js');
|
|
6
8
|
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
|
|
9
|
+
const typographyVariation_enum = require('./typography-variation.enum-8fd8bed4.js');
|
|
7
10
|
const codeExampleVariation_enum = require('./code-example-variation.enum-1611825e.js');
|
|
8
11
|
const formInputSearchVariation_enum = require('./form-input-search-variation.enum-e0e025b1.js');
|
|
9
12
|
const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
|
|
10
13
|
require('./badge-notification-shape.enum-ff802554.js');
|
|
11
|
-
const typographyVariation_enum = require('./typography-variation.enum-9f56fd50.js');
|
|
12
14
|
require('./badge-status-variation.enum-0a5adc21.js');
|
|
13
15
|
require('./calendar-week-view-heading-level.enum-fd0c841b.js');
|
|
14
|
-
require('./bar-chart-variation.enum-a4e866b6.js');
|
|
15
16
|
require('./code-variation.enum-c4a4e6fd.js');
|
|
16
17
|
require('./expandable-accordion-header-level.enum-45483252.js');
|
|
17
18
|
require('./expandable-faq-item-variation.enum-89427195.js');
|
|
@@ -46,12 +47,1615 @@ require('./tag-size.enum-387c516c.js');
|
|
|
46
47
|
require('./tools-feedback-banner-type.enum-de373ba0.js');
|
|
47
48
|
require('./tools-feedback-rating-variation.enum-2f71e84d.js');
|
|
48
49
|
require('./tools-theme-provider.brand.enum-bc855272.js');
|
|
50
|
+
require('./typography-heading-jumbo-variation.enum-8677e099.js');
|
|
49
51
|
require('./typography-meta-variation.enum-13ac3538.js');
|
|
50
52
|
require('./typography-time-variation.enum-bce1d87e.js');
|
|
51
53
|
const utilBreakpointObserverBreakpoints_enum = require('./util-breakpoint-observer-breakpoints.enum-e96d3a84.js');
|
|
52
54
|
const logger_util = require('./logger.util-fdafc086.js');
|
|
53
55
|
const keyboardHandler_util = require('./keyboardHandler.util-d8600adb.js');
|
|
54
56
|
|
|
57
|
+
function band() {
|
|
58
|
+
var scale = linear.ordinal().unknown(undefined),
|
|
59
|
+
domain = scale.domain,
|
|
60
|
+
ordinalRange = scale.range,
|
|
61
|
+
r0 = 0,
|
|
62
|
+
r1 = 1,
|
|
63
|
+
step,
|
|
64
|
+
bandwidth,
|
|
65
|
+
round = false,
|
|
66
|
+
paddingInner = 0,
|
|
67
|
+
paddingOuter = 0,
|
|
68
|
+
align = 0.5;
|
|
69
|
+
|
|
70
|
+
delete scale.unknown;
|
|
71
|
+
|
|
72
|
+
function rescale() {
|
|
73
|
+
var n = domain().length,
|
|
74
|
+
reverse = r1 < r0,
|
|
75
|
+
start = reverse ? r1 : r0,
|
|
76
|
+
stop = reverse ? r0 : r1;
|
|
77
|
+
step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);
|
|
78
|
+
if (round) step = Math.floor(step);
|
|
79
|
+
start += (stop - start - step * (n - paddingInner)) * align;
|
|
80
|
+
bandwidth = step * (1 - paddingInner);
|
|
81
|
+
if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);
|
|
82
|
+
var values = linear.range(n).map(function(i) { return start + step * i; });
|
|
83
|
+
return ordinalRange(reverse ? values.reverse() : values);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
scale.domain = function(_) {
|
|
87
|
+
return arguments.length ? (domain(_), rescale()) : domain();
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
scale.range = function(_) {
|
|
91
|
+
return arguments.length ? ([r0, r1] = _, r0 = +r0, r1 = +r1, rescale()) : [r0, r1];
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
scale.rangeRound = function(_) {
|
|
95
|
+
return [r0, r1] = _, r0 = +r0, r1 = +r1, round = true, rescale();
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
scale.bandwidth = function() {
|
|
99
|
+
return bandwidth;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
scale.step = function() {
|
|
103
|
+
return step;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
scale.round = function(_) {
|
|
107
|
+
return arguments.length ? (round = !!_, rescale()) : round;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
scale.padding = function(_) {
|
|
111
|
+
return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
scale.paddingInner = function(_) {
|
|
115
|
+
return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
scale.paddingOuter = function(_) {
|
|
119
|
+
return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
scale.align = function(_) {
|
|
123
|
+
return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
scale.copy = function() {
|
|
127
|
+
return band(domain(), [r0, r1])
|
|
128
|
+
.round(round)
|
|
129
|
+
.paddingInner(paddingInner)
|
|
130
|
+
.paddingOuter(paddingOuter)
|
|
131
|
+
.align(align);
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
return linear.initRange.apply(rescale(), arguments);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
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}";
|
|
138
|
+
const DigiBarChartStyle0 = barChartCss;
|
|
139
|
+
|
|
140
|
+
const barChart = class {
|
|
141
|
+
constructor(hostRef) {
|
|
142
|
+
index.registerInstance(this, hostRef);
|
|
143
|
+
// States
|
|
144
|
+
this.loading = false;
|
|
145
|
+
this.placeholderTicks = ['0', '1', '2', '3', '4', '5', '6', '7'];
|
|
146
|
+
// 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;
|
|
147
|
+
this.dataWidth = 1;
|
|
148
|
+
// Bar gap when using multiple bars for each point, this will be doubled, since it is applied on both bars
|
|
149
|
+
this.barGap = 0;
|
|
150
|
+
this.dims = {};
|
|
151
|
+
this.margin = {
|
|
152
|
+
bottom: 0,
|
|
153
|
+
top: 6,
|
|
154
|
+
left: 5,
|
|
155
|
+
right: 15,
|
|
156
|
+
ellipsis: false
|
|
157
|
+
};
|
|
158
|
+
this.tickPadding = 8;
|
|
159
|
+
this.yTickSize = 0;
|
|
160
|
+
this.xTickSize = 5;
|
|
161
|
+
// Width of the largets X-tick-value
|
|
162
|
+
this.tickWidth = 1;
|
|
163
|
+
// Transition
|
|
164
|
+
this.defaultDuration = 400;
|
|
165
|
+
// Text and formats
|
|
166
|
+
this.fontSize = '0.875rem';
|
|
167
|
+
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'];
|
|
168
|
+
// Observer for watching size changes when in line chart mode
|
|
169
|
+
this.barChartObserver = new ResizeObserver((entries) => {
|
|
170
|
+
entries.forEach(() => {
|
|
171
|
+
if (this.loading)
|
|
172
|
+
return this.loadingResize();
|
|
173
|
+
this.resize();
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
this.highlightBars = (serie) => {
|
|
177
|
+
this.barChartContainer.selectAll('.bar')
|
|
178
|
+
.attr('fill', (barData) => this.colorFunction(barData.serie))
|
|
179
|
+
.transition('color')
|
|
180
|
+
.duration(150)
|
|
181
|
+
.attr('fill', (barData) => {
|
|
182
|
+
if (barData.serie === serie)
|
|
183
|
+
return this.colorFunction(barData.serie);
|
|
184
|
+
else
|
|
185
|
+
return this.evalColorVar('--digi--color--background--secondary-accent');
|
|
186
|
+
});
|
|
187
|
+
linear.select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', (title) => title === serie ? 1 : 0.25);
|
|
188
|
+
};
|
|
189
|
+
this.resetBarColor = () => {
|
|
190
|
+
this.barChartContainer.selectAll('.bar').transition('color').duration(150).attr('fill', (barData) => this.colorFunction(barData.serie));
|
|
191
|
+
linear.select(this.legendDiv).selectAll('.legendChip').transition('colorLegend').duration(150).style('opacity', 1);
|
|
192
|
+
};
|
|
193
|
+
// Resizing chart while loading
|
|
194
|
+
this.loadingResize = () => {
|
|
195
|
+
const newHeight = this.setDims();
|
|
196
|
+
this.setMargins(true);
|
|
197
|
+
this.svg.attr('width', this.dims.width).attr('height', this.dims.height);
|
|
198
|
+
this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
199
|
+
this.margin.right =
|
|
200
|
+
this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
|
|
201
|
+
this.yTickSize +
|
|
202
|
+
this.tickPadding;
|
|
203
|
+
// If there is a new height
|
|
204
|
+
if (newHeight) {
|
|
205
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
206
|
+
this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
207
|
+
? this.yScale.range([
|
|
208
|
+
this.margin.top,
|
|
209
|
+
this.dims.height - this.margin.bottom
|
|
210
|
+
])
|
|
211
|
+
: this.yScale.range([
|
|
212
|
+
this.dims.height - this.margin.bottom,
|
|
213
|
+
this.margin.top
|
|
214
|
+
]);
|
|
215
|
+
this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
|
|
216
|
+
}
|
|
217
|
+
// Update x-axis with new width
|
|
218
|
+
this.xScale.range([
|
|
219
|
+
0,
|
|
220
|
+
this.dims.width - this.margin.right - this.margin.left
|
|
221
|
+
]);
|
|
222
|
+
this.barSelection
|
|
223
|
+
.attr('x', this.xFunction)
|
|
224
|
+
.attr('width', this.widthFunction);
|
|
225
|
+
this.setValueTicks();
|
|
226
|
+
};
|
|
227
|
+
this.highlightBarGroup = (_event, datum) => {
|
|
228
|
+
if (typeof datum === 'string') {
|
|
229
|
+
const barGroupID = '#' + this.barGroupID(datum);
|
|
230
|
+
this.barChartContainer.select(barGroupID).selectAll('.bar').transition('color')
|
|
231
|
+
.duration(20)
|
|
232
|
+
.attr('fill', (d) => {
|
|
233
|
+
return this.adjustColor(this.colorFunction(d.serie), 50);
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
this.unHighlightBarGroup = () => {
|
|
238
|
+
this.barSelection.selectAll('.bar').transition('color')
|
|
239
|
+
.duration(100)
|
|
240
|
+
.attr('fill', (d) => {
|
|
241
|
+
return this.colorFunction(d.serie);
|
|
242
|
+
});
|
|
243
|
+
};
|
|
244
|
+
// Adding click listener for tool tip text
|
|
245
|
+
this.setTickInteraction = () => {
|
|
246
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
247
|
+
this.yAxisHandle
|
|
248
|
+
.selectAll('text')
|
|
249
|
+
.style('cursor', 'pointer')
|
|
250
|
+
.on('click', this.openTooltip)
|
|
251
|
+
.on('mouseenter', this.highlightBarGroup)
|
|
252
|
+
.on('mouseleave', this.unHighlightBarGroup);
|
|
253
|
+
}
|
|
254
|
+
else {
|
|
255
|
+
this.xAxisHandle
|
|
256
|
+
.selectAll('text')
|
|
257
|
+
.style('cursor', 'pointer')
|
|
258
|
+
.on('click', this.openTooltip)
|
|
259
|
+
.on('mouseenter', this.highlightBarGroup)
|
|
260
|
+
.on('mouseleave', this.unHighlightBarGroup);
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
// Setting Y-scale
|
|
264
|
+
this.setYScale = (empty) => {
|
|
265
|
+
var _a, _b, _c;
|
|
266
|
+
if (this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
267
|
+
this.yScale = band(empty
|
|
268
|
+
? ['0', '1', '2', '3', '4', '5', '6', '7']
|
|
269
|
+
: this.chartData.data.xValueNames, [this.margin.top, this.dims.height - this.margin.bottom])
|
|
270
|
+
.paddingOuter(0.1)
|
|
271
|
+
.paddingInner(0.1);
|
|
272
|
+
this.yAxis = linear.axisLeft(this.yScale);
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
this.yScale = linear.linear()
|
|
276
|
+
.domain(empty ? [0, 10] : [this.minVal, this.maxVal])
|
|
277
|
+
.nice(((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.numberOfReferenceLines)
|
|
278
|
+
? (_c = this.chartData) === null || _c === void 0 ? void 0 : _c.meta.numberOfReferenceLines
|
|
279
|
+
: 3);
|
|
280
|
+
this.yScale.range([
|
|
281
|
+
this.dims.height - this.margin.bottom,
|
|
282
|
+
this.margin.top
|
|
283
|
+
]);
|
|
284
|
+
this.yAxis = linear.axisLeft(this.yScale);
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
// Setting X-Scale
|
|
288
|
+
this.setXScale = (empty) => {
|
|
289
|
+
// Horizontal
|
|
290
|
+
if (this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
291
|
+
this.xScale = linear.linear()
|
|
292
|
+
.domain(empty ? [0, 10] : [this.minVal, this.maxVal])
|
|
293
|
+
.nice(3);
|
|
294
|
+
this.margin.right =
|
|
295
|
+
this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
|
|
296
|
+
this.yTickSize +
|
|
297
|
+
this.tickPadding;
|
|
298
|
+
this.xScale.range([
|
|
299
|
+
0,
|
|
300
|
+
this.dims.width - this.margin.right - this.margin.left
|
|
301
|
+
]);
|
|
302
|
+
// Initializing actual axis
|
|
303
|
+
this.xAxis = linear.axisBottom(this.xScale);
|
|
304
|
+
this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
// Vertical
|
|
308
|
+
this.xScale = band()
|
|
309
|
+
.domain(empty ? this.placeholderTicks : this.chartData.data.xValueNames)
|
|
310
|
+
.range([0, this.dims.width - this.margin.right - this.margin.left])
|
|
311
|
+
.paddingOuter(0.1)
|
|
312
|
+
.paddingInner(0.1);
|
|
313
|
+
this.xAxis = linear.axisBottom(this.xScale);
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
// Stores all tick text sizes in an indexable array
|
|
317
|
+
this.tickSizes = () => {
|
|
318
|
+
// Initializing tick size array
|
|
319
|
+
this.namedTickSizes = [];
|
|
320
|
+
this.ellipsisSize = this.getTextSize('...');
|
|
321
|
+
if (this.chartData && this.chartData.data) {
|
|
322
|
+
for (let i = 0; i < this.chartData.data.xValueNames.length; i++) {
|
|
323
|
+
this.namedTickSizes.push(Math.ceil(this.getTextSize(this.chartData.data.xValueNames[i])));
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
this.barGroupID = (key) => {
|
|
328
|
+
return 'barGroup' + key.replace(/[^A-Z0-9]+/gi, '');
|
|
329
|
+
};
|
|
330
|
+
this.updateBars = (fromLoading) => {
|
|
331
|
+
this.barChartContainer
|
|
332
|
+
.selectAll('.barGroup')
|
|
333
|
+
.data(this.mappedData)
|
|
334
|
+
.join((enter) => {
|
|
335
|
+
var _a, _b;
|
|
336
|
+
const tempSelection = enter
|
|
337
|
+
.append('g')
|
|
338
|
+
.attr('class', 'barGroup')
|
|
339
|
+
.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
|
|
340
|
+
tempSelection
|
|
341
|
+
.append('rect')
|
|
342
|
+
.attr('class', 'bar')
|
|
343
|
+
.style('cursor', 'pointer')
|
|
344
|
+
.attr('ry', 4)
|
|
345
|
+
.attr('rx', 4)
|
|
346
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
347
|
+
? this.yScale(d.key)
|
|
348
|
+
: this.dims.height - this.margin.bottom)
|
|
349
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
350
|
+
? 2
|
|
351
|
+
: this.xScale(d.key))
|
|
352
|
+
.attr('width', () => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
353
|
+
? 0
|
|
354
|
+
: this.xScale.bandwidth())
|
|
355
|
+
.attr('height', () => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
356
|
+
? this.yScale.bandwidth()
|
|
357
|
+
: 0)
|
|
358
|
+
.on('mouseenter', this.hover)
|
|
359
|
+
.on('mouseleave', this.hoverOut)
|
|
360
|
+
.on('click', this.openTooltip)
|
|
361
|
+
.transition()
|
|
362
|
+
.duration(this.defaultDuration)
|
|
363
|
+
.ease(linear.polyInOut)
|
|
364
|
+
.attr('width', this.widthFunction)
|
|
365
|
+
.attr('y', this.yFunction)
|
|
366
|
+
.attr('height', this.heightFunction)
|
|
367
|
+
.attr('fill', '#00005a');
|
|
368
|
+
if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
|
|
369
|
+
return tempSelection;
|
|
370
|
+
tempSelection
|
|
371
|
+
.append('text')
|
|
372
|
+
.text((d) => d.value.toLocaleString())
|
|
373
|
+
.attr('class', 'barText')
|
|
374
|
+
.attr('font-size', this.fontSize)
|
|
375
|
+
.attr('font-weight', '600')
|
|
376
|
+
.attr('text-anchor', 'end')
|
|
377
|
+
.style('pointer-events', 'none')
|
|
378
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
379
|
+
? this.yScale(d.key) + this.yScale.bandwidth() / 2
|
|
380
|
+
: this.dims.height - this.margin.bottom)
|
|
381
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
382
|
+
? 2
|
|
383
|
+
: this.xScale(d.key) + this.xScale.bandwidth() / 2)
|
|
384
|
+
.transition()
|
|
385
|
+
.duration(this.defaultDuration)
|
|
386
|
+
.ease(linear.polyInOut)
|
|
387
|
+
.attr('font-size', this.fontSize)
|
|
388
|
+
.attr('font-weight', '600')
|
|
389
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
390
|
+
? this.xScale(d.value)
|
|
391
|
+
: this.xScale(d.key) + this.xScale.bandwidth() / 2)
|
|
392
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
393
|
+
? this.yScale(d.key) + this.yScale.bandwidth() / 2
|
|
394
|
+
: this.yScale(d.value))
|
|
395
|
+
.attr('text-anchor', (d) => {
|
|
396
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
397
|
+
return 'middle';
|
|
398
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
399
|
+
? 'start'
|
|
400
|
+
: 'end';
|
|
401
|
+
})
|
|
402
|
+
.attr('dx', (d) => {
|
|
403
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal)
|
|
404
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
405
|
+
? this.tickPadding
|
|
406
|
+
: -this.tickPadding;
|
|
407
|
+
return 0;
|
|
408
|
+
})
|
|
409
|
+
.attr('fill', (d) => {
|
|
410
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
411
|
+
return 'black';
|
|
412
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
413
|
+
? 'black'
|
|
414
|
+
: 'white';
|
|
415
|
+
})
|
|
416
|
+
.attr('dy', () => this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal
|
|
417
|
+
? '0.35em'
|
|
418
|
+
: '-0.25em')
|
|
419
|
+
.style('pointer-events', 'none')
|
|
420
|
+
.attrTween('text', (d, i, nodelist) => {
|
|
421
|
+
const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
422
|
+
? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
423
|
+
: 0;
|
|
424
|
+
const interpolatedValue = linear.interpolate(oldnum, d.value);
|
|
425
|
+
return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
|
|
426
|
+
});
|
|
427
|
+
return tempSelection;
|
|
428
|
+
}, (update) => {
|
|
429
|
+
// Update ids to bars
|
|
430
|
+
update.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''));
|
|
431
|
+
// Mouse interaction to updated loading bars
|
|
432
|
+
if (fromLoading) {
|
|
433
|
+
update
|
|
434
|
+
.select('rect')
|
|
435
|
+
.on('mouseenter', this.hover)
|
|
436
|
+
.on('mouseleave', this.hoverOut)
|
|
437
|
+
.on('click', this.openTooltip)
|
|
438
|
+
.attr('x', this.xFunction)
|
|
439
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
440
|
+
? this.yScale(d.key)
|
|
441
|
+
: this.dims.height - this.margin.bottom)
|
|
442
|
+
.attr('width', this.widthFunction)
|
|
443
|
+
.attr('height', () => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
444
|
+
? this.yScale.bandwidth()
|
|
445
|
+
: 0)
|
|
446
|
+
.attr('fill', '#00005a')
|
|
447
|
+
.transition()
|
|
448
|
+
.duration(this.defaultDuration)
|
|
449
|
+
.ease(linear.polyInOut)
|
|
450
|
+
.attr('y', this.yFunction)
|
|
451
|
+
.attr('height', this.heightFunction)
|
|
452
|
+
.on('end', () => this.barChartObserver.observe(this.chartDiv)); // Reset barchartObserver
|
|
453
|
+
}
|
|
454
|
+
else {
|
|
455
|
+
update
|
|
456
|
+
.select('rect')
|
|
457
|
+
.transition()
|
|
458
|
+
.duration(this.defaultDuration)
|
|
459
|
+
.ease(linear.polyInOut)
|
|
460
|
+
.attr('x', this.xFunction)
|
|
461
|
+
.attr('y', this.yFunction)
|
|
462
|
+
.attr('width', this.widthFunction)
|
|
463
|
+
.attr('height', this.heightFunction)
|
|
464
|
+
.attr('fill', '#00005a');
|
|
465
|
+
}
|
|
466
|
+
return update
|
|
467
|
+
.select('text')
|
|
468
|
+
.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'; })
|
|
469
|
+
.transition()
|
|
470
|
+
.duration(this.defaultDuration)
|
|
471
|
+
.ease(linear.polyInOut)
|
|
472
|
+
.attr('font-size', this.fontSize)
|
|
473
|
+
.attr('font-weight', '600')
|
|
474
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
475
|
+
? this.yScale(d.key) + this.yScale.bandwidth() / 2
|
|
476
|
+
: this.yScale(d.value))
|
|
477
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
478
|
+
? this.xScale(d.value)
|
|
479
|
+
: this.xScale(d.key) + this.xScale.bandwidth() / 2)
|
|
480
|
+
.attr('text-anchor', (d) => {
|
|
481
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
482
|
+
return 'middle';
|
|
483
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
484
|
+
? 'start'
|
|
485
|
+
: 'end';
|
|
486
|
+
})
|
|
487
|
+
.attr('dx', (d) => {
|
|
488
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal)
|
|
489
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
490
|
+
? this.tickPadding
|
|
491
|
+
: -this.tickPadding;
|
|
492
|
+
return 0;
|
|
493
|
+
})
|
|
494
|
+
.attr('fill', (d) => {
|
|
495
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
496
|
+
return 'black';
|
|
497
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
498
|
+
? 'black'
|
|
499
|
+
: 'white';
|
|
500
|
+
})
|
|
501
|
+
.attr('dy', () => this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal
|
|
502
|
+
? '0.35em'
|
|
503
|
+
: '-0.25em')
|
|
504
|
+
.style('pointer-events', 'none')
|
|
505
|
+
.attrTween('text', (d, i, nodelist) => {
|
|
506
|
+
const oldnum = parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
507
|
+
? parseFloat(nodelist[i].textContent.replace(/\s/g, ''))
|
|
508
|
+
: 0;
|
|
509
|
+
const interpolatedValue = linear.interpolate(oldnum, d.value);
|
|
510
|
+
return (t) => (nodelist[i].textContent = parseInt(interpolatedValue(t)).toLocaleString(undefined, this.numberFormat));
|
|
511
|
+
});
|
|
512
|
+
}, (exit) => exit.remove());
|
|
513
|
+
this.barSelection = this.barChartContainer.selectAll('rect');
|
|
514
|
+
this.textSelection = this.barChartContainer.selectAll('.barText');
|
|
515
|
+
};
|
|
516
|
+
// Setting position of text according to bar size
|
|
517
|
+
this.adjustBarText = () => {
|
|
518
|
+
var _a, _b;
|
|
519
|
+
if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
|
|
520
|
+
return;
|
|
521
|
+
this.textSelection
|
|
522
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
523
|
+
? this.yScale(d.key) + this.yScale.bandwidth() / 2
|
|
524
|
+
: this.yScale(d.value))
|
|
525
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
526
|
+
? this.xScale(d.value)
|
|
527
|
+
: this.xScale(d.key) + this.xScale.bandwidth() / 2)
|
|
528
|
+
.attr('dx', (d) => {
|
|
529
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal)
|
|
530
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
531
|
+
? this.tickPadding
|
|
532
|
+
: -this.tickPadding;
|
|
533
|
+
return 0;
|
|
534
|
+
})
|
|
535
|
+
.attr('fill', (d) => {
|
|
536
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
537
|
+
return 'black';
|
|
538
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
539
|
+
? 'black'
|
|
540
|
+
: 'white';
|
|
541
|
+
})
|
|
542
|
+
.attr('text-anchor', (d) => {
|
|
543
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
544
|
+
return 'middle';
|
|
545
|
+
return this.xScale(d.value) < d.len + this.tickPadding * 2
|
|
546
|
+
? 'start'
|
|
547
|
+
: 'end';
|
|
548
|
+
});
|
|
549
|
+
};
|
|
550
|
+
this.reshapeData = () => {
|
|
551
|
+
const toReturn = [];
|
|
552
|
+
if (this.loading || !this.chartData) {
|
|
553
|
+
this.placeholderTicks.forEach((key) => {
|
|
554
|
+
const tick = { key: key, series: [] };
|
|
555
|
+
tick.series.push({
|
|
556
|
+
key: key,
|
|
557
|
+
serie: 'loading',
|
|
558
|
+
value: Math.floor(Math.random() * (9 - 2 + 1) + 2),
|
|
559
|
+
len: 0
|
|
560
|
+
});
|
|
561
|
+
toReturn.push(tick);
|
|
562
|
+
});
|
|
563
|
+
return toReturn;
|
|
564
|
+
}
|
|
565
|
+
this.chartData.data.xValueNames.forEach((key, index) => {
|
|
566
|
+
const tick = { key: key, series: [] };
|
|
567
|
+
this.chartData.data.series.forEach((serie) => {
|
|
568
|
+
if (serie.yValues[index]) {
|
|
569
|
+
tick.series.push({
|
|
570
|
+
key: key,
|
|
571
|
+
serie: serie.title,
|
|
572
|
+
value: serie.yValues[index],
|
|
573
|
+
len: serie.yValues[index] ? this.getTextSize(serie.yValues[index].toLocaleString()) : 0
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
});
|
|
577
|
+
toReturn.push(tick);
|
|
578
|
+
});
|
|
579
|
+
return toReturn;
|
|
580
|
+
};
|
|
581
|
+
this.adjustBarSize = () => {
|
|
582
|
+
this.barSelection.selectAll('.bar')
|
|
583
|
+
.attr('x', this.xFunction)
|
|
584
|
+
.attr('y', this.yFunction)
|
|
585
|
+
.attr('width', this.widthFunction)
|
|
586
|
+
.attr('height', this.heightFunction);
|
|
587
|
+
};
|
|
588
|
+
this.evalColorVar = (colorVar) => {
|
|
589
|
+
return getComputedStyle(document.documentElement)
|
|
590
|
+
.getPropertyValue(colorVar)
|
|
591
|
+
.trim()
|
|
592
|
+
.toLocaleLowerCase();
|
|
593
|
+
};
|
|
594
|
+
// Handling x positioning of bars
|
|
595
|
+
this.xFunction = (d, i) => {
|
|
596
|
+
return this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
597
|
+
? (d.value > 0 ? this.xScale(0) : this.xScale(d.value))
|
|
598
|
+
: this.xScale(d.key) + ((this.xScale.bandwidth() / this.dataWidth) * i + (this.barGap * i));
|
|
599
|
+
};
|
|
600
|
+
// Handling y positioning of bars
|
|
601
|
+
this.yFunction = (d, i) => {
|
|
602
|
+
if (!d.value)
|
|
603
|
+
return 0;
|
|
604
|
+
return this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
605
|
+
? this.yScale(d.key) + ((this.yScale.bandwidth() / this.dataWidth) * i + (this.barGap * i))
|
|
606
|
+
: (d.value < 0 ? this.yScale(0) : this.yScale(d.value));
|
|
607
|
+
};
|
|
608
|
+
// Handling height for bars
|
|
609
|
+
this.heightFunction = (d) => {
|
|
610
|
+
if (!d.value)
|
|
611
|
+
return 0;
|
|
612
|
+
return this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
613
|
+
? this.yScale.bandwidth() / this.dataWidth - (this.barGap)
|
|
614
|
+
: (d.value < 0 ? this.yScale(d.value) - this.yScale(0) : this.yScale(0) - this.yScale(d.value));
|
|
615
|
+
};
|
|
616
|
+
// Handling width for bars
|
|
617
|
+
this.widthFunction = (d) => {
|
|
618
|
+
return this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
619
|
+
? Math.abs(this.xScale(0) - this.xScale(d.value))
|
|
620
|
+
: this.xScale.bandwidth() / this.dataWidth - (this.barGap);
|
|
621
|
+
};
|
|
622
|
+
// Setting dimension variable
|
|
623
|
+
this.setDims = (onlyHeight = false) => {
|
|
624
|
+
// Get title dimensions
|
|
625
|
+
const tempTitle = linear.select(this.titleDiv).node().getBoundingClientRect(), tempLegend = linear.select(this.legendDiv).node().getBoundingClientRect();
|
|
626
|
+
const prevHeight = this.dims.height;
|
|
627
|
+
if (!onlyHeight)
|
|
628
|
+
this.dims = linear.select(this.chartDiv).node().getBoundingClientRect();
|
|
629
|
+
this.dims.height =
|
|
630
|
+
this.maxHeight - tempLegend.height - tempTitle.height - 1.75 * this.rem;
|
|
631
|
+
return prevHeight != this.dims.height;
|
|
632
|
+
};
|
|
633
|
+
// Setting margins given text size
|
|
634
|
+
this.setMargins = (fromLoading) => {
|
|
635
|
+
var _a;
|
|
636
|
+
this.pixelSize =
|
|
637
|
+
Number(window
|
|
638
|
+
.getComputedStyle(document.body)
|
|
639
|
+
.getPropertyValue('font-size')
|
|
640
|
+
.match(/\d+/)[0]) * Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, ''));
|
|
641
|
+
// Getting the longest word, assuming it will also be the widest in terms of pixels
|
|
642
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
643
|
+
const left = ((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data) &&
|
|
644
|
+
this.getLargestText(this.chartData.data.xValueNames)
|
|
645
|
+
? this.getLargestText(this.chartData.data.xValueNames)
|
|
646
|
+
: 0;
|
|
647
|
+
this.margin.left = left;
|
|
648
|
+
this.margin.bottom = this.pixelSize + this.tickPadding + this.xTickSize;
|
|
649
|
+
}
|
|
650
|
+
else {
|
|
651
|
+
this.margin.left = this.getLargestText(fromLoading
|
|
652
|
+
? ['0', '10']
|
|
653
|
+
: [
|
|
654
|
+
this.minVal ? this.tempScale[0].toLocaleString() : '0',
|
|
655
|
+
this.maxVal ? this.tempScale[1].toLocaleString() : '10'
|
|
656
|
+
]);
|
|
657
|
+
this.margin.bottom = this.pixelSize;
|
|
658
|
+
}
|
|
659
|
+
if (this.margin.left > this.dims.width / 4) {
|
|
660
|
+
this.margin.left = Math.floor(this.dims.width / 4);
|
|
661
|
+
this.margin.ellipsis = true;
|
|
662
|
+
}
|
|
663
|
+
else
|
|
664
|
+
this.margin.ellipsis = false;
|
|
665
|
+
};
|
|
666
|
+
// Adjusting y-ticks
|
|
667
|
+
this.setNamedTicks = (transition = false) => {
|
|
668
|
+
if (this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
669
|
+
if (!transition) {
|
|
670
|
+
this.yAxisHandle
|
|
671
|
+
.style('font-size', this.fontSize)
|
|
672
|
+
.style('font-family', 'Open Sans')
|
|
673
|
+
.call(this.yAxis
|
|
674
|
+
.tickPadding(this.tickPadding)
|
|
675
|
+
.tickSize(this.yTickSize)
|
|
676
|
+
.tickSizeOuter(0)
|
|
677
|
+
.tickFormat((d, i) => {
|
|
678
|
+
if (!this.margin.ellipsis)
|
|
679
|
+
return d.toLocaleString();
|
|
680
|
+
// Adding ellipsis to text
|
|
681
|
+
const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
|
|
682
|
+
const mSize = this.margin.left;
|
|
683
|
+
if (size < mSize)
|
|
684
|
+
return d.toLocaleString();
|
|
685
|
+
const newSize = this.getTextSize(d.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3)) + '...');
|
|
686
|
+
let adjustment = 0;
|
|
687
|
+
if (newSize > mSize) {
|
|
688
|
+
adjustment = Math.ceil((newSize - mSize) / (size / d.length));
|
|
689
|
+
}
|
|
690
|
+
// Slicing the text up, saving atleast 3 characters
|
|
691
|
+
return (d
|
|
692
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
|
|
693
|
+
.trim() + '...');
|
|
694
|
+
}));
|
|
695
|
+
}
|
|
696
|
+
else {
|
|
697
|
+
this.yAxisHandle
|
|
698
|
+
.style('font-size', this.fontSize)
|
|
699
|
+
.style('font-family', 'Open Sans')
|
|
700
|
+
.transition()
|
|
701
|
+
.duration(this.defaultDuration)
|
|
702
|
+
.call(this.yAxis
|
|
703
|
+
.tickPadding(this.tickPadding)
|
|
704
|
+
.tickSize(this.yTickSize)
|
|
705
|
+
.tickSizeOuter(0)
|
|
706
|
+
.tickFormat((d, i) => {
|
|
707
|
+
if (!this.margin.ellipsis)
|
|
708
|
+
return d;
|
|
709
|
+
// Adding ellipsis to text
|
|
710
|
+
const size = this.namedTickSizes[i] + this.tickPadding + this.yTickSize;
|
|
711
|
+
const mSize = this.margin.left;
|
|
712
|
+
if (size < mSize)
|
|
713
|
+
return d;
|
|
714
|
+
const newSize = this.getTextSize(d
|
|
715
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length), 3))
|
|
716
|
+
.trim() + '...');
|
|
717
|
+
let adjustment = 0;
|
|
718
|
+
if (newSize > mSize) {
|
|
719
|
+
adjustment = Math.ceil((newSize - mSize) / (size / d.length));
|
|
720
|
+
}
|
|
721
|
+
// Slicing the text up, saving atleast 3 characters
|
|
722
|
+
return (d
|
|
723
|
+
.slice(0, Math.max(Math.floor((mSize / (size + this.ellipsisSize)) * d.length) - adjustment, 3))
|
|
724
|
+
.trim() + '...');
|
|
725
|
+
}));
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
else {
|
|
729
|
+
//Calculating every n:th text to show
|
|
730
|
+
let nTh = Math.max(Math.round(this.chartData.data.xValues.length /
|
|
731
|
+
((this.dims.width - this.margin.left - this.margin.right) / 90 - 1)), 1);
|
|
732
|
+
if (Math.floor(this.chartData.data.xValues.length / nTh) < 4) {
|
|
733
|
+
nTh = Math.round(this.chartData.data.xValues.length / 4);
|
|
734
|
+
}
|
|
735
|
+
const allowedWidth = (this.dims.width - this.margin.left - this.margin.right) /
|
|
736
|
+
Math.floor(this.chartData.data.xValues.length / nTh + 1);
|
|
737
|
+
if (!transition) {
|
|
738
|
+
this.xAxisHandle
|
|
739
|
+
.style('font-size', this.fontSize)
|
|
740
|
+
.style('font-family', 'Open Sans')
|
|
741
|
+
.call(this.xAxis
|
|
742
|
+
.tickValues(this.xScale.domain().filter((...[, i]) => {
|
|
743
|
+
if (i == 0)
|
|
744
|
+
return true;
|
|
745
|
+
else {
|
|
746
|
+
return i % nTh == 0;
|
|
747
|
+
}
|
|
748
|
+
}))
|
|
749
|
+
.tickPadding(this.tickPadding)
|
|
750
|
+
.tickSize(this.xTickSize)
|
|
751
|
+
.tickSizeOuter(0)
|
|
752
|
+
.tickFormat((d, i) => {
|
|
753
|
+
const index = i * nTh;
|
|
754
|
+
if (this.namedTickSizes[index] < allowedWidth)
|
|
755
|
+
return d;
|
|
756
|
+
return (d.slice(0, Math.max(Math.floor((allowedWidth /
|
|
757
|
+
(this.namedTickSizes[index] +
|
|
758
|
+
this.ellipsisSize +
|
|
759
|
+
5)) *
|
|
760
|
+
d.length), 3)) + '...');
|
|
761
|
+
}));
|
|
762
|
+
}
|
|
763
|
+
else {
|
|
764
|
+
this.xAxisHandle
|
|
765
|
+
.style('font-size', this.fontSize)
|
|
766
|
+
.style('font-family', 'Open Sans')
|
|
767
|
+
.transition()
|
|
768
|
+
.duration(this.defaultDuration)
|
|
769
|
+
.call(this.xAxis
|
|
770
|
+
.tickValues(this.xScale.domain().filter((...[, i]) => {
|
|
771
|
+
if (i == 0)
|
|
772
|
+
return true;
|
|
773
|
+
else {
|
|
774
|
+
return i % nTh == 0;
|
|
775
|
+
}
|
|
776
|
+
}))
|
|
777
|
+
.tickPadding(this.tickPadding)
|
|
778
|
+
.tickSize(this.xTickSize)
|
|
779
|
+
.tickSizeOuter(0)
|
|
780
|
+
.tickFormat((d, i) => {
|
|
781
|
+
const index = i * nTh;
|
|
782
|
+
if (this.namedTickSizes[index] < allowedWidth)
|
|
783
|
+
return d;
|
|
784
|
+
return (d.slice(0, Math.max(Math.floor((allowedWidth /
|
|
785
|
+
(this.namedTickSizes[index] +
|
|
786
|
+
this.ellipsisSize +
|
|
787
|
+
5)) *
|
|
788
|
+
d.length), 3)) + '...');
|
|
789
|
+
}));
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
};
|
|
793
|
+
// Positioning the ticks of the value bearing axis
|
|
794
|
+
this.setValueTicks = (transition = false) => {
|
|
795
|
+
var _a, _b;
|
|
796
|
+
if (((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) && ((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.meta.hideXAxis)) {
|
|
797
|
+
this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
798
|
+
? this.xAxisHandle.attr('display', 'none')
|
|
799
|
+
: this.yAxisHandle.attr('display', 'none');
|
|
800
|
+
return;
|
|
801
|
+
}
|
|
802
|
+
let toCall, tickSize, handle;
|
|
803
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
804
|
+
this.xAxisHandle.attr('display', null);
|
|
805
|
+
toCall = this.xAxis;
|
|
806
|
+
tickSize = -(this.dims.height - this.margin.top - this.margin.bottom);
|
|
807
|
+
handle = this.xAxisHandle;
|
|
808
|
+
}
|
|
809
|
+
else {
|
|
810
|
+
this.yAxisHandle.attr('display', null);
|
|
811
|
+
toCall = this.yAxis;
|
|
812
|
+
tickSize = -(this.dims.width - this.margin.left - this.margin.right);
|
|
813
|
+
handle = this.yAxisHandle;
|
|
814
|
+
}
|
|
815
|
+
// Computing the amount of ticks to show
|
|
816
|
+
const ticks = Math.min(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
|
|
817
|
+
(this.tickWidth + this.xTickSize)) - 2, this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal
|
|
818
|
+
? this.xScale.ticks().length
|
|
819
|
+
: this.yScale.ticks().length);
|
|
820
|
+
if (!transition) {
|
|
821
|
+
handle
|
|
822
|
+
.style('font-size', this.fontSize)
|
|
823
|
+
.style('font-family', 'Open Sans')
|
|
824
|
+
.call(toCall
|
|
825
|
+
.ticks(this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
826
|
+
? Math.max(2, Math.min(ticks, 9))
|
|
827
|
+
: 5) // Clamping value between 2 and 10
|
|
828
|
+
.tickPadding(this.tickPadding)
|
|
829
|
+
.tickSize(tickSize)
|
|
830
|
+
.tickSizeOuter(0)
|
|
831
|
+
.tickFormat((d) => d.toLocaleString()));
|
|
832
|
+
}
|
|
833
|
+
else {
|
|
834
|
+
handle
|
|
835
|
+
.style('font-size', this.fontSize)
|
|
836
|
+
.style('font-family', 'Open Sans')
|
|
837
|
+
.transition('newScale')
|
|
838
|
+
.duration(this.defaultDuration)
|
|
839
|
+
.call(toCall
|
|
840
|
+
.ticks(this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
841
|
+
? Math.max(2, Math.min(ticks, 9))
|
|
842
|
+
: 5) // Clamping value between 2 and 10
|
|
843
|
+
.tickPadding(this.tickPadding)
|
|
844
|
+
.tickSize(tickSize)
|
|
845
|
+
.tickSizeOuter(0)
|
|
846
|
+
.tickFormat((d) => d.toLocaleString()));
|
|
847
|
+
}
|
|
848
|
+
handle.selectAll('line').attr('stroke', 'lightgray');
|
|
849
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Vertical)
|
|
850
|
+
this.yAxisHandle.select('.domain').attr('display', 'none');
|
|
851
|
+
};
|
|
852
|
+
// Highlight bar
|
|
853
|
+
this.hover = (event) => {
|
|
854
|
+
linear.select(event.target)
|
|
855
|
+
.transition('color')
|
|
856
|
+
.duration(20)
|
|
857
|
+
.attr('fill', (d) => {
|
|
858
|
+
return event.target.tagName === 'rect'
|
|
859
|
+
? this.adjustColor(this.colorFunction(d.serie), 50)
|
|
860
|
+
: this.evalColorVar('--digi--color--background--interactive--hover--tertiary');
|
|
861
|
+
});
|
|
862
|
+
};
|
|
863
|
+
// Removing highlight from bar
|
|
864
|
+
this.hoverOut = (event) => {
|
|
865
|
+
linear.select(event.target)
|
|
866
|
+
.transition('color')
|
|
867
|
+
.duration(this.defaultDuration)
|
|
868
|
+
.attr('fill', (d) => event.target.tagName === 'rect' ? this.colorFunction(d.serie) : '#333333');
|
|
869
|
+
};
|
|
870
|
+
this.openTooltip = (...[, d]) => {
|
|
871
|
+
// If type is string, the user has clicked on a y-axis tick
|
|
872
|
+
if (typeof d === 'string') {
|
|
873
|
+
this.tooltipData = this.barChartContainer
|
|
874
|
+
.select(`#${this.barGroupID(d)}`)
|
|
875
|
+
.datum();
|
|
876
|
+
}
|
|
877
|
+
else
|
|
878
|
+
this.tooltipData = d;
|
|
879
|
+
const tooltipBody = this.tooltip.select('.tooltipBody');
|
|
880
|
+
tooltipBody
|
|
881
|
+
.select('.tooltipHeading')
|
|
882
|
+
.html(this.tooltipData.key);
|
|
883
|
+
tooltipBody
|
|
884
|
+
.selectAll('div')
|
|
885
|
+
.data(this.tooltipData.series ? this.tooltipData.series : [this.tooltipData])
|
|
886
|
+
.join('div')
|
|
887
|
+
.style('display', 'flex')
|
|
888
|
+
.style('flex-direction', 'row')
|
|
889
|
+
.style('flex-wrap', 'nowrap')
|
|
890
|
+
.style('white-space', 'nowrap')
|
|
891
|
+
.style('justify-content', 'space-between')
|
|
892
|
+
.style('margin', '0.25rem 0')
|
|
893
|
+
.html((d) => {
|
|
894
|
+
return `<span>${d.serie}: <b style="font-weight:600;">${d.value.toLocaleString(undefined, this.numberFormat)}</b></span>`;
|
|
895
|
+
});
|
|
896
|
+
this.tooltip.style('visibility', 'visible');
|
|
897
|
+
this.positionTooltip(this.tooltipData);
|
|
898
|
+
};
|
|
899
|
+
this.closeTooltip = () => {
|
|
900
|
+
this.tooltip.style('visibility', 'hidden');
|
|
901
|
+
};
|
|
902
|
+
// Positions tooltip in horizontal mode
|
|
903
|
+
this.positionTooltip = (data) => {
|
|
904
|
+
var _a;
|
|
905
|
+
const width = this.tooltip.node().getBoundingClientRect().width;
|
|
906
|
+
// Single bar
|
|
907
|
+
if ('serie' in data) {
|
|
908
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
909
|
+
const diff = this.xScale(data.value) / 2 - width / 2;
|
|
910
|
+
this.tooltip
|
|
911
|
+
.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 )`)
|
|
912
|
+
.style('max-width', this.xScale.range()[1] + 'px');
|
|
913
|
+
this.tooltip
|
|
914
|
+
.select('digi-icon-caret-up')
|
|
915
|
+
.style('position', 'absolute')
|
|
916
|
+
.style('top', '-12px')
|
|
917
|
+
.style('left', '0')
|
|
918
|
+
.style('transform', `translate(${diff > 0 ? width / 2 - 10 : this.xScale(data.value) / 2}px,0)`);
|
|
919
|
+
}
|
|
920
|
+
else {
|
|
921
|
+
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);
|
|
922
|
+
const barIndex = ((this.xScale.bandwidth() / this.dataWidth) * (index ? index + 1 : 1)) - (this.xScale.bandwidth() / this.dataWidth) / 2;
|
|
923
|
+
// This should be where the x-axis starts
|
|
924
|
+
const xStart = this.margin.left + this.tickPadding + this.yTickSize;
|
|
925
|
+
// Creating adjustment for tooltip to not appear outside of chart
|
|
926
|
+
const spaceToSVGEdge = 5;
|
|
927
|
+
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;
|
|
928
|
+
this.tooltip
|
|
929
|
+
.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) )`);
|
|
930
|
+
this.tooltip
|
|
931
|
+
.select('digi-icon-caret-down')
|
|
932
|
+
.style('position', 'absolute')
|
|
933
|
+
.style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
|
|
934
|
+
.style('bottom', '-12px');
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
939
|
+
console.log('helloo');
|
|
940
|
+
}
|
|
941
|
+
else {
|
|
942
|
+
const xStart = this.margin.left + this.tickPadding + this.yTickSize;
|
|
943
|
+
const translatePoint = this.xScale(data.key) + xStart + this.xScale.bandwidth() / 2;
|
|
944
|
+
const yMax = linear.max(data.series.map(elem => elem.value));
|
|
945
|
+
// Creating adjustment for tooltip to not appear outside of chart
|
|
946
|
+
const spaceToSVGEdge = 5;
|
|
947
|
+
const inlineAdjustment = (this.dims.width - spaceToSVGEdge) < (translatePoint + width / 2) ? (((translatePoint + width / 2) - (this.dims.width - spaceToSVGEdge)) / width) * 100 : 0;
|
|
948
|
+
this.tooltip
|
|
949
|
+
.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) )`);
|
|
950
|
+
this.tooltip
|
|
951
|
+
.select('digi-icon-caret-down')
|
|
952
|
+
.style('position', 'absolute')
|
|
953
|
+
.style('left', `calc(${50 + inlineAdjustment}% - 6px)`)
|
|
954
|
+
.style('bottom', '-12px');
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
// Once texts has fully loaded, we can recompute some sizes
|
|
959
|
+
this.recomputeTextSize = () => {
|
|
960
|
+
var _a, _b;
|
|
961
|
+
if (this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal)
|
|
962
|
+
this.tickWidth = this.getLargestText(this.xScale.ticks().map((tick) => tick.toLocaleString()));
|
|
963
|
+
this.tickSizes();
|
|
964
|
+
this.barChartContainer.selectAll('.barGroup').data(this.mappedData);
|
|
965
|
+
if ((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels)
|
|
966
|
+
this.textSelection.remove();
|
|
967
|
+
this.initBarText();
|
|
968
|
+
};
|
|
969
|
+
// Removes resize observer for chart and inits table
|
|
970
|
+
this.activateTable = (event) => {
|
|
971
|
+
this.closeTooltip();
|
|
972
|
+
this.barChartObserver.disconnect();
|
|
973
|
+
this.status.innerHTML = '<p>Visas som tabell</p>';
|
|
974
|
+
linear.select(this.host).select('.tableButton').style('display', 'none');
|
|
975
|
+
linear.select(this.host).select('.chartButton').style('display', null);
|
|
976
|
+
event.target.nextSibling.lastChild.focus();
|
|
977
|
+
const duration = 150;
|
|
978
|
+
this.svg
|
|
979
|
+
.attr('opacity', 1)
|
|
980
|
+
.transition('fadeout')
|
|
981
|
+
.duration(duration)
|
|
982
|
+
.attr('opacity', 0)
|
|
983
|
+
.on('end', () => {
|
|
984
|
+
this.svg.remove();
|
|
985
|
+
linear.select(this.legendDiv).select('.legend').selectAll('.legendChip').remove();
|
|
986
|
+
this.legendDiv.style['display'] = 'none';
|
|
987
|
+
this.tableDiv.style['display'] = 'block';
|
|
988
|
+
this.setTableContent();
|
|
989
|
+
this.setTableDimensions();
|
|
990
|
+
linear.select(this.tableDiv)
|
|
991
|
+
.style('opacity', 0)
|
|
992
|
+
.transition('fadein')
|
|
993
|
+
.duration(duration)
|
|
994
|
+
.style('opacity', 1);
|
|
995
|
+
this.chartDiv.style['display'] = 'none';
|
|
996
|
+
});
|
|
997
|
+
linear.select(this.legendDiv)
|
|
998
|
+
.style('opacity', 1)
|
|
999
|
+
.transition('fadeout')
|
|
1000
|
+
.duration(duration)
|
|
1001
|
+
.style('opacity', 0);
|
|
1002
|
+
};
|
|
1003
|
+
// Removes observer and calls init functions for line chart
|
|
1004
|
+
this.reInitChart = (event) => {
|
|
1005
|
+
this.status.innerHTML = '<p>Visas som diagram</p>';
|
|
1006
|
+
linear.select(this.host).select('.tableButton').style('display', null);
|
|
1007
|
+
linear.select(this.host).select('.chartButton').style('display', 'none');
|
|
1008
|
+
event.target.previousSibling.lastChild.focus();
|
|
1009
|
+
const table = linear.select(this.tableDiv);
|
|
1010
|
+
const duration = 150;
|
|
1011
|
+
table
|
|
1012
|
+
.style('opacity', 1)
|
|
1013
|
+
.transition()
|
|
1014
|
+
.duration(150)
|
|
1015
|
+
.style('opacity', 0)
|
|
1016
|
+
.on('end', () => {
|
|
1017
|
+
table.style('display', 'none');
|
|
1018
|
+
this.chartDiv.style['display'] = 'flex';
|
|
1019
|
+
this.legendDiv.style['display'] = 'grid';
|
|
1020
|
+
this.initChain();
|
|
1021
|
+
this.svg
|
|
1022
|
+
.attr('opacity', 0)
|
|
1023
|
+
.transition()
|
|
1024
|
+
.duration(duration)
|
|
1025
|
+
.attr('opacity', 1);
|
|
1026
|
+
linear.select(this.legendDiv)
|
|
1027
|
+
.style('opacity', 0)
|
|
1028
|
+
.transition('fadeout')
|
|
1029
|
+
.duration(duration)
|
|
1030
|
+
.style('opacity', 1);
|
|
1031
|
+
});
|
|
1032
|
+
};
|
|
1033
|
+
this.afVariation = typographyVariation_enum.BarChartVariation.Vertical;
|
|
1034
|
+
this.afHeadingLevel = 'h3';
|
|
1035
|
+
this.afId = randomIdGenerator_util.randomIdGenerator('tooltip');
|
|
1036
|
+
this.afChartData = undefined;
|
|
1037
|
+
}
|
|
1038
|
+
afChartDataUpdate(data) {
|
|
1039
|
+
if (typeof data != 'string')
|
|
1040
|
+
this.chartData = data;
|
|
1041
|
+
else
|
|
1042
|
+
this.chartData = JSON.parse(data);
|
|
1043
|
+
this.mappedData = this.reshapeData();
|
|
1044
|
+
// checking for width of each tick
|
|
1045
|
+
this.mappedData.forEach((elem) => {
|
|
1046
|
+
if (elem.series.length > this.dataWidth)
|
|
1047
|
+
this.dataWidth = elem.series.length;
|
|
1048
|
+
});
|
|
1049
|
+
if (this.dataWidth > 1)
|
|
1050
|
+
this.barGap = 1;
|
|
1051
|
+
}
|
|
1052
|
+
initSvg() {
|
|
1053
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1054
|
+
// Fetch number formatting
|
|
1055
|
+
this.numberFormat = {
|
|
1056
|
+
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,
|
|
1057
|
+
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)
|
|
1058
|
+
? 'compact'
|
|
1059
|
+
: 'standard'
|
|
1060
|
+
};
|
|
1061
|
+
linear.select(this.chartDiv).select('.chartSVG').remove();
|
|
1062
|
+
this.maxHeight = (_g = linear.select(this.host)
|
|
1063
|
+
.node()
|
|
1064
|
+
.parentNode) === null || _g === void 0 ? void 0 : _g.getBoundingClientRect().height;
|
|
1065
|
+
this.barChartObserver.observe(this.chartDiv);
|
|
1066
|
+
// Getting rem-size
|
|
1067
|
+
this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
1068
|
+
this.setDims();
|
|
1069
|
+
this.setMinMax();
|
|
1070
|
+
this.setMargins();
|
|
1071
|
+
// Appending svg
|
|
1072
|
+
this.svg = linear.select(this.chartDiv)
|
|
1073
|
+
.append('svg')
|
|
1074
|
+
.attr('class', 'chartSVG')
|
|
1075
|
+
.attr('aria-hidden', true)
|
|
1076
|
+
.attr('role', 'img')
|
|
1077
|
+
.attr('aria-label', this.chartData && this.chartData.title
|
|
1078
|
+
? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
|
|
1079
|
+
: 'Stapeldiagram')
|
|
1080
|
+
.attr('style', 'display: flex;min-width: 0;width: 100%;height: auto;');
|
|
1081
|
+
}
|
|
1082
|
+
initLegend() {
|
|
1083
|
+
const rectSize = 18;
|
|
1084
|
+
const legendChips = linear.select(this.legendDiv).select('.legend')
|
|
1085
|
+
.style('margin-left', `${this.margin.left + this.tickPadding + this.yTickSize}px`)
|
|
1086
|
+
.selectAll('.legendChip')
|
|
1087
|
+
.data(this.chartData.data.series.map(serie => serie.title))
|
|
1088
|
+
.join('div')
|
|
1089
|
+
.attr('class', 'legendChip')
|
|
1090
|
+
.style('display', 'flex')
|
|
1091
|
+
.style('flex-direction', 'row')
|
|
1092
|
+
.style('align-items', 'center')
|
|
1093
|
+
.style('gap', '0.25rem')
|
|
1094
|
+
.style('cursor', 'default')
|
|
1095
|
+
.on('mouseenter', (_event, serie) => this.highlightBars(serie))
|
|
1096
|
+
.on('mouseleave', this.resetBarColor);
|
|
1097
|
+
legendChips.append('svg')
|
|
1098
|
+
.attr('width', rectSize)
|
|
1099
|
+
.attr('height', rectSize)
|
|
1100
|
+
.append('rect')
|
|
1101
|
+
.attr('x', 0)
|
|
1102
|
+
.attr('y', 0)
|
|
1103
|
+
.attr('width', rectSize)
|
|
1104
|
+
.attr('height', rectSize)
|
|
1105
|
+
.attr('rx', 4)
|
|
1106
|
+
.attr('ry', 4)
|
|
1107
|
+
.attr('fill', (title) => this.colorFunction(title));
|
|
1108
|
+
legendChips.append('span').text((d) => d);
|
|
1109
|
+
}
|
|
1110
|
+
initToolTip() {
|
|
1111
|
+
// Getting handle for tooltip
|
|
1112
|
+
this.tooltip = linear.select('#' + this.afId);
|
|
1113
|
+
this.tooltip.select('.close').on('click', this.closeTooltip);
|
|
1114
|
+
// Add heading placeholder for heading
|
|
1115
|
+
this.tooltip
|
|
1116
|
+
.select('.tooltipBody')
|
|
1117
|
+
.append('h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1)) // increment heading level by one
|
|
1118
|
+
.attr('class', 'tooltipHeading') // Adding class to try to dodge global css classes
|
|
1119
|
+
.style('font-size', '1rem')
|
|
1120
|
+
.style('margin', '0 0.75rem 0.5rem 0 ')
|
|
1121
|
+
.style('font-weight', '500');
|
|
1122
|
+
this.tooltip.style('visibility', 'hidden');
|
|
1123
|
+
}
|
|
1124
|
+
initEmpty() {
|
|
1125
|
+
linear.select(this.chartDiv).select('svg').remove();
|
|
1126
|
+
this.maxHeight = linear.select(this.host)
|
|
1127
|
+
.node()
|
|
1128
|
+
.parentNode.getBoundingClientRect().height;
|
|
1129
|
+
this.barChartObserver.observe(this.chartDiv);
|
|
1130
|
+
// Getting rem-size
|
|
1131
|
+
this.rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
1132
|
+
this.setMargins();
|
|
1133
|
+
// Appending svg
|
|
1134
|
+
this.svg = linear.select(this.chartDiv)
|
|
1135
|
+
.append('svg')
|
|
1136
|
+
.attr('aria-hidden', true)
|
|
1137
|
+
.attr('role', 'img')
|
|
1138
|
+
.attr('aria-label', this.chartData && this.chartData.title
|
|
1139
|
+
? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
|
|
1140
|
+
: 'Stapeldiagram');
|
|
1141
|
+
// Hide unusable components
|
|
1142
|
+
linear.select(this.titleDiv)
|
|
1143
|
+
.select(this.afHeadingLevel)
|
|
1144
|
+
.html(`${text._t.loading}...`);
|
|
1145
|
+
this.initYAxis(true);
|
|
1146
|
+
this.initXAxis(true);
|
|
1147
|
+
this.loadingState(true);
|
|
1148
|
+
}
|
|
1149
|
+
loadingState(empty) {
|
|
1150
|
+
this.loading = true;
|
|
1151
|
+
// close potentially open tooltip
|
|
1152
|
+
if (this.tooltip)
|
|
1153
|
+
this.closeTooltip();
|
|
1154
|
+
linear.select(this.host).select('.tableButton').style('display', 'none');
|
|
1155
|
+
const newHeight = this.setDims();
|
|
1156
|
+
this.transitionTitle();
|
|
1157
|
+
this.xAxisHandle.selectAll('.tick').remove();
|
|
1158
|
+
this.xAxisHandle.select('path').remove();
|
|
1159
|
+
this.svg
|
|
1160
|
+
.transition()
|
|
1161
|
+
.duration(400)
|
|
1162
|
+
.attr('aria-label', this.chartData && this.chartData.title
|
|
1163
|
+
? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
|
|
1164
|
+
: 'Stapeldiagram');
|
|
1165
|
+
this.setMargins(true);
|
|
1166
|
+
linear.select(this.titleDiv)
|
|
1167
|
+
.select(this.afHeadingLevel)
|
|
1168
|
+
.html(`${text._t.loading}...`);
|
|
1169
|
+
// Waiting with observing for changes until transition to regular bars is complete
|
|
1170
|
+
this.barChartContainer
|
|
1171
|
+
.transition('position')
|
|
1172
|
+
.duration(this.defaultDuration)
|
|
1173
|
+
.ease(linear.polyInOut)
|
|
1174
|
+
.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1175
|
+
// If there is a new height
|
|
1176
|
+
if (newHeight) {
|
|
1177
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1178
|
+
this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1179
|
+
? this.yScale.range([
|
|
1180
|
+
this.margin.top,
|
|
1181
|
+
this.dims.height - this.margin.bottom
|
|
1182
|
+
])
|
|
1183
|
+
: this.yScale.range([
|
|
1184
|
+
this.dims.height - this.margin.bottom,
|
|
1185
|
+
this.margin.top
|
|
1186
|
+
]);
|
|
1187
|
+
this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
|
|
1188
|
+
}
|
|
1189
|
+
const animateBars = () => {
|
|
1190
|
+
this.barChartContainer.selectAll('.barGroup').remove();
|
|
1191
|
+
this.barSelection = this.barChartContainer
|
|
1192
|
+
.selectAll('barGroup')
|
|
1193
|
+
.data(this.mappedData)
|
|
1194
|
+
.join('g')
|
|
1195
|
+
.attr('class', 'barGroup')
|
|
1196
|
+
.attr('id', (d) => 'barGroup' + d.key.replace(/[^A-Z0-9]+/gi, ''))
|
|
1197
|
+
.append('rect')
|
|
1198
|
+
.attr('class', 'bar')
|
|
1199
|
+
.style('cursor', 'pointer');
|
|
1200
|
+
this.barSelection
|
|
1201
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1202
|
+
? this.yScale(d.key)
|
|
1203
|
+
: this.dims.height - this.margin.bottom)
|
|
1204
|
+
.attr('x', this.xFunction)
|
|
1205
|
+
.attr('ry', 4)
|
|
1206
|
+
.attr('rx', 4)
|
|
1207
|
+
.attr('width', this.widthFunction)
|
|
1208
|
+
.attr('height', () => 0)
|
|
1209
|
+
.attr('fill', 'gray')
|
|
1210
|
+
.transition()
|
|
1211
|
+
.duration(400)
|
|
1212
|
+
.delay((...[, i]) => i * 150)
|
|
1213
|
+
.attr('y', this.yFunction)
|
|
1214
|
+
.attr('height', this.heightFunction);
|
|
1215
|
+
this.barSelection
|
|
1216
|
+
.transition()
|
|
1217
|
+
.duration(400)
|
|
1218
|
+
.ease(linear.linear$1)
|
|
1219
|
+
.delay((...[, i]) => i * 150 + 400)
|
|
1220
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1221
|
+
? this.yScale(d.key)
|
|
1222
|
+
: this.dims.height - this.margin.bottom)
|
|
1223
|
+
.attr('height', () => 0)
|
|
1224
|
+
.on('end', (...[, i]) => {
|
|
1225
|
+
if (i === this.placeholderTicks.length - 1)
|
|
1226
|
+
animateBars();
|
|
1227
|
+
});
|
|
1228
|
+
};
|
|
1229
|
+
const flattenBars = () => {
|
|
1230
|
+
this.barChartContainer
|
|
1231
|
+
.selectAll('rect')
|
|
1232
|
+
.transition()
|
|
1233
|
+
.duration(200)
|
|
1234
|
+
.ease(linear.linear$1)
|
|
1235
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1236
|
+
? this.yScale(d.key)
|
|
1237
|
+
: this.dims.height - this.margin.bottom)
|
|
1238
|
+
.attr('height', () => 0)
|
|
1239
|
+
.on('end', (...[, i]) => {
|
|
1240
|
+
if (i != 0)
|
|
1241
|
+
return;
|
|
1242
|
+
this.setYScale(true);
|
|
1243
|
+
this.setValueTicks();
|
|
1244
|
+
this.setXScale(true);
|
|
1245
|
+
this.barChartObserver.observe(this.chartDiv);
|
|
1246
|
+
animateBars();
|
|
1247
|
+
});
|
|
1248
|
+
};
|
|
1249
|
+
if (empty)
|
|
1250
|
+
animateBars();
|
|
1251
|
+
else
|
|
1252
|
+
flattenBars();
|
|
1253
|
+
}
|
|
1254
|
+
transitionTitle() {
|
|
1255
|
+
const height = linear.select(this.titleDiv).style('height');
|
|
1256
|
+
linear.select(this.titleDiv)
|
|
1257
|
+
.style('height', this.prevHeight)
|
|
1258
|
+
.transition('adjust')
|
|
1259
|
+
.duration(400)
|
|
1260
|
+
.style('height', height)
|
|
1261
|
+
.on('end', () => linear.select(this.titleDiv).style('height', null));
|
|
1262
|
+
}
|
|
1263
|
+
initYAxis(empty) {
|
|
1264
|
+
this.setYScale(empty);
|
|
1265
|
+
this.barChartContainer = this.svg
|
|
1266
|
+
.append('g')
|
|
1267
|
+
.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1268
|
+
this.yAxisHandle = this.barChartContainer.append('g');
|
|
1269
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
1270
|
+
this.tickSizes();
|
|
1271
|
+
this.setNamedTicks();
|
|
1272
|
+
this.setTickInteraction();
|
|
1273
|
+
}
|
|
1274
|
+
else
|
|
1275
|
+
this.setValueTicks();
|
|
1276
|
+
}
|
|
1277
|
+
// Sets the largest and smallest value from series 0, Should only be used when not loading
|
|
1278
|
+
setMinMax() {
|
|
1279
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1280
|
+
const max = linear.max((_a = this.chartData) === null || _a === void 0 ? void 0 : _a.data.series[0].yValues)
|
|
1281
|
+
? linear.max((_b = this.chartData) === null || _b === void 0 ? void 0 : _b.data.series[0].yValues)
|
|
1282
|
+
: 0;
|
|
1283
|
+
const min = linear.min([0, linear.min((_c = this.chartData) === null || _c === void 0 ? void 0 : _c.data.series[0].yValues)])
|
|
1284
|
+
? linear.min([0, linear.min((_d = this.chartData) === null || _d === void 0 ? void 0 : _d.data.series[0].yValues)])
|
|
1285
|
+
: 0;
|
|
1286
|
+
this.maxVal = max;
|
|
1287
|
+
this.minVal = min;
|
|
1288
|
+
this.tempScale = linear.linear()
|
|
1289
|
+
.domain([this.minVal, this.maxVal])
|
|
1290
|
+
.nice(((_f = (_e = this.chartData) === null || _e === void 0 ? void 0 : _e.meta) === null || _f === void 0 ? void 0 : _f.numberOfReferenceLines)
|
|
1291
|
+
? (_g = this.chartData) === null || _g === void 0 ? void 0 : _g.meta.numberOfReferenceLines
|
|
1292
|
+
: 3)
|
|
1293
|
+
.domain();
|
|
1294
|
+
}
|
|
1295
|
+
// Setting up x-axis, getting margin.right in this function
|
|
1296
|
+
initXAxis(empty) {
|
|
1297
|
+
this.setXScale(empty);
|
|
1298
|
+
this.xAxisHandle = this.barChartContainer
|
|
1299
|
+
.append('g')
|
|
1300
|
+
.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
|
|
1301
|
+
if (this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal) {
|
|
1302
|
+
this.setValueTicks();
|
|
1303
|
+
// Removing first tick, because it aligns with y-axis domain
|
|
1304
|
+
//this.xAxisHandle.select('.tick').select('line').remove();
|
|
1305
|
+
}
|
|
1306
|
+
else {
|
|
1307
|
+
if (!empty) {
|
|
1308
|
+
this.tickSizes();
|
|
1309
|
+
this.setNamedTicks();
|
|
1310
|
+
this.setTickInteraction();
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
// Initializing bars, can only handle one series of bars for now
|
|
1315
|
+
initBars() {
|
|
1316
|
+
this.barSelection = this.barChartContainer
|
|
1317
|
+
.selectAll('barGroup')
|
|
1318
|
+
.data(this.mappedData)
|
|
1319
|
+
.join('g')
|
|
1320
|
+
.attr('class', 'barGroup')
|
|
1321
|
+
.attr('id', (d) => this.barGroupID(d.key));
|
|
1322
|
+
this.barSelection.selectAll('.barGroup')
|
|
1323
|
+
.data((d) => {
|
|
1324
|
+
return d.series;
|
|
1325
|
+
})
|
|
1326
|
+
.join('rect')
|
|
1327
|
+
.attr('class', 'bar')
|
|
1328
|
+
.style('cursor', 'pointer')
|
|
1329
|
+
.attr('x', this.xFunction)
|
|
1330
|
+
.attr('y', this.yFunction)
|
|
1331
|
+
.attr('ry', 4)
|
|
1332
|
+
.attr('rx', 4)
|
|
1333
|
+
.attr('width', this.widthFunction)
|
|
1334
|
+
.attr('height', this.heightFunction)
|
|
1335
|
+
.attr('fill', (d) => this.colorFunction(d.serie))
|
|
1336
|
+
.on('mouseenter', this.hover)
|
|
1337
|
+
.on('mouseleave', this.hoverOut)
|
|
1338
|
+
.on('click', this.openTooltip);
|
|
1339
|
+
}
|
|
1340
|
+
initBarText() {
|
|
1341
|
+
var _a, _b;
|
|
1342
|
+
if (!((_b = (_a = this.chartData) === null || _a === void 0 ? void 0 : _a.meta) === null || _b === void 0 ? void 0 : _b.valueLabels))
|
|
1343
|
+
return;
|
|
1344
|
+
this.textSelection = this.barChartContainer
|
|
1345
|
+
.selectAll('.barGroup')
|
|
1346
|
+
.append('text');
|
|
1347
|
+
this.textSelection
|
|
1348
|
+
.text((d) => {
|
|
1349
|
+
return d.value ? d.value.toLocaleString(undefined, this.numberFormat) : undefined;
|
|
1350
|
+
})
|
|
1351
|
+
.attr('class', 'barText')
|
|
1352
|
+
.attr('font-size', this.fontSize)
|
|
1353
|
+
.attr('font-weight', '600')
|
|
1354
|
+
.attr('text-anchor', 'end')
|
|
1355
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1356
|
+
? this.yScale(d.key) + this.yScale.bandwidth() / 2
|
|
1357
|
+
: this.yScale(d.value))
|
|
1358
|
+
.attr('x', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1359
|
+
? this.xScale(d)
|
|
1360
|
+
: this.xScale(d.key) + this.xScale.bandwidth())
|
|
1361
|
+
.attr('dy', () => this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal ? '0.35em' : '-0.25em')
|
|
1362
|
+
.style('pointer-events', 'none')
|
|
1363
|
+
.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'; });
|
|
1364
|
+
this.adjustBarText();
|
|
1365
|
+
}
|
|
1366
|
+
initChain() {
|
|
1367
|
+
this.initSvg();
|
|
1368
|
+
this.initLegend();
|
|
1369
|
+
this.initToolTip();
|
|
1370
|
+
this.initYAxis();
|
|
1371
|
+
this.initXAxis();
|
|
1372
|
+
this.initBars();
|
|
1373
|
+
this.initBarText();
|
|
1374
|
+
}
|
|
1375
|
+
async updateChain() {
|
|
1376
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1377
|
+
// Fetch number formatting
|
|
1378
|
+
this.numberFormat = {
|
|
1379
|
+
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,
|
|
1380
|
+
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)
|
|
1381
|
+
? 'compact'
|
|
1382
|
+
: 'standard'
|
|
1383
|
+
};
|
|
1384
|
+
if (this.tooltip)
|
|
1385
|
+
this.closeTooltip();
|
|
1386
|
+
// Check whether we are in table mode or not
|
|
1387
|
+
if (this.tableDiv.style['display'] == 'block') {
|
|
1388
|
+
if (!this.chartData.title) {
|
|
1389
|
+
linear.select(this.titleDiv)
|
|
1390
|
+
.select(this.afHeadingLevel)
|
|
1391
|
+
.html(`${text._t.loading}...`);
|
|
1392
|
+
}
|
|
1393
|
+
else {
|
|
1394
|
+
this.setTableContent();
|
|
1395
|
+
this.setTableDimensions();
|
|
1396
|
+
}
|
|
1397
|
+
this.transitionTitle();
|
|
1398
|
+
}
|
|
1399
|
+
else {
|
|
1400
|
+
// displaying legend again
|
|
1401
|
+
if (this.loading) {
|
|
1402
|
+
linear.select(this.host).select('.tableButton').style('display', null);
|
|
1403
|
+
linear.select(this.legendDiv).style('display', null);
|
|
1404
|
+
this.initToolTip();
|
|
1405
|
+
}
|
|
1406
|
+
// Disconnect resize observer while adjusting things
|
|
1407
|
+
this.barChartObserver.disconnect();
|
|
1408
|
+
this.setMinMax();
|
|
1409
|
+
const newHeight = this.setDims();
|
|
1410
|
+
this.transitionTitle();
|
|
1411
|
+
this.svg
|
|
1412
|
+
.attr('aria-label', this.chartData && this.chartData.title
|
|
1413
|
+
? 'Stapeldiagram om ' + this.chartData.title.toLowerCase()
|
|
1414
|
+
: 'Stapeldiagram');
|
|
1415
|
+
this.setMargins();
|
|
1416
|
+
// Waiting with observing for changes until transition to regular bars is complete
|
|
1417
|
+
this.barChartContainer
|
|
1418
|
+
.transition('position')
|
|
1419
|
+
.duration(this.defaultDuration)
|
|
1420
|
+
.ease(linear.polyInOut)
|
|
1421
|
+
.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1422
|
+
if (!this.loading)
|
|
1423
|
+
this.barChartContainer.on('end', () => this.barChartObserver.observe(this.chartDiv));
|
|
1424
|
+
// If there is a new height
|
|
1425
|
+
if (newHeight) {
|
|
1426
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1427
|
+
this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1428
|
+
? this.yScale.range([
|
|
1429
|
+
this.margin.top,
|
|
1430
|
+
this.dims.height - this.margin.bottom
|
|
1431
|
+
])
|
|
1432
|
+
: this.yScale.range([
|
|
1433
|
+
this.dims.height - this.margin.bottom,
|
|
1434
|
+
this.margin.top
|
|
1435
|
+
]);
|
|
1436
|
+
this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
|
|
1437
|
+
}
|
|
1438
|
+
this.tickSizes();
|
|
1439
|
+
this.setYScale();
|
|
1440
|
+
this.setXScale();
|
|
1441
|
+
this.setTickInteraction();
|
|
1442
|
+
this.tickWidth = this.getLargestText(this.afVariation == typographyVariation_enum.BarChartVariation.Horizontal
|
|
1443
|
+
? this.xScale.ticks().map((tick) => tick.toLocaleString())
|
|
1444
|
+
: this.yScale.ticks().map((tick) => tick.toLocaleString()));
|
|
1445
|
+
this.setValueTicks(true);
|
|
1446
|
+
if (this.loading) {
|
|
1447
|
+
linear.select(this.legendDiv)
|
|
1448
|
+
.style('opacity', 0)
|
|
1449
|
+
.transition()
|
|
1450
|
+
.duration(400)
|
|
1451
|
+
.ease(linear.polyInOut)
|
|
1452
|
+
.style('opacity', 1);
|
|
1453
|
+
this.margin.right =
|
|
1454
|
+
this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
|
|
1455
|
+
this.yTickSize +
|
|
1456
|
+
this.tickPadding;
|
|
1457
|
+
// Update x-axis with new width
|
|
1458
|
+
this.xScale.range([
|
|
1459
|
+
0,
|
|
1460
|
+
this.dims.width - this.margin.right - this.margin.left
|
|
1461
|
+
]);
|
|
1462
|
+
this.setNamedTicks(true);
|
|
1463
|
+
// Stop animation
|
|
1464
|
+
this.barSelection.selectAll('.barGroup').on('end', null);
|
|
1465
|
+
this.loading = false;
|
|
1466
|
+
this.barSelection
|
|
1467
|
+
.transition()
|
|
1468
|
+
.duration(this.defaultDuration)
|
|
1469
|
+
.attr('y', (d) => this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1470
|
+
? this.yScale(d.key)
|
|
1471
|
+
: this.dims.height - this.margin.bottom)
|
|
1472
|
+
.attr('height', () => 0)
|
|
1473
|
+
.on('end', (...[, i]) => i === this.placeholderTicks.length - 1
|
|
1474
|
+
? this.updateBars(true)
|
|
1475
|
+
: null);
|
|
1476
|
+
this.setTickInteraction();
|
|
1477
|
+
}
|
|
1478
|
+
else {
|
|
1479
|
+
this.setNamedTicks(true);
|
|
1480
|
+
// Removing first tick, because it aligns with y-axis domain
|
|
1481
|
+
this.updateBars();
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
// Getting correct color given index or name of data serie
|
|
1486
|
+
colorFunction(input) {
|
|
1487
|
+
if (typeof input === 'number')
|
|
1488
|
+
return this.evalColorVar(this.colorPalettes[input]);
|
|
1489
|
+
else {
|
|
1490
|
+
const index = this.chartData.data.series.findIndex((serie) => serie.title === input);
|
|
1491
|
+
if (index > 0)
|
|
1492
|
+
return this.evalColorVar(this.colorPalettes[index]);
|
|
1493
|
+
else
|
|
1494
|
+
return this.evalColorVar(this.colorPalettes[0]);
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
// Resizing bar chart
|
|
1498
|
+
resize() {
|
|
1499
|
+
const newHeight = this.setDims();
|
|
1500
|
+
//this.setMargins();
|
|
1501
|
+
this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1502
|
+
this.margin.right =
|
|
1503
|
+
this.getTextSize(this.xScale.domain()[1].toLocaleString()) / 2 +
|
|
1504
|
+
this.yTickSize +
|
|
1505
|
+
this.tickPadding;
|
|
1506
|
+
// If there is a new height
|
|
1507
|
+
if (newHeight) {
|
|
1508
|
+
// Update y-axis with potentially new height (might want to do a check here)
|
|
1509
|
+
this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal
|
|
1510
|
+
? this.yScale.range([
|
|
1511
|
+
this.margin.top,
|
|
1512
|
+
this.dims.height - this.margin.bottom
|
|
1513
|
+
])
|
|
1514
|
+
: this.yScale.range([
|
|
1515
|
+
this.dims.height - this.margin.bottom,
|
|
1516
|
+
this.margin.top
|
|
1517
|
+
]);
|
|
1518
|
+
this.xAxisHandle.attr('transform', `translate(0,${this.dims.height - this.margin.bottom})`);
|
|
1519
|
+
}
|
|
1520
|
+
// Update x-axis with new width
|
|
1521
|
+
this.xScale.range([
|
|
1522
|
+
0,
|
|
1523
|
+
this.dims.width - this.margin.right - this.margin.left
|
|
1524
|
+
]);
|
|
1525
|
+
this.setNamedTicks();
|
|
1526
|
+
this.setValueTicks();
|
|
1527
|
+
this.setTickInteraction();
|
|
1528
|
+
this.adjustBarSize();
|
|
1529
|
+
this.adjustBarText();
|
|
1530
|
+
if (this.tooltip.style('visibility') !== 'hidden')
|
|
1531
|
+
this.positionTooltip(this.tooltipData);
|
|
1532
|
+
}
|
|
1533
|
+
// Returns the longest text from an array of strings
|
|
1534
|
+
getLargestText(array) {
|
|
1535
|
+
let width = 0;
|
|
1536
|
+
array.forEach((elem) => {
|
|
1537
|
+
const temp = this.getTextSize(elem);
|
|
1538
|
+
if (temp > width) {
|
|
1539
|
+
width = temp;
|
|
1540
|
+
}
|
|
1541
|
+
});
|
|
1542
|
+
return width;
|
|
1543
|
+
}
|
|
1544
|
+
adjustColor(color, amount) {
|
|
1545
|
+
return '#' + color.replace(/^#/, '').replace(/../g, color => ('0' + Math.min(255, Math.max(0, parseInt(color, 16) + amount)).toString(16)).substr(-2));
|
|
1546
|
+
}
|
|
1547
|
+
componentWillLoad() {
|
|
1548
|
+
this.afChartDataUpdate(this.afChartData);
|
|
1549
|
+
}
|
|
1550
|
+
componentDidLoad() {
|
|
1551
|
+
if (!this.chartData || Object.keys(this.chartData).length === 0) {
|
|
1552
|
+
this.loading = true;
|
|
1553
|
+
return this.initEmpty();
|
|
1554
|
+
}
|
|
1555
|
+
this.initChain();
|
|
1556
|
+
document.fonts.ready.then(() => {
|
|
1557
|
+
this.recomputeTextSize();
|
|
1558
|
+
this.setNamedTicks();
|
|
1559
|
+
this.barChartContainer.attr('transform', `translate(${this.margin.left + this.tickPadding + this.yTickSize},0)`);
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
disconnectedCallback() {
|
|
1563
|
+
this.barChartObserver.disconnect();
|
|
1564
|
+
}
|
|
1565
|
+
componentWillUpdate() {
|
|
1566
|
+
this.prevHeight = linear.select(this.titleDiv).style('height');
|
|
1567
|
+
}
|
|
1568
|
+
componentDidUpdate() {
|
|
1569
|
+
if (this.tableDiv.style['display'] != 'block' &&
|
|
1570
|
+
Object.keys(this.chartData).length === 0) {
|
|
1571
|
+
// Disconnect old barchartobserver while doing resizing
|
|
1572
|
+
this.barChartObserver.disconnect();
|
|
1573
|
+
return this.loadingState();
|
|
1574
|
+
}
|
|
1575
|
+
this.updateChain();
|
|
1576
|
+
}
|
|
1577
|
+
// Not currently used
|
|
1578
|
+
/*get cssModifiers() {
|
|
1579
|
+
return {
|
|
1580
|
+
'digi-bar-chart--vertical': this.afVariation == 'vertical',
|
|
1581
|
+
'digi-bar-chart--horizontal': this.afVariation == 'horizontal'
|
|
1582
|
+
};
|
|
1583
|
+
}*/
|
|
1584
|
+
// Returns pixelwidth of text given the current fontSize (costly function using .each)
|
|
1585
|
+
getTextSize(text) {
|
|
1586
|
+
const textWidth = [];
|
|
1587
|
+
const svg = linear.select(this.chartDiv).append('svg');
|
|
1588
|
+
svg
|
|
1589
|
+
.selectAll('dummyText')
|
|
1590
|
+
.data([text])
|
|
1591
|
+
.join('text')
|
|
1592
|
+
.attr('font-size', this.fontSize) // <- using 1rem here whereas default is 0.875rem
|
|
1593
|
+
.text((d) => d)
|
|
1594
|
+
.each((...[, i, nodelist]) => {
|
|
1595
|
+
const thisWidth = nodelist[i].getComputedTextLength();
|
|
1596
|
+
textWidth.push(thisWidth);
|
|
1597
|
+
nodelist[i].remove();
|
|
1598
|
+
});
|
|
1599
|
+
svg.remove().exit();
|
|
1600
|
+
return textWidth[0];
|
|
1601
|
+
}
|
|
1602
|
+
// Setting table content from this.chartData
|
|
1603
|
+
setTableContent() {
|
|
1604
|
+
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>`;
|
|
1605
|
+
}
|
|
1606
|
+
setTableDimensions() {
|
|
1607
|
+
const table = linear.select(this.tableDiv);
|
|
1608
|
+
table.style('display', 'flex').style('height', '100%').style('width', '100%');
|
|
1609
|
+
}
|
|
1610
|
+
// Extracting all headings from data and returning a string with <th>-elements with headings
|
|
1611
|
+
headings() {
|
|
1612
|
+
let headingsString = `<th scope="col">${this.chartData.x}</th>`;
|
|
1613
|
+
this.chartData.data.series.forEach((elem) => {
|
|
1614
|
+
headingsString = headingsString.concat(`<th scope="col">${elem.title}</th>`);
|
|
1615
|
+
});
|
|
1616
|
+
return headingsString;
|
|
1617
|
+
}
|
|
1618
|
+
// Building the table body
|
|
1619
|
+
tableBody() {
|
|
1620
|
+
let body = '';
|
|
1621
|
+
if (this.chartData && this.chartData.data) {
|
|
1622
|
+
const loopable = this.chartData.data.xValueNames
|
|
1623
|
+
? this.chartData.data.xValueNames
|
|
1624
|
+
: this.chartData.data.xValues;
|
|
1625
|
+
loopable.forEach((elem, index) => {
|
|
1626
|
+
let cells = '';
|
|
1627
|
+
this.chartData.data.series.forEach((serie) => {
|
|
1628
|
+
cells = cells.concat(`<td>${serie.yValues[index] != null ? serie.yValues[index].toLocaleString() : '-'}</td>`);
|
|
1629
|
+
});
|
|
1630
|
+
body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
return body;
|
|
1634
|
+
}
|
|
1635
|
+
render() {
|
|
1636
|
+
var _a, _b, _c, _d, _e;
|
|
1637
|
+
// Setting header
|
|
1638
|
+
let heading = '';
|
|
1639
|
+
if (this.chartData) {
|
|
1640
|
+
if (!this.chartData.subTitle)
|
|
1641
|
+
heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}>`;
|
|
1642
|
+
else {
|
|
1643
|
+
if (!this.chartData.infoText)
|
|
1644
|
+
heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${this.chartData.subTitle}</p>`;
|
|
1645
|
+
else
|
|
1646
|
+
heading = `<${this.afHeadingLevel}>${this.chartData.title}</${this.afHeadingLevel}><p>${(_a = this.chartData) === null || _a === void 0 ? void 0 : _a.subTitle}
|
|
1647
|
+
<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>`;
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
return (index.h(index.Host, { key: 'adbf9f1c26a8816a8d4b585b0fc7a0b9100bf252', ref: (el) => (this.host = el) }, index.h("div", { key: 'ee28dc5914be751e08c73253b80fd257c2e17bbb', class: "topWrapper", ref: (el) => (this.titleDiv = el) }, index.h("digi-typography", { key: '6a0b051d3c26e9c34fb59d4ee323a10d1cb542e1', class: "chartTitle", innerHTML: heading }), index.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() : ''}` }, index.h("digi-icon-table", { key: '6e00e771521a10c0213ae6267ea2879c7ccc4b3c', slot: "icon" }), "Visa tabell"), index.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() : ''}` }, index.h("digi-icon-chart", { key: '5361af6d17e4cd7d6217afd48c4a474fd905c8de', slot: "icon" }), "Visa diagram"), index.h("div", { key: '2efe2244c2105390580779f60a7c1accd5135d49', class: "scChartStatus", role: "status", ref: (el) => (this.status = el) })), index.h("div", { key: '48f2316efe396309fd73510a2eea011c137e24ed', class: "svgWrap", ref: (el) => (this.chartDiv = el) }, index.h("div", { key: '4f2f494517979cbb9de43945d5ffe17acbe6c814', class: "chartTooltip", id: this.afId }, index.h("div", { key: '36db97d0dcd4e2009cd33b4125b631eddae039ae', class: "tooltipBody" }), index.h("digi-icon-x", { key: 'b3ac9ec4b6cd6c2c666d475929c10c0aaba2b9e1', class: "close" }), this.afVariation === typographyVariation_enum.BarChartVariation.Horizontal ? (index.h("digi-icon-caret-up", { class: "caret" })) : (index.h("digi-icon-caret-down", { class: "caret" })))), index.h("div", { key: 'f96ed8b4c527ba32de5dd5bdb58c367435ecbc04', class: "legendWrap", ref: (el) => (this.legendDiv = el) }, index.h("div", { key: '3911352915f02a33231c2e0604a5073fb7203bd3', class: "legend" })), index.h("div", { key: '29c613f6af6e23b05748e230bad4c00156f30fd6', class: "table", ref: (el) => (this.tableDiv = el) }, ' ')));
|
|
1651
|
+
}
|
|
1652
|
+
get hostElement() { return index.getElement(this); }
|
|
1653
|
+
static get watchers() { return {
|
|
1654
|
+
"afChartData": ["afChartDataUpdate"]
|
|
1655
|
+
}; }
|
|
1656
|
+
};
|
|
1657
|
+
barChart.style = DigiBarChartStyle0;
|
|
1658
|
+
|
|
55
1659
|
const buttonCss = ".sc-digi-button-h{--digi--button--color--background--primary--default:var(--digi--color--background--interactive--default--primary);--digi--button--color--background--primary--hover:var(--digi--color--background--interactive--hover--primary);--digi--button--color--background--primary--focus:var(--digi--color--background--interactive--hover--primary);--digi--button--color--background--primary--active:var(--digi--color--background--interactive--hover--primary);--digi--button--color--background--secondary--default:var(--digi--color--background--interactive--default--secondary);--digi--button--color--background--secondary--hover:var(--digi--color--background--interactive--hover--secondary);--digi--button--color--background--secondary--focus:var(--digi--color--background--interactive--hover--secondary);--digi--button--color--background--secondary--active:var(--digi--color--background--interactive--hover--secondary);--digi--button--color--background--function--default:transparent;--digi--button--color--background--function--hover:transparent;--digi--button--color--background--function--focus:transparent;--digi--button--color--background--function--active:transparent;--digi--button--color--text--primary--default:var(--digi--color--text--interactive--secondary);--digi--button--color--text--primary--hover:var(--digi--color--text--interactive--secondary);--digi--button--color--text--primary--focus:var(--digi--color--text--interactive--secondary);--digi--button--color--text--primary--active:var(--digi--color--text--interactive--secondary);--digi--button--color--text--secondary--default:var(--digi--color--text--interactive--brand-primary);--digi--button--color--text--secondary--hover:var(--digi--color--text--interactive--brand-primary);--digi--button--color--text--secondary--focus:var(--digi--color--text--interactive--brand-primary);--digi--button--color--text--secondary--active:var(--digi--color--text--interactive--brand-primary);--digi--button--color--text--function--default:var(--digi--color--text--interactive--primary);--digi--button--color--text--function--hover:var(--digi--color--text--interactive--primary);--digi--button--color--text--function--focus:var(--digi--color--text--interactive--primary);--digi--button--color--text--function--active:var(--digi--color--text--interactive--primary);--digi--button--color--border--primary--default:var(--digi--color--background--interactive--default--primary);--digi--button--color--border--primary--hover:var(--digi--color--background--interactive--hover--primary);--digi--button--color--border--primary--focus:var(--digi--color--background--interactive--default--primary);--digi--button--color--border--primary--active:var(--digi--color--background--interactive--default--primary);--digi--button--color--border--secondary--default:var(--digi--color--border--interactive--default--primary);--digi--button--color--border--secondary--hover:var(--digi--color--border--interactive--hover--secondary);--digi--button--color--border--secondary--focus:var(--digi--color--border--interactive--default--primary);--digi--button--color--border--secondary--active:var(--digi--color--border--interactive--default--primary);--digi--button--color--border--function--default:initial;--digi--button--color--border--function--hover:initial;--digi--button--color--border--function--focus:initial;--digi--button--color--border--function--active:initial;--digi--button--color--icon--primary--default:var(--digi--color--icon--secondary);--digi--button--color--icon--primary--hover:var(--digi--color--icon--secondary);--digi--button--color--icon--primary--focus:var(--digi--color--icon--secondary);--digi--button--color--icon--primary--active:var(--digi--color--icon--secondary);--digi--button--color--icon--secondary--default:var(--digi--color--icon--brand-primary);--digi--button--color--icon--secondary--hover:var(--digi--color--icon--brand-primary);--digi--button--color--icon--secondary--focus:var(--digi--color--icon--brand-primary);--digi--button--color--icon--secondary--active:var(--digi--color--icon--brand-primary);--digi--button--color--icon--function--default:var(--digi--color--icon--cta);--digi--button--color--icon--function--hover:var(--digi--color--icon--cta);--digi--button--color--icon--function--focus:var(--digi--color--icon--cta);--digi--button--color--icon--function--active:var(--digi--color--icon--cta);--digi--button--border-width--primary--default:var(--digi--border-width--primary);--digi--button--border-width--primary--hover:var(--digi--border-width--primary);--digi--button--border-width--secondary--default:var(--digi--border-width--primary);--digi--button--border-width--secondary--hover:var(--digi--border-width--primary);--digi--button--border-width--function--default:initial;--digi--button--border-width--function--hover:initial;--digi--button--border-style--primary--default:var(--digi--border-style--primary);--digi--button--border-style--primary--hover:var(--digi--border-style--primary);--digi--button--border-style--primary--focus:var(--digi--border-style--primary);--digi--button--border-style--primary--active:var(--digi--border-style--primary);--digi--button--border-style--secondary--default:var(--digi--border-style--primary);--digi--button--border-style--secondary--hover:var(--digi--border-style--primary);--digi--button--border-style--secondary--focus:var(--digi--border-style--primary);--digi--button--border-style--secondary--active:var(--digi--border-style--primary);--digi--button--border-style--function--default:var(--digi--border-style--secondary);--digi--button--border-style--function--hover:var(--digi--border-style--secondary);--digi--button--border-style--function--focus:var(--digi--border-style--secondary);--digi--button--border-style--function--active:var(--digi--border-style--secondary);--digi--button--border-radius--primary--default:var(--digi--border-radius--secondary);--digi--button--border-radius--primary--hover:var(--digi--border-radius--secondary);--digi--button--border-radius--primary--focus:var(--digi--border-radius--secondary);--digi--button--border-radius--primary--active:var(--digi--border-radius--secondary);--digi--button--border-radius--secondary--default:var(--digi--border-radius--secondary);--digi--button--border-radius--secondary--hover:var(--digi--border-radius--secondary);--digi--button--border-radius--secondary--focus:var(--digi--border-radius--secondary);--digi--button--border-radius--secondary--active:var(--digi--border-radius--secondary);--digi--button--border-radius--function--default:initial;--digi--button--border-radius--function--hover:initial;--digi--button--border-radius--function--focus:initial;--digi--button--border-radius--function--active:initial;--digi--button--padding--small:var(--digi--gutter--button-block-small) var(--digi--gutter--button-inline-small);--digi--button--padding--medium:var(--digi--gutter--button-block-medium) var(--digi--gutter--button-inline-medium);--digi--button--font-size--small:var(--digi--global--typography--font-size--interaction-small);--digi--button--font-size--medium:var(--digi--global--typography--font-size--interaction-medium);--digi--button--font-family:var(--digi--global--typography--font-family--default);--digi--button--font-weight--default:var(--digi--typography--button--font-weight--desktop);--digi--button--font-weight--function:var(--digi--typography--label--font-weight--desktop);--digi--button--width:initial;--digi--button--display:initial;--digi--button--justify-content--default:initial;--digi--button--justify-content--full-width:center;--digi--button--align-items:center;--digi--button--text-align--default:initial;--digi--button--text-align--full-width:center;--digi--button--outline--default:initial;--digi--button--outline--focus:initial;--digi--button--cursor:pointer;--digi--button--icon--spacing:var(--digi--gutter--large);--digi--button--min-height--small:unset}.sc-digi-button-h .digi-button.sc-digi-button{font-family:var(--digi--button--font-family);background:var(--COLOR--BACKGROUND--DEFAULT);color:var(--COLOR--TEXT--DEFAULT);padding:var(--PADDING);border-radius:var(--BORDER-RADIUS--DEFAULT);border-width:var(--BORDER-WIDTH--DEFAULT);border-style:var(--BORDER-STYLE--DEFAULT);border-color:var(--COLOR--BORDER--DEFAULT);font-weight:var(--FONT-WEIGHT);font-size:var(--FONT-SIZE);outline:var(--digi--button--outline--default);text-align:var(--digi--button--text-align--default);width:var(--digi--button--width);display:var(--digi--button--display);justify-content:var(--digi--button--justify-content--default);cursor:var(--digi--button--cursor);min-height:var(--MIN-HEIGHT);align-items:var(--digi--button--align-items);white-space:nowrap}.sc-digi-button-h .digi-button--variation-primary.sc-digi-button{--COLOR--BACKGROUND--DEFAULT:var(--digi--button--color--background--primary--default);--COLOR--BACKGROUND--HOVER:var(--digi--button--color--background--primary--hover);--COLOR--BACKGROUND--FOCUS:var(--digi--button--color--background--primary--focus);--COLOR--BACKGROUND--ACTIVE:var(--digi--button--color--background--primary--active);--COLOR--TEXT--DEFAULT:var(--digi--button--color--text--primary--default);--COLOR--TEXT--HOVER:var(--digi--button--color--text--primary--hover);--COLOR--TEXT--FOCUS:var(--digi--button--color--text--primary--focus);--COLOR--TEXT--ACTIVE:var(--digi--button--color--text--primary--active);--COLOR--ICON--DEFAULT:var(--digi--button--color--icon--primary--default);--COLOR--ICON--HOVER:var(--digi--button--color--icon--primary--hover);--COLOR--ICON--FOCUS:var(--digi--button--color--icon--primary--focus);--COLOR--ICON--ACTIVE:var(--digi--button--color--icon--primary--active);--COLOR--BORDER--DEFAULT:var(--digi--button--color--border--primary--default);--COLOR--BORDER--HOVER:var(--digi--button--color--border--primary--hover);--COLOR--BORDER--FOCUS:var(--digi--button--color--border--primary--focus);--COLOR--BORDER--ACTIVE:var(--digi--button--color--border--primary--active);--BORDER-RADIUS--DEFAULT:var(--digi--button--border-radius--primary--default);--BORDER-RADIUS--HOVER:var(--digi--button--border-radius--primary--hover);--BORDER-RADIUS--FOCUS:var(--digi--button--border-radius--primary--focus);--BORDER-RADIUS--ACTIVE:var(--digi--button--border-radius--primary--active);--BORDER-WIDTH--DEFAULT:var(--digi--button--border-width--primary--default);--BORDER-WIDTH--HOVER:var(--digi--button--border-width--primary--hover);--BORDER-WIDTH--FOCUS:var(--digi--button--border-width--primary--focus);--BORDER-WIDTH--ACTIVE:var(--digi--button--border-width--primary--active);--BORDER-STYLE--DEFAULT:var(--digi--button--border-style--primary--default);--BORDER-STYLE--HOVER:var(--digi--button--border-style--primary--hover);--BORDER-STYLE--FOCUS:var(--digi--button--border-style--primary--focus);--BORDER-STYLE--ACTIVE:var(--digi--button--border-style--primary--active);--FONT-WEIGHT:var(--digi--button--font-weight--default)}.sc-digi-button-h .digi-button--variation-secondary.sc-digi-button{--COLOR--BACKGROUND--DEFAULT:var(--digi--button--color--background--secondary--default);--COLOR--BACKGROUND--HOVER:var(--digi--button--color--background--secondary--hover);--COLOR--BACKGROUND--FOCUS:var(--digi--button--color--background--secondary--focus);--COLOR--BACKGROUND--ACTIVE:var(--digi--button--color--background--secondary--active);--COLOR--TEXT--DEFAULT:var(--digi--button--color--text--secondary--default);--COLOR--TEXT--HOVER:var(--digi--button--color--text--secondary--hover);--COLOR--TEXT--FOCUS:var(--digi--button--color--text--secondary--focus);--COLOR--TEXT--ACTIVE:var(--digi--button--color--text--secondary--active);--COLOR--ICON--DEFAULT:var(--digi--button--color--icon--secondary--default);--COLOR--ICON--HOVER:var(--digi--button--color--icon--secondary--hover);--COLOR--ICON--FOCUS:var(--digi--button--color--icon--secondary--focus);--COLOR--ICON--ACTIVE:var(--digi--button--color--icon--secondary--active);--COLOR--BORDER--DEFAULT:var(--digi--button--color--border--secondary--default);--COLOR--BORDER--HOVER:var(--digi--button--color--border--secondary--hover);--COLOR--BORDER--FOCUS:var(--digi--button--color--border--secondary--focus);--COLOR--BORDER--ACTIVE:var(--digi--button--color--border--secondary--active);--BORDER-RADIUS--DEFAULT:var(--digi--button--border-radius--secondary--default);--BORDER-RADIUS--HOVER:var(--digi--button--border-radius--secondary--hover);--BORDER-RADIUS--FOCUS:var(--digi--button--border-radius--secondary--focus);--BORDER-RADIUS--ACTIVE:var(--digi--button--border-radius--secondary--active);--BORDER-WIDTH--DEFAULT:var(--digi--button--border-width--secondary--default);--BORDER-WIDTH--HOVER:var(--digi--button--border-width--secondary--hover);--BORDER-WIDTH--FOCUS:var(--digi--button--border-width--secondary--focus);--BORDER-WIDTH--ACTIVE:var(--digi--button--border-width--secondary--active);--BORDER-STYLE--DEFAULT:var(--digi--button--border-style--secondary--default);--BORDER-STYLE--HOVER:var(--digi--button--border-style--secondary--hover);--BORDER-STYLE--FOCUS:var(--digi--button--border-style--secondary--focus);--BORDER-STYLE--ACTIVE:var(--digi--button--border-style--secondary--active);--FONT-WEIGHT:var(--digi--button--font-weight--default)}.sc-digi-button-h .digi-button--variation-function.sc-digi-button{--COLOR--BACKGROUND--DEFAULT:var(--digi--button--color--background--function--default);--COLOR--BACKGROUND--HOVER:var(--digi--button--color--background--function--hover);--COLOR--BACKGROUND--FOCUS:var(--digi--button--color--background--function--focus);--COLOR--BACKGROUND--ACTIVE:var(--digi--button--color--background--function--active);--COLOR--TEXT--DEFAULT:var(--digi--button--color--text--function--default);--COLOR--TEXT--HOVER:var(--digi--button--color--text--function--hover);--COLOR--TEXT--FOCUS:var(--digi--button--color--text--function--focus);--COLOR--TEXT--ACTIVE:var(--digi--button--color--text--function--active);--COLOR--ICON--DEFAULT:var(--digi--button--color--icon--function--default);--COLOR--ICON--HOVER:var(--digi--button--color--icon--function--hover);--COLOR--ICON--FOCUS:var(--digi--button--color--icon--function--focus);--COLOR--ICON--ACTIVE:var(--digi--button--color--icon--function--active);--COLOR--BORDER--DEFAULT:var(--digi--button--color--border--function--default);--COLOR--BORDER--HOVER:var(--digi--button--color--border--function--hover);--COLOR--BORDER--FOCUS:var(--digi--button--color--border--function--focus);--COLOR--BORDER--ACTIVE:var(--digi--button--color--border--function--active);--BORDER-RADIUS--DEFAULT:var(--digi--button--border-radius--function--default);--BORDER-RADIUS--HOVER:var(--digi--button--border-radius--function--hover);--BORDER-RADIUS--FOCUS:var(--digi--button--border-radius--function--focus);--BORDER-RADIUS--ACTIVE:var(--digi--button--border-radius--function--active);--BORDER-WIDTH--DEFAULT:var(--digi--button--border-width--function--default);--BORDER-WIDTH--HOVER:var(--digi--button--border-width--function--hover);--BORDER-WIDTH--FOCUS:var(--digi--button--border-width--function--focus);--BORDER-WIDTH--ACTIVE:var(--digi--button--border-width--function--active);--BORDER-STYLE--DEFAULT:var(--digi--button--border-style--function--default);--BORDER-STYLE--HOVER:var(--digi--button--border-style--function--hover);--BORDER-STYLE--FOCUS:var(--digi--button--border-style--function--focus);--BORDER-STYLE--ACTIVE:var(--digi--button--border-style--function--active);--FONT-WEIGHT:var(--digi--button--font-weight--function)}.sc-digi-button-h .digi-button--variation-function.sc-digi-button:hover,.sc-digi-button-h .digi-button--variation-function.sc-digi-button:focus{text-decoration:underline}.sc-digi-button-h .digi-button--size-small.sc-digi-button{--FONT-SIZE:var(--digi--button--font-size--small);--PADDING:var(--digi--button--padding--small);--MIN-HEIGHT:var(--digi--button--min-height--small)}.sc-digi-button-h .digi-button--size-medium.sc-digi-button{--FONT-SIZE:var(--digi--button--font-size--medium);--PADDING:var(--digi--button--padding--medium);--MIN-HEIGHT:var(--digi--button--min-height--small)}.sc-digi-button-h .digi-button.sc-digi-button-s>[slot^=icon],.sc-digi-button-h .digi-button .sc-digi-button-s>[slot^=icon]{--digi--icon--height:1em;--digi--icon--width:1em;--digi--icon--color:var(--COLOR--ICON--DEFAULT);min-height:0}@media (any-hover: hover){.sc-digi-button-h .digi-button.sc-digi-button:hover{background:var(--COLOR--BACKGROUND--HOVER);border-radius:var(--BORDER-RADIUS--HOVER);border-width:var(--BORDER-WIDTH--HOVER);border-style:var(--BORDER-STYLE--HOVER);border-color:var(--COLOR--BORDER--HOVER);color:var(--COLOR--TEXT--HOVER)}.sc-digi-button-h .digi-button:hover.sc-digi-button-s>[slot^=icon],.sc-digi-button-h .digi-button:hover .sc-digi-button-s>[slot^=icon]{--digi--icon--color:var(--COLOR--ICON--HOVER)}}.sc-digi-button-h .digi-button.sc-digi-button:focus-visible{background:var(--COLOR--BACKGROUND--FOCUS);color:var(--COLOR--TEXT--FOCUS);border-style:var(--BORDER-STYLE--FOCUS);border-color:var(--COLOR--BORDER--FOCUS);outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}.sc-digi-button-h .digi-button:focus-visible.sc-digi-button-s>[slot^=icon],.sc-digi-button-h .digi-button:focus-visible .sc-digi-button-s>[slot^=icon]{--digi--icon--color:var(--COLOR--ICON--FOCUS)}.sc-digi-button-h .digi-button.sc-digi-button:active{background:var(--COLOR--BACKGROUND--ACTIVE);color:var(--COLOR--TEXT--ACTIVE)}.sc-digi-button-h .digi-button:active.sc-digi-button-s>[slot^=icon],.sc-digi-button-h .digi-button:active .sc-digi-button-s>[slot^=icon]{--digi--icon--color:var(--COLOR--ICON--ACTIVE)}.sc-digi-button-h .digi-button--icon.sc-digi-button,.sc-digi-button-h .digi-button--icon-secondary.sc-digi-button{--digi--button--display:flex;align-items:center;justify-content:var(--digi--button--justify-content--default);gap:var(--digi--button--icon--spacing)}.sc-digi-button-h .digi-button--full-width.sc-digi-button{--digi--button--width:100%;--digi--button--text-align--default:var(--digi--button--text-align--full-width);--digi--button--justify-content--default:var(--digi--button--justify-content--full-width)}";
|
|
56
1660
|
const DigiButtonStyle0 = buttonCss;
|
|
57
1661
|
|
|
@@ -255,7 +1859,7 @@ const Header = class {
|
|
|
255
1859
|
return (index.h("div", { class: "digi-header__wrapper" }, index.h("slot", { name: "header-logo" }), index.h("div", { class: "digi-header__content" }, index.h("slot", { name: "header-content" })), this.hasNavigation && this.isMobile && (index.h("digi-navigation-sidebar-button", { "aria-hidden": this.afActive ? 'true' : 'false', "af-text": this.afMenuButtonText }))));
|
|
256
1860
|
}
|
|
257
1861
|
render() {
|
|
258
|
-
return (index.h("header", { key: '
|
|
1862
|
+
return (index.h("header", { key: '9dbcc11c53c815ad8f10b72ed700db1ad5bbcce4', "aria-label": this.ariaLabel, class: Object.assign({ 'digi-header': true }, this.cssModifiers) }, index.h("digi-util-breakpoint-observer", { key: '15f627b8cdf88ba6a0190ddc077982a5f2a0139a', onAfOnChange: (e) => this.handleBreakpointObserver(e) }), index.h("digi-layout-block", { key: '52e76fbed6437613b952a0e2245a0f8b01bbd25c', afContainer: typographyVariation_enum.LayoutBlockContainer.NONE }, this.afCentered !== typographyVariation_enum.HeaderCenterContentWidth.DEFAULT ? (index.h("digi-layout-container", { "af-max-width": this.afCentered }, this.renderContent())) : (this.renderContent()), index.h("div", { key: 'a3513f9383d0570d8381a5cc0e4f9362aa6dd065', class: "digi-header__border" }), index.h("slot", { key: 'd4eb4a6b292958a512ca9ec61b9cd261a0576cfc', name: "header-navigation" }))));
|
|
259
1863
|
}
|
|
260
1864
|
get hostElement() { return index.getElement(this); }
|
|
261
1865
|
};
|
|
@@ -363,7 +1967,7 @@ const NavigationAvatar = class {
|
|
|
363
1967
|
if (this.afShowPlaceholderImage) {
|
|
364
1968
|
this.afHideImage = true;
|
|
365
1969
|
}
|
|
366
|
-
return (index.h("div", { key: '
|
|
1970
|
+
return (index.h("div", { key: '7abfbd7b1e1933cef757ab4a4ba169618a6189d9', class: "digi-header-avatar" }, !this.afHideImage && this.afIsLoggedIn && (index.h("digi-media-image", { key: '7d9e2d755739a39c0fed8acd21ca17e0384d0b64', class: 'digi-header-avatar__image', "af-height": "32", "af-width": "32", afUnlazy: true, "af-src": this.afSrc, afAlt: this.afAlt })), this.afShowPlaceholderImage && this.afIsLoggedIn && (index.h("span", { key: 'e0b721cc0ec670ec743bd6d0ec497fb58baf0f5a', class: "digi-header-avatar__icon digi-header-avatar__icon-logged-in" }, index.h(this.currentAvatar, { key: '38d57fc3adb6ebb3b7c9f2683327960c0e1bbbc7' }, index.h("title", { key: '967f77cdc4194a063fafb6a7c684e29d7e1cbdf3' }, this.afPlacerholderTitle)))), this.afIsLoggedIn && (index.h("span", { key: 'c59653a35e8a1b441e518c482f047c483c8b68d7', class: "digi-header-avatar__name" }, this.setCurrentLoginName())), !this.afIsLoggedIn && (index.h("span", { key: 'e32d280aa3408a1e357afbe626304b56139238c1', class: "digi-header-avatar__icon digi-header-avatar__icon-logged-out" }, index.h(this.currentAvatar, { key: 'e472df32ef3fc8354447df8b2b23815198d3b5cf' }, index.h("title", { key: 'e8191617054592c9a1216fb97ab3689c402e922a' }, this.afPlacerholderTitle)))), !this.afIsLoggedIn && index.h("slot", { key: 'c35f521b2882d8033241c9dc1e2a2b5972a00a74' })));
|
|
367
1971
|
}
|
|
368
1972
|
};
|
|
369
1973
|
NavigationAvatar.style = DigiHeaderAvatarStyle0;
|
|
@@ -530,10 +2134,10 @@ const HeaderNavigation = class {
|
|
|
530
2134
|
};
|
|
531
2135
|
}
|
|
532
2136
|
render() {
|
|
533
|
-
return (index.h("div", { key: '
|
|
534
|
-
e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL) }, index.h("digi-util-keydown-handler", { key: '
|
|
2137
|
+
return (index.h("div", { key: 'edf9df295359152406d7de1457db228066a0f51c', class: Object.assign({ 'digi-header-navigation': true }, this.cssModifiers) }, index.h("digi-util-breakpoint-observer", { key: '1fbab82a18578974b1cd3e13631341d8a2b36db5', onAfOnChange: (e) => (this.isMobile =
|
|
2138
|
+
e.detail.value === utilBreakpointObserverBreakpoints_enum.UtilBreakpointObserverBreakpoints.SMALL) }, index.h("digi-util-keydown-handler", { key: '9087a9de027d63f53a9cdb10a78e702f82a4d744', onAfOnEsc: (e) => this.escHandler(e), onAfOnTab: (e) => this.tabHandler(e), onAfOnShiftTab: (e) => this.shiftHandler(e) }, index.h("div", { key: 'd5a08669b54caceb2a580074b151766b6f4ddc9e' }, this.isMobile && (index.h("div", { key: '07e5b8226dd03c8ef26ea58d97b70bfb75b3154e', class: "digi-header-navigation__backdrop", onClick: (e) => this.backdropClickHandler(e) })), index.h("nav", { key: '93c0e8b5021b5d64df7fad12e4882cb54670b5d8', class: "digi-header-navigation__wrapper", "aria-label": this.afNavAriaLabel, "af-centered": this.afCentered, ref: (el) => {
|
|
535
2139
|
this._wrapper = el;
|
|
536
|
-
} }, this.isMobile && (index.h("digi-button", { key: '
|
|
2140
|
+
} }, this.isMobile && (index.h("digi-button", { key: '4cee082ef1733140aa587abb0650ee9c9350aa40', onClick: (e) => this.closeHandler(e), "af-variation": "function", "af-aria-label": this.afCloseButtonAriaLabel, class: "digi-header-navigation__close-button" }, this.afCloseButtonText, index.h("digi-icon-x", { key: 'ecf0e56b804641ce1c6b4c8af0d24bf470a1a4cc', slot: "icon-secondary" }))), this.afCentered !== typographyVariation_enum.HeaderCenterContentWidth.DEFAULT ? (index.h("digi-layout-container", { "af-max-width": this.afCentered }, index.h("div", { role: "list", class: "digi-header-navigation__inner" }, index.h("slot", null)))) : (index.h("div", { role: "list", class: "digi-header-navigation__inner" }, index.h("slot", null)))))))));
|
|
537
2141
|
}
|
|
538
2142
|
get hostElement() { return index.getElement(this); }
|
|
539
2143
|
static get watchers() { return {
|
|
@@ -557,7 +2161,7 @@ const HeaderNavigationItem = class {
|
|
|
557
2161
|
};
|
|
558
2162
|
}
|
|
559
2163
|
render() {
|
|
560
|
-
return (index.h("div", { key: '
|
|
2164
|
+
return (index.h("div", { key: '21fd3ec068563fc546bea986e10b1256018d3b3a', role: "listitem", class: Object.assign({ 'digi-header-navigation-item': true }, this.cssModifiers) }, index.h("slot", { key: 'c518bf00a4e445f64c246575ddd7dd3ac505a5a3' }), index.h("div", { key: 'd5701be9f10650fd075ed4ae57a9da14e884f8af', class: Object.assign({ 'digi-header-navigation-item-indicator': true }, this.cssModifiers) })));
|
|
561
2165
|
}
|
|
562
2166
|
};
|
|
563
2167
|
HeaderNavigationItem.style = DigiHeaderNavigationItemStyle0;
|
|
@@ -571,9 +2175,9 @@ const HeaderNotification = class {
|
|
|
571
2175
|
this.afNotificationAmount = undefined;
|
|
572
2176
|
}
|
|
573
2177
|
render() {
|
|
574
|
-
return (index.h("div", { key: '
|
|
2178
|
+
return (index.h("div", { key: '9fdf78a7fccb3604d0472f16874140892d8b9e08', class: "digi-header-notification" }, this.afNotificationAmount > 0 && (index.h("span", { key: '0ad609dcffcf41c1d35b303eb788d205d599e101', class: "digi-header-notification__number" }, this.afNotificationAmount < 100
|
|
575
2179
|
? this.afNotificationAmount
|
|
576
|
-
: '+99')), index.h("slot", { key: '
|
|
2180
|
+
: '+99')), index.h("slot", { key: '8c3b44864f9ccf3a1d6741ecd9c37d493861d13c' })));
|
|
577
2181
|
}
|
|
578
2182
|
};
|
|
579
2183
|
HeaderNotification.style = DigiHeaderNotificationStyle0;
|
|
@@ -591,11 +2195,11 @@ const IconBars = class {
|
|
|
591
2195
|
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
592
2196
|
}
|
|
593
2197
|
render() {
|
|
594
|
-
return (index.h("svg", { key: '
|
|
2198
|
+
return (index.h("svg", { key: 'e524e8347bd4620d9f8283a73b4f22322033e369', class: "digi-icon-bars", width: "22", height: "26", viewBox: "0 0 22 26", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
595
2199
|
? this.afSvgAriaLabelledby
|
|
596
2200
|
: this.afTitle
|
|
597
2201
|
? this.titleId
|
|
598
|
-
: undefined }, this.afTitle && index.h("title", { key: '
|
|
2202
|
+
: undefined }, this.afTitle && index.h("title", { key: 'f129dab77470e6db57fc780dda52b49f7c536bae', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'aea402ff62a0357936a5acc3bbaf92a0e7a198e8' }, this.afDesc), index.h("path", { key: 'd75ba6cd55abcbed05a58fbb0390664d01b44be5', class: "digi-icon-bars__shape", d: "M0.8,6.9h20.4c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8C0.4,3.4,0,3.7,0,4.2v2C0,6.6,0.4,6.9,0.8,6.9z M0.8,14.8 h20.4c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8C0.4,11.2,0,11.6,0,12v2C0,14.4,0.4,14.8,0.8,14.8z M0.8,22.6h20.4 c0.4,0,0.8-0.4,0.8-0.8v-2c0-0.4-0.4-0.8-0.8-0.8H0.8c-0.4,0-0.8,0.4-0.8,0.8v2C0,22.3,0.4,22.6,0.8,22.6z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
599
2203
|
}
|
|
600
2204
|
};
|
|
601
2205
|
IconBars.style = DigiIconBarsStyle0;
|
|
@@ -613,15 +2217,81 @@ const IconBellFilled = class {
|
|
|
613
2217
|
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
614
2218
|
}
|
|
615
2219
|
render() {
|
|
616
|
-
return (index.h("svg", { key: '
|
|
2220
|
+
return (index.h("svg", { key: '4caa134b894076def8f1bb98c6ca5e4bf9975690', class: "digi-icon-bell-filled", width: "48", height: "48", viewBox: "0 0 48 48", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
617
2221
|
? this.afSvgAriaLabelledby
|
|
618
2222
|
: this.afTitle
|
|
619
2223
|
? this.titleId
|
|
620
|
-
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '
|
|
2224
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: 'a7a141cce0250d5139abb2a4e9a145d3f83eca36', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'fc5344322bfe51ce2194269d16abf7cef6b136bd' }, this.afDesc), index.h("path", { key: '018841107c2b6efb83df7c5033427bfabc1f43b0', class: "digi-icon-bell-filled__shape", d: "M23.555833,48 C26.8859842,48 29.5872534,45.3140625 29.5872534,42 L17.5244126,42 C17.5244126,45.3140625 20.2256818,48 23.555833,48 Z M43.8639093,33.9646875 C42.0423204,32.0184375 38.6339126,29.090625 38.6339126,19.5 C38.6339126,12.215625 33.4972582,6.384375 26.5710718,4.95375 L26.5710718,3 C26.5710718,1.3434375 25.2209086,0 23.555833,0 C21.8907574,0 20.5405942,1.3434375 20.5405942,3 L20.5405942,4.95375 C13.6144078,6.384375 8.47775338,12.215625 8.47775338,19.5 C8.47775338,29.090625 5.06934557,32.0184375 3.24775666,33.9646875 C2.68204582,34.569375 2.43124734,35.2921875 2.43589641,36 C2.44633297,37.5375 3.65978272,39 5.4625146,39 L41.6491514,39 C43.4518833,39 44.6662759,37.5375 44.6757696,36 C44.6804187,35.2921875 44.4296202,34.5684375 43.8639093,33.9646875 L43.8639093,33.9646875 Z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
621
2225
|
}
|
|
622
2226
|
};
|
|
623
2227
|
IconBellFilled.style = DigiIconBellFilledStyle0;
|
|
624
2228
|
|
|
2229
|
+
const iconCaretDownCss = ".sc-digi-icon-caret-down-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-caret-down-h svg.sc-digi-icon-caret-down{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
2230
|
+
const DigiIconCaretDownStyle0 = iconCaretDownCss;
|
|
2231
|
+
|
|
2232
|
+
const IconCaretDown = class {
|
|
2233
|
+
constructor(hostRef) {
|
|
2234
|
+
index.registerInstance(this, hostRef);
|
|
2235
|
+
this.afTitle = undefined;
|
|
2236
|
+
this.afDesc = undefined;
|
|
2237
|
+
this.afSvgAriaHidden = true;
|
|
2238
|
+
this.afSvgAriaLabelledby = undefined;
|
|
2239
|
+
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
2240
|
+
}
|
|
2241
|
+
render() {
|
|
2242
|
+
return (index.h("svg", { key: '227202fc5131633b75fd4c3e236e2bf9b3d1de3f', class: "digi-icon-caret-down", width: "12", height: "6", viewBox: "0 0 12 6", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
2243
|
+
? this.afSvgAriaLabelledby
|
|
2244
|
+
: this.afTitle
|
|
2245
|
+
? this.titleId
|
|
2246
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '3b62fc5d4c3f00725b32ff48779fbba0d665a5f3', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'b199a2c7bc9b60862b7b14c8c52da9b52abf74bc' }, this.afDesc), index.h("path", { key: 'ee4cab75b82de255dd4a6be364afda5be733a2c0', class: "digi-icon-caret-down__shape", d: "M11.777.198A.608.608 0 0112 .667c0 .18-.074.336-.223.468l-5.25 4.667A.768.768 0 016 6a.768.768 0 01-.527-.198L.223 1.135A.608.608 0 010 .667C0 .487.074.33.223.197A.768.768 0 01.75 0h10.5c.203 0 .379.066.527.198z", fill: "currentColor", "fill-rule": "evenodd" })));
|
|
2247
|
+
}
|
|
2248
|
+
};
|
|
2249
|
+
IconCaretDown.style = DigiIconCaretDownStyle0;
|
|
2250
|
+
|
|
2251
|
+
const iconCaretUpCss = ".sc-digi-icon-caret-up-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-caret-up-h svg.sc-digi-icon-caret-up{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
2252
|
+
const DigiIconCaretUpStyle0 = iconCaretUpCss;
|
|
2253
|
+
|
|
2254
|
+
const IconCaretUp = class {
|
|
2255
|
+
constructor(hostRef) {
|
|
2256
|
+
index.registerInstance(this, hostRef);
|
|
2257
|
+
this.afTitle = undefined;
|
|
2258
|
+
this.afDesc = undefined;
|
|
2259
|
+
this.afSvgAriaHidden = true;
|
|
2260
|
+
this.afSvgAriaLabelledby = undefined;
|
|
2261
|
+
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
2262
|
+
}
|
|
2263
|
+
render() {
|
|
2264
|
+
return (index.h("svg", { key: '760d6e6b80959aaee7ee8f307c2590be3f3de85b', class: "digi-icon-caret-up", width: "12", height: "7", viewBox: "0 0 12 7", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
2265
|
+
? this.afSvgAriaLabelledby
|
|
2266
|
+
: this.afTitle
|
|
2267
|
+
? this.titleId
|
|
2268
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: 'b2d30a6233f5f50114606f5361228ecf2f901f85', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: '53e7007bd6b1dc31d913a48c71b4b649e82ba894' }, this.afDesc), index.h("path", { key: '8c8438b6bf981bc77882eb6e1e83e28f63cc60fb', class: "digi-icon-caret-up__shape", d: "M11.777 5.65A.608.608 0 0112 6.12c0 .18-.074.337-.223.469a.768.768 0 01-.527.198H.75a.768.768 0 01-.527-.198A.608.608 0 010 6.119c0-.18.074-.337.223-.469L5.473.984A.768.768 0 016 .786c.203 0 .379.066.527.198l5.25 4.666z", fill: "currentColor", "fill-rule": "evenodd" })));
|
|
2269
|
+
}
|
|
2270
|
+
};
|
|
2271
|
+
IconCaretUp.style = DigiIconCaretUpStyle0;
|
|
2272
|
+
|
|
2273
|
+
const iconChartCss = ".sc-digi-icon-chart-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-chart-h svg.sc-digi-icon-chart{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
2274
|
+
const DigiIconChartStyle0 = iconChartCss;
|
|
2275
|
+
|
|
2276
|
+
const IconChart = class {
|
|
2277
|
+
constructor(hostRef) {
|
|
2278
|
+
index.registerInstance(this, hostRef);
|
|
2279
|
+
this.afTitle = undefined;
|
|
2280
|
+
this.afDesc = undefined;
|
|
2281
|
+
this.afSvgAriaHidden = true;
|
|
2282
|
+
this.afSvgAriaLabelledby = undefined;
|
|
2283
|
+
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
2284
|
+
}
|
|
2285
|
+
render() {
|
|
2286
|
+
return (index.h("svg", { key: '49381e424db9493376da3795eec0328cd4996865', width: "56", height: "62", viewBox: "0 0 56 62", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
2287
|
+
? this.afSvgAriaLabelledby
|
|
2288
|
+
: this.afTitle
|
|
2289
|
+
? this.titleId
|
|
2290
|
+
: undefined }, index.h("title", { key: '2ac643086eba86797c96d4fc38509fce464aef57' }, "Chart"), this.afTitle && index.h("title", { key: '94ec0760c6df319132dd2d0d4080d19e99da13ac', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: '619a23ab4abedbddc53c5a54069936d8b8809ead' }, this.afDesc), index.h("defs", { key: '4a2d13da41449331733d94130e9c2eec15a297bf' }, index.h("polygon", { key: '6fddba10a5210b68be547e057632915591ea4ac6', id: "path-1", points: "19.8389256 11.2318841 34.4403749 11.2318841 34.4403749 42.2318841 19.8389256 42.2318841" }), index.h("polygon", { key: '7d1431fc9795cd30cfad9b79e668ae7ae5d5d6db', id: "path-3", points: "-0.846460828 -19.7681159 53.908974 -19.7681159 53.908974 -0.393115942 -0.846460828 -0.393115942" })), index.h("g", { key: 'da99c7c359c18f717e3c518fa677ce3c462a6c11', id: "Ikonguide", stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, index.h("g", { key: 'a0e3944ab9b0195b455bd5070a59619b8bb7deae', transform: "translate(-1012.000000, -804.000000)", id: "Chart" }, index.h("g", { key: '46d262185468edbc32107cd67604273b6d08e5b9', transform: "translate(1013.063248, 823.768116)" }, index.h("g", { key: 'e851ea1020eb8e5f0262ad4341de797a9367e4c6', id: "Group", transform: "translate(-0.000000, 0.000000)" }, index.h("path", { key: '3fad1b5a6c6e3b25e2660486f7983c244e963bcf', d: "M11.2871933,17.0724638 L3.19179715,17.0724638 C1.47642907,17.0724638 0.0891563449,18.5157634 0.0891563449,20.3004089 L0,39.003939 C0,40.7885845 1.38727273,42.2318841 3.1026408,42.2318841 L11.1980369,42.2318841 C12.913405,42.2318841 14.3006777,40.7885845 14.3006777,39.003939 L14.3898341,20.3004089 C14.3898341,18.5157634 12.9989951,17.0724638 11.2871933,17.0724638", id: "Fill-1", fill: "currentColor" }), index.h("path", { key: '3291ffeda1bf2f0cb4b748c44e6725198307a15c', d: "M31.292107,11.2318841 L23.077661,11.2318841 C21.3370669,11.2318841 19.9293931,12.6247 19.9293931,14.3469222 L19.8389256,39.1168459 C19.8389256,40.8354877 21.2465994,42.2318841 22.9871935,42.2318841 L31.2016396,42.2318841 C32.9422337,42.2318841 34.3499075,40.8354877 34.3499075,39.1168459 L34.4403749,14.3469222 C34.4403749,12.6247 33.0290824,11.2318841 31.292107,11.2318841", id: "Fill-3", fill: "currentColor" }), index.h("path", { key: '115ea0659bd4c07b236746f83fc13114914cd943', d: "M51.0899571,0 L43.0444095,0 C41.339604,0 39.9608736,1.42791855 39.9608736,3.19354534 L39.7836589,39.0420095 C39.7836589,40.8039655 41.1659336,42.2318841 42.8671948,42.2318841 L50.9162867,42.2318841 C52.6175479,42.2318841 53.9962783,40.8039655 53.9962783,39.0420095 L54.173493,3.19354534 C54.173493,1.42791855 52.7912183,0 51.0899571,0", id: "Fill-6", fill: "currentColor" }), index.h("polygon", { key: 'f177140c61e7aaaf4d4e13fc4ac6b6e9d8b4486a', id: "path-1", points: "19.8389256 11.2318841 34.4403749 11.2318841 34.4403749 42.2318841 19.8389256 42.2318841" }), index.h("g", { key: '9c7ed481fa12a725c37e611066e4288c93fb0f1b', id: "Clip-4" }), index.h("polygon", { key: '31d1a41e4057eb4c1dee2f260e8cf7431fc03570', id: "path-3", points: "-0.846460828 -19.7681159 53.908974 -19.7681159 53.908974 -0.393115942 -0.846460828 -0.393115942" }), index.h("g", { key: '6eb2d4fcd2a590a3dbf42110db739913f936e87a', id: "Clip-9" }), index.h("path", { key: 'be545437d42e976d3ec8c4f7104bb59006702a81', d: "M2.64246183,-0.393115942 L24.287738,-0.393115942 C24.783165,-0.393115942 25.2716142,-0.501190406 25.7216852,-0.713736852 L51.853716,-12.8829215 C53.6086441,-13.6970825 54.3936517,-15.8297519 53.5981773,-17.6454029 C52.8027029,-19.4610539 50.7372607,-20.2680099 48.9858215,-19.4466439 L23.5376196,-7.59808021 L2.64246183,-7.59808021 C0.716576525,-7.59808021 -0.846460828,-5.98777069 -0.846460828,-3.99559807 C-0.846460828,-2.00342546 0.716576525,-0.393115942 2.64246183,-0.393115942", id: "Fill-8", fill: "currentColor", mask: "url(#mask-4)" })))))));
|
|
2291
|
+
}
|
|
2292
|
+
};
|
|
2293
|
+
IconChart.style = DigiIconChartStyle0;
|
|
2294
|
+
|
|
625
2295
|
const iconMinusCss = ".sc-digi-icon-minus-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-minus-h svg.sc-digi-icon-minus{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
626
2296
|
const DigiIconMinusStyle0 = iconMinusCss;
|
|
627
2297
|
|
|
@@ -635,11 +2305,11 @@ const IconMinus = class {
|
|
|
635
2305
|
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
636
2306
|
}
|
|
637
2307
|
render() {
|
|
638
|
-
return (index.h("svg", { key: '
|
|
2308
|
+
return (index.h("svg", { key: 'df3b391df11c73716f7c3e92a83559c9698fcd88', class: "digi-icon-minus", width: "22", height: "26", viewBox: "0 0 22 26", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
639
2309
|
? this.afSvgAriaLabelledby
|
|
640
2310
|
: this.afTitle
|
|
641
2311
|
? this.titleId
|
|
642
|
-
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '
|
|
2312
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '777efa47027c7800c2b998c86536c51b5a3ed126', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'ac834cf3f5cb13176e11bc0797fe81575aa9196e' }, this.afDesc), index.h("path", { key: '4959d33361d854aae8a5f56b72fb93d6957d2051', class: "digi-icon-minus__shape", d: "M21.2,13c0,0.7-0.5,1.2-1.2,1.2H2c-0.7,0-1.2-0.5-1.2-1.2c0-0.6,0.5-1.2,1.2-1.2H20C20.7,11.8,21.2,12.4,21.2,13z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
643
2313
|
}
|
|
644
2314
|
};
|
|
645
2315
|
IconMinus.style = DigiIconMinusStyle0;
|
|
@@ -657,15 +2327,37 @@ const IconPlus = class {
|
|
|
657
2327
|
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
658
2328
|
}
|
|
659
2329
|
render() {
|
|
660
|
-
return (index.h("svg", { key: '
|
|
2330
|
+
return (index.h("svg", { key: 'b6afe6a97d954ac433185ccbd7bbd01f07440752', class: "digi-icon-plus", width: "22", height: "26", viewBox: "0 0 22 26", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
661
2331
|
? this.afSvgAriaLabelledby
|
|
662
2332
|
: this.afTitle
|
|
663
2333
|
? this.titleId
|
|
664
|
-
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '
|
|
2334
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '09c039e783e217a1f34207d1c8aa2270042c2671', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'db57e12e8bd44bb7f1be5ad9fbd3e200011ddb1e' }, this.afDesc), index.h("path", { key: '3836bedd90174e5341bcb3f15936998fef71fc5e', class: "digi-icon-plus__shape", d: "M21.6,13c0,0.7-0.5,1.2-1.2,1.2h-7.9V22c0,0.7-0.5,1.2-1.2,1.2s-1.2-0.5-1.2-1.2v-7.9H2.3c-0.7,0-1.2-0.5-1.2-1.2 c0-0.6,0.5-1.2,1.2-1.2h7.9V4c0-0.7,0.5-1.2,1.2-1.2s1.2,0.5,1.2,1.2v7.9h7.9C21.1,11.8,21.6,12.4,21.6,13z", fill: "currentColor", "fill-rule": "nonzero" })));
|
|
665
2335
|
}
|
|
666
2336
|
};
|
|
667
2337
|
IconPlus.style = DigiIconPlusStyle0;
|
|
668
2338
|
|
|
2339
|
+
const iconTableCss = ".sc-digi-icon-table-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-table-h svg.sc-digi-icon-table{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
2340
|
+
const DigiIconTableStyle0 = iconTableCss;
|
|
2341
|
+
|
|
2342
|
+
const IconTable = class {
|
|
2343
|
+
constructor(hostRef) {
|
|
2344
|
+
index.registerInstance(this, hostRef);
|
|
2345
|
+
this.afTitle = undefined;
|
|
2346
|
+
this.afDesc = undefined;
|
|
2347
|
+
this.afSvgAriaHidden = true;
|
|
2348
|
+
this.afSvgAriaLabelledby = undefined;
|
|
2349
|
+
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
2350
|
+
}
|
|
2351
|
+
render() {
|
|
2352
|
+
return (index.h("svg", { key: '4786db5378097c489981fcc788b6560d6bf38f1d', class: "digi-icon-table", width: "62px", height: "62px", viewBox: "0 0 62 62", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
2353
|
+
? this.afSvgAriaLabelledby
|
|
2354
|
+
: this.afTitle
|
|
2355
|
+
? this.titleId
|
|
2356
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg", fill: "currentColor" }, this.afTitle && index.h("title", { key: 'c27b559e06da683825686a6ae9d4e76e7b152f17', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'aec9b5919da2ae9fd6bcd754408c2777164a6dd1' }, this.afDesc), index.h("defs", { key: '751e36ccf6e127f1c74206d7fef08a7d480ffca3' }, index.h("polygon", { key: '5b0a978a3a0c8afbbed7edfb6f1db2791942d8fa', points: "0 62 62 62 62 0 0 0" })), index.h("g", { key: '2367bb2a0f352c6f9182c9fddd3b6a3eab3fd3bb', stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, index.h("g", { key: 'd265f8643ea91dcdef194d07582e3b516960609d', transform: "translate(-302, -975)" }, index.h("g", { key: 'ce3c7606bb9d95bffd0556a3d151ef35b28814ee', transform: "translate(302, 975)" }, index.h("polygon", { key: 'af7c3c21ac726d85d521b09ff55f2a76529ae97f', fill: "currentColor", points: "29.6502083 9.05264249 32.3497917 9.05264249 32.3497917 6.36704663 29.6502083 6.36704663" }), index.h("g", { key: '13046d43c2c6fe73bb9fb97da24a40b6a068f564' }, index.h("path", { key: '62280c648b9684305a85971e63eafc6adeea4a9d', d: "M35.3073208,0 L26.6931958,0 C24.7918625,0 23.2496125,1.53297409 23.2496125,3.42574093 L23.2496125,11.9939482 C23.2496125,13.886715 24.7918625,15.4196891 26.6931958,15.4196891 L35.3073208,15.4196891 C37.2086542,15.4196891 38.7496125,13.886715 38.7496125,11.9939482 L38.7496125,3.42574093 C38.7496125,1.53297409 37.2086542,0 35.3073208,0", fill: "currentColor" }), index.h("polygon", { key: '714427db3379130626bce5c7df190d05afd4f3f6', fill: "currentColor", points: "6.40020833 9.05264249 9.09979167 9.05264249 9.09979167 6.36704663 6.40020833 6.36704663" }), index.h("path", { key: '9ec058b7bc95aa07fbeff80fbd6e79858d25bbfc', d: "M12.0573208,0 L3.44319583,0 C1.5418625,0 -0.0003875,1.53297409 -0.0003875,3.42574093 L-0.0003875,11.9939482 C-0.0003875,13.886715 1.5418625,15.4196891 3.44319583,15.4196891 L12.0573208,15.4196891 C13.9586542,15.4196891 15.4996125,13.886715 15.4996125,11.9939482 L15.4996125,3.42574093 C15.4996125,1.53297409 13.9586542,0 12.0573208,0", fill: "currentColor" }), index.h("polygon", { key: '2eb725f13c84b5db12c18d55a6bfb820772bafff', fill: "currentColor", points: "52.9002083 9.05264249 55.5997917 9.05264249 55.5997917 6.36704663 52.9002083 6.36704663" }), index.h("path", { key: 'db21e2a9b2ae335453ee3189611cef6041524b9b', d: "M58.5573208,0 L49.9431958,0 C48.0418625,0 46.4996125,1.53297409 46.4996125,3.42574093 L46.4996125,11.9939482 C46.4996125,13.886715 48.0418625,15.4196891 49.9431958,15.4196891 L58.5573208,15.4196891 C60.4586542,15.4196891 61.9996125,13.886715 61.9996125,11.9939482 L61.9996125,3.42574093 C61.9996125,1.53297409 60.4586542,0 58.5573208,0", fill: "currentColor" }), index.h("polygon", { key: '481832a7ad184666e28445ba00b032f5be25579a', fill: "currentColor", points: "29.6502083 55.6329534 32.3497917 55.6329534 32.3497917 52.9473575 29.6502083 52.9473575" }), index.h("path", { key: 'dbaca07a25078adbedeeec302c9bb452017949e5', d: "M35.3073208,46.5803109 L26.6931958,46.5803109 C24.7918625,46.5803109 23.2496125,48.113285 23.2496125,50.0060518 L23.2496125,58.5742591 C23.2496125,60.4670259 24.7918625,62 26.6931958,62 L35.3073208,62 C37.2086542,62 38.7496125,60.4670259 38.7496125,58.5742591 L38.7496125,50.0060518 C38.7496125,48.113285 37.2086542,46.5803109 35.3073208,46.5803109", fill: "currentColor" }), index.h("polygon", { key: '3acdf59fe7528cb8ca70e4544f9c3f25b08ee18a', fill: "currentColor", points: "6.40020833 55.6329534 9.09979167 55.6329534 9.09979167 52.9473575 6.40020833 52.9473575" }), index.h("path", { key: '9ee20aa7857de556eb7934892a266cc5d92d8588', d: "M12.0573208,46.5803109 L3.44319583,46.5803109 C1.5418625,46.5803109 -0.0003875,48.113285 -0.0003875,50.0060518 L-0.0003875,58.5742591 C-0.0003875,60.4670259 1.5418625,62 3.44319583,62 L12.0573208,62 C13.9586542,62 15.4996125,60.4670259 15.4996125,58.5742591 L15.4996125,50.0060518 C15.4996125,48.113285 13.9586542,46.5803109 12.0573208,46.5803109", fill: "currentColor" }), index.h("polygon", { key: 'c751893e0c7b38a65ea0a4e5f6cd99525436b4a7', fill: "currentColor", points: "52.9002083 55.6329534 55.5997917 55.6329534 55.5997917 52.9473575 52.9002083 52.9473575" }), index.h("path", { key: 'ff673950c5f2f196e99ab2fa450bf845746669b1', d: "M58.5573208,46.5803109 L49.9431958,46.5803109 C48.0418625,46.5803109 46.4996125,48.113285 46.4996125,50.0060518 L46.4996125,58.5742591 C46.4996125,60.4670259 48.0418625,62 49.9431958,62 L58.5573208,62 C60.4586542,62 61.9996125,60.4670259 61.9996125,58.5742591 L61.9996125,50.0060518 C61.9996125,48.113285 60.4586542,46.5803109 58.5573208,46.5803109", fill: "currentColor" }), index.h("polygon", { key: '4f671379f8d4f90c97152a8827647c1f35a71964', fill: "currentColor", points: "29.6502083 32.3427979 32.3497917 32.3427979 32.3497917 29.6572021 29.6502083 29.6572021" }), index.h("path", { key: 'c81fed8a00122a0ae2a9dac6e264dd29166b4f5d', d: "M35.3073208,23.2901554 L26.6931958,23.2901554 C24.7918625,23.2901554 23.2496125,24.8231295 23.2496125,26.7158964 L23.2496125,35.2841036 C23.2496125,37.1768705 24.7918625,38.7098446 26.6931958,38.7098446 L35.3073208,38.7098446 C37.2086542,38.7098446 38.7496125,37.1768705 38.7496125,35.2841036 L38.7496125,26.7158964 C38.7496125,24.8231295 37.2086542,23.2901554 35.3073208,23.2901554", fill: "currentColor" }), index.h("polygon", { key: 'b8f5e6c5401efe1a6446548adcdc30c775e6a266', fill: "currentColor", points: "6.40020833 32.3427979 9.09979167 32.3427979 9.09979167 29.6572021 6.40020833 29.6572021" }), index.h("path", { key: '1ee7b68064ea19a418cdfc80a16f4872848833ff', d: "M12.0573208,23.2901554 L3.44319583,23.2901554 C1.5418625,23.2901554 -0.0003875,24.8231295 -0.0003875,26.7158964 L-0.0003875,35.2841036 C-0.0003875,37.1768705 1.5418625,38.7098446 3.44319583,38.7098446 L12.0573208,38.7098446 C13.9586542,38.7098446 15.4996125,37.1768705 15.4996125,35.2841036 L15.4996125,26.7158964 C15.4996125,24.8231295 13.9586542,23.2901554 12.0573208,23.2901554", fill: "currentColor" }), index.h("polygon", { key: '10ea08dca37173581899e07cdc0a97d9d493945d', fill: "currentColor", points: "52.9002083 32.3427979 55.5997917 32.3427979 55.5997917 29.6572021 52.9002083 29.6572021" }), index.h("path", { key: 'e33ffe9dc393ad3389b0f43b84fa5cf2dbc45620', d: "M58.5573208,23.2901554 L49.9431958,23.2901554 C48.0418625,23.2901554 46.4996125,24.8231295 46.4996125,26.7158964 L46.4996125,35.2841036 C46.4996125,37.1768705 48.0418625,38.7098446 49.9431958,38.7098446 L58.5573208,38.7098446 C60.4586542,38.7098446 61.9996125,37.1768705 61.9996125,35.2841036 L61.9996125,26.7158964 C61.9996125,24.8231295 60.4586542,23.2901554 58.5573208,23.2901554", fill: "currentColor" })))))));
|
|
2357
|
+
}
|
|
2358
|
+
};
|
|
2359
|
+
IconTable.style = DigiIconTableStyle0;
|
|
2360
|
+
|
|
669
2361
|
const iconXCss = ".sc-digi-icon-x-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-x-h svg.sc-digi-icon-x{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
|
|
670
2362
|
const DigiIconXStyle0 = iconXCss;
|
|
671
2363
|
|
|
@@ -679,11 +2371,11 @@ const IconX = class {
|
|
|
679
2371
|
this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
|
|
680
2372
|
}
|
|
681
2373
|
render() {
|
|
682
|
-
return (index.h("svg", { key: '
|
|
2374
|
+
return (index.h("svg", { key: 'dc4b27f5543f593528e96f621a3ff96ddc83eca1', class: "digi-icon-x", width: "12", height: "12", viewBox: "0 0 12 12", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
|
|
683
2375
|
? this.afSvgAriaLabelledby
|
|
684
2376
|
: this.afTitle
|
|
685
2377
|
? this.titleId
|
|
686
|
-
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '
|
|
2378
|
+
: undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '43a1d6c995f701463b8626942f9ba74bbf590391', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'b9e9fec06868fa57363d2fc3af7de658013d5500' }, this.afDesc), index.h("g", { key: 'b54d2c345a9dbdc5059155e5f6866930412d1785', class: "digi-icon-x__shape", stroke: "currentColor", "stroke-width": "2", fill: "none", "fill-rule": "evenodd", "stroke-linecap": "square" }, index.h("path", { key: '31040e7163a437c4d35fefe71d1dc7c0c029cc0c', d: "M2 2l7.986 7.986M9.986 2L2 9.986" }))));
|
|
687
2379
|
}
|
|
688
2380
|
};
|
|
689
2381
|
IconX.style = DigiIconXStyle0;
|
|
@@ -718,7 +2410,7 @@ const LayoutBlock = class {
|
|
|
718
2410
|
};
|
|
719
2411
|
}
|
|
720
2412
|
render() {
|
|
721
|
-
return (index.h("div", { key: '
|
|
2413
|
+
return (index.h("div", { key: 'fed69dbc68c86a1e48b16c2954e9044e102c976d', class: Object.assign({ 'digi-layout-block': true }, this.cssModifiers) }, this._container === typographyVariation_enum.LayoutBlockContainer.NONE ? (index.h(index.Fragment, null, index.h("slot", null))) : (index.h("digi-layout-container", { afVariation: this._container, "af-vertical-padding": this.afVerticalPadding, "af-margin-top": this.afMarginTop, "af-margin-bottom": this.afMarginBottom }, index.h("slot", null)))));
|
|
722
2414
|
}
|
|
723
2415
|
static get watchers() { return {
|
|
724
2416
|
"afContainer": ["containerChangeHandler"]
|
|
@@ -762,7 +2454,7 @@ const LayoutContainer = class {
|
|
|
762
2454
|
};
|
|
763
2455
|
}
|
|
764
2456
|
render() {
|
|
765
|
-
return (index.h("div", { key: '
|
|
2457
|
+
return (index.h("div", { key: '64b3b3ea7da2545fc8d46491b2c6de903b853e40', class: Object.assign({}, this.cssModifiers) }, index.h("slot", { key: 'd4f23bb4362e9edfb3575a7cbdceaaf1e04b68e8' })));
|
|
766
2458
|
}
|
|
767
2459
|
static get watchers() { return {
|
|
768
2460
|
"afVariation": ["variationChangeHandler"]
|
|
@@ -851,11 +2543,11 @@ const MediaImage = class {
|
|
|
851
2543
|
};
|
|
852
2544
|
}
|
|
853
2545
|
render() {
|
|
854
|
-
return (index.h("host", { key: '
|
|
2546
|
+
return (index.h("host", { key: '0700225082606909705a197d31e633e38ca0061e' }, index.h("div", { key: '446b1d9d42d5953913d03aaa88091af0cb75866c', class: Object.assign({ 'digi-media-image': true }, this.cssModifiers), style: {
|
|
855
2547
|
'--digi--media-image--width': this.afWidth
|
|
856
2548
|
? `${this.afWidth}px`
|
|
857
2549
|
: null
|
|
858
|
-
} }, index.h("digi-util-intersection-observer", { key: '
|
|
2550
|
+
} }, index.h("digi-util-intersection-observer", { key: '1a91202f732bb74d1662ea2cbe4d1f9f8b92210b', class: "digi-media-image__observer", onAfOnIntersect: () => this.intersectHandler(), afOnce: true, afOptions: this.afObserverOptions }), this.hasAspectRatio && (index.h("div", { key: '1ed01d18e9f561d7c8ff503c5e657389a1eb5331', class: "digi-media-image__padded-box", style: this.cssInlineStyles })), index.h("img", { key: '13cb1cc60eb37ab68e512bbccc3a1f5dc6acb29d', class: "digi-media-image__image", onLoad: (e) => this.loadHandler(e), src: this.src, alt: this.afAlt, "aria-label": this.afAriaLabel, height: this.afHeight, srcset: this.srcset, title: this.afTitle, width: this.afWidth, loading: this.afUnlazy ? 'eager' : 'lazy' }))));
|
|
859
2551
|
}
|
|
860
2552
|
static get watchers() { return {
|
|
861
2553
|
"afSrc": ["srcChangeHandler"]
|
|
@@ -880,7 +2572,7 @@ const NavigationSidebarButton = class {
|
|
|
880
2572
|
this.afOnToggle.emit(this.isActive);
|
|
881
2573
|
}
|
|
882
2574
|
render() {
|
|
883
|
-
return (index.h("digi-button", { key: '
|
|
2575
|
+
return (index.h("digi-button", { key: 'bb1d17280dbfbc8d0bd4fe3e889eb9e3f3872554', id: this.afId, class: "digi-navigation-sidebar-button", "af-variation": "function", "af-aria-label": this.afAriaLabel, onClick: () => this.toggleHandler() }, this.afText, index.h("digi-icon-bars", { key: '63777a5cae4260234a8473efc3a2a5c3ee997aa7', slot: "icon" })));
|
|
884
2576
|
}
|
|
885
2577
|
};
|
|
886
2578
|
NavigationSidebarButton.style = DigiNavigationSidebarButtonStyle0;
|
|
@@ -1046,7 +2738,7 @@ const NavigationVerticalMenu = class {
|
|
|
1046
2738
|
};
|
|
1047
2739
|
}
|
|
1048
2740
|
render() {
|
|
1049
|
-
return (index.h("nav", { key: '
|
|
2741
|
+
return (index.h("nav", { key: '707f9bd95de39cba4ef04b193ededcb3ed554a60', class: Object.assign({ 'digi-navigation-vertical-menu': true }, this.cssModifiers), id: this.afId, "aria-label": this.afAriaLabel }, index.h("slot", { key: 'd061ffc5128d73222b7c5221655de7ac89b54828' })));
|
|
1050
2742
|
}
|
|
1051
2743
|
get hostElement() { return index.getElement(this); }
|
|
1052
2744
|
};
|
|
@@ -1167,24 +2859,24 @@ const NavigationVerticalMenuItem = class {
|
|
|
1167
2859
|
}
|
|
1168
2860
|
}
|
|
1169
2861
|
render() {
|
|
1170
|
-
return (index.h("host", { key: '
|
|
2862
|
+
return (index.h("host", { key: '49aa08ddb4869607c0e082fe2f191a7d43682e02', class: {
|
|
1171
2863
|
'digi-navigation-vertical-menu-item--has-subnav': this.hasSubnav,
|
|
1172
2864
|
'digi-navigation-vertical-menu-item--active-subnav': this.activeSubnav
|
|
1173
|
-
} }, index.h("div", { key: '
|
|
2865
|
+
} }, index.h("div", { key: 'd9756b71f2e97881fc219982ffff5b1c5773c469', class: Object.assign({ 'digi-navigation-vertical-menu-item': true }, this.cssModifiers) }, this.hasSubnav && this.afHref && (index.h("div", { key: '97bda7e01039ead9ed4183de3872b6e211a4afcd', class: "digi-navigation-vertical-menu-item__inner digi-navigation-vertical-menu-item__inner--combined" }, index.h("a", { key: '2230aef6d565381986f006c9d783467a2f212fb4', id: `${this.afId}-link`, href: this.afHref, class: {
|
|
1174
2866
|
'digi-navigation-vertical-menu-item__link': true,
|
|
1175
2867
|
'digi-navigation-vertical-menu-item__has-subnav': true,
|
|
1176
2868
|
'digi-navigation-vertical-menu-item__link--active': this.isActive,
|
|
1177
2869
|
'digi-navigation-vertical-menu-item__link--expanded': this.activeSubnav
|
|
1178
|
-
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '
|
|
2870
|
+
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '4679ce4fced2a92439b22a30fecc2b12fda75a3e', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, index.h("slot", { key: 'e4220f646544acb4b683645828bb1d3cfe962e6e', name: "icon" })), index.h("span", { key: '4871eea272d8c693525e44b6412c5cd8441011d2', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), index.h("div", { key: 'c1bcaa36115dc4162e1363d000b0c56ec6c9da71', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, index.h("slot", { key: '1726fe5f4d6986202b6a0a8d857cf298c0187b6d', name: "badge" }))), index.h("button", { key: 'f889f0b40a91c3383f7bc4776e315b9f05fb6077', type: "button", id: `${this.afId}-toggle-button`, class: {
|
|
1179
2871
|
'digi-navigation-vertical-menu-item__button digi-navigation-vertical-menu-item__button--toggle': true,
|
|
1180
2872
|
'digi-navigation-vertical-menu-item__button--active': this.isActive
|
|
1181
|
-
}, onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', "aria-label": `${this.toggleButtonText} ${this.afText}` }, index.h("span", { key: '
|
|
2873
|
+
}, onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', "aria-label": `${this.toggleButtonText} ${this.afText}` }, index.h("span", { key: 'd2c152b11155990747050e5acc78e0b5b6f50c56', class: "digi-navigation-vertical-menu-item__toggle-icon" }, index.h("span", { key: '96506ad5c333b6435d983ca08dbafc737b6bed65', class: "icon" }, this.toggleIcon))))), this.hasSubnav && !this.afHref && (index.h("div", { key: '09118924d7fc105c4c3f874acd9753dcdd5336a7', class: "digi-navigation-vertical-menu-item__inner" }, index.h("button", { key: '4c40fc170c3652c1f9b161c808678e8e90c6ec90', id: `${this.afId}-toggle-button`, class: "digi-navigation-vertical-menu-item__button digi-navigation-vertical-menu-item__button--only-toggle", onClick: (e) => this.clickHandler(e), "aria-controls": `${this.afId}-collapse-menu`, "aria-expanded": this.activeSubnav ? 'true' : 'false', type: "button" }, index.h("span", { key: 'de2993434859e557bc50d2533f3e17dd717a8ae3', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, index.h("slot", { key: '8c8ed94ef19e7ad6c1123a398bcc73c9515163c5', name: "icon" })), index.h("span", { key: '4137fee1a296d4125f0d67b8eb5264089a16cdb2', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), index.h("div", { key: '80b66cf648e4c8f9ce2dba5c9b1cb3d8a452fd1d', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, index.h("slot", { key: '059cded27f0e4fec6dba9799766f9ac6839a3815', name: "badge" })), index.h("span", { key: '0bb64b392dc3faedc7627d779a8f73e87cc827f7', class: "digi-navigation-vertical-menu-item__toggle-icon" }, index.h("span", { key: '5cfaf39da6d8f3cc9377db4f111c046d0c719111' }, this.toggleIcon))))), !this.hasSubnav && (index.h("div", { key: 'bb89a5b1dd0bc2e29a32f913a5bb5de07e53cacf', class: "digi-navigation-vertical-menu-item__inner" }, !this.isActive && (index.h("a", { key: '68bd1309d87a81d0d4d37c601b7cfba140c9e364', id: `${this.afId}-link`, href: this.afHref, class: {
|
|
1182
2874
|
'digi-navigation-vertical-menu-item__link': true,
|
|
1183
2875
|
'digi-navigation-vertical-menu-item__link--active': this.isActive
|
|
1184
|
-
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '
|
|
2876
|
+
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '09c92641eaac60d11ffa73fcd72479b06f982239', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, index.h("slot", { key: '7bf307c7af01c7e26aed7b0f9df0c0296c073b93', name: "icon" })), index.h("span", { key: '9889e0ed126b1267e74e38d06041bdbf646069e0', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), index.h("div", { key: 'd02acd695ac86a1b833c3cb56dda435ce5adc52b', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, index.h("slot", { key: '61810faa0ded36b125b6fc373f21573277c5887c', name: "badge" })))), this.isActive && (index.h("a", { key: '269cc3b0890d2acadaba53ff95a13c03dac7a59c', id: `${this.afId}-link`, href: this.afHref, "aria-current": this.afAriaCurrent, class: {
|
|
1185
2877
|
'digi-navigation-vertical-menu-item__link': true,
|
|
1186
2878
|
'digi-navigation-vertical-menu-item__link--active': this.isActive
|
|
1187
|
-
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '
|
|
2879
|
+
}, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: 'a0210c47b9d693708b643a7d507f11238250b6eb', class: "digi-navigation-vertical-menu-item__icon", "aria-hidden": "true", hidden: !this.hasIcon }, index.h("slot", { key: 'f055e1d5a0d043014b3d328db388d57e4c8830b5', name: "icon" })), index.h("span", { key: 'bfb4e9081287bc48964e5d228a97e13d92b0ee55', class: "digi-navigation-vertical-menu-item__text", lang: this.afLang }, this.afText), index.h("div", { key: '926081417f5d2b4315ae1a574a21e61cd8844fd2', class: "digi-navigation-vertical-menu-item__badge", hidden: !this.hasBadge }, index.h("slot", { key: '7326fa2dd373941428968576f5c024ee4dcb0dc4', name: "badge" })))))))));
|
|
1188
2880
|
}
|
|
1189
2881
|
get hostElement() { return index.getElement(this); }
|
|
1190
2882
|
static get watchers() { return {
|
|
@@ -1265,7 +2957,7 @@ const TitleLogo = class {
|
|
|
1265
2957
|
};
|
|
1266
2958
|
}
|
|
1267
2959
|
render() {
|
|
1268
|
-
return (index.h("div", { key: '
|
|
2960
|
+
return (index.h("div", { key: '4d21cfa7a3059c4538bb5f6fa47a0d8d1c0c1182', class: Object.assign({ 'digi-title-logo': true }, this.cssModifiers) }, index.h("digi-util-breakpoint-observer", { key: '39dd873abfd559823d5d0c88a277b2328dbd1835', onAfOnChange: (e) => this.handleBreakpointObserver(e) }), index.h("div", { key: 'a0947125f614676368e66fcbf598ae2204fac7b6', class: "digi-title-logo-symbol" }, index.h("svg", { key: 'bb4f84686aa5bebeb54f28ed5830d1354ca613dc', viewBox: "0 0 44 44", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img" }, index.h("path", { key: 'beede4168eae81ae996e1ac11076726d438c1a46', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15.0076 6.97426V0C31.0194 0 44 12.9056 44 28.8261C44 34.3951 42.4073 39.5923 39.6561 44L33.8019 40.1595C35.822 36.8551 36.9855 32.9758 36.9855 28.8261C36.9855 16.7575 27.1458 6.97426 15.0076 6.97426ZM6.99059 28.8257C6.99059 33.2284 10.5795 36.7972 15.0076 36.7972C19.4356 36.7972 23.0245 33.2284 23.0245 28.8257C23.0245 24.4235 19.4356 20.8548 15.0076 20.8548C10.5795 20.8548 6.99059 24.4235 6.99059 28.8257ZM0 28.8257C0 20.5853 6.71916 13.9047 15.0076 13.9047C23.296 13.9047 30.0151 20.5853 30.0151 28.8257C30.0151 37.0666 23.296 43.7472 15.0076 43.7472C6.71916 43.7472 0 37.0666 0 28.8257Z", class: "main-symbol" }))), index.h("div", { key: '77b5dcb0ea016fea68c2e931a2c0386b02df4988', class: "digi-title-logo-name-wrapper" }, index.h("slot", { key: '74d5ffcfa2c12b93d6481ffe4c55352d1dea08c5', name: "logo-one-row" }), index.h("slot", { key: '507bf4855ca57002715eef469a61f65c725f520a', name: "logo-two-rows" }))));
|
|
1269
2961
|
}
|
|
1270
2962
|
get hostElement() { return index.getElement(this); }
|
|
1271
2963
|
};
|
|
@@ -1285,54 +2977,11 @@ const Typography = class {
|
|
|
1285
2977
|
};
|
|
1286
2978
|
}
|
|
1287
2979
|
render() {
|
|
1288
|
-
return (index.h("div", { key: '
|
|
2980
|
+
return (index.h("div", { key: 'c88e6cbcee677d822129d9d1362550ccdb416b9d', class: Object.assign({ 'digi-typography': true }, this.cssModifiers) }, index.h("slot", { key: '77c9dcc0760ad6b743c852b900a82315dc992583' })));
|
|
1289
2981
|
}
|
|
1290
2982
|
};
|
|
1291
2983
|
Typography.style = DigiTypographyStyle0;
|
|
1292
2984
|
|
|
1293
|
-
const typographyHeadingJumboCss = ".sc-digi-typography-heading-jumbo-h{display:block}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop);font-family:var(--digi--global--typography--font-family--default);color:var(--digi--color--text--primary);font-weight:var(--digi--typography--heading-jumbo--font-weight--desktop)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{font-size:var(--digi--typography--heading-jumbo--font-size--desktop-large)}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo{color:var(--digi--grayscale--0)}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{content:\"\";width:11.875rem;height:0.4375rem;background:var(--digi--color--border--accent--primary);display:block;margin-top:var(--digi--padding--small)}@media (min-width: 61.9375rem){.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo::after{width:13.75rem;margin-top:var(--digi--margin--h2-large);height:0.625rem}}.sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo--secondary.sc-digi-typography-heading-jumbo::after{background:var(--digi--color--border--accent--secondary)}digi-typography .sc-digi-typography-heading-jumbo-h .digi-typography-heading-jumbo.sc-digi-typography-heading-jumbo{margin-bottom:var(--digi--margin--medium)}";
|
|
1294
|
-
const DigiTypographyHeadingJumboStyle0 = typographyHeadingJumboCss;
|
|
1295
|
-
|
|
1296
|
-
const TypographyHeadingJumbo = class {
|
|
1297
|
-
constructor(hostRef) {
|
|
1298
|
-
index.registerInstance(this, hostRef);
|
|
1299
|
-
this.afText = '';
|
|
1300
|
-
this.afVariation = undefined;
|
|
1301
|
-
this.afLevel = typographyVariation_enum.TypographyHeadingJumboLevel.H1;
|
|
1302
|
-
this.afLang = 'sv';
|
|
1303
|
-
}
|
|
1304
|
-
/**
|
|
1305
|
-
* Lyssnar på om fokus sätts på custom-elementet och propagerar ner det till själva rubrik-elementet.
|
|
1306
|
-
* @en Listens for when focus is set on the custom element and propagates it down to the actual heading element.
|
|
1307
|
-
*/
|
|
1308
|
-
focusOnHeading() {
|
|
1309
|
-
this.headingElement.focus();
|
|
1310
|
-
}
|
|
1311
|
-
get cssModifiers() {
|
|
1312
|
-
return {
|
|
1313
|
-
'digi-typography-heading-jumbo--primary': this.afVariation === typographyVariation_enum.TypographyHeadingJumboVariation.PRIMARY,
|
|
1314
|
-
'digi-typography-heading-jumbo--secondary': this.afVariation === typographyVariation_enum.TypographyHeadingJumboVariation.SECONDARY
|
|
1315
|
-
};
|
|
1316
|
-
}
|
|
1317
|
-
render() {
|
|
1318
|
-
return (index.h(this.afLevel, { key: '3e7dd74258d680d423a0d3f0ebd7cdd4eaa312ff', ref: (el) => (this.headingElement = el), class: Object.assign({ 'digi-typography-heading-jumbo': true }, this.cssModifiers), lang: this.afLang, tabindex: -1 }, this.afText));
|
|
1319
|
-
}
|
|
1320
|
-
};
|
|
1321
|
-
TypographyHeadingJumbo.style = DigiTypographyHeadingJumboStyle0;
|
|
1322
|
-
|
|
1323
|
-
const typographyPreambleCss = ".sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--preamble--font-size--mobile);font-weight:var(--digi--typography--preamble--font-weight--desktop);line-height:var(--digi--typography--preamble--line-height--mobile);color:var(--digi--color--text--primary);max-width:var(--digi--paragraph-width--medium)}@media (min-width: 61.9375rem){.sc-digi-typography-preamble-h .digi-typography-preamble.sc-digi-typography-preamble{font-size:var(--digi--typography--preamble--font-size--desktop);line-height:var(--digi--typography--preamble--line-height--desktop)}}";
|
|
1324
|
-
const DigiTypographyPreambleStyle0 = typographyPreambleCss;
|
|
1325
|
-
|
|
1326
|
-
const TypographyPreamble = class {
|
|
1327
|
-
constructor(hostRef) {
|
|
1328
|
-
index.registerInstance(this, hostRef);
|
|
1329
|
-
}
|
|
1330
|
-
render() {
|
|
1331
|
-
return (index.h("p", { key: '0b6395ace6b7679213689fa37fd41c5e8c4f5b30', class: "digi-typography-preamble" }, index.h("slot", { key: 'cc20315940fae3c5fe81ff0d8fc76d545e3de817' })));
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
TypographyPreamble.style = DigiTypographyPreambleStyle0;
|
|
1335
|
-
|
|
1336
2985
|
const utilBreakpointObserverCss = ".sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer.sc-digi-util-breakpoint-observer{--SMALL:small;--MEDIUM:medium;--LARGE:large;--XLARGE:xlarge}.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--SMALL);border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;pointer-events:none;transition:transform 0.01s;transform:rotate(0deg)}@media (min-width: 48rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--MEDIUM);transform:rotate(10deg)}}@media (min-width: 61.9375rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--LARGE);transform:rotate(20deg)}}@media (min-width: 75rem){.sc-digi-util-breakpoint-observer-h .digi-util-breakpoint-observer__observer.sc-digi-util-breakpoint-observer{--digi--util-breakpoint-observer--breakpoint:var(--XLARGE);transform:rotate(30deg)}}";
|
|
1337
2986
|
const DigiUtilBreakpointObserverStyle0 = utilBreakpointObserverCss;
|
|
1338
2987
|
|
|
@@ -1367,7 +3016,7 @@ const UtilBreakpointObserver = class {
|
|
|
1367
3016
|
}
|
|
1368
3017
|
}
|
|
1369
3018
|
render() {
|
|
1370
|
-
return (index.h(index.Host, { key: '
|
|
3019
|
+
return (index.h(index.Host, { key: '59950bdecc4b2c75d6f8b32df9172fcb8e517c59' }, index.h("div", { key: 'f4b05fd27069c5e54251021769d5b7cd243eb40a', class: "digi-util-breakpoint-observer" }, index.h("div", { key: 'c4f061b8653523affbdf16373725cd7c28bbc9f1', ref: (el) => (this._observer = el), onTransitionEnd: (e) => this.handleBreakpoint(e), class: "digi-util-breakpoint-observer__observer" }), index.h("slot", { key: 'a66d563c46abb265e3018046cf547f7f0fa2163e' }))));
|
|
1371
3020
|
}
|
|
1372
3021
|
get hostElement() { return index.getElement(this); }
|
|
1373
3022
|
};
|
|
@@ -1431,7 +3080,7 @@ const UtilIntersectionObserver = class {
|
|
|
1431
3080
|
this._hasIntersected = false;
|
|
1432
3081
|
}
|
|
1433
3082
|
render() {
|
|
1434
|
-
return index.h("slot", { key: '
|
|
3083
|
+
return index.h("slot", { key: 'f074fb12e0a7a4a7eb33192ffdac76d08a4b3c10' });
|
|
1435
3084
|
}
|
|
1436
3085
|
get $el() { return index.getElement(this); }
|
|
1437
3086
|
static get watchers() { return {
|
|
@@ -1510,10 +3159,11 @@ const UtilKeydownHandler = class {
|
|
|
1510
3159
|
}
|
|
1511
3160
|
}
|
|
1512
3161
|
render() {
|
|
1513
|
-
return index.h("slot", { key: '
|
|
3162
|
+
return index.h("slot", { key: '1fe1d4e4cfc237751e54115d1c42cd366f99da33' });
|
|
1514
3163
|
}
|
|
1515
3164
|
};
|
|
1516
3165
|
|
|
3166
|
+
exports.digi_bar_chart = barChart;
|
|
1517
3167
|
exports.digi_button = Button;
|
|
1518
3168
|
exports.digi_header = Header;
|
|
1519
3169
|
exports.digi_header_avatar = NavigationAvatar;
|
|
@@ -1522,8 +3172,12 @@ exports.digi_header_navigation_item = HeaderNavigationItem;
|
|
|
1522
3172
|
exports.digi_header_notification = HeaderNotification;
|
|
1523
3173
|
exports.digi_icon_bars = IconBars;
|
|
1524
3174
|
exports.digi_icon_bell_filled = IconBellFilled;
|
|
3175
|
+
exports.digi_icon_caret_down = IconCaretDown;
|
|
3176
|
+
exports.digi_icon_caret_up = IconCaretUp;
|
|
3177
|
+
exports.digi_icon_chart = IconChart;
|
|
1525
3178
|
exports.digi_icon_minus = IconMinus;
|
|
1526
3179
|
exports.digi_icon_plus = IconPlus;
|
|
3180
|
+
exports.digi_icon_table = IconTable;
|
|
1527
3181
|
exports.digi_icon_x = IconX;
|
|
1528
3182
|
exports.digi_layout_block = LayoutBlock;
|
|
1529
3183
|
exports.digi_layout_container = LayoutContainer;
|
|
@@ -1533,8 +3187,6 @@ exports.digi_navigation_vertical_menu = NavigationVerticalMenu;
|
|
|
1533
3187
|
exports.digi_navigation_vertical_menu_item = NavigationVerticalMenuItem;
|
|
1534
3188
|
exports.digi_title_logo = TitleLogo;
|
|
1535
3189
|
exports.digi_typography = Typography;
|
|
1536
|
-
exports.digi_typography_heading_jumbo = TypographyHeadingJumbo;
|
|
1537
|
-
exports.digi_typography_preamble = TypographyPreamble;
|
|
1538
3190
|
exports.digi_util_breakpoint_observer = UtilBreakpointObserver;
|
|
1539
3191
|
exports.digi_util_intersection_observer = UtilIntersectionObserver;
|
|
1540
3192
|
exports.digi_util_keydown_handler = UtilKeydownHandler;
|