genesys-spark-components 4.0.0-beta.34 → 4.0.0-beta.36

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 (966) hide show
  1. package/dist/cjs/en-85604f0f.js +24 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.js +3 -6
  3. package/dist/cjs/{get-valid-timezone-39ba3e64.js → get-valid-timezone-5a9231d3.js} +1 -1
  4. package/dist/cjs/gux-accordion-section.cjs.entry.js +4 -4
  5. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-button.cjs.entry.js +8 -8
  7. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +8 -8
  9. package/dist/cjs/gux-all-row-select.cjs.entry.js +5 -5
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  12. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +5 -5
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +6 -6
  16. package/dist/cjs/gux-button-slot.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-button.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-calendar-beta.cjs.entry.js +9 -9
  19. package/dist/cjs/gux-calendar.cjs.entry.js +8 -8
  20. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-column-manager-item.cjs.entry.js +7 -7
  22. package/dist/cjs/gux-column-manager.cjs.entry.js +7 -7
  23. package/dist/cjs/{gux-column-manager.service-8a71e1f3.js → gux-column-manager.service-7f1cc862.js} +2 -2
  24. package/dist/cjs/gux-content-search.cjs.entry.js +7 -7
  25. package/dist/cjs/gux-context-menu.cjs.entry.js +9 -9
  26. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +7 -7
  27. package/dist/cjs/gux-create-option.cjs.entry.js +5 -5
  28. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  29. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  30. package/dist/cjs/gux-datepicker.cjs.entry.js +10 -10
  31. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  33. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +11 -11
  35. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dropdown_3.cjs.entry.js +15 -15
  37. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  38. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -10
  39. package/dist/cjs/gux-form-field-color.cjs.entry.js +13 -13
  40. package/dist/cjs/{gux-form-field-container-64e8bc38.js → gux-form-field-container-48871f4b.js} +1 -1
  41. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +15 -15
  42. package/dist/cjs/{gux-form-field-fieldset-container-1abe7d3b.js → gux-form-field-fieldset-container-c0d39bed.js} +1 -1
  43. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +23 -23
  45. package/dist/cjs/gux-form-field-phone.cjs.entry.js +14 -14
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +11 -11
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +13 -13
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +13 -13
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +13 -13
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +13 -13
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +13 -13
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +14 -14
  53. package/dist/cjs/{gux-form-field.service-dd469568.js → gux-form-field.service-704c78c2.js} +5 -5
  54. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  56. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-list-item.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-listbox-multi.cjs.entry.js +9 -9
  60. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  61. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-modal.cjs.entry.js +4 -4
  64. package/dist/cjs/gux-month-calendar.cjs.entry.js +7 -7
  65. package/dist/cjs/gux-month-list_2.cjs.entry.js +4 -4
  66. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +9 -9
  67. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  68. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  69. package/dist/cjs/gux-option-multi.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  72. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +8 -8
  73. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +5 -5
  74. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-pagination.cjs.entry.js +4 -4
  76. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +8 -8
  77. package/dist/cjs/gux-popover-list.cjs.entry.js +6 -6
  78. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-radial-loading.cjs.entry.js +5 -5
  80. package/dist/cjs/gux-radial-progress.cjs.entry.js +4 -4
  81. package/dist/cjs/gux-rating.cjs.entry.js +6 -6
  82. package/dist/cjs/gux-region-icon.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-row-select.cjs.entry.js +5 -5
  84. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  86. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  87. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-sort-control.cjs.entry.js +7 -7
  91. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  92. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-tab-advanced-legacy.cjs.entry.js +157 -0
  95. package/dist/cjs/gux-tab-advanced-list-legacy.cjs.entry.js +470 -0
  96. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +25 -3044
  97. package/dist/cjs/gux-tab-advanced-panel-legacy.cjs.entry.js +34 -0
  98. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-tab-advanced.cjs.entry.js +7 -7
  100. package/dist/cjs/gux-tab-list.cjs.entry.js +6 -6
  101. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-table-select-menu.cjs.entry.js +8 -8
  104. package/dist/cjs/gux-table-select-popover.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +5 -5
  106. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +6 -6
  108. package/dist/cjs/gux-table-toolbar.cjs.entry.js +5 -5
  109. package/dist/cjs/gux-table.cjs.entry.js +8 -8
  110. package/dist/cjs/gux-tabs-advanced-legacy.cjs.entry.js +63 -0
  111. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  114. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  116. package/dist/cjs/gux-time-picker.cjs.entry.js +8 -8
  117. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  121. package/dist/cjs/gux-tooltip-title.cjs.entry.js +4 -4
  122. package/dist/cjs/gux-tooltip.cjs.entry.js +7 -7
  123. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  124. package/dist/cjs/{index-0d0fdb85.js → index-39160f18.js} +175 -43
  125. package/dist/cjs/{index-9bbde1aa.js → index-ff762de3.js} +2 -2
  126. package/dist/cjs/loader.cjs.js +3 -12
  127. package/dist/cjs/{on-click-outside-428f8bbf.js → on-click-outside-a7d87c91.js} +1 -1
  128. package/dist/cjs/{on-mutation-247f99dd.js → on-mutation-f396cc0e.js} +1 -1
  129. package/dist/cjs/{on-resize-ee6a4b87.js → on-resize-b4982908.js} +1 -1
  130. package/dist/cjs/sortable.esm-73cf219b.js +3023 -0
  131. package/dist/cjs/{usage-b1e23593.js → usage-d4216a6a.js} +5 -5
  132. package/dist/collection/collection-manifest.json +127 -123
  133. package/dist/collection/components/beta/gux-announce/gux-announce.js +7 -5
  134. package/dist/collection/components/beta/gux-announce/tests/gux-announce.e2e.js +18 -0
  135. package/dist/collection/components/beta/gux-announce/tests/gux-announce.spec.js +19 -0
  136. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +14 -15
  137. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +9 -9
  138. package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +1 -1
  139. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.e2e.js +202 -0
  140. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.spec.js +19 -0
  141. package/dist/collection/components/beta/gux-date/gux-date.js +9 -7
  142. package/dist/collection/components/beta/gux-date/tests/gux-date.e2e.js +30 -0
  143. package/dist/collection/components/beta/gux-date/tests/gux-date.spec.js +30 -0
  144. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +9 -7
  145. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.e2e.js +30 -0
  146. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.spec.js +30 -0
  147. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +7 -7
  148. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +18 -12
  149. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +3 -3
  150. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +4 -3
  151. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +4 -3
  152. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +5 -5
  153. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +14 -11
  154. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.e2e.js +18 -0
  155. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.spec.js +27 -0
  156. package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-icon.js +3 -3
  157. package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-select.service.js +1 -1
  158. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +2 -45
  159. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +12 -11
  160. package/dist/collection/components/beta/gux-phone-input/services/region-map.service.js +1 -1
  161. package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +88 -0
  162. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +2 -2
  163. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.e2e.js +16 -0
  164. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.spec.js +17 -0
  165. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +18 -61
  166. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  167. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +3 -3
  168. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.e2e.js +108 -0
  169. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.spec.js +126 -0
  170. package/dist/collection/components/beta/gux-time/gux-time.js +9 -7
  171. package/dist/collection/components/beta/gux-time/tests/gux-time.e2e.js +30 -0
  172. package/dist/collection/components/beta/gux-time/tests/gux-time.spec.js +30 -0
  173. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +7 -7
  174. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +53 -0
  175. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.spec.js +15 -0
  176. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +1 -44
  177. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +2 -2
  178. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.e2e.js +26 -0
  179. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.spec.js +28 -0
  180. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +5 -3
  181. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/tests/gux-dropdown-option.spec.js +47 -0
  182. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +1 -52
  183. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +11 -9
  184. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.e2e.js +149 -0
  185. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.spec.js +17 -0
  186. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +7 -6
  187. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.e2e.js +80 -0
  188. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.spec.js +82 -0
  189. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +1 -44
  190. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +4 -3
  191. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.e2e.js +109 -0
  192. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.spec.js +99 -0
  193. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +14 -14
  194. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +6 -5
  195. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.service.spec.js +138 -0
  196. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.spec.js +39 -0
  197. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts-legacy.css +3 -3
  198. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
  199. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/tests/gux-pagination-item-counts.spec.js +30 -0
  200. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +3 -3
  201. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +5 -4
  202. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/tests/gux-pagination-items-per-page.spec.js +33 -0
  203. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-legacy.css +1 -1
  204. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +8 -5
  205. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.e2e.js +53 -0
  206. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.spec.js +65 -0
  207. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +4 -3
  208. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.e2e.js +103 -0
  209. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.spec.js +93 -0
  210. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +0 -43
  211. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  212. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +5 -4
  213. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.e2e.js +87 -0
  214. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.spec.js +116 -0
  215. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.css +117 -0
  216. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.js +320 -0
  217. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.css +127 -0
  218. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.js +624 -0
  219. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.css +7 -0
  220. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.js +107 -0
  221. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.css +3 -0
  222. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.js +148 -0
  223. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.e2e.js +216 -0
  224. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.spec.js +73 -0
  225. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +4 -94
  226. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +7 -5
  227. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +2 -2
  228. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.e2e.js +46 -0
  229. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.spec.js +52 -0
  230. package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -1
  231. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +12 -10
  232. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.e2e.js +93 -0
  233. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.spec.js +96 -0
  234. package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +2 -2
  235. package/dist/collection/components/stable/gux-alert/gux-inline-alert.js +6 -5
  236. package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.e2e.js +22 -0
  237. package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.spec.js +23 -0
  238. package/dist/collection/components/stable/gux-badge/gux-badge.css +3 -3
  239. package/dist/collection/components/stable/gux-badge/gux-badge.js +6 -5
  240. package/dist/collection/components/stable/gux-badge/tests/gux-badge.e2e.js +38 -0
  241. package/dist/collection/components/stable/gux-badge/tests/gux-badge.spec.js +39 -0
  242. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +9 -9
  243. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +2 -2
  244. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.e2e.js +19 -0
  245. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.spec.js +26 -0
  246. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +5 -5
  247. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +2 -2
  248. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.css +3 -3
  249. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +6 -5
  250. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.e2e.js +48 -0
  251. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.spec.js +91 -0
  252. package/dist/collection/components/stable/gux-button/gux-button.css +9 -50
  253. package/dist/collection/components/stable/gux-button/gux-button.js +6 -4
  254. package/dist/collection/components/stable/gux-button/tests/gux-button.e2e.js +131 -0
  255. package/dist/collection/components/stable/gux-button/tests/gux-button.spec.js +114 -0
  256. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.css +1 -1
  257. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +8 -7
  258. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +69 -0
  259. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.spec.js +16 -0
  260. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +9 -50
  261. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +5 -4
  262. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.e2e.js +206 -0
  263. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.spec.js +258 -0
  264. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +13 -13
  265. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +23 -15
  266. package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +1 -1
  267. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.e2e.js +45 -0
  268. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.methods.spec.js +233 -0
  269. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.service.spec.js +160 -0
  270. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.spec.js +31 -0
  271. package/dist/collection/components/stable/gux-card/gux-card.js +4 -3
  272. package/dist/collection/components/stable/gux-card/tests/gux-card.e2e.js +16 -0
  273. package/dist/collection/components/stable/gux-card/tests/gux-card.spec.js +17 -0
  274. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -54
  275. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +13 -9
  276. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/tests/gux-column-manager-item.service.spec.js +35 -0
  277. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +7 -6
  278. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.service.js +2 -2
  279. package/dist/collection/components/stable/gux-content-search/gux-content-search.css +46 -91
  280. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +8 -7
  281. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +542 -0
  282. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.spec.js +202 -0
  283. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.css +2 -2
  284. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +8 -8
  285. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +78 -0
  286. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.spec.js +44 -0
  287. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +3 -3
  288. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +6 -6
  289. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.e2e.js +23 -0
  290. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.spec.js +46 -0
  291. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +3 -42
  292. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +14 -12
  293. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.e2e.js +112 -0
  294. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.service.spec.js +237 -0
  295. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.spec.js +36 -0
  296. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +5 -5
  297. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +6 -5
  298. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.e2e.js +20 -0
  299. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.spec.js +22 -0
  300. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +3 -3
  301. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +13 -12
  302. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +190 -0
  303. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +65 -0
  304. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +1 -42
  305. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +3 -3
  306. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +5 -48
  307. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +14 -12
  308. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +309 -0
  309. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +24 -0
  310. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +2 -43
  311. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +5 -5
  312. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +4 -3
  313. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  314. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +6 -5
  315. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.e2e.js +71 -0
  316. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.spec.js +52 -0
  317. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +1 -2
  318. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +9 -9
  319. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.e2e.js +93 -0
  320. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.spec.js +64 -0
  321. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +4 -86
  322. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +12 -11
  323. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.e2e.js +83 -0
  324. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +65 -0
  325. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +2 -45
  326. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +14 -13
  327. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +196 -0
  328. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +188 -0
  329. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +5 -87
  330. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +18 -16
  331. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.e2e.js +110 -0
  332. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +85 -0
  333. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +2 -45
  334. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +15 -14
  335. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +27 -16
  336. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +9 -9
  337. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.e2e.js +101 -0
  338. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.spec.js +62 -0
  339. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +16 -60
  340. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +12 -11
  341. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +6 -88
  342. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +14 -12
  343. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.e2e.js +83 -0
  344. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +65 -0
  345. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +5 -48
  346. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +12 -11
  347. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.e2e.js +95 -0
  348. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +80 -0
  349. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +9 -91
  350. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +14 -12
  351. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +171 -0
  352. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +125 -0
  353. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +5 -87
  354. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +14 -12
  355. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.e2e.js +104 -0
  356. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +79 -0
  357. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +2 -45
  358. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +12 -11
  359. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.e2e.js +83 -0
  360. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +66 -0
  361. package/dist/collection/components/stable/gux-form-field/functional-components/functional-components.js +6 -6
  362. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-container/gux-form-field-container.js +1 -1
  363. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
  364. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-fieldset-container/gux-form-field-fieldset-container.js +1 -1
  365. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.js +1 -1
  366. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-label/gux-form-field-label.js +1 -1
  367. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-legend-label/gux-form-field-legend-label.js +1 -1
  368. package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +4 -4
  369. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +1 -40
  370. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +4 -4
  371. package/dist/collection/components/stable/gux-form-field/tests/gux-form-field.service.spec.js +19 -0
  372. package/dist/collection/components/stable/gux-icon/gux-icon.js +7 -6
  373. package/dist/collection/components/stable/gux-icon/gux-icon.service.js +1 -1
  374. package/dist/collection/components/stable/gux-icon/icons/custom/face-smile-hearts-regular.svg +1 -0
  375. package/dist/collection/components/stable/gux-icon/tests/gux-icon.e2e.js +11 -0
  376. package/dist/collection/components/stable/gux-icon/tests/gux-icon.service.spec.js +22 -0
  377. package/dist/collection/components/stable/gux-icon/tests/gux-icon.spec.js +6 -0
  378. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  379. package/dist/collection/components/stable/gux-list/gux-list-divider/tests/gux-list-divider.spec.js +22 -0
  380. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +9 -9
  381. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +2 -2
  382. package/dist/collection/components/stable/gux-list/gux-list-item/tests/gux-list-item.spec.js +22 -0
  383. package/dist/collection/components/stable/gux-list/gux-list.js +11 -7
  384. package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +20 -0
  385. package/dist/collection/components/stable/gux-list/tests/gux-list.spec.js +23 -0
  386. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -2
  387. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +12 -10
  388. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +7 -7
  389. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  390. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +7 -7
  391. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  392. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +8 -8
  393. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +6 -5
  394. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
  395. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +12 -10
  396. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +4 -4
  397. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +4 -4
  398. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +6 -6
  399. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +2 -2
  400. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.e2e.js +14 -0
  401. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.spec.js +27 -0
  402. package/dist/collection/components/stable/gux-modal/gux-modal.css +14 -57
  403. package/dist/collection/components/stable/gux-modal/gux-modal.js +5 -4
  404. package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +300 -0
  405. package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +200 -0
  406. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +2 -2
  407. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.e2e.js +33 -0
  408. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.spec.js +12 -0
  409. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +8 -8
  410. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +7 -6
  411. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +1 -1
  412. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +6 -6
  413. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.service.spec.js +129 -0
  414. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.spec.js +32 -0
  415. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +3 -3
  416. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
  417. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/tests/gux-pagination-item-counts.spec.js +30 -0
  418. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +3 -3
  419. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +5 -4
  420. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/tests/gux-pagination-items-per-page.spec.js +37 -0
  421. package/dist/collection/components/stable/gux-pagination/gux-pagination.css +1 -1
  422. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +9 -6
  423. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.e2e.js +97 -0
  424. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.spec.js +116 -0
  425. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +6 -6
  426. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +8 -6
  427. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.e2e.js +66 -0
  428. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.spec.js +67 -0
  429. package/dist/collection/components/stable/gux-popover/gux-popover.css +6 -6
  430. package/dist/collection/components/stable/gux-popover/gux-popover.js +8 -7
  431. package/dist/collection/components/stable/gux-popover/tests/gux-popover.e2e.js +60 -0
  432. package/dist/collection/components/stable/gux-popover/tests/gux-popover.spec.js +54 -0
  433. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.css +1 -1
  434. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +7 -6
  435. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.e2e.js +59 -0
  436. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.spec.js +53 -0
  437. package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -1
  438. package/dist/collection/components/stable/gux-popup/gux-popup.js +2 -2
  439. package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +29 -0
  440. package/dist/collection/components/stable/gux-popup/tests/gux-popup.spec.js +41 -0
  441. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +31 -31
  442. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.functional.js +2 -2
  443. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +7 -6
  444. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.e2e.js +33 -0
  445. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.spec.js +33 -0
  446. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +3 -3
  447. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.functional.js +2 -2
  448. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.js +5 -5
  449. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.e2e.js +58 -0
  450. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.service.spec.js +36 -0
  451. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.spec.js +61 -0
  452. package/dist/collection/components/stable/gux-rating/gux-rating.css +2 -2
  453. package/dist/collection/components/stable/gux-rating/gux-rating.js +5 -5
  454. package/dist/collection/components/stable/gux-rating/tests/gux-rating.e2e.js +208 -0
  455. package/dist/collection/components/stable/gux-rating/tests/gux-rating.spec.js +40 -0
  456. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  457. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +4 -4
  458. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.e2e.js +24 -0
  459. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.spec.js +29 -0
  460. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +6 -5
  461. package/dist/collection/components/stable/gux-table/gux-all-row-select/tests/gux-all-row-select.spec.js +11 -0
  462. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +4 -4
  463. package/dist/collection/components/stable/gux-table/gux-row-select/tests/gux-row-select.spec.js +11 -0
  464. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +1 -1
  465. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +8 -7
  466. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.e2e.js +56 -0
  467. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.spec.js +48 -0
  468. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +3 -42
  469. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +6 -6
  470. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +4 -4
  471. package/dist/collection/components/stable/gux-table/gux-table-select-menu/tests/gux-table-select-menu.spec.js +24 -0
  472. package/dist/collection/components/stable/gux-table/gux-table.css +1 -44
  473. package/dist/collection/components/stable/gux-table/gux-table.js +14 -10
  474. package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +540 -0
  475. package/dist/collection/components/stable/gux-table/tests/gux-table.spec.js +32 -0
  476. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +9 -7
  477. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.e2e.js +53 -0
  478. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.spec.js +54 -0
  479. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +5 -4
  480. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.e2e.js +33 -0
  481. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.spec.js +34 -0
  482. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +6 -6
  483. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +7 -7
  484. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.e2e.js +46 -0
  485. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.spec.js +63 -0
  486. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +7 -4
  487. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.e2e.js +15 -0
  488. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.spec.js +16 -0
  489. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +0 -1
  490. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +7 -6
  491. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.e2e.js +15 -0
  492. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.spec.js +16 -0
  493. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +1 -42
  494. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +3 -2
  495. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.e2e.js +15 -0
  496. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.spec.js +16 -0
  497. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +8 -5
  498. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +141 -0
  499. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.spec.js +57 -0
  500. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +12 -9
  501. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -85
  502. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +9 -8
  503. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -42
  504. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +3 -2
  505. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +4 -3
  506. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +217 -0
  507. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.spec.js +73 -0
  508. package/dist/collection/components/stable/gux-tag/gux-tag.css +22 -25
  509. package/dist/collection/components/stable/gux-tag/gux-tag.js +6 -5
  510. package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +135 -0
  511. package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +130 -0
  512. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +5 -4
  513. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.e2e.js +147 -0
  514. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-hightlight.spec.js +149 -0
  515. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +7 -7
  516. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +16 -12
  517. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  518. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.e2e.js +41 -0
  519. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.service.spec.js +698 -0
  520. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.spec.js +14 -0
  521. package/dist/collection/components/stable/gux-toast/gux-toast.css +5 -5
  522. package/dist/collection/components/stable/gux-toast/gux-toast.js +5 -4
  523. package/dist/collection/components/stable/gux-toast/tests/gux-toast.e2e.js +121 -0
  524. package/dist/collection/components/stable/gux-toast/tests/gux-toast.spec.js +111 -0
  525. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +1 -42
  526. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +1 -1
  527. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +7 -6
  528. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +147 -0
  529. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +126 -0
  530. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +12 -12
  531. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +14 -10
  532. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.e2e.js +33 -0
  533. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.spec.js +55 -0
  534. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +8 -6
  535. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +8 -6
  536. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.e2e.js +32 -0
  537. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.spec.js +27 -0
  538. package/dist/collection/i18n/DateTimeFormatter.js +1 -1
  539. package/dist/collection/i18n/fetchResources.js +1 -1
  540. package/dist/collection/i18n/index.js +5 -5
  541. package/dist/collection/test/e2eTestUtils.js +2 -2
  542. package/dist/collection/test/specTestUtils.js +8 -0
  543. package/dist/collection/utils/date/from-iso-time-string.spec.js +13 -0
  544. package/dist/collection/utils/date/get-valid-timezone.js +1 -1
  545. package/dist/collection/utils/date/get-valid-timezone.spec.js +38 -0
  546. package/dist/collection/utils/date/iso-dates.spec.js +170 -0
  547. package/dist/collection/utils/date/year-month-values.spec.js +81 -0
  548. package/dist/collection/utils/decorator/on-click-outside.js +1 -1
  549. package/dist/collection/utils/decorator/on-mutation.js +1 -1
  550. package/dist/collection/utils/decorator/on-resize.js +1 -1
  551. package/dist/collection/utils/dom/event-is-from.spec.js +29 -0
  552. package/dist/collection/utils/dom/manipulate-elements-classes.spec.js +104 -0
  553. package/dist/collection/utils/dom/on-input-disabled-state-change.js +1 -1
  554. package/dist/collection/utils/dom/random-html-id.spec.js +14 -0
  555. package/dist/collection/utils/dom/set-input-value.js +1 -1
  556. package/dist/collection/utils/dom/when-event-is-from.spec.js +37 -0
  557. package/dist/collection/utils/string/search.spec.js +40 -0
  558. package/dist/collection/utils/tracking/usage.js +1 -1
  559. package/dist/collection/utils/tracking/usage.spec.js +121 -0
  560. package/dist/component-specs.json +10 -0
  561. package/dist/deploy-info.json +3 -3
  562. package/dist/esm/en-bf740e9b.js +22 -0
  563. package/dist/esm/genesys-webcomponents.js +4 -7
  564. package/dist/esm/{get-valid-timezone-4b39f118.js → get-valid-timezone-3781bfa2.js} +1 -1
  565. package/dist/esm/gux-accordion-section.entry.js +4 -4
  566. package/dist/esm/gux-accordion.entry.js +2 -2
  567. package/dist/esm/gux-action-button.entry.js +8 -8
  568. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  569. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +8 -8
  570. package/dist/esm/gux-all-row-select.entry.js +5 -5
  571. package/dist/esm/gux-announce-beta.entry.js +3 -3
  572. package/dist/esm/gux-badge.entry.js +5 -5
  573. package/dist/esm/gux-blank-state.entry.js +3 -3
  574. package/dist/esm/gux-breadcrumb-item.entry.js +3 -3
  575. package/dist/esm/gux-breadcrumbs.entry.js +5 -5
  576. package/dist/esm/gux-button-multi.entry.js +6 -6
  577. package/dist/esm/gux-button-slot.entry.js +4 -4
  578. package/dist/esm/gux-button.entry.js +3 -3
  579. package/dist/esm/gux-calendar-beta.entry.js +9 -9
  580. package/dist/esm/gux-calendar.entry.js +8 -8
  581. package/dist/esm/gux-card.entry.js +2 -2
  582. package/dist/esm/gux-column-manager-item.entry.js +7 -7
  583. package/dist/esm/gux-column-manager.entry.js +7 -7
  584. package/dist/esm/{gux-column-manager.service-a9ea5c54.js → gux-column-manager.service-4f5bf4c4.js} +2 -2
  585. package/dist/esm/gux-content-search.entry.js +7 -7
  586. package/dist/esm/gux-context-menu.entry.js +9 -9
  587. package/dist/esm/gux-copy-to-clipboard.entry.js +7 -7
  588. package/dist/esm/gux-create-option.entry.js +5 -5
  589. package/dist/esm/gux-date-beta.entry.js +5 -5
  590. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  591. package/dist/esm/gux-datepicker.entry.js +10 -10
  592. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  593. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  594. package/dist/esm/gux-dropdown-multi-tag.entry.js +4 -4
  595. package/dist/esm/gux-dropdown-multi.entry.js +11 -11
  596. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  597. package/dist/esm/gux-dropdown_3.entry.js +15 -15
  598. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  599. package/dist/esm/gux-form-field-checkbox.entry.js +10 -10
  600. package/dist/esm/gux-form-field-color.entry.js +13 -13
  601. package/dist/esm/{gux-form-field-container-0d93fc18.js → gux-form-field-container-0628b63c.js} +1 -1
  602. package/dist/esm/gux-form-field-dropdown.entry.js +15 -15
  603. package/dist/esm/{gux-form-field-fieldset-container-02a0becc.js → gux-form-field-fieldset-container-863690e1.js} +1 -1
  604. package/dist/esm/gux-form-field-input-clear-button.entry.js +5 -5
  605. package/dist/esm/gux-form-field-number_3.entry.js +23 -23
  606. package/dist/esm/gux-form-field-phone.entry.js +14 -14
  607. package/dist/esm/gux-form-field-radio.entry.js +11 -11
  608. package/dist/esm/gux-form-field-range.entry.js +13 -13
  609. package/dist/esm/gux-form-field-search.entry.js +13 -13
  610. package/dist/esm/gux-form-field-select.entry.js +13 -13
  611. package/dist/esm/gux-form-field-text-like.entry.js +13 -13
  612. package/dist/esm/gux-form-field-textarea.entry.js +13 -13
  613. package/dist/esm/gux-form-field-time-picker.entry.js +14 -14
  614. package/dist/esm/{gux-form-field.service-5f03e905.js → gux-form-field.service-1b918b11.js} +5 -5
  615. package/dist/esm/gux-icon.entry.js +3 -3
  616. package/dist/esm/gux-inline-alert.entry.js +5 -5
  617. package/dist/esm/gux-list-divider.entry.js +1 -1
  618. package/dist/esm/gux-list-item.entry.js +3 -3
  619. package/dist/esm/gux-list.entry.js +3 -3
  620. package/dist/esm/gux-listbox-multi.entry.js +9 -9
  621. package/dist/esm/gux-loading-message.entry.js +3 -3
  622. package/dist/esm/gux-menu-option.entry.js +2 -2
  623. package/dist/esm/gux-menu.entry.js +1 -1
  624. package/dist/esm/gux-modal.entry.js +4 -4
  625. package/dist/esm/gux-month-calendar.entry.js +7 -7
  626. package/dist/esm/gux-month-list_2.entry.js +4 -4
  627. package/dist/esm/gux-month-picker-beta.entry.js +9 -9
  628. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  629. package/dist/esm/gux-option-icon.entry.js +3 -3
  630. package/dist/esm/gux-option-multi.entry.js +5 -5
  631. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  632. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  633. package/dist/esm/gux-pagination-buttons_3.entry.js +8 -8
  634. package/dist/esm/gux-pagination-cursor.entry.js +5 -5
  635. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  636. package/dist/esm/gux-pagination.entry.js +4 -4
  637. package/dist/esm/gux-phone-input-beta.entry.js +8 -8
  638. package/dist/esm/gux-popover-list.entry.js +6 -6
  639. package/dist/esm/gux-popup.entry.js +3 -3
  640. package/dist/esm/gux-radial-loading.entry.js +5 -5
  641. package/dist/esm/gux-radial-progress.entry.js +4 -4
  642. package/dist/esm/gux-rating.entry.js +6 -6
  643. package/dist/esm/gux-region-icon.entry.js +2 -2
  644. package/dist/esm/gux-row-select.entry.js +5 -5
  645. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  646. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  647. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  648. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  649. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  650. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  651. package/dist/esm/gux-sort-control.entry.js +7 -7
  652. package/dist/esm/gux-submenu.entry.js +4 -4
  653. package/dist/esm/gux-switch-item.entry.js +2 -2
  654. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  655. package/dist/esm/gux-tab-advanced-legacy.entry.js +153 -0
  656. package/dist/esm/gux-tab-advanced-list-legacy.entry.js +466 -0
  657. package/dist/esm/gux-tab-advanced-list.entry.js +10 -3029
  658. package/dist/esm/gux-tab-advanced-panel-legacy.entry.js +30 -0
  659. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  660. package/dist/esm/gux-tab-advanced.entry.js +7 -7
  661. package/dist/esm/gux-tab-list.entry.js +6 -6
  662. package/dist/esm/gux-tab-panel.entry.js +2 -2
  663. package/dist/esm/gux-tab.entry.js +1 -1
  664. package/dist/esm/gux-table-select-menu.entry.js +8 -8
  665. package/dist/esm/gux-table-select-popover.entry.js +3 -3
  666. package/dist/esm/gux-table-toolbar-action.entry.js +5 -5
  667. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  668. package/dist/esm/gux-table-toolbar-menu-button.entry.js +6 -6
  669. package/dist/esm/gux-table-toolbar.entry.js +5 -5
  670. package/dist/esm/gux-table.entry.js +8 -8
  671. package/dist/esm/gux-tabs-advanced-legacy.entry.js +59 -0
  672. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  673. package/dist/esm/gux-tabs.entry.js +2 -2
  674. package/dist/esm/gux-tag.entry.js +5 -5
  675. package/dist/esm/gux-text-highlight.entry.js +2 -2
  676. package/dist/esm/gux-time-beta.entry.js +5 -5
  677. package/dist/esm/gux-time-picker.entry.js +8 -8
  678. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  679. package/dist/esm/gux-toast.entry.js +4 -4
  680. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  681. package/dist/esm/gux-toggle.entry.js +5 -5
  682. package/dist/esm/gux-tooltip-title.entry.js +4 -4
  683. package/dist/esm/gux-tooltip.entry.js +7 -7
  684. package/dist/esm/gux-truncate.entry.js +3 -3
  685. package/dist/esm/{index-0b66fe2c.js → index-a0eec33a.js} +175 -43
  686. package/dist/esm/{index-694d55cf.js → index-e5ccc024.js} +2 -2
  687. package/dist/esm/loader.js +4 -13
  688. package/dist/esm/{on-click-outside-bc432a79.js → on-click-outside-e696f632.js} +1 -1
  689. package/dist/esm/{on-mutation-8c8b2331.js → on-mutation-c1be3c74.js} +1 -1
  690. package/dist/esm/{on-resize-7177429a.js → on-resize-c9e31879.js} +1 -1
  691. package/dist/esm/sortable.esm-8c3d5856.js +3021 -0
  692. package/dist/esm/{usage-7c4316f3.js → usage-b9bc2c35.js} +5 -5
  693. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  694. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  695. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  696. package/dist/genesys-webcomponents/icons/custom/face-smile-hearts-regular.svg +1 -0
  697. package/dist/genesys-webcomponents/{p-4a0aae21.entry.js → p-001a4f6c.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-94465268.entry.js → p-004bad0d.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/{p-535d0527.entry.js → p-0209a2e8.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/{p-c5cc4499.entry.js → p-04882cf9.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/{p-27b2e8f1.entry.js → p-050b14b0.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/p-05102bf4.entry.js +1 -0
  703. package/dist/genesys-webcomponents/p-06186f07.entry.js +1 -0
  704. package/dist/genesys-webcomponents/p-0a7237d9.entry.js +1 -0
  705. package/dist/genesys-webcomponents/{p-8e9bfb5c.entry.js → p-0e1a0eef.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/p-0f57803f.entry.js +1 -0
  707. package/dist/genesys-webcomponents/{p-793c5d4b.entry.js → p-0fd727e4.entry.js} +1 -1
  708. package/dist/genesys-webcomponents/{p-9b6ed146.entry.js → p-11a4917d.entry.js} +1 -1
  709. package/dist/genesys-webcomponents/p-121117b7.entry.js +1 -0
  710. package/dist/genesys-webcomponents/{p-2ac7ec81.entry.js → p-127514f4.entry.js} +1 -1
  711. package/dist/genesys-webcomponents/{p-8ebb78f7.entry.js → p-13bd1ddb.entry.js} +1 -1
  712. package/dist/genesys-webcomponents/p-1486d7ea.js +7 -0
  713. package/dist/genesys-webcomponents/{p-c985b725.entry.js → p-15e52200.entry.js} +1 -1
  714. package/dist/genesys-webcomponents/p-1b04a4a3.entry.js +1 -0
  715. package/dist/genesys-webcomponents/{p-81577261.entry.js → p-1c00c8b9.entry.js} +1 -1
  716. package/dist/genesys-webcomponents/{p-8b3bf42a.entry.js → p-25d372af.entry.js} +1 -1
  717. package/dist/genesys-webcomponents/p-29e65ca5.entry.js +1 -0
  718. package/dist/genesys-webcomponents/{p-afc8f510.entry.js → p-2a3350f2.entry.js} +1 -1
  719. package/dist/genesys-webcomponents/{p-0b31e700.entry.js → p-3006f950.entry.js} +1 -1
  720. package/dist/genesys-webcomponents/p-32a36f06.entry.js +1 -0
  721. package/dist/genesys-webcomponents/p-35fff0fe.entry.js +1 -0
  722. package/dist/genesys-webcomponents/{p-a0926d37.entry.js → p-3669d1d6.entry.js} +1 -1
  723. package/dist/genesys-webcomponents/p-377f63a0.entry.js +1 -0
  724. package/dist/genesys-webcomponents/{p-c686d5f6.entry.js → p-38c797a5.entry.js} +1 -1
  725. package/dist/genesys-webcomponents/{p-045a5c8d.entry.js → p-3b48aaaa.entry.js} +1 -1
  726. package/dist/genesys-webcomponents/{p-13dd4c6b.js → p-3d745319.js} +1 -1
  727. package/dist/genesys-webcomponents/p-3deec8d5.entry.js +1 -0
  728. package/dist/genesys-webcomponents/{p-c3d5a975.entry.js → p-3fe16f20.entry.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-7c826e42.entry.js → p-4338a137.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/p-4426b584.entry.js +1 -0
  731. package/dist/genesys-webcomponents/p-457dce75.entry.js +1 -0
  732. package/dist/genesys-webcomponents/{p-d588f252.entry.js → p-48d465fe.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-6bff9eb3.entry.js → p-4a579180.entry.js} +1 -1
  734. package/dist/genesys-webcomponents/{p-804cc43e.entry.js → p-4d14a590.entry.js} +1 -1
  735. package/dist/genesys-webcomponents/p-4dc4930c.entry.js +1 -0
  736. package/dist/genesys-webcomponents/p-511eb62e.entry.js +1 -0
  737. package/dist/genesys-webcomponents/p-51df1ede.entry.js +1 -0
  738. package/dist/genesys-webcomponents/{p-deee079e.js → p-52e27c60.js} +1 -1
  739. package/dist/genesys-webcomponents/p-541c3c6b.entry.js +1 -0
  740. package/dist/genesys-webcomponents/{p-1fd76470.entry.js → p-5463e134.entry.js} +1 -1
  741. package/dist/genesys-webcomponents/{p-06a92400.entry.js → p-550c0768.entry.js} +1 -1
  742. package/dist/genesys-webcomponents/{p-a06023b3.entry.js → p-5524298d.entry.js} +1 -1
  743. package/dist/genesys-webcomponents/p-5844e8c2.js +1 -0
  744. package/dist/genesys-webcomponents/{p-380d663e.entry.js → p-59206607.entry.js} +1 -1
  745. package/dist/genesys-webcomponents/{p-832842b0.entry.js → p-5a9d8cb2.entry.js} +1 -1
  746. package/dist/genesys-webcomponents/p-5d15381f.entry.js +1 -0
  747. package/dist/genesys-webcomponents/{p-632695ad.entry.js → p-5ea0d07e.entry.js} +1 -1
  748. package/dist/genesys-webcomponents/{p-6a08f78f.entry.js → p-644b750b.entry.js} +1 -1
  749. package/dist/genesys-webcomponents/p-66290fc5.entry.js +1 -0
  750. package/dist/genesys-webcomponents/{p-8fe30b09.entry.js → p-67036f76.entry.js} +1 -1
  751. package/dist/genesys-webcomponents/p-69d045af.entry.js +1 -0
  752. package/dist/genesys-webcomponents/p-6bee8d41.entry.js +1 -0
  753. package/dist/genesys-webcomponents/{p-16570da1.entry.js → p-6c72ef03.entry.js} +1 -1
  754. package/dist/genesys-webcomponents/p-6ce1bf55.entry.js +1 -0
  755. package/dist/genesys-webcomponents/{p-0bc7c69c.entry.js → p-6d7122bc.entry.js} +1 -1
  756. package/dist/genesys-webcomponents/p-77db656b.entry.js +1 -0
  757. package/dist/genesys-webcomponents/{p-800521cd.entry.js → p-7943f46d.entry.js} +1 -1
  758. package/dist/genesys-webcomponents/{p-8920a5e5.js → p-7a100b8c.js} +1 -1
  759. package/dist/genesys-webcomponents/{p-5e1a9a03.entry.js → p-7bff5f15.entry.js} +1 -1
  760. package/dist/genesys-webcomponents/{p-44835bc5.entry.js → p-7e22896f.entry.js} +1 -1
  761. package/dist/genesys-webcomponents/{p-35f055a2.entry.js → p-7e245e45.entry.js} +1 -1
  762. package/dist/genesys-webcomponents/{p-f34ce7dc.js → p-8801741a.js} +1 -1
  763. package/dist/genesys-webcomponents/{p-4425a015.entry.js → p-8953cea0.entry.js} +1 -1
  764. package/dist/genesys-webcomponents/{p-9d18d475.js → p-8c362857.js} +1 -1
  765. package/dist/genesys-webcomponents/p-8c3c2fd5.entry.js +1 -0
  766. package/dist/genesys-webcomponents/{p-dabf28c2.entry.js → p-8d3fb4b0.entry.js} +1 -1
  767. package/dist/genesys-webcomponents/p-8e22729c.entry.js +1 -0
  768. package/dist/genesys-webcomponents/{p-bcf1af79.entry.js → p-9026cf7e.entry.js} +1 -1
  769. package/dist/genesys-webcomponents/p-903a7fff.entry.js +1 -0
  770. package/dist/genesys-webcomponents/{p-5675738b.entry.js → p-906bffcd.entry.js} +1 -1
  771. package/dist/genesys-webcomponents/p-920b9a0d.entry.js +1 -0
  772. package/dist/genesys-webcomponents/p-92536df7.entry.js +1 -0
  773. package/dist/genesys-webcomponents/p-9279fb28.entry.js +1 -0
  774. package/dist/genesys-webcomponents/p-932fdd60.entry.js +1 -0
  775. package/dist/genesys-webcomponents/p-937ec398.entry.js +1 -0
  776. package/dist/genesys-webcomponents/{p-a733f4ca.js → p-9383fa8e.js} +1 -1
  777. package/dist/genesys-webcomponents/{p-d01970f7.entry.js → p-93d5c18d.entry.js} +1 -1
  778. package/dist/genesys-webcomponents/{p-c9ad308d.entry.js → p-9595c4f2.entry.js} +1 -1
  779. package/dist/genesys-webcomponents/{p-b9ed5a20.entry.js → p-984fb2ca.entry.js} +1 -1
  780. package/dist/genesys-webcomponents/{p-831456f4.entry.js → p-9894c33e.entry.js} +1 -1
  781. package/dist/genesys-webcomponents/p-992542c8.entry.js +1 -0
  782. package/dist/genesys-webcomponents/{p-18099796.entry.js → p-993b63db.entry.js} +1 -1
  783. package/dist/genesys-webcomponents/p-9cc0c717.entry.js +1 -0
  784. package/dist/genesys-webcomponents/p-a1151219.entry.js +1 -0
  785. package/dist/genesys-webcomponents/{p-4a6ae41e.js → p-a285abaf.js} +1 -1
  786. package/dist/genesys-webcomponents/{p-b3c9fd06.js → p-a3bc3236.js} +1 -1
  787. package/dist/genesys-webcomponents/p-a934d5b1.entry.js +1 -0
  788. package/dist/genesys-webcomponents/{p-334e3b2c.entry.js → p-a96bc06c.entry.js} +1 -1
  789. package/dist/genesys-webcomponents/{p-d3a38337.entry.js → p-b09ed8fd.entry.js} +1 -1
  790. package/dist/genesys-webcomponents/{p-3978c9d9.entry.js → p-b0cc1af2.entry.js} +1 -1
  791. package/dist/genesys-webcomponents/{p-a9b8c730.entry.js → p-b3fd4623.entry.js} +1 -1
  792. package/dist/genesys-webcomponents/p-b56fd34a.entry.js +1 -0
  793. package/dist/genesys-webcomponents/{p-39e12286.entry.js → p-b80c59ad.entry.js} +1 -1
  794. package/dist/genesys-webcomponents/p-bc151fdb.entry.js +1 -0
  795. package/dist/genesys-webcomponents/p-be68b1e8.entry.js +1 -0
  796. package/dist/genesys-webcomponents/{p-d8824819.entry.js → p-c05cacb2.entry.js} +1 -1
  797. package/dist/genesys-webcomponents/{p-efafcf0b.entry.js → p-c07ab095.entry.js} +1 -1
  798. package/dist/genesys-webcomponents/{p-9be45fa0.entry.js → p-c183e212.entry.js} +1 -1
  799. package/dist/genesys-webcomponents/p-c4a77eda.entry.js +1 -0
  800. package/dist/genesys-webcomponents/{p-c609ed18.entry.js → p-c4f9d3c7.entry.js} +1 -1
  801. package/dist/genesys-webcomponents/{p-24b860b0.js → p-c57cd1d8.js} +1 -1
  802. package/dist/genesys-webcomponents/p-c7a90b16.entry.js +1 -0
  803. package/dist/genesys-webcomponents/{p-7a24829d.entry.js → p-c9788b0b.entry.js} +1 -1
  804. package/dist/genesys-webcomponents/p-cf094b0a.entry.js +1 -0
  805. package/dist/genesys-webcomponents/{p-c564f3cc.entry.js → p-d0aefa7e.entry.js} +1 -1
  806. package/dist/genesys-webcomponents/p-d25d679d.entry.js +1 -0
  807. package/dist/genesys-webcomponents/p-d5d7cf8d.entry.js +1 -0
  808. package/dist/genesys-webcomponents/{p-21ef475f.entry.js → p-d8e0caa9.entry.js} +1 -1
  809. package/dist/genesys-webcomponents/{p-e9be8807.entry.js → p-d96bce57.entry.js} +1 -1
  810. package/dist/genesys-webcomponents/{p-d24bbafd.entry.js → p-ddfc136f.entry.js} +1 -1
  811. package/dist/genesys-webcomponents/{p-5229c638.entry.js → p-e121f417.entry.js} +1 -1
  812. package/dist/genesys-webcomponents/{p-642b29b5.entry.js → p-e2d75be4.entry.js} +1 -1
  813. package/dist/genesys-webcomponents/{p-c94a287d.entry.js → p-e653b8d2.entry.js} +1 -1
  814. package/dist/genesys-webcomponents/{p-559fd965.entry.js → p-ea777be1.entry.js} +1 -1
  815. package/dist/genesys-webcomponents/p-ed724d66.js +2 -0
  816. package/dist/genesys-webcomponents/{p-20e7c016.entry.js → p-edf8e30c.entry.js} +1 -1
  817. package/dist/genesys-webcomponents/p-ee2ab42a.entry.js +1 -0
  818. package/dist/genesys-webcomponents/{p-5b0d2d81.entry.js → p-ee662eda.entry.js} +1 -1
  819. package/dist/genesys-webcomponents/{p-b74733e2.entry.js → p-f19e1b38.entry.js} +1 -1
  820. package/dist/genesys-webcomponents/{p-83f26f44.entry.js → p-f34da37c.entry.js} +1 -1
  821. package/dist/genesys-webcomponents/p-f6bcc7b4.entry.js +1 -0
  822. package/dist/genesys-webcomponents/p-f7c491f0.entry.js +1 -0
  823. package/dist/genesys-webcomponents/p-f86080b6.entry.js +1 -0
  824. package/dist/genesys-webcomponents/{p-30e902fc.entry.js → p-fb9b79ce.entry.js} +1 -1
  825. package/dist/genesys-webcomponents/{p-211cc1db.js → p-fd5e59f5.js} +1 -1
  826. package/dist/genesys-webcomponents/scss/style-reset-focusable.scss +44 -5
  827. package/dist/genesys-webcomponents/scss/style-reset-typography.scss +12 -7
  828. package/dist/loader/index.d.ts +1 -1
  829. package/dist/stencil-wrapper.js +4 -4
  830. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.d.ts +45 -0
  831. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +82 -0
  832. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.d.ts +12 -0
  833. package/dist/types/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.d.ts +25 -0
  834. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  835. package/dist/types/components.d.ts +132 -0
  836. package/dist/types/stencil-public-runtime.d.ts +19 -5
  837. package/dist/types/stencil-wrapper.d.ts +2 -2
  838. package/dist/types/test/specTestUtils.d.ts +2 -0
  839. package/package.json +5 -5
  840. package/dist/esm/polyfills/css-shim.js +0 -1
  841. package/dist/genesys-webcomponents/p-064f6ec0.entry.js +0 -1
  842. package/dist/genesys-webcomponents/p-0ed974cb.entry.js +0 -1
  843. package/dist/genesys-webcomponents/p-16109371.entry.js +0 -1
  844. package/dist/genesys-webcomponents/p-1dca12c5.entry.js +0 -1
  845. package/dist/genesys-webcomponents/p-1ee5b66e.entry.js +0 -1
  846. package/dist/genesys-webcomponents/p-1f265935.entry.js +0 -1
  847. package/dist/genesys-webcomponents/p-3031a578.entry.js +0 -1
  848. package/dist/genesys-webcomponents/p-3504b52d.entry.js +0 -1
  849. package/dist/genesys-webcomponents/p-3d6b25da.entry.js +0 -1
  850. package/dist/genesys-webcomponents/p-44b665e9.entry.js +0 -1
  851. package/dist/genesys-webcomponents/p-4bfa8d7f.entry.js +0 -1
  852. package/dist/genesys-webcomponents/p-4d34cf6e.entry.js +0 -7
  853. package/dist/genesys-webcomponents/p-4e865a79.entry.js +0 -1
  854. package/dist/genesys-webcomponents/p-50a508f2.entry.js +0 -1
  855. package/dist/genesys-webcomponents/p-5406e9ed.entry.js +0 -1
  856. package/dist/genesys-webcomponents/p-5676eed0.entry.js +0 -1
  857. package/dist/genesys-webcomponents/p-56b47f79.entry.js +0 -1
  858. package/dist/genesys-webcomponents/p-66cc767b.entry.js +0 -1
  859. package/dist/genesys-webcomponents/p-6b0dc655.entry.js +0 -1
  860. package/dist/genesys-webcomponents/p-6b129835.entry.js +0 -1
  861. package/dist/genesys-webcomponents/p-700df232.entry.js +0 -1
  862. package/dist/genesys-webcomponents/p-71649ca7.entry.js +0 -1
  863. package/dist/genesys-webcomponents/p-718f0a96.entry.js +0 -1
  864. package/dist/genesys-webcomponents/p-7583eb17.entry.js +0 -1
  865. package/dist/genesys-webcomponents/p-7c5d3642.entry.js +0 -1
  866. package/dist/genesys-webcomponents/p-7d26b2e1.js +0 -2
  867. package/dist/genesys-webcomponents/p-8c62cbe0.entry.js +0 -1
  868. package/dist/genesys-webcomponents/p-92dc4513.entry.js +0 -1
  869. package/dist/genesys-webcomponents/p-94965977.entry.js +0 -1
  870. package/dist/genesys-webcomponents/p-a71e6014.entry.js +0 -1
  871. package/dist/genesys-webcomponents/p-a90cc738.entry.js +0 -1
  872. package/dist/genesys-webcomponents/p-a95fbd3b.entry.js +0 -1
  873. package/dist/genesys-webcomponents/p-baffeea7.entry.js +0 -1
  874. package/dist/genesys-webcomponents/p-bb33884d.entry.js +0 -1
  875. package/dist/genesys-webcomponents/p-bcce68e5.entry.js +0 -1
  876. package/dist/genesys-webcomponents/p-be3431b3.entry.js +0 -1
  877. package/dist/genesys-webcomponents/p-cae7ee62.entry.js +0 -1
  878. package/dist/genesys-webcomponents/p-d5e23ee9.entry.js +0 -1
  879. package/dist/genesys-webcomponents/p-d5e44599.entry.js +0 -1
  880. package/dist/genesys-webcomponents/p-dc82662a.entry.js +0 -1
  881. package/dist/genesys-webcomponents/p-e0f0cc0a.entry.js +0 -1
  882. package/dist/genesys-webcomponents/p-ed00fc7c.entry.js +0 -1
  883. package/dist/genesys-webcomponents/p-ef910e9b.entry.js +0 -1
  884. package/dist/genesys-webcomponents/p-f4cd6700.entry.js +0 -1
  885. package/dist/genesys-webcomponents/scss/focus.scss +0 -48
  886. package/dist/genesys-webcomponents/scss/typography.scss +0 -127
  887. /package/dist/cjs/{after-next-render-a09f528a.js → after-next-render-a023ef47.js} +0 -0
  888. /package/dist/cjs/{capitalize-first-letter-8e2f04e5.js → capitalize-first-letter-251c82ed.js} +0 -0
  889. /package/dist/cjs/{clamp-1bb96117.js → clamp-a9926a57.js} +0 -0
  890. /package/dist/cjs/{en-eb56dc17.js → en-5507bf0d.js} +0 -0
  891. /package/dist/cjs/{en-d1b32383.js → en-807a354e.js} +0 -0
  892. /package/dist/cjs/{en-2a12d7c4.js → en-f88c1935.js} +0 -0
  893. /package/dist/cjs/{event-is-from-ad1044f2.js → event-is-from-f3f1cfde.js} +0 -0
  894. /package/dist/cjs/{find-element-by-id-ecf0efa3.js → find-element-by-id-9c3e0b1b.js} +0 -0
  895. /package/dist/cjs/{floating-ui.dom.esm-2ed3685b.js → floating-ui.dom.esm-793074c6.js} +0 -0
  896. /package/dist/cjs/{get-closest-element-ab4b2eee.js → get-closest-element-26894e5a.js} +0 -0
  897. /package/dist/cjs/{get-slot-097ade01.js → get-slot-395a67ef.js} +0 -0
  898. /package/dist/cjs/{get-slot-text-content-30aa5492.js → get-slot-text-content-c4306c7a.js} +0 -0
  899. /package/dist/cjs/{gux-list.service-763539a2.js → gux-list.service-4beaa394.js} +0 -0
  900. /package/dist/cjs/{gux-listbox.service-93102b5b.js → gux-listbox.service-b1068596.js} +0 -0
  901. /package/dist/cjs/{gux-menu.common-cf9d53f7.js → gux-menu.common-d41b2fac.js} +0 -0
  902. /package/dist/cjs/{has-slot-2e73d6e7.js → has-slot-429f8b9e.js} +0 -0
  903. /package/dist/cjs/{iso-dates-f78ffb80.js → iso-dates-d0cd4802.js} +0 -0
  904. /package/dist/cjs/{log-error-d46c02b7.js → log-error-8a92241e.js} +0 -0
  905. /package/dist/cjs/{on-attribute-change-37556263.js → on-attribute-change-4db59350.js} +0 -0
  906. /package/dist/cjs/{on-input-disabled-state-change-d66fb86b.js → on-input-disabled-state-change-005e5b3e.js} +0 -0
  907. /package/dist/cjs/{on-mutation-8f8a4460.js → on-mutation-ef917473.js} +0 -0
  908. /package/dist/cjs/{prevent-browser-validation-styling-d21b1a56.js → prevent-browser-validation-styling-15142963.js} +0 -0
  909. /package/dist/cjs/{random-html-id-b86b61c0.js → random-html-id-32ef8847.js} +0 -0
  910. /package/dist/cjs/{simulate-native-event-fe3e62da.js → simulate-native-event-8209a457.js} +0 -0
  911. /package/dist/cjs/{when-event-is-from-69b5ca13.js → when-event-is-from-20e89254.js} +0 -0
  912. /package/dist/cjs/{year-month-values-f387f8d8.js → year-month-values-6028ce26.js} +0 -0
  913. /package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.js → sprites.generated.js} +0 -0
  914. /package/dist/esm/{after-next-render-ed0f7dcd.js → after-next-render-84ec18ad.js} +0 -0
  915. /package/dist/esm/{capitalize-first-letter-d2512ec0.js → capitalize-first-letter-45fad3db.js} +0 -0
  916. /package/dist/esm/{clamp-6bdb0367.js → clamp-51db64df.js} +0 -0
  917. /package/dist/esm/{en-5ed282a0.js → en-1f9d79e6.js} +0 -0
  918. /package/dist/esm/{en-6c4aef39.js → en-98371f99.js} +0 -0
  919. /package/dist/esm/{en-46223eb1.js → en-b0526f2a.js} +0 -0
  920. /package/dist/esm/{event-is-from-90b69768.js → event-is-from-e25c5a22.js} +0 -0
  921. /package/dist/esm/{find-element-by-id-7c5f4fbf.js → find-element-by-id-a3c82a2d.js} +0 -0
  922. /package/dist/esm/{floating-ui.dom.esm-c86d3efa.js → floating-ui.dom.esm-813bb04f.js} +0 -0
  923. /package/dist/esm/{get-closest-element-1597503c.js → get-closest-element-66f63212.js} +0 -0
  924. /package/dist/esm/{get-slot-52d073f3.js → get-slot-55aade31.js} +0 -0
  925. /package/dist/esm/{get-slot-text-content-2e086993.js → get-slot-text-content-189d6edf.js} +0 -0
  926. /package/dist/esm/{gux-list.service-a878b7e3.js → gux-list.service-693f4ba7.js} +0 -0
  927. /package/dist/esm/{gux-listbox.service-a8319b51.js → gux-listbox.service-f2b6e01a.js} +0 -0
  928. /package/dist/esm/{gux-menu.common-a8b63e91.js → gux-menu.common-e59a1b12.js} +0 -0
  929. /package/dist/esm/{has-slot-062ae63a.js → has-slot-d06c74d9.js} +0 -0
  930. /package/dist/esm/{iso-dates-a7c704a4.js → iso-dates-5bcd3209.js} +0 -0
  931. /package/dist/esm/{log-error-e0bbd04a.js → log-error-0b15023e.js} +0 -0
  932. /package/dist/esm/{on-attribute-change-5fd8da7c.js → on-attribute-change-b91132e6.js} +0 -0
  933. /package/dist/esm/{on-input-disabled-state-change-3ea76372.js → on-input-disabled-state-change-e6bc912f.js} +0 -0
  934. /package/dist/esm/{on-mutation-d500715c.js → on-mutation-a2b7cdad.js} +0 -0
  935. /package/dist/esm/{prevent-browser-validation-styling-d16c3f4c.js → prevent-browser-validation-styling-8c459589.js} +0 -0
  936. /package/dist/esm/{random-html-id-8e3f658c.js → random-html-id-3354d85c.js} +0 -0
  937. /package/dist/esm/{simulate-native-event-ac69961f.js → simulate-native-event-bca7a1c9.js} +0 -0
  938. /package/dist/esm/{when-event-is-from-18667084.js → when-event-is-from-6154bd60.js} +0 -0
  939. /package/dist/esm/{year-month-values-1b64c204.js → year-month-values-6ffe871f.js} +0 -0
  940. /package/dist/genesys-webcomponents/{p-955a1e6a.js → p-08874a83.js} +0 -0
  941. /package/dist/genesys-webcomponents/{p-8a133b9b.js → p-0962dd7a.js} +0 -0
  942. /package/dist/genesys-webcomponents/{p-3f5341ea.js → p-16f3da0d.js} +0 -0
  943. /package/dist/genesys-webcomponents/{p-c10e41a9.js → p-28f55159.js} +0 -0
  944. /package/dist/genesys-webcomponents/{p-93904222.js → p-31cd1b9a.js} +0 -0
  945. /package/dist/genesys-webcomponents/{p-08bc2e6b.js → p-324b23f3.js} +0 -0
  946. /package/dist/genesys-webcomponents/{p-2c3d934a.js → p-363466e3.js} +0 -0
  947. /package/dist/genesys-webcomponents/{p-d176c2ae.js → p-373c5d93.js} +0 -0
  948. /package/dist/genesys-webcomponents/{p-cbcbd1bb.js → p-3ea0d493.js} +0 -0
  949. /package/dist/genesys-webcomponents/{p-1aa11396.js → p-408d5857.js} +0 -0
  950. /package/dist/genesys-webcomponents/{p-3701eff0.js → p-4e030b49.js} +0 -0
  951. /package/dist/genesys-webcomponents/{p-4f26144b.js → p-533d7842.js} +0 -0
  952. /package/dist/genesys-webcomponents/{p-82ffe3cc.js → p-5d7d5695.js} +0 -0
  953. /package/dist/genesys-webcomponents/{p-3e6097e5.js → p-693c1709.js} +0 -0
  954. /package/dist/genesys-webcomponents/{p-2bc35259.js → p-705311af.js} +0 -0
  955. /package/dist/genesys-webcomponents/{p-55cf6d81.js → p-71e00140.js} +0 -0
  956. /package/dist/genesys-webcomponents/{p-9dd4b14a.js → p-7b08c759.js} +0 -0
  957. /package/dist/genesys-webcomponents/{p-76ff3e75.js → p-8b703092.js} +0 -0
  958. /package/dist/genesys-webcomponents/{p-251befef.js → p-9125cc36.js} +0 -0
  959. /package/dist/genesys-webcomponents/{p-d0805f56.js → p-9d734bbd.js} +0 -0
  960. /package/dist/genesys-webcomponents/{p-4e2b5bcf.js → p-a5937ee9.js} +0 -0
  961. /package/dist/genesys-webcomponents/{p-417354e9.js → p-aa9ff6ba.js} +0 -0
  962. /package/dist/genesys-webcomponents/{p-abb9b5f7.js → p-c7328d42.js} +0 -0
  963. /package/dist/genesys-webcomponents/{p-29e8b184.js → p-dbb0ac25.js} +0 -0
  964. /package/dist/genesys-webcomponents/{p-aa2f9991.js → p-dd53013c.js} +0 -0
  965. /package/dist/genesys-webcomponents/{p-091f51f6.js → p-ffaadf62.js} +0 -0
  966. /package/dist/types/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.d.ts → sprites.generated.d.ts} +0 -0
@@ -0,0 +1,3021 @@
1
+ /**!
2
+ * Sortable 1.15.0
3
+ * @author RubaXa <trash@rubaxa.org>
4
+ * @author owenm <owen23355@gmail.com>
5
+ * @license MIT
6
+ */
7
+ function ownKeys(object, enumerableOnly) {
8
+ var keys = Object.keys(object);
9
+
10
+ if (Object.getOwnPropertySymbols) {
11
+ var symbols = Object.getOwnPropertySymbols(object);
12
+
13
+ if (enumerableOnly) {
14
+ symbols = symbols.filter(function (sym) {
15
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
16
+ });
17
+ }
18
+
19
+ keys.push.apply(keys, symbols);
20
+ }
21
+
22
+ return keys;
23
+ }
24
+
25
+ function _objectSpread2(target) {
26
+ for (var i = 1; i < arguments.length; i++) {
27
+ var source = arguments[i] != null ? arguments[i] : {};
28
+
29
+ if (i % 2) {
30
+ ownKeys(Object(source), true).forEach(function (key) {
31
+ _defineProperty(target, key, source[key]);
32
+ });
33
+ } else if (Object.getOwnPropertyDescriptors) {
34
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
35
+ } else {
36
+ ownKeys(Object(source)).forEach(function (key) {
37
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
38
+ });
39
+ }
40
+ }
41
+
42
+ return target;
43
+ }
44
+
45
+ function _typeof(obj) {
46
+ "@babel/helpers - typeof";
47
+
48
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
49
+ _typeof = function (obj) {
50
+ return typeof obj;
51
+ };
52
+ } else {
53
+ _typeof = function (obj) {
54
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
55
+ };
56
+ }
57
+
58
+ return _typeof(obj);
59
+ }
60
+
61
+ function _defineProperty(obj, key, value) {
62
+ if (key in obj) {
63
+ Object.defineProperty(obj, key, {
64
+ value: value,
65
+ enumerable: true,
66
+ configurable: true,
67
+ writable: true
68
+ });
69
+ } else {
70
+ obj[key] = value;
71
+ }
72
+
73
+ return obj;
74
+ }
75
+
76
+ function _extends() {
77
+ _extends = Object.assign || function (target) {
78
+ for (var i = 1; i < arguments.length; i++) {
79
+ var source = arguments[i];
80
+
81
+ for (var key in source) {
82
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
83
+ target[key] = source[key];
84
+ }
85
+ }
86
+ }
87
+
88
+ return target;
89
+ };
90
+
91
+ return _extends.apply(this, arguments);
92
+ }
93
+
94
+ function _objectWithoutPropertiesLoose(source, excluded) {
95
+ if (source == null) return {};
96
+ var target = {};
97
+ var sourceKeys = Object.keys(source);
98
+ var key, i;
99
+
100
+ for (i = 0; i < sourceKeys.length; i++) {
101
+ key = sourceKeys[i];
102
+ if (excluded.indexOf(key) >= 0) continue;
103
+ target[key] = source[key];
104
+ }
105
+
106
+ return target;
107
+ }
108
+
109
+ function _objectWithoutProperties(source, excluded) {
110
+ if (source == null) return {};
111
+
112
+ var target = _objectWithoutPropertiesLoose(source, excluded);
113
+
114
+ var key, i;
115
+
116
+ if (Object.getOwnPropertySymbols) {
117
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
118
+
119
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
120
+ key = sourceSymbolKeys[i];
121
+ if (excluded.indexOf(key) >= 0) continue;
122
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
123
+ target[key] = source[key];
124
+ }
125
+ }
126
+
127
+ return target;
128
+ }
129
+
130
+ var version = "1.15.0";
131
+
132
+ function userAgent(pattern) {
133
+ if (typeof window !== 'undefined' && window.navigator) {
134
+ return !! /*@__PURE__*/navigator.userAgent.match(pattern);
135
+ }
136
+ }
137
+
138
+ var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
139
+ var Edge = userAgent(/Edge/i);
140
+ var FireFox = userAgent(/firefox/i);
141
+ var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
142
+ var IOS = userAgent(/iP(ad|od|hone)/i);
143
+ var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
144
+
145
+ var captureMode = {
146
+ capture: false,
147
+ passive: false
148
+ };
149
+
150
+ function on(el, event, fn) {
151
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
152
+ }
153
+
154
+ function off(el, event, fn) {
155
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
156
+ }
157
+
158
+ function matches(
159
+ /**HTMLElement*/
160
+ el,
161
+ /**String*/
162
+ selector) {
163
+ if (!selector) return;
164
+ selector[0] === '>' && (selector = selector.substring(1));
165
+
166
+ if (el) {
167
+ try {
168
+ if (el.matches) {
169
+ return el.matches(selector);
170
+ } else if (el.msMatchesSelector) {
171
+ return el.msMatchesSelector(selector);
172
+ } else if (el.webkitMatchesSelector) {
173
+ return el.webkitMatchesSelector(selector);
174
+ }
175
+ } catch (_) {
176
+ return false;
177
+ }
178
+ }
179
+
180
+ return false;
181
+ }
182
+
183
+ function getParentOrHost(el) {
184
+ return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
185
+ }
186
+
187
+ function closest(
188
+ /**HTMLElement*/
189
+ el,
190
+ /**String*/
191
+ selector,
192
+ /**HTMLElement*/
193
+ ctx, includeCTX) {
194
+ if (el) {
195
+ ctx = ctx || document;
196
+
197
+ do {
198
+ if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
199
+ return el;
200
+ }
201
+
202
+ if (el === ctx) break;
203
+ /* jshint boss:true */
204
+ } while (el = getParentOrHost(el));
205
+ }
206
+
207
+ return null;
208
+ }
209
+
210
+ var R_SPACE = /\s+/g;
211
+
212
+ function toggleClass(el, name, state) {
213
+ if (el && name) {
214
+ if (el.classList) {
215
+ el.classList[state ? 'add' : 'remove'](name);
216
+ } else {
217
+ var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
218
+ el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
219
+ }
220
+ }
221
+ }
222
+
223
+ function css(el, prop, val) {
224
+ var style = el && el.style;
225
+
226
+ if (style) {
227
+ if (val === void 0) {
228
+ if (document.defaultView && document.defaultView.getComputedStyle) {
229
+ val = document.defaultView.getComputedStyle(el, '');
230
+ } else if (el.currentStyle) {
231
+ val = el.currentStyle;
232
+ }
233
+
234
+ return prop === void 0 ? val : val[prop];
235
+ } else {
236
+ if (!(prop in style) && prop.indexOf('webkit') === -1) {
237
+ prop = '-webkit-' + prop;
238
+ }
239
+
240
+ style[prop] = val + (typeof val === 'string' ? '' : 'px');
241
+ }
242
+ }
243
+ }
244
+
245
+ function matrix(el, selfOnly) {
246
+ var appliedTransforms = '';
247
+
248
+ if (typeof el === 'string') {
249
+ appliedTransforms = el;
250
+ } else {
251
+ do {
252
+ var transform = css(el, 'transform');
253
+
254
+ if (transform && transform !== 'none') {
255
+ appliedTransforms = transform + ' ' + appliedTransforms;
256
+ }
257
+ /* jshint boss:true */
258
+
259
+ } while (!selfOnly && (el = el.parentNode));
260
+ }
261
+
262
+ var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
263
+ /*jshint -W056 */
264
+
265
+ return matrixFn && new matrixFn(appliedTransforms);
266
+ }
267
+
268
+ function find(ctx, tagName, iterator) {
269
+ if (ctx) {
270
+ var list = ctx.getElementsByTagName(tagName),
271
+ i = 0,
272
+ n = list.length;
273
+
274
+ if (iterator) {
275
+ for (; i < n; i++) {
276
+ iterator(list[i], i);
277
+ }
278
+ }
279
+
280
+ return list;
281
+ }
282
+
283
+ return [];
284
+ }
285
+
286
+ function getWindowScrollingElement() {
287
+ var scrollingElement = document.scrollingElement;
288
+
289
+ if (scrollingElement) {
290
+ return scrollingElement;
291
+ } else {
292
+ return document.documentElement;
293
+ }
294
+ }
295
+ /**
296
+ * Returns the "bounding client rect" of given element
297
+ * @param {HTMLElement} el The element whose boundingClientRect is wanted
298
+ * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
299
+ * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
300
+ * @param {[Boolean]} undoScale Whether the container's scale() should be undone
301
+ * @param {[HTMLElement]} container The parent the element will be placed in
302
+ * @return {Object} The boundingClientRect of el, with specified adjustments
303
+ */
304
+
305
+
306
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
307
+ if (!el.getBoundingClientRect && el !== window) return;
308
+ var elRect, top, left, bottom, right, height, width;
309
+
310
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
311
+ elRect = el.getBoundingClientRect();
312
+ top = elRect.top;
313
+ left = elRect.left;
314
+ bottom = elRect.bottom;
315
+ right = elRect.right;
316
+ height = elRect.height;
317
+ width = elRect.width;
318
+ } else {
319
+ top = 0;
320
+ left = 0;
321
+ bottom = window.innerHeight;
322
+ right = window.innerWidth;
323
+ height = window.innerHeight;
324
+ width = window.innerWidth;
325
+ }
326
+
327
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
328
+ // Adjust for translate()
329
+ container = container || el.parentNode; // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
330
+ // Not needed on <= IE11
331
+
332
+ if (!IE11OrLess) {
333
+ do {
334
+ if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
335
+ var containerRect = container.getBoundingClientRect(); // Set relative to edges of padding box of container
336
+
337
+ top -= containerRect.top + parseInt(css(container, 'border-top-width'));
338
+ left -= containerRect.left + parseInt(css(container, 'border-left-width'));
339
+ bottom = top + elRect.height;
340
+ right = left + elRect.width;
341
+ break;
342
+ }
343
+ /* jshint boss:true */
344
+
345
+ } while (container = container.parentNode);
346
+ }
347
+ }
348
+
349
+ if (undoScale && el !== window) {
350
+ // Adjust for scale()
351
+ var elMatrix = matrix(container || el),
352
+ scaleX = elMatrix && elMatrix.a,
353
+ scaleY = elMatrix && elMatrix.d;
354
+
355
+ if (elMatrix) {
356
+ top /= scaleY;
357
+ left /= scaleX;
358
+ width /= scaleX;
359
+ height /= scaleY;
360
+ bottom = top + height;
361
+ right = left + width;
362
+ }
363
+ }
364
+
365
+ return {
366
+ top: top,
367
+ left: left,
368
+ bottom: bottom,
369
+ right: right,
370
+ width: width,
371
+ height: height
372
+ };
373
+ }
374
+ /**
375
+ * Checks if a side of an element is scrolled past a side of its parents
376
+ * @param {HTMLElement} el The element who's side being scrolled out of view is in question
377
+ * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
378
+ * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
379
+ * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
380
+ */
381
+
382
+
383
+ function isScrolledPast(el, elSide, parentSide) {
384
+ var parent = getParentAutoScrollElement(el, true),
385
+ elSideVal = getRect(el)[elSide];
386
+ /* jshint boss:true */
387
+
388
+ while (parent) {
389
+ var parentSideVal = getRect(parent)[parentSide],
390
+ visible = void 0;
391
+
392
+ if (parentSide === 'top' || parentSide === 'left') {
393
+ visible = elSideVal >= parentSideVal;
394
+ } else {
395
+ visible = elSideVal <= parentSideVal;
396
+ }
397
+
398
+ if (!visible) return parent;
399
+ if (parent === getWindowScrollingElement()) break;
400
+ parent = getParentAutoScrollElement(parent, false);
401
+ }
402
+
403
+ return false;
404
+ }
405
+ /**
406
+ * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
407
+ * and non-draggable elements
408
+ * @param {HTMLElement} el The parent element
409
+ * @param {Number} childNum The index of the child
410
+ * @param {Object} options Parent Sortable's options
411
+ * @return {HTMLElement} The child at index childNum, or null if not found
412
+ */
413
+
414
+
415
+ function getChild(el, childNum, options, includeDragEl) {
416
+ var currentChild = 0,
417
+ i = 0,
418
+ children = el.children;
419
+
420
+ while (i < children.length) {
421
+ if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
422
+ if (currentChild === childNum) {
423
+ return children[i];
424
+ }
425
+
426
+ currentChild++;
427
+ }
428
+
429
+ i++;
430
+ }
431
+
432
+ return null;
433
+ }
434
+ /**
435
+ * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
436
+ * @param {HTMLElement} el Parent element
437
+ * @param {selector} selector Any other elements that should be ignored
438
+ * @return {HTMLElement} The last child, ignoring ghostEl
439
+ */
440
+
441
+
442
+ function lastChild(el, selector) {
443
+ var last = el.lastElementChild;
444
+
445
+ while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
446
+ last = last.previousElementSibling;
447
+ }
448
+
449
+ return last || null;
450
+ }
451
+ /**
452
+ * Returns the index of an element within its parent for a selected set of
453
+ * elements
454
+ * @param {HTMLElement} el
455
+ * @param {selector} selector
456
+ * @return {number}
457
+ */
458
+
459
+
460
+ function index(el, selector) {
461
+ var index = 0;
462
+
463
+ if (!el || !el.parentNode) {
464
+ return -1;
465
+ }
466
+ /* jshint boss:true */
467
+
468
+
469
+ while (el = el.previousElementSibling) {
470
+ if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
471
+ index++;
472
+ }
473
+ }
474
+
475
+ return index;
476
+ }
477
+ /**
478
+ * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
479
+ * The value is returned in real pixels.
480
+ * @param {HTMLElement} el
481
+ * @return {Array} Offsets in the format of [left, top]
482
+ */
483
+
484
+
485
+ function getRelativeScrollOffset(el) {
486
+ var offsetLeft = 0,
487
+ offsetTop = 0,
488
+ winScroller = getWindowScrollingElement();
489
+
490
+ if (el) {
491
+ do {
492
+ var elMatrix = matrix(el),
493
+ scaleX = elMatrix.a,
494
+ scaleY = elMatrix.d;
495
+ offsetLeft += el.scrollLeft * scaleX;
496
+ offsetTop += el.scrollTop * scaleY;
497
+ } while (el !== winScroller && (el = el.parentNode));
498
+ }
499
+
500
+ return [offsetLeft, offsetTop];
501
+ }
502
+ /**
503
+ * Returns the index of the object within the given array
504
+ * @param {Array} arr Array that may or may not hold the object
505
+ * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
506
+ * @return {Number} The index of the object in the array, or -1
507
+ */
508
+
509
+
510
+ function indexOfObject(arr, obj) {
511
+ for (var i in arr) {
512
+ if (!arr.hasOwnProperty(i)) continue;
513
+
514
+ for (var key in obj) {
515
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
516
+ }
517
+ }
518
+
519
+ return -1;
520
+ }
521
+
522
+ function getParentAutoScrollElement(el, includeSelf) {
523
+ // skip to window
524
+ if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
525
+ var elem = el;
526
+ var gotSelf = false;
527
+
528
+ do {
529
+ // we don't need to get elem css if it isn't even overflowing in the first place (performance)
530
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
531
+ var elemCSS = css(elem);
532
+
533
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
534
+ if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
535
+ if (gotSelf || includeSelf) return elem;
536
+ gotSelf = true;
537
+ }
538
+ }
539
+ /* jshint boss:true */
540
+
541
+ } while (elem = elem.parentNode);
542
+
543
+ return getWindowScrollingElement();
544
+ }
545
+
546
+ function extend(dst, src) {
547
+ if (dst && src) {
548
+ for (var key in src) {
549
+ if (src.hasOwnProperty(key)) {
550
+ dst[key] = src[key];
551
+ }
552
+ }
553
+ }
554
+
555
+ return dst;
556
+ }
557
+
558
+ function isRectEqual(rect1, rect2) {
559
+ return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
560
+ }
561
+
562
+ var _throttleTimeout;
563
+
564
+ function throttle(callback, ms) {
565
+ return function () {
566
+ if (!_throttleTimeout) {
567
+ var args = arguments,
568
+ _this = this;
569
+
570
+ if (args.length === 1) {
571
+ callback.call(_this, args[0]);
572
+ } else {
573
+ callback.apply(_this, args);
574
+ }
575
+
576
+ _throttleTimeout = setTimeout(function () {
577
+ _throttleTimeout = void 0;
578
+ }, ms);
579
+ }
580
+ };
581
+ }
582
+
583
+ function cancelThrottle() {
584
+ clearTimeout(_throttleTimeout);
585
+ _throttleTimeout = void 0;
586
+ }
587
+
588
+ function scrollBy(el, x, y) {
589
+ el.scrollLeft += x;
590
+ el.scrollTop += y;
591
+ }
592
+
593
+ function clone(el) {
594
+ var Polymer = window.Polymer;
595
+ var $ = window.jQuery || window.Zepto;
596
+
597
+ if (Polymer && Polymer.dom) {
598
+ return Polymer.dom(el).cloneNode(true);
599
+ } else if ($) {
600
+ return $(el).clone(true)[0];
601
+ } else {
602
+ return el.cloneNode(true);
603
+ }
604
+ }
605
+
606
+ var expando = 'Sortable' + new Date().getTime();
607
+
608
+ function AnimationStateManager() {
609
+ var animationStates = [],
610
+ animationCallbackId;
611
+ return {
612
+ captureAnimationState: function captureAnimationState() {
613
+ animationStates = [];
614
+ if (!this.options.animation) return;
615
+ var children = [].slice.call(this.el.children);
616
+ children.forEach(function (child) {
617
+ if (css(child, 'display') === 'none' || child === Sortable.ghost) return;
618
+ animationStates.push({
619
+ target: child,
620
+ rect: getRect(child)
621
+ });
622
+
623
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect); // If animating: compensate for current animation
624
+
625
+
626
+ if (child.thisAnimationDuration) {
627
+ var childMatrix = matrix(child, true);
628
+
629
+ if (childMatrix) {
630
+ fromRect.top -= childMatrix.f;
631
+ fromRect.left -= childMatrix.e;
632
+ }
633
+ }
634
+
635
+ child.fromRect = fromRect;
636
+ });
637
+ },
638
+ addAnimationState: function addAnimationState(state) {
639
+ animationStates.push(state);
640
+ },
641
+ removeAnimationState: function removeAnimationState(target) {
642
+ animationStates.splice(indexOfObject(animationStates, {
643
+ target: target
644
+ }), 1);
645
+ },
646
+ animateAll: function animateAll(callback) {
647
+ var _this = this;
648
+
649
+ if (!this.options.animation) {
650
+ clearTimeout(animationCallbackId);
651
+ if (typeof callback === 'function') callback();
652
+ return;
653
+ }
654
+
655
+ var animating = false,
656
+ animationTime = 0;
657
+ animationStates.forEach(function (state) {
658
+ var time = 0,
659
+ target = state.target,
660
+ fromRect = target.fromRect,
661
+ toRect = getRect(target),
662
+ prevFromRect = target.prevFromRect,
663
+ prevToRect = target.prevToRect,
664
+ animatingRect = state.rect,
665
+ targetMatrix = matrix(target, true);
666
+
667
+ if (targetMatrix) {
668
+ // Compensate for current animation
669
+ toRect.top -= targetMatrix.f;
670
+ toRect.left -= targetMatrix.e;
671
+ }
672
+
673
+ target.toRect = toRect;
674
+
675
+ if (target.thisAnimationDuration) {
676
+ // Could also check if animatingRect is between fromRect and toRect
677
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect
678
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
679
+ // If returning to same place as started from animation and on same axis
680
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
681
+ }
682
+ } // if fromRect != toRect: animate
683
+
684
+
685
+ if (!isRectEqual(toRect, fromRect)) {
686
+ target.prevFromRect = fromRect;
687
+ target.prevToRect = toRect;
688
+
689
+ if (!time) {
690
+ time = _this.options.animation;
691
+ }
692
+
693
+ _this.animate(target, animatingRect, toRect, time);
694
+ }
695
+
696
+ if (time) {
697
+ animating = true;
698
+ animationTime = Math.max(animationTime, time);
699
+ clearTimeout(target.animationResetTimer);
700
+ target.animationResetTimer = setTimeout(function () {
701
+ target.animationTime = 0;
702
+ target.prevFromRect = null;
703
+ target.fromRect = null;
704
+ target.prevToRect = null;
705
+ target.thisAnimationDuration = null;
706
+ }, time);
707
+ target.thisAnimationDuration = time;
708
+ }
709
+ });
710
+ clearTimeout(animationCallbackId);
711
+
712
+ if (!animating) {
713
+ if (typeof callback === 'function') callback();
714
+ } else {
715
+ animationCallbackId = setTimeout(function () {
716
+ if (typeof callback === 'function') callback();
717
+ }, animationTime);
718
+ }
719
+
720
+ animationStates = [];
721
+ },
722
+ animate: function animate(target, currentRect, toRect, duration) {
723
+ if (duration) {
724
+ css(target, 'transition', '');
725
+ css(target, 'transform', '');
726
+ var elMatrix = matrix(this.el),
727
+ scaleX = elMatrix && elMatrix.a,
728
+ scaleY = elMatrix && elMatrix.d,
729
+ translateX = (currentRect.left - toRect.left) / (scaleX || 1),
730
+ translateY = (currentRect.top - toRect.top) / (scaleY || 1);
731
+ target.animatingX = !!translateX;
732
+ target.animatingY = !!translateY;
733
+ css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
734
+ this.forRepaintDummy = repaint(target); // repaint
735
+
736
+ css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
737
+ css(target, 'transform', 'translate3d(0,0,0)');
738
+ typeof target.animated === 'number' && clearTimeout(target.animated);
739
+ target.animated = setTimeout(function () {
740
+ css(target, 'transition', '');
741
+ css(target, 'transform', '');
742
+ target.animated = false;
743
+ target.animatingX = false;
744
+ target.animatingY = false;
745
+ }, duration);
746
+ }
747
+ }
748
+ };
749
+ }
750
+
751
+ function repaint(target) {
752
+ return target.offsetWidth;
753
+ }
754
+
755
+ function calculateRealTime(animatingRect, fromRect, toRect, options) {
756
+ return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
757
+ }
758
+
759
+ var plugins = [];
760
+ var defaults = {
761
+ initializeByDefault: true
762
+ };
763
+ var PluginManager = {
764
+ mount: function mount(plugin) {
765
+ // Set default static properties
766
+ for (var option in defaults) {
767
+ if (defaults.hasOwnProperty(option) && !(option in plugin)) {
768
+ plugin[option] = defaults[option];
769
+ }
770
+ }
771
+
772
+ plugins.forEach(function (p) {
773
+ if (p.pluginName === plugin.pluginName) {
774
+ throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
775
+ }
776
+ });
777
+ plugins.push(plugin);
778
+ },
779
+ pluginEvent: function pluginEvent(eventName, sortable, evt) {
780
+ var _this = this;
781
+
782
+ this.eventCanceled = false;
783
+
784
+ evt.cancel = function () {
785
+ _this.eventCanceled = true;
786
+ };
787
+
788
+ var eventNameGlobal = eventName + 'Global';
789
+ plugins.forEach(function (plugin) {
790
+ if (!sortable[plugin.pluginName]) return; // Fire global events if it exists in this sortable
791
+
792
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
793
+ sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
794
+ sortable: sortable
795
+ }, evt));
796
+ } // Only fire plugin event if plugin is enabled in this sortable,
797
+ // and plugin has event defined
798
+
799
+
800
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
801
+ sortable[plugin.pluginName][eventName](_objectSpread2({
802
+ sortable: sortable
803
+ }, evt));
804
+ }
805
+ });
806
+ },
807
+ initializePlugins: function initializePlugins(sortable, el, defaults, options) {
808
+ plugins.forEach(function (plugin) {
809
+ var pluginName = plugin.pluginName;
810
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
811
+ var initialized = new plugin(sortable, el, sortable.options);
812
+ initialized.sortable = sortable;
813
+ initialized.options = sortable.options;
814
+ sortable[pluginName] = initialized; // Add default options from plugin
815
+
816
+ _extends(defaults, initialized.defaults);
817
+ });
818
+
819
+ for (var option in sortable.options) {
820
+ if (!sortable.options.hasOwnProperty(option)) continue;
821
+ var modified = this.modifyOption(sortable, option, sortable.options[option]);
822
+
823
+ if (typeof modified !== 'undefined') {
824
+ sortable.options[option] = modified;
825
+ }
826
+ }
827
+ },
828
+ getEventProperties: function getEventProperties(name, sortable) {
829
+ var eventProperties = {};
830
+ plugins.forEach(function (plugin) {
831
+ if (typeof plugin.eventProperties !== 'function') return;
832
+
833
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
834
+ });
835
+ return eventProperties;
836
+ },
837
+ modifyOption: function modifyOption(sortable, name, value) {
838
+ var modifiedValue;
839
+ plugins.forEach(function (plugin) {
840
+ // Plugin must exist on the Sortable
841
+ if (!sortable[plugin.pluginName]) return; // If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
842
+
843
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
844
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
845
+ }
846
+ });
847
+ return modifiedValue;
848
+ }
849
+ };
850
+
851
+ function dispatchEvent(_ref) {
852
+ var sortable = _ref.sortable,
853
+ rootEl = _ref.rootEl,
854
+ name = _ref.name,
855
+ targetEl = _ref.targetEl,
856
+ cloneEl = _ref.cloneEl,
857
+ toEl = _ref.toEl,
858
+ fromEl = _ref.fromEl,
859
+ oldIndex = _ref.oldIndex,
860
+ newIndex = _ref.newIndex,
861
+ oldDraggableIndex = _ref.oldDraggableIndex,
862
+ newDraggableIndex = _ref.newDraggableIndex,
863
+ originalEvent = _ref.originalEvent,
864
+ putSortable = _ref.putSortable,
865
+ extraEventProperties = _ref.extraEventProperties;
866
+ sortable = sortable || rootEl && rootEl[expando];
867
+ if (!sortable) return;
868
+ var evt,
869
+ options = sortable.options,
870
+ onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1); // Support for new CustomEvent feature
871
+
872
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
873
+ evt = new CustomEvent(name, {
874
+ bubbles: true,
875
+ cancelable: true
876
+ });
877
+ } else {
878
+ evt = document.createEvent('Event');
879
+ evt.initEvent(name, true, true);
880
+ }
881
+
882
+ evt.to = toEl || rootEl;
883
+ evt.from = fromEl || rootEl;
884
+ evt.item = targetEl || rootEl;
885
+ evt.clone = cloneEl;
886
+ evt.oldIndex = oldIndex;
887
+ evt.newIndex = newIndex;
888
+ evt.oldDraggableIndex = oldDraggableIndex;
889
+ evt.newDraggableIndex = newDraggableIndex;
890
+ evt.originalEvent = originalEvent;
891
+ evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
892
+
893
+ var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
894
+
895
+ for (var option in allEventProperties) {
896
+ evt[option] = allEventProperties[option];
897
+ }
898
+
899
+ if (rootEl) {
900
+ rootEl.dispatchEvent(evt);
901
+ }
902
+
903
+ if (options[onName]) {
904
+ options[onName].call(sortable, evt);
905
+ }
906
+ }
907
+
908
+ var _excluded = ["evt"];
909
+
910
+ var pluginEvent = function pluginEvent(eventName, sortable) {
911
+ var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
912
+ originalEvent = _ref.evt,
913
+ data = _objectWithoutProperties(_ref, _excluded);
914
+
915
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
916
+ dragEl: dragEl,
917
+ parentEl: parentEl,
918
+ ghostEl: ghostEl,
919
+ rootEl: rootEl,
920
+ nextEl: nextEl,
921
+ lastDownEl: lastDownEl,
922
+ cloneEl: cloneEl,
923
+ cloneHidden: cloneHidden,
924
+ dragStarted: moved,
925
+ putSortable: putSortable,
926
+ activeSortable: Sortable.active,
927
+ originalEvent: originalEvent,
928
+ oldIndex: oldIndex,
929
+ oldDraggableIndex: oldDraggableIndex,
930
+ newIndex: newIndex,
931
+ newDraggableIndex: newDraggableIndex,
932
+ hideGhostForTarget: _hideGhostForTarget,
933
+ unhideGhostForTarget: _unhideGhostForTarget,
934
+ cloneNowHidden: function cloneNowHidden() {
935
+ cloneHidden = true;
936
+ },
937
+ cloneNowShown: function cloneNowShown() {
938
+ cloneHidden = false;
939
+ },
940
+ dispatchSortableEvent: function dispatchSortableEvent(name) {
941
+ _dispatchEvent({
942
+ sortable: sortable,
943
+ name: name,
944
+ originalEvent: originalEvent
945
+ });
946
+ }
947
+ }, data));
948
+ };
949
+
950
+ function _dispatchEvent(info) {
951
+ dispatchEvent(_objectSpread2({
952
+ putSortable: putSortable,
953
+ cloneEl: cloneEl,
954
+ targetEl: dragEl,
955
+ rootEl: rootEl,
956
+ oldIndex: oldIndex,
957
+ oldDraggableIndex: oldDraggableIndex,
958
+ newIndex: newIndex,
959
+ newDraggableIndex: newDraggableIndex
960
+ }, info));
961
+ }
962
+
963
+ var dragEl,
964
+ parentEl,
965
+ ghostEl,
966
+ rootEl,
967
+ nextEl,
968
+ lastDownEl,
969
+ cloneEl,
970
+ cloneHidden,
971
+ oldIndex,
972
+ newIndex,
973
+ oldDraggableIndex,
974
+ newDraggableIndex,
975
+ activeGroup,
976
+ putSortable,
977
+ awaitingDragStarted = false,
978
+ ignoreNextClick = false,
979
+ sortables = [],
980
+ tapEvt,
981
+ touchEvt,
982
+ lastDx,
983
+ lastDy,
984
+ tapDistanceLeft,
985
+ tapDistanceTop,
986
+ moved,
987
+ lastTarget,
988
+ lastDirection,
989
+ pastFirstInvertThresh = false,
990
+ isCircumstantialInvert = false,
991
+ targetMoveDistance,
992
+ // For positioning ghost absolutely
993
+ ghostRelativeParent,
994
+ ghostRelativeParentInitialScroll = [],
995
+ // (left, top)
996
+ _silent = false,
997
+ savedInputChecked = [];
998
+ /** @const */
999
+
1000
+ var documentExists = typeof document !== 'undefined',
1001
+ PositionGhostAbsolutely = IOS,
1002
+ CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
1003
+ // This will not pass for IE9, because IE9 DnD only works on anchors
1004
+ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
1005
+ supportCssPointerEvents = function () {
1006
+ if (!documentExists) return; // false when <= IE11
1007
+
1008
+ if (IE11OrLess) {
1009
+ return false;
1010
+ }
1011
+
1012
+ var el = document.createElement('x');
1013
+ el.style.cssText = 'pointer-events:auto';
1014
+ return el.style.pointerEvents === 'auto';
1015
+ }(),
1016
+ _detectDirection = function _detectDirection(el, options) {
1017
+ var elCSS = css(el),
1018
+ elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
1019
+ child1 = getChild(el, 0, options),
1020
+ child2 = getChild(el, 1, options),
1021
+ firstChildCSS = child1 && css(child1),
1022
+ secondChildCSS = child2 && css(child2),
1023
+ firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
1024
+ secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
1025
+
1026
+ if (elCSS.display === 'flex') {
1027
+ return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
1028
+ }
1029
+
1030
+ if (elCSS.display === 'grid') {
1031
+ return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
1032
+ }
1033
+
1034
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
1035
+ var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
1036
+ return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
1037
+ }
1038
+
1039
+ return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
1040
+ },
1041
+ _dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
1042
+ var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
1043
+ dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
1044
+ dragElOppLength = vertical ? dragRect.width : dragRect.height,
1045
+ targetS1Opp = vertical ? targetRect.left : targetRect.top,
1046
+ targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
1047
+ targetOppLength = vertical ? targetRect.width : targetRect.height;
1048
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
1049
+ },
1050
+
1051
+ /**
1052
+ * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
1053
+ * @param {Number} x X position
1054
+ * @param {Number} y Y position
1055
+ * @return {HTMLElement} Element of the first found nearest Sortable
1056
+ */
1057
+ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
1058
+ var ret;
1059
+ sortables.some(function (sortable) {
1060
+ var threshold = sortable[expando].options.emptyInsertThreshold;
1061
+ if (!threshold || lastChild(sortable)) return;
1062
+ var rect = getRect(sortable),
1063
+ insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
1064
+ insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
1065
+
1066
+ if (insideHorizontally && insideVertically) {
1067
+ return ret = sortable;
1068
+ }
1069
+ });
1070
+ return ret;
1071
+ },
1072
+ _prepareGroup = function _prepareGroup(options) {
1073
+ function toFn(value, pull) {
1074
+ return function (to, from, dragEl, evt) {
1075
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
1076
+
1077
+ if (value == null && (pull || sameGroup)) {
1078
+ // Default pull value
1079
+ // Default pull and put value if same group
1080
+ return true;
1081
+ } else if (value == null || value === false) {
1082
+ return false;
1083
+ } else if (pull && value === 'clone') {
1084
+ return value;
1085
+ } else if (typeof value === 'function') {
1086
+ return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
1087
+ } else {
1088
+ var otherGroup = (pull ? to : from).options.group.name;
1089
+ return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
1090
+ }
1091
+ };
1092
+ }
1093
+
1094
+ var group = {};
1095
+ var originalGroup = options.group;
1096
+
1097
+ if (!originalGroup || _typeof(originalGroup) != 'object') {
1098
+ originalGroup = {
1099
+ name: originalGroup
1100
+ };
1101
+ }
1102
+
1103
+ group.name = originalGroup.name;
1104
+ group.checkPull = toFn(originalGroup.pull, true);
1105
+ group.checkPut = toFn(originalGroup.put);
1106
+ group.revertClone = originalGroup.revertClone;
1107
+ options.group = group;
1108
+ },
1109
+ _hideGhostForTarget = function _hideGhostForTarget() {
1110
+ if (!supportCssPointerEvents && ghostEl) {
1111
+ css(ghostEl, 'display', 'none');
1112
+ }
1113
+ },
1114
+ _unhideGhostForTarget = function _unhideGhostForTarget() {
1115
+ if (!supportCssPointerEvents && ghostEl) {
1116
+ css(ghostEl, 'display', '');
1117
+ }
1118
+ }; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
1119
+
1120
+
1121
+ if (documentExists && !ChromeForAndroid) {
1122
+ document.addEventListener('click', function (evt) {
1123
+ if (ignoreNextClick) {
1124
+ evt.preventDefault();
1125
+ evt.stopPropagation && evt.stopPropagation();
1126
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
1127
+ ignoreNextClick = false;
1128
+ return false;
1129
+ }
1130
+ }, true);
1131
+ }
1132
+
1133
+ var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {
1134
+ if (dragEl) {
1135
+ evt = evt.touches ? evt.touches[0] : evt;
1136
+
1137
+ var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
1138
+
1139
+ if (nearest) {
1140
+ // Create imitation event
1141
+ var event = {};
1142
+
1143
+ for (var i in evt) {
1144
+ if (evt.hasOwnProperty(i)) {
1145
+ event[i] = evt[i];
1146
+ }
1147
+ }
1148
+
1149
+ event.target = event.rootEl = nearest;
1150
+ event.preventDefault = void 0;
1151
+ event.stopPropagation = void 0;
1152
+
1153
+ nearest[expando]._onDragOver(event);
1154
+ }
1155
+ }
1156
+ };
1157
+
1158
+ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
1159
+ if (dragEl) {
1160
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1161
+ }
1162
+ };
1163
+ /**
1164
+ * @class Sortable
1165
+ * @param {HTMLElement} el
1166
+ * @param {Object} [options]
1167
+ */
1168
+
1169
+
1170
+ function Sortable(el, options) {
1171
+ if (!(el && el.nodeType && el.nodeType === 1)) {
1172
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
1173
+ }
1174
+
1175
+ this.el = el; // root element
1176
+
1177
+ this.options = options = _extends({}, options); // Export instance
1178
+
1179
+ el[expando] = this;
1180
+ var defaults = {
1181
+ group: null,
1182
+ sort: true,
1183
+ disabled: false,
1184
+ store: null,
1185
+ handle: null,
1186
+ draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',
1187
+ swapThreshold: 1,
1188
+ // percentage; 0 <= x <= 1
1189
+ invertSwap: false,
1190
+ // invert always
1191
+ invertedSwapThreshold: null,
1192
+ // will be set to same as swapThreshold if default
1193
+ removeCloneOnHide: true,
1194
+ direction: function direction() {
1195
+ return _detectDirection(el, this.options);
1196
+ },
1197
+ ghostClass: 'sortable-ghost',
1198
+ chosenClass: 'sortable-chosen',
1199
+ dragClass: 'sortable-drag',
1200
+ ignore: 'a, img',
1201
+ filter: null,
1202
+ preventOnFilter: true,
1203
+ animation: 0,
1204
+ easing: null,
1205
+ setData: function setData(dataTransfer, dragEl) {
1206
+ dataTransfer.setData('Text', dragEl.textContent);
1207
+ },
1208
+ dropBubble: false,
1209
+ dragoverBubble: false,
1210
+ dataIdAttr: 'data-id',
1211
+ delay: 0,
1212
+ delayOnTouchOnly: false,
1213
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
1214
+ forceFallback: false,
1215
+ fallbackClass: 'sortable-fallback',
1216
+ fallbackOnBody: false,
1217
+ fallbackTolerance: 0,
1218
+ fallbackOffset: {
1219
+ x: 0,
1220
+ y: 0
1221
+ },
1222
+ supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
1223
+ emptyInsertThreshold: 5
1224
+ };
1225
+ PluginManager.initializePlugins(this, el, defaults); // Set default options
1226
+
1227
+ for (var name in defaults) {
1228
+ !(name in options) && (options[name] = defaults[name]);
1229
+ }
1230
+
1231
+ _prepareGroup(options); // Bind all private methods
1232
+
1233
+
1234
+ for (var fn in this) {
1235
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
1236
+ this[fn] = this[fn].bind(this);
1237
+ }
1238
+ } // Setup drag mode
1239
+
1240
+
1241
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
1242
+
1243
+ if (this.nativeDraggable) {
1244
+ // Touch start threshold cannot be greater than the native dragstart threshold
1245
+ this.options.touchStartThreshold = 1;
1246
+ } // Bind events
1247
+
1248
+
1249
+ if (options.supportPointer) {
1250
+ on(el, 'pointerdown', this._onTapStart);
1251
+ } else {
1252
+ on(el, 'mousedown', this._onTapStart);
1253
+ on(el, 'touchstart', this._onTapStart);
1254
+ }
1255
+
1256
+ if (this.nativeDraggable) {
1257
+ on(el, 'dragover', this);
1258
+ on(el, 'dragenter', this);
1259
+ }
1260
+
1261
+ sortables.push(this.el); // Restore sorting
1262
+
1263
+ options.store && options.store.get && this.sort(options.store.get(this) || []); // Add animation state manager
1264
+
1265
+ _extends(this, AnimationStateManager());
1266
+ }
1267
+
1268
+ Sortable.prototype =
1269
+ /** @lends Sortable.prototype */
1270
+ {
1271
+ constructor: Sortable,
1272
+ _isOutsideThisEl: function _isOutsideThisEl(target) {
1273
+ if (!this.el.contains(target) && target !== this.el) {
1274
+ lastTarget = null;
1275
+ }
1276
+ },
1277
+ _getDirection: function _getDirection(evt, target) {
1278
+ return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
1279
+ },
1280
+ _onTapStart: function _onTapStart(
1281
+ /** Event|TouchEvent */
1282
+ evt) {
1283
+ if (!evt.cancelable) return;
1284
+
1285
+ var _this = this,
1286
+ el = this.el,
1287
+ options = this.options,
1288
+ preventOnFilter = options.preventOnFilter,
1289
+ type = evt.type,
1290
+ touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
1291
+ target = (touch || evt).target,
1292
+ originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
1293
+ filter = options.filter;
1294
+
1295
+ _saveInputCheckedState(el); // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
1296
+
1297
+
1298
+ if (dragEl) {
1299
+ return;
1300
+ }
1301
+
1302
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
1303
+ return; // only left button and enabled
1304
+ } // cancel dnd if original target is content editable
1305
+
1306
+
1307
+ if (originalTarget.isContentEditable) {
1308
+ return;
1309
+ } // Safari ignores further event handling after mousedown
1310
+
1311
+
1312
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
1313
+ return;
1314
+ }
1315
+
1316
+ target = closest(target, options.draggable, el, false);
1317
+
1318
+ if (target && target.animated) {
1319
+ return;
1320
+ }
1321
+
1322
+ if (lastDownEl === target) {
1323
+ // Ignoring duplicate `down`
1324
+ return;
1325
+ } // Get the index of the dragged element within its parent
1326
+
1327
+
1328
+ oldIndex = index(target);
1329
+ oldDraggableIndex = index(target, options.draggable); // Check filter
1330
+
1331
+ if (typeof filter === 'function') {
1332
+ if (filter.call(this, evt, target, this)) {
1333
+ _dispatchEvent({
1334
+ sortable: _this,
1335
+ rootEl: originalTarget,
1336
+ name: 'filter',
1337
+ targetEl: target,
1338
+ toEl: el,
1339
+ fromEl: el
1340
+ });
1341
+
1342
+ pluginEvent('filter', _this, {
1343
+ evt: evt
1344
+ });
1345
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1346
+ return; // cancel dnd
1347
+ }
1348
+ } else if (filter) {
1349
+ filter = filter.split(',').some(function (criteria) {
1350
+ criteria = closest(originalTarget, criteria.trim(), el, false);
1351
+
1352
+ if (criteria) {
1353
+ _dispatchEvent({
1354
+ sortable: _this,
1355
+ rootEl: criteria,
1356
+ name: 'filter',
1357
+ targetEl: target,
1358
+ fromEl: el,
1359
+ toEl: el
1360
+ });
1361
+
1362
+ pluginEvent('filter', _this, {
1363
+ evt: evt
1364
+ });
1365
+ return true;
1366
+ }
1367
+ });
1368
+
1369
+ if (filter) {
1370
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1371
+ return; // cancel dnd
1372
+ }
1373
+ }
1374
+
1375
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
1376
+ return;
1377
+ } // Prepare `dragstart`
1378
+
1379
+
1380
+ this._prepareDragStart(evt, touch, target);
1381
+ },
1382
+ _prepareDragStart: function _prepareDragStart(
1383
+ /** Event */
1384
+ evt,
1385
+ /** Touch */
1386
+ touch,
1387
+ /** HTMLElement */
1388
+ target) {
1389
+ var _this = this,
1390
+ el = _this.el,
1391
+ options = _this.options,
1392
+ ownerDocument = el.ownerDocument,
1393
+ dragStartFn;
1394
+
1395
+ if (target && !dragEl && target.parentNode === el) {
1396
+ var dragRect = getRect(target);
1397
+ rootEl = el;
1398
+ dragEl = target;
1399
+ parentEl = dragEl.parentNode;
1400
+ nextEl = dragEl.nextSibling;
1401
+ lastDownEl = target;
1402
+ activeGroup = options.group;
1403
+ Sortable.dragged = dragEl;
1404
+ tapEvt = {
1405
+ target: dragEl,
1406
+ clientX: (touch || evt).clientX,
1407
+ clientY: (touch || evt).clientY
1408
+ };
1409
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1410
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1411
+ this._lastX = (touch || evt).clientX;
1412
+ this._lastY = (touch || evt).clientY;
1413
+ dragEl.style['will-change'] = 'all';
1414
+
1415
+ dragStartFn = function dragStartFn() {
1416
+ pluginEvent('delayEnded', _this, {
1417
+ evt: evt
1418
+ });
1419
+
1420
+ if (Sortable.eventCanceled) {
1421
+ _this._onDrop();
1422
+
1423
+ return;
1424
+ } // Delayed drag has been triggered
1425
+ // we can re-enable the events: touchmove/mousemove
1426
+
1427
+
1428
+ _this._disableDelayedDragEvents();
1429
+
1430
+ if (!FireFox && _this.nativeDraggable) {
1431
+ dragEl.draggable = true;
1432
+ } // Bind the events: dragstart/dragend
1433
+
1434
+
1435
+ _this._triggerDragStart(evt, touch); // Drag start event
1436
+
1437
+
1438
+ _dispatchEvent({
1439
+ sortable: _this,
1440
+ name: 'choose',
1441
+ originalEvent: evt
1442
+ }); // Chosen item
1443
+
1444
+
1445
+ toggleClass(dragEl, options.chosenClass, true);
1446
+ }; // Disable "draggable"
1447
+
1448
+
1449
+ options.ignore.split(',').forEach(function (criteria) {
1450
+ find(dragEl, criteria.trim(), _disableDraggable);
1451
+ });
1452
+ on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
1453
+ on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
1454
+ on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
1455
+ on(ownerDocument, 'mouseup', _this._onDrop);
1456
+ on(ownerDocument, 'touchend', _this._onDrop);
1457
+ on(ownerDocument, 'touchcancel', _this._onDrop); // Make dragEl draggable (must be before delay for FireFox)
1458
+
1459
+ if (FireFox && this.nativeDraggable) {
1460
+ this.options.touchStartThreshold = 4;
1461
+ dragEl.draggable = true;
1462
+ }
1463
+
1464
+ pluginEvent('delayStart', this, {
1465
+ evt: evt
1466
+ }); // Delay is impossible for native DnD in Edge or IE
1467
+
1468
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1469
+ if (Sortable.eventCanceled) {
1470
+ this._onDrop();
1471
+
1472
+ return;
1473
+ } // If the user moves the pointer or let go the click or touch
1474
+ // before the delay has been reached:
1475
+ // disable the delayed drag
1476
+
1477
+
1478
+ on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
1479
+ on(ownerDocument, 'touchend', _this._disableDelayedDrag);
1480
+ on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
1481
+ on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
1482
+ on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
1483
+ options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
1484
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1485
+ } else {
1486
+ dragStartFn();
1487
+ }
1488
+ }
1489
+ },
1490
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(
1491
+ /** TouchEvent|PointerEvent **/
1492
+ e) {
1493
+ var touch = e.touches ? e.touches[0] : e;
1494
+
1495
+ if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
1496
+ this._disableDelayedDrag();
1497
+ }
1498
+ },
1499
+ _disableDelayedDrag: function _disableDelayedDrag() {
1500
+ dragEl && _disableDraggable(dragEl);
1501
+ clearTimeout(this._dragStartTimer);
1502
+
1503
+ this._disableDelayedDragEvents();
1504
+ },
1505
+ _disableDelayedDragEvents: function _disableDelayedDragEvents() {
1506
+ var ownerDocument = this.el.ownerDocument;
1507
+ off(ownerDocument, 'mouseup', this._disableDelayedDrag);
1508
+ off(ownerDocument, 'touchend', this._disableDelayedDrag);
1509
+ off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
1510
+ off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
1511
+ off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
1512
+ off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
1513
+ },
1514
+ _triggerDragStart: function _triggerDragStart(
1515
+ /** Event */
1516
+ evt,
1517
+ /** Touch */
1518
+ touch) {
1519
+ touch = touch || evt.pointerType == 'touch' && evt;
1520
+
1521
+ if (!this.nativeDraggable || touch) {
1522
+ if (this.options.supportPointer) {
1523
+ on(document, 'pointermove', this._onTouchMove);
1524
+ } else if (touch) {
1525
+ on(document, 'touchmove', this._onTouchMove);
1526
+ } else {
1527
+ on(document, 'mousemove', this._onTouchMove);
1528
+ }
1529
+ } else {
1530
+ on(dragEl, 'dragend', this);
1531
+ on(rootEl, 'dragstart', this._onDragStart);
1532
+ }
1533
+
1534
+ try {
1535
+ if (document.selection) {
1536
+ // Timeout neccessary for IE9
1537
+ _nextTick(function () {
1538
+ document.selection.empty();
1539
+ });
1540
+ } else {
1541
+ window.getSelection().removeAllRanges();
1542
+ }
1543
+ } catch (err) {}
1544
+ },
1545
+ _dragStarted: function _dragStarted(fallback, evt) {
1546
+
1547
+ awaitingDragStarted = false;
1548
+
1549
+ if (rootEl && dragEl) {
1550
+ pluginEvent('dragStarted', this, {
1551
+ evt: evt
1552
+ });
1553
+
1554
+ if (this.nativeDraggable) {
1555
+ on(document, 'dragover', _checkOutsideTargetEl);
1556
+ }
1557
+
1558
+ var options = this.options; // Apply effect
1559
+
1560
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1561
+ toggleClass(dragEl, options.ghostClass, true);
1562
+ Sortable.active = this;
1563
+ fallback && this._appendGhost(); // Drag start event
1564
+
1565
+ _dispatchEvent({
1566
+ sortable: this,
1567
+ name: 'start',
1568
+ originalEvent: evt
1569
+ });
1570
+ } else {
1571
+ this._nulling();
1572
+ }
1573
+ },
1574
+ _emulateDragOver: function _emulateDragOver() {
1575
+ if (touchEvt) {
1576
+ this._lastX = touchEvt.clientX;
1577
+ this._lastY = touchEvt.clientY;
1578
+
1579
+ _hideGhostForTarget();
1580
+
1581
+ var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1582
+ var parent = target;
1583
+
1584
+ while (target && target.shadowRoot) {
1585
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1586
+ if (target === parent) break;
1587
+ parent = target;
1588
+ }
1589
+
1590
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1591
+
1592
+ if (parent) {
1593
+ do {
1594
+ if (parent[expando]) {
1595
+ var inserted = void 0;
1596
+ inserted = parent[expando]._onDragOver({
1597
+ clientX: touchEvt.clientX,
1598
+ clientY: touchEvt.clientY,
1599
+ target: target,
1600
+ rootEl: parent
1601
+ });
1602
+
1603
+ if (inserted && !this.options.dragoverBubble) {
1604
+ break;
1605
+ }
1606
+ }
1607
+
1608
+ target = parent; // store last element
1609
+ }
1610
+ /* jshint boss:true */
1611
+ while (parent = parent.parentNode);
1612
+ }
1613
+
1614
+ _unhideGhostForTarget();
1615
+ }
1616
+ },
1617
+ _onTouchMove: function _onTouchMove(
1618
+ /**TouchEvent*/
1619
+ evt) {
1620
+ if (tapEvt) {
1621
+ var options = this.options,
1622
+ fallbackTolerance = options.fallbackTolerance,
1623
+ fallbackOffset = options.fallbackOffset,
1624
+ touch = evt.touches ? evt.touches[0] : evt,
1625
+ ghostMatrix = ghostEl && matrix(ghostEl, true),
1626
+ scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
1627
+ scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
1628
+ relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
1629
+ dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
1630
+ dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1); // only set the status to dragging, when we are actually dragging
1631
+
1632
+ if (!Sortable.active && !awaitingDragStarted) {
1633
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1634
+ return;
1635
+ }
1636
+
1637
+ this._onDragStart(evt, true);
1638
+ }
1639
+
1640
+ if (ghostEl) {
1641
+ if (ghostMatrix) {
1642
+ ghostMatrix.e += dx - (lastDx || 0);
1643
+ ghostMatrix.f += dy - (lastDy || 0);
1644
+ } else {
1645
+ ghostMatrix = {
1646
+ a: 1,
1647
+ b: 0,
1648
+ c: 0,
1649
+ d: 1,
1650
+ e: dx,
1651
+ f: dy
1652
+ };
1653
+ }
1654
+
1655
+ var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1656
+ css(ghostEl, 'webkitTransform', cssMatrix);
1657
+ css(ghostEl, 'mozTransform', cssMatrix);
1658
+ css(ghostEl, 'msTransform', cssMatrix);
1659
+ css(ghostEl, 'transform', cssMatrix);
1660
+ lastDx = dx;
1661
+ lastDy = dy;
1662
+ touchEvt = touch;
1663
+ }
1664
+
1665
+ evt.cancelable && evt.preventDefault();
1666
+ }
1667
+ },
1668
+ _appendGhost: function _appendGhost() {
1669
+ // Bug if using scale(): https://stackoverflow.com/questions/2637058
1670
+ // Not being adjusted for
1671
+ if (!ghostEl) {
1672
+ var container = this.options.fallbackOnBody ? document.body : rootEl,
1673
+ rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
1674
+ options = this.options; // Position absolutely
1675
+
1676
+ if (PositionGhostAbsolutely) {
1677
+ // Get relatively positioned parent
1678
+ ghostRelativeParent = container;
1679
+
1680
+ while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
1681
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1682
+ }
1683
+
1684
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1685
+ if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1686
+ rect.top += ghostRelativeParent.scrollTop;
1687
+ rect.left += ghostRelativeParent.scrollLeft;
1688
+ } else {
1689
+ ghostRelativeParent = getWindowScrollingElement();
1690
+ }
1691
+
1692
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1693
+ }
1694
+
1695
+ ghostEl = dragEl.cloneNode(true);
1696
+ toggleClass(ghostEl, options.ghostClass, false);
1697
+ toggleClass(ghostEl, options.fallbackClass, true);
1698
+ toggleClass(ghostEl, options.dragClass, true);
1699
+ css(ghostEl, 'transition', '');
1700
+ css(ghostEl, 'transform', '');
1701
+ css(ghostEl, 'box-sizing', 'border-box');
1702
+ css(ghostEl, 'margin', 0);
1703
+ css(ghostEl, 'top', rect.top);
1704
+ css(ghostEl, 'left', rect.left);
1705
+ css(ghostEl, 'width', rect.width);
1706
+ css(ghostEl, 'height', rect.height);
1707
+ css(ghostEl, 'opacity', '0.8');
1708
+ css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
1709
+ css(ghostEl, 'zIndex', '100000');
1710
+ css(ghostEl, 'pointerEvents', 'none');
1711
+ Sortable.ghost = ghostEl;
1712
+ container.appendChild(ghostEl); // Set transform-origin
1713
+
1714
+ css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
1715
+ }
1716
+ },
1717
+ _onDragStart: function _onDragStart(
1718
+ /**Event*/
1719
+ evt,
1720
+ /**boolean*/
1721
+ fallback) {
1722
+ var _this = this;
1723
+
1724
+ var dataTransfer = evt.dataTransfer;
1725
+ var options = _this.options;
1726
+ pluginEvent('dragStart', this, {
1727
+ evt: evt
1728
+ });
1729
+
1730
+ if (Sortable.eventCanceled) {
1731
+ this._onDrop();
1732
+
1733
+ return;
1734
+ }
1735
+
1736
+ pluginEvent('setupClone', this);
1737
+
1738
+ if (!Sortable.eventCanceled) {
1739
+ cloneEl = clone(dragEl);
1740
+ cloneEl.removeAttribute("id");
1741
+ cloneEl.draggable = false;
1742
+ cloneEl.style['will-change'] = '';
1743
+
1744
+ this._hideClone();
1745
+
1746
+ toggleClass(cloneEl, this.options.chosenClass, false);
1747
+ Sortable.clone = cloneEl;
1748
+ } // #1143: IFrame support workaround
1749
+
1750
+
1751
+ _this.cloneId = _nextTick(function () {
1752
+ pluginEvent('clone', _this);
1753
+ if (Sortable.eventCanceled) return;
1754
+
1755
+ if (!_this.options.removeCloneOnHide) {
1756
+ rootEl.insertBefore(cloneEl, dragEl);
1757
+ }
1758
+
1759
+ _this._hideClone();
1760
+
1761
+ _dispatchEvent({
1762
+ sortable: _this,
1763
+ name: 'clone'
1764
+ });
1765
+ });
1766
+ !fallback && toggleClass(dragEl, options.dragClass, true); // Set proper drop events
1767
+
1768
+ if (fallback) {
1769
+ ignoreNextClick = true;
1770
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1771
+ } else {
1772
+ // Undo what was set in _prepareDragStart before drag started
1773
+ off(document, 'mouseup', _this._onDrop);
1774
+ off(document, 'touchend', _this._onDrop);
1775
+ off(document, 'touchcancel', _this._onDrop);
1776
+
1777
+ if (dataTransfer) {
1778
+ dataTransfer.effectAllowed = 'move';
1779
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1780
+ }
1781
+
1782
+ on(document, 'drop', _this); // #1276 fix:
1783
+
1784
+ css(dragEl, 'transform', 'translateZ(0)');
1785
+ }
1786
+
1787
+ awaitingDragStarted = true;
1788
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1789
+ on(document, 'selectstart', _this);
1790
+ moved = true;
1791
+
1792
+ if (Safari) {
1793
+ css(document.body, 'user-select', 'none');
1794
+ }
1795
+ },
1796
+ // Returns true - if no further action is needed (either inserted or another condition)
1797
+ _onDragOver: function _onDragOver(
1798
+ /**Event*/
1799
+ evt) {
1800
+ var el = this.el,
1801
+ target = evt.target,
1802
+ dragRect,
1803
+ targetRect,
1804
+ revert,
1805
+ options = this.options,
1806
+ group = options.group,
1807
+ activeSortable = Sortable.active,
1808
+ isOwner = activeGroup === group,
1809
+ canSort = options.sort,
1810
+ fromSortable = putSortable || activeSortable,
1811
+ vertical,
1812
+ _this = this,
1813
+ completedFired = false;
1814
+
1815
+ if (_silent) return;
1816
+
1817
+ function dragOverEvent(name, extra) {
1818
+ pluginEvent(name, _this, _objectSpread2({
1819
+ evt: evt,
1820
+ isOwner: isOwner,
1821
+ axis: vertical ? 'vertical' : 'horizontal',
1822
+ revert: revert,
1823
+ dragRect: dragRect,
1824
+ targetRect: targetRect,
1825
+ canSort: canSort,
1826
+ fromSortable: fromSortable,
1827
+ target: target,
1828
+ completed: completed,
1829
+ onMove: function onMove(target, after) {
1830
+ return _onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);
1831
+ },
1832
+ changed: changed
1833
+ }, extra));
1834
+ } // Capture animation state
1835
+
1836
+
1837
+ function capture() {
1838
+ dragOverEvent('dragOverAnimationCapture');
1839
+
1840
+ _this.captureAnimationState();
1841
+
1842
+ if (_this !== fromSortable) {
1843
+ fromSortable.captureAnimationState();
1844
+ }
1845
+ } // Return invocation when dragEl is inserted (or completed)
1846
+
1847
+
1848
+ function completed(insertion) {
1849
+ dragOverEvent('dragOverCompleted', {
1850
+ insertion: insertion
1851
+ });
1852
+
1853
+ if (insertion) {
1854
+ // Clones must be hidden before folding animation to capture dragRectAbsolute properly
1855
+ if (isOwner) {
1856
+ activeSortable._hideClone();
1857
+ } else {
1858
+ activeSortable._showClone(_this);
1859
+ }
1860
+
1861
+ if (_this !== fromSortable) {
1862
+ // Set ghost class to new sortable's ghost class
1863
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1864
+ toggleClass(dragEl, options.ghostClass, true);
1865
+ }
1866
+
1867
+ if (putSortable !== _this && _this !== Sortable.active) {
1868
+ putSortable = _this;
1869
+ } else if (_this === Sortable.active && putSortable) {
1870
+ putSortable = null;
1871
+ } // Animation
1872
+
1873
+
1874
+ if (fromSortable === _this) {
1875
+ _this._ignoreWhileAnimating = target;
1876
+ }
1877
+
1878
+ _this.animateAll(function () {
1879
+ dragOverEvent('dragOverAnimationComplete');
1880
+ _this._ignoreWhileAnimating = null;
1881
+ });
1882
+
1883
+ if (_this !== fromSortable) {
1884
+ fromSortable.animateAll();
1885
+ fromSortable._ignoreWhileAnimating = null;
1886
+ }
1887
+ } // Null lastTarget if it is not inside a previously swapped element
1888
+
1889
+
1890
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1891
+ lastTarget = null;
1892
+ } // no bubbling and not fallback
1893
+
1894
+
1895
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1896
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target); // Do not detect for empty insert if already inserted
1897
+
1898
+
1899
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1900
+ }
1901
+
1902
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1903
+ return completedFired = true;
1904
+ } // Call when dragEl has been inserted
1905
+
1906
+
1907
+ function changed() {
1908
+ newIndex = index(dragEl);
1909
+ newDraggableIndex = index(dragEl, options.draggable);
1910
+
1911
+ _dispatchEvent({
1912
+ sortable: _this,
1913
+ name: 'change',
1914
+ toEl: el,
1915
+ newIndex: newIndex,
1916
+ newDraggableIndex: newDraggableIndex,
1917
+ originalEvent: evt
1918
+ });
1919
+ }
1920
+
1921
+ if (evt.preventDefault !== void 0) {
1922
+ evt.cancelable && evt.preventDefault();
1923
+ }
1924
+
1925
+ target = closest(target, options.draggable, el, true);
1926
+ dragOverEvent('dragOver');
1927
+ if (Sortable.eventCanceled) return completedFired;
1928
+
1929
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1930
+ return completed(false);
1931
+ }
1932
+
1933
+ ignoreNextClick = false;
1934
+
1935
+ if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
1936
+ : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
1937
+ vertical = this._getDirection(evt, target) === 'vertical';
1938
+ dragRect = getRect(dragEl);
1939
+ dragOverEvent('dragOverValid');
1940
+ if (Sortable.eventCanceled) return completedFired;
1941
+
1942
+ if (revert) {
1943
+ parentEl = rootEl; // actualization
1944
+
1945
+ capture();
1946
+
1947
+ this._hideClone();
1948
+
1949
+ dragOverEvent('revert');
1950
+
1951
+ if (!Sortable.eventCanceled) {
1952
+ if (nextEl) {
1953
+ rootEl.insertBefore(dragEl, nextEl);
1954
+ } else {
1955
+ rootEl.appendChild(dragEl);
1956
+ }
1957
+ }
1958
+
1959
+ return completed(true);
1960
+ }
1961
+
1962
+ var elLastChild = lastChild(el, options.draggable);
1963
+
1964
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1965
+ // Insert to end of list
1966
+ // If already at end of list: Do not insert
1967
+ if (elLastChild === dragEl) {
1968
+ return completed(false);
1969
+ } // if there is a last element, it is the target
1970
+
1971
+
1972
+ if (elLastChild && el === evt.target) {
1973
+ target = elLastChild;
1974
+ }
1975
+
1976
+ if (target) {
1977
+ targetRect = getRect(target);
1978
+ }
1979
+
1980
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1981
+ capture();
1982
+
1983
+ if (elLastChild && elLastChild.nextSibling) {
1984
+ // the last draggable element is not the last node
1985
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1986
+ } else {
1987
+ el.appendChild(dragEl);
1988
+ }
1989
+
1990
+ parentEl = el; // actualization
1991
+
1992
+ changed();
1993
+ return completed(true);
1994
+ }
1995
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1996
+ // Insert to start of list
1997
+ var firstChild = getChild(el, 0, options, true);
1998
+
1999
+ if (firstChild === dragEl) {
2000
+ return completed(false);
2001
+ }
2002
+
2003
+ target = firstChild;
2004
+ targetRect = getRect(target);
2005
+
2006
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
2007
+ capture();
2008
+ el.insertBefore(dragEl, firstChild);
2009
+ parentEl = el; // actualization
2010
+
2011
+ changed();
2012
+ return completed(true);
2013
+ }
2014
+ } else if (target.parentNode === el) {
2015
+ targetRect = getRect(target);
2016
+ var direction = 0,
2017
+ targetBeforeFirstSwap,
2018
+ differentLevel = dragEl.parentNode !== el,
2019
+ differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
2020
+ side1 = vertical ? 'top' : 'left',
2021
+ scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
2022
+ scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
2023
+
2024
+ if (lastTarget !== target) {
2025
+ targetBeforeFirstSwap = targetRect[side1];
2026
+ pastFirstInvertThresh = false;
2027
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
2028
+ }
2029
+
2030
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
2031
+ var sibling;
2032
+
2033
+ if (direction !== 0) {
2034
+ // Check if target is beside dragEl in respective direction (ignoring hidden elements)
2035
+ var dragIndex = index(dragEl);
2036
+
2037
+ do {
2038
+ dragIndex -= direction;
2039
+ sibling = parentEl.children[dragIndex];
2040
+ } while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
2041
+ } // If dragEl is already beside target: Do not insert
2042
+
2043
+
2044
+ if (direction === 0 || sibling === target) {
2045
+ return completed(false);
2046
+ }
2047
+
2048
+ lastTarget = target;
2049
+ lastDirection = direction;
2050
+ var nextSibling = target.nextElementSibling,
2051
+ after = false;
2052
+ after = direction === 1;
2053
+
2054
+ var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
2055
+
2056
+ if (moveVector !== false) {
2057
+ if (moveVector === 1 || moveVector === -1) {
2058
+ after = moveVector === 1;
2059
+ }
2060
+
2061
+ _silent = true;
2062
+ setTimeout(_unsilent, 30);
2063
+ capture();
2064
+
2065
+ if (after && !nextSibling) {
2066
+ el.appendChild(dragEl);
2067
+ } else {
2068
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
2069
+ } // Undo chrome's scroll adjustment (has no effect on other browsers)
2070
+
2071
+
2072
+ if (scrolledPastTop) {
2073
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
2074
+ }
2075
+
2076
+ parentEl = dragEl.parentNode; // actualization
2077
+ // must be done before animation
2078
+
2079
+ if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
2080
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
2081
+ }
2082
+
2083
+ changed();
2084
+ return completed(true);
2085
+ }
2086
+ }
2087
+
2088
+ if (el.contains(dragEl)) {
2089
+ return completed(false);
2090
+ }
2091
+ }
2092
+
2093
+ return false;
2094
+ },
2095
+ _ignoreWhileAnimating: null,
2096
+ _offMoveEvents: function _offMoveEvents() {
2097
+ off(document, 'mousemove', this._onTouchMove);
2098
+ off(document, 'touchmove', this._onTouchMove);
2099
+ off(document, 'pointermove', this._onTouchMove);
2100
+ off(document, 'dragover', nearestEmptyInsertDetectEvent);
2101
+ off(document, 'mousemove', nearestEmptyInsertDetectEvent);
2102
+ off(document, 'touchmove', nearestEmptyInsertDetectEvent);
2103
+ },
2104
+ _offUpEvents: function _offUpEvents() {
2105
+ var ownerDocument = this.el.ownerDocument;
2106
+ off(ownerDocument, 'mouseup', this._onDrop);
2107
+ off(ownerDocument, 'touchend', this._onDrop);
2108
+ off(ownerDocument, 'pointerup', this._onDrop);
2109
+ off(ownerDocument, 'touchcancel', this._onDrop);
2110
+ off(document, 'selectstart', this);
2111
+ },
2112
+ _onDrop: function _onDrop(
2113
+ /**Event*/
2114
+ evt) {
2115
+ var el = this.el,
2116
+ options = this.options; // Get the index of the dragged element within its parent
2117
+
2118
+ newIndex = index(dragEl);
2119
+ newDraggableIndex = index(dragEl, options.draggable);
2120
+ pluginEvent('drop', this, {
2121
+ evt: evt
2122
+ });
2123
+ parentEl = dragEl && dragEl.parentNode; // Get again after plugin event
2124
+
2125
+ newIndex = index(dragEl);
2126
+ newDraggableIndex = index(dragEl, options.draggable);
2127
+
2128
+ if (Sortable.eventCanceled) {
2129
+ this._nulling();
2130
+
2131
+ return;
2132
+ }
2133
+
2134
+ awaitingDragStarted = false;
2135
+ isCircumstantialInvert = false;
2136
+ pastFirstInvertThresh = false;
2137
+ clearInterval(this._loopId);
2138
+ clearTimeout(this._dragStartTimer);
2139
+
2140
+ _cancelNextTick(this.cloneId);
2141
+
2142
+ _cancelNextTick(this._dragStartId); // Unbind events
2143
+
2144
+
2145
+ if (this.nativeDraggable) {
2146
+ off(document, 'drop', this);
2147
+ off(el, 'dragstart', this._onDragStart);
2148
+ }
2149
+
2150
+ this._offMoveEvents();
2151
+
2152
+ this._offUpEvents();
2153
+
2154
+ if (Safari) {
2155
+ css(document.body, 'user-select', '');
2156
+ }
2157
+
2158
+ css(dragEl, 'transform', '');
2159
+
2160
+ if (evt) {
2161
+ if (moved) {
2162
+ evt.cancelable && evt.preventDefault();
2163
+ !options.dropBubble && evt.stopPropagation();
2164
+ }
2165
+
2166
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
2167
+
2168
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
2169
+ // Remove clone(s)
2170
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
2171
+ }
2172
+
2173
+ if (dragEl) {
2174
+ if (this.nativeDraggable) {
2175
+ off(dragEl, 'dragend', this);
2176
+ }
2177
+
2178
+ _disableDraggable(dragEl);
2179
+
2180
+ dragEl.style['will-change'] = ''; // Remove classes
2181
+ // ghostClass is added in dragStarted
2182
+
2183
+ if (moved && !awaitingDragStarted) {
2184
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
2185
+ }
2186
+
2187
+ toggleClass(dragEl, this.options.chosenClass, false); // Drag stop event
2188
+
2189
+ _dispatchEvent({
2190
+ sortable: this,
2191
+ name: 'unchoose',
2192
+ toEl: parentEl,
2193
+ newIndex: null,
2194
+ newDraggableIndex: null,
2195
+ originalEvent: evt
2196
+ });
2197
+
2198
+ if (rootEl !== parentEl) {
2199
+ if (newIndex >= 0) {
2200
+ // Add event
2201
+ _dispatchEvent({
2202
+ rootEl: parentEl,
2203
+ name: 'add',
2204
+ toEl: parentEl,
2205
+ fromEl: rootEl,
2206
+ originalEvent: evt
2207
+ }); // Remove event
2208
+
2209
+
2210
+ _dispatchEvent({
2211
+ sortable: this,
2212
+ name: 'remove',
2213
+ toEl: parentEl,
2214
+ originalEvent: evt
2215
+ }); // drag from one list and drop into another
2216
+
2217
+
2218
+ _dispatchEvent({
2219
+ rootEl: parentEl,
2220
+ name: 'sort',
2221
+ toEl: parentEl,
2222
+ fromEl: rootEl,
2223
+ originalEvent: evt
2224
+ });
2225
+
2226
+ _dispatchEvent({
2227
+ sortable: this,
2228
+ name: 'sort',
2229
+ toEl: parentEl,
2230
+ originalEvent: evt
2231
+ });
2232
+ }
2233
+
2234
+ putSortable && putSortable.save();
2235
+ } else {
2236
+ if (newIndex !== oldIndex) {
2237
+ if (newIndex >= 0) {
2238
+ // drag & drop within the same list
2239
+ _dispatchEvent({
2240
+ sortable: this,
2241
+ name: 'update',
2242
+ toEl: parentEl,
2243
+ originalEvent: evt
2244
+ });
2245
+
2246
+ _dispatchEvent({
2247
+ sortable: this,
2248
+ name: 'sort',
2249
+ toEl: parentEl,
2250
+ originalEvent: evt
2251
+ });
2252
+ }
2253
+ }
2254
+ }
2255
+
2256
+ if (Sortable.active) {
2257
+ /* jshint eqnull:true */
2258
+ if (newIndex == null || newIndex === -1) {
2259
+ newIndex = oldIndex;
2260
+ newDraggableIndex = oldDraggableIndex;
2261
+ }
2262
+
2263
+ _dispatchEvent({
2264
+ sortable: this,
2265
+ name: 'end',
2266
+ toEl: parentEl,
2267
+ originalEvent: evt
2268
+ }); // Save sorting
2269
+
2270
+
2271
+ this.save();
2272
+ }
2273
+ }
2274
+ }
2275
+
2276
+ this._nulling();
2277
+ },
2278
+ _nulling: function _nulling() {
2279
+ pluginEvent('nulling', this);
2280
+ 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;
2281
+ savedInputChecked.forEach(function (el) {
2282
+ el.checked = true;
2283
+ });
2284
+ savedInputChecked.length = lastDx = lastDy = 0;
2285
+ },
2286
+ handleEvent: function handleEvent(
2287
+ /**Event*/
2288
+ evt) {
2289
+ switch (evt.type) {
2290
+ case 'drop':
2291
+ case 'dragend':
2292
+ this._onDrop(evt);
2293
+
2294
+ break;
2295
+
2296
+ case 'dragenter':
2297
+ case 'dragover':
2298
+ if (dragEl) {
2299
+ this._onDragOver(evt);
2300
+
2301
+ _globalDragOver(evt);
2302
+ }
2303
+
2304
+ break;
2305
+
2306
+ case 'selectstart':
2307
+ evt.preventDefault();
2308
+ break;
2309
+ }
2310
+ },
2311
+
2312
+ /**
2313
+ * Serializes the item into an array of string.
2314
+ * @returns {String[]}
2315
+ */
2316
+ toArray: function toArray() {
2317
+ var order = [],
2318
+ el,
2319
+ children = this.el.children,
2320
+ i = 0,
2321
+ n = children.length,
2322
+ options = this.options;
2323
+
2324
+ for (; i < n; i++) {
2325
+ el = children[i];
2326
+
2327
+ if (closest(el, options.draggable, this.el, false)) {
2328
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
2329
+ }
2330
+ }
2331
+
2332
+ return order;
2333
+ },
2334
+
2335
+ /**
2336
+ * Sorts the elements according to the array.
2337
+ * @param {String[]} order order of the items
2338
+ */
2339
+ sort: function sort(order, useAnimation) {
2340
+ var items = {},
2341
+ rootEl = this.el;
2342
+ this.toArray().forEach(function (id, i) {
2343
+ var el = rootEl.children[i];
2344
+
2345
+ if (closest(el, this.options.draggable, rootEl, false)) {
2346
+ items[id] = el;
2347
+ }
2348
+ }, this);
2349
+ useAnimation && this.captureAnimationState();
2350
+ order.forEach(function (id) {
2351
+ if (items[id]) {
2352
+ rootEl.removeChild(items[id]);
2353
+ rootEl.appendChild(items[id]);
2354
+ }
2355
+ });
2356
+ useAnimation && this.animateAll();
2357
+ },
2358
+
2359
+ /**
2360
+ * Save the current sorting
2361
+ */
2362
+ save: function save() {
2363
+ var store = this.options.store;
2364
+ store && store.set && store.set(this);
2365
+ },
2366
+
2367
+ /**
2368
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
2369
+ * @param {HTMLElement} el
2370
+ * @param {String} [selector] default: `options.draggable`
2371
+ * @returns {HTMLElement|null}
2372
+ */
2373
+ closest: function closest$1(el, selector) {
2374
+ return closest(el, selector || this.options.draggable, this.el, false);
2375
+ },
2376
+
2377
+ /**
2378
+ * Set/get option
2379
+ * @param {string} name
2380
+ * @param {*} [value]
2381
+ * @returns {*}
2382
+ */
2383
+ option: function option(name, value) {
2384
+ var options = this.options;
2385
+
2386
+ if (value === void 0) {
2387
+ return options[name];
2388
+ } else {
2389
+ var modifiedValue = PluginManager.modifyOption(this, name, value);
2390
+
2391
+ if (typeof modifiedValue !== 'undefined') {
2392
+ options[name] = modifiedValue;
2393
+ } else {
2394
+ options[name] = value;
2395
+ }
2396
+
2397
+ if (name === 'group') {
2398
+ _prepareGroup(options);
2399
+ }
2400
+ }
2401
+ },
2402
+
2403
+ /**
2404
+ * Destroy
2405
+ */
2406
+ destroy: function destroy() {
2407
+ pluginEvent('destroy', this);
2408
+ var el = this.el;
2409
+ el[expando] = null;
2410
+ off(el, 'mousedown', this._onTapStart);
2411
+ off(el, 'touchstart', this._onTapStart);
2412
+ off(el, 'pointerdown', this._onTapStart);
2413
+
2414
+ if (this.nativeDraggable) {
2415
+ off(el, 'dragover', this);
2416
+ off(el, 'dragenter', this);
2417
+ } // Remove draggable attributes
2418
+
2419
+
2420
+ Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
2421
+ el.removeAttribute('draggable');
2422
+ });
2423
+
2424
+ this._onDrop();
2425
+
2426
+ this._disableDelayedDragEvents();
2427
+
2428
+ sortables.splice(sortables.indexOf(this.el), 1);
2429
+ this.el = el = null;
2430
+ },
2431
+ _hideClone: function _hideClone() {
2432
+ if (!cloneHidden) {
2433
+ pluginEvent('hideClone', this);
2434
+ if (Sortable.eventCanceled) return;
2435
+ css(cloneEl, 'display', 'none');
2436
+
2437
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
2438
+ cloneEl.parentNode.removeChild(cloneEl);
2439
+ }
2440
+
2441
+ cloneHidden = true;
2442
+ }
2443
+ },
2444
+ _showClone: function _showClone(putSortable) {
2445
+ if (putSortable.lastPutMode !== 'clone') {
2446
+ this._hideClone();
2447
+
2448
+ return;
2449
+ }
2450
+
2451
+ if (cloneHidden) {
2452
+ pluginEvent('showClone', this);
2453
+ if (Sortable.eventCanceled) return; // show clone at dragEl or original position
2454
+
2455
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
2456
+ rootEl.insertBefore(cloneEl, dragEl);
2457
+ } else if (nextEl) {
2458
+ rootEl.insertBefore(cloneEl, nextEl);
2459
+ } else {
2460
+ rootEl.appendChild(cloneEl);
2461
+ }
2462
+
2463
+ if (this.options.group.revertClone) {
2464
+ this.animate(dragEl, cloneEl);
2465
+ }
2466
+
2467
+ css(cloneEl, 'display', '');
2468
+ cloneHidden = false;
2469
+ }
2470
+ }
2471
+ };
2472
+
2473
+ function _globalDragOver(
2474
+ /**Event*/
2475
+ evt) {
2476
+ if (evt.dataTransfer) {
2477
+ evt.dataTransfer.dropEffect = 'move';
2478
+ }
2479
+
2480
+ evt.cancelable && evt.preventDefault();
2481
+ }
2482
+
2483
+ function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
2484
+ var evt,
2485
+ sortable = fromEl[expando],
2486
+ onMoveFn = sortable.options.onMove,
2487
+ retVal; // Support for new CustomEvent feature
2488
+
2489
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
2490
+ evt = new CustomEvent('move', {
2491
+ bubbles: true,
2492
+ cancelable: true
2493
+ });
2494
+ } else {
2495
+ evt = document.createEvent('Event');
2496
+ evt.initEvent('move', true, true);
2497
+ }
2498
+
2499
+ evt.to = toEl;
2500
+ evt.from = fromEl;
2501
+ evt.dragged = dragEl;
2502
+ evt.draggedRect = dragRect;
2503
+ evt.related = targetEl || toEl;
2504
+ evt.relatedRect = targetRect || getRect(toEl);
2505
+ evt.willInsertAfter = willInsertAfter;
2506
+ evt.originalEvent = originalEvent;
2507
+ fromEl.dispatchEvent(evt);
2508
+
2509
+ if (onMoveFn) {
2510
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
2511
+ }
2512
+
2513
+ return retVal;
2514
+ }
2515
+
2516
+ function _disableDraggable(el) {
2517
+ el.draggable = false;
2518
+ }
2519
+
2520
+ function _unsilent() {
2521
+ _silent = false;
2522
+ }
2523
+
2524
+ function _ghostIsFirst(evt, vertical, sortable) {
2525
+ var rect = getRect(getChild(sortable.el, 0, sortable.options, true));
2526
+ var spacer = 10;
2527
+ return vertical ? evt.clientX < rect.left - spacer || evt.clientY < rect.top && evt.clientX < rect.right : evt.clientY < rect.top - spacer || evt.clientY < rect.bottom && evt.clientX < rect.left;
2528
+ }
2529
+
2530
+ function _ghostIsLast(evt, vertical, sortable) {
2531
+ var rect = getRect(lastChild(sortable.el, sortable.options.draggable));
2532
+ var spacer = 10;
2533
+ return vertical ? evt.clientX > rect.right + spacer || evt.clientX <= rect.right && evt.clientY > rect.bottom && evt.clientX >= rect.left : evt.clientX > rect.right && evt.clientY > rect.top || evt.clientX <= rect.right && evt.clientY > rect.bottom + spacer;
2534
+ }
2535
+
2536
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
2537
+ var mouseOnAxis = vertical ? evt.clientY : evt.clientX,
2538
+ targetLength = vertical ? targetRect.height : targetRect.width,
2539
+ targetS1 = vertical ? targetRect.top : targetRect.left,
2540
+ targetS2 = vertical ? targetRect.bottom : targetRect.right,
2541
+ invert = false;
2542
+
2543
+ if (!invertSwap) {
2544
+ // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
2545
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
2546
+ // multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2
2547
+ // check if past first invert threshold on side opposite of lastDirection
2548
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
2549
+ // past first invert threshold, do not restrict inverted threshold to dragEl shadow
2550
+ pastFirstInvertThresh = true;
2551
+ }
2552
+
2553
+ if (!pastFirstInvertThresh) {
2554
+ // dragEl shadow (target move distance shadow)
2555
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
2556
+ : mouseOnAxis > targetS2 - targetMoveDistance) {
2557
+ return -lastDirection;
2558
+ }
2559
+ } else {
2560
+ invert = true;
2561
+ }
2562
+ } else {
2563
+ // Regular
2564
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
2565
+ return _getInsertDirection(target);
2566
+ }
2567
+ }
2568
+ }
2569
+
2570
+ invert = invert || invertSwap;
2571
+
2572
+ if (invert) {
2573
+ // Invert of regular
2574
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
2575
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
2576
+ }
2577
+ }
2578
+
2579
+ return 0;
2580
+ }
2581
+ /**
2582
+ * Gets the direction dragEl must be swapped relative to target in order to make it
2583
+ * seem that dragEl has been "inserted" into that element's position
2584
+ * @param {HTMLElement} target The target whose position dragEl is being inserted at
2585
+ * @return {Number} Direction dragEl must be swapped
2586
+ */
2587
+
2588
+
2589
+ function _getInsertDirection(target) {
2590
+ if (index(dragEl) < index(target)) {
2591
+ return 1;
2592
+ } else {
2593
+ return -1;
2594
+ }
2595
+ }
2596
+ /**
2597
+ * Generate id
2598
+ * @param {HTMLElement} el
2599
+ * @returns {String}
2600
+ * @private
2601
+ */
2602
+
2603
+
2604
+ function _generateId(el) {
2605
+ var str = el.tagName + el.className + el.src + el.href + el.textContent,
2606
+ i = str.length,
2607
+ sum = 0;
2608
+
2609
+ while (i--) {
2610
+ sum += str.charCodeAt(i);
2611
+ }
2612
+
2613
+ return sum.toString(36);
2614
+ }
2615
+
2616
+ function _saveInputCheckedState(root) {
2617
+ savedInputChecked.length = 0;
2618
+ var inputs = root.getElementsByTagName('input');
2619
+ var idx = inputs.length;
2620
+
2621
+ while (idx--) {
2622
+ var el = inputs[idx];
2623
+ el.checked && savedInputChecked.push(el);
2624
+ }
2625
+ }
2626
+
2627
+ function _nextTick(fn) {
2628
+ return setTimeout(fn, 0);
2629
+ }
2630
+
2631
+ function _cancelNextTick(id) {
2632
+ return clearTimeout(id);
2633
+ } // Fixed #973:
2634
+
2635
+
2636
+ if (documentExists) {
2637
+ on(document, 'touchmove', function (evt) {
2638
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
2639
+ evt.preventDefault();
2640
+ }
2641
+ });
2642
+ } // Export utils
2643
+
2644
+
2645
+ Sortable.utils = {
2646
+ on: on,
2647
+ off: off,
2648
+ css: css,
2649
+ find: find,
2650
+ is: function is(el, selector) {
2651
+ return !!closest(el, selector, el, false);
2652
+ },
2653
+ extend: extend,
2654
+ throttle: throttle,
2655
+ closest: closest,
2656
+ toggleClass: toggleClass,
2657
+ clone: clone,
2658
+ index: index,
2659
+ nextTick: _nextTick,
2660
+ cancelNextTick: _cancelNextTick,
2661
+ detectDirection: _detectDirection,
2662
+ getChild: getChild
2663
+ };
2664
+ /**
2665
+ * Get the Sortable instance of an element
2666
+ * @param {HTMLElement} element The element
2667
+ * @return {Sortable|undefined} The instance of Sortable
2668
+ */
2669
+
2670
+ Sortable.get = function (element) {
2671
+ return element[expando];
2672
+ };
2673
+ /**
2674
+ * Mount a plugin to Sortable
2675
+ * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2676
+ */
2677
+
2678
+
2679
+ Sortable.mount = function () {
2680
+ for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
2681
+ plugins[_key] = arguments[_key];
2682
+ }
2683
+
2684
+ if (plugins[0].constructor === Array) plugins = plugins[0];
2685
+ plugins.forEach(function (plugin) {
2686
+ if (!plugin.prototype || !plugin.prototype.constructor) {
2687
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
2688
+ }
2689
+
2690
+ if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
2691
+ PluginManager.mount(plugin);
2692
+ });
2693
+ };
2694
+ /**
2695
+ * Create sortable instance
2696
+ * @param {HTMLElement} el
2697
+ * @param {Object} [options]
2698
+ */
2699
+
2700
+
2701
+ Sortable.create = function (el, options) {
2702
+ return new Sortable(el, options);
2703
+ }; // Export
2704
+
2705
+
2706
+ Sortable.version = version;
2707
+
2708
+ var autoScrolls = [],
2709
+ scrollEl,
2710
+ scrollRootEl,
2711
+ scrolling = false,
2712
+ lastAutoScrollX,
2713
+ lastAutoScrollY,
2714
+ touchEvt$1,
2715
+ pointerElemChangedInterval;
2716
+
2717
+ function AutoScrollPlugin() {
2718
+ function AutoScroll() {
2719
+ this.defaults = {
2720
+ scroll: true,
2721
+ forceAutoScrollFallback: false,
2722
+ scrollSensitivity: 30,
2723
+ scrollSpeed: 10,
2724
+ bubbleScroll: true
2725
+ }; // Bind all private methods
2726
+
2727
+ for (var fn in this) {
2728
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
2729
+ this[fn] = this[fn].bind(this);
2730
+ }
2731
+ }
2732
+ }
2733
+
2734
+ AutoScroll.prototype = {
2735
+ dragStarted: function dragStarted(_ref) {
2736
+ var originalEvent = _ref.originalEvent;
2737
+
2738
+ if (this.sortable.nativeDraggable) {
2739
+ on(document, 'dragover', this._handleAutoScroll);
2740
+ } else {
2741
+ if (this.options.supportPointer) {
2742
+ on(document, 'pointermove', this._handleFallbackAutoScroll);
2743
+ } else if (originalEvent.touches) {
2744
+ on(document, 'touchmove', this._handleFallbackAutoScroll);
2745
+ } else {
2746
+ on(document, 'mousemove', this._handleFallbackAutoScroll);
2747
+ }
2748
+ }
2749
+ },
2750
+ dragOverCompleted: function dragOverCompleted(_ref2) {
2751
+ var originalEvent = _ref2.originalEvent;
2752
+
2753
+ // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
2754
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2755
+ this._handleAutoScroll(originalEvent);
2756
+ }
2757
+ },
2758
+ drop: function drop() {
2759
+ if (this.sortable.nativeDraggable) {
2760
+ off(document, 'dragover', this._handleAutoScroll);
2761
+ } else {
2762
+ off(document, 'pointermove', this._handleFallbackAutoScroll);
2763
+ off(document, 'touchmove', this._handleFallbackAutoScroll);
2764
+ off(document, 'mousemove', this._handleFallbackAutoScroll);
2765
+ }
2766
+
2767
+ clearPointerElemChangedInterval();
2768
+ clearAutoScrolls();
2769
+ cancelThrottle();
2770
+ },
2771
+ nulling: function nulling() {
2772
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2773
+ autoScrolls.length = 0;
2774
+ },
2775
+ _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
2776
+ this._handleAutoScroll(evt, true);
2777
+ },
2778
+ _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2779
+ var _this = this;
2780
+
2781
+ var x = (evt.touches ? evt.touches[0] : evt).clientX,
2782
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2783
+ elem = document.elementFromPoint(x, y);
2784
+ touchEvt$1 = evt; // IE does not seem to have native autoscroll,
2785
+ // Edge's autoscroll seems too conditional,
2786
+ // MACOS Safari does not have autoscroll,
2787
+ // Firefox and Chrome are good
2788
+
2789
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2790
+ autoScroll(evt, this.options, elem, fallback); // Listener for pointer element change
2791
+
2792
+ var ogElemScroller = getParentAutoScrollElement(elem, true);
2793
+
2794
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2795
+ pointerElemChangedInterval && clearPointerElemChangedInterval(); // Detect for pointer elem change, emulating native DnD behaviour
2796
+
2797
+ pointerElemChangedInterval = setInterval(function () {
2798
+ var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2799
+
2800
+ if (newElem !== ogElemScroller) {
2801
+ ogElemScroller = newElem;
2802
+ clearAutoScrolls();
2803
+ }
2804
+
2805
+ autoScroll(evt, _this.options, newElem, fallback);
2806
+ }, 10);
2807
+ lastAutoScrollX = x;
2808
+ lastAutoScrollY = y;
2809
+ }
2810
+ } else {
2811
+ // if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
2812
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2813
+ clearAutoScrolls();
2814
+ return;
2815
+ }
2816
+
2817
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2818
+ }
2819
+ }
2820
+ };
2821
+ return _extends(AutoScroll, {
2822
+ pluginName: 'scroll',
2823
+ initializeByDefault: true
2824
+ });
2825
+ }
2826
+
2827
+ function clearAutoScrolls() {
2828
+ autoScrolls.forEach(function (autoScroll) {
2829
+ clearInterval(autoScroll.pid);
2830
+ });
2831
+ autoScrolls = [];
2832
+ }
2833
+
2834
+ function clearPointerElemChangedInterval() {
2835
+ clearInterval(pointerElemChangedInterval);
2836
+ }
2837
+
2838
+ var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2839
+ // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
2840
+ if (!options.scroll) return;
2841
+ var x = (evt.touches ? evt.touches[0] : evt).clientX,
2842
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2843
+ sens = options.scrollSensitivity,
2844
+ speed = options.scrollSpeed,
2845
+ winScroller = getWindowScrollingElement();
2846
+ var scrollThisInstance = false,
2847
+ scrollCustomFn; // New scroll root, set scrollEl
2848
+
2849
+ if (scrollRootEl !== rootEl) {
2850
+ scrollRootEl = rootEl;
2851
+ clearAutoScrolls();
2852
+ scrollEl = options.scroll;
2853
+ scrollCustomFn = options.scrollFn;
2854
+
2855
+ if (scrollEl === true) {
2856
+ scrollEl = getParentAutoScrollElement(rootEl, true);
2857
+ }
2858
+ }
2859
+
2860
+ var layersOut = 0;
2861
+ var currentParent = scrollEl;
2862
+
2863
+ do {
2864
+ var el = currentParent,
2865
+ rect = getRect(el),
2866
+ top = rect.top,
2867
+ bottom = rect.bottom,
2868
+ left = rect.left,
2869
+ right = rect.right,
2870
+ width = rect.width,
2871
+ height = rect.height,
2872
+ canScrollX = void 0,
2873
+ canScrollY = void 0,
2874
+ scrollWidth = el.scrollWidth,
2875
+ scrollHeight = el.scrollHeight,
2876
+ elCSS = css(el),
2877
+ scrollPosX = el.scrollLeft,
2878
+ scrollPosY = el.scrollTop;
2879
+
2880
+ if (el === winScroller) {
2881
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
2882
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
2883
+ } else {
2884
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
2885
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
2886
+ }
2887
+
2888
+ var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2889
+ var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2890
+
2891
+ if (!autoScrolls[layersOut]) {
2892
+ for (var i = 0; i <= layersOut; i++) {
2893
+ if (!autoScrolls[i]) {
2894
+ autoScrolls[i] = {};
2895
+ }
2896
+ }
2897
+ }
2898
+
2899
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2900
+ autoScrolls[layersOut].el = el;
2901
+ autoScrolls[layersOut].vx = vx;
2902
+ autoScrolls[layersOut].vy = vy;
2903
+ clearInterval(autoScrolls[layersOut].pid);
2904
+
2905
+ if (vx != 0 || vy != 0) {
2906
+ scrollThisInstance = true;
2907
+ /* jshint loopfunc:true */
2908
+
2909
+ autoScrolls[layersOut].pid = setInterval(function () {
2910
+ // emulate drag over during autoscroll (fallback), emulating native DnD behaviour
2911
+ if (isFallback && this.layer === 0) {
2912
+ Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
2913
+
2914
+ }
2915
+
2916
+ var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2917
+ var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2918
+
2919
+ if (typeof scrollCustomFn === 'function') {
2920
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
2921
+ return;
2922
+ }
2923
+ }
2924
+
2925
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2926
+ }.bind({
2927
+ layer: layersOut
2928
+ }), 24);
2929
+ }
2930
+ }
2931
+
2932
+ layersOut++;
2933
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2934
+
2935
+ scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
2936
+ }, 30);
2937
+
2938
+ var drop = function drop(_ref) {
2939
+ var originalEvent = _ref.originalEvent,
2940
+ putSortable = _ref.putSortable,
2941
+ dragEl = _ref.dragEl,
2942
+ activeSortable = _ref.activeSortable,
2943
+ dispatchSortableEvent = _ref.dispatchSortableEvent,
2944
+ hideGhostForTarget = _ref.hideGhostForTarget,
2945
+ unhideGhostForTarget = _ref.unhideGhostForTarget;
2946
+ if (!originalEvent) return;
2947
+ var toSortable = putSortable || activeSortable;
2948
+ hideGhostForTarget();
2949
+ var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2950
+ var target = document.elementFromPoint(touch.clientX, touch.clientY);
2951
+ unhideGhostForTarget();
2952
+
2953
+ if (toSortable && !toSortable.el.contains(target)) {
2954
+ dispatchSortableEvent('spill');
2955
+ this.onSpill({
2956
+ dragEl: dragEl,
2957
+ putSortable: putSortable
2958
+ });
2959
+ }
2960
+ };
2961
+
2962
+ function Revert() {}
2963
+
2964
+ Revert.prototype = {
2965
+ startIndex: null,
2966
+ dragStart: function dragStart(_ref2) {
2967
+ var oldDraggableIndex = _ref2.oldDraggableIndex;
2968
+ this.startIndex = oldDraggableIndex;
2969
+ },
2970
+ onSpill: function onSpill(_ref3) {
2971
+ var dragEl = _ref3.dragEl,
2972
+ putSortable = _ref3.putSortable;
2973
+ this.sortable.captureAnimationState();
2974
+
2975
+ if (putSortable) {
2976
+ putSortable.captureAnimationState();
2977
+ }
2978
+
2979
+ var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2980
+
2981
+ if (nextSibling) {
2982
+ this.sortable.el.insertBefore(dragEl, nextSibling);
2983
+ } else {
2984
+ this.sortable.el.appendChild(dragEl);
2985
+ }
2986
+
2987
+ this.sortable.animateAll();
2988
+
2989
+ if (putSortable) {
2990
+ putSortable.animateAll();
2991
+ }
2992
+ },
2993
+ drop: drop
2994
+ };
2995
+
2996
+ _extends(Revert, {
2997
+ pluginName: 'revertOnSpill'
2998
+ });
2999
+
3000
+ function Remove() {}
3001
+
3002
+ Remove.prototype = {
3003
+ onSpill: function onSpill(_ref4) {
3004
+ var dragEl = _ref4.dragEl,
3005
+ putSortable = _ref4.putSortable;
3006
+ var parentSortable = putSortable || this.sortable;
3007
+ parentSortable.captureAnimationState();
3008
+ dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
3009
+ parentSortable.animateAll();
3010
+ },
3011
+ drop: drop
3012
+ };
3013
+
3014
+ _extends(Remove, {
3015
+ pluginName: 'removeOnSpill'
3016
+ });
3017
+
3018
+ Sortable.mount(new AutoScrollPlugin());
3019
+ Sortable.mount(Remove, Revert);
3020
+
3021
+ export { Sortable as S };