@getflip/swirl-components-react 0.294.0 → 0.296.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/{file-manager.entry.e96983ef.js → file-manager.entry.1e2d6eba.js} +3 -3
- package/dist/index.eec3fb37.js +3466 -0
- package/dist/sortable.esm-0bfddf0c.953ca6a6.js +1240 -0
- package/dist/{swirl-accordion-item.entry.eda70e6e.js → swirl-accordion-item.entry.dabea9e7.js} +2 -2
- package/dist/{swirl-accordion.entry.768cf3ea.js → swirl-accordion.entry.d3b1cf05.js} +5 -5
- package/dist/swirl-action-list-section.entry.cdd8fdbb.js +15 -0
- package/dist/{swirl-action-list_2.entry.88cfb855.js → swirl-action-list_2.entry.b9f9f075.js} +2 -2
- package/dist/{swirl-app-bar.entry.77a6363f.js → swirl-app-bar.entry.07bda75f.js} +1 -1
- package/dist/{swirl-app-icon.entry.0a055290.js → swirl-app-icon.entry.34503f6a.js} +4 -4
- package/dist/{swirl-app-layout_5.entry.cefd7278.js → swirl-app-layout_5.entry.2d9354a6.js} +9 -9
- package/dist/{swirl-autocomplete.entry.07bad0c9.js → swirl-autocomplete.entry.d267d517.js} +1 -1
- package/dist/{swirl-avatar-group.entry.bc20af82.js → swirl-avatar-group.entry.fffaf169.js} +2 -2
- package/dist/{swirl-avatar.entry.76298bfa.js → swirl-avatar.entry.fe0b1445.js} +1 -1
- package/dist/{swirl-badge.entry.78dee407.js → swirl-badge.entry.09af4fc9.js} +1 -1
- package/dist/{swirl-banner.entry.cacb861a.js → swirl-banner.entry.a5e096e0.js} +1 -1
- package/dist/{swirl-box.entry.10481ebf.js → swirl-box.entry.e995b8bd.js} +1 -1
- package/dist/{swirl-button-group.entry.0136aeb7.js → swirl-button-group.entry.687abfbd.js} +1 -1
- package/dist/{swirl-button.entry.13cd2ca0.js → swirl-button.entry.d0378ffa.js} +1 -1
- package/dist/{swirl-card.entry.5b2a5b8f.js → swirl-card.entry.b61950ff.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.607b7e51.js → swirl-carousel-slide.entry.7fa64620.js} +2 -2
- package/dist/{swirl-carousel.entry.677f9de3.js → swirl-carousel.entry.fd098a88.js} +1 -1
- package/dist/{swirl-checkbox.entry.7d693a96.js → swirl-checkbox.entry.b99e1aa4.js} +1 -1
- package/dist/{swirl-chip.entry.feab3092.js → swirl-chip.entry.2fe339f6.js} +1 -1
- package/dist/{swirl-color-input.entry.79b343c3.js → swirl-color-input.entry.d069ad73.js} +3 -3
- package/dist/{swirl-columns.entry.42e657c1.js → swirl-columns.entry.41871dd1.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +66 -57
- package/dist/{swirl-console-layout.entry.f0ec7a44.js → swirl-console-layout.entry.2da2a3d9.js} +4 -4
- package/dist/{swirl-date-input.entry.5884aae7.js → swirl-date-input.entry.b6aaeb6f.js} +2 -2
- package/dist/{swirl-date-picker_2.entry.409dd7f3.js → swirl-date-picker_2.entry.66563279.js} +3 -3
- package/dist/{swirl-description-list-item.entry.c0db6641.js → swirl-description-list-item.entry.3f7988a0.js} +5 -5
- package/dist/swirl-description-list.entry.758b373b.js +15 -0
- package/dist/{swirl-dialog.entry.3a0d63d7.js → swirl-dialog.entry.adedc56f.js} +1 -1
- package/dist/swirl-emoji-clap.entry.ab866fe7.js +17 -0
- package/dist/swirl-emoji-happy.entry.bdfe979b.js +17 -0
- package/dist/{swirl-emoji-idea.entry.2ec943df.js → swirl-emoji-idea.entry.2ef3557c.js} +2 -2
- package/dist/swirl-emoji-love.entry.2f57ca1c.js +17 -0
- package/dist/swirl-emoji-sad.entry.87745ec8.js +17 -0
- package/dist/{swirl-emoji-thumbs-up.entry.5ba4e7d3.js → swirl-emoji-thumbs-up.entry.01f73309.js} +2 -2
- package/dist/swirl-emoji.entry.e39fc865.js +16 -0
- package/dist/{swirl-file-uploader.entry.82726e69.js → swirl-file-uploader.entry.3474d705.js} +3 -3
- package/dist/{swirl-file-viewer_8.entry.6169b07a.js → swirl-file-viewer_8.entry.719f8820.js} +8 -8
- package/dist/{swirl-form-control.entry.424173d8.js → swirl-form-control.entry.80e56cb6.js} +1 -1
- package/dist/{swirl-form-group.entry.0bd431db.js → swirl-form-group.entry.dac3f7cc.js} +1 -1
- package/dist/{swirl-heading.entry.2120cd10.js → swirl-heading.entry.dcd51511.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.c0e12c04.js → swirl-icon-add-moderator.entry.74bc9582.js} +2 -2
- package/dist/{swirl-icon-add-photo.entry.8c7abecb.js → swirl-icon-add-photo.entry.9e74acb5.js} +5 -5
- package/dist/{swirl-icon-add-reaction.entry.ca5376b3.js → swirl-icon-add-reaction.entry.c62af82b.js} +8 -8
- package/dist/{swirl-icon-add_6.entry.2cab33d8.js → swirl-icon-add_6.entry.90cfb548.js} +12 -12
- package/dist/{swirl-icon-admin-panel-settings.entry.19f1ab22.js → swirl-icon-admin-panel-settings.entry.b8ffe89a.js} +2 -2
- package/dist/{swirl-icon-ai-filled.entry.2fa55a9e.js → swirl-icon-ai-filled.entry.0ca9c08f.js} +6 -6
- package/dist/{swirl-icon-ai.entry.bbf6d7d6.js → swirl-icon-ai.entry.fc21515a.js} +10 -10
- package/dist/{swirl-icon-apps.entry.8857f4f5.js → swirl-icon-apps.entry.ade7d7b8.js} +10 -10
- package/dist/{swirl-icon-arrow-back_5.entry.676138af.js → swirl-icon-arrow-back_5.entry.4c39cfbc.js} +19 -19
- package/dist/{swirl-icon-arrow-downward_2.entry.ef68c15e.js → swirl-icon-arrow-downward_2.entry.704416c1.js} +10 -10
- package/dist/{swirl-icon-arrow-left_4.entry.cace77e5.js → swirl-icon-arrow-left_4.entry.1c04a9cb.js} +9 -9
- package/dist/{swirl-icon-arrow-right-small.entry.28ecf44a.js → swirl-icon-arrow-right-small.entry.b7714c24.js} +7 -7
- package/dist/{swirl-icon-aspect-ratio.entry.bed13827.js → swirl-icon-aspect-ratio.entry.ff30503c.js} +5 -5
- package/dist/{swirl-icon-attachment.entry.2d958094.js → swirl-icon-attachment.entry.619ff776.js} +6 -6
- package/dist/{swirl-icon-bar-chart.entry.c56f678f.js → swirl-icon-bar-chart.entry.d44339e2.js} +7 -7
- package/dist/{swirl-icon-block.entry.8c6bf854.js → swirl-icon-block.entry.d3aa3623.js} +5 -5
- package/dist/{swirl-icon-bookmark-filled.entry.69c6d8d5.js → swirl-icon-bookmark-filled.entry.c95389d6.js} +6 -6
- package/dist/{swirl-icon-bookmark.entry.d7f48ae1.js → swirl-icon-bookmark.entry.eb7f46c8.js} +8 -8
- package/dist/{swirl-icon-cancel_4.entry.8c943e35.js → swirl-icon-cancel_4.entry.d5275545.js} +26 -26
- package/dist/{swirl-icon-chat-bubble.entry.325beaef.js → swirl-icon-chat-bubble.entry.d9974ca2.js} +5 -5
- package/dist/{swirl-icon-chats-filled.entry.19881d2f.js → swirl-icon-chats-filled.entry.a4b3ae89.js} +6 -6
- package/dist/{swirl-icon-chats.entry.3a354895.js → swirl-icon-chats.entry.29207a29.js} +8 -8
- package/dist/{swirl-icon-check-circle_2.entry.60e3cbb5.js → swirl-icon-check-circle_2.entry.0d85a918.js} +10 -10
- package/dist/{swirl-icon-check-small_3.entry.fc003bf9.js → swirl-icon-check-small_2.entry.f2ea22d2.js} +11 -24
- package/dist/swirl-icon-check-strong_2.entry.eefc4f05.js +32 -0
- package/dist/{swirl-icon-check.entry.52acb28c.js → swirl-icon-check.entry.38c30362.js} +2 -2
- package/dist/{swirl-icon-chevron-left.entry.00a4bb60.js → swirl-icon-chevron-left.entry.2faf2219.js} +6 -6
- package/dist/{swirl-icon-chevron-right.entry.70328028.js → swirl-icon-chevron-right.entry.8c365f7e.js} +5 -5
- package/dist/{swirl-icon-close-small.entry.44a01954.js → swirl-icon-close-small.entry.a422e709.js} +7 -7
- package/dist/{swirl-icon-close.entry.8cedb79f.js → swirl-icon-close.entry.7413a90b.js} +2 -2
- package/dist/{swirl-icon-cloud-upload.entry.2a942f65.js → swirl-icon-cloud-upload.entry.159ade9d.js} +5 -5
- package/dist/{swirl-icon-column.entry.97395b07.js → swirl-icon-column.entry.24b89eff.js} +6 -6
- package/dist/{swirl-icon-comment.entry.1dd1b049.js → swirl-icon-comment.entry.f57902a2.js} +6 -6
- package/dist/{swirl-icon-contrast.entry.46591012.js → swirl-icon-contrast.entry.6ac6e427.js} +5 -5
- package/dist/{swirl-icon-copy.entry.68459a6d.js → swirl-icon-copy.entry.c8ec95ce.js} +7 -7
- package/dist/{swirl-icon-crop.entry.3fc89dc6.js → swirl-icon-crop.entry.1994749d.js} +8 -8
- package/dist/{swirl-icon-dark-mode.entry.44a71334.js → swirl-icon-dark-mode.entry.486a6a51.js} +5 -5
- package/dist/{swirl-icon-date-range.entry.f221669b.js → swirl-icon-date-range.entry.73691043.js} +2 -2
- package/dist/{swirl-icon-delete.entry.1b2d3379.js → swirl-icon-delete.entry.907f0da3.js} +2 -2
- package/dist/{swirl-icon-deployed-code.entry.44e5a0c9.js → swirl-icon-deployed-code.entry.52ddebbc.js} +7 -7
- package/dist/{swirl-icon-description.entry.79442121.js → swirl-icon-description.entry.b4cf9e03.js} +5 -5
- package/dist/{swirl-icon-desktop.entry.05c7e89e.js → swirl-icon-desktop.entry.29288ceb.js} +7 -7
- package/dist/{swirl-icon-directory-filled.entry.4932f08f.js → swirl-icon-directory-filled.entry.acebf8e3.js} +8 -8
- package/dist/{swirl-icon-directory.entry.81ae2ce2.js → swirl-icon-directory.entry.74df9df7.js} +6 -6
- package/dist/{swirl-icon-discover.entry.3afb23ea.js → swirl-icon-discover.entry.33f95e16.js} +4 -4
- package/dist/{swirl-icon-dock-left.entry.62a2f814.js → swirl-icon-dock-left.entry.c9099da7.js} +6 -6
- package/dist/{swirl-icon-door-open.entry.abeff83b.js → swirl-icon-door-open.entry.5933fb09.js} +2 -2
- package/dist/{swirl-icon-dot.entry.d66b6197.js → swirl-icon-dot.entry.aa3f5960.js} +5 -5
- package/dist/{swirl-icon-double-arrow-right.entry.f1ed4d76.js → swirl-icon-double-arrow-right.entry.a9539629.js} +8 -8
- package/dist/{swirl-icon-download.entry.73f924e6.js → swirl-icon-download.entry.75ea9f1c.js} +2 -2
- package/dist/{swirl-icon-edit.entry.277eb653.js → swirl-icon-edit.entry.e14da711.js} +6 -6
- package/dist/{swirl-icon-emoji-mood.entry.28a120da.js → swirl-icon-emoji-mood.entry.a719f47a.js} +5 -5
- package/dist/{swirl-icon-emoji-satisfied.entry.fd99975e.js → swirl-icon-emoji-satisfied.entry.88f86b99.js} +8 -8
- package/dist/{swirl-icon-error_3.entry.7503a51a.js → swirl-icon-error_3.entry.0452418b.js} +14 -14
- package/dist/{swirl-icon-expand-more.entry.87fb8734.js → swirl-icon-expand-more.entry.8011e315.js} +4 -4
- package/dist/{swirl-icon-experiment.entry.32fe76a0.js → swirl-icon-experiment.entry.1bcde4cb.js} +6 -6
- package/dist/{swirl-icon-file.entry.3b9366df.js → swirl-icon-file.entry.3433f605.js} +4 -4
- package/dist/{swirl-icon-filter.entry.4bd24719.js → swirl-icon-filter.entry.6b59c1c3.js} +2 -2
- package/dist/{swirl-icon-folder.entry.bba48f07.js → swirl-icon-folder.entry.fa2c169c.js} +5 -5
- package/dist/{swirl-icon-format-h-one.entry.5a43e334.js → swirl-icon-format-h-one.entry.907daa49.js} +6 -6
- package/dist/{swirl-icon-gif_3.entry.eeddce66.js → swirl-icon-gif_3.entry.7a4a4cd4.js} +9 -9
- package/dist/{swirl-icon-group-add.entry.bf238638.js → swirl-icon-group-add.entry.22ab472d.js} +7 -7
- package/dist/{swirl-icon-group-assign.entry.3911f021.js → swirl-icon-group-assign.entry.60e1a6ae.js} +8 -8
- package/dist/{swirl-icon-groups-filled.entry.929074c7.js → swirl-icon-groups-filled.entry.6d6300af.js} +8 -8
- package/dist/{swirl-icon-groups.entry.d8447227.js → swirl-icon-groups.entry.d3760e76.js} +6 -6
- package/dist/{swirl-icon-hamburger-menu.entry.ba3890d7.js → swirl-icon-hamburger-menu.entry.8a3038f6.js} +5 -5
- package/dist/{swirl-icon-help.entry.410a3079.js → swirl-icon-help.entry.96133161.js} +8 -8
- package/dist/{swirl-icon-highlight.entry.607cb139.js → swirl-icon-highlight.entry.028e7bd6.js} +7 -7
- package/dist/{swirl-icon-history.entry.81b43d84.js → swirl-icon-history.entry.f5e1dbf7.js} +9 -9
- package/dist/{swirl-icon-home.entry.173b3eb4.js → swirl-icon-home.entry.819d5a05.js} +2 -2
- package/dist/{swirl-icon-image.entry.0f679735.js → swirl-icon-image.entry.2367808c.js} +7 -7
- package/dist/{swirl-icon-improve-text.entry.6a86bdf9.js → swirl-icon-improve-text.entry.2e962028.js} +9 -9
- package/dist/{swirl-icon-info.entry.d23931ab.js → swirl-icon-info.entry.0af4f5c9.js} +7 -7
- package/dist/{swirl-icon-insert-below.entry.713fba1d.js → swirl-icon-insert-below.entry.2c36666d.js} +5 -5
- package/dist/{swirl-icon-insert-on-top.entry.b9339926.js → swirl-icon-insert-on-top.entry.27bdff52.js} +7 -7
- package/dist/{swirl-icon-inventory-off.entry.9d527b31.js → swirl-icon-inventory-off.entry.fd2c85dc.js} +9 -9
- package/dist/{swirl-icon-inventory.entry.c5ca83a0.js → swirl-icon-inventory.entry.77648916.js} +5 -5
- package/dist/{swirl-icon-key.entry.302b85da.js → swirl-icon-key.entry.1267c5a4.js} +5 -5
- package/dist/{swirl-icon-keyboard-hide.entry.421068e6.js → swirl-icon-keyboard-hide.entry.7b11dff7.js} +8 -8
- package/dist/{swirl-icon-keyboard.entry.4f98fbb5.js → swirl-icon-keyboard.entry.af2bac7b.js} +7 -7
- package/dist/{swirl-icon-light-mode.entry.c083f57d.js → swirl-icon-light-mode.entry.8737d9e4.js} +7 -7
- package/dist/{swirl-icon-like.entry.61fae3ca.js → swirl-icon-like.entry.7c36fd5b.js} +7 -7
- package/dist/{swirl-icon-link.entry.113b6bde.js → swirl-icon-link.entry.b6912cb5.js} +8 -8
- package/dist/{swirl-icon-live.entry.653aa0bd.js → swirl-icon-live.entry.d5a59c4f.js} +5 -5
- package/dist/{swirl-icon-load.entry.38b63077.js → swirl-icon-load.entry.56a6f000.js} +7 -7
- package/dist/{swirl-icon-lock-open.entry.8001f17e.js → swirl-icon-lock-open.entry.0ced4ea4.js} +6 -6
- package/dist/{swirl-icon-lock-person.entry.f549b315.js → swirl-icon-lock-person.entry.7c3846e6.js} +6 -6
- package/dist/{swirl-icon-lock.entry.34c360bc.js → swirl-icon-lock.entry.3924bf31.js} +8 -8
- package/dist/{swirl-icon-login.entry.98ca24d8.js → swirl-icon-login.entry.a19f5030.js} +4 -4
- package/dist/{swirl-icon-logout.entry.69b94854.js → swirl-icon-logout.entry.288b90cc.js} +7 -7
- package/dist/{swirl-icon-long-text.entry.9b0241c9.js → swirl-icon-long-text.entry.daa254a8.js} +8 -8
- package/dist/{swirl-icon-mail.entry.4d8d3e2e.js → swirl-icon-mail.entry.1cfaf62b.js} +7 -7
- package/dist/{swirl-icon-manage-accounts.entry.0edbf85a.js → swirl-icon-manage-accounts.entry.978b443f.js} +5 -5
- package/dist/{swirl-icon-mark-chat-read.entry.959f2930.js → swirl-icon-mark-chat-read.entry.74ae8986.js} +2 -2
- package/dist/{swirl-icon-mark-chat-unread.entry.86390f5a.js → swirl-icon-mark-chat-unread.entry.e9968b5b.js} +2 -2
- package/dist/{swirl-icon-mention.entry.bf4bc440.js → swirl-icon-mention.entry.4c496481.js} +5 -5
- package/dist/{swirl-icon-menu-book-filled.entry.6b13c61e.js → swirl-icon-menu-book-filled.entry.29948583.js} +5 -5
- package/dist/{swirl-icon-menu-filled.entry.5e59d634.js → swirl-icon-menu-filled.entry.ddd342ca.js} +7 -7
- package/dist/{swirl-icon-menu.entry.f69f6ec3.js → swirl-icon-menu.entry.9cbf2f28.js} +9 -9
- package/dist/{swirl-icon-message.entry.b9a2f471.js → swirl-icon-message.entry.5ffebf72.js} +4 -4
- package/dist/{swirl-icon-mic-off.entry.91d4c2db.js → swirl-icon-mic-off.entry.9d60d830.js} +9 -9
- package/dist/{swirl-icon-mic.entry.603c36f2.js → swirl-icon-mic.entry.24b5c6bc.js} +4 -4
- package/dist/{swirl-icon-more-horizontal.entry.aab914cc.js → swirl-icon-more-horizontal.entry.80796d65.js} +2 -2
- package/dist/{swirl-icon-news-filled.entry.40334739.js → swirl-icon-news-filled.entry.1493ffaa.js} +7 -7
- package/dist/{swirl-icon-news-off.entry.db391485.js → swirl-icon-news-off.entry.798f43a4.js} +8 -8
- package/dist/{swirl-icon-news.entry.d9b75fde.js → swirl-icon-news.entry.bfdfc05e.js} +10 -10
- package/dist/{swirl-icon-notifications-active.entry.6466c610.js → swirl-icon-notifications-active.entry.ff3728e3.js} +5 -5
- package/dist/{swirl-icon-notifications-off.entry.3fc1b8c5.js → swirl-icon-notifications-off.entry.4728ab3a.js} +10 -10
- package/dist/{swirl-icon-notifications.entry.7fd29de5.js → swirl-icon-notifications.entry.f2d51cc3.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.600ad555.js → swirl-icon-open-in-full.entry.16a01132.js} +8 -8
- package/dist/{swirl-icon-open-in-new.entry.2d74e0f3.js → swirl-icon-open-in-new.entry.5aaa628e.js} +7 -7
- package/dist/{swirl-icon-pause-circle.entry.a453a4ed.js → swirl-icon-pause-circle.entry.1fa518fc.js} +7 -7
- package/dist/{swirl-icon-people-alt.entry.9ab7bcca.js → swirl-icon-people-alt.entry.bf7a532b.js} +8 -8
- package/dist/{swirl-icon-person-off.entry.47154a2e.js → swirl-icon-person-off.entry.22a7da34.js} +8 -8
- package/dist/{swirl-icon-person.entry.73783f7b.js → swirl-icon-person.entry.181ffa3b.js} +5 -5
- package/dist/{swirl-icon-phone.entry.2efb6a20.js → swirl-icon-phone.entry.9ad9a0f5.js} +5 -5
- package/dist/{swirl-icon-photo-camera.entry.3113bc0f.js → swirl-icon-photo-camera.entry.1f7d5be4.js} +8 -8
- package/dist/{swirl-icon-pin-off.entry.829e0885.js → swirl-icon-pin-off.entry.456dcaf0.js} +4 -4
- package/dist/{swirl-icon-pin.entry.754dc09f.js → swirl-icon-pin.entry.5c131695.js} +8 -8
- package/dist/{swirl-icon-place.entry.798e369e.js → swirl-icon-place.entry.3e2070fb.js} +7 -7
- package/dist/{swirl-icon-poll.entry.99bc3b05.js → swirl-icon-poll.entry.f3636c93.js} +6 -6
- package/dist/{swirl-icon-post-approval.entry.c50020e2.js → swirl-icon-post-approval.entry.e790cc13.js} +10 -10
- package/dist/{swirl-icon-present.entry.1c364b30.js → swirl-icon-present.entry.f2c4d5b2.js} +8 -8
- package/dist/{swirl-icon-print.entry.b5bae9ef.js → swirl-icon-print.entry.9f06ac2d.js} +7 -7
- package/dist/{swirl-icon-public-off.entry.c12dae19.js → swirl-icon-public-off.entry.51008b68.js} +7 -7
- package/dist/{swirl-icon-public.entry.ea441dec.js → swirl-icon-public.entry.58d170e2.js} +8 -8
- package/dist/{swirl-icon-ratio-four-to-three.entry.a596b927.js → swirl-icon-ratio-four-to-three.entry.4fcbba9b.js} +5 -5
- package/dist/{swirl-icon-ratio-freeform.entry.57c42c53.js → swirl-icon-ratio-freeform.entry.a2c62df0.js} +7 -7
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.46120aa3.js → swirl-icon-ratio-sixteen-to-nine.entry.f4be9657.js} +8 -8
- package/dist/{swirl-icon-ratio-square.entry.bbed0b02.js → swirl-icon-ratio-square.entry.226162d3.js} +8 -8
- package/dist/{swirl-icon-ratio-three-to-four.entry.7f66a5f4.js → swirl-icon-ratio-three-to-four.entry.90a1d25a.js} +5 -5
- package/dist/{swirl-icon-ratio-three-to-two.entry.21f58d4b.js → swirl-icon-ratio-three-to-two.entry.e08c8601.js} +5 -5
- package/dist/{swirl-icon-recieved.entry.eebcaecd.js → swirl-icon-recieved.entry.68f0d808.js} +6 -6
- package/dist/{swirl-icon-remove-circle.entry.60aba3e8.js → swirl-icon-remove-circle.entry.ced3895e.js} +2 -2
- package/dist/{swirl-icon-remove-moderator.entry.0a7bf6db.js → swirl-icon-remove-moderator.entry.b2912ec5.js} +5 -5
- package/dist/{swirl-icon-reply.entry.180d793d.js → swirl-icon-reply.entry.9415d6e2.js} +9 -9
- package/dist/{swirl-icon-report.entry.19d10f2f.js → swirl-icon-report.entry.56ef4935.js} +7 -7
- package/dist/{swirl-icon-roadmap.entry.cc1268a5.js → swirl-icon-roadmap.entry.243eb920.js} +8 -8
- package/dist/{swirl-icon-rotate-left.entry.f2365978.js → swirl-icon-rotate-left.entry.2cb93478.js} +5 -5
- package/dist/{swirl-icon-rotate-right.entry.98343dca.js → swirl-icon-rotate-right.entry.592c2226.js} +7 -7
- package/dist/{swirl-icon-screenshare-off.entry.e6896e07.js → swirl-icon-screenshare-off.entry.437a6ef0.js} +9 -9
- package/dist/{swirl-icon-screenshare.entry.5e8eda15.js → swirl-icon-screenshare.entry.d0911e63.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.a0c1279c.js → swirl-icon-search-strong.entry.e3a6182c.js} +7 -7
- package/dist/{swirl-icon-search.entry.8f2d531e.js → swirl-icon-search.entry.99ea6cc7.js} +9 -9
- package/dist/{swirl-icon-secure.entry.36c3fc60.js → swirl-icon-secure.entry.41e06d1e.js} +7 -7
- package/dist/{swirl-icon-send.entry.5952cd98.js → swirl-icon-send.entry.3b8f1704.js} +8 -8
- package/dist/{swirl-icon-settings.entry.0e645f2b.js → swirl-icon-settings.entry.bc51c793.js} +2 -2
- package/dist/{swirl-icon-short-text.entry.1102f141.js → swirl-icon-short-text.entry.d4c5cdf6.js} +8 -8
- package/dist/{swirl-icon-simplify.entry.47c6ef9c.js → swirl-icon-simplify.entry.095eee00.js} +7 -7
- package/dist/{swirl-icon-spellcheck.entry.87130c45.js → swirl-icon-spellcheck.entry.19758979.js} +2 -2
- package/dist/{swirl-icon-stars.entry.343b7595.js → swirl-icon-stars.entry.0f5990a9.js} +7 -7
- package/dist/{swirl-icon-stop-circle.entry.2298371e.js → swirl-icon-stop-circle.entry.286bfdd3.js} +6 -6
- package/dist/{swirl-icon-stop.entry.ca9611e5.js → swirl-icon-stop.entry.583e4395.js} +5 -5
- package/dist/{swirl-icon-sync.entry.f2b68a8d.js → swirl-icon-sync.entry.f69d3bdb.js} +6 -6
- package/dist/{swirl-icon-tasks-filled.entry.b0057b5d.js → swirl-icon-tasks-filled.entry.d2c7d7dd.js} +6 -6
- package/dist/{swirl-icon-tasks.entry.801332c6.js → swirl-icon-tasks.entry.04aa5c3a.js} +7 -7
- package/dist/{swirl-icon-terminal.entry.6127b5af.js → swirl-icon-terminal.entry.13574f28.js} +4 -4
- package/dist/{swirl-icon-time-filled.entry.b3d99895.js → swirl-icon-time-filled.entry.29391a47.js} +5 -5
- package/dist/{swirl-icon-time.entry.90b4dd37.js → swirl-icon-time.entry.8ecf5c15.js} +5 -5
- package/dist/{swirl-icon-today-filled.entry.ab20a7d0.js → swirl-icon-today-filled.entry.b9b6c6c3.js} +8 -8
- package/dist/{swirl-icon-translate.entry.a34af0c6.js → swirl-icon-translate.entry.78e9e9cf.js} +6 -6
- package/dist/{swirl-icon-tree-structure.entry.10e0c97e.js → swirl-icon-tree-structure.entry.56c074d3.js} +10 -10
- package/dist/{swirl-icon-undo.entry.1963203f.js → swirl-icon-undo.entry.da26a5ae.js} +7 -7
- package/dist/{swirl-icon-unlock-person.entry.28ce87d7.js → swirl-icon-unlock-person.entry.d80c7a1d.js} +8 -8
- package/dist/{swirl-icon-user-add.entry.ea7f6a7b.js → swirl-icon-user-add.entry.582c5f07.js} +2 -2
- package/dist/{swirl-icon-user-assign.entry.22c7a211.js → swirl-icon-user-assign.entry.18a85923.js} +9 -9
- package/dist/{swirl-icon-video-camera-off.entry.11ba292b.js → swirl-icon-video-camera-off.entry.906a7768.js} +8 -8
- package/dist/{swirl-icon-video-camera.entry.db6337d3.js → swirl-icon-video-camera.entry.092f8f0a.js} +4 -4
- package/dist/{swirl-icon-video-library.entry.9ca10f81.js → swirl-icon-video-library.entry.6770a0c2.js} +7 -7
- package/dist/{swirl-icon-video-player.entry.c314a97e.js → swirl-icon-video-player.entry.f21f2357.js} +9 -9
- package/dist/{swirl-icon-voice.entry.ff63657f.js → swirl-icon-voice.entry.8bd4edbb.js} +7 -7
- package/dist/{swirl-icon-web-asset-off.entry.52ade5af.js → swirl-icon-web-asset-off.entry.05c496f8.js} +8 -8
- package/dist/{swirl-icon-web-asset.entry.90276785.js → swirl-icon-web-asset.entry.5baafe49.js} +5 -5
- package/dist/{swirl-icon-work.entry.a0dc13a3.js → swirl-icon-work.entry.6b6d4034.js} +6 -6
- package/dist/{swirl-icon.entry.5aded673.js → swirl-icon.entry.2358bc85.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.749604c0.js → swirl-image-grid-item.entry.57942d07.js} +1 -1
- package/dist/{swirl-image-grid.entry.d512dd76.js → swirl-image-grid.entry.80bbba62.js} +7 -7
- package/dist/{swirl-inline-notification.entry.137bb1a4.js → swirl-inline-notification.entry.a7d9c9dc.js} +7 -7
- package/dist/{swirl-inline-status.entry.26aca6e9.js → swirl-inline-status.entry.e2a537ea.js} +7 -7
- package/dist/{swirl-lightbox.entry.96f183a3.js → swirl-lightbox.entry.9459ed89.js} +5 -5
- package/dist/{swirl-link.entry.c2aae266.js → swirl-link.entry.10cbe19a.js} +2 -2
- package/dist/{swirl-list.entry.ac8a03db.js → swirl-list.entry.622f64c8.js} +2 -2
- package/dist/{swirl-menu-item.entry.7515c589.js → swirl-menu-item.entry.8a773a94.js} +2 -2
- package/dist/{swirl-menu.entry.4a799642.js → swirl-menu.entry.3d8d481c.js} +3 -3
- package/dist/{swirl-modal.entry.36924d83.js → swirl-modal.entry.d7c004ee.js} +18 -18
- package/dist/{swirl-option-list-section.entry.11d4db80.js → swirl-option-list-section.entry.0a12aa65.js} +5 -5
- package/dist/{swirl-option-list_2.entry.a0b9fc5c.js → swirl-option-list_2.entry.ba591cfe.js} +4 -4
- package/dist/{swirl-pagination.entry.38a9d580.js → swirl-pagination.entry.2da081a8.js} +2 -2
- package/dist/{swirl-pdf-reader.entry.2d448544.js → swirl-pdf-reader.entry.f0a0a51a.js} +7 -7
- package/dist/{swirl-popover_2.entry.95f6a138.js → swirl-popover_2.entry.873d6883.js} +7 -7
- package/dist/{swirl-progress-indicator.entry.85fa0ff2.js → swirl-progress-indicator.entry.b5b078e6.js} +5 -5
- package/dist/{swirl-radio-group.entry.a9e9ec3a.js → swirl-radio-group.entry.74d02217.js} +4 -4
- package/dist/{swirl-radio.entry.a74a2753.js → swirl-radio.entry.f0cd57ea.js} +3 -3
- package/dist/{swirl-resource-list-file-item.entry.06a23fe7.js → swirl-resource-list-file-item.entry.76e920c8.js} +2 -2
- package/dist/{swirl-resource-list-section.entry.76828899.js → swirl-resource-list-section.entry.ab80c261.js} +6 -6
- package/dist/{swirl-search.entry.82d42513.js → swirl-search.entry.3fe27b1c.js} +2 -2
- package/dist/{swirl-select.entry.85cd9064.js → swirl-select.entry.84b1b801.js} +7 -7
- package/dist/{swirl-separator.entry.8b87e4bc.js → swirl-separator.entry.c6727c14.js} +1 -1
- package/dist/{swirl-shell-layout.entry.e175325d.js → swirl-shell-layout.entry.9588e301.js} +7 -7
- package/dist/{swirl-shell-navigation-item.entry.d0e270a6.js → swirl-shell-navigation-item.entry.1ca68202.js} +5 -5
- package/dist/{swirl-skeleton-box.entry.39e77821.js → swirl-skeleton-box.entry.0e76262e.js} +3 -3
- package/dist/{swirl-skeleton-text.entry.593c7a13.js → swirl-skeleton-text.entry.6b43eab2.js} +2 -2
- package/dist/{swirl-stack.entry.ed971290.js → swirl-stack.entry.c58244bc.js} +1 -1
- package/dist/{swirl-status-indicator.entry.1a9ba416.js → swirl-status-indicator.entry.639cb12c.js} +5 -5
- package/dist/{swirl-switch.entry.13607915.js → swirl-switch.entry.48c17b85.js} +2 -2
- package/dist/{swirl-symbol-account-circle.entry.977655ba.js → swirl-symbol-account-circle.entry.8f36847c.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.377ffeba.js → swirl-symbol-alternate-email.entry.634664d8.js} +2 -2
- package/dist/{swirl-symbol-android.entry.d7f23985.js → swirl-symbol-android.entry.5b48a47c.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.4a0147d8.js → swirl-symbol-announcement.entry.f4f9dea7.js} +5 -5
- package/dist/{swirl-symbol-backup.entry.f2c38cf7.js → swirl-symbol-backup.entry.c954e7ea.js} +2 -2
- package/dist/{swirl-symbol-beach-access.entry.e1dc9d6d.js → swirl-symbol-beach-access.entry.abefdde1.js} +2 -2
- package/dist/{swirl-symbol-bookmark.entry.a452038d.js → swirl-symbol-bookmark.entry.2146ea22.js} +2 -2
- package/dist/{swirl-symbol-cloud.entry.bdd8c3b6.js → swirl-symbol-cloud.entry.68a97823.js} +6 -6
- package/dist/{swirl-symbol-coronavirus.entry.9573b520.js → swirl-symbol-coronavirus.entry.f8ffcca9.js} +2 -2
- package/dist/{swirl-symbol-desktop-windows.entry.c31161e5.js → swirl-symbol-desktop-windows.entry.c4664255.js} +2 -2
- package/dist/{swirl-symbol-directions-car-filled.entry.c13a1c0e.js → swirl-symbol-directions-car-filled.entry.46d8baf3.js} +2 -2
- package/dist/{swirl-symbol-edit-calendar.entry.e40fb352.js → swirl-symbol-edit-calendar.entry.e0430f5f.js} +7 -7
- package/dist/{swirl-symbol-email.entry.83079038.js → swirl-symbol-email.entry.31bf09d7.js} +2 -2
- package/dist/{swirl-symbol-emoji-food-beverage.entry.6b8742ff.js → swirl-symbol-emoji-food-beverage.entry.466f5b82.js} +8 -8
- package/dist/{swirl-symbol-event-menu.entry.7a6cd27c.js → swirl-symbol-event-menu.entry.e8589ae1.js} +2 -2
- package/dist/{swirl-symbol-facebook.entry.34e8fe93.js → swirl-symbol-facebook.entry.7e39d9b7.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.1f51b7f2.js → swirl-symbol-favorite.entry.340a26d7.js} +2 -2
- package/dist/{swirl-symbol-fitness-center.entry.a9cd7f01.js → swirl-symbol-fitness-center.entry.4fc69f47.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.f06f8cc4.js → swirl-symbol-flag.entry.979d2d2e.js} +5 -5
- package/dist/{swirl-symbol-folder.entry.b2b46cac.js → swirl-symbol-folder.entry.ccdecb38.js} +2 -2
- package/dist/{swirl-symbol-globe.entry.cb7422cc.js → swirl-symbol-globe.entry.558c1728.js} +5 -5
- package/dist/{swirl-symbol-groups.entry.34d6ef80.js → swirl-symbol-groups.entry.6dc4b7d3.js} +8 -8
- package/dist/{swirl-symbol-help.entry.ad2dd1fa.js → swirl-symbol-help.entry.520704ad.js} +2 -2
- package/dist/{swirl-symbol-image.entry.6c7cb20e.js → swirl-symbol-image.entry.77fceac0.js} +2 -2
- package/dist/{swirl-symbol-info-menu.entry.8a816c14.js → swirl-symbol-info-menu.entry.6b159158.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.f9e88e66.js → swirl-symbol-instagram.entry.63d68297.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.06d0d7a9.js → swirl-symbol-ios.entry.eee1c632.js} +3 -3
- package/dist/{swirl-symbol-language.entry.2a969d79.js → swirl-symbol-language.entry.79016a2c.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.fb80943c.js → swirl-symbol-leaderboard.entry.61b538fb.js} +7 -7
- package/dist/{swirl-symbol-lightbulb.entry.df3d293a.js → swirl-symbol-lightbulb.entry.6101a8a2.js} +5 -5
- package/dist/{swirl-symbol-linkedin.entry.fbdea684.js → swirl-symbol-linkedin.entry.0c621538.js} +6 -6
- package/dist/{swirl-symbol-location-on.entry.823c0e7e.js → swirl-symbol-location-on.entry.37fdc0a5.js} +5 -5
- package/dist/{swirl-symbol-loyalty.entry.946364b5.js → swirl-symbol-loyalty.entry.3105ae9a.js} +6 -6
- package/dist/{swirl-symbol-maps-home-work.entry.c4bb1cfe.js → swirl-symbol-maps-home-work.entry.9c1571ef.js} +6 -6
- package/dist/{swirl-symbol-notifications.entry.762e58b4.js → swirl-symbol-notifications.entry.8b645d50.js} +6 -6
- package/dist/{swirl-symbol-open-in-new.entry.ae5a4298.js → swirl-symbol-open-in-new.entry.0e2294ae.js} +5 -5
- package/dist/{swirl-symbol-pedal-bike.entry.16bd1780.js → swirl-symbol-pedal-bike.entry.adf3473a.js} +7 -7
- package/dist/{swirl-symbol-pinterest.entry.76ea4a98.js → swirl-symbol-pinterest.entry.8cbf1f06.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.a2a9f415.js → swirl-symbol-policy.entry.59ed8ee7.js} +5 -5
- package/dist/{swirl-symbol-push-pin.entry.abfd5ca3.js → swirl-symbol-push-pin.entry.f7078a7b.js} +2 -2
- package/dist/{swirl-symbol-redeem.entry.853a0881.js → swirl-symbol-redeem.entry.3c73b090.js} +6 -6
- package/dist/{swirl-symbol-report-problem.entry.864e28d3.js → swirl-symbol-report-problem.entry.28f88e8e.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.3e110e19.js → swirl-symbol-restaurant.entry.79fe6508.js} +6 -6
- package/dist/swirl-symbol-roadmap.entry.df3fd5a7.js +17 -0
- package/dist/{swirl-symbol-room.entry.c537898c.js → swirl-symbol-room.entry.e575aa89.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.f7073cee.js → swirl-symbol-savings.entry.51f3e8b2.js} +5 -5
- package/dist/{swirl-symbol-settings-voice.entry.80759dde.js → swirl-symbol-settings-voice.entry.49ed10d7.js} +7 -7
- package/dist/{swirl-symbol-shopping-cart.entry.272b347d.js → swirl-symbol-shopping-cart.entry.935ba438.js} +4 -4
- package/dist/{swirl-symbol-smartphone.entry.7006c3f6.js → swirl-symbol-smartphone.entry.d013048d.js} +2 -2
- package/dist/{swirl-symbol-star.entry.131bc781.js → swirl-symbol-star.entry.b7b0f3f9.js} +3 -3
- package/dist/{swirl-symbol-supervisor-account.entry.287cfb37.js → swirl-symbol-supervisor-account.entry.b1fcce3f.js} +2 -2
- package/dist/{swirl-symbol-thumbs-up-down.entry.1e3725de.js → swirl-symbol-thumbs-up-down.entry.190c27f3.js} +7 -7
- package/dist/{swirl-symbol-twitter.entry.306cf52b.js → swirl-symbol-twitter.entry.8ca2e734.js} +5 -5
- package/dist/{swirl-symbol-wb-sunny.entry.b7dafa61.js → swirl-symbol-wb-sunny.entry.67f092a0.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.0a6d751a.js → swirl-symbol-wechat.entry.cfd900d7.js} +5 -5
- package/dist/{swirl-symbol-weibo.entry.a9a03464.js → swirl-symbol-weibo.entry.4a5f17da.js} +5 -5
- package/dist/{swirl-symbol-work.entry.b5a411f4.js → swirl-symbol-work.entry.fa6e4832.js} +4 -4
- package/dist/{swirl-symbol-xing.entry.0169b305.js → swirl-symbol-xing.entry.93573027.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.12b2b2ae.js → swirl-symbol-youtube.entry.bb26f9bb.js} +6 -6
- package/dist/swirl-symbol.entry.1e937183.js +16 -0
- package/dist/{swirl-tab-bar.entry.248e80b9.js → swirl-tab-bar.entry.a50453b3.js} +2 -2
- package/dist/{swirl-tab.entry.e7773ad1.js → swirl-tab.entry.dc857cda.js} +6 -6
- package/dist/{swirl-table-cell.entry.92c623f4.js → swirl-table-cell.entry.411213f1.js} +4 -4
- package/dist/{swirl-table-column.entry.0385ad6b.js → swirl-table-column.entry.6bab2d73.js} +2 -2
- package/dist/{swirl-table-row-group.entry.986e741f.js → swirl-table-row-group.entry.0975e629.js} +7 -7
- package/dist/{swirl-table-row.entry.5e3d55ce.js → swirl-table-row.entry.bcc7e4cf.js} +5 -5
- package/dist/{swirl-table.entry.38aec642.js → swirl-table.entry.59b53f2f.js} +9 -9
- package/dist/{swirl-tabs.entry.897391b6.js → swirl-tabs.entry.b4b04aa2.js} +5 -5
- package/dist/{swirl-text-input.entry.f692b126.js → swirl-text-input.entry.1c41a0ba.js} +1 -1
- package/dist/{swirl-text.entry.5240e250.js → swirl-text.entry.555fb178.js} +2 -2
- package/dist/{swirl-theme-provider.entry.f75d75be.js → swirl-theme-provider.entry.19b7678b.js} +2 -2
- package/dist/{swirl-time-input.entry.e12614f7.js → swirl-time-input.entry.275fe09c.js} +9 -9
- package/dist/{swirl-toast-provider.entry.577dfcf2.js → swirl-toast-provider.entry.e1852387.js} +7 -7
- package/dist/{swirl-toast.entry.b222add7.js → swirl-toast.entry.0bcd531e.js} +6 -6
- package/dist/{swirl-toggle-button.entry.992a0ca2.js → swirl-toggle-button.entry.7d0101dd.js} +5 -5
- package/dist/{swirl-toggle-group.entry.ec1c1e20.js → swirl-toggle-group.entry.04ba845a.js} +2 -2
- package/dist/{swirl-toolbar.entry.16a693f1.js → swirl-toolbar.entry.185375cb.js} +2 -2
- package/dist/{swirl-tooltip.entry.da2fb34c.js → swirl-tooltip.entry.b36ce378.js} +6 -6
- package/dist/{swirl-tree-navigation-item.entry.018e8eb7.js → swirl-tree-navigation-item.entry.e72dde02.js} +5 -5
- package/dist/{swirl-tree-navigation.entry.2bb573b2.js → swirl-tree-navigation.entry.21a31231.js} +2 -2
- package/dist/swirl-tree-view-item.entry.5f078682.js +200 -0
- package/dist/swirl-tree-view.config-82c9ecaa.3ff1cfa4.js +24 -0
- package/dist/swirl-tree-view.entry.a06abb05.js +216 -0
- package/dist/{swirl-video-thumbnail.entry.43fe766b.js → swirl-video-thumbnail.entry.0cd9c71b.js} +4 -4
- package/dist/swirl-visually-hidden.entry.5ff7fc21.js +15 -0
- package/dist/{wc-datepicker.entry.d9974ab1.js → wc-datepicker.entry.d84b3123.js} +1 -1
- package/package.json +2 -2
- package/dist/index.bf166ea6.js +0 -3466
- package/dist/sortable.esm-8c3d5856.57c4f048.js +0 -1229
- package/dist/swirl-action-list-section.entry.65c84a59.js +0 -15
- package/dist/swirl-description-list.entry.14d16c96.js +0 -15
- package/dist/swirl-emoji-clap.entry.cb04f56b.js +0 -17
- package/dist/swirl-emoji-happy.entry.2fcd6ca7.js +0 -17
- package/dist/swirl-emoji-love.entry.73ba21ef.js +0 -17
- package/dist/swirl-emoji-sad.entry.9608f044.js +0 -17
- package/dist/swirl-emoji.entry.1c1737e2.js +0 -16
- package/dist/swirl-icon-check-strong.entry.cca75d75.js +0 -19
- package/dist/swirl-symbol-roadmap.entry.4472da09.js +0 -17
- package/dist/swirl-symbol.entry.c5fe31d3.js +0 -16
- package/dist/swirl-tree-view-item.entry.242edab6.js +0 -55
- package/dist/swirl-tree-view.entry.be2b2959.js +0 -127
- package/dist/swirl-visually-hidden.entry.3e9e6ba5.js +0 -15
|
@@ -1,1229 +0,0 @@
|
|
|
1
|
-
/**!
|
|
2
|
-
* Sortable 1.15.0
|
|
3
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
4
|
-
* @author owenm <owen23355@gmail.com>
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
function lt(n, e) {
|
|
8
|
-
var t = Object.keys(n);
|
|
9
|
-
if (Object.getOwnPropertySymbols) {
|
|
10
|
-
var o = Object.getOwnPropertySymbols(n);
|
|
11
|
-
e && (o = o.filter(function(i) {
|
|
12
|
-
return Object.getOwnPropertyDescriptor(n, i).enumerable;
|
|
13
|
-
})), t.push.apply(t, o);
|
|
14
|
-
}
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
function z(n) {
|
|
18
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
19
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
|
20
|
-
e % 2 ? lt(Object(t), !0).forEach(function(o) {
|
|
21
|
-
Nt(n, o, t[o]);
|
|
22
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : lt(Object(t)).forEach(function(o) {
|
|
23
|
-
Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(t, o));
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return n;
|
|
27
|
-
}
|
|
28
|
-
function Me(n) {
|
|
29
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Me = function(e) {
|
|
30
|
-
return typeof e;
|
|
31
|
-
} : Me = function(e) {
|
|
32
|
-
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
33
|
-
}, Me(n);
|
|
34
|
-
}
|
|
35
|
-
function Nt(n, e, t) {
|
|
36
|
-
return e in n ? Object.defineProperty(n, e, {
|
|
37
|
-
value: t,
|
|
38
|
-
enumerable: !0,
|
|
39
|
-
configurable: !0,
|
|
40
|
-
writable: !0
|
|
41
|
-
}) : n[e] = t, n;
|
|
42
|
-
}
|
|
43
|
-
function $() {
|
|
44
|
-
return $ = Object.assign || function(n) {
|
|
45
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
46
|
-
var t = arguments[e];
|
|
47
|
-
for (var o in t)
|
|
48
|
-
Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]);
|
|
49
|
-
}
|
|
50
|
-
return n;
|
|
51
|
-
}, $.apply(this, arguments);
|
|
52
|
-
}
|
|
53
|
-
function xt(n, e) {
|
|
54
|
-
if (n == null)
|
|
55
|
-
return {};
|
|
56
|
-
var t = {}, o = Object.keys(n), i, r;
|
|
57
|
-
for (r = 0; r < o.length; r++)
|
|
58
|
-
i = o[r], !(e.indexOf(i) >= 0) && (t[i] = n[i]);
|
|
59
|
-
return t;
|
|
60
|
-
}
|
|
61
|
-
function Mt(n, e) {
|
|
62
|
-
if (n == null)
|
|
63
|
-
return {};
|
|
64
|
-
var t = xt(n, e), o, i;
|
|
65
|
-
if (Object.getOwnPropertySymbols) {
|
|
66
|
-
var r = Object.getOwnPropertySymbols(n);
|
|
67
|
-
for (i = 0; i < r.length; i++)
|
|
68
|
-
o = r[i], !(e.indexOf(o) >= 0) && (!Object.prototype.propertyIsEnumerable.call(n, o) || (t[o] = n[o]));
|
|
69
|
-
}
|
|
70
|
-
return t;
|
|
71
|
-
}
|
|
72
|
-
var Ft = "1.15.0";
|
|
73
|
-
function q(n) {
|
|
74
|
-
if (typeof window < "u" && window.navigator)
|
|
75
|
-
return !!/* @__PURE__ */ navigator.userAgent.match(n);
|
|
76
|
-
}
|
|
77
|
-
var V = q(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ce = q(/Edge/i), st = q(/firefox/i), ye = q(/safari/i) && !q(/chrome/i) && !q(/android/i), mt = q(/iP(ad|od|hone)/i), vt = q(/chrome/i) && q(/android/i), bt = {
|
|
78
|
-
capture: !1,
|
|
79
|
-
passive: !1
|
|
80
|
-
};
|
|
81
|
-
function E(n, e, t) {
|
|
82
|
-
n.addEventListener(e, t, !V && bt);
|
|
83
|
-
}
|
|
84
|
-
function b(n, e, t) {
|
|
85
|
-
n.removeEventListener(e, t, !V && bt);
|
|
86
|
-
}
|
|
87
|
-
function Re(n, e) {
|
|
88
|
-
if (!!e) {
|
|
89
|
-
if (e[0] === ">" && (e = e.substring(1)), n)
|
|
90
|
-
try {
|
|
91
|
-
if (n.matches)
|
|
92
|
-
return n.matches(e);
|
|
93
|
-
if (n.msMatchesSelector)
|
|
94
|
-
return n.msMatchesSelector(e);
|
|
95
|
-
if (n.webkitMatchesSelector)
|
|
96
|
-
return n.webkitMatchesSelector(e);
|
|
97
|
-
} catch {
|
|
98
|
-
return !1;
|
|
99
|
-
}
|
|
100
|
-
return !1;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
function Xt(n) {
|
|
104
|
-
return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
|
|
105
|
-
}
|
|
106
|
-
function G(n, e, t, o) {
|
|
107
|
-
if (n) {
|
|
108
|
-
t = t || document;
|
|
109
|
-
do {
|
|
110
|
-
if (e != null && (e[0] === ">" ? n.parentNode === t && Re(n, e) : Re(n, e)) || o && n === t)
|
|
111
|
-
return n;
|
|
112
|
-
if (n === t)
|
|
113
|
-
break;
|
|
114
|
-
} while (n = Xt(n));
|
|
115
|
-
}
|
|
116
|
-
return null;
|
|
117
|
-
}
|
|
118
|
-
var ut = /\s+/g;
|
|
119
|
-
function F(n, e, t) {
|
|
120
|
-
if (n && e)
|
|
121
|
-
if (n.classList)
|
|
122
|
-
n.classList[t ? "add" : "remove"](e);
|
|
123
|
-
else {
|
|
124
|
-
var o = (" " + n.className + " ").replace(ut, " ").replace(" " + e + " ", " ");
|
|
125
|
-
n.className = (o + (t ? " " + e : "")).replace(ut, " ");
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
function h(n, e, t) {
|
|
129
|
-
var o = n && n.style;
|
|
130
|
-
if (o) {
|
|
131
|
-
if (t === void 0)
|
|
132
|
-
return document.defaultView && document.defaultView.getComputedStyle ? t = document.defaultView.getComputedStyle(n, "") : n.currentStyle && (t = n.currentStyle), e === void 0 ? t : t[e];
|
|
133
|
-
!(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = t + (typeof t == "string" ? "" : "px");
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
function ce(n, e) {
|
|
137
|
-
var t = "";
|
|
138
|
-
if (typeof n == "string")
|
|
139
|
-
t = n;
|
|
140
|
-
else
|
|
141
|
-
do {
|
|
142
|
-
var o = h(n, "transform");
|
|
143
|
-
o && o !== "none" && (t = o + " " + t);
|
|
144
|
-
} while (!e && (n = n.parentNode));
|
|
145
|
-
var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
|
|
146
|
-
return i && new i(t);
|
|
147
|
-
}
|
|
148
|
-
function Et(n, e, t) {
|
|
149
|
-
if (n) {
|
|
150
|
-
var o = n.getElementsByTagName(e), i = 0, r = o.length;
|
|
151
|
-
if (t)
|
|
152
|
-
for (; i < r; i++)
|
|
153
|
-
t(o[i], i);
|
|
154
|
-
return o;
|
|
155
|
-
}
|
|
156
|
-
return [];
|
|
157
|
-
}
|
|
158
|
-
function L() {
|
|
159
|
-
var n = document.scrollingElement;
|
|
160
|
-
return n || document.documentElement;
|
|
161
|
-
}
|
|
162
|
-
function C(n, e, t, o, i) {
|
|
163
|
-
if (!(!n.getBoundingClientRect && n !== window)) {
|
|
164
|
-
var r, a, l, s, u, d, c;
|
|
165
|
-
if (n !== window && n.parentNode && n !== L() ? (r = n.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, d = r.height, c = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, d = window.innerHeight, c = window.innerWidth), (e || t) && n !== window && (i = i || n.parentNode, !V))
|
|
166
|
-
do
|
|
167
|
-
if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || t && h(i, "position") !== "static")) {
|
|
168
|
-
var m = i.getBoundingClientRect();
|
|
169
|
-
a -= m.top + parseInt(h(i, "border-top-width")), l -= m.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
|
|
170
|
-
break;
|
|
171
|
-
}
|
|
172
|
-
while (i = i.parentNode);
|
|
173
|
-
if (o && n !== window) {
|
|
174
|
-
var y = ce(i || n), v = y && y.a, w = y && y.d;
|
|
175
|
-
y && (a /= w, l /= v, c /= v, d /= w, s = a + d, u = l + c);
|
|
176
|
-
}
|
|
177
|
-
return {
|
|
178
|
-
top: a,
|
|
179
|
-
left: l,
|
|
180
|
-
bottom: s,
|
|
181
|
-
right: u,
|
|
182
|
-
width: c,
|
|
183
|
-
height: d
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
function ft(n, e, t) {
|
|
188
|
-
for (var o = ee(n, !0), i = C(n)[e]; o; ) {
|
|
189
|
-
var r = C(o)[t], a = void 0;
|
|
190
|
-
if (t === "top" || t === "left" ? a = i >= r : a = i <= r, !a)
|
|
191
|
-
return o;
|
|
192
|
-
if (o === L())
|
|
193
|
-
break;
|
|
194
|
-
o = ee(o, !1);
|
|
195
|
-
}
|
|
196
|
-
return !1;
|
|
197
|
-
}
|
|
198
|
-
function de(n, e, t, o) {
|
|
199
|
-
for (var i = 0, r = 0, a = n.children; r < a.length; ) {
|
|
200
|
-
if (a[r].style.display !== "none" && a[r] !== p.ghost && (o || a[r] !== p.dragged) && G(a[r], t.draggable, n, !1)) {
|
|
201
|
-
if (i === e)
|
|
202
|
-
return a[r];
|
|
203
|
-
i++;
|
|
204
|
-
}
|
|
205
|
-
r++;
|
|
206
|
-
}
|
|
207
|
-
return null;
|
|
208
|
-
}
|
|
209
|
-
function ot(n, e) {
|
|
210
|
-
for (var t = n.lastElementChild; t && (t === p.ghost || h(t, "display") === "none" || e && !Re(t, e)); )
|
|
211
|
-
t = t.previousElementSibling;
|
|
212
|
-
return t || null;
|
|
213
|
-
}
|
|
214
|
-
function k(n, e) {
|
|
215
|
-
var t = 0;
|
|
216
|
-
if (!n || !n.parentNode)
|
|
217
|
-
return -1;
|
|
218
|
-
for (; n = n.previousElementSibling; )
|
|
219
|
-
n.nodeName.toUpperCase() !== "TEMPLATE" && n !== p.clone && (!e || Re(n, e)) && t++;
|
|
220
|
-
return t;
|
|
221
|
-
}
|
|
222
|
-
function ct(n) {
|
|
223
|
-
var e = 0, t = 0, o = L();
|
|
224
|
-
if (n)
|
|
225
|
-
do {
|
|
226
|
-
var i = ce(n), r = i.a, a = i.d;
|
|
227
|
-
e += n.scrollLeft * r, t += n.scrollTop * a;
|
|
228
|
-
} while (n !== o && (n = n.parentNode));
|
|
229
|
-
return [e, t];
|
|
230
|
-
}
|
|
231
|
-
function Yt(n, e) {
|
|
232
|
-
for (var t in n)
|
|
233
|
-
if (!!n.hasOwnProperty(t)) {
|
|
234
|
-
for (var o in e)
|
|
235
|
-
if (e.hasOwnProperty(o) && e[o] === n[t][o])
|
|
236
|
-
return Number(t);
|
|
237
|
-
}
|
|
238
|
-
return -1;
|
|
239
|
-
}
|
|
240
|
-
function ee(n, e) {
|
|
241
|
-
if (!n || !n.getBoundingClientRect)
|
|
242
|
-
return L();
|
|
243
|
-
var t = n, o = !1;
|
|
244
|
-
do
|
|
245
|
-
if (t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight) {
|
|
246
|
-
var i = h(t);
|
|
247
|
-
if (t.clientWidth < t.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || t.clientHeight < t.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
248
|
-
if (!t.getBoundingClientRect || t === document.body)
|
|
249
|
-
return L();
|
|
250
|
-
if (o || e)
|
|
251
|
-
return t;
|
|
252
|
-
o = !0;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
while (t = t.parentNode);
|
|
256
|
-
return L();
|
|
257
|
-
}
|
|
258
|
-
function kt(n, e) {
|
|
259
|
-
if (n && e)
|
|
260
|
-
for (var t in e)
|
|
261
|
-
e.hasOwnProperty(t) && (n[t] = e[t]);
|
|
262
|
-
return n;
|
|
263
|
-
}
|
|
264
|
-
function ze(n, e) {
|
|
265
|
-
return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
|
|
266
|
-
}
|
|
267
|
-
var _e;
|
|
268
|
-
function wt(n, e) {
|
|
269
|
-
return function() {
|
|
270
|
-
if (!_e) {
|
|
271
|
-
var t = arguments, o = this;
|
|
272
|
-
t.length === 1 ? n.call(o, t[0]) : n.apply(o, t), _e = setTimeout(function() {
|
|
273
|
-
_e = void 0;
|
|
274
|
-
}, e);
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
}
|
|
278
|
-
function Rt() {
|
|
279
|
-
clearTimeout(_e), _e = void 0;
|
|
280
|
-
}
|
|
281
|
-
function yt(n, e, t) {
|
|
282
|
-
n.scrollLeft += e, n.scrollTop += t;
|
|
283
|
-
}
|
|
284
|
-
function _t(n) {
|
|
285
|
-
var e = window.Polymer, t = window.jQuery || window.Zepto;
|
|
286
|
-
return e && e.dom ? e.dom(n).cloneNode(!0) : t ? t(n).clone(!0)[0] : n.cloneNode(!0);
|
|
287
|
-
}
|
|
288
|
-
var Y = "Sortable" + new Date().getTime();
|
|
289
|
-
function Bt() {
|
|
290
|
-
var n = [], e;
|
|
291
|
-
return {
|
|
292
|
-
captureAnimationState: function() {
|
|
293
|
-
if (n = [], !!this.options.animation) {
|
|
294
|
-
var o = [].slice.call(this.el.children);
|
|
295
|
-
o.forEach(function(i) {
|
|
296
|
-
if (!(h(i, "display") === "none" || i === p.ghost)) {
|
|
297
|
-
n.push({
|
|
298
|
-
target: i,
|
|
299
|
-
rect: C(i)
|
|
300
|
-
});
|
|
301
|
-
var r = z({}, n[n.length - 1].rect);
|
|
302
|
-
if (i.thisAnimationDuration) {
|
|
303
|
-
var a = ce(i, !0);
|
|
304
|
-
a && (r.top -= a.f, r.left -= a.e);
|
|
305
|
-
}
|
|
306
|
-
i.fromRect = r;
|
|
307
|
-
}
|
|
308
|
-
});
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
addAnimationState: function(o) {
|
|
312
|
-
n.push(o);
|
|
313
|
-
},
|
|
314
|
-
removeAnimationState: function(o) {
|
|
315
|
-
n.splice(Yt(n, {
|
|
316
|
-
target: o
|
|
317
|
-
}), 1);
|
|
318
|
-
},
|
|
319
|
-
animateAll: function(o) {
|
|
320
|
-
var i = this;
|
|
321
|
-
if (!this.options.animation) {
|
|
322
|
-
clearTimeout(e), typeof o == "function" && o();
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
var r = !1, a = 0;
|
|
326
|
-
n.forEach(function(l) {
|
|
327
|
-
var s = 0, u = l.target, d = u.fromRect, c = C(u), m = u.prevFromRect, y = u.prevToRect, v = l.rect, w = ce(u, !0);
|
|
328
|
-
w && (c.top -= w.f, c.left -= w.e), u.toRect = c, u.thisAnimationDuration && ze(m, c) && !ze(d, c) && (v.top - c.top) / (v.left - c.left) === (d.top - c.top) / (d.left - c.left) && (s = Wt(v, m, y, i.options)), ze(c, d) || (u.prevFromRect = d, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, v, c, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
329
|
-
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
330
|
-
}, s), u.thisAnimationDuration = s);
|
|
331
|
-
}), clearTimeout(e), r ? e = setTimeout(function() {
|
|
332
|
-
typeof o == "function" && o();
|
|
333
|
-
}, a) : typeof o == "function" && o(), n = [];
|
|
334
|
-
},
|
|
335
|
-
animate: function(o, i, r, a) {
|
|
336
|
-
if (a) {
|
|
337
|
-
h(o, "transition", ""), h(o, "transform", "");
|
|
338
|
-
var l = ce(this.el), s = l && l.a, u = l && l.d, d = (i.left - r.left) / (s || 1), c = (i.top - r.top) / (u || 1);
|
|
339
|
-
o.animatingX = !!d, o.animatingY = !!c, h(o, "transform", "translate3d(" + d + "px," + c + "px,0)"), this.forRepaintDummy = Ht(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
|
|
340
|
-
h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
341
|
-
}, a);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
function Ht(n) {
|
|
347
|
-
return n.offsetWidth;
|
|
348
|
-
}
|
|
349
|
-
function Wt(n, e, t, o) {
|
|
350
|
-
return Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) / Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) * o.animation;
|
|
351
|
-
}
|
|
352
|
-
var le = [], je = {
|
|
353
|
-
initializeByDefault: !0
|
|
354
|
-
}, Oe = {
|
|
355
|
-
mount: function(e) {
|
|
356
|
-
for (var t in je)
|
|
357
|
-
je.hasOwnProperty(t) && !(t in e) && (e[t] = je[t]);
|
|
358
|
-
le.forEach(function(o) {
|
|
359
|
-
if (o.pluginName === e.pluginName)
|
|
360
|
-
throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
|
|
361
|
-
}), le.push(e);
|
|
362
|
-
},
|
|
363
|
-
pluginEvent: function(e, t, o) {
|
|
364
|
-
var i = this;
|
|
365
|
-
this.eventCanceled = !1, o.cancel = function() {
|
|
366
|
-
i.eventCanceled = !0;
|
|
367
|
-
};
|
|
368
|
-
var r = e + "Global";
|
|
369
|
-
le.forEach(function(a) {
|
|
370
|
-
!t[a.pluginName] || (t[a.pluginName][r] && t[a.pluginName][r](z({
|
|
371
|
-
sortable: t
|
|
372
|
-
}, o)), t.options[a.pluginName] && t[a.pluginName][e] && t[a.pluginName][e](z({
|
|
373
|
-
sortable: t
|
|
374
|
-
}, o)));
|
|
375
|
-
});
|
|
376
|
-
},
|
|
377
|
-
initializePlugins: function(e, t, o, i) {
|
|
378
|
-
le.forEach(function(l) {
|
|
379
|
-
var s = l.pluginName;
|
|
380
|
-
if (!(!e.options[s] && !l.initializeByDefault)) {
|
|
381
|
-
var u = new l(e, t, e.options);
|
|
382
|
-
u.sortable = e, u.options = e.options, e[s] = u, $(o, u.defaults);
|
|
383
|
-
}
|
|
384
|
-
});
|
|
385
|
-
for (var r in e.options)
|
|
386
|
-
if (!!e.options.hasOwnProperty(r)) {
|
|
387
|
-
var a = this.modifyOption(e, r, e.options[r]);
|
|
388
|
-
typeof a < "u" && (e.options[r] = a);
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
getEventProperties: function(e, t) {
|
|
392
|
-
var o = {};
|
|
393
|
-
return le.forEach(function(i) {
|
|
394
|
-
typeof i.eventProperties == "function" && $(o, i.eventProperties.call(t[i.pluginName], e));
|
|
395
|
-
}), o;
|
|
396
|
-
},
|
|
397
|
-
modifyOption: function(e, t, o) {
|
|
398
|
-
var i;
|
|
399
|
-
return le.forEach(function(r) {
|
|
400
|
-
!e[r.pluginName] || r.optionListeners && typeof r.optionListeners[t] == "function" && (i = r.optionListeners[t].call(e[r.pluginName], o));
|
|
401
|
-
}), i;
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
function Gt(n) {
|
|
405
|
-
var e = n.sortable, t = n.rootEl, o = n.name, i = n.targetEl, r = n.cloneEl, a = n.toEl, l = n.fromEl, s = n.oldIndex, u = n.newIndex, d = n.oldDraggableIndex, c = n.newDraggableIndex, m = n.originalEvent, y = n.putSortable, v = n.extraEventProperties;
|
|
406
|
-
if (e = e || t && t[Y], !!e) {
|
|
407
|
-
var w, R = e.options, j = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
408
|
-
window.CustomEvent && !V && !Ce ? w = new CustomEvent(o, {
|
|
409
|
-
bubbles: !0,
|
|
410
|
-
cancelable: !0
|
|
411
|
-
}) : (w = document.createEvent("Event"), w.initEvent(o, !0, !0)), w.to = a || t, w.from = l || t, w.item = i || t, w.clone = r, w.oldIndex = s, w.newIndex = u, w.oldDraggableIndex = d, w.newDraggableIndex = c, w.originalEvent = m, w.pullMode = y ? y.lastPutMode : void 0;
|
|
412
|
-
var A = z(z({}, v), Oe.getEventProperties(o, e));
|
|
413
|
-
for (var B in A)
|
|
414
|
-
w[B] = A[B];
|
|
415
|
-
t && t.dispatchEvent(w), R[j] && R[j].call(e, w);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
var Lt = ["evt"], N = function(e, t) {
|
|
419
|
-
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Mt(o, Lt);
|
|
420
|
-
Oe.pluginEvent.bind(p)(e, t, z({
|
|
421
|
-
dragEl: f,
|
|
422
|
-
parentEl: S,
|
|
423
|
-
ghostEl: g,
|
|
424
|
-
rootEl: _,
|
|
425
|
-
nextEl: ae,
|
|
426
|
-
lastDownEl: Fe,
|
|
427
|
-
cloneEl: D,
|
|
428
|
-
cloneHidden: J,
|
|
429
|
-
dragStarted: be,
|
|
430
|
-
putSortable: O,
|
|
431
|
-
activeSortable: p.active,
|
|
432
|
-
originalEvent: i,
|
|
433
|
-
oldIndex: fe,
|
|
434
|
-
oldDraggableIndex: De,
|
|
435
|
-
newIndex: X,
|
|
436
|
-
newDraggableIndex: Q,
|
|
437
|
-
hideGhostForTarget: Ct,
|
|
438
|
-
unhideGhostForTarget: Ot,
|
|
439
|
-
cloneNowHidden: function() {
|
|
440
|
-
J = !0;
|
|
441
|
-
},
|
|
442
|
-
cloneNowShown: function() {
|
|
443
|
-
J = !1;
|
|
444
|
-
},
|
|
445
|
-
dispatchSortableEvent: function(l) {
|
|
446
|
-
P({
|
|
447
|
-
sortable: t,
|
|
448
|
-
name: l,
|
|
449
|
-
originalEvent: i
|
|
450
|
-
});
|
|
451
|
-
}
|
|
452
|
-
}, r));
|
|
453
|
-
};
|
|
454
|
-
function P(n) {
|
|
455
|
-
Gt(z({
|
|
456
|
-
putSortable: O,
|
|
457
|
-
cloneEl: D,
|
|
458
|
-
targetEl: f,
|
|
459
|
-
rootEl: _,
|
|
460
|
-
oldIndex: fe,
|
|
461
|
-
oldDraggableIndex: De,
|
|
462
|
-
newIndex: X,
|
|
463
|
-
newDraggableIndex: Q
|
|
464
|
-
}, n));
|
|
465
|
-
}
|
|
466
|
-
var f, S, g, _, ae, Fe, D, J, fe, X, De, Q, Ae, O, ue = !1, Be = !1, He = [], ie, H, Ue, qe, dt, ht, be, se, Se, Te = !1, Pe = !1, Xe, I, $e = [], Je = !1, We = [], Le = typeof document < "u", Ne = mt, pt = Ce || V ? "cssFloat" : "float", zt = Le && !vt && !mt && "draggable" in document.createElement("div"), Dt = function() {
|
|
467
|
-
if (!!Le) {
|
|
468
|
-
if (V)
|
|
469
|
-
return !1;
|
|
470
|
-
var n = document.createElement("x");
|
|
471
|
-
return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
|
|
472
|
-
}
|
|
473
|
-
}(), St = function(e, t) {
|
|
474
|
-
var o = h(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = de(e, 0, t), a = de(e, 1, t), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + C(r).width, d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + C(a).width;
|
|
475
|
-
if (o.display === "flex")
|
|
476
|
-
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
477
|
-
if (o.display === "grid")
|
|
478
|
-
return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
|
|
479
|
-
if (r && l.float && l.float !== "none") {
|
|
480
|
-
var c = l.float === "left" ? "left" : "right";
|
|
481
|
-
return a && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
|
|
482
|
-
}
|
|
483
|
-
return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[pt] === "none" || a && o[pt] === "none" && u + d > i) ? "vertical" : "horizontal";
|
|
484
|
-
}, jt = function(e, t, o) {
|
|
485
|
-
var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? t.left : t.top, s = o ? t.right : t.bottom, u = o ? t.width : t.height;
|
|
486
|
-
return i === l || r === s || i + a / 2 === l + u / 2;
|
|
487
|
-
}, Ut = function(e, t) {
|
|
488
|
-
var o;
|
|
489
|
-
return He.some(function(i) {
|
|
490
|
-
var r = i[Y].options.emptyInsertThreshold;
|
|
491
|
-
if (!(!r || ot(i))) {
|
|
492
|
-
var a = C(i), l = e >= a.left - r && e <= a.right + r, s = t >= a.top - r && t <= a.bottom + r;
|
|
493
|
-
if (l && s)
|
|
494
|
-
return o = i;
|
|
495
|
-
}
|
|
496
|
-
}), o;
|
|
497
|
-
}, Tt = function(e) {
|
|
498
|
-
function t(r, a) {
|
|
499
|
-
return function(l, s, u, d) {
|
|
500
|
-
var c = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
|
|
501
|
-
if (r == null && (a || c))
|
|
502
|
-
return !0;
|
|
503
|
-
if (r == null || r === !1)
|
|
504
|
-
return !1;
|
|
505
|
-
if (a && r === "clone")
|
|
506
|
-
return r;
|
|
507
|
-
if (typeof r == "function")
|
|
508
|
-
return t(r(l, s, u, d), a)(l, s, u, d);
|
|
509
|
-
var m = (a ? l : s).options.group.name;
|
|
510
|
-
return r === !0 || typeof r == "string" && r === m || r.join && r.indexOf(m) > -1;
|
|
511
|
-
};
|
|
512
|
-
}
|
|
513
|
-
var o = {}, i = e.group;
|
|
514
|
-
(!i || Me(i) != "object") && (i = {
|
|
515
|
-
name: i
|
|
516
|
-
}), o.name = i.name, o.checkPull = t(i.pull, !0), o.checkPut = t(i.put), o.revertClone = i.revertClone, e.group = o;
|
|
517
|
-
}, Ct = function() {
|
|
518
|
-
!Dt && g && h(g, "display", "none");
|
|
519
|
-
}, Ot = function() {
|
|
520
|
-
!Dt && g && h(g, "display", "");
|
|
521
|
-
};
|
|
522
|
-
Le && !vt && document.addEventListener("click", function(n) {
|
|
523
|
-
if (Be)
|
|
524
|
-
return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Be = !1, !1;
|
|
525
|
-
}, !0);
|
|
526
|
-
var re = function(e) {
|
|
527
|
-
if (f) {
|
|
528
|
-
e = e.touches ? e.touches[0] : e;
|
|
529
|
-
var t = Ut(e.clientX, e.clientY);
|
|
530
|
-
if (t) {
|
|
531
|
-
var o = {};
|
|
532
|
-
for (var i in e)
|
|
533
|
-
e.hasOwnProperty(i) && (o[i] = e[i]);
|
|
534
|
-
o.target = o.rootEl = t, o.preventDefault = void 0, o.stopPropagation = void 0, t[Y]._onDragOver(o);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}, qt = function(e) {
|
|
538
|
-
f && f.parentNode[Y]._isOutsideThisEl(e.target);
|
|
539
|
-
};
|
|
540
|
-
function p(n, e) {
|
|
541
|
-
if (!(n && n.nodeType && n.nodeType === 1))
|
|
542
|
-
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
|
|
543
|
-
this.el = n, this.options = e = $({}, e), n[Y] = this;
|
|
544
|
-
var t = {
|
|
545
|
-
group: null,
|
|
546
|
-
sort: !0,
|
|
547
|
-
disabled: !1,
|
|
548
|
-
store: null,
|
|
549
|
-
handle: null,
|
|
550
|
-
draggable: /^[uo]l$/i.test(n.nodeName) ? ">li" : ">*",
|
|
551
|
-
swapThreshold: 1,
|
|
552
|
-
invertSwap: !1,
|
|
553
|
-
invertedSwapThreshold: null,
|
|
554
|
-
removeCloneOnHide: !0,
|
|
555
|
-
direction: function() {
|
|
556
|
-
return St(n, this.options);
|
|
557
|
-
},
|
|
558
|
-
ghostClass: "sortable-ghost",
|
|
559
|
-
chosenClass: "sortable-chosen",
|
|
560
|
-
dragClass: "sortable-drag",
|
|
561
|
-
ignore: "a, img",
|
|
562
|
-
filter: null,
|
|
563
|
-
preventOnFilter: !0,
|
|
564
|
-
animation: 0,
|
|
565
|
-
easing: null,
|
|
566
|
-
setData: function(a, l) {
|
|
567
|
-
a.setData("Text", l.textContent);
|
|
568
|
-
},
|
|
569
|
-
dropBubble: !1,
|
|
570
|
-
dragoverBubble: !1,
|
|
571
|
-
dataIdAttr: "data-id",
|
|
572
|
-
delay: 0,
|
|
573
|
-
delayOnTouchOnly: !1,
|
|
574
|
-
touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
|
|
575
|
-
forceFallback: !1,
|
|
576
|
-
fallbackClass: "sortable-fallback",
|
|
577
|
-
fallbackOnBody: !1,
|
|
578
|
-
fallbackTolerance: 0,
|
|
579
|
-
fallbackOffset: {
|
|
580
|
-
x: 0,
|
|
581
|
-
y: 0
|
|
582
|
-
},
|
|
583
|
-
supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && !ye,
|
|
584
|
-
emptyInsertThreshold: 5
|
|
585
|
-
};
|
|
586
|
-
Oe.initializePlugins(this, n, t);
|
|
587
|
-
for (var o in t)
|
|
588
|
-
!(o in e) && (e[o] = t[o]);
|
|
589
|
-
Tt(e);
|
|
590
|
-
for (var i in this)
|
|
591
|
-
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
592
|
-
this.nativeDraggable = e.forceFallback ? !1 : zt, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? E(n, "pointerdown", this._onTapStart) : (E(n, "mousedown", this._onTapStart), E(n, "touchstart", this._onTapStart)), this.nativeDraggable && (E(n, "dragover", this), E(n, "dragenter", this)), He.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), $(this, Bt());
|
|
593
|
-
}
|
|
594
|
-
p.prototype = {
|
|
595
|
-
constructor: p,
|
|
596
|
-
_isOutsideThisEl: function(e) {
|
|
597
|
-
!this.el.contains(e) && e !== this.el && (se = null);
|
|
598
|
-
},
|
|
599
|
-
_getDirection: function(e, t) {
|
|
600
|
-
return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, f) : this.options.direction;
|
|
601
|
-
},
|
|
602
|
-
_onTapStart: function(e) {
|
|
603
|
-
if (!!e.cancelable) {
|
|
604
|
-
var t = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, d = i.filter;
|
|
605
|
-
if (tn(o), !f && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && ye && s && s.tagName.toUpperCase() === "SELECT") && (s = G(s, i.draggable, o, !1), !(s && s.animated) && Fe !== s)) {
|
|
606
|
-
if (fe = k(s), De = k(s, i.draggable), typeof d == "function") {
|
|
607
|
-
if (d.call(this, e, s, this)) {
|
|
608
|
-
P({
|
|
609
|
-
sortable: t,
|
|
610
|
-
rootEl: u,
|
|
611
|
-
name: "filter",
|
|
612
|
-
targetEl: s,
|
|
613
|
-
toEl: o,
|
|
614
|
-
fromEl: o
|
|
615
|
-
}), N("filter", t, {
|
|
616
|
-
evt: e
|
|
617
|
-
}), r && e.cancelable && e.preventDefault();
|
|
618
|
-
return;
|
|
619
|
-
}
|
|
620
|
-
} else if (d && (d = d.split(",").some(function(c) {
|
|
621
|
-
if (c = G(u, c.trim(), o, !1), c)
|
|
622
|
-
return P({
|
|
623
|
-
sortable: t,
|
|
624
|
-
rootEl: c,
|
|
625
|
-
name: "filter",
|
|
626
|
-
targetEl: s,
|
|
627
|
-
fromEl: o,
|
|
628
|
-
toEl: o
|
|
629
|
-
}), N("filter", t, {
|
|
630
|
-
evt: e
|
|
631
|
-
}), !0;
|
|
632
|
-
}), d)) {
|
|
633
|
-
r && e.cancelable && e.preventDefault();
|
|
634
|
-
return;
|
|
635
|
-
}
|
|
636
|
-
i.handle && !G(u, i.handle, o, !1) || this._prepareDragStart(e, l, s);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
_prepareDragStart: function(e, t, o) {
|
|
641
|
-
var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
|
|
642
|
-
if (o && !f && o.parentNode === r) {
|
|
643
|
-
var u = C(o);
|
|
644
|
-
if (_ = r, f = o, S = f.parentNode, ae = f.nextSibling, Fe = o, Ae = a.group, p.dragged = f, ie = {
|
|
645
|
-
target: f,
|
|
646
|
-
clientX: (t || e).clientX,
|
|
647
|
-
clientY: (t || e).clientY
|
|
648
|
-
}, dt = ie.clientX - u.left, ht = ie.clientY - u.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, f.style["will-change"] = "all", s = function() {
|
|
649
|
-
if (N("delayEnded", i, {
|
|
650
|
-
evt: e
|
|
651
|
-
}), p.eventCanceled) {
|
|
652
|
-
i._onDrop();
|
|
653
|
-
return;
|
|
654
|
-
}
|
|
655
|
-
i._disableDelayedDragEvents(), !st && i.nativeDraggable && (f.draggable = !0), i._triggerDragStart(e, t), P({
|
|
656
|
-
sortable: i,
|
|
657
|
-
name: "choose",
|
|
658
|
-
originalEvent: e
|
|
659
|
-
}), F(f, a.chosenClass, !0);
|
|
660
|
-
}, a.ignore.split(",").forEach(function(d) {
|
|
661
|
-
Et(f, d.trim(), Ve);
|
|
662
|
-
}), E(l, "dragover", re), E(l, "mousemove", re), E(l, "touchmove", re), E(l, "mouseup", i._onDrop), E(l, "touchend", i._onDrop), E(l, "touchcancel", i._onDrop), st && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), N("delayStart", this, {
|
|
663
|
-
evt: e
|
|
664
|
-
}), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ce || V))) {
|
|
665
|
-
if (p.eventCanceled) {
|
|
666
|
-
this._onDrop();
|
|
667
|
-
return;
|
|
668
|
-
}
|
|
669
|
-
E(l, "mouseup", i._disableDelayedDrag), E(l, "touchend", i._disableDelayedDrag), E(l, "touchcancel", i._disableDelayedDrag), E(l, "mousemove", i._delayedDragTouchMoveHandler), E(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && E(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
|
|
670
|
-
} else
|
|
671
|
-
s();
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
_delayedDragTouchMoveHandler: function(e) {
|
|
675
|
-
var t = e.touches ? e.touches[0] : e;
|
|
676
|
-
Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
677
|
-
},
|
|
678
|
-
_disableDelayedDrag: function() {
|
|
679
|
-
f && Ve(f), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
680
|
-
},
|
|
681
|
-
_disableDelayedDragEvents: function() {
|
|
682
|
-
var e = this.el.ownerDocument;
|
|
683
|
-
b(e, "mouseup", this._disableDelayedDrag), b(e, "touchend", this._disableDelayedDrag), b(e, "touchcancel", this._disableDelayedDrag), b(e, "mousemove", this._delayedDragTouchMoveHandler), b(e, "touchmove", this._delayedDragTouchMoveHandler), b(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
684
|
-
},
|
|
685
|
-
_triggerDragStart: function(e, t) {
|
|
686
|
-
t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? E(document, "pointermove", this._onTouchMove) : t ? E(document, "touchmove", this._onTouchMove) : E(document, "mousemove", this._onTouchMove) : (E(f, "dragend", this), E(_, "dragstart", this._onDragStart));
|
|
687
|
-
try {
|
|
688
|
-
document.selection ? Ye(function() {
|
|
689
|
-
document.selection.empty();
|
|
690
|
-
}) : window.getSelection().removeAllRanges();
|
|
691
|
-
} catch {
|
|
692
|
-
}
|
|
693
|
-
},
|
|
694
|
-
_dragStarted: function(e, t) {
|
|
695
|
-
if (ue = !1, _ && f) {
|
|
696
|
-
N("dragStarted", this, {
|
|
697
|
-
evt: t
|
|
698
|
-
}), this.nativeDraggable && E(document, "dragover", qt);
|
|
699
|
-
var o = this.options;
|
|
700
|
-
!e && F(f, o.dragClass, !1), F(f, o.ghostClass, !0), p.active = this, e && this._appendGhost(), P({
|
|
701
|
-
sortable: this,
|
|
702
|
-
name: "start",
|
|
703
|
-
originalEvent: t
|
|
704
|
-
});
|
|
705
|
-
} else
|
|
706
|
-
this._nulling();
|
|
707
|
-
},
|
|
708
|
-
_emulateDragOver: function() {
|
|
709
|
-
if (H) {
|
|
710
|
-
this._lastX = H.clientX, this._lastY = H.clientY, Ct();
|
|
711
|
-
for (var e = document.elementFromPoint(H.clientX, H.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(H.clientX, H.clientY), e !== t); )
|
|
712
|
-
t = e;
|
|
713
|
-
if (f.parentNode[Y]._isOutsideThisEl(e), t)
|
|
714
|
-
do {
|
|
715
|
-
if (t[Y]) {
|
|
716
|
-
var o = void 0;
|
|
717
|
-
if (o = t[Y]._onDragOver({
|
|
718
|
-
clientX: H.clientX,
|
|
719
|
-
clientY: H.clientY,
|
|
720
|
-
target: e,
|
|
721
|
-
rootEl: t
|
|
722
|
-
}), o && !this.options.dragoverBubble)
|
|
723
|
-
break;
|
|
724
|
-
}
|
|
725
|
-
e = t;
|
|
726
|
-
} while (t = t.parentNode);
|
|
727
|
-
Ot();
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
_onTouchMove: function(e) {
|
|
731
|
-
if (ie) {
|
|
732
|
-
var t = this.options, o = t.fallbackTolerance, i = t.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ce(g, !0), l = g && a && a.a, s = g && a && a.d, u = Ne && I && ct(I), d = (r.clientX - ie.clientX + i.x) / (l || 1) + (u ? u[0] - $e[0] : 0) / (l || 1), c = (r.clientY - ie.clientY + i.y) / (s || 1) + (u ? u[1] - $e[1] : 0) / (s || 1);
|
|
733
|
-
if (!p.active && !ue) {
|
|
734
|
-
if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
|
|
735
|
-
return;
|
|
736
|
-
this._onDragStart(e, !0);
|
|
737
|
-
}
|
|
738
|
-
if (g) {
|
|
739
|
-
a ? (a.e += d - (Ue || 0), a.f += c - (qe || 0)) : a = {
|
|
740
|
-
a: 1,
|
|
741
|
-
b: 0,
|
|
742
|
-
c: 0,
|
|
743
|
-
d: 1,
|
|
744
|
-
e: d,
|
|
745
|
-
f: c
|
|
746
|
-
};
|
|
747
|
-
var m = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
|
|
748
|
-
h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), Ue = d, qe = c, H = r;
|
|
749
|
-
}
|
|
750
|
-
e.cancelable && e.preventDefault();
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
_appendGhost: function() {
|
|
754
|
-
if (!g) {
|
|
755
|
-
var e = this.options.fallbackOnBody ? document.body : _, t = C(f, !0, Ne, !0, e), o = this.options;
|
|
756
|
-
if (Ne) {
|
|
757
|
-
for (I = e; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
|
|
758
|
-
I = I.parentNode;
|
|
759
|
-
I !== document.body && I !== document.documentElement ? (I === document && (I = L()), t.top += I.scrollTop, t.left += I.scrollLeft) : I = L(), $e = ct(I);
|
|
760
|
-
}
|
|
761
|
-
g = f.cloneNode(!0), F(g, o.ghostClass, !1), F(g, o.fallbackClass, !0), F(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", t.top), h(g, "left", t.left), h(g, "width", t.width), h(g, "height", t.height), h(g, "opacity", "0.8"), h(g, "position", Ne ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", dt / parseInt(g.style.width) * 100 + "% " + ht / parseInt(g.style.height) * 100 + "%");
|
|
762
|
-
}
|
|
763
|
-
},
|
|
764
|
-
_onDragStart: function(e, t) {
|
|
765
|
-
var o = this, i = e.dataTransfer, r = o.options;
|
|
766
|
-
if (N("dragStart", this, {
|
|
767
|
-
evt: e
|
|
768
|
-
}), p.eventCanceled) {
|
|
769
|
-
this._onDrop();
|
|
770
|
-
return;
|
|
771
|
-
}
|
|
772
|
-
N("setupClone", this), p.eventCanceled || (D = _t(f), D.removeAttribute("id"), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), F(D, this.options.chosenClass, !1), p.clone = D), o.cloneId = Ye(function() {
|
|
773
|
-
N("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || _.insertBefore(D, f), o._hideClone(), P({
|
|
774
|
-
sortable: o,
|
|
775
|
-
name: "clone"
|
|
776
|
-
}));
|
|
777
|
-
}), !t && F(f, r.dragClass, !0), t ? (Be = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (b(document, "mouseup", o._onDrop), b(document, "touchend", o._onDrop), b(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, f)), E(document, "drop", o), h(f, "transform", "translateZ(0)")), ue = !0, o._dragStartId = Ye(o._dragStarted.bind(o, t, e)), E(document, "selectstart", o), be = !0, ye && h(document.body, "user-select", "none");
|
|
778
|
-
},
|
|
779
|
-
_onDragOver: function(e) {
|
|
780
|
-
var t = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = p.active, d = Ae === s, c = l.sort, m = O || u, y, v = this, w = !1;
|
|
781
|
-
if (Je)
|
|
782
|
-
return;
|
|
783
|
-
function R(ve, At) {
|
|
784
|
-
N(ve, v, z({
|
|
785
|
-
evt: e,
|
|
786
|
-
isOwner: d,
|
|
787
|
-
axis: y ? "vertical" : "horizontal",
|
|
788
|
-
revert: a,
|
|
789
|
-
dragRect: i,
|
|
790
|
-
targetRect: r,
|
|
791
|
-
canSort: c,
|
|
792
|
-
fromSortable: m,
|
|
793
|
-
target: o,
|
|
794
|
-
completed: A,
|
|
795
|
-
onMove: function(at, Pt) {
|
|
796
|
-
return xe(_, t, f, i, at, C(at), e, Pt);
|
|
797
|
-
},
|
|
798
|
-
changed: B
|
|
799
|
-
}, At));
|
|
800
|
-
}
|
|
801
|
-
function j() {
|
|
802
|
-
R("dragOverAnimationCapture"), v.captureAnimationState(), v !== m && m.captureAnimationState();
|
|
803
|
-
}
|
|
804
|
-
function A(ve) {
|
|
805
|
-
return R("dragOverCompleted", {
|
|
806
|
-
insertion: ve
|
|
807
|
-
}), ve && (d ? u._hideClone() : u._showClone(v), v !== m && (F(f, O ? O.options.ghostClass : u.options.ghostClass, !1), F(f, l.ghostClass, !0)), O !== v && v !== p.active ? O = v : v === p.active && O && (O = null), m === v && (v._ignoreWhileAnimating = o), v.animateAll(function() {
|
|
808
|
-
R("dragOverAnimationComplete"), v._ignoreWhileAnimating = null;
|
|
809
|
-
}), v !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === f && !f.animated || o === t && !o.animated) && (se = null), !l.dragoverBubble && !e.rootEl && o !== document && (f.parentNode[Y]._isOutsideThisEl(e.target), !ve && re(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), w = !0;
|
|
810
|
-
}
|
|
811
|
-
function B() {
|
|
812
|
-
X = k(f), Q = k(f, l.draggable), P({
|
|
813
|
-
sortable: v,
|
|
814
|
-
name: "change",
|
|
815
|
-
toEl: t,
|
|
816
|
-
newIndex: X,
|
|
817
|
-
newDraggableIndex: Q,
|
|
818
|
-
originalEvent: e
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = G(o, l.draggable, t, !0), R("dragOver"), p.eventCanceled)
|
|
822
|
-
return w;
|
|
823
|
-
if (f.contains(e.target) || o.animated && o.animatingX && o.animatingY || v._ignoreWhileAnimating === o)
|
|
824
|
-
return A(!1);
|
|
825
|
-
if (Be = !1, u && !l.disabled && (d ? c || (a = S !== _) : O === this || (this.lastPutMode = Ae.checkPull(this, u, f, e)) && s.checkPut(this, u, f, e))) {
|
|
826
|
-
if (y = this._getDirection(e, o) === "vertical", i = C(f), R("dragOverValid"), p.eventCanceled)
|
|
827
|
-
return w;
|
|
828
|
-
if (a)
|
|
829
|
-
return S = _, j(), this._hideClone(), R("revert"), p.eventCanceled || (ae ? _.insertBefore(f, ae) : _.appendChild(f)), A(!0);
|
|
830
|
-
var x = ot(t, l.draggable);
|
|
831
|
-
if (!x || Zt(e, y, this) && !x.animated) {
|
|
832
|
-
if (x === f)
|
|
833
|
-
return A(!1);
|
|
834
|
-
if (x && t === e.target && (o = x), o && (r = C(o)), xe(_, t, f, i, o, r, e, !!o) !== !1)
|
|
835
|
-
return j(), x && x.nextSibling ? t.insertBefore(f, x.nextSibling) : t.appendChild(f), S = t, B(), A(!0);
|
|
836
|
-
} else if (x && Kt(e, y, this)) {
|
|
837
|
-
var te = de(t, 0, l, !0);
|
|
838
|
-
if (te === f)
|
|
839
|
-
return A(!1);
|
|
840
|
-
if (o = te, r = C(o), xe(_, t, f, i, o, r, e, !1) !== !1)
|
|
841
|
-
return j(), t.insertBefore(f, te), S = t, B(), A(!0);
|
|
842
|
-
} else if (o.parentNode === t) {
|
|
843
|
-
r = C(o);
|
|
844
|
-
var W = 0, ne, he = f.parentNode !== t, M = !jt(f.animated && f.toRect || i, o.animated && o.toRect || r, y), pe = y ? "top" : "left", K = ft(o, "top", "top") || ft(f, "top", "top"), ge = K ? K.scrollTop : void 0;
|
|
845
|
-
se !== o && (ne = r[pe], Te = !1, Pe = !M && l.invertSwap || he), W = Qt(e, o, r, y, M ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Pe, se === o);
|
|
846
|
-
var U;
|
|
847
|
-
if (W !== 0) {
|
|
848
|
-
var oe = k(f);
|
|
849
|
-
do
|
|
850
|
-
oe -= W, U = S.children[oe];
|
|
851
|
-
while (U && (h(U, "display") === "none" || U === g));
|
|
852
|
-
}
|
|
853
|
-
if (W === 0 || U === o)
|
|
854
|
-
return A(!1);
|
|
855
|
-
se = o, Se = W;
|
|
856
|
-
var me = o.nextElementSibling, Z = !1;
|
|
857
|
-
Z = W === 1;
|
|
858
|
-
var Ie = xe(_, t, f, i, o, r, e, Z);
|
|
859
|
-
if (Ie !== !1)
|
|
860
|
-
return (Ie === 1 || Ie === -1) && (Z = Ie === 1), Je = !0, setTimeout(Vt, 30), j(), Z && !me ? t.appendChild(f) : o.parentNode.insertBefore(f, Z ? me : o), K && yt(K, 0, ge - K.scrollTop), S = f.parentNode, ne !== void 0 && !Pe && (Xe = Math.abs(ne - C(o)[pe])), B(), A(!0);
|
|
861
|
-
}
|
|
862
|
-
if (t.contains(f))
|
|
863
|
-
return A(!1);
|
|
864
|
-
}
|
|
865
|
-
return !1;
|
|
866
|
-
},
|
|
867
|
-
_ignoreWhileAnimating: null,
|
|
868
|
-
_offMoveEvents: function() {
|
|
869
|
-
b(document, "mousemove", this._onTouchMove), b(document, "touchmove", this._onTouchMove), b(document, "pointermove", this._onTouchMove), b(document, "dragover", re), b(document, "mousemove", re), b(document, "touchmove", re);
|
|
870
|
-
},
|
|
871
|
-
_offUpEvents: function() {
|
|
872
|
-
var e = this.el.ownerDocument;
|
|
873
|
-
b(e, "mouseup", this._onDrop), b(e, "touchend", this._onDrop), b(e, "pointerup", this._onDrop), b(e, "touchcancel", this._onDrop), b(document, "selectstart", this);
|
|
874
|
-
},
|
|
875
|
-
_onDrop: function(e) {
|
|
876
|
-
var t = this.el, o = this.options;
|
|
877
|
-
if (X = k(f), Q = k(f, o.draggable), N("drop", this, {
|
|
878
|
-
evt: e
|
|
879
|
-
}), S = f && f.parentNode, X = k(f), Q = k(f, o.draggable), p.eventCanceled) {
|
|
880
|
-
this._nulling();
|
|
881
|
-
return;
|
|
882
|
-
}
|
|
883
|
-
ue = !1, Pe = !1, Te = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), et(this.cloneId), et(this._dragStartId), this.nativeDraggable && (b(document, "drop", this), b(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ye && h(document.body, "user-select", ""), h(f, "transform", ""), e && (be && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (_ === S || O && O.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), f && (this.nativeDraggable && b(f, "dragend", this), Ve(f), f.style["will-change"] = "", be && !ue && F(f, O ? O.options.ghostClass : this.options.ghostClass, !1), F(f, this.options.chosenClass, !1), P({
|
|
884
|
-
sortable: this,
|
|
885
|
-
name: "unchoose",
|
|
886
|
-
toEl: S,
|
|
887
|
-
newIndex: null,
|
|
888
|
-
newDraggableIndex: null,
|
|
889
|
-
originalEvent: e
|
|
890
|
-
}), _ !== S ? (X >= 0 && (P({
|
|
891
|
-
rootEl: S,
|
|
892
|
-
name: "add",
|
|
893
|
-
toEl: S,
|
|
894
|
-
fromEl: _,
|
|
895
|
-
originalEvent: e
|
|
896
|
-
}), P({
|
|
897
|
-
sortable: this,
|
|
898
|
-
name: "remove",
|
|
899
|
-
toEl: S,
|
|
900
|
-
originalEvent: e
|
|
901
|
-
}), P({
|
|
902
|
-
rootEl: S,
|
|
903
|
-
name: "sort",
|
|
904
|
-
toEl: S,
|
|
905
|
-
fromEl: _,
|
|
906
|
-
originalEvent: e
|
|
907
|
-
}), P({
|
|
908
|
-
sortable: this,
|
|
909
|
-
name: "sort",
|
|
910
|
-
toEl: S,
|
|
911
|
-
originalEvent: e
|
|
912
|
-
})), O && O.save()) : X !== fe && X >= 0 && (P({
|
|
913
|
-
sortable: this,
|
|
914
|
-
name: "update",
|
|
915
|
-
toEl: S,
|
|
916
|
-
originalEvent: e
|
|
917
|
-
}), P({
|
|
918
|
-
sortable: this,
|
|
919
|
-
name: "sort",
|
|
920
|
-
toEl: S,
|
|
921
|
-
originalEvent: e
|
|
922
|
-
})), p.active && ((X == null || X === -1) && (X = fe, Q = De), P({
|
|
923
|
-
sortable: this,
|
|
924
|
-
name: "end",
|
|
925
|
-
toEl: S,
|
|
926
|
-
originalEvent: e
|
|
927
|
-
}), this.save()))), this._nulling();
|
|
928
|
-
},
|
|
929
|
-
_nulling: function() {
|
|
930
|
-
N("nulling", this), _ = f = S = g = ae = D = Fe = J = ie = H = be = X = Q = fe = De = se = Se = O = Ae = p.dragged = p.ghost = p.clone = p.active = null, We.forEach(function(e) {
|
|
931
|
-
e.checked = !0;
|
|
932
|
-
}), We.length = Ue = qe = 0;
|
|
933
|
-
},
|
|
934
|
-
handleEvent: function(e) {
|
|
935
|
-
switch (e.type) {
|
|
936
|
-
case "drop":
|
|
937
|
-
case "dragend":
|
|
938
|
-
this._onDrop(e);
|
|
939
|
-
break;
|
|
940
|
-
case "dragenter":
|
|
941
|
-
case "dragover":
|
|
942
|
-
f && (this._onDragOver(e), $t(e));
|
|
943
|
-
break;
|
|
944
|
-
case "selectstart":
|
|
945
|
-
e.preventDefault();
|
|
946
|
-
break;
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
toArray: function() {
|
|
950
|
-
for (var e = [], t, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
|
|
951
|
-
t = o[i], G(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || en(t));
|
|
952
|
-
return e;
|
|
953
|
-
},
|
|
954
|
-
sort: function(e, t) {
|
|
955
|
-
var o = {}, i = this.el;
|
|
956
|
-
this.toArray().forEach(function(r, a) {
|
|
957
|
-
var l = i.children[a];
|
|
958
|
-
G(l, this.options.draggable, i, !1) && (o[r] = l);
|
|
959
|
-
}, this), t && this.captureAnimationState(), e.forEach(function(r) {
|
|
960
|
-
o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
|
|
961
|
-
}), t && this.animateAll();
|
|
962
|
-
},
|
|
963
|
-
save: function() {
|
|
964
|
-
var e = this.options.store;
|
|
965
|
-
e && e.set && e.set(this);
|
|
966
|
-
},
|
|
967
|
-
closest: function(e, t) {
|
|
968
|
-
return G(e, t || this.options.draggable, this.el, !1);
|
|
969
|
-
},
|
|
970
|
-
option: function(e, t) {
|
|
971
|
-
var o = this.options;
|
|
972
|
-
if (t === void 0)
|
|
973
|
-
return o[e];
|
|
974
|
-
var i = Oe.modifyOption(this, e, t);
|
|
975
|
-
typeof i < "u" ? o[e] = i : o[e] = t, e === "group" && Tt(o);
|
|
976
|
-
},
|
|
977
|
-
destroy: function() {
|
|
978
|
-
N("destroy", this);
|
|
979
|
-
var e = this.el;
|
|
980
|
-
e[Y] = null, b(e, "mousedown", this._onTapStart), b(e, "touchstart", this._onTapStart), b(e, "pointerdown", this._onTapStart), this.nativeDraggable && (b(e, "dragover", this), b(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
|
|
981
|
-
t.removeAttribute("draggable");
|
|
982
|
-
}), this._onDrop(), this._disableDelayedDragEvents(), He.splice(He.indexOf(this.el), 1), this.el = e = null;
|
|
983
|
-
},
|
|
984
|
-
_hideClone: function() {
|
|
985
|
-
if (!J) {
|
|
986
|
-
if (N("hideClone", this), p.eventCanceled)
|
|
987
|
-
return;
|
|
988
|
-
h(D, "display", "none"), this.options.removeCloneOnHide && D.parentNode && D.parentNode.removeChild(D), J = !0;
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
_showClone: function(e) {
|
|
992
|
-
if (e.lastPutMode !== "clone") {
|
|
993
|
-
this._hideClone();
|
|
994
|
-
return;
|
|
995
|
-
}
|
|
996
|
-
if (J) {
|
|
997
|
-
if (N("showClone", this), p.eventCanceled)
|
|
998
|
-
return;
|
|
999
|
-
f.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(D, f) : ae ? _.insertBefore(D, ae) : _.appendChild(D), this.options.group.revertClone && this.animate(f, D), h(D, "display", ""), J = !1;
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
};
|
|
1003
|
-
function $t(n) {
|
|
1004
|
-
n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
|
|
1005
|
-
}
|
|
1006
|
-
function xe(n, e, t, o, i, r, a, l) {
|
|
1007
|
-
var s, u = n[Y], d = u.options.onMove, c;
|
|
1008
|
-
return window.CustomEvent && !V && !Ce ? s = new CustomEvent("move", {
|
|
1009
|
-
bubbles: !0,
|
|
1010
|
-
cancelable: !0
|
|
1011
|
-
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = n, s.dragged = t, s.draggedRect = o, s.related = i || e, s.relatedRect = r || C(e), s.willInsertAfter = l, s.originalEvent = a, n.dispatchEvent(s), d && (c = d.call(u, s, a)), c;
|
|
1012
|
-
}
|
|
1013
|
-
function Ve(n) {
|
|
1014
|
-
n.draggable = !1;
|
|
1015
|
-
}
|
|
1016
|
-
function Vt() {
|
|
1017
|
-
Je = !1;
|
|
1018
|
-
}
|
|
1019
|
-
function Kt(n, e, t) {
|
|
1020
|
-
var o = C(de(t.el, 0, t.options, !0)), i = 10;
|
|
1021
|
-
return e ? n.clientX < o.left - i || n.clientY < o.top && n.clientX < o.right : n.clientY < o.top - i || n.clientY < o.bottom && n.clientX < o.left;
|
|
1022
|
-
}
|
|
1023
|
-
function Zt(n, e, t) {
|
|
1024
|
-
var o = C(ot(t.el, t.options.draggable)), i = 10;
|
|
1025
|
-
return e ? n.clientX > o.right + i || n.clientX <= o.right && n.clientY > o.bottom && n.clientX >= o.left : n.clientX > o.right && n.clientY > o.top || n.clientX <= o.right && n.clientY > o.bottom + i;
|
|
1026
|
-
}
|
|
1027
|
-
function Qt(n, e, t, o, i, r, a, l) {
|
|
1028
|
-
var s = o ? n.clientY : n.clientX, u = o ? t.height : t.width, d = o ? t.top : t.left, c = o ? t.bottom : t.right, m = !1;
|
|
1029
|
-
if (!a) {
|
|
1030
|
-
if (l && Xe < u * i) {
|
|
1031
|
-
if (!Te && (Se === 1 ? s > d + u * r / 2 : s < c - u * r / 2) && (Te = !0), Te)
|
|
1032
|
-
m = !0;
|
|
1033
|
-
else if (Se === 1 ? s < d + Xe : s > c - Xe)
|
|
1034
|
-
return -Se;
|
|
1035
|
-
} else if (s > d + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
|
|
1036
|
-
return Jt(e);
|
|
1037
|
-
}
|
|
1038
|
-
return m = m || a, m && (s < d + u * r / 2 || s > c - u * r / 2) ? s > d + u / 2 ? 1 : -1 : 0;
|
|
1039
|
-
}
|
|
1040
|
-
function Jt(n) {
|
|
1041
|
-
return k(f) < k(n) ? 1 : -1;
|
|
1042
|
-
}
|
|
1043
|
-
function en(n) {
|
|
1044
|
-
for (var e = n.tagName + n.className + n.src + n.href + n.textContent, t = e.length, o = 0; t--; )
|
|
1045
|
-
o += e.charCodeAt(t);
|
|
1046
|
-
return o.toString(36);
|
|
1047
|
-
}
|
|
1048
|
-
function tn(n) {
|
|
1049
|
-
We.length = 0;
|
|
1050
|
-
for (var e = n.getElementsByTagName("input"), t = e.length; t--; ) {
|
|
1051
|
-
var o = e[t];
|
|
1052
|
-
o.checked && We.push(o);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
function Ye(n) {
|
|
1056
|
-
return setTimeout(n, 0);
|
|
1057
|
-
}
|
|
1058
|
-
function et(n) {
|
|
1059
|
-
return clearTimeout(n);
|
|
1060
|
-
}
|
|
1061
|
-
Le && E(document, "touchmove", function(n) {
|
|
1062
|
-
(p.active || ue) && n.cancelable && n.preventDefault();
|
|
1063
|
-
});
|
|
1064
|
-
p.utils = {
|
|
1065
|
-
on: E,
|
|
1066
|
-
off: b,
|
|
1067
|
-
css: h,
|
|
1068
|
-
find: Et,
|
|
1069
|
-
is: function(e, t) {
|
|
1070
|
-
return !!G(e, t, e, !1);
|
|
1071
|
-
},
|
|
1072
|
-
extend: kt,
|
|
1073
|
-
throttle: wt,
|
|
1074
|
-
closest: G,
|
|
1075
|
-
toggleClass: F,
|
|
1076
|
-
clone: _t,
|
|
1077
|
-
index: k,
|
|
1078
|
-
nextTick: Ye,
|
|
1079
|
-
cancelNextTick: et,
|
|
1080
|
-
detectDirection: St,
|
|
1081
|
-
getChild: de
|
|
1082
|
-
};
|
|
1083
|
-
p.get = function(n) {
|
|
1084
|
-
return n[Y];
|
|
1085
|
-
};
|
|
1086
|
-
p.mount = function() {
|
|
1087
|
-
for (var n = arguments.length, e = new Array(n), t = 0; t < n; t++)
|
|
1088
|
-
e[t] = arguments[t];
|
|
1089
|
-
e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
|
|
1090
|
-
if (!o.prototype || !o.prototype.constructor)
|
|
1091
|
-
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
1092
|
-
o.utils && (p.utils = z(z({}, p.utils), o.utils)), Oe.mount(o);
|
|
1093
|
-
});
|
|
1094
|
-
};
|
|
1095
|
-
p.create = function(n, e) {
|
|
1096
|
-
return new p(n, e);
|
|
1097
|
-
};
|
|
1098
|
-
p.version = Ft;
|
|
1099
|
-
var T = [], Ee, tt, nt = !1, Ke, Ze, Ge, we;
|
|
1100
|
-
function nn() {
|
|
1101
|
-
function n() {
|
|
1102
|
-
this.defaults = {
|
|
1103
|
-
scroll: !0,
|
|
1104
|
-
forceAutoScrollFallback: !1,
|
|
1105
|
-
scrollSensitivity: 30,
|
|
1106
|
-
scrollSpeed: 10,
|
|
1107
|
-
bubbleScroll: !0
|
|
1108
|
-
};
|
|
1109
|
-
for (var e in this)
|
|
1110
|
-
e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
|
|
1111
|
-
}
|
|
1112
|
-
return n.prototype = {
|
|
1113
|
-
dragStarted: function(t) {
|
|
1114
|
-
var o = t.originalEvent;
|
|
1115
|
-
this.sortable.nativeDraggable ? E(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? E(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? E(document, "touchmove", this._handleFallbackAutoScroll) : E(document, "mousemove", this._handleFallbackAutoScroll);
|
|
1116
|
-
},
|
|
1117
|
-
dragOverCompleted: function(t) {
|
|
1118
|
-
var o = t.originalEvent;
|
|
1119
|
-
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
1120
|
-
},
|
|
1121
|
-
drop: function() {
|
|
1122
|
-
this.sortable.nativeDraggable ? b(document, "dragover", this._handleAutoScroll) : (b(document, "pointermove", this._handleFallbackAutoScroll), b(document, "touchmove", this._handleFallbackAutoScroll), b(document, "mousemove", this._handleFallbackAutoScroll)), gt(), ke(), Rt();
|
|
1123
|
-
},
|
|
1124
|
-
nulling: function() {
|
|
1125
|
-
Ge = tt = Ee = nt = we = Ke = Ze = null, T.length = 0;
|
|
1126
|
-
},
|
|
1127
|
-
_handleFallbackAutoScroll: function(t) {
|
|
1128
|
-
this._handleAutoScroll(t, !0);
|
|
1129
|
-
},
|
|
1130
|
-
_handleAutoScroll: function(t, o) {
|
|
1131
|
-
var i = this, r = (t.touches ? t.touches[0] : t).clientX, a = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(r, a);
|
|
1132
|
-
if (Ge = t, o || this.options.forceAutoScrollFallback || Ce || V || ye) {
|
|
1133
|
-
Qe(t, this.options, l, o);
|
|
1134
|
-
var s = ee(l, !0);
|
|
1135
|
-
nt && (!we || r !== Ke || a !== Ze) && (we && gt(), we = setInterval(function() {
|
|
1136
|
-
var u = ee(document.elementFromPoint(r, a), !0);
|
|
1137
|
-
u !== s && (s = u, ke()), Qe(t, i.options, u, o);
|
|
1138
|
-
}, 10), Ke = r, Ze = a);
|
|
1139
|
-
} else {
|
|
1140
|
-
if (!this.options.bubbleScroll || ee(l, !0) === L()) {
|
|
1141
|
-
ke();
|
|
1142
|
-
return;
|
|
1143
|
-
}
|
|
1144
|
-
Qe(t, this.options, ee(l, !1), !1);
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
}, $(n, {
|
|
1148
|
-
pluginName: "scroll",
|
|
1149
|
-
initializeByDefault: !0
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
function ke() {
|
|
1153
|
-
T.forEach(function(n) {
|
|
1154
|
-
clearInterval(n.pid);
|
|
1155
|
-
}), T = [];
|
|
1156
|
-
}
|
|
1157
|
-
function gt() {
|
|
1158
|
-
clearInterval(we);
|
|
1159
|
-
}
|
|
1160
|
-
var Qe = wt(function(n, e, t, o) {
|
|
1161
|
-
if (!!e.scroll) {
|
|
1162
|
-
var i = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = L(), u = !1, d;
|
|
1163
|
-
tt !== t && (tt = t, ke(), Ee = e.scroll, d = e.scrollFn, Ee === !0 && (Ee = ee(t, !0)));
|
|
1164
|
-
var c = 0, m = Ee;
|
|
1165
|
-
do {
|
|
1166
|
-
var y = m, v = C(y), w = v.top, R = v.bottom, j = v.left, A = v.right, B = v.width, x = v.height, te = void 0, W = void 0, ne = y.scrollWidth, he = y.scrollHeight, M = h(y), pe = y.scrollLeft, K = y.scrollTop;
|
|
1167
|
-
y === s ? (te = B < ne && (M.overflowX === "auto" || M.overflowX === "scroll" || M.overflowX === "visible"), W = x < he && (M.overflowY === "auto" || M.overflowY === "scroll" || M.overflowY === "visible")) : (te = B < ne && (M.overflowX === "auto" || M.overflowX === "scroll"), W = x < he && (M.overflowY === "auto" || M.overflowY === "scroll"));
|
|
1168
|
-
var ge = te && (Math.abs(A - i) <= a && pe + B < ne) - (Math.abs(j - i) <= a && !!pe), U = W && (Math.abs(R - r) <= a && K + x < he) - (Math.abs(w - r) <= a && !!K);
|
|
1169
|
-
if (!T[c])
|
|
1170
|
-
for (var oe = 0; oe <= c; oe++)
|
|
1171
|
-
T[oe] || (T[oe] = {});
|
|
1172
|
-
(T[c].vx != ge || T[c].vy != U || T[c].el !== y) && (T[c].el = y, T[c].vx = ge, T[c].vy = U, clearInterval(T[c].pid), (ge != 0 || U != 0) && (u = !0, T[c].pid = setInterval(function() {
|
|
1173
|
-
o && this.layer === 0 && p.active._onTouchMove(Ge);
|
|
1174
|
-
var me = T[this.layer].vy ? T[this.layer].vy * l : 0, Z = T[this.layer].vx ? T[this.layer].vx * l : 0;
|
|
1175
|
-
typeof d == "function" && d.call(p.dragged.parentNode[Y], Z, me, n, Ge, T[this.layer].el) !== "continue" || yt(T[this.layer].el, Z, me);
|
|
1176
|
-
}.bind({
|
|
1177
|
-
layer: c
|
|
1178
|
-
}), 24))), c++;
|
|
1179
|
-
} while (e.bubbleScroll && m !== s && (m = ee(m, !1)));
|
|
1180
|
-
nt = u;
|
|
1181
|
-
}
|
|
1182
|
-
}, 30), It = function(e) {
|
|
1183
|
-
var t = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
|
|
1184
|
-
if (!!t) {
|
|
1185
|
-
var u = o || r;
|
|
1186
|
-
l();
|
|
1187
|
-
var d = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, c = document.elementFromPoint(d.clientX, d.clientY);
|
|
1188
|
-
s(), u && !u.el.contains(c) && (a("spill"), this.onSpill({
|
|
1189
|
-
dragEl: i,
|
|
1190
|
-
putSortable: o
|
|
1191
|
-
}));
|
|
1192
|
-
}
|
|
1193
|
-
};
|
|
1194
|
-
function it() {
|
|
1195
|
-
}
|
|
1196
|
-
it.prototype = {
|
|
1197
|
-
startIndex: null,
|
|
1198
|
-
dragStart: function(e) {
|
|
1199
|
-
var t = e.oldDraggableIndex;
|
|
1200
|
-
this.startIndex = t;
|
|
1201
|
-
},
|
|
1202
|
-
onSpill: function(e) {
|
|
1203
|
-
var t = e.dragEl, o = e.putSortable;
|
|
1204
|
-
this.sortable.captureAnimationState(), o && o.captureAnimationState();
|
|
1205
|
-
var i = de(this.sortable.el, this.startIndex, this.options);
|
|
1206
|
-
i ? this.sortable.el.insertBefore(t, i) : this.sortable.el.appendChild(t), this.sortable.animateAll(), o && o.animateAll();
|
|
1207
|
-
},
|
|
1208
|
-
drop: It
|
|
1209
|
-
};
|
|
1210
|
-
$(it, {
|
|
1211
|
-
pluginName: "revertOnSpill"
|
|
1212
|
-
});
|
|
1213
|
-
function rt() {
|
|
1214
|
-
}
|
|
1215
|
-
rt.prototype = {
|
|
1216
|
-
onSpill: function(e) {
|
|
1217
|
-
var t = e.dragEl, o = e.putSortable, i = o || this.sortable;
|
|
1218
|
-
i.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), i.animateAll();
|
|
1219
|
-
},
|
|
1220
|
-
drop: It
|
|
1221
|
-
};
|
|
1222
|
-
$(rt, {
|
|
1223
|
-
pluginName: "removeOnSpill"
|
|
1224
|
-
});
|
|
1225
|
-
p.mount(new nn());
|
|
1226
|
-
p.mount(rt, it);
|
|
1227
|
-
export {
|
|
1228
|
-
p as S
|
|
1229
|
-
};
|