@getflip/swirl-components 0.295.0 → 0.296.0

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