@oiz/stzh-components 4.9.0-beta2 → 4.9.0-beta4

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 (1424) hide show
  1. package/dist/cjs/index-DYp2fkRS.js +3384 -0
  2. package/dist/cjs/index-DYp2fkRS.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-card.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-chipselect.cjs.entry.js +2 -2
  32. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-components.cjs.js +1 -1
  35. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  49. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  68. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-input-description-BtOB5jhx.js +12 -0
  70. package/dist/cjs/stzh-input-description-BtOB5jhx.js.map +1 -0
  71. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-loader_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  104. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  131. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  138. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  139. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  140. package/dist/collection/assets/media/icons/mono/.npmignore +3 -0
  141. package/dist/collection/assets/media/icons/mono/alarm-bell.svg +1 -0
  142. package/dist/collection/assets/media/icons/mono/angle-down.svg +1 -0
  143. package/dist/collection/assets/media/icons/mono/angle-left.svg +1 -0
  144. package/dist/collection/assets/media/icons/mono/angle-right.svg +1 -0
  145. package/dist/collection/assets/media/icons/mono/angle-up.svg +1 -0
  146. package/dist/collection/assets/media/icons/mono/archive-box.svg +1 -0
  147. package/dist/collection/assets/media/icons/mono/arrow-down.svg +1 -0
  148. package/dist/collection/assets/media/icons/mono/arrow-left-circle.svg +1 -0
  149. package/dist/collection/assets/media/icons/mono/arrow-left.svg +1 -0
  150. package/dist/collection/assets/media/icons/mono/arrow-right-down.svg +1 -0
  151. package/dist/collection/assets/media/icons/mono/arrow-right.svg +1 -0
  152. package/dist/collection/assets/media/icons/mono/arrow-up-circle.svg +1 -0
  153. package/dist/collection/assets/media/icons/mono/arrow-up.svg +1 -0
  154. package/dist/collection/assets/media/icons/mono/bulleted-list.svg +1 -0
  155. package/dist/collection/assets/media/icons/mono/calculator.svg +1 -0
  156. package/dist/collection/assets/media/icons/mono/calendar.svg +1 -0
  157. package/dist/collection/assets/media/icons/mono/camera.svg +1 -0
  158. package/dist/collection/assets/media/icons/mono/cart.svg +1 -0
  159. package/dist/collection/assets/media/icons/mono/checkmark-circle-filled.svg +1 -0
  160. package/dist/collection/assets/media/icons/mono/checkmark-circle.svg +1 -0
  161. package/dist/collection/assets/media/icons/mono/checkmark.svg +1 -0
  162. package/dist/collection/assets/media/icons/mono/child.svg +1 -0
  163. package/dist/collection/assets/media/icons/mono/click.svg +1 -0
  164. package/dist/collection/assets/media/icons/mono/clock.svg +1 -0
  165. package/dist/collection/assets/media/icons/mono/close-big.svg +1 -0
  166. package/dist/collection/assets/media/icons/mono/close-circle.svg +1 -0
  167. package/dist/collection/assets/media/icons/mono/close.svg +1 -0
  168. package/dist/collection/assets/media/icons/mono/code-window.svg +1 -0
  169. package/dist/collection/assets/media/icons/mono/compass-direction.svg +1 -0
  170. package/dist/collection/assets/media/icons/mono/compass-north.svg +1 -0
  171. package/dist/collection/assets/media/icons/mono/construction.svg +1 -0
  172. package/dist/collection/assets/media/icons/mono/copy.svg +1 -0
  173. package/dist/collection/assets/media/icons/mono/crop.svg +1 -0
  174. package/dist/collection/assets/media/icons/mono/dashboard.svg +1 -0
  175. package/dist/collection/assets/media/icons/mono/delete.svg +1 -0
  176. package/dist/collection/assets/media/icons/mono/download.svg +1 -0
  177. package/dist/collection/assets/media/icons/mono/drag.svg +1 -0
  178. package/dist/collection/assets/media/icons/mono/edit.svg +1 -0
  179. package/dist/collection/assets/media/icons/mono/enlarge-text.svg +1 -0
  180. package/dist/collection/assets/media/icons/mono/expand.svg +1 -0
  181. package/dist/collection/assets/media/icons/mono/external-link.svg +1 -0
  182. package/dist/collection/assets/media/icons/mono/facebook-comment.svg +1 -0
  183. package/dist/collection/assets/media/icons/mono/facebook.svg +1 -0
  184. package/dist/collection/assets/media/icons/mono/file-add.svg +1 -0
  185. package/dist/collection/assets/media/icons/mono/file.svg +1 -0
  186. package/dist/collection/assets/media/icons/mono/filtering.svg +1 -0
  187. package/dist/collection/assets/media/icons/mono/flag.svg +1 -0
  188. package/dist/collection/assets/media/icons/mono/forward.svg +1 -0
  189. package/dist/collection/assets/media/icons/mono/fountain.svg +1 -0
  190. package/dist/collection/assets/media/icons/mono/gear.svg +1 -0
  191. package/dist/collection/assets/media/icons/mono/heart.svg +1 -0
  192. package/dist/collection/assets/media/icons/mono/home.svg +1 -0
  193. package/dist/collection/assets/media/icons/mono/important-warning-filled.svg +1 -0
  194. package/dist/collection/assets/media/icons/mono/important-warning.svg +1 -0
  195. package/dist/collection/assets/media/icons/mono/info-help-filled.svg +1 -0
  196. package/dist/collection/assets/media/icons/mono/info-help.svg +1 -0
  197. package/dist/collection/assets/media/icons/mono/instagram-photo-gallery.svg +1 -0
  198. package/dist/collection/assets/media/icons/mono/instagram.svg +1 -0
  199. package/dist/collection/assets/media/icons/mono/jobs.svg +1 -0
  200. package/dist/collection/assets/media/icons/mono/like-hand.svg +1 -0
  201. package/dist/collection/assets/media/icons/mono/linkedin.svg +1 -0
  202. package/dist/collection/assets/media/icons/mono/list-expanded.svg +1 -0
  203. package/dist/collection/assets/media/icons/mono/list-shrinked.svg +1 -0
  204. package/dist/collection/assets/media/icons/mono/lock.svg +1 -0
  205. package/dist/collection/assets/media/icons/mono/mail-check.svg +1 -0
  206. package/dist/collection/assets/media/icons/mono/mail.svg +1 -0
  207. package/dist/collection/assets/media/icons/mono/map.svg +1 -0
  208. package/dist/collection/assets/media/icons/mono/mental-illness.svg +1 -0
  209. package/dist/collection/assets/media/icons/mono/menu.svg +1 -0
  210. package/dist/collection/assets/media/icons/mono/minus.svg +1 -0
  211. package/dist/collection/assets/media/icons/mono/more-horizontal.svg +1 -0
  212. package/dist/collection/assets/media/icons/mono/more-vertical.svg +1 -0
  213. package/dist/collection/assets/media/icons/mono/music.svg +1 -0
  214. package/dist/collection/assets/media/icons/mono/paper-clip.svg +1 -0
  215. package/dist/collection/assets/media/icons/mono/parking-box.svg +1 -0
  216. package/dist/collection/assets/media/icons/mono/pause-button-filled.svg +1 -0
  217. package/dist/collection/assets/media/icons/mono/pause-button.svg +1 -0
  218. package/dist/collection/assets/media/icons/mono/pause.svg +1 -0
  219. package/dist/collection/assets/media/icons/mono/phone.svg +1 -0
  220. package/dist/collection/assets/media/icons/mono/pin-location.svg +1 -0
  221. package/dist/collection/assets/media/icons/mono/pin.svg +1 -0
  222. package/dist/collection/assets/media/icons/mono/play-button-filled.svg +1 -0
  223. package/dist/collection/assets/media/icons/mono/play-button.svg +1 -0
  224. package/dist/collection/assets/media/icons/mono/play.svg +1 -0
  225. package/dist/collection/assets/media/icons/mono/plus.svg +1 -0
  226. package/dist/collection/assets/media/icons/mono/portfolio-grid.svg +1 -0
  227. package/dist/collection/assets/media/icons/mono/print.svg +1 -0
  228. package/dist/collection/assets/media/icons/mono/question-help.svg +1 -0
  229. package/dist/collection/assets/media/icons/mono/read-mail.svg +1 -0
  230. package/dist/collection/assets/media/icons/mono/recycling.svg +1 -0
  231. package/dist/collection/assets/media/icons/mono/reload.svg +1 -0
  232. package/dist/collection/assets/media/icons/mono/reset-time.svg +1 -0
  233. package/dist/collection/assets/media/icons/mono/reset.svg +1 -0
  234. package/dist/collection/assets/media/icons/mono/resize.svg +1 -0
  235. package/dist/collection/assets/media/icons/mono/rewind.svg +1 -0
  236. package/dist/collection/assets/media/icons/mono/rss.svg +1 -0
  237. package/dist/collection/assets/media/icons/mono/scan.svg +1 -0
  238. package/dist/collection/assets/media/icons/mono/school.svg +1 -0
  239. package/dist/collection/assets/media/icons/mono/search.svg +1 -0
  240. package/dist/collection/assets/media/icons/mono/send-plane.svg +1 -0
  241. package/dist/collection/assets/media/icons/mono/services-2.svg +1 -0
  242. package/dist/collection/assets/media/icons/mono/services.svg +1 -0
  243. package/dist/collection/assets/media/icons/mono/share.svg +1 -0
  244. package/dist/collection/assets/media/icons/mono/shrink.svg +1 -0
  245. package/dist/collection/assets/media/icons/mono/silent-mode.svg +1 -0
  246. package/dist/collection/assets/media/icons/mono/smartphone.svg +1 -0
  247. package/dist/collection/assets/media/icons/mono/sort.svg +1 -0
  248. package/dist/collection/assets/media/icons/mono/star-filled.svg +1 -0
  249. package/dist/collection/assets/media/icons/mono/star.svg +1 -0
  250. package/dist/collection/assets/media/icons/mono/stethoscope.svg +1 -0
  251. package/dist/collection/assets/media/icons/mono/stop-button-filled.svg +1 -0
  252. package/dist/collection/assets/media/icons/mono/stop.svg +1 -0
  253. package/dist/collection/assets/media/icons/mono/subtitle.svg +1 -0
  254. package/dist/collection/assets/media/icons/mono/target-bullet.svg +1 -0
  255. package/dist/collection/assets/media/icons/mono/target.svg +1 -0
  256. package/dist/collection/assets/media/icons/mono/team.svg +1 -0
  257. package/dist/collection/assets/media/icons/mono/text-message.svg +1 -0
  258. package/dist/collection/assets/media/icons/mono/text-mode.svg +1 -0
  259. package/dist/collection/assets/media/icons/mono/thermometer.svg +1 -0
  260. package/dist/collection/assets/media/icons/mono/tooth.svg +1 -0
  261. package/dist/collection/assets/media/icons/mono/transcript.svg +1 -0
  262. package/dist/collection/assets/media/icons/mono/tribunal.svg +1 -0
  263. package/dist/collection/assets/media/icons/mono/twitter.svg +1 -0
  264. package/dist/collection/assets/media/icons/mono/unlock.svg +1 -0
  265. package/dist/collection/assets/media/icons/mono/upload.svg +1 -0
  266. package/dist/collection/assets/media/icons/mono/user.svg +1 -0
  267. package/dist/collection/assets/media/icons/mono/view-hidden.svg +1 -0
  268. package/dist/collection/assets/media/icons/mono/view.svg +1 -0
  269. package/dist/collection/assets/media/icons/mono/volume-medium.svg +1 -0
  270. package/dist/collection/assets/media/icons/mono/warning-big.svg +1 -0
  271. package/dist/collection/assets/media/icons/mono/warning-filled.svg +1 -0
  272. package/dist/collection/assets/media/icons/mono/warning.svg +1 -0
  273. package/dist/collection/assets/media/icons/mono/water-drops.svg +1 -0
  274. package/dist/collection/assets/media/icons/mono/web-link.svg +1 -0
  275. package/dist/collection/assets/media/icons/mono/wheelchair.svg +1 -0
  276. package/dist/collection/assets/media/icons/mono/wifi-signal.svg +1 -0
  277. package/dist/collection/assets/media/icons/mono/world-globe.svg +1 -0
  278. package/dist/collection/assets/media/icons/mono/xing.svg +1 -0
  279. package/dist/collection/assets/media/icons/mono/youtube.svg +1 -0
  280. package/dist/components/index.js +2 -2
  281. package/dist/components/p-6ax-mKBx.js +45 -0
  282. package/dist/components/p-6ax-mKBx.js.map +1 -0
  283. package/dist/components/p-8LohUgRI.js +296 -0
  284. package/dist/components/p-8LohUgRI.js.map +1 -0
  285. package/dist/components/p-A0l4Bljw.js +126 -0
  286. package/dist/components/p-A0l4Bljw.js.map +1 -0
  287. package/dist/components/p-B-HI5KWy.js +50 -0
  288. package/dist/components/p-B-HI5KWy.js.map +1 -0
  289. package/dist/components/p-B-m1Y2mE.js +168 -0
  290. package/dist/components/p-B-m1Y2mE.js.map +1 -0
  291. package/dist/components/p-B3wFcbIJ.js +38 -0
  292. package/dist/components/p-B3wFcbIJ.js.map +1 -0
  293. package/dist/components/p-B829Q6zP.js +206 -0
  294. package/dist/components/p-B829Q6zP.js.map +1 -0
  295. package/dist/components/p-BA7AN5yq.js +238 -0
  296. package/dist/components/p-BA7AN5yq.js.map +1 -0
  297. package/dist/components/p-BAyu2WG3.js +334 -0
  298. package/dist/components/p-BAyu2WG3.js.map +1 -0
  299. package/dist/components/p-BGK0eiz6.js +198 -0
  300. package/dist/components/p-BGK0eiz6.js.map +1 -0
  301. package/dist/components/p-BHL1YNzN.js +149 -0
  302. package/dist/components/p-BHL1YNzN.js.map +1 -0
  303. package/dist/components/p-BKjK6qOq.js +681 -0
  304. package/dist/components/p-BKjK6qOq.js.map +1 -0
  305. package/dist/components/p-BOU3cRYl.js +2572 -0
  306. package/dist/components/p-BOU3cRYl.js.map +1 -0
  307. package/dist/components/p-BPrkSjMz.js +205 -0
  308. package/dist/components/p-BPrkSjMz.js.map +1 -0
  309. package/dist/components/p-BSBOFgV5.js +100 -0
  310. package/dist/components/p-BSBOFgV5.js.map +1 -0
  311. package/dist/components/p-BWlr5qS4.js +183 -0
  312. package/dist/components/p-BWlr5qS4.js.map +1 -0
  313. package/dist/components/p-Bbebg-CN.js +119 -0
  314. package/dist/components/p-Bbebg-CN.js.map +1 -0
  315. package/dist/components/p-BdUt2N0J.js +84 -0
  316. package/dist/components/p-BdUt2N0J.js.map +1 -0
  317. package/dist/components/p-BebNsVuA.js +106 -0
  318. package/dist/components/p-BebNsVuA.js.map +1 -0
  319. package/dist/components/p-BfaFLyC6.js +155 -0
  320. package/dist/components/p-BfaFLyC6.js.map +1 -0
  321. package/dist/components/p-Bk_CuXEU.js +506 -0
  322. package/dist/components/p-Bk_CuXEU.js.map +1 -0
  323. package/dist/components/p-BpAzylj-.js +76 -0
  324. package/dist/components/p-BpAzylj-.js.map +1 -0
  325. package/dist/components/p-BvaR8_90.js +152 -0
  326. package/dist/components/p-BvaR8_90.js.map +1 -0
  327. package/dist/components/p-C0_zaW-W.js +65 -0
  328. package/dist/components/p-C0_zaW-W.js.map +1 -0
  329. package/dist/components/p-C0lXUisi.js +4110 -0
  330. package/dist/components/p-C0lXUisi.js.map +1 -0
  331. package/dist/components/p-CDKLijLN.js +49 -0
  332. package/dist/components/p-CDKLijLN.js.map +1 -0
  333. package/dist/components/p-CEPvA7qH.js +87 -0
  334. package/dist/components/p-CEPvA7qH.js.map +1 -0
  335. package/dist/components/p-CF0Eco5y.js +3120 -0
  336. package/dist/components/p-CF0Eco5y.js.map +1 -0
  337. package/dist/components/p-CF4GlfoS.js +171 -0
  338. package/dist/components/p-CF4GlfoS.js.map +1 -0
  339. package/dist/components/p-CF6aqBg9.js +10 -0
  340. package/dist/components/p-CF6aqBg9.js.map +1 -0
  341. package/dist/components/p-CHSxl8ps.js +41 -0
  342. package/dist/components/p-CHSxl8ps.js.map +1 -0
  343. package/dist/components/p-CI6HYNzj.js +337 -0
  344. package/dist/components/p-CI6HYNzj.js.map +1 -0
  345. package/dist/components/p-CJbcBzTU.js +526 -0
  346. package/dist/components/p-CJbcBzTU.js.map +1 -0
  347. package/dist/components/p-CPWkyYDI.js +535 -0
  348. package/dist/components/p-CPWkyYDI.js.map +1 -0
  349. package/dist/components/p-CY7WT0He.js +45 -0
  350. package/dist/components/p-CY7WT0He.js.map +1 -0
  351. package/dist/components/p-Caccc4MG.js +113 -0
  352. package/dist/components/p-Caccc4MG.js.map +1 -0
  353. package/dist/components/p-CiCuCiqu.js +262 -0
  354. package/dist/components/p-CiCuCiqu.js.map +1 -0
  355. package/dist/components/p-CjpVcYf4.js +271 -0
  356. package/dist/components/p-CjpVcYf4.js.map +1 -0
  357. package/dist/components/p-Cn_4KFTp.js +340 -0
  358. package/dist/components/p-Cn_4KFTp.js.map +1 -0
  359. package/dist/components/p-CphAvN9z.js +54 -0
  360. package/dist/components/p-CphAvN9z.js.map +1 -0
  361. package/dist/components/p-Cwy-qOtF.js +61 -0
  362. package/dist/components/p-Cwy-qOtF.js.map +1 -0
  363. package/dist/components/p-Cyr0PTPI.js +34 -0
  364. package/dist/components/p-Cyr0PTPI.js.map +1 -0
  365. package/dist/components/p-D3osOmCO.js +242 -0
  366. package/dist/components/p-D3osOmCO.js.map +1 -0
  367. package/dist/components/p-D40Zy7vD.js +111 -0
  368. package/dist/components/p-D40Zy7vD.js.map +1 -0
  369. package/dist/components/p-D5ySI7hb.js +134 -0
  370. package/dist/components/p-D5ySI7hb.js.map +1 -0
  371. package/dist/components/p-D7CIAwx_.js +448 -0
  372. package/dist/components/p-D7CIAwx_.js.map +1 -0
  373. package/dist/components/p-D992C4UI.js +131 -0
  374. package/dist/components/p-D992C4UI.js.map +1 -0
  375. package/dist/components/p-DDCDc_xz.js +288 -0
  376. package/dist/components/p-DDCDc_xz.js.map +1 -0
  377. package/dist/components/p-DEvIS10_.js +2121 -0
  378. package/dist/components/p-DEvIS10_.js.map +1 -0
  379. package/dist/components/p-DFpDs4lN.js +828 -0
  380. package/dist/components/p-DFpDs4lN.js.map +1 -0
  381. package/dist/components/p-DJ1ByCYC.js +209 -0
  382. package/dist/components/p-DJ1ByCYC.js.map +1 -0
  383. package/dist/components/p-DNS8RqpI.js +434 -0
  384. package/dist/components/p-DNS8RqpI.js.map +1 -0
  385. package/dist/components/p-DOnoc3XR.js +202 -0
  386. package/dist/components/p-DOnoc3XR.js.map +1 -0
  387. package/dist/components/p-DQ242D9a.js +166 -0
  388. package/dist/components/p-DQ242D9a.js.map +1 -0
  389. package/dist/components/p-DVzi0d5p.js +205 -0
  390. package/dist/components/p-DVzi0d5p.js.map +1 -0
  391. package/dist/components/p-D_hdie7I.js +146 -0
  392. package/dist/components/p-D_hdie7I.js.map +1 -0
  393. package/dist/components/p-DeQdjWEG.js +50 -0
  394. package/dist/components/p-DeQdjWEG.js.map +1 -0
  395. package/dist/components/p-DkuigYKB.js +127 -0
  396. package/dist/components/p-DkuigYKB.js.map +1 -0
  397. package/dist/components/p-DqIz0xmS.js +297 -0
  398. package/dist/components/p-DqIz0xmS.js.map +1 -0
  399. package/dist/components/p-Drej3tyF.js +412 -0
  400. package/dist/components/p-Drej3tyF.js.map +1 -0
  401. package/dist/components/p-DsQDPG2n.js +118 -0
  402. package/dist/components/p-DsQDPG2n.js.map +1 -0
  403. package/dist/components/p-DtYGJu0r.js +77 -0
  404. package/dist/components/p-DtYGJu0r.js.map +1 -0
  405. package/dist/components/p-Dz90ugoB.js +66 -0
  406. package/dist/components/p-Dz90ugoB.js.map +1 -0
  407. package/dist/components/p-Gg9PMgTy.js +103 -0
  408. package/dist/components/p-Gg9PMgTy.js.map +1 -0
  409. package/dist/components/p-L0Qas8Vk.js +60 -0
  410. package/dist/components/p-L0Qas8Vk.js.map +1 -0
  411. package/dist/components/p-LScNDJIc.js +5613 -0
  412. package/dist/components/p-LScNDJIc.js.map +1 -0
  413. package/dist/components/p-UT3M4CbX.js +55 -0
  414. package/dist/components/p-UT3M4CbX.js.map +1 -0
  415. package/dist/components/p-V-hR8cYJ.js +67 -0
  416. package/dist/components/p-V-hR8cYJ.js.map +1 -0
  417. package/dist/components/p-W6urNgHQ.js +56722 -0
  418. package/dist/components/p-W6urNgHQ.js.map +1 -0
  419. package/dist/components/p-tjDhZ0rK.js +63 -0
  420. package/dist/components/p-tjDhZ0rK.js.map +1 -0
  421. package/dist/components/p-u_rOyEiZ.js +57 -0
  422. package/dist/components/p-u_rOyEiZ.js.map +1 -0
  423. package/dist/components/p-vFrOPPTY.js +234 -0
  424. package/dist/components/p-vFrOPPTY.js.map +1 -0
  425. package/dist/components/stzh-accordion-item.js +1 -1
  426. package/dist/components/stzh-accordion.js +1 -1
  427. package/dist/components/stzh-actions.js +1 -1
  428. package/dist/components/stzh-actionset.js +1 -1
  429. package/dist/components/stzh-amount.js +9 -9
  430. package/dist/components/stzh-anchornav.js +5 -5
  431. package/dist/components/stzh-app-nav.js +1 -1
  432. package/dist/components/stzh-appointments.js +13 -13
  433. package/dist/components/stzh-archivelist.js +7 -7
  434. package/dist/components/stzh-audio.js +5 -5
  435. package/dist/components/stzh-badge.js +1 -1
  436. package/dist/components/stzh-banner.js +4 -4
  437. package/dist/components/stzh-bathstatus-item.js +1 -1
  438. package/dist/components/stzh-bathstatus-list.js +7 -7
  439. package/dist/components/stzh-breadcrumb.js +1 -1
  440. package/dist/components/stzh-button.js +1 -1
  441. package/dist/components/stzh-buttongroup.js +1 -1
  442. package/dist/components/stzh-calendar.js +1 -1
  443. package/dist/components/stzh-card-navigation.js +2 -2
  444. package/dist/components/stzh-card-searchresult.js +14 -14
  445. package/dist/components/stzh-card-superteaser.js +14 -14
  446. package/dist/components/stzh-card.js +1 -1
  447. package/dist/components/stzh-cardlist.js +1 -1
  448. package/dist/components/stzh-carousel.js +1 -1
  449. package/dist/components/stzh-cell.js +1 -1
  450. package/dist/components/stzh-chart.js +1 -1
  451. package/dist/components/stzh-checkbox.js +1 -1
  452. package/dist/components/stzh-checkboxgroup.js +5 -5
  453. package/dist/components/stzh-chip.js +1 -1
  454. package/dist/components/stzh-chipgroup.js +1 -1
  455. package/dist/components/stzh-chipselect.js +1 -1
  456. package/dist/components/stzh-clamp.js +1 -1
  457. package/dist/components/stzh-company-logo.js +1 -1
  458. package/dist/components/stzh-contact-cv.js +4 -4
  459. package/dist/components/stzh-contact.js +10 -10
  460. package/dist/components/stzh-container.js +1 -1
  461. package/dist/components/stzh-content.js +1 -1
  462. package/dist/components/stzh-cspace.js +1 -1
  463. package/dist/components/stzh-cta.js +3 -3
  464. package/dist/components/stzh-datalist-item.js +1 -1
  465. package/dist/components/stzh-datalist.js +1 -1
  466. package/dist/components/stzh-datamessagelist-item.js +11 -11
  467. package/dist/components/stzh-datamessagelist.js +1 -1
  468. package/dist/components/stzh-datatable.js +17 -17
  469. package/dist/components/stzh-datepicker.js +1 -1
  470. package/dist/components/stzh-daterange.js +4 -4
  471. package/dist/components/stzh-details.js +1 -1
  472. package/dist/components/stzh-dialog.js +1 -1
  473. package/dist/components/stzh-disturber.js +4 -4
  474. package/dist/components/stzh-dropdown.js +1 -1
  475. package/dist/components/stzh-editor.js +4 -4
  476. package/dist/components/stzh-eventdata.js +1 -1
  477. package/dist/components/stzh-eventinfo.js +5 -5
  478. package/dist/components/stzh-feedreader-item.js +2 -2
  479. package/dist/components/stzh-feedreader.js +8 -8
  480. package/dist/components/stzh-fieldset.js +1 -1
  481. package/dist/components/stzh-figure.js +1 -1
  482. package/dist/components/stzh-flyingfocus.js +1 -1
  483. package/dist/components/stzh-footer.js +4 -4
  484. package/dist/components/stzh-gallery.js +8 -8
  485. package/dist/components/stzh-geo-ref-data.js +23 -23
  486. package/dist/components/stzh-ghettobox.js +1 -1
  487. package/dist/components/stzh-header.js +1 -1
  488. package/dist/components/stzh-heading.js +1 -1
  489. package/dist/components/stzh-homepage-search.js +2 -2
  490. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  491. package/dist/components/stzh-hr.js +1 -1
  492. package/dist/components/stzh-hspace.js +1 -1
  493. package/dist/components/stzh-http-error.js +7 -7
  494. package/dist/components/stzh-icon.js +1 -1
  495. package/dist/components/stzh-iframe.js +1 -1
  496. package/dist/components/stzh-imagecomparison.js +2 -2
  497. package/dist/components/stzh-input.js +1 -1
  498. package/dist/components/stzh-invert.js +1 -1
  499. package/dist/components/stzh-link.js +1 -1
  500. package/dist/components/stzh-linklist.js +10 -10
  501. package/dist/components/stzh-list-item.js +1 -1
  502. package/dist/components/stzh-list.js +1 -1
  503. package/dist/components/stzh-loader.js +1 -1
  504. package/dist/components/stzh-loadingbar.js +1 -1
  505. package/dist/components/stzh-menu-item.js +1 -1
  506. package/dist/components/stzh-menu.js +1 -1
  507. package/dist/components/stzh-message.js +1 -1
  508. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  509. package/dist/components/stzh-monthyearpicker.js +5 -5
  510. package/dist/components/stzh-offline-indicator.js +6 -6
  511. package/dist/components/stzh-olmap.js +1 -1
  512. package/dist/components/stzh-overlay.js +1 -1
  513. package/dist/components/stzh-page-skiplinks.js +1 -1
  514. package/dist/components/stzh-pagebottom.js +8 -8
  515. package/dist/components/stzh-pagecontent.js +1 -1
  516. package/dist/components/stzh-pagetitle-hero.js +1 -1
  517. package/dist/components/stzh-pagetitle-home.js +2 -2
  518. package/dist/components/stzh-pagetitle.js +2 -2
  519. package/dist/components/stzh-pagination.js +1 -1
  520. package/dist/components/stzh-panorama.js +11 -11
  521. package/dist/components/stzh-pi-content-navigation.js +3 -3
  522. package/dist/components/stzh-pi-menu.js +3 -3
  523. package/dist/components/stzh-pi-pagetitle.js +2 -2
  524. package/dist/components/stzh-pi-quote.js +1 -1
  525. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  526. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  527. package/dist/components/stzh-pi-teaser.js +2 -2
  528. package/dist/components/stzh-pkzh-qr.js +20 -20
  529. package/dist/components/stzh-poicard.js +1 -1
  530. package/dist/components/stzh-poilist.js +18 -18
  531. package/dist/components/stzh-popover.js +1 -1
  532. package/dist/components/stzh-print.js +1 -1
  533. package/dist/components/stzh-quote.js +1 -1
  534. package/dist/components/stzh-radio.js +1 -1
  535. package/dist/components/stzh-radiogroup.js +1 -1
  536. package/dist/components/stzh-rating.js +5 -5
  537. package/dist/components/stzh-ratio.js +1 -1
  538. package/dist/components/stzh-readspeaker.js +4 -4
  539. package/dist/components/stzh-richtext.js +1 -1
  540. package/dist/components/stzh-row.js +1 -1
  541. package/dist/components/stzh-saptcha.js +7 -7
  542. package/dist/components/stzh-scrollup.js +1 -1
  543. package/dist/components/stzh-search.js +16 -16
  544. package/dist/components/stzh-section.js +1 -1
  545. package/dist/components/stzh-share.js +1 -1
  546. package/dist/components/stzh-show.js +1 -1
  547. package/dist/components/stzh-sitemap.js +9 -9
  548. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  549. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  550. package/dist/components/stzh-skiplink.js +1 -1
  551. package/dist/components/stzh-socialmediastream-item.js +1 -1
  552. package/dist/components/stzh-socialmediastream.js +6 -6
  553. package/dist/components/stzh-sortable.js +1 -1
  554. package/dist/components/stzh-space.js +1 -1
  555. package/dist/components/stzh-status.js +1 -1
  556. package/dist/components/stzh-stepper-item.js +1 -1
  557. package/dist/components/stzh-stepper.js +3 -3
  558. package/dist/components/stzh-sticky-actions.js +2 -2
  559. package/dist/components/stzh-sticky.js +1 -1
  560. package/dist/components/stzh-table.js +1 -1
  561. package/dist/components/stzh-tag.js +1 -1
  562. package/dist/components/stzh-text.js +1 -1
  563. package/dist/components/stzh-textandimage.js +1 -1
  564. package/dist/components/stzh-timeline-item.js +3 -3
  565. package/dist/components/stzh-timeline.js +1 -1
  566. package/dist/components/stzh-timepicker.js +5 -5
  567. package/dist/components/stzh-toast.js +1 -1
  568. package/dist/components/stzh-toastbar.js +1 -1
  569. package/dist/components/stzh-toggle.js +5 -5
  570. package/dist/components/stzh-tooltip.js +1 -1
  571. package/dist/components/stzh-twocolumns.js +1 -1
  572. package/dist/components/stzh-upload.js +13 -13
  573. package/dist/components/stzh-vbz-carousel.js +2 -2
  574. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  575. package/dist/components/stzh-vbz-intro.js +5 -5
  576. package/dist/components/stzh-vbz-linechip.js +1 -1
  577. package/dist/components/stzh-vbz-majorticker.js +7 -7
  578. package/dist/components/stzh-vbz-ticker.js +7 -7
  579. package/dist/components/stzh-visuallyhidden.js +1 -1
  580. package/dist/components/stzh-vspace.js +1 -1
  581. package/dist/components/stzh-youtube.js +6 -6
  582. package/dist/esm/index-D47nR2ez.js +3349 -0
  583. package/dist/esm/index-D47nR2ez.js.map +1 -0
  584. package/dist/esm/loader.js +2 -2
  585. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  586. package/dist/esm/stzh-actions_6.entry.js +1 -1
  587. package/dist/esm/stzh-actionset.entry.js +1 -1
  588. package/dist/esm/stzh-amount.entry.js +1 -1
  589. package/dist/esm/stzh-anchornav.entry.js +1 -1
  590. package/dist/esm/stzh-app-nav.entry.js +1 -1
  591. package/dist/esm/stzh-appointments.entry.js +1 -1
  592. package/dist/esm/stzh-archivelist.entry.js +1 -1
  593. package/dist/esm/stzh-audio.entry.js +1 -1
  594. package/dist/esm/stzh-badge_3.entry.js +1 -1
  595. package/dist/esm/stzh-banner.entry.js +1 -1
  596. package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
  597. package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
  598. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  599. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  600. package/dist/esm/stzh-calendar.entry.js +1 -1
  601. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  602. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  603. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  604. package/dist/esm/stzh-card.entry.js +1 -1
  605. package/dist/esm/stzh-cardlist_3.entry.js +1 -1
  606. package/dist/esm/stzh-carousel.entry.js +1 -1
  607. package/dist/esm/stzh-chart.entry.js +1 -1
  608. package/dist/esm/stzh-checkbox.entry.js +2 -2
  609. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  610. package/dist/esm/stzh-chip.entry.js +1 -1
  611. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  612. package/dist/esm/stzh-chipselect.entry.js +2 -2
  613. package/dist/esm/stzh-clamp.entry.js +1 -1
  614. package/dist/esm/stzh-company-logo.entry.js +1 -1
  615. package/dist/esm/stzh-components.js +2 -2
  616. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  617. package/dist/esm/stzh-contact.entry.js +1 -1
  618. package/dist/esm/stzh-content.entry.js +1 -1
  619. package/dist/esm/stzh-cta.entry.js +1 -1
  620. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  621. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  622. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  623. package/dist/esm/stzh-datatable.entry.js +1 -1
  624. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  625. package/dist/esm/stzh-daterange.entry.js +1 -1
  626. package/dist/esm/stzh-details.entry.js +1 -1
  627. package/dist/esm/stzh-dialog.entry.js +1 -1
  628. package/dist/esm/stzh-disturber.entry.js +1 -1
  629. package/dist/esm/stzh-dropdown.entry.js +2 -2
  630. package/dist/esm/stzh-editor.entry.js +1 -1
  631. package/dist/esm/stzh-eventdata.entry.js +1 -1
  632. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  633. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  634. package/dist/esm/stzh-feedreader.entry.js +1 -1
  635. package/dist/esm/stzh-figure.entry.js +1 -1
  636. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  637. package/dist/esm/stzh-footer.entry.js +1 -1
  638. package/dist/esm/stzh-gallery.entry.js +1 -1
  639. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  640. package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
  641. package/dist/esm/stzh-header_2.entry.js +1 -1
  642. package/dist/esm/stzh-heading.entry.js +1 -1
  643. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  644. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  645. package/dist/esm/stzh-hr.entry.js +1 -1
  646. package/dist/esm/stzh-hspace.entry.js +1 -1
  647. package/dist/esm/stzh-http-error.entry.js +1 -1
  648. package/dist/esm/stzh-iframe.entry.js +1 -1
  649. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  650. package/dist/esm/stzh-input-description-D3jl5gdb.js +10 -0
  651. package/dist/esm/stzh-input-description-D3jl5gdb.js.map +1 -0
  652. package/dist/esm/stzh-input.entry.js +2 -2
  653. package/dist/esm/stzh-invert.entry.js +1 -1
  654. package/dist/esm/stzh-link.entry.js +1 -1
  655. package/dist/esm/stzh-linklist.entry.js +1 -1
  656. package/dist/esm/stzh-list_2.entry.js +1 -1
  657. package/dist/esm/stzh-loader_2.entry.js +1 -1
  658. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  659. package/dist/esm/stzh-menu_2.entry.js +1 -1
  660. package/dist/esm/stzh-message.entry.js +1 -1
  661. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  662. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  663. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  664. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  665. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  666. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  667. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  668. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  669. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  670. package/dist/esm/stzh-panorama.entry.js +1 -1
  671. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  672. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  673. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  674. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  675. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  676. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  677. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  678. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  679. package/dist/esm/stzh-poicard.entry.js +1 -1
  680. package/dist/esm/stzh-poilist.entry.js +1 -1
  681. package/dist/esm/stzh-popover.entry.js +1 -1
  682. package/dist/esm/stzh-print_2.entry.js +1 -1
  683. package/dist/esm/stzh-quote.entry.js +1 -1
  684. package/dist/esm/stzh-rating.entry.js +2 -2
  685. package/dist/esm/stzh-ratio.entry.js +1 -1
  686. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  687. package/dist/esm/stzh-saptcha.entry.js +1 -1
  688. package/dist/esm/stzh-scrollup.entry.js +1 -1
  689. package/dist/esm/stzh-search.entry.js +1 -1
  690. package/dist/esm/stzh-section.entry.js +1 -1
  691. package/dist/esm/stzh-sitemap.entry.js +1 -1
  692. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  693. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  694. package/dist/esm/stzh-skiplink.entry.js +1 -1
  695. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  696. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  697. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  698. package/dist/esm/stzh-stepper.entry.js +1 -1
  699. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  700. package/dist/esm/stzh-sticky.entry.js +1 -1
  701. package/dist/esm/stzh-table.entry.js +1 -1
  702. package/dist/esm/stzh-text.entry.js +1 -1
  703. package/dist/esm/stzh-textandimage.entry.js +1 -1
  704. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  705. package/dist/esm/stzh-timeline.entry.js +1 -1
  706. package/dist/esm/stzh-timepicker.entry.js +1 -1
  707. package/dist/esm/stzh-toast_2.entry.js +1 -1
  708. package/dist/esm/stzh-toggle.entry.js +2 -2
  709. package/dist/esm/stzh-tooltip.entry.js +1 -1
  710. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  711. package/dist/esm/stzh-upload.entry.js +2 -2
  712. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  713. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  714. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  715. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  716. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  717. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  718. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  719. package/dist/esm/stzh-vspace.entry.js +1 -1
  720. package/dist/esm/stzh-youtube.entry.js +1 -1
  721. package/dist/stzh-components/assets/media/icons/mono/.npmignore +3 -0
  722. package/dist/stzh-components/assets/media/icons/mono/alarm-bell.svg +1 -0
  723. package/dist/stzh-components/assets/media/icons/mono/angle-down.svg +1 -0
  724. package/dist/stzh-components/assets/media/icons/mono/angle-left.svg +1 -0
  725. package/dist/stzh-components/assets/media/icons/mono/angle-right.svg +1 -0
  726. package/dist/stzh-components/assets/media/icons/mono/angle-up.svg +1 -0
  727. package/dist/stzh-components/assets/media/icons/mono/archive-box.svg +1 -0
  728. package/dist/stzh-components/assets/media/icons/mono/arrow-down.svg +1 -0
  729. package/dist/stzh-components/assets/media/icons/mono/arrow-left-circle.svg +1 -0
  730. package/dist/stzh-components/assets/media/icons/mono/arrow-left.svg +1 -0
  731. package/dist/stzh-components/assets/media/icons/mono/arrow-right-down.svg +1 -0
  732. package/dist/stzh-components/assets/media/icons/mono/arrow-right.svg +1 -0
  733. package/dist/stzh-components/assets/media/icons/mono/arrow-up-circle.svg +1 -0
  734. package/dist/stzh-components/assets/media/icons/mono/arrow-up.svg +1 -0
  735. package/dist/stzh-components/assets/media/icons/mono/bulleted-list.svg +1 -0
  736. package/dist/stzh-components/assets/media/icons/mono/calculator.svg +1 -0
  737. package/dist/stzh-components/assets/media/icons/mono/calendar.svg +1 -0
  738. package/dist/stzh-components/assets/media/icons/mono/camera.svg +1 -0
  739. package/dist/stzh-components/assets/media/icons/mono/cart.svg +1 -0
  740. package/dist/stzh-components/assets/media/icons/mono/checkmark-circle-filled.svg +1 -0
  741. package/dist/stzh-components/assets/media/icons/mono/checkmark-circle.svg +1 -0
  742. package/dist/stzh-components/assets/media/icons/mono/checkmark.svg +1 -0
  743. package/dist/stzh-components/assets/media/icons/mono/child.svg +1 -0
  744. package/dist/stzh-components/assets/media/icons/mono/click.svg +1 -0
  745. package/dist/stzh-components/assets/media/icons/mono/clock.svg +1 -0
  746. package/dist/stzh-components/assets/media/icons/mono/close-big.svg +1 -0
  747. package/dist/stzh-components/assets/media/icons/mono/close-circle.svg +1 -0
  748. package/dist/stzh-components/assets/media/icons/mono/close.svg +1 -0
  749. package/dist/stzh-components/assets/media/icons/mono/code-window.svg +1 -0
  750. package/dist/stzh-components/assets/media/icons/mono/compass-direction.svg +1 -0
  751. package/dist/stzh-components/assets/media/icons/mono/compass-north.svg +1 -0
  752. package/dist/stzh-components/assets/media/icons/mono/construction.svg +1 -0
  753. package/dist/stzh-components/assets/media/icons/mono/copy.svg +1 -0
  754. package/dist/stzh-components/assets/media/icons/mono/crop.svg +1 -0
  755. package/dist/stzh-components/assets/media/icons/mono/dashboard.svg +1 -0
  756. package/dist/stzh-components/assets/media/icons/mono/delete.svg +1 -0
  757. package/dist/stzh-components/assets/media/icons/mono/download.svg +1 -0
  758. package/dist/stzh-components/assets/media/icons/mono/drag.svg +1 -0
  759. package/dist/stzh-components/assets/media/icons/mono/edit.svg +1 -0
  760. package/dist/stzh-components/assets/media/icons/mono/enlarge-text.svg +1 -0
  761. package/dist/stzh-components/assets/media/icons/mono/expand.svg +1 -0
  762. package/dist/stzh-components/assets/media/icons/mono/external-link.svg +1 -0
  763. package/dist/stzh-components/assets/media/icons/mono/facebook-comment.svg +1 -0
  764. package/dist/stzh-components/assets/media/icons/mono/facebook.svg +1 -0
  765. package/dist/stzh-components/assets/media/icons/mono/file-add.svg +1 -0
  766. package/dist/stzh-components/assets/media/icons/mono/file.svg +1 -0
  767. package/dist/stzh-components/assets/media/icons/mono/filtering.svg +1 -0
  768. package/dist/stzh-components/assets/media/icons/mono/flag.svg +1 -0
  769. package/dist/stzh-components/assets/media/icons/mono/forward.svg +1 -0
  770. package/dist/stzh-components/assets/media/icons/mono/fountain.svg +1 -0
  771. package/dist/stzh-components/assets/media/icons/mono/gear.svg +1 -0
  772. package/dist/stzh-components/assets/media/icons/mono/heart.svg +1 -0
  773. package/dist/stzh-components/assets/media/icons/mono/home.svg +1 -0
  774. package/dist/stzh-components/assets/media/icons/mono/important-warning-filled.svg +1 -0
  775. package/dist/stzh-components/assets/media/icons/mono/important-warning.svg +1 -0
  776. package/dist/stzh-components/assets/media/icons/mono/info-help-filled.svg +1 -0
  777. package/dist/stzh-components/assets/media/icons/mono/info-help.svg +1 -0
  778. package/dist/stzh-components/assets/media/icons/mono/instagram-photo-gallery.svg +1 -0
  779. package/dist/stzh-components/assets/media/icons/mono/instagram.svg +1 -0
  780. package/dist/stzh-components/assets/media/icons/mono/jobs.svg +1 -0
  781. package/dist/stzh-components/assets/media/icons/mono/like-hand.svg +1 -0
  782. package/dist/stzh-components/assets/media/icons/mono/linkedin.svg +1 -0
  783. package/dist/stzh-components/assets/media/icons/mono/list-expanded.svg +1 -0
  784. package/dist/stzh-components/assets/media/icons/mono/list-shrinked.svg +1 -0
  785. package/dist/stzh-components/assets/media/icons/mono/lock.svg +1 -0
  786. package/dist/stzh-components/assets/media/icons/mono/mail-check.svg +1 -0
  787. package/dist/stzh-components/assets/media/icons/mono/mail.svg +1 -0
  788. package/dist/stzh-components/assets/media/icons/mono/map.svg +1 -0
  789. package/dist/stzh-components/assets/media/icons/mono/mental-illness.svg +1 -0
  790. package/dist/stzh-components/assets/media/icons/mono/menu.svg +1 -0
  791. package/dist/stzh-components/assets/media/icons/mono/minus.svg +1 -0
  792. package/dist/stzh-components/assets/media/icons/mono/more-horizontal.svg +1 -0
  793. package/dist/stzh-components/assets/media/icons/mono/more-vertical.svg +1 -0
  794. package/dist/stzh-components/assets/media/icons/mono/music.svg +1 -0
  795. package/dist/stzh-components/assets/media/icons/mono/paper-clip.svg +1 -0
  796. package/dist/stzh-components/assets/media/icons/mono/parking-box.svg +1 -0
  797. package/dist/stzh-components/assets/media/icons/mono/pause-button-filled.svg +1 -0
  798. package/dist/stzh-components/assets/media/icons/mono/pause-button.svg +1 -0
  799. package/dist/stzh-components/assets/media/icons/mono/pause.svg +1 -0
  800. package/dist/stzh-components/assets/media/icons/mono/phone.svg +1 -0
  801. package/dist/stzh-components/assets/media/icons/mono/pin-location.svg +1 -0
  802. package/dist/stzh-components/assets/media/icons/mono/pin.svg +1 -0
  803. package/dist/stzh-components/assets/media/icons/mono/play-button-filled.svg +1 -0
  804. package/dist/stzh-components/assets/media/icons/mono/play-button.svg +1 -0
  805. package/dist/stzh-components/assets/media/icons/mono/play.svg +1 -0
  806. package/dist/stzh-components/assets/media/icons/mono/plus.svg +1 -0
  807. package/dist/stzh-components/assets/media/icons/mono/portfolio-grid.svg +1 -0
  808. package/dist/stzh-components/assets/media/icons/mono/print.svg +1 -0
  809. package/dist/stzh-components/assets/media/icons/mono/question-help.svg +1 -0
  810. package/dist/stzh-components/assets/media/icons/mono/read-mail.svg +1 -0
  811. package/dist/stzh-components/assets/media/icons/mono/recycling.svg +1 -0
  812. package/dist/stzh-components/assets/media/icons/mono/reload.svg +1 -0
  813. package/dist/stzh-components/assets/media/icons/mono/reset-time.svg +1 -0
  814. package/dist/stzh-components/assets/media/icons/mono/reset.svg +1 -0
  815. package/dist/stzh-components/assets/media/icons/mono/resize.svg +1 -0
  816. package/dist/stzh-components/assets/media/icons/mono/rewind.svg +1 -0
  817. package/dist/stzh-components/assets/media/icons/mono/rss.svg +1 -0
  818. package/dist/stzh-components/assets/media/icons/mono/scan.svg +1 -0
  819. package/dist/stzh-components/assets/media/icons/mono/school.svg +1 -0
  820. package/dist/stzh-components/assets/media/icons/mono/search.svg +1 -0
  821. package/dist/stzh-components/assets/media/icons/mono/send-plane.svg +1 -0
  822. package/dist/stzh-components/assets/media/icons/mono/services-2.svg +1 -0
  823. package/dist/stzh-components/assets/media/icons/mono/services.svg +1 -0
  824. package/dist/stzh-components/assets/media/icons/mono/share.svg +1 -0
  825. package/dist/stzh-components/assets/media/icons/mono/shrink.svg +1 -0
  826. package/dist/stzh-components/assets/media/icons/mono/silent-mode.svg +1 -0
  827. package/dist/stzh-components/assets/media/icons/mono/smartphone.svg +1 -0
  828. package/dist/stzh-components/assets/media/icons/mono/sort.svg +1 -0
  829. package/dist/stzh-components/assets/media/icons/mono/star-filled.svg +1 -0
  830. package/dist/stzh-components/assets/media/icons/mono/star.svg +1 -0
  831. package/dist/stzh-components/assets/media/icons/mono/stethoscope.svg +1 -0
  832. package/dist/stzh-components/assets/media/icons/mono/stop-button-filled.svg +1 -0
  833. package/dist/stzh-components/assets/media/icons/mono/stop.svg +1 -0
  834. package/dist/stzh-components/assets/media/icons/mono/subtitle.svg +1 -0
  835. package/dist/stzh-components/assets/media/icons/mono/target-bullet.svg +1 -0
  836. package/dist/stzh-components/assets/media/icons/mono/target.svg +1 -0
  837. package/dist/stzh-components/assets/media/icons/mono/team.svg +1 -0
  838. package/dist/stzh-components/assets/media/icons/mono/text-message.svg +1 -0
  839. package/dist/stzh-components/assets/media/icons/mono/text-mode.svg +1 -0
  840. package/dist/stzh-components/assets/media/icons/mono/thermometer.svg +1 -0
  841. package/dist/stzh-components/assets/media/icons/mono/tooth.svg +1 -0
  842. package/dist/stzh-components/assets/media/icons/mono/transcript.svg +1 -0
  843. package/dist/stzh-components/assets/media/icons/mono/tribunal.svg +1 -0
  844. package/dist/stzh-components/assets/media/icons/mono/twitter.svg +1 -0
  845. package/dist/stzh-components/assets/media/icons/mono/unlock.svg +1 -0
  846. package/dist/stzh-components/assets/media/icons/mono/upload.svg +1 -0
  847. package/dist/stzh-components/assets/media/icons/mono/user.svg +1 -0
  848. package/dist/stzh-components/assets/media/icons/mono/view-hidden.svg +1 -0
  849. package/dist/stzh-components/assets/media/icons/mono/view.svg +1 -0
  850. package/dist/stzh-components/assets/media/icons/mono/volume-medium.svg +1 -0
  851. package/dist/stzh-components/assets/media/icons/mono/warning-big.svg +1 -0
  852. package/dist/stzh-components/assets/media/icons/mono/warning-filled.svg +1 -0
  853. package/dist/stzh-components/assets/media/icons/mono/warning.svg +1 -0
  854. package/dist/stzh-components/assets/media/icons/mono/water-drops.svg +1 -0
  855. package/dist/stzh-components/assets/media/icons/mono/web-link.svg +1 -0
  856. package/dist/stzh-components/assets/media/icons/mono/wheelchair.svg +1 -0
  857. package/dist/stzh-components/assets/media/icons/mono/wifi-signal.svg +1 -0
  858. package/dist/stzh-components/assets/media/icons/mono/world-globe.svg +1 -0
  859. package/dist/stzh-components/assets/media/icons/mono/xing.svg +1 -0
  860. package/dist/stzh-components/assets/media/icons/mono/youtube.svg +1 -0
  861. package/dist/stzh-components/p-02cbf48e.entry.js +2 -0
  862. package/dist/stzh-components/p-09fd4ce9.entry.js +2 -0
  863. package/dist/stzh-components/p-0c782a2c.entry.js +2 -0
  864. package/dist/stzh-components/p-0f30b703.entry.js +2 -0
  865. package/dist/stzh-components/p-10c9abdb.entry.js +2 -0
  866. package/dist/stzh-components/p-12def17e.entry.js +2 -0
  867. package/dist/stzh-components/p-146b09f2.entry.js +2 -0
  868. package/dist/stzh-components/p-185ebd5d.entry.js +2 -0
  869. package/dist/stzh-components/p-1a32c5f5.entry.js +2 -0
  870. package/dist/stzh-components/p-1e51590c.entry.js +2 -0
  871. package/dist/stzh-components/p-244c48be.entry.js +2 -0
  872. package/dist/stzh-components/p-27e0a673.entry.js +2 -0
  873. package/dist/stzh-components/p-295f4ea7.entry.js +6 -0
  874. package/dist/stzh-components/p-2aa791c3.entry.js +2 -0
  875. package/dist/stzh-components/p-3058e3af.entry.js +32 -0
  876. package/dist/stzh-components/p-33859df2.entry.js +2 -0
  877. package/dist/stzh-components/p-37f64dab.entry.js +2 -0
  878. package/dist/stzh-components/p-3dd4d813.entry.js +2 -0
  879. package/dist/stzh-components/p-3ef34d2f.entry.js +2 -0
  880. package/dist/stzh-components/p-40413beb.entry.js +2 -0
  881. package/dist/stzh-components/p-406ed87c.entry.js +2 -0
  882. package/dist/stzh-components/p-421ff018.entry.js +2 -0
  883. package/dist/stzh-components/p-43651f12.entry.js +2 -0
  884. package/dist/stzh-components/p-43c7e594.entry.js +2 -0
  885. package/dist/stzh-components/p-46492fa9.entry.js +2 -0
  886. package/dist/stzh-components/p-49420243.entry.js +2 -0
  887. package/dist/stzh-components/p-4a16af30.entry.js +2 -0
  888. package/dist/stzh-components/p-4d936633.entry.js +2 -0
  889. package/dist/stzh-components/p-4f38e594.entry.js +2 -0
  890. package/dist/stzh-components/p-51164590.entry.js +9 -0
  891. package/dist/stzh-components/p-543a73f3.entry.js +2 -0
  892. package/dist/stzh-components/p-5643b28f.entry.js +2 -0
  893. package/dist/stzh-components/p-58882715.entry.js +2 -0
  894. package/dist/stzh-components/p-58e5e0af.entry.js +2 -0
  895. package/dist/stzh-components/p-59804a1f.entry.js +2 -0
  896. package/dist/stzh-components/p-5a206a61.entry.js +2 -0
  897. package/dist/stzh-components/p-626587d8.entry.js +2 -0
  898. package/dist/stzh-components/p-637dac52.entry.js +2 -0
  899. package/dist/stzh-components/p-64294306.entry.js +2 -0
  900. package/dist/stzh-components/p-67ef04ca.entry.js +2 -0
  901. package/dist/stzh-components/p-69dbfaf7.entry.js +2 -0
  902. package/dist/stzh-components/p-6b36529a.entry.js +2 -0
  903. package/dist/stzh-components/p-6d0893f7.entry.js +2 -0
  904. package/dist/stzh-components/p-6d7a7b5e.entry.js +2 -0
  905. package/dist/stzh-components/p-6e423e32.entry.js +2 -0
  906. package/dist/stzh-components/p-72db275c.entry.js +2 -0
  907. package/dist/stzh-components/p-75dce990.entry.js +2 -0
  908. package/dist/stzh-components/p-77be4fc6.entry.js +2 -0
  909. package/dist/stzh-components/p-77be4fc6.entry.js.map +1 -0
  910. package/dist/stzh-components/p-77f2660f.entry.js +2 -0
  911. package/dist/stzh-components/p-796844c2.entry.js +2 -0
  912. package/dist/stzh-components/p-7cddc241.entry.js +2 -0
  913. package/dist/stzh-components/p-7f2fe266.entry.js +2 -0
  914. package/dist/stzh-components/p-7f453424.entry.js +2 -0
  915. package/dist/stzh-components/p-811e9832.entry.js +2 -0
  916. package/dist/stzh-components/p-82888608.entry.js +2 -0
  917. package/dist/stzh-components/p-82f5e522.entry.js +2 -0
  918. package/dist/stzh-components/p-86fe95c9.entry.js +2 -0
  919. package/dist/stzh-components/p-87ba48b1.entry.js +2 -0
  920. package/dist/stzh-components/p-89de858b.entry.js +2 -0
  921. package/dist/stzh-components/p-8b737b50.entry.js +2 -0
  922. package/dist/stzh-components/p-8c3d2b2b.entry.js +2 -0
  923. package/dist/stzh-components/p-8d3dbe57.entry.js +2 -0
  924. package/dist/stzh-components/p-90b6d078.entry.js +2 -0
  925. package/dist/stzh-components/p-95a87764.entry.js +2 -0
  926. package/dist/stzh-components/p-95e736c8.entry.js +2 -0
  927. package/dist/stzh-components/p-95ef58d2.entry.js +2 -0
  928. package/dist/stzh-components/p-9736dc8f.entry.js +2 -0
  929. package/dist/stzh-components/p-9870b665.entry.js +2 -0
  930. package/dist/stzh-components/p-9929da87.entry.js +2 -0
  931. package/dist/stzh-components/p-9a75e49e.entry.js +2 -0
  932. package/dist/stzh-components/p-9cdc22dd.entry.js +2 -0
  933. package/dist/stzh-components/p-9deb1554.entry.js +2 -0
  934. package/dist/stzh-components/p-9e7b724c.entry.js +2 -0
  935. package/dist/stzh-components/p-9f578b61.entry.js +2 -0
  936. package/dist/stzh-components/p-D47nR2ez.js +3 -0
  937. package/dist/stzh-components/p-D47nR2ez.js.map +1 -0
  938. package/dist/stzh-components/p-RfnZ9Ne8.js +2 -0
  939. package/dist/stzh-components/p-RfnZ9Ne8.js.map +1 -0
  940. package/dist/stzh-components/p-a030971d.entry.js +2 -0
  941. package/dist/stzh-components/p-a08ef2bd.entry.js +2 -0
  942. package/dist/stzh-components/p-a4b23659.entry.js +2 -0
  943. package/dist/stzh-components/p-a4fffc13.entry.js +2 -0
  944. package/dist/stzh-components/p-a5bf85c8.entry.js +2 -0
  945. package/dist/stzh-components/p-a7639c6e.entry.js +2 -0
  946. package/dist/stzh-components/p-a841b424.entry.js +2 -0
  947. package/dist/stzh-components/p-aa67e4ac.entry.js +2 -0
  948. package/dist/stzh-components/p-ac763632.entry.js +2 -0
  949. package/dist/stzh-components/p-aff910c5.entry.js +2 -0
  950. package/dist/stzh-components/p-b0125207.entry.js +2 -0
  951. package/dist/stzh-components/p-b1b9ac73.entry.js +2 -0
  952. package/dist/stzh-components/p-b29c574c.entry.js +2 -0
  953. package/dist/stzh-components/p-b47a678c.entry.js +2 -0
  954. package/dist/stzh-components/p-b4da646c.entry.js +2 -0
  955. package/dist/stzh-components/p-b520d13c.entry.js +8 -0
  956. package/dist/stzh-components/p-b59ebc13.entry.js +2 -0
  957. package/dist/stzh-components/p-ba1d30b0.entry.js +2 -0
  958. package/dist/stzh-components/p-babae246.entry.js +2 -0
  959. package/dist/stzh-components/p-bc91ccc6.entry.js +2 -0
  960. package/dist/stzh-components/p-bd68f0d1.entry.js +2 -0
  961. package/dist/stzh-components/p-c066ff6f.entry.js +2 -0
  962. package/dist/stzh-components/p-c0d5be57.entry.js +2 -0
  963. package/dist/stzh-components/p-c10d4b7b.entry.js +2 -0
  964. package/dist/stzh-components/p-c32938f8.entry.js +2 -0
  965. package/dist/stzh-components/p-c7fd75bb.entry.js +2 -0
  966. package/dist/stzh-components/p-c85723c2.entry.js +2 -0
  967. package/dist/stzh-components/p-c9c36894.entry.js +2 -0
  968. package/dist/stzh-components/p-caa8f997.entry.js +2 -0
  969. package/dist/stzh-components/p-cce787b7.entry.js +2 -0
  970. package/dist/stzh-components/p-d1824aff.entry.js +2 -0
  971. package/dist/stzh-components/p-d1a45ae4.entry.js +2 -0
  972. package/dist/stzh-components/p-d448e869.entry.js +2 -0
  973. package/dist/stzh-components/p-d4752253.entry.js +2 -0
  974. package/dist/stzh-components/p-d84dc109.entry.js +2 -0
  975. package/dist/stzh-components/p-dae2b3f6.entry.js +2 -0
  976. package/dist/stzh-components/p-db0abc8a.entry.js +2 -0
  977. package/dist/stzh-components/p-dd1834df.entry.js +2 -0
  978. package/dist/stzh-components/p-de97d3e0.entry.js +2 -0
  979. package/dist/stzh-components/p-e44a5d64.entry.js +8 -0
  980. package/dist/stzh-components/p-e45770a3.entry.js +2 -0
  981. package/dist/stzh-components/p-e46c2662.entry.js +2 -0
  982. package/dist/stzh-components/p-e596968c.entry.js +2 -0
  983. package/dist/stzh-components/p-e5cef90d.entry.js +2 -0
  984. package/dist/stzh-components/p-e71217f8.entry.js +2 -0
  985. package/dist/stzh-components/p-e8dab484.entry.js +2 -0
  986. package/dist/stzh-components/p-e8fe7d28.entry.js +2 -0
  987. package/dist/stzh-components/p-ed5d8968.entry.js +8 -0
  988. package/dist/stzh-components/p-ed78f0cb.entry.js +2 -0
  989. package/dist/stzh-components/p-ef00bc6a.entry.js +2 -0
  990. package/dist/stzh-components/p-f15475fb.entry.js +2 -0
  991. package/dist/stzh-components/p-f1582c3c.entry.js +2 -0
  992. package/dist/stzh-components/p-f23c8773.entry.js +2 -0
  993. package/dist/stzh-components/p-f43a5698.entry.js +2 -0
  994. package/dist/stzh-components/p-f72c2c49.entry.js +2 -0
  995. package/dist/stzh-components/p-fb6285f1.entry.js +2 -0
  996. package/dist/stzh-components/p-fd0e6488.entry.js +2 -0
  997. package/dist/stzh-components/p-fd67cd90.entry.js +2 -0
  998. package/dist/stzh-components/p-fdec6e68.entry.js +2 -0
  999. package/dist/stzh-components/stzh-components.esm.js +1 -1
  1000. package/package.json +1 -1
  1001. package/dist/cjs/index-ZDnQuJKJ.js +0 -3384
  1002. package/dist/cjs/index-ZDnQuJKJ.js.map +0 -1
  1003. package/dist/cjs/stzh-input-description-CGaPpBjl.js +0 -12
  1004. package/dist/cjs/stzh-input-description-CGaPpBjl.js.map +0 -1
  1005. package/dist/collection/assets/media/icons/mono/.gitignore +0 -3
  1006. package/dist/components/p-3U-NdhlS.js +0 -65
  1007. package/dist/components/p-3U-NdhlS.js.map +0 -1
  1008. package/dist/components/p-7HhYf4z_.js +0 -337
  1009. package/dist/components/p-7HhYf4z_.js.map +0 -1
  1010. package/dist/components/p-7uUMNca0.js +0 -152
  1011. package/dist/components/p-7uUMNca0.js.map +0 -1
  1012. package/dist/components/p-B8Wx8Azy.js +0 -334
  1013. package/dist/components/p-B8Wx8Azy.js.map +0 -1
  1014. package/dist/components/p-B9BPpRCW.js +0 -84
  1015. package/dist/components/p-B9BPpRCW.js.map +0 -1
  1016. package/dist/components/p-BDEju9Yt.js +0 -3120
  1017. package/dist/components/p-BDEju9Yt.js.map +0 -1
  1018. package/dist/components/p-BEpu-eX2.js +0 -50
  1019. package/dist/components/p-BEpu-eX2.js.map +0 -1
  1020. package/dist/components/p-BMKAa5cH.js +0 -49
  1021. package/dist/components/p-BMKAa5cH.js.map +0 -1
  1022. package/dist/components/p-BN-54ren.js +0 -87
  1023. package/dist/components/p-BN-54ren.js.map +0 -1
  1024. package/dist/components/p-BQMsQk8o.js +0 -506
  1025. package/dist/components/p-BQMsQk8o.js.map +0 -1
  1026. package/dist/components/p-BQziPN_6.js +0 -56722
  1027. package/dist/components/p-BQziPN_6.js.map +0 -1
  1028. package/dist/components/p-BRUI-vLQ.js +0 -4110
  1029. package/dist/components/p-BRUI-vLQ.js.map +0 -1
  1030. package/dist/components/p-BRbEuDtS.js +0 -146
  1031. package/dist/components/p-BRbEuDtS.js.map +0 -1
  1032. package/dist/components/p-BTwmO0VT.js +0 -234
  1033. package/dist/components/p-BTwmO0VT.js.map +0 -1
  1034. package/dist/components/p-BU4OH8Cm.js +0 -127
  1035. package/dist/components/p-BU4OH8Cm.js.map +0 -1
  1036. package/dist/components/p-BaT57zfB.js +0 -34
  1037. package/dist/components/p-BaT57zfB.js.map +0 -1
  1038. package/dist/components/p-BbKUQwKe.js +0 -111
  1039. package/dist/components/p-BbKUQwKe.js.map +0 -1
  1040. package/dist/components/p-BiHSbtfS.js +0 -77
  1041. package/dist/components/p-BiHSbtfS.js.map +0 -1
  1042. package/dist/components/p-BmUD2Rtq.js +0 -202
  1043. package/dist/components/p-BmUD2Rtq.js.map +0 -1
  1044. package/dist/components/p-BoY1qD-1.js +0 -2121
  1045. package/dist/components/p-BoY1qD-1.js.map +0 -1
  1046. package/dist/components/p-Bt0qFgc0.js +0 -55
  1047. package/dist/components/p-Bt0qFgc0.js.map +0 -1
  1048. package/dist/components/p-BtU8igAM.js +0 -296
  1049. package/dist/components/p-BtU8igAM.js.map +0 -1
  1050. package/dist/components/p-Bu43XylS.js +0 -242
  1051. package/dist/components/p-Bu43XylS.js.map +0 -1
  1052. package/dist/components/p-C-L1Esh9.js +0 -171
  1053. package/dist/components/p-C-L1Esh9.js.map +0 -1
  1054. package/dist/components/p-C1ciJM24.js +0 -206
  1055. package/dist/components/p-C1ciJM24.js.map +0 -1
  1056. package/dist/components/p-C3DzudRE.js +0 -60
  1057. package/dist/components/p-C3DzudRE.js.map +0 -1
  1058. package/dist/components/p-C6jXw99A.js +0 -412
  1059. package/dist/components/p-C6jXw99A.js.map +0 -1
  1060. package/dist/components/p-C720-Qcv.js +0 -238
  1061. package/dist/components/p-C720-Qcv.js.map +0 -1
  1062. package/dist/components/p-CBzSNCOV.js +0 -155
  1063. package/dist/components/p-CBzSNCOV.js.map +0 -1
  1064. package/dist/components/p-CNMtTiHH.js +0 -340
  1065. package/dist/components/p-CNMtTiHH.js.map +0 -1
  1066. package/dist/components/p-CP2-kI_R.js +0 -262
  1067. package/dist/components/p-CP2-kI_R.js.map +0 -1
  1068. package/dist/components/p-CPlP1yak.js +0 -134
  1069. package/dist/components/p-CPlP1yak.js.map +0 -1
  1070. package/dist/components/p-CQY455PH.js +0 -50
  1071. package/dist/components/p-CQY455PH.js.map +0 -1
  1072. package/dist/components/p-CSdJ0c_y.js +0 -54
  1073. package/dist/components/p-CSdJ0c_y.js.map +0 -1
  1074. package/dist/components/p-CVGsVbS2.js +0 -205
  1075. package/dist/components/p-CVGsVbS2.js.map +0 -1
  1076. package/dist/components/p-CViAWrjM.js +0 -118
  1077. package/dist/components/p-CViAWrjM.js.map +0 -1
  1078. package/dist/components/p-CYfVlAWz.js +0 -38
  1079. package/dist/components/p-CYfVlAWz.js.map +0 -1
  1080. package/dist/components/p-CZ9COAW6.js +0 -271
  1081. package/dist/components/p-CZ9COAW6.js.map +0 -1
  1082. package/dist/components/p-Cg5cOcyj.js +0 -288
  1083. package/dist/components/p-Cg5cOcyj.js.map +0 -1
  1084. package/dist/components/p-CgEDyVYF.js +0 -168
  1085. package/dist/components/p-CgEDyVYF.js.map +0 -1
  1086. package/dist/components/p-CpC8d13f.js +0 -113
  1087. package/dist/components/p-CpC8d13f.js.map +0 -1
  1088. package/dist/components/p-CrOCg7cY.js +0 -61
  1089. package/dist/components/p-CrOCg7cY.js.map +0 -1
  1090. package/dist/components/p-Crh1tumf.js +0 -434
  1091. package/dist/components/p-Crh1tumf.js.map +0 -1
  1092. package/dist/components/p-CyqeVaHe.js +0 -45
  1093. package/dist/components/p-CyqeVaHe.js.map +0 -1
  1094. package/dist/components/p-Cz-ha88J.js +0 -45
  1095. package/dist/components/p-Cz-ha88J.js.map +0 -1
  1096. package/dist/components/p-Cz6mFejk.js +0 -209
  1097. package/dist/components/p-Cz6mFejk.js.map +0 -1
  1098. package/dist/components/p-D3atNlwG.js +0 -126
  1099. package/dist/components/p-D3atNlwG.js.map +0 -1
  1100. package/dist/components/p-DAQn1MfT.js +0 -198
  1101. package/dist/components/p-DAQn1MfT.js.map +0 -1
  1102. package/dist/components/p-DAS4ghWk.js +0 -2572
  1103. package/dist/components/p-DAS4ghWk.js.map +0 -1
  1104. package/dist/components/p-DCVNNXGS.js +0 -526
  1105. package/dist/components/p-DCVNNXGS.js.map +0 -1
  1106. package/dist/components/p-DIv8fnep.js +0 -828
  1107. package/dist/components/p-DIv8fnep.js.map +0 -1
  1108. package/dist/components/p-DLNSei6L.js +0 -103
  1109. package/dist/components/p-DLNSei6L.js.map +0 -1
  1110. package/dist/components/p-DM5rcQ-w.js +0 -183
  1111. package/dist/components/p-DM5rcQ-w.js.map +0 -1
  1112. package/dist/components/p-DTDpjDcx.js +0 -10
  1113. package/dist/components/p-DTDpjDcx.js.map +0 -1
  1114. package/dist/components/p-DU--O-Ux.js +0 -100
  1115. package/dist/components/p-DU--O-Ux.js.map +0 -1
  1116. package/dist/components/p-Dh7_Sdlv.js +0 -535
  1117. package/dist/components/p-Dh7_Sdlv.js.map +0 -1
  1118. package/dist/components/p-Dh_U3nwg.js +0 -119
  1119. package/dist/components/p-Dh_U3nwg.js.map +0 -1
  1120. package/dist/components/p-DnmPakAT.js +0 -681
  1121. package/dist/components/p-DnmPakAT.js.map +0 -1
  1122. package/dist/components/p-Dq2SboPL.js +0 -149
  1123. package/dist/components/p-Dq2SboPL.js.map +0 -1
  1124. package/dist/components/p-DyTuVM4Q.js +0 -67
  1125. package/dist/components/p-DyTuVM4Q.js.map +0 -1
  1126. package/dist/components/p-IMP7pC7p.js +0 -63
  1127. package/dist/components/p-IMP7pC7p.js.map +0 -1
  1128. package/dist/components/p-NdWtZ3BI.js +0 -66
  1129. package/dist/components/p-NdWtZ3BI.js.map +0 -1
  1130. package/dist/components/p-UI7DWEQU.js +0 -131
  1131. package/dist/components/p-UI7DWEQU.js.map +0 -1
  1132. package/dist/components/p-UQ9WK7Rh.js +0 -297
  1133. package/dist/components/p-UQ9WK7Rh.js.map +0 -1
  1134. package/dist/components/p-Ut4hhOsi.js +0 -41
  1135. package/dist/components/p-Ut4hhOsi.js.map +0 -1
  1136. package/dist/components/p-UxkgJCcT.js +0 -57
  1137. package/dist/components/p-UxkgJCcT.js.map +0 -1
  1138. package/dist/components/p-ZGKugKIn.js +0 -5613
  1139. package/dist/components/p-ZGKugKIn.js.map +0 -1
  1140. package/dist/components/p-bZ2GVa1M.js +0 -166
  1141. package/dist/components/p-bZ2GVa1M.js.map +0 -1
  1142. package/dist/components/p-iO0Ga3pa.js +0 -76
  1143. package/dist/components/p-iO0Ga3pa.js.map +0 -1
  1144. package/dist/components/p-tNg83_1b.js +0 -205
  1145. package/dist/components/p-tNg83_1b.js.map +0 -1
  1146. package/dist/components/p-wQt2FhiW.js +0 -106
  1147. package/dist/components/p-wQt2FhiW.js.map +0 -1
  1148. package/dist/components/p-zyIpkMEg.js +0 -448
  1149. package/dist/components/p-zyIpkMEg.js.map +0 -1
  1150. package/dist/esm/index-DesQCrfi.js +0 -3349
  1151. package/dist/esm/index-DesQCrfi.js.map +0 -1
  1152. package/dist/esm/stzh-input-description-B2muC0HR.js +0 -10
  1153. package/dist/esm/stzh-input-description-B2muC0HR.js.map +0 -1
  1154. package/dist/stzh-components/assets/media/icons/mono/.gitignore +0 -3
  1155. package/dist/stzh-components/p-084b9cdd.entry.js +0 -32
  1156. package/dist/stzh-components/p-08efb2fb.entry.js +0 -2
  1157. package/dist/stzh-components/p-0e1a0f73.entry.js +0 -2
  1158. package/dist/stzh-components/p-0e4fdc3c.entry.js +0 -2
  1159. package/dist/stzh-components/p-114eb1c8.entry.js +0 -2
  1160. package/dist/stzh-components/p-11f8205b.entry.js +0 -2
  1161. package/dist/stzh-components/p-1284b27f.entry.js +0 -2
  1162. package/dist/stzh-components/p-1412c776.entry.js +0 -2
  1163. package/dist/stzh-components/p-1599a3aa.entry.js +0 -2
  1164. package/dist/stzh-components/p-1a094f09.entry.js +0 -2
  1165. package/dist/stzh-components/p-1b5786df.entry.js +0 -2
  1166. package/dist/stzh-components/p-221df142.entry.js +0 -2
  1167. package/dist/stzh-components/p-22eb16c8.entry.js +0 -2
  1168. package/dist/stzh-components/p-250f9ffa.entry.js +0 -2
  1169. package/dist/stzh-components/p-2585770a.entry.js +0 -2
  1170. package/dist/stzh-components/p-2736ea2b.entry.js +0 -2
  1171. package/dist/stzh-components/p-2adc1b7e.entry.js +0 -2
  1172. package/dist/stzh-components/p-2dc03663.entry.js +0 -2
  1173. package/dist/stzh-components/p-30b90219.entry.js +0 -2
  1174. package/dist/stzh-components/p-30cfc3b7.entry.js +0 -2
  1175. package/dist/stzh-components/p-315d9ed9.entry.js +0 -2
  1176. package/dist/stzh-components/p-31ca74fa.entry.js +0 -2
  1177. package/dist/stzh-components/p-3242ae36.entry.js +0 -2
  1178. package/dist/stzh-components/p-348f6385.entry.js +0 -2
  1179. package/dist/stzh-components/p-34d452cc.entry.js +0 -2
  1180. package/dist/stzh-components/p-353f35fb.entry.js +0 -2
  1181. package/dist/stzh-components/p-36d88163.entry.js +0 -2
  1182. package/dist/stzh-components/p-36ee1a3d.entry.js +0 -2
  1183. package/dist/stzh-components/p-38a1e3c5.entry.js +0 -2
  1184. package/dist/stzh-components/p-38a47c95.entry.js +0 -2
  1185. package/dist/stzh-components/p-392592da.entry.js +0 -2
  1186. package/dist/stzh-components/p-3b891522.entry.js +0 -2
  1187. package/dist/stzh-components/p-3c059c3f.entry.js +0 -2
  1188. package/dist/stzh-components/p-3c059c3f.entry.js.map +0 -1
  1189. package/dist/stzh-components/p-3c60f148.entry.js +0 -2
  1190. package/dist/stzh-components/p-3d31d8f9.entry.js +0 -2
  1191. package/dist/stzh-components/p-3e55b338.entry.js +0 -2
  1192. package/dist/stzh-components/p-3e764c0f.entry.js +0 -2
  1193. package/dist/stzh-components/p-3ed1d1c9.entry.js +0 -2
  1194. package/dist/stzh-components/p-41e45f16.entry.js +0 -2
  1195. package/dist/stzh-components/p-44a38608.entry.js +0 -8
  1196. package/dist/stzh-components/p-4622ab8b.entry.js +0 -8
  1197. package/dist/stzh-components/p-46963b10.entry.js +0 -2
  1198. package/dist/stzh-components/p-48bd3e87.entry.js +0 -2
  1199. package/dist/stzh-components/p-4949d3f3.entry.js +0 -2
  1200. package/dist/stzh-components/p-4de6381b.entry.js +0 -2
  1201. package/dist/stzh-components/p-4dfd34dd.entry.js +0 -2
  1202. package/dist/stzh-components/p-4eb79797.entry.js +0 -2
  1203. package/dist/stzh-components/p-4ef4838b.entry.js +0 -2
  1204. package/dist/stzh-components/p-5022f5ae.entry.js +0 -2
  1205. package/dist/stzh-components/p-5191a957.entry.js +0 -2
  1206. package/dist/stzh-components/p-5b1f1510.entry.js +0 -2
  1207. package/dist/stzh-components/p-5bbc5c2d.entry.js +0 -2
  1208. package/dist/stzh-components/p-5f92e771.entry.js +0 -2
  1209. package/dist/stzh-components/p-609ad786.entry.js +0 -2
  1210. package/dist/stzh-components/p-628b716b.entry.js +0 -2
  1211. package/dist/stzh-components/p-63602e47.entry.js +0 -2
  1212. package/dist/stzh-components/p-6633c83d.entry.js +0 -9
  1213. package/dist/stzh-components/p-6867beb2.entry.js +0 -2
  1214. package/dist/stzh-components/p-6b74f2f3.entry.js +0 -2
  1215. package/dist/stzh-components/p-6cc8c31a.entry.js +0 -2
  1216. package/dist/stzh-components/p-6d0e28b0.entry.js +0 -2
  1217. package/dist/stzh-components/p-6e1ef0ec.entry.js +0 -2
  1218. package/dist/stzh-components/p-7046fef8.entry.js +0 -2
  1219. package/dist/stzh-components/p-73a1c1f7.entry.js +0 -2
  1220. package/dist/stzh-components/p-73d5c827.entry.js +0 -2
  1221. package/dist/stzh-components/p-7e785f95.entry.js +0 -2
  1222. package/dist/stzh-components/p-836ed145.entry.js +0 -2
  1223. package/dist/stzh-components/p-83855aaf.entry.js +0 -2
  1224. package/dist/stzh-components/p-88b7a476.entry.js +0 -2
  1225. package/dist/stzh-components/p-89295005.entry.js +0 -2
  1226. package/dist/stzh-components/p-8adb8b10.entry.js +0 -2
  1227. package/dist/stzh-components/p-8b8f4b5c.entry.js +0 -2
  1228. package/dist/stzh-components/p-8c90bc4b.entry.js +0 -2
  1229. package/dist/stzh-components/p-8f5e606d.entry.js +0 -2
  1230. package/dist/stzh-components/p-90fb2952.entry.js +0 -2
  1231. package/dist/stzh-components/p-9425707d.entry.js +0 -2
  1232. package/dist/stzh-components/p-94942d87.entry.js +0 -2
  1233. package/dist/stzh-components/p-9606c1b3.entry.js +0 -2
  1234. package/dist/stzh-components/p-99c6d6af.entry.js +0 -2
  1235. package/dist/stzh-components/p-DUHakWnr.js +0 -2
  1236. package/dist/stzh-components/p-DUHakWnr.js.map +0 -1
  1237. package/dist/stzh-components/p-DesQCrfi.js +0 -3
  1238. package/dist/stzh-components/p-DesQCrfi.js.map +0 -1
  1239. package/dist/stzh-components/p-a33ac43e.entry.js +0 -2
  1240. package/dist/stzh-components/p-a3dc9c36.entry.js +0 -2
  1241. package/dist/stzh-components/p-a628ad78.entry.js +0 -2
  1242. package/dist/stzh-components/p-a6522800.entry.js +0 -8
  1243. package/dist/stzh-components/p-a70a0080.entry.js +0 -2
  1244. package/dist/stzh-components/p-a8876eda.entry.js +0 -2
  1245. package/dist/stzh-components/p-aa8fe13a.entry.js +0 -2
  1246. package/dist/stzh-components/p-ab120fe4.entry.js +0 -2
  1247. package/dist/stzh-components/p-abd7cbc6.entry.js +0 -2
  1248. package/dist/stzh-components/p-abddf10c.entry.js +0 -2
  1249. package/dist/stzh-components/p-abe3645d.entry.js +0 -2
  1250. package/dist/stzh-components/p-b2aabeb7.entry.js +0 -2
  1251. package/dist/stzh-components/p-b31949eb.entry.js +0 -2
  1252. package/dist/stzh-components/p-b38b3c4c.entry.js +0 -2
  1253. package/dist/stzh-components/p-b4d78249.entry.js +0 -2
  1254. package/dist/stzh-components/p-b4da4cc2.entry.js +0 -2
  1255. package/dist/stzh-components/p-b56daf65.entry.js +0 -2
  1256. package/dist/stzh-components/p-b5c20b76.entry.js +0 -2
  1257. package/dist/stzh-components/p-b989f72d.entry.js +0 -2
  1258. package/dist/stzh-components/p-c28f9c40.entry.js +0 -2
  1259. package/dist/stzh-components/p-c4d0f525.entry.js +0 -2
  1260. package/dist/stzh-components/p-c4fbcf5c.entry.js +0 -2
  1261. package/dist/stzh-components/p-c596173d.entry.js +0 -2
  1262. package/dist/stzh-components/p-c63e07fc.entry.js +0 -6
  1263. package/dist/stzh-components/p-c8c34164.entry.js +0 -2
  1264. package/dist/stzh-components/p-c9993af0.entry.js +0 -2
  1265. package/dist/stzh-components/p-c9f2e23a.entry.js +0 -2
  1266. package/dist/stzh-components/p-cc6e6867.entry.js +0 -2
  1267. package/dist/stzh-components/p-cd12e7bd.entry.js +0 -2
  1268. package/dist/stzh-components/p-d1747317.entry.js +0 -2
  1269. package/dist/stzh-components/p-d1cca86f.entry.js +0 -2
  1270. package/dist/stzh-components/p-d37c5c73.entry.js +0 -2
  1271. package/dist/stzh-components/p-d5b7addc.entry.js +0 -2
  1272. package/dist/stzh-components/p-d6b7946f.entry.js +0 -2
  1273. package/dist/stzh-components/p-e12d2d60.entry.js +0 -2
  1274. package/dist/stzh-components/p-e233cf06.entry.js +0 -2
  1275. package/dist/stzh-components/p-e49ed519.entry.js +0 -2
  1276. package/dist/stzh-components/p-e61966c4.entry.js +0 -2
  1277. package/dist/stzh-components/p-e8a4ddd6.entry.js +0 -2
  1278. package/dist/stzh-components/p-e905055b.entry.js +0 -2
  1279. package/dist/stzh-components/p-e9a85cba.entry.js +0 -2
  1280. package/dist/stzh-components/p-ec6a62aa.entry.js +0 -2
  1281. package/dist/stzh-components/p-ee8190b4.entry.js +0 -2
  1282. package/dist/stzh-components/p-f07faa5b.entry.js +0 -2
  1283. package/dist/stzh-components/p-f1a64d71.entry.js +0 -2
  1284. package/dist/stzh-components/p-f2e95ab9.entry.js +0 -2
  1285. package/dist/stzh-components/p-f395be95.entry.js +0 -2
  1286. package/dist/stzh-components/p-f7ae52f5.entry.js +0 -2
  1287. package/dist/stzh-components/p-f9966360.entry.js +0 -2
  1288. package/dist/stzh-components/p-f99e3401.entry.js +0 -2
  1289. package/dist/stzh-components/p-fae36aac.entry.js +0 -2
  1290. package/dist/stzh-components/p-fb8f7cec.entry.js +0 -2
  1291. package/dist/stzh-components/p-fc426694.entry.js +0 -2
  1292. package/dist/stzh-components/p-ff8a59e7.entry.js +0 -2
  1293. /package/dist/stzh-components/{p-abd7cbc6.entry.js.map → p-02cbf48e.entry.js.map} +0 -0
  1294. /package/dist/stzh-components/{p-d1747317.entry.js.map → p-09fd4ce9.entry.js.map} +0 -0
  1295. /package/dist/stzh-components/{p-30cfc3b7.entry.js.map → p-0c782a2c.entry.js.map} +0 -0
  1296. /package/dist/stzh-components/{p-83855aaf.entry.js.map → p-0f30b703.entry.js.map} +0 -0
  1297. /package/dist/stzh-components/{p-3c60f148.entry.js.map → p-10c9abdb.entry.js.map} +0 -0
  1298. /package/dist/stzh-components/{p-e905055b.entry.js.map → p-12def17e.entry.js.map} +0 -0
  1299. /package/dist/stzh-components/{p-cc6e6867.entry.js.map → p-146b09f2.entry.js.map} +0 -0
  1300. /package/dist/stzh-components/{p-a8876eda.entry.js.map → p-185ebd5d.entry.js.map} +0 -0
  1301. /package/dist/stzh-components/{p-88b7a476.entry.js.map → p-1a32c5f5.entry.js.map} +0 -0
  1302. /package/dist/stzh-components/{p-1599a3aa.entry.js.map → p-1e51590c.entry.js.map} +0 -0
  1303. /package/dist/stzh-components/{p-31ca74fa.entry.js.map → p-244c48be.entry.js.map} +0 -0
  1304. /package/dist/stzh-components/{p-30b90219.entry.js.map → p-27e0a673.entry.js.map} +0 -0
  1305. /package/dist/stzh-components/{p-c63e07fc.entry.js.map → p-295f4ea7.entry.js.map} +0 -0
  1306. /package/dist/stzh-components/{p-8f5e606d.entry.js.map → p-2aa791c3.entry.js.map} +0 -0
  1307. /package/dist/stzh-components/{p-084b9cdd.entry.js.map → p-3058e3af.entry.js.map} +0 -0
  1308. /package/dist/stzh-components/{p-348f6385.entry.js.map → p-33859df2.entry.js.map} +0 -0
  1309. /package/dist/stzh-components/{p-2dc03663.entry.js.map → p-37f64dab.entry.js.map} +0 -0
  1310. /package/dist/stzh-components/{p-73a1c1f7.entry.js.map → p-3dd4d813.entry.js.map} +0 -0
  1311. /package/dist/stzh-components/{p-a628ad78.entry.js.map → p-3ef34d2f.entry.js.map} +0 -0
  1312. /package/dist/stzh-components/{p-41e45f16.entry.js.map → p-40413beb.entry.js.map} +0 -0
  1313. /package/dist/stzh-components/{p-392592da.entry.js.map → p-406ed87c.entry.js.map} +0 -0
  1314. /package/dist/stzh-components/{p-abe3645d.entry.js.map → p-421ff018.entry.js.map} +0 -0
  1315. /package/dist/stzh-components/{p-a33ac43e.entry.js.map → p-43651f12.entry.js.map} +0 -0
  1316. /package/dist/stzh-components/{p-4eb79797.entry.js.map → p-43c7e594.entry.js.map} +0 -0
  1317. /package/dist/stzh-components/{p-836ed145.entry.js.map → p-46492fa9.entry.js.map} +0 -0
  1318. /package/dist/stzh-components/{p-6e1ef0ec.entry.js.map → p-49420243.entry.js.map} +0 -0
  1319. /package/dist/stzh-components/{p-94942d87.entry.js.map → p-4a16af30.entry.js.map} +0 -0
  1320. /package/dist/stzh-components/{p-0e1a0f73.entry.js.map → p-4d936633.entry.js.map} +0 -0
  1321. /package/dist/stzh-components/{p-90fb2952.entry.js.map → p-4f38e594.entry.js.map} +0 -0
  1322. /package/dist/stzh-components/{p-6633c83d.entry.js.map → p-51164590.entry.js.map} +0 -0
  1323. /package/dist/stzh-components/{p-3ed1d1c9.entry.js.map → p-543a73f3.entry.js.map} +0 -0
  1324. /package/dist/stzh-components/{p-4949d3f3.entry.js.map → p-5643b28f.entry.js.map} +0 -0
  1325. /package/dist/stzh-components/{p-36d88163.entry.js.map → p-58882715.entry.js.map} +0 -0
  1326. /package/dist/stzh-components/{p-38a47c95.entry.js.map → p-58e5e0af.entry.js.map} +0 -0
  1327. /package/dist/stzh-components/{p-b2aabeb7.entry.js.map → p-59804a1f.entry.js.map} +0 -0
  1328. /package/dist/stzh-components/{p-11f8205b.entry.js.map → p-5a206a61.entry.js.map} +0 -0
  1329. /package/dist/stzh-components/{p-0e4fdc3c.entry.js.map → p-626587d8.entry.js.map} +0 -0
  1330. /package/dist/stzh-components/{p-6b74f2f3.entry.js.map → p-637dac52.entry.js.map} +0 -0
  1331. /package/dist/stzh-components/{p-f99e3401.entry.js.map → p-64294306.entry.js.map} +0 -0
  1332. /package/dist/stzh-components/{p-8b8f4b5c.entry.js.map → p-67ef04ca.entry.js.map} +0 -0
  1333. /package/dist/stzh-components/{p-d1cca86f.entry.js.map → p-69dbfaf7.entry.js.map} +0 -0
  1334. /package/dist/stzh-components/{p-315d9ed9.entry.js.map → p-6b36529a.entry.js.map} +0 -0
  1335. /package/dist/stzh-components/{p-b4da4cc2.entry.js.map → p-6d0893f7.entry.js.map} +0 -0
  1336. /package/dist/stzh-components/{p-4de6381b.entry.js.map → p-6d7a7b5e.entry.js.map} +0 -0
  1337. /package/dist/stzh-components/{p-4dfd34dd.entry.js.map → p-6e423e32.entry.js.map} +0 -0
  1338. /package/dist/stzh-components/{p-d5b7addc.entry.js.map → p-72db275c.entry.js.map} +0 -0
  1339. /package/dist/stzh-components/{p-99c6d6af.entry.js.map → p-75dce990.entry.js.map} +0 -0
  1340. /package/dist/stzh-components/{p-9425707d.entry.js.map → p-77f2660f.entry.js.map} +0 -0
  1341. /package/dist/stzh-components/{p-c9f2e23a.entry.js.map → p-796844c2.entry.js.map} +0 -0
  1342. /package/dist/stzh-components/{p-7046fef8.entry.js.map → p-7cddc241.entry.js.map} +0 -0
  1343. /package/dist/stzh-components/{p-73d5c827.entry.js.map → p-7f2fe266.entry.js.map} +0 -0
  1344. /package/dist/stzh-components/{p-48bd3e87.entry.js.map → p-7f453424.entry.js.map} +0 -0
  1345. /package/dist/stzh-components/{p-a3dc9c36.entry.js.map → p-811e9832.entry.js.map} +0 -0
  1346. /package/dist/stzh-components/{p-c8c34164.entry.js.map → p-82888608.entry.js.map} +0 -0
  1347. /package/dist/stzh-components/{p-f07faa5b.entry.js.map → p-82f5e522.entry.js.map} +0 -0
  1348. /package/dist/stzh-components/{p-08efb2fb.entry.js.map → p-86fe95c9.entry.js.map} +0 -0
  1349. /package/dist/stzh-components/{p-f7ae52f5.entry.js.map → p-87ba48b1.entry.js.map} +0 -0
  1350. /package/dist/stzh-components/{p-fc426694.entry.js.map → p-89de858b.entry.js.map} +0 -0
  1351. /package/dist/stzh-components/{p-8c90bc4b.entry.js.map → p-8b737b50.entry.js.map} +0 -0
  1352. /package/dist/stzh-components/{p-22eb16c8.entry.js.map → p-8c3d2b2b.entry.js.map} +0 -0
  1353. /package/dist/stzh-components/{p-9606c1b3.entry.js.map → p-8d3dbe57.entry.js.map} +0 -0
  1354. /package/dist/stzh-components/{p-aa8fe13a.entry.js.map → p-90b6d078.entry.js.map} +0 -0
  1355. /package/dist/stzh-components/{p-c9993af0.entry.js.map → p-95a87764.entry.js.map} +0 -0
  1356. /package/dist/stzh-components/{p-cd12e7bd.entry.js.map → p-95e736c8.entry.js.map} +0 -0
  1357. /package/dist/stzh-components/{p-d37c5c73.entry.js.map → p-95ef58d2.entry.js.map} +0 -0
  1358. /package/dist/stzh-components/{p-fae36aac.entry.js.map → p-9736dc8f.entry.js.map} +0 -0
  1359. /package/dist/stzh-components/{p-250f9ffa.entry.js.map → p-9870b665.entry.js.map} +0 -0
  1360. /package/dist/stzh-components/{p-7e785f95.entry.js.map → p-9929da87.entry.js.map} +0 -0
  1361. /package/dist/stzh-components/{p-5f92e771.entry.js.map → p-9a75e49e.entry.js.map} +0 -0
  1362. /package/dist/stzh-components/{p-c4d0f525.entry.js.map → p-9cdc22dd.entry.js.map} +0 -0
  1363. /package/dist/stzh-components/{p-e12d2d60.entry.js.map → p-9deb1554.entry.js.map} +0 -0
  1364. /package/dist/stzh-components/{p-8adb8b10.entry.js.map → p-9e7b724c.entry.js.map} +0 -0
  1365. /package/dist/stzh-components/{p-e233cf06.entry.js.map → p-9f578b61.entry.js.map} +0 -0
  1366. /package/dist/stzh-components/{p-6cc8c31a.entry.js.map → p-a030971d.entry.js.map} +0 -0
  1367. /package/dist/stzh-components/{p-e9a85cba.entry.js.map → p-a08ef2bd.entry.js.map} +0 -0
  1368. /package/dist/stzh-components/{p-c4fbcf5c.entry.js.map → p-a4b23659.entry.js.map} +0 -0
  1369. /package/dist/stzh-components/{p-a70a0080.entry.js.map → p-a4fffc13.entry.js.map} +0 -0
  1370. /package/dist/stzh-components/{p-6d0e28b0.entry.js.map → p-a5bf85c8.entry.js.map} +0 -0
  1371. /package/dist/stzh-components/{p-2736ea2b.entry.js.map → p-a7639c6e.entry.js.map} +0 -0
  1372. /package/dist/stzh-components/{p-46963b10.entry.js.map → p-a841b424.entry.js.map} +0 -0
  1373. /package/dist/stzh-components/{p-1a094f09.entry.js.map → p-aa67e4ac.entry.js.map} +0 -0
  1374. /package/dist/stzh-components/{p-b31949eb.entry.js.map → p-ac763632.entry.js.map} +0 -0
  1375. /package/dist/stzh-components/{p-2585770a.entry.js.map → p-aff910c5.entry.js.map} +0 -0
  1376. /package/dist/stzh-components/{p-b38b3c4c.entry.js.map → p-b0125207.entry.js.map} +0 -0
  1377. /package/dist/stzh-components/{p-e8a4ddd6.entry.js.map → p-b1b9ac73.entry.js.map} +0 -0
  1378. /package/dist/stzh-components/{p-221df142.entry.js.map → p-b29c574c.entry.js.map} +0 -0
  1379. /package/dist/stzh-components/{p-1b5786df.entry.js.map → p-b47a678c.entry.js.map} +0 -0
  1380. /package/dist/stzh-components/{p-63602e47.entry.js.map → p-b4da646c.entry.js.map} +0 -0
  1381. /package/dist/stzh-components/{p-a6522800.entry.js.map → p-b520d13c.entry.js.map} +0 -0
  1382. /package/dist/stzh-components/{p-3d31d8f9.entry.js.map → p-b59ebc13.entry.js.map} +0 -0
  1383. /package/dist/stzh-components/{p-e61966c4.entry.js.map → p-ba1d30b0.entry.js.map} +0 -0
  1384. /package/dist/stzh-components/{p-3b891522.entry.js.map → p-babae246.entry.js.map} +0 -0
  1385. /package/dist/stzh-components/{p-c596173d.entry.js.map → p-bc91ccc6.entry.js.map} +0 -0
  1386. /package/dist/stzh-components/{p-628b716b.entry.js.map → p-bd68f0d1.entry.js.map} +0 -0
  1387. /package/dist/stzh-components/{p-1284b27f.entry.js.map → p-c066ff6f.entry.js.map} +0 -0
  1388. /package/dist/stzh-components/{p-c28f9c40.entry.js.map → p-c0d5be57.entry.js.map} +0 -0
  1389. /package/dist/stzh-components/{p-5b1f1510.entry.js.map → p-c10d4b7b.entry.js.map} +0 -0
  1390. /package/dist/stzh-components/{p-f9966360.entry.js.map → p-c32938f8.entry.js.map} +0 -0
  1391. /package/dist/stzh-components/{p-609ad786.entry.js.map → p-c7fd75bb.entry.js.map} +0 -0
  1392. /package/dist/stzh-components/{p-ee8190b4.entry.js.map → p-c85723c2.entry.js.map} +0 -0
  1393. /package/dist/stzh-components/{p-ec6a62aa.entry.js.map → p-c9c36894.entry.js.map} +0 -0
  1394. /package/dist/stzh-components/{p-f2e95ab9.entry.js.map → p-caa8f997.entry.js.map} +0 -0
  1395. /package/dist/stzh-components/{p-4ef4838b.entry.js.map → p-cce787b7.entry.js.map} +0 -0
  1396. /package/dist/stzh-components/{p-1412c776.entry.js.map → p-d1824aff.entry.js.map} +0 -0
  1397. /package/dist/stzh-components/{p-d6b7946f.entry.js.map → p-d1a45ae4.entry.js.map} +0 -0
  1398. /package/dist/stzh-components/{p-f395be95.entry.js.map → p-d448e869.entry.js.map} +0 -0
  1399. /package/dist/stzh-components/{p-e49ed519.entry.js.map → p-d4752253.entry.js.map} +0 -0
  1400. /package/dist/stzh-components/{p-89295005.entry.js.map → p-d84dc109.entry.js.map} +0 -0
  1401. /package/dist/stzh-components/{p-f1a64d71.entry.js.map → p-dae2b3f6.entry.js.map} +0 -0
  1402. /package/dist/stzh-components/{p-ff8a59e7.entry.js.map → p-db0abc8a.entry.js.map} +0 -0
  1403. /package/dist/stzh-components/{p-3e764c0f.entry.js.map → p-dd1834df.entry.js.map} +0 -0
  1404. /package/dist/stzh-components/{p-5191a957.entry.js.map → p-de97d3e0.entry.js.map} +0 -0
  1405. /package/dist/stzh-components/{p-44a38608.entry.js.map → p-e44a5d64.entry.js.map} +0 -0
  1406. /package/dist/stzh-components/{p-3242ae36.entry.js.map → p-e45770a3.entry.js.map} +0 -0
  1407. /package/dist/stzh-components/{p-353f35fb.entry.js.map → p-e46c2662.entry.js.map} +0 -0
  1408. /package/dist/stzh-components/{p-fb8f7cec.entry.js.map → p-e596968c.entry.js.map} +0 -0
  1409. /package/dist/stzh-components/{p-114eb1c8.entry.js.map → p-e5cef90d.entry.js.map} +0 -0
  1410. /package/dist/stzh-components/{p-b989f72d.entry.js.map → p-e71217f8.entry.js.map} +0 -0
  1411. /package/dist/stzh-components/{p-5bbc5c2d.entry.js.map → p-e8dab484.entry.js.map} +0 -0
  1412. /package/dist/stzh-components/{p-abddf10c.entry.js.map → p-e8fe7d28.entry.js.map} +0 -0
  1413. /package/dist/stzh-components/{p-4622ab8b.entry.js.map → p-ed5d8968.entry.js.map} +0 -0
  1414. /package/dist/stzh-components/{p-3e55b338.entry.js.map → p-ed78f0cb.entry.js.map} +0 -0
  1415. /package/dist/stzh-components/{p-b56daf65.entry.js.map → p-ef00bc6a.entry.js.map} +0 -0
  1416. /package/dist/stzh-components/{p-34d452cc.entry.js.map → p-f15475fb.entry.js.map} +0 -0
  1417. /package/dist/stzh-components/{p-b5c20b76.entry.js.map → p-f1582c3c.entry.js.map} +0 -0
  1418. /package/dist/stzh-components/{p-ab120fe4.entry.js.map → p-f23c8773.entry.js.map} +0 -0
  1419. /package/dist/stzh-components/{p-b4d78249.entry.js.map → p-f43a5698.entry.js.map} +0 -0
  1420. /package/dist/stzh-components/{p-6867beb2.entry.js.map → p-f72c2c49.entry.js.map} +0 -0
  1421. /package/dist/stzh-components/{p-5022f5ae.entry.js.map → p-fb6285f1.entry.js.map} +0 -0
  1422. /package/dist/stzh-components/{p-2adc1b7e.entry.js.map → p-fd0e6488.entry.js.map} +0 -0
  1423. /package/dist/stzh-components/{p-36ee1a3d.entry.js.map → p-fd67cd90.entry.js.map} +0 -0
  1424. /package/dist/stzh-components/{p-38a1e3c5.entry.js.map → p-fdec6e68.entry.js.map} +0 -0
@@ -0,0 +1,4110 @@
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-BOU3cRYl.js';
2
+ import { g as getDefaultExportFromCjs } from './p-E-ZsRS8r.js';
3
+
4
+ var dist$1 = {};
5
+
6
+ var hasRequiredDist$1;
7
+
8
+ function requireDist$1 () {
9
+ if (hasRequiredDist$1) return dist$1;
10
+ hasRequiredDist$1 = 1;
11
+ Object.defineProperty(dist$1,"__esModule",{value:true});const t=t=>"object"==typeof t&&null!=t&&1===t.nodeType,e=(t,e)=>(!e||"hidden"!==t)&&("visible"!==t&&"clip"!==t),n=(t,n)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const o=getComputedStyle(t,null);return e(o.overflowY,n)||e(o.overflowX,n)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return false},o=(t,e,n,o,i,l,r,d)=>l<t&&r>e||l>t&&r<e?0:l<=t&&d<=n||r>=e&&d>=n?l-t-o:r>e&&d<n||l<t&&d>n?r-e+i:0,i=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e};dist$1.compute=(e,l)=>{var r,d,s,c;if("undefined"==typeof document)return [];const{scrollMode:h,block:u,inline:f,boundary:a,skipOverflowHiddenElements:m}=l,g="function"==typeof a?a:t=>t!==a;if(!t(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,w=[];let W=e;for(;t(W)&&g(W);){if(W=i(W),W===p){w.push(W);break}null!=W&&W===document.body&&n(W)&&!n(document.documentElement)||null!=W&&n(W,m)&&w.push(W);}const b=null!=(d=null==(r=window.visualViewport)?void 0:r.width)?d:innerWidth,H=null!=(c=null==(s=window.visualViewport)?void 0:s.height)?c:innerHeight,{scrollX:v,scrollY:y}=window,{height:M,width:E,top:x,right:I,bottom:C,left:R}=e.getBoundingClientRect();let T="start"===u||"nearest"===u?x:"end"===u?C:x+M/2,V="center"===f?R+E/2:"end"===f?I:R;const k=[];for(let t=0;t<w.length;t++){const e=w[t],{height:n,width:i,top:l,right:r,bottom:d,left:s}=e.getBoundingClientRect();if("if-needed"===h&&x>=0&&R>=0&&C<=H&&I<=b&&x>=l&&C<=d&&R>=s&&I<=r)return k;const c=getComputedStyle(e),a=parseInt(c.borderLeftWidth,10),m=parseInt(c.borderTopWidth,10),g=parseInt(c.borderRightWidth,10),W=parseInt(c.borderBottomWidth,10);let B=0,D=0;const j="offsetWidth"in e?e.offsetWidth-e.clientWidth-a-g:0,L="offsetHeight"in e?e.offsetHeight-e.clientHeight-m-W:0,O="offsetWidth"in e?0===e.offsetWidth?0:i/e.offsetWidth:0,S="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(p===e)B="start"===u?T:"end"===u?T-H:"nearest"===u?o(y,y+H,H,m,W,y+T,y+T+M,M):T-H/2,D="start"===f?V:"center"===f?V-b/2:"end"===f?V-b:o(v,v+b,b,a,g,v+V,v+V+E,E),B=Math.max(0,B+y),D=Math.max(0,D+v);else {B="start"===u?T-l-m:"end"===u?T-d+W+L:"nearest"===u?o(l,d,n,m,W+L,T,T+M,M):T-(l+n/2)+L/2,D="start"===f?V-s-a:"center"===f?V-(s+i/2)+j/2:"end"===f?V-r+g+j:o(s,r,i,a,g+j,V,V+E,E);const{scrollLeft:t,scrollTop:c}=e;B=Math.max(0,Math.min(c+B/S,e.scrollHeight-n/S+L)),D=Math.max(0,Math.min(t+D/O,e.scrollWidth-i/O+j)),T+=c-B,V+=t-D;}k.push({el:e,top:B,left:D});}return k};
12
+ return dist$1;
13
+ }
14
+
15
+ var dist;
16
+ var hasRequiredDist;
17
+
18
+ function requireDist () {
19
+ if (hasRequiredDist) return dist;
20
+ hasRequiredDist = 1;
21
+ var t=/*@__PURE__*/ requireDist$1();const o=t=>false===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"};dist=function(e,r){if(!e.isConnected||!(t=>{let o=t;for(;o&&o.parentNode;){if(o.parentNode===document)return true;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode;}return false})(e))return;const n=(t=>{const o=window.getComputedStyle(t);return {top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(r))return r.behavior(t.compute(e,r));const l="boolean"==typeof r||null==r?void 0:r.behavior;for(const{el:a,top:i,left:c}of t.compute(e,o(r))){const t=i-n.top+n.bottom,o=c-n.left+n.right;a.scroll({top:t,left:o,behavior:l});}};
22
+ return dist;
23
+ }
24
+
25
+ var distExports = /*@__PURE__*/ requireDist();
26
+ var scrollIntoView = /*@__PURE__*/getDefaultExportFromCjs(distExports);
27
+
28
+ /**!
29
+ * Sortable 1.15.0
30
+ * @author RubaXa <trash@rubaxa.org>
31
+ * @author owenm <owen23355@gmail.com>
32
+ * @license MIT
33
+ */
34
+ function _extends() {
35
+ _extends = Object.assign || function (target) {
36
+ for (var i = 1; i < arguments.length; i++) {
37
+ var source = arguments[i];
38
+
39
+ for (var key in source) {
40
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
41
+ target[key] = source[key];
42
+ }
43
+ }
44
+ }
45
+
46
+ return target;
47
+ };
48
+
49
+ return _extends.apply(this, arguments);
50
+ }
51
+
52
+ var version = "1.15.0";
53
+
54
+ function userAgent(pattern) {
55
+ if (typeof window !== 'undefined' && window.navigator) {
56
+ return !! /*@__PURE__*/navigator.userAgent.match(pattern);
57
+ }
58
+ }
59
+
60
+ const IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
61
+ const Edge = userAgent(/Edge/i);
62
+ const FireFox = userAgent(/firefox/i);
63
+ const Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
64
+ const IOS = userAgent(/iP(ad|od|hone)/i);
65
+ const ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
66
+
67
+ const captureMode = {
68
+ capture: false,
69
+ passive: false
70
+ };
71
+
72
+ function on(el, event, fn) {
73
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
74
+ }
75
+
76
+ function off(el, event, fn) {
77
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
78
+ }
79
+
80
+ function matches(
81
+ /**HTMLElement*/
82
+ el,
83
+ /**String*/
84
+ selector) {
85
+ if (!selector) return;
86
+ selector[0] === '>' && (selector = selector.substring(1));
87
+
88
+ if (el) {
89
+ try {
90
+ if (el.matches) {
91
+ return el.matches(selector);
92
+ } else if (el.msMatchesSelector) {
93
+ return el.msMatchesSelector(selector);
94
+ } else if (el.webkitMatchesSelector) {
95
+ return el.webkitMatchesSelector(selector);
96
+ }
97
+ } catch (_) {
98
+ return false;
99
+ }
100
+ }
101
+
102
+ return false;
103
+ }
104
+
105
+ function getParentOrHost(el) {
106
+ return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
107
+ }
108
+
109
+ function closest(
110
+ /**HTMLElement*/
111
+ el,
112
+ /**String*/
113
+ selector,
114
+ /**HTMLElement*/
115
+ ctx, includeCTX) {
116
+ if (el) {
117
+ ctx = ctx || document;
118
+
119
+ do {
120
+ if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
121
+ return el;
122
+ }
123
+
124
+ if (el === ctx) break;
125
+ /* jshint boss:true */
126
+ } while (el = getParentOrHost(el));
127
+ }
128
+
129
+ return null;
130
+ }
131
+
132
+ const R_SPACE = /\s+/g;
133
+
134
+ function toggleClass(el, name, state) {
135
+ if (el && name) {
136
+ if (el.classList) {
137
+ el.classList[state ? 'add' : 'remove'](name);
138
+ } else {
139
+ let className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
140
+ el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
141
+ }
142
+ }
143
+ }
144
+
145
+ function css(el, prop, val) {
146
+ let style = el && el.style;
147
+
148
+ if (style) {
149
+ if (val === void 0) {
150
+ if (document.defaultView && document.defaultView.getComputedStyle) {
151
+ val = document.defaultView.getComputedStyle(el, '');
152
+ } else if (el.currentStyle) {
153
+ val = el.currentStyle;
154
+ }
155
+
156
+ return prop === void 0 ? val : val[prop];
157
+ } else {
158
+ if (!(prop in style) && prop.indexOf('webkit') === -1) {
159
+ prop = '-webkit-' + prop;
160
+ }
161
+
162
+ style[prop] = val + (typeof val === 'string' ? '' : 'px');
163
+ }
164
+ }
165
+ }
166
+
167
+ function matrix(el, selfOnly) {
168
+ let appliedTransforms = '';
169
+
170
+ if (typeof el === 'string') {
171
+ appliedTransforms = el;
172
+ } else {
173
+ do {
174
+ let transform = css(el, 'transform');
175
+
176
+ if (transform && transform !== 'none') {
177
+ appliedTransforms = transform + ' ' + appliedTransforms;
178
+ }
179
+ /* jshint boss:true */
180
+
181
+ } while (!selfOnly && (el = el.parentNode));
182
+ }
183
+
184
+ const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
185
+ /*jshint -W056 */
186
+
187
+ return matrixFn && new matrixFn(appliedTransforms);
188
+ }
189
+
190
+ function find(ctx, tagName, iterator) {
191
+ if (ctx) {
192
+ let list = ctx.getElementsByTagName(tagName),
193
+ i = 0,
194
+ n = list.length;
195
+
196
+ if (iterator) {
197
+ for (; i < n; i++) {
198
+ iterator(list[i], i);
199
+ }
200
+ }
201
+
202
+ return list;
203
+ }
204
+
205
+ return [];
206
+ }
207
+
208
+ function getWindowScrollingElement() {
209
+ let scrollingElement = document.scrollingElement;
210
+
211
+ if (scrollingElement) {
212
+ return scrollingElement;
213
+ } else {
214
+ return document.documentElement;
215
+ }
216
+ }
217
+ /**
218
+ * Returns the "bounding client rect" of given element
219
+ * @param {HTMLElement} el The element whose boundingClientRect is wanted
220
+ * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
221
+ * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
222
+ * @param {[Boolean]} undoScale Whether the container's scale() should be undone
223
+ * @param {[HTMLElement]} container The parent the element will be placed in
224
+ * @return {Object} The boundingClientRect of el, with specified adjustments
225
+ */
226
+
227
+
228
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
229
+ if (!el.getBoundingClientRect && el !== window) return;
230
+ let elRect, top, left, bottom, right, height, width;
231
+
232
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
233
+ elRect = el.getBoundingClientRect();
234
+ top = elRect.top;
235
+ left = elRect.left;
236
+ bottom = elRect.bottom;
237
+ right = elRect.right;
238
+ height = elRect.height;
239
+ width = elRect.width;
240
+ } else {
241
+ top = 0;
242
+ left = 0;
243
+ bottom = window.innerHeight;
244
+ right = window.innerWidth;
245
+ height = window.innerHeight;
246
+ width = window.innerWidth;
247
+ }
248
+
249
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
250
+ // Adjust for translate()
251
+ container = container || el.parentNode; // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
252
+ // Not needed on <= IE11
253
+
254
+ if (!IE11OrLess) {
255
+ do {
256
+ if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
257
+ let containerRect = container.getBoundingClientRect(); // Set relative to edges of padding box of container
258
+
259
+ top -= containerRect.top + parseInt(css(container, 'border-top-width'));
260
+ left -= containerRect.left + parseInt(css(container, 'border-left-width'));
261
+ bottom = top + elRect.height;
262
+ right = left + elRect.width;
263
+ break;
264
+ }
265
+ /* jshint boss:true */
266
+
267
+ } while (container = container.parentNode);
268
+ }
269
+ }
270
+
271
+ if (undoScale && el !== window) {
272
+ // Adjust for scale()
273
+ let elMatrix = matrix(container || el),
274
+ scaleX = elMatrix && elMatrix.a,
275
+ scaleY = elMatrix && elMatrix.d;
276
+
277
+ if (elMatrix) {
278
+ top /= scaleY;
279
+ left /= scaleX;
280
+ width /= scaleX;
281
+ height /= scaleY;
282
+ bottom = top + height;
283
+ right = left + width;
284
+ }
285
+ }
286
+
287
+ return {
288
+ top: top,
289
+ left: left,
290
+ bottom: bottom,
291
+ right: right,
292
+ width: width,
293
+ height: height
294
+ };
295
+ }
296
+ /**
297
+ * Checks if a side of an element is scrolled past a side of its parents
298
+ * @param {HTMLElement} el The element who's side being scrolled out of view is in question
299
+ * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
300
+ * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
301
+ * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
302
+ */
303
+
304
+
305
+ function isScrolledPast(el, elSide, parentSide) {
306
+ let parent = getParentAutoScrollElement(el, true),
307
+ elSideVal = getRect(el)[elSide];
308
+ /* jshint boss:true */
309
+
310
+ while (parent) {
311
+ let parentSideVal = getRect(parent)[parentSide],
312
+ visible;
313
+
314
+ {
315
+ visible = elSideVal >= parentSideVal;
316
+ }
317
+
318
+ if (!visible) return parent;
319
+ if (parent === getWindowScrollingElement()) break;
320
+ parent = getParentAutoScrollElement(parent, false);
321
+ }
322
+
323
+ return false;
324
+ }
325
+ /**
326
+ * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
327
+ * and non-draggable elements
328
+ * @param {HTMLElement} el The parent element
329
+ * @param {Number} childNum The index of the child
330
+ * @param {Object} options Parent Sortable's options
331
+ * @return {HTMLElement} The child at index childNum, or null if not found
332
+ */
333
+
334
+
335
+ function getChild(el, childNum, options, includeDragEl) {
336
+ let currentChild = 0,
337
+ i = 0,
338
+ children = el.children;
339
+
340
+ while (i < children.length) {
341
+ if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
342
+ if (currentChild === childNum) {
343
+ return children[i];
344
+ }
345
+
346
+ currentChild++;
347
+ }
348
+
349
+ i++;
350
+ }
351
+
352
+ return null;
353
+ }
354
+ /**
355
+ * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
356
+ * @param {HTMLElement} el Parent element
357
+ * @param {selector} selector Any other elements that should be ignored
358
+ * @return {HTMLElement} The last child, ignoring ghostEl
359
+ */
360
+
361
+
362
+ function lastChild(el, selector) {
363
+ let last = el.lastElementChild;
364
+
365
+ while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
366
+ last = last.previousElementSibling;
367
+ }
368
+
369
+ return last || null;
370
+ }
371
+ /**
372
+ * Returns the index of an element within its parent for a selected set of
373
+ * elements
374
+ * @param {HTMLElement} el
375
+ * @param {selector} selector
376
+ * @return {number}
377
+ */
378
+
379
+
380
+ function index(el, selector) {
381
+ let index = 0;
382
+
383
+ if (!el || !el.parentNode) {
384
+ return -1;
385
+ }
386
+ /* jshint boss:true */
387
+
388
+
389
+ while (el = el.previousElementSibling) {
390
+ if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
391
+ index++;
392
+ }
393
+ }
394
+
395
+ return index;
396
+ }
397
+ /**
398
+ * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
399
+ * The value is returned in real pixels.
400
+ * @param {HTMLElement} el
401
+ * @return {Array} Offsets in the format of [left, top]
402
+ */
403
+
404
+
405
+ function getRelativeScrollOffset(el) {
406
+ let offsetLeft = 0,
407
+ offsetTop = 0,
408
+ winScroller = getWindowScrollingElement();
409
+
410
+ if (el) {
411
+ do {
412
+ let elMatrix = matrix(el),
413
+ scaleX = elMatrix.a,
414
+ scaleY = elMatrix.d;
415
+ offsetLeft += el.scrollLeft * scaleX;
416
+ offsetTop += el.scrollTop * scaleY;
417
+ } while (el !== winScroller && (el = el.parentNode));
418
+ }
419
+
420
+ return [offsetLeft, offsetTop];
421
+ }
422
+ /**
423
+ * Returns the index of the object within the given array
424
+ * @param {Array} arr Array that may or may not hold the object
425
+ * @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
426
+ * @return {Number} The index of the object in the array, or -1
427
+ */
428
+
429
+
430
+ function indexOfObject(arr, obj) {
431
+ for (let i in arr) {
432
+ if (!arr.hasOwnProperty(i)) continue;
433
+
434
+ for (let key in obj) {
435
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
436
+ }
437
+ }
438
+
439
+ return -1;
440
+ }
441
+
442
+ function getParentAutoScrollElement(el, includeSelf) {
443
+ // skip to window
444
+ if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
445
+ let elem = el;
446
+ let gotSelf = false;
447
+
448
+ do {
449
+ // we don't need to get elem css if it isn't even overflowing in the first place (performance)
450
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
451
+ let elemCSS = css(elem);
452
+
453
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
454
+ if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
455
+ if (gotSelf || includeSelf) return elem;
456
+ gotSelf = true;
457
+ }
458
+ }
459
+ /* jshint boss:true */
460
+
461
+ } while (elem = elem.parentNode);
462
+
463
+ return getWindowScrollingElement();
464
+ }
465
+
466
+ function extend(dst, src) {
467
+ if (dst && src) {
468
+ for (let key in src) {
469
+ if (src.hasOwnProperty(key)) {
470
+ dst[key] = src[key];
471
+ }
472
+ }
473
+ }
474
+
475
+ return dst;
476
+ }
477
+
478
+ function isRectEqual(rect1, rect2) {
479
+ 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);
480
+ }
481
+
482
+ let _throttleTimeout;
483
+
484
+ function throttle(callback, ms) {
485
+ return function () {
486
+ if (!_throttleTimeout) {
487
+ let args = arguments,
488
+ _this = this;
489
+
490
+ if (args.length === 1) {
491
+ callback.call(_this, args[0]);
492
+ } else {
493
+ callback.apply(_this, args);
494
+ }
495
+
496
+ _throttleTimeout = setTimeout(function () {
497
+ _throttleTimeout = void 0;
498
+ }, ms);
499
+ }
500
+ };
501
+ }
502
+
503
+ function cancelThrottle() {
504
+ clearTimeout(_throttleTimeout);
505
+ _throttleTimeout = void 0;
506
+ }
507
+
508
+ function scrollBy(el, x, y) {
509
+ el.scrollLeft += x;
510
+ el.scrollTop += y;
511
+ }
512
+
513
+ function clone(el) {
514
+ let Polymer = window.Polymer;
515
+ let $ = window.jQuery || window.Zepto;
516
+
517
+ if (Polymer && Polymer.dom) {
518
+ return Polymer.dom(el).cloneNode(true);
519
+ } else if ($) {
520
+ return $(el).clone(true)[0];
521
+ } else {
522
+ return el.cloneNode(true);
523
+ }
524
+ }
525
+
526
+ function setRect(el, rect) {
527
+ css(el, 'position', 'absolute');
528
+ css(el, 'top', rect.top);
529
+ css(el, 'left', rect.left);
530
+ css(el, 'width', rect.width);
531
+ css(el, 'height', rect.height);
532
+ }
533
+
534
+ function unsetRect(el) {
535
+ css(el, 'position', '');
536
+ css(el, 'top', '');
537
+ css(el, 'left', '');
538
+ css(el, 'width', '');
539
+ css(el, 'height', '');
540
+ }
541
+
542
+ const expando = 'Sortable' + new Date().getTime();
543
+
544
+ function AnimationStateManager() {
545
+ let animationStates = [],
546
+ animationCallbackId;
547
+ return {
548
+ captureAnimationState() {
549
+ animationStates = [];
550
+ if (!this.options.animation) return;
551
+ let children = [].slice.call(this.el.children);
552
+ children.forEach(child => {
553
+ if (css(child, 'display') === 'none' || child === Sortable.ghost) return;
554
+ animationStates.push({
555
+ target: child,
556
+ rect: getRect(child)
557
+ });
558
+ let fromRect = { ...animationStates[animationStates.length - 1].rect
559
+ }; // If animating: compensate for current animation
560
+
561
+ if (child.thisAnimationDuration) {
562
+ let childMatrix = matrix(child, true);
563
+
564
+ if (childMatrix) {
565
+ fromRect.top -= childMatrix.f;
566
+ fromRect.left -= childMatrix.e;
567
+ }
568
+ }
569
+
570
+ child.fromRect = fromRect;
571
+ });
572
+ },
573
+
574
+ addAnimationState(state) {
575
+ animationStates.push(state);
576
+ },
577
+
578
+ removeAnimationState(target) {
579
+ animationStates.splice(indexOfObject(animationStates, {
580
+ target
581
+ }), 1);
582
+ },
583
+
584
+ animateAll(callback) {
585
+ if (!this.options.animation) {
586
+ clearTimeout(animationCallbackId);
587
+ if (typeof callback === 'function') callback();
588
+ return;
589
+ }
590
+
591
+ let animating = false,
592
+ animationTime = 0;
593
+ animationStates.forEach(state => {
594
+ let time = 0,
595
+ target = state.target,
596
+ fromRect = target.fromRect,
597
+ toRect = getRect(target),
598
+ prevFromRect = target.prevFromRect,
599
+ prevToRect = target.prevToRect,
600
+ animatingRect = state.rect,
601
+ targetMatrix = matrix(target, true);
602
+
603
+ if (targetMatrix) {
604
+ // Compensate for current animation
605
+ toRect.top -= targetMatrix.f;
606
+ toRect.left -= targetMatrix.e;
607
+ }
608
+
609
+ target.toRect = toRect;
610
+
611
+ if (target.thisAnimationDuration) {
612
+ // Could also check if animatingRect is between fromRect and toRect
613
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
614
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
615
+ // If returning to same place as started from animation and on same axis
616
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, this.options);
617
+ }
618
+ } // if fromRect != toRect: animate
619
+
620
+
621
+ if (!isRectEqual(toRect, fromRect)) {
622
+ target.prevFromRect = fromRect;
623
+ target.prevToRect = toRect;
624
+
625
+ if (!time) {
626
+ time = this.options.animation;
627
+ }
628
+
629
+ this.animate(target, animatingRect, toRect, time);
630
+ }
631
+
632
+ if (time) {
633
+ animating = true;
634
+ animationTime = Math.max(animationTime, time);
635
+ clearTimeout(target.animationResetTimer);
636
+ target.animationResetTimer = setTimeout(function () {
637
+ target.animationTime = 0;
638
+ target.prevFromRect = null;
639
+ target.fromRect = null;
640
+ target.prevToRect = null;
641
+ target.thisAnimationDuration = null;
642
+ }, time);
643
+ target.thisAnimationDuration = time;
644
+ }
645
+ });
646
+ clearTimeout(animationCallbackId);
647
+
648
+ if (!animating) {
649
+ if (typeof callback === 'function') callback();
650
+ } else {
651
+ animationCallbackId = setTimeout(function () {
652
+ if (typeof callback === 'function') callback();
653
+ }, animationTime);
654
+ }
655
+
656
+ animationStates = [];
657
+ },
658
+
659
+ animate(target, currentRect, toRect, duration) {
660
+ if (duration) {
661
+ css(target, 'transition', '');
662
+ css(target, 'transform', '');
663
+ let elMatrix = matrix(this.el),
664
+ scaleX = elMatrix && elMatrix.a,
665
+ scaleY = elMatrix && elMatrix.d,
666
+ translateX = (currentRect.left - toRect.left) / (scaleX || 1),
667
+ translateY = (currentRect.top - toRect.top) / (scaleY || 1);
668
+ target.animatingX = !!translateX;
669
+ target.animatingY = !!translateY;
670
+ css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
671
+ this.forRepaintDummy = repaint(target); // repaint
672
+
673
+ css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
674
+ css(target, 'transform', 'translate3d(0,0,0)');
675
+ typeof target.animated === 'number' && clearTimeout(target.animated);
676
+ target.animated = setTimeout(function () {
677
+ css(target, 'transition', '');
678
+ css(target, 'transform', '');
679
+ target.animated = false;
680
+ target.animatingX = false;
681
+ target.animatingY = false;
682
+ }, duration);
683
+ }
684
+ }
685
+
686
+ };
687
+ }
688
+
689
+ function repaint(target) {
690
+ return target.offsetWidth;
691
+ }
692
+
693
+ function calculateRealTime(animatingRect, fromRect, toRect, options) {
694
+ 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;
695
+ }
696
+
697
+ let plugins = [];
698
+ const defaults = {
699
+ initializeByDefault: true
700
+ };
701
+ var PluginManager = {
702
+ mount(plugin) {
703
+ // Set default static properties
704
+ for (let option in defaults) {
705
+ if (defaults.hasOwnProperty(option) && !(option in plugin)) {
706
+ plugin[option] = defaults[option];
707
+ }
708
+ }
709
+
710
+ plugins.forEach(p => {
711
+ if (p.pluginName === plugin.pluginName) {
712
+ throw `Sortable: Cannot mount plugin ${plugin.pluginName} more than once`;
713
+ }
714
+ });
715
+ plugins.push(plugin);
716
+ },
717
+
718
+ pluginEvent(eventName, sortable, evt) {
719
+ this.eventCanceled = false;
720
+
721
+ evt.cancel = () => {
722
+ this.eventCanceled = true;
723
+ };
724
+
725
+ const eventNameGlobal = eventName + 'Global';
726
+ plugins.forEach(plugin => {
727
+ if (!sortable[plugin.pluginName]) return; // Fire global events if it exists in this sortable
728
+
729
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
730
+ sortable[plugin.pluginName][eventNameGlobal]({
731
+ sortable,
732
+ ...evt
733
+ });
734
+ } // Only fire plugin event if plugin is enabled in this sortable,
735
+ // and plugin has event defined
736
+
737
+
738
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
739
+ sortable[plugin.pluginName][eventName]({
740
+ sortable,
741
+ ...evt
742
+ });
743
+ }
744
+ });
745
+ },
746
+
747
+ initializePlugins(sortable, el, defaults, options) {
748
+ plugins.forEach(plugin => {
749
+ const pluginName = plugin.pluginName;
750
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
751
+ let initialized = new plugin(sortable, el, sortable.options);
752
+ initialized.sortable = sortable;
753
+ initialized.options = sortable.options;
754
+ sortable[pluginName] = initialized; // Add default options from plugin
755
+
756
+ _extends(defaults, initialized.defaults);
757
+ });
758
+
759
+ for (let option in sortable.options) {
760
+ if (!sortable.options.hasOwnProperty(option)) continue;
761
+ let modified = this.modifyOption(sortable, option, sortable.options[option]);
762
+
763
+ if (typeof modified !== 'undefined') {
764
+ sortable.options[option] = modified;
765
+ }
766
+ }
767
+ },
768
+
769
+ getEventProperties(name, sortable) {
770
+ let eventProperties = {};
771
+ plugins.forEach(plugin => {
772
+ if (typeof plugin.eventProperties !== 'function') return;
773
+
774
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
775
+ });
776
+ return eventProperties;
777
+ },
778
+
779
+ modifyOption(sortable, name, value) {
780
+ let modifiedValue;
781
+ plugins.forEach(plugin => {
782
+ // Plugin must exist on the Sortable
783
+ 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
784
+
785
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
786
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
787
+ }
788
+ });
789
+ return modifiedValue;
790
+ }
791
+
792
+ };
793
+
794
+ function dispatchEvent({
795
+ sortable,
796
+ rootEl,
797
+ name,
798
+ targetEl,
799
+ cloneEl,
800
+ toEl,
801
+ fromEl,
802
+ oldIndex,
803
+ newIndex,
804
+ oldDraggableIndex,
805
+ newDraggableIndex,
806
+ originalEvent,
807
+ putSortable,
808
+ extraEventProperties
809
+ }) {
810
+ sortable = sortable || rootEl && rootEl[expando];
811
+ if (!sortable) return;
812
+ let evt,
813
+ options = sortable.options,
814
+ onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1); // Support for new CustomEvent feature
815
+
816
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
817
+ evt = new CustomEvent(name, {
818
+ bubbles: true,
819
+ cancelable: true
820
+ });
821
+ } else {
822
+ evt = document.createEvent('Event');
823
+ evt.initEvent(name, true, true);
824
+ }
825
+
826
+ evt.to = toEl || rootEl;
827
+ evt.from = fromEl || rootEl;
828
+ evt.item = targetEl || rootEl;
829
+ evt.clone = cloneEl;
830
+ evt.oldIndex = oldIndex;
831
+ evt.newIndex = newIndex;
832
+ evt.oldDraggableIndex = oldDraggableIndex;
833
+ evt.newDraggableIndex = newDraggableIndex;
834
+ evt.originalEvent = originalEvent;
835
+ evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
836
+ let allEventProperties = { ...extraEventProperties,
837
+ ...PluginManager.getEventProperties(name, sortable)
838
+ };
839
+
840
+ for (let option in allEventProperties) {
841
+ evt[option] = allEventProperties[option];
842
+ }
843
+
844
+ if (rootEl) {
845
+ rootEl.dispatchEvent(evt);
846
+ }
847
+
848
+ if (options[onName]) {
849
+ options[onName].call(sortable, evt);
850
+ }
851
+ }
852
+
853
+ let pluginEvent = function (eventName, sortable, {
854
+ evt: originalEvent,
855
+ ...data
856
+ } = {}) {
857
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, {
858
+ dragEl,
859
+ parentEl,
860
+ ghostEl,
861
+ rootEl,
862
+ nextEl,
863
+ lastDownEl,
864
+ cloneEl,
865
+ cloneHidden,
866
+ dragStarted: moved,
867
+ putSortable,
868
+ activeSortable: Sortable.active,
869
+ originalEvent,
870
+ oldIndex,
871
+ oldDraggableIndex,
872
+ newIndex,
873
+ newDraggableIndex,
874
+ hideGhostForTarget: _hideGhostForTarget,
875
+ unhideGhostForTarget: _unhideGhostForTarget,
876
+
877
+ cloneNowHidden() {
878
+ cloneHidden = true;
879
+ },
880
+
881
+ cloneNowShown() {
882
+ cloneHidden = false;
883
+ },
884
+
885
+ dispatchSortableEvent(name) {
886
+ _dispatchEvent({
887
+ sortable,
888
+ name,
889
+ originalEvent
890
+ });
891
+ },
892
+
893
+ ...data
894
+ });
895
+ };
896
+
897
+ function _dispatchEvent(info) {
898
+ dispatchEvent({
899
+ putSortable,
900
+ cloneEl,
901
+ targetEl: dragEl,
902
+ rootEl,
903
+ oldIndex,
904
+ oldDraggableIndex,
905
+ newIndex,
906
+ newDraggableIndex,
907
+ ...info
908
+ });
909
+ }
910
+
911
+ let dragEl,
912
+ parentEl,
913
+ ghostEl,
914
+ rootEl,
915
+ nextEl,
916
+ lastDownEl,
917
+ cloneEl,
918
+ cloneHidden,
919
+ oldIndex,
920
+ newIndex,
921
+ oldDraggableIndex,
922
+ newDraggableIndex,
923
+ activeGroup,
924
+ putSortable,
925
+ awaitingDragStarted = false,
926
+ ignoreNextClick = false,
927
+ sortables = [],
928
+ tapEvt,
929
+ touchEvt,
930
+ lastDx,
931
+ lastDy,
932
+ tapDistanceLeft,
933
+ tapDistanceTop,
934
+ moved,
935
+ lastTarget,
936
+ lastDirection,
937
+ pastFirstInvertThresh = false,
938
+ isCircumstantialInvert = false,
939
+ targetMoveDistance,
940
+ // For positioning ghost absolutely
941
+ ghostRelativeParent,
942
+ ghostRelativeParentInitialScroll = [],
943
+ // (left, top)
944
+ _silent = false,
945
+ savedInputChecked = [];
946
+ /** @const */
947
+
948
+ const documentExists = typeof document !== 'undefined',
949
+ PositionGhostAbsolutely = IOS,
950
+ CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
951
+ // This will not pass for IE9, because IE9 DnD only works on anchors
952
+ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
953
+ supportCssPointerEvents = function () {
954
+ if (!documentExists) return; // false when <= IE11
955
+
956
+ if (IE11OrLess) {
957
+ return false;
958
+ }
959
+
960
+ let el = document.createElement('x');
961
+ el.style.cssText = 'pointer-events:auto';
962
+ return el.style.pointerEvents === 'auto';
963
+ }(),
964
+ _detectDirection = function (el, options) {
965
+ let elCSS = css(el),
966
+ elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
967
+ child1 = getChild(el, 0, options),
968
+ child2 = getChild(el, 1, options),
969
+ firstChildCSS = child1 && css(child1),
970
+ secondChildCSS = child2 && css(child2),
971
+ firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
972
+ secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
973
+
974
+ if (elCSS.display === 'flex') {
975
+ return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
976
+ }
977
+
978
+ if (elCSS.display === 'grid') {
979
+ return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
980
+ }
981
+
982
+ if (child1 && firstChildCSS.float && firstChildCSS.float !== 'none') {
983
+ let touchingSideChild2 = firstChildCSS.float === 'left' ? 'left' : 'right';
984
+ return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
985
+ }
986
+
987
+ 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';
988
+ },
989
+ _dragElInRowColumn = function (dragRect, targetRect, vertical) {
990
+ let dragElS1Opp = vertical ? dragRect.left : dragRect.top,
991
+ dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
992
+ dragElOppLength = vertical ? dragRect.width : dragRect.height,
993
+ targetS1Opp = vertical ? targetRect.left : targetRect.top,
994
+ targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
995
+ targetOppLength = vertical ? targetRect.width : targetRect.height;
996
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
997
+ },
998
+
999
+ /**
1000
+ * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
1001
+ * @param {Number} x X position
1002
+ * @param {Number} y Y position
1003
+ * @return {HTMLElement} Element of the first found nearest Sortable
1004
+ */
1005
+ _detectNearestEmptySortable = function (x, y) {
1006
+ let ret;
1007
+ sortables.some(sortable => {
1008
+ const threshold = sortable[expando].options.emptyInsertThreshold;
1009
+ if (!threshold || lastChild(sortable)) return;
1010
+ const rect = getRect(sortable),
1011
+ insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
1012
+ insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
1013
+
1014
+ if (insideHorizontally && insideVertically) {
1015
+ return ret = sortable;
1016
+ }
1017
+ });
1018
+ return ret;
1019
+ },
1020
+ _prepareGroup = function (options) {
1021
+ function toFn(value, pull) {
1022
+ return function (to, from, dragEl, evt) {
1023
+ let sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
1024
+
1025
+ if (value == null && (pull || sameGroup)) {
1026
+ // Default pull value
1027
+ // Default pull and put value if same group
1028
+ return true;
1029
+ } else if (value == null || value === false) {
1030
+ return false;
1031
+ } else if (pull && value === 'clone') {
1032
+ return value;
1033
+ } else if (typeof value === 'function') {
1034
+ return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
1035
+ } else {
1036
+ let otherGroup = (pull ? to : from).options.group.name;
1037
+ return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
1038
+ }
1039
+ };
1040
+ }
1041
+
1042
+ let group = {};
1043
+ let originalGroup = options.group;
1044
+
1045
+ if (!originalGroup || typeof originalGroup != 'object') {
1046
+ originalGroup = {
1047
+ name: originalGroup
1048
+ };
1049
+ }
1050
+
1051
+ group.name = originalGroup.name;
1052
+ group.checkPull = toFn(originalGroup.pull, true);
1053
+ group.checkPut = toFn(originalGroup.put);
1054
+ group.revertClone = originalGroup.revertClone;
1055
+ options.group = group;
1056
+ },
1057
+ _hideGhostForTarget = function () {
1058
+ if (!supportCssPointerEvents && ghostEl) {
1059
+ css(ghostEl, 'display', 'none');
1060
+ }
1061
+ },
1062
+ _unhideGhostForTarget = function () {
1063
+ if (!supportCssPointerEvents && ghostEl) {
1064
+ css(ghostEl, 'display', '');
1065
+ }
1066
+ }; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
1067
+
1068
+
1069
+ if (documentExists && !ChromeForAndroid) {
1070
+ document.addEventListener('click', function (evt) {
1071
+ if (ignoreNextClick) {
1072
+ evt.preventDefault();
1073
+ evt.stopPropagation && evt.stopPropagation();
1074
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
1075
+ ignoreNextClick = false;
1076
+ return false;
1077
+ }
1078
+ }, true);
1079
+ }
1080
+
1081
+ let nearestEmptyInsertDetectEvent = function (evt) {
1082
+ if (dragEl) {
1083
+ evt = evt.touches ? evt.touches[0] : evt;
1084
+
1085
+ let nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
1086
+
1087
+ if (nearest) {
1088
+ // Create imitation event
1089
+ let event = {};
1090
+
1091
+ for (let i in evt) {
1092
+ if (evt.hasOwnProperty(i)) {
1093
+ event[i] = evt[i];
1094
+ }
1095
+ }
1096
+
1097
+ event.target = event.rootEl = nearest;
1098
+ event.preventDefault = void 0;
1099
+ event.stopPropagation = void 0;
1100
+
1101
+ nearest[expando]._onDragOver(event);
1102
+ }
1103
+ }
1104
+ };
1105
+
1106
+ let _checkOutsideTargetEl = function (evt) {
1107
+ if (dragEl) {
1108
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1109
+ }
1110
+ };
1111
+ /**
1112
+ * @class Sortable
1113
+ * @param {HTMLElement} el
1114
+ * @param {Object} [options]
1115
+ */
1116
+
1117
+
1118
+ function Sortable(el, options) {
1119
+ if (!(el && el.nodeType && el.nodeType === 1)) {
1120
+ throw `Sortable: \`el\` must be an HTMLElement, not ${{}.toString.call(el)}`;
1121
+ }
1122
+
1123
+ this.el = el; // root element
1124
+
1125
+ this.options = options = _extends({}, options); // Export instance
1126
+
1127
+ el[expando] = this;
1128
+ let defaults = {
1129
+ group: null,
1130
+ sort: true,
1131
+ disabled: false,
1132
+ store: null,
1133
+ handle: null,
1134
+ draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',
1135
+ swapThreshold: 1,
1136
+ // percentage; 0 <= x <= 1
1137
+ invertSwap: false,
1138
+ // invert always
1139
+ invertedSwapThreshold: null,
1140
+ // will be set to same as swapThreshold if default
1141
+ removeCloneOnHide: true,
1142
+ direction: function () {
1143
+ return _detectDirection(el, this.options);
1144
+ },
1145
+ ghostClone: function (dragEl) {
1146
+ return dragEl.cloneNode(true);
1147
+ },
1148
+ ghostClass: 'sortable-ghost',
1149
+ chosenClass: 'sortable-chosen',
1150
+ dragClass: 'sortable-drag',
1151
+ ignore: 'a, img',
1152
+ filter: null,
1153
+ preventOnFilter: true,
1154
+ animation: 0,
1155
+ easing: null,
1156
+ setData: function (dataTransfer, dragEl) {
1157
+ dataTransfer.setData('Text', dragEl.textContent);
1158
+ },
1159
+ dropBubble: false,
1160
+ dragoverBubble: false,
1161
+ dataIdAttr: 'data-id',
1162
+ delay: 0,
1163
+ delayOnTouchOnly: false,
1164
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
1165
+ forceFallback: false,
1166
+ fallbackClass: 'sortable-fallback',
1167
+ fallbackOnBody: false,
1168
+ fallbackTolerance: 0,
1169
+ fallbackOffset: {
1170
+ x: 0,
1171
+ y: 0
1172
+ },
1173
+ supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
1174
+ emptyInsertThreshold: 5
1175
+ };
1176
+ PluginManager.initializePlugins(this, el, defaults); // Set default options
1177
+
1178
+ for (let name in defaults) {
1179
+ !(name in options) && (options[name] = defaults[name]);
1180
+ }
1181
+
1182
+ _prepareGroup(options); // Bind all private methods
1183
+
1184
+
1185
+ for (let fn in this) {
1186
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
1187
+ this[fn] = this[fn].bind(this);
1188
+ }
1189
+ } // Setup drag mode
1190
+
1191
+
1192
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
1193
+
1194
+ if (this.nativeDraggable) {
1195
+ // Touch start threshold cannot be greater than the native dragstart threshold
1196
+ this.options.touchStartThreshold = 1;
1197
+ } // Bind events
1198
+
1199
+
1200
+ if (options.supportPointer) {
1201
+ on(el, 'pointerdown', this._onTapStart);
1202
+ } else {
1203
+ on(el, 'mousedown', this._onTapStart);
1204
+ on(el, 'touchstart', this._onTapStart);
1205
+ }
1206
+
1207
+ if (this.nativeDraggable) {
1208
+ on(el, 'dragover', this);
1209
+ on(el, 'dragenter', this);
1210
+ }
1211
+
1212
+ sortables.push(this.el); // Restore sorting
1213
+
1214
+ options.store && options.store.get && this.sort(options.store.get(this) || []); // Add animation state manager
1215
+
1216
+ _extends(this, AnimationStateManager());
1217
+ }
1218
+
1219
+ Sortable.prototype =
1220
+ /** @lends Sortable.prototype */
1221
+ {
1222
+ constructor: Sortable,
1223
+ _isOutsideThisEl: function (target) {
1224
+ if (!this.el.contains(target) && target !== this.el) {
1225
+ lastTarget = null;
1226
+ }
1227
+ },
1228
+ _getDirection: function (evt, target) {
1229
+ return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
1230
+ },
1231
+ _onTapStart: function (
1232
+ /** Event|TouchEvent */
1233
+ evt) {
1234
+ if (!evt.cancelable) return;
1235
+
1236
+ let _this = this,
1237
+ el = this.el,
1238
+ options = this.options,
1239
+ preventOnFilter = options.preventOnFilter,
1240
+ type = evt.type,
1241
+ touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
1242
+ target = (touch || evt).target,
1243
+ originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
1244
+ filter = options.filter;
1245
+
1246
+ _saveInputCheckedState(el); // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
1247
+
1248
+
1249
+ if (dragEl) {
1250
+ return;
1251
+ }
1252
+
1253
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
1254
+ return; // only left button and enabled
1255
+ } // cancel dnd if original target is content editable
1256
+
1257
+
1258
+ if (originalTarget.isContentEditable) {
1259
+ return;
1260
+ } // Safari ignores further event handling after mousedown
1261
+
1262
+
1263
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
1264
+ return;
1265
+ }
1266
+
1267
+ target = closest(target, options.draggable, el, false);
1268
+
1269
+ if (target && target.animated) {
1270
+ return;
1271
+ }
1272
+
1273
+ if (lastDownEl === target) {
1274
+ // Ignoring duplicate `down`
1275
+ return;
1276
+ } // Get the index of the dragged element within its parent
1277
+
1278
+
1279
+ oldIndex = index(target);
1280
+ oldDraggableIndex = index(target, options.draggable); // Check filter
1281
+
1282
+ if (typeof filter === 'function') {
1283
+ if (filter.call(this, evt, target, this)) {
1284
+ _dispatchEvent({
1285
+ sortable: _this,
1286
+ rootEl: originalTarget,
1287
+ name: 'filter',
1288
+ targetEl: target,
1289
+ toEl: el,
1290
+ fromEl: el
1291
+ });
1292
+
1293
+ pluginEvent('filter', _this, {
1294
+ evt
1295
+ });
1296
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1297
+ return; // cancel dnd
1298
+ }
1299
+ } else if (filter) {
1300
+ filter = filter.split(',').some(function (criteria) {
1301
+ criteria = closest(originalTarget, criteria.trim(), el, false);
1302
+
1303
+ if (criteria) {
1304
+ _dispatchEvent({
1305
+ sortable: _this,
1306
+ rootEl: criteria,
1307
+ name: 'filter',
1308
+ targetEl: target,
1309
+ fromEl: el,
1310
+ toEl: el
1311
+ });
1312
+
1313
+ pluginEvent('filter', _this, {
1314
+ evt
1315
+ });
1316
+ return true;
1317
+ }
1318
+ });
1319
+
1320
+ if (filter) {
1321
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1322
+ return; // cancel dnd
1323
+ }
1324
+ }
1325
+
1326
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
1327
+ return;
1328
+ } // Prepare `dragstart`
1329
+
1330
+
1331
+ this._prepareDragStart(evt, touch, target);
1332
+ },
1333
+ _prepareDragStart: function (
1334
+ /** Event */
1335
+ evt,
1336
+ /** Touch */
1337
+ touch,
1338
+ /** HTMLElement */
1339
+ target) {
1340
+ let _this = this,
1341
+ el = _this.el,
1342
+ options = _this.options,
1343
+ ownerDocument = el.ownerDocument,
1344
+ dragStartFn;
1345
+
1346
+ if (target && !dragEl && target.parentNode === el) {
1347
+ let dragRect = getRect(target);
1348
+ rootEl = el;
1349
+ dragEl = target;
1350
+ parentEl = dragEl.parentNode;
1351
+ nextEl = dragEl.nextSibling;
1352
+ lastDownEl = target;
1353
+ activeGroup = options.group;
1354
+ Sortable.dragged = dragEl;
1355
+ tapEvt = {
1356
+ target: dragEl,
1357
+ clientX: (touch || evt).clientX,
1358
+ clientY: (touch || evt).clientY
1359
+ };
1360
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1361
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1362
+ this._lastX = (touch || evt).clientX;
1363
+ this._lastY = (touch || evt).clientY;
1364
+ dragEl.style['will-change'] = 'all';
1365
+
1366
+ dragStartFn = function () {
1367
+ pluginEvent('delayEnded', _this, {
1368
+ evt
1369
+ });
1370
+
1371
+ if (Sortable.eventCanceled) {
1372
+ _this._onDrop();
1373
+
1374
+ return;
1375
+ } // Delayed drag has been triggered
1376
+ // we can re-enable the events: touchmove/mousemove
1377
+
1378
+
1379
+ _this._disableDelayedDragEvents();
1380
+
1381
+ if (!FireFox && _this.nativeDraggable) {
1382
+ dragEl.draggable = true;
1383
+ } // Bind the events: dragstart/dragend
1384
+
1385
+
1386
+ _this._triggerDragStart(evt, touch); // Drag start event
1387
+
1388
+
1389
+ _dispatchEvent({
1390
+ sortable: _this,
1391
+ name: 'choose',
1392
+ originalEvent: evt
1393
+ }); // Chosen item
1394
+
1395
+
1396
+ toggleClass(dragEl, options.chosenClass, true);
1397
+ }; // Disable "draggable"
1398
+
1399
+
1400
+ options.ignore.split(',').forEach(function (criteria) {
1401
+ find(dragEl, criteria.trim(), _disableDraggable);
1402
+ });
1403
+ on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
1404
+ on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
1405
+ on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
1406
+ on(ownerDocument, 'mouseup', _this._onDrop);
1407
+ on(ownerDocument, 'touchend', _this._onDrop);
1408
+ on(ownerDocument, 'touchcancel', _this._onDrop); // Make dragEl draggable (must be before delay for FireFox)
1409
+
1410
+ if (FireFox && this.nativeDraggable) {
1411
+ this.options.touchStartThreshold = 4;
1412
+ dragEl.draggable = true;
1413
+ }
1414
+
1415
+ pluginEvent('delayStart', this, {
1416
+ evt
1417
+ }); // Delay is impossible for native DnD in Edge or IE
1418
+
1419
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1420
+ if (Sortable.eventCanceled) {
1421
+ this._onDrop();
1422
+
1423
+ return;
1424
+ } // If the user moves the pointer or let go the click or touch
1425
+ // before the delay has been reached:
1426
+ // disable the delayed drag
1427
+
1428
+
1429
+ on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
1430
+ on(ownerDocument, 'touchend', _this._disableDelayedDrag);
1431
+ on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
1432
+ on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
1433
+ on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
1434
+ options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
1435
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1436
+ } else {
1437
+ dragStartFn();
1438
+ }
1439
+ }
1440
+ },
1441
+ _delayedDragTouchMoveHandler: function (
1442
+ /** TouchEvent|PointerEvent **/
1443
+ e) {
1444
+ let touch = e.touches ? e.touches[0] : e;
1445
+
1446
+ 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))) {
1447
+ this._disableDelayedDrag();
1448
+ }
1449
+ },
1450
+ _disableDelayedDrag: function () {
1451
+ dragEl && _disableDraggable(dragEl);
1452
+ clearTimeout(this._dragStartTimer);
1453
+
1454
+ this._disableDelayedDragEvents();
1455
+ },
1456
+ _disableDelayedDragEvents: function () {
1457
+ let ownerDocument = this.el.ownerDocument;
1458
+ off(ownerDocument, 'mouseup', this._disableDelayedDrag);
1459
+ off(ownerDocument, 'touchend', this._disableDelayedDrag);
1460
+ off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
1461
+ off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
1462
+ off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
1463
+ off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
1464
+ },
1465
+ _triggerDragStart: function (
1466
+ /** Event */
1467
+ evt,
1468
+ /** Touch */
1469
+ touch) {
1470
+ touch = touch || evt.pointerType == 'touch' && evt;
1471
+
1472
+ if (!this.nativeDraggable || touch) {
1473
+ if (this.options.supportPointer) {
1474
+ on(document, 'pointermove', this._onTouchMove);
1475
+ } else if (touch) {
1476
+ on(document, 'touchmove', this._onTouchMove);
1477
+ } else {
1478
+ on(document, 'mousemove', this._onTouchMove);
1479
+ }
1480
+ } else {
1481
+ on(dragEl, 'dragend', this);
1482
+ on(rootEl, 'dragstart', this._onDragStart);
1483
+ }
1484
+
1485
+ try {
1486
+ if (document.selection) {
1487
+ // Timeout neccessary for IE9
1488
+ _nextTick(function () {
1489
+ document.selection.empty();
1490
+ });
1491
+ } else {
1492
+ window.getSelection().removeAllRanges();
1493
+ }
1494
+ } catch (err) {}
1495
+ },
1496
+ _dragStarted: function (fallback, evt) {
1497
+
1498
+ awaitingDragStarted = false;
1499
+
1500
+ if (rootEl && dragEl) {
1501
+ pluginEvent('dragStarted', this, {
1502
+ evt
1503
+ });
1504
+
1505
+ if (this.nativeDraggable) {
1506
+ on(document, 'dragover', _checkOutsideTargetEl);
1507
+ }
1508
+
1509
+ let options = this.options; // Apply effect
1510
+
1511
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1512
+ toggleClass(dragEl, options.ghostClass, true);
1513
+ Sortable.active = this;
1514
+ fallback && this._appendGhost(); // Drag start event
1515
+
1516
+ _dispatchEvent({
1517
+ sortable: this,
1518
+ name: 'start',
1519
+ originalEvent: evt
1520
+ });
1521
+ } else {
1522
+ this._nulling();
1523
+ }
1524
+ },
1525
+ _emulateDragOver: function () {
1526
+ if (touchEvt) {
1527
+ this._lastX = touchEvt.clientX;
1528
+ this._lastY = touchEvt.clientY;
1529
+
1530
+ _hideGhostForTarget();
1531
+
1532
+ let target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1533
+ let parent = target;
1534
+
1535
+ while (target && target.shadowRoot) {
1536
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1537
+ if (target === parent) break;
1538
+ parent = target;
1539
+ }
1540
+
1541
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1542
+
1543
+ if (parent) {
1544
+ do {
1545
+ if (parent[expando]) {
1546
+ let inserted;
1547
+ inserted = parent[expando]._onDragOver({
1548
+ clientX: touchEvt.clientX,
1549
+ clientY: touchEvt.clientY,
1550
+ target: target,
1551
+ rootEl: parent
1552
+ });
1553
+
1554
+ if (inserted && !this.options.dragoverBubble) {
1555
+ break;
1556
+ }
1557
+ }
1558
+
1559
+ target = parent; // store last element
1560
+ }
1561
+ /* jshint boss:true */
1562
+ while (parent = parent.parentNode);
1563
+ }
1564
+
1565
+ _unhideGhostForTarget();
1566
+ }
1567
+ },
1568
+ _onTouchMove: function (
1569
+ /**TouchEvent*/
1570
+ evt) {
1571
+ if (tapEvt) {
1572
+ let options = this.options,
1573
+ fallbackTolerance = options.fallbackTolerance,
1574
+ fallbackOffset = options.fallbackOffset,
1575
+ touch = evt.touches ? evt.touches[0] : evt,
1576
+ ghostMatrix = ghostEl && matrix(ghostEl, true),
1577
+ scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
1578
+ scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
1579
+ relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
1580
+ dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
1581
+ 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
1582
+
1583
+ if (!Sortable.active && !awaitingDragStarted) {
1584
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1585
+ return;
1586
+ }
1587
+
1588
+ this._onDragStart(evt, true);
1589
+ }
1590
+
1591
+ if (ghostEl) {
1592
+ if (ghostMatrix) {
1593
+ ghostMatrix.e += dx - (lastDx || 0);
1594
+ ghostMatrix.f += dy - (lastDy || 0);
1595
+ } else {
1596
+ ghostMatrix = {
1597
+ a: 1,
1598
+ b: 0,
1599
+ c: 0,
1600
+ d: 1,
1601
+ e: dx,
1602
+ f: dy
1603
+ };
1604
+ }
1605
+
1606
+ let cssMatrix = `matrix(${ghostMatrix.a},${ghostMatrix.b},${ghostMatrix.c},${ghostMatrix.d},${ghostMatrix.e},${ghostMatrix.f})`;
1607
+ css(ghostEl, 'webkitTransform', cssMatrix);
1608
+ css(ghostEl, 'mozTransform', cssMatrix);
1609
+ css(ghostEl, 'msTransform', cssMatrix);
1610
+ css(ghostEl, 'transform', cssMatrix);
1611
+ lastDx = dx;
1612
+ lastDy = dy;
1613
+ touchEvt = touch;
1614
+ }
1615
+
1616
+ evt.cancelable && evt.preventDefault();
1617
+ }
1618
+ },
1619
+ _appendGhost: function () {
1620
+ // Bug if using scale(): https://stackoverflow.com/questions/2637058
1621
+ // Not being adjusted for
1622
+ if (!ghostEl) {
1623
+ let container = this.options.fallbackOnBody ? document.body : rootEl,
1624
+ rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
1625
+ options = this.options; // Position absolutely
1626
+
1627
+ if (PositionGhostAbsolutely) {
1628
+ // Get relatively positioned parent
1629
+ ghostRelativeParent = container;
1630
+
1631
+ while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
1632
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1633
+ }
1634
+
1635
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1636
+ if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1637
+ rect.top += ghostRelativeParent.scrollTop;
1638
+ rect.left += ghostRelativeParent.scrollLeft;
1639
+ } else {
1640
+ ghostRelativeParent = getWindowScrollingElement();
1641
+ }
1642
+
1643
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1644
+ }
1645
+
1646
+ ghostEl = options.ghostClone(dragEl);
1647
+ toggleClass(ghostEl, options.ghostClass, false);
1648
+ toggleClass(ghostEl, options.fallbackClass, true);
1649
+ toggleClass(ghostEl, options.dragClass, true);
1650
+ css(ghostEl, 'transition', '');
1651
+ css(ghostEl, 'transform', '');
1652
+ css(ghostEl, 'box-sizing', 'border-box');
1653
+ css(ghostEl, 'margin', 0);
1654
+ css(ghostEl, 'top', rect.top);
1655
+ css(ghostEl, 'left', rect.left);
1656
+ css(ghostEl, 'width', rect.width);
1657
+ css(ghostEl, 'height', rect.height);
1658
+ css(ghostEl, 'opacity', '0.8');
1659
+ css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
1660
+ css(ghostEl, 'zIndex', '100000');
1661
+ css(ghostEl, 'pointerEvents', 'none');
1662
+ Sortable.ghost = ghostEl;
1663
+ container.appendChild(ghostEl); // Set transform-origin
1664
+
1665
+ css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
1666
+ }
1667
+ },
1668
+ _onDragStart: function (
1669
+ /**Event*/
1670
+ evt,
1671
+ /**boolean*/
1672
+ fallback) {
1673
+ let _this = this;
1674
+
1675
+ let dataTransfer = evt.dataTransfer;
1676
+ let options = _this.options;
1677
+ pluginEvent('dragStart', this, {
1678
+ evt
1679
+ });
1680
+
1681
+ if (Sortable.eventCanceled) {
1682
+ this._onDrop();
1683
+
1684
+ return;
1685
+ }
1686
+
1687
+ pluginEvent('setupClone', this);
1688
+
1689
+ if (!Sortable.eventCanceled) {
1690
+ cloneEl = clone(dragEl);
1691
+ cloneEl.removeAttribute("id");
1692
+ cloneEl.draggable = false;
1693
+ cloneEl.style['will-change'] = '';
1694
+
1695
+ this._hideClone();
1696
+
1697
+ toggleClass(cloneEl, this.options.chosenClass, false);
1698
+ Sortable.clone = cloneEl;
1699
+ } // #1143: IFrame support workaround
1700
+
1701
+
1702
+ _this.cloneId = _nextTick(function () {
1703
+ pluginEvent('clone', _this);
1704
+ if (Sortable.eventCanceled) return;
1705
+
1706
+ if (!_this.options.removeCloneOnHide) {
1707
+ rootEl.insertBefore(cloneEl, dragEl);
1708
+ }
1709
+
1710
+ _this._hideClone();
1711
+
1712
+ _dispatchEvent({
1713
+ sortable: _this,
1714
+ name: 'clone'
1715
+ });
1716
+ });
1717
+ !fallback && toggleClass(dragEl, options.dragClass, true); // Set proper drop events
1718
+
1719
+ if (fallback) {
1720
+ ignoreNextClick = true;
1721
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1722
+ } else {
1723
+ // Undo what was set in _prepareDragStart before drag started
1724
+ off(document, 'mouseup', _this._onDrop);
1725
+ off(document, 'touchend', _this._onDrop);
1726
+ off(document, 'touchcancel', _this._onDrop);
1727
+
1728
+ if (dataTransfer) {
1729
+ dataTransfer.effectAllowed = 'move';
1730
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1731
+ }
1732
+
1733
+ on(document, 'drop', _this); // #1276 fix:
1734
+
1735
+ css(dragEl, 'transform', 'translateZ(0)');
1736
+ }
1737
+
1738
+ awaitingDragStarted = true;
1739
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1740
+ on(document, 'selectstart', _this);
1741
+ moved = true;
1742
+
1743
+ if (Safari) {
1744
+ css(document.body, 'user-select', 'none');
1745
+ }
1746
+ },
1747
+ // Returns true - if no further action is needed (either inserted or another condition)
1748
+ _onDragOver: function (
1749
+ /**Event*/
1750
+ evt) {
1751
+ let el = this.el,
1752
+ target = evt.target,
1753
+ dragRect,
1754
+ targetRect,
1755
+ revert,
1756
+ options = this.options,
1757
+ group = options.group,
1758
+ activeSortable = Sortable.active,
1759
+ isOwner = activeGroup === group,
1760
+ canSort = options.sort,
1761
+ fromSortable = putSortable || activeSortable,
1762
+ vertical,
1763
+ _this = this,
1764
+ completedFired = false;
1765
+
1766
+ if (_silent) return;
1767
+
1768
+ function dragOverEvent(name, extra) {
1769
+ pluginEvent(name, _this, {
1770
+ evt,
1771
+ isOwner,
1772
+ axis: vertical ? 'vertical' : 'horizontal',
1773
+ revert,
1774
+ dragRect,
1775
+ targetRect,
1776
+ canSort,
1777
+ fromSortable,
1778
+ target,
1779
+ completed,
1780
+
1781
+ onMove(target, after) {
1782
+ return onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);
1783
+ },
1784
+
1785
+ changed,
1786
+ ...extra
1787
+ });
1788
+ } // Capture animation state
1789
+
1790
+
1791
+ function capture() {
1792
+ dragOverEvent('dragOverAnimationCapture');
1793
+
1794
+ _this.captureAnimationState();
1795
+
1796
+ if (_this !== fromSortable) {
1797
+ fromSortable.captureAnimationState();
1798
+ }
1799
+ } // Return invocation when dragEl is inserted (or completed)
1800
+
1801
+
1802
+ function completed(insertion) {
1803
+ dragOverEvent('dragOverCompleted', {
1804
+ insertion
1805
+ });
1806
+
1807
+ if (insertion) {
1808
+ // Clones must be hidden before folding animation to capture dragRectAbsolute properly
1809
+ if (isOwner) {
1810
+ activeSortable._hideClone();
1811
+ } else {
1812
+ activeSortable._showClone(_this);
1813
+ }
1814
+
1815
+ if (_this !== fromSortable) {
1816
+ // Set ghost class to new sortable's ghost class
1817
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1818
+ toggleClass(dragEl, options.ghostClass, true);
1819
+ }
1820
+
1821
+ if (putSortable !== _this && _this !== Sortable.active) {
1822
+ putSortable = _this;
1823
+ } else if (_this === Sortable.active && putSortable) {
1824
+ putSortable = null;
1825
+ } // Animation
1826
+
1827
+
1828
+ if (fromSortable === _this) {
1829
+ _this._ignoreWhileAnimating = target;
1830
+ }
1831
+
1832
+ _this.animateAll(function () {
1833
+ dragOverEvent('dragOverAnimationComplete');
1834
+ _this._ignoreWhileAnimating = null;
1835
+ });
1836
+
1837
+ if (_this !== fromSortable) {
1838
+ fromSortable.animateAll();
1839
+ fromSortable._ignoreWhileAnimating = null;
1840
+ }
1841
+ } // Null lastTarget if it is not inside a previously swapped element
1842
+
1843
+
1844
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1845
+ lastTarget = null;
1846
+ } // no bubbling and not fallback
1847
+
1848
+
1849
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1850
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target); // Do not detect for empty insert if already inserted
1851
+
1852
+
1853
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1854
+ }
1855
+
1856
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1857
+ return completedFired = true;
1858
+ } // Call when dragEl has been inserted
1859
+
1860
+
1861
+ function changed() {
1862
+ newIndex = index(dragEl);
1863
+ newDraggableIndex = index(dragEl, options.draggable);
1864
+
1865
+ _dispatchEvent({
1866
+ sortable: _this,
1867
+ name: 'change',
1868
+ toEl: el,
1869
+ newIndex,
1870
+ newDraggableIndex,
1871
+ originalEvent: evt
1872
+ });
1873
+ }
1874
+
1875
+ if (evt.preventDefault !== void 0) {
1876
+ evt.cancelable && evt.preventDefault();
1877
+ }
1878
+
1879
+ target = closest(target, options.draggable, el, true);
1880
+ dragOverEvent('dragOver');
1881
+ if (Sortable.eventCanceled) return completedFired;
1882
+
1883
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1884
+ return completed(false);
1885
+ }
1886
+
1887
+ ignoreNextClick = false;
1888
+
1889
+ if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
1890
+ : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
1891
+ vertical = this._getDirection(evt, target) === 'vertical';
1892
+ dragRect = getRect(dragEl);
1893
+ dragOverEvent('dragOverValid');
1894
+ if (Sortable.eventCanceled) return completedFired;
1895
+
1896
+ if (revert) {
1897
+ parentEl = rootEl; // actualization
1898
+
1899
+ capture();
1900
+
1901
+ this._hideClone();
1902
+
1903
+ dragOverEvent('revert');
1904
+
1905
+ if (!Sortable.eventCanceled) {
1906
+ if (nextEl) {
1907
+ rootEl.insertBefore(dragEl, nextEl);
1908
+ } else {
1909
+ rootEl.appendChild(dragEl);
1910
+ }
1911
+ }
1912
+
1913
+ return completed(true);
1914
+ }
1915
+
1916
+ let elLastChild = lastChild(el, options.draggable);
1917
+
1918
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1919
+ // Insert to end of list
1920
+ // If already at end of list: Do not insert
1921
+ if (elLastChild === dragEl) {
1922
+ return completed(false);
1923
+ } // if there is a last element, it is the target
1924
+
1925
+
1926
+ if (elLastChild && el === evt.target) {
1927
+ target = elLastChild;
1928
+ }
1929
+
1930
+ if (target) {
1931
+ targetRect = getRect(target);
1932
+ }
1933
+
1934
+ if (onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1935
+ capture();
1936
+
1937
+ if (elLastChild && elLastChild.nextSibling) {
1938
+ // the last draggable element is not the last node
1939
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1940
+ } else {
1941
+ el.appendChild(dragEl);
1942
+ }
1943
+
1944
+ parentEl = el; // actualization
1945
+
1946
+ changed();
1947
+ return completed(true);
1948
+ }
1949
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1950
+ // Insert to start of list
1951
+ let firstChild = getChild(el, 0, options, true);
1952
+
1953
+ if (firstChild === dragEl) {
1954
+ return completed(false);
1955
+ }
1956
+
1957
+ target = firstChild;
1958
+ targetRect = getRect(target);
1959
+
1960
+ if (onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
1961
+ capture();
1962
+ el.insertBefore(dragEl, firstChild);
1963
+ parentEl = el; // actualization
1964
+
1965
+ changed();
1966
+ return completed(true);
1967
+ }
1968
+ } else if (target.parentNode === el) {
1969
+ targetRect = getRect(target);
1970
+ let direction = 0,
1971
+ targetBeforeFirstSwap,
1972
+ differentLevel = dragEl.parentNode !== el,
1973
+ differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
1974
+ side1 = vertical ? 'top' : 'left',
1975
+ scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
1976
+ scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
1977
+
1978
+ if (lastTarget !== target) {
1979
+ targetBeforeFirstSwap = targetRect[side1];
1980
+ pastFirstInvertThresh = false;
1981
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
1982
+ }
1983
+
1984
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
1985
+ let sibling;
1986
+
1987
+ if (direction !== 0) {
1988
+ // Check if target is beside dragEl in respective direction (ignoring hidden elements)
1989
+ let dragIndex = index(dragEl);
1990
+
1991
+ do {
1992
+ dragIndex -= direction;
1993
+ sibling = parentEl.children[dragIndex];
1994
+ } while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
1995
+ } // If dragEl is already beside target: Do not insert
1996
+
1997
+
1998
+ if (direction === 0 || sibling === target) {
1999
+ return completed(false);
2000
+ }
2001
+
2002
+ lastTarget = target;
2003
+ lastDirection = direction;
2004
+ let nextSibling = target.nextElementSibling,
2005
+ after = false;
2006
+ after = direction === 1;
2007
+ let moveVector = onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
2008
+
2009
+ if (moveVector !== false) {
2010
+ if (moveVector === 1 || moveVector === -1) {
2011
+ after = moveVector === 1;
2012
+ }
2013
+
2014
+ _silent = true;
2015
+ setTimeout(_unsilent, 30);
2016
+ capture();
2017
+
2018
+ if (after && !nextSibling) {
2019
+ el.appendChild(dragEl);
2020
+ } else {
2021
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
2022
+ } // Undo chrome's scroll adjustment (has no effect on other browsers)
2023
+
2024
+
2025
+ if (scrolledPastTop) {
2026
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
2027
+ }
2028
+
2029
+ parentEl = dragEl.parentNode; // actualization
2030
+ // must be done before animation
2031
+
2032
+ if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
2033
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
2034
+ }
2035
+
2036
+ changed();
2037
+ return completed(true);
2038
+ }
2039
+ }
2040
+
2041
+ if (el.contains(dragEl)) {
2042
+ return completed(false);
2043
+ }
2044
+ }
2045
+
2046
+ return false;
2047
+ },
2048
+ _ignoreWhileAnimating: null,
2049
+ _offMoveEvents: function () {
2050
+ off(document, 'mousemove', this._onTouchMove);
2051
+ off(document, 'touchmove', this._onTouchMove);
2052
+ off(document, 'pointermove', this._onTouchMove);
2053
+ off(document, 'dragover', nearestEmptyInsertDetectEvent);
2054
+ off(document, 'mousemove', nearestEmptyInsertDetectEvent);
2055
+ off(document, 'touchmove', nearestEmptyInsertDetectEvent);
2056
+ },
2057
+ _offUpEvents: function () {
2058
+ let ownerDocument = this.el.ownerDocument;
2059
+ off(ownerDocument, 'mouseup', this._onDrop);
2060
+ off(ownerDocument, 'touchend', this._onDrop);
2061
+ off(ownerDocument, 'pointerup', this._onDrop);
2062
+ off(ownerDocument, 'touchcancel', this._onDrop);
2063
+ off(document, 'selectstart', this);
2064
+ },
2065
+ _onDrop: function (
2066
+ /**Event*/
2067
+ evt) {
2068
+ let el = this.el,
2069
+ options = this.options; // Get the index of the dragged element within its parent
2070
+
2071
+ newIndex = index(dragEl);
2072
+ newDraggableIndex = index(dragEl, options.draggable);
2073
+ pluginEvent('drop', this, {
2074
+ evt
2075
+ });
2076
+ parentEl = dragEl && dragEl.parentNode; // Get again after plugin event
2077
+
2078
+ newIndex = index(dragEl);
2079
+ newDraggableIndex = index(dragEl, options.draggable);
2080
+
2081
+ if (Sortable.eventCanceled) {
2082
+ this._nulling();
2083
+
2084
+ return;
2085
+ }
2086
+
2087
+ awaitingDragStarted = false;
2088
+ isCircumstantialInvert = false;
2089
+ pastFirstInvertThresh = false;
2090
+ clearInterval(this._loopId);
2091
+ clearTimeout(this._dragStartTimer);
2092
+
2093
+ _cancelNextTick(this.cloneId);
2094
+
2095
+ _cancelNextTick(this._dragStartId); // Unbind events
2096
+
2097
+
2098
+ if (this.nativeDraggable) {
2099
+ off(document, 'drop', this);
2100
+ off(el, 'dragstart', this._onDragStart);
2101
+ }
2102
+
2103
+ this._offMoveEvents();
2104
+
2105
+ this._offUpEvents();
2106
+
2107
+ if (Safari) {
2108
+ css(document.body, 'user-select', '');
2109
+ }
2110
+
2111
+ css(dragEl, 'transform', '');
2112
+
2113
+ if (evt) {
2114
+ if (moved) {
2115
+ evt.cancelable && evt.preventDefault();
2116
+ !options.dropBubble && evt.stopPropagation();
2117
+ }
2118
+
2119
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
2120
+
2121
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
2122
+ // Remove clone(s)
2123
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
2124
+ }
2125
+
2126
+ if (dragEl) {
2127
+ if (this.nativeDraggable) {
2128
+ off(dragEl, 'dragend', this);
2129
+ }
2130
+
2131
+ _disableDraggable(dragEl);
2132
+
2133
+ dragEl.style['will-change'] = ''; // Remove classes
2134
+ // ghostClass is added in dragStarted
2135
+
2136
+ if (moved && !awaitingDragStarted) {
2137
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
2138
+ }
2139
+
2140
+ toggleClass(dragEl, this.options.chosenClass, false); // Drag stop event
2141
+
2142
+ _dispatchEvent({
2143
+ sortable: this,
2144
+ name: 'unchoose',
2145
+ toEl: parentEl,
2146
+ newIndex: null,
2147
+ newDraggableIndex: null,
2148
+ originalEvent: evt
2149
+ });
2150
+
2151
+ if (rootEl !== parentEl) {
2152
+ if (newIndex >= 0) {
2153
+ // Add event
2154
+ _dispatchEvent({
2155
+ rootEl: parentEl,
2156
+ name: 'add',
2157
+ toEl: parentEl,
2158
+ fromEl: rootEl,
2159
+ originalEvent: evt
2160
+ }); // Remove event
2161
+
2162
+
2163
+ _dispatchEvent({
2164
+ sortable: this,
2165
+ name: 'remove',
2166
+ toEl: parentEl,
2167
+ originalEvent: evt
2168
+ }); // drag from one list and drop into another
2169
+
2170
+
2171
+ _dispatchEvent({
2172
+ rootEl: parentEl,
2173
+ name: 'sort',
2174
+ toEl: parentEl,
2175
+ fromEl: rootEl,
2176
+ originalEvent: evt
2177
+ });
2178
+
2179
+ _dispatchEvent({
2180
+ sortable: this,
2181
+ name: 'sort',
2182
+ toEl: parentEl,
2183
+ originalEvent: evt
2184
+ });
2185
+ }
2186
+
2187
+ putSortable && putSortable.save();
2188
+ } else {
2189
+ if (newIndex !== oldIndex) {
2190
+ if (newIndex >= 0) {
2191
+ // drag & drop within the same list
2192
+ _dispatchEvent({
2193
+ sortable: this,
2194
+ name: 'update',
2195
+ toEl: parentEl,
2196
+ originalEvent: evt
2197
+ });
2198
+
2199
+ _dispatchEvent({
2200
+ sortable: this,
2201
+ name: 'sort',
2202
+ toEl: parentEl,
2203
+ originalEvent: evt
2204
+ });
2205
+ }
2206
+ }
2207
+ }
2208
+
2209
+ if (Sortable.active) {
2210
+ /* jshint eqnull:true */
2211
+ if (newIndex == null || newIndex === -1) {
2212
+ newIndex = oldIndex;
2213
+ newDraggableIndex = oldDraggableIndex;
2214
+ }
2215
+
2216
+ _dispatchEvent({
2217
+ sortable: this,
2218
+ name: 'end',
2219
+ toEl: parentEl,
2220
+ originalEvent: evt
2221
+ }); // Save sorting
2222
+
2223
+
2224
+ this.save();
2225
+ }
2226
+ }
2227
+ }
2228
+
2229
+ this._nulling();
2230
+ },
2231
+ _nulling: function () {
2232
+ pluginEvent('nulling', this);
2233
+ rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
2234
+ savedInputChecked.forEach(function (el) {
2235
+ el.checked = true;
2236
+ });
2237
+ savedInputChecked.length = lastDx = lastDy = 0;
2238
+ },
2239
+ handleEvent: function (
2240
+ /**Event*/
2241
+ evt) {
2242
+ switch (evt.type) {
2243
+ case 'drop':
2244
+ case 'dragend':
2245
+ this._onDrop(evt);
2246
+
2247
+ break;
2248
+
2249
+ case 'dragenter':
2250
+ case 'dragover':
2251
+ if (dragEl) {
2252
+ this._onDragOver(evt);
2253
+
2254
+ _globalDragOver(evt);
2255
+ }
2256
+
2257
+ break;
2258
+
2259
+ case 'selectstart':
2260
+ evt.preventDefault();
2261
+ break;
2262
+ }
2263
+ },
2264
+
2265
+ /**
2266
+ * Serializes the item into an array of string.
2267
+ * @returns {String[]}
2268
+ */
2269
+ toArray: function () {
2270
+ let order = [],
2271
+ el,
2272
+ children = this.el.children,
2273
+ i = 0,
2274
+ n = children.length,
2275
+ options = this.options;
2276
+
2277
+ for (; i < n; i++) {
2278
+ el = children[i];
2279
+
2280
+ if (closest(el, options.draggable, this.el, false)) {
2281
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
2282
+ }
2283
+ }
2284
+
2285
+ return order;
2286
+ },
2287
+
2288
+ /**
2289
+ * Sorts the elements according to the array.
2290
+ * @param {String[]} order order of the items
2291
+ */
2292
+ sort: function (order, useAnimation) {
2293
+ let items = {},
2294
+ rootEl = this.el;
2295
+ this.toArray().forEach(function (id, i) {
2296
+ let el = rootEl.children[i];
2297
+
2298
+ if (closest(el, this.options.draggable, rootEl, false)) {
2299
+ items[id] = el;
2300
+ }
2301
+ }, this);
2302
+ useAnimation && this.captureAnimationState();
2303
+ order.forEach(function (id) {
2304
+ if (items[id]) {
2305
+ rootEl.removeChild(items[id]);
2306
+ rootEl.appendChild(items[id]);
2307
+ }
2308
+ });
2309
+ useAnimation && this.animateAll();
2310
+ },
2311
+
2312
+ /**
2313
+ * Save the current sorting
2314
+ */
2315
+ save: function () {
2316
+ let store = this.options.store;
2317
+ store && store.set && store.set(this);
2318
+ },
2319
+
2320
+ /**
2321
+ * 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.
2322
+ * @param {HTMLElement} el
2323
+ * @param {String} [selector] default: `options.draggable`
2324
+ * @returns {HTMLElement|null}
2325
+ */
2326
+ closest: function (el, selector) {
2327
+ return closest(el, selector || this.options.draggable, this.el, false);
2328
+ },
2329
+
2330
+ /**
2331
+ * Set/get option
2332
+ * @param {string} name
2333
+ * @param {*} [value]
2334
+ * @returns {*}
2335
+ */
2336
+ option: function (name, value) {
2337
+ let options = this.options;
2338
+
2339
+ if (value === void 0) {
2340
+ return options[name];
2341
+ } else {
2342
+ let modifiedValue = PluginManager.modifyOption(this, name, value);
2343
+
2344
+ if (typeof modifiedValue !== 'undefined') {
2345
+ options[name] = modifiedValue;
2346
+ } else {
2347
+ options[name] = value;
2348
+ }
2349
+
2350
+ if (name === 'group') {
2351
+ _prepareGroup(options);
2352
+ }
2353
+ }
2354
+ },
2355
+
2356
+ /**
2357
+ * Destroy
2358
+ */
2359
+ destroy: function () {
2360
+ pluginEvent('destroy', this);
2361
+ let el = this.el;
2362
+ el[expando] = null;
2363
+ off(el, 'mousedown', this._onTapStart);
2364
+ off(el, 'touchstart', this._onTapStart);
2365
+ off(el, 'pointerdown', this._onTapStart);
2366
+
2367
+ if (this.nativeDraggable) {
2368
+ off(el, 'dragover', this);
2369
+ off(el, 'dragenter', this);
2370
+ } // Remove draggable attributes
2371
+
2372
+
2373
+ Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
2374
+ el.removeAttribute('draggable');
2375
+ });
2376
+
2377
+ this._onDrop();
2378
+
2379
+ this._disableDelayedDragEvents();
2380
+
2381
+ sortables.splice(sortables.indexOf(this.el), 1);
2382
+ this.el = el = null;
2383
+ },
2384
+ _hideClone: function () {
2385
+ if (!cloneHidden) {
2386
+ pluginEvent('hideClone', this);
2387
+ if (Sortable.eventCanceled) return;
2388
+ css(cloneEl, 'display', 'none');
2389
+
2390
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
2391
+ cloneEl.parentNode.removeChild(cloneEl);
2392
+ }
2393
+
2394
+ cloneHidden = true;
2395
+ }
2396
+ },
2397
+ _showClone: function (putSortable) {
2398
+ if (putSortable.lastPutMode !== 'clone') {
2399
+ this._hideClone();
2400
+
2401
+ return;
2402
+ }
2403
+
2404
+ if (cloneHidden) {
2405
+ pluginEvent('showClone', this);
2406
+ if (Sortable.eventCanceled) return; // show clone at dragEl or original position
2407
+
2408
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
2409
+ rootEl.insertBefore(cloneEl, dragEl);
2410
+ } else if (nextEl) {
2411
+ rootEl.insertBefore(cloneEl, nextEl);
2412
+ } else {
2413
+ rootEl.appendChild(cloneEl);
2414
+ }
2415
+
2416
+ if (this.options.group.revertClone) {
2417
+ this.animate(dragEl, cloneEl);
2418
+ }
2419
+
2420
+ css(cloneEl, 'display', '');
2421
+ cloneHidden = false;
2422
+ }
2423
+ }
2424
+ };
2425
+
2426
+ function _globalDragOver(
2427
+ /**Event*/
2428
+ evt) {
2429
+ if (evt.dataTransfer) {
2430
+ evt.dataTransfer.dropEffect = 'move';
2431
+ }
2432
+
2433
+ evt.cancelable && evt.preventDefault();
2434
+ }
2435
+
2436
+ function onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
2437
+ let evt,
2438
+ sortable = fromEl[expando],
2439
+ onMoveFn = sortable.options.onMove,
2440
+ retVal; // Support for new CustomEvent feature
2441
+
2442
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
2443
+ evt = new CustomEvent('move', {
2444
+ bubbles: true,
2445
+ cancelable: true
2446
+ });
2447
+ } else {
2448
+ evt = document.createEvent('Event');
2449
+ evt.initEvent('move', true, true);
2450
+ }
2451
+
2452
+ evt.to = toEl;
2453
+ evt.from = fromEl;
2454
+ evt.dragged = dragEl;
2455
+ evt.draggedRect = dragRect;
2456
+ evt.related = targetEl || toEl;
2457
+ evt.relatedRect = targetRect || getRect(toEl);
2458
+ evt.willInsertAfter = willInsertAfter;
2459
+ evt.originalEvent = originalEvent;
2460
+ fromEl.dispatchEvent(evt);
2461
+
2462
+ if (onMoveFn) {
2463
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
2464
+ }
2465
+
2466
+ return retVal;
2467
+ }
2468
+
2469
+ function _disableDraggable(el) {
2470
+ el.draggable = false;
2471
+ }
2472
+
2473
+ function _unsilent() {
2474
+ _silent = false;
2475
+ }
2476
+
2477
+ function _ghostIsFirst(evt, vertical, sortable) {
2478
+ let rect = getRect(getChild(sortable.el, 0, sortable.options, true));
2479
+ const spacer = 10;
2480
+ 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;
2481
+ }
2482
+
2483
+ function _ghostIsLast(evt, vertical, sortable) {
2484
+ let rect = getRect(lastChild(sortable.el, sortable.options.draggable));
2485
+ const spacer = 10;
2486
+ 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;
2487
+ }
2488
+
2489
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
2490
+ let mouseOnAxis = vertical ? evt.clientY : evt.clientX,
2491
+ targetLength = vertical ? targetRect.height : targetRect.width,
2492
+ targetS1 = vertical ? targetRect.top : targetRect.left,
2493
+ targetS2 = vertical ? targetRect.bottom : targetRect.right,
2494
+ invert = false;
2495
+
2496
+ if (!invertSwap) {
2497
+ // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
2498
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
2499
+ // multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2
2500
+ // check if past first invert threshold on side opposite of lastDirection
2501
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
2502
+ // past first invert threshold, do not restrict inverted threshold to dragEl shadow
2503
+ pastFirstInvertThresh = true;
2504
+ }
2505
+
2506
+ if (!pastFirstInvertThresh) {
2507
+ // dragEl shadow (target move distance shadow)
2508
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
2509
+ : mouseOnAxis > targetS2 - targetMoveDistance) {
2510
+ return -lastDirection;
2511
+ }
2512
+ } else {
2513
+ invert = true;
2514
+ }
2515
+ } else {
2516
+ // Regular
2517
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
2518
+ return _getInsertDirection(target);
2519
+ }
2520
+ }
2521
+ }
2522
+
2523
+ invert = invert || invertSwap;
2524
+
2525
+ if (invert) {
2526
+ // Invert of regular
2527
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
2528
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
2529
+ }
2530
+ }
2531
+
2532
+ return 0;
2533
+ }
2534
+ /**
2535
+ * Gets the direction dragEl must be swapped relative to target in order to make it
2536
+ * seem that dragEl has been "inserted" into that element's position
2537
+ * @param {HTMLElement} target The target whose position dragEl is being inserted at
2538
+ * @return {Number} Direction dragEl must be swapped
2539
+ */
2540
+
2541
+
2542
+ function _getInsertDirection(target) {
2543
+ if (index(dragEl) < index(target)) {
2544
+ return 1;
2545
+ } else {
2546
+ return -1;
2547
+ }
2548
+ }
2549
+ /**
2550
+ * Generate id
2551
+ * @param {HTMLElement} el
2552
+ * @returns {String}
2553
+ * @private
2554
+ */
2555
+
2556
+
2557
+ function _generateId(el) {
2558
+ let str = el.tagName + el.className + el.src + el.href + el.textContent,
2559
+ i = str.length,
2560
+ sum = 0;
2561
+
2562
+ while (i--) {
2563
+ sum += str.charCodeAt(i);
2564
+ }
2565
+
2566
+ return sum.toString(36);
2567
+ }
2568
+
2569
+ function _saveInputCheckedState(root) {
2570
+ savedInputChecked.length = 0;
2571
+ let inputs = root.getElementsByTagName('input');
2572
+ let idx = inputs.length;
2573
+
2574
+ while (idx--) {
2575
+ let el = inputs[idx];
2576
+ el.checked && savedInputChecked.push(el);
2577
+ }
2578
+ }
2579
+
2580
+ function _nextTick(fn) {
2581
+ return setTimeout(fn, 0);
2582
+ }
2583
+
2584
+ function _cancelNextTick(id) {
2585
+ return clearTimeout(id);
2586
+ } // Fixed #973:
2587
+
2588
+
2589
+ if (documentExists) {
2590
+ on(document, 'touchmove', function (evt) {
2591
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
2592
+ evt.preventDefault();
2593
+ }
2594
+ });
2595
+ } // Export utils
2596
+
2597
+
2598
+ Sortable.utils = {
2599
+ on: on,
2600
+ off: off,
2601
+ css: css,
2602
+ find: find,
2603
+ is: function (el, selector) {
2604
+ return !!closest(el, selector, el, false);
2605
+ },
2606
+ extend: extend,
2607
+ throttle: throttle,
2608
+ closest: closest,
2609
+ toggleClass: toggleClass,
2610
+ clone: clone,
2611
+ index: index,
2612
+ nextTick: _nextTick,
2613
+ cancelNextTick: _cancelNextTick,
2614
+ detectDirection: _detectDirection,
2615
+ getChild: getChild
2616
+ };
2617
+ /**
2618
+ * Get the Sortable instance of an element
2619
+ * @param {HTMLElement} element The element
2620
+ * @return {Sortable|undefined} The instance of Sortable
2621
+ */
2622
+
2623
+ Sortable.get = function (element) {
2624
+ return element[expando];
2625
+ };
2626
+ /**
2627
+ * Mount a plugin to Sortable
2628
+ * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2629
+ */
2630
+
2631
+
2632
+ Sortable.mount = function (...plugins) {
2633
+ if (plugins[0].constructor === Array) plugins = plugins[0];
2634
+ plugins.forEach(plugin => {
2635
+ if (!plugin.prototype || !plugin.prototype.constructor) {
2636
+ throw `Sortable: Mounted plugin must be a constructor function, not ${{}.toString.call(plugin)}`;
2637
+ }
2638
+
2639
+ if (plugin.utils) Sortable.utils = { ...Sortable.utils,
2640
+ ...plugin.utils
2641
+ };
2642
+ PluginManager.mount(plugin);
2643
+ });
2644
+ };
2645
+ /**
2646
+ * Create sortable instance
2647
+ * @param {HTMLElement} el
2648
+ * @param {Object} [options]
2649
+ */
2650
+
2651
+
2652
+ Sortable.create = function (el, options) {
2653
+ return new Sortable(el, options);
2654
+ }; // Export
2655
+
2656
+
2657
+ Sortable.version = version;
2658
+
2659
+ let autoScrolls = [],
2660
+ scrollEl,
2661
+ scrollRootEl,
2662
+ scrolling = false,
2663
+ lastAutoScrollX,
2664
+ lastAutoScrollY,
2665
+ touchEvt$1,
2666
+ pointerElemChangedInterval;
2667
+
2668
+ function AutoScrollPlugin() {
2669
+ function AutoScroll() {
2670
+ this.defaults = {
2671
+ scroll: true,
2672
+ forceAutoScrollFallback: false,
2673
+ scrollSensitivity: 30,
2674
+ scrollSpeed: 10,
2675
+ bubbleScroll: true
2676
+ }; // Bind all private methods
2677
+
2678
+ for (let fn in this) {
2679
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
2680
+ this[fn] = this[fn].bind(this);
2681
+ }
2682
+ }
2683
+ }
2684
+
2685
+ AutoScroll.prototype = {
2686
+ dragStarted({
2687
+ originalEvent
2688
+ }) {
2689
+ if (this.sortable.nativeDraggable) {
2690
+ on(document, 'dragover', this._handleAutoScroll);
2691
+ } else {
2692
+ if (this.options.supportPointer) {
2693
+ on(document, 'pointermove', this._handleFallbackAutoScroll);
2694
+ } else if (originalEvent.touches) {
2695
+ on(document, 'touchmove', this._handleFallbackAutoScroll);
2696
+ } else {
2697
+ on(document, 'mousemove', this._handleFallbackAutoScroll);
2698
+ }
2699
+ }
2700
+ },
2701
+
2702
+ dragOverCompleted({
2703
+ originalEvent
2704
+ }) {
2705
+ // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
2706
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2707
+ this._handleAutoScroll(originalEvent);
2708
+ }
2709
+ },
2710
+
2711
+ drop() {
2712
+ if (this.sortable.nativeDraggable) {
2713
+ off(document, 'dragover', this._handleAutoScroll);
2714
+ } else {
2715
+ off(document, 'pointermove', this._handleFallbackAutoScroll);
2716
+ off(document, 'touchmove', this._handleFallbackAutoScroll);
2717
+ off(document, 'mousemove', this._handleFallbackAutoScroll);
2718
+ }
2719
+
2720
+ clearPointerElemChangedInterval();
2721
+ clearAutoScrolls();
2722
+ cancelThrottle();
2723
+ },
2724
+
2725
+ nulling() {
2726
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2727
+ autoScrolls.length = 0;
2728
+ },
2729
+
2730
+ _handleFallbackAutoScroll(evt) {
2731
+ this._handleAutoScroll(evt, true);
2732
+ },
2733
+
2734
+ _handleAutoScroll(evt, fallback) {
2735
+ const x = (evt.touches ? evt.touches[0] : evt).clientX,
2736
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2737
+ elem = document.elementFromPoint(x, y);
2738
+ touchEvt$1 = evt; // IE does not seem to have native autoscroll,
2739
+ // Edge's autoscroll seems too conditional,
2740
+ // MACOS Safari does not have autoscroll,
2741
+ // Firefox and Chrome are good
2742
+
2743
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2744
+ autoScroll(evt, this.options, elem, fallback); // Listener for pointer element change
2745
+
2746
+ let ogElemScroller = getParentAutoScrollElement(elem, true);
2747
+
2748
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2749
+ pointerElemChangedInterval && clearPointerElemChangedInterval(); // Detect for pointer elem change, emulating native DnD behaviour
2750
+
2751
+ pointerElemChangedInterval = setInterval(() => {
2752
+ let newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2753
+
2754
+ if (newElem !== ogElemScroller) {
2755
+ ogElemScroller = newElem;
2756
+ clearAutoScrolls();
2757
+ }
2758
+
2759
+ autoScroll(evt, this.options, newElem, fallback);
2760
+ }, 10);
2761
+ lastAutoScrollX = x;
2762
+ lastAutoScrollY = y;
2763
+ }
2764
+ } else {
2765
+ // if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
2766
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2767
+ clearAutoScrolls();
2768
+ return;
2769
+ }
2770
+
2771
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2772
+ }
2773
+ }
2774
+
2775
+ };
2776
+ return _extends(AutoScroll, {
2777
+ pluginName: 'scroll',
2778
+ initializeByDefault: true
2779
+ });
2780
+ }
2781
+
2782
+ function clearAutoScrolls() {
2783
+ autoScrolls.forEach(function (autoScroll) {
2784
+ clearInterval(autoScroll.pid);
2785
+ });
2786
+ autoScrolls = [];
2787
+ }
2788
+
2789
+ function clearPointerElemChangedInterval() {
2790
+ clearInterval(pointerElemChangedInterval);
2791
+ }
2792
+
2793
+ const autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2794
+ // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
2795
+ if (!options.scroll) return;
2796
+ const x = (evt.touches ? evt.touches[0] : evt).clientX,
2797
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2798
+ sens = options.scrollSensitivity,
2799
+ speed = options.scrollSpeed,
2800
+ winScroller = getWindowScrollingElement();
2801
+ let scrollThisInstance = false,
2802
+ scrollCustomFn; // New scroll root, set scrollEl
2803
+
2804
+ if (scrollRootEl !== rootEl) {
2805
+ scrollRootEl = rootEl;
2806
+ clearAutoScrolls();
2807
+ scrollEl = options.scroll;
2808
+ scrollCustomFn = options.scrollFn;
2809
+
2810
+ if (scrollEl === true) {
2811
+ scrollEl = getParentAutoScrollElement(rootEl, true);
2812
+ }
2813
+ }
2814
+
2815
+ let layersOut = 0;
2816
+ let currentParent = scrollEl;
2817
+
2818
+ do {
2819
+ let el = currentParent,
2820
+ rect = getRect(el),
2821
+ top = rect.top,
2822
+ bottom = rect.bottom,
2823
+ left = rect.left,
2824
+ right = rect.right,
2825
+ width = rect.width,
2826
+ height = rect.height,
2827
+ canScrollX,
2828
+ canScrollY,
2829
+ scrollWidth = el.scrollWidth,
2830
+ scrollHeight = el.scrollHeight,
2831
+ elCSS = css(el),
2832
+ scrollPosX = el.scrollLeft,
2833
+ scrollPosY = el.scrollTop;
2834
+
2835
+ if (el === winScroller) {
2836
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
2837
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
2838
+ } else {
2839
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
2840
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
2841
+ }
2842
+
2843
+ let vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2844
+ let vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2845
+
2846
+ if (!autoScrolls[layersOut]) {
2847
+ for (let i = 0; i <= layersOut; i++) {
2848
+ if (!autoScrolls[i]) {
2849
+ autoScrolls[i] = {};
2850
+ }
2851
+ }
2852
+ }
2853
+
2854
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2855
+ autoScrolls[layersOut].el = el;
2856
+ autoScrolls[layersOut].vx = vx;
2857
+ autoScrolls[layersOut].vy = vy;
2858
+ clearInterval(autoScrolls[layersOut].pid);
2859
+
2860
+ if (vx != 0 || vy != 0) {
2861
+ scrollThisInstance = true;
2862
+ /* jshint loopfunc:true */
2863
+
2864
+ autoScrolls[layersOut].pid = setInterval(function () {
2865
+ // emulate drag over during autoscroll (fallback), emulating native DnD behaviour
2866
+ if (isFallback && this.layer === 0) {
2867
+ Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
2868
+
2869
+ }
2870
+
2871
+ let scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2872
+ let scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2873
+
2874
+ if (typeof scrollCustomFn === 'function') {
2875
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
2876
+ return;
2877
+ }
2878
+ }
2879
+
2880
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2881
+ }.bind({
2882
+ layer: layersOut
2883
+ }), 24);
2884
+ }
2885
+ }
2886
+
2887
+ layersOut++;
2888
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2889
+
2890
+ scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
2891
+ }, 30);
2892
+
2893
+ const drop = function ({
2894
+ originalEvent,
2895
+ putSortable,
2896
+ dragEl,
2897
+ activeSortable,
2898
+ dispatchSortableEvent,
2899
+ hideGhostForTarget,
2900
+ unhideGhostForTarget
2901
+ }) {
2902
+ if (!originalEvent) return;
2903
+ let toSortable = putSortable || activeSortable;
2904
+ hideGhostForTarget();
2905
+ let touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2906
+ let target = document.elementFromPoint(touch.clientX, touch.clientY);
2907
+ unhideGhostForTarget();
2908
+
2909
+ if (toSortable && !toSortable.el.contains(target)) {
2910
+ dispatchSortableEvent('spill');
2911
+ this.onSpill({
2912
+ dragEl,
2913
+ putSortable
2914
+ });
2915
+ }
2916
+ };
2917
+
2918
+ function Revert() {}
2919
+
2920
+ Revert.prototype = {
2921
+ startIndex: null,
2922
+
2923
+ dragStart({
2924
+ oldDraggableIndex
2925
+ }) {
2926
+ this.startIndex = oldDraggableIndex;
2927
+ },
2928
+
2929
+ onSpill({
2930
+ dragEl,
2931
+ putSortable
2932
+ }) {
2933
+ this.sortable.captureAnimationState();
2934
+
2935
+ if (putSortable) {
2936
+ putSortable.captureAnimationState();
2937
+ }
2938
+
2939
+ let nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2940
+
2941
+ if (nextSibling) {
2942
+ this.sortable.el.insertBefore(dragEl, nextSibling);
2943
+ } else {
2944
+ this.sortable.el.appendChild(dragEl);
2945
+ }
2946
+
2947
+ this.sortable.animateAll();
2948
+
2949
+ if (putSortable) {
2950
+ putSortable.animateAll();
2951
+ }
2952
+ },
2953
+
2954
+ drop
2955
+ };
2956
+
2957
+ _extends(Revert, {
2958
+ pluginName: 'revertOnSpill'
2959
+ });
2960
+
2961
+ function Remove() {}
2962
+
2963
+ Remove.prototype = {
2964
+ onSpill({
2965
+ dragEl,
2966
+ putSortable
2967
+ }) {
2968
+ const parentSortable = putSortable || this.sortable;
2969
+ parentSortable.captureAnimationState();
2970
+ dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
2971
+ parentSortable.animateAll();
2972
+ },
2973
+
2974
+ drop
2975
+ };
2976
+
2977
+ _extends(Remove, {
2978
+ pluginName: 'removeOnSpill'
2979
+ });
2980
+
2981
+ let lastSwapEl;
2982
+
2983
+ function SwapPlugin() {
2984
+ function Swap() {
2985
+ this.defaults = {
2986
+ swapClass: 'sortable-swap-highlight'
2987
+ };
2988
+ }
2989
+
2990
+ Swap.prototype = {
2991
+ dragStart({
2992
+ dragEl
2993
+ }) {
2994
+ lastSwapEl = dragEl;
2995
+ },
2996
+
2997
+ dragOverValid({
2998
+ completed,
2999
+ target,
3000
+ onMove,
3001
+ activeSortable,
3002
+ changed,
3003
+ cancel
3004
+ }) {
3005
+ if (!activeSortable.options.swap) return;
3006
+ let el = this.sortable.el,
3007
+ options = this.options;
3008
+
3009
+ if (target && target !== el) {
3010
+ let prevSwapEl = lastSwapEl;
3011
+
3012
+ if (onMove(target) !== false) {
3013
+ toggleClass(target, options.swapClass, true);
3014
+ lastSwapEl = target;
3015
+ } else {
3016
+ lastSwapEl = null;
3017
+ }
3018
+
3019
+ if (prevSwapEl && prevSwapEl !== lastSwapEl) {
3020
+ toggleClass(prevSwapEl, options.swapClass, false);
3021
+ }
3022
+ }
3023
+
3024
+ changed();
3025
+ completed(true);
3026
+ cancel();
3027
+ },
3028
+
3029
+ drop({
3030
+ activeSortable,
3031
+ putSortable,
3032
+ dragEl
3033
+ }) {
3034
+ let toSortable = putSortable || this.sortable;
3035
+ let options = this.options;
3036
+ lastSwapEl && toggleClass(lastSwapEl, options.swapClass, false);
3037
+
3038
+ if (lastSwapEl && (options.swap || putSortable && putSortable.options.swap)) {
3039
+ if (dragEl !== lastSwapEl) {
3040
+ toSortable.captureAnimationState();
3041
+ if (toSortable !== activeSortable) activeSortable.captureAnimationState();
3042
+ swapNodes(dragEl, lastSwapEl);
3043
+ toSortable.animateAll();
3044
+ if (toSortable !== activeSortable) activeSortable.animateAll();
3045
+ }
3046
+ }
3047
+ },
3048
+
3049
+ nulling() {
3050
+ lastSwapEl = null;
3051
+ }
3052
+
3053
+ };
3054
+ return _extends(Swap, {
3055
+ pluginName: 'swap',
3056
+
3057
+ eventProperties() {
3058
+ return {
3059
+ swapItem: lastSwapEl
3060
+ };
3061
+ }
3062
+
3063
+ });
3064
+ }
3065
+
3066
+ function swapNodes(n1, n2) {
3067
+ let p1 = n1.parentNode,
3068
+ p2 = n2.parentNode,
3069
+ i1,
3070
+ i2;
3071
+ if (!p1 || !p2 || p1.isEqualNode(n2) || p2.isEqualNode(n1)) return;
3072
+ i1 = index(n1);
3073
+ i2 = index(n2);
3074
+
3075
+ if (p1.isEqualNode(p2) && i1 < i2) {
3076
+ i2++;
3077
+ }
3078
+
3079
+ p1.insertBefore(n2, p1.children[i1]);
3080
+ p2.insertBefore(n1, p2.children[i2]);
3081
+ }
3082
+
3083
+ let multiDragElements = [],
3084
+ multiDragClones = [],
3085
+ lastMultiDragSelect,
3086
+ // for selection with modifier key down (SHIFT)
3087
+ multiDragSortable,
3088
+ initialFolding = false,
3089
+ // Initial multi-drag fold when drag started
3090
+ folding = false,
3091
+ // Folding any other time
3092
+ dragStarted = false,
3093
+ dragEl$1,
3094
+ clonesFromRect,
3095
+ clonesHidden;
3096
+
3097
+ function MultiDragPlugin() {
3098
+ function MultiDrag(sortable) {
3099
+ // Bind all private methods
3100
+ for (let fn in this) {
3101
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
3102
+ this[fn] = this[fn].bind(this);
3103
+ }
3104
+ }
3105
+
3106
+ if (!sortable.options.avoidImplicitDeselect) {
3107
+ if (sortable.options.supportPointer) {
3108
+ on(document, 'pointerup', this._deselectMultiDrag);
3109
+ } else {
3110
+ on(document, 'mouseup', this._deselectMultiDrag);
3111
+ on(document, 'touchend', this._deselectMultiDrag);
3112
+ }
3113
+ }
3114
+
3115
+ on(document, 'keydown', this._checkKeyDown);
3116
+ on(document, 'keyup', this._checkKeyUp);
3117
+ this.defaults = {
3118
+ selectedClass: 'sortable-selected',
3119
+ multiDragKey: null,
3120
+ avoidImplicitDeselect: false,
3121
+
3122
+ setData(dataTransfer, dragEl) {
3123
+ let data = '';
3124
+
3125
+ if (multiDragElements.length && multiDragSortable === sortable) {
3126
+ multiDragElements.forEach((multiDragElement, i) => {
3127
+ data += (!i ? '' : ', ') + multiDragElement.textContent;
3128
+ });
3129
+ } else {
3130
+ data = dragEl.textContent;
3131
+ }
3132
+
3133
+ dataTransfer.setData('Text', data);
3134
+ }
3135
+
3136
+ };
3137
+ }
3138
+
3139
+ MultiDrag.prototype = {
3140
+ multiDragKeyDown: false,
3141
+ isMultiDrag: false,
3142
+
3143
+ delayStartGlobal({
3144
+ dragEl: dragged
3145
+ }) {
3146
+ dragEl$1 = dragged;
3147
+ },
3148
+
3149
+ delayEnded() {
3150
+ this.isMultiDrag = ~multiDragElements.indexOf(dragEl$1);
3151
+ },
3152
+
3153
+ setupClone({
3154
+ sortable,
3155
+ cancel
3156
+ }) {
3157
+ if (!this.isMultiDrag) return;
3158
+
3159
+ for (let i = 0; i < multiDragElements.length; i++) {
3160
+ multiDragClones.push(clone(multiDragElements[i]));
3161
+ multiDragClones[i].sortableIndex = multiDragElements[i].sortableIndex;
3162
+ multiDragClones[i].draggable = false;
3163
+ multiDragClones[i].style['will-change'] = '';
3164
+ toggleClass(multiDragClones[i], this.options.selectedClass, false);
3165
+ multiDragElements[i] === dragEl$1 && toggleClass(multiDragClones[i], this.options.chosenClass, false);
3166
+ }
3167
+
3168
+ sortable._hideClone();
3169
+
3170
+ cancel();
3171
+ },
3172
+
3173
+ clone({
3174
+ sortable,
3175
+ rootEl,
3176
+ dispatchSortableEvent,
3177
+ cancel
3178
+ }) {
3179
+ if (!this.isMultiDrag) return;
3180
+
3181
+ if (!this.options.removeCloneOnHide) {
3182
+ if (multiDragElements.length && multiDragSortable === sortable) {
3183
+ insertMultiDragClones(true, rootEl);
3184
+ dispatchSortableEvent('clone');
3185
+ cancel();
3186
+ }
3187
+ }
3188
+ },
3189
+
3190
+ showClone({
3191
+ cloneNowShown,
3192
+ rootEl,
3193
+ cancel
3194
+ }) {
3195
+ if (!this.isMultiDrag) return;
3196
+ insertMultiDragClones(false, rootEl);
3197
+ multiDragClones.forEach(clone => {
3198
+ css(clone, 'display', '');
3199
+ });
3200
+ cloneNowShown();
3201
+ clonesHidden = false;
3202
+ cancel();
3203
+ },
3204
+
3205
+ hideClone({
3206
+ sortable,
3207
+ cloneNowHidden,
3208
+ cancel
3209
+ }) {
3210
+ if (!this.isMultiDrag) return;
3211
+ multiDragClones.forEach(clone => {
3212
+ css(clone, 'display', 'none');
3213
+
3214
+ if (this.options.removeCloneOnHide && clone.parentNode) {
3215
+ clone.parentNode.removeChild(clone);
3216
+ }
3217
+ });
3218
+ cloneNowHidden();
3219
+ clonesHidden = true;
3220
+ cancel();
3221
+ },
3222
+
3223
+ dragStartGlobal({
3224
+ sortable
3225
+ }) {
3226
+ if (!this.isMultiDrag && multiDragSortable) {
3227
+ multiDragSortable.multiDrag._deselectMultiDrag();
3228
+ }
3229
+
3230
+ multiDragElements.forEach(multiDragElement => {
3231
+ multiDragElement.sortableIndex = index(multiDragElement);
3232
+ }); // Sort multi-drag elements
3233
+
3234
+ multiDragElements = multiDragElements.sort(function (a, b) {
3235
+ return a.sortableIndex - b.sortableIndex;
3236
+ });
3237
+ dragStarted = true;
3238
+ },
3239
+
3240
+ dragStarted({
3241
+ sortable
3242
+ }) {
3243
+ if (!this.isMultiDrag) return;
3244
+
3245
+ if (this.options.sort) {
3246
+ // Capture rects,
3247
+ // hide multi drag elements (by positioning them absolute),
3248
+ // set multi drag elements rects to dragRect,
3249
+ // show multi drag elements,
3250
+ // animate to rects,
3251
+ // unset rects & remove from DOM
3252
+ sortable.captureAnimationState();
3253
+
3254
+ if (this.options.animation) {
3255
+ multiDragElements.forEach(multiDragElement => {
3256
+ if (multiDragElement === dragEl$1) return;
3257
+ css(multiDragElement, 'position', 'absolute');
3258
+ });
3259
+ let dragRect = getRect(dragEl$1, false, true, true);
3260
+ multiDragElements.forEach(multiDragElement => {
3261
+ if (multiDragElement === dragEl$1) return;
3262
+ setRect(multiDragElement, dragRect);
3263
+ });
3264
+ folding = true;
3265
+ initialFolding = true;
3266
+ }
3267
+ }
3268
+
3269
+ sortable.animateAll(() => {
3270
+ folding = false;
3271
+ initialFolding = false;
3272
+
3273
+ if (this.options.animation) {
3274
+ multiDragElements.forEach(multiDragElement => {
3275
+ unsetRect(multiDragElement);
3276
+ });
3277
+ } // Remove all auxiliary multidrag items from el, if sorting enabled
3278
+
3279
+
3280
+ if (this.options.sort) {
3281
+ removeMultiDragElements();
3282
+ }
3283
+ });
3284
+ },
3285
+
3286
+ dragOver({
3287
+ target,
3288
+ completed,
3289
+ cancel
3290
+ }) {
3291
+ if (folding && ~multiDragElements.indexOf(target)) {
3292
+ completed(false);
3293
+ cancel();
3294
+ }
3295
+ },
3296
+
3297
+ revert({
3298
+ fromSortable,
3299
+ rootEl,
3300
+ sortable,
3301
+ dragRect
3302
+ }) {
3303
+ if (multiDragElements.length > 1) {
3304
+ // Setup unfold animation
3305
+ multiDragElements.forEach(multiDragElement => {
3306
+ sortable.addAnimationState({
3307
+ target: multiDragElement,
3308
+ rect: folding ? getRect(multiDragElement) : dragRect
3309
+ });
3310
+ unsetRect(multiDragElement);
3311
+ multiDragElement.fromRect = dragRect;
3312
+ fromSortable.removeAnimationState(multiDragElement);
3313
+ });
3314
+ folding = false;
3315
+ insertMultiDragElements(!this.options.removeCloneOnHide, rootEl);
3316
+ }
3317
+ },
3318
+
3319
+ dragOverCompleted({
3320
+ sortable,
3321
+ isOwner,
3322
+ insertion,
3323
+ activeSortable,
3324
+ parentEl,
3325
+ putSortable
3326
+ }) {
3327
+ let options = this.options;
3328
+
3329
+ if (insertion) {
3330
+ // Clones must be hidden before folding animation to capture dragRectAbsolute properly
3331
+ if (isOwner) {
3332
+ activeSortable._hideClone();
3333
+ }
3334
+
3335
+ initialFolding = false; // If leaving sort:false root, or already folding - Fold to new location
3336
+
3337
+ if (options.animation && multiDragElements.length > 1 && (folding || !isOwner && !activeSortable.options.sort && !putSortable)) {
3338
+ // Fold: Set all multi drag elements's rects to dragEl's rect when multi-drag elements are invisible
3339
+ let dragRectAbsolute = getRect(dragEl$1, false, true, true);
3340
+ multiDragElements.forEach(multiDragElement => {
3341
+ if (multiDragElement === dragEl$1) return;
3342
+ setRect(multiDragElement, dragRectAbsolute); // Move element(s) to end of parentEl so that it does not interfere with multi-drag clones insertion if they are inserted
3343
+ // while folding, and so that we can capture them again because old sortable will no longer be fromSortable
3344
+
3345
+ parentEl.appendChild(multiDragElement);
3346
+ });
3347
+ folding = true;
3348
+ } // Clones must be shown (and check to remove multi drags) after folding when interfering multiDragElements are moved out
3349
+
3350
+
3351
+ if (!isOwner) {
3352
+ // Only remove if not folding (folding will remove them anyways)
3353
+ if (!folding) {
3354
+ removeMultiDragElements();
3355
+ }
3356
+
3357
+ if (multiDragElements.length > 1) {
3358
+ let clonesHiddenBefore = clonesHidden;
3359
+
3360
+ activeSortable._showClone(sortable); // Unfold animation for clones if showing from hidden
3361
+
3362
+
3363
+ if (activeSortable.options.animation && !clonesHidden && clonesHiddenBefore) {
3364
+ multiDragClones.forEach(clone => {
3365
+ activeSortable.addAnimationState({
3366
+ target: clone,
3367
+ rect: clonesFromRect
3368
+ });
3369
+ clone.fromRect = clonesFromRect;
3370
+ clone.thisAnimationDuration = null;
3371
+ });
3372
+ }
3373
+ } else {
3374
+ activeSortable._showClone(sortable);
3375
+ }
3376
+ }
3377
+ }
3378
+ },
3379
+
3380
+ dragOverAnimationCapture({
3381
+ dragRect,
3382
+ isOwner,
3383
+ activeSortable
3384
+ }) {
3385
+ multiDragElements.forEach(multiDragElement => {
3386
+ multiDragElement.thisAnimationDuration = null;
3387
+ });
3388
+
3389
+ if (activeSortable.options.animation && !isOwner && activeSortable.multiDrag.isMultiDrag) {
3390
+ clonesFromRect = _extends({}, dragRect);
3391
+ let dragMatrix = matrix(dragEl$1, true);
3392
+ clonesFromRect.top -= dragMatrix.f;
3393
+ clonesFromRect.left -= dragMatrix.e;
3394
+ }
3395
+ },
3396
+
3397
+ dragOverAnimationComplete() {
3398
+ if (folding) {
3399
+ folding = false;
3400
+ removeMultiDragElements();
3401
+ }
3402
+ },
3403
+
3404
+ drop({
3405
+ originalEvent: evt,
3406
+ rootEl,
3407
+ parentEl,
3408
+ sortable,
3409
+ dispatchSortableEvent,
3410
+ oldIndex,
3411
+ putSortable
3412
+ }) {
3413
+ let toSortable = putSortable || this.sortable;
3414
+ if (!evt) return;
3415
+ let options = this.options,
3416
+ children = parentEl.children; // Multi-drag selection
3417
+
3418
+ if (!dragStarted) {
3419
+ if (options.multiDragKey && !this.multiDragKeyDown) {
3420
+ this._deselectMultiDrag();
3421
+ }
3422
+
3423
+ toggleClass(dragEl$1, options.selectedClass, !~multiDragElements.indexOf(dragEl$1));
3424
+
3425
+ if (!~multiDragElements.indexOf(dragEl$1)) {
3426
+ multiDragElements.push(dragEl$1);
3427
+ dispatchEvent({
3428
+ sortable,
3429
+ rootEl,
3430
+ name: 'select',
3431
+ targetEl: dragEl$1,
3432
+ originalEvent: evt
3433
+ }); // Modifier activated, select from last to dragEl
3434
+
3435
+ if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
3436
+ let lastIndex = index(lastMultiDragSelect),
3437
+ currentIndex = index(dragEl$1);
3438
+
3439
+ if (~lastIndex && ~currentIndex && lastIndex !== currentIndex) {
3440
+ // Must include lastMultiDragSelect (select it), in case modified selection from no selection
3441
+ // (but previous selection existed)
3442
+ let n, i;
3443
+
3444
+ if (currentIndex > lastIndex) {
3445
+ i = lastIndex;
3446
+ n = currentIndex;
3447
+ } else {
3448
+ i = currentIndex;
3449
+ n = lastIndex + 1;
3450
+ }
3451
+
3452
+ for (; i < n; i++) {
3453
+ if (~multiDragElements.indexOf(children[i])) continue;
3454
+ toggleClass(children[i], options.selectedClass, true);
3455
+ multiDragElements.push(children[i]);
3456
+ dispatchEvent({
3457
+ sortable,
3458
+ rootEl,
3459
+ name: 'select',
3460
+ targetEl: children[i],
3461
+ originalEvent: evt
3462
+ });
3463
+ }
3464
+ }
3465
+ } else {
3466
+ lastMultiDragSelect = dragEl$1;
3467
+ }
3468
+
3469
+ multiDragSortable = toSortable;
3470
+ } else {
3471
+ multiDragElements.splice(multiDragElements.indexOf(dragEl$1), 1);
3472
+ lastMultiDragSelect = null;
3473
+ dispatchEvent({
3474
+ sortable,
3475
+ rootEl,
3476
+ name: 'deselect',
3477
+ targetEl: dragEl$1,
3478
+ originalEvent: evt
3479
+ });
3480
+ }
3481
+ } // Multi-drag drop
3482
+
3483
+
3484
+ if (dragStarted && this.isMultiDrag) {
3485
+ folding = false; // Do not "unfold" after around dragEl if reverted
3486
+
3487
+ if ((parentEl[expando].options.sort || parentEl !== rootEl) && multiDragElements.length > 1) {
3488
+ let dragRect = getRect(dragEl$1),
3489
+ multiDragIndex = index(dragEl$1, ':not(.' + this.options.selectedClass + ')');
3490
+ if (!initialFolding && options.animation) dragEl$1.thisAnimationDuration = null;
3491
+ toSortable.captureAnimationState();
3492
+
3493
+ if (!initialFolding) {
3494
+ if (options.animation) {
3495
+ dragEl$1.fromRect = dragRect;
3496
+ multiDragElements.forEach(multiDragElement => {
3497
+ multiDragElement.thisAnimationDuration = null;
3498
+
3499
+ if (multiDragElement !== dragEl$1) {
3500
+ let rect = folding ? getRect(multiDragElement) : dragRect;
3501
+ multiDragElement.fromRect = rect; // Prepare unfold animation
3502
+
3503
+ toSortable.addAnimationState({
3504
+ target: multiDragElement,
3505
+ rect: rect
3506
+ });
3507
+ }
3508
+ });
3509
+ } // Multi drag elements are not necessarily removed from the DOM on drop, so to reinsert
3510
+ // properly they must all be removed
3511
+
3512
+
3513
+ removeMultiDragElements();
3514
+ multiDragElements.forEach(multiDragElement => {
3515
+ if (children[multiDragIndex]) {
3516
+ parentEl.insertBefore(multiDragElement, children[multiDragIndex]);
3517
+ } else {
3518
+ parentEl.appendChild(multiDragElement);
3519
+ }
3520
+
3521
+ multiDragIndex++;
3522
+ }); // If initial folding is done, the elements may have changed position because they are now
3523
+ // unfolding around dragEl, even though dragEl may not have his index changed, so update event
3524
+ // must be fired here as Sortable will not.
3525
+
3526
+ if (oldIndex === index(dragEl$1)) {
3527
+ let update = false;
3528
+ multiDragElements.forEach(multiDragElement => {
3529
+ if (multiDragElement.sortableIndex !== index(multiDragElement)) {
3530
+ update = true;
3531
+ return;
3532
+ }
3533
+ });
3534
+
3535
+ if (update) {
3536
+ dispatchSortableEvent('update');
3537
+ }
3538
+ }
3539
+ } // Must be done after capturing individual rects (scroll bar)
3540
+
3541
+
3542
+ multiDragElements.forEach(multiDragElement => {
3543
+ unsetRect(multiDragElement);
3544
+ });
3545
+ toSortable.animateAll();
3546
+ }
3547
+
3548
+ multiDragSortable = toSortable;
3549
+ } // Remove clones if necessary
3550
+
3551
+
3552
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
3553
+ multiDragClones.forEach(clone => {
3554
+ clone.parentNode && clone.parentNode.removeChild(clone);
3555
+ });
3556
+ }
3557
+ },
3558
+
3559
+ nullingGlobal() {
3560
+ this.isMultiDrag = dragStarted = false;
3561
+ multiDragClones.length = 0;
3562
+ },
3563
+
3564
+ destroyGlobal() {
3565
+ this._deselectMultiDrag();
3566
+
3567
+ off(document, 'pointerup', this._deselectMultiDrag);
3568
+ off(document, 'mouseup', this._deselectMultiDrag);
3569
+ off(document, 'touchend', this._deselectMultiDrag);
3570
+ off(document, 'keydown', this._checkKeyDown);
3571
+ off(document, 'keyup', this._checkKeyUp);
3572
+ },
3573
+
3574
+ _deselectMultiDrag(evt) {
3575
+ if (typeof dragStarted !== "undefined" && dragStarted) return; // Only deselect if selection is in this sortable
3576
+
3577
+ if (multiDragSortable !== this.sortable) return; // Only deselect if target is not item in this sortable
3578
+
3579
+ if (evt && closest(evt.target, this.options.draggable, this.sortable.el, false)) return; // Only deselect if left click
3580
+
3581
+ if (evt && evt.button !== 0) return;
3582
+
3583
+ while (multiDragElements.length) {
3584
+ let el = multiDragElements[0];
3585
+ toggleClass(el, this.options.selectedClass, false);
3586
+ multiDragElements.shift();
3587
+ dispatchEvent({
3588
+ sortable: this.sortable,
3589
+ rootEl: this.sortable.el,
3590
+ name: 'deselect',
3591
+ targetEl: el,
3592
+ originalEvent: evt
3593
+ });
3594
+ }
3595
+ },
3596
+
3597
+ _checkKeyDown(evt) {
3598
+ if (evt.key === this.options.multiDragKey) {
3599
+ this.multiDragKeyDown = true;
3600
+ }
3601
+ },
3602
+
3603
+ _checkKeyUp(evt) {
3604
+ if (evt.key === this.options.multiDragKey) {
3605
+ this.multiDragKeyDown = false;
3606
+ }
3607
+ }
3608
+
3609
+ };
3610
+ return _extends(MultiDrag, {
3611
+ // Static methods & properties
3612
+ pluginName: 'multiDrag',
3613
+ utils: {
3614
+ /**
3615
+ * Selects the provided multi-drag item
3616
+ * @param {HTMLElement} el The element to be selected
3617
+ */
3618
+ select(el) {
3619
+ let sortable = el.parentNode[expando];
3620
+ if (!sortable || !sortable.options.multiDrag || ~multiDragElements.indexOf(el)) return;
3621
+
3622
+ if (multiDragSortable && multiDragSortable !== sortable) {
3623
+ multiDragSortable.multiDrag._deselectMultiDrag();
3624
+
3625
+ multiDragSortable = sortable;
3626
+ }
3627
+
3628
+ toggleClass(el, sortable.options.selectedClass, true);
3629
+ multiDragElements.push(el);
3630
+ },
3631
+
3632
+ /**
3633
+ * Deselects the provided multi-drag item
3634
+ * @param {HTMLElement} el The element to be deselected
3635
+ */
3636
+ deselect(el) {
3637
+ let sortable = el.parentNode[expando],
3638
+ index = multiDragElements.indexOf(el);
3639
+ if (!sortable || !sortable.options.multiDrag || !~index) return;
3640
+ toggleClass(el, sortable.options.selectedClass, false);
3641
+ multiDragElements.splice(index, 1);
3642
+ }
3643
+
3644
+ },
3645
+
3646
+ eventProperties() {
3647
+ const oldIndicies = [],
3648
+ newIndicies = [];
3649
+ multiDragElements.forEach(multiDragElement => {
3650
+ oldIndicies.push({
3651
+ multiDragElement,
3652
+ index: multiDragElement.sortableIndex
3653
+ }); // multiDragElements will already be sorted if folding
3654
+
3655
+ let newIndex;
3656
+
3657
+ if (folding && multiDragElement !== dragEl$1) {
3658
+ newIndex = -1;
3659
+ } else if (folding) {
3660
+ newIndex = index(multiDragElement, ':not(.' + this.options.selectedClass + ')');
3661
+ } else {
3662
+ newIndex = index(multiDragElement);
3663
+ }
3664
+
3665
+ newIndicies.push({
3666
+ multiDragElement,
3667
+ index: newIndex
3668
+ });
3669
+ });
3670
+ return {
3671
+ items: [...multiDragElements],
3672
+ clones: [...multiDragClones],
3673
+ oldIndicies,
3674
+ newIndicies
3675
+ };
3676
+ },
3677
+
3678
+ optionListeners: {
3679
+ multiDragKey(key) {
3680
+ key = key.toLowerCase();
3681
+
3682
+ if (key === 'ctrl') {
3683
+ key = 'Control';
3684
+ } else if (key.length > 1) {
3685
+ key = key.charAt(0).toUpperCase() + key.substr(1);
3686
+ }
3687
+
3688
+ return key;
3689
+ }
3690
+
3691
+ }
3692
+ });
3693
+ }
3694
+
3695
+ function insertMultiDragElements(clonesInserted, rootEl) {
3696
+ multiDragElements.forEach((multiDragElement, i) => {
3697
+ let target = rootEl.children[multiDragElement.sortableIndex + (clonesInserted ? Number(i) : 0)];
3698
+
3699
+ if (target) {
3700
+ rootEl.insertBefore(multiDragElement, target);
3701
+ } else {
3702
+ rootEl.appendChild(multiDragElement);
3703
+ }
3704
+ });
3705
+ }
3706
+ /**
3707
+ * Insert multi-drag clones
3708
+ * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted
3709
+ * @param {HTMLElement} rootEl
3710
+ */
3711
+
3712
+
3713
+ function insertMultiDragClones(elementsInserted, rootEl) {
3714
+ multiDragClones.forEach((clone, i) => {
3715
+ let target = rootEl.children[clone.sortableIndex + (elementsInserted ? Number(i) : 0)];
3716
+
3717
+ if (target) {
3718
+ rootEl.insertBefore(clone, target);
3719
+ } else {
3720
+ rootEl.appendChild(clone);
3721
+ }
3722
+ });
3723
+ }
3724
+
3725
+ function removeMultiDragElements() {
3726
+ multiDragElements.forEach(multiDragElement => {
3727
+ if (multiDragElement === dragEl$1) return;
3728
+ multiDragElement.parentNode && multiDragElement.parentNode.removeChild(multiDragElement);
3729
+ });
3730
+ }
3731
+
3732
+ Sortable.mount(new AutoScrollPlugin());
3733
+ Sortable.mount(Remove, Revert);
3734
+
3735
+ Sortable.mount(new SwapPlugin());
3736
+ Sortable.mount(new MultiDragPlugin());
3737
+
3738
+ const stzhSortableCss = () => `.sc-stzh-sortable-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-sortable-h,[stzh-hidden].sc-stzh-sortable-h{display:none}.sc-stzh-sortable-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-sortable-h .has-focus.sc-stzh-sortable{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-sortable-h .stzh-fylingfocus-focused.sc-stzh-sortable{outline-style:none !important}.sc-stzh-sortable-h .stzh-fylingfocus-focused.sc-stzh-sortable::-moz-focus-inner{border:0 !important}.sc-stzh-sortable-h{--cursor:grab;--grabbing-cursor:grabbing;--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey30);--ghost-item-box-shadow:none}[disabled].sc-stzh-sortable-h{--cursor:inherit}.sc-stzh-sortable-h[disabled] .sc-stzh-sortable-s *.is-sortable-item{-webkit-user-select:auto;user-select:auto}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;user-select:none;cursor:var(--cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:var(--grabbing-cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h.sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item,.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h.sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item,.sc-stzh-sortable-h.sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected,.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;
3739
+
3740
+ const CLASS_ITEM = "is-sortable-item";
3741
+ const CLASS_GHOST = "is-ghost";
3742
+ const CLASS_SELECTED = "is-selected";
3743
+ const CLASS_CHOSEN = "is-chosen";
3744
+ const CLASS_DRAG = "is-drag";
3745
+ const CLASS_PARENT_SELECTED = "has-item-selected";
3746
+ let sortableCounter = 0;
3747
+ const StzhSortable = /*@__PURE__*/ proxyCustomElement(class StzhSortable extends H {
3748
+ constructor(registerHost) {
3749
+ super();
3750
+ if (registerHost !== false) {
3751
+ this.__registerHost();
3752
+ }
3753
+ this.stzhUpdate = createEvent(this, "stzhUpdate");
3754
+ this.stzhDisable = createEvent(this, "stzhDisable");
3755
+ /** Wether sorting is disabled or not */
3756
+ this.disabled = false;
3757
+ /** HTML attribute that is used by the `toArray()` method */
3758
+ this.dataIdAttribute = "data-id";
3759
+ /** Container */
3760
+ this.container = () => {
3761
+ var _a;
3762
+ return (_a = this.containerElement) === null || _a === void 0 ? void 0 : _a.firstElementChild;
3763
+ };
3764
+ // const [clonedElement] = cloneWrappedStzhElement(dragElement);
3765
+ // return clonedElement;
3766
+ /** Algorithm how the ghost element will be cloned */
3767
+ this.ghostClone = (dragElement) => {
3768
+ return dragElement.cloneNode(true);
3769
+ };
3770
+ /** Filtered elements that should prevent dragging inside the drag item elements */
3771
+ this.filterElements = [
3772
+ "[data-stzh-sortable-filtered]",
3773
+ "[sortable-disabled]",
3774
+ "button",
3775
+ "a[href]",
3776
+ "input",
3777
+ "select",
3778
+ "textarea",
3779
+ "label",
3780
+ "iframe",
3781
+ "details",
3782
+ "area",
3783
+ "stzh-sortable",
3784
+ ];
3785
+ this.selectedItem = null;
3786
+ this.resetItemOnBlur = false;
3787
+ this.init = () => {
3788
+ if (!this.getContainer() || this.disabled) {
3789
+ return;
3790
+ }
3791
+ this.setAttributes();
3792
+ };
3793
+ this.updated = async (event) => {
3794
+ let newIndex;
3795
+ let oldIndex;
3796
+ let item;
3797
+ if (event) {
3798
+ newIndex = event.newIndex;
3799
+ oldIndex = event.oldIndex;
3800
+ item = event.item;
3801
+ }
3802
+ else {
3803
+ newIndex = this.getIndexOfSelectedItem();
3804
+ oldIndex = this.lastIndex;
3805
+ item = this.selectedItem;
3806
+ }
3807
+ if (newIndex !== oldIndex) {
3808
+ this.stzhUpdate.emit({
3809
+ component: "stzh-sortable",
3810
+ data: await this.toArray(),
3811
+ item,
3812
+ newIndex,
3813
+ oldIndex,
3814
+ });
3815
+ }
3816
+ };
3817
+ this.onKeydown = (event) => {
3818
+ const currentTarget = event.currentTarget;
3819
+ const target = event.target;
3820
+ if (!this.getContainer() || this.disabled || currentTarget !== target) {
3821
+ return;
3822
+ }
3823
+ // const isFilteredElement = target.matches(this._filterElements.join(', '));
3824
+ // if (event.key === " " && !isFilteredElement) {
3825
+ if (event.key === " ") {
3826
+ event.preventDefault();
3827
+ if (!this.selectedItem) {
3828
+ this.selectedItem = currentTarget;
3829
+ this.selectedItem.parentElement.classList.add(CLASS_PARENT_SELECTED);
3830
+ this.selectedItem.classList.add(CLASS_SELECTED);
3831
+ this.lastIndex = this.getIndexOfSelectedItem();
3832
+ this.resetItemOnBlur = true;
3833
+ this.updateAriaLive(this.localization.started);
3834
+ }
3835
+ else {
3836
+ this.resetItemOnBlur = false;
3837
+ this.updateAriaLive(this.localization.dropped);
3838
+ this.updated();
3839
+ this.resetActiveItem();
3840
+ }
3841
+ }
3842
+ else if (event.key === "Tab" && this.selectedItem && this.selectedItem === event.currentTarget) {
3843
+ event.preventDefault();
3844
+ }
3845
+ else if (event.key === "Escape" && this.selectedItem) {
3846
+ this.resetItemOnBlur = false;
3847
+ this.updateAriaLive(this.localization.canceled);
3848
+ this.resetActiveItem(true);
3849
+ }
3850
+ else if (event.key === "ArrowUp") {
3851
+ event.preventDefault();
3852
+ if (this.selectedItem) {
3853
+ this.moveItem(this.selectedItem, "up");
3854
+ }
3855
+ else {
3856
+ this.focusItem(currentTarget.previousElementSibling);
3857
+ }
3858
+ }
3859
+ else if (event.key === "ArrowDown") {
3860
+ event.preventDefault();
3861
+ if (this.selectedItem) {
3862
+ this.moveItem(this.selectedItem, "down");
3863
+ }
3864
+ else {
3865
+ this.focusItem(currentTarget.nextElementSibling);
3866
+ }
3867
+ }
3868
+ };
3869
+ this.onBlur = () => {
3870
+ if (this.resetItemOnBlur) {
3871
+ this.resetItemOnBlur = false;
3872
+ this.updateAriaLive(this.localization.dropped);
3873
+ this.updated();
3874
+ this.resetActiveItem();
3875
+ }
3876
+ };
3877
+ }
3878
+ /** Serializes the sortable's item data-id's (dataIdAttr option) into an array of string */
3879
+ async toArray() {
3880
+ return this.sortable.toArray();
3881
+ }
3882
+ /** Sorts the elements according to the array */
3883
+ async sort(order, useAnimation = true) {
3884
+ return this.sortable.sort(order, useAnimation);
3885
+ }
3886
+ /** Move item */
3887
+ async moveItem(item, direction) {
3888
+ var _a;
3889
+ if (!item ||
3890
+ (!item.nextElementSibling && direction === "down") ||
3891
+ (!item.previousElementSibling && direction === "up")) {
3892
+ return;
3893
+ }
3894
+ this.resetItemOnBlur = false;
3895
+ if (direction === "up") {
3896
+ item.previousElementSibling.before(item);
3897
+ }
3898
+ else if (direction === "down") {
3899
+ item.nextElementSibling.after(item);
3900
+ }
3901
+ this.updateAriaLive(this.localization.moved, item);
3902
+ this.focusItem(item);
3903
+ const currentIndex = Array.from((_a = item.parentElement) === null || _a === void 0 ? void 0 : _a.children).indexOf(item);
3904
+ this.stzhUpdate.emit({
3905
+ component: "stzh-sortable",
3906
+ data: await this.toArray(),
3907
+ item,
3908
+ newIndex: currentIndex,
3909
+ oldIndex: currentIndex + (direction === "up" ? 1 : -1),
3910
+ });
3911
+ this.resetItemOnBlur = true;
3912
+ }
3913
+ disabledWatcher(newValue) {
3914
+ if (newValue) {
3915
+ this.setAttributes();
3916
+ }
3917
+ else {
3918
+ this.unsetAttributes();
3919
+ }
3920
+ this.stzhDisable.emit({
3921
+ component: "stzh-sortable",
3922
+ disabled: newValue,
3923
+ });
3924
+ }
3925
+ filterElementsWatcher(newValue) {
3926
+ if (typeof newValue === "string") {
3927
+ this._filterElements = JSON.parse(newValue);
3928
+ }
3929
+ else {
3930
+ this._filterElements = newValue;
3931
+ }
3932
+ }
3933
+ getContainer() {
3934
+ return typeof this.container === "function" ? this.container() : this.container;
3935
+ }
3936
+ updateAriaLive(string, item = this.selectedItem) {
3937
+ if (!this.getContainer()) {
3938
+ return;
3939
+ }
3940
+ if (item) {
3941
+ const title = item.getAttribute("aria-label") || "";
3942
+ const index = this.getIndexOfSelectedItem(item);
3943
+ string = string.replace("{title}", title).replace("{current}", (index + 1).toString());
3944
+ }
3945
+ const total = this.getContainer().children.length;
3946
+ string = string.replace(/\{total\}/gi, total.toString());
3947
+ this.ariaLiveElement.textContent = string;
3948
+ }
3949
+ getIndexOfSelectedItem(item = this.selectedItem) {
3950
+ if (item) {
3951
+ return Array.from(item.parentElement.children).indexOf(item);
3952
+ }
3953
+ }
3954
+ resetActiveItem(moveToOriginalPosition = false) {
3955
+ if (!this.selectedItem) {
3956
+ return;
3957
+ }
3958
+ const currentIndex = this.getIndexOfSelectedItem();
3959
+ const container = this.selectedItem.parentElement;
3960
+ if (moveToOriginalPosition && this.lastIndex !== currentIndex) {
3961
+ if (this.lastIndex > currentIndex) {
3962
+ container.children[this.lastIndex].after(this.selectedItem);
3963
+ }
3964
+ else {
3965
+ container.children[this.lastIndex].before(this.selectedItem);
3966
+ }
3967
+ this.selectedItem.focus();
3968
+ }
3969
+ container.classList.remove(CLASS_PARENT_SELECTED);
3970
+ this.selectedItem.classList.remove(CLASS_SELECTED);
3971
+ this.selectedItem = null;
3972
+ this.lastIndex = null;
3973
+ }
3974
+ focusItem(item) {
3975
+ if (!item) {
3976
+ return;
3977
+ }
3978
+ item.focus();
3979
+ const flyingfocusElement = document.querySelector("stzh-flyingfocus");
3980
+ if (flyingfocusElement) {
3981
+ flyingfocusElement.reposition();
3982
+ }
3983
+ scrollIntoView(item, {
3984
+ scrollMode: "if-needed",
3985
+ block: "nearest",
3986
+ inline: "nearest",
3987
+ });
3988
+ }
3989
+ setAttributes() {
3990
+ var _a, _b;
3991
+ if (this.getContainer() && ((_a = this.getContainer()) === null || _a === void 0 ? void 0 : _a.children)) {
3992
+ Array.from((_b = this.getContainer()) === null || _b === void 0 ? void 0 : _b.children).forEach(child => {
3993
+ child.classList.add(CLASS_ITEM);
3994
+ child.addEventListener("blur", this.onBlur);
3995
+ child.addEventListener("keydown", this.onKeydown);
3996
+ child.setAttribute("tabindex", "0");
3997
+ child.setAttribute("aria-describedby", `${this.sortableId}-description`);
3998
+ });
3999
+ }
4000
+ }
4001
+ unsetAttributes() {
4002
+ var _a, _b;
4003
+ if (this.getContainer() && ((_a = this.getContainer()) === null || _a === void 0 ? void 0 : _a.children)) {
4004
+ Array.from((_b = this.getContainer()) === null || _b === void 0 ? void 0 : _b.children).forEach(child => {
4005
+ child.classList.remove(CLASS_ITEM);
4006
+ child.removeEventListener("blur", this.onBlur);
4007
+ child.removeEventListener("keydown", this.onKeydown);
4008
+ child.removeAttribute("tabindex");
4009
+ child.removeAttribute("aria-describedby");
4010
+ });
4011
+ }
4012
+ }
4013
+ async componentWillLoad() {
4014
+ this.sortableId = `stzh-sortable-${sortableCounter++}`;
4015
+ this.filterElementsWatcher(this.filterElements);
4016
+ if (!this.localization) {
4017
+ this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, "sortable");
4018
+ }
4019
+ }
4020
+ componentWillUpdate() {
4021
+ if (this.sortable) {
4022
+ this.sortable.destroy();
4023
+ this.sortable = null;
4024
+ }
4025
+ }
4026
+ componentDidRender() {
4027
+ if (this.sortable) {
4028
+ return;
4029
+ }
4030
+ // see available option in https://github.com/SortableJS/Sortable#options
4031
+ this.sortable = new Sortable(this.getContainer(), {
4032
+ animation: 150,
4033
+ filter: this._filterElements.join(", "),
4034
+ ghostClass: CLASS_GHOST,
4035
+ chosenClass: CLASS_CHOSEN,
4036
+ dragClass: CLASS_DRAG,
4037
+ dataIdAttr: this.dataIdAttribute,
4038
+ preventOnFilter: false,
4039
+ forceFallback: true,
4040
+ delay: 200,
4041
+ delayOnTouchOnly: true,
4042
+ disabled: this.disabled,
4043
+ ghostClone: this.ghostClone,
4044
+ // changed sorting within list
4045
+ onUpdate: this.updated,
4046
+ });
4047
+ }
4048
+ connectedCallback() {
4049
+ this.init();
4050
+ this.observer = new MutationObserver(this.init);
4051
+ this.observer.observe(this.element, {
4052
+ childList: true,
4053
+ subtree: true,
4054
+ });
4055
+ }
4056
+ disconnectedCallback() {
4057
+ if (this.observer) {
4058
+ this.observer.disconnect();
4059
+ }
4060
+ this.unsetAttributes();
4061
+ if (this.sortable) {
4062
+ this.sortable.destroy();
4063
+ this.sortable = null;
4064
+ }
4065
+ }
4066
+ render() {
4067
+ const classes = {
4068
+ "stzh-sortable": true,
4069
+ "stzh-sortable--disabled": this.disabled,
4070
+ };
4071
+ return (h(Host, { key: '5caf9890387742c7e9f287c5ce7445e8afb4ed7a' }, h("div", { key: '3dca5ea740b036f93e09064728f2dbc15d296f35', class: classes }, !this.disabled && (h("div", { key: '9989d9568e984c82fb811fb372c1a626768fac4e', id: `${this.sortableId}-description`, class: "stzh-sortable__description" }, this.localization.description)), h("div", { key: 'a94219d81904bf113d6e824dd836585ce0d193e0', ref: el => (this.ariaLiveElement = el), "aria-live": "assertive", class: "stzh-sortable__aria-live" }), h("div", { key: '5089be8cad542b59a16a0417d5c95dd0be34ad03', ref: el => (this.containerElement = el), class: "stzh-sortable__container" }, h("slot", { key: 'e6632ae839549ea2a90a2845713da4c972a018e7' })))));
4072
+ }
4073
+ get element() { return this; }
4074
+ static get watchers() { return {
4075
+ "disabled": ["disabledWatcher"],
4076
+ "filterElements": ["filterElementsWatcher"]
4077
+ }; }
4078
+ static get style() { return stzhSortableCss(); }
4079
+ }, [262, "stzh-sortable", {
4080
+ "localization": [16],
4081
+ "disabled": [516],
4082
+ "dataIdAttribute": [1, "data-id-attribute"],
4083
+ "container": [16],
4084
+ "ghostClone": [16],
4085
+ "filterElements": [1, "filter-elements"],
4086
+ "toArray": [64],
4087
+ "sort": [64],
4088
+ "moveItem": [64]
4089
+ }, undefined, {
4090
+ "disabled": ["disabledWatcher"],
4091
+ "filterElements": ["filterElementsWatcher"]
4092
+ }]);
4093
+ function defineCustomElement() {
4094
+ if (typeof customElements === "undefined") {
4095
+ return;
4096
+ }
4097
+ const components = ["stzh-sortable"];
4098
+ components.forEach(tagName => { switch (tagName) {
4099
+ case "stzh-sortable":
4100
+ if (!customElements.get(transformTag(tagName))) {
4101
+ customElements.define(transformTag(tagName), StzhSortable);
4102
+ }
4103
+ break;
4104
+ } });
4105
+ }
4106
+
4107
+ export { StzhSortable as S, defineCustomElement as d };
4108
+ //# sourceMappingURL=p-C0lXUisi.js.map
4109
+
4110
+ //# sourceMappingURL=p-C0lXUisi.js.map