@designsystem-se/af 39.2.0 → 39.2.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.js +22 -11
- package/components/digi-bar-chart.js +45 -32
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +217 -141
- package/components/digi-calendar-week-view.js +82 -69
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +37 -34
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +53 -43
- package/components/digi-code.js +29 -14
- package/components/digi-context-menu.js +38 -29
- package/components/digi-dialog.js +92 -73
- package/components/digi-expandable-accordion.js +54 -22
- package/components/digi-expandable-faq-item.js +52 -24
- package/components/digi-expandable-faq.js +20 -13
- package/components/digi-footer-card.js +15 -10
- package/components/digi-footer.js +70 -65
- package/components/digi-form-category-filter.js +53 -16
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +94 -78
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +105 -68
- package/components/digi-form-filter.js +56 -37
- package/components/digi-form-input-search.js +63 -49
- 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 +78 -46
- package/components/digi-form-receipt.js +85 -64
- package/components/digi-form-select-filter.js +172 -120
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +64 -46
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +45 -58
- package/components/digi-header-navigation-item.js +11 -11
- package/components/digi-header-navigation.js +91 -81
- package/components/digi-header-notification.js +12 -12
- package/components/digi-header.js +77 -77
- package/components/digi-icon-accessibility-deaf.js +16 -14
- package/components/digi-icon-accessibility-universal.js +16 -14
- package/components/digi-icon-apple.js +16 -14
- package/components/digi-icon-archive-outline.js +16 -14
- package/components/digi-icon-archive.js +16 -14
- package/components/digi-icon-arrow-back.js +16 -14
- package/components/digi-icon-arrow-down.js +16 -14
- package/components/digi-icon-arrow-left.js +16 -14
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +16 -14
- package/components/digi-icon-arrow-sign-out.js +16 -14
- package/components/digi-icon-arrow-up.js +16 -14
- package/components/digi-icon-at.js +16 -14
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +16 -14
- package/components/digi-icon-bell.js +16 -14
- package/components/digi-icon-book.js +16 -14
- package/components/digi-icon-bookmark-outline.js +16 -14
- package/components/digi-icon-bookmark-solid.js +16 -14
- package/components/digi-icon-bubble-ellipsis.js +16 -14
- package/components/digi-icon-bubble.js +16 -14
- package/components/digi-icon-building-outline.js +16 -14
- package/components/digi-icon-building-solid.js +16 -14
- package/components/digi-icon-bullseye.js +16 -14
- package/components/digi-icon-calculator-solid.js +16 -14
- package/components/digi-icon-calendar-alt-alert.js +16 -14
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +16 -14
- package/components/digi-icon-caret-circle-right.js +16 -14
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +16 -14
- package/components/digi-icon-caret-right.js +16 -14
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +16 -14
- package/components/digi-icon-check-circle-reg-alt.js +16 -14
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +16 -14
- 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 +16 -14
- package/components/digi-icon-clock.js +16 -14
- package/components/digi-icon-communication-play-solid.js +16 -14
- package/components/digi-icon-compress-alt.js +16 -14
- package/components/digi-icon-comunication-case.js +16 -14
- package/components/digi-icon-comunication-flag.js +16 -14
- package/components/digi-icon-comunication-graduate.js +16 -14
- package/components/digi-icon-comunication-play.js +16 -14
- package/components/digi-icon-cooperation.js +16 -14
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +16 -14
- package/components/digi-icon-download.js +16 -14
- package/components/digi-icon-dxa.js +16 -14
- package/components/digi-icon-edit.js +16 -14
- package/components/digi-icon-ellipsis.js +16 -14
- package/components/digi-icon-envelope-filled.js +16 -14
- package/components/digi-icon-envelope.js +16 -14
- package/components/digi-icon-exclamation-circle-filled.js +16 -14
- package/components/digi-icon-exclamation-triangle-filled.js +16 -14
- package/components/digi-icon-exclamation-triangle-warning.js +16 -14
- package/components/digi-icon-exclamation-triangle.js +16 -14
- package/components/digi-icon-expand-alt.js +16 -14
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +16 -14
- package/components/digi-icon-eye.js +16 -14
- package/components/digi-icon-facebook-square.js +16 -14
- package/components/digi-icon-file-add.js +15 -13
- package/components/digi-icon-file-document.js +16 -14
- package/components/digi-icon-file-excel.js +16 -14
- package/components/digi-icon-file-export.js +15 -13
- package/components/digi-icon-file-governing.js +16 -14
- package/components/digi-icon-file-pdf.js +16 -14
- package/components/digi-icon-file-powerpoint.js +16 -14
- package/components/digi-icon-file-remove.js +15 -13
- package/components/digi-icon-file-word.js +16 -14
- package/components/digi-icon-film.js +16 -14
- package/components/digi-icon-filter.js +16 -14
- package/components/digi-icon-folder-add.js +15 -13
- package/components/digi-icon-folder-directory.js +15 -13
- package/components/digi-icon-folder-open.js +15 -13
- package/components/digi-icon-folder.js +15 -13
- package/components/digi-icon-globe-filled.js +16 -14
- package/components/digi-icon-globe.js +16 -14
- package/components/digi-icon-headphones.js +16 -14
- package/components/digi-icon-heart-solid.js +16 -14
- package/components/digi-icon-heart.js +16 -14
- package/components/digi-icon-history.js +16 -14
- package/components/digi-icon-home.js +16 -14
- package/components/digi-icon-image.js +16 -14
- package/components/digi-icon-info-circle-solid.js +16 -14
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +16 -14
- package/components/digi-icon-job-suggestion.js +16 -14
- package/components/digi-icon-language-outline.js +16 -14
- package/components/digi-icon-language.js +16 -14
- package/components/digi-icon-laptop-phone.js +16 -14
- package/components/digi-icon-lattlast.js +16 -14
- package/components/digi-icon-licence-bus.js +16 -14
- package/components/digi-icon-licence-car.js +16 -14
- package/components/digi-icon-licence-motorcycle.js +16 -14
- package/components/digi-icon-licence-truck.js +16 -14
- package/components/digi-icon-lightbulb.js +16 -14
- package/components/digi-icon-linkedin-in.js +16 -14
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +16 -14
- package/components/digi-icon-marker-filled.js +16 -14
- package/components/digi-icon-marker.js +16 -14
- package/components/digi-icon-media-course.js +16 -14
- package/components/digi-icon-media-podcast.js +16 -14
- package/components/digi-icon-microphone-off.js +16 -14
- package/components/digi-icon-microphone.js +16 -14
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +16 -14
- 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 +16 -14
- package/components/digi-icon-online-meeting.js +16 -14
- package/components/digi-icon-online-task.js +16 -14
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +16 -14
- package/components/digi-icon-palette.js +16 -14
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +15 -13
- package/components/digi-icon-pen.js +16 -14
- package/components/digi-icon-phone-hangup.js +16 -14
- package/components/digi-icon-phone.js +16 -14
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +16 -14
- package/components/digi-icon-read.js +16 -14
- package/components/digi-icon-redo.js +16 -14
- package/components/digi-icon-scale.js +15 -13
- package/components/digi-icon-screensharing-off.js +16 -14
- package/components/digi-icon-screensharing.js +16 -14
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +16 -14
- package/components/digi-icon-send-solid.js +16 -14
- package/components/digi-icon-settings.js +16 -14
- package/components/digi-icon-share-alt.js +16 -14
- package/components/digi-icon-share-chain.js +16 -14
- package/components/digi-icon-sign.js +16 -14
- package/components/digi-icon-sliders-h.js +16 -14
- package/components/digi-icon-sokkandidat.js +16 -14
- package/components/digi-icon-sort-down.js +16 -14
- package/components/digi-icon-sort-up.js +16 -14
- package/components/digi-icon-sort.js +16 -14
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +16 -14
- package/components/digi-icon-star.js +16 -14
- package/components/digi-icon-suitcase-outline.js +16 -14
- package/components/digi-icon-suitcase-solid.js +16 -14
- package/components/digi-icon-system-assistance.js +16 -14
- package/components/digi-icon-table-column.js +16 -14
- package/components/digi-icon-table-row.js +16 -14
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +16 -14
- package/components/digi-icon-toggle-off.js +16 -14
- package/components/digi-icon-toggle-on.js +16 -14
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +16 -14
- package/components/digi-icon-tyck-till.js +16 -14
- package/components/digi-icon-unlock.js +16 -14
- package/components/digi-icon-update.js +16 -14
- package/components/digi-icon-upload.js +16 -14
- package/components/digi-icon-user-add.js +15 -13
- package/components/digi-icon-user-alt.js +16 -14
- package/components/digi-icon-user-edit.js +15 -13
- package/components/digi-icon-users-solid.js +16 -14
- 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 +16 -14
- package/components/digi-icon-videocamera.js +16 -14
- package/components/digi-icon-volume.js +16 -14
- package/components/digi-icon-web-tv.js +16 -14
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +16 -14
- package/components/digi-icon-wifi-signal1.js +16 -14
- package/components/digi-icon-wifi-signal2.js +16 -14
- package/components/digi-icon-wifi-signal3.js +16 -14
- package/components/digi-icon-window.js +16 -14
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +16 -14
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +16 -14
- package/components/digi-info-card-multi-container.js +13 -14
- package/components/digi-info-card-multi.js +54 -44
- package/components/digi-info-card.js +49 -30
- 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 +36 -30
- 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 +29 -20
- package/components/digi-loader-skeleton.js +18 -9
- package/components/digi-loader-spinner.js +16 -12
- package/components/digi-logo.js +24 -15
- package/components/digi-media-figure.js +15 -11
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +72 -35
- package/components/digi-navigation-pagination.js +90 -74
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +72 -36
- package/components/digi-navigation-vertical-menu-item.js +51 -24
- package/components/digi-navigation-vertical-menu.js +26 -13
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +88 -347
- package/components/digi-progress-circle.js +54 -25
- package/components/digi-progress-indicator.js +79 -62
- package/components/digi-progress-list-item.js +64 -26
- package/components/digi-progress-list.js +47 -16
- package/components/digi-progressbar.js +60 -48
- package/components/digi-quote.js +33 -20
- package/components/digi-table.js +25 -12
- package/components/digi-tablist-panel.js +8 -7
- package/components/digi-tablist.js +68 -41
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +27 -17
- package/components/digi-title-logo.js +62 -66
- package/components/digi-tools-feedback-banner.js +85 -59
- package/components/digi-tools-feedback-rating.js +74 -44
- package/components/digi-tools-feedback.js +102 -71
- package/components/digi-tools-theme-provider.js +16 -11
- package/components/digi-typography-heading-jumbo.js +23 -11
- package/components/digi-typography-meta.js +16 -11
- package/components/digi-typography-preamble.js +11 -10
- package/components/digi-typography-time.js +24 -13
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +15 -9
- package/components/digi-util-detect-focus-outside.js +15 -9
- 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 +10 -8
- package/components/digi-util-mutation-observer.js +94 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.js +51 -51
- package/components/p--OfIV-on.js +48 -0
- package/components/p--uSFOD5O.js +48 -0
- package/components/p-0YsihRkX.js +95 -0
- package/components/p-0pTevzmo.js +3032 -0
- package/components/p-1kIXcBRD.js +48 -0
- package/components/p-52C4taMR.js +48 -0
- package/components/p-B0NtWuWm.js +48 -0
- package/components/p-B1hBNnkP.js +59 -0
- package/components/p-B3TKmnH5.js +48 -0
- package/components/p-B85a4tNl.js +38 -0
- package/components/p-BISIikBQ.js +48 -0
- package/components/p-BJgweNmE.js +48 -0
- package/components/p-BOuscZWN.js +48 -0
- package/components/p-BUFtpryS.js +48 -0
- package/components/p-BYefdyRg.js +187 -0
- package/components/p-BaFkfL3J.js +48 -0
- package/components/p-BaIqYsaL.js +141 -0
- package/components/p-BkRrSWNb.js +48 -0
- package/components/p-BkdqrgFa.js +100 -0
- package/components/p-Br3uVgA1.js +48 -0
- package/components/p-BupNdJre.js +48 -0
- package/components/p-BxG1tqmk.js +172 -0
- package/components/p-C1wkAzXH.js +48 -0
- package/components/p-C2LUp3Td.js +48 -0
- package/components/p-C4cIvg7J.js +7 -0
- package/components/p-C7W4tsEH.js +48 -0
- package/components/p-CAW-ueZH.js +125 -0
- package/components/p-CBCmbVA7.js +259 -0
- package/components/p-CGIRXM14.js +81 -0
- package/components/p-CSefQfv6.js +48 -0
- package/components/p-CW-HnEHk.js +48 -0
- package/components/p-CZexDcPm.js +200 -0
- package/components/p-CZrDWyoh.js +7 -0
- package/components/p-CdcGvoTs.js +2465 -0
- package/components/p-Cf91SknN.js +86 -0
- package/components/p-Cn6V9H9D.js +48 -0
- package/components/p-CrUxQ9d0.js +630 -0
- package/components/p-CtUzKtIv.js +48 -0
- package/components/p-DB2hM8IT.js +171 -0
- package/components/p-DCCg-GBa.js +48 -0
- package/components/p-DCcDMmpc.js +48 -0
- package/components/p-DDdKfPB2.js +87 -0
- package/components/p-DEBBHpvE.js +48 -0
- package/components/p-DQRqhcLy.js +72 -0
- package/components/p-DQnLbEWg.js +48 -0
- package/components/p-DWk0TQi5.js +49 -0
- package/components/p-DY1BY52y.js +48 -0
- package/components/p-DYNoU7Ab.js +48 -0
- package/components/p-DbBOgLZR.js +856 -0
- package/components/p-Dc8gh6yZ.js +81 -0
- package/components/p-DdUXwmS6.js +297 -0
- package/components/p-DdqhvfV6.js +48 -0
- package/components/p-Din5WNxk.js +55 -0
- package/components/p-Dp2m5Ssh.js +152 -0
- package/components/p-DuEh6-g9.js +105 -0
- package/components/p-Du_iCC0o.js +48 -0
- package/components/p-DwuDBDrV.js +53 -0
- package/components/p-Dzjkl5Kh.js +102 -0
- package/components/p-IUbLqTDz.js +60 -0
- package/components/p-P1LBiiXm.js +60 -0
- package/components/p-PhdhPGeA.js +48 -0
- package/components/p-V8bIji56.js +48 -0
- package/components/p-jKxa9rP_.js +48 -0
- package/components/p-jUJnNkiJ.js +48 -0
- package/components/p-lPbx4RHH.js +3780 -0
- package/components/p-noQGUY_w.js +48 -0
- package/components/p-oVqRvXYm.js +48 -0
- package/components/p-zeCQ8TGq.js +75 -0
- package/custom-elements.json +1 -1
- package/dist/cjs/button-variation.enum-ngMqFLdW.js +15 -0
- package/dist/cjs/detectClickOutside.util-DKR8Sdiw.js +9 -0
- package/dist/cjs/detectFocusOutside.util-BNHrXMJ2.js +9 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +28 -8
- package/dist/cjs/digi-badge-notification.cjs.entry.js +11 -9
- package/dist/cjs/digi-badge-status.cjs.entry.js +16 -9
- package/dist/cjs/digi-bar-chart.cjs.entry.js +81 -74
- package/dist/cjs/digi-button_5.cjs.entry.js +2467 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +151 -85
- package/dist/cjs/digi-calendar_2.cjs.entry.js +58 -32
- package/dist/cjs/digi-chart-line.cjs.entry.js +120 -123
- package/dist/cjs/digi-code-block_3.cjs.entry.js +116 -88
- package/dist/cjs/digi-code-example.cjs.entry.js +25 -22
- package/dist/cjs/digi-code.cjs.entry.js +20 -11
- package/dist/cjs/digi-context-menu.cjs.entry.js +21 -20
- package/dist/cjs/digi-dialog.cjs.entry.js +79 -64
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +40 -14
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +38 -16
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +13 -10
- package/dist/cjs/digi-footer-card.cjs.entry.js +8 -7
- package/dist/cjs/digi-footer.cjs.entry.js +58 -57
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +38 -7
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +27 -25
- package/dist/cjs/digi-form-error-list.cjs.entry.js +72 -60
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +74 -43
- package/dist/cjs/digi-form-filter.cjs.entry.js +35 -26
- package/dist/cjs/digi-form-input-search.cjs.entry.js +36 -30
- package/dist/cjs/digi-form-input.cjs.entry.js +49 -38
- package/dist/cjs/digi-form-label_3.cjs.entry.js +50 -32
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +52 -22
- package/dist/cjs/digi-form-receipt.cjs.entry.js +75 -58
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +141 -97
- package/dist/cjs/digi-form-select_2.cjs.entry.js +64 -49
- package/dist/cjs/digi-form-textarea.cjs.entry.js +39 -31
- package/dist/cjs/digi-header-avatar.cjs.entry.js +34 -50
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +4 -8
- package/dist/cjs/digi-header-navigation.cjs.entry.js +72 -68
- package/dist/cjs/digi-header-notification.cjs.entry.js +5 -9
- package/dist/cjs/digi-header.cjs.entry.js +59 -63
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-apple.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-archive.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-at.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bars.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bell.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-book.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +18 -20
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +18 -20
- package/dist/cjs/digi-icon-chat.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +34 -36
- package/dist/cjs/digi-icon-check.cjs.entry.js +28 -0
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-clock.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-copy.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-download.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-edit.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +13 -21
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-eye.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-film.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-filter.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-folder.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-globe.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-heart.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-history.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-home.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-image.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-language.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +50 -52
- package/dist/cjs/digi-icon-lock.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-marker.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +18 -20
- package/dist/cjs/digi-icon-move.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +34 -36
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-palette.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-paste.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-pen.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-phone.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-print.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-read.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-redo.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-scale.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-search.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-settings.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sign.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-sort.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-star.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-update.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-upload.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +9 -11
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-validation-error_2.cjs.entry.js +51 -0
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-volume.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-window.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-x.cjs.entry.js +10 -12
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +10 -12
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +4 -9
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +21 -19
- package/dist/cjs/digi-info-card.cjs.entry.js +28 -17
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +31 -22
- package/dist/cjs/digi-layout-columns.cjs.entry.js +13 -9
- package/dist/cjs/digi-link-button.cjs.entry.js +26 -23
- package/dist/cjs/digi-link-internal.cjs.entry.js +13 -11
- package/dist/cjs/digi-link.cjs.entry.js +17 -17
- package/dist/cjs/digi-list.cjs.entry.js +18 -13
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +12 -7
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +8 -8
- package/dist/cjs/digi-logo.cjs.entry.js +18 -13
- package/dist/cjs/digi-media-figure.cjs.entry.js +8 -8
- package/dist/cjs/digi-media-image_2.cjs.entry.js +31 -18
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +61 -24
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +75 -63
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +8 -9
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +48 -22
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +32 -15
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +19 -10
- package/dist/cjs/digi-notification-alert.cjs.entry.js +79 -59
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +70 -334
- package/dist/cjs/digi-progress-circle.cjs.entry.js +108 -0
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +153 -0
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +51 -17
- package/dist/cjs/digi-progress-list.cjs.entry.js +38 -11
- package/dist/cjs/digi-progressbar.cjs.entry.js +46 -36
- package/dist/cjs/digi-quote.cjs.entry.js +22 -13
- package/dist/cjs/digi-table.cjs.entry.js +18 -9
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +1 -4
- package/dist/cjs/digi-tablist.cjs.entry.js +36 -27
- package/dist/cjs/digi-tag-media.cjs.entry.js +10 -10
- package/dist/cjs/digi-tag.cjs.entry.js +17 -11
- package/dist/cjs/digi-title-logo.cjs.entry.js +54 -62
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +57 -33
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +50 -28
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +89 -64
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +9 -8
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +17 -9
- package/dist/cjs/digi-typography-meta.cjs.entry.js +9 -8
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +4 -7
- package/dist/cjs/digi-typography-time.cjs.entry.js +15 -10
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +5 -8
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +9 -7
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +9 -7
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +3 -5
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +3 -5
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +75 -0
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +3 -6
- package/dist/cjs/index-Bdlw-Iuy.js +875 -0
- package/dist/cjs/index-Cn1hHaSy.js +4344 -0
- package/dist/cjs/index-r0sb9TCr.js +66 -0
- package/dist/cjs/index.cjs.js +312 -574
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/prism-git-BqyC7bKv.js +2467 -0
- package/dist/cjs/progress-circle-heading-level.enum-DNlyzNd6.js +17 -0
- package/dist/cjs/progress-indicator-heading-level.enum-CNarUduE.js +23 -0
- package/dist/cjs/transform-DteoCOaq.js +3795 -0
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/_badge/badge-notification/badge-notification.js +7 -4
- package/dist/collection/components/_badge/badge-status/badge-status.js +25 -12
- package/dist/collection/components/_button/button/button.css +23 -0
- package/dist/collection/components/_button/button/button.js +59 -54
- package/dist/collection/components/_calendar/calendar/calendar.js +29 -10
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +99 -39
- package/dist/collection/components/_calendar/week-view/calendar-week-view.css +40 -47
- package/dist/collection/components/_calendar/week-view/calendar-week-view.js +21 -11
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +21 -11
- package/dist/collection/components/_chart/chart-line/chart-line.js +8 -9
- package/dist/collection/components/_code/code/code.js +21 -9
- package/dist/collection/components/_code/code-block/code-block.js +26 -10
- package/dist/collection/components/_code/code-example/code-example.js +30 -21
- package/dist/collection/components/_dialog/dialog/dialog.js +44 -23
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +42 -14
- package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +16 -8
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +42 -17
- package/dist/collection/components/_footer/footer/footer.js +7 -2
- package/dist/collection/components/_footer/footer-card/footer-card.js +7 -2
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +41 -8
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +54 -50
- package/dist/collection/components/_form/form-error-list/form-error-list.js +29 -12
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +27 -16
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +4 -1
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +102 -66
- package/dist/collection/components/_form/form-filter/form-filter.js +50 -39
- package/dist/collection/components/_form/form-input/form-input.js +102 -89
- package/dist/collection/components/_form/form-input-search/form-input-search.css +0 -4
- package/dist/collection/components/_form/form-input-search/form-input-search.js +63 -54
- package/dist/collection/components/_form/form-label/form-label.js +28 -18
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +43 -39
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +59 -23
- package/dist/collection/components/_form/form-receipt/form-receipt.js +31 -8
- package/dist/collection/components/_form/form-select/form-select.js +80 -64
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +126 -78
- package/dist/collection/components/_form/form-textarea/form-textarea.js +68 -61
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +8 -3
- package/dist/collection/components/_header/header/header.js +12 -12
- package/dist/collection/components/_header/header-avatar/header-avatar.js +46 -24
- package/dist/collection/components/_header/header-navigation/header-navigation.js +30 -24
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +3 -6
- package/dist/collection/components/_header/header-notification/header-notification.js +4 -7
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +13 -12
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +13 -12
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +13 -12
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +13 -12
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +13 -12
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +13 -12
- package/dist/collection/components/_icon/icon-at/icon-at.js +13 -12
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +13 -12
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +13 -12
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +13 -12
- package/dist/collection/components/_icon/icon-book/icon-book.js +13 -12
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +13 -12
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +13 -12
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +13 -12
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +13 -12
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +13 -12
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +13 -12
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +13 -12
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +13 -12
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +13 -12
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +13 -12
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +13 -12
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +13 -12
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +13 -12
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +13 -12
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +13 -12
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +13 -12
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +13 -12
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +13 -12
- package/dist/collection/components/_icon/icon-check/icon-check.js +13 -12
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +13 -12
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +13 -12
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +13 -12
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +13 -12
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +13 -12
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +13 -12
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +13 -12
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +13 -12
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +13 -12
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +13 -12
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +13 -12
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +13 -12
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +13 -12
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +13 -12
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +13 -12
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +13 -12
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +13 -12
- package/dist/collection/components/_icon/icon-download/icon-download.js +13 -12
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +13 -12
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +13 -12
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +13 -12
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +13 -12
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +13 -12
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +13 -12
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +13 -12
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +13 -12
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +13 -12
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +13 -12
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +13 -12
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +13 -12
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +13 -12
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +13 -12
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +12 -11
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +13 -12
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +13 -12
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +12 -11
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +13 -12
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +13 -12
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +13 -12
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +12 -11
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +13 -12
- package/dist/collection/components/_icon/icon-film/icon-film.js +13 -12
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +13 -12
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +12 -11
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +12 -11
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +12 -11
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +12 -11
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +13 -12
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +13 -12
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +13 -12
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +13 -12
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +13 -12
- package/dist/collection/components/_icon/icon-history/icon-history.js +13 -12
- package/dist/collection/components/_icon/icon-home/icon-home.js +13 -12
- package/dist/collection/components/_icon/icon-image/icon-image.js +13 -12
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +13 -12
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +13 -12
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +13 -12
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +13 -12
- package/dist/collection/components/_icon/icon-language/icon-language.js +13 -12
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +13 -12
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +13 -12
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +13 -12
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +13 -12
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +13 -12
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +13 -12
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +13 -12
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +13 -12
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +13 -12
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +13 -12
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +13 -12
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +13 -12
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +13 -12
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +13 -12
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +13 -12
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +13 -12
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +13 -12
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +13 -12
- package/dist/collection/components/_icon/icon-move/icon-move.js +13 -12
- package/dist/collection/components/_icon/icon-news/icon-news.js +13 -12
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +13 -12
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +13 -12
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +13 -12
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +13 -12
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +13 -12
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +13 -12
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +13 -12
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +13 -12
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +13 -12
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +13 -12
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +13 -12
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +13 -12
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +12 -11
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +13 -12
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +13 -12
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +13 -12
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +13 -12
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +13 -12
- package/dist/collection/components/_icon/icon-print/icon-print.js +13 -12
- package/dist/collection/components/_icon/icon-read/icon-read.js +13 -12
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +13 -12
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +12 -11
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +13 -12
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +13 -12
- package/dist/collection/components/_icon/icon-search/icon-search.js +13 -12
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +13 -12
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +13 -12
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +13 -12
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +13 -12
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +13 -12
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +13 -12
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +13 -12
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +13 -12
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +13 -12
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +13 -12
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +13 -12
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +13 -12
- package/dist/collection/components/_icon/icon-star/icon-star.js +13 -12
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +13 -12
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +13 -12
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +13 -12
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +13 -12
- package/dist/collection/components/_icon/icon-table/icon-table.js +13 -12
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +13 -12
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +13 -12
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +13 -12
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +13 -12
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +13 -12
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +13 -12
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +13 -12
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +13 -12
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +13 -12
- package/dist/collection/components/_icon/icon-update/icon-update.js +13 -12
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +13 -12
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +12 -11
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +13 -12
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +12 -11
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +13 -12
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +13 -12
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +13 -12
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +13 -12
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +13 -12
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +13 -12
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +13 -12
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +13 -12
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +13 -12
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +13 -12
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +13 -12
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +13 -12
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +13 -12
- package/dist/collection/components/_icon/icon-window/icon-window.js +13 -12
- package/dist/collection/components/_icon/icon-x/icon-x.js +13 -12
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +13 -12
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +13 -12
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +13 -12
- package/dist/collection/components/_info-card/info-card/info-card.js +43 -28
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +31 -27
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +7 -10
- package/dist/collection/components/_layout/layout-block/layout-block.js +21 -14
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +19 -9
- package/dist/collection/components/_layout/layout-container/layout-container.js +23 -17
- package/dist/collection/components/_link/link/link.css +61 -16
- package/dist/collection/components/_link/link/link.js +25 -24
- package/dist/collection/components/_link/link-button/link-button.css +72 -7
- package/dist/collection/components/_link/link-button/link-button.js +33 -31
- package/dist/collection/components/_link/link-external/link-external.css +3 -0
- package/dist/collection/components/_link/link-external/link-external.js +11 -18
- package/dist/collection/components/_link/link-internal/link-internal.css +3 -8
- package/dist/collection/components/_link/link-internal/link-internal.js +20 -15
- package/dist/collection/components/_list/list/list.css +23 -1
- package/dist/collection/components/_list/list/list.js +17 -8
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +12 -3
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +9 -5
- package/dist/collection/components/_logo/logo/logo.js +24 -15
- package/dist/collection/components/_logo/title-logo/title-logo.js +4 -9
- package/dist/collection/components/_media/media-figure/media-figure.js +9 -5
- package/dist/collection/components/_media/media-image/media-image.js +30 -26
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +56 -18
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +36 -30
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +31 -16
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +69 -40
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +9 -7
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +31 -29
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +3 -4
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +22 -8
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +33 -19
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +38 -12
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +11 -13
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +58 -32
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +74 -57
- package/dist/collection/components/_progress/progress-list/progress-list.js +50 -17
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +69 -28
- package/dist/collection/components/_progress/progressbar/progressbar.js +47 -36
- package/dist/collection/components/_quote/quote/quote.js +37 -21
- package/dist/collection/components/_table/table/table.js +20 -6
- package/dist/collection/components/_tag/tag/tag.js +21 -11
- package/dist/collection/components/_tag/tag-media/tag-media.js +11 -7
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +45 -16
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +53 -28
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +74 -50
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +8 -3
- package/dist/collection/components/_typography/typography/typography.js +3 -6
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +22 -9
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +8 -3
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +15 -9
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +6 -2
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +6 -2
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +11 -3
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-mutation-observer/util-mutation-observer.js +17 -6
- package/dist/collection/design-tokens/components/_button.variables.scss +6 -0
- package/dist/collection/design-tokens/components/_calendar-week-view.variables.scss +4 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_button.variables.scss +6 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-week-view.variables.scss +4 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +18 -14
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-0003a1b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-00bc2401.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0109cd67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-02f709b9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-037a35bd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0394e694.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0476f89d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-051495cd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-07b783f7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-07cd5ff6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-09b52191.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b4f9561.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0c88f210.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0d72dd25.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0e18dc69.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0e4c3542.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10581b5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10a4e3aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-13e26924.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1430039a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1499bab8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-151248bf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1614e405.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-165c926d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-178f511d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-17b7fa43.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-18b52cf2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a211ec6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1d7ee591.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-206404ae.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2187ef80.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-21cb5136.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2346e439.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-24028559.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-24951793.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2599113d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-26099889.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2613c3ab.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-267a1c32.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-269e2587.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-291d80fd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2957148d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-296301d4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2a4be324.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2a778743.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2ca1bcdd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2d8f7119.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2e7b03b0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2eea1661.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-30ba7ac3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-322ff73a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3239fb1a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3267691f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-32959401.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-333ce113.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-33d73056.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3424c4a9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3642b109.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-368a5bea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-36c81161.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-36e544fd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-375ea6f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-379d52d7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-391de403.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3a954fbe.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3bdcc894.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c1d20cc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c1f9629.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c99eb52.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3f497ad0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4061c1aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-40abb10c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-40d900dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4149264b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-41b2fd4b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-424ad06e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-44e0607a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-48290eeb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49d38827.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4ca25777.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4dd23355.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4ddcae7b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4f1e9553.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4f48ceee.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-50fd3a59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-51b028d6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-52a27991.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5b122492.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5be00cb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5bea0492.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5c5b4dd6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ee5766d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f1951f7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-610230e7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-616af459.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-626c1bf5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-62805bf3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-62c7ee21.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-62f9f5a0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-63bbb611.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-63ef5e5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6408a7e2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64fa2f88.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6557a26c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-655a6196.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-65a5d6df.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6662177f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-66623058.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-674a7a94.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6931825c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69594580.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6a06b14f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6b8f46fc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6b99ac0c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6c174a9c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6c1c6267.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6c1fd994.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6cb8d615.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6f1671ed.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-71a36a21.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-725df73b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-728074a0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-737f41e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7682ad6f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7688502e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-78001766.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-78e547be.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7a954634.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7b32d26e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7bc3f73a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7ce5cc4c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7d0555f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7d59ccc3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e9dec30.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-800141af.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82a5250b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82f0b85a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-85ce04f2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-85d9d52c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-86c97931.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88bec555.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8a01b372.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8e065a49.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8fe026d9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-91265ee0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9145bf7a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-92a36cc9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-93689a8d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9717db6a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-97669c38.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-984ce8c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-98d5e757.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-99f6ee4e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9a11a125.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9a4eecde.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b03b04a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e1897de.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BMQm4N5I.js +1 -0
- package/dist/digi-arbetsformedlingen/p-BnKuq1L7.js +3 -0
- package/dist/digi-arbetsformedlingen/p-C4cIvg7J.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CZrDWyoh.js +1 -0
- package/dist/digi-arbetsformedlingen/p-CdcGvoTs.js +9 -0
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +1 -0
- package/dist/digi-arbetsformedlingen/p-D0CENVum.js +1 -0
- package/dist/digi-arbetsformedlingen/p-DE6sqPn9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a0515a9a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a055ea73.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a0ad3ada.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3f3f306.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a5118bc8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a556608d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a74f6719.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a75b1e3b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8aabd0d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8b9a245.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a9a1bf57.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-aa3d5f76.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-aa4c09a4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-abeb2ae6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac3be3d5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad329338.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-adc42d2b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ae8cda59.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-aedcf116.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-af474b8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b260cce3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b29b6f7a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b2d712ce.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3410fbd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b4534304.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b61bb68d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b746c5f8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b9ae3c3d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bb123c61.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bdba8440.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bdf0adf8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c07dad2f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c28f67ee.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c345e105.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c5472db0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c6573e5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c76f56d9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7fcf4c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c93d9638.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cbf181d6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ce760d56.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cf284ff4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d07a1377.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d11f831f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d169bba2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d1bd8f00.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d1e0380b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d306dcc2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d55fca6c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d63d588f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d6db185c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d8907731.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d923550e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dabcf5b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-db633609.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e002ceb8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e083b072.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e3448802.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e376ef67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e41abde9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e4b2e4d3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e51bfddc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e52b0375.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e55c62c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e6976f43.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e6ec44dd.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e6ee5a17.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e74cbfb8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7b311da.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e867c5e1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eab48785.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eb40c752.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ebfcc08b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ec6dd177.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eddffe09.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee58a938.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-eee1b91f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f069b6a2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f0d6f813.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f1541030.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4f5ce7b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4ff6302.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f6305c8e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f63550f1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f6a311ff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f6b4acb7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f866ad1f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f97e4bd6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f982758f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fab6da17.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fae174e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fbea2a99.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fea63204.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ff0a2f84.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ff73fa2f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ff94e924.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ffd747f1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ffe8578c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-lPbx4RHH.js +1 -0
- package/dist/digi-arbetsformedlingen/p-xwICssEK.js +1 -0
- package/dist/esm/button-variation.enum-BMQm4N5I.js +15 -0
- package/dist/esm/detectClickOutside.util-ROzp1Ej2.js +7 -0
- package/dist/esm/detectFocusOutside.util-aFLLVVle.js +7 -0
- package/dist/esm/digi-arbetsformedlingen.js +26 -5
- package/dist/esm/digi-badge-notification.entry.js +11 -7
- package/dist/esm/digi-badge-status.entry.js +16 -7
- package/dist/esm/digi-bar-chart.entry.js +22 -13
- package/dist/esm/digi-button_5.entry.js +2461 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +157 -89
- package/dist/esm/digi-calendar_2.entry.js +58 -30
- package/dist/esm/digi-chart-line.entry.js +18 -19
- package/dist/esm/digi-code-block_3.entry.js +115 -85
- package/dist/esm/digi-code-example.entry.js +23 -18
- package/dist/esm/digi-code.entry.js +20 -9
- package/dist/esm/digi-context-menu.entry.js +21 -18
- package/dist/esm/digi-dialog.entry.js +78 -61
- package/dist/esm/digi-expandable-accordion.entry.js +40 -12
- package/dist/esm/digi-expandable-faq-item.entry.js +38 -14
- package/dist/esm/digi-expandable-faq.entry.js +13 -8
- package/dist/esm/digi-footer-card.entry.js +8 -5
- package/dist/esm/digi-footer.entry.js +58 -55
- package/dist/esm/digi-form-category-filter.entry.js +38 -5
- package/dist/esm/digi-form-checkbox.entry.js +27 -23
- package/dist/esm/digi-form-error-list.entry.js +72 -58
- package/dist/esm/digi-form-file-upload.entry.js +74 -41
- package/dist/esm/digi-form-filter.entry.js +35 -24
- package/dist/esm/digi-form-input-search.entry.js +36 -28
- package/dist/esm/digi-form-input.entry.js +49 -36
- package/dist/esm/digi-form-label_3.entry.js +50 -30
- package/dist/esm/digi-form-radiogroup.entry.js +52 -20
- package/dist/esm/digi-form-receipt.entry.js +75 -56
- package/dist/esm/digi-form-select-filter.entry.js +141 -95
- package/dist/esm/digi-form-select_2.entry.js +64 -47
- package/dist/esm/digi-form-textarea.entry.js +39 -29
- package/dist/esm/digi-header-avatar.entry.js +34 -48
- package/dist/esm/digi-header-navigation-item.entry.js +4 -6
- package/dist/esm/digi-header-navigation.entry.js +72 -66
- package/dist/esm/digi-header-notification.entry.js +5 -7
- package/dist/esm/digi-header.entry.js +59 -61
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +10 -10
- package/dist/esm/digi-icon-accessibility-universal.entry.js +10 -10
- package/dist/esm/digi-icon-apple.entry.js +10 -10
- package/dist/esm/digi-icon-archive-outline.entry.js +10 -10
- package/dist/esm/digi-icon-archive.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-back.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-down.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-left.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-right.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-up.entry.js +10 -10
- package/dist/esm/digi-icon-at.entry.js +10 -10
- package/dist/esm/digi-icon-bars.entry.js +10 -10
- package/dist/esm/digi-icon-bell-filled.entry.js +10 -10
- package/dist/esm/digi-icon-bell.entry.js +10 -10
- package/dist/esm/digi-icon-book.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-outline.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-bubble.entry.js +10 -10
- package/dist/esm/digi-icon-building-outline.entry.js +10 -10
- package/dist/esm/digi-icon-building-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bullseye.entry.js +10 -10
- package/dist/esm/digi-icon-calculator-solid.entry.js +10 -10
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +10 -10
- package/dist/esm/digi-icon-calendar.entry.js +10 -10
- package/dist/esm/digi-icon-caret-circle-right.entry.js +10 -10
- package/dist/esm/digi-icon-caret-down_2.entry.js +18 -18
- package/dist/esm/digi-icon-caret-left.entry.js +10 -10
- package/dist/esm/digi-icon-caret-right.entry.js +10 -10
- package/dist/esm/digi-icon-chart_2.entry.js +18 -18
- package/dist/esm/digi-icon-chat.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +34 -34
- package/dist/esm/digi-icon-check.entry.js +26 -0
- package/dist/esm/digi-icon-checklist.entry.js +10 -10
- package/dist/esm/digi-icon-chevron-down.entry.js +10 -10
- package/dist/esm/digi-icon-chevron-up.entry.js +10 -10
- package/dist/esm/digi-icon-clock.entry.js +10 -10
- package/dist/esm/digi-icon-communication-play-solid.entry.js +10 -10
- package/dist/esm/digi-icon-compress-alt.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-case.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-flag.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-graduate.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-play.entry.js +10 -10
- package/dist/esm/digi-icon-cooperation.entry.js +10 -10
- package/dist/esm/digi-icon-copy.entry.js +10 -10
- package/dist/esm/digi-icon-danger-outline.entry.js +10 -10
- package/dist/esm/digi-icon-download.entry.js +10 -10
- package/dist/esm/digi-icon-dxa.entry.js +10 -10
- package/dist/esm/digi-icon-edit.entry.js +10 -10
- package/dist/esm/digi-icon-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-envelope-filled.entry.js +10 -10
- package/dist/esm/digi-icon-envelope.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +10 -10
- package/dist/esm/digi-icon-expand-alt.entry.js +10 -10
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +13 -19
- package/dist/esm/digi-icon-eye-slash.entry.js +10 -10
- package/dist/esm/digi-icon-eye.entry.js +10 -10
- package/dist/esm/digi-icon-facebook-square.entry.js +10 -10
- package/dist/esm/digi-icon-file-add.entry.js +9 -9
- package/dist/esm/digi-icon-file-document.entry.js +10 -10
- package/dist/esm/digi-icon-file-excel.entry.js +10 -10
- package/dist/esm/digi-icon-file-export.entry.js +9 -9
- package/dist/esm/digi-icon-file-governing.entry.js +10 -10
- package/dist/esm/digi-icon-file-pdf.entry.js +10 -10
- package/dist/esm/digi-icon-file-powerpoint.entry.js +10 -10
- package/dist/esm/digi-icon-file-remove.entry.js +9 -9
- package/dist/esm/digi-icon-file-word.entry.js +10 -10
- package/dist/esm/digi-icon-film.entry.js +10 -10
- package/dist/esm/digi-icon-filter.entry.js +10 -10
- package/dist/esm/digi-icon-folder-add.entry.js +9 -9
- package/dist/esm/digi-icon-folder-directory.entry.js +9 -9
- package/dist/esm/digi-icon-folder-open.entry.js +9 -9
- package/dist/esm/digi-icon-folder.entry.js +9 -9
- package/dist/esm/digi-icon-globe-filled.entry.js +10 -10
- package/dist/esm/digi-icon-globe.entry.js +10 -10
- package/dist/esm/digi-icon-headphones.entry.js +10 -10
- package/dist/esm/digi-icon-heart-solid.entry.js +10 -10
- package/dist/esm/digi-icon-heart.entry.js +10 -10
- package/dist/esm/digi-icon-history.entry.js +10 -10
- package/dist/esm/digi-icon-home.entry.js +10 -10
- package/dist/esm/digi-icon-image.entry.js +10 -10
- package/dist/esm/digi-icon-info-circle-solid.entry.js +10 -10
- package/dist/esm/digi-icon-instagram.entry.js +10 -10
- package/dist/esm/digi-icon-job-suggestion.entry.js +10 -10
- package/dist/esm/digi-icon-language-outline.entry.js +10 -10
- package/dist/esm/digi-icon-language.entry.js +10 -10
- package/dist/esm/digi-icon-laptop-phone.entry.js +10 -10
- package/dist/esm/digi-icon-lattlast.entry.js +10 -10
- package/dist/esm/digi-icon-licence-bus.entry.js +10 -10
- package/dist/esm/digi-icon-licence-car.entry.js +10 -10
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +10 -10
- package/dist/esm/digi-icon-licence-truck.entry.js +10 -10
- package/dist/esm/digi-icon-lightbulb.entry.js +10 -10
- package/dist/esm/digi-icon-linkedin-in.entry.js +10 -10
- package/dist/esm/digi-icon-list-ul_6.entry.js +50 -50
- package/dist/esm/digi-icon-lock.entry.js +10 -10
- package/dist/esm/digi-icon-marker-filled.entry.js +10 -10
- package/dist/esm/digi-icon-marker.entry.js +10 -10
- package/dist/esm/digi-icon-media-course.entry.js +10 -10
- package/dist/esm/digi-icon-media-podcast.entry.js +10 -10
- package/dist/esm/digi-icon-microphone-off.entry.js +10 -10
- package/dist/esm/digi-icon-microphone.entry.js +10 -10
- package/dist/esm/digi-icon-minus_2.entry.js +18 -18
- package/dist/esm/digi-icon-move.entry.js +10 -10
- package/dist/esm/digi-icon-notification-error_4.entry.js +34 -34
- package/dist/esm/digi-icon-online-interview.entry.js +10 -10
- package/dist/esm/digi-icon-online-meeting.entry.js +10 -10
- package/dist/esm/digi-icon-online-task.entry.js +10 -10
- package/dist/esm/digi-icon-open-source.entry.js +10 -10
- package/dist/esm/digi-icon-palette.entry.js +10 -10
- package/dist/esm/digi-icon-paste.entry.js +9 -9
- package/dist/esm/digi-icon-pen.entry.js +10 -10
- package/dist/esm/digi-icon-phone-hangup.entry.js +10 -10
- package/dist/esm/digi-icon-phone.entry.js +10 -10
- package/dist/esm/digi-icon-print.entry.js +10 -10
- package/dist/esm/digi-icon-read.entry.js +10 -10
- package/dist/esm/digi-icon-redo.entry.js +10 -10
- package/dist/esm/digi-icon-scale.entry.js +9 -9
- package/dist/esm/digi-icon-screensharing-off.entry.js +10 -10
- package/dist/esm/digi-icon-screensharing.entry.js +10 -10
- package/dist/esm/digi-icon-search.entry.js +10 -10
- package/dist/esm/digi-icon-send-outline.entry.js +10 -10
- package/dist/esm/digi-icon-send-solid.entry.js +10 -10
- package/dist/esm/digi-icon-settings.entry.js +10 -10
- package/dist/esm/digi-icon-share-alt.entry.js +10 -10
- package/dist/esm/digi-icon-share-chain.entry.js +10 -10
- package/dist/esm/digi-icon-sign.entry.js +10 -10
- package/dist/esm/digi-icon-sliders-h.entry.js +10 -10
- package/dist/esm/digi-icon-sokkandidat.entry.js +10 -10
- package/dist/esm/digi-icon-sort-down.entry.js +10 -10
- package/dist/esm/digi-icon-sort-up.entry.js +10 -10
- package/dist/esm/digi-icon-sort.entry.js +10 -10
- package/dist/esm/digi-icon-spinner.entry.js +10 -10
- package/dist/esm/digi-icon-star-reg.entry.js +10 -10
- package/dist/esm/digi-icon-star.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-outline.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-solid.entry.js +10 -10
- package/dist/esm/digi-icon-system-assistance.entry.js +10 -10
- package/dist/esm/digi-icon-table-column.entry.js +10 -10
- package/dist/esm/digi-icon-table-row.entry.js +10 -10
- package/dist/esm/digi-icon-task-done.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-off.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-on.entry.js +10 -10
- package/dist/esm/digi-icon-twitter.entry.js +10 -10
- package/dist/esm/digi-icon-tyck-till.entry.js +10 -10
- package/dist/esm/digi-icon-unlock.entry.js +10 -10
- package/dist/esm/digi-icon-update.entry.js +10 -10
- package/dist/esm/digi-icon-upload.entry.js +10 -10
- package/dist/esm/digi-icon-user-add.entry.js +9 -9
- package/dist/esm/digi-icon-user-alt.entry.js +10 -10
- package/dist/esm/digi-icon-user-edit.entry.js +9 -9
- package/dist/esm/digi-icon-users-solid.entry.js +10 -10
- package/dist/esm/digi-icon-validation-error_2.entry.js +48 -0
- package/dist/esm/digi-icon-videocamera-off.entry.js +10 -10
- package/dist/esm/digi-icon-videocamera.entry.js +10 -10
- package/dist/esm/digi-icon-volume.entry.js +10 -10
- package/dist/esm/digi-icon-web-tv.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal0.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal1.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal2.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal3.entry.js +10 -10
- package/dist/esm/digi-icon-window.entry.js +10 -10
- package/dist/esm/digi-icon-x-button.entry.js +10 -10
- package/dist/esm/digi-icon-x.entry.js +10 -10
- package/dist/esm/digi-icon-youtube.entry.js +10 -10
- package/dist/esm/digi-info-card-multi-container.entry.js +4 -7
- package/dist/esm/digi-info-card-multi.entry.js +21 -17
- package/dist/esm/digi-info-card.entry.js +28 -15
- package/dist/esm/digi-layout-block_2.entry.js +31 -20
- package/dist/esm/digi-layout-columns.entry.js +13 -7
- package/dist/esm/digi-link-button.entry.js +26 -21
- package/dist/esm/digi-link-internal.entry.js +13 -9
- package/dist/esm/digi-link.entry.js +17 -15
- package/dist/esm/digi-list.entry.js +18 -11
- package/dist/esm/digi-loader-skeleton.entry.js +12 -5
- package/dist/esm/digi-loader-spinner.entry.js +8 -6
- package/dist/esm/digi-logo.entry.js +18 -11
- package/dist/esm/digi-media-figure.entry.js +8 -6
- package/dist/esm/digi-media-image_2.entry.js +31 -16
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +61 -22
- package/dist/esm/digi-navigation-pagination.entry.js +75 -61
- package/dist/esm/digi-navigation-sidebar-button.entry.js +8 -7
- package/dist/esm/digi-navigation-sidebar.entry.js +48 -20
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +32 -13
- package/dist/esm/digi-navigation-vertical-menu.entry.js +19 -8
- package/dist/esm/digi-notification-alert.entry.js +79 -57
- package/dist/esm/digi-notification-error-page.entry.js +70 -332
- package/dist/esm/digi-progress-circle.entry.js +106 -0
- package/dist/esm/digi-progress-indicator.entry.js +151 -0
- package/dist/esm/digi-progress-list-item.entry.js +51 -15
- package/dist/esm/digi-progress-list.entry.js +38 -9
- package/dist/esm/digi-progressbar.entry.js +46 -34
- package/dist/esm/digi-quote.entry.js +22 -11
- package/dist/esm/digi-table.entry.js +18 -7
- package/dist/esm/digi-tablist-panel.entry.js +1 -2
- package/dist/esm/digi-tablist.entry.js +36 -25
- package/dist/esm/digi-tag-media.entry.js +10 -8
- package/dist/esm/digi-tag.entry.js +17 -9
- package/dist/esm/digi-title-logo.entry.js +54 -60
- package/dist/esm/digi-tools-feedback-banner.entry.js +57 -31
- package/dist/esm/digi-tools-feedback-rating.entry.js +50 -26
- package/dist/esm/digi-tools-feedback.entry.js +87 -60
- package/dist/esm/digi-tools-theme-provider.entry.js +9 -6
- package/dist/esm/digi-typography-heading-jumbo.entry.js +17 -7
- package/dist/esm/digi-typography-meta.entry.js +9 -6
- package/dist/esm/digi-typography-preamble.entry.js +4 -5
- package/dist/esm/digi-typography-time.entry.js +15 -8
- package/dist/esm/digi-util-breakpoint-observer.entry.js +5 -6
- package/dist/esm/digi-util-detect-click-outside.entry.js +9 -5
- package/dist/esm/digi-util-detect-focus-outside.entry.js +9 -5
- package/dist/esm/digi-util-keydown-handler.entry.js +3 -3
- package/dist/esm/digi-util-keyup-handler.entry.js +3 -3
- package/dist/esm/digi-util-mutation-observer.entry.js +73 -0
- package/dist/esm/digi-util-resize-observer.entry.js +3 -4
- package/dist/esm/index-B1Je6g2n.js +856 -0
- package/dist/esm/index-BnKuq1L7.js +4314 -0
- package/dist/esm/index-BsIL3T_0.js +63 -0
- package/dist/esm/index.js +52 -52
- package/dist/esm/loader.js +3 -4
- package/dist/esm/prism-git-CdcGvoTs.js +2465 -0
- package/dist/esm/progress-circle-heading-level.enum-D0CENVum.js +17 -0
- package/dist/esm/progress-indicator-heading-level.enum-DE6sqPn9.js +23 -0
- package/dist/esm/transform-lPbx4RHH.js +3780 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +3 -1
- package/dist/types/components/_form/form-select/form-select.d.ts +2 -1
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +1 -1
- package/dist/types/components/_link/link-button/link-button.d.ts +0 -4
- package/dist/types/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.d.ts +4 -1
- package/dist/types/components/_progress/progress-indicator/progress-indicator.d.ts +1 -2
- package/dist/types/components/_progress/progressbar/progressbar.d.ts +1 -2
- package/dist/types/components/_tools/tools-feedback-banner/tools-feedback-banner.d.ts +2 -2
- package/dist/types/components/_util/util-mutation-observer/util-mutation-observer.d.ts +3 -3
- package/dist/types/components.d.ts +3566 -569
- package/dist/types/stencil-public-runtime.d.ts +204 -12
- package/hydrate/index.d.ts +52 -7
- package/hydrate/index.js +13307 -7176
- package/hydrate/index.mjs +13303 -7174
- package/package.json +2 -4
- package/components/p-01264cdd.js +0 -46
- package/components/p-02cac754.js +0 -46
- package/components/p-02ebe13f.js +0 -46
- package/components/p-06905c58.js +0 -46
- package/components/p-0e6a31ff.js +0 -58
- package/components/p-14119afa.js +0 -46
- package/components/p-1e730762.js +0 -46
- package/components/p-210a5fb1.js +0 -46
- package/components/p-222f510d.js +0 -72
- package/components/p-22bcbe8a.js +0 -70
- package/components/p-2881b363.js +0 -38
- package/components/p-2f619b66.js +0 -79
- package/components/p-36826879.js +0 -176
- package/components/p-36b65cd5.js +0 -46
- package/components/p-430607cb.js +0 -7
- package/components/p-433c995f.js +0 -46
- package/components/p-43c92e65.js +0 -46
- package/components/p-4851d4b6.js +0 -46
- package/components/p-4b44f757.js +0 -46
- package/components/p-4c4c38fd.js +0 -46
- package/components/p-4cdabbdb.js +0 -88
- package/components/p-517dba78.js +0 -46
- package/components/p-58f84239.js +0 -46
- package/components/p-59ead9fe.js +0 -96
- package/components/p-6ee85572.js +0 -172
- package/components/p-704e0126.js +0 -276
- package/components/p-70c8d84e.js +0 -52
- package/components/p-70fad0ea.js +0 -165
- package/components/p-71afaf70.js +0 -132
- package/components/p-77d8d575.js +0 -157
- package/components/p-7af943bd.js +0 -46
- package/components/p-7d7af765.js +0 -46
- package/components/p-7e9f8ee6.js +0 -46
- package/components/p-7f08536e.js +0 -46
- package/components/p-806d4bbf.js +0 -64
- package/components/p-88605ec3.js +0 -71
- package/components/p-8d67da4c.js +0 -46
- package/components/p-8ee7ec0b.js +0 -46
- package/components/p-965c3fa4.js +0 -177
- package/components/p-96ef4705.js +0 -46
- package/components/p-9963ea8d.js +0 -99
- package/components/p-9df35672.js +0 -57
- package/components/p-9e98bc1f.js +0 -46
- package/components/p-9f757d46.js +0 -46
- package/components/p-a1255d30.js +0 -133
- package/components/p-a43d5fe6.js +0 -46
- package/components/p-a480e81e.js +0 -46
- package/components/p-a53686b3.js +0 -2052
- package/components/p-ac5035f1.js +0 -93
- package/components/p-b18e3596.js +0 -46
- package/components/p-b53be17d.js +0 -46
- package/components/p-c7949525.js +0 -865
- package/components/p-d2b12caf.js +0 -46
- package/components/p-d851dc90.js +0 -66
- package/components/p-dab20489.js +0 -98
- package/components/p-db0d140d.js +0 -79
- package/components/p-db6386c7.js +0 -46
- package/components/p-db81738c.js +0 -46
- package/components/p-dbb0665a.js +0 -596
- package/components/p-de2295b7.js +0 -47
- package/components/p-e2a68e2b.js +0 -242
- package/components/p-e6b042b3.js +0 -47
- package/components/p-e788c4e0.js +0 -46
- package/components/p-e78c723f.js +0 -75
- package/components/p-ee33960b.js +0 -7
- package/components/p-f25f9ca8.js +0 -2431
- package/components/p-f461911c.js +0 -46
- package/components/p-f884ee43.js +0 -46
- package/components/p-f9a1a787.js +0 -3722
- package/components/p-ff74fdd6.js +0 -46
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/button-size.enum-1fd86b9e.js +0 -7
- package/dist/cjs/button-variation.enum-bc521499.js +0 -9
- package/dist/cjs/detectClickOutside.util-3e764eb3.js +0 -9
- package/dist/cjs/detectFocusOutside.util-03c62976.js +0 -9
- package/dist/cjs/digi-button.cjs.entry.js +0 -130
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +0 -2276
- package/dist/cjs/digi-icon-check_6.cjs.entry.js +0 -340
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +0 -53
- package/dist/cjs/digi-typography.cjs.entry.js +0 -26
- package/dist/cjs/index-7a477838.js +0 -3225
- package/dist/cjs/index-ac8e01b4.js +0 -884
- package/dist/cjs/index-cad91a90.js +0 -66
- package/dist/cjs/linear-86314cb2.js +0 -3737
- package/dist/cjs/prism-git-df985529.js +0 -2433
- package/dist/cjs/progress-indicator-heading-level.enum-13c38ed0.js +0 -39
- package/dist/digi-arbetsformedlingen/p-01874a31.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-01a1b9c9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-02854c3f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-04033c3a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0464dca2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-05ca733b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-075bd3c6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-09ded933.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0b2e2c33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0b586930.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0c66c1d8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0ef5ec06.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0ff7a0b3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-10261517.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-10ada07d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1122ceea.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-118d3294.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11d24d40.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1324a098.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-138540b1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-153e6f52.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1541bdea.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-15562b33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1649e5cf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-16d86f97.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-197903bf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a984b8d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1c575074.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1d9cc992.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
- package/dist/digi-arbetsformedlingen/p-21b5747f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-22d204d6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-269ef8dc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2788683e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-27c75cf5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2938e001.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-295dddb9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-29b838ce.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2b134ff1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2c685e4f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2dd2a2de.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2f94203c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-305262db.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-328bd8e3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-332ed107.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3510d041.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-366e18f4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-386e5da9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3ae4cb29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c8e2e00.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3dfd0cea.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3efa2f0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4128b648.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-41f4b689.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-430607cb.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4319f1b4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-443c70b2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44c75bab.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44f2fa8c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4588ebc2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45fba8fe.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45fceb9c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-46224607.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-48eee8b1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-49182a51.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-498e1eff.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-49914705.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-49a4fe71.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4a5a934d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4bb2bf83.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4d74331b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e8439d0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e9f2f05.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-505d6802.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51f1f0a2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-52e3bb32.js +0 -2
- package/dist/digi-arbetsformedlingen/p-544bf960.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-54d5aa93.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-565cb408.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-56edf062.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-59182ae9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5a3f2339.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5a5babd1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5ad1a828.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f981b60.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-60916953.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6274431e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6546c48d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-658863ba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-675fe9ae.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-69922ec2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-69aeb038.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-69cdbd95.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6abd8d58.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6b7e7040.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6bc1255b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6bd37def.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6c8491a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6ca83bc0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6cf784b6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6f5f87eb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6ff42bef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70744e7e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-741ec2d5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7581e47c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-784b28bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-78794f38.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7a4abd41.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7aa50e36.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7af556aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7afe3783.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7b82a34b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7c2c13ba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7c3f6a30.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e77bbe7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e85c9e3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7ed49934.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-801f8747.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-81c5af98.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-821d5a2c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82611050.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-83643aa3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8442b257.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-84bff8ef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-851fe52d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8713df13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8846018d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-898bc9f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-89ea748b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-89ef4ec1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8c91e232.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8de3b839.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8e53e821.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ef41ad9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8f33b97c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-931057a8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93158bc8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-942700b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-951bedf9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9526fbc3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-97aab77e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-991c8ab8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-99b2094a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9a72b453.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9b6afae4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9cdbe632.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9d0704a6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9e13d85b.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2008b0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2420f61.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3c8bff0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3eeb86f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a48de93b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a5810f26.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a682d6d0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a75e7291.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a8705ac5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a8a75edb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a902ddef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a9114fb8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa0a3d89.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ac212ad2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad186c98.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad62f485.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ae5326a8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b0c82cd5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b207a2ac.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b3cd12d2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b58169ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb96a67a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb9ae588.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-be2ff8df.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c1fd535b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c21e4aa2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c3efe169.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c590fb8b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c5dcd4a3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c604694f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7a512ee.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c7d079d0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c89542dc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cb4b3028.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cb74e4f3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cbc32f8f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cbd72c5d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cea5ef63.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cedbe18a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cef82303.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cf3ce3c5.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cf977a1e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d03e21e9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d0d10d50.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d13202aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d3e14568.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d55628aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d7f91b57.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d8985c32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d8f12bc6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d926e01a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d945efbc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d9a9ce27.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d9ee06b3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d9fe47c6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-da66642b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-db7c0461.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dc2900ed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dd4dbce9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e1255160.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e23d905e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e2673aa1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e325cf29.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e41c954e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e4b39465.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e54c2bba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e64c656d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7816175.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e88d7860.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ea57a1da.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ebd9596f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ecc2e481.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee33960b.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f1857d71.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f1e9e690.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f25f9ca8.js +0 -9
- package/dist/digi-arbetsformedlingen/p-f2e16531.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f2e9f090.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f489832c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f4ca6ba6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f50ab13d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f5bcd77b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f5bd6a43.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f87c0b45.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f96939e4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f9a1a787.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fd094929.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ff346c2a.entry.js +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -3
- package/dist/esm/button-size.enum-d5ff6ff3.js +0 -7
- package/dist/esm/button-variation.enum-94fffdd6.js +0 -9
- package/dist/esm/detectClickOutside.util-72594957.js +0 -7
- package/dist/esm/detectFocusOutside.util-a8676bee.js +0 -7
- package/dist/esm/digi-button.entry.js +0 -126
- package/dist/esm/digi-calendar-week-view.entry.js +0 -2272
- package/dist/esm/digi-icon-check_6.entry.js +0 -331
- package/dist/esm/digi-icon-chevron-left_2.entry.js +0 -48
- package/dist/esm/digi-typography.entry.js +0 -22
- package/dist/esm/index-148a7577.js +0 -3195
- package/dist/esm/index-2fce392f.js +0 -865
- package/dist/esm/index-5b6c95c6.js +0 -63
- package/dist/esm/linear-78b9219d.js +0 -3722
- package/dist/esm/prism-git-92a0d5cd.js +0 -2431
- package/dist/esm/progress-indicator-heading-level.enum-ace13afe.js +0 -39
- package/loader/package.json +0 -11
- /package/components/{p-8142cc73.js → p-6-MpaVf8.js} +0 -0
- /package/components/{p-c8429245.js → p-7F-7XlTz.js} +0 -0
- /package/components/{p-f2a6768b.js → p-ArGkfrXt.js} +0 -0
- /package/components/{p-7933b555.js → p-B8hpiXmh.js} +0 -0
- /package/components/{p-ffe5c0e8.js → p-BGaIliX6.js} +0 -0
- /package/components/{p-768f56d4.js → p-BbGPkkqr.js} +0 -0
- /package/components/{p-905ccb30.js → p-BfyJgcLA.js} +0 -0
- /package/components/{p-7aacd45f.js → p-BixPaBHw.js} +0 -0
- /package/components/{p-bc3d2778.js → p-BvWKyXb_.js} +0 -0
- /package/components/{p-820e795b.js → p-BvcVTm_t.js} +0 -0
- /package/components/{p-a4a001e1.js → p-C0A-p3cU.js} +0 -0
- /package/components/{p-f40f4b2a.js → p-C6B2KRZo.js} +0 -0
- /package/components/{p-6e383896.js → p-CAmn5qzb.js} +0 -0
- /package/components/{p-06625463.js → p-CAr8ZNeD.js} +0 -0
- /package/components/{p-1f68d501.js → p-CES5gUEo.js} +0 -0
- /package/components/{p-a6ca40fc.js → p-CHxBAbI8.js} +0 -0
- /package/components/{p-717306ef.js → p-CKoZU0-H.js} +0 -0
- /package/components/{p-2a023831.js → p-CPzcg9n3.js} +0 -0
- /package/components/{p-517dd6a0.js → p-CflatMTG.js} +0 -0
- /package/components/{p-9dd41cc4.js → p-Chk3GCYK.js} +0 -0
- /package/components/{p-0f6c0360.js → p-CkIb3cUS.js} +0 -0
- /package/components/{p-484a1d6d.js → p-CmH9mJ43.js} +0 -0
- /package/components/{p-5ba6737a.js → p-CsNHGpkJ.js} +0 -0
- /package/components/{p-fe63f0b9.js → p-D0CENVum.js} +0 -0
- /package/components/{p-0f3fbb1e.js → p-DBcU_EnL.js} +0 -0
- /package/components/{p-f447b984.js → p-DCS1KcvC.js} +0 -0
- /package/components/{p-d0f35bd6.js → p-DE6sqPn9.js} +0 -0
- /package/components/{p-7e32c40b.js → p-DH_-wpLB.js} +0 -0
- /package/components/{p-07303cb5.js → p-DJCufAhy.js} +0 -0
- /package/components/{p-f518a4cf.js → p-DNHRmpND.js} +0 -0
- /package/components/{p-d1886fff.js → p-DNjGvZvz.js} +0 -0
- /package/components/{p-dcdffb3c.js → p-DPeoHh1J.js} +0 -0
- /package/components/{p-3b20ec86.js → p-DPkRL9Bv.js} +0 -0
- /package/components/{p-cdcaf0eb.js → p-DPq588Q4.js} +0 -0
- /package/components/{p-77a93845.js → p-DXqRzyRP.js} +0 -0
- /package/components/{p-e4a9f8f0.js → p-D_VIx0pC.js} +0 -0
- /package/components/{p-24fe2189.js → p-DcnvI7UR.js} +0 -0
- /package/components/{p-e3d2e899.js → p-DdB9j8uV.js} +0 -0
- /package/components/{p-06f939ab.js → p-DoZkBEe8.js} +0 -0
- /package/components/{p-9c5a93d8.js → p-DogB9kfH.js} +0 -0
- /package/components/{p-9a1bec0e.js → p-Dp9SgP94.js} +0 -0
- /package/components/{p-4bad4fb0.js → p-DpDyNuVC.js} +0 -0
- /package/components/{p-d74742b8.js → p-DrVSK7Ws.js} +0 -0
- /package/components/{p-903a27d9.js → p-DsO1BTml.js} +0 -0
- /package/components/{p-bdd811bc.js → p-DwBvm-Nc.js} +0 -0
- /package/components/{p-ad16c7a1.js → p-DwNlf6Sh.js} +0 -0
- /package/components/{p-ee88e3f1.js → p-DzSu1-K0.js} +0 -0
- /package/components/{p-f600576a.js → p-V-HTxO5a.js} +0 -0
- /package/components/{p-814ca2ad.js → p-_ycZeBN4.js} +0 -0
- /package/components/{p-46cbbcb5.js → p-bQJ38En_.js} +0 -0
- /package/components/{p-40657c82.js → p-evtVuhQt.js} +0 -0
- /package/components/{p-8cd2d6dd.js → p-m9xS70Ez.js} +0 -0
- /package/components/{p-5f8dc01a.js → p-oKq_eErM.js} +0 -0
- /package/components/{p-5d21a361.js → p-qc6KRZue.js} +0 -0
- /package/components/{p-d8a98b3b.js → p-rbgkevJv.js} +0 -0
- /package/components/{p-b0e88537.js → p-rhVqmQwC.js} +0 -0
- /package/dist/cjs/{badge-notification-shape.enum-ff802554.js → badge-notification-shape.enum-CEyEo2G5.js} +0 -0
- /package/dist/cjs/{badge-status-variation.enum-0a5adc21.js → badge-status-variation.enum-XX8d--rj.js} +0 -0
- /package/dist/cjs/{bar-chart-variation.enum-a4e866b6.js → bar-chart-variation.enum-BZFN4377.js} +0 -0
- /package/dist/cjs/{button-type.enum-406723db.js → button-type.enum-2UH0KkO-.js} +0 -0
- /package/dist/cjs/{calendar-week-view-heading-level.enum-fd0c841b.js → calendar-week-view-heading-level.enum-NEkm5SUq.js} +0 -0
- /package/dist/cjs/{code-example-variation.enum-c6557727.js → code-example-variation.enum-Cq-BioXW.js} +0 -0
- /package/dist/cjs/{code-variation.enum-c4a4e6fd.js → code-variation.enum-BM-hhQuD.js} +0 -0
- /package/dist/cjs/{detectClosest.util-85b3507b.js → detectClosest.util-D1z809xM.js} +0 -0
- /package/dist/cjs/{expandable-accordion-header-level.enum-45483252.js → expandable-accordion-header-level.enum-CjL9V3Kt.js} +0 -0
- /package/dist/cjs/{expandable-faq-item-variation.enum-89427195.js → expandable-faq-item-variation.enum-aKkYAQgd.js} +0 -0
- /package/dist/cjs/{expandable-faq-variation.enum-af923f49.js → expandable-faq-variation.enum-FEybT9s4.js} +0 -0
- /package/dist/cjs/{footer-card-variation.enum-99555edc.js → footer-card-variation.enum-BPnpkC45.js} +0 -0
- /package/dist/cjs/{form-checkbox-variation.enum-d2ca879e.js → form-checkbox-variation.enum-BfOGU4Qt.js} +0 -0
- /package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-file-upload-variation.enum-xcEOoggr.js} +0 -0
- /package/dist/cjs/{form-input-search-variation.enum-c50239bc.js → form-input-search-variation.enum-VVfvlVeM.js} +0 -0
- /package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-DvF_MTHK.js} +0 -0
- /package/dist/cjs/{form-input-variation.enum-c750520c.js → form-input-variation.enum-kpoXNUuI.js} +0 -0
- /package/dist/cjs/{form-radiogroup-validation.enum-03a17d4d.js → form-radiogroup-validation.enum-DBDbjF6N.js} +0 -0
- /package/dist/cjs/{form-select-variation.enum-528c1bf0.js → form-select-variation.enum-e6wjWyaS.js} +0 -0
- /package/dist/cjs/{form-textarea-variation.enum-9c90d40f.js → form-textarea-variation.enum-BcEyaR5W.js} +0 -0
- /package/dist/cjs/{form-validation-message-variation.enum-855ae0be.js → form-validation-message-variation.enum-BA5nmCiw.js} +0 -0
- /package/dist/cjs/{index-e8333bcc.js → index-Snltmefx.js} +0 -0
- /package/dist/cjs/{info-card-multi-type.enum-14746572.js → info-card-multi-type.enum-pqhvdrsN.js} +0 -0
- /package/dist/cjs/{info-card-variation.enum-64cef637.js → info-card-variation.enum-B1cqmknX.js} +0 -0
- /package/dist/cjs/{keyboardHandler.util-d8600adb.js → keyboardHandler.util-Co9WoNpM.js} +0 -0
- /package/dist/cjs/{layout-block-variation.enum-f6102119.js → layout-block-variation.enum-BldWvnDk.js} +0 -0
- /package/dist/cjs/{layout-columns-variation.enum-65675649.js → layout-columns-variation.enum-OgD-hvRN.js} +0 -0
- /package/dist/cjs/{layout-container-max-width.enum-7e637f44.js → layout-container-max-width.enum-DqWtU7WK.js} +0 -0
- /package/dist/cjs/{link-button-variation.enum-137785e3.js → link-button-variation.enum-03cHZQxx.js} +0 -0
- /package/dist/cjs/{list-type.enum-aea4d012.js → list-type.enum-CkFOn-eB.js} +0 -0
- /package/dist/cjs/{loader-skeleton-variation.enum-d52ba55e.js → loader-skeleton-variation.enum-UvPtdesw.js} +0 -0
- /package/dist/cjs/{loader-spinner-size.enum-db2973f0.js → loader-spinner-size.enum-u5AQs-UJ.js} +0 -0
- /package/dist/cjs/{logger.util-fdafc086.js → logger.util-DUhrcCTY.js} +0 -0
- /package/dist/cjs/{logo-color.enum-76f6c506.js → logo-color.enum-BJZv-f6R.js} +0 -0
- /package/dist/cjs/{media-figure-alignment.enum-3885aba5.js → media-figure-alignment.enum-BWO1sg67.js} +0 -0
- /package/dist/cjs/{navigation-sidebar-variation.enum-1c0c3064.js → navigation-sidebar-variation.enum-70NIGQoi.js} +0 -0
- /package/dist/cjs/{navigation-tablist.types-f042f1bd.js → navigation-tablist.types-B5QU-sSH.js} +0 -0
- /package/dist/cjs/{navigation-vertical-menu-variation.enum-c237edd3.js → navigation-vertical-menu-variation.enum-7IUICId3.js} +0 -0
- /package/dist/cjs/{progress-list-item-variation.enum-90e4c874.js → progress-list-item-variation.enum-Dk3YS--x.js} +0 -0
- /package/dist/cjs/{progress-list-variation.enum-06d5ce27.js → progress-list-variation.enum-BvLLJK9O.js} +0 -0
- /package/dist/cjs/{progressbar-variation.enum-aff9fa80.js → progressbar-variation.enum-CnRJPSs7.js} +0 -0
- /package/dist/cjs/{quote-image-inner-position.enum-e64e7a6d.js → quote-image-inner-position.enum-CLifVlj0.js} +0 -0
- /package/dist/cjs/{randomIdGenerator.util-e7f4b6de.js → randomIdGenerator.util-C8XR2Tn1.js} +0 -0
- /package/dist/cjs/{table-variation.enum-25df2ad7.js → table-variation.enum-DlDZKXbq.js} +0 -0
- /package/dist/cjs/{tag-media-icon.enum-372563c5.js → tag-media-icon.enum-DzhiwvjI.js} +0 -0
- /package/dist/cjs/{tag-size.enum-387c516c.js → tag-size.enum-DFom3Smn.js} +0 -0
- /package/dist/cjs/{text-65b1b58c.js → text-Cu3CaHGj.js} +0 -0
- /package/dist/cjs/{tools-feedback-banner-type.enum-de373ba0.js → tools-feedback-banner-type.enum-Dyeg3XNb.js} +0 -0
- /package/dist/cjs/{tools-feedback-rating-variation.enum-2f71e84d.js → tools-feedback-rating-variation.enum-CBI4GhXs.js} +0 -0
- /package/dist/cjs/{tools-theme-provider.brand.enum-bc855272.js → tools-theme-provider.brand.enum-BzduvCUY.js} +0 -0
- /package/dist/cjs/{typography-heading-jumbo-variation.enum-8677e099.js → typography-heading-jumbo-variation.enum-Di1Jeh0G.js} +0 -0
- /package/dist/cjs/{typography-meta-variation.enum-13ac3538.js → typography-meta-variation.enum-lvDemnSz.js} +0 -0
- /package/dist/cjs/{typography-time-variation.enum-bce1d87e.js → typography-time-variation.enum-D2gIVzYH.js} +0 -0
- /package/dist/cjs/{typography-variation.enum-50512a4e.js → typography-variation.enum-BDSt7CVI.js} +0 -0
- /package/dist/cjs/{util-breakpoint-observer-breakpoints.enum-e96d3a84.js → util-breakpoint-observer-breakpoints.enum-zoJiezkV.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ee4cb21a.js → p-4smNltRI.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-8142cc73.js → p-6-MpaVf8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-f2a6768b.js → p-ArGkfrXt.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-7933b555.js → p-B8hpiXmh.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ffe5c0e8.js → p-BGaIliX6.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-88b4d03a.js → p-BSJH8Lpg.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-905ccb30.js → p-BfyJgcLA.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-7aacd45f.js → p-BixPaBHw.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-bc3d2778.js → p-BvWKyXb_.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-820e795b.js → p-BvcVTm_t.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-a4a001e1.js → p-C0A-p3cU.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-1f68d501.js → p-C6B2KRZo.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-6e383896.js → p-CAmn5qzb.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-f40f4b2a.js → p-CES5gUEo.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-a6ca40fc.js → p-CHxBAbI8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-717306ef.js → p-CKoZU0-H.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-2a023831.js → p-CPzcg9n3.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-a39f86c9.js → p-CWFirwyE.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-517dd6a0.js → p-CflatMTG.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-9dd41cc4.js → p-Chk3GCYK.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-0f6c0360.js → p-CkIb3cUS.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-484a1d6d.js → p-CmH9mJ43.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-5ba6737a.js → p-CsNHGpkJ.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-300aa9ef.js → p-CuhrrYGE.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-0f3fbb1e.js → p-DBcU_EnL.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-f447b984.js → p-DCS1KcvC.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-5a602122.js → p-DGI7Jkg2.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-7e32c40b.js → p-DH_-wpLB.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-07303cb5.js → p-DJCufAhy.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-d1886fff.js → p-DNjGvZvz.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-dcdffb3c.js → p-DPeoHh1J.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-3b20ec86.js → p-DPkRL9Bv.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-cdcaf0eb.js → p-DPq588Q4.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ee9589e6.js → p-DShzaNrQ.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-06f939ab.js → p-DXqRzyRP.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-e4a9f8f0.js → p-D_VIx0pC.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-24fe2189.js → p-DcnvI7UR.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-e3d2e899.js → p-DdB9j8uV.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-1f956af8.js → p-DfWZa2Wv.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-77a93845.js → p-DoZkBEe8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-9c5a93d8.js → p-DogB9kfH.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-4bad4fb0.js → p-DpDyNuVC.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-d74742b8.js → p-DrVSK7Ws.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-903a27d9.js → p-DsO1BTml.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-bdd811bc.js → p-DwBvm-Nc.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ad16c7a1.js → p-DwNlf6Sh.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ee88e3f1.js → p-DzSu1-K0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-b4022c44.js → p-Ua3MxeBh.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-f600576a.js → p-V-HTxO5a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-814ca2ad.js → p-_ycZeBN4.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-46cbbcb5.js → p-bQJ38En_.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-40657c82.js → p-evtVuhQt.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-8cd2d6dd.js → p-m9xS70Ez.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-5d21a361.js → p-qc6KRZue.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-b0e88537.js → p-rhVqmQwC.js} +0 -0
- /package/dist/esm/{badge-notification-shape.enum-e15a6245.js → badge-notification-shape.enum-CKoZU0-H.js} +0 -0
- /package/dist/esm/{badge-status-variation.enum-8d6370ff.js → badge-status-variation.enum-C0A-p3cU.js} +0 -0
- /package/dist/esm/{bar-chart-variation.enum-97c0b47f.js → bar-chart-variation.enum-DPeoHh1J.js} +0 -0
- /package/dist/esm/{button-type.enum-5250ae0b.js → button-type.enum-DShzaNrQ.js} +0 -0
- /package/dist/esm/{calendar-week-view-heading-level.enum-6774297c.js → calendar-week-view-heading-level.enum-DH_-wpLB.js} +0 -0
- /package/dist/esm/{code-example-variation.enum-e9f9fced.js → code-example-variation.enum-DGI7Jkg2.js} +0 -0
- /package/dist/esm/{code-variation.enum-1eee7c7a.js → code-variation.enum-qc6KRZue.js} +0 -0
- /package/dist/esm/{detectClosest.util-58a7504f.js → detectClosest.util-DwBvm-Nc.js} +0 -0
- /package/dist/esm/{expandable-accordion-header-level.enum-85681e2f.js → expandable-accordion-header-level.enum-DwNlf6Sh.js} +0 -0
- /package/dist/esm/{expandable-faq-item-variation.enum-a8cb225b.js → expandable-faq-item-variation.enum-C6B2KRZo.js} +0 -0
- /package/dist/esm/{expandable-faq-variation.enum-6934c367.js → expandable-faq-variation.enum-CES5gUEo.js} +0 -0
- /package/dist/esm/{footer-card-variation.enum-cc732148.js → footer-card-variation.enum-DzSu1-K0.js} +0 -0
- /package/dist/esm/{form-checkbox-variation.enum-83e906fc.js → form-checkbox-variation.enum-6-MpaVf8.js} +0 -0
- /package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-file-upload-variation.enum-BfyJgcLA.js} +0 -0
- /package/dist/esm/{form-input-search-variation.enum-f9d669f2.js → form-input-search-variation.enum-BvWKyXb_.js} +0 -0
- /package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-BSJH8Lpg.js} +0 -0
- /package/dist/esm/{form-input-variation.enum-64d9450f.js → form-input-variation.enum-DfWZa2Wv.js} +0 -0
- /package/dist/esm/{form-radiogroup-validation.enum-d790fc66.js → form-radiogroup-validation.enum-DcnvI7UR.js} +0 -0
- /package/dist/esm/{form-select-variation.enum-f2f6098d.js → form-select-variation.enum-DCS1KcvC.js} +0 -0
- /package/dist/esm/{form-textarea-variation.enum-05017e8e.js → form-textarea-variation.enum-DogB9kfH.js} +0 -0
- /package/dist/esm/{form-validation-message-variation.enum-bcef8a9d.js → form-validation-message-variation.enum-B8hpiXmh.js} +0 -0
- /package/dist/esm/{index-8685f88d.js → index-BixPaBHw.js} +0 -0
- /package/dist/esm/{info-card-multi-type.enum-07ee124f.js → info-card-multi-type.enum-CkIb3cUS.js} +0 -0
- /package/dist/esm/{info-card-variation.enum-2ccc52c1.js → info-card-variation.enum-_ycZeBN4.js} +0 -0
- /package/dist/esm/{keyboardHandler.util-383c0054.js → keyboardHandler.util-CflatMTG.js} +0 -0
- /package/dist/esm/{layout-block-variation.enum-b7a20db4.js → layout-block-variation.enum-CWFirwyE.js} +0 -0
- /package/dist/esm/{layout-columns-variation.enum-34f7754e.js → layout-columns-variation.enum-DJCufAhy.js} +0 -0
- /package/dist/esm/{layout-container-max-width.enum-c40018ac.js → layout-container-max-width.enum-CuhrrYGE.js} +0 -0
- /package/dist/esm/{link-button-variation.enum-84d4976f.js → link-button-variation.enum-CPzcg9n3.js} +0 -0
- /package/dist/esm/{list-type.enum-fbb331ad.js → list-type.enum-CsNHGpkJ.js} +0 -0
- /package/dist/esm/{loader-skeleton-variation.enum-f9f867b4.js → loader-skeleton-variation.enum-D_VIx0pC.js} +0 -0
- /package/dist/esm/{loader-spinner-size.enum-0b246fa0.js → loader-spinner-size.enum-ArGkfrXt.js} +0 -0
- /package/dist/esm/{logger.util-ede3c48a.js → logger.util-DdB9j8uV.js} +0 -0
- /package/dist/esm/{logo-color.enum-8593dca6.js → logo-color.enum-Chk3GCYK.js} +0 -0
- /package/dist/esm/{media-figure-alignment.enum-a1d36567.js → media-figure-alignment.enum-evtVuhQt.js} +0 -0
- /package/dist/esm/{navigation-sidebar-variation.enum-8fead764.js → navigation-sidebar-variation.enum-V-HTxO5a.js} +0 -0
- /package/dist/esm/{navigation-tablist.types-61def4f1.js → navigation-tablist.types-Ua3MxeBh.js} +0 -0
- /package/dist/esm/{navigation-vertical-menu-variation.enum-c30b0ea9.js → navigation-vertical-menu-variation.enum-DPkRL9Bv.js} +0 -0
- /package/dist/esm/{progress-list-item-variation.enum-384b9a3a.js → progress-list-item-variation.enum-DXqRzyRP.js} +0 -0
- /package/dist/esm/{progress-list-variation.enum-300bd89d.js → progress-list-variation.enum-DoZkBEe8.js} +0 -0
- /package/dist/esm/{progressbar-variation.enum-40adaab4.js → progressbar-variation.enum-m9xS70Ez.js} +0 -0
- /package/dist/esm/{quote-image-inner-position.enum-8e9b1e65.js → quote-image-inner-position.enum-CmH9mJ43.js} +0 -0
- /package/dist/esm/{randomIdGenerator.util-56406f2e.js → randomIdGenerator.util-BGaIliX6.js} +0 -0
- /package/dist/esm/{table-variation.enum-dd9366b6.js → table-variation.enum-DBcU_EnL.js} +0 -0
- /package/dist/esm/{tag-media-icon.enum-fefa191c.js → tag-media-icon.enum-BvcVTm_t.js} +0 -0
- /package/dist/esm/{tag-size.enum-403e0cd8.js → tag-size.enum-bQJ38En_.js} +0 -0
- /package/dist/esm/{text-8f88c0f6.js → text-DsO1BTml.js} +0 -0
- /package/dist/esm/{tools-feedback-banner-type.enum-74b4e580.js → tools-feedback-banner-type.enum-DrVSK7Ws.js} +0 -0
- /package/dist/esm/{tools-feedback-rating-variation.enum-29058ff2.js → tools-feedback-rating-variation.enum-CAmn5qzb.js} +0 -0
- /package/dist/esm/{tools-theme-provider.brand.enum-8c5a98c9.js → tools-theme-provider.brand.enum-DpDyNuVC.js} +0 -0
- /package/dist/esm/{typography-heading-jumbo-variation.enum-eb737f1b.js → typography-heading-jumbo-variation.enum-DNjGvZvz.js} +0 -0
- /package/dist/esm/{typography-meta-variation.enum-1f7c2878.js → typography-meta-variation.enum-CHxBAbI8.js} +0 -0
- /package/dist/esm/{typography-time-variation.enum-34c830ef.js → typography-time-variation.enum-rhVqmQwC.js} +0 -0
- /package/dist/esm/{typography-variation.enum-8c3ff25c.js → typography-variation.enum-4smNltRI.js} +0 -0
- /package/dist/esm/{util-breakpoint-observer-breakpoints.enum-6d004731.js → util-breakpoint-observer-breakpoints.enum-DPq588Q4.js} +0 -0
|
@@ -1,2276 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index$2 = require('./index-7a477838.js');
|
|
6
|
-
const text = require('./text-65b1b58c.js');
|
|
7
|
-
const index$1 = require('./index-ac8e01b4.js');
|
|
8
|
-
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');
|
|
9
|
-
const buttonVariation_enum = require('./button-variation.enum-bc521499.js');
|
|
10
|
-
const calendarWeekViewHeadingLevel_enum = require('./calendar-week-view-heading-level.enum-fd0c841b.js');
|
|
11
|
-
const index = require('./index-e8333bcc.js');
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* @name addDays
|
|
15
|
-
* @category Day Helpers
|
|
16
|
-
* @summary Add the specified number of days to the given date.
|
|
17
|
-
*
|
|
18
|
-
* @description
|
|
19
|
-
* Add the specified number of days to the given date.
|
|
20
|
-
*
|
|
21
|
-
* ### v2.0.0 breaking changes:
|
|
22
|
-
*
|
|
23
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
24
|
-
*
|
|
25
|
-
* @param {Date|Number} date - the date to be changed
|
|
26
|
-
* @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
27
|
-
* @returns {Date} - the new date with the days added
|
|
28
|
-
* @throws {TypeError} - 2 arguments required
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* // Add 10 days to 1 September 2014:
|
|
32
|
-
* const result = addDays(new Date(2014, 8, 1), 10)
|
|
33
|
-
* //=> Thu Sep 11 2014 00:00:00
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
|
-
function addDays(dirtyDate, dirtyAmount) {
|
|
37
|
-
index.requiredArgs(2, arguments);
|
|
38
|
-
var date = index.toDate(dirtyDate);
|
|
39
|
-
var amount = index$1.toInteger(dirtyAmount);
|
|
40
|
-
|
|
41
|
-
if (isNaN(amount)) {
|
|
42
|
-
return new Date(NaN);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (!amount) {
|
|
46
|
-
// If 0 days, no-op to avoid changing times in the hour before end of DST
|
|
47
|
-
return date;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
date.setDate(date.getDate() + amount);
|
|
51
|
-
return date;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @name startOfWeek
|
|
56
|
-
* @category Week Helpers
|
|
57
|
-
* @summary Return the start of a week for the given date.
|
|
58
|
-
*
|
|
59
|
-
* @description
|
|
60
|
-
* Return the start of a week for the given date.
|
|
61
|
-
* The result will be in the local timezone.
|
|
62
|
-
*
|
|
63
|
-
* ### v2.0.0 breaking changes:
|
|
64
|
-
*
|
|
65
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
66
|
-
*
|
|
67
|
-
* @param {Date|Number} date - the original date
|
|
68
|
-
* @param {Object} [options] - an object with options.
|
|
69
|
-
* @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
|
|
70
|
-
* @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
|
|
71
|
-
* @returns {Date} the start of a week
|
|
72
|
-
* @throws {TypeError} 1 argument required
|
|
73
|
-
* @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* // The start of a week for 2 September 2014 11:55:00:
|
|
77
|
-
* const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0))
|
|
78
|
-
* //=> Sun Aug 31 2014 00:00:00
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* // If the week starts on Monday, the start of the week for 2 September 2014 11:55:00:
|
|
82
|
-
* const result = startOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })
|
|
83
|
-
* //=> Mon Sep 01 2014 00:00:00
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
function startOfWeek(dirtyDate, dirtyOptions) {
|
|
87
|
-
index.requiredArgs(1, arguments);
|
|
88
|
-
var options = dirtyOptions || {};
|
|
89
|
-
var locale = options.locale;
|
|
90
|
-
var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
|
|
91
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
92
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
93
|
-
|
|
94
|
-
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
95
|
-
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
var date = index.toDate(dirtyDate);
|
|
99
|
-
var day = date.getDay();
|
|
100
|
-
var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
101
|
-
date.setDate(date.getDate() - diff);
|
|
102
|
-
date.setHours(0, 0, 0, 0);
|
|
103
|
-
return date;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* @name startOfISOWeek
|
|
108
|
-
* @category ISO Week Helpers
|
|
109
|
-
* @summary Return the start of an ISO week for the given date.
|
|
110
|
-
*
|
|
111
|
-
* @description
|
|
112
|
-
* Return the start of an ISO week for the given date.
|
|
113
|
-
* The result will be in the local timezone.
|
|
114
|
-
*
|
|
115
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
116
|
-
*
|
|
117
|
-
* ### v2.0.0 breaking changes:
|
|
118
|
-
*
|
|
119
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
120
|
-
*
|
|
121
|
-
* @param {Date|Number} date - the original date
|
|
122
|
-
* @returns {Date} the start of an ISO week
|
|
123
|
-
* @throws {TypeError} 1 argument required
|
|
124
|
-
*
|
|
125
|
-
* @example
|
|
126
|
-
* // The start of an ISO week for 2 September 2014 11:55:00:
|
|
127
|
-
* var result = startOfISOWeek(new Date(2014, 8, 2, 11, 55, 0))
|
|
128
|
-
* //=> Mon Sep 01 2014 00:00:00
|
|
129
|
-
*/
|
|
130
|
-
|
|
131
|
-
function startOfISOWeek(dirtyDate) {
|
|
132
|
-
index.requiredArgs(1, arguments);
|
|
133
|
-
return startOfWeek(dirtyDate, {
|
|
134
|
-
weekStartsOn: 1
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* @name getISOWeekYear
|
|
140
|
-
* @category ISO Week-Numbering Year Helpers
|
|
141
|
-
* @summary Get the ISO week-numbering year of the given date.
|
|
142
|
-
*
|
|
143
|
-
* @description
|
|
144
|
-
* Get the ISO week-numbering year of the given date,
|
|
145
|
-
* which always starts 3 days before the year's first Thursday.
|
|
146
|
-
*
|
|
147
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
148
|
-
*
|
|
149
|
-
* ### v2.0.0 breaking changes:
|
|
150
|
-
*
|
|
151
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
152
|
-
*
|
|
153
|
-
* - The function was renamed from `getISOYear` to `getISOWeekYear`.
|
|
154
|
-
* "ISO week year" is short for [ISO week-numbering year](https://en.wikipedia.org/wiki/ISO_week_date).
|
|
155
|
-
* This change makes the name consistent with
|
|
156
|
-
* locale-dependent week-numbering year helpers, e.g., `getWeekYear`.
|
|
157
|
-
*
|
|
158
|
-
* @param {Date|Number} date - the given date
|
|
159
|
-
* @returns {Number} the ISO week-numbering year
|
|
160
|
-
* @throws {TypeError} 1 argument required
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* // Which ISO-week numbering year is 2 January 2005?
|
|
164
|
-
* const result = getISOWeekYear(new Date(2005, 0, 2))
|
|
165
|
-
* //=> 2004
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
|
-
function getISOWeekYear(dirtyDate) {
|
|
169
|
-
index.requiredArgs(1, arguments);
|
|
170
|
-
var date = index.toDate(dirtyDate);
|
|
171
|
-
var year = date.getFullYear();
|
|
172
|
-
var fourthOfJanuaryOfNextYear = new Date(0);
|
|
173
|
-
fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
|
|
174
|
-
fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
|
|
175
|
-
var startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);
|
|
176
|
-
var fourthOfJanuaryOfThisYear = new Date(0);
|
|
177
|
-
fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
|
|
178
|
-
fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
|
|
179
|
-
var startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);
|
|
180
|
-
|
|
181
|
-
if (date.getTime() >= startOfNextYear.getTime()) {
|
|
182
|
-
return year + 1;
|
|
183
|
-
} else if (date.getTime() >= startOfThisYear.getTime()) {
|
|
184
|
-
return year;
|
|
185
|
-
} else {
|
|
186
|
-
return year - 1;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* @name startOfISOWeekYear
|
|
192
|
-
* @category ISO Week-Numbering Year Helpers
|
|
193
|
-
* @summary Return the start of an ISO week-numbering year for the given date.
|
|
194
|
-
*
|
|
195
|
-
* @description
|
|
196
|
-
* Return the start of an ISO week-numbering year,
|
|
197
|
-
* which always starts 3 days before the year's first Thursday.
|
|
198
|
-
* The result will be in the local timezone.
|
|
199
|
-
*
|
|
200
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
201
|
-
*
|
|
202
|
-
* ### v2.0.0 breaking changes:
|
|
203
|
-
*
|
|
204
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
205
|
-
*
|
|
206
|
-
* @param {Date|Number} date - the original date
|
|
207
|
-
* @returns {Date} the start of an ISO week-numbering year
|
|
208
|
-
* @throws {TypeError} 1 argument required
|
|
209
|
-
*
|
|
210
|
-
* @example
|
|
211
|
-
* // The start of an ISO week-numbering year for 2 July 2005:
|
|
212
|
-
* const result = startOfISOWeekYear(new Date(2005, 6, 2))
|
|
213
|
-
* //=> Mon Jan 03 2005 00:00:00
|
|
214
|
-
*/
|
|
215
|
-
|
|
216
|
-
function startOfISOWeekYear(dirtyDate) {
|
|
217
|
-
index.requiredArgs(1, arguments);
|
|
218
|
-
var year = getISOWeekYear(dirtyDate);
|
|
219
|
-
var fourthOfJanuary = new Date(0);
|
|
220
|
-
fourthOfJanuary.setFullYear(year, 0, 4);
|
|
221
|
-
fourthOfJanuary.setHours(0, 0, 0, 0);
|
|
222
|
-
var date = startOfISOWeek(fourthOfJanuary);
|
|
223
|
-
return date;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
function addLeadingZeros(number, targetLength) {
|
|
227
|
-
var sign = number < 0 ? '-' : '';
|
|
228
|
-
var output = Math.abs(number).toString();
|
|
229
|
-
|
|
230
|
-
while (output.length < targetLength) {
|
|
231
|
-
output = '0' + output;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
return sign + output;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/*
|
|
238
|
-
* | | Unit | | Unit |
|
|
239
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
240
|
-
* | a | AM, PM | A* | |
|
|
241
|
-
* | d | Day of month | D | |
|
|
242
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
243
|
-
* | m | Minute | M | Month |
|
|
244
|
-
* | s | Second | S | Fraction of second |
|
|
245
|
-
* | y | Year (abs) | Y | |
|
|
246
|
-
*
|
|
247
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
248
|
-
*/
|
|
249
|
-
|
|
250
|
-
var formatters$2 = {
|
|
251
|
-
// Year
|
|
252
|
-
y: function (date, token) {
|
|
253
|
-
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
|
|
254
|
-
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
255
|
-
// |----------|-------|----|-------|-------|-------|
|
|
256
|
-
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
257
|
-
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
258
|
-
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
259
|
-
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
260
|
-
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
261
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
262
|
-
|
|
263
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
264
|
-
return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
|
|
265
|
-
},
|
|
266
|
-
// Month
|
|
267
|
-
M: function (date, token) {
|
|
268
|
-
var month = date.getUTCMonth();
|
|
269
|
-
return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
|
|
270
|
-
},
|
|
271
|
-
// Day of the month
|
|
272
|
-
d: function (date, token) {
|
|
273
|
-
return addLeadingZeros(date.getUTCDate(), token.length);
|
|
274
|
-
},
|
|
275
|
-
// AM or PM
|
|
276
|
-
a: function (date, token) {
|
|
277
|
-
var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
|
|
278
|
-
|
|
279
|
-
switch (token) {
|
|
280
|
-
case 'a':
|
|
281
|
-
case 'aa':
|
|
282
|
-
return dayPeriodEnumValue.toUpperCase();
|
|
283
|
-
|
|
284
|
-
case 'aaa':
|
|
285
|
-
return dayPeriodEnumValue;
|
|
286
|
-
|
|
287
|
-
case 'aaaaa':
|
|
288
|
-
return dayPeriodEnumValue[0];
|
|
289
|
-
|
|
290
|
-
case 'aaaa':
|
|
291
|
-
default:
|
|
292
|
-
return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
// Hour [1-12]
|
|
296
|
-
h: function (date, token) {
|
|
297
|
-
return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
|
|
298
|
-
},
|
|
299
|
-
// Hour [0-23]
|
|
300
|
-
H: function (date, token) {
|
|
301
|
-
return addLeadingZeros(date.getUTCHours(), token.length);
|
|
302
|
-
},
|
|
303
|
-
// Minute
|
|
304
|
-
m: function (date, token) {
|
|
305
|
-
return addLeadingZeros(date.getUTCMinutes(), token.length);
|
|
306
|
-
},
|
|
307
|
-
// Second
|
|
308
|
-
s: function (date, token) {
|
|
309
|
-
return addLeadingZeros(date.getUTCSeconds(), token.length);
|
|
310
|
-
},
|
|
311
|
-
// Fraction of second
|
|
312
|
-
S: function (date, token) {
|
|
313
|
-
var numberOfDigits = token.length;
|
|
314
|
-
var milliseconds = date.getUTCMilliseconds();
|
|
315
|
-
var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
|
|
316
|
-
return addLeadingZeros(fractionalSeconds, token.length);
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
const formatters$3 = formatters$2;
|
|
320
|
-
|
|
321
|
-
var MILLISECONDS_IN_DAY = 86400000; // This function will be a part of public API when UTC function will be implemented.
|
|
322
|
-
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
323
|
-
|
|
324
|
-
function getUTCDayOfYear(dirtyDate) {
|
|
325
|
-
index.requiredArgs(1, arguments);
|
|
326
|
-
var date = index.toDate(dirtyDate);
|
|
327
|
-
var timestamp = date.getTime();
|
|
328
|
-
date.setUTCMonth(0, 1);
|
|
329
|
-
date.setUTCHours(0, 0, 0, 0);
|
|
330
|
-
var startOfYearTimestamp = date.getTime();
|
|
331
|
-
var difference = timestamp - startOfYearTimestamp;
|
|
332
|
-
return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
var dayPeriodEnum = {
|
|
336
|
-
am: 'am',
|
|
337
|
-
pm: 'pm',
|
|
338
|
-
midnight: 'midnight',
|
|
339
|
-
noon: 'noon',
|
|
340
|
-
morning: 'morning',
|
|
341
|
-
afternoon: 'afternoon',
|
|
342
|
-
evening: 'evening',
|
|
343
|
-
night: 'night'
|
|
344
|
-
};
|
|
345
|
-
/*
|
|
346
|
-
* | | Unit | | Unit |
|
|
347
|
-
* |-----|--------------------------------|-----|--------------------------------|
|
|
348
|
-
* | a | AM, PM | A* | Milliseconds in day |
|
|
349
|
-
* | b | AM, PM, noon, midnight | B | Flexible day period |
|
|
350
|
-
* | c | Stand-alone local day of week | C* | Localized hour w/ day period |
|
|
351
|
-
* | d | Day of month | D | Day of year |
|
|
352
|
-
* | e | Local day of week | E | Day of week |
|
|
353
|
-
* | f | | F* | Day of week in month |
|
|
354
|
-
* | g* | Modified Julian day | G | Era |
|
|
355
|
-
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
356
|
-
* | i! | ISO day of week | I! | ISO week of year |
|
|
357
|
-
* | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
|
|
358
|
-
* | k | Hour [1-24] | K | Hour [0-11] |
|
|
359
|
-
* | l* | (deprecated) | L | Stand-alone month |
|
|
360
|
-
* | m | Minute | M | Month |
|
|
361
|
-
* | n | | N | |
|
|
362
|
-
* | o! | Ordinal number modifier | O | Timezone (GMT) |
|
|
363
|
-
* | p! | Long localized time | P! | Long localized date |
|
|
364
|
-
* | q | Stand-alone quarter | Q | Quarter |
|
|
365
|
-
* | r* | Related Gregorian year | R! | ISO week-numbering year |
|
|
366
|
-
* | s | Second | S | Fraction of second |
|
|
367
|
-
* | t! | Seconds timestamp | T! | Milliseconds timestamp |
|
|
368
|
-
* | u | Extended year | U* | Cyclic year |
|
|
369
|
-
* | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
|
|
370
|
-
* | w | Local week of year | W* | Week of month |
|
|
371
|
-
* | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
|
|
372
|
-
* | y | Year (abs) | Y | Local week-numbering year |
|
|
373
|
-
* | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
|
|
374
|
-
*
|
|
375
|
-
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
376
|
-
*
|
|
377
|
-
* Letters marked by ! are non-standard, but implemented by date-fns:
|
|
378
|
-
* - `o` modifies the previous token to turn it into an ordinal (see `format` docs)
|
|
379
|
-
* - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
|
|
380
|
-
* i.e. 7 for Sunday, 1 for Monday, etc.
|
|
381
|
-
* - `I` is ISO week of year, as opposed to `w` which is local week of year.
|
|
382
|
-
* - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
|
|
383
|
-
* `R` is supposed to be used in conjunction with `I` and `i`
|
|
384
|
-
* for universal ISO week-numbering date, whereas
|
|
385
|
-
* `Y` is supposed to be used in conjunction with `w` and `e`
|
|
386
|
-
* for week-numbering date specific to the locale.
|
|
387
|
-
* - `P` is long localized date format
|
|
388
|
-
* - `p` is long localized time format
|
|
389
|
-
*/
|
|
390
|
-
|
|
391
|
-
var formatters = {
|
|
392
|
-
// Era
|
|
393
|
-
G: function (date, token, localize) {
|
|
394
|
-
var era = date.getUTCFullYear() > 0 ? 1 : 0;
|
|
395
|
-
|
|
396
|
-
switch (token) {
|
|
397
|
-
// AD, BC
|
|
398
|
-
case 'G':
|
|
399
|
-
case 'GG':
|
|
400
|
-
case 'GGG':
|
|
401
|
-
return localize.era(era, {
|
|
402
|
-
width: 'abbreviated'
|
|
403
|
-
});
|
|
404
|
-
// A, B
|
|
405
|
-
|
|
406
|
-
case 'GGGGG':
|
|
407
|
-
return localize.era(era, {
|
|
408
|
-
width: 'narrow'
|
|
409
|
-
});
|
|
410
|
-
// Anno Domini, Before Christ
|
|
411
|
-
|
|
412
|
-
case 'GGGG':
|
|
413
|
-
default:
|
|
414
|
-
return localize.era(era, {
|
|
415
|
-
width: 'wide'
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
// Year
|
|
420
|
-
y: function (date, token, localize) {
|
|
421
|
-
// Ordinal number
|
|
422
|
-
if (token === 'yo') {
|
|
423
|
-
var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
424
|
-
|
|
425
|
-
var year = signedYear > 0 ? signedYear : 1 - signedYear;
|
|
426
|
-
return localize.ordinalNumber(year, {
|
|
427
|
-
unit: 'year'
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
return formatters$3.y(date, token);
|
|
432
|
-
},
|
|
433
|
-
// Local week-numbering year
|
|
434
|
-
Y: function (date, token, localize, options) {
|
|
435
|
-
var signedWeekYear = index$1.getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)
|
|
436
|
-
|
|
437
|
-
var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year
|
|
438
|
-
|
|
439
|
-
if (token === 'YY') {
|
|
440
|
-
var twoDigitYear = weekYear % 100;
|
|
441
|
-
return addLeadingZeros(twoDigitYear, 2);
|
|
442
|
-
} // Ordinal number
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
if (token === 'Yo') {
|
|
446
|
-
return localize.ordinalNumber(weekYear, {
|
|
447
|
-
unit: 'year'
|
|
448
|
-
});
|
|
449
|
-
} // Padding
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
return addLeadingZeros(weekYear, token.length);
|
|
453
|
-
},
|
|
454
|
-
// ISO week-numbering year
|
|
455
|
-
R: function (date, token) {
|
|
456
|
-
var isoWeekYear = index$1.getUTCISOWeekYear(date); // Padding
|
|
457
|
-
|
|
458
|
-
return addLeadingZeros(isoWeekYear, token.length);
|
|
459
|
-
},
|
|
460
|
-
// Extended year. This is a single number designating the year of this calendar system.
|
|
461
|
-
// The main difference between `y` and `u` localizers are B.C. years:
|
|
462
|
-
// | Year | `y` | `u` |
|
|
463
|
-
// |------|-----|-----|
|
|
464
|
-
// | AC 1 | 1 | 1 |
|
|
465
|
-
// | BC 1 | 1 | 0 |
|
|
466
|
-
// | BC 2 | 2 | -1 |
|
|
467
|
-
// Also `yy` always returns the last two digits of a year,
|
|
468
|
-
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
469
|
-
u: function (date, token) {
|
|
470
|
-
var year = date.getUTCFullYear();
|
|
471
|
-
return addLeadingZeros(year, token.length);
|
|
472
|
-
},
|
|
473
|
-
// Quarter
|
|
474
|
-
Q: function (date, token, localize) {
|
|
475
|
-
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
476
|
-
|
|
477
|
-
switch (token) {
|
|
478
|
-
// 1, 2, 3, 4
|
|
479
|
-
case 'Q':
|
|
480
|
-
return String(quarter);
|
|
481
|
-
// 01, 02, 03, 04
|
|
482
|
-
|
|
483
|
-
case 'QQ':
|
|
484
|
-
return addLeadingZeros(quarter, 2);
|
|
485
|
-
// 1st, 2nd, 3rd, 4th
|
|
486
|
-
|
|
487
|
-
case 'Qo':
|
|
488
|
-
return localize.ordinalNumber(quarter, {
|
|
489
|
-
unit: 'quarter'
|
|
490
|
-
});
|
|
491
|
-
// Q1, Q2, Q3, Q4
|
|
492
|
-
|
|
493
|
-
case 'QQQ':
|
|
494
|
-
return localize.quarter(quarter, {
|
|
495
|
-
width: 'abbreviated',
|
|
496
|
-
context: 'formatting'
|
|
497
|
-
});
|
|
498
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
499
|
-
|
|
500
|
-
case 'QQQQQ':
|
|
501
|
-
return localize.quarter(quarter, {
|
|
502
|
-
width: 'narrow',
|
|
503
|
-
context: 'formatting'
|
|
504
|
-
});
|
|
505
|
-
// 1st quarter, 2nd quarter, ...
|
|
506
|
-
|
|
507
|
-
case 'QQQQ':
|
|
508
|
-
default:
|
|
509
|
-
return localize.quarter(quarter, {
|
|
510
|
-
width: 'wide',
|
|
511
|
-
context: 'formatting'
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
// Stand-alone quarter
|
|
516
|
-
q: function (date, token, localize) {
|
|
517
|
-
var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
|
|
518
|
-
|
|
519
|
-
switch (token) {
|
|
520
|
-
// 1, 2, 3, 4
|
|
521
|
-
case 'q':
|
|
522
|
-
return String(quarter);
|
|
523
|
-
// 01, 02, 03, 04
|
|
524
|
-
|
|
525
|
-
case 'qq':
|
|
526
|
-
return addLeadingZeros(quarter, 2);
|
|
527
|
-
// 1st, 2nd, 3rd, 4th
|
|
528
|
-
|
|
529
|
-
case 'qo':
|
|
530
|
-
return localize.ordinalNumber(quarter, {
|
|
531
|
-
unit: 'quarter'
|
|
532
|
-
});
|
|
533
|
-
// Q1, Q2, Q3, Q4
|
|
534
|
-
|
|
535
|
-
case 'qqq':
|
|
536
|
-
return localize.quarter(quarter, {
|
|
537
|
-
width: 'abbreviated',
|
|
538
|
-
context: 'standalone'
|
|
539
|
-
});
|
|
540
|
-
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
541
|
-
|
|
542
|
-
case 'qqqqq':
|
|
543
|
-
return localize.quarter(quarter, {
|
|
544
|
-
width: 'narrow',
|
|
545
|
-
context: 'standalone'
|
|
546
|
-
});
|
|
547
|
-
// 1st quarter, 2nd quarter, ...
|
|
548
|
-
|
|
549
|
-
case 'qqqq':
|
|
550
|
-
default:
|
|
551
|
-
return localize.quarter(quarter, {
|
|
552
|
-
width: 'wide',
|
|
553
|
-
context: 'standalone'
|
|
554
|
-
});
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
// Month
|
|
558
|
-
M: function (date, token, localize) {
|
|
559
|
-
var month = date.getUTCMonth();
|
|
560
|
-
|
|
561
|
-
switch (token) {
|
|
562
|
-
case 'M':
|
|
563
|
-
case 'MM':
|
|
564
|
-
return formatters$3.M(date, token);
|
|
565
|
-
// 1st, 2nd, ..., 12th
|
|
566
|
-
|
|
567
|
-
case 'Mo':
|
|
568
|
-
return localize.ordinalNumber(month + 1, {
|
|
569
|
-
unit: 'month'
|
|
570
|
-
});
|
|
571
|
-
// Jan, Feb, ..., Dec
|
|
572
|
-
|
|
573
|
-
case 'MMM':
|
|
574
|
-
return localize.month(month, {
|
|
575
|
-
width: 'abbreviated',
|
|
576
|
-
context: 'formatting'
|
|
577
|
-
});
|
|
578
|
-
// J, F, ..., D
|
|
579
|
-
|
|
580
|
-
case 'MMMMM':
|
|
581
|
-
return localize.month(month, {
|
|
582
|
-
width: 'narrow',
|
|
583
|
-
context: 'formatting'
|
|
584
|
-
});
|
|
585
|
-
// January, February, ..., December
|
|
586
|
-
|
|
587
|
-
case 'MMMM':
|
|
588
|
-
default:
|
|
589
|
-
return localize.month(month, {
|
|
590
|
-
width: 'wide',
|
|
591
|
-
context: 'formatting'
|
|
592
|
-
});
|
|
593
|
-
}
|
|
594
|
-
},
|
|
595
|
-
// Stand-alone month
|
|
596
|
-
L: function (date, token, localize) {
|
|
597
|
-
var month = date.getUTCMonth();
|
|
598
|
-
|
|
599
|
-
switch (token) {
|
|
600
|
-
// 1, 2, ..., 12
|
|
601
|
-
case 'L':
|
|
602
|
-
return String(month + 1);
|
|
603
|
-
// 01, 02, ..., 12
|
|
604
|
-
|
|
605
|
-
case 'LL':
|
|
606
|
-
return addLeadingZeros(month + 1, 2);
|
|
607
|
-
// 1st, 2nd, ..., 12th
|
|
608
|
-
|
|
609
|
-
case 'Lo':
|
|
610
|
-
return localize.ordinalNumber(month + 1, {
|
|
611
|
-
unit: 'month'
|
|
612
|
-
});
|
|
613
|
-
// Jan, Feb, ..., Dec
|
|
614
|
-
|
|
615
|
-
case 'LLL':
|
|
616
|
-
return localize.month(month, {
|
|
617
|
-
width: 'abbreviated',
|
|
618
|
-
context: 'standalone'
|
|
619
|
-
});
|
|
620
|
-
// J, F, ..., D
|
|
621
|
-
|
|
622
|
-
case 'LLLLL':
|
|
623
|
-
return localize.month(month, {
|
|
624
|
-
width: 'narrow',
|
|
625
|
-
context: 'standalone'
|
|
626
|
-
});
|
|
627
|
-
// January, February, ..., December
|
|
628
|
-
|
|
629
|
-
case 'LLLL':
|
|
630
|
-
default:
|
|
631
|
-
return localize.month(month, {
|
|
632
|
-
width: 'wide',
|
|
633
|
-
context: 'standalone'
|
|
634
|
-
});
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
// Local week of year
|
|
638
|
-
w: function (date, token, localize, options) {
|
|
639
|
-
var week = index$1.getUTCWeek(date, options);
|
|
640
|
-
|
|
641
|
-
if (token === 'wo') {
|
|
642
|
-
return localize.ordinalNumber(week, {
|
|
643
|
-
unit: 'week'
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
return addLeadingZeros(week, token.length);
|
|
648
|
-
},
|
|
649
|
-
// ISO week of year
|
|
650
|
-
I: function (date, token, localize) {
|
|
651
|
-
var isoWeek = index$1.getUTCISOWeek(date);
|
|
652
|
-
|
|
653
|
-
if (token === 'Io') {
|
|
654
|
-
return localize.ordinalNumber(isoWeek, {
|
|
655
|
-
unit: 'week'
|
|
656
|
-
});
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
return addLeadingZeros(isoWeek, token.length);
|
|
660
|
-
},
|
|
661
|
-
// Day of the month
|
|
662
|
-
d: function (date, token, localize) {
|
|
663
|
-
if (token === 'do') {
|
|
664
|
-
return localize.ordinalNumber(date.getUTCDate(), {
|
|
665
|
-
unit: 'date'
|
|
666
|
-
});
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
return formatters$3.d(date, token);
|
|
670
|
-
},
|
|
671
|
-
// Day of year
|
|
672
|
-
D: function (date, token, localize) {
|
|
673
|
-
var dayOfYear = getUTCDayOfYear(date);
|
|
674
|
-
|
|
675
|
-
if (token === 'Do') {
|
|
676
|
-
return localize.ordinalNumber(dayOfYear, {
|
|
677
|
-
unit: 'dayOfYear'
|
|
678
|
-
});
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
return addLeadingZeros(dayOfYear, token.length);
|
|
682
|
-
},
|
|
683
|
-
// Day of week
|
|
684
|
-
E: function (date, token, localize) {
|
|
685
|
-
var dayOfWeek = date.getUTCDay();
|
|
686
|
-
|
|
687
|
-
switch (token) {
|
|
688
|
-
// Tue
|
|
689
|
-
case 'E':
|
|
690
|
-
case 'EE':
|
|
691
|
-
case 'EEE':
|
|
692
|
-
return localize.day(dayOfWeek, {
|
|
693
|
-
width: 'abbreviated',
|
|
694
|
-
context: 'formatting'
|
|
695
|
-
});
|
|
696
|
-
// T
|
|
697
|
-
|
|
698
|
-
case 'EEEEE':
|
|
699
|
-
return localize.day(dayOfWeek, {
|
|
700
|
-
width: 'narrow',
|
|
701
|
-
context: 'formatting'
|
|
702
|
-
});
|
|
703
|
-
// Tu
|
|
704
|
-
|
|
705
|
-
case 'EEEEEE':
|
|
706
|
-
return localize.day(dayOfWeek, {
|
|
707
|
-
width: 'short',
|
|
708
|
-
context: 'formatting'
|
|
709
|
-
});
|
|
710
|
-
// Tuesday
|
|
711
|
-
|
|
712
|
-
case 'EEEE':
|
|
713
|
-
default:
|
|
714
|
-
return localize.day(dayOfWeek, {
|
|
715
|
-
width: 'wide',
|
|
716
|
-
context: 'formatting'
|
|
717
|
-
});
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
// Local day of week
|
|
721
|
-
e: function (date, token, localize, options) {
|
|
722
|
-
var dayOfWeek = date.getUTCDay();
|
|
723
|
-
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
724
|
-
|
|
725
|
-
switch (token) {
|
|
726
|
-
// Numerical value (Nth day of week with current locale or weekStartsOn)
|
|
727
|
-
case 'e':
|
|
728
|
-
return String(localDayOfWeek);
|
|
729
|
-
// Padded numerical value
|
|
730
|
-
|
|
731
|
-
case 'ee':
|
|
732
|
-
return addLeadingZeros(localDayOfWeek, 2);
|
|
733
|
-
// 1st, 2nd, ..., 7th
|
|
734
|
-
|
|
735
|
-
case 'eo':
|
|
736
|
-
return localize.ordinalNumber(localDayOfWeek, {
|
|
737
|
-
unit: 'day'
|
|
738
|
-
});
|
|
739
|
-
|
|
740
|
-
case 'eee':
|
|
741
|
-
return localize.day(dayOfWeek, {
|
|
742
|
-
width: 'abbreviated',
|
|
743
|
-
context: 'formatting'
|
|
744
|
-
});
|
|
745
|
-
// T
|
|
746
|
-
|
|
747
|
-
case 'eeeee':
|
|
748
|
-
return localize.day(dayOfWeek, {
|
|
749
|
-
width: 'narrow',
|
|
750
|
-
context: 'formatting'
|
|
751
|
-
});
|
|
752
|
-
// Tu
|
|
753
|
-
|
|
754
|
-
case 'eeeeee':
|
|
755
|
-
return localize.day(dayOfWeek, {
|
|
756
|
-
width: 'short',
|
|
757
|
-
context: 'formatting'
|
|
758
|
-
});
|
|
759
|
-
// Tuesday
|
|
760
|
-
|
|
761
|
-
case 'eeee':
|
|
762
|
-
default:
|
|
763
|
-
return localize.day(dayOfWeek, {
|
|
764
|
-
width: 'wide',
|
|
765
|
-
context: 'formatting'
|
|
766
|
-
});
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
// Stand-alone local day of week
|
|
770
|
-
c: function (date, token, localize, options) {
|
|
771
|
-
var dayOfWeek = date.getUTCDay();
|
|
772
|
-
var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
|
|
773
|
-
|
|
774
|
-
switch (token) {
|
|
775
|
-
// Numerical value (same as in `e`)
|
|
776
|
-
case 'c':
|
|
777
|
-
return String(localDayOfWeek);
|
|
778
|
-
// Padded numerical value
|
|
779
|
-
|
|
780
|
-
case 'cc':
|
|
781
|
-
return addLeadingZeros(localDayOfWeek, token.length);
|
|
782
|
-
// 1st, 2nd, ..., 7th
|
|
783
|
-
|
|
784
|
-
case 'co':
|
|
785
|
-
return localize.ordinalNumber(localDayOfWeek, {
|
|
786
|
-
unit: 'day'
|
|
787
|
-
});
|
|
788
|
-
|
|
789
|
-
case 'ccc':
|
|
790
|
-
return localize.day(dayOfWeek, {
|
|
791
|
-
width: 'abbreviated',
|
|
792
|
-
context: 'standalone'
|
|
793
|
-
});
|
|
794
|
-
// T
|
|
795
|
-
|
|
796
|
-
case 'ccccc':
|
|
797
|
-
return localize.day(dayOfWeek, {
|
|
798
|
-
width: 'narrow',
|
|
799
|
-
context: 'standalone'
|
|
800
|
-
});
|
|
801
|
-
// Tu
|
|
802
|
-
|
|
803
|
-
case 'cccccc':
|
|
804
|
-
return localize.day(dayOfWeek, {
|
|
805
|
-
width: 'short',
|
|
806
|
-
context: 'standalone'
|
|
807
|
-
});
|
|
808
|
-
// Tuesday
|
|
809
|
-
|
|
810
|
-
case 'cccc':
|
|
811
|
-
default:
|
|
812
|
-
return localize.day(dayOfWeek, {
|
|
813
|
-
width: 'wide',
|
|
814
|
-
context: 'standalone'
|
|
815
|
-
});
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
// ISO day of week
|
|
819
|
-
i: function (date, token, localize) {
|
|
820
|
-
var dayOfWeek = date.getUTCDay();
|
|
821
|
-
var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
|
|
822
|
-
|
|
823
|
-
switch (token) {
|
|
824
|
-
// 2
|
|
825
|
-
case 'i':
|
|
826
|
-
return String(isoDayOfWeek);
|
|
827
|
-
// 02
|
|
828
|
-
|
|
829
|
-
case 'ii':
|
|
830
|
-
return addLeadingZeros(isoDayOfWeek, token.length);
|
|
831
|
-
// 2nd
|
|
832
|
-
|
|
833
|
-
case 'io':
|
|
834
|
-
return localize.ordinalNumber(isoDayOfWeek, {
|
|
835
|
-
unit: 'day'
|
|
836
|
-
});
|
|
837
|
-
// Tue
|
|
838
|
-
|
|
839
|
-
case 'iii':
|
|
840
|
-
return localize.day(dayOfWeek, {
|
|
841
|
-
width: 'abbreviated',
|
|
842
|
-
context: 'formatting'
|
|
843
|
-
});
|
|
844
|
-
// T
|
|
845
|
-
|
|
846
|
-
case 'iiiii':
|
|
847
|
-
return localize.day(dayOfWeek, {
|
|
848
|
-
width: 'narrow',
|
|
849
|
-
context: 'formatting'
|
|
850
|
-
});
|
|
851
|
-
// Tu
|
|
852
|
-
|
|
853
|
-
case 'iiiiii':
|
|
854
|
-
return localize.day(dayOfWeek, {
|
|
855
|
-
width: 'short',
|
|
856
|
-
context: 'formatting'
|
|
857
|
-
});
|
|
858
|
-
// Tuesday
|
|
859
|
-
|
|
860
|
-
case 'iiii':
|
|
861
|
-
default:
|
|
862
|
-
return localize.day(dayOfWeek, {
|
|
863
|
-
width: 'wide',
|
|
864
|
-
context: 'formatting'
|
|
865
|
-
});
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
// AM or PM
|
|
869
|
-
a: function (date, token, localize) {
|
|
870
|
-
var hours = date.getUTCHours();
|
|
871
|
-
var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
|
|
872
|
-
|
|
873
|
-
switch (token) {
|
|
874
|
-
case 'a':
|
|
875
|
-
case 'aa':
|
|
876
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
877
|
-
width: 'abbreviated',
|
|
878
|
-
context: 'formatting'
|
|
879
|
-
});
|
|
880
|
-
|
|
881
|
-
case 'aaa':
|
|
882
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
883
|
-
width: 'abbreviated',
|
|
884
|
-
context: 'formatting'
|
|
885
|
-
}).toLowerCase();
|
|
886
|
-
|
|
887
|
-
case 'aaaaa':
|
|
888
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
889
|
-
width: 'narrow',
|
|
890
|
-
context: 'formatting'
|
|
891
|
-
});
|
|
892
|
-
|
|
893
|
-
case 'aaaa':
|
|
894
|
-
default:
|
|
895
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
896
|
-
width: 'wide',
|
|
897
|
-
context: 'formatting'
|
|
898
|
-
});
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
// AM, PM, midnight, noon
|
|
902
|
-
b: function (date, token, localize) {
|
|
903
|
-
var hours = date.getUTCHours();
|
|
904
|
-
var dayPeriodEnumValue;
|
|
905
|
-
|
|
906
|
-
if (hours === 12) {
|
|
907
|
-
dayPeriodEnumValue = dayPeriodEnum.noon;
|
|
908
|
-
} else if (hours === 0) {
|
|
909
|
-
dayPeriodEnumValue = dayPeriodEnum.midnight;
|
|
910
|
-
} else {
|
|
911
|
-
dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
switch (token) {
|
|
915
|
-
case 'b':
|
|
916
|
-
case 'bb':
|
|
917
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
918
|
-
width: 'abbreviated',
|
|
919
|
-
context: 'formatting'
|
|
920
|
-
});
|
|
921
|
-
|
|
922
|
-
case 'bbb':
|
|
923
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
924
|
-
width: 'abbreviated',
|
|
925
|
-
context: 'formatting'
|
|
926
|
-
}).toLowerCase();
|
|
927
|
-
|
|
928
|
-
case 'bbbbb':
|
|
929
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
930
|
-
width: 'narrow',
|
|
931
|
-
context: 'formatting'
|
|
932
|
-
});
|
|
933
|
-
|
|
934
|
-
case 'bbbb':
|
|
935
|
-
default:
|
|
936
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
937
|
-
width: 'wide',
|
|
938
|
-
context: 'formatting'
|
|
939
|
-
});
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
// in the morning, in the afternoon, in the evening, at night
|
|
943
|
-
B: function (date, token, localize) {
|
|
944
|
-
var hours = date.getUTCHours();
|
|
945
|
-
var dayPeriodEnumValue;
|
|
946
|
-
|
|
947
|
-
if (hours >= 17) {
|
|
948
|
-
dayPeriodEnumValue = dayPeriodEnum.evening;
|
|
949
|
-
} else if (hours >= 12) {
|
|
950
|
-
dayPeriodEnumValue = dayPeriodEnum.afternoon;
|
|
951
|
-
} else if (hours >= 4) {
|
|
952
|
-
dayPeriodEnumValue = dayPeriodEnum.morning;
|
|
953
|
-
} else {
|
|
954
|
-
dayPeriodEnumValue = dayPeriodEnum.night;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
switch (token) {
|
|
958
|
-
case 'B':
|
|
959
|
-
case 'BB':
|
|
960
|
-
case 'BBB':
|
|
961
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
962
|
-
width: 'abbreviated',
|
|
963
|
-
context: 'formatting'
|
|
964
|
-
});
|
|
965
|
-
|
|
966
|
-
case 'BBBBB':
|
|
967
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
968
|
-
width: 'narrow',
|
|
969
|
-
context: 'formatting'
|
|
970
|
-
});
|
|
971
|
-
|
|
972
|
-
case 'BBBB':
|
|
973
|
-
default:
|
|
974
|
-
return localize.dayPeriod(dayPeriodEnumValue, {
|
|
975
|
-
width: 'wide',
|
|
976
|
-
context: 'formatting'
|
|
977
|
-
});
|
|
978
|
-
}
|
|
979
|
-
},
|
|
980
|
-
// Hour [1-12]
|
|
981
|
-
h: function (date, token, localize) {
|
|
982
|
-
if (token === 'ho') {
|
|
983
|
-
var hours = date.getUTCHours() % 12;
|
|
984
|
-
if (hours === 0) hours = 12;
|
|
985
|
-
return localize.ordinalNumber(hours, {
|
|
986
|
-
unit: 'hour'
|
|
987
|
-
});
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
return formatters$3.h(date, token);
|
|
991
|
-
},
|
|
992
|
-
// Hour [0-23]
|
|
993
|
-
H: function (date, token, localize) {
|
|
994
|
-
if (token === 'Ho') {
|
|
995
|
-
return localize.ordinalNumber(date.getUTCHours(), {
|
|
996
|
-
unit: 'hour'
|
|
997
|
-
});
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
return formatters$3.H(date, token);
|
|
1001
|
-
},
|
|
1002
|
-
// Hour [0-11]
|
|
1003
|
-
K: function (date, token, localize) {
|
|
1004
|
-
var hours = date.getUTCHours() % 12;
|
|
1005
|
-
|
|
1006
|
-
if (token === 'Ko') {
|
|
1007
|
-
return localize.ordinalNumber(hours, {
|
|
1008
|
-
unit: 'hour'
|
|
1009
|
-
});
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
return addLeadingZeros(hours, token.length);
|
|
1013
|
-
},
|
|
1014
|
-
// Hour [1-24]
|
|
1015
|
-
k: function (date, token, localize) {
|
|
1016
|
-
var hours = date.getUTCHours();
|
|
1017
|
-
if (hours === 0) hours = 24;
|
|
1018
|
-
|
|
1019
|
-
if (token === 'ko') {
|
|
1020
|
-
return localize.ordinalNumber(hours, {
|
|
1021
|
-
unit: 'hour'
|
|
1022
|
-
});
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
return addLeadingZeros(hours, token.length);
|
|
1026
|
-
},
|
|
1027
|
-
// Minute
|
|
1028
|
-
m: function (date, token, localize) {
|
|
1029
|
-
if (token === 'mo') {
|
|
1030
|
-
return localize.ordinalNumber(date.getUTCMinutes(), {
|
|
1031
|
-
unit: 'minute'
|
|
1032
|
-
});
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
return formatters$3.m(date, token);
|
|
1036
|
-
},
|
|
1037
|
-
// Second
|
|
1038
|
-
s: function (date, token, localize) {
|
|
1039
|
-
if (token === 'so') {
|
|
1040
|
-
return localize.ordinalNumber(date.getUTCSeconds(), {
|
|
1041
|
-
unit: 'second'
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
return formatters$3.s(date, token);
|
|
1046
|
-
},
|
|
1047
|
-
// Fraction of second
|
|
1048
|
-
S: function (date, token) {
|
|
1049
|
-
return formatters$3.S(date, token);
|
|
1050
|
-
},
|
|
1051
|
-
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1052
|
-
X: function (date, token, _localize, options) {
|
|
1053
|
-
var originalDate = options._originalDate || date;
|
|
1054
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1055
|
-
|
|
1056
|
-
if (timezoneOffset === 0) {
|
|
1057
|
-
return 'Z';
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
switch (token) {
|
|
1061
|
-
// Hours and optional minutes
|
|
1062
|
-
case 'X':
|
|
1063
|
-
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
1064
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1065
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1066
|
-
// so this token always has the same output as `XX`
|
|
1067
|
-
|
|
1068
|
-
case 'XXXX':
|
|
1069
|
-
case 'XX':
|
|
1070
|
-
// Hours and minutes without `:` delimiter
|
|
1071
|
-
return formatTimezone(timezoneOffset);
|
|
1072
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1073
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1074
|
-
// so this token always has the same output as `XXX`
|
|
1075
|
-
|
|
1076
|
-
case 'XXXXX':
|
|
1077
|
-
case 'XXX': // Hours and minutes with `:` delimiter
|
|
1078
|
-
|
|
1079
|
-
default:
|
|
1080
|
-
return formatTimezone(timezoneOffset, ':');
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
1084
|
-
x: function (date, token, _localize, options) {
|
|
1085
|
-
var originalDate = options._originalDate || date;
|
|
1086
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1087
|
-
|
|
1088
|
-
switch (token) {
|
|
1089
|
-
// Hours and optional minutes
|
|
1090
|
-
case 'x':
|
|
1091
|
-
return formatTimezoneWithOptionalMinutes(timezoneOffset);
|
|
1092
|
-
// Hours, minutes and optional seconds without `:` delimiter
|
|
1093
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1094
|
-
// so this token always has the same output as `xx`
|
|
1095
|
-
|
|
1096
|
-
case 'xxxx':
|
|
1097
|
-
case 'xx':
|
|
1098
|
-
// Hours and minutes without `:` delimiter
|
|
1099
|
-
return formatTimezone(timezoneOffset);
|
|
1100
|
-
// Hours, minutes and optional seconds with `:` delimiter
|
|
1101
|
-
// Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
|
|
1102
|
-
// so this token always has the same output as `xxx`
|
|
1103
|
-
|
|
1104
|
-
case 'xxxxx':
|
|
1105
|
-
case 'xxx': // Hours and minutes with `:` delimiter
|
|
1106
|
-
|
|
1107
|
-
default:
|
|
1108
|
-
return formatTimezone(timezoneOffset, ':');
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
// Timezone (GMT)
|
|
1112
|
-
O: function (date, token, _localize, options) {
|
|
1113
|
-
var originalDate = options._originalDate || date;
|
|
1114
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1115
|
-
|
|
1116
|
-
switch (token) {
|
|
1117
|
-
// Short
|
|
1118
|
-
case 'O':
|
|
1119
|
-
case 'OO':
|
|
1120
|
-
case 'OOO':
|
|
1121
|
-
return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
|
|
1122
|
-
// Long
|
|
1123
|
-
|
|
1124
|
-
case 'OOOO':
|
|
1125
|
-
default:
|
|
1126
|
-
return 'GMT' + formatTimezone(timezoneOffset, ':');
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
// Timezone (specific non-location)
|
|
1130
|
-
z: function (date, token, _localize, options) {
|
|
1131
|
-
var originalDate = options._originalDate || date;
|
|
1132
|
-
var timezoneOffset = originalDate.getTimezoneOffset();
|
|
1133
|
-
|
|
1134
|
-
switch (token) {
|
|
1135
|
-
// Short
|
|
1136
|
-
case 'z':
|
|
1137
|
-
case 'zz':
|
|
1138
|
-
case 'zzz':
|
|
1139
|
-
return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
|
|
1140
|
-
// Long
|
|
1141
|
-
|
|
1142
|
-
case 'zzzz':
|
|
1143
|
-
default:
|
|
1144
|
-
return 'GMT' + formatTimezone(timezoneOffset, ':');
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
// Seconds timestamp
|
|
1148
|
-
t: function (date, token, _localize, options) {
|
|
1149
|
-
var originalDate = options._originalDate || date;
|
|
1150
|
-
var timestamp = Math.floor(originalDate.getTime() / 1000);
|
|
1151
|
-
return addLeadingZeros(timestamp, token.length);
|
|
1152
|
-
},
|
|
1153
|
-
// Milliseconds timestamp
|
|
1154
|
-
T: function (date, token, _localize, options) {
|
|
1155
|
-
var originalDate = options._originalDate || date;
|
|
1156
|
-
var timestamp = originalDate.getTime();
|
|
1157
|
-
return addLeadingZeros(timestamp, token.length);
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
|
-
|
|
1161
|
-
function formatTimezoneShort(offset, dirtyDelimiter) {
|
|
1162
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1163
|
-
var absOffset = Math.abs(offset);
|
|
1164
|
-
var hours = Math.floor(absOffset / 60);
|
|
1165
|
-
var minutes = absOffset % 60;
|
|
1166
|
-
|
|
1167
|
-
if (minutes === 0) {
|
|
1168
|
-
return sign + String(hours);
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
var delimiter = dirtyDelimiter || '';
|
|
1172
|
-
return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
|
|
1176
|
-
if (offset % 60 === 0) {
|
|
1177
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1178
|
-
return sign + addLeadingZeros(Math.abs(offset) / 60, 2);
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
return formatTimezone(offset, dirtyDelimiter);
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
function formatTimezone(offset, dirtyDelimiter) {
|
|
1185
|
-
var delimiter = dirtyDelimiter || '';
|
|
1186
|
-
var sign = offset > 0 ? '-' : '+';
|
|
1187
|
-
var absOffset = Math.abs(offset);
|
|
1188
|
-
var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);
|
|
1189
|
-
var minutes = addLeadingZeros(absOffset % 60, 2);
|
|
1190
|
-
return sign + hours + delimiter + minutes;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
const formatters$1 = formatters;
|
|
1194
|
-
|
|
1195
|
-
// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
|
|
1196
|
-
// (one of the certain letters followed by `o`)
|
|
1197
|
-
// - (\w)\1* matches any sequences of the same letter
|
|
1198
|
-
// - '' matches two quote characters in a row
|
|
1199
|
-
// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
|
|
1200
|
-
// except a single quote symbol, which ends the sequence.
|
|
1201
|
-
// Two quote characters do not end the sequence.
|
|
1202
|
-
// If there is no matching single quote
|
|
1203
|
-
// then the sequence will continue until the end of the string.
|
|
1204
|
-
// - . matches any single character unmatched by previous parts of the RegExps
|
|
1205
|
-
|
|
1206
|
-
var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
|
|
1207
|
-
// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
|
|
1208
|
-
|
|
1209
|
-
var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
1210
|
-
var escapedStringRegExp = /^'([^]*?)'?$/;
|
|
1211
|
-
var doubleQuoteRegExp = /''/g;
|
|
1212
|
-
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
1213
|
-
/**
|
|
1214
|
-
* @name format
|
|
1215
|
-
* @category Common Helpers
|
|
1216
|
-
* @summary Format the date.
|
|
1217
|
-
*
|
|
1218
|
-
* @description
|
|
1219
|
-
* Return the formatted date string in the given format. The result may vary by locale.
|
|
1220
|
-
*
|
|
1221
|
-
* > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
|
|
1222
|
-
* > See: https://git.io/fxCyr
|
|
1223
|
-
*
|
|
1224
|
-
* The characters wrapped between two single quotes characters (') are escaped.
|
|
1225
|
-
* Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
|
|
1226
|
-
* (see the last example)
|
|
1227
|
-
*
|
|
1228
|
-
* Format of the string is based on Unicode Technical Standard #35:
|
|
1229
|
-
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
1230
|
-
* with a few additions (see note 7 below the table).
|
|
1231
|
-
*
|
|
1232
|
-
* Accepted patterns:
|
|
1233
|
-
* | Unit | Pattern | Result examples | Notes |
|
|
1234
|
-
* |---------------------------------|---------|-----------------------------------|-------|
|
|
1235
|
-
* | Era | G..GGG | AD, BC | |
|
|
1236
|
-
* | | GGGG | Anno Domini, Before Christ | 2 |
|
|
1237
|
-
* | | GGGGG | A, B | |
|
|
1238
|
-
* | Calendar year | y | 44, 1, 1900, 2017 | 5 |
|
|
1239
|
-
* | | yo | 44th, 1st, 0th, 17th | 5,7 |
|
|
1240
|
-
* | | yy | 44, 01, 00, 17 | 5 |
|
|
1241
|
-
* | | yyy | 044, 001, 1900, 2017 | 5 |
|
|
1242
|
-
* | | yyyy | 0044, 0001, 1900, 2017 | 5 |
|
|
1243
|
-
* | | yyyyy | ... | 3,5 |
|
|
1244
|
-
* | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
|
|
1245
|
-
* | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
|
|
1246
|
-
* | | YY | 44, 01, 00, 17 | 5,8 |
|
|
1247
|
-
* | | YYY | 044, 001, 1900, 2017 | 5 |
|
|
1248
|
-
* | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
|
|
1249
|
-
* | | YYYYY | ... | 3,5 |
|
|
1250
|
-
* | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
|
|
1251
|
-
* | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
|
|
1252
|
-
* | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
|
|
1253
|
-
* | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
|
|
1254
|
-
* | | RRRRR | ... | 3,5,7 |
|
|
1255
|
-
* | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
|
|
1256
|
-
* | | uu | -43, 01, 1900, 2017 | 5 |
|
|
1257
|
-
* | | uuu | -043, 001, 1900, 2017 | 5 |
|
|
1258
|
-
* | | uuuu | -0043, 0001, 1900, 2017 | 5 |
|
|
1259
|
-
* | | uuuuu | ... | 3,5 |
|
|
1260
|
-
* | Quarter (formatting) | Q | 1, 2, 3, 4 | |
|
|
1261
|
-
* | | Qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
1262
|
-
* | | QQ | 01, 02, 03, 04 | |
|
|
1263
|
-
* | | QQQ | Q1, Q2, Q3, Q4 | |
|
|
1264
|
-
* | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
|
|
1265
|
-
* | | QQQQQ | 1, 2, 3, 4 | 4 |
|
|
1266
|
-
* | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
|
|
1267
|
-
* | | qo | 1st, 2nd, 3rd, 4th | 7 |
|
|
1268
|
-
* | | qq | 01, 02, 03, 04 | |
|
|
1269
|
-
* | | qqq | Q1, Q2, Q3, Q4 | |
|
|
1270
|
-
* | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
|
|
1271
|
-
* | | qqqqq | 1, 2, 3, 4 | 4 |
|
|
1272
|
-
* | Month (formatting) | M | 1, 2, ..., 12 | |
|
|
1273
|
-
* | | Mo | 1st, 2nd, ..., 12th | 7 |
|
|
1274
|
-
* | | MM | 01, 02, ..., 12 | |
|
|
1275
|
-
* | | MMM | Jan, Feb, ..., Dec | |
|
|
1276
|
-
* | | MMMM | January, February, ..., December | 2 |
|
|
1277
|
-
* | | MMMMM | J, F, ..., D | |
|
|
1278
|
-
* | Month (stand-alone) | L | 1, 2, ..., 12 | |
|
|
1279
|
-
* | | Lo | 1st, 2nd, ..., 12th | 7 |
|
|
1280
|
-
* | | LL | 01, 02, ..., 12 | |
|
|
1281
|
-
* | | LLL | Jan, Feb, ..., Dec | |
|
|
1282
|
-
* | | LLLL | January, February, ..., December | 2 |
|
|
1283
|
-
* | | LLLLL | J, F, ..., D | |
|
|
1284
|
-
* | Local week of year | w | 1, 2, ..., 53 | |
|
|
1285
|
-
* | | wo | 1st, 2nd, ..., 53th | 7 |
|
|
1286
|
-
* | | ww | 01, 02, ..., 53 | |
|
|
1287
|
-
* | ISO week of year | I | 1, 2, ..., 53 | 7 |
|
|
1288
|
-
* | | Io | 1st, 2nd, ..., 53th | 7 |
|
|
1289
|
-
* | | II | 01, 02, ..., 53 | 7 |
|
|
1290
|
-
* | Day of month | d | 1, 2, ..., 31 | |
|
|
1291
|
-
* | | do | 1st, 2nd, ..., 31st | 7 |
|
|
1292
|
-
* | | dd | 01, 02, ..., 31 | |
|
|
1293
|
-
* | Day of year | D | 1, 2, ..., 365, 366 | 9 |
|
|
1294
|
-
* | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
|
|
1295
|
-
* | | DD | 01, 02, ..., 365, 366 | 9 |
|
|
1296
|
-
* | | DDD | 001, 002, ..., 365, 366 | |
|
|
1297
|
-
* | | DDDD | ... | 3 |
|
|
1298
|
-
* | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
|
|
1299
|
-
* | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
|
|
1300
|
-
* | | EEEEE | M, T, W, T, F, S, S | |
|
|
1301
|
-
* | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1302
|
-
* | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
|
|
1303
|
-
* | | io | 1st, 2nd, ..., 7th | 7 |
|
|
1304
|
-
* | | ii | 01, 02, ..., 07 | 7 |
|
|
1305
|
-
* | | iii | Mon, Tue, Wed, ..., Sun | 7 |
|
|
1306
|
-
* | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
|
|
1307
|
-
* | | iiiii | M, T, W, T, F, S, S | 7 |
|
|
1308
|
-
* | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
|
|
1309
|
-
* | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
|
|
1310
|
-
* | | eo | 2nd, 3rd, ..., 1st | 7 |
|
|
1311
|
-
* | | ee | 02, 03, ..., 01 | |
|
|
1312
|
-
* | | eee | Mon, Tue, Wed, ..., Sun | |
|
|
1313
|
-
* | | eeee | Monday, Tuesday, ..., Sunday | 2 |
|
|
1314
|
-
* | | eeeee | M, T, W, T, F, S, S | |
|
|
1315
|
-
* | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1316
|
-
* | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
|
|
1317
|
-
* | | co | 2nd, 3rd, ..., 1st | 7 |
|
|
1318
|
-
* | | cc | 02, 03, ..., 01 | |
|
|
1319
|
-
* | | ccc | Mon, Tue, Wed, ..., Sun | |
|
|
1320
|
-
* | | cccc | Monday, Tuesday, ..., Sunday | 2 |
|
|
1321
|
-
* | | ccccc | M, T, W, T, F, S, S | |
|
|
1322
|
-
* | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1323
|
-
* | AM, PM | a..aa | AM, PM | |
|
|
1324
|
-
* | | aaa | am, pm | |
|
|
1325
|
-
* | | aaaa | a.m., p.m. | 2 |
|
|
1326
|
-
* | | aaaaa | a, p | |
|
|
1327
|
-
* | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
|
|
1328
|
-
* | | bbb | am, pm, noon, midnight | |
|
|
1329
|
-
* | | bbbb | a.m., p.m., noon, midnight | 2 |
|
|
1330
|
-
* | | bbbbb | a, p, n, mi | |
|
|
1331
|
-
* | Flexible day period | B..BBB | at night, in the morning, ... | |
|
|
1332
|
-
* | | BBBB | at night, in the morning, ... | 2 |
|
|
1333
|
-
* | | BBBBB | at night, in the morning, ... | |
|
|
1334
|
-
* | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
|
|
1335
|
-
* | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
|
|
1336
|
-
* | | hh | 01, 02, ..., 11, 12 | |
|
|
1337
|
-
* | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
|
|
1338
|
-
* | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
|
|
1339
|
-
* | | HH | 00, 01, 02, ..., 23 | |
|
|
1340
|
-
* | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
|
|
1341
|
-
* | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
|
|
1342
|
-
* | | KK | 01, 02, ..., 11, 00 | |
|
|
1343
|
-
* | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
|
|
1344
|
-
* | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
|
|
1345
|
-
* | | kk | 24, 01, 02, ..., 23 | |
|
|
1346
|
-
* | Minute | m | 0, 1, ..., 59 | |
|
|
1347
|
-
* | | mo | 0th, 1st, ..., 59th | 7 |
|
|
1348
|
-
* | | mm | 00, 01, ..., 59 | |
|
|
1349
|
-
* | Second | s | 0, 1, ..., 59 | |
|
|
1350
|
-
* | | so | 0th, 1st, ..., 59th | 7 |
|
|
1351
|
-
* | | ss | 00, 01, ..., 59 | |
|
|
1352
|
-
* | Fraction of second | S | 0, 1, ..., 9 | |
|
|
1353
|
-
* | | SS | 00, 01, ..., 99 | |
|
|
1354
|
-
* | | SSS | 000, 001, ..., 999 | |
|
|
1355
|
-
* | | SSSS | ... | 3 |
|
|
1356
|
-
* | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
|
|
1357
|
-
* | | XX | -0800, +0530, Z | |
|
|
1358
|
-
* | | XXX | -08:00, +05:30, Z | |
|
|
1359
|
-
* | | XXXX | -0800, +0530, Z, +123456 | 2 |
|
|
1360
|
-
* | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
|
|
1361
|
-
* | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
|
|
1362
|
-
* | | xx | -0800, +0530, +0000 | |
|
|
1363
|
-
* | | xxx | -08:00, +05:30, +00:00 | 2 |
|
|
1364
|
-
* | | xxxx | -0800, +0530, +0000, +123456 | |
|
|
1365
|
-
* | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
|
|
1366
|
-
* | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
|
|
1367
|
-
* | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
|
|
1368
|
-
* | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
|
|
1369
|
-
* | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
|
|
1370
|
-
* | Seconds timestamp | t | 512969520 | 7 |
|
|
1371
|
-
* | | tt | ... | 3,7 |
|
|
1372
|
-
* | Milliseconds timestamp | T | 512969520900 | 7 |
|
|
1373
|
-
* | | TT | ... | 3,7 |
|
|
1374
|
-
* | Long localized date | P | 04/29/1453 | 7 |
|
|
1375
|
-
* | | PP | Apr 29, 1453 | 7 |
|
|
1376
|
-
* | | PPP | April 29th, 1453 | 7 |
|
|
1377
|
-
* | | PPPP | Friday, April 29th, 1453 | 2,7 |
|
|
1378
|
-
* | Long localized time | p | 12:00 AM | 7 |
|
|
1379
|
-
* | | pp | 12:00:00 AM | 7 |
|
|
1380
|
-
* | | ppp | 12:00:00 AM GMT+2 | 7 |
|
|
1381
|
-
* | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
|
|
1382
|
-
* | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
|
|
1383
|
-
* | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
|
|
1384
|
-
* | | PPPppp | April 29th, 1453 at ... | 7 |
|
|
1385
|
-
* | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
|
|
1386
|
-
* Notes:
|
|
1387
|
-
* 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
|
|
1388
|
-
* are the same as "stand-alone" units, but are different in some languages.
|
|
1389
|
-
* "Formatting" units are declined according to the rules of the language
|
|
1390
|
-
* in the context of a date. "Stand-alone" units are always nominative singular:
|
|
1391
|
-
*
|
|
1392
|
-
* `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
|
|
1393
|
-
*
|
|
1394
|
-
* `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
|
|
1395
|
-
*
|
|
1396
|
-
* 2. Any sequence of the identical letters is a pattern, unless it is escaped by
|
|
1397
|
-
* the single quote characters (see below).
|
|
1398
|
-
* If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
|
|
1399
|
-
* the output will be the same as default pattern for this unit, usually
|
|
1400
|
-
* the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
|
|
1401
|
-
* are marked with "2" in the last column of the table.
|
|
1402
|
-
*
|
|
1403
|
-
* `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
|
|
1404
|
-
*
|
|
1405
|
-
* `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
|
|
1406
|
-
*
|
|
1407
|
-
* `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
|
|
1408
|
-
*
|
|
1409
|
-
* `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
|
|
1410
|
-
*
|
|
1411
|
-
* `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
|
|
1412
|
-
*
|
|
1413
|
-
* 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
|
|
1414
|
-
* The output will be padded with zeros to match the length of the pattern.
|
|
1415
|
-
*
|
|
1416
|
-
* `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
|
|
1417
|
-
*
|
|
1418
|
-
* 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
|
|
1419
|
-
* These tokens represent the shortest form of the quarter.
|
|
1420
|
-
*
|
|
1421
|
-
* 5. The main difference between `y` and `u` patterns are B.C. years:
|
|
1422
|
-
*
|
|
1423
|
-
* | Year | `y` | `u` |
|
|
1424
|
-
* |------|-----|-----|
|
|
1425
|
-
* | AC 1 | 1 | 1 |
|
|
1426
|
-
* | BC 1 | 1 | 0 |
|
|
1427
|
-
* | BC 2 | 2 | -1 |
|
|
1428
|
-
*
|
|
1429
|
-
* Also `yy` always returns the last two digits of a year,
|
|
1430
|
-
* while `uu` pads single digit years to 2 characters and returns other years unchanged:
|
|
1431
|
-
*
|
|
1432
|
-
* | Year | `yy` | `uu` |
|
|
1433
|
-
* |------|------|------|
|
|
1434
|
-
* | 1 | 01 | 01 |
|
|
1435
|
-
* | 14 | 14 | 14 |
|
|
1436
|
-
* | 376 | 76 | 376 |
|
|
1437
|
-
* | 1453 | 53 | 1453 |
|
|
1438
|
-
*
|
|
1439
|
-
* The same difference is true for local and ISO week-numbering years (`Y` and `R`),
|
|
1440
|
-
* except local week-numbering years are dependent on `options.weekStartsOn`
|
|
1441
|
-
* and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}
|
|
1442
|
-
* and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).
|
|
1443
|
-
*
|
|
1444
|
-
* 6. Specific non-location timezones are currently unavailable in `date-fns`,
|
|
1445
|
-
* so right now these tokens fall back to GMT timezones.
|
|
1446
|
-
*
|
|
1447
|
-
* 7. These patterns are not in the Unicode Technical Standard #35:
|
|
1448
|
-
* - `i`: ISO day of week
|
|
1449
|
-
* - `I`: ISO week of year
|
|
1450
|
-
* - `R`: ISO week-numbering year
|
|
1451
|
-
* - `t`: seconds timestamp
|
|
1452
|
-
* - `T`: milliseconds timestamp
|
|
1453
|
-
* - `o`: ordinal number modifier
|
|
1454
|
-
* - `P`: long localized date
|
|
1455
|
-
* - `p`: long localized time
|
|
1456
|
-
*
|
|
1457
|
-
* 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
1458
|
-
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
1459
|
-
*
|
|
1460
|
-
* 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
|
|
1461
|
-
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
1462
|
-
*
|
|
1463
|
-
* ### v2.0.0 breaking changes:
|
|
1464
|
-
*
|
|
1465
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
1466
|
-
*
|
|
1467
|
-
* - The second argument is now required for the sake of explicitness.
|
|
1468
|
-
*
|
|
1469
|
-
* ```javascript
|
|
1470
|
-
* // Before v2.0.0
|
|
1471
|
-
* format(new Date(2016, 0, 1))
|
|
1472
|
-
*
|
|
1473
|
-
* // v2.0.0 onward
|
|
1474
|
-
* format(new Date(2016, 0, 1), "yyyy-MM-dd'T'HH:mm:ss.SSSxxx")
|
|
1475
|
-
* ```
|
|
1476
|
-
*
|
|
1477
|
-
* - New format string API for `format` function
|
|
1478
|
-
* which is based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).
|
|
1479
|
-
* See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.
|
|
1480
|
-
*
|
|
1481
|
-
* - Characters are now escaped using single quote symbols (`'`) instead of square brackets.
|
|
1482
|
-
*
|
|
1483
|
-
* @param {Date|Number} date - the original date
|
|
1484
|
-
* @param {String} format - the string of tokens
|
|
1485
|
-
* @param {Object} [options] - an object with options.
|
|
1486
|
-
* @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
|
|
1487
|
-
* @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
|
|
1488
|
-
* @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is
|
|
1489
|
-
* @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
|
|
1490
|
-
* see: https://git.io/fxCyr
|
|
1491
|
-
* @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
|
|
1492
|
-
* see: https://git.io/fxCyr
|
|
1493
|
-
* @returns {String} the formatted date string
|
|
1494
|
-
* @throws {TypeError} 2 arguments required
|
|
1495
|
-
* @throws {RangeError} `date` must not be Invalid Date
|
|
1496
|
-
* @throws {RangeError} `options.locale` must contain `localize` property
|
|
1497
|
-
* @throws {RangeError} `options.locale` must contain `formatLong` property
|
|
1498
|
-
* @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
|
|
1499
|
-
* @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
|
|
1500
|
-
* @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1501
|
-
* @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1502
|
-
* @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1503
|
-
* @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1504
|
-
* @throws {RangeError} format string contains an unescaped latin alphabet character
|
|
1505
|
-
*
|
|
1506
|
-
* @example
|
|
1507
|
-
* // Represent 11 February 2014 in middle-endian format:
|
|
1508
|
-
* var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
|
|
1509
|
-
* //=> '02/11/2014'
|
|
1510
|
-
*
|
|
1511
|
-
* @example
|
|
1512
|
-
* // Represent 2 July 2014 in Esperanto:
|
|
1513
|
-
* import { eoLocale } from 'date-fns/locale/eo'
|
|
1514
|
-
* var result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
|
|
1515
|
-
* locale: eoLocale
|
|
1516
|
-
* })
|
|
1517
|
-
* //=> '2-a de julio 2014'
|
|
1518
|
-
*
|
|
1519
|
-
* @example
|
|
1520
|
-
* // Escape string by single quote characters:
|
|
1521
|
-
* var result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
|
|
1522
|
-
* //=> "3 o'clock"
|
|
1523
|
-
*/
|
|
1524
|
-
|
|
1525
|
-
function format(dirtyDate, dirtyFormatStr, dirtyOptions) {
|
|
1526
|
-
index.requiredArgs(2, arguments);
|
|
1527
|
-
var formatStr = String(dirtyFormatStr);
|
|
1528
|
-
var options = dirtyOptions || {};
|
|
1529
|
-
var locale = options.locale || index$1.defaultLocale;
|
|
1530
|
-
var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
|
|
1531
|
-
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : index$1.toInteger(localeFirstWeekContainsDate);
|
|
1532
|
-
var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : index$1.toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
1533
|
-
|
|
1534
|
-
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
1535
|
-
throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
|
|
1539
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
1540
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1541
|
-
|
|
1542
|
-
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1543
|
-
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
if (!locale.localize) {
|
|
1547
|
-
throw new RangeError('locale must contain localize property');
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
if (!locale.formatLong) {
|
|
1551
|
-
throw new RangeError('locale must contain formatLong property');
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
var originalDate = index.toDate(dirtyDate);
|
|
1555
|
-
|
|
1556
|
-
if (!index.isValid(originalDate)) {
|
|
1557
|
-
throw new RangeError('Invalid time value');
|
|
1558
|
-
} // Convert the date in system timezone to the same date in UTC+00:00 timezone.
|
|
1559
|
-
// This ensures that when UTC functions will be implemented, locales will be compatible with them.
|
|
1560
|
-
// See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
var timezoneOffset = index$1.getTimezoneOffsetInMilliseconds(originalDate);
|
|
1564
|
-
var utcDate = index$1.subMilliseconds(originalDate, timezoneOffset);
|
|
1565
|
-
var formatterOptions = {
|
|
1566
|
-
firstWeekContainsDate: firstWeekContainsDate,
|
|
1567
|
-
weekStartsOn: weekStartsOn,
|
|
1568
|
-
locale: locale,
|
|
1569
|
-
_originalDate: originalDate
|
|
1570
|
-
};
|
|
1571
|
-
var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {
|
|
1572
|
-
var firstCharacter = substring[0];
|
|
1573
|
-
|
|
1574
|
-
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
1575
|
-
var longFormatter = index$1.longFormatters[firstCharacter];
|
|
1576
|
-
return longFormatter(substring, locale.formatLong, formatterOptions);
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
return substring;
|
|
1580
|
-
}).join('').match(formattingTokensRegExp).map(function (substring) {
|
|
1581
|
-
// Replace two single quote characters with one single quote character
|
|
1582
|
-
if (substring === "''") {
|
|
1583
|
-
return "'";
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
var firstCharacter = substring[0];
|
|
1587
|
-
|
|
1588
|
-
if (firstCharacter === "'") {
|
|
1589
|
-
return cleanEscapedString(substring);
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
var formatter = formatters$1[firstCharacter];
|
|
1593
|
-
|
|
1594
|
-
if (formatter) {
|
|
1595
|
-
if (!options.useAdditionalWeekYearTokens && index$1.isProtectedWeekYearToken(substring)) {
|
|
1596
|
-
index$1.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
if (!options.useAdditionalDayOfYearTokens && index$1.isProtectedDayOfYearToken(substring)) {
|
|
1600
|
-
index$1.throwProtectedError(substring, dirtyFormatStr, dirtyDate);
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
return formatter(utcDate, substring, locale.localize, formatterOptions);
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
|
|
1607
|
-
throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
return substring;
|
|
1611
|
-
}).join('');
|
|
1612
|
-
return result;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
function cleanEscapedString(input) {
|
|
1616
|
-
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
var MILLISECONDS_IN_WEEK = 604800000;
|
|
1620
|
-
/**
|
|
1621
|
-
* @name getISOWeek
|
|
1622
|
-
* @category ISO Week Helpers
|
|
1623
|
-
* @summary Get the ISO week of the given date.
|
|
1624
|
-
*
|
|
1625
|
-
* @description
|
|
1626
|
-
* Get the ISO week of the given date.
|
|
1627
|
-
*
|
|
1628
|
-
* ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date
|
|
1629
|
-
*
|
|
1630
|
-
* ### v2.0.0 breaking changes:
|
|
1631
|
-
*
|
|
1632
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
1633
|
-
*
|
|
1634
|
-
* @param {Date|Number} date - the given date
|
|
1635
|
-
* @returns {Number} the ISO week
|
|
1636
|
-
* @throws {TypeError} 1 argument required
|
|
1637
|
-
*
|
|
1638
|
-
* @example
|
|
1639
|
-
* // Which week of the ISO-week numbering year is 2 January 2005?
|
|
1640
|
-
* const result = getISOWeek(new Date(2005, 0, 2))
|
|
1641
|
-
* //=> 53
|
|
1642
|
-
*/
|
|
1643
|
-
|
|
1644
|
-
function getISOWeek(dirtyDate) {
|
|
1645
|
-
index.requiredArgs(1, arguments);
|
|
1646
|
-
var date = index.toDate(dirtyDate);
|
|
1647
|
-
var diff = startOfISOWeek(date).getTime() - startOfISOWeekYear(date).getTime(); // Round the number of days to the nearest integer
|
|
1648
|
-
// because the number of milliseconds in a week is not constant
|
|
1649
|
-
// (e.g. it's different in the week of the daylight saving time clock shift)
|
|
1650
|
-
|
|
1651
|
-
return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* @name subDays
|
|
1656
|
-
* @category Day Helpers
|
|
1657
|
-
* @summary Subtract the specified number of days from the given date.
|
|
1658
|
-
*
|
|
1659
|
-
* @description
|
|
1660
|
-
* Subtract the specified number of days from the given date.
|
|
1661
|
-
*
|
|
1662
|
-
* ### v2.0.0 breaking changes:
|
|
1663
|
-
*
|
|
1664
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
1665
|
-
*
|
|
1666
|
-
* @param {Date|Number} date - the date to be changed
|
|
1667
|
-
* @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
|
|
1668
|
-
* @returns {Date} the new date with the days subtracted
|
|
1669
|
-
* @throws {TypeError} 2 arguments required
|
|
1670
|
-
*
|
|
1671
|
-
* @example
|
|
1672
|
-
* // Subtract 10 days from 1 September 2014:
|
|
1673
|
-
* const result = subDays(new Date(2014, 8, 1), 10)
|
|
1674
|
-
* //=> Fri Aug 22 2014 00:00:00
|
|
1675
|
-
*/
|
|
1676
|
-
|
|
1677
|
-
function subDays(dirtyDate, dirtyAmount) {
|
|
1678
|
-
index.requiredArgs(2, arguments);
|
|
1679
|
-
var amount = index$1.toInteger(dirtyAmount);
|
|
1680
|
-
return addDays(dirtyDate, -amount);
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* @name setDay
|
|
1685
|
-
* @category Weekday Helpers
|
|
1686
|
-
* @summary Set the day of the week to the given date.
|
|
1687
|
-
*
|
|
1688
|
-
* @description
|
|
1689
|
-
* Set the day of the week to the given date.
|
|
1690
|
-
*
|
|
1691
|
-
* ### v2.0.0 breaking changes:
|
|
1692
|
-
*
|
|
1693
|
-
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
1694
|
-
*
|
|
1695
|
-
* @param {Date|Number} date - the date to be changed
|
|
1696
|
-
* @param {Number} day - the day of the week of the new date
|
|
1697
|
-
* @param {Object} [options] - an object with options.
|
|
1698
|
-
* @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
|
|
1699
|
-
* @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
|
|
1700
|
-
* @returns {Date} the new date with the day of the week set
|
|
1701
|
-
* @throws {TypeError} 2 arguments required
|
|
1702
|
-
* @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
|
|
1703
|
-
*
|
|
1704
|
-
* @example
|
|
1705
|
-
* // Set week day to Sunday, with the default weekStartsOn of Sunday:
|
|
1706
|
-
* var result = setDay(new Date(2014, 8, 1), 0)
|
|
1707
|
-
* //=> Sun Aug 31 2014 00:00:00
|
|
1708
|
-
*
|
|
1709
|
-
* @example
|
|
1710
|
-
* // Set week day to Sunday, with a weekStartsOn of Monday:
|
|
1711
|
-
* var result = setDay(new Date(2014, 8, 1), 0, { weekStartsOn: 1 })
|
|
1712
|
-
* //=> Sun Sep 07 2014 00:00:00
|
|
1713
|
-
*/
|
|
1714
|
-
function setDay(dirtyDate, dirtyDay, dirtyOptions) {
|
|
1715
|
-
index.requiredArgs(2, arguments);
|
|
1716
|
-
var options = dirtyOptions || {};
|
|
1717
|
-
var locale = options.locale;
|
|
1718
|
-
var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
|
|
1719
|
-
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : index$1.toInteger(localeWeekStartsOn);
|
|
1720
|
-
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : index$1.toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1721
|
-
|
|
1722
|
-
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1723
|
-
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
1724
|
-
}
|
|
1725
|
-
|
|
1726
|
-
var date = index.toDate(dirtyDate);
|
|
1727
|
-
var day = index$1.toInteger(dirtyDay);
|
|
1728
|
-
var currentDay = date.getDay();
|
|
1729
|
-
var remainder = day % 7;
|
|
1730
|
-
var dayIndex = (remainder + 7) % 7;
|
|
1731
|
-
var delta = 7 - weekStartsOn;
|
|
1732
|
-
var diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;
|
|
1733
|
-
return addDays(date, diff);
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
var formatDistanceLocale = {
|
|
1737
|
-
lessThanXSeconds: {
|
|
1738
|
-
singular: 'mindre än en sekund',
|
|
1739
|
-
plural: 'mindre än {{count}} sekunder'
|
|
1740
|
-
},
|
|
1741
|
-
xSeconds: {
|
|
1742
|
-
singular: 'en sekund',
|
|
1743
|
-
plural: '{{count}} sekunder'
|
|
1744
|
-
},
|
|
1745
|
-
halfAMinute: 'en halv minut',
|
|
1746
|
-
lessThanXMinutes: {
|
|
1747
|
-
singular: 'mindre än en minut',
|
|
1748
|
-
plural: 'mindre än {{count}} minuter'
|
|
1749
|
-
},
|
|
1750
|
-
xMinutes: {
|
|
1751
|
-
singular: 'en minut',
|
|
1752
|
-
plural: '{{count}} minuter'
|
|
1753
|
-
},
|
|
1754
|
-
aboutXHours: {
|
|
1755
|
-
singular: 'ungefär en timme',
|
|
1756
|
-
plural: 'ungefär {{count}} timmar'
|
|
1757
|
-
},
|
|
1758
|
-
xHours: {
|
|
1759
|
-
singular: 'en timme',
|
|
1760
|
-
plural: '{{count}} timmar'
|
|
1761
|
-
},
|
|
1762
|
-
xDays: {
|
|
1763
|
-
singular: 'en dag',
|
|
1764
|
-
plural: '{{count}} dagar'
|
|
1765
|
-
},
|
|
1766
|
-
aboutXWeeks: {
|
|
1767
|
-
singular: 'ungefär en vecka',
|
|
1768
|
-
plural: 'ungefär {{count}} vecka'
|
|
1769
|
-
},
|
|
1770
|
-
xWeeks: {
|
|
1771
|
-
singular: 'en vecka',
|
|
1772
|
-
plural: '{{count}} vecka'
|
|
1773
|
-
},
|
|
1774
|
-
aboutXMonths: {
|
|
1775
|
-
singular: 'ungefär en månad',
|
|
1776
|
-
plural: 'ungefär {{count}} månader'
|
|
1777
|
-
},
|
|
1778
|
-
xMonths: {
|
|
1779
|
-
singular: 'en månad',
|
|
1780
|
-
plural: '{{count}} månader'
|
|
1781
|
-
},
|
|
1782
|
-
aboutXYears: {
|
|
1783
|
-
singular: 'ungefär ett år',
|
|
1784
|
-
plural: 'ungefär {{count}} år'
|
|
1785
|
-
},
|
|
1786
|
-
xYears: {
|
|
1787
|
-
singular: 'ett år',
|
|
1788
|
-
plural: '{{count}} år'
|
|
1789
|
-
},
|
|
1790
|
-
overXYears: {
|
|
1791
|
-
singular: 'över ett år',
|
|
1792
|
-
plural: 'över {{count}} år'
|
|
1793
|
-
},
|
|
1794
|
-
almostXYears: {
|
|
1795
|
-
singular: 'nästan ett år',
|
|
1796
|
-
plural: 'nästan {{count}} år'
|
|
1797
|
-
}
|
|
1798
|
-
};
|
|
1799
|
-
var wordMapping = ['noll', 'en', 'två', 'tre', 'fyra', 'fem', 'sex', 'sju', 'åtta', 'nio', 'tio', 'elva', 'tolv'];
|
|
1800
|
-
function formatDistance(token, count, options) {
|
|
1801
|
-
options = options || {
|
|
1802
|
-
onlyNumeric: false
|
|
1803
|
-
};
|
|
1804
|
-
var translation = formatDistanceLocale[token];
|
|
1805
|
-
var result;
|
|
1806
|
-
|
|
1807
|
-
if (typeof translation === 'string') {
|
|
1808
|
-
result = translation;
|
|
1809
|
-
} else if (count === 0 || count > 1) {
|
|
1810
|
-
if (options.onlyNumeric) {
|
|
1811
|
-
result = translation.plural.replace('{{count}}', count);
|
|
1812
|
-
} else {
|
|
1813
|
-
result = translation.plural.replace('{{count}}', count < 13 ? wordMapping[count] : count);
|
|
1814
|
-
}
|
|
1815
|
-
} else {
|
|
1816
|
-
result = translation.singular;
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
if (options.addSuffix) {
|
|
1820
|
-
if (options.comparison > 0) {
|
|
1821
|
-
return 'om ' + result;
|
|
1822
|
-
} else {
|
|
1823
|
-
return result + ' sedan';
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
return result;
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
var dateFormats = {
|
|
1831
|
-
full: 'EEEE d MMMM y',
|
|
1832
|
-
long: 'd MMMM y',
|
|
1833
|
-
medium: 'd MMM y',
|
|
1834
|
-
short: 'y-MM-dd'
|
|
1835
|
-
};
|
|
1836
|
-
var timeFormats = {
|
|
1837
|
-
full: "'kl'. HH:mm:ss zzzz",
|
|
1838
|
-
long: 'HH:mm:ss z',
|
|
1839
|
-
medium: 'HH:mm:ss',
|
|
1840
|
-
short: 'HH:mm'
|
|
1841
|
-
};
|
|
1842
|
-
var dateTimeFormats = {
|
|
1843
|
-
full: "{{date}} 'kl.' {{time}}",
|
|
1844
|
-
long: "{{date}} 'kl.' {{time}}",
|
|
1845
|
-
medium: '{{date}} {{time}}',
|
|
1846
|
-
short: '{{date}} {{time}}'
|
|
1847
|
-
};
|
|
1848
|
-
var formatLong = {
|
|
1849
|
-
date: index$1.buildFormatLongFn({
|
|
1850
|
-
formats: dateFormats,
|
|
1851
|
-
defaultWidth: 'full'
|
|
1852
|
-
}),
|
|
1853
|
-
time: index$1.buildFormatLongFn({
|
|
1854
|
-
formats: timeFormats,
|
|
1855
|
-
defaultWidth: 'full'
|
|
1856
|
-
}),
|
|
1857
|
-
dateTime: index$1.buildFormatLongFn({
|
|
1858
|
-
formats: dateTimeFormats,
|
|
1859
|
-
defaultWidth: 'full'
|
|
1860
|
-
})
|
|
1861
|
-
};
|
|
1862
|
-
const formatLong$1 = formatLong;
|
|
1863
|
-
|
|
1864
|
-
var formatRelativeLocale = {
|
|
1865
|
-
lastWeek: "'i' EEEE's kl.' p",
|
|
1866
|
-
yesterday: "'igår kl.' p",
|
|
1867
|
-
today: "'idag kl.' p",
|
|
1868
|
-
tomorrow: "'imorgon kl.' p",
|
|
1869
|
-
nextWeek: "EEEE 'kl.' p",
|
|
1870
|
-
other: 'P'
|
|
1871
|
-
};
|
|
1872
|
-
function formatRelative(token, _date, _baseDate, _options) {
|
|
1873
|
-
return formatRelativeLocale[token];
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
|
-
var eraValues = {
|
|
1877
|
-
narrow: ['f.Kr.', 'e.Kr.'],
|
|
1878
|
-
abbreviated: ['f.Kr.', 'e.Kr.'],
|
|
1879
|
-
wide: ['före Kristus', 'efter Kristus']
|
|
1880
|
-
};
|
|
1881
|
-
var quarterValues = {
|
|
1882
|
-
narrow: ['1', '2', '3', '4'],
|
|
1883
|
-
abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
|
|
1884
|
-
wide: ['1:a kvartalet', '2:a kvartalet', '3:e kvartalet', '4:e kvartalet']
|
|
1885
|
-
};
|
|
1886
|
-
var monthValues = {
|
|
1887
|
-
narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
|
|
1888
|
-
abbreviated: ['jan.', 'feb.', 'mars', 'apr.', 'maj', 'juni', 'juli', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],
|
|
1889
|
-
wide: ['januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december']
|
|
1890
|
-
};
|
|
1891
|
-
var dayValues = {
|
|
1892
|
-
narrow: ['S', 'M', 'T', 'O', 'T', 'F', 'L'],
|
|
1893
|
-
short: ['sö', 'må', 'ti', 'on', 'to', 'fr', 'lö'],
|
|
1894
|
-
abbreviated: ['sön', 'mån', 'tis', 'ons', 'tors', 'fre', 'lör'],
|
|
1895
|
-
wide: ['söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag']
|
|
1896
|
-
}; // https://www.unicode.org/cldr/charts/32/summary/sv.html#1888
|
|
1897
|
-
|
|
1898
|
-
var dayPeriodValues = {
|
|
1899
|
-
narrow: {
|
|
1900
|
-
am: 'fm',
|
|
1901
|
-
pm: 'em',
|
|
1902
|
-
midnight: 'midnatt',
|
|
1903
|
-
noon: 'middag',
|
|
1904
|
-
morning: 'morg.',
|
|
1905
|
-
afternoon: 'efterm.',
|
|
1906
|
-
evening: 'kväll',
|
|
1907
|
-
night: 'natt'
|
|
1908
|
-
},
|
|
1909
|
-
abbreviated: {
|
|
1910
|
-
am: 'f.m.',
|
|
1911
|
-
pm: 'e.m.',
|
|
1912
|
-
midnight: 'midnatt',
|
|
1913
|
-
noon: 'middag',
|
|
1914
|
-
morning: 'morgon',
|
|
1915
|
-
afternoon: 'efterm.',
|
|
1916
|
-
evening: 'kväll',
|
|
1917
|
-
night: 'natt'
|
|
1918
|
-
},
|
|
1919
|
-
wide: {
|
|
1920
|
-
am: 'förmiddag',
|
|
1921
|
-
pm: 'eftermiddag',
|
|
1922
|
-
midnight: 'midnatt',
|
|
1923
|
-
noon: 'middag',
|
|
1924
|
-
morning: 'morgon',
|
|
1925
|
-
afternoon: 'eftermiddag',
|
|
1926
|
-
evening: 'kväll',
|
|
1927
|
-
night: 'natt'
|
|
1928
|
-
}
|
|
1929
|
-
};
|
|
1930
|
-
var formattingDayPeriodValues = {
|
|
1931
|
-
narrow: {
|
|
1932
|
-
am: 'fm',
|
|
1933
|
-
pm: 'em',
|
|
1934
|
-
midnight: 'midnatt',
|
|
1935
|
-
noon: 'middag',
|
|
1936
|
-
morning: 'på morg.',
|
|
1937
|
-
afternoon: 'på efterm.',
|
|
1938
|
-
evening: 'på kvällen',
|
|
1939
|
-
night: 'på natten'
|
|
1940
|
-
},
|
|
1941
|
-
abbreviated: {
|
|
1942
|
-
am: 'fm',
|
|
1943
|
-
pm: 'em',
|
|
1944
|
-
midnight: 'midnatt',
|
|
1945
|
-
noon: 'middag',
|
|
1946
|
-
morning: 'på morg.',
|
|
1947
|
-
afternoon: 'på efterm.',
|
|
1948
|
-
evening: 'på kvällen',
|
|
1949
|
-
night: 'på natten'
|
|
1950
|
-
},
|
|
1951
|
-
wide: {
|
|
1952
|
-
am: 'fm',
|
|
1953
|
-
pm: 'em',
|
|
1954
|
-
midnight: 'midnatt',
|
|
1955
|
-
noon: 'middag',
|
|
1956
|
-
morning: 'på morgonen',
|
|
1957
|
-
afternoon: 'på eftermiddagen',
|
|
1958
|
-
evening: 'på kvällen',
|
|
1959
|
-
night: 'på natten'
|
|
1960
|
-
}
|
|
1961
|
-
};
|
|
1962
|
-
|
|
1963
|
-
function ordinalNumber(dirtyNumber) {
|
|
1964
|
-
var number = Number(dirtyNumber);
|
|
1965
|
-
var rem100 = number % 100;
|
|
1966
|
-
|
|
1967
|
-
if (rem100 > 20 || rem100 < 10) {
|
|
1968
|
-
switch (rem100 % 10) {
|
|
1969
|
-
case 1:
|
|
1970
|
-
case 2:
|
|
1971
|
-
return number + ':a';
|
|
1972
|
-
}
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
return number + ':e';
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
var localize = {
|
|
1979
|
-
ordinalNumber: ordinalNumber,
|
|
1980
|
-
era: index$1.buildLocalizeFn({
|
|
1981
|
-
values: eraValues,
|
|
1982
|
-
defaultWidth: 'wide'
|
|
1983
|
-
}),
|
|
1984
|
-
quarter: index$1.buildLocalizeFn({
|
|
1985
|
-
values: quarterValues,
|
|
1986
|
-
defaultWidth: 'wide',
|
|
1987
|
-
argumentCallback: function (quarter) {
|
|
1988
|
-
return Number(quarter) - 1;
|
|
1989
|
-
}
|
|
1990
|
-
}),
|
|
1991
|
-
month: index$1.buildLocalizeFn({
|
|
1992
|
-
values: monthValues,
|
|
1993
|
-
defaultWidth: 'wide'
|
|
1994
|
-
}),
|
|
1995
|
-
day: index$1.buildLocalizeFn({
|
|
1996
|
-
values: dayValues,
|
|
1997
|
-
defaultWidth: 'wide'
|
|
1998
|
-
}),
|
|
1999
|
-
dayPeriod: index$1.buildLocalizeFn({
|
|
2000
|
-
values: dayPeriodValues,
|
|
2001
|
-
defaultWidth: 'wide',
|
|
2002
|
-
formattingValues: formattingDayPeriodValues,
|
|
2003
|
-
defaultFormattingWidth: 'wide'
|
|
2004
|
-
})
|
|
2005
|
-
};
|
|
2006
|
-
const localize$1 = localize;
|
|
2007
|
-
|
|
2008
|
-
var matchOrdinalNumberPattern = /^(\d+)(:a|:e)?/i;
|
|
2009
|
-
var parseOrdinalNumberPattern = /\d+/i;
|
|
2010
|
-
var matchEraPatterns = {
|
|
2011
|
-
narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
2012
|
-
abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
2013
|
-
wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i
|
|
2014
|
-
};
|
|
2015
|
-
var parseEraPatterns = {
|
|
2016
|
-
any: [/^f/i, /^[ev]/i]
|
|
2017
|
-
};
|
|
2018
|
-
var matchQuarterPatterns = {
|
|
2019
|
-
narrow: /^[1234]/i,
|
|
2020
|
-
abbreviated: /^q[1234]/i,
|
|
2021
|
-
wide: /^[1234](:a|:e)? kvartalet/i
|
|
2022
|
-
};
|
|
2023
|
-
var parseQuarterPatterns = {
|
|
2024
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
2025
|
-
};
|
|
2026
|
-
var matchMonthPatterns = {
|
|
2027
|
-
narrow: /^[jfmasond]/i,
|
|
2028
|
-
abbreviated: /^(jan|feb|mar|apr|maj|jun|jul|aug|sep|okt|nov|dec)\.?/i,
|
|
2029
|
-
wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i
|
|
2030
|
-
};
|
|
2031
|
-
var parseMonthPatterns = {
|
|
2032
|
-
narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
|
|
2033
|
-
any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^maj/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
|
|
2034
|
-
};
|
|
2035
|
-
var matchDayPatterns = {
|
|
2036
|
-
narrow: /^[smtofl]/i,
|
|
2037
|
-
short: /^(sö|må|ti|on|to|fr|lö)/i,
|
|
2038
|
-
abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i,
|
|
2039
|
-
wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i
|
|
2040
|
-
};
|
|
2041
|
-
var parseDayPatterns = {
|
|
2042
|
-
any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
|
|
2043
|
-
};
|
|
2044
|
-
var matchDayPeriodPatterns = {
|
|
2045
|
-
any: /^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i
|
|
2046
|
-
};
|
|
2047
|
-
var parseDayPeriodPatterns = {
|
|
2048
|
-
any: {
|
|
2049
|
-
am: /^f/i,
|
|
2050
|
-
pm: /^e/i,
|
|
2051
|
-
midnight: /^midn/i,
|
|
2052
|
-
noon: /^midd/i,
|
|
2053
|
-
morning: /morgon/i,
|
|
2054
|
-
afternoon: /eftermiddag/i,
|
|
2055
|
-
evening: /kväll/i,
|
|
2056
|
-
night: /natt/i
|
|
2057
|
-
}
|
|
2058
|
-
};
|
|
2059
|
-
var match = {
|
|
2060
|
-
ordinalNumber: index$1.buildMatchPatternFn({
|
|
2061
|
-
matchPattern: matchOrdinalNumberPattern,
|
|
2062
|
-
parsePattern: parseOrdinalNumberPattern,
|
|
2063
|
-
valueCallback: function (value) {
|
|
2064
|
-
return parseInt(value, 10);
|
|
2065
|
-
}
|
|
2066
|
-
}),
|
|
2067
|
-
era: index$1.buildMatchFn({
|
|
2068
|
-
matchPatterns: matchEraPatterns,
|
|
2069
|
-
defaultMatchWidth: 'wide',
|
|
2070
|
-
parsePatterns: parseEraPatterns,
|
|
2071
|
-
defaultParseWidth: 'any'
|
|
2072
|
-
}),
|
|
2073
|
-
quarter: index$1.buildMatchFn({
|
|
2074
|
-
matchPatterns: matchQuarterPatterns,
|
|
2075
|
-
defaultMatchWidth: 'wide',
|
|
2076
|
-
parsePatterns: parseQuarterPatterns,
|
|
2077
|
-
defaultParseWidth: 'any',
|
|
2078
|
-
valueCallback: function (index) {
|
|
2079
|
-
return index + 1;
|
|
2080
|
-
}
|
|
2081
|
-
}),
|
|
2082
|
-
month: index$1.buildMatchFn({
|
|
2083
|
-
matchPatterns: matchMonthPatterns,
|
|
2084
|
-
defaultMatchWidth: 'wide',
|
|
2085
|
-
parsePatterns: parseMonthPatterns,
|
|
2086
|
-
defaultParseWidth: 'any'
|
|
2087
|
-
}),
|
|
2088
|
-
day: index$1.buildMatchFn({
|
|
2089
|
-
matchPatterns: matchDayPatterns,
|
|
2090
|
-
defaultMatchWidth: 'wide',
|
|
2091
|
-
parsePatterns: parseDayPatterns,
|
|
2092
|
-
defaultParseWidth: 'any'
|
|
2093
|
-
}),
|
|
2094
|
-
dayPeriod: index$1.buildMatchFn({
|
|
2095
|
-
matchPatterns: matchDayPeriodPatterns,
|
|
2096
|
-
defaultMatchWidth: 'any',
|
|
2097
|
-
parsePatterns: parseDayPeriodPatterns,
|
|
2098
|
-
defaultParseWidth: 'any'
|
|
2099
|
-
})
|
|
2100
|
-
};
|
|
2101
|
-
const match$1 = match;
|
|
2102
|
-
|
|
2103
|
-
/**
|
|
2104
|
-
* @type {Locale}
|
|
2105
|
-
* @category Locales
|
|
2106
|
-
* @summary Swedish locale.
|
|
2107
|
-
* @language Swedish
|
|
2108
|
-
* @iso-639-2 swe
|
|
2109
|
-
* @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen}
|
|
2110
|
-
* @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg}
|
|
2111
|
-
* @author Henrik Andersson [@limelights]{@link https://github.com/limelights}
|
|
2112
|
-
*/
|
|
2113
|
-
|
|
2114
|
-
var locale = {
|
|
2115
|
-
code: 'sv',
|
|
2116
|
-
formatDistance: formatDistance,
|
|
2117
|
-
formatLong: formatLong$1,
|
|
2118
|
-
formatRelative: formatRelative,
|
|
2119
|
-
localize: localize$1,
|
|
2120
|
-
match: match$1,
|
|
2121
|
-
options: {
|
|
2122
|
-
weekStartsOn: 1
|
|
2123
|
-
/* Monday */
|
|
2124
|
-
,
|
|
2125
|
-
firstWeekContainsDate: 4
|
|
2126
|
-
}
|
|
2127
|
-
};
|
|
2128
|
-
const svlocale = locale;
|
|
2129
|
-
|
|
2130
|
-
const calendarWeekViewCss = ".sc-digi-calendar-week-view-h{--digi--calendar-week-view--button--week--padding:calc(var(--digi--gutter--small) + 1px) var(--digi--gutter--largest-2);--digi--calendar-week-view--button--week--icon--width:var(--digi--gutter--medium);--digi--calendar-week-view--button--week--display:flex;--digi--calendar-week-view--button--week--justify-content:center;--digi--calendar-week-view--button--week--previous-button--border-radius:var(--digi--global--border-radius--base) 0 0 var(--digi--global--border-radius--base);--digi--calendar-week-view--button--week--next-button--border-radius:0 var(--digi--global--border-radius--base) var(--digi--global--border-radius--base) 0;--digi--calendar-week-view--button--week--width:9.75rem;--digi--calendar-week-view--button--week--margin:0.125rem;--digi--calendar-week-view--button--week--font-size:var(--digi--button--font-size--small);--digi--calendar-week-view--button--week--keep-right--margin:10rem;--digi--calendar-week-view--button--week--keep-right--margin--small:8.1rem;--digi--calendar-week-view--button--week--background:var(--digi--color--background--interactive--default--secondary);--digi--calendar-week-view--button--week--border-color:var(--digi--color--border--interactive--default--primary);--digi--calendar-week-view--button--date--color:var(--digi--color--text--interactive--tertiary);--digi--calendar-week-view--button--date--color--active:var(--digi--color--text--interactive--secondary);--digi--calendar-week-view--button--date--color--no-value:var(--digi--color--text--interactive--tertiary);--digi--calendar-week-view--button--date--background:var(--digi--color--background--interactive--default--secondary);--digi--calendar-week-view--button--date--background--active:var(--digi--color--background--interactive--selected--primary);--digi--calendar-week-view--button--date--background--no-value:var(--digi--color--background--interactive--default--tertiary);--digi--calendar-week-view--button--date--border-color:var(--digi--color--border--interactive--default--primary);--digi--calendar-week-view--button--date--border-color--active:var(--digi--color--border--interactive--default--primary);--digi--calendar-week-view--button--date--border-color--no-value:var(--digi--color--border--interactive--default--on-input-nuance);--digi--calendar-week-view--button--date--border-radius:0;--digi--calendar-week-view--button--date--padding:16px 10px 25px 10px;--digi--calendar-week-view--button--date--font-size:var(--digi--button--font-size--small);--digi--calendar-week-view--button--date--box-shadow--active:inset 0 0 0 0.1875rem var(--digi--grayscale--0);--digi--calendar-week-view--button--date--width:3.75rem;--digi--calendar-week-view--button--date--width--small:3rem;--digi--calendar-week-view--today-circle--size:0.3125rem;--digi--calendar-week-view--today-circle--color:var(--digi--color--text--interactive--tertiary);--digi--calendar-week-view--today-circle--fill:var(--digi--color--text--interactive--tertiary);--digi--calendar-week-view--today-circle--fill--no-value:var(--digi--color--text--interactive--tertiary);--digi--calendar-week-view--today-circle--fill--active:var(--digi--color--text--interactive--secondary);--digi--calendar-week-view--dates--margin:0 0 var(--digi--gutter--smaller) 0;--digi--calendar-week-view--dates--gap:var(--digi--gutter--smaller)}.digi-calendar-week-view__timepicker.sc-digi-calendar-week-view{display:flex;flex-wrap:wrap;justify-content:center}.digi-calendar-week-view__week-button.sc-digi-calendar-week-view{--digi--ui--width--icon:var(--digi--calendar-week-view--button--week--icon--width);--digi--button--padding--medium:var(--digi--calendar-week-view--button--week--padding);--digi--button--display:var(--digi--calendar-week-view--button--week--display);--digi--button--width:var(--digi--calendar-week-view--button--week--width);--digi--button--justify-content:var(--digi--calendar-week-view--button--week--justify-content);--digi--button--color--background--secondary--default:var(--digi--calendar-week-view--button--week--background);--digi--button--color--background--secondary--hover:var(--digi--calendar-week-view--button--week--background);--digi--button--color--background--secondary--focus:var(--digi--calendar-week-view--button--week--background);--digi--button--color--background--secondary--active:var(--digi--calendar-week-view--button--week--background);--digi--button--color--border--secondary--hover:var(--digi--calendar-week-view--button--week--border-color);--digi--button--color--border--secondary--focus:var(--digi--calendar-week-view--button--week--border-color);--digi--button--color--border--secondary--active:var(--digi--calendar-week-view--button--week--border-color);--digi--button--font-size--medium:var(--digi--calendar-week-view--button--week--font-size);position:relative}.digi-calendar-week-view__week-button--previous.sc-digi-calendar-week-view{margin-right:var(--digi--calendar-week-view--button--week--margin);--digi--button--border-radius--secondary--default:var(--digi--calendar-week-view--button--week--previous-button--border-radius);--digi--button--border-radius--secondary--hover:var(--digi--calendar-week-view--button--week--previous-button--border-radius)}.digi-calendar-week-view__week-button--next.sc-digi-calendar-week-view{margin-left:var(--digi--calendar-week-view--button--week--margin);--digi--button--border-radius--secondary--default:var(--digi--calendar-week-view--button--week--next-button--border-radius);--digi--button--border-radius--secondary--hover:var(--digi--calendar-week-view--button--week--next-button--border-radius)}.digi-calendar-week-view__week-button--keep-left.sc-digi-calendar-week-view,.digi-calendar-week-view__week-button--keep-right.sc-digi-calendar-week-view{--digi--calendar-week-view--button--week--margin:var(--digi--calendar-week-view--button--week--keep-right--margin)}.digi-calendar-week-view__week-button--hidden.sc-digi-calendar-week-view{display:none}.digi-calendar-week-view__week-button.sc-digi-calendar-week-view-s>[slot^=icon],.digi-calendar-week-view__week-button .sc-digi-calendar-week-view-s>[slot^=icon]{--digi--icon--width:var(--digi--calendar-week-view--button--icon--width)}.digi-calendar-week-view__dates.sc-digi-calendar-week-view{flex:1 0 100%;margin:var(--digi--calendar-week-view--dates--margin);display:flex;justify-content:center}.digi-calendar-week-view__flex.sc-digi-calendar-week-view{display:flex;flex-direction:column;align-items:center}.digi-calendar-week-view__heading.sc-digi-calendar-week-view{font-size:var(--digi--typography--body--font-size--desktop)}.digi-calendar-week-view__month.sc-digi-calendar-week-view{text-transform:capitalize}.digi-calendar-week-view__date-list.sc-digi-calendar-week-view{list-style:none;display:grid;grid-template:repeat(1, 1fr)/repeat(5, var(--digi--calendar-week-view--button--date--width));grid-auto-flow:column;gap:var(--digi--calendar-week-view--dates--gap);margin:0;padding:0}@media screen and (max-width: 23.375rem){.digi-calendar-week-view__date-list.sc-digi-calendar-week-view{grid-template:repeat(1, 1fr)/repeat(5, var(--digi--calendar-week-view--button--date--width--small))}}.digi-calendar-week-view__date-list-item.sc-digi-calendar-week-view{position:relative;margin:0;padding:0}.digi-calendar-week-view__date-button.sc-digi-calendar-week-view{--digi--button--width:100%;--digi--button--border-radius--secondary--default:var(--digi--calendar-week-view--button--date--border-radius);--digi--button--border-radius--secondary--hover:var(--digi--calendar-week-view--button--date--border-radius);--digi--button--padding--medium:var(--digi--calendar-week-view--button--date--padding);--digi--button--font-size--medium:var(--digi--calendar-week-view--button--date--font-size);--digi--button--color--text--secondary--default:var(--digi--calendar-week-view--button--date--color);--digi--button--color--text--secondary--hover:var(--digi--calendar-week-view--button--date--color);--digi--button--color--text--secondary--focus:var(--digi--calendar-week-view--button--date--color);--digi--button--color--text--secondary--active:var(--digi--calendar-week-view--button--date--color);--digi--button--color--background--secondary--default:var(--digi--calendar-week-view--button--date--background);--digi--button--color--background--secondary--hover:var(--digi--calendar-week-view--button--date--background);--digi--button--color--background--secondary--focus:var(--digi--calendar-week-view--button--date--background);--digi--button--color--background--secondary--active:var(--digi--calendar-week-view--button--date--background);--digi--button--color--border--secondary--default:var(--digi--calendar-week-view--button--date--border-color);--digi--button--color--border--secondary--hover:var(--digi--calendar-week-view--button--date--border-color);--digi--button--color--border--secondary--focus:var(--digi--calendar-week-view--button--date--border-color);--digi--button--color--border--secondary--active:var(--digi--calendar-week-view--button--date--border-color)}.digi-calendar-week-view__date-button--no-value.sc-digi-calendar-week-view{--digi--button--color--text--secondary--default:var(--digi--calendar-week-view--button--date--color--no-value);--digi--button--color--text--secondary--hover:var(--digi--calendar-week-view--button--date--color--no-value);--digi--button--color--text--secondary--focus:var(--digi--calendar-week-view--button--date--color--no-value);--digi--button--color--text--secondary--active:var(--digi--calendar-week-view--button--date--color--no-value);--digi--button--color--background--secondary--default:var(--digi--calendar-week-view--button--date--background--no-value);--digi--button--color--background--secondary--hover:var(--digi--calendar-week-view--button--date--background--no-value);--digi--button--color--background--secondary--focus:var(--digi--calendar-week-view--button--date--background--no-value);--digi--button--color--background--secondary--active:var(--digi--calendar-week-view--button--date--background--no-value);--digi--button--color--border--secondary--default:var(--digi--calendar-week-view--button--date--border-color--no-value);--digi--button--color--border--secondary--hover:var(--digi--calendar-week-view--button--date--border-color--no-value);--digi--button--color--border--secondary--focus:var(--digi--calendar-week-view--button--date--border-color--no-value);--digi--button--color--border--secondary--active:var(--digi--calendar-week-view--button--date--border-color--no-value);--digi--calendar-week-view--today-circle--fill:var(--digi--calendar-week-view--today-circle--fill--no-value)}.digi-calendar-week-view__date-button--active.sc-digi-calendar-week-view{--digi--button--color--text--secondary--default:var(--digi--calendar-week-view--button--date--color--active);--digi--button--color--text--secondary--hover:var(--digi--calendar-week-view--button--date--color--active);--digi--button--color--text--secondary--focus:var(--digi--calendar-week-view--button--date--color--active);--digi--button--color--text--secondary--active:var(--digi--calendar-week-view--button--date--color--active);--digi--button--color--background--secondary--default:var(--digi--calendar-week-view--button--date--background--active);--digi--button--color--background--secondary--hover:var(--digi--calendar-week-view--button--date--background--active);--digi--button--color--background--secondary--focus:var(--digi--calendar-week-view--button--date--background--active);--digi--button--color--background--secondary--active:var(--digi--calendar-week-view--button--date--background--active);--digi--button--color--border--secondary--default:var(--digi--calendar-week-view--button--date--border-color--active);--digi--button--color--border--secondary--hover:var(--digi--calendar-week-view--button--date--border-color--active);--digi--button--color--border--secondary--focus:var(--digi--calendar-week-view--button--date--border-color--active);--digi--button--color--border--secondary--active:var(--digi--calendar-week-view--button--date--border-color--active);--digi--calendar-week-view--today-circle--fill:var(--digi--calendar-week-view--today-circle--fill--active)}.digi-calendar-week-view__date-button-content.sc-digi-calendar-week-view{display:flex;flex-direction:column;align-items:center;justify-content:center;text-transform:capitalize}.digi-calendar-week-view__date-button-circle.sc-digi-calendar-week-view{position:absolute;height:var(--digi--calendar-week-view--today-circle--size);width:var(--digi--calendar-week-view--today-circle--size);background:var(--digi--calendar-week-view--today-circle--fill);bottom:0.875rem;left:50%;transform:translateX(-50%);border-radius:50%}.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button--active .digi-button{box-shadow:var(--digi--calendar-week-view--button--date--box-shadow--active)}.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button .digi-button:hover .digi-calendar-week-view__date-button-day::after,.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button .digi-button:focus .digi-calendar-week-view__date-button-day::after{content:\"\";position:absolute;width:30px;height:2px;top:38px;background-color:var(--digi--calendar-week-view--button--date--color);left:15px}.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button .digi-button:hover .digi-calendar-week-view__date-button-day--active::after,.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button .digi-button:focus .digi-calendar-week-view__date-button-day--active::after{content:\"\";position:absolute;width:30px;height:2px;top:38px;background-color:var(--digi--calendar-week-view--button--date--color--active);left:15px}.sc-digi-calendar-week-view-s .digi-calendar-week-view__date-button .digi-button__text{width:100%}.sc-digi-calendar-week-view-s .digi-calendar-week-view__week-button--previous .digi-button:hover::after,.sc-digi-calendar-week-view-s .digi-calendar-week-view__week-button--previous .digi-button:focus::after{content:\"\";position:absolute;width:62px;height:2px;top:29px;background-color:#00005a;left:50px}.sc-digi-calendar-week-view-s .digi-calendar-week-view__week-button--next .digi-button:hover::after,.sc-digi-calendar-week-view-s .digi-calendar-week-view__week-button--next .digi-button:focus::after{content:\"\";position:absolute;width:62px;height:2px;top:29px;background-color:#00005a;left:20px}";
|
|
2131
|
-
const DigiCalendarWeekViewStyle0 = calendarWeekViewCss;
|
|
2132
|
-
|
|
2133
|
-
const CalendarWeekView = class {
|
|
2134
|
-
constructor(hostRef) {
|
|
2135
|
-
index$2.registerInstance(this, hostRef);
|
|
2136
|
-
this.afOnWeekChange = index$2.createEvent(this, "afOnWeekChange", 7);
|
|
2137
|
-
this.afOnDateChange = index$2.createEvent(this, "afOnDateChange", 7);
|
|
2138
|
-
this.afOnReady = index$2.createEvent(this, "afOnReady", 3);
|
|
2139
|
-
this.minDate = new Date();
|
|
2140
|
-
this.maxDate = new Date();
|
|
2141
|
-
this.dates = [];
|
|
2142
|
-
this.weekDays = [];
|
|
2143
|
-
this.todaysDate = format(new Date(), 'yyyy-MM-dd', { locale: svlocale });
|
|
2144
|
-
this.selectedDate = format(new Date(), 'yyyy-MM-dd', {
|
|
2145
|
-
locale: svlocale
|
|
2146
|
-
});
|
|
2147
|
-
this.currentDate = undefined;
|
|
2148
|
-
this.afMinWeek = undefined;
|
|
2149
|
-
this.afMaxWeek = undefined;
|
|
2150
|
-
this.afDates = '';
|
|
2151
|
-
this.afHeadingLevel = calendarWeekViewHeadingLevel_enum.CalendarWeekViewHeadingLevel.H2;
|
|
2152
|
-
this.afId = randomIdGenerator_util.randomIdGenerator('digi-calendar-week-view');
|
|
2153
|
-
}
|
|
2154
|
-
selectedDateChangeHandler() {
|
|
2155
|
-
this.afOnDateChange.emit(this.selectedDate);
|
|
2156
|
-
}
|
|
2157
|
-
currentDateChangeHandler() {
|
|
2158
|
-
this.setWeekDates();
|
|
2159
|
-
}
|
|
2160
|
-
setWeekDates() {
|
|
2161
|
-
const newDates = [];
|
|
2162
|
-
for (let i = 1; i < 6; i++) {
|
|
2163
|
-
const day = setDay(new Date(this.currentDate), i);
|
|
2164
|
-
const date = format(new Date(day), 'yyyy-MM-dd', { locale: svlocale });
|
|
2165
|
-
newDates.push(date);
|
|
2166
|
-
}
|
|
2167
|
-
this.weekDays = [...newDates];
|
|
2168
|
-
}
|
|
2169
|
-
afDatesUpdate() {
|
|
2170
|
-
const dateList = [...JSON.parse(this.afDates)];
|
|
2171
|
-
this.dates = [
|
|
2172
|
-
...dateList.sort((a, b) => {
|
|
2173
|
-
const c = new Date(a);
|
|
2174
|
-
const d = new Date(b);
|
|
2175
|
-
return this.getTime(c) - this.getTime(d);
|
|
2176
|
-
})
|
|
2177
|
-
];
|
|
2178
|
-
}
|
|
2179
|
-
/**
|
|
2180
|
-
* Kan användas för att manuellt sätta om det aktiva datumet. Formatet måste vara 'yyyy-MM-dd'.
|
|
2181
|
-
* @en Can be used to set the active date. The format needs to be 'yyy-MM-dd'.
|
|
2182
|
-
*/
|
|
2183
|
-
async afMSetActiveDate(activeDate) {
|
|
2184
|
-
this.selectedDate = format(new Date(activeDate), 'yyyy-MM-dd', {
|
|
2185
|
-
locale: svlocale
|
|
2186
|
-
});
|
|
2187
|
-
this.currentDate = this.selectedDate;
|
|
2188
|
-
}
|
|
2189
|
-
getTime(date) {
|
|
2190
|
-
return date != null ? date.getTime() : 0;
|
|
2191
|
-
}
|
|
2192
|
-
prevWeek() {
|
|
2193
|
-
this.currentDate = subDays(new Date(this.currentDate), 7);
|
|
2194
|
-
this.afOnWeekChange.emit('previous');
|
|
2195
|
-
}
|
|
2196
|
-
nextWeek() {
|
|
2197
|
-
this.currentDate = addDays(new Date(this.currentDate), 7);
|
|
2198
|
-
this.afOnWeekChange.emit('next');
|
|
2199
|
-
}
|
|
2200
|
-
initDates() {
|
|
2201
|
-
this.minDate = new Date(this.dates[0]);
|
|
2202
|
-
this.maxDate = new Date(this.dates[this.dates.length - 1]);
|
|
2203
|
-
this.selectedDate = format(new Date(this.dates[0]), 'yyyy-MM-dd', {
|
|
2204
|
-
locale: svlocale
|
|
2205
|
-
});
|
|
2206
|
-
this.currentDate = format(new Date(this.selectedDate), 'yyyy-MM-dd', {
|
|
2207
|
-
locale: svlocale
|
|
2208
|
-
});
|
|
2209
|
-
}
|
|
2210
|
-
componentWillLoad() {
|
|
2211
|
-
this.afDatesUpdate();
|
|
2212
|
-
this.initDates();
|
|
2213
|
-
}
|
|
2214
|
-
componentDidLoad() {
|
|
2215
|
-
this.afOnReady.emit();
|
|
2216
|
-
}
|
|
2217
|
-
get prevWeekText() {
|
|
2218
|
-
const nextWeekDate = subDays(new Date(this.currentDate), 7);
|
|
2219
|
-
return `${text._t.calendar.week} ${getISOWeek(new Date(nextWeekDate))}`;
|
|
2220
|
-
}
|
|
2221
|
-
get nextWeekText() {
|
|
2222
|
-
const nextWeekDate = addDays(new Date(this.currentDate), 7);
|
|
2223
|
-
return `${text._t.calendar.week} ${getISOWeek(new Date(nextWeekDate))}`;
|
|
2224
|
-
}
|
|
2225
|
-
get currentWeek() {
|
|
2226
|
-
return getISOWeek(new Date(this.currentDate));
|
|
2227
|
-
}
|
|
2228
|
-
get currentMonth() {
|
|
2229
|
-
const firstDate = new Date(this.weekDays[0]);
|
|
2230
|
-
const lastDate = new Date(this.weekDays[this.weekDays.length - 1]);
|
|
2231
|
-
return firstDate.getMonth() == lastDate.getMonth()
|
|
2232
|
-
? format(new Date(firstDate), 'MMMM yyyy', { locale: svlocale })
|
|
2233
|
-
: format(new Date(firstDate), 'MMMM yyyy', { locale: svlocale }) +
|
|
2234
|
-
' - ' +
|
|
2235
|
-
format(new Date(lastDate), 'MMMM yyyy', { locale: svlocale });
|
|
2236
|
-
}
|
|
2237
|
-
render() {
|
|
2238
|
-
return (index$2.h("div", { key: '967ccb9710018973a960ae36d52157ba85dacfed', class: "digi-calendar-week-view" }, index$2.h("nav", { key: '6a9137d8f8a8e652d26d099ae652cb76e5665b51', class: "digi-calendar-week-view__timepicker" }, index$2.h("div", { key: 'a2b8aaeaa93e391e65847b2ea8f9b455e86474f1', class: "digi-calendar-week-view__dates" }, index$2.h("div", { key: '0cc675c0cd67d042e5e27a38a6665ab30e516cea', class: "digi-calendar-week-view__flex" }, index$2.h("digi-typography", { key: 'd47f59955354cb435dc80895059c6e4fd6eefa8a' }, index$2.h(this.afHeadingLevel, { key: 'f01725e82afff23b8ae357b30af909b325d85279', role: "status", class: "digi-calendar-week-view__heading" }, index$2.h("span", { key: 'bbfab19eec8776e640ed235654c0fd960faf5722', class: "digi-calendar-week-view__month" }, this.currentMonth), index$2.h("span", { key: 'a3a52801083cd83351056d474e01df926d8b0117', class: "digi-calendar-week-view__week" }, ' ', "v.", this.currentWeek))), index$2.h("ul", { key: 'a3f3703318fa5400cd32ee5d3af896900a032acd', class: "digi-calendar-week-view__date-list" }, this.weekDays.map((dateItem) => {
|
|
2239
|
-
const date = format(new Date(dateItem), 'd', {
|
|
2240
|
-
locale: svlocale
|
|
2241
|
-
});
|
|
2242
|
-
const day = format(new Date(dateItem), 'EEE', {
|
|
2243
|
-
locale: svlocale
|
|
2244
|
-
});
|
|
2245
|
-
const fullDay = format(new Date(dateItem), 'EEEE ', {
|
|
2246
|
-
locale: svlocale
|
|
2247
|
-
});
|
|
2248
|
-
return (index$2.h("li", { class: "digi-calendar-week-view__date-list-item", "aria-current": dateItem === this.todaysDate && 'date' }, index$2.h("digi-button", { onClick: () => (this.selectedDate = dateItem), afAriaLabel: `${fullDay} ${date}`, "aria-hidden": !this.dates.includes(dateItem) ? 'true' : 'false', "af-tabindex": !this.dates.includes(dateItem) ? -1 : null, "aria-pressed": this.selectedDate == dateItem ? 'true' : 'false', class: {
|
|
2249
|
-
'digi-calendar-week-view__date-button': true,
|
|
2250
|
-
'digi-calendar-week-view__date-button--active': this.selectedDate == dateItem,
|
|
2251
|
-
'digi-calendar-week-view__date-button--no-value': !this.dates.includes(dateItem)
|
|
2252
|
-
}, "af-variation": buttonVariation_enum.ButtonVariation.SECONDARY }, index$2.h("span", { class: "digi-calendar-week-view__date-button-content", "aria-hidden": "true" }, index$2.h("span", { class: {
|
|
2253
|
-
'digi-calendar-week-view__date-button-day': this.selectedDate != dateItem,
|
|
2254
|
-
'digi-calendar-week-view__date-button-day--active': this.selectedDate == dateItem
|
|
2255
|
-
} }, day), index$2.h("span", { class: "digi-calendar-week-view__date-button-date" }, date), index$2.h("span", { "aria-hidden": "true", class: {
|
|
2256
|
-
'digi-calendar-week-view__date-button-circle': dateItem === this.todaysDate
|
|
2257
|
-
} })))));
|
|
2258
|
-
})))), index$2.h("digi-button", { key: '2edb685459c4cbf8a0120ab340672b17d0ea3f9f', onClick: () => this.prevWeek(), class: {
|
|
2259
|
-
'digi-calendar-week-view__week-button digi-calendar-week-view__week-button--previous': true,
|
|
2260
|
-
'digi-calendar-week-view__week-button--keep-left': this.currentWeek == getISOWeek(this.maxDate),
|
|
2261
|
-
'digi-calendar-week-view__week-button--hidden': !(this.currentWeek > getISOWeek(this.minDate))
|
|
2262
|
-
}, "af-variation": "secondary" }, index$2.h("digi-icon-chevron-left", { key: '8948b12a1654f9ef46728ea8de3b1df5f40addcd', slot: "icon" }), this.prevWeekText), index$2.h("digi-button", { key: '729ed8eebce68168b66c5365588a52b1279eec3f', onClick: () => this.nextWeek(), class: {
|
|
2263
|
-
'digi-calendar-week-view__week-button digi-calendar-week-view__week-button--next': true,
|
|
2264
|
-
'digi-calendar-week-view__week-button--keep-right': this.currentWeek == getISOWeek(this.minDate),
|
|
2265
|
-
'digi-calendar-week-view__week-button--hidden': !(this.currentWeek < getISOWeek(this.maxDate))
|
|
2266
|
-
}, "af-variation": "secondary" }, index$2.h("digi-icon-chevron-right", { key: '75bf1669a5d9dd3f618661c79202dc8e69f6c8ea', slot: "icon-secondary" }), this.nextWeekText)), index$2.h("div", { key: 'c7379a321936f28783d2f7a4e1e94d0b119de471', role: "status", "aria-live": "assertive", class: "digi-calendar-week-view__result", id: `${this.afId}-result` }, index$2.h("digi-typography", { key: 'f7e55435a94c5bff18a3b4b7bfa5d397291f7e8c' }, index$2.h("slot", { key: '7c59e144a47c721f5f4a454b9776c708f6d2f15c' })))));
|
|
2267
|
-
}
|
|
2268
|
-
static get watchers() { return {
|
|
2269
|
-
"selectedDate": ["selectedDateChangeHandler"],
|
|
2270
|
-
"currentDate": ["currentDateChangeHandler"],
|
|
2271
|
-
"afDates": ["afDatesUpdate"]
|
|
2272
|
-
}; }
|
|
2273
|
-
};
|
|
2274
|
-
CalendarWeekView.style = DigiCalendarWeekViewStyle0;
|
|
2275
|
-
|
|
2276
|
-
exports.digi_calendar_week_view = CalendarWeekView;
|