@getflip/swirl-components-react 0.534.1 → 0.535.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.df60d13d.js +5107 -0
- package/dist/swirl-accordion-item.entry.dc914129.js +37 -0
- package/dist/swirl-accordion.entry.05d128d8.js +42 -0
- package/dist/swirl-action-list-section.entry.fbf1a6f9.js +15 -0
- package/dist/swirl-action-list_2.entry.73b8c29f.js +113 -0
- package/dist/swirl-app-bar.entry.31937e77.js +49 -0
- package/dist/swirl-app-icon.entry.662f8a78.js +30 -0
- package/dist/swirl-app-layout.entry.d34dd9d6.js +212 -0
- package/dist/swirl-autocomplete.entry.92731781.js +117 -0
- package/dist/swirl-avatar-group.entry.840a3cb6.js +41 -0
- package/dist/swirl-avatar.entry.8122170e.js +72 -0
- package/dist/swirl-badge.entry.aeec341d.js +19 -0
- package/dist/swirl-banner.entry.ad1c2243.js +51 -0
- package/dist/swirl-box.entry.9771ca8b.js +118 -0
- package/dist/swirl-button-group.entry.c84a23f4.js +19 -0
- package/dist/swirl-button.entry.37d01717.js +61 -0
- package/dist/swirl-card.entry.1debcb95.js +50 -0
- package/dist/swirl-carousel-slide.entry.d6569082.js +23 -0
- package/dist/swirl-carousel.entry.ed8b5d64.js +91 -0
- package/dist/swirl-checkbox.entry.28613a40.js +28 -0
- package/dist/swirl-chip.entry.a561d849.js +40 -0
- package/dist/swirl-color-input.entry.d781d12c.js +271 -0
- package/dist/swirl-columns.entry.cb311382.js +18 -0
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +9 -9
- package/dist/swirl-console-layout.entry.14e43bc5.js +93 -0
- package/dist/swirl-data-cell-stack.entry.06b003f1.js +24 -0
- package/dist/swirl-data-cell.entry.5cc5f220.js +34 -0
- package/dist/swirl-date-input.entry.0a09eec1.js +147 -0
- package/dist/swirl-date-picker_2.entry.7fbab4ad.js +48 -0
- package/dist/swirl-description-list-item.entry.66e8c71c.js +24 -0
- package/dist/swirl-description-list.entry.59286887.js +15 -0
- package/dist/swirl-dialog.entry.6fe77097.js +80 -0
- package/dist/swirl-emoji-clap.entry.975ce94d.js +17 -0
- package/dist/swirl-emoji-happy.entry.94e39950.js +17 -0
- package/dist/swirl-emoji-idea.entry.6eb2ee95.js +17 -0
- package/dist/swirl-emoji-love.entry.80c6018e.js +17 -0
- package/dist/swirl-emoji-sad.entry.22733f8f.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.aa759910.js +17 -0
- package/dist/swirl-emoji.entry.cc740257.js +16 -0
- package/dist/swirl-empty-state.entry.7ee42233.js +23 -0
- package/dist/swirl-file-chip.entry.07e0d966.js +67 -0
- package/dist/swirl-file-uploader.entry.4db593f8.js +31 -0
- package/dist/swirl-file-viewer-audio_7.entry.81dd6f08.js +18871 -0
- package/dist/swirl-file-viewer_7.entry.486c787b.js +115 -0
- package/dist/swirl-form-control.entry.acc00a20.js +124 -0
- package/dist/swirl-form-group.entry.222a3d4f.js +17 -0
- package/dist/swirl-heading.entry.5c750309.js +26 -0
- package/dist/swirl-icon-add-box.entry.487f2bd0.js +19 -0
- package/dist/swirl-icon-add-moderator.entry.c45f13b8.js +19 -0
- package/dist/swirl-icon-add-photo.entry.f6564d0c.js +19 -0
- package/dist/swirl-icon-add-reaction.entry.1e8e9920.js +19 -0
- package/dist/swirl-icon-admin-panel-settings.entry.ce12a4ea.js +19 -0
- package/dist/swirl-icon-ai-filled.entry.1f4fec8b.js +19 -0
- package/dist/swirl-icon-ai.entry.89c12bd6.js +19 -0
- package/dist/swirl-icon-api.entry.9d3acd02.js +19 -0
- package/dist/swirl-icon-apparel.entry.b085bb70.js +19 -0
- package/dist/swirl-icon-apps.entry.4a0781b8.js +19 -0
- package/dist/swirl-icon-arrow-back_5.entry.8db3776b.js +71 -0
- package/dist/swirl-icon-arrow-downward_2.entry.32be25e8.js +32 -0
- package/dist/swirl-icon-arrow-left_3.entry.a421bf8a.js +45 -0
- package/dist/swirl-icon-arrow-right-small.entry.302541ce.js +19 -0
- package/dist/swirl-icon-aspect-ratio.entry.b294880b.js +19 -0
- package/dist/swirl-icon-attachment_6.entry.9e659135.js +84 -0
- package/dist/swirl-icon-autorenew.entry.a2305d10.js +19 -0
- package/dist/swirl-icon-bar-chart.entry.2f0131ee.js +19 -0
- package/dist/swirl-icon-beach-access-filled.entry.03cc0705.js +19 -0
- package/dist/swirl-icon-beach-access.entry.0e1a9658.js +19 -0
- package/dist/swirl-icon-block.entry.2cead00a.js +19 -0
- package/dist/swirl-icon-bold.entry.a41161cc.js +19 -0
- package/dist/swirl-icon-bookmark-filled.entry.2d3e5704.js +19 -0
- package/dist/swirl-icon-bookmark.entry.c9cbb694.js +19 -0
- package/dist/swirl-icon-calendar-add-on-filled.entry.910df011.js +19 -0
- package/dist/swirl-icon-calendar-respond.entry.4a31511d.js +19 -0
- package/dist/swirl-icon-calendar-today.entry.c026530d.js +19 -0
- package/dist/swirl-icon-call-end.entry.d73f9559.js +19 -0
- package/dist/swirl-icon-call.entry.4b8ed383.js +19 -0
- package/dist/swirl-icon-cancel-filled.entry.5d05b8ff.js +19 -0
- package/dist/swirl-icon-cancel-outline.entry.f95c2290.js +19 -0
- package/dist/swirl-icon-cancel_4.entry.e83eed73.js +58 -0
- package/dist/swirl-icon-chat-bubble.entry.aebe60cd.js +19 -0
- package/dist/swirl-icon-chats-filled.entry.767b8baf.js +19 -0
- package/dist/swirl-icon-chats.entry.6eab269b.js +19 -0
- package/dist/swirl-icon-check-circle-filled.entry.890ef3a9.js +19 -0
- package/dist/swirl-icon-check-circle_2.entry.bd444761.js +32 -0
- package/dist/swirl-icon-check-small_3.entry.0bb73fd5.js +78 -0
- package/dist/swirl-icon-check-strong.entry.732a0f47.js +19 -0
- package/dist/swirl-icon-check.entry.2546faf7.js +19 -0
- package/dist/swirl-icon-checkbox-filled.entry.8c55f792.js +19 -0
- package/dist/swirl-icon-chevron-left.entry.4fa9639c.js +19 -0
- package/dist/swirl-icon-chevron-right_2.entry.f4366a5d.js +32 -0
- package/dist/swirl-icon-close-fullscreen.entry.2c94ddfb.js +19 -0
- package/dist/swirl-icon-close-small.entry.af970b27.js +19 -0
- package/dist/swirl-icon-close.entry.58a6de02.js +19 -0
- package/dist/swirl-icon-cloud-upload.entry.eaaa14c5.js +19 -0
- package/dist/swirl-icon-co-present.entry.689cb9cf.js +19 -0
- package/dist/swirl-icon-code.entry.d6611a39.js +19 -0
- package/dist/swirl-icon-column.entry.7070ab84.js +19 -0
- package/dist/swirl-icon-comment.entry.c26c66de.js +19 -0
- package/dist/swirl-icon-contract-edit.entry.7d3838ce.js +19 -0
- package/dist/swirl-icon-contrast.entry.f955b869.js +19 -0
- package/dist/swirl-icon-copy.entry.719bfaeb.js +19 -0
- package/dist/swirl-icon-crop.entry.7315e834.js +19 -0
- package/dist/swirl-icon-dark-mode.entry.d453647f.js +19 -0
- package/dist/swirl-icon-data-object.entry.70c39f3f.js +19 -0
- package/dist/swirl-icon-date-range.entry.fec99fe1.js +19 -0
- package/dist/swirl-icon-delete.entry.10a59400.js +19 -0
- package/dist/swirl-icon-deployed-code.entry.e7c0b67f.js +19 -0
- package/dist/swirl-icon-description.entry.3b844510.js +19 -0
- package/dist/swirl-icon-desktop.entry.130bd829.js +19 -0
- package/dist/swirl-icon-destruction.entry.181d97dd.js +19 -0
- package/dist/swirl-icon-directory-filled.entry.f8c58911.js +19 -0
- package/dist/swirl-icon-directory.entry.fa791d55.js +19 -0
- package/dist/swirl-icon-discover.entry.4296e0b9.js +19 -0
- package/dist/swirl-icon-dock-left.entry.fbb33edc.js +19 -0
- package/dist/swirl-icon-door-open.entry.35307f4b.js +19 -0
- package/dist/swirl-icon-dot.entry.f0e71be8.js +19 -0
- package/dist/swirl-icon-double-arrow-right.entry.f8b9d554.js +19 -0
- package/dist/swirl-icon-edit-note.entry.8f4ab93b.js +19 -0
- package/dist/swirl-icon-edit.entry.a1714d22.js +19 -0
- package/dist/swirl-icon-emoji-mood.entry.cfc44fae.js +19 -0
- package/dist/swirl-icon-emoji-satisfied.entry.58a00981.js +19 -0
- package/dist/swirl-icon-emoji-symbols.entry.5a7e016a.js +19 -0
- package/dist/swirl-icon-end-series.entry.29327d56.js +19 -0
- package/dist/swirl-icon-error_3.entry.e64f5b48.js +59 -0
- package/dist/swirl-icon-expand-more.entry.41c3e174.js +19 -0
- package/dist/swirl-icon-experiment.entry.785751d1.js +19 -0
- package/dist/swirl-icon-fact-check.entry.74aa90bb.js +19 -0
- package/dist/swirl-icon-file.entry.1d45102b.js +19 -0
- package/dist/swirl-icon-filter.entry.b27431e4.js +19 -0
- package/dist/swirl-icon-folder-shared.entry.6d85aeaf.js +19 -0
- package/dist/swirl-icon-format-h-one.entry.e251e6a2.js +19 -0
- package/dist/swirl-icon-format-list-bulleted.entry.d54f1815.js +19 -0
- package/dist/swirl-icon-format-list-numbered.entry.dd44a1b4.js +19 -0
- package/dist/swirl-icon-forward.entry.300cdefd.js +19 -0
- package/dist/swirl-icon-front-hand.entry.f09a7e1d.js +19 -0
- package/dist/swirl-icon-gif.entry.c0521c73.js +19 -0
- package/dist/swirl-icon-group-add.entry.874e7a4f.js +19 -0
- package/dist/swirl-icon-group-assign.entry.0ba77c29.js +19 -0
- package/dist/swirl-icon-groups-filled.entry.637626e3.js +19 -0
- package/dist/swirl-icon-groups.entry.38c993b6.js +19 -0
- package/dist/swirl-icon-hamburger-menu.entry.9a23384b.js +19 -0
- package/dist/swirl-icon-health-and-safety.entry.7746eb4c.js +19 -0
- package/dist/swirl-icon-help-filled.entry.0e9101be.js +19 -0
- package/dist/swirl-icon-help.entry.660e7443.js +19 -0
- package/dist/swirl-icon-highlight.entry.b3849e6a.js +19 -0
- package/dist/swirl-icon-history.entry.d65f258e.js +19 -0
- package/dist/swirl-icon-home-filled.entry.6020d4db.js +19 -0
- package/dist/swirl-icon-home.entry.068a7b5d.js +19 -0
- package/dist/swirl-icon-hr-resting.entry.6f0c79e0.js +19 -0
- package/dist/swirl-icon-improve-text.entry.205d15a6.js +19 -0
- package/dist/swirl-icon-info.entry.fa4303c3.js +19 -0
- package/dist/swirl-icon-insert-below.entry.f4f20207.js +19 -0
- package/dist/swirl-icon-insert-chart.entry.82f3c112.js +19 -0
- package/dist/swirl-icon-insert-on-top.entry.f9e615b2.js +19 -0
- package/dist/swirl-icon-inventory-off.entry.71812877.js +19 -0
- package/dist/swirl-icon-inventory.entry.a5cbae33.js +19 -0
- package/dist/swirl-icon-iphone.entry.8754995f.js +19 -0
- package/dist/swirl-icon-italic.entry.e3e296a6.js +19 -0
- package/dist/swirl-icon-key.entry.3200190e.js +19 -0
- package/dist/swirl-icon-keyboard-hide.entry.bf55cd78.js +19 -0
- package/dist/swirl-icon-keyboard.entry.73e6f638.js +19 -0
- package/dist/swirl-icon-language.entry.57c45854.js +19 -0
- package/dist/swirl-icon-light-mode.entry.730195ad.js +19 -0
- package/dist/swirl-icon-like.entry.2fe0a901.js +19 -0
- package/dist/swirl-icon-link.entry.f369f329.js +19 -0
- package/dist/swirl-icon-list-alt-check.entry.a6438c16.js +19 -0
- package/dist/swirl-icon-live.entry.efe06aec.js +19 -0
- package/dist/swirl-icon-load.entry.24a47686.js +19 -0
- package/dist/swirl-icon-location-on.entry.50bcdbdf.js +19 -0
- package/dist/swirl-icon-lock-open.entry.130b7de5.js +19 -0
- package/dist/swirl-icon-lock-person.entry.b71ec607.js +19 -0
- package/dist/swirl-icon-lock.entry.3ab19972.js +19 -0
- package/dist/swirl-icon-login.entry.68efefa4.js +19 -0
- package/dist/swirl-icon-logout.entry.c800899f.js +19 -0
- package/dist/swirl-icon-long-text.entry.02ce7ad0.js +19 -0
- package/dist/swirl-icon-mail.entry.d45143b6.js +19 -0
- package/dist/swirl-icon-manage-accounts.entry.3095c4cd.js +19 -0
- package/dist/swirl-icon-mark-chat-read.entry.cab52c1a.js +19 -0
- package/dist/swirl-icon-mark-chat-unread.entry.9976eee2.js +19 -0
- package/dist/swirl-icon-mark-email-read.entry.bf8c5951.js +19 -0
- package/dist/swirl-icon-mention.entry.c486d92d.js +19 -0
- package/dist/swirl-icon-menu-book-filled.entry.2e8fee59.js +19 -0
- package/dist/swirl-icon-menu-filled.entry.df97fe82.js +19 -0
- package/dist/swirl-icon-menu.entry.bbb6ff3f.js +19 -0
- package/dist/swirl-icon-message.entry.6e4f0be7.js +19 -0
- package/dist/swirl-icon-mic-off.entry.c7ba4bb0.js +19 -0
- package/dist/swirl-icon-mic.entry.47b9a05e.js +19 -0
- package/dist/swirl-icon-mobile-theft.entry.a6686b2e.js +19 -0
- package/dist/swirl-icon-more-horizontal_2.entry.dd3bb305.js +41 -0
- package/dist/swirl-icon-more-vertikal.entry.ca7f64fe.js +19 -0
- package/dist/swirl-icon-news-filled.entry.70376192.js +19 -0
- package/dist/swirl-icon-news-off.entry.d7dcb88e.js +19 -0
- package/dist/swirl-icon-news.entry.ded2462f.js +19 -0
- package/dist/swirl-icon-next-plan.entry.f639400c.js +19 -0
- package/dist/swirl-icon-note-stack-filled.entry.228b9817.js +19 -0
- package/dist/swirl-icon-note-stack.entry.fab405b8.js +19 -0
- package/dist/swirl-icon-notifications-active.entry.308fd01e.js +19 -0
- package/dist/swirl-icon-notifications-off.entry.9f3716e5.js +19 -0
- package/dist/swirl-icon-notifications.entry.f27b56a3.js +19 -0
- package/dist/swirl-icon-open-in-full.entry.16df714d.js +19 -0
- package/dist/swirl-icon-passkey.entry.1f6d1424.js +19 -0
- package/dist/swirl-icon-password.entry.a3c9d3f8.js +19 -0
- package/dist/swirl-icon-patient-list.entry.1989c4c2.js +19 -0
- package/dist/swirl-icon-pause-circle.entry.0e7d3f2d.js +19 -0
- package/dist/swirl-icon-pause.entry.d85609d4.js +19 -0
- package/dist/swirl-icon-people-alt.entry.07669c7e.js +19 -0
- package/dist/swirl-icon-person-check.entry.075aa5aa.js +19 -0
- package/dist/swirl-icon-person-off.entry.a1401d61.js +19 -0
- package/dist/swirl-icon-person-raised-hand.entry.6f2c3b4f.js +19 -0
- package/dist/swirl-icon-person.entry.88bb8a6e.js +19 -0
- package/dist/swirl-icon-phone.entry.163ce00a.js +19 -0
- package/dist/swirl-icon-photo-camera.entry.18932d32.js +19 -0
- package/dist/swirl-icon-picture-in-picture.entry.ffea3af1.js +19 -0
- package/dist/swirl-icon-pin-off.entry.dfa38b4c.js +19 -0
- package/dist/swirl-icon-pin.entry.08561f2f.js +19 -0
- package/dist/swirl-icon-place.entry.1c38ba62.js +19 -0
- package/dist/swirl-icon-play-arrow.entry.abf5fe6f.js +19 -0
- package/dist/swirl-icon-poll.entry.ecda2a45.js +19 -0
- package/dist/swirl-icon-post-approval.entry.f2f29c32.js +19 -0
- package/dist/swirl-icon-present.entry.90b65e03.js +19 -0
- package/dist/swirl-icon-preview.entry.7da29bcb.js +19 -0
- package/dist/swirl-icon-print.entry.2ca6e5fa.js +19 -0
- package/dist/swirl-icon-public-off.entry.c793d781.js +19 -0
- package/dist/swirl-icon-public.entry.f10b07d7.js +19 -0
- package/dist/swirl-icon-published-with-changes.entry.92450e1b.js +19 -0
- package/dist/swirl-icon-qr-code-scanner.entry.af672cf3.js +19 -0
- package/dist/swirl-icon-ratio-four-to-three.entry.1a2970bc.js +19 -0
- package/dist/swirl-icon-ratio-freeform.entry.3061acef.js +19 -0
- package/dist/swirl-icon-ratio-sixteen-to-nine.entry.0dfc2900.js +19 -0
- package/dist/swirl-icon-ratio-square.entry.a85bcaf5.js +19 -0
- package/dist/swirl-icon-ratio-three-to-four.entry.e85d39ee.js +19 -0
- package/dist/swirl-icon-ratio-three-to-two.entry.e313fec5.js +19 -0
- package/dist/swirl-icon-recieved.entry.0e7ff82c.js +19 -0
- package/dist/swirl-icon-redo.entry.daddb822.js +19 -0
- package/dist/swirl-icon-refresh.entry.a68fd0c2.js +19 -0
- package/dist/swirl-icon-remove-circle.entry.4e041bc8.js +19 -0
- package/dist/swirl-icon-remove-moderator.entry.1b427d25.js +19 -0
- package/dist/swirl-icon-repeat.entry.f9d46b37.js +19 -0
- package/dist/swirl-icon-reply.entry.c97dff4c.js +19 -0
- package/dist/swirl-icon-report.entry.4e6d88fa.js +19 -0
- package/dist/swirl-icon-roadmap.entry.9e0fcac0.js +19 -0
- package/dist/swirl-icon-rocket-launch.entry.cd9d0cc8.js +19 -0
- package/dist/swirl-icon-rotate-left.entry.91c09765.js +19 -0
- package/dist/swirl-icon-rotate-right.entry.fbf3da31.js +19 -0
- package/dist/swirl-icon-school.entry.bbffba0e.js +19 -0
- package/dist/swirl-icon-screenshare-off.entry.5dbea0e6.js +19 -0
- package/dist/swirl-icon-screenshare.entry.7fb3a608.js +19 -0
- package/dist/swirl-icon-search-strong.entry.b1d5bdba.js +19 -0
- package/dist/swirl-icon-search.entry.624cf5c6.js +19 -0
- package/dist/swirl-icon-section.entry.54291489.js +19 -0
- package/dist/swirl-icon-secure.entry.b8502ff8.js +19 -0
- package/dist/swirl-icon-security-check.entry.c1adb5b5.js +19 -0
- package/dist/swirl-icon-security-warning.entry.264c9e38.js +19 -0
- package/dist/swirl-icon-security.entry.353db949.js +19 -0
- package/dist/swirl-icon-select-edit.entry.65a399f7.js +19 -0
- package/dist/swirl-icon-select.entry.55cdef0d.js +19 -0
- package/dist/swirl-icon-sell.entry.9e6b80c9.js +19 -0
- package/dist/swirl-icon-send.entry.90784104.js +19 -0
- package/dist/swirl-icon-settings.entry.5d6457a6.js +19 -0
- package/dist/swirl-icon-short-text.entry.59f0628f.js +19 -0
- package/dist/swirl-icon-simplify.entry.a7de3648.js +19 -0
- package/dist/swirl-icon-spellcheck.entry.57e135f8.js +19 -0
- package/dist/swirl-icon-stars.entry.b0e29770.js +19 -0
- package/dist/swirl-icon-sticky-note.entry.c1735b91.js +19 -0
- package/dist/swirl-icon-stop-circle.entry.d965ab40.js +19 -0
- package/dist/swirl-icon-stop.entry.c51201a2.js +19 -0
- package/dist/swirl-icon-strikethrough.entry.638b8772.js +19 -0
- package/dist/swirl-icon-sunny.entry.c67e2b83.js +19 -0
- package/dist/swirl-icon-swap-vert.entry.af87f913.js +19 -0
- package/dist/swirl-icon-sync.entry.64e0c22c.js +19 -0
- package/dist/swirl-icon-tab-move.entry.9425069d.js +19 -0
- package/dist/swirl-icon-tasks-filled.entry.6c8817ed.js +19 -0
- package/dist/swirl-icon-tasks.entry.b03fe693.js +19 -0
- package/dist/swirl-icon-terminal.entry.a3ca3e05.js +19 -0
- package/dist/swirl-icon-time-filled.entry.5076b2d7.js +19 -0
- package/dist/swirl-icon-time.entry.40ea7417.js +19 -0
- package/dist/swirl-icon-today-filled.entry.6b73ff77.js +19 -0
- package/dist/swirl-icon-translate.entry.e59652d0.js +19 -0
- package/dist/swirl-icon-tree-structure.entry.10046718.js +19 -0
- package/dist/swirl-icon-underlined.entry.2443258a.js +19 -0
- package/dist/swirl-icon-undo.entry.de881be0.js +19 -0
- package/dist/swirl-icon-unlock-person.entry.136d95d6.js +19 -0
- package/dist/swirl-icon-upload.entry.e3dca763.js +19 -0
- package/dist/swirl-icon-user-add.entry.6eec1a40.js +19 -0
- package/dist/swirl-icon-user-assign.entry.0ef9d096.js +19 -0
- package/dist/swirl-icon-verified-user.entry.e4e72663.js +19 -0
- package/dist/swirl-icon-video-camera-off.entry.01ab5946.js +19 -0
- package/dist/swirl-icon-video-camera.entry.c2a0d269.js +19 -0
- package/dist/swirl-icon-video-library.entry.0933a51b.js +19 -0
- package/dist/swirl-icon-view-agenda.entry.22c4ecb4.js +19 -0
- package/dist/swirl-icon-voice.entry.101c2f89.js +19 -0
- package/dist/swirl-icon-volume-off.entry.d692a687.js +19 -0
- package/dist/swirl-icon-volume-up.entry.95a0740d.js +19 -0
- package/dist/swirl-icon-waving-hand.entry.8f663786.js +19 -0
- package/dist/swirl-icon-web-asset-off.entry.5967fb93.js +19 -0
- package/dist/swirl-icon-web-asset.entry.c35168ff.js +19 -0
- package/dist/swirl-icon-work.entry.02f2686b.js +19 -0
- package/dist/swirl-icon-workspace-premium.entry.18a97e7d.js +19 -0
- package/dist/swirl-icon-zoom-in.entry.10cc9bda.js +19 -0
- package/dist/swirl-icon-zoom-out.entry.d1dfc036.js +19 -0
- package/dist/swirl-icon.entry.39e3345d.js +17 -0
- package/dist/swirl-illustration-absence.entry.6664ced8.js +15 -0
- package/dist/swirl-illustration-bookmarks.entry.2aadd190.js +15 -0
- package/dist/swirl-illustration-calendar.entry.8b72a943.js +15 -0
- package/dist/swirl-illustration-celebrate.entry.a7ade145.js +15 -0
- package/dist/swirl-illustration-chat-messages.entry.710e6c52.js +15 -0
- package/dist/swirl-illustration-chat-security.entry.6d80d298.js +15 -0
- package/dist/swirl-illustration-completed-task.entry.dd00cec3.js +15 -0
- package/dist/swirl-illustration-construction.entry.3a33cb9f.js +15 -0
- package/dist/swirl-illustration-contrast.entry.53c404ae.js +15 -0
- package/dist/swirl-illustration-directory.entry.b56543ea.js +15 -0
- package/dist/swirl-illustration-door.entry.d9af45c0.js +15 -0
- package/dist/swirl-illustration-empty-folder.entry.df8e1c3e.js +15 -0
- package/dist/swirl-illustration-invites-declined.entry.5b5ce71a.js +15 -0
- package/dist/swirl-illustration-invites.entry.09bf4024.js +15 -0
- package/dist/swirl-illustration-key.entry.21db8673.js +15 -0
- package/dist/swirl-illustration-keyboard.entry.b512faaa.js +15 -0
- package/dist/swirl-illustration-light.entry.193ad960.js +15 -0
- package/dist/swirl-illustration-mail.entry.35e8dc05.js +15 -0
- package/dist/swirl-illustration-maintenance.entry.8ba2c23a.js +15 -0
- package/dist/swirl-illustration-meteor.entry.502f7472.js +15 -0
- package/dist/swirl-illustration-moon.entry.c4314314.js +15 -0
- package/dist/swirl-illustration-news.entry.774c9e34.js +15 -0
- package/dist/swirl-illustration-no-notifications.entry.1bbb95b9.js +15 -0
- package/dist/swirl-illustration-notification.entry.2e93a08b.js +15 -0
- package/dist/swirl-illustration-paper-roll.entry.9581c291.js +15 -0
- package/dist/swirl-illustration-pending.entry.1ef6a73f.js +15 -0
- package/dist/swirl-illustration-profile.entry.f2c8eb6c.js +15 -0
- package/dist/swirl-illustration-root.entry.519ce2e9.js +15 -0
- package/dist/swirl-illustration-search.entry.64b4f0a7.js +15 -0
- package/dist/swirl-illustration-shifts.entry.7ad1d9fa.js +15 -0
- package/dist/swirl-illustration-sorry.entry.8d61a757.js +15 -0
- package/dist/swirl-illustration-start.entry.6aaa7612.js +15 -0
- package/dist/swirl-illustration-tasks.entry.e0f06eec.js +15 -0
- package/dist/swirl-illustration-warning-sign.entry.0ebef0e0.js +15 -0
- package/dist/swirl-illustration-wave.entry.94932927.js +15 -0
- package/dist/swirl-illustration.entry.66b14d18.js +16 -0
- package/dist/swirl-image-grid-item.entry.b37fc420.js +95 -0
- package/dist/swirl-image-grid.entry.b8ba1d00.js +51 -0
- package/dist/swirl-inline-notification.entry.a160bf8f.js +17 -0
- package/dist/swirl-inline-status.entry.8cfe3a73.js +37 -0
- package/dist/swirl-lightbox.entry.7ef7afc1.js +155 -0
- package/dist/swirl-link.entry.6d85a34e.js +17 -0
- package/dist/swirl-list.entry.f091905b.js +18 -0
- package/dist/swirl-menu-item.entry.df583192.js +86 -0
- package/dist/swirl-menu.entry.77acd486.js +184 -0
- package/dist/swirl-modal-shell.entry.2c56462e.js +45 -0
- package/dist/swirl-modal.entry.c360e923.js +186 -0
- package/dist/swirl-option-list-section.entry.6a600856.js +15 -0
- package/dist/swirl-option-list.entry.b7340e85.js +264 -0
- package/dist/swirl-pagination.entry.a1d9e7a7.js +38 -0
- package/dist/swirl-pdf-reader.entry.b44170e7.js +120 -0
- package/dist/swirl-popover_2.entry.96342dcc.js +336 -0
- package/dist/swirl-radio-group.entry.c0293621.js +50 -0
- package/dist/swirl-radio.entry.da16cf12.js +27 -0
- package/dist/swirl-resource-list-file-item.entry.cb000303.js +39 -0
- package/dist/swirl-resource-list-item.entry.358f1154.js +99 -0
- package/dist/swirl-resource-list-section.entry.c40e0bf6.js +19 -0
- package/dist/swirl-resource-list.entry.35fa9036.js +161 -0
- package/dist/swirl-search.entry.ee6660ca.js +51 -0
- package/dist/swirl-select.entry.eaf9f8b3.js +145 -0
- package/dist/swirl-separator.entry.d7417377.js +29 -0
- package/dist/swirl-shell-layout.entry.7c6b7ea3.js +686 -0
- package/dist/swirl-shell-navigation-item.entry.ad40e968.js +46 -0
- package/dist/swirl-skeleton-box.entry.704790a0.js +24 -0
- package/dist/swirl-skeleton-text.entry.1839084d.js +17 -0
- package/dist/swirl-stack.entry.1829d2c0.js +21 -0
- package/dist/swirl-status-indicator.entry.a5c6470d.js +17 -0
- package/dist/swirl-switch.entry.a7dd6585.js +30 -0
- package/dist/swirl-symbol-ac-unit.entry.b9263cba.js +17 -0
- package/dist/swirl-symbol-account-circle.entry.1f65caa5.js +17 -0
- package/dist/swirl-symbol-alternate-email.entry.ca8b2f1b.js +17 -0
- package/dist/swirl-symbol-android.entry.3c7e8121.js +17 -0
- package/dist/swirl-symbol-announcement.entry.98b63f55.js +17 -0
- package/dist/swirl-symbol-autorenew.entry.c502f0f0.js +17 -0
- package/dist/swirl-symbol-backup.entry.810788ed.js +17 -0
- package/dist/swirl-symbol-badge.entry.880043e4.js +17 -0
- package/dist/swirl-symbol-barcode-reader.entry.44b08279.js +17 -0
- package/dist/swirl-symbol-barcode-scanner.entry.3f60d6c3.js +17 -0
- package/dist/swirl-symbol-battery-horiz.entry.d3a03d18.js +17 -0
- package/dist/swirl-symbol-beach-access.entry.9147b8a1.js +17 -0
- package/dist/swirl-symbol-bolt.entry.f632f61d.js +17 -0
- package/dist/swirl-symbol-bookmark.entry.4404b4ae.js +17 -0
- package/dist/swirl-symbol-calendar.entry.1cc8546a.js +17 -0
- package/dist/swirl-symbol-campaign.entry.19ffa28d.js +17 -0
- package/dist/swirl-symbol-cards-star.entry.d94b48c2.js +17 -0
- package/dist/swirl-symbol-cloud.entry.e04c3d36.js +17 -0
- package/dist/swirl-symbol-construction.entry.a40516dd.js +17 -0
- package/dist/swirl-symbol-contacts.entry.59c36dda.js +17 -0
- package/dist/swirl-symbol-coronavirus.entry.1f12ac22.js +17 -0
- package/dist/swirl-symbol-design-services.entry.be5bbf1f.js +17 -0
- package/dist/swirl-symbol-desktop-windows.entry.853a89bb.js +17 -0
- package/dist/swirl-symbol-directions-car-filled.entry.660e0e5e.js +17 -0
- package/dist/swirl-symbol-diversity.entry.22a2e0b3.js +17 -0
- package/dist/swirl-symbol-draw.entry.56f04db0.js +17 -0
- package/dist/swirl-symbol-edit-calendar.entry.310794c7.js +17 -0
- package/dist/swirl-symbol-email.entry.efc3702f.js +17 -0
- package/dist/swirl-symbol-emergency.entry.578c30da.js +17 -0
- package/dist/swirl-symbol-emoji-food-beverage.entry.36fed32b.js +17 -0
- package/dist/swirl-symbol-engineering.entry.812877fe.js +17 -0
- package/dist/swirl-symbol-event-menu.entry.ca23e189.js +17 -0
- package/dist/swirl-symbol-explore.entry.f87177f2.js +17 -0
- package/dist/swirl-symbol-extension.entry.64d9411f.js +17 -0
- package/dist/swirl-symbol-facebook.entry.bfaf2038.js +17 -0
- package/dist/swirl-symbol-favorite.entry.45cabf78.js +17 -0
- package/dist/swirl-symbol-fitness-center.entry.12411b2e.js +17 -0
- package/dist/swirl-symbol-flag.entry.6dbdbd70.js +17 -0
- package/dist/swirl-symbol-flight.entry.6348f345.js +17 -0
- package/dist/swirl-symbol-folder.entry.0069ac39.js +17 -0
- package/dist/swirl-symbol-globe.entry.cae289e8.js +17 -0
- package/dist/swirl-symbol-groups.entry.5f47c4f0.js +17 -0
- package/dist/swirl-symbol-healing.entry.b9f28a4b.js +17 -0
- package/dist/swirl-symbol-health-and-safety.entry.5a14e09b.js +17 -0
- package/dist/swirl-symbol-help.entry.0edc0bbe.js +17 -0
- package/dist/swirl-symbol-home-repair-service.entry.33099e87.js +17 -0
- package/dist/swirl-symbol-home-storage.entry.1c83870c.js +17 -0
- package/dist/swirl-symbol-id-card.entry.b4e0ae7b.js +17 -0
- package/dist/swirl-symbol-image.entry.70675226.js +17 -0
- package/dist/swirl-symbol-info-menu.entry.62a2edd0.js +17 -0
- package/dist/swirl-symbol-instagram.entry.d839eeb6.js +17 -0
- package/dist/swirl-symbol-inventory-2.entry.ad172d8e.js +17 -0
- package/dist/swirl-symbol-inventory.entry.e1fde487.js +17 -0
- package/dist/swirl-symbol-ios.entry.095c769f.js +17 -0
- package/dist/swirl-symbol-key.entry.8d880f69.js +17 -0
- package/dist/swirl-symbol-language.entry.2a262414.js +17 -0
- package/dist/swirl-symbol-leaderboard.entry.89b6c245.js +17 -0
- package/dist/swirl-symbol-lightbulb.entry.c2ff1798.js +17 -0
- package/dist/swirl-symbol-linkedin.entry.d7e03dd8.js +17 -0
- package/dist/swirl-symbol-local-shipping.entry.4a05f2a1.js +17 -0
- package/dist/swirl-symbol-location-on.entry.68000575.js +17 -0
- package/dist/swirl-symbol-loyalty.entry.cf6e29d3.js +17 -0
- package/dist/swirl-symbol-map.entry.2647af7d.js +17 -0
- package/dist/swirl-symbol-maps-home-work.entry.f7d66952.js +17 -0
- package/dist/swirl-symbol-menu-book.entry.44db2a1b.js +17 -0
- package/dist/swirl-symbol-mop.entry.ee0436c0.js +17 -0
- package/dist/swirl-symbol-nest-eco-leaf.entry.06d5e233.js +17 -0
- package/dist/swirl-symbol-notifications.entry.6c03fee2.js +17 -0
- package/dist/swirl-symbol-open-in-new.entry.318f52b3.js +17 -0
- package/dist/swirl-symbol-orders.entry.5c904991.js +17 -0
- package/dist/swirl-symbol-package.entry.1f6b8717.js +17 -0
- package/dist/swirl-symbol-palette.entry.56e7e430.js +17 -0
- package/dist/swirl-symbol-partly-cloudy-day.entry.5d635601.js +17 -0
- package/dist/swirl-symbol-pedal-bike.entry.aa8eecbd.js +17 -0
- package/dist/swirl-symbol-percent-discount.entry.b431d688.js +17 -0
- package/dist/swirl-symbol-pets.entry.7f8cc092.js +17 -0
- package/dist/swirl-symbol-pinterest.entry.f683df7f.js +17 -0
- package/dist/swirl-symbol-point-of-sale.entry.b9887371.js +17 -0
- package/dist/swirl-symbol-policy.entry.286b9f19.js +17 -0
- package/dist/swirl-symbol-precision-manufacturing.entry.e835b8cd.js +17 -0
- package/dist/swirl-symbol-print.entry.677e684d.js +17 -0
- package/dist/swirl-symbol-push-pin.entry.bc6dd525.js +17 -0
- package/dist/swirl-symbol-qr-code-scanner.entry.6cbafee9.js +17 -0
- package/dist/swirl-symbol-recycling.entry.00354a5f.js +17 -0
- package/dist/swirl-symbol-redeem.entry.816d1993.js +17 -0
- package/dist/swirl-symbol-report-problem.entry.a7a637c4.js +17 -0
- package/dist/swirl-symbol-restaurant.entry.ab761e76.js +17 -0
- package/dist/swirl-symbol-roadmap.entry.3dd82bd6.js +17 -0
- package/dist/swirl-symbol-rocket-launch.entry.d79c82a9.js +17 -0
- package/dist/swirl-symbol-room.entry.d3c02d59.js +17 -0
- package/dist/swirl-symbol-savings.entry.09eb186f.js +17 -0
- package/dist/swirl-symbol-school.entry.47aa7d0b.js +17 -0
- package/dist/swirl-symbol-sell.entry.d833ac00.js +17 -0
- package/dist/swirl-symbol-settings-voice.entry.1a291c03.js +17 -0
- package/dist/swirl-symbol-shopping-bag.entry.0b30ebf9.js +17 -0
- package/dist/swirl-symbol-shopping-cart.entry.8617b4cb.js +17 -0
- package/dist/swirl-symbol-smartphone.entry.46ad9084.js +17 -0
- package/dist/swirl-symbol-spa.entry.fdad8571.js +17 -0
- package/dist/swirl-symbol-sports-soccer.entry.b90e5a68.js +17 -0
- package/dist/swirl-symbol-star.entry.ce14ed68.js +17 -0
- package/dist/swirl-symbol-supervisor-account.entry.8ca396ed.js +17 -0
- package/dist/swirl-symbol-task.entry.5752bdec.js +17 -0
- package/dist/swirl-symbol-tasks.entry.079dfbab.js +17 -0
- package/dist/swirl-symbol-thumbs-up-down.entry.43fb92fa.js +17 -0
- package/dist/swirl-symbol-timer.entry.ee5faecf.js +17 -0
- package/dist/swirl-symbol-tools-power-drill.entry.37ac9cf8.js +17 -0
- package/dist/swirl-symbol-train.entry.850a784e.js +17 -0
- package/dist/swirl-symbol-trophy.entry.b92ecc58.js +17 -0
- package/dist/swirl-symbol-twitter.entry.8b41be68.js +17 -0
- package/dist/swirl-symbol-video.entry.88c8b78c.js +17 -0
- package/dist/swirl-symbol-warehouse.entry.4011315c.js +17 -0
- package/dist/swirl-symbol-water-drop.entry.9064d860.js +17 -0
- package/dist/swirl-symbol-wb-sunny.entry.ca98e9a6.js +17 -0
- package/dist/swirl-symbol-wechat.entry.10101a3f.js +17 -0
- package/dist/swirl-symbol-weibo.entry.81896cc2.js +17 -0
- package/dist/swirl-symbol-wifi.entry.8cf27a8a.js +17 -0
- package/dist/swirl-symbol-work.entry.6b7e8852.js +17 -0
- package/dist/swirl-symbol-xing.entry.97a42a8d.js +17 -0
- package/dist/swirl-symbol-youtube.entry.33058f53.js +17 -0
- package/dist/swirl-symbol.entry.86c7ba87.js +16 -0
- package/dist/swirl-tab-bar.entry.fd34baea.js +67 -0
- package/dist/swirl-tab.entry.4c3e586f.js +17 -0
- package/dist/swirl-table-cell.entry.b90acd0d.js +15 -0
- package/dist/swirl-table-column.entry.09e1ea76.js +34 -0
- package/dist/swirl-table-row-group.entry.44697421.js +35 -0
- package/dist/swirl-table-row.entry.8911f179.js +27 -0
- package/dist/swirl-table.entry.ef71216a.js +1751 -0
- package/dist/swirl-tabs.entry.bcebbfca.js +65 -0
- package/dist/swirl-tag.entry.604829f8.js +45 -0
- package/dist/swirl-text-input.entry.fbc8b88d.js +93 -0
- package/dist/swirl-text.entry.8f1dcc76.js +299 -0
- package/dist/swirl-theme-provider.entry.2fb30f37.js +96 -0
- package/dist/swirl-thumbnail.entry.a872dd79.js +45 -0
- package/dist/swirl-time-input.entry.5081e082.js +140 -0
- package/dist/swirl-toast-provider.entry.1aa6a100.js +82 -0
- package/dist/swirl-toast.entry.b2eb814c.js +67 -0
- package/dist/swirl-toggle-button.entry.0311270d.js +21 -0
- package/dist/swirl-toggle-group.entry.b0a2e3ac.js +62 -0
- package/dist/swirl-toolbar.entry.5d19107d.js +56 -0
- package/dist/swirl-tooltip.entry.0f739031.js +118 -0
- package/dist/swirl-tree-navigation-item.entry.081a575d.js +73 -0
- package/dist/swirl-tree-navigation.entry.f7f125d9.js +15 -0
- package/dist/swirl-tree-view-item.entry.0bc721c8.js +205 -0
- package/dist/swirl-tree-view.entry.f55a7471.js +222 -0
- package/dist/swirl-video-thumbnail.entry.80bb9545.js +15 -0
- package/dist/swirl-visually-hidden.entry.acaf6d34.js +15 -0
- package/dist/wc-datepicker.entry.b571fb58.js +380 -0
- package/package.json +2 -2
- package/dist/index.d232e9ab.js +0 -5107
- package/dist/swirl-accordion-item.entry.900e26e8.js +0 -37
- package/dist/swirl-accordion.entry.5afc0aae.js +0 -42
- package/dist/swirl-action-list-section.entry.9228d077.js +0 -15
- package/dist/swirl-action-list_2.entry.5f6f1581.js +0 -113
- package/dist/swirl-app-bar.entry.6c51a700.js +0 -49
- package/dist/swirl-app-icon.entry.fd1217df.js +0 -30
- package/dist/swirl-app-layout.entry.0f4652ce.js +0 -212
- package/dist/swirl-autocomplete.entry.b1c6d8ac.js +0 -117
- package/dist/swirl-avatar-group.entry.1700a18e.js +0 -41
- package/dist/swirl-avatar.entry.8b6428cd.js +0 -72
- package/dist/swirl-badge.entry.6ece9885.js +0 -19
- package/dist/swirl-banner.entry.5e5ec121.js +0 -51
- package/dist/swirl-box.entry.e7151a53.js +0 -118
- package/dist/swirl-button-group.entry.f8560d0b.js +0 -19
- package/dist/swirl-button.entry.44deb38a.js +0 -61
- package/dist/swirl-card.entry.df205c6e.js +0 -50
- package/dist/swirl-carousel-slide.entry.ce29502d.js +0 -23
- package/dist/swirl-carousel.entry.150f45ea.js +0 -91
- package/dist/swirl-checkbox.entry.50f12caf.js +0 -28
- package/dist/swirl-chip.entry.a5d204b2.js +0 -40
- package/dist/swirl-color-input.entry.74cec0ff.js +0 -271
- package/dist/swirl-columns.entry.a9eaf7b1.js +0 -18
- package/dist/swirl-console-layout.entry.c9fb41ff.js +0 -93
- package/dist/swirl-data-cell-stack.entry.9143899b.js +0 -24
- package/dist/swirl-data-cell.entry.2cb72cb9.js +0 -34
- package/dist/swirl-date-input.entry.a7dd69ca.js +0 -147
- package/dist/swirl-date-picker_2.entry.d1cd0565.js +0 -48
- package/dist/swirl-description-list-item.entry.0781b4b2.js +0 -24
- package/dist/swirl-description-list.entry.2843dc3e.js +0 -15
- package/dist/swirl-dialog.entry.aba4e9ac.js +0 -80
- package/dist/swirl-emoji-clap.entry.8e97c0a8.js +0 -17
- package/dist/swirl-emoji-happy.entry.ef5c984b.js +0 -17
- package/dist/swirl-emoji-idea.entry.155ba77f.js +0 -17
- package/dist/swirl-emoji-love.entry.6165d79c.js +0 -17
- package/dist/swirl-emoji-sad.entry.4f5c0858.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.2458639f.js +0 -17
- package/dist/swirl-emoji.entry.765bf039.js +0 -16
- package/dist/swirl-empty-state.entry.4b277ff2.js +0 -23
- package/dist/swirl-file-chip.entry.2bb11587.js +0 -67
- package/dist/swirl-file-uploader.entry.19f93b80.js +0 -31
- package/dist/swirl-file-viewer-audio_7.entry.47035220.js +0 -18871
- package/dist/swirl-file-viewer_7.entry.29f9a789.js +0 -115
- package/dist/swirl-form-control.entry.041e647a.js +0 -124
- package/dist/swirl-form-group.entry.5310d4aa.js +0 -17
- package/dist/swirl-heading.entry.c77e837e.js +0 -26
- package/dist/swirl-icon-add-box.entry.16a450e1.js +0 -19
- package/dist/swirl-icon-add-moderator.entry.d0d673ca.js +0 -19
- package/dist/swirl-icon-add-photo.entry.50f60a6e.js +0 -19
- package/dist/swirl-icon-add-reaction.entry.dc2daf2e.js +0 -19
- package/dist/swirl-icon-admin-panel-settings.entry.5137ac51.js +0 -19
- package/dist/swirl-icon-ai-filled.entry.723a5ff2.js +0 -19
- package/dist/swirl-icon-ai.entry.b44edced.js +0 -19
- package/dist/swirl-icon-api.entry.92028348.js +0 -19
- package/dist/swirl-icon-apparel.entry.4a5144ad.js +0 -19
- package/dist/swirl-icon-apps.entry.f1290657.js +0 -19
- package/dist/swirl-icon-arrow-back_5.entry.fc60a96d.js +0 -71
- package/dist/swirl-icon-arrow-downward_2.entry.99fe9047.js +0 -32
- package/dist/swirl-icon-arrow-left_3.entry.8945401b.js +0 -45
- package/dist/swirl-icon-arrow-right-small.entry.d2877f67.js +0 -19
- package/dist/swirl-icon-aspect-ratio.entry.e0602463.js +0 -19
- package/dist/swirl-icon-attachment_6.entry.29e02102.js +0 -84
- package/dist/swirl-icon-autorenew.entry.c3ea1788.js +0 -19
- package/dist/swirl-icon-bar-chart.entry.9d5bddf0.js +0 -19
- package/dist/swirl-icon-beach-access-filled.entry.2493efd3.js +0 -19
- package/dist/swirl-icon-beach-access.entry.2eec0757.js +0 -19
- package/dist/swirl-icon-block.entry.34d1dd5c.js +0 -19
- package/dist/swirl-icon-bold.entry.6517aed7.js +0 -19
- package/dist/swirl-icon-bookmark-filled.entry.3ca07d93.js +0 -19
- package/dist/swirl-icon-bookmark.entry.629af808.js +0 -19
- package/dist/swirl-icon-calendar-add-on-filled.entry.e26f8108.js +0 -19
- package/dist/swirl-icon-calendar-respond.entry.ef89acda.js +0 -19
- package/dist/swirl-icon-calendar-today.entry.2aea3bae.js +0 -19
- package/dist/swirl-icon-call-end.entry.b9bda135.js +0 -19
- package/dist/swirl-icon-call.entry.8a310036.js +0 -19
- package/dist/swirl-icon-cancel-filled.entry.3009127d.js +0 -19
- package/dist/swirl-icon-cancel-outline.entry.8c8e4add.js +0 -19
- package/dist/swirl-icon-cancel_4.entry.1bc5e146.js +0 -58
- package/dist/swirl-icon-chat-bubble.entry.4682a9b9.js +0 -19
- package/dist/swirl-icon-chats-filled.entry.68e39520.js +0 -19
- package/dist/swirl-icon-chats.entry.3d605546.js +0 -19
- package/dist/swirl-icon-check-circle-filled.entry.888295b9.js +0 -19
- package/dist/swirl-icon-check-circle_2.entry.79cd1160.js +0 -32
- package/dist/swirl-icon-check-small_3.entry.86dfd2b1.js +0 -78
- package/dist/swirl-icon-check-strong.entry.7405a815.js +0 -19
- package/dist/swirl-icon-check.entry.a7ddad94.js +0 -19
- package/dist/swirl-icon-checkbox-filled.entry.69865b2b.js +0 -19
- package/dist/swirl-icon-chevron-left.entry.acbc72a4.js +0 -19
- package/dist/swirl-icon-chevron-right_2.entry.93732e18.js +0 -32
- package/dist/swirl-icon-close-fullscreen.entry.be98c7e6.js +0 -19
- package/dist/swirl-icon-close-small.entry.47c67957.js +0 -19
- package/dist/swirl-icon-close.entry.f43c80b8.js +0 -19
- package/dist/swirl-icon-cloud-upload.entry.d7f40f71.js +0 -19
- package/dist/swirl-icon-co-present.entry.b661f9d1.js +0 -19
- package/dist/swirl-icon-code.entry.59dc22f5.js +0 -19
- package/dist/swirl-icon-column.entry.9cb0eed7.js +0 -19
- package/dist/swirl-icon-comment.entry.53f69fc9.js +0 -19
- package/dist/swirl-icon-contract-edit.entry.8fda57fd.js +0 -19
- package/dist/swirl-icon-contrast.entry.eaa938bc.js +0 -19
- package/dist/swirl-icon-copy.entry.0f08fd97.js +0 -19
- package/dist/swirl-icon-crop.entry.8df648c9.js +0 -19
- package/dist/swirl-icon-dark-mode.entry.3b3c6332.js +0 -19
- package/dist/swirl-icon-data-object.entry.7ebabc92.js +0 -19
- package/dist/swirl-icon-date-range.entry.97c7b6b6.js +0 -19
- package/dist/swirl-icon-delete.entry.e5344e07.js +0 -19
- package/dist/swirl-icon-deployed-code.entry.dedba05e.js +0 -19
- package/dist/swirl-icon-description.entry.d55a2ea7.js +0 -19
- package/dist/swirl-icon-desktop.entry.34f0789a.js +0 -19
- package/dist/swirl-icon-destruction.entry.7c204538.js +0 -19
- package/dist/swirl-icon-directory-filled.entry.1b32248b.js +0 -19
- package/dist/swirl-icon-directory.entry.0183590a.js +0 -19
- package/dist/swirl-icon-discover.entry.5baaff9e.js +0 -19
- package/dist/swirl-icon-dock-left.entry.837d81ae.js +0 -19
- package/dist/swirl-icon-door-open.entry.fece5826.js +0 -19
- package/dist/swirl-icon-dot.entry.9b558f62.js +0 -19
- package/dist/swirl-icon-double-arrow-right.entry.657b5c7d.js +0 -19
- package/dist/swirl-icon-edit-note.entry.46aa2e0a.js +0 -19
- package/dist/swirl-icon-edit.entry.9639f5bb.js +0 -19
- package/dist/swirl-icon-emoji-mood.entry.4ff69f43.js +0 -19
- package/dist/swirl-icon-emoji-satisfied.entry.40e12cc5.js +0 -19
- package/dist/swirl-icon-emoji-symbols.entry.f5f75426.js +0 -19
- package/dist/swirl-icon-end-series.entry.3f87b6c3.js +0 -19
- package/dist/swirl-icon-error_3.entry.4ffe495d.js +0 -59
- package/dist/swirl-icon-expand-more.entry.69d6627b.js +0 -19
- package/dist/swirl-icon-experiment.entry.f0a69c59.js +0 -19
- package/dist/swirl-icon-fact-check.entry.b680a410.js +0 -19
- package/dist/swirl-icon-file.entry.18058802.js +0 -19
- package/dist/swirl-icon-filter.entry.97caac77.js +0 -19
- package/dist/swirl-icon-folder-shared.entry.fdf09c27.js +0 -19
- package/dist/swirl-icon-format-h-one.entry.7ef6618f.js +0 -19
- package/dist/swirl-icon-format-list-bulleted.entry.5607a45b.js +0 -19
- package/dist/swirl-icon-format-list-numbered.entry.a65c6dd0.js +0 -19
- package/dist/swirl-icon-forward.entry.f33f75d5.js +0 -19
- package/dist/swirl-icon-front-hand.entry.42c89229.js +0 -19
- package/dist/swirl-icon-gif.entry.359b1941.js +0 -19
- package/dist/swirl-icon-group-add.entry.6bd3552a.js +0 -19
- package/dist/swirl-icon-group-assign.entry.98092ad0.js +0 -19
- package/dist/swirl-icon-groups-filled.entry.610b892f.js +0 -19
- package/dist/swirl-icon-groups.entry.6a5b46b7.js +0 -19
- package/dist/swirl-icon-hamburger-menu.entry.e7641834.js +0 -19
- package/dist/swirl-icon-health-and-safety.entry.241ed066.js +0 -19
- package/dist/swirl-icon-help-filled.entry.7e567bd2.js +0 -19
- package/dist/swirl-icon-help.entry.4f694b57.js +0 -19
- package/dist/swirl-icon-highlight.entry.aec00164.js +0 -19
- package/dist/swirl-icon-history.entry.1c26ea75.js +0 -19
- package/dist/swirl-icon-home-filled.entry.9a20a281.js +0 -19
- package/dist/swirl-icon-home.entry.7e3b9dcb.js +0 -19
- package/dist/swirl-icon-hr-resting.entry.f2d56572.js +0 -19
- package/dist/swirl-icon-improve-text.entry.6c6e4031.js +0 -19
- package/dist/swirl-icon-info.entry.e776e05d.js +0 -19
- package/dist/swirl-icon-insert-below.entry.e3f058b8.js +0 -19
- package/dist/swirl-icon-insert-chart.entry.d1bb0a2c.js +0 -19
- package/dist/swirl-icon-insert-on-top.entry.6475c1ec.js +0 -19
- package/dist/swirl-icon-inventory-off.entry.48578a28.js +0 -19
- package/dist/swirl-icon-inventory.entry.47eca2e8.js +0 -19
- package/dist/swirl-icon-iphone.entry.a5a23849.js +0 -19
- package/dist/swirl-icon-italic.entry.57a88572.js +0 -19
- package/dist/swirl-icon-key.entry.c45e0d31.js +0 -19
- package/dist/swirl-icon-keyboard-hide.entry.f7a31ba5.js +0 -19
- package/dist/swirl-icon-keyboard.entry.7b1203e9.js +0 -19
- package/dist/swirl-icon-language.entry.71fa6793.js +0 -19
- package/dist/swirl-icon-light-mode.entry.b4464723.js +0 -19
- package/dist/swirl-icon-like.entry.f316ae78.js +0 -19
- package/dist/swirl-icon-link.entry.84edd819.js +0 -19
- package/dist/swirl-icon-list-alt-check.entry.cc33bbb2.js +0 -19
- package/dist/swirl-icon-live.entry.e70cf553.js +0 -19
- package/dist/swirl-icon-load.entry.4dd4fd9d.js +0 -19
- package/dist/swirl-icon-location-on.entry.a9b45a88.js +0 -19
- package/dist/swirl-icon-lock-open.entry.5a48d74e.js +0 -19
- package/dist/swirl-icon-lock-person.entry.f66e0ee7.js +0 -19
- package/dist/swirl-icon-lock.entry.2d2a4932.js +0 -19
- package/dist/swirl-icon-login.entry.229062e4.js +0 -19
- package/dist/swirl-icon-logout.entry.084c9aad.js +0 -19
- package/dist/swirl-icon-long-text.entry.8d2bce59.js +0 -19
- package/dist/swirl-icon-mail.entry.381aa92e.js +0 -19
- package/dist/swirl-icon-manage-accounts.entry.c88ae13e.js +0 -19
- package/dist/swirl-icon-mark-chat-read.entry.28157f1f.js +0 -19
- package/dist/swirl-icon-mark-chat-unread.entry.4d288b14.js +0 -19
- package/dist/swirl-icon-mark-email-read.entry.a45e07e1.js +0 -19
- package/dist/swirl-icon-mention.entry.8fa7f03c.js +0 -19
- package/dist/swirl-icon-menu-book-filled.entry.15a0521c.js +0 -19
- package/dist/swirl-icon-menu-filled.entry.19196255.js +0 -19
- package/dist/swirl-icon-menu.entry.be9fdfda.js +0 -19
- package/dist/swirl-icon-message.entry.98f4fc12.js +0 -19
- package/dist/swirl-icon-mic-off.entry.a8eb6da5.js +0 -19
- package/dist/swirl-icon-mic.entry.fa40ddb5.js +0 -19
- package/dist/swirl-icon-mobile-theft.entry.337ebf47.js +0 -19
- package/dist/swirl-icon-more-horizontal_2.entry.e647597a.js +0 -41
- package/dist/swirl-icon-more-vertikal.entry.63c04545.js +0 -19
- package/dist/swirl-icon-news-filled.entry.b09c227d.js +0 -19
- package/dist/swirl-icon-news-off.entry.4411fa6c.js +0 -19
- package/dist/swirl-icon-news.entry.5a9354d1.js +0 -19
- package/dist/swirl-icon-next-plan.entry.d3573bb2.js +0 -19
- package/dist/swirl-icon-note-stack-filled.entry.c558e700.js +0 -19
- package/dist/swirl-icon-note-stack.entry.6f798ebe.js +0 -19
- package/dist/swirl-icon-notifications-active.entry.9d0800cd.js +0 -19
- package/dist/swirl-icon-notifications-off.entry.60441ada.js +0 -19
- package/dist/swirl-icon-notifications.entry.b7e23569.js +0 -19
- package/dist/swirl-icon-open-in-full.entry.c7af5f73.js +0 -19
- package/dist/swirl-icon-passkey.entry.580579c1.js +0 -19
- package/dist/swirl-icon-password.entry.7d6b48e4.js +0 -19
- package/dist/swirl-icon-patient-list.entry.a3b27f1c.js +0 -19
- package/dist/swirl-icon-pause-circle.entry.dc9c04bc.js +0 -19
- package/dist/swirl-icon-pause.entry.933d5652.js +0 -19
- package/dist/swirl-icon-people-alt.entry.9ed3e3a7.js +0 -19
- package/dist/swirl-icon-person-check.entry.16b96003.js +0 -19
- package/dist/swirl-icon-person-off.entry.7e854d40.js +0 -19
- package/dist/swirl-icon-person-raised-hand.entry.0df1f45b.js +0 -19
- package/dist/swirl-icon-person.entry.bc305570.js +0 -19
- package/dist/swirl-icon-phone.entry.e193fbed.js +0 -19
- package/dist/swirl-icon-photo-camera.entry.57dc42b4.js +0 -19
- package/dist/swirl-icon-picture-in-picture.entry.d1d809d5.js +0 -19
- package/dist/swirl-icon-pin-off.entry.f97d4100.js +0 -19
- package/dist/swirl-icon-pin.entry.e71bb9b2.js +0 -19
- package/dist/swirl-icon-place.entry.1b035494.js +0 -19
- package/dist/swirl-icon-play-arrow.entry.326f9753.js +0 -19
- package/dist/swirl-icon-poll.entry.5ffc9a5c.js +0 -19
- package/dist/swirl-icon-post-approval.entry.cd910cdc.js +0 -19
- package/dist/swirl-icon-present.entry.98aff19c.js +0 -19
- package/dist/swirl-icon-preview.entry.1caa554b.js +0 -19
- package/dist/swirl-icon-print.entry.21dc1828.js +0 -19
- package/dist/swirl-icon-public-off.entry.385decf9.js +0 -19
- package/dist/swirl-icon-public.entry.a5ccba51.js +0 -19
- package/dist/swirl-icon-published-with-changes.entry.c5275304.js +0 -19
- package/dist/swirl-icon-qr-code-scanner.entry.6793be2e.js +0 -19
- package/dist/swirl-icon-ratio-four-to-three.entry.50f8864c.js +0 -19
- package/dist/swirl-icon-ratio-freeform.entry.1a908d2a.js +0 -19
- package/dist/swirl-icon-ratio-sixteen-to-nine.entry.94f8de00.js +0 -19
- package/dist/swirl-icon-ratio-square.entry.e27084fa.js +0 -19
- package/dist/swirl-icon-ratio-three-to-four.entry.2409806a.js +0 -19
- package/dist/swirl-icon-ratio-three-to-two.entry.6be78f80.js +0 -19
- package/dist/swirl-icon-recieved.entry.256f0a98.js +0 -19
- package/dist/swirl-icon-redo.entry.66f1655c.js +0 -19
- package/dist/swirl-icon-refresh.entry.a29cff3e.js +0 -19
- package/dist/swirl-icon-remove-circle.entry.8e52f1b8.js +0 -19
- package/dist/swirl-icon-remove-moderator.entry.bd54312b.js +0 -19
- package/dist/swirl-icon-repeat.entry.5c8d0949.js +0 -19
- package/dist/swirl-icon-reply.entry.c476a591.js +0 -19
- package/dist/swirl-icon-report.entry.cd815190.js +0 -19
- package/dist/swirl-icon-roadmap.entry.f46099c7.js +0 -19
- package/dist/swirl-icon-rocket-launch.entry.0cadfff9.js +0 -19
- package/dist/swirl-icon-rotate-left.entry.b1158141.js +0 -19
- package/dist/swirl-icon-rotate-right.entry.f944b200.js +0 -19
- package/dist/swirl-icon-school.entry.0a1fd9be.js +0 -19
- package/dist/swirl-icon-screenshare-off.entry.4a9a0bd2.js +0 -19
- package/dist/swirl-icon-screenshare.entry.80c195ae.js +0 -19
- package/dist/swirl-icon-search-strong.entry.6931397c.js +0 -19
- package/dist/swirl-icon-search.entry.aebf6e3b.js +0 -19
- package/dist/swirl-icon-section.entry.3440e29f.js +0 -19
- package/dist/swirl-icon-secure.entry.4dd6baba.js +0 -19
- package/dist/swirl-icon-security-check.entry.c541d6ed.js +0 -19
- package/dist/swirl-icon-security-warning.entry.a702a528.js +0 -19
- package/dist/swirl-icon-security.entry.b10a2fa9.js +0 -19
- package/dist/swirl-icon-select-edit.entry.981c5bea.js +0 -19
- package/dist/swirl-icon-select.entry.847fcf91.js +0 -19
- package/dist/swirl-icon-sell.entry.1eed0f52.js +0 -19
- package/dist/swirl-icon-send.entry.0279f7d0.js +0 -19
- package/dist/swirl-icon-settings.entry.0bb9b0cd.js +0 -19
- package/dist/swirl-icon-short-text.entry.64a2914f.js +0 -19
- package/dist/swirl-icon-simplify.entry.0f03b3ce.js +0 -19
- package/dist/swirl-icon-spellcheck.entry.36e4fbb6.js +0 -19
- package/dist/swirl-icon-stars.entry.c30621f8.js +0 -19
- package/dist/swirl-icon-sticky-note.entry.bec89aca.js +0 -19
- package/dist/swirl-icon-stop-circle.entry.453f75e5.js +0 -19
- package/dist/swirl-icon-stop.entry.a54c815e.js +0 -19
- package/dist/swirl-icon-strikethrough.entry.25b76beb.js +0 -19
- package/dist/swirl-icon-sunny.entry.df03bc32.js +0 -19
- package/dist/swirl-icon-swap-vert.entry.bcd62af6.js +0 -19
- package/dist/swirl-icon-sync.entry.86666757.js +0 -19
- package/dist/swirl-icon-tab-move.entry.3c8bf6b4.js +0 -19
- package/dist/swirl-icon-tasks-filled.entry.0b17660a.js +0 -19
- package/dist/swirl-icon-tasks.entry.1e086889.js +0 -19
- package/dist/swirl-icon-terminal.entry.a4cccaed.js +0 -19
- package/dist/swirl-icon-time-filled.entry.a0bf1944.js +0 -19
- package/dist/swirl-icon-time.entry.e495ee4e.js +0 -19
- package/dist/swirl-icon-today-filled.entry.819128eb.js +0 -19
- package/dist/swirl-icon-translate.entry.fc12efa1.js +0 -19
- package/dist/swirl-icon-tree-structure.entry.3fdd3415.js +0 -19
- package/dist/swirl-icon-underlined.entry.cbd96a8b.js +0 -19
- package/dist/swirl-icon-undo.entry.63f3d761.js +0 -19
- package/dist/swirl-icon-unlock-person.entry.4c48b315.js +0 -19
- package/dist/swirl-icon-upload.entry.20b58e9b.js +0 -19
- package/dist/swirl-icon-user-add.entry.40275ba7.js +0 -19
- package/dist/swirl-icon-user-assign.entry.8a90aa17.js +0 -19
- package/dist/swirl-icon-verified-user.entry.6a97f18c.js +0 -19
- package/dist/swirl-icon-video-camera-off.entry.ffdfbb26.js +0 -19
- package/dist/swirl-icon-video-camera.entry.3bf368cd.js +0 -19
- package/dist/swirl-icon-video-library.entry.d615213a.js +0 -19
- package/dist/swirl-icon-view-agenda.entry.36e7fd46.js +0 -19
- package/dist/swirl-icon-voice.entry.5463ce98.js +0 -19
- package/dist/swirl-icon-volume-off.entry.e0b78fb5.js +0 -19
- package/dist/swirl-icon-volume-up.entry.af91d1d8.js +0 -19
- package/dist/swirl-icon-waving-hand.entry.94e8caf1.js +0 -19
- package/dist/swirl-icon-web-asset-off.entry.02902d3a.js +0 -19
- package/dist/swirl-icon-web-asset.entry.2cbeac9e.js +0 -19
- package/dist/swirl-icon-work.entry.fb293ad9.js +0 -19
- package/dist/swirl-icon-workspace-premium.entry.81da9ab8.js +0 -19
- package/dist/swirl-icon-zoom-in.entry.dccc1972.js +0 -19
- package/dist/swirl-icon-zoom-out.entry.da6ff2b4.js +0 -19
- package/dist/swirl-icon.entry.3d48d818.js +0 -17
- package/dist/swirl-illustration-absence.entry.30dad437.js +0 -15
- package/dist/swirl-illustration-bookmarks.entry.ec687c5d.js +0 -15
- package/dist/swirl-illustration-calendar.entry.b0bafd28.js +0 -15
- package/dist/swirl-illustration-celebrate.entry.d9eea89a.js +0 -15
- package/dist/swirl-illustration-chat-messages.entry.84f96c4b.js +0 -15
- package/dist/swirl-illustration-chat-security.entry.bc193fae.js +0 -15
- package/dist/swirl-illustration-completed-task.entry.4c1fb635.js +0 -15
- package/dist/swirl-illustration-construction.entry.452e363c.js +0 -15
- package/dist/swirl-illustration-contrast.entry.901f402c.js +0 -15
- package/dist/swirl-illustration-directory.entry.d0c76174.js +0 -15
- package/dist/swirl-illustration-door.entry.8e26f3ff.js +0 -15
- package/dist/swirl-illustration-empty-folder.entry.0150399d.js +0 -15
- package/dist/swirl-illustration-invites-declined.entry.3d10fcb9.js +0 -15
- package/dist/swirl-illustration-invites.entry.d58173cd.js +0 -15
- package/dist/swirl-illustration-key.entry.ca778bb1.js +0 -15
- package/dist/swirl-illustration-keyboard.entry.6832b5cc.js +0 -15
- package/dist/swirl-illustration-light.entry.7185515e.js +0 -15
- package/dist/swirl-illustration-mail.entry.39e5ec39.js +0 -15
- package/dist/swirl-illustration-maintenance.entry.0c0492ba.js +0 -15
- package/dist/swirl-illustration-meteor.entry.923ca0a1.js +0 -15
- package/dist/swirl-illustration-moon.entry.85b4f493.js +0 -15
- package/dist/swirl-illustration-news.entry.6268bcab.js +0 -15
- package/dist/swirl-illustration-no-notifications.entry.f11328e1.js +0 -15
- package/dist/swirl-illustration-notification.entry.1b250371.js +0 -15
- package/dist/swirl-illustration-paper-roll.entry.ac49fda4.js +0 -15
- package/dist/swirl-illustration-pending.entry.903d3c2d.js +0 -15
- package/dist/swirl-illustration-profile.entry.a1b743fc.js +0 -15
- package/dist/swirl-illustration-root.entry.1aa13007.js +0 -15
- package/dist/swirl-illustration-search.entry.5ca376d6.js +0 -15
- package/dist/swirl-illustration-shifts.entry.ade38b2a.js +0 -15
- package/dist/swirl-illustration-sorry.entry.7b610821.js +0 -15
- package/dist/swirl-illustration-start.entry.5f37b4b9.js +0 -15
- package/dist/swirl-illustration-tasks.entry.beac4b80.js +0 -15
- package/dist/swirl-illustration-warning-sign.entry.e866bba2.js +0 -15
- package/dist/swirl-illustration-wave.entry.112efa76.js +0 -15
- package/dist/swirl-illustration.entry.ad158304.js +0 -16
- package/dist/swirl-image-grid-item.entry.1c307383.js +0 -95
- package/dist/swirl-image-grid.entry.09dc2747.js +0 -51
- package/dist/swirl-inline-notification.entry.4f087e80.js +0 -17
- package/dist/swirl-inline-status.entry.26d79bca.js +0 -37
- package/dist/swirl-lightbox.entry.f9023538.js +0 -155
- package/dist/swirl-link.entry.84f4e22a.js +0 -17
- package/dist/swirl-list.entry.8f920d47.js +0 -18
- package/dist/swirl-menu-item.entry.af2c9873.js +0 -86
- package/dist/swirl-menu.entry.aa3aa558.js +0 -184
- package/dist/swirl-modal-shell.entry.00fa6391.js +0 -45
- package/dist/swirl-modal.entry.4bfbd590.js +0 -186
- package/dist/swirl-option-list-section.entry.03ac2fee.js +0 -15
- package/dist/swirl-option-list.entry.dbac3d96.js +0 -264
- package/dist/swirl-pagination.entry.534f6016.js +0 -38
- package/dist/swirl-pdf-reader.entry.50726247.js +0 -120
- package/dist/swirl-popover_2.entry.4edc713e.js +0 -336
- package/dist/swirl-radio-group.entry.55d3be6d.js +0 -50
- package/dist/swirl-radio.entry.c0a92708.js +0 -27
- package/dist/swirl-resource-list-file-item.entry.a8fac9bd.js +0 -39
- package/dist/swirl-resource-list-item.entry.fb0211d2.js +0 -99
- package/dist/swirl-resource-list-section.entry.09fcfc7b.js +0 -19
- package/dist/swirl-resource-list.entry.962035b1.js +0 -161
- package/dist/swirl-search.entry.94b868aa.js +0 -51
- package/dist/swirl-select.entry.33f5daa6.js +0 -145
- package/dist/swirl-separator.entry.9d78dea8.js +0 -29
- package/dist/swirl-shell-layout.entry.e5b09a5f.js +0 -686
- package/dist/swirl-shell-navigation-item.entry.5d0d5b00.js +0 -46
- package/dist/swirl-skeleton-box.entry.50808485.js +0 -24
- package/dist/swirl-skeleton-text.entry.7d7a523b.js +0 -17
- package/dist/swirl-stack.entry.e8d62be6.js +0 -21
- package/dist/swirl-status-indicator.entry.e6375bf7.js +0 -17
- package/dist/swirl-switch.entry.537928c6.js +0 -30
- package/dist/swirl-symbol-ac-unit.entry.6ed57e21.js +0 -17
- package/dist/swirl-symbol-account-circle.entry.696b456e.js +0 -17
- package/dist/swirl-symbol-alternate-email.entry.3d596158.js +0 -17
- package/dist/swirl-symbol-android.entry.c308f13f.js +0 -17
- package/dist/swirl-symbol-announcement.entry.aa949c90.js +0 -17
- package/dist/swirl-symbol-autorenew.entry.4c799ada.js +0 -17
- package/dist/swirl-symbol-backup.entry.22315ae0.js +0 -17
- package/dist/swirl-symbol-badge.entry.9b2c4dcd.js +0 -17
- package/dist/swirl-symbol-barcode-reader.entry.ce3bfec8.js +0 -17
- package/dist/swirl-symbol-barcode-scanner.entry.4427f08d.js +0 -17
- package/dist/swirl-symbol-battery-horiz.entry.914abcbb.js +0 -17
- package/dist/swirl-symbol-beach-access.entry.31423387.js +0 -17
- package/dist/swirl-symbol-bolt.entry.6c4d7446.js +0 -17
- package/dist/swirl-symbol-bookmark.entry.0f87e716.js +0 -17
- package/dist/swirl-symbol-calendar.entry.fcd760e1.js +0 -17
- package/dist/swirl-symbol-campaign.entry.5215c515.js +0 -17
- package/dist/swirl-symbol-cards-star.entry.1b69664c.js +0 -17
- package/dist/swirl-symbol-cloud.entry.c1bfff6b.js +0 -17
- package/dist/swirl-symbol-construction.entry.70209853.js +0 -17
- package/dist/swirl-symbol-contacts.entry.bceda374.js +0 -17
- package/dist/swirl-symbol-coronavirus.entry.fe1f1c20.js +0 -17
- package/dist/swirl-symbol-design-services.entry.e78af95e.js +0 -17
- package/dist/swirl-symbol-desktop-windows.entry.62a906a1.js +0 -17
- package/dist/swirl-symbol-directions-car-filled.entry.7f0559fd.js +0 -17
- package/dist/swirl-symbol-diversity.entry.03841012.js +0 -17
- package/dist/swirl-symbol-draw.entry.8c1a25bb.js +0 -17
- package/dist/swirl-symbol-edit-calendar.entry.0a9dce2a.js +0 -17
- package/dist/swirl-symbol-email.entry.5ccaa1fd.js +0 -17
- package/dist/swirl-symbol-emergency.entry.1ebdfd63.js +0 -17
- package/dist/swirl-symbol-emoji-food-beverage.entry.ff57c472.js +0 -17
- package/dist/swirl-symbol-engineering.entry.cbf08a1a.js +0 -17
- package/dist/swirl-symbol-event-menu.entry.2666facd.js +0 -17
- package/dist/swirl-symbol-explore.entry.315ba753.js +0 -17
- package/dist/swirl-symbol-extension.entry.21f08469.js +0 -17
- package/dist/swirl-symbol-facebook.entry.9e369b41.js +0 -17
- package/dist/swirl-symbol-favorite.entry.95b010a6.js +0 -17
- package/dist/swirl-symbol-fitness-center.entry.6960b744.js +0 -17
- package/dist/swirl-symbol-flag.entry.7af3f645.js +0 -17
- package/dist/swirl-symbol-flight.entry.ef4f5916.js +0 -17
- package/dist/swirl-symbol-folder.entry.355c989d.js +0 -17
- package/dist/swirl-symbol-globe.entry.98b01634.js +0 -17
- package/dist/swirl-symbol-groups.entry.7d8d2a23.js +0 -17
- package/dist/swirl-symbol-healing.entry.40adb43c.js +0 -17
- package/dist/swirl-symbol-health-and-safety.entry.e993b397.js +0 -17
- package/dist/swirl-symbol-help.entry.5da75b4d.js +0 -17
- package/dist/swirl-symbol-home-repair-service.entry.e4e86588.js +0 -17
- package/dist/swirl-symbol-home-storage.entry.9211e333.js +0 -17
- package/dist/swirl-symbol-id-card.entry.f6f7fe3b.js +0 -17
- package/dist/swirl-symbol-image.entry.af9bee63.js +0 -17
- package/dist/swirl-symbol-info-menu.entry.f9d135ff.js +0 -17
- package/dist/swirl-symbol-instagram.entry.109fafe6.js +0 -17
- package/dist/swirl-symbol-inventory-2.entry.95ad4921.js +0 -17
- package/dist/swirl-symbol-inventory.entry.11ac331a.js +0 -17
- package/dist/swirl-symbol-ios.entry.274227d7.js +0 -17
- package/dist/swirl-symbol-key.entry.04b8c6ed.js +0 -17
- package/dist/swirl-symbol-language.entry.02cbc971.js +0 -17
- package/dist/swirl-symbol-leaderboard.entry.196e0412.js +0 -17
- package/dist/swirl-symbol-lightbulb.entry.308b84ad.js +0 -17
- package/dist/swirl-symbol-linkedin.entry.96a21f40.js +0 -17
- package/dist/swirl-symbol-local-shipping.entry.8b90395f.js +0 -17
- package/dist/swirl-symbol-location-on.entry.9a6d538f.js +0 -17
- package/dist/swirl-symbol-loyalty.entry.92413a9a.js +0 -17
- package/dist/swirl-symbol-map.entry.702bc3c6.js +0 -17
- package/dist/swirl-symbol-maps-home-work.entry.06d01762.js +0 -17
- package/dist/swirl-symbol-menu-book.entry.e9542423.js +0 -17
- package/dist/swirl-symbol-mop.entry.1e1ef749.js +0 -17
- package/dist/swirl-symbol-nest-eco-leaf.entry.00e2f319.js +0 -17
- package/dist/swirl-symbol-notifications.entry.19b58f6f.js +0 -17
- package/dist/swirl-symbol-open-in-new.entry.992820a2.js +0 -17
- package/dist/swirl-symbol-orders.entry.ec35cc1b.js +0 -17
- package/dist/swirl-symbol-package.entry.39a0a26f.js +0 -17
- package/dist/swirl-symbol-palette.entry.f1040dbe.js +0 -17
- package/dist/swirl-symbol-partly-cloudy-day.entry.37c3e7d9.js +0 -17
- package/dist/swirl-symbol-pedal-bike.entry.127c8558.js +0 -17
- package/dist/swirl-symbol-percent-discount.entry.2b5c2271.js +0 -17
- package/dist/swirl-symbol-pets.entry.cee1d70e.js +0 -17
- package/dist/swirl-symbol-pinterest.entry.4f3cf67a.js +0 -17
- package/dist/swirl-symbol-point-of-sale.entry.a2653e2d.js +0 -17
- package/dist/swirl-symbol-policy.entry.17336236.js +0 -17
- package/dist/swirl-symbol-precision-manufacturing.entry.985026c8.js +0 -17
- package/dist/swirl-symbol-print.entry.dd19b04d.js +0 -17
- package/dist/swirl-symbol-push-pin.entry.09a49552.js +0 -17
- package/dist/swirl-symbol-qr-code-scanner.entry.4228fb24.js +0 -17
- package/dist/swirl-symbol-recycling.entry.e48d5c16.js +0 -17
- package/dist/swirl-symbol-redeem.entry.79d8c038.js +0 -17
- package/dist/swirl-symbol-report-problem.entry.c0593db1.js +0 -17
- package/dist/swirl-symbol-restaurant.entry.e9e1156a.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.6910e469.js +0 -17
- package/dist/swirl-symbol-rocket-launch.entry.8b603379.js +0 -17
- package/dist/swirl-symbol-room.entry.f4cbf519.js +0 -17
- package/dist/swirl-symbol-savings.entry.11419786.js +0 -17
- package/dist/swirl-symbol-school.entry.e516861a.js +0 -17
- package/dist/swirl-symbol-sell.entry.29f3054b.js +0 -17
- package/dist/swirl-symbol-settings-voice.entry.947933f9.js +0 -17
- package/dist/swirl-symbol-shopping-bag.entry.465ea688.js +0 -17
- package/dist/swirl-symbol-shopping-cart.entry.fad0e0da.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.af13cb6c.js +0 -17
- package/dist/swirl-symbol-spa.entry.a39c5bcb.js +0 -17
- package/dist/swirl-symbol-sports-soccer.entry.5bad4edf.js +0 -17
- package/dist/swirl-symbol-star.entry.230c0f2b.js +0 -17
- package/dist/swirl-symbol-supervisor-account.entry.add10e2a.js +0 -17
- package/dist/swirl-symbol-task.entry.f406d00a.js +0 -17
- package/dist/swirl-symbol-tasks.entry.55202985.js +0 -17
- package/dist/swirl-symbol-thumbs-up-down.entry.b630d61c.js +0 -17
- package/dist/swirl-symbol-timer.entry.7e796740.js +0 -17
- package/dist/swirl-symbol-tools-power-drill.entry.29cd119a.js +0 -17
- package/dist/swirl-symbol-train.entry.74737591.js +0 -17
- package/dist/swirl-symbol-trophy.entry.1ffa7db8.js +0 -17
- package/dist/swirl-symbol-twitter.entry.1009c912.js +0 -17
- package/dist/swirl-symbol-video.entry.6bc42483.js +0 -17
- package/dist/swirl-symbol-warehouse.entry.3ef6cc54.js +0 -17
- package/dist/swirl-symbol-water-drop.entry.77441ad0.js +0 -17
- package/dist/swirl-symbol-wb-sunny.entry.c72f832e.js +0 -17
- package/dist/swirl-symbol-wechat.entry.7dba0523.js +0 -17
- package/dist/swirl-symbol-weibo.entry.51568e26.js +0 -17
- package/dist/swirl-symbol-wifi.entry.f0a05208.js +0 -17
- package/dist/swirl-symbol-work.entry.e77f8fdc.js +0 -17
- package/dist/swirl-symbol-xing.entry.cab5f1bc.js +0 -17
- package/dist/swirl-symbol-youtube.entry.7964cf8b.js +0 -17
- package/dist/swirl-symbol.entry.2ce6757a.js +0 -16
- package/dist/swirl-tab-bar.entry.e6a38499.js +0 -67
- package/dist/swirl-tab.entry.f1524ab9.js +0 -17
- package/dist/swirl-table-cell.entry.480d0a95.js +0 -15
- package/dist/swirl-table-column.entry.f5b6a603.js +0 -34
- package/dist/swirl-table-row-group.entry.6ecec12d.js +0 -35
- package/dist/swirl-table-row.entry.a2b59d8c.js +0 -27
- package/dist/swirl-table.entry.ed6bccd1.js +0 -1751
- package/dist/swirl-tabs.entry.583a2403.js +0 -65
- package/dist/swirl-tag.entry.a7bc2507.js +0 -45
- package/dist/swirl-text-input.entry.543657d0.js +0 -93
- package/dist/swirl-text.entry.176c876e.js +0 -299
- package/dist/swirl-theme-provider.entry.b46b13f8.js +0 -96
- package/dist/swirl-thumbnail.entry.daedf941.js +0 -45
- package/dist/swirl-time-input.entry.d5295e89.js +0 -140
- package/dist/swirl-toast-provider.entry.2b1dd935.js +0 -82
- package/dist/swirl-toast.entry.1f4f0ff8.js +0 -67
- package/dist/swirl-toggle-button.entry.fbddbb4b.js +0 -21
- package/dist/swirl-toggle-group.entry.7d4b6791.js +0 -62
- package/dist/swirl-toolbar.entry.53623a87.js +0 -56
- package/dist/swirl-tooltip.entry.838c3416.js +0 -118
- package/dist/swirl-tree-navigation-item.entry.7dedfeeb.js +0 -73
- package/dist/swirl-tree-navigation.entry.57049ac1.js +0 -15
- package/dist/swirl-tree-view-item.entry.971cfeee.js +0 -205
- package/dist/swirl-tree-view.entry.bb96e82d.js +0 -222
- package/dist/swirl-video-thumbnail.entry.ab9d566b.js +0 -15
- package/dist/swirl-visually-hidden.entry.af4bba6b.js +0 -15
- package/dist/wc-datepicker.entry.1b438632.js +0 -380
|
@@ -1,1751 +0,0 @@
|
|
|
1
|
-
import { r as nt, c as $, h as O, H as ot, g as rt } from "./index.d232e9ab.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 { u as U, i as K, q as ct } from "./utils-D23VxAsw.a2b1dde9.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
var q, Y;
|
|
8
|
-
function dt() {
|
|
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 ut = dt(), ft = /* @__PURE__ */ at(ut);
|
|
47
|
-
function mt(i) {
|
|
48
|
-
return typeof i == "object" ? i.key : i;
|
|
49
|
-
}
|
|
50
|
-
function gt(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 R = (i, n) => Math.abs(i - n) < 1.01, pt = (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 bt({
|
|
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 vt = (i) => i === "smooth" || i === "smoothFinishing";
|
|
123
|
-
function yt({
|
|
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" && !vt(t.phase) && !R(n, t.lastTargetOffset) && !R(n, e()) && i !== "clampedEcho";
|
|
130
|
-
}
|
|
131
|
-
const j = 40;
|
|
132
|
-
function wt(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 St(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 _t = () => P !== void 0 ? P : P = V() && typeof CSS < "u" && typeof CSS.supports == "function" && CSS.supports("overflow-anchor: auto"), Ot = () => !V() || _t(), I = {
|
|
175
|
-
capture: !0,
|
|
176
|
-
passive: !0
|
|
177
|
-
};
|
|
178
|
-
class xt {
|
|
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
|
-
}, Ct = (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
|
-
}, Rt = (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
|
-
}, zt = 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 && zt;
|
|
306
|
-
let r = 0;
|
|
307
|
-
const l = o ? null : pt(
|
|
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
|
-
}, Et = (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
|
-
}), It = (i, n) => et(
|
|
321
|
-
i,
|
|
322
|
-
n,
|
|
323
|
-
(t) => i.options.horizontal ? t.scrollX : t.scrollY
|
|
324
|
-
), At = (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
|
-
}, Tt = st, kt = 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 Dt(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 Lt {
|
|
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 xt({
|
|
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" && St((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: Ct,
|
|
477
|
-
rangeExtractor: tt,
|
|
478
|
-
onChange: () => {
|
|
479
|
-
},
|
|
480
|
-
measureElement: At,
|
|
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) => mt(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 || Dt(
|
|
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 : yt({
|
|
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 || wt(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) && !R(
|
|
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 bt({
|
|
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 && R(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 = gt(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[_], M = D !== void 0 ? w[D] : void 0;
|
|
765
|
-
C = M ? M.end + h : e + s;
|
|
766
|
-
} else if (b === l) {
|
|
767
|
-
let D = 0, M = v[0], G = g[0];
|
|
768
|
-
for (let z = 1; z < l; z++) {
|
|
769
|
-
const B = v[z];
|
|
770
|
-
(B < M || B === M && g[z] < G) && (D = z, M = B, G = g[z]);
|
|
771
|
-
}
|
|
772
|
-
_ = D, C = M + 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 = Ft(
|
|
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 && !R(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 && R(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" && Ot()) {
|
|
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 && R(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 Wt(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 Ft(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 = Wt(
|
|
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 Vt {
|
|
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 Lt(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
|
-
Kt(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) => Bt(tt(r), t.filter((l) => Number.isInteger(l) && l >= 0 && l < s)),
|
|
1371
|
-
observeElementRect: o ? Rt : Mt,
|
|
1372
|
-
observeElementOffset: o ? It : Et,
|
|
1373
|
-
scrollToFn: o ? Tt : kt,
|
|
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 Bt(i, n) {
|
|
1386
|
-
return [.../* @__PURE__ */ new Set([...i, ...n])].sort((t, e) => t - e);
|
|
1387
|
-
}
|
|
1388
|
-
function Kt(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 qt = () => ".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}", Pt = {
|
|
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
|
-
}, Ht = class {
|
|
1401
|
-
constructor(i) {
|
|
1402
|
-
nt(this, i), this.dropRow = $(this, "dropRow", 7), this.virtualizationRowsChange = $(this, "virtualizationRowsChange", 7), this.dragDropInstructions = Pt, this.emptyStateLabel = "No results found.", this.virtualizationEstimatedRowHeight = 56, this.virtualizationOverscan = 10, this.virtualizationKeepRowsRendered = [], this.liveRegionText = "", this.updateLayout = ft(async () => {
|
|
1403
|
-
this.resetCellStyles(), this.resetColumnStyles(), this.resetEmptyRowStyles(), this.resetRowGroupStyles(), this.layoutEmptyRow(), this.layoutRowGroups(), this.layOutCellsAndColumns(), this.updateScrolledState();
|
|
1404
|
-
}, 16, { leading: !0 }), this.onScroll = () => {
|
|
1405
|
-
this.updateScrolledState();
|
|
1406
|
-
}, this.onFocus = (n) => {
|
|
1407
|
-
var e;
|
|
1408
|
-
if (this.trackFocusedRow(n.target), this.movingViaKeyboard) {
|
|
1409
|
-
const s = this.el.querySelector(".table-row--moving");
|
|
1410
|
-
s && this.focusDragHandleOfRow(s);
|
|
1411
|
-
}
|
|
1412
|
-
const t = !!((e = n.target) != null && e.closest(this.dragDropHandle));
|
|
1413
|
-
this.liveRegionText === "" && t && this.updateLiveRegionText("initial");
|
|
1414
|
-
}, this.onBlur = (n) => {
|
|
1415
|
-
const t = n.relatedTarget;
|
|
1416
|
-
this.el.contains(t) || this.trackFocusedRow(null);
|
|
1417
|
-
const e = !!(t != null && t.closest(this.dragDropHandle));
|
|
1418
|
-
this.el.contains(t) && e || this.liveRegionText !== "" && this.updateLiveRegionText();
|
|
1419
|
-
}, this.onKeyDown = (n) => {
|
|
1420
|
-
var s, o;
|
|
1421
|
-
if (!this.enableDragDrop)
|
|
1422
|
-
return;
|
|
1423
|
-
const t = (s = n.target) == null ? void 0 : s.closest("swirl-table-row");
|
|
1424
|
-
!((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()));
|
|
1425
|
-
};
|
|
1426
|
-
}
|
|
1427
|
-
async componentDidLoad() {
|
|
1428
|
-
this.setupIntersectionObserver(), this.setupMutationObservers(), this.updateVirtualizer(), queueMicrotask(() => {
|
|
1429
|
-
this.setupDragDrop();
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1432
|
-
disconnectedCallback() {
|
|
1433
|
-
var i, n, t, e;
|
|
1434
|
-
(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();
|
|
1435
|
-
}
|
|
1436
|
-
handleVirtualizationChange() {
|
|
1437
|
-
this.updateVirtualizer();
|
|
1438
|
-
}
|
|
1439
|
-
get virtualizerConfig() {
|
|
1440
|
-
var i, n;
|
|
1441
|
-
if (!(!this.enableVirtualization || !this.virtualizationRowCount))
|
|
1442
|
-
return {
|
|
1443
|
-
estimatedRowHeight: this.virtualizationEstimatedRowHeight,
|
|
1444
|
-
keptIndexes: this.focusedRowIndex === void 0 ? (i = this.virtualizationKeepRowsRendered) != null ? i : [] : [
|
|
1445
|
-
...(n = this.virtualizationKeepRowsRendered) != null ? n : [],
|
|
1446
|
-
this.focusedRowIndex
|
|
1447
|
-
],
|
|
1448
|
-
overscan: this.virtualizationOverscan,
|
|
1449
|
-
rowCount: this.virtualizationRowCount
|
|
1450
|
-
};
|
|
1451
|
-
}
|
|
1452
|
-
updateVirtualizer() {
|
|
1453
|
-
if (!this.bodyEl)
|
|
1454
|
-
return;
|
|
1455
|
-
const i = this.virtualizerConfig;
|
|
1456
|
-
if (!i) {
|
|
1457
|
-
const n = Boolean(this.virtualizer);
|
|
1458
|
-
this.destroyVirtualizer(), this.enableVirtualization && n && queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: [] }));
|
|
1459
|
-
return;
|
|
1460
|
-
}
|
|
1461
|
-
if (this.virtualizer) {
|
|
1462
|
-
this.virtualizer.setConfig(i), this.virtualizer.scrollElement === window && this.updateScrollParent();
|
|
1463
|
-
return;
|
|
1464
|
-
}
|
|
1465
|
-
this.bodyEl.style.paddingBottom = `${i.rowCount * i.estimatedRowHeight}px`, this.virtualizer = new Vt(this.bodyEl, U(this.el), i, (n) => queueMicrotask(() => this.virtualizationRowsChange.emit({ indexes: n })));
|
|
1466
|
-
}
|
|
1467
|
-
destroyVirtualizer() {
|
|
1468
|
-
var i;
|
|
1469
|
-
(i = this.virtualizer) == null || i.destroy(), this.virtualizer = void 0;
|
|
1470
|
-
}
|
|
1471
|
-
handleEnableDragDropChange() {
|
|
1472
|
-
queueMicrotask(() => {
|
|
1473
|
-
this.setupDragDrop();
|
|
1474
|
-
});
|
|
1475
|
-
}
|
|
1476
|
-
setupIntersectionObserver() {
|
|
1477
|
-
this.intersectionObserver = new IntersectionObserver(this.onVisibilityChange.bind(this), {
|
|
1478
|
-
threshold: 0
|
|
1479
|
-
}), this.intersectionObserver.observe(this.container);
|
|
1480
|
-
}
|
|
1481
|
-
setupMutationObservers() {
|
|
1482
|
-
this.columnMutationObserver = new MutationObserver((i) => {
|
|
1483
|
-
i.some((t) => t.addedNodes.length || t.removedNodes.length) && this.updateLayout();
|
|
1484
|
-
}), this.columnMutationObserver.observe(this.headerEl, {
|
|
1485
|
-
childList: !0,
|
|
1486
|
-
subtree: !0
|
|
1487
|
-
}), this.rowMutationObserver = new MutationObserver((i) => {
|
|
1488
|
-
const n = i.some((e) => e.addedNodes.length || e.removedNodes.length), t = i.some((e) => e.type === "attributes");
|
|
1489
|
-
n && (this.updateEmptyState(), this.setupDragDrop()), (n || t) && this.syncVirtualizedRows({ layOutCells: n });
|
|
1490
|
-
}), this.startRowMutationObserver();
|
|
1491
|
-
}
|
|
1492
|
-
startRowMutationObserver() {
|
|
1493
|
-
var i;
|
|
1494
|
-
(i = this.rowMutationObserver) == null || i.observe(this.bodyEl, {
|
|
1495
|
-
attributeFilter: ["data-index"],
|
|
1496
|
-
childList: !0,
|
|
1497
|
-
subtree: !0
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
stopRowMutationObserver() {
|
|
1501
|
-
var i;
|
|
1502
|
-
(i = this.rowMutationObserver) == null || i.disconnect();
|
|
1503
|
-
}
|
|
1504
|
-
setupDragDrop() {
|
|
1505
|
-
if (this.sortable && (this.sortable.destroy(), this.sortable = void 0), this.enableDragDrop) {
|
|
1506
|
-
if (!!this.el.querySelector("swirl-table-row-group")) {
|
|
1507
|
-
console.warn('[Swirl] Drag & drop is not yet supported for swirl-tables using the "swirl-table-row-group" component.');
|
|
1508
|
-
return;
|
|
1509
|
-
}
|
|
1510
|
-
if (!this.dragDropHandle) {
|
|
1511
|
-
console.warn('[Swirl] swirl-table required the "dragDropHandle" prop to be set when drag & drop is enabled.');
|
|
1512
|
-
return;
|
|
1513
|
-
}
|
|
1514
|
-
const n = this.el.querySelector('[slot="rows"]');
|
|
1515
|
-
this.dragDropContainer = (n == null ? void 0 : n.tagName) !== "SWIRL-TABLE-ROW" ? n != null ? n : this.bodyEl : this.bodyEl, this.sortable = new ht(this.dragDropContainer, {
|
|
1516
|
-
animation: 100,
|
|
1517
|
-
direction: "vertical",
|
|
1518
|
-
handle: this.dragDropHandle,
|
|
1519
|
-
fallbackOnBody: !0,
|
|
1520
|
-
group: `swirl-table-${Math.random().toString().substring(2)}`,
|
|
1521
|
-
onStart: () => {
|
|
1522
|
-
this.stopRowMutationObserver();
|
|
1523
|
-
},
|
|
1524
|
-
onEnd: (t) => {
|
|
1525
|
-
var l;
|
|
1526
|
-
t.stopPropagation();
|
|
1527
|
-
const { to: e, newIndex: s, oldIndex: o, item: r } = t;
|
|
1528
|
-
this.dropRow.emit({
|
|
1529
|
-
newIndex: s,
|
|
1530
|
-
oldIndex: o,
|
|
1531
|
-
item: r,
|
|
1532
|
-
itemId: (l = r.id) != null ? l : r.querySelector(":scope > swirl-table-row").id,
|
|
1533
|
-
newNextSiblingItemId: s < e.children.length - 1 ? e.children[s + 1].id : void 0,
|
|
1534
|
-
newPrevSiblingItemId: s > 0 ? e.children[s - 1].id : void 0
|
|
1535
|
-
}), this.startRowMutationObserver();
|
|
1536
|
-
}
|
|
1537
|
-
});
|
|
1538
|
-
}
|
|
1539
|
-
}
|
|
1540
|
-
async onVisibilityChange(i) {
|
|
1541
|
-
i.some((t) => t.isIntersecting) && setTimeout(async () => {
|
|
1542
|
-
this.updateScrollParent(), await this.updateLayout();
|
|
1543
|
-
}, 100);
|
|
1544
|
-
}
|
|
1545
|
-
updateScrollParent() {
|
|
1546
|
-
!this.virtualizer || U(this.el) === this.virtualizer.scrollElement || (this.destroyVirtualizer(), this.updateVirtualizer());
|
|
1547
|
-
}
|
|
1548
|
-
async componentDidRender() {
|
|
1549
|
-
await this.updateLayout(), this.updateEmptyState();
|
|
1550
|
-
}
|
|
1551
|
-
async onWindowResize() {
|
|
1552
|
-
await this.updateLayout();
|
|
1553
|
-
}
|
|
1554
|
-
async rerender() {
|
|
1555
|
-
await this.updateLayout(), this.updateEmptyState();
|
|
1556
|
-
}
|
|
1557
|
-
resetEmptyRowStyles() {
|
|
1558
|
-
const i = this.el.querySelector(".table__empty-row");
|
|
1559
|
-
!Boolean(i) || (i.style.width = "");
|
|
1560
|
-
}
|
|
1561
|
-
resetRowGroupStyles() {
|
|
1562
|
-
Array.from(this.el.querySelectorAll("swirl-table-row-group")).forEach((n) => {
|
|
1563
|
-
const t = n.shadowRoot.querySelector(".table-row-group__header-row");
|
|
1564
|
-
!Boolean(t) || (n.shadowRoot.querySelector(".table-row-group__header-row").style.width = "");
|
|
1565
|
-
});
|
|
1566
|
-
}
|
|
1567
|
-
resetColumnStyles() {
|
|
1568
|
-
this.getColumns().forEach((n) => {
|
|
1569
|
-
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 = "";
|
|
1570
|
-
});
|
|
1571
|
-
}
|
|
1572
|
-
resetCellStyles() {
|
|
1573
|
-
this.getCells().forEach((n) => {
|
|
1574
|
-
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 = "";
|
|
1575
|
-
});
|
|
1576
|
-
}
|
|
1577
|
-
updateScrolledState() {
|
|
1578
|
-
const i = K();
|
|
1579
|
-
if (this.container === void 0)
|
|
1580
|
-
return;
|
|
1581
|
-
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);
|
|
1582
|
-
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"));
|
|
1583
|
-
}
|
|
1584
|
-
getColumns() {
|
|
1585
|
-
return Array.from(this.el.querySelectorAll("swirl-table-column"));
|
|
1586
|
-
}
|
|
1587
|
-
getCells() {
|
|
1588
|
-
return Array.from(this.el.querySelectorAll("swirl-table-cell"));
|
|
1589
|
-
}
|
|
1590
|
-
layoutEmptyRow() {
|
|
1591
|
-
const i = this.el.querySelector(".table__empty-row");
|
|
1592
|
-
if (!Boolean(i))
|
|
1593
|
-
return;
|
|
1594
|
-
const n = `${this.el.querySelector(".table__container").scrollWidth}px`;
|
|
1595
|
-
i.style.width = n;
|
|
1596
|
-
}
|
|
1597
|
-
layoutRowGroups() {
|
|
1598
|
-
var t;
|
|
1599
|
-
const i = Array.from(this.el.querySelectorAll("swirl-table-row-group")), n = `${(t = this.el.querySelector(".table__container")) == null ? void 0 : t.scrollWidth}px`;
|
|
1600
|
-
i.forEach((e) => {
|
|
1601
|
-
const s = e.shadowRoot.querySelector(".table-row-group__header-row");
|
|
1602
|
-
!Boolean(s) || (e.shadowRoot.querySelector(".table-row-group__header-row").style.width = n);
|
|
1603
|
-
});
|
|
1604
|
-
}
|
|
1605
|
-
layOutCellsAndColumns() {
|
|
1606
|
-
const i = this.getColumns(), n = this.getCells(), t = i.map((e, s) => this.calculateColumnProperties(e, i, s));
|
|
1607
|
-
i.forEach((e, s) => {
|
|
1608
|
-
this.getCellsForColumn(n, i, s).forEach((r) => this.applyCellStyles(r, e, t[s])), this.applyColumnStyles(e, t[s]);
|
|
1609
|
-
});
|
|
1610
|
-
}
|
|
1611
|
-
getCellsForColumn(i, n, t) {
|
|
1612
|
-
return i.filter((e, s) => (t - s) % n.length === 0);
|
|
1613
|
-
}
|
|
1614
|
-
calculateColumnProperties(i, n, t) {
|
|
1615
|
-
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);
|
|
1616
|
-
return {
|
|
1617
|
-
leftOffsetForStickyColumn: e,
|
|
1618
|
-
columnWidth: s,
|
|
1619
|
-
isLastColumnSticky: o,
|
|
1620
|
-
hasShadowRight: r
|
|
1621
|
-
};
|
|
1622
|
-
}
|
|
1623
|
-
applyCellStyles(i, n, t) {
|
|
1624
|
-
const { leftOffsetForStickyColumn: e, columnWidth: s, isLastColumnSticky: o, hasShadowRight: r } = t;
|
|
1625
|
-
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"));
|
|
1626
|
-
}
|
|
1627
|
-
applyColumnStyles(i, n) {
|
|
1628
|
-
if (K())
|
|
1629
|
-
return;
|
|
1630
|
-
const { leftOffsetForStickyColumn: t, isLastColumnSticky: e, hasShadowRight: s } = n;
|
|
1631
|
-
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");
|
|
1632
|
-
}
|
|
1633
|
-
getLeftOffsetForStickyColumn(i, n) {
|
|
1634
|
-
return i.slice(0, n).reduce((t, e) => {
|
|
1635
|
-
if (e.sticky)
|
|
1636
|
-
return t += e.getBoundingClientRect().width, t;
|
|
1637
|
-
}, 0);
|
|
1638
|
-
}
|
|
1639
|
-
hasStickyColumnsToRight(i, n) {
|
|
1640
|
-
return i.slice(n + 1, i.length - 1).some((t) => t.sticky);
|
|
1641
|
-
}
|
|
1642
|
-
updateEmptyState() {
|
|
1643
|
-
if (this.enableVirtualization && this.virtualizationRowCount) {
|
|
1644
|
-
this.empty = !1;
|
|
1645
|
-
return;
|
|
1646
|
-
}
|
|
1647
|
-
const i = this.el.querySelector('[slot="rows"]');
|
|
1648
|
-
this.empty = !Boolean(i) || i.children.length === 0;
|
|
1649
|
-
}
|
|
1650
|
-
updateLiveRegionText(i, n = {}) {
|
|
1651
|
-
let t = i ? this.dragDropInstructions[i] : "";
|
|
1652
|
-
for (const [e, s] of Object.entries(n != null ? n : {}))
|
|
1653
|
-
t = t.replaceAll(`{${e}}`, String(s));
|
|
1654
|
-
t !== this.liveRegionText && (this.liveRegionText = t);
|
|
1655
|
-
}
|
|
1656
|
-
toggleKeyboardMove(i) {
|
|
1657
|
-
this.movingViaKeyboard ? this.endKeyboardMove(i) : this.startKeyboardMove(i);
|
|
1658
|
-
}
|
|
1659
|
-
startKeyboardMove(i) {
|
|
1660
|
-
this.movingViaKeyboard = !0, this.positionBeforeKeyboardMove = Array.from(this.dragDropContainer.children).indexOf(i), i.classList.add("table-row--moving"), this.updateLiveRegionText("start", {
|
|
1661
|
-
position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
|
|
1662
|
-
rowCount: this.dragDropContainer.children.length
|
|
1663
|
-
});
|
|
1664
|
-
}
|
|
1665
|
-
endKeyboardMove(i) {
|
|
1666
|
-
this.movingViaKeyboard = !1, i.classList.remove("table-row--moving"), this.updateLiveRegionText("end", {
|
|
1667
|
-
position: Array.from(this.dragDropContainer.children).indexOf(i) + 1,
|
|
1668
|
-
rowCount: this.dragDropContainer.children.length
|
|
1669
|
-
}), this.dropRow.emit({
|
|
1670
|
-
item: i,
|
|
1671
|
-
newIndex: Array.from(this.dragDropContainer.children).indexOf(i),
|
|
1672
|
-
oldIndex: this.positionBeforeKeyboardMove,
|
|
1673
|
-
itemId: i.id,
|
|
1674
|
-
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,
|
|
1675
|
-
newPrevSiblingItemId: Array.from(this.dragDropContainer.children).indexOf(i) > 0 ? this.dragDropContainer.children[Array.from(this.dragDropContainer.children).indexOf(i) - 1].id : void 0
|
|
1676
|
-
}), this.positionBeforeKeyboardMove = void 0;
|
|
1677
|
-
}
|
|
1678
|
-
cancelKeyboardMove() {
|
|
1679
|
-
if (!this.movingViaKeyboard)
|
|
1680
|
-
return;
|
|
1681
|
-
const i = this.el.querySelector(".table-row--moving");
|
|
1682
|
-
!i || (i.classList.remove("table-row--moving"), this.movingViaKeyboard = !1, this.positionBeforeKeyboardMove !== void 0 && this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[this.positionBeforeKeyboardMove]));
|
|
1683
|
-
}
|
|
1684
|
-
moveRow(i, n) {
|
|
1685
|
-
if (!this.movingViaKeyboard)
|
|
1686
|
-
return;
|
|
1687
|
-
let t;
|
|
1688
|
-
if (n === "up") {
|
|
1689
|
-
const e = Array.from(this.dragDropContainer.children).indexOf(i);
|
|
1690
|
-
t = Math.max(0, e - 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t]);
|
|
1691
|
-
} else {
|
|
1692
|
-
const e = Array.from(this.dragDropContainer.children).indexOf(i);
|
|
1693
|
-
t = Math.min(this.dragDropContainer.children.length - 1, e + 1), this.dragDropContainer.insertBefore(i, this.dragDropContainer.children[t + 1]);
|
|
1694
|
-
}
|
|
1695
|
-
this.updateLiveRegionText("moved", {
|
|
1696
|
-
position: t + 1,
|
|
1697
|
-
rowCount: this.dragDropContainer.children.length
|
|
1698
|
-
}), this.focusDragHandleOfRow(i);
|
|
1699
|
-
}
|
|
1700
|
-
focusDragHandleOfRow(i) {
|
|
1701
|
-
var t, e;
|
|
1702
|
-
const n = (t = ct(i, this.dragDropHandle)) == null ? void 0 : t[0];
|
|
1703
|
-
n.tagName === "BUTTON" ? n.focus() : (e = n.querySelector("button")) == null || e.focus();
|
|
1704
|
-
}
|
|
1705
|
-
syncVirtualizedRows({ layOutCells: i }) {
|
|
1706
|
-
!this.virtualizer || (this.trackFocusedRow(this.el.querySelector("swirl-table-row[data-index]:focus-within")), this.virtualizer.sync(), i && this.updateLayout());
|
|
1707
|
-
}
|
|
1708
|
-
trackFocusedRow(i) {
|
|
1709
|
-
var e;
|
|
1710
|
-
if (!this.enableVirtualization)
|
|
1711
|
-
return;
|
|
1712
|
-
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);
|
|
1713
|
-
t !== this.focusedRowIndex && (this.focusedRowIndex = t, this.updateVirtualizer());
|
|
1714
|
-
}
|
|
1715
|
-
render() {
|
|
1716
|
-
const i = Boolean(this.el.querySelector('[slot="empty"]')), n = lt("table", {
|
|
1717
|
-
"table--show-empty-state": this.empty && !this.loading,
|
|
1718
|
-
"table--keyboard-move": this.movingViaKeyboard
|
|
1719
|
-
});
|
|
1720
|
-
return O(ot, { key: "24e14d3eb739219aa9965fe16ccff5e9dae28180" }, O("div", { key: "25deaf84f1bb1131977e6e07f45ac2301585354d", class: n }, this.enableDragDrop && O("swirl-visually-hidden", { key: "277292ebfaa8c1ada6c5c982b214efbda5f2f8a9" }, O("span", { key: "e07ea9745ee40064160001ed0d702971cce78efa", "aria-live": "assertive" }, this.liveRegionText)), O("div", { key: "f6919c9d48793c1abba7901b4365817ae7dfc5dc", 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: "b7d1bb696755df6fd20983eebf6b800685a59983", "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: "013e2aff85772e44a3cdbb67dc4479d8eb581ffc" }, O("div", { key: "9f1b0dda1fe39b823e6df87dae2285e71a738265", id: "caption" }, this.caption)), O("div", { key: "9cd533c163bd42c8ebb4f641a91860170a2ca3e3", role: "rowgroup" }, O("div", { key: "0516399b0ed45a6f8e817fa9f342a188738fca0d", class: "table__header", "aria-rowindex": this.enableVirtualization ? 1 : void 0, ref: (t) => this.headerEl = t, role: "row" }, O("slot", { key: "9924e00f3ac41423e4cf183ad3f0c993f9235d83", name: "columns" }))), O("div", { key: "0be013c95ef6910e4a27b388282403843cd520ea", class: "table__body", ref: (t) => this.bodyEl = t }, O("slot", { key: "f5660dcec786b0091ec3cbe38407948173146147", name: "rows" }), O("div", { key: "db077c06ab60df00e149468bb54f52ebeb40cd66", class: "table__empty-row", role: "row" }, O("div", { key: "d7b514fe706e96437496ee4f7f5b2b0052943629", "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, O("slot", { key: "8b1c1f506c3a5479def5c178856900103a05e1d6", name: "empty" }), !i && O("swirl-text", { key: "f94bccc0907f8052c63cebdfb7b99c8708d1ab76", align: "center", size: "sm" }, this.emptyStateLabel))))))));
|
|
1721
|
-
}
|
|
1722
|
-
get el() {
|
|
1723
|
-
return rt(this);
|
|
1724
|
-
}
|
|
1725
|
-
static get watchers() {
|
|
1726
|
-
return {
|
|
1727
|
-
enableVirtualization: [{
|
|
1728
|
-
handleVirtualizationChange: 0
|
|
1729
|
-
}],
|
|
1730
|
-
virtualizationRowCount: [{
|
|
1731
|
-
handleVirtualizationChange: 0
|
|
1732
|
-
}],
|
|
1733
|
-
virtualizationEstimatedRowHeight: [{
|
|
1734
|
-
handleVirtualizationChange: 0
|
|
1735
|
-
}],
|
|
1736
|
-
virtualizationOverscan: [{
|
|
1737
|
-
handleVirtualizationChange: 0
|
|
1738
|
-
}],
|
|
1739
|
-
virtualizationKeepRowsRendered: [{
|
|
1740
|
-
handleVirtualizationChange: 0
|
|
1741
|
-
}],
|
|
1742
|
-
enableDragDrop: [{
|
|
1743
|
-
handleEnableDragDropChange: 0
|
|
1744
|
-
}]
|
|
1745
|
-
};
|
|
1746
|
-
}
|
|
1747
|
-
};
|
|
1748
|
-
Ht.style = qt();
|
|
1749
|
-
export {
|
|
1750
|
-
Ht as swirl_table
|
|
1751
|
-
};
|