@adyen/bento-vue2 1.72.0 → 1.74.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 (334) hide show
  1. package/dist/@types/components.d.ts +2 -10
  2. package/dist/@types/index.d.ts +1538 -1703
  3. package/dist/@types/use-form-v4.d.ts +1 -1
  4. package/dist/accordion.js +1 -1
  5. package/dist/action-bar.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/country.css +1 -1
  16. package/dist/assets/currency.css +1 -1
  17. package/dist/assets/data-grid-template.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-picker.css +1 -1
  20. package/dist/assets/date-range-picker.css +1 -1
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/dropdown-default-textbox.css +1 -1
  23. package/dist/assets/dropdown-tag.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/file-uploader.css +1 -1
  26. package/dist/assets/filter-bar.css +1 -1
  27. package/dist/assets/form-layout-title.css +1 -1
  28. package/dist/assets/header-meta.css +1 -1
  29. package/dist/assets/header-with-views.css +1 -1
  30. package/dist/assets/input-field-password.css +1 -1
  31. package/dist/assets/input-field-phone-number.css +1 -1
  32. package/dist/assets/input-field.css +1 -1
  33. package/dist/assets/inspector.css +1 -1
  34. package/dist/assets/listbox-option-tag.css +1 -1
  35. package/dist/assets/loading-indicator.css +1 -1
  36. package/dist/assets/modal-fullscreen.css +1 -1
  37. package/dist/assets/pagination.css +1 -1
  38. package/dist/assets/popper-container.css +1 -1
  39. package/dist/assets/radio-group.css +1 -1
  40. package/dist/assets/radio-input.css +1 -1
  41. package/dist/assets/secondary-nav.css +1 -1
  42. package/dist/assets/segmented-control.css +1 -1
  43. package/dist/assets/selection-card-group.css +1 -1
  44. package/dist/assets/sidepanel.css +1 -1
  45. package/dist/assets/step.css +1 -1
  46. package/dist/assets/tab.css +1 -1
  47. package/dist/assets/textarea.css +1 -1
  48. package/dist/assets/timeline-item.css +1 -1
  49. package/dist/assets/toggle.css +1 -1
  50. package/dist/assets/tooltip.css +1 -1
  51. package/dist/assets/tutorial.css +1 -1
  52. package/dist/assets/use-cached-selected-values.css +1 -1
  53. package/dist/avatar.js +1 -1
  54. package/dist/button.js +3 -3
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +2 -2
  57. package/dist/chip.js +1 -1
  58. package/dist/chunks/{accordion-item.CoqaoVnC.js → accordion-item.nQhXD2tV.js} +2 -2
  59. package/dist/chunks/{accordion-item.CoqaoVnC.js.map → accordion-item.nQhXD2tV.js.map} +1 -1
  60. package/dist/chunks/{action-bar.Bxrtx1Vj.js → action-bar.MXZTIUNk.js} +5 -5
  61. package/dist/chunks/{action-bar.Bxrtx1Vj.js.map → action-bar.MXZTIUNk.js.map} +1 -1
  62. package/dist/chunks/{ai-button.FRPkTHz6.js → ai-button.DBwtNkyS.js} +2 -2
  63. package/dist/chunks/{ai-button.FRPkTHz6.js.map → ai-button.DBwtNkyS.js.map} +1 -1
  64. package/dist/chunks/{alert.CMyL-zWT.js → alert.SZPP58tl.js} +3 -3
  65. package/dist/chunks/{alert.CMyL-zWT.js.map → alert.SZPP58tl.js.map} +1 -1
  66. package/dist/chunks/{avatar.KdcsNOsm.js → avatar.CeDqq2Z-.js} +3 -3
  67. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  68. package/dist/chunks/{base-modal.DInbAZlp.js → base-modal.BMdlCSd0.js} +7 -7
  69. package/dist/chunks/base-modal.BMdlCSd0.js.map +1 -0
  70. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js → button-actions-with-menu.BFRkPi6g.js} +2 -2
  71. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js.map → button-actions-with-menu.BFRkPi6g.js.map} +1 -1
  72. package/dist/chunks/{button-actions.55vIvDsX.js → button-actions.B81vY51z.js} +11 -14
  73. package/dist/chunks/button-actions.B81vY51z.js.map +1 -0
  74. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  75. package/dist/chunks/{button.CilT7NmM.js → button.CS_kdxYh.js} +3 -3
  76. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  77. package/dist/chunks/{calendar.M69sfyB9.js → calendar.EfqJlztU.js} +191 -187
  78. package/dist/chunks/calendar.EfqJlztU.js.map +1 -0
  79. package/dist/chunks/{card.C11dmth8.js → card.VOCKI7Ad.js} +8 -8
  80. package/dist/chunks/card.VOCKI7Ad.js.map +1 -0
  81. package/dist/chunks/{checkbox-group.Cr3WdkDM.js → checkbox-group.DETXTJqI.js} +4 -4
  82. package/dist/chunks/{checkbox-group.Cr3WdkDM.js.map → checkbox-group.DETXTJqI.js.map} +1 -1
  83. package/dist/chunks/{checkbox.D7-f9Y6w.js → checkbox.BPtHAAEa.js} +4 -4
  84. package/dist/chunks/{checkbox.D7-f9Y6w.js.map → checkbox.BPtHAAEa.js.map} +1 -1
  85. package/dist/chunks/{chip.omQX_Ziq.js → chip.fqEIkR-s.js} +2 -2
  86. package/dist/chunks/{chip.omQX_Ziq.js.map → chip.fqEIkR-s.js.map} +1 -1
  87. package/dist/chunks/{code-snippet.BGrwAxWy.js → code-snippet.VtrsOTEC.js} +7 -7
  88. package/dist/chunks/{code-snippet.BGrwAxWy.js.map → code-snippet.VtrsOTEC.js.map} +1 -1
  89. package/dist/chunks/{controls-group.CWeUgE2P.js → controls-group.82mB_GDw.js} +2 -2
  90. package/dist/chunks/{controls-group.CWeUgE2P.js.map → controls-group.82mB_GDw.js.map} +1 -1
  91. package/dist/chunks/{copy._BdbMnHK.js → copy.WQDLcs_T.js} +5 -5
  92. package/dist/chunks/{copy._BdbMnHK.js.map → copy.WQDLcs_T.js.map} +1 -1
  93. package/dist/chunks/country.CGn5WjFx.js +69 -0
  94. package/dist/chunks/country.CGn5WjFx.js.map +1 -0
  95. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  96. package/dist/chunks/{currency.MT3baDtO.js → currency.DDB4G_A8.js} +52 -35
  97. package/dist/chunks/currency.DDB4G_A8.js.map +1 -0
  98. package/dist/chunks/{dashboard-section.e7ozaS9M.js → dashboard-section.jIpBvP6X.js} +3 -3
  99. package/dist/chunks/{dashboard-section.e7ozaS9M.js.map → dashboard-section.jIpBvP6X.js.map} +1 -1
  100. package/dist/chunks/{dashed-underline.CGU6o7ni.js → dashed-underline.K-l-7bDq.js} +3 -3
  101. package/dist/chunks/{dashed-underline.CGU6o7ni.js.map → dashed-underline.K-l-7bDq.js.map} +1 -1
  102. package/dist/chunks/{data-grid-template.BaPjUlZ2.js → data-grid-template.CozTcWQ0.js} +4 -4
  103. package/dist/chunks/{data-grid-template.BaPjUlZ2.js.map → data-grid-template.CozTcWQ0.js.map} +1 -1
  104. package/dist/chunks/{data-grid.B_Ha2vma.js → data-grid.DN9xml8y.js} +1275 -1214
  105. package/dist/chunks/data-grid.DN9xml8y.js.map +1 -0
  106. package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
  107. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  108. package/dist/chunks/date-picker.DoYYzWcA.js +158 -0
  109. package/dist/chunks/date-picker.DoYYzWcA.js.map +1 -0
  110. package/dist/chunks/date-range-picker.C_pJ8yH5.js +917 -0
  111. package/dist/chunks/date-range-picker.C_pJ8yH5.js.map +1 -0
  112. package/dist/chunks/{date.BTdCYdkj.js → date.C1z2TXzM.js} +2 -2
  113. package/dist/chunks/{date.BTdCYdkj.js.map → date.C1z2TXzM.js.map} +1 -1
  114. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  115. package/dist/chunks/{dialog-page.LA_ZhbYa.js → dialog-page.D23qNwKW.js} +3 -3
  116. package/dist/chunks/dialog-page.D23qNwKW.js.map +1 -0
  117. package/dist/chunks/{dropdown-default-textbox.CDm-PQfc.js → dropdown-default-textbox.yLeN0E2z.js} +6 -6
  118. package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +1 -0
  119. package/dist/chunks/dropdown-tag.DBnurtCQ.js +245 -0
  120. package/dist/chunks/dropdown-tag.DBnurtCQ.js.map +1 -0
  121. package/dist/chunks/{dropdown.DQbTuKc5.js → dropdown.BOvtYKXS.js} +202 -193
  122. package/dist/chunks/dropdown.BOvtYKXS.js.map +1 -0
  123. package/dist/chunks/{empty-state.DNTrhYUm.js → empty-state.BsdRxzS2.js} +2 -2
  124. package/dist/chunks/{empty-state.DNTrhYUm.js.map → empty-state.BsdRxzS2.js.map} +1 -1
  125. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  126. package/dist/chunks/{field-label.BKzuCnXr.js → field-label.Auq-Pzho.js} +3 -3
  127. package/dist/chunks/{field-label.BKzuCnXr.js.map → field-label.Auq-Pzho.js.map} +1 -1
  128. package/dist/chunks/{file-uploader.BEClGxsF.js → file-uploader.BGoCYrnw.js} +27 -28
  129. package/dist/chunks/file-uploader.BGoCYrnw.js.map +1 -0
  130. package/dist/chunks/{filter-bar.Dnnv0rpV.js → filter-bar.DzHJi42d.js} +680 -746
  131. package/dist/chunks/filter-bar.DzHJi42d.js.map +1 -0
  132. package/dist/chunks/{fixed-scroller.QCXpkadN.js → fixed-scroller.CgVOf5VE.js} +3 -3
  133. package/dist/chunks/{fixed-scroller.QCXpkadN.js.map → fixed-scroller.CgVOf5VE.js.map} +1 -1
  134. package/dist/chunks/focus-trap.BJfpIboH.js.map +1 -1
  135. package/dist/chunks/{footer-actions.BTELM6rh.js → footer-actions.CLq_kBwY.js} +3 -3
  136. package/dist/chunks/{footer-actions.BTELM6rh.js.map → footer-actions.CLq_kBwY.js.map} +1 -1
  137. package/dist/chunks/{form-layout-title.aXVuAWiG.js → form-layout-title.DoF6ovPB.js} +23 -16
  138. package/dist/chunks/form-layout-title.DoF6ovPB.js.map +1 -0
  139. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -1
  140. package/dist/chunks/{header-meta.DZYH-qg-.js → header-meta.uiIO1wHP.js} +30 -27
  141. package/dist/chunks/{header-meta.DZYH-qg-.js.map → header-meta.uiIO1wHP.js.map} +1 -1
  142. package/dist/chunks/{header-with-views.DjZa4Wob.js → header-with-views.t5Fr63SD.js} +87 -87
  143. package/dist/chunks/header-with-views.t5Fr63SD.js.map +1 -0
  144. package/dist/chunks/{header.CQMiTG7f.js → header.DwSyDQ68.js} +3 -3
  145. package/dist/chunks/{header.CQMiTG7f.js.map → header.DwSyDQ68.js.map} +1 -1
  146. package/dist/chunks/index.B6WW_F-J.js +31 -0
  147. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  148. package/dist/chunks/{info-icon.fB7jf3NJ.js → info-icon.Bhka3oGh.js} +3 -3
  149. package/dist/chunks/{info-icon.fB7jf3NJ.js.map → info-icon.Bhka3oGh.js.map} +1 -1
  150. package/dist/chunks/{input-field-password.BPujvbx8.js → input-field-password.Dm3HYonF.js} +24 -24
  151. package/dist/chunks/input-field-password.Dm3HYonF.js.map +1 -0
  152. package/dist/chunks/{input-field-phone-number.bqUe_CVf.js → input-field-phone-number.bZauIuHJ.js} +1149 -1149
  153. package/dist/chunks/{input-field-phone-number.bqUe_CVf.js.map → input-field-phone-number.bZauIuHJ.js.map} +1 -1
  154. package/dist/chunks/{input-field.CwF6ldRY.js → input-field.D52XYEzU.js} +5 -5
  155. package/dist/chunks/input-field.D52XYEzU.js.map +1 -0
  156. package/dist/chunks/{inspector.g3OErNAU.js → inspector.pmpheRch.js} +4 -4
  157. package/dist/chunks/inspector.pmpheRch.js.map +1 -0
  158. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  159. package/dist/chunks/{link.C4htMrDV.js → link.D8qpqg3W.js} +2 -2
  160. package/dist/chunks/{link.C4htMrDV.js.map → link.D8qpqg3W.js.map} +1 -1
  161. package/dist/chunks/{listbox-option-tag.UaD4kmXc.js → listbox-option-tag.Dl8GwHLT.js} +3 -3
  162. package/dist/chunks/listbox-option-tag.Dl8GwHLT.js.map +1 -0
  163. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  164. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  165. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js → modal-fullscreen.BSKm6yn_.js} +6 -6
  166. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js.map → modal-fullscreen.BSKm6yn_.js.map} +1 -1
  167. package/dist/chunks/{modal.qybFapnI.js → modal.Bp5twyjz.js} +6 -6
  168. package/dist/chunks/{modal.qybFapnI.js.map → modal.Bp5twyjz.js.map} +1 -1
  169. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  170. package/dist/chunks/{pagination.BWTyXMRW.js → pagination.CKD9FDrA.js} +5 -5
  171. package/dist/chunks/pagination.CKD9FDrA.js.map +1 -0
  172. package/dist/chunks/popover.types.DK6opPkz.js +6 -0
  173. package/dist/chunks/{popover.types.iyDoIAOE.js.map → popover.types.DK6opPkz.js.map} +1 -1
  174. package/dist/chunks/{popper-container.C9KCAJxI.js → popper-container.agLYtGwv.js} +2 -2
  175. package/dist/chunks/{popper-container.C9KCAJxI.js.map → popper-container.agLYtGwv.js.map} +1 -1
  176. package/dist/chunks/{promo-banner.MI5NC2UT.js → promo-banner.DikQcQU2.js} +3 -3
  177. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  178. package/dist/chunks/radio-group.AcYMFudv.js +177 -0
  179. package/dist/chunks/radio-group.AcYMFudv.js.map +1 -0
  180. package/dist/chunks/{radio-input.D8mv2EYC.js → radio-input.kzb4gxLW.js} +17 -17
  181. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -0
  182. package/dist/chunks/{rich-text-editor.C905JEDW.js → rich-text-editor.BZgQ578S.js} +7 -7
  183. package/dist/chunks/{rich-text-editor.C905JEDW.js.map → rich-text-editor.BZgQ578S.js.map} +1 -1
  184. package/dist/chunks/{search-bar.CKt_-tZH.js → search-bar.c-w7Uky2.js} +4 -4
  185. package/dist/chunks/{search-bar.CKt_-tZH.js.map → search-bar.c-w7Uky2.js.map} +1 -1
  186. package/dist/chunks/{secondary-nav.B5L2bLmm.js → secondary-nav.D69COlqF.js} +9 -9
  187. package/dist/chunks/secondary-nav.D69COlqF.js.map +1 -0
  188. package/dist/chunks/{segmented-control.Dc34mUMM.js → segmented-control.Cma_nu0G.js} +17 -16
  189. package/dist/chunks/segmented-control.Cma_nu0G.js.map +1 -0
  190. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  191. package/dist/chunks/{selection-card-group.CBVKMu6b.js → selection-card-group.8UIir78G.js} +5 -5
  192. package/dist/chunks/selection-card-group.8UIir78G.js.map +1 -0
  193. package/dist/chunks/{sidepanel.uWNc58r7.js → sidepanel.A9yG4FP_.js} +12 -12
  194. package/dist/chunks/{sidepanel.uWNc58r7.js.map → sidepanel.A9yG4FP_.js.map} +1 -1
  195. package/dist/chunks/{step.D8blWwfR.js → step.TzzZSA9f.js} +4 -4
  196. package/dist/chunks/step.TzzZSA9f.js.map +1 -0
  197. package/dist/chunks/{structured-list-item.BLalgOps.js → structured-list-item.CMsVwwA6.js} +6 -6
  198. package/dist/chunks/{structured-list-item.BLalgOps.js.map → structured-list-item.CMsVwwA6.js.map} +1 -1
  199. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js → summary-grid.types.B80533d1.js} +6 -6
  200. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js.map → summary-grid.types.B80533d1.js.map} +1 -1
  201. package/dist/chunks/{tab.D8YyoNFV.js → tab.CTui3j3e.js} +3 -3
  202. package/dist/chunks/tab.CTui3j3e.js.map +1 -0
  203. package/dist/chunks/{tag.Tjg4linG.js → tag.BwKc2d2E.js} +2 -2
  204. package/dist/chunks/{tag.Tjg4linG.js.map → tag.BwKc2d2E.js.map} +1 -1
  205. package/dist/chunks/textarea.CIQuLWQ8.js +165 -0
  206. package/dist/chunks/textarea.CIQuLWQ8.js.map +1 -0
  207. package/dist/chunks/{timeline-item.DaRKHndA.js → timeline-item.VSw9vKdO.js} +10 -10
  208. package/dist/chunks/timeline-item.VSw9vKdO.js.map +1 -0
  209. package/dist/chunks/{toast.gMDjItrP.js → toast.B4J4V6n-.js} +3 -3
  210. package/dist/chunks/{toast.gMDjItrP.js.map → toast.B4J4V6n-.js.map} +1 -1
  211. package/dist/chunks/toggle.BJMXpHRu.js +108 -0
  212. package/dist/chunks/toggle.BJMXpHRu.js.map +1 -0
  213. package/dist/chunks/{tooltip.DOD_4rkI.js → tooltip.D3SDcRef.js} +64 -68
  214. package/dist/chunks/tooltip.D3SDcRef.js.map +1 -0
  215. package/dist/chunks/{tutorial.BwnRyUoh.js → tutorial.B32GMtIj.js} +6 -6
  216. package/dist/chunks/tutorial.B32GMtIj.js.map +1 -0
  217. package/dist/chunks/{use-cached-selected-values.C7j6YhuC.js → use-cached-selected-values.IsfhJHxQ.js} +19 -19
  218. package/dist/chunks/use-cached-selected-values.IsfhJHxQ.js.map +1 -0
  219. package/dist/chunks/{use-country-items.DFdM2Ank.js → use-country-items.B3Cd3Tdo.js} +2 -2
  220. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  221. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  222. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  223. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -1
  224. package/dist/code-snippet.js +1 -1
  225. package/dist/country.js +1 -1
  226. package/dist/currency.js +1 -1
  227. package/dist/dashboard-template.js +1 -1
  228. package/dist/dashed-underline.js +1 -1
  229. package/dist/data-grid-template.js +1 -1
  230. package/dist/data-grid.js +1 -1
  231. package/dist/date-picker.js +5 -4
  232. package/dist/date-range-picker.js +5 -4
  233. package/dist/date.js +1 -1
  234. package/dist/dropdown.js +4 -4
  235. package/dist/empty-state.js +1 -1
  236. package/dist/file-uploader.js +1 -1
  237. package/dist/filter-bar.js +5 -4
  238. package/dist/form-layout.js +1 -1
  239. package/dist/header-with-views.js +1 -1
  240. package/dist/header.js +1 -1
  241. package/dist/index.js +405 -329
  242. package/dist/index.js.map +1 -1
  243. package/dist/info-icon.js +1 -1
  244. package/dist/input-field-password.js +1 -1
  245. package/dist/input-field-phone-number.js +1 -1
  246. package/dist/input-field.js +1 -1
  247. package/dist/inspector.js +1 -1
  248. package/dist/internal.js +12 -12
  249. package/dist/link.js +1 -1
  250. package/dist/loading-indicator.js +1 -1
  251. package/dist/menu.js +1 -1
  252. package/dist/modal-fullscreen.js +1 -1
  253. package/dist/modal.js +2 -2
  254. package/dist/pagination.js +1 -1
  255. package/dist/popover.js +2 -2
  256. package/dist/popper-container.js +1 -1
  257. package/dist/promo-banner.js +1 -1
  258. package/dist/radio-group.js +2 -2
  259. package/dist/rich-text-editor.js +1 -1
  260. package/dist/search-bar.js +2 -2
  261. package/dist/secondary-nav.js +1 -1
  262. package/dist/segmented-control.js +1 -1
  263. package/dist/selection-card.js +1 -1
  264. package/dist/sidepanel.js +1 -1
  265. package/dist/stepper.js +1 -1
  266. package/dist/structured-list.js +1 -1
  267. package/dist/styles/bento-dark.css +25 -15
  268. package/dist/styles/bento-light.css +9 -3
  269. package/dist/styles/bento.css +9 -3
  270. package/dist/styles/legacy.css +9 -3
  271. package/dist/styles/styleguide.css +9 -3
  272. package/dist/summary-grid.js +1 -1
  273. package/dist/tabs.js +1 -1
  274. package/dist/tag.js +1 -1
  275. package/dist/textarea.js +1 -1
  276. package/dist/timeline.js +1 -1
  277. package/dist/toast.js +1 -1
  278. package/dist/toggle.js +1 -1
  279. package/dist/tutorial.js +1 -1
  280. package/dist/use-form-v4.js.map +1 -1
  281. package/dist/web-types.json +1297 -1026
  282. package/package.json +12 -12
  283. package/dist/chunks/avatar.KdcsNOsm.js.map +0 -1
  284. package/dist/chunks/base-modal.DInbAZlp.js.map +0 -1
  285. package/dist/chunks/button-actions.55vIvDsX.js.map +0 -1
  286. package/dist/chunks/button.CilT7NmM.js.map +0 -1
  287. package/dist/chunks/calendar.M69sfyB9.js.map +0 -1
  288. package/dist/chunks/card.C11dmth8.js.map +0 -1
  289. package/dist/chunks/country.1yIZNjdj.js +0 -94
  290. package/dist/chunks/country.1yIZNjdj.js.map +0 -1
  291. package/dist/chunks/currency.MT3baDtO.js.map +0 -1
  292. package/dist/chunks/data-grid.B_Ha2vma.js.map +0 -1
  293. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  294. package/dist/chunks/date-picker.CGTMHUNH.js +0 -240
  295. package/dist/chunks/date-picker.CGTMHUNH.js.map +0 -1
  296. package/dist/chunks/date-range-picker.ChGfJUPq.js +0 -971
  297. package/dist/chunks/date-range-picker.ChGfJUPq.js.map +0 -1
  298. package/dist/chunks/dialog-page.LA_ZhbYa.js.map +0 -1
  299. package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +0 -1
  300. package/dist/chunks/dropdown-tag.Bwl0fY7o.js +0 -306
  301. package/dist/chunks/dropdown-tag.Bwl0fY7o.js.map +0 -1
  302. package/dist/chunks/dropdown.DQbTuKc5.js.map +0 -1
  303. package/dist/chunks/file-uploader.BEClGxsF.js.map +0 -1
  304. package/dist/chunks/filter-bar.Dnnv0rpV.js.map +0 -1
  305. package/dist/chunks/form-layout-title.aXVuAWiG.js.map +0 -1
  306. package/dist/chunks/header-with-views.DjZa4Wob.js.map +0 -1
  307. package/dist/chunks/i18n.BQkEbtPM.js +0 -31
  308. package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
  309. package/dist/chunks/input-field-password.BPujvbx8.js.map +0 -1
  310. package/dist/chunks/input-field.CwF6ldRY.js.map +0 -1
  311. package/dist/chunks/inspector.g3OErNAU.js.map +0 -1
  312. package/dist/chunks/listbox-option-tag.UaD4kmXc.js.map +0 -1
  313. package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
  314. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
  315. package/dist/chunks/pagination.BWTyXMRW.js.map +0 -1
  316. package/dist/chunks/popover.types.iyDoIAOE.js +0 -6
  317. package/dist/chunks/promo-banner.MI5NC2UT.js.map +0 -1
  318. package/dist/chunks/radio-group.DHUa6baR.js +0 -231
  319. package/dist/chunks/radio-group.DHUa6baR.js.map +0 -1
  320. package/dist/chunks/radio-input.D8mv2EYC.js.map +0 -1
  321. package/dist/chunks/secondary-nav.B5L2bLmm.js.map +0 -1
  322. package/dist/chunks/segmented-control.Dc34mUMM.js.map +0 -1
  323. package/dist/chunks/selection-card-group.CBVKMu6b.js.map +0 -1
  324. package/dist/chunks/step.D8blWwfR.js.map +0 -1
  325. package/dist/chunks/tab.D8YyoNFV.js.map +0 -1
  326. package/dist/chunks/textarea.DUPV-I-L.js +0 -214
  327. package/dist/chunks/textarea.DUPV-I-L.js.map +0 -1
  328. package/dist/chunks/timeline-item.DaRKHndA.js.map +0 -1
  329. package/dist/chunks/toggle.Ct-5NUGu.js +0 -121
  330. package/dist/chunks/toggle.Ct-5NUGu.js.map +0 -1
  331. package/dist/chunks/tooltip.DOD_4rkI.js.map +0 -1
  332. package/dist/chunks/tutorial.BwnRyUoh.js.map +0 -1
  333. package/dist/chunks/use-cached-selected-values.C7j6YhuC.js.map +0 -1
  334. package/dist/chunks/use-country-items.DFdM2Ank.js.map +0 -1
@@ -1,22 +1,22 @@
1
- import { ref as C, watch as _e, computed as r, defineComponent as R, useSlots as ge, toRefs as he, nextTick as S, useAttrs as Te, toRef as w, inject as Ne } from "vue";
2
- import { d as fe, B as Re } from "./typography.hlOAxsEn.js";
3
- import { a as Y, b as M, c as Ae, B as W, D as Me } from "./dropdown-default-textbox.CDm-PQfc.js";
1
+ import { ref as h, watch as X, computed as r, defineComponent as R, useSlots as ge, toRefs as he, nextTick as S, useAttrs as Ne, toRef as w, inject as Re } from "vue";
2
+ import { d as ve, B as Ae } from "./typography.hlOAxsEn.js";
3
+ import { a as Y, b as P, c as Me, B as W, D as Pe } from "./dropdown-default-textbox.yLeN0E2z.js";
4
4
  /* empty css */
5
- import { n as $ } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
+ import { n as k } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
6
  import { s as Z } from "./events.CMzGybJJ.js";
7
- import { g as P } from "./generate-uid.NJ8tVoha.js";
8
- import { u as Pe } from "./aria-label.CaUURpnB.js";
9
- import { u as X } from "./i18n.BQkEbtPM.js";
10
- import { a as p, b as Q, B as ve, c as $e, u as ke, d as Fe } from "./use-cached-selected-values.C7j6YhuC.js";
11
- import { u as Ke } from "./use-form-layout-loading.D3lALhtC.js";
12
- import { u as ze } from "./use-has-slot.C9lQZ6nz.js";
13
- import { B as E, a as We } from "./keyboard-navigation.pB8weElW.js";
14
- import { B as Ue } from "./directive.Cbdox5VL.js";
15
- import { F as Ve, E as qe } from "./field-label.BKzuCnXr.js";
16
- import { P as me } from "./popper-container.C9KCAJxI.js";
17
- import { h as je } from "./button-actions.55vIvDsX.js";
7
+ import { g as $ } from "./generate-uid.NJ8tVoha.js";
8
+ import { u as $e } from "./aria-label.CaUURpnB.js";
9
+ import { u as G } from "./index.B6WW_F-J.js";
10
+ import { a as p, b as Q, B as me, c as ke, u as Fe, d as Ke } from "./use-cached-selected-values.IsfhJHxQ.js";
11
+ import { u as ze } from "./use-form-layout-loading.D3lALhtC.js";
12
+ import { u as We } from "./use-has-slot.C9lQZ6nz.js";
13
+ import { B as E, a as Ue } from "./keyboard-navigation.pB8weElW.js";
14
+ import { B as Ve } from "./directive.Cbdox5VL.js";
15
+ import { F as je, E as qe } from "./field-label.Auq-Pzho.js";
16
+ import { P as be } from "./popper-container.agLYtGwv.js";
17
+ import { h as He } from "./button-actions.B81vY51z.js";
18
18
  import "../assets/dropdown.css";
19
- const He = {
19
+ const Je = {
20
20
  "en-US": {
21
21
  apply: "Apply",
22
22
  cancel: "Cancel",
@@ -30,9 +30,9 @@ const He = {
30
30
  apply: "Aplicar",
31
31
  cancel: "Cancelar"
32
32
  }
33
- }, Je = (a, t, o, e) => {
34
- const n = C(a.value), { t: l } = X();
35
- _e(a, () => {
33
+ }, Ye = (a, t, o, e) => {
34
+ const n = h(a.value), { t: l } = G();
35
+ X(a, () => {
36
36
  n.value = a.value;
37
37
  });
38
38
  const s = r(
@@ -41,7 +41,7 @@ const He = {
41
41
  e(p.SELECT, n.value), e(p.CLOSE_DROPDOWN);
42
42
  }, c = () => {
43
43
  n.value = a.value, e(p.CLOSE_DROPDOWN);
44
- }, m = () => {
44
+ }, b = () => {
45
45
  o.value && t.value && (n.value = a.value);
46
46
  }, d = r(() => [
47
47
  {
@@ -59,7 +59,7 @@ const He = {
59
59
  u(y), e(p.TAB);
60
60
  }, g = (y) => {
61
61
  u(y), e(p.ENTER);
62
- }, f = (y) => {
62
+ }, v = (y) => {
63
63
  u(y), e(p.SPACE);
64
64
  }, O = () => {
65
65
  c(), e(p.ESCAPE);
@@ -69,7 +69,7 @@ const He = {
69
69
  [p.SELECT]: u,
70
70
  [p.SHOW_MORE]: L,
71
71
  [p.TAB]: _,
72
- [p.SPACE]: f,
72
+ [p.SPACE]: v,
73
73
  [p.ENTER]: g
74
74
  };
75
75
  return {
@@ -79,13 +79,13 @@ const He = {
79
79
  // Methods
80
80
  listeners: x,
81
81
  onEscapeKey: O,
82
- onOutsideDropdownClick: m
82
+ onOutsideDropdownClick: b
83
83
  };
84
- }, Ye = R({
85
- i18n: { messages: He },
84
+ }, Ze = R({
85
+ i18n: { messages: Je },
86
86
  name: "bento-dropdown-options-container"
87
- }), Ze = /* @__PURE__ */ R({
88
- ...Ye,
87
+ }), Qe = /* @__PURE__ */ R({
88
+ ...Ze,
89
89
  props: {
90
90
  /**
91
91
  * Defines a string value that labels an interactive element.
@@ -144,8 +144,8 @@ const He = {
144
144
  */
145
145
  lazyLoadType: {
146
146
  type: String,
147
- default: ve.AUTOMATIC,
148
- validator: (a) => Object.values(ve).includes(a)
147
+ default: me.AUTOMATIC,
148
+ validator: (a) => Object.values(me).includes(a)
149
149
  },
150
150
  /**
151
151
  * Indicates if new options are lazy loading.
@@ -184,7 +184,7 @@ const He = {
184
184
  * Reference to the DOM element or Vue component for positioning
185
185
  * the Dropdown container.
186
186
  */
187
- targetElement: { type: me.props.targetElement.type, required: !0 },
187
+ targetElement: { type: be.props.targetElement.type, required: !0 },
188
188
  /**
189
189
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
190
190
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -196,11 +196,11 @@ const He = {
196
196
  },
197
197
  emits: [],
198
198
  setup(a, { expose: t, emit: o }) {
199
- const e = a, n = ge(), { selectedValue: l, multiple: s } = he(e), i = C(null), { t: c } = X(), m = r(() => e.open && !e.disabled), d = r(() => c("noOptionsMatchThisSearch")), u = r(() => ({
199
+ const e = a, n = ge(), { selectedValue: l, multiple: s } = he(e), i = h(null), { t: c } = G(), b = r(() => e.open && !e.disabled), d = r(() => c("noOptionsMatchThisSearch")), u = r(() => ({
200
200
  "b-dropdown-options-container--single": !(e != null && e.multiple)
201
201
  })), _ = r(() => ({
202
202
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
203
- })), { actions: g, internalSelectedValue: f, listeners: O, onEscapeKey: L, onOutsideDropdownClick: x } = Je(l, s, m, o), y = r(() => e != null && e.multiple ? je : me), I = r(() => {
203
+ })), { actions: g, internalSelectedValue: v, listeners: O, onEscapeKey: L, onOutsideDropdownClick: x } = Ye(l, s, b, o), y = r(() => e != null && e.multiple ? He : be), I = r(() => {
204
204
  var B;
205
205
  const D = {
206
206
  "min-width": `${(B = e == null ? void 0 : e.targetElement) == null ? void 0 : B.clientWidth}px`,
@@ -212,7 +212,7 @@ const He = {
212
212
  actions: g.value,
213
213
  divider: !0,
214
214
  fallbackPosition: ["top-start"],
215
- id: P(`dropdown-options-${e.id}`),
215
+ id: $(`dropdown-options-${e.id}`),
216
216
  open: e.open,
217
217
  position: "bottom-start",
218
218
  style: {
@@ -225,7 +225,7 @@ const He = {
225
225
  offset: [0, 8],
226
226
  position: "bottom-start",
227
227
  style: {
228
- display: m.value ? "block" : "none",
228
+ display: b.value ? "block" : "none",
229
229
  ...D
230
230
  },
231
231
  targetElement: e.targetElement
@@ -233,10 +233,10 @@ const He = {
233
233
  });
234
234
  return t({
235
235
  onOutsideDropdownClick: x
236
- }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: d, conditionalClasses: u, conditionalListboxClasses: _, actions: g, internalSelectedValue: f, listeners: O, onEscapeKey: L, onOutsideDropdownClick: x, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: I, BentoListbox: Q };
236
+ }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: b, noResultsMessage: d, conditionalClasses: u, conditionalListboxClasses: _, actions: g, internalSelectedValue: v, listeners: O, onEscapeKey: L, onOutsideDropdownClick: x, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: I, BentoListbox: Q };
237
237
  }
238
238
  });
239
- var Qe = function() {
239
+ var Xe = function() {
240
240
  var t = this, o = t._self._c, e = t._self._setupProxy;
241
241
  return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(n) {
242
242
  return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
@@ -245,55 +245,55 @@ var Qe = function() {
245
245
  return [t._t(l, null, null, s)];
246
246
  } };
247
247
  })], null, !0) }, e.listeners))], 1)]);
248
- }, Xe = [], Ge = /* @__PURE__ */ $(
249
- Ze,
248
+ }, Ge = [], et = /* @__PURE__ */ k(
250
249
  Qe,
251
250
  Xe,
251
+ Ge,
252
252
  !1,
253
253
  null,
254
- "30d60112"
254
+ "ddc50615"
255
255
  );
256
- const et = Ge.exports;
257
- let be = 0;
258
- const tt = {
256
+ const tt = et.exports;
257
+ let ye = 0;
258
+ const ot = {
259
259
  beforeCreate() {
260
- this.uuid = be.toString(), be += 1;
260
+ this.uuid = ye.toString(), ye += 1;
261
261
  }
262
262
  };
263
- var ot = function() {
263
+ var nt = function() {
264
264
  var t = this, o = t._self._c;
265
265
  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: "#001222", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
266
- }, nt = [], at = /* @__PURE__ */ $(
267
- tt,
266
+ }, at = [], st = /* @__PURE__ */ k(
268
267
  ot,
269
268
  nt,
269
+ at,
270
270
  !1,
271
271
  null,
272
272
  null
273
273
  );
274
- const st = at.exports;
275
- let ye = 0;
276
- const lt = {
274
+ const lt = st.exports;
275
+ let _e = 0;
276
+ const it = {
277
277
  beforeCreate() {
278
- this.uuid = ye.toString(), ye += 1;
278
+ this.uuid = _e.toString(), _e += 1;
279
279
  }
280
280
  };
281
- var it = function() {
281
+ var rt = function() {
282
282
  var t = this, o = t._self._c;
283
283
  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: "#001222", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
284
- }, rt = [], dt = /* @__PURE__ */ $(
285
- lt,
284
+ }, dt = [], ut = /* @__PURE__ */ k(
286
285
  it,
287
286
  rt,
287
+ dt,
288
288
  !1,
289
289
  null,
290
290
  null
291
291
  );
292
- const ct = dt.exports, ut = R({
292
+ const ct = ut.exports, pt = R({
293
293
  name: "dropdown-small-textbox",
294
294
  inheritAttrs: !1
295
- }), pt = /* @__PURE__ */ R({
296
- ...ut,
295
+ }), ft = /* @__PURE__ */ R({
296
+ ...pt,
297
297
  props: {
298
298
  /**
299
299
  * The number of additional items that have been selected in the dropdown.
@@ -354,48 +354,48 @@ const ct = dt.exports, ut = R({
354
354
  },
355
355
  emits: ["clear", "close", "input", "keydown", "open"],
356
356
  setup(a, { expose: t, emit: o }) {
357
- const e = a, n = C(null), l = r(() => ({
357
+ const e = a, n = h(null), l = r(() => ({
358
358
  [`b-dropdown-small-textbox--${Y.DISABLED}`]: e.disabled,
359
359
  [`b-dropdown-small-textbox--${Y.READONLY}`]: e.readonly,
360
360
  [`b-dropdown-small-textbox--${Y.OPENED}`]: e.open
361
- })), s = r(() => e.open && !e.disabled && !e.readonly), i = (f) => {
362
- o("input", f);
363
- }, c = (f) => {
364
- o("keydown", f);
365
- }, m = (f) => {
366
- Z(f), o("open");
367
- }, d = (f) => {
368
- Z(f), o("close");
369
- }, u = (f) => {
370
- Z(f), o("clear");
361
+ })), s = r(() => e.open && !e.disabled && !e.readonly), i = (v) => {
362
+ o("input", v);
363
+ }, c = (v) => {
364
+ o("keydown", v);
365
+ }, b = (v) => {
366
+ Z(v), o("open");
367
+ }, d = (v) => {
368
+ Z(v), o("close");
369
+ }, u = (v) => {
370
+ Z(v), o("clear");
371
371
  }, _ = {
372
- [M.INPUT]: i,
373
- [M.OPEN]: m,
374
- [M.CLOSE]: d,
375
- [M.CLEAR]: u,
376
- [M.KEYDOWN]: c
372
+ [P.INPUT]: i,
373
+ [P.OPEN]: b,
374
+ [P.CLOSE]: d,
375
+ [P.CLEAR]: u,
376
+ [P.KEYDOWN]: c
377
377
  }, g = () => {
378
378
  n.value.focus();
379
379
  };
380
380
  return t({
381
381
  focus: g
382
- }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: d, clearValue: u, listeners: _, focus: g, BentoDropdownSize: W, DropdownBaseTextbox: Ae, ChevronDownSmallIcon: st, ChevronUpSmallIcon: ct };
382
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: b, closeDropdown: d, clearValue: u, listeners: _, focus: g, BentoDropdownSize: W, DropdownBaseTextbox: Me, ChevronDownSmallIcon: lt, ChevronUpSmallIcon: ct };
383
383
  }
384
384
  });
385
- var ft = function() {
385
+ var vt = function() {
386
386
  var t = this, o = t._self._c, e = t._self._setupProxy;
387
387
  return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
388
388
  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)];
389
389
  }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
390
- }, vt = [], mt = /* @__PURE__ */ $(
391
- pt,
390
+ }, mt = [], bt = /* @__PURE__ */ k(
392
391
  ft,
393
392
  vt,
393
+ mt,
394
394
  !1,
395
395
  null,
396
- "5e83538c"
396
+ "2e5cb799"
397
397
  );
398
- const bt = mt.exports, yt = (a, t) => t.value.reduce((o, e) => {
398
+ const yt = bt.exports, _t = (a, t) => t.value.reduce((o, e) => {
399
399
  if (e.items) {
400
400
  const n = e.items.filter(
401
401
  (s) => a.value.find((i) => i.value === s.value)
@@ -403,18 +403,18 @@ const bt = mt.exports, yt = (a, t) => t.value.reduce((o, e) => {
403
403
  n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
404
404
  }
405
405
  return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
406
- }, []).join(", "), _t = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
406
+ }, []).join(", "), gt = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
407
407
  const n = r(
408
408
  () => e.value && a.value.find((s) => {
409
409
  var i;
410
410
  return (i = s.items) == null ? void 0 : i.length;
411
411
  })
412
412
  );
413
- return r(() => o.value.length ? n.value ? yt(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
413
+ return r(() => o.value.length ? n.value ? _t(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
414
414
  }, Ce = (a) => {
415
415
  var t;
416
416
  (t = a.value.$children) == null || t[0].$refs.textbox.focus();
417
- }, gt = ({
417
+ }, ht = ({
418
418
  inputContainerRef: a,
419
419
  optionsContainerRef: t,
420
420
  selectedValueIndex: o,
@@ -422,50 +422,50 @@ const bt = mt.exports, yt = (a, t) => t.value.reduce((o, e) => {
422
422
  isDynamicFltering: n,
423
423
  items: l,
424
424
  isMultiple: s
425
- }, i, c, m) => {
426
- const d = async (b) => {
427
- var h;
428
- n.value && await S(), (h = l.value[b]) == null || h.focus();
429
- }, u = async (b) => {
430
- var F, K;
425
+ }, i, c, b) => {
426
+ const d = async (m) => {
427
+ var C;
428
+ n.value && await S(), (C = l.value[m]) == null || C.focus();
429
+ }, u = async (m) => {
430
+ var A, K;
431
431
  n.value && await S();
432
- const h = (F = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : F.$el.querySelectorAll(
432
+ const C = (A = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : A.$el.querySelectorAll(
433
433
  "button"
434
434
  );
435
- h.length ? (K = h[b]) == null || K.focus() : d(b);
436
- }, _ = (b) => {
437
- var h;
438
- return (h = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : h.setListboxFocusedIndex(
439
- b
435
+ C.length ? (K = C[m]) == null || K.focus() : d(m);
436
+ }, _ = (m) => {
437
+ var C;
438
+ return (C = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : C.setListboxFocusedIndex(
439
+ m
440
440
  );
441
441
  }, g = () => {
442
442
  e.value || c(), S(() => {
443
443
  _(0), d(0);
444
444
  });
445
- }, f = () => {
445
+ }, v = () => {
446
446
  e.value || c(), S(() => {
447
447
  _(l.value.length - 1), d(l.value.length - 1);
448
448
  });
449
- }, O = ({ detail: b }) => {
450
- b.preventDefault(), g();
451
- }, L = ({ detail: b }) => {
452
- b.preventDefault(), f();
449
+ }, O = ({ detail: m }) => {
450
+ m.preventDefault(), g();
451
+ }, L = ({ detail: m }) => {
452
+ m.preventDefault(), v();
453
453
  }, x = () => {
454
454
  g();
455
455
  }, y = () => {
456
- f();
457
- }, I = ({ detail: b }) => {
458
- b.preventDefault(), i(), e.value && S(() => {
456
+ v();
457
+ }, I = ({ detail: m }) => {
458
+ m.preventDefault(), i(), e.value && S(() => {
459
459
  s ? u(0) : (_(o.value), d(o.value));
460
460
  });
461
- }, D = ({ detail: b }) => {
462
- b.preventDefault(), i(), e.value && S(() => {
461
+ }, D = ({ detail: m }) => {
462
+ m.preventDefault(), i(), e.value && S(() => {
463
463
  s ? u(0) : (_(o.value), d(o.value));
464
464
  });
465
465
  }, B = () => {
466
- e.value && m();
467
- }, k = () => {
468
- e.value && (m(), Ce(a));
466
+ e.value && b();
467
+ }, F = () => {
468
+ e.value && (b(), Ce(a));
469
469
  };
470
470
  return r(() => ({
471
471
  [E.ARROW_DOWN]: O,
@@ -475,9 +475,9 @@ const bt = mt.exports, yt = (a, t) => t.value.reduce((o, e) => {
475
475
  ...n.value ? {} : { [E.SPACE]: I },
476
476
  [E.ENTER]: D,
477
477
  [E.TAB]: B,
478
- [E.ESCAPE]: k
478
+ [E.ESCAPE]: F
479
479
  }));
480
- }, ht = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
480
+ }, Ct = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
481
481
  const e = () => {
482
482
  t.value && o(), S(() => {
483
483
  Ce(a);
@@ -490,9 +490,9 @@ const bt = mt.exports, yt = (a, t) => t.value.reduce((o, e) => {
490
490
  [p.SPACE]: e
491
491
  };
492
492
  };
493
- function Ct(a, t, o, e) {
494
- const n = C(a), l = C(t), s = (c, m = []) => m.flatMap((d) => d.label.toLocaleLowerCase().includes(c) ? e != null && e.value && d.items ? [...s(c, d.items)] : [d, ...s(c, d.items)] : d.items ? [...s(c, d.items)] : []);
495
- return _e(n, () => {
493
+ function wt(a, t, o, e) {
494
+ const n = h(a), l = h(t), s = (c, b = []) => b.flatMap((d) => d.label.toLocaleLowerCase().includes(c) ? e != null && e.value && d.items ? [...s(c, d.items)] : [d, ...s(c, d.items)] : d.items ? [...s(c, d.items)] : []);
495
+ return X(n, () => {
496
496
  o !== void 0 && o(n.value);
497
497
  }), r(() => {
498
498
  if (!n.value || o !== void 0)
@@ -501,7 +501,7 @@ function Ct(a, t, o, e) {
501
501
  return s(c, l.value);
502
502
  });
503
503
  }
504
- const wt = {
504
+ const Lt = {
505
505
  "en-US": {
506
506
  all: "All",
507
507
  ariaLabelFallback: "Dropdown",
@@ -515,154 +515,163 @@ const wt = {
515
515
  all: "Todos",
516
516
  clearFilter: "Limpar filtro"
517
517
  }
518
- }, Lt = Symbol("input field component injection key"), jt = Symbol("input field hint injection key"), Ht = Symbol("input field parent component injection key"), xt = R({
519
- i18n: { messages: wt },
518
+ }, xt = Symbol("input field component injection key"), Ht = Symbol("input field hint injection key"), Jt = Symbol("input field parent component injection key"), St = R({
519
+ i18n: { messages: Lt },
520
520
  name: "b-dropdown",
521
521
  components: {
522
- DropdownInputDefault: Me,
523
- DropdownInputSmall: bt
522
+ DropdownInputDefault: Pe,
523
+ DropdownInputSmall: yt
524
524
  }
525
- }), St = /* @__PURE__ */ R({
526
- ...xt,
525
+ }), Ot = /* @__PURE__ */ R({
526
+ ...St,
527
527
  props: {
528
+ description: { default: null },
529
+ disabled: { type: Boolean, default: !1 },
530
+ errorMessage: { default: null },
531
+ label: { default: null },
532
+ optional: { type: Boolean, default: !1 },
533
+ placeholder: { default: null },
534
+ readonly: { type: Boolean, default: !1 },
535
+ required: { type: Boolean, default: !1 },
536
+ tooltipText: { default: null },
528
537
  ariaLabel: { default: null },
529
538
  condensed: { type: Boolean, default: !1 },
530
539
  emptyState: { default: void 0 },
531
- disabled: { type: Boolean, default: !1 },
532
540
  dynamicFiltering: { type: Boolean, default: !1 },
533
541
  error: { type: Boolean, default: !1 },
534
- errorMessage: { default: null },
535
- description: { default: null },
536
542
  hasMoreItems: { type: Boolean, default: !1 },
537
- isOptionDisabled: { default: void 0 },
543
+ isOptionDisabled: { type: Function, default: void 0 },
538
544
  items: { default: () => [] },
539
- label: { default: null },
540
545
  loading: { type: Boolean, default: !1 },
541
546
  componentLoading: { type: Boolean, default: !1 },
542
547
  lazyLoadType: { default: Q.props.lazyLoadType.default },
543
548
  multiple: { type: Boolean, default: !1 },
544
- optional: { type: Boolean, default: !1 },
545
- placeholder: { default: null },
546
- readonly: { type: Boolean, default: !1 },
547
- required: { type: Boolean, default: !1 },
548
549
  search: { default: void 0 },
549
550
  showSlotContentInMultiple: { type: Boolean, default: !1 },
550
551
  size: { default: null },
551
552
  staticCategories: { type: Boolean, default: !1 },
552
- tooltipText: { default: null },
553
553
  value: { default: null },
554
- virtualScroll: { default: !1 },
554
+ virtualScroll: { type: Boolean, default: !1 },
555
555
  enableValueLabelPair: { type: Boolean, default: !1 }
556
556
  },
557
- emits: ["input", "show-more"],
557
+ emits: ["input", "show-more", "open"],
558
558
  setup(a, { expose: t, emit: o }) {
559
- var pe;
560
- const e = a, n = Te(), l = ge(), s = ze(l), { t: i } = X(), c = C(null), m = C(null), d = C(null), u = C(!1), _ = P("bento-dropdown-options-container"), g = P("dropdown-label"), f = P("dropdown-description"), O = P("dropdown-error"), { isReadOnly: L } = Ke(w(e, "readonly")), { cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I } = $e(
559
+ var fe;
560
+ const e = a, n = Ne(), l = ge(), s = We(l), { t: i } = G(), c = h(null), b = h(null), d = h(null), u = h(!1), _ = $("bento-dropdown-options-container"), g = $("dropdown-label"), v = $("dropdown-description"), O = $("dropdown-error"), { isReadOnly: L } = ze(w(e, "readonly")), { cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I } = ke(
561
561
  w(e, "items"),
562
562
  w(e, "value"),
563
563
  w(e, "multiple"),
564
564
  w(e, "enableValueLabelPair")
565
- ), D = C(n["aria-label"]), { ariaLabel: B, label: k } = he(e), U = r(() => i("ariaLabelFallback")), b = Pe({
565
+ ), D = h(n["aria-label"]), B = h(n["aria-describedby"]), { ariaLabel: F, label: U } = he(e), m = r(() => i("ariaLabelFallback")), C = $e({
566
566
  // TODO: take ariaLabel ref away when aria-label prop is removed
567
- ariaLabel: B.value || D,
568
- label: k,
569
- defaultFallback: U
570
- }), h = e.size === W.SMALL || Ne(Lt, !1), F = r(() => h ? W.SMALL : W.DEFAULT), K = r(() => ({
567
+ ariaLabel: F.value || D,
568
+ label: U,
569
+ defaultFallback: m
570
+ }), A = e.size === W.SMALL || Re(xt, !1), K = r(() => A ? W.SMALL : W.DEFAULT), we = r(() => ({
571
571
  "b-dropdown--condensed": e.condensed
572
- })), we = r(() => ({
572
+ })), Le = r(() => ({
573
573
  "b-dropdown__description--error": !!e.errorMessage
574
- })), T = C(""), A = w(e, "items"), G = w(e, "staticCategories"), V = Ct(T, A, (pe = e == null ? void 0 : e.search) == null ? void 0 : pe.searchEvent, G), q = r(() => e.dynamicFiltering && !!T.value), Le = _t({
575
- items: A,
574
+ })), T = h(""), M = w(e, "items"), ee = w(e, "staticCategories"), V = wt(T, M, (fe = e == null ? void 0 : e.search) == null ? void 0 : fe.searchEvent, ee), j = r(() => e.dynamicFiltering && !!T.value), xe = gt({
575
+ items: M,
576
576
  placeholder: w(e, "placeholder"),
577
577
  isMultiSelect: w(e, "multiple"),
578
578
  selectedValues: x
579
- }), xe = r(() => {
579
+ }), Se = r(() => {
580
580
  if (e != null && e.multiple && Array.isArray(e.value))
581
581
  return e.items.filter(
582
- ({ value: v }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(v)
582
+ ({ value: f }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(f)
583
583
  );
584
584
  if (!e.multiple && e.staticCategories) {
585
- const v = e.items.find(
586
- (J) => J.items.some((Ie) => Ie.value === e.value)
585
+ const f = e.items.find(
586
+ (J) => J.items.some((Te) => Te.value === e.value)
587
587
  );
588
- return v ? v.items.find((J) => J.value === e.value) : null;
588
+ return f ? f.items.find((J) => J.value === e.value) : null;
589
589
  }
590
- return e.items.find(({ value: v }) => v === (e == null ? void 0 : e.value));
591
- }), ee = r(() => {
592
- const v = V.value.findIndex(({ value: N }) => e.enableValueLabelPair ? e.value.value === N : e.value === N);
593
- return v > -1 ? v : 0;
594
- }), { isMultiLevelSelect: j, flattenedItemsList: te } = ke(A), oe = r(() => j.value && !e.staticCategories), ne = r(() => oe.value ? "treeitem" : "option"), Se = r(() => {
590
+ return e.items.find(({ value: f }) => f === (e == null ? void 0 : e.value));
591
+ }), te = r(() => {
592
+ const f = V.value.findIndex(({ value: N }) => e.enableValueLabelPair ? e.value.value === N : e.value === N);
593
+ return f > -1 ? f : 0;
594
+ }), { isMultiLevelSelect: q, flattenedItemsList: oe } = Fe(M), ne = r(() => q.value && !e.staticCategories), ae = r(() => ne.value ? "treeitem" : "option"), Oe = r(() => {
595
595
  if (e.multiple) {
596
- const v = Array.isArray(e.value) ? e.value.length : 0, N = j.value ? te.value.length : A.value.length;
597
- return v === 0 ? null : !e.hasMoreItems && N > 0 && N === v ? i("all") : v;
596
+ const f = Array.isArray(e.value) ? e.value.length : 0, N = q.value ? oe.value.length : M.value.length;
597
+ return f === 0 ? null : !e.hasMoreItems && N > 0 && N === f ? i("all") : f;
598
598
  }
599
599
  return null;
600
- }), Oe = r(
601
- () => `${e.description ? f : ""} ${e.errorMessage ? O : ""}`.trim() || null
602
- ), ae = r(() => {
603
- var v;
604
- return (v = d.value) == null ? void 0 : v.$el;
605
- }), { visibleDomOptions: se, updateVisibleDomOptions: H } = Fe(
606
- ae,
600
+ }), Ee = r(
601
+ () => [
602
+ e.description ? v : null,
603
+ B.value,
604
+ e.errorMessage ? O : null
605
+ ].filter(Boolean).join(" ") || null
606
+ ), se = r(() => {
607
+ var f;
608
+ return (f = d.value) == null ? void 0 : f.$el;
609
+ }), { visibleDomOptions: le, updateVisibleDomOptions: H } = Ke(
610
+ se,
607
611
  V,
608
- ne
609
- ), le = () => {
612
+ ae
613
+ ), ie = () => {
610
614
  L.value || (u.value = !0, S(() => {
611
615
  H();
612
616
  }));
613
617
  }, z = () => {
614
618
  u.value = !1;
615
- }, ie = () => {
619
+ }, re = () => {
616
620
  L.value || (u.value = !u.value, S(() => {
617
621
  H();
618
- }), q.value && (T.value = ""));
619
- }, Ee = () => {
620
- q.value && (T.value = ""), u.value && (u.value = !1, d.value.onOutsideDropdownClick());
621
- }, re = (v) => {
622
- e.multiple || (T.value = "", u.value = !1), I(v), o("input", y.value);
623
- }, de = () => {
622
+ }), j.value && (T.value = ""));
623
+ }, De = () => {
624
+ j.value && (T.value = ""), u.value && (u.value = !1, d.value.onOutsideDropdownClick());
625
+ }, de = (f) => {
626
+ e.multiple || (T.value = "", u.value = !1), I(f), o("input", y.value);
627
+ }, ue = () => {
624
628
  o(p.SHOW_MORE);
625
- }, De = gt(
629
+ }, Be = ht(
626
630
  {
627
631
  inputContainerRef: c,
628
632
  optionsContainerRef: d,
629
- selectedValueIndex: ee,
633
+ selectedValueIndex: te,
630
634
  isDropdownOpen: u,
631
635
  isDynamicFltering: w(e, "dynamicFiltering"),
632
- items: se,
636
+ items: le,
633
637
  isMultiple: e.multiple
634
638
  },
639
+ re,
635
640
  ie,
636
- le,
637
641
  z
638
- ), ce = ht(
642
+ ), ce = Ct(
639
643
  {
640
644
  inputContainerRef: c,
641
645
  isDropdownOpen: u
642
646
  },
643
647
  z
644
- ), Be = {
648
+ ), Ie = {
645
649
  [p.CLOSE_DROPDOWN]: z,
646
- [p.SELECT]: re,
647
- [p.SHOW_MORE]: de,
650
+ [p.SELECT]: de,
651
+ [p.SHOW_MORE]: ue,
648
652
  ...ce
649
653
  };
650
- e.error && fe(
654
+ e.error && ve(
651
655
  'BentoDropdown "error" property',
652
656
  `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
653
657
  Having the field as "undefined" will hide/remove the error.
654
658
  <bento-dropdown errorMessage="Error message text" />`,
655
659
  "2.0.0"
656
- ), e.size && fe('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0");
657
- const ue = () => {
660
+ ), e.size && ve('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0");
661
+ const pe = () => {
658
662
  c.value.focus();
659
663
  };
660
- return t({
661
- focus: ue
662
- }), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: d, isDropdownOpen: u, dropdownOptionsContainerId: _, labelId: g, descriptionId: f, errorId: O, isReadOnly: L, cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I, ariaLabelAttribute: D, ariaLabel: B, label: k, computedAriaLabelFallbackMessage: U, computedAriaLabel: b, isInputComponent: h, computedSize: F, conditionalClasses: K, descriptionConditionalClasses: we, searchTerm: T, items: A, staticCategories: G, filteredItems: V, isSearching: q, displayValue: Le, selectedValueItem: xe, selectedValueIndex: ee, isMultiLevelSelect: j, flattenedItemsList: te, isTreePattern: oe, computedOptionRole: ne, additionalItemsSelected: Se, ariaDescribedBy: Oe, listboxRef: ae, visibleDomOptions: se, updateVisibleDomOptions: H, openDropdown: le, closeDropdown: z, toggleDropdown: ie, clickOutsideDropdown: Ee, onOptionSelected: re, emitShowMoreEvent: de, textboxKeyboardNavigationListeners: De, listboxKeyboardNavigationListeners: ce, listboxListeners: Be, focus: ue, BentoDropdownOptionsContainer: et, BentoTypography: Re, ErrorMessage: qe, FieldLabel: Ve, vBentoClickOutsideDirective: Ue, vBentoKeyboardNavigationDirective: We };
664
+ return X(
665
+ () => u.value,
666
+ (f) => {
667
+ f && o("open");
668
+ }
669
+ ), t({
670
+ focus: pe
671
+ }), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: b, optionsContainerRef: d, isDropdownOpen: u, dropdownOptionsContainerId: _, labelId: g, descriptionId: v, errorId: O, isReadOnly: L, cachedSelectedListboxOptions: x, cachedListboxSelectedValues: y, setCachedValues: I, ariaLabelAttribute: D, ariaDescribedByAttribute: B, ariaLabel: F, label: U, computedAriaLabelFallbackMessage: m, computedAriaLabel: C, isInputComponent: A, computedSize: K, conditionalClasses: we, descriptionConditionalClasses: Le, searchTerm: T, items: M, staticCategories: ee, filteredItems: V, isSearching: j, displayValue: xe, selectedValueItem: Se, selectedValueIndex: te, isMultiLevelSelect: q, flattenedItemsList: oe, isTreePattern: ne, computedOptionRole: ae, additionalItemsSelected: Oe, ariaDescribedBy: Ee, listboxRef: se, visibleDomOptions: le, updateVisibleDomOptions: H, openDropdown: ie, closeDropdown: z, toggleDropdown: re, clickOutsideDropdown: De, onOptionSelected: de, emitShowMoreEvent: ue, textboxKeyboardNavigationListeners: Be, listboxKeyboardNavigationListeners: ce, listboxListeners: Ie, focus: pe, BentoDropdownOptionsContainer: tt, BentoTypography: Ae, ErrorMessage: qe, FieldLabel: je, vBentoClickOutsideDirective: Ve, vBentoKeyboardNavigationDirective: Ue };
663
672
  }
664
673
  });
665
- var Ot = function() {
674
+ var Et = function() {
666
675
  var n;
667
676
  var t = this, o = t._self._c, e = t._self._setupProxy;
668
677
  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.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, "aria-controls": 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, required: t.required, 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) {
@@ -678,20 +687,20 @@ var Ot = function() {
678
687
  })], 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() {
679
688
  return [t._v(" " + t._s(t.description) + " ")];
680
689
  })], 2) : t._e()], 1);
681
- }, Et = [], Dt = /* @__PURE__ */ $(
682
- St,
690
+ }, Dt = [], Bt = /* @__PURE__ */ k(
683
691
  Ot,
684
692
  Et,
693
+ Dt,
685
694
  !1,
686
695
  null,
687
- "1c4a9144"
696
+ "05a0b831"
688
697
  );
689
- const Jt = Dt.exports;
698
+ const Yt = Bt.exports;
690
699
  export {
691
- Jt as B,
692
- jt as I,
693
- Lt as a,
694
- Ht as b,
695
- Ct as u
700
+ Yt as B,
701
+ Ht as I,
702
+ xt as a,
703
+ Jt as b,
704
+ wt as u
696
705
  };
697
- //# sourceMappingURL=dropdown.DQbTuKc5.js.map
706
+ //# sourceMappingURL=dropdown.BOvtYKXS.js.map