@getflip/swirl-components-react 0.533.0-beta-20261105095642 → 0.534.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/dist/index.40f84ddd.js +5107 -0
- package/dist/media-query.service-Bbqqduao.1b9c723b.js +17 -0
- package/dist/swirl-accordion-item.entry.080b6017.js +37 -0
- package/dist/swirl-accordion.entry.ccc8d30b.js +42 -0
- package/dist/swirl-action-list-section.entry.66d7ac8a.js +15 -0
- package/dist/swirl-action-list_2.entry.98b2525e.js +113 -0
- package/dist/swirl-app-bar.entry.cba1450d.js +49 -0
- package/dist/swirl-app-icon.entry.cca94b67.js +30 -0
- package/dist/swirl-app-layout.entry.ca8eccfa.js +212 -0
- package/dist/swirl-autocomplete.entry.e523e30d.js +117 -0
- package/dist/swirl-avatar-group.entry.6d394790.js +41 -0
- package/dist/swirl-avatar.entry.6f163a36.js +72 -0
- package/dist/swirl-badge.entry.7d901d54.js +19 -0
- package/dist/swirl-banner.entry.524d599a.js +51 -0
- package/dist/swirl-box.entry.15d8a828.js +118 -0
- package/dist/swirl-button-group.entry.3ed6401f.js +19 -0
- package/dist/swirl-button.entry.1494cdbf.js +61 -0
- package/dist/swirl-card.entry.c27ac0f5.js +50 -0
- package/dist/swirl-carousel-slide.entry.7ddfcfd0.js +23 -0
- package/dist/swirl-carousel.entry.87cc38fb.js +91 -0
- package/dist/swirl-checkbox.entry.76e079e4.js +28 -0
- package/dist/swirl-chip.entry.651bc746.js +40 -0
- package/dist/swirl-color-input.entry.d1d2abf7.js +271 -0
- package/dist/swirl-columns.entry.8959e8de.js +18 -0
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +39 -39
- package/dist/swirl-console-layout.entry.38c7fc91.js +93 -0
- package/dist/swirl-data-cell-stack.entry.6bf3c8d9.js +24 -0
- package/dist/swirl-data-cell.entry.178f9caa.js +34 -0
- package/dist/swirl-date-input.entry.c4f7fa01.js +147 -0
- package/dist/swirl-date-picker_2.entry.b5ed1200.js +48 -0
- package/dist/swirl-description-list-item.entry.f6a5e18f.js +24 -0
- package/dist/swirl-description-list.entry.519f3c5d.js +15 -0
- package/dist/swirl-dialog.entry.f20b42cd.js +80 -0
- package/dist/swirl-emoji-clap.entry.54e5d4da.js +17 -0
- package/dist/swirl-emoji-happy.entry.09d07f8b.js +17 -0
- package/dist/swirl-emoji-idea.entry.7ed87e47.js +17 -0
- package/dist/swirl-emoji-love.entry.117c72d0.js +17 -0
- package/dist/swirl-emoji-sad.entry.258f018c.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.e3c3b068.js +17 -0
- package/dist/swirl-emoji.entry.ea77d2b8.js +16 -0
- package/dist/swirl-empty-state.entry.5ce33c74.js +23 -0
- package/dist/swirl-file-chip.entry.63d8a8c6.js +67 -0
- package/dist/swirl-file-uploader.entry.7879ad3a.js +31 -0
- package/dist/swirl-file-viewer-audio_7.entry.b244dcab.js +18871 -0
- package/dist/swirl-file-viewer_7.entry.ee356e87.js +115 -0
- package/dist/swirl-form-control.entry.95f754fe.js +124 -0
- package/dist/swirl-form-group.entry.4c282e66.js +17 -0
- package/dist/swirl-heading.entry.094e707f.js +26 -0
- package/dist/swirl-icon-add-box.entry.c690a1b7.js +19 -0
- package/dist/swirl-icon-add-moderator.entry.89d28ae8.js +19 -0
- package/dist/swirl-icon-add-photo.entry.6a7f22ce.js +19 -0
- package/dist/swirl-icon-add-reaction.entry.1cd192fb.js +19 -0
- package/dist/swirl-icon-admin-panel-settings.entry.f7c81a1c.js +19 -0
- package/dist/swirl-icon-ai-filled.entry.5c9bb7b9.js +19 -0
- package/dist/swirl-icon-ai.entry.9d9027bb.js +19 -0
- package/dist/swirl-icon-api.entry.aadfc2fd.js +19 -0
- package/dist/swirl-icon-apparel.entry.1e905ce1.js +19 -0
- package/dist/swirl-icon-apps.entry.cca7b0b4.js +19 -0
- package/dist/swirl-icon-arrow-back_5.entry.3e98db8e.js +71 -0
- package/dist/swirl-icon-arrow-downward_2.entry.c6b7993e.js +32 -0
- package/dist/swirl-icon-arrow-left_3.entry.13ed016a.js +45 -0
- package/dist/swirl-icon-arrow-right-small.entry.529a172c.js +19 -0
- package/dist/swirl-icon-aspect-ratio.entry.1bdb6bad.js +19 -0
- package/dist/swirl-icon-attachment_6.entry.4fc16985.js +84 -0
- package/dist/swirl-icon-autorenew.entry.9a17cb1a.js +19 -0
- package/dist/swirl-icon-bar-chart.entry.2f36e24f.js +19 -0
- package/dist/swirl-icon-beach-access-filled.entry.d5d3bc1a.js +19 -0
- package/dist/swirl-icon-beach-access.entry.72846326.js +19 -0
- package/dist/swirl-icon-block.entry.8605f7d1.js +19 -0
- package/dist/swirl-icon-bold.entry.050ec8ba.js +19 -0
- package/dist/swirl-icon-bookmark-filled.entry.10a0d358.js +19 -0
- package/dist/swirl-icon-bookmark.entry.099adb94.js +19 -0
- package/dist/swirl-icon-calendar-add-on-filled.entry.81c674bb.js +19 -0
- package/dist/swirl-icon-calendar-respond.entry.818b5e71.js +19 -0
- package/dist/swirl-icon-calendar-today.entry.affb89d6.js +19 -0
- package/dist/swirl-icon-call-end.entry.11da0d30.js +19 -0
- package/dist/swirl-icon-call.entry.3a05b706.js +19 -0
- package/dist/swirl-icon-cancel-filled.entry.6f1390af.js +19 -0
- package/dist/swirl-icon-cancel-outline.entry.992f123c.js +19 -0
- package/dist/swirl-icon-cancel_4.entry.69970e3d.js +58 -0
- package/dist/swirl-icon-chat-bubble.entry.349d260a.js +19 -0
- package/dist/swirl-icon-chats-filled.entry.f9bd8d7d.js +19 -0
- package/dist/swirl-icon-chats.entry.25681e21.js +19 -0
- package/dist/swirl-icon-check-circle-filled.entry.e0776348.js +19 -0
- package/dist/swirl-icon-check-circle_2.entry.15d3440a.js +32 -0
- package/dist/swirl-icon-check-small_3.entry.87c31a31.js +78 -0
- package/dist/swirl-icon-check-strong.entry.aa2ec79f.js +19 -0
- package/dist/swirl-icon-check.entry.7f143eb0.js +19 -0
- package/dist/swirl-icon-checkbox-filled.entry.e76813d7.js +19 -0
- package/dist/swirl-icon-chevron-left.entry.2128a0cd.js +19 -0
- package/dist/swirl-icon-chevron-right_2.entry.7cf81be9.js +32 -0
- package/dist/swirl-icon-close-fullscreen.entry.6e1b2bb6.js +19 -0
- package/dist/swirl-icon-close-small.entry.8ddbb40b.js +19 -0
- package/dist/swirl-icon-close.entry.83413f5e.js +19 -0
- package/dist/swirl-icon-cloud-upload.entry.fd4c1728.js +19 -0
- package/dist/swirl-icon-co-present.entry.7cb202b8.js +19 -0
- package/dist/swirl-icon-code.entry.3e7eb739.js +19 -0
- package/dist/swirl-icon-column.entry.63d6cf9e.js +19 -0
- package/dist/swirl-icon-comment.entry.a030f428.js +19 -0
- package/dist/swirl-icon-contract-edit.entry.4d0a78a9.js +19 -0
- package/dist/swirl-icon-contrast.entry.4725d215.js +19 -0
- package/dist/swirl-icon-copy.entry.c94b45f8.js +19 -0
- package/dist/swirl-icon-crop.entry.9d5a0255.js +19 -0
- package/dist/swirl-icon-dark-mode.entry.148b4184.js +19 -0
- package/dist/swirl-icon-data-object.entry.6e8d3d83.js +19 -0
- package/dist/swirl-icon-date-range.entry.a3a9c8e0.js +19 -0
- package/dist/swirl-icon-delete.entry.fc37ccc9.js +19 -0
- package/dist/swirl-icon-deployed-code.entry.cdd554ed.js +19 -0
- package/dist/swirl-icon-description.entry.2886a699.js +19 -0
- package/dist/swirl-icon-desktop.entry.157bc30d.js +19 -0
- package/dist/swirl-icon-destruction.entry.4b42e44c.js +19 -0
- package/dist/swirl-icon-directory-filled.entry.50178cf7.js +19 -0
- package/dist/swirl-icon-directory.entry.4d4055ad.js +19 -0
- package/dist/swirl-icon-discover.entry.d7d445c6.js +19 -0
- package/dist/swirl-icon-dock-left.entry.887754d0.js +19 -0
- package/dist/swirl-icon-door-open.entry.2e44b1b9.js +19 -0
- package/dist/swirl-icon-dot.entry.7ac2dff8.js +19 -0
- package/dist/swirl-icon-double-arrow-right.entry.f62f6f4b.js +19 -0
- package/dist/swirl-icon-edit-note.entry.6e5861da.js +19 -0
- package/dist/swirl-icon-edit.entry.061922e8.js +19 -0
- package/dist/swirl-icon-emoji-mood.entry.ab0bfb16.js +19 -0
- package/dist/swirl-icon-emoji-satisfied.entry.6023fc9d.js +19 -0
- package/dist/swirl-icon-emoji-symbols.entry.0282dfda.js +19 -0
- package/dist/swirl-icon-end-series.entry.5ed5f970.js +19 -0
- package/dist/swirl-icon-error_3.entry.ed58122f.js +59 -0
- package/dist/swirl-icon-expand-more.entry.beac9767.js +19 -0
- package/dist/swirl-icon-experiment.entry.fa187768.js +19 -0
- package/dist/swirl-icon-fact-check.entry.e53d16b5.js +19 -0
- package/dist/swirl-icon-file.entry.72dcbb4b.js +19 -0
- package/dist/swirl-icon-filter.entry.91ec41c3.js +19 -0
- package/dist/swirl-icon-folder-shared.entry.fb109819.js +19 -0
- package/dist/swirl-icon-format-h-one.entry.5fc30825.js +19 -0
- package/dist/swirl-icon-format-list-bulleted.entry.299c5074.js +19 -0
- package/dist/swirl-icon-format-list-numbered.entry.fc8d2605.js +19 -0
- package/dist/swirl-icon-forward.entry.9de76939.js +19 -0
- package/dist/swirl-icon-front-hand.entry.1307a4e0.js +19 -0
- package/dist/swirl-icon-gif.entry.00eff81e.js +19 -0
- package/dist/swirl-icon-group-add.entry.e2b8aba1.js +19 -0
- package/dist/swirl-icon-group-assign.entry.0c36af65.js +19 -0
- package/dist/swirl-icon-groups-filled.entry.05769de1.js +19 -0
- package/dist/swirl-icon-groups.entry.14b194d6.js +19 -0
- package/dist/swirl-icon-hamburger-menu.entry.4caefbee.js +19 -0
- package/dist/swirl-icon-health-and-safety.entry.95463b39.js +19 -0
- package/dist/swirl-icon-help-filled.entry.4b7d020a.js +19 -0
- package/dist/swirl-icon-help.entry.e5f2c5dc.js +19 -0
- package/dist/swirl-icon-highlight.entry.fe00f8bc.js +19 -0
- package/dist/swirl-icon-history.entry.45de0848.js +19 -0
- package/dist/swirl-icon-home-filled.entry.84fd869f.js +19 -0
- package/dist/swirl-icon-home.entry.5ce8f15f.js +19 -0
- package/dist/swirl-icon-hr-resting.entry.99b051c7.js +19 -0
- package/dist/swirl-icon-improve-text.entry.df76ad94.js +19 -0
- package/dist/swirl-icon-info.entry.3b3c8a21.js +19 -0
- package/dist/swirl-icon-insert-below.entry.cf031804.js +19 -0
- package/dist/swirl-icon-insert-chart.entry.8a804893.js +19 -0
- package/dist/swirl-icon-insert-on-top.entry.a9924855.js +19 -0
- package/dist/swirl-icon-inventory-off.entry.b0434e3f.js +19 -0
- package/dist/swirl-icon-inventory.entry.1009ebda.js +19 -0
- package/dist/swirl-icon-iphone.entry.e30845ef.js +19 -0
- package/dist/swirl-icon-italic.entry.f5b590b8.js +19 -0
- package/dist/swirl-icon-key.entry.446007da.js +19 -0
- package/dist/swirl-icon-keyboard-hide.entry.9d3bbf45.js +19 -0
- package/dist/swirl-icon-keyboard.entry.26079326.js +19 -0
- package/dist/swirl-icon-language.entry.805925b0.js +19 -0
- package/dist/swirl-icon-light-mode.entry.cebf384d.js +19 -0
- package/dist/swirl-icon-like.entry.a6ccdc5b.js +19 -0
- package/dist/swirl-icon-link.entry.b3cba0aa.js +19 -0
- package/dist/swirl-icon-list-alt-check.entry.abb5a0dd.js +19 -0
- package/dist/swirl-icon-live.entry.2e552e45.js +19 -0
- package/dist/swirl-icon-load.entry.22177f67.js +19 -0
- package/dist/swirl-icon-location-on.entry.6894f371.js +19 -0
- package/dist/swirl-icon-lock-open.entry.f9f7af02.js +19 -0
- package/dist/swirl-icon-lock-person.entry.dc4e16bb.js +19 -0
- package/dist/swirl-icon-lock.entry.f8f7b99c.js +19 -0
- package/dist/swirl-icon-login.entry.930d646a.js +19 -0
- package/dist/swirl-icon-logout.entry.2715a6d8.js +19 -0
- package/dist/swirl-icon-long-text.entry.96987197.js +19 -0
- package/dist/swirl-icon-mail.entry.ec762f9d.js +19 -0
- package/dist/swirl-icon-manage-accounts.entry.fb4f9817.js +19 -0
- package/dist/swirl-icon-mark-chat-read.entry.6d2077f3.js +19 -0
- package/dist/swirl-icon-mark-chat-unread.entry.ff220f8f.js +19 -0
- package/dist/swirl-icon-mark-email-read.entry.927e865c.js +19 -0
- package/dist/swirl-icon-mention.entry.5e00b90a.js +19 -0
- package/dist/swirl-icon-menu-book-filled.entry.09c83220.js +19 -0
- package/dist/swirl-icon-menu-filled.entry.2ba51009.js +19 -0
- package/dist/swirl-icon-menu.entry.6a977ee5.js +19 -0
- package/dist/swirl-icon-message.entry.3ed8461f.js +19 -0
- package/dist/swirl-icon-mic-off.entry.f9937fb7.js +19 -0
- package/dist/swirl-icon-mic.entry.d61628cb.js +19 -0
- package/dist/swirl-icon-mobile-theft.entry.914da485.js +19 -0
- package/dist/swirl-icon-more-horizontal_2.entry.d5f4f19f.js +41 -0
- package/dist/swirl-icon-more-vertikal.entry.6be83bd8.js +19 -0
- package/dist/swirl-icon-news-filled.entry.72e3d7e1.js +19 -0
- package/dist/swirl-icon-news-off.entry.e80856d0.js +19 -0
- package/dist/swirl-icon-news.entry.441cc000.js +19 -0
- package/dist/swirl-icon-next-plan.entry.ab3c9c53.js +19 -0
- package/dist/swirl-icon-note-stack-filled.entry.786668a6.js +19 -0
- package/dist/swirl-icon-note-stack.entry.2da0b90e.js +19 -0
- package/dist/swirl-icon-notifications-active.entry.8bac12ce.js +19 -0
- package/dist/swirl-icon-notifications-off.entry.422b6b7b.js +19 -0
- package/dist/swirl-icon-notifications.entry.d955efbc.js +19 -0
- package/dist/swirl-icon-open-in-full.entry.e113acf2.js +19 -0
- package/dist/swirl-icon-passkey.entry.70dc6a33.js +19 -0
- package/dist/swirl-icon-password.entry.2dfa135d.js +19 -0
- package/dist/swirl-icon-patient-list.entry.91337398.js +19 -0
- package/dist/swirl-icon-pause-circle.entry.9ce773f2.js +19 -0
- package/dist/swirl-icon-pause.entry.b7148fe6.js +19 -0
- package/dist/swirl-icon-people-alt.entry.d3827820.js +19 -0
- package/dist/swirl-icon-person-check.entry.5640e63e.js +19 -0
- package/dist/swirl-icon-person-off.entry.d0c25996.js +19 -0
- package/dist/swirl-icon-person-raised-hand.entry.0d110650.js +19 -0
- package/dist/swirl-icon-person.entry.a6f8cb46.js +19 -0
- package/dist/swirl-icon-phone.entry.a0e13b81.js +19 -0
- package/dist/swirl-icon-photo-camera.entry.fd78e0e6.js +19 -0
- package/dist/swirl-icon-picture-in-picture.entry.c60681a9.js +19 -0
- package/dist/swirl-icon-pin-off.entry.aab72905.js +19 -0
- package/dist/swirl-icon-pin.entry.28b7ef18.js +19 -0
- package/dist/swirl-icon-place.entry.26db94aa.js +19 -0
- package/dist/swirl-icon-play-arrow.entry.a7f922e3.js +19 -0
- package/dist/swirl-icon-poll.entry.5be1695f.js +19 -0
- package/dist/swirl-icon-post-approval.entry.540c328e.js +19 -0
- package/dist/swirl-icon-present.entry.74cb9a66.js +19 -0
- package/dist/swirl-icon-preview.entry.8cd5f7f5.js +19 -0
- package/dist/swirl-icon-print.entry.9e6ff8ac.js +19 -0
- package/dist/swirl-icon-public-off.entry.6a682a7f.js +19 -0
- package/dist/swirl-icon-public.entry.a2fbbb89.js +19 -0
- package/dist/swirl-icon-published-with-changes.entry.e32e3dd7.js +19 -0
- package/dist/swirl-icon-qr-code-scanner.entry.5d3b1538.js +19 -0
- package/dist/swirl-icon-ratio-four-to-three.entry.1d2679c4.js +19 -0
- package/dist/swirl-icon-ratio-freeform.entry.e88b9544.js +19 -0
- package/dist/swirl-icon-ratio-sixteen-to-nine.entry.74aef0e1.js +19 -0
- package/dist/swirl-icon-ratio-square.entry.bf8b063d.js +19 -0
- package/dist/swirl-icon-ratio-three-to-four.entry.8a836d1a.js +19 -0
- package/dist/swirl-icon-ratio-three-to-two.entry.cc30465a.js +19 -0
- package/dist/swirl-icon-recieved.entry.66229776.js +19 -0
- package/dist/swirl-icon-redo.entry.298c680d.js +19 -0
- package/dist/swirl-icon-refresh.entry.c8a337f3.js +19 -0
- package/dist/swirl-icon-remove-circle.entry.8aeb3621.js +19 -0
- package/dist/swirl-icon-remove-moderator.entry.5072f958.js +19 -0
- package/dist/swirl-icon-repeat.entry.6c30b2fb.js +19 -0
- package/dist/swirl-icon-reply.entry.c17c06d5.js +19 -0
- package/dist/swirl-icon-report.entry.e20858f6.js +19 -0
- package/dist/swirl-icon-roadmap.entry.4473c986.js +19 -0
- package/dist/swirl-icon-rocket-launch.entry.c3b749e5.js +19 -0
- package/dist/swirl-icon-rotate-left.entry.ad02257c.js +19 -0
- package/dist/swirl-icon-rotate-right.entry.b34d476f.js +19 -0
- package/dist/swirl-icon-school.entry.eb01c05c.js +19 -0
- package/dist/swirl-icon-screenshare-off.entry.e61b3a37.js +19 -0
- package/dist/swirl-icon-screenshare.entry.fd476685.js +19 -0
- package/dist/swirl-icon-search-strong.entry.9490019e.js +19 -0
- package/dist/swirl-icon-search.entry.55db1125.js +19 -0
- package/dist/swirl-icon-section.entry.a2792977.js +19 -0
- package/dist/swirl-icon-secure.entry.6b082905.js +19 -0
- package/dist/swirl-icon-security-check.entry.5f288d05.js +19 -0
- package/dist/swirl-icon-security-warning.entry.c207d8d5.js +19 -0
- package/dist/swirl-icon-security.entry.3f427ba3.js +19 -0
- package/dist/swirl-icon-select-edit.entry.bd65bc1a.js +19 -0
- package/dist/swirl-icon-select.entry.c7415c64.js +19 -0
- package/dist/swirl-icon-sell.entry.84816f7a.js +19 -0
- package/dist/swirl-icon-send.entry.8af9b412.js +19 -0
- package/dist/swirl-icon-settings.entry.7bbac2e2.js +19 -0
- package/dist/swirl-icon-short-text.entry.a2cc9a30.js +19 -0
- package/dist/swirl-icon-simplify.entry.1cca1c30.js +19 -0
- package/dist/swirl-icon-spellcheck.entry.0642816a.js +19 -0
- package/dist/swirl-icon-stars.entry.1d5330a4.js +19 -0
- package/dist/swirl-icon-sticky-note.entry.93387b5b.js +19 -0
- package/dist/swirl-icon-stop-circle.entry.c6179937.js +19 -0
- package/dist/swirl-icon-stop.entry.a017b1ba.js +19 -0
- package/dist/swirl-icon-strikethrough.entry.c3348e6d.js +19 -0
- package/dist/swirl-icon-sunny.entry.8eea6316.js +19 -0
- package/dist/swirl-icon-swap-vert.entry.78d74f45.js +19 -0
- package/dist/swirl-icon-sync.entry.2abae331.js +19 -0
- package/dist/swirl-icon-tab-move.entry.9c1d3bfe.js +19 -0
- package/dist/swirl-icon-tasks-filled.entry.e17f1cf8.js +19 -0
- package/dist/swirl-icon-tasks.entry.6dc202c5.js +19 -0
- package/dist/swirl-icon-terminal.entry.cfd50f77.js +19 -0
- package/dist/swirl-icon-time-filled.entry.d6295619.js +19 -0
- package/dist/swirl-icon-time.entry.15444867.js +19 -0
- package/dist/swirl-icon-today-filled.entry.ddb5dc14.js +19 -0
- package/dist/swirl-icon-translate.entry.03c318a2.js +19 -0
- package/dist/swirl-icon-tree-structure.entry.4f4ff42a.js +19 -0
- package/dist/swirl-icon-underlined.entry.66ff9022.js +19 -0
- package/dist/swirl-icon-undo.entry.5b5e34aa.js +19 -0
- package/dist/swirl-icon-unlock-person.entry.b87e2892.js +19 -0
- package/dist/swirl-icon-upload.entry.cff1e45e.js +19 -0
- package/dist/swirl-icon-user-add.entry.50696b6a.js +19 -0
- package/dist/swirl-icon-user-assign.entry.7234a206.js +19 -0
- package/dist/swirl-icon-verified-user.entry.ec90a777.js +19 -0
- package/dist/swirl-icon-video-camera-off.entry.f82632c8.js +19 -0
- package/dist/swirl-icon-video-camera.entry.53657219.js +19 -0
- package/dist/swirl-icon-video-library.entry.5012ed2f.js +19 -0
- package/dist/swirl-icon-view-agenda.entry.23da5bb5.js +19 -0
- package/dist/swirl-icon-voice.entry.0466ce40.js +19 -0
- package/dist/swirl-icon-volume-off.entry.bb0ec827.js +19 -0
- package/dist/swirl-icon-volume-up.entry.d7f71bbd.js +19 -0
- package/dist/swirl-icon-waving-hand.entry.a073c432.js +19 -0
- package/dist/swirl-icon-web-asset-off.entry.1c2bdff5.js +19 -0
- package/dist/swirl-icon-web-asset.entry.a932cd2b.js +19 -0
- package/dist/swirl-icon-work.entry.f539f03c.js +19 -0
- package/dist/swirl-icon-workspace-premium.entry.2729fff5.js +19 -0
- package/dist/swirl-icon-zoom-in.entry.2f35dc5e.js +19 -0
- package/dist/swirl-icon-zoom-out.entry.64e42e90.js +19 -0
- package/dist/swirl-icon.entry.bd78de89.js +17 -0
- package/dist/swirl-illustration-absence.entry.991f6264.js +15 -0
- package/dist/swirl-illustration-bookmarks.entry.ece9fb49.js +15 -0
- package/dist/swirl-illustration-calendar.entry.188b934c.js +15 -0
- package/dist/swirl-illustration-celebrate.entry.c05adb6f.js +15 -0
- package/dist/swirl-illustration-chat-messages.entry.05843f73.js +15 -0
- package/dist/swirl-illustration-chat-security.entry.91e577d0.js +15 -0
- package/dist/swirl-illustration-completed-task.entry.c390698a.js +15 -0
- package/dist/swirl-illustration-construction.entry.c2b8ded0.js +15 -0
- package/dist/swirl-illustration-contrast.entry.5e04b113.js +15 -0
- package/dist/swirl-illustration-directory.entry.fc0b31a3.js +15 -0
- package/dist/swirl-illustration-door.entry.6381d51d.js +15 -0
- package/dist/swirl-illustration-empty-folder.entry.697393fd.js +15 -0
- package/dist/swirl-illustration-invites-declined.entry.b4e0c114.js +15 -0
- package/dist/swirl-illustration-invites.entry.08ff9ee0.js +15 -0
- package/dist/swirl-illustration-key.entry.2d5e987a.js +15 -0
- package/dist/swirl-illustration-keyboard.entry.da734297.js +15 -0
- package/dist/swirl-illustration-light.entry.109b640d.js +15 -0
- package/dist/swirl-illustration-mail.entry.0fdd2e55.js +15 -0
- package/dist/swirl-illustration-maintenance.entry.bc538b71.js +15 -0
- package/dist/swirl-illustration-meteor.entry.f98f94c6.js +15 -0
- package/dist/swirl-illustration-moon.entry.fbf04d30.js +15 -0
- package/dist/swirl-illustration-news.entry.15ea4e86.js +15 -0
- package/dist/swirl-illustration-no-notifications.entry.5baa22db.js +15 -0
- package/dist/swirl-illustration-notification.entry.a80439af.js +15 -0
- package/dist/swirl-illustration-paper-roll.entry.5ce7de19.js +15 -0
- package/dist/swirl-illustration-pending.entry.2c775d60.js +15 -0
- package/dist/swirl-illustration-profile.entry.a1b380df.js +15 -0
- package/dist/swirl-illustration-root.entry.3ce98abc.js +15 -0
- package/dist/swirl-illustration-search.entry.ad4c7b6b.js +15 -0
- package/dist/swirl-illustration-shifts.entry.a6d96031.js +15 -0
- package/dist/swirl-illustration-sorry.entry.77dabfeb.js +15 -0
- package/dist/swirl-illustration-start.entry.659af8dc.js +15 -0
- package/dist/swirl-illustration-tasks.entry.c96ba07b.js +15 -0
- package/dist/swirl-illustration-warning-sign.entry.2a438181.js +15 -0
- package/dist/swirl-illustration-wave.entry.6fb09fc6.js +15 -0
- package/dist/swirl-illustration.entry.9dd0c115.js +16 -0
- package/dist/swirl-image-grid-item.entry.9d6a6a15.js +95 -0
- package/dist/swirl-image-grid.entry.b09897a0.js +51 -0
- package/dist/swirl-inline-notification.entry.78a45dd0.js +17 -0
- package/dist/swirl-inline-status.entry.07e25089.js +37 -0
- package/dist/swirl-lightbox.entry.0f9cfdf3.js +155 -0
- package/dist/swirl-link.entry.a80a956a.js +17 -0
- package/dist/swirl-list.entry.aaeeaad3.js +18 -0
- package/dist/swirl-menu-item.entry.01ea0583.js +86 -0
- package/dist/swirl-menu.entry.0e7788b4.js +184 -0
- package/dist/swirl-modal-shell.entry.ef053100.js +45 -0
- package/dist/swirl-modal.entry.f3cbbdfc.js +186 -0
- package/dist/swirl-option-list-section.entry.812c135d.js +15 -0
- package/dist/swirl-option-list.entry.623fd5d6.js +264 -0
- package/dist/swirl-pagination.entry.651c9047.js +38 -0
- package/dist/swirl-pdf-reader.entry.28892a05.js +120 -0
- package/dist/swirl-popover_2.entry.d8fd863f.js +336 -0
- package/dist/swirl-radio-group.entry.a25b27d9.js +50 -0
- package/dist/swirl-radio.entry.5492dc0b.js +27 -0
- package/dist/swirl-resource-list-file-item.entry.c074f3b9.js +39 -0
- package/dist/swirl-resource-list-item.entry.8839dd5c.js +99 -0
- package/dist/swirl-resource-list-section.entry.d1226016.js +19 -0
- package/dist/swirl-resource-list.entry.4ff9a29b.js +161 -0
- package/dist/swirl-search.entry.e8c25dab.js +51 -0
- package/dist/swirl-select.entry.cb7963d9.js +145 -0
- package/dist/swirl-separator.entry.b376356b.js +29 -0
- package/dist/swirl-shell-layout.entry.01a2fdbf.js +686 -0
- package/dist/swirl-shell-navigation-item.entry.3cff3526.js +46 -0
- package/dist/swirl-skeleton-box.entry.d82623dd.js +24 -0
- package/dist/swirl-skeleton-text.entry.55f7e851.js +17 -0
- package/dist/swirl-stack.entry.87118087.js +21 -0
- package/dist/swirl-status-indicator.entry.74af573b.js +17 -0
- package/dist/swirl-switch.entry.85e281cc.js +30 -0
- package/dist/swirl-symbol-ac-unit.entry.8946c406.js +17 -0
- package/dist/swirl-symbol-account-circle.entry.1f455b12.js +17 -0
- package/dist/swirl-symbol-alternate-email.entry.bcc18f2f.js +17 -0
- package/dist/swirl-symbol-android.entry.54ee522f.js +17 -0
- package/dist/swirl-symbol-announcement.entry.e43eea05.js +17 -0
- package/dist/swirl-symbol-autorenew.entry.7cbb5bbf.js +17 -0
- package/dist/swirl-symbol-backup.entry.56866665.js +17 -0
- package/dist/swirl-symbol-badge.entry.3fd314fa.js +17 -0
- package/dist/swirl-symbol-barcode-reader.entry.ceae429c.js +17 -0
- package/dist/swirl-symbol-barcode-scanner.entry.9f4a3a2e.js +17 -0
- package/dist/swirl-symbol-battery-horiz.entry.01a1ecd8.js +17 -0
- package/dist/swirl-symbol-beach-access.entry.97d45066.js +17 -0
- package/dist/swirl-symbol-bolt.entry.47ff2df7.js +17 -0
- package/dist/swirl-symbol-bookmark.entry.26bfc3f3.js +17 -0
- package/dist/swirl-symbol-calendar.entry.da40f9f8.js +17 -0
- package/dist/swirl-symbol-campaign.entry.94740899.js +17 -0
- package/dist/swirl-symbol-cards-star.entry.940aabd9.js +17 -0
- package/dist/swirl-symbol-cloud.entry.8ffa32f3.js +17 -0
- package/dist/swirl-symbol-construction.entry.b75a999a.js +17 -0
- package/dist/swirl-symbol-contacts.entry.63a355f2.js +17 -0
- package/dist/swirl-symbol-coronavirus.entry.4631f634.js +17 -0
- package/dist/swirl-symbol-design-services.entry.8df9f805.js +17 -0
- package/dist/swirl-symbol-desktop-windows.entry.ba83412d.js +17 -0
- package/dist/swirl-symbol-directions-car-filled.entry.ef8d93db.js +17 -0
- package/dist/swirl-symbol-diversity.entry.38a439bc.js +17 -0
- package/dist/swirl-symbol-draw.entry.fba30206.js +17 -0
- package/dist/swirl-symbol-edit-calendar.entry.e574764d.js +17 -0
- package/dist/swirl-symbol-email.entry.f2a927c1.js +17 -0
- package/dist/swirl-symbol-emergency.entry.2b045101.js +17 -0
- package/dist/swirl-symbol-emoji-food-beverage.entry.b555a8aa.js +17 -0
- package/dist/swirl-symbol-engineering.entry.d07b8132.js +17 -0
- package/dist/swirl-symbol-event-menu.entry.536dfd15.js +17 -0
- package/dist/swirl-symbol-explore.entry.34251f37.js +17 -0
- package/dist/swirl-symbol-extension.entry.209a2b56.js +17 -0
- package/dist/swirl-symbol-facebook.entry.4bee09b8.js +17 -0
- package/dist/swirl-symbol-favorite.entry.5f3d2dab.js +17 -0
- package/dist/swirl-symbol-fitness-center.entry.b62a3570.js +17 -0
- package/dist/swirl-symbol-flag.entry.b7eb3be1.js +17 -0
- package/dist/swirl-symbol-flight.entry.8a57a621.js +17 -0
- package/dist/swirl-symbol-folder.entry.63269dc1.js +17 -0
- package/dist/swirl-symbol-globe.entry.8134344e.js +17 -0
- package/dist/swirl-symbol-groups.entry.5cb11edc.js +17 -0
- package/dist/swirl-symbol-healing.entry.b82b7a2d.js +17 -0
- package/dist/swirl-symbol-health-and-safety.entry.202a24a1.js +17 -0
- package/dist/swirl-symbol-help.entry.bab24b8d.js +17 -0
- package/dist/swirl-symbol-home-repair-service.entry.13c1c8be.js +17 -0
- package/dist/swirl-symbol-home-storage.entry.965b6b29.js +17 -0
- package/dist/swirl-symbol-id-card.entry.0dd99641.js +17 -0
- package/dist/swirl-symbol-image.entry.54138cc3.js +17 -0
- package/dist/swirl-symbol-info-menu.entry.a716a8c2.js +17 -0
- package/dist/swirl-symbol-instagram.entry.80e837a4.js +17 -0
- package/dist/swirl-symbol-inventory-2.entry.1f249366.js +17 -0
- package/dist/swirl-symbol-inventory.entry.528f9d13.js +17 -0
- package/dist/swirl-symbol-ios.entry.b468dbba.js +17 -0
- package/dist/swirl-symbol-key.entry.23680f32.js +17 -0
- package/dist/swirl-symbol-language.entry.22f5ff61.js +17 -0
- package/dist/swirl-symbol-leaderboard.entry.0cfc8bc7.js +17 -0
- package/dist/swirl-symbol-lightbulb.entry.52999b13.js +17 -0
- package/dist/swirl-symbol-linkedin.entry.140ef056.js +17 -0
- package/dist/swirl-symbol-local-shipping.entry.033c3699.js +17 -0
- package/dist/swirl-symbol-location-on.entry.1de30185.js +17 -0
- package/dist/swirl-symbol-loyalty.entry.0ce60432.js +17 -0
- package/dist/swirl-symbol-map.entry.9a8da8d6.js +17 -0
- package/dist/swirl-symbol-maps-home-work.entry.d4c9fcaf.js +17 -0
- package/dist/swirl-symbol-menu-book.entry.1cc37aab.js +17 -0
- package/dist/swirl-symbol-mop.entry.c0d0c592.js +17 -0
- package/dist/swirl-symbol-nest-eco-leaf.entry.b23ce81d.js +17 -0
- package/dist/swirl-symbol-notifications.entry.574dfb1c.js +17 -0
- package/dist/swirl-symbol-open-in-new.entry.2aadd10a.js +17 -0
- package/dist/swirl-symbol-orders.entry.19306c91.js +17 -0
- package/dist/swirl-symbol-package.entry.1690398e.js +17 -0
- package/dist/swirl-symbol-palette.entry.820b487c.js +17 -0
- package/dist/swirl-symbol-partly-cloudy-day.entry.3c7832c8.js +17 -0
- package/dist/swirl-symbol-pedal-bike.entry.fffb1a4f.js +17 -0
- package/dist/swirl-symbol-percent-discount.entry.e3777ddb.js +17 -0
- package/dist/swirl-symbol-pets.entry.3600f7ce.js +17 -0
- package/dist/swirl-symbol-pinterest.entry.aee51488.js +17 -0
- package/dist/swirl-symbol-point-of-sale.entry.ddc63472.js +17 -0
- package/dist/swirl-symbol-policy.entry.9ff153f6.js +17 -0
- package/dist/swirl-symbol-precision-manufacturing.entry.6a6067ed.js +17 -0
- package/dist/swirl-symbol-print.entry.56e1f2f1.js +17 -0
- package/dist/swirl-symbol-push-pin.entry.02905680.js +17 -0
- package/dist/swirl-symbol-qr-code-scanner.entry.059501c5.js +17 -0
- package/dist/swirl-symbol-recycling.entry.671395b7.js +17 -0
- package/dist/swirl-symbol-redeem.entry.4feb1a35.js +17 -0
- package/dist/swirl-symbol-report-problem.entry.509a1635.js +17 -0
- package/dist/swirl-symbol-restaurant.entry.46b2b855.js +17 -0
- package/dist/swirl-symbol-roadmap.entry.a8ca2357.js +17 -0
- package/dist/swirl-symbol-rocket-launch.entry.8e22e95f.js +17 -0
- package/dist/swirl-symbol-room.entry.2caad7aa.js +17 -0
- package/dist/swirl-symbol-savings.entry.9ba948cb.js +17 -0
- package/dist/swirl-symbol-school.entry.42661d01.js +17 -0
- package/dist/swirl-symbol-sell.entry.5cf28b57.js +17 -0
- package/dist/swirl-symbol-settings-voice.entry.968ab600.js +17 -0
- package/dist/swirl-symbol-shopping-bag.entry.924b859b.js +17 -0
- package/dist/swirl-symbol-shopping-cart.entry.5b119475.js +17 -0
- package/dist/swirl-symbol-smartphone.entry.630694d6.js +17 -0
- package/dist/swirl-symbol-spa.entry.3a160a62.js +17 -0
- package/dist/swirl-symbol-sports-soccer.entry.185b6ce1.js +17 -0
- package/dist/swirl-symbol-star.entry.9bfe3412.js +17 -0
- package/dist/swirl-symbol-supervisor-account.entry.d254344e.js +17 -0
- package/dist/swirl-symbol-task.entry.5365b269.js +17 -0
- package/dist/swirl-symbol-tasks.entry.04f10e04.js +17 -0
- package/dist/swirl-symbol-thumbs-up-down.entry.df282255.js +17 -0
- package/dist/swirl-symbol-timer.entry.4e958646.js +17 -0
- package/dist/swirl-symbol-tools-power-drill.entry.47740836.js +17 -0
- package/dist/swirl-symbol-train.entry.74404e2f.js +17 -0
- package/dist/swirl-symbol-trophy.entry.ef9abb5f.js +17 -0
- package/dist/swirl-symbol-twitter.entry.9d775694.js +17 -0
- package/dist/swirl-symbol-video.entry.812b778f.js +17 -0
- package/dist/swirl-symbol-warehouse.entry.d2b03c93.js +17 -0
- package/dist/swirl-symbol-water-drop.entry.ef3d1357.js +17 -0
- package/dist/swirl-symbol-wb-sunny.entry.bb6f4cca.js +17 -0
- package/dist/swirl-symbol-wechat.entry.865e0132.js +17 -0
- package/dist/swirl-symbol-weibo.entry.8778c7d9.js +17 -0
- package/dist/swirl-symbol-wifi.entry.8e561170.js +17 -0
- package/dist/swirl-symbol-work.entry.9878d5ae.js +17 -0
- package/dist/swirl-symbol-xing.entry.4175d0f6.js +17 -0
- package/dist/swirl-symbol-youtube.entry.47dd6cb8.js +17 -0
- package/dist/swirl-symbol.entry.d2ca7c88.js +16 -0
- package/dist/swirl-tab-bar.entry.651d566c.js +67 -0
- package/dist/swirl-tab.entry.4f6cd464.js +17 -0
- package/dist/swirl-table-cell.entry.b85a52ff.js +15 -0
- package/dist/swirl-table-column.entry.452b1c3b.js +34 -0
- package/dist/swirl-table-row-group.entry.2105503d.js +35 -0
- package/dist/swirl-table-row.entry.19d74f45.js +27 -0
- package/dist/swirl-table.entry.c12d4b28.js +1754 -0
- package/dist/swirl-tabs.entry.5b561ace.js +65 -0
- package/dist/swirl-tag.entry.39a47477.js +45 -0
- package/dist/swirl-text-input.entry.9efd77cb.js +93 -0
- package/dist/swirl-text.entry.60f53c46.js +299 -0
- package/dist/swirl-theme-provider.entry.a91cad3c.js +96 -0
- package/dist/swirl-thumbnail.entry.0a4dad46.js +45 -0
- package/dist/swirl-time-input.entry.d41f847c.js +140 -0
- package/dist/swirl-toast-provider.entry.85615b6c.js +82 -0
- package/dist/swirl-toast.entry.7822014f.js +67 -0
- package/dist/swirl-toggle-button.entry.51263b8f.js +21 -0
- package/dist/swirl-toggle-group.entry.5288e96e.js +62 -0
- package/dist/swirl-toolbar.entry.91053a5f.js +56 -0
- package/dist/swirl-tooltip.entry.03a47c6e.js +118 -0
- package/dist/swirl-tree-navigation-item.entry.14cab793.js +73 -0
- package/dist/swirl-tree-navigation.entry.e1b179c5.js +15 -0
- package/dist/swirl-tree-view-item.entry.6a2471bc.js +205 -0
- package/dist/swirl-tree-view.entry.fe74d59c.js +222 -0
- package/dist/swirl-video-thumbnail.entry.5213573c.js +15 -0
- package/dist/swirl-visually-hidden.entry.49952ba8.js +15 -0
- package/dist/utils-D23VxAsw.a2b1dde9.js +138 -0
- package/dist/wc-datepicker.entry.515f265e.js +380 -0
- package/package.json +2 -2
- package/dist/index.f5a93cf2.js +0 -5107
- package/dist/media-query.service-CCYT6DU8.f0931fdc.js +0 -17
- package/dist/swirl-accordion-item.entry.7cb66c32.js +0 -37
- package/dist/swirl-accordion.entry.52d6eca5.js +0 -42
- package/dist/swirl-action-list-section.entry.ec8e51df.js +0 -15
- package/dist/swirl-action-list_2.entry.8854298e.js +0 -113
- package/dist/swirl-app-bar.entry.96435d0c.js +0 -49
- package/dist/swirl-app-icon.entry.64e093bc.js +0 -30
- package/dist/swirl-app-layout.entry.9f235f66.js +0 -212
- package/dist/swirl-autocomplete.entry.4cc4aa82.js +0 -117
- package/dist/swirl-avatar-group.entry.50fb84b3.js +0 -41
- package/dist/swirl-avatar.entry.3078c92f.js +0 -72
- package/dist/swirl-badge.entry.cf72b776.js +0 -19
- package/dist/swirl-banner.entry.eda8b1e4.js +0 -51
- package/dist/swirl-box.entry.15d4504f.js +0 -118
- package/dist/swirl-button-group.entry.9f798e84.js +0 -19
- package/dist/swirl-button.entry.4fbcd2f1.js +0 -61
- package/dist/swirl-card.entry.71ab8eb6.js +0 -50
- package/dist/swirl-carousel-slide.entry.5221fed8.js +0 -23
- package/dist/swirl-carousel.entry.60a37d57.js +0 -91
- package/dist/swirl-checkbox.entry.59eecffd.js +0 -28
- package/dist/swirl-chip.entry.d07714cf.js +0 -40
- package/dist/swirl-color-input.entry.f40f3b22.js +0 -271
- package/dist/swirl-columns.entry.e63e9b67.js +0 -18
- package/dist/swirl-console-layout.entry.a3cdf817.js +0 -93
- package/dist/swirl-data-cell-stack.entry.37ba6f4f.js +0 -24
- package/dist/swirl-data-cell.entry.b6385782.js +0 -34
- package/dist/swirl-date-input.entry.ba78f740.js +0 -147
- package/dist/swirl-date-picker_2.entry.0fc31288.js +0 -48
- package/dist/swirl-description-list-item.entry.9f68969f.js +0 -24
- package/dist/swirl-description-list.entry.80dc6948.js +0 -15
- package/dist/swirl-dialog.entry.7dac8cad.js +0 -80
- package/dist/swirl-emoji-clap.entry.fc015e47.js +0 -17
- package/dist/swirl-emoji-happy.entry.fae03be7.js +0 -17
- package/dist/swirl-emoji-idea.entry.fe711511.js +0 -17
- package/dist/swirl-emoji-love.entry.fd51bb8e.js +0 -17
- package/dist/swirl-emoji-sad.entry.199c3ffd.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.4bf40d6d.js +0 -17
- package/dist/swirl-emoji.entry.cb7f89e0.js +0 -16
- package/dist/swirl-empty-state.entry.a7a4ba3f.js +0 -23
- package/dist/swirl-file-chip.entry.527d26e4.js +0 -67
- package/dist/swirl-file-uploader.entry.05b930a1.js +0 -31
- package/dist/swirl-file-viewer-audio_7.entry.e9395074.js +0 -18871
- package/dist/swirl-file-viewer_7.entry.6d8167e2.js +0 -115
- package/dist/swirl-form-control.entry.ceb56c9f.js +0 -124
- package/dist/swirl-form-group.entry.3e0b89ec.js +0 -17
- package/dist/swirl-heading.entry.8635a81b.js +0 -26
- package/dist/swirl-icon-add-box.entry.fcb45d4f.js +0 -19
- package/dist/swirl-icon-add-moderator.entry.6ed793ca.js +0 -19
- package/dist/swirl-icon-add-photo.entry.939d6d7b.js +0 -19
- package/dist/swirl-icon-add-reaction.entry.7c31648f.js +0 -19
- package/dist/swirl-icon-admin-panel-settings.entry.6ab67f86.js +0 -19
- package/dist/swirl-icon-ai-filled.entry.4d282da0.js +0 -19
- package/dist/swirl-icon-ai.entry.b3378c95.js +0 -19
- package/dist/swirl-icon-api.entry.c5b99c92.js +0 -19
- package/dist/swirl-icon-apparel.entry.e34ef964.js +0 -19
- package/dist/swirl-icon-apps.entry.f0b71f6a.js +0 -19
- package/dist/swirl-icon-arrow-back_5.entry.2d26e734.js +0 -71
- package/dist/swirl-icon-arrow-downward_2.entry.413053e8.js +0 -32
- package/dist/swirl-icon-arrow-left_3.entry.1001ebdc.js +0 -45
- package/dist/swirl-icon-arrow-right-small.entry.b4854980.js +0 -19
- package/dist/swirl-icon-aspect-ratio.entry.a7378692.js +0 -19
- package/dist/swirl-icon-attachment_6.entry.b57a3bcd.js +0 -84
- package/dist/swirl-icon-autorenew.entry.3e2a3f8d.js +0 -19
- package/dist/swirl-icon-bar-chart.entry.67c8ac1f.js +0 -19
- package/dist/swirl-icon-beach-access-filled.entry.859be89b.js +0 -19
- package/dist/swirl-icon-beach-access.entry.ccdeb5f0.js +0 -19
- package/dist/swirl-icon-block.entry.f2d3a7f8.js +0 -19
- package/dist/swirl-icon-bold.entry.a171ea6c.js +0 -19
- package/dist/swirl-icon-bookmark-filled.entry.ba52e912.js +0 -19
- package/dist/swirl-icon-bookmark.entry.0bcea8bd.js +0 -19
- package/dist/swirl-icon-calendar-add-on-filled.entry.166228c5.js +0 -19
- package/dist/swirl-icon-calendar-respond.entry.7ef51e52.js +0 -19
- package/dist/swirl-icon-calendar-today.entry.dc0ecb5e.js +0 -19
- package/dist/swirl-icon-call-end.entry.3bf34bea.js +0 -19
- package/dist/swirl-icon-call.entry.b423de56.js +0 -19
- package/dist/swirl-icon-cancel-filled.entry.5df3e80e.js +0 -19
- package/dist/swirl-icon-cancel-outline.entry.b3536208.js +0 -19
- package/dist/swirl-icon-cancel_4.entry.b17635a7.js +0 -58
- package/dist/swirl-icon-chat-bubble.entry.4af6fb68.js +0 -19
- package/dist/swirl-icon-chats-filled.entry.ba5da70d.js +0 -19
- package/dist/swirl-icon-chats.entry.0bb0e4b7.js +0 -19
- package/dist/swirl-icon-check-circle-filled.entry.7f89d839.js +0 -19
- package/dist/swirl-icon-check-circle_2.entry.c4ec231c.js +0 -32
- package/dist/swirl-icon-check-small_3.entry.bcf00ebb.js +0 -78
- package/dist/swirl-icon-check-strong.entry.186a8103.js +0 -19
- package/dist/swirl-icon-check.entry.d148e573.js +0 -19
- package/dist/swirl-icon-checkbox-filled.entry.9ad2b1ef.js +0 -19
- package/dist/swirl-icon-chevron-left.entry.d71b53c6.js +0 -19
- package/dist/swirl-icon-chevron-right_2.entry.92e942b2.js +0 -32
- package/dist/swirl-icon-close-fullscreen.entry.d9ca7e3a.js +0 -19
- package/dist/swirl-icon-close-small.entry.e9a891e6.js +0 -19
- package/dist/swirl-icon-close.entry.f4cb6ca8.js +0 -19
- package/dist/swirl-icon-cloud-upload.entry.5c89c520.js +0 -19
- package/dist/swirl-icon-co-present.entry.50c35012.js +0 -19
- package/dist/swirl-icon-code.entry.7cbef90a.js +0 -19
- package/dist/swirl-icon-column.entry.ffc601ec.js +0 -19
- package/dist/swirl-icon-comment.entry.a9d606ea.js +0 -19
- package/dist/swirl-icon-contract-edit.entry.e411fe71.js +0 -19
- package/dist/swirl-icon-contrast.entry.15fdcf06.js +0 -19
- package/dist/swirl-icon-copy.entry.03bd3efb.js +0 -19
- package/dist/swirl-icon-crop.entry.58404b43.js +0 -19
- package/dist/swirl-icon-dark-mode.entry.41fed5ca.js +0 -19
- package/dist/swirl-icon-data-object.entry.04687980.js +0 -19
- package/dist/swirl-icon-date-range.entry.48358e9e.js +0 -19
- package/dist/swirl-icon-delete.entry.de154b13.js +0 -19
- package/dist/swirl-icon-deployed-code.entry.be6baf2d.js +0 -19
- package/dist/swirl-icon-description.entry.77ce0970.js +0 -19
- package/dist/swirl-icon-desktop.entry.38f5b802.js +0 -19
- package/dist/swirl-icon-destruction.entry.aae85ca1.js +0 -19
- package/dist/swirl-icon-directory-filled.entry.6f35e04f.js +0 -19
- package/dist/swirl-icon-directory.entry.ab54bbb7.js +0 -19
- package/dist/swirl-icon-discover.entry.1442617c.js +0 -19
- package/dist/swirl-icon-dock-left.entry.9a4fd598.js +0 -19
- package/dist/swirl-icon-door-open.entry.af294e68.js +0 -19
- package/dist/swirl-icon-dot.entry.0bc7b149.js +0 -19
- package/dist/swirl-icon-double-arrow-right.entry.e764b8b7.js +0 -19
- package/dist/swirl-icon-edit-note.entry.036c7328.js +0 -19
- package/dist/swirl-icon-edit.entry.8d37a6ca.js +0 -19
- package/dist/swirl-icon-emoji-mood.entry.edfe2efd.js +0 -19
- package/dist/swirl-icon-emoji-satisfied.entry.93766e91.js +0 -19
- package/dist/swirl-icon-emoji-symbols.entry.3478848b.js +0 -19
- package/dist/swirl-icon-end-series.entry.4281bd1a.js +0 -19
- package/dist/swirl-icon-error_3.entry.9fdf3b59.js +0 -59
- package/dist/swirl-icon-expand-more.entry.4a18dab7.js +0 -19
- package/dist/swirl-icon-experiment.entry.e3613ca4.js +0 -19
- package/dist/swirl-icon-fact-check.entry.bcd6e61a.js +0 -19
- package/dist/swirl-icon-file.entry.e3e4299c.js +0 -19
- package/dist/swirl-icon-filter.entry.dea071fa.js +0 -19
- package/dist/swirl-icon-folder-shared.entry.f8322759.js +0 -19
- package/dist/swirl-icon-format-h-one.entry.662bb280.js +0 -19
- package/dist/swirl-icon-format-list-bulleted.entry.64d7c88f.js +0 -19
- package/dist/swirl-icon-format-list-numbered.entry.68fe6782.js +0 -19
- package/dist/swirl-icon-forward.entry.9a27b821.js +0 -19
- package/dist/swirl-icon-front-hand.entry.33680461.js +0 -19
- package/dist/swirl-icon-gif.entry.84278ba9.js +0 -19
- package/dist/swirl-icon-group-add.entry.a9be84be.js +0 -19
- package/dist/swirl-icon-group-assign.entry.67fa6a3b.js +0 -19
- package/dist/swirl-icon-groups-filled.entry.60fa0d15.js +0 -19
- package/dist/swirl-icon-groups.entry.a65d7d1e.js +0 -19
- package/dist/swirl-icon-hamburger-menu.entry.d8af0c24.js +0 -19
- package/dist/swirl-icon-health-and-safety.entry.30fa6a2b.js +0 -19
- package/dist/swirl-icon-help-filled.entry.abcf08fd.js +0 -19
- package/dist/swirl-icon-help.entry.cf51d76f.js +0 -19
- package/dist/swirl-icon-highlight.entry.94631f89.js +0 -19
- package/dist/swirl-icon-history.entry.b29f355b.js +0 -19
- package/dist/swirl-icon-home-filled.entry.73738f71.js +0 -19
- package/dist/swirl-icon-home.entry.ee24f7a3.js +0 -19
- package/dist/swirl-icon-hr-resting.entry.dfa934ba.js +0 -19
- package/dist/swirl-icon-improve-text.entry.6eb1f509.js +0 -19
- package/dist/swirl-icon-info.entry.823fa06e.js +0 -19
- package/dist/swirl-icon-insert-below.entry.5cce6c0d.js +0 -19
- package/dist/swirl-icon-insert-chart.entry.83c93d53.js +0 -19
- package/dist/swirl-icon-insert-on-top.entry.f5bcd5d9.js +0 -19
- package/dist/swirl-icon-inventory-off.entry.97c6e7c7.js +0 -19
- package/dist/swirl-icon-inventory.entry.a4b09789.js +0 -19
- package/dist/swirl-icon-iphone.entry.70b28c85.js +0 -19
- package/dist/swirl-icon-italic.entry.bbe4cc5d.js +0 -19
- package/dist/swirl-icon-key.entry.baec9944.js +0 -19
- package/dist/swirl-icon-keyboard-hide.entry.dc2c1760.js +0 -19
- package/dist/swirl-icon-keyboard.entry.55a31618.js +0 -19
- package/dist/swirl-icon-language.entry.fdbb7e54.js +0 -19
- package/dist/swirl-icon-light-mode.entry.7370aa0e.js +0 -19
- package/dist/swirl-icon-like.entry.38d11efe.js +0 -19
- package/dist/swirl-icon-link.entry.12d8f74f.js +0 -19
- package/dist/swirl-icon-list-alt-check.entry.c0fc113b.js +0 -19
- package/dist/swirl-icon-live.entry.fca57893.js +0 -19
- package/dist/swirl-icon-load.entry.f599c2a0.js +0 -19
- package/dist/swirl-icon-location-on.entry.937c22df.js +0 -19
- package/dist/swirl-icon-lock-open.entry.aa8484bd.js +0 -19
- package/dist/swirl-icon-lock-person.entry.2e44ddab.js +0 -19
- package/dist/swirl-icon-lock.entry.b60c0c9a.js +0 -19
- package/dist/swirl-icon-login.entry.5791fe83.js +0 -19
- package/dist/swirl-icon-logout.entry.361f9b63.js +0 -19
- package/dist/swirl-icon-long-text.entry.920a227f.js +0 -19
- package/dist/swirl-icon-mail.entry.acf88393.js +0 -19
- package/dist/swirl-icon-manage-accounts.entry.7c276d1f.js +0 -19
- package/dist/swirl-icon-mark-chat-read.entry.1d363d94.js +0 -19
- package/dist/swirl-icon-mark-chat-unread.entry.adb9e168.js +0 -19
- package/dist/swirl-icon-mark-email-read.entry.b1d46f7d.js +0 -19
- package/dist/swirl-icon-mention.entry.9fee1241.js +0 -19
- package/dist/swirl-icon-menu-book-filled.entry.774effb2.js +0 -19
- package/dist/swirl-icon-menu-filled.entry.220b9808.js +0 -19
- package/dist/swirl-icon-menu.entry.88bf66fb.js +0 -19
- package/dist/swirl-icon-message.entry.c579fe36.js +0 -19
- package/dist/swirl-icon-mic-off.entry.ad709499.js +0 -19
- package/dist/swirl-icon-mic.entry.2dbe9fd6.js +0 -19
- package/dist/swirl-icon-mobile-theft.entry.16fbc76c.js +0 -19
- package/dist/swirl-icon-more-horizontal_2.entry.989f7190.js +0 -41
- package/dist/swirl-icon-more-vertikal.entry.3874fb47.js +0 -19
- package/dist/swirl-icon-news-filled.entry.e27cb623.js +0 -19
- package/dist/swirl-icon-news-off.entry.4727c2d8.js +0 -19
- package/dist/swirl-icon-news.entry.58a8b08a.js +0 -19
- package/dist/swirl-icon-next-plan.entry.2507edb0.js +0 -19
- package/dist/swirl-icon-note-stack-filled.entry.d10ccf65.js +0 -19
- package/dist/swirl-icon-note-stack.entry.d6142832.js +0 -19
- package/dist/swirl-icon-notifications-active.entry.3f595293.js +0 -19
- package/dist/swirl-icon-notifications-off.entry.1dc4dfe9.js +0 -19
- package/dist/swirl-icon-notifications.entry.5943c5c0.js +0 -19
- package/dist/swirl-icon-open-in-full.entry.5724e669.js +0 -19
- package/dist/swirl-icon-passkey.entry.d8a28e4c.js +0 -19
- package/dist/swirl-icon-password.entry.08df478c.js +0 -19
- package/dist/swirl-icon-patient-list.entry.e5a34069.js +0 -19
- package/dist/swirl-icon-pause-circle.entry.1bc76a03.js +0 -19
- package/dist/swirl-icon-pause.entry.f6b35791.js +0 -19
- package/dist/swirl-icon-people-alt.entry.9db4249c.js +0 -19
- package/dist/swirl-icon-person-check.entry.0d0856cf.js +0 -19
- package/dist/swirl-icon-person-off.entry.79d5d9e6.js +0 -19
- package/dist/swirl-icon-person-raised-hand.entry.e63a737d.js +0 -19
- package/dist/swirl-icon-person.entry.d0ebcc71.js +0 -19
- package/dist/swirl-icon-phone.entry.645c3520.js +0 -19
- package/dist/swirl-icon-photo-camera.entry.9ec93d8f.js +0 -19
- package/dist/swirl-icon-picture-in-picture.entry.ad92ccc2.js +0 -19
- package/dist/swirl-icon-pin-off.entry.7ea7464b.js +0 -19
- package/dist/swirl-icon-pin.entry.fb4c916d.js +0 -19
- package/dist/swirl-icon-place.entry.651743bb.js +0 -19
- package/dist/swirl-icon-play-arrow.entry.27909f6f.js +0 -19
- package/dist/swirl-icon-poll.entry.2f2aa73a.js +0 -19
- package/dist/swirl-icon-post-approval.entry.8f8ae645.js +0 -19
- package/dist/swirl-icon-present.entry.0ecb0215.js +0 -19
- package/dist/swirl-icon-preview.entry.792d286a.js +0 -19
- package/dist/swirl-icon-print.entry.dccd930e.js +0 -19
- package/dist/swirl-icon-public-off.entry.bd09d41f.js +0 -19
- package/dist/swirl-icon-public.entry.94d6b7a9.js +0 -19
- package/dist/swirl-icon-published-with-changes.entry.e3331894.js +0 -19
- package/dist/swirl-icon-qr-code-scanner.entry.4880c214.js +0 -19
- package/dist/swirl-icon-ratio-four-to-three.entry.731fa365.js +0 -19
- package/dist/swirl-icon-ratio-freeform.entry.d5884632.js +0 -19
- package/dist/swirl-icon-ratio-sixteen-to-nine.entry.f73f7a43.js +0 -19
- package/dist/swirl-icon-ratio-square.entry.9e5c792b.js +0 -19
- package/dist/swirl-icon-ratio-three-to-four.entry.72948a26.js +0 -19
- package/dist/swirl-icon-ratio-three-to-two.entry.4a1e4d3d.js +0 -19
- package/dist/swirl-icon-recieved.entry.c28103c9.js +0 -19
- package/dist/swirl-icon-redo.entry.17ba0adb.js +0 -19
- package/dist/swirl-icon-refresh.entry.55ffbb99.js +0 -19
- package/dist/swirl-icon-remove-circle.entry.03935e05.js +0 -19
- package/dist/swirl-icon-remove-moderator.entry.458604bc.js +0 -19
- package/dist/swirl-icon-repeat.entry.3294118c.js +0 -19
- package/dist/swirl-icon-reply.entry.866f6b55.js +0 -19
- package/dist/swirl-icon-report.entry.f532fc37.js +0 -19
- package/dist/swirl-icon-roadmap.entry.8587ebc8.js +0 -19
- package/dist/swirl-icon-rocket-launch.entry.6c0a668b.js +0 -19
- package/dist/swirl-icon-rotate-left.entry.bfc433c5.js +0 -19
- package/dist/swirl-icon-rotate-right.entry.469b247a.js +0 -19
- package/dist/swirl-icon-school.entry.7ff2d01d.js +0 -19
- package/dist/swirl-icon-screenshare-off.entry.1dc8dd3a.js +0 -19
- package/dist/swirl-icon-screenshare.entry.19793bf7.js +0 -19
- package/dist/swirl-icon-search-strong.entry.05274d60.js +0 -19
- package/dist/swirl-icon-search.entry.924ca041.js +0 -19
- package/dist/swirl-icon-section.entry.5886e87f.js +0 -19
- package/dist/swirl-icon-secure.entry.e7016ae4.js +0 -19
- package/dist/swirl-icon-security-check.entry.b89e8226.js +0 -19
- package/dist/swirl-icon-security-warning.entry.7cce4193.js +0 -19
- package/dist/swirl-icon-security.entry.d5e1ffc3.js +0 -19
- package/dist/swirl-icon-select-edit.entry.0385ec5c.js +0 -19
- package/dist/swirl-icon-select.entry.39bb992e.js +0 -19
- package/dist/swirl-icon-sell.entry.8d6843f7.js +0 -19
- package/dist/swirl-icon-send.entry.f7cf9bdd.js +0 -19
- package/dist/swirl-icon-settings.entry.fdcdb609.js +0 -19
- package/dist/swirl-icon-short-text.entry.b0021603.js +0 -19
- package/dist/swirl-icon-simplify.entry.af5b089d.js +0 -19
- package/dist/swirl-icon-spellcheck.entry.38f54ef7.js +0 -19
- package/dist/swirl-icon-stars.entry.0e987b20.js +0 -19
- package/dist/swirl-icon-sticky-note.entry.4f337046.js +0 -19
- package/dist/swirl-icon-stop-circle.entry.b107cef2.js +0 -19
- package/dist/swirl-icon-stop.entry.07395639.js +0 -19
- package/dist/swirl-icon-strikethrough.entry.d5ba887f.js +0 -19
- package/dist/swirl-icon-sunny.entry.74906c67.js +0 -19
- package/dist/swirl-icon-swap-vert.entry.9de1c654.js +0 -19
- package/dist/swirl-icon-sync.entry.0ba17b8e.js +0 -19
- package/dist/swirl-icon-tab-move.entry.a0c67eb1.js +0 -19
- package/dist/swirl-icon-tasks-filled.entry.16b926ff.js +0 -19
- package/dist/swirl-icon-tasks.entry.15109e4e.js +0 -19
- package/dist/swirl-icon-terminal.entry.e8e2eeee.js +0 -19
- package/dist/swirl-icon-time-filled.entry.a109a076.js +0 -19
- package/dist/swirl-icon-time.entry.38f85d6d.js +0 -19
- package/dist/swirl-icon-today-filled.entry.f63280f3.js +0 -19
- package/dist/swirl-icon-translate.entry.3f4c660a.js +0 -19
- package/dist/swirl-icon-tree-structure.entry.eef35958.js +0 -19
- package/dist/swirl-icon-underlined.entry.552712b1.js +0 -19
- package/dist/swirl-icon-undo.entry.209049da.js +0 -19
- package/dist/swirl-icon-unlock-person.entry.b1006ad9.js +0 -19
- package/dist/swirl-icon-upload.entry.97853fca.js +0 -19
- package/dist/swirl-icon-user-add.entry.b9769b71.js +0 -19
- package/dist/swirl-icon-user-assign.entry.5ba94f67.js +0 -19
- package/dist/swirl-icon-verified-user.entry.54131d07.js +0 -19
- package/dist/swirl-icon-video-camera-off.entry.c222fe41.js +0 -19
- package/dist/swirl-icon-video-camera.entry.4a7878c2.js +0 -19
- package/dist/swirl-icon-video-library.entry.458a0f1c.js +0 -19
- package/dist/swirl-icon-view-agenda.entry.343e754e.js +0 -19
- package/dist/swirl-icon-voice.entry.c5cfaf64.js +0 -19
- package/dist/swirl-icon-volume-off.entry.a8fa2e73.js +0 -19
- package/dist/swirl-icon-volume-up.entry.ee9ec90a.js +0 -19
- package/dist/swirl-icon-waving-hand.entry.3981b6fb.js +0 -19
- package/dist/swirl-icon-web-asset-off.entry.113de67c.js +0 -19
- package/dist/swirl-icon-web-asset.entry.c41279cb.js +0 -19
- package/dist/swirl-icon-work.entry.5ec4342c.js +0 -19
- package/dist/swirl-icon-workspace-premium.entry.fa98331a.js +0 -19
- package/dist/swirl-icon-zoom-in.entry.98dd21dc.js +0 -19
- package/dist/swirl-icon-zoom-out.entry.025df0fb.js +0 -19
- package/dist/swirl-icon.entry.4a7a2cbc.js +0 -17
- package/dist/swirl-illustration-absence.entry.40f9f610.js +0 -15
- package/dist/swirl-illustration-bookmarks.entry.df53d889.js +0 -15
- package/dist/swirl-illustration-calendar.entry.7bddc2ed.js +0 -15
- package/dist/swirl-illustration-celebrate.entry.356179fb.js +0 -15
- package/dist/swirl-illustration-chat-messages.entry.051e63df.js +0 -15
- package/dist/swirl-illustration-chat-security.entry.59b66f9c.js +0 -15
- package/dist/swirl-illustration-completed-task.entry.8734195d.js +0 -15
- package/dist/swirl-illustration-construction.entry.46889de1.js +0 -15
- package/dist/swirl-illustration-contrast.entry.70bf4474.js +0 -15
- package/dist/swirl-illustration-directory.entry.290c1b78.js +0 -15
- package/dist/swirl-illustration-door.entry.f90cd09b.js +0 -15
- package/dist/swirl-illustration-empty-folder.entry.09369a47.js +0 -15
- package/dist/swirl-illustration-invites-declined.entry.bd9cbe61.js +0 -15
- package/dist/swirl-illustration-invites.entry.f46fd301.js +0 -15
- package/dist/swirl-illustration-key.entry.908047df.js +0 -15
- package/dist/swirl-illustration-keyboard.entry.85f91a26.js +0 -15
- package/dist/swirl-illustration-light.entry.668eb053.js +0 -15
- package/dist/swirl-illustration-mail.entry.5633cd0f.js +0 -15
- package/dist/swirl-illustration-maintenance.entry.31e8798a.js +0 -15
- package/dist/swirl-illustration-meteor.entry.a3c8ef8c.js +0 -15
- package/dist/swirl-illustration-moon.entry.a88b6c40.js +0 -15
- package/dist/swirl-illustration-news.entry.763a52fe.js +0 -15
- package/dist/swirl-illustration-no-notifications.entry.b329f240.js +0 -15
- package/dist/swirl-illustration-notification.entry.13b738d9.js +0 -15
- package/dist/swirl-illustration-paper-roll.entry.f270d4df.js +0 -15
- package/dist/swirl-illustration-pending.entry.94884fce.js +0 -15
- package/dist/swirl-illustration-profile.entry.bd2fded0.js +0 -15
- package/dist/swirl-illustration-root.entry.d04ce908.js +0 -15
- package/dist/swirl-illustration-search.entry.e0a6f225.js +0 -15
- package/dist/swirl-illustration-shifts.entry.87d66b19.js +0 -15
- package/dist/swirl-illustration-sorry.entry.032e1c1f.js +0 -15
- package/dist/swirl-illustration-start.entry.81f118c0.js +0 -15
- package/dist/swirl-illustration-tasks.entry.0a130a94.js +0 -15
- package/dist/swirl-illustration-warning-sign.entry.f0c426a8.js +0 -15
- package/dist/swirl-illustration-wave.entry.1acd7d81.js +0 -15
- package/dist/swirl-illustration.entry.4a45778e.js +0 -16
- package/dist/swirl-image-grid-item.entry.775405b1.js +0 -95
- package/dist/swirl-image-grid.entry.64ab2bbf.js +0 -51
- package/dist/swirl-inline-notification.entry.3e8b288d.js +0 -17
- package/dist/swirl-inline-status.entry.a657c60e.js +0 -37
- package/dist/swirl-lightbox.entry.e8d7f2d9.js +0 -155
- package/dist/swirl-link.entry.ac0ef321.js +0 -17
- package/dist/swirl-list.entry.4aa409a0.js +0 -18
- package/dist/swirl-menu-item.entry.7aa10f09.js +0 -86
- package/dist/swirl-menu.entry.c8ca042d.js +0 -184
- package/dist/swirl-modal-shell.entry.26f4fadd.js +0 -45
- package/dist/swirl-modal.entry.ed22e298.js +0 -186
- package/dist/swirl-option-list-section.entry.32a47c5f.js +0 -15
- package/dist/swirl-option-list.entry.7162844a.js +0 -264
- package/dist/swirl-pagination.entry.b9f6e862.js +0 -38
- package/dist/swirl-pdf-reader.entry.e13b139b.js +0 -120
- package/dist/swirl-popover_2.entry.5c948b64.js +0 -336
- package/dist/swirl-radio-group.entry.d8e4dec3.js +0 -50
- package/dist/swirl-radio.entry.a8522f04.js +0 -27
- package/dist/swirl-resource-list-file-item.entry.efee3416.js +0 -39
- package/dist/swirl-resource-list-item.entry.86493ec4.js +0 -99
- package/dist/swirl-resource-list-section.entry.f2002fab.js +0 -19
- package/dist/swirl-resource-list.entry.d3a6dde4.js +0 -161
- package/dist/swirl-search.entry.288f4f96.js +0 -51
- package/dist/swirl-select.entry.e4d002a9.js +0 -145
- package/dist/swirl-separator.entry.cc2a96c6.js +0 -29
- package/dist/swirl-shell-layout.entry.8faaf744.js +0 -686
- package/dist/swirl-shell-navigation-item.entry.34eb22bd.js +0 -46
- package/dist/swirl-skeleton-box.entry.52fe5d6a.js +0 -24
- package/dist/swirl-skeleton-text.entry.b84cb545.js +0 -17
- package/dist/swirl-stack.entry.4ed8d3e5.js +0 -21
- package/dist/swirl-status-indicator.entry.9e977c01.js +0 -17
- package/dist/swirl-switch.entry.4a18e4c0.js +0 -30
- package/dist/swirl-symbol-ac-unit.entry.371c6258.js +0 -17
- package/dist/swirl-symbol-account-circle.entry.87138b4a.js +0 -17
- package/dist/swirl-symbol-alternate-email.entry.51815b0c.js +0 -17
- package/dist/swirl-symbol-android.entry.5ab14585.js +0 -17
- package/dist/swirl-symbol-announcement.entry.d4251bd4.js +0 -17
- package/dist/swirl-symbol-autorenew.entry.240cda23.js +0 -17
- package/dist/swirl-symbol-backup.entry.02918134.js +0 -17
- package/dist/swirl-symbol-badge.entry.3f00e435.js +0 -17
- package/dist/swirl-symbol-barcode-reader.entry.8da63926.js +0 -17
- package/dist/swirl-symbol-barcode-scanner.entry.0fcb3968.js +0 -17
- package/dist/swirl-symbol-battery-horiz.entry.3fa98494.js +0 -17
- package/dist/swirl-symbol-beach-access.entry.f58a24c1.js +0 -17
- package/dist/swirl-symbol-bolt.entry.0c590572.js +0 -17
- package/dist/swirl-symbol-bookmark.entry.7fbe6e15.js +0 -17
- package/dist/swirl-symbol-calendar.entry.ada12a9f.js +0 -17
- package/dist/swirl-symbol-campaign.entry.c0f7a6b8.js +0 -17
- package/dist/swirl-symbol-cards-star.entry.7ce0e92b.js +0 -17
- package/dist/swirl-symbol-cloud.entry.38a54f32.js +0 -17
- package/dist/swirl-symbol-construction.entry.16cd2a14.js +0 -17
- package/dist/swirl-symbol-contacts.entry.32a3a051.js +0 -17
- package/dist/swirl-symbol-coronavirus.entry.a1201274.js +0 -17
- package/dist/swirl-symbol-design-services.entry.e93013d9.js +0 -17
- package/dist/swirl-symbol-desktop-windows.entry.e38085ea.js +0 -17
- package/dist/swirl-symbol-directions-car-filled.entry.13652f89.js +0 -17
- package/dist/swirl-symbol-diversity.entry.a9456efe.js +0 -17
- package/dist/swirl-symbol-draw.entry.e0a56e9c.js +0 -17
- package/dist/swirl-symbol-edit-calendar.entry.75d2e5ba.js +0 -17
- package/dist/swirl-symbol-email.entry.c0697c5d.js +0 -17
- package/dist/swirl-symbol-emergency.entry.3524c7bc.js +0 -17
- package/dist/swirl-symbol-emoji-food-beverage.entry.8e83048d.js +0 -17
- package/dist/swirl-symbol-engineering.entry.a8c8405e.js +0 -17
- package/dist/swirl-symbol-event-menu.entry.d10982f9.js +0 -17
- package/dist/swirl-symbol-explore.entry.7521c3b2.js +0 -17
- package/dist/swirl-symbol-extension.entry.501b942e.js +0 -17
- package/dist/swirl-symbol-facebook.entry.b840f698.js +0 -17
- package/dist/swirl-symbol-favorite.entry.d2d3c74a.js +0 -17
- package/dist/swirl-symbol-fitness-center.entry.f1ea47cb.js +0 -17
- package/dist/swirl-symbol-flag.entry.5f8b9441.js +0 -17
- package/dist/swirl-symbol-flight.entry.26b48523.js +0 -17
- package/dist/swirl-symbol-folder.entry.d3057eae.js +0 -17
- package/dist/swirl-symbol-globe.entry.9d7ab2c2.js +0 -17
- package/dist/swirl-symbol-groups.entry.b39f46f0.js +0 -17
- package/dist/swirl-symbol-healing.entry.956ee88a.js +0 -17
- package/dist/swirl-symbol-health-and-safety.entry.d869203e.js +0 -17
- package/dist/swirl-symbol-help.entry.704b691d.js +0 -17
- package/dist/swirl-symbol-home-repair-service.entry.09987a5b.js +0 -17
- package/dist/swirl-symbol-home-storage.entry.7fb2840b.js +0 -17
- package/dist/swirl-symbol-id-card.entry.e4b40cd1.js +0 -17
- package/dist/swirl-symbol-image.entry.815d14f3.js +0 -17
- package/dist/swirl-symbol-info-menu.entry.0ae49bdf.js +0 -17
- package/dist/swirl-symbol-instagram.entry.02bb2c35.js +0 -17
- package/dist/swirl-symbol-inventory-2.entry.4a0fd260.js +0 -17
- package/dist/swirl-symbol-inventory.entry.67ce4ae3.js +0 -17
- package/dist/swirl-symbol-ios.entry.07361c74.js +0 -17
- package/dist/swirl-symbol-key.entry.d663b2cf.js +0 -17
- package/dist/swirl-symbol-language.entry.3e6b10f4.js +0 -17
- package/dist/swirl-symbol-leaderboard.entry.6f958389.js +0 -17
- package/dist/swirl-symbol-lightbulb.entry.c1037aa3.js +0 -17
- package/dist/swirl-symbol-linkedin.entry.b4a5cb1a.js +0 -17
- package/dist/swirl-symbol-local-shipping.entry.329dbc06.js +0 -17
- package/dist/swirl-symbol-location-on.entry.589f7a44.js +0 -17
- package/dist/swirl-symbol-loyalty.entry.8c8be602.js +0 -17
- package/dist/swirl-symbol-map.entry.99d45f94.js +0 -17
- package/dist/swirl-symbol-maps-home-work.entry.307c76f3.js +0 -17
- package/dist/swirl-symbol-menu-book.entry.fad3e49c.js +0 -17
- package/dist/swirl-symbol-mop.entry.c6f53792.js +0 -17
- package/dist/swirl-symbol-nest-eco-leaf.entry.0a0c22d2.js +0 -17
- package/dist/swirl-symbol-notifications.entry.b3d146a0.js +0 -17
- package/dist/swirl-symbol-open-in-new.entry.d2cac532.js +0 -17
- package/dist/swirl-symbol-orders.entry.d9704d40.js +0 -17
- package/dist/swirl-symbol-package.entry.ccb75390.js +0 -17
- package/dist/swirl-symbol-palette.entry.08d58982.js +0 -17
- package/dist/swirl-symbol-partly-cloudy-day.entry.3e15276e.js +0 -17
- package/dist/swirl-symbol-pedal-bike.entry.b91663ac.js +0 -17
- package/dist/swirl-symbol-percent-discount.entry.e0dc284f.js +0 -17
- package/dist/swirl-symbol-pets.entry.dd6629d6.js +0 -17
- package/dist/swirl-symbol-pinterest.entry.536c1a82.js +0 -17
- package/dist/swirl-symbol-point-of-sale.entry.adea7ec3.js +0 -17
- package/dist/swirl-symbol-policy.entry.23f48466.js +0 -17
- package/dist/swirl-symbol-precision-manufacturing.entry.456b714a.js +0 -17
- package/dist/swirl-symbol-print.entry.2f86b29c.js +0 -17
- package/dist/swirl-symbol-push-pin.entry.88bf6bcb.js +0 -17
- package/dist/swirl-symbol-qr-code-scanner.entry.7680968a.js +0 -17
- package/dist/swirl-symbol-recycling.entry.75cb6210.js +0 -17
- package/dist/swirl-symbol-redeem.entry.3957622d.js +0 -17
- package/dist/swirl-symbol-report-problem.entry.8cbd35bb.js +0 -17
- package/dist/swirl-symbol-restaurant.entry.e89ddff7.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.b287b5aa.js +0 -17
- package/dist/swirl-symbol-rocket-launch.entry.97db1d07.js +0 -17
- package/dist/swirl-symbol-room.entry.da5556c8.js +0 -17
- package/dist/swirl-symbol-savings.entry.ceb936f3.js +0 -17
- package/dist/swirl-symbol-school.entry.b49bbb5c.js +0 -17
- package/dist/swirl-symbol-sell.entry.2c719257.js +0 -17
- package/dist/swirl-symbol-settings-voice.entry.ab039c1c.js +0 -17
- package/dist/swirl-symbol-shopping-bag.entry.0b277a56.js +0 -17
- package/dist/swirl-symbol-shopping-cart.entry.2ecb788e.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.d4901eaa.js +0 -17
- package/dist/swirl-symbol-spa.entry.c383435f.js +0 -17
- package/dist/swirl-symbol-sports-soccer.entry.33cd58f6.js +0 -17
- package/dist/swirl-symbol-star.entry.c5be5e71.js +0 -17
- package/dist/swirl-symbol-supervisor-account.entry.0c65f12b.js +0 -17
- package/dist/swirl-symbol-task.entry.81d04e31.js +0 -17
- package/dist/swirl-symbol-tasks.entry.289c8a56.js +0 -17
- package/dist/swirl-symbol-thumbs-up-down.entry.859d859c.js +0 -17
- package/dist/swirl-symbol-timer.entry.e8261758.js +0 -17
- package/dist/swirl-symbol-tools-power-drill.entry.7e1c3831.js +0 -17
- package/dist/swirl-symbol-train.entry.b12c204e.js +0 -17
- package/dist/swirl-symbol-trophy.entry.917871f8.js +0 -17
- package/dist/swirl-symbol-twitter.entry.4989bc86.js +0 -17
- package/dist/swirl-symbol-video.entry.bcda8a94.js +0 -17
- package/dist/swirl-symbol-warehouse.entry.4283cffe.js +0 -17
- package/dist/swirl-symbol-water-drop.entry.3fc6af43.js +0 -17
- package/dist/swirl-symbol-wb-sunny.entry.85776706.js +0 -17
- package/dist/swirl-symbol-wechat.entry.7ad53992.js +0 -17
- package/dist/swirl-symbol-weibo.entry.41454735.js +0 -17
- package/dist/swirl-symbol-wifi.entry.f08b4748.js +0 -17
- package/dist/swirl-symbol-work.entry.9ea692aa.js +0 -17
- package/dist/swirl-symbol-xing.entry.a956efa6.js +0 -17
- package/dist/swirl-symbol-youtube.entry.c0a6248d.js +0 -17
- package/dist/swirl-symbol.entry.b5ee81d1.js +0 -16
- package/dist/swirl-tab-bar.entry.df63ad27.js +0 -67
- package/dist/swirl-tab.entry.abd66afb.js +0 -17
- package/dist/swirl-table-cell.entry.08c1a9ed.js +0 -15
- package/dist/swirl-table-column.entry.6a31d2bf.js +0 -34
- package/dist/swirl-table-row-group.entry.31de62f7.js +0 -35
- package/dist/swirl-table-row.entry.26976bf3.js +0 -27
- package/dist/swirl-table.entry.3465c7fb.js +0 -335
- package/dist/swirl-tabs.entry.1292a0c2.js +0 -65
- package/dist/swirl-tag.entry.0e79e324.js +0 -45
- package/dist/swirl-text-input.entry.c56fb184.js +0 -93
- package/dist/swirl-text.entry.00e00504.js +0 -299
- package/dist/swirl-theme-provider.entry.5e4386ac.js +0 -96
- package/dist/swirl-thumbnail.entry.7e64169d.js +0 -45
- package/dist/swirl-time-input.entry.a4aee3e2.js +0 -140
- package/dist/swirl-toast-provider.entry.163ea0d5.js +0 -82
- package/dist/swirl-toast.entry.dd23b73c.js +0 -67
- package/dist/swirl-toggle-button.entry.139d7bf7.js +0 -21
- package/dist/swirl-toggle-group.entry.ca565e32.js +0 -62
- package/dist/swirl-toolbar.entry.fcdaefbc.js +0 -56
- package/dist/swirl-tooltip.entry.1c9b3040.js +0 -118
- package/dist/swirl-tree-navigation-item.entry.0a97d124.js +0 -73
- package/dist/swirl-tree-navigation.entry.463ade46.js +0 -15
- package/dist/swirl-tree-view-item.entry.67680816.js +0 -205
- package/dist/swirl-tree-view.entry.2fa75a27.js +0 -222
- package/dist/swirl-video-thumbnail.entry.b89cd2a0.js +0 -15
- package/dist/swirl-visually-hidden.entry.3f09c1f0.js +0 -15
- package/dist/utils-CCck-DTo.e4e43b6a.js +0 -119
- package/dist/wc-datepicker.entry.aaded10b.js +0 -380
|
@@ -0,0 +1,1754 @@
|
|
|
1
|
+
import { r as nt, c as $, h as O, H as ot, g as rt } from "./index.40f84ddd.js";
|
|
2
|
+
import { c as lt, g as at } from "./index-orsBiyT_.fc4357c3.js";
|
|
3
|
+
import { S as ht } from "./sortable.esm-CMrz6687.dac971cd.js";
|
|
4
|
+
import { d as ct, u as U, i as K, q as dt } from "./utils-D23VxAsw.a2b1dde9.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
var q, Y;
|
|
8
|
+
function ut() {
|
|
9
|
+
if (Y)
|
|
10
|
+
return q;
|
|
11
|
+
Y = 1, q = function(e) {
|
|
12
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = void 0, l = void 0, a = void 0, h = [];
|
|
13
|
+
return function() {
|
|
14
|
+
var u = i(s), m = new Date().getTime(), w = !r || m - r > u;
|
|
15
|
+
r = m;
|
|
16
|
+
for (var g = arguments.length, v = Array(g), b = 0; b < g; b++)
|
|
17
|
+
v[b] = arguments[b];
|
|
18
|
+
if (w && o.leading)
|
|
19
|
+
return o.accumulate ? Promise.resolve(e.call(this, [v])).then(function(f) {
|
|
20
|
+
return f[0];
|
|
21
|
+
}) : Promise.resolve(e.call.apply(e, [this].concat(v)));
|
|
22
|
+
if (l ? clearTimeout(a) : l = n(), h.push(v), a = setTimeout(c.bind(this), u), o.accumulate) {
|
|
23
|
+
var S = h.length - 1;
|
|
24
|
+
return l.promise.then(function(f) {
|
|
25
|
+
return f[S];
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
return l.promise;
|
|
29
|
+
};
|
|
30
|
+
function c() {
|
|
31
|
+
var d = l;
|
|
32
|
+
clearTimeout(a), Promise.resolve(o.accumulate ? e.call(this, h) : e.apply(this, h[h.length - 1])).then(d.resolve, d.reject), h = [], l = null;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
function i(t) {
|
|
36
|
+
return typeof t == "function" ? t() : t;
|
|
37
|
+
}
|
|
38
|
+
function n() {
|
|
39
|
+
var t = {};
|
|
40
|
+
return t.promise = new Promise(function(e, s) {
|
|
41
|
+
t.resolve = e, t.reject = s;
|
|
42
|
+
}), t;
|
|
43
|
+
}
|
|
44
|
+
return q;
|
|
45
|
+
}
|
|
46
|
+
var ft = ut(), mt = /* @__PURE__ */ at(ft);
|
|
47
|
+
function gt(i) {
|
|
48
|
+
return typeof i == "object" ? i.key : i;
|
|
49
|
+
}
|
|
50
|
+
function pt(i, n) {
|
|
51
|
+
const t = i.length;
|
|
52
|
+
return new Proxy(i, {
|
|
53
|
+
get(e, s, o) {
|
|
54
|
+
if (typeof s == "string") {
|
|
55
|
+
const r = s.charCodeAt(0);
|
|
56
|
+
if (r >= 48 && r <= 57) {
|
|
57
|
+
const l = +s;
|
|
58
|
+
if (Number.isInteger(l) && l >= 0 && l < t) {
|
|
59
|
+
let a = e[l];
|
|
60
|
+
if (typeof a != "object") {
|
|
61
|
+
const h = n[l * 2];
|
|
62
|
+
a = e[l] = {
|
|
63
|
+
index: l,
|
|
64
|
+
key: a,
|
|
65
|
+
start: h,
|
|
66
|
+
size: n[l * 2 + 1],
|
|
67
|
+
end: h + n[l * 2 + 1],
|
|
68
|
+
lane: 0
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
return a;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
if (s === "length")
|
|
75
|
+
return t;
|
|
76
|
+
}
|
|
77
|
+
return Reflect.get(e, s, o);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
function E(i, n, t) {
|
|
82
|
+
var l;
|
|
83
|
+
let e = (l = t.initialDeps) != null ? l : [], s, o = !0;
|
|
84
|
+
function r() {
|
|
85
|
+
const a = i();
|
|
86
|
+
return (a.length !== e.length || a.some((c, d) => e[d] !== c)) && (e = a, s = n(...a), (t == null ? void 0 : t.onChange) && !(o && t.skipInitialOnChange) && t.onChange(s), o = !1), s;
|
|
87
|
+
}
|
|
88
|
+
return r.updateDeps = (a) => {
|
|
89
|
+
e = a;
|
|
90
|
+
}, r;
|
|
91
|
+
}
|
|
92
|
+
function X(i, n) {
|
|
93
|
+
if (i === void 0)
|
|
94
|
+
throw new Error("Unexpected undefined");
|
|
95
|
+
return i;
|
|
96
|
+
}
|
|
97
|
+
const M = (i, n) => Math.abs(i - n) < 1.01, bt = (i, n, t) => {
|
|
98
|
+
let e;
|
|
99
|
+
return Object.assign(
|
|
100
|
+
function(...s) {
|
|
101
|
+
i.clearTimeout(e), e = i.setTimeout(() => n.apply(this, s), t);
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
cancel: () => {
|
|
105
|
+
i.clearTimeout(e);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
};
|
|
110
|
+
function vt({
|
|
111
|
+
offset: i,
|
|
112
|
+
isScrolling: n,
|
|
113
|
+
elementMax: t,
|
|
114
|
+
holdOffset: e,
|
|
115
|
+
scrollOffset: s,
|
|
116
|
+
pendingWrite: o,
|
|
117
|
+
clampedMaxAtWrite: r
|
|
118
|
+
}) {
|
|
119
|
+
var l;
|
|
120
|
+
return n && o === null && i === s ? "spurious" : o !== null && Math.abs(i - o.target) < 1.5 ? "readBack" : o !== null && !o.smooth && t !== null && o.target > t + e + 0.5 && Math.abs(i - (t + e)) < 1.5 || o !== null && !o.smooth && ((l = o.lowMaxes) == null ? void 0 : l.some((a) => Math.abs(i - a) < 1.5)) ? "clampedReadBack" : r !== null && Math.abs(i - r) < 1.5 ? "clampedEcho" : "external";
|
|
121
|
+
}
|
|
122
|
+
const yt = (i) => i === "smooth" || i === "smoothFinishing";
|
|
123
|
+
function wt({
|
|
124
|
+
kind: i,
|
|
125
|
+
offset: n,
|
|
126
|
+
command: t,
|
|
127
|
+
target: e
|
|
128
|
+
}) {
|
|
129
|
+
return i !== "spurious" && i !== "readBack" && i !== "clampedReadBack" && (t == null ? void 0 : t.index) != null && t.phase !== "queued" && !yt(t.phase) && !M(n, t.lastTargetOffset) && !M(n, e()) && i !== "clampedEcho";
|
|
130
|
+
}
|
|
131
|
+
const j = 40;
|
|
132
|
+
function St(i) {
|
|
133
|
+
const n = i[i.length - 1];
|
|
134
|
+
if (n === void 0)
|
|
135
|
+
return !1;
|
|
136
|
+
let t = i.length - 2;
|
|
137
|
+
for (; t >= 0 && n.t - i[t].t < j; )
|
|
138
|
+
t--;
|
|
139
|
+
if (t < 0)
|
|
140
|
+
return !1;
|
|
141
|
+
const e = i[t];
|
|
142
|
+
let s = t - 1;
|
|
143
|
+
for (; s >= 0 && e.t - i[s].t < j; )
|
|
144
|
+
s--;
|
|
145
|
+
if (s < 0)
|
|
146
|
+
return !1;
|
|
147
|
+
const o = i[s], r = (n.offset - e.offset) / (n.t - e.t), l = (e.offset - o.offset) / (e.t - o.t);
|
|
148
|
+
return r * l >= 0 && Math.abs(r) >= 2 * Math.abs(l) && Math.abs(r) - Math.abs(l) >= 0.8;
|
|
149
|
+
}
|
|
150
|
+
function _t(i) {
|
|
151
|
+
const n = i[i.length - 1];
|
|
152
|
+
if (n === void 0)
|
|
153
|
+
return !1;
|
|
154
|
+
let t = i.length - 2;
|
|
155
|
+
for (; t >= 0 && n.t - i[t].t < j; )
|
|
156
|
+
t--;
|
|
157
|
+
if (t < 0)
|
|
158
|
+
return !1;
|
|
159
|
+
const e = i[t];
|
|
160
|
+
return Math.abs(n.offset - e.offset) / (n.t - e.t) >= 0.05;
|
|
161
|
+
}
|
|
162
|
+
let L;
|
|
163
|
+
const V = () => {
|
|
164
|
+
if (L !== void 0)
|
|
165
|
+
return L;
|
|
166
|
+
if (typeof navigator > "u")
|
|
167
|
+
return L = !1;
|
|
168
|
+
if (/iP(hone|od|ad)/.test(navigator.userAgent))
|
|
169
|
+
return L = !0;
|
|
170
|
+
const i = navigator.maxTouchPoints;
|
|
171
|
+
return L = navigator.platform === "MacIntel" && i !== void 0 && i > 0;
|
|
172
|
+
};
|
|
173
|
+
let P;
|
|
174
|
+
const Ot = () => P !== void 0 ? P : P = V() && typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("overflow-anchor: auto"), xt = () => !V() || Ot(), I = {
|
|
175
|
+
capture: !0,
|
|
176
|
+
passive: !0
|
|
177
|
+
};
|
|
178
|
+
class Ct {
|
|
179
|
+
constructor(n) {
|
|
180
|
+
this.host = n, this._touch = null, this.inMotion = () => this._touch !== null && this._touch.phase !== "lateFling", this.dragging = () => {
|
|
181
|
+
var t;
|
|
182
|
+
return ((t = this._touch) == null ? void 0 : t.phase) === "down" && this._touch.moved;
|
|
183
|
+
}, this.tail = () => {
|
|
184
|
+
var t;
|
|
185
|
+
return ((t = this._touch) == null ? void 0 : t.phase) === "tail" ? this._touch.moved ? "fling" : "tap" : null;
|
|
186
|
+
}, this.onScroll = ({
|
|
187
|
+
isScrolling: t,
|
|
188
|
+
ownReadBack: e,
|
|
189
|
+
moved: s,
|
|
190
|
+
external: o
|
|
191
|
+
}) => {
|
|
192
|
+
var r, l, a;
|
|
193
|
+
return t && ((r = this._touch) == null ? void 0 : r.phase) === "tail" ? this._openTail(this._touch.moved || !e, !1) : ((l = this._touch) == null ? void 0 : l.phase) === "lateFling" && (this.host.now() > this._touch.until ? this._touch = null : o && t && s && this._openTail(!0, !1)), !e && t && s && ((a = this._touch) == null ? void 0 : a.phase) === "down" ? (this._touch.moved = !0, !0) : !1;
|
|
194
|
+
}, this.touchStart = () => {
|
|
195
|
+
this.end(), this._touch = { phase: "down", moved: !1 };
|
|
196
|
+
}, this.touchEnd = () => {
|
|
197
|
+
var t;
|
|
198
|
+
const e = ((t = this._touch) == null ? void 0 : t.phase) === "down" && this._touch.moved;
|
|
199
|
+
this.end(), this._openTail(e, e);
|
|
200
|
+
}, this.end = () => {
|
|
201
|
+
var t;
|
|
202
|
+
const e = this.host.getWindow();
|
|
203
|
+
((t = this._touch) == null ? void 0 : t.phase) === "tail" && e != null && e.clearTimeout(this._touch.timerId), this._touch = null;
|
|
204
|
+
}, this.listen = (t) => {
|
|
205
|
+
const e = () => this.touchStart(), s = () => this.touchEnd();
|
|
206
|
+
return t.addEventListener("touchstart", e, I), t.addEventListener("touchend", s, I), t.addEventListener("touchcancel", s, I), () => {
|
|
207
|
+
t.removeEventListener(
|
|
208
|
+
"touchstart",
|
|
209
|
+
e,
|
|
210
|
+
I
|
|
211
|
+
), t.removeEventListener("touchend", s, I), t.removeEventListener(
|
|
212
|
+
"touchcancel",
|
|
213
|
+
s,
|
|
214
|
+
I
|
|
215
|
+
), this.end();
|
|
216
|
+
};
|
|
217
|
+
}, this._openTail = (t, e) => {
|
|
218
|
+
const s = this.host.getWindow();
|
|
219
|
+
if (s == null)
|
|
220
|
+
return;
|
|
221
|
+
this.end();
|
|
222
|
+
const o = {
|
|
223
|
+
phase: "tail",
|
|
224
|
+
moved: t,
|
|
225
|
+
awaitingFling: e,
|
|
226
|
+
timerId: s.setTimeout(() => {
|
|
227
|
+
if (this.host.tailStillMoving()) {
|
|
228
|
+
this._openTail(o.moved, o.awaitingFling);
|
|
229
|
+
return;
|
|
230
|
+
}
|
|
231
|
+
this._touch = o.awaitingFling ? { phase: "lateFling", until: this.host.now() + 1e3 } : null, this.host.onTailClosed();
|
|
232
|
+
}, 150)
|
|
233
|
+
};
|
|
234
|
+
this._touch = o;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
get touch() {
|
|
238
|
+
return this._touch;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
const Q = (i) => {
|
|
242
|
+
const { clientWidth: n, clientHeight: t } = i;
|
|
243
|
+
return { width: n, height: t };
|
|
244
|
+
}, Z = (i) => {
|
|
245
|
+
const n = /* @__PURE__ */ new Set();
|
|
246
|
+
return {
|
|
247
|
+
schedule: (t) => {
|
|
248
|
+
const e = i.requestAnimationFrame(() => {
|
|
249
|
+
n.delete(e), t();
|
|
250
|
+
});
|
|
251
|
+
n.add(e);
|
|
252
|
+
},
|
|
253
|
+
cancel: () => {
|
|
254
|
+
n.forEach((t) => i.cancelAnimationFrame(t)), n.clear();
|
|
255
|
+
}
|
|
256
|
+
};
|
|
257
|
+
}, Rt = (i) => i, tt = (i) => {
|
|
258
|
+
var r;
|
|
259
|
+
const n = i.overscan * Math.max((r = i.lanes) != null ? r : 1, 1), t = Math.max(i.startIndex - n, 0), s = Math.min(i.endIndex + n, i.count - 1) - t + 1, o = new Array(s);
|
|
260
|
+
for (let l = 0; l < s; l++)
|
|
261
|
+
o[l] = t + l;
|
|
262
|
+
return o;
|
|
263
|
+
}, Mt = (i, n) => {
|
|
264
|
+
const t = i.scrollElement;
|
|
265
|
+
if (!t)
|
|
266
|
+
return;
|
|
267
|
+
const e = i.targetWindow;
|
|
268
|
+
if (!e)
|
|
269
|
+
return;
|
|
270
|
+
const s = (l) => {
|
|
271
|
+
const { width: a, height: h } = l;
|
|
272
|
+
n({ width: Math.round(a), height: Math.round(h) });
|
|
273
|
+
};
|
|
274
|
+
if (s(Q(t)), !e.ResizeObserver)
|
|
275
|
+
return () => {
|
|
276
|
+
};
|
|
277
|
+
const o = Z(e), r = new e.ResizeObserver(() => {
|
|
278
|
+
const l = () => {
|
|
279
|
+
s(Q(t));
|
|
280
|
+
};
|
|
281
|
+
i.options.useAnimationFrameWithResizeObserver ? o.schedule(l) : l();
|
|
282
|
+
});
|
|
283
|
+
return r.observe(t, { box: "content-box" }), () => {
|
|
284
|
+
r.unobserve(t), o.cancel();
|
|
285
|
+
};
|
|
286
|
+
}, N = {
|
|
287
|
+
passive: !0
|
|
288
|
+
}, zt = (i, n) => {
|
|
289
|
+
const t = i.scrollElement;
|
|
290
|
+
if (!t)
|
|
291
|
+
return;
|
|
292
|
+
const e = () => {
|
|
293
|
+
n({ width: t.innerWidth, height: t.innerHeight });
|
|
294
|
+
};
|
|
295
|
+
return e(), t.addEventListener("resize", e, N), () => {
|
|
296
|
+
t.removeEventListener("resize", e);
|
|
297
|
+
};
|
|
298
|
+
}, Et = typeof window > "u" ? !0 : "onscrollend" in window, et = (i, n, t) => {
|
|
299
|
+
const e = i.scrollElement;
|
|
300
|
+
if (!e)
|
|
301
|
+
return;
|
|
302
|
+
const s = i.targetWindow;
|
|
303
|
+
if (!s)
|
|
304
|
+
return;
|
|
305
|
+
const o = i.options.useScrollendEvent && Et;
|
|
306
|
+
let r = 0;
|
|
307
|
+
const l = o ? null : bt(
|
|
308
|
+
s,
|
|
309
|
+
() => n(t(e), !1),
|
|
310
|
+
i.options.isScrollingResetDelay
|
|
311
|
+
), a = (d) => () => {
|
|
312
|
+
r = t(e), l == null || l(), n(r, d);
|
|
313
|
+
}, h = a(!0), c = a(!1);
|
|
314
|
+
return e.addEventListener("scroll", h, N), o && e.addEventListener("scrollend", c, N), () => {
|
|
315
|
+
e.removeEventListener("scroll", h), o && e.removeEventListener("scrollend", c), l == null || l.cancel();
|
|
316
|
+
};
|
|
317
|
+
}, It = (i, n) => et(i, n, (t) => {
|
|
318
|
+
const { horizontal: e, isRtl: s } = i.options;
|
|
319
|
+
return e ? t.scrollLeft * (s && -1 || 1) : t.scrollTop;
|
|
320
|
+
}), At = (i, n) => et(
|
|
321
|
+
i,
|
|
322
|
+
n,
|
|
323
|
+
(t) => i.options.horizontal ? t.scrollX : t.scrollY
|
|
324
|
+
), Tt = (i, n, t) => {
|
|
325
|
+
var e;
|
|
326
|
+
if (t.options.useCachedMeasurements) {
|
|
327
|
+
const s = t.indexFromElement(i), o = t.options.getItemKey(s);
|
|
328
|
+
return (e = t.itemSizeCache.get(o)) != null ? e : t.options.estimateSize(s);
|
|
329
|
+
}
|
|
330
|
+
if (n != null && n.borderBoxSize) {
|
|
331
|
+
const s = n.borderBoxSize[0];
|
|
332
|
+
if (s)
|
|
333
|
+
return Math.round(
|
|
334
|
+
s[t.options.horizontal ? "inlineSize" : "blockSize"]
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
if (!n) {
|
|
338
|
+
const s = t.indexFromElement(i), o = t.options.getItemKey(s), r = t.itemSizeCache.get(o);
|
|
339
|
+
if (r !== void 0)
|
|
340
|
+
return r;
|
|
341
|
+
}
|
|
342
|
+
return i[t.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
343
|
+
}, st = (i, {
|
|
344
|
+
adjustments: n = 0,
|
|
345
|
+
behavior: t
|
|
346
|
+
}, e) => {
|
|
347
|
+
var s, o;
|
|
348
|
+
(o = (s = e.scrollElement) == null ? void 0 : s.scrollTo) == null || o.call(s, {
|
|
349
|
+
[e.options.horizontal ? "left" : "top"]: i + n,
|
|
350
|
+
behavior: t
|
|
351
|
+
});
|
|
352
|
+
}, kt = st, Dt = st, J = (i, n) => i === "smooth" ? n ? "smoothLanded" : "smooth" : "instant", W = (i) => (i == null ? void 0 : i.phase) === "smooth" || (i == null ? void 0 : i.phase) === "smoothLanded";
|
|
353
|
+
function Lt(i, n, t, e) {
|
|
354
|
+
if (n === 0)
|
|
355
|
+
return !1;
|
|
356
|
+
const s = e(0), o = /* @__PURE__ */ new Set();
|
|
357
|
+
let r = 0;
|
|
358
|
+
for (; r < i; ) {
|
|
359
|
+
const a = t(r);
|
|
360
|
+
if (a === s)
|
|
361
|
+
break;
|
|
362
|
+
o.add(a), r++;
|
|
363
|
+
}
|
|
364
|
+
const l = i - r;
|
|
365
|
+
if (l === 0 || l >= n)
|
|
366
|
+
return !1;
|
|
367
|
+
for (let a = 0; a < l; a++)
|
|
368
|
+
if (e(a) !== t(r + a))
|
|
369
|
+
return !1;
|
|
370
|
+
for (let a = l; a < n; a++)
|
|
371
|
+
if (o.has(e(a)))
|
|
372
|
+
return !1;
|
|
373
|
+
return !0;
|
|
374
|
+
}
|
|
375
|
+
class Wt {
|
|
376
|
+
constructor(n) {
|
|
377
|
+
this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this._holdOffset = 0, this._reportedOverscroll = !1, this._iosGesture = new Ct({
|
|
378
|
+
getWindow: () => this.targetWindow,
|
|
379
|
+
now: () => this.now(),
|
|
380
|
+
tailStillMoving: () => {
|
|
381
|
+
var s;
|
|
382
|
+
const t = this.scrollState;
|
|
383
|
+
if ((t == null ? void 0 : t.phase) !== "queued" || this.pendingWrite !== null)
|
|
384
|
+
return !1;
|
|
385
|
+
const e = this._readElementOffset();
|
|
386
|
+
return e === null || this._lastElementOffset === null || Math.abs(e - this._lastElementOffset) < 1 ? !1 : (this._lastElementOffset = e, t.samples = [...(s = t.samples) != null ? s : [], { t: this.now(), offset: e }], !0);
|
|
387
|
+
},
|
|
388
|
+
onTailClosed: () => {
|
|
389
|
+
var e;
|
|
390
|
+
const t = this.scrollState;
|
|
391
|
+
(t == null ? void 0 : t.phase) === "queued" && _t((e = t.samples) != null ? e : []) && (this.scrollState = null), this._flushHoldIfReady(!0), this._writeAwaitingCommand(), this._retryClampedAdjustment();
|
|
392
|
+
}
|
|
393
|
+
}), this._lastElementOffset = null, this.pendingWrite = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this._resizeBatch = null, this.now = () => {
|
|
394
|
+
var o;
|
|
395
|
+
var t, e, s;
|
|
396
|
+
return (o = (s = (e = (t = this.targetWindow) == null ? void 0 : t.performance) == null ? void 0 : e.now) == null ? void 0 : s.call(e)) != null ? o : Date.now();
|
|
397
|
+
}, this.observer = /* @__PURE__ */ (() => {
|
|
398
|
+
let t = null, e = null, s = !1, o = !1;
|
|
399
|
+
const r = /* @__PURE__ */ new Set(), l = () => {
|
|
400
|
+
if (t)
|
|
401
|
+
return t;
|
|
402
|
+
const h = this.targetWindow;
|
|
403
|
+
if (!h || !h.ResizeObserver)
|
|
404
|
+
return null;
|
|
405
|
+
const c = e = Z(h);
|
|
406
|
+
return t = new h.ResizeObserver((d) => {
|
|
407
|
+
const u = () => {
|
|
408
|
+
const m = { sync: !1 };
|
|
409
|
+
this._resizeBatch = m;
|
|
410
|
+
try {
|
|
411
|
+
d.forEach(a);
|
|
412
|
+
} finally {
|
|
413
|
+
this._resizeBatch = null, m.notify && (this.notify(m.sync), this._noteClampMax(), this._flushHoldIfReady(!0), this._retryClampedAdjustment(), this.measureElement(null));
|
|
414
|
+
}
|
|
415
|
+
};
|
|
416
|
+
if (this.options.useAnimationFrameWithResizeObserver)
|
|
417
|
+
c.schedule(u);
|
|
418
|
+
else {
|
|
419
|
+
s = !0;
|
|
420
|
+
try {
|
|
421
|
+
u();
|
|
422
|
+
} finally {
|
|
423
|
+
s = !1;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
}, a = (h) => {
|
|
428
|
+
const c = h.target, d = this.indexFromElement(c);
|
|
429
|
+
if (!c.isConnected) {
|
|
430
|
+
this.observer.unobserve(c);
|
|
431
|
+
for (const [u, m] of this.elementsCache)
|
|
432
|
+
if (m === c) {
|
|
433
|
+
this.elementsCache.delete(u);
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
!this.isIndexInRange(d) || this.shouldMeasureDuringScroll(d) && this.resizeItem(d, this.options.measureElement(c, h, this));
|
|
439
|
+
};
|
|
440
|
+
return {
|
|
441
|
+
disconnect: () => {
|
|
442
|
+
var h;
|
|
443
|
+
(h = l()) == null || h.disconnect(), e == null || e.cancel(), r.clear(), o = !1, t = null, e = null;
|
|
444
|
+
},
|
|
445
|
+
observe: (h) => {
|
|
446
|
+
const c = l();
|
|
447
|
+
if (!!c) {
|
|
448
|
+
if (!s) {
|
|
449
|
+
c.observe(h, { box: "border-box" });
|
|
450
|
+
return;
|
|
451
|
+
}
|
|
452
|
+
r.add(h), o || (o = !0, e == null || e.schedule(() => {
|
|
453
|
+
o = !1, r.forEach((d) => {
|
|
454
|
+
d.isConnected && (t == null || t.observe(d, { box: "border-box" }));
|
|
455
|
+
}), r.clear();
|
|
456
|
+
}));
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
unobserve: (h) => {
|
|
460
|
+
var c;
|
|
461
|
+
r.delete(h), (c = l()) == null || c.unobserve(h);
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
})(), this.range = null, this.setOptions = (t) => {
|
|
465
|
+
var c, d;
|
|
466
|
+
var e;
|
|
467
|
+
const s = {
|
|
468
|
+
debug: !1,
|
|
469
|
+
initialOffset: 0,
|
|
470
|
+
overscan: 1,
|
|
471
|
+
paddingStart: 0,
|
|
472
|
+
paddingEnd: 0,
|
|
473
|
+
scrollPaddingStart: 0,
|
|
474
|
+
scrollPaddingEnd: 0,
|
|
475
|
+
horizontal: !1,
|
|
476
|
+
getItemKey: Rt,
|
|
477
|
+
rangeExtractor: tt,
|
|
478
|
+
onChange: () => {
|
|
479
|
+
},
|
|
480
|
+
measureElement: Tt,
|
|
481
|
+
initialRect: { width: 0, height: 0 },
|
|
482
|
+
scrollMargin: 0,
|
|
483
|
+
gap: 0,
|
|
484
|
+
indexAttribute: "data-index",
|
|
485
|
+
initialMeasurementsCache: [],
|
|
486
|
+
lanes: 1,
|
|
487
|
+
anchorTo: "start",
|
|
488
|
+
followOnAppend: !1,
|
|
489
|
+
scrollEndThreshold: 1,
|
|
490
|
+
isScrollingResetDelay: 150,
|
|
491
|
+
enabled: !0,
|
|
492
|
+
isRtl: !1,
|
|
493
|
+
useScrollendEvent: !1,
|
|
494
|
+
useAnimationFrameWithResizeObserver: !1,
|
|
495
|
+
laneAssignmentMode: "estimate",
|
|
496
|
+
useCachedMeasurements: !1
|
|
497
|
+
};
|
|
498
|
+
for (const u in t) {
|
|
499
|
+
const m = t[u];
|
|
500
|
+
m !== void 0 && (s[u] = m);
|
|
501
|
+
}
|
|
502
|
+
const o = this.options;
|
|
503
|
+
let r = null, l = null, a = !1;
|
|
504
|
+
if (o !== void 0 && o.enabled && s.enabled && s.anchorTo === "end" && this.scrollElement !== null) {
|
|
505
|
+
const u = o.count, m = s.count, w = this.getMeasurements(), g = (c = (e = this._singleLaneMeasurements) == null ? void 0 : e.items) != null ? c : w, v = (y) => gt(g[y]), b = u > 0 ? v(0) : null, S = u > 0 ? v(u - 1) : null;
|
|
506
|
+
if (m !== u || u > 0 && m > 0 && (s.getItemKey(0) !== b || s.getItemKey(m - 1) !== S)) {
|
|
507
|
+
a = !0;
|
|
508
|
+
const y = u > 0 ? (d = this.getVirtualItemForOffset(this.getScrollOffset())) != null ? d : w[0] : null;
|
|
509
|
+
y && (r = [y.key, this.getScrollOffset() - y.start]);
|
|
510
|
+
const _ = s.followOnAppend === !0 ? "auto" : s.followOnAppend || null;
|
|
511
|
+
_ && m > 0 && this.isAtEnd(o.scrollEndThreshold) && (u === 0 || s.getItemKey(m - 1) !== S) && (m > u || Lt(
|
|
512
|
+
u,
|
|
513
|
+
m,
|
|
514
|
+
v,
|
|
515
|
+
s.getItemKey
|
|
516
|
+
)) && (l = _);
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
this.options = s, a && (this.pendingMin = 0, this.itemSizeCacheVersion++);
|
|
520
|
+
let h = null;
|
|
521
|
+
if (r && this.scrollOffset !== null && !this._awaitingCommandReadBack()) {
|
|
522
|
+
const [u, m] = r, w = this.getMeasurements(), { count: g, getItemKey: v } = this.options;
|
|
523
|
+
let b = 0;
|
|
524
|
+
for (; b < g && v(b) !== u; )
|
|
525
|
+
b++;
|
|
526
|
+
if (b < g) {
|
|
527
|
+
const S = w[b];
|
|
528
|
+
if (S) {
|
|
529
|
+
const f = Math.max(0, S.start + m);
|
|
530
|
+
!l && f !== this.scrollOffset && (h = f - this.scrollOffset, this.scrollOffset = f);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
l ? this.pendingScrollAnchor = { kind: "follow", behavior: l } : h !== null && (this._canWriteScroll() ? this.pendingScrollAnchor = { kind: "anchor", delta: h } : (this._holdOffset += h, this._followOffsetTarget(h)));
|
|
535
|
+
}, this.notify = (t) => {
|
|
536
|
+
var e, s;
|
|
537
|
+
(s = (e = this.options).onChange) == null || s.call(e, this, t);
|
|
538
|
+
}, this.maybeNotify = E(
|
|
539
|
+
() => (this.calculateRange(), [
|
|
540
|
+
this.isScrolling,
|
|
541
|
+
this.range ? this.range.startIndex : null,
|
|
542
|
+
this.range ? this.range.endIndex : null
|
|
543
|
+
]),
|
|
544
|
+
(t) => {
|
|
545
|
+
this.notify(t);
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
key: !1,
|
|
549
|
+
debug: () => this.options.debug,
|
|
550
|
+
initialDeps: [
|
|
551
|
+
this.isScrolling,
|
|
552
|
+
this.range ? this.range.startIndex : null,
|
|
553
|
+
this.range ? this.range.endIndex : null
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
), this.cleanup = () => {
|
|
557
|
+
var t;
|
|
558
|
+
this.unsubs.filter(Boolean).forEach((e) => e()), this.unsubs = [], this.observer.disconnect(), this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null, (t = this._momentumStop) == null || t.restore(), this._momentumStop = null, this.isScrolling = !1, this.scrollDirection = null, this._holdOffset = 0, this._reportedOverscroll = !1, this._clampedAdjustment = null, this.pendingWrite = null, this.scrollElement = null, this.targetWindow = null;
|
|
559
|
+
}, this._didMount = () => () => {
|
|
560
|
+
this.cleanup();
|
|
561
|
+
}, this._willUpdate = () => {
|
|
562
|
+
var o;
|
|
563
|
+
var t;
|
|
564
|
+
const e = this.options.enabled ? this.options.getScrollElement() : null;
|
|
565
|
+
if (this.scrollElement !== e) {
|
|
566
|
+
if (this.cleanup(), !e) {
|
|
567
|
+
this.maybeNotify();
|
|
568
|
+
return;
|
|
569
|
+
}
|
|
570
|
+
this.scrollElement = e, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = (o = (t = this.scrollElement) == null ? void 0 : t.window) != null ? o : null, this.elementsCache.forEach((r) => {
|
|
571
|
+
this.observer.observe(r);
|
|
572
|
+
}), this.unsubs.push(
|
|
573
|
+
this.options.observeElementRect(this, (r) => {
|
|
574
|
+
this.scrollRect = r, this.maybeNotify();
|
|
575
|
+
})
|
|
576
|
+
), this.unsubs.push(
|
|
577
|
+
this.options.observeElementOffset(this, (r, l) => {
|
|
578
|
+
var f;
|
|
579
|
+
var a, h, c, d;
|
|
580
|
+
const u = l ? this._elementMaxScrollOffset() : null, m = this._reportedOverscroll;
|
|
581
|
+
this._reportedOverscroll = r < 0 || u !== null && r > u + 1;
|
|
582
|
+
const w = r;
|
|
583
|
+
this._lastElementOffset = w, r = this._toLayoutOffset(r);
|
|
584
|
+
const g = this._classifyScrollEvent(
|
|
585
|
+
r,
|
|
586
|
+
l,
|
|
587
|
+
u
|
|
588
|
+
);
|
|
589
|
+
if (g === "spurious")
|
|
590
|
+
return;
|
|
591
|
+
g === "readBack" ? r = this.pendingWrite.target : g === "clampedReadBack" && ((a = this.scrollState) == null ? void 0 : a.index) != null && r < this.getMaxScrollOffset() - 1.5 ? this.scrollState.lastTargetOffset = r : wt({
|
|
592
|
+
kind: g,
|
|
593
|
+
offset: r,
|
|
594
|
+
command: this.scrollState,
|
|
595
|
+
target: () => this.getScrollStateTarget(this.scrollState)
|
|
596
|
+
}) && (this.scrollState = null), this.pendingWrite = null, this._clampedAdjustment !== null && Math.abs(r - this._clampedAdjustment.maxAtWrite) >= 1.5 && (this._clampedAdjustment = null);
|
|
597
|
+
const v = this.getScrollOffset(), b = this.scrollDirection;
|
|
598
|
+
this.scrollDirection = l ? v === r ? this.scrollDirection : v < r ? "forward" : "backward" : null, this.scrollOffset = r, this.isScrolling = l;
|
|
599
|
+
const S = this.scrollState;
|
|
600
|
+
if ((S == null ? void 0 : S.phase) === "queued" && g === "external" && l)
|
|
601
|
+
if (m || this._reportedOverscroll)
|
|
602
|
+
S.samples = [];
|
|
603
|
+
else {
|
|
604
|
+
const p = this.now();
|
|
605
|
+
S.samples = [
|
|
606
|
+
...((f = S.samples) != null ? f : []).filter(
|
|
607
|
+
(y) => p - y.t <= 200
|
|
608
|
+
),
|
|
609
|
+
{ t: p, offset: w }
|
|
610
|
+
], (b !== null && this.scrollDirection !== b || St(S.samples)) && (this.scrollState = null);
|
|
611
|
+
}
|
|
612
|
+
this._iosGesture.onScroll({
|
|
613
|
+
isScrolling: l,
|
|
614
|
+
ownReadBack: g === "readBack",
|
|
615
|
+
moved: r !== v,
|
|
616
|
+
external: g === "external" && ((h = this.scrollState) == null ? void 0 : h.phase) !== "smooth" && ((c = this.scrollState) == null ? void 0 : c.phase) !== "smoothFinishing"
|
|
617
|
+
}) && ((d = this.scrollState) == null ? void 0 : d.phase) === "queued" && (this.scrollState = null), this._flushHoldIfReady(!0), this.scrollState && this.scheduleScrollReconcile(), this.maybeNotify();
|
|
618
|
+
})
|
|
619
|
+
), "addEventListener" in this.scrollElement && this.unsubs.push(
|
|
620
|
+
this._iosGesture.listen(this.scrollElement)
|
|
621
|
+
), this._scrollToOffset(this.getScrollOffset());
|
|
622
|
+
}
|
|
623
|
+
this._noteClampMax();
|
|
624
|
+
const s = this.pendingScrollAnchor;
|
|
625
|
+
this.pendingScrollAnchor = null, s && this.scrollElement && this.options.enabled && (s.kind === "anchor" ? this._canWriteScroll() ? W(this.scrollState) && !M(
|
|
626
|
+
this.getScrollOffset() - s.delta,
|
|
627
|
+
this.scrollState.lastTargetOffset
|
|
628
|
+
) || (this._followOffsetTarget(s.delta), this._scrollToOffset(this.getScrollOffset())) : (this._holdOffset += s.delta, this._followOffsetTarget(s.delta), this.notify(!1)) : this.scrollToEnd({ behavior: s.behavior })), this._flushHoldIfReady(!1), this._retryClampedAdjustment();
|
|
629
|
+
}, this._classifyScrollEvent = (t, e, s) => {
|
|
630
|
+
var r;
|
|
631
|
+
var o;
|
|
632
|
+
return vt({
|
|
633
|
+
offset: t,
|
|
634
|
+
isScrolling: e,
|
|
635
|
+
elementMax: s,
|
|
636
|
+
holdOffset: this._holdOffset,
|
|
637
|
+
scrollOffset: this.scrollOffset,
|
|
638
|
+
pendingWrite: this.pendingWrite,
|
|
639
|
+
clampedMaxAtWrite: (r = (o = this._clampedAdjustment) == null ? void 0 : o.maxAtWrite) != null ? r : null
|
|
640
|
+
});
|
|
641
|
+
}, this._retryClampedAdjustment = () => {
|
|
642
|
+
if (this._clampedAdjustment === null || !this.scrollElement || !this.options.enabled || !this._canWriteScroll())
|
|
643
|
+
return;
|
|
644
|
+
const { target: t, maxAtWrite: e } = this._clampedAdjustment, s = this.getMaxScrollOffset();
|
|
645
|
+
s > e + 0.5 && (this._clampedAdjustment = t > s + 0.5 ? { target: t, maxAtWrite: s } : null, this._scrollToOffset(t));
|
|
646
|
+
}, this._writeAwaitingCommand = () => {
|
|
647
|
+
const t = this.scrollState;
|
|
648
|
+
if (t === null || t.phase !== "queued")
|
|
649
|
+
return;
|
|
650
|
+
const { behavior: e } = t;
|
|
651
|
+
this.getMeasurements();
|
|
652
|
+
const s = this.getScrollStateTarget(t);
|
|
653
|
+
t.lastTargetOffset = s, this._clampedAdjustment = null, t.phase = J(
|
|
654
|
+
e,
|
|
655
|
+
t.index != null && M(s, this.getScrollOffset())
|
|
656
|
+
), this._scrollToOffset(s, { behavior: e }), this.scheduleScrollReconcile();
|
|
657
|
+
}, this._readElementOffset = () => {
|
|
658
|
+
const t = this.scrollElement;
|
|
659
|
+
if (t == null)
|
|
660
|
+
return null;
|
|
661
|
+
const { horizontal: e, isRtl: s } = this.options;
|
|
662
|
+
return typeof t.scrollTop == "number" ? e ? t.scrollLeft * (s && -1 || 1) : t.scrollTop : typeof t.scrollY == "number" ? e ? t.scrollX : t.scrollY : null;
|
|
663
|
+
}, this._canWriteScroll = () => !(V() && this._iosGesture.inMotion()) && !this._reportedOverscroll, this._flushHoldIfReady = (t) => {
|
|
664
|
+
var o;
|
|
665
|
+
var e;
|
|
666
|
+
if (this._holdOffset === 0 || !this.scrollElement || !this.options.enabled || !this._canWriteScroll() || ((e = this.scrollState) == null ? void 0 : e.phase) === "smooth")
|
|
667
|
+
return;
|
|
668
|
+
this._holdOffset = 0, this.scrollOffset !== null && this.scrollOffset < 0 && (this.scrollOffset = 0), this.notify(t);
|
|
669
|
+
const s = (o = this.getCommandWrittenOffset()) != null ? o : this.getScrollOffset();
|
|
670
|
+
this._clampedAdjustment = this._clampedBy(s), this._scrollToOffset(s);
|
|
671
|
+
}, this.rafId = null, this.getSize = () => {
|
|
672
|
+
var t;
|
|
673
|
+
return this.options.enabled ? (this.scrollRect = (t = this.scrollRect) != null ? t : this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0);
|
|
674
|
+
}, this.getScrollOffset = () => {
|
|
675
|
+
var t;
|
|
676
|
+
return this.options.enabled ? (this.scrollOffset = (t = this.scrollOffset) != null ? t : typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset, this.scrollOffset) : (this.scrollOffset = null, 0);
|
|
677
|
+
}, this.getMeasurementOptions = E(
|
|
678
|
+
() => [
|
|
679
|
+
this.options.count,
|
|
680
|
+
this.options.paddingStart,
|
|
681
|
+
this.options.scrollMargin,
|
|
682
|
+
this.options.getItemKey,
|
|
683
|
+
this.options.enabled,
|
|
684
|
+
this.options.lanes,
|
|
685
|
+
this.options.laneAssignmentMode,
|
|
686
|
+
this.options.gap
|
|
687
|
+
],
|
|
688
|
+
(t, e, s, o, r, l, a, h) => (this.prevLanes !== void 0 && this.prevLanes !== l && (this.lanesChangedFlag = !0), this.prevLanes = l, this.pendingMin = null, {
|
|
689
|
+
count: t,
|
|
690
|
+
paddingStart: e,
|
|
691
|
+
scrollMargin: s,
|
|
692
|
+
getItemKey: o,
|
|
693
|
+
enabled: r,
|
|
694
|
+
lanes: l,
|
|
695
|
+
laneAssignmentMode: a,
|
|
696
|
+
gap: h
|
|
697
|
+
}),
|
|
698
|
+
{
|
|
699
|
+
key: !1
|
|
700
|
+
}
|
|
701
|
+
), this.isIndexInRange = (t) => t >= 0 && t < this.options.count, this.getMeasurements = E(
|
|
702
|
+
() => [this.getMeasurementOptions(), this.itemSizeCacheVersion],
|
|
703
|
+
({
|
|
704
|
+
count: t,
|
|
705
|
+
paddingStart: e,
|
|
706
|
+
scrollMargin: s,
|
|
707
|
+
getItemKey: o,
|
|
708
|
+
enabled: r,
|
|
709
|
+
lanes: l,
|
|
710
|
+
laneAssignmentMode: a,
|
|
711
|
+
gap: h
|
|
712
|
+
}, c) => {
|
|
713
|
+
var S;
|
|
714
|
+
var d;
|
|
715
|
+
const u = this.itemSizeCache;
|
|
716
|
+
if (!r)
|
|
717
|
+
return this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), [];
|
|
718
|
+
if (this.laneAssignments.size > t)
|
|
719
|
+
for (const f of this.laneAssignments.keys())
|
|
720
|
+
f >= t && this.laneAssignments.delete(f);
|
|
721
|
+
this.lanesChangedFlag && (this.lanesChangedFlag = !1, this.lanesSettling = !0, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.pendingMin = null), this.measurementsCache.length === 0 && !this.lanesSettling && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((f) => {
|
|
722
|
+
this.itemSizeCache.set(f.key, f.size);
|
|
723
|
+
}));
|
|
724
|
+
const m = this.lanesSettling ? 0 : (S = this.pendingMin) != null ? S : 0;
|
|
725
|
+
if (this.pendingMin = null, this.lanesSettling && this.measurementsCache.length === t && (this.lanesSettling = !1), l === 1) {
|
|
726
|
+
const f = t * 2;
|
|
727
|
+
let p = (d = this._singleLaneMeasurements) == null ? void 0 : d.flat;
|
|
728
|
+
if (!p || p.length < f) {
|
|
729
|
+
const x = new Float64Array(f);
|
|
730
|
+
p && m > 0 && x.set(p.subarray(0, m * 2)), p = x;
|
|
731
|
+
}
|
|
732
|
+
const y = m === 0 ? new Array(t) : this._singleLaneMeasurements.items.slice();
|
|
733
|
+
let _;
|
|
734
|
+
if (m === 0)
|
|
735
|
+
_ = e + s;
|
|
736
|
+
else {
|
|
737
|
+
const x = m - 1;
|
|
738
|
+
_ = p[x * 2] + p[x * 2 + 1] + h;
|
|
739
|
+
}
|
|
740
|
+
for (let x = m; x < t; x++) {
|
|
741
|
+
const A = o(x);
|
|
742
|
+
y[x] = A;
|
|
743
|
+
const T = u.get(A), k = typeof T == "number" ? T : this.options.estimateSize(x);
|
|
744
|
+
p[x * 2] = _, p[x * 2 + 1] = k, _ += k + h;
|
|
745
|
+
}
|
|
746
|
+
this._singleLaneMeasurements = { flat: p, items: y };
|
|
747
|
+
const C = pt(y, p);
|
|
748
|
+
return this.measurementsCache = C, C;
|
|
749
|
+
}
|
|
750
|
+
const w = this.measurementsCache.slice(0, m), g = new Array(l).fill(
|
|
751
|
+
void 0
|
|
752
|
+
), v = new Float64Array(l);
|
|
753
|
+
let b = 0;
|
|
754
|
+
for (let f = 0; f < m; f++) {
|
|
755
|
+
const p = w[f];
|
|
756
|
+
p && (g[p.lane] === void 0 && b++, g[p.lane] = f, v[p.lane] = p.end);
|
|
757
|
+
}
|
|
758
|
+
for (let f = m; f < t; f++) {
|
|
759
|
+
const p = o(f), y = this.laneAssignments.get(f);
|
|
760
|
+
let _, C;
|
|
761
|
+
const x = a === "estimate" || u.has(p);
|
|
762
|
+
if (y !== void 0 && this.options.lanes > 1) {
|
|
763
|
+
_ = y;
|
|
764
|
+
const D = g[_], R = D !== void 0 ? w[D] : void 0;
|
|
765
|
+
C = R ? R.end + h : e + s;
|
|
766
|
+
} else if (b === l) {
|
|
767
|
+
let D = 0, R = v[0], G = g[0];
|
|
768
|
+
for (let z = 1; z < l; z++) {
|
|
769
|
+
const B = v[z];
|
|
770
|
+
(B < R || B === R && g[z] < G) && (D = z, R = B, G = g[z]);
|
|
771
|
+
}
|
|
772
|
+
_ = D, C = R + h, x && this.laneAssignments.set(f, _);
|
|
773
|
+
} else
|
|
774
|
+
_ = f % this.options.lanes, C = e + s, x && this.laneAssignments.set(f, _);
|
|
775
|
+
const A = u.get(p), T = typeof A == "number" ? A : this.options.estimateSize(f), k = C + T;
|
|
776
|
+
w[f] = {
|
|
777
|
+
index: f,
|
|
778
|
+
start: C,
|
|
779
|
+
size: T,
|
|
780
|
+
end: k,
|
|
781
|
+
key: p,
|
|
782
|
+
lane: _
|
|
783
|
+
}, g[_] === void 0 && b++, g[_] = f, v[_] = k;
|
|
784
|
+
}
|
|
785
|
+
return this.measurementsCache = w, w;
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
key: !1,
|
|
789
|
+
debug: () => this.options.debug
|
|
790
|
+
}
|
|
791
|
+
), this.calculateRange = E(
|
|
792
|
+
() => [
|
|
793
|
+
this.getMeasurements(),
|
|
794
|
+
this.getSize(),
|
|
795
|
+
this.getScrollOffset(),
|
|
796
|
+
this.options.lanes,
|
|
797
|
+
this._getLayoutTotalSize() + this.options.scrollMargin
|
|
798
|
+
],
|
|
799
|
+
(t, e, s, o, r) => {
|
|
800
|
+
if (t.length === 0 || e === 0)
|
|
801
|
+
return this.range = null, null;
|
|
802
|
+
const l = Math.max(r - e, 0);
|
|
803
|
+
return this.range = Vt(
|
|
804
|
+
t,
|
|
805
|
+
e,
|
|
806
|
+
Math.min(s, l),
|
|
807
|
+
o,
|
|
808
|
+
o === 1 && this._singleLaneMeasurements !== null ? this._singleLaneMeasurements.flat : null
|
|
809
|
+
), this.range;
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
key: !1,
|
|
813
|
+
debug: () => this.options.debug
|
|
814
|
+
}
|
|
815
|
+
), this.getVirtualIndexes = E(
|
|
816
|
+
() => {
|
|
817
|
+
let t = null, e = null;
|
|
818
|
+
const s = this.calculateRange();
|
|
819
|
+
return s && (t = s.startIndex, e = s.endIndex), this.maybeNotify.updateDeps([this.isScrolling, t, e]), [
|
|
820
|
+
this.options.rangeExtractor,
|
|
821
|
+
this.options.overscan,
|
|
822
|
+
this.options.count,
|
|
823
|
+
t,
|
|
824
|
+
e,
|
|
825
|
+
this.options.lanes
|
|
826
|
+
];
|
|
827
|
+
},
|
|
828
|
+
(t, e, s, o, r, l) => o === null || r === null ? [] : t({
|
|
829
|
+
startIndex: o,
|
|
830
|
+
endIndex: r,
|
|
831
|
+
overscan: e,
|
|
832
|
+
count: s,
|
|
833
|
+
lanes: l
|
|
834
|
+
}),
|
|
835
|
+
{
|
|
836
|
+
key: !1,
|
|
837
|
+
debug: () => this.options.debug
|
|
838
|
+
}
|
|
839
|
+
), this.indexFromElement = (t) => {
|
|
840
|
+
const e = this.options.indexAttribute, s = t.getAttribute(e);
|
|
841
|
+
return s ? parseInt(s, 10) : (console.warn(
|
|
842
|
+
`Missing attribute name '${e}={index}' on measured element.`
|
|
843
|
+
), -1);
|
|
844
|
+
}, this.shouldMeasureDuringScroll = (t) => {
|
|
845
|
+
var o;
|
|
846
|
+
var e;
|
|
847
|
+
if (!W(this.scrollState))
|
|
848
|
+
return !0;
|
|
849
|
+
const s = (o = this.scrollState.index) != null ? o : (e = this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)) == null ? void 0 : e.index;
|
|
850
|
+
if (s !== void 0 && this.range) {
|
|
851
|
+
const r = Math.max(
|
|
852
|
+
this.options.overscan,
|
|
853
|
+
Math.ceil((this.range.endIndex - this.range.startIndex) / 2)
|
|
854
|
+
), l = Math.max(0, s - r), a = Math.min(
|
|
855
|
+
this.options.count - 1,
|
|
856
|
+
s + r
|
|
857
|
+
);
|
|
858
|
+
return t >= l && t <= a;
|
|
859
|
+
}
|
|
860
|
+
return !0;
|
|
861
|
+
}, this.measureElement = (t) => {
|
|
862
|
+
if (!t) {
|
|
863
|
+
this.elementsCache.forEach((r, l) => {
|
|
864
|
+
r.isConnected || (this.observer.unobserve(r), this.elementsCache.delete(l));
|
|
865
|
+
});
|
|
866
|
+
return;
|
|
867
|
+
}
|
|
868
|
+
const e = this.indexFromElement(t);
|
|
869
|
+
if (!this.isIndexInRange(e))
|
|
870
|
+
return;
|
|
871
|
+
const s = this.options.getItemKey(e), o = this.elementsCache.get(s);
|
|
872
|
+
o !== t && (o && this.observer.unobserve(o), this.observer.observe(t), this.elementsCache.set(s, t)), t.isConnected && (!this.isScrolling || this.scrollState) && this.shouldMeasureDuringScroll(e) && this.resizeItem(e, this.options.measureElement(t, void 0, this));
|
|
873
|
+
}, this.resizeItem = (t, e) => {
|
|
874
|
+
var m, w;
|
|
875
|
+
var s, o, r;
|
|
876
|
+
if (!this.isIndexInRange(t))
|
|
877
|
+
return;
|
|
878
|
+
(s = this._resizeBatch) != null && s.sync && this.getMeasurements();
|
|
879
|
+
let l, a, h;
|
|
880
|
+
const c = (o = this._singleLaneMeasurements) == null ? void 0 : o.flat;
|
|
881
|
+
if (this.options.lanes === 1 && c != null)
|
|
882
|
+
h = this.options.getItemKey(t), a = c[t * 2], l = c[t * 2 + 1];
|
|
883
|
+
else {
|
|
884
|
+
const g = this.measurementsCache[t];
|
|
885
|
+
if (!g)
|
|
886
|
+
return;
|
|
887
|
+
h = g.key, a = g.start, l = g.size;
|
|
888
|
+
}
|
|
889
|
+
const d = (m = this.itemSizeCache.get(h)) != null ? m : l, u = e - d;
|
|
890
|
+
if (u !== 0) {
|
|
891
|
+
const g = this.options.anchorTo === "end" && !W(this.scrollState) && this.getVirtualDistanceFromEnd() <= this.options.scrollEndThreshold, v = g ? this._getLayoutTotalSize() : 0, b = this.getScrollOffset(), f = !this.itemSizeCache.has(h) ? a < b : a + d <= b && this.scrollDirection !== "backward", p = !W(this.scrollState) && (this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(
|
|
892
|
+
(w = this.measurementsCache[t]) != null ? w : {
|
|
893
|
+
index: t,
|
|
894
|
+
key: h,
|
|
895
|
+
start: a,
|
|
896
|
+
size: l,
|
|
897
|
+
end: a + l,
|
|
898
|
+
lane: 0
|
|
899
|
+
},
|
|
900
|
+
u,
|
|
901
|
+
this
|
|
902
|
+
) : f);
|
|
903
|
+
(this.pendingMin === null || t < this.pendingMin) && (this.pendingMin = t), this.itemSizeCache.set(h, e), this.itemSizeCacheVersion++;
|
|
904
|
+
let y = !1;
|
|
905
|
+
if (this._awaitingCommandReadBack() || (g ? y = this.applyScrollAdjustment(
|
|
906
|
+
this._getLayoutTotalSize() - v
|
|
907
|
+
) : p && (y = this.applyScrollAdjustment(u))), this._resizeBatch) {
|
|
908
|
+
this._resizeBatch.notify = !0, (r = this._resizeBatch).sync || (r.sync = y);
|
|
909
|
+
return;
|
|
910
|
+
}
|
|
911
|
+
this.notify(y), this._noteClampMax(), this._flushHoldIfReady(!0), this._retryClampedAdjustment();
|
|
912
|
+
}
|
|
913
|
+
}, this.getVirtualItems = E(
|
|
914
|
+
() => [this.getVirtualIndexes(), this.getMeasurements(), this._holdOffset],
|
|
915
|
+
(t, e, s) => {
|
|
916
|
+
const o = [];
|
|
917
|
+
for (let r = 0, l = t.length; r < l; r++) {
|
|
918
|
+
const a = t[r], h = e[a];
|
|
919
|
+
o.push(
|
|
920
|
+
s === 0 ? h : {
|
|
921
|
+
...h,
|
|
922
|
+
start: h.start - s,
|
|
923
|
+
end: h.end - s
|
|
924
|
+
}
|
|
925
|
+
);
|
|
926
|
+
}
|
|
927
|
+
return o;
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
key: !1,
|
|
931
|
+
debug: () => this.options.debug
|
|
932
|
+
}
|
|
933
|
+
), this.getVirtualItemForOffset = (t) => {
|
|
934
|
+
var e;
|
|
935
|
+
const s = this.getMeasurements();
|
|
936
|
+
if (s.length === 0)
|
|
937
|
+
return;
|
|
938
|
+
const o = (e = this._singleLaneMeasurements) == null ? void 0 : e.flat, r = this.options.lanes === 1 && o != null, l = it(
|
|
939
|
+
0,
|
|
940
|
+
s.length - 1,
|
|
941
|
+
r ? (a) => o[a * 2] : (a) => X(s[a]).start,
|
|
942
|
+
t
|
|
943
|
+
);
|
|
944
|
+
return X(s[l]);
|
|
945
|
+
}, this._noteClampMax = () => {
|
|
946
|
+
var r;
|
|
947
|
+
if (!this._awaitingCommandReadBack())
|
|
948
|
+
return;
|
|
949
|
+
const t = this._elementMaxScrollOffset();
|
|
950
|
+
if (t === null)
|
|
951
|
+
return;
|
|
952
|
+
const e = this.pendingWrite, s = Math.max(t, 0) + this._holdOffset;
|
|
953
|
+
if (s >= e.target)
|
|
954
|
+
return;
|
|
955
|
+
const o = (r = e.lowMaxes) != null ? r : e.lowMaxes = [];
|
|
956
|
+
o[o.length - 1] !== s && o.push(s);
|
|
957
|
+
}, this.getMaxScrollOffset = () => {
|
|
958
|
+
var t;
|
|
959
|
+
return ((t = this._elementMaxScrollOffset()) != null ? t : 0) + this._holdOffset;
|
|
960
|
+
}, this._toLayoutOffset = (t) => {
|
|
961
|
+
var e;
|
|
962
|
+
let s = t + this._holdOffset;
|
|
963
|
+
return ((e = this.pendingScrollAnchor) == null ? void 0 : e.kind) === "anchor" && (s += this.pendingScrollAnchor.delta), s;
|
|
964
|
+
}, this._elementMaxScrollOffset = () => {
|
|
965
|
+
const t = this.scrollElement;
|
|
966
|
+
if (t === null)
|
|
967
|
+
return null;
|
|
968
|
+
if ("scrollHeight" in t)
|
|
969
|
+
return this.options.horizontal ? t.scrollWidth - t.clientWidth : t.scrollHeight - t.clientHeight;
|
|
970
|
+
if ("document" in t) {
|
|
971
|
+
const e = t.document.documentElement;
|
|
972
|
+
return this.options.horizontal ? e.scrollWidth - t.innerWidth : e.scrollHeight - t.innerHeight;
|
|
973
|
+
}
|
|
974
|
+
return null;
|
|
975
|
+
}, this._momentumStop = null, this._stopMomentum = (t) => {
|
|
976
|
+
const e = this.scrollElement, s = this.targetWindow;
|
|
977
|
+
if (e === null || s === null)
|
|
978
|
+
return;
|
|
979
|
+
const o = "document" in e ? e.document.scrollingElement : e;
|
|
980
|
+
if (!(o != null && o.style))
|
|
981
|
+
return;
|
|
982
|
+
if (this._momentumStop) {
|
|
983
|
+
this._momentumStop.done = t;
|
|
984
|
+
return;
|
|
985
|
+
}
|
|
986
|
+
const { style: r } = o, l = this.options.horizontal ? "overflow-x" : "overflow-y", a = r.getPropertyValue(l), h = r.getPropertyPriority(l), c = () => this.options.horizontal ? o.clientHeight : o.clientWidth, d = c();
|
|
987
|
+
if (r.setProperty(l, "hidden", "important"), c() !== d) {
|
|
988
|
+
r.setProperty(l, a, h);
|
|
989
|
+
return;
|
|
990
|
+
}
|
|
991
|
+
const u = {
|
|
992
|
+
restore: () => r.getPropertyValue(l) !== "hidden" || r.getPropertyPriority(l) !== "important" ? !1 : (r.setProperty(l, a, h), !0),
|
|
993
|
+
done: t
|
|
994
|
+
};
|
|
995
|
+
this._momentumStop = u, s.requestAnimationFrame(
|
|
996
|
+
() => s.requestAnimationFrame(() => {
|
|
997
|
+
this._momentumStop === u && (this._momentumStop = null, u.restore() && u.done());
|
|
998
|
+
})
|
|
999
|
+
);
|
|
1000
|
+
}, this._clampedBy = (t) => {
|
|
1001
|
+
const e = this._elementMaxScrollOffset();
|
|
1002
|
+
if (e === null)
|
|
1003
|
+
return null;
|
|
1004
|
+
const s = e + this._holdOffset;
|
|
1005
|
+
return t > s + 0.5 ? { target: t, maxAtWrite: s } : null;
|
|
1006
|
+
}, this.getVirtualDistanceFromEnd = () => Math.max(
|
|
1007
|
+
this._getLayoutTotalSize() + this.options.scrollMargin - this.getSize() - this.getScrollOffset(),
|
|
1008
|
+
0
|
|
1009
|
+
), this.getDistanceFromEnd = () => Math.max(this.getMaxScrollOffset() - this.getScrollOffset(), 0), this.isAtEnd = (t = this.options.scrollEndThreshold) => this.getDistanceFromEnd() <= t, this.getOffsetForAlignment = (t, e, s = 0) => {
|
|
1010
|
+
if (!this.scrollElement)
|
|
1011
|
+
return 0;
|
|
1012
|
+
const o = this.getSize(), r = this.getScrollOffset();
|
|
1013
|
+
e === "auto" && (e = t >= r + o ? "end" : "start"), e === "center" ? t += (s - o) / 2 : e === "end" && (t -= o);
|
|
1014
|
+
const l = this.getMaxScrollOffset();
|
|
1015
|
+
return Math.max(Math.min(l, t), 0);
|
|
1016
|
+
}, this.getOffsetForIndex = (t, e = "auto") => {
|
|
1017
|
+
t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
1018
|
+
const s = this.getSize(), o = this.getScrollOffset(), r = this.measurementsCache[t];
|
|
1019
|
+
if (!r)
|
|
1020
|
+
return;
|
|
1021
|
+
if (e === "auto")
|
|
1022
|
+
if (r.end >= o + s - this.options.scrollPaddingEnd)
|
|
1023
|
+
e = "end";
|
|
1024
|
+
else if (r.start <= o + this.options.scrollPaddingStart)
|
|
1025
|
+
e = "start";
|
|
1026
|
+
else
|
|
1027
|
+
return [o, e];
|
|
1028
|
+
if (e === "end" && t === this.options.count - 1) {
|
|
1029
|
+
const a = this.getMaxScrollOffset(), h = a - this.options.paddingEnd + this.options.scrollPaddingEnd;
|
|
1030
|
+
return [Math.max(Math.min(h, a), 0), e];
|
|
1031
|
+
}
|
|
1032
|
+
const l = e === "end" ? r.end + this.options.scrollPaddingEnd : r.start - this.options.scrollPaddingStart;
|
|
1033
|
+
return [
|
|
1034
|
+
this.getOffsetForAlignment(l, e, r.size),
|
|
1035
|
+
e
|
|
1036
|
+
];
|
|
1037
|
+
}, this.scrollToOffset = (t, { align: e = "start", behavior: s = "auto" } = {}) => {
|
|
1038
|
+
this._startScroll(
|
|
1039
|
+
{ index: null, align: e },
|
|
1040
|
+
this.getOffsetForAlignment(t, e),
|
|
1041
|
+
s,
|
|
1042
|
+
"absolute"
|
|
1043
|
+
);
|
|
1044
|
+
}, this.scrollToIndex = (t, {
|
|
1045
|
+
align: e = "auto",
|
|
1046
|
+
behavior: s = "auto"
|
|
1047
|
+
} = {}) => {
|
|
1048
|
+
t = Math.max(0, Math.min(t, this.options.count - 1));
|
|
1049
|
+
const o = this.getOffsetForIndex(t, e);
|
|
1050
|
+
if (!o)
|
|
1051
|
+
return;
|
|
1052
|
+
const [r, l] = o;
|
|
1053
|
+
this._startScroll({ index: t, align: l }, r, s, "absolute");
|
|
1054
|
+
}, this.scrollBy = (t, { behavior: e = "auto" } = {}) => {
|
|
1055
|
+
var o;
|
|
1056
|
+
const s = this.getOffsetForAlignment(
|
|
1057
|
+
((o = this.getCommandWrittenOffset()) != null ? o : this.getScrollOffset()) + t,
|
|
1058
|
+
"start"
|
|
1059
|
+
);
|
|
1060
|
+
this._startScroll(
|
|
1061
|
+
{ index: null, align: "start" },
|
|
1062
|
+
s,
|
|
1063
|
+
e,
|
|
1064
|
+
"relative"
|
|
1065
|
+
);
|
|
1066
|
+
}, this.scrollToEnd = ({ behavior: t = "auto" } = {}) => {
|
|
1067
|
+
if (this.options.count > 0) {
|
|
1068
|
+
this._startScroll(
|
|
1069
|
+
{ index: this.options.count - 1, align: "end", toEnd: !0 },
|
|
1070
|
+
Math.max(this.getMaxScrollOffset(), 0),
|
|
1071
|
+
t,
|
|
1072
|
+
"absolute"
|
|
1073
|
+
);
|
|
1074
|
+
return;
|
|
1075
|
+
}
|
|
1076
|
+
this.scrollToOffset(Math.max(this.getTotalSize() - this.getSize(), 0), {
|
|
1077
|
+
behavior: t
|
|
1078
|
+
});
|
|
1079
|
+
}, this.cancelScroll = () => {
|
|
1080
|
+
this.rafId != null && this.targetWindow && (this.targetWindow.cancelAnimationFrame(this.rafId), this.rafId = null), this.scrollState = null;
|
|
1081
|
+
}, this.getTotalSize = () => Math.max(this._getLayoutTotalSize() - this._holdOffset, 0), this._getLayoutTotalSize = () => {
|
|
1082
|
+
var r;
|
|
1083
|
+
var t, e;
|
|
1084
|
+
const s = this.getMeasurements();
|
|
1085
|
+
let o;
|
|
1086
|
+
if (s.length === 0)
|
|
1087
|
+
o = this.options.paddingStart;
|
|
1088
|
+
else if (this.options.lanes === 1) {
|
|
1089
|
+
const l = s.length - 1, a = (t = this._singleLaneMeasurements) == null ? void 0 : t.flat;
|
|
1090
|
+
a != null ? o = a[l * 2] + a[l * 2 + 1] : o = (r = (e = s[l]) == null ? void 0 : e.end) != null ? r : 0;
|
|
1091
|
+
} else {
|
|
1092
|
+
const l = Array(this.options.lanes).fill(null);
|
|
1093
|
+
let a = s.length - 1;
|
|
1094
|
+
for (; a >= 0 && l.some((h) => h === null); ) {
|
|
1095
|
+
const h = s[a];
|
|
1096
|
+
l[h.lane] === null && (l[h.lane] = h.end), a--;
|
|
1097
|
+
}
|
|
1098
|
+
o = Math.max(...l.filter((h) => h !== null));
|
|
1099
|
+
}
|
|
1100
|
+
return Math.max(
|
|
1101
|
+
o - this.options.scrollMargin + this.options.paddingEnd,
|
|
1102
|
+
0
|
|
1103
|
+
);
|
|
1104
|
+
}, this.takeSnapshot = () => {
|
|
1105
|
+
const t = [];
|
|
1106
|
+
if (this.itemSizeCache.size === 0)
|
|
1107
|
+
return t;
|
|
1108
|
+
const e = this.getMeasurements();
|
|
1109
|
+
for (const s of e)
|
|
1110
|
+
s && this.itemSizeCache.has(s.key) && t.push({
|
|
1111
|
+
index: s.index,
|
|
1112
|
+
key: s.key,
|
|
1113
|
+
start: s.start,
|
|
1114
|
+
size: s.size,
|
|
1115
|
+
end: s.end,
|
|
1116
|
+
lane: s.lane
|
|
1117
|
+
});
|
|
1118
|
+
return t;
|
|
1119
|
+
}, this._scrollToOffset = (t, {
|
|
1120
|
+
adjustments: e,
|
|
1121
|
+
behavior: s
|
|
1122
|
+
} = {}) => {
|
|
1123
|
+
const o = {
|
|
1124
|
+
target: t + (e != null ? e : 0),
|
|
1125
|
+
smooth: s === "smooth"
|
|
1126
|
+
};
|
|
1127
|
+
return this.pendingWrite = o, this.options.scrollToFn(
|
|
1128
|
+
t - this._holdOffset,
|
|
1129
|
+
{ behavior: s, adjustments: e },
|
|
1130
|
+
this
|
|
1131
|
+
), o;
|
|
1132
|
+
}, this.getCommandWrittenOffset = () => this.scrollState !== null && this.pendingWrite !== null && !this.pendingWrite.smooth ? this.pendingWrite.target : null, this._awaitingCommandReadBack = () => {
|
|
1133
|
+
const t = this.getCommandWrittenOffset();
|
|
1134
|
+
return !(V() && this._iosGesture.dragging()) && t !== null && !M(t, this.getScrollOffset());
|
|
1135
|
+
}, this._followOffsetTarget = (t) => {
|
|
1136
|
+
this.scrollState !== null && this.scrollState.index == null && (this.scrollState.lastTargetOffset += t);
|
|
1137
|
+
}, this.measure = () => {
|
|
1138
|
+
this.pendingMin = null, this.itemSizeCache.clear(), this.laneAssignments.clear(), this.itemSizeCacheVersion++, this.notify(!1);
|
|
1139
|
+
}, this.setOptions(n);
|
|
1140
|
+
}
|
|
1141
|
+
get scrollAdjustments() {
|
|
1142
|
+
return 0;
|
|
1143
|
+
}
|
|
1144
|
+
applyScrollAdjustment(n, t) {
|
|
1145
|
+
if (n === 0)
|
|
1146
|
+
return !1;
|
|
1147
|
+
if (this._followOffsetTarget(n), this._canWriteScroll()) {
|
|
1148
|
+
const e = this.getScrollOffset();
|
|
1149
|
+
this._clampedAdjustment = this._clampedBy(e + n);
|
|
1150
|
+
const s = this._scrollToOffset(e, {
|
|
1151
|
+
adjustments: n,
|
|
1152
|
+
behavior: t
|
|
1153
|
+
});
|
|
1154
|
+
return this.scrollOffset !== null && (this.pendingWrite === s && (this.scrollOffset += n), this.scrollOffset < 0 && (this.scrollOffset = 0)), !0;
|
|
1155
|
+
} else
|
|
1156
|
+
return this._holdOffset += n, this.scrollOffset !== null && (this.scrollOffset += n), !0;
|
|
1157
|
+
}
|
|
1158
|
+
scheduleScrollReconcile() {
|
|
1159
|
+
if (!this.targetWindow) {
|
|
1160
|
+
this.scrollState = null;
|
|
1161
|
+
return;
|
|
1162
|
+
}
|
|
1163
|
+
this.rafId == null && (this.rafId = this.targetWindow.requestAnimationFrame(() => {
|
|
1164
|
+
this.rafId = null, this.reconcileScroll();
|
|
1165
|
+
}));
|
|
1166
|
+
}
|
|
1167
|
+
getScrollStateTarget(n) {
|
|
1168
|
+
const t = n.toEnd ? [Math.max(this.getMaxScrollOffset(), 0)] : n.index != null ? this.getOffsetForIndex(n.index, n.align) : void 0;
|
|
1169
|
+
return t ? t[0] : n.lastTargetOffset;
|
|
1170
|
+
}
|
|
1171
|
+
reconcileScroll() {
|
|
1172
|
+
if (!this.scrollState || !this.scrollElement)
|
|
1173
|
+
return;
|
|
1174
|
+
const t = 5e3;
|
|
1175
|
+
if (this.now() - this.scrollState.startedAt > t) {
|
|
1176
|
+
this.scrollState = null;
|
|
1177
|
+
return;
|
|
1178
|
+
}
|
|
1179
|
+
if (this.scrollState.phase === "queued") {
|
|
1180
|
+
this.scheduleScrollReconcile();
|
|
1181
|
+
return;
|
|
1182
|
+
}
|
|
1183
|
+
this.getMeasurements();
|
|
1184
|
+
const e = this.getScrollStateTarget(this.scrollState), s = this.scrollState.index == null ? 1 : this.options.useAnimationFrameWithResizeObserver ? 3 : 2, o = e !== this.scrollState.lastTargetOffset;
|
|
1185
|
+
if (!o && M(e, this.getScrollOffset())) {
|
|
1186
|
+
if (this.scrollState.phase === "smooth" ? this.scrollState.phase = "smoothLanded" : this.scrollState.phase === "smoothFinishing" && (this.scrollState.phase = "instant"), this.scrollState.stableFrames++, this.scrollState.stableFrames >= s) {
|
|
1187
|
+
this.getScrollOffset() !== e && this._scrollToOffset(e, { behavior: "auto" }), this.scrollState = null;
|
|
1188
|
+
return;
|
|
1189
|
+
}
|
|
1190
|
+
} else if (this.scrollState.stableFrames = 0, o) {
|
|
1191
|
+
const r = this.getSize() || 600, l = Math.abs(e - this.getScrollOffset()), a = W(this.scrollState) && l > r;
|
|
1192
|
+
this.scrollState.lastTargetOffset = e, a ? this.scrollState.phase = "smooth" : this.scrollState.phase === "smooth" ? this.scrollState.phase = "smoothFinishing" : this.scrollState.phase === "smoothLanded" && (this.scrollState.phase = "instant"), this._scrollToOffset(e, {
|
|
1193
|
+
behavior: a ? "smooth" : "auto"
|
|
1194
|
+
});
|
|
1195
|
+
}
|
|
1196
|
+
this.scheduleScrollReconcile();
|
|
1197
|
+
}
|
|
1198
|
+
_startScroll(n, t, e, s) {
|
|
1199
|
+
this.pendingScrollAnchor = null, this._clampedAdjustment = null;
|
|
1200
|
+
const o = this._iosGesture.tail();
|
|
1201
|
+
if (s === "absolute" && o !== null) {
|
|
1202
|
+
if (o === "fling" && xt()) {
|
|
1203
|
+
this._stopMomentum(() => {
|
|
1204
|
+
const r = this.scrollState;
|
|
1205
|
+
(r == null ? void 0 : r.phase) !== "queued" || this._iosGesture.tail() !== "fling" || this._reportedOverscroll || (this._iosGesture.end(), this._flushHoldIfReady(!0), this._writeAwaitingCommand());
|
|
1206
|
+
}), this.scrollState = {
|
|
1207
|
+
...n,
|
|
1208
|
+
startedAt: this.now(),
|
|
1209
|
+
lastTargetOffset: t,
|
|
1210
|
+
stableFrames: 0,
|
|
1211
|
+
phase: "queued",
|
|
1212
|
+
behavior: e,
|
|
1213
|
+
samples: []
|
|
1214
|
+
}, this.scheduleScrollReconcile();
|
|
1215
|
+
return;
|
|
1216
|
+
}
|
|
1217
|
+
this._iosGesture.end();
|
|
1218
|
+
}
|
|
1219
|
+
this.scrollState = {
|
|
1220
|
+
...n,
|
|
1221
|
+
startedAt: this.now(),
|
|
1222
|
+
lastTargetOffset: t,
|
|
1223
|
+
stableFrames: 0,
|
|
1224
|
+
behavior: e,
|
|
1225
|
+
phase: J(
|
|
1226
|
+
e,
|
|
1227
|
+
n.index != null && M(t, this.getScrollOffset())
|
|
1228
|
+
)
|
|
1229
|
+
}, this._scrollToOffset(t, { behavior: e }), this.scheduleScrollReconcile();
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
const it = (i, n, t, e) => {
|
|
1233
|
+
for (; i <= n; ) {
|
|
1234
|
+
const s = (i + n) / 2 | 0, o = t(s);
|
|
1235
|
+
if (o < e)
|
|
1236
|
+
i = s + 1;
|
|
1237
|
+
else if (o > e)
|
|
1238
|
+
n = s - 1;
|
|
1239
|
+
else
|
|
1240
|
+
return s;
|
|
1241
|
+
}
|
|
1242
|
+
return i > 0 ? i - 1 : 0;
|
|
1243
|
+
};
|
|
1244
|
+
function Ft(i, n, t) {
|
|
1245
|
+
let e = 0;
|
|
1246
|
+
for (; e <= n; ) {
|
|
1247
|
+
const s = (e + n) / 2 | 0, o = i[s * 2];
|
|
1248
|
+
if (o < t)
|
|
1249
|
+
e = s + 1;
|
|
1250
|
+
else if (o > t)
|
|
1251
|
+
n = s - 1;
|
|
1252
|
+
else
|
|
1253
|
+
return s;
|
|
1254
|
+
}
|
|
1255
|
+
return e > 0 ? e - 1 : 0;
|
|
1256
|
+
}
|
|
1257
|
+
function Vt(i, n, t, e, s) {
|
|
1258
|
+
const o = i.length - 1;
|
|
1259
|
+
if (i.length <= e)
|
|
1260
|
+
return { startIndex: 0, endIndex: o };
|
|
1261
|
+
if (e === 1 && s !== null) {
|
|
1262
|
+
const h = Ft(
|
|
1263
|
+
s,
|
|
1264
|
+
o,
|
|
1265
|
+
t
|
|
1266
|
+
);
|
|
1267
|
+
let c = h;
|
|
1268
|
+
const d = t + n;
|
|
1269
|
+
for (; c < o && s[c * 2] + s[c * 2 + 1] < d; )
|
|
1270
|
+
c++;
|
|
1271
|
+
return { startIndex: h, endIndex: c };
|
|
1272
|
+
}
|
|
1273
|
+
let l = it(0, o, (h) => i[h].start, t), a = l;
|
|
1274
|
+
if (e === 1)
|
|
1275
|
+
for (; a < o && i[a].end < t + n; )
|
|
1276
|
+
a++;
|
|
1277
|
+
else if (e > 1) {
|
|
1278
|
+
const h = Array(e).fill(0);
|
|
1279
|
+
for (; a < o && h.some((d) => d < t + n); ) {
|
|
1280
|
+
const d = i[a];
|
|
1281
|
+
h[d.lane] = d.end, a++;
|
|
1282
|
+
}
|
|
1283
|
+
const c = Array(e).fill(t + n);
|
|
1284
|
+
for (; l >= 0 && c.some((d) => d >= t); ) {
|
|
1285
|
+
const d = i[l];
|
|
1286
|
+
c[d.lane] = d.start, l--;
|
|
1287
|
+
}
|
|
1288
|
+
l = Math.max(0, l - l % e), a = Math.min(o, a + (e - 1 - a % e));
|
|
1289
|
+
}
|
|
1290
|
+
return { startIndex: l, endIndex: a };
|
|
1291
|
+
}
|
|
1292
|
+
class Bt {
|
|
1293
|
+
constructor(n, t, e, s) {
|
|
1294
|
+
this.bodyEl = n, this.scrollElement = t, this.config = e, this.onIndexesChange = s, this.measuredIndexes = /* @__PURE__ */ new WeakMap(), this.observedRows = /* @__PURE__ */ new Set(), this.resizeObserver = new ResizeObserver((o) => this.resizeRows(o.map(({ borderBoxSize: r, target: l }) => ({
|
|
1295
|
+
row: l,
|
|
1296
|
+
height: r[0].blockSize
|
|
1297
|
+
})))), this.indexes = [], this.isResizingRows = !1, this.hasChangeWhileResizing = !1, this.bodyEl.style.overflowAnchor = "none", this.scrollMargin = this.measureScrollMargin(), this.virtualizer = new Wt(this.options()), this.unmount = this.virtualizer._didMount(), this.virtualizer._willUpdate(), this.update();
|
|
1298
|
+
}
|
|
1299
|
+
setConfig(n) {
|
|
1300
|
+
this.config = n, this.applyOptions();
|
|
1301
|
+
}
|
|
1302
|
+
sync() {
|
|
1303
|
+
this.updateScrollMargin(), this.observedRows.forEach((t) => {
|
|
1304
|
+
t.isConnected || (this.resizeObserver.unobserve(t), this.observedRows.delete(t));
|
|
1305
|
+
});
|
|
1306
|
+
const n = this.getRenderedRows();
|
|
1307
|
+
n.forEach((t) => {
|
|
1308
|
+
this.observedRows.has(t) || (this.observedRows.add(t), this.resizeObserver.observe(t));
|
|
1309
|
+
}), this.resizeRows(n.filter((t) => this.measuredIndexes.get(t) !== H(t)).map((t) => ({ row: t, height: t.getBoundingClientRect().height }))), this.layout();
|
|
1310
|
+
}
|
|
1311
|
+
destroy() {
|
|
1312
|
+
this.unmount(), this.resizeObserver.disconnect(), this.observedRows.clear(), this.bodyEl.style.overflowAnchor = "", this.bodyEl.style.paddingTop = "", this.bodyEl.style.paddingBottom = "", this.getRenderedRows().forEach((n) => n.style.marginTop = "");
|
|
1313
|
+
}
|
|
1314
|
+
applyOptions() {
|
|
1315
|
+
this.virtualizer.setOptions(this.options()), this.virtualizer._willUpdate(), this.update();
|
|
1316
|
+
}
|
|
1317
|
+
update() {
|
|
1318
|
+
if (this.updateScrollMargin())
|
|
1319
|
+
return;
|
|
1320
|
+
const n = this.virtualizer.getVirtualItems().map(({ index: t }) => t);
|
|
1321
|
+
qt(n, this.indexes) || (this.indexes = n, this.onIndexesChange(n)), this.layout();
|
|
1322
|
+
}
|
|
1323
|
+
updateScrollMargin() {
|
|
1324
|
+
const n = this.measureScrollMargin();
|
|
1325
|
+
return Math.abs(n - this.scrollMargin) < 1 ? !1 : (this.scrollMargin = n, this.applyOptions(), !0);
|
|
1326
|
+
}
|
|
1327
|
+
resizeRows(n) {
|
|
1328
|
+
this.isResizingRows = !0;
|
|
1329
|
+
try {
|
|
1330
|
+
n.forEach(({ row: t, height: e }) => {
|
|
1331
|
+
const s = H(t);
|
|
1332
|
+
!t.isConnected || Number.isNaN(s) || e === 0 || (this.measuredIndexes.set(t, s), this.virtualizer.resizeItem(s, e));
|
|
1333
|
+
});
|
|
1334
|
+
} finally {
|
|
1335
|
+
this.isResizingRows = !1;
|
|
1336
|
+
}
|
|
1337
|
+
this.hasChangeWhileResizing && (this.hasChangeWhileResizing = !1, this.update());
|
|
1338
|
+
}
|
|
1339
|
+
handleChange() {
|
|
1340
|
+
if (this.isResizingRows) {
|
|
1341
|
+
this.hasChangeWhileResizing = !0;
|
|
1342
|
+
return;
|
|
1343
|
+
}
|
|
1344
|
+
this.update();
|
|
1345
|
+
}
|
|
1346
|
+
layout() {
|
|
1347
|
+
const n = new Map(this.virtualizer.getVirtualItems().map((e) => [e.index, e]));
|
|
1348
|
+
let t;
|
|
1349
|
+
this.getRenderedRows().forEach((e) => {
|
|
1350
|
+
const s = H(e), o = n.get(s);
|
|
1351
|
+
if (!o)
|
|
1352
|
+
return;
|
|
1353
|
+
e.index !== s + 2 && (e.index = s + 2);
|
|
1354
|
+
const r = o.start - this.scrollMargin;
|
|
1355
|
+
t === void 0 ? (F(this.bodyEl, "paddingTop", r), F(e, "marginTop", 0)) : F(e, "marginTop", r - t), t = o.end - this.scrollMargin;
|
|
1356
|
+
}), t === void 0 && F(this.bodyEl, "paddingTop", 0), F(this.bodyEl, "paddingBottom", this.virtualizer.getTotalSize() - (t != null ? t : 0));
|
|
1357
|
+
}
|
|
1358
|
+
getRenderedRows() {
|
|
1359
|
+
return Array.from(this.bodyEl.querySelectorAll("swirl-table-row[data-index]"));
|
|
1360
|
+
}
|
|
1361
|
+
options() {
|
|
1362
|
+
const { estimatedRowHeight: n, keptIndexes: t, overscan: e, rowCount: s } = this.config, o = this.scrollElement instanceof Window;
|
|
1363
|
+
return {
|
|
1364
|
+
count: s,
|
|
1365
|
+
estimateSize: () => n,
|
|
1366
|
+
getScrollElement: () => this.scrollElement,
|
|
1367
|
+
initialOffset: () => this.scrollElement instanceof Window ? this.scrollElement.scrollY : this.scrollElement.scrollTop,
|
|
1368
|
+
overscan: e,
|
|
1369
|
+
scrollMargin: this.scrollMargin,
|
|
1370
|
+
rangeExtractor: (r) => Kt(tt(r), t.filter((l) => Number.isInteger(l) && l >= 0 && l < s)),
|
|
1371
|
+
observeElementRect: o ? zt : Mt,
|
|
1372
|
+
observeElementOffset: o ? At : It,
|
|
1373
|
+
scrollToFn: o ? kt : Dt,
|
|
1374
|
+
onChange: () => this.handleChange()
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
measureScrollMargin() {
|
|
1378
|
+
const n = this.bodyEl.getBoundingClientRect().top;
|
|
1379
|
+
return this.scrollElement instanceof Window ? n + this.scrollElement.scrollY : n - this.scrollElement.getBoundingClientRect().top + this.scrollElement.scrollTop;
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
function H(i) {
|
|
1383
|
+
return Number(i.dataset.index);
|
|
1384
|
+
}
|
|
1385
|
+
function Kt(i, n) {
|
|
1386
|
+
return [.../* @__PURE__ */ new Set([...i, ...n])].sort((t, e) => t - e);
|
|
1387
|
+
}
|
|
1388
|
+
function qt(i, n) {
|
|
1389
|
+
return i.length === n.length && i.every((t, e) => t === n[e]);
|
|
1390
|
+
}
|
|
1391
|
+
function F(i, n, t) {
|
|
1392
|
+
const e = t > 0 ? `${t}px` : "";
|
|
1393
|
+
i.style[n] !== e && (i.style[n] = e);
|
|
1394
|
+
}
|
|
1395
|
+
const Pt = () => ".sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(23, 23, 23, 0.2);position:relative;display:block}.sc-swirl-table-h *.sc-swirl-table{box-sizing:border-box}html.theme-dark.sc-swirl-table-h,html.theme-dark .sc-swirl-table-h{--swirl-table-shadow-rgba:rgba(0, 0, 0, 0.2)}.table--keyboard-move.sc-swirl-table:focus-within{--swirl-table-moving-row-border:var(--s-border-width-default) solid var(--s-border-highlight)}.table--show-empty-state.sc-swirl-table .table__empty-row.sc-swirl-table{display:flex}.table__container.sc-swirl-table{position:relative;overflow:auto;width:100%}.table__container--scrolled.sc-swirl-table{--swirl-table-sticky-right-shadow:4px 0 16px -4px var(--swirl-table-shadow-rgba), 2px 0 4px -2px var(--swirl-table-shadow-rgba)}.table__container--scrollable.sc-swirl-table:not(.table__container--scrolled-to-end){--swirl-table-sticky-left-shadow:0px 4px 16px 0px var(--swirl-table-shadow-rgba), 0px 1px 4px 0px var(--swirl-table-shadow-rgba)}.table__table.sc-swirl-table{width:-moz-max-content;width:max-content;min-width:max(20rem, 100%)}.table__header.sc-swirl-table-s>*,.table__header .sc-swirl-table-s>*{display:flex}.table__empty-row.sc-swirl-table{display:none}.table__empty-row-cell.sc-swirl-table{display:flex;overflow:auto;padding-top:var(--s-space-8);padding-right:var(--s-space-16);padding-bottom:var(--s-space-8);padding-left:var(--s-space-16);flex-basis:0;flex-grow:1;flex-shrink:1;align-items:center;background-color:var(--s-surface-default)}.table__empty-row-cell.sc-swirl-table>*.sc-swirl-table{flex-grow:1}", Ht = {
|
|
1396
|
+
end: "Dropped. Final position in table: {position} of {rowCount}.",
|
|
1397
|
+
initial: "Press space to move the row.",
|
|
1398
|
+
moved: "Current position in table: {position} of {rowCount}.",
|
|
1399
|
+
start: "Row grabbed. Current position in table: {position} of {rowCount}. Press up and down arrow keys to change position, Space to drop."
|
|
1400
|
+
}, jt = class {
|
|
1401
|
+
constructor(i) {
|
|
1402
|
+
nt(this, i), this.dropRow = $(this, "dropRow", 7), this.virtualizationRowsChange = $(this, "virtualizationRowsChange", 7), this.dragDropInstructions = Ht, this.emptyStateLabel = "No results found.", this.virtualizationEstimatedRowHeight = 56, this.virtualizationOverscan = 10, this.virtualizationKeepRowsRendered = [], this.liveRegionText = "", this.triggerRerender = ct(async () => {
|
|
1403
|
+
await this.updateLayout(), this.updateEmptyState();
|
|
1404
|
+
}, 0, !0), this.updateLayout = mt(async () => {
|
|
1405
|
+
this.resetCellStyles(), this.resetColumnStyles(), this.resetEmptyRowStyles(), this.resetRowGroupStyles(), this.layoutEmptyRow(), this.layoutRowGroups(), this.layOutCellsAndColumns(), this.updateScrolledState();
|
|
1406
|
+
}, 16, { leading: !0 }), this.onScroll = () => {
|
|
1407
|
+
this.updateScrolledState();
|
|
1408
|
+
}, this.onFocus = (n) => {
|
|
1409
|
+
var e;
|
|
1410
|
+
if (this.trackFocusedRow(n.target), this.movingViaKeyboard) {
|
|
1411
|
+
const s = this.el.querySelector(".table-row--moving");
|
|
1412
|
+
s && this.focusDragHandleOfRow(s);
|
|
1413
|
+
}
|
|
1414
|
+
const t = !!((e = n.target) != null && e.closest(this.dragDropHandle));
|
|
1415
|
+
this.liveRegionText === "" && t && this.updateLiveRegionText("initial");
|
|
1416
|
+
}, this.onBlur = (n) => {
|
|
1417
|
+
const t = n.relatedTarget;
|
|
1418
|
+
this.el.contains(t) || this.trackFocusedRow(null);
|
|
1419
|
+
const e = !!(t != null && t.closest(this.dragDropHandle));
|
|
1420
|
+
this.el.contains(t) && e || this.liveRegionText !== "" && this.updateLiveRegionText();
|
|
1421
|
+
}, this.onKeyDown = (n) => {
|
|
1422
|
+
var s, o;
|
|
1423
|
+
if (!this.enableDragDrop)
|
|
1424
|
+
return;
|
|
1425
|
+
const t = (s = n.target) == null ? void 0 : s.closest("swirl-table-row");
|
|
1426
|
+
!((o = n.target) != null && o.closest(this.dragDropHandle)) || (n.code === "Space" ? (n.preventDefault(), n.stopPropagation(), this.toggleKeyboardMove(t)) : n.code === "ArrowUp" ? (n.preventDefault(), n.stopPropagation(), this.moveRow(t, "up")) : n.code === "ArrowDown" ? (n.preventDefault(), n.stopPropagation(), this.moveRow(t, "down")) : n.code === "Escape" && (n.preventDefault(), n.stopPropagation(), this.cancelKeyboardMove()));
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
async componentDidLoad() {
|
|
1430
|
+
this.setupIntersectionObserver(), this.setupMutationObservers(), this.updateVirtualizer(), queueMicrotask(() => {
|
|
1431
|
+
this.setupDragDrop();
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1434
|
+
disconnectedCallback() {
|
|
1435
|
+
var i, n, t, e;
|
|
1436
|
+
(i = this.intersectionObserver) == null || i.disconnect(), (n = this.columnMutationObserver) == null || n.disconnect(), (t = this.rowMutationObserver) == null || t.disconnect(), (e = this.sortable) == null || e.destroy(), this.destroyVirtualizer();
|
|
1437
|
+
}
|
|
1438
|
+
handleVirtualizationChange() {
|
|
1439
|
+
this.updateVirtualizer();
|
|
1440
|
+
}
|
|
1441
|
+
get virtualizerConfig() {
|
|
1442
|
+
var i, n;
|
|
1443
|
+
if (!(!this.enableVirtualization || !this.virtualizationRowCount))
|
|
1444
|
+
return {
|
|
1445
|
+
estimatedRowHeight: this.virtualizationEstimatedRowHeight,
|
|
1446
|
+
keptIndexes: this.focusedRowIndex === void 0 ? (i = this.virtualizationKeepRowsRendered) != null ? i : [] : [
|
|
1447
|
+
...(n = this.virtualizationKeepRowsRendered) != null ? n : [],
|
|
1448
|
+
this.focusedRowIndex
|
|
1449
|
+
],
|
|
1450
|
+
overscan: this.virtualizationOverscan,
|
|
1451
|
+
rowCount: this.virtualizationRowCount
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
updateVirtualizer() {
|
|
1455
|
+
if (!this.bodyEl)
|
|
1456
|
+
return;
|
|
1457
|
+
const i = this.virtualizerConfig;
|
|
1458
|
+
if (!i) {
|
|
1459
|
+
const n = Boolean(this.virtualizer);
|
|
1460
|
+
this.destroyVirtualizer(), this.enableVirtualization && n && queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: [] }));
|
|
1461
|
+
return;
|
|
1462
|
+
}
|
|
1463
|
+
if (this.virtualizer) {
|
|
1464
|
+
this.virtualizer.setConfig(i), this.virtualizer.scrollElement === window && this.updateScrollParent();
|
|
1465
|
+
return;
|
|
1466
|
+
}
|
|
1467
|
+
this.bodyEl.style.paddingBottom = `${i.rowCount * i.estimatedRowHeight}px`, this.virtualizer = new Bt(this.bodyEl, U(this.el), i, (n) => queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: n })));
|
|
1468
|
+
}
|
|
1469
|
+
destroyVirtualizer() {
|
|
1470
|
+
var i;
|
|
1471
|
+
(i = this.virtualizer) == null || i.destroy(), this.virtualizer = void 0;
|
|
1472
|
+
}
|
|
1473
|
+
handleEnableDragDropChange() {
|
|
1474
|
+
queueMicrotask(() => {
|
|
1475
|
+
this.setupDragDrop();
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
setupIntersectionObserver() {
|
|
1479
|
+
this.intersectionObserver = new IntersectionObserver(this.onVisibilityChange.bind(this), {
|
|
1480
|
+
threshold: 0
|
|
1481
|
+
}), this.intersectionObserver.observe(this.container);
|
|
1482
|
+
}
|
|
1483
|
+
setupMutationObservers() {
|
|
1484
|
+
this.columnMutationObserver = new MutationObserver((i) => {
|
|
1485
|
+
i.some((t) => t.addedNodes.length || t.removedNodes.length) && this.updateLayout();
|
|
1486
|
+
}), this.columnMutationObserver.observe(this.headerEl, {
|
|
1487
|
+
childList: !0,
|
|
1488
|
+
subtree: !0
|
|
1489
|
+
}), this.rowMutationObserver = new MutationObserver((i) => {
|
|
1490
|
+
const n = i.some((e) => e.addedNodes.length || e.removedNodes.length), t = i.some((e) => e.type === "attributes");
|
|
1491
|
+
n && (this.updateEmptyState(), this.setupDragDrop()), (n || t) && this.syncVirtualizedRows();
|
|
1492
|
+
}), this.startRowMutationObserver();
|
|
1493
|
+
}
|
|
1494
|
+
startRowMutationObserver() {
|
|
1495
|
+
var i;
|
|
1496
|
+
(i = this.rowMutationObserver) == null || i.observe(this.bodyEl, {
|
|
1497
|
+
attributeFilter: ["data-index"],
|
|
1498
|
+
childList: !0,
|
|
1499
|
+
subtree: !0
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
stopRowMutationObserver() {
|
|
1503
|
+
var i;
|
|
1504
|
+
(i = this.rowMutationObserver) == null || i.disconnect();
|
|
1505
|
+
}
|
|
1506
|
+
setupDragDrop() {
|
|
1507
|
+
if (this.sortable && (this.sortable.destroy(), this.sortable = void 0), this.enableDragDrop) {
|
|
1508
|
+
if (!!this.el.querySelector("swirl-table-row-group")) {
|
|
1509
|
+
console.warn('[Swirl] Drag & drop is not yet supported for swirl-tables using the "swirl-table-row-group" component.');
|
|
1510
|
+
return;
|
|
1511
|
+
}
|
|
1512
|
+
if (!this.dragDropHandle) {
|
|
1513
|
+
console.warn('[Swirl] swirl-table required the "dragDropHandle" prop to be set when drag & drop is enabled.');
|
|
1514
|
+
return;
|
|
1515
|
+
}
|
|
1516
|
+
const n = this.el.querySelector('[slot="rows"]');
|
|
1517
|
+
this.dragDropContainer = (n == null ? void 0 : n.tagName) !== "SWIRL-TABLE-ROW" ? n != null ? n : this.bodyEl : this.bodyEl, this.sortable = new ht(this.dragDropContainer, {
|
|
1518
|
+
animation: 100,
|
|
1519
|
+
direction: "vertical",
|
|
1520
|
+
handle: this.dragDropHandle,
|
|
1521
|
+
fallbackOnBody: !0,
|
|
1522
|
+
group: `swirl-table-${Math.random().toString().substring(2)}`,
|
|
1523
|
+
onStart: () => {
|
|
1524
|
+
this.stopRowMutationObserver();
|
|
1525
|
+
},
|
|
1526
|
+
onEnd: (t) => {
|
|
1527
|
+
var l;
|
|
1528
|
+
t.stopPropagation();
|
|
1529
|
+
const { to: e, newIndex: s, oldIndex: o, item: r } = t;
|
|
1530
|
+
this.dropRow.emit({
|
|
1531
|
+
newIndex: s,
|
|
1532
|
+
oldIndex: o,
|
|
1533
|
+
item: r,
|
|
1534
|
+
itemId: (l = r.id) != null ? l : r.querySelector(":scope > swirl-table-row").id,
|
|
1535
|
+
newNextSiblingItemId: s < e.children.length - 1 ? e.children[s + 1].id : void 0,
|
|
1536
|
+
newPrevSiblingItemId: s > 0 ? e.children[s - 1].id : void 0
|
|
1537
|
+
}), this.startRowMutationObserver();
|
|
1538
|
+
}
|
|
1539
|
+
});
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
async onVisibilityChange(i) {
|
|
1543
|
+
i.some((t) => t.isIntersecting) && setTimeout(async () => {
|
|
1544
|
+
this.updateScrollParent(), await this.updateLayout();
|
|
1545
|
+
}, 100);
|
|
1546
|
+
}
|
|
1547
|
+
updateScrollParent() {
|
|
1548
|
+
!this.virtualizer || U(this.el) === this.virtualizer.scrollElement || (this.destroyVirtualizer(), this.updateVirtualizer());
|
|
1549
|
+
}
|
|
1550
|
+
async componentDidRender() {
|
|
1551
|
+
await this.updateLayout(), this.updateEmptyState();
|
|
1552
|
+
}
|
|
1553
|
+
async onWindowResize() {
|
|
1554
|
+
await this.updateLayout();
|
|
1555
|
+
}
|
|
1556
|
+
async rerender() {
|
|
1557
|
+
this.triggerRerender();
|
|
1558
|
+
}
|
|
1559
|
+
resetEmptyRowStyles() {
|
|
1560
|
+
const i = this.el.querySelector(".table__empty-row");
|
|
1561
|
+
!Boolean(i) || (i.style.width = "");
|
|
1562
|
+
}
|
|
1563
|
+
resetRowGroupStyles() {
|
|
1564
|
+
Array.from(this.el.querySelectorAll("swirl-table-row-group")).forEach((n) => {
|
|
1565
|
+
const t = n.shadowRoot.querySelector(".table-row-group__header-row");
|
|
1566
|
+
!Boolean(t) || (n.shadowRoot.querySelector(".table-row-group__header-row").style.width = "");
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
resetColumnStyles() {
|
|
1570
|
+
this.getColumns().forEach((n) => {
|
|
1571
|
+
n.classList.remove("table-column--has-shadow", "table-column--is-sticky", "table-column--is-sticky-right"), n.style.right = "", n.style.left = "", n.style.position = "", n.style.zIndex = "";
|
|
1572
|
+
});
|
|
1573
|
+
}
|
|
1574
|
+
resetCellStyles() {
|
|
1575
|
+
this.getCells().forEach((n) => {
|
|
1576
|
+
n.classList.remove("table-cell--has-shadow", "table-cell--is-sticky", "table-cell--is-sticky-right"), n.style.flex = "", n.style.left = "", n.style.right = "", n.style.position = "", n.style.zIndex = "";
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
updateScrolledState() {
|
|
1580
|
+
const i = K();
|
|
1581
|
+
if (this.container === void 0)
|
|
1582
|
+
return;
|
|
1583
|
+
const n = this.container.scrollWidth > this.container.clientWidth, t = this.container.scrollLeft > 0, e = Math.ceil(this.container.clientWidth + this.container.scrollLeft) >= Math.floor(this.container.scrollWidth);
|
|
1584
|
+
n !== this.scrollable && (n && !i ? this.container.classList.add("table__container--scrollable") : this.container.classList.remove("table__container--scrollable")), t !== this.scrolled && (t && !i ? this.container.classList.add("table__container--scrolled") : this.container.classList.remove("table__container--scrolled")), e !== this.scrolledToEnd && (e && !i ? this.container.classList.add("table__container--scrolled-to-end") : this.container.classList.remove("table__container--scrolled-to-end"));
|
|
1585
|
+
}
|
|
1586
|
+
getColumns() {
|
|
1587
|
+
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
1588
|
+
}
|
|
1589
|
+
getCells() {
|
|
1590
|
+
return Array.from(this.el.querySelectorAll("swirl-table-cell"));
|
|
1591
|
+
}
|
|
1592
|
+
layoutEmptyRow() {
|
|
1593
|
+
const i = this.el.querySelector(".table__empty-row");
|
|
1594
|
+
if (!Boolean(i))
|
|
1595
|
+
return;
|
|
1596
|
+
const n = `${this.el.querySelector(".table__container").scrollWidth}px`;
|
|
1597
|
+
i.style.width = n;
|
|
1598
|
+
}
|
|
1599
|
+
layoutRowGroups() {
|
|
1600
|
+
var t;
|
|
1601
|
+
const i = Array.from(this.el.querySelectorAll("swirl-table-row-group")), n = `${(t = this.el.querySelector(".table__container")) == null ? void 0 : t.scrollWidth}px`;
|
|
1602
|
+
i.forEach((e) => {
|
|
1603
|
+
const s = e.shadowRoot.querySelector(".table-row-group__header-row");
|
|
1604
|
+
!Boolean(s) || (e.shadowRoot.querySelector(".table-row-group__header-row").style.width = n);
|
|
1605
|
+
});
|
|
1606
|
+
}
|
|
1607
|
+
layOutCellsAndColumns() {
|
|
1608
|
+
const i = this.getColumns(), n = this.getCells();
|
|
1609
|
+
i.forEach((t, e) => {
|
|
1610
|
+
const s = this.getCellsForColumn(n, i, e), o = this.calculateColumnProperties(t, i, e);
|
|
1611
|
+
s.forEach((r) => this.applyCellStyles(r, t, o)), this.applyColumnStyles(t, o);
|
|
1612
|
+
});
|
|
1613
|
+
}
|
|
1614
|
+
getCellsForColumn(i, n, t) {
|
|
1615
|
+
return i.filter((e, s) => (t - s) % n.length === 0);
|
|
1616
|
+
}
|
|
1617
|
+
calculateColumnProperties(i, n, t) {
|
|
1618
|
+
const e = i.sticky ? this.getLeftOffsetForStickyColumn(n, t) : 0, s = `${i.getBoundingClientRect().width}px`, o = i.sticky && n.length === t + 1, r = i.sticky && !this.hasStickyColumnsToRight(n, t);
|
|
1619
|
+
return {
|
|
1620
|
+
leftOffsetForStickyColumn: e,
|
|
1621
|
+
columnWidth: s,
|
|
1622
|
+
isLastColumnSticky: o,
|
|
1623
|
+
hasShadowRight: r
|
|
1624
|
+
};
|
|
1625
|
+
}
|
|
1626
|
+
applyCellStyles(i, n, t) {
|
|
1627
|
+
const { leftOffsetForStickyColumn: e, columnWidth: s, isLastColumnSticky: o, hasShadowRight: r } = t;
|
|
1628
|
+
i.style.flex = Boolean(s) ? `0 0 ${s}` : "", !K() && (n.sticky && !o && (i.classList.add("table-cell--is-sticky"), i.style.left = e + "px", r && i.classList.add("table-cell--has-shadow-right")), o && i.classList.add("table-cell--is-sticky-right", "table-cell--has-shadow-left"));
|
|
1629
|
+
}
|
|
1630
|
+
applyColumnStyles(i, n) {
|
|
1631
|
+
if (K())
|
|
1632
|
+
return;
|
|
1633
|
+
const { leftOffsetForStickyColumn: t, isLastColumnSticky: e, hasShadowRight: s } = n;
|
|
1634
|
+
i.sticky && !e && (i.classList.add("table-column--is-sticky"), i.style.left = t + "px", s && i.classList.add("table-column--has-shadow-right")), e && i.classList.add("table-column--is-sticky-right", "table-column--has-shadow-left");
|
|
1635
|
+
}
|
|
1636
|
+
getLeftOffsetForStickyColumn(i, n) {
|
|
1637
|
+
return i.slice(0, n).reduce((t, e) => {
|
|
1638
|
+
if (e.sticky)
|
|
1639
|
+
return t += e.getBoundingClientRect().width, t;
|
|
1640
|
+
}, 0);
|
|
1641
|
+
}
|
|
1642
|
+
hasStickyColumnsToRight(i, n) {
|
|
1643
|
+
return i.slice(n + 1, i.length - 1).some((t) => t.sticky);
|
|
1644
|
+
}
|
|
1645
|
+
updateEmptyState() {
|
|
1646
|
+
if (this.enableVirtualization && this.virtualizationRowCount) {
|
|
1647
|
+
this.empty = !1;
|
|
1648
|
+
return;
|
|
1649
|
+
}
|
|
1650
|
+
const i = this.el.querySelector('[slot="rows"]');
|
|
1651
|
+
this.empty = !Boolean(i) || i.children.length === 0;
|
|
1652
|
+
}
|
|
1653
|
+
updateLiveRegionText(i, n = {}) {
|
|
1654
|
+
let t = i ? this.dragDropInstructions[i] : "";
|
|
1655
|
+
for (const [e, s] of Object.entries(n != null ? n : {}))
|
|
1656
|
+
t = t.replaceAll(`{${e}}`, String(s));
|
|
1657
|
+
t !== this.liveRegionText && (this.liveRegionText = t);
|
|
1658
|
+
}
|
|
1659
|
+
toggleKeyboardMove(i) {
|
|
1660
|
+
this.movingViaKeyboard ? this.endKeyboardMove(i) : this.startKeyboardMove(i);
|
|
1661
|
+
}
|
|
1662
|
+
startKeyboardMove(i) {
|
|
1663
|
+
this.movingViaKeyboard = !0, this.positionBeforeKeyboardMove = Array.from(this.dragDropContainer.children).indexOf(i), i.classList.add("table-row--moving"), this.updateLiveRegionText("start", {
|
|
1664
|
+
position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
|
|
1665
|
+
rowCount: this.dragDropContainer.children.length
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1668
|
+
endKeyboardMove(i) {
|
|
1669
|
+
this.movingViaKeyboard = !1, i.classList.remove("table-row--moving"), this.updateLiveRegionText("end", {
|
|
1670
|
+
position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
|
|
1671
|
+
rowCount: this.dragDropContainer.children.length
|
|
1672
|
+
}), this.dropRow.emit({
|
|
1673
|
+
item: i,
|
|
1674
|
+
newIndex: Array.from(this.dragDropContainer.children).indexOf(i),
|
|
1675
|
+
oldIndex: this.positionBeforeKeyboardMove,
|
|
1676
|
+
itemId: i.id,
|
|
1677
|
+
newNextSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(i) < this.dragDropContainer.children.length - 1 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(i) + 1].id : void 0,
|
|
1678
|
+
newPrevSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(i) > 0 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(i) - 1].id : void 0
|
|
1679
|
+
}), this.positionBeforeKeyboardMove = void 0;
|
|
1680
|
+
}
|
|
1681
|
+
cancelKeyboardMove() {
|
|
1682
|
+
if (!this.movingViaKeyboard)
|
|
1683
|
+
return;
|
|
1684
|
+
const i = this.el.querySelector(".table-row--moving");
|
|
1685
|
+
!i || (i.classList.remove("table-row--moving"), this.movingViaKeyboard = !1, this.positionBeforeKeyboardMove !== void 0 && this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[this.positionBeforeKeyboardMove]));
|
|
1686
|
+
}
|
|
1687
|
+
moveRow(i, n) {
|
|
1688
|
+
if (!this.movingViaKeyboard)
|
|
1689
|
+
return;
|
|
1690
|
+
let t;
|
|
1691
|
+
if (n === "up") {
|
|
1692
|
+
const e = Array.from(this.dragDropContainer.children).indexOf(i);
|
|
1693
|
+
t = Math.max(0, e - 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t]);
|
|
1694
|
+
} else {
|
|
1695
|
+
const e = Array.from(this.dragDropContainer.children).indexOf(i);
|
|
1696
|
+
t = Math.min(this.dragDropContainer.children.length - 1, e + 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t + 1]);
|
|
1697
|
+
}
|
|
1698
|
+
this.updateLiveRegionText("moved", {
|
|
1699
|
+
position: t + 1,
|
|
1700
|
+
rowCount: this.dragDropContainer.children.length
|
|
1701
|
+
}), this.focusDragHandleOfRow(i);
|
|
1702
|
+
}
|
|
1703
|
+
focusDragHandleOfRow(i) {
|
|
1704
|
+
var t, e;
|
|
1705
|
+
const n = (t = dt(i, this.dragDropHandle)) == null ? void 0 : t[0];
|
|
1706
|
+
n.tagName === "BUTTON" ? n.focus() : (e = n.querySelector("button")) == null || e.focus();
|
|
1707
|
+
}
|
|
1708
|
+
syncVirtualizedRows() {
|
|
1709
|
+
!this.virtualizer || (this.trackFocusedRow(this.el.querySelector("swirl-table-row[data-index]:focus-within")), this.virtualizer.sync());
|
|
1710
|
+
}
|
|
1711
|
+
trackFocusedRow(i) {
|
|
1712
|
+
var e;
|
|
1713
|
+
if (!this.enableVirtualization)
|
|
1714
|
+
return;
|
|
1715
|
+
const n = (e = i == null ? void 0 : i.closest("swirl-table-row[data-index]")) == null ? void 0 : e.dataset.index, t = n === void 0 ? void 0 : Number(n);
|
|
1716
|
+
t !== this.focusedRowIndex && (this.focusedRowIndex = t, this.updateVirtualizer());
|
|
1717
|
+
}
|
|
1718
|
+
render() {
|
|
1719
|
+
const i = Boolean(this.el.querySelector('[slot="empty"]')), n = lt("table", {
|
|
1720
|
+
"table--show-empty-state": this.empty && !this.loading,
|
|
1721
|
+
"table--keyboard-move": this.movingViaKeyboard
|
|
1722
|
+
});
|
|
1723
|
+
return O(ot, { key: "5fd51d538c87dce53702fa483657035e251d3507" }, O("div", { key: "7ec3b5830bcc7b0dfc5324f554b80b442b7bc290", class: n }, this.enableDragDrop && O("swirl-visually-hidden", { key: "2928eb420bb8cad6477917a1883aeeffda3260eb" }, O("span", { key: "fc615afed57d8dbfbf636f9e8feb9c6ef76ae72b", "aria-live": "assertive" }, this.liveRegionText)), O("div", { key: "4b7d5b9c4691d1828d0c24fc635d8e7c5dc48cf4", class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (t) => this.container = t, tabIndex: -1 }, O("div", { key: "9669435927eb4944290b4fdcb4083ef1473c000e", "aria-describedby": Boolean(this.caption) ? "caption" : void 0, "aria-label": this.label, "aria-rowcount": this.enableVirtualization && this.virtualizationRowCount ? this.virtualizationRowCount + 1 : void 0, role: "table", class: "table__table" }, this.caption && O("swirl-visually-hidden", { key: "6806eedf8d1aa22b3ee8f51736032ead77a502cc" }, O("div", { key: "bea8e3d31ba2e81461ff8e4d056ee3ea718707ea", id: "caption" }, this.caption)), O("div", { key: "386fa4a8c2d31471a43580b62ad1003cfbcf224d", role: "rowgroup" }, O("div", { key: "aebae228fab2eb7d4a688bb50ee069e7138001c1", class: "table__header", "aria-rowindex": this.enableVirtualization ? 1 : void 0, ref: (t) => this.headerEl = t, role: "row" }, O("slot", { key: "111dd938896772934ba589167ee254936c8bbe9d", name: "columns" }))), O("div", { key: "7a6b87e277bd50dfc8c5ff3e680aabe95384bb7f", class: "table__body", ref: (t) => this.bodyEl = t }, O("slot", { key: "a766d1ff38bf321fac0b3c52a686d57d2b4551ea", name: "rows" }), O("div", { key: "a26bec40f580546c85e3dd1007c913d53da4c18a", class: "table__empty-row", role: "row" }, O("div", { key: "cd9793a4e353a88bfb04658354f247ddfd621e20", "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, O("slot", { key: "3c79cf8327876b4be8e237e6d43c918d6f6dbda0", name: "empty" }), !i && O("swirl-text", { key: "6f2d3365cd41f0242f8dc6720aed3c5bc1edf4fb", align: "center", size: "sm" }, this.emptyStateLabel))))))));
|
|
1724
|
+
}
|
|
1725
|
+
get el() {
|
|
1726
|
+
return rt(this);
|
|
1727
|
+
}
|
|
1728
|
+
static get watchers() {
|
|
1729
|
+
return {
|
|
1730
|
+
enableVirtualization: [{
|
|
1731
|
+
handleVirtualizationChange: 0
|
|
1732
|
+
}],
|
|
1733
|
+
virtualizationRowCount: [{
|
|
1734
|
+
handleVirtualizationChange: 0
|
|
1735
|
+
}],
|
|
1736
|
+
virtualizationEstimatedRowHeight: [{
|
|
1737
|
+
handleVirtualizationChange: 0
|
|
1738
|
+
}],
|
|
1739
|
+
virtualizationOverscan: [{
|
|
1740
|
+
handleVirtualizationChange: 0
|
|
1741
|
+
}],
|
|
1742
|
+
virtualizationKeepRowsRendered: [{
|
|
1743
|
+
handleVirtualizationChange: 0
|
|
1744
|
+
}],
|
|
1745
|
+
enableDragDrop: [{
|
|
1746
|
+
handleEnableDragDropChange: 0
|
|
1747
|
+
}]
|
|
1748
|
+
};
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
jt.style = Pt();
|
|
1752
|
+
export {
|
|
1753
|
+
jt as swirl_table
|
|
1754
|
+
};
|