@designsystem-se/af 35.2.1-beta.1 → 35.3.0
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.d.ts +1 -1
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.d.ts +1 -1
- package/components/digi-badge-status.js +1 -1
- package/components/digi-bar-chart.d.ts +1 -1
- package/components/digi-bar-chart.js +9 -9
- package/components/digi-button.d.ts +1 -1
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.d.ts +1 -1
- package/components/digi-calendar-datepicker.js +73 -159
- package/components/digi-calendar-week-view.d.ts +1 -1
- package/components/digi-calendar-week-view.js +9 -9
- package/components/digi-calendar.d.ts +1 -1
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.d.ts +1 -1
- package/components/digi-chart-line.js +7 -7
- package/components/digi-code-block.d.ts +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.d.ts +1 -1
- package/components/digi-code-example.js +19 -43
- package/components/digi-code.d.ts +1 -1
- package/components/digi-code.js +2 -2
- package/components/digi-context-menu.d.ts +1 -1
- package/components/digi-context-menu.js +7 -7
- package/components/digi-dialog.d.ts +1 -1
- package/components/digi-dialog.js +9 -12
- package/components/digi-expandable-accordion.d.ts +1 -1
- package/components/digi-expandable-accordion.js +4 -4
- package/components/digi-expandable-faq-item.d.ts +1 -1
- package/components/digi-expandable-faq-item.js +7 -7
- package/components/digi-expandable-faq.d.ts +1 -1
- package/components/digi-expandable-faq.js +3 -3
- package/components/digi-footer-card.d.ts +1 -1
- package/components/digi-footer-card.js +2 -2
- package/components/digi-footer.d.ts +1 -1
- package/components/digi-footer.js +7 -10
- package/components/digi-form-category-filter.d.ts +1 -1
- package/components/digi-form-category-filter.js +6 -6
- package/components/digi-form-checkbox.d.ts +1 -1
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.d.ts +1 -1
- package/components/digi-form-error-list.js +17 -20
- package/components/digi-form-fieldset.d.ts +1 -1
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.d.ts +1 -1
- package/components/digi-form-file-upload.js +20 -20
- package/components/digi-form-filter.d.ts +1 -1
- package/components/digi-form-filter.js +9 -9
- package/components/digi-form-input-search.d.ts +1 -1
- package/components/digi-form-input-search.js +11 -11
- package/components/digi-form-input.d.ts +1 -1
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.d.ts +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.d.ts +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.d.ts +1 -1
- package/components/digi-form-radiogroup.js +5 -36
- package/components/digi-form-receipt.d.ts +1 -1
- package/components/digi-form-receipt.js +5 -8
- package/components/digi-form-select-filter.d.ts +1 -1
- package/components/digi-form-select-filter.js +19 -22
- package/components/digi-form-select.d.ts +1 -1
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.d.ts +1 -1
- package/components/digi-form-textarea.js +11 -14
- package/components/digi-form-validation-message.d.ts +1 -1
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.d.ts +1 -1
- package/components/digi-header-avatar.js +4 -4
- package/components/digi-header-navigation-item.d.ts +1 -1
- package/components/digi-header-navigation-item.js +2 -2
- package/components/digi-header-navigation.d.ts +1 -1
- package/components/digi-header-navigation.js +13 -15
- package/components/digi-header-notification.d.ts +1 -1
- package/components/digi-header-notification.js +3 -3
- package/components/digi-header.d.ts +1 -1
- package/components/digi-header.js +74 -33
- package/components/digi-icon-accessibility-deaf.d.ts +1 -1
- package/components/digi-icon-accessibility-deaf.js +3 -3
- package/components/digi-icon-accessibility-universal.d.ts +1 -1
- package/components/digi-icon-accessibility-universal.js +3 -3
- package/components/digi-icon-apple.d.ts +1 -1
- package/components/digi-icon-apple.js +3 -3
- package/components/digi-icon-archive-outline.d.ts +1 -1
- package/components/digi-icon-archive-outline.js +3 -3
- package/components/digi-icon-archive.d.ts +1 -1
- package/components/digi-icon-archive.js +3 -3
- package/components/digi-icon-arrow-back.d.ts +1 -1
- package/components/digi-icon-arrow-back.js +3 -3
- package/components/digi-icon-arrow-down.d.ts +1 -1
- package/components/digi-icon-arrow-down.js +3 -3
- package/components/digi-icon-arrow-left.d.ts +1 -1
- package/components/digi-icon-arrow-left.js +3 -3
- package/components/digi-icon-arrow-right.d.ts +1 -1
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.d.ts +1 -1
- package/components/digi-icon-arrow-sign-in.js +3 -3
- package/components/digi-icon-arrow-sign-out.d.ts +1 -1
- package/components/digi-icon-arrow-sign-out.js +3 -3
- package/components/digi-icon-arrow-up.d.ts +1 -1
- package/components/digi-icon-arrow-up.js +3 -3
- package/components/digi-icon-at.d.ts +1 -1
- package/components/digi-icon-at.js +3 -3
- package/components/digi-icon-bars.d.ts +1 -1
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.d.ts +1 -1
- package/components/digi-icon-bell-filled.js +3 -3
- package/components/digi-icon-bell.d.ts +1 -1
- package/components/digi-icon-bell.js +3 -3
- package/components/digi-icon-book.d.ts +1 -1
- package/components/digi-icon-book.js +3 -3
- package/components/digi-icon-bookmark-outline.d.ts +1 -1
- package/components/digi-icon-bookmark-outline.js +3 -3
- package/components/digi-icon-bookmark-solid.d.ts +1 -1
- package/components/digi-icon-bookmark-solid.js +3 -3
- package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
- package/components/digi-icon-bubble-ellipsis.js +3 -3
- package/components/digi-icon-bubble.d.ts +1 -1
- package/components/digi-icon-bubble.js +3 -3
- package/components/digi-icon-building-outline.d.ts +1 -1
- package/components/digi-icon-building-outline.js +3 -3
- package/components/digi-icon-building-solid.d.ts +1 -1
- package/components/digi-icon-building-solid.js +3 -3
- package/components/digi-icon-bullseye.d.ts +1 -1
- package/components/digi-icon-bullseye.js +3 -3
- package/components/digi-icon-calculator-solid.d.ts +1 -1
- package/components/digi-icon-calculator-solid.js +3 -3
- package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
- package/components/digi-icon-calendar-alt-alert.js +3 -3
- package/components/digi-icon-calendar-alt.d.ts +1 -1
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.d.ts +1 -1
- package/components/digi-icon-calendar.js +3 -3
- package/components/digi-icon-caret-circle-right.d.ts +1 -1
- package/components/digi-icon-caret-circle-right.js +3 -3
- package/components/digi-icon-caret-down.d.ts +1 -1
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.d.ts +1 -1
- package/components/digi-icon-caret-left.js +3 -3
- package/components/digi-icon-caret-right.d.ts +1 -1
- package/components/digi-icon-caret-right.js +3 -3
- package/components/digi-icon-caret-up.d.ts +1 -1
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.d.ts +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.d.ts +1 -1
- package/components/digi-icon-chat.js +3 -3
- package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
- package/components/digi-icon-check-circle-reg-alt.js +3 -3
- package/components/digi-icon-check-circle-solid.d.ts +1 -1
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.d.ts +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.d.ts +1 -1
- package/components/digi-icon-checklist.js +3 -3
- package/components/digi-icon-chevron-down.d.ts +1 -1
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.d.ts +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.d.ts +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.d.ts +1 -1
- package/components/digi-icon-chevron-up.js +3 -3
- package/components/digi-icon-clock.d.ts +1 -1
- package/components/digi-icon-clock.js +3 -3
- package/components/digi-icon-communication-play-solid.d.ts +1 -1
- package/components/digi-icon-communication-play-solid.js +3 -3
- package/components/digi-icon-compress-alt.d.ts +1 -1
- package/components/digi-icon-compress-alt.js +3 -3
- package/components/digi-icon-comunication-case.d.ts +1 -1
- package/components/digi-icon-comunication-case.js +3 -3
- package/components/digi-icon-comunication-flag.d.ts +1 -1
- package/components/digi-icon-comunication-flag.js +3 -3
- package/components/digi-icon-comunication-graduate.d.ts +1 -1
- package/components/digi-icon-comunication-graduate.js +3 -3
- package/components/digi-icon-comunication-play.d.ts +1 -1
- package/components/digi-icon-comunication-play.js +3 -3
- package/components/digi-icon-cooperation.d.ts +1 -1
- package/components/digi-icon-cooperation.js +3 -3
- package/components/digi-icon-copy.d.ts +1 -1
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.d.ts +1 -1
- package/components/digi-icon-danger-outline.js +3 -3
- package/components/digi-icon-download.d.ts +1 -1
- package/components/digi-icon-download.js +3 -3
- package/components/digi-icon-dxa.d.ts +1 -1
- package/components/digi-icon-dxa.js +3 -3
- package/components/digi-icon-edit.d.ts +1 -1
- package/components/digi-icon-edit.js +3 -3
- package/components/digi-icon-ellipsis.d.ts +1 -1
- package/components/digi-icon-ellipsis.js +3 -3
- package/components/digi-icon-envelope-filled.d.ts +1 -1
- package/components/digi-icon-envelope-filled.js +3 -3
- package/components/digi-icon-envelope.d.ts +1 -1
- package/components/digi-icon-envelope.js +3 -3
- package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-circle-filled.js +3 -3
- package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-filled.js +3 -3
- package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-warning.js +3 -3
- package/components/digi-icon-exclamation-triangle.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle.js +3 -3
- package/components/digi-icon-expand-alt.d.ts +1 -1
- package/components/digi-icon-expand-alt.js +3 -3
- package/components/digi-icon-external-link-alt.d.ts +1 -1
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.d.ts +1 -1
- package/components/digi-icon-eye-slash.js +3 -3
- package/components/digi-icon-eye.d.ts +1 -1
- package/components/digi-icon-eye.js +3 -3
- package/components/digi-icon-facebook-square.d.ts +1 -1
- package/components/digi-icon-facebook-square.js +3 -3
- package/components/digi-icon-file-add.d.ts +1 -1
- package/components/digi-icon-file-add.js +2 -2
- package/components/digi-icon-file-document.d.ts +1 -1
- package/components/digi-icon-file-document.js +3 -3
- package/components/digi-icon-file-excel.d.ts +1 -1
- package/components/digi-icon-file-excel.js +3 -3
- package/components/digi-icon-file-export.d.ts +1 -1
- package/components/digi-icon-file-export.js +2 -2
- package/components/digi-icon-file-governing.d.ts +1 -1
- package/components/digi-icon-file-governing.js +3 -3
- package/components/digi-icon-file-pdf.d.ts +1 -1
- package/components/digi-icon-file-pdf.js +3 -3
- package/components/digi-icon-file-powerpoint.d.ts +1 -1
- package/components/digi-icon-file-powerpoint.js +3 -3
- package/components/digi-icon-file-remove.d.ts +1 -1
- package/components/digi-icon-file-remove.js +2 -2
- package/components/digi-icon-file-word.d.ts +1 -1
- package/components/digi-icon-file-word.js +3 -3
- package/components/digi-icon-film.d.ts +1 -1
- package/components/digi-icon-film.js +3 -3
- package/components/digi-icon-filter.d.ts +1 -1
- package/components/digi-icon-filter.js +3 -3
- package/components/digi-icon-folder-add.d.ts +1 -1
- package/components/digi-icon-folder-add.js +2 -2
- package/components/digi-icon-folder-directory.d.ts +1 -1
- package/components/digi-icon-folder-directory.js +2 -2
- package/components/digi-icon-folder-open.d.ts +1 -1
- package/components/digi-icon-folder-open.js +2 -2
- package/components/digi-icon-folder.d.ts +1 -1
- package/components/digi-icon-folder.js +2 -2
- package/components/digi-icon-globe-filled.d.ts +1 -1
- package/components/digi-icon-globe-filled.js +3 -3
- package/components/digi-icon-globe.d.ts +1 -1
- package/components/digi-icon-globe.js +3 -3
- package/components/digi-icon-headphones.d.ts +1 -1
- package/components/digi-icon-headphones.js +3 -3
- package/components/digi-icon-heart-solid.d.ts +1 -1
- package/components/digi-icon-heart-solid.js +3 -3
- package/components/digi-icon-heart.d.ts +1 -1
- package/components/digi-icon-heart.js +3 -3
- package/components/digi-icon-history.d.ts +1 -1
- package/components/digi-icon-history.js +3 -3
- package/components/digi-icon-home.d.ts +1 -1
- package/components/digi-icon-home.js +3 -3
- package/components/digi-icon-image.d.ts +1 -1
- package/components/digi-icon-image.js +3 -3
- package/components/digi-icon-info-circle-solid.d.ts +1 -1
- package/components/digi-icon-info-circle-solid.js +3 -3
- package/components/digi-icon-input-select-marker.d.ts +1 -1
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.d.ts +1 -1
- package/components/digi-icon-instagram.js +3 -3
- package/components/digi-icon-job-suggestion.d.ts +1 -1
- package/components/digi-icon-job-suggestion.js +3 -3
- package/components/digi-icon-language-outline.d.ts +1 -1
- package/components/digi-icon-language-outline.js +3 -3
- package/components/digi-icon-language.d.ts +1 -1
- package/components/digi-icon-language.js +3 -3
- package/components/digi-icon-laptop-phone.d.ts +1 -1
- package/components/digi-icon-laptop-phone.js +3 -3
- package/components/digi-icon-lattlast.d.ts +1 -1
- package/components/digi-icon-lattlast.js +3 -3
- package/components/digi-icon-licence-bus.d.ts +1 -1
- package/components/digi-icon-licence-bus.js +3 -3
- package/components/digi-icon-licence-car.d.ts +1 -1
- package/components/digi-icon-licence-car.js +3 -3
- package/components/digi-icon-licence-motorcycle.d.ts +1 -1
- package/components/digi-icon-licence-motorcycle.js +3 -3
- package/components/digi-icon-licence-truck.d.ts +1 -1
- package/components/digi-icon-licence-truck.js +3 -3
- package/components/digi-icon-lightbulb.d.ts +1 -1
- package/components/digi-icon-lightbulb.js +3 -3
- package/components/digi-icon-linkedin-in.d.ts +1 -1
- package/components/digi-icon-linkedin-in.js +3 -3
- package/components/digi-icon-list-ul.d.ts +1 -1
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.d.ts +1 -1
- package/components/digi-icon-lock.js +3 -3
- package/components/digi-icon-marker-filled.d.ts +1 -1
- package/components/digi-icon-marker-filled.js +3 -3
- package/components/digi-icon-marker.d.ts +1 -1
- package/components/digi-icon-marker.js +3 -3
- package/components/digi-icon-media-course.d.ts +1 -1
- package/components/digi-icon-media-course.js +3 -3
- package/components/digi-icon-media-podcast.d.ts +1 -1
- package/components/digi-icon-media-podcast.js +3 -3
- package/components/digi-icon-microphone-off.d.ts +1 -1
- package/components/digi-icon-microphone-off.js +3 -3
- package/components/digi-icon-microphone.d.ts +1 -1
- package/components/digi-icon-microphone.js +3 -3
- package/components/digi-icon-minus.d.ts +1 -1
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.d.ts +1 -1
- package/components/digi-icon-move.js +3 -3
- package/components/digi-icon-news.d.ts +1 -1
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.d.ts +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.d.ts +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.d.ts +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.d.ts +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.d.ts +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.d.ts +1 -1
- package/components/digi-icon-online-interview.js +3 -3
- package/components/digi-icon-online-meeting.d.ts +1 -1
- package/components/digi-icon-online-meeting.js +3 -3
- package/components/digi-icon-online-task.d.ts +1 -1
- package/components/digi-icon-online-task.js +3 -3
- package/components/digi-icon-online-video.d.ts +1 -1
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.d.ts +1 -1
- package/components/digi-icon-open-source.js +3 -3
- package/components/digi-icon-palette.d.ts +1 -1
- package/components/digi-icon-palette.js +3 -3
- package/components/digi-icon-paperclip.d.ts +1 -1
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.d.ts +1 -1
- package/components/digi-icon-paste.js +2 -2
- package/components/digi-icon-pen.d.ts +1 -1
- package/components/digi-icon-pen.js +3 -3
- package/components/digi-icon-phone-hangup.d.ts +1 -1
- package/components/digi-icon-phone-hangup.js +3 -3
- package/components/digi-icon-phone.d.ts +1 -1
- package/components/digi-icon-phone.js +3 -3
- package/components/digi-icon-plus.d.ts +1 -1
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.d.ts +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.d.ts +1 -1
- package/components/digi-icon-print.js +3 -3
- package/components/digi-icon-read.d.ts +1 -1
- package/components/digi-icon-read.js +3 -3
- package/components/digi-icon-redo.d.ts +1 -1
- package/components/digi-icon-redo.js +3 -3
- package/components/digi-icon-scale.d.ts +1 -1
- package/components/digi-icon-scale.js +2 -2
- package/components/digi-icon-screensharing-off.d.ts +1 -1
- package/components/digi-icon-screensharing-off.js +3 -3
- package/components/digi-icon-screensharing.d.ts +1 -1
- package/components/digi-icon-screensharing.js +3 -3
- package/components/digi-icon-search.d.ts +1 -1
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.d.ts +1 -1
- package/components/digi-icon-send-outline.js +3 -3
- package/components/digi-icon-send-solid.d.ts +1 -1
- package/components/digi-icon-send-solid.js +3 -3
- package/components/digi-icon-settings.d.ts +1 -1
- package/components/digi-icon-settings.js +3 -3
- package/components/digi-icon-share-alt.d.ts +1 -1
- package/components/digi-icon-share-alt.js +3 -3
- package/components/digi-icon-share-chain.d.ts +1 -1
- package/components/digi-icon-share-chain.js +3 -3
- package/components/digi-icon-sign.d.ts +1 -1
- package/components/digi-icon-sign.js +3 -3
- package/components/digi-icon-sliders-h.d.ts +1 -1
- package/components/digi-icon-sliders-h.js +3 -3
- package/components/digi-icon-sokkandidat.d.ts +1 -1
- package/components/digi-icon-sokkandidat.js +3 -3
- package/components/digi-icon-sort-down.d.ts +1 -1
- package/components/digi-icon-sort-down.js +3 -3
- package/components/digi-icon-sort-up.d.ts +1 -1
- package/components/digi-icon-sort-up.js +3 -3
- package/components/digi-icon-sort.d.ts +1 -1
- package/components/digi-icon-sort.js +3 -3
- package/components/digi-icon-spinner.d.ts +1 -1
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.d.ts +1 -1
- package/components/digi-icon-star-reg.js +3 -3
- package/components/digi-icon-star.d.ts +1 -1
- package/components/digi-icon-star.js +3 -3
- package/components/digi-icon-suitcase-outline.d.ts +1 -1
- package/components/digi-icon-suitcase-outline.js +3 -3
- package/components/digi-icon-suitcase-solid.d.ts +1 -1
- package/components/digi-icon-suitcase-solid.js +3 -3
- package/components/digi-icon-system-assistance.d.ts +1 -1
- package/components/digi-icon-system-assistance.js +3 -3
- package/components/digi-icon-table-column.d.ts +1 -1
- package/components/digi-icon-table-column.js +3 -3
- package/components/digi-icon-table-row.d.ts +1 -1
- package/components/digi-icon-table-row.js +3 -3
- package/components/digi-icon-table.d.ts +1 -1
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.d.ts +1 -1
- package/components/digi-icon-task-done.js +3 -3
- package/components/digi-icon-toggle-off.d.ts +1 -1
- package/components/digi-icon-toggle-off.js +3 -3
- package/components/digi-icon-toggle-on.d.ts +1 -1
- package/components/digi-icon-toggle-on.js +3 -3
- package/components/digi-icon-trash.d.ts +1 -1
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.d.ts +1 -1
- package/components/digi-icon-twitter.js +3 -3
- package/components/digi-icon-tyck-till.d.ts +1 -1
- package/components/digi-icon-tyck-till.js +3 -3
- package/components/digi-icon-unlock.d.ts +1 -1
- package/components/digi-icon-unlock.js +3 -3
- package/components/digi-icon-update.d.ts +1 -1
- package/components/digi-icon-update.js +3 -3
- package/components/digi-icon-upload.d.ts +1 -1
- package/components/digi-icon-upload.js +3 -3
- package/components/digi-icon-user-add.d.ts +1 -1
- package/components/digi-icon-user-add.js +2 -2
- package/components/digi-icon-user-alt.d.ts +1 -1
- package/components/digi-icon-user-alt.js +3 -3
- package/components/digi-icon-user-edit.d.ts +1 -1
- package/components/digi-icon-user-edit.js +2 -2
- package/components/digi-icon-users-solid.d.ts +1 -1
- package/components/digi-icon-users-solid.js +3 -3
- package/components/digi-icon-validation-error.d.ts +1 -1
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.d.ts +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.d.ts +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.d.ts +1 -1
- package/components/digi-icon-videocamera-off.js +3 -3
- package/components/digi-icon-videocamera.d.ts +1 -1
- package/components/digi-icon-videocamera.js +3 -3
- package/components/digi-icon-volume.d.ts +1 -1
- package/components/digi-icon-volume.js +3 -3
- package/components/digi-icon-web-tv.d.ts +1 -1
- package/components/digi-icon-web-tv.js +3 -3
- package/components/digi-icon-webinar.d.ts +1 -1
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.d.ts +1 -1
- package/components/digi-icon-wifi-signal0.js +3 -3
- package/components/digi-icon-wifi-signal1.d.ts +1 -1
- package/components/digi-icon-wifi-signal1.js +3 -3
- package/components/digi-icon-wifi-signal2.d.ts +1 -1
- package/components/digi-icon-wifi-signal2.js +3 -3
- package/components/digi-icon-wifi-signal3.d.ts +1 -1
- package/components/digi-icon-wifi-signal3.js +3 -3
- package/components/digi-icon-window.d.ts +1 -1
- package/components/digi-icon-window.js +3 -3
- package/components/digi-icon-x-button-outline.d.ts +1 -1
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.d.ts +1 -1
- package/components/digi-icon-x-button.js +3 -3
- package/components/digi-icon-x.d.ts +1 -1
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.d.ts +1 -1
- package/components/digi-icon-youtube.js +3 -3
- package/components/digi-info-card-multi-container.d.ts +1 -1
- package/components/digi-info-card-multi-container.js +3 -3
- package/components/digi-info-card-multi.d.ts +1 -1
- package/components/digi-info-card-multi.js +12 -12
- package/components/digi-info-card.d.ts +1 -1
- package/components/digi-info-card.js +6 -6
- package/components/digi-layout-block.d.ts +1 -1
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.d.ts +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.d.ts +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.d.ts +1 -1
- package/components/digi-link-button.js +3 -3
- package/components/digi-link-external.d.ts +1 -1
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.d.ts +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.d.ts +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.d.ts +1 -1
- package/components/digi-list.js +4 -4
- package/components/digi-loader-skeleton.d.ts +1 -1
- package/components/digi-loader-skeleton.js +4 -4
- package/components/digi-loader-spinner.d.ts +1 -1
- package/components/digi-loader-spinner.js +3 -3
- package/components/digi-logo.d.ts +1 -1
- package/components/digi-logo.js +100 -1
- package/components/digi-media-figure.d.ts +1 -1
- package/components/digi-media-figure.js +2 -2
- package/components/digi-media-image.d.ts +1 -1
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.js +5 -5
- package/components/digi-navigation-pagination.d.ts +1 -1
- package/components/digi-navigation-pagination.js +13 -16
- package/components/digi-navigation-sidebar-button.d.ts +1 -1
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.d.ts +1 -1
- package/components/digi-navigation-sidebar.js +7 -7
- package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
- package/components/digi-navigation-vertical-menu-item.js +9 -9
- package/components/digi-navigation-vertical-menu.d.ts +1 -1
- package/components/digi-navigation-vertical-menu.js +2 -2
- package/components/digi-notification-alert.d.ts +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.d.ts +1 -1
- package/components/digi-notification-error-page.js +8 -11
- package/components/digi-progress-circle.d.ts +1 -1
- package/components/digi-progress-circle.js +11 -11
- package/components/digi-progress-indicator.d.ts +1 -1
- package/components/digi-progress-indicator.js +8 -8
- package/components/digi-progress-list-item.d.ts +1 -1
- package/components/digi-progress-list-item.js +9 -9
- package/components/digi-progress-list.d.ts +1 -1
- package/components/digi-progress-list.js +3 -3
- package/components/digi-progressbar.d.ts +1 -1
- package/components/digi-progressbar.js +4 -4
- package/components/digi-quote.d.ts +1 -1
- package/components/digi-quote.js +4 -4
- package/components/digi-table.d.ts +1 -1
- package/components/digi-table.js +2 -2
- package/components/digi-tablist-panel.d.ts +1 -1
- package/components/digi-tablist-panel.js +3 -3
- package/components/digi-tablist.d.ts +1 -1
- package/components/digi-tablist.js +9 -9
- package/components/digi-tag-media.d.ts +1 -1
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.d.ts +1 -1
- package/components/digi-tag.js +4 -4
- package/components/digi-title-logo.d.ts +11 -0
- package/components/digi-title-logo.js +6 -0
- package/components/digi-tools-feedback-banner.d.ts +1 -1
- package/components/digi-tools-feedback-banner.js +8 -8
- package/components/digi-tools-feedback-rating.d.ts +1 -1
- package/components/digi-tools-feedback-rating.js +8 -8
- package/components/digi-tools-feedback.d.ts +1 -1
- package/components/digi-tools-feedback.js +6 -9
- package/components/digi-tools-theme-provider.d.ts +1 -1
- package/components/digi-tools-theme-provider.js +2 -2
- package/components/digi-typography-heading-jumbo.d.ts +1 -1
- package/components/digi-typography-heading-jumbo.js +2 -2
- package/components/digi-typography-meta.d.ts +1 -1
- package/components/digi-typography-meta.js +2 -2
- package/components/digi-typography-preamble.d.ts +1 -1
- package/components/digi-typography-preamble.js +2 -2
- package/components/digi-typography-time.d.ts +1 -1
- package/components/digi-typography-time.js +2 -2
- package/components/digi-typography.d.ts +1 -1
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.d.ts +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.d.ts +1 -1
- package/components/digi-util-detect-click-outside.js +2 -2
- package/components/digi-util-detect-focus-outside.d.ts +1 -1
- package/components/digi-util-detect-focus-outside.js +2 -2
- package/components/digi-util-intersection-observer.d.ts +1 -1
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.d.ts +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.d.ts +1 -1
- package/components/digi-util-keyup-handler.js +2 -2
- package/components/digi-util-mutation-observer.d.ts +1 -1
- package/components/digi-util-mutation-observer.js +1 -1
- package/components/digi-util-resize-observer.d.ts +1 -1
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +285 -283
- package/components/index.js +3 -5
- package/components/{p-6bc29b39.js → p-042282c9.js} +3 -3
- package/components/{p-cc72fc59.js → p-0e6bb1ce.js} +3 -3
- package/components/{p-6bc2f864.js → p-127b0f7a.js} +3 -3
- package/components/{p-71172b7c.js → p-1440ff46.js} +3 -3
- package/components/{p-6e5c73ee.js → p-15bbce60.js} +2 -2
- package/components/{p-30fb34b5.js → p-291680dc.js} +3 -3
- package/components/{p-522414d8.js → p-299871dc.js} +3 -3
- package/components/{p-2d6d5d42.js → p-2a0c0c78.js} +3 -3
- package/components/{p-5010c1e6.js → p-2bc16106.js} +5 -8
- package/components/{p-13b75296.js → p-2d8b68de.js} +3 -3
- package/components/{p-a223734b.js → p-2f619b66.js} +1 -1
- package/components/{p-a3fc7580.js → p-300490fb.js} +3 -3
- package/components/{p-be3cec41.js → p-364d38fc.js} +3 -3
- package/components/{p-95690ca9.js → p-372e42fa.js} +3 -3
- package/components/{p-71cbe0c4.js → p-39021139.js} +3 -3
- package/components/{p-75659814.js → p-3cbdeea5.js} +2 -2
- package/components/{p-6c504a38.js → p-3ea21529.js} +3 -3
- package/components/{p-f1059907.js → p-42c4e18d.js} +2 -2
- package/components/{p-de18b1d6.js → p-4437e1a8.js} +2 -2
- package/components/{p-dde470f1.js → p-4458129b.js} +3 -3
- package/components/{p-f3e636c8.js → p-4caaef7a.js} +3 -3
- package/components/{p-ea2c5384.js → p-5a256d98.js} +20 -1
- package/components/{p-ee1fd6ad.js → p-5c935094.js} +11 -14
- package/components/{p-329e6541.js → p-6013f971.js} +3 -3
- package/components/{p-c17548a3.js → p-60394bdb.js} +3 -3
- package/components/{p-796665d9.js → p-61fe9d78.js} +3 -3
- package/components/{p-1e698eb3.js → p-64a9f915.js} +3 -3
- package/components/{p-93713d0c.js → p-6a652c1c.js} +3 -3
- package/components/{p-c28459e5.js → p-6b275dc1.js} +3 -3
- package/components/{p-bd19f8cd.js → p-6c7ff092.js} +3 -3
- package/components/{p-98765f91.js → p-71bad47e.js} +2 -2
- package/components/{p-e3961597.js → p-73c973fc.js} +11 -14
- package/components/{p-b681f6d7.js → p-7492d61e.js} +3 -3
- package/components/{p-c3f7a643.js → p-764c106c.js} +2 -2
- package/components/{p-611a745a.js → p-82085ee1.js} +4 -4
- package/components/{p-de5a26e5.js → p-82463cc2.js} +3 -3
- package/components/{p-4e3fdb06.js → p-8a2e80d2.js} +2 -2
- package/components/p-95dc2a66.js +152 -0
- package/components/{p-0dd35954.js → p-965664d4.js} +62 -73
- package/components/{p-7b43a6b7.js → p-96a4c4dc.js} +3 -3
- package/components/{p-2839514b.js → p-9bcf4599.js} +3 -3
- package/components/{p-8eb92ef0.js → p-9f12ac0c.js} +9 -9
- package/components/{p-e5abfc2d.js → p-a53686b3.js} +4 -1
- package/components/{p-d96a2a60.js → p-a90980f7.js} +3 -3
- package/components/{p-05a97800.js → p-ab1d6ae3.js} +12 -12
- package/components/{p-49a67d97.js → p-ad94e4f3.js} +5 -5
- package/components/{p-a1607b17.js → p-aed6db71.js} +3 -3
- package/components/{p-b54d76b7.js → p-b08505a8.js} +3 -3
- package/components/{p-24b1f799.js → p-b5523600.js} +3 -3
- package/components/{p-d6503492.js → p-b5b891f2.js} +4 -4
- package/components/{p-65c2673b.js → p-ba757bc9.js} +4 -4
- package/components/{p-0b2715fc.js → p-bbaf1285.js} +3 -3
- package/components/{p-40b0ebf4.js → p-c495f54e.js} +3 -3
- package/components/{p-9839cf46.js → p-cf527784.js} +3 -3
- package/components/{p-74689bb5.js → p-cfa81e91.js} +4 -33
- package/components/{p-11b08081.js → p-d14fe54d.js} +3 -3
- package/components/{p-7c894f75.js → p-d18dccc2.js} +3 -3
- package/components/{p-4ca3dd51.js → p-d309b91a.js} +3 -3
- package/components/{p-d07c5d0e.js → p-db0d140d.js} +1 -1
- package/components/{p-4a9363d9.js → p-e8fc33ed.js} +1 -1
- package/components/{p-7575d15f.js → p-f147733f.js} +3 -3
- package/components/{p-e795bd84.js → p-f516f6d6.js} +3 -3
- package/components/{p-009ccd8f.js → p-f5e13d2e.js} +2 -2
- package/components/{p-cf25df6f.js → p-f7fd3e36.js} +2 -2
- package/components/{p-b14bdfcc.js → p-f9e6f45e.js} +3 -3
- package/components/{p-aab9351c.js → p-fccc9322.js} +4 -4
- package/custom-elements.json +39 -34
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +2 -2
- package/dist/cjs/digi-badge-notification.cjs.entry.js +1 -1
- package/dist/cjs/digi-badge-status.cjs.entry.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +2 -2
- package/dist/cjs/digi-button_31.cjs.entry.js +1539 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +2496 -0
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -50
- package/dist/cjs/digi-calendar_2.cjs.entry.js +469 -0
- package/dist/cjs/digi-chart-line.cjs.entry.js +2 -2
- package/dist/cjs/digi-code-example.cjs.entry.js +6 -6
- package/dist/cjs/digi-code.cjs.entry.js +2 -2
- package/dist/cjs/digi-context-menu.cjs.entry.js +4 -4
- package/dist/cjs/digi-dialog.cjs.entry.js +13 -12
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +2 -2
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +5 -5
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/digi-form-error-list.cjs.entry.js +13 -12
- package/dist/cjs/digi-form-fieldset_2.cjs.entry.js +122 -0
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +17 -16
- package/dist/cjs/digi-form-filter.cjs.entry.js +6 -6
- package/dist/cjs/digi-form-input-search.cjs.entry.js +10 -9
- package/dist/cjs/digi-form-input.cjs.entry.js +177 -0
- package/dist/cjs/digi-form-label_5.cjs.entry.js +175 -0
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +3 -7
- package/dist/cjs/digi-form-receipt.cjs.entry.js +11 -10
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +17 -16
- package/dist/cjs/digi-form-select_2.cjs.entry.js +176 -0
- package/dist/cjs/digi-form-textarea.cjs.entry.js +133 -0
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-apple.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-archive.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-at.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bell.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-book.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +5 -5
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +5 -5
- package/dist/cjs/digi-icon-chat.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +9 -9
- package/dist/cjs/digi-icon-check.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-clock.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-download.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-edit.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-eye.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-film.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-filter.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-folder.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-heart.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-history.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-home.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-image.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-language.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +13 -13
- package/dist/cjs/digi-icon-lock.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-marker.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +5 -5
- package/dist/cjs/digi-icon-move.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +9 -9
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-palette.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-paste.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-pen.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-phone.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-print.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-read.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-redo.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-scale.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-search.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-settings.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-sort.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-star.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-update.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-upload.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +2 -2
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-volume.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-window.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +3 -3
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +3 -3
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +2 -2
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +2 -2
- package/dist/cjs/digi-info-card.cjs.entry.js +2 -2
- package/dist/cjs/digi-layout-columns.cjs.entry.js +2 -2
- package/dist/cjs/digi-link-button.cjs.entry.js +2 -2
- package/dist/cjs/{digi-icon-external-link-alt_2.cjs.entry.js → digi-link-external.cjs.entry.js} +2 -26
- package/dist/cjs/digi-link-internal.cjs.entry.js +2 -2
- package/dist/cjs/digi-list.cjs.entry.js +2 -2
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +2 -2
- package/dist/cjs/digi-media-figure.cjs.entry.js +2 -2
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +16 -15
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +3 -3
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +7 -7
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +2 -2
- package/dist/cjs/digi-notification-alert.cjs.entry.js +12 -11
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +13 -12
- package/dist/cjs/digi-progress-circle.cjs.entry.js +9 -9
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +4 -4
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +6 -6
- package/dist/cjs/digi-progress-list.cjs.entry.js +2 -2
- package/dist/cjs/digi-progressbar.cjs.entry.js +3 -3
- package/dist/cjs/digi-quote.cjs.entry.js +2 -2
- package/dist/cjs/digi-table.cjs.entry.js +2 -2
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +3 -3
- package/dist/cjs/digi-tablist.cjs.entry.js +6 -6
- package/dist/cjs/digi-tag-media.cjs.entry.js +3 -3
- package/dist/cjs/digi-tag.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +11 -10
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +2 -2
- package/dist/cjs/digi-typography-meta.cjs.entry.js +2 -2
- package/dist/cjs/digi-typography-time.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +2 -2
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +64 -0
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +2 -2
- package/dist/cjs/{form-validation-message-variation.enum-c5ec3e2d.js → form-file-upload-variation.enum-634cfae8.js} +0 -7
- package/dist/cjs/form-input-search-variation.enum-e0e025b1.js +15 -0
- package/dist/cjs/{form-input-type.enum-1fb2180a.js → form-input-type.enum-9c8ee12a.js} +0 -14
- package/dist/cjs/form-input-variation.enum-c750520c.js +29 -0
- package/dist/cjs/form-radiobutton-variation.enum-d085f2f8.js +18 -0
- package/dist/cjs/form-select-variation.enum-528c1bf0.js +16 -0
- package/dist/cjs/form-textarea-variation.enum-9c90d40f.js +17 -0
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
- package/dist/cjs/{index-81fc5a97.js → index-7a477838.js} +36 -81
- package/dist/cjs/{index-acb7b350.js → index-ac8e01b4.js} +19 -189
- package/dist/cjs/index-cad91a90.js +66 -0
- package/dist/cjs/index-e8333bcc.js +174 -0
- package/dist/cjs/index.cjs.js +130 -135
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{typography-variation.enum-c6bb12f2.js → typography-variation.enum-6a934f5b.js} +62 -84
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/_calendar/calendar/calendar.css +0 -3
- package/dist/collection/components/_calendar/calendar/calendar.js +79 -67
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +16 -19
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +93 -207
- package/dist/collection/components/_calendar/week-view/calendar-week-view.js +4 -4
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +1 -1
- package/dist/collection/components/_chart/chart-line/chart-line.js +1 -1
- package/dist/collection/components/_code/code/code.js +1 -1
- package/dist/collection/components/_code/code-block/code-block.js +1 -1
- package/dist/collection/components/_code/code-example/code-example.css +0 -1
- package/dist/collection/components/_code/code-example/code-example.js +4 -4
- package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
- package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
- package/dist/collection/components/_footer/footer/footer.css +17 -0
- package/dist/collection/components/_footer/footer/footer.js +1 -1
- package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
- package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +5 -59
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +8 -8
- package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
- package/dist/collection/components/_form/form-input/form-input.js +6 -9
- package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
- package/dist/collection/components/_form/form-label/form-label.js +1 -1
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +2 -80
- package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
- package/dist/collection/components/_form/form-select/form-select.js +4 -4
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
- package/dist/collection/components/_form/form-textarea/form-textarea.js +6 -9
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
- package/dist/collection/components/_header/header/header.css +70 -28
- package/dist/collection/components/_header/header/header.js +70 -18
- package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
- package/dist/collection/components/_header/header-navigation/header-navigation.css +32 -0
- package/dist/collection/components/_header/header-navigation/header-navigation.js +5 -4
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
- package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
- package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
- package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
- package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
- package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
- package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
- package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
- package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
- package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
- package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
- package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
- package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
- package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
- package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
- package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
- package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
- package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
- package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
- package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
- package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
- package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
- package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
- package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
- package/dist/collection/components/_link/link/link.js +1 -1
- package/dist/collection/components/_link/link-button/link-button.js +1 -1
- package/dist/collection/components/_link/link-external/link-external.js +1 -1
- package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
- package/dist/collection/components/_list/list/list.js +1 -1
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
- package/dist/collection/components/_logo/logo/logo.css +15 -85
- package/dist/collection/components/_logo/logo/logo.js +78 -25
- package/dist/collection/components/_logo/title-logo/title-logo-variation.enum.js +6 -0
- package/dist/collection/components/_logo/title-logo/title-logo.css +78 -0
- package/dist/collection/components/_logo/title-logo/title-logo.js +146 -0
- package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
- package/dist/collection/components/_media/media-image/media-image.js +2 -2
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.css +5 -5
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +3 -3
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
- package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
- package/dist/collection/components/_quote/quote/quote.js +1 -1
- package/dist/collection/components/_table/table/table.js +1 -1
- package/dist/collection/components/_tag/tag/tag.js +1 -1
- package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +1 -1
- package/dist/collection/components/_typography/typography/typography.js +1 -1
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
- package/dist/collection/design-tokens/components/_calendar-datepicker.variables.scss +2 -2
- package/dist/collection/design-tokens/components/_footer.variables.scss +1 -0
- package/dist/collection/design-tokens/components/_header-navigation.variables.scss +1 -0
- package/dist/collection/design-tokens/components/_header.variables.scss +3 -3
- package/dist/collection/design-tokens/components/_logo.variables.scss +5 -24
- package/dist/collection/design-tokens/components/_navigation-breadcrumbs.variables.scss +2 -2
- package/dist/collection/enums.js +1 -2
- package/dist/collection/global/utils/applyStencilScope/applyStencilScope.util.js +13 -0
- package/dist/collection/global/utils/applyStencilScope/index.js +1 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_calendar-datepicker.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_footer.variables.scss +1 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_header-navigation.variables.scss +1 -0
- package/dist/digi-arbetsformedlingen/design-tokens/components/_header.variables.scss +3 -3
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +5 -24
- package/dist/digi-arbetsformedlingen/design-tokens/components/_navigation-breadcrumbs.variables.scss +2 -2
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-f24018e3.entry.js → p-0052b03c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-01044fca.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-98b9f757.entry.js → p-014044a7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b1f046bc.entry.js → p-01c29a14.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-da86828e.entry.js → p-01df63d6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-06625463.js +1 -0
- package/dist/digi-arbetsformedlingen/p-06dfdd79.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-58a86b5f.entry.js → p-07513ee6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-88d89422.entry.js → p-07b02fa8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-34eb2bfc.entry.js → p-099b1bac.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-578a5503.entry.js → p-0a904539.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-842f7414.entry.js → p-0ac9f348.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a25dfae6.entry.js → p-0bc366fb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0674a72b.entry.js → p-0c210491.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-73358d64.entry.js → p-0c271457.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d4a3672b.entry.js → p-0e634a09.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4899b39e.entry.js → p-11b5ab8d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1b568bfe.entry.js → p-16303afa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-16b8d192.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bfb78e9e.entry.js → p-16dd9b3f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-db548ef5.entry.js → p-18006927.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-183230b4.js +1 -0
- package/dist/digi-arbetsformedlingen/p-18ffcb24.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-fdddbfc8.entry.js → p-1a21de52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d997189d.entry.js → p-1bd29b6a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9f76ceae.entry.js → p-1cc801fd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a8b5f553.entry.js → p-1dc8b284.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6b4f5007.entry.js → p-1e03ba21.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-1e2a9156.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f652ce3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c571715c.entry.js → p-2062e63b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-70d5b6d8.entry.js → p-20ef225a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ffc1490.entry.js → p-21653bf9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7194b6d4.entry.js → p-218b829e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f1fa6847.entry.js → p-2196c33b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-57932243.entry.js → p-2412deb9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-18d4fcd2.entry.js → p-2422b0d1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-afc03fe9.entry.js → p-27388bc4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-df2dbad3.entry.js → p-27be8d2b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6682c011.entry.js → p-293ea71f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c2c56530.entry.js → p-2aa3ed49.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2bc12345.entry.js → p-2f57b446.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-0ba0b367.entry.js → p-2ffd9c4c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-62ff3ed7.entry.js → p-31763750.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f3b8ef49.entry.js → p-3212807d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-33425742.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-04aa20f8.entry.js → p-34ef0baa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-282615d5.entry.js → p-352712b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-35fddf68.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-36229058.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-95f0541d.entry.js → p-37459590.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ffe543c2.entry.js → p-38603899.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3656e551.entry.js → p-39604e43.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a31b7db8.entry.js → p-3c28625a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-356cd33f.entry.js → p-3e126f89.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ba74fb18.entry.js → p-3eb4faff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-97df6bb5.entry.js → p-40f5fda7.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4224f1e4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c4363e1e.entry.js → p-43662434.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ff3847ca.entry.js → p-43a43f09.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4477f14c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-450f8f55.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0dabfbf2.entry.js → p-45af5d55.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8d51bf4a.entry.js → p-4788712e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-03f2c12b.entry.js → p-48113595.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4841b4e1.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1611b5c5.entry.js → p-4871b74a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f8460123.entry.js → p-49aeb019.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f2f2ddc8.entry.js → p-4b5edc89.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8b112e8e.entry.js → p-4b618926.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7b077861.entry.js → p-4bb41707.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fc609ae4.entry.js → p-4c69c234.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4df8b9e1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c34defe4.entry.js → p-4e2e1902.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a05d9a25.entry.js → p-4eb58cf9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-4ee11ca2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a0ed9e6c.entry.js → p-4f6b2e2a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-025cabb6.entry.js → p-4fe05e2f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-51149879.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-0ec8853f.entry.js → p-51c9cc1a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f1de4bf6.js → p-52e3bb32.js} +2 -2
- package/dist/digi-arbetsformedlingen/{p-c1f1614f.entry.js → p-53483e1d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a12faea.entry.js → p-5456a3bc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bba72c14.entry.js → p-5473bfea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e6313314.entry.js → p-5503d5be.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3ca255fb.entry.js → p-56cb2ded.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-79c08614.entry.js → p-57dd2b38.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cf8705ff.entry.js → p-588fe3b5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8042dd80.entry.js → p-592fd6a9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-5abcf3e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-59ed9a08.entry.js → p-5acaf4b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c01d3031.entry.js → p-5ad1a828.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1991cbd6.entry.js → p-5b01d3e2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5520c068.entry.js → p-5d0ffc80.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-91071734.entry.js → p-5d30475d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-76dda986.entry.js → p-5e37e5aa.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-30fe9410.entry.js → p-5ee51a86.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-5f6a49c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-8f398e56.entry.js → p-60989dea.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-98aa180e.entry.js → p-63148e09.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51354379.entry.js → p-649c30ed.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3add0508.entry.js → p-658aa433.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8638aeba.entry.js → p-66483a84.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c6ebe45b.entry.js → p-664de70c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f36104b8.entry.js → p-676ab6ef.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a2c089de.entry.js → p-684d8a71.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a4cecc24.entry.js → p-6a33818a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a3a748b1.entry.js → p-6de493b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-61134ea0.entry.js → p-6e925e52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-71bd1a56.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-05fe8358.entry.js → p-726a0b56.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7393b76b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1cd949af.entry.js → p-73f6209d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-03c89967.entry.js → p-7474d7b0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-753987ba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bfe515b0.entry.js → p-7660ba5b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2c714af4.entry.js → p-76eb331e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5d851fc7.entry.js → p-77ea6604.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e4f6a021.entry.js → p-780b30f6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-24fe2189.js → p-7933b555.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7aacd45f.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-2c657d2a.entry.js → p-7d54fe81.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e0ddaa32.entry.js → p-7d597755.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-309cc07e.entry.js → p-7e6d699e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4b149cd0.entry.js → p-7ed49934.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a6925231.entry.js → p-804cb867.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-99eae5f5.entry.js → p-80a77b6e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-deb342fa.entry.js → p-82634b60.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-aa3e3eef.entry.js → p-8318562f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8fde626d.entry.js → p-83269fe6.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dc571b83.entry.js → p-8328e58b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-05645b1e.entry.js → p-8355c75d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-133eb88c.entry.js → p-8473e21b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-45d194e8.entry.js → p-87721a1f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-d10d9f6b.entry.js → p-89566597.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-afc4494d.entry.js → p-8b88c952.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fefd78cb.entry.js → p-8d3cb15a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab807393.entry.js → p-8e16d36a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-8ef4cf4a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-f80bf0cf.entry.js → p-8fa46692.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-e09a3a9b.entry.js → p-9045d5ff.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-62908311.entry.js → p-905f3864.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b7f51664.entry.js → p-90bc53dc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-24cd5148.entry.js → p-93ec0277.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a4f63acf.entry.js → p-9495044c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7b144af0.entry.js → p-9763005c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4898e3e1.entry.js → p-9789b001.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7f5ccb4b.entry.js → p-99e4bd13.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d2f05c30.entry.js → p-9a73a55d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-3ae0fb97.entry.js → p-9a7e195c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9c5a93d8.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1443ee18.entry.js → p-9cf50217.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-35085329.entry.js → p-9d15493f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-29c21aa2.entry.js → p-9df20034.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9e3f861e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e4a0fe4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-19bc2782.entry.js → p-9ea535e1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dd5d6b5b.entry.js → p-9fe345d1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-bda62d83.entry.js → p-a0267f76.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-dfebd13b.entry.js → p-a1ae9863.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b4894794.entry.js → p-a439e93f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f5ab5a6d.entry.js → p-a4895704.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-fb73b450.entry.js → p-a5c387e8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-115ed01d.entry.js → p-a67b4609.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-716522cc.entry.js → p-a6a0a040.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-45caeb11.entry.js → p-a7361f39.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-a7d97546.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-7bc209b0.entry.js → p-a947fa52.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-354ee792.entry.js → p-a98df65c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1400a7db.entry.js → p-a9bfc5bd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-df144f4a.entry.js → p-accb56da.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-82998dc8.entry.js → p-ad471fd2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab1f9fa3.entry.js → p-af4b851e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-eec05f58.entry.js → p-b10a1760.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-6079b98f.entry.js → p-b22f09f1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-7c4a57bc.entry.js → p-b32df740.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-89266d02.entry.js → p-b48f2acd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4a1af082.entry.js → p-b63e0b2d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f0679d19.entry.js → p-b734218c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-05da2430.entry.js → p-b7494943.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cb694b2c.entry.js → p-b81e0aec.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-b924bb0b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ba185d40.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-48f60428.entry.js → p-ba39e14b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ab83e07e.entry.js → p-baac6e73.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ccb12cc.entry.js → p-bab6f184.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1426e071.entry.js → p-bb0935fc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-bb1daa3b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-20e42b63.entry.js → p-bb554f34.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-13f62d12.entry.js → p-c04b06a2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4efff0ca.entry.js → p-c168c84a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c2c18fb9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-de04fc95.entry.js → p-c566cef3.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2a86430e.entry.js → p-c70ba82f.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d09d6e4e.entry.js → p-c721f99a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-cf22ea4c.entry.js → p-c81d1d0b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-c8257c8c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-c6ec95b6.entry.js → p-c8751075.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ba1f3c21.entry.js → p-c917502e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c8012cef.entry.js → p-c92e206b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-eece0f27.entry.js → p-cab53989.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-765c940e.entry.js → p-ccd18e1a.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-212c9b16.entry.js → p-cdbfa3d0.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ce8d2455.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-2bafc4e6.entry.js → p-cfad003c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cdfc6b9e.entry.js → p-d0a8fa77.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5ff83bb2.entry.js → p-d146131e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ee95a46b.entry.js → p-d1a77b0b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5bd4feb1.entry.js → p-d2799e99.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-51b3e6b7.entry.js → p-d2a12b86.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-29a7704c.entry.js → p-d46b426b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d4d2b1a5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-2f57b6f7.entry.js → p-d5376b7c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5f8404ac.entry.js → p-d7cdbe75.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-a9364824.entry.js → p-d8b9b535.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-f066ad62.entry.js → p-dcaa4461.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-72be21a0.entry.js → p-de1e9254.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-c2084f44.entry.js → p-df2038b9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-e10e24fc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-91bd565a.entry.js → p-e55d3abf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9d07a6b7.entry.js → p-e627abeb.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-9acaa089.entry.js → p-e69d2e1c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-07527c31.entry.js → p-e8fd0aed.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-14565bc4.entry.js → p-e917904e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ea09368a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-79c6ecc6.entry.js → p-edfdf8e9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2e622d7a.entry.js → p-eeec1cf1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4a92afba.entry.js → p-ef9a3ddc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-693e33b2.entry.js → p-f1a6524e.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ef5ef502.entry.js → p-f2eb8ee5.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f447b984.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-a69d8ad3.entry.js → p-f6476365.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-d974fef4.entry.js → p-f69dbfcf.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-8186b82c.entry.js → p-f6b2d484.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-f70535e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-385e1afb.entry.js → p-f7628391.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-2c063933.entry.js → p-f9315403.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-26983270.entry.js → p-fc252a02.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ca226329.entry.js → p-fc945ec1.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-cb94f90d.entry.js → p-fe235598.entry.js} +1 -1
- package/dist/esm/digi-arbetsformedlingen.js +3 -3
- package/dist/esm/digi-badge-notification.entry.js +1 -1
- package/dist/esm/digi-badge-status.entry.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +2 -2
- package/dist/esm/digi-button_31.entry.js +1505 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +2492 -0
- package/dist/esm/digi-calendar-week-view.entry.js +7 -6
- package/dist/esm/digi-calendar_2.entry.js +464 -0
- package/dist/esm/digi-chart-line.entry.js +2 -2
- package/dist/esm/digi-code-example.entry.js +6 -6
- package/dist/esm/digi-code.entry.js +2 -2
- package/dist/esm/digi-context-menu.entry.js +4 -4
- package/dist/esm/digi-dialog.entry.js +13 -12
- package/dist/esm/digi-expandable-accordion.entry.js +2 -2
- package/dist/esm/digi-expandable-faq-item.entry.js +5 -5
- package/dist/esm/digi-expandable-faq.entry.js +3 -3
- package/dist/esm/digi-form-category-filter.entry.js +3 -3
- package/dist/esm/digi-form-checkbox.entry.js +3 -3
- package/dist/esm/digi-form-error-list.entry.js +13 -12
- package/dist/esm/digi-form-fieldset_2.entry.js +117 -0
- package/dist/esm/digi-form-file-upload.entry.js +11 -10
- package/dist/esm/digi-form-filter.entry.js +6 -6
- package/dist/esm/digi-form-input-search.entry.js +5 -4
- package/dist/esm/digi-form-input.entry.js +173 -0
- package/dist/esm/digi-form-label_5.entry.js +167 -0
- package/dist/esm/digi-form-radiogroup.entry.js +3 -7
- package/dist/esm/digi-form-receipt.entry.js +11 -10
- package/dist/esm/digi-form-select-filter.entry.js +17 -16
- package/dist/esm/digi-form-select_2.entry.js +171 -0
- package/dist/esm/digi-form-textarea.entry.js +129 -0
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +3 -3
- package/dist/esm/digi-icon-apple.entry.js +3 -3
- package/dist/esm/digi-icon-archive-outline.entry.js +3 -3
- package/dist/esm/digi-icon-archive.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-back.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-down.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-left.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-right.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +3 -3
- package/dist/esm/digi-icon-arrow-up.entry.js +3 -3
- package/dist/esm/digi-icon-at.entry.js +3 -3
- package/dist/esm/digi-icon-bell.entry.js +3 -3
- package/dist/esm/digi-icon-book.entry.js +3 -3
- package/dist/esm/digi-icon-bookmark-outline.entry.js +3 -3
- package/dist/esm/digi-icon-bookmark-solid.entry.js +3 -3
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +3 -3
- package/dist/esm/digi-icon-bubble.entry.js +3 -3
- package/dist/esm/digi-icon-building-outline.entry.js +3 -3
- package/dist/esm/digi-icon-building-solid.entry.js +3 -3
- package/dist/esm/digi-icon-bullseye.entry.js +3 -3
- package/dist/esm/digi-icon-calculator-solid.entry.js +3 -3
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +3 -3
- package/dist/esm/digi-icon-calendar.entry.js +3 -3
- package/dist/esm/digi-icon-caret-circle-right.entry.js +3 -3
- package/dist/esm/digi-icon-caret-down_2.entry.js +5 -5
- package/dist/esm/digi-icon-caret-left.entry.js +3 -3
- package/dist/esm/digi-icon-caret-right.entry.js +3 -3
- package/dist/esm/digi-icon-chart_2.entry.js +5 -5
- package/dist/esm/digi-icon-chat.entry.js +3 -3
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +3 -3
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +9 -9
- package/dist/esm/digi-icon-check.entry.js +3 -3
- package/dist/esm/digi-icon-checklist.entry.js +3 -3
- package/dist/esm/digi-icon-chevron-down.entry.js +3 -3
- package/dist/esm/digi-icon-chevron-left.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-right.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-up.entry.js +3 -3
- package/dist/esm/digi-icon-clock.entry.js +3 -3
- package/dist/esm/digi-icon-communication-play-solid.entry.js +3 -3
- package/dist/esm/digi-icon-compress-alt.entry.js +3 -3
- package/dist/esm/digi-icon-comunication-case.entry.js +3 -3
- package/dist/esm/digi-icon-comunication-flag.entry.js +3 -3
- package/dist/esm/digi-icon-comunication-graduate.entry.js +3 -3
- package/dist/esm/digi-icon-comunication-play.entry.js +3 -3
- package/dist/esm/digi-icon-cooperation.entry.js +3 -3
- package/dist/esm/digi-icon-danger-outline.entry.js +3 -3
- package/dist/esm/digi-icon-download.entry.js +3 -3
- package/dist/esm/digi-icon-dxa.entry.js +3 -3
- package/dist/esm/digi-icon-edit.entry.js +3 -3
- package/dist/esm/digi-icon-ellipsis.entry.js +3 -3
- package/dist/esm/digi-icon-envelope-filled.entry.js +3 -3
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +3 -3
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +3 -3
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +3 -3
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +3 -3
- package/dist/esm/digi-icon-expand-alt.entry.js +3 -3
- package/dist/esm/digi-icon-eye-slash.entry.js +3 -3
- package/dist/esm/digi-icon-eye.entry.js +3 -3
- package/dist/esm/digi-icon-facebook-square.entry.js +3 -3
- package/dist/esm/digi-icon-file-add.entry.js +2 -2
- package/dist/esm/digi-icon-file-document.entry.js +3 -3
- package/dist/esm/digi-icon-file-excel.entry.js +3 -3
- package/dist/esm/digi-icon-file-export.entry.js +2 -2
- package/dist/esm/digi-icon-file-governing.entry.js +3 -3
- package/dist/esm/digi-icon-file-pdf.entry.js +3 -3
- package/dist/esm/digi-icon-file-powerpoint.entry.js +3 -3
- package/dist/esm/digi-icon-file-remove.entry.js +2 -2
- package/dist/esm/digi-icon-file-word.entry.js +3 -3
- package/dist/esm/digi-icon-film.entry.js +3 -3
- package/dist/esm/digi-icon-filter.entry.js +3 -3
- package/dist/esm/digi-icon-folder-add.entry.js +2 -2
- package/dist/esm/digi-icon-folder-directory.entry.js +2 -2
- package/dist/esm/digi-icon-folder-open.entry.js +2 -2
- package/dist/esm/digi-icon-folder.entry.js +2 -2
- package/dist/esm/digi-icon-globe-filled.entry.js +3 -3
- package/dist/esm/digi-icon-headphones.entry.js +3 -3
- package/dist/esm/digi-icon-heart-solid.entry.js +3 -3
- package/dist/esm/digi-icon-heart.entry.js +3 -3
- package/dist/esm/digi-icon-history.entry.js +3 -3
- package/dist/esm/digi-icon-home.entry.js +3 -3
- package/dist/esm/digi-icon-image.entry.js +3 -3
- package/dist/esm/digi-icon-info-circle-solid.entry.js +3 -3
- package/dist/esm/digi-icon-instagram.entry.js +3 -3
- package/dist/esm/digi-icon-job-suggestion.entry.js +3 -3
- package/dist/esm/digi-icon-language-outline.entry.js +3 -3
- package/dist/esm/digi-icon-language.entry.js +3 -3
- package/dist/esm/digi-icon-laptop-phone.entry.js +3 -3
- package/dist/esm/digi-icon-lattlast.entry.js +3 -3
- package/dist/esm/digi-icon-licence-bus.entry.js +3 -3
- package/dist/esm/digi-icon-licence-car.entry.js +3 -3
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +3 -3
- package/dist/esm/digi-icon-licence-truck.entry.js +3 -3
- package/dist/esm/digi-icon-lightbulb.entry.js +3 -3
- package/dist/esm/digi-icon-linkedin-in.entry.js +3 -3
- package/dist/esm/digi-icon-list-ul_6.entry.js +13 -13
- package/dist/esm/digi-icon-lock.entry.js +3 -3
- package/dist/esm/digi-icon-marker-filled.entry.js +3 -3
- package/dist/esm/digi-icon-marker.entry.js +3 -3
- package/dist/esm/digi-icon-media-course.entry.js +3 -3
- package/dist/esm/digi-icon-media-podcast.entry.js +3 -3
- package/dist/esm/digi-icon-microphone-off.entry.js +3 -3
- package/dist/esm/digi-icon-microphone.entry.js +3 -3
- package/dist/esm/digi-icon-minus_2.entry.js +5 -5
- package/dist/esm/digi-icon-move.entry.js +3 -3
- package/dist/esm/digi-icon-notification-error_4.entry.js +9 -9
- package/dist/esm/digi-icon-online-interview.entry.js +3 -3
- package/dist/esm/digi-icon-online-meeting.entry.js +3 -3
- package/dist/esm/digi-icon-online-task.entry.js +3 -3
- package/dist/esm/digi-icon-open-source.entry.js +3 -3
- package/dist/esm/digi-icon-palette.entry.js +3 -3
- package/dist/esm/digi-icon-paste.entry.js +2 -2
- package/dist/esm/digi-icon-pen.entry.js +3 -3
- package/dist/esm/digi-icon-phone-hangup.entry.js +3 -3
- package/dist/esm/digi-icon-phone.entry.js +3 -3
- package/dist/esm/digi-icon-print.entry.js +3 -3
- package/dist/esm/digi-icon-read.entry.js +3 -3
- package/dist/esm/digi-icon-redo.entry.js +3 -3
- package/dist/esm/digi-icon-scale.entry.js +2 -2
- package/dist/esm/digi-icon-screensharing-off.entry.js +3 -3
- package/dist/esm/digi-icon-screensharing.entry.js +3 -3
- package/dist/esm/digi-icon-search.entry.js +3 -3
- package/dist/esm/digi-icon-send-outline.entry.js +3 -3
- package/dist/esm/digi-icon-send-solid.entry.js +3 -3
- package/dist/esm/digi-icon-settings.entry.js +3 -3
- package/dist/esm/digi-icon-share-alt.entry.js +3 -3
- package/dist/esm/digi-icon-share-chain.entry.js +3 -3
- package/dist/esm/digi-icon-sliders-h.entry.js +3 -3
- package/dist/esm/digi-icon-sokkandidat.entry.js +3 -3
- package/dist/esm/digi-icon-sort-down.entry.js +3 -3
- package/dist/esm/digi-icon-sort-up.entry.js +3 -3
- package/dist/esm/digi-icon-sort.entry.js +3 -3
- package/dist/esm/digi-icon-spinner.entry.js +3 -3
- package/dist/esm/digi-icon-star-reg.entry.js +3 -3
- package/dist/esm/digi-icon-star.entry.js +3 -3
- package/dist/esm/digi-icon-suitcase-outline.entry.js +3 -3
- package/dist/esm/digi-icon-suitcase-solid.entry.js +3 -3
- package/dist/esm/digi-icon-system-assistance.entry.js +3 -3
- package/dist/esm/digi-icon-table-column.entry.js +3 -3
- package/dist/esm/digi-icon-table-row.entry.js +3 -3
- package/dist/esm/digi-icon-task-done.entry.js +3 -3
- package/dist/esm/digi-icon-toggle-off.entry.js +3 -3
- package/dist/esm/digi-icon-toggle-on.entry.js +3 -3
- package/dist/esm/digi-icon-twitter.entry.js +3 -3
- package/dist/esm/digi-icon-tyck-till.entry.js +3 -3
- package/dist/esm/digi-icon-unlock.entry.js +3 -3
- package/dist/esm/digi-icon-update.entry.js +3 -3
- package/dist/esm/digi-icon-upload.entry.js +3 -3
- package/dist/esm/digi-icon-user-add.entry.js +2 -2
- package/dist/esm/digi-icon-user-alt.entry.js +3 -3
- package/dist/esm/digi-icon-user-edit.entry.js +2 -2
- package/dist/esm/digi-icon-users-solid.entry.js +3 -3
- package/dist/esm/digi-icon-videocamera-off.entry.js +3 -3
- package/dist/esm/digi-icon-videocamera.entry.js +3 -3
- package/dist/esm/digi-icon-volume.entry.js +3 -3
- package/dist/esm/digi-icon-web-tv.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal0.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal1.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal2.entry.js +3 -3
- package/dist/esm/digi-icon-wifi-signal3.entry.js +3 -3
- package/dist/esm/digi-icon-window.entry.js +3 -3
- package/dist/esm/digi-icon-x-button.entry.js +3 -3
- package/dist/esm/digi-icon-youtube.entry.js +3 -3
- package/dist/esm/digi-info-card-multi-container.entry.js +2 -2
- package/dist/esm/digi-info-card-multi.entry.js +2 -2
- package/dist/esm/digi-info-card.entry.js +2 -2
- package/dist/esm/digi-layout-columns.entry.js +2 -2
- package/dist/esm/digi-link-button.entry.js +2 -2
- package/dist/esm/{digi-icon-external-link-alt_2.entry.js → digi-link-external.entry.js} +3 -26
- package/dist/esm/digi-link-internal.entry.js +2 -2
- package/dist/esm/digi-list.entry.js +2 -2
- package/dist/esm/digi-loader-skeleton.entry.js +4 -4
- package/dist/esm/digi-loader-spinner.entry.js +2 -2
- package/dist/esm/digi-media-figure.entry.js +2 -2
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +4 -4
- package/dist/esm/digi-navigation-pagination.entry.js +16 -15
- package/dist/esm/digi-navigation-sidebar.entry.js +3 -3
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +7 -7
- package/dist/esm/digi-navigation-vertical-menu.entry.js +2 -2
- package/dist/esm/digi-notification-alert.entry.js +12 -11
- package/dist/esm/digi-notification-error-page.entry.js +13 -12
- package/dist/esm/digi-progress-circle.entry.js +9 -9
- package/dist/esm/digi-progress-indicator.entry.js +4 -4
- package/dist/esm/digi-progress-list-item.entry.js +6 -6
- package/dist/esm/digi-progress-list.entry.js +2 -2
- package/dist/esm/digi-progressbar.entry.js +3 -3
- package/dist/esm/digi-quote.entry.js +2 -2
- package/dist/esm/digi-table.entry.js +2 -2
- package/dist/esm/digi-tablist-panel.entry.js +3 -3
- package/dist/esm/digi-tablist.entry.js +6 -6
- package/dist/esm/digi-tag-media.entry.js +3 -3
- package/dist/esm/digi-tag.entry.js +2 -2
- package/dist/esm/digi-tools-feedback-banner.entry.js +2 -2
- package/dist/esm/digi-tools-feedback-rating.entry.js +2 -2
- package/dist/esm/digi-tools-feedback.entry.js +11 -10
- package/dist/esm/digi-tools-theme-provider.entry.js +2 -2
- package/dist/esm/digi-typography-meta.entry.js +2 -2
- package/dist/esm/digi-typography-time.entry.js +2 -2
- package/dist/esm/digi-util-detect-click-outside.entry.js +2 -2
- package/dist/esm/digi-util-detect-focus-outside.entry.js +2 -2
- package/dist/esm/digi-util-keyup-handler.entry.js +2 -2
- package/dist/esm/digi-util-mutation-observer.entry.js +60 -0
- package/dist/esm/digi-util-resize-observer.entry.js +2 -2
- package/dist/esm/{form-validation-message-variation.enum-f7835fc5.js → form-file-upload-variation.enum-9c49ec5e.js} +1 -8
- package/dist/esm/form-input-search-variation.enum-6d8dc10a.js +15 -0
- package/dist/esm/{form-input-type.enum-a6bba983.js → form-input-type.enum-3da3db27.js} +1 -15
- package/dist/esm/form-input-variation.enum-64d9450f.js +29 -0
- package/dist/esm/form-radiobutton-variation.enum-64c6038b.js +18 -0
- package/dist/esm/form-select-variation.enum-f2f6098d.js +16 -0
- package/dist/esm/form-textarea-variation.enum-05017e8e.js +17 -0
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
- package/dist/esm/{index-bfea2cc5.js → index-148a7577.js} +36 -81
- package/dist/esm/{index-dc6b83f7.js → index-2fce392f.js} +3 -170
- package/dist/esm/index-5b6c95c6.js +63 -0
- package/dist/esm/index-8685f88d.js +170 -0
- package/dist/esm/index.js +9 -8
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{typography-variation.enum-dea0fe69.js → typography-variation.enum-5150a9b3.js} +63 -85
- package/dist/types/components/_calendar/calendar/calendar.d.ts +13 -9
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +15 -36
- package/dist/types/components/_form/form-fieldset/form-fieldset.d.ts +4 -15
- package/dist/types/components/_form/form-input/form-input.d.ts +0 -1
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +0 -16
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +0 -1
- package/dist/types/components/_header/header/header.d.ts +35 -2
- package/dist/types/components/_header/header-navigation/header-navigation.d.ts +1 -0
- package/dist/types/components/_logo/logo/logo.d.ts +19 -7
- package/dist/types/components/_logo/title-logo/title-logo-variation.enum.d.ts +5 -0
- package/dist/types/components/_logo/title-logo/title-logo.d.ts +52 -0
- package/dist/types/components.d.ts +145 -120
- package/dist/types/enums.d.ts +1 -2
- package/dist/types/global/utils/applyStencilScope/applyStencilScope.util.d.ts +5 -0
- package/dist/types/global/utils/applyStencilScope/index.d.ts +1 -0
- package/hydrate/index.js +859 -784
- package/hydrate/index.mjs +859 -784
- package/package.json +1 -1
- package/components/p-24fe2189.js +0 -9
- package/components/p-290d1746.js +0 -13
- package/components/p-82193a3f.js +0 -60
- package/components/p-9a1bec0e.js +0 -9
- package/dist/cjs/digi-button_19.cjs.entry.js +0 -4066
- package/dist/cjs/digi-code-block_3.cjs.entry.js +0 -213
- package/dist/cjs/digi-footer-card.cjs.entry.js +0 -29
- package/dist/cjs/digi-footer.cjs.entry.js +0 -71
- package/dist/cjs/digi-header-avatar.cjs.entry.js +0 -114
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +0 -27
- package/dist/cjs/digi-header-navigation.cjs.entry.js +0 -224
- package/dist/cjs/digi-header-notification.cjs.entry.js +0 -23
- package/dist/cjs/digi-header.cjs.entry.js +0 -92
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-bars.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-copy.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-globe.cjs.entry.js +0 -30
- package/dist/cjs/digi-icon-sign.cjs.entry.js +0 -30
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +0 -92
- package/dist/cjs/digi-link.cjs.entry.js +0 -75
- package/dist/cjs/digi-logo_2.cjs.entry.js +0 -64
- package/dist/cjs/digi-media-image_2.cjs.entry.js +0 -167
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +0 -38
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +0 -20
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +0 -48
- package/dist/cjs/footer-card-variation.enum-99555edc.js +0 -8
- package/dist/cjs/form-radiogroup-validation.enum-03a17d4d.js +0 -9
- package/dist/cjs/layout-container-max-width.enum-7e637f44.js +0 -21
- package/dist/cjs/logo-variation.enum-607fadb4.js +0 -13
- package/dist/cjs/typography-heading-jumbo-variation.enum-8677e099.js +0 -17
- package/dist/collection/components/_form/form-fieldset/form-fieldset-validation.enum.js +0 -7
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup-validation.enum.js +0 -7
- package/dist/digi-arbetsformedlingen/p-02a6c3e6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0db17f9e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11035a85.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1b26e051.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1e7ead36.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-210f07d5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2242582b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-290d1746.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2a814ab4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-300aa9ef.js +0 -1
- package/dist/digi-arbetsformedlingen/p-35360e65.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38380fae.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3887bb40.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4101f8a9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-460572d9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4659accd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4b87e336.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4f68f34d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5762d73d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-580403f8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5990798b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c6726e4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5f8a3b26.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-614d0764.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-648ed420.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6c701c64.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70cd00fd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7899fdd3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7f574281.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-871eb27f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8a89811e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8dde1275.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-903cd4b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-94170a0d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9eed8e11.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a105d9fe.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa63b05a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa7b3a21.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad3bc89a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b2258360.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb92f2eb.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c1da0c35.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c3cda078.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c64b4626.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cf66e56b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1886fff.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d3a16cd3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d4f972c0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-db5a83cf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-db5be953.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e2fe3edf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e9f759f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ee88e3f1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f6ceba96.entry.js +0 -1
- package/dist/esm/digi-button_19.entry.js +0 -4044
- package/dist/esm/digi-code-block_3.entry.js +0 -207
- package/dist/esm/digi-footer-card.entry.js +0 -25
- package/dist/esm/digi-footer.entry.js +0 -67
- package/dist/esm/digi-header-avatar.entry.js +0 -110
- package/dist/esm/digi-header-navigation-item.entry.js +0 -23
- package/dist/esm/digi-header-navigation.entry.js +0 -220
- package/dist/esm/digi-header-notification.entry.js +0 -19
- package/dist/esm/digi-header.entry.js +0 -88
- package/dist/esm/digi-icon-accessibility-universal.entry.js +0 -26
- package/dist/esm/digi-icon-bars.entry.js +0 -26
- package/dist/esm/digi-icon-bell-filled.entry.js +0 -26
- package/dist/esm/digi-icon-copy.entry.js +0 -26
- package/dist/esm/digi-icon-envelope.entry.js +0 -26
- package/dist/esm/digi-icon-globe.entry.js +0 -26
- package/dist/esm/digi-icon-sign.entry.js +0 -26
- package/dist/esm/digi-layout-block_2.entry.js +0 -87
- package/dist/esm/digi-link.entry.js +0 -71
- package/dist/esm/digi-logo_2.entry.js +0 -59
- package/dist/esm/digi-media-image_2.entry.js +0 -162
- package/dist/esm/digi-typography-heading-jumbo.entry.js +0 -34
- package/dist/esm/digi-typography-preamble.entry.js +0 -16
- package/dist/esm/digi-util-breakpoint-observer.entry.js +0 -44
- package/dist/esm/footer-card-variation.enum-cc732148.js +0 -8
- package/dist/esm/form-radiogroup-validation.enum-d790fc66.js +0 -9
- package/dist/esm/layout-container-max-width.enum-c40018ac.js +0 -21
- package/dist/esm/logo-variation.enum-5b68b79f.js +0 -13
- package/dist/esm/typography-heading-jumbo-variation.enum-eb737f1b.js +0 -17
- package/dist/types/components/_form/form-fieldset/form-fieldset-validation.enum.d.ts +0 -6
- package/dist/types/components/_form/form-radiogroup/form-radiogroup-validation.enum.d.ts +0 -6
|
@@ -0,0 +1,2492 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-148a7577.js';
|
|
2
|
+
import { _ as _t } from './text-26e02c8d.js';
|
|
3
|
+
import './badge-notification-shape.enum-e15a6245.js';
|
|
4
|
+
import { C as CalendarDatepickerValidation } from './typography-variation.enum-5150a9b3.js';
|
|
5
|
+
import './badge-status-variation.enum-8d6370ff.js';
|
|
6
|
+
import './code-example-variation.enum-e656d235.js';
|
|
7
|
+
import './form-input-search-variation.enum-6d8dc10a.js';
|
|
8
|
+
import './button-variation.enum-94fffdd6.js';
|
|
9
|
+
import './calendar-week-view-heading-level.enum-6774297c.js';
|
|
10
|
+
import './bar-chart-variation.enum-97c0b47f.js';
|
|
11
|
+
import './code-variation.enum-1eee7c7a.js';
|
|
12
|
+
import './expandable-accordion-header-level.enum-85681e2f.js';
|
|
13
|
+
import './expandable-faq-item-variation.enum-a8cb225b.js';
|
|
14
|
+
import './expandable-faq-variation.enum-6934c367.js';
|
|
15
|
+
import './form-checkbox-variation.enum-83e906fc.js';
|
|
16
|
+
import './form-file-upload-variation.enum-9c49ec5e.js';
|
|
17
|
+
import './form-input-type.enum-3da3db27.js';
|
|
18
|
+
import { a as FormInputValidation } from './form-input-variation.enum-64d9450f.js';
|
|
19
|
+
import './form-radiobutton-variation.enum-64c6038b.js';
|
|
20
|
+
import './form-select-variation.enum-f2f6098d.js';
|
|
21
|
+
import './form-textarea-variation.enum-05017e8e.js';
|
|
22
|
+
import './form-validation-message-variation.enum-bcef8a9d.js';
|
|
23
|
+
import './info-card-multi-type.enum-07ee124f.js';
|
|
24
|
+
import './info-card-variation.enum-2ccc52c1.js';
|
|
25
|
+
import './layout-block-variation.enum-b7a20db4.js';
|
|
26
|
+
import './layout-columns-variation.enum-34f7754e.js';
|
|
27
|
+
import './link-button-variation.enum-84d4976f.js';
|
|
28
|
+
import './list-type.enum-fbb331ad.js';
|
|
29
|
+
import './loader-skeleton-variation.enum-f9f867b4.js';
|
|
30
|
+
import './loader-spinner-size.enum-0b246fa0.js';
|
|
31
|
+
import './media-figure-alignment.enum-a1d36567.js';
|
|
32
|
+
import './navigation-sidebar-variation.enum-8fead764.js';
|
|
33
|
+
import './navigation-vertical-menu-variation.enum-c30b0ea9.js';
|
|
34
|
+
import './progress-indicator-variation.enum-b12ba50a.js';
|
|
35
|
+
import './progress-list-item-variation.enum-384b9a3a.js';
|
|
36
|
+
import './progress-list-variation.enum-300bd89d.js';
|
|
37
|
+
import './progressbar-variation.enum-40adaab4.js';
|
|
38
|
+
import './quote-image-inner-position.enum-8e9b1e65.js';
|
|
39
|
+
import './table-variation.enum-dd9366b6.js';
|
|
40
|
+
import './tag-media-icon.enum-fefa191c.js';
|
|
41
|
+
import './tag-size.enum-403e0cd8.js';
|
|
42
|
+
import './tools-feedback-banner-type.enum-74b4e580.js';
|
|
43
|
+
import './tools-feedback-rating-variation.enum-29058ff2.js';
|
|
44
|
+
import './tools-theme-provider.brand.enum-8c5a98c9.js';
|
|
45
|
+
import './typography-meta-variation.enum-1f7c2878.js';
|
|
46
|
+
import './typography-time-variation.enum-34c830ef.js';
|
|
47
|
+
import './util-breakpoint-observer-breakpoints.enum-6d004731.js';
|
|
48
|
+
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
|
|
49
|
+
import { d as detectClickOutside } from './detectClickOutside.util-72594957.js';
|
|
50
|
+
import { r as requiredArgs, t as toDate, i as isValid } from './index-8685f88d.js';
|
|
51
|
+
import { t as toInteger, g as getUTCISOWeek, a as getUTCWeek, b as getUTCWeekYear, s as startOfUTCWeek, c as startOfUTCISOWeek, i as isProtectedWeekYearToken, d as throwProtectedError, e as isProtectedDayOfYearToken, f as subMilliseconds, h as getTimezoneOffsetInMilliseconds, j as defaultLocale, l as longFormatters } from './index-2fce392f.js';
|
|
52
|
+
import { i as isBefore, a as isAfter } from './index-5b6c95c6.js';
|
|
53
|
+
import './detectClosest.util-58a7504f.js';
|
|
54
|
+
|
|
55
|
+
function assign(target, dirtyObject) {
|
|
56
|
+
if (target == null) {
|
|
57
|
+
throw new TypeError('assign requires that input parameter not be null or undefined');
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
dirtyObject = dirtyObject || {};
|
|
61
|
+
|
|
62
|
+
for (var property in dirtyObject) {
|
|
63
|
+
if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) {
|
|
64
|
+
target[property] = dirtyObject[property];
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return target;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
72
|
+
|
|
73
|
+
function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {
|
|
74
|
+
requiredArgs(2, arguments);
|
|
75
|
+
var options = dirtyOptions || {};
|
|
76
|
+
var locale = options.locale;
|
|
77
|
+
var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
|
|
78
|
+
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);
|
|
79
|
+
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
80
|
+
|
|
81
|
+
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
82
|
+
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
var date = toDate(dirtyDate);
|
|
86
|
+
var day = toInteger(dirtyDay);
|
|
87
|
+
var currentDay = date.getUTCDay();
|
|
88
|
+
var remainder = day % 7;
|
|
89
|
+
var dayIndex = (remainder + 7) % 7;
|
|
90
|
+
var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
|
|
91
|
+
date.setUTCDate(date.getUTCDate() + diff);
|
|
92
|
+
return date;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
96
|
+
|
|
97
|
+
function setUTCISODay(dirtyDate, dirtyDay) {
|
|
98
|
+
requiredArgs(2, arguments);
|
|
99
|
+
var day = toInteger(dirtyDay);
|
|
100
|
+
|
|
101
|
+
if (day % 7 === 0) {
|
|
102
|
+
day = day - 7;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
var weekStartsOn = 1;
|
|
106
|
+
var date = toDate(dirtyDate);
|
|
107
|
+
var currentDay = date.getUTCDay();
|
|
108
|
+
var remainder = day % 7;
|
|
109
|
+
var dayIndex = (remainder + 7) % 7;
|
|
110
|
+
var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
|
|
111
|
+
date.setUTCDate(date.getUTCDate() + diff);
|
|
112
|
+
return date;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
116
|
+
|
|
117
|
+
function setUTCISOWeek(dirtyDate, dirtyISOWeek) {
|
|
118
|
+
requiredArgs(2, arguments);
|
|
119
|
+
var date = toDate(dirtyDate);
|
|
120
|
+
var isoWeek = toInteger(dirtyISOWeek);
|
|
121
|
+
var diff = getUTCISOWeek(date) - isoWeek;
|
|
122
|
+
date.setUTCDate(date.getUTCDate() - diff * 7);
|
|
123
|
+
return date;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// See issue: https://github.com/date-fns/date-fns/issues/376
|
|
127
|
+
|
|
128
|
+
function setUTCWeek(dirtyDate, dirtyWeek, options) {
|
|
129
|
+
requiredArgs(2, arguments);
|
|
130
|
+
var date = toDate(dirtyDate);
|
|
131
|
+
var week = toInteger(dirtyWeek);
|
|
132
|
+
var diff = getUTCWeek(date, options) - week;
|
|
133
|
+
date.setUTCDate(date.getUTCDate() - diff * 7);
|
|
134
|
+
return date;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
var MILLISECONDS_IN_HOUR = 3600000;
|
|
138
|
+
var MILLISECONDS_IN_MINUTE = 60000;
|
|
139
|
+
var MILLISECONDS_IN_SECOND = 1000;
|
|
140
|
+
var numericPatterns = {
|
|
141
|
+
month: /^(1[0-2]|0?\d)/,
|
|
142
|
+
// 0 to 12
|
|
143
|
+
date: /^(3[0-1]|[0-2]?\d)/,
|
|
144
|
+
// 0 to 31
|
|
145
|
+
dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
|
|
146
|
+
// 0 to 366
|
|
147
|
+
week: /^(5[0-3]|[0-4]?\d)/,
|
|
148
|
+
// 0 to 53
|
|
149
|
+
hour23h: /^(2[0-3]|[0-1]?\d)/,
|
|
150
|
+
// 0 to 23
|
|
151
|
+
hour24h: /^(2[0-4]|[0-1]?\d)/,
|
|
152
|
+
// 0 to 24
|
|
153
|
+
hour11h: /^(1[0-1]|0?\d)/,
|
|
154
|
+
// 0 to 11
|
|
155
|
+
hour12h: /^(1[0-2]|0?\d)/,
|
|
156
|
+
// 0 to 12
|
|
157
|
+
minute: /^[0-5]?\d/,
|
|
158
|
+
// 0 to 59
|
|
159
|
+
second: /^[0-5]?\d/,
|
|
160
|
+
// 0 to 59
|
|
161
|
+
singleDigit: /^\d/,
|
|
162
|
+
// 0 to 9
|
|
163
|
+
twoDigits: /^\d{1,2}/,
|
|
164
|
+
// 0 to 99
|
|
165
|
+
threeDigits: /^\d{1,3}/,
|
|
166
|
+
// 0 to 999
|
|
167
|
+
fourDigits: /^\d{1,4}/,
|
|
168
|
+
// 0 to 9999
|
|
169
|
+
anyDigitsSigned: /^-?\d+/,
|
|
170
|
+
singleDigitSigned: /^-?\d/,
|
|
171
|
+
// 0 to 9, -0 to -9
|
|
172
|
+
twoDigitsSigned: /^-?\d{1,2}/,
|
|
173
|
+
// 0 to 99, -0 to -99
|
|
174
|
+
threeDigitsSigned: /^-?\d{1,3}/,
|
|
175
|
+
// 0 to 999, -0 to -999
|
|
176
|
+
fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999
|
|
177
|
+
|
|
178
|
+
};
|
|
179
|
+
var timezonePatterns = {
|
|
180
|
+
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
181
|
+
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
182
|
+
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
183
|
+
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
184
|
+
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
function parseNumericPattern(pattern, string, valueCallback) {
|
|
188
|
+
var matchResult = string.match(pattern);
|
|
189
|
+
|
|
190
|
+
if (!matchResult) {
|
|
191
|
+
return null;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
var value = parseInt(matchResult[0], 10);
|
|
195
|
+
return {
|
|
196
|
+
value: valueCallback ? valueCallback(value) : value,
|
|
197
|
+
rest: string.slice(matchResult[0].length)
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function parseTimezonePattern(pattern, string) {
|
|
202
|
+
var matchResult = string.match(pattern);
|
|
203
|
+
|
|
204
|
+
if (!matchResult) {
|
|
205
|
+
return null;
|
|
206
|
+
} // Input is 'Z'
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
if (matchResult[0] === 'Z') {
|
|
210
|
+
return {
|
|
211
|
+
value: 0,
|
|
212
|
+
rest: string.slice(1)
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
var sign = matchResult[1] === '+' ? 1 : -1;
|
|
217
|
+
var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
|
|
218
|
+
var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
|
|
219
|
+
var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
|
|
220
|
+
return {
|
|
221
|
+
value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),
|
|
222
|
+
rest: string.slice(matchResult[0].length)
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function parseAnyDigitsSigned(string, valueCallback) {
|
|
227
|
+
return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function parseNDigits(n, string, valueCallback) {
|
|
231
|
+
switch (n) {
|
|
232
|
+
case 1:
|
|
233
|
+
return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);
|
|
234
|
+
|
|
235
|
+
case 2:
|
|
236
|
+
return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);
|
|
237
|
+
|
|
238
|
+
case 3:
|
|
239
|
+
return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);
|
|
240
|
+
|
|
241
|
+
case 4:
|
|
242
|
+
return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);
|
|
243
|
+
|
|
244
|
+
default:
|
|
245
|
+
return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), string, valueCallback);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function parseNDigitsSigned(n, string, valueCallback) {
|
|
250
|
+
switch (n) {
|
|
251
|
+
case 1:
|
|
252
|
+
return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);
|
|
253
|
+
|
|
254
|
+
case 2:
|
|
255
|
+
return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);
|
|
256
|
+
|
|
257
|
+
case 3:
|
|
258
|
+
return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);
|
|
259
|
+
|
|
260
|
+
case 4:
|
|
261
|
+
return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);
|
|
262
|
+
|
|
263
|
+
default:
|
|
264
|
+
return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), string, valueCallback);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function dayPeriodEnumToHours(enumValue) {
|
|
269
|
+
switch (enumValue) {
|
|
270
|
+
case 'morning':
|
|
271
|
+
return 4;
|
|
272
|
+
|
|
273
|
+
case 'evening':
|
|
274
|
+
return 17;
|
|
275
|
+
|
|
276
|
+
case 'pm':
|
|
277
|
+
case 'noon':
|
|
278
|
+
case 'afternoon':
|
|
279
|
+
return 12;
|
|
280
|
+
|
|
281
|
+
case 'am':
|
|
282
|
+
case 'midnight':
|
|
283
|
+
case 'night':
|
|
284
|
+
default:
|
|
285
|
+
return 0;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
function normalizeTwoDigitYear(twoDigitYear, currentYear) {
|
|
290
|
+
var isCommonEra = currentYear > 0; // Absolute number of the current year:
|
|
291
|
+
// 1 -> 1 AC
|
|
292
|
+
// 0 -> 1 BC
|
|
293
|
+
// -1 -> 2 BC
|
|
294
|
+
|
|
295
|
+
var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
|
|
296
|
+
var result;
|
|
297
|
+
|
|
298
|
+
if (absCurrentYear <= 50) {
|
|
299
|
+
result = twoDigitYear || 100;
|
|
300
|
+
} else {
|
|
301
|
+
var rangeEnd = absCurrentYear + 50;
|
|
302
|
+
var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
|
|
303
|
+
var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
|
|
304
|
+
result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
return isCommonEra ? result : 1 - result;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
311
|
+
var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // User for validation
|
|
312
|
+
|
|
313
|
+
function isLeapYearIndex(year) {
|
|
314
|
+
return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
|
|
315
|
+
}
|
|
316
|
+
/*
|
|
317
|
+
* | | Unit | | Unit |
|
|
318
|
+
* |-----|--------------------------------|-----|--------------------------------|
|
|
319
|
+
* | a | AM, PM | A* | Milliseconds in day |
|
|
320
|
+
* | b | AM, PM, noon, midnight | B | Flexible day period |
|
|
321
|
+
* | c | Stand-alone local day of week | C* | Localized hour w/ day period |
|
|
322
|
+
* | d | Day of month | D | Day of year |
|
|
323
|
+
* | e | Local day of week | E | Day of week |
|
|
324
|
+
* | f | | F* | Day of week in month |
|
|
325
|
+
* | g* | Modified Julian day | G | Era |
|
|
326
|
+
* | h | Hour [1-12] | H | Hour [0-23] |
|
|
327
|
+
* | i! | ISO day of week | I! | ISO week of year |
|
|
328
|
+
* | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
|
|
329
|
+
* | k | Hour [1-24] | K | Hour [0-11] |
|
|
330
|
+
* | l* | (deprecated) | L | Stand-alone month |
|
|
331
|
+
* | m | Minute | M | Month |
|
|
332
|
+
* | n | | N | |
|
|
333
|
+
* | o! | Ordinal number modifier | O* | Timezone (GMT) |
|
|
334
|
+
* | p | | P | |
|
|
335
|
+
* | q | Stand-alone quarter | Q | Quarter |
|
|
336
|
+
* | r* | Related Gregorian year | R! | ISO week-numbering year |
|
|
337
|
+
* | s | Second | S | Fraction of second |
|
|
338
|
+
* | t! | Seconds timestamp | T! | Milliseconds timestamp |
|
|
339
|
+
* | u | Extended year | U* | Cyclic year |
|
|
340
|
+
* | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
|
|
341
|
+
* | w | Local week of year | W* | Week of month |
|
|
342
|
+
* | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
|
|
343
|
+
* | y | Year (abs) | Y | Local week-numbering year |
|
|
344
|
+
* | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
|
|
345
|
+
*
|
|
346
|
+
* Letters marked by * are not implemented but reserved by Unicode standard.
|
|
347
|
+
*
|
|
348
|
+
* Letters marked by ! are non-standard, but implemented by date-fns:
|
|
349
|
+
* - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)
|
|
350
|
+
* - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
|
|
351
|
+
* i.e. 7 for Sunday, 1 for Monday, etc.
|
|
352
|
+
* - `I` is ISO week of year, as opposed to `w` which is local week of year.
|
|
353
|
+
* - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
|
|
354
|
+
* `R` is supposed to be used in conjunction with `I` and `i`
|
|
355
|
+
* for universal ISO week-numbering date, whereas
|
|
356
|
+
* `Y` is supposed to be used in conjunction with `w` and `e`
|
|
357
|
+
* for week-numbering date specific to the locale.
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
var parsers = {
|
|
362
|
+
// Era
|
|
363
|
+
G: {
|
|
364
|
+
priority: 140,
|
|
365
|
+
parse: function (string, token, match, _options) {
|
|
366
|
+
switch (token) {
|
|
367
|
+
// AD, BC
|
|
368
|
+
case 'G':
|
|
369
|
+
case 'GG':
|
|
370
|
+
case 'GGG':
|
|
371
|
+
return match.era(string, {
|
|
372
|
+
width: 'abbreviated'
|
|
373
|
+
}) || match.era(string, {
|
|
374
|
+
width: 'narrow'
|
|
375
|
+
});
|
|
376
|
+
// A, B
|
|
377
|
+
|
|
378
|
+
case 'GGGGG':
|
|
379
|
+
return match.era(string, {
|
|
380
|
+
width: 'narrow'
|
|
381
|
+
});
|
|
382
|
+
// Anno Domini, Before Christ
|
|
383
|
+
|
|
384
|
+
case 'GGGG':
|
|
385
|
+
default:
|
|
386
|
+
return match.era(string, {
|
|
387
|
+
width: 'wide'
|
|
388
|
+
}) || match.era(string, {
|
|
389
|
+
width: 'abbreviated'
|
|
390
|
+
}) || match.era(string, {
|
|
391
|
+
width: 'narrow'
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
set: function (date, flags, value, _options) {
|
|
396
|
+
flags.era = value;
|
|
397
|
+
date.setUTCFullYear(value, 0, 1);
|
|
398
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
399
|
+
return date;
|
|
400
|
+
},
|
|
401
|
+
incompatibleTokens: ['R', 'u', 't', 'T']
|
|
402
|
+
},
|
|
403
|
+
// Year
|
|
404
|
+
y: {
|
|
405
|
+
// From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
|
|
406
|
+
// | Year | y | yy | yyy | yyyy | yyyyy |
|
|
407
|
+
// |----------|-------|----|-------|-------|-------|
|
|
408
|
+
// | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
|
|
409
|
+
// | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
|
|
410
|
+
// | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
|
|
411
|
+
// | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
|
|
412
|
+
// | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
|
|
413
|
+
priority: 130,
|
|
414
|
+
parse: function (string, token, match, _options) {
|
|
415
|
+
var valueCallback = function (year) {
|
|
416
|
+
return {
|
|
417
|
+
year: year,
|
|
418
|
+
isTwoDigitYear: token === 'yy'
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
switch (token) {
|
|
423
|
+
case 'y':
|
|
424
|
+
return parseNDigits(4, string, valueCallback);
|
|
425
|
+
|
|
426
|
+
case 'yo':
|
|
427
|
+
return match.ordinalNumber(string, {
|
|
428
|
+
unit: 'year',
|
|
429
|
+
valueCallback: valueCallback
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
default:
|
|
433
|
+
return parseNDigits(token.length, string, valueCallback);
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
validate: function (_date, value, _options) {
|
|
437
|
+
return value.isTwoDigitYear || value.year > 0;
|
|
438
|
+
},
|
|
439
|
+
set: function (date, flags, value, _options) {
|
|
440
|
+
var currentYear = date.getUTCFullYear();
|
|
441
|
+
|
|
442
|
+
if (value.isTwoDigitYear) {
|
|
443
|
+
var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
|
|
444
|
+
date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
|
|
445
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
446
|
+
return date;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
|
|
450
|
+
date.setUTCFullYear(year, 0, 1);
|
|
451
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
452
|
+
return date;
|
|
453
|
+
},
|
|
454
|
+
incompatibleTokens: ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']
|
|
455
|
+
},
|
|
456
|
+
// Local week-numbering year
|
|
457
|
+
Y: {
|
|
458
|
+
priority: 130,
|
|
459
|
+
parse: function (string, token, match, _options) {
|
|
460
|
+
var valueCallback = function (year) {
|
|
461
|
+
return {
|
|
462
|
+
year: year,
|
|
463
|
+
isTwoDigitYear: token === 'YY'
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
switch (token) {
|
|
468
|
+
case 'Y':
|
|
469
|
+
return parseNDigits(4, string, valueCallback);
|
|
470
|
+
|
|
471
|
+
case 'Yo':
|
|
472
|
+
return match.ordinalNumber(string, {
|
|
473
|
+
unit: 'year',
|
|
474
|
+
valueCallback: valueCallback
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
default:
|
|
478
|
+
return parseNDigits(token.length, string, valueCallback);
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
validate: function (_date, value, _options) {
|
|
482
|
+
return value.isTwoDigitYear || value.year > 0;
|
|
483
|
+
},
|
|
484
|
+
set: function (date, flags, value, options) {
|
|
485
|
+
var currentYear = getUTCWeekYear(date, options);
|
|
486
|
+
|
|
487
|
+
if (value.isTwoDigitYear) {
|
|
488
|
+
var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
|
|
489
|
+
date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
|
|
490
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
491
|
+
return startOfUTCWeek(date, options);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
|
|
495
|
+
date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
|
|
496
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
497
|
+
return startOfUTCWeek(date, options);
|
|
498
|
+
},
|
|
499
|
+
incompatibleTokens: ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
|
|
500
|
+
},
|
|
501
|
+
// ISO week-numbering year
|
|
502
|
+
R: {
|
|
503
|
+
priority: 130,
|
|
504
|
+
parse: function (string, token, _match, _options) {
|
|
505
|
+
if (token === 'R') {
|
|
506
|
+
return parseNDigitsSigned(4, string);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
return parseNDigitsSigned(token.length, string);
|
|
510
|
+
},
|
|
511
|
+
set: function (_date, _flags, value, _options) {
|
|
512
|
+
var firstWeekOfYear = new Date(0);
|
|
513
|
+
firstWeekOfYear.setUTCFullYear(value, 0, 4);
|
|
514
|
+
firstWeekOfYear.setUTCHours(0, 0, 0, 0);
|
|
515
|
+
return startOfUTCISOWeek(firstWeekOfYear);
|
|
516
|
+
},
|
|
517
|
+
incompatibleTokens: ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
|
|
518
|
+
},
|
|
519
|
+
// Extended year
|
|
520
|
+
u: {
|
|
521
|
+
priority: 130,
|
|
522
|
+
parse: function (string, token, _match, _options) {
|
|
523
|
+
if (token === 'u') {
|
|
524
|
+
return parseNDigitsSigned(4, string);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
return parseNDigitsSigned(token.length, string);
|
|
528
|
+
},
|
|
529
|
+
set: function (date, _flags, value, _options) {
|
|
530
|
+
date.setUTCFullYear(value, 0, 1);
|
|
531
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
532
|
+
return date;
|
|
533
|
+
},
|
|
534
|
+
incompatibleTokens: ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']
|
|
535
|
+
},
|
|
536
|
+
// Quarter
|
|
537
|
+
Q: {
|
|
538
|
+
priority: 120,
|
|
539
|
+
parse: function (string, token, match, _options) {
|
|
540
|
+
switch (token) {
|
|
541
|
+
// 1, 2, 3, 4
|
|
542
|
+
case 'Q':
|
|
543
|
+
case 'QQ':
|
|
544
|
+
// 01, 02, 03, 04
|
|
545
|
+
return parseNDigits(token.length, string);
|
|
546
|
+
// 1st, 2nd, 3rd, 4th
|
|
547
|
+
|
|
548
|
+
case 'Qo':
|
|
549
|
+
return match.ordinalNumber(string, {
|
|
550
|
+
unit: 'quarter'
|
|
551
|
+
});
|
|
552
|
+
// Q1, Q2, Q3, Q4
|
|
553
|
+
|
|
554
|
+
case 'QQQ':
|
|
555
|
+
return match.quarter(string, {
|
|
556
|
+
width: 'abbreviated',
|
|
557
|
+
context: 'formatting'
|
|
558
|
+
}) || match.quarter(string, {
|
|
559
|
+
width: 'narrow',
|
|
560
|
+
context: 'formatting'
|
|
561
|
+
});
|
|
562
|
+
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
563
|
+
|
|
564
|
+
case 'QQQQQ':
|
|
565
|
+
return match.quarter(string, {
|
|
566
|
+
width: 'narrow',
|
|
567
|
+
context: 'formatting'
|
|
568
|
+
});
|
|
569
|
+
// 1st quarter, 2nd quarter, ...
|
|
570
|
+
|
|
571
|
+
case 'QQQQ':
|
|
572
|
+
default:
|
|
573
|
+
return match.quarter(string, {
|
|
574
|
+
width: 'wide',
|
|
575
|
+
context: 'formatting'
|
|
576
|
+
}) || match.quarter(string, {
|
|
577
|
+
width: 'abbreviated',
|
|
578
|
+
context: 'formatting'
|
|
579
|
+
}) || match.quarter(string, {
|
|
580
|
+
width: 'narrow',
|
|
581
|
+
context: 'formatting'
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
validate: function (_date, value, _options) {
|
|
586
|
+
return value >= 1 && value <= 4;
|
|
587
|
+
},
|
|
588
|
+
set: function (date, _flags, value, _options) {
|
|
589
|
+
date.setUTCMonth((value - 1) * 3, 1);
|
|
590
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
591
|
+
return date;
|
|
592
|
+
},
|
|
593
|
+
incompatibleTokens: ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
|
|
594
|
+
},
|
|
595
|
+
// Stand-alone quarter
|
|
596
|
+
q: {
|
|
597
|
+
priority: 120,
|
|
598
|
+
parse: function (string, token, match, _options) {
|
|
599
|
+
switch (token) {
|
|
600
|
+
// 1, 2, 3, 4
|
|
601
|
+
case 'q':
|
|
602
|
+
case 'qq':
|
|
603
|
+
// 01, 02, 03, 04
|
|
604
|
+
return parseNDigits(token.length, string);
|
|
605
|
+
// 1st, 2nd, 3rd, 4th
|
|
606
|
+
|
|
607
|
+
case 'qo':
|
|
608
|
+
return match.ordinalNumber(string, {
|
|
609
|
+
unit: 'quarter'
|
|
610
|
+
});
|
|
611
|
+
// Q1, Q2, Q3, Q4
|
|
612
|
+
|
|
613
|
+
case 'qqq':
|
|
614
|
+
return match.quarter(string, {
|
|
615
|
+
width: 'abbreviated',
|
|
616
|
+
context: 'standalone'
|
|
617
|
+
}) || match.quarter(string, {
|
|
618
|
+
width: 'narrow',
|
|
619
|
+
context: 'standalone'
|
|
620
|
+
});
|
|
621
|
+
// 1, 2, 3, 4 (narrow quarter; could be not numerical)
|
|
622
|
+
|
|
623
|
+
case 'qqqqq':
|
|
624
|
+
return match.quarter(string, {
|
|
625
|
+
width: 'narrow',
|
|
626
|
+
context: 'standalone'
|
|
627
|
+
});
|
|
628
|
+
// 1st quarter, 2nd quarter, ...
|
|
629
|
+
|
|
630
|
+
case 'qqqq':
|
|
631
|
+
default:
|
|
632
|
+
return match.quarter(string, {
|
|
633
|
+
width: 'wide',
|
|
634
|
+
context: 'standalone'
|
|
635
|
+
}) || match.quarter(string, {
|
|
636
|
+
width: 'abbreviated',
|
|
637
|
+
context: 'standalone'
|
|
638
|
+
}) || match.quarter(string, {
|
|
639
|
+
width: 'narrow',
|
|
640
|
+
context: 'standalone'
|
|
641
|
+
});
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
validate: function (_date, value, _options) {
|
|
645
|
+
return value >= 1 && value <= 4;
|
|
646
|
+
},
|
|
647
|
+
set: function (date, _flags, value, _options) {
|
|
648
|
+
date.setUTCMonth((value - 1) * 3, 1);
|
|
649
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
650
|
+
return date;
|
|
651
|
+
},
|
|
652
|
+
incompatibleTokens: ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
|
|
653
|
+
},
|
|
654
|
+
// Month
|
|
655
|
+
M: {
|
|
656
|
+
priority: 110,
|
|
657
|
+
parse: function (string, token, match, _options) {
|
|
658
|
+
var valueCallback = function (value) {
|
|
659
|
+
return value - 1;
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
switch (token) {
|
|
663
|
+
// 1, 2, ..., 12
|
|
664
|
+
case 'M':
|
|
665
|
+
return parseNumericPattern(numericPatterns.month, string, valueCallback);
|
|
666
|
+
// 01, 02, ..., 12
|
|
667
|
+
|
|
668
|
+
case 'MM':
|
|
669
|
+
return parseNDigits(2, string, valueCallback);
|
|
670
|
+
// 1st, 2nd, ..., 12th
|
|
671
|
+
|
|
672
|
+
case 'Mo':
|
|
673
|
+
return match.ordinalNumber(string, {
|
|
674
|
+
unit: 'month',
|
|
675
|
+
valueCallback: valueCallback
|
|
676
|
+
});
|
|
677
|
+
// Jan, Feb, ..., Dec
|
|
678
|
+
|
|
679
|
+
case 'MMM':
|
|
680
|
+
return match.month(string, {
|
|
681
|
+
width: 'abbreviated',
|
|
682
|
+
context: 'formatting'
|
|
683
|
+
}) || match.month(string, {
|
|
684
|
+
width: 'narrow',
|
|
685
|
+
context: 'formatting'
|
|
686
|
+
});
|
|
687
|
+
// J, F, ..., D
|
|
688
|
+
|
|
689
|
+
case 'MMMMM':
|
|
690
|
+
return match.month(string, {
|
|
691
|
+
width: 'narrow',
|
|
692
|
+
context: 'formatting'
|
|
693
|
+
});
|
|
694
|
+
// January, February, ..., December
|
|
695
|
+
|
|
696
|
+
case 'MMMM':
|
|
697
|
+
default:
|
|
698
|
+
return match.month(string, {
|
|
699
|
+
width: 'wide',
|
|
700
|
+
context: 'formatting'
|
|
701
|
+
}) || match.month(string, {
|
|
702
|
+
width: 'abbreviated',
|
|
703
|
+
context: 'formatting'
|
|
704
|
+
}) || match.month(string, {
|
|
705
|
+
width: 'narrow',
|
|
706
|
+
context: 'formatting'
|
|
707
|
+
});
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
validate: function (_date, value, _options) {
|
|
711
|
+
return value >= 0 && value <= 11;
|
|
712
|
+
},
|
|
713
|
+
set: function (date, _flags, value, _options) {
|
|
714
|
+
date.setUTCMonth(value, 1);
|
|
715
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
716
|
+
return date;
|
|
717
|
+
},
|
|
718
|
+
incompatibleTokens: ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
|
|
719
|
+
},
|
|
720
|
+
// Stand-alone month
|
|
721
|
+
L: {
|
|
722
|
+
priority: 110,
|
|
723
|
+
parse: function (string, token, match, _options) {
|
|
724
|
+
var valueCallback = function (value) {
|
|
725
|
+
return value - 1;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
switch (token) {
|
|
729
|
+
// 1, 2, ..., 12
|
|
730
|
+
case 'L':
|
|
731
|
+
return parseNumericPattern(numericPatterns.month, string, valueCallback);
|
|
732
|
+
// 01, 02, ..., 12
|
|
733
|
+
|
|
734
|
+
case 'LL':
|
|
735
|
+
return parseNDigits(2, string, valueCallback);
|
|
736
|
+
// 1st, 2nd, ..., 12th
|
|
737
|
+
|
|
738
|
+
case 'Lo':
|
|
739
|
+
return match.ordinalNumber(string, {
|
|
740
|
+
unit: 'month',
|
|
741
|
+
valueCallback: valueCallback
|
|
742
|
+
});
|
|
743
|
+
// Jan, Feb, ..., Dec
|
|
744
|
+
|
|
745
|
+
case 'LLL':
|
|
746
|
+
return match.month(string, {
|
|
747
|
+
width: 'abbreviated',
|
|
748
|
+
context: 'standalone'
|
|
749
|
+
}) || match.month(string, {
|
|
750
|
+
width: 'narrow',
|
|
751
|
+
context: 'standalone'
|
|
752
|
+
});
|
|
753
|
+
// J, F, ..., D
|
|
754
|
+
|
|
755
|
+
case 'LLLLL':
|
|
756
|
+
return match.month(string, {
|
|
757
|
+
width: 'narrow',
|
|
758
|
+
context: 'standalone'
|
|
759
|
+
});
|
|
760
|
+
// January, February, ..., December
|
|
761
|
+
|
|
762
|
+
case 'LLLL':
|
|
763
|
+
default:
|
|
764
|
+
return match.month(string, {
|
|
765
|
+
width: 'wide',
|
|
766
|
+
context: 'standalone'
|
|
767
|
+
}) || match.month(string, {
|
|
768
|
+
width: 'abbreviated',
|
|
769
|
+
context: 'standalone'
|
|
770
|
+
}) || match.month(string, {
|
|
771
|
+
width: 'narrow',
|
|
772
|
+
context: 'standalone'
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
validate: function (_date, value, _options) {
|
|
777
|
+
return value >= 0 && value <= 11;
|
|
778
|
+
},
|
|
779
|
+
set: function (date, _flags, value, _options) {
|
|
780
|
+
date.setUTCMonth(value, 1);
|
|
781
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
782
|
+
return date;
|
|
783
|
+
},
|
|
784
|
+
incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
|
|
785
|
+
},
|
|
786
|
+
// Local week of year
|
|
787
|
+
w: {
|
|
788
|
+
priority: 100,
|
|
789
|
+
parse: function (string, token, match, _options) {
|
|
790
|
+
switch (token) {
|
|
791
|
+
case 'w':
|
|
792
|
+
return parseNumericPattern(numericPatterns.week, string);
|
|
793
|
+
|
|
794
|
+
case 'wo':
|
|
795
|
+
return match.ordinalNumber(string, {
|
|
796
|
+
unit: 'week'
|
|
797
|
+
});
|
|
798
|
+
|
|
799
|
+
default:
|
|
800
|
+
return parseNDigits(token.length, string);
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
validate: function (_date, value, _options) {
|
|
804
|
+
return value >= 1 && value <= 53;
|
|
805
|
+
},
|
|
806
|
+
set: function (date, _flags, value, options) {
|
|
807
|
+
return startOfUTCWeek(setUTCWeek(date, value, options), options);
|
|
808
|
+
},
|
|
809
|
+
incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
|
|
810
|
+
},
|
|
811
|
+
// ISO week of year
|
|
812
|
+
I: {
|
|
813
|
+
priority: 100,
|
|
814
|
+
parse: function (string, token, match, _options) {
|
|
815
|
+
switch (token) {
|
|
816
|
+
case 'I':
|
|
817
|
+
return parseNumericPattern(numericPatterns.week, string);
|
|
818
|
+
|
|
819
|
+
case 'Io':
|
|
820
|
+
return match.ordinalNumber(string, {
|
|
821
|
+
unit: 'week'
|
|
822
|
+
});
|
|
823
|
+
|
|
824
|
+
default:
|
|
825
|
+
return parseNDigits(token.length, string);
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
validate: function (_date, value, _options) {
|
|
829
|
+
return value >= 1 && value <= 53;
|
|
830
|
+
},
|
|
831
|
+
set: function (date, _flags, value, options) {
|
|
832
|
+
return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);
|
|
833
|
+
},
|
|
834
|
+
incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
|
|
835
|
+
},
|
|
836
|
+
// Day of the month
|
|
837
|
+
d: {
|
|
838
|
+
priority: 90,
|
|
839
|
+
subPriority: 1,
|
|
840
|
+
parse: function (string, token, match, _options) {
|
|
841
|
+
switch (token) {
|
|
842
|
+
case 'd':
|
|
843
|
+
return parseNumericPattern(numericPatterns.date, string);
|
|
844
|
+
|
|
845
|
+
case 'do':
|
|
846
|
+
return match.ordinalNumber(string, {
|
|
847
|
+
unit: 'date'
|
|
848
|
+
});
|
|
849
|
+
|
|
850
|
+
default:
|
|
851
|
+
return parseNDigits(token.length, string);
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
validate: function (date, value, _options) {
|
|
855
|
+
var year = date.getUTCFullYear();
|
|
856
|
+
var isLeapYear = isLeapYearIndex(year);
|
|
857
|
+
var month = date.getUTCMonth();
|
|
858
|
+
|
|
859
|
+
if (isLeapYear) {
|
|
860
|
+
return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
|
|
861
|
+
} else {
|
|
862
|
+
return value >= 1 && value <= DAYS_IN_MONTH[month];
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
set: function (date, _flags, value, _options) {
|
|
866
|
+
date.setUTCDate(value);
|
|
867
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
868
|
+
return date;
|
|
869
|
+
},
|
|
870
|
+
incompatibleTokens: ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
|
|
871
|
+
},
|
|
872
|
+
// Day of year
|
|
873
|
+
D: {
|
|
874
|
+
priority: 90,
|
|
875
|
+
subPriority: 1,
|
|
876
|
+
parse: function (string, token, match, _options) {
|
|
877
|
+
switch (token) {
|
|
878
|
+
case 'D':
|
|
879
|
+
case 'DD':
|
|
880
|
+
return parseNumericPattern(numericPatterns.dayOfYear, string);
|
|
881
|
+
|
|
882
|
+
case 'Do':
|
|
883
|
+
return match.ordinalNumber(string, {
|
|
884
|
+
unit: 'date'
|
|
885
|
+
});
|
|
886
|
+
|
|
887
|
+
default:
|
|
888
|
+
return parseNDigits(token.length, string);
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
validate: function (date, value, _options) {
|
|
892
|
+
var year = date.getUTCFullYear();
|
|
893
|
+
var isLeapYear = isLeapYearIndex(year);
|
|
894
|
+
|
|
895
|
+
if (isLeapYear) {
|
|
896
|
+
return value >= 1 && value <= 366;
|
|
897
|
+
} else {
|
|
898
|
+
return value >= 1 && value <= 365;
|
|
899
|
+
}
|
|
900
|
+
},
|
|
901
|
+
set: function (date, _flags, value, _options) {
|
|
902
|
+
date.setUTCMonth(0, value);
|
|
903
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
904
|
+
return date;
|
|
905
|
+
},
|
|
906
|
+
incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']
|
|
907
|
+
},
|
|
908
|
+
// Day of week
|
|
909
|
+
E: {
|
|
910
|
+
priority: 90,
|
|
911
|
+
parse: function (string, token, match, _options) {
|
|
912
|
+
switch (token) {
|
|
913
|
+
// Tue
|
|
914
|
+
case 'E':
|
|
915
|
+
case 'EE':
|
|
916
|
+
case 'EEE':
|
|
917
|
+
return match.day(string, {
|
|
918
|
+
width: 'abbreviated',
|
|
919
|
+
context: 'formatting'
|
|
920
|
+
}) || match.day(string, {
|
|
921
|
+
width: 'short',
|
|
922
|
+
context: 'formatting'
|
|
923
|
+
}) || match.day(string, {
|
|
924
|
+
width: 'narrow',
|
|
925
|
+
context: 'formatting'
|
|
926
|
+
});
|
|
927
|
+
// T
|
|
928
|
+
|
|
929
|
+
case 'EEEEE':
|
|
930
|
+
return match.day(string, {
|
|
931
|
+
width: 'narrow',
|
|
932
|
+
context: 'formatting'
|
|
933
|
+
});
|
|
934
|
+
// Tu
|
|
935
|
+
|
|
936
|
+
case 'EEEEEE':
|
|
937
|
+
return match.day(string, {
|
|
938
|
+
width: 'short',
|
|
939
|
+
context: 'formatting'
|
|
940
|
+
}) || match.day(string, {
|
|
941
|
+
width: 'narrow',
|
|
942
|
+
context: 'formatting'
|
|
943
|
+
});
|
|
944
|
+
// Tuesday
|
|
945
|
+
|
|
946
|
+
case 'EEEE':
|
|
947
|
+
default:
|
|
948
|
+
return match.day(string, {
|
|
949
|
+
width: 'wide',
|
|
950
|
+
context: 'formatting'
|
|
951
|
+
}) || match.day(string, {
|
|
952
|
+
width: 'abbreviated',
|
|
953
|
+
context: 'formatting'
|
|
954
|
+
}) || match.day(string, {
|
|
955
|
+
width: 'short',
|
|
956
|
+
context: 'formatting'
|
|
957
|
+
}) || match.day(string, {
|
|
958
|
+
width: 'narrow',
|
|
959
|
+
context: 'formatting'
|
|
960
|
+
});
|
|
961
|
+
}
|
|
962
|
+
},
|
|
963
|
+
validate: function (_date, value, _options) {
|
|
964
|
+
return value >= 0 && value <= 6;
|
|
965
|
+
},
|
|
966
|
+
set: function (date, _flags, value, options) {
|
|
967
|
+
date = setUTCDay(date, value, options);
|
|
968
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
969
|
+
return date;
|
|
970
|
+
},
|
|
971
|
+
incompatibleTokens: ['D', 'i', 'e', 'c', 't', 'T']
|
|
972
|
+
},
|
|
973
|
+
// Local day of week
|
|
974
|
+
e: {
|
|
975
|
+
priority: 90,
|
|
976
|
+
parse: function (string, token, match, options) {
|
|
977
|
+
var valueCallback = function (value) {
|
|
978
|
+
var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
|
|
979
|
+
return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
switch (token) {
|
|
983
|
+
// 3
|
|
984
|
+
case 'e':
|
|
985
|
+
case 'ee':
|
|
986
|
+
// 03
|
|
987
|
+
return parseNDigits(token.length, string, valueCallback);
|
|
988
|
+
// 3rd
|
|
989
|
+
|
|
990
|
+
case 'eo':
|
|
991
|
+
return match.ordinalNumber(string, {
|
|
992
|
+
unit: 'day',
|
|
993
|
+
valueCallback: valueCallback
|
|
994
|
+
});
|
|
995
|
+
// Tue
|
|
996
|
+
|
|
997
|
+
case 'eee':
|
|
998
|
+
return match.day(string, {
|
|
999
|
+
width: 'abbreviated',
|
|
1000
|
+
context: 'formatting'
|
|
1001
|
+
}) || match.day(string, {
|
|
1002
|
+
width: 'short',
|
|
1003
|
+
context: 'formatting'
|
|
1004
|
+
}) || match.day(string, {
|
|
1005
|
+
width: 'narrow',
|
|
1006
|
+
context: 'formatting'
|
|
1007
|
+
});
|
|
1008
|
+
// T
|
|
1009
|
+
|
|
1010
|
+
case 'eeeee':
|
|
1011
|
+
return match.day(string, {
|
|
1012
|
+
width: 'narrow',
|
|
1013
|
+
context: 'formatting'
|
|
1014
|
+
});
|
|
1015
|
+
// Tu
|
|
1016
|
+
|
|
1017
|
+
case 'eeeeee':
|
|
1018
|
+
return match.day(string, {
|
|
1019
|
+
width: 'short',
|
|
1020
|
+
context: 'formatting'
|
|
1021
|
+
}) || match.day(string, {
|
|
1022
|
+
width: 'narrow',
|
|
1023
|
+
context: 'formatting'
|
|
1024
|
+
});
|
|
1025
|
+
// Tuesday
|
|
1026
|
+
|
|
1027
|
+
case 'eeee':
|
|
1028
|
+
default:
|
|
1029
|
+
return match.day(string, {
|
|
1030
|
+
width: 'wide',
|
|
1031
|
+
context: 'formatting'
|
|
1032
|
+
}) || match.day(string, {
|
|
1033
|
+
width: 'abbreviated',
|
|
1034
|
+
context: 'formatting'
|
|
1035
|
+
}) || match.day(string, {
|
|
1036
|
+
width: 'short',
|
|
1037
|
+
context: 'formatting'
|
|
1038
|
+
}) || match.day(string, {
|
|
1039
|
+
width: 'narrow',
|
|
1040
|
+
context: 'formatting'
|
|
1041
|
+
});
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
validate: function (_date, value, _options) {
|
|
1045
|
+
return value >= 0 && value <= 6;
|
|
1046
|
+
},
|
|
1047
|
+
set: function (date, _flags, value, options) {
|
|
1048
|
+
date = setUTCDay(date, value, options);
|
|
1049
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
1050
|
+
return date;
|
|
1051
|
+
},
|
|
1052
|
+
incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']
|
|
1053
|
+
},
|
|
1054
|
+
// Stand-alone local day of week
|
|
1055
|
+
c: {
|
|
1056
|
+
priority: 90,
|
|
1057
|
+
parse: function (string, token, match, options) {
|
|
1058
|
+
var valueCallback = function (value) {
|
|
1059
|
+
var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
|
|
1060
|
+
return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
switch (token) {
|
|
1064
|
+
// 3
|
|
1065
|
+
case 'c':
|
|
1066
|
+
case 'cc':
|
|
1067
|
+
// 03
|
|
1068
|
+
return parseNDigits(token.length, string, valueCallback);
|
|
1069
|
+
// 3rd
|
|
1070
|
+
|
|
1071
|
+
case 'co':
|
|
1072
|
+
return match.ordinalNumber(string, {
|
|
1073
|
+
unit: 'day',
|
|
1074
|
+
valueCallback: valueCallback
|
|
1075
|
+
});
|
|
1076
|
+
// Tue
|
|
1077
|
+
|
|
1078
|
+
case 'ccc':
|
|
1079
|
+
return match.day(string, {
|
|
1080
|
+
width: 'abbreviated',
|
|
1081
|
+
context: 'standalone'
|
|
1082
|
+
}) || match.day(string, {
|
|
1083
|
+
width: 'short',
|
|
1084
|
+
context: 'standalone'
|
|
1085
|
+
}) || match.day(string, {
|
|
1086
|
+
width: 'narrow',
|
|
1087
|
+
context: 'standalone'
|
|
1088
|
+
});
|
|
1089
|
+
// T
|
|
1090
|
+
|
|
1091
|
+
case 'ccccc':
|
|
1092
|
+
return match.day(string, {
|
|
1093
|
+
width: 'narrow',
|
|
1094
|
+
context: 'standalone'
|
|
1095
|
+
});
|
|
1096
|
+
// Tu
|
|
1097
|
+
|
|
1098
|
+
case 'cccccc':
|
|
1099
|
+
return match.day(string, {
|
|
1100
|
+
width: 'short',
|
|
1101
|
+
context: 'standalone'
|
|
1102
|
+
}) || match.day(string, {
|
|
1103
|
+
width: 'narrow',
|
|
1104
|
+
context: 'standalone'
|
|
1105
|
+
});
|
|
1106
|
+
// Tuesday
|
|
1107
|
+
|
|
1108
|
+
case 'cccc':
|
|
1109
|
+
default:
|
|
1110
|
+
return match.day(string, {
|
|
1111
|
+
width: 'wide',
|
|
1112
|
+
context: 'standalone'
|
|
1113
|
+
}) || match.day(string, {
|
|
1114
|
+
width: 'abbreviated',
|
|
1115
|
+
context: 'standalone'
|
|
1116
|
+
}) || match.day(string, {
|
|
1117
|
+
width: 'short',
|
|
1118
|
+
context: 'standalone'
|
|
1119
|
+
}) || match.day(string, {
|
|
1120
|
+
width: 'narrow',
|
|
1121
|
+
context: 'standalone'
|
|
1122
|
+
});
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
validate: function (_date, value, _options) {
|
|
1126
|
+
return value >= 0 && value <= 6;
|
|
1127
|
+
},
|
|
1128
|
+
set: function (date, _flags, value, options) {
|
|
1129
|
+
date = setUTCDay(date, value, options);
|
|
1130
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
1131
|
+
return date;
|
|
1132
|
+
},
|
|
1133
|
+
incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']
|
|
1134
|
+
},
|
|
1135
|
+
// ISO day of week
|
|
1136
|
+
i: {
|
|
1137
|
+
priority: 90,
|
|
1138
|
+
parse: function (string, token, match, _options) {
|
|
1139
|
+
var valueCallback = function (value) {
|
|
1140
|
+
if (value === 0) {
|
|
1141
|
+
return 7;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
return value;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
switch (token) {
|
|
1148
|
+
// 2
|
|
1149
|
+
case 'i':
|
|
1150
|
+
case 'ii':
|
|
1151
|
+
// 02
|
|
1152
|
+
return parseNDigits(token.length, string);
|
|
1153
|
+
// 2nd
|
|
1154
|
+
|
|
1155
|
+
case 'io':
|
|
1156
|
+
return match.ordinalNumber(string, {
|
|
1157
|
+
unit: 'day'
|
|
1158
|
+
});
|
|
1159
|
+
// Tue
|
|
1160
|
+
|
|
1161
|
+
case 'iii':
|
|
1162
|
+
return match.day(string, {
|
|
1163
|
+
width: 'abbreviated',
|
|
1164
|
+
context: 'formatting',
|
|
1165
|
+
valueCallback: valueCallback
|
|
1166
|
+
}) || match.day(string, {
|
|
1167
|
+
width: 'short',
|
|
1168
|
+
context: 'formatting',
|
|
1169
|
+
valueCallback: valueCallback
|
|
1170
|
+
}) || match.day(string, {
|
|
1171
|
+
width: 'narrow',
|
|
1172
|
+
context: 'formatting',
|
|
1173
|
+
valueCallback: valueCallback
|
|
1174
|
+
});
|
|
1175
|
+
// T
|
|
1176
|
+
|
|
1177
|
+
case 'iiiii':
|
|
1178
|
+
return match.day(string, {
|
|
1179
|
+
width: 'narrow',
|
|
1180
|
+
context: 'formatting',
|
|
1181
|
+
valueCallback: valueCallback
|
|
1182
|
+
});
|
|
1183
|
+
// Tu
|
|
1184
|
+
|
|
1185
|
+
case 'iiiiii':
|
|
1186
|
+
return match.day(string, {
|
|
1187
|
+
width: 'short',
|
|
1188
|
+
context: 'formatting',
|
|
1189
|
+
valueCallback: valueCallback
|
|
1190
|
+
}) || match.day(string, {
|
|
1191
|
+
width: 'narrow',
|
|
1192
|
+
context: 'formatting',
|
|
1193
|
+
valueCallback: valueCallback
|
|
1194
|
+
});
|
|
1195
|
+
// Tuesday
|
|
1196
|
+
|
|
1197
|
+
case 'iiii':
|
|
1198
|
+
default:
|
|
1199
|
+
return match.day(string, {
|
|
1200
|
+
width: 'wide',
|
|
1201
|
+
context: 'formatting',
|
|
1202
|
+
valueCallback: valueCallback
|
|
1203
|
+
}) || match.day(string, {
|
|
1204
|
+
width: 'abbreviated',
|
|
1205
|
+
context: 'formatting',
|
|
1206
|
+
valueCallback: valueCallback
|
|
1207
|
+
}) || match.day(string, {
|
|
1208
|
+
width: 'short',
|
|
1209
|
+
context: 'formatting',
|
|
1210
|
+
valueCallback: valueCallback
|
|
1211
|
+
}) || match.day(string, {
|
|
1212
|
+
width: 'narrow',
|
|
1213
|
+
context: 'formatting',
|
|
1214
|
+
valueCallback: valueCallback
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
validate: function (_date, value, _options) {
|
|
1219
|
+
return value >= 1 && value <= 7;
|
|
1220
|
+
},
|
|
1221
|
+
set: function (date, _flags, value, options) {
|
|
1222
|
+
date = setUTCISODay(date, value, options);
|
|
1223
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
1224
|
+
return date;
|
|
1225
|
+
},
|
|
1226
|
+
incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']
|
|
1227
|
+
},
|
|
1228
|
+
// AM or PM
|
|
1229
|
+
a: {
|
|
1230
|
+
priority: 80,
|
|
1231
|
+
parse: function (string, token, match, _options) {
|
|
1232
|
+
switch (token) {
|
|
1233
|
+
case 'a':
|
|
1234
|
+
case 'aa':
|
|
1235
|
+
case 'aaa':
|
|
1236
|
+
return match.dayPeriod(string, {
|
|
1237
|
+
width: 'abbreviated',
|
|
1238
|
+
context: 'formatting'
|
|
1239
|
+
}) || match.dayPeriod(string, {
|
|
1240
|
+
width: 'narrow',
|
|
1241
|
+
context: 'formatting'
|
|
1242
|
+
});
|
|
1243
|
+
|
|
1244
|
+
case 'aaaaa':
|
|
1245
|
+
return match.dayPeriod(string, {
|
|
1246
|
+
width: 'narrow',
|
|
1247
|
+
context: 'formatting'
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
case 'aaaa':
|
|
1251
|
+
default:
|
|
1252
|
+
return match.dayPeriod(string, {
|
|
1253
|
+
width: 'wide',
|
|
1254
|
+
context: 'formatting'
|
|
1255
|
+
}) || match.dayPeriod(string, {
|
|
1256
|
+
width: 'abbreviated',
|
|
1257
|
+
context: 'formatting'
|
|
1258
|
+
}) || match.dayPeriod(string, {
|
|
1259
|
+
width: 'narrow',
|
|
1260
|
+
context: 'formatting'
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
set: function (date, _flags, value, _options) {
|
|
1265
|
+
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1266
|
+
return date;
|
|
1267
|
+
},
|
|
1268
|
+
incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']
|
|
1269
|
+
},
|
|
1270
|
+
// AM, PM, midnight
|
|
1271
|
+
b: {
|
|
1272
|
+
priority: 80,
|
|
1273
|
+
parse: function (string, token, match, _options) {
|
|
1274
|
+
switch (token) {
|
|
1275
|
+
case 'b':
|
|
1276
|
+
case 'bb':
|
|
1277
|
+
case 'bbb':
|
|
1278
|
+
return match.dayPeriod(string, {
|
|
1279
|
+
width: 'abbreviated',
|
|
1280
|
+
context: 'formatting'
|
|
1281
|
+
}) || match.dayPeriod(string, {
|
|
1282
|
+
width: 'narrow',
|
|
1283
|
+
context: 'formatting'
|
|
1284
|
+
});
|
|
1285
|
+
|
|
1286
|
+
case 'bbbbb':
|
|
1287
|
+
return match.dayPeriod(string, {
|
|
1288
|
+
width: 'narrow',
|
|
1289
|
+
context: 'formatting'
|
|
1290
|
+
});
|
|
1291
|
+
|
|
1292
|
+
case 'bbbb':
|
|
1293
|
+
default:
|
|
1294
|
+
return match.dayPeriod(string, {
|
|
1295
|
+
width: 'wide',
|
|
1296
|
+
context: 'formatting'
|
|
1297
|
+
}) || match.dayPeriod(string, {
|
|
1298
|
+
width: 'abbreviated',
|
|
1299
|
+
context: 'formatting'
|
|
1300
|
+
}) || match.dayPeriod(string, {
|
|
1301
|
+
width: 'narrow',
|
|
1302
|
+
context: 'formatting'
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
},
|
|
1306
|
+
set: function (date, _flags, value, _options) {
|
|
1307
|
+
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1308
|
+
return date;
|
|
1309
|
+
},
|
|
1310
|
+
incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']
|
|
1311
|
+
},
|
|
1312
|
+
// in the morning, in the afternoon, in the evening, at night
|
|
1313
|
+
B: {
|
|
1314
|
+
priority: 80,
|
|
1315
|
+
parse: function (string, token, match, _options) {
|
|
1316
|
+
switch (token) {
|
|
1317
|
+
case 'B':
|
|
1318
|
+
case 'BB':
|
|
1319
|
+
case 'BBB':
|
|
1320
|
+
return match.dayPeriod(string, {
|
|
1321
|
+
width: 'abbreviated',
|
|
1322
|
+
context: 'formatting'
|
|
1323
|
+
}) || match.dayPeriod(string, {
|
|
1324
|
+
width: 'narrow',
|
|
1325
|
+
context: 'formatting'
|
|
1326
|
+
});
|
|
1327
|
+
|
|
1328
|
+
case 'BBBBB':
|
|
1329
|
+
return match.dayPeriod(string, {
|
|
1330
|
+
width: 'narrow',
|
|
1331
|
+
context: 'formatting'
|
|
1332
|
+
});
|
|
1333
|
+
|
|
1334
|
+
case 'BBBB':
|
|
1335
|
+
default:
|
|
1336
|
+
return match.dayPeriod(string, {
|
|
1337
|
+
width: 'wide',
|
|
1338
|
+
context: 'formatting'
|
|
1339
|
+
}) || match.dayPeriod(string, {
|
|
1340
|
+
width: 'abbreviated',
|
|
1341
|
+
context: 'formatting'
|
|
1342
|
+
}) || match.dayPeriod(string, {
|
|
1343
|
+
width: 'narrow',
|
|
1344
|
+
context: 'formatting'
|
|
1345
|
+
});
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
set: function (date, _flags, value, _options) {
|
|
1349
|
+
date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
|
|
1350
|
+
return date;
|
|
1351
|
+
},
|
|
1352
|
+
incompatibleTokens: ['a', 'b', 't', 'T']
|
|
1353
|
+
},
|
|
1354
|
+
// Hour [1-12]
|
|
1355
|
+
h: {
|
|
1356
|
+
priority: 70,
|
|
1357
|
+
parse: function (string, token, match, _options) {
|
|
1358
|
+
switch (token) {
|
|
1359
|
+
case 'h':
|
|
1360
|
+
return parseNumericPattern(numericPatterns.hour12h, string);
|
|
1361
|
+
|
|
1362
|
+
case 'ho':
|
|
1363
|
+
return match.ordinalNumber(string, {
|
|
1364
|
+
unit: 'hour'
|
|
1365
|
+
});
|
|
1366
|
+
|
|
1367
|
+
default:
|
|
1368
|
+
return parseNDigits(token.length, string);
|
|
1369
|
+
}
|
|
1370
|
+
},
|
|
1371
|
+
validate: function (_date, value, _options) {
|
|
1372
|
+
return value >= 1 && value <= 12;
|
|
1373
|
+
},
|
|
1374
|
+
set: function (date, _flags, value, _options) {
|
|
1375
|
+
var isPM = date.getUTCHours() >= 12;
|
|
1376
|
+
|
|
1377
|
+
if (isPM && value < 12) {
|
|
1378
|
+
date.setUTCHours(value + 12, 0, 0, 0);
|
|
1379
|
+
} else if (!isPM && value === 12) {
|
|
1380
|
+
date.setUTCHours(0, 0, 0, 0);
|
|
1381
|
+
} else {
|
|
1382
|
+
date.setUTCHours(value, 0, 0, 0);
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
return date;
|
|
1386
|
+
},
|
|
1387
|
+
incompatibleTokens: ['H', 'K', 'k', 't', 'T']
|
|
1388
|
+
},
|
|
1389
|
+
// Hour [0-23]
|
|
1390
|
+
H: {
|
|
1391
|
+
priority: 70,
|
|
1392
|
+
parse: function (string, token, match, _options) {
|
|
1393
|
+
switch (token) {
|
|
1394
|
+
case 'H':
|
|
1395
|
+
return parseNumericPattern(numericPatterns.hour23h, string);
|
|
1396
|
+
|
|
1397
|
+
case 'Ho':
|
|
1398
|
+
return match.ordinalNumber(string, {
|
|
1399
|
+
unit: 'hour'
|
|
1400
|
+
});
|
|
1401
|
+
|
|
1402
|
+
default:
|
|
1403
|
+
return parseNDigits(token.length, string);
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
validate: function (_date, value, _options) {
|
|
1407
|
+
return value >= 0 && value <= 23;
|
|
1408
|
+
},
|
|
1409
|
+
set: function (date, _flags, value, _options) {
|
|
1410
|
+
date.setUTCHours(value, 0, 0, 0);
|
|
1411
|
+
return date;
|
|
1412
|
+
},
|
|
1413
|
+
incompatibleTokens: ['a', 'b', 'h', 'K', 'k', 't', 'T']
|
|
1414
|
+
},
|
|
1415
|
+
// Hour [0-11]
|
|
1416
|
+
K: {
|
|
1417
|
+
priority: 70,
|
|
1418
|
+
parse: function (string, token, match, _options) {
|
|
1419
|
+
switch (token) {
|
|
1420
|
+
case 'K':
|
|
1421
|
+
return parseNumericPattern(numericPatterns.hour11h, string);
|
|
1422
|
+
|
|
1423
|
+
case 'Ko':
|
|
1424
|
+
return match.ordinalNumber(string, {
|
|
1425
|
+
unit: 'hour'
|
|
1426
|
+
});
|
|
1427
|
+
|
|
1428
|
+
default:
|
|
1429
|
+
return parseNDigits(token.length, string);
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
validate: function (_date, value, _options) {
|
|
1433
|
+
return value >= 0 && value <= 11;
|
|
1434
|
+
},
|
|
1435
|
+
set: function (date, _flags, value, _options) {
|
|
1436
|
+
var isPM = date.getUTCHours() >= 12;
|
|
1437
|
+
|
|
1438
|
+
if (isPM && value < 12) {
|
|
1439
|
+
date.setUTCHours(value + 12, 0, 0, 0);
|
|
1440
|
+
} else {
|
|
1441
|
+
date.setUTCHours(value, 0, 0, 0);
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
return date;
|
|
1445
|
+
},
|
|
1446
|
+
incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']
|
|
1447
|
+
},
|
|
1448
|
+
// Hour [1-24]
|
|
1449
|
+
k: {
|
|
1450
|
+
priority: 70,
|
|
1451
|
+
parse: function (string, token, match, _options) {
|
|
1452
|
+
switch (token) {
|
|
1453
|
+
case 'k':
|
|
1454
|
+
return parseNumericPattern(numericPatterns.hour24h, string);
|
|
1455
|
+
|
|
1456
|
+
case 'ko':
|
|
1457
|
+
return match.ordinalNumber(string, {
|
|
1458
|
+
unit: 'hour'
|
|
1459
|
+
});
|
|
1460
|
+
|
|
1461
|
+
default:
|
|
1462
|
+
return parseNDigits(token.length, string);
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
validate: function (_date, value, _options) {
|
|
1466
|
+
return value >= 1 && value <= 24;
|
|
1467
|
+
},
|
|
1468
|
+
set: function (date, _flags, value, _options) {
|
|
1469
|
+
var hours = value <= 24 ? value % 24 : value;
|
|
1470
|
+
date.setUTCHours(hours, 0, 0, 0);
|
|
1471
|
+
return date;
|
|
1472
|
+
},
|
|
1473
|
+
incompatibleTokens: ['a', 'b', 'h', 'H', 'K', 't', 'T']
|
|
1474
|
+
},
|
|
1475
|
+
// Minute
|
|
1476
|
+
m: {
|
|
1477
|
+
priority: 60,
|
|
1478
|
+
parse: function (string, token, match, _options) {
|
|
1479
|
+
switch (token) {
|
|
1480
|
+
case 'm':
|
|
1481
|
+
return parseNumericPattern(numericPatterns.minute, string);
|
|
1482
|
+
|
|
1483
|
+
case 'mo':
|
|
1484
|
+
return match.ordinalNumber(string, {
|
|
1485
|
+
unit: 'minute'
|
|
1486
|
+
});
|
|
1487
|
+
|
|
1488
|
+
default:
|
|
1489
|
+
return parseNDigits(token.length, string);
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
validate: function (_date, value, _options) {
|
|
1493
|
+
return value >= 0 && value <= 59;
|
|
1494
|
+
},
|
|
1495
|
+
set: function (date, _flags, value, _options) {
|
|
1496
|
+
date.setUTCMinutes(value, 0, 0);
|
|
1497
|
+
return date;
|
|
1498
|
+
},
|
|
1499
|
+
incompatibleTokens: ['t', 'T']
|
|
1500
|
+
},
|
|
1501
|
+
// Second
|
|
1502
|
+
s: {
|
|
1503
|
+
priority: 50,
|
|
1504
|
+
parse: function (string, token, match, _options) {
|
|
1505
|
+
switch (token) {
|
|
1506
|
+
case 's':
|
|
1507
|
+
return parseNumericPattern(numericPatterns.second, string);
|
|
1508
|
+
|
|
1509
|
+
case 'so':
|
|
1510
|
+
return match.ordinalNumber(string, {
|
|
1511
|
+
unit: 'second'
|
|
1512
|
+
});
|
|
1513
|
+
|
|
1514
|
+
default:
|
|
1515
|
+
return parseNDigits(token.length, string);
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
validate: function (_date, value, _options) {
|
|
1519
|
+
return value >= 0 && value <= 59;
|
|
1520
|
+
},
|
|
1521
|
+
set: function (date, _flags, value, _options) {
|
|
1522
|
+
date.setUTCSeconds(value, 0);
|
|
1523
|
+
return date;
|
|
1524
|
+
},
|
|
1525
|
+
incompatibleTokens: ['t', 'T']
|
|
1526
|
+
},
|
|
1527
|
+
// Fraction of second
|
|
1528
|
+
S: {
|
|
1529
|
+
priority: 30,
|
|
1530
|
+
parse: function (string, token, _match, _options) {
|
|
1531
|
+
var valueCallback = function (value) {
|
|
1532
|
+
return Math.floor(value * Math.pow(10, -token.length + 3));
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
return parseNDigits(token.length, string, valueCallback);
|
|
1536
|
+
},
|
|
1537
|
+
set: function (date, _flags, value, _options) {
|
|
1538
|
+
date.setUTCMilliseconds(value);
|
|
1539
|
+
return date;
|
|
1540
|
+
},
|
|
1541
|
+
incompatibleTokens: ['t', 'T']
|
|
1542
|
+
},
|
|
1543
|
+
// Timezone (ISO-8601. +00:00 is `'Z'`)
|
|
1544
|
+
X: {
|
|
1545
|
+
priority: 10,
|
|
1546
|
+
parse: function (string, token, _match, _options) {
|
|
1547
|
+
switch (token) {
|
|
1548
|
+
case 'X':
|
|
1549
|
+
return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
|
|
1550
|
+
|
|
1551
|
+
case 'XX':
|
|
1552
|
+
return parseTimezonePattern(timezonePatterns.basic, string);
|
|
1553
|
+
|
|
1554
|
+
case 'XXXX':
|
|
1555
|
+
return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
|
|
1556
|
+
|
|
1557
|
+
case 'XXXXX':
|
|
1558
|
+
return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
|
|
1559
|
+
|
|
1560
|
+
case 'XXX':
|
|
1561
|
+
default:
|
|
1562
|
+
return parseTimezonePattern(timezonePatterns.extended, string);
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
set: function (date, flags, value, _options) {
|
|
1566
|
+
if (flags.timestampIsSet) {
|
|
1567
|
+
return date;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
return new Date(date.getTime() - value);
|
|
1571
|
+
},
|
|
1572
|
+
incompatibleTokens: ['t', 'T', 'x']
|
|
1573
|
+
},
|
|
1574
|
+
// Timezone (ISO-8601)
|
|
1575
|
+
x: {
|
|
1576
|
+
priority: 10,
|
|
1577
|
+
parse: function (string, token, _match, _options) {
|
|
1578
|
+
switch (token) {
|
|
1579
|
+
case 'x':
|
|
1580
|
+
return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
|
|
1581
|
+
|
|
1582
|
+
case 'xx':
|
|
1583
|
+
return parseTimezonePattern(timezonePatterns.basic, string);
|
|
1584
|
+
|
|
1585
|
+
case 'xxxx':
|
|
1586
|
+
return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
|
|
1587
|
+
|
|
1588
|
+
case 'xxxxx':
|
|
1589
|
+
return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
|
|
1590
|
+
|
|
1591
|
+
case 'xxx':
|
|
1592
|
+
default:
|
|
1593
|
+
return parseTimezonePattern(timezonePatterns.extended, string);
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
set: function (date, flags, value, _options) {
|
|
1597
|
+
if (flags.timestampIsSet) {
|
|
1598
|
+
return date;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
return new Date(date.getTime() - value);
|
|
1602
|
+
},
|
|
1603
|
+
incompatibleTokens: ['t', 'T', 'X']
|
|
1604
|
+
},
|
|
1605
|
+
// Seconds timestamp
|
|
1606
|
+
t: {
|
|
1607
|
+
priority: 40,
|
|
1608
|
+
parse: function (string, _token, _match, _options) {
|
|
1609
|
+
return parseAnyDigitsSigned(string);
|
|
1610
|
+
},
|
|
1611
|
+
set: function (_date, _flags, value, _options) {
|
|
1612
|
+
return [new Date(value * 1000), {
|
|
1613
|
+
timestampIsSet: true
|
|
1614
|
+
}];
|
|
1615
|
+
},
|
|
1616
|
+
incompatibleTokens: '*'
|
|
1617
|
+
},
|
|
1618
|
+
// Milliseconds timestamp
|
|
1619
|
+
T: {
|
|
1620
|
+
priority: 20,
|
|
1621
|
+
parse: function (string, _token, _match, _options) {
|
|
1622
|
+
return parseAnyDigitsSigned(string);
|
|
1623
|
+
},
|
|
1624
|
+
set: function (_date, _flags, value, _options) {
|
|
1625
|
+
return [new Date(value), {
|
|
1626
|
+
timestampIsSet: true
|
|
1627
|
+
}];
|
|
1628
|
+
},
|
|
1629
|
+
incompatibleTokens: '*'
|
|
1630
|
+
}
|
|
1631
|
+
};
|
|
1632
|
+
const parsers$1 = parsers;
|
|
1633
|
+
|
|
1634
|
+
var TIMEZONE_UNIT_PRIORITY = 10; // This RegExp consists of three parts separated by `|`:
|
|
1635
|
+
// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
|
|
1636
|
+
// (one of the certain letters followed by `o`)
|
|
1637
|
+
// - (\w)\1* matches any sequences of the same letter
|
|
1638
|
+
// - '' matches two quote characters in a row
|
|
1639
|
+
// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
|
|
1640
|
+
// except a single quote symbol, which ends the sequence.
|
|
1641
|
+
// Two quote characters do not end the sequence.
|
|
1642
|
+
// If there is no matching single quote
|
|
1643
|
+
// then the sequence will continue until the end of the string.
|
|
1644
|
+
// - . matches any single character unmatched by previous parts of the RegExps
|
|
1645
|
+
|
|
1646
|
+
var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
|
|
1647
|
+
// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
|
|
1648
|
+
|
|
1649
|
+
var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
|
|
1650
|
+
var escapedStringRegExp = /^'([^]*?)'?$/;
|
|
1651
|
+
var doubleQuoteRegExp = /''/g;
|
|
1652
|
+
var notWhitespaceRegExp = /\S/;
|
|
1653
|
+
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
1654
|
+
/**
|
|
1655
|
+
* @name parse
|
|
1656
|
+
* @category Common Helpers
|
|
1657
|
+
* @summary Parse the date.
|
|
1658
|
+
*
|
|
1659
|
+
* @description
|
|
1660
|
+
* Return the date parsed from string using the given format string.
|
|
1661
|
+
*
|
|
1662
|
+
* > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
|
|
1663
|
+
* > See: https://git.io/fxCyr
|
|
1664
|
+
*
|
|
1665
|
+
* The characters in the format string wrapped between two single quotes characters (') are escaped.
|
|
1666
|
+
* Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
|
|
1667
|
+
*
|
|
1668
|
+
* Format of the format string is based on Unicode Technical Standard #35:
|
|
1669
|
+
* https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
1670
|
+
* with a few additions (see note 5 below the table).
|
|
1671
|
+
*
|
|
1672
|
+
* Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited
|
|
1673
|
+
* and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:
|
|
1674
|
+
*
|
|
1675
|
+
* ```javascript
|
|
1676
|
+
* parse('23 AM', 'HH a', new Date())
|
|
1677
|
+
* //=> RangeError: The format string mustn't contain `HH` and `a` at the same time
|
|
1678
|
+
* ```
|
|
1679
|
+
*
|
|
1680
|
+
* See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true
|
|
1681
|
+
*
|
|
1682
|
+
* Accepted format string patterns:
|
|
1683
|
+
* | Unit |Prior| Pattern | Result examples | Notes |
|
|
1684
|
+
* |---------------------------------|-----|---------|-----------------------------------|-------|
|
|
1685
|
+
* | Era | 140 | G..GGG | AD, BC | |
|
|
1686
|
+
* | | | GGGG | Anno Domini, Before Christ | 2 |
|
|
1687
|
+
* | | | GGGGG | A, B | |
|
|
1688
|
+
* | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 |
|
|
1689
|
+
* | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 |
|
|
1690
|
+
* | | | yy | 44, 01, 00, 17 | 4 |
|
|
1691
|
+
* | | | yyy | 044, 001, 123, 999 | 4 |
|
|
1692
|
+
* | | | yyyy | 0044, 0001, 1900, 2017 | 4 |
|
|
1693
|
+
* | | | yyyyy | ... | 2,4 |
|
|
1694
|
+
* | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 |
|
|
1695
|
+
* | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 |
|
|
1696
|
+
* | | | YY | 44, 01, 00, 17 | 4,6 |
|
|
1697
|
+
* | | | YYY | 044, 001, 123, 999 | 4 |
|
|
1698
|
+
* | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 |
|
|
1699
|
+
* | | | YYYYY | ... | 2,4 |
|
|
1700
|
+
* | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 |
|
|
1701
|
+
* | | | RR | -43, 01, 00, 17 | 4,5 |
|
|
1702
|
+
* | | | RRR | -043, 001, 123, 999, -999 | 4,5 |
|
|
1703
|
+
* | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 |
|
|
1704
|
+
* | | | RRRRR | ... | 2,4,5 |
|
|
1705
|
+
* | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 |
|
|
1706
|
+
* | | | uu | -43, 01, 99, -99 | 4 |
|
|
1707
|
+
* | | | uuu | -043, 001, 123, 999, -999 | 4 |
|
|
1708
|
+
* | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 |
|
|
1709
|
+
* | | | uuuuu | ... | 2,4 |
|
|
1710
|
+
* | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | |
|
|
1711
|
+
* | | | Qo | 1st, 2nd, 3rd, 4th | 5 |
|
|
1712
|
+
* | | | QQ | 01, 02, 03, 04 | |
|
|
1713
|
+
* | | | QQQ | Q1, Q2, Q3, Q4 | |
|
|
1714
|
+
* | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
|
|
1715
|
+
* | | | QQQQQ | 1, 2, 3, 4 | 4 |
|
|
1716
|
+
* | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | |
|
|
1717
|
+
* | | | qo | 1st, 2nd, 3rd, 4th | 5 |
|
|
1718
|
+
* | | | qq | 01, 02, 03, 04 | |
|
|
1719
|
+
* | | | qqq | Q1, Q2, Q3, Q4 | |
|
|
1720
|
+
* | | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
|
|
1721
|
+
* | | | qqqqq | 1, 2, 3, 4 | 3 |
|
|
1722
|
+
* | Month (formatting) | 110 | M | 1, 2, ..., 12 | |
|
|
1723
|
+
* | | | Mo | 1st, 2nd, ..., 12th | 5 |
|
|
1724
|
+
* | | | MM | 01, 02, ..., 12 | |
|
|
1725
|
+
* | | | MMM | Jan, Feb, ..., Dec | |
|
|
1726
|
+
* | | | MMMM | January, February, ..., December | 2 |
|
|
1727
|
+
* | | | MMMMM | J, F, ..., D | |
|
|
1728
|
+
* | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | |
|
|
1729
|
+
* | | | Lo | 1st, 2nd, ..., 12th | 5 |
|
|
1730
|
+
* | | | LL | 01, 02, ..., 12 | |
|
|
1731
|
+
* | | | LLL | Jan, Feb, ..., Dec | |
|
|
1732
|
+
* | | | LLLL | January, February, ..., December | 2 |
|
|
1733
|
+
* | | | LLLLL | J, F, ..., D | |
|
|
1734
|
+
* | Local week of year | 100 | w | 1, 2, ..., 53 | |
|
|
1735
|
+
* | | | wo | 1st, 2nd, ..., 53th | 5 |
|
|
1736
|
+
* | | | ww | 01, 02, ..., 53 | |
|
|
1737
|
+
* | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 |
|
|
1738
|
+
* | | | Io | 1st, 2nd, ..., 53th | 5 |
|
|
1739
|
+
* | | | II | 01, 02, ..., 53 | 5 |
|
|
1740
|
+
* | Day of month | 90 | d | 1, 2, ..., 31 | |
|
|
1741
|
+
* | | | do | 1st, 2nd, ..., 31st | 5 |
|
|
1742
|
+
* | | | dd | 01, 02, ..., 31 | |
|
|
1743
|
+
* | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 |
|
|
1744
|
+
* | | | Do | 1st, 2nd, ..., 365th, 366th | 5 |
|
|
1745
|
+
* | | | DD | 01, 02, ..., 365, 366 | 7 |
|
|
1746
|
+
* | | | DDD | 001, 002, ..., 365, 366 | |
|
|
1747
|
+
* | | | DDDD | ... | 2 |
|
|
1748
|
+
* | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | |
|
|
1749
|
+
* | | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
|
|
1750
|
+
* | | | EEEEE | M, T, W, T, F, S, S | |
|
|
1751
|
+
* | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1752
|
+
* | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 |
|
|
1753
|
+
* | | | io | 1st, 2nd, ..., 7th | 5 |
|
|
1754
|
+
* | | | ii | 01, 02, ..., 07 | 5 |
|
|
1755
|
+
* | | | iii | Mon, Tue, Wed, ..., Sun | 5 |
|
|
1756
|
+
* | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 |
|
|
1757
|
+
* | | | iiiii | M, T, W, T, F, S, S | 5 |
|
|
1758
|
+
* | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 |
|
|
1759
|
+
* | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | |
|
|
1760
|
+
* | | | eo | 2nd, 3rd, ..., 1st | 5 |
|
|
1761
|
+
* | | | ee | 02, 03, ..., 01 | |
|
|
1762
|
+
* | | | eee | Mon, Tue, Wed, ..., Sun | |
|
|
1763
|
+
* | | | eeee | Monday, Tuesday, ..., Sunday | 2 |
|
|
1764
|
+
* | | | eeeee | M, T, W, T, F, S, S | |
|
|
1765
|
+
* | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1766
|
+
* | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | |
|
|
1767
|
+
* | | | co | 2nd, 3rd, ..., 1st | 5 |
|
|
1768
|
+
* | | | cc | 02, 03, ..., 01 | |
|
|
1769
|
+
* | | | ccc | Mon, Tue, Wed, ..., Sun | |
|
|
1770
|
+
* | | | cccc | Monday, Tuesday, ..., Sunday | 2 |
|
|
1771
|
+
* | | | ccccc | M, T, W, T, F, S, S | |
|
|
1772
|
+
* | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
|
|
1773
|
+
* | AM, PM | 80 | a..aaa | AM, PM | |
|
|
1774
|
+
* | | | aaaa | a.m., p.m. | 2 |
|
|
1775
|
+
* | | | aaaaa | a, p | |
|
|
1776
|
+
* | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | |
|
|
1777
|
+
* | | | bbbb | a.m., p.m., noon, midnight | 2 |
|
|
1778
|
+
* | | | bbbbb | a, p, n, mi | |
|
|
1779
|
+
* | Flexible day period | 80 | B..BBB | at night, in the morning, ... | |
|
|
1780
|
+
* | | | BBBB | at night, in the morning, ... | 2 |
|
|
1781
|
+
* | | | BBBBB | at night, in the morning, ... | |
|
|
1782
|
+
* | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | |
|
|
1783
|
+
* | | | ho | 1st, 2nd, ..., 11th, 12th | 5 |
|
|
1784
|
+
* | | | hh | 01, 02, ..., 11, 12 | |
|
|
1785
|
+
* | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | |
|
|
1786
|
+
* | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 |
|
|
1787
|
+
* | | | HH | 00, 01, 02, ..., 23 | |
|
|
1788
|
+
* | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | |
|
|
1789
|
+
* | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 |
|
|
1790
|
+
* | | | KK | 01, 02, ..., 11, 00 | |
|
|
1791
|
+
* | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | |
|
|
1792
|
+
* | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 |
|
|
1793
|
+
* | | | kk | 24, 01, 02, ..., 23 | |
|
|
1794
|
+
* | Minute | 60 | m | 0, 1, ..., 59 | |
|
|
1795
|
+
* | | | mo | 0th, 1st, ..., 59th | 5 |
|
|
1796
|
+
* | | | mm | 00, 01, ..., 59 | |
|
|
1797
|
+
* | Second | 50 | s | 0, 1, ..., 59 | |
|
|
1798
|
+
* | | | so | 0th, 1st, ..., 59th | 5 |
|
|
1799
|
+
* | | | ss | 00, 01, ..., 59 | |
|
|
1800
|
+
* | Seconds timestamp | 40 | t | 512969520 | |
|
|
1801
|
+
* | | | tt | ... | 2 |
|
|
1802
|
+
* | Fraction of second | 30 | S | 0, 1, ..., 9 | |
|
|
1803
|
+
* | | | SS | 00, 01, ..., 99 | |
|
|
1804
|
+
* | | | SSS | 000, 0001, ..., 999 | |
|
|
1805
|
+
* | | | SSSS | ... | 2 |
|
|
1806
|
+
* | Milliseconds timestamp | 20 | T | 512969520900 | |
|
|
1807
|
+
* | | | TT | ... | 2 |
|
|
1808
|
+
* | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | |
|
|
1809
|
+
* | | | XX | -0800, +0530, Z | |
|
|
1810
|
+
* | | | XXX | -08:00, +05:30, Z | |
|
|
1811
|
+
* | | | XXXX | -0800, +0530, Z, +123456 | 2 |
|
|
1812
|
+
* | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
|
|
1813
|
+
* | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | |
|
|
1814
|
+
* | | | xx | -0800, +0530, +0000 | |
|
|
1815
|
+
* | | | xxx | -08:00, +05:30, +00:00 | 2 |
|
|
1816
|
+
* | | | xxxx | -0800, +0530, +0000, +123456 | |
|
|
1817
|
+
* | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
|
|
1818
|
+
* | Long localized date | NA | P | 05/29/1453 | 5,8 |
|
|
1819
|
+
* | | | PP | May 29, 1453 | |
|
|
1820
|
+
* | | | PPP | May 29th, 1453 | |
|
|
1821
|
+
* | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 |
|
|
1822
|
+
* | Long localized time | NA | p | 12:00 AM | 5,8 |
|
|
1823
|
+
* | | | pp | 12:00:00 AM | |
|
|
1824
|
+
* | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | |
|
|
1825
|
+
* | | | PPpp | May 29, 1453, 12:00:00 AM | |
|
|
1826
|
+
* | | | PPPpp | May 29th, 1453 at ... | |
|
|
1827
|
+
* | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 |
|
|
1828
|
+
* Notes:
|
|
1829
|
+
* 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
|
|
1830
|
+
* are the same as "stand-alone" units, but are different in some languages.
|
|
1831
|
+
* "Formatting" units are declined according to the rules of the language
|
|
1832
|
+
* in the context of a date. "Stand-alone" units are always nominative singular.
|
|
1833
|
+
* In `format` function, they will produce different result:
|
|
1834
|
+
*
|
|
1835
|
+
* `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
|
|
1836
|
+
*
|
|
1837
|
+
* `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
|
|
1838
|
+
*
|
|
1839
|
+
* `parse` will try to match both formatting and stand-alone units interchangably.
|
|
1840
|
+
*
|
|
1841
|
+
* 2. Any sequence of the identical letters is a pattern, unless it is escaped by
|
|
1842
|
+
* the single quote characters (see below).
|
|
1843
|
+
* If the sequence is longer than listed in table:
|
|
1844
|
+
* - for numerical units (`yyyyyyyy`) `parse` will try to match a number
|
|
1845
|
+
* as wide as the sequence
|
|
1846
|
+
* - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.
|
|
1847
|
+
* These variations are marked with "2" in the last column of the table.
|
|
1848
|
+
*
|
|
1849
|
+
* 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
|
|
1850
|
+
* These tokens represent the shortest form of the quarter.
|
|
1851
|
+
*
|
|
1852
|
+
* 4. The main difference between `y` and `u` patterns are B.C. years:
|
|
1853
|
+
*
|
|
1854
|
+
* | Year | `y` | `u` |
|
|
1855
|
+
* |------|-----|-----|
|
|
1856
|
+
* | AC 1 | 1 | 1 |
|
|
1857
|
+
* | BC 1 | 1 | 0 |
|
|
1858
|
+
* | BC 2 | 2 | -1 |
|
|
1859
|
+
*
|
|
1860
|
+
* Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:
|
|
1861
|
+
*
|
|
1862
|
+
* `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`
|
|
1863
|
+
*
|
|
1864
|
+
* `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`
|
|
1865
|
+
*
|
|
1866
|
+
* while `uu` will just assign the year as is:
|
|
1867
|
+
*
|
|
1868
|
+
* `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`
|
|
1869
|
+
*
|
|
1870
|
+
* `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`
|
|
1871
|
+
*
|
|
1872
|
+
* The same difference is true for local and ISO week-numbering years (`Y` and `R`),
|
|
1873
|
+
* except local week-numbering years are dependent on `options.weekStartsOn`
|
|
1874
|
+
* and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear}
|
|
1875
|
+
* and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}).
|
|
1876
|
+
*
|
|
1877
|
+
* 5. These patterns are not in the Unicode Technical Standard #35:
|
|
1878
|
+
* - `i`: ISO day of week
|
|
1879
|
+
* - `I`: ISO week of year
|
|
1880
|
+
* - `R`: ISO week-numbering year
|
|
1881
|
+
* - `o`: ordinal number modifier
|
|
1882
|
+
* - `P`: long localized date
|
|
1883
|
+
* - `p`: long localized time
|
|
1884
|
+
*
|
|
1885
|
+
* 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
|
|
1886
|
+
* You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
|
|
1887
|
+
*
|
|
1888
|
+
* 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
|
|
1889
|
+
* You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
|
|
1890
|
+
*
|
|
1891
|
+
* 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based
|
|
1892
|
+
* on the given locale.
|
|
1893
|
+
*
|
|
1894
|
+
* using `en-US` locale: `P` => `MM/dd/yyyy`
|
|
1895
|
+
* using `en-US` locale: `p` => `hh:mm a`
|
|
1896
|
+
* using `pt-BR` locale: `P` => `dd/MM/yyyy`
|
|
1897
|
+
* using `pt-BR` locale: `p` => `HH:mm`
|
|
1898
|
+
*
|
|
1899
|
+
* Values will be assigned to the date in the descending order of its unit's priority.
|
|
1900
|
+
* Units of an equal priority overwrite each other in the order of appearance.
|
|
1901
|
+
*
|
|
1902
|
+
* If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),
|
|
1903
|
+
* the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.
|
|
1904
|
+
*
|
|
1905
|
+
* `referenceDate` must be passed for correct work of the function.
|
|
1906
|
+
* If you're not sure which `referenceDate` to supply, create a new instance of Date:
|
|
1907
|
+
* `parse('02/11/2014', 'MM/dd/yyyy', new Date())`
|
|
1908
|
+
* In this case parsing will be done in the context of the current date.
|
|
1909
|
+
* If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,
|
|
1910
|
+
* then `Invalid Date` will be returned.
|
|
1911
|
+
*
|
|
1912
|
+
* The result may vary by locale.
|
|
1913
|
+
*
|
|
1914
|
+
* If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.
|
|
1915
|
+
*
|
|
1916
|
+
* If parsing failed, `Invalid Date` will be returned.
|
|
1917
|
+
* Invalid Date is a Date, whose time value is NaN.
|
|
1918
|
+
* Time value of Date: http://es5.github.io/#x15.9.1.1
|
|
1919
|
+
*
|
|
1920
|
+
* ### v2.0.0 breaking changes:
|
|
1921
|
+
*
|
|
1922
|
+
* - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
|
|
1923
|
+
*
|
|
1924
|
+
* - Old `parse` was renamed to `toDate`.
|
|
1925
|
+
* Now `parse` is a new function which parses a string using a provided format.
|
|
1926
|
+
*
|
|
1927
|
+
* ```javascript
|
|
1928
|
+
* // Before v2.0.0
|
|
1929
|
+
* parse('2016-01-01')
|
|
1930
|
+
*
|
|
1931
|
+
* // v2.0.0 onward (toDate no longer accepts a string)
|
|
1932
|
+
* toDate(1392098430000) // Unix to timestamp
|
|
1933
|
+
* toDate(new Date(2014, 1, 11, 11, 30, 30)) // Cloning the date
|
|
1934
|
+
* parse('2016-01-01', 'yyyy-MM-dd', new Date())
|
|
1935
|
+
* ```
|
|
1936
|
+
*
|
|
1937
|
+
* @param {String} dateString - the string to parse
|
|
1938
|
+
* @param {String} formatString - the string of tokens
|
|
1939
|
+
* @param {Date|Number} referenceDate - defines values missing from the parsed dateString
|
|
1940
|
+
* @param {Object} [options] - an object with options.
|
|
1941
|
+
* @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
|
|
1942
|
+
* @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
|
|
1943
|
+
* @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year
|
|
1944
|
+
* @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
|
|
1945
|
+
* see: https://git.io/fxCyr
|
|
1946
|
+
* @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
|
|
1947
|
+
* see: https://git.io/fxCyr
|
|
1948
|
+
* @returns {Date} the parsed date
|
|
1949
|
+
* @throws {TypeError} 3 arguments required
|
|
1950
|
+
* @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
|
|
1951
|
+
* @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
|
|
1952
|
+
* @throws {RangeError} `options.locale` must contain `match` property
|
|
1953
|
+
* @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1954
|
+
* @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
|
|
1955
|
+
* @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
|
|
1956
|
+
* @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
|
|
1957
|
+
* @throws {RangeError} format string contains an unescaped latin alphabet character
|
|
1958
|
+
*
|
|
1959
|
+
* @example
|
|
1960
|
+
* // Parse 11 February 2014 from middle-endian format:
|
|
1961
|
+
* var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())
|
|
1962
|
+
* //=> Tue Feb 11 2014 00:00:00
|
|
1963
|
+
*
|
|
1964
|
+
* @example
|
|
1965
|
+
* // Parse 28th of February in Esperanto locale in the context of 2010 year:
|
|
1966
|
+
* import eo from 'date-fns/locale/eo'
|
|
1967
|
+
* var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), {
|
|
1968
|
+
* locale: eo
|
|
1969
|
+
* })
|
|
1970
|
+
* //=> Sun Feb 28 2010 00:00:00
|
|
1971
|
+
*/
|
|
1972
|
+
|
|
1973
|
+
function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOptions) {
|
|
1974
|
+
requiredArgs(3, arguments);
|
|
1975
|
+
var dateString = String(dirtyDateString);
|
|
1976
|
+
var formatString = String(dirtyFormatString);
|
|
1977
|
+
var options = dirtyOptions || {};
|
|
1978
|
+
var locale = options.locale || defaultLocale;
|
|
1979
|
+
|
|
1980
|
+
if (!locale.match) {
|
|
1981
|
+
throw new RangeError('locale must contain match property');
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
|
|
1985
|
+
var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);
|
|
1986
|
+
var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
|
|
1987
|
+
|
|
1988
|
+
if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
|
|
1989
|
+
throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
|
|
1990
|
+
}
|
|
1991
|
+
|
|
1992
|
+
var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
|
|
1993
|
+
var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);
|
|
1994
|
+
var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
|
|
1995
|
+
|
|
1996
|
+
if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
|
|
1997
|
+
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
if (formatString === '') {
|
|
2001
|
+
if (dateString === '') {
|
|
2002
|
+
return toDate(dirtyReferenceDate);
|
|
2003
|
+
} else {
|
|
2004
|
+
return new Date(NaN);
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
var subFnOptions = {
|
|
2009
|
+
firstWeekContainsDate: firstWeekContainsDate,
|
|
2010
|
+
weekStartsOn: weekStartsOn,
|
|
2011
|
+
locale: locale
|
|
2012
|
+
}; // If timezone isn't specified, it will be set to the system timezone
|
|
2013
|
+
|
|
2014
|
+
var setters = [{
|
|
2015
|
+
priority: TIMEZONE_UNIT_PRIORITY,
|
|
2016
|
+
subPriority: -1,
|
|
2017
|
+
set: dateToSystemTimezone,
|
|
2018
|
+
index: 0
|
|
2019
|
+
}];
|
|
2020
|
+
var i;
|
|
2021
|
+
var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
|
|
2022
|
+
var firstCharacter = substring[0];
|
|
2023
|
+
|
|
2024
|
+
if (firstCharacter === 'p' || firstCharacter === 'P') {
|
|
2025
|
+
var longFormatter = longFormatters[firstCharacter];
|
|
2026
|
+
return longFormatter(substring, locale.formatLong, subFnOptions);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
return substring;
|
|
2030
|
+
}).join('').match(formattingTokensRegExp);
|
|
2031
|
+
var usedTokens = [];
|
|
2032
|
+
|
|
2033
|
+
for (i = 0; i < tokens.length; i++) {
|
|
2034
|
+
var token = tokens[i];
|
|
2035
|
+
|
|
2036
|
+
if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {
|
|
2037
|
+
throwProtectedError(token, formatString, dirtyDateString);
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {
|
|
2041
|
+
throwProtectedError(token, formatString, dirtyDateString);
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
var firstCharacter = token[0];
|
|
2045
|
+
var parser = parsers$1[firstCharacter];
|
|
2046
|
+
|
|
2047
|
+
if (parser) {
|
|
2048
|
+
var incompatibleTokens = parser.incompatibleTokens;
|
|
2049
|
+
|
|
2050
|
+
if (Array.isArray(incompatibleTokens)) {
|
|
2051
|
+
var incompatibleToken = void 0;
|
|
2052
|
+
|
|
2053
|
+
for (var _i = 0; _i < usedTokens.length; _i++) {
|
|
2054
|
+
var usedToken = usedTokens[_i].token;
|
|
2055
|
+
|
|
2056
|
+
if (incompatibleTokens.indexOf(usedToken) !== -1 || usedToken === firstCharacter) {
|
|
2057
|
+
incompatibleToken = usedTokens[_i];
|
|
2058
|
+
break;
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
if (incompatibleToken) {
|
|
2063
|
+
throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time"));
|
|
2064
|
+
}
|
|
2065
|
+
} else if (parser.incompatibleTokens === '*' && usedTokens.length) {
|
|
2066
|
+
throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time"));
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
usedTokens.push({
|
|
2070
|
+
token: firstCharacter,
|
|
2071
|
+
fullToken: token
|
|
2072
|
+
});
|
|
2073
|
+
var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);
|
|
2074
|
+
|
|
2075
|
+
if (!parseResult) {
|
|
2076
|
+
return new Date(NaN);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
setters.push({
|
|
2080
|
+
priority: parser.priority,
|
|
2081
|
+
subPriority: parser.subPriority || 0,
|
|
2082
|
+
set: parser.set,
|
|
2083
|
+
validate: parser.validate,
|
|
2084
|
+
value: parseResult.value,
|
|
2085
|
+
index: setters.length
|
|
2086
|
+
});
|
|
2087
|
+
dateString = parseResult.rest;
|
|
2088
|
+
} else {
|
|
2089
|
+
if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
|
|
2090
|
+
throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
|
|
2091
|
+
} // Replace two single quote characters with one single quote character
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
if (token === "''") {
|
|
2095
|
+
token = "'";
|
|
2096
|
+
} else if (firstCharacter === "'") {
|
|
2097
|
+
token = cleanEscapedString(token);
|
|
2098
|
+
} // Cut token from string, or, if string doesn't match the token, return Invalid Date
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
if (dateString.indexOf(token) === 0) {
|
|
2102
|
+
dateString = dateString.slice(token.length);
|
|
2103
|
+
} else {
|
|
2104
|
+
return new Date(NaN);
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
} // Check if the remaining input contains something other than whitespace
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {
|
|
2111
|
+
return new Date(NaN);
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
var uniquePrioritySetters = setters.map(function (setter) {
|
|
2115
|
+
return setter.priority;
|
|
2116
|
+
}).sort(function (a, b) {
|
|
2117
|
+
return b - a;
|
|
2118
|
+
}).filter(function (priority, index, array) {
|
|
2119
|
+
return array.indexOf(priority) === index;
|
|
2120
|
+
}).map(function (priority) {
|
|
2121
|
+
return setters.filter(function (setter) {
|
|
2122
|
+
return setter.priority === priority;
|
|
2123
|
+
}).sort(function (a, b) {
|
|
2124
|
+
return b.subPriority - a.subPriority;
|
|
2125
|
+
});
|
|
2126
|
+
}).map(function (setterArray) {
|
|
2127
|
+
return setterArray[0];
|
|
2128
|
+
});
|
|
2129
|
+
var date = toDate(dirtyReferenceDate);
|
|
2130
|
+
|
|
2131
|
+
if (isNaN(date)) {
|
|
2132
|
+
return new Date(NaN);
|
|
2133
|
+
} // Convert the date in system timezone to the same date in UTC+00:00 timezone.
|
|
2134
|
+
// This ensures that when UTC functions will be implemented, locales will be compatible with them.
|
|
2135
|
+
// See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));
|
|
2139
|
+
var flags = {};
|
|
2140
|
+
|
|
2141
|
+
for (i = 0; i < uniquePrioritySetters.length; i++) {
|
|
2142
|
+
var setter = uniquePrioritySetters[i];
|
|
2143
|
+
|
|
2144
|
+
if (setter.validate && !setter.validate(utcDate, setter.value, subFnOptions)) {
|
|
2145
|
+
return new Date(NaN);
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
var result = setter.set(utcDate, flags, setter.value, subFnOptions); // Result is tuple (date, flags)
|
|
2149
|
+
|
|
2150
|
+
if (result[0]) {
|
|
2151
|
+
utcDate = result[0];
|
|
2152
|
+
assign(flags, result[1]); // Result is date
|
|
2153
|
+
} else {
|
|
2154
|
+
utcDate = result;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
return utcDate;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
function dateToSystemTimezone(date, flags) {
|
|
2162
|
+
if (flags.timestampIsSet) {
|
|
2163
|
+
return date;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
var convertedDate = new Date(0);
|
|
2167
|
+
convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
|
|
2168
|
+
convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
|
|
2169
|
+
return convertedDate;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
function cleanEscapedString(input) {
|
|
2173
|
+
return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
const calendarDatepickerCss = ".sc-digi-calendar-datepicker:root{--digi--grayscale--0:#ffffff;--digi--grayscale--50:#fbfbfb;--digi--grayscale--100:#f4f4f4;--digi--grayscale--200:#ededed;--digi--grayscale--300:#e4e4e4;--digi--grayscale--400:#dddddd;--digi--grayscale--500:#cacaca;--digi--grayscale--600:#acacac;--digi--grayscale--700:#757575;--digi--grayscale--800:#5c5c5c;--digi--grayscale--900:#333333;--digi--grayscale--1000:#000000;--digi--sentiment--informative--200:#e9e9ff;--digi--sentiment--informative--500:#0A4DD1;--digi--sentiment--informative--700:#0058a3;--digi--sentiment--error--200:#fdeded;--digi--sentiment--error--500:#da0000;--digi--sentiment--error--700:#c7311a;--digi--sentiment--success--200:#e9f6ec;--digi--sentiment--success--500:#008A20;--digi--sentiment--success--700:#02703c;--digi--sentiment--warning--200:#fff398;--digi--sentiment--warning--50:#fffbdd;--digi--sentiment--warning--500:#ffe200;--digi--sentiment--warning--700:#ffc108;--digi--sentiment--warning--900:#664d00;--digi--misc--transparent:#ffffff00;--digi--animation--duration--base:var(--digi--global--animation--duration--base);--digi--animation--duration--small:var(--digi--global--animation--duration--short);--digi--animation--duration--large:var(--digi--global--animation--duration--longer);--digi--animation--duration--reduced:var(--digi--global--animation--duration--shortest);--digi--animation--duration--sweep:var(--digi--global--animation--duration--longest);--digi--animation--rotation--45:var(--digi--global--animation--rotation--smallest-2);--digi--animation--rotation--90:var(--digi--global--animation--rotation--smallest);--digi--animation--rotation--135:var(--digi--global--animation--rotation--smaller);--digi--animation--rotation--180:var(--digi--global--animation--rotation--small);--digi--animation--rotation--225:var(--digi--global--animation--rotation--base);--digi--animation--rotation--270:var(--digi--global--animation--rotation--large);--digi--animation--rotation--315:var(--digi--global--animation--rotation--larger);--digi--animation--rotation--360:var(--digi--global--animation--rotation--largest);--digi--global--animation--duration--base:.3s;--digi--global--animation--duration--short:.2s;--digi--global--animation--duration--shorter:.1s;--digi--global--animation--duration--shortest:.01s;--digi--global--animation--duration--long:.4s;--digi--global--animation--duration--longer:.5s;--digi--global--animation--duration--longest:4s;--digi--global--animation--rotation--smallest-2:0deg;--digi--global--animation--rotation--smallest:45deg;--digi--global--animation--rotation--smaller:90deg;--digi--global--animation--rotation--small:135deg;--digi--global--animation--rotation--base:180deg;--digi--global--animation--rotation--large:225deg;--digi--global--animation--rotation--larger:270deg;--digi--global--animation--rotation--largest:315deg;--digi--global--animation--rotation--largest-2:360deg;--digi--global--border-radius--base:6px;--digi--global--border-radius--small:4px;--digi--global--border-radius--smaller:3px;--digi--global--border-radius--smallest:2px;--digi--global--border-radius--smallest-2:1px;--digi--global--border-radius--smallest-3:0px;--digi--global--border-radius--large:8px;--digi--global--border-radius--larger:16px;--digi--global--border-radius--largest:32px;--digi--global--border-radius--largest-2:64px;--digi--global--border-width--base:2px;--digi--global--border-width--small:1px;--digi--global--border-width--smaller:0px;--digi--global--border-width--large:4px;--digi--global--border-width--larger:6px;--digi--global--border-width--largest:8px;--digi--global--border-width--largest-2:10px;--digi--global--border-style--solid:solid;--digi--global--border-style--none:none;--digi--global--border-style--dashed:dashed;--digi--global--spacing--base:16px;--digi--global--spacing--small:14px;--digi--global--spacing--smaller:12px;--digi--global--spacing--smallest:10px;--digi--global--spacing--smallest-2:8px;--digi--global--spacing--smallest-3:6px;--digi--global--spacing--smallest-4:4px;--digi--global--spacing--smallest-5:3px;--digi--global--spacing--smallest-6:2px;--digi--global--spacing--smallest-7:1px;--digi--global--spacing--large:18px;--digi--global--spacing--larger:20px;--digi--global--spacing---:22px;--digi--global--spacing--largest-2:24px;--digi--global--spacing--largest-3:28px;--digi--global--spacing--largest-4:32px;--digi--global--spacing--largest-5:40px;--digi--global--spacing--largest-6:48px;--digi--global--spacing--largest-7:56px;--digi--global--spacing--largest-8:64px;--digi--global--spacing--largest:22px;--digi--global--spacing--largest-3-5:30px;--digi--global--spacing--largest-9:72px;--digi--global--spacing--largest-10:80px;--digi--global--breakpoint--smallest-3:374px;--digi--global--breakpoint--smallest-2:375px;--digi--global--breakpoint--smallest:575px;--digi--global--breakpoint--smaller:576px;--digi--global--breakpoint--small:767px;--digi--global--breakpoint--medium:768px;--digi--global--breakpoint--large:991px;--digi--global--breakpoint--larger:992px;--digi--global--breakpoint--largest:1199px;--digi--global--breakpoint--largest-2:1200px;--digi--global--breakpoint--largest-3:1399px;--digi--global--breakpoint--largest-4:1400px;--digi--global--size--smaller:auto;--digi--global--size--small:36rem;--digi--global--size--base:48rem;--digi--global--size--large:62rem;--digi--global--size--larger:75rem;--digi--global--size--largest:87.5rem;--digi--global--text-width--small:31rem;--digi--global--text-width--base:35rem;--digi--global--text-width--large:40rem;--digi--global--text-width--larger:44rem;--digi--global--text-width--largest:48rem;--digi--global--text-width--largest-2:53rem;--digi--global--text-width--largest-3:61rem;--digi--global--text-width--largest-4:70rem;--digi--global--typography--line-height--base:1.5;--digi--global--typography--line-height--small:1;--digi--global--typography--line-height--large:2;--digi--global--typography--font-size--base:1rem;--digi--global--typography--font-size--small:0.875rem;--digi--global--typography--font-size--smaller:0.75rem;--digi--global--typography--font-size--large:1.125rem;--digi--global--typography--font-size--larger:1.25rem;--digi--global--typography--font-size--largest:1.375rem;--digi--global--typography--font-size--largest-2:1.5rem;--digi--global--typography--font-size--largest-3:1.75rem;--digi--global--typography--font-size--largest-4:2rem;--digi--global--typography--font-size--largest-5:2.25rem;--digi--global--typography--font-size--interaction-small:0.875rem;--digi--global--typography--font-size--interaction-medium:1rem;--digi--global--typography--font-size--interaction-large:1.125rem;--digi--global--typography--font-size--largest-6:2.5rem;--digi--global--typography--font-weight--regular:400;--digi--global--typography--font-weight--light:300;--digi--global--typography--font-weight--semibold:600;--digi--global--typography--font-weight--bold:700;--digi--global--typography--font-family--default:\"Open Sans\";--digi--global--typography--font-family--mono:Consolas, Monaco, \"Andale Mono\", \"Ubuntu Mono\", monospace;--digi--global--typography--text-decoration--default:none;--digi--global--typography--text-decoration--link:underline;--digi--border-radius--primary:var(--digi--global--border-radius--smallest-3);--digi--border-radius--secondary:var(--digi--global--border-radius--base);--digi--border-radius--tertiary:var(--digi--global--border-radius--smaller);--digi--border-radius--complementary-1:var(--digi--global--border-radius--largest);--digi--border-radius--complementary-2:var(--digi--global--border-radius--largest-2);--digi--border-radius--button:var(--digi--global--border-radius--base);--digi--border-radius--input:var(--digi--global--border-radius--smallest-3);--digi--border-radius--input-search:var(--digi--global--border-radius--base);--digi--border-radius--complementary-3:var(--digi--global--border-radius--larger);--digi--border-width--primary:var(--digi--global--border-width--small);--digi--border-width--secondary:var(--digi--global--border-width--base);--digi--border-width--complementary-1:var(--digi--global--border-width--largest);--digi--border-width--complementary-2:var(--digi--global--border-width--largest-2);--digi--border-width--input-regular:var(--digi--global--border-width--small);--digi--border-width--input-validation:var(--digi--global--border-width--base);--digi--border-width--button:var(--digi--global--border-width--small);--digi--border-style--primary:var(--digi--global--border-style--solid);--digi--border-style--secondary:var(--digi--global--border-style--none);--digi--padding--medium:var(--digi--global--spacing--base);--digi--padding--smaller:var(--digi--global--spacing--smallest-2);--digi--padding--small:var(--digi--global--spacing--smaller);--digi--padding--large:var(--digi--global--spacing--largest-2);--digi--padding--larger:var(--digi--global--spacing--largest-3);--digi--padding--largest:var(--digi--global--spacing--largest-4);--digi--padding--largest-2:var(--digi--global--spacing--largest-5);--digi--padding--largest-3:var(--digi--global--spacing--largest-6);--digi--margin--smaller:var(--digi--global--spacing--smallest-2);--digi--margin--small:var(--digi--global--spacing--smallest);--digi--margin--medium:var(--digi--global--spacing--base);--digi--margin--large:var(--digi--global--spacing--largest-2);--digi--margin--larger:var(--digi--global--spacing--largest-3);--digi--margin--largest:var(--digi--global--spacing--largest-4);--digi--margin--h1-small:var(--digi--global--spacing--base);--digi--margin--h1-medium:var(--digi--global--spacing--largest-2);--digi--margin--h1-large:var(--digi--global--spacing--largest-4);--digi--margin--h2-small:var(--digi--global--spacing--base);--digi--margin--h2-large:var(--digi--global--spacing--base);--digi--margin--h3-small:var(--digi--global--spacing--smallest-2);--digi--margin--h3-large:var(--digi--global--spacing--smallest-2);--digi--margin--h4-h6-small:var(--digi--global--spacing--smallest-2);--digi--margin--h4-h6-large:var(--digi--global--spacing--smallest-2);--digi--margin--text-small:var(--digi--global--spacing--largest-2);--digi--margin--text-large:var(--digi--global--spacing--largest-2);--digi--gutter--largest-3:var(--digi--global--spacing--largest-2);--digi--gutter--largest-2:var(--digi--global--spacing--larger);--digi--gutter--largest:var(--digi--global--spacing--base);--digi--gutter--larger:var(--digi--global--spacing--smaller);--digi--gutter--large:var(--digi--global--spacing--smallest);--digi--gutter--medium:var(--digi--global--spacing--smallest-2);--digi--gutter--small:var(--digi--global--spacing--smallest-3);--digi--gutter--smaller:var(--digi--global--spacing--smallest-4);--digi--gutter--smallest:var(--digi--global--spacing--smallest-5);--digi--gutter--smallest-2:var(--digi--global--spacing--smallest-6);--digi--gutter--smallest-3:var(--digi--global--spacing--smallest-7);--digi--gutter--button-block-small:var(--digi--global--spacing--smallest-3);--digi--gutter--button-block-medium:var(--digi--global--spacing--smallest-2);--digi--gutter--button-block-large:var(--digi--global--spacing--smallest);--digi--gutter--button-inline-small:var(--digi--global--spacing--smallest-2);--digi--gutter--button-inline-medium:var(--digi--global--spacing--base);--digi--gutter--button-inline-large:var(--digi--global--spacing--largest-2);--digi--gutter--icon:var(--digi--global--spacing--smallest);--digi--breakpoint--small-below:var(--digi--global--breakpoint--smallest);--digi--breakpoint--small:var(--digi--global--breakpoint--smaller);--digi--breakpoint--medium-below:var(--digi--global--breakpoint--small);--digi--breakpoint--medium:var(--digi--global--breakpoint--medium);--digi--breakpoint--large-below:var(--digi--global--breakpoint--large);--digi--breakpoint--large:var(--digi--global--breakpoint--larger);--digi--breakpoint--x-large-below:var(--digi--global--breakpoint--largest);--digi--breakpoint--x-large:var(--digi--global--breakpoint--largest-2);--digi--breakpoint--xx-large-below:var(--digi--global--breakpoint--largest-3);--digi--breakpoint--xx-large:var(--digi--global--breakpoint--largest-4);--digi--container-width--smaller:var(--digi--global--size--smaller);--digi--container-width--small:var(--digi--global--size--small);--digi--container-width--base:var(--digi--global--size--base);--digi--container-width--medium:var(--digi--global--size--base);--digi--container-width--large:var(--digi--global--size--large);--digi--container-width--larger:var(--digi--global--size--larger);--digi--container-width--largest:var(--digi--global--size--largest);--digi--container-gutter--smaller:var(--digi--global--spacing--base);--digi--container-gutter--small:var(--digi--global--spacing--large);--digi--container-gutter--base:var(--digi--global--spacing--base);--digi--container-gutter--medium:var(--digi--global--spacing--largest-2);--digi--container-gutter--large:var(--digi--global--spacing--base);--digi--container-gutter--larger:var(--digi--global--spacing--largest-3-5);--digi--container-gutter--largest:var(--digi--global--spacing--largest-5);--digi--paragraph-width--medium:var(--digi--global--text-width--base);--digi--paragraph-width--large:var(--digi--global--text-width--large);--digi--input-height--small:var(--digi--global--spacing--largest-4);--digi--input-height--medium:var(--digi--global--spacing--largest-5);--digi--input-height--large:var(--digi--global--spacing--largest-6);--digi--typography--body--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--body--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--body--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--body--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--body--font-weight--desktop-large:var(--digi--global--typography--font-weight--regular);--digi--typography--body--font-weight--mobile:var(--digi--global--typography--font-weight--regular);--digi--typography--body--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--body--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--body--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--body--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--body--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--body--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--description--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--description--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--description--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-size--desktop:var(--digi--global--typography--font-size--largest-4);--digi--typography--heading-1--font-size--desktop-large:var(--digi--global--typography--font-size--largest-6);--digi--typography--heading-1--font-size--mobile:var(--digi--global--typography--font-size--largest-3);--digi--typography--heading-1--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-1--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-1--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-1--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-1--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--font-size--desktop:var(--digi--global--typography--font-size--largest-2);--digi--typography--heading-2--font-size--desktop-large:var(--digi--global--typography--font-size--largest-3);--digi--typography--heading-2--font-size--mobile:var(--digi--global--typography--font-size--largest);--digi--typography--heading-2--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-2--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-2--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-2--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--font-size--desktop:var(--digi--global--typography--font-size--larger);--digi--typography--heading-3--font-size--desktop-large:var(--digi--global--typography--font-size--largest);--digi--typography--heading-3--font-size--mobile:var(--digi--global--typography--font-size--large);--digi--typography--heading-3--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-3--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-3--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-3--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--heading-4--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--heading-4--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--heading-4--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--font-weight--desktop-large:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--heading-4--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--heading-4--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-4--text-decoration--mobile:var(--digi--global--typography--text-decoration--default);--digi--typography--heading-jumbo--font-size--desktop:var(--digi--global--typography--font-size--largest-4);--digi--typography--heading-jumbo--font-size--desktop-large:var(--digi--global--typography--font-size--largest-6);--digi--typography--heading-jumbo--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--input--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--label--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--label--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--label--font-weight--mobile:var(--digi--global--typography--font-weight--semibold);--digi--typography--label--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--label-description--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--label-description--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--link--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--link--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--link--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--link--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--link--font-weight--desktop-large:var(--digi--global--typography--font-weight--regular);--digi--typography--link--font-weight--mobile:var(--digi--global--typography--font-weight--regular);--digi--typography--link--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--link--line-height--desktop-large:var(--digi--global--typography--line-height--base);--digi--typography--link--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--link--text-decoration--desktop:var(--digi--global--typography--text-decoration--link);--digi--typography--link--text-decoration--desktop-large:var(--digi--global--typography--text-decoration--link);--digi--typography--link--text-decoration--mobile:var(--digi--global--typography--text-decoration--link);--digi--typography--link-bold--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--preamble--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--preamble--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--preamble--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--preamble--line-height--mobile:var(--digi--global--typography--line-height--base);--digi--typography--preamble--line-height--desktop:var(--digi--global--typography--line-height--base);--digi--typography--accordion--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--accordion--font-size--mobile:var(--digi--global--typography--font-size--base);--digi--typography--accordion--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--typography--tag--font-size--desktop:var(--digi--global--typography--font-size--small);--digi--typography--tag--font-size--mobile:var(--digi--global--typography--font-size--small);--digi--typography--tag--font-weight--desktop:var(--digi--global--typography--font-weight--regular);--digi--typography--breadcrumbs--font-size--desktop:var(--digi--global--typography--font-size--small);--digi--typography--breadcrumbs--text-decoration--desktop:var(--digi--global--typography--text-decoration--default);--digi--typography--title-logo--font-size--desktop:var(--digi--global--typography--font-size--largest-5);--digi--typography--title-logo--font-size--desktop-large:var(--digi--global--typography--font-size--largest-5);--digi--typography--title-logo--font-size--mobile:var(--digi--global--typography--font-size--largest-3);--digi--typography--title-logo--font-weight--desktop:var(--digi--global--typography--font-weight--bold);--digi--typography--button--font-size--desktop:var(--digi--global--typography--font-size--base);--digi--typography--button--font-size--desktop-large:var(--digi--global--typography--font-size--large);--digi--typography--button--font-weight--desktop:var(--digi--global--typography--font-weight--semibold);--digi--color--logotype-color:var(--digi--color--logotype-color--light);--digi--color--infographic--lineart:var(--digi--color--infographic--lineart--light);--digi--color--infographic--background:var(--digi--color--infographic--background--light);--digi--color--infographic--brand--primary:var(--digi--color--infographic--brand--primary--light);--digi--color--infographic--brand--secondary:var(--digi--color--infographic--brand--secondary--light);--digi--color--infographic--brand--tertiary:var(--digi--color--infographic--brand--tertiary--light);--digi--color--text--primary:var(--digi--color--text--primary--light);--digi--color--text--secondary:var(--digi--color--text--secondary--light);--digi--color--text--description:var(--digi--color--text--description--light);--digi--color--text--interactive--primary:var(--digi--color--text--interactive--primary--light);--digi--color--text--interactive--secondary:var(--digi--color--text--interactive--secondary--light);--digi--color--text--interactive--tertiary:var(--digi--color--text--interactive--tertiary--light);--digi--color--text--interactive--brand-primary:var(--digi--color--text--interactive--brand-primary--light);--digi--color--text--interactive--brand-secondary:var(--digi--color--text--interactive--brand-secondary--light);--digi--color--text--interactive--visited:var(--digi--color--text--interactive--visited--light);--digi--color--background--primary:var(--digi--color--background--primary--light);--digi--color--background--secondary:var(--digi--color--background--secondary--light);--digi--color--background--secondary-muted:var(--digi--color--background--secondary-muted--light);--digi--color--background--secondary-accent:var(--digi--color--background--secondary-accent--light);--digi--color--background--pop-out:var(--digi--color--background--pop-out--light);--digi--color--background--brand-primary:var(--digi--color--background--brand-primary--light);--digi--color--background--transparent:var(--digi--color--background--transparent--light);--digi--color--background--notification:var(--digi--color--background--notification--light);--digi--color--background--interactive--default--primary:var(--digi--color--background--interactive--default--primary--light);--digi--color--background--interactive--default--primary-inverted:var(--digi--color--background--interactive--default--primary-inverted--light);--digi--color--background--interactive--default--secondary:var(--digi--color--background--interactive--default--secondary--light);--digi--color--background--interactive--default--secondary-inverted:var(--digi--color--background--interactive--default--secondary-inverted--light);--digi--color--background--interactive--default--tertiary:var(--digi--color--background--interactive--default--tertiary--light);--digi--color--background--interactive--default--quaternary:var(--digi--color--background--interactive--default--quaternary--light);--digi--color--background--interactive--default--input-elements:var(--digi--color--background--interactive--default--input-elements--light);--digi--color--background--interactive--default--pop-out:var(--digi--color--background--interactive--default--pop-out--light);--digi--color--background--interactive--hover--primary:var(--digi--color--background--interactive--hover--primary--light);--digi--color--background--interactive--hover--secondary:var(--digi--color--background--interactive--hover--secondary--light);--digi--color--background--interactive--hover--tertiary:var(--digi--color--background--interactive--hover--tertiary--light);--digi--color--background--interactive--hover--quarternary:var(--digi--color--background--interactive--hover--quarternary--light);--digi--color--background--interactive--hover--inverted:var(--digi--color--background--interactive--hover--inverted--light);--digi--color--background--interactive--selected--primary:var(--digi--color--background--interactive--selected--primary--light);--digi--color--background--interactive--selected--secondary:var(--digi--color--background--interactive--selected--secondary--light);--digi--color--background--interactive--selected--tertiary:var(--digi--color--background--interactive--selected--tertiary--light);--digi--color--background--interactive--selected--on-menu-minus-button:var(--digi--color--background--interactive--selected--on-menu-minus-button--light);--digi--color--background--interactive--validation--success:var(--digi--color--background--interactive--validation--success--light);--digi--color--background--interactive--validation--warning:var(--digi--color--background--interactive--validation--warning--light);--digi--color--background--interactive--validation--error:var(--digi--color--background--interactive--validation--error--light);--digi--color--background--sentiment--error--primary:var(--digi--color--background--sentiment--error--primary--light);--digi--color--background--sentiment--error--secondary:var(--digi--color--background--sentiment--error--secondary--light);--digi--color--background--sentiment--error--tertiary:var(--digi--color--background--sentiment--error--tertiary--light);--digi--color--background--sentiment--success--primary:var(--digi--color--background--sentiment--success--primary--light);--digi--color--background--sentiment--success--secondary:var(--digi--color--background--sentiment--success--secondary--light);--digi--color--background--sentiment--success--tertiary:var(--digi--color--background--sentiment--success--tertiary--light);--digi--color--background--sentiment--warning--primary:var(--digi--color--background--sentiment--warning--primary--light);--digi--color--background--sentiment--warning--secondary:var(--digi--color--background--sentiment--warning--secondary--light);--digi--color--background--sentiment--warning--tertiary:var(--digi--color--background--sentiment--warning--tertiary--light);--digi--color--background--sentiment--warning--quarternary:var(--digi--color--background--sentiment--warning--quarternary--light);--digi--color--background--sentiment--info--primary:var(--digi--color--background--sentiment--info--primary--light);--digi--color--background--sentiment--info--secondary:var(--digi--color--background--sentiment--info--secondary--light);--digi--color--background--sentiment--info--tertiary:var(--digi--color--background--sentiment--info--tertiary--light);--digi--color--background--sentiment--neutral--primary:var(--digi--color--background--sentiment--neutral--primary--light);--digi--color--background--sentiment--neutral--secondary:var(--digi--color--background--sentiment--neutral--secondary--light);--digi--color--background--sentiment--neutral--tertiary:var(--digi--color--background--sentiment--neutral--tertiary--light);--digi--color--background--sentiment--beta--primary:var(--digi--color--background--sentiment--beta--primary--light);--digi--color--background--sentiment--beta--secondary:var(--digi--color--background--sentiment--beta--secondary--light);--digi--color--border--notification:var(--digi--color--border--notification--light);--digi--color--border--transparent:var(--digi--color--border--transparent--light);--digi--color--border--interactive--default--primary:var(--digi--color--border--interactive--default--primary--light);--digi--color--border--interactive--default--on-input:var(--digi--color--border--interactive--default--on-input--light);--digi--color--border--interactive--default--on-input-nuance:var(--digi--color--border--interactive--default--on-input-nuance--light);--digi--color--border--interactive--default--inverted:var(--digi--color--border--interactive--default--inverted--light);--digi--color--border--interactive--hover--primary:var(--digi--color--border--interactive--hover--primary--light);--digi--color--border--interactive--hover--secondary:var(--digi--color--border--interactive--hover--secondary--light);--digi--color--border--interactive--hover--inverted:var(--digi--color--border--interactive--hover--inverted--light);--digi--color--border--interactive--validation--success:var(--digi--color--border--interactive--validation--success--light);--digi--color--border--interactive--validation--warning:var(--digi--color--border--interactive--validation--warning--light);--digi--color--border--interactive--validation--error:var(--digi--color--border--interactive--validation--error--light);--digi--color--border--interactive--selected--primary:var(--digi--color--border--interactive--selected--primary--light);--digi--color--border--interactive--selected--secondary:var(--digi--color--border--interactive--selected--secondary--light);--digi--color--border--sentiment--error:var(--digi--color--border--sentiment--error--light);--digi--color--border--sentiment--success:var(--digi--color--border--sentiment--success--light);--digi--color--border--sentiment--warning:var(--digi--color--border--sentiment--warning--light);--digi--color--border--sentiment--info:var(--digi--color--border--sentiment--info--light);--digi--color--border--accent--primary:var(--digi--color--border--accent--primary--light);--digi--color--border--accent--secondary:var(--digi--color--border--accent--secondary--light);--digi--color--marking--navigation--selected:var(--digi--color--marking--navigation--selected--light);--digi--color--marking--navigation--level-active:var(--digi--color--marking--navigation--level-active--light);--digi--color--marking--navigation--level-inactive:var(--digi--color--marking--navigation--level-inactive--light);--digi--color--marking--indication--primary:var(--digi--color--marking--indication--primary--light);--digi--color--marking--indication--secondary:var(--digi--color--marking--indication--secondary--light);--digi--color--marking--indication--tertiary:var(--digi--color--marking--indication--tertiary--light);--digi--color--divider--primary:var(--digi--color--divider--primary--light);--digi--color--divider--secondary:var(--digi--color--divider--secondary--light);--digi--color--divider--on-brand-primary:var(--digi--color--divider--on-brand-primary--light);--digi--color--divider--cta:var(--digi--color--divider--cta--light);--digi--color--icon--primary:var(--digi--color--icon--primary--light);--digi--color--icon--secondary:var(--digi--color--icon--secondary--light);--digi--color--icon--cta:var(--digi--color--icon--cta--light);--digi--color--icon--brand-primary:var(--digi--color--icon--brand-primary--light);--digi--color--icon--brand-secondary:var(--digi--color--icon--brand-secondary--light);--digi--color--icon--validation--success:var(--digi--color--icon--validation--success--light);--digi--color--icon--validation--warning:var(--digi--color--icon--validation--warning--light);--digi--color--icon--validation--error:var(--digi--color--icon--validation--error--light);--digi--color--misc--spinner-path:var(--digi--color--misc--spinner-path--light);--digi--color--misc--skeleton:var(--digi--color--misc--skeleton--light);--digi--amethyst--500:#822998;--digi--granskott--150:#f2faf2;--digi--granskott--200:#ebf8eb;--digi--granskott--250:#ddf4dd;--digi--granskott--300:#cbecc9;--digi--granskott--350:#ace4ad;--digi--granskott--650:#1db920;--digi--granskott--700:#02a704;--digi--granskott--750:#018903;--digi--granskott--800:#016503;--digi--natthimmel--200:#e9f6fd;--digi--natthimmel--250:#ddf1fc;--digi--natthimmel--300:#c9e9fa;--digi--natthimmel--350:#abdef7;--digi--natthimmel--700:#043982;--digi--natthimmel--800:#091d54;--digi--natthimmel--900:#071744;--digi--norrsken--400:#aaf5ab;--digi--norrsken--500:#67ee6a;--digi--rallarros--300:#f8ddf5;--digi--rallarros--500:#ce1cbd;--digi--sapphire--500:#1616b2;--digi--color--logotype-color--light:var(--digi--granskott--700);--digi--color--infographic--lineart--light:var(--digi--grayscale--900);--digi--color--infographic--background--light:var(--digi--grayscale--0);--digi--color--infographic--brand--primary--light:var(--digi--granskott--700);--digi--color--infographic--brand--secondary--light:var(--digi--granskott--250);--digi--color--infographic--brand--tertiary--light:var(--digi--rallarros--500);--digi--color--text--primary--light:var(--digi--grayscale--900);--digi--color--text--secondary--light:var(--digi--grayscale--0);--digi--color--text--description--light:var(--digi--grayscale--800);--digi--color--text--interactive--primary--light:var(--digi--sapphire--500);--digi--color--text--interactive--secondary--light:var(--digi--grayscale--0);--digi--color--text--interactive--tertiary--light:var(--digi--grayscale--900);--digi--color--text--interactive--brand-primary--light:var(--digi--natthimmel--800);--digi--color--text--interactive--brand-secondary--light:var(--digi--norrsken--500);--digi--color--text--interactive--visited--light:var(--digi--amethyst--500);--digi--color--background--primary--light:var(--digi--grayscale--0);--digi--color--background--secondary--light:var(--digi--grayscale--100);--digi--color--background--secondary-muted--light:var(--digi--grayscale--50);--digi--color--background--secondary-accent--light:var(--digi--grayscale--400);--digi--color--background--pop-out--light:var(--digi--granskott--200);--digi--color--background--brand-primary--light:var(--digi--natthimmel--800);--digi--color--background--transparent--light:var(--digi--misc--transparent);--digi--color--background--notification--light:var(--digi--sentiment--error--500);--digi--color--background--interactive--default--primary--light:var(--digi--natthimmel--800);--digi--color--background--interactive--default--primary-inverted--light:var(--digi--norrsken--500);--digi--color--background--interactive--default--secondary--light:var(--digi--grayscale--0);--digi--color--background--interactive--default--secondary-inverted--light:var(--digi--misc--transparent);--digi--color--background--interactive--default--tertiary--light:var(--digi--grayscale--200);--digi--color--background--interactive--default--quaternary--light:var(--digi--grayscale--100);--digi--color--background--interactive--default--input-elements--light:var(--digi--grayscale--0);--digi--color--background--interactive--default--pop-out--light:var(--digi--granskott--150);--digi--color--background--interactive--hover--primary--light:var(--digi--natthimmel--700);--digi--color--background--interactive--hover--secondary--light:var(--digi--natthimmel--250);--digi--color--background--interactive--hover--tertiary--light:var(--digi--sapphire--500);--digi--color--background--interactive--hover--quarternary--light:var(--digi--grayscale--200);--digi--color--background--interactive--hover--inverted--light:var(--digi--norrsken--400);--digi--color--background--interactive--selected--primary--light:var(--digi--sentiment--success--500);--digi--color--background--interactive--selected--secondary--light:var(--digi--natthimmel--800);--digi--color--background--interactive--selected--tertiary--light:var(--digi--grayscale--200);--digi--color--background--interactive--selected--on-menu-minus-button--light:var(--digi--granskott--250);--digi--color--background--interactive--validation--success--light:var(--digi--sentiment--success--200);--digi--color--background--interactive--validation--warning--light:var(--digi--sentiment--warning--50);--digi--color--background--interactive--validation--error--light:var(--digi--sentiment--error--200);--digi--color--background--sentiment--error--primary--light:var(--digi--sentiment--error--500);--digi--color--background--sentiment--error--secondary--light:var(--digi--sentiment--error--700);--digi--color--background--sentiment--error--tertiary--light:var(--digi--sentiment--error--200);--digi--color--background--sentiment--success--primary--light:var(--digi--sentiment--success--500);--digi--color--background--sentiment--success--secondary--light:var(--digi--sentiment--success--700);--digi--color--background--sentiment--success--tertiary--light:var(--digi--sentiment--success--200);--digi--color--background--sentiment--warning--primary--light:var(--digi--sentiment--warning--500);--digi--color--background--sentiment--warning--secondary--light:var(--digi--sentiment--warning--700);--digi--color--background--sentiment--warning--tertiary--light:var(--digi--sentiment--warning--200);--digi--color--background--sentiment--warning--quarternary--light:var(--digi--sentiment--warning--50);--digi--color--background--sentiment--info--primary--light:var(--digi--sentiment--informative--500);--digi--color--background--sentiment--info--secondary--light:var(--digi--sentiment--informative--700);--digi--color--background--sentiment--info--tertiary--light:var(--digi--sentiment--informative--200);--digi--color--background--sentiment--neutral--primary--light:var(--digi--grayscale--700);--digi--color--background--sentiment--neutral--secondary--light:var(--digi--grayscale--400);--digi--color--background--sentiment--neutral--tertiary--light:var(--digi--grayscale--900);--digi--color--background--sentiment--beta--primary--light:var(--digi--rallarros--500);--digi--color--background--sentiment--beta--secondary--light:var(--digi--rallarros--300);--digi--color--border--notification--light:var(--digi--grayscale--0);--digi--color--border--transparent--light:var(--digi--misc--transparent);--digi--color--border--interactive--default--primary--light:var(--digi--natthimmel--800);--digi--color--border--interactive--default--on-input--light:var(--digi--grayscale--900);--digi--color--border--interactive--default--on-input-nuance--light:var(--digi--grayscale--800);--digi--color--border--interactive--default--inverted--light:var(--digi--norrsken--500);--digi--color--border--interactive--hover--primary--light:var(--digi--natthimmel--700);--digi--color--border--interactive--hover--secondary--light:var(--digi--natthimmel--800);--digi--color--border--interactive--hover--inverted--light:var(--digi--norrsken--400);--digi--color--border--interactive--validation--success--light:var(--digi--sentiment--success--500);--digi--color--border--interactive--validation--warning--light:var(--digi--sentiment--warning--900);--digi--color--border--interactive--validation--error--light:var(--digi--sentiment--error--500);--digi--color--border--interactive--selected--primary--light:var(--digi--sentiment--success--500);--digi--color--border--interactive--selected--secondary--light:var(--digi--natthimmel--800);--digi--color--border--sentiment--error--light:var(--digi--sentiment--error--500);--digi--color--border--sentiment--success--light:var(--digi--sentiment--success--500);--digi--color--border--sentiment--warning--light:var(--digi--sentiment--warning--500);--digi--color--border--sentiment--info--light:var(--digi--sentiment--informative--500);--digi--color--border--accent--primary--light:var(--digi--natthimmel--800);--digi--color--border--accent--secondary--light:var(--digi--granskott--700);--digi--color--marking--navigation--selected--light:var(--digi--granskott--700);--digi--color--marking--navigation--level-active--light:var(--digi--granskott--250);--digi--color--marking--navigation--level-inactive--light:var(--digi--grayscale--100);--digi--color--marking--indication--primary--light:var(--digi--sentiment--success--500);--digi--color--marking--indication--secondary--light:var(--digi--natthimmel--800);--digi--color--marking--indication--tertiary--light:var(--digi--grayscale--700);--digi--color--divider--primary--light:var(--digi--grayscale--400);--digi--color--divider--secondary--light:var(--digi--grayscale--200);--digi--color--divider--on-brand-primary--light:var(--digi--natthimmel--350);--digi--color--divider--cta--light:var(--digi--sapphire--500);--digi--color--icon--primary--light:var(--digi--grayscale--900);--digi--color--icon--secondary--light:var(--digi--grayscale--0);--digi--color--icon--cta--light:var(--digi--sapphire--500);--digi--color--icon--brand-primary--light:var(--digi--natthimmel--800);--digi--color--icon--brand-secondary--light:var(--digi--granskott--700);--digi--color--icon--validation--success--light:var(--digi--sentiment--success--500);--digi--color--icon--validation--warning--light:var(--digi--sentiment--warning--500);--digi--color--icon--validation--error--light:var(--digi--sentiment--error--500);--digi--color--misc--spinner-path--light:var(--digi--grayscale--400);--digi--color--misc--skeleton--light:var(--digi--grayscale--400);--digi--color--amber--200:#fff398;--digi--color--amber--50:#fffbdd;--digi--color--amber--500:#ffe200;--digi--color--amber--700:#ffc108;--digi--color--amber--900:#664d00;--digi--color--amethyst--500:#822998;--digi--color--forest--200:#e9f6ec;--digi--color--forest--500:#009322;--digi--color--forest--700:#02703c;--digi--color--indigo--200:#e9e9ff;--digi--color--indigo--500:#0000ff;--digi--color--indigo--700:#0058a3;--digi--color--jade--100:#bddfda;--digi--color--jade--200:#7fc1b6;--digi--color--jade--400:#379d8d;--digi--color--jade--50:#ddeeec;--digi--color--jade--500:#058470;--digi--color--jade--600:#046a5a;--digi--color--jade--700:#035548;--digi--color--jade--900:#02372f;--digi--color--leaf--100:#f1f7e5;--digi--color--leaf--200:#ddebc1;--digi--color--leaf--400:#aace65;--digi--color--leaf--500:#95c23e;--digi--color--leaf--600:#779b32;--digi--color--moon--0:#ffffff;--digi--color--pear--500:#b7ee4a;--digi--color--pear--600:#a7d943;--digi--color--rose--100:#f4cada;--digi--color--rose--200:#e997b7;--digi--color--rose--400:#dd5c8e;--digi--color--rose--50:#f9e4ec;--digi--color--rose--500:#d43372;--digi--color--rose--600:#bd2e65;--digi--color--rose--700:#882149;--digi--color--rose--900:#54172e;--digi--color--ruby--200:#fdeded;--digi--color--ruby--500:#da0000;--digi--color--ruby--700:#c7311a;--digi--color--sapphire--500:#1616b2;--digi--color--stratos--100:#dddde9;--digi--color--stratos--400:#33337b;--digi--color--stratos--500:#00005a;--digi--color--stratos--600:#000048;--digi--color--water--200:#f1f8fe;--digi--color--water--500:#bdd3e7;--digi--color--water--700:#0058a3;--digi--color--logotype-color--light--af18:var(--digi--color--leaf--500);--digi--color--infographic--lineart--light--af18:var(--digi--grayscale--900);--digi--color--infographic--background--light--af18:var(--digi--grayscale--0);--digi--color--infographic--brand--primary--light--af18:var(--digi--color--leaf--500);--digi--color--infographic--brand--secondary--light--af18:var(--digi--color--leaf--200);--digi--color--infographic--brand--tertiary--light--af18:var(--digi--color--rose--500);--digi--color--text--primary--light--af18:var(--digi--grayscale--900);--digi--color--text--secondary--light--af18:var(--digi--grayscale--0);--digi--color--text--description--light--af18:var(--digi--grayscale--800);--digi--color--text--interactive--primary--light--af18:var(--digi--color--sapphire--500);--digi--color--text--interactive--secondary--light--af18:var(--digi--grayscale--0);--digi--color--text--interactive--tertiary--light--af18:var(--digi--grayscale--900);--digi--color--text--interactive--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--text--interactive--brand-secondary--light--af18:var(--digi--color--leaf--500);--digi--color--text--interactive--visited--light--af18:var(--digi--color--amethyst--500);--digi--color--background--primary--light--af18:var(--digi--grayscale--0);--digi--color--background--secondary--light--af18:var(--digi--grayscale--100);--digi--color--background--secondary-muted--light--af18:var(--digi--grayscale--50);--digi--color--background--secondary-accent--light--af18:var(--digi--grayscale--400);--digi--color--background--pop-out--light--af18:var(--digi--color--leaf--100);--digi--color--background--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--background--transparent--light--af18:var(--digi--misc--transparent);--digi--color--background--notification--light--af18:var(--digi--sentiment--error--500);--digi--color--background--interactive--default--primary--light--af18:var(--digi--color--stratos--500);--digi--color--background--interactive--default--primary-inverted--light--af18:var(--digi--color--leaf--500);--digi--color--background--interactive--default--secondary--light--af18:var(--digi--grayscale--0);--digi--color--background--interactive--default--secondary-inverted--light--af18:var(--digi--misc--transparent);--digi--color--background--interactive--default--tertiary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--default--quaternary--light--af18:var(--digi--grayscale--100);--digi--color--background--interactive--default--input-elements--light--af18:var(--digi--grayscale--0);--digi--color--background--interactive--default--pop-out--light--af18:var(--digi--color--leaf--100);--digi--color--background--interactive--hover--primary--light--af18:var(--digi--color--water--700);--digi--color--background--interactive--hover--secondary--light--af18:var(--digi--color--water--500);--digi--color--background--interactive--hover--tertiary--light--af18:var(--digi--color--sapphire--500);--digi--color--background--interactive--hover--quarternary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--hover--inverted--light--af18:var(--digi--color--pear--500);--digi--color--background--interactive--selected--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--background--interactive--selected--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--background--interactive--selected--tertiary--light--af18:var(--digi--grayscale--200);--digi--color--background--interactive--selected--on-menu-minus-button--light--af18:var(--digi--color--leaf--200);--digi--color--background--interactive--validation--success--light--af18:var(--digi--sentiment--success--200);--digi--color--background--interactive--validation--warning--light--af18:var(--digi--sentiment--warning--50);--digi--color--background--interactive--validation--error--light--af18:var(--digi--sentiment--error--200);--digi--color--background--sentiment--error--primary--light--af18:var(--digi--sentiment--error--500);--digi--color--background--sentiment--error--secondary--light--af18:var(--digi--sentiment--error--700);--digi--color--background--sentiment--error--tertiary--light--af18:var(--digi--sentiment--error--200);--digi--color--background--sentiment--success--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--background--sentiment--success--secondary--light--af18:var(--digi--sentiment--success--700);--digi--color--background--sentiment--success--tertiary--light--af18:var(--digi--sentiment--success--200);--digi--color--background--sentiment--warning--primary--light--af18:var(--digi--sentiment--warning--500);--digi--color--background--sentiment--warning--secondary--light--af18:var(--digi--sentiment--warning--700);--digi--color--background--sentiment--warning--tertiary--light--af18:var(--digi--sentiment--warning--200);--digi--color--background--sentiment--warning--quarternary--light--af18:var(--digi--sentiment--warning--50);--digi--color--background--sentiment--info--primary--light--af18:var(--digi--sentiment--informative--500);--digi--color--background--sentiment--info--secondary--light--af18:var(--digi--sentiment--informative--700);--digi--color--background--sentiment--info--tertiary--light--af18:var(--digi--sentiment--informative--200);--digi--color--background--sentiment--neutral--primary--light--af18:var(--digi--grayscale--700);--digi--color--background--sentiment--neutral--secondary--light--af18:var(--digi--grayscale--400);--digi--color--background--sentiment--neutral--tertiary--light--af18:var(--digi--grayscale--900);--digi--color--background--sentiment--beta--primary--light--af18:var(--digi--color--rose--500);--digi--color--background--sentiment--beta--secondary--light--af18:var(--digi--color--rose--100);--digi--color--border--notification--light--af18:var(--digi--grayscale--0);--digi--color--border--transparent--light--af18:var(--digi--misc--transparent);--digi--color--border--interactive--default--primary--light--af18:var(--digi--color--stratos--500);--digi--color--border--interactive--default--on-input--light--af18:var(--digi--grayscale--900);--digi--color--border--interactive--default--on-input-nuance--light--af18:var(--digi--grayscale--800);--digi--color--border--interactive--default--inverted--light--af18:var(--digi--color--leaf--500);--digi--color--border--interactive--hover--primary--light--af18:var(--digi--color--water--700);--digi--color--border--interactive--hover--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--border--interactive--hover--inverted--light--af18:var(--digi--color--pear--500);--digi--color--border--interactive--validation--success--light--af18:var(--digi--sentiment--success--500);--digi--color--border--interactive--validation--warning--light--af18:var(--digi--sentiment--warning--900);--digi--color--border--interactive--validation--error--light--af18:var(--digi--sentiment--error--500);--digi--color--border--interactive--selected--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--border--interactive--selected--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--border--sentiment--error--light--af18:var(--digi--sentiment--error--500);--digi--color--border--sentiment--success--light--af18:var(--digi--sentiment--success--500);--digi--color--border--sentiment--warning--light--af18:var(--digi--sentiment--warning--500);--digi--color--border--sentiment--info--light--af18:var(--digi--sentiment--informative--500);--digi--color--border--accent--primary--light--af18:var(--digi--color--stratos--500);--digi--color--border--accent--secondary--light--af18:var(--digi--color--leaf--500);--digi--color--marking--navigation--selected--light--af18:var(--digi--color--leaf--500);--digi--color--marking--navigation--level-active--light--af18:var(--digi--color--leaf--200);--digi--color--marking--navigation--level-inactive--light--af18:var(--digi--grayscale--100);--digi--color--marking--indication--primary--light--af18:var(--digi--sentiment--success--500);--digi--color--marking--indication--secondary--light--af18:var(--digi--color--stratos--500);--digi--color--marking--indication--tertiary--light--af18:var(--digi--grayscale--700);--digi--color--divider--primary--light--af18:var(--digi--grayscale--400);--digi--color--divider--secondary--light--af18:var(--digi--grayscale--200);--digi--color--divider--on-brand-primary--light--af18:var(--digi--color--stratos--400);--digi--color--divider--cta--light--af18:var(--digi--color--sapphire--500);--digi--color--icon--primary--light--af18:var(--digi--grayscale--900);--digi--color--icon--secondary--light--af18:var(--digi--grayscale--0);--digi--color--icon--cta--light--af18:var(--digi--color--sapphire--500);--digi--color--icon--brand-primary--light--af18:var(--digi--color--stratos--500);--digi--color--icon--brand-secondary--light--af18:var(--digi--color--leaf--500);--digi--color--icon--validation--success--light--af18:var(--digi--sentiment--success--500);--digi--color--icon--validation--warning--light--af18:var(--digi--sentiment--warning--500);--digi--color--icon--validation--error--light--af18:var(--digi--sentiment--error--500);--digi--color--misc--spinner-path--light--af18:var(--digi--grayscale--400);--digi--color--misc--skeleton--light--af18:var(--digi--grayscale--400)}body.sc-digi-calendar-datepicker{font-size:1rem;font-family:\"Open Sans\", Arial, sans-serif}.sc-digi-calendar-datepicker-h{--digi--datepicker--max-width:18.75rem;--digi--datepicker--border-radius:0.25rem;--digi--datepicker--calendar--max-width:20.25rem;--digi--datepicker--calendar--show-week--max-width:23.375rem;--digi--datepicker--calendar-shadow:0 0.125rem 0.375rem 0 rgba(0, 0, 0, 0.7);--digi--datepicker--calendar--background-color:var(--digi--color--background--interactive--default--secondary);--digi--datepicker--input-icon--width:1.125rem;--digi--datepicker--input-icon--horizontal-padding:1.25rem;--digi--datepicker--input-icon--vertical-padding:var(--digi--global--spacing--smallest-2);--digi--datepicker--input--inline-start:var(--digi--gutter--medium);--digi--datepicker--input--inline-end:calc(var(--digi--datepicker--input-icon--width) + var(--digi--datepicker--input-icon--horizontal-padding) * 2);box-sizing:content-box}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker{position:relative;max-width:var(--digi--datepicker--max-width)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__inactive.sc-digi-calendar-datepicker{--digi--form-input--background--empty:var(\n --digi--datepicker--input--inactive-background\n )}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker{position:absolute;top:0px;bottom:0px;right:0px;background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit;cursor:pointer}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker .digi-calendar-datepicker__button-icon.sc-digi-calendar-datepicker{box-sizing:content-box;width:var(--digi--datepicker--input-icon--width);padding:var(--digi--datepicker--input-icon--vertical-padding) var(--digi--datepicker--input-icon--horizontal-padding)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--max-width);height:0px;border-radius:var(--digi--datepicker--border-radius);overflow:hidden;z-index:1}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-week-numbers.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--show-week--max-width)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-error.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{margin-top:var(--digi--gutter--medium)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-calendar.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{height:auto;background-color:var(--digi--datepicker--calendar--background-color);box-shadow:var(--digi--datepicker--calendar-shadow);position:absolute}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-component.sc-digi-calendar-datepicker{--digi--form-input--padding:0 var(--digi--datepicker--input--inline-end)\n 0 var(--digi--datepicker--input--inline-start)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__selected-date-alert.sc-digi-calendar-datepicker{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__sr-instructions.sc-digi-calendar-datepicker{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}";
|
|
2177
|
+
const DigiCalendarDatepickerStyle0 = calendarDatepickerCss;
|
|
2178
|
+
|
|
2179
|
+
const CalendarDatepicker = class {
|
|
2180
|
+
constructor(hostRef) {
|
|
2181
|
+
registerInstance(this, hostRef);
|
|
2182
|
+
this.afOnDateChange = createEvent(this, "afOnDateChange", 7);
|
|
2183
|
+
this.futureYears = 10;
|
|
2184
|
+
this.screenReaderUpdateTrigger = false;
|
|
2185
|
+
this.showWrongFormatError = false;
|
|
2186
|
+
this.showDisabledDateError = false;
|
|
2187
|
+
this.showCalendar = false;
|
|
2188
|
+
this.userInput = '';
|
|
2189
|
+
this.afId = randomIdGenerator('digi-calendar-datepicker');
|
|
2190
|
+
this.afLabel = _t.calendar.datepicker.label;
|
|
2191
|
+
this.afLabelDescription = _t.calendar.datepicker.description;
|
|
2192
|
+
this.afOpenCalendarAriaLabel = _t.calendar.datepicker.openCalendarAriaLabel;
|
|
2193
|
+
this.afCloseCalendarAriaLabel = _t.calendar.datepicker.closeCalendarAriaLabel;
|
|
2194
|
+
this.afValidation = CalendarDatepickerValidation.NEUTRAL;
|
|
2195
|
+
this.afValidationText = undefined;
|
|
2196
|
+
this.afInvalid = false;
|
|
2197
|
+
this.afValidationMessage = _t.calendar.datepicker.validationMessage;
|
|
2198
|
+
this.afValidationWrongFormat = _t.calendar.datepicker.validationWrongFormat;
|
|
2199
|
+
this.afValidationDisabledDate = _t.calendar.datepicker.validationDisabledDate;
|
|
2200
|
+
this.afRequired = undefined;
|
|
2201
|
+
this.afDisableValidation = undefined;
|
|
2202
|
+
this.afRequiredText = undefined;
|
|
2203
|
+
this.afSelectedDates = [];
|
|
2204
|
+
this.value = [];
|
|
2205
|
+
this.afMinDate = undefined;
|
|
2206
|
+
this.afMaxDate = undefined;
|
|
2207
|
+
this.afShowWeekNumber = false;
|
|
2208
|
+
this.afMultipleDates = false;
|
|
2209
|
+
this.afCloseOnSelect = false;
|
|
2210
|
+
}
|
|
2211
|
+
valueChangeHandler(newVal) {
|
|
2212
|
+
if (this.afDisableValidation && this.afSelectedDates.length > 0) {
|
|
2213
|
+
this.afSelectedDates = [];
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* Behövde lägga till den här förändringen för att angular med value accessor betedde sig märkligt vid onBlur av input-fält. Den reagerade när man lämnade fältet även fast fältet var tomt (pratar om watchern). Så behövde bygga en guard/gatekeeper som kontrollerar värdet först. Ska inte påverka manuell-, eller autovalidering.
|
|
2217
|
+
*/
|
|
2218
|
+
if (Array.isArray(newVal) &&
|
|
2219
|
+
newVal.every((d) => d instanceof Date && !isNaN(d.getTime()))) {
|
|
2220
|
+
this.afSelectedDates = newVal;
|
|
2221
|
+
this.userInput = '';
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
afMultipleDatesChangeHandler() {
|
|
2225
|
+
var _a;
|
|
2226
|
+
if (!this.afMultipleDates && this.afSelectedDates.length > 1) {
|
|
2227
|
+
this.afSelectedDates = this.afSelectedDates.slice(-1);
|
|
2228
|
+
this.value = (_a = this.afSelectedDates) !== null && _a !== void 0 ? _a : [];
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
clickHandler(e) {
|
|
2232
|
+
const target = e.target;
|
|
2233
|
+
const selector = `#${this.afId}-datepicker`;
|
|
2234
|
+
if (detectClickOutside(target, selector)) {
|
|
2235
|
+
this.showCalendar = false;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
connectedCallback() {
|
|
2239
|
+
this.hostElement.addEventListener('keyup', this.keyUpHandler.bind(this));
|
|
2240
|
+
}
|
|
2241
|
+
disconnectedCallback() {
|
|
2242
|
+
this.hostElement.removeEventListener('keyup', this.keyUpHandler.bind(this));
|
|
2243
|
+
}
|
|
2244
|
+
componentDidLoad() {
|
|
2245
|
+
var _a;
|
|
2246
|
+
if ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) {
|
|
2247
|
+
this.setValue(this.value);
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
get cssModifiers() {
|
|
2251
|
+
return {
|
|
2252
|
+
'digi-calendar-datepicker__show-week-numbers': this.afShowWeekNumber,
|
|
2253
|
+
'digi-calendar-datepicker__show-error': this.getShowError(),
|
|
2254
|
+
'digi-calendar-datepicker__show-calendar': this.showCalendar
|
|
2255
|
+
};
|
|
2256
|
+
}
|
|
2257
|
+
keyUpHandler(e) {
|
|
2258
|
+
if (e.key === 'Escape' && this.showCalendar) {
|
|
2259
|
+
this.showCalendar = false;
|
|
2260
|
+
this.focusOnCalendarButton();
|
|
2261
|
+
e.stopPropagation();
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
focusOnCalendarButton() {
|
|
2265
|
+
const calendarButton = this.hostElement.querySelector(`#${this.afId}-button`);
|
|
2266
|
+
calendarButton.focus();
|
|
2267
|
+
}
|
|
2268
|
+
toggleCalendar() {
|
|
2269
|
+
this.showCalendar = !this.showCalendar;
|
|
2270
|
+
if (this.showCalendar) {
|
|
2271
|
+
this.screenReaderUpdateTrigger = !this.screenReaderUpdateTrigger;
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
parseInputString(value) {
|
|
2275
|
+
return value
|
|
2276
|
+
.split(/[&,]|och/g)
|
|
2277
|
+
.map((text) => this.parseDateString(text.trim()));
|
|
2278
|
+
}
|
|
2279
|
+
resetValueAndState() {
|
|
2280
|
+
this.showWrongFormatError = false;
|
|
2281
|
+
this.showDisabledDateError = false;
|
|
2282
|
+
this.setValue([]);
|
|
2283
|
+
this.afOnDateChange.emit(['']);
|
|
2284
|
+
this.afSelectedDates = [];
|
|
2285
|
+
}
|
|
2286
|
+
validateInputAndShowErrors(dates) {
|
|
2287
|
+
this.showWrongFormatError = !!dates.find((date) => !isValid(date));
|
|
2288
|
+
this.showDisabledDateError = !!dates.find((date) => !this.isDateSelectable(date));
|
|
2289
|
+
}
|
|
2290
|
+
setValue(value) {
|
|
2291
|
+
this.afSelectedDates = value;
|
|
2292
|
+
this.value = value;
|
|
2293
|
+
}
|
|
2294
|
+
/*
|
|
2295
|
+
|
|
2296
|
+
Metoden tar både Stencil-specifika och vanliga DOM-event, extraherar texten användaren matat in, hanterar tom inmatning, parsar till Date[], kör intern validering, uppdaterar komponentens state och slutligen emitterar alltid en string[] med exakt det användaren skrev – vilket gör det smidigare för Angular-value-accessorn att jobba vidare med.
|
|
2297
|
+
|
|
2298
|
+
*/
|
|
2299
|
+
parseInput(evt) {
|
|
2300
|
+
let newValue = '';
|
|
2301
|
+
if (evt.detail && typeof evt.detail.value === 'string') {
|
|
2302
|
+
newValue = evt.detail.value;
|
|
2303
|
+
}
|
|
2304
|
+
else if (evt.target && evt.target.value != null) {
|
|
2305
|
+
newValue = evt.target.value;
|
|
2306
|
+
}
|
|
2307
|
+
this.userInput = newValue;
|
|
2308
|
+
if (newValue === '') {
|
|
2309
|
+
this.resetValueAndState();
|
|
2310
|
+
return;
|
|
2311
|
+
}
|
|
2312
|
+
const dates = this.parseInputString(newValue);
|
|
2313
|
+
this.setValue(dates); // target.value
|
|
2314
|
+
if (!this.afDisableValidation) {
|
|
2315
|
+
this.validateInputAndShowErrors(dates);
|
|
2316
|
+
if (this.getShowError()) {
|
|
2317
|
+
this.afOnDateChange.emit([]);
|
|
2318
|
+
}
|
|
2319
|
+
else {
|
|
2320
|
+
this.afOnDateChange.emit(this.afSelectedDates);
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
else {
|
|
2324
|
+
const dateStrs = newValue.split(/[&,]|och/g).map((s) => s.trim());
|
|
2325
|
+
this.afOnDateChange.emit([...dateStrs]); // evt.detail
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
parseCalendar(evt) {
|
|
2329
|
+
if (!(evt === null || evt === void 0 ? void 0 : evt.detail))
|
|
2330
|
+
return;
|
|
2331
|
+
if (!this.afDisableValidation) {
|
|
2332
|
+
this.afInvalid = false;
|
|
2333
|
+
this.showWrongFormatError = false;
|
|
2334
|
+
this.showDisabledDateError = false;
|
|
2335
|
+
}
|
|
2336
|
+
this.userInput = '';
|
|
2337
|
+
this.setValue(evt.detail);
|
|
2338
|
+
if (this.afCloseOnSelect) {
|
|
2339
|
+
this.toggleCalendar();
|
|
2340
|
+
this.focusOnCalendarButton();
|
|
2341
|
+
}
|
|
2342
|
+
this.afOnDateChange.emit(this.afSelectedDates);
|
|
2343
|
+
}
|
|
2344
|
+
/*
|
|
2345
|
+
|
|
2346
|
+
Metoden överskrider JavaScripts inbyggda "isValid"-funktion, då den tillåter att ex., "1" är rätt format medans ex., "13" är fel format vid YYYY-MM-DD krav på inmatat format.
|
|
2347
|
+
|
|
2348
|
+
*/
|
|
2349
|
+
parseDateString(s) {
|
|
2350
|
+
const raw = s.trim().replace(/[./]/g, '-');
|
|
2351
|
+
// 1) yyyy-MM-dd
|
|
2352
|
+
if (/^\d{4}-\d{2}-\d{2}$/.test(raw)) {
|
|
2353
|
+
const d = parse(raw, 'yyyy-MM-dd', new Date());
|
|
2354
|
+
return isValid(d) ? d : new Date(NaN);
|
|
2355
|
+
}
|
|
2356
|
+
// 2) yyyymmdd
|
|
2357
|
+
if (/^\d{8}$/.test(raw)) {
|
|
2358
|
+
const yyyy = raw.slice(0, 4);
|
|
2359
|
+
const mm = raw.slice(4, 6);
|
|
2360
|
+
const dd = raw.slice(6, 8);
|
|
2361
|
+
const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
|
|
2362
|
+
return isValid(d) ? d : new Date(NaN);
|
|
2363
|
+
}
|
|
2364
|
+
// 3) yymmdd (map to full year using the previous futureYears logic)
|
|
2365
|
+
if (/^\d{6}$/.test(raw)) {
|
|
2366
|
+
const yy = raw.slice(0, 2);
|
|
2367
|
+
const mm = raw.slice(2, 4);
|
|
2368
|
+
const dd = raw.slice(4, 6);
|
|
2369
|
+
const yyyy = this.getFullYear(yy);
|
|
2370
|
+
const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
|
|
2371
|
+
return isValid(d) ? d : new Date(NaN);
|
|
2372
|
+
}
|
|
2373
|
+
// Everything else is invalid (so "1" and "25" will now be "Fel format")
|
|
2374
|
+
return new Date(NaN);
|
|
2375
|
+
}
|
|
2376
|
+
getFullYear(s) {
|
|
2377
|
+
if (s.length === 4)
|
|
2378
|
+
return s;
|
|
2379
|
+
const y = new Date().getFullYear().toString();
|
|
2380
|
+
return parseInt(s) > parseInt(y.slice(-2)) + this.futureYears
|
|
2381
|
+
? parseInt(y.slice(0, -2)) - 1 + s
|
|
2382
|
+
: y.slice(0, -2) + s;
|
|
2383
|
+
}
|
|
2384
|
+
isDateSelectable(date) {
|
|
2385
|
+
if (this.afMinDate && this.isBefore(date, this.afMinDate))
|
|
2386
|
+
return false;
|
|
2387
|
+
if (this.afMaxDate && this.isAfter(date, this.afMaxDate))
|
|
2388
|
+
return false;
|
|
2389
|
+
return true;
|
|
2390
|
+
}
|
|
2391
|
+
isBefore(a, b) {
|
|
2392
|
+
return isBefore(this.dateWithoutTime(a), this.dateWithoutTime(b));
|
|
2393
|
+
}
|
|
2394
|
+
isAfter(a, b) {
|
|
2395
|
+
return isAfter(this.dateWithoutTime(a), this.dateWithoutTime(b));
|
|
2396
|
+
}
|
|
2397
|
+
dateWithoutTime(date) {
|
|
2398
|
+
return new Date(date.getFullYear(), date.getMonth(), date.getDate());
|
|
2399
|
+
}
|
|
2400
|
+
getShowError() {
|
|
2401
|
+
return (this.afInvalid || this.showWrongFormatError || this.showDisabledDateError);
|
|
2402
|
+
}
|
|
2403
|
+
getErrorText() {
|
|
2404
|
+
var _a;
|
|
2405
|
+
if (this.afInvalid) {
|
|
2406
|
+
return (_a = this.afValidationText) !== null && _a !== void 0 ? _a : this.afValidationMessage;
|
|
2407
|
+
}
|
|
2408
|
+
return this.showWrongFormatError
|
|
2409
|
+
? this.afValidationWrongFormat
|
|
2410
|
+
: this.afValidationDisabledDate;
|
|
2411
|
+
}
|
|
2412
|
+
get inputValue() {
|
|
2413
|
+
if (this.userInput !== '') {
|
|
2414
|
+
return this.userInput;
|
|
2415
|
+
}
|
|
2416
|
+
// otherwise format your real selected dates
|
|
2417
|
+
const sorted = this.afSelectedDates
|
|
2418
|
+
.slice()
|
|
2419
|
+
.sort((a, b) => (this.isBefore(a, b) ? -1 : 1));
|
|
2420
|
+
return this.datesToInputString(sorted);
|
|
2421
|
+
}
|
|
2422
|
+
datesToInputString(dates) {
|
|
2423
|
+
return dates.every((date) => date instanceof Date && !isNaN(date.getTime()))
|
|
2424
|
+
? dates
|
|
2425
|
+
.map((date) => date.toLocaleDateString('sv-SE'))
|
|
2426
|
+
.flatMap((date, index, all) => {
|
|
2427
|
+
const isLast = index == all.length - 1;
|
|
2428
|
+
const isFirst = index === 0;
|
|
2429
|
+
if (isFirst) {
|
|
2430
|
+
return date;
|
|
2431
|
+
}
|
|
2432
|
+
else if (isLast) {
|
|
2433
|
+
return [' och ', date];
|
|
2434
|
+
}
|
|
2435
|
+
else {
|
|
2436
|
+
return [', ', date];
|
|
2437
|
+
}
|
|
2438
|
+
})
|
|
2439
|
+
.join('')
|
|
2440
|
+
: '';
|
|
2441
|
+
}
|
|
2442
|
+
get getSelectedDates() {
|
|
2443
|
+
if (this.afDisableValidation && this.getShowError()) {
|
|
2444
|
+
return this.afSelectedDates;
|
|
2445
|
+
}
|
|
2446
|
+
if (this.getShowError()) {
|
|
2447
|
+
return [];
|
|
2448
|
+
}
|
|
2449
|
+
return this.afSelectedDates;
|
|
2450
|
+
}
|
|
2451
|
+
render() {
|
|
2452
|
+
return (h(Host, { key: '8112725ba8c875e94cc556da8921a74390d9c31e' }, h("div", { key: '4c3df5468b902a4d26fea152ebaeaea0c9bf3dd9', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, h("div", { key: 'bcc79305b5bb0911e5f33f2ca8641ba1a3a5c588', class: "digi-calendar-datepicker__input-field" }, h("digi-form-input", { key: 'cfe6189b8a529db4bda725f483ec899fe66b87cc', class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afValue: this.inputValue, afValidation: this.getShowError()
|
|
2453
|
+
? FormInputValidation.ERROR
|
|
2454
|
+
: FormInputValidation.NEUTRAL, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
|
|
2455
|
+
evt.stopImmediatePropagation();
|
|
2456
|
+
this.parseInput(evt);
|
|
2457
|
+
} }, h("button", { key: '3126acc01f2f9aef0a02990ef22acbde7c3ed3c7', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": this.showCalendar
|
|
2458
|
+
? this.afCloseCalendarAriaLabel
|
|
2459
|
+
: this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, h("digi-icon-calendar-alt", { key: 'b48fc72cea6c3a94bd9821f2ec9416a4707e13d1', class: "digi-calendar-datepicker__button-icon", slot: "icon" })))), h("div", { key: 'd7c78a170d2d855cca3c001427d1c64ebab48fb3', class: "digi-calendar-datepicker__calendar", id: "calendar-popup" }, h("p", { key: '5651e12f6e3e06bfc879bb5c2aaf9920f9faf2e7', role: "alert", class: "digi-calendar-datepicker__sr-instructions" }, this.showCalendar
|
|
2460
|
+
? `${_t.calendar.screenReaderInstructions}${this.screenReaderUpdateTrigger ? '\u200B' : ''}`
|
|
2461
|
+
: ''), h("digi-calendar", { key: '952ce82bb05beae68436d6a1a86bb00fefa2c3cb', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, onAfOnDateSelectedChange: (evt) => {
|
|
2462
|
+
evt.stopImmediatePropagation();
|
|
2463
|
+
this.parseCalendar(evt);
|
|
2464
|
+
}, onAfOnFocusOutside: (evt) => {
|
|
2465
|
+
if (this.showCalendar) {
|
|
2466
|
+
const relatedTarget = evt.detail.relatedTarget;
|
|
2467
|
+
if (!relatedTarget)
|
|
2468
|
+
return;
|
|
2469
|
+
evt.preventDefault();
|
|
2470
|
+
const isDateButton = relatedTarget.classList.contains('digi-calendar__date');
|
|
2471
|
+
const isToggleButton = relatedTarget.id === `${this.afId}-button`;
|
|
2472
|
+
if (isDateButton) {
|
|
2473
|
+
this.focusOnCalendarButton();
|
|
2474
|
+
}
|
|
2475
|
+
else if (isToggleButton) {
|
|
2476
|
+
const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
|
|
2477
|
+
focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
} })), this.afCloseOnSelect && !this.afMultipleDates && (h("div", { key: '53f3d90d7a8864b323f9e23ffaf78330babf191e', class: "digi-calendar-datepicker__selected-date-alert", role: "alert" }, this.afSelectedDates.length > 0
|
|
2481
|
+
? `${_t.calendar.datepicker.selectedDate}: ${this.datesToInputString(this.afSelectedDates)}`
|
|
2482
|
+
: '')))));
|
|
2483
|
+
}
|
|
2484
|
+
get hostElement() { return getElement(this); }
|
|
2485
|
+
static get watchers() { return {
|
|
2486
|
+
"value": ["valueChangeHandler"],
|
|
2487
|
+
"afMultipleDates": ["afMultipleDatesChangeHandler"]
|
|
2488
|
+
}; }
|
|
2489
|
+
};
|
|
2490
|
+
CalendarDatepicker.style = DigiCalendarDatepickerStyle0;
|
|
2491
|
+
|
|
2492
|
+
export { CalendarDatepicker as digi_calendar_datepicker };
|