@adyen/bento-vue3 1.34.0 → 1.35.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 (282) hide show
  1. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +7 -7
  8. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +1 -1
  9. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +7 -7
  10. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +7 -7
  11. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
  12. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -2
  14. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +3 -3
  15. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -3
  16. package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +11 -0
  17. package/dist/accordion.js +1 -1
  18. package/dist/action-bar.js +1 -1
  19. package/dist/alert.js +1 -1
  20. package/dist/assets/accordion-item.css +1 -1
  21. package/dist/assets/action-bar.css +1 -1
  22. package/dist/assets/alert.css +1 -1
  23. package/dist/assets/avatar.css +1 -1
  24. package/dist/assets/base-modal.css +1 -1
  25. package/dist/assets/calendar.css +1 -1
  26. package/dist/assets/card.css +1 -1
  27. package/dist/assets/checkbox-input.css +1 -1
  28. package/dist/assets/checkbox.css +1 -1
  29. package/dist/assets/code-snippet.css +1 -1
  30. package/dist/assets/copy.css +1 -1
  31. package/dist/assets/currency.css +1 -0
  32. package/dist/assets/data-grid.css +1 -1
  33. package/dist/assets/date-range-picker.css +1 -1
  34. package/dist/assets/dialog-page.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/error-message.css +1 -1
  37. package/dist/assets/filter-bar.css +1 -1
  38. package/dist/assets/header.css +1 -1
  39. package/dist/assets/inspector.css +1 -1
  40. package/dist/assets/loading-button.css +1 -1
  41. package/dist/assets/menu.css +1 -1
  42. package/dist/assets/modal-fullscreen.css +1 -1
  43. package/dist/assets/pagination.css +1 -1
  44. package/dist/assets/popover.css +1 -1
  45. package/dist/assets/sidepanel.css +1 -1
  46. package/dist/assets/step.css +1 -1
  47. package/dist/assets/structured-list-item.css +1 -1
  48. package/dist/assets/timeline-item.css +1 -1
  49. package/dist/assets/tutorial.css +1 -1
  50. package/dist/assets/use-cached-selected-values.css +1 -1
  51. package/dist/avatar.js +1 -1
  52. package/dist/button.js +2 -2
  53. package/dist/card.js +1 -1
  54. package/dist/checkbox.js +3 -3
  55. package/dist/chunks/accordion-item.4Cnn47v_.js +142 -0
  56. package/dist/chunks/accordion-item.4Cnn47v_.js.map +1 -0
  57. package/dist/chunks/{action-bar.DGQYYi8b.js → action-bar.BYMas_1s.js} +58 -44
  58. package/dist/chunks/{action-bar.DGQYYi8b.js.map → action-bar.BYMas_1s.js.map} +1 -1
  59. package/dist/chunks/{alert.Bz4tNKDH.js → alert.B_GZON9f.js} +30 -23
  60. package/dist/chunks/alert.B_GZON9f.js.map +1 -0
  61. package/dist/chunks/{avatar.mNlMngHQ.js → avatar.8erKxh8t.js} +13 -13
  62. package/dist/chunks/avatar.8erKxh8t.js.map +1 -0
  63. package/dist/chunks/{base-modal.Bl7DBkt0.js → base-modal.BbiSFAn1.js} +37 -31
  64. package/dist/chunks/{base-modal.Bl7DBkt0.js.map → base-modal.BbiSFAn1.js.map} +1 -1
  65. package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js → button-actions-with-menu.0ypQxYbM.js} +4 -4
  66. package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js.map → button-actions-with-menu.0ypQxYbM.js.map} +1 -1
  67. package/dist/chunks/{button-actions.hdK5IgrZ.js → button-actions.DcvU9vMt.js} +2 -2
  68. package/dist/chunks/{button-actions.hdK5IgrZ.js.map → button-actions.DcvU9vMt.js.map} +1 -1
  69. package/dist/chunks/{calendar.D--sOCBT.js → calendar.BPatBsD5.js} +148 -148
  70. package/dist/chunks/calendar.BPatBsD5.js.map +1 -0
  71. package/dist/chunks/{card.BvSoujBc.js → card.B7AyQI7f.js} +46 -38
  72. package/dist/chunks/card.B7AyQI7f.js.map +1 -0
  73. package/dist/chunks/{checkbox-group.CuLP3hPd.js → checkbox-group.BJM2i93S.js} +4 -4
  74. package/dist/chunks/{checkbox-group.CuLP3hPd.js.map → checkbox-group.BJM2i93S.js.map} +1 -1
  75. package/dist/chunks/{checkbox-input.JdcvpfTa.js → checkbox-input.YgPBRaZP.js} +12 -11
  76. package/dist/chunks/checkbox-input.YgPBRaZP.js.map +1 -0
  77. package/dist/chunks/{checkbox.DMMXn-h8.js → checkbox.BnYx06nC.js} +50 -40
  78. package/dist/chunks/{checkbox.DMMXn-h8.js.map → checkbox.BnYx06nC.js.map} +1 -1
  79. package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js → checkmark-circle-fill.Bgdq29pu.js} +4 -4
  80. package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +1 -0
  81. package/dist/chunks/{checkmark-small.DEc2T64_.js → checkmark-small.4DMun1A_.js} +4 -4
  82. package/dist/chunks/checkmark-small.4DMun1A_.js.map +1 -0
  83. package/dist/chunks/{chevron-left.NvV5m76j.js → chevron-left.ChbQxOxi.js} +6 -6
  84. package/dist/chunks/chevron-left.ChbQxOxi.js.map +1 -0
  85. package/dist/chunks/{chevron-up.DQZG_BP3.js → chevron-up.zKonWHVc.js} +6 -6
  86. package/dist/chunks/chevron-up.zKonWHVc.js.map +1 -0
  87. package/dist/chunks/{code-snippet.BWM5w4CP.js → code-snippet.1duYqiRx.js} +98 -89
  88. package/dist/chunks/code-snippet.1duYqiRx.js.map +1 -0
  89. package/dist/chunks/{controls-group.BnZVHgQK.js → controls-group.DmroeX6Q.js} +2 -2
  90. package/dist/chunks/{controls-group.BnZVHgQK.js.map → controls-group.DmroeX6Q.js.map} +1 -1
  91. package/dist/chunks/{copy.h-wVGvID.js → copy.5y12_05v.js} +29 -20
  92. package/dist/chunks/copy.5y12_05v.js.map +1 -0
  93. package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js → cross-circle-fill-small.2_Xjp4id.js} +4 -4
  94. package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +1 -0
  95. package/dist/chunks/{cross-circle-fill.DN5b3_eL.js → cross-circle-fill.CEUPgI5F.js} +4 -4
  96. package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +1 -0
  97. package/dist/chunks/{cross-small.CXWTuKA_.js → cross-small.DvCEQd10.js} +4 -4
  98. package/dist/chunks/cross-small.DvCEQd10.js.map +1 -0
  99. package/dist/chunks/{cross.OvPfvoqX.js → cross.CowwLfo4.js} +4 -4
  100. package/dist/chunks/cross.CowwLfo4.js.map +1 -0
  101. package/dist/chunks/{currency.CFJy6QYU.js → currency.BdtY-UIM.js} +3 -2
  102. package/dist/chunks/{currency.CFJy6QYU.js.map → currency.BdtY-UIM.js.map} +1 -1
  103. package/dist/chunks/{dashboard-section.BIH2wzgk.js → dashboard-section.BDkYN89r.js} +3 -3
  104. package/dist/chunks/{dashboard-section.BIH2wzgk.js.map → dashboard-section.BDkYN89r.js.map} +1 -1
  105. package/dist/chunks/{dashed-underline.CFJdLuJp.js → dashed-underline.CMKbg0Fq.js} +2 -2
  106. package/dist/chunks/{dashed-underline.CFJdLuJp.js.map → dashed-underline.CMKbg0Fq.js.map} +1 -1
  107. package/dist/chunks/{data-grid-template.21gqdYrs.js → data-grid-template.CydHXTmg.js} +3 -3
  108. package/dist/chunks/{data-grid-template.21gqdYrs.js.map → data-grid-template.CydHXTmg.js.map} +1 -1
  109. package/dist/chunks/{data-grid.DUwLxtW_.js → data-grid.CcGMljDl.js} +585 -538
  110. package/dist/chunks/data-grid.CcGMljDl.js.map +1 -0
  111. package/dist/chunks/{date-picker.21z_Sw4V.js → date-picker.BsXcXOgl.js} +99 -91
  112. package/dist/chunks/date-picker.BsXcXOgl.js.map +1 -0
  113. package/dist/chunks/{date-range-picker.K2TeW8aX.js → date-range-picker.BFm6Udzx.js} +338 -316
  114. package/dist/chunks/date-range-picker.BFm6Udzx.js.map +1 -0
  115. package/dist/chunks/{date.D8rQMzMG.js → date.CYUV4seY.js} +92 -92
  116. package/dist/chunks/{date.D8rQMzMG.js.map → date.CYUV4seY.js.map} +1 -1
  117. package/dist/chunks/{dialog-page.DALFn9KR.js → dialog-page.CjKMgUlz.js} +4 -3
  118. package/dist/chunks/dialog-page.CjKMgUlz.js.map +1 -0
  119. package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js → dropdown-default-textbox.BopLaEkG.js} +4 -4
  120. package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js.map → dropdown-default-textbox.BopLaEkG.js.map} +1 -1
  121. package/dist/chunks/{dropdown-tag.BNJnscD2.js → dropdown-tag.x3n5-YkA.js} +3 -3
  122. package/dist/chunks/{dropdown-tag.BNJnscD2.js.map → dropdown-tag.x3n5-YkA.js.map} +1 -1
  123. package/dist/chunks/{dropdown.ex87AZ7s.js → dropdown.BxvydNp0.js} +214 -194
  124. package/dist/chunks/dropdown.BxvydNp0.js.map +1 -0
  125. package/dist/chunks/{error-message.D2Y99KjT.js → error-message.CUZgtlDT.js} +44 -30
  126. package/dist/chunks/{error-message.D2Y99KjT.js.map → error-message.CUZgtlDT.js.map} +1 -1
  127. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  128. package/dist/chunks/{expand.CgwNEbbz.js → expand.B5tyMqaF.js} +4 -4
  129. package/dist/chunks/expand.B5tyMqaF.js.map +1 -0
  130. package/dist/chunks/{filter-bar.BAmG-yML.js → filter-bar.re1Tqyai.js} +728 -712
  131. package/dist/chunks/filter-bar.re1Tqyai.js.map +1 -0
  132. package/dist/chunks/{fixed-scroller.DwYB1pqo.js → fixed-scroller.Co0y0kWZ.js} +2 -2
  133. package/dist/chunks/{fixed-scroller.DwYB1pqo.js.map → fixed-scroller.Co0y0kWZ.js.map} +1 -1
  134. package/dist/chunks/{footer-actions.gtxofUAa.js → footer-actions.M83ZEElA.js} +2 -2
  135. package/dist/chunks/{footer-actions.gtxofUAa.js.map → footer-actions.M83ZEElA.js.map} +1 -1
  136. package/dist/chunks/{form-layout-title.Boi0QQZL.js → form-layout-title.ATi1W9uG.js} +2 -2
  137. package/dist/chunks/{form-layout-title.Boi0QQZL.js.map → form-layout-title.ATi1W9uG.js.map} +1 -1
  138. package/dist/chunks/{index.B_UZQ6qF.js → get-date-locale.BN8xEjY0.js} +855 -204
  139. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
  140. package/dist/chunks/{header.BMYhkrGT.js → header.CrNceSOd.js} +104 -98
  141. package/dist/chunks/{header.BMYhkrGT.js.map → header.CrNceSOd.js.map} +1 -1
  142. package/dist/chunks/{index.Z84QE0E2.js → index.CrhTVr5J.js} +2 -2
  143. package/dist/chunks/{index.Z84QE0E2.js.map → index.CrhTVr5J.js.map} +1 -1
  144. package/dist/chunks/{index.xqFSZOAb.js → index.DDnf1O9p.js} +2 -2
  145. package/dist/chunks/{index.xqFSZOAb.js.map → index.DDnf1O9p.js.map} +1 -1
  146. package/dist/chunks/{index.B_EJflcs.js → index.DPafeRJa.js} +2 -2
  147. package/dist/chunks/{index.B_EJflcs.js.map → index.DPafeRJa.js.map} +1 -1
  148. package/dist/chunks/{info-icon.DIu8FeJC.js → info-icon.CBiqUH3L.js} +2 -2
  149. package/dist/chunks/{info-icon.DIu8FeJC.js.map → info-icon.CBiqUH3L.js.map} +1 -1
  150. package/dist/chunks/{info.CIFBUqf-.js → info.D6XuLsYR.js} +4 -4
  151. package/dist/chunks/{info.CIFBUqf-.js.map → info.D6XuLsYR.js.map} +1 -1
  152. package/dist/chunks/{input-field.Dely7A8G.js → input-field.foJTqE5i.js} +3 -3
  153. package/dist/chunks/{input-field.Dely7A8G.js.map → input-field.foJTqE5i.js.map} +1 -1
  154. package/dist/chunks/{inspector.types.t2SPyhw3.js → inspector.types.X_7VgZmS.js} +44 -36
  155. package/dist/chunks/{inspector.types.t2SPyhw3.js.map → inspector.types.X_7VgZmS.js.map} +1 -1
  156. package/dist/chunks/link.2YS7haGc.js.map +1 -1
  157. package/dist/chunks/loading-button.BU536EK4.js +137 -0
  158. package/dist/chunks/loading-button.BU536EK4.js.map +1 -0
  159. package/dist/chunks/{menu.CLicp_2I.js → menu.CI4R2iw1.js} +6 -5
  160. package/dist/chunks/menu.CI4R2iw1.js.map +1 -0
  161. package/dist/chunks/{modal-fullscreen.Caqa7dDp.js → modal-fullscreen.B4sPrlfq.js} +37 -31
  162. package/dist/chunks/{modal-fullscreen.Caqa7dDp.js.map → modal-fullscreen.B4sPrlfq.js.map} +1 -1
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js → modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js} +31 -25
  164. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map +1 -0
  165. package/dist/chunks/{pagination.I5w8bpUS.js → pagination.-1ibfp5g.js} +5 -4
  166. package/dist/chunks/pagination.-1ibfp5g.js.map +1 -0
  167. package/dist/chunks/{popover.DQP3ce2x.js → popover.BN52L17t.js} +3 -3
  168. package/dist/chunks/{popover.DQP3ce2x.js.map → popover.BN52L17t.js.map} +1 -1
  169. package/dist/chunks/{radio-group.lOSBHghv.js → radio-group.RLUDLHPT.js} +3 -3
  170. package/dist/chunks/{radio-group.lOSBHghv.js.map → radio-group.RLUDLHPT.js.map} +1 -1
  171. package/dist/chunks/{refresh.DvQeGwUF.js → refresh.DPE_95xY.js} +4 -4
  172. package/dist/chunks/refresh.DPE_95xY.js.map +1 -0
  173. package/dist/chunks/{search-bar.GCRTgBUA.js → search-bar.CCWTGvJ6.js} +50 -42
  174. package/dist/chunks/{search-bar.GCRTgBUA.js.map → search-bar.CCWTGvJ6.js.map} +1 -1
  175. package/dist/chunks/{search.EnLryD8V.js → search.DJr0124y.js} +4 -4
  176. package/dist/chunks/{search.EnLryD8V.js.map → search.DJr0124y.js.map} +1 -1
  177. package/dist/chunks/{secondary-nav.CGH_6m7u.js → secondary-nav.D81GEGuc.js} +2 -2
  178. package/dist/chunks/{secondary-nav.CGH_6m7u.js.map → secondary-nav.D81GEGuc.js.map} +1 -1
  179. package/dist/chunks/{selection-card-group.BdTuPhEm.js → selection-card-group.3OexUu8G.js} +4 -4
  180. package/dist/chunks/{selection-card-group.BdTuPhEm.js.map → selection-card-group.3OexUu8G.js.map} +1 -1
  181. package/dist/chunks/{sidepanel.DA8nQepj.js → sidepanel.iEewXNIJ.js} +38 -32
  182. package/dist/chunks/{sidepanel.DA8nQepj.js.map → sidepanel.iEewXNIJ.js.map} +1 -1
  183. package/dist/chunks/{step.ClnCjesW.js → step.CyvTQbAk.js} +29 -28
  184. package/dist/chunks/step.CyvTQbAk.js.map +1 -0
  185. package/dist/chunks/{structured-list-item.Z-1ivOFu.js → structured-list-item.DZvCfZuG.js} +36 -30
  186. package/dist/chunks/{structured-list-item.Z-1ivOFu.js.map → structured-list-item.DZvCfZuG.js.map} +1 -1
  187. package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js → summary-grid-item-custom.BRXtpB7y.js} +3 -3
  188. package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js.map → summary-grid-item-custom.BRXtpB7y.js.map} +1 -1
  189. package/dist/chunks/{tabs.xY_6yqmE.js → tabs.BUPiNLbZ.js} +2 -2
  190. package/dist/chunks/{tabs.xY_6yqmE.js.map → tabs.BUPiNLbZ.js.map} +1 -1
  191. package/dist/chunks/{textarea.kYFGQFwd.js → textarea.Bk8-ivBT.js} +3 -3
  192. package/dist/chunks/{textarea.kYFGQFwd.js.map → textarea.Bk8-ivBT.js.map} +1 -1
  193. package/dist/chunks/{timeline-item.D-Yy2qQr.js → timeline-item.USmzRWfs.js} +84 -77
  194. package/dist/chunks/timeline-item.USmzRWfs.js.map +1 -0
  195. package/dist/chunks/{toast.CIVPmwmU.js → toast.BwPhzM1x.js} +2 -2
  196. package/dist/chunks/{toast.CIVPmwmU.js.map → toast.BwPhzM1x.js.map} +1 -1
  197. package/dist/chunks/{toggle.8t4flh_3.js → toggle.PLkyyLr1.js} +2 -2
  198. package/dist/chunks/{toggle.8t4flh_3.js.map → toggle.PLkyyLr1.js.map} +1 -1
  199. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js → tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js} +85 -72
  200. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +1 -0
  201. package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js → use-cached-selected-values.DditZmZy.js} +92 -77
  202. package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +1 -0
  203. package/dist/chunks/{warning-filled.Dm_HhqzW.js → warning-filled.CKoabS8f.js} +4 -4
  204. package/dist/chunks/{warning-filled.Dm_HhqzW.js.map → warning-filled.CKoabS8f.js.map} +1 -1
  205. package/dist/code-snippet.js +1 -1
  206. package/dist/currency.js +1 -1
  207. package/dist/dashboard-template.js +1 -1
  208. package/dist/dashed-underline.js +1 -1
  209. package/dist/data-grid-template.js +1 -1
  210. package/dist/data-grid.js +1 -1
  211. package/dist/date-picker.js +2 -2
  212. package/dist/date-range-picker.js +2 -2
  213. package/dist/date.js +1 -1
  214. package/dist/dropdown.js +4 -4
  215. package/dist/filter-bar.js +1 -1
  216. package/dist/form-layout.js +1 -1
  217. package/dist/header.js +1 -1
  218. package/dist/index.js +50 -50
  219. package/dist/info-icon.js +1 -1
  220. package/dist/input-field.js +1 -1
  221. package/dist/inspector.js +1 -1
  222. package/dist/internal.js +7 -7
  223. package/dist/menu.js +1 -1
  224. package/dist/modal-fullscreen.js +1 -1
  225. package/dist/modal.js +2 -2
  226. package/dist/pagination.js +1 -1
  227. package/dist/popover.js +1 -1
  228. package/dist/radio-group.js +1 -1
  229. package/dist/search-bar.js +2 -2
  230. package/dist/secondary-nav.js +1 -1
  231. package/dist/selection-card.js +1 -1
  232. package/dist/sidepanel.js +1 -1
  233. package/dist/stepper.js +1 -1
  234. package/dist/structured-list.js +1 -1
  235. package/dist/styles/bento.css +3 -0
  236. package/dist/styles/legacy.css +3 -0
  237. package/dist/styles/styleguide.css +3 -0
  238. package/dist/summary-grid.js +1 -1
  239. package/dist/tabs.js +1 -1
  240. package/dist/textarea.js +1 -1
  241. package/dist/timeline.js +1 -1
  242. package/dist/toast.js +1 -1
  243. package/dist/toggle.js +1 -1
  244. package/dist/tutorial.js +1 -1
  245. package/dist/web-types.json +1 -1
  246. package/package.json +4 -4
  247. package/dist/chunks/accordion-item.CQ8DLt9l.js +0 -126
  248. package/dist/chunks/accordion-item.CQ8DLt9l.js.map +0 -1
  249. package/dist/chunks/alert.Bz4tNKDH.js.map +0 -1
  250. package/dist/chunks/avatar.mNlMngHQ.js.map +0 -1
  251. package/dist/chunks/calendar.D--sOCBT.js.map +0 -1
  252. package/dist/chunks/card.BvSoujBc.js.map +0 -1
  253. package/dist/chunks/checkbox-input.JdcvpfTa.js.map +0 -1
  254. package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +0 -1
  255. package/dist/chunks/checkmark-small.DEc2T64_.js.map +0 -1
  256. package/dist/chunks/chevron-left.NvV5m76j.js.map +0 -1
  257. package/dist/chunks/chevron-up.DQZG_BP3.js.map +0 -1
  258. package/dist/chunks/code-snippet.BWM5w4CP.js.map +0 -1
  259. package/dist/chunks/copy.h-wVGvID.js.map +0 -1
  260. package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +0 -1
  261. package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +0 -1
  262. package/dist/chunks/cross-small.CXWTuKA_.js.map +0 -1
  263. package/dist/chunks/cross.OvPfvoqX.js.map +0 -1
  264. package/dist/chunks/data-grid.DUwLxtW_.js.map +0 -1
  265. package/dist/chunks/date-picker.21z_Sw4V.js.map +0 -1
  266. package/dist/chunks/date-range-picker.K2TeW8aX.js.map +0 -1
  267. package/dist/chunks/dialog-page.DALFn9KR.js.map +0 -1
  268. package/dist/chunks/dropdown.ex87AZ7s.js.map +0 -1
  269. package/dist/chunks/expand.CgwNEbbz.js.map +0 -1
  270. package/dist/chunks/filter-bar.BAmG-yML.js.map +0 -1
  271. package/dist/chunks/index.B_UZQ6qF.js.map +0 -1
  272. package/dist/chunks/loading-button.Mx-oDIGy.js +0 -123
  273. package/dist/chunks/loading-button.Mx-oDIGy.js.map +0 -1
  274. package/dist/chunks/menu.CLicp_2I.js.map +0 -1
  275. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js.map +0 -1
  276. package/dist/chunks/pagination.I5w8bpUS.js.map +0 -1
  277. package/dist/chunks/refresh.DvQeGwUF.js.map +0 -1
  278. package/dist/chunks/step.ClnCjesW.js.map +0 -1
  279. package/dist/chunks/timeline-item.D-Yy2qQr.js.map +0 -1
  280. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js.map +0 -1
  281. package/dist/chunks/use-cached-selected-values.ClVxNmUf.js.map +0 -1
  282. /package/dist/assets/{cross.css → main.css} +0 -0
@@ -1,43 +1,52 @@
1
- import { ref as $, watch as Oe, computed as c, defineComponent as z, useSlots as Ee, toRefs as Ce, openBlock as x, createBlock as P, resolveDynamicComponent as Be, mergeProps as M, withCtx as F, createElementVNode as ee, withKeys as Ye, unref as o, createVNode as Q, toHandlers as _, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as k, toDisplayString as ve, createCommentVNode as K, normalizeClass as fe, withDirectives as G, vShow as xe, nextTick as N, useAttrs as Ze, toRef as R, inject as Qe, createTextVNode as Xe } from "vue";
1
+ import { ref as $, watch as Oe, computed as c, defineComponent as z, useSlots as Ee, toRefs as Ce, openBlock as x, createBlock as P, resolveDynamicComponent as Be, mergeProps as N, withCtx as F, createElementVNode as ee, withKeys as Ye, unref as o, createVNode as Q, toHandlers as _, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as k, toDisplayString as ve, createCommentVNode as K, normalizeClass as fe, withDirectives as G, vShow as xe, nextTick as M, useAttrs as Ze, toRef as C, inject as Qe, createTextVNode as Xe } from "vue";
2
2
  import { d as Le, B as _e } from "./typography.z9P0Ec3Q.js";
3
- import { a as ne, b as H, c as Ge, B as V, D as et } from "./dropdown-default-textbox.Bu4bpNGU.js";
3
+ import { g as V } from "./unique-id.XFfoKuc2.js";
4
+ import { u as Ge } from "./aria-label.CaUURpnB.js";
5
+ import { u as ye } from "./i18n.DL9GT2-k.js";
6
+ import { u as et } from "./use-form-layout-loading.D3lALhtC.js";
7
+ import { B as tt } from "./directive.O3yEdalv.js";
8
+ import { B as T, a as lt } from "./keyboard-navigation.Clz1jOaA.js";
9
+ import { a as ne, b as H, c as at, B as J, D as ot } from "./dropdown-default-textbox.BopLaEkG.js";
10
+ import { a as u, B as pe, b as me, c as st, u as nt } from "./use-cached-selected-values.DditZmZy.js";
11
+ import { u as it } from "./use-has-slot.B7eQSabc.js";
12
+ import { F as rt, E as dt } from "./error-message.CUZgtlDT.js";
13
+ import { P as Se } from "./popper-container.DFpaesDm.js";
14
+ import { B as ut } from "./popover.BN52L17t.js";
4
15
  import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
16
+ /* empty css */
5
17
  import { s as ie } from "./events.CMzGybJJ.js";
6
- import { g as J } from "./unique-id.XFfoKuc2.js";
7
- import { u as tt } from "./aria-label.CaUURpnB.js";
8
- import { u as be } from "./i18n.DL9GT2-k.js";
9
- import { u as at } from "./use-form-layout-loading.D3lALhtC.js";
10
- import { B as lt } from "./directive.O3yEdalv.js";
11
- import { B as T, a as ot } from "./keyboard-navigation.Clz1jOaA.js";
12
- import { a as u, B as pe, b as me, c as st, u as nt } from "./use-cached-selected-values.ClVxNmUf.js";
13
- import { u as it } from "./use-has-slot.B7eQSabc.js";
14
- import { F as rt, E as dt } from "./error-message.D2Y99KjT.js";
15
- import { P as we } from "./popper-container.DFpaesDm.js";
16
- import { B as ut } from "./popover.DQP3ce2x.js";
17
18
  import "../assets/dropdown.css";
18
- const ye = {
19
+ const be = {
19
20
  "en-US": {
20
21
  apply: "Apply",
21
22
  cancel: "Cancel",
22
23
  noOptionsMatchThisSearch: "No options match this search"
24
+ },
25
+ "pt-BR": {
26
+ apply: "Aplicar",
27
+ cancel: "Cancelar"
28
+ },
29
+ "ja-JP": {
30
+ apply: "適用",
31
+ cancel: "キャンセル"
23
32
  }
24
- }, ct = (t, l, s, a) => {
25
- const n = $(t.value), { t: e } = be({ messages: ye });
33
+ }, ct = (t, a, s, l) => {
34
+ const n = $(t.value), { t: e } = ye({ messages: be });
26
35
  Oe(t, () => {
27
36
  n.value = t.value;
28
37
  });
29
38
  const i = c(
30
39
  () => JSON.stringify(n.value) === JSON.stringify(t.value)
31
- ), b = () => {
32
- a(u.SELECT, n.value), a(u.CLOSE_DROPDOWN);
40
+ ), m = () => {
41
+ l(u.SELECT, n.value), l(u.CLOSE_DROPDOWN);
33
42
  }, r = () => {
34
- n.value = t.value, a(u.CLOSE_DROPDOWN);
43
+ n.value = t.value, l(u.CLOSE_DROPDOWN);
35
44
  }, g = () => {
36
- s.value && l.value && (n.value = t.value);
45
+ s.value && a.value && (n.value = t.value);
37
46
  }, p = c(() => [
38
47
  {
39
48
  title: e("apply"),
40
- event: b,
49
+ event: m,
41
50
  disabled: i.value
42
51
  },
43
52
  {
@@ -45,22 +54,22 @@ const ye = {
45
54
  event: r
46
55
  }
47
56
  ]), d = (h) => {
48
- n.value = h, l.value || a(u.SELECT, h);
57
+ n.value = h, a.value || l(u.SELECT, h);
49
58
  }, f = (h) => {
50
- d(h), a(u.TAB);
59
+ d(h), l(u.TAB);
51
60
  }, O = (h) => {
52
- d(h), a(u.ENTER);
53
- }, C = (h) => {
54
- d(h), a(u.SPACE);
55
- }, B = () => {
56
- r(), a(u.ESCAPE);
57
- }, w = () => {
58
- a(u.SHOW_MORE);
61
+ d(h), l(u.ENTER);
62
+ }, B = (h) => {
63
+ d(h), l(u.SPACE);
64
+ }, I = () => {
65
+ r(), l(u.ESCAPE);
66
+ }, S = () => {
67
+ l(u.SHOW_MORE);
59
68
  }, E = {
60
69
  [u.SELECT]: d,
61
- [u.SHOW_MORE]: w,
70
+ [u.SHOW_MORE]: S,
62
71
  [u.TAB]: f,
63
- [u.SPACE]: C,
72
+ [u.SPACE]: B,
64
73
  [u.ENTER]: O
65
74
  };
66
75
  return {
@@ -69,11 +78,11 @@ const ye = {
69
78
  internalSelectedValue: n,
70
79
  // Methods
71
80
  listeners: E,
72
- onEscapeKey: B,
81
+ onEscapeKey: I,
73
82
  onOutsideDropdownClick: g
74
83
  };
75
84
  }, ft = z({
76
- i18n: { messages: ye },
85
+ i18n: { messages: be },
77
86
  name: "bento-dropdown-options-container"
78
87
  }), pt = /* @__PURE__ */ z({
79
88
  ...ft,
@@ -171,7 +180,7 @@ const ye = {
171
180
  * Reference to the DOM element or Vue component for positioning
172
181
  * the Dropdown container.
173
182
  */
174
- targetElement: { type: we.props.targetElement.type, required: !0 },
183
+ targetElement: { type: Se.props.targetElement.type, required: !0 },
175
184
  /**
176
185
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
177
186
  * The itemHeight function is used to calculate the height of rendered item given it's index.
@@ -181,23 +190,23 @@ const ye = {
181
190
  default: !1
182
191
  }
183
192
  },
184
- setup(t, { expose: l, emit: s }) {
185
- const a = Ee(), n = s, e = t, { selectedValue: i, multiple: b } = Ce(e), r = $(null), { t: g } = be({ messages: ye }), p = c(() => e.open && !e.disabled), d = c(() => g("noOptionsMatchThisSearch")), f = c(() => ({
193
+ setup(t, { expose: a, emit: s }) {
194
+ const l = Ee(), n = s, e = t, { selectedValue: i, multiple: m } = Ce(e), r = $(null), { t: g } = ye({ messages: be }), p = c(() => e.open && !e.disabled), d = c(() => g("noOptionsMatchThisSearch")), f = c(() => ({
186
195
  "b-dropdown-options-container--single": !(e != null && e.multiple)
187
196
  })), O = c(() => ({
188
197
  "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
189
- })), { actions: C, internalSelectedValue: B, listeners: w, onEscapeKey: E, onOutsideDropdownClick: h } = ct(i, b, p, n), m = c(() => e != null && e.multiple ? ut : we), y = c(() => {
190
- var S;
198
+ })), { actions: B, internalSelectedValue: I, listeners: S, onEscapeKey: E, onOutsideDropdownClick: h } = ct(i, m, p, n), v = c(() => e != null && e.multiple ? ut : Se), b = c(() => {
199
+ var w;
191
200
  const L = {
192
- "min-width": `${(S = e == null ? void 0 : e.targetElement) == null ? void 0 : S.clientWidth}px`,
201
+ "min-width": `${(w = e == null ? void 0 : e.targetElement) == null ? void 0 : w.clientWidth}px`,
193
202
  "max-width": "min(500px, 95%)"
194
203
  };
195
204
  return e != null && e.multiple ? {
196
205
  actionsLayout: "space-between",
197
- actions: C.value,
206
+ actions: B.value,
198
207
  divider: !0,
199
208
  fallbackPosition: ["top-start"],
200
- id: J(`dropdown-options-${e.id}`),
209
+ id: V(`dropdown-options-${e.id}`),
201
210
  open: e.open,
202
211
  position: "bottom-start",
203
212
  style: {
@@ -216,21 +225,21 @@ const ye = {
216
225
  targetElement: e.targetElement
217
226
  };
218
227
  });
219
- return l({
228
+ return a({
220
229
  onOutsideDropdownClick: h
221
- }), (L, S) => (x(), P(Be(m.value), M({
230
+ }), (L, w) => (x(), P(Be(v.value), N({
222
231
  class: ["b-dropdown-options-container", f.value],
223
232
  "aria-label": t.ariaLabel
224
- }, y.value), {
233
+ }, b.value), {
225
234
  default: F(() => [
226
235
  ee("div", {
227
- onKeydown: S[0] || (S[0] = Ye(
236
+ onKeydown: w[0] || (w[0] = Ye(
228
237
  //@ts-ignore
229
238
  (...W) => o(E) && o(E)(...W),
230
239
  ["esc"]
231
240
  ))
232
241
  }, [
233
- Q(o(me), M({
242
+ Q(o(me), N({
234
243
  id: t.id,
235
244
  ref_key: "dropdownOptionsListboxRef",
236
245
  ref: r,
@@ -239,8 +248,8 @@ const ye = {
239
248
  "empty-state": t.emptyState,
240
249
  "is-option-disabled": t.isOptionDisabled,
241
250
  items: t.items,
242
- "selected-value": o(B),
243
- multiple: o(b),
251
+ "selected-value": o(I),
252
+ multiple: o(m),
244
253
  "static-categories": t.staticCategories,
245
254
  "no-results-message": d.value,
246
255
  searching: t.searching,
@@ -248,8 +257,8 @@ const ye = {
248
257
  "lazy-load-type": t.lazyLoadType,
249
258
  "has-more-items": t.hasMoreItems,
250
259
  "virtual-scroll": t.virtualScroll
251
- }, _(o(w))), re({ _: 2 }, [
252
- de(o(a), (W, j) => ({
260
+ }, _(o(S))), re({ _: 2 }, [
261
+ de(o(l), (W, j) => ({
253
262
  name: j,
254
263
  fn: F((te) => [
255
264
  X(L.$slots, j, ue(ce(te)), void 0, !0)
@@ -262,36 +271,36 @@ const ye = {
262
271
  }, 16, ["aria-label", "class"]));
263
272
  }
264
273
  }), mt = /* @__PURE__ */ Y(pt, [["__scopeId", "data-v-cac3da66"]]);
265
- let Se = 0;
274
+ let we = 0;
266
275
  const vt = {
267
276
  beforeCreate() {
268
- this.uuid = Se.toString(), Se += 1;
277
+ this.uuid = we.toString(), we += 1;
269
278
  }
270
- }, bt = { key: 0 };
271
- function yt(t, l, s, a, n, e) {
272
- return x(), k("svg", M({ role: "img" }, t.$attrs, {
279
+ }, yt = { key: 0 };
280
+ function bt(t, a, s, l, n, e) {
281
+ return x(), k("svg", N({ role: "img" }, t.$attrs, {
273
282
  class: "ui-assets-icons-16",
274
283
  xmlns: "http://www.w3.org/2000/svg",
275
284
  width: "16",
276
285
  height: "16",
277
286
  fill: "none"
278
287
  }), [
279
- t.$attrs["svg-title"] ? (x(), k("title", bt, ve(t.$attrs["svg-title"]), 1)) : K("", !0),
280
- l[0] || (l[0] = ee("path", {
288
+ t.$attrs["svg-title"] ? (x(), k("title", yt, ve(t.$attrs["svg-title"]), 1)) : K("", !0),
289
+ a[0] || (a[0] = ee("path", {
281
290
  fill: "#00112C",
282
291
  d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
283
292
  }, null, -1))
284
293
  ], 16);
285
294
  }
286
- const gt = /* @__PURE__ */ Y(vt, [["render", yt]]);
295
+ const gt = /* @__PURE__ */ Y(vt, [["render", bt]]);
287
296
  let $e = 0;
288
297
  const ht = {
289
298
  beforeCreate() {
290
299
  this.uuid = $e.toString(), $e += 1;
291
300
  }
292
301
  }, xt = { key: 0 };
293
- function Lt(t, l, s, a, n, e) {
294
- return x(), k("svg", M({ role: "img" }, t.$attrs, {
302
+ function Lt(t, a, s, l, n, e) {
303
+ return x(), k("svg", N({ role: "img" }, t.$attrs, {
295
304
  class: "ui-assets-icons-16",
296
305
  xmlns: "http://www.w3.org/2000/svg",
297
306
  width: "16",
@@ -299,13 +308,13 @@ function Lt(t, l, s, a, n, e) {
299
308
  fill: "none"
300
309
  }), [
301
310
  t.$attrs["svg-title"] ? (x(), k("title", xt, ve(t.$attrs["svg-title"]), 1)) : K("", !0),
302
- l[0] || (l[0] = ee("path", {
311
+ a[0] || (a[0] = ee("path", {
303
312
  fill: "#00112C",
304
313
  d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
305
314
  }, null, -1))
306
315
  ], 16);
307
316
  }
308
- const wt = /* @__PURE__ */ Y(ht, [["render", Lt]]), St = { class: "b-dropdown-small-textbox__chevron" }, $t = z({
317
+ const St = /* @__PURE__ */ Y(ht, [["render", Lt]]), wt = { class: "b-dropdown-small-textbox__chevron" }, $t = z({
309
318
  name: "dropdown-small-textbox",
310
319
  inheritAttrs: !1
311
320
  }), Ot = /* @__PURE__ */ z({
@@ -369,14 +378,14 @@ const wt = /* @__PURE__ */ Y(ht, [["render", Lt]]), St = { class: "b-dropdown-sm
369
378
  value: { type: String, default: "" }
370
379
  },
371
380
  emits: ["clear", "close", "input", "keydown", "open"],
372
- setup(t, { emit: l }) {
373
- const s = l, a = t, n = c(() => ({
374
- [`b-dropdown-small-textbox--${ne.DISABLED}`]: a.disabled,
375
- [`b-dropdown-small-textbox--${ne.READONLY}`]: a.readonly,
376
- [`b-dropdown-small-textbox--${ne.OPENED}`]: a.open
377
- })), e = c(() => a.open && !a.disabled && !a.readonly), i = (f) => {
381
+ setup(t, { emit: a }) {
382
+ const s = a, l = t, n = c(() => ({
383
+ [`b-dropdown-small-textbox--${ne.DISABLED}`]: l.disabled,
384
+ [`b-dropdown-small-textbox--${ne.READONLY}`]: l.readonly,
385
+ [`b-dropdown-small-textbox--${ne.OPENED}`]: l.open
386
+ })), e = c(() => l.open && !l.disabled && !l.readonly), i = (f) => {
378
387
  s("input", f);
379
- }, b = (f) => {
388
+ }, m = (f) => {
380
389
  s("keydown", f);
381
390
  }, r = (f) => {
382
391
  ie(f), s("open");
@@ -389,18 +398,18 @@ const wt = /* @__PURE__ */ Y(ht, [["render", Lt]]), St = { class: "b-dropdown-sm
389
398
  [H.OPEN]: r,
390
399
  [H.CLOSE]: g,
391
400
  [H.CLEAR]: p,
392
- [H.KEYDOWN]: b
401
+ [H.KEYDOWN]: m
393
402
  };
394
403
  return (f, O) => (x(), k("div", {
395
404
  class: fe(["b-dropdown-small-textbox", n.value])
396
405
  }, [
397
- Q(Ge, M({ ...f.$attrs, ...f.$props }, {
406
+ Q(at, N({ ...f.$attrs, ...f.$props }, {
398
407
  class: "b-dropdown-small-textbox__textbox",
399
- size: o(V).SMALL
408
+ size: o(J).SMALL
400
409
  }, _(d)), {
401
410
  icon: F(() => [
402
- ee("div", St, [
403
- G(Q(o(wt), { "svg-title": "opened" }, null, 512), [
411
+ ee("div", wt, [
412
+ G(Q(o(St), { "svg-title": "opened" }, null, 512), [
404
413
  [xe, e.value]
405
414
  ]),
406
415
  G(Q(o(gt), { "svg-title": "closed" }, null, 512), [
@@ -412,99 +421,101 @@ const wt = /* @__PURE__ */ Y(ht, [["render", Lt]]), St = { class: "b-dropdown-sm
412
421
  }, 16, ["size"])
413
422
  ], 2));
414
423
  }
415
- }), Et = /* @__PURE__ */ Y(Ot, [["__scopeId", "data-v-2fa2d897"]]), Ct = (t, l) => l.value.reduce((s, a) => {
416
- if (a.items) {
417
- const n = a.items.filter(
418
- (i) => t.value.find((b) => b.value === i.value)
424
+ }), Et = /* @__PURE__ */ Y(Ot, [["__scopeId", "data-v-2fa2d897"]]), Ct = (t, a) => a.value.reduce((s, l) => {
425
+ if (l.items) {
426
+ const n = l.items.filter(
427
+ (i) => t.value.find((m) => m.value === i.value)
419
428
  );
420
- n.length === a.items.length ? s.push(a.label) : n.forEach(({ label: i }) => s.push(i));
429
+ n.length === l.items.length ? s.push(l.label) : n.forEach(({ label: i }) => s.push(i));
421
430
  }
422
- return t.value.find((n) => n.value === a.value) && s.push(a.label), s;
423
- }, []).join(", "), Bt = ({ items: t, placeholder: l, selectedValues: s }) => {
424
- const a = c(() => t.value.find((e) => {
425
- var i;
426
- return (i = e.items) == null ? void 0 : i.length;
427
- }));
428
- return c(() => s.value.length ? a.value ? Ct(s, t) : s.value.map(({ label: e }) => e).join(", ") : l.value || null);
431
+ return t.value.find((n) => n.value === l.value) && s.push(l.label), s;
432
+ }, []).join(", "), Bt = ({ items: t, placeholder: a, selectedValues: s, isMultiSelect: l }) => {
433
+ const n = c(
434
+ () => l.value && t.value.find((i) => {
435
+ var m;
436
+ return (m = i.items) == null ? void 0 : m.length;
437
+ })
438
+ );
439
+ return c(() => s.value.length ? n.value ? Ct(s, t) : s.value.map(({ label: i }) => i).join(", ") : a.value || null);
429
440
  }, Ie = (t) => {
430
- var l;
431
- (l = t.value.$children) == null || l[0].$refs.textbox.focus();
441
+ var a;
442
+ (a = t.value.$children) == null || a[0].$refs.textbox.focus();
432
443
  }, It = ({
433
444
  inputContainerRef: t,
434
- optionsContainerRef: l,
445
+ optionsContainerRef: a,
435
446
  selectedValueIndex: s,
436
- isDropdownOpen: a,
447
+ isDropdownOpen: l,
437
448
  isDynamicFltering: n,
438
449
  items: e,
439
450
  isMultiple: i
440
- }, b, r, g) => {
441
- const p = ({ detail: m }) => {
442
- m.preventDefault(), a.value || r(), N(() => {
443
- var y;
444
- i ? (y = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[0].$el.focus() : (l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
451
+ }, m, r, g) => {
452
+ const p = ({ detail: v }) => {
453
+ v.preventDefault(), l.value || r(), M(() => {
454
+ var b;
455
+ i ? (b = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[0].$el.focus() : (a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
445
456
  s.value
446
- ), l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[s.value].$el.focus());
457
+ ), a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[s.value].$el.focus());
447
458
  });
448
- }, d = ({ detail: m }) => {
449
- m.preventDefault(), a.value || r(), N(() => {
450
- l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
459
+ }, d = ({ detail: v }) => {
460
+ v.preventDefault(), l.value || r(), M(() => {
461
+ a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.setListboxFocusedIndex(
451
462
  s.value
452
- ), l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[s.value].$el.focus();
463
+ ), a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.listboxItemRef[s.value].$el.focus();
453
464
  });
454
465
  }, f = () => {
455
- a.value || (r(), N(() => {
456
- var m, y;
466
+ l.value || (r(), M(() => {
467
+ var v, b;
457
468
  if (i) {
458
- const L = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
459
- (m = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[L.length - 1].$children[e.length - 1].$el.focus();
469
+ const L = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
470
+ (v = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[L.length - 1].$children[e.length - 1].$el.focus();
460
471
  } else
461
- (y = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[e.length - 1].$el.focus();
472
+ (b = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[e.length - 1].$el.focus();
462
473
  }));
463
474
  }, O = () => {
464
- a.value && (g(), Ie(t));
465
- }, C = () => {
466
- a.value && g();
475
+ l.value && (g(), Ie(t));
467
476
  }, B = () => {
468
- a.value || r(), N(() => {
469
- var m;
470
- (m = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus();
477
+ l.value && g();
478
+ }, I = () => {
479
+ l.value || r(), M(() => {
480
+ var v;
481
+ (v = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[0].$el.focus();
471
482
  });
472
- }, w = ({ detail: m }) => {
473
- m.preventDefault(), b(), a.value && N(() => {
474
- var y, L;
475
- i ? (y = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[0].$el.focus() : (L = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || L[s.value].$el.focus();
483
+ }, S = ({ detail: v }) => {
484
+ v.preventDefault(), m(), l.value && M(() => {
485
+ var b, L;
486
+ i ? (b = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[0].$el.focus() : (L = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || L[s.value].$el.focus();
476
487
  });
477
488
  }, E = () => {
478
- b(), a.value && N(() => {
479
- var m, y;
480
- i ? (m = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || m[0].$el.focus() : (y = l.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || y[s.value].$el.focus();
489
+ m(), l.value && M(() => {
490
+ var v, b;
491
+ i ? (v = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || v[0].$el.focus() : (b = a.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children) == null || b[s.value].$el.focus();
481
492
  });
482
493
  };
483
494
  return c(() => ({
484
- ...n.value ? {} : { [T.SPACE]: w },
495
+ ...n.value ? {} : { [T.SPACE]: S },
485
496
  [T.ENTER]: E,
486
497
  [T.ARROW_DOWN]: p,
487
498
  [T.ARROW_UP]: d,
488
499
  [T.END]: f,
489
500
  [T.ESCAPE]: O,
490
- [T.HOME]: B,
491
- [T.TAB]: C
501
+ [T.HOME]: I,
502
+ [T.TAB]: B
492
503
  }));
493
- }, Dt = ({ inputContainerRef: t, isDropdownOpen: l }, s) => {
494
- const a = () => {
495
- l.value && s(), N(() => {
504
+ }, Dt = ({ inputContainerRef: t, isDropdownOpen: a }, s) => {
505
+ const l = () => {
506
+ a.value && s(), M(() => {
496
507
  Ie(t);
497
508
  });
498
509
  };
499
510
  return {
500
- [u.ENTER]: a,
501
- [u.ESCAPE]: a,
502
- [u.TAB]: a,
503
- [u.SPACE]: a
511
+ [u.ENTER]: l,
512
+ [u.ESCAPE]: l,
513
+ [u.TAB]: l,
514
+ [u.SPACE]: l
504
515
  };
505
516
  };
506
- function Rt(t, l, s, a) {
507
- const n = $(t), e = $(l), i = (r, g = []) => g.flatMap((p) => p.label.toLocaleLowerCase().includes(r) ? a != null && a.value && p.items ? [...i(r, p.items)] : [p, ...i(r, p.items)] : p.items ? [...i(r, p.items)] : []);
517
+ function Rt(t, a, s, l) {
518
+ const n = $(t), e = $(a), i = (r, g = []) => g.flatMap((p) => p.label.toLocaleLowerCase().includes(r) ? l != null && l.value && p.items ? [...i(r, p.items)] : [p, ...i(r, p.items)] : p.items ? [...i(r, p.items)] : []);
508
519
  return Oe(n, () => {
509
520
  s !== void 0 && s(n.value);
510
521
  }), c(() => {
@@ -519,15 +530,23 @@ const De = {
519
530
  all: "All",
520
531
  clearSearch: "Clear filter",
521
532
  ariaLabelFallback: "Dropdown"
533
+ },
534
+ "pt-BR": {
535
+ all: "Todos",
536
+ clearFilter: "Limpar filtro"
537
+ },
538
+ "ja-JP": {
539
+ all: "すべて",
540
+ clearFilter: "フィルターをクリア"
522
541
  }
523
542
  }, Tt = Symbol("input field component injection key"), At = z({
524
543
  i18n: { messages: De },
525
544
  name: "b-dropdown",
526
545
  components: {
527
- DropdownInputDefault: et,
546
+ DropdownInputDefault: ot,
528
547
  DropdownInputSmall: Et
529
548
  }
530
- }), Nt = /* @__PURE__ */ z({
549
+ }), Mt = /* @__PURE__ */ z({
531
550
  ...At,
532
551
  props: {
533
552
  /**
@@ -656,7 +675,7 @@ const De = {
656
675
  size: {
657
676
  type: String,
658
677
  default: null,
659
- validator: (t) => Object.values(V).includes(t)
678
+ validator: (t) => Object.values(J).includes(t)
660
679
  },
661
680
  /**
662
681
  * If enabled, dropdown will display non-selectable, static categories
@@ -685,59 +704,60 @@ const De = {
685
704
  }
686
705
  },
687
706
  emits: ["input", "show-more"],
688
- setup(t, { emit: l }) {
707
+ setup(t, { emit: a }) {
689
708
  var he;
690
- const s = Ze(), a = Ee(), n = it(a), e = t, i = l, { t: b } = be({ messages: De }), r = $(null), g = $(null), p = $(null), d = $(!1), f = J("bento-dropdown-options-container"), O = J("dropdown-label"), C = J("dropdown-description"), B = J("dropdown-error"), { isReadOnly: w } = at(R(e, "readonly")), { cachedSelectedListboxOptions: E, cachedListboxSelectedValues: h, setCachedValues: m } = st(
691
- R(e, "items"),
692
- R(e, "value"),
693
- R(e, "multiple")
694
- ), y = $(s["aria-label"]), { ariaLabel: L, label: S } = Ce(e), W = tt({
709
+ const s = Ze(), l = Ee(), n = it(l), e = t, i = a, { t: m } = ye({ messages: De }), r = $(null), g = $(null), p = $(null), d = $(!1), f = V("bento-dropdown-options-container"), O = V("dropdown-label"), B = V("dropdown-description"), I = V("dropdown-error"), { isReadOnly: S } = et(C(e, "readonly")), { cachedSelectedListboxOptions: E, cachedListboxSelectedValues: h, setCachedValues: v } = st(
710
+ C(e, "items"),
711
+ C(e, "value"),
712
+ C(e, "multiple")
713
+ ), b = $(s["aria-label"]), { ariaLabel: L, label: w } = Ce(e), W = Ge({
695
714
  // TODO: take ariaLabel ref away when aria-label prop is removed
696
- ariaLabel: L || y,
697
- label: S,
698
- defaultFallback: b("ariaLabelFallback")
699
- }), j = e.size === V.SMALL || Qe(Tt, !1), te = c(() => j ? V.SMALL : V.DEFAULT), Re = c(() => ({
715
+ ariaLabel: L || b,
716
+ label: w,
717
+ defaultFallback: m("ariaLabelFallback")
718
+ }), j = e.size === J.SMALL || Qe(Tt, !1), te = c(() => j ? J.SMALL : J.DEFAULT), Re = c(() => ({
700
719
  "b-dropdown--condensed": e.condensed
701
720
  })), Te = c(() => ({
702
721
  "b-dropdown__description--error": !!e.errorMessage
703
- })), A = $(""), Z = R(e, "items"), ge = R(e, "staticCategories"), Ae = Rt(A, Z, (he = e == null ? void 0 : e.search) == null ? void 0 : he.searchEvent, ge), ae = c(() => e.dynamicFiltering && !!A.value), Ne = Bt({
722
+ })), A = $(""), Z = C(e, "items"), ge = C(e, "staticCategories"), Ae = Rt(A, Z, (he = e == null ? void 0 : e.search) == null ? void 0 : he.searchEvent, ge), le = c(() => e.dynamicFiltering && !!A.value), Me = Bt({
704
723
  items: Z,
705
- placeholder: R(e, "placeholder"),
724
+ placeholder: C(e, "placeholder"),
725
+ isMultiSelect: C(e, "multiple"),
706
726
  selectedValues: E
707
- }), Me = c(() => {
727
+ }), Ne = c(() => {
708
728
  if (e != null && e.multiple && Array.isArray(e.value))
709
729
  return e.items.filter(
710
- ({ value: v }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(v)
730
+ ({ value: y }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(y)
711
731
  );
712
732
  if (!e.multiple && e.staticCategories) {
713
- const v = e.items.find(
714
- (D) => D.items.some((U) => U.value === e.value)
733
+ const y = e.items.find(
734
+ (R) => R.items.some((U) => U.value === e.value)
715
735
  );
716
- return v ? v.items.find((D) => D.value === e.value) : null;
736
+ return y ? y.items.find((R) => R.value === e.value) : null;
717
737
  }
718
- return e.items.find(({ value: v }) => v === (e == null ? void 0 : e.value));
738
+ return e.items.find(({ value: y }) => y === (e == null ? void 0 : e.value));
719
739
  }), ke = c(() => {
720
- const v = e.items.findIndex(({ value: I }) => e.value === I);
721
- return v > 0 ? v : 0;
740
+ const y = e.items.findIndex(({ value: D }) => e.value === D);
741
+ return y > 0 ? y : 0;
722
742
  }), { isMultiLevelSelect: Pe, flattenedItemsList: Ke } = nt(Z), Fe = c(() => {
723
- var v;
743
+ var y;
724
744
  if (e.multiple) {
725
- const I = (v = e == null ? void 0 : e.value) == null ? void 0 : v.length, D = Pe.value ? Ke.value.length : Z.value.length;
726
- return !e.hasMoreItems && D === I ? b("all") : I;
745
+ const D = (y = e == null ? void 0 : e.value) == null ? void 0 : y.length, R = Pe.value ? Ke.value.length : Z.value.length;
746
+ return !e.hasMoreItems && R === D ? m("all") : D;
727
747
  }
728
748
  return null;
729
749
  }), ze = c(
730
- () => `${e.description ? C : ""} ${e.errorMessage ? B : ""}`.trim() || null
750
+ () => `${e.description ? B : ""} ${e.errorMessage ? I : ""}`.trim() || null
731
751
  ), We = () => {
732
- w.value || (d.value = !0);
733
- }, le = () => {
752
+ S.value || (d.value = !0);
753
+ }, ae = () => {
734
754
  d.value = !1;
735
755
  }, oe = () => {
736
- w.value || (d.value = !d.value, ae.value && (A.value = ""));
756
+ S.value || (d.value = !d.value, le.value && (A.value = ""));
737
757
  }, je = () => {
738
- ae.value && (A.value = ""), d.value && (d.value = !1, p.value.onOutsideDropdownClick());
739
- }, Ue = (v) => {
740
- e.multiple || (A.value = "", d.value = !1), m(v), i("input", h.value);
758
+ le.value && (A.value = ""), d.value && (d.value = !1, p.value.onOutsideDropdownClick());
759
+ }, Ue = (y) => {
760
+ e.multiple || (A.value = "", d.value = !1), v(y), i("input", h.value);
741
761
  }, qe = () => {
742
762
  i(u.SHOW_MORE);
743
763
  }, He = It(
@@ -746,21 +766,21 @@ const De = {
746
766
  optionsContainerRef: p,
747
767
  selectedValueIndex: ke,
748
768
  isDropdownOpen: d,
749
- isDynamicFltering: R(e, "dynamicFiltering"),
769
+ isDynamicFltering: C(e, "dynamicFiltering"),
750
770
  items: e.items,
751
771
  isMultiple: e.multiple
752
772
  },
753
773
  oe,
754
774
  We,
755
- le
775
+ ae
756
776
  ), Ve = Dt(
757
777
  {
758
778
  inputContainerRef: r,
759
779
  isDropdownOpen: d
760
780
  },
761
- le
781
+ ae
762
782
  ), Je = {
763
- [u.CLOSE_DROPDOWN]: le,
783
+ [u.CLOSE_DROPDOWN]: ae,
764
784
  [u.SELECT]: Ue,
765
785
  [u.SHOW_MORE]: qe,
766
786
  ...Ve
@@ -771,21 +791,21 @@ const De = {
771
791
  Having the field as "undefined" will hide/remove the error.
772
792
  <bento-dropdown errorMessage="Error message text" />`,
773
793
  "2.0.0"
774
- ), e.size && Le('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), (v, I) => {
775
- var D;
794
+ ), e.size && Le('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), (y, D) => {
795
+ var R;
776
796
  return G((x(), k("div", {
777
797
  class: fe(["b-dropdown", Re.value])
778
798
  }, [
779
- o(S) ? (x(), P(o(rt), {
799
+ o(w) ? (x(), P(o(rt), {
780
800
  key: 0,
781
801
  id: o(O),
782
802
  condensed: t.condensed,
783
- label: o(S),
803
+ label: o(w),
784
804
  "tooltip-text": t.tooltipText,
785
805
  optional: t.optional,
786
806
  required: t.required
787
807
  }, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) : K("", !0),
788
- G((x(), k("div", M({
808
+ G((x(), k("div", N({
789
809
  ref_key: "inputContainerRefWrapper",
790
810
  ref: g
791
811
  }, _(o(He), !0)), [
@@ -797,41 +817,41 @@ const De = {
797
817
  "additional-items-selected": Fe.value,
798
818
  ariaControls: o(f),
799
819
  ariaExpanded: d.value,
800
- "aria-labelledby": o(S) ? o(O) : null,
820
+ "aria-labelledby": o(w) ? o(O) : null,
801
821
  "aria-describedby": ze.value,
802
822
  "aria-label": o(W),
803
- "aria-readonly": o(w),
804
- readonly: o(w),
823
+ "aria-readonly": o(S),
824
+ readonly: o(S),
805
825
  disabled: t.disabled,
806
- "display-value": o(Ne),
826
+ "display-value": o(Me),
807
827
  "dynamic-filtering": t.dynamicFiltering,
808
828
  "is-invalid": !!t.errorMessage || t.error,
809
829
  multiple: t.multiple,
810
830
  open: d.value,
811
- "selected-value-item": o(j) ? void 0 : Me.value,
831
+ "selected-value-item": o(j) ? void 0 : Ne.value,
812
832
  "show-slot-content-in-multiple": t.showSlotContentInMultiple,
813
- onInput: I[0] || (I[0] = (U) => A.value = U),
833
+ onInput: D[0] || (D[0] = (U) => A.value = U),
814
834
  onOpen: oe,
815
835
  onClose: oe
816
836
  }, re({ _: 2 }, [
817
- de(o(a), (U, q) => ({
837
+ de(o(l), (U, q) => ({
818
838
  name: q,
819
839
  fn: F((se) => [
820
- X(v.$slots, q, ue(ce(se)), void 0, !0)
840
+ X(y.$slots, q, ue(ce(se)), void 0, !0)
821
841
  ])
822
842
  }))
823
843
  ]), 1064, ["condensed", "value", "additional-items-selected", "ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
824
844
  ], 16)), [
825
- [o(ot)]
845
+ [o(lt)]
826
846
  ]),
827
- r.value ? (x(), P(o(mt), M({
847
+ r.value ? (x(), P(o(mt), N({
828
848
  key: 1,
829
849
  id: o(f),
830
850
  ref_key: "optionsContainerRef",
831
851
  ref: p,
832
852
  "aria-label": o(W),
833
853
  "empty-state": t.emptyState,
834
- "debounce-time": (D = t.search) == null ? void 0 : D.debounceTime,
854
+ "debounce-time": (R = t.search) == null ? void 0 : R.debounceTime,
835
855
  disabled: t.disabled,
836
856
  "is-option-disabled": t.isOptionDisabled,
837
857
  items: o(Ae),
@@ -839,48 +859,48 @@ const De = {
839
859
  "static-categories": ge.value,
840
860
  open: d.value,
841
861
  "selected-value": o(E),
842
- searching: ae.value,
862
+ searching: le.value,
843
863
  "target-element": g.value,
844
864
  loading: t.loading,
845
865
  "has-more-items": t.hasMoreItems,
846
866
  "lazy-load-type": t.lazyLoadType,
847
867
  "virtual-scroll": t.virtualScroll
848
868
  }, _(Je)), re({ _: 2 }, [
849
- de(o(a), (U, q) => ({
869
+ de(o(l), (U, q) => ({
850
870
  name: q,
851
871
  fn: F((se) => [
852
- X(v.$slots, q, ue(ce(se)), void 0, !0)
872
+ X(y.$slots, q, ue(ce(se)), void 0, !0)
853
873
  ])
854
874
  }))
855
875
  ]), 1040, ["id", "aria-label", "empty-state", "debounce-time", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : K("", !0),
856
876
  t.errorMessage ? (x(), P(o(dt), {
857
877
  key: 2,
858
- id: o(B),
878
+ id: o(I),
859
879
  "error-message": t.errorMessage,
860
880
  class: "b-dropdown__error-message"
861
881
  }, null, 8, ["id", "error-message"])) : K("", !0),
862
882
  t.description || o(n)("description") ? (x(), P(o(_e), {
863
883
  key: 3,
864
- id: o(C),
884
+ id: o(B),
865
885
  class: fe(["b-dropdown__description", Te.value]),
866
886
  el: "span"
867
887
  }, {
868
888
  default: F(() => [
869
- X(v.$slots, "description", {}, () => [
889
+ X(y.$slots, "description", {}, () => [
870
890
  Xe(ve(t.description), 1)
871
891
  ], !0)
872
892
  ]),
873
893
  _: 3
874
894
  }, 8, ["id", "class"])) : K("", !0)
875
895
  ], 2)), [
876
- [o(lt), je]
896
+ [o(tt), je]
877
897
  ]);
878
898
  };
879
899
  }
880
- }), Xt = /* @__PURE__ */ Y(Nt, [["__scopeId", "data-v-37c4093f"]]);
900
+ }), _t = /* @__PURE__ */ Y(Mt, [["__scopeId", "data-v-588a69e8"]]);
881
901
  export {
882
- Xt as B,
902
+ _t as B,
883
903
  Tt as I,
884
904
  Rt as u
885
905
  };
886
- //# sourceMappingURL=dropdown.ex87AZ7s.js.map
906
+ //# sourceMappingURL=dropdown.BxvydNp0.js.map