@adyen/bento-vue2 1.51.0 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +583 -79
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button-actions-with-menu.css +1 -1
  9. package/dist/assets/calendar.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/checkbox-input.css +1 -1
  12. package/dist/assets/checkbox.css +1 -1
  13. package/dist/assets/dashed-underline.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-picker.css +1 -1
  16. package/dist/assets/date-range-picker.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/filter-bar.css +1 -1
  21. package/dist/assets/form-layout-title.css +1 -1
  22. package/dist/assets/header-with-views.css +1 -0
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/input-field-phone-number.css +1 -1
  25. package/dist/assets/input-field.css +1 -1
  26. package/dist/assets/inspector.css +1 -1
  27. package/dist/assets/menu.css +1 -1
  28. package/dist/assets/modal-fullscreen.css +1 -1
  29. package/dist/assets/popover.css +1 -1
  30. package/dist/assets/sidepanel.css +1 -1
  31. package/dist/assets/summary-grid-item-custom.css +1 -1
  32. package/dist/assets/use-cached-selected-values.css +1 -1
  33. package/dist/button.js +1 -1
  34. package/dist/card.js +1 -1
  35. package/dist/checkbox.js +3 -3
  36. package/dist/chunks/{action-bar.DGhojWpe.js → action-bar.Cuktzrp5.js} +5 -5
  37. package/dist/chunks/{action-bar.DGhojWpe.js.map → action-bar.Cuktzrp5.js.map} +1 -1
  38. package/dist/chunks/{alert.BSBLkXkM.js → alert.BkMKX9wD.js} +9 -9
  39. package/dist/chunks/alert.BkMKX9wD.js.map +1 -0
  40. package/dist/chunks/{base-modal.Dan5WQin.js → base-modal.DnaWOvaM.js} +4 -4
  41. package/dist/chunks/{base-modal.Dan5WQin.js.map → base-modal.DnaWOvaM.js.map} +1 -1
  42. package/dist/chunks/bin.DuebwJYu.js +24 -0
  43. package/dist/chunks/bin.DuebwJYu.js.map +1 -0
  44. package/dist/chunks/button-actions-with-menu.twMFsb82.js +166 -0
  45. package/dist/chunks/button-actions-with-menu.twMFsb82.js.map +1 -0
  46. package/dist/chunks/{button-actions.GhdYBSwt.js → button-actions.DAvSJtOB.js} +3 -3
  47. package/dist/chunks/{button-actions.GhdYBSwt.js.map → button-actions.DAvSJtOB.js.map} +1 -1
  48. package/dist/chunks/calendar.CJToU_uI.js +1130 -0
  49. package/dist/chunks/calendar.CJToU_uI.js.map +1 -0
  50. package/dist/chunks/{card.Csazj5Qz.js → card.AQO_BjGb.js} +2 -2
  51. package/dist/chunks/{card.Csazj5Qz.js.map → card.AQO_BjGb.js.map} +1 -1
  52. package/dist/chunks/{checkbox-group.DcJ31aLq.js → checkbox-group.DkM6n3JR.js} +4 -4
  53. package/dist/chunks/{checkbox-group.DcJ31aLq.js.map → checkbox-group.DkM6n3JR.js.map} +1 -1
  54. package/dist/chunks/checkbox-input.CMhyJDdo.js +129 -0
  55. package/dist/chunks/checkbox-input.CMhyJDdo.js.map +1 -0
  56. package/dist/chunks/checkbox.l7h6GYew.js +176 -0
  57. package/dist/chunks/checkbox.l7h6GYew.js.map +1 -0
  58. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
  59. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
  60. package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
  61. package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
  62. package/dist/chunks/{code-snippet.z_G2UXVT.js → code-snippet.BsEe6nml.js} +5 -5
  63. package/dist/chunks/{code-snippet.z_G2UXVT.js.map → code-snippet.BsEe6nml.js.map} +1 -1
  64. package/dist/chunks/{controls-group.ghJ7a8PY.js → controls-group.vFyThDMU.js} +2 -2
  65. package/dist/chunks/{controls-group.ghJ7a8PY.js.map → controls-group.vFyThDMU.js.map} +1 -1
  66. package/dist/chunks/{copy.BNOiinIt.js → copy.DD_Yfyn_.js} +3 -3
  67. package/dist/chunks/{copy.BNOiinIt.js.map → copy.DD_Yfyn_.js.map} +1 -1
  68. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
  69. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
  70. package/dist/chunks/{dashboard-section.Db_E382r.js → dashboard-section.z-Rnv5E-.js} +3 -3
  71. package/dist/chunks/{dashboard-section.Db_E382r.js.map → dashboard-section.z-Rnv5E-.js.map} +1 -1
  72. package/dist/chunks/{dashed-underline.CAhDrAG_.js → dashed-underline.CfQuYKV9.js} +8 -8
  73. package/dist/chunks/{dashed-underline.CAhDrAG_.js.map → dashed-underline.CfQuYKV9.js.map} +1 -1
  74. package/dist/chunks/{data-grid-template.DG5IWdLG.js → data-grid-template.73mazFER.js} +2 -2
  75. package/dist/chunks/{data-grid-template.DG5IWdLG.js.map → data-grid-template.73mazFER.js.map} +1 -1
  76. package/dist/chunks/{data-grid.CHV-FvBB.js → data-grid.C_Xoz-GC.js} +38 -28
  77. package/dist/chunks/data-grid.C_Xoz-GC.js.map +1 -0
  78. package/dist/chunks/date-picker.bgk9aymW.js +235 -0
  79. package/dist/chunks/date-picker.bgk9aymW.js.map +1 -0
  80. package/dist/chunks/date-range-picker.-s05jOQA.js +903 -0
  81. package/dist/chunks/date-range-picker.-s05jOQA.js.map +1 -0
  82. package/dist/chunks/{date.YLIcAerL.js → date.dYFFEunA.js} +12 -12
  83. package/dist/chunks/{date.YLIcAerL.js.map → date.dYFFEunA.js.map} +1 -1
  84. package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
  85. package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
  86. package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js → dropdown-default-textbox.CDTdHfTv.js} +2 -2
  87. package/dist/chunks/{dropdown-default-textbox.DzPBw4CV.js.map → dropdown-default-textbox.CDTdHfTv.js.map} +1 -1
  88. package/dist/chunks/{dropdown-tag.K4idCLeu.js → dropdown-tag.8qh8J-NE.js} +4 -4
  89. package/dist/chunks/{dropdown-tag.K4idCLeu.js.map → dropdown-tag.8qh8J-NE.js.map} +1 -1
  90. package/dist/chunks/{dropdown.DFEGHxjw.js → dropdown.DzWXcJyF.js} +141 -132
  91. package/dist/chunks/dropdown.DzWXcJyF.js.map +1 -0
  92. package/dist/chunks/{error-message.B3oWB_HM.js → error-message.CzQf7YOD.js} +3 -3
  93. package/dist/chunks/{error-message.B3oWB_HM.js.map → error-message.CzQf7YOD.js.map} +1 -1
  94. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  95. package/dist/chunks/{file-uploader.DaBMZSsB.js → file-uploader.CcZPr-jD.js} +329 -328
  96. package/dist/chunks/file-uploader.CcZPr-jD.js.map +1 -0
  97. package/dist/chunks/{filter-bar.DClIG9aP.js → filter-bar.BdGtQC7p.js} +619 -668
  98. package/dist/chunks/filter-bar.BdGtQC7p.js.map +1 -0
  99. package/dist/chunks/{focus-trap._RrLaKlq.js → focus-trap.CIUzScHc.js} +2 -2
  100. package/dist/chunks/{focus-trap._RrLaKlq.js.map → focus-trap.CIUzScHc.js.map} +1 -1
  101. package/dist/chunks/{footer-actions.D0SuJroc.js → footer-actions.BkHpWa7A.js} +2 -2
  102. package/dist/chunks/{footer-actions.D0SuJroc.js.map → footer-actions.BkHpWa7A.js.map} +1 -1
  103. package/dist/chunks/{form-layout-title.C1n2S73_.js → form-layout-title.DK1-01RH.js} +50 -47
  104. package/dist/chunks/form-layout-title.DK1-01RH.js.map +1 -0
  105. package/dist/chunks/header-with-views.ChEgH2tn.js +1536 -0
  106. package/dist/chunks/header-with-views.ChEgH2tn.js.map +1 -0
  107. package/dist/chunks/header.0hX8OYwM.js +183 -0
  108. package/dist/chunks/header.0hX8OYwM.js.map +1 -0
  109. package/dist/chunks/index.BCUiAdb6.js +387 -0
  110. package/dist/chunks/{index.CU8GKq4C.js.map → index.BCUiAdb6.js.map} +1 -1
  111. package/dist/chunks/index.BDuTpjD8.js +40 -0
  112. package/dist/chunks/index.BDuTpjD8.js.map +1 -0
  113. package/dist/chunks/index.BxBB1rsx.js +15 -0
  114. package/dist/chunks/index.BxBB1rsx.js.map +1 -0
  115. package/dist/chunks/index.DD7TppDb.js +10 -0
  116. package/dist/chunks/index.DD7TppDb.js.map +1 -0
  117. package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js → info-icon-with-popover.w6MpKOWh.js} +3 -3
  118. package/dist/chunks/{info-icon-with-popover.C29aZ1Vh.js.map → info-icon-with-popover.w6MpKOWh.js.map} +1 -1
  119. package/dist/chunks/{info-icon.bXR5eo6I.js → info-icon.C1ReXurF.js} +4 -4
  120. package/dist/chunks/{info-icon.bXR5eo6I.js.map → info-icon.C1ReXurF.js.map} +1 -1
  121. package/dist/chunks/info.4d_mJHvT.js +24 -0
  122. package/dist/chunks/info.4d_mJHvT.js.map +1 -0
  123. package/dist/chunks/input-field-password.CZn4kW8v.js +198 -0
  124. package/dist/chunks/input-field-password.CZn4kW8v.js.map +1 -0
  125. package/dist/chunks/{input-field-phone-number.Bmugk7fI.js → input-field-phone-number.C8WTJ1W-.js} +324 -321
  126. package/dist/chunks/{input-field-phone-number.Bmugk7fI.js.map → input-field-phone-number.C8WTJ1W-.js.map} +1 -1
  127. package/dist/chunks/input-field.tP3Eupoo.js +152 -0
  128. package/dist/chunks/input-field.tP3Eupoo.js.map +1 -0
  129. package/dist/chunks/{inspector.types.C9Oc8FgA.js → inspector.types.A0b4jNO3.js} +3 -3
  130. package/dist/chunks/{inspector.types.C9Oc8FgA.js.map → inspector.types.A0b4jNO3.js.map} +1 -1
  131. package/dist/chunks/{layout-row.CHwDU8yK.js → layout-row.BgBazwnM.js} +2 -2
  132. package/dist/chunks/{layout-row.CHwDU8yK.js.map → layout-row.BgBazwnM.js.map} +1 -1
  133. package/dist/chunks/{listbox-option-tag.bPRcATJK.js → listbox-option-tag.T9cfTst7.js} +2 -2
  134. package/dist/chunks/{listbox-option-tag.bPRcATJK.js.map → listbox-option-tag.T9cfTst7.js.map} +1 -1
  135. package/dist/chunks/{menu.CzbkunwY.js → menu.CY7ceslP.js} +88 -87
  136. package/dist/chunks/menu.CY7ceslP.js.map +1 -0
  137. package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js → modal-fullscreen.Dz5w250z.js} +3 -3
  138. package/dist/chunks/{modal-fullscreen.C4D3Rkdg.js.map → modal-fullscreen.Dz5w250z.js.map} +1 -1
  139. package/dist/chunks/{modal.DgCmKjQC.js → modal.CnmRkXZM.js} +4 -4
  140. package/dist/chunks/{modal.DgCmKjQC.js.map → modal.CnmRkXZM.js.map} +1 -1
  141. package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
  142. package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
  143. package/dist/chunks/{pagination.CdOxfZW2.js → pagination.CvGOUwd8.js} +2 -2
  144. package/dist/chunks/{pagination.CdOxfZW2.js.map → pagination.CvGOUwd8.js.map} +1 -1
  145. package/dist/chunks/payment-method.NZKiNOmM.js +76 -0
  146. package/dist/chunks/payment-method.NZKiNOmM.js.map +1 -0
  147. package/dist/chunks/{popover.3sHql3nd.js → popover.BvsqsZQ1.js} +3 -3
  148. package/dist/chunks/{popover.3sHql3nd.js.map → popover.BvsqsZQ1.js.map} +1 -1
  149. package/dist/chunks/{popper-container.Bqy3oVj6.js → popper-container.LRQgzjRf.js} +2 -2
  150. package/dist/chunks/{popper-container.Bqy3oVj6.js.map → popper-container.LRQgzjRf.js.map} +1 -1
  151. package/dist/chunks/{promo-banner.BIICM7FC.js → promo-banner.DDnJwMDC.js} +2 -2
  152. package/dist/chunks/{promo-banner.BIICM7FC.js.map → promo-banner.DDnJwMDC.js.map} +1 -1
  153. package/dist/chunks/{radio-group.L-XokgwC.js → radio-group.BvswbJa8.js} +4 -4
  154. package/dist/chunks/{radio-group.L-XokgwC.js.map → radio-group.BvswbJa8.js.map} +1 -1
  155. package/dist/chunks/{search-bar.CDTWPjG1.js → search-bar.kKLreEXo.js} +5 -5
  156. package/dist/chunks/{search-bar.CDTWPjG1.js.map → search-bar.kKLreEXo.js.map} +1 -1
  157. package/dist/chunks/search.DLtglc02.js +24 -0
  158. package/dist/chunks/search.DLtglc02.js.map +1 -0
  159. package/dist/chunks/{secondary-nav.BwmBTvl5.js → secondary-nav.C6bfsK2p.js} +3 -3
  160. package/dist/chunks/{secondary-nav.BwmBTvl5.js.map → secondary-nav.C6bfsK2p.js.map} +1 -1
  161. package/dist/chunks/{segmented-control.CW6v1rDg.js → segmented-control.BywW3ont.js} +2 -2
  162. package/dist/chunks/{segmented-control.CW6v1rDg.js.map → segmented-control.BywW3ont.js.map} +1 -1
  163. package/dist/chunks/{selection-card-group.CURxGbd9.js → selection-card-group.Ca4G00h5.js} +5 -5
  164. package/dist/chunks/{selection-card-group.CURxGbd9.js.map → selection-card-group.Ca4G00h5.js.map} +1 -1
  165. package/dist/chunks/{sidepanel.MBArfd4a.js → sidepanel.D4H3Vu0m.js} +4 -4
  166. package/dist/chunks/{sidepanel.MBArfd4a.js.map → sidepanel.D4H3Vu0m.js.map} +1 -1
  167. package/dist/chunks/{structured-list-item.CYYZ1Fil.js → structured-list-item.Bv8reTz2.js} +5 -5
  168. package/dist/chunks/{structured-list-item.CYYZ1Fil.js.map → structured-list-item.Bv8reTz2.js.map} +1 -1
  169. package/dist/chunks/{summary-grid-item-custom.CVEhwKNM.js → summary-grid-item-custom.Bbdie4EL.js} +188 -135
  170. package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js.map +1 -0
  171. package/dist/chunks/{tag.BxmageRW.js → tag.IyMxowGc.js} +2 -2
  172. package/dist/chunks/{tag.BxmageRW.js.map → tag.IyMxowGc.js.map} +1 -1
  173. package/dist/chunks/{teleport.B5fwsT5y.js → teleport.BHfrns33.js} +2 -2
  174. package/dist/chunks/{teleport.B5fwsT5y.js.map → teleport.BHfrns33.js.map} +1 -1
  175. package/dist/chunks/{textarea.DmjhRupr.js → textarea.B9HjT5LH.js} +2 -2
  176. package/dist/chunks/{textarea.DmjhRupr.js.map → textarea.B9HjT5LH.js.map} +1 -1
  177. package/dist/chunks/{timeline-item.CLbS-cEf.js → timeline-item.BIwk0vqM.js} +12 -11
  178. package/dist/chunks/{timeline-item.CLbS-cEf.js.map → timeline-item.BIwk0vqM.js.map} +1 -1
  179. package/dist/chunks/{tooltip.Vgoc41cI.js → tooltip.DShIiBiY.js} +2 -2
  180. package/dist/chunks/{tooltip.Vgoc41cI.js.map → tooltip.DShIiBiY.js.map} +1 -1
  181. package/dist/chunks/{tutorial.CmLMgXDK.js → tutorial.DDlXTjAO.js} +42 -42
  182. package/dist/chunks/tutorial.DDlXTjAO.js.map +1 -0
  183. package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js → use-cached-selected-values.LVldNial.js} +13 -9
  184. package/dist/chunks/{use-cached-selected-values.DVcpkFV3.js.map → use-cached-selected-values.LVldNial.js.map} +1 -1
  185. package/dist/click-outside.js +1 -1
  186. package/dist/code-snippet.js +1 -1
  187. package/dist/dashboard-template.js +1 -1
  188. package/dist/dashed-underline.js +2 -2
  189. package/dist/data-grid-template.js +1 -1
  190. package/dist/data-grid.js +1 -1
  191. package/dist/date-picker.js +2 -2
  192. package/dist/date-range-picker.js +2 -2
  193. package/dist/date.js +1 -1
  194. package/dist/dropdown.js +4 -4
  195. package/dist/file-uploader.js +1 -1
  196. package/dist/filter-bar.js +1 -1
  197. package/dist/focus-trap.js +1 -1
  198. package/dist/form-layout.js +1 -1
  199. package/dist/header-with-views.js +5 -0
  200. package/dist/header-with-views.js.map +1 -0
  201. package/dist/header.js +1 -1
  202. package/dist/index.js +200 -198
  203. package/dist/index.js.map +1 -1
  204. package/dist/info-icon.js +1 -1
  205. package/dist/input-field-password.js +1 -1
  206. package/dist/input-field-phone-number.js +1 -1
  207. package/dist/input-field.js +1 -1
  208. package/dist/inspector.js +1 -1
  209. package/dist/internal.js +35 -33
  210. package/dist/layout.js +1 -1
  211. package/dist/menu.js +1 -1
  212. package/dist/modal-fullscreen.js +1 -1
  213. package/dist/modal.js +2 -2
  214. package/dist/pagination.js +1 -1
  215. package/dist/payment-method.js +1 -1
  216. package/dist/popover.js +1 -1
  217. package/dist/popper-container.js +1 -1
  218. package/dist/promo-banner.js +1 -1
  219. package/dist/radio-group.js +1 -1
  220. package/dist/search-bar.js +2 -2
  221. package/dist/secondary-nav.js +1 -1
  222. package/dist/segmented-control.js +1 -1
  223. package/dist/selection-card.js +1 -1
  224. package/dist/sidepanel.js +1 -1
  225. package/dist/structured-list.js +1 -1
  226. package/dist/styles/bento-dark.css +73 -1
  227. package/dist/styles/bento-light.css +73 -1
  228. package/dist/styles/bento.css +73 -1
  229. package/dist/styles/legacy.css +75 -3
  230. package/dist/styles/styleguide.css +73 -1
  231. package/dist/summary-grid.js +1 -1
  232. package/dist/tag.js +1 -1
  233. package/dist/textarea.js +1 -1
  234. package/dist/timeline.js +1 -1
  235. package/dist/tutorial.js +1 -1
  236. package/dist/use-form-v4.js +8300 -0
  237. package/dist/use-form-v4.js.map +1 -0
  238. package/dist/web-types.json +1005 -206
  239. package/package.json +9 -8
  240. package/dist/chunks/alert.BSBLkXkM.js.map +0 -1
  241. package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js +0 -112
  242. package/dist/chunks/button-actions-with-menu.B5gcSgRQ.js.map +0 -1
  243. package/dist/chunks/calendar.YJTNpmzh.js +0 -888
  244. package/dist/chunks/calendar.YJTNpmzh.js.map +0 -1
  245. package/dist/chunks/checkbox-input.B4A_gL2b.js +0 -128
  246. package/dist/chunks/checkbox-input.B4A_gL2b.js.map +0 -1
  247. package/dist/chunks/checkbox.BpF0HY7C.js +0 -162
  248. package/dist/chunks/checkbox.BpF0HY7C.js.map +0 -1
  249. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js +0 -24
  250. package/dist/chunks/checkmark-circle-fill.C46dV1Rf.js.map +0 -1
  251. package/dist/chunks/cross-circle-fill.BawVYNw7.js +0 -24
  252. package/dist/chunks/cross-circle-fill.BawVYNw7.js.map +0 -1
  253. package/dist/chunks/data-grid.CHV-FvBB.js.map +0 -1
  254. package/dist/chunks/date-picker.CMj5-RQl.js +0 -213
  255. package/dist/chunks/date-picker.CMj5-RQl.js.map +0 -1
  256. package/dist/chunks/date-range-picker.Jysfo6h3.js +0 -885
  257. package/dist/chunks/date-range-picker.Jysfo6h3.js.map +0 -1
  258. package/dist/chunks/dropdown.DFEGHxjw.js.map +0 -1
  259. package/dist/chunks/file-uploader.DaBMZSsB.js.map +0 -1
  260. package/dist/chunks/filter-bar.DClIG9aP.js.map +0 -1
  261. package/dist/chunks/form-layout-title.C1n2S73_.js.map +0 -1
  262. package/dist/chunks/header.CRlxEGHb.js +0 -205
  263. package/dist/chunks/header.CRlxEGHb.js.map +0 -1
  264. package/dist/chunks/index.CU8GKq4C.js +0 -369
  265. package/dist/chunks/index.CrhTVr5J.js +0 -10
  266. package/dist/chunks/index.CrhTVr5J.js.map +0 -1
  267. package/dist/chunks/index.DDnf1O9p.js +0 -22
  268. package/dist/chunks/index.DDnf1O9p.js.map +0 -1
  269. package/dist/chunks/index.DPafeRJa.js +0 -10
  270. package/dist/chunks/index.DPafeRJa.js.map +0 -1
  271. package/dist/chunks/info.D4SG-AIm.js +0 -24
  272. package/dist/chunks/info.D4SG-AIm.js.map +0 -1
  273. package/dist/chunks/input-field-password.DsIpkc_9.js +0 -191
  274. package/dist/chunks/input-field-password.DsIpkc_9.js.map +0 -1
  275. package/dist/chunks/input-field.Dl2lXZda.js +0 -146
  276. package/dist/chunks/input-field.Dl2lXZda.js.map +0 -1
  277. package/dist/chunks/menu.CzbkunwY.js.map +0 -1
  278. package/dist/chunks/payment-method.BudFG3aC.js +0 -76
  279. package/dist/chunks/payment-method.BudFG3aC.js.map +0 -1
  280. package/dist/chunks/search.pVu-JVAN.js +0 -24
  281. package/dist/chunks/search.pVu-JVAN.js.map +0 -1
  282. package/dist/chunks/summary-grid-item-custom.CVEhwKNM.js.map +0 -1
  283. package/dist/chunks/tutorial.CmLMgXDK.js.map +0 -1
@@ -1,17 +1,17 @@
1
- import { ref as w, watch as ue, computed as p, defineComponent as A, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
1
+ import { ref as C, watch as ue, computed as p, defineComponent as R, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
2
2
  import { d as ie, B as Ee } from "./typography.J1v_SPG3.js";
3
- import { g as P } from "./generate-uid.NJ8tVoha.js";
3
+ import { g as k } from "./generate-uid.NJ8tVoha.js";
4
4
  import { u as De } from "./aria-label.CaUURpnB.js";
5
5
  import { u as V } from "./i18n.BQkEbtPM.js";
6
6
  import { u as Be } from "./use-form-layout-loading.D3lALhtC.js";
7
- import { a as U, b as k, c as Ie, B as F, D as Te } from "./dropdown-default-textbox.DzPBw4CV.js";
8
- import { u as Re } from "./use-has-slot.C9lQZ6nz.js";
9
- import { a as u, b as H, B as J, c as Ae, u as $e } from "./use-cached-selected-values.DVcpkFV3.js";
10
- import { B as D, a as Ne } from "./keyboard-navigation.pB8weElW.js";
11
- import { B as Me } from "./directive.O3yEdalv.js";
12
- import { F as ke, E as Pe } from "./error-message.B3oWB_HM.js";
13
- import { P as re } from "./popper-container.Bqy3oVj6.js";
14
- import { B as Fe } from "./popover.3sHql3nd.js";
7
+ import { a as U, b as P, c as Ie, B as F, D as Te } from "./dropdown-default-textbox.CDTdHfTv.js";
8
+ import { u as Ne } from "./use-has-slot.C9lQZ6nz.js";
9
+ import { a as u, b as H, B as J, c as Re, u as Ae } from "./use-cached-selected-values.LVldNial.js";
10
+ import { B as D, a as $e } from "./keyboard-navigation.pB8weElW.js";
11
+ import { B as Me } from "./directive.Cbdox5VL.js";
12
+ import { F as Pe, E as ke } from "./error-message.CzQf7YOD.js";
13
+ import { P as re } from "./popper-container.LRQgzjRf.js";
14
+ import { B as Fe } from "./popover.BvsqsZQ1.js";
15
15
  import { n as K } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
16
16
  /* empty css */
17
17
  import { s as q } from "./events.CMzGybJJ.js";
@@ -30,19 +30,19 @@ const Ke = {
30
30
  apply: "Aplicar",
31
31
  cancel: "Cancelar"
32
32
  }
33
- }, ze = (n, t, o, e) => {
34
- const a = w(n.value), { t: l } = V();
35
- ue(n, () => {
36
- a.value = n.value;
33
+ }, ze = (a, t, o, e) => {
34
+ const n = C(a.value), { t: l } = V();
35
+ ue(a, () => {
36
+ n.value = a.value;
37
37
  });
38
38
  const s = p(
39
- () => JSON.stringify(a.value) === JSON.stringify(n.value)
39
+ () => JSON.stringify(n.value) === JSON.stringify(a.value)
40
40
  ), i = () => {
41
- e(u.SELECT, a.value), e(u.CLOSE_DROPDOWN);
41
+ e(u.SELECT, n.value), e(u.CLOSE_DROPDOWN);
42
42
  }, c = () => {
43
- a.value = n.value, e(u.CLOSE_DROPDOWN);
43
+ n.value = a.value, e(u.CLOSE_DROPDOWN);
44
44
  }, m = () => {
45
- o.value && t.value && (a.value = n.value);
45
+ o.value && t.value && (n.value = a.value);
46
46
  }, r = p(() => [
47
47
  {
48
48
  title: l("apply"),
@@ -53,21 +53,21 @@ const Ke = {
53
53
  title: l("cancel"),
54
54
  event: c
55
55
  }
56
- ]), d = (b) => {
57
- a.value = b, t.value || e(u.SELECT, b);
58
- }, g = (b) => {
59
- d(b), e(u.TAB);
60
- }, h = (b) => {
61
- d(b), e(u.ENTER);
62
- }, v = (b) => {
63
- d(b), e(u.SPACE);
56
+ ]), d = (y) => {
57
+ n.value = y, t.value || e(u.SELECT, y);
58
+ }, g = (y) => {
59
+ d(y), e(u.TAB);
60
+ }, h = (y) => {
61
+ d(y), e(u.ENTER);
62
+ }, v = (y) => {
63
+ d(y), e(u.SPACE);
64
64
  }, O = () => {
65
65
  c(), e(u.ESCAPE);
66
- }, C = () => {
66
+ }, w = () => {
67
67
  e(u.SHOW_MORE);
68
68
  }, S = {
69
69
  [u.SELECT]: d,
70
- [u.SHOW_MORE]: C,
70
+ [u.SHOW_MORE]: w,
71
71
  [u.TAB]: g,
72
72
  [u.SPACE]: v,
73
73
  [u.ENTER]: h
@@ -75,22 +75,26 @@ const Ke = {
75
75
  return {
76
76
  // Values
77
77
  actions: r,
78
- internalSelectedValue: a,
78
+ internalSelectedValue: n,
79
79
  // Methods
80
80
  listeners: S,
81
81
  onEscapeKey: O,
82
82
  onOutsideDropdownClick: m
83
83
  };
84
- }, We = A({
84
+ }, je = R({
85
85
  i18n: { messages: Ke },
86
86
  name: "bento-dropdown-options-container"
87
- }), je = /* @__PURE__ */ A({
88
- ...We,
87
+ }), We = /* @__PURE__ */ R({
88
+ ...je,
89
89
  props: {
90
90
  /**
91
91
  * Defines a string value that labels an interactive element.
92
92
  */
93
93
  ariaLabel: { type: String, default: null },
94
+ /**
95
+ * Indicates that dropdown items are loading
96
+ */
97
+ componentLoading: { type: Boolean, default: !1 },
94
98
  /**
95
99
  * Empty state props used with the inner empty state component which is displayed when no search results are found.
96
100
  */
@@ -141,10 +145,10 @@ const Ke = {
141
145
  lazyLoadType: {
142
146
  type: String,
143
147
  default: J.AUTOMATIC,
144
- validator: (n) => Object.values(J).includes(n)
148
+ validator: (a) => Object.values(J).includes(a)
145
149
  },
146
150
  /**
147
- * Indicates if new options are loading.
151
+ * Indicates if new options are lazy loading.
148
152
  */
149
153
  loading: { type: Boolean, default: !1 },
150
154
  /**
@@ -191,12 +195,12 @@ const Ke = {
191
195
  }
192
196
  },
193
197
  emits: [],
194
- setup(n, { expose: t, emit: o }) {
195
- const e = n, a = pe(), { selectedValue: l, multiple: s } = fe(e), i = w(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
198
+ setup(a, { expose: t, emit: o }) {
199
+ const e = a, n = pe(), { selectedValue: l, multiple: s } = fe(e), i = C(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
196
200
  "b-dropdown-options-container--single": !(e != null && e.multiple)
197
201
  })), g = p(() => ({
198
202
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
199
- })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: S } = ze(l, s, m, o), b = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
203
+ })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S } = ze(l, s, m, o), y = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
200
204
  var T;
201
205
  const B = {
202
206
  "min-width": `${(T = e == null ? void 0 : e.targetElement) == null ? void 0 : T.clientWidth}px`,
@@ -207,7 +211,7 @@ const Ke = {
207
211
  actions: h.value,
208
212
  divider: !0,
209
213
  fallbackPosition: ["top-start"],
210
- id: P(`dropdown-options-${e.id}`),
214
+ id: k(`dropdown-options-${e.id}`),
211
215
  open: e.open,
212
216
  position: "bottom-start",
213
217
  style: {
@@ -228,25 +232,25 @@ const Ke = {
228
232
  });
229
233
  return t({
230
234
  onOutsideDropdownClick: S
231
- }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: C, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: I, BentoListbox: H };
235
+ }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: I, BentoListbox: H };
232
236
  }
233
237
  });
234
238
  var Ue = function() {
235
239
  var t = this, o = t._self._c, e = t._self._setupProxy;
236
- 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(a) {
237
- return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
238
- } } }, [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(a, l) {
240
+ 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(n) {
241
+ return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
242
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "component-loading": t.componentLoading, "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(n, l) {
239
243
  return { key: l, fn: function(s) {
240
244
  return [t._t(l, null, null, s)];
241
245
  } };
242
246
  })], null, !0) }, e.listeners))], 1)]);
243
247
  }, qe = [], He = /* @__PURE__ */ K(
244
- je,
248
+ We,
245
249
  Ue,
246
250
  qe,
247
251
  !1,
248
252
  null,
249
- "b7543bfc"
253
+ "35feb278"
250
254
  );
251
255
  const Je = He.exports;
252
256
  let de = 0;
@@ -284,11 +288,11 @@ var et = function() {
284
288
  null,
285
289
  null
286
290
  );
287
- const at = ot.exports, nt = A({
291
+ const nt = ot.exports, at = R({
288
292
  name: "dropdown-small-textbox",
289
293
  inheritAttrs: !1
290
- }), st = /* @__PURE__ */ A({
291
- ...nt,
294
+ }), st = /* @__PURE__ */ R({
295
+ ...at,
292
296
  props: {
293
297
  /**
294
298
  * The number of additional items that have been selected in the dropdown.
@@ -348,8 +352,8 @@ const at = ot.exports, nt = A({
348
352
  value: { type: String, default: "" }
349
353
  },
350
354
  emits: ["clear", "close", "input", "keydown", "open"],
351
- setup(n, { expose: t, emit: o }) {
352
- const e = n, a = w(null), l = p(() => ({
355
+ setup(a, { expose: t, emit: o }) {
356
+ const e = a, n = C(null), l = p(() => ({
353
357
  [`b-dropdown-small-textbox--${U.DISABLED}`]: e.disabled,
354
358
  [`b-dropdown-small-textbox--${U.READONLY}`]: e.readonly,
355
359
  [`b-dropdown-small-textbox--${U.OPENED}`]: e.open
@@ -364,17 +368,17 @@ const at = ot.exports, nt = A({
364
368
  }, d = (v) => {
365
369
  q(v), o("clear");
366
370
  }, g = {
367
- [k.INPUT]: i,
368
- [k.OPEN]: m,
369
- [k.CLOSE]: r,
370
- [k.CLEAR]: d,
371
- [k.KEYDOWN]: c
371
+ [P.INPUT]: i,
372
+ [P.OPEN]: m,
373
+ [P.CLOSE]: r,
374
+ [P.CLEAR]: d,
375
+ [P.KEYDOWN]: c
372
376
  }, h = () => {
373
- a.value.focus();
377
+ n.value.focus();
374
378
  };
375
379
  return t({
376
380
  focus: h
377
- }), { __sfc: !0, emit: o, props: e, baseTextbox: a, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: at };
381
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: nt };
378
382
  }
379
383
  });
380
384
  var lt = function() {
@@ -390,47 +394,47 @@ var lt = function() {
390
394
  null,
391
395
  "d0e53db8"
392
396
  );
393
- const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
397
+ const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
394
398
  if (e.items) {
395
- const a = e.items.filter(
396
- (s) => n.value.find((i) => i.value === s.value)
399
+ const n = e.items.filter(
400
+ (s) => a.value.find((i) => i.value === s.value)
397
401
  );
398
- a.length === e.items.length ? o.push(e.displayValue ?? e.label) : a.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
402
+ n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
399
403
  }
400
- return n.value.find((a) => a.value === e.value) && o.push(e.displayValue ?? e.label), o;
401
- }, []).join(", "), ut = ({ items: n, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
402
- const a = p(
403
- () => e.value && n.value.find((s) => {
404
+ return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
405
+ }, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
406
+ const n = p(
407
+ () => e.value && a.value.find((s) => {
404
408
  var i;
405
409
  return (i = s.items) == null ? void 0 : i.length;
406
410
  })
407
411
  );
408
- return p(() => o.value.length ? a.value ? ct(o, n) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
409
- }, ve = (n) => {
412
+ return p(() => o.value.length ? n.value ? ct(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
413
+ }, ve = (a) => {
410
414
  var t;
411
- (t = n.value.$children) == null || t[0].$refs.textbox.focus();
415
+ (t = a.value.$children) == null || t[0].$refs.textbox.focus();
412
416
  }, pt = ({
413
- inputContainerRef: n,
417
+ inputContainerRef: a,
414
418
  optionsContainerRef: t,
415
419
  selectedValueIndex: o,
416
420
  isDropdownOpen: e,
417
- isDynamicFltering: a,
421
+ isDynamicFltering: n,
418
422
  items: l,
419
423
  isMultiple: s
420
424
  }, i, c, m) => {
421
425
  const r = async (f) => {
422
- var y, E;
423
- a.value && await L(), (E = (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
426
+ var b, E;
427
+ n.value && await L(), (E = (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
424
428
  }, d = async (f) => {
425
429
  var E, z;
426
- a.value && await L();
427
- const y = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
430
+ n.value && await L();
431
+ const b = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
428
432
  "button"
429
433
  );
430
- y.length ? (z = y[f]) == null || z.focus() : r(f);
434
+ b.length ? (z = b[f]) == null || z.focus() : r(f);
431
435
  }, g = (f) => {
432
- var y;
433
- return (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.setListboxFocusedIndex(
436
+ var b;
437
+ return (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.setListboxFocusedIndex(
434
438
  f
435
439
  );
436
440
  }, h = ({ detail: f }) => {
@@ -445,16 +449,16 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
445
449
  e.value || (c(), L(() => {
446
450
  var f;
447
451
  if (s) {
448
- const y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
449
- (f = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[l.length - 1]) == null || f.focus();
452
+ const b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
453
+ (f = b == null ? void 0 : b[b.length - 1].$el.querySelectorAll('[role="option"]')[l.length - 1]) == null || f.focus();
450
454
  } else
451
455
  g(l.length - 1), r(l.length - 1);
452
456
  }));
453
- }, C = () => {
454
- e.value && (m(), ve(n));
457
+ }, w = () => {
458
+ e.value && (m(), ve(a));
455
459
  }, S = () => {
456
460
  e.value && m();
457
- }, b = () => {
461
+ }, y = () => {
458
462
  e.value || c(), L(() => {
459
463
  s ? d(0) : r(0);
460
464
  });
@@ -468,19 +472,19 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
468
472
  });
469
473
  };
470
474
  return p(() => ({
471
- ...a.value ? {} : { [D.SPACE]: I },
475
+ ...n.value ? {} : { [D.SPACE]: I },
472
476
  [D.ENTER]: B,
473
477
  [D.ARROW_DOWN]: h,
474
478
  [D.ARROW_UP]: v,
475
479
  [D.END]: O,
476
- [D.ESCAPE]: C,
477
- [D.HOME]: b,
480
+ [D.ESCAPE]: w,
481
+ [D.HOME]: y,
478
482
  [D.TAB]: S
479
483
  }));
480
- }, ft = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
484
+ }, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
481
485
  const e = () => {
482
486
  t.value && o(), L(() => {
483
- ve(n);
487
+ ve(a);
484
488
  });
485
489
  };
486
490
  return {
@@ -490,14 +494,14 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
490
494
  [u.SPACE]: e
491
495
  };
492
496
  };
493
- function vt(n, t, o, e) {
494
- const a = w(n), l = w(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
495
- return ue(a, () => {
496
- o !== void 0 && o(a.value);
497
+ function vt(a, t, o, e) {
498
+ const n = C(a), l = C(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
499
+ return ue(n, () => {
500
+ o !== void 0 && o(n.value);
497
501
  }), p(() => {
498
- if (!a.value || o !== void 0)
502
+ if (!n.value || o !== void 0)
499
503
  return l.value;
500
- const c = a.value.toLocaleLowerCase();
504
+ const c = n.value.toLocaleLowerCase();
501
505
  return s(c, l.value);
502
506
  });
503
507
  }
@@ -515,15 +519,15 @@ const mt = {
515
519
  all: "Todos",
516
520
  clearFilter: "Limpar filtro"
517
521
  }
518
- }, bt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), yt = A({
522
+ }, yt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), Kt = Symbol("input field parent component injection key"), bt = R({
519
523
  i18n: { messages: mt },
520
524
  name: "b-dropdown",
521
525
  components: {
522
526
  DropdownInputDefault: Te,
523
527
  DropdownInputSmall: dt
524
528
  }
525
- }), _t = /* @__PURE__ */ A({
526
- ...yt,
529
+ }), _t = /* @__PURE__ */ R({
530
+ ...bt,
527
531
  props: {
528
532
  /**
529
533
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -600,9 +604,13 @@ const mt = {
600
604
  */
601
605
  label: { type: String, default: null },
602
606
  /**
603
- * Indicates if new options are loading.
607
+ * Indicates if new options are lazy loading.
604
608
  */
605
609
  loading: { type: Boolean, default: !1 },
610
+ /**
611
+ * Indicates that dropdown items are loading
612
+ */
613
+ componentLoading: { type: Boolean, default: !1 },
606
614
  /**
607
615
  * The type of `Lazy Load`.
608
616
  * Type "automatic" will enable infinite scrolling
@@ -611,7 +619,7 @@ const mt = {
611
619
  lazyLoadType: {
612
620
  type: String,
613
621
  default: H.props.lazyLoadType.default,
614
- validator: (n) => Object.values(J).includes(n)
622
+ validator: (a) => Object.values(J).includes(a)
615
623
  },
616
624
  /*
617
625
  * If enabled, the user will be able to select multiple items.
@@ -651,7 +659,7 @@ const mt = {
651
659
  size: {
652
660
  type: String,
653
661
  default: null,
654
- validator: (n) => Object.values(F).includes(n)
662
+ validator: (a) => Object.values(F).includes(a)
655
663
  },
656
664
  /**
657
665
  * If enabled, dropdown will display non-selectable, static categories
@@ -680,23 +688,23 @@ const mt = {
680
688
  }
681
689
  },
682
690
  emits: ["input", "show-more"],
683
- setup(n, { expose: t, emit: o }) {
691
+ setup(a, { expose: t, emit: o }) {
684
692
  var le;
685
- const e = n, a = Le(), l = pe(), s = Re(l), { t: i } = V(), c = w(null), m = w(null), r = w(null), d = w(!1), g = P("bento-dropdown-options-container"), h = P("dropdown-label"), v = P("dropdown-description"), O = P("dropdown-error"), { isReadOnly: C } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I } = Ae(
693
+ const e = a, n = Le(), l = pe(), s = Ne(l), { t: i } = V(), c = C(null), m = C(null), r = C(null), d = C(!1), g = k("bento-dropdown-options-container"), h = k("dropdown-label"), v = k("dropdown-description"), O = k("dropdown-error"), { isReadOnly: w } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: y, setCachedValues: I } = Re(
686
694
  x(e, "items"),
687
695
  x(e, "value"),
688
696
  x(e, "multiple")
689
- ), B = w(a["aria-label"]), { ariaLabel: T, label: f } = fe(e), y = De({
697
+ ), B = C(n["aria-label"]), { ariaLabel: T, label: f } = fe(e), b = De({
690
698
  // TODO: take ariaLabel ref away when aria-label prop is removed
691
699
  ariaLabel: T || B,
692
700
  label: f,
693
701
  defaultFallback: i("ariaLabelFallback")
694
- }), E = e.size === F.SMALL || Oe(bt, !1), z = p(() => E ? F.SMALL : F.DEFAULT), me = p(() => ({
702
+ }), E = e.size === F.SMALL || Oe(yt, !1), z = p(() => E ? F.SMALL : F.DEFAULT), me = p(() => ({
695
703
  "b-dropdown--condensed": e.condensed
696
- })), be = p(() => ({
704
+ })), ye = p(() => ({
697
705
  "b-dropdown__description--error": !!e.errorMessage
698
- })), R = w(""), $ = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(R, $, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), j = p(() => e.dynamicFiltering && !!R.value), ye = ut({
699
- items: $,
706
+ })), N = C(""), A = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(N, A, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), W = p(() => e.dynamicFiltering && !!N.value), be = ut({
707
+ items: A,
700
708
  placeholder: x(e, "placeholder"),
701
709
  isMultiSelect: x(e, "multiple"),
702
710
  selectedValues: S
@@ -713,30 +721,30 @@ const mt = {
713
721
  }
714
722
  return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
715
723
  }), Q = p(() => {
716
- const _ = Z.value.findIndex(({ value: N }) => e.value === N);
724
+ const _ = Z.value.findIndex(({ value: $ }) => e.value === $);
717
725
  return _ > 0 ? _ : 0;
718
- }), { isMultiLevelSelect: X, flattenedItemsList: G } = $e($), ge = p(() => {
726
+ }), { isMultiLevelSelect: X, flattenedItemsList: G } = Ae(A), ge = p(() => {
719
727
  var _;
720
728
  if (e.multiple) {
721
- const N = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, M = X.value ? G.value.length : $.value.length;
722
- return !e.hasMoreItems && M === N ? i("all") : N;
729
+ const $ = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, M = X.value ? G.value.length : A.value.length;
730
+ return !e.hasMoreItems && M === $ ? i("all") : $;
723
731
  }
724
732
  return null;
725
733
  }), he = p(
726
734
  () => `${e.description ? v : ""} ${e.errorMessage ? O : ""}`.trim() || null
727
735
  ), ee = () => {
728
- C.value || (d.value = !0);
729
- }, W = () => {
736
+ w.value || (d.value = !0);
737
+ }, j = () => {
730
738
  d.value = !1;
731
739
  }, te = () => {
732
- C.value || (d.value = !d.value, j.value && (R.value = ""));
733
- }, we = () => {
734
- j.value && (R.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
740
+ w.value || (d.value = !d.value, W.value && (N.value = ""));
741
+ }, Ce = () => {
742
+ W.value && (N.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
735
743
  }, oe = (_) => {
736
- e.multiple || (R.value = "", d.value = !1), I(_), o("input", b.value);
737
- }, ae = () => {
744
+ e.multiple || (N.value = "", d.value = !1), I(_), o("input", y.value);
745
+ }, ne = () => {
738
746
  o(u.SHOW_MORE);
739
- }, Ce = pt(
747
+ }, we = pt(
740
748
  {
741
749
  inputContainerRef: c,
742
750
  optionsContainerRef: r,
@@ -748,18 +756,18 @@ const mt = {
748
756
  },
749
757
  te,
750
758
  ee,
751
- W
752
- ), ne = ft(
759
+ j
760
+ ), ae = ft(
753
761
  {
754
762
  inputContainerRef: c,
755
763
  isDropdownOpen: d
756
764
  },
757
- W
765
+ j
758
766
  ), Se = {
759
- [u.CLOSE_DROPDOWN]: W,
767
+ [u.CLOSE_DROPDOWN]: j,
760
768
  [u.SELECT]: oe,
761
- [u.SHOW_MORE]: ae,
762
- ...ne
769
+ [u.SHOW_MORE]: ne,
770
+ ...ae
763
771
  };
764
772
  e.error && ie(
765
773
  'BentoDropdown "error" property',
@@ -773,11 +781,11 @@ const mt = {
773
781
  };
774
782
  return t({
775
783
  focus: se
776
- }), { __sfc: !0, attrs: a, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: C, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: y, isInputComponent: E, size: z, conditionalClasses: me, descriptionConditionalClasses: be, searchTerm: R, items: $, staticCategories: Y, filteredItems: Z, isSearching: j, displayValue: ye, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: W, toggleDropdown: te, clickOutsideDropdown: we, onOptionSelected: oe, emitShowMoreEvent: ae, textboxKeyboardNavigationListeners: Ce, listboxKeyboardNavigationListeners: ne, listboxListeners: Se, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: Pe, FieldLabel: ke, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: Ne };
784
+ }), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: w, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: y, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: b, isInputComponent: E, size: z, conditionalClasses: me, descriptionConditionalClasses: ye, searchTerm: N, items: A, staticCategories: Y, filteredItems: Z, isSearching: W, displayValue: be, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: j, toggleDropdown: te, clickOutsideDropdown: Ce, onOptionSelected: oe, emitShowMoreEvent: ne, textboxKeyboardNavigationListeners: we, listboxKeyboardNavigationListeners: ae, listboxListeners: Se, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: ke, FieldLabel: Pe, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: $e };
777
785
  }
778
786
  });
779
787
  var gt = function() {
780
- var a;
788
+ var n;
781
789
  var t = this, o = t._self._c, e = t._self._setupProxy;
782
790
  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) {
783
791
  e.searchTerm = l;
@@ -785,26 +793,27 @@ var gt = function() {
785
793
  return { key: s, fn: function(i) {
786
794
  return [t._t(s, null, null, i)];
787
795
  } };
788
- })], 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": (a = t.search) == null ? void 0 : a.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.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, s) {
796
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "debounce-time": (n = t.search) == null ? void 0 : n.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.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, s) {
789
797
  return { key: s, fn: function(i) {
790
798
  return [t._t(s, null, null, i)];
791
799
  } };
792
800
  })], 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() {
793
801
  return [t._v(" " + t._s(t.description) + " ")];
794
802
  })], 2) : t._e()], 1);
795
- }, ht = [], wt = /* @__PURE__ */ K(
803
+ }, ht = [], Ct = /* @__PURE__ */ K(
796
804
  _t,
797
805
  gt,
798
806
  ht,
799
807
  !1,
800
808
  null,
801
- "de09bc83"
809
+ "03d843d8"
802
810
  );
803
- const Kt = wt.exports;
811
+ const zt = Ct.exports;
804
812
  export {
805
- Kt as B,
813
+ zt as B,
806
814
  Ft as I,
807
- bt as a,
815
+ yt as a,
816
+ Kt as b,
808
817
  vt as u
809
818
  };
810
- //# sourceMappingURL=dropdown.DFEGHxjw.js.map
819
+ //# sourceMappingURL=dropdown.DzWXcJyF.js.map