@designsystem-se/af 35.2.1-beta.1 → 35.2.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-badge-notification.d.ts +1 -1
- package/components/digi-badge-status.d.ts +1 -1
- package/components/digi-bar-chart.d.ts +1 -1
- package/components/digi-bar-chart.js +1 -1
- package/components/digi-button.d.ts +1 -1
- package/components/digi-calendar-datepicker.d.ts +1 -1
- package/components/digi-calendar-datepicker.js +63 -48
- package/components/digi-calendar-week-view.d.ts +1 -1
- package/components/digi-calendar-week-view.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/components/digi-code.d.ts +1 -1
- package/components/digi-context-menu.d.ts +1 -1
- package/components/digi-dialog.d.ts +1 -1
- package/components/digi-expandable-accordion.d.ts +1 -1
- package/components/digi-expandable-accordion.js +1 -1
- package/components/digi-expandable-faq-item.d.ts +1 -1
- package/components/digi-expandable-faq.d.ts +1 -1
- package/components/digi-footer-card.d.ts +1 -1
- package/components/digi-footer.d.ts +1 -1
- package/components/digi-form-category-filter.d.ts +1 -1
- package/components/digi-form-category-filter.js +2 -2
- package/components/digi-form-checkbox.d.ts +1 -1
- package/components/digi-form-error-list.d.ts +1 -1
- package/components/digi-form-fieldset.d.ts +1 -1
- package/components/digi-form-file-upload.d.ts +1 -1
- package/components/digi-form-file-upload.js +8 -8
- package/components/digi-form-filter.d.ts +1 -1
- package/components/digi-form-filter.js +1 -1
- package/components/digi-form-input-search.d.ts +1 -1
- package/components/digi-form-input-search.js +2 -2
- 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-radiogroup.d.ts +1 -1
- package/components/digi-form-receipt.d.ts +1 -1
- package/components/digi-form-select-filter.d.ts +1 -1
- package/components/digi-form-select-filter.js +10 -10
- 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 +6 -9
- package/components/digi-form-validation-message.d.ts +1 -1
- package/components/digi-header-avatar.d.ts +1 -1
- package/components/digi-header-navigation-item.d.ts +1 -1
- package/components/digi-header-navigation.d.ts +1 -1
- package/components/digi-header-notification.d.ts +1 -1
- package/components/digi-header.d.ts +1 -1
- package/components/digi-icon-accessibility-deaf.d.ts +1 -1
- package/components/digi-icon-accessibility-universal.d.ts +1 -1
- package/components/digi-icon-apple.d.ts +1 -1
- package/components/digi-icon-archive-outline.d.ts +1 -1
- package/components/digi-icon-archive.d.ts +1 -1
- package/components/digi-icon-arrow-back.d.ts +1 -1
- package/components/digi-icon-arrow-down.d.ts +1 -1
- package/components/digi-icon-arrow-left.d.ts +1 -1
- package/components/digi-icon-arrow-right.d.ts +1 -1
- package/components/digi-icon-arrow-sign-in.d.ts +1 -1
- package/components/digi-icon-arrow-sign-out.d.ts +1 -1
- package/components/digi-icon-arrow-up.d.ts +1 -1
- package/components/digi-icon-at.d.ts +1 -1
- package/components/digi-icon-bars.d.ts +1 -1
- package/components/digi-icon-bell-filled.d.ts +1 -1
- package/components/digi-icon-bell.d.ts +1 -1
- package/components/digi-icon-book.d.ts +1 -1
- package/components/digi-icon-bookmark-outline.d.ts +1 -1
- package/components/digi-icon-bookmark-solid.d.ts +1 -1
- package/components/digi-icon-bubble-ellipsis.d.ts +1 -1
- package/components/digi-icon-bubble.d.ts +1 -1
- package/components/digi-icon-building-outline.d.ts +1 -1
- package/components/digi-icon-building-solid.d.ts +1 -1
- package/components/digi-icon-bullseye.d.ts +1 -1
- package/components/digi-icon-calculator-solid.d.ts +1 -1
- package/components/digi-icon-calendar-alt-alert.d.ts +1 -1
- package/components/digi-icon-calendar-alt.d.ts +1 -1
- package/components/digi-icon-calendar.d.ts +1 -1
- package/components/digi-icon-caret-circle-right.d.ts +1 -1
- package/components/digi-icon-caret-down.d.ts +1 -1
- package/components/digi-icon-caret-left.d.ts +1 -1
- package/components/digi-icon-caret-right.d.ts +1 -1
- package/components/digi-icon-caret-up.d.ts +1 -1
- package/components/digi-icon-chart.d.ts +1 -1
- package/components/digi-icon-chat.d.ts +1 -1
- package/components/digi-icon-check-circle-reg-alt.d.ts +1 -1
- package/components/digi-icon-check-circle-solid.d.ts +1 -1
- package/components/digi-icon-check.d.ts +1 -1
- package/components/digi-icon-checklist.d.ts +1 -1
- package/components/digi-icon-chevron-down.d.ts +1 -1
- package/components/digi-icon-chevron-left.d.ts +1 -1
- package/components/digi-icon-chevron-right.d.ts +1 -1
- package/components/digi-icon-chevron-up.d.ts +1 -1
- package/components/digi-icon-clock.d.ts +1 -1
- package/components/digi-icon-communication-play-solid.d.ts +1 -1
- package/components/digi-icon-compress-alt.d.ts +1 -1
- package/components/digi-icon-comunication-case.d.ts +1 -1
- package/components/digi-icon-comunication-flag.d.ts +1 -1
- package/components/digi-icon-comunication-graduate.d.ts +1 -1
- package/components/digi-icon-comunication-play.d.ts +1 -1
- package/components/digi-icon-cooperation.d.ts +1 -1
- package/components/digi-icon-copy.d.ts +1 -1
- package/components/digi-icon-danger-outline.d.ts +1 -1
- package/components/digi-icon-download.d.ts +1 -1
- package/components/digi-icon-dxa.d.ts +1 -1
- package/components/digi-icon-edit.d.ts +1 -1
- package/components/digi-icon-ellipsis.d.ts +1 -1
- package/components/digi-icon-envelope-filled.d.ts +1 -1
- package/components/digi-icon-envelope.d.ts +1 -1
- package/components/digi-icon-exclamation-circle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-filled.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle-warning.d.ts +1 -1
- package/components/digi-icon-exclamation-triangle.d.ts +1 -1
- package/components/digi-icon-expand-alt.d.ts +1 -1
- package/components/digi-icon-external-link-alt.d.ts +1 -1
- package/components/digi-icon-eye-slash.d.ts +1 -1
- package/components/digi-icon-eye.d.ts +1 -1
- package/components/digi-icon-facebook-square.d.ts +1 -1
- package/components/digi-icon-file-add.d.ts +1 -1
- package/components/digi-icon-file-document.d.ts +1 -1
- package/components/digi-icon-file-excel.d.ts +1 -1
- package/components/digi-icon-file-export.d.ts +1 -1
- package/components/digi-icon-file-governing.d.ts +1 -1
- package/components/digi-icon-file-pdf.d.ts +1 -1
- package/components/digi-icon-file-powerpoint.d.ts +1 -1
- package/components/digi-icon-file-remove.d.ts +1 -1
- package/components/digi-icon-file-word.d.ts +1 -1
- package/components/digi-icon-film.d.ts +1 -1
- package/components/digi-icon-filter.d.ts +1 -1
- package/components/digi-icon-folder-add.d.ts +1 -1
- package/components/digi-icon-folder-directory.d.ts +1 -1
- package/components/digi-icon-folder-open.d.ts +1 -1
- package/components/digi-icon-folder.d.ts +1 -1
- package/components/digi-icon-globe-filled.d.ts +1 -1
- package/components/digi-icon-globe.d.ts +1 -1
- package/components/digi-icon-headphones.d.ts +1 -1
- package/components/digi-icon-heart-solid.d.ts +1 -1
- package/components/digi-icon-heart.d.ts +1 -1
- package/components/digi-icon-history.d.ts +1 -1
- package/components/digi-icon-home.d.ts +1 -1
- package/components/digi-icon-image.d.ts +1 -1
- package/components/digi-icon-info-circle-solid.d.ts +1 -1
- package/components/digi-icon-input-select-marker.d.ts +1 -1
- package/components/digi-icon-instagram.d.ts +1 -1
- package/components/digi-icon-job-suggestion.d.ts +1 -1
- package/components/digi-icon-language-outline.d.ts +1 -1
- package/components/digi-icon-language.d.ts +1 -1
- package/components/digi-icon-laptop-phone.d.ts +1 -1
- package/components/digi-icon-lattlast.d.ts +1 -1
- package/components/digi-icon-licence-bus.d.ts +1 -1
- package/components/digi-icon-licence-car.d.ts +1 -1
- package/components/digi-icon-licence-motorcycle.d.ts +1 -1
- package/components/digi-icon-licence-truck.d.ts +1 -1
- package/components/digi-icon-lightbulb.d.ts +1 -1
- package/components/digi-icon-linkedin-in.d.ts +1 -1
- package/components/digi-icon-list-ul.d.ts +1 -1
- package/components/digi-icon-lock.d.ts +1 -1
- package/components/digi-icon-marker-filled.d.ts +1 -1
- package/components/digi-icon-marker.d.ts +1 -1
- package/components/digi-icon-media-course.d.ts +1 -1
- package/components/digi-icon-media-podcast.d.ts +1 -1
- package/components/digi-icon-microphone-off.d.ts +1 -1
- package/components/digi-icon-microphone.d.ts +1 -1
- package/components/digi-icon-minus.d.ts +1 -1
- package/components/digi-icon-move.d.ts +1 -1
- package/components/digi-icon-news.d.ts +1 -1
- package/components/digi-icon-notification-error.d.ts +1 -1
- package/components/digi-icon-notification-info.d.ts +1 -1
- package/components/digi-icon-notification-succes.d.ts +1 -1
- package/components/digi-icon-notification-warning.d.ts +1 -1
- package/components/digi-icon-online-computervideo.d.ts +1 -1
- package/components/digi-icon-online-interview.d.ts +1 -1
- package/components/digi-icon-online-meeting.d.ts +1 -1
- package/components/digi-icon-online-task.d.ts +1 -1
- package/components/digi-icon-online-video.d.ts +1 -1
- package/components/digi-icon-open-source.d.ts +1 -1
- package/components/digi-icon-palette.d.ts +1 -1
- package/components/digi-icon-paperclip.d.ts +1 -1
- package/components/digi-icon-paste.d.ts +1 -1
- package/components/digi-icon-pen.d.ts +1 -1
- package/components/digi-icon-phone-hangup.d.ts +1 -1
- package/components/digi-icon-phone.d.ts +1 -1
- package/components/digi-icon-plus.d.ts +1 -1
- package/components/digi-icon-pod.d.ts +1 -1
- package/components/digi-icon-print.d.ts +1 -1
- package/components/digi-icon-read.d.ts +1 -1
- package/components/digi-icon-redo.d.ts +1 -1
- package/components/digi-icon-scale.d.ts +1 -1
- package/components/digi-icon-screensharing-off.d.ts +1 -1
- package/components/digi-icon-screensharing.d.ts +1 -1
- package/components/digi-icon-search.d.ts +1 -1
- package/components/digi-icon-send-outline.d.ts +1 -1
- package/components/digi-icon-send-solid.d.ts +1 -1
- package/components/digi-icon-settings.d.ts +1 -1
- package/components/digi-icon-share-alt.d.ts +1 -1
- package/components/digi-icon-share-chain.d.ts +1 -1
- package/components/digi-icon-sign.d.ts +1 -1
- package/components/digi-icon-sliders-h.d.ts +1 -1
- package/components/digi-icon-sokkandidat.d.ts +1 -1
- package/components/digi-icon-sort-down.d.ts +1 -1
- package/components/digi-icon-sort-up.d.ts +1 -1
- package/components/digi-icon-sort.d.ts +1 -1
- package/components/digi-icon-spinner.d.ts +1 -1
- package/components/digi-icon-star-reg.d.ts +1 -1
- package/components/digi-icon-star.d.ts +1 -1
- package/components/digi-icon-suitcase-outline.d.ts +1 -1
- package/components/digi-icon-suitcase-solid.d.ts +1 -1
- package/components/digi-icon-system-assistance.d.ts +1 -1
- package/components/digi-icon-table-column.d.ts +1 -1
- package/components/digi-icon-table-row.d.ts +1 -1
- package/components/digi-icon-table.d.ts +1 -1
- package/components/digi-icon-task-done.d.ts +1 -1
- package/components/digi-icon-toggle-off.d.ts +1 -1
- package/components/digi-icon-toggle-on.d.ts +1 -1
- package/components/digi-icon-trash.d.ts +1 -1
- package/components/digi-icon-twitter.d.ts +1 -1
- package/components/digi-icon-tyck-till.d.ts +1 -1
- package/components/digi-icon-unlock.d.ts +1 -1
- package/components/digi-icon-update.d.ts +1 -1
- package/components/digi-icon-upload.d.ts +1 -1
- package/components/digi-icon-user-add.d.ts +1 -1
- package/components/digi-icon-user-alt.d.ts +1 -1
- package/components/digi-icon-user-edit.d.ts +1 -1
- package/components/digi-icon-users-solid.d.ts +1 -1
- package/components/digi-icon-validation-error.d.ts +1 -1
- package/components/digi-icon-validation-success.d.ts +1 -1
- package/components/digi-icon-validation-warning.d.ts +1 -1
- package/components/digi-icon-videocamera-off.d.ts +1 -1
- package/components/digi-icon-videocamera.d.ts +1 -1
- package/components/digi-icon-volume.d.ts +1 -1
- package/components/digi-icon-web-tv.d.ts +1 -1
- package/components/digi-icon-webinar.d.ts +1 -1
- package/components/digi-icon-wifi-signal0.d.ts +1 -1
- package/components/digi-icon-wifi-signal1.d.ts +1 -1
- package/components/digi-icon-wifi-signal2.d.ts +1 -1
- package/components/digi-icon-wifi-signal3.d.ts +1 -1
- package/components/digi-icon-window.d.ts +1 -1
- package/components/digi-icon-x-button-outline.d.ts +1 -1
- package/components/digi-icon-x-button.d.ts +1 -1
- package/components/digi-icon-x.d.ts +1 -1
- package/components/digi-icon-youtube.d.ts +1 -1
- package/components/digi-info-card-multi-container.d.ts +1 -1
- package/components/digi-info-card-multi.d.ts +1 -1
- package/components/digi-info-card.d.ts +1 -1
- package/components/digi-layout-block.d.ts +1 -1
- package/components/digi-layout-columns.d.ts +1 -1
- package/components/digi-layout-container.d.ts +1 -1
- package/components/digi-link-button.d.ts +1 -1
- package/components/digi-link-external.d.ts +1 -1
- package/components/digi-link-internal.d.ts +1 -1
- package/components/digi-link.d.ts +1 -1
- package/components/digi-list.d.ts +1 -1
- package/components/digi-loader-skeleton.d.ts +1 -1
- package/components/digi-loader-spinner.d.ts +1 -1
- package/components/digi-logo.d.ts +1 -1
- package/components/digi-media-figure.d.ts +1 -1
- package/components/digi-media-image.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.d.ts +1 -1
- package/components/digi-navigation-breadcrumbs.js +1 -1
- package/components/digi-navigation-pagination.d.ts +1 -1
- package/components/digi-navigation-sidebar-button.d.ts +1 -1
- package/components/digi-navigation-sidebar.d.ts +1 -1
- package/components/digi-navigation-vertical-menu-item.d.ts +1 -1
- package/components/digi-navigation-vertical-menu.d.ts +1 -1
- package/components/digi-notification-alert.d.ts +1 -1
- package/components/digi-notification-error-page.d.ts +1 -1
- package/components/digi-progress-circle.d.ts +1 -1
- package/components/digi-progress-circle.js +1 -1
- package/components/digi-progress-indicator.d.ts +1 -1
- package/components/digi-progress-indicator.js +1 -1
- package/components/digi-progress-list-item.d.ts +1 -1
- package/components/digi-progress-list-item.js +1 -1
- package/components/digi-progress-list.d.ts +1 -1
- package/components/digi-progressbar.d.ts +1 -1
- package/components/digi-progressbar.js +1 -1
- package/components/digi-quote.d.ts +1 -1
- package/components/digi-table.d.ts +1 -1
- package/components/digi-tablist-panel.d.ts +1 -1
- package/components/digi-tablist.d.ts +1 -1
- package/components/digi-tag-media.d.ts +1 -1
- package/components/digi-tag.d.ts +1 -1
- package/components/digi-tag.js +1 -1
- package/components/digi-tools-feedback-banner.d.ts +1 -1
- package/components/digi-tools-feedback-rating.d.ts +1 -1
- package/components/digi-tools-feedback.d.ts +1 -1
- package/components/digi-tools-theme-provider.d.ts +1 -1
- package/components/digi-typography-heading-jumbo.d.ts +1 -1
- package/components/digi-typography-meta.d.ts +1 -1
- package/components/digi-typography-preamble.d.ts +1 -1
- package/components/digi-typography-time.d.ts +1 -1
- package/components/digi-typography-time.js +1 -1
- package/components/digi-typography.d.ts +1 -1
- package/components/digi-util-breakpoint-observer.d.ts +1 -1
- package/components/digi-util-detect-click-outside.d.ts +1 -1
- package/components/digi-util-detect-focus-outside.d.ts +1 -1
- package/components/digi-util-intersection-observer.d.ts +1 -1
- package/components/digi-util-keydown-handler.d.ts +1 -1
- package/components/digi-util-keyup-handler.d.ts +1 -1
- package/components/digi-util-mutation-observer.d.ts +1 -1
- package/components/digi-util-resize-observer.d.ts +1 -1
- package/components/index.d.ts +283 -283
- package/components/{p-98765f91.js → p-504118d4.js} +1 -1
- package/components/{p-0dd35954.js → p-669e7c83.js} +54 -72
- package/components/{p-08cf2c0e.js → p-903a27d9.js} +19 -0
- package/components/{p-e3961597.js → p-9cbf7565.js} +9 -9
- package/components/{p-5010c1e6.js → p-aa63b60e.js} +1 -1
- package/components/{p-05a97800.js → p-cb20ea78.js} +5 -5
- package/custom-elements.json +23 -23
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
- package/dist/cjs/digi-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/{digi-button_19.cjs.entry.js → digi-button_17.cjs.entry.js} +117 -268
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +1 -1
- package/dist/cjs/digi-chart-line.cjs.entry.js +1 -1
- package/dist/cjs/digi-code-block_3.cjs.entry.js +3 -2
- package/dist/cjs/digi-code-example.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +2 -1
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +1 -1
- package/dist/cjs/digi-footer.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/digi-form-error-list.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +7 -7
- package/dist/cjs/digi-form-filter.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +2 -1
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +10 -9
- package/dist/cjs/digi-form-textarea.cjs.entry.js +133 -0
- package/dist/cjs/digi-header-navigation.cjs.entry.js +2 -1
- package/dist/cjs/digi-header.cjs.entry.js +2 -1
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +2 -1
- package/dist/cjs/digi-notification-alert.cjs.entry.js +2 -1
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +2 -1
- package/dist/cjs/digi-progress-circle.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +1 -1
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +1 -1
- package/dist/cjs/digi-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/digi-tag.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +2 -1
- package/dist/cjs/digi-typography-time.cjs.entry.js +1 -1
- package/dist/cjs/digi-typography.cjs.entry.js +26 -0
- package/dist/cjs/form-textarea-variation.enum-9c90d40f.js +17 -0
- package/dist/cjs/index-81fc5a97.js +10 -2
- package/dist/cjs/index.cjs.js +14 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{text-3157012b.js → text-65b1b58c.js} +19 -0
- package/dist/cjs/{typography-variation.enum-c6bb12f2.js → typography-variation.enum-6077eba3.js} +0 -16
- package/dist/collection/components/_calendar/calendar/calendar.js +61 -77
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +4 -1
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +115 -75
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +13 -13
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +6 -6
- package/dist/collection/components/_form/form-input/form-input.js +9 -9
- package/dist/collection/components/_form/form-select/form-select.js +6 -6
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +27 -15
- package/dist/collection/components/_form/form-textarea/form-textarea.js +6 -9
- package/dist/collection/text/locale/sv/text.js +19 -0
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-460572d9.entry.js → p-038a6f4d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-03e35369.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-5ffc1490.entry.js → p-04b9fcfc.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-086ef192.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-58a86b5f.entry.js → p-1472371d.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-19f13b56.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-220c63f6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-365e6558.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-693e33b2.entry.js → p-3d0c0083.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-48f60428.entry.js → p-41e16393.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-4a1af082.entry.js → p-4e81efad.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-59bf3077.js +1 -0
- package/dist/digi-arbetsformedlingen/p-64067f33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-73358d64.entry.js → p-6ea62ad2.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-7bdbb8b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-903a27d9.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-e2fe3edf.entry.js → p-954b1a74.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9c5a93d8.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-bfb78e9e.entry.js → p-9ebefb9c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-9ed7d731.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac812f71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b21ccf7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b4c9f295.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d0465354.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3ae0fb97.entry.js → p-d24cebf9.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-d6cc9061.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-df0dfa95.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-79c6ecc6.entry.js → p-dff9777b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1a12faea.entry.js → p-e03b9727.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1443ee18.entry.js → p-e955c7bd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-ed3db5d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fb17bf4b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fd32cb7c.entry.js +1 -0
- package/dist/esm/digi-arbetsformedlingen.js +1 -1
- package/dist/esm/digi-bar-chart.entry.js +1 -1
- package/dist/esm/{digi-button_19.entry.js → digi-button_17.entry.js} +118 -267
- package/dist/esm/digi-calendar-week-view.entry.js +1 -1
- package/dist/esm/digi-chart-line.entry.js +1 -1
- package/dist/esm/digi-code-block_3.entry.js +3 -2
- package/dist/esm/digi-code-example.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +2 -1
- package/dist/esm/digi-expandable-accordion.entry.js +1 -1
- package/dist/esm/digi-footer.entry.js +2 -1
- package/dist/esm/digi-form-category-filter.entry.js +2 -2
- package/dist/esm/digi-form-error-list.entry.js +2 -1
- package/dist/esm/digi-form-file-upload.entry.js +7 -7
- package/dist/esm/digi-form-filter.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +2 -1
- package/dist/esm/digi-form-select-filter.entry.js +10 -9
- package/dist/esm/digi-form-textarea.entry.js +129 -0
- package/dist/esm/digi-header-navigation.entry.js +2 -1
- package/dist/esm/digi-header.entry.js +2 -1
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +2 -1
- package/dist/esm/digi-notification-alert.entry.js +2 -1
- package/dist/esm/digi-notification-error-page.entry.js +2 -1
- package/dist/esm/digi-progress-circle.entry.js +1 -1
- package/dist/esm/digi-progress-indicator.entry.js +1 -1
- package/dist/esm/digi-progress-list-item.entry.js +1 -1
- package/dist/esm/digi-progressbar.entry.js +1 -1
- package/dist/esm/digi-tag.entry.js +1 -1
- package/dist/esm/digi-tools-feedback.entry.js +2 -1
- package/dist/esm/digi-typography-time.entry.js +1 -1
- package/dist/esm/digi-typography.entry.js +22 -0
- package/dist/esm/form-textarea-variation.enum-05017e8e.js +17 -0
- package/dist/esm/index-bfea2cc5.js +10 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{text-26e02c8d.js → text-8f88c0f6.js} +19 -0
- package/dist/esm/{typography-variation.enum-dea0fe69.js → typography-variation.enum-04944af5.js} +1 -17
- package/dist/types/components/_calendar/calendar/calendar.d.ts +12 -12
- package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +38 -32
- package/dist/types/components/_form/form-category-filter/form-category-filter.d.ts +10 -10
- package/dist/types/components/_form/form-input/form-input.d.ts +0 -1
- package/dist/types/components/_form/form-select/form-select.d.ts +2 -2
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +4 -4
- package/dist/types/components/_form/form-textarea/form-textarea.d.ts +0 -1
- package/dist/types/components.d.ts +126 -110
- package/dist/types/text/locale/sv/text.d.ts +6 -0
- package/hydrate/index.js +158 -147
- package/hydrate/index.mjs +158 -147
- package/package.json +1 -1
- package/dist/digi-arbetsformedlingen/p-02a6c3e6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-08cf2c0e.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11035a85.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2242582b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4f68f34d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5990798b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5bd4feb1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c6726e4.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-871eb27f.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-aa63b05a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bb92f2eb.js +0 -1
|
@@ -16,7 +16,6 @@ export class CalendarDatepicker {
|
|
|
16
16
|
this.showDisabledDateError = false;
|
|
17
17
|
this.showCalendar = false;
|
|
18
18
|
this.userInput = '';
|
|
19
|
-
this.isEditing = false;
|
|
20
19
|
this.afId = randomIdGenerator('digi-calendar-datepicker');
|
|
21
20
|
this.afLabel = _t.calendar.datepicker.label;
|
|
22
21
|
this.afLabelDescription = _t.calendar.datepicker.description;
|
|
@@ -28,7 +27,7 @@ export class CalendarDatepicker {
|
|
|
28
27
|
this.afValidationWrongFormat = _t.calendar.datepicker.validationWrongFormat;
|
|
29
28
|
this.afValidationDisabledDate = _t.calendar.datepicker.validationDisabledDate;
|
|
30
29
|
this.afRequired = undefined;
|
|
31
|
-
this.afDisableValidation =
|
|
30
|
+
this.afDisableValidation = false;
|
|
32
31
|
this.afRequiredText = undefined;
|
|
33
32
|
this.afSelectedDates = [];
|
|
34
33
|
this.afYearSelect = false;
|
|
@@ -38,6 +37,7 @@ export class CalendarDatepicker {
|
|
|
38
37
|
this.afShowWeekNumber = false;
|
|
39
38
|
this.afMultipleDates = false;
|
|
40
39
|
this.afCloseOnSelect = false;
|
|
40
|
+
this.afOpenCalendarTo = undefined;
|
|
41
41
|
}
|
|
42
42
|
afDisableValidationChangeHandler(newVal) {
|
|
43
43
|
if (!newVal) {
|
|
@@ -124,6 +124,10 @@ export class CalendarDatepicker {
|
|
|
124
124
|
e.stopPropagation();
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
+
focusOnCalendarInput() {
|
|
128
|
+
const input = this.hostElement.querySelector(`#${this.afId}-datepicker input`);
|
|
129
|
+
input === null || input === void 0 ? void 0 : input.focus();
|
|
130
|
+
}
|
|
127
131
|
focusOnCalendarButton() {
|
|
128
132
|
const calendarButton = this.hostElement.querySelector(`#${this.afId}-button`);
|
|
129
133
|
calendarButton.focus();
|
|
@@ -148,7 +152,7 @@ export class CalendarDatepicker {
|
|
|
148
152
|
}
|
|
149
153
|
parseInputString(value) {
|
|
150
154
|
return value
|
|
151
|
-
.split(
|
|
155
|
+
.split(new RegExp(`[&,]|${_t.and}`, 'g'))
|
|
152
156
|
.map((text) => this.parseDateString(text.trim()));
|
|
153
157
|
}
|
|
154
158
|
resetValueAndState() {
|
|
@@ -175,8 +179,14 @@ export class CalendarDatepicker {
|
|
|
175
179
|
validateInputAndShowErrors(dates) {
|
|
176
180
|
this.showWrongFormatError = !!dates.find((date) => !isValid(date));
|
|
177
181
|
this.showDisabledDateError = !!dates.find((date) => !this.isDateSelectable(date));
|
|
182
|
+
const inputIsValid = !this.showWrongFormatError && !this.showDisabledDateError;
|
|
178
183
|
this.afOnValidationChange.emit({
|
|
179
|
-
|
|
184
|
+
isValid: inputIsValid,
|
|
185
|
+
validationText: inputIsValid
|
|
186
|
+
? undefined
|
|
187
|
+
: this.showWrongFormatError
|
|
188
|
+
? this.afValidationWrongFormat
|
|
189
|
+
: this.afValidationDisabledDate
|
|
180
190
|
});
|
|
181
191
|
}
|
|
182
192
|
setValue(value) {
|
|
@@ -197,10 +207,22 @@ export class CalendarDatepicker {
|
|
|
197
207
|
return;
|
|
198
208
|
}
|
|
199
209
|
let dates = this.parseInputString(newValue);
|
|
200
|
-
|
|
210
|
+
// Single dates - acceptera inte flera datum inskrivna
|
|
211
|
+
if (!this.afDisableValidation &&
|
|
212
|
+
!this.afMultipleDates &&
|
|
213
|
+
dates.length > 1) {
|
|
214
|
+
this.showWrongFormatError = true;
|
|
215
|
+
this.afOnValidationChange.emit({
|
|
216
|
+
isValid: false,
|
|
217
|
+
validationText: this.afValidationWrongFormat
|
|
218
|
+
});
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
// Multiple dates - filtrera bort dubbletter
|
|
222
|
+
if (!this.afDisableValidation && this.afMultipleDates) {
|
|
201
223
|
const uniqueDates = this.removeDuplicateDates(dates);
|
|
202
224
|
if (uniqueDates.length !== dates.length) {
|
|
203
|
-
dates =
|
|
225
|
+
dates = uniqueDates;
|
|
204
226
|
this.userInput = this.datesToInputString(dates);
|
|
205
227
|
}
|
|
206
228
|
}
|
|
@@ -219,7 +241,7 @@ export class CalendarDatepicker {
|
|
|
219
241
|
}
|
|
220
242
|
this.userInput = '';
|
|
221
243
|
this.setValue(evt.detail);
|
|
222
|
-
this.
|
|
244
|
+
this.afOnDateChangeRawText.emit(this.inputValue);
|
|
223
245
|
if (this.afCloseOnSelect) {
|
|
224
246
|
this.toggleCalendar();
|
|
225
247
|
this.focusOnCalendarButton();
|
|
@@ -312,7 +334,7 @@ export class CalendarDatepicker {
|
|
|
312
334
|
datesToInputString(dates) {
|
|
313
335
|
return dates.every((date) => date instanceof Date && !isNaN(date.getTime()))
|
|
314
336
|
? dates
|
|
315
|
-
.map((date) => date.toLocaleDateString(
|
|
337
|
+
.map((date) => date.toLocaleDateString(_t.locale))
|
|
316
338
|
.flatMap((date, index, all) => {
|
|
317
339
|
const isLast = index == all.length - 1;
|
|
318
340
|
const isFirst = index === 0;
|
|
@@ -320,7 +342,7 @@ export class CalendarDatepicker {
|
|
|
320
342
|
return date;
|
|
321
343
|
}
|
|
322
344
|
else if (isLast) {
|
|
323
|
-
return [
|
|
345
|
+
return [` ${_t.and} `, date];
|
|
324
346
|
}
|
|
325
347
|
else {
|
|
326
348
|
return [', ', date];
|
|
@@ -336,44 +358,37 @@ export class CalendarDatepicker {
|
|
|
336
358
|
return this.afSelectedDates;
|
|
337
359
|
}
|
|
338
360
|
render() {
|
|
339
|
-
return (h(Host, { key: '
|
|
340
|
-
? FormInputValidation.
|
|
341
|
-
: this.
|
|
342
|
-
? FormInputValidation.ERROR
|
|
343
|
-
: this.afValidation, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
|
|
361
|
+
return (h(Host, { key: '0e4fa182ae33ac82d440e3841f853e6328b67794' }, h("div", { key: '81e2d07ec330b4e2994e1fd86d693dcb5405410d', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, h("div", { key: 'a47c94fa8498d8f88caea31f725fd0294ea03ac2', class: "digi-calendar-datepicker__input-field" }, h("digi-form-input", { key: 'af7ad6bdec9ec1e45e11ff2ac06a51fdad7ea80a', class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afName: this.afName, afValue: this.inputValue, afValidation: this.hasBuiltInValidationError()
|
|
362
|
+
? FormInputValidation.ERROR
|
|
363
|
+
: this.afValidation, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
|
|
344
364
|
evt.stopImmediatePropagation();
|
|
345
|
-
this.isEditing = true;
|
|
346
365
|
this.parseInput(evt);
|
|
347
366
|
}, onAfOnBlur: (evt) => {
|
|
348
367
|
evt.stopImmediatePropagation();
|
|
349
|
-
this.
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
368
|
+
this.afOnDateChangeRawText.emit(this.inputValue);
|
|
369
|
+
}, onKeyDown: (e) => {
|
|
370
|
+
if (!this.showCalendar || e.key !== 'Tab' || !e.shiftKey)
|
|
371
|
+
return;
|
|
372
|
+
if (e.target.tagName !== 'INPUT')
|
|
373
|
+
return;
|
|
374
|
+
e.preventDefault();
|
|
375
|
+
const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
|
|
376
|
+
focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
|
|
377
|
+
} }, h("button", { key: 'fbd02f05da4d93f60a4c4d8b52adba311fc4a324', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": this.showCalendar
|
|
354
378
|
? this.afCloseCalendarAriaLabel
|
|
355
|
-
: this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, this.showCalendar ? (h("digi-icon-x", { class: "digi-calendar-datepicker__button-icon", slot: "icon" })) : (h("digi-icon-calendar-alt", { class: "digi-calendar-datepicker__button-icon", slot: "icon" }))))), h("div", { key: '
|
|
379
|
+
: this.afOpenCalendarAriaLabel, "aria-controls": "calendar-popup", "aria-expanded": this.showCalendar ? 'true' : 'false', onClick: () => this.toggleCalendar(), type: "button" }, this.showCalendar ? (h("digi-icon-x", { class: "digi-calendar-datepicker__button-icon", slot: "icon" })) : (h("digi-icon-calendar-alt", { class: "digi-calendar-datepicker__button-icon", slot: "icon" }))))), h("div", { key: '07bed93717efb5bf1dba04ce61f2006403a860d2', class: "digi-calendar-datepicker__calendar", id: "calendar-popup" }, h("p", { key: '8fc156658ea084cf2291149f2f4c6a7a246b731f', role: "alert", class: "digi-calendar-datepicker__sr-instructions" }, this.showCalendar
|
|
356
380
|
? `${_t.calendar.screenReaderInstructions}${this.screenReaderUpdateTrigger ? '\u200B' : ''}`
|
|
357
|
-
: ''), h("digi-calendar", { key: '
|
|
381
|
+
: ''), h("digi-calendar", { key: '0cf7d10740ad6be29431c366127893741184544d', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afYearSelect: this.afYearSelect, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, afOpenCalendarTo: this.afOpenCalendarTo, onAfOnDateSelectedChange: (evt) => {
|
|
358
382
|
evt.stopImmediatePropagation();
|
|
359
383
|
this.parseCalendar(evt);
|
|
360
|
-
},
|
|
361
|
-
if (this.showCalendar)
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
if (isDateButton) {
|
|
369
|
-
this.focusOnCalendarButton();
|
|
370
|
-
}
|
|
371
|
-
else if (isToggleButton) {
|
|
372
|
-
const focusableDateButton = this.hostElement.querySelector('.digi-calendar__date[tabindex="0"]');
|
|
373
|
-
focusableDateButton === null || focusableDateButton === void 0 ? void 0 : focusableDateButton.focus();
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
} })), this.afCloseOnSelect && !this.afMultipleDates && (h("div", { key: 'e05fb1b11b44ad4c4f5c7ad452aa7f7e548f8db5', class: "digi-calendar-datepicker__selected-date-alert", role: "alert" }, this.afSelectedDates.length > 0
|
|
384
|
+
}, onKeyDown: (e) => {
|
|
385
|
+
if (!this.showCalendar || e.key !== 'Tab' || e.shiftKey)
|
|
386
|
+
return;
|
|
387
|
+
if (!e.target.classList.contains('digi-calendar__date'))
|
|
388
|
+
return;
|
|
389
|
+
e.preventDefault();
|
|
390
|
+
this.focusOnCalendarInput();
|
|
391
|
+
} })), this.afCloseOnSelect && !this.afMultipleDates && (h("div", { key: 'ba8d4fb43fc1c54cc417e48c42c47264e2731e74', class: "digi-calendar-datepicker__selected-date-alert", role: "alert" }, this.afSelectedDates.length > 0
|
|
377
392
|
? `${_t.calendar.datepicker.selectedDate}: ${this.datesToInputString(this.afSelectedDates)}`
|
|
378
393
|
: '')))));
|
|
379
394
|
}
|
|
@@ -404,9 +419,9 @@ export class CalendarDatepicker {
|
|
|
404
419
|
"docs": {
|
|
405
420
|
"tags": [{
|
|
406
421
|
"name": "en",
|
|
407
|
-
"text": "Sets an id attribute
|
|
422
|
+
"text": "Sets an id attribute for the input field, and serves as the base for other ids in the component"
|
|
408
423
|
}],
|
|
409
|
-
"text": "S\u00E4tter
|
|
424
|
+
"text": "S\u00E4tter attributet id f\u00F6r inputf\u00E4ltet, och utg\u00F6r basen f\u00F6r andra id:n i komponenten"
|
|
410
425
|
},
|
|
411
426
|
"getter": false,
|
|
412
427
|
"setter": false,
|
|
@@ -429,7 +444,7 @@ export class CalendarDatepicker {
|
|
|
429
444
|
"name": "en",
|
|
430
445
|
"text": "The label text"
|
|
431
446
|
}],
|
|
432
|
-
"text": "Texten till
|
|
447
|
+
"text": "Texten till etiketten"
|
|
433
448
|
},
|
|
434
449
|
"getter": false,
|
|
435
450
|
"setter": false,
|
|
@@ -452,7 +467,7 @@ export class CalendarDatepicker {
|
|
|
452
467
|
"name": "en",
|
|
453
468
|
"text": "Optional description text"
|
|
454
469
|
}],
|
|
455
|
-
"text": "
|
|
470
|
+
"text": "Beskrivande text som b\u00F6r beskriva det f\u00F6rv\u00E4ntade formatet och/eller andra krav"
|
|
456
471
|
},
|
|
457
472
|
"getter": false,
|
|
458
473
|
"setter": false,
|
|
@@ -473,9 +488,9 @@ export class CalendarDatepicker {
|
|
|
473
488
|
"docs": {
|
|
474
489
|
"tags": [{
|
|
475
490
|
"name": "en",
|
|
476
|
-
"text": "Sets the 'name' attribute on the inner input element
|
|
491
|
+
"text": "Sets the 'name' attribute on the inner input element"
|
|
477
492
|
}],
|
|
478
|
-
"text": "S\u00E4tter attributet 'name' p\u00E5 det inre input-elementet
|
|
493
|
+
"text": "S\u00E4tter attributet 'name' p\u00E5 det inre input-elementet"
|
|
479
494
|
},
|
|
480
495
|
"getter": false,
|
|
481
496
|
"setter": false,
|
|
@@ -570,9 +585,9 @@ export class CalendarDatepicker {
|
|
|
570
585
|
"docs": {
|
|
571
586
|
"tags": [{
|
|
572
587
|
"name": "en",
|
|
573
|
-
"text": "Set input validation message"
|
|
588
|
+
"text": "Set input validation message for custom validation"
|
|
574
589
|
}],
|
|
575
|
-
"text": "S\u00E4tter valideringsmeddelandet"
|
|
590
|
+
"text": "S\u00E4tter valideringsmeddelandet f\u00F6r egen validering"
|
|
576
591
|
},
|
|
577
592
|
"getter": false,
|
|
578
593
|
"setter": false,
|
|
@@ -592,9 +607,9 @@ export class CalendarDatepicker {
|
|
|
592
607
|
"docs": {
|
|
593
608
|
"tags": [{
|
|
594
609
|
"name": "en",
|
|
595
|
-
"text": "Set input validation message"
|
|
610
|
+
"text": "Set input validation message for the built-in format validation"
|
|
596
611
|
}],
|
|
597
|
-
"text": "S\u00E4tter valideringsmeddelandet"
|
|
612
|
+
"text": "S\u00E4tter valideringsmeddelandet f\u00F6r den inbyggda formatvalideringen"
|
|
598
613
|
},
|
|
599
614
|
"getter": false,
|
|
600
615
|
"setter": false,
|
|
@@ -615,9 +630,9 @@ export class CalendarDatepicker {
|
|
|
615
630
|
"docs": {
|
|
616
631
|
"tags": [{
|
|
617
632
|
"name": "en",
|
|
618
|
-
"text": "Set input validation message"
|
|
633
|
+
"text": "Set input validation message for the built-in min/max date validation"
|
|
619
634
|
}],
|
|
620
|
-
"text": "S\u00E4tter valideringsmeddelandet"
|
|
635
|
+
"text": "S\u00E4tter valideringsmeddelandet f\u00F6r den inbyggda valideringen av min/max-datum"
|
|
621
636
|
},
|
|
622
637
|
"getter": false,
|
|
623
638
|
"setter": false,
|
|
@@ -640,7 +655,7 @@ export class CalendarDatepicker {
|
|
|
640
655
|
"name": "en",
|
|
641
656
|
"text": "Input required attribute"
|
|
642
657
|
}],
|
|
643
|
-
"text": "S\u00E4tter attributet 'required'
|
|
658
|
+
"text": "S\u00E4tter attributet 'required'"
|
|
644
659
|
},
|
|
645
660
|
"getter": false,
|
|
646
661
|
"setter": false,
|
|
@@ -660,14 +675,15 @@ export class CalendarDatepicker {
|
|
|
660
675
|
"docs": {
|
|
661
676
|
"tags": [{
|
|
662
677
|
"name": "en",
|
|
663
|
-
"text": "Set this to true to disable internal validation
|
|
678
|
+
"text": "Set this to true to disable internal validation"
|
|
664
679
|
}],
|
|
665
|
-
"text": "S\u00E4tt denna till true f\u00F6r att st\u00E4nga av komponentens egna validering
|
|
680
|
+
"text": "S\u00E4tt denna till true f\u00F6r att st\u00E4nga av komponentens egna validering"
|
|
666
681
|
},
|
|
667
682
|
"getter": false,
|
|
668
683
|
"setter": false,
|
|
669
684
|
"attribute": "af-disable-validation",
|
|
670
|
-
"reflect": false
|
|
685
|
+
"reflect": false,
|
|
686
|
+
"defaultValue": "false"
|
|
671
687
|
},
|
|
672
688
|
"afRequiredText": {
|
|
673
689
|
"type": "string",
|
|
@@ -682,9 +698,9 @@ export class CalendarDatepicker {
|
|
|
682
698
|
"docs": {
|
|
683
699
|
"tags": [{
|
|
684
700
|
"name": "en",
|
|
685
|
-
"text": "Set text for afRequired
|
|
701
|
+
"text": "Set text for afRequired"
|
|
686
702
|
}],
|
|
687
|
-
"text": "S\u00E4tter text f\u00F6r afRequired
|
|
703
|
+
"text": "S\u00E4tter text f\u00F6r afRequired"
|
|
688
704
|
},
|
|
689
705
|
"getter": false,
|
|
690
706
|
"setter": false,
|
|
@@ -840,9 +856,9 @@ export class CalendarDatepicker {
|
|
|
840
856
|
"docs": {
|
|
841
857
|
"tags": [{
|
|
842
858
|
"name": "en",
|
|
843
|
-
"text": "Show week number in the calander.
|
|
859
|
+
"text": "Show week number in the calander."
|
|
844
860
|
}],
|
|
845
|
-
"text": "Visa veckonummer i kalender
|
|
861
|
+
"text": "Visa veckonummer i kalender"
|
|
846
862
|
},
|
|
847
863
|
"getter": false,
|
|
848
864
|
"setter": false,
|
|
@@ -863,9 +879,9 @@ export class CalendarDatepicker {
|
|
|
863
879
|
"docs": {
|
|
864
880
|
"tags": [{
|
|
865
881
|
"name": "en",
|
|
866
|
-
"text": "Set this to true to be able to select multiple dates in the calander
|
|
882
|
+
"text": "Set this to true to be able to select multiple dates in the calander"
|
|
867
883
|
}],
|
|
868
|
-
"text": "S\u00E4tt denna till true f\u00F6r att kunna markera mer en ett datum i kalendern
|
|
884
|
+
"text": "S\u00E4tt denna till true f\u00F6r att kunna markera mer en ett datum i kalendern"
|
|
869
885
|
},
|
|
870
886
|
"getter": false,
|
|
871
887
|
"setter": false,
|
|
@@ -886,15 +902,40 @@ export class CalendarDatepicker {
|
|
|
886
902
|
"docs": {
|
|
887
903
|
"tags": [{
|
|
888
904
|
"name": "en",
|
|
889
|
-
"text": "Set this to true if the calendar should close when a date is selected
|
|
905
|
+
"text": "Set this to true if the calendar should close when a date is selected"
|
|
890
906
|
}],
|
|
891
|
-
"text": "S\u00E4tt denna till true om kalendern ska st\u00E4ngas n\u00E4r anv\u00E4ndaren v\u00E4ljer ett datum
|
|
907
|
+
"text": "S\u00E4tt denna till true om kalendern ska st\u00E4ngas n\u00E4r anv\u00E4ndaren v\u00E4ljer ett datum"
|
|
892
908
|
},
|
|
893
909
|
"getter": false,
|
|
894
910
|
"setter": false,
|
|
895
911
|
"attribute": "af-close-on-select",
|
|
896
912
|
"reflect": false,
|
|
897
913
|
"defaultValue": "false"
|
|
914
|
+
},
|
|
915
|
+
"afOpenCalendarTo": {
|
|
916
|
+
"type": "unknown",
|
|
917
|
+
"mutable": false,
|
|
918
|
+
"complexType": {
|
|
919
|
+
"original": "Date",
|
|
920
|
+
"resolved": "Date",
|
|
921
|
+
"references": {
|
|
922
|
+
"Date": {
|
|
923
|
+
"location": "global",
|
|
924
|
+
"id": "global::Date"
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"required": false,
|
|
929
|
+
"optional": false,
|
|
930
|
+
"docs": {
|
|
931
|
+
"tags": [{
|
|
932
|
+
"name": "en",
|
|
933
|
+
"text": "Controls which month is shown from start, and which date button is the entry point for keyboard navigation. If not provided, selected date or today's date is used."
|
|
934
|
+
}],
|
|
935
|
+
"text": "Styr vilken m\u00E5nad som visas fr\u00E5n start, samt vilken datumknapp som \u00E4r ing\u00E5ngspunkt f\u00F6r tangentbordsnavigering. Om inte angiven anv\u00E4nds valt datum eller dagens datum."
|
|
936
|
+
},
|
|
937
|
+
"getter": false,
|
|
938
|
+
"setter": false
|
|
898
939
|
}
|
|
899
940
|
};
|
|
900
941
|
}
|
|
@@ -903,8 +944,7 @@ export class CalendarDatepicker {
|
|
|
903
944
|
"showWrongFormatError": {},
|
|
904
945
|
"showDisabledDateError": {},
|
|
905
946
|
"showCalendar": {},
|
|
906
|
-
"userInput": {}
|
|
907
|
-
"isEditing": {}
|
|
947
|
+
"userInput": {}
|
|
908
948
|
};
|
|
909
949
|
}
|
|
910
950
|
static get events() {
|
|
@@ -917,9 +957,9 @@ export class CalendarDatepicker {
|
|
|
917
957
|
"docs": {
|
|
918
958
|
"tags": [{
|
|
919
959
|
"name": "en",
|
|
920
|
-
"text": "Sends the value as an array of Date objects when the date is updated
|
|
960
|
+
"text": "Sends the value as an array of Date objects when the date is updated"
|
|
921
961
|
}],
|
|
922
|
-
"text": "Skickar v\u00E4rdet som en array av Date-objekt n\u00E4r datumet uppdateras
|
|
962
|
+
"text": "Skickar v\u00E4rdet som en array av Date-objekt n\u00E4r datumet uppdateras"
|
|
923
963
|
},
|
|
924
964
|
"complexType": {
|
|
925
965
|
"original": "Date[]",
|
|
@@ -932,17 +972,17 @@ export class CalendarDatepicker {
|
|
|
932
972
|
}
|
|
933
973
|
}
|
|
934
974
|
}, {
|
|
935
|
-
"method": "
|
|
936
|
-
"name": "
|
|
975
|
+
"method": "afOnDateChangeRawText",
|
|
976
|
+
"name": "afOnDateChangeRawText",
|
|
937
977
|
"bubbles": true,
|
|
938
978
|
"cancelable": true,
|
|
939
979
|
"composed": true,
|
|
940
980
|
"docs": {
|
|
941
981
|
"tags": [{
|
|
942
982
|
"name": "en",
|
|
943
|
-
"text": "Sends the string displayed in the input field when the date is updated
|
|
983
|
+
"text": "Sends the string displayed in the input field when the date is updated"
|
|
944
984
|
}],
|
|
945
|
-
"text": "Skickar str\u00E4ngen som visas i inputf\u00E4ltet n\u00E4r datumet uppdateras
|
|
985
|
+
"text": "Skickar str\u00E4ngen som visas i inputf\u00E4ltet n\u00E4r datumet uppdateras"
|
|
946
986
|
},
|
|
947
987
|
"complexType": {
|
|
948
988
|
"original": "string",
|
|
@@ -958,13 +998,13 @@ export class CalendarDatepicker {
|
|
|
958
998
|
"docs": {
|
|
959
999
|
"tags": [{
|
|
960
1000
|
"name": "en",
|
|
961
|
-
"text": "Emits
|
|
1001
|
+
"text": "Emits the validation result"
|
|
962
1002
|
}],
|
|
963
|
-
"text": "Skickar
|
|
1003
|
+
"text": "Skickar resultatet n\u00E4r validering sker"
|
|
964
1004
|
},
|
|
965
1005
|
"complexType": {
|
|
966
|
-
"original": "{
|
|
967
|
-
"resolved": "{
|
|
1006
|
+
"original": "{\n isValid: boolean;\n validationText?: string;\n }",
|
|
1007
|
+
"resolved": "{ isValid: boolean; validationText?: string; }",
|
|
968
1008
|
"references": {}
|
|
969
1009
|
}
|
|
970
1010
|
}];
|
|
@@ -92,7 +92,7 @@ export class FormCategoryFilter {
|
|
|
92
92
|
this.afHideToggle = !this.toggleHidden;
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '1116adb138d4455a8946696bd148de4470fc8278' }, h("div", { key: '888f3e8c1133706105581a7a89966ef93ccad0c9', class: {
|
|
96
96
|
'digi-form-category-filter': true
|
|
97
97
|
} }, this.displayCategories().map((category) => (h("digi-button", { class: {
|
|
98
98
|
'digi-form-category-filter--category': true,
|
|
@@ -100,7 +100,7 @@ export class FormCategoryFilter {
|
|
|
100
100
|
}, afVariation: "primary", afAriaPressed: this.selectedCategories.includes(category.name), onAfOnClick: () => {
|
|
101
101
|
this.toggleCategory(category);
|
|
102
102
|
} }, typeof category.hits === 'undefined' && category.name, typeof category.hits !== 'undefined' && (h("span", null, category.name, ' ', h("span", { class: "digi-form-category-filter--category--thin-text" }, "(", category.hits, ")")))))), this.afHideToggle === false &&
|
|
103
|
-
this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: '
|
|
103
|
+
this.afCategories.length > this.afVisibleCollapsed && (h("div", { key: 'b717e98f7a11951d09332be733c9f42ffce092df' }, h("digi-button", { key: '405ae252571b1702e02db338cf0137955f1cbef6', afVariation: "function", afAriaExpanded: !this.collapsed, onClick: () => {
|
|
104
104
|
this.toggleCollapsed();
|
|
105
105
|
} }, this.collapsed ? 'Visa alla' : 'Visa färre', this.collapsed ? (h("digi-icon-plus", { slot: "icon", "aria-hidden": "true" })) : (h("digi-icon-minus", { slot: "icon", "aria-hidden": "true" }))))))));
|
|
106
106
|
}
|
|
@@ -162,9 +162,9 @@ export class FormCategoryFilter {
|
|
|
162
162
|
"docs": {
|
|
163
163
|
"tags": [{
|
|
164
164
|
"name": "en",
|
|
165
|
-
"text": "If the list should start with a 'All categories'
|
|
165
|
+
"text": "If the list should start with a button for 'All categories'"
|
|
166
166
|
}],
|
|
167
|
-
"text": "Ifall listan ska b\u00F6rja med en 'Alla kategorier'
|
|
167
|
+
"text": "Ifall listan ska b\u00F6rja med en knapp f\u00F6r 'Alla kategorier'"
|
|
168
168
|
},
|
|
169
169
|
"getter": false,
|
|
170
170
|
"setter": false,
|
|
@@ -185,9 +185,9 @@ export class FormCategoryFilter {
|
|
|
185
185
|
"docs": {
|
|
186
186
|
"tags": [{
|
|
187
187
|
"name": "en",
|
|
188
|
-
"text": "If the 'All categories' category should
|
|
188
|
+
"text": "If the 'All categories' category should be selected from start"
|
|
189
189
|
}],
|
|
190
|
-
"text": "Ifall 'Alla kategorier' kategorin ska
|
|
190
|
+
"text": "Ifall 'Alla kategorier' kategorin ska vara vald fr\u00E5n start"
|
|
191
191
|
},
|
|
192
192
|
"getter": false,
|
|
193
193
|
"setter": false,
|
|
@@ -210,7 +210,7 @@ export class FormCategoryFilter {
|
|
|
210
210
|
"name": "en",
|
|
211
211
|
"text": "The name of the 'All categories' category"
|
|
212
212
|
}],
|
|
213
|
-
"text": "Namnet p\u00E5 'Alla kategorier'
|
|
213
|
+
"text": "Namnet p\u00E5 'Alla kategorier'-kategorin"
|
|
214
214
|
},
|
|
215
215
|
"getter": false,
|
|
216
216
|
"setter": false,
|
|
@@ -254,9 +254,9 @@ export class FormCategoryFilter {
|
|
|
254
254
|
"docs": {
|
|
255
255
|
"tags": [{
|
|
256
256
|
"name": "en",
|
|
257
|
-
"text": "If the list should
|
|
257
|
+
"text": "If the list should be collapsed from start"
|
|
258
258
|
}],
|
|
259
|
-
"text": "Ifall listan ska
|
|
259
|
+
"text": "Ifall listan ska vara kollapsad fr\u00E5n b\u00F6rjan"
|
|
260
260
|
},
|
|
261
261
|
"getter": false,
|
|
262
262
|
"setter": false,
|
|
@@ -300,9 +300,9 @@ export class FormCategoryFilter {
|
|
|
300
300
|
"docs": {
|
|
301
301
|
"tags": [{
|
|
302
302
|
"name": "en",
|
|
303
|
-
"text": "Show all categories and hide button to
|
|
303
|
+
"text": "Show all categories and hide button to show more/fewer"
|
|
304
304
|
}],
|
|
305
|
-
"text": "Visa alla kategorier och d\u00F6lj knappen f\u00F6r att
|
|
305
|
+
"text": "Visa alla kategorier och d\u00F6lj knappen f\u00F6r att visa fler/f\u00E4rre"
|
|
306
306
|
},
|
|
307
307
|
"getter": false,
|
|
308
308
|
"setter": false,
|
|
@@ -333,8 +333,8 @@ export class FormCategoryFilter {
|
|
|
333
333
|
"text": "Sker vid \u00E4ndrade valda kategorier"
|
|
334
334
|
},
|
|
335
335
|
"complexType": {
|
|
336
|
-
"original": "
|
|
337
|
-
"resolved": "
|
|
336
|
+
"original": "string[]",
|
|
337
|
+
"resolved": "string[]",
|
|
338
338
|
"references": {}
|
|
339
339
|
}
|
|
340
340
|
}];
|
|
@@ -547,18 +547,18 @@ export class FormFileUpload {
|
|
|
547
547
|
'digi-form-file-upload__upload-area': true,
|
|
548
548
|
'digi-form-file-upload__upload-area--hover': this.fileHover
|
|
549
549
|
}, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), onDragEnter: (e) => this.handleOnDragEnterLeave(e), onDragLeave: (e) => this.handleOnDragEnterLeave(e), onClick: (e) => this.handleInputClick(e) }, this.fileHover &&
|
|
550
|
-
this.afVariation != FormFileUploadVariation.SMALL && (h("div", { key: '252d8551475a8efeafcb5422e3bc9a39ab766ee0', class: "digi-form-file-upload__upload-area-overlay" })), h("div", { key: 'e04056de0ca60a999f38e7fc2ee3dddb14f3352e', class: "digi-form-file-upload__text-area" }, h("button", { key: '
|
|
550
|
+
this.afVariation != FormFileUploadVariation.SMALL && (h("div", { key: '252d8551475a8efeafcb5422e3bc9a39ab766ee0', class: "digi-form-file-upload__upload-area-overlay" })), h("div", { key: 'e04056de0ca60a999f38e7fc2ee3dddb14f3352e', class: "digi-form-file-upload__text-area" }, h("button", { key: '9e7e1d5c75e32f5db420e92f32b428bfb66b430e', type: "button", id: this.afId + '-button', ref: (el) => {
|
|
551
551
|
this._uploadButton = el;
|
|
552
552
|
}, onClick: (e) => this.handleInputClick(e), class: "digi-form-file-upload__button hidden_mobile", style: {
|
|
553
553
|
margin: '0'
|
|
554
|
-
} }, h("digi-icon-paperclip", { key: '
|
|
554
|
+
} }, h("digi-icon-paperclip", { key: '16567976f7f354917cfe2c28046dcb99f302c828', "aria-hidden": "true", class: "digi-form-file-upload__button-icon paper-clip", slot: "icon" }), this.afUploadBtnText
|
|
555
555
|
? this.afUploadBtnText
|
|
556
|
-
: _t.form.file_choose), h("input", { key: '
|
|
556
|
+
: _t.form.file_choose), h("input", { key: '2bd5c1af11f38d32964c46a89fd31b04908d3de5', ref: (el) => {
|
|
557
557
|
this._input = el;
|
|
558
|
-
}, onChange: (e) => this.onButtonUploadFileHandler(e), class: "digi-form-file-upload__input", multiple: true, type: "file", id: this.afId, accept: this.afFileTypes, name: this.afName ? this.afName : null, required: this.afRequired ? this.afRequired : null, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), "aria-errormessage": "digi-form-file-upload__error", "aria-describedBy": "digi-form-file-upload__error" }), h("span", { key: '
|
|
559
|
-
_t.form.file_dropzone))), h("p", { key: '
|
|
558
|
+
}, onChange: (e) => this.onButtonUploadFileHandler(e), class: "digi-form-file-upload__input", multiple: true, type: "file", id: this.afId, accept: this.afFileTypes, name: this.afName ? this.afName : null, required: this.afRequired ? this.afRequired : null, onDrop: (e) => this.handleDrop(e), onDragOver: (e) => this.handleAllowDrop(e), "aria-errormessage": "digi-form-file-upload__error", "aria-describedBy": "digi-form-file-upload__error" }), h("span", { key: '8ba2509be773975eedfea52a75b51fb4f9890ed1' }, this.afVariation !== FormFileUploadVariation.SMALL &&
|
|
559
|
+
_t.form.file_dropzone))), h("p", { key: '82c7c35bc1ad2766687ba683c3f3b14836a74515', class: "visually-hidden", role: "alert", "aria-atomic": "true", ref: (el) => {
|
|
560
560
|
this._srTextContainer = el;
|
|
561
|
-
} }), (this.files.length > 0 || this.error) && (h("div", { key: '
|
|
561
|
+
} }), (this.files.length > 0 || this.error) && (h("div", { key: 'df0c06072fd8df4cd77eca15f67a046fca028a07', class: "digi-form-file-upload__files" }, this.renderErrorMessage(), this.renderFileContainer())))));
|
|
562
562
|
}
|
|
563
563
|
static get is() { return "digi-form-file-upload"; }
|
|
564
564
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,7 +18,6 @@ export class FormInput {
|
|
|
18
18
|
this.hasButton = undefined;
|
|
19
19
|
this.dirty = false;
|
|
20
20
|
this.touched = false;
|
|
21
|
-
this.isEditing = false;
|
|
22
21
|
this.afLabel = undefined;
|
|
23
22
|
this.afLabelDescription = undefined;
|
|
24
23
|
this.afType = FormInputType.TEXT;
|
|
@@ -57,6 +56,9 @@ export class FormInput {
|
|
|
57
56
|
}
|
|
58
57
|
onAfValueChanged(value) {
|
|
59
58
|
this.value = value;
|
|
59
|
+
if (this._input && this._input.value !== String(value !== null && value !== void 0 ? value : '')) {
|
|
60
|
+
this._input.value = String(value !== null && value !== void 0 ? value : '');
|
|
61
|
+
}
|
|
60
62
|
}
|
|
61
63
|
afValidationTextWatch() {
|
|
62
64
|
this.setActiveValidationMessage();
|
|
@@ -89,8 +91,8 @@ export class FormInput {
|
|
|
89
91
|
'digi-form-input--large': this.afVariation === FormInputVariation.LARGE,
|
|
90
92
|
'digi-form-input--neutral': this.afValidation === FormInputValidation.NEUTRAL,
|
|
91
93
|
'digi-form-input--success': this.afValidation === FormInputValidation.SUCCESS,
|
|
92
|
-
'digi-form-input--error':
|
|
93
|
-
'digi-form-input--warning':
|
|
94
|
+
'digi-form-input--error': this.afValidation === FormInputValidation.ERROR,
|
|
95
|
+
'digi-form-input--warning': this.afValidation === FormInputValidation.WARNING,
|
|
94
96
|
[`digi-form-input--button-variation-${this.afButtonVariation}`]: !!this.afButtonVariation,
|
|
95
97
|
[`digi-form-input--has-button-${this.hasButton}`]: true,
|
|
96
98
|
'digi-form-input--empty': !this.afValue &&
|
|
@@ -122,7 +124,6 @@ export class FormInput {
|
|
|
122
124
|
this.afOnTouched.emit(e);
|
|
123
125
|
this.touched = true;
|
|
124
126
|
}
|
|
125
|
-
this.isEditing = false;
|
|
126
127
|
this.afOnBlur.emit(e);
|
|
127
128
|
}
|
|
128
129
|
changeHandler(e) {
|
|
@@ -154,10 +155,10 @@ export class FormInput {
|
|
|
154
155
|
this.hasButton = !!this.hostElement.querySelector('[slot="button"]');
|
|
155
156
|
}
|
|
156
157
|
render() {
|
|
157
|
-
return (h("div", { key: '
|
|
158
|
+
return (h("div", { key: '6309c6b61d95e8a96c724c1493daac592aa79f81', class: Object.assign({ 'digi-form-input': true }, this.cssModifiers) }, h("digi-form-label", { key: '3ef5a2a1251e0e3c1c99a761482c4ec5ff634430', class: "digi-form-input__label", afFor: this.afId, afLabel: this.afLabel, afDescription: this.afLabelDescription, afRequired: this.afRequired, afAnnounceIfOptional: this.afAnnounceIfOptional, afRequiredText: this.afRequiredText, afAnnounceIfOptionalText: this.afAnnounceIfOptionalText }), h("div", { key: 'ebcb01079c78738339e5317cf9239f1a89e31921', class: "digi-form-input__input-wrapper" }, h("input", Object.assign({ key: '6ec3288227014624b27d7d10797fb7fde4c47f26', class: "digi-form-input__input", ref: (el) => (this._input = el), onBlur: (e) => this.blurHandler(e), onChange: (e) => this.changeHandler(e), onFocus: (e) => this.focusHandler(e), onFocusout: (e) => this.focusoutHandler(e), onKeyUp: (e) => this.keyupHandler(e), onInput: (e) => this.inputHandler(e), "aria-activedescendant": this.afAriaActivedescendant, "aria-describedby": this.afAriaDescribedby, "aria-labelledby": this.afAriaLabelledby, "aria-autocomplete": this.afAriaAutocomplete, "aria-invalid": this.afValidation === FormInputValidation.ERROR ? 'true' : 'false', "aria-controls": this.afAriaControls, autocomplete: this.afAutocomplete, autofocus: this.afAutofocus ? this.afAutofocus : null, maxLength: this.afMaxlength, minLength: this.afMinlength, max: this.afMax, min: this.afMin, step: this.afStep, list: this.afList, role: this.afRole, dirName: this.afDirname, required: this.afRequired, id: this.afId, name: this.afName, type: this.afType, value: this.afValue }, (this.afInputmode == FormInputMode.DEFAULT
|
|
158
159
|
? {}
|
|
159
|
-
: { inputmode: this.afInputmode }))), h("slot", { key: '
|
|
160
|
-
this.afValidation != FormInputValidation.NEUTRAL && (h("digi-form-validation-message", { key: '
|
|
160
|
+
: { inputmode: this.afInputmode }))), h("slot", { key: '0da5dfcd73e997a16bf3be18b4cbd3651cab7ebb', name: "button" })), h("div", { key: '4f24b7c3b070e5f8fbe4396d38865c1afa59709e', class: "digi-form-input__footer" }, h("div", { key: 'f0b6ee56051886efbecf82c136338c42130d80d8', class: "digi-form-input__validation", "aria-atomic": "true", role: "alert", id: `${this.afId}--validation-message` }, this.hasActiveValidationMessage &&
|
|
161
|
+
this.afValidation != FormInputValidation.NEUTRAL && (h("digi-form-validation-message", { key: '0f00497d0bf3c0da8a11f60fbdb302c11b41e8aa', class: "digi-form-input__validation-message", "af-variation": this.afValidation }, this.afValidationText))))));
|
|
161
162
|
}
|
|
162
163
|
static get is() { return "digi-form-input"; }
|
|
163
164
|
static get encapsulation() { return "scoped"; }
|
|
@@ -924,8 +925,7 @@ export class FormInput {
|
|
|
924
925
|
"hasActiveValidationMessage": {},
|
|
925
926
|
"hasButton": {},
|
|
926
927
|
"dirty": {},
|
|
927
|
-
"touched": {}
|
|
928
|
-
"isEditing": {}
|
|
928
|
+
"touched": {}
|
|
929
929
|
};
|
|
930
930
|
}
|
|
931
931
|
static get events() {
|