@designsystem-se/af 39.5.0-beta.darkmode.1 → 39.5.0-beta.darkmode.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.js +1 -1
- package/components/digi-bar-chart.js +9 -89
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +15 -15
- package/components/digi-calendar-week-view.js +6 -6
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +581 -54
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +17 -17
- package/components/digi-code.js +4 -9
- package/components/digi-context-menu.js +5 -5
- package/components/digi-dialog.js +5 -5
- package/components/digi-expandable-accordion.js +3 -3
- package/components/digi-expandable-faq-item.js +3 -3
- 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 +9 -9
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +13 -13
- package/components/digi-form-filter.js +5 -5
- 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 +5 -5
- package/components/digi-form-receipt.js +3 -3
- package/components/digi-form-select-filter.js +12 -12
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +6 -6
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +4 -4
- package/components/digi-header-navigation-item.js +1 -1
- package/components/digi-header-navigation.js +6 -6
- package/components/digi-header-notification.js +1 -1
- package/components/digi-header.js +7 -7
- package/components/digi-icon-accessibility-deaf.js +1 -1
- package/components/digi-icon-accessibility-universal.js +1 -1
- package/components/digi-icon-apple.js +1 -1
- package/components/digi-icon-archive-outline.js +1 -1
- package/components/digi-icon-archive.js +1 -1
- package/components/digi-icon-arrow-back.js +1 -1
- package/components/digi-icon-arrow-down.js +1 -1
- package/components/digi-icon-arrow-left.js +1 -1
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +1 -1
- package/components/digi-icon-arrow-sign-out.js +1 -1
- package/components/digi-icon-arrow-up.js +1 -1
- package/components/digi-icon-at.js +1 -1
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +1 -1
- package/components/digi-icon-bell.js +1 -1
- package/components/digi-icon-book.js +1 -1
- package/components/digi-icon-bookmark-outline.js +1 -1
- package/components/digi-icon-bookmark-solid.js +1 -1
- package/components/digi-icon-bubble-ellipsis.js +1 -1
- package/components/digi-icon-bubble.js +1 -1
- package/components/digi-icon-building-outline.js +1 -1
- package/components/digi-icon-building-solid.js +1 -1
- package/components/digi-icon-bullseye.js +1 -1
- package/components/digi-icon-calculator-solid.js +1 -1
- package/components/digi-icon-calendar-alt-alert.js +1 -1
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +1 -1
- package/components/digi-icon-caret-circle-right.js +1 -1
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +1 -1
- package/components/digi-icon-caret-right.js +1 -1
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +1 -1
- package/components/digi-icon-check-circle-reg-alt.js +1 -1
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +1 -1
- 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 +1 -1
- package/components/digi-icon-clock.js +1 -1
- package/components/digi-icon-communication-play-solid.js +1 -1
- package/components/digi-icon-compress-alt.js +1 -1
- package/components/digi-icon-comunication-case.js +1 -1
- package/components/digi-icon-comunication-flag.js +1 -1
- package/components/digi-icon-comunication-graduate.js +1 -1
- package/components/digi-icon-comunication-play.js +1 -1
- package/components/digi-icon-cooperation.js +1 -1
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +1 -1
- package/components/digi-icon-download.js +1 -1
- package/components/digi-icon-dxa.js +1 -1
- package/components/digi-icon-edit.js +1 -1
- package/components/digi-icon-ellipsis.js +1 -1
- package/components/digi-icon-envelope-filled.js +1 -1
- package/components/digi-icon-envelope.js +1 -1
- package/components/digi-icon-exclamation-circle-filled.js +1 -1
- package/components/digi-icon-exclamation-triangle-filled.js +1 -1
- package/components/digi-icon-exclamation-triangle-warning.js +1 -1
- package/components/digi-icon-exclamation-triangle.js +1 -1
- package/components/digi-icon-expand-alt.js +1 -1
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +1 -1
- package/components/digi-icon-eye.js +1 -1
- package/components/digi-icon-facebook-square.js +1 -1
- package/components/digi-icon-file-add.js +1 -1
- package/components/digi-icon-file-document.js +1 -1
- package/components/digi-icon-file-excel.js +1 -1
- package/components/digi-icon-file-export.js +1 -1
- package/components/digi-icon-file-governing.js +1 -1
- package/components/digi-icon-file-pdf.js +1 -1
- package/components/digi-icon-file-powerpoint.js +1 -1
- package/components/digi-icon-file-remove.js +1 -1
- package/components/digi-icon-file-word.js +1 -1
- package/components/digi-icon-film.js +1 -1
- package/components/digi-icon-filter.js +1 -1
- 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 +1 -1
- package/components/digi-icon-globe.js +1 -1
- package/components/digi-icon-headphones.js +1 -1
- package/components/digi-icon-heart-solid.js +1 -1
- package/components/digi-icon-heart.js +1 -1
- package/components/digi-icon-history.js +1 -1
- package/components/digi-icon-home.js +1 -1
- package/components/digi-icon-image.js +1 -1
- package/components/digi-icon-info-circle-solid.js +1 -1
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +1 -1
- package/components/digi-icon-job-suggestion.js +1 -1
- package/components/digi-icon-language-outline.js +1 -1
- package/components/digi-icon-language.js +1 -1
- package/components/digi-icon-laptop-phone.js +1 -1
- package/components/digi-icon-lattlast.js +1 -1
- package/components/digi-icon-licence-bus.js +1 -1
- package/components/digi-icon-licence-car.js +1 -1
- package/components/digi-icon-licence-motorcycle.js +1 -1
- package/components/digi-icon-licence-truck.js +1 -1
- package/components/digi-icon-lightbulb.js +1 -1
- package/components/digi-icon-linkedin-in.js +1 -1
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +1 -1
- package/components/digi-icon-marker-filled.js +1 -1
- package/components/digi-icon-marker.js +1 -1
- package/components/digi-icon-media-course.js +1 -1
- package/components/digi-icon-media-podcast.js +1 -1
- package/components/digi-icon-microphone-off.js +1 -1
- package/components/digi-icon-microphone.js +1 -1
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +1 -1
- 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 +1 -1
- package/components/digi-icon-online-meeting.js +1 -1
- package/components/digi-icon-online-task.js +1 -1
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +1 -1
- package/components/digi-icon-palette.js +1 -1
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +1 -1
- package/components/digi-icon-pen.js +1 -1
- package/components/digi-icon-phone-hangup.js +1 -1
- package/components/digi-icon-phone.js +1 -1
- package/components/digi-icon-pinned-outline.js +1 -1
- package/components/digi-icon-pinned-solid.js +1 -1
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +1 -1
- package/components/digi-icon-read.js +1 -1
- package/components/digi-icon-redo.js +1 -1
- package/components/digi-icon-scale.js +1 -1
- package/components/digi-icon-screensharing-off.js +1 -1
- package/components/digi-icon-screensharing.js +1 -1
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +1 -1
- package/components/digi-icon-send-solid.js +1 -1
- package/components/digi-icon-settings.js +1 -1
- package/components/digi-icon-share-alt.js +1 -1
- package/components/digi-icon-share-chain.js +1 -1
- package/components/digi-icon-sign.js +1 -1
- package/components/digi-icon-sliders-h.js +1 -1
- package/components/digi-icon-sokkandidat.js +1 -1
- package/components/digi-icon-sort-down.js +1 -1
- package/components/digi-icon-sort-up.js +1 -1
- package/components/digi-icon-sort.js +1 -1
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +1 -1
- package/components/digi-icon-star.js +1 -1
- package/components/digi-icon-suitcase-outline.js +1 -1
- package/components/digi-icon-suitcase-solid.js +1 -1
- package/components/digi-icon-system-assistance.js +1 -1
- package/components/digi-icon-table-column.js +1 -1
- package/components/digi-icon-table-row.js +1 -1
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +1 -1
- package/components/digi-icon-toggle-off.js +1 -1
- package/components/digi-icon-toggle-on.js +1 -1
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +1 -1
- package/components/digi-icon-tyck-till.js +1 -1
- package/components/digi-icon-unlock.js +1 -1
- package/components/digi-icon-update.js +1 -1
- package/components/digi-icon-upload.js +1 -1
- package/components/digi-icon-user-add.js +1 -1
- package/components/digi-icon-user-alt.js +1 -1
- package/components/digi-icon-user-edit.js +1 -1
- package/components/digi-icon-users-solid.js +1 -1
- 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 +1 -1
- package/components/digi-icon-videocamera.js +1 -1
- package/components/digi-icon-volume.js +1 -1
- package/components/digi-icon-web-tv.js +1 -1
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +1 -1
- package/components/digi-icon-wifi-signal1.js +1 -1
- package/components/digi-icon-wifi-signal2.js +1 -1
- package/components/digi-icon-wifi-signal3.js +1 -1
- package/components/digi-icon-window.js +1 -1
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +1 -1
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +1 -1
- 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 +1 -1
- package/components/digi-loader-spinner.js +1 -1
- package/components/digi-logo.js +1 -1
- package/components/digi-media-figure.js +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-media-svg.js +4 -4
- package/components/digi-navigation-breadcrumbs.js +1 -1
- package/components/digi-navigation-pagination.js +6 -6
- 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 +3 -3
- package/components/digi-navigation-vertical-menu.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +4 -4
- package/components/digi-progress-circle.js +3 -3
- package/components/digi-progress-indicator.js +5 -5
- package/components/digi-progress-list-item.js +4 -4
- package/components/digi-progress-list.js +2 -2
- package/components/digi-progressbar.js +1 -1
- package/components/digi-quote.js +3 -3
- package/components/digi-table.js +1 -1
- package/components/digi-tablist-panel.js +1 -1
- package/components/digi-tablist.js +4 -4
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +3 -3
- package/components/digi-title-logo.js +2 -2
- package/components/digi-tools-feedback-banner.js +9 -9
- package/components/digi-tools-feedback-rating.js +10 -10
- package/components/digi-tools-feedback.js +8 -8
- 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-mutation-observer.js +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.js +1 -1
- package/components/{p-Dh3sWZ5e.js → p-36keNhfh.js} +1 -1
- package/components/{p-D1QADHEL.js → p-3TKJFQUa.js} +1 -1
- package/components/p-B2TYBUo6.js +72 -0
- package/components/p-B3O_HJL9.js +152 -0
- package/components/{p-C4cHv1b6.js → p-B67vyVmZ.js} +1 -1
- package/components/{p-DSsPcsbG.js → p-B8jq2Djs.js} +1 -1
- package/components/{p-CSnXPgkh.js → p-BBxKthEJ.js} +1 -1
- package/components/{p-MGRmYsxE.js → p-BCJdBxV_.js} +1 -1
- package/components/{p-BtXQ8vlP.js → p-BDFakwfe.js} +2 -2
- package/components/{p-Cy-7Z521.js → p-BEoS4pXM.js} +6 -6
- package/components/{p-qOPsq-iT.js → p-BFvMS8ae.js} +1 -1
- package/components/{p-C07Ni-QU.js → p-BIMjAem3.js} +1 -1
- package/components/{p-BXu2RwVQ.js → p-BOxxyaeV.js} +1 -1
- package/components/{p-f5S09EPX.js → p-BQKZkNoh.js} +1 -1
- package/components/{p-BRTa4oER.js → p-BSlmP2a1.js} +2 -2
- package/components/{p-CdurkBwA.js → p-BSmcIoMX.js} +8 -8
- package/components/{p-DIe1kXqO.js → p-Bc71NTmG.js} +3 -3
- package/components/{p-BbgLxewE.js → p-Bfjw6bGJ.js} +1 -1
- package/components/{p-Ci0ACtMu.js → p-BkHRrr7z.js} +1 -1
- package/components/{p-CwUnxIUo.js → p-BkwnGhgQ.js} +1 -1
- package/components/{p-BmT0UEKC.js → p-BxXRBS3E.js} +1 -1
- package/components/{p-BJXJKQAa.js → p-Bye4H-W1.js} +1 -1
- package/components/{p-DDI_A6oS.js → p-C-TXbSOe.js} +1 -1
- package/components/{p-7hH-IebK.js → p-CGQh_9o7.js} +1 -1
- package/components/{p-VS-6gZyQ.js → p-CHB8DV_I.js} +1 -1
- package/components/{p-Cbshiyvx.js → p-CHIBBcdi.js} +1 -1
- package/components/{p-BYTA0Mf7.js → p-CI0pAfPZ.js} +1 -1
- package/components/{p-DQMCgMJf.js → p-CJcQnubT.js} +1 -1
- package/components/{p-C5rR6HaN.js → p-CLTMDGNk.js} +1 -1
- package/components/{p-BSqgdMj6.js → p-CUCoWBxq.js} +7 -7
- package/components/{p-BVUsYnmM.js → p-CXmF-ya5.js} +1 -1
- package/components/{p-DoHJ19UK.js → p-CYI6El1-.js} +1 -1
- package/components/{p-CeSFsyMz.js → p-CZ5gSLwM.js} +1 -1
- package/components/{p-EuclcsDt.js → p-C_Q0Fxrz.js} +1 -1
- package/components/{p-CtS0Q7q-.js → p-Ccb2e28w.js} +4 -4
- package/components/{p-CKWAQQfi.js → p-CeWmCDAI.js} +1 -1
- package/components/{p-iP_Rj7_v.js → p-CfE83cQ9.js} +1 -1
- package/components/{p-DiffE4U1.js → p-CfE_b6Di.js} +12 -12
- package/{dist/esm/transform-lPbx4RHH.js → components/p-Ch0ystL-.js} +612 -98
- package/components/{p-ENhPZc05.js → p-ClNhqqL_.js} +1 -1
- package/components/{p-CnY0kHFx.js → p-CnyYNfPp.js} +1 -1
- package/components/{p-DVJv0oO0.js → p-Cwr9MlIJ.js} +1 -1
- package/components/{p-DO7m5GsV.js → p-D13p3g-c.js} +1 -1
- package/components/{p-CZPdIoN4.js → p-D4ggnhQr.js} +1 -1
- package/components/p-D6t8YLVI.js +187 -0
- package/components/{p-C-rkwGmL.js → p-D8TwRleW.js} +3 -3
- package/components/{p-BAI-BsAF.js → p-DDTK4tHy.js} +1 -1
- package/components/{p-3gpfitJV.js → p-DS9Q3tZB.js} +5 -5
- package/components/{p-30GPGkPD.js → p-DU9TwIRu.js} +1 -1
- package/components/{p-Cf2FrLOk.js → p-DUQVTp-3.js} +1 -1
- package/components/{p-zvJ3LU4V.js → p-DYsm71Kx.js} +1 -1
- package/components/{p-cL7_rXaf.js → p-DfK1Lo6z.js} +2 -2
- package/components/{p-CiyZSMoA.js → p-Dfb2l4ew.js} +2 -2
- package/components/{p-hpY4CL-J.js → p-Dg7D_fvg.js} +1 -1
- package/components/{p-Brj6_rtd.js → p-Djp6q1K_.js} +1 -1
- package/components/{p-B2q8pUp-.js → p-DjuL2lhk.js} +1 -1
- package/components/{p-BNdhmwVp.js → p-Dt-A0Z1q.js} +1 -1
- package/components/{p-8WcDgh3z.js → p-Dy9lpuYH.js} +1 -1
- package/components/{p-Cqiy7xWQ.js → p-QHk2FMs0.js} +1 -1
- package/components/{p-DXisEk-C.js → p-XdTLym9i.js} +1 -1
- package/components/{p-BEQsEnoQ.js → p-c9DO-lnP.js} +1 -1
- package/components/{p-Kn_M6BbP.js → p-mpc8zNKA.js} +8 -8
- package/components/{p-5FTt44ZT.js → p-oIRivPbf.js} +1 -1
- package/components/{p-DgClD2YX.js → p-qAgf5hpp.js} +1 -1
- package/components/{p-y3p1c7ur.js → p-utWFvu56.js} +1 -1
- package/components/{p-qrMq87hm.js → p-xg1ITqz-.js} +1 -1
- package/custom-elements.json +2 -2
- package/dist/cjs/{transform-DteoCOaq.js → d3-zoom-AMGgK2jJ.js} +615 -99
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +2 -2
- package/dist/cjs/digi-badge-notification.cjs.entry.js +1 -1
- package/dist/cjs/digi-badge-status.cjs.entry.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +60 -140
- package/dist/cjs/digi-button_83.cjs.entry.js +13 -13
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +2 -2
- package/dist/cjs/digi-chart-line.cjs.entry.js +685 -158
- package/dist/cjs/digi-code-block_2.cjs.entry.js +5 -5
- package/dist/cjs/digi-code-example.cjs.entry.js +6 -6
- package/dist/cjs/digi-code.cjs.entry.js +3 -8
- package/dist/cjs/digi-dialog.cjs.entry.js +1 -1
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-error-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-input-search.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-textarea.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-apple.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-archive.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-at.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bell.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-book.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chat.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-clock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-download.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-exclamation-triangle_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-eye.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-film.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-filter.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-heart.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-history.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-home.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-image.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-language.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-lock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-marker.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-move.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-palette.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pen.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-phone.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pinned-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-pinned-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-print.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-read.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-redo.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-settings.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-sort.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-update.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-upload.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-volume.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-window.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +1 -1
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/digi-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
- package/dist/cjs/digi-media-svg.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/digi-tablist.cjs.entry.js +1 -1
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +4 -4
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +4 -4
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +5 -5
- package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
- 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-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
- package/dist/cjs/{index-DDillGX8.js → index-XgxBS4zo.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/_calendar/calendar/calendar.css +2 -2
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +5 -5
- package/dist/collection/components/_calendar/week-view/calendar-week-view.css +4 -4
- package/dist/collection/components/_code/code/code.css +147 -216
- package/dist/collection/components/_code/code/code.js +5 -11
- package/dist/collection/components/_code/code-block/code-block.css +104 -231
- package/dist/collection/components/_code/code-block/code-block.js +5 -5
- package/dist/collection/components/_code/code-example/code-example.js +5 -4
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +7 -7
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +2 -2
- package/dist/collection/components/_form/form-filter/form-filter.css +1 -1
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.css +1 -1
- package/dist/collection/components/_form/form-select-filter/form-select-filter.css +1 -1
- package/dist/collection/components/_header/header-avatar/header-avatar.css +5 -5
- package/dist/collection/components/_link/link-internal/link-internal.css +5 -5
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.css +1 -1
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.css +2 -2
- package/dist/collection/components/_tag/tag-media/tag-media.css +1 -1
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.css +5 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +3 -3
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.css +0 -3
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +2 -2
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.css +6 -0
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +2 -2
- package/dist/collection/design-tokens/components/_calendar-week-view.variables.scss +4 -4
- package/dist/collection/design-tokens/components/_calendar.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-checkbox.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_form-filter.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-radiobutton.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_form-select-filter.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/collection/design-tokens/components/_tag-media.variables.scss +1 -1
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +5 -5
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +320 -159
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-week-view.variables.scss +4 -4
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-checkbox.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-filter.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-radiobutton.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_form-select-filter.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-context-menu.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_tag-media.variables.scss +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-eb41d6a4.entry.js → p-01f83904.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3fedd2f2.entry.js → p-0278b0b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cc191d33.entry.js → p-03111c37.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-eaafe6c1.entry.js → p-033bc4ac.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-72ba412a.entry.js → p-03a57216.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-781866a7.entry.js → p-03efdba7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e267459c.entry.js → p-0521eb26.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b6f9ff5b.entry.js → p-080e48c9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-601fbdb5.entry.js → p-0b3031f4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5e8d78ac.entry.js → p-0be17e12.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e35e3870.entry.js → p-0da4db64.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-26fa9dca.entry.js → p-0f000100.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c6783c7e.entry.js → p-10023729.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9d3d47d9.entry.js → p-115c82f8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-02c2eca7.entry.js → p-117bf5cf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-03e813f6.entry.js → p-1257c0e4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fcadc3d5.entry.js → p-13f619fc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0f145390.entry.js → p-14116870.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8f97f1a1.entry.js → p-146903c6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0b2137df.entry.js → p-167b5007.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-17933274.entry.js → p-184190da.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2d60257a.entry.js → p-19139f02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8d7be11c.entry.js → p-1ac9ef74.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2d6c49c9.entry.js → p-1b59b4bf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-1b72f6ae.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-da370683.entry.js → p-1c0e556c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c4338cd9.entry.js → p-1d1d9135.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2b108256.entry.js → p-1d271db2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-aaea38f7.entry.js → p-1d4d5e03.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4c3f6e16.entry.js → p-1e4dfff0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-260958ba.entry.js → p-1ed4ac22.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f4ab8381.entry.js → p-1ff182cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c1798c91.entry.js → p-222b25bb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-38b395c4.entry.js → p-23bf1921.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8c27c155.entry.js → p-24126e94.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f7f1d526.entry.js → p-2442f739.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e6d4b816.entry.js → p-27bdaca0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dcfaf063.entry.js → p-2a0342fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c9d1bff4.entry.js → p-2af96ac4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-57fc7633.entry.js → p-2bf5e29b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e91fa568.entry.js → p-2c608dc7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a558453c.entry.js → p-2e447312.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-11a4f6dc.entry.js → p-30a63d7f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ffd1afe8.entry.js → p-32f3731e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-575bfad2.entry.js → p-33ec2453.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f11c8f2f.entry.js → p-350ae4df.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-30864d64.entry.js → p-3709ef81.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6b8ecb4f.entry.js → p-396d22bb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-97588cd8.entry.js → p-3a70671b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3f40b1e9.entry.js → p-3d05228e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6509f773.entry.js → p-3fee9ef9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-faef4b81.entry.js → p-41330015.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bbe260cf.entry.js → p-4175be82.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-22d6b3db.entry.js → p-43b95adb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-44168a48.entry.js → p-43f6b1b5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-be6a78fb.entry.js → p-453ce9ba.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-be1b7c4e.entry.js → p-4550232e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9bfa5cdf.entry.js → p-45d08227.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2275884d.entry.js → p-46dfd33d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-46f9b3b6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d93423c3.entry.js → p-4717045c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-080dcbaa.entry.js → p-471d1b6f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-493d6418.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0a74246d.entry.js → p-499339fe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1d6cde01.entry.js → p-49d33e7f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-96e5ed70.entry.js → p-49ece774.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7da29e7a.entry.js → p-4a694349.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-20309464.entry.js → p-4b371072.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ffdef266.entry.js → p-4c4b9bb7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-da4b99dc.entry.js → p-4d0a6ef0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-477f2edc.entry.js → p-4d194b93.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0599739a.entry.js → p-4d70876a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1d114f2b.entry.js → p-513485a7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-52fb36f8.entry.js → p-51796c1f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fe2ac1b3.entry.js → p-51d29902.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-266c4dad.entry.js → p-52fb953d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0b527194.entry.js → p-549c10fb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1f7b7238.entry.js → p-55c9eb05.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1af7bd7b.entry.js → p-57130a78.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a3a9da2.entry.js → p-57cf4179.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-db0b4a16.entry.js → p-5984b909.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e49ea5fb.entry.js → p-5c2ebbd5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-00965e08.entry.js → p-5ce7ade0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7be47739.entry.js → p-5e67055d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ccf9712a.entry.js → p-5ef4e39a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2beb8405.entry.js → p-611a1acc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2e925c7.entry.js → p-63d1ac39.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cd603991.entry.js → p-641f7b5e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ed3430b7.entry.js → p-64b5ba41.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d7619314.entry.js → p-68d98f8e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-69af899b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8c619d78.entry.js → p-6c9c1a5c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-878bbed0.entry.js → p-6e9feb6f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6683eefc.entry.js → p-6f6192a8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-54c01be9.entry.js → p-6fe6f8bb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7318d2d0.entry.js → p-70911900.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0a71f0b4.entry.js → p-71525486.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16595696.entry.js → p-72f41950.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7452de2f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a8901be0.entry.js → p-74d15bb3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a9e24047.entry.js → p-752bdcb0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bb9fe479.entry.js → p-77296840.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d1871e00.entry.js → p-78c35350.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c97977a1.entry.js → p-7967fb1d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-22227296.entry.js → p-7ac4b440.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e0e72de6.entry.js → p-7b0ddef9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2a66abf5.entry.js → p-7e1a7936.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3d272e7e.entry.js → p-7e24bb8f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48d5f7c6.entry.js → p-80414c66.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b6bd4f09.entry.js → p-80913022.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-db86e2c7.entry.js → p-82518d09.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-45f31afd.entry.js → p-82e82598.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-afdadb37.entry.js → p-83facec4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b8e4144.entry.js → p-86e65786.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-813733b0.entry.js → p-86f5a0af.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-8974e496.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-990010a2.entry.js → p-899bc7c4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a5a50ee7.entry.js → p-8b8fc0a7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3afc85fe.entry.js → p-8c903f02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ef000610.entry.js → p-8e2514bf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-397792ab.entry.js → p-8e620a7d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-8e9fc19b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5b6bff9f.entry.js → p-8f1fcaf6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8c04479c.entry.js → p-8f912f15.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-62be5852.entry.js → p-94b7e403.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3c6a35da.entry.js → p-98921da8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-97a8b012.entry.js → p-99b1e4cc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bbdbea57.entry.js → p-9a388c5e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-256bf9a5.entry.js → p-9af8cbb1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b409a49f.entry.js → p-9c195e58.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2dc3075b.entry.js → p-9dc217fe.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c43c8022.entry.js → p-9f8d0948.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-Ch0ystL-.js +1 -0
- package/dist/digi-arbetsformedlingen/p-N6Aize3c.js +3 -0
- package/dist/digi-arbetsformedlingen/{p-8525fa6a.entry.js → p-a084aa2a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-306e7a0f.entry.js → p-a203c280.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-28f3fa25.entry.js → p-a494a0f1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-912f30cb.entry.js → p-a64dd6fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0b762897.entry.js → p-a97896d9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-40cfd64c.entry.js → p-ac1d8f62.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-175e4e48.entry.js → p-b121cf28.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5fbcd75c.entry.js → p-b1995401.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-754d1eed.entry.js → p-b386a4db.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-010edb75.entry.js → p-b6254956.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-44279b19.entry.js → p-b6581c68.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b7be2b9d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-efff3ba4.entry.js → p-b83c51b5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b7a257dc.entry.js → p-b8d71e24.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9e07d87f.entry.js → p-b95b6cc1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b9d53cb9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-41dd11b6.entry.js → p-bae3dd21.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-baf6f1bc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-6e39bae2.entry.js → p-bfdfaaa3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-26920f77.entry.js → p-c1514f60.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dad57c9f.entry.js → p-c1a7a9a3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1749674b.entry.js → p-c28a1e0a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b4f38e6e.entry.js → p-c2ef0786.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-22094993.entry.js → p-c7c67227.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e682e376.entry.js → p-c88c2d62.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3d3a91c5.entry.js → p-ca84c35a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f3735e62.entry.js → p-cb74b5b6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cea1d8ab.entry.js → p-cbbaa01a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-38074349.entry.js → p-cbf620e4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-cd23ac8e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-ed42f2f3.entry.js → p-cea51d8b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-be7843c0.entry.js → p-d162c32e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f9141dfb.entry.js → p-d24e35cd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-61cbc25b.entry.js → p-d3f54920.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-728d4b13.entry.js → p-d525335c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dbe55a7f.entry.js → p-d5e8d655.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ce204871.entry.js → p-d63fc579.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1d347ac3.entry.js → p-d694c528.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b9505bd7.entry.js → p-d72fc3c8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7ea2da60.entry.js → p-d8f38c1a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-225bda56.entry.js → p-dae98ea9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5bb8d447.entry.js → p-dc92b4ef.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3e2d534a.entry.js → p-dc98320c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a5d51bc2.entry.js → p-ddb3ce69.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e64d7c56.entry.js → p-dded9622.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-de8bd1c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3a456f0a.entry.js → p-df26d8f9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-111fe5b8.entry.js → p-df8fdbca.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c299371b.entry.js → p-df96e5d3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-809435d2.entry.js → p-dfdde159.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-dfffacb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0c59987d.entry.js → p-e34a7e88.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3f7dfaa9.entry.js → p-e39c5e0e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-36b87b35.entry.js → p-e43bd29e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-26351180.entry.js → p-e471c241.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-408d8beb.entry.js → p-e4d562fa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3c248c94.entry.js → p-e7014889.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-16815395.entry.js → p-e77251f3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-42cfac86.entry.js → p-e948b775.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ba1ed446.entry.js → p-eab5fca4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-21834dfd.entry.js → p-ec5f0160.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b1b5b38c.entry.js → p-eff8d39f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1f8dbd56.entry.js → p-f1de3b6d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab29d1de.entry.js → p-f56a9c75.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0cf43057.entry.js → p-f65221db.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-15bade2c.entry.js → p-f87f1e00.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-fa748038.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-fffe14bd.entry.js → p-ff7b778a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +5 -5
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +320 -159
- package/{components/p-lPbx4RHH.js → dist/esm/d3-zoom-Ch0ystL-.js} +612 -98
- package/dist/esm/digi-arbetsformedlingen.js +3 -3
- package/dist/esm/digi-badge-notification.entry.js +1 -1
- package/dist/esm/digi-badge-status.entry.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +2 -82
- package/dist/esm/digi-button_83.entry.js +13 -13
- package/dist/esm/digi-calendar-week-view.entry.js +2 -2
- package/dist/esm/digi-chart-line.entry.js +576 -49
- package/dist/esm/digi-code-block_2.entry.js +5 -5
- package/dist/esm/digi-code-example.entry.js +6 -6
- package/dist/esm/digi-code.entry.js +4 -9
- package/dist/esm/digi-dialog.entry.js +1 -1
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-expandable-faq.entry.js +1 -1
- package/dist/esm/digi-form-error-list.entry.js +1 -1
- package/dist/esm/digi-form-input-search.entry.js +1 -1
- package/dist/esm/digi-form-radiogroup.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +1 -1
- package/dist/esm/digi-form-textarea.entry.js +1 -1
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +1 -1
- package/dist/esm/digi-icon-apple.entry.js +1 -1
- package/dist/esm/digi-icon-archive-outline.entry.js +1 -1
- package/dist/esm/digi-icon-archive.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-back.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-down.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-left.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-right.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +1 -1
- package/dist/esm/digi-icon-arrow-up.entry.js +1 -1
- package/dist/esm/digi-icon-at.entry.js +1 -1
- package/dist/esm/digi-icon-bell.entry.js +1 -1
- package/dist/esm/digi-icon-book.entry.js +1 -1
- package/dist/esm/digi-icon-bookmark-outline.entry.js +1 -1
- package/dist/esm/digi-icon-bookmark-solid.entry.js +1 -1
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +1 -1
- package/dist/esm/digi-icon-bubble.entry.js +1 -1
- package/dist/esm/digi-icon-building-outline.entry.js +1 -1
- package/dist/esm/digi-icon-building-solid.entry.js +1 -1
- package/dist/esm/digi-icon-bullseye.entry.js +1 -1
- package/dist/esm/digi-icon-calculator-solid.entry.js +1 -1
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +1 -1
- package/dist/esm/digi-icon-calendar.entry.js +1 -1
- package/dist/esm/digi-icon-caret-circle-right.entry.js +1 -1
- package/dist/esm/digi-icon-caret-down_2.entry.js +1 -1
- package/dist/esm/digi-icon-caret-left.entry.js +1 -1
- package/dist/esm/digi-icon-caret-right.entry.js +1 -1
- package/dist/esm/digi-icon-chart_2.entry.js +1 -1
- package/dist/esm/digi-icon-chat.entry.js +1 -1
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +1 -1
- package/dist/esm/digi-icon-checklist.entry.js +1 -1
- package/dist/esm/digi-icon-chevron-up.entry.js +1 -1
- package/dist/esm/digi-icon-clock.entry.js +1 -1
- package/dist/esm/digi-icon-communication-play-solid.entry.js +1 -1
- package/dist/esm/digi-icon-compress-alt.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-case.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-flag.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-graduate.entry.js +1 -1
- package/dist/esm/digi-icon-comunication-play.entry.js +1 -1
- package/dist/esm/digi-icon-cooperation.entry.js +1 -1
- package/dist/esm/digi-icon-danger-outline.entry.js +1 -1
- package/dist/esm/digi-icon-download.entry.js +1 -1
- package/dist/esm/digi-icon-dxa.entry.js +1 -1
- package/dist/esm/digi-icon-edit.entry.js +1 -1
- package/dist/esm/digi-icon-ellipsis.entry.js +1 -1
- package/dist/esm/digi-icon-envelope-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +1 -1
- package/dist/esm/digi-icon-exclamation-triangle_2.entry.js +1 -1
- package/dist/esm/digi-icon-expand-alt.entry.js +1 -1
- package/dist/esm/digi-icon-eye-slash.entry.js +1 -1
- package/dist/esm/digi-icon-eye.entry.js +1 -1
- package/dist/esm/digi-icon-facebook-square.entry.js +1 -1
- package/dist/esm/digi-icon-file-add.entry.js +1 -1
- package/dist/esm/digi-icon-file-document.entry.js +1 -1
- package/dist/esm/digi-icon-file-excel.entry.js +1 -1
- package/dist/esm/digi-icon-file-export.entry.js +1 -1
- package/dist/esm/digi-icon-file-governing.entry.js +1 -1
- package/dist/esm/digi-icon-file-pdf.entry.js +1 -1
- package/dist/esm/digi-icon-file-powerpoint.entry.js +1 -1
- package/dist/esm/digi-icon-file-remove.entry.js +1 -1
- package/dist/esm/digi-icon-file-word.entry.js +1 -1
- package/dist/esm/digi-icon-film.entry.js +1 -1
- package/dist/esm/digi-icon-filter.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/digi-icon-headphones.entry.js +1 -1
- package/dist/esm/digi-icon-heart-solid.entry.js +1 -1
- package/dist/esm/digi-icon-heart.entry.js +1 -1
- package/dist/esm/digi-icon-history.entry.js +1 -1
- package/dist/esm/digi-icon-home.entry.js +1 -1
- package/dist/esm/digi-icon-image.entry.js +1 -1
- package/dist/esm/digi-icon-info-circle-solid.entry.js +1 -1
- package/dist/esm/digi-icon-instagram.entry.js +1 -1
- package/dist/esm/digi-icon-job-suggestion.entry.js +1 -1
- package/dist/esm/digi-icon-language-outline.entry.js +1 -1
- package/dist/esm/digi-icon-language.entry.js +1 -1
- package/dist/esm/digi-icon-laptop-phone.entry.js +1 -1
- package/dist/esm/digi-icon-lattlast.entry.js +1 -1
- package/dist/esm/digi-icon-licence-bus.entry.js +1 -1
- package/dist/esm/digi-icon-licence-car.entry.js +1 -1
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +1 -1
- package/dist/esm/digi-icon-licence-truck.entry.js +1 -1
- package/dist/esm/digi-icon-lightbulb.entry.js +1 -1
- package/dist/esm/digi-icon-linkedin-in.entry.js +1 -1
- package/dist/esm/digi-icon-lock.entry.js +1 -1
- package/dist/esm/digi-icon-marker-filled.entry.js +1 -1
- package/dist/esm/digi-icon-marker.entry.js +1 -1
- package/dist/esm/digi-icon-media-course.entry.js +1 -1
- package/dist/esm/digi-icon-media-podcast.entry.js +1 -1
- package/dist/esm/digi-icon-microphone-off.entry.js +1 -1
- package/dist/esm/digi-icon-microphone.entry.js +1 -1
- package/dist/esm/digi-icon-move.entry.js +1 -1
- package/dist/esm/digi-icon-online-interview.entry.js +1 -1
- package/dist/esm/digi-icon-online-meeting.entry.js +1 -1
- package/dist/esm/digi-icon-online-task.entry.js +1 -1
- package/dist/esm/digi-icon-open-source.entry.js +1 -1
- package/dist/esm/digi-icon-palette.entry.js +1 -1
- package/dist/esm/digi-icon-paste.entry.js +1 -1
- package/dist/esm/digi-icon-pen.entry.js +1 -1
- package/dist/esm/digi-icon-phone-hangup.entry.js +1 -1
- package/dist/esm/digi-icon-phone.entry.js +1 -1
- package/dist/esm/digi-icon-pinned-outline.entry.js +1 -1
- package/dist/esm/digi-icon-pinned-solid.entry.js +1 -1
- package/dist/esm/digi-icon-print.entry.js +1 -1
- package/dist/esm/digi-icon-read.entry.js +1 -1
- package/dist/esm/digi-icon-redo.entry.js +1 -1
- package/dist/esm/digi-icon-scale.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing-off.entry.js +1 -1
- package/dist/esm/digi-icon-screensharing.entry.js +1 -1
- package/dist/esm/digi-icon-search.entry.js +1 -1
- package/dist/esm/digi-icon-send-outline.entry.js +1 -1
- package/dist/esm/digi-icon-send-solid.entry.js +1 -1
- package/dist/esm/digi-icon-settings.entry.js +1 -1
- package/dist/esm/digi-icon-share-alt.entry.js +1 -1
- package/dist/esm/digi-icon-share-chain.entry.js +1 -1
- package/dist/esm/digi-icon-sliders-h.entry.js +1 -1
- package/dist/esm/digi-icon-sokkandidat.entry.js +1 -1
- package/dist/esm/digi-icon-sort-down.entry.js +1 -1
- package/dist/esm/digi-icon-sort-up.entry.js +1 -1
- package/dist/esm/digi-icon-sort.entry.js +1 -1
- package/dist/esm/digi-icon-star-reg.entry.js +1 -1
- package/dist/esm/digi-icon-star.entry.js +1 -1
- package/dist/esm/digi-icon-suitcase-outline.entry.js +1 -1
- package/dist/esm/digi-icon-suitcase-solid.entry.js +1 -1
- package/dist/esm/digi-icon-system-assistance.entry.js +1 -1
- package/dist/esm/digi-icon-table-column.entry.js +1 -1
- package/dist/esm/digi-icon-table-row.entry.js +1 -1
- package/dist/esm/digi-icon-task-done.entry.js +1 -1
- package/dist/esm/digi-icon-toggle-off.entry.js +1 -1
- package/dist/esm/digi-icon-toggle-on.entry.js +1 -1
- package/dist/esm/digi-icon-twitter.entry.js +1 -1
- package/dist/esm/digi-icon-tyck-till.entry.js +1 -1
- package/dist/esm/digi-icon-unlock.entry.js +1 -1
- package/dist/esm/digi-icon-update.entry.js +1 -1
- package/dist/esm/digi-icon-upload.entry.js +1 -1
- package/dist/esm/digi-icon-user-add.entry.js +1 -1
- package/dist/esm/digi-icon-user-alt.entry.js +1 -1
- package/dist/esm/digi-icon-user-edit.entry.js +1 -1
- package/dist/esm/digi-icon-users-solid.entry.js +1 -1
- package/dist/esm/digi-icon-videocamera-off.entry.js +1 -1
- package/dist/esm/digi-icon-videocamera.entry.js +1 -1
- package/dist/esm/digi-icon-volume.entry.js +1 -1
- package/dist/esm/digi-icon-web-tv.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal0.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal1.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal2.entry.js +1 -1
- package/dist/esm/digi-icon-wifi-signal3.entry.js +1 -1
- package/dist/esm/digi-icon-window.entry.js +1 -1
- package/dist/esm/digi-icon-x-button.entry.js +1 -1
- package/dist/esm/digi-icon-youtube.entry.js +1 -1
- package/dist/esm/digi-list.entry.js +1 -1
- package/dist/esm/digi-loader-skeleton.entry.js +1 -1
- package/dist/esm/digi-media-figure.entry.js +1 -1
- package/dist/esm/digi-media-svg.entry.js +1 -1
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +1 -1
- package/dist/esm/digi-navigation-sidebar.entry.js +1 -1
- package/dist/esm/digi-notification-error-page.entry.js +1 -1
- package/dist/esm/digi-progress-circle.entry.js +1 -1
- package/dist/esm/digi-progress-list-item.entry.js +1 -1
- package/dist/esm/digi-progress-list.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/digi-tablist.entry.js +1 -1
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-banner.entry.js +4 -4
- package/dist/esm/digi-tools-feedback-rating.entry.js +4 -4
- package/dist/esm/digi-tools-feedback.entry.js +5 -5
- package/dist/esm/digi-typography-meta.entry.js +1 -1
- 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-mutation-observer.entry.js +1 -1
- package/dist/esm/digi-util-resize-observer.entry.js +1 -1
- package/dist/esm/{index-DAm0-AWr.js → index-N6Aize3c.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/_code/code/code.d.ts +3 -3
- package/dist/types/components/_code/code-block/code-block.d.ts +2 -2
- package/dist/types/components.d.ts +9 -11
- package/hydrate/index.js +1291 -335
- package/hydrate/index.mjs +1291 -335
- package/package.json +1 -1
- package/components/p-9fVBIxSO.js +0 -187
- package/components/p-BsFpXvHH.js +0 -152
- package/components/p-D6Jv919E.js +0 -72
- package/dist/digi-arbetsformedlingen/p-0bbedc56.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2233c996.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a539d83.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2ed8c4f5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5652cf6b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6ba6b677.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9691e2e3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-969c4340.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9e9bb834.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-DAm0-AWr.js +0 -3
- package/dist/digi-arbetsformedlingen/p-b687943c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b6b6ca44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c431e7f6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d6069cd1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dd1e5c6d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-lPbx4RHH.js +0 -1
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-XgxBS4zo.js');
|
|
4
4
|
var text = require('./text-Cu3CaHGj.js');
|
|
5
|
-
var
|
|
5
|
+
var d3Zoom = require('./d3-zoom-AMGgK2jJ.js');
|
|
6
6
|
var randomIdGenerator_util = require('./randomIdGenerator.util-C8XR2Tn1.js');
|
|
7
7
|
var logger_util = require('./logger.util-DUhrcCTY.js');
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
let sourceEvent;
|
|
11
|
-
while (sourceEvent = event.sourceEvent) event = sourceEvent;
|
|
12
|
-
return event;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
function pointer(event, node) {
|
|
16
|
-
event = sourceEvent(event);
|
|
17
|
-
if (node === undefined) node = event.currentTarget;
|
|
18
|
-
if (node) {
|
|
19
|
-
var svg = node.ownerSVGElement || node;
|
|
20
|
-
if (svg.createSVGPoint) {
|
|
21
|
-
var point = svg.createSVGPoint();
|
|
22
|
-
point.x = event.clientX, point.y = event.clientY;
|
|
23
|
-
point = point.matrixTransform(node.getScreenCTM().inverse());
|
|
24
|
-
return [point.x, point.y];
|
|
25
|
-
}
|
|
26
|
-
if (node.getBoundingClientRect) {
|
|
27
|
-
var rect = node.getBoundingClientRect();
|
|
28
|
-
return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return [event.pageX, event.pageY];
|
|
32
|
-
}
|
|
9
|
+
// https://d3js.org/d3-drag/ v3.0.1 Copyright 2010-2026 Mike Bostock
|
|
33
10
|
|
|
34
11
|
// These are typically used in conjunction with noevent to ensure that we can
|
|
35
12
|
// preventDefault on the event.
|
|
@@ -45,9 +22,9 @@ function noevent(event) {
|
|
|
45
22
|
event.stopImmediatePropagation();
|
|
46
23
|
}
|
|
47
24
|
|
|
48
|
-
function
|
|
25
|
+
function nodrag(view) {
|
|
49
26
|
var root = view.document.documentElement,
|
|
50
|
-
selection =
|
|
27
|
+
selection = d3Zoom.select(view).on("dragstart.drag", noevent, nonpassivecapture);
|
|
51
28
|
if ("onselectstart" in root) {
|
|
52
29
|
selection.on("selectstart.drag", noevent, nonpassivecapture);
|
|
53
30
|
} else {
|
|
@@ -58,7 +35,7 @@ function dragDisable(view) {
|
|
|
58
35
|
|
|
59
36
|
function yesdrag(view, noclick) {
|
|
60
37
|
var root = view.document.documentElement,
|
|
61
|
-
selection =
|
|
38
|
+
selection = d3Zoom.select(view).on("dragstart.drag", null);
|
|
62
39
|
if (noclick) {
|
|
63
40
|
selection.on("click.drag", noevent, nonpassivecapture);
|
|
64
41
|
setTimeout(function() { selection.on("click.drag", null); }, 0);
|
|
@@ -125,7 +102,7 @@ function drag() {
|
|
|
125
102
|
subject = defaultSubject,
|
|
126
103
|
touchable = defaultTouchable,
|
|
127
104
|
gestures = {},
|
|
128
|
-
listeners =
|
|
105
|
+
listeners = d3Zoom.dispatch("start", "drag", "end"),
|
|
129
106
|
active = 0,
|
|
130
107
|
mousedownx,
|
|
131
108
|
mousedowny,
|
|
@@ -148,10 +125,10 @@ function drag() {
|
|
|
148
125
|
if (touchending || !filter.call(this, event, d)) return;
|
|
149
126
|
var gesture = beforestart(this, container.call(this, event, d), event, d, "mouse");
|
|
150
127
|
if (!gesture) return;
|
|
151
|
-
|
|
128
|
+
d3Zoom.select(event.view)
|
|
152
129
|
.on("mousemove.drag", mousemoved, nonpassivecapture)
|
|
153
130
|
.on("mouseup.drag", mouseupped, nonpassivecapture);
|
|
154
|
-
|
|
131
|
+
nodrag(event.view);
|
|
155
132
|
nopropagation(event);
|
|
156
133
|
mousemoving = false;
|
|
157
134
|
mousedownx = event.clientX;
|
|
@@ -169,7 +146,7 @@ function drag() {
|
|
|
169
146
|
}
|
|
170
147
|
|
|
171
148
|
function mouseupped(event) {
|
|
172
|
-
|
|
149
|
+
d3Zoom.select(event.view).on("mousemove.drag mouseup.drag", null);
|
|
173
150
|
yesdrag(event.view, mousemoving);
|
|
174
151
|
noevent(event);
|
|
175
152
|
gestures.mouse("end", event);
|
|
@@ -217,7 +194,7 @@ function drag() {
|
|
|
217
194
|
|
|
218
195
|
function beforestart(that, container, event, d, identifier, touch) {
|
|
219
196
|
var dispatch = listeners.copy(),
|
|
220
|
-
p = pointer(touch || event, container), dx, dy,
|
|
197
|
+
p = d3Zoom.pointer(touch || event, container), dx, dy,
|
|
221
198
|
s;
|
|
222
199
|
|
|
223
200
|
if ((s = subject.call(that, new DragEvent("beforestart", {
|
|
@@ -240,7 +217,7 @@ function drag() {
|
|
|
240
217
|
switch (type) {
|
|
241
218
|
case "start": gestures[identifier] = gesture, n = active++; break;
|
|
242
219
|
case "end": delete gestures[identifier], --active; // falls through
|
|
243
|
-
case "drag": p = pointer(touch || event, container), n = active; break;
|
|
220
|
+
case "drag": p = d3Zoom.pointer(touch || event, container), n = active; break;
|
|
244
221
|
}
|
|
245
222
|
dispatch.call(
|
|
246
223
|
type,
|
|
@@ -290,14 +267,11 @@ function drag() {
|
|
|
290
267
|
return drag;
|
|
291
268
|
}
|
|
292
269
|
|
|
293
|
-
|
|
294
|
-
return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
|
|
295
|
-
}
|
|
296
|
-
|
|
270
|
+
// https://d3js.org/d3-path/ v3.1.1 Copyright 2015-2026 Mike Bostock
|
|
297
271
|
const pi$1 = Math.PI,
|
|
298
272
|
tau$1 = 2 * pi$1,
|
|
299
|
-
epsilon = 1e-6,
|
|
300
|
-
tauEpsilon = tau$1 - epsilon;
|
|
273
|
+
epsilon$1 = 1e-6,
|
|
274
|
+
tauEpsilon = tau$1 - epsilon$1;
|
|
301
275
|
|
|
302
276
|
function append(strings) {
|
|
303
277
|
this._ += strings[0];
|
|
@@ -319,12 +293,29 @@ function appendRound(digits) {
|
|
|
319
293
|
};
|
|
320
294
|
}
|
|
321
295
|
|
|
296
|
+
function equal(x0, y0, x1, y1) {
|
|
297
|
+
return x0 === x1 && y0 === y1;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
function equalRound(digits) {
|
|
301
|
+
const d = Math.floor(digits);
|
|
302
|
+
if (!(d <= 15)) return equal;
|
|
303
|
+
const k = 10 ** d;
|
|
304
|
+
const r = function(value) {
|
|
305
|
+
return Math.round(value * k);
|
|
306
|
+
};
|
|
307
|
+
return function(x0, y0, x1, y1) {
|
|
308
|
+
return r(x0) === r(x1) && r(y0) === r(y1);
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
322
312
|
class Path {
|
|
323
313
|
constructor(digits) {
|
|
324
314
|
this._x0 = this._y0 = // start of current subpath
|
|
325
315
|
this._x1 = this._y1 = null; // end of current subpath
|
|
326
316
|
this._ = "";
|
|
327
317
|
this._append = digits == null ? append : appendRound(digits);
|
|
318
|
+
this._equal = digits == null ? equal : equalRound(digits);
|
|
328
319
|
}
|
|
329
320
|
moveTo(x, y) {
|
|
330
321
|
this._append`M${this._x0 = this._x1 = +x},${this._y0 = this._y1 = +y}`;
|
|
@@ -364,12 +355,12 @@ class Path {
|
|
|
364
355
|
}
|
|
365
356
|
|
|
366
357
|
// Or, is (x1,y1) coincident with (x0,y0)? Do nothing.
|
|
367
|
-
else if (!(l01_2 > epsilon));
|
|
358
|
+
else if (!(l01_2 > epsilon$1));
|
|
368
359
|
|
|
369
360
|
// Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?
|
|
370
361
|
// Equivalently, is (x1,y1) coincident with (x2,y2)?
|
|
371
362
|
// Or, is the radius zero? Line to (x1,y1).
|
|
372
|
-
else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {
|
|
363
|
+
else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon$1) || !r) {
|
|
373
364
|
this._append`L${this._x1 = x1},${this._y1 = y1}`;
|
|
374
365
|
}
|
|
375
366
|
|
|
@@ -386,7 +377,7 @@ class Path {
|
|
|
386
377
|
t21 = l / l21;
|
|
387
378
|
|
|
388
379
|
// If the start tangent is not coincident with (x0,y0), line to.
|
|
389
|
-
if (Math.abs(t01 - 1) > epsilon) {
|
|
380
|
+
if (Math.abs(t01 - 1) > epsilon$1) {
|
|
390
381
|
this._append`L${x1 + t01 * x01},${y1 + t01 * y01}`;
|
|
391
382
|
}
|
|
392
383
|
|
|
@@ -412,7 +403,7 @@ class Path {
|
|
|
412
403
|
}
|
|
413
404
|
|
|
414
405
|
// Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).
|
|
415
|
-
else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {
|
|
406
|
+
else if (Math.abs(this._x1 - x0) > epsilon$1 || Math.abs(this._y1 - y0) > epsilon$1) {
|
|
416
407
|
this._append`L${x0},${y0}`;
|
|
417
408
|
}
|
|
418
409
|
|
|
@@ -428,8 +419,16 @@ class Path {
|
|
|
428
419
|
}
|
|
429
420
|
|
|
430
421
|
// Is this arc non-empty? Draw an arc!
|
|
431
|
-
else if (da > epsilon) {
|
|
432
|
-
|
|
422
|
+
else if (da > epsilon$1) {
|
|
423
|
+
// If the start and end points are coincident after rounding, we need to draw two consecutive arcs.
|
|
424
|
+
const x1 = x + r * Math.cos(a1);
|
|
425
|
+
const y1 = y + r * Math.sin(a1);
|
|
426
|
+
if (da >= pi$1 && this._equal(x0, y0, x1, y1)) {
|
|
427
|
+
da /= 2;
|
|
428
|
+
let a00 = a0 + da;
|
|
429
|
+
this._append`A${r},${r},0,${+(da >= pi$1)},${cw},${x + r * Math.cos(a00)},${y + r * Math.sin(a00)}`;
|
|
430
|
+
}
|
|
431
|
+
this._append`A${r},${r},0,${+(da >= pi$1)},${cw},${this._x1 = x1},${this._y1 = y1}`;
|
|
433
432
|
}
|
|
434
433
|
}
|
|
435
434
|
rect(x, y, w, h) {
|
|
@@ -440,13 +439,16 @@ class Path {
|
|
|
440
439
|
}
|
|
441
440
|
}
|
|
442
441
|
|
|
442
|
+
// https://d3js.org/d3-shape/ v3.2.1 Copyright 2010-2026 Mike Bostock
|
|
443
|
+
|
|
443
444
|
function constant(x) {
|
|
444
445
|
return function constant() {
|
|
445
446
|
return x;
|
|
446
447
|
};
|
|
447
448
|
}
|
|
448
|
-
|
|
449
449
|
const sqrt = Math.sqrt;
|
|
450
|
+
|
|
451
|
+
const epsilon = 1e-12;
|
|
450
452
|
const pi = Math.PI;
|
|
451
453
|
const tau = 2 * pi;
|
|
452
454
|
|
|
@@ -594,14 +596,14 @@ var square = {
|
|
|
594
596
|
}
|
|
595
597
|
};
|
|
596
598
|
|
|
597
|
-
const sqrt3 = sqrt(3);
|
|
599
|
+
const sqrt3$1 = sqrt(3);
|
|
598
600
|
|
|
599
601
|
var triangle = {
|
|
600
602
|
draw(context, size) {
|
|
601
|
-
const y = -sqrt(size / (sqrt3 * 3));
|
|
603
|
+
const y = -sqrt(size / (sqrt3$1 * 3));
|
|
602
604
|
context.moveTo(0, y * 2);
|
|
603
|
-
context.lineTo(-sqrt3 * y, -y);
|
|
604
|
-
context.lineTo(sqrt3 * y, -y);
|
|
605
|
+
context.lineTo(-sqrt3$1 * y, -y);
|
|
606
|
+
context.lineTo(sqrt3$1 * y, -y);
|
|
605
607
|
context.closePath();
|
|
606
608
|
}
|
|
607
609
|
};
|
|
@@ -659,7 +661,9 @@ function Symbol(type, size) {
|
|
|
659
661
|
return symbol;
|
|
660
662
|
}
|
|
661
663
|
|
|
662
|
-
function
|
|
664
|
+
function noop() {}
|
|
665
|
+
|
|
666
|
+
function point$3(that, x, y) {
|
|
663
667
|
that._context.bezierCurveTo(
|
|
664
668
|
(2 * that._x0 + that._x1) / 3,
|
|
665
669
|
(2 * that._y0 + that._y1) / 3,
|
|
@@ -688,7 +692,7 @@ Basis.prototype = {
|
|
|
688
692
|
},
|
|
689
693
|
lineEnd: function() {
|
|
690
694
|
switch (this._point) {
|
|
691
|
-
case 3: point(this, this._x1, this._y1); // falls through
|
|
695
|
+
case 3: point$3(this, this._x1, this._y1); // falls through
|
|
692
696
|
case 2: this._context.lineTo(this._x1, this._y1); break;
|
|
693
697
|
}
|
|
694
698
|
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
@@ -700,7 +704,7 @@ Basis.prototype = {
|
|
|
700
704
|
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
701
705
|
case 1: this._point = 2; break;
|
|
702
706
|
case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // falls through
|
|
703
|
-
default: point(this, x, y); break;
|
|
707
|
+
default: point$3(this, x, y); break;
|
|
704
708
|
}
|
|
705
709
|
this._x0 = this._x1, this._x1 = x;
|
|
706
710
|
this._y0 = this._y1, this._y1 = y;
|
|
@@ -711,6 +715,529 @@ function basis(context) {
|
|
|
711
715
|
return new Basis(context);
|
|
712
716
|
}
|
|
713
717
|
|
|
718
|
+
function Bundle(context, beta) {
|
|
719
|
+
this._basis = new Basis(context);
|
|
720
|
+
this._beta = beta;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
Bundle.prototype = {
|
|
724
|
+
lineStart: function() {
|
|
725
|
+
this._x = [];
|
|
726
|
+
this._y = [];
|
|
727
|
+
this._basis.lineStart();
|
|
728
|
+
},
|
|
729
|
+
lineEnd: function() {
|
|
730
|
+
var x = this._x,
|
|
731
|
+
y = this._y,
|
|
732
|
+
j = x.length - 1;
|
|
733
|
+
|
|
734
|
+
if (j > 0) {
|
|
735
|
+
var x0 = x[0],
|
|
736
|
+
y0 = y[0],
|
|
737
|
+
dx = x[j] - x0,
|
|
738
|
+
dy = y[j] - y0,
|
|
739
|
+
i = -1,
|
|
740
|
+
t;
|
|
741
|
+
|
|
742
|
+
while (++i <= j) {
|
|
743
|
+
t = i / j;
|
|
744
|
+
this._basis.point(
|
|
745
|
+
this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),
|
|
746
|
+
this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)
|
|
747
|
+
);
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
this._x = this._y = null;
|
|
752
|
+
this._basis.lineEnd();
|
|
753
|
+
},
|
|
754
|
+
point: function(x, y) {
|
|
755
|
+
this._x.push(+x);
|
|
756
|
+
this._y.push(+y);
|
|
757
|
+
}
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
((function custom(beta) {
|
|
761
|
+
|
|
762
|
+
function bundle(context) {
|
|
763
|
+
return beta === 1 ? new Basis(context) : new Bundle(context, beta);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
bundle.beta = function(beta) {
|
|
767
|
+
return custom(+beta);
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
return bundle;
|
|
771
|
+
}))(0.85);
|
|
772
|
+
|
|
773
|
+
function point$2(that, x, y) {
|
|
774
|
+
that._context.bezierCurveTo(
|
|
775
|
+
that._x1 + that._k * (that._x2 - that._x0),
|
|
776
|
+
that._y1 + that._k * (that._y2 - that._y0),
|
|
777
|
+
that._x2 + that._k * (that._x1 - x),
|
|
778
|
+
that._y2 + that._k * (that._y1 - y),
|
|
779
|
+
that._x2,
|
|
780
|
+
that._y2
|
|
781
|
+
);
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
function Cardinal(context, tension) {
|
|
785
|
+
this._context = context;
|
|
786
|
+
this._k = (1 - tension) / 6;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
Cardinal.prototype = {
|
|
790
|
+
areaStart: function() {
|
|
791
|
+
this._line = 0;
|
|
792
|
+
},
|
|
793
|
+
areaEnd: function() {
|
|
794
|
+
this._line = NaN;
|
|
795
|
+
},
|
|
796
|
+
lineStart: function() {
|
|
797
|
+
this._x0 = this._x1 = this._x2 =
|
|
798
|
+
this._y0 = this._y1 = this._y2 = NaN;
|
|
799
|
+
this._point = 0;
|
|
800
|
+
},
|
|
801
|
+
lineEnd: function() {
|
|
802
|
+
switch (this._point) {
|
|
803
|
+
case 2: this._context.lineTo(this._x2, this._y2); break;
|
|
804
|
+
case 3: point$2(this, this._x1, this._y1); break;
|
|
805
|
+
}
|
|
806
|
+
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
807
|
+
this._line = 1 - this._line;
|
|
808
|
+
},
|
|
809
|
+
point: function(x, y) {
|
|
810
|
+
x = +x, y = +y;
|
|
811
|
+
switch (this._point) {
|
|
812
|
+
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
813
|
+
case 1: this._point = 2; this._x1 = x, this._y1 = y; break;
|
|
814
|
+
case 2: this._point = 3; // falls through
|
|
815
|
+
default: point$2(this, x, y); break;
|
|
816
|
+
}
|
|
817
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
818
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
819
|
+
}
|
|
820
|
+
};
|
|
821
|
+
|
|
822
|
+
((function custom(tension) {
|
|
823
|
+
|
|
824
|
+
function cardinal(context) {
|
|
825
|
+
return new Cardinal(context, tension);
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
cardinal.tension = function(tension) {
|
|
829
|
+
return custom(+tension);
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
return cardinal;
|
|
833
|
+
}))(0);
|
|
834
|
+
|
|
835
|
+
function CardinalClosed(context, tension) {
|
|
836
|
+
this._context = context;
|
|
837
|
+
this._k = (1 - tension) / 6;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
CardinalClosed.prototype = {
|
|
841
|
+
areaStart: noop,
|
|
842
|
+
areaEnd: noop,
|
|
843
|
+
lineStart: function() {
|
|
844
|
+
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
|
|
845
|
+
this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
|
|
846
|
+
this._point = 0;
|
|
847
|
+
},
|
|
848
|
+
lineEnd: function() {
|
|
849
|
+
switch (this._point) {
|
|
850
|
+
case 1: {
|
|
851
|
+
this._context.moveTo(this._x3, this._y3);
|
|
852
|
+
this._context.closePath();
|
|
853
|
+
break;
|
|
854
|
+
}
|
|
855
|
+
case 2: {
|
|
856
|
+
this._context.lineTo(this._x3, this._y3);
|
|
857
|
+
this._context.closePath();
|
|
858
|
+
break;
|
|
859
|
+
}
|
|
860
|
+
case 3: {
|
|
861
|
+
this.point(this._x3, this._y3);
|
|
862
|
+
this.point(this._x4, this._y4);
|
|
863
|
+
this.point(this._x5, this._y5);
|
|
864
|
+
break;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
point: function(x, y) {
|
|
869
|
+
x = +x, y = +y;
|
|
870
|
+
switch (this._point) {
|
|
871
|
+
case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
|
|
872
|
+
case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
|
|
873
|
+
case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
|
|
874
|
+
default: point$2(this, x, y); break;
|
|
875
|
+
}
|
|
876
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
877
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
878
|
+
}
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
((function custom(tension) {
|
|
882
|
+
|
|
883
|
+
function cardinal(context) {
|
|
884
|
+
return new CardinalClosed(context, tension);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
cardinal.tension = function(tension) {
|
|
888
|
+
return custom(+tension);
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
return cardinal;
|
|
892
|
+
}))(0);
|
|
893
|
+
|
|
894
|
+
function CardinalOpen(context, tension) {
|
|
895
|
+
this._context = context;
|
|
896
|
+
this._k = (1 - tension) / 6;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
CardinalOpen.prototype = {
|
|
900
|
+
areaStart: function() {
|
|
901
|
+
this._line = 0;
|
|
902
|
+
},
|
|
903
|
+
areaEnd: function() {
|
|
904
|
+
this._line = NaN;
|
|
905
|
+
},
|
|
906
|
+
lineStart: function() {
|
|
907
|
+
this._x0 = this._x1 = this._x2 =
|
|
908
|
+
this._y0 = this._y1 = this._y2 = NaN;
|
|
909
|
+
this._point = 0;
|
|
910
|
+
},
|
|
911
|
+
lineEnd: function() {
|
|
912
|
+
if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
|
|
913
|
+
this._line = 1 - this._line;
|
|
914
|
+
},
|
|
915
|
+
point: function(x, y) {
|
|
916
|
+
x = +x, y = +y;
|
|
917
|
+
switch (this._point) {
|
|
918
|
+
case 0: this._point = 1; break;
|
|
919
|
+
case 1: this._point = 2; break;
|
|
920
|
+
case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
|
|
921
|
+
case 3: this._point = 4; // falls through
|
|
922
|
+
default: point$2(this, x, y); break;
|
|
923
|
+
}
|
|
924
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
925
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
926
|
+
}
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
((function custom(tension) {
|
|
930
|
+
|
|
931
|
+
function cardinal(context) {
|
|
932
|
+
return new CardinalOpen(context, tension);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
cardinal.tension = function(tension) {
|
|
936
|
+
return custom(+tension);
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
return cardinal;
|
|
940
|
+
}))(0);
|
|
941
|
+
|
|
942
|
+
function point$1(that, x, y) {
|
|
943
|
+
var x1 = that._x1,
|
|
944
|
+
y1 = that._y1,
|
|
945
|
+
x2 = that._x2,
|
|
946
|
+
y2 = that._y2;
|
|
947
|
+
|
|
948
|
+
if (that._l01_a > epsilon) {
|
|
949
|
+
var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
|
|
950
|
+
n = 3 * that._l01_a * (that._l01_a + that._l12_a);
|
|
951
|
+
x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
|
|
952
|
+
y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (that._l23_a > epsilon) {
|
|
956
|
+
var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
|
|
957
|
+
m = 3 * that._l23_a * (that._l23_a + that._l12_a);
|
|
958
|
+
x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
|
|
959
|
+
y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
function CatmullRom(context, alpha) {
|
|
966
|
+
this._context = context;
|
|
967
|
+
this._alpha = alpha;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
CatmullRom.prototype = {
|
|
971
|
+
areaStart: function() {
|
|
972
|
+
this._line = 0;
|
|
973
|
+
},
|
|
974
|
+
areaEnd: function() {
|
|
975
|
+
this._line = NaN;
|
|
976
|
+
},
|
|
977
|
+
lineStart: function() {
|
|
978
|
+
this._x0 = this._x1 = this._x2 =
|
|
979
|
+
this._y0 = this._y1 = this._y2 = NaN;
|
|
980
|
+
this._l01_a = this._l12_a = this._l23_a =
|
|
981
|
+
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
982
|
+
this._point = 0;
|
|
983
|
+
},
|
|
984
|
+
lineEnd: function() {
|
|
985
|
+
switch (this._point) {
|
|
986
|
+
case 2: this._context.lineTo(this._x2, this._y2); break;
|
|
987
|
+
case 3: this.point(this._x2, this._y2); break;
|
|
988
|
+
}
|
|
989
|
+
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
990
|
+
this._line = 1 - this._line;
|
|
991
|
+
},
|
|
992
|
+
point: function(x, y) {
|
|
993
|
+
x = +x, y = +y;
|
|
994
|
+
|
|
995
|
+
if (this._point) {
|
|
996
|
+
var x23 = this._x2 - x,
|
|
997
|
+
y23 = this._y2 - y;
|
|
998
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
switch (this._point) {
|
|
1002
|
+
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
1003
|
+
case 1: this._point = 2; break;
|
|
1004
|
+
case 2: this._point = 3; // falls through
|
|
1005
|
+
default: point$1(this, x, y); break;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
1009
|
+
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
1010
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
1011
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
1012
|
+
}
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
((function custom(alpha) {
|
|
1016
|
+
|
|
1017
|
+
function catmullRom(context) {
|
|
1018
|
+
return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
catmullRom.alpha = function(alpha) {
|
|
1022
|
+
return custom(+alpha);
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
return catmullRom;
|
|
1026
|
+
}))(0.5);
|
|
1027
|
+
|
|
1028
|
+
function CatmullRomClosed(context, alpha) {
|
|
1029
|
+
this._context = context;
|
|
1030
|
+
this._alpha = alpha;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
CatmullRomClosed.prototype = {
|
|
1034
|
+
areaStart: noop,
|
|
1035
|
+
areaEnd: noop,
|
|
1036
|
+
lineStart: function() {
|
|
1037
|
+
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
|
|
1038
|
+
this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
|
|
1039
|
+
this._l01_a = this._l12_a = this._l23_a =
|
|
1040
|
+
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
1041
|
+
this._point = 0;
|
|
1042
|
+
},
|
|
1043
|
+
lineEnd: function() {
|
|
1044
|
+
switch (this._point) {
|
|
1045
|
+
case 1: {
|
|
1046
|
+
this._context.moveTo(this._x3, this._y3);
|
|
1047
|
+
this._context.closePath();
|
|
1048
|
+
break;
|
|
1049
|
+
}
|
|
1050
|
+
case 2: {
|
|
1051
|
+
this._context.lineTo(this._x3, this._y3);
|
|
1052
|
+
this._context.closePath();
|
|
1053
|
+
break;
|
|
1054
|
+
}
|
|
1055
|
+
case 3: {
|
|
1056
|
+
this.point(this._x3, this._y3);
|
|
1057
|
+
this.point(this._x4, this._y4);
|
|
1058
|
+
this.point(this._x5, this._y5);
|
|
1059
|
+
break;
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
point: function(x, y) {
|
|
1064
|
+
x = +x, y = +y;
|
|
1065
|
+
|
|
1066
|
+
if (this._point) {
|
|
1067
|
+
var x23 = this._x2 - x,
|
|
1068
|
+
y23 = this._y2 - y;
|
|
1069
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
switch (this._point) {
|
|
1073
|
+
case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
|
|
1074
|
+
case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
|
|
1075
|
+
case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
|
|
1076
|
+
default: point$1(this, x, y); break;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
1080
|
+
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
1081
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
1082
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
((function custom(alpha) {
|
|
1087
|
+
|
|
1088
|
+
function catmullRom(context) {
|
|
1089
|
+
return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
catmullRom.alpha = function(alpha) {
|
|
1093
|
+
return custom(+alpha);
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
return catmullRom;
|
|
1097
|
+
}))(0.5);
|
|
1098
|
+
|
|
1099
|
+
function CatmullRomOpen(context, alpha) {
|
|
1100
|
+
this._context = context;
|
|
1101
|
+
this._alpha = alpha;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
CatmullRomOpen.prototype = {
|
|
1105
|
+
areaStart: function() {
|
|
1106
|
+
this._line = 0;
|
|
1107
|
+
},
|
|
1108
|
+
areaEnd: function() {
|
|
1109
|
+
this._line = NaN;
|
|
1110
|
+
},
|
|
1111
|
+
lineStart: function() {
|
|
1112
|
+
this._x0 = this._x1 = this._x2 =
|
|
1113
|
+
this._y0 = this._y1 = this._y2 = NaN;
|
|
1114
|
+
this._l01_a = this._l12_a = this._l23_a =
|
|
1115
|
+
this._l01_2a = this._l12_2a = this._l23_2a =
|
|
1116
|
+
this._point = 0;
|
|
1117
|
+
},
|
|
1118
|
+
lineEnd: function() {
|
|
1119
|
+
if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
|
|
1120
|
+
this._line = 1 - this._line;
|
|
1121
|
+
},
|
|
1122
|
+
point: function(x, y) {
|
|
1123
|
+
x = +x, y = +y;
|
|
1124
|
+
|
|
1125
|
+
if (this._point) {
|
|
1126
|
+
var x23 = this._x2 - x,
|
|
1127
|
+
y23 = this._y2 - y;
|
|
1128
|
+
this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
switch (this._point) {
|
|
1132
|
+
case 0: this._point = 1; break;
|
|
1133
|
+
case 1: this._point = 2; break;
|
|
1134
|
+
case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
|
|
1135
|
+
case 3: this._point = 4; // falls through
|
|
1136
|
+
default: point$1(this, x, y); break;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
this._l01_a = this._l12_a, this._l12_a = this._l23_a;
|
|
1140
|
+
this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
|
|
1141
|
+
this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
|
|
1142
|
+
this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
|
|
1143
|
+
}
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
((function custom(alpha) {
|
|
1147
|
+
|
|
1148
|
+
function catmullRom(context) {
|
|
1149
|
+
return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
catmullRom.alpha = function(alpha) {
|
|
1153
|
+
return custom(+alpha);
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
return catmullRom;
|
|
1157
|
+
}))(0.5);
|
|
1158
|
+
|
|
1159
|
+
function sign(x) {
|
|
1160
|
+
return x < 0 ? -1 : 1;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
// Calculate the slopes of the tangents (Hermite-type interpolation) based on
|
|
1164
|
+
// the following paper: Steffen, M. 1990. A Simple Method for Monotonic
|
|
1165
|
+
// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
|
|
1166
|
+
// NOV(II), P. 443, 1990.
|
|
1167
|
+
function slope3(that, x2, y2) {
|
|
1168
|
+
var h0 = that._x1 - that._x0,
|
|
1169
|
+
h1 = x2 - that._x1,
|
|
1170
|
+
s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
|
|
1171
|
+
s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
|
|
1172
|
+
p = (s0 * h1 + s1 * h0) / (h0 + h1);
|
|
1173
|
+
return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// Calculate a one-sided slope.
|
|
1177
|
+
function slope2(that, t) {
|
|
1178
|
+
var h = that._x1 - that._x0;
|
|
1179
|
+
return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
|
|
1183
|
+
// "you can express cubic Hermite interpolation in terms of cubic Bézier curves
|
|
1184
|
+
// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".
|
|
1185
|
+
function point(that, t0, t1) {
|
|
1186
|
+
var x0 = that._x0,
|
|
1187
|
+
y0 = that._y0,
|
|
1188
|
+
x1 = that._x1,
|
|
1189
|
+
y1 = that._y1,
|
|
1190
|
+
dx = (x1 - x0) / 3;
|
|
1191
|
+
that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
function MonotoneX(context) {
|
|
1195
|
+
this._context = context;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
MonotoneX.prototype = {
|
|
1199
|
+
areaStart: function() {
|
|
1200
|
+
this._line = 0;
|
|
1201
|
+
},
|
|
1202
|
+
areaEnd: function() {
|
|
1203
|
+
this._line = NaN;
|
|
1204
|
+
},
|
|
1205
|
+
lineStart: function() {
|
|
1206
|
+
this._x0 = this._x1 =
|
|
1207
|
+
this._y0 = this._y1 =
|
|
1208
|
+
this._t0 = NaN;
|
|
1209
|
+
this._point = 0;
|
|
1210
|
+
},
|
|
1211
|
+
lineEnd: function() {
|
|
1212
|
+
switch (this._point) {
|
|
1213
|
+
case 2: this._context.lineTo(this._x1, this._y1); break;
|
|
1214
|
+
case 3: point(this, this._t0, slope2(this, this._t0)); break;
|
|
1215
|
+
}
|
|
1216
|
+
if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
|
|
1217
|
+
this._line = 1 - this._line;
|
|
1218
|
+
},
|
|
1219
|
+
point: function(x, y) {
|
|
1220
|
+
var t1 = NaN;
|
|
1221
|
+
|
|
1222
|
+
x = +x, y = +y;
|
|
1223
|
+
if (x === this._x1 && y === this._y1) return; // Ignore coincident points.
|
|
1224
|
+
switch (this._point) {
|
|
1225
|
+
case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
|
|
1226
|
+
case 1: this._point = 2; break;
|
|
1227
|
+
case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;
|
|
1228
|
+
default: point(this, this._t0, t1 = slope3(this, x, y)); break;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
this._x0 = this._x1, this._x1 = x;
|
|
1232
|
+
this._y0 = this._y1, this._y1 = y;
|
|
1233
|
+
this._t0 = t1;
|
|
1234
|
+
}
|
|
1235
|
+
};
|
|
1236
|
+
|
|
1237
|
+
(Object.create(MonotoneX.prototype)).point = function(x, y) {
|
|
1238
|
+
MonotoneX.prototype.point.call(this, y, x);
|
|
1239
|
+
};
|
|
1240
|
+
|
|
714
1241
|
const chartLineCss = () => `.sc-digi-chart-line-h{display:block;height:100%;width:100%;position:relative}.sc-digi-chart-line-h .digi-chart-line.sc-digi-chart-line{color:var(--MY-PROP);height:100%;width:100%;min-height:fit-content}.chart.sc-digi-chart-line{box-sizing:content-box;width:auto}.topWrapper.sc-digi-chart-line,.chartTitle.sc-digi-chart-line .digi-typography.sc-digi-chart-line{display:flex;flex-direction:column;gap:0.75rem}.topWrapper.sc-digi-chart-line{margin-bottom:0.75rem}.chartTitle.sc-digi-chart-line{--MARGIN--HEADING-2:0;--MARGIN--HEADING-3:0;--MARGIN--HEADING-4:0;--MARGIN--HEADING-5:0;--MARGIN--HEADING-6:0}.buttonWrapper.sc-digi-chart-line{--digi--button--padding--medium:0 0 0.75rem 0}.close.sc-digi-chart-line{--digi--icon--color:rgb(245, 245, 245);cursor:pointer;margin-top:-5px}.legend.sc-digi-chart-line{display:flex;flex-direction:row;flex-wrap:no-wrap;gap:0.5rem;margin:0.5rem 0 0.25rem 0;height:2.675rem;overflow-x:auto;overflow-y:hidden;cursor:default;max-width:100%}.chip.sc-digi-chart-line{box-sizing:border-box}.legend.sc-digi-chart-line::-webkit-scrollbar,.table.sc-digi-chart-line::-webkit-scrollbar{height:10px;width:10px}.legend.sc-digi-chart-line::-webkit-scrollbar-track,.table.sc-digi-chart-line::-webkit-scrollbar-track{background:whitesmoke;border-radius:4px}.legend.sc-digi-chart-line::-webkit-scrollbar-thumb,.table.sc-digi-chart-line::-webkit-scrollbar-thumb{background-color:lightgray;border-radius:4px;border:0}.chartTooltip.sc-digi-chart-line{box-sizing:border-box;position:absolute;background-color:rgba(10, 10, 10, 0.9);color:white;padding:5px 10px;padding-right:5px;border-radius:4px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;font-size:14px;display:none}.scChartStatus.sc-digi-chart-line{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}.table.sc-digi-chart-line{display:none;overflow-y:scroll;height:fit-content;border-radius:4px;padding:0.25rem;background:linear-gradient(white 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), white 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) center bottom;background-repeat:no-repeat;background-size:100% 40px, 100% 40px, 100% 14px, 100% 14px;background-attachment:local, local, scroll, scroll}.tableIcon.sc-digi-chart-line{--digi--icon--color:var(--digi--global--color--neutral--grayscale--darker);width:26px;height:26px;pointer-events:none}.tableIcon.sc-digi-chart-line:hover{--digi--icon--color:var( --digi--global--color--neutral--grayscale--darkest-3 )}.tooltipHead.sc-digi-chart-line{display:flex;width:100%;justify-content:space-between;margin-bottom:0.25rem;flex-direction:row}.tooltipBody.sc-digi-chart-line{display:flex;flex-direction:column;padding-right:5px;max-height:100px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgb(245, 245, 245) transparent}`;
|
|
715
1242
|
|
|
716
1243
|
const ChartLine = class {
|
|
@@ -759,23 +1286,23 @@ const ChartLine = class {
|
|
|
759
1286
|
this.resizeSvg();
|
|
760
1287
|
this.resizeLines();
|
|
761
1288
|
this.repositionTooltip(); // Called on both div.resize, and window.resize
|
|
762
|
-
|
|
1289
|
+
d3Zoom.select(this._legendDiv).style('width', this.dims.width + 'px');
|
|
763
1290
|
});
|
|
764
1291
|
});
|
|
765
1292
|
// Observer for watching size changes when in table mode
|
|
766
1293
|
this.tableObserver = new ResizeObserver((entries) => {
|
|
767
1294
|
entries.forEach(() => {
|
|
768
|
-
|
|
1295
|
+
d3Zoom.select(this._legendDiv).style('width', this.dims.width + 'px');
|
|
769
1296
|
this.resizeTable();
|
|
770
1297
|
});
|
|
771
1298
|
});
|
|
772
1299
|
this.dragStart = (e) => {
|
|
773
|
-
const container =
|
|
1300
|
+
const container = d3Zoom.select(this._legendDiv).node();
|
|
774
1301
|
this._dragStart = e.x - container.offsetLeft;
|
|
775
1302
|
this._scrollLeft = container.scrollLeft;
|
|
776
1303
|
};
|
|
777
1304
|
this.drag = (e) => {
|
|
778
|
-
const container =
|
|
1305
|
+
const container = d3Zoom.select(this._legendDiv);
|
|
779
1306
|
this._dragDir = e.x;
|
|
780
1307
|
const delta = this._dragDir - container.node().offsetLeft;
|
|
781
1308
|
const walk = (delta - this._dragStart) * 1; //scroll-fast
|
|
@@ -786,27 +1313,27 @@ const ChartLine = class {
|
|
|
786
1313
|
// Fixed number of y-axis lines
|
|
787
1314
|
const step = this._chartData.meta && this._chartData.meta.numberOfReferenceLines
|
|
788
1315
|
? this._chartData.meta.numberOfReferenceLines
|
|
789
|
-
: 5, min = this._yAxis.domain()[0], max = this._yAxis.domain()[1], stepValue = (max - min) / (step - 1), tickValues =
|
|
1316
|
+
: 5, min = this._yAxis.domain()[0], max = this._yAxis.domain()[1], stepValue = (max - min) / (step - 1), tickValues = d3Zoom.range(min, max + stepValue, stepValue);
|
|
790
1317
|
if (!init) {
|
|
791
1318
|
this._yAxisHandle
|
|
792
1319
|
.style('font-size', this.fontSize)
|
|
793
1320
|
.transition()
|
|
794
1321
|
.duration(400)
|
|
795
|
-
.call(
|
|
1322
|
+
.call(d3Zoom.axisLeft(this._yAxis)
|
|
796
1323
|
.ticks(step)
|
|
797
1324
|
.tickPadding(this.yPadding)
|
|
798
1325
|
.tickValues(tickValues)
|
|
799
1326
|
.tickSize(-(this.dims.width - this.margin.left))
|
|
800
|
-
.tickFormat((d) =>
|
|
1327
|
+
.tickFormat((d) => d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(d)))
|
|
801
1328
|
.on('end', () => this.leftSetAxis());
|
|
802
1329
|
}
|
|
803
1330
|
else {
|
|
804
|
-
this._yAxisHandle.style('font-size', this.fontSize).call(
|
|
1331
|
+
this._yAxisHandle.style('font-size', this.fontSize).call(d3Zoom.axisLeft(this._yAxis)
|
|
805
1332
|
.ticks(step)
|
|
806
1333
|
.tickPadding(this.yPadding)
|
|
807
1334
|
.tickValues(tickValues)
|
|
808
1335
|
.tickSize(-(this.dims.width - this.margin.left))
|
|
809
|
-
.tickFormat((d) =>
|
|
1336
|
+
.tickFormat((d) => d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(d)));
|
|
810
1337
|
}
|
|
811
1338
|
this._yAxisHandle.selectAll('line').attr('stroke', '#BDBDBD');
|
|
812
1339
|
this._yAxisHandle.select('.domain').attr('display', 'none');
|
|
@@ -832,8 +1359,8 @@ const ChartLine = class {
|
|
|
832
1359
|
};
|
|
833
1360
|
// Initialize legend
|
|
834
1361
|
this.initLegend = () => {
|
|
835
|
-
const container =
|
|
836
|
-
|
|
1362
|
+
const container = d3Zoom.select(this._legendDiv);
|
|
1363
|
+
d3Zoom.select(this._legendDiv).style('width', this.dims.width + 'px');
|
|
837
1364
|
container.selectAll('.chip').remove();
|
|
838
1365
|
container.call(drag().on('start', this.dragStart).on('drag', this.drag));
|
|
839
1366
|
container
|
|
@@ -898,7 +1425,7 @@ const ChartLine = class {
|
|
|
898
1425
|
this.highlightPath = (event, element) => {
|
|
899
1426
|
if (event.target.className != 'chip')
|
|
900
1427
|
return;
|
|
901
|
-
const target =
|
|
1428
|
+
const target = d3Zoom.select(event.target);
|
|
902
1429
|
target.style('border', (d) => '2px solid ' + this.colorFunction(d));
|
|
903
1430
|
this._lineChartContainer
|
|
904
1431
|
.selectAll('.linePath')
|
|
@@ -906,7 +1433,7 @@ const ChartLine = class {
|
|
|
906
1433
|
.duration(150)
|
|
907
1434
|
.attr('stroke', (d, i, nodelist) => {
|
|
908
1435
|
if (d.title === element.title) {
|
|
909
|
-
|
|
1436
|
+
d3Zoom.select(nodelist[i]).raise();
|
|
910
1437
|
return this.colorFunction(d);
|
|
911
1438
|
}
|
|
912
1439
|
else
|
|
@@ -922,7 +1449,7 @@ const ChartLine = class {
|
|
|
922
1449
|
.selectAll('.symbolGroup')
|
|
923
1450
|
.attr('fill', (d, i, nodelist) => {
|
|
924
1451
|
if (d.title === element.title) {
|
|
925
|
-
|
|
1452
|
+
d3Zoom.select(nodelist[i]).raise();
|
|
926
1453
|
}
|
|
927
1454
|
});
|
|
928
1455
|
this._lineChartContainer
|
|
@@ -944,7 +1471,7 @@ const ChartLine = class {
|
|
|
944
1471
|
this.togglePath = (event) => {
|
|
945
1472
|
if (event.target.className != 'chip')
|
|
946
1473
|
return;
|
|
947
|
-
const target =
|
|
1474
|
+
const target = d3Zoom.select(event.target);
|
|
948
1475
|
// Using color of text to identify what state the legend chip is in, so resetting this the last thing we do
|
|
949
1476
|
const swap = 'white' === target.style('color');
|
|
950
1477
|
target
|
|
@@ -984,7 +1511,7 @@ const ChartLine = class {
|
|
|
984
1511
|
};
|
|
985
1512
|
// Coloring all lines
|
|
986
1513
|
this.colorLines = (event) => {
|
|
987
|
-
const target =
|
|
1514
|
+
const target = d3Zoom.select(event.target);
|
|
988
1515
|
target.style('border', '2px solid white');
|
|
989
1516
|
this._lineChartContainer
|
|
990
1517
|
.selectAll('.linePath')
|
|
@@ -1157,13 +1684,13 @@ const ChartLine = class {
|
|
|
1157
1684
|
.attr('opacity', 0)
|
|
1158
1685
|
.transition()
|
|
1159
1686
|
.duration(400)
|
|
1160
|
-
.ease(
|
|
1687
|
+
.ease(d3Zoom.polyInOut)
|
|
1161
1688
|
.attr('opacity', 1);
|
|
1162
1689
|
}, (update) => {
|
|
1163
1690
|
update
|
|
1164
1691
|
.transition()
|
|
1165
1692
|
.duration(400)
|
|
1166
|
-
.ease(
|
|
1693
|
+
.ease(d3Zoom.polyInOut)
|
|
1167
1694
|
.attr('d', (d) => d ? this.symbolType(d.index) : null)
|
|
1168
1695
|
.attr('fill', (d) => d ? this.colorFunction(d) : null)
|
|
1169
1696
|
.attr('transform', (d) => d
|
|
@@ -1182,10 +1709,10 @@ const ChartLine = class {
|
|
|
1182
1709
|
// Setting dimension variable
|
|
1183
1710
|
this.setDims = (onlyHeight = false) => {
|
|
1184
1711
|
// Get title dimensions
|
|
1185
|
-
const tempTitle =
|
|
1712
|
+
const tempTitle = d3Zoom.select(this._titleDiv).node().getBoundingClientRect(), tempLegend = d3Zoom.select(this._legendDiv).node().getBoundingClientRect();
|
|
1186
1713
|
const rem = parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
1187
1714
|
if (!onlyHeight)
|
|
1188
|
-
this.dims =
|
|
1715
|
+
this.dims = d3Zoom.select(this._chartDiv).node().getBoundingClientRect();
|
|
1189
1716
|
this.dims.height =
|
|
1190
1717
|
this._maxHeight - tempLegend.height - tempTitle.height - 1.75 * rem;
|
|
1191
1718
|
};
|
|
@@ -1208,7 +1735,7 @@ const ChartLine = class {
|
|
|
1208
1735
|
this._tickSize) - 2, 1), this._chartData.data.xValues.length);
|
|
1209
1736
|
this._xAxisHandle
|
|
1210
1737
|
.attr('transform', 'translate(0,' + (this.dims.height - this.margin.bottom) + ')')
|
|
1211
|
-
.call(
|
|
1738
|
+
.call(d3Zoom.axisBottom(this._xAxis)
|
|
1212
1739
|
.ticks(ticks)
|
|
1213
1740
|
.tickPadding(this.xPadding)
|
|
1214
1741
|
.tickFormat((d) => {
|
|
@@ -1233,7 +1760,7 @@ const ChartLine = class {
|
|
|
1233
1760
|
]);
|
|
1234
1761
|
const ticks = Math.min(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
|
|
1235
1762
|
this._tickSize) - 2, this._xAxis.domain()[1]);
|
|
1236
|
-
this._xAxisHandle.call(
|
|
1763
|
+
this._xAxisHandle.call(d3Zoom.axisBottom(this._xAxis)
|
|
1237
1764
|
.ticks(ticks)
|
|
1238
1765
|
.tickPadding(this.xPadding)
|
|
1239
1766
|
.tickFormat((d) => {
|
|
@@ -1300,7 +1827,7 @@ const ChartLine = class {
|
|
|
1300
1827
|
this._svg.select('.tooltipPointer').remove();
|
|
1301
1828
|
};
|
|
1302
1829
|
this.drawDottedLine = (event) => {
|
|
1303
|
-
this._hoverPoint = this.closest(Math.round(this._lineScale.invert(pointer(event, this._Tipbox.node())[0] - this.margin.left / 2)));
|
|
1830
|
+
this._hoverPoint = this.closest(Math.round(this._lineScale.invert(d3Zoom.pointer(event, this._Tipbox.node())[0] - this.margin.left / 2)));
|
|
1304
1831
|
if (this._hoverPoint === this._tooltipPoint)
|
|
1305
1832
|
return this._secondaryLine.attr('display', 'none');
|
|
1306
1833
|
this._secondaryLine
|
|
@@ -1334,11 +1861,11 @@ const ChartLine = class {
|
|
|
1334
1861
|
this.touchPosition = (event) => {
|
|
1335
1862
|
if (event.type === 'touchmove') {
|
|
1336
1863
|
event.preventDefault();
|
|
1337
|
-
return this.closest(Math.round(this._lineScale.invert(pointer(event.touches[0], this._Tipbox.node())[0] -
|
|
1864
|
+
return this.closest(Math.round(this._lineScale.invert(d3Zoom.pointer(event.touches[0], this._Tipbox.node())[0] -
|
|
1338
1865
|
this.margin.left / 2)));
|
|
1339
1866
|
}
|
|
1340
1867
|
else {
|
|
1341
|
-
return this.closest(Math.round(this._lineScale.invert(pointer(event, this._Tipbox.node())[0] - this.margin.left / 2)));
|
|
1868
|
+
return this.closest(Math.round(this._lineScale.invert(d3Zoom.pointer(event, this._Tipbox.node())[0] - this.margin.left / 2)));
|
|
1342
1869
|
}
|
|
1343
1870
|
};
|
|
1344
1871
|
// Function for drawing tooltip
|
|
@@ -1374,7 +1901,7 @@ const ChartLine = class {
|
|
|
1374
1901
|
? '<span>' +
|
|
1375
1902
|
d.title +
|
|
1376
1903
|
'</span><span style="margin-left:0.75rem;">' +
|
|
1377
|
-
|
|
1904
|
+
d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(d.yValues[this._tooltipDataIndex]) +
|
|
1378
1905
|
'</span>'
|
|
1379
1906
|
: null;
|
|
1380
1907
|
});
|
|
@@ -1395,13 +1922,13 @@ const ChartLine = class {
|
|
|
1395
1922
|
};
|
|
1396
1923
|
this.initYAxis = (empty) => {
|
|
1397
1924
|
// Y Axis
|
|
1398
|
-
this._yAxis =
|
|
1925
|
+
this._yAxis = d3Zoom.linear()
|
|
1399
1926
|
.domain([0, empty ? 10 : this._maxVal])
|
|
1400
1927
|
.nice(3)
|
|
1401
1928
|
.range([this.dims.height - this.margin.bottom, this.margin.top]);
|
|
1402
1929
|
// The magic number is just needed in initialization, because getting the exact size is impossible during the initialization
|
|
1403
1930
|
this.margin.left =
|
|
1404
|
-
this.getTextSize(
|
|
1931
|
+
this.getTextSize(d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(this._yAxis.domain()[1])) +
|
|
1405
1932
|
this.yPadding +
|
|
1406
1933
|
3;
|
|
1407
1934
|
this._lineChartContainer = this._svg
|
|
@@ -1423,20 +1950,20 @@ const ChartLine = class {
|
|
|
1423
1950
|
1;
|
|
1424
1951
|
else
|
|
1425
1952
|
this.margin.right =
|
|
1426
|
-
this.getTextSize(
|
|
1953
|
+
this.getTextSize(d3Zoom.max(this._chartData.data.xValues).toString()) /
|
|
1427
1954
|
2 +
|
|
1428
1955
|
1;
|
|
1429
1956
|
}
|
|
1430
|
-
this._xAxis =
|
|
1957
|
+
this._xAxis = d3Zoom.linear()
|
|
1431
1958
|
.domain([
|
|
1432
|
-
empty ? 1 :
|
|
1433
|
-
empty ? 10 :
|
|
1959
|
+
empty ? 1 : d3Zoom.min(this._chartData.data.xValues),
|
|
1960
|
+
empty ? 10 : d3Zoom.max(this._chartData.data.xValues)
|
|
1434
1961
|
]) // This is the min and the max of the data
|
|
1435
1962
|
.range([0, this.dims.width - this.margin.left - this.margin.right]);
|
|
1436
|
-
this._lineScale =
|
|
1963
|
+
this._lineScale = d3Zoom.linear()
|
|
1437
1964
|
.domain([
|
|
1438
|
-
empty ? 1 :
|
|
1439
|
-
empty ? 10 :
|
|
1965
|
+
empty ? 1 : d3Zoom.min(this._chartData.data.xValues),
|
|
1966
|
+
empty ? 10 : d3Zoom.max(this._chartData.data.xValues)
|
|
1440
1967
|
]) // This is the min and the max of the data
|
|
1441
1968
|
.range([0, this.dims.width - this.margin.left - this.margin.right]);
|
|
1442
1969
|
const ticks = Math.min(Math.max(Math.floor((this.dims.width - this.margin.left - this.margin.right) /
|
|
@@ -1446,7 +1973,7 @@ const ChartLine = class {
|
|
|
1446
1973
|
.attr('transform', 'translate(0,' + (this.dims.height - this.margin.bottom) + ')')
|
|
1447
1974
|
.attr('class', 'xAxis')
|
|
1448
1975
|
.style('font-size', this.fontSize)
|
|
1449
|
-
.call(
|
|
1976
|
+
.call(d3Zoom.axisBottom(this._xAxis)
|
|
1450
1977
|
.ticks(ticks)
|
|
1451
1978
|
.tickSize(this.xTickSize)
|
|
1452
1979
|
.tickPadding(this.xPadding)
|
|
@@ -1477,7 +2004,7 @@ const ChartLine = class {
|
|
|
1477
2004
|
if (this._yAxis(selData))
|
|
1478
2005
|
return this._yAxis(selData);
|
|
1479
2006
|
else {
|
|
1480
|
-
|
|
2007
|
+
d3Zoom.select(circleList[i]).attr('display', 'none');
|
|
1481
2008
|
return null;
|
|
1482
2009
|
}
|
|
1483
2010
|
});
|
|
@@ -1493,7 +2020,7 @@ const ChartLine = class {
|
|
|
1493
2020
|
if (this._yAxis(selData))
|
|
1494
2021
|
return this._yAxis(selData);
|
|
1495
2022
|
else {
|
|
1496
|
-
|
|
2023
|
+
d3Zoom.select(circleList[i]).attr('display', 'none');
|
|
1497
2024
|
return null;
|
|
1498
2025
|
}
|
|
1499
2026
|
});
|
|
@@ -1539,7 +2066,7 @@ const ChartLine = class {
|
|
|
1539
2066
|
this._tooltip
|
|
1540
2067
|
.transition('moveTooltip')
|
|
1541
2068
|
.duration(transitionTimer)
|
|
1542
|
-
.ease(
|
|
2069
|
+
.ease(d3Zoom.polyInOut)
|
|
1543
2070
|
.style('left', pos - this.margin.left + 'px');
|
|
1544
2071
|
else
|
|
1545
2072
|
this._tooltip.style('left', pos - this.margin.left + 'px');
|
|
@@ -1552,7 +2079,7 @@ const ChartLine = class {
|
|
|
1552
2079
|
};
|
|
1553
2080
|
this.mapColorToLine = () => {
|
|
1554
2081
|
// list of group names
|
|
1555
|
-
this._Color =
|
|
2082
|
+
this._Color = d3Zoom.ordinal()
|
|
1556
2083
|
.domain(this._chartData.data.series.map(function (d) {
|
|
1557
2084
|
return d.title;
|
|
1558
2085
|
}))
|
|
@@ -1569,7 +2096,7 @@ const ChartLine = class {
|
|
|
1569
2096
|
};
|
|
1570
2097
|
this.computeMaxVal = () => {
|
|
1571
2098
|
// Compute max value from datasets
|
|
1572
|
-
this._maxVal = parseFloat(
|
|
2099
|
+
this._maxVal = parseFloat(d3Zoom.max(this._chartData.data.series, (d) => d3Zoom.max(d['yValues'])));
|
|
1573
2100
|
};
|
|
1574
2101
|
// Updates number format if specified to be in percentage
|
|
1575
2102
|
this.checkPercentage = () => {
|
|
@@ -1589,8 +2116,8 @@ const ChartLine = class {
|
|
|
1589
2116
|
this.lineChartObserver.disconnect();
|
|
1590
2117
|
this.tableObserver.observe(this._chartDiv);
|
|
1591
2118
|
this._status.innerHTML = '<p>Visas som tabell</p>';
|
|
1592
|
-
|
|
1593
|
-
|
|
2119
|
+
d3Zoom.select(this._host).select('.tableButton').style('display', 'none');
|
|
2120
|
+
d3Zoom.select(this._host).select('.chartButton').style('display', null);
|
|
1594
2121
|
this.focusHostButton('.chartButton');
|
|
1595
2122
|
const duration = 150;
|
|
1596
2123
|
this._svg
|
|
@@ -1604,13 +2131,13 @@ const ChartLine = class {
|
|
|
1604
2131
|
this._tableDiv.style['display'] = 'block';
|
|
1605
2132
|
this.setTableContent();
|
|
1606
2133
|
this.setTableDimensions();
|
|
1607
|
-
|
|
2134
|
+
d3Zoom.select(this._tableDiv)
|
|
1608
2135
|
.style('opacity', 0)
|
|
1609
2136
|
.transition('fadein')
|
|
1610
2137
|
.duration(duration)
|
|
1611
2138
|
.style('opacity', 1);
|
|
1612
2139
|
});
|
|
1613
|
-
|
|
2140
|
+
d3Zoom.select(this._legendDiv)
|
|
1614
2141
|
.style('opacity', 1)
|
|
1615
2142
|
.transition('fadeout')
|
|
1616
2143
|
.duration(duration)
|
|
@@ -1625,10 +2152,10 @@ const ChartLine = class {
|
|
|
1625
2152
|
this.reInitChart = () => {
|
|
1626
2153
|
this.tableObserver.disconnect();
|
|
1627
2154
|
this._status.innerHTML = '<p>Visas som diagram</p>';
|
|
1628
|
-
|
|
1629
|
-
|
|
2155
|
+
d3Zoom.select(this._host).select('.tableButton').style('display', null);
|
|
2156
|
+
d3Zoom.select(this._host).select('.chartButton').style('display', 'none');
|
|
1630
2157
|
this.focusHostButton('.tableButton');
|
|
1631
|
-
const table =
|
|
2158
|
+
const table = d3Zoom.select(this._tableDiv);
|
|
1632
2159
|
table
|
|
1633
2160
|
.style('opacity', 1)
|
|
1634
2161
|
.transition()
|
|
@@ -1643,7 +2170,7 @@ const ChartLine = class {
|
|
|
1643
2170
|
.transition()
|
|
1644
2171
|
.duration(150)
|
|
1645
2172
|
.attr('opacity', 1);
|
|
1646
|
-
|
|
2173
|
+
d3Zoom.select(this._legendDiv)
|
|
1647
2174
|
.style('display', null)
|
|
1648
2175
|
.style('opacity', 0)
|
|
1649
2176
|
.transition()
|
|
@@ -1698,10 +2225,10 @@ const ChartLine = class {
|
|
|
1698
2225
|
this.xPadding +
|
|
1699
2226
|
this.xTickSize;
|
|
1700
2227
|
this.lineChartObserver.observe(this._chartDiv);
|
|
1701
|
-
|
|
2228
|
+
d3Zoom.select(this._chartDiv).select('svg').remove();
|
|
1702
2229
|
// Initialize an empty div, that we can place info in for tooltip
|
|
1703
2230
|
// Styling for tooltip is in .scss file
|
|
1704
|
-
this._tooltip =
|
|
2231
|
+
this._tooltip = d3Zoom.select('#' + this.afId);
|
|
1705
2232
|
this._tooltip.select('.close').on('click', this.closeTooltip);
|
|
1706
2233
|
this._tooltipHeading =
|
|
1707
2234
|
'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1);
|
|
@@ -1711,15 +2238,15 @@ const ChartLine = class {
|
|
|
1711
2238
|
.insert(this._tooltipHeading, ':first-child') // increment heading level by one
|
|
1712
2239
|
.style('margin', '0 0.75rem')
|
|
1713
2240
|
.style('font-weight', '500');
|
|
1714
|
-
this._maxHeight =
|
|
2241
|
+
this._maxHeight = d3Zoom.select(this._host)
|
|
1715
2242
|
.node()
|
|
1716
2243
|
.parentNode.getBoundingClientRect().height;
|
|
1717
2244
|
this.setDims();
|
|
1718
2245
|
this.setTickSize();
|
|
1719
2246
|
this.checkPercentage();
|
|
1720
|
-
|
|
2247
|
+
d3Zoom.select(this._chartDiv).attr('height', this.dims.height + 'px');
|
|
1721
2248
|
// Appending svg
|
|
1722
|
-
this._svg =
|
|
2249
|
+
this._svg = d3Zoom.select(this._chartDiv)
|
|
1723
2250
|
.append('svg')
|
|
1724
2251
|
.attr('aria-hidden', true)
|
|
1725
2252
|
.attr('role', 'img')
|
|
@@ -1758,7 +2285,7 @@ const ChartLine = class {
|
|
|
1758
2285
|
.attr('stroke-width', '1px')
|
|
1759
2286
|
.attr('r', 7)
|
|
1760
2287
|
.attr('display', 'none');
|
|
1761
|
-
|
|
2288
|
+
d3Zoom.select(window).on('resize.' + this.afId, this.repositionTooltip);
|
|
1762
2289
|
}
|
|
1763
2290
|
// Initializing chart with empty dataset
|
|
1764
2291
|
initEmpty() {
|
|
@@ -1770,11 +2297,11 @@ const ChartLine = class {
|
|
|
1770
2297
|
Number(this.fontSize.replace(/[^\d.]|\.(?=.*\.)/g, '')) +
|
|
1771
2298
|
this.xPadding +
|
|
1772
2299
|
this.xTickSize;
|
|
1773
|
-
|
|
2300
|
+
d3Zoom.select(this._chartDiv).select('svg').remove();
|
|
1774
2301
|
// Initialize an empty div, that we can place info in for tooltip
|
|
1775
2302
|
// Styling for tooltip is in .scss file
|
|
1776
|
-
this._tooltip =
|
|
1777
|
-
|
|
2303
|
+
this._tooltip = d3Zoom.select('#' + this.afId);
|
|
2304
|
+
d3Zoom.select('digi-icon-x').on('click', this.closeTooltip);
|
|
1778
2305
|
this._tooltipHeading =
|
|
1779
2306
|
'h' + (parseInt(this.afHeadingLevel.replace(/\D/g, '')) + 1);
|
|
1780
2307
|
// Add heading placeholder for heading
|
|
@@ -1783,12 +2310,12 @@ const ChartLine = class {
|
|
|
1783
2310
|
.insert(this._tooltipHeading, ':first-child') // increment heading level by one
|
|
1784
2311
|
.style('margin', '0 0.75rem')
|
|
1785
2312
|
.style('font-weight', '500');
|
|
1786
|
-
this._maxHeight =
|
|
2313
|
+
this._maxHeight = d3Zoom.select(this._host)
|
|
1787
2314
|
.node()
|
|
1788
2315
|
.parentNode.getBoundingClientRect().height;
|
|
1789
2316
|
this.setDims();
|
|
1790
|
-
|
|
1791
|
-
this._svg =
|
|
2317
|
+
d3Zoom.select(this._chartDiv).attr('height', this.dims.height + 'px');
|
|
2318
|
+
this._svg = d3Zoom.select(this._chartDiv)
|
|
1792
2319
|
.append('svg')
|
|
1793
2320
|
.attr('aria-hidden', true);
|
|
1794
2321
|
this._svg.attr('width', this.dims.width).attr('height', this.dims.height);
|
|
@@ -1817,7 +2344,7 @@ const ChartLine = class {
|
|
|
1817
2344
|
}
|
|
1818
2345
|
loadingState(empty) {
|
|
1819
2346
|
this._loading = true;
|
|
1820
|
-
|
|
2347
|
+
d3Zoom.select('.tableButton').style('display', 'none');
|
|
1821
2348
|
const duration = 400;
|
|
1822
2349
|
const LineFunc = line()
|
|
1823
2350
|
.defined((d) => d[1] != null)
|
|
@@ -1833,17 +2360,17 @@ const ChartLine = class {
|
|
|
1833
2360
|
.on('touchmove', null)
|
|
1834
2361
|
.on('mouseup', null)
|
|
1835
2362
|
.on('mouseleave', null);
|
|
1836
|
-
|
|
2363
|
+
d3Zoom.select(this._titleDiv)
|
|
1837
2364
|
.select(this.afHeadingLevel)
|
|
1838
2365
|
.html(`${text._t.loading}...`);
|
|
1839
|
-
const height =
|
|
1840
|
-
|
|
2366
|
+
const height = d3Zoom.select(this._titleDiv).style('height');
|
|
2367
|
+
d3Zoom.select(this._titleDiv)
|
|
1841
2368
|
.style('height', this._prevHeight)
|
|
1842
2369
|
.transition('adjust')
|
|
1843
2370
|
.duration(400)
|
|
1844
2371
|
.style('height', height)
|
|
1845
|
-
.on('end', () =>
|
|
1846
|
-
|
|
2372
|
+
.on('end', () => d3Zoom.select(this._titleDiv).style('height', null));
|
|
2373
|
+
d3Zoom.select(this._legendDiv).style('display', 'none');
|
|
1847
2374
|
const animateRandomLine = () => {
|
|
1848
2375
|
let firstVal = this._xAxis.domain()[0];
|
|
1849
2376
|
const randomData = [...Array(this._xAxis.domain()[1])].map(() => {
|
|
@@ -1867,10 +2394,10 @@ const ChartLine = class {
|
|
|
1867
2394
|
.attr('d', (d) => LineFunc(d))
|
|
1868
2395
|
.transition()
|
|
1869
2396
|
.duration(duration * 3)
|
|
1870
|
-
.ease(quadInOut)
|
|
2397
|
+
.ease(d3Zoom.quadInOut)
|
|
1871
2398
|
.attrTween('stroke-dasharray', function () {
|
|
1872
2399
|
const length = this.getTotalLength();
|
|
1873
|
-
return
|
|
2400
|
+
return d3Zoom.value(`0,${length}`, `${length},${length}`);
|
|
1874
2401
|
})
|
|
1875
2402
|
.on('end', () => {
|
|
1876
2403
|
this._lineChartContainer
|
|
@@ -1882,7 +2409,7 @@ const ChartLine = class {
|
|
|
1882
2409
|
.attr('stroke-dashoffset', 0)
|
|
1883
2410
|
.transition()
|
|
1884
2411
|
.duration(duration * 3)
|
|
1885
|
-
.ease(quadInOut)
|
|
2412
|
+
.ease(d3Zoom.quadInOut)
|
|
1886
2413
|
.attr('stroke-dashoffset', function () {
|
|
1887
2414
|
return -this.getTotalLength();
|
|
1888
2415
|
})
|
|
@@ -1906,7 +2433,7 @@ const ChartLine = class {
|
|
|
1906
2433
|
.data(data)
|
|
1907
2434
|
.transition()
|
|
1908
2435
|
.duration(duration)
|
|
1909
|
-
.ease(
|
|
2436
|
+
.ease(d3Zoom.polyInOut)
|
|
1910
2437
|
.attr('d', (d) => this._LineFunc(d.line))
|
|
1911
2438
|
.on('end', (...[, i]) => (i === 0 ? animateRandomLine() : null));
|
|
1912
2439
|
this._lineChartContainer
|
|
@@ -1914,7 +2441,7 @@ const ChartLine = class {
|
|
|
1914
2441
|
.selectAll('.symbol')
|
|
1915
2442
|
.transition()
|
|
1916
2443
|
.duration(duration)
|
|
1917
|
-
.ease(
|
|
2444
|
+
.ease(d3Zoom.linear$1)
|
|
1918
2445
|
.attr('transform', (d) => d
|
|
1919
2446
|
? `translate(${this._lineScale(d.x)},${this._yAxis(this._yAxis.domain()[0])})`
|
|
1920
2447
|
: null)
|
|
@@ -1929,9 +2456,9 @@ const ChartLine = class {
|
|
|
1929
2456
|
updateSvg() {
|
|
1930
2457
|
// displaying legend again
|
|
1931
2458
|
if (this._loading) {
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
2459
|
+
d3Zoom.select(this._host).select('.tableButton').style('display', null);
|
|
2460
|
+
d3Zoom.select(this._legendDiv).style('display', null);
|
|
2461
|
+
d3Zoom.select(this._titleDiv).style('height', null);
|
|
1935
2462
|
}
|
|
1936
2463
|
if (this._chartData.data.xValueNames)
|
|
1937
2464
|
this.margin.right =
|
|
@@ -1940,14 +2467,14 @@ const ChartLine = class {
|
|
|
1940
2467
|
1;
|
|
1941
2468
|
else
|
|
1942
2469
|
this.margin.right =
|
|
1943
|
-
this.getTextSize(
|
|
2470
|
+
this.getTextSize(d3Zoom.max(this._chartData.data.xValues).toString()) / 2 +
|
|
1944
2471
|
1;
|
|
1945
2472
|
this.checkPercentage();
|
|
1946
2473
|
this.setDims(true);
|
|
1947
2474
|
this.mapColorToLine();
|
|
1948
2475
|
this.computeMaxVal();
|
|
1949
2476
|
this.setTickSize();
|
|
1950
|
-
|
|
2477
|
+
d3Zoom.select(this._chartDiv).attr('height', this.dims.height + 'px');
|
|
1951
2478
|
// Updating Svg attributes
|
|
1952
2479
|
this._svg
|
|
1953
2480
|
.attr('width', this.dims.width + 'px')
|
|
@@ -1956,13 +2483,13 @@ const ChartLine = class {
|
|
|
1956
2483
|
? 'Linjediagram om ' + this._chartData.title.toLowerCase()
|
|
1957
2484
|
: 'Linjediagram');
|
|
1958
2485
|
// Y Axis
|
|
1959
|
-
this._yAxis =
|
|
2486
|
+
this._yAxis = d3Zoom.linear()
|
|
1960
2487
|
.domain([0, this._maxVal])
|
|
1961
2488
|
.nice(3)
|
|
1962
2489
|
.range([this.dims.height - this.margin.bottom, this.margin.top]);
|
|
1963
2490
|
// Updating margins
|
|
1964
2491
|
this.margin.left =
|
|
1965
|
-
this.getTextSize(
|
|
2492
|
+
this.getTextSize(d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(this._yAxis.domain()[1])) +
|
|
1966
2493
|
this.yPadding +
|
|
1967
2494
|
3;
|
|
1968
2495
|
/**** Update xAxis ****/
|
|
@@ -1971,7 +2498,7 @@ const ChartLine = class {
|
|
|
1971
2498
|
this._lineChartContainer
|
|
1972
2499
|
.transition('position')
|
|
1973
2500
|
.duration(400)
|
|
1974
|
-
.ease(
|
|
2501
|
+
.ease(d3Zoom.polyInOut)
|
|
1975
2502
|
.attr('width', this.dims.width)
|
|
1976
2503
|
.attr('height', this.dims.height)
|
|
1977
2504
|
.attr('transform', `translate(${this.margin.left},0)`);
|
|
@@ -1980,20 +2507,20 @@ const ChartLine = class {
|
|
|
1980
2507
|
//this.leftSetAxis();
|
|
1981
2508
|
this.addSymbols(true);
|
|
1982
2509
|
if (this._loading) {
|
|
1983
|
-
|
|
2510
|
+
d3Zoom.select(this._host).select('.tableButton').style('display', null);
|
|
1984
2511
|
this.addListenersToChart();
|
|
1985
|
-
const height =
|
|
1986
|
-
|
|
2512
|
+
const height = d3Zoom.select(this._titleDiv).style('height');
|
|
2513
|
+
d3Zoom.select(this._titleDiv)
|
|
1987
2514
|
.style('height', this._prevHeight)
|
|
1988
2515
|
.transition('adjust')
|
|
1989
2516
|
.duration(400)
|
|
1990
2517
|
.style('height', height)
|
|
1991
|
-
.on('end', () =>
|
|
1992
|
-
|
|
2518
|
+
.on('end', () => d3Zoom.select(this._titleDiv).style('height', null));
|
|
2519
|
+
d3Zoom.select(this._legendDiv)
|
|
1993
2520
|
.style('opacity', 0)
|
|
1994
2521
|
.transition()
|
|
1995
2522
|
.duration(400)
|
|
1996
|
-
.ease(
|
|
2523
|
+
.ease(d3Zoom.polyInOut)
|
|
1997
2524
|
.style('opacity', 1);
|
|
1998
2525
|
this._lineChartContainer.selectAll('.linePath').on('end', null);
|
|
1999
2526
|
// Setting starting state for symbols
|
|
@@ -2008,7 +2535,7 @@ const ChartLine = class {
|
|
|
2008
2535
|
.selectAll('.linePath')
|
|
2009
2536
|
.transition()
|
|
2010
2537
|
.duration(400)
|
|
2011
|
-
.ease(quadInOut)
|
|
2538
|
+
.ease(d3Zoom.quadInOut)
|
|
2012
2539
|
.attr('stroke-dashoffset', function () {
|
|
2013
2540
|
return -this.getTotalLength();
|
|
2014
2541
|
})
|
|
@@ -2033,7 +2560,7 @@ const ChartLine = class {
|
|
|
2033
2560
|
.selectAll('.linePath')
|
|
2034
2561
|
.transition()
|
|
2035
2562
|
.duration(400)
|
|
2036
|
-
.ease(
|
|
2563
|
+
.ease(d3Zoom.polyInOut)
|
|
2037
2564
|
.attr('d', (d) => this._LineFunc(d.line));
|
|
2038
2565
|
// Transitioning in symbols
|
|
2039
2566
|
this._lineChartContainer
|
|
@@ -2041,7 +2568,7 @@ const ChartLine = class {
|
|
|
2041
2568
|
.selectAll('.symbol')
|
|
2042
2569
|
.transition()
|
|
2043
2570
|
.duration(400)
|
|
2044
|
-
.ease(
|
|
2571
|
+
.ease(d3Zoom.polyInOut)
|
|
2045
2572
|
.attr('transform', (d) => d
|
|
2046
2573
|
? `translate(${this._lineScale(d.x)},${this._yAxis(d.val)})`
|
|
2047
2574
|
: null)
|
|
@@ -2056,7 +2583,7 @@ const ChartLine = class {
|
|
|
2056
2583
|
.join('path')
|
|
2057
2584
|
.transition()
|
|
2058
2585
|
.duration(400)
|
|
2059
|
-
.ease(
|
|
2586
|
+
.ease(d3Zoom.polyInOut)
|
|
2060
2587
|
.attr('class', 'linePath')
|
|
2061
2588
|
.attr('stroke', (d) => this.colorFunction(d))
|
|
2062
2589
|
.attr('stroke-linecap', this._lineCap)
|
|
@@ -2074,7 +2601,7 @@ const ChartLine = class {
|
|
|
2074
2601
|
.join('circle')
|
|
2075
2602
|
.transition('New circles')
|
|
2076
2603
|
.duration(400)
|
|
2077
|
-
.ease(
|
|
2604
|
+
.ease(d3Zoom.polyInOut)
|
|
2078
2605
|
.attr('stroke', 'white')
|
|
2079
2606
|
.attr('fill', (d) => this.colorFunction(d))
|
|
2080
2607
|
.attr('stroke-width', '1px')
|
|
@@ -2084,7 +2611,7 @@ const ChartLine = class {
|
|
|
2084
2611
|
this._TooltipLine
|
|
2085
2612
|
.transition()
|
|
2086
2613
|
.duration(400)
|
|
2087
|
-
.ease(
|
|
2614
|
+
.ease(d3Zoom.polyInOut)
|
|
2088
2615
|
.attr('x1', this._xAxis(stringPoint) + this.margin.left)
|
|
2089
2616
|
.attr('x2', this._xAxis(stringPoint) + this.margin.left)
|
|
2090
2617
|
.attr('y1', this._yAxis(this._maxVal))
|
|
@@ -2124,7 +2651,7 @@ const ChartLine = class {
|
|
|
2124
2651
|
})
|
|
2125
2652
|
.transition()
|
|
2126
2653
|
.duration(400)
|
|
2127
|
-
.ease(
|
|
2654
|
+
.ease(d3Zoom.polyInOut)
|
|
2128
2655
|
.style('transform', () => {
|
|
2129
2656
|
// We reset the position of the tooltip, and adjust for the maximum value, -1px for it to align perfectly
|
|
2130
2657
|
return `translateY(${this._yAxis(this._maxVal) - this._tooltip.node().getBoundingClientRect().height - 9}px)`;
|
|
@@ -2133,7 +2660,7 @@ const ChartLine = class {
|
|
|
2133
2660
|
.select('.tooltipPointer')
|
|
2134
2661
|
.transition()
|
|
2135
2662
|
.duration(400)
|
|
2136
|
-
.ease(
|
|
2663
|
+
.ease(d3Zoom.polyInOut)
|
|
2137
2664
|
.attr('transform', `translate(${this._xAxis(stringPoint) + this.margin.left},${this._yAxis(this._maxVal) - 7}) rotate(180) scale(1.5,1.0)`);
|
|
2138
2665
|
}
|
|
2139
2666
|
else {
|
|
@@ -2181,7 +2708,7 @@ const ChartLine = class {
|
|
|
2181
2708
|
};
|
|
2182
2709
|
}
|
|
2183
2710
|
componentWillUpdate() {
|
|
2184
|
-
this._prevHeight =
|
|
2711
|
+
this._prevHeight = d3Zoom.select(this._titleDiv).style('height');
|
|
2185
2712
|
}
|
|
2186
2713
|
componentDidUpdate() {
|
|
2187
2714
|
if (!this.hasChartData())
|
|
@@ -2198,7 +2725,7 @@ const ChartLine = class {
|
|
|
2198
2725
|
// Returns pixelwidth of text given the current fontSize (costly function using .each)
|
|
2199
2726
|
getTextSize(text) {
|
|
2200
2727
|
const textWidth = [];
|
|
2201
|
-
const svg =
|
|
2728
|
+
const svg = d3Zoom.select(this._chartDiv).append('svg');
|
|
2202
2729
|
svg
|
|
2203
2730
|
.selectAll('dummyText')
|
|
2204
2731
|
.data([text])
|
|
@@ -2280,11 +2807,11 @@ const ChartLine = class {
|
|
|
2280
2807
|
this._tableDiv.innerHTML = `<digi-table af-size="small" af-variation="primary"> <table><caption>${this._chartData.title}</caption><thead><tr>${this.headings()}</tr></thead><tbody>${this.tableBody()}</tbody></table></digi-table>`;
|
|
2281
2808
|
}
|
|
2282
2809
|
setTableDimensions() {
|
|
2283
|
-
const table =
|
|
2810
|
+
const table = d3Zoom.select(this._tableDiv);
|
|
2284
2811
|
table
|
|
2285
2812
|
// The last value is for compensating the padding set on the table element, changing padding in css, will need change in these two lines
|
|
2286
2813
|
.style('height', this._maxHeight -
|
|
2287
|
-
|
|
2814
|
+
d3Zoom.select(this._titleDiv).node().getBoundingClientRect().height -
|
|
2288
2815
|
parseFloat(getComputedStyle(document.documentElement).fontSize) *
|
|
2289
2816
|
0.65 +
|
|
2290
2817
|
'px');
|
|
@@ -2293,14 +2820,14 @@ const ChartLine = class {
|
|
|
2293
2820
|
'px');
|
|
2294
2821
|
}
|
|
2295
2822
|
animateTableDimensions() {
|
|
2296
|
-
const height =
|
|
2297
|
-
|
|
2823
|
+
const height = d3Zoom.select(this._titleDiv).style('height');
|
|
2824
|
+
d3Zoom.select(this._titleDiv)
|
|
2298
2825
|
.style('height', this._prevHeight)
|
|
2299
2826
|
.transition('adjust')
|
|
2300
2827
|
.duration(400)
|
|
2301
2828
|
.style('height', height)
|
|
2302
|
-
.on('end', () =>
|
|
2303
|
-
const table =
|
|
2829
|
+
.on('end', () => d3Zoom.select(this._titleDiv).style('height', null));
|
|
2830
|
+
const table = d3Zoom.select(this._tableDiv);
|
|
2304
2831
|
table
|
|
2305
2832
|
.transition('adjustHeight')
|
|
2306
2833
|
.duration(400)
|
|
@@ -2333,7 +2860,7 @@ const ChartLine = class {
|
|
|
2333
2860
|
loopable.forEach((elem, index) => {
|
|
2334
2861
|
let cells = '';
|
|
2335
2862
|
this._coreSeries.forEach((serie) => {
|
|
2336
|
-
cells = cells.concat(`<td>${serie.yValues[index] != null ?
|
|
2863
|
+
cells = cells.concat(`<td>${serie.yValues[index] != null ? d3Zoom.formatLocale(this.axisNumberFormat).format(this.formatStyle)(serie.yValues[index]) : '-'}</td>`);
|
|
2337
2864
|
});
|
|
2338
2865
|
body = body.concat(`<tr><th scope='row'>${elem}${cells}</th></tr>`);
|
|
2339
2866
|
});
|