@adyen/bento-vue2 1.28.1 → 1.29.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 (585) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +363 -106
  3. package/dist/accordion.js +101 -3
  4. package/dist/accordion.js.map +1 -1
  5. package/dist/action-bar.js +146 -2
  6. package/dist/action-bar.js.map +1 -1
  7. package/dist/alert.js +95 -3
  8. package/dist/alert.js.map +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button.css +1 -1
  11. package/dist/assets/checkbox-input.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/dropdown-default-textbox.css +1 -1
  14. package/dist/assets/dropdown.css +1 -1
  15. package/dist/assets/error-message.css +1 -1
  16. package/dist/assets/{data-grid.css → index11.css} +1 -1
  17. package/dist/assets/index14.css +1 -0
  18. package/dist/assets/index18.css +1 -0
  19. package/dist/assets/index19.css +1 -0
  20. package/dist/assets/{secondary-nav.css → index21.css} +1 -1
  21. package/dist/assets/index22.css +1 -0
  22. package/dist/assets/{action-bar.css → index23.css} +1 -1
  23. package/dist/assets/{sidepanel.css → index24.css} +1 -1
  24. package/dist/assets/index28.css +1 -0
  25. package/dist/assets/{accordion-item.css → index3.css} +1 -1
  26. package/dist/assets/index30.css +1 -0
  27. package/dist/assets/index33.css +1 -0
  28. package/dist/assets/{modal-fullscreen.css → index36.css} +1 -1
  29. package/dist/assets/{menu.css → index38.css} +1 -1
  30. package/dist/assets/index39.css +1 -0
  31. package/dist/assets/{popover.css → index40.css} +1 -1
  32. package/dist/assets/index42.css +1 -0
  33. package/dist/assets/index43.css +1 -0
  34. package/dist/assets/index45.css +1 -0
  35. package/dist/assets/{dashboard-section.css → index47.css} +1 -1
  36. package/dist/assets/index48.css +1 -0
  37. package/dist/assets/{card.css → index5.css} +1 -1
  38. package/dist/assets/index7.css +1 -0
  39. package/dist/assets/listbox-option-tag.css +1 -1
  40. package/dist/assets/loading-button.css +1 -1
  41. package/dist/assets/radio-input.css +1 -1
  42. package/dist/assets/segmented-control.css +1 -1
  43. package/dist/avatar.js +75 -0
  44. package/dist/avatar.js.map +1 -0
  45. package/dist/badge.js +24 -22
  46. package/dist/badge.js.map +1 -1
  47. package/dist/button.js +94 -14
  48. package/dist/button.js.map +1 -1
  49. package/dist/card.js +114 -4
  50. package/dist/card.js.map +1 -1
  51. package/dist/checkbox.js +155 -8
  52. package/dist/checkbox.js.map +1 -1
  53. package/dist/chunks/1-generic-use.3ea646cd.js +5 -0
  54. package/dist/chunks/1-generic-use.3ea646cd.js.map +1 -0
  55. package/dist/chunks/1-generic-use.ccca5813.js +5 -0
  56. package/dist/chunks/1-generic-use.ccca5813.js.map +1 -0
  57. package/dist/chunks/2-generic-use.443db127.js +5 -0
  58. package/dist/chunks/2-generic-use.443db127.js.map +1 -0
  59. package/dist/chunks/2-generic-use.d69d7c08.js +5 -0
  60. package/dist/chunks/2-generic-use.d69d7c08.js.map +1 -0
  61. package/dist/chunks/3-generic-use.9f74667f.js +5 -0
  62. package/dist/chunks/3-generic-use.9f74667f.js.map +1 -0
  63. package/dist/chunks/3-generic-use.fe7ae2ce.js +5 -0
  64. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +1 -0
  65. package/dist/chunks/4-generic-use.0356f4a1.js +5 -0
  66. package/dist/chunks/4-generic-use.0356f4a1.js.map +1 -0
  67. package/dist/chunks/4-generic-use.cd04bad0.js +5 -0
  68. package/dist/chunks/4-generic-use.cd04bad0.js.map +1 -0
  69. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +33 -0
  70. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +1 -0
  71. package/dist/chunks/adding-payment-methods.d570e03e.js +5 -0
  72. package/dist/chunks/adding-payment-methods.d570e03e.js.map +1 -0
  73. package/dist/chunks/adding-payment-methods.e419d6c0.js +5 -0
  74. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +1 -0
  75. package/dist/chunks/adyen-giving.480913b5.js +5 -0
  76. package/dist/chunks/adyen-giving.480913b5.js.map +1 -0
  77. package/dist/chunks/adyen-giving.54ed984c.js +5 -0
  78. package/dist/chunks/adyen-giving.54ed984c.js.map +1 -0
  79. package/dist/chunks/{aria-label.CaUURpnB.js → aria-label.ac9651a5.js} +1 -1
  80. package/dist/chunks/{aria-label.CaUURpnB.js.map → aria-label.ac9651a5.js.map} +1 -1
  81. package/dist/chunks/base-button.852204dc.js +88 -0
  82. package/dist/chunks/{base-button.DER7_IsF.js.map → base-button.852204dc.js.map} +1 -1
  83. package/dist/chunks/{base-modal.C5I7bR0d.js → base-modal.00322d31.js} +46 -42
  84. package/dist/chunks/{base-modal.C5I7bR0d.js.map → base-modal.00322d31.js.map} +1 -1
  85. package/dist/chunks/{base-modal.keys.C2PQXcE2.js → base-modal.keys.b08a6bdf.js} +1 -1
  86. package/dist/chunks/{base-modal.keys.C2PQXcE2.js.map → base-modal.keys.b08a6bdf.js.map} +1 -1
  87. package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js → button-actions-with-menu.bc66bc0a.js} +27 -25
  88. package/dist/chunks/{button-actions-with-menu.f3yuLK-L.js.map → button-actions-with-menu.bc66bc0a.js.map} +1 -1
  89. package/dist/chunks/{button-actions.Bg9ey0p6.js → button-actions.430d7510.js} +31 -29
  90. package/dist/chunks/{button-actions.Bg9ey0p6.js.map → button-actions.430d7510.js.map} +1 -1
  91. package/dist/chunks/{button.DhAUh5JA.js → button.9184ade9.js} +24 -22
  92. package/dist/chunks/{button.DhAUh5JA.js.map → button.9184ade9.js.map} +1 -1
  93. package/dist/chunks/{calendar.B69z8gjb.js → calendar.bea81953.js} +332 -287
  94. package/dist/chunks/{calendar.B69z8gjb.js.map → calendar.bea81953.js.map} +1 -1
  95. package/dist/chunks/{checkbox-input.DwDwI2BD.js → checkbox-input.5ab6ebe7.js} +32 -28
  96. package/dist/chunks/{checkbox-input.DwDwI2BD.js.map → checkbox-input.5ab6ebe7.js.map} +1 -1
  97. package/dist/chunks/{checkbox.Bi2RDBEZ.js → checkbox.192e921e.js} +23 -21
  98. package/dist/chunks/{checkbox.Bi2RDBEZ.js.map → checkbox.192e921e.js.map} +1 -1
  99. package/dist/chunks/checkmark-circle-fill.382e27e2.js +26 -0
  100. package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js.map → checkmark-circle-fill.382e27e2.js.map} +1 -1
  101. package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.6f444bd7.js} +9 -7
  102. package/dist/chunks/{checkmark-small.BtF8b2gE.js.map → checkmark-small.6f444bd7.js.map} +1 -1
  103. package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.3cd9eeee.js} +18 -14
  104. package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.3cd9eeee.js.map} +1 -1
  105. package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.bade9c77.js} +19 -15
  106. package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.bade9c77.js.map} +1 -1
  107. package/dist/chunks/{controls-group.cSRFiEVO.js → controls-group.6b05fbb4.js} +19 -17
  108. package/dist/chunks/{controls-group.cSRFiEVO.js.map → controls-group.6b05fbb4.js.map} +1 -1
  109. package/dist/chunks/{copy.BtFWFG3q.js → copy.d5dd2b60.js} +19 -15
  110. package/dist/chunks/{copy.BtFWFG3q.js.map → copy.d5dd2b60.js.map} +1 -1
  111. package/dist/chunks/{country.types.Br0AjxGy.js → country.types.002caff2.js} +5 -5
  112. package/dist/chunks/{country.types.Br0AjxGy.js.map → country.types.002caff2.js.map} +1 -1
  113. package/dist/chunks/cross-circle-fill-small.b0310bd6.js +26 -0
  114. package/dist/chunks/cross-circle-fill-small.b0310bd6.js.map +1 -0
  115. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js → cross-circle-fill.dd300d4c.js} +10 -8
  116. package/dist/chunks/{cross-circle-fill.CnYH4R_h.js.map → cross-circle-fill.dd300d4c.js.map} +1 -1
  117. package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.3bb94ec7.js} +12 -10
  118. package/dist/chunks/{cross-small.BLUwtRB-.js.map → cross-small.3bb94ec7.js.map} +1 -1
  119. package/dist/chunks/{cross.CsUPDmaA.js → cross.f47f6b7f.js} +12 -10
  120. package/dist/chunks/{cross.CsUPDmaA.js.map → cross.f47f6b7f.js.map} +1 -1
  121. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js → data-grid-template.keys.a819a991.js} +1 -1
  122. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.a819a991.js.map} +1 -1
  123. package/dist/chunks/{date-input.BqBdAO1E.js → date-input.9186a0bf.js} +1 -1
  124. package/dist/chunks/{date-input.BqBdAO1E.js.map → date-input.9186a0bf.js.map} +1 -1
  125. package/dist/chunks/{debounce.DUTu11PS.js → debounce.b5ef6acf.js} +1 -1
  126. package/dist/chunks/{debounce.DUTu11PS.js.map → debounce.b5ef6acf.js.map} +1 -1
  127. package/dist/chunks/{dialog-page.DAh0M4mT.js → dialog-page.c663c657.js} +24 -20
  128. package/dist/chunks/{dialog-page.DAh0M4mT.js.map → dialog-page.c663c657.js.map} +1 -1
  129. package/dist/chunks/{dropdown-default-textbox.CKOkl_Qa.js → dropdown-default-textbox.346c40ea.js} +64 -51
  130. package/dist/chunks/dropdown-default-textbox.346c40ea.js.map +1 -0
  131. package/dist/chunks/{dropdown.yhhQCKve.js → dropdown.9bee6e1d.js} +248 -230
  132. package/dist/chunks/dropdown.9bee6e1d.js.map +1 -0
  133. package/dist/chunks/error-message.af88c25f.js +111 -0
  134. package/dist/chunks/{error-message.BSxUoE3_.js.map → error-message.af88c25f.js.map} +1 -1
  135. package/dist/chunks/es6.cf6b43e9.js +9 -0
  136. package/dist/chunks/es6.cf6b43e9.js.map +1 -0
  137. package/dist/chunks/events.f14a214b.js +50 -0
  138. package/dist/chunks/{events.CMzGybJJ.js.map → events.f14a214b.js.map} +1 -1
  139. package/dist/chunks/expand.d0ccfcfe.js +26 -0
  140. package/dist/chunks/expand.d0ccfcfe.js.map +1 -0
  141. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js → fixed-scroller.5e51ffb3.js} +20 -18
  142. package/dist/chunks/{fixed-scroller.Bq1AgPnw.js.map → fixed-scroller.5e51ffb3.js.map} +1 -1
  143. package/dist/chunks/{footer-actions.DqMRmlV_.js → footer-actions.b4fe4fdb.js} +13 -11
  144. package/dist/chunks/{footer-actions.DqMRmlV_.js.map → footer-actions.b4fe4fdb.js.map} +1 -1
  145. package/dist/chunks/{form-layout.types.D3EKzbE7.js → form-layout.types.a7a1438d.js} +1 -1
  146. package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.a7a1438d.js.map} +1 -1
  147. package/dist/chunks/{get-slot-text.Cgn-E48s.js → get-slot-text.99c3d860.js} +2 -2
  148. package/dist/chunks/{get-slot-text.Cgn-E48s.js.map → get-slot-text.99c3d860.js.map} +1 -1
  149. package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.e0025286.js} +13 -11
  150. package/dist/chunks/{grid-layout.HvTAa4to.js.map → grid-layout.e0025286.js.map} +1 -1
  151. package/dist/chunks/{i18n.BQkEbtPM.js → i18n.eb5b985b.js} +2 -2
  152. package/dist/chunks/{i18n.BQkEbtPM.js.map → i18n.eb5b985b.js.map} +1 -1
  153. package/dist/chunks/{structured-list-item.C9NTVDvT.js → index.1c8f9245.js} +22 -18
  154. package/dist/chunks/index.1c8f9245.js.map +1 -0
  155. package/dist/chunks/{popover.B8YH92W8.js → index.40b77741.js} +37 -31
  156. package/dist/chunks/index.40b77741.js.map +1 -0
  157. package/dist/chunks/index.4afa7b19.js +32 -0
  158. package/dist/chunks/index.4afa7b19.js.map +1 -0
  159. package/dist/chunks/{index.Cl4_42j5.js → index.4c062058.js} +1 -1
  160. package/dist/chunks/{index.Cl4_42j5.js.map → index.4c062058.js.map} +1 -1
  161. package/dist/chunks/{date.DKjxxR6P.js → index.614a5138.js} +51 -44
  162. package/dist/chunks/index.614a5138.js.map +1 -0
  163. package/dist/chunks/index.6584f75e.js +183 -0
  164. package/dist/chunks/{index.OCPp3NST.js.map → index.6584f75e.js.map} +1 -1
  165. package/dist/chunks/{index.xqFSZOAb.js → index.86453263.js} +2 -2
  166. package/dist/chunks/{index.xqFSZOAb.js.map → index.86453263.js.map} +1 -1
  167. package/dist/chunks/{menu.2TwUMlA9.js → index.8a037a95.js} +94 -82
  168. package/dist/chunks/index.8a037a95.js.map +1 -0
  169. package/dist/chunks/{focus-trap.DSkLNO_i.js → index.ba69cab6.js} +37 -35
  170. package/dist/chunks/index.ba69cab6.js.map +1 -0
  171. package/dist/chunks/{popper-container.Bt02N3o1.js → index.bad400d5.js} +436 -381
  172. package/dist/chunks/index.bad400d5.js.map +1 -0
  173. package/dist/chunks/{index.Z84QE0E2.js → index.d80206ed.js} +2 -2
  174. package/dist/chunks/{index.Z84QE0E2.js.map → index.d80206ed.js.map} +1 -1
  175. package/dist/chunks/{typography.Bjtu3Gca.js → index.e29a6907.js} +32 -30
  176. package/dist/chunks/index.e29a6907.js.map +1 -0
  177. package/dist/chunks/{link.DJ1A53gF.js → index.f46e4190.js} +24 -20
  178. package/dist/chunks/index.f46e4190.js.map +1 -0
  179. package/dist/chunks/{index.B_UZQ6qF.js → index.f55fdc32.js} +243 -209
  180. package/dist/chunks/{index.B_UZQ6qF.js.map → index.f55fdc32.js.map} +1 -1
  181. package/dist/chunks/{date-range-picker.DJPZi8ql.js → index.fc70e413.js} +117 -113
  182. package/dist/chunks/index.fc70e413.js.map +1 -0
  183. package/dist/chunks/{index.B_EJflcs.js → index.fdf12170.js} +2 -2
  184. package/dist/chunks/{index.B_EJflcs.js.map → index.fdf12170.js.map} +1 -1
  185. package/dist/chunks/{info.CyeBsLgt.js → info.a549470f.js} +12 -10
  186. package/dist/chunks/{info.CyeBsLgt.js.map → info.a549470f.js.map} +1 -1
  187. package/dist/chunks/internal-error.35cbb071.js +5 -0
  188. package/dist/chunks/internal-error.35cbb071.js.map +1 -0
  189. package/dist/chunks/internal-error.9a4823ed.js +5 -0
  190. package/dist/chunks/internal-error.9a4823ed.js.map +1 -0
  191. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.bbc3d15c.js} +2 -2
  192. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.bbc3d15c.js.map} +1 -1
  193. package/dist/chunks/listbox-option-tag.bac3121a.js +46 -0
  194. package/dist/chunks/listbox-option-tag.bac3121a.js.map +1 -0
  195. package/dist/chunks/loading-button.b5dca406.js +101 -0
  196. package/dist/chunks/loading-button.b5dca406.js.map +1 -0
  197. package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js → modal-fullscreen.keys.b9f31632.js} +1 -1
  198. package/dist/chunks/{modal-fullscreen.keys.CMba3hYp.js.map → modal-fullscreen.keys.b9f31632.js.map} +1 -1
  199. package/dist/chunks/no-results-found.58856d70.js +5 -0
  200. package/dist/chunks/no-results-found.58856d70.js.map +1 -0
  201. package/dist/chunks/no-results-found.cbb12f78.js +5 -0
  202. package/dist/chunks/no-results-found.cbb12f78.js.map +1 -0
  203. package/dist/chunks/notifications-cleared.71025c22.js +5 -0
  204. package/dist/chunks/notifications-cleared.71025c22.js.map +1 -0
  205. package/dist/chunks/notifications-cleared.c4f4bed4.js +5 -0
  206. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +1 -0
  207. package/dist/chunks/{on-click-outside.CcNG5w7_.js → on-click-outside.3e0c3e2a.js} +1 -1
  208. package/dist/chunks/{on-click-outside.CcNG5w7_.js.map → on-click-outside.3e0c3e2a.js.map} +1 -1
  209. package/dist/chunks/page-not-found.a500440d.js +5 -0
  210. package/dist/chunks/page-not-found.a500440d.js.map +1 -0
  211. package/dist/chunks/page-not-found.d1a84ba7.js +5 -0
  212. package/dist/chunks/page-not-found.d1a84ba7.js.map +1 -0
  213. package/dist/chunks/{payment-method.D9Qx-s4V.js → payment-method.c55dd352.js} +21 -19
  214. package/dist/chunks/{payment-method.D9Qx-s4V.js.map → payment-method.c55dd352.js.map} +1 -1
  215. package/dist/chunks/planned-maintenance.7fa5ac16.js +5 -0
  216. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +1 -0
  217. package/dist/chunks/planned-maintenance.cff01aed.js +5 -0
  218. package/dist/chunks/planned-maintenance.cff01aed.js.map +1 -0
  219. package/dist/chunks/{radio-input.BQcC0INR.js → radio-input.e34c0fa8.js} +17 -15
  220. package/dist/chunks/{radio-input.BQcC0INR.js.map → radio-input.e34c0fa8.js.map} +1 -1
  221. package/dist/chunks/referrals.178ce0eb.js +5 -0
  222. package/dist/chunks/referrals.178ce0eb.js.map +1 -0
  223. package/dist/chunks/referrals.599047da.js +5 -0
  224. package/dist/chunks/referrals.599047da.js.map +1 -0
  225. package/dist/chunks/{refresh.BKI9WwKh.js → refresh.2ef3d8a9.js} +10 -8
  226. package/dist/chunks/{refresh.BKI9WwKh.js.map → refresh.2ef3d8a9.js.map} +1 -1
  227. package/dist/chunks/{resize.Bqks3WUm.js → resize.a041304d.js} +1 -1
  228. package/dist/chunks/{resize.Bqks3WUm.js.map → resize.a041304d.js.map} +1 -1
  229. package/dist/chunks/{search.CBKhp7zB.js → search.83bba8e3.js} +13 -11
  230. package/dist/chunks/{search.CBKhp7zB.js.map → search.83bba8e3.js.map} +1 -1
  231. package/dist/chunks/{segmented-control.B49WbyTl.js → segmented-control.9f657859.js} +31 -27
  232. package/dist/chunks/{segmented-control.B49WbyTl.js.map → segmented-control.9f657859.js.map} +1 -1
  233. package/dist/chunks/{sidepanel.keys.R0DKQuYx.js → sidepanel.keys.1ed8a57c.js} +1 -1
  234. package/dist/chunks/{sidepanel.keys.R0DKQuYx.js.map → sidepanel.keys.1ed8a57c.js.map} +1 -1
  235. package/dist/chunks/success.41981fe8.js +5 -0
  236. package/dist/chunks/success.41981fe8.js.map +1 -0
  237. package/dist/chunks/success.77fac78b.js +5 -0
  238. package/dist/chunks/success.77fac78b.js.map +1 -0
  239. package/dist/chunks/{summary-grid.keys.BBbFrFGF.js → summary-grid.keys.1d1028c2.js} +1 -1
  240. package/dist/chunks/{summary-grid.keys.BBbFrFGF.js.map → summary-grid.keys.1d1028c2.js.map} +1 -1
  241. package/dist/chunks/{tabs.keys.Bc2pSKRw.js → tabs.keys.358742f2.js} +1 -1
  242. package/dist/chunks/{tabs.keys.Bc2pSKRw.js.map → tabs.keys.358742f2.js.map} +1 -1
  243. package/dist/chunks/{teleport.CQKBJZU5.js → teleport.84b0f20b.js} +16 -14
  244. package/dist/chunks/{teleport.CQKBJZU5.js.map → teleport.84b0f20b.js.map} +1 -1
  245. package/dist/chunks/{tooltip.DR8rbIYw.js → tooltip.77610390.js} +32 -29
  246. package/dist/chunks/{tooltip.DR8rbIYw.js.map → tooltip.77610390.js.map} +1 -1
  247. package/dist/chunks/{unique-id.XFfoKuc2.js → unique-id.a2a2b458.js} +20 -14
  248. package/dist/chunks/{unique-id.XFfoKuc2.js.map → unique-id.a2a2b458.js.map} +1 -1
  249. package/dist/chunks/upload-files.2708eca7.js +5 -0
  250. package/dist/chunks/upload-files.2708eca7.js.map +1 -0
  251. package/dist/chunks/upload-files.b4cd9f8b.js +5 -0
  252. package/dist/chunks/upload-files.b4cd9f8b.js.map +1 -0
  253. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js → use-bento-toast-controller.5dac1f3c.js} +4 -4
  254. package/dist/chunks/{use-bento-toast-controller.BifdE4ak.js.map → use-bento-toast-controller.5dac1f3c.js.map} +1 -1
  255. package/dist/chunks/{use-cached-selected-values.CVLzxvTi.js → use-cached-selected-values.148bfd7c.js} +237 -217
  256. package/dist/chunks/use-cached-selected-values.148bfd7c.js.map +1 -0
  257. package/dist/chunks/{use-click-outside.DbjR7Lh4.js → use-click-outside.941d1600.js} +2 -2
  258. package/dist/chunks/{use-click-outside.DbjR7Lh4.js.map → use-click-outside.941d1600.js.map} +1 -1
  259. package/dist/chunks/{use-country-items.C25TI6tp.js → use-country-items.6b7985bf.js} +4 -4
  260. package/dist/chunks/{use-country-items.C25TI6tp.js.map → use-country-items.6b7985bf.js.map} +1 -1
  261. package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js → use-default-slot-validator.b9bff4c6.js} +2 -2
  262. package/dist/chunks/{use-default-slot-validator.BDn0wkYP.js.map → use-default-slot-validator.b9bff4c6.js.map} +1 -1
  263. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js → use-expandable-content-height.62fc84e5.js} +1 -1
  264. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.62fc84e5.js.map} +1 -1
  265. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.d03e5d48.js} +2 -2
  266. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.d03e5d48.js.map} +1 -1
  267. package/dist/chunks/use-has-slot.fbeb19ec.js +6 -0
  268. package/dist/chunks/{use-has-slot.C9lQZ6nz.js.map → use-has-slot.fbeb19ec.js.map} +1 -1
  269. package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.1ced4163.js} +12 -10
  270. package/dist/chunks/{warning-filled.CLKRzGMT.js.map → warning-filled.1ced4163.js.map} +1 -1
  271. package/dist/chunks/wrong-environment.c73b0bc0.js +5 -0
  272. package/dist/chunks/wrong-environment.c73b0bc0.js.map +1 -0
  273. package/dist/chunks/wrong-environment.f890a237.js +5 -0
  274. package/dist/chunks/wrong-environment.f890a237.js.map +1 -0
  275. package/dist/click-outside.js +20 -2
  276. package/dist/click-outside.js.map +1 -1
  277. package/dist/code-snippet.js +2034 -5
  278. package/dist/code-snippet.js.map +1 -1
  279. package/dist/country.js +97 -8
  280. package/dist/country.js.map +1 -1
  281. package/dist/currency.js +112 -3
  282. package/dist/currency.js.map +1 -1
  283. package/dist/dashboard-template.js +106 -3
  284. package/dist/dashboard-template.js.map +1 -1
  285. package/dist/dashed-underline.js +58 -2
  286. package/dist/dashed-underline.js.map +1 -1
  287. package/dist/data-grid-template.js +65 -2
  288. package/dist/data-grid-template.js.map +1 -1
  289. package/dist/data-grid.js +2057 -8
  290. package/dist/data-grid.js.map +1 -1
  291. package/dist/date-picker.js +197 -5
  292. package/dist/date-picker.js.map +1 -1
  293. package/dist/date-range-picker.js +2 -2
  294. package/dist/date.js +1 -1
  295. package/dist/divider.js +1 -1
  296. package/dist/dropdown.js +228 -12
  297. package/dist/dropdown.js.map +1 -1
  298. package/dist/empty-state.js +143 -5
  299. package/dist/empty-state.js.map +1 -1
  300. package/dist/filter-bar.js +2164 -5
  301. package/dist/filter-bar.js.map +1 -1
  302. package/dist/focus-trap.js +1 -1
  303. package/dist/form-layout.js +192 -5
  304. package/dist/form-layout.js.map +1 -1
  305. package/dist/header.js +246 -2
  306. package/dist/header.js.map +1 -1
  307. package/dist/image.js +81 -4
  308. package/dist/image.js.map +1 -1
  309. package/dist/index.js +279 -274
  310. package/dist/index.js.map +1 -1
  311. package/dist/info-icon.js +40 -2
  312. package/dist/info-icon.js.map +1 -1
  313. package/dist/input-field.js +224 -7
  314. package/dist/input-field.js.map +1 -1
  315. package/dist/inspector.js +64 -0
  316. package/dist/inspector.js.map +1 -0
  317. package/dist/internal.js +29 -30
  318. package/dist/link.js +1 -1
  319. package/dist/loading-indicator.js +47 -3
  320. package/dist/loading-indicator.js.map +1 -1
  321. package/dist/menu.js +1 -1
  322. package/dist/modal-fullscreen.js +197 -3
  323. package/dist/modal-fullscreen.js.map +1 -1
  324. package/dist/modal.js +451 -11
  325. package/dist/modal.js.map +1 -1
  326. package/dist/pagination.js +507 -2
  327. package/dist/pagination.js.map +1 -1
  328. package/dist/payment-method.js +4 -4
  329. package/dist/payment-method.js.map +1 -1
  330. package/dist/popover.js +1 -1
  331. package/dist/popper-container.js +1 -1
  332. package/dist/radio-group.js +213 -6
  333. package/dist/radio-group.js.map +1 -1
  334. package/dist/search-bar.js +101 -6
  335. package/dist/search-bar.js.map +1 -1
  336. package/dist/secondary-nav.js +115 -2
  337. package/dist/secondary-nav.js.map +1 -1
  338. package/dist/segmented-control.js +4 -4
  339. package/dist/segmented-control.js.map +1 -1
  340. package/dist/selection-card.js +248 -4
  341. package/dist/selection-card.js.map +1 -1
  342. package/dist/sidepanel.js +189 -4
  343. package/dist/sidepanel.js.map +1 -1
  344. package/dist/status.js +35 -3
  345. package/dist/status.js.map +1 -1
  346. package/dist/stepper.js +237 -5
  347. package/dist/stepper.js.map +1 -1
  348. package/dist/structured-list.js +1 -1
  349. package/dist/summary-grid.js +584 -9
  350. package/dist/summary-grid.js.map +1 -1
  351. package/dist/tabs.js +141 -3
  352. package/dist/tabs.js.map +1 -1
  353. package/dist/tag.js +63 -3
  354. package/dist/tag.js.map +1 -1
  355. package/dist/textarea.js +190 -2
  356. package/dist/textarea.js.map +1 -1
  357. package/dist/timeline.js +369 -7
  358. package/dist/timeline.js.map +1 -1
  359. package/dist/toast.js +168 -2
  360. package/dist/toast.js.map +1 -1
  361. package/dist/toggle.js +120 -4
  362. package/dist/toggle.js.map +1 -1
  363. package/dist/tutorial.js +340 -2
  364. package/dist/tutorial.js.map +1 -1
  365. package/dist/typography.js +1 -1
  366. package/dist/web-types.json +142 -9
  367. package/package.json +3 -3
  368. package/dist/assets/avatar-image.css +0 -1
  369. package/dist/assets/code-snippet.css +0 -1
  370. package/dist/assets/filter-bar.css +0 -1
  371. package/dist/assets/input-field.css +0 -1
  372. package/dist/assets/radio-group.css +0 -1
  373. package/dist/assets/search-bar.css +0 -1
  374. package/dist/assets/selection-card-group.css +0 -1
  375. package/dist/assets/structured-list-item.css +0 -1
  376. package/dist/assets/textarea.css +0 -1
  377. package/dist/assets/timeline-item.css +0 -1
  378. package/dist/assets/toggle.css +0 -1
  379. package/dist/assets/tutorial.css +0 -1
  380. package/dist/avatar-image.js +0 -7
  381. package/dist/avatar-image.js.map +0 -1
  382. package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
  383. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
  384. package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
  385. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
  386. package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
  387. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
  388. package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
  389. package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
  390. package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
  391. package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
  392. package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
  393. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
  394. package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
  395. package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
  396. package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
  397. package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
  398. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
  399. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
  400. package/dist/chunks/accordion-item.DmnrjNzw.js +0 -100
  401. package/dist/chunks/accordion-item.DmnrjNzw.js.map +0 -1
  402. package/dist/chunks/action-bar.Bebh6PHI.js +0 -147
  403. package/dist/chunks/action-bar.Bebh6PHI.js.map +0 -1
  404. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
  405. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
  406. package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
  407. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
  408. package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
  409. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
  410. package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
  411. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
  412. package/dist/chunks/alert.CJyTM4Az.js +0 -96
  413. package/dist/chunks/alert.CJyTM4Az.js.map +0 -1
  414. package/dist/chunks/avatar-image.DhlR-7Yg.js +0 -47
  415. package/dist/chunks/avatar-image.DhlR-7Yg.js.map +0 -1
  416. package/dist/chunks/base-button.DER7_IsF.js +0 -86
  417. package/dist/chunks/card.70Xvba2C.js +0 -115
  418. package/dist/chunks/card.70Xvba2C.js.map +0 -1
  419. package/dist/chunks/checkbox-group.B-KdeRXC.js +0 -152
  420. package/dist/chunks/checkbox-group.B-KdeRXC.js.map +0 -1
  421. package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +0 -24
  422. package/dist/chunks/click-outside.DABh6NLr.js +0 -23
  423. package/dist/chunks/click-outside.DABh6NLr.js.map +0 -1
  424. package/dist/chunks/code-snippet.C4IbjAhH.js +0 -968
  425. package/dist/chunks/code-snippet.C4IbjAhH.js.map +0 -1
  426. package/dist/chunks/country.KayLT0zy.js +0 -93
  427. package/dist/chunks/country.KayLT0zy.js.map +0 -1
  428. package/dist/chunks/currency.H7n7RQiX.js +0 -113
  429. package/dist/chunks/currency.H7n7RQiX.js.map +0 -1
  430. package/dist/chunks/dashboard-section.BcH-_en7.js +0 -105
  431. package/dist/chunks/dashboard-section.BcH-_en7.js.map +0 -1
  432. package/dist/chunks/dashed-underline.ChUlcFJR.js +0 -59
  433. package/dist/chunks/dashed-underline.ChUlcFJR.js.map +0 -1
  434. package/dist/chunks/data-grid-template.DqG5bNeD.js +0 -66
  435. package/dist/chunks/data-grid-template.DqG5bNeD.js.map +0 -1
  436. package/dist/chunks/data-grid.XsiB40Po.js +0 -2022
  437. package/dist/chunks/data-grid.XsiB40Po.js.map +0 -1
  438. package/dist/chunks/date-picker.ByP2Wpo0.js +0 -196
  439. package/dist/chunks/date-picker.ByP2Wpo0.js.map +0 -1
  440. package/dist/chunks/date-range-picker.DJPZi8ql.js.map +0 -1
  441. package/dist/chunks/date.DKjxxR6P.js.map +0 -1
  442. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  443. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  444. package/dist/chunks/dropdown-default-textbox.CKOkl_Qa.js.map +0 -1
  445. package/dist/chunks/dropdown-tag.DCMKQy-E.js +0 -214
  446. package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +0 -1
  447. package/dist/chunks/dropdown.yhhQCKve.js.map +0 -1
  448. package/dist/chunks/empty-state.BqVOj4v1.js +0 -151
  449. package/dist/chunks/empty-state.BqVOj4v1.js.map +0 -1
  450. package/dist/chunks/error-message.BSxUoE3_.js +0 -107
  451. package/dist/chunks/events.CMzGybJJ.js +0 -47
  452. package/dist/chunks/filter-bar.Cpimgf_J.js +0 -2119
  453. package/dist/chunks/filter-bar.Cpimgf_J.js.map +0 -1
  454. package/dist/chunks/focus-trap.DSkLNO_i.js.map +0 -1
  455. package/dist/chunks/form-layout-title.BzNU0B72.js +0 -187
  456. package/dist/chunks/form-layout-title.BzNU0B72.js.map +0 -1
  457. package/dist/chunks/header.DmKHCmXh.js +0 -245
  458. package/dist/chunks/header.DmKHCmXh.js.map +0 -1
  459. package/dist/chunks/image.B3uqhFjl.js +0 -82
  460. package/dist/chunks/image.B3uqhFjl.js.map +0 -1
  461. package/dist/chunks/index.OCPp3NST.js +0 -126
  462. package/dist/chunks/info-icon.CLguYHRt.js +0 -41
  463. package/dist/chunks/info-icon.CLguYHRt.js.map +0 -1
  464. package/dist/chunks/input-field.BnlEPPYr.js +0 -218
  465. package/dist/chunks/input-field.BnlEPPYr.js.map +0 -1
  466. package/dist/chunks/internal-error.BLZodVBE.js +0 -5
  467. package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
  468. package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
  469. package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
  470. package/dist/chunks/link.DJ1A53gF.js.map +0 -1
  471. package/dist/chunks/listbox-option-tag.BDjsYOE1.js +0 -75
  472. package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +0 -1
  473. package/dist/chunks/loading-button.CoF1IhEU.js +0 -97
  474. package/dist/chunks/loading-button.CoF1IhEU.js.map +0 -1
  475. package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
  476. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
  477. package/dist/chunks/menu.2TwUMlA9.js.map +0 -1
  478. package/dist/chunks/modal-fullscreen.BB_8EMNo.js +0 -196
  479. package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +0 -1
  480. package/dist/chunks/modal.DLwvcaRx.js +0 -439
  481. package/dist/chunks/modal.DLwvcaRx.js.map +0 -1
  482. package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
  483. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
  484. package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
  485. package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
  486. package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
  487. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
  488. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
  489. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
  490. package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
  491. package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
  492. package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
  493. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
  494. package/dist/chunks/pagination.BXjbVe4Z.js +0 -494
  495. package/dist/chunks/pagination.BXjbVe4Z.js.map +0 -1
  496. package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
  497. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
  498. package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
  499. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
  500. package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
  501. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
  502. package/dist/chunks/popover.B8YH92W8.js.map +0 -1
  503. package/dist/chunks/popper-container.Bt02N3o1.js.map +0 -1
  504. package/dist/chunks/radio-group.CPbBFTzB.js +0 -211
  505. package/dist/chunks/radio-group.CPbBFTzB.js.map +0 -1
  506. package/dist/chunks/referrals.BvtT-kQS.js +0 -5
  507. package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
  508. package/dist/chunks/referrals.aX8WZigH.js +0 -5
  509. package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
  510. package/dist/chunks/search-bar.CsAgO-t5.js +0 -89
  511. package/dist/chunks/search-bar.CsAgO-t5.js.map +0 -1
  512. package/dist/chunks/secondary-nav.CNgpPxUU.js +0 -97
  513. package/dist/chunks/secondary-nav.CNgpPxUU.js.map +0 -1
  514. package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
  515. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
  516. package/dist/chunks/selection-card-group.DlOs8BkR.js +0 -247
  517. package/dist/chunks/selection-card-group.DlOs8BkR.js.map +0 -1
  518. package/dist/chunks/sidepanel.BBjm2QvZ.js +0 -187
  519. package/dist/chunks/sidepanel.BBjm2QvZ.js.map +0 -1
  520. package/dist/chunks/status.types.BhbOYpZx.js +0 -36
  521. package/dist/chunks/status.types.BhbOYpZx.js.map +0 -1
  522. package/dist/chunks/step.DY8Txb6a.js +0 -234
  523. package/dist/chunks/step.DY8Txb6a.js.map +0 -1
  524. package/dist/chunks/structured-list-item.C9NTVDvT.js.map +0 -1
  525. package/dist/chunks/success.DhioLvPD.js +0 -5
  526. package/dist/chunks/success.DhioLvPD.js.map +0 -1
  527. package/dist/chunks/success.nNwxJRBS.js +0 -5
  528. package/dist/chunks/success.nNwxJRBS.js.map +0 -1
  529. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +0 -573
  530. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +0 -1
  531. package/dist/chunks/tabs.CE65f3E_.js +0 -140
  532. package/dist/chunks/tabs.CE65f3E_.js.map +0 -1
  533. package/dist/chunks/tag.bhKrZHTU.js +0 -64
  534. package/dist/chunks/tag.bhKrZHTU.js.map +0 -1
  535. package/dist/chunks/textarea.CcKbtQBs.js +0 -208
  536. package/dist/chunks/textarea.CcKbtQBs.js.map +0 -1
  537. package/dist/chunks/timeline-item.ScTrUBKC.js +0 -364
  538. package/dist/chunks/timeline-item.ScTrUBKC.js.map +0 -1
  539. package/dist/chunks/toast.0EYDj8o-.js +0 -165
  540. package/dist/chunks/toast.0EYDj8o-.js.map +0 -1
  541. package/dist/chunks/toggle-button.2U-vbQhk.js +0 -83
  542. package/dist/chunks/toggle-button.2U-vbQhk.js.map +0 -1
  543. package/dist/chunks/toggle.CiOVTWlk.js +0 -121
  544. package/dist/chunks/toggle.CiOVTWlk.js.map +0 -1
  545. package/dist/chunks/tutorial.DMm12L0S.js +0 -335
  546. package/dist/chunks/tutorial.DMm12L0S.js.map +0 -1
  547. package/dist/chunks/typography.Bjtu3Gca.js.map +0 -1
  548. package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
  549. package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
  550. package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
  551. package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
  552. package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +0 -1
  553. package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
  554. package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
  555. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
  556. package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
  557. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
  558. /package/dist/assets/{badge.css → index.css} +0 -0
  559. /package/dist/assets/{tabs.css → index10.css} +0 -0
  560. /package/dist/assets/{date-picker.css → index12.css} +0 -0
  561. /package/dist/assets/{empty-state.css → index13.css} +0 -0
  562. /package/dist/assets/{focus-trap.css → index15.css} +0 -0
  563. /package/dist/assets/{form-layout-title.css → index16.css} +0 -0
  564. /package/dist/assets/{info-icon.css → index17.css} +0 -0
  565. /package/dist/assets/{dashed-underline.css → index2.css} +0 -0
  566. /package/dist/assets/{date-range-picker.css → index20.css} +0 -0
  567. /package/dist/assets/{status.css → index25.css} +0 -0
  568. /package/dist/assets/{step.css → index26.css} +0 -0
  569. /package/dist/assets/{link.css → index27.css} +0 -0
  570. /package/dist/assets/{alert.css → index29.css} +0 -0
  571. /package/dist/assets/{header.css → index31.css} +0 -0
  572. /package/dist/assets/{loading-indicator.css → index32.css} +0 -0
  573. /package/dist/assets/{dropdown-tag.css → index34.css} +0 -0
  574. /package/dist/assets/{popper-container.css → index35.css} +0 -0
  575. /package/dist/assets/{summary-grid-item-custom.css → index37.css} +0 -0
  576. /package/dist/assets/{toggle-button.css → index4.css} +0 -0
  577. /package/dist/assets/{tag.css → index41.css} +0 -0
  578. /package/dist/assets/{toast.css → index44.css} +0 -0
  579. /package/dist/assets/{typography.css → index46.css} +0 -0
  580. /package/dist/assets/{data-grid-template.css → index49.css} +0 -0
  581. /package/dist/assets/{pagination.css → index50.css} +0 -0
  582. /package/dist/assets/{checkbox-group.css → index6.css} +0 -0
  583. /package/dist/assets/{country.css → index8.css} +0 -0
  584. /package/dist/assets/{divider.css → index9.css} +0 -0
  585. /package/dist/assets/{cross.css → refresh.css} +0 -0
@@ -1,81 +1,81 @@
1
- import { ref as _, watch as se, computed as u, defineComponent as D, useSlots as ae, toRefs as le, nextTick as $, useAttrs as xe, toRef as O, inject as we } from "vue";
2
- import { d as X, B as Le } from "./typography.Bjtu3Gca.js";
3
- import { a as F, b as ee, c as Se, D as Oe, B as Ce } from "./dropdown-default-textbox.CKOkl_Qa.js";
4
- import { n as N } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
- import { g as A } from "./unique-id.XFfoKuc2.js";
6
- import { u as $e } from "./aria-label.CaUURpnB.js";
7
- import { u as W } from "./i18n.BQkEbtPM.js";
8
- import { u as Ee } from "./use-form-layout-loading.D3lALhtC.js";
9
- import { u as De } from "./use-has-slot.C9lQZ6nz.js";
10
- import { a as d, B as K, b as z, c as Be, u as Ie } from "./use-cached-selected-values.CVLzxvTi.js";
11
- import { B as C, a as Re } from "./keyboard-navigation.Clz1jOaA.js";
12
- import { P as te } from "./popper-container.Bt02N3o1.js";
13
- import { B as Te } from "./popover.B8YH92W8.js";
14
- import { E as Ae, F as Me } from "./error-message.BSxUoE3_.js";
1
+ import { ref as b, watch as le, computed as c, defineComponent as D, useSlots as ae, toRefs as re, nextTick as $, useAttrs as we, toRef as O, inject as Se } from "vue";
2
+ import { d as te, B as Le } from "./index.e29a6907.js";
3
+ import { D as K, b as A, B as N, c as Oe, d as Ce, a as $e } from "./dropdown-default-textbox.346c40ea.js";
4
+ import { n as k } from "./_plugin-vue2_normalizer.71e2aa87.js";
5
+ import { s as z } from "./events.f14a214b.js";
6
+ import { g as M } from "./unique-id.a2a2b458.js";
7
+ import { u as Ee } from "./aria-label.ac9651a5.js";
8
+ import { u as j } from "./i18n.eb5b985b.js";
9
+ import { u as De } from "./use-form-layout-loading.d03e5d48.js";
10
+ import { u as Be } from "./use-has-slot.fbeb19ec.js";
11
+ import { c as d, b as W, B as U, a as Ie, u as Re } from "./use-cached-selected-values.148bfd7c.js";
12
+ import { B as C, a as Te } from "./keyboard-navigation.bbc3d15c.js";
13
+ import { a as oe } from "./index.bad400d5.js";
14
+ import { a as Ae } from "./index.40b77741.js";
15
+ import { E as Ne, F as Me } from "./error-message.af88c25f.js";
15
16
  import "../assets/dropdown.css";
16
- var M = /* @__PURE__ */ ((n) => (n.DEFAULT = "DropdownInputDefault", n.SMALL = "DropdownInputSmall", n))(M || {});
17
- const Ne = {
17
+ const ke = {
18
18
  "en-US": {
19
19
  apply: "Apply",
20
20
  cancel: "Cancel",
21
21
  noOptionsMatchThisSearch: "No options match this search"
22
22
  }
23
- }, ke = (n, t, o, e) => {
24
- const s = _(n.value), { t: l } = W();
25
- se(n, () => {
23
+ }, Pe = (n, t, o, e) => {
24
+ const s = b(n.value), { t: a } = j();
25
+ le(n, () => {
26
26
  s.value = n.value;
27
27
  });
28
- const a = u(
28
+ const l = c(
29
29
  () => JSON.stringify(s.value) === JSON.stringify(n.value)
30
- ), r = () => {
30
+ ), i = () => {
31
31
  e(d.SELECT, s.value), e(d.CLOSE_DROPDOWN);
32
32
  }, v = () => {
33
33
  s.value = n.value, e(d.CLOSE_DROPDOWN);
34
- }, p = () => {
34
+ }, u = () => {
35
35
  o.value && t.value && (s.value = n.value);
36
- }, f = u(() => [
36
+ }, m = c(() => [
37
37
  {
38
- title: l("apply"),
39
- event: r,
40
- disabled: a.value
38
+ title: a("apply"),
39
+ event: i,
40
+ disabled: l.value
41
41
  },
42
42
  {
43
- title: l("cancel"),
43
+ title: a("cancel"),
44
44
  event: v
45
45
  }
46
- ]), y = (i) => {
47
- s.value = i, t.value || e(d.SELECT, i);
48
- }, S = (i) => {
49
- y(i), e(d.TAB);
50
- }, g = (i) => {
51
- y(i), e(d.ENTER);
52
- }, x = (i) => {
53
- y(i), e(d.SPACE);
54
- }, h = () => {
46
+ ]), p = (r) => {
47
+ s.value = r, t.value || e(d.SELECT, r);
48
+ }, L = (r) => {
49
+ p(r), e(d.TAB);
50
+ }, g = (r) => {
51
+ p(r), e(d.ENTER);
52
+ }, h = (r) => {
53
+ p(r), e(d.SPACE);
54
+ }, x = () => {
55
55
  v(), e(d.ESCAPE);
56
56
  }, w = () => {
57
57
  e(d.SHOW_MORE);
58
- }, L = {
59
- [d.SELECT]: y,
58
+ }, S = {
59
+ [d.SELECT]: p,
60
60
  [d.SHOW_MORE]: w,
61
- [d.TAB]: S,
62
- [d.SPACE]: x,
61
+ [d.TAB]: L,
62
+ [d.SPACE]: h,
63
63
  [d.ENTER]: g
64
64
  };
65
65
  return {
66
66
  // Values
67
- actions: f,
67
+ actions: m,
68
68
  internalSelectedValue: s,
69
69
  // Methods
70
- listeners: L,
71
- onEscapeKey: h,
72
- onOutsideDropdownClick: p
70
+ listeners: S,
71
+ onEscapeKey: x,
72
+ onOutsideDropdownClick: u
73
73
  };
74
- }, Pe = D({
75
- i18n: { messages: Ne },
74
+ }, Fe = D({
75
+ i18n: { messages: ke },
76
76
  name: "bento-dropdown-options-container"
77
- }), Fe = /* @__PURE__ */ D({
78
- ...Pe,
77
+ }), Ke = /* @__PURE__ */ D({
78
+ ...Fe,
79
79
  props: {
80
80
  /**
81
81
  * Defines a string value that labels an interactive element.
@@ -130,8 +130,8 @@ const Ne = {
130
130
  */
131
131
  lazyLoadType: {
132
132
  type: String,
133
- default: K.AUTOMATIC,
134
- validator: (n) => Object.values(K).includes(n)
133
+ default: W.AUTOMATIC,
134
+ validator: (n) => Object.values(W).includes(n)
135
135
  },
136
136
  /**
137
137
  * Indicates if new options are loading.
@@ -161,7 +161,7 @@ const Ne = {
161
161
  *
162
162
  * If enabled, hides the "Select all" checkbox in "multiple" mode.
163
163
  */
164
- searching: z.props.searching,
164
+ searching: U.props.searching,
165
165
  /**
166
166
  * If enabled, dropdown will display non-selectable, static categories
167
167
  */
@@ -170,7 +170,7 @@ const Ne = {
170
170
  * Reference to the DOM element or Vue component for positioning
171
171
  * the Dropdown container.
172
172
  */
173
- targetElement: { type: te.props.targetElement.type, required: !0 },
173
+ targetElement: { type: oe.props.targetElement.type, required: !0 },
174
174
  /**
175
175
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
176
176
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -181,13 +181,13 @@ const Ne = {
181
181
  }
182
182
  },
183
183
  setup(n, { expose: t, emit: o }) {
184
- const e = n, s = ae(), { selectedValue: l, multiple: a } = le(e), r = _(null), { t: v } = W(), p = u(() => e.open && !e.disabled), f = u(() => v("noOptionsMatchThisSearch")), y = u(() => ({
184
+ const e = n, s = ae(), { selectedValue: a, multiple: l } = re(e), i = b(null), { t: v } = j(), u = c(() => e.open && !e.disabled), m = c(() => v("noOptionsMatchThisSearch")), p = c(() => ({
185
185
  "b-dropdown-options-container--single": !(e != null && e.multiple)
186
- })), S = u(() => ({
186
+ })), L = c(() => ({
187
187
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
188
- })), { actions: g, internalSelectedValue: x, listeners: h, onEscapeKey: w, onOutsideDropdownClick: L } = ke(l, a, p, o), i = u(() => e != null && e.multiple ? Te : te), c = u(() => {
188
+ })), { actions: g, internalSelectedValue: h, listeners: x, onEscapeKey: w, onOutsideDropdownClick: S } = Pe(a, l, u, o), r = c(() => e != null && e.multiple ? Ae : oe), f = c(() => {
189
189
  var B;
190
- const b = {
190
+ const y = {
191
191
  "min-width": `${(B = e == null ? void 0 : e.targetElement) == null ? void 0 : B.clientWidth}px`,
192
192
  "max-width": "min(500px, 95%)"
193
193
  };
@@ -196,12 +196,12 @@ const Ne = {
196
196
  actions: g.value,
197
197
  divider: !0,
198
198
  fallbackPosition: ["top-start"],
199
- id: A(`dropdown-options-${e.id}`),
199
+ id: M(`dropdown-options-${e.id}`),
200
200
  open: e.open,
201
201
  position: "bottom-start",
202
202
  style: {
203
203
  width: "auto",
204
- ...b
204
+ ...y
205
205
  },
206
206
  targetElement: e.targetElement
207
207
  } : {
@@ -209,75 +209,81 @@ const Ne = {
209
209
  offset: [0, 8],
210
210
  position: "bottom-start",
211
211
  style: {
212
- display: p.value ? "block" : "none",
213
- ...b
212
+ display: u.value ? "block" : "none",
213
+ ...y
214
214
  },
215
215
  targetElement: e.targetElement
216
216
  };
217
217
  });
218
218
  return t({
219
- onOutsideDropdownClick: L
220
- }), { __sfc: !0, slots: s, emit: o, props: e, selectedValue: l, multiple: a, dropdownOptionsListboxRef: r, t: v, isDropdownOpen: p, noResultsMessage: f, conditionalClasses: y, conditionalListboxClasses: S, actions: g, internalSelectedValue: x, listeners: h, onEscapeKey: w, onOutsideDropdownClick: L, popperContainerOrPopoverComponent: i, popperContainerOrPopoverProps: c, BentoListbox: z };
219
+ onOutsideDropdownClick: S
220
+ }), { __sfc: !0, slots: s, emit: o, props: e, selectedValue: a, multiple: l, dropdownOptionsListboxRef: i, t: v, isDropdownOpen: u, noResultsMessage: m, conditionalClasses: p, conditionalListboxClasses: L, actions: g, internalSelectedValue: h, listeners: x, onEscapeKey: w, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: r, popperContainerOrPopoverProps: f, BentoListbox: U };
221
221
  }
222
222
  });
223
- var Ke = function() {
223
+ var ze = function() {
224
224
  var t = this, o = t._self._c, e = t._self._setupProxy;
225
225
  return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(s) {
226
226
  return !s.type.indexOf("key") && t._k(s.keyCode, "esc", 27, s.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
227
- } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
228
- return { key: l, fn: function(a) {
229
- return [t._t(l, null, null, a)];
227
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(s, a) {
228
+ return { key: a, fn: function(l) {
229
+ return [t._t(a, null, null, l)];
230
230
  } };
231
231
  })], null, !0) }, e.listeners))], 1)]);
232
- }, ze = [], We = /* @__PURE__ */ N(
233
- Fe,
232
+ }, We = [], Ue = /* @__PURE__ */ k(
234
233
  Ke,
235
234
  ze,
235
+ We,
236
236
  !1,
237
237
  null,
238
- "9f73038d"
238
+ "9f73038d",
239
+ null,
240
+ null
239
241
  );
240
- const je = We.exports;
241
- let oe = 0;
242
- const Ue = {
242
+ const je = Ue.exports;
243
+ let ne = 0;
244
+ const qe = {
243
245
  beforeCreate() {
244
- this.uuid = oe.toString(), oe += 1;
246
+ this.uuid = ne.toString(), ne += 1;
245
247
  }
246
248
  };
247
- var qe = function() {
249
+ var He = function() {
248
250
  var t = this, o = t._self._c;
249
251
  return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#00112C", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
250
- }, He = [], Ve = /* @__PURE__ */ N(
251
- Ue,
252
+ }, Ve = [], Je = /* @__PURE__ */ k(
252
253
  qe,
253
254
  He,
255
+ Ve,
254
256
  !1,
255
257
  null,
258
+ null,
259
+ null,
256
260
  null
257
261
  );
258
- const Je = Ve.exports;
259
- let ne = 0;
260
- const Ye = {
262
+ const Ye = Je.exports;
263
+ let se = 0;
264
+ const Ze = {
261
265
  beforeCreate() {
262
- this.uuid = ne.toString(), ne += 1;
266
+ this.uuid = se.toString(), se += 1;
263
267
  }
264
268
  };
265
- var Ze = function() {
269
+ var Ge = function() {
266
270
  var t = this, o = t._self._c;
267
271
  return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#00112C", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
268
- }, Ge = [], Qe = /* @__PURE__ */ N(
269
- Ye,
272
+ }, Qe = [], Xe = /* @__PURE__ */ k(
270
273
  Ze,
271
274
  Ge,
275
+ Qe,
272
276
  !1,
273
277
  null,
278
+ null,
279
+ null,
274
280
  null
275
281
  );
276
- const Xe = Qe.exports, et = D({
282
+ const et = Xe.exports, tt = D({
277
283
  name: "dropdown-small-textbox",
278
284
  inheritAttrs: !1
279
- }), tt = /* @__PURE__ */ D({
280
- ...et,
285
+ }), ot = /* @__PURE__ */ D({
286
+ ...tt,
281
287
  props: {
282
288
  /**
283
289
  * The number of additional items that have been selected in the dropdown.
@@ -336,109 +342,120 @@ const Xe = Qe.exports, et = D({
336
342
  */
337
343
  value: { type: String, default: "" }
338
344
  },
339
- emits: ["open", "close"],
345
+ emits: ["clear", "close", "input", "keydown", "open"],
340
346
  setup(n, { emit: t }) {
341
- const o = n, e = u(() => ({
342
- [`b-dropdown-small-textbox--${F.DISABLED}`]: o.disabled,
343
- [`b-dropdown-small-textbox--${F.READONLY}`]: o.readonly,
344
- [`b-dropdown-small-textbox--${F.OPENED}`]: o.open
345
- })), s = u(() => o.open && !o.disabled && !o.readonly), l = () => {
346
- t("open");
347
- }, a = () => {
348
- t("close");
349
- }, r = {
350
- [ee.OPEN]: l,
351
- [ee.CLOSE]: a
347
+ const o = n, e = c(() => ({
348
+ [`b-dropdown-small-textbox--${K.DISABLED}`]: o.disabled,
349
+ [`b-dropdown-small-textbox--${K.READONLY}`]: o.readonly,
350
+ [`b-dropdown-small-textbox--${K.OPENED}`]: o.open
351
+ })), s = c(() => o.open && !o.disabled && !o.readonly), a = (p) => {
352
+ t("input", p);
353
+ }, l = (p) => {
354
+ t("keydown", p);
355
+ }, i = (p) => {
356
+ z(p), t("open");
357
+ }, v = (p) => {
358
+ z(p), t("close");
359
+ }, u = (p) => {
360
+ z(p), t("clear");
361
+ }, m = {
362
+ [A.INPUT]: a,
363
+ [A.OPEN]: i,
364
+ [A.CLOSE]: v,
365
+ [A.CLEAR]: u,
366
+ [A.KEYDOWN]: l
352
367
  };
353
- return { __sfc: !0, emit: t, props: o, conditionalClasses: e, isDropdownOpen: s, openDropdown: l, closeDropdown: a, listeners: r, DropdownBaseTextbox: Se, ChevronDownSmallIcon: Je, ChevronUpSmallIcon: Xe };
368
+ return { __sfc: !0, emit: t, props: o, conditionalClasses: e, isDropdownOpen: s, onInput: a, onKeyDown: l, openDropdown: i, closeDropdown: v, clearValue: u, listeners: m, BentoDropdownSize: N, DropdownBaseTextbox: Oe, ChevronDownSmallIcon: Ye, ChevronUpSmallIcon: et };
354
369
  }
355
370
  });
356
- var ot = function() {
371
+ var nt = function() {
357
372
  var t = this, o = t._self._c, e = t._self._setupProxy;
358
- return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ staticClass: "b-dropdown-small-textbox__textbox", scopedSlots: t._u([{ key: "icon", fn: function() {
373
+ return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
359
374
  return [o("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [o(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), o(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
360
375
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
361
- }, nt = [], st = /* @__PURE__ */ N(
362
- tt,
376
+ }, st = [], lt = /* @__PURE__ */ k(
363
377
  ot,
364
378
  nt,
379
+ st,
365
380
  !1,
366
381
  null,
367
- "8dbfd5fb"
382
+ "c67e55d0",
383
+ null,
384
+ null
368
385
  );
369
- const at = st.exports, lt = (n, t) => t.value.reduce((o, e) => {
386
+ const at = lt.exports, rt = (n, t) => t.value.reduce((o, e) => {
370
387
  if (e.items) {
371
388
  const s = e.items.filter(
372
- (a) => n.value.find((r) => r.value === a.value)
389
+ (l) => n.value.find((i) => i.value === l.value)
373
390
  );
374
- s.length === e.items.length ? o.push(e.label) : s.forEach(({ label: a }) => o.push(a));
391
+ s.length === e.items.length ? o.push(e.label) : s.forEach(({ label: l }) => o.push(l));
375
392
  }
376
393
  return n.value.find((s) => s.value === e.value) && o.push(e.label), o;
377
394
  }, []).join(", "), it = ({ items: n, placeholder: t, selectedValues: o }) => {
378
- const e = u(() => n.value.find((l) => {
379
- var a;
380
- return (a = l.items) == null ? void 0 : a.length;
395
+ const e = c(() => n.value.find((a) => {
396
+ var l;
397
+ return (l = a.items) == null ? void 0 : l.length;
381
398
  }));
382
- return u(() => o.value.length ? e.value ? lt(o, n) : o.value.map(({ label: l }) => l).join(", ") : t.value || null);
399
+ return c(() => o.value.length ? e.value ? rt(o, n) : o.value.map(({ label: a }) => a).join(", ") : t.value || null);
383
400
  }, ie = (n) => {
384
401
  var t;
385
402
  (t = n.value.$children) == null || t[0].$refs.textbox.focus();
386
- }, rt = ({
403
+ }, dt = ({
387
404
  inputContainerRef: n,
388
405
  optionsContainerRef: t,
389
406
  selectedValueIndex: o,
390
407
  isDropdownOpen: e,
391
408
  isDynamicFltering: s,
392
- items: l,
393
- isMultiple: a
394
- }, r, v, p) => {
395
- const f = ({ detail: i }) => {
396
- i.preventDefault(), e.value || (v(), $(() => {
397
- var c, b;
398
- a ? (c = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || c[0].$el.focus() : (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[o.value].$el.focus();
409
+ items: a,
410
+ isMultiple: l
411
+ }, i, v, u) => {
412
+ const m = ({ detail: r }) => {
413
+ r.preventDefault(), e.value || (v(), $(() => {
414
+ var f, y;
415
+ l ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[o.value].$el.focus();
399
416
  }));
400
- }, y = ({ detail: i }) => {
401
- i.preventDefault(), e.value || (v(), $(() => {
402
- var c;
403
- (c = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || c[0].$el.focus();
417
+ }, p = ({ detail: r }) => {
418
+ r.preventDefault(), e.value || (v(), $(() => {
419
+ var f;
420
+ (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus();
404
421
  }));
405
- }, S = () => {
422
+ }, L = () => {
406
423
  e.value || (v(), $(() => {
407
- var i, c;
408
- if (a) {
409
- const b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
410
- (i = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || i[b.length - 1].$children[l.length - 1].$el.focus();
424
+ var r, f;
425
+ if (l) {
426
+ const y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
427
+ (r = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || r[y.length - 1].$children[a.length - 1].$el.focus();
411
428
  } else
412
- (c = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || c[l.length - 1].$el.focus();
429
+ (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[a.length - 1].$el.focus();
413
430
  }));
414
431
  }, g = () => {
415
- e.value && (p(), ie(n));
416
- }, x = () => {
432
+ e.value && (u(), ie(n));
433
+ }, h = () => {
417
434
  e.value || v(), $(() => {
418
- var i;
419
- (i = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || i[0].$el.focus();
435
+ var r;
436
+ (r = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || r[0].$el.focus();
420
437
  });
421
- }, h = ({ detail: i }) => {
422
- i.preventDefault(), r(), e.value && $(() => {
423
- var c, b;
424
- a ? (c = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || c[0].$el.focus() : (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[o.value].$el.focus();
438
+ }, x = ({ detail: r }) => {
439
+ r.preventDefault(), i(), e.value && $(() => {
440
+ var f, y;
441
+ l ? (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[0].$el.focus() : (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[o.value].$el.focus();
425
442
  });
426
443
  }, w = () => {
427
- r(), e.value && $(() => {
428
- var i, c;
429
- a ? (i = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || i[0].$el.focus() : (c = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || c[o.value].$el.focus();
444
+ i(), e.value && $(() => {
445
+ var r, f;
446
+ l ? (r = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || r[0].$el.focus() : (f = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || f[o.value].$el.focus();
430
447
  });
431
448
  };
432
- return u(() => ({
433
- ...s.value ? {} : { [C.SPACE]: h },
449
+ return c(() => ({
450
+ ...s.value ? {} : { [C.SPACE]: x },
434
451
  [C.ENTER]: w,
435
- [C.ARROW_DOWN]: f,
436
- [C.ARROW_UP]: y,
437
- [C.END]: S,
452
+ [C.ARROW_DOWN]: m,
453
+ [C.ARROW_UP]: p,
454
+ [C.END]: L,
438
455
  [C.ESCAPE]: g,
439
- [C.HOME]: x
456
+ [C.HOME]: h
440
457
  }));
441
- }, dt = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
458
+ }, ct = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
442
459
  const e = () => {
443
460
  t.value && o(), $(() => {
444
461
  ie(n);
@@ -452,31 +469,31 @@ const at = st.exports, lt = (n, t) => t.value.reduce((o, e) => {
452
469
  };
453
470
  };
454
471
  function ut(n, t, o) {
455
- const e = _(n), s = _(t), l = (r, v = []) => v.flatMap((p) => p.label.toLocaleLowerCase().includes(r) ? [p, ...l(r, p.items)] : p.items ? [...l(r, p.items)] : []);
456
- return se(e, () => {
472
+ const e = b(n), s = b(t), a = (i, v = []) => v.flatMap((u) => u.label.toLocaleLowerCase().includes(i) ? [u, ...a(i, u.items)] : u.items ? [...a(i, u.items)] : []);
473
+ return le(e, () => {
457
474
  o !== void 0 && o(e.value);
458
- }), u(() => {
475
+ }), c(() => {
459
476
  if (!e.value || o !== void 0)
460
477
  return s.value;
461
- const r = e.value.toLocaleLowerCase();
462
- return l(r, s.value);
478
+ const i = e.value.toLocaleLowerCase();
479
+ return a(i, s.value);
463
480
  });
464
481
  }
465
- const ct = {
482
+ const pt = {
466
483
  "en-US": {
467
484
  all: "All",
468
485
  clearSearch: "Clear filter",
469
486
  ariaLabelFallback: "Dropdown"
470
487
  }
471
- }, pt = Symbol("input field component injection key"), ft = D({
472
- i18n: { messages: ct },
488
+ }, ft = Symbol("input field component injection key"), vt = D({
489
+ i18n: { messages: pt },
473
490
  name: "b-dropdown",
474
491
  components: {
475
- DropdownInputDefault: Oe,
492
+ DropdownInputDefault: Ce,
476
493
  DropdownInputSmall: at
477
494
  }
478
- }), vt = /* @__PURE__ */ D({
479
- ...ft,
495
+ }), mt = /* @__PURE__ */ D({
496
+ ...vt,
480
497
  props: {
481
498
  /**
482
499
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -563,8 +580,8 @@ const ct = {
563
580
  */
564
581
  lazyLoadType: {
565
582
  type: String,
566
- default: z.props.lazyLoadType.default,
567
- validator: (n) => Object.values(K).includes(n)
583
+ default: U.props.lazyLoadType.default,
584
+ validator: (n) => Object.values(W).includes(n)
568
585
  },
569
586
  /*
570
587
  * If enabled, the user will be able to select multiple items.
@@ -604,7 +621,7 @@ const ct = {
604
621
  size: {
605
622
  type: String,
606
623
  default: null,
607
- validator: (n) => Object.values(M).includes(n)
624
+ validator: (n) => Object.values(N).includes(n)
608
625
  },
609
626
  /**
610
627
  * If enabled, dropdown will display non-selectable, static categories
@@ -634,123 +651,124 @@ const ct = {
634
651
  },
635
652
  emits: ["input", "show-more"],
636
653
  setup(n, { emit: t }) {
637
- var Q;
638
- const o = n, e = xe(), s = ae(), l = De(s), { t: a } = W(), r = _(null), v = _(null), p = _(null), f = _(!1), y = A("bento-dropdown-options-container"), S = A("dropdown-label"), g = A("dropdown-description"), x = A("dropdown-error"), { isReadOnly: h } = Ee(O(o, "readonly")), { cachedSelectedListboxOptions: w, cachedListboxSelectedValues: L, setCachedValues: i } = Be(
654
+ var ee;
655
+ const o = n, e = we(), s = ae(), a = Be(s), { t: l } = j(), i = b(null), v = b(null), u = b(null), m = b(!1), p = M("bento-dropdown-options-container"), L = M("dropdown-label"), g = M("dropdown-description"), h = M("dropdown-error"), { isReadOnly: x } = De(O(o, "readonly")), { cachedSelectedListboxOptions: w, cachedListboxSelectedValues: S, setCachedValues: r } = Ie(
639
656
  O(o, "items"),
640
657
  O(o, "value"),
641
658
  O(o, "multiple")
642
- ), c = _(e["aria-label"]), { ariaLabel: b, label: B } = le(o), re = $e({
659
+ ), f = b(e["aria-label"]), { ariaLabel: y, label: B } = re(o), de = Ee({
643
660
  // TODO: take ariaLabel ref away when aria-label prop is removed
644
- ariaLabel: b || c,
661
+ ariaLabel: y || f,
645
662
  label: B,
646
- defaultFallback: a("ariaLabelFallback")
647
- }), j = o.size === M.SMALL || we(pt, !1), de = u(() => j ? M.SMALL : M.DEFAULT), ue = u(() => ({
663
+ defaultFallback: l("ariaLabelFallback")
664
+ }), q = o.size === N.SMALL || Se(ft, !1), ce = c(() => q ? N.SMALL : N.DEFAULT), ue = c(() => ({
648
665
  "b-dropdown--condensed": o.condensed
649
- })), ce = u(() => ({
666
+ })), pe = c(() => ({
650
667
  "b-dropdown__description--error": !!o.errorMessage
651
- })), E = _(""), I = O(o, "items"), pe = ut(E, I, (Q = o == null ? void 0 : o.search) == null ? void 0 : Q.searchEvent), P = u(() => o.dynamicFiltering && !!E.value), fe = it({
668
+ })), E = b(""), I = O(o, "items"), fe = ut(E, I, (ee = o == null ? void 0 : o.search) == null ? void 0 : ee.searchEvent), F = c(() => o.dynamicFiltering && !!E.value), ve = it({
652
669
  items: I,
653
670
  placeholder: O(o, "placeholder"),
654
671
  selectedValues: w
655
- }), ve = u(() => {
672
+ }), me = c(() => {
656
673
  if (o != null && o.multiple && Array.isArray(o.value))
657
674
  return o.items.filter(
658
- ({ value: m }) => (o == null ? void 0 : o.value) && (o == null ? void 0 : o.value).includes(m)
675
+ ({ value: _ }) => (o == null ? void 0 : o.value) && (o == null ? void 0 : o.value).includes(_)
659
676
  );
660
677
  if (!o.multiple && o.staticCategories) {
661
- const m = o.items.find(
678
+ const _ = o.items.find(
662
679
  (T) => T.items.some((he) => he.value === o.value)
663
680
  );
664
- return m ? m.items.find((T) => T.value === o.value) : null;
681
+ return _ ? _.items.find((T) => T.value === o.value) : null;
665
682
  }
666
- return o.items.find(({ value: m }) => m === (o == null ? void 0 : o.value));
667
- }), U = u(() => {
668
- const m = o.items.findIndex(({ value: R }) => o.value === R);
669
- return m > 0 ? m : 0;
670
- }), { isMultiLevelSelect: q, flattenedItemsList: H } = Ie(I), me = u(() => {
671
- var m;
683
+ return o.items.find(({ value: _ }) => _ === (o == null ? void 0 : o.value));
684
+ }), H = c(() => {
685
+ const _ = o.items.findIndex(({ value: R }) => o.value === R);
686
+ return _ > 0 ? _ : 0;
687
+ }), { isMultiLevelSelect: V, flattenedItemsList: J } = Re(I), _e = c(() => {
688
+ var _;
672
689
  if (o.multiple) {
673
- const R = (m = o == null ? void 0 : o.value) == null ? void 0 : m.length, T = q.value ? H.value.length : I.value.length;
674
- return !o.hasMoreItems && T === R ? a("all") : R;
690
+ const R = (_ = o == null ? void 0 : o.value) == null ? void 0 : _.length, T = V.value ? J.value.length : I.value.length;
691
+ return !o.hasMoreItems && T === R ? l("all") : R;
675
692
  }
676
693
  return null;
677
- }), be = u(
678
- () => `${o.description ? g : ""} ${o.errorMessage ? x : ""}`.trim() || null
679
- ), V = () => {
680
- h.value || (f.value = !0);
681
- }, k = () => {
682
- f.value = !1;
683
- }, J = () => {
684
- h.value || (f.value = !f.value, P.value && (E.value = ""));
685
- }, ye = () => {
686
- P.value && (E.value = ""), f.value && (f.value = !1, p.value.onOutsideDropdownClick());
687
- }, Y = (m) => {
688
- o.multiple || (E.value = "", f.value = !1), i(m), t("input", L.value);
694
+ }), ye = c(
695
+ () => `${o.description ? g : ""} ${o.errorMessage ? h : ""}`.trim() || null
696
+ ), Y = () => {
697
+ x.value || (m.value = !0);
698
+ }, P = () => {
699
+ m.value = !1;
689
700
  }, Z = () => {
701
+ x.value || (m.value = !m.value, F.value && (E.value = ""));
702
+ }, be = () => {
703
+ F.value && (E.value = ""), m.value && (m.value = !1, u.value.onOutsideDropdownClick());
704
+ }, G = (_) => {
705
+ o.multiple || (E.value = "", m.value = !1), r(_), t("input", S.value);
706
+ }, Q = () => {
690
707
  t(d.SHOW_MORE);
691
- }, _e = rt(
708
+ }, ge = dt(
692
709
  {
693
- inputContainerRef: r,
694
- optionsContainerRef: p,
695
- selectedValueIndex: U,
696
- isDropdownOpen: f,
710
+ inputContainerRef: i,
711
+ optionsContainerRef: u,
712
+ selectedValueIndex: H,
713
+ isDropdownOpen: m,
697
714
  isDynamicFltering: O(o, "dynamicFiltering"),
698
715
  items: o.items,
699
716
  isMultiple: o.multiple
700
717
  },
701
- J,
702
- V,
703
- k
704
- ), G = dt(
718
+ Z,
719
+ Y,
720
+ P
721
+ ), X = ct(
705
722
  {
706
- inputContainerRef: r,
707
- isDropdownOpen: f
723
+ inputContainerRef: i,
724
+ isDropdownOpen: m
708
725
  },
709
- k
710
- ), ge = {
711
- [d.CLOSE_DROPDOWN]: k,
712
- [d.SELECT]: Y,
713
- [d.SHOW_MORE]: Z,
714
- ...G
726
+ P
727
+ ), xe = {
728
+ [d.CLOSE_DROPDOWN]: P,
729
+ [d.SELECT]: G,
730
+ [d.SHOW_MORE]: Q,
731
+ ...X
715
732
  };
716
- return o.error && X(
733
+ return o.error && te(
717
734
  'BentoDropdown "error" property',
718
735
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
719
736
  Having the field as "undefined" will hide/remove the error.
720
737
  <bento-dropdown errorMessage="Error message text" />`,
721
738
  "2.0.0"
722
- ), o.size && X('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), { __sfc: !0, attrs: e, slots: s, hasSlot: l, props: o, emit: t, t: a, inputContainerRef: r, inputContainerRefWrapper: v, optionsContainerRef: p, isDropdownOpen: f, dropdownOptionsContainerId: y, labelId: S, descriptionId: g, errorId: x, isReadOnly: h, cachedSelectedListboxOptions: w, cachedListboxSelectedValues: L, setCachedValues: i, ariaLabelAttribute: c, ariaLabel: b, label: B, computedAriaLabel: re, isInputComponent: j, size: de, conditionalClasses: ue, descriptionConditionalClasses: ce, searchTerm: E, items: I, filteredItems: pe, isSearching: P, displayValue: fe, selectedValueItem: ve, selectedValueIndex: U, isMultiLevelSelect: q, flattenedItemsList: H, additionalItemsSelected: me, ariaDescribedBy: be, openDropdown: V, closeDropdown: k, toggleDropdown: J, clickOutsideDropdown: ye, onOptionSelected: Y, emitShowMoreEvent: Z, textboxKeyboardNavigationListeners: _e, listboxKeyboardNavigationListeners: G, listboxListeners: ge, BentoDropdownOptionsContainer: je, BentoTypography: Le, ErrorMessage: Ae, FieldLabel: Me, vBentoClickOutsideDirective: Ce, vBentoKeyboardNavigationDirective: Re };
739
+ ), o.size && te('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), { __sfc: !0, attrs: e, slots: s, hasSlot: a, props: o, emit: t, t: l, inputContainerRef: i, inputContainerRefWrapper: v, optionsContainerRef: u, isDropdownOpen: m, dropdownOptionsContainerId: p, labelId: L, descriptionId: g, errorId: h, isReadOnly: x, cachedSelectedListboxOptions: w, cachedListboxSelectedValues: S, setCachedValues: r, ariaLabelAttribute: f, ariaLabel: y, label: B, computedAriaLabel: de, isInputComponent: q, size: ce, conditionalClasses: ue, descriptionConditionalClasses: pe, searchTerm: E, items: I, filteredItems: fe, isSearching: F, displayValue: ve, selectedValueItem: me, selectedValueIndex: H, isMultiLevelSelect: V, flattenedItemsList: J, additionalItemsSelected: _e, ariaDescribedBy: ye, openDropdown: Y, closeDropdown: P, toggleDropdown: Z, clickOutsideDropdown: be, onOptionSelected: G, emitShowMoreEvent: Q, textboxKeyboardNavigationListeners: ge, listboxKeyboardNavigationListeners: X, listboxListeners: xe, BentoDropdownOptionsContainer: je, BentoTypography: Le, ErrorMessage: Ne, FieldLabel: Me, vBentoClickOutsideDirective: $e, vBentoKeyboardNavigationDirective: Te };
723
740
  }
724
741
  });
725
- var mt = function() {
742
+ var _t = function() {
726
743
  var s;
727
744
  var t = this, o = t._self._c, e = t._self._setupProxy;
728
- return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.size, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(l) {
729
- e.searchTerm = l;
730
- }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(l, a) {
731
- return { key: a, fn: function(r) {
732
- return [t._t(a, null, null, r)];
745
+ return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.size, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(a) {
746
+ e.searchTerm = a;
747
+ }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(a, l) {
748
+ return { key: l, fn: function(i) {
749
+ return [t._t(l, null, null, i)];
733
750
  } };
734
- })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (s = t.search) == null ? void 0 : s.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": t.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(l, a) {
735
- return { key: a, fn: function(r) {
736
- return [t._t(a, null, null, r)];
751
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (s = t.search) == null ? void 0 : s.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": t.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(a, l) {
752
+ return { key: l, fn: function(i) {
753
+ return [t._t(l, null, null, i)];
737
754
  } };
738
755
  })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? o(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? o(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
739
756
  return [t._v(" " + t._s(t.description) + " ")];
740
757
  })], 2) : t._e()], 1);
741
- }, bt = [], yt = /* @__PURE__ */ N(
742
- vt,
758
+ }, yt = [], bt = /* @__PURE__ */ k(
743
759
  mt,
744
- bt,
760
+ _t,
761
+ yt,
745
762
  !1,
746
763
  null,
747
- "aa06f131"
764
+ "aa06f131",
765
+ null,
766
+ null
748
767
  );
749
- const Rt = yt.exports;
768
+ const At = bt.exports;
750
769
  export {
751
- Rt as B,
752
- pt as I,
753
- M as a,
770
+ At as B,
771
+ ft as I,
754
772
  ut as u
755
773
  };
756
- //# sourceMappingURL=dropdown.yhhQCKve.js.map
774
+ //# sourceMappingURL=dropdown.9bee6e1d.js.map