@adyen/bento-vue3 1.89.2 → 1.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +767 -522
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/card.css +1 -1
  13. package/dist/assets/data-grid.css +1 -1
  14. package/dist/assets/date-picker.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/draggable-handle.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/error-message.css +1 -1
  20. package/dist/assets/field-label.css +1 -0
  21. package/dist/assets/file-uploader.css +1 -1
  22. package/dist/assets/filter-bar.css +1 -1
  23. package/dist/assets/form-layout-title.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/input-time.css +1 -0
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/secondary-nav.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/use-cached-selected-values.css +1 -1
  31. package/dist/button.js +1 -1
  32. package/dist/card.js +1 -1
  33. package/dist/checkbox.js +2 -2
  34. package/dist/chip.js +1 -1
  35. package/dist/chunks/accordion-item.CZIxxSsH.js +141 -0
  36. package/dist/chunks/{accordion-item.BX1KrLMl.js.map → accordion-item.CZIxxSsH.js.map} +1 -1
  37. package/dist/chunks/action-bar.BPS3wPde.js +336 -0
  38. package/dist/chunks/{action-bar.DLMaIUWW.js.map → action-bar.BPS3wPde.js.map} +1 -1
  39. package/dist/chunks/ai-tag.D7shWB_x.js +137 -0
  40. package/dist/chunks/{ai-tag.DK63ExDc.js.map → ai-tag.D7shWB_x.js.map} +1 -1
  41. package/dist/chunks/{alert.C_8-VNi_.js → alert.CFWN2E0b.js} +86 -79
  42. package/dist/chunks/{alert.C_8-VNi_.js.map → alert.CFWN2E0b.js.map} +1 -1
  43. package/dist/chunks/anchor-scroller.DSfXK6vK.js +214 -0
  44. package/dist/chunks/{anchor-scroller.NhjLDBZI.js.map → anchor-scroller.DSfXK6vK.js.map} +1 -1
  45. package/dist/chunks/{base-modal.C2-JyHC_.js → base-modal.BxcS7Pao.js} +132 -125
  46. package/dist/chunks/{base-modal.C2-JyHC_.js.map → base-modal.BxcS7Pao.js.map} +1 -1
  47. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js → button-actions-with-menu.BKdNXYgU.js} +2 -2
  48. package/dist/chunks/{button-actions-with-menu.BQFAgAI2.js.map → button-actions-with-menu.BKdNXYgU.js.map} +1 -1
  49. package/dist/chunks/{button-actions.cMQWyZne.js → button-actions.DLiM8KZL.js} +203 -189
  50. package/dist/chunks/{button-actions.cMQWyZne.js.map → button-actions.DLiM8KZL.js.map} +1 -1
  51. package/dist/chunks/{calendar.DcCqkSNJ.js → calendar.qm-kFNQv.js} +460 -428
  52. package/dist/chunks/calendar.qm-kFNQv.js.map +1 -0
  53. package/dist/chunks/card.BEChcEqg.js +223 -0
  54. package/dist/chunks/{card.CoxQ_L0w.js.map → card.BEChcEqg.js.map} +1 -1
  55. package/dist/chunks/{checkbox-group.96n9Cc3W.js → checkbox-group.i3W8WO-7.js} +4 -4
  56. package/dist/chunks/{checkbox-group.96n9Cc3W.js.map → checkbox-group.i3W8WO-7.js.map} +1 -1
  57. package/dist/chunks/{checkbox.C6ATh8f5.js → checkbox.BPrymcRl.js} +68 -61
  58. package/dist/chunks/{checkbox.C6ATh8f5.js.map → checkbox.BPrymcRl.js.map} +1 -1
  59. package/dist/chunks/chip.DFldnqfz.js +72 -0
  60. package/dist/chunks/{chip.CdgpQyXN.js.map → chip.DFldnqfz.js.map} +1 -1
  61. package/dist/chunks/{click-outside.BPylIosK.js → click-outside.B0whuTUU.js} +2 -2
  62. package/dist/chunks/{click-outside.BPylIosK.js.map → click-outside.B0whuTUU.js.map} +1 -1
  63. package/dist/chunks/{code-snippet.DgAuuZF5.js → code-snippet.BG5ZmCrb.js} +113 -106
  64. package/dist/chunks/{code-snippet.DgAuuZF5.js.map → code-snippet.BG5ZmCrb.js.map} +1 -1
  65. package/dist/chunks/{controls-group.C7hOE1F4.js → controls-group.DqRpF9bh.js} +2 -2
  66. package/dist/chunks/{controls-group.C7hOE1F4.js.map → controls-group.DqRpF9bh.js.map} +1 -1
  67. package/dist/chunks/copy.CL893i9-.js +114 -0
  68. package/dist/chunks/{copy.C2kQ1PbI.js.map → copy.CL893i9-.js.map} +1 -1
  69. package/dist/chunks/{country.CaGc08Ps.js → country.15m_ATbO.js} +3 -3
  70. package/dist/chunks/{country.CaGc08Ps.js.map → country.15m_ATbO.js.map} +1 -1
  71. package/dist/chunks/country.types.6a7xxZIR.js +26 -0
  72. package/dist/chunks/{country.types.DjpMGz7a.js.map → country.types.6a7xxZIR.js.map} +1 -1
  73. package/dist/chunks/{dashboard-section.UafHRkMa.js → dashboard-section.C7mfUXOl.js} +3 -3
  74. package/dist/chunks/{dashboard-section.UafHRkMa.js.map → dashboard-section.C7mfUXOl.js.map} +1 -1
  75. package/dist/chunks/{dashed-underline.CcDV2Aks.js → dashed-underline.B50DIXjK.js} +3 -3
  76. package/dist/chunks/{dashed-underline.CcDV2Aks.js.map → dashed-underline.B50DIXjK.js.map} +1 -1
  77. package/dist/chunks/{data-grid-template.CnC4TQvk.js → data-grid-template.CKdZb6EN.js} +4 -4
  78. package/dist/chunks/{data-grid-template.CnC4TQvk.js.map → data-grid-template.CKdZb6EN.js.map} +1 -1
  79. package/dist/chunks/data-grid.DvMe72LK.js +4247 -0
  80. package/dist/chunks/data-grid.DvMe72LK.js.map +1 -0
  81. package/dist/chunks/date-picker.CidHad1p.js +269 -0
  82. package/dist/chunks/date-picker.CidHad1p.js.map +1 -0
  83. package/dist/chunks/date-range-picker.c5OwESTS.js +1027 -0
  84. package/dist/chunks/date-range-picker.c5OwESTS.js.map +1 -0
  85. package/dist/chunks/dialog-page.Bh-7RAwX.js +163 -0
  86. package/dist/chunks/{dialog-page.COfKqjT-.js.map → dialog-page.Bh-7RAwX.js.map} +1 -1
  87. package/dist/chunks/{directive.Dpivxq_t.js → directive.C8kY-ZW-.js} +2 -2
  88. package/dist/chunks/{directive.Dpivxq_t.js.map → directive.C8kY-ZW-.js.map} +1 -1
  89. package/dist/chunks/draggable-handle.CySRx1tb.js +171 -0
  90. package/dist/chunks/draggable-handle.CySRx1tb.js.map +1 -0
  91. package/dist/chunks/{dropdown-tag.Ysrac5GN.js → dropdown-tag.wcJ6Mgqe.js} +5 -5
  92. package/dist/chunks/{dropdown-tag.Ysrac5GN.js.map → dropdown-tag.wcJ6Mgqe.js.map} +1 -1
  93. package/dist/chunks/dropdown.DHoL50gV.js +1214 -0
  94. package/dist/chunks/dropdown.DHoL50gV.js.map +1 -0
  95. package/dist/chunks/error-message.Dyvrw6ZB.js +55 -0
  96. package/dist/chunks/error-message.Dyvrw6ZB.js.map +1 -0
  97. package/dist/chunks/field-label.DZYFjFgr.js +111 -0
  98. package/dist/chunks/field-label.DZYFjFgr.js.map +1 -0
  99. package/dist/chunks/{file-uploader.Bfd1uUMe.js → file-uploader.Dbg3vfZ_.js} +606 -584
  100. package/dist/chunks/{file-uploader.Bfd1uUMe.js.map → file-uploader.Dbg3vfZ_.js.map} +1 -1
  101. package/dist/chunks/{filter-bar.CkAjLQol.js → filter-bar.Dt-cU3zy.js} +1559 -1471
  102. package/dist/chunks/filter-bar.Dt-cU3zy.js.map +1 -0
  103. package/dist/chunks/fixed-scroller.yVsaQzy5.js +157 -0
  104. package/dist/chunks/{fixed-scroller.DtkaGyMD.js.map → fixed-scroller.yVsaQzy5.js.map} +1 -1
  105. package/dist/chunks/{footer-actions.BcYSsoUg.js → footer-actions.CYBdKDPo.js} +2 -2
  106. package/dist/chunks/{footer-actions.BcYSsoUg.js.map → footer-actions.CYBdKDPo.js.map} +1 -1
  107. package/dist/chunks/form-layout-title.B3ePK3yi.js +253 -0
  108. package/dist/chunks/form-layout-title.B3ePK3yi.js.map +1 -0
  109. package/dist/chunks/{header-meta.Bym9AlQm.js → header-meta.COak4D8-.js} +98 -84
  110. package/dist/chunks/{header-meta.Bym9AlQm.js.map → header-meta.COak4D8-.js.map} +1 -1
  111. package/dist/chunks/{header-with-views.Djba6iol.js → header-with-views.DqioajcO.js} +1091 -1070
  112. package/dist/chunks/{header-with-views.Djba6iol.js.map → header-with-views.DqioajcO.js.map} +1 -1
  113. package/dist/chunks/{header.o-7SyHtU.js → header.C21yzWrk.js} +3 -3
  114. package/dist/chunks/{header.o-7SyHtU.js.map → header.C21yzWrk.js.map} +1 -1
  115. package/dist/chunks/{info-icon.BUala_wq.js → info-icon.B3MDsjMu.js} +2 -2
  116. package/dist/chunks/{info-icon.BUala_wq.js.map → info-icon.B3MDsjMu.js.map} +1 -1
  117. package/dist/chunks/input-field-password.DyUphhxB.js +353 -0
  118. package/dist/chunks/{input-field-password.DZytmp_p.js.map → input-field-password.DyUphhxB.js.map} +1 -1
  119. package/dist/chunks/{input-field-phone-number.CxblrmaU.js → input-field-phone-number.BXVaC5ra.js} +12 -5
  120. package/dist/chunks/{input-field-phone-number.CxblrmaU.js.map → input-field-phone-number.BXVaC5ra.js.map} +1 -1
  121. package/dist/chunks/input-field.DkUFvIWt.js +326 -0
  122. package/dist/chunks/input-field.DkUFvIWt.js.map +1 -0
  123. package/dist/chunks/input-time.WI_qdwJc.js +122 -0
  124. package/dist/chunks/input-time.WI_qdwJc.js.map +1 -0
  125. package/dist/chunks/{inspector.B9k4tJWe.js → inspector.DMhKNW1K.js} +70 -63
  126. package/dist/chunks/{inspector.B9k4tJWe.js.map → inspector.DMhKNW1K.js.map} +1 -1
  127. package/dist/chunks/{list-item.DO5uULke.js → list-item.BHvXpqaS.js} +2 -2
  128. package/dist/chunks/{list-item.DO5uULke.js.map → list-item.BHvXpqaS.js.map} +1 -1
  129. package/dist/chunks/{listbox-option-tag.Cvplth7d.js → listbox-option-tag.CVxaZqbc.js} +2 -2
  130. package/dist/chunks/{listbox-option-tag.Cvplth7d.js.map → listbox-option-tag.CVxaZqbc.js.map} +1 -1
  131. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js → modal-fullscreen.c6QphYQo.js} +54 -47
  132. package/dist/chunks/{modal-fullscreen.CuKVyTWb.js.map → modal-fullscreen.c6QphYQo.js.map} +1 -1
  133. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js} +48 -41
  134. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map → modal.vue_vue_type_script_setup_true_lang.ImqHKH-g.js.map} +1 -1
  135. package/dist/chunks/on-click-outside.BgIzQ2G1.js +108 -0
  136. package/dist/chunks/on-click-outside.BgIzQ2G1.js.map +1 -0
  137. package/dist/chunks/{pagination.dpVc6Yt0.js → pagination.Cu85Lqms.js} +150 -138
  138. package/dist/chunks/{pagination.dpVc6Yt0.js.map → pagination.Cu85Lqms.js.map} +1 -1
  139. package/dist/chunks/{promo-banner.BzveHNOI.js → promo-banner.-H4r_cwj.js} +39 -32
  140. package/dist/chunks/{promo-banner.BzveHNOI.js.map → promo-banner.-H4r_cwj.js.map} +1 -1
  141. package/dist/chunks/{radio-group.Cuiq4mxy.js → radio-group.CfMr1fmW.js} +4 -4
  142. package/dist/chunks/{radio-group.Cuiq4mxy.js.map → radio-group.CfMr1fmW.js.map} +1 -1
  143. package/dist/chunks/{rich-text-editor.DLMiT4f5.js → rich-text-editor.Bf9EWzNk.js} +421 -413
  144. package/dist/chunks/{rich-text-editor.DLMiT4f5.js.map → rich-text-editor.Bf9EWzNk.js.map} +1 -1
  145. package/dist/chunks/search-bar.p6kHCCvT.js +114 -0
  146. package/dist/chunks/{search-bar.CsFyP0_I.js.map → search-bar.p6kHCCvT.js.map} +1 -1
  147. package/dist/chunks/secondary-nav.CaxiyVaO.js +285 -0
  148. package/dist/chunks/secondary-nav.CaxiyVaO.js.map +1 -0
  149. package/dist/chunks/{segmented-control.KeQ5kuR1.js → segmented-control.CQWOO1-J.js} +2 -2
  150. package/dist/chunks/{segmented-control.KeQ5kuR1.js.map → segmented-control.CQWOO1-J.js.map} +1 -1
  151. package/dist/chunks/{selection-card-group.XM11Kk-4.js → selection-card-group.58XZj_SJ.js} +3 -3
  152. package/dist/chunks/{selection-card-group.XM11Kk-4.js.map → selection-card-group.58XZj_SJ.js.map} +1 -1
  153. package/dist/chunks/{sidepanel.b2QZ1Jsx.js → sidepanel.CAVhSs-O.js} +56 -49
  154. package/dist/chunks/{sidepanel.b2QZ1Jsx.js.map → sidepanel.CAVhSs-O.js.map} +1 -1
  155. package/dist/chunks/step.AsX2jAeL.js +268 -0
  156. package/dist/chunks/{step.BlwoLfdw.js.map → step.AsX2jAeL.js.map} +1 -1
  157. package/dist/chunks/structured-list-item.CgJR_ufh.js +112 -0
  158. package/dist/chunks/{structured-list-item.e-8kRleh.js.map → structured-list-item.CgJR_ufh.js.map} +1 -1
  159. package/dist/chunks/{summary-grid.types.CcvOC03H.js → summary-grid.types.CDithi8M.js} +5 -5
  160. package/dist/chunks/{summary-grid.types.CcvOC03H.js.map → summary-grid.types.CDithi8M.js.map} +1 -1
  161. package/dist/chunks/{tab.mR5uUSdp.js → tab.9nyNZiGw.js} +2 -2
  162. package/dist/chunks/{tab.mR5uUSdp.js.map → tab.9nyNZiGw.js.map} +1 -1
  163. package/dist/chunks/{tag.DujMVFh-.js → tag.YN2r-Pp3.js} +2 -2
  164. package/dist/chunks/{tag.DujMVFh-.js.map → tag.YN2r-Pp3.js.map} +1 -1
  165. package/dist/chunks/textarea.JGXAlpx9.js +257 -0
  166. package/dist/chunks/{textarea.CHV6Z8nt.js.map → textarea.JGXAlpx9.js.map} +1 -1
  167. package/dist/chunks/timeline-item.BNFPpQz1.js +433 -0
  168. package/dist/chunks/{timeline-item.CaGcRZbt.js.map → timeline-item.BNFPpQz1.js.map} +1 -1
  169. package/dist/chunks/{toast.C2oehk9P.js → toast.De4MTkiH.js} +64 -57
  170. package/dist/chunks/{toast.C2oehk9P.js.map → toast.De4MTkiH.js.map} +1 -1
  171. package/dist/chunks/{tooltip.CbADa_4p.js → tooltip.DHfG2aRt.js} +40 -38
  172. package/dist/chunks/tooltip.DHfG2aRt.js.map +1 -0
  173. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js} +120 -113
  174. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map → tutorial.vue_vue_type_script_setup_true_lang.C1cF-adv.js.map} +1 -1
  175. package/dist/chunks/{use-cached-selected-values.ClEJRFAd.js → use-cached-selected-values.Bx8uuky9.js} +436 -410
  176. package/dist/chunks/use-cached-selected-values.Bx8uuky9.js.map +1 -0
  177. package/dist/chunks/{use-country-items.D_3LBe2I.js → use-country-items.Dp7X1r2e.js} +3 -3
  178. package/dist/chunks/{use-country-items.D_3LBe2I.js.map → use-country-items.Dp7X1r2e.js.map} +1 -1
  179. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js → use-country-phon-code.BzcawGpE.js} +107 -104
  180. package/dist/chunks/{use-country-phon-code.DoqTGkNr.js.map → use-country-phon-code.BzcawGpE.js.map} +1 -1
  181. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js → use-date-input-formatter.BOuXpRb-.js} +2 -2
  182. package/dist/chunks/{use-date-input-formatter.CDRzd-hW.js.map → use-date-input-formatter.BOuXpRb-.js.map} +1 -1
  183. package/dist/chunks/use-touch-device.DTqFAbXh.js +11 -0
  184. package/dist/chunks/use-touch-device.DTqFAbXh.js.map +1 -0
  185. package/dist/click-outside.js +1 -1
  186. package/dist/code-snippet.js +1 -1
  187. package/dist/country.js +3 -3
  188. package/dist/dashboard-template.js +1 -1
  189. package/dist/dashed-underline.js +1 -1
  190. package/dist/data-grid-template.js +1 -1
  191. package/dist/data-grid.js +1 -1
  192. package/dist/date-picker.js +2 -2
  193. package/dist/date-range-picker.js +2 -2
  194. package/dist/draggable.js +1383 -0
  195. package/dist/draggable.js.map +1 -0
  196. package/dist/dropdown.js +10 -11
  197. package/dist/dropdown.js.map +1 -1
  198. package/dist/file-uploader.js +1 -1
  199. package/dist/filter-bar.js +1 -1
  200. package/dist/form-layout.js +1 -1
  201. package/dist/header-with-views.js +1 -1
  202. package/dist/header.js +1 -1
  203. package/dist/index.js +284 -279
  204. package/dist/index.js.map +1 -1
  205. package/dist/info-icon.js +1 -1
  206. package/dist/input-field-password.js +1 -1
  207. package/dist/input-field-phone-number.js +1 -1
  208. package/dist/input-field.js +1 -1
  209. package/dist/input-time.js +5 -0
  210. package/dist/input-time.js.map +1 -0
  211. package/dist/inspector.js +1 -1
  212. package/dist/internal.js +26 -25
  213. package/dist/internal.js.map +1 -1
  214. package/dist/list.js +1 -1
  215. package/dist/menu.js +1 -1
  216. package/dist/modal-fullscreen.js +1 -1
  217. package/dist/modal.js +2 -2
  218. package/dist/pagination.js +1 -1
  219. package/dist/popover.js +1 -1
  220. package/dist/promo-banner.js +1 -1
  221. package/dist/radio-group.js +1 -1
  222. package/dist/rich-text-editor.js +1 -1
  223. package/dist/search-bar.js +2 -2
  224. package/dist/secondary-nav.js +1 -1
  225. package/dist/segmented-control.js +1 -1
  226. package/dist/selection-card.js +1 -1
  227. package/dist/sidepanel.js +1 -1
  228. package/dist/stepper.js +1 -1
  229. package/dist/structured-list.js +1 -1
  230. package/dist/summary-grid.js +1 -1
  231. package/dist/tabs.js +1 -1
  232. package/dist/tag.js +1 -1
  233. package/dist/textarea.js +1 -1
  234. package/dist/timeline.js +1 -1
  235. package/dist/toast.js +1 -1
  236. package/dist/tutorial.js +1 -1
  237. package/dist/web-types.json +1 -1
  238. package/package.json +7 -10
  239. package/dist/assets/dropdown-default-textbox.css +0 -1
  240. package/dist/chunks/accordion-item.BX1KrLMl.js +0 -134
  241. package/dist/chunks/action-bar.DLMaIUWW.js +0 -329
  242. package/dist/chunks/ai-tag.DK63ExDc.js +0 -130
  243. package/dist/chunks/anchor-scroller.NhjLDBZI.js +0 -207
  244. package/dist/chunks/calendar.DcCqkSNJ.js.map +0 -1
  245. package/dist/chunks/card.CoxQ_L0w.js +0 -216
  246. package/dist/chunks/chip.CdgpQyXN.js +0 -65
  247. package/dist/chunks/copy.C2kQ1PbI.js +0 -107
  248. package/dist/chunks/country.types.DjpMGz7a.js +0 -19
  249. package/dist/chunks/data-grid.BSIXLRm7.js +0 -4014
  250. package/dist/chunks/data-grid.BSIXLRm7.js.map +0 -1
  251. package/dist/chunks/date-picker.dlzZ_-5f.js +0 -231
  252. package/dist/chunks/date-picker.dlzZ_-5f.js.map +0 -1
  253. package/dist/chunks/date-range-picker.DC6CK0As.js +0 -995
  254. package/dist/chunks/date-range-picker.DC6CK0As.js.map +0 -1
  255. package/dist/chunks/debounce.DUTu11PS.js +0 -10
  256. package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
  257. package/dist/chunks/dialog-page.COfKqjT-.js +0 -156
  258. package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js +0 -408
  259. package/dist/chunks/dropdown-default-textbox.bq9AlGzJ.js.map +0 -1
  260. package/dist/chunks/dropdown.MhmX1P9o.js +0 -799
  261. package/dist/chunks/dropdown.MhmX1P9o.js.map +0 -1
  262. package/dist/chunks/error-message.DCgo8q20.js +0 -143
  263. package/dist/chunks/error-message.DCgo8q20.js.map +0 -1
  264. package/dist/chunks/filter-bar.CkAjLQol.js.map +0 -1
  265. package/dist/chunks/fixed-scroller.DtkaGyMD.js +0 -150
  266. package/dist/chunks/form-layout-title.DW5Kg1rh.js +0 -230
  267. package/dist/chunks/form-layout-title.DW5Kg1rh.js.map +0 -1
  268. package/dist/chunks/input-field-password.DZytmp_p.js +0 -346
  269. package/dist/chunks/input-field.CfU0ZKtL.js +0 -315
  270. package/dist/chunks/input-field.CfU0ZKtL.js.map +0 -1
  271. package/dist/chunks/on-click-outside.ZUMLlxE_.js +0 -90
  272. package/dist/chunks/on-click-outside.ZUMLlxE_.js.map +0 -1
  273. package/dist/chunks/search-bar.CsFyP0_I.js +0 -107
  274. package/dist/chunks/secondary-nav.CLBdq98c.js +0 -138
  275. package/dist/chunks/secondary-nav.CLBdq98c.js.map +0 -1
  276. package/dist/chunks/step.BlwoLfdw.js +0 -259
  277. package/dist/chunks/structured-list-item.e-8kRleh.js +0 -105
  278. package/dist/chunks/textarea.CHV6Z8nt.js +0 -247
  279. package/dist/chunks/timeline-item.CaGcRZbt.js +0 -419
  280. package/dist/chunks/tooltip.CbADa_4p.js.map +0 -1
  281. package/dist/chunks/use-cached-selected-values.ClEJRFAd.js.map +0 -1
  282. package/dist/draggable-handle.js +0 -155
  283. package/dist/draggable-handle.js.map +0 -1
@@ -0,0 +1,1383 @@
1
+ import { ref as Le, watch as ct, onUnmounted as St, defineComponent as Wt, computed as Gt, openBlock as ht, createBlock as zt, resolveDynamicComponent as jt, withCtx as $t, createElementBlock as Ut, Fragment as qt, renderList as Vt, renderSlot as Kt } from "vue";
2
+ import { d as Rn } from "./chunks/draggable-handle.CySRx1tb.js";
3
+ function pt(o, e) {
4
+ var t = Object.keys(o);
5
+ if (Object.getOwnPropertySymbols) {
6
+ var n = Object.getOwnPropertySymbols(o);
7
+ e && (n = n.filter(function(i) {
8
+ return Object.getOwnPropertyDescriptor(o, i).enumerable;
9
+ })), t.push.apply(t, n);
10
+ }
11
+ return t;
12
+ }
13
+ function z(o) {
14
+ for (var e = 1; e < arguments.length; e++) {
15
+ var t = arguments[e] != null ? arguments[e] : {};
16
+ e % 2 ? pt(Object(t), !0).forEach(function(n) {
17
+ Zt(o, n, t[n]);
18
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : pt(Object(t)).forEach(function(n) {
19
+ Object.defineProperty(o, n, Object.getOwnPropertyDescriptor(t, n));
20
+ });
21
+ }
22
+ return o;
23
+ }
24
+ function ke(o) {
25
+ "@babel/helpers - typeof";
26
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ke = function(e) {
27
+ return typeof e;
28
+ } : ke = function(e) {
29
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
30
+ }, ke(o);
31
+ }
32
+ function Zt(o, e, t) {
33
+ return e in o ? Object.defineProperty(o, e, {
34
+ value: t,
35
+ enumerable: !0,
36
+ configurable: !0,
37
+ writable: !0
38
+ }) : o[e] = t, o;
39
+ }
40
+ function q() {
41
+ return q = Object.assign || function(o) {
42
+ for (var e = 1; e < arguments.length; e++) {
43
+ var t = arguments[e];
44
+ for (var n in t)
45
+ Object.prototype.hasOwnProperty.call(t, n) && (o[n] = t[n]);
46
+ }
47
+ return o;
48
+ }, q.apply(this, arguments);
49
+ }
50
+ function Qt(o, e) {
51
+ if (o == null) return {};
52
+ var t = {}, n = Object.keys(o), i, r;
53
+ for (r = 0; r < n.length; r++)
54
+ i = n[r], !(e.indexOf(i) >= 0) && (t[i] = o[i]);
55
+ return t;
56
+ }
57
+ function Jt(o, e) {
58
+ if (o == null) return {};
59
+ var t = Qt(o, e), n, i;
60
+ if (Object.getOwnPropertySymbols) {
61
+ var r = Object.getOwnPropertySymbols(o);
62
+ for (i = 0; i < r.length; i++)
63
+ n = r[i], !(e.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(o, n) && (t[n] = o[n]);
64
+ }
65
+ return t;
66
+ }
67
+ var en = "1.15.6";
68
+ function U(o) {
69
+ if (typeof window < "u" && window.navigator)
70
+ return !!/* @__PURE__ */ navigator.userAgent.match(o);
71
+ }
72
+ var V = U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ae = U(/Edge/i), gt = U(/firefox/i), _e = U(/safari/i) && !U(/chrome/i) && !U(/android/i), lt = U(/iP(ad|od|hone)/i), Tt = U(/chrome/i) && U(/android/i), Ct = {
73
+ capture: !1,
74
+ passive: !1
75
+ };
76
+ function v(o, e, t) {
77
+ o.addEventListener(e, t, !V && Ct);
78
+ }
79
+ function m(o, e, t) {
80
+ o.removeEventListener(e, t, !V && Ct);
81
+ }
82
+ function We(o, e) {
83
+ if (e) {
84
+ if (e[0] === ">" && (e = e.substring(1)), o)
85
+ try {
86
+ if (o.matches)
87
+ return o.matches(e);
88
+ if (o.msMatchesSelector)
89
+ return o.msMatchesSelector(e);
90
+ if (o.webkitMatchesSelector)
91
+ return o.webkitMatchesSelector(e);
92
+ } catch {
93
+ return !1;
94
+ }
95
+ return !1;
96
+ }
97
+ }
98
+ function Ot(o) {
99
+ return o.host && o !== document && o.host.nodeType ? o.host : o.parentNode;
100
+ }
101
+ function L(o, e, t, n) {
102
+ if (o) {
103
+ t = t || document;
104
+ do {
105
+ if (e != null && (e[0] === ">" ? o.parentNode === t && We(o, e) : We(o, e)) || n && o === t)
106
+ return o;
107
+ if (o === t) break;
108
+ } while (o = Ot(o));
109
+ }
110
+ return null;
111
+ }
112
+ var mt = /\s+/g;
113
+ function R(o, e, t) {
114
+ if (o && e)
115
+ if (o.classList)
116
+ o.classList[t ? "add" : "remove"](e);
117
+ else {
118
+ var n = (" " + o.className + " ").replace(mt, " ").replace(" " + e + " ", " ");
119
+ o.className = (n + (t ? " " + e : "")).replace(mt, " ");
120
+ }
121
+ }
122
+ function h(o, e, t) {
123
+ var n = o && o.style;
124
+ if (n) {
125
+ if (t === void 0)
126
+ return document.defaultView && document.defaultView.getComputedStyle ? t = document.defaultView.getComputedStyle(o, "") : o.currentStyle && (t = o.currentStyle), e === void 0 ? t : t[e];
127
+ !(e in n) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), n[e] = t + (typeof t == "string" ? "" : "px");
128
+ }
129
+ }
130
+ function ce(o, e) {
131
+ var t = "";
132
+ if (typeof o == "string")
133
+ t = o;
134
+ else
135
+ do {
136
+ var n = h(o, "transform");
137
+ n && n !== "none" && (t = n + " " + t);
138
+ } while (!e && (o = o.parentNode));
139
+ var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
140
+ return i && new i(t);
141
+ }
142
+ function It(o, e, t) {
143
+ if (o) {
144
+ var n = o.getElementsByTagName(e), i = 0, r = n.length;
145
+ if (t)
146
+ for (; i < r; i++)
147
+ t(n[i], i);
148
+ return n;
149
+ }
150
+ return [];
151
+ }
152
+ function G() {
153
+ var o = document.scrollingElement;
154
+ return o || document.documentElement;
155
+ }
156
+ function C(o, e, t, n, i) {
157
+ if (!(!o.getBoundingClientRect && o !== window)) {
158
+ var r, a, l, s, u, c, d;
159
+ if (o !== window && o.parentNode && o !== G() ? (r = o.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, c = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (e || t) && o !== window && (i = i || o.parentNode, !V))
160
+ do
161
+ if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || t && h(i, "position") !== "static")) {
162
+ var b = i.getBoundingClientRect();
163
+ a -= b.top + parseInt(h(i, "border-top-width")), l -= b.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
164
+ break;
165
+ }
166
+ while (i = i.parentNode);
167
+ if (n && o !== window) {
168
+ var w = ce(i || o), E = w && w.a, y = w && w.d;
169
+ w && (a /= y, l /= E, d /= E, c /= y, s = a + c, u = l + d);
170
+ }
171
+ return {
172
+ top: a,
173
+ left: l,
174
+ bottom: s,
175
+ right: u,
176
+ width: d,
177
+ height: c
178
+ };
179
+ }
180
+ }
181
+ function vt(o, e, t) {
182
+ for (var n = ee(o, !0), i = C(o)[e]; n; ) {
183
+ var r = C(n)[t], a = void 0;
184
+ if (a = i >= r, !a) return n;
185
+ if (n === G()) break;
186
+ n = ee(n, !1);
187
+ }
188
+ return !1;
189
+ }
190
+ function he(o, e, t, n) {
191
+ for (var i = 0, r = 0, a = o.children; r < a.length; ) {
192
+ if (a[r].style.display !== "none" && a[r] !== p.ghost && (n || a[r] !== p.dragged) && L(a[r], t.draggable, o, !1)) {
193
+ if (i === e)
194
+ return a[r];
195
+ i++;
196
+ }
197
+ r++;
198
+ }
199
+ return null;
200
+ }
201
+ function st(o, e) {
202
+ for (var t = o.lastElementChild; t && (t === p.ghost || h(t, "display") === "none" || e && !We(t, e)); )
203
+ t = t.previousElementSibling;
204
+ return t || null;
205
+ }
206
+ function Y(o, e) {
207
+ var t = 0;
208
+ if (!o || !o.parentNode)
209
+ return -1;
210
+ for (; o = o.previousElementSibling; )
211
+ o.nodeName.toUpperCase() !== "TEMPLATE" && o !== p.clone && (!e || We(o, e)) && t++;
212
+ return t;
213
+ }
214
+ function bt(o) {
215
+ var e = 0, t = 0, n = G();
216
+ if (o)
217
+ do {
218
+ var i = ce(o), r = i.a, a = i.d;
219
+ e += o.scrollLeft * r, t += o.scrollTop * a;
220
+ } while (o !== n && (o = o.parentNode));
221
+ return [e, t];
222
+ }
223
+ function tn(o, e) {
224
+ for (var t in o)
225
+ if (o.hasOwnProperty(t)) {
226
+ for (var n in e)
227
+ if (e.hasOwnProperty(n) && e[n] === o[t][n]) return Number(t);
228
+ }
229
+ return -1;
230
+ }
231
+ function ee(o, e) {
232
+ if (!o || !o.getBoundingClientRect) return G();
233
+ var t = o, n = !1;
234
+ do
235
+ if (t.clientWidth < t.scrollWidth || t.clientHeight < t.scrollHeight) {
236
+ var i = h(t);
237
+ if (t.clientWidth < t.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || t.clientHeight < t.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
238
+ if (!t.getBoundingClientRect || t === document.body) return G();
239
+ if (n || e) return t;
240
+ n = !0;
241
+ }
242
+ }
243
+ while (t = t.parentNode);
244
+ return G();
245
+ }
246
+ function nn(o, e) {
247
+ if (o && e)
248
+ for (var t in e)
249
+ e.hasOwnProperty(t) && (o[t] = e[t]);
250
+ return o;
251
+ }
252
+ function qe(o, e) {
253
+ return Math.round(o.top) === Math.round(e.top) && Math.round(o.left) === Math.round(e.left) && Math.round(o.height) === Math.round(e.height) && Math.round(o.width) === Math.round(e.width);
254
+ }
255
+ var De;
256
+ function At(o, e) {
257
+ return function() {
258
+ if (!De) {
259
+ var t = arguments, n = this;
260
+ t.length === 1 ? o.call(n, t[0]) : o.apply(n, t), De = setTimeout(function() {
261
+ De = void 0;
262
+ }, e);
263
+ }
264
+ };
265
+ }
266
+ function on() {
267
+ clearTimeout(De), De = void 0;
268
+ }
269
+ function Pt(o, e, t) {
270
+ o.scrollLeft += e, o.scrollTop += t;
271
+ }
272
+ function Nt(o) {
273
+ var e = window.Polymer, t = window.jQuery || window.Zepto;
274
+ return e && e.dom ? e.dom(o).cloneNode(!0) : t ? t(o).clone(!0)[0] : o.cloneNode(!0);
275
+ }
276
+ function xt(o, e, t) {
277
+ var n = {};
278
+ return Array.from(o.children).forEach(function(i) {
279
+ var r, a, l, s;
280
+ if (!(!L(i, e.draggable, o, !1) || i.animated || i === t)) {
281
+ var u = C(i);
282
+ n.left = Math.min((r = n.left) !== null && r !== void 0 ? r : 1 / 0, u.left), n.top = Math.min((a = n.top) !== null && a !== void 0 ? a : 1 / 0, u.top), n.right = Math.max((l = n.right) !== null && l !== void 0 ? l : -1 / 0, u.right), n.bottom = Math.max((s = n.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
283
+ }
284
+ }), n.width = n.right - n.left, n.height = n.bottom - n.top, n.x = n.left, n.y = n.top, n;
285
+ }
286
+ var x = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
287
+ function rn() {
288
+ var o = [], e;
289
+ return {
290
+ captureAnimationState: function() {
291
+ if (o = [], !!this.options.animation) {
292
+ var n = [].slice.call(this.el.children);
293
+ n.forEach(function(i) {
294
+ if (!(h(i, "display") === "none" || i === p.ghost)) {
295
+ o.push({
296
+ target: i,
297
+ rect: C(i)
298
+ });
299
+ var r = z({}, o[o.length - 1].rect);
300
+ if (i.thisAnimationDuration) {
301
+ var a = ce(i, !0);
302
+ a && (r.top -= a.f, r.left -= a.e);
303
+ }
304
+ i.fromRect = r;
305
+ }
306
+ });
307
+ }
308
+ },
309
+ addAnimationState: function(n) {
310
+ o.push(n);
311
+ },
312
+ removeAnimationState: function(n) {
313
+ o.splice(tn(o, {
314
+ target: n
315
+ }), 1);
316
+ },
317
+ animateAll: function(n) {
318
+ var i = this;
319
+ if (!this.options.animation) {
320
+ clearTimeout(e), typeof n == "function" && n();
321
+ return;
322
+ }
323
+ var r = !1, a = 0;
324
+ o.forEach(function(l) {
325
+ var s = 0, u = l.target, c = u.fromRect, d = C(u), b = u.prevFromRect, w = u.prevToRect, E = l.rect, y = ce(u, !0);
326
+ y && (d.top -= y.f, d.left -= y.e), u.toRect = d, u.thisAnimationDuration && qe(b, d) && !qe(c, d) && // Make sure animatingRect is on line between toRect & fromRect
327
+ (E.top - d.top) / (E.left - d.left) === (c.top - d.top) / (c.left - d.left) && (s = ln(E, b, w, i.options)), qe(d, c) || (u.prevFromRect = c, u.prevToRect = d, s || (s = i.options.animation), i.animate(u, E, d, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
328
+ u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
329
+ }, s), u.thisAnimationDuration = s);
330
+ }), clearTimeout(e), r ? e = setTimeout(function() {
331
+ typeof n == "function" && n();
332
+ }, a) : typeof n == "function" && n(), o = [];
333
+ },
334
+ animate: function(n, i, r, a) {
335
+ if (a) {
336
+ h(n, "transition", ""), h(n, "transform", "");
337
+ var l = ce(this.el), s = l && l.a, u = l && l.d, c = (i.left - r.left) / (s || 1), d = (i.top - r.top) / (u || 1);
338
+ n.animatingX = !!c, n.animatingY = !!d, h(n, "transform", "translate3d(" + c + "px," + d + "px,0)"), this.forRepaintDummy = an(n), h(n, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
339
+ h(n, "transition", ""), h(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
340
+ }, a);
341
+ }
342
+ }
343
+ };
344
+ }
345
+ function an(o) {
346
+ return o.offsetWidth;
347
+ }
348
+ function ln(o, e, t, n) {
349
+ return Math.sqrt(Math.pow(e.top - o.top, 2) + Math.pow(e.left - o.left, 2)) / Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) * n.animation;
350
+ }
351
+ var se = [], Ve = {
352
+ initializeByDefault: !0
353
+ }, Pe = {
354
+ mount: function(e) {
355
+ for (var t in Ve)
356
+ Ve.hasOwnProperty(t) && !(t in e) && (e[t] = Ve[t]);
357
+ se.forEach(function(n) {
358
+ if (n.pluginName === e.pluginName)
359
+ throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
360
+ }), se.push(e);
361
+ },
362
+ pluginEvent: function(e, t, n) {
363
+ var i = this;
364
+ this.eventCanceled = !1, n.cancel = function() {
365
+ i.eventCanceled = !0;
366
+ };
367
+ var r = e + "Global";
368
+ se.forEach(function(a) {
369
+ t[a.pluginName] && (t[a.pluginName][r] && t[a.pluginName][r](z({
370
+ sortable: t
371
+ }, n)), t.options[a.pluginName] && t[a.pluginName][e] && t[a.pluginName][e](z({
372
+ sortable: t
373
+ }, n)));
374
+ });
375
+ },
376
+ initializePlugins: function(e, t, n, i) {
377
+ se.forEach(function(l) {
378
+ var s = l.pluginName;
379
+ if (!(!e.options[s] && !l.initializeByDefault)) {
380
+ var u = new l(e, t, e.options);
381
+ u.sortable = e, u.options = e.options, e[s] = u, q(n, u.defaults);
382
+ }
383
+ });
384
+ for (var r in e.options)
385
+ if (e.options.hasOwnProperty(r)) {
386
+ var a = this.modifyOption(e, r, e.options[r]);
387
+ typeof a < "u" && (e.options[r] = a);
388
+ }
389
+ },
390
+ getEventProperties: function(e, t) {
391
+ var n = {};
392
+ return se.forEach(function(i) {
393
+ typeof i.eventProperties == "function" && q(n, i.eventProperties.call(t[i.pluginName], e));
394
+ }), n;
395
+ },
396
+ modifyOption: function(e, t, n) {
397
+ var i;
398
+ return se.forEach(function(r) {
399
+ e[r.pluginName] && r.optionListeners && typeof r.optionListeners[t] == "function" && (i = r.optionListeners[t].call(e[r.pluginName], n));
400
+ }), i;
401
+ }
402
+ };
403
+ function sn(o) {
404
+ var e = o.sortable, t = o.rootEl, n = o.name, i = o.targetEl, r = o.cloneEl, a = o.toEl, l = o.fromEl, s = o.oldIndex, u = o.newIndex, c = o.oldDraggableIndex, d = o.newDraggableIndex, b = o.originalEvent, w = o.putSortable, E = o.extraEventProperties;
405
+ if (e = e || t && t[x], !!e) {
406
+ var y, X = e.options, j = "on" + n.charAt(0).toUpperCase() + n.substr(1);
407
+ window.CustomEvent && !V && !Ae ? y = new CustomEvent(n, {
408
+ bubbles: !0,
409
+ cancelable: !0
410
+ }) : (y = document.createEvent("Event"), y.initEvent(n, !0, !0)), y.to = a || t, y.from = l || t, y.item = i || t, y.clone = r, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = c, y.newDraggableIndex = d, y.originalEvent = b, y.pullMode = w ? w.lastPutMode : void 0;
411
+ var A = z(z({}, E), Pe.getEventProperties(n, e));
412
+ for (var B in A)
413
+ y[B] = A[B];
414
+ t && t.dispatchEvent(y), X[j] && X[j].call(e, y);
415
+ }
416
+ }
417
+ var un = ["evt"], N = function(e, t) {
418
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, r = Jt(n, un);
419
+ Pe.pluginEvent.bind(p)(e, t, z({
420
+ dragEl: f,
421
+ parentEl: S,
422
+ ghostEl: g,
423
+ rootEl: _,
424
+ nextEl: le,
425
+ lastDownEl: Ye,
426
+ cloneEl: D,
427
+ cloneHidden: J,
428
+ dragStarted: Ee,
429
+ putSortable: O,
430
+ activeSortable: p.active,
431
+ originalEvent: i,
432
+ oldIndex: de,
433
+ oldDraggableIndex: Se,
434
+ newIndex: k,
435
+ newDraggableIndex: Q,
436
+ hideGhostForTarget: kt,
437
+ unhideGhostForTarget: Yt,
438
+ cloneNowHidden: function() {
439
+ J = !0;
440
+ },
441
+ cloneNowShown: function() {
442
+ J = !1;
443
+ },
444
+ dispatchSortableEvent: function(l) {
445
+ P({
446
+ sortable: t,
447
+ name: l,
448
+ originalEvent: i
449
+ });
450
+ }
451
+ }, r));
452
+ };
453
+ function P(o) {
454
+ sn(z({
455
+ putSortable: O,
456
+ cloneEl: D,
457
+ targetEl: f,
458
+ rootEl: _,
459
+ oldIndex: de,
460
+ oldDraggableIndex: Se,
461
+ newIndex: k,
462
+ newDraggableIndex: Q
463
+ }, o));
464
+ }
465
+ var f, S, g, _, le, Ye, D, J, de, k, Se, Q, xe, O, fe = !1, Ge = !1, ze = [], ie, H, Ke, Ze, Et, yt, Ee, ue, Te, Ce = !1, Me = !1, Xe, I, Qe = [], ot = !1, je = [], Ue = typeof document < "u", Fe = lt, wt = Ae || V ? "cssFloat" : "float", fn = Ue && !Tt && !lt && "draggable" in document.createElement("div"), Mt = (function() {
466
+ if (Ue) {
467
+ if (V)
468
+ return !1;
469
+ var o = document.createElement("x");
470
+ return o.style.cssText = "pointer-events:auto", o.style.pointerEvents === "auto";
471
+ }
472
+ })(), Ft = function(e, t) {
473
+ var n = h(e), i = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), r = he(e, 0, t), a = he(e, 1, t), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + C(r).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + C(a).width;
474
+ if (n.display === "flex")
475
+ return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
476
+ if (n.display === "grid")
477
+ return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
478
+ if (r && l.float && l.float !== "none") {
479
+ var d = l.float === "left" ? "left" : "right";
480
+ return a && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
481
+ }
482
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && n[wt] === "none" || a && n[wt] === "none" && u + c > i) ? "vertical" : "horizontal";
483
+ }, dn = function(e, t, n) {
484
+ var i = n ? e.left : e.top, r = n ? e.right : e.bottom, a = n ? e.width : e.height, l = n ? t.left : t.top, s = n ? t.right : t.bottom, u = n ? t.width : t.height;
485
+ return i === l || r === s || i + a / 2 === l + u / 2;
486
+ }, cn = function(e, t) {
487
+ var n;
488
+ return ze.some(function(i) {
489
+ var r = i[x].options.emptyInsertThreshold;
490
+ if (!(!r || st(i))) {
491
+ var a = C(i), l = e >= a.left - r && e <= a.right + r, s = t >= a.top - r && t <= a.bottom + r;
492
+ if (l && s)
493
+ return n = i;
494
+ }
495
+ }), n;
496
+ }, Rt = function(e) {
497
+ function t(r, a) {
498
+ return function(l, s, u, c) {
499
+ var d = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
500
+ if (r == null && (a || d))
501
+ return !0;
502
+ if (r == null || r === !1)
503
+ return !1;
504
+ if (a && r === "clone")
505
+ return r;
506
+ if (typeof r == "function")
507
+ return t(r(l, s, u, c), a)(l, s, u, c);
508
+ var b = (a ? l : s).options.group.name;
509
+ return r === !0 || typeof r == "string" && r === b || r.join && r.indexOf(b) > -1;
510
+ };
511
+ }
512
+ var n = {}, i = e.group;
513
+ (!i || ke(i) != "object") && (i = {
514
+ name: i
515
+ }), n.name = i.name, n.checkPull = t(i.pull, !0), n.checkPut = t(i.put), n.revertClone = i.revertClone, e.group = n;
516
+ }, kt = function() {
517
+ !Mt && g && h(g, "display", "none");
518
+ }, Yt = function() {
519
+ !Mt && g && h(g, "display", "");
520
+ };
521
+ Ue && !Tt && document.addEventListener("click", function(o) {
522
+ if (Ge)
523
+ return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(), Ge = !1, !1;
524
+ }, !0);
525
+ var re = function(e) {
526
+ if (f) {
527
+ e = e.touches ? e.touches[0] : e;
528
+ var t = cn(e.clientX, e.clientY);
529
+ if (t) {
530
+ var n = {};
531
+ for (var i in e)
532
+ e.hasOwnProperty(i) && (n[i] = e[i]);
533
+ n.target = n.rootEl = t, n.preventDefault = void 0, n.stopPropagation = void 0, t[x]._onDragOver(n);
534
+ }
535
+ }
536
+ }, hn = function(e) {
537
+ f && f.parentNode[x]._isOutsideThisEl(e.target);
538
+ };
539
+ function p(o, e) {
540
+ if (!(o && o.nodeType && o.nodeType === 1))
541
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));
542
+ this.el = o, this.options = e = q({}, e), o[x] = this;
543
+ var t = {
544
+ group: null,
545
+ sort: !0,
546
+ disabled: !1,
547
+ store: null,
548
+ handle: null,
549
+ draggable: /^[uo]l$/i.test(o.nodeName) ? ">li" : ">*",
550
+ swapThreshold: 1,
551
+ // percentage; 0 <= x <= 1
552
+ invertSwap: !1,
553
+ // invert always
554
+ invertedSwapThreshold: null,
555
+ // will be set to same as swapThreshold if default
556
+ removeCloneOnHide: !0,
557
+ direction: function() {
558
+ return Ft(o, this.options);
559
+ },
560
+ ghostClass: "sortable-ghost",
561
+ chosenClass: "sortable-chosen",
562
+ dragClass: "sortable-drag",
563
+ ignore: "a, img",
564
+ filter: null,
565
+ preventOnFilter: !0,
566
+ animation: 0,
567
+ easing: null,
568
+ setData: function(a, l) {
569
+ a.setData("Text", l.textContent);
570
+ },
571
+ dropBubble: !1,
572
+ dragoverBubble: !1,
573
+ dataIdAttr: "data-id",
574
+ delay: 0,
575
+ delayOnTouchOnly: !1,
576
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
577
+ forceFallback: !1,
578
+ fallbackClass: "sortable-fallback",
579
+ fallbackOnBody: !1,
580
+ fallbackTolerance: 0,
581
+ fallbackOffset: {
582
+ x: 0,
583
+ y: 0
584
+ },
585
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
586
+ supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!_e || lt),
587
+ emptyInsertThreshold: 5
588
+ };
589
+ Pe.initializePlugins(this, o, t);
590
+ for (var n in t)
591
+ !(n in e) && (e[n] = t[n]);
592
+ Rt(e);
593
+ for (var i in this)
594
+ i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
595
+ this.nativeDraggable = e.forceFallback ? !1 : fn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? v(o, "pointerdown", this._onTapStart) : (v(o, "mousedown", this._onTapStart), v(o, "touchstart", this._onTapStart)), this.nativeDraggable && (v(o, "dragover", this), v(o, "dragenter", this)), ze.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), q(this, rn());
596
+ }
597
+ p.prototype = /** @lends Sortable.prototype */
598
+ {
599
+ constructor: p,
600
+ _isOutsideThisEl: function(e) {
601
+ !this.el.contains(e) && e !== this.el && (ue = null);
602
+ },
603
+ _getDirection: function(e, t) {
604
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, e, t, f) : this.options.direction;
605
+ },
606
+ _onTapStart: function(e) {
607
+ if (e.cancelable) {
608
+ var t = this, n = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, c = i.filter;
609
+ if (wn(n), !f && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && _e && s && s.tagName.toUpperCase() === "SELECT") && (s = L(s, i.draggable, n, !1), !(s && s.animated) && Ye !== s)) {
610
+ if (de = Y(s), Se = Y(s, i.draggable), typeof c == "function") {
611
+ if (c.call(this, e, s, this)) {
612
+ P({
613
+ sortable: t,
614
+ rootEl: u,
615
+ name: "filter",
616
+ targetEl: s,
617
+ toEl: n,
618
+ fromEl: n
619
+ }), N("filter", t, {
620
+ evt: e
621
+ }), r && e.preventDefault();
622
+ return;
623
+ }
624
+ } else if (c && (c = c.split(",").some(function(d) {
625
+ if (d = L(u, d.trim(), n, !1), d)
626
+ return P({
627
+ sortable: t,
628
+ rootEl: d,
629
+ name: "filter",
630
+ targetEl: s,
631
+ fromEl: n,
632
+ toEl: n
633
+ }), N("filter", t, {
634
+ evt: e
635
+ }), !0;
636
+ }), c)) {
637
+ r && e.preventDefault();
638
+ return;
639
+ }
640
+ i.handle && !L(u, i.handle, n, !1) || this._prepareDragStart(e, l, s);
641
+ }
642
+ }
643
+ },
644
+ _prepareDragStart: function(e, t, n) {
645
+ var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
646
+ if (n && !f && n.parentNode === r) {
647
+ var u = C(n);
648
+ if (_ = r, f = n, S = f.parentNode, le = f.nextSibling, Ye = n, xe = a.group, p.dragged = f, ie = {
649
+ target: f,
650
+ clientX: (t || e).clientX,
651
+ clientY: (t || e).clientY
652
+ }, Et = ie.clientX - u.left, yt = ie.clientY - u.top, this._lastX = (t || e).clientX, this._lastY = (t || e).clientY, f.style["will-change"] = "all", s = function() {
653
+ if (N("delayEnded", i, {
654
+ evt: e
655
+ }), p.eventCanceled) {
656
+ i._onDrop();
657
+ return;
658
+ }
659
+ i._disableDelayedDragEvents(), !gt && i.nativeDraggable && (f.draggable = !0), i._triggerDragStart(e, t), P({
660
+ sortable: i,
661
+ name: "choose",
662
+ originalEvent: e
663
+ }), R(f, a.chosenClass, !0);
664
+ }, a.ignore.split(",").forEach(function(c) {
665
+ It(f, c.trim(), Je);
666
+ }), v(l, "dragover", re), v(l, "mousemove", re), v(l, "touchmove", re), a.supportPointer ? (v(l, "pointerup", i._onDrop), !this.nativeDraggable && v(l, "pointercancel", i._onDrop)) : (v(l, "mouseup", i._onDrop), v(l, "touchend", i._onDrop), v(l, "touchcancel", i._onDrop)), gt && this.nativeDraggable && (this.options.touchStartThreshold = 4, f.draggable = !0), N("delayStart", this, {
667
+ evt: e
668
+ }), a.delay && (!a.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ae || V))) {
669
+ if (p.eventCanceled) {
670
+ this._onDrop();
671
+ return;
672
+ }
673
+ a.supportPointer ? (v(l, "pointerup", i._disableDelayedDrag), v(l, "pointercancel", i._disableDelayedDrag)) : (v(l, "mouseup", i._disableDelayedDrag), v(l, "touchend", i._disableDelayedDrag), v(l, "touchcancel", i._disableDelayedDrag)), v(l, "mousemove", i._delayedDragTouchMoveHandler), v(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && v(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
674
+ } else
675
+ s();
676
+ }
677
+ },
678
+ _delayedDragTouchMoveHandler: function(e) {
679
+ var t = e.touches ? e.touches[0] : e;
680
+ Math.max(Math.abs(t.clientX - this._lastX), Math.abs(t.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
681
+ },
682
+ _disableDelayedDrag: function() {
683
+ f && Je(f), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
684
+ },
685
+ _disableDelayedDragEvents: function() {
686
+ var e = this.el.ownerDocument;
687
+ m(e, "mouseup", this._disableDelayedDrag), m(e, "touchend", this._disableDelayedDrag), m(e, "touchcancel", this._disableDelayedDrag), m(e, "pointerup", this._disableDelayedDrag), m(e, "pointercancel", this._disableDelayedDrag), m(e, "mousemove", this._delayedDragTouchMoveHandler), m(e, "touchmove", this._delayedDragTouchMoveHandler), m(e, "pointermove", this._delayedDragTouchMoveHandler);
688
+ },
689
+ _triggerDragStart: function(e, t) {
690
+ t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? v(document, "pointermove", this._onTouchMove) : t ? v(document, "touchmove", this._onTouchMove) : v(document, "mousemove", this._onTouchMove) : (v(f, "dragend", this), v(_, "dragstart", this._onDragStart));
691
+ try {
692
+ document.selection ? Be(function() {
693
+ document.selection.empty();
694
+ }) : window.getSelection().removeAllRanges();
695
+ } catch {
696
+ }
697
+ },
698
+ _dragStarted: function(e, t) {
699
+ if (fe = !1, _ && f) {
700
+ N("dragStarted", this, {
701
+ evt: t
702
+ }), this.nativeDraggable && v(document, "dragover", hn);
703
+ var n = this.options;
704
+ !e && R(f, n.dragClass, !1), R(f, n.ghostClass, !0), p.active = this, e && this._appendGhost(), P({
705
+ sortable: this,
706
+ name: "start",
707
+ originalEvent: t
708
+ });
709
+ } else
710
+ this._nulling();
711
+ },
712
+ _emulateDragOver: function() {
713
+ if (H) {
714
+ this._lastX = H.clientX, this._lastY = H.clientY, kt();
715
+ for (var e = document.elementFromPoint(H.clientX, H.clientY), t = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(H.clientX, H.clientY), e !== t); )
716
+ t = e;
717
+ if (f.parentNode[x]._isOutsideThisEl(e), t)
718
+ do {
719
+ if (t[x]) {
720
+ var n = void 0;
721
+ if (n = t[x]._onDragOver({
722
+ clientX: H.clientX,
723
+ clientY: H.clientY,
724
+ target: e,
725
+ rootEl: t
726
+ }), n && !this.options.dragoverBubble)
727
+ break;
728
+ }
729
+ e = t;
730
+ } while (t = Ot(t));
731
+ Yt();
732
+ }
733
+ },
734
+ _onTouchMove: function(e) {
735
+ if (ie) {
736
+ var t = this.options, n = t.fallbackTolerance, i = t.fallbackOffset, r = e.touches ? e.touches[0] : e, a = g && ce(g, !0), l = g && a && a.a, s = g && a && a.d, u = Fe && I && bt(I), c = (r.clientX - ie.clientX + i.x) / (l || 1) + (u ? u[0] - Qe[0] : 0) / (l || 1), d = (r.clientY - ie.clientY + i.y) / (s || 1) + (u ? u[1] - Qe[1] : 0) / (s || 1);
737
+ if (!p.active && !fe) {
738
+ if (n && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < n)
739
+ return;
740
+ this._onDragStart(e, !0);
741
+ }
742
+ if (g) {
743
+ a ? (a.e += c - (Ke || 0), a.f += d - (Ze || 0)) : a = {
744
+ a: 1,
745
+ b: 0,
746
+ c: 0,
747
+ d: 1,
748
+ e: c,
749
+ f: d
750
+ };
751
+ var b = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
752
+ h(g, "webkitTransform", b), h(g, "mozTransform", b), h(g, "msTransform", b), h(g, "transform", b), Ke = c, Ze = d, H = r;
753
+ }
754
+ e.cancelable && e.preventDefault();
755
+ }
756
+ },
757
+ _appendGhost: function() {
758
+ if (!g) {
759
+ var e = this.options.fallbackOnBody ? document.body : _, t = C(f, !0, Fe, !0, e), n = this.options;
760
+ if (Fe) {
761
+ for (I = e; h(I, "position") === "static" && h(I, "transform") === "none" && I !== document; )
762
+ I = I.parentNode;
763
+ I !== document.body && I !== document.documentElement ? (I === document && (I = G()), t.top += I.scrollTop, t.left += I.scrollLeft) : I = G(), Qe = bt(I);
764
+ }
765
+ g = f.cloneNode(!0), R(g, n.ghostClass, !1), R(g, n.fallbackClass, !0), R(g, n.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", t.top), h(g, "left", t.left), h(g, "width", t.width), h(g, "height", t.height), h(g, "opacity", "0.8"), h(g, "position", Fe ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, e.appendChild(g), h(g, "transform-origin", Et / parseInt(g.style.width) * 100 + "% " + yt / parseInt(g.style.height) * 100 + "%");
766
+ }
767
+ },
768
+ _onDragStart: function(e, t) {
769
+ var n = this, i = e.dataTransfer, r = n.options;
770
+ if (N("dragStart", this, {
771
+ evt: e
772
+ }), p.eventCanceled) {
773
+ this._onDrop();
774
+ return;
775
+ }
776
+ N("setupClone", this), p.eventCanceled || (D = Nt(f), D.removeAttribute("id"), D.draggable = !1, D.style["will-change"] = "", this._hideClone(), R(D, this.options.chosenClass, !1), p.clone = D), n.cloneId = Be(function() {
777
+ N("clone", n), !p.eventCanceled && (n.options.removeCloneOnHide || _.insertBefore(D, f), n._hideClone(), P({
778
+ sortable: n,
779
+ name: "clone"
780
+ }));
781
+ }), !t && R(f, r.dragClass, !0), t ? (Ge = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (m(document, "mouseup", n._onDrop), m(document, "touchend", n._onDrop), m(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(n, i, f)), v(document, "drop", n), h(f, "transform", "translateZ(0)")), fe = !0, n._dragStartId = Be(n._dragStarted.bind(n, t, e)), v(document, "selectstart", n), Ee = !0, window.getSelection().removeAllRanges(), _e && h(document.body, "user-select", "none");
782
+ },
783
+ // Returns true - if no further action is needed (either inserted or another condition)
784
+ _onDragOver: function(e) {
785
+ var t = this.el, n = e.target, i, r, a, l = this.options, s = l.group, u = p.active, c = xe === s, d = l.sort, b = O || u, w, E = this, y = !1;
786
+ if (ot) return;
787
+ function X(be, Ht) {
788
+ N(be, E, z({
789
+ evt: e,
790
+ isOwner: c,
791
+ axis: w ? "vertical" : "horizontal",
792
+ revert: a,
793
+ dragRect: i,
794
+ targetRect: r,
795
+ canSort: d,
796
+ fromSortable: b,
797
+ target: n,
798
+ completed: A,
799
+ onMove: function(dt, Lt) {
800
+ return Re(_, t, f, i, dt, C(dt), e, Lt);
801
+ },
802
+ changed: B
803
+ }, Ht));
804
+ }
805
+ function j() {
806
+ X("dragOverAnimationCapture"), E.captureAnimationState(), E !== b && b.captureAnimationState();
807
+ }
808
+ function A(be) {
809
+ return X("dragOverCompleted", {
810
+ insertion: be
811
+ }), be && (c ? u._hideClone() : u._showClone(E), E !== b && (R(f, O ? O.options.ghostClass : u.options.ghostClass, !1), R(f, l.ghostClass, !0)), O !== E && E !== p.active ? O = E : E === p.active && O && (O = null), b === E && (E._ignoreWhileAnimating = n), E.animateAll(function() {
812
+ X("dragOverAnimationComplete"), E._ignoreWhileAnimating = null;
813
+ }), E !== b && (b.animateAll(), b._ignoreWhileAnimating = null)), (n === f && !f.animated || n === t && !n.animated) && (ue = null), !l.dragoverBubble && !e.rootEl && n !== document && (f.parentNode[x]._isOutsideThisEl(e.target), !be && re(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), y = !0;
814
+ }
815
+ function B() {
816
+ k = Y(f), Q = Y(f, l.draggable), P({
817
+ sortable: E,
818
+ name: "change",
819
+ toEl: t,
820
+ newIndex: k,
821
+ newDraggableIndex: Q,
822
+ originalEvent: e
823
+ });
824
+ }
825
+ if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = L(n, l.draggable, t, !0), X("dragOver"), p.eventCanceled) return y;
826
+ if (f.contains(e.target) || n.animated && n.animatingX && n.animatingY || E._ignoreWhileAnimating === n)
827
+ return A(!1);
828
+ if (Ge = !1, u && !l.disabled && (c ? d || (a = S !== _) : O === this || (this.lastPutMode = xe.checkPull(this, u, f, e)) && s.checkPut(this, u, f, e))) {
829
+ if (w = this._getDirection(e, n) === "vertical", i = C(f), X("dragOverValid"), p.eventCanceled) return y;
830
+ if (a)
831
+ return S = _, j(), this._hideClone(), X("revert"), p.eventCanceled || (le ? _.insertBefore(f, le) : _.appendChild(f)), A(!0);
832
+ var M = st(t, l.draggable);
833
+ if (!M || vn(e, w, this) && !M.animated) {
834
+ if (M === f)
835
+ return A(!1);
836
+ if (M && t === e.target && (n = M), n && (r = C(n)), Re(_, t, f, i, n, r, e, !!n) !== !1)
837
+ return j(), M && M.nextSibling ? t.insertBefore(f, M.nextSibling) : t.appendChild(f), S = t, B(), A(!0);
838
+ } else if (M && mn(e, w, this)) {
839
+ var te = he(t, 0, l, !0);
840
+ if (te === f)
841
+ return A(!1);
842
+ if (n = te, r = C(n), Re(_, t, f, i, n, r, e, !1) !== !1)
843
+ return j(), t.insertBefore(f, te), S = t, B(), A(!0);
844
+ } else if (n.parentNode === t) {
845
+ r = C(n);
846
+ var W = 0, ne, pe = f.parentNode !== t, F = !dn(f.animated && f.toRect || i, n.animated && n.toRect || r, w), ge = w ? "top" : "left", K = vt(n, "top", "top") || vt(f, "top", "top"), me = K ? K.scrollTop : void 0;
847
+ ue !== n && (ne = r[ge], Ce = !1, Me = !F && l.invertSwap || pe), W = bn(e, n, r, w, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Me, ue === n);
848
+ var $;
849
+ if (W !== 0) {
850
+ var oe = Y(f);
851
+ do
852
+ oe -= W, $ = S.children[oe];
853
+ while ($ && (h($, "display") === "none" || $ === g));
854
+ }
855
+ if (W === 0 || $ === n)
856
+ return A(!1);
857
+ ue = n, Te = W;
858
+ var ve = n.nextElementSibling, Z = !1;
859
+ Z = W === 1;
860
+ var Ne = Re(_, t, f, i, n, r, e, Z);
861
+ if (Ne !== !1)
862
+ return (Ne === 1 || Ne === -1) && (Z = Ne === 1), ot = !0, setTimeout(gn, 30), j(), Z && !ve ? t.appendChild(f) : n.parentNode.insertBefore(f, Z ? ve : n), K && Pt(K, 0, me - K.scrollTop), S = f.parentNode, ne !== void 0 && !Me && (Xe = Math.abs(ne - C(n)[ge])), B(), A(!0);
863
+ }
864
+ if (t.contains(f))
865
+ return A(!1);
866
+ }
867
+ return !1;
868
+ },
869
+ _ignoreWhileAnimating: null,
870
+ _offMoveEvents: function() {
871
+ m(document, "mousemove", this._onTouchMove), m(document, "touchmove", this._onTouchMove), m(document, "pointermove", this._onTouchMove), m(document, "dragover", re), m(document, "mousemove", re), m(document, "touchmove", re);
872
+ },
873
+ _offUpEvents: function() {
874
+ var e = this.el.ownerDocument;
875
+ m(e, "mouseup", this._onDrop), m(e, "touchend", this._onDrop), m(e, "pointerup", this._onDrop), m(e, "pointercancel", this._onDrop), m(e, "touchcancel", this._onDrop), m(document, "selectstart", this);
876
+ },
877
+ _onDrop: function(e) {
878
+ var t = this.el, n = this.options;
879
+ if (k = Y(f), Q = Y(f, n.draggable), N("drop", this, {
880
+ evt: e
881
+ }), S = f && f.parentNode, k = Y(f), Q = Y(f, n.draggable), p.eventCanceled) {
882
+ this._nulling();
883
+ return;
884
+ }
885
+ fe = !1, Me = !1, Ce = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), it(this.cloneId), it(this._dragStartId), this.nativeDraggable && (m(document, "drop", this), m(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), _e && h(document.body, "user-select", ""), h(f, "transform", ""), e && (Ee && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (_ === S || O && O.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), f && (this.nativeDraggable && m(f, "dragend", this), Je(f), f.style["will-change"] = "", Ee && !fe && R(f, O ? O.options.ghostClass : this.options.ghostClass, !1), R(f, this.options.chosenClass, !1), P({
886
+ sortable: this,
887
+ name: "unchoose",
888
+ toEl: S,
889
+ newIndex: null,
890
+ newDraggableIndex: null,
891
+ originalEvent: e
892
+ }), _ !== S ? (k >= 0 && (P({
893
+ rootEl: S,
894
+ name: "add",
895
+ toEl: S,
896
+ fromEl: _,
897
+ originalEvent: e
898
+ }), P({
899
+ sortable: this,
900
+ name: "remove",
901
+ toEl: S,
902
+ originalEvent: e
903
+ }), P({
904
+ rootEl: S,
905
+ name: "sort",
906
+ toEl: S,
907
+ fromEl: _,
908
+ originalEvent: e
909
+ }), P({
910
+ sortable: this,
911
+ name: "sort",
912
+ toEl: S,
913
+ originalEvent: e
914
+ })), O && O.save()) : k !== de && k >= 0 && (P({
915
+ sortable: this,
916
+ name: "update",
917
+ toEl: S,
918
+ originalEvent: e
919
+ }), P({
920
+ sortable: this,
921
+ name: "sort",
922
+ toEl: S,
923
+ originalEvent: e
924
+ })), p.active && ((k == null || k === -1) && (k = de, Q = Se), P({
925
+ sortable: this,
926
+ name: "end",
927
+ toEl: S,
928
+ originalEvent: e
929
+ }), this.save()))), this._nulling();
930
+ },
931
+ _nulling: function() {
932
+ N("nulling", this), _ = f = S = g = le = D = Ye = J = ie = H = Ee = k = Q = de = Se = ue = Te = O = xe = p.dragged = p.ghost = p.clone = p.active = null, je.forEach(function(e) {
933
+ e.checked = !0;
934
+ }), je.length = Ke = Ze = 0;
935
+ },
936
+ handleEvent: function(e) {
937
+ switch (e.type) {
938
+ case "drop":
939
+ case "dragend":
940
+ this._onDrop(e);
941
+ break;
942
+ case "dragenter":
943
+ case "dragover":
944
+ f && (this._onDragOver(e), pn(e));
945
+ break;
946
+ case "selectstart":
947
+ e.preventDefault();
948
+ break;
949
+ }
950
+ },
951
+ /**
952
+ * Serializes the item into an array of string.
953
+ * @returns {String[]}
954
+ */
955
+ toArray: function() {
956
+ for (var e = [], t, n = this.el.children, i = 0, r = n.length, a = this.options; i < r; i++)
957
+ t = n[i], L(t, a.draggable, this.el, !1) && e.push(t.getAttribute(a.dataIdAttr) || yn(t));
958
+ return e;
959
+ },
960
+ /**
961
+ * Sorts the elements according to the array.
962
+ * @param {String[]} order order of the items
963
+ */
964
+ sort: function(e, t) {
965
+ var n = {}, i = this.el;
966
+ this.toArray().forEach(function(r, a) {
967
+ var l = i.children[a];
968
+ L(l, this.options.draggable, i, !1) && (n[r] = l);
969
+ }, this), t && this.captureAnimationState(), e.forEach(function(r) {
970
+ n[r] && (i.removeChild(n[r]), i.appendChild(n[r]));
971
+ }), t && this.animateAll();
972
+ },
973
+ /**
974
+ * Save the current sorting
975
+ */
976
+ save: function() {
977
+ var e = this.options.store;
978
+ e && e.set && e.set(this);
979
+ },
980
+ /**
981
+ * 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.
982
+ * @param {HTMLElement} el
983
+ * @param {String} [selector] default: `options.draggable`
984
+ * @returns {HTMLElement|null}
985
+ */
986
+ closest: function(e, t) {
987
+ return L(e, t || this.options.draggable, this.el, !1);
988
+ },
989
+ /**
990
+ * Set/get option
991
+ * @param {string} name
992
+ * @param {*} [value]
993
+ * @returns {*}
994
+ */
995
+ option: function(e, t) {
996
+ var n = this.options;
997
+ if (t === void 0)
998
+ return n[e];
999
+ var i = Pe.modifyOption(this, e, t);
1000
+ typeof i < "u" ? n[e] = i : n[e] = t, e === "group" && Rt(n);
1001
+ },
1002
+ /**
1003
+ * Destroy
1004
+ */
1005
+ destroy: function() {
1006
+ N("destroy", this);
1007
+ var e = this.el;
1008
+ e[x] = null, m(e, "mousedown", this._onTapStart), m(e, "touchstart", this._onTapStart), m(e, "pointerdown", this._onTapStart), this.nativeDraggable && (m(e, "dragover", this), m(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(t) {
1009
+ t.removeAttribute("draggable");
1010
+ }), this._onDrop(), this._disableDelayedDragEvents(), ze.splice(ze.indexOf(this.el), 1), this.el = e = null;
1011
+ },
1012
+ _hideClone: function() {
1013
+ if (!J) {
1014
+ if (N("hideClone", this), p.eventCanceled) return;
1015
+ h(D, "display", "none"), this.options.removeCloneOnHide && D.parentNode && D.parentNode.removeChild(D), J = !0;
1016
+ }
1017
+ },
1018
+ _showClone: function(e) {
1019
+ if (e.lastPutMode !== "clone") {
1020
+ this._hideClone();
1021
+ return;
1022
+ }
1023
+ if (J) {
1024
+ if (N("showClone", this), p.eventCanceled) return;
1025
+ f.parentNode == _ && !this.options.group.revertClone ? _.insertBefore(D, f) : le ? _.insertBefore(D, le) : _.appendChild(D), this.options.group.revertClone && this.animate(f, D), h(D, "display", ""), J = !1;
1026
+ }
1027
+ }
1028
+ };
1029
+ function pn(o) {
1030
+ o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
1031
+ }
1032
+ function Re(o, e, t, n, i, r, a, l) {
1033
+ var s, u = o[x], c = u.options.onMove, d;
1034
+ return window.CustomEvent && !V && !Ae ? s = new CustomEvent("move", {
1035
+ bubbles: !0,
1036
+ cancelable: !0
1037
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = o, s.dragged = t, s.draggedRect = n, s.related = i || e, s.relatedRect = r || C(e), s.willInsertAfter = l, s.originalEvent = a, o.dispatchEvent(s), c && (d = c.call(u, s, a)), d;
1038
+ }
1039
+ function Je(o) {
1040
+ o.draggable = !1;
1041
+ }
1042
+ function gn() {
1043
+ ot = !1;
1044
+ }
1045
+ function mn(o, e, t) {
1046
+ var n = C(he(t.el, 0, t.options, !0)), i = xt(t.el, t.options, g), r = 10;
1047
+ return e ? o.clientX < i.left - r || o.clientY < n.top && o.clientX < n.right : o.clientY < i.top - r || o.clientY < n.bottom && o.clientX < n.left;
1048
+ }
1049
+ function vn(o, e, t) {
1050
+ var n = C(st(t.el, t.options.draggable)), i = xt(t.el, t.options, g), r = 10;
1051
+ return e ? o.clientX > i.right + r || o.clientY > n.bottom && o.clientX > n.left : o.clientY > i.bottom + r || o.clientX > n.right && o.clientY > n.top;
1052
+ }
1053
+ function bn(o, e, t, n, i, r, a, l) {
1054
+ var s = n ? o.clientY : o.clientX, u = n ? t.height : t.width, c = n ? t.top : t.left, d = n ? t.bottom : t.right, b = !1;
1055
+ if (!a) {
1056
+ if (l && Xe < u * i) {
1057
+ if (!Ce && (Te === 1 ? s > c + u * r / 2 : s < d - u * r / 2) && (Ce = !0), Ce)
1058
+ b = !0;
1059
+ else if (Te === 1 ? s < c + Xe : s > d - Xe)
1060
+ return -Te;
1061
+ } else if (s > c + u * (1 - i) / 2 && s < d - u * (1 - i) / 2)
1062
+ return En(e);
1063
+ }
1064
+ return b = b || a, b && (s < c + u * r / 2 || s > d - u * r / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1065
+ }
1066
+ function En(o) {
1067
+ return Y(f) < Y(o) ? 1 : -1;
1068
+ }
1069
+ function yn(o) {
1070
+ for (var e = o.tagName + o.className + o.src + o.href + o.textContent, t = e.length, n = 0; t--; )
1071
+ n += e.charCodeAt(t);
1072
+ return n.toString(36);
1073
+ }
1074
+ function wn(o) {
1075
+ je.length = 0;
1076
+ for (var e = o.getElementsByTagName("input"), t = e.length; t--; ) {
1077
+ var n = e[t];
1078
+ n.checked && je.push(n);
1079
+ }
1080
+ }
1081
+ function Be(o) {
1082
+ return setTimeout(o, 0);
1083
+ }
1084
+ function it(o) {
1085
+ return clearTimeout(o);
1086
+ }
1087
+ Ue && v(document, "touchmove", function(o) {
1088
+ (p.active || fe) && o.cancelable && o.preventDefault();
1089
+ });
1090
+ p.utils = {
1091
+ on: v,
1092
+ off: m,
1093
+ css: h,
1094
+ find: It,
1095
+ is: function(e, t) {
1096
+ return !!L(e, t, e, !1);
1097
+ },
1098
+ extend: nn,
1099
+ throttle: At,
1100
+ closest: L,
1101
+ toggleClass: R,
1102
+ clone: Nt,
1103
+ index: Y,
1104
+ nextTick: Be,
1105
+ cancelNextTick: it,
1106
+ detectDirection: Ft,
1107
+ getChild: he,
1108
+ expando: x
1109
+ };
1110
+ p.get = function(o) {
1111
+ return o[x];
1112
+ };
1113
+ p.mount = function() {
1114
+ for (var o = arguments.length, e = new Array(o), t = 0; t < o; t++)
1115
+ e[t] = arguments[t];
1116
+ e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
1117
+ if (!n.prototype || !n.prototype.constructor)
1118
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
1119
+ n.utils && (p.utils = z(z({}, p.utils), n.utils)), Pe.mount(n);
1120
+ });
1121
+ };
1122
+ p.create = function(o, e) {
1123
+ return new p(o, e);
1124
+ };
1125
+ p.version = en;
1126
+ var T = [], ye, rt, at = !1, et, tt, $e, we;
1127
+ function _n() {
1128
+ function o() {
1129
+ this.defaults = {
1130
+ scroll: !0,
1131
+ forceAutoScrollFallback: !1,
1132
+ scrollSensitivity: 30,
1133
+ scrollSpeed: 10,
1134
+ bubbleScroll: !0
1135
+ };
1136
+ for (var e in this)
1137
+ e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
1138
+ }
1139
+ return o.prototype = {
1140
+ dragStarted: function(t) {
1141
+ var n = t.originalEvent;
1142
+ this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? v(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? v(document, "touchmove", this._handleFallbackAutoScroll) : v(document, "mousemove", this._handleFallbackAutoScroll);
1143
+ },
1144
+ dragOverCompleted: function(t) {
1145
+ var n = t.originalEvent;
1146
+ !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
1147
+ },
1148
+ drop: function() {
1149
+ this.sortable.nativeDraggable ? m(document, "dragover", this._handleAutoScroll) : (m(document, "pointermove", this._handleFallbackAutoScroll), m(document, "touchmove", this._handleFallbackAutoScroll), m(document, "mousemove", this._handleFallbackAutoScroll)), _t(), He(), on();
1150
+ },
1151
+ nulling: function() {
1152
+ $e = rt = ye = at = we = et = tt = null, T.length = 0;
1153
+ },
1154
+ _handleFallbackAutoScroll: function(t) {
1155
+ this._handleAutoScroll(t, !0);
1156
+ },
1157
+ _handleAutoScroll: function(t, n) {
1158
+ var i = this, r = (t.touches ? t.touches[0] : t).clientX, a = (t.touches ? t.touches[0] : t).clientY, l = document.elementFromPoint(r, a);
1159
+ if ($e = t, n || this.options.forceAutoScrollFallback || Ae || V || _e) {
1160
+ nt(t, this.options, l, n);
1161
+ var s = ee(l, !0);
1162
+ at && (!we || r !== et || a !== tt) && (we && _t(), we = setInterval(function() {
1163
+ var u = ee(document.elementFromPoint(r, a), !0);
1164
+ u !== s && (s = u, He()), nt(t, i.options, u, n);
1165
+ }, 10), et = r, tt = a);
1166
+ } else {
1167
+ if (!this.options.bubbleScroll || ee(l, !0) === G()) {
1168
+ He();
1169
+ return;
1170
+ }
1171
+ nt(t, this.options, ee(l, !1), !1);
1172
+ }
1173
+ }
1174
+ }, q(o, {
1175
+ pluginName: "scroll",
1176
+ initializeByDefault: !0
1177
+ });
1178
+ }
1179
+ function He() {
1180
+ T.forEach(function(o) {
1181
+ clearInterval(o.pid);
1182
+ }), T = [];
1183
+ }
1184
+ function _t() {
1185
+ clearInterval(we);
1186
+ }
1187
+ var nt = At(function(o, e, t, n) {
1188
+ if (e.scroll) {
1189
+ var i = (o.touches ? o.touches[0] : o).clientX, r = (o.touches ? o.touches[0] : o).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = G(), u = !1, c;
1190
+ rt !== t && (rt = t, He(), ye = e.scroll, c = e.scrollFn, ye === !0 && (ye = ee(t, !0)));
1191
+ var d = 0, b = ye;
1192
+ do {
1193
+ var w = b, E = C(w), y = E.top, X = E.bottom, j = E.left, A = E.right, B = E.width, M = E.height, te = void 0, W = void 0, ne = w.scrollWidth, pe = w.scrollHeight, F = h(w), ge = w.scrollLeft, K = w.scrollTop;
1194
+ w === s ? (te = B < ne && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), W = M < pe && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (te = B < ne && (F.overflowX === "auto" || F.overflowX === "scroll"), W = M < pe && (F.overflowY === "auto" || F.overflowY === "scroll"));
1195
+ var me = te && (Math.abs(A - i) <= a && ge + B < ne) - (Math.abs(j - i) <= a && !!ge), $ = W && (Math.abs(X - r) <= a && K + M < pe) - (Math.abs(y - r) <= a && !!K);
1196
+ if (!T[d])
1197
+ for (var oe = 0; oe <= d; oe++)
1198
+ T[oe] || (T[oe] = {});
1199
+ (T[d].vx != me || T[d].vy != $ || T[d].el !== w) && (T[d].el = w, T[d].vx = me, T[d].vy = $, clearInterval(T[d].pid), (me != 0 || $ != 0) && (u = !0, T[d].pid = setInterval((function() {
1200
+ n && this.layer === 0 && p.active._onTouchMove($e);
1201
+ var ve = T[this.layer].vy ? T[this.layer].vy * l : 0, Z = T[this.layer].vx ? T[this.layer].vx * l : 0;
1202
+ typeof c == "function" && c.call(p.dragged.parentNode[x], Z, ve, o, $e, T[this.layer].el) !== "continue" || Pt(T[this.layer].el, Z, ve);
1203
+ }).bind({
1204
+ layer: d
1205
+ }), 24))), d++;
1206
+ } while (e.bubbleScroll && b !== s && (b = ee(b, !1)));
1207
+ at = u;
1208
+ }
1209
+ }, 30), Xt = function(e) {
1210
+ var t = e.originalEvent, n = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1211
+ if (t) {
1212
+ var u = n || r;
1213
+ l();
1214
+ var c = t.changedTouches && t.changedTouches.length ? t.changedTouches[0] : t, d = document.elementFromPoint(c.clientX, c.clientY);
1215
+ s(), u && !u.el.contains(d) && (a("spill"), this.onSpill({
1216
+ dragEl: i,
1217
+ putSortable: n
1218
+ }));
1219
+ }
1220
+ };
1221
+ function ut() {
1222
+ }
1223
+ ut.prototype = {
1224
+ startIndex: null,
1225
+ dragStart: function(e) {
1226
+ var t = e.oldDraggableIndex;
1227
+ this.startIndex = t;
1228
+ },
1229
+ onSpill: function(e) {
1230
+ var t = e.dragEl, n = e.putSortable;
1231
+ this.sortable.captureAnimationState(), n && n.captureAnimationState();
1232
+ var i = he(this.sortable.el, this.startIndex, this.options);
1233
+ i ? this.sortable.el.insertBefore(t, i) : this.sortable.el.appendChild(t), this.sortable.animateAll(), n && n.animateAll();
1234
+ },
1235
+ drop: Xt
1236
+ };
1237
+ q(ut, {
1238
+ pluginName: "revertOnSpill"
1239
+ });
1240
+ function ft() {
1241
+ }
1242
+ ft.prototype = {
1243
+ onSpill: function(e) {
1244
+ var t = e.dragEl, n = e.putSortable, i = n || this.sortable;
1245
+ i.captureAnimationState(), t.parentNode && t.parentNode.removeChild(t), i.animateAll();
1246
+ },
1247
+ drop: Xt
1248
+ };
1249
+ q(ft, {
1250
+ pluginName: "removeOnSpill"
1251
+ });
1252
+ p.mount(new _n());
1253
+ p.mount(ft, ut);
1254
+ function Dn(o, e = Le({})) {
1255
+ const t = Le(null), n = () => {
1256
+ t.value?.destroy && (t.value.destroy(), t.value = null);
1257
+ };
1258
+ return ct(
1259
+ o,
1260
+ (i) => {
1261
+ i != null ? t.value = new p(i, {
1262
+ ...e.value,
1263
+ /**
1264
+ * Allows the component to be dragged only
1265
+ * with the handle component
1266
+ */
1267
+ handle: ".b-draggable-handle",
1268
+ /**
1269
+ * Disables the component from being dragged
1270
+ */
1271
+ filter: ".b-draggable-handle--disabled"
1272
+ }) : n();
1273
+ },
1274
+ { immediate: !0 }
1275
+ ), ct(e, (i) => {
1276
+ if (i && t.value)
1277
+ for (const r in i)
1278
+ t.value.option(r, i[r]);
1279
+ }), St(() => {
1280
+ t.value && n();
1281
+ }), {
1282
+ draggableElement: t
1283
+ };
1284
+ }
1285
+ let Oe = null;
1286
+ const ae = "1px", Sn = 1e3, Tn = {
1287
+ // Standard visually hidden styles.
1288
+ // Copied from our VisuallyHidden (react) package.
1289
+ width: ae,
1290
+ height: ae,
1291
+ padding: "0",
1292
+ position: "absolute",
1293
+ border: "0",
1294
+ clip: `rect(${ae}, ${ae}, ${ae}, ${ae})`,
1295
+ overflow: "hidden",
1296
+ whiteSpace: "nowrap",
1297
+ // Pulling upwards slightly to prevent the page
1298
+ // from growing when appended to a body that contains
1299
+ // an element with height:100%
1300
+ marginTop: `-${ae}`,
1301
+ // Just being safe and letting this element not interfere with hitboxes
1302
+ pointerEvents: "none"
1303
+ };
1304
+ function Cn() {
1305
+ const o = document.createElement("div");
1306
+ return o.setAttribute("role", "status"), o.setAttribute("aria-live", "polite"), Object.assign(o.style, Tn), document.body.append(o), o;
1307
+ }
1308
+ function Dt() {
1309
+ return Oe === null && (Oe = Cn()), Oe;
1310
+ }
1311
+ let Ie = null;
1312
+ function Bt() {
1313
+ Ie !== null && clearTimeout(Ie), Ie = null;
1314
+ }
1315
+ function On(o) {
1316
+ Dt(), Bt(), Ie = setTimeout(() => {
1317
+ Ie = null;
1318
+ const e = Dt();
1319
+ e.textContent = o;
1320
+ }, Sn);
1321
+ }
1322
+ function In() {
1323
+ Bt(), Oe?.remove(), Oe = null;
1324
+ }
1325
+ const An = {
1326
+ name: "bento-draggable"
1327
+ }, xn = /* @__PURE__ */ Wt({
1328
+ ...An,
1329
+ props: {
1330
+ el: { default: "div" },
1331
+ items: { default: () => [] },
1332
+ options: { default: () => ({}) }
1333
+ },
1334
+ setup(o, { expose: e }) {
1335
+ const t = o, n = Le(null), i = Le(!1), r = Gt(() => n.value ? {
1336
+ ...t.options,
1337
+ onStart: (l) => {
1338
+ i.value = !0, t.options?.onStart && t.options?.onStart(l);
1339
+ },
1340
+ onEnd: (l) => {
1341
+ setTimeout(() => {
1342
+ i.value = !1, t.options?.onEnd && t.options?.onEnd(l);
1343
+ });
1344
+ }
1345
+ } : {}), { draggableElement: a } = Dn(n, r);
1346
+ return St(() => {
1347
+ In();
1348
+ }), e({
1349
+ /**
1350
+ * A ref to the container DOM element.
1351
+ */
1352
+ containerRef: n,
1353
+ /**
1354
+ * The underlying SortableJS instance, which provides methods like `toArray()`, `sort()`, and `destroy()`.
1355
+ */
1356
+ draggableElement: a,
1357
+ /**
1358
+ * A boolean ref that is `true` when an item is being dragged.
1359
+ */
1360
+ isDragging: i,
1361
+ /**
1362
+ * Used to announce reordering or movement actions to screen reader users.
1363
+ */
1364
+ announce: On
1365
+ }), (l, s) => (ht(), zt(jt(l.el), {
1366
+ ref_key: "containerRef",
1367
+ ref: n
1368
+ }, {
1369
+ default: $t(() => [
1370
+ (ht(!0), Ut(qt, null, Vt(l.items, (u, c) => Kt(l.$slots, "default", {
1371
+ item: u,
1372
+ index: c
1373
+ })), 256))
1374
+ ]),
1375
+ _: 3
1376
+ }, 512));
1377
+ }
1378
+ });
1379
+ export {
1380
+ xn as BentoDraggable,
1381
+ Rn as BentoDraggableHandle
1382
+ };
1383
+ //# sourceMappingURL=draggable.js.map