@adyen/bento-vue3 1.59.0 → 1.60.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 (578) hide show
  1. package/package.json +10 -6
  2. package/dist/@types/components.d.ts +0 -201
  3. package/dist/@types/index.d.ts +0 -17796
  4. package/dist/accordion.js +0 -6
  5. package/dist/accordion.js.map +0 -1
  6. package/dist/action-bar.js +0 -5
  7. package/dist/action-bar.js.map +0 -1
  8. package/dist/alert.js +0 -8
  9. package/dist/alert.js.map +0 -1
  10. package/dist/assets/accordion-item.css +0 -1
  11. package/dist/assets/action-bar.css +0 -1
  12. package/dist/assets/alert.css +0 -1
  13. package/dist/assets/avatar.css +0 -1
  14. package/dist/assets/base-button.css +0 -1
  15. package/dist/assets/base-modal.css +0 -1
  16. package/dist/assets/button-actions-with-menu.css +0 -1
  17. package/dist/assets/button-actions.css +0 -1
  18. package/dist/assets/button.css +0 -1
  19. package/dist/assets/calendar.css +0 -1
  20. package/dist/assets/card.css +0 -1
  21. package/dist/assets/checkbox-group.css +0 -1
  22. package/dist/assets/checkbox-input.css +0 -1
  23. package/dist/assets/checkbox.css +0 -1
  24. package/dist/assets/chip.css +0 -1
  25. package/dist/assets/code-snippet.css +0 -1
  26. package/dist/assets/controls-group.css +0 -1
  27. package/dist/assets/copy.css +0 -1
  28. package/dist/assets/country.css +0 -1
  29. package/dist/assets/currency.css +0 -1
  30. package/dist/assets/dashboard-section.css +0 -1
  31. package/dist/assets/dashed-underline.css +0 -1
  32. package/dist/assets/data-grid-template.css +0 -1
  33. package/dist/assets/data-grid.css +0 -1
  34. package/dist/assets/date-picker.css +0 -1
  35. package/dist/assets/date-range-picker.css +0 -1
  36. package/dist/assets/date.css +0 -1
  37. package/dist/assets/dialog-page.css +0 -1
  38. package/dist/assets/divider.css +0 -1
  39. package/dist/assets/dropdown-default-textbox.css +0 -1
  40. package/dist/assets/dropdown-tag.css +0 -1
  41. package/dist/assets/dropdown.css +0 -1
  42. package/dist/assets/empty-state.css +0 -1
  43. package/dist/assets/error-message.css +0 -1
  44. package/dist/assets/file-uploader.css +0 -1
  45. package/dist/assets/filter-bar.css +0 -1
  46. package/dist/assets/fixed-scroller.css +0 -1
  47. package/dist/assets/focus-trap.css +0 -1
  48. package/dist/assets/footer-actions.css +0 -1
  49. package/dist/assets/form-layout-title.css +0 -1
  50. package/dist/assets/grid-layout.css +0 -1
  51. package/dist/assets/header-with-views.css +0 -1
  52. package/dist/assets/header.css +0 -1
  53. package/dist/assets/info-icon-with-popover.css +0 -1
  54. package/dist/assets/info-icon.css +0 -1
  55. package/dist/assets/input-field-password.css +0 -1
  56. package/dist/assets/input-field-phone-number.css +0 -1
  57. package/dist/assets/input-field.css +0 -1
  58. package/dist/assets/inspector.css +0 -1
  59. package/dist/assets/layout-row.css +0 -1
  60. package/dist/assets/link.css +0 -1
  61. package/dist/assets/listbox-option-tag.css +0 -1
  62. package/dist/assets/loading-indicator.css +0 -1
  63. package/dist/assets/main.css +0 -1
  64. package/dist/assets/menu.css +0 -1
  65. package/dist/assets/modal-fullscreen.css +0 -1
  66. package/dist/assets/pagination.css +0 -1
  67. package/dist/assets/payment-method.css +0 -1
  68. package/dist/assets/popover.css +0 -1
  69. package/dist/assets/popper-container.css +0 -1
  70. package/dist/assets/promo-banner.css +0 -1
  71. package/dist/assets/radio-group.css +0 -1
  72. package/dist/assets/radio-input.css +0 -1
  73. package/dist/assets/rich-text-editor.css +0 -1
  74. package/dist/assets/search-bar.css +0 -1
  75. package/dist/assets/secondary-nav.css +0 -1
  76. package/dist/assets/segmented-control.css +0 -1
  77. package/dist/assets/selection-card-group.css +0 -1
  78. package/dist/assets/sidepanel.css +0 -1
  79. package/dist/assets/status.css +0 -1
  80. package/dist/assets/step.css +0 -1
  81. package/dist/assets/structured-list-item.css +0 -1
  82. package/dist/assets/summary-grid.css +0 -1
  83. package/dist/assets/tabs.css +0 -1
  84. package/dist/assets/tag.css +0 -1
  85. package/dist/assets/teleport.css +0 -1
  86. package/dist/assets/textarea.css +0 -1
  87. package/dist/assets/timeline-item.css +0 -1
  88. package/dist/assets/toast.css +0 -1
  89. package/dist/assets/toggle-button.css +0 -1
  90. package/dist/assets/toggle.css +0 -1
  91. package/dist/assets/tooltip.css +0 -1
  92. package/dist/assets/tutorial.css +0 -1
  93. package/dist/assets/typography.css +0 -1
  94. package/dist/assets/use-cached-selected-values.css +0 -1
  95. package/dist/avatar.js +0 -5
  96. package/dist/avatar.js.map +0 -1
  97. package/dist/button.js +0 -16
  98. package/dist/button.js.map +0 -1
  99. package/dist/card.js +0 -7
  100. package/dist/card.js.map +0 -1
  101. package/dist/checkbox.js +0 -11
  102. package/dist/checkbox.js.map +0 -1
  103. package/dist/chip.js +0 -5
  104. package/dist/chip.js.map +0 -1
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
  106. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
  108. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
  110. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
  111. package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
  112. package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
  113. package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
  114. package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
  116. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
  117. package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
  118. package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
  119. package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
  120. package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
  121. package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
  122. package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
  123. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +0 -10
  124. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +0 -1
  125. package/dist/chunks/accordion-item.CihL7JaZ.js +0 -142
  126. package/dist/chunks/accordion-item.CihL7JaZ.js.map +0 -1
  127. package/dist/chunks/action-bar.DHFGXPzd.js +0 -203
  128. package/dist/chunks/action-bar.DHFGXPzd.js.map +0 -1
  129. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
  130. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
  131. package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
  132. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
  133. package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
  134. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
  135. package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
  136. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
  137. package/dist/chunks/alert.CjegN2iG.js +0 -169
  138. package/dist/chunks/alert.CjegN2iG.js.map +0 -1
  139. package/dist/chunks/aria-label.CaUURpnB.js +0 -13
  140. package/dist/chunks/aria-label.CaUURpnB.js.map +0 -1
  141. package/dist/chunks/avatar.B0-9jC6H.js +0 -94
  142. package/dist/chunks/avatar.B0-9jC6H.js.map +0 -1
  143. package/dist/chunks/base-button.DdNFlbgH.js +0 -115
  144. package/dist/chunks/base-button.DdNFlbgH.js.map +0 -1
  145. package/dist/chunks/base-modal.BXdrZf3U.js +0 -504
  146. package/dist/chunks/base-modal.BXdrZf3U.js.map +0 -1
  147. package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
  148. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
  149. package/dist/chunks/bin.CA6UQCNZ.js +0 -37
  150. package/dist/chunks/bin.CA6UQCNZ.js.map +0 -1
  151. package/dist/chunks/button-actions-with-menu.DfnPv97A.js +0 -174
  152. package/dist/chunks/button-actions-with-menu.DfnPv97A.js.map +0 -1
  153. package/dist/chunks/button-actions.WnxN4KnV.js +0 -264
  154. package/dist/chunks/button-actions.WnxN4KnV.js.map +0 -1
  155. package/dist/chunks/button.CVZJTZv0.js +0 -120
  156. package/dist/chunks/button.CVZJTZv0.js.map +0 -1
  157. package/dist/chunks/calendar.BzN254pQ.js +0 -1288
  158. package/dist/chunks/calendar.BzN254pQ.js.map +0 -1
  159. package/dist/chunks/card.PFtc1o__.js +0 -213
  160. package/dist/chunks/card.PFtc1o__.js.map +0 -1
  161. package/dist/chunks/checkbox-group.Dsiyb1cX.js +0 -192
  162. package/dist/chunks/checkbox-group.Dsiyb1cX.js.map +0 -1
  163. package/dist/chunks/checkbox-input.DVayucaL.js +0 -168
  164. package/dist/chunks/checkbox-input.DVayucaL.js.map +0 -1
  165. package/dist/chunks/checkbox.DeNqOQ8F.js +0 -253
  166. package/dist/chunks/checkbox.DeNqOQ8F.js.map +0 -1
  167. package/dist/chunks/checkmark-circle-fill.jicbqe7k.js +0 -44
  168. package/dist/chunks/checkmark-circle-fill.jicbqe7k.js.map +0 -1
  169. package/dist/chunks/checkmark-small.D7l69yBf.js +0 -29
  170. package/dist/chunks/checkmark-small.D7l69yBf.js.map +0 -1
  171. package/dist/chunks/chevron-left.BF63HtOH.js +0 -52
  172. package/dist/chunks/chevron-left.BF63HtOH.js.map +0 -1
  173. package/dist/chunks/chevron-up.-0oLlHmh.js +0 -52
  174. package/dist/chunks/chevron-up.-0oLlHmh.js.map +0 -1
  175. package/dist/chunks/chip.BVCzNGaI.js +0 -71
  176. package/dist/chunks/chip.BVCzNGaI.js.map +0 -1
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +0 -23
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +0 -1
  179. package/dist/chunks/code-snippet.91V1hyL-.js +0 -334
  180. package/dist/chunks/code-snippet.91V1hyL-.js.map +0 -1
  181. package/dist/chunks/codemirror.Zv80n3Z2.js +0 -14628
  182. package/dist/chunks/codemirror.Zv80n3Z2.js.map +0 -1
  183. package/dist/chunks/controls-group.DzFmJYYp.js +0 -98
  184. package/dist/chunks/controls-group.DzFmJYYp.js.map +0 -1
  185. package/dist/chunks/copy.BNFlTYMb.js +0 -156
  186. package/dist/chunks/copy.BNFlTYMb.js.map +0 -1
  187. package/dist/chunks/country.BhAcCmRx.js +0 -99
  188. package/dist/chunks/country.BhAcCmRx.js.map +0 -1
  189. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  190. package/dist/chunks/country.types.C0Q_hhgJ.js.map +0 -1
  191. package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js +0 -29
  192. package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +0 -1
  193. package/dist/chunks/cross-circle-fill.B7YpDLTK.js +0 -44
  194. package/dist/chunks/cross-circle-fill.B7YpDLTK.js.map +0 -1
  195. package/dist/chunks/cross-small.CFrBIeYK.js +0 -29
  196. package/dist/chunks/cross-small.CFrBIeYK.js.map +0 -1
  197. package/dist/chunks/cross.CbLEjiVy.js +0 -29
  198. package/dist/chunks/cross.CbLEjiVy.js.map +0 -1
  199. package/dist/chunks/currency.DagWnTry.js +0 -109
  200. package/dist/chunks/currency.DagWnTry.js.map +0 -1
  201. package/dist/chunks/dashboard-section.BTJ8h5Kd.js +0 -165
  202. package/dist/chunks/dashboard-section.BTJ8h5Kd.js.map +0 -1
  203. package/dist/chunks/dashed-underline.BpSS0BTl.js +0 -98
  204. package/dist/chunks/dashed-underline.BpSS0BTl.js.map +0 -1
  205. package/dist/chunks/data-grid-template.CnrbFvb3.js +0 -111
  206. package/dist/chunks/data-grid-template.CnrbFvb3.js.map +0 -1
  207. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
  208. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +0 -1
  209. package/dist/chunks/data-grid.PAFw8voO.js +0 -3646
  210. package/dist/chunks/data-grid.PAFw8voO.js.map +0 -1
  211. package/dist/chunks/date-input.BqBdAO1E.js +0 -17
  212. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  213. package/dist/chunks/date-picker.CSn6F3aG.js +0 -315
  214. package/dist/chunks/date-picker.CSn6F3aG.js.map +0 -1
  215. package/dist/chunks/date-range-picker.ByQ_yM6z.js +0 -1170
  216. package/dist/chunks/date-range-picker.ByQ_yM6z.js.map +0 -1
  217. package/dist/chunks/date.CKXySBQv.js +0 -995
  218. package/dist/chunks/date.CKXySBQv.js.map +0 -1
  219. package/dist/chunks/debounce.DUTu11PS.js +0 -10
  220. package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
  221. package/dist/chunks/dialog-page.C72BX6So.js +0 -175
  222. package/dist/chunks/dialog-page.C72BX6So.js.map +0 -1
  223. package/dist/chunks/directive.Cbdox5VL.js +0 -23
  224. package/dist/chunks/directive.Cbdox5VL.js.map +0 -1
  225. package/dist/chunks/divider.qUOSAbU6.js +0 -33
  226. package/dist/chunks/divider.qUOSAbU6.js.map +0 -1
  227. package/dist/chunks/dot.BW-xtyjC.js +0 -29
  228. package/dist/chunks/dot.BW-xtyjC.js.map +0 -1
  229. package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js +0 -419
  230. package/dist/chunks/dropdown-default-textbox.BNhy-QDH.js.map +0 -1
  231. package/dist/chunks/dropdown-tag.D_oUoZBc.js +0 -202
  232. package/dist/chunks/dropdown-tag.D_oUoZBc.js.map +0 -1
  233. package/dist/chunks/dropdown.B8LbzSzW.js +0 -936
  234. package/dist/chunks/dropdown.B8LbzSzW.js.map +0 -1
  235. package/dist/chunks/empty-state.BGWjUH6G.js +0 -185
  236. package/dist/chunks/empty-state.BGWjUH6G.js.map +0 -1
  237. package/dist/chunks/error-message.BzDQxHUy.js +0 -158
  238. package/dist/chunks/error-message.BzDQxHUy.js.map +0 -1
  239. package/dist/chunks/es6.BA9GH7QZ.js +0 -11
  240. package/dist/chunks/es6.BA9GH7QZ.js.map +0 -1
  241. package/dist/chunks/events.FNmSWp_P.js +0 -52
  242. package/dist/chunks/events.FNmSWp_P.js.map +0 -1
  243. package/dist/chunks/expand.DusW7F7p.js +0 -33
  244. package/dist/chunks/expand.DusW7F7p.js.map +0 -1
  245. package/dist/chunks/file-uploader.HMZfzgaO.js +0 -2280
  246. package/dist/chunks/file-uploader.HMZfzgaO.js.map +0 -1
  247. package/dist/chunks/filter-bar.CKxLJDQE.js +0 -2976
  248. package/dist/chunks/filter-bar.CKxLJDQE.js.map +0 -1
  249. package/dist/chunks/fixed-scroller.BjxA_R63.js +0 -147
  250. package/dist/chunks/fixed-scroller.BjxA_R63.js.map +0 -1
  251. package/dist/chunks/focus-trap.BdrEB4Ld.js +0 -500
  252. package/dist/chunks/focus-trap.BdrEB4Ld.js.map +0 -1
  253. package/dist/chunks/footer-actions.DqKdjjjh.js +0 -110
  254. package/dist/chunks/footer-actions.DqKdjjjh.js.map +0 -1
  255. package/dist/chunks/form-layout-title.CsmjzAje.js +0 -206
  256. package/dist/chunks/form-layout-title.CsmjzAje.js.map +0 -1
  257. package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
  258. package/dist/chunks/form-layout.types.D3EKzbE7.js.map +0 -1
  259. package/dist/chunks/generate-uid.NJ8tVoha.js +0 -32
  260. package/dist/chunks/generate-uid.NJ8tVoha.js.map +0 -1
  261. package/dist/chunks/get-date-locale.BN8xEjY0.js +0 -1735
  262. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
  263. package/dist/chunks/get-slot-text.DQlZEsId.js +0 -12
  264. package/dist/chunks/get-slot-text.DQlZEsId.js.map +0 -1
  265. package/dist/chunks/grid-layout.BTLE3rac.js +0 -114
  266. package/dist/chunks/grid-layout.BTLE3rac.js.map +0 -1
  267. package/dist/chunks/header-with-views.BVcLQi-H.js +0 -2354
  268. package/dist/chunks/header-with-views.BVcLQi-H.js.map +0 -1
  269. package/dist/chunks/header.CYPznLHg.js +0 -253
  270. package/dist/chunks/header.CYPznLHg.js.map +0 -1
  271. package/dist/chunks/i18n.B6g5VX0q.js +0 -3131
  272. package/dist/chunks/i18n.B6g5VX0q.js.map +0 -1
  273. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +0 -47
  274. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +0 -1
  275. package/dist/chunks/index.BDuTpjD8.js +0 -40
  276. package/dist/chunks/index.BDuTpjD8.js.map +0 -1
  277. package/dist/chunks/index.BxBB1rsx.js +0 -15
  278. package/dist/chunks/index.BxBB1rsx.js.map +0 -1
  279. package/dist/chunks/index.CVpo3mlK.js +0 -528
  280. package/dist/chunks/index.CVpo3mlK.js.map +0 -1
  281. package/dist/chunks/index.CWuzEfiV.js +0 -6
  282. package/dist/chunks/index.CWuzEfiV.js.map +0 -1
  283. package/dist/chunks/index.DD7TppDb.js +0 -10
  284. package/dist/chunks/index.DD7TppDb.js.map +0 -1
  285. package/dist/chunks/info-icon-with-popover.BUtJRYXy.js +0 -97
  286. package/dist/chunks/info-icon-with-popover.BUtJRYXy.js.map +0 -1
  287. package/dist/chunks/info-icon.MO6y9Dyv.js +0 -45
  288. package/dist/chunks/info-icon.MO6y9Dyv.js.map +0 -1
  289. package/dist/chunks/info.HK3R7Drc.js +0 -44
  290. package/dist/chunks/info.HK3R7Drc.js.map +0 -1
  291. package/dist/chunks/input-field-password.c6WXpF9U.js +0 -366
  292. package/dist/chunks/input-field-password.c6WXpF9U.js.map +0 -1
  293. package/dist/chunks/input-field-phone-number.DQxF-6wT.js +0 -3106
  294. package/dist/chunks/input-field-phone-number.DQxF-6wT.js.map +0 -1
  295. package/dist/chunks/input-field.BDEEGU2t.js +0 -298
  296. package/dist/chunks/input-field.BDEEGU2t.js.map +0 -1
  297. package/dist/chunks/inspector.types.BQnVv5HX.js +0 -187
  298. package/dist/chunks/inspector.types.BQnVv5HX.js.map +0 -1
  299. package/dist/chunks/internal-error.BLZodVBE.js +0 -5
  300. package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
  301. package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
  302. package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
  303. package/dist/chunks/keyboard-navigation.CqgGzfZQ.js +0 -66
  304. package/dist/chunks/keyboard-navigation.CqgGzfZQ.js.map +0 -1
  305. package/dist/chunks/layout-row.CRRLYA03.js +0 -100
  306. package/dist/chunks/layout-row.CRRLYA03.js.map +0 -1
  307. package/dist/chunks/link.CTH1xj0i.js +0 -116
  308. package/dist/chunks/link.CTH1xj0i.js.map +0 -1
  309. package/dist/chunks/listbox-option-tag.CTipR05e.js +0 -55
  310. package/dist/chunks/listbox-option-tag.CTipR05e.js.map +0 -1
  311. package/dist/chunks/loading-indicator.DEepb9Wl.js +0 -44
  312. package/dist/chunks/loading-indicator.DEepb9Wl.js.map +0 -1
  313. package/dist/chunks/menu.HVsIOPzt.js +0 -768
  314. package/dist/chunks/menu.HVsIOPzt.js.map +0 -1
  315. package/dist/chunks/modal-fullscreen.CN1dCmU-.js +0 -270
  316. package/dist/chunks/modal-fullscreen.CN1dCmU-.js.map +0 -1
  317. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
  318. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
  319. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang._xN4vNxW.js +0 -501
  320. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang._xN4vNxW.js.map +0 -1
  321. package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
  322. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
  323. package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
  324. package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
  325. package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
  326. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
  327. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
  328. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
  329. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  330. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  331. package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
  332. package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
  333. package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
  334. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
  335. package/dist/chunks/pagination.Cv-jL5MP.js +0 -461
  336. package/dist/chunks/pagination.Cv-jL5MP.js.map +0 -1
  337. package/dist/chunks/payment-method.eazefwm6.js +0 -125
  338. package/dist/chunks/payment-method.eazefwm6.js.map +0 -1
  339. package/dist/chunks/payment-method.types.BqtH7RM2.js +0 -5
  340. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +0 -1
  341. package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
  342. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
  343. package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
  344. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
  345. package/dist/chunks/popover.sXC1vaC4.js +0 -350
  346. package/dist/chunks/popover.sXC1vaC4.js.map +0 -1
  347. package/dist/chunks/popper-container.CWgM0skS.js +0 -1396
  348. package/dist/chunks/popper-container.CWgM0skS.js.map +0 -1
  349. package/dist/chunks/popper-container.types.BCZMbVFD.js +0 -9
  350. package/dist/chunks/popper-container.types.BCZMbVFD.js.map +0 -1
  351. package/dist/chunks/promo-banner.CoB1tBCC.js +0 -126
  352. package/dist/chunks/promo-banner.CoB1tBCC.js.map +0 -1
  353. package/dist/chunks/radio-group.BzLVfoL0.js +0 -321
  354. package/dist/chunks/radio-group.BzLVfoL0.js.map +0 -1
  355. package/dist/chunks/radio-input.DKfQGxtp.js +0 -96
  356. package/dist/chunks/radio-input.DKfQGxtp.js.map +0 -1
  357. package/dist/chunks/referrals.BvtT-kQS.js +0 -5
  358. package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
  359. package/dist/chunks/referrals.aX8WZigH.js +0 -5
  360. package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
  361. package/dist/chunks/refresh.C20ROVDS.js +0 -29
  362. package/dist/chunks/refresh.C20ROVDS.js.map +0 -1
  363. package/dist/chunks/resize.Bqks3WUm.js +0 -15
  364. package/dist/chunks/resize.Bqks3WUm.js.map +0 -1
  365. package/dist/chunks/rich-text-editor.C5RIGjDX.js +0 -6221
  366. package/dist/chunks/rich-text-editor.C5RIGjDX.js.map +0 -1
  367. package/dist/chunks/search-bar.C8bAeztI.js +0 -114
  368. package/dist/chunks/search-bar.C8bAeztI.js.map +0 -1
  369. package/dist/chunks/search.CW_aTqip.js +0 -44
  370. package/dist/chunks/search.CW_aTqip.js.map +0 -1
  371. package/dist/chunks/secondary-nav.BZF_9ztn.js +0 -137
  372. package/dist/chunks/secondary-nav.BZF_9ztn.js.map +0 -1
  373. package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
  374. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
  375. package/dist/chunks/segmented-control.u3a7Mssn.js +0 -144
  376. package/dist/chunks/segmented-control.u3a7Mssn.js.map +0 -1
  377. package/dist/chunks/selection-card-group.CSFQ-f8m.js +0 -474
  378. package/dist/chunks/selection-card-group.CSFQ-f8m.js.map +0 -1
  379. package/dist/chunks/show.ByWWaogc.js +0 -64
  380. package/dist/chunks/show.ByWWaogc.js.map +0 -1
  381. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
  382. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
  383. package/dist/chunks/sidepanel.kwEMG5ee.js +0 -254
  384. package/dist/chunks/sidepanel.kwEMG5ee.js.map +0 -1
  385. package/dist/chunks/status.types.Bdv2zuuh.js +0 -44
  386. package/dist/chunks/status.types.Bdv2zuuh.js.map +0 -1
  387. package/dist/chunks/step.7l-t-eN9.js +0 -264
  388. package/dist/chunks/step.7l-t-eN9.js.map +0 -1
  389. package/dist/chunks/structured-list-item.DLJp-ApS.js +0 -108
  390. package/dist/chunks/structured-list-item.DLJp-ApS.js.map +0 -1
  391. package/dist/chunks/success.DhioLvPD.js +0 -5
  392. package/dist/chunks/success.DhioLvPD.js.map +0 -1
  393. package/dist/chunks/success.nNwxJRBS.js +0 -5
  394. package/dist/chunks/success.nNwxJRBS.js.map +0 -1
  395. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
  396. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +0 -1
  397. package/dist/chunks/summary-grid.types.DkyTeEAn.js +0 -466
  398. package/dist/chunks/summary-grid.types.DkyTeEAn.js.map +0 -1
  399. package/dist/chunks/tabs.Bn4YIjoy.js +0 -266
  400. package/dist/chunks/tabs.Bn4YIjoy.js.map +0 -1
  401. package/dist/chunks/tabs.keys.Bc2pSKRw.js +0 -7
  402. package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +0 -1
  403. package/dist/chunks/tag.Me7nYLMe.js +0 -51
  404. package/dist/chunks/tag.Me7nYLMe.js.map +0 -1
  405. package/dist/chunks/teleport.CfGWjxe2.js +0 -129
  406. package/dist/chunks/teleport.CfGWjxe2.js.map +0 -1
  407. package/dist/chunks/textarea.BbSzCJ-3.js +0 -278
  408. package/dist/chunks/textarea.BbSzCJ-3.js.map +0 -1
  409. package/dist/chunks/timeline-item._h_dMFfm.js +0 -567
  410. package/dist/chunks/timeline-item._h_dMFfm.js.map +0 -1
  411. package/dist/chunks/toast.Ae5ZoWHb.js +0 -221
  412. package/dist/chunks/toast.Ae5ZoWHb.js.map +0 -1
  413. package/dist/chunks/toggle-button.Dv1t15yj.js +0 -80
  414. package/dist/chunks/toggle-button.Dv1t15yj.js.map +0 -1
  415. package/dist/chunks/toggle.hoD_i2Ey.js +0 -161
  416. package/dist/chunks/toggle.hoD_i2Ey.js.map +0 -1
  417. package/dist/chunks/tooltip.CGMSPub2.js +0 -205
  418. package/dist/chunks/tooltip.CGMSPub2.js.map +0 -1
  419. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  420. package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
  421. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CysjLLSS.js +0 -423
  422. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CysjLLSS.js.map +0 -1
  423. package/dist/chunks/typography.DN5eC5ch.js +0 -83
  424. package/dist/chunks/typography.DN5eC5ch.js.map +0 -1
  425. package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
  426. package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
  427. package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
  428. package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
  429. package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js +0 -50
  430. package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js.map +0 -1
  431. package/dist/chunks/use-cached-selected-values.Dk0UxwFJ.js +0 -1475
  432. package/dist/chunks/use-cached-selected-values.Dk0UxwFJ.js.map +0 -1
  433. package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
  434. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
  435. package/dist/chunks/use-country-items.4kZgVg_l.js +0 -30
  436. package/dist/chunks/use-country-items.4kZgVg_l.js.map +0 -1
  437. package/dist/chunks/use-country-phon-code.DVgE19zT.js +0 -5610
  438. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +0 -1
  439. package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
  440. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +0 -1
  441. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +0 -1
  443. package/dist/chunks/use-form-layout-loading.D3lALhtC.js +0 -12
  444. package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +0 -1
  445. package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
  446. package/dist/chunks/use-has-slot.B7eQSabc.js.map +0 -1
  447. package/dist/chunks/warning-filled.DmHh0nYG.js +0 -29
  448. package/dist/chunks/warning-filled.DmHh0nYG.js.map +0 -1
  449. package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
  451. package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
  453. package/dist/click-outside.js +0 -5
  454. package/dist/click-outside.js.map +0 -1
  455. package/dist/code-snippet.js +0 -8
  456. package/dist/code-snippet.js.map +0 -1
  457. package/dist/country.js +0 -12
  458. package/dist/country.js.map +0 -1
  459. package/dist/currency.js +0 -6
  460. package/dist/currency.js.map +0 -1
  461. package/dist/dashboard-template.js +0 -6
  462. package/dist/dashboard-template.js.map +0 -1
  463. package/dist/dashed-underline.js +0 -5
  464. package/dist/dashed-underline.js.map +0 -1
  465. package/dist/data-grid-template.js +0 -5
  466. package/dist/data-grid-template.js.map +0 -1
  467. package/dist/data-grid.js +0 -11
  468. package/dist/data-grid.js.map +0 -1
  469. package/dist/date-picker.js +0 -8
  470. package/dist/date-picker.js.map +0 -1
  471. package/dist/date-range-picker.js +0 -8
  472. package/dist/date-range-picker.js.map +0 -1
  473. package/dist/date.js +0 -6
  474. package/dist/date.js.map +0 -1
  475. package/dist/divider.js +0 -5
  476. package/dist/divider.js.map +0 -1
  477. package/dist/dropdown.js +0 -16
  478. package/dist/dropdown.js.map +0 -1
  479. package/dist/empty-state.js +0 -8
  480. package/dist/empty-state.js.map +0 -1
  481. package/dist/file-uploader.js +0 -5
  482. package/dist/file-uploader.js.map +0 -1
  483. package/dist/filter-bar.js +0 -8
  484. package/dist/filter-bar.js.map +0 -1
  485. package/dist/focus-trap.js +0 -5
  486. package/dist/focus-trap.js.map +0 -1
  487. package/dist/fonts/fonts.css +0 -2
  488. package/dist/form-layout.js +0 -8
  489. package/dist/form-layout.js.map +0 -1
  490. package/dist/header-with-views.js +0 -5
  491. package/dist/header-with-views.js.map +0 -1
  492. package/dist/header.js +0 -5
  493. package/dist/header.js.map +0 -1
  494. package/dist/image.js +0 -7
  495. package/dist/image.js.map +0 -1
  496. package/dist/index.js +0 -370
  497. package/dist/index.js.map +0 -1
  498. package/dist/info-icon.js +0 -5
  499. package/dist/info-icon.js.map +0 -1
  500. package/dist/input-field-password.js +0 -10
  501. package/dist/input-field-password.js.map +0 -1
  502. package/dist/input-field-phone-number.js +0 -5
  503. package/dist/input-field-phone-number.js.map +0 -1
  504. package/dist/input-field.js +0 -10
  505. package/dist/input-field.js.map +0 -1
  506. package/dist/inspector.js +0 -6
  507. package/dist/inspector.js.map +0 -1
  508. package/dist/internal.js +0 -43
  509. package/dist/internal.js.map +0 -1
  510. package/dist/layout.js +0 -6
  511. package/dist/layout.js.map +0 -1
  512. package/dist/link.js +0 -6
  513. package/dist/link.js.map +0 -1
  514. package/dist/loading-indicator.js +0 -6
  515. package/dist/loading-indicator.js.map +0 -1
  516. package/dist/menu.js +0 -6
  517. package/dist/menu.js.map +0 -1
  518. package/dist/modal-fullscreen.js +0 -6
  519. package/dist/modal-fullscreen.js.map +0 -1
  520. package/dist/modal.js +0 -14
  521. package/dist/modal.js.map +0 -1
  522. package/dist/pagination.js +0 -5
  523. package/dist/pagination.js.map +0 -1
  524. package/dist/payment-method.js +0 -7
  525. package/dist/payment-method.js.map +0 -1
  526. package/dist/popover.js +0 -6
  527. package/dist/popover.js.map +0 -1
  528. package/dist/popper-container.js +0 -10
  529. package/dist/popper-container.js.map +0 -1
  530. package/dist/promo-banner.js +0 -7
  531. package/dist/promo-banner.js.map +0 -1
  532. package/dist/radio-group.js +0 -9
  533. package/dist/radio-group.js.map +0 -1
  534. package/dist/rich-text-editor.js +0 -5
  535. package/dist/rich-text-editor.js.map +0 -1
  536. package/dist/search-bar.js +0 -9
  537. package/dist/search-bar.js.map +0 -1
  538. package/dist/secondary-nav.js +0 -5
  539. package/dist/secondary-nav.js.map +0 -1
  540. package/dist/segmented-control.js +0 -7
  541. package/dist/segmented-control.js.map +0 -1
  542. package/dist/selection-card.js +0 -7
  543. package/dist/selection-card.js.map +0 -1
  544. package/dist/sidepanel.js +0 -7
  545. package/dist/sidepanel.js.map +0 -1
  546. package/dist/status.js +0 -6
  547. package/dist/status.js.map +0 -1
  548. package/dist/stepper.js +0 -8
  549. package/dist/stepper.js.map +0 -1
  550. package/dist/structured-list.js +0 -6
  551. package/dist/structured-list.js.map +0 -1
  552. package/dist/styles/bento-dark.css +0 -2055
  553. package/dist/styles/bento-light.css +0 -2054
  554. package/dist/styles/bento.css +0 -2054
  555. package/dist/styles/legacy.css +0 -2209
  556. package/dist/styles/styleguide.css +0 -2109
  557. package/dist/styles/utility.css +0 -987
  558. package/dist/summary-grid.js +0 -12
  559. package/dist/summary-grid.js.map +0 -1
  560. package/dist/tabs.js +0 -6
  561. package/dist/tabs.js.map +0 -1
  562. package/dist/tag.js +0 -6
  563. package/dist/tag.js.map +0 -1
  564. package/dist/textarea.js +0 -5
  565. package/dist/textarea.js.map +0 -1
  566. package/dist/timeline.js +0 -10
  567. package/dist/timeline.js.map +0 -1
  568. package/dist/toast.js +0 -5
  569. package/dist/toast.js.map +0 -1
  570. package/dist/toggle.js +0 -7
  571. package/dist/toggle.js.map +0 -1
  572. package/dist/tutorial.js +0 -5
  573. package/dist/tutorial.js.map +0 -1
  574. package/dist/typography.js +0 -8
  575. package/dist/typography.js.map +0 -1
  576. package/dist/use-form-v4.js +0 -8300
  577. package/dist/use-form-v4.js.map +0 -1
  578. package/dist/web-types.json +0 -49
@@ -1,1396 +0,0 @@
1
- import { computed as P, unref as N, ref as Y, shallowRef as Qt, watch as it, getCurrentScope as Zt, onScopeDispose as te, shallowReadonly as tt, defineComponent as ee, toRefs as ne, createBlock as oe, openBlock as Et, mergeProps as St, withCtx as ie, renderSlot as re, createElementBlock as se, createCommentVNode as le } from "vue";
2
- import { B as ce } from "./focus-trap.BdrEB4Ld.js";
3
- import { c as Tt, b as ae } from "./popper-container.types.BCZMbVFD.js";
4
- import { _ as fe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
- import "../assets/popper-container.css";
6
- const Vt = ["top", "right", "bottom", "left"], Lt = ["start", "end"], Dt = /* @__PURE__ */ Vt.reduce((t, e) => t.concat(e, e + "-" + Lt[0], e + "-" + Lt[1]), []), nt = Math.min, K = Math.max, at = Math.round, ct = Math.floor, B = (t) => ({
7
- x: t,
8
- y: t
9
- }), ue = {
10
- left: "right",
11
- right: "left",
12
- bottom: "top",
13
- top: "bottom"
14
- }, de = {
15
- start: "end",
16
- end: "start"
17
- };
18
- function wt(t, e, n) {
19
- return K(t, nt(e, n));
20
- }
21
- function Q(t, e) {
22
- return typeof t == "function" ? t(e) : t;
23
- }
24
- function I(t) {
25
- return t.split("-")[0];
26
- }
27
- function M(t) {
28
- return t.split("-")[1];
29
- }
30
- function Nt(t) {
31
- return t === "x" ? "y" : "x";
32
- }
33
- function xt(t) {
34
- return t === "y" ? "height" : "width";
35
- }
36
- function G(t) {
37
- return ["top", "bottom"].includes(I(t)) ? "y" : "x";
38
- }
39
- function bt(t) {
40
- return Nt(G(t));
41
- }
42
- function It(t, e, n) {
43
- n === void 0 && (n = !1);
44
- const o = M(t), i = bt(t), s = xt(i);
45
- let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
46
- return e.reference[s] > e.floating[s] && (r = ut(r)), [r, ut(r)];
47
- }
48
- function me(t) {
49
- const e = ut(t);
50
- return [ft(t), e, ft(e)];
51
- }
52
- function ft(t) {
53
- return t.replace(/start|end/g, (e) => de[e]);
54
- }
55
- function pe(t, e, n) {
56
- const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
57
- switch (t) {
58
- case "top":
59
- case "bottom":
60
- return n ? e ? i : o : e ? o : i;
61
- case "left":
62
- case "right":
63
- return e ? s : r;
64
- default:
65
- return [];
66
- }
67
- }
68
- function ge(t, e, n, o) {
69
- const i = M(t);
70
- let s = pe(I(t), n === "start", o);
71
- return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(ft)))), s;
72
- }
73
- function ut(t) {
74
- return t.replace(/left|right|bottom|top/g, (e) => ue[e]);
75
- }
76
- function he(t) {
77
- return {
78
- top: 0,
79
- right: 0,
80
- bottom: 0,
81
- left: 0,
82
- ...t
83
- };
84
- }
85
- function jt(t) {
86
- return typeof t != "number" ? he(t) : {
87
- top: t,
88
- right: t,
89
- bottom: t,
90
- left: t
91
- };
92
- }
93
- function dt(t) {
94
- const {
95
- x: e,
96
- y: n,
97
- width: o,
98
- height: i
99
- } = t;
100
- return {
101
- width: o,
102
- height: i,
103
- top: n,
104
- left: e,
105
- right: e + o,
106
- bottom: n + i,
107
- x: e,
108
- y: n
109
- };
110
- }
111
- function kt(t, e, n) {
112
- let {
113
- reference: o,
114
- floating: i
115
- } = t;
116
- const s = G(e), r = bt(e), l = xt(r), a = I(e), c = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, p = o[l] / 2 - i[l] / 2;
117
- let f;
118
- switch (a) {
119
- case "top":
120
- f = {
121
- x: d,
122
- y: o.y - i.height
123
- };
124
- break;
125
- case "bottom":
126
- f = {
127
- x: d,
128
- y: o.y + o.height
129
- };
130
- break;
131
- case "right":
132
- f = {
133
- x: o.x + o.width,
134
- y: u
135
- };
136
- break;
137
- case "left":
138
- f = {
139
- x: o.x - i.width,
140
- y: u
141
- };
142
- break;
143
- default:
144
- f = {
145
- x: o.x,
146
- y: o.y
147
- };
148
- }
149
- switch (M(e)) {
150
- case "start":
151
- f[r] -= p * (n && c ? -1 : 1);
152
- break;
153
- case "end":
154
- f[r] += p * (n && c ? -1 : 1);
155
- break;
156
- }
157
- return f;
158
- }
159
- const we = async (t, e, n) => {
160
- const {
161
- placement: o = "bottom",
162
- strategy: i = "absolute",
163
- middleware: s = [],
164
- platform: r
165
- } = n, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
166
- let c = await r.getElementRects({
167
- reference: t,
168
- floating: e,
169
- strategy: i
170
- }), {
171
- x: d,
172
- y: u
173
- } = kt(c, o, a), p = o, f = {}, m = 0;
174
- for (let g = 0; g < l.length; g++) {
175
- const {
176
- name: v,
177
- fn: h
178
- } = l[g], {
179
- x: w,
180
- y: x,
181
- data: O,
182
- reset: y
183
- } = await h({
184
- x: d,
185
- y: u,
186
- initialPlacement: o,
187
- placement: p,
188
- strategy: i,
189
- middlewareData: f,
190
- rects: c,
191
- platform: r,
192
- elements: {
193
- reference: t,
194
- floating: e
195
- }
196
- });
197
- d = w ?? d, u = x ?? u, f = {
198
- ...f,
199
- [v]: {
200
- ...f[v],
201
- ...O
202
- }
203
- }, y && m <= 50 && (m++, typeof y == "object" && (y.placement && (p = y.placement), y.rects && (c = y.rects === !0 ? await r.getElementRects({
204
- reference: t,
205
- floating: e,
206
- strategy: i
207
- }) : y.rects), {
208
- x: d,
209
- y: u
210
- } = kt(c, p, a)), g = -1);
211
- }
212
- return {
213
- x: d,
214
- y: u,
215
- placement: p,
216
- strategy: i,
217
- middlewareData: f
218
- };
219
- };
220
- async function rt(t, e) {
221
- var n;
222
- e === void 0 && (e = {});
223
- const {
224
- x: o,
225
- y: i,
226
- platform: s,
227
- rects: r,
228
- elements: l,
229
- strategy: a
230
- } = t, {
231
- boundary: c = "clippingAncestors",
232
- rootBoundary: d = "viewport",
233
- elementContext: u = "floating",
234
- altBoundary: p = !1,
235
- padding: f = 0
236
- } = Q(e, t), m = jt(f), v = l[p ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
237
- element: (n = await (s.isElement == null ? void 0 : s.isElement(v))) == null || n ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
238
- boundary: c,
239
- rootBoundary: d,
240
- strategy: a
241
- })), w = u === "floating" ? {
242
- x: o,
243
- y: i,
244
- width: r.floating.width,
245
- height: r.floating.height
246
- } : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), O = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
247
- x: 1,
248
- y: 1
249
- } : {
250
- x: 1,
251
- y: 1
252
- }, y = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
253
- elements: l,
254
- rect: w,
255
- offsetParent: x,
256
- strategy: a
257
- }) : w);
258
- return {
259
- top: (h.top - y.top + m.top) / O.y,
260
- bottom: (y.bottom - h.bottom + m.bottom) / O.y,
261
- left: (h.left - y.left + m.left) / O.x,
262
- right: (y.right - h.right + m.right) / O.x
263
- };
264
- }
265
- const ve = (t) => ({
266
- name: "arrow",
267
- options: t,
268
- async fn(e) {
269
- const {
270
- x: n,
271
- y: o,
272
- placement: i,
273
- rects: s,
274
- platform: r,
275
- elements: l,
276
- middlewareData: a
277
- } = e, {
278
- element: c,
279
- padding: d = 0
280
- } = Q(t, e) || {};
281
- if (c == null)
282
- return {};
283
- const u = jt(d), p = {
284
- x: n,
285
- y: o
286
- }, f = bt(i), m = xt(f), g = await r.getDimensions(c), v = f === "y", h = v ? "top" : "left", w = v ? "bottom" : "right", x = v ? "clientHeight" : "clientWidth", O = s.reference[m] + s.reference[f] - p[f] - s.floating[m], y = p[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
287
- let b = R ? R[x] : 0;
288
- (!b || !await (r.isElement == null ? void 0 : r.isElement(R))) && (b = l.floating[x] || s.floating[m]);
289
- const H = O / 2 - y / 2, C = b / 2 - g[m] / 2 - 1, A = nt(u[h], C), S = nt(u[w], C), W = A, q = b - g[m] - S, k = b / 2 - g[m] / 2 + H, T = wt(W, k, q), X = !a.arrow && M(i) != null && k !== T && s.reference[m] / 2 - (k < W ? A : S) - g[m] / 2 < 0, V = X ? k < W ? k - W : k - q : 0;
290
- return {
291
- [f]: p[f] + V,
292
- data: {
293
- [f]: T,
294
- centerOffset: k - T - V,
295
- ...X && {
296
- alignmentOffset: V
297
- }
298
- },
299
- reset: X
300
- };
301
- }
302
- });
303
- function ye(t, e, n) {
304
- return (t ? [...n.filter((i) => M(i) === t), ...n.filter((i) => M(i) !== t)] : n.filter((i) => I(i) === i)).filter((i) => t ? M(i) === t || (e ? ft(i) !== i : !1) : !0);
305
- }
306
- const xe = function(t) {
307
- return t === void 0 && (t = {}), {
308
- name: "autoPlacement",
309
- options: t,
310
- async fn(e) {
311
- var n, o, i;
312
- const {
313
- rects: s,
314
- middlewareData: r,
315
- placement: l,
316
- platform: a,
317
- elements: c
318
- } = e, {
319
- crossAxis: d = !1,
320
- alignment: u,
321
- allowedPlacements: p = Dt,
322
- autoAlignment: f = !0,
323
- ...m
324
- } = Q(t, e), g = u !== void 0 || p === Dt ? ye(u || null, f, p) : p, v = await rt(e, m), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, w = g[h];
325
- if (w == null)
326
- return {};
327
- const x = It(w, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
328
- if (l !== w)
329
- return {
330
- reset: {
331
- placement: g[0]
332
- }
333
- };
334
- const O = [v[I(w)], v[x[0]], v[x[1]]], y = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
335
- placement: w,
336
- overflows: O
337
- }], R = g[h + 1];
338
- if (R)
339
- return {
340
- data: {
341
- index: h + 1,
342
- overflows: y
343
- },
344
- reset: {
345
- placement: R
346
- }
347
- };
348
- const b = y.map((A) => {
349
- const S = M(A.placement);
350
- return [A.placement, S && d ? (
351
- // Check along the mainAxis and main crossAxis side.
352
- A.overflows.slice(0, 2).reduce((W, q) => W + q, 0)
353
- ) : (
354
- // Check only the mainAxis.
355
- A.overflows[0]
356
- ), A.overflows];
357
- }).sort((A, S) => A[1] - S[1]), C = ((i = b.filter((A) => A[2].slice(
358
- 0,
359
- // Aligned placements should not check their opposite crossAxis
360
- // side.
361
- M(A[0]) ? 2 : 3
362
- ).every((S) => S <= 0))[0]) == null ? void 0 : i[0]) || b[0][0];
363
- return C !== l ? {
364
- data: {
365
- index: h + 1,
366
- overflows: y
367
- },
368
- reset: {
369
- placement: C
370
- }
371
- } : {};
372
- }
373
- };
374
- }, be = function(t) {
375
- return t === void 0 && (t = {}), {
376
- name: "flip",
377
- options: t,
378
- async fn(e) {
379
- var n, o;
380
- const {
381
- placement: i,
382
- middlewareData: s,
383
- rects: r,
384
- initialPlacement: l,
385
- platform: a,
386
- elements: c
387
- } = e, {
388
- mainAxis: d = !0,
389
- crossAxis: u = !0,
390
- fallbackPlacements: p,
391
- fallbackStrategy: f = "bestFit",
392
- fallbackAxisSideDirection: m = "none",
393
- flipAlignment: g = !0,
394
- ...v
395
- } = Q(t, e);
396
- if ((n = s.arrow) != null && n.alignmentOffset)
397
- return {};
398
- const h = I(i), w = G(l), x = I(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), y = p || (x || !g ? [ut(l)] : me(l)), R = m !== "none";
399
- !p && R && y.push(...ge(l, g, m, O));
400
- const b = [l, ...y], H = await rt(e, v), C = [];
401
- let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
402
- if (d && C.push(H[h]), u) {
403
- const T = It(i, r, O);
404
- C.push(H[T[0]], H[T[1]]);
405
- }
406
- if (A = [...A, {
407
- placement: i,
408
- overflows: C
409
- }], !C.every((T) => T <= 0)) {
410
- var S, W;
411
- const T = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, X = b[T];
412
- if (X) {
413
- var q;
414
- const j = u === "alignment" ? w !== G(X) : !1, F = ((q = A[0]) == null ? void 0 : q.overflows[0]) > 0;
415
- if (!j || F)
416
- return {
417
- data: {
418
- index: T,
419
- overflows: A
420
- },
421
- reset: {
422
- placement: X
423
- }
424
- };
425
- }
426
- let V = (W = A.filter((j) => j.overflows[0] <= 0).sort((j, F) => j.overflows[1] - F.overflows[1])[0]) == null ? void 0 : W.placement;
427
- if (!V)
428
- switch (f) {
429
- case "bestFit": {
430
- var k;
431
- const j = (k = A.filter((F) => {
432
- if (R) {
433
- const z = G(F.placement);
434
- return z === w || // Create a bias to the `y` side axis due to horizontal
435
- // reading directions favoring greater width.
436
- z === "y";
437
- }
438
- return !0;
439
- }).map((F) => [F.placement, F.overflows.filter((z) => z > 0).reduce((z, Jt) => z + Jt, 0)]).sort((F, z) => F[1] - z[1])[0]) == null ? void 0 : k[0];
440
- j && (V = j);
441
- break;
442
- }
443
- case "initialPlacement":
444
- V = l;
445
- break;
446
- }
447
- if (i !== V)
448
- return {
449
- reset: {
450
- placement: V
451
- }
452
- };
453
- }
454
- return {};
455
- }
456
- };
457
- };
458
- function Ft(t, e) {
459
- return {
460
- top: t.top - e.height,
461
- right: t.right - e.width,
462
- bottom: t.bottom - e.height,
463
- left: t.left - e.width
464
- };
465
- }
466
- function Bt(t) {
467
- return Vt.some((e) => t[e] >= 0);
468
- }
469
- const Oe = function(t) {
470
- return t === void 0 && (t = {}), {
471
- name: "hide",
472
- options: t,
473
- async fn(e) {
474
- const {
475
- rects: n
476
- } = e, {
477
- strategy: o = "referenceHidden",
478
- ...i
479
- } = Q(t, e);
480
- switch (o) {
481
- case "referenceHidden": {
482
- const s = await rt(e, {
483
- ...i,
484
- elementContext: "reference"
485
- }), r = Ft(s, n.reference);
486
- return {
487
- data: {
488
- referenceHiddenOffsets: r,
489
- referenceHidden: Bt(r)
490
- }
491
- };
492
- }
493
- case "escaped": {
494
- const s = await rt(e, {
495
- ...i,
496
- altBoundary: !0
497
- }), r = Ft(s, n.floating);
498
- return {
499
- data: {
500
- escapedOffsets: r,
501
- escaped: Bt(r)
502
- }
503
- };
504
- }
505
- default:
506
- return {};
507
- }
508
- }
509
- };
510
- };
511
- async function Ae(t, e) {
512
- const {
513
- placement: n,
514
- platform: o,
515
- elements: i
516
- } = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = I(n), l = M(n), a = G(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = Q(e, t);
517
- let {
518
- mainAxis: p,
519
- crossAxis: f,
520
- alignmentAxis: m
521
- } = typeof u == "number" ? {
522
- mainAxis: u,
523
- crossAxis: 0,
524
- alignmentAxis: null
525
- } : {
526
- mainAxis: u.mainAxis || 0,
527
- crossAxis: u.crossAxis || 0,
528
- alignmentAxis: u.alignmentAxis
529
- };
530
- return l && typeof m == "number" && (f = l === "end" ? m * -1 : m), a ? {
531
- x: f * d,
532
- y: p * c
533
- } : {
534
- x: p * c,
535
- y: f * d
536
- };
537
- }
538
- const Re = function(t) {
539
- return t === void 0 && (t = 0), {
540
- name: "offset",
541
- options: t,
542
- async fn(e) {
543
- var n, o;
544
- const {
545
- x: i,
546
- y: s,
547
- placement: r,
548
- middlewareData: l
549
- } = e, a = await Ae(e, t);
550
- return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
551
- x: i + a.x,
552
- y: s + a.y,
553
- data: {
554
- ...a,
555
- placement: r
556
- }
557
- };
558
- }
559
- };
560
- }, Pe = function(t) {
561
- return t === void 0 && (t = {}), {
562
- name: "shift",
563
- options: t,
564
- async fn(e) {
565
- const {
566
- x: n,
567
- y: o,
568
- placement: i
569
- } = e, {
570
- mainAxis: s = !0,
571
- crossAxis: r = !1,
572
- limiter: l = {
573
- fn: (v) => {
574
- let {
575
- x: h,
576
- y: w
577
- } = v;
578
- return {
579
- x: h,
580
- y: w
581
- };
582
- }
583
- },
584
- ...a
585
- } = Q(t, e), c = {
586
- x: n,
587
- y: o
588
- }, d = await rt(e, a), u = G(I(i)), p = Nt(u);
589
- let f = c[p], m = c[u];
590
- if (s) {
591
- const v = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", w = f + d[v], x = f - d[h];
592
- f = wt(w, f, x);
593
- }
594
- if (r) {
595
- const v = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", w = m + d[v], x = m - d[h];
596
- m = wt(w, m, x);
597
- }
598
- const g = l.fn({
599
- ...e,
600
- [p]: f,
601
- [u]: m
602
- });
603
- return {
604
- ...g,
605
- data: {
606
- x: g.x - n,
607
- y: g.y - o,
608
- enabled: {
609
- [p]: s,
610
- [u]: r
611
- }
612
- }
613
- };
614
- }
615
- };
616
- };
617
- function mt() {
618
- return typeof window < "u";
619
- }
620
- function Z(t) {
621
- return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
622
- }
623
- function E(t) {
624
- var e;
625
- return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
626
- }
627
- function _(t) {
628
- var e;
629
- return (e = (Ot(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
630
- }
631
- function Ot(t) {
632
- return mt() ? t instanceof Node || t instanceof E(t).Node : !1;
633
- }
634
- function L(t) {
635
- return mt() ? t instanceof Element || t instanceof E(t).Element : !1;
636
- }
637
- function $(t) {
638
- return mt() ? t instanceof HTMLElement || t instanceof E(t).HTMLElement : !1;
639
- }
640
- function Mt(t) {
641
- return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof E(t).ShadowRoot;
642
- }
643
- function lt(t) {
644
- const {
645
- overflow: e,
646
- overflowX: n,
647
- overflowY: o,
648
- display: i
649
- } = D(t);
650
- return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
651
- }
652
- function Ce(t) {
653
- return ["table", "td", "th"].includes(Z(t));
654
- }
655
- function pt(t) {
656
- return [":popover-open", ":modal"].some((e) => {
657
- try {
658
- return t.matches(e);
659
- } catch {
660
- return !1;
661
- }
662
- });
663
- }
664
- function At(t) {
665
- const e = Rt(), n = L(t) ? D(t) : t;
666
- return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
667
- }
668
- function Ee(t) {
669
- let e = U(t);
670
- for (; $(e) && !ot(e); ) {
671
- if (At(e))
672
- return e;
673
- if (pt(e))
674
- return null;
675
- e = U(e);
676
- }
677
- return null;
678
- }
679
- function Rt() {
680
- return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
681
- }
682
- function ot(t) {
683
- return ["html", "body", "#document"].includes(Z(t));
684
- }
685
- function D(t) {
686
- return E(t).getComputedStyle(t);
687
- }
688
- function gt(t) {
689
- return L(t) ? {
690
- scrollLeft: t.scrollLeft,
691
- scrollTop: t.scrollTop
692
- } : {
693
- scrollLeft: t.scrollX,
694
- scrollTop: t.scrollY
695
- };
696
- }
697
- function U(t) {
698
- if (Z(t) === "html")
699
- return t;
700
- const e = (
701
- // Step into the shadow DOM of the parent of a slotted node.
702
- t.assignedSlot || // DOM Element detected.
703
- t.parentNode || // ShadowRoot detected.
704
- Mt(t) && t.host || // Fallback.
705
- _(t)
706
- );
707
- return Mt(e) ? e.host : e;
708
- }
709
- function zt(t) {
710
- const e = U(t);
711
- return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : $(e) && lt(e) ? e : zt(e);
712
- }
713
- function st(t, e, n) {
714
- var o;
715
- e === void 0 && (e = []), n === void 0 && (n = !0);
716
- const i = zt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = E(i);
717
- if (s) {
718
- const l = vt(r);
719
- return e.concat(r, r.visualViewport || [], lt(i) ? i : [], l && n ? st(l) : []);
720
- }
721
- return e.concat(i, st(i, [], n));
722
- }
723
- function vt(t) {
724
- return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
725
- }
726
- function Yt(t) {
727
- const e = D(t);
728
- let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
729
- const i = $(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = at(n) !== s || at(o) !== r;
730
- return l && (n = s, o = r), {
731
- width: n,
732
- height: o,
733
- $: l
734
- };
735
- }
736
- function Pt(t) {
737
- return L(t) ? t : t.contextElement;
738
- }
739
- function et(t) {
740
- const e = Pt(t);
741
- if (!$(e))
742
- return B(1);
743
- const n = e.getBoundingClientRect(), {
744
- width: o,
745
- height: i,
746
- $: s
747
- } = Yt(e);
748
- let r = (s ? at(n.width) : n.width) / o, l = (s ? at(n.height) : n.height) / i;
749
- return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
750
- x: r,
751
- y: l
752
- };
753
- }
754
- const Se = /* @__PURE__ */ B(0);
755
- function Ut(t) {
756
- const e = E(t);
757
- return !Rt() || !e.visualViewport ? Se : {
758
- x: e.visualViewport.offsetLeft,
759
- y: e.visualViewport.offsetTop
760
- };
761
- }
762
- function Te(t, e, n) {
763
- return e === void 0 && (e = !1), !n || e && n !== E(t) ? !1 : e;
764
- }
765
- function J(t, e, n, o) {
766
- e === void 0 && (e = !1), n === void 0 && (n = !1);
767
- const i = t.getBoundingClientRect(), s = Pt(t);
768
- let r = B(1);
769
- e && (o ? L(o) && (r = et(o)) : r = et(t));
770
- const l = Te(s, n, o) ? Ut(s) : B(0);
771
- let a = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, d = i.width / r.x, u = i.height / r.y;
772
- if (s) {
773
- const p = E(s), f = o && L(o) ? E(o) : o;
774
- let m = p, g = vt(m);
775
- for (; g && o && f !== m; ) {
776
- const v = et(g), h = g.getBoundingClientRect(), w = D(g), x = h.left + (g.clientLeft + parseFloat(w.paddingLeft)) * v.x, O = h.top + (g.clientTop + parseFloat(w.paddingTop)) * v.y;
777
- a *= v.x, c *= v.y, d *= v.x, u *= v.y, a += x, c += O, m = E(g), g = vt(m);
778
- }
779
- }
780
- return dt({
781
- width: d,
782
- height: u,
783
- x: a,
784
- y: c
785
- });
786
- }
787
- function Ct(t, e) {
788
- const n = gt(t).scrollLeft;
789
- return e ? e.left + n : J(_(t)).left + n;
790
- }
791
- function qt(t, e, n) {
792
- n === void 0 && (n = !1);
793
- const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
794
- // RTL <body> scrollbar.
795
- Ct(t, o)
796
- )), s = o.top + e.scrollTop;
797
- return {
798
- x: i,
799
- y: s
800
- };
801
- }
802
- function Le(t) {
803
- let {
804
- elements: e,
805
- rect: n,
806
- offsetParent: o,
807
- strategy: i
808
- } = t;
809
- const s = i === "fixed", r = _(o), l = e ? pt(e.floating) : !1;
810
- if (o === r || l && s)
811
- return n;
812
- let a = {
813
- scrollLeft: 0,
814
- scrollTop: 0
815
- }, c = B(1);
816
- const d = B(0), u = $(o);
817
- if ((u || !u && !s) && ((Z(o) !== "body" || lt(r)) && (a = gt(o)), $(o))) {
818
- const f = J(o);
819
- c = et(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
820
- }
821
- const p = r && !u && !s ? qt(r, a, !0) : B(0);
822
- return {
823
- width: n.width * c.x,
824
- height: n.height * c.y,
825
- x: n.x * c.x - a.scrollLeft * c.x + d.x + p.x,
826
- y: n.y * c.y - a.scrollTop * c.y + d.y + p.y
827
- };
828
- }
829
- function De(t) {
830
- return Array.from(t.getClientRects());
831
- }
832
- function ke(t) {
833
- const e = _(t), n = gt(t), o = t.ownerDocument.body, i = K(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = K(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
834
- let r = -n.scrollLeft + Ct(t);
835
- const l = -n.scrollTop;
836
- return D(o).direction === "rtl" && (r += K(e.clientWidth, o.clientWidth) - i), {
837
- width: i,
838
- height: s,
839
- x: r,
840
- y: l
841
- };
842
- }
843
- function Fe(t, e) {
844
- const n = E(t), o = _(t), i = n.visualViewport;
845
- let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
846
- if (i) {
847
- s = i.width, r = i.height;
848
- const c = Rt();
849
- (!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
850
- }
851
- return {
852
- width: s,
853
- height: r,
854
- x: l,
855
- y: a
856
- };
857
- }
858
- function Be(t, e) {
859
- const n = J(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? et(t) : B(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, a = i * s.x, c = o * s.y;
860
- return {
861
- width: r,
862
- height: l,
863
- x: a,
864
- y: c
865
- };
866
- }
867
- function $t(t, e, n) {
868
- let o;
869
- if (e === "viewport")
870
- o = Fe(t, n);
871
- else if (e === "document")
872
- o = ke(_(t));
873
- else if (L(e))
874
- o = Be(e, n);
875
- else {
876
- const i = Ut(t);
877
- o = {
878
- x: e.x - i.x,
879
- y: e.y - i.y,
880
- width: e.width,
881
- height: e.height
882
- };
883
- }
884
- return dt(o);
885
- }
886
- function Xt(t, e) {
887
- const n = U(t);
888
- return n === e || !L(n) || ot(n) ? !1 : D(n).position === "fixed" || Xt(n, e);
889
- }
890
- function Me(t, e) {
891
- const n = e.get(t);
892
- if (n)
893
- return n;
894
- let o = st(t, [], !1).filter((l) => L(l) && Z(l) !== "body"), i = null;
895
- const s = D(t).position === "fixed";
896
- let r = s ? U(t) : t;
897
- for (; L(r) && !ot(r); ) {
898
- const l = D(r), a = At(r);
899
- !a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || lt(r) && !a && Xt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r = U(r);
900
- }
901
- return e.set(t, o), o;
902
- }
903
- function $e(t) {
904
- let {
905
- element: e,
906
- boundary: n,
907
- rootBoundary: o,
908
- strategy: i
909
- } = t;
910
- const r = [...n === "clippingAncestors" ? pt(e) ? [] : Me(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
911
- const u = $t(e, d, i);
912
- return c.top = K(u.top, c.top), c.right = nt(u.right, c.right), c.bottom = nt(u.bottom, c.bottom), c.left = K(u.left, c.left), c;
913
- }, $t(e, l, i));
914
- return {
915
- width: a.right - a.left,
916
- height: a.bottom - a.top,
917
- x: a.left,
918
- y: a.top
919
- };
920
- }
921
- function _e(t) {
922
- const {
923
- width: e,
924
- height: n
925
- } = Yt(t);
926
- return {
927
- width: e,
928
- height: n
929
- };
930
- }
931
- function He(t, e, n) {
932
- const o = $(e), i = _(e), s = n === "fixed", r = J(t, !0, s, e);
933
- let l = {
934
- scrollLeft: 0,
935
- scrollTop: 0
936
- };
937
- const a = B(0);
938
- if (o || !o && !s)
939
- if ((Z(e) !== "body" || lt(i)) && (l = gt(e)), o) {
940
- const p = J(e, !0, s, e);
941
- a.x = p.x + e.clientLeft, a.y = p.y + e.clientTop;
942
- } else i && (a.x = Ct(i));
943
- const c = i && !o && !s ? qt(i, l) : B(0), d = r.left + l.scrollLeft - a.x - c.x, u = r.top + l.scrollTop - a.y - c.y;
944
- return {
945
- x: d,
946
- y: u,
947
- width: r.width,
948
- height: r.height
949
- };
950
- }
951
- function ht(t) {
952
- return D(t).position === "static";
953
- }
954
- function _t(t, e) {
955
- if (!$(t) || D(t).position === "fixed")
956
- return null;
957
- if (e)
958
- return e(t);
959
- let n = t.offsetParent;
960
- return _(t) === n && (n = n.ownerDocument.body), n;
961
- }
962
- function Kt(t, e) {
963
- const n = E(t);
964
- if (pt(t))
965
- return n;
966
- if (!$(t)) {
967
- let i = U(t);
968
- for (; i && !ot(i); ) {
969
- if (L(i) && !ht(i))
970
- return i;
971
- i = U(i);
972
- }
973
- return n;
974
- }
975
- let o = _t(t, e);
976
- for (; o && Ce(o) && ht(o); )
977
- o = _t(o, e);
978
- return o && ot(o) && ht(o) && !At(o) ? n : o || Ee(t) || n;
979
- }
980
- const We = async function(t) {
981
- const e = this.getOffsetParent || Kt, n = this.getDimensions, o = await n(t.floating);
982
- return {
983
- reference: He(t.reference, await e(t.floating), t.strategy),
984
- floating: {
985
- x: 0,
986
- y: 0,
987
- width: o.width,
988
- height: o.height
989
- }
990
- };
991
- };
992
- function Ve(t) {
993
- return D(t).direction === "rtl";
994
- }
995
- const Ne = {
996
- convertOffsetParentRelativeRectToViewportRelativeRect: Le,
997
- getDocumentElement: _,
998
- getClippingRect: $e,
999
- getOffsetParent: Kt,
1000
- getElementRects: We,
1001
- getClientRects: De,
1002
- getDimensions: _e,
1003
- getScale: et,
1004
- isElement: L,
1005
- isRTL: Ve
1006
- };
1007
- function Ie(t, e) {
1008
- let n = null, o;
1009
- const i = _(t);
1010
- function s() {
1011
- var l;
1012
- clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
1013
- }
1014
- function r(l, a) {
1015
- l === void 0 && (l = !1), a === void 0 && (a = 1), s();
1016
- const {
1017
- left: c,
1018
- top: d,
1019
- width: u,
1020
- height: p
1021
- } = t.getBoundingClientRect();
1022
- if (l || e(), !u || !p)
1023
- return;
1024
- const f = ct(d), m = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + p)), v = ct(c), w = {
1025
- rootMargin: -f + "px " + -m + "px " + -g + "px " + -v + "px",
1026
- threshold: K(0, nt(1, a)) || 1
1027
- };
1028
- let x = !0;
1029
- function O(y) {
1030
- const R = y[0].intersectionRatio;
1031
- if (R !== a) {
1032
- if (!x)
1033
- return r();
1034
- R ? r(!1, R) : o = setTimeout(() => {
1035
- r(!1, 1e-7);
1036
- }, 1e3);
1037
- }
1038
- x = !1;
1039
- }
1040
- try {
1041
- n = new IntersectionObserver(O, {
1042
- ...w,
1043
- // Handle <iframe>s
1044
- root: i.ownerDocument
1045
- });
1046
- } catch {
1047
- n = new IntersectionObserver(O, w);
1048
- }
1049
- n.observe(t);
1050
- }
1051
- return r(!0), s;
1052
- }
1053
- function Ht(t, e, n, o) {
1054
- o === void 0 && (o = {});
1055
- const {
1056
- ancestorScroll: i = !0,
1057
- ancestorResize: s = !0,
1058
- elementResize: r = typeof ResizeObserver == "function",
1059
- layoutShift: l = typeof IntersectionObserver == "function",
1060
- animationFrame: a = !1
1061
- } = o, c = Pt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
1062
- d.forEach((h) => {
1063
- i && h.addEventListener("scroll", n, {
1064
- passive: !0
1065
- }), s && h.addEventListener("resize", n);
1066
- });
1067
- const u = c && l ? Ie(c, n) : null;
1068
- let p = -1, f = null;
1069
- r && (f = new ResizeObserver((h) => {
1070
- let [w] = h;
1071
- w && w.target === c && f && (f.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
1072
- var x;
1073
- (x = f) == null || x.observe(e);
1074
- })), n();
1075
- }), c && !a && f.observe(c), f.observe(e));
1076
- let m, g = a ? J(t) : null;
1077
- a && v();
1078
- function v() {
1079
- const h = J(t);
1080
- g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, m = requestAnimationFrame(v);
1081
- }
1082
- return n(), () => {
1083
- var h;
1084
- d.forEach((w) => {
1085
- i && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
1086
- }), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(m);
1087
- };
1088
- }
1089
- const je = Re, ze = xe, Ye = Pe, Ue = be, cn = Oe, qe = ve, Xe = (t, e, n) => {
1090
- const o = /* @__PURE__ */ new Map(), i = {
1091
- platform: Ne,
1092
- ...n
1093
- }, s = {
1094
- ...i.platform,
1095
- _c: o
1096
- };
1097
- return we(t, e, {
1098
- ...i,
1099
- platform: s
1100
- });
1101
- };
1102
- function Ke(t) {
1103
- return t != null && typeof t == "object" && "$el" in t;
1104
- }
1105
- function yt(t) {
1106
- if (Ke(t)) {
1107
- const e = t.$el;
1108
- return Ot(e) && Z(e) === "#comment" ? null : e;
1109
- }
1110
- return t;
1111
- }
1112
- function Ge(t) {
1113
- return {
1114
- name: "arrow",
1115
- options: t,
1116
- fn(e) {
1117
- const n = yt(N(t.element));
1118
- return n == null ? {} : qe({
1119
- element: n,
1120
- padding: t.padding
1121
- }).fn(e);
1122
- }
1123
- };
1124
- }
1125
- function Gt(t) {
1126
- return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1127
- }
1128
- function Wt(t, e) {
1129
- const n = Gt(t);
1130
- return Math.round(e * n) / n;
1131
- }
1132
- function Je(t, e, n) {
1133
- n === void 0 && (n = {});
1134
- const o = n.whileElementsMounted, i = P(() => {
1135
- var b;
1136
- return (b = N(n.open)) != null ? b : !0;
1137
- }), s = P(() => N(n.middleware)), r = P(() => {
1138
- var b;
1139
- return (b = N(n.placement)) != null ? b : "bottom";
1140
- }), l = P(() => {
1141
- var b;
1142
- return (b = N(n.strategy)) != null ? b : "absolute";
1143
- }), a = P(() => {
1144
- var b;
1145
- return (b = N(n.transform)) != null ? b : !0;
1146
- }), c = P(() => yt(t.value)), d = P(() => yt(e.value)), u = Y(0), p = Y(0), f = Y(l.value), m = Y(r.value), g = Qt({}), v = Y(!1), h = P(() => {
1147
- const b = {
1148
- position: f.value,
1149
- left: "0",
1150
- top: "0"
1151
- };
1152
- if (!d.value)
1153
- return b;
1154
- const H = Wt(d.value, u.value), C = Wt(d.value, p.value);
1155
- return a.value ? {
1156
- ...b,
1157
- transform: "translate(" + H + "px, " + C + "px)",
1158
- ...Gt(d.value) >= 1.5 && {
1159
- willChange: "transform"
1160
- }
1161
- } : {
1162
- position: f.value,
1163
- left: H + "px",
1164
- top: C + "px"
1165
- };
1166
- });
1167
- let w;
1168
- function x() {
1169
- c.value == null || d.value == null || Xe(c.value, d.value, {
1170
- middleware: s.value,
1171
- placement: r.value,
1172
- strategy: l.value
1173
- }).then((b) => {
1174
- u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement, g.value = b.middlewareData, v.value = !0;
1175
- });
1176
- }
1177
- function O() {
1178
- typeof w == "function" && (w(), w = void 0);
1179
- }
1180
- function y() {
1181
- if (O(), o === void 0) {
1182
- x();
1183
- return;
1184
- }
1185
- if (c.value != null && d.value != null) {
1186
- w = o(c.value, d.value, x);
1187
- return;
1188
- }
1189
- }
1190
- function R() {
1191
- i.value || (v.value = !1);
1192
- }
1193
- return it([s, r, l], x, {
1194
- flush: "sync"
1195
- }), it([c, d], y, {
1196
- flush: "sync"
1197
- }), it(i, R, {
1198
- flush: "sync"
1199
- }), Zt() && te(O), {
1200
- x: tt(u),
1201
- y: tt(p),
1202
- strategy: tt(f),
1203
- placement: tt(m),
1204
- middlewareData: tt(g),
1205
- isPositioned: tt(v),
1206
- floatingStyles: h,
1207
- update: x
1208
- };
1209
- }
1210
- const Qe = (t, e) => t ? e[1] + 7 : e[1], Ze = (t) => {
1211
- let e = Array.isArray(t) ? t : [t];
1212
- return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
1213
- fallbackPlacements: e
1214
- };
1215
- }, tn = {
1216
- name: "sameWidth",
1217
- fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
1218
- }, en = {}, nn = /* @__PURE__ */ ee({
1219
- ...en,
1220
- __name: "popper-container",
1221
- props: {
1222
- /**
1223
- * The aria role assigned to the container. Defaults to null, which means it's not set if nothing is passed.
1224
- */
1225
- ariaRole: {
1226
- type: String,
1227
- default: null,
1228
- validator: (t) => Object.values(ae).includes(t)
1229
- },
1230
- /**
1231
- * Indicates if container should have additional arrow, pointing at target element
1232
- * Can be just a boolean flag, or an object with additional configuration:
1233
- * @property {Array<string>} arrow.classes – apply any additional classes to the arrow element.
1234
- * @property {string} arrow.padding – useful when content has rounded corners, @see {@link https://floating-ui.com/docs/arrow#padding}
1235
- */
1236
- arrow: { type: Object, default: void 0 },
1237
- /**
1238
- * Disables wrapping focus-trap component.
1239
- * Mostly useful for the storybook demo.
1240
- */
1241
- disabledFocusTrap: { type: Boolean, default: !1 },
1242
- /**
1243
- * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
1244
- * Useful when not using auto as starting placement.
1245
- * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
1246
- */
1247
- fallbackPosition: {
1248
- type: [Array, String],
1249
- default: null
1250
- },
1251
- /**
1252
- * Instructs popover to be visible outside of the containing container.
1253
- * Useful when component would be used in limited containers like Modal, Side panel, etc.
1254
- * @see {@link https://floating-ui.com/docs/usefloating#strategy}
1255
- */
1256
- fixedPositioning: { type: Boolean, default: !1 },
1257
- /**
1258
- * The id to be set on the component. Use it for accessibility purposes.
1259
- */
1260
- id: { type: String, default: null },
1261
- /**
1262
- * If hiding / showing popper element then use this property to tell the popper when to update it's position.
1263
- * This will drastically help improve performance, as we will not need to track hidden elements.
1264
- */
1265
- isHidden: { type: Boolean, default: null },
1266
- /**
1267
- * Instructs popper container to have the same width as target element.
1268
- */
1269
- matchWidth: { type: Boolean, default: !1 },
1270
- /**
1271
- * Custom set of middleware. Useful for low-level control over Popper behavior in some really complex use cases.
1272
- * @see {@link https://floating-ui.com/docs/middleware}
1273
- */
1274
- middleware: { type: Array, default: null },
1275
- /**
1276
- * Allows to displace a popper container from its target element.
1277
- * @see {@link https://floating-ui.com/docs/offset#options}
1278
- */
1279
- offset: {
1280
- type: Array,
1281
- default: () => [0, 0],
1282
- validator: (t) => (t == null ? void 0 : t.length) === 2
1283
- },
1284
- /**
1285
- * Position relative to the target element
1286
- * @see {@link https://floating-ui.com/docs/computeposition#placement}
1287
- */
1288
- position: {
1289
- type: String,
1290
- default: Tt.AUTO,
1291
- validator: (t) => Object.values(Tt).includes(t)
1292
- },
1293
- /**
1294
- * Reference to the DOM element or Vue component for positioning
1295
- */
1296
- targetElement: { type: [Element, Object], required: !0 }
1297
- },
1298
- emits: ["placement"],
1299
- setup(t, { emit: e }) {
1300
- var O;
1301
- const n = t, o = e, { position: i } = ne(n), s = Y(), r = Y(null), l = Y(n.position), a = P(
1302
- () => n.targetElement.$el ? n.targetElement.$el : n.targetElement
1303
- ), c = P(
1304
- () => s.value.$el ? s.value.$el : s.value
1305
- ), d = P(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), u = P(() => {
1306
- switch (n.position) {
1307
- case "auto-start":
1308
- return { alignment: "start", crossAxis: !0 };
1309
- case "auto-end":
1310
- return { alignment: "end", crossAxis: !0 };
1311
- default:
1312
- return;
1313
- }
1314
- }), p = P(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: f, middlewareData: m, placement: g, update: v } = Je(a, s, {
1315
- placement: i,
1316
- middleware: [
1317
- // Adds flip modifier if fallbackPosition is not set to auto
1318
- ...d.value ? [
1319
- Ue({
1320
- fallbackPlacements: Ze(n.fallbackPosition).fallbackPlacements
1321
- })
1322
- ] : [],
1323
- // Adds autoposition middlelare if position is set to any auto variants
1324
- ...d.value ? [] : [ze(u.value)],
1325
- // Add shifting middle in case popper is still not fully visible in view port
1326
- Ye(),
1327
- // Adds offset middlelare if offset property is set
1328
- ...n.offset ? [je(Qe(n.arrow, n.offset))] : [],
1329
- // Adds arrow middlelare if arrow property is set, can set additional padding property
1330
- ...n.arrow ? [Ge({ element: r, padding: n.arrow.padding || 0 })] : [],
1331
- // Adds same width middleware to keep popper width same as referenced element's width
1332
- ...n.matchWidth ? [tn] : [],
1333
- // If there is additional custom middleware to add via the property then add it
1334
- ...((O = n.middleware) == null ? void 0 : O.length) > 0 ? n.middleware : []
1335
- ],
1336
- strategy: p,
1337
- // If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
1338
- ...n.isHidden === null ? { whileElementsMounted: Ht } : []
1339
- });
1340
- let h;
1341
- it(
1342
- () => n.isHidden,
1343
- () => {
1344
- n.isHidden !== null && !n.isHidden ? h = Ht(a == null ? void 0 : a.value, c == null ? void 0 : c.value, v) : n.isHidden !== null && n.isHidden && typeof h == "function" && h();
1345
- }
1346
- ), it(
1347
- () => g.value,
1348
- () => {
1349
- l.value !== g.value && (l.value = g.value, o("placement", l.value));
1350
- }
1351
- );
1352
- const w = P(() => {
1353
- var y, R;
1354
- return {
1355
- position: "absolute",
1356
- left: ((y = m.value.arrow) == null ? void 0 : y.x) != null ? `${m.value.arrow.x}px` : "",
1357
- top: ((R = m.value.arrow) == null ? void 0 : R.y) != null ? `${m.value.arrow.y}px` : ""
1358
- };
1359
- }), x = P(() => {
1360
- var y;
1361
- return {
1362
- class: n.arrow.classes,
1363
- style: w.value,
1364
- // Applies a data-hide attribute to arrow element depending on center offset.
1365
- ...((y = m.value.arrow) == null ? void 0 : y.centerOffset) !== 0 ? { "data-hide": "" } : {}
1366
- };
1367
- });
1368
- return (y, R) => (Et(), oe(N(ce), St(y.$attrs, {
1369
- id: t.id,
1370
- ref_key: "popperContainerRef",
1371
- ref: s,
1372
- class: "b-popper-container",
1373
- "data-popper-placement": N(g),
1374
- disabled: t.disabledFocusTrap,
1375
- style: N(f),
1376
- role: t.ariaRole
1377
- }), {
1378
- default: ie(() => [
1379
- re(y.$slots, "default", {}, void 0, !0),
1380
- n.arrow ? (Et(), se("span", St({ key: 0 }, x.value, {
1381
- ref_key: "floatingArrow",
1382
- ref: r,
1383
- class: "b-popper-container__arrow",
1384
- "data-testid": "arrow"
1385
- }), null, 16)) : le("", !0)
1386
- ]),
1387
- _: 3
1388
- }, 16, ["id", "data-popper-placement", "disabled", "style", "role"]));
1389
- }
1390
- }), an = /* @__PURE__ */ fe(nn, [["__scopeId", "data-v-59884aac"]]);
1391
- export {
1392
- an as P,
1393
- cn as h,
1394
- je as o
1395
- };
1396
- //# sourceMappingURL=popper-container.CWgM0skS.js.map