@getflip/swirl-components 0.12.0 → 0.14.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.json +648 -106
- package/dist/cjs/balancetext-7a0bdee3.js +763 -0
- package/dist/cjs/file-manager.cjs.entry.js +3 -1
- package/dist/cjs/{floating-ui.dom.esm-75453e4e.js → floating-ui.dom.esm-35943202.js} +0 -0
- package/dist/cjs/{index-72831c5f.js → index-83363034.js} +584 -274
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/swirl-action-list-item.cjs.entry.js +9 -4
- package/dist/cjs/swirl-action-list-section.cjs.entry.js +2 -1
- package/dist/cjs/swirl-action-list.cjs.entry.js +2 -2
- package/dist/cjs/swirl-app-layout_5.cjs.entry.js +41 -9
- package/dist/cjs/swirl-autocomplete.cjs.entry.js +22 -11
- package/dist/cjs/swirl-avatar-group.cjs.entry.js +2 -1
- package/dist/cjs/swirl-avatar.cjs.entry.js +13 -7
- package/dist/cjs/swirl-badge.cjs.entry.js +3 -1
- package/dist/cjs/swirl-banner.cjs.entry.js +9 -7
- package/dist/cjs/swirl-button-group.cjs.entry.js +4 -1
- package/dist/cjs/swirl-button.cjs.entry.js +20 -6
- package/dist/cjs/swirl-card.cjs.entry.js +5 -1
- package/dist/cjs/swirl-checkbox.cjs.entry.js +11 -3
- package/dist/cjs/swirl-chip.cjs.entry.js +7 -4
- package/dist/cjs/swirl-components.cjs.js +10 -3
- package/dist/cjs/swirl-console-layout.cjs.entry.js +14 -8
- package/dist/cjs/swirl-date-input.cjs.entry.js +23 -8
- package/dist/cjs/swirl-date-picker_2.cjs.entry.js +19 -82
- package/dist/cjs/swirl-description-list-item.cjs.entry.js +2 -1
- package/dist/cjs/swirl-description-list.cjs.entry.js +1 -1
- package/dist/cjs/swirl-dialog.cjs.entry.js +7 -3
- package/dist/cjs/swirl-file-uploader.cjs.entry.js +12 -5
- package/dist/cjs/swirl-file-viewer_7.cjs.entry.js +40 -16
- package/dist/cjs/swirl-form-control.cjs.entry.js +24 -2
- package/dist/cjs/swirl-form-group.cjs.entry.js +1 -1
- package/dist/cjs/swirl-heading.cjs.entry.js +19 -2
- package/dist/cjs/swirl-icon-add-photo.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-add_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-admin-panel-settings.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-back.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-downward_2.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-forward.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-left_3.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-arrow-right-small.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-attachment.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-block.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-cancel_4.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-chat-bubble.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-chats-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-chats-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-check-circle.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-check-small_4.cjs.entry.js +3452 -0
- package/dist/cjs/swirl-icon-check-strong.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-check.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-close-small.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-cloud-upload.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-column.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-comment.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-date-range.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-delete.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-description.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-emoji-mood.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-emoji-satisfied.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-error_3.cjs.entry.js +5 -3
- package/dist/cjs/swirl-icon-expand-more.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-file.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-filter.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-folder-shared.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-group-assign.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-groups-custom.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-groups-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-groups-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-groups.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-help.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-image.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-info.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-inventory.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-like.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-link.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-lock.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-logout.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-mail.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-manage-accounts.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-mention.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-menu-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-menu-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-message.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-more-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-more-vertikal.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-news-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-news-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-notifications-active.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-notifications-off.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-notifications.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-open-in-new.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-people-alt.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-person-off.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-person.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-phone.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-poll.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-print.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-recieved.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-search-strong.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-send.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-settings.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-sync.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-tasks-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-tasks-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-time-filled.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-time-outlined.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-user-assign.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-video-camera.cjs.entry.js +1 -1
- package/dist/cjs/swirl-icon-warning.cjs.entry.js +1 -1
- package/dist/cjs/swirl-lightbox.cjs.entry.js +10 -8
- package/dist/cjs/swirl-link.cjs.entry.js +4 -1
- package/dist/cjs/swirl-list.cjs.entry.js +1 -1
- package/dist/cjs/swirl-modal.cjs.entry.js +9 -6
- package/dist/cjs/swirl-option-list-section.cjs.entry.js +2 -1
- package/dist/cjs/swirl-pagination.cjs.entry.js +11 -8
- package/dist/cjs/swirl-pdf-reader.cjs.entry.js +16 -12
- package/dist/cjs/swirl-popover.cjs.entry.js +14 -9
- package/dist/cjs/swirl-progress-indicator.cjs.entry.js +2 -1
- package/dist/cjs/swirl-radio-group.cjs.entry.js +3 -1
- package/dist/cjs/swirl-radio.cjs.entry.js +9 -3
- package/dist/cjs/swirl-resource-list-file-item.cjs.entry.js +9 -4
- package/dist/cjs/swirl-search.cjs.entry.js +10 -4
- package/dist/cjs/swirl-select.cjs.entry.js +14 -4
- package/dist/cjs/swirl-separator.cjs.entry.js +1 -1
- package/dist/cjs/swirl-skeleton-box.cjs.entry.js +34 -0
- package/dist/cjs/swirl-skeleton-text.cjs.entry.js +26 -0
- package/dist/cjs/swirl-stack.cjs.entry.js +1 -1
- package/dist/cjs/swirl-switch.cjs.entry.js +8 -4
- package/dist/cjs/swirl-tab.cjs.entry.js +4 -1
- package/dist/cjs/swirl-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/swirl-table-column.cjs.entry.js +6 -1
- package/dist/cjs/swirl-table-row-group.cjs.entry.js +2 -1
- package/dist/cjs/swirl-table-row.cjs.entry.js +3 -1
- package/dist/cjs/swirl-table.cjs.entry.js +9 -3
- package/dist/cjs/swirl-tabs.cjs.entry.js +4 -1
- package/dist/cjs/swirl-tag.cjs.entry.js +5 -3
- package/dist/cjs/swirl-text-input.cjs.entry.js +34 -10
- package/dist/cjs/swirl-text.cjs.entry.js +19 -3
- package/dist/cjs/swirl-theme-provider.cjs.entry.js +2 -1
- package/dist/cjs/swirl-thumbnail.cjs.entry.js +3 -1
- package/dist/cjs/swirl-toast-provider.cjs.entry.js +3 -2
- package/dist/cjs/swirl-toast.cjs.entry.js +9 -4
- package/dist/cjs/swirl-tooltip.cjs.entry.js +7 -5
- package/dist/cjs/swirl-tree-navigation-item.cjs.entry.js +4 -1
- package/dist/cjs/swirl-video-thumbnail.cjs.entry.js +4 -1
- package/dist/cjs/swirl-visually-hidden.cjs.entry.js +1 -1
- package/dist/cjs/{utils-9c9476b4.js → utils-a07ee0db.js} +18 -0
- package/dist/cjs/wc-datepicker.cjs.entry.js +471 -0
- package/dist/collection/collection-manifest.json +13 -3
- package/dist/collection/components/swirl-action-list/swirl-action-list.js +12 -10
- package/dist/collection/components/swirl-action-list-item/swirl-action-list-item.js +146 -139
- package/dist/collection/components/swirl-action-list-section/swirl-action-list-section.js +36 -31
- package/dist/collection/components/swirl-app-layout/swirl-app-layout.js +425 -427
- package/dist/collection/components/swirl-autocomplete/swirl-autocomplete.js +310 -275
- package/dist/collection/components/swirl-avatar/swirl-avatar.js +238 -228
- package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.js +36 -30
- package/dist/collection/components/swirl-badge/swirl-badge.js +114 -106
- package/dist/collection/components/swirl-banner/swirl-banner.js +192 -187
- package/dist/collection/components/swirl-box/swirl-box.js +144 -134
- package/dist/collection/components/swirl-button/swirl-button.js +382 -360
- package/dist/collection/components/swirl-button-group/swirl-button-group.js +93 -85
- package/dist/collection/components/swirl-card/swirl-card.js +104 -96
- package/dist/collection/components/swirl-checkbox/swirl-checkbox.js +210 -204
- package/dist/collection/components/swirl-chip/swirl-chip.js +108 -102
- package/dist/collection/components/swirl-console-layout/swirl-console-layout.js +312 -322
- package/dist/collection/components/swirl-date-input/swirl-date-input.css +11 -0
- package/dist/collection/components/swirl-date-input/swirl-date-input.js +294 -223
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.css +168 -121
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.js +134 -199
- package/dist/collection/components/swirl-date-picker/swirl-date-picker.stories.js +0 -5
- package/dist/collection/components/swirl-description-list/swirl-description-list.js +12 -10
- package/dist/collection/components/swirl-description-list-item/swirl-description-list-item.js +36 -31
- package/dist/collection/components/swirl-dialog/swirl-dialog.js +182 -174
- package/dist/collection/components/swirl-empty-state/swirl-empty-state.js +53 -50
- package/dist/collection/components/swirl-file-uploader/swirl-file-uploader.js +249 -241
- package/dist/collection/components/swirl-file-viewer/swirl-file-viewer.js +214 -208
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-audio/swirl-file-viewer-audio.js +90 -79
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-csv/swirl-file-viewer-csv.js +87 -77
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-image/swirl-file-viewer-image.js +160 -148
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf.js +224 -214
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-text/swirl-file-viewer-text.js +87 -75
- package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-video/swirl-file-viewer-video.js +90 -79
- package/dist/collection/components/swirl-form-control/swirl-form-control.css +22 -0
- package/dist/collection/components/swirl-form-control/swirl-form-control.js +167 -122
- package/dist/collection/components/swirl-form-group/swirl-form-group.js +38 -33
- package/dist/collection/components/swirl-heading/swirl-heading.js +154 -102
- package/dist/collection/components/swirl-heading/swirl-heading.stories.js +6 -1
- package/dist/collection/components/swirl-icon/icons/swirl-icon-add-photo.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-add.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-admin-panel-settings.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-back.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-downward.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-forward.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-left.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-right-small.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-right.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-upward.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-attachment.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-block.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-cancel.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-chat-bubble.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-chats-filled.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-chats-outlined.js +38 -44
- package/dist/collection/components/swirl-icon/icons/swirl-icon-check-circle.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-check-small.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-check-strong.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-check.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-chevron-left.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-chevron-right.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-close-small.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-close.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-cloud-upload.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-column.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-comment.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-copy.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-date-range.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-delete.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-description.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-download.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-drag-handle.js +52 -0
- package/dist/collection/components/swirl-icon/icons/swirl-icon-edit.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-emoji-mood.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-emoji-satisfied.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-error.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-expand-less.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-expand-more.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-file.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-filter.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-folder-shared.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-fullscreen-exit.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-fullscreen.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-group-assign.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-groups-custom.js +38 -53
- package/dist/collection/components/swirl-icon/icons/swirl-icon-groups-filled.js +38 -53
- package/dist/collection/components/swirl-icon/icons/swirl-icon-groups-outlined.js +38 -53
- package/dist/collection/components/swirl-icon/icons/swirl-icon-groups.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-help.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-image.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-info.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-inventory.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-like.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-link.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-lock.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-logout.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-mail.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-manage-accounts.js +38 -44
- package/dist/collection/components/swirl-icon/icons/swirl-icon-mention.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-menu-filled.js +38 -47
- package/dist/collection/components/swirl-icon/icons/swirl-icon-menu-outlined.js +38 -47
- package/dist/collection/components/swirl-icon/icons/swirl-icon-menu.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-message.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-more-horizontal.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-more-vertikal.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-news-filled.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-news-outlined.js +38 -44
- package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications-active.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications-off.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-open-in-new.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-people-alt.js +38 -47
- package/dist/collection/components/swirl-icon/icons/swirl-icon-person-off.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-person.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-phone.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-poll.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-print.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-recieved.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-remove.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-search-strong.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-search.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-send.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-settings.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-sync.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-tasks-filled.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-tasks-outlined.js +38 -41
- package/dist/collection/components/swirl-icon/icons/swirl-icon-time-filled.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-time-outlined.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-today.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-user-assign.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-video-camera.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-visibility-off.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-visibility.js +38 -38
- package/dist/collection/components/swirl-icon/icons/swirl-icon-warning.js +38 -38
- package/dist/collection/components/swirl-inline-error/swirl-inline-error.js +56 -52
- package/dist/collection/components/swirl-lightbox/swirl-lightbox.js +170 -178
- package/dist/collection/components/swirl-link/swirl-link.js +74 -63
- package/dist/collection/components/swirl-list/swirl-list.js +12 -10
- package/dist/collection/components/swirl-modal/swirl-modal.js +205 -200
- package/dist/collection/components/swirl-option-list/swirl-option-list.js +364 -126
- package/dist/collection/components/swirl-option-list/swirl-option-list.stories.js +6 -8
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.css +64 -1
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.js +234 -123
- package/dist/collection/components/swirl-option-list-item/swirl-option-list-item.stories.js +8 -0
- package/dist/collection/components/swirl-option-list-section/swirl-option-list-section.js +36 -31
- package/dist/collection/components/swirl-pagination/swirl-pagination.js +218 -223
- package/dist/collection/components/swirl-pdf-reader/swirl-pdf-reader.js +233 -245
- package/dist/collection/components/swirl-popover/swirl-popover.js +263 -249
- package/dist/collection/components/swirl-progress-indicator/swirl-progress-indicator.js +93 -89
- package/dist/collection/components/swirl-radio/swirl-radio.js +183 -176
- package/dist/collection/components/swirl-radio-group/swirl-radio-group.js +70 -60
- package/dist/collection/components/swirl-resource-list/swirl-resource-list.js +34 -29
- package/dist/collection/components/swirl-resource-list-file-item/swirl-resource-list-file-item.js +158 -156
- package/dist/collection/components/swirl-resource-list-item/swirl-resource-list-item.js +240 -232
- package/dist/collection/components/swirl-search/swirl-search.js +216 -205
- package/dist/collection/components/swirl-select/swirl-select.css +4 -0
- package/dist/collection/components/swirl-select/swirl-select.js +186 -153
- package/dist/collection/components/swirl-separator/swirl-separator.js +12 -9
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.css +54 -0
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.js +130 -0
- package/dist/collection/components/swirl-skeleton-box/swirl-skeleton-box.stories.js +20 -0
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.css +173 -0
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.js +89 -0
- package/dist/collection/components/swirl-skeleton-text/swirl-skeleton-text.stories.js +19 -0
- package/dist/collection/components/swirl-spinner/swirl-spinner.js +55 -53
- package/dist/collection/components/swirl-stack/swirl-stack.js +135 -127
- package/dist/collection/components/swirl-switch/swirl-switch.js +169 -160
- package/dist/collection/components/swirl-tab/swirl-tab.js +70 -61
- package/dist/collection/components/swirl-table/swirl-table.js +90 -88
- package/dist/collection/components/swirl-table-cell/swirl-table-cell.js +12 -9
- package/dist/collection/components/swirl-table-column/swirl-table-column.js +123 -117
- package/dist/collection/components/swirl-table-row/swirl-table-row.js +53 -44
- package/dist/collection/components/swirl-table-row-group/swirl-table-row-group.js +36 -30
- package/dist/collection/components/swirl-tabs/swirl-tabs.js +112 -101
- package/dist/collection/components/swirl-tag/swirl-tag.js +111 -104
- package/dist/collection/components/swirl-text/swirl-text.js +197 -146
- package/dist/collection/components/swirl-text/swirl-text.stories.js +5 -0
- package/dist/collection/components/swirl-text-input/swirl-text-input.css +21 -0
- package/dist/collection/components/swirl-text-input/swirl-text-input.js +594 -557
- package/dist/collection/components/swirl-theme-provider/swirl-theme-provider.js +141 -122
- package/dist/collection/components/swirl-thumbnail/swirl-thumbnail.js +93 -85
- package/dist/collection/components/swirl-toast/swirl-toast.js +165 -155
- package/dist/collection/components/swirl-toast-provider/swirl-toast-provider.js +112 -104
- package/dist/collection/components/swirl-tooltip/swirl-tooltip.js +122 -113
- package/dist/collection/components/swirl-tree-navigation-item/swirl-tree-navigation-item.js +68 -61
- package/dist/collection/components/swirl-video-thumbnail/swirl-video-thumbnail.js +85 -83
- package/dist/collection/components/swirl-visually-hidden/swirl-visually-hidden.js +12 -9
- package/dist/collection/prototypes/file-manager/file-manager.js +12 -22
- package/dist/collection/utils.js +17 -0
- package/dist/components/balancetext.js +761 -0
- package/dist/components/file-manager.js +36 -29
- package/dist/components/index.d.ts +9 -172
- package/dist/components/index.js +1 -170
- package/dist/components/index2.js +35 -2
- package/dist/components/swirl-action-list-item.js +7 -3
- package/dist/components/swirl-action-list-section.js +1 -1
- package/dist/components/swirl-action-list.js +0 -1
- package/dist/components/swirl-app-layout2.js +20 -6
- package/dist/components/swirl-autocomplete.js +33 -16
- package/dist/components/swirl-avatar-group.js +1 -1
- package/dist/components/swirl-avatar.js +12 -7
- package/dist/components/swirl-badge.js +2 -1
- package/dist/components/swirl-banner.js +7 -6
- package/dist/components/swirl-box2.js +4 -1
- package/dist/components/swirl-button-group2.js +3 -1
- package/dist/components/swirl-button2.js +18 -5
- package/dist/components/swirl-card.js +4 -1
- package/dist/components/swirl-checkbox.js +10 -3
- package/dist/components/swirl-chip.js +5 -3
- package/dist/components/swirl-console-layout.js +12 -7
- package/dist/components/swirl-date-input.js +38 -16
- package/dist/components/swirl-date-picker2.js +26 -86
- package/dist/components/swirl-description-list-item.js +1 -1
- package/dist/components/swirl-description-list.js +0 -1
- package/dist/components/swirl-dialog.js +6 -3
- package/dist/components/swirl-empty-state2.js +2 -1
- package/dist/components/swirl-file-uploader.js +11 -5
- package/dist/components/swirl-file-viewer-audio2.js +3 -1
- package/dist/components/swirl-file-viewer-csv2.js +5 -2
- package/dist/components/swirl-file-viewer-image2.js +6 -5
- package/dist/components/swirl-file-viewer-pdf2.js +12 -9
- package/dist/components/swirl-file-viewer-text2.js +4 -1
- package/dist/components/swirl-file-viewer-video2.js +3 -1
- package/dist/components/swirl-file-viewer2.js +8 -5
- package/dist/components/swirl-form-control.js +24 -2
- package/dist/components/swirl-form-group.js +0 -1
- package/dist/components/swirl-heading2.js +20 -3
- package/dist/components/swirl-icon-add-photo.js +0 -1
- package/dist/components/swirl-icon-add2.js +0 -1
- package/dist/components/swirl-icon-admin-panel-settings.js +0 -1
- package/dist/components/swirl-icon-arrow-back.js +0 -1
- package/dist/components/swirl-icon-arrow-downward2.js +0 -1
- package/dist/components/swirl-icon-arrow-forward.js +0 -1
- package/dist/components/swirl-icon-arrow-left2.js +0 -1
- package/dist/components/swirl-icon-arrow-right-small.js +0 -1
- package/dist/components/swirl-icon-arrow-right2.js +0 -1
- package/dist/components/swirl-icon-arrow-upward2.js +0 -1
- package/dist/components/swirl-icon-attachment.js +0 -1
- package/dist/components/swirl-icon-block.js +0 -1
- package/dist/components/swirl-icon-cancel2.js +0 -1
- package/dist/components/swirl-icon-chat-bubble.js +0 -1
- package/dist/components/swirl-icon-chats-filled.js +0 -1
- package/dist/components/swirl-icon-chats-outlined.js +0 -1
- package/dist/components/swirl-icon-check-circle.js +0 -1
- package/dist/components/swirl-icon-check-small2.js +0 -1
- package/dist/components/swirl-icon-check-strong2.js +0 -1
- package/dist/components/swirl-icon-check.js +0 -1
- package/dist/components/swirl-icon-chevron-left.js +0 -1
- package/dist/components/swirl-icon-chevron-right.js +0 -1
- package/dist/components/swirl-icon-close-small.js +0 -1
- package/dist/components/swirl-icon-close2.js +0 -1
- package/dist/components/swirl-icon-cloud-upload2.js +0 -1
- package/dist/components/swirl-icon-column.js +0 -1
- package/dist/components/swirl-icon-comment.js +0 -1
- package/dist/components/swirl-icon-copy.js +0 -1
- package/dist/components/swirl-icon-date-range.js +0 -1
- package/dist/components/swirl-icon-delete.js +0 -1
- package/dist/components/swirl-icon-description.js +0 -1
- package/dist/components/swirl-icon-download2.js +0 -1
- package/dist/components/swirl-icon-drag-handle.d.ts +11 -0
- package/dist/components/swirl-icon-drag-handle.js +6 -0
- package/dist/components/swirl-icon-drag-handle2.js +36 -0
- package/dist/components/swirl-icon-edit.js +0 -1
- package/dist/components/swirl-icon-emoji-mood.js +0 -1
- package/dist/components/swirl-icon-emoji-satisfied.js +0 -1
- package/dist/components/swirl-icon-error2.js +0 -1
- package/dist/components/swirl-icon-expand-less2.js +0 -1
- package/dist/components/swirl-icon-expand-more2.js +0 -1
- package/dist/components/swirl-icon-file.js +0 -1
- package/dist/components/swirl-icon-filter.js +0 -1
- package/dist/components/swirl-icon-folder-shared.js +0 -1
- package/dist/components/swirl-icon-fullscreen-exit2.js +0 -1
- package/dist/components/swirl-icon-fullscreen2.js +0 -1
- package/dist/components/swirl-icon-group-assign.js +0 -1
- package/dist/components/swirl-icon-groups-custom.js +0 -1
- package/dist/components/swirl-icon-groups-filled.js +0 -1
- package/dist/components/swirl-icon-groups-outlined.js +0 -1
- package/dist/components/swirl-icon-groups.js +0 -1
- package/dist/components/swirl-icon-help.js +0 -1
- package/dist/components/swirl-icon-image.js +0 -1
- package/dist/components/swirl-icon-info.js +0 -1
- package/dist/components/swirl-icon-inventory.js +0 -1
- package/dist/components/swirl-icon-like.js +0 -1
- package/dist/components/swirl-icon-link.js +0 -1
- package/dist/components/swirl-icon-lock.js +0 -1
- package/dist/components/swirl-icon-logout.js +0 -1
- package/dist/components/swirl-icon-mail.js +0 -1
- package/dist/components/swirl-icon-manage-accounts.js +0 -1
- package/dist/components/swirl-icon-mention.js +0 -1
- package/dist/components/swirl-icon-menu-filled.js +0 -1
- package/dist/components/swirl-icon-menu-outlined.js +0 -1
- package/dist/components/swirl-icon-menu.js +0 -1
- package/dist/components/swirl-icon-message.js +0 -1
- package/dist/components/swirl-icon-more-horizontal.js +0 -1
- package/dist/components/swirl-icon-more-vertikal.js +0 -1
- package/dist/components/swirl-icon-news-filled.js +0 -1
- package/dist/components/swirl-icon-news-outlined.js +0 -1
- package/dist/components/swirl-icon-notifications-active.js +0 -1
- package/dist/components/swirl-icon-notifications-off.js +0 -1
- package/dist/components/swirl-icon-notifications.js +0 -1
- package/dist/components/swirl-icon-open-in-new.js +0 -1
- package/dist/components/swirl-icon-people-alt.js +0 -1
- package/dist/components/swirl-icon-person-off.js +0 -1
- package/dist/components/swirl-icon-person2.js +0 -1
- package/dist/components/swirl-icon-phone.js +0 -1
- package/dist/components/swirl-icon-poll.js +0 -1
- package/dist/components/swirl-icon-print.js +0 -1
- package/dist/components/swirl-icon-recieved.js +0 -1
- package/dist/components/swirl-icon-remove2.js +0 -1
- package/dist/components/swirl-icon-search-strong.js +0 -1
- package/dist/components/swirl-icon-search2.js +0 -1
- package/dist/components/swirl-icon-send.js +0 -1
- package/dist/components/swirl-icon-settings.js +0 -1
- package/dist/components/swirl-icon-sync.js +0 -1
- package/dist/components/swirl-icon-tasks-filled.js +0 -1
- package/dist/components/swirl-icon-tasks-outlined.js +0 -1
- package/dist/components/swirl-icon-time-filled.js +0 -1
- package/dist/components/swirl-icon-time-outlined.js +0 -1
- package/dist/components/swirl-icon-today2.js +0 -1
- package/dist/components/swirl-icon-user-assign.js +0 -1
- package/dist/components/swirl-icon-video-camera.js +0 -1
- package/dist/components/swirl-icon-visibility-off2.js +0 -1
- package/dist/components/swirl-icon-visibility2.js +0 -1
- package/dist/components/swirl-icon-warning.js +0 -1
- package/dist/components/swirl-inline-error2.js +2 -2
- package/dist/components/swirl-lightbox.js +8 -7
- package/dist/components/swirl-link.js +3 -1
- package/dist/components/swirl-list.js +0 -1
- package/dist/components/swirl-modal.js +8 -6
- package/dist/components/swirl-option-list-item2.js +39 -13
- package/dist/components/swirl-option-list-section.js +1 -1
- package/dist/components/swirl-option-list2.js +3184 -17
- package/dist/components/swirl-pagination.js +10 -8
- package/dist/components/swirl-pdf-reader.js +14 -11
- package/dist/components/swirl-popover2.js +11 -7
- package/dist/components/swirl-progress-indicator.js +1 -1
- package/dist/components/swirl-radio-group.js +2 -1
- package/dist/components/swirl-radio.js +8 -3
- package/dist/components/swirl-resource-list-file-item.js +7 -3
- package/dist/components/swirl-resource-list-item2.js +12 -3
- package/dist/components/swirl-resource-list2.js +1 -1
- package/dist/components/swirl-search.js +8 -3
- package/dist/components/swirl-select.js +28 -12
- package/dist/components/swirl-separator.js +0 -1
- package/dist/components/swirl-skeleton-box.d.ts +11 -0
- package/dist/components/swirl-skeleton-box.js +53 -0
- package/dist/components/swirl-skeleton-text.d.ts +11 -0
- package/dist/components/swirl-skeleton-text.js +43 -0
- package/dist/components/swirl-spinner2.js +1 -1
- package/dist/components/swirl-stack2.js +0 -1
- package/dist/components/swirl-switch.js +7 -4
- package/dist/components/swirl-tab.js +3 -1
- package/dist/components/swirl-table-cell.js +0 -1
- package/dist/components/swirl-table-column.js +5 -1
- package/dist/components/swirl-table-row-group.js +1 -1
- package/dist/components/swirl-table-row.js +2 -1
- package/dist/components/swirl-table.js +7 -2
- package/dist/components/swirl-tabs.js +3 -1
- package/dist/components/swirl-tag.js +4 -3
- package/dist/components/swirl-text-input2.js +33 -9
- package/dist/components/swirl-text2.js +21 -6
- package/dist/components/swirl-theme-provider.js +1 -1
- package/dist/components/swirl-thumbnail.js +2 -1
- package/dist/components/swirl-toast-provider.js +2 -2
- package/dist/components/swirl-toast2.js +7 -3
- package/dist/components/swirl-tooltip.js +5 -4
- package/dist/components/swirl-tree-navigation-item.js +3 -1
- package/dist/components/swirl-video-thumbnail.js +3 -1
- package/dist/components/swirl-visually-hidden2.js +0 -1
- package/dist/components/utils.js +18 -1
- package/dist/components/wc-datepicker.js +6 -0
- package/dist/components/wc-datepicker2.js +504 -0
- package/dist/{components/_commonjsHelpers.js → esm/_commonjsHelpers-10467d11.js} +1 -1
- package/dist/esm/balancetext-31f1ec68.js +761 -0
- package/dist/esm/file-manager.entry.js +3 -1
- package/dist/esm/{floating-ui.dom.esm-1a4e8b8a.js → floating-ui.dom.esm-b9f28f6d.js} +0 -0
- package/dist/esm/{index-5a3b2828.js → index-0ff2c8e0.js} +584 -275
- package/dist/esm/{index-c3028f7d.js → index-47862d62.js} +1 -1
- package/dist/esm/loader.js +4 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/swirl-action-list-item.entry.js +11 -6
- package/dist/esm/swirl-action-list-section.entry.js +2 -1
- package/dist/esm/swirl-action-list.entry.js +2 -2
- package/dist/esm/swirl-app-layout_5.entry.js +43 -11
- package/dist/esm/swirl-autocomplete.entry.js +24 -13
- package/dist/esm/swirl-avatar-group.entry.js +4 -3
- package/dist/esm/swirl-avatar.entry.js +15 -9
- package/dist/esm/swirl-badge.entry.js +5 -3
- package/dist/esm/swirl-banner.entry.js +11 -9
- package/dist/esm/swirl-button-group.entry.js +6 -3
- package/dist/esm/swirl-button.entry.js +22 -8
- package/dist/esm/swirl-card.entry.js +7 -3
- package/dist/esm/swirl-checkbox.entry.js +13 -5
- package/dist/esm/swirl-chip.entry.js +9 -6
- package/dist/esm/swirl-components.js +7 -3
- package/dist/esm/swirl-console-layout.entry.js +16 -10
- package/dist/esm/swirl-date-input.entry.js +24 -9
- package/dist/esm/swirl-date-picker_2.entry.js +20 -83
- package/dist/esm/swirl-description-list-item.entry.js +2 -1
- package/dist/esm/swirl-description-list.entry.js +1 -1
- package/dist/esm/swirl-dialog.entry.js +9 -5
- package/dist/esm/swirl-file-uploader.entry.js +14 -7
- package/dist/esm/swirl-file-viewer_7.entry.js +41 -17
- package/dist/esm/swirl-form-control.entry.js +26 -4
- package/dist/esm/swirl-form-group.entry.js +3 -3
- package/dist/esm/swirl-heading.entry.js +21 -4
- package/dist/esm/swirl-icon-add-photo.entry.js +3 -3
- package/dist/esm/swirl-icon-add_4.entry.js +3 -3
- package/dist/esm/swirl-icon-admin-panel-settings.entry.js +3 -3
- package/dist/esm/swirl-icon-arrow-back.entry.js +3 -3
- package/dist/esm/swirl-icon-arrow-downward_2.entry.js +3 -3
- package/dist/esm/swirl-icon-arrow-forward.entry.js +3 -3
- package/dist/esm/swirl-icon-arrow-left_3.entry.js +3 -3
- package/dist/esm/swirl-icon-arrow-right-small.entry.js +3 -3
- package/dist/esm/swirl-icon-attachment.entry.js +3 -3
- package/dist/esm/swirl-icon-block.entry.js +3 -3
- package/dist/esm/swirl-icon-cancel_4.entry.js +3 -3
- package/dist/esm/swirl-icon-chat-bubble.entry.js +3 -3
- package/dist/esm/swirl-icon-chats-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-chats-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-check-circle.entry.js +3 -3
- package/dist/esm/swirl-icon-check-small_4.entry.js +3445 -0
- package/dist/esm/swirl-icon-check-strong.entry.js +3 -3
- package/dist/esm/swirl-icon-check.entry.js +3 -3
- package/dist/esm/swirl-icon-chevron-left.entry.js +3 -3
- package/dist/esm/swirl-icon-chevron-right.entry.js +3 -3
- package/dist/esm/swirl-icon-close-small.entry.js +3 -3
- package/dist/esm/swirl-icon-close.entry.js +3 -3
- package/dist/esm/swirl-icon-cloud-upload.entry.js +3 -3
- package/dist/esm/swirl-icon-column.entry.js +3 -3
- package/dist/esm/swirl-icon-comment.entry.js +3 -3
- package/dist/esm/swirl-icon-copy.entry.js +3 -3
- package/dist/esm/swirl-icon-date-range.entry.js +3 -3
- package/dist/esm/swirl-icon-delete.entry.js +3 -3
- package/dist/esm/swirl-icon-description.entry.js +3 -3
- package/dist/esm/swirl-icon-edit.entry.js +3 -3
- package/dist/esm/swirl-icon-emoji-mood.entry.js +3 -3
- package/dist/esm/swirl-icon-emoji-satisfied.entry.js +3 -3
- package/dist/esm/swirl-icon-error_3.entry.js +7 -5
- package/dist/esm/swirl-icon-expand-more.entry.js +3 -3
- package/dist/esm/swirl-icon-file.entry.js +3 -3
- package/dist/esm/swirl-icon-filter.entry.js +3 -3
- package/dist/esm/swirl-icon-folder-shared.entry.js +3 -3
- package/dist/esm/swirl-icon-group-assign.entry.js +3 -3
- package/dist/esm/swirl-icon-groups-custom.entry.js +3 -3
- package/dist/esm/swirl-icon-groups-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-groups-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-groups.entry.js +3 -3
- package/dist/esm/swirl-icon-help.entry.js +3 -3
- package/dist/esm/swirl-icon-image.entry.js +3 -3
- package/dist/esm/swirl-icon-info.entry.js +3 -3
- package/dist/esm/swirl-icon-inventory.entry.js +3 -3
- package/dist/esm/swirl-icon-like.entry.js +3 -3
- package/dist/esm/swirl-icon-link.entry.js +3 -3
- package/dist/esm/swirl-icon-lock.entry.js +3 -3
- package/dist/esm/swirl-icon-logout.entry.js +3 -3
- package/dist/esm/swirl-icon-mail.entry.js +3 -3
- package/dist/esm/swirl-icon-manage-accounts.entry.js +3 -3
- package/dist/esm/swirl-icon-mention.entry.js +3 -3
- package/dist/esm/swirl-icon-menu-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-menu-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-menu.entry.js +3 -3
- package/dist/esm/swirl-icon-message.entry.js +3 -3
- package/dist/esm/swirl-icon-more-horizontal.entry.js +3 -3
- package/dist/esm/swirl-icon-more-vertikal.entry.js +3 -3
- package/dist/esm/swirl-icon-news-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-news-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-notifications-active.entry.js +3 -3
- package/dist/esm/swirl-icon-notifications-off.entry.js +3 -3
- package/dist/esm/swirl-icon-notifications.entry.js +3 -3
- package/dist/esm/swirl-icon-open-in-new.entry.js +3 -3
- package/dist/esm/swirl-icon-people-alt.entry.js +3 -3
- package/dist/esm/swirl-icon-person-off.entry.js +3 -3
- package/dist/esm/swirl-icon-person.entry.js +3 -3
- package/dist/esm/swirl-icon-phone.entry.js +3 -3
- package/dist/esm/swirl-icon-poll.entry.js +3 -3
- package/dist/esm/swirl-icon-print.entry.js +3 -3
- package/dist/esm/swirl-icon-recieved.entry.js +3 -3
- package/dist/esm/swirl-icon-search-strong.entry.js +3 -3
- package/dist/esm/swirl-icon-search.entry.js +3 -3
- package/dist/esm/swirl-icon-send.entry.js +3 -3
- package/dist/esm/swirl-icon-settings.entry.js +3 -3
- package/dist/esm/swirl-icon-sync.entry.js +3 -3
- package/dist/esm/swirl-icon-tasks-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-tasks-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-time-filled.entry.js +3 -3
- package/dist/esm/swirl-icon-time-outlined.entry.js +3 -3
- package/dist/esm/swirl-icon-user-assign.entry.js +3 -3
- package/dist/esm/swirl-icon-video-camera.entry.js +3 -3
- package/dist/esm/swirl-icon-warning.entry.js +3 -3
- package/dist/esm/swirl-lightbox.entry.js +12 -10
- package/dist/esm/swirl-link.entry.js +4 -1
- package/dist/esm/swirl-list.entry.js +1 -1
- package/dist/esm/swirl-modal.entry.js +11 -8
- package/dist/esm/swirl-option-list-section.entry.js +2 -1
- package/dist/esm/swirl-pagination.entry.js +13 -10
- package/dist/esm/swirl-pdf-reader.entry.js +18 -14
- package/dist/esm/swirl-popover.entry.js +16 -11
- package/dist/esm/swirl-progress-indicator.entry.js +4 -3
- package/dist/esm/swirl-radio-group.entry.js +3 -1
- package/dist/esm/swirl-radio.entry.js +11 -5
- package/dist/esm/swirl-resource-list-file-item.entry.js +11 -6
- package/dist/esm/swirl-search.entry.js +12 -6
- package/dist/esm/swirl-select.entry.js +16 -6
- package/dist/esm/swirl-separator.entry.js +1 -1
- package/dist/esm/swirl-skeleton-box.entry.js +30 -0
- package/dist/esm/swirl-skeleton-text.entry.js +22 -0
- package/dist/esm/swirl-stack.entry.js +3 -3
- package/dist/esm/swirl-switch.entry.js +10 -6
- package/dist/esm/swirl-tab.entry.js +6 -3
- package/dist/esm/swirl-table-cell.entry.js +1 -1
- package/dist/esm/swirl-table-column.entry.js +6 -1
- package/dist/esm/swirl-table-row-group.entry.js +2 -1
- package/dist/esm/swirl-table-row.entry.js +5 -3
- package/dist/esm/swirl-table.entry.js +9 -3
- package/dist/esm/swirl-tabs.entry.js +6 -3
- package/dist/esm/swirl-tag.entry.js +7 -5
- package/dist/esm/swirl-text-input.entry.js +36 -12
- package/dist/esm/swirl-text.entry.js +21 -5
- package/dist/esm/swirl-theme-provider.entry.js +2 -1
- package/dist/esm/swirl-thumbnail.entry.js +5 -3
- package/dist/esm/swirl-toast-provider.entry.js +3 -2
- package/dist/esm/swirl-toast.entry.js +11 -6
- package/dist/esm/swirl-tooltip.entry.js +7 -5
- package/dist/esm/swirl-tree-navigation-item.entry.js +6 -3
- package/dist/esm/swirl-video-thumbnail.entry.js +4 -1
- package/dist/esm/swirl-visually-hidden.entry.js +1 -1
- package/dist/esm/{utils-7efaa1c6.js → utils-33d31b58.js} +18 -1
- package/dist/esm/wc-datepicker.entry.js +467 -0
- package/dist/swirl-components/{p-435c746a.entry.js → p-00978344.entry.js} +1 -1
- package/dist/swirl-components/{p-96ac53d5.entry.js → p-00ce0096.entry.js} +1 -1
- package/dist/swirl-components/{p-ffe7373d.entry.js → p-026a6c8f.entry.js} +1 -1
- package/dist/swirl-components/{p-6e4135eb.entry.js → p-027680e2.entry.js} +1 -1
- package/dist/swirl-components/{p-98827f45.entry.js → p-0319e9d6.entry.js} +1 -1
- package/dist/swirl-components/p-05c15d47.js +2 -0
- package/dist/swirl-components/{p-90559cbf.entry.js → p-090aa1c5.entry.js} +1 -1
- package/dist/swirl-components/p-0dcc2cbc.entry.js +1 -0
- package/dist/swirl-components/{p-cd8446b2.entry.js → p-0e59a667.entry.js} +1 -1
- package/dist/swirl-components/{p-4935dc49.entry.js → p-0f3b28e9.entry.js} +1 -1
- package/dist/swirl-components/p-107e3594.entry.js +1 -0
- package/dist/swirl-components/{p-0924336d.entry.js → p-121b8ab9.entry.js} +1 -1
- package/dist/swirl-components/{p-0dd24ec2.entry.js → p-12633c5e.entry.js} +1 -1
- package/dist/swirl-components/p-13376409.entry.js +1 -0
- package/dist/swirl-components/{p-e419a9cb.entry.js → p-142ceff7.entry.js} +1 -1
- package/dist/swirl-components/p-148b7b70.entry.js +1 -0
- package/dist/swirl-components/p-1614639e.entry.js +1 -0
- package/dist/swirl-components/{p-86bd3473.js → p-16e63a98.js} +1 -1
- package/dist/swirl-components/p-19caf328.entry.js +1 -0
- package/dist/swirl-components/p-1a6ca33d.entry.js +7 -0
- package/dist/swirl-components/p-1aa44f84.entry.js +1 -0
- package/dist/swirl-components/p-1b7876da.entry.js +1 -0
- package/dist/swirl-components/{p-c215db6a.entry.js → p-1c12a405.entry.js} +1 -1
- package/dist/swirl-components/p-1e7a0c4a.entry.js +1 -0
- package/dist/swirl-components/{p-692e4e5c.entry.js → p-2056c612.entry.js} +1 -1
- package/dist/swirl-components/p-2057f4dc.entry.js +1 -0
- package/dist/swirl-components/{p-a2a3e866.entry.js → p-217b2507.entry.js} +1 -1
- package/dist/swirl-components/p-21ff58e8.entry.js +1 -0
- package/dist/swirl-components/{p-b27dfc38.entry.js → p-27566da1.entry.js} +1 -1
- package/dist/swirl-components/{p-8cabe3e0.entry.js → p-2aede2ed.entry.js} +1 -1
- package/dist/swirl-components/{p-027eabd9.entry.js → p-2c78c2d5.entry.js} +1 -1
- package/dist/swirl-components/p-2c941975.entry.js +1 -0
- package/dist/swirl-components/p-2e733839.entry.js +1 -0
- package/dist/swirl-components/{p-5028921b.entry.js → p-2ea576e0.entry.js} +1 -1
- package/dist/swirl-components/{p-15b398b3.entry.js → p-2edc08f0.entry.js} +1 -1
- package/dist/swirl-components/p-33e4b66d.entry.js +8 -0
- package/dist/swirl-components/p-34e4e242.entry.js +1 -0
- package/dist/swirl-components/{p-f8b0f92a.entry.js → p-354e974d.entry.js} +1 -1
- package/dist/swirl-components/{p-ab7a08a6.entry.js → p-3a8af86e.entry.js} +1 -1
- package/dist/swirl-components/{p-9f45803b.entry.js → p-3e0f6d31.entry.js} +1 -1
- package/dist/swirl-components/{p-f09a3f4e.entry.js → p-429005ee.entry.js} +1 -1
- package/dist/swirl-components/p-4464e2c4.entry.js +1 -0
- package/dist/swirl-components/{p-e3293a79.entry.js → p-447ef6eb.entry.js} +1 -1
- package/dist/swirl-components/{p-409900a9.entry.js → p-44a74d62.entry.js} +1 -1
- package/dist/swirl-components/p-4a847ce0.entry.js +1 -0
- package/dist/swirl-components/p-4ef99de5.js +1 -0
- package/dist/swirl-components/p-50430bab.entry.js +1 -0
- package/dist/swirl-components/{p-70805149.entry.js → p-50ae0963.entry.js} +1 -1
- package/dist/swirl-components/{p-5d0acbf4.entry.js → p-5166e355.entry.js} +1 -1
- package/dist/swirl-components/{p-968adc69.entry.js → p-537b28c8.entry.js} +1 -1
- package/dist/swirl-components/{p-e8618da9.entry.js → p-541c943f.entry.js} +1 -1
- package/dist/swirl-components/{p-8f3d1f73.entry.js → p-5540b8cf.entry.js} +1 -1
- package/dist/swirl-components/p-56499a10.entry.js +1 -0
- package/dist/swirl-components/{p-4307ddfe.entry.js → p-58f83fcc.entry.js} +1 -1
- package/dist/swirl-components/p-619061ef.entry.js +1 -0
- package/dist/swirl-components/{p-294983c3.entry.js → p-61ad8c1a.entry.js} +1 -1
- package/dist/swirl-components/p-61b7f41b.entry.js +1 -0
- package/dist/swirl-components/{p-17e7ea80.entry.js → p-62f0b76b.entry.js} +1 -1
- package/dist/swirl-components/{p-5f461f84.entry.js → p-64cdef0c.entry.js} +1 -1
- package/dist/swirl-components/p-6526bf3e.js +1 -0
- package/dist/swirl-components/{p-6c620f94.entry.js → p-668539d3.entry.js} +1 -1
- package/dist/swirl-components/p-67e86a11.entry.js +1 -0
- package/dist/swirl-components/{p-e7c325b7.entry.js → p-730760c1.entry.js} +1 -1
- package/dist/swirl-components/{p-1bff5707.entry.js → p-79486690.entry.js} +1 -1
- package/dist/swirl-components/{p-474f4c76.entry.js → p-7a6f1bf2.entry.js} +1 -1
- package/dist/swirl-components/p-7b0adf16.js +7 -0
- package/dist/swirl-components/{p-582364ee.entry.js → p-7c32e01c.entry.js} +1 -1
- package/dist/swirl-components/{p-d69a0a99.entry.js → p-7cad01ab.entry.js} +1 -1
- package/dist/swirl-components/{p-8d998974.entry.js → p-7de7d7c4.entry.js} +1 -1
- package/dist/swirl-components/p-7f5648ca.entry.js +1 -0
- package/dist/swirl-components/{p-eac6d46d.entry.js → p-80c7ab11.entry.js} +1 -1
- package/dist/swirl-components/{p-2bcb979a.entry.js → p-81b80dd4.entry.js} +1 -1
- package/dist/swirl-components/p-8317b681.entry.js +1 -0
- package/dist/swirl-components/{p-c6b1fe02.entry.js → p-8342ee34.entry.js} +1 -1
- package/dist/swirl-components/{p-1391e221.entry.js → p-8667eb55.entry.js} +1 -1
- package/dist/swirl-components/p-87ce453b.entry.js +49 -0
- package/dist/swirl-components/{p-0a5d1a8f.entry.js → p-87d2ee0e.entry.js} +1 -1
- package/dist/swirl-components/p-8ea0a318.entry.js +1 -0
- package/dist/swirl-components/{p-3335383c.entry.js → p-8effa03e.entry.js} +1 -1
- package/dist/swirl-components/{p-d9760e10.entry.js → p-8f07da3d.entry.js} +1 -1
- package/dist/swirl-components/{p-2fa4c633.entry.js → p-8f52577a.entry.js} +1 -1
- package/dist/swirl-components/{p-170a2b48.entry.js → p-8fd083ba.entry.js} +1 -1
- package/dist/swirl-components/p-905e3f32.entry.js +1 -0
- package/dist/swirl-components/p-9142e03b.js +1 -0
- package/dist/swirl-components/p-92b0a462.entry.js +1 -0
- package/dist/swirl-components/p-94cefacc.entry.js +1 -0
- package/dist/swirl-components/{p-c9307120.entry.js → p-99ba3b0c.entry.js} +1 -1
- package/dist/swirl-components/{p-c63c0897.entry.js → p-9d8e7ff0.entry.js} +1 -1
- package/dist/swirl-components/{p-d2311589.entry.js → p-9d94f15b.entry.js} +1 -1
- package/dist/swirl-components/p-9dce0e50.entry.js +1 -0
- package/dist/swirl-components/p-9f24f03d.entry.js +1 -0
- package/dist/swirl-components/{p-67626481.entry.js → p-a0c73040.entry.js} +1 -1
- package/dist/swirl-components/p-a0e0322a.entry.js +1 -0
- package/dist/swirl-components/p-a6c15dd2.entry.js +1 -0
- package/dist/swirl-components/{p-99244721.entry.js → p-a8fde9b6.entry.js} +1 -1
- package/dist/swirl-components/{p-d730ab29.entry.js → p-aba143bd.entry.js} +1 -1
- package/dist/swirl-components/p-ada769a2.entry.js +1 -0
- package/dist/swirl-components/{p-3991c596.entry.js → p-aebd2770.entry.js} +1 -1
- package/dist/swirl-components/{p-8ee094ca.entry.js → p-b40d02ab.entry.js} +1 -1
- package/dist/swirl-components/{p-91039432.entry.js → p-b5886f1e.entry.js} +1 -1
- package/dist/swirl-components/{p-49abf88c.entry.js → p-b5bff846.entry.js} +1 -1
- package/dist/swirl-components/{p-4e08d391.entry.js → p-b73f46e9.entry.js} +1 -1
- package/dist/swirl-components/{p-898341d1.entry.js → p-bb664758.entry.js} +1 -1
- package/dist/swirl-components/{p-32c2d812.entry.js → p-bbc4dfae.entry.js} +1 -1
- package/dist/swirl-components/p-bc1985c0.entry.js +1 -0
- package/dist/swirl-components/p-c0036f1f.entry.js +1 -0
- package/dist/swirl-components/p-c00ec508.entry.js +1 -0
- package/dist/swirl-components/{p-297800ad.entry.js → p-c089a86f.entry.js} +1 -1
- package/dist/swirl-components/p-c1119f03.entry.js +1 -0
- package/dist/swirl-components/{p-38d22e69.entry.js → p-c1407ccd.entry.js} +1 -1
- package/dist/swirl-components/{p-d16f5f72.entry.js → p-c1afbdd8.entry.js} +1 -1
- package/dist/swirl-components/p-c1d740a2.entry.js +1 -0
- package/dist/swirl-components/p-c3a1b027.entry.js +1 -0
- package/dist/swirl-components/p-c3badef7.entry.js +1 -0
- package/dist/swirl-components/{p-d78eb6d8.entry.js → p-c4f0b6bd.entry.js} +1 -1
- package/dist/swirl-components/p-c6902302.entry.js +1 -0
- package/dist/swirl-components/p-c7326b88.entry.js +1 -0
- package/dist/swirl-components/p-c783221d.entry.js +1 -0
- package/dist/swirl-components/{p-5af19090.entry.js → p-c81bd519.entry.js} +1 -1
- package/dist/swirl-components/{p-33e363ed.entry.js → p-cb7bca01.entry.js} +1 -1
- package/dist/swirl-components/p-cddec2c8.entry.js +1 -0
- package/dist/swirl-components/p-cef24ae4.entry.js +1 -0
- package/dist/swirl-components/{p-7a1181b5.entry.js → p-d02acd75.entry.js} +1 -1
- package/dist/swirl-components/p-d20dbf47.entry.js +1 -0
- package/dist/swirl-components/{p-20ac0472.entry.js → p-d3243268.entry.js} +1 -1
- package/dist/swirl-components/p-d51a5f4f.entry.js +1 -0
- package/dist/swirl-components/{p-941e7960.entry.js → p-d5b02a31.entry.js} +1 -1
- package/dist/swirl-components/{p-3310a6e2.entry.js → p-d82fce3d.entry.js} +1 -1
- package/dist/swirl-components/{p-634e09ad.entry.js → p-d8c4dfb3.entry.js} +1 -1
- package/dist/swirl-components/{p-2aaeb1e6.entry.js → p-ddb3b371.entry.js} +1 -1
- package/dist/swirl-components/p-ddd49304.entry.js +1 -0
- package/dist/swirl-components/{p-043d093e.entry.js → p-e0193bd5.entry.js} +1 -1
- package/dist/swirl-components/p-e1abf6d5.entry.js +1 -0
- package/dist/swirl-components/{p-5e45f6dc.entry.js → p-e407f7c4.entry.js} +1 -1
- package/dist/swirl-components/{p-acd8fa1d.entry.js → p-e4177f2f.entry.js} +1 -1
- package/dist/swirl-components/p-e60c8c01.entry.js +1 -0
- package/dist/swirl-components/p-e89d3b8c.entry.js +1 -0
- package/dist/swirl-components/p-e8bebe03.entry.js +1 -0
- package/dist/swirl-components/p-e8f693b7.entry.js +1 -0
- package/dist/swirl-components/{p-ed56aa85.entry.js → p-ec21cd3f.entry.js} +1 -1
- package/dist/swirl-components/{p-1339648a.entry.js → p-ec750d72.entry.js} +1 -1
- package/dist/swirl-components/{p-4268041a.entry.js → p-ed5bdc5c.entry.js} +1 -1
- package/dist/swirl-components/{p-4d7dcfee.entry.js → p-eed748e6.entry.js} +1 -1
- package/dist/swirl-components/{p-0d66f638.entry.js → p-ef58fc1e.entry.js} +1 -1
- package/dist/swirl-components/{p-d15994cb.entry.js → p-f4b96d3b.entry.js} +1 -1
- package/dist/swirl-components/{p-92709d5b.entry.js → p-f573b3f3.entry.js} +1 -1
- package/dist/swirl-components/p-f5c1afb6.entry.js +1 -0
- package/dist/swirl-components/{p-38d67d0e.entry.js → p-f828f836.entry.js} +1 -1
- package/dist/swirl-components/{p-88abc2db.entry.js → p-fa67dbce.entry.js} +1 -1
- package/dist/swirl-components/p-fbd4380b.entry.js +1 -0
- package/dist/swirl-components/{p-dbd1b662.entry.js → p-fc65574b.entry.js} +1 -1
- package/dist/swirl-components/{p-6043df71.entry.js → p-fe82f579.entry.js} +1 -1
- package/dist/swirl-components/{p-ebc078da.entry.js → p-feda757e.entry.js} +1 -1
- package/dist/swirl-components/p-ff161795.entry.js +1 -0
- package/dist/swirl-components/swirl-components.css +11 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-action-list-item/swirl-action-list-item.d.ts +2 -2
- package/dist/types/components/swirl-app-layout/swirl-app-layout.d.ts +2 -2
- package/dist/types/components/swirl-autocomplete/swirl-autocomplete.d.ts +3 -2
- package/dist/types/components/swirl-avatar/swirl-avatar.d.ts +4 -4
- package/dist/types/components/swirl-badge/swirl-badge.d.ts +3 -3
- package/dist/types/components/swirl-banner/swirl-banner.d.ts +2 -2
- package/dist/types/components/swirl-box/swirl-box.d.ts +2 -2
- package/dist/types/components/swirl-button/swirl-button.d.ts +5 -5
- package/dist/types/components/swirl-button-group/swirl-button-group.d.ts +1 -1
- package/dist/types/components/swirl-checkbox/swirl-checkbox.d.ts +1 -1
- package/dist/types/components/swirl-chip/swirl-chip.d.ts +1 -1
- package/dist/types/components/swirl-date-input/swirl-date-input.d.ts +6 -3
- package/dist/types/components/swirl-date-picker/swirl-date-picker.d.ts +6 -10
- package/dist/types/components/swirl-date-picker/swirl-date-picker.stories.d.ts +0 -7
- package/dist/types/components/swirl-dialog/swirl-dialog.d.ts +1 -1
- package/dist/types/components/swirl-file-viewer/viewers/swirl-file-viewer-pdf/swirl-file-viewer-pdf.d.ts +1 -1
- package/dist/types/components/swirl-form-control/swirl-form-control.d.ts +2 -0
- package/dist/types/components/swirl-form-group/swirl-form-group.d.ts +1 -1
- package/dist/types/components/swirl-heading/swirl-heading.d.ts +8 -3
- package/dist/types/components/swirl-heading/swirl-heading.stories.d.ts +5 -0
- package/dist/types/components/swirl-icon/icons/swirl-icon-drag-handle.d.ts +5 -0
- package/dist/types/components/swirl-icon/swirl-icon.types.d.ts +1 -1
- package/dist/types/components/swirl-inline-error/swirl-inline-error.d.ts +1 -1
- package/dist/types/components/swirl-link/swirl-link.d.ts +1 -1
- package/dist/types/components/swirl-option-list/swirl-option-list.d.ts +21 -0
- package/dist/types/components/swirl-option-list-item/swirl-option-list-item.d.ts +9 -1
- package/dist/types/components/swirl-option-list-item/swirl-option-list-item.stories.d.ts +8 -0
- package/dist/types/components/swirl-pagination/swirl-pagination.d.ts +1 -1
- package/dist/types/components/swirl-popover/swirl-popover.d.ts +1 -1
- package/dist/types/components/swirl-progress-indicator/swirl-progress-indicator.d.ts +2 -2
- package/dist/types/components/swirl-radio/swirl-radio.d.ts +1 -1
- package/dist/types/components/swirl-select/swirl-select.d.ts +2 -1
- package/dist/types/components/swirl-skeleton-box/swirl-skeleton-box.d.ts +9 -0
- package/dist/types/components/swirl-skeleton-box/swirl-skeleton-box.stories.d.ts +13 -0
- package/dist/types/components/swirl-skeleton-text/swirl-skeleton-text.d.ts +7 -0
- package/dist/types/components/swirl-skeleton-text/swirl-skeleton-text.stories.d.ts +13 -0
- package/dist/types/components/swirl-spinner/swirl-spinner.d.ts +1 -1
- package/dist/types/components/swirl-stack/swirl-stack.d.ts +4 -4
- package/dist/types/components/swirl-switch/swirl-switch.d.ts +1 -1
- package/dist/types/components/swirl-table-column/swirl-table-column.d.ts +1 -1
- package/dist/types/components/swirl-tag/swirl-tag.d.ts +1 -1
- package/dist/types/components/swirl-text/swirl-text.d.ts +11 -5
- package/dist/types/components/swirl-text/swirl-text.stories.d.ts +5 -0
- package/dist/types/components/swirl-text-input/swirl-text-input.d.ts +3 -2
- package/dist/types/components/swirl-theme-provider/swirl-theme-provider.d.ts +5 -5
- package/dist/types/components/swirl-thumbnail/swirl-thumbnail.d.ts +2 -2
- package/dist/types/components/swirl-toast/swirl-toast.d.ts +1 -1
- package/dist/types/components/swirl-toast-provider/swirl-toast-provider.d.ts +2 -2
- package/dist/types/components/swirl-tooltip/swirl-tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +151 -13
- package/dist/types/index.d.ts +2 -0
- package/dist/types/prototypes/file-manager/file-manager.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +91 -19
- package/dist/types/utils.d.ts +1 -0
- package/dist/typings.d.ts +1 -0
- package/loader/index.d.ts +9 -0
- package/loader/package.json +1 -0
- package/package.json +27 -15
- package/vscode-data.json +166 -0
- package/dist/cjs/swirl-icon-check-small_3.cjs.entry.js +0 -261
- package/dist/esm/_commonjsHelpers-44457d8d.js +0 -36
- package/dist/esm/swirl-icon-check-small_3.entry.js +0 -255
- package/dist/swirl-components/p-0206d806.entry.js +0 -1
- package/dist/swirl-components/p-06e76536.entry.js +0 -1
- package/dist/swirl-components/p-0cb291d0.entry.js +0 -1
- package/dist/swirl-components/p-0dcba8b2.entry.js +0 -1
- package/dist/swirl-components/p-0ed40682.entry.js +0 -1
- package/dist/swirl-components/p-1133d7f4.entry.js +0 -1
- package/dist/swirl-components/p-1253d22b.entry.js +0 -1
- package/dist/swirl-components/p-13295f24.entry.js +0 -1
- package/dist/swirl-components/p-21267175.entry.js +0 -1
- package/dist/swirl-components/p-29e918f4.entry.js +0 -36
- package/dist/swirl-components/p-2a9cacb2.entry.js +0 -1
- package/dist/swirl-components/p-30740007.entry.js +0 -1
- package/dist/swirl-components/p-31943bc0.entry.js +0 -1
- package/dist/swirl-components/p-31f9bc42.entry.js +0 -1
- package/dist/swirl-components/p-36573727.entry.js +0 -1
- package/dist/swirl-components/p-4181aa7a.entry.js +0 -1
- package/dist/swirl-components/p-4a16e7e1.entry.js +0 -1
- package/dist/swirl-components/p-4af06a9d.entry.js +0 -1
- package/dist/swirl-components/p-4f04a176.entry.js +0 -1
- package/dist/swirl-components/p-51097641.entry.js +0 -1
- package/dist/swirl-components/p-5612f03c.entry.js +0 -1
- package/dist/swirl-components/p-59bfb6f7.entry.js +0 -1
- package/dist/swirl-components/p-6272f11a.entry.js +0 -1
- package/dist/swirl-components/p-659b4fcb.entry.js +0 -1
- package/dist/swirl-components/p-6baff764.entry.js +0 -1
- package/dist/swirl-components/p-6f039422.entry.js +0 -1
- package/dist/swirl-components/p-708ea5cf.entry.js +0 -1
- package/dist/swirl-components/p-733abfbd.entry.js +0 -1
- package/dist/swirl-components/p-745ae10f.entry.js +0 -1
- package/dist/swirl-components/p-7602ab40.entry.js +0 -1
- package/dist/swirl-components/p-76e4350f.entry.js +0 -1
- package/dist/swirl-components/p-7a00efe8.entry.js +0 -1
- package/dist/swirl-components/p-7c514ca1.entry.js +0 -1
- package/dist/swirl-components/p-7f642be8.entry.js +0 -1
- package/dist/swirl-components/p-8157c96f.entry.js +0 -1
- package/dist/swirl-components/p-96ee66e7.entry.js +0 -1
- package/dist/swirl-components/p-9a74850d.entry.js +0 -1
- package/dist/swirl-components/p-9fe00e8a.js +0 -2
- package/dist/swirl-components/p-a0a3e5d3.entry.js +0 -1
- package/dist/swirl-components/p-a333b07d.entry.js +0 -1
- package/dist/swirl-components/p-a5497705.entry.js +0 -1
- package/dist/swirl-components/p-a61783f1.entry.js +0 -1
- package/dist/swirl-components/p-a76e4ffc.entry.js +0 -1
- package/dist/swirl-components/p-bd4b3edf.entry.js +0 -1
- package/dist/swirl-components/p-c0402092.entry.js +0 -1
- package/dist/swirl-components/p-c45a50a2.entry.js +0 -1
- package/dist/swirl-components/p-cbd8f173.entry.js +0 -1
- package/dist/swirl-components/p-d09dc70d.entry.js +0 -7
- package/dist/swirl-components/p-d3d722dc.js +0 -7
- package/dist/swirl-components/p-d46f437e.entry.js +0 -1
- package/dist/swirl-components/p-d97d183f.js +0 -1
- package/dist/swirl-components/p-e0aca739.entry.js +0 -1
- package/dist/swirl-components/p-e8bb09e8.js +0 -1
- package/dist/swirl-components/p-ea5e12d7.entry.js +0 -1
- package/dist/swirl-components/p-f06a85d3.entry.js +0 -1
- package/dist/swirl-components/p-f17a9780.entry.js +0 -1
- package/dist/swirl-components/p-f2763bd6.entry.js +0 -1
- package/dist/swirl-components/p-fa9e7b73.entry.js +0 -1
- package/dist/swirl-components/p-fb50f7b6.entry.js +0 -1
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { d as defineCustomElement$1 } from './wc-datepicker2.js';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
!function(e,t){module.exports=t();}(commonjsGlobal,(function(){return function(){var e={d:function(t,i){for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]});},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return j}});var i={days:"days",months:"months",years:"years",day:"day",month:"month",year:"year",eventChangeViewDate:"changeViewDate",eventChangeCurrentView:"changeCurrentView",eventChangeFocusDate:"changeFocusDate",eventChangeSelectedDate:"changeSelectedDate",eventChangeTime:"changeTime",eventChangeLastSelectedDate:"changeLastSelectedDate",actionSelectDate:"selectDate",actionUnselectDate:"unselectDate",cssClassWeekend:"-weekend-"},s={classes:"",inline:!1,locale:{days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вос","Пон","Вто","Сре","Чет","Пят","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",dateFormat:"dd.MM.yyyy",timeFormat:"HH:mm",firstDay:1},startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"T",toggleSelected:!0,keyboardNav:!0,selectedDates:!1,container:"",isMobile:!1,visible:!1,position:"bottom left",offset:12,view:i.days,minView:i.days,showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:", ",range:!1,dynamicRange:!0,buttons:!1,monthsField:"monthsShort",showEvent:"focus",autoClose:!1,prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MMMM, <i>yyyy</i>",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:!1,onChangeViewDate:!1,onChangeView:!1,onRenderCell:!1,onShow:!1,onHide:!1,onClickDayName:!1};function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return "string"==typeof e?t.querySelector(e):e}function n(){let{tagName:e="div",className:t="",innerHtml:i="",id:s="",attrs:a={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=document.createElement(e);return t&&n.classList.add(...t.split(" ")),s&&(n.id=s),i&&(n.innerHTML=i),a&&r(n,a),n}function r(e,t){for(let[i,s]of Object.entries(t))void 0!==s&&e.setAttribute(i,s);return e}function h(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function o(e){let t=e.getHours(),i=t%12==0?12:t%12;return {year:e.getFullYear(),month:e.getMonth(),fullMonth:e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,date:e.getDate(),fullDate:e.getDate()<10?"0"+e.getDate():e.getDate(),day:e.getDay(),hours:t,fullHours:l(t),hours12:i,fullHours12:l(i),minutes:e.getMinutes(),fullMinutes:e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes()}}function l(e){return e<10?"0"+e:e}function d(e){let t=10*Math.floor(e.getFullYear()/10);return [t,t+9]}function c(){let e=[];for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return i.forEach((t=>{if("object"==typeof t)for(let i in t)t[i]&&e.push(i);else t&&e.push(t);})),e.join(" ")}function u(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.days;if(!e||!t)return !1;let a=o(e),n=o(t),r={[i.days]:a.date===n.date&&a.month===n.month&&a.year===n.year,[i.months]:a.month===n.month&&a.year===n.year,[i.years]:a.year===n.year};return r[s]}function p(e,t,i){let s=g(e,!1).getTime(),a=g(t,!1).getTime();return i?s>=a:s>a}function m(e,t){return !p(e,t,!0)}function g(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=new Date(e.getTime());return "boolean"!=typeof t||t||D(i),i}function D(e){return e.setHours(0,0,0,0),e}function v(e,t,i){e.length?e.forEach((e=>{e.addEventListener(t,i);})):e.addEventListener(t,i);}function y(e,t){return !(!e||e===document||e instanceof DocumentFragment)&&(e.matches(t)?e:y(e.parentNode,t))}function f(e,t,i){return e>i?i:e<t?t:e}function w(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];return i.filter((e=>e)).forEach((t=>{for(let[i,s]of Object.entries(t))if(void 0!==s&&"[object Object]"===s.toString()){let t=void 0!==e[i]?e[i].toString():void 0,a=s.toString(),n=Array.isArray(s)?[]:{};e[i]=e[i]?t!==a?n:e[i]:n,w(e[i],s);}else e[i]=s;})),e}function b(e){let t=e;return e instanceof Date||(t=new Date(e)),isNaN(t.getTime())&&(console.log('Unable to convert value "'.concat(e,'" to Date object')),t=!1),t}function k(e){let t="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+t+")("+e+")($|<|"+t+")","g")}function C(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class _{constructor(){let{type:e,date:t,dp:i,opts:s,body:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};C(this,"focus",(()=>{this.$cell.classList.add("-focus-"),this.focused=!0;})),C(this,"removeFocus",(()=>{this.$cell.classList.remove("-focus-"),this.focused=!1;})),C(this,"select",(()=>{this.$cell.classList.add("-selected-"),this.selected=!0;})),C(this,"removeSelect",(()=>{this.$cell.classList.remove("-selected-","-range-from-","-range-to-"),this.selected=!1;})),C(this,"onChangeSelectedDate",(()=>{this.isDisabled||(this._handleSelectedStatus(),this.opts.range&&this._handleRangeStatus());})),C(this,"onChangeFocusDate",(e=>{if(!e)return void(this.focused&&this.removeFocus());let t=u(e,this.date,this.type);t?this.focus():!t&&this.focused&&this.removeFocus(),this.opts.range&&this._handleRangeStatus();})),C(this,"render",(()=>(this.$cell.innerHTML=this._getHtml(),this.$cell.adpCell=this,this.$cell))),this.type=e,this.singleType=this.type.slice(0,-1),this.date=t,this.dp=i,this.opts=s,this.body=a,this.customData=!1,this.init();}init(){let{range:e,onRenderCell:t}=this.opts;t&&(this.customData=t({date:this.date,cellType:this.singleType,datepicker:this.dp})),this._createElement(),this._bindDatepickerEvents(),this._handleInitialFocusStatus(),this.dp.hasSelectedDates&&(this._handleSelectedStatus(),e&&this._handleRangeStatus());}_bindDatepickerEvents(){this.dp.on(i.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(i.eventChangeFocusDate,this.onChangeFocusDate);}unbindDatepickerEvents(){this.dp.off(i.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(i.eventChangeFocusDate,this.onChangeFocusDate);}_createElement(){var e;let{year:t,month:i,date:s}=o(this.date),a=(null===(e=this.customData)||void 0===e?void 0:e.attrs)||{};this.$cell=n({className:this._getClassName(),attrs:{"data-year":t,"data-month":i,"data-date":s,...a}});}_getClassName(){var e,t;let s=new Date,{selectOtherMonths:a,selectOtherYears:n}=this.opts,{minDate:r,maxDate:h}=this.dp,{day:l}=o(this.date),d=this._isOutOfMinMaxRange(),p=null===(e=this.customData)||void 0===e?void 0:e.disabled,m=c("air-datepicker-cell","-".concat(this.singleType,"-"),{"-current-":u(s,this.date,this.type),"-min-date-":r&&u(r,this.date,this.type),"-max-date-":h&&u(h,this.date,this.type)}),g="";switch(this.type){case i.days:g=c({"-weekend-":this.dp.isWeekend(l),"-other-month-":this.isOtherMonth,"-disabled-":this.isOtherMonth&&!a||d||p});break;case i.months:g=c({"-disabled-":d||p});break;case i.years:g=c({"-other-decade-":this.isOtherDecade,"-disabled-":d||this.isOtherDecade&&!n||p});}return c(m,g,null===(t=this.customData)||void 0===t?void 0:t.classes)}_getHtml(){var e;let{year:t,month:s,date:a}=o(this.date),{showOtherMonths:n,showOtherYears:r}=this.opts;if(null!==(e=this.customData)&&void 0!==e&&e.html)return this.customData.html;switch(this.type){case i.days:return !n&&this.isOtherMonth?"":a;case i.months:return this.dp.locale[this.opts.monthsField][s];case i.years:return !r&&this.isOtherDecade?"":t}}_isOutOfMinMaxRange(){let{minDate:e,maxDate:t}=this.dp,{type:s,date:a}=this,{month:n,year:r,date:h}=o(a),l=s===i.days,d=s===i.years,c=!!e&&new Date(r,d?e.getMonth():n,l?h:e.getDate()),u=!!t&&new Date(r,d?t.getMonth():n,l?h:t.getDate());return e&&t?m(c,e)||p(u,t):e?m(c,e):t?p(u,t):void 0}destroy(){this.unbindDatepickerEvents();}_handleRangeStatus(){let{rangeDateFrom:e,rangeDateTo:t}=this.dp,i=c({"-in-range-":e&&t&&(s=this.date,a=e,n=t,p(s,a)&&m(s,n)),"-range-from-":e&&u(this.date,e,this.type),"-range-to-":t&&u(this.date,t,this.type)});var s,a,n;this.$cell.classList.remove("-range-from-","-range-to-","-in-range-"),i&&this.$cell.classList.add(...i.split(" "));}_handleSelectedStatus(){let e=this.dp._checkIfDateIsSelected(this.date,this.type);e?this.select():!e&&this.selected&&this.removeSelect();}_handleInitialFocusStatus(){u(this.dp.focusDate,this.date,this.type)&&this.focus();}get isDisabled(){return this.$cell.matches(".-disabled-")}get isOtherMonth(){return this.dp.isOtherMonth(this.date)}get isOtherDecade(){return this.dp.isOtherDecade(this.date)}}function M(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}let $={[i.days]:'<div class="air-datepicker-body--day-names"></div>'+'<div class="air-datepicker-body--cells -'.concat(i.days,'-"></div>'),[i.months]:'<div class="air-datepicker-body--cells -'.concat(i.months,'-"></div>'),[i.years]:'<div class="air-datepicker-body--cells -'.concat(i.years,'-"></div>')};const S=".air-datepicker-cell";class T{constructor(e){let{dp:t,type:s,opts:a}=e;M(this,"handleClick",(e=>{let t=e.target.closest(S).adpCell;if(t.isDisabled)return;if(!this.dp.isMinViewReached)return void this.dp.down();let i=this.dp._checkIfDateIsSelected(t.date,t.type);i?this.dp._handleAlreadySelectedDates(i,t.date):this.dp.selectDate(t.date);})),M(this,"handleDayNameClick",(e=>{let t=e.target.getAttribute("data-day-index");this.opts.onClickDayName({dayIndex:Number(t),datepicker:this.dp});})),M(this,"onChangeCurrentView",(e=>{e!==this.type?this.hide():(this.show(),this.render());})),M(this,"onMouseOverCell",(e=>{let t=y(e.target,S);this.dp.setFocusDate(!!t&&t.adpCell.date);})),M(this,"onMouseOutCell",(()=>{this.dp.setFocusDate(!1);})),M(this,"onClickBody",(e=>{let{onClickDayName:t}=this.opts,i=e.target;i.closest(S)&&this.handleClick(e),t&&i.closest(".air-datepicker-body--day-name")&&this.handleDayNameClick(e);})),M(this,"onMouseDown",(e=>{this.pressed=!0;let t=y(e.target,S),i=t&&t.adpCell;u(i.date,this.dp.rangeDateFrom)&&(this.rangeFromFocused=!0),u(i.date,this.dp.rangeDateTo)&&(this.rangeToFocused=!0);})),M(this,"onMouseMove",(e=>{if(!this.pressed||!this.dp.isMinViewReached)return;e.preventDefault();let t=y(e.target,S),i=t&&t.adpCell,{selectedDates:s,rangeDateTo:a,rangeDateFrom:n}=this.dp;if(!i||i.isDisabled)return;let{date:r}=i;if(2===s.length){if(this.rangeFromFocused&&!p(r,a)){let{hours:e,minutes:t}=o(n);r.setHours(e),r.setMinutes(t),this.dp.rangeDateFrom=r,this.dp.replaceDate(n,r);}if(this.rangeToFocused&&!m(r,n)){let{hours:e,minutes:t}=o(a);r.setHours(e),r.setMinutes(t),this.dp.rangeDateTo=r,this.dp.replaceDate(a,r);}}})),M(this,"onMouseUp",(()=>{this.pressed=!1,this.rangeFromFocused=!1,this.rangeToFocused=!1;})),M(this,"onChangeViewDate",((e,t)=>{if(!this.isVisible)return;let s=d(e),a=d(t);switch(this.dp.currentView){case i.days:if(u(e,t,i.months))return;break;case i.months:if(u(e,t,i.years))return;break;case i.years:if(s[0]===a[0]&&s[1]===a[1])return}this.render();})),M(this,"render",(()=>{this.destroyCells(),this._generateCells(),this.cells.forEach((e=>{this.$cells.appendChild(e.render());}));})),this.dp=t,this.type=s,this.opts=a,this.cells=[],this.$el="",this.pressed=!1,this.isVisible=!0,this.init();}init(){this._buildBaseHtml(),this.type===i.days&&this.renderDayNames(),this.render(),this._bindEvents(),this._bindDatepickerEvents();}_bindEvents(){let{range:e,dynamicRange:t}=this.opts;v(this.$el,"mouseover",this.onMouseOverCell),v(this.$el,"mouseout",this.onMouseOutCell),v(this.$el,"click",this.onClickBody),e&&t&&(v(this.$el,"mousedown",this.onMouseDown),v(this.$el,"mousemove",this.onMouseMove),v(window.document,"mouseup",this.onMouseUp));}_bindDatepickerEvents(){this.dp.on(i.eventChangeViewDate,this.onChangeViewDate),this.dp.on(i.eventChangeCurrentView,this.onChangeCurrentView);}_buildBaseHtml(){this.$el=n({className:"air-datepicker-body -".concat(this.type,"-"),innerHtml:$[this.type]}),this.$names=a(".air-datepicker-body--day-names",this.$el),this.$cells=a(".air-datepicker-body--cells",this.$el);}_getDayNamesHtml(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.dp.locale.firstDay,t="",s=this.dp.isWeekend,{onClickDayName:a}=this.opts,n=e,r=0;for(;r<7;){let e=n%7,h=c("air-datepicker-body--day-name",{[i.cssClassWeekend]:s(e),"-clickable-":!!a}),o=this.dp.locale.daysMin[e];t+='<div class="'.concat(h,"\" data-day-index='").concat(e,"'>").concat(o,"</div>"),r++,n++;}return t}_getDaysCells(){let{viewDate:e,locale:{firstDay:t}}=this.dp,i=h(e),{year:s,month:a}=o(e),n=new Date(s,a,1),r=new Date(s,a,i),l=n.getDay()-t,d=6-r.getDay()+t;l=l<0?l+7:l,d=d>6?d-7:d;let c=function(e,t){let{year:i,month:s,date:a}=o(e);return new Date(i,s,a-t)}(n,l),u=i+l+d,p=c.getDate(),{year:m,month:g}=o(c),D=0;for(;D<u;){let e=new Date(m,g,p+D);this._generateCell(e),D++;}}_generateCell(e){let{type:t,dp:i,opts:s}=this,a=new _({type:t,dp:i,opts:s,date:e,body:this});return this.cells.push(a),a}_generateDayCells(){this._getDaysCells();}_generateMonthCells(){let{year:e}=this.dp.parsedViewDate,t=0;for(;t<12;)this.cells.push(this._generateCell(new Date(e,t))),t++;}_generateYearCells(){let e=d(this.dp.viewDate),t=e[0]-1,i=e[1]+1,s=t;for(;s<=i;)this.cells.push(this._generateCell(new Date(s,0))),s++;}renderDayNames(){this.$names.innerHTML=this._getDayNamesHtml();}_generateCells(){switch(this.type){case i.days:this._generateDayCells();break;case i.months:this._generateMonthCells();break;case i.years:this._generateYearCells();}}show(){this.isVisible=!0,this.$el.classList.remove("-hidden-");}hide(){this.isVisible=!1,this.$el.classList.add("-hidden-");}destroyCells(){this.cells.forEach((e=>e.destroy())),this.cells=[],this.$cells.innerHTML="";}destroy(){this.destroyCells(),this.dp.off(i.eventChangeViewDate,this.onChangeViewDate),this.dp.off(i.eventChangeCurrentView,this.onChangeCurrentView);}}function F(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class V{constructor(e){let{dp:t,opts:i}=e;F(this,"onClickNav",(e=>{let t=y(e.target,".air-datepicker-nav--action");if(!t)return;let i=t.dataset.action;this.dp[i]();})),F(this,"onChangeViewDate",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus();})),F(this,"onChangeCurrentView",(()=>{this.render(),this._resetNavStatus(),this.handleNavStatus();})),F(this,"onClickNavTitle",(()=>{this.dp.isFinalView||this.dp.up();})),F(this,"update",(()=>{let{prevHtml:e,nextHtml:t}=this.opts;this.$prev.innerHTML=e,this.$next.innerHTML=t,this._resetNavStatus(),this.render(),this.handleNavStatus();})),F(this,"renderDelay",(()=>{setTimeout(this.render);})),F(this,"render",(()=>{this.$title.innerHTML=this._getTitle(),function(e,t){for(let i in t)t[i]?e.classList.add(i):e.classList.remove(i);}(this.$title,{"-disabled-":this.dp.isFinalView});})),this.dp=t,this.opts=i,this.init();}init(){this._createElement(),this._buildBaseHtml(),this._defineDOM(),this.render(),this.handleNavStatus(),this._bindEvents(),this._bindDatepickerEvents();}_defineDOM(){this.$title=a(".air-datepicker-nav--title",this.$el),this.$prev=a('[data-action="prev"]',this.$el),this.$next=a('[data-action="next"]',this.$el);}_bindEvents(){this.$el.addEventListener("click",this.onClickNav),this.$title.addEventListener("click",this.onClickNavTitle);}_bindDatepickerEvents(){this.dp.on(i.eventChangeViewDate,this.onChangeViewDate),this.dp.on(i.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.on(i.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.on(i.eventChangeTime,this.render));}destroy(){this.dp.off(i.eventChangeViewDate,this.onChangeViewDate),this.dp.off(i.eventChangeCurrentView,this.onChangeCurrentView),this.isNavIsFunction&&(this.dp.off(i.eventChangeSelectedDate,this.renderDelay),this.dp.opts.timepicker&&this.dp.off(i.eventChangeTime,this.render));}_createElement(){this.$el=n({tagName:"nav",className:"air-datepicker-nav"});}_getTitle(){let{dp:e,opts:t}=this,i=t.navTitles[e.currentView];return "function"==typeof i?i(e):e.formatDate(e.viewDate,i)}handleNavStatus(){let{disableNavWhenOutOfRange:e}=this.opts,{minDate:t,maxDate:s}=this.dp;if(!t&&!s||!e)return;let{year:a,month:n}=this.dp.parsedViewDate,r=!!t&&o(t),h=!!s&&o(s);switch(this.dp.currentView){case i.days:t&&r.month>=n&&r.year>=a&&this._disableNav("prev"),s&&h.month<=n&&h.year<=a&&this._disableNav("next");break;case i.months:t&&r.year>=a&&this._disableNav("prev"),s&&h.year<=a&&this._disableNav("next");break;case i.years:{let e=d(this.dp.viewDate);t&&r.year>=e[0]&&this._disableNav("prev"),s&&h.year<=e[1]&&this._disableNav("next");break}}}_disableNav(e){a('[data-action="'+e+'"]',this.$el).classList.add("-disabled-");}_resetNavStatus(){!function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];e.length?e.forEach((e=>{e.classList.remove(...i);})):e.classList.remove(...i);}(this.$el.querySelectorAll(".air-datepicker-nav--action"),"-disabled-");}_buildBaseHtml(){let{prevHtml:e,nextHtml:t}=this.opts;this.$el.innerHTML='<div class="air-datepicker-nav--action" data-action="prev">'.concat(e,"</div>")+'<div class="air-datepicker-nav--title"></div>'+'<div class="air-datepicker-nav--action" data-action="next">'.concat(t,"</div>");}get isNavIsFunction(){let{navTitles:e}=this.opts;return Object.keys(e).find((t=>"function"==typeof e[t]))}}var x={today:{content:e=>e.locale.today,onClick:e=>e.setViewDate(new Date)},clear:{content:e=>e.locale.clear,onClick:e=>e.clear()}};class H{constructor(e){let{dp:t,opts:i}=e;this.dp=t,this.opts=i,this.init();}init(){this.createElement(),this.render();}createElement(){this.$el=n({className:"air-datepicker-buttons"});}destroy(){this.$el.parentNode.removeChild(this.$el);}clearHtml(){return this.$el.innerHTML="",this}generateButtons(){let{buttons:e}=this.opts;Array.isArray(e)||(e=[e]),e.forEach((e=>{let t=e;"string"==typeof e&&x[e]&&(t=x[e]);let i=this.createButton(t);t.onClick&&this.attachEventToButton(i,t.onClick),this.$el.appendChild(i);}));}attachEventToButton(e,t){e.addEventListener("click",(()=>{t(this.dp);}));}createButton(e){let{content:t,className:i,tagName:s="button",attrs:a={}}=e,r="function"==typeof t?t(this.dp):t;return n({tagName:s,innerHtml:"<span tabindex='-1'>".concat(r,"</span>"),className:c("air-datepicker-button",i),attrs:a})}render(){this.generateButtons();}}function L(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class O{constructor(){let{opts:e,dp:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,"toggleTimepickerIsActive",(e=>{this.dp.timepickerIsActive=e;})),L(this,"onChangeSelectedDate",(e=>{let{date:t,updateTime:i=!1}=e;t&&(this.setMinMaxTime(t),this.setCurrentTime(!!i&&t),this.addTimeToDate(t));})),L(this,"onChangeLastSelectedDate",(e=>{e&&(this.setTime(e),this.render());})),L(this,"onChangeInputRange",(e=>{let t=e.target;this[t.getAttribute("name")]=t.value,this.updateText(),this.dp.trigger(i.eventChangeTime,{hours:this.hours,minutes:this.minutes});})),L(this,"onMouseEnterLeave",(e=>{let t=e.target.getAttribute("name"),i=this.$minutesText;"hours"===t&&(i=this.$hoursText),i.classList.toggle("-focus-");})),L(this,"onFocus",(()=>{this.toggleTimepickerIsActive(!0);})),L(this,"onBlur",(()=>{this.toggleTimepickerIsActive(!1);})),this.opts=e,this.dp=t;let{timeFormat:s}=this.dp.locale;s&&(s.match(k("h"))||s.match(k("hh")))&&(this.ampm=!0),this.init();}init(){this.setTime(this.dp.lastSelectedDate||this.dp.viewDate),this.createElement(),this.buildHtml(),this.defineDOM(),this.render(),this.bindDatepickerEvents(),this.bindDOMEvents();}bindDatepickerEvents(){this.dp.on(i.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.on(i.eventChangeLastSelectedDate,this.onChangeLastSelectedDate);}bindDOMEvents(){let e="input";navigator.userAgent.match(/trident/gi)&&(e="change"),v(this.$ranges,e,this.onChangeInputRange),v(this.$ranges,"mouseenter",this.onMouseEnterLeave),v(this.$ranges,"mouseleave",this.onMouseEnterLeave),v(this.$ranges,"focus",this.onFocus),v(this.$ranges,"mousedown",this.onFocus),v(this.$ranges,"blur",this.onBlur);}createElement(){this.$el=n({className:c("air-datepicker-time",{"-am-pm-":this.dp.ampm})});}destroy(){this.dp.off(i.eventChangeSelectedDate,this.onChangeSelectedDate),this.dp.off(i.eventChangeLastSelectedDate,this.onChangeLastSelectedDate),this.$el.parentNode.removeChild(this.$el);}buildHtml(){let{ampm:e,hours:t,displayHours:i,minutes:s,minHours:a,minMinutes:n,maxHours:r,maxMinutes:h,dayPeriod:o,opts:{hoursStep:d,minutesStep:c}}=this;this.$el.innerHTML='<div class="air-datepicker-time--current">'+' <span class="air-datepicker-time--current-hours">'.concat(l(i),"</span>")+' <span class="air-datepicker-time--current-colon">:</span>'+' <span class="air-datepicker-time--current-minutes">'.concat(l(s),"</span>")+" ".concat(e?"<span class='air-datepicker-time--current-ampm'>".concat(o,"</span>"):"")+'</div><div class="air-datepicker-time--sliders"> <div class="air-datepicker-time--row">'+' <input type="range" name="hours" value="'.concat(t,'" min="').concat(a,'" max="').concat(r,'" step="').concat(d,'"/>')+' </div> <div class="air-datepicker-time--row">'+' <input type="range" name="minutes" value="'.concat(s,'" min="').concat(n,'" max="').concat(h,'" step="').concat(c,'"/>')+" </div></div>";}defineDOM(){let e=e=>a(e,this.$el);this.$ranges=this.$el.querySelectorAll('[type="range"]'),this.$hours=e('[name="hours"]'),this.$minutes=e('[name="minutes"]'),this.$hoursText=e(".air-datepicker-time--current-hours"),this.$minutesText=e(".air-datepicker-time--current-minutes"),this.$ampm=e(".air-datepicker-time--current-ampm");}setTime(e){this.setMinMaxTime(e),this.setCurrentTime(e);}addTimeToDate(e){e&&(e.setHours(this.hours),e.setMinutes(this.minutes));}setMinMaxTime(e){if(this.setMinMaxTimeFromOptions(),e){let{minDate:t,maxDate:i}=this.dp;t&&u(e,t)&&this.setMinTimeFromMinDate(t),i&&u(e,i)&&this.setMaxTimeFromMaxDate(i);}}setCurrentTime(e){let{hours:t,minutes:i}=e?o(e):this;this.hours=f(t,this.minHours,this.maxHours),this.minutes=f(i,this.minMinutes,this.maxMinutes);}setMinMaxTimeFromOptions(){let{minHours:e,minMinutes:t,maxHours:i,maxMinutes:s}=this.opts;this.minHours=f(e,0,23),this.minMinutes=f(t,0,59),this.maxHours=f(i,0,23),this.maxMinutes=f(s,0,59);}setMinTimeFromMinDate(e){let{lastSelectedDate:t}=this.dp;this.minHours=e.getHours(),t&&t.getHours()>e.getHours()?this.minMinutes=this.opts.minMinutes:this.minMinutes=e.getMinutes();}setMaxTimeFromMaxDate(e){let{lastSelectedDate:t}=this.dp;this.maxHours=e.getHours(),t&&t.getHours()<e.getHours()?this.maxMinutes=this.opts.maxMinutes:this.maxMinutes=e.getMinutes();}getDayPeriod(e,t){let i=e,s=Number(e);e instanceof Date&&(i=o(e),s=Number(i.hours));let a="am";if(t||this.ampm){switch(!0){case 12===s:case s>11:a="pm";}s=s%12==0?12:s%12;}return {hours:s,dayPeriod:a}}updateSliders(){r(this.$hours,{min:this.minHours,max:this.maxHours}).value=this.hours,r(this.$minutes,{min:this.minMinutes,max:this.maxMinutes}).value=this.minutes;}updateText(){this.$hoursText.innerHTML=l(this.displayHours),this.$minutesText.innerHTML=l(this.minutes),this.ampm&&(this.$ampm.innerHTML=this.dayPeriod);}set hours(e){this._hours=e;let{hours:t,dayPeriod:i}=this.getDayPeriod(e);this.displayHours=t,this.dayPeriod=i;}get hours(){return this._hours}render(){this.updateSliders(),this.updateText();}}function E(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class A{constructor(e){let{dp:t,opts:i}=e;E(this,"pressedKeys",new Set),E(this,"hotKeys",new Map([[[["Control","ArrowRight"],["Control","ArrowUp"]],e=>e.month++],[[["Control","ArrowLeft"],["Control","ArrowDown"]],e=>e.month--],[[["Shift","ArrowRight"],["Shift","ArrowUp"]],e=>e.year++],[[["Shift","ArrowLeft"],["Shift","ArrowDown"]],e=>e.year--],[[["Alt","ArrowRight"],["Alt","ArrowUp"]],e=>e.year+=10],[[["Alt","ArrowLeft"],["Alt","ArrowDown"]],e=>e.year-=10],[["Control","Shift","ArrowUp"],(e,t)=>t.up()]])),E(this,"handleHotKey",(e=>{let t=this.hotKeys.get(e),i=o(this.getInitialFocusDate());t(i,this.dp);let{year:s,month:a,date:n}=i,r=h(new Date(s,a));r<n&&(n=r);let l=this.dp.getClampedDate(new Date(s,a,n));this.dp.setFocusDate(l,{viewDateTransition:!0});})),E(this,"isHotKeyPressed",(()=>{let e=!1,t=this.pressedKeys.size,i=e=>this.pressedKeys.has(e);for(let[s]of this.hotKeys){if(e)break;if(Array.isArray(s[0]))s.forEach((a=>{e||t!==a.length||(e=a.every(i)&&s);}));else {if(t!==s.length)continue;e=s.every(i)&&s;}}return e})),E(this,"isArrow",(e=>e>=37&&e<=40)),E(this,"onKeyDown",(e=>{let{key:t,which:i}=e,{dp:s,dp:{focusDate:a},opts:n}=this;this.registerKey(t);let r=this.isHotKeyPressed();if(r)return e.preventDefault(),void this.handleHotKey(r);if(this.isArrow(i))return e.preventDefault(),void this.focusNextCell(t);if("Enter"===t){if(s.currentView!==n.minView)return void s.down();if(a){let e=s._checkIfDateIsSelected(a);return void(e?s._handleAlreadySelectedDates(e,a):s.selectDate(a))}}"Escape"===t&&this.dp.hide();})),E(this,"onKeyUp",(e=>{this.removeKey(e.key);})),this.dp=t,this.opts=i,this.init();}init(){this.bindKeyboardEvents();}bindKeyboardEvents(){let{$el:e}=this.dp;e.addEventListener("keydown",this.onKeyDown),e.addEventListener("keyup",this.onKeyUp);}destroy(){let{$el:e}=this.dp;e.removeEventListener("keydown",this.onKeyDown),e.removeEventListener("keyup",this.onKeyUp),this.hotKeys=null,this.pressedKeys=null;}getInitialFocusDate(){let{focusDate:e,currentView:t,selectedDates:s,parsedViewDate:{year:a,month:n}}=this.dp,r=e||s[s.length-1];if(!r)switch(t){case i.days:r=new Date(a,n,(new Date).getDate());break;case i.months:r=new Date(a,n,1);break;case i.years:r=new Date(a,0,1);}return r}focusNextCell(e){let t=this.getInitialFocusDate(),{currentView:s}=this.dp,{days:a,months:n,years:r}=i,h=o(t),l=h.year,d=h.month,c=h.date;switch(e){case"ArrowLeft":s===a&&(c-=1),s===n&&(d-=1),s===r&&(l-=1);break;case"ArrowUp":s===a&&(c-=7),s===n&&(d-=3),s===r&&(l-=4);break;case"ArrowRight":s===a&&(c+=1),s===n&&(d+=1),s===r&&(l+=1);break;case"ArrowDown":s===a&&(c+=7),s===n&&(d+=3),s===r&&(l+=4);}let u=this.dp.getClampedDate(new Date(l,d,c));this.dp.setFocusDate(u,{viewDateTransition:!0});}registerKey(e){this.pressedKeys.add(e);}removeKey(e){this.pressedKeys.delete(e);}}let N={on(e,t){this.__events||(this.__events={}),this.__events[e]?this.__events[e].push(t):this.__events[e]=[t];},off(e,t){this.__events&&this.__events[e]&&(this.__events[e]=this.__events[e].filter((e=>e!==t)));},removeAllEvents(){this.__events={};},trigger(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];this.__events&&this.__events[e]&&this.__events[e].forEach((e=>{e(...i);}));}};function I(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}let R="",P="",B="",K=!1;class j{constructor(e,t){var r=this;if(I(this,"viewIndexes",[i.days,i.months,i.years]),I(this,"next",(()=>{let{year:e,month:t}=this.parsedViewDate;switch(this.currentView){case i.days:this.setViewDate(new Date(e,t+1,1));break;case i.months:this.setViewDate(new Date(e+1,t,1));break;case i.years:this.setViewDate(new Date(e+10,0,1));}})),I(this,"prev",(()=>{let{year:e,month:t}=this.parsedViewDate;switch(this.currentView){case i.days:this.setViewDate(new Date(e,t-1,1));break;case i.months:this.setViewDate(new Date(e-1,t,1));break;case i.years:this.setViewDate(new Date(e-10,0,1));}})),I(this,"_finishHide",(()=>{this.hideAnimation=!1,this._destroyComponents(),this.$container.removeChild(this.$datepicker);})),I(this,"setPosition",(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("function"==typeof(e=e||r.opts.position))return void(r.customHide=e({$datepicker:r.$datepicker,$target:r.$el,$pointer:r.$pointer,isViewChange:t,done:r._finishHide}));let i,s,{isMobile:a}=r.opts,n=r.$el.getBoundingClientRect(),h=r.$el.getBoundingClientRect(),o=r.$datepicker.offsetParent,l=r.$el.offsetParent,d=r.$datepicker.getBoundingClientRect(),c=e.split(" "),u=window.scrollY,p=window.scrollX,m=r.opts.offset,g=c[0],D=c[1];if(a)r.$datepicker.style.cssText="left: 50%; top: 50%";else {if(o===l&&o!==document.body&&(h={top:r.$el.offsetTop,left:r.$el.offsetLeft,width:n.width,height:r.$el.offsetHeight},u=0,p=0),o!==l&&o!==document.body){let e=o.getBoundingClientRect();h={top:n.top-e.top,left:n.left-e.left,width:n.width,height:n.height},u=0,p=0;}switch(g){case"top":i=h.top-d.height-m;break;case"right":s=h.left+h.width+m;break;case"bottom":i=h.top+h.height+m;break;case"left":s=h.left-d.width-m;}switch(D){case"top":i=h.top;break;case"right":s=h.left+h.width-d.width;break;case"bottom":i=h.top+h.height-d.height;break;case"left":s=h.left;break;case"center":/left|right/.test(g)?i=h.top+h.height/2-d.height/2:s=h.left+h.width/2-d.width/2;}r.$datepicker.style.cssText="left: ".concat(s+p,"px; top: ").concat(i+u,"px");}})),I(this,"_setInputValue",(()=>{let{opts:e,$altField:t,locale:{dateFormat:i}}=this,{altFieldDateFormat:s,altField:a}=e;a&&t&&(t.value=this._getInputValue(s)),this.$el.value=this._getInputValue(i);})),I(this,"_getInputValue",(e=>{let{selectedDates:t,opts:i}=this,{multipleDates:s,multipleDatesSeparator:a}=i;if(!t.length)return "";let n="function"==typeof e,r=n?e(s?t:t[0]):t.map((t=>this.formatDate(t,e)));return r=n?r:r.join(a),r})),I(this,"_checkIfDateIsSelected",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.days,s=!1;return r.selectedDates.some((i=>{let a=u(e,i,t);return s=a&&i,a})),s})),I(this,"_scheduleCallAfterTransition",(e=>{this._cancelScheduledCall(),e&&e(!1),this._onTransitionEnd=()=>{e&&e(!0);},this.$datepicker.addEventListener("transitionend",this._onTransitionEnd,{once:!0});})),I(this,"_cancelScheduledCall",(()=>{this.$datepicker.removeEventListener("transitionend",this._onTransitionEnd);})),I(this,"setViewDate",(e=>{if(!((e=b(e))instanceof Date))return;if(u(e,this.viewDate))return;let t=this.viewDate;this.viewDate=e;let{onChangeViewDate:s}=this.opts;if(s){let{month:e,year:t}=this.parsedViewDate;s({month:e,year:t,decade:this.curDecade});}this.trigger(i.eventChangeViewDate,e,t);})),I(this,"setFocusDate",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(!e||(e=b(e))instanceof Date)&&(r.focusDate=e,r.opts.range&&e&&r._handleRangeOnFocus(),r.trigger(i.eventChangeFocusDate,e,t));})),I(this,"setCurrentView",(e=>{if(this.viewIndexes.includes(e)){if(this.currentView=e,this.elIsInput&&this.visible&&this.setPosition(void 0,!0),this.trigger(i.eventChangeCurrentView,e),!this.views[e]){let t=this.views[e]=new T({dp:this,opts:this.opts,type:e});this.shouldUpdateDOM&&this.$content.appendChild(t.$el);}this.opts.onChangeView&&this.opts.onChangeView(e);}})),I(this,"_updateLastSelectedDate",(e=>{this.lastSelectedDate=e,this.trigger(i.eventChangeLastSelectedDate,e);})),I(this,"destroy",(()=>{let{showEvent:e,isMobile:t}=this.opts,i=this.$datepicker.parentNode;i&&i.removeChild(this.$datepicker),this.$el.removeEventListener(e,this._onFocus),this.$el.removeEventListener("blur",this._onBlur),window.removeEventListener("resize",this._onResize),t&&this._removeMobileAttributes(),this.keyboardNav&&this.keyboardNav.destroy(),this.views=null,this.nav=null,this.$datepicker=null,this.opts=null,this.$customContainer=null,this.viewDate=null,this.focusDate=null,this.selectedDates=null,this.rangeDateFrom=null,this.rangeDateTo=null;})),I(this,"update",(e=>{let t=w({},this.opts);w(this.opts,e);let{timepicker:s,buttons:a,range:n,selectedDates:r,isMobile:h}=this.opts,o=this.visible||this.treatAsInline;this._createMinMaxDates(),this._limitViewDateByMaxMinDates(),this._handleLocale(),!t.selectedDates&&r&&this.selectDate(r),e.view&&this.setCurrentView(e.view),this._setInputValue(),t.range&&!n?(this.rangeDateTo=!1,this.rangeDateFrom=!1):!t.range&&n&&this.selectedDates.length&&(this.rangeDateFrom=this.selectedDates[0],this.rangeDateTo=this.selectedDates[1]),t.timepicker&&!s?(o&&this.timepicker.destroy(),this.timepicker=!1,this.$timepicker.parentNode.removeChild(this.$timepicker)):!t.timepicker&&s&&this._addTimepicker(),!t.buttons&&a?this._addButtons():t.buttons&&!a?(this.buttons.destroy(),this.$buttons.parentNode.removeChild(this.$buttons)):o&&t.buttons&&a&&this.buttons.clearHtml().render(),!t.isMobile&&h?(this.treatAsInline||B||this._createMobileOverlay(),this._addMobileAttributes(),this.visible&&this._showMobileOverlay()):t.isMobile&&!h&&(this._removeMobileAttributes(),this.visible&&(B.classList.remove("-active-"),"function"!=typeof this.opts.position&&this.setPosition())),o&&(this.nav.update(),this.views[this.currentView].render(),this.currentView===i.days&&this.views[this.currentView].renderDayNames());})),I(this,"isOtherMonth",(e=>{let{month:t}=o(e);return t!==this.parsedViewDate.month})),I(this,"isOtherYear",(e=>{let{year:t}=o(e);return t!==this.parsedViewDate.year})),I(this,"isOtherDecade",(e=>{let{year:t}=o(e),[i,s]=d(this.viewDate);return t<i||t>s})),I(this,"_onChangeSelectedDate",(e=>{let{silent:t}=e;setTimeout((()=>{this._setInputValue(),this.opts.onSelect&&!t&&this._triggerOnSelect();}));})),I(this,"_onChangeFocusedDate",(function(e){let{viewDateTransition:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return;let i=!1;t&&(i=r.isOtherMonth(e)||r.isOtherYear(e)||r.isOtherDecade(e)),i&&r.setViewDate(e);})),I(this,"_onChangeTime",(e=>{let{hours:t,minutes:i}=e,s=new Date,{lastSelectedDate:a,opts:{onSelect:n}}=this,r=a;a||(r=s);let h=this.getCell(r,this.currentViewSingular),o=h&&h.adpCell;o&&o.isDisabled||(r.setHours(t),r.setMinutes(i),a?(this._setInputValue(),n&&this._triggerOnSelect()):this.selectDate(r));})),I(this,"_onFocus",(e=>{this.visible||this.show();})),I(this,"_onBlur",(e=>{this.inFocus||!this.visible||this.opts.isMobile||this.hide();})),I(this,"_onMouseDown",(e=>{this.inFocus=!0;})),I(this,"_onMouseUp",(e=>{this.inFocus=!1,this.$el.focus();})),I(this,"_onResize",(()=>{this.visible&&"function"!=typeof this.opts.position&&this.setPosition();})),I(this,"_onClickOverlay",(()=>{this.visible&&this.hide();})),I(this,"isWeekend",(e=>this.opts.weekends.includes(e))),I(this,"getClampedDate",(e=>{let{minDate:t,maxDate:i}=this,s=e;return i&&p(e,i)?s=i:t&&m(e,t)&&(s=t),s})),this.$el=a(e),!this.$el)return;this.$datepicker=n({className:"air-datepicker"}),this.opts=w({},s,t),this.$customContainer=!!this.opts.container&&a(this.opts.container),this.$altField=a(this.opts.altField||!1),R||(R=a("body"));let{view:h,startDate:l}=this.opts;l||(this.opts.startDate=new Date),"INPUT"===this.$el.nodeName&&(this.elIsInput=!0),this.inited=!1,this.visible=!1,this.viewDate=b(this.opts.startDate),this.focusDate=!1,this.initialReadonly=this.$el.getAttribute("readonly"),this.customHide=!1,this.currentView=h,this.selectedDates=[],this.views={},this.keys=[],this.rangeDateFrom="",this.rangeDateTo="",this.timepickerIsActive=!1,this.treatAsInline=this.opts.inline||!this.elIsInput,this.init();}init(){let{opts:e,treatAsInline:t,opts:{inline:i,isMobile:s,selectedDates:a,keyboardNav:r,onlyTimepicker:h}}=this;var o;K||i||!this.elIsInput||(K=!0,P=n({className:o=j.defaultContainerId,id:o}),R.appendChild(P)),!s||B||t||this._createMobileOverlay(),this._handleLocale(),this._bindSubEvents(),this._createMinMaxDates(),this._limitViewDateByMaxMinDates(),this.elIsInput&&(i||this._bindEvents(),r&&!h&&(this.keyboardNav=new A({dp:this,opts:e}))),a&&this.selectDate(a,{silent:!0}),this.opts.visible&&!t&&this.show(),s&&!t&&this.$el.setAttribute("readonly",!0),t&&this._createComponents();}_createMobileOverlay(){B=n({className:"air-datepicker-overlay"}),P.appendChild(B);}_createComponents(){let{opts:e,treatAsInline:t,opts:{inline:i,buttons:s,timepicker:a,position:n,classes:r,onlyTimepicker:h,isMobile:o}}=this;this._buildBaseHtml(),this.elIsInput&&(i||this._setPositionClasses(n)),!i&&this.elIsInput||this.$datepicker.classList.add("-inline-"),r&&this.$datepicker.classList.add(...r.split(" ")),h&&this.$datepicker.classList.add("-only-timepicker-"),o&&!t&&this._addMobileAttributes(),this.views[this.currentView]=new T({dp:this,type:this.currentView,opts:e}),this.nav=new V({dp:this,opts:e}),a&&this._addTimepicker(),s&&this._addButtons(),this.$content.appendChild(this.views[this.currentView].$el),this.$nav.appendChild(this.nav.$el);}_destroyComponents(){for(let e in this.views)this.views[e].destroy();this.views={},this.nav.destroy(),this.timepicker&&this.timepicker.destroy();}_addMobileAttributes(){B.addEventListener("click",this._onClickOverlay),this.$datepicker.classList.add("-is-mobile-"),this.$el.setAttribute("readonly",!0);}_removeMobileAttributes(){B.removeEventListener("click",this._onClickOverlay),this.$datepicker.classList.remove("-is-mobile-"),this.initialReadonly||""===this.initialReadonly||this.$el.removeAttribute("readonly");}_createMinMaxDates(){let{minDate:e,maxDate:t}=this.opts;this.minDate=!!e&&b(e),this.maxDate=!!t&&b(t);}_addTimepicker(){this.$timepicker=n({className:"air-datepicker--time"}),this.$datepicker.appendChild(this.$timepicker),this.timepicker=new O({dp:this,opts:this.opts}),this.$timepicker.appendChild(this.timepicker.$el);}_addButtons(){this.$buttons=n({className:"air-datepicker--buttons"}),this.$datepicker.appendChild(this.$buttons),this.buttons=new H({dp:this,opts:this.opts}),this.$buttons.appendChild(this.buttons.$el);}_bindSubEvents(){this.on(i.eventChangeSelectedDate,this._onChangeSelectedDate),this.on(i.eventChangeFocusDate,this._onChangeFocusedDate),this.on(i.eventChangeTime,this._onChangeTime);}_buildBaseHtml(){let{inline:e}=this.opts;var t,i;this.elIsInput?e?(t=this.$datepicker,(i=this.$el).parentNode.insertBefore(t,i.nextSibling)):this.$container.appendChild(this.$datepicker):this.$el.appendChild(this.$datepicker),this.$datepicker.innerHTML='<i class="air-datepicker--pointer"></i><div class="air-datepicker--navigation"></div><div class="air-datepicker--content"></div>',this.$content=a(".air-datepicker--content",this.$datepicker),this.$pointer=a(".air-datepicker--pointer",this.$datepicker),this.$nav=a(".air-datepicker--navigation",this.$datepicker);}_handleLocale(){let{locale:e,dateFormat:t,firstDay:i,timepicker:s,onlyTimepicker:a,timeFormat:n,dateTimeSeparator:r}=this.opts;var h;this.locale=(h=e,JSON.parse(JSON.stringify(h))),t&&(this.locale.dateFormat=t),void 0!==n&&""!==n&&(this.locale.timeFormat=n);let{timeFormat:o}=this.locale;if(""!==i&&(this.locale.firstDay=i),s&&"function"!=typeof t){let e=o?r:"";this.locale.dateFormat=[this.locale.dateFormat,o||""].join(e);}a&&"function"!=typeof t&&(this.locale.dateFormat=this.locale.timeFormat);}_setPositionClasses(e){if("function"==typeof e)return void this.$datepicker.classList.add("-custom-position-");let t=(e=e.split(" "))[0],i=e[1],s="air-datepicker -".concat(t,"-").concat(i,"- -from-").concat(t,"-");this.$datepicker.classList.add(...s.split(" "));}_bindEvents(){this.$el.addEventListener(this.opts.showEvent,this._onFocus),this.$el.addEventListener("blur",this._onBlur),this.$datepicker.addEventListener("mousedown",this._onMouseDown),this.$datepicker.addEventListener("mouseup",this._onMouseUp),window.addEventListener("resize",this._onResize);}_limitViewDateByMaxMinDates(){let{viewDate:e,minDate:t,maxDate:i}=this;i&&p(e,i)&&this.setViewDate(i),t&&m(e,t)&&this.setViewDate(t);}formatDate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.viewDate,t=arguments.length>1?arguments[1]:void 0;if(e=b(e),!(e instanceof Date))return;let i=t,s=this.locale,a=o(e),n=d(e),r=j.replacer,h="am";this.opts.timepicker&&this.timepicker&&(h=this.timepicker.getDayPeriod(e).dayPeriod);let l={T:e.getTime(),m:a.minutes,mm:a.fullMinutes,h:a.hours12,hh:a.fullHours12,H:a.hours,HH:a.fullHours,aa:h,AA:h.toUpperCase(),E:s.daysShort[a.day],EEEE:s.days[a.day],d:a.date,dd:a.fullDate,M:a.month+1,MM:a.fullMonth,MMM:s.monthsShort[a.month],MMMM:s.months[a.month],yy:a.year.toString().slice(-2),yyyy:a.year,yyyy1:n[0],yyyy2:n[1]};for(let[e,t]of Object.entries(l))i=r(i,k(e),t);return i}down(e){this._handleUpDownActions(e,"down");}up(e){this._handleUpDownActions(e,"up");}selectDate(e){let t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{currentView:a,parsedViewDate:n,selectedDates:r}=this,{updateTime:h}=s,{moveToOtherMonthsOnSelect:o,moveToOtherYearsOnSelect:l,multipleDates:d,range:c,autoClose:u}=this.opts,m=r.length;if(Array.isArray(e))return e.forEach((e=>{this.selectDate(e,s);})),new Promise((e=>{setTimeout(e);}));if((e=b(e))instanceof Date){if(a===i.days&&e.getMonth()!==n.month&&o&&(t=new Date(e.getFullYear(),e.getMonth(),1)),a===i.years&&e.getFullYear()!==n.year&&l&&(t=new Date(e.getFullYear(),0,1)),t&&this.setViewDate(t),d&&!c){if(m===d)return;this._checkIfDateIsSelected(e)||r.push(e);}else if(c)switch(m){case 1:r.push(e),this.rangeDateTo||(this.rangeDateTo=e),p(this.rangeDateFrom,this.rangeDateTo)&&(this.rangeDateTo=this.rangeDateFrom,this.rangeDateFrom=e),this.selectedDates=[this.rangeDateFrom,this.rangeDateTo];break;case 2:this.selectedDates=[e],this.rangeDateFrom=e,this.rangeDateTo="";break;default:this.selectedDates=[e],this.rangeDateFrom=e;}else this.selectedDates=[e];return this.trigger(i.eventChangeSelectedDate,{action:i.actionSelectDate,silent:null==s?void 0:s.silent,date:e,updateTime:h}),this._updateLastSelectedDate(e),u&&!this.timepickerIsActive&&this.visible&&(d||c?c&&1===m&&this.hide():this.hide()),new Promise((e=>{setTimeout(e);}))}}unselectDate(e){let t=this.selectedDates,s=this;if((e=b(e))instanceof Date)return t.some(((a,n)=>{if(u(a,e))return t.splice(n,1),s.selectedDates.length?s._updateLastSelectedDate(s.selectedDates[s.selectedDates.length-1]):(s.rangeDateFrom="",s.rangeDateTo="",s._updateLastSelectedDate(!1)),this.trigger(i.eventChangeSelectedDate,{action:i.actionUnselectDate,date:e}),!0}))}replaceDate(e,t){let s=this.selectedDates.find((t=>u(t,e,this.currentView))),a=this.selectedDates.indexOf(s);a<0||u(this.selectedDates[a],t,this.currentView)||(this.selectedDates[a]=t,this.trigger(i.eventChangeSelectedDate,{action:i.actionSelectDate,date:t,updateTime:!0}),this._updateLastSelectedDate(t));}clear(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.selectedDates=[],this.rangeDateFrom=!1,this.rangeDateTo=!1,this.trigger(i.eventChangeSelectedDate,{action:i.actionUnselectDate,silent:e.silent}),new Promise((e=>{setTimeout(e);}))}show(){let{onShow:e,isMobile:t}=this.opts;this._cancelScheduledCall(),this.visible||this.hideAnimation||this._createComponents(),this.setPosition(this.opts.position),this.$datepicker.classList.add("-active-"),this.visible=!0,e&&this._scheduleCallAfterTransition(e),t&&this._showMobileOverlay();}hide(){let{onHide:e,isMobile:t}=this.opts,i=this._hasTransition();this.visible=!1,this.hideAnimation=!0,this.$datepicker.classList.remove("-active-"),this.customHide&&this.customHide(),this.elIsInput&&this.$el.blur(),this._scheduleCallAfterTransition((t=>{!this.customHide&&(t&&i||!t&&!i)&&this._finishHide(),e&&e(t);})),t&&B.classList.remove("-active-");}_triggerOnSelect(){let e=[],t=[],{selectedDates:i,locale:s,opts:{onSelect:a,multipleDates:n,range:r}}=this,h=n||r,o="function"==typeof s.dateFormat;i.length&&(e=i.map(g),t=o?n?s.dateFormat(e):e.map((e=>s.dateFormat(e))):e.map((e=>this.formatDate(e,s.dateFormat)))),a({date:h?e:e[0],formattedDate:h?t:t[0],datepicker:this});}_handleAlreadySelectedDates(e,t){let{range:i,toggleSelected:s}=this.opts;i?s?this.unselectDate(t):2!==this.selectedDates.length&&this.selectDate(t):s&&this.unselectDate(t),s||this._updateLastSelectedDate(e);}_handleUpDownActions(e,t){if(!((e=b(e||this.focusDate||this.viewDate))instanceof Date))return;let i="up"===t?this.viewIndex+1:this.viewIndex-1;i>2&&(i=2),i<0&&(i=0),this.setViewDate(new Date(e.getFullYear(),e.getMonth(),1)),this.setCurrentView(this.viewIndexes[i]);}_handleRangeOnFocus(){1===this.selectedDates.length&&(p(this.selectedDates[0],this.focusDate)?(this.rangeDateTo=this.selectedDates[0],this.rangeDateFrom=this.focusDate):(this.rangeDateTo=this.focusDate,this.rangeDateFrom=this.selectedDates[0]));}getCell(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.day;if(!((e=b(e))instanceof Date))return;let{year:s,month:a,date:n}=o(e),r='[data-year="'.concat(s,'"]'),h='[data-month="'.concat(a,'"]'),l='[data-date="'.concat(n,'"]'),d={[i.day]:"".concat(r).concat(h).concat(l),[i.month]:"".concat(r).concat(h),[i.year]:"".concat(r)};return this.views[this.currentView].$el.querySelector(d[t])}_showMobileOverlay(){B.classList.add("-active-");}_hasTransition(){return window.getComputedStyle(this.$datepicker).getPropertyValue("transition-duration").split(", ").reduce(((e,t)=>parseFloat(t)+e),0)>0}get shouldUpdateDOM(){return this.visible||this.treatAsInline}get parsedViewDate(){return o(this.viewDate)}get currentViewSingular(){return this.currentView.slice(0,-1)}get curDecade(){return d(this.viewDate)}get viewIndex(){return this.viewIndexes.indexOf(this.currentView)}get isFinalView(){return this.currentView===i.years}get hasSelectedDates(){return this.selectedDates.length>0}get isMinViewReached(){return this.currentView===this.opts.minView||this.currentView===i.days}get $container(){return this.$customContainer||P}static replacer(e,t,i){return e.replace(t,(function(e,t,s,a){return t+i+a}))}}var U;return I(j,"defaults",s),I(j,"version","3.3.0"),I(j,"defaultContainerId","air-datepicker-global-container"),U=j.prototype,Object.assign(U,N),t.default}()}));
|
|
6
|
-
});
|
|
7
|
-
|
|
8
|
-
var en = createCommonjsModule(function (module, exports) {
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, "__esModule", {
|
|
11
|
-
value: true
|
|
12
|
-
});
|
|
13
|
-
exports.default = void 0;
|
|
14
|
-
var _default = {
|
|
15
|
-
days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
16
|
-
daysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
17
|
-
daysMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
|
18
|
-
months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
|
19
|
-
monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
|
20
|
-
today: 'Today',
|
|
21
|
-
clear: 'Clear',
|
|
22
|
-
dateFormat: 'MM/dd/yyyy',
|
|
23
|
-
timeFormat: 'hh:mm aa',
|
|
24
|
-
firstDay: 0
|
|
25
|
-
};
|
|
26
|
-
exports.default = _default;
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
const localeEn = /*@__PURE__*/getDefaultExportFromCjs(en);
|
|
30
|
-
|
|
31
|
-
const swirlDatePickerCss = ":host{display:block}:host *{box-sizing:border-box}.date-picker{padding:var(--s-space-8) var(--s-space-16);background-color:var(--s-surface-overlay-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);letter-spacing:var(--s-letter-spacing-tighter)}@media (min-width: 768px){.date-picker{max-width:17.5rem}}.air-datepicker--pointer{display:none}.air-datepicker-nav{display:flex;margin-bottom:var(--s-space-8);align-items:center}.air-datepicker-nav--action{position:relative;display:inline-flex;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border-radius:50%;color:var(--s-icon-highlight);cursor:pointer;order:2}.air-datepicker-nav--action:hover{background-color:var(--s-surface-overlay-hovered)}.air-datepicker-nav--title{padding:var(--s-space-8);flex-grow:1;border-radius:var(--s-border-radius-s);font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left;cursor:pointer;order:0}.air-datepicker-nav--title i{font-style:normal}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.air-datepicker-nav--title{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.air-datepicker-body--day-names{display:flex;margin-bottom:var(--s-space-8);justify-content:space-between;align-items:center}.air-datepicker-body--day-name{display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;color:var(--s-text-subdued);aspect-ratio:1}.air-datepicker-body--cells{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:space-between}.air-datepicker-body--cells.-months-{gap:var(--s-space-2)}.air-datepicker-cell{position:relative;display:inline-flex;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;font-weight:var(--s-font-weight-medium);cursor:pointer;aspect-ratio:1}.air-datepicker-cell:not(.-month-):not(.-year-):not(.-in-range-):hover:before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-overlay-hovered);content:\"\";inset:0}.air-datepicker-cell.-month-,.air-datepicker-cell.-year-{height:2.5rem;flex-basis:calc(100 / 3 * 1% - var(--s-space-2) * 2);border-radius:var(--s-border-radius-s);aspect-ratio:auto}.air-datepicker-cell.-month-.-in-range-:before,.air-datepicker-cell.-year-.-in-range-:before{border-radius:var(--s-border-radius-s)}.air-datepicker-cell.-month-:hover:not(.-in-range-):not(.-selected-),.air-datepicker-cell.-year-:hover:not(.-in-range-):not(.-selected-){background-color:var(--s-surface-overlay-hovered)}.air-datepicker-cell.-other-month-{color:var(--s-text-subdued)}.air-datepicker-cell.-current-:not(.-month-):not(.-year-):after{position:absolute;z-index:-1;border:var(--s-border-width-default) solid var(--s-border-highlight);border-radius:50%;content:\"\";inset:0}.air-datepicker-cell.-selected-{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-selected-.-year-,.air-datepicker-cell.-selected-.-month-{background-color:var(--s-surface-highlight-default)}.air-datepicker-cell.-selected-:not(.-month-):not(.-year-):not(.-in-range-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:\"\";inset:0}.air-datepicker-cell.-disabled-{color:var(--s-text-subdued);cursor:default}.air-datepicker-cell.-disabled-:hover{background-color:transparent}.air-datepicker-cell.-in-range-:before{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:\"\";inset:0}.air-datepicker-cell.-range-from-:not(.-month-):not(.-year-):not(.-range-to-):after{position:absolute;z-index:-1;top:0.0625rem;right:0;bottom:0.0625rem;left:50%;border-radius:0;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):hover{color:var(--s-text-on-surface-highlight)}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):before{position:absolute;z-index:-1;border-radius:50%;background-color:var(--s-surface-highlight-default);content:\"\";inset:0}.air-datepicker-cell.-range-to-:not(.-month-):not(.-year-):not(.-range-from-):after{position:absolute;z-index:-1;top:0.0625rem;right:50%;bottom:0.0625rem;left:0;border-radius:0;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2}.-hidden-{display:none}";
|
|
4
|
+
const swirlDatePickerCss = ":host{display:block}:host *{box-sizing:border-box}.date-picker{padding:var(--s-space-8) var(--s-space-16);background-color:var(--s-surface-overlay-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);letter-spacing:var(--s-letter-spacing-tighter)}@media (min-width: 768px){.date-picker{max-width:17.5rem}}.date-picker__header{display:flex;margin-bottom:var(--s-space-8);align-items:center}.date-picker__current-month{display:flex;padding:var(--s-space-8);flex-grow:1;align-items:center;order:1;gap:var(--s-space-4)}.date-picker__next-month-button,.date-picker__previous-month-button{position:relative;display:inline-flex;width:2.5rem;height:2.5rem;margin:0;padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-highlight);background-color:transparent;cursor:pointer}.date-picker__next-month-button:after,.date-picker__previous-month-button:after{position:absolute;background-color:currentColor;content:\"\";inset:0;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.date-picker__next-month-button:hover,.date-picker__previous-month-button:hover{background-color:var(--s-surface-overlay-hovered)}.date-picker__next-month-button:focus:not(:focus-visible),.date-picker__previous-month-button:focus:not(:focus-visible){outline:none}.date-picker__next-month-button:focus-visible,.date-picker__previous-month-button:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-picker__next-month-button>svg,.date-picker__previous-month-button>svg{display:none}.date-picker__next-month-button{order:3}.date-picker__next-month-button:after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E\")}.date-picker__previous-month-button{order:2}.date-picker__previous-month-button:after{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E\")}.date-picker__month-select,.date-picker__year-select{margin:0;padding:0;border:none;background-color:var(--s-surface-overlay-default);font:inherit;font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left;cursor:pointer}.date-picker__month-select:focus:not(:focus-visible),.date-picker__year-select:focus:not(:focus-visible){outline:none}.date-picker__month-select:focus-visible,.date-picker__year-select:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-picker__month-select,.date-picker__year-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.date-picker__month-select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.date-picker__year-select{max-width:4rem}.date-picker__calendar{display:block;width:100%}.date-picker__calendar tbody{display:block}.date-picker__calendar-header{display:block}.date-picker__weekday-row,.date-picker__calendar-row{display:flex}.date-picker__weekday-row{margin-bottom:var(--s-space-8)}.date-picker__weekday{display:inline-flex;min-width:2.25rem;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;color:var(--s-text-subdued);font-weight:var(--s-font-weight-regular);aspect-ratio:1}.date-picker__date{position:relative;z-index:1;display:inline-flex;min-width:2.25rem;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;font-weight:var(--s-font-weight-medium);cursor:pointer;aspect-ratio:1}.date-picker__date:before{position:absolute;z-index:-1;border-radius:50%;background-color:transparent;content:\"\";inset:0}.date-picker__date:hover:before{background-color:var(--s-surface-overlay-hovered)}.date-picker__date--current:before{background-color:var(--s-surface-overlay-hovered)}.date-picker__date--current:focus:not(:focus-visible){outline:none}.date-picker__date--current:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-picker__date--selected{color:var(--s-text-on-surface-highlight)}.date-picker__date--selected:before{background-color:var(--s-surface-highlight-default)}.date-picker__date--selected:hover{color:var(--s-text-on-surface-highlight)}.date-picker__date--selected:hover:before{background-color:var(--s-surface-highlight-default)}.date-picker__date--selected>strong{font-weight:var(--s-font-weight-medium)}.date-picker__date--in-range:not(.date-picker__date--selected):after{position:absolute;border-radius:0px;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2;inset:0.0625rem 0px}.date-picker__date--start:not(.date-picker__date--end){color:var(--s-text-on-surface-highlight)}.date-picker__date--start:not(.date-picker__date--end):before{background-color:var(--s-surface-highlight-default)}.date-picker__date--start:not(.date-picker__date--end):after{position:absolute;z-index:-1;border-radius:0;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2;inset:0.0625rem 0 0.0625rem 50%}.date-picker__date--end:not(.date-picker__date--start){color:var(--s-text-on-surface-highlight)}.date-picker__date--end:not(.date-picker__date--start):before{background-color:var(--s-surface-highlight-default)}.date-picker__date--end:not(.date-picker__date--start):after{position:absolute;z-index:-1;border-radius:0;background-color:var(--s-surface-highlight-default);content:\"\";opacity:0.2;inset:0.0625rem 50% 0.0625rem 0}.date-picker__date--overflowing{color:var(--s-text-subdued)}.date-picker__date--today:before{box-shadow:inset 0 0 0 var(--s-border-width-default)\n var(--s-border-highlight)}.date-picker__date--today>em{font-style:normal}";
|
|
32
5
|
|
|
33
6
|
const SwirlDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
34
7
|
constructor() {
|
|
@@ -36,70 +9,33 @@ const SwirlDatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
36
9
|
this.__registerHost();
|
|
37
10
|
this.__attachShadow();
|
|
38
11
|
this.valueChange = createEvent(this, "valueChange", 3);
|
|
39
|
-
this.locale = localeEn;
|
|
40
12
|
this.onClick = (event) => {
|
|
41
13
|
event.stopPropagation();
|
|
42
14
|
event.preventDefault();
|
|
43
15
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
(_a = this.picker) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
58
|
-
let selectedDates;
|
|
59
|
-
if (this.value === undefined) {
|
|
60
|
-
selectedDates = undefined;
|
|
61
|
-
}
|
|
62
|
-
else if (Array.isArray(this.value)) {
|
|
63
|
-
selectedDates = this.value;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
selectedDates = [this.value];
|
|
67
|
-
}
|
|
68
|
-
this.picker = new airDatepicker(this.containerEl, {
|
|
69
|
-
classes: "date-picker",
|
|
70
|
-
inline: true,
|
|
71
|
-
locale: this.locale,
|
|
72
|
-
maxDate: this.maxDate,
|
|
73
|
-
minDate: this.minDate,
|
|
74
|
-
minView: "days",
|
|
75
|
-
nextHtml: "<swirl-icon-chevron-right></swirl-icon-chevron-right>",
|
|
76
|
-
onSelect: ({ date }) => {
|
|
77
|
-
this.valueChange.emit(date);
|
|
78
|
-
},
|
|
79
|
-
prevHtml: "<swirl-icon-chevron-left></swirl-icon-chevron-left>",
|
|
80
|
-
range: this.range,
|
|
81
|
-
selectedDates,
|
|
82
|
-
startDate: this.startDate,
|
|
83
|
-
toggleSelected: !this.range,
|
|
84
|
-
view: "days",
|
|
85
|
-
});
|
|
16
|
+
this.onSelectDate = (event) => {
|
|
17
|
+
if (typeof event.detail === "string") {
|
|
18
|
+
this.valueChange.emit(new Date(event.detail));
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
this.valueChange.emit(event.detail.map((date) => new Date(date)));
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.labels = undefined;
|
|
25
|
+
this.locale = "en-US";
|
|
26
|
+
this.range = undefined;
|
|
27
|
+
this.startDate = undefined;
|
|
28
|
+
this.value = undefined;
|
|
86
29
|
}
|
|
87
30
|
render() {
|
|
88
|
-
|
|
31
|
+
const startDate = this.startDate instanceof Date ? this.startDate.toISOString() : undefined;
|
|
32
|
+
return (h(Host, { onClick: this.onClick }, h("wc-datepicker", { elementClassName: "date-picker", labels: this.labels, locale: this.locale, onSelectDate: this.onSelectDate, range: this.range, startDate: startDate, value: this.value })));
|
|
89
33
|
}
|
|
90
|
-
|
|
91
|
-
"locale": ["watchProps"],
|
|
92
|
-
"maxDate": ["watchProps"],
|
|
93
|
-
"minDate": ["watchProps"],
|
|
94
|
-
"range": ["watchProps"],
|
|
95
|
-
"startDate": ["watchProps"],
|
|
96
|
-
"value": ["watchProps"]
|
|
97
|
-
}; }
|
|
34
|
+
get el() { return this; }
|
|
98
35
|
static get style() { return swirlDatePickerCss; }
|
|
99
36
|
}, [1, "swirl-date-picker", {
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"minDate": [16],
|
|
37
|
+
"labels": [16],
|
|
38
|
+
"locale": [1],
|
|
103
39
|
"range": [4],
|
|
104
40
|
"startDate": [16],
|
|
105
41
|
"value": [1040]
|
|
@@ -108,15 +44,19 @@ function defineCustomElement() {
|
|
|
108
44
|
if (typeof customElements === "undefined") {
|
|
109
45
|
return;
|
|
110
46
|
}
|
|
111
|
-
const components = ["swirl-date-picker"];
|
|
47
|
+
const components = ["swirl-date-picker", "wc-datepicker"];
|
|
112
48
|
components.forEach(tagName => { switch (tagName) {
|
|
113
49
|
case "swirl-date-picker":
|
|
114
50
|
if (!customElements.get(tagName)) {
|
|
115
51
|
customElements.define(tagName, SwirlDatePicker);
|
|
116
52
|
}
|
|
117
53
|
break;
|
|
54
|
+
case "wc-datepicker":
|
|
55
|
+
if (!customElements.get(tagName)) {
|
|
56
|
+
defineCustomElement$1();
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
118
59
|
} });
|
|
119
60
|
}
|
|
120
|
-
defineCustomElement();
|
|
121
61
|
|
|
122
62
|
export { SwirlDatePicker as S, defineCustomElement as d };
|
|
@@ -7,6 +7,7 @@ const SwirlDescriptionListItem$1 = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.__attachShadow();
|
|
10
|
+
this.term = undefined;
|
|
10
11
|
}
|
|
11
12
|
render() {
|
|
12
13
|
return (h(Host, null, h("div", { class: "description-list-item", part: "description-list-item" }, h("dt", { class: "description-list-item__term", part: "description-list-item__term" }, this.term), h("dd", { class: "description-list-item__description" }, h("slot", null)))));
|
|
@@ -28,7 +29,6 @@ function defineCustomElement$1() {
|
|
|
28
29
|
break;
|
|
29
30
|
} });
|
|
30
31
|
}
|
|
31
|
-
defineCustomElement$1();
|
|
32
32
|
|
|
33
33
|
const SwirlDescriptionListItem = SwirlDescriptionListItem$1;
|
|
34
34
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -14,8 +14,6 @@ const SwirlDialog$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
this.primaryAction = createEvent(this, "primaryAction", 7);
|
|
16
16
|
this.secondaryAction = createEvent(this, "secondaryAction", 7);
|
|
17
|
-
this.intent = "primary";
|
|
18
|
-
this.closing = false;
|
|
19
17
|
this.onKeyDown = (event) => {
|
|
20
18
|
if (event.code === "Escape") {
|
|
21
19
|
this.close();
|
|
@@ -32,6 +30,12 @@ const SwirlDialog$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
32
30
|
this.secondaryAction.emit(event);
|
|
33
31
|
this.close();
|
|
34
32
|
};
|
|
33
|
+
this.hideLabel = undefined;
|
|
34
|
+
this.intent = "primary";
|
|
35
|
+
this.label = undefined;
|
|
36
|
+
this.primaryActionLabel = undefined;
|
|
37
|
+
this.secondaryActionLabel = undefined;
|
|
38
|
+
this.closing = false;
|
|
35
39
|
}
|
|
36
40
|
componentDidLoad() {
|
|
37
41
|
this.dialog = new A11yDialog(this.dialogEl);
|
|
@@ -107,7 +111,6 @@ function defineCustomElement$1() {
|
|
|
107
111
|
break;
|
|
108
112
|
} });
|
|
109
113
|
}
|
|
110
|
-
defineCustomElement$1();
|
|
111
114
|
|
|
112
115
|
const SwirlDialog = SwirlDialog$1;
|
|
113
116
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -9,6 +9,8 @@ const SwirlEmptyState = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
11
|
this.__attachShadow();
|
|
12
|
+
this.heading = undefined;
|
|
13
|
+
this.illustration = undefined;
|
|
12
14
|
}
|
|
13
15
|
render() {
|
|
14
16
|
return (h(Host, null, h("div", { class: "empty-state" }, this.illustration && (h("img", { alt: "", class: "empty-state__illustration", src: this.illustration })), h("div", { class: "empty-state__body" }, this.heading && (h("swirl-heading", { align: "center", as: "p", text: this.heading })), h("div", { class: "empty-state__content" }, h("swirl-text", { align: "center", color: "subdued" }, h("slot", null)))))));
|
|
@@ -41,6 +43,5 @@ function defineCustomElement() {
|
|
|
41
43
|
break;
|
|
42
44
|
} });
|
|
43
45
|
}
|
|
44
|
-
defineCustomElement();
|
|
45
46
|
|
|
46
47
|
export { SwirlEmptyState as S, defineCustomElement as d };
|
|
@@ -10,10 +10,6 @@ const SwirlFileUploader$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
10
10
|
super();
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
this.valueChange = createEvent(this, "valueChange", 7);
|
|
13
|
-
this.ctaLabel = "Click to upload";
|
|
14
|
-
this.dragDropLabel = "or drag and drop.";
|
|
15
|
-
this.showDropzone = true;
|
|
16
|
-
this.uploadButtonLabel = "Select file";
|
|
17
13
|
this.onChange = (event) => {
|
|
18
14
|
const fileList = event.target.files;
|
|
19
15
|
this.valueChange.emit(fileList);
|
|
@@ -21,6 +17,17 @@ const SwirlFileUploader$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
21
17
|
this.onUploadButtonClick = () => {
|
|
22
18
|
this.inputEl.click();
|
|
23
19
|
};
|
|
20
|
+
this.accept = undefined;
|
|
21
|
+
this.ctaLabel = "Click to upload";
|
|
22
|
+
this.description = undefined;
|
|
23
|
+
this.disabled = undefined;
|
|
24
|
+
this.dragDropLabel = "or drag and drop.";
|
|
25
|
+
this.inputId = undefined;
|
|
26
|
+
this.inputName = undefined;
|
|
27
|
+
this.label = undefined;
|
|
28
|
+
this.multiple = undefined;
|
|
29
|
+
this.showDropzone = true;
|
|
30
|
+
this.uploadButtonLabel = "Select file";
|
|
24
31
|
}
|
|
25
32
|
/**
|
|
26
33
|
* Reset the file input.
|
|
@@ -80,7 +87,6 @@ function defineCustomElement$1() {
|
|
|
80
87
|
break;
|
|
81
88
|
} });
|
|
82
89
|
}
|
|
83
|
-
defineCustomElement$1();
|
|
84
90
|
|
|
85
91
|
const SwirlFileUploader = SwirlFileUploader$1;
|
|
86
92
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -8,6 +8,9 @@ const SwirlFileViewerAudio = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
this.activate = createEvent(this, "activate", 7);
|
|
11
|
+
this.autoplay = undefined;
|
|
12
|
+
this.file = undefined;
|
|
13
|
+
this.type = undefined;
|
|
11
14
|
}
|
|
12
15
|
componentDidLoad() {
|
|
13
16
|
this.activate.emit(this.el);
|
|
@@ -35,6 +38,5 @@ function defineCustomElement() {
|
|
|
35
38
|
break;
|
|
36
39
|
} });
|
|
37
40
|
}
|
|
38
|
-
defineCustomElement();
|
|
39
41
|
|
|
40
42
|
export { SwirlFileViewerAudio as S, defineCustomElement as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as createCommonjsModule, b as commonjsGlobal } from './index2.js';
|
|
3
3
|
import { d as defineCustomElement$4 } from './swirl-icon-error2.js';
|
|
4
4
|
import { d as defineCustomElement$3 } from './swirl-inline-error2.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './swirl-spinner2.js';
|
|
@@ -24,6 +24,10 @@ const SwirlFileViewerCsv = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
24
24
|
this.__attachShadow();
|
|
25
25
|
this.activate = createEvent(this, "activate", 7);
|
|
26
26
|
this.errorMessage = "File could not be loaded.";
|
|
27
|
+
this.file = undefined;
|
|
28
|
+
this.data = undefined;
|
|
29
|
+
this.error = undefined;
|
|
30
|
+
this.loading = undefined;
|
|
27
31
|
}
|
|
28
32
|
componentWillLoad() {
|
|
29
33
|
this.updateTable();
|
|
@@ -104,6 +108,5 @@ function defineCustomElement() {
|
|
|
104
108
|
break;
|
|
105
109
|
} });
|
|
106
110
|
}
|
|
107
|
-
defineCustomElement();
|
|
108
111
|
|
|
109
112
|
export { SwirlFileViewerCsv as S, defineCustomElement as d };
|
|
@@ -12,10 +12,6 @@ const SwirlFileViewerImage = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
14
|
this.activate = createEvent(this, "activate", 7);
|
|
15
|
-
this.description = "";
|
|
16
|
-
this.errorMessage = "File could not be loaded.";
|
|
17
|
-
this.maxZoom = 3;
|
|
18
|
-
this.loading = true;
|
|
19
15
|
this.panX = 0;
|
|
20
16
|
this.panY = 0;
|
|
21
17
|
this.zoom = 1;
|
|
@@ -163,6 +159,12 @@ const SwirlFileViewerImage = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
163
159
|
this.endPan = () => {
|
|
164
160
|
this.panning = false;
|
|
165
161
|
};
|
|
162
|
+
this.description = "";
|
|
163
|
+
this.errorMessage = "File could not be loaded.";
|
|
164
|
+
this.file = undefined;
|
|
165
|
+
this.maxZoom = 3;
|
|
166
|
+
this.error = undefined;
|
|
167
|
+
this.loading = true;
|
|
166
168
|
}
|
|
167
169
|
componentDidLoad() {
|
|
168
170
|
this.activate.emit(this.el);
|
|
@@ -236,6 +238,5 @@ function defineCustomElement() {
|
|
|
236
238
|
break;
|
|
237
239
|
} });
|
|
238
240
|
}
|
|
239
|
-
defineCustomElement();
|
|
240
241
|
|
|
241
242
|
export { SwirlFileViewerImage as S, defineCustomElement as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as createCommonjsModule, b as commonjsGlobal, g as getAugmentedNamespace, d as getDefaultExportFromCjs, e as commonjsRequire } from './index2.js';
|
|
3
3
|
import { d as debounce, a as getVisibleHeight, i as isMobileViewport } from './utils.js';
|
|
4
4
|
import { d as defineCustomElement$4 } from './swirl-icon-error2.js';
|
|
5
5
|
import { d as defineCustomElement$3 } from './swirl-inline-error2.js';
|
|
@@ -29515,13 +29515,6 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
29515
29515
|
this.__registerHost();
|
|
29516
29516
|
this.__attachShadow();
|
|
29517
29517
|
this.activate = createEvent(this, "activate", 7);
|
|
29518
|
-
this.errorMessage = "File could not be loaded.";
|
|
29519
|
-
this.zoom = 1;
|
|
29520
|
-
this.loading = true;
|
|
29521
|
-
this.renderedPages = [];
|
|
29522
|
-
this.scrolledDown = false;
|
|
29523
|
-
this.singlePageModePage = 1;
|
|
29524
|
-
this.visiblePages = [];
|
|
29525
29518
|
this.pages = [];
|
|
29526
29519
|
this.renderingPageNumbers = [];
|
|
29527
29520
|
this.recentScrollPosition = { x: 0, y: 0 };
|
|
@@ -29548,6 +29541,17 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
29548
29541
|
this.determineScrollStatus();
|
|
29549
29542
|
this.storeRecentScrollPosition();
|
|
29550
29543
|
}, 60);
|
|
29544
|
+
this.errorMessage = "File could not be loaded.";
|
|
29545
|
+
this.file = undefined;
|
|
29546
|
+
this.singlePageMode = undefined;
|
|
29547
|
+
this.zoom = 1;
|
|
29548
|
+
this.doc = undefined;
|
|
29549
|
+
this.error = undefined;
|
|
29550
|
+
this.loading = true;
|
|
29551
|
+
this.renderedPages = [];
|
|
29552
|
+
this.scrolledDown = false;
|
|
29553
|
+
this.singlePageModePage = 1;
|
|
29554
|
+
this.visiblePages = [];
|
|
29551
29555
|
}
|
|
29552
29556
|
async componentWillLoad() {
|
|
29553
29557
|
await this.getPages();
|
|
@@ -29852,6 +29856,5 @@ function defineCustomElement() {
|
|
|
29852
29856
|
break;
|
|
29853
29857
|
} });
|
|
29854
29858
|
}
|
|
29855
|
-
defineCustomElement();
|
|
29856
29859
|
|
|
29857
29860
|
export { SwirlFileViewerPdf as S, defineCustomElement as d };
|
|
@@ -13,6 +13,10 @@ const SwirlFileViewerText = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
13
13
|
this.__attachShadow();
|
|
14
14
|
this.activate = createEvent(this, "activate", 7);
|
|
15
15
|
this.errorMessage = "File could not be loaded.";
|
|
16
|
+
this.file = undefined;
|
|
17
|
+
this.error = undefined;
|
|
18
|
+
this.loading = undefined;
|
|
19
|
+
this.text = undefined;
|
|
16
20
|
}
|
|
17
21
|
componentWillLoad() {
|
|
18
22
|
this.updateText();
|
|
@@ -81,6 +85,5 @@ function defineCustomElement() {
|
|
|
81
85
|
break;
|
|
82
86
|
} });
|
|
83
87
|
}
|
|
84
|
-
defineCustomElement();
|
|
85
88
|
|
|
86
89
|
export { SwirlFileViewerText as S, defineCustomElement as d };
|
|
@@ -8,6 +8,9 @@ const SwirlFileViewerVideo = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
this.activate = createEvent(this, "activate", 7);
|
|
11
|
+
this.autoplay = undefined;
|
|
12
|
+
this.file = undefined;
|
|
13
|
+
this.type = undefined;
|
|
11
14
|
}
|
|
12
15
|
componentDidLoad() {
|
|
13
16
|
this.activate.emit(this.el);
|
|
@@ -35,6 +38,5 @@ function defineCustomElement() {
|
|
|
35
38
|
break;
|
|
36
39
|
} });
|
|
37
40
|
}
|
|
38
|
-
defineCustomElement();
|
|
39
41
|
|
|
40
42
|
export { SwirlFileViewerVideo as S, defineCustomElement as d };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as createCommonjsModule, b as commonjsGlobal } from './index2.js';
|
|
3
3
|
import { d as defineCustomElement$a } from './swirl-file-viewer-audio2.js';
|
|
4
4
|
import { d as defineCustomElement$9 } from './swirl-file-viewer-csv2.js';
|
|
5
5
|
import { d as defineCustomElement$8 } from './swirl-file-viewer-image2.js';
|
|
@@ -25,13 +25,17 @@ const SwirlFileViewer = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
25
25
|
this.__registerHost();
|
|
26
26
|
this.__attachShadow();
|
|
27
27
|
this.activate = createEvent(this, "activate", 7);
|
|
28
|
+
this.onActivate = (event) => {
|
|
29
|
+
this.activate.emit(event.detail);
|
|
30
|
+
};
|
|
28
31
|
this.active = true;
|
|
32
|
+
this.autoplay = undefined;
|
|
33
|
+
this.description = undefined;
|
|
29
34
|
this.errorMessage = "File could not be loaded.";
|
|
35
|
+
this.file = undefined;
|
|
36
|
+
this.type = undefined;
|
|
30
37
|
this.typeUnsupportedMessage = "File type is not supported.";
|
|
31
38
|
this.zoom = 1;
|
|
32
|
-
this.onActivate = (event) => {
|
|
33
|
-
this.activate.emit(event.detail);
|
|
34
|
-
};
|
|
35
39
|
}
|
|
36
40
|
/**
|
|
37
41
|
* Download the file.
|
|
@@ -135,6 +139,5 @@ function defineCustomElement() {
|
|
|
135
139
|
break;
|
|
136
140
|
} });
|
|
137
141
|
}
|
|
138
|
-
defineCustomElement();
|
|
139
142
|
|
|
140
143
|
export { SwirlFileViewer as S, defineCustomElement as d };
|