@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,47 +0,0 @@
1
- import { defineComponent as u, computed as e, createElementBlock as n, openBlock as t, normalizeStyle as d } from "vue";
2
- var l = /* @__PURE__ */ ((r) => (r.LANDSCAPE = "landscape", r.P4_3 = "4:3", r.P3_3 = "3:3", r.P16_9 = "16:9", r.P2_1 = "2:1", r.PORTRAIT = "portrait", r.P3_4 = "3:4", r.P2_3 = "2:3", r.P9_16 = "9:16", r.P1_2 = "1:2", r.SQUARE = "square", r.P1_1 = "1:1", r))(l || {}), f = /* @__PURE__ */ ((r) => (r.COVER = "cover", r.FILL = "fill", r.CONTAIN = "contain", r))(f || {});
3
- const o = ["src", "alt"], p = {
4
- name: "bento-image"
5
- }, i = /* @__PURE__ */ u({
6
- ...p,
7
- props: {
8
- src: {},
9
- alt: {},
10
- aspectRatio: { default: null },
11
- objectFit: { default: null }
12
- },
13
- setup(r) {
14
- const c = r, a = (s) => {
15
- let _ = l.P16_9;
16
- switch (s) {
17
- case l.LANDSCAPE:
18
- _ = l.P16_9;
19
- break;
20
- case l.PORTRAIT:
21
- _ = l.P3_4;
22
- break;
23
- case l.SQUARE:
24
- _ = l.P1_1;
25
- break;
26
- default:
27
- _ = s;
28
- break;
29
- }
30
- return `${_}`.replace(":", "/");
31
- }, P = e(() => ({
32
- aspectRatio: a(c.aspectRatio),
33
- objectFit: c.objectFit
34
- }));
35
- return (s, _) => (t(), n("img", {
36
- src: s.src,
37
- alt: s.alt,
38
- style: d(P.value)
39
- }, null, 12, o));
40
- }
41
- });
42
- export {
43
- l as B,
44
- i as _,
45
- f as a
46
- };
47
- //# sourceMappingURL=image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js","sources":["../../../core/src/components/image/image.types.ts","../../../vue2/src/components/image/image.vue"],"sourcesContent":["export enum BentoImageAspectRatio {\n LANDSCAPE = 'landscape',\n P4_3 = '4:3',\n P3_3 = '3:3',\n P16_9 = '16:9',\n P2_1 = '2:1',\n PORTRAIT = 'portrait',\n P3_4 = '3:4',\n P2_3 = '2:3',\n P9_16 = '9:16',\n P1_2 = '1:2',\n SQUARE = 'square',\n P1_1 = '1:1',\n}\n\nexport enum BentoImageObjectFit {\n COVER = 'cover',\n FILL = 'fill',\n CONTAIN = 'contain',\n}\n\nexport interface BentoImageProps {\n /** Url to image, same as src attribute of `<img>` tag */\n src: string;\n\n /** Accessible text describing the image, same as alt attribute of `<img>` tag */\n alt: string;\n\n /** Aspect ratio of the image, maps to css aspect-ratio */\n aspectRatio?: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;\n\n /** Object fitting strategy, maps to css object-fit */\n objectFit?: BentoImageObjectFit | `${BentoImageObjectFit}` | null;\n}\n","<template>\n <img :src=\"src\" :alt=\"alt\" :style=\"imageStyles\" />\n</template>\n<script lang=\"ts\" setup>\n import { computed } from 'vue';\n import { BentoImageAspectRatio, BentoImageProps } from '@adyen/bento-core/src/components/image/image.types';\n\n const props = withDefaults(defineProps<BentoImageProps>(), {\n aspectRatio: null,\n objectFit: null,\n });\n\n const convertAspectRatio = (aspectRatio: BentoImageAspectRatio | `${BentoImageAspectRatio}`) => {\n let parsedAspectRatio: BentoImageAspectRatio | `${BentoImageAspectRatio}` = BentoImageAspectRatio.P16_9;\n switch (aspectRatio) {\n case BentoImageAspectRatio.LANDSCAPE:\n parsedAspectRatio = BentoImageAspectRatio.P16_9;\n break;\n case BentoImageAspectRatio.PORTRAIT:\n parsedAspectRatio = BentoImageAspectRatio.P3_4;\n break;\n case BentoImageAspectRatio.SQUARE:\n parsedAspectRatio = BentoImageAspectRatio.P1_1;\n break;\n default:\n parsedAspectRatio = aspectRatio;\n break;\n }\n return `${parsedAspectRatio}`.replace(':', '/');\n };\n\n const imageStyles = computed(() => ({\n aspectRatio: convertAspectRatio(props.aspectRatio),\n objectFit: props.objectFit,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Image component used for resizing images to certain aspect ratios and fit strategies.\n *\n * @example\n * import { BentoImage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoImage },\n * template: `\n * <bento-image\n * :src=\"imageSrc\"\n * alt=\"alternative text\"\n * aspect-ratio=\"landscape\"\n * object-fit=\"cover\"\n *\n * />\n * `\n * }\n */\n export default {\n name: 'bento-image',\n };\n</script>\n"],"names":["BentoImageAspectRatio","BentoImageObjectFit","__default__","props","__props","convertAspectRatio","aspectRatio","parsedAspectRatio","imageStyles","computed"],"mappings":";AAAY,IAAAA,sBAAAA,OACRA,EAAA,YAAY,aACZA,EAAA,OAAO,OACPA,EAAA,OAAO,OACPA,EAAA,QAAQ,QACRA,EAAA,OAAO,OACPA,EAAA,WAAW,YACXA,EAAA,OAAO,OACPA,EAAA,OAAO,OACPA,EAAA,QAAQ,QACRA,EAAA,OAAO,OACPA,EAAA,SAAS,UACTA,EAAA,OAAO,OAZCA,IAAAA,KAAA,CAAA,CAAA,GAeAC,sBAAAA,OACRA,EAAA,QAAQ,SACRA,EAAA,OAAO,QACPA,EAAA,UAAU,WAHFA,IAAAA,KAAA,CAAA,CAAA;0BC0COC,IAAA;AAAA,EACX,MAAM;AACV;;;;;;;;;AApDA,UAAMC,IAAQC,GAKRC,IAAqB,CAACC,MAAoE;AAC5F,UAAIC,IAAwEP,EAAsB;AAClG,cAAQM,GAAa;AAAA,QACjB,KAAKN,EAAsB;AACvB,UAAAO,IAAoBP,EAAsB;AAC1C;AAAA,QACJ,KAAKA,EAAsB;AACvB,UAAAO,IAAoBP,EAAsB;AAC1C;AAAA,QACJ,KAAKA,EAAsB;AACvB,UAAAO,IAAoBP,EAAsB;AAC1C;AAAA,QACJ;AACwB,UAAAO,IAAAD;AACpB;AAAA,MAAA;AAER,aAAO,GAAGC,CAAiB,GAAG,QAAQ,KAAK,GAAG;AAAA,IAClD,GAEMC,IAAcC,EAAS,OAAO;AAAA,MAChC,aAAaJ,EAAmBF,EAAM,WAAW;AAAA,MACjD,WAAWA,EAAM;AAAA,IAAA,EACnB;;;;;;;;"}
@@ -1,40 +0,0 @@
1
- import { r as o, t as a } from "./get-date-locale.BN8xEjY0.js";
2
- import { c as g } from "./index.DD7TppDb.js";
3
- function m(r, e) {
4
- o(2, arguments);
5
- var t = a(r), n = a(e), f = t.getFullYear() - n.getFullYear(), s = t.getMonth() - n.getMonth();
6
- return f * 12 + s;
7
- }
8
- function h(r) {
9
- o(1, arguments);
10
- var e = a(r);
11
- return e.setHours(23, 59, 59, 999), e;
12
- }
13
- function v(r) {
14
- o(1, arguments);
15
- var e = a(r), t = e.getMonth();
16
- return e.setFullYear(e.getFullYear(), t + 1, 0), e.setHours(23, 59, 59, 999), e;
17
- }
18
- function d(r) {
19
- o(1, arguments);
20
- var e = a(r);
21
- return h(e).getTime() === v(e).getTime();
22
- }
23
- function M(r, e) {
24
- o(2, arguments);
25
- var t = a(r), n = a(e), f = g(t, n), s = Math.abs(m(t, n)), u;
26
- if (s < 1)
27
- u = 0;
28
- else {
29
- t.getMonth() === 1 && t.getDate() > 27 && t.setDate(30), t.setMonth(t.getMonth() - f * s);
30
- var i = g(t, n) === -f;
31
- d(a(r)) && s === 1 && g(r, n) === 1 && (i = !1), u = f * (s - Number(i));
32
- }
33
- return u === 0 ? 0 : u;
34
- }
35
- export {
36
- v as a,
37
- M as d,
38
- h as e
39
- };
40
- //# sourceMappingURL=index.BDuTpjD8.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.BDuTpjD8.js","sources":["../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/differenceInCalendarMonths/index.js","../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/endOfDay/index.js","../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/endOfMonth/index.js","../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/isLastDayOfMonth/index.js","../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/differenceInMonths/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInCalendarMonths\n * @category Month Helpers\n * @summary Get the number of calendar months between the given dates.\n *\n * @description\n * Get the number of calendar months between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInCalendarMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 8\n */\n\nexport default function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear();\n var monthDiff = dateLeft.getMonth() - dateRight.getMonth();\n return yearDiff * 12 + monthDiff;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfDay\n * @category Day Helpers\n * @summary Return the end of a day for the given date.\n *\n * @description\n * Return the end of a day for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a day for 2 September 2014 11:55:00:\n * const result = endOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 23:59:59.999\n */\n\nexport default function endOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\n\nexport default function endOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport endOfDay from \"../endOfDay/index.js\";\nimport endOfMonth from \"../endOfMonth/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isLastDayOfMonth\n * @category Month Helpers\n * @summary Is the given date the last day of a month?\n *\n * @description\n * Is the given date the last day of a month?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is the last day of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Is 28 February 2014 the last day of a month?\n * var result = isLastDayOfMonth(new Date(2014, 1, 28))\n * //=> true\n */\n\nexport default function isLastDayOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n return endOfDay(date).getTime() === endOfMonth(date).getTime();\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarMonths from \"../differenceInCalendarMonths/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport isLastDayOfMonth from \"../isLastDayOfMonth/index.js\";\n/**\n * @name differenceInMonths\n * @category Month Helpers\n * @summary Get the number of full months between the given dates.\n *\n * @description\n * Get the number of full months between the given dates using trunc as a default rounding method.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full months are between 31 January 2014 and 1 September 2014?\n * const result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31))\n * //=> 7\n */\n\nexport default function differenceInMonths(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight));\n var result; // Check for the difference of less than month\n\n if (difference < 1) {\n result = 0;\n } else {\n if (dateLeft.getMonth() === 1 && dateLeft.getDate() > 27) {\n // This will check if the date is end of Feb and assign a higher end of month date\n // to compare it with Jan\n dateLeft.setDate(30);\n }\n\n dateLeft.setMonth(dateLeft.getMonth() - sign * difference); // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign; // Check for cases of one full calendar month\n\n if (isLastDayOfMonth(toDate(dirtyDateLeft)) && difference === 1 && compareAsc(dirtyDateLeft, dateRight) === 1) {\n isLastMonthNotFull = false;\n }\n\n result = sign * (difference - Number(isLastMonthNotFull));\n } // Prevent negative zero\n\n\n return result === 0 ? 0 : result;\n}"],"names":["differenceInCalendarMonths","dirtyDateLeft","dirtyDateRight","requiredArgs","dateLeft","toDate","dateRight","yearDiff","monthDiff","endOfDay","dirtyDate","date","endOfMonth","month","isLastDayOfMonth","differenceInMonths","sign","compareAsc","difference","result","isLastMonthNotFull"],"mappings":";;AA4Be,SAASA,EAA2BC,GAAeC,GAAgB;AAChF,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAWC,EAAOJ,CAAa,GAC/BK,IAAYD,EAAOH,CAAc,GACjCK,IAAWH,EAAS,YAAW,IAAKE,EAAU,YAAa,GAC3DE,IAAYJ,EAAS,SAAQ,IAAKE,EAAU,SAAU;AAC1D,SAAOC,IAAW,KAAKC;AACzB;ACVe,SAASC,EAASC,GAAW;AAC1C,EAAAP,EAAa,GAAG,SAAS;AACzB,MAAIQ,IAAON,EAAOK,CAAS;AAC3B,SAAAC,EAAK,SAAS,IAAI,IAAI,IAAI,GAAG,GACtBA;AACT;ACLe,SAASC,EAAWF,GAAW;AAC5C,EAAAP,EAAa,GAAG,SAAS;AACzB,MAAIQ,IAAON,EAAOK,CAAS,GACvBG,IAAQF,EAAK,SAAU;AAC3B,SAAAA,EAAK,YAAYA,EAAK,YAAa,GAAEE,IAAQ,GAAG,CAAC,GACjDF,EAAK,SAAS,IAAI,IAAI,IAAI,GAAG,GACtBA;AACT;ACNe,SAASG,EAAiBJ,GAAW;AAClD,EAAAP,EAAa,GAAG,SAAS;AACzB,MAAIQ,IAAON,EAAOK,CAAS;AAC3B,SAAOD,EAASE,CAAI,EAAE,QAAS,MAAKC,EAAWD,CAAI,EAAE,QAAS;AAChE;ACFe,SAASI,EAAmBd,GAAeC,GAAgB;AACxE,EAAAC,EAAa,GAAG,SAAS;AACzB,MAAIC,IAAWC,EAAOJ,CAAa,GAC/BK,IAAYD,EAAOH,CAAc,GACjCc,IAAOC,EAAWb,GAAUE,CAAS,GACrCY,IAAa,KAAK,IAAIlB,EAA2BI,GAAUE,CAAS,CAAC,GACrEa;AAEJ,MAAID,IAAa;AACf,IAAAC,IAAS;AAAA,OACJ;AACL,IAAIf,EAAS,eAAe,KAAKA,EAAS,QAAS,IAAG,MAGpDA,EAAS,QAAQ,EAAE,GAGrBA,EAAS,SAASA,EAAS,SAAQ,IAAKY,IAAOE,CAAU;AAGzD,QAAIE,IAAqBH,EAAWb,GAAUE,CAAS,MAAM,CAACU;AAE9D,IAAIF,EAAiBT,EAAOJ,CAAa,CAAC,KAAKiB,MAAe,KAAKD,EAAWhB,GAAeK,CAAS,MAAM,MAC1Gc,IAAqB,KAGvBD,IAASH,KAAQE,IAAa,OAAOE,CAAkB;AAAA,EACxD;AAGD,SAAOD,MAAW,IAAI,IAAIA;AAC5B;","x_google_ignoreList":[0,1,2,3,4]}
@@ -1,15 +0,0 @@
1
- function r(n, o) {
2
- if (n == null)
3
- throw new TypeError("assign requires that input parameter not be null or undefined");
4
- o = o || {};
5
- for (var e in o)
6
- Object.prototype.hasOwnProperty.call(o, e) && (n[e] = o[e]);
7
- return n;
8
- }
9
- function u(n) {
10
- return r({}, n);
11
- }
12
- export {
13
- u as c
14
- };
15
- //# sourceMappingURL=index.BxBB1rsx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.BxBB1rsx.js","sources":["../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/_lib/assign/index.js","../../../../node_modules/.pnpm/date-fns@2.28.0/node_modules/date-fns/esm/_lib/cloneObject/index.js"],"sourcesContent":["export default function assign(target, dirtyObject) {\n if (target == null) {\n throw new TypeError('assign requires that input parameter not be null or undefined');\n }\n\n dirtyObject = dirtyObject || {};\n\n for (var property in dirtyObject) {\n if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) {\n target[property] = dirtyObject[property];\n }\n }\n\n return target;\n}","import assign from \"../assign/index.js\";\nexport default function cloneObject(dirtyObject) {\n return assign({}, dirtyObject);\n}"],"names":["assign","target","dirtyObject","property","cloneObject"],"mappings":"AAAe,SAASA,EAAOC,GAAQC,GAAa;AAClD,MAAID,KAAU;AACZ,UAAM,IAAI,UAAU,+DAA+D;AAGrF,EAAAC,IAAcA,KAAe,CAAE;AAE/B,WAASC,KAAYD;AACnB,IAAI,OAAO,UAAU,eAAe,KAAKA,GAAaC,CAAQ,MAC5DF,EAAOE,CAAQ,IAAID,EAAYC,CAAQ;AAI3C,SAAOF;AACT;ACbe,SAASG,EAAYF,GAAa;AAC/C,SAAOF,EAAO,CAAE,GAAEE,CAAW;AAC/B;","x_google_ignoreList":[0,1]}
@@ -1,528 +0,0 @@
1
- import { onMounted as q, nextTick as J, unref as Z, watch as I, getCurrentScope as ee, onScopeDispose as te, getCurrentInstance as k, isRef as ne, ref as w, computed as g, reactive as U, watchEffect as oe } from "vue";
2
- function C(e) {
3
- return ee() ? (te(e), !0) : !1;
4
- }
5
- function h(e) {
6
- return typeof e == "function" ? e() : Z(e);
7
- }
8
- const re = typeof window < "u" && typeof document < "u";
9
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
- const ie = (e) => e != null, le = Object.prototype.toString, se = (e) => le.call(e) === "[object Object]", R = () => {
11
- };
12
- function P(e, t) {
13
- function n(...r) {
14
- return new Promise((s, i) => {
15
- Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(s).catch(i);
16
- });
17
- }
18
- return n;
19
- }
20
- const ue = (e) => e();
21
- function K(e, t = {}) {
22
- let n, r, s = R;
23
- const i = (u) => {
24
- clearTimeout(u), s(), s = R;
25
- };
26
- return (u) => {
27
- const d = h(e), a = h(t.maxWait);
28
- return n && i(n), d <= 0 || a !== void 0 && a <= 0 ? (r && (i(r), r = null), Promise.resolve(u())) : new Promise((o, l) => {
29
- s = t.rejectOnCancel ? l : o, a && !r && (r = setTimeout(() => {
30
- n && i(n), r = null, o(u());
31
- }, a)), n = setTimeout(() => {
32
- r && i(r), r = null, o(u());
33
- }, d);
34
- });
35
- };
36
- }
37
- function ce(...e) {
38
- let t = 0, n, r = !0, s = R, i, c, u, d, a;
39
- !ne(e[0]) && typeof e[0] == "object" ? { delay: c, trailing: u = !0, leading: d = !0, rejectOnCancel: a = !1 } = e[0] : [c, u = !0, d = !0, a = !1] = e;
40
- const o = () => {
41
- n && (clearTimeout(n), n = void 0, s(), s = R);
42
- };
43
- return (f) => {
44
- const m = h(c), p = Date.now() - t, O = () => i = f();
45
- return o(), m <= 0 ? (t = Date.now(), O()) : (p > m && (d || !r) ? (t = Date.now(), O()) : u && (i = new Promise((A, E) => {
46
- s = a ? E : A, n = setTimeout(() => {
47
- t = Date.now(), r = !0, A(O()), o();
48
- }, Math.max(0, m - p));
49
- })), !d && !n && (n = setTimeout(() => r = !0, m)), r = !1, i);
50
- };
51
- }
52
- function ae(e, t) {
53
- var n;
54
- if (typeof e == "number")
55
- return e + t;
56
- const r = ((n = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : n[0]) || "", s = e.slice(r.length), i = Number.parseFloat(r) + t;
57
- return Number.isNaN(i) ? e : i + s;
58
- }
59
- function fe(e) {
60
- return k();
61
- }
62
- function de(e, t = 200, n = {}) {
63
- return P(
64
- K(t, n),
65
- e
66
- );
67
- }
68
- function ve(e, t = 200, n = !1, r = !0, s = !1) {
69
- return P(
70
- ce(t, n, r, s),
71
- e
72
- );
73
- }
74
- function me(e, t, n = {}) {
75
- const {
76
- eventFilter: r = ue,
77
- ...s
78
- } = n;
79
- return I(
80
- e,
81
- P(
82
- r,
83
- t
84
- ),
85
- s
86
- );
87
- }
88
- function F(e, t = !0, n) {
89
- fe() ? q(e, n) : t ? e() : J(e);
90
- }
91
- function Oe(e, t, n = {}) {
92
- const {
93
- debounce: r = 0,
94
- maxWait: s = void 0,
95
- ...i
96
- } = n;
97
- return me(
98
- e,
99
- t,
100
- {
101
- ...i,
102
- eventFilter: K(r, { maxWait: s })
103
- }
104
- );
105
- }
106
- const y = re ? window : void 0;
107
- function T(e) {
108
- var t;
109
- const n = h(e);
110
- return (t = n == null ? void 0 : n.$el) != null ? t : n;
111
- }
112
- function _(...e) {
113
- let t, n, r, s;
114
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, r, s] = e, t = y) : [t, n, r, s] = e, !t)
115
- return R;
116
- Array.isArray(n) || (n = [n]), Array.isArray(r) || (r = [r]);
117
- const i = [], c = () => {
118
- i.forEach((o) => o()), i.length = 0;
119
- }, u = (o, l, f, m) => (o.addEventListener(l, f, m), () => o.removeEventListener(l, f, m)), d = I(
120
- () => [T(t), h(s)],
121
- ([o, l]) => {
122
- if (c(), !o)
123
- return;
124
- const f = se(l) ? { ...l } : l;
125
- i.push(
126
- ...n.flatMap((m) => r.map((p) => u(o, m, p, f)))
127
- );
128
- },
129
- { immediate: !0, flush: "post" }
130
- ), a = () => {
131
- d(), c();
132
- };
133
- return C(a), a;
134
- }
135
- function he(e) {
136
- return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0;
137
- }
138
- function Te(...e) {
139
- let t, n, r = {};
140
- e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
141
- const {
142
- target: s = y,
143
- eventName: i = "keydown",
144
- passive: c = !1,
145
- dedupe: u = !1
146
- } = r, d = he(t);
147
- return _(s, i, (o) => {
148
- o.repeat && h(u) || d(o) && n(o);
149
- }, c);
150
- }
151
- function pe() {
152
- const e = w(!1), t = k();
153
- return t && q(() => {
154
- e.value = !0;
155
- }, t), e;
156
- }
157
- function V(e) {
158
- const t = pe();
159
- return g(() => (t.value, !!e()));
160
- }
161
- function we(e, t, n = {}) {
162
- const { window: r = y, ...s } = n;
163
- let i;
164
- const c = V(() => r && "MutationObserver" in r), u = () => {
165
- i && (i.disconnect(), i = void 0);
166
- }, d = g(() => {
167
- const f = h(e), m = (Array.isArray(f) ? f : [f]).map(T).filter(ie);
168
- return new Set(m);
169
- }), a = I(
170
- () => d.value,
171
- (f) => {
172
- u(), c.value && f.size && (i = new MutationObserver(t), f.forEach((m) => i.observe(m, s)));
173
- },
174
- { immediate: !0, flush: "post" }
175
- ), o = () => i == null ? void 0 : i.takeRecords(), l = () => {
176
- a(), u();
177
- };
178
- return C(l), {
179
- isSupported: c,
180
- stop: l,
181
- takeRecords: o
182
- };
183
- }
184
- function be(e = {}) {
185
- var t;
186
- const {
187
- window: n = y,
188
- deep: r = !0,
189
- triggerOnRemoval: s = !1
190
- } = e, i = (t = e.document) != null ? t : n == null ? void 0 : n.document, c = () => {
191
- var a;
192
- let o = i == null ? void 0 : i.activeElement;
193
- if (r)
194
- for (; o != null && o.shadowRoot; )
195
- o = (a = o == null ? void 0 : o.shadowRoot) == null ? void 0 : a.activeElement;
196
- return o;
197
- }, u = w(), d = () => {
198
- u.value = c();
199
- };
200
- return n && (_(n, "blur", (a) => {
201
- a.relatedTarget === null && d();
202
- }, !0), _(n, "focus", d, !0)), s && we(i, (a) => {
203
- a.filter((o) => o.removedNodes.length).map((o) => Array.from(o.removedNodes)).flat().forEach((o) => {
204
- o === u.value && d();
205
- });
206
- }, {
207
- childList: !0,
208
- subtree: !0
209
- }), d(), u;
210
- }
211
- function N(e, t = {}) {
212
- const { window: n = y } = t, r = V(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
213
- let s;
214
- const i = w(!1), c = (a) => {
215
- i.value = a.matches;
216
- }, u = () => {
217
- s && ("removeEventListener" in s ? s.removeEventListener("change", c) : s.removeListener(c));
218
- }, d = oe(() => {
219
- r.value && (u(), s = n.matchMedia(h(e)), "addEventListener" in s ? s.addEventListener("change", c) : s.addListener(c), i.value = s.matches);
220
- });
221
- return C(() => {
222
- d(), u(), s = void 0;
223
- }), i;
224
- }
225
- function xe(e, t = {}) {
226
- function n(o, l) {
227
- let f = h(e[h(o)]);
228
- return l != null && (f = ae(f, l)), typeof f == "number" && (f = `${f}px`), f;
229
- }
230
- const { window: r = y, strategy: s = "min-width" } = t;
231
- function i(o) {
232
- return r ? r.matchMedia(o).matches : !1;
233
- }
234
- const c = (o) => N(() => `(min-width: ${n(o)})`, t), u = (o) => N(() => `(max-width: ${n(o)})`, t), d = Object.keys(e).reduce((o, l) => (Object.defineProperty(o, l, {
235
- get: () => s === "min-width" ? c(l) : u(l),
236
- enumerable: !0,
237
- configurable: !0
238
- }), o), {});
239
- function a() {
240
- const o = Object.keys(e).map((l) => [l, c(l)]);
241
- return g(() => o.filter(([, l]) => l.value).map(([l]) => l));
242
- }
243
- return Object.assign(d, {
244
- greaterOrEqual: c,
245
- smallerOrEqual: u,
246
- greater(o) {
247
- return N(() => `(min-width: ${n(o, 0.1)})`, t);
248
- },
249
- smaller(o) {
250
- return N(() => `(max-width: ${n(o, -0.1)})`, t);
251
- },
252
- between(o, l) {
253
- return N(() => `(min-width: ${n(o)}) and (max-width: ${n(l, -0.1)})`, t);
254
- },
255
- isGreater(o) {
256
- return i(`(min-width: ${n(o, 0.1)})`);
257
- },
258
- isGreaterOrEqual(o) {
259
- return i(`(min-width: ${n(o)})`);
260
- },
261
- isSmaller(o) {
262
- return i(`(max-width: ${n(o, -0.1)})`);
263
- },
264
- isSmallerOrEqual(o) {
265
- return i(`(max-width: ${n(o)})`);
266
- },
267
- isInBetween(o, l) {
268
- return i(`(min-width: ${n(o)}) and (max-width: ${n(l, -0.1)})`);
269
- },
270
- current: a,
271
- active() {
272
- const o = a();
273
- return g(() => o.value.length === 0 ? "" : o.value.at(-1));
274
- }
275
- });
276
- }
277
- function ge(e, t, n = {}) {
278
- const { window: r = y, ...s } = n;
279
- let i;
280
- const c = V(() => r && "ResizeObserver" in r), u = () => {
281
- i && (i.disconnect(), i = void 0);
282
- }, d = g(() => {
283
- const l = h(e);
284
- return Array.isArray(l) ? l.map((f) => T(f)) : [T(l)];
285
- }), a = I(
286
- d,
287
- (l) => {
288
- if (u(), c.value && r) {
289
- i = new ResizeObserver(t);
290
- for (const f of l)
291
- f && i.observe(f, s);
292
- }
293
- },
294
- { immediate: !0, flush: "post" }
295
- ), o = () => {
296
- u(), a();
297
- };
298
- return C(o), {
299
- isSupported: c,
300
- stop: o
301
- };
302
- }
303
- function _e(e, t = { width: 0, height: 0 }, n = {}) {
304
- const { window: r = y, box: s = "content-box" } = n, i = g(() => {
305
- var l, f;
306
- return (f = (l = T(e)) == null ? void 0 : l.namespaceURI) == null ? void 0 : f.includes("svg");
307
- }), c = w(t.width), u = w(t.height), { stop: d } = ge(
308
- e,
309
- ([l]) => {
310
- const f = s === "border-box" ? l.borderBoxSize : s === "content-box" ? l.contentBoxSize : l.devicePixelContentBoxSize;
311
- if (r && i.value) {
312
- const m = T(e);
313
- if (m) {
314
- const p = m.getBoundingClientRect();
315
- c.value = p.width, u.value = p.height;
316
- }
317
- } else if (f) {
318
- const m = Array.isArray(f) ? f : [f];
319
- c.value = m.reduce((p, { inlineSize: O }) => p + O, 0), u.value = m.reduce((p, { blockSize: O }) => p + O, 0);
320
- } else
321
- c.value = l.contentRect.width, u.value = l.contentRect.height;
322
- },
323
- n
324
- );
325
- F(() => {
326
- const l = T(e);
327
- l && (c.value = "offsetWidth" in l ? l.offsetWidth : t.width, u.value = "offsetHeight" in l ? l.offsetHeight : t.height);
328
- });
329
- const a = I(
330
- () => T(e),
331
- (l) => {
332
- c.value = l ? t.width : 0, u.value = l ? t.height : 0;
333
- }
334
- );
335
- function o() {
336
- d(), a();
337
- }
338
- return {
339
- width: c,
340
- height: u,
341
- stop: o
342
- };
343
- }
344
- const ye = "focusin", Ee = "focusout";
345
- function We(e, t = {}) {
346
- const { window: n = y } = t, r = g(() => T(e)), s = w(!1), i = g(() => s.value), c = be(t);
347
- return !n || !c.value ? { focused: i } : (_(r, ye, () => s.value = !0), _(r, Ee, () => s.value = !1), { focused: i });
348
- }
349
- const X = 1;
350
- function Ae(e, t = {}) {
351
- const {
352
- throttle: n = 0,
353
- idle: r = 200,
354
- onStop: s = R,
355
- onScroll: i = R,
356
- offset: c = {
357
- left: 0,
358
- right: 0,
359
- top: 0,
360
- bottom: 0
361
- },
362
- eventListenerOptions: u = {
363
- capture: !1,
364
- passive: !0
365
- },
366
- behavior: d = "auto",
367
- window: a = y,
368
- onError: o = (v) => {
369
- console.error(v);
370
- }
371
- } = t, l = w(0), f = w(0), m = g({
372
- get() {
373
- return l.value;
374
- },
375
- set(v) {
376
- O(v, void 0);
377
- }
378
- }), p = g({
379
- get() {
380
- return f.value;
381
- },
382
- set(v) {
383
- O(void 0, v);
384
- }
385
- });
386
- function O(v, M) {
387
- var b, D, $, W;
388
- if (!a)
389
- return;
390
- const S = h(e);
391
- if (!S)
392
- return;
393
- ($ = S instanceof Document ? a.document.body : S) == null || $.scrollTo({
394
- top: (b = h(M)) != null ? b : p.value,
395
- left: (D = h(v)) != null ? D : m.value,
396
- behavior: h(d)
397
- });
398
- const j = ((W = S == null ? void 0 : S.document) == null ? void 0 : W.documentElement) || (S == null ? void 0 : S.documentElement) || S;
399
- m != null && (l.value = j.scrollLeft), p != null && (f.value = j.scrollTop);
400
- }
401
- const A = w(!1), E = U({
402
- left: !0,
403
- right: !1,
404
- top: !0,
405
- bottom: !1
406
- }), x = U({
407
- left: !1,
408
- right: !1,
409
- top: !1,
410
- bottom: !1
411
- }), B = (v) => {
412
- A.value && (A.value = !1, x.left = !1, x.right = !1, x.top = !1, x.bottom = !1, s(v));
413
- }, Q = de(B, n + r), H = (v) => {
414
- var M;
415
- if (!a)
416
- return;
417
- const b = ((M = v == null ? void 0 : v.document) == null ? void 0 : M.documentElement) || (v == null ? void 0 : v.documentElement) || T(v), { display: D, flexDirection: $ } = getComputedStyle(b), W = b.scrollLeft;
418
- x.left = W < l.value, x.right = W > l.value;
419
- const S = Math.abs(W) <= (c.left || 0), j = Math.abs(W) + b.clientWidth >= b.scrollWidth - (c.right || 0) - X;
420
- D === "flex" && $ === "row-reverse" ? (E.left = j, E.right = S) : (E.left = S, E.right = j), l.value = W;
421
- let L = b.scrollTop;
422
- v === a.document && !L && (L = a.document.body.scrollTop), x.top = L < f.value, x.bottom = L > f.value;
423
- const Y = Math.abs(L) <= (c.top || 0), G = Math.abs(L) + b.clientHeight >= b.scrollHeight - (c.bottom || 0) - X;
424
- D === "flex" && $ === "column-reverse" ? (E.top = G, E.bottom = Y) : (E.top = Y, E.bottom = G), f.value = L;
425
- }, z = (v) => {
426
- var M;
427
- if (!a)
428
- return;
429
- const b = (M = v.target.documentElement) != null ? M : v.target;
430
- H(b), A.value = !0, Q(v), i(v);
431
- };
432
- return _(
433
- e,
434
- "scroll",
435
- n ? ve(z, n, !0, !1) : z,
436
- u
437
- ), F(() => {
438
- try {
439
- const v = h(e);
440
- if (!v)
441
- return;
442
- H(v);
443
- } catch (v) {
444
- o(v);
445
- }
446
- }), _(
447
- e,
448
- "scrollend",
449
- B,
450
- u
451
- ), {
452
- x: m,
453
- y: p,
454
- isScrolling: A,
455
- arrivedState: E,
456
- directions: x,
457
- measure() {
458
- const v = h(e);
459
- a && v && H(v);
460
- }
461
- };
462
- }
463
- function Me(e = {}) {
464
- const { window: t = y, behavior: n = "auto" } = e;
465
- if (!t)
466
- return {
467
- x: w(0),
468
- y: w(0)
469
- };
470
- const r = w(t.scrollX), s = w(t.scrollY), i = g({
471
- get() {
472
- return r.value;
473
- },
474
- set(u) {
475
- scrollTo({ left: u, behavior: n });
476
- }
477
- }), c = g({
478
- get() {
479
- return s.value;
480
- },
481
- set(u) {
482
- scrollTo({ top: u, behavior: n });
483
- }
484
- });
485
- return _(
486
- t,
487
- "scroll",
488
- () => {
489
- r.value = t.scrollX, s.value = t.scrollY;
490
- },
491
- {
492
- capture: !1,
493
- passive: !0
494
- }
495
- ), { x: i, y: c };
496
- }
497
- function Le(e = {}) {
498
- const {
499
- window: t = y,
500
- initialWidth: n = Number.POSITIVE_INFINITY,
501
- initialHeight: r = Number.POSITIVE_INFINITY,
502
- listenOrientation: s = !0,
503
- includeScrollbar: i = !0,
504
- type: c = "inner"
505
- } = e, u = w(n), d = w(r), a = () => {
506
- t && (c === "outer" ? (u.value = t.outerWidth, d.value = t.outerHeight) : i ? (u.value = t.innerWidth, d.value = t.innerHeight) : (u.value = t.document.documentElement.clientWidth, d.value = t.document.documentElement.clientHeight));
507
- };
508
- if (a(), F(a), _("resize", a, { passive: !0 }), s) {
509
- const o = N("(orientation: portrait)");
510
- I(o, () => a());
511
- }
512
- return { width: u, height: d };
513
- }
514
- export {
515
- _e as a,
516
- Me as b,
517
- Ae as c,
518
- We as d,
519
- N as e,
520
- xe as f,
521
- we as g,
522
- be as h,
523
- ge as i,
524
- Te as o,
525
- Le as u,
526
- Oe as w
527
- };
528
- //# sourceMappingURL=index.CVpo3mlK.js.map