@getflip/swirl-components 0.295.0 → 0.296.1

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.
Files changed (1582) hide show
  1. package/components.json +268 -6
  2. package/dist/cjs/file-manager.cjs.entry.js +1 -1
  3. package/dist/cjs/index-1a9a1551.js +4 -4
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{sortable.esm-73cf219b.js → sortable.esm-81a1c837.js} +526 -881
  6. package/dist/cjs/swirl-accordion-item.cjs.entry.js +1 -1
  7. package/dist/cjs/swirl-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/swirl-action-list-section.cjs.entry.js +1 -1
  9. package/dist/cjs/swirl-action-list_2.cjs.entry.js +1 -1
  10. package/dist/cjs/swirl-app-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/swirl-app-layout_5.cjs.entry.js +4 -4
  12. package/dist/cjs/swirl-avatar-group.cjs.entry.js +1 -1
  13. package/dist/cjs/swirl-carousel-slide.cjs.entry.js +1 -1
  14. package/dist/cjs/swirl-color-input.cjs.entry.js +2 -2
  15. package/dist/cjs/swirl-components.cjs.js +1 -1
  16. package/dist/cjs/swirl-console-layout.cjs.entry.js +2 -2
  17. package/dist/cjs/swirl-date-input.cjs.entry.js +1 -1
  18. package/dist/cjs/swirl-date-picker_2.cjs.entry.js +2 -2
  19. package/dist/cjs/swirl-description-list-item.cjs.entry.js +1 -1
  20. package/dist/cjs/swirl-description-list.cjs.entry.js +1 -1
  21. package/dist/cjs/swirl-emoji-clap.cjs.entry.js +1 -1
  22. package/dist/cjs/swirl-emoji-happy.cjs.entry.js +1 -1
  23. package/dist/cjs/swirl-emoji-idea.cjs.entry.js +1 -1
  24. package/dist/cjs/swirl-emoji-love.cjs.entry.js +1 -1
  25. package/dist/cjs/swirl-emoji-sad.cjs.entry.js +1 -1
  26. package/dist/cjs/swirl-emoji-thumbs-up.cjs.entry.js +1 -1
  27. package/dist/cjs/swirl-emoji.cjs.entry.js +1 -1
  28. package/dist/cjs/swirl-file-uploader.cjs.entry.js +2 -2
  29. package/dist/cjs/swirl-file-viewer_8.cjs.entry.js +7 -7
  30. package/dist/cjs/swirl-icon-add-moderator.cjs.entry.js +1 -1
  31. package/dist/cjs/swirl-icon-add-photo.cjs.entry.js +1 -1
  32. package/dist/cjs/swirl-icon-add-reaction.cjs.entry.js +1 -1
  33. package/dist/cjs/swirl-icon-add_6.cjs.entry.js +6 -6
  34. package/dist/cjs/swirl-icon-admin-panel-settings.cjs.entry.js +1 -1
  35. package/dist/cjs/swirl-icon-ai-filled.cjs.entry.js +1 -1
  36. package/dist/cjs/swirl-icon-ai.cjs.entry.js +1 -1
  37. package/dist/cjs/swirl-icon-apps.cjs.entry.js +1 -1
  38. package/dist/cjs/swirl-icon-arrow-back_5.cjs.entry.js +5 -5
  39. package/dist/cjs/swirl-icon-arrow-downward_2.cjs.entry.js +2 -2
  40. package/dist/cjs/swirl-icon-arrow-left_4.cjs.entry.js +3 -3
  41. package/dist/cjs/swirl-icon-arrow-right-small.cjs.entry.js +1 -1
  42. package/dist/cjs/swirl-icon-aspect-ratio.cjs.entry.js +1 -1
  43. package/dist/cjs/swirl-icon-attachment.cjs.entry.js +1 -1
  44. package/dist/cjs/swirl-icon-bar-chart.cjs.entry.js +1 -1
  45. package/dist/cjs/swirl-icon-block.cjs.entry.js +1 -1
  46. package/dist/cjs/swirl-icon-bookmark-filled.cjs.entry.js +1 -1
  47. package/dist/cjs/swirl-icon-bookmark.cjs.entry.js +1 -1
  48. package/dist/cjs/swirl-icon-cancel_4.cjs.entry.js +4 -4
  49. package/dist/cjs/swirl-icon-chat-bubble.cjs.entry.js +1 -1
  50. package/dist/cjs/swirl-icon-chats-filled.cjs.entry.js +1 -1
  51. package/dist/cjs/swirl-icon-chats.cjs.entry.js +1 -1
  52. package/dist/cjs/swirl-icon-check-circle_2.cjs.entry.js +2 -2
  53. package/dist/cjs/{swirl-icon-check-small_3.cjs.entry.js → swirl-icon-check-small_2.cjs.entry.js} +3 -24
  54. package/dist/cjs/swirl-icon-check-strong_2.cjs.entry.js +49 -0
  55. package/dist/cjs/swirl-icon-check.cjs.entry.js +1 -1
  56. package/dist/cjs/swirl-icon-chevron-left.cjs.entry.js +1 -1
  57. package/dist/cjs/swirl-icon-chevron-right.cjs.entry.js +1 -1
  58. package/dist/cjs/swirl-icon-close-small.cjs.entry.js +1 -1
  59. package/dist/cjs/swirl-icon-close.cjs.entry.js +1 -1
  60. package/dist/cjs/swirl-icon-cloud-upload.cjs.entry.js +1 -1
  61. package/dist/cjs/swirl-icon-column.cjs.entry.js +1 -1
  62. package/dist/cjs/swirl-icon-comment.cjs.entry.js +1 -1
  63. package/dist/cjs/swirl-icon-contrast.cjs.entry.js +1 -1
  64. package/dist/cjs/swirl-icon-copy.cjs.entry.js +1 -1
  65. package/dist/cjs/swirl-icon-crop.cjs.entry.js +1 -1
  66. package/dist/cjs/swirl-icon-dark-mode.cjs.entry.js +1 -1
  67. package/dist/cjs/swirl-icon-date-range.cjs.entry.js +1 -1
  68. package/dist/cjs/swirl-icon-delete.cjs.entry.js +1 -1
  69. package/dist/cjs/swirl-icon-deployed-code.cjs.entry.js +1 -1
  70. package/dist/cjs/swirl-icon-description.cjs.entry.js +1 -1
  71. package/dist/cjs/swirl-icon-desktop.cjs.entry.js +1 -1
  72. package/dist/cjs/swirl-icon-directory-filled.cjs.entry.js +1 -1
  73. package/dist/cjs/swirl-icon-directory.cjs.entry.js +1 -1
  74. package/dist/cjs/swirl-icon-discover.cjs.entry.js +1 -1
  75. package/dist/cjs/swirl-icon-dock-left.cjs.entry.js +1 -1
  76. package/dist/cjs/swirl-icon-door-open.cjs.entry.js +1 -1
  77. package/dist/cjs/swirl-icon-dot.cjs.entry.js +1 -1
  78. package/dist/cjs/swirl-icon-double-arrow-right.cjs.entry.js +1 -1
  79. package/dist/cjs/swirl-icon-download.cjs.entry.js +1 -1
  80. package/dist/cjs/swirl-icon-edit.cjs.entry.js +1 -1
  81. package/dist/cjs/swirl-icon-emoji-mood.cjs.entry.js +1 -1
  82. package/dist/cjs/swirl-icon-emoji-satisfied.cjs.entry.js +1 -1
  83. package/dist/cjs/swirl-icon-error_3.cjs.entry.js +1 -1
  84. package/dist/cjs/swirl-icon-expand-more.cjs.entry.js +1 -1
  85. package/dist/cjs/swirl-icon-experiment.cjs.entry.js +1 -1
  86. package/dist/cjs/swirl-icon-file.cjs.entry.js +1 -1
  87. package/dist/cjs/swirl-icon-filter.cjs.entry.js +1 -1
  88. package/dist/cjs/swirl-icon-folder.cjs.entry.js +1 -1
  89. package/dist/cjs/swirl-icon-format-h-one.cjs.entry.js +1 -1
  90. package/dist/cjs/swirl-icon-gif_3.cjs.entry.js +3 -3
  91. package/dist/cjs/swirl-icon-group-add.cjs.entry.js +1 -1
  92. package/dist/cjs/swirl-icon-group-assign.cjs.entry.js +1 -1
  93. package/dist/cjs/swirl-icon-groups-filled.cjs.entry.js +1 -1
  94. package/dist/cjs/swirl-icon-groups.cjs.entry.js +1 -1
  95. package/dist/cjs/swirl-icon-hamburger-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/swirl-icon-help.cjs.entry.js +1 -1
  97. package/dist/cjs/swirl-icon-highlight.cjs.entry.js +1 -1
  98. package/dist/cjs/swirl-icon-history.cjs.entry.js +1 -1
  99. package/dist/cjs/swirl-icon-home.cjs.entry.js +1 -1
  100. package/dist/cjs/swirl-icon-image.cjs.entry.js +1 -1
  101. package/dist/cjs/swirl-icon-improve-text.cjs.entry.js +1 -1
  102. package/dist/cjs/swirl-icon-info.cjs.entry.js +1 -1
  103. package/dist/cjs/swirl-icon-insert-below.cjs.entry.js +1 -1
  104. package/dist/cjs/swirl-icon-insert-on-top.cjs.entry.js +1 -1
  105. package/dist/cjs/swirl-icon-inventory-off.cjs.entry.js +1 -1
  106. package/dist/cjs/swirl-icon-inventory.cjs.entry.js +1 -1
  107. package/dist/cjs/swirl-icon-key.cjs.entry.js +1 -1
  108. package/dist/cjs/swirl-icon-keyboard-hide.cjs.entry.js +1 -1
  109. package/dist/cjs/swirl-icon-keyboard.cjs.entry.js +1 -1
  110. package/dist/cjs/swirl-icon-light-mode.cjs.entry.js +1 -1
  111. package/dist/cjs/swirl-icon-like.cjs.entry.js +1 -1
  112. package/dist/cjs/swirl-icon-link.cjs.entry.js +1 -1
  113. package/dist/cjs/swirl-icon-live.cjs.entry.js +1 -1
  114. package/dist/cjs/swirl-icon-load.cjs.entry.js +1 -1
  115. package/dist/cjs/swirl-icon-lock-open.cjs.entry.js +1 -1
  116. package/dist/cjs/swirl-icon-lock-person.cjs.entry.js +1 -1
  117. package/dist/cjs/swirl-icon-lock.cjs.entry.js +1 -1
  118. package/dist/cjs/swirl-icon-login.cjs.entry.js +1 -1
  119. package/dist/cjs/swirl-icon-logout.cjs.entry.js +1 -1
  120. package/dist/cjs/swirl-icon-long-text.cjs.entry.js +1 -1
  121. package/dist/cjs/swirl-icon-mail.cjs.entry.js +1 -1
  122. package/dist/cjs/swirl-icon-manage-accounts.cjs.entry.js +1 -1
  123. package/dist/cjs/swirl-icon-mark-chat-read.cjs.entry.js +1 -1
  124. package/dist/cjs/swirl-icon-mark-chat-unread.cjs.entry.js +1 -1
  125. package/dist/cjs/swirl-icon-mention.cjs.entry.js +1 -1
  126. package/dist/cjs/swirl-icon-menu-book-filled.cjs.entry.js +1 -1
  127. package/dist/cjs/swirl-icon-menu-filled.cjs.entry.js +1 -1
  128. package/dist/cjs/swirl-icon-menu.cjs.entry.js +1 -1
  129. package/dist/cjs/swirl-icon-message.cjs.entry.js +1 -1
  130. package/dist/cjs/swirl-icon-mic-off.cjs.entry.js +1 -1
  131. package/dist/cjs/swirl-icon-mic.cjs.entry.js +1 -1
  132. package/dist/cjs/swirl-icon-more-horizontal.cjs.entry.js +1 -1
  133. package/dist/cjs/swirl-icon-news-filled.cjs.entry.js +1 -1
  134. package/dist/cjs/swirl-icon-news-off.cjs.entry.js +1 -1
  135. package/dist/cjs/swirl-icon-news.cjs.entry.js +1 -1
  136. package/dist/cjs/swirl-icon-notifications-active.cjs.entry.js +1 -1
  137. package/dist/cjs/swirl-icon-notifications-off.cjs.entry.js +1 -1
  138. package/dist/cjs/swirl-icon-notifications.cjs.entry.js +1 -1
  139. package/dist/cjs/swirl-icon-open-in-full.cjs.entry.js +1 -1
  140. package/dist/cjs/swirl-icon-open-in-new.cjs.entry.js +1 -1
  141. package/dist/cjs/swirl-icon-pause-circle.cjs.entry.js +1 -1
  142. package/dist/cjs/swirl-icon-people-alt.cjs.entry.js +1 -1
  143. package/dist/cjs/swirl-icon-person-off.cjs.entry.js +1 -1
  144. package/dist/cjs/swirl-icon-person.cjs.entry.js +1 -1
  145. package/dist/cjs/swirl-icon-phone.cjs.entry.js +1 -1
  146. package/dist/cjs/swirl-icon-photo-camera.cjs.entry.js +1 -1
  147. package/dist/cjs/swirl-icon-pin-off.cjs.entry.js +1 -1
  148. package/dist/cjs/swirl-icon-pin.cjs.entry.js +1 -1
  149. package/dist/cjs/swirl-icon-place.cjs.entry.js +1 -1
  150. package/dist/cjs/swirl-icon-poll.cjs.entry.js +1 -1
  151. package/dist/cjs/swirl-icon-post-approval.cjs.entry.js +1 -1
  152. package/dist/cjs/swirl-icon-present.cjs.entry.js +1 -1
  153. package/dist/cjs/swirl-icon-print.cjs.entry.js +1 -1
  154. package/dist/cjs/swirl-icon-public-off.cjs.entry.js +1 -1
  155. package/dist/cjs/swirl-icon-public.cjs.entry.js +1 -1
  156. package/dist/cjs/swirl-icon-ratio-four-to-three.cjs.entry.js +1 -1
  157. package/dist/cjs/swirl-icon-ratio-freeform.cjs.entry.js +1 -1
  158. package/dist/cjs/swirl-icon-ratio-sixteen-to-nine.cjs.entry.js +1 -1
  159. package/dist/cjs/swirl-icon-ratio-square.cjs.entry.js +1 -1
  160. package/dist/cjs/swirl-icon-ratio-three-to-four.cjs.entry.js +1 -1
  161. package/dist/cjs/swirl-icon-ratio-three-to-two.cjs.entry.js +1 -1
  162. package/dist/cjs/swirl-icon-recieved.cjs.entry.js +1 -1
  163. package/dist/cjs/swirl-icon-remove-circle.cjs.entry.js +1 -1
  164. package/dist/cjs/swirl-icon-remove-moderator.cjs.entry.js +1 -1
  165. package/dist/cjs/swirl-icon-reply.cjs.entry.js +1 -1
  166. package/dist/cjs/swirl-icon-report.cjs.entry.js +1 -1
  167. package/dist/cjs/swirl-icon-roadmap.cjs.entry.js +1 -1
  168. package/dist/cjs/swirl-icon-rotate-left.cjs.entry.js +1 -1
  169. package/dist/cjs/swirl-icon-rotate-right.cjs.entry.js +1 -1
  170. package/dist/cjs/swirl-icon-screenshare-off.cjs.entry.js +1 -1
  171. package/dist/cjs/swirl-icon-screenshare.cjs.entry.js +1 -1
  172. package/dist/cjs/swirl-icon-search-strong.cjs.entry.js +1 -1
  173. package/dist/cjs/swirl-icon-search.cjs.entry.js +1 -1
  174. package/dist/cjs/swirl-icon-secure.cjs.entry.js +1 -1
  175. package/dist/cjs/swirl-icon-send.cjs.entry.js +1 -1
  176. package/dist/cjs/swirl-icon-settings.cjs.entry.js +1 -1
  177. package/dist/cjs/swirl-icon-short-text.cjs.entry.js +1 -1
  178. package/dist/cjs/swirl-icon-simplify.cjs.entry.js +1 -1
  179. package/dist/cjs/swirl-icon-spellcheck.cjs.entry.js +1 -1
  180. package/dist/cjs/swirl-icon-stars.cjs.entry.js +1 -1
  181. package/dist/cjs/swirl-icon-stop-circle.cjs.entry.js +1 -1
  182. package/dist/cjs/swirl-icon-stop.cjs.entry.js +1 -1
  183. package/dist/cjs/swirl-icon-sync.cjs.entry.js +1 -1
  184. package/dist/cjs/swirl-icon-tasks-filled.cjs.entry.js +1 -1
  185. package/dist/cjs/swirl-icon-tasks.cjs.entry.js +1 -1
  186. package/dist/cjs/swirl-icon-terminal.cjs.entry.js +1 -1
  187. package/dist/cjs/swirl-icon-time-filled.cjs.entry.js +1 -1
  188. package/dist/cjs/swirl-icon-time.cjs.entry.js +1 -1
  189. package/dist/cjs/swirl-icon-today-filled.cjs.entry.js +1 -1
  190. package/dist/cjs/swirl-icon-translate.cjs.entry.js +1 -1
  191. package/dist/cjs/swirl-icon-tree-structure.cjs.entry.js +1 -1
  192. package/dist/cjs/swirl-icon-undo.cjs.entry.js +1 -1
  193. package/dist/cjs/swirl-icon-unlock-person.cjs.entry.js +1 -1
  194. package/dist/cjs/swirl-icon-user-add.cjs.entry.js +1 -1
  195. package/dist/cjs/swirl-icon-user-assign.cjs.entry.js +1 -1
  196. package/dist/cjs/swirl-icon-video-camera-off.cjs.entry.js +1 -1
  197. package/dist/cjs/swirl-icon-video-camera.cjs.entry.js +1 -1
  198. package/dist/cjs/swirl-icon-video-library.cjs.entry.js +1 -1
  199. package/dist/cjs/swirl-icon-video-player.cjs.entry.js +1 -1
  200. package/dist/cjs/swirl-icon-voice.cjs.entry.js +1 -1
  201. package/dist/cjs/swirl-icon-web-asset-off.cjs.entry.js +1 -1
  202. package/dist/cjs/swirl-icon-web-asset.cjs.entry.js +1 -1
  203. package/dist/cjs/swirl-icon-work.cjs.entry.js +1 -1
  204. package/dist/cjs/swirl-image-grid.cjs.entry.js +1 -1
  205. package/dist/cjs/swirl-lightbox.cjs.entry.js +1 -1
  206. package/dist/cjs/swirl-list.cjs.entry.js +1 -1
  207. package/dist/cjs/swirl-menu-item.cjs.entry.js +2 -2
  208. package/dist/cjs/swirl-option-list-section.cjs.entry.js +1 -1
  209. package/dist/cjs/swirl-option-list_2.cjs.entry.js +2 -2
  210. package/dist/cjs/swirl-pdf-reader.cjs.entry.js +3 -3
  211. package/dist/cjs/swirl-popover_2.cjs.entry.js +1 -1
  212. package/dist/cjs/swirl-radio-group.cjs.entry.js +1 -1
  213. package/dist/cjs/swirl-resource-list-file-item.cjs.entry.js +1 -1
  214. package/dist/cjs/swirl-resource-list-section.cjs.entry.js +1 -1
  215. package/dist/cjs/swirl-select.cjs.entry.js +2 -2
  216. package/dist/cjs/swirl-shell-layout.cjs.entry.js +7 -7
  217. package/dist/cjs/swirl-symbol-account-circle.cjs.entry.js +1 -1
  218. package/dist/cjs/swirl-symbol-alternate-email.cjs.entry.js +1 -1
  219. package/dist/cjs/swirl-symbol-android.cjs.entry.js +1 -1
  220. package/dist/cjs/swirl-symbol-announcement.cjs.entry.js +1 -1
  221. package/dist/cjs/swirl-symbol-backup.cjs.entry.js +1 -1
  222. package/dist/cjs/swirl-symbol-beach-access.cjs.entry.js +1 -1
  223. package/dist/cjs/swirl-symbol-bookmark.cjs.entry.js +1 -1
  224. package/dist/cjs/swirl-symbol-cloud.cjs.entry.js +1 -1
  225. package/dist/cjs/swirl-symbol-coronavirus.cjs.entry.js +1 -1
  226. package/dist/cjs/swirl-symbol-desktop-windows.cjs.entry.js +1 -1
  227. package/dist/cjs/swirl-symbol-directions-car-filled.cjs.entry.js +1 -1
  228. package/dist/cjs/swirl-symbol-edit-calendar.cjs.entry.js +1 -1
  229. package/dist/cjs/swirl-symbol-email.cjs.entry.js +1 -1
  230. package/dist/cjs/swirl-symbol-emoji-food-beverage.cjs.entry.js +1 -1
  231. package/dist/cjs/swirl-symbol-event-menu.cjs.entry.js +1 -1
  232. package/dist/cjs/swirl-symbol-facebook.cjs.entry.js +1 -1
  233. package/dist/cjs/swirl-symbol-favorite.cjs.entry.js +1 -1
  234. package/dist/cjs/swirl-symbol-fitness-center.cjs.entry.js +1 -1
  235. package/dist/cjs/swirl-symbol-flag.cjs.entry.js +1 -1
  236. package/dist/cjs/swirl-symbol-folder.cjs.entry.js +1 -1
  237. package/dist/cjs/swirl-symbol-globe.cjs.entry.js +1 -1
  238. package/dist/cjs/swirl-symbol-groups.cjs.entry.js +1 -1
  239. package/dist/cjs/swirl-symbol-help.cjs.entry.js +1 -1
  240. package/dist/cjs/swirl-symbol-image.cjs.entry.js +1 -1
  241. package/dist/cjs/swirl-symbol-info-menu.cjs.entry.js +1 -1
  242. package/dist/cjs/swirl-symbol-instagram.cjs.entry.js +1 -1
  243. package/dist/cjs/swirl-symbol-ios.cjs.entry.js +1 -1
  244. package/dist/cjs/swirl-symbol-language.cjs.entry.js +1 -1
  245. package/dist/cjs/swirl-symbol-leaderboard.cjs.entry.js +1 -1
  246. package/dist/cjs/swirl-symbol-lightbulb.cjs.entry.js +1 -1
  247. package/dist/cjs/swirl-symbol-linkedin.cjs.entry.js +1 -1
  248. package/dist/cjs/swirl-symbol-location-on.cjs.entry.js +1 -1
  249. package/dist/cjs/swirl-symbol-loyalty.cjs.entry.js +1 -1
  250. package/dist/cjs/swirl-symbol-maps-home-work.cjs.entry.js +1 -1
  251. package/dist/cjs/swirl-symbol-notifications.cjs.entry.js +1 -1
  252. package/dist/cjs/swirl-symbol-open-in-new.cjs.entry.js +1 -1
  253. package/dist/cjs/swirl-symbol-pedal-bike.cjs.entry.js +1 -1
  254. package/dist/cjs/swirl-symbol-pinterest.cjs.entry.js +1 -1
  255. package/dist/cjs/swirl-symbol-policy.cjs.entry.js +1 -1
  256. package/dist/cjs/swirl-symbol-push-pin.cjs.entry.js +1 -1
  257. package/dist/cjs/swirl-symbol-redeem.cjs.entry.js +1 -1
  258. package/dist/cjs/swirl-symbol-report-problem.cjs.entry.js +1 -1
  259. package/dist/cjs/swirl-symbol-restaurant.cjs.entry.js +1 -1
  260. package/dist/cjs/swirl-symbol-roadmap.cjs.entry.js +1 -1
  261. package/dist/cjs/swirl-symbol-room.cjs.entry.js +1 -1
  262. package/dist/cjs/swirl-symbol-savings.cjs.entry.js +1 -1
  263. package/dist/cjs/swirl-symbol-settings-voice.cjs.entry.js +1 -1
  264. package/dist/cjs/swirl-symbol-shopping-cart.cjs.entry.js +1 -1
  265. package/dist/cjs/swirl-symbol-smartphone.cjs.entry.js +1 -1
  266. package/dist/cjs/swirl-symbol-star.cjs.entry.js +1 -1
  267. package/dist/cjs/swirl-symbol-supervisor-account.cjs.entry.js +1 -1
  268. package/dist/cjs/swirl-symbol-thumbs-up-down.cjs.entry.js +1 -1
  269. package/dist/cjs/swirl-symbol-twitter.cjs.entry.js +1 -1
  270. package/dist/cjs/swirl-symbol-wb-sunny.cjs.entry.js +1 -1
  271. package/dist/cjs/swirl-symbol-wechat.cjs.entry.js +1 -1
  272. package/dist/cjs/swirl-symbol-weibo.cjs.entry.js +1 -1
  273. package/dist/cjs/swirl-symbol-work.cjs.entry.js +1 -1
  274. package/dist/cjs/swirl-symbol-xing.cjs.entry.js +1 -1
  275. package/dist/cjs/swirl-symbol-youtube.cjs.entry.js +1 -1
  276. package/dist/cjs/swirl-symbol.cjs.entry.js +1 -1
  277. package/dist/cjs/swirl-table-cell.cjs.entry.js +1 -1
  278. package/dist/cjs/swirl-table-row-group.cjs.entry.js +2 -2
  279. package/dist/cjs/swirl-table-row.cjs.entry.js +1 -1
  280. package/dist/cjs/swirl-table.cjs.entry.js +1 -1
  281. package/dist/cjs/swirl-tabs.cjs.entry.js +1 -1
  282. package/dist/cjs/swirl-theme-provider.cjs.entry.js +1 -1
  283. package/dist/cjs/swirl-time-input.cjs.entry.js +1 -1
  284. package/dist/cjs/swirl-toggle-button.cjs.entry.js +1 -1
  285. package/dist/cjs/swirl-toggle-group.cjs.entry.js +1 -1
  286. package/dist/cjs/swirl-tree-navigation-item.cjs.entry.js +3 -3
  287. package/dist/cjs/swirl-tree-navigation.cjs.entry.js +1 -1
  288. package/dist/cjs/swirl-tree-view-item.cjs.entry.js +262 -7
  289. package/dist/cjs/swirl-tree-view.cjs.entry.js +135 -2
  290. package/dist/cjs/swirl-tree-view.config-3e2d459f.js +23 -0
  291. package/dist/cjs/swirl-video-thumbnail.cjs.entry.js +1 -1
  292. package/dist/cjs/swirl-visually-hidden.cjs.entry.js +1 -1
  293. package/dist/collection/collection-manifest.json +2 -2
  294. package/dist/collection/components/swirl-accordion/swirl-accordion.js +1 -1
  295. package/dist/collection/components/swirl-accordion-item/swirl-accordion-item.js +1 -1
  296. package/dist/collection/components/swirl-action-list/swirl-action-list.js +1 -1
  297. package/dist/collection/components/swirl-action-list-section/swirl-action-list-section.js +1 -1
  298. package/dist/collection/components/swirl-app-icon/swirl-app-icon.js +1 -1
  299. package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.js +1 -1
  300. package/dist/collection/components/swirl-carousel-slide/swirl-carousel-slide.js +1 -1
  301. package/dist/collection/components/swirl-color-input/swirl-color-input.js +2 -2
  302. package/dist/collection/components/swirl-console-layout/swirl-console-layout.js +2 -2
  303. package/dist/collection/components/swirl-date-input/swirl-date-input.js +1 -1
  304. package/dist/collection/components/swirl-date-picker/swirl-date-picker.js +1 -1
  305. package/dist/collection/components/swirl-description-list/swirl-description-list.js +1 -1
  306. package/dist/collection/components/swirl-description-list-item/swirl-description-list-item.js +1 -1
  307. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-clap.js +1 -1
  308. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-happy.js +1 -1
  309. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-idea.js +1 -1
  310. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-love.js +1 -1
  311. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-sad.js +1 -1
  312. package/dist/collection/components/swirl-emoji/emojis/swirl-emoji-thumbs-up.js +1 -1
  313. package/dist/collection/components/swirl-emoji/swirl-emoji.js +1 -1
  314. package/dist/collection/components/swirl-empty-state/swirl-empty-state.js +1 -1
  315. package/dist/collection/components/swirl-file-uploader/swirl-file-uploader.js +2 -2
  316. package/dist/collection/components/swirl-file-viewer/swirl-file-viewer.js +1 -1
  317. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-audio/swirl-file-viewer-audio.js +1 -1
  318. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-csv/swirl-file-viewer-csv.js +1 -1
  319. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-fallback/swirl-file-viewer-fallback.js +1 -1
  320. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-image/swirl-file-viewer-image.js +1 -1
  321. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-text/swirl-file-viewer-text.js +1 -1
  322. package/dist/collection/components/swirl-file-viewer/viewers/swirl-file-viewer-video/swirl-file-viewer-video.js +1 -1
  323. package/dist/collection/components/swirl-icon/icons/swirl-icon-add-moderator.js +1 -1
  324. package/dist/collection/components/swirl-icon/icons/swirl-icon-add-photo.js +1 -1
  325. package/dist/collection/components/swirl-icon/icons/swirl-icon-add-reaction.js +1 -1
  326. package/dist/collection/components/swirl-icon/icons/swirl-icon-add.js +1 -1
  327. package/dist/collection/components/swirl-icon/icons/swirl-icon-admin-panel-settings.js +1 -1
  328. package/dist/collection/components/swirl-icon/icons/swirl-icon-ai-filled.js +1 -1
  329. package/dist/collection/components/swirl-icon/icons/swirl-icon-ai.js +1 -1
  330. package/dist/collection/components/swirl-icon/icons/swirl-icon-apps.js +1 -1
  331. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-back.js +1 -1
  332. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-downward.js +1 -1
  333. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-forward.js +1 -1
  334. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-left.js +1 -1
  335. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-right-small.js +1 -1
  336. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-right.js +1 -1
  337. package/dist/collection/components/swirl-icon/icons/swirl-icon-arrow-upward.js +1 -1
  338. package/dist/collection/components/swirl-icon/icons/swirl-icon-aspect-ratio.js +1 -1
  339. package/dist/collection/components/swirl-icon/icons/swirl-icon-attachment.js +1 -1
  340. package/dist/collection/components/swirl-icon/icons/swirl-icon-bar-chart.js +1 -1
  341. package/dist/collection/components/swirl-icon/icons/swirl-icon-block.js +1 -1
  342. package/dist/collection/components/swirl-icon/icons/swirl-icon-bookmark-filled.js +1 -1
  343. package/dist/collection/components/swirl-icon/icons/swirl-icon-bookmark.js +1 -1
  344. package/dist/collection/components/swirl-icon/icons/swirl-icon-cancel.js +1 -1
  345. package/dist/collection/components/swirl-icon/icons/swirl-icon-chat-bubble.js +1 -1
  346. package/dist/collection/components/swirl-icon/icons/swirl-icon-chats-filled.js +1 -1
  347. package/dist/collection/components/swirl-icon/icons/swirl-icon-chats.js +1 -1
  348. package/dist/collection/components/swirl-icon/icons/swirl-icon-check-circle.js +1 -1
  349. package/dist/collection/components/swirl-icon/icons/swirl-icon-check-small.js +1 -1
  350. package/dist/collection/components/swirl-icon/icons/swirl-icon-check-strong.js +1 -1
  351. package/dist/collection/components/swirl-icon/icons/swirl-icon-check.js +1 -1
  352. package/dist/collection/components/swirl-icon/icons/swirl-icon-chevron-left.js +1 -1
  353. package/dist/collection/components/swirl-icon/icons/swirl-icon-chevron-right.js +1 -1
  354. package/dist/collection/components/swirl-icon/icons/swirl-icon-close-small.js +1 -1
  355. package/dist/collection/components/swirl-icon/icons/swirl-icon-close.js +1 -1
  356. package/dist/collection/components/swirl-icon/icons/swirl-icon-cloud-upload.js +1 -1
  357. package/dist/collection/components/swirl-icon/icons/swirl-icon-column.js +1 -1
  358. package/dist/collection/components/swirl-icon/icons/swirl-icon-comment.js +1 -1
  359. package/dist/collection/components/swirl-icon/icons/swirl-icon-contrast.js +1 -1
  360. package/dist/collection/components/swirl-icon/icons/swirl-icon-copy.js +1 -1
  361. package/dist/collection/components/swirl-icon/icons/swirl-icon-crop.js +1 -1
  362. package/dist/collection/components/swirl-icon/icons/swirl-icon-dark-mode.js +1 -1
  363. package/dist/collection/components/swirl-icon/icons/swirl-icon-date-range.js +1 -1
  364. package/dist/collection/components/swirl-icon/icons/swirl-icon-delete.js +1 -1
  365. package/dist/collection/components/swirl-icon/icons/swirl-icon-deployed-code.js +1 -1
  366. package/dist/collection/components/swirl-icon/icons/swirl-icon-description.js +1 -1
  367. package/dist/collection/components/swirl-icon/icons/swirl-icon-desktop.js +1 -1
  368. package/dist/collection/components/swirl-icon/icons/swirl-icon-directory-filled.js +1 -1
  369. package/dist/collection/components/swirl-icon/icons/swirl-icon-directory.js +1 -1
  370. package/dist/collection/components/swirl-icon/icons/swirl-icon-discover.js +1 -1
  371. package/dist/collection/components/swirl-icon/icons/swirl-icon-dock-left-collapse.js +1 -1
  372. package/dist/collection/components/swirl-icon/icons/swirl-icon-dock-left-expand.js +1 -1
  373. package/dist/collection/components/swirl-icon/icons/swirl-icon-dock-left.js +1 -1
  374. package/dist/collection/components/swirl-icon/icons/swirl-icon-door-open.js +1 -1
  375. package/dist/collection/components/swirl-icon/icons/swirl-icon-dot.js +1 -1
  376. package/dist/collection/components/swirl-icon/icons/swirl-icon-double-arrow-left.js +1 -1
  377. package/dist/collection/components/swirl-icon/icons/swirl-icon-double-arrow-right.js +1 -1
  378. package/dist/collection/components/swirl-icon/icons/swirl-icon-download.js +1 -1
  379. package/dist/collection/components/swirl-icon/icons/swirl-icon-drag-handle.js +1 -1
  380. package/dist/collection/components/swirl-icon/icons/swirl-icon-edit.js +1 -1
  381. package/dist/collection/components/swirl-icon/icons/swirl-icon-emoji-mood.js +1 -1
  382. package/dist/collection/components/swirl-icon/icons/swirl-icon-emoji-satisfied.js +1 -1
  383. package/dist/collection/components/swirl-icon/icons/swirl-icon-error.js +1 -1
  384. package/dist/collection/components/swirl-icon/icons/swirl-icon-expand-less.js +1 -1
  385. package/dist/collection/components/swirl-icon/icons/swirl-icon-expand-more.js +1 -1
  386. package/dist/collection/components/swirl-icon/icons/swirl-icon-experiment.js +1 -1
  387. package/dist/collection/components/swirl-icon/icons/swirl-icon-file-copy.js +1 -1
  388. package/dist/collection/components/swirl-icon/icons/swirl-icon-file.js +1 -1
  389. package/dist/collection/components/swirl-icon/icons/swirl-icon-filter.js +1 -1
  390. package/dist/collection/components/swirl-icon/icons/swirl-icon-folder-shared.js +1 -1
  391. package/dist/collection/components/swirl-icon/icons/swirl-icon-folder.js +1 -1
  392. package/dist/collection/components/swirl-icon/icons/swirl-icon-format-h-one.js +1 -1
  393. package/dist/collection/components/swirl-icon/icons/swirl-icon-fullscreen-exit.js +1 -1
  394. package/dist/collection/components/swirl-icon/icons/swirl-icon-fullscreen.js +1 -1
  395. package/dist/collection/components/swirl-icon/icons/swirl-icon-gif.js +1 -1
  396. package/dist/collection/components/swirl-icon/icons/swirl-icon-group-add.js +1 -1
  397. package/dist/collection/components/swirl-icon/icons/swirl-icon-group-assign.js +1 -1
  398. package/dist/collection/components/swirl-icon/icons/swirl-icon-groups-filled.js +1 -1
  399. package/dist/collection/components/swirl-icon/icons/swirl-icon-groups.js +1 -1
  400. package/dist/collection/components/swirl-icon/icons/swirl-icon-hamburger-menu.js +1 -1
  401. package/dist/collection/components/swirl-icon/icons/swirl-icon-help.js +1 -1
  402. package/dist/collection/components/swirl-icon/icons/swirl-icon-highlight.js +1 -1
  403. package/dist/collection/components/swirl-icon/icons/swirl-icon-history.js +1 -1
  404. package/dist/collection/components/swirl-icon/icons/swirl-icon-home.js +1 -1
  405. package/dist/collection/components/swirl-icon/icons/swirl-icon-image.js +1 -1
  406. package/dist/collection/components/swirl-icon/icons/swirl-icon-improve-text.js +1 -1
  407. package/dist/collection/components/swirl-icon/icons/swirl-icon-info.js +1 -1
  408. package/dist/collection/components/swirl-icon/icons/swirl-icon-insert-below.js +1 -1
  409. package/dist/collection/components/swirl-icon/icons/swirl-icon-insert-on-top.js +1 -1
  410. package/dist/collection/components/swirl-icon/icons/swirl-icon-inventory-off.js +1 -1
  411. package/dist/collection/components/swirl-icon/icons/swirl-icon-inventory.js +1 -1
  412. package/dist/collection/components/swirl-icon/icons/swirl-icon-key.js +1 -1
  413. package/dist/collection/components/swirl-icon/icons/swirl-icon-keyboard-hide.js +1 -1
  414. package/dist/collection/components/swirl-icon/icons/swirl-icon-keyboard.js +1 -1
  415. package/dist/collection/components/swirl-icon/icons/swirl-icon-light-mode.js +1 -1
  416. package/dist/collection/components/swirl-icon/icons/swirl-icon-like.js +1 -1
  417. package/dist/collection/components/swirl-icon/icons/swirl-icon-link.js +1 -1
  418. package/dist/collection/components/swirl-icon/icons/swirl-icon-live.js +1 -1
  419. package/dist/collection/components/swirl-icon/icons/swirl-icon-load.js +1 -1
  420. package/dist/collection/components/swirl-icon/icons/swirl-icon-lock-open.js +1 -1
  421. package/dist/collection/components/swirl-icon/icons/swirl-icon-lock-person.js +1 -1
  422. package/dist/collection/components/swirl-icon/icons/swirl-icon-lock.js +1 -1
  423. package/dist/collection/components/swirl-icon/icons/swirl-icon-login.js +1 -1
  424. package/dist/collection/components/swirl-icon/icons/swirl-icon-logout.js +1 -1
  425. package/dist/collection/components/swirl-icon/icons/swirl-icon-long-text.js +1 -1
  426. package/dist/collection/components/swirl-icon/icons/swirl-icon-mail.js +1 -1
  427. package/dist/collection/components/swirl-icon/icons/swirl-icon-manage-accounts.js +1 -1
  428. package/dist/collection/components/swirl-icon/icons/swirl-icon-mark-chat-read.js +1 -1
  429. package/dist/collection/components/swirl-icon/icons/swirl-icon-mark-chat-unread.js +1 -1
  430. package/dist/collection/components/swirl-icon/icons/swirl-icon-mention.js +1 -1
  431. package/dist/collection/components/swirl-icon/icons/swirl-icon-menu-book-filled.js +1 -1
  432. package/dist/collection/components/swirl-icon/icons/swirl-icon-menu-book.js +1 -1
  433. package/dist/collection/components/swirl-icon/icons/swirl-icon-menu-filled.js +1 -1
  434. package/dist/collection/components/swirl-icon/icons/swirl-icon-menu.js +1 -1
  435. package/dist/collection/components/swirl-icon/icons/swirl-icon-message.js +1 -1
  436. package/dist/collection/components/swirl-icon/icons/swirl-icon-mic-off.js +1 -1
  437. package/dist/collection/components/swirl-icon/icons/swirl-icon-mic.js +1 -1
  438. package/dist/collection/components/swirl-icon/icons/swirl-icon-more-horizontal.js +1 -1
  439. package/dist/collection/components/swirl-icon/icons/swirl-icon-more-vertikal.js +1 -1
  440. package/dist/collection/components/swirl-icon/icons/swirl-icon-news-filled.js +1 -1
  441. package/dist/collection/components/swirl-icon/icons/swirl-icon-news-off.js +1 -1
  442. package/dist/collection/components/swirl-icon/icons/swirl-icon-news.js +1 -1
  443. package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications-active.js +1 -1
  444. package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications-off.js +1 -1
  445. package/dist/collection/components/swirl-icon/icons/swirl-icon-notifications.js +1 -1
  446. package/dist/collection/components/swirl-icon/icons/swirl-icon-open-in-full.js +1 -1
  447. package/dist/collection/components/swirl-icon/icons/swirl-icon-open-in-new.js +1 -1
  448. package/dist/collection/components/swirl-icon/icons/swirl-icon-pause-circle.js +1 -1
  449. package/dist/collection/components/swirl-icon/icons/swirl-icon-pause.js +1 -1
  450. package/dist/collection/components/swirl-icon/icons/swirl-icon-people-alt.js +1 -1
  451. package/dist/collection/components/swirl-icon/icons/swirl-icon-person-off.js +1 -1
  452. package/dist/collection/components/swirl-icon/icons/swirl-icon-person.js +1 -1
  453. package/dist/collection/components/swirl-icon/icons/swirl-icon-phone.js +1 -1
  454. package/dist/collection/components/swirl-icon/icons/swirl-icon-photo-camera.js +1 -1
  455. package/dist/collection/components/swirl-icon/icons/swirl-icon-pin-off.js +1 -1
  456. package/dist/collection/components/swirl-icon/icons/swirl-icon-pin.js +1 -1
  457. package/dist/collection/components/swirl-icon/icons/swirl-icon-place.js +1 -1
  458. package/dist/collection/components/swirl-icon/icons/swirl-icon-play-arrow.js +1 -1
  459. package/dist/collection/components/swirl-icon/icons/swirl-icon-poll.js +1 -1
  460. package/dist/collection/components/swirl-icon/icons/swirl-icon-post-approval.js +1 -1
  461. package/dist/collection/components/swirl-icon/icons/swirl-icon-present.js +1 -1
  462. package/dist/collection/components/swirl-icon/icons/swirl-icon-print.js +1 -1
  463. package/dist/collection/components/swirl-icon/icons/swirl-icon-public-off.js +1 -1
  464. package/dist/collection/components/swirl-icon/icons/swirl-icon-public.js +1 -1
  465. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-four-to-three.js +1 -1
  466. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-freeform.js +1 -1
  467. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-sixteen-to-nine.js +1 -1
  468. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-square.js +1 -1
  469. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-three-to-four.js +1 -1
  470. package/dist/collection/components/swirl-icon/icons/swirl-icon-ratio-three-to-two.js +1 -1
  471. package/dist/collection/components/swirl-icon/icons/swirl-icon-recieved.js +1 -1
  472. package/dist/collection/components/swirl-icon/icons/swirl-icon-remove-circle.js +1 -1
  473. package/dist/collection/components/swirl-icon/icons/swirl-icon-remove-moderator.js +1 -1
  474. package/dist/collection/components/swirl-icon/icons/swirl-icon-remove.js +1 -1
  475. package/dist/collection/components/swirl-icon/icons/swirl-icon-reply.js +1 -1
  476. package/dist/collection/components/swirl-icon/icons/swirl-icon-report.js +1 -1
  477. package/dist/collection/components/swirl-icon/icons/swirl-icon-roadmap.js +1 -1
  478. package/dist/collection/components/swirl-icon/icons/swirl-icon-rotate-left.js +1 -1
  479. package/dist/collection/components/swirl-icon/icons/swirl-icon-rotate-right.js +1 -1
  480. package/dist/collection/components/swirl-icon/icons/swirl-icon-screenshare-off.js +1 -1
  481. package/dist/collection/components/swirl-icon/icons/swirl-icon-screenshare.js +1 -1
  482. package/dist/collection/components/swirl-icon/icons/swirl-icon-search-strong.js +1 -1
  483. package/dist/collection/components/swirl-icon/icons/swirl-icon-search.js +1 -1
  484. package/dist/collection/components/swirl-icon/icons/swirl-icon-secure.js +1 -1
  485. package/dist/collection/components/swirl-icon/icons/swirl-icon-send.js +1 -1
  486. package/dist/collection/components/swirl-icon/icons/swirl-icon-settings.js +1 -1
  487. package/dist/collection/components/swirl-icon/icons/swirl-icon-short-text.js +1 -1
  488. package/dist/collection/components/swirl-icon/icons/swirl-icon-simplify.js +1 -1
  489. package/dist/collection/components/swirl-icon/icons/swirl-icon-spellcheck.js +1 -1
  490. package/dist/collection/components/swirl-icon/icons/swirl-icon-stars.js +1 -1
  491. package/dist/collection/components/swirl-icon/icons/swirl-icon-stop-circle.js +1 -1
  492. package/dist/collection/components/swirl-icon/icons/swirl-icon-stop.js +1 -1
  493. package/dist/collection/components/swirl-icon/icons/swirl-icon-sync.js +1 -1
  494. package/dist/collection/components/swirl-icon/icons/swirl-icon-tasks-filled.js +1 -1
  495. package/dist/collection/components/swirl-icon/icons/swirl-icon-tasks.js +1 -1
  496. package/dist/collection/components/swirl-icon/icons/swirl-icon-terminal.js +1 -1
  497. package/dist/collection/components/swirl-icon/icons/swirl-icon-time-filled.js +1 -1
  498. package/dist/collection/components/swirl-icon/icons/swirl-icon-time.js +1 -1
  499. package/dist/collection/components/swirl-icon/icons/swirl-icon-today-filled.js +1 -1
  500. package/dist/collection/components/swirl-icon/icons/swirl-icon-today.js +1 -1
  501. package/dist/collection/components/swirl-icon/icons/swirl-icon-translate.js +1 -1
  502. package/dist/collection/components/swirl-icon/icons/swirl-icon-tree-structure.js +1 -1
  503. package/dist/collection/components/swirl-icon/icons/swirl-icon-undo.js +1 -1
  504. package/dist/collection/components/swirl-icon/icons/swirl-icon-unlock-person.js +1 -1
  505. package/dist/collection/components/swirl-icon/icons/swirl-icon-user-add.js +1 -1
  506. package/dist/collection/components/swirl-icon/icons/swirl-icon-user-assign.js +1 -1
  507. package/dist/collection/components/swirl-icon/icons/swirl-icon-video-camera-off.js +1 -1
  508. package/dist/collection/components/swirl-icon/icons/swirl-icon-video-camera.js +1 -1
  509. package/dist/collection/components/swirl-icon/icons/swirl-icon-video-library.js +1 -1
  510. package/dist/collection/components/swirl-icon/icons/swirl-icon-video-player.js +1 -1
  511. package/dist/collection/components/swirl-icon/icons/swirl-icon-visibility-off.js +1 -1
  512. package/dist/collection/components/swirl-icon/icons/swirl-icon-visibility.js +1 -1
  513. package/dist/collection/components/swirl-icon/icons/swirl-icon-voice.js +1 -1
  514. package/dist/collection/components/swirl-icon/icons/swirl-icon-warning.js +1 -1
  515. package/dist/collection/components/swirl-icon/icons/swirl-icon-web-asset-off.js +1 -1
  516. package/dist/collection/components/swirl-icon/icons/swirl-icon-web-asset.js +1 -1
  517. package/dist/collection/components/swirl-icon/icons/swirl-icon-work.js +1 -1
  518. package/dist/collection/components/swirl-image-grid/swirl-image-grid.js +1 -1
  519. package/dist/collection/components/swirl-lightbox/swirl-lightbox.js +1 -1
  520. package/dist/collection/components/swirl-list/swirl-list.js +1 -1
  521. package/dist/collection/components/swirl-menu-item/swirl-menu-item.js +2 -2
  522. package/dist/collection/components/swirl-option-list/swirl-option-list.js +1 -1
  523. package/dist/collection/components/swirl-option-list-section/swirl-option-list-section.js +1 -1
  524. package/dist/collection/components/swirl-pdf-reader/swirl-pdf-reader.js +3 -3
  525. package/dist/collection/components/swirl-popover-trigger/swirl-popover-trigger.js +1 -1
  526. package/dist/collection/components/swirl-radio-group/swirl-radio-group.js +1 -1
  527. package/dist/collection/components/swirl-resource-list/swirl-resource-list.js +1 -1
  528. package/dist/collection/components/swirl-resource-list-file-item/swirl-resource-list-file-item.js +1 -1
  529. package/dist/collection/components/swirl-resource-list-section/swirl-resource-list-section.js +1 -1
  530. package/dist/collection/components/swirl-select/swirl-select.js +2 -2
  531. package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.js +7 -7
  532. package/dist/collection/components/swirl-symbol/swirl-symbol.js +1 -1
  533. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-account-circle.js +1 -1
  534. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-alternate-email.js +1 -1
  535. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-android.js +1 -1
  536. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-announcement.js +1 -1
  537. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-backup.js +1 -1
  538. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-beach-access.js +1 -1
  539. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-bookmark.js +1 -1
  540. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-cloud.js +1 -1
  541. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-coronavirus.js +1 -1
  542. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-desktop-windows.js +1 -1
  543. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-directions-car-filled.js +1 -1
  544. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-edit-calendar.js +1 -1
  545. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-email.js +1 -1
  546. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-emoji-food-beverage.js +1 -1
  547. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-event-menu.js +1 -1
  548. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-facebook.js +1 -1
  549. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-favorite.js +1 -1
  550. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-fitness-center.js +1 -1
  551. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-flag.js +1 -1
  552. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-folder.js +1 -1
  553. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-globe.js +1 -1
  554. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-groups.js +1 -1
  555. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-help.js +1 -1
  556. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-image.js +1 -1
  557. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-info-menu.js +1 -1
  558. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-instagram.js +1 -1
  559. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-ios.js +1 -1
  560. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-language.js +1 -1
  561. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-leaderboard.js +1 -1
  562. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-lightbulb.js +1 -1
  563. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-linkedin.js +1 -1
  564. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-location-on.js +1 -1
  565. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-loyalty.js +1 -1
  566. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-maps-home-work.js +1 -1
  567. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-notifications.js +1 -1
  568. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-open-in-new.js +1 -1
  569. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-pedal-bike.js +1 -1
  570. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-pinterest.js +1 -1
  571. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-policy.js +1 -1
  572. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-push-pin.js +1 -1
  573. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-redeem.js +1 -1
  574. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-report-problem.js +1 -1
  575. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-restaurant.js +1 -1
  576. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-roadmap.js +1 -1
  577. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-room.js +1 -1
  578. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-savings.js +1 -1
  579. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-settings-voice.js +1 -1
  580. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-shopping-cart.js +1 -1
  581. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-smartphone.js +1 -1
  582. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-star.js +1 -1
  583. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-supervisor-account.js +1 -1
  584. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-thumbs-up-down.js +1 -1
  585. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-twitter.js +1 -1
  586. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-wb-sunny.js +1 -1
  587. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-wechat.js +1 -1
  588. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-weibo.js +1 -1
  589. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-work.js +1 -1
  590. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-xing.js +1 -1
  591. package/dist/collection/components/swirl-symbol/symbols/swirl-symbol-youtube.js +1 -1
  592. package/dist/collection/components/swirl-table/swirl-table.js +1 -1
  593. package/dist/collection/components/swirl-table-cell/swirl-table-cell.js +1 -1
  594. package/dist/collection/components/swirl-table-row/swirl-table-row.js +1 -1
  595. package/dist/collection/components/swirl-table-row-group/swirl-table-row-group.js +2 -2
  596. package/dist/collection/components/swirl-tabs/swirl-tabs.js +1 -1
  597. package/dist/collection/components/swirl-theme-provider/swirl-theme-provider.js +1 -1
  598. package/dist/collection/components/swirl-time-input/swirl-time-input.js +1 -1
  599. package/dist/collection/components/swirl-toggle-button/swirl-toggle-button.js +1 -1
  600. package/dist/collection/components/swirl-toggle-group/swirl-toggle-group.js +1 -1
  601. package/dist/collection/components/swirl-tree-navigation/swirl-tree-navigation.js +1 -1
  602. package/dist/collection/components/swirl-tree-navigation-item/swirl-tree-navigation-item.js +3 -3
  603. package/dist/collection/components/swirl-tree-view/swirl-tree-view.config.js +19 -0
  604. package/dist/collection/components/swirl-tree-view/swirl-tree-view.css +20 -3
  605. package/dist/collection/components/swirl-tree-view/swirl-tree-view.js +259 -3
  606. package/dist/collection/components/swirl-tree-view/swirl-tree-view.spec.js +159 -161
  607. package/dist/collection/components/swirl-tree-view/swirl-tree-view.stories.js +15 -10
  608. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.css +66 -4
  609. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.js +364 -8
  610. package/dist/collection/components/swirl-tree-view-item/swirl-tree-view-item.spec.js +1 -1
  611. package/dist/collection/components/swirl-video-thumbnail/swirl-video-thumbnail.js +1 -1
  612. package/dist/collection/components/swirl-visually-hidden/swirl-visually-hidden.js +1 -1
  613. package/dist/collection/prototypes/file-manager/file-manager.js +1 -1
  614. package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
  615. package/dist/components/file-manager.js +1 -1
  616. package/dist/components/sortable.esm.js +526 -881
  617. package/dist/components/swirl-accordion-item.js +1 -1
  618. package/dist/components/swirl-accordion.js +1 -1
  619. package/dist/components/swirl-action-list-section.js +1 -1
  620. package/dist/components/swirl-action-list2.js +1 -1
  621. package/dist/components/swirl-app-icon.js +1 -1
  622. package/dist/components/swirl-avatar-group.js +1 -1
  623. package/dist/components/swirl-carousel-slide.js +1 -1
  624. package/dist/components/swirl-color-input.js +2 -2
  625. package/dist/components/swirl-console-layout.js +2 -2
  626. package/dist/components/swirl-date-input.js +1 -1
  627. package/dist/components/swirl-date-picker2.js +1 -1
  628. package/dist/components/swirl-description-list-item.js +1 -1
  629. package/dist/components/swirl-description-list.js +1 -1
  630. package/dist/components/swirl-emoji-clap.js +1 -1
  631. package/dist/components/swirl-emoji-happy.js +1 -1
  632. package/dist/components/swirl-emoji-idea.js +1 -1
  633. package/dist/components/swirl-emoji-love.js +1 -1
  634. package/dist/components/swirl-emoji-sad.js +1 -1
  635. package/dist/components/swirl-emoji-thumbs-up.js +1 -1
  636. package/dist/components/swirl-emoji.js +1 -1
  637. package/dist/components/swirl-empty-state2.js +1 -1
  638. package/dist/components/swirl-file-uploader.js +2 -2
  639. package/dist/components/swirl-file-viewer-audio2.js +1 -1
  640. package/dist/components/swirl-file-viewer-csv2.js +1 -1
  641. package/dist/components/swirl-file-viewer-fallback2.js +1 -1
  642. package/dist/components/swirl-file-viewer-image2.js +1 -1
  643. package/dist/components/swirl-file-viewer-text2.js +1 -1
  644. package/dist/components/swirl-file-viewer-video2.js +1 -1
  645. package/dist/components/swirl-file-viewer2.js +1 -1
  646. package/dist/components/swirl-icon-add-moderator.js +1 -1
  647. package/dist/components/swirl-icon-add-photo.js +1 -1
  648. package/dist/components/swirl-icon-add-reaction.js +1 -1
  649. package/dist/components/swirl-icon-add2.js +1 -1
  650. package/dist/components/swirl-icon-admin-panel-settings.js +1 -1
  651. package/dist/components/swirl-icon-ai-filled.js +1 -1
  652. package/dist/components/swirl-icon-ai.js +1 -1
  653. package/dist/components/swirl-icon-apps.js +1 -1
  654. package/dist/components/swirl-icon-arrow-back2.js +1 -1
  655. package/dist/components/swirl-icon-arrow-downward2.js +1 -1
  656. package/dist/components/swirl-icon-arrow-forward2.js +1 -1
  657. package/dist/components/swirl-icon-arrow-left2.js +1 -1
  658. package/dist/components/swirl-icon-arrow-right-small.js +1 -1
  659. package/dist/components/swirl-icon-arrow-right2.js +1 -1
  660. package/dist/components/swirl-icon-arrow-upward2.js +1 -1
  661. package/dist/components/swirl-icon-aspect-ratio.js +1 -1
  662. package/dist/components/swirl-icon-attachment.js +1 -1
  663. package/dist/components/swirl-icon-bar-chart.js +1 -1
  664. package/dist/components/swirl-icon-block.js +1 -1
  665. package/dist/components/swirl-icon-bookmark-filled.js +1 -1
  666. package/dist/components/swirl-icon-bookmark.js +1 -1
  667. package/dist/components/swirl-icon-cancel2.js +1 -1
  668. package/dist/components/swirl-icon-chat-bubble.js +1 -1
  669. package/dist/components/swirl-icon-chats-filled.js +1 -1
  670. package/dist/components/swirl-icon-chats.js +1 -1
  671. package/dist/components/swirl-icon-check-circle2.js +1 -1
  672. package/dist/components/swirl-icon-check-small2.js +1 -1
  673. package/dist/components/swirl-icon-check-strong2.js +1 -1
  674. package/dist/components/swirl-icon-check.js +1 -1
  675. package/dist/components/swirl-icon-chevron-left.js +1 -1
  676. package/dist/components/swirl-icon-chevron-right2.js +1 -1
  677. package/dist/components/swirl-icon-close-small.js +1 -1
  678. package/dist/components/swirl-icon-close2.js +1 -1
  679. package/dist/components/swirl-icon-cloud-upload2.js +1 -1
  680. package/dist/components/swirl-icon-column.js +1 -1
  681. package/dist/components/swirl-icon-comment.js +1 -1
  682. package/dist/components/swirl-icon-contrast.js +1 -1
  683. package/dist/components/swirl-icon-copy.js +1 -1
  684. package/dist/components/swirl-icon-crop.js +1 -1
  685. package/dist/components/swirl-icon-dark-mode.js +1 -1
  686. package/dist/components/swirl-icon-date-range.js +1 -1
  687. package/dist/components/swirl-icon-delete.js +1 -1
  688. package/dist/components/swirl-icon-deployed-code.js +1 -1
  689. package/dist/components/swirl-icon-description.js +1 -1
  690. package/dist/components/swirl-icon-desktop.js +1 -1
  691. package/dist/components/swirl-icon-directory-filled.js +1 -1
  692. package/dist/components/swirl-icon-directory.js +1 -1
  693. package/dist/components/swirl-icon-discover.js +1 -1
  694. package/dist/components/swirl-icon-dock-left-collapse2.js +1 -1
  695. package/dist/components/swirl-icon-dock-left-expand2.js +1 -1
  696. package/dist/components/swirl-icon-dock-left.js +1 -1
  697. package/dist/components/swirl-icon-door-open.js +1 -1
  698. package/dist/components/swirl-icon-dot.js +1 -1
  699. package/dist/components/swirl-icon-double-arrow-left2.js +1 -1
  700. package/dist/components/swirl-icon-double-arrow-right.js +1 -1
  701. package/dist/components/swirl-icon-download.js +1 -1
  702. package/dist/components/swirl-icon-drag-handle2.js +1 -1
  703. package/dist/components/swirl-icon-edit.js +1 -1
  704. package/dist/components/swirl-icon-emoji-mood.js +1 -1
  705. package/dist/components/swirl-icon-emoji-satisfied.js +1 -1
  706. package/dist/components/swirl-icon-error2.js +1 -1
  707. package/dist/components/swirl-icon-expand-less2.js +1 -1
  708. package/dist/components/swirl-icon-expand-more2.js +1 -1
  709. package/dist/components/swirl-icon-experiment.js +1 -1
  710. package/dist/components/swirl-icon-file-copy2.js +1 -1
  711. package/dist/components/swirl-icon-file2.js +1 -1
  712. package/dist/components/swirl-icon-filter.js +1 -1
  713. package/dist/components/swirl-icon-folder-shared2.js +1 -1
  714. package/dist/components/swirl-icon-folder.js +1 -1
  715. package/dist/components/swirl-icon-format-h-one.js +1 -1
  716. package/dist/components/swirl-icon-fullscreen-exit2.js +1 -1
  717. package/dist/components/swirl-icon-fullscreen2.js +1 -1
  718. package/dist/components/swirl-icon-gif2.js +1 -1
  719. package/dist/components/swirl-icon-group-add.js +1 -1
  720. package/dist/components/swirl-icon-group-assign.js +1 -1
  721. package/dist/components/swirl-icon-groups-filled.js +1 -1
  722. package/dist/components/swirl-icon-groups.js +1 -1
  723. package/dist/components/swirl-icon-hamburger-menu.js +1 -1
  724. package/dist/components/swirl-icon-help2.js +1 -1
  725. package/dist/components/swirl-icon-highlight.js +1 -1
  726. package/dist/components/swirl-icon-history.js +1 -1
  727. package/dist/components/swirl-icon-home.js +1 -1
  728. package/dist/components/swirl-icon-image.js +1 -1
  729. package/dist/components/swirl-icon-improve-text.js +1 -1
  730. package/dist/components/swirl-icon-info2.js +1 -1
  731. package/dist/components/swirl-icon-insert-below.js +1 -1
  732. package/dist/components/swirl-icon-insert-on-top.js +1 -1
  733. package/dist/components/swirl-icon-inventory-off.js +1 -1
  734. package/dist/components/swirl-icon-inventory.js +1 -1
  735. package/dist/components/swirl-icon-key.js +1 -1
  736. package/dist/components/swirl-icon-keyboard-hide.js +1 -1
  737. package/dist/components/swirl-icon-keyboard.js +1 -1
  738. package/dist/components/swirl-icon-light-mode.js +1 -1
  739. package/dist/components/swirl-icon-like.js +1 -1
  740. package/dist/components/swirl-icon-link.js +1 -1
  741. package/dist/components/swirl-icon-live.js +1 -1
  742. package/dist/components/swirl-icon-load.js +1 -1
  743. package/dist/components/swirl-icon-lock-open.js +1 -1
  744. package/dist/components/swirl-icon-lock-person.js +1 -1
  745. package/dist/components/swirl-icon-lock.js +1 -1
  746. package/dist/components/swirl-icon-login.js +1 -1
  747. package/dist/components/swirl-icon-logout.js +1 -1
  748. package/dist/components/swirl-icon-long-text.js +1 -1
  749. package/dist/components/swirl-icon-mail.js +1 -1
  750. package/dist/components/swirl-icon-manage-accounts.js +1 -1
  751. package/dist/components/swirl-icon-mark-chat-read.js +1 -1
  752. package/dist/components/swirl-icon-mark-chat-unread.js +1 -1
  753. package/dist/components/swirl-icon-mention.js +1 -1
  754. package/dist/components/swirl-icon-menu-book-filled.js +1 -1
  755. package/dist/components/swirl-icon-menu-book2.js +1 -1
  756. package/dist/components/swirl-icon-menu-filled.js +1 -1
  757. package/dist/components/swirl-icon-menu.js +1 -1
  758. package/dist/components/swirl-icon-message.js +1 -1
  759. package/dist/components/swirl-icon-mic-off.js +1 -1
  760. package/dist/components/swirl-icon-mic.js +1 -1
  761. package/dist/components/swirl-icon-more-horizontal.js +1 -1
  762. package/dist/components/swirl-icon-more-vertikal2.js +1 -1
  763. package/dist/components/swirl-icon-news-filled.js +1 -1
  764. package/dist/components/swirl-icon-news-off.js +1 -1
  765. package/dist/components/swirl-icon-news.js +1 -1
  766. package/dist/components/swirl-icon-notifications-active.js +1 -1
  767. package/dist/components/swirl-icon-notifications-off.js +1 -1
  768. package/dist/components/swirl-icon-notifications.js +1 -1
  769. package/dist/components/swirl-icon-open-in-full.js +1 -1
  770. package/dist/components/swirl-icon-open-in-new2.js +1 -1
  771. package/dist/components/swirl-icon-pause-circle.js +1 -1
  772. package/dist/components/swirl-icon-pause2.js +1 -1
  773. package/dist/components/swirl-icon-people-alt.js +1 -1
  774. package/dist/components/swirl-icon-person-off.js +1 -1
  775. package/dist/components/swirl-icon-person2.js +1 -1
  776. package/dist/components/swirl-icon-phone.js +1 -1
  777. package/dist/components/swirl-icon-photo-camera.js +1 -1
  778. package/dist/components/swirl-icon-pin-off.js +1 -1
  779. package/dist/components/swirl-icon-pin.js +1 -1
  780. package/dist/components/swirl-icon-place.js +1 -1
  781. package/dist/components/swirl-icon-play-arrow2.js +1 -1
  782. package/dist/components/swirl-icon-poll.js +1 -1
  783. package/dist/components/swirl-icon-post-approval.js +1 -1
  784. package/dist/components/swirl-icon-present.js +1 -1
  785. package/dist/components/swirl-icon-print.js +1 -1
  786. package/dist/components/swirl-icon-public-off.js +1 -1
  787. package/dist/components/swirl-icon-public.js +1 -1
  788. package/dist/components/swirl-icon-ratio-four-to-three.js +1 -1
  789. package/dist/components/swirl-icon-ratio-freeform.js +1 -1
  790. package/dist/components/swirl-icon-ratio-sixteen-to-nine.js +1 -1
  791. package/dist/components/swirl-icon-ratio-square.js +1 -1
  792. package/dist/components/swirl-icon-ratio-three-to-four.js +1 -1
  793. package/dist/components/swirl-icon-ratio-three-to-two.js +1 -1
  794. package/dist/components/swirl-icon-recieved.js +1 -1
  795. package/dist/components/swirl-icon-remove-circle.js +1 -1
  796. package/dist/components/swirl-icon-remove-moderator.js +1 -1
  797. package/dist/components/swirl-icon-remove2.js +1 -1
  798. package/dist/components/swirl-icon-reply.js +1 -1
  799. package/dist/components/swirl-icon-report.js +1 -1
  800. package/dist/components/swirl-icon-roadmap.js +1 -1
  801. package/dist/components/swirl-icon-rotate-left.js +1 -1
  802. package/dist/components/swirl-icon-rotate-right.js +1 -1
  803. package/dist/components/swirl-icon-screenshare-off.js +1 -1
  804. package/dist/components/swirl-icon-screenshare.js +1 -1
  805. package/dist/components/swirl-icon-search-strong.js +1 -1
  806. package/dist/components/swirl-icon-search2.js +1 -1
  807. package/dist/components/swirl-icon-secure.js +1 -1
  808. package/dist/components/swirl-icon-send.js +1 -1
  809. package/dist/components/swirl-icon-settings.js +1 -1
  810. package/dist/components/swirl-icon-short-text.js +1 -1
  811. package/dist/components/swirl-icon-simplify.js +1 -1
  812. package/dist/components/swirl-icon-spellcheck.js +1 -1
  813. package/dist/components/swirl-icon-stars.js +1 -1
  814. package/dist/components/swirl-icon-stop-circle.js +1 -1
  815. package/dist/components/swirl-icon-stop.js +1 -1
  816. package/dist/components/swirl-icon-sync.js +1 -1
  817. package/dist/components/swirl-icon-tasks-filled.js +1 -1
  818. package/dist/components/swirl-icon-tasks.js +1 -1
  819. package/dist/components/swirl-icon-terminal.js +1 -1
  820. package/dist/components/swirl-icon-time-filled.js +1 -1
  821. package/dist/components/swirl-icon-time.js +1 -1
  822. package/dist/components/swirl-icon-today-filled.js +1 -1
  823. package/dist/components/swirl-icon-today2.js +1 -1
  824. package/dist/components/swirl-icon-translate.js +1 -1
  825. package/dist/components/swirl-icon-tree-structure.js +1 -1
  826. package/dist/components/swirl-icon-undo.js +1 -1
  827. package/dist/components/swirl-icon-unlock-person.js +1 -1
  828. package/dist/components/swirl-icon-user-add.js +1 -1
  829. package/dist/components/swirl-icon-user-assign.js +1 -1
  830. package/dist/components/swirl-icon-video-camera-off.js +1 -1
  831. package/dist/components/swirl-icon-video-camera.js +1 -1
  832. package/dist/components/swirl-icon-video-library.js +1 -1
  833. package/dist/components/swirl-icon-video-player.js +1 -1
  834. package/dist/components/swirl-icon-visibility-off2.js +1 -1
  835. package/dist/components/swirl-icon-visibility2.js +1 -1
  836. package/dist/components/swirl-icon-voice.js +1 -1
  837. package/dist/components/swirl-icon-warning2.js +1 -1
  838. package/dist/components/swirl-icon-web-asset-off.js +1 -1
  839. package/dist/components/swirl-icon-web-asset.js +1 -1
  840. package/dist/components/swirl-icon-work.js +1 -1
  841. package/dist/components/swirl-image-grid.js +1 -1
  842. package/dist/components/swirl-lightbox.js +1 -1
  843. package/dist/components/swirl-list.js +1 -1
  844. package/dist/components/swirl-menu-item.js +2 -2
  845. package/dist/components/swirl-option-list-section.js +1 -1
  846. package/dist/components/swirl-option-list2.js +1 -1
  847. package/dist/components/swirl-pdf-reader.js +3 -3
  848. package/dist/components/swirl-popover-trigger2.js +1 -1
  849. package/dist/components/swirl-radio-group.js +1 -1
  850. package/dist/components/swirl-resource-list-file-item.js +1 -1
  851. package/dist/components/swirl-resource-list-section.js +1 -1
  852. package/dist/components/swirl-resource-list2.js +1 -1
  853. package/dist/components/swirl-select.js +2 -2
  854. package/dist/components/swirl-shell-layout.js +7 -7
  855. package/dist/components/swirl-symbol-account-circle.js +1 -1
  856. package/dist/components/swirl-symbol-alternate-email.js +1 -1
  857. package/dist/components/swirl-symbol-android.js +1 -1
  858. package/dist/components/swirl-symbol-announcement.js +1 -1
  859. package/dist/components/swirl-symbol-backup.js +1 -1
  860. package/dist/components/swirl-symbol-beach-access.js +1 -1
  861. package/dist/components/swirl-symbol-bookmark.js +1 -1
  862. package/dist/components/swirl-symbol-cloud.js +1 -1
  863. package/dist/components/swirl-symbol-coronavirus.js +1 -1
  864. package/dist/components/swirl-symbol-desktop-windows.js +1 -1
  865. package/dist/components/swirl-symbol-directions-car-filled.js +1 -1
  866. package/dist/components/swirl-symbol-edit-calendar.js +1 -1
  867. package/dist/components/swirl-symbol-email.js +1 -1
  868. package/dist/components/swirl-symbol-emoji-food-beverage.js +1 -1
  869. package/dist/components/swirl-symbol-event-menu.js +1 -1
  870. package/dist/components/swirl-symbol-facebook.js +1 -1
  871. package/dist/components/swirl-symbol-favorite.js +1 -1
  872. package/dist/components/swirl-symbol-fitness-center.js +1 -1
  873. package/dist/components/swirl-symbol-flag.js +1 -1
  874. package/dist/components/swirl-symbol-folder.js +1 -1
  875. package/dist/components/swirl-symbol-globe.js +1 -1
  876. package/dist/components/swirl-symbol-groups.js +1 -1
  877. package/dist/components/swirl-symbol-help.js +1 -1
  878. package/dist/components/swirl-symbol-image.js +1 -1
  879. package/dist/components/swirl-symbol-info-menu.js +1 -1
  880. package/dist/components/swirl-symbol-instagram.js +1 -1
  881. package/dist/components/swirl-symbol-ios.js +1 -1
  882. package/dist/components/swirl-symbol-language.js +1 -1
  883. package/dist/components/swirl-symbol-leaderboard.js +1 -1
  884. package/dist/components/swirl-symbol-lightbulb.js +1 -1
  885. package/dist/components/swirl-symbol-linkedin.js +1 -1
  886. package/dist/components/swirl-symbol-location-on.js +1 -1
  887. package/dist/components/swirl-symbol-loyalty.js +1 -1
  888. package/dist/components/swirl-symbol-maps-home-work.js +1 -1
  889. package/dist/components/swirl-symbol-notifications.js +1 -1
  890. package/dist/components/swirl-symbol-open-in-new.js +1 -1
  891. package/dist/components/swirl-symbol-pedal-bike.js +1 -1
  892. package/dist/components/swirl-symbol-pinterest.js +1 -1
  893. package/dist/components/swirl-symbol-policy.js +1 -1
  894. package/dist/components/swirl-symbol-push-pin.js +1 -1
  895. package/dist/components/swirl-symbol-redeem.js +1 -1
  896. package/dist/components/swirl-symbol-report-problem.js +1 -1
  897. package/dist/components/swirl-symbol-restaurant.js +1 -1
  898. package/dist/components/swirl-symbol-roadmap.js +1 -1
  899. package/dist/components/swirl-symbol-room.js +1 -1
  900. package/dist/components/swirl-symbol-savings.js +1 -1
  901. package/dist/components/swirl-symbol-settings-voice.js +1 -1
  902. package/dist/components/swirl-symbol-shopping-cart.js +1 -1
  903. package/dist/components/swirl-symbol-smartphone.js +1 -1
  904. package/dist/components/swirl-symbol-star.js +1 -1
  905. package/dist/components/swirl-symbol-supervisor-account.js +1 -1
  906. package/dist/components/swirl-symbol-thumbs-up-down.js +1 -1
  907. package/dist/components/swirl-symbol-twitter.js +1 -1
  908. package/dist/components/swirl-symbol-wb-sunny.js +1 -1
  909. package/dist/components/swirl-symbol-wechat.js +1 -1
  910. package/dist/components/swirl-symbol-weibo.js +1 -1
  911. package/dist/components/swirl-symbol-work.js +1 -1
  912. package/dist/components/swirl-symbol-xing.js +1 -1
  913. package/dist/components/swirl-symbol-youtube.js +1 -1
  914. package/dist/components/swirl-symbol.js +1 -1
  915. package/dist/components/swirl-table-cell.js +1 -1
  916. package/dist/components/swirl-table-row-group.js +2 -2
  917. package/dist/components/swirl-table-row.js +1 -1
  918. package/dist/components/swirl-table.js +1 -1
  919. package/dist/components/swirl-tabs.js +1 -1
  920. package/dist/components/swirl-theme-provider.js +1 -1
  921. package/dist/components/swirl-time-input.js +1 -1
  922. package/dist/components/swirl-toggle-button.js +1 -1
  923. package/dist/components/swirl-toggle-group.js +1 -1
  924. package/dist/components/swirl-tree-navigation-item.js +3 -3
  925. package/dist/components/swirl-tree-navigation.js +1 -1
  926. package/dist/components/swirl-tree-view-item.js +280 -13
  927. package/dist/components/swirl-tree-view.config.js +21 -0
  928. package/dist/components/swirl-tree-view.js +152 -7
  929. package/dist/components/swirl-video-thumbnail.js +1 -1
  930. package/dist/components/swirl-visually-hidden2.js +1 -1
  931. package/dist/esm/file-manager.entry.js +1 -1
  932. package/dist/esm/index-eaf83092.js +4 -4
  933. package/dist/esm/loader.js +1 -1
  934. package/dist/esm/{sortable.esm-8c3d5856.js → sortable.esm-0bfddf0c.js} +526 -881
  935. package/dist/esm/swirl-accordion-item.entry.js +1 -1
  936. package/dist/esm/swirl-accordion.entry.js +1 -1
  937. package/dist/esm/swirl-action-list-section.entry.js +1 -1
  938. package/dist/esm/swirl-action-list_2.entry.js +1 -1
  939. package/dist/esm/swirl-app-icon.entry.js +1 -1
  940. package/dist/esm/swirl-app-layout_5.entry.js +4 -4
  941. package/dist/esm/swirl-avatar-group.entry.js +1 -1
  942. package/dist/esm/swirl-carousel-slide.entry.js +1 -1
  943. package/dist/esm/swirl-color-input.entry.js +2 -2
  944. package/dist/esm/swirl-components.js +1 -1
  945. package/dist/esm/swirl-console-layout.entry.js +2 -2
  946. package/dist/esm/swirl-date-input.entry.js +1 -1
  947. package/dist/esm/swirl-date-picker_2.entry.js +2 -2
  948. package/dist/esm/swirl-description-list-item.entry.js +1 -1
  949. package/dist/esm/swirl-description-list.entry.js +1 -1
  950. package/dist/esm/swirl-emoji-clap.entry.js +1 -1
  951. package/dist/esm/swirl-emoji-happy.entry.js +1 -1
  952. package/dist/esm/swirl-emoji-idea.entry.js +1 -1
  953. package/dist/esm/swirl-emoji-love.entry.js +1 -1
  954. package/dist/esm/swirl-emoji-sad.entry.js +1 -1
  955. package/dist/esm/swirl-emoji-thumbs-up.entry.js +1 -1
  956. package/dist/esm/swirl-emoji.entry.js +1 -1
  957. package/dist/esm/swirl-file-uploader.entry.js +2 -2
  958. package/dist/esm/swirl-file-viewer_8.entry.js +7 -7
  959. package/dist/esm/swirl-icon-add-moderator.entry.js +1 -1
  960. package/dist/esm/swirl-icon-add-photo.entry.js +1 -1
  961. package/dist/esm/swirl-icon-add-reaction.entry.js +1 -1
  962. package/dist/esm/swirl-icon-add_6.entry.js +6 -6
  963. package/dist/esm/swirl-icon-admin-panel-settings.entry.js +1 -1
  964. package/dist/esm/swirl-icon-ai-filled.entry.js +1 -1
  965. package/dist/esm/swirl-icon-ai.entry.js +1 -1
  966. package/dist/esm/swirl-icon-apps.entry.js +1 -1
  967. package/dist/esm/swirl-icon-arrow-back_5.entry.js +5 -5
  968. package/dist/esm/swirl-icon-arrow-downward_2.entry.js +2 -2
  969. package/dist/esm/swirl-icon-arrow-left_4.entry.js +3 -3
  970. package/dist/esm/swirl-icon-arrow-right-small.entry.js +1 -1
  971. package/dist/esm/swirl-icon-aspect-ratio.entry.js +1 -1
  972. package/dist/esm/swirl-icon-attachment.entry.js +1 -1
  973. package/dist/esm/swirl-icon-bar-chart.entry.js +1 -1
  974. package/dist/esm/swirl-icon-block.entry.js +1 -1
  975. package/dist/esm/swirl-icon-bookmark-filled.entry.js +1 -1
  976. package/dist/esm/swirl-icon-bookmark.entry.js +1 -1
  977. package/dist/esm/swirl-icon-cancel_4.entry.js +4 -4
  978. package/dist/esm/swirl-icon-chat-bubble.entry.js +1 -1
  979. package/dist/esm/swirl-icon-chats-filled.entry.js +1 -1
  980. package/dist/esm/swirl-icon-chats.entry.js +1 -1
  981. package/dist/esm/swirl-icon-check-circle_2.entry.js +2 -2
  982. package/dist/esm/{swirl-icon-check-small_3.entry.js → swirl-icon-check-small_2.entry.js} +4 -24
  983. package/dist/esm/swirl-icon-check-strong_2.entry.js +44 -0
  984. package/dist/esm/swirl-icon-check.entry.js +1 -1
  985. package/dist/esm/swirl-icon-chevron-left.entry.js +1 -1
  986. package/dist/esm/swirl-icon-chevron-right.entry.js +1 -1
  987. package/dist/esm/swirl-icon-close-small.entry.js +1 -1
  988. package/dist/esm/swirl-icon-close.entry.js +1 -1
  989. package/dist/esm/swirl-icon-cloud-upload.entry.js +1 -1
  990. package/dist/esm/swirl-icon-column.entry.js +1 -1
  991. package/dist/esm/swirl-icon-comment.entry.js +1 -1
  992. package/dist/esm/swirl-icon-contrast.entry.js +1 -1
  993. package/dist/esm/swirl-icon-copy.entry.js +1 -1
  994. package/dist/esm/swirl-icon-crop.entry.js +1 -1
  995. package/dist/esm/swirl-icon-dark-mode.entry.js +1 -1
  996. package/dist/esm/swirl-icon-date-range.entry.js +1 -1
  997. package/dist/esm/swirl-icon-delete.entry.js +1 -1
  998. package/dist/esm/swirl-icon-deployed-code.entry.js +1 -1
  999. package/dist/esm/swirl-icon-description.entry.js +1 -1
  1000. package/dist/esm/swirl-icon-desktop.entry.js +1 -1
  1001. package/dist/esm/swirl-icon-directory-filled.entry.js +1 -1
  1002. package/dist/esm/swirl-icon-directory.entry.js +1 -1
  1003. package/dist/esm/swirl-icon-discover.entry.js +1 -1
  1004. package/dist/esm/swirl-icon-dock-left.entry.js +1 -1
  1005. package/dist/esm/swirl-icon-door-open.entry.js +1 -1
  1006. package/dist/esm/swirl-icon-dot.entry.js +1 -1
  1007. package/dist/esm/swirl-icon-double-arrow-right.entry.js +1 -1
  1008. package/dist/esm/swirl-icon-download.entry.js +1 -1
  1009. package/dist/esm/swirl-icon-edit.entry.js +1 -1
  1010. package/dist/esm/swirl-icon-emoji-mood.entry.js +1 -1
  1011. package/dist/esm/swirl-icon-emoji-satisfied.entry.js +1 -1
  1012. package/dist/esm/swirl-icon-error_3.entry.js +1 -1
  1013. package/dist/esm/swirl-icon-expand-more.entry.js +1 -1
  1014. package/dist/esm/swirl-icon-experiment.entry.js +1 -1
  1015. package/dist/esm/swirl-icon-file.entry.js +1 -1
  1016. package/dist/esm/swirl-icon-filter.entry.js +1 -1
  1017. package/dist/esm/swirl-icon-folder.entry.js +1 -1
  1018. package/dist/esm/swirl-icon-format-h-one.entry.js +1 -1
  1019. package/dist/esm/swirl-icon-gif_3.entry.js +3 -3
  1020. package/dist/esm/swirl-icon-group-add.entry.js +1 -1
  1021. package/dist/esm/swirl-icon-group-assign.entry.js +1 -1
  1022. package/dist/esm/swirl-icon-groups-filled.entry.js +1 -1
  1023. package/dist/esm/swirl-icon-groups.entry.js +1 -1
  1024. package/dist/esm/swirl-icon-hamburger-menu.entry.js +1 -1
  1025. package/dist/esm/swirl-icon-help.entry.js +1 -1
  1026. package/dist/esm/swirl-icon-highlight.entry.js +1 -1
  1027. package/dist/esm/swirl-icon-history.entry.js +1 -1
  1028. package/dist/esm/swirl-icon-home.entry.js +1 -1
  1029. package/dist/esm/swirl-icon-image.entry.js +1 -1
  1030. package/dist/esm/swirl-icon-improve-text.entry.js +1 -1
  1031. package/dist/esm/swirl-icon-info.entry.js +1 -1
  1032. package/dist/esm/swirl-icon-insert-below.entry.js +1 -1
  1033. package/dist/esm/swirl-icon-insert-on-top.entry.js +1 -1
  1034. package/dist/esm/swirl-icon-inventory-off.entry.js +1 -1
  1035. package/dist/esm/swirl-icon-inventory.entry.js +1 -1
  1036. package/dist/esm/swirl-icon-key.entry.js +1 -1
  1037. package/dist/esm/swirl-icon-keyboard-hide.entry.js +1 -1
  1038. package/dist/esm/swirl-icon-keyboard.entry.js +1 -1
  1039. package/dist/esm/swirl-icon-light-mode.entry.js +1 -1
  1040. package/dist/esm/swirl-icon-like.entry.js +1 -1
  1041. package/dist/esm/swirl-icon-link.entry.js +1 -1
  1042. package/dist/esm/swirl-icon-live.entry.js +1 -1
  1043. package/dist/esm/swirl-icon-load.entry.js +1 -1
  1044. package/dist/esm/swirl-icon-lock-open.entry.js +1 -1
  1045. package/dist/esm/swirl-icon-lock-person.entry.js +1 -1
  1046. package/dist/esm/swirl-icon-lock.entry.js +1 -1
  1047. package/dist/esm/swirl-icon-login.entry.js +1 -1
  1048. package/dist/esm/swirl-icon-logout.entry.js +1 -1
  1049. package/dist/esm/swirl-icon-long-text.entry.js +1 -1
  1050. package/dist/esm/swirl-icon-mail.entry.js +1 -1
  1051. package/dist/esm/swirl-icon-manage-accounts.entry.js +1 -1
  1052. package/dist/esm/swirl-icon-mark-chat-read.entry.js +1 -1
  1053. package/dist/esm/swirl-icon-mark-chat-unread.entry.js +1 -1
  1054. package/dist/esm/swirl-icon-mention.entry.js +1 -1
  1055. package/dist/esm/swirl-icon-menu-book-filled.entry.js +1 -1
  1056. package/dist/esm/swirl-icon-menu-filled.entry.js +1 -1
  1057. package/dist/esm/swirl-icon-menu.entry.js +1 -1
  1058. package/dist/esm/swirl-icon-message.entry.js +1 -1
  1059. package/dist/esm/swirl-icon-mic-off.entry.js +1 -1
  1060. package/dist/esm/swirl-icon-mic.entry.js +1 -1
  1061. package/dist/esm/swirl-icon-more-horizontal.entry.js +1 -1
  1062. package/dist/esm/swirl-icon-news-filled.entry.js +1 -1
  1063. package/dist/esm/swirl-icon-news-off.entry.js +1 -1
  1064. package/dist/esm/swirl-icon-news.entry.js +1 -1
  1065. package/dist/esm/swirl-icon-notifications-active.entry.js +1 -1
  1066. package/dist/esm/swirl-icon-notifications-off.entry.js +1 -1
  1067. package/dist/esm/swirl-icon-notifications.entry.js +1 -1
  1068. package/dist/esm/swirl-icon-open-in-full.entry.js +1 -1
  1069. package/dist/esm/swirl-icon-open-in-new.entry.js +1 -1
  1070. package/dist/esm/swirl-icon-pause-circle.entry.js +1 -1
  1071. package/dist/esm/swirl-icon-people-alt.entry.js +1 -1
  1072. package/dist/esm/swirl-icon-person-off.entry.js +1 -1
  1073. package/dist/esm/swirl-icon-person.entry.js +1 -1
  1074. package/dist/esm/swirl-icon-phone.entry.js +1 -1
  1075. package/dist/esm/swirl-icon-photo-camera.entry.js +1 -1
  1076. package/dist/esm/swirl-icon-pin-off.entry.js +1 -1
  1077. package/dist/esm/swirl-icon-pin.entry.js +1 -1
  1078. package/dist/esm/swirl-icon-place.entry.js +1 -1
  1079. package/dist/esm/swirl-icon-poll.entry.js +1 -1
  1080. package/dist/esm/swirl-icon-post-approval.entry.js +1 -1
  1081. package/dist/esm/swirl-icon-present.entry.js +1 -1
  1082. package/dist/esm/swirl-icon-print.entry.js +1 -1
  1083. package/dist/esm/swirl-icon-public-off.entry.js +1 -1
  1084. package/dist/esm/swirl-icon-public.entry.js +1 -1
  1085. package/dist/esm/swirl-icon-ratio-four-to-three.entry.js +1 -1
  1086. package/dist/esm/swirl-icon-ratio-freeform.entry.js +1 -1
  1087. package/dist/esm/swirl-icon-ratio-sixteen-to-nine.entry.js +1 -1
  1088. package/dist/esm/swirl-icon-ratio-square.entry.js +1 -1
  1089. package/dist/esm/swirl-icon-ratio-three-to-four.entry.js +1 -1
  1090. package/dist/esm/swirl-icon-ratio-three-to-two.entry.js +1 -1
  1091. package/dist/esm/swirl-icon-recieved.entry.js +1 -1
  1092. package/dist/esm/swirl-icon-remove-circle.entry.js +1 -1
  1093. package/dist/esm/swirl-icon-remove-moderator.entry.js +1 -1
  1094. package/dist/esm/swirl-icon-reply.entry.js +1 -1
  1095. package/dist/esm/swirl-icon-report.entry.js +1 -1
  1096. package/dist/esm/swirl-icon-roadmap.entry.js +1 -1
  1097. package/dist/esm/swirl-icon-rotate-left.entry.js +1 -1
  1098. package/dist/esm/swirl-icon-rotate-right.entry.js +1 -1
  1099. package/dist/esm/swirl-icon-screenshare-off.entry.js +1 -1
  1100. package/dist/esm/swirl-icon-screenshare.entry.js +1 -1
  1101. package/dist/esm/swirl-icon-search-strong.entry.js +1 -1
  1102. package/dist/esm/swirl-icon-search.entry.js +1 -1
  1103. package/dist/esm/swirl-icon-secure.entry.js +1 -1
  1104. package/dist/esm/swirl-icon-send.entry.js +1 -1
  1105. package/dist/esm/swirl-icon-settings.entry.js +1 -1
  1106. package/dist/esm/swirl-icon-short-text.entry.js +1 -1
  1107. package/dist/esm/swirl-icon-simplify.entry.js +1 -1
  1108. package/dist/esm/swirl-icon-spellcheck.entry.js +1 -1
  1109. package/dist/esm/swirl-icon-stars.entry.js +1 -1
  1110. package/dist/esm/swirl-icon-stop-circle.entry.js +1 -1
  1111. package/dist/esm/swirl-icon-stop.entry.js +1 -1
  1112. package/dist/esm/swirl-icon-sync.entry.js +1 -1
  1113. package/dist/esm/swirl-icon-tasks-filled.entry.js +1 -1
  1114. package/dist/esm/swirl-icon-tasks.entry.js +1 -1
  1115. package/dist/esm/swirl-icon-terminal.entry.js +1 -1
  1116. package/dist/esm/swirl-icon-time-filled.entry.js +1 -1
  1117. package/dist/esm/swirl-icon-time.entry.js +1 -1
  1118. package/dist/esm/swirl-icon-today-filled.entry.js +1 -1
  1119. package/dist/esm/swirl-icon-translate.entry.js +1 -1
  1120. package/dist/esm/swirl-icon-tree-structure.entry.js +1 -1
  1121. package/dist/esm/swirl-icon-undo.entry.js +1 -1
  1122. package/dist/esm/swirl-icon-unlock-person.entry.js +1 -1
  1123. package/dist/esm/swirl-icon-user-add.entry.js +1 -1
  1124. package/dist/esm/swirl-icon-user-assign.entry.js +1 -1
  1125. package/dist/esm/swirl-icon-video-camera-off.entry.js +1 -1
  1126. package/dist/esm/swirl-icon-video-camera.entry.js +1 -1
  1127. package/dist/esm/swirl-icon-video-library.entry.js +1 -1
  1128. package/dist/esm/swirl-icon-video-player.entry.js +1 -1
  1129. package/dist/esm/swirl-icon-voice.entry.js +1 -1
  1130. package/dist/esm/swirl-icon-web-asset-off.entry.js +1 -1
  1131. package/dist/esm/swirl-icon-web-asset.entry.js +1 -1
  1132. package/dist/esm/swirl-icon-work.entry.js +1 -1
  1133. package/dist/esm/swirl-image-grid.entry.js +1 -1
  1134. package/dist/esm/swirl-lightbox.entry.js +1 -1
  1135. package/dist/esm/swirl-list.entry.js +1 -1
  1136. package/dist/esm/swirl-menu-item.entry.js +2 -2
  1137. package/dist/esm/swirl-option-list-section.entry.js +1 -1
  1138. package/dist/esm/swirl-option-list_2.entry.js +2 -2
  1139. package/dist/esm/swirl-pdf-reader.entry.js +3 -3
  1140. package/dist/esm/swirl-popover_2.entry.js +1 -1
  1141. package/dist/esm/swirl-radio-group.entry.js +1 -1
  1142. package/dist/esm/swirl-resource-list-file-item.entry.js +1 -1
  1143. package/dist/esm/swirl-resource-list-section.entry.js +1 -1
  1144. package/dist/esm/swirl-select.entry.js +2 -2
  1145. package/dist/esm/swirl-shell-layout.entry.js +7 -7
  1146. package/dist/esm/swirl-symbol-account-circle.entry.js +1 -1
  1147. package/dist/esm/swirl-symbol-alternate-email.entry.js +1 -1
  1148. package/dist/esm/swirl-symbol-android.entry.js +1 -1
  1149. package/dist/esm/swirl-symbol-announcement.entry.js +1 -1
  1150. package/dist/esm/swirl-symbol-backup.entry.js +1 -1
  1151. package/dist/esm/swirl-symbol-beach-access.entry.js +1 -1
  1152. package/dist/esm/swirl-symbol-bookmark.entry.js +1 -1
  1153. package/dist/esm/swirl-symbol-cloud.entry.js +1 -1
  1154. package/dist/esm/swirl-symbol-coronavirus.entry.js +1 -1
  1155. package/dist/esm/swirl-symbol-desktop-windows.entry.js +1 -1
  1156. package/dist/esm/swirl-symbol-directions-car-filled.entry.js +1 -1
  1157. package/dist/esm/swirl-symbol-edit-calendar.entry.js +1 -1
  1158. package/dist/esm/swirl-symbol-email.entry.js +1 -1
  1159. package/dist/esm/swirl-symbol-emoji-food-beverage.entry.js +1 -1
  1160. package/dist/esm/swirl-symbol-event-menu.entry.js +1 -1
  1161. package/dist/esm/swirl-symbol-facebook.entry.js +1 -1
  1162. package/dist/esm/swirl-symbol-favorite.entry.js +1 -1
  1163. package/dist/esm/swirl-symbol-fitness-center.entry.js +1 -1
  1164. package/dist/esm/swirl-symbol-flag.entry.js +1 -1
  1165. package/dist/esm/swirl-symbol-folder.entry.js +1 -1
  1166. package/dist/esm/swirl-symbol-globe.entry.js +1 -1
  1167. package/dist/esm/swirl-symbol-groups.entry.js +1 -1
  1168. package/dist/esm/swirl-symbol-help.entry.js +1 -1
  1169. package/dist/esm/swirl-symbol-image.entry.js +1 -1
  1170. package/dist/esm/swirl-symbol-info-menu.entry.js +1 -1
  1171. package/dist/esm/swirl-symbol-instagram.entry.js +1 -1
  1172. package/dist/esm/swirl-symbol-ios.entry.js +1 -1
  1173. package/dist/esm/swirl-symbol-language.entry.js +1 -1
  1174. package/dist/esm/swirl-symbol-leaderboard.entry.js +1 -1
  1175. package/dist/esm/swirl-symbol-lightbulb.entry.js +1 -1
  1176. package/dist/esm/swirl-symbol-linkedin.entry.js +1 -1
  1177. package/dist/esm/swirl-symbol-location-on.entry.js +1 -1
  1178. package/dist/esm/swirl-symbol-loyalty.entry.js +1 -1
  1179. package/dist/esm/swirl-symbol-maps-home-work.entry.js +1 -1
  1180. package/dist/esm/swirl-symbol-notifications.entry.js +1 -1
  1181. package/dist/esm/swirl-symbol-open-in-new.entry.js +1 -1
  1182. package/dist/esm/swirl-symbol-pedal-bike.entry.js +1 -1
  1183. package/dist/esm/swirl-symbol-pinterest.entry.js +1 -1
  1184. package/dist/esm/swirl-symbol-policy.entry.js +1 -1
  1185. package/dist/esm/swirl-symbol-push-pin.entry.js +1 -1
  1186. package/dist/esm/swirl-symbol-redeem.entry.js +1 -1
  1187. package/dist/esm/swirl-symbol-report-problem.entry.js +1 -1
  1188. package/dist/esm/swirl-symbol-restaurant.entry.js +1 -1
  1189. package/dist/esm/swirl-symbol-roadmap.entry.js +1 -1
  1190. package/dist/esm/swirl-symbol-room.entry.js +1 -1
  1191. package/dist/esm/swirl-symbol-savings.entry.js +1 -1
  1192. package/dist/esm/swirl-symbol-settings-voice.entry.js +1 -1
  1193. package/dist/esm/swirl-symbol-shopping-cart.entry.js +1 -1
  1194. package/dist/esm/swirl-symbol-smartphone.entry.js +1 -1
  1195. package/dist/esm/swirl-symbol-star.entry.js +1 -1
  1196. package/dist/esm/swirl-symbol-supervisor-account.entry.js +1 -1
  1197. package/dist/esm/swirl-symbol-thumbs-up-down.entry.js +1 -1
  1198. package/dist/esm/swirl-symbol-twitter.entry.js +1 -1
  1199. package/dist/esm/swirl-symbol-wb-sunny.entry.js +1 -1
  1200. package/dist/esm/swirl-symbol-wechat.entry.js +1 -1
  1201. package/dist/esm/swirl-symbol-weibo.entry.js +1 -1
  1202. package/dist/esm/swirl-symbol-work.entry.js +1 -1
  1203. package/dist/esm/swirl-symbol-xing.entry.js +1 -1
  1204. package/dist/esm/swirl-symbol-youtube.entry.js +1 -1
  1205. package/dist/esm/swirl-symbol.entry.js +1 -1
  1206. package/dist/esm/swirl-table-cell.entry.js +1 -1
  1207. package/dist/esm/swirl-table-row-group.entry.js +2 -2
  1208. package/dist/esm/swirl-table-row.entry.js +1 -1
  1209. package/dist/esm/swirl-table.entry.js +1 -1
  1210. package/dist/esm/swirl-tabs.entry.js +1 -1
  1211. package/dist/esm/swirl-theme-provider.entry.js +1 -1
  1212. package/dist/esm/swirl-time-input.entry.js +1 -1
  1213. package/dist/esm/swirl-toggle-button.entry.js +1 -1
  1214. package/dist/esm/swirl-toggle-group.entry.js +1 -1
  1215. package/dist/esm/swirl-tree-navigation-item.entry.js +3 -3
  1216. package/dist/esm/swirl-tree-navigation.entry.js +1 -1
  1217. package/dist/esm/swirl-tree-view-item.entry.js +263 -8
  1218. package/dist/esm/swirl-tree-view.config-82c9ecaa.js +21 -0
  1219. package/dist/esm/swirl-tree-view.entry.js +136 -3
  1220. package/dist/esm/swirl-video-thumbnail.entry.js +1 -1
  1221. package/dist/esm/swirl-visually-hidden.entry.js +1 -1
  1222. package/dist/swirl-components/{p-5c167dcb.entry.js → p-0093152c.entry.js} +1 -1
  1223. package/dist/swirl-components/{p-ce915b81.entry.js → p-0125ab65.entry.js} +1 -1
  1224. package/dist/swirl-components/{p-38f1c701.entry.js → p-02e33f18.entry.js} +1 -1
  1225. package/dist/swirl-components/{p-e4bc68de.entry.js → p-03087e84.entry.js} +1 -1
  1226. package/dist/swirl-components/{p-b4997948.entry.js → p-032ab7ea.entry.js} +1 -1
  1227. package/dist/swirl-components/p-03723e3f.entry.js +1 -0
  1228. package/dist/swirl-components/{p-d0a2cd93.entry.js → p-0416d812.entry.js} +1 -1
  1229. package/dist/swirl-components/{p-2f3d712e.entry.js → p-0497e47b.entry.js} +1 -1
  1230. package/dist/swirl-components/{p-b0ced5b4.entry.js → p-0503fb18.entry.js} +1 -1
  1231. package/dist/swirl-components/{p-26f71d87.entry.js → p-0517a8b3.entry.js} +1 -1
  1232. package/dist/swirl-components/{p-11b419a1.entry.js → p-0677d419.entry.js} +1 -1
  1233. package/dist/swirl-components/{p-b312256e.entry.js → p-096fd2c6.entry.js} +1 -1
  1234. package/dist/swirl-components/{p-7696ffd5.entry.js → p-0af32674.entry.js} +1 -1
  1235. package/dist/swirl-components/{p-7a619412.entry.js → p-0b3bd540.entry.js} +1 -1
  1236. package/dist/swirl-components/{p-35c66740.entry.js → p-0ceb6ebb.entry.js} +1 -1
  1237. package/dist/swirl-components/{p-15e0fb99.entry.js → p-0d2abbed.entry.js} +1 -1
  1238. package/dist/swirl-components/{p-63df6c6c.entry.js → p-0d439d23.entry.js} +1 -1
  1239. package/dist/swirl-components/{p-1ce4453f.entry.js → p-0f3c7b27.entry.js} +1 -1
  1240. package/dist/swirl-components/{p-4f4e8a5d.entry.js → p-101b5bcc.entry.js} +1 -1
  1241. package/dist/swirl-components/{p-cd21251b.entry.js → p-10c10a64.entry.js} +1 -1
  1242. package/dist/swirl-components/p-128da2c1.entry.js +1 -0
  1243. package/dist/swirl-components/{p-b1c6c0d4.entry.js → p-136f4e7d.entry.js} +1 -1
  1244. package/dist/swirl-components/{p-da747dcb.entry.js → p-13b792b1.entry.js} +1 -1
  1245. package/dist/swirl-components/p-13db65c5.entry.js +1 -0
  1246. package/dist/swirl-components/{p-06b78fa7.entry.js → p-140302ad.entry.js} +1 -1
  1247. package/dist/swirl-components/p-143faa2b.js +1 -0
  1248. package/dist/swirl-components/p-14788b5b.entry.js +1 -0
  1249. package/dist/swirl-components/{p-05698529.entry.js → p-16f4bb0e.entry.js} +1 -1
  1250. package/dist/swirl-components/{p-c57b485b.entry.js → p-17059abe.entry.js} +1 -1
  1251. package/dist/swirl-components/{p-6e01c7c9.entry.js → p-1842b759.entry.js} +1 -1
  1252. package/dist/swirl-components/{p-112aa439.entry.js → p-1b885fa5.entry.js} +1 -1
  1253. package/dist/swirl-components/{p-097d543e.entry.js → p-1c12bd81.entry.js} +1 -1
  1254. package/dist/swirl-components/{p-597df0e4.entry.js → p-1d5423bf.entry.js} +1 -1
  1255. package/dist/swirl-components/{p-fac958a0.entry.js → p-1d93b978.entry.js} +1 -1
  1256. package/dist/swirl-components/{p-690d6491.entry.js → p-1dd7ebe5.entry.js} +1 -1
  1257. package/dist/swirl-components/p-1f506587.entry.js +1 -0
  1258. package/dist/swirl-components/{p-c239f14a.entry.js → p-1fc72ebd.entry.js} +1 -1
  1259. package/dist/swirl-components/{p-e7ef35c7.entry.js → p-20102ed1.entry.js} +1 -1
  1260. package/dist/swirl-components/{p-534af6f1.entry.js → p-21e716c1.entry.js} +1 -1
  1261. package/dist/swirl-components/{p-53071929.entry.js → p-223f27f2.entry.js} +1 -1
  1262. package/dist/swirl-components/{p-907d4b06.entry.js → p-23d73bee.entry.js} +1 -1
  1263. package/dist/swirl-components/{p-e590417a.entry.js → p-23fa7304.entry.js} +1 -1
  1264. package/dist/swirl-components/{p-93ab4a5e.entry.js → p-24a5ccb9.entry.js} +1 -1
  1265. package/dist/swirl-components/{p-29c496c4.entry.js → p-24dfdc4a.entry.js} +1 -1
  1266. package/dist/swirl-components/{p-64204318.entry.js → p-2590cbaa.entry.js} +1 -1
  1267. package/dist/swirl-components/{p-d3cf6bcf.entry.js → p-261ccaa1.entry.js} +1 -1
  1268. package/dist/swirl-components/{p-570faaca.entry.js → p-262bf6bd.entry.js} +1 -1
  1269. package/dist/swirl-components/{p-737fe9fd.entry.js → p-26422270.entry.js} +1 -1
  1270. package/dist/swirl-components/{p-da71a77d.entry.js → p-277ada7f.entry.js} +1 -1
  1271. package/dist/swirl-components/{p-9a6e9b43.entry.js → p-298dfdac.entry.js} +1 -1
  1272. package/dist/swirl-components/{p-385abb09.entry.js → p-29f27081.entry.js} +1 -1
  1273. package/dist/swirl-components/{p-f8dfecf8.entry.js → p-2a586eff.entry.js} +1 -1
  1274. package/dist/swirl-components/{p-586d54dc.entry.js → p-2ad46649.entry.js} +1 -1
  1275. package/dist/swirl-components/{p-a26a8365.entry.js → p-2b63df9f.entry.js} +1 -1
  1276. package/dist/swirl-components/{p-b3dbb0b2.entry.js → p-2c86a8e5.entry.js} +1 -1
  1277. package/dist/swirl-components/{p-3ed56e17.entry.js → p-2d133ec4.entry.js} +1 -1
  1278. package/dist/swirl-components/p-2d185184.entry.js +1 -0
  1279. package/dist/swirl-components/{p-424bb8fd.entry.js → p-2d1f512d.entry.js} +1 -1
  1280. package/dist/swirl-components/p-2d419112.entry.js +1 -0
  1281. package/dist/swirl-components/{p-86d9a02a.entry.js → p-2d7feb75.entry.js} +1 -1
  1282. package/dist/swirl-components/{p-ed9f528b.entry.js → p-2dbc63a2.entry.js} +1 -1
  1283. package/dist/swirl-components/p-2f744b6e.entry.js +1 -0
  1284. package/dist/swirl-components/{p-5a0df907.entry.js → p-319112df.entry.js} +1 -1
  1285. package/dist/swirl-components/{p-2c40d7e9.entry.js → p-321d5ecf.entry.js} +1 -1
  1286. package/dist/swirl-components/p-327bbc4a.entry.js +1 -0
  1287. package/dist/swirl-components/p-33235f7a.entry.js +1 -0
  1288. package/dist/swirl-components/{p-58a8bcf5.entry.js → p-33b6cd3e.entry.js} +1 -1
  1289. package/dist/swirl-components/{p-b531c8e8.entry.js → p-348b85af.entry.js} +1 -1
  1290. package/dist/swirl-components/{p-918886cc.entry.js → p-34ca2417.entry.js} +1 -1
  1291. package/dist/swirl-components/{p-21edb0b9.entry.js → p-36018ce5.entry.js} +1 -1
  1292. package/dist/swirl-components/p-364a61d3.entry.js +1 -0
  1293. package/dist/swirl-components/p-36d172c9.entry.js +1 -0
  1294. package/dist/swirl-components/p-379730a4.entry.js +1 -0
  1295. package/dist/swirl-components/{p-9db1abb4.entry.js → p-39505712.entry.js} +1 -1
  1296. package/dist/swirl-components/{p-1d21dfa4.entry.js → p-395aa689.entry.js} +1 -1
  1297. package/dist/swirl-components/{p-d2c3ff3f.entry.js → p-39ee5df5.entry.js} +1 -1
  1298. package/dist/swirl-components/{p-5f2404bc.entry.js → p-3a37801d.entry.js} +1 -1
  1299. package/dist/swirl-components/{p-fc20cf56.entry.js → p-3a78c757.entry.js} +1 -1
  1300. package/dist/swirl-components/{p-ffe502cc.entry.js → p-3abfee69.entry.js} +1 -1
  1301. package/dist/swirl-components/{p-e80ca6ef.entry.js → p-3bcfc085.entry.js} +1 -1
  1302. package/dist/swirl-components/{p-f1769aa9.entry.js → p-3bd0ad5d.entry.js} +1 -1
  1303. package/dist/swirl-components/p-3dd4d02e.entry.js +1 -0
  1304. package/dist/swirl-components/{p-e9da1428.entry.js → p-3e21a6f0.entry.js} +1 -1
  1305. package/dist/swirl-components/{p-1699251e.entry.js → p-3e23b8c8.entry.js} +1 -1
  1306. package/dist/swirl-components/{p-0e74e9be.entry.js → p-3fc3604d.entry.js} +1 -1
  1307. package/dist/swirl-components/{p-7a4ec70d.entry.js → p-409afe51.entry.js} +1 -1
  1308. package/dist/swirl-components/{p-ade91db7.entry.js → p-41c51a0d.entry.js} +1 -1
  1309. package/dist/swirl-components/{p-6aef2fd1.entry.js → p-42f8cfc8.entry.js} +1 -1
  1310. package/dist/swirl-components/p-454b849c.entry.js +1 -0
  1311. package/dist/swirl-components/{p-f870b38b.entry.js → p-45761cef.entry.js} +1 -1
  1312. package/dist/swirl-components/{p-65513ef9.entry.js → p-47a9eb65.entry.js} +1 -1
  1313. package/dist/swirl-components/p-47be7a7f.entry.js +1 -0
  1314. package/dist/swirl-components/{p-fa394c37.entry.js → p-480b1582.entry.js} +1 -1
  1315. package/dist/swirl-components/{p-6c371264.entry.js → p-48b41666.entry.js} +1 -1
  1316. package/dist/swirl-components/{p-3166bb52.entry.js → p-4bd56056.entry.js} +1 -1
  1317. package/dist/swirl-components/{p-62ed7ec1.entry.js → p-4d1277f5.entry.js} +1 -1
  1318. package/dist/swirl-components/{p-667c9eb6.entry.js → p-4e7572b5.entry.js} +1 -1
  1319. package/dist/swirl-components/p-4f2e5434.entry.js +1 -0
  1320. package/dist/swirl-components/{p-497fd755.entry.js → p-51abf64c.entry.js} +1 -1
  1321. package/dist/swirl-components/{p-8dfdd349.entry.js → p-529bc2a8.entry.js} +1 -1
  1322. package/dist/swirl-components/p-53178b26.entry.js +1 -0
  1323. package/dist/swirl-components/{p-efac32aa.entry.js → p-5323a320.entry.js} +1 -1
  1324. package/dist/swirl-components/{p-52ddf945.entry.js → p-552c703c.entry.js} +1 -1
  1325. package/dist/swirl-components/p-56107466.entry.js +1 -0
  1326. package/dist/swirl-components/{p-1206dab4.entry.js → p-56bd8b46.entry.js} +1 -1
  1327. package/dist/swirl-components/{p-83316c98.entry.js → p-56c5c470.entry.js} +1 -1
  1328. package/dist/swirl-components/{p-9ba22e19.entry.js → p-56dd7202.entry.js} +1 -1
  1329. package/dist/swirl-components/{p-ba4d9e13.entry.js → p-573c4748.entry.js} +1 -1
  1330. package/dist/swirl-components/{p-a824db96.entry.js → p-59e30b4a.entry.js} +1 -1
  1331. package/dist/swirl-components/{p-4ccc54bc.entry.js → p-5a22753e.entry.js} +1 -1
  1332. package/dist/swirl-components/{p-5fbffb1c.entry.js → p-5b5476a2.entry.js} +1 -1
  1333. package/dist/swirl-components/{p-9ec2ef88.entry.js → p-5b57aee4.entry.js} +1 -1
  1334. package/dist/swirl-components/p-60cd2550.entry.js +1 -0
  1335. package/dist/swirl-components/{p-0a646957.entry.js → p-612ef515.entry.js} +1 -1
  1336. package/dist/swirl-components/{p-0fe0c0d9.entry.js → p-6210f97a.entry.js} +1 -1
  1337. package/dist/swirl-components/{p-38804a9b.entry.js → p-621d4bc5.entry.js} +1 -1
  1338. package/dist/swirl-components/{p-409a0b91.entry.js → p-634c66f2.entry.js} +1 -1
  1339. package/dist/swirl-components/p-643d7b65.entry.js +1 -0
  1340. package/dist/swirl-components/{p-a1c8f791.entry.js → p-68b34d08.entry.js} +1 -1
  1341. package/dist/swirl-components/{p-1d438331.entry.js → p-698da07c.entry.js} +1 -1
  1342. package/dist/swirl-components/{p-894be575.entry.js → p-6a9aca51.entry.js} +1 -1
  1343. package/dist/swirl-components/{p-21e8ca2f.entry.js → p-6ae30118.entry.js} +1 -1
  1344. package/dist/swirl-components/p-6ae3e493.entry.js +1 -0
  1345. package/dist/swirl-components/p-6c33d9d1.entry.js +1 -0
  1346. package/dist/swirl-components/{p-493a7d0e.entry.js → p-6c746975.entry.js} +1 -1
  1347. package/dist/swirl-components/{p-4c71fd82.entry.js → p-6d3a7341.entry.js} +1 -1
  1348. package/dist/swirl-components/{p-f737d8b1.entry.js → p-6e4e7039.entry.js} +1 -1
  1349. package/dist/swirl-components/{p-f11c02e4.entry.js → p-6e797d5f.entry.js} +1 -1
  1350. package/dist/swirl-components/p-6fecb3ad.entry.js +1 -0
  1351. package/dist/swirl-components/p-6ff8e8ea.entry.js +1 -0
  1352. package/dist/swirl-components/{p-4e4e3dfc.entry.js → p-71ece2a9.entry.js} +1 -1
  1353. package/dist/swirl-components/p-72f1f9fc.entry.js +1 -0
  1354. package/dist/swirl-components/p-731915fa.entry.js +1 -0
  1355. package/dist/swirl-components/{p-0b59bda8.entry.js → p-73bd27d2.entry.js} +1 -1
  1356. package/dist/swirl-components/p-744896ce.entry.js +1 -0
  1357. package/dist/swirl-components/{p-35567ea0.entry.js → p-7641aec4.entry.js} +1 -1
  1358. package/dist/swirl-components/{p-518bb604.entry.js → p-7673a4b6.entry.js} +1 -1
  1359. package/dist/swirl-components/{p-3abd3503.entry.js → p-78d7a136.entry.js} +1 -1
  1360. package/dist/swirl-components/p-78fc7c31.entry.js +1 -0
  1361. package/dist/swirl-components/{p-a44a7345.entry.js → p-7a687191.entry.js} +1 -1
  1362. package/dist/swirl-components/{p-da99f8b7.entry.js → p-7aec8819.entry.js} +1 -1
  1363. package/dist/swirl-components/{p-f54ab1d3.entry.js → p-7cdaa22f.entry.js} +1 -1
  1364. package/dist/swirl-components/{p-362dff79.entry.js → p-7e2203c2.entry.js} +1 -1
  1365. package/dist/swirl-components/{p-11ffbeea.entry.js → p-7e455d55.entry.js} +1 -1
  1366. package/dist/swirl-components/p-7f7c8b84.entry.js +1 -0
  1367. package/dist/swirl-components/{p-7adc5a0d.entry.js → p-82223a09.entry.js} +1 -1
  1368. package/dist/swirl-components/{p-85d208fe.entry.js → p-83377ba9.entry.js} +1 -1
  1369. package/dist/swirl-components/{p-34482796.entry.js → p-838ab42d.entry.js} +1 -1
  1370. package/dist/swirl-components/{p-84504c92.entry.js → p-84d94a7f.entry.js} +1 -1
  1371. package/dist/swirl-components/{p-ca9ba3a5.entry.js → p-853c9b85.entry.js} +1 -1
  1372. package/dist/swirl-components/{p-8f52de96.entry.js → p-8696b8d7.entry.js} +1 -1
  1373. package/dist/swirl-components/{p-54743823.entry.js → p-87cd46cf.entry.js} +1 -1
  1374. package/dist/swirl-components/p-8839612b.entry.js +1 -0
  1375. package/dist/swirl-components/{p-5921f01a.entry.js → p-8853d8c3.entry.js} +1 -1
  1376. package/dist/swirl-components/{p-1e956622.entry.js → p-88d1f9cb.entry.js} +1 -1
  1377. package/dist/swirl-components/{p-abb5e4dd.entry.js → p-891c410c.entry.js} +1 -1
  1378. package/dist/swirl-components/{p-9ce7e5a7.entry.js → p-8bc04d3f.entry.js} +1 -1
  1379. package/dist/swirl-components/{p-d70f18f3.entry.js → p-8d2c4549.entry.js} +1 -1
  1380. package/dist/swirl-components/p-8d973c9c.js +7 -0
  1381. package/dist/swirl-components/{p-8ca03bc5.entry.js → p-8e04a678.entry.js} +1 -1
  1382. package/dist/swirl-components/p-8edaaae7.entry.js +1 -0
  1383. package/dist/swirl-components/{p-250351c9.entry.js → p-901fe579.entry.js} +1 -1
  1384. package/dist/swirl-components/{p-9ad0fa42.entry.js → p-905e64bd.entry.js} +1 -1
  1385. package/dist/swirl-components/{p-7ae6f446.entry.js → p-90ba672c.entry.js} +1 -1
  1386. package/dist/swirl-components/{p-446dc6a0.entry.js → p-90c5ecf2.entry.js} +1 -1
  1387. package/dist/swirl-components/{p-5927c49e.entry.js → p-90e8d2bc.entry.js} +1 -1
  1388. package/dist/swirl-components/{p-0c20ee9a.entry.js → p-93d3eac7.entry.js} +1 -1
  1389. package/dist/swirl-components/{p-4b61eb8a.entry.js → p-954f5762.entry.js} +1 -1
  1390. package/dist/swirl-components/{p-2ef076f5.entry.js → p-973c1a84.entry.js} +1 -1
  1391. package/dist/swirl-components/p-98382644.entry.js +1 -0
  1392. package/dist/swirl-components/{p-c5410d94.entry.js → p-992be00d.entry.js} +1 -1
  1393. package/dist/swirl-components/{p-4db20295.entry.js → p-9ad14889.entry.js} +1 -1
  1394. package/dist/swirl-components/{p-0a75b235.entry.js → p-9b81071c.entry.js} +1 -1
  1395. package/dist/swirl-components/{p-e3a21149.entry.js → p-9bc8b267.entry.js} +1 -1
  1396. package/dist/swirl-components/{p-55e38108.entry.js → p-9d5d7d10.entry.js} +1 -1
  1397. package/dist/swirl-components/{p-01c451c8.entry.js → p-9dde5d09.entry.js} +1 -1
  1398. package/dist/swirl-components/{p-c317c76a.entry.js → p-9ff988d9.entry.js} +1 -1
  1399. package/dist/swirl-components/{p-0082c91d.entry.js → p-a150dfc6.entry.js} +1 -1
  1400. package/dist/swirl-components/{p-d31abef3.entry.js → p-a25be20c.entry.js} +1 -1
  1401. package/dist/swirl-components/{p-8e53b30d.entry.js → p-a26bf873.entry.js} +1 -1
  1402. package/dist/swirl-components/{p-e750f160.entry.js → p-a2da5d1c.entry.js} +1 -1
  1403. package/dist/swirl-components/p-a2ff5172.entry.js +1 -0
  1404. package/dist/swirl-components/{p-9cc705c7.entry.js → p-a337ea7f.entry.js} +1 -1
  1405. package/dist/swirl-components/{p-32586381.entry.js → p-a3f8ec66.entry.js} +1 -1
  1406. package/dist/swirl-components/p-a76fe798.entry.js +1 -0
  1407. package/dist/swirl-components/{p-6ba91b66.entry.js → p-a98ad481.entry.js} +1 -1
  1408. package/dist/swirl-components/{p-5dd824b7.entry.js → p-aa17cd06.entry.js} +1 -1
  1409. package/dist/swirl-components/{p-989a8f9c.entry.js → p-aaa8e19f.entry.js} +1 -1
  1410. package/dist/swirl-components/{p-52a8ba47.entry.js → p-ace27467.entry.js} +1 -1
  1411. package/dist/swirl-components/{p-6655ffd4.entry.js → p-ad54b733.entry.js} +1 -1
  1412. package/dist/swirl-components/p-ada586a2.entry.js +1 -0
  1413. package/dist/swirl-components/p-afacfc4a.entry.js +1 -0
  1414. package/dist/swirl-components/{p-1d7055f5.entry.js → p-b0a0a31a.entry.js} +1 -1
  1415. package/dist/swirl-components/{p-f9b647b9.entry.js → p-b0b9805c.entry.js} +1 -1
  1416. package/dist/swirl-components/{p-de18b826.entry.js → p-b1763c9d.entry.js} +1 -1
  1417. package/dist/swirl-components/{p-3c2f3fcb.entry.js → p-b24b89cf.entry.js} +1 -1
  1418. package/dist/swirl-components/{p-04152b02.entry.js → p-b2d71728.entry.js} +1 -1
  1419. package/dist/swirl-components/{p-b390dc99.entry.js → p-b30c0580.entry.js} +1 -1
  1420. package/dist/swirl-components/{p-0a5e26a8.entry.js → p-b32c90a2.entry.js} +1 -1
  1421. package/dist/swirl-components/{p-b3ed495f.entry.js → p-b4320bc1.entry.js} +1 -1
  1422. package/dist/swirl-components/{p-9602ee7e.entry.js → p-b4c76806.entry.js} +1 -1
  1423. package/dist/swirl-components/{p-4299840b.entry.js → p-b5b8f259.entry.js} +1 -1
  1424. package/dist/swirl-components/p-b72cf65a.entry.js +1 -0
  1425. package/dist/swirl-components/{p-dfa72584.entry.js → p-b7a52e34.entry.js} +1 -1
  1426. package/dist/swirl-components/{p-f5dac43c.entry.js → p-b7f472ec.entry.js} +1 -1
  1427. package/dist/swirl-components/p-b850a031.entry.js +1 -0
  1428. package/dist/swirl-components/{p-e724f91f.entry.js → p-b863886a.entry.js} +1 -1
  1429. package/dist/swirl-components/p-b8d6f1cd.entry.js +1 -0
  1430. package/dist/swirl-components/{p-353aa4e2.entry.js → p-bee49d95.entry.js} +1 -1
  1431. package/dist/swirl-components/p-bf598bd8.entry.js +1 -0
  1432. package/dist/swirl-components/{p-3ede1fc5.entry.js → p-bf8c13bd.entry.js} +1 -1
  1433. package/dist/swirl-components/p-c0145e13.entry.js +1 -0
  1434. package/dist/swirl-components/{p-2ef0bfbe.entry.js → p-c1dc4778.entry.js} +1 -1
  1435. package/dist/swirl-components/{p-ca39bebe.entry.js → p-c2f04b2c.entry.js} +1 -1
  1436. package/dist/swirl-components/{p-9da30645.entry.js → p-c4cff16e.entry.js} +1 -1
  1437. package/dist/swirl-components/p-c510fa61.entry.js +1 -0
  1438. package/dist/swirl-components/p-c5143a42.entry.js +1 -0
  1439. package/dist/swirl-components/{p-28d9556a.entry.js → p-c53fb0d9.entry.js} +1 -1
  1440. package/dist/swirl-components/{p-88388fef.entry.js → p-c7dab229.entry.js} +1 -1
  1441. package/dist/swirl-components/p-c86baf6b.entry.js +1 -0
  1442. package/dist/swirl-components/p-c9369cb1.entry.js +1 -0
  1443. package/dist/swirl-components/{p-25560281.entry.js → p-c9a57998.entry.js} +1 -1
  1444. package/dist/swirl-components/{p-3fede16a.entry.js → p-c9e298f5.entry.js} +1 -1
  1445. package/dist/swirl-components/{p-5b94c256.entry.js → p-ca296d31.entry.js} +1 -1
  1446. package/dist/swirl-components/{p-15d6bac7.entry.js → p-cb0c419f.entry.js} +1 -1
  1447. package/dist/swirl-components/{p-1296e8c3.entry.js → p-cb2d3a4c.entry.js} +1 -1
  1448. package/dist/swirl-components/{p-d2babe65.entry.js → p-cb7a4a4f.entry.js} +1 -1
  1449. package/dist/swirl-components/{p-f7a63d6e.entry.js → p-cbc81036.entry.js} +1 -1
  1450. package/dist/swirl-components/p-cccc5ce3.entry.js +1 -0
  1451. package/dist/swirl-components/{p-30c944bd.entry.js → p-cda594c7.entry.js} +1 -1
  1452. package/dist/swirl-components/{p-624e0623.entry.js → p-ce826cae.entry.js} +1 -1
  1453. package/dist/swirl-components/{p-d0419047.entry.js → p-cead84dc.entry.js} +1 -1
  1454. package/dist/swirl-components/{p-05937db4.entry.js → p-cf649281.entry.js} +1 -1
  1455. package/dist/swirl-components/p-cf6b5970.entry.js +1 -0
  1456. package/dist/swirl-components/{p-9ee2c05e.entry.js → p-d010e11b.entry.js} +1 -1
  1457. package/dist/swirl-components/{p-b739ad55.entry.js → p-d01e6f21.entry.js} +1 -1
  1458. package/dist/swirl-components/{p-c3b116db.entry.js → p-d07c9df0.entry.js} +1 -1
  1459. package/dist/swirl-components/{p-70334304.entry.js → p-d16c31e2.entry.js} +1 -1
  1460. package/dist/swirl-components/{p-1f7b5749.entry.js → p-d1726a54.entry.js} +1 -1
  1461. package/dist/swirl-components/{p-79bfaf30.entry.js → p-d224fe07.entry.js} +1 -1
  1462. package/dist/swirl-components/p-d22d933a.entry.js +1 -0
  1463. package/dist/swirl-components/{p-ffdfbc83.entry.js → p-d2f0b1fd.entry.js} +1 -1
  1464. package/dist/swirl-components/{p-16a1e00a.entry.js → p-d372a8b2.entry.js} +1 -1
  1465. package/dist/swirl-components/p-d3caae34.entry.js +1 -0
  1466. package/dist/swirl-components/p-d41ebe87.entry.js +1 -0
  1467. package/dist/swirl-components/{p-804c14b1.entry.js → p-d4515296.entry.js} +1 -1
  1468. package/dist/swirl-components/{p-d7bd3ec9.entry.js → p-d5f6f58c.entry.js} +1 -1
  1469. package/dist/swirl-components/{p-c8a45a43.entry.js → p-d66bd16a.entry.js} +1 -1
  1470. package/dist/swirl-components/{p-4b76b00c.entry.js → p-d6b5cb5f.entry.js} +1 -1
  1471. package/dist/swirl-components/p-d7104c4e.entry.js +1 -0
  1472. package/dist/swirl-components/p-d7e28e3d.entry.js +1 -0
  1473. package/dist/swirl-components/{p-d77d9399.entry.js → p-d81385a9.entry.js} +1 -1
  1474. package/dist/swirl-components/{p-440290c4.entry.js → p-d91cc8fa.entry.js} +1 -1
  1475. package/dist/swirl-components/{p-cf0965f6.entry.js → p-dce255b4.entry.js} +1 -1
  1476. package/dist/swirl-components/p-df747cf2.entry.js +1 -0
  1477. package/dist/swirl-components/{p-d9881956.entry.js → p-e045270c.entry.js} +1 -1
  1478. package/dist/swirl-components/{p-dadf2cf5.entry.js → p-e04e3523.entry.js} +1 -1
  1479. package/dist/swirl-components/{p-032d5d3a.entry.js → p-e0c3760c.entry.js} +3 -3
  1480. package/dist/swirl-components/{p-843cbd50.entry.js → p-e10fba70.entry.js} +1 -1
  1481. package/dist/swirl-components/{p-c1913ad9.entry.js → p-e113ec0c.entry.js} +1 -1
  1482. package/dist/swirl-components/{p-fc22fbb1.entry.js → p-e1fbded4.entry.js} +1 -1
  1483. package/dist/swirl-components/{p-c8921192.entry.js → p-e30b79a9.entry.js} +1 -1
  1484. package/dist/swirl-components/{p-486317ae.entry.js → p-e4100590.entry.js} +1 -1
  1485. package/dist/swirl-components/{p-86fb09e3.entry.js → p-e4bc183c.entry.js} +1 -1
  1486. package/dist/swirl-components/p-e547f524.entry.js +1 -0
  1487. package/dist/swirl-components/{p-3c12d4c7.entry.js → p-e5dc03a7.entry.js} +1 -1
  1488. package/dist/swirl-components/{p-becc5a3c.entry.js → p-e7bea2a1.entry.js} +1 -1
  1489. package/dist/swirl-components/{p-0eb40ec6.entry.js → p-e7cec194.entry.js} +1 -1
  1490. package/dist/swirl-components/{p-cf0e2e5c.entry.js → p-e93f4211.entry.js} +1 -1
  1491. package/dist/swirl-components/p-e9463400.entry.js +1 -0
  1492. package/dist/swirl-components/p-ec276797.entry.js +1 -0
  1493. package/dist/swirl-components/{p-0e83a03e.entry.js → p-eccb5ce7.entry.js} +1 -1
  1494. package/dist/swirl-components/{p-2142e160.entry.js → p-ee27adb0.entry.js} +1 -1
  1495. package/dist/swirl-components/{p-61a4a3b4.entry.js → p-ef2d4f17.entry.js} +1 -1
  1496. package/dist/swirl-components/{p-91d9bf68.entry.js → p-f194e198.entry.js} +1 -1
  1497. package/dist/swirl-components/{p-ee595568.entry.js → p-f3b83f1a.entry.js} +1 -1
  1498. package/dist/swirl-components/p-f401592e.entry.js +1 -0
  1499. package/dist/swirl-components/{p-20878c70.entry.js → p-f4aa4ed9.entry.js} +1 -1
  1500. package/dist/swirl-components/p-f648cb48.entry.js +1 -0
  1501. package/dist/swirl-components/p-f73f7ecd.entry.js +1 -0
  1502. package/dist/swirl-components/{p-7830c872.entry.js → p-f7bf4bbb.entry.js} +1 -1
  1503. package/dist/swirl-components/p-f91c7c66.entry.js +1 -0
  1504. package/dist/swirl-components/{p-1258cba2.entry.js → p-fb6d6ad0.entry.js} +1 -1
  1505. package/dist/swirl-components/{p-ce909983.entry.js → p-fbcb0476.entry.js} +1 -1
  1506. package/dist/swirl-components/p-fbe9db16.entry.js +1 -0
  1507. package/dist/swirl-components/{p-27b14d99.entry.js → p-fc3e1782.entry.js} +1 -1
  1508. package/dist/swirl-components/{p-4d2c93bc.entry.js → p-fc76371f.entry.js} +1 -1
  1509. package/dist/swirl-components/{p-0ea7341f.entry.js → p-fcaeee7d.entry.js} +1 -1
  1510. package/dist/swirl-components/swirl-components.esm.js +1 -1
  1511. package/dist/types/components/swirl-tree-view/swirl-tree-view.config.d.ts +2 -0
  1512. package/dist/types/components/swirl-tree-view/swirl-tree-view.d.ts +37 -0
  1513. package/dist/types/components/swirl-tree-view-item/swirl-tree-view-item.d.ts +34 -0
  1514. package/dist/types/components.d.ts +26 -0
  1515. package/dist/types/index.d.ts +2 -0
  1516. package/package.json +2 -2
  1517. package/vscode-data.json +12 -0
  1518. package/dist/cjs/swirl-icon-check-strong.cjs.entry.js +0 -28
  1519. package/dist/esm/swirl-icon-check-strong.entry.js +0 -24
  1520. package/dist/swirl-components/p-0a826b0a.entry.js +0 -1
  1521. package/dist/swirl-components/p-0e206a8e.entry.js +0 -1
  1522. package/dist/swirl-components/p-0ea9093a.entry.js +0 -1
  1523. package/dist/swirl-components/p-0fc0aec0.entry.js +0 -1
  1524. package/dist/swirl-components/p-125559e9.entry.js +0 -1
  1525. package/dist/swirl-components/p-1486d7ea.js +0 -7
  1526. package/dist/swirl-components/p-18cd794c.entry.js +0 -1
  1527. package/dist/swirl-components/p-18e2f319.entry.js +0 -1
  1528. package/dist/swirl-components/p-1a597089.entry.js +0 -1
  1529. package/dist/swirl-components/p-1d632109.entry.js +0 -1
  1530. package/dist/swirl-components/p-1e8e1187.entry.js +0 -1
  1531. package/dist/swirl-components/p-1f216819.entry.js +0 -1
  1532. package/dist/swirl-components/p-22285221.entry.js +0 -1
  1533. package/dist/swirl-components/p-22f887a0.entry.js +0 -1
  1534. package/dist/swirl-components/p-2430994f.entry.js +0 -1
  1535. package/dist/swirl-components/p-2706e854.entry.js +0 -1
  1536. package/dist/swirl-components/p-2ab038e3.entry.js +0 -1
  1537. package/dist/swirl-components/p-2c86d0c5.entry.js +0 -1
  1538. package/dist/swirl-components/p-2cdb39cf.entry.js +0 -1
  1539. package/dist/swirl-components/p-2d478aa0.entry.js +0 -1
  1540. package/dist/swirl-components/p-31afa9a0.entry.js +0 -1
  1541. package/dist/swirl-components/p-33d2b1ab.entry.js +0 -1
  1542. package/dist/swirl-components/p-3446bba9.entry.js +0 -1
  1543. package/dist/swirl-components/p-35937963.entry.js +0 -1
  1544. package/dist/swirl-components/p-3c263280.entry.js +0 -1
  1545. package/dist/swirl-components/p-3e57870c.entry.js +0 -1
  1546. package/dist/swirl-components/p-3e9de3c3.entry.js +0 -1
  1547. package/dist/swirl-components/p-42d95da5.entry.js +0 -1
  1548. package/dist/swirl-components/p-4435ecb3.entry.js +0 -1
  1549. package/dist/swirl-components/p-455ea9a6.entry.js +0 -1
  1550. package/dist/swirl-components/p-46388ce6.entry.js +0 -1
  1551. package/dist/swirl-components/p-4d255de7.entry.js +0 -1
  1552. package/dist/swirl-components/p-4f9a6a51.entry.js +0 -1
  1553. package/dist/swirl-components/p-51a70a1d.entry.js +0 -1
  1554. package/dist/swirl-components/p-6481a1f8.entry.js +0 -1
  1555. package/dist/swirl-components/p-67203c60.entry.js +0 -1
  1556. package/dist/swirl-components/p-67d0d421.entry.js +0 -1
  1557. package/dist/swirl-components/p-74310d75.entry.js +0 -1
  1558. package/dist/swirl-components/p-8a173405.entry.js +0 -1
  1559. package/dist/swirl-components/p-8e33806a.entry.js +0 -1
  1560. package/dist/swirl-components/p-98594a18.entry.js +0 -1
  1561. package/dist/swirl-components/p-99a74b74.entry.js +0 -1
  1562. package/dist/swirl-components/p-9b84132a.entry.js +0 -1
  1563. package/dist/swirl-components/p-9bf6ea76.entry.js +0 -1
  1564. package/dist/swirl-components/p-9d9935c4.entry.js +0 -1
  1565. package/dist/swirl-components/p-b65917c5.entry.js +0 -1
  1566. package/dist/swirl-components/p-bc9dcd72.entry.js +0 -1
  1567. package/dist/swirl-components/p-c317db85.entry.js +0 -1
  1568. package/dist/swirl-components/p-c3ee8ee3.entry.js +0 -1
  1569. package/dist/swirl-components/p-cb33e65e.entry.js +0 -1
  1570. package/dist/swirl-components/p-d021a884.entry.js +0 -1
  1571. package/dist/swirl-components/p-d0c3b388.entry.js +0 -1
  1572. package/dist/swirl-components/p-dae6e882.entry.js +0 -1
  1573. package/dist/swirl-components/p-e70264d6.entry.js +0 -1
  1574. package/dist/swirl-components/p-e8448fee.entry.js +0 -1
  1575. package/dist/swirl-components/p-ed403ec7.entry.js +0 -1
  1576. package/dist/swirl-components/p-f25f8761.entry.js +0 -1
  1577. package/dist/swirl-components/p-fa89117d.entry.js +0 -1
  1578. package/dist/swirl-components/p-fac784d4.entry.js +0 -1
  1579. package/dist/swirl-components/p-fb055861.entry.js +0 -1
  1580. package/dist/swirl-components/p-fe95ea80.entry.js +0 -1
  1581. package/dist/swirl-components/p-ff451862.entry.js +0 -1
  1582. package/dist/swirl-components/p-ff64870c.entry.js +0 -1
@@ -1,33 +1,27 @@
1
1
  'use strict';
2
2
 
3
3
  /**!
4
- * Sortable 1.15.0
4
+ * Sortable 1.15.6
5
5
  * @author RubaXa <trash@rubaxa.org>
6
6
  * @author owenm <owen23355@gmail.com>
7
7
  * @license MIT
8
8
  */
9
9
  function ownKeys(object, enumerableOnly) {
10
10
  var keys = Object.keys(object);
11
-
12
11
  if (Object.getOwnPropertySymbols) {
13
12
  var symbols = Object.getOwnPropertySymbols(object);
14
-
15
13
  if (enumerableOnly) {
16
14
  symbols = symbols.filter(function (sym) {
17
15
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
18
16
  });
19
17
  }
20
-
21
18
  keys.push.apply(keys, symbols);
22
19
  }
23
-
24
20
  return keys;
25
21
  }
26
-
27
22
  function _objectSpread2(target) {
28
23
  for (var i = 1; i < arguments.length; i++) {
29
24
  var source = arguments[i] != null ? arguments[i] : {};
30
-
31
25
  if (i % 2) {
32
26
  ownKeys(Object(source), true).forEach(function (key) {
33
27
  _defineProperty(target, key, source[key]);
@@ -40,10 +34,8 @@ function _objectSpread2(target) {
40
34
  });
41
35
  }
42
36
  }
43
-
44
37
  return target;
45
38
  }
46
-
47
39
  function _typeof(obj) {
48
40
  "@babel/helpers - typeof";
49
41
 
@@ -56,10 +48,8 @@ function _typeof(obj) {
56
48
  return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
57
49
  };
58
50
  }
59
-
60
51
  return _typeof(obj);
61
52
  }
62
-
63
53
  function _defineProperty(obj, key, value) {
64
54
  if (key in obj) {
65
55
  Object.defineProperty(obj, key, {
@@ -71,53 +61,40 @@ function _defineProperty(obj, key, value) {
71
61
  } else {
72
62
  obj[key] = value;
73
63
  }
74
-
75
64
  return obj;
76
65
  }
77
-
78
66
  function _extends() {
79
67
  _extends = Object.assign || function (target) {
80
68
  for (var i = 1; i < arguments.length; i++) {
81
69
  var source = arguments[i];
82
-
83
70
  for (var key in source) {
84
71
  if (Object.prototype.hasOwnProperty.call(source, key)) {
85
72
  target[key] = source[key];
86
73
  }
87
74
  }
88
75
  }
89
-
90
76
  return target;
91
77
  };
92
-
93
78
  return _extends.apply(this, arguments);
94
79
  }
95
-
96
80
  function _objectWithoutPropertiesLoose(source, excluded) {
97
81
  if (source == null) return {};
98
82
  var target = {};
99
83
  var sourceKeys = Object.keys(source);
100
84
  var key, i;
101
-
102
85
  for (i = 0; i < sourceKeys.length; i++) {
103
86
  key = sourceKeys[i];
104
87
  if (excluded.indexOf(key) >= 0) continue;
105
88
  target[key] = source[key];
106
89
  }
107
-
108
90
  return target;
109
91
  }
110
-
111
92
  function _objectWithoutProperties(source, excluded) {
112
93
  if (source == null) return {};
113
-
114
94
  var target = _objectWithoutPropertiesLoose(source, excluded);
115
-
116
95
  var key, i;
117
-
118
96
  if (Object.getOwnPropertySymbols) {
119
97
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
120
-
121
98
  for (i = 0; i < sourceSymbolKeys.length; i++) {
122
99
  key = sourceSymbolKeys[i];
123
100
  if (excluded.indexOf(key) >= 0) continue;
@@ -125,18 +102,16 @@ function _objectWithoutProperties(source, excluded) {
125
102
  target[key] = source[key];
126
103
  }
127
104
  }
128
-
129
105
  return target;
130
106
  }
131
107
 
132
- var version = "1.15.0";
108
+ var version = "1.15.6";
133
109
 
134
110
  function userAgent(pattern) {
135
111
  if (typeof window !== 'undefined' && window.navigator) {
136
112
  return !! /*@__PURE__*/navigator.userAgent.match(pattern);
137
113
  }
138
114
  }
139
-
140
115
  var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
141
116
  var Edge = userAgent(/Edge/i);
142
117
  var FireFox = userAgent(/firefox/i);
@@ -148,23 +123,15 @@ var captureMode = {
148
123
  capture: false,
149
124
  passive: false
150
125
  };
151
-
152
126
  function on(el, event, fn) {
153
127
  el.addEventListener(event, fn, !IE11OrLess && captureMode);
154
128
  }
155
-
156
129
  function off(el, event, fn) {
157
130
  el.removeEventListener(event, fn, !IE11OrLess && captureMode);
158
131
  }
159
-
160
- function matches(
161
- /**HTMLElement*/
162
- el,
163
- /**String*/
164
- selector) {
132
+ function matches( /**HTMLElement*/el, /**String*/selector) {
165
133
  if (!selector) return;
166
134
  selector[0] === '>' && (selector = selector.substring(1));
167
-
168
135
  if (el) {
169
136
  try {
170
137
  if (el.matches) {
@@ -178,39 +145,25 @@ selector) {
178
145
  return false;
179
146
  }
180
147
  }
181
-
182
148
  return false;
183
149
  }
184
-
185
150
  function getParentOrHost(el) {
186
151
  return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
187
152
  }
188
-
189
- function closest(
190
- /**HTMLElement*/
191
- el,
192
- /**String*/
193
- selector,
194
- /**HTMLElement*/
195
- ctx, includeCTX) {
153
+ function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
196
154
  if (el) {
197
155
  ctx = ctx || document;
198
-
199
156
  do {
200
157
  if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
201
158
  return el;
202
159
  }
203
-
204
160
  if (el === ctx) break;
205
161
  /* jshint boss:true */
206
162
  } while (el = getParentOrHost(el));
207
163
  }
208
-
209
164
  return null;
210
165
  }
211
-
212
166
  var R_SPACE = /\s+/g;
213
-
214
167
  function toggleClass(el, name, state) {
215
168
  if (el && name) {
216
169
  if (el.classList) {
@@ -221,10 +174,8 @@ function toggleClass(el, name, state) {
221
174
  }
222
175
  }
223
176
  }
224
-
225
177
  function css(el, prop, val) {
226
178
  var style = el && el.style;
227
-
228
179
  if (style) {
229
180
  if (val === void 0) {
230
181
  if (document.defaultView && document.defaultView.getComputedStyle) {
@@ -232,83 +183,67 @@ function css(el, prop, val) {
232
183
  } else if (el.currentStyle) {
233
184
  val = el.currentStyle;
234
185
  }
235
-
236
186
  return prop === void 0 ? val : val[prop];
237
187
  } else {
238
188
  if (!(prop in style) && prop.indexOf('webkit') === -1) {
239
189
  prop = '-webkit-' + prop;
240
190
  }
241
-
242
191
  style[prop] = val + (typeof val === 'string' ? '' : 'px');
243
192
  }
244
193
  }
245
194
  }
246
-
247
195
  function matrix(el, selfOnly) {
248
196
  var appliedTransforms = '';
249
-
250
197
  if (typeof el === 'string') {
251
198
  appliedTransforms = el;
252
199
  } else {
253
200
  do {
254
201
  var transform = css(el, 'transform');
255
-
256
202
  if (transform && transform !== 'none') {
257
203
  appliedTransforms = transform + ' ' + appliedTransforms;
258
204
  }
259
205
  /* jshint boss:true */
260
-
261
206
  } while (!selfOnly && (el = el.parentNode));
262
207
  }
263
-
264
208
  var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
265
209
  /*jshint -W056 */
266
-
267
210
  return matrixFn && new matrixFn(appliedTransforms);
268
211
  }
269
-
270
212
  function find(ctx, tagName, iterator) {
271
213
  if (ctx) {
272
214
  var list = ctx.getElementsByTagName(tagName),
273
- i = 0,
274
- n = list.length;
275
-
215
+ i = 0,
216
+ n = list.length;
276
217
  if (iterator) {
277
218
  for (; i < n; i++) {
278
219
  iterator(list[i], i);
279
220
  }
280
221
  }
281
-
282
222
  return list;
283
223
  }
284
-
285
224
  return [];
286
225
  }
287
-
288
226
  function getWindowScrollingElement() {
289
227
  var scrollingElement = document.scrollingElement;
290
-
291
228
  if (scrollingElement) {
292
229
  return scrollingElement;
293
230
  } else {
294
231
  return document.documentElement;
295
232
  }
296
233
  }
297
- /**
298
- * Returns the "bounding client rect" of given element
299
- * @param {HTMLElement} el The element whose boundingClientRect is wanted
300
- * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
301
- * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
302
- * @param {[Boolean]} undoScale Whether the container's scale() should be undone
303
- * @param {[HTMLElement]} container The parent the element will be placed in
304
- * @return {Object} The boundingClientRect of el, with specified adjustments
305
- */
306
-
307
234
 
235
+ /**
236
+ * Returns the "bounding client rect" of given element
237
+ * @param {HTMLElement} el The element whose boundingClientRect is wanted
238
+ * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
239
+ * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
240
+ * @param {[Boolean]} undoScale Whether the container's scale() should be undone
241
+ * @param {[HTMLElement]} container The parent the element will be placed in
242
+ * @return {Object} The boundingClientRect of el, with specified adjustments
243
+ */
308
244
  function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
309
245
  if (!el.getBoundingClientRect && el !== window) return;
310
246
  var elRect, top, left, bottom, right, height, width;
311
-
312
247
  if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
313
248
  elRect = el.getBoundingClientRect();
314
249
  top = elRect.top;
@@ -325,17 +260,18 @@ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoS
325
260
  height = window.innerHeight;
326
261
  width = window.innerWidth;
327
262
  }
328
-
329
263
  if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
330
264
  // Adjust for translate()
331
- container = container || el.parentNode; // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
332
- // Not needed on <= IE11
265
+ container = container || el.parentNode;
333
266
 
267
+ // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
268
+ // Not needed on <= IE11
334
269
  if (!IE11OrLess) {
335
270
  do {
336
271
  if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
337
- var containerRect = container.getBoundingClientRect(); // Set relative to edges of padding box of container
272
+ var containerRect = container.getBoundingClientRect();
338
273
 
274
+ // Set relative to edges of padding box of container
339
275
  top -= containerRect.top + parseInt(css(container, 'border-top-width'));
340
276
  left -= containerRect.left + parseInt(css(container, 'border-left-width'));
341
277
  bottom = top + elRect.height;
@@ -343,17 +279,14 @@ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoS
343
279
  break;
344
280
  }
345
281
  /* jshint boss:true */
346
-
347
282
  } while (container = container.parentNode);
348
283
  }
349
284
  }
350
-
351
285
  if (undoScale && el !== window) {
352
286
  // Adjust for scale()
353
287
  var elMatrix = matrix(container || el),
354
- scaleX = elMatrix && elMatrix.a,
355
- scaleY = elMatrix && elMatrix.d;
356
-
288
+ scaleX = elMatrix && elMatrix.a,
289
+ scaleY = elMatrix && elMatrix.d;
357
290
  if (elMatrix) {
358
291
  top /= scaleY;
359
292
  left /= scaleX;
@@ -363,7 +296,6 @@ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoS
363
296
  right = left + width;
364
297
  }
365
298
  }
366
-
367
299
  return {
368
300
  top: top,
369
301
  left: left,
@@ -373,165 +305,140 @@ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoS
373
305
  height: height
374
306
  };
375
307
  }
376
- /**
377
- * Checks if a side of an element is scrolled past a side of its parents
378
- * @param {HTMLElement} el The element who's side being scrolled out of view is in question
379
- * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
380
- * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
381
- * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
382
- */
383
-
384
308
 
309
+ /**
310
+ * Checks if a side of an element is scrolled past a side of its parents
311
+ * @param {HTMLElement} el The element who's side being scrolled out of view is in question
312
+ * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
313
+ * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
314
+ * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
315
+ */
385
316
  function isScrolledPast(el, elSide, parentSide) {
386
317
  var parent = getParentAutoScrollElement(el, true),
387
- elSideVal = getRect(el)[elSide];
388
- /* jshint boss:true */
318
+ elSideVal = getRect(el)[elSide];
389
319
 
320
+ /* jshint boss:true */
390
321
  while (parent) {
391
322
  var parentSideVal = getRect(parent)[parentSide],
392
- visible = void 0;
393
-
323
+ visible = void 0;
394
324
  if (parentSide === 'top' || parentSide === 'left') {
395
325
  visible = elSideVal >= parentSideVal;
396
326
  } else {
397
327
  visible = elSideVal <= parentSideVal;
398
328
  }
399
-
400
329
  if (!visible) return parent;
401
330
  if (parent === getWindowScrollingElement()) break;
402
331
  parent = getParentAutoScrollElement(parent, false);
403
332
  }
404
-
405
333
  return false;
406
334
  }
407
- /**
408
- * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
409
- * and non-draggable elements
410
- * @param {HTMLElement} el The parent element
411
- * @param {Number} childNum The index of the child
412
- * @param {Object} options Parent Sortable's options
413
- * @return {HTMLElement} The child at index childNum, or null if not found
414
- */
415
-
416
335
 
336
+ /**
337
+ * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
338
+ * and non-draggable elements
339
+ * @param {HTMLElement} el The parent element
340
+ * @param {Number} childNum The index of the child
341
+ * @param {Object} options Parent Sortable's options
342
+ * @return {HTMLElement} The child at index childNum, or null if not found
343
+ */
417
344
  function getChild(el, childNum, options, includeDragEl) {
418
345
  var currentChild = 0,
419
- i = 0,
420
- children = el.children;
421
-
346
+ i = 0,
347
+ children = el.children;
422
348
  while (i < children.length) {
423
349
  if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
424
350
  if (currentChild === childNum) {
425
351
  return children[i];
426
352
  }
427
-
428
353
  currentChild++;
429
354
  }
430
-
431
355
  i++;
432
356
  }
433
-
434
357
  return null;
435
358
  }
436
- /**
437
- * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
438
- * @param {HTMLElement} el Parent element
439
- * @param {selector} selector Any other elements that should be ignored
440
- * @return {HTMLElement} The last child, ignoring ghostEl
441
- */
442
-
443
359
 
360
+ /**
361
+ * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
362
+ * @param {HTMLElement} el Parent element
363
+ * @param {selector} selector Any other elements that should be ignored
364
+ * @return {HTMLElement} The last child, ignoring ghostEl
365
+ */
444
366
  function lastChild(el, selector) {
445
367
  var last = el.lastElementChild;
446
-
447
368
  while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
448
369
  last = last.previousElementSibling;
449
370
  }
450
-
451
371
  return last || null;
452
372
  }
453
- /**
454
- * Returns the index of an element within its parent for a selected set of
455
- * elements
456
- * @param {HTMLElement} el
457
- * @param {selector} selector
458
- * @return {number}
459
- */
460
-
461
373
 
374
+ /**
375
+ * Returns the index of an element within its parent for a selected set of
376
+ * elements
377
+ * @param {HTMLElement} el
378
+ * @param {selector} selector
379
+ * @return {number}
380
+ */
462
381
  function index(el, selector) {
463
382
  var index = 0;
464
-
465
383
  if (!el || !el.parentNode) {
466
384
  return -1;
467
385
  }
468
- /* jshint boss:true */
469
-
470
386
 
387
+ /* jshint boss:true */
471
388
  while (el = el.previousElementSibling) {
472
389
  if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
473
390
  index++;
474
391
  }
475
392
  }
476
-
477
393
  return index;
478
394
  }
479
- /**
480
- * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
481
- * The value is returned in real pixels.
482
- * @param {HTMLElement} el
483
- * @return {Array} Offsets in the format of [left, top]
484
- */
485
-
486
395
 
396
+ /**
397
+ * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
398
+ * The value is returned in real pixels.
399
+ * @param {HTMLElement} el
400
+ * @return {Array} Offsets in the format of [left, top]
401
+ */
487
402
  function getRelativeScrollOffset(el) {
488
403
  var offsetLeft = 0,
489
- offsetTop = 0,
490
- winScroller = getWindowScrollingElement();
491
-
404
+ offsetTop = 0,
405
+ winScroller = getWindowScrollingElement();
492
406
  if (el) {
493
407
  do {
494
408
  var elMatrix = matrix(el),
495
- scaleX = elMatrix.a,
496
- scaleY = elMatrix.d;
409
+ scaleX = elMatrix.a,
410
+ scaleY = elMatrix.d;
497
411
  offsetLeft += el.scrollLeft * scaleX;
498
412
  offsetTop += el.scrollTop * scaleY;
499
413
  } while (el !== winScroller && (el = el.parentNode));
500
414
  }
501
-
502
415
  return [offsetLeft, offsetTop];
503
416
  }
504
- /**
505
- * Returns the index of the object within the given array
506
- * @param {Array} arr Array that may or may not hold the object
507
- * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
508
- * @return {Number} The index of the object in the array, or -1
509
- */
510
-
511
417
 
418
+ /**
419
+ * Returns the index of the object within the given array
420
+ * @param {Array} arr Array that may or may not hold the object
421
+ * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
422
+ * @return {Number} The index of the object in the array, or -1
423
+ */
512
424
  function indexOfObject(arr, obj) {
513
425
  for (var i in arr) {
514
426
  if (!arr.hasOwnProperty(i)) continue;
515
-
516
427
  for (var key in obj) {
517
428
  if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
518
429
  }
519
430
  }
520
-
521
431
  return -1;
522
432
  }
523
-
524
433
  function getParentAutoScrollElement(el, includeSelf) {
525
434
  // skip to window
526
435
  if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
527
436
  var elem = el;
528
437
  var gotSelf = false;
529
-
530
438
  do {
531
439
  // we don't need to get elem css if it isn't even overflowing in the first place (performance)
532
440
  if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
533
441
  var elemCSS = css(elem);
534
-
535
442
  if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
536
443
  if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
537
444
  if (gotSelf || includeSelf) return elem;
@@ -539,12 +446,9 @@ function getParentAutoScrollElement(el, includeSelf) {
539
446
  }
540
447
  }
541
448
  /* jshint boss:true */
542
-
543
449
  } while (elem = elem.parentNode);
544
-
545
450
  return getWindowScrollingElement();
546
451
  }
547
-
548
452
  function extend(dst, src) {
549
453
  if (dst && src) {
550
454
  for (var key in src) {
@@ -553,49 +457,39 @@ function extend(dst, src) {
553
457
  }
554
458
  }
555
459
  }
556
-
557
460
  return dst;
558
461
  }
559
-
560
462
  function isRectEqual(rect1, rect2) {
561
463
  return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
562
464
  }
563
-
564
465
  var _throttleTimeout;
565
-
566
466
  function throttle(callback, ms) {
567
467
  return function () {
568
468
  if (!_throttleTimeout) {
569
469
  var args = arguments,
570
- _this = this;
571
-
470
+ _this = this;
572
471
  if (args.length === 1) {
573
472
  callback.call(_this, args[0]);
574
473
  } else {
575
474
  callback.apply(_this, args);
576
475
  }
577
-
578
476
  _throttleTimeout = setTimeout(function () {
579
477
  _throttleTimeout = void 0;
580
478
  }, ms);
581
479
  }
582
480
  };
583
481
  }
584
-
585
482
  function cancelThrottle() {
586
483
  clearTimeout(_throttleTimeout);
587
484
  _throttleTimeout = void 0;
588
485
  }
589
-
590
486
  function scrollBy(el, x, y) {
591
487
  el.scrollLeft += x;
592
488
  el.scrollTop += y;
593
489
  }
594
-
595
490
  function clone(el) {
596
491
  var Polymer = window.Polymer;
597
492
  var $ = window.jQuery || window.Zepto;
598
-
599
493
  if (Polymer && Polymer.dom) {
600
494
  return Polymer.dom(el).cloneNode(true);
601
495
  } else if ($) {
@@ -604,12 +498,28 @@ function clone(el) {
604
498
  return el.cloneNode(true);
605
499
  }
606
500
  }
607
-
501
+ function getChildContainingRectFromElement(container, options, ghostEl) {
502
+ var rect = {};
503
+ Array.from(container.children).forEach(function (child) {
504
+ var _rect$left, _rect$top, _rect$right, _rect$bottom;
505
+ if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl) return;
506
+ var childRect = getRect(child);
507
+ rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
508
+ rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
509
+ rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
510
+ rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
511
+ });
512
+ rect.width = rect.right - rect.left;
513
+ rect.height = rect.bottom - rect.top;
514
+ rect.x = rect.left;
515
+ rect.y = rect.top;
516
+ return rect;
517
+ }
608
518
  var expando = 'Sortable' + new Date().getTime();
609
519
 
610
520
  function AnimationStateManager() {
611
521
  var animationStates = [],
612
- animationCallbackId;
522
+ animationCallbackId;
613
523
  return {
614
524
  captureAnimationState: function captureAnimationState() {
615
525
  animationStates = [];
@@ -621,19 +531,16 @@ function AnimationStateManager() {
621
531
  target: child,
622
532
  rect: getRect(child)
623
533
  });
534
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
624
535
 
625
- var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect); // If animating: compensate for current animation
626
-
627
-
536
+ // If animating: compensate for current animation
628
537
  if (child.thisAnimationDuration) {
629
538
  var childMatrix = matrix(child, true);
630
-
631
539
  if (childMatrix) {
632
540
  fromRect.top -= childMatrix.f;
633
541
  fromRect.left -= childMatrix.e;
634
542
  }
635
543
  }
636
-
637
544
  child.fromRect = fromRect;
638
545
  });
639
546
  },
@@ -647,54 +554,47 @@ function AnimationStateManager() {
647
554
  },
648
555
  animateAll: function animateAll(callback) {
649
556
  var _this = this;
650
-
651
557
  if (!this.options.animation) {
652
558
  clearTimeout(animationCallbackId);
653
559
  if (typeof callback === 'function') callback();
654
560
  return;
655
561
  }
656
-
657
562
  var animating = false,
658
- animationTime = 0;
563
+ animationTime = 0;
659
564
  animationStates.forEach(function (state) {
660
565
  var time = 0,
661
- target = state.target,
662
- fromRect = target.fromRect,
663
- toRect = getRect(target),
664
- prevFromRect = target.prevFromRect,
665
- prevToRect = target.prevToRect,
666
- animatingRect = state.rect,
667
- targetMatrix = matrix(target, true);
668
-
566
+ target = state.target,
567
+ fromRect = target.fromRect,
568
+ toRect = getRect(target),
569
+ prevFromRect = target.prevFromRect,
570
+ prevToRect = target.prevToRect,
571
+ animatingRect = state.rect,
572
+ targetMatrix = matrix(target, true);
669
573
  if (targetMatrix) {
670
574
  // Compensate for current animation
671
575
  toRect.top -= targetMatrix.f;
672
576
  toRect.left -= targetMatrix.e;
673
577
  }
674
-
675
578
  target.toRect = toRect;
676
-
677
579
  if (target.thisAnimationDuration) {
678
580
  // Could also check if animatingRect is between fromRect and toRect
679
- if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
581
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) &&
582
+ // Make sure animatingRect is on line between toRect & fromRect
680
583
  (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
681
584
  // If returning to same place as started from animation and on same axis
682
585
  time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
683
586
  }
684
- } // if fromRect != toRect: animate
685
-
587
+ }
686
588
 
589
+ // if fromRect != toRect: animate
687
590
  if (!isRectEqual(toRect, fromRect)) {
688
591
  target.prevFromRect = fromRect;
689
592
  target.prevToRect = toRect;
690
-
691
593
  if (!time) {
692
594
  time = _this.options.animation;
693
595
  }
694
-
695
596
  _this.animate(target, animatingRect, toRect, time);
696
597
  }
697
-
698
598
  if (time) {
699
599
  animating = true;
700
600
  animationTime = Math.max(animationTime, time);
@@ -710,7 +610,6 @@ function AnimationStateManager() {
710
610
  }
711
611
  });
712
612
  clearTimeout(animationCallbackId);
713
-
714
613
  if (!animating) {
715
614
  if (typeof callback === 'function') callback();
716
615
  } else {
@@ -718,7 +617,6 @@ function AnimationStateManager() {
718
617
  if (typeof callback === 'function') callback();
719
618
  }, animationTime);
720
619
  }
721
-
722
620
  animationStates = [];
723
621
  },
724
622
  animate: function animate(target, currentRect, toRect, duration) {
@@ -726,10 +624,10 @@ function AnimationStateManager() {
726
624
  css(target, 'transition', '');
727
625
  css(target, 'transform', '');
728
626
  var elMatrix = matrix(this.el),
729
- scaleX = elMatrix && elMatrix.a,
730
- scaleY = elMatrix && elMatrix.d,
731
- translateX = (currentRect.left - toRect.left) / (scaleX || 1),
732
- translateY = (currentRect.top - toRect.top) / (scaleY || 1);
627
+ scaleX = elMatrix && elMatrix.a,
628
+ scaleY = elMatrix && elMatrix.d,
629
+ translateX = (currentRect.left - toRect.left) / (scaleX || 1),
630
+ translateY = (currentRect.top - toRect.top) / (scaleY || 1);
733
631
  target.animatingX = !!translateX;
734
632
  target.animatingY = !!translateY;
735
633
  css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
@@ -749,11 +647,9 @@ function AnimationStateManager() {
749
647
  }
750
648
  };
751
649
  }
752
-
753
650
  function repaint(target) {
754
651
  return target.offsetWidth;
755
652
  }
756
-
757
653
  function calculateRealTime(animatingRect, fromRect, toRect, options) {
758
654
  return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
759
655
  }
@@ -770,7 +666,6 @@ var PluginManager = {
770
666
  plugin[option] = defaults[option];
771
667
  }
772
668
  }
773
-
774
669
  plugins.forEach(function (p) {
775
670
  if (p.pluginName === plugin.pluginName) {
776
671
  throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
@@ -780,25 +675,22 @@ var PluginManager = {
780
675
  },
781
676
  pluginEvent: function pluginEvent(eventName, sortable, evt) {
782
677
  var _this = this;
783
-
784
678
  this.eventCanceled = false;
785
-
786
679
  evt.cancel = function () {
787
680
  _this.eventCanceled = true;
788
681
  };
789
-
790
682
  var eventNameGlobal = eventName + 'Global';
791
683
  plugins.forEach(function (plugin) {
792
- if (!sortable[plugin.pluginName]) return; // Fire global events if it exists in this sortable
793
-
684
+ if (!sortable[plugin.pluginName]) return;
685
+ // Fire global events if it exists in this sortable
794
686
  if (sortable[plugin.pluginName][eventNameGlobal]) {
795
687
  sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
796
688
  sortable: sortable
797
689
  }, evt));
798
- } // Only fire plugin event if plugin is enabled in this sortable,
799
- // and plugin has event defined
800
-
690
+ }
801
691
 
692
+ // Only fire plugin event if plugin is enabled in this sortable,
693
+ // and plugin has event defined
802
694
  if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
803
695
  sortable[plugin.pluginName][eventName](_objectSpread2({
804
696
  sortable: sortable
@@ -813,15 +705,14 @@ var PluginManager = {
813
705
  var initialized = new plugin(sortable, el, sortable.options);
814
706
  initialized.sortable = sortable;
815
707
  initialized.options = sortable.options;
816
- sortable[pluginName] = initialized; // Add default options from plugin
708
+ sortable[pluginName] = initialized;
817
709
 
710
+ // Add default options from plugin
818
711
  _extends(defaults, initialized.defaults);
819
712
  });
820
-
821
713
  for (var option in sortable.options) {
822
714
  if (!sortable.options.hasOwnProperty(option)) continue;
823
715
  var modified = this.modifyOption(sortable, option, sortable.options[option]);
824
-
825
716
  if (typeof modified !== 'undefined') {
826
717
  sortable.options[option] = modified;
827
718
  }
@@ -831,7 +722,6 @@ var PluginManager = {
831
722
  var eventProperties = {};
832
723
  plugins.forEach(function (plugin) {
833
724
  if (typeof plugin.eventProperties !== 'function') return;
834
-
835
725
  _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
836
726
  });
837
727
  return eventProperties;
@@ -840,8 +730,9 @@ var PluginManager = {
840
730
  var modifiedValue;
841
731
  plugins.forEach(function (plugin) {
842
732
  // Plugin must exist on the Sortable
843
- if (!sortable[plugin.pluginName]) return; // If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
733
+ if (!sortable[plugin.pluginName]) return;
844
734
 
735
+ // If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
845
736
  if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
846
737
  modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
847
738
  }
@@ -852,25 +743,25 @@ var PluginManager = {
852
743
 
853
744
  function dispatchEvent(_ref) {
854
745
  var sortable = _ref.sortable,
855
- rootEl = _ref.rootEl,
856
- name = _ref.name,
857
- targetEl = _ref.targetEl,
858
- cloneEl = _ref.cloneEl,
859
- toEl = _ref.toEl,
860
- fromEl = _ref.fromEl,
861
- oldIndex = _ref.oldIndex,
862
- newIndex = _ref.newIndex,
863
- oldDraggableIndex = _ref.oldDraggableIndex,
864
- newDraggableIndex = _ref.newDraggableIndex,
865
- originalEvent = _ref.originalEvent,
866
- putSortable = _ref.putSortable,
867
- extraEventProperties = _ref.extraEventProperties;
746
+ rootEl = _ref.rootEl,
747
+ name = _ref.name,
748
+ targetEl = _ref.targetEl,
749
+ cloneEl = _ref.cloneEl,
750
+ toEl = _ref.toEl,
751
+ fromEl = _ref.fromEl,
752
+ oldIndex = _ref.oldIndex,
753
+ newIndex = _ref.newIndex,
754
+ oldDraggableIndex = _ref.oldDraggableIndex,
755
+ newDraggableIndex = _ref.newDraggableIndex,
756
+ originalEvent = _ref.originalEvent,
757
+ putSortable = _ref.putSortable,
758
+ extraEventProperties = _ref.extraEventProperties;
868
759
  sortable = sortable || rootEl && rootEl[expando];
869
760
  if (!sortable) return;
870
761
  var evt,
871
- options = sortable.options,
872
- onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1); // Support for new CustomEvent feature
873
-
762
+ options = sortable.options,
763
+ onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1);
764
+ // Support for new CustomEvent feature
874
765
  if (window.CustomEvent && !IE11OrLess && !Edge) {
875
766
  evt = new CustomEvent(name, {
876
767
  bubbles: true,
@@ -880,7 +771,6 @@ function dispatchEvent(_ref) {
880
771
  evt = document.createEvent('Event');
881
772
  evt.initEvent(name, true, true);
882
773
  }
883
-
884
774
  evt.to = toEl || rootEl;
885
775
  evt.from = fromEl || rootEl;
886
776
  evt.item = targetEl || rootEl;
@@ -891,29 +781,23 @@ function dispatchEvent(_ref) {
891
781
  evt.newDraggableIndex = newDraggableIndex;
892
782
  evt.originalEvent = originalEvent;
893
783
  evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
894
-
895
784
  var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
896
-
897
785
  for (var option in allEventProperties) {
898
786
  evt[option] = allEventProperties[option];
899
787
  }
900
-
901
788
  if (rootEl) {
902
789
  rootEl.dispatchEvent(evt);
903
790
  }
904
-
905
791
  if (options[onName]) {
906
792
  options[onName].call(sortable, evt);
907
793
  }
908
794
  }
909
795
 
910
796
  var _excluded = ["evt"];
911
-
912
797
  var pluginEvent = function pluginEvent(eventName, sortable) {
913
798
  var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
914
- originalEvent = _ref.evt,
915
- data = _objectWithoutProperties(_ref, _excluded);
916
-
799
+ originalEvent = _ref.evt,
800
+ data = _objectWithoutProperties(_ref, _excluded);
917
801
  PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
918
802
  dragEl: dragEl,
919
803
  parentEl: parentEl,
@@ -948,7 +832,6 @@ var pluginEvent = function pluginEvent(eventName, sortable) {
948
832
  }
949
833
  }, data));
950
834
  };
951
-
952
835
  function _dispatchEvent(info) {
953
836
  dispatchEvent(_objectSpread2({
954
837
  putSortable: putSortable,
@@ -961,62 +844,61 @@ function _dispatchEvent(info) {
961
844
  newDraggableIndex: newDraggableIndex
962
845
  }, info));
963
846
  }
964
-
965
847
  var dragEl,
966
- parentEl,
967
- ghostEl,
968
- rootEl,
969
- nextEl,
970
- lastDownEl,
971
- cloneEl,
972
- cloneHidden,
973
- oldIndex,
974
- newIndex,
975
- oldDraggableIndex,
976
- newDraggableIndex,
977
- activeGroup,
978
- putSortable,
979
- awaitingDragStarted = false,
980
- ignoreNextClick = false,
981
- sortables = [],
982
- tapEvt,
983
- touchEvt,
984
- lastDx,
985
- lastDy,
986
- tapDistanceLeft,
987
- tapDistanceTop,
988
- moved,
989
- lastTarget,
990
- lastDirection,
991
- pastFirstInvertThresh = false,
992
- isCircumstantialInvert = false,
993
- targetMoveDistance,
994
- // For positioning ghost absolutely
995
- ghostRelativeParent,
996
- ghostRelativeParentInitialScroll = [],
997
- // (left, top)
998
- _silent = false,
999
- savedInputChecked = [];
1000
- /** @const */
848
+ parentEl,
849
+ ghostEl,
850
+ rootEl,
851
+ nextEl,
852
+ lastDownEl,
853
+ cloneEl,
854
+ cloneHidden,
855
+ oldIndex,
856
+ newIndex,
857
+ oldDraggableIndex,
858
+ newDraggableIndex,
859
+ activeGroup,
860
+ putSortable,
861
+ awaitingDragStarted = false,
862
+ ignoreNextClick = false,
863
+ sortables = [],
864
+ tapEvt,
865
+ touchEvt,
866
+ lastDx,
867
+ lastDy,
868
+ tapDistanceLeft,
869
+ tapDistanceTop,
870
+ moved,
871
+ lastTarget,
872
+ lastDirection,
873
+ pastFirstInvertThresh = false,
874
+ isCircumstantialInvert = false,
875
+ targetMoveDistance,
876
+ // For positioning ghost absolutely
877
+ ghostRelativeParent,
878
+ ghostRelativeParentInitialScroll = [],
879
+ // (left, top)
880
+
881
+ _silent = false,
882
+ savedInputChecked = [];
1001
883
 
884
+ /** @const */
1002
885
  var documentExists = typeof document !== 'undefined',
1003
- PositionGhostAbsolutely = IOS,
1004
- CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
1005
- // This will not pass for IE9, because IE9 DnD only works on anchors
1006
- supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
1007
- supportCssPointerEvents = function () {
1008
- if (!documentExists) return; // false when <= IE11
1009
-
1010
- if (IE11OrLess) {
1011
- return false;
1012
- }
1013
-
1014
- var el = document.createElement('x');
1015
- el.style.cssText = 'pointer-events:auto';
1016
- return el.style.pointerEvents === 'auto';
1017
- }(),
1018
- _detectDirection = function _detectDirection(el, options) {
1019
- var elCSS = css(el),
886
+ PositionGhostAbsolutely = IOS,
887
+ CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
888
+ // This will not pass for IE9, because IE9 DnD only works on anchors
889
+ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
890
+ supportCssPointerEvents = function () {
891
+ if (!documentExists) return;
892
+ // false when <= IE11
893
+ if (IE11OrLess) {
894
+ return false;
895
+ }
896
+ var el = document.createElement('x');
897
+ el.style.cssText = 'pointer-events:auto';
898
+ return el.style.pointerEvents === 'auto';
899
+ }(),
900
+ _detectDirection = function _detectDirection(el, options) {
901
+ var elCSS = css(el),
1020
902
  elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
1021
903
  child1 = getChild(el, 0, options),
1022
904
  child2 = getChild(el, 1, options),
@@ -1024,102 +906,92 @@ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in
1024
906
  secondChildCSS = child2 && css(child2),
1025
907
  firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
1026
908
  secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
1027
-
1028
- if (elCSS.display === 'flex') {
1029
- return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
1030
- }
1031
-
1032
- if (elCSS.display === 'grid') {
1033
- return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
1034
- }
1035
-
1036
- if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
1037
- var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
1038
- return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
1039
- }
1040
-
1041
- return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
1042
- },
1043
- _dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
1044
- var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
909
+ if (elCSS.display === 'flex') {
910
+ return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
911
+ }
912
+ if (elCSS.display === 'grid') {
913
+ return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
914
+ }
915
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
916
+ var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
917
+ return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
918
+ }
919
+ return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
920
+ },
921
+ _dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
922
+ var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
1045
923
  dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
1046
924
  dragElOppLength = vertical ? dragRect.width : dragRect.height,
1047
925
  targetS1Opp = vertical ? targetRect.left : targetRect.top,
1048
926
  targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
1049
927
  targetOppLength = vertical ? targetRect.width : targetRect.height;
1050
- return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
1051
- },
1052
-
1053
- /**
1054
- * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
1055
- * @param {Number} x X position
1056
- * @param {Number} y Y position
1057
- * @return {HTMLElement} Element of the first found nearest Sortable
1058
- */
1059
- _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
1060
- var ret;
1061
- sortables.some(function (sortable) {
1062
- var threshold = sortable[expando].options.emptyInsertThreshold;
1063
- if (!threshold || lastChild(sortable)) return;
1064
- var rect = getRect(sortable),
928
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
929
+ },
930
+ /**
931
+ * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
932
+ * @param {Number} x X position
933
+ * @param {Number} y Y position
934
+ * @return {HTMLElement} Element of the first found nearest Sortable
935
+ */
936
+ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
937
+ var ret;
938
+ sortables.some(function (sortable) {
939
+ var threshold = sortable[expando].options.emptyInsertThreshold;
940
+ if (!threshold || lastChild(sortable)) return;
941
+ var rect = getRect(sortable),
1065
942
  insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
1066
943
  insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
1067
-
1068
- if (insideHorizontally && insideVertically) {
1069
- return ret = sortable;
1070
- }
1071
- });
1072
- return ret;
1073
- },
1074
- _prepareGroup = function _prepareGroup(options) {
1075
- function toFn(value, pull) {
1076
- return function (to, from, dragEl, evt) {
1077
- var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
1078
-
1079
- if (value == null && (pull || sameGroup)) {
1080
- // Default pull value
1081
- // Default pull and put value if same group
1082
- return true;
1083
- } else if (value == null || value === false) {
1084
- return false;
1085
- } else if (pull && value === 'clone') {
1086
- return value;
1087
- } else if (typeof value === 'function') {
1088
- return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
1089
- } else {
1090
- var otherGroup = (pull ? to : from).options.group.name;
1091
- return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
944
+ if (insideHorizontally && insideVertically) {
945
+ return ret = sortable;
1092
946
  }
1093
- };
1094
- }
1095
-
1096
- var group = {};
1097
- var originalGroup = options.group;
1098
-
1099
- if (!originalGroup || _typeof(originalGroup) != 'object') {
1100
- originalGroup = {
1101
- name: originalGroup
1102
- };
1103
- }
1104
-
1105
- group.name = originalGroup.name;
1106
- group.checkPull = toFn(originalGroup.pull, true);
1107
- group.checkPut = toFn(originalGroup.put);
1108
- group.revertClone = originalGroup.revertClone;
1109
- options.group = group;
1110
- },
1111
- _hideGhostForTarget = function _hideGhostForTarget() {
1112
- if (!supportCssPointerEvents && ghostEl) {
1113
- css(ghostEl, 'display', 'none');
1114
- }
1115
- },
1116
- _unhideGhostForTarget = function _unhideGhostForTarget() {
1117
- if (!supportCssPointerEvents && ghostEl) {
1118
- css(ghostEl, 'display', '');
1119
- }
1120
- }; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
1121
-
947
+ });
948
+ return ret;
949
+ },
950
+ _prepareGroup = function _prepareGroup(options) {
951
+ function toFn(value, pull) {
952
+ return function (to, from, dragEl, evt) {
953
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
954
+ if (value == null && (pull || sameGroup)) {
955
+ // Default pull value
956
+ // Default pull and put value if same group
957
+ return true;
958
+ } else if (value == null || value === false) {
959
+ return false;
960
+ } else if (pull && value === 'clone') {
961
+ return value;
962
+ } else if (typeof value === 'function') {
963
+ return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
964
+ } else {
965
+ var otherGroup = (pull ? to : from).options.group.name;
966
+ return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
967
+ }
968
+ };
969
+ }
970
+ var group = {};
971
+ var originalGroup = options.group;
972
+ if (!originalGroup || _typeof(originalGroup) != 'object') {
973
+ originalGroup = {
974
+ name: originalGroup
975
+ };
976
+ }
977
+ group.name = originalGroup.name;
978
+ group.checkPull = toFn(originalGroup.pull, true);
979
+ group.checkPut = toFn(originalGroup.put);
980
+ group.revertClone = originalGroup.revertClone;
981
+ options.group = group;
982
+ },
983
+ _hideGhostForTarget = function _hideGhostForTarget() {
984
+ if (!supportCssPointerEvents && ghostEl) {
985
+ css(ghostEl, 'display', 'none');
986
+ }
987
+ },
988
+ _unhideGhostForTarget = function _unhideGhostForTarget() {
989
+ if (!supportCssPointerEvents && ghostEl) {
990
+ css(ghostEl, 'display', '');
991
+ }
992
+ };
1122
993
 
994
+ // #1184 fix - Prevent click event on fallback if dragged but item not changed position
1123
995
  if (documentExists && !ChromeForAndroid) {
1124
996
  document.addEventListener('click', function (evt) {
1125
997
  if (ignoreNextClick) {
@@ -1131,53 +1003,44 @@ if (documentExists && !ChromeForAndroid) {
1131
1003
  }
1132
1004
  }, true);
1133
1005
  }
1134
-
1135
1006
  var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {
1136
1007
  if (dragEl) {
1137
1008
  evt = evt.touches ? evt.touches[0] : evt;
1138
-
1139
1009
  var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
1140
-
1141
1010
  if (nearest) {
1142
1011
  // Create imitation event
1143
1012
  var event = {};
1144
-
1145
1013
  for (var i in evt) {
1146
1014
  if (evt.hasOwnProperty(i)) {
1147
1015
  event[i] = evt[i];
1148
1016
  }
1149
1017
  }
1150
-
1151
1018
  event.target = event.rootEl = nearest;
1152
1019
  event.preventDefault = void 0;
1153
1020
  event.stopPropagation = void 0;
1154
-
1155
1021
  nearest[expando]._onDragOver(event);
1156
1022
  }
1157
1023
  }
1158
1024
  };
1159
-
1160
1025
  var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
1161
1026
  if (dragEl) {
1162
1027
  dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1163
1028
  }
1164
1029
  };
1030
+
1165
1031
  /**
1166
1032
  * @class Sortable
1167
1033
  * @param {HTMLElement} el
1168
1034
  * @param {Object} [options]
1169
1035
  */
1170
-
1171
-
1172
1036
  function Sortable(el, options) {
1173
1037
  if (!(el && el.nodeType && el.nodeType === 1)) {
1174
1038
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
1175
1039
  }
1176
-
1177
1040
  this.el = el; // root element
1041
+ this.options = options = _extends({}, options);
1178
1042
 
1179
- this.options = options = _extends({}, options); // Export instance
1180
-
1043
+ // Export instance
1181
1044
  el[expando] = this;
1182
1045
  var defaults = {
1183
1046
  group: null,
@@ -1221,55 +1084,52 @@ function Sortable(el, options) {
1221
1084
  x: 0,
1222
1085
  y: 0
1223
1086
  },
1224
- supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
1087
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
1088
+ supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && (!Safari || IOS),
1225
1089
  emptyInsertThreshold: 5
1226
1090
  };
1227
- PluginManager.initializePlugins(this, el, defaults); // Set default options
1091
+ PluginManager.initializePlugins(this, el, defaults);
1228
1092
 
1093
+ // Set default options
1229
1094
  for (var name in defaults) {
1230
1095
  !(name in options) && (options[name] = defaults[name]);
1231
1096
  }
1097
+ _prepareGroup(options);
1232
1098
 
1233
- _prepareGroup(options); // Bind all private methods
1234
-
1235
-
1099
+ // Bind all private methods
1236
1100
  for (var fn in this) {
1237
1101
  if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
1238
1102
  this[fn] = this[fn].bind(this);
1239
1103
  }
1240
- } // Setup drag mode
1241
-
1104
+ }
1242
1105
 
1106
+ // Setup drag mode
1243
1107
  this.nativeDraggable = options.forceFallback ? false : supportDraggable;
1244
-
1245
1108
  if (this.nativeDraggable) {
1246
1109
  // Touch start threshold cannot be greater than the native dragstart threshold
1247
1110
  this.options.touchStartThreshold = 1;
1248
- } // Bind events
1249
-
1111
+ }
1250
1112
 
1113
+ // Bind events
1251
1114
  if (options.supportPointer) {
1252
1115
  on(el, 'pointerdown', this._onTapStart);
1253
1116
  } else {
1254
1117
  on(el, 'mousedown', this._onTapStart);
1255
1118
  on(el, 'touchstart', this._onTapStart);
1256
1119
  }
1257
-
1258
1120
  if (this.nativeDraggable) {
1259
1121
  on(el, 'dragover', this);
1260
1122
  on(el, 'dragenter', this);
1261
1123
  }
1124
+ sortables.push(this.el);
1262
1125
 
1263
- sortables.push(this.el); // Restore sorting
1264
-
1265
- options.store && options.store.get && this.sort(options.store.get(this) || []); // Add animation state manager
1126
+ // Restore sorting
1127
+ options.store && options.store.get && this.sort(options.store.get(this) || []);
1266
1128
 
1129
+ // Add animation state manager
1267
1130
  _extends(this, AnimationStateManager());
1268
1131
  }
1269
-
1270
- Sortable.prototype =
1271
- /** @lends Sortable.prototype */
1272
- {
1132
+ Sortable.prototype = /** @lends Sortable.prototype */{
1273
1133
  constructor: Sortable,
1274
1134
  _isOutsideThisEl: function _isOutsideThisEl(target) {
1275
1135
  if (!this.el.contains(target) && target !== this.el) {
@@ -1279,57 +1139,50 @@ Sortable.prototype =
1279
1139
  _getDirection: function _getDirection(evt, target) {
1280
1140
  return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
1281
1141
  },
1282
- _onTapStart: function _onTapStart(
1283
- /** Event|TouchEvent */
1284
- evt) {
1142
+ _onTapStart: function _onTapStart( /** Event|TouchEvent */evt) {
1285
1143
  if (!evt.cancelable) return;
1286
-
1287
1144
  var _this = this,
1288
- el = this.el,
1289
- options = this.options,
1290
- preventOnFilter = options.preventOnFilter,
1291
- type = evt.type,
1292
- touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
1293
- target = (touch || evt).target,
1294
- originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
1295
- filter = options.filter;
1296
-
1297
- _saveInputCheckedState(el); // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
1298
-
1299
-
1145
+ el = this.el,
1146
+ options = this.options,
1147
+ preventOnFilter = options.preventOnFilter,
1148
+ type = evt.type,
1149
+ touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
1150
+ target = (touch || evt).target,
1151
+ originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
1152
+ filter = options.filter;
1153
+ _saveInputCheckedState(el);
1154
+
1155
+ // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
1300
1156
  if (dragEl) {
1301
1157
  return;
1302
1158
  }
1303
-
1304
1159
  if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
1305
1160
  return; // only left button and enabled
1306
- } // cancel dnd if original target is content editable
1307
-
1161
+ }
1308
1162
 
1163
+ // cancel dnd if original target is content editable
1309
1164
  if (originalTarget.isContentEditable) {
1310
1165
  return;
1311
- } // Safari ignores further event handling after mousedown
1312
-
1166
+ }
1313
1167
 
1168
+ // Safari ignores further event handling after mousedown
1314
1169
  if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
1315
1170
  return;
1316
1171
  }
1317
-
1318
1172
  target = closest(target, options.draggable, el, false);
1319
-
1320
1173
  if (target && target.animated) {
1321
1174
  return;
1322
1175
  }
1323
-
1324
1176
  if (lastDownEl === target) {
1325
1177
  // Ignoring duplicate `down`
1326
1178
  return;
1327
- } // Get the index of the dragged element within its parent
1328
-
1179
+ }
1329
1180
 
1181
+ // Get the index of the dragged element within its parent
1330
1182
  oldIndex = index(target);
1331
- oldDraggableIndex = index(target, options.draggable); // Check filter
1183
+ oldDraggableIndex = index(target, options.draggable);
1332
1184
 
1185
+ // Check filter
1333
1186
  if (typeof filter === 'function') {
1334
1187
  if (filter.call(this, evt, target, this)) {
1335
1188
  _dispatchEvent({
@@ -1340,17 +1193,15 @@ Sortable.prototype =
1340
1193
  toEl: el,
1341
1194
  fromEl: el
1342
1195
  });
1343
-
1344
1196
  pluginEvent('filter', _this, {
1345
1197
  evt: evt
1346
1198
  });
1347
- preventOnFilter && evt.cancelable && evt.preventDefault();
1199
+ preventOnFilter && evt.preventDefault();
1348
1200
  return; // cancel dnd
1349
1201
  }
1350
1202
  } else if (filter) {
1351
1203
  filter = filter.split(',').some(function (criteria) {
1352
1204
  criteria = closest(originalTarget, criteria.trim(), el, false);
1353
-
1354
1205
  if (criteria) {
1355
1206
  _dispatchEvent({
1356
1207
  sortable: _this,
@@ -1360,40 +1211,30 @@ Sortable.prototype =
1360
1211
  fromEl: el,
1361
1212
  toEl: el
1362
1213
  });
1363
-
1364
1214
  pluginEvent('filter', _this, {
1365
1215
  evt: evt
1366
1216
  });
1367
1217
  return true;
1368
1218
  }
1369
1219
  });
1370
-
1371
1220
  if (filter) {
1372
- preventOnFilter && evt.cancelable && evt.preventDefault();
1221
+ preventOnFilter && evt.preventDefault();
1373
1222
  return; // cancel dnd
1374
1223
  }
1375
1224
  }
1376
-
1377
1225
  if (options.handle && !closest(originalTarget, options.handle, el, false)) {
1378
1226
  return;
1379
- } // Prepare `dragstart`
1380
-
1227
+ }
1381
1228
 
1229
+ // Prepare `dragstart`
1382
1230
  this._prepareDragStart(evt, touch, target);
1383
1231
  },
1384
- _prepareDragStart: function _prepareDragStart(
1385
- /** Event */
1386
- evt,
1387
- /** Touch */
1388
- touch,
1389
- /** HTMLElement */
1390
- target) {
1232
+ _prepareDragStart: function _prepareDragStart( /** Event */evt, /** Touch */touch, /** HTMLElement */target) {
1391
1233
  var _this = this,
1392
- el = _this.el,
1393
- options = _this.options,
1394
- ownerDocument = el.ownerDocument,
1395
- dragStartFn;
1396
-
1234
+ el = _this.el,
1235
+ options = _this.options,
1236
+ ownerDocument = el.ownerDocument,
1237
+ dragStartFn;
1397
1238
  if (target && !dragEl && target.parentNode === el) {
1398
1239
  var dragRect = getRect(target);
1399
1240
  rootEl = el;
@@ -1413,73 +1254,78 @@ Sortable.prototype =
1413
1254
  this._lastX = (touch || evt).clientX;
1414
1255
  this._lastY = (touch || evt).clientY;
1415
1256
  dragEl.style['will-change'] = 'all';
1416
-
1417
1257
  dragStartFn = function dragStartFn() {
1418
1258
  pluginEvent('delayEnded', _this, {
1419
1259
  evt: evt
1420
1260
  });
1421
-
1422
1261
  if (Sortable.eventCanceled) {
1423
1262
  _this._onDrop();
1424
-
1425
1263
  return;
1426
- } // Delayed drag has been triggered
1264
+ }
1265
+ // Delayed drag has been triggered
1427
1266
  // we can re-enable the events: touchmove/mousemove
1428
-
1429
-
1430
1267
  _this._disableDelayedDragEvents();
1431
-
1432
1268
  if (!FireFox && _this.nativeDraggable) {
1433
1269
  dragEl.draggable = true;
1434
- } // Bind the events: dragstart/dragend
1435
-
1436
-
1437
- _this._triggerDragStart(evt, touch); // Drag start event
1270
+ }
1438
1271
 
1272
+ // Bind the events: dragstart/dragend
1273
+ _this._triggerDragStart(evt, touch);
1439
1274
 
1275
+ // Drag start event
1440
1276
  _dispatchEvent({
1441
1277
  sortable: _this,
1442
1278
  name: 'choose',
1443
1279
  originalEvent: evt
1444
- }); // Chosen item
1445
-
1280
+ });
1446
1281
 
1282
+ // Chosen item
1447
1283
  toggleClass(dragEl, options.chosenClass, true);
1448
- }; // Disable "draggable"
1449
-
1284
+ };
1450
1285
 
1286
+ // Disable "draggable"
1451
1287
  options.ignore.split(',').forEach(function (criteria) {
1452
1288
  find(dragEl, criteria.trim(), _disableDraggable);
1453
1289
  });
1454
1290
  on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
1455
1291
  on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
1456
1292
  on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
1457
- on(ownerDocument, 'mouseup', _this._onDrop);
1458
- on(ownerDocument, 'touchend', _this._onDrop);
1459
- on(ownerDocument, 'touchcancel', _this._onDrop); // Make dragEl draggable (must be before delay for FireFox)
1293
+ if (options.supportPointer) {
1294
+ on(ownerDocument, 'pointerup', _this._onDrop);
1295
+ // Native D&D triggers pointercancel
1296
+ !this.nativeDraggable && on(ownerDocument, 'pointercancel', _this._onDrop);
1297
+ } else {
1298
+ on(ownerDocument, 'mouseup', _this._onDrop);
1299
+ on(ownerDocument, 'touchend', _this._onDrop);
1300
+ on(ownerDocument, 'touchcancel', _this._onDrop);
1301
+ }
1460
1302
 
1303
+ // Make dragEl draggable (must be before delay for FireFox)
1461
1304
  if (FireFox && this.nativeDraggable) {
1462
1305
  this.options.touchStartThreshold = 4;
1463
1306
  dragEl.draggable = true;
1464
1307
  }
1465
-
1466
1308
  pluginEvent('delayStart', this, {
1467
1309
  evt: evt
1468
- }); // Delay is impossible for native DnD in Edge or IE
1310
+ });
1469
1311
 
1312
+ // Delay is impossible for native DnD in Edge or IE
1470
1313
  if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1471
1314
  if (Sortable.eventCanceled) {
1472
1315
  this._onDrop();
1473
-
1474
1316
  return;
1475
- } // If the user moves the pointer or let go the click or touch
1317
+ }
1318
+ // If the user moves the pointer or let go the click or touch
1476
1319
  // before the delay has been reached:
1477
1320
  // disable the delayed drag
1478
-
1479
-
1480
- on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
1481
- on(ownerDocument, 'touchend', _this._disableDelayedDrag);
1482
- on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
1321
+ if (options.supportPointer) {
1322
+ on(ownerDocument, 'pointerup', _this._disableDelayedDrag);
1323
+ on(ownerDocument, 'pointercancel', _this._disableDelayedDrag);
1324
+ } else {
1325
+ on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
1326
+ on(ownerDocument, 'touchend', _this._disableDelayedDrag);
1327
+ on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
1328
+ }
1483
1329
  on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
1484
1330
  on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
1485
1331
  options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
@@ -1489,11 +1335,8 @@ Sortable.prototype =
1489
1335
  }
1490
1336
  }
1491
1337
  },
1492
- _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(
1493
- /** TouchEvent|PointerEvent **/
1494
- e) {
1338
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler( /** TouchEvent|PointerEvent **/e) {
1495
1339
  var touch = e.touches ? e.touches[0] : e;
1496
-
1497
1340
  if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
1498
1341
  this._disableDelayedDrag();
1499
1342
  }
@@ -1501,7 +1344,6 @@ Sortable.prototype =
1501
1344
  _disableDelayedDrag: function _disableDelayedDrag() {
1502
1345
  dragEl && _disableDraggable(dragEl);
1503
1346
  clearTimeout(this._dragStartTimer);
1504
-
1505
1347
  this._disableDelayedDragEvents();
1506
1348
  },
1507
1349
  _disableDelayedDragEvents: function _disableDelayedDragEvents() {
@@ -1509,17 +1351,14 @@ Sortable.prototype =
1509
1351
  off(ownerDocument, 'mouseup', this._disableDelayedDrag);
1510
1352
  off(ownerDocument, 'touchend', this._disableDelayedDrag);
1511
1353
  off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
1354
+ off(ownerDocument, 'pointerup', this._disableDelayedDrag);
1355
+ off(ownerDocument, 'pointercancel', this._disableDelayedDrag);
1512
1356
  off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
1513
1357
  off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
1514
1358
  off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
1515
1359
  },
1516
- _triggerDragStart: function _triggerDragStart(
1517
- /** Event */
1518
- evt,
1519
- /** Touch */
1520
- touch) {
1360
+ _triggerDragStart: function _triggerDragStart( /** Event */evt, /** Touch */touch) {
1521
1361
  touch = touch || evt.pointerType == 'touch' && evt;
1522
-
1523
1362
  if (!this.nativeDraggable || touch) {
1524
1363
  if (this.options.supportPointer) {
1525
1364
  on(document, 'pointermove', this._onTouchMove);
@@ -1532,10 +1371,8 @@ Sortable.prototype =
1532
1371
  on(dragEl, 'dragend', this);
1533
1372
  on(rootEl, 'dragstart', this._onDragStart);
1534
1373
  }
1535
-
1536
1374
  try {
1537
1375
  if (document.selection) {
1538
- // Timeout neccessary for IE9
1539
1376
  _nextTick(function () {
1540
1377
  document.selection.empty();
1541
1378
  });
@@ -1545,25 +1382,23 @@ Sortable.prototype =
1545
1382
  } catch (err) {}
1546
1383
  },
1547
1384
  _dragStarted: function _dragStarted(fallback, evt) {
1548
-
1549
1385
  awaitingDragStarted = false;
1550
-
1551
1386
  if (rootEl && dragEl) {
1552
1387
  pluginEvent('dragStarted', this, {
1553
1388
  evt: evt
1554
1389
  });
1555
-
1556
1390
  if (this.nativeDraggable) {
1557
1391
  on(document, 'dragover', _checkOutsideTargetEl);
1558
1392
  }
1393
+ var options = this.options;
1559
1394
 
1560
- var options = this.options; // Apply effect
1561
-
1395
+ // Apply effect
1562
1396
  !fallback && toggleClass(dragEl, options.dragClass, false);
1563
1397
  toggleClass(dragEl, options.ghostClass, true);
1564
1398
  Sortable.active = this;
1565
- fallback && this._appendGhost(); // Drag start event
1399
+ fallback && this._appendGhost();
1566
1400
 
1401
+ // Drag start event
1567
1402
  _dispatchEvent({
1568
1403
  sortable: this,
1569
1404
  name: 'start',
@@ -1577,20 +1412,15 @@ Sortable.prototype =
1577
1412
  if (touchEvt) {
1578
1413
  this._lastX = touchEvt.clientX;
1579
1414
  this._lastY = touchEvt.clientY;
1580
-
1581
1415
  _hideGhostForTarget();
1582
-
1583
1416
  var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1584
1417
  var parent = target;
1585
-
1586
1418
  while (target && target.shadowRoot) {
1587
1419
  target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1588
1420
  if (target === parent) break;
1589
1421
  parent = target;
1590
1422
  }
1591
-
1592
1423
  dragEl.parentNode[expando]._isOutsideThisEl(target);
1593
-
1594
1424
  if (parent) {
1595
1425
  do {
1596
1426
  if (parent[expando]) {
@@ -1601,44 +1431,37 @@ Sortable.prototype =
1601
1431
  target: target,
1602
1432
  rootEl: parent
1603
1433
  });
1604
-
1605
1434
  if (inserted && !this.options.dragoverBubble) {
1606
1435
  break;
1607
1436
  }
1608
1437
  }
1609
-
1610
1438
  target = parent; // store last element
1611
1439
  }
1612
- /* jshint boss:true */
1613
- while (parent = parent.parentNode);
1440
+ /* jshint boss:true */ while (parent = getParentOrHost(parent));
1614
1441
  }
1615
-
1616
1442
  _unhideGhostForTarget();
1617
1443
  }
1618
1444
  },
1619
- _onTouchMove: function _onTouchMove(
1620
- /**TouchEvent*/
1621
- evt) {
1445
+ _onTouchMove: function _onTouchMove( /**TouchEvent*/evt) {
1622
1446
  if (tapEvt) {
1623
1447
  var options = this.options,
1624
- fallbackTolerance = options.fallbackTolerance,
1625
- fallbackOffset = options.fallbackOffset,
1626
- touch = evt.touches ? evt.touches[0] : evt,
1627
- ghostMatrix = ghostEl && matrix(ghostEl, true),
1628
- scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
1629
- scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
1630
- relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
1631
- dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
1632
- dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1); // only set the status to dragging, when we are actually dragging
1633
-
1448
+ fallbackTolerance = options.fallbackTolerance,
1449
+ fallbackOffset = options.fallbackOffset,
1450
+ touch = evt.touches ? evt.touches[0] : evt,
1451
+ ghostMatrix = ghostEl && matrix(ghostEl, true),
1452
+ scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
1453
+ scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
1454
+ relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
1455
+ dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
1456
+ dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
1457
+
1458
+ // only set the status to dragging, when we are actually dragging
1634
1459
  if (!Sortable.active && !awaitingDragStarted) {
1635
1460
  if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1636
1461
  return;
1637
1462
  }
1638
-
1639
1463
  this._onDragStart(evt, true);
1640
1464
  }
1641
-
1642
1465
  if (ghostEl) {
1643
1466
  if (ghostMatrix) {
1644
1467
  ghostMatrix.e += dx - (lastDx || 0);
@@ -1653,7 +1476,6 @@ Sortable.prototype =
1653
1476
  f: dy
1654
1477
  };
1655
1478
  }
1656
-
1657
1479
  var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1658
1480
  css(ghostEl, 'webkitTransform', cssMatrix);
1659
1481
  css(ghostEl, 'mozTransform', cssMatrix);
@@ -1663,7 +1485,6 @@ Sortable.prototype =
1663
1485
  lastDy = dy;
1664
1486
  touchEvt = touch;
1665
1487
  }
1666
-
1667
1488
  evt.cancelable && evt.preventDefault();
1668
1489
  }
1669
1490
  },
@@ -1672,17 +1493,16 @@ Sortable.prototype =
1672
1493
  // Not being adjusted for
1673
1494
  if (!ghostEl) {
1674
1495
  var container = this.options.fallbackOnBody ? document.body : rootEl,
1675
- rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
1676
- options = this.options; // Position absolutely
1496
+ rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
1497
+ options = this.options;
1677
1498
 
1499
+ // Position absolutely
1678
1500
  if (PositionGhostAbsolutely) {
1679
1501
  // Get relatively positioned parent
1680
1502
  ghostRelativeParent = container;
1681
-
1682
1503
  while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
1683
1504
  ghostRelativeParent = ghostRelativeParent.parentNode;
1684
1505
  }
1685
-
1686
1506
  if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1687
1507
  if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1688
1508
  rect.top += ghostRelativeParent.scrollTop;
@@ -1690,10 +1510,8 @@ Sortable.prototype =
1690
1510
  } else {
1691
1511
  ghostRelativeParent = getWindowScrollingElement();
1692
1512
  }
1693
-
1694
1513
  ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1695
1514
  }
1696
-
1697
1515
  ghostEl = dragEl.cloneNode(true);
1698
1516
  toggleClass(ghostEl, options.ghostClass, false);
1699
1517
  toggleClass(ghostEl, options.fallbackClass, true);
@@ -1711,62 +1529,50 @@ Sortable.prototype =
1711
1529
  css(ghostEl, 'zIndex', '100000');
1712
1530
  css(ghostEl, 'pointerEvents', 'none');
1713
1531
  Sortable.ghost = ghostEl;
1714
- container.appendChild(ghostEl); // Set transform-origin
1532
+ container.appendChild(ghostEl);
1715
1533
 
1534
+ // Set transform-origin
1716
1535
  css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
1717
1536
  }
1718
1537
  },
1719
- _onDragStart: function _onDragStart(
1720
- /**Event*/
1721
- evt,
1722
- /**boolean*/
1723
- fallback) {
1538
+ _onDragStart: function _onDragStart( /**Event*/evt, /**boolean*/fallback) {
1724
1539
  var _this = this;
1725
-
1726
1540
  var dataTransfer = evt.dataTransfer;
1727
1541
  var options = _this.options;
1728
1542
  pluginEvent('dragStart', this, {
1729
1543
  evt: evt
1730
1544
  });
1731
-
1732
1545
  if (Sortable.eventCanceled) {
1733
1546
  this._onDrop();
1734
-
1735
1547
  return;
1736
1548
  }
1737
-
1738
1549
  pluginEvent('setupClone', this);
1739
-
1740
1550
  if (!Sortable.eventCanceled) {
1741
1551
  cloneEl = clone(dragEl);
1742
1552
  cloneEl.removeAttribute("id");
1743
1553
  cloneEl.draggable = false;
1744
1554
  cloneEl.style['will-change'] = '';
1745
-
1746
1555
  this._hideClone();
1747
-
1748
1556
  toggleClass(cloneEl, this.options.chosenClass, false);
1749
1557
  Sortable.clone = cloneEl;
1750
- } // #1143: IFrame support workaround
1751
-
1558
+ }
1752
1559
 
1560
+ // #1143: IFrame support workaround
1753
1561
  _this.cloneId = _nextTick(function () {
1754
1562
  pluginEvent('clone', _this);
1755
1563
  if (Sortable.eventCanceled) return;
1756
-
1757
1564
  if (!_this.options.removeCloneOnHide) {
1758
1565
  rootEl.insertBefore(cloneEl, dragEl);
1759
1566
  }
1760
-
1761
1567
  _this._hideClone();
1762
-
1763
1568
  _dispatchEvent({
1764
1569
  sortable: _this,
1765
1570
  name: 'clone'
1766
1571
  });
1767
1572
  });
1768
- !fallback && toggleClass(dragEl, options.dragClass, true); // Set proper drop events
1573
+ !fallback && toggleClass(dragEl, options.dragClass, true);
1769
1574
 
1575
+ // Set proper drop events
1770
1576
  if (fallback) {
1771
1577
  ignoreNextClick = true;
1772
1578
  _this._loopId = setInterval(_this._emulateDragOver, 50);
@@ -1775,47 +1581,41 @@ Sortable.prototype =
1775
1581
  off(document, 'mouseup', _this._onDrop);
1776
1582
  off(document, 'touchend', _this._onDrop);
1777
1583
  off(document, 'touchcancel', _this._onDrop);
1778
-
1779
1584
  if (dataTransfer) {
1780
1585
  dataTransfer.effectAllowed = 'move';
1781
1586
  options.setData && options.setData.call(_this, dataTransfer, dragEl);
1782
1587
  }
1588
+ on(document, 'drop', _this);
1783
1589
 
1784
- on(document, 'drop', _this); // #1276 fix:
1785
-
1590
+ // #1276 fix:
1786
1591
  css(dragEl, 'transform', 'translateZ(0)');
1787
1592
  }
1788
-
1789
1593
  awaitingDragStarted = true;
1790
1594
  _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1791
1595
  on(document, 'selectstart', _this);
1792
1596
  moved = true;
1793
-
1597
+ window.getSelection().removeAllRanges();
1794
1598
  if (Safari) {
1795
1599
  css(document.body, 'user-select', 'none');
1796
1600
  }
1797
1601
  },
1798
1602
  // Returns true - if no further action is needed (either inserted or another condition)
1799
- _onDragOver: function _onDragOver(
1800
- /**Event*/
1801
- evt) {
1603
+ _onDragOver: function _onDragOver( /**Event*/evt) {
1802
1604
  var el = this.el,
1803
- target = evt.target,
1804
- dragRect,
1805
- targetRect,
1806
- revert,
1807
- options = this.options,
1808
- group = options.group,
1809
- activeSortable = Sortable.active,
1810
- isOwner = activeGroup === group,
1811
- canSort = options.sort,
1812
- fromSortable = putSortable || activeSortable,
1813
- vertical,
1814
- _this = this,
1815
- completedFired = false;
1816
-
1605
+ target = evt.target,
1606
+ dragRect,
1607
+ targetRect,
1608
+ revert,
1609
+ options = this.options,
1610
+ group = options.group,
1611
+ activeSortable = Sortable.active,
1612
+ isOwner = activeGroup === group,
1613
+ canSort = options.sort,
1614
+ fromSortable = putSortable || activeSortable,
1615
+ vertical,
1616
+ _this = this,
1617
+ completedFired = false;
1817
1618
  if (_silent) return;
1818
-
1819
1619
  function dragOverEvent(name, extra) {
1820
1620
  pluginEvent(name, _this, _objectSpread2({
1821
1621
  evt: evt,
@@ -1833,25 +1633,22 @@ Sortable.prototype =
1833
1633
  },
1834
1634
  changed: changed
1835
1635
  }, extra));
1836
- } // Capture animation state
1837
-
1636
+ }
1838
1637
 
1638
+ // Capture animation state
1839
1639
  function capture() {
1840
1640
  dragOverEvent('dragOverAnimationCapture');
1841
-
1842
1641
  _this.captureAnimationState();
1843
-
1844
1642
  if (_this !== fromSortable) {
1845
1643
  fromSortable.captureAnimationState();
1846
1644
  }
1847
- } // Return invocation when dragEl is inserted (or completed)
1848
-
1645
+ }
1849
1646
 
1647
+ // Return invocation when dragEl is inserted (or completed)
1850
1648
  function completed(insertion) {
1851
1649
  dragOverEvent('dragOverCompleted', {
1852
1650
  insertion: insertion
1853
1651
  });
1854
-
1855
1652
  if (insertion) {
1856
1653
  // Clones must be hidden before folding animation to capture dragRectAbsolute properly
1857
1654
  if (isOwner) {
@@ -1859,57 +1656,51 @@ Sortable.prototype =
1859
1656
  } else {
1860
1657
  activeSortable._showClone(_this);
1861
1658
  }
1862
-
1863
1659
  if (_this !== fromSortable) {
1864
1660
  // Set ghost class to new sortable's ghost class
1865
1661
  toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1866
1662
  toggleClass(dragEl, options.ghostClass, true);
1867
1663
  }
1868
-
1869
1664
  if (putSortable !== _this && _this !== Sortable.active) {
1870
1665
  putSortable = _this;
1871
1666
  } else if (_this === Sortable.active && putSortable) {
1872
1667
  putSortable = null;
1873
- } // Animation
1874
-
1668
+ }
1875
1669
 
1670
+ // Animation
1876
1671
  if (fromSortable === _this) {
1877
1672
  _this._ignoreWhileAnimating = target;
1878
1673
  }
1879
-
1880
1674
  _this.animateAll(function () {
1881
1675
  dragOverEvent('dragOverAnimationComplete');
1882
1676
  _this._ignoreWhileAnimating = null;
1883
1677
  });
1884
-
1885
1678
  if (_this !== fromSortable) {
1886
1679
  fromSortable.animateAll();
1887
1680
  fromSortable._ignoreWhileAnimating = null;
1888
1681
  }
1889
- } // Null lastTarget if it is not inside a previously swapped element
1890
-
1682
+ }
1891
1683
 
1684
+ // Null lastTarget if it is not inside a previously swapped element
1892
1685
  if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1893
1686
  lastTarget = null;
1894
- } // no bubbling and not fallback
1895
-
1687
+ }
1896
1688
 
1689
+ // no bubbling and not fallback
1897
1690
  if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1898
- dragEl.parentNode[expando]._isOutsideThisEl(evt.target); // Do not detect for empty insert if already inserted
1899
-
1691
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1900
1692
 
1693
+ // Do not detect for empty insert if already inserted
1901
1694
  !insertion && nearestEmptyInsertDetectEvent(evt);
1902
1695
  }
1903
-
1904
1696
  !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1905
1697
  return completedFired = true;
1906
- } // Call when dragEl has been inserted
1907
-
1698
+ }
1908
1699
 
1700
+ // Call when dragEl has been inserted
1909
1701
  function changed() {
1910
1702
  newIndex = index(dragEl);
1911
1703
  newDraggableIndex = index(dragEl, options.draggable);
1912
-
1913
1704
  _dispatchEvent({
1914
1705
  sortable: _this,
1915
1706
  name: 'change',
@@ -1919,37 +1710,27 @@ Sortable.prototype =
1919
1710
  originalEvent: evt
1920
1711
  });
1921
1712
  }
1922
-
1923
1713
  if (evt.preventDefault !== void 0) {
1924
1714
  evt.cancelable && evt.preventDefault();
1925
1715
  }
1926
-
1927
1716
  target = closest(target, options.draggable, el, true);
1928
1717
  dragOverEvent('dragOver');
1929
1718
  if (Sortable.eventCanceled) return completedFired;
1930
-
1931
1719
  if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1932
1720
  return completed(false);
1933
1721
  }
1934
-
1935
1722
  ignoreNextClick = false;
1936
-
1937
1723
  if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
1938
1724
  : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
1939
1725
  vertical = this._getDirection(evt, target) === 'vertical';
1940
1726
  dragRect = getRect(dragEl);
1941
1727
  dragOverEvent('dragOverValid');
1942
1728
  if (Sortable.eventCanceled) return completedFired;
1943
-
1944
1729
  if (revert) {
1945
1730
  parentEl = rootEl; // actualization
1946
-
1947
1731
  capture();
1948
-
1949
1732
  this._hideClone();
1950
-
1951
1733
  dragOverEvent('revert');
1952
-
1953
1734
  if (!Sortable.eventCanceled) {
1954
1735
  if (nextEl) {
1955
1736
  rootEl.insertBefore(dragEl, nextEl);
@@ -1957,38 +1738,32 @@ Sortable.prototype =
1957
1738
  rootEl.appendChild(dragEl);
1958
1739
  }
1959
1740
  }
1960
-
1961
1741
  return completed(true);
1962
1742
  }
1963
-
1964
1743
  var elLastChild = lastChild(el, options.draggable);
1965
-
1966
1744
  if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1967
1745
  // Insert to end of list
1746
+
1968
1747
  // If already at end of list: Do not insert
1969
1748
  if (elLastChild === dragEl) {
1970
1749
  return completed(false);
1971
- } // if there is a last element, it is the target
1972
-
1750
+ }
1973
1751
 
1752
+ // if there is a last element, it is the target
1974
1753
  if (elLastChild && el === evt.target) {
1975
1754
  target = elLastChild;
1976
1755
  }
1977
-
1978
1756
  if (target) {
1979
1757
  targetRect = getRect(target);
1980
1758
  }
1981
-
1982
1759
  if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1983
1760
  capture();
1984
-
1985
1761
  if (elLastChild && elLastChild.nextSibling) {
1986
1762
  // the last draggable element is not the last node
1987
1763
  el.insertBefore(dragEl, elLastChild.nextSibling);
1988
1764
  } else {
1989
1765
  el.appendChild(dragEl);
1990
1766
  }
1991
-
1992
1767
  parentEl = el; // actualization
1993
1768
 
1994
1769
  changed();
@@ -1997,14 +1772,11 @@ Sortable.prototype =
1997
1772
  } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1998
1773
  // Insert to start of list
1999
1774
  var firstChild = getChild(el, 0, options, true);
2000
-
2001
1775
  if (firstChild === dragEl) {
2002
1776
  return completed(false);
2003
1777
  }
2004
-
2005
1778
  target = firstChild;
2006
1779
  targetRect = getRect(target);
2007
-
2008
1780
  if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
2009
1781
  capture();
2010
1782
  el.insertBefore(dragEl, firstChild);
@@ -2016,82 +1788,68 @@ Sortable.prototype =
2016
1788
  } else if (target.parentNode === el) {
2017
1789
  targetRect = getRect(target);
2018
1790
  var direction = 0,
2019
- targetBeforeFirstSwap,
2020
- differentLevel = dragEl.parentNode !== el,
2021
- differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
2022
- side1 = vertical ? 'top' : 'left',
2023
- scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
2024
- scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
2025
-
1791
+ targetBeforeFirstSwap,
1792
+ differentLevel = dragEl.parentNode !== el,
1793
+ differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
1794
+ side1 = vertical ? 'top' : 'left',
1795
+ scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
1796
+ scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
2026
1797
  if (lastTarget !== target) {
2027
1798
  targetBeforeFirstSwap = targetRect[side1];
2028
1799
  pastFirstInvertThresh = false;
2029
1800
  isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
2030
1801
  }
2031
-
2032
1802
  direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
2033
1803
  var sibling;
2034
-
2035
1804
  if (direction !== 0) {
2036
1805
  // Check if target is beside dragEl in respective direction (ignoring hidden elements)
2037
1806
  var dragIndex = index(dragEl);
2038
-
2039
1807
  do {
2040
1808
  dragIndex -= direction;
2041
1809
  sibling = parentEl.children[dragIndex];
2042
1810
  } while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
2043
- } // If dragEl is already beside target: Do not insert
2044
-
2045
-
1811
+ }
1812
+ // If dragEl is already beside target: Do not insert
2046
1813
  if (direction === 0 || sibling === target) {
2047
1814
  return completed(false);
2048
1815
  }
2049
-
2050
1816
  lastTarget = target;
2051
1817
  lastDirection = direction;
2052
1818
  var nextSibling = target.nextElementSibling,
2053
- after = false;
1819
+ after = false;
2054
1820
  after = direction === 1;
2055
-
2056
1821
  var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
2057
-
2058
1822
  if (moveVector !== false) {
2059
1823
  if (moveVector === 1 || moveVector === -1) {
2060
1824
  after = moveVector === 1;
2061
1825
  }
2062
-
2063
1826
  _silent = true;
2064
1827
  setTimeout(_unsilent, 30);
2065
1828
  capture();
2066
-
2067
1829
  if (after && !nextSibling) {
2068
1830
  el.appendChild(dragEl);
2069
1831
  } else {
2070
1832
  target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
2071
- } // Undo chrome's scroll adjustment (has no effect on other browsers)
2072
-
1833
+ }
2073
1834
 
1835
+ // Undo chrome's scroll adjustment (has no effect on other browsers)
2074
1836
  if (scrolledPastTop) {
2075
1837
  scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
2076
1838
  }
2077
-
2078
1839
  parentEl = dragEl.parentNode; // actualization
2079
- // must be done before animation
2080
1840
 
1841
+ // must be done before animation
2081
1842
  if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
2082
1843
  targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
2083
1844
  }
2084
-
2085
1845
  changed();
2086
1846
  return completed(true);
2087
1847
  }
2088
1848
  }
2089
-
2090
1849
  if (el.contains(dragEl)) {
2091
1850
  return completed(false);
2092
1851
  }
2093
1852
  }
2094
-
2095
1853
  return false;
2096
1854
  },
2097
1855
  _ignoreWhileAnimating: null,
@@ -2108,86 +1866,73 @@ Sortable.prototype =
2108
1866
  off(ownerDocument, 'mouseup', this._onDrop);
2109
1867
  off(ownerDocument, 'touchend', this._onDrop);
2110
1868
  off(ownerDocument, 'pointerup', this._onDrop);
1869
+ off(ownerDocument, 'pointercancel', this._onDrop);
2111
1870
  off(ownerDocument, 'touchcancel', this._onDrop);
2112
1871
  off(document, 'selectstart', this);
2113
1872
  },
2114
- _onDrop: function _onDrop(
2115
- /**Event*/
2116
- evt) {
1873
+ _onDrop: function _onDrop( /**Event*/evt) {
2117
1874
  var el = this.el,
2118
- options = this.options; // Get the index of the dragged element within its parent
1875
+ options = this.options;
2119
1876
 
1877
+ // Get the index of the dragged element within its parent
2120
1878
  newIndex = index(dragEl);
2121
1879
  newDraggableIndex = index(dragEl, options.draggable);
2122
1880
  pluginEvent('drop', this, {
2123
1881
  evt: evt
2124
1882
  });
2125
- parentEl = dragEl && dragEl.parentNode; // Get again after plugin event
1883
+ parentEl = dragEl && dragEl.parentNode;
2126
1884
 
1885
+ // Get again after plugin event
2127
1886
  newIndex = index(dragEl);
2128
1887
  newDraggableIndex = index(dragEl, options.draggable);
2129
-
2130
1888
  if (Sortable.eventCanceled) {
2131
1889
  this._nulling();
2132
-
2133
1890
  return;
2134
1891
  }
2135
-
2136
1892
  awaitingDragStarted = false;
2137
1893
  isCircumstantialInvert = false;
2138
1894
  pastFirstInvertThresh = false;
2139
1895
  clearInterval(this._loopId);
2140
1896
  clearTimeout(this._dragStartTimer);
2141
-
2142
1897
  _cancelNextTick(this.cloneId);
1898
+ _cancelNextTick(this._dragStartId);
2143
1899
 
2144
- _cancelNextTick(this._dragStartId); // Unbind events
2145
-
2146
-
1900
+ // Unbind events
2147
1901
  if (this.nativeDraggable) {
2148
1902
  off(document, 'drop', this);
2149
1903
  off(el, 'dragstart', this._onDragStart);
2150
1904
  }
2151
-
2152
1905
  this._offMoveEvents();
2153
-
2154
1906
  this._offUpEvents();
2155
-
2156
1907
  if (Safari) {
2157
1908
  css(document.body, 'user-select', '');
2158
1909
  }
2159
-
2160
1910
  css(dragEl, 'transform', '');
2161
-
2162
1911
  if (evt) {
2163
1912
  if (moved) {
2164
1913
  evt.cancelable && evt.preventDefault();
2165
1914
  !options.dropBubble && evt.stopPropagation();
2166
1915
  }
2167
-
2168
1916
  ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
2169
-
2170
1917
  if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
2171
1918
  // Remove clone(s)
2172
1919
  cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
2173
1920
  }
2174
-
2175
1921
  if (dragEl) {
2176
1922
  if (this.nativeDraggable) {
2177
1923
  off(dragEl, 'dragend', this);
2178
1924
  }
2179
-
2180
1925
  _disableDraggable(dragEl);
1926
+ dragEl.style['will-change'] = '';
2181
1927
 
2182
- dragEl.style['will-change'] = ''; // Remove classes
1928
+ // Remove classes
2183
1929
  // ghostClass is added in dragStarted
2184
-
2185
1930
  if (moved && !awaitingDragStarted) {
2186
1931
  toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
2187
1932
  }
1933
+ toggleClass(dragEl, this.options.chosenClass, false);
2188
1934
 
2189
- toggleClass(dragEl, this.options.chosenClass, false); // Drag stop event
2190
-
1935
+ // Drag stop event
2191
1936
  _dispatchEvent({
2192
1937
  sortable: this,
2193
1938
  name: 'unchoose',
@@ -2196,7 +1941,6 @@ Sortable.prototype =
2196
1941
  newDraggableIndex: null,
2197
1942
  originalEvent: evt
2198
1943
  });
2199
-
2200
1944
  if (rootEl !== parentEl) {
2201
1945
  if (newIndex >= 0) {
2202
1946
  // Add event
@@ -2206,17 +1950,17 @@ Sortable.prototype =
2206
1950
  toEl: parentEl,
2207
1951
  fromEl: rootEl,
2208
1952
  originalEvent: evt
2209
- }); // Remove event
2210
-
1953
+ });
2211
1954
 
1955
+ // Remove event
2212
1956
  _dispatchEvent({
2213
1957
  sortable: this,
2214
1958
  name: 'remove',
2215
1959
  toEl: parentEl,
2216
1960
  originalEvent: evt
2217
- }); // drag from one list and drop into another
2218
-
1961
+ });
2219
1962
 
1963
+ // drag from one list and drop into another
2220
1964
  _dispatchEvent({
2221
1965
  rootEl: parentEl,
2222
1966
  name: 'sort',
@@ -2224,7 +1968,6 @@ Sortable.prototype =
2224
1968
  fromEl: rootEl,
2225
1969
  originalEvent: evt
2226
1970
  });
2227
-
2228
1971
  _dispatchEvent({
2229
1972
  sortable: this,
2230
1973
  name: 'sort',
@@ -2232,7 +1975,6 @@ Sortable.prototype =
2232
1975
  originalEvent: evt
2233
1976
  });
2234
1977
  }
2235
-
2236
1978
  putSortable && putSortable.save();
2237
1979
  } else {
2238
1980
  if (newIndex !== oldIndex) {
@@ -2244,7 +1986,6 @@ Sortable.prototype =
2244
1986
  toEl: parentEl,
2245
1987
  originalEvent: evt
2246
1988
  });
2247
-
2248
1989
  _dispatchEvent({
2249
1990
  sortable: this,
2250
1991
  name: 'sort',
@@ -2254,27 +1995,24 @@ Sortable.prototype =
2254
1995
  }
2255
1996
  }
2256
1997
  }
2257
-
2258
1998
  if (Sortable.active) {
2259
1999
  /* jshint eqnull:true */
2260
2000
  if (newIndex == null || newIndex === -1) {
2261
2001
  newIndex = oldIndex;
2262
2002
  newDraggableIndex = oldDraggableIndex;
2263
2003
  }
2264
-
2265
2004
  _dispatchEvent({
2266
2005
  sortable: this,
2267
2006
  name: 'end',
2268
2007
  toEl: parentEl,
2269
2008
  originalEvent: evt
2270
- }); // Save sorting
2271
-
2009
+ });
2272
2010
 
2011
+ // Save sorting
2273
2012
  this.save();
2274
2013
  }
2275
2014
  }
2276
2015
  }
2277
-
2278
2016
  this._nulling();
2279
2017
  },
2280
2018
  _nulling: function _nulling() {
@@ -2285,65 +2023,52 @@ Sortable.prototype =
2285
2023
  });
2286
2024
  savedInputChecked.length = lastDx = lastDy = 0;
2287
2025
  },
2288
- handleEvent: function handleEvent(
2289
- /**Event*/
2290
- evt) {
2026
+ handleEvent: function handleEvent( /**Event*/evt) {
2291
2027
  switch (evt.type) {
2292
2028
  case 'drop':
2293
2029
  case 'dragend':
2294
2030
  this._onDrop(evt);
2295
-
2296
2031
  break;
2297
-
2298
2032
  case 'dragenter':
2299
2033
  case 'dragover':
2300
2034
  if (dragEl) {
2301
2035
  this._onDragOver(evt);
2302
-
2303
2036
  _globalDragOver(evt);
2304
2037
  }
2305
-
2306
2038
  break;
2307
-
2308
2039
  case 'selectstart':
2309
2040
  evt.preventDefault();
2310
2041
  break;
2311
2042
  }
2312
2043
  },
2313
-
2314
2044
  /**
2315
2045
  * Serializes the item into an array of string.
2316
2046
  * @returns {String[]}
2317
2047
  */
2318
2048
  toArray: function toArray() {
2319
2049
  var order = [],
2320
- el,
2321
- children = this.el.children,
2322
- i = 0,
2323
- n = children.length,
2324
- options = this.options;
2325
-
2050
+ el,
2051
+ children = this.el.children,
2052
+ i = 0,
2053
+ n = children.length,
2054
+ options = this.options;
2326
2055
  for (; i < n; i++) {
2327
2056
  el = children[i];
2328
-
2329
2057
  if (closest(el, options.draggable, this.el, false)) {
2330
2058
  order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
2331
2059
  }
2332
2060
  }
2333
-
2334
2061
  return order;
2335
2062
  },
2336
-
2337
2063
  /**
2338
2064
  * Sorts the elements according to the array.
2339
2065
  * @param {String[]} order order of the items
2340
2066
  */
2341
2067
  sort: function sort(order, useAnimation) {
2342
2068
  var items = {},
2343
- rootEl = this.el;
2069
+ rootEl = this.el;
2344
2070
  this.toArray().forEach(function (id, i) {
2345
2071
  var el = rootEl.children[i];
2346
-
2347
2072
  if (closest(el, this.options.draggable, rootEl, false)) {
2348
2073
  items[id] = el;
2349
2074
  }
@@ -2357,7 +2082,6 @@ Sortable.prototype =
2357
2082
  });
2358
2083
  useAnimation && this.animateAll();
2359
2084
  },
2360
-
2361
2085
  /**
2362
2086
  * Save the current sorting
2363
2087
  */
@@ -2365,7 +2089,6 @@ Sortable.prototype =
2365
2089
  var store = this.options.store;
2366
2090
  store && store.set && store.set(this);
2367
2091
  },
2368
-
2369
2092
  /**
2370
2093
  * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
2371
2094
  * @param {HTMLElement} el
@@ -2375,7 +2098,6 @@ Sortable.prototype =
2375
2098
  closest: function closest$1(el, selector) {
2376
2099
  return closest(el, selector || this.options.draggable, this.el, false);
2377
2100
  },
2378
-
2379
2101
  /**
2380
2102
  * Set/get option
2381
2103
  * @param {string} name
@@ -2384,24 +2106,20 @@ Sortable.prototype =
2384
2106
  */
2385
2107
  option: function option(name, value) {
2386
2108
  var options = this.options;
2387
-
2388
2109
  if (value === void 0) {
2389
2110
  return options[name];
2390
2111
  } else {
2391
2112
  var modifiedValue = PluginManager.modifyOption(this, name, value);
2392
-
2393
2113
  if (typeof modifiedValue !== 'undefined') {
2394
2114
  options[name] = modifiedValue;
2395
2115
  } else {
2396
2116
  options[name] = value;
2397
2117
  }
2398
-
2399
2118
  if (name === 'group') {
2400
2119
  _prepareGroup(options);
2401
2120
  }
2402
2121
  }
2403
2122
  },
2404
-
2405
2123
  /**
2406
2124
  * Destroy
2407
2125
  */
@@ -2412,21 +2130,16 @@ Sortable.prototype =
2412
2130
  off(el, 'mousedown', this._onTapStart);
2413
2131
  off(el, 'touchstart', this._onTapStart);
2414
2132
  off(el, 'pointerdown', this._onTapStart);
2415
-
2416
2133
  if (this.nativeDraggable) {
2417
2134
  off(el, 'dragover', this);
2418
2135
  off(el, 'dragenter', this);
2419
- } // Remove draggable attributes
2420
-
2421
-
2136
+ }
2137
+ // Remove draggable attributes
2422
2138
  Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
2423
2139
  el.removeAttribute('draggable');
2424
2140
  });
2425
-
2426
2141
  this._onDrop();
2427
-
2428
2142
  this._disableDelayedDragEvents();
2429
-
2430
2143
  sortables.splice(sortables.indexOf(this.el), 1);
2431
2144
  this.el = el = null;
2432
2145
  },
@@ -2435,25 +2148,22 @@ Sortable.prototype =
2435
2148
  pluginEvent('hideClone', this);
2436
2149
  if (Sortable.eventCanceled) return;
2437
2150
  css(cloneEl, 'display', 'none');
2438
-
2439
2151
  if (this.options.removeCloneOnHide && cloneEl.parentNode) {
2440
2152
  cloneEl.parentNode.removeChild(cloneEl);
2441
2153
  }
2442
-
2443
2154
  cloneHidden = true;
2444
2155
  }
2445
2156
  },
2446
2157
  _showClone: function _showClone(putSortable) {
2447
2158
  if (putSortable.lastPutMode !== 'clone') {
2448
2159
  this._hideClone();
2449
-
2450
2160
  return;
2451
2161
  }
2452
-
2453
2162
  if (cloneHidden) {
2454
2163
  pluginEvent('showClone', this);
2455
- if (Sortable.eventCanceled) return; // show clone at dragEl or original position
2164
+ if (Sortable.eventCanceled) return;
2456
2165
 
2166
+ // show clone at dragEl or original position
2457
2167
  if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
2458
2168
  rootEl.insertBefore(cloneEl, dragEl);
2459
2169
  } else if (nextEl) {
@@ -2461,33 +2171,26 @@ Sortable.prototype =
2461
2171
  } else {
2462
2172
  rootEl.appendChild(cloneEl);
2463
2173
  }
2464
-
2465
2174
  if (this.options.group.revertClone) {
2466
2175
  this.animate(dragEl, cloneEl);
2467
2176
  }
2468
-
2469
2177
  css(cloneEl, 'display', '');
2470
2178
  cloneHidden = false;
2471
2179
  }
2472
2180
  }
2473
2181
  };
2474
-
2475
- function _globalDragOver(
2476
- /**Event*/
2477
- evt) {
2182
+ function _globalDragOver( /**Event*/evt) {
2478
2183
  if (evt.dataTransfer) {
2479
2184
  evt.dataTransfer.dropEffect = 'move';
2480
2185
  }
2481
-
2482
2186
  evt.cancelable && evt.preventDefault();
2483
2187
  }
2484
-
2485
2188
  function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
2486
2189
  var evt,
2487
- sortable = fromEl[expando],
2488
- onMoveFn = sortable.options.onMove,
2489
- retVal; // Support for new CustomEvent feature
2490
-
2190
+ sortable = fromEl[expando],
2191
+ onMoveFn = sortable.options.onMove,
2192
+ retVal;
2193
+ // Support for new CustomEvent feature
2491
2194
  if (window.CustomEvent && !IE11OrLess && !Edge) {
2492
2195
  evt = new CustomEvent('move', {
2493
2196
  bubbles: true,
@@ -2497,7 +2200,6 @@ function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalE
2497
2200
  evt = document.createEvent('Event');
2498
2201
  evt.initEvent('move', true, true);
2499
2202
  }
2500
-
2501
2203
  evt.to = toEl;
2502
2204
  evt.from = fromEl;
2503
2205
  evt.dragged = dragEl;
@@ -2507,41 +2209,35 @@ function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalE
2507
2209
  evt.willInsertAfter = willInsertAfter;
2508
2210
  evt.originalEvent = originalEvent;
2509
2211
  fromEl.dispatchEvent(evt);
2510
-
2511
2212
  if (onMoveFn) {
2512
2213
  retVal = onMoveFn.call(sortable, evt, originalEvent);
2513
2214
  }
2514
-
2515
2215
  return retVal;
2516
2216
  }
2517
-
2518
2217
  function _disableDraggable(el) {
2519
2218
  el.draggable = false;
2520
2219
  }
2521
-
2522
2220
  function _unsilent() {
2523
2221
  _silent = false;
2524
2222
  }
2525
-
2526
2223
  function _ghostIsFirst(evt, vertical, sortable) {
2527
- var rect = getRect(getChild(sortable.el, 0, sortable.options, true));
2224
+ var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
2225
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
2528
2226
  var spacer = 10;
2529
- return vertical ? evt.clientX < rect.left - spacer || evt.clientY < rect.top && evt.clientX < rect.right : evt.clientY < rect.top - spacer || evt.clientY < rect.bottom && evt.clientX < rect.left;
2227
+ return vertical ? evt.clientX < childContainingRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < childContainingRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
2530
2228
  }
2531
-
2532
2229
  function _ghostIsLast(evt, vertical, sortable) {
2533
- var rect = getRect(lastChild(sortable.el, sortable.options.draggable));
2230
+ var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
2231
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
2534
2232
  var spacer = 10;
2535
- return vertical ? evt.clientX > rect.right + spacer || evt.clientX <= rect.right && evt.clientY > rect.bottom && evt.clientX >= rect.left : evt.clientX > rect.right && evt.clientY > rect.top || evt.clientX <= rect.right && evt.clientY > rect.bottom + spacer;
2233
+ return vertical ? evt.clientX > childContainingRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > childContainingRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
2536
2234
  }
2537
-
2538
2235
  function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
2539
2236
  var mouseOnAxis = vertical ? evt.clientY : evt.clientX,
2540
- targetLength = vertical ? targetRect.height : targetRect.width,
2541
- targetS1 = vertical ? targetRect.top : targetRect.left,
2542
- targetS2 = vertical ? targetRect.bottom : targetRect.right,
2543
- invert = false;
2544
-
2237
+ targetLength = vertical ? targetRect.height : targetRect.width,
2238
+ targetS1 = vertical ? targetRect.top : targetRect.left,
2239
+ targetS2 = vertical ? targetRect.bottom : targetRect.right,
2240
+ invert = false;
2545
2241
  if (!invertSwap) {
2546
2242
  // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
2547
2243
  if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
@@ -2551,7 +2247,6 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
2551
2247
  // past first invert threshold, do not restrict inverted threshold to dragEl shadow
2552
2248
  pastFirstInvertThresh = true;
2553
2249
  }
2554
-
2555
2250
  if (!pastFirstInvertThresh) {
2556
2251
  // dragEl shadow (target move distance shadow)
2557
2252
  if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
@@ -2568,26 +2263,22 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
2568
2263
  }
2569
2264
  }
2570
2265
  }
2571
-
2572
2266
  invert = invert || invertSwap;
2573
-
2574
2267
  if (invert) {
2575
2268
  // Invert of regular
2576
2269
  if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
2577
2270
  return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
2578
2271
  }
2579
2272
  }
2580
-
2581
2273
  return 0;
2582
2274
  }
2275
+
2583
2276
  /**
2584
2277
  * Gets the direction dragEl must be swapped relative to target in order to make it
2585
2278
  * seem that dragEl has been "inserted" into that element's position
2586
2279
  * @param {HTMLElement} target The target whose position dragEl is being inserted at
2587
2280
  * @return {Number} Direction dragEl must be swapped
2588
2281
  */
2589
-
2590
-
2591
2282
  function _getInsertDirection(target) {
2592
2283
  if (index(dragEl) < index(target)) {
2593
2284
  return 1;
@@ -2595,55 +2286,48 @@ function _getInsertDirection(target) {
2595
2286
  return -1;
2596
2287
  }
2597
2288
  }
2289
+
2598
2290
  /**
2599
2291
  * Generate id
2600
2292
  * @param {HTMLElement} el
2601
2293
  * @returns {String}
2602
2294
  * @private
2603
2295
  */
2604
-
2605
-
2606
2296
  function _generateId(el) {
2607
2297
  var str = el.tagName + el.className + el.src + el.href + el.textContent,
2608
- i = str.length,
2609
- sum = 0;
2610
-
2298
+ i = str.length,
2299
+ sum = 0;
2611
2300
  while (i--) {
2612
2301
  sum += str.charCodeAt(i);
2613
2302
  }
2614
-
2615
2303
  return sum.toString(36);
2616
2304
  }
2617
-
2618
2305
  function _saveInputCheckedState(root) {
2619
2306
  savedInputChecked.length = 0;
2620
2307
  var inputs = root.getElementsByTagName('input');
2621
2308
  var idx = inputs.length;
2622
-
2623
2309
  while (idx--) {
2624
2310
  var el = inputs[idx];
2625
2311
  el.checked && savedInputChecked.push(el);
2626
2312
  }
2627
2313
  }
2628
-
2629
2314
  function _nextTick(fn) {
2630
2315
  return setTimeout(fn, 0);
2631
2316
  }
2632
-
2633
2317
  function _cancelNextTick(id) {
2634
2318
  return clearTimeout(id);
2635
- } // Fixed #973:
2636
-
2319
+ }
2637
2320
 
2321
+ // Fixed #973:
2638
2322
  if (documentExists) {
2639
2323
  on(document, 'touchmove', function (evt) {
2640
2324
  if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
2641
2325
  evt.preventDefault();
2642
2326
  }
2643
2327
  });
2644
- } // Export utils
2645
-
2328
+ }
2646
2329
 
2330
+ // Export utils
2647
2331
  Sortable.utils = {
2648
2332
  on: on,
2649
2333
  off: off,
@@ -2661,61 +2345,57 @@ Sortable.utils = {
2661
2345
  nextTick: _nextTick,
2662
2346
  cancelNextTick: _cancelNextTick,
2663
2347
  detectDirection: _detectDirection,
2664
- getChild: getChild
2348
+ getChild: getChild,
2349
+ expando: expando
2665
2350
  };
2351
+
2666
2352
  /**
2667
2353
  * Get the Sortable instance of an element
2668
2354
  * @param {HTMLElement} element The element
2669
2355
  * @return {Sortable|undefined} The instance of Sortable
2670
2356
  */
2671
-
2672
2357
  Sortable.get = function (element) {
2673
2358
  return element[expando];
2674
2359
  };
2360
+
2675
2361
  /**
2676
2362
  * Mount a plugin to Sortable
2677
2363
  * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2678
2364
  */
2679
-
2680
-
2681
2365
  Sortable.mount = function () {
2682
2366
  for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
2683
2367
  plugins[_key] = arguments[_key];
2684
2368
  }
2685
-
2686
2369
  if (plugins[0].constructor === Array) plugins = plugins[0];
2687
2370
  plugins.forEach(function (plugin) {
2688
2371
  if (!plugin.prototype || !plugin.prototype.constructor) {
2689
2372
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
2690
2373
  }
2691
-
2692
2374
  if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
2693
2375
  PluginManager.mount(plugin);
2694
2376
  });
2695
2377
  };
2378
+
2696
2379
  /**
2697
2380
  * Create sortable instance
2698
2381
  * @param {HTMLElement} el
2699
2382
  * @param {Object} [options]
2700
2383
  */
2701
-
2702
-
2703
2384
  Sortable.create = function (el, options) {
2704
2385
  return new Sortable(el, options);
2705
- }; // Export
2706
-
2386
+ };
2707
2387
 
2388
+ // Export
2708
2389
  Sortable.version = version;
2709
2390
 
2710
2391
  var autoScrolls = [],
2711
- scrollEl,
2712
- scrollRootEl,
2713
- scrolling = false,
2714
- lastAutoScrollX,
2715
- lastAutoScrollY,
2716
- touchEvt$1,
2717
- pointerElemChangedInterval;
2718
-
2392
+ scrollEl,
2393
+ scrollRootEl,
2394
+ scrolling = false,
2395
+ lastAutoScrollX,
2396
+ lastAutoScrollY,
2397
+ touchEvt$1,
2398
+ pointerElemChangedInterval;
2719
2399
  function AutoScrollPlugin() {
2720
2400
  function AutoScroll() {
2721
2401
  this.defaults = {
@@ -2724,19 +2404,18 @@ function AutoScrollPlugin() {
2724
2404
  scrollSensitivity: 30,
2725
2405
  scrollSpeed: 10,
2726
2406
  bubbleScroll: true
2727
- }; // Bind all private methods
2407
+ };
2728
2408
 
2409
+ // Bind all private methods
2729
2410
  for (var fn in this) {
2730
2411
  if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
2731
2412
  this[fn] = this[fn].bind(this);
2732
2413
  }
2733
2414
  }
2734
2415
  }
2735
-
2736
2416
  AutoScroll.prototype = {
2737
2417
  dragStarted: function dragStarted(_ref) {
2738
2418
  var originalEvent = _ref.originalEvent;
2739
-
2740
2419
  if (this.sortable.nativeDraggable) {
2741
2420
  on(document, 'dragover', this._handleAutoScroll);
2742
2421
  } else {
@@ -2751,7 +2430,6 @@ function AutoScrollPlugin() {
2751
2430
  },
2752
2431
  dragOverCompleted: function dragOverCompleted(_ref2) {
2753
2432
  var originalEvent = _ref2.originalEvent;
2754
-
2755
2433
  // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
2756
2434
  if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2757
2435
  this._handleAutoScroll(originalEvent);
@@ -2765,7 +2443,6 @@ function AutoScrollPlugin() {
2765
2443
  off(document, 'touchmove', this._handleFallbackAutoScroll);
2766
2444
  off(document, 'mousemove', this._handleFallbackAutoScroll);
2767
2445
  }
2768
-
2769
2446
  clearPointerElemChangedInterval();
2770
2447
  clearAutoScrolls();
2771
2448
  cancelThrottle();
@@ -2779,31 +2456,29 @@ function AutoScrollPlugin() {
2779
2456
  },
2780
2457
  _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2781
2458
  var _this = this;
2782
-
2783
2459
  var x = (evt.touches ? evt.touches[0] : evt).clientX,
2784
- y = (evt.touches ? evt.touches[0] : evt).clientY,
2785
- elem = document.elementFromPoint(x, y);
2786
- touchEvt$1 = evt; // IE does not seem to have native autoscroll,
2460
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2461
+ elem = document.elementFromPoint(x, y);
2462
+ touchEvt$1 = evt;
2463
+
2464
+ // IE does not seem to have native autoscroll,
2787
2465
  // Edge's autoscroll seems too conditional,
2788
2466
  // MACOS Safari does not have autoscroll,
2789
2467
  // Firefox and Chrome are good
2790
-
2791
2468
  if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2792
- autoScroll(evt, this.options, elem, fallback); // Listener for pointer element change
2469
+ autoScroll(evt, this.options, elem, fallback);
2793
2470
 
2471
+ // Listener for pointer element change
2794
2472
  var ogElemScroller = getParentAutoScrollElement(elem, true);
2795
-
2796
2473
  if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2797
- pointerElemChangedInterval && clearPointerElemChangedInterval(); // Detect for pointer elem change, emulating native DnD behaviour
2798
-
2474
+ pointerElemChangedInterval && clearPointerElemChangedInterval();
2475
+ // Detect for pointer elem change, emulating native DnD behaviour
2799
2476
  pointerElemChangedInterval = setInterval(function () {
2800
2477
  var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2801
-
2802
2478
  if (newElem !== ogElemScroller) {
2803
2479
  ogElemScroller = newElem;
2804
2480
  clearAutoScrolls();
2805
2481
  }
2806
-
2807
2482
  autoScroll(evt, _this.options, newElem, fallback);
2808
2483
  }, 10);
2809
2484
  lastAutoScrollX = x;
@@ -2815,7 +2490,6 @@ function AutoScrollPlugin() {
2815
2490
  clearAutoScrolls();
2816
2491
  return;
2817
2492
  }
2818
-
2819
2493
  autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2820
2494
  }
2821
2495
  }
@@ -2825,60 +2499,54 @@ function AutoScrollPlugin() {
2825
2499
  initializeByDefault: true
2826
2500
  });
2827
2501
  }
2828
-
2829
2502
  function clearAutoScrolls() {
2830
2503
  autoScrolls.forEach(function (autoScroll) {
2831
2504
  clearInterval(autoScroll.pid);
2832
2505
  });
2833
2506
  autoScrolls = [];
2834
2507
  }
2835
-
2836
2508
  function clearPointerElemChangedInterval() {
2837
2509
  clearInterval(pointerElemChangedInterval);
2838
2510
  }
2839
-
2840
2511
  var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2841
2512
  // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
2842
2513
  if (!options.scroll) return;
2843
2514
  var x = (evt.touches ? evt.touches[0] : evt).clientX,
2844
- y = (evt.touches ? evt.touches[0] : evt).clientY,
2845
- sens = options.scrollSensitivity,
2846
- speed = options.scrollSpeed,
2847
- winScroller = getWindowScrollingElement();
2515
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2516
+ sens = options.scrollSensitivity,
2517
+ speed = options.scrollSpeed,
2518
+ winScroller = getWindowScrollingElement();
2848
2519
  var scrollThisInstance = false,
2849
- scrollCustomFn; // New scroll root, set scrollEl
2520
+ scrollCustomFn;
2850
2521
 
2522
+ // New scroll root, set scrollEl
2851
2523
  if (scrollRootEl !== rootEl) {
2852
2524
  scrollRootEl = rootEl;
2853
2525
  clearAutoScrolls();
2854
2526
  scrollEl = options.scroll;
2855
2527
  scrollCustomFn = options.scrollFn;
2856
-
2857
2528
  if (scrollEl === true) {
2858
2529
  scrollEl = getParentAutoScrollElement(rootEl, true);
2859
2530
  }
2860
2531
  }
2861
-
2862
2532
  var layersOut = 0;
2863
2533
  var currentParent = scrollEl;
2864
-
2865
2534
  do {
2866
2535
  var el = currentParent,
2867
- rect = getRect(el),
2868
- top = rect.top,
2869
- bottom = rect.bottom,
2870
- left = rect.left,
2871
- right = rect.right,
2872
- width = rect.width,
2873
- height = rect.height,
2874
- canScrollX = void 0,
2875
- canScrollY = void 0,
2876
- scrollWidth = el.scrollWidth,
2877
- scrollHeight = el.scrollHeight,
2878
- elCSS = css(el),
2879
- scrollPosX = el.scrollLeft,
2880
- scrollPosY = el.scrollTop;
2881
-
2536
+ rect = getRect(el),
2537
+ top = rect.top,
2538
+ bottom = rect.bottom,
2539
+ left = rect.left,
2540
+ right = rect.right,
2541
+ width = rect.width,
2542
+ height = rect.height,
2543
+ canScrollX = void 0,
2544
+ canScrollY = void 0,
2545
+ scrollWidth = el.scrollWidth,
2546
+ scrollHeight = el.scrollHeight,
2547
+ elCSS = css(el),
2548
+ scrollPosX = el.scrollLeft,
2549
+ scrollPosY = el.scrollTop;
2882
2550
  if (el === winScroller) {
2883
2551
  canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
2884
2552
  canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
@@ -2886,10 +2554,8 @@ var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2886
2554
  canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
2887
2555
  canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
2888
2556
  }
2889
-
2890
2557
  var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2891
2558
  var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2892
-
2893
2559
  if (!autoScrolls[layersOut]) {
2894
2560
  for (var i = 0; i <= layersOut; i++) {
2895
2561
  if (!autoScrolls[i]) {
@@ -2897,61 +2563,51 @@ var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2897
2563
  }
2898
2564
  }
2899
2565
  }
2900
-
2901
2566
  if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2902
2567
  autoScrolls[layersOut].el = el;
2903
2568
  autoScrolls[layersOut].vx = vx;
2904
2569
  autoScrolls[layersOut].vy = vy;
2905
2570
  clearInterval(autoScrolls[layersOut].pid);
2906
-
2907
2571
  if (vx != 0 || vy != 0) {
2908
2572
  scrollThisInstance = true;
2909
2573
  /* jshint loopfunc:true */
2910
-
2911
2574
  autoScrolls[layersOut].pid = setInterval(function () {
2912
2575
  // emulate drag over during autoscroll (fallback), emulating native DnD behaviour
2913
2576
  if (isFallback && this.layer === 0) {
2914
2577
  Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
2915
-
2916
2578
  }
2917
-
2918
2579
  var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2919
2580
  var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2920
-
2921
2581
  if (typeof scrollCustomFn === 'function') {
2922
2582
  if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
2923
2583
  return;
2924
2584
  }
2925
2585
  }
2926
-
2927
2586
  scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2928
2587
  }.bind({
2929
2588
  layer: layersOut
2930
2589
  }), 24);
2931
2590
  }
2932
2591
  }
2933
-
2934
2592
  layersOut++;
2935
2593
  } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2936
-
2937
2594
  scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
2938
2595
  }, 30);
2939
2596
 
2940
2597
  var drop = function drop(_ref) {
2941
2598
  var originalEvent = _ref.originalEvent,
2942
- putSortable = _ref.putSortable,
2943
- dragEl = _ref.dragEl,
2944
- activeSortable = _ref.activeSortable,
2945
- dispatchSortableEvent = _ref.dispatchSortableEvent,
2946
- hideGhostForTarget = _ref.hideGhostForTarget,
2947
- unhideGhostForTarget = _ref.unhideGhostForTarget;
2599
+ putSortable = _ref.putSortable,
2600
+ dragEl = _ref.dragEl,
2601
+ activeSortable = _ref.activeSortable,
2602
+ dispatchSortableEvent = _ref.dispatchSortableEvent,
2603
+ hideGhostForTarget = _ref.hideGhostForTarget,
2604
+ unhideGhostForTarget = _ref.unhideGhostForTarget;
2948
2605
  if (!originalEvent) return;
2949
2606
  var toSortable = putSortable || activeSortable;
2950
2607
  hideGhostForTarget();
2951
2608
  var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2952
2609
  var target = document.elementFromPoint(touch.clientX, touch.clientY);
2953
2610
  unhideGhostForTarget();
2954
-
2955
2611
  if (toSortable && !toSortable.el.contains(target)) {
2956
2612
  dispatchSortableEvent('spill');
2957
2613
  this.onSpill({
@@ -2960,9 +2616,7 @@ var drop = function drop(_ref) {
2960
2616
  });
2961
2617
  }
2962
2618
  };
2963
-
2964
2619
  function Revert() {}
2965
-
2966
2620
  Revert.prototype = {
2967
2621
  startIndex: null,
2968
2622
  dragStart: function dragStart(_ref2) {
@@ -2971,40 +2625,32 @@ Revert.prototype = {
2971
2625
  },
2972
2626
  onSpill: function onSpill(_ref3) {
2973
2627
  var dragEl = _ref3.dragEl,
2974
- putSortable = _ref3.putSortable;
2628
+ putSortable = _ref3.putSortable;
2975
2629
  this.sortable.captureAnimationState();
2976
-
2977
2630
  if (putSortable) {
2978
2631
  putSortable.captureAnimationState();
2979
2632
  }
2980
-
2981
2633
  var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2982
-
2983
2634
  if (nextSibling) {
2984
2635
  this.sortable.el.insertBefore(dragEl, nextSibling);
2985
2636
  } else {
2986
2637
  this.sortable.el.appendChild(dragEl);
2987
2638
  }
2988
-
2989
2639
  this.sortable.animateAll();
2990
-
2991
2640
  if (putSortable) {
2992
2641
  putSortable.animateAll();
2993
2642
  }
2994
2643
  },
2995
2644
  drop: drop
2996
2645
  };
2997
-
2998
2646
  _extends(Revert, {
2999
2647
  pluginName: 'revertOnSpill'
3000
2648
  });
3001
-
3002
2649
  function Remove() {}
3003
-
3004
2650
  Remove.prototype = {
3005
2651
  onSpill: function onSpill(_ref4) {
3006
2652
  var dragEl = _ref4.dragEl,
3007
- putSortable = _ref4.putSortable;
2653
+ putSortable = _ref4.putSortable;
3008
2654
  var parentSortable = putSortable || this.sortable;
3009
2655
  parentSortable.captureAnimationState();
3010
2656
  dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
@@ -3012,7 +2658,6 @@ Remove.prototype = {
3012
2658
  },
3013
2659
  drop: drop
3014
2660
  };
3015
-
3016
2661
  _extends(Remove, {
3017
2662
  pluginName: 'removeOnSpill'
3018
2663
  });