@adyen/bento-vue3 1.88.1 → 1.89.2

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 (366) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +722 -524
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-button.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid-template.css +1 -1
  17. package/dist/assets/data-grid.css +1 -1
  18. package/dist/assets/dialog-page.css +1 -1
  19. package/dist/assets/file-uploader.css +1 -1
  20. package/dist/assets/filter-bar.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/inspector.css +1 -1
  23. package/dist/assets/list-item.css +1 -0
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/radio-input.css +1 -1
  26. package/dist/assets/selection-card-group.css +1 -1
  27. package/dist/assets/sidepanel.css +1 -1
  28. package/dist/assets/timeline-item.css +1 -1
  29. package/dist/assets/use-cached-selected-values.css +1 -1
  30. package/dist/button.js +3 -3
  31. package/dist/card.js +1 -1
  32. package/dist/checkbox.js +2 -2
  33. package/dist/chip.js +1 -1
  34. package/dist/chunks/{accordion-item.QQ06tTjt.js → accordion-item.BX1KrLMl.js} +6 -15
  35. package/dist/chunks/{accordion-item.QQ06tTjt.js.map → accordion-item.BX1KrLMl.js.map} +1 -1
  36. package/dist/chunks/{action-bar.BS2cJzG_.js → action-bar.DLMaIUWW.js} +8 -34
  37. package/dist/chunks/{action-bar.BS2cJzG_.js.map → action-bar.DLMaIUWW.js.map} +1 -1
  38. package/dist/chunks/{ai-button.XfeGC4-Q.js → ai-button.1YJdI-sw.js} +3 -3
  39. package/dist/chunks/{ai-button.XfeGC4-Q.js.map → ai-button.1YJdI-sw.js.map} +1 -1
  40. package/dist/chunks/{ai-tag.DVCW-_vD.js → ai-tag.DK63ExDc.js} +6 -15
  41. package/dist/chunks/{ai-tag.DVCW-_vD.js.map → ai-tag.DK63ExDc.js.map} +1 -1
  42. package/dist/chunks/{alert.CDWtu0Hu.js → alert.C_8-VNi_.js} +6 -24
  43. package/dist/chunks/{alert.CDWtu0Hu.js.map → alert.C_8-VNi_.js.map} +1 -1
  44. package/dist/chunks/anchor-scroller.NhjLDBZI.js +207 -0
  45. package/dist/chunks/{anchor-scroller.BctgW0se.js.map → anchor-scroller.NhjLDBZI.js.map} +1 -1
  46. package/dist/chunks/{base-button.CRYAiuzn.js → base-button.CvHl36Ue.js} +24 -27
  47. package/dist/chunks/{base-button.CRYAiuzn.js.map → base-button.CvHl36Ue.js.map} +1 -1
  48. package/dist/chunks/base-modal.C2-JyHC_.js +424 -0
  49. package/dist/chunks/{base-modal.gZAtk-xP.js.map → base-modal.C2-JyHC_.js.map} +1 -1
  50. package/dist/chunks/button-actions-with-menu.BQFAgAI2.js +85 -0
  51. package/dist/chunks/{button-actions-with-menu.Tba1ME79.js.map → button-actions-with-menu.BQFAgAI2.js.map} +1 -1
  52. package/dist/chunks/{button-actions.BYBpjNqy.js → button-actions.cMQWyZne.js} +511 -542
  53. package/dist/chunks/{button-actions.BYBpjNqy.js.map → button-actions.cMQWyZne.js.map} +1 -1
  54. package/dist/chunks/{button.C6t9_lzm.js → button.DWF7FSIw.js} +42 -45
  55. package/dist/chunks/{button.C6t9_lzm.js.map → button.DWF7FSIw.js.map} +1 -1
  56. package/dist/chunks/calendar.DcCqkSNJ.js +1201 -0
  57. package/dist/chunks/{calendar.vM3abC8y.js.map → calendar.DcCqkSNJ.js.map} +1 -1
  58. package/dist/chunks/{card.Cw63i7Ul.js → card.CoxQ_L0w.js} +9 -21
  59. package/dist/chunks/{card.Cw63i7Ul.js.map → card.CoxQ_L0w.js.map} +1 -1
  60. package/dist/chunks/{checkbox-group.ODQy-ICn.js → checkbox-group.96n9Cc3W.js} +5 -5
  61. package/dist/chunks/{checkbox-group.ODQy-ICn.js.map → checkbox-group.96n9Cc3W.js.map} +1 -1
  62. package/dist/chunks/{checkbox-input.BZjSoCQW.js → checkbox-input.CVFQCfZM.js} +44 -51
  63. package/dist/chunks/{checkbox-input.BZjSoCQW.js.map → checkbox-input.CVFQCfZM.js.map} +1 -1
  64. package/dist/chunks/{checkbox.C3Ewfygy.js → checkbox.C6ATh8f5.js} +85 -94
  65. package/dist/chunks/{checkbox.C3Ewfygy.js.map → checkbox.C6ATh8f5.js.map} +1 -1
  66. package/dist/chunks/chevron-right-small.BCinNiMt.js +29 -0
  67. package/dist/chunks/chevron-right-small.BCinNiMt.js.map +1 -0
  68. package/dist/chunks/{chip.CyW1V8RU.js → chip.CdgpQyXN.js} +6 -12
  69. package/dist/chunks/{chip.CyW1V8RU.js.map → chip.CdgpQyXN.js.map} +1 -1
  70. package/dist/chunks/click-outside.BPylIosK.js +20 -0
  71. package/dist/chunks/{click-outside.CDz_x8mN.js.map → click-outside.BPylIosK.js.map} +1 -1
  72. package/dist/chunks/{code-snippet.BaJU2I5_.js → code-snippet.DgAuuZF5.js} +9 -24
  73. package/dist/chunks/{code-snippet.BaJU2I5_.js.map → code-snippet.DgAuuZF5.js.map} +1 -1
  74. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  75. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  76. package/dist/chunks/constructNow.D9uRk678.js +8 -0
  77. package/dist/chunks/{constructNow.CIc7d13I.js.map → constructNow.D9uRk678.js.map} +1 -1
  78. package/dist/chunks/{controls-group.Bu5lNTyH.js → controls-group.C7hOE1F4.js} +3 -3
  79. package/dist/chunks/{controls-group.Bu5lNTyH.js.map → controls-group.C7hOE1F4.js.map} +1 -1
  80. package/dist/chunks/{copy.C_BCNHYQ.js → copy.C2kQ1PbI.js} +7 -19
  81. package/dist/chunks/{copy.C_BCNHYQ.js.map → copy.C2kQ1PbI.js.map} +1 -1
  82. package/dist/chunks/{country.DJts6kCv.js → country.CaGc08Ps.js} +3 -3
  83. package/dist/chunks/{country.DJts6kCv.js.map → country.CaGc08Ps.js.map} +1 -1
  84. package/dist/chunks/country.types.DjpMGz7a.js +19 -0
  85. package/dist/chunks/{country.types.BBQbWkTY.js.map → country.types.DjpMGz7a.js.map} +1 -1
  86. package/dist/chunks/{currency.Afx8MVdY.js → currency.DuTEzR_W.js} +40 -42
  87. package/dist/chunks/{currency.Afx8MVdY.js.map → currency.DuTEzR_W.js.map} +1 -1
  88. package/dist/chunks/dashboard-section.UafHRkMa.js +161 -0
  89. package/dist/chunks/{dashboard-section.CgoLquLP.js.map → dashboard-section.UafHRkMa.js.map} +1 -1
  90. package/dist/chunks/dashed-underline.CcDV2Aks.js +108 -0
  91. package/dist/chunks/{dashed-underline.wbRHATeE.js.map → dashed-underline.CcDV2Aks.js.map} +1 -1
  92. package/dist/chunks/data-grid-template.CnC4TQvk.js +135 -0
  93. package/dist/chunks/{data-grid-template.D40V1cmi.js.map → data-grid-template.CnC4TQvk.js.map} +1 -1
  94. package/dist/chunks/data-grid.BSIXLRm7.js +4014 -0
  95. package/dist/chunks/{data-grid.C2nCCbeC.js.map → data-grid.BSIXLRm7.js.map} +1 -1
  96. package/dist/chunks/date-picker.dlzZ_-5f.js +231 -0
  97. package/dist/chunks/{date-picker.D5B_SECc.js.map → date-picker.dlzZ_-5f.js.map} +1 -1
  98. package/dist/chunks/date-range-picker.DC6CK0As.js +995 -0
  99. package/dist/chunks/{date-range-picker.B0q7Z4df.js.map → date-range-picker.DC6CK0As.js.map} +1 -1
  100. package/dist/chunks/{date.BtB1HyWQ.js → date.R2Wz6o7J.js} +28 -28
  101. package/dist/chunks/{date.BtB1HyWQ.js.map → date.R2Wz6o7J.js.map} +1 -1
  102. package/dist/chunks/{de.BJvo6njq.js → de.DXrHnkLX.js} +18 -18
  103. package/dist/chunks/{de.BJvo6njq.js.map → de.DXrHnkLX.js.map} +1 -1
  104. package/dist/chunks/{dialog-page.C1KUI51V.js → dialog-page.COfKqjT-.js} +7 -13
  105. package/dist/chunks/{dialog-page.C1KUI51V.js.map → dialog-page.COfKqjT-.js.map} +1 -1
  106. package/dist/chunks/differenceInMonths.s_znQQpw.js +43 -0
  107. package/dist/chunks/{differenceInMonths.CIYECBxK.js.map → differenceInMonths.s_znQQpw.js.map} +1 -1
  108. package/dist/chunks/{directive.rXUeDb8p.js → directive.Dpivxq_t.js} +2 -2
  109. package/dist/chunks/{directive.rXUeDb8p.js.map → directive.Dpivxq_t.js.map} +1 -1
  110. package/dist/chunks/{dropdown-default-textbox.CskseEho.js → dropdown-default-textbox.bq9AlGzJ.js} +55 -64
  111. package/dist/chunks/{dropdown-default-textbox.CskseEho.js.map → dropdown-default-textbox.bq9AlGzJ.js.map} +1 -1
  112. package/dist/chunks/{dropdown-tag.Zj-exiup.js → dropdown-tag.Ysrac5GN.js} +82 -86
  113. package/dist/chunks/{dropdown-tag.Zj-exiup.js.map → dropdown-tag.Ysrac5GN.js.map} +1 -1
  114. package/dist/chunks/dropdown.MhmX1P9o.js +799 -0
  115. package/dist/chunks/{dropdown.CxjzXI-k.js.map → dropdown.MhmX1P9o.js.map} +1 -1
  116. package/dist/chunks/{empty-state.DqdPzU-g.js → empty-state.DT4sFyjB.js} +7 -14
  117. package/dist/chunks/{empty-state.DqdPzU-g.js.map → empty-state.DT4sFyjB.js.map} +1 -1
  118. package/dist/chunks/{en-GB.C3-QUpva.js → en-GB.CBpvhDYV.js} +2 -2
  119. package/dist/chunks/{en-GB.C3-QUpva.js.map → en-GB.CBpvhDYV.js.map} +1 -1
  120. package/dist/chunks/{en-US.YeSsZuOc.js → en-US.CCazFVNP.js} +30 -30
  121. package/dist/chunks/{en-US.YeSsZuOc.js.map → en-US.CCazFVNP.js.map} +1 -1
  122. package/dist/chunks/{error-message.oGiefI2-.js → error-message.DCgo8q20.js} +8 -20
  123. package/dist/chunks/{error-message.oGiefI2-.js.map → error-message.DCgo8q20.js.map} +1 -1
  124. package/dist/chunks/{es.DyUjjSL8.js → es.CoF2PB8b.js} +14 -14
  125. package/dist/chunks/{es.DyUjjSL8.js.map → es.CoF2PB8b.js.map} +1 -1
  126. package/dist/chunks/{file-uploader.BnmNI1O7.js → file-uploader.Bfd1uUMe.js} +575 -680
  127. package/dist/chunks/{file-uploader.BnmNI1O7.js.map → file-uploader.Bfd1uUMe.js.map} +1 -1
  128. package/dist/chunks/filter-bar.CkAjLQol.js +3675 -0
  129. package/dist/chunks/filter-bar.CkAjLQol.js.map +1 -0
  130. package/dist/chunks/fixed-scroller.DtkaGyMD.js +150 -0
  131. package/dist/chunks/{fixed-scroller.i1tmEmst.js.map → fixed-scroller.DtkaGyMD.js.map} +1 -1
  132. package/dist/chunks/{focus-trap.BxCwzLqN.js → focus-trap.BAiM_ywb.js} +70 -86
  133. package/dist/chunks/{focus-trap.BxCwzLqN.js.map → focus-trap.BAiM_ywb.js.map} +1 -1
  134. package/dist/chunks/{footer-actions.Ck6UztD8.js → footer-actions.BcYSsoUg.js} +3 -3
  135. package/dist/chunks/{footer-actions.Ck6UztD8.js.map → footer-actions.BcYSsoUg.js.map} +1 -1
  136. package/dist/chunks/{form-layout-title.CQfeGyVw.js → form-layout-title.DW5Kg1rh.js} +4 -6
  137. package/dist/chunks/{form-layout-title.CQfeGyVw.js.map → form-layout-title.DW5Kg1rh.js.map} +1 -1
  138. package/dist/chunks/{fr.JD_4GwS8.js → fr.CJXL-Ief.js} +16 -16
  139. package/dist/chunks/{fr.JD_4GwS8.js.map → fr.CJXL-Ief.js.map} +1 -1
  140. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  141. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  142. package/dist/chunks/get-slot-text.8Fbl1GOr.js +6 -0
  143. package/dist/chunks/{get-slot-text.CQRAP2_q.js.map → get-slot-text.8Fbl1GOr.js.map} +1 -1
  144. package/dist/chunks/{grid-layout.Vhv1_zFs.js → grid-layout.CCWNscU_.js} +11 -12
  145. package/dist/chunks/{grid-layout.Vhv1_zFs.js.map → grid-layout.CCWNscU_.js.map} +1 -1
  146. package/dist/chunks/{header-meta.lGt3HsyH.js → header-meta.Bym9AlQm.js} +84 -96
  147. package/dist/chunks/{header-meta.lGt3HsyH.js.map → header-meta.Bym9AlQm.js.map} +1 -1
  148. package/dist/chunks/{header-with-views.D_sy4I2A.js → header-with-views.Djba6iol.js} +1013 -1156
  149. package/dist/chunks/{header-with-views.D_sy4I2A.js.map → header-with-views.Djba6iol.js.map} +1 -1
  150. package/dist/chunks/{header.oXqwf2xN.js → header.o-7SyHtU.js} +4 -4
  151. package/dist/chunks/{header.oXqwf2xN.js.map → header.o-7SyHtU.js.map} +1 -1
  152. package/dist/chunks/{index.Dppy4qHk.js → index.DDwcHPb6.js} +12 -12
  153. package/dist/chunks/{index.Dppy4qHk.js.map → index.DDwcHPb6.js.map} +1 -1
  154. package/dist/chunks/{info-icon.DyPOv7Pi.js → info-icon.BUala_wq.js} +3 -3
  155. package/dist/chunks/{info-icon.DyPOv7Pi.js.map → info-icon.BUala_wq.js.map} +1 -1
  156. package/dist/chunks/input-field-password.DZytmp_p.js +346 -0
  157. package/dist/chunks/{input-field-password.C_h61CMn.js.map → input-field-password.DZytmp_p.js.map} +1 -1
  158. package/dist/chunks/{input-field-phone-number.KctRYA9p.js → input-field-phone-number.CxblrmaU.js} +720 -736
  159. package/dist/chunks/{input-field-phone-number.KctRYA9p.js.map → input-field-phone-number.CxblrmaU.js.map} +1 -1
  160. package/dist/chunks/{input-field.DPElUS0U.js → input-field.CfU0ZKtL.js} +42 -54
  161. package/dist/chunks/{input-field.DPElUS0U.js.map → input-field.CfU0ZKtL.js.map} +1 -1
  162. package/dist/chunks/{inspector.BjLhY3bE.js → inspector.B9k4tJWe.js} +9 -27
  163. package/dist/chunks/{inspector.BjLhY3bE.js.map → inspector.B9k4tJWe.js.map} +1 -1
  164. package/dist/chunks/isSameWeek.Dj6luS8h.js +14 -0
  165. package/dist/chunks/{isSameWeek.CzBCmu7d.js.map → isSameWeek.Dj6luS8h.js.map} +1 -1
  166. package/dist/chunks/{it.BlUnV-yA.js → it.20Y7h-bF.js} +8 -8
  167. package/dist/chunks/{it.BlUnV-yA.js.map → it.20Y7h-bF.js.map} +1 -1
  168. package/dist/chunks/{ja.nUwDmVf2.js → ja.DXlq0H98.js} +27 -27
  169. package/dist/chunks/{ja.nUwDmVf2.js.map → ja.DXlq0H98.js.map} +1 -1
  170. package/dist/chunks/layout-row.B5VJGEQH.js +99 -0
  171. package/dist/chunks/{layout-row.Da8nkm9z.js.map → layout-row.B5VJGEQH.js.map} +1 -1
  172. package/dist/chunks/link.D6D6YGsN.js +113 -0
  173. package/dist/chunks/{link.DTCn2EtX.js.map → link.D6D6YGsN.js.map} +1 -1
  174. package/dist/chunks/list-item.DO5uULke.js +128 -0
  175. package/dist/chunks/list-item.DO5uULke.js.map +1 -0
  176. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js → listbox-option-tag.Cvplth7d.js} +2 -2
  177. package/dist/chunks/{listbox-option-tag.CoBUYwFG.js.map → listbox-option-tag.Cvplth7d.js.map} +1 -1
  178. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js → modal-fullscreen.CuKVyTWb.js} +100 -108
  179. package/dist/chunks/{modal-fullscreen.9ZDR_S29.js.map → modal-fullscreen.CuKVyTWb.js.map} +1 -1
  180. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js} +134 -143
  181. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B0IdwV0R.js.map → modal.vue_vue_type_script_setup_true_lang.DmPw0l5Y.js.map} +1 -1
  182. package/dist/chunks/on-click-outside.ZUMLlxE_.js +90 -0
  183. package/dist/chunks/{on-click-outside.BW4rkhzG.js.map → on-click-outside.ZUMLlxE_.js.map} +1 -1
  184. package/dist/chunks/pagination.dpVc6Yt0.js +401 -0
  185. package/dist/chunks/pagination.dpVc6Yt0.js.map +1 -0
  186. package/dist/chunks/popover.types.D8tHtFl3.js +6 -0
  187. package/dist/chunks/{popover.types.DhALnOLQ.js.map → popover.types.D8tHtFl3.js.map} +1 -1
  188. package/dist/chunks/{popper-container.DAK7c9uS.js → popper-container.DMN8n5iC.js} +79 -86
  189. package/dist/chunks/{popper-container.DAK7c9uS.js.map → popper-container.DMN8n5iC.js.map} +1 -1
  190. package/dist/chunks/{promo-banner.aNwH6uQx.js → promo-banner.BzveHNOI.js} +7 -13
  191. package/dist/chunks/{promo-banner.aNwH6uQx.js.map → promo-banner.BzveHNOI.js.map} +1 -1
  192. package/dist/chunks/{pt-BR.BCU2Hj36.js → pt-BR.DmhmCzxE.js} +14 -14
  193. package/dist/chunks/{pt-BR.BCU2Hj36.js.map → pt-BR.DmhmCzxE.js.map} +1 -1
  194. package/dist/chunks/{radio-group.DEYzF6o7.js → radio-group.Cuiq4mxy.js} +46 -46
  195. package/dist/chunks/{radio-group.DEYzF6o7.js.map → radio-group.Cuiq4mxy.js.map} +1 -1
  196. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js → rich-text-editor.DLMiT4f5.js} +1018 -1024
  197. package/dist/chunks/{rich-text-editor.DH1d5Zcp.js.map → rich-text-editor.DLMiT4f5.js.map} +1 -1
  198. package/dist/chunks/{search-bar.Dtzx88Pv.js → search-bar.CsFyP0_I.js} +6 -15
  199. package/dist/chunks/{search-bar.Dtzx88Pv.js.map → search-bar.CsFyP0_I.js.map} +1 -1
  200. package/dist/chunks/{secondary-nav.Zs7dBoJv.js → secondary-nav.CLBdq98c.js} +6 -12
  201. package/dist/chunks/{secondary-nav.Zs7dBoJv.js.map → secondary-nav.CLBdq98c.js.map} +1 -1
  202. package/dist/chunks/{segmented-control.Aqquod8g.js → segmented-control.KeQ5kuR1.js} +47 -51
  203. package/dist/chunks/{segmented-control.Aqquod8g.js.map → segmented-control.KeQ5kuR1.js.map} +1 -1
  204. package/dist/chunks/selection-card-group.XM11Kk-4.js +412 -0
  205. package/dist/chunks/{selection-card-group.C7IK2Vl5.js.map → selection-card-group.XM11Kk-4.js.map} +1 -1
  206. package/dist/chunks/{sidepanel.DaXPcTHm.js → sidepanel.b2QZ1Jsx.js} +64 -71
  207. package/dist/chunks/{sidepanel.DaXPcTHm.js.map → sidepanel.b2QZ1Jsx.js.map} +1 -1
  208. package/dist/chunks/startOfWeek.Cvmo-f5J.js +9 -0
  209. package/dist/chunks/{startOfWeek.CXhhX-R7.js.map → startOfWeek.Cvmo-f5J.js.map} +1 -1
  210. package/dist/chunks/status.H00BAmRx.js +42 -0
  211. package/dist/chunks/status.H00BAmRx.js.map +1 -0
  212. package/dist/chunks/status.types.Dx8MDhEH.js +5 -0
  213. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -0
  214. package/dist/chunks/{step.BV7MsrRF.js → step.BlwoLfdw.js} +56 -68
  215. package/dist/chunks/{step.BV7MsrRF.js.map → step.BlwoLfdw.js.map} +1 -1
  216. package/dist/chunks/{structured-list-item.DAIaUMCY.js → structured-list-item.e-8kRleh.js} +8 -14
  217. package/dist/chunks/{structured-list-item.DAIaUMCY.js.map → structured-list-item.e-8kRleh.js.map} +1 -1
  218. package/dist/chunks/{summary-grid.types.BZcZS_dW.js → summary-grid.types.CcvOC03H.js} +172 -179
  219. package/dist/chunks/{summary-grid.types.BZcZS_dW.js.map → summary-grid.types.CcvOC03H.js.map} +1 -1
  220. package/dist/chunks/tab.mR5uUSdp.js +265 -0
  221. package/dist/chunks/{tab.DRrnMCxe.js.map → tab.mR5uUSdp.js.map} +1 -1
  222. package/dist/chunks/{tag.CqWg6C3H.js → tag.DujMVFh-.js} +3 -3
  223. package/dist/chunks/{tag.CqWg6C3H.js.map → tag.DujMVFh-.js.map} +1 -1
  224. package/dist/chunks/textarea.CHV6Z8nt.js +247 -0
  225. package/dist/chunks/{textarea.CvI2InIB.js.map → textarea.CHV6Z8nt.js.map} +1 -1
  226. package/dist/chunks/timeline-item.CaGcRZbt.js +419 -0
  227. package/dist/chunks/timeline-item.CaGcRZbt.js.map +1 -0
  228. package/dist/chunks/{toast.Bbtq3Icj.js → toast.C2oehk9P.js} +72 -78
  229. package/dist/chunks/{toast.Bbtq3Icj.js.map → toast.C2oehk9P.js.map} +1 -1
  230. package/dist/chunks/{toggle.BupEBkIG.js → toggle.BQoprdX-.js} +5 -5
  231. package/dist/chunks/{toggle.BupEBkIG.js.map → toggle.BQoprdX-.js.map} +1 -1
  232. package/dist/chunks/tooltip.CbADa_4p.js +199 -0
  233. package/dist/chunks/{tooltip.Lwtlhv3u.js.map → tooltip.CbADa_4p.js.map} +1 -1
  234. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  235. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  236. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js} +100 -124
  237. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BL2QTKmV.js.map → tutorial.vue_vue_type_script_setup_true_lang.BOruzlTt.js.map} +1 -1
  238. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js → use-bento-toast-controller.D_NSnBxi.js} +2 -2
  239. package/dist/chunks/{use-bento-toast-controller.BFctDoMg.js.map → use-bento-toast-controller.D_NSnBxi.js.map} +1 -1
  240. package/dist/chunks/use-cached-selected-values.ClEJRFAd.js +1631 -0
  241. package/dist/chunks/{use-cached-selected-values.C4_X3vVj.js.map → use-cached-selected-values.ClEJRFAd.js.map} +1 -1
  242. package/dist/chunks/use-country-items.D_3LBe2I.js +30 -0
  243. package/dist/chunks/{use-country-items.BTzByPdQ.js.map → use-country-items.D_3LBe2I.js.map} +1 -1
  244. package/dist/chunks/use-country-phon-code.DoqTGkNr.js +287 -0
  245. package/dist/chunks/use-country-phon-code.DoqTGkNr.js.map +1 -0
  246. package/dist/chunks/use-date-input-formatter.CDRzd-hW.js +1629 -0
  247. package/dist/chunks/{use-date-input-formatter.dtbK-CEy.js.map → use-date-input-formatter.CDRzd-hW.js.map} +1 -1
  248. package/dist/chunks/use-default-slot-validator.BzHcrgmy.js +12 -0
  249. package/dist/chunks/{use-default-slot-validator.O02rzsob.js.map → use-default-slot-validator.BzHcrgmy.js.map} +1 -1
  250. package/dist/chunks/use-expandable-content-height.B5jjRvCz.js +16 -0
  251. package/dist/chunks/{use-expandable-content-height.GkjjbmPy.js.map → use-expandable-content-height.B5jjRvCz.js.map} +1 -1
  252. package/dist/chunks/use-has-slot.CyMiImRQ.js +14 -0
  253. package/dist/chunks/{use-has-slot.B7eQSabc.js.map → use-has-slot.CyMiImRQ.js.map} +1 -1
  254. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  255. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  256. package/dist/chunks/{zh-CN.ChYkuQAR.js → zh-CN.Ce34mXsX.js} +28 -28
  257. package/dist/chunks/{zh-CN.ChYkuQAR.js.map → zh-CN.Ce34mXsX.js.map} +1 -1
  258. package/dist/click-outside.js +1 -1
  259. package/dist/code-snippet.js +1 -1
  260. package/dist/country.js +3 -3
  261. package/dist/currency.js +1 -1
  262. package/dist/dashboard-template.js +1 -1
  263. package/dist/dashed-underline.js +1 -1
  264. package/dist/data-grid-template.js +1 -1
  265. package/dist/data-grid.js +1 -1
  266. package/dist/date-picker.js +2 -2
  267. package/dist/date-range-picker.js +2 -2
  268. package/dist/date.js +1 -1
  269. package/dist/draggable-handle.js +4 -28
  270. package/dist/draggable-handle.js.map +1 -1
  271. package/dist/dropdown.js +4 -4
  272. package/dist/empty-state.js +1 -1
  273. package/dist/file-uploader.js +1 -1
  274. package/dist/filter-bar.js +1 -1
  275. package/dist/focus-trap.js +1 -1
  276. package/dist/form-layout.js +1 -1
  277. package/dist/header-with-views.js +1 -1
  278. package/dist/header.js +1 -1
  279. package/dist/index.js +241 -241
  280. package/dist/index.js.map +1 -1
  281. package/dist/info-icon.js +1 -1
  282. package/dist/input-field-password.js +1 -1
  283. package/dist/input-field-phone-number.js +1 -1
  284. package/dist/input-field.js +1 -1
  285. package/dist/inspector.js +1 -1
  286. package/dist/internal.js +13 -13
  287. package/dist/layout.js +1 -1
  288. package/dist/link.js +1 -1
  289. package/dist/list.js +6 -0
  290. package/dist/list.js.map +1 -0
  291. package/dist/menu.js +1 -1
  292. package/dist/modal-fullscreen.js +1 -1
  293. package/dist/modal.js +2 -2
  294. package/dist/pagination.js +1 -1
  295. package/dist/popover.js +2 -2
  296. package/dist/popper-container.js +1 -1
  297. package/dist/promo-banner.js +1 -1
  298. package/dist/radio-group.js +1 -1
  299. package/dist/rich-text-editor.js +1 -1
  300. package/dist/search-bar.js +2 -2
  301. package/dist/secondary-nav.js +1 -1
  302. package/dist/segmented-control.js +1 -1
  303. package/dist/selection-card.js +1 -1
  304. package/dist/sidepanel.js +1 -1
  305. package/dist/status.js +4 -3
  306. package/dist/status.js.map +1 -1
  307. package/dist/stepper.js +1 -1
  308. package/dist/structured-list.js +1 -1
  309. package/dist/summary-grid.js +1 -1
  310. package/dist/tabs.js +1 -1
  311. package/dist/tag.js +1 -1
  312. package/dist/textarea.js +1 -1
  313. package/dist/timeline.js +1 -1
  314. package/dist/toast.js +1 -1
  315. package/dist/toggle.js +1 -1
  316. package/dist/tutorial.js +1 -1
  317. package/dist/use-form-v4.js +331 -341
  318. package/dist/use-form-v4.js.map +1 -1
  319. package/dist/web-types.json +1 -1
  320. package/package.json +7 -7
  321. package/dist/chunks/anchor-scroller.BctgW0se.js +0 -214
  322. package/dist/chunks/base-modal.gZAtk-xP.js +0 -443
  323. package/dist/chunks/button-actions-with-menu.Tba1ME79.js +0 -93
  324. package/dist/chunks/calendar.vM3abC8y.js +0 -1234
  325. package/dist/chunks/click-outside.CDz_x8mN.js +0 -23
  326. package/dist/chunks/constructNow.CIc7d13I.js +0 -8
  327. package/dist/chunks/country.types.BBQbWkTY.js +0 -773
  328. package/dist/chunks/dashboard-section.CgoLquLP.js +0 -165
  329. package/dist/chunks/dashed-underline.wbRHATeE.js +0 -114
  330. package/dist/chunks/data-grid-template.D40V1cmi.js +0 -144
  331. package/dist/chunks/data-grid.C2nCCbeC.js +0 -4368
  332. package/dist/chunks/date-picker.D5B_SECc.js +0 -251
  333. package/dist/chunks/date-range-picker.B0q7Z4df.js +0 -1084
  334. package/dist/chunks/differenceInMonths.CIYECBxK.js +0 -43
  335. package/dist/chunks/dropdown.CxjzXI-k.js +0 -837
  336. package/dist/chunks/filter-bar.DJ7O4zLX.js +0 -4036
  337. package/dist/chunks/filter-bar.DJ7O4zLX.js.map +0 -1
  338. package/dist/chunks/fixed-scroller.i1tmEmst.js +0 -161
  339. package/dist/chunks/get-slot-text.CQRAP2_q.js +0 -12
  340. package/dist/chunks/input-field-password.C_h61CMn.js +0 -402
  341. package/dist/chunks/isSameWeek.CzBCmu7d.js +0 -14
  342. package/dist/chunks/layout-row.Da8nkm9z.js +0 -100
  343. package/dist/chunks/link.DTCn2EtX.js +0 -116
  344. package/dist/chunks/on-click-outside.BW4rkhzG.js +0 -91
  345. package/dist/chunks/pagination.B32UgSoH.js +0 -488
  346. package/dist/chunks/pagination.B32UgSoH.js.map +0 -1
  347. package/dist/chunks/popover.types.DhALnOLQ.js +0 -6
  348. package/dist/chunks/selection-card-group.C7IK2Vl5.js +0 -417
  349. package/dist/chunks/startOfWeek.CXhhX-R7.js +0 -10
  350. package/dist/chunks/status.types.D3v3k-Q8.js +0 -44
  351. package/dist/chunks/status.types.D3v3k-Q8.js.map +0 -1
  352. package/dist/chunks/tab.DRrnMCxe.js +0 -273
  353. package/dist/chunks/textarea.CvI2InIB.js +0 -255
  354. package/dist/chunks/timeline-item.BooD99hL.js +0 -427
  355. package/dist/chunks/timeline-item.BooD99hL.js.map +0 -1
  356. package/dist/chunks/tooltip.Lwtlhv3u.js +0 -202
  357. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  358. package/dist/chunks/use-cached-selected-values.C4_X3vVj.js +0 -1711
  359. package/dist/chunks/use-country-items.BTzByPdQ.js +0 -30
  360. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +0 -5621
  361. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +0 -1
  362. package/dist/chunks/use-date-input-formatter.dtbK-CEy.js +0 -1732
  363. package/dist/chunks/use-default-slot-validator.O02rzsob.js +0 -16
  364. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
  365. package/dist/chunks/use-has-slot.B7eQSabc.js +0 -15
  366. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -1,837 +0,0 @@
1
- import { ref as E, watch as be, computed as u, defineComponent as q, useSlots as $e, toRefs as Re, openBlock as S, createBlock as V, resolveDynamicComponent as ke, mergeProps as F, withCtx as W, createElementVNode as ae, withKeys as nt, unref as n, createVNode as Q, toHandlers as ee, createSlots as ce, renderList as pe, renderSlot as X, normalizeProps as fe, guardReactiveProps as me, createCommentVNode as _, createElementBlock as K, toDisplayString as ge, normalizeClass as ve, withDirectives as te, vShow as xe, nextTick as B, useAttrs as st, toRef as A, inject as it, createTextVNode as rt } from "vue";
2
- import { d as re, B as dt } from "./typography.B3J6_tYk.js";
3
- import { a as de, b as j, c as ut, B as G, D as ct } from "./dropdown-default-textbox.CskseEho.js";
4
- /* empty css */
5
- import { _ as J } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
- import { s as ue } from "./events.BQOQSSb7.js";
7
- import { g as H } from "./generate-uid.NJ8tVoha.js";
8
- import { u as pt } from "./aria-label.CaUURpnB.js";
9
- import { u as he } from "./index.B875RXHM.js";
10
- import { u as ft } from "./form-field.D_2g7vaP.js";
11
- import { B as m, b as ye, a as Ie, u as mt, c as vt, d as yt } from "./use-cached-selected-values.C4_X3vVj.js";
12
- import { u as bt } from "./use-form-layout-loading.CWbjZiwP.js";
13
- import { d as gt } from "./debounce.DUTu11PS.js";
14
- import { B as ht } from "./directive.rXUeDb8p.js";
15
- import { B as M, a as Lt } from "./keyboard-navigation.DWmhelVv.js";
16
- import { u as St } from "./use-has-slot.B7eQSabc.js";
17
- import { F as wt, E as Et } from "./error-message.oGiefI2-.js";
18
- import { P as Ae } from "./popper-container.DAK7c9uS.js";
19
- import { h as Ct } from "./button-actions.BYBpjNqy.js";
20
- import "../assets/dropdown.css";
21
- const Le = {
22
- "en-US": {
23
- apply: "Apply",
24
- cancel: "Cancel",
25
- noOptionsMatchThisSearch: "No options match this search"
26
- },
27
- "ja-JP": {
28
- apply: "適用",
29
- cancel: "キャンセル",
30
- noOptionsMatchThisSearch: "この検索条件に一致するオプションはありません"
31
- },
32
- "pt-BR": {
33
- apply: "Aplicar",
34
- cancel: "Cancelar",
35
- noOptionsMatchThisSearch: "A busca não retornou nenhuma opção"
36
- }
37
- }, Ot = (o, r, i, t) => {
38
- const s = E(o.value), { t: l } = he({ messages: Le });
39
- be(o, () => {
40
- s.value = o.value;
41
- });
42
- const e = u(
43
- () => JSON.stringify(s.value) === JSON.stringify(o.value)
44
- ), d = () => {
45
- t(m.SELECT, s.value), t(m.CLOSE_DROPDOWN);
46
- }, h = () => {
47
- s.value = o.value, t(m.CLOSE_DROPDOWN);
48
- }, C = () => {
49
- i.value && r.value && (s.value = o.value);
50
- }, c = u(() => [
51
- {
52
- title: l("apply"),
53
- event: d,
54
- disabled: e.value
55
- },
56
- {
57
- title: l("cancel"),
58
- event: h
59
- }
60
- ]), b = (g) => {
61
- s.value = g, r.value || t(m.SELECT, g);
62
- }, p = (g) => {
63
- b(g), t(m.TAB);
64
- }, f = (g) => {
65
- b(g), t(m.ENTER);
66
- }, O = (g) => {
67
- b(g), t(m.SPACE);
68
- }, v = () => {
69
- h(), t(m.ESCAPE);
70
- }, D = () => {
71
- t(m.SHOW_MORE);
72
- }, T = {
73
- [m.SELECT]: b,
74
- [m.SHOW_MORE]: D,
75
- [m.TAB]: p,
76
- [m.SPACE]: O,
77
- [m.ENTER]: f
78
- };
79
- return {
80
- // Values
81
- actions: c,
82
- internalSelectedValue: s,
83
- // Methods
84
- listeners: T,
85
- onEscapeKey: v,
86
- onOutsideDropdownClick: C
87
- };
88
- }, Bt = q({
89
- i18n: { messages: Le },
90
- name: "bento-dropdown-options-container"
91
- }), Dt = /* @__PURE__ */ q({
92
- ...Bt,
93
- props: {
94
- /**
95
- * Defines a string value that labels an interactive element.
96
- */
97
- ariaLabel: { type: String, default: null },
98
- /**
99
- * Indicates that dropdown items are loading
100
- */
101
- componentLoading: { type: Boolean, default: !1 },
102
- /**
103
- * Empty state props used with the inner empty state component which is displayed when no search results are found.
104
- */
105
- emptyState: {
106
- type: Object,
107
- default: void 0
108
- },
109
- /**
110
- * Disables dropdown functionality
111
- */
112
- disabled: { type: Boolean, default: !1 },
113
- /**
114
- * Indicates whether there are more items to load
115
- */
116
- hasMoreItems: { type: Boolean, default: !1 },
117
- /**
118
- * Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
119
- */
120
- id: { type: String, required: !0 },
121
- /**
122
- * Function that allows the options to be disabled
123
- *
124
- * @type {BentoDropdownIsOptionDisabled}
125
- * @param {BentoDropdownOptionItem} option - Dropdown option object
126
- * @param {string} option.label - Option's label text
127
- * @param {string|number} option.value - Option's value
128
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
129
- */
130
- isOptionDisabled: {
131
- type: Function,
132
- default: void 0
133
- },
134
- /**
135
- * The option elements to populate the dropdown with.
136
- * It must be an array of {@see BentoDropdownOptionItem }
137
- * * @property {string} value.label - Text to be displayed in the option
138
- * * @property {string,number} value.value - Value of the option
139
- */
140
- items: {
141
- type: Array,
142
- required: !0
143
- },
144
- /**
145
- * The type of `Lazy Load`.
146
- * Type "automatic" will enable infinite scrolling
147
- * Type "button" will enable lazy loading with "Show more" button
148
- */
149
- lazyLoadType: {
150
- type: String,
151
- default: Ie.AUTOMATIC,
152
- validator: (o) => Object.values(Ie).includes(o)
153
- },
154
- /**
155
- * Indicates if new options are lazy loading.
156
- */
157
- loading: { type: Boolean, default: !1 },
158
- /**
159
- * If enabled, the user will be able to select multiple items.
160
- */
161
- multiple: { type: Boolean, default: !1 },
162
- /**
163
- * Indicates if the dropdown is open so that
164
- * the container can be displayed.
165
- */
166
- open: { type: Boolean, required: !0 },
167
- /**
168
- * The `input` value.
169
- * Providing an empty string or empty array will select no options.
170
- * Set to an empty string `''` if you don't want any of the available options to be selected for single select
171
- */
172
- selectedValue: {
173
- type: Array,
174
- default: null
175
- },
176
- /**
177
- * Flag that indicates that an external search it's being made
178
- * to filter out the items inside the the multi-select listbox
179
- *
180
- * If enabled, hides the "Select all" checkbox in "multiple" mode.
181
- */
182
- searching: ye.props.searching,
183
- /**
184
- * If enabled, dropdown will display non-selectable, static categories
185
- */
186
- staticCategories: { type: Boolean, default: !1 },
187
- /**
188
- * Reference to the DOM element or Vue component for positioning
189
- * the Dropdown container.
190
- */
191
- targetElement: { type: Ae.props.targetElement.type, required: !0 },
192
- /**
193
- * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
194
- * The itemHeight function is used to calculate the height of rendered item given it's index.
195
- */
196
- virtualScroll: {
197
- type: [Boolean, Object],
198
- default: !1
199
- }
200
- },
201
- setup(o, { expose: r, emit: i }) {
202
- const t = $e(), s = i, l = o, { selectedValue: e, multiple: d } = Re(l), h = E(null), { t: C } = he({ messages: Le }), c = u(() => l.open && !l.disabled), b = u(() => C("noOptionsMatchThisSearch")), p = u(() => ({
203
- "b-dropdown-options-container--single": !(l != null && l.multiple)
204
- })), f = u(() => ({
205
- "b-dropdown-options-container__listbox--single": !(l != null && l.multiple)
206
- })), { actions: O, internalSelectedValue: v, listeners: D, onEscapeKey: T, onOutsideDropdownClick: g } = Ot(e, d, c, s), L = u(() => l != null && l.multiple ? Ct : Ae), z = u(() => {
207
- var x;
208
- const N = {
209
- "min-width": `${(x = l == null ? void 0 : l.targetElement) == null ? void 0 : x.clientWidth}px`,
210
- "max-width": "min(500px, 95%)"
211
- };
212
- return l != null && l.multiple ? {
213
- actionsLayout: "space-between",
214
- ariaLabel: l.ariaLabel,
215
- actions: O.value,
216
- divider: !0,
217
- fallbackPosition: ["top-start"],
218
- id: H(`dropdown-options-${l.id}`),
219
- open: l.open,
220
- position: "bottom-start",
221
- style: {
222
- width: "auto",
223
- ...N
224
- },
225
- targetElement: l.targetElement
226
- } : {
227
- fallbackPosition: ["top-start"],
228
- offset: [0, 8],
229
- position: "bottom-start",
230
- style: {
231
- display: c.value ? "block" : "none",
232
- ...N
233
- },
234
- targetElement: l.targetElement
235
- };
236
- });
237
- return r({
238
- onOutsideDropdownClick: g
239
- }), (N, x) => c.value ? (S(), V(ke(L.value), F({
240
- key: 0,
241
- class: ["b-dropdown-options-container", p.value]
242
- }, z.value), {
243
- default: W(() => [
244
- ae("div", {
245
- onKeydown: x[0] || (x[0] = nt(
246
- //@ts-ignore
247
- (...U) => n(T) && n(T)(...U),
248
- ["esc"]
249
- ))
250
- }, [
251
- Q(n(ye), F({
252
- id: o.id,
253
- ref_key: "dropdownOptionsListboxRef",
254
- ref: h,
255
- "aria-label": o.ariaLabel,
256
- class: ["b-dropdown-options-container__listbox", f.value],
257
- "component-loading": o.componentLoading,
258
- "empty-state": o.emptyState,
259
- "is-option-disabled": o.isOptionDisabled,
260
- items: o.items,
261
- "selected-value": n(v),
262
- multiple: n(d),
263
- "static-categories": o.staticCategories,
264
- "no-results-message": b.value,
265
- searching: o.searching,
266
- loading: o.loading,
267
- "lazy-load-type": o.lazyLoadType,
268
- "has-more-items": o.hasMoreItems,
269
- "virtual-scroll": o.virtualScroll
270
- }, ee(n(D))), ce({ _: 2 }, [
271
- pe(n(t), (U, y) => ({
272
- name: y,
273
- fn: W((w) => [
274
- X(N.$slots, y, fe(me(w)), void 0, !0)
275
- ])
276
- }))
277
- ]), 1040, ["id", "aria-label", "class", "component-loading", "empty-state", "is-option-disabled", "items", "selected-value", "multiple", "static-categories", "no-results-message", "searching", "loading", "lazy-load-type", "has-more-items", "virtual-scroll"])
278
- ], 32)
279
- ]),
280
- _: 3
281
- }, 16, ["class"])) : _("", !0);
282
- }
283
- }), Tt = /* @__PURE__ */ J(Dt, [["__scopeId", "data-v-abf92e14"]]);
284
- let Ne = 0;
285
- const xt = {
286
- beforeCreate() {
287
- this.uuid = Ne.toString(), Ne += 1;
288
- }
289
- }, It = { key: 0 };
290
- function At(o, r, i, t, s, l) {
291
- return S(), K("svg", F({ role: "img" }, o.$attrs, {
292
- class: "ui-assets-icons-16",
293
- xmlns: "http://www.w3.org/2000/svg",
294
- width: "16",
295
- height: "16",
296
- fill: "none"
297
- }), [
298
- o.$attrs["svg-title"] ? (S(), K("title", It, ge(o.$attrs["svg-title"]), 1)) : _("", !0),
299
- r[0] || (r[0] = ae("path", {
300
- fill: "#001222",
301
- d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
302
- }, null, -1))
303
- ], 16);
304
- }
305
- const Nt = /* @__PURE__ */ J(xt, [["render", At]]);
306
- let Me = 0;
307
- const Mt = {
308
- beforeCreate() {
309
- this.uuid = Me.toString(), Me += 1;
310
- }
311
- }, $t = { key: 0 };
312
- function Rt(o, r, i, t, s, l) {
313
- return S(), K("svg", F({ role: "img" }, o.$attrs, {
314
- class: "ui-assets-icons-16",
315
- xmlns: "http://www.w3.org/2000/svg",
316
- width: "16",
317
- height: "16",
318
- fill: "none"
319
- }), [
320
- o.$attrs["svg-title"] ? (S(), K("title", $t, ge(o.$attrs["svg-title"]), 1)) : _("", !0),
321
- r[0] || (r[0] = ae("path", {
322
- fill: "#001222",
323
- d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
324
- }, null, -1))
325
- ], 16);
326
- }
327
- const kt = /* @__PURE__ */ J(Mt, [["render", Rt]]), Pt = { class: "b-dropdown-small-textbox__chevron" }, _t = q({
328
- name: "dropdown-small-textbox",
329
- inheritAttrs: !1
330
- }), Ft = /* @__PURE__ */ q({
331
- ..._t,
332
- props: {
333
- /**
334
- * The number of additional items that have been selected in the dropdown.
335
- */
336
- additionalItemsSelected: { type: [Number, String], default: 0 },
337
- /**
338
- * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.
339
- */
340
- ariaControls: { type: String, required: !0 },
341
- /**
342
- * Indicates whether the content the textbox triggers is visible or not. Needs to be set accordingly when the textbox is used and changed every time the popover is shown/hidden.
343
- */
344
- ariaExpanded: {
345
- type: [String, Boolean],
346
- required: !0
347
- },
348
- /**
349
- * If no label element is used then the aria-label is be set should be set.
350
- */
351
- ariaLabel: { type: String, default: null },
352
- /**
353
- * Corresponds to the label's id that labels the textbox element.
354
- */
355
- ariaLabelledby: { type: String, default: null },
356
- /**
357
- * Disables any textbox functionality
358
- */
359
- disabled: { type: Boolean, default: !1 },
360
- /**
361
- * Selected option's label
362
- */
363
- displayValue: { type: String, default: null },
364
- /**
365
- * Sets the possibility to type into the textbox
366
- */
367
- dynamicFiltering: { type: Boolean, default: !1 },
368
- /**
369
- * Marks the textbox as invalid, rendering an error state
370
- */
371
- isInvalid: { type: Boolean, default: !1 },
372
- /**
373
- * Indicates if the dropdown is open so that
374
- * the respective event can be emitted
375
- */
376
- open: { type: Boolean, default: !1 },
377
- /**
378
- * Sets the dropdown to readonly state
379
- */
380
- readonly: { type: Boolean, default: !1 },
381
- /**
382
- * The input value
383
- */
384
- value: { type: String, default: "" }
385
- },
386
- emits: ["clear", "close", "input", "keydown", "open"],
387
- setup(o, { expose: r, emit: i }) {
388
- const t = i, s = o, l = E(null), e = u(() => ({
389
- [`b-dropdown-small-textbox--${de.DISABLED}`]: s.disabled,
390
- [`b-dropdown-small-textbox--${de.READONLY}`]: s.readonly,
391
- [`b-dropdown-small-textbox--${de.OPENED}`]: s.open
392
- })), d = u(() => s.open && !s.disabled && !s.readonly), h = (v) => {
393
- t("input", v);
394
- }, C = (v) => {
395
- t("keydown", v);
396
- }, c = (v) => {
397
- ue(v), t("open");
398
- }, b = (v) => {
399
- ue(v), t("close");
400
- }, p = (v) => {
401
- ue(v), t("clear");
402
- }, f = {
403
- [j.INPUT]: h,
404
- [j.OPEN]: c,
405
- [j.CLOSE]: b,
406
- [j.CLEAR]: p,
407
- [j.KEYDOWN]: C
408
- };
409
- return r({
410
- focus: () => {
411
- l.value.focus();
412
- }
413
- }), (v, D) => (S(), K("div", {
414
- class: ve(["b-dropdown-small-textbox", e.value])
415
- }, [
416
- Q(ut, F({
417
- ref_key: "baseTextbox",
418
- ref: l
419
- }, { ...v.$attrs, ...v.$props }, {
420
- class: "b-dropdown-small-textbox__textbox",
421
- size: n(G).SMALL
422
- }, ee(f)), {
423
- icon: W(() => [
424
- ae("div", Pt, [
425
- te(Q(n(kt), { "svg-title": "opened" }, null, 512), [
426
- [xe, d.value]
427
- ]),
428
- te(Q(n(Nt), { "svg-title": "closed" }, null, 512), [
429
- [xe, !d.value]
430
- ])
431
- ])
432
- ]),
433
- _: 1
434
- }, 16, ["size"])
435
- ], 2));
436
- }
437
- }), Kt = /* @__PURE__ */ J(Ft, [["__scopeId", "data-v-39ce3ec8"]]), zt = (o, r) => r.value.reduce((i, t) => {
438
- if (t.items) {
439
- const s = t.items.filter(
440
- (e) => o.value.find((d) => d.value === e.value)
441
- );
442
- s.length === t.items.length ? i.push(t.displayValue ?? t.label) : s.forEach(({ label: e, displayValue: d }) => i.push(d ?? e));
443
- }
444
- return o.value.find((s) => s.value === t.value) && i.push(t.displayValue ?? t.label), i;
445
- }, []).join(", "), Vt = ({ items: o, placeholder: r, selectedValues: i, isMultiSelect: t }) => {
446
- const s = u(
447
- () => t.value && o.value.find((e) => {
448
- var d;
449
- return (d = e.items) == null ? void 0 : d.length;
450
- })
451
- );
452
- return u(() => i.value.length ? s.value ? zt(i, o) : i.value.map(({ label: e, displayValue: d }) => d ?? e).join(", ") : r.value || null);
453
- }, Pe = (o) => {
454
- var r;
455
- (r = o.value.$children) == null || r[0].$refs.textbox.focus();
456
- }, Wt = ({
457
- inputContainerRef: o,
458
- optionsContainerRef: r,
459
- selectedValueIndex: i,
460
- isDropdownOpen: t,
461
- isDynamicFltering: s,
462
- items: l,
463
- isMultiple: e
464
- }, d, h, C) => {
465
- const c = async (y) => {
466
- var w;
467
- s.value && await B(), (w = l.value[y]) == null || w.focus();
468
- }, b = async (y) => {
469
- var $, Y;
470
- s.value && await B();
471
- const w = ($ = r.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : $.$el.querySelectorAll(
472
- "button"
473
- );
474
- w.length ? (Y = w[y]) == null || Y.focus() : c(y);
475
- }, p = (y) => {
476
- var w;
477
- return (w = r.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.setListboxFocusedIndex(
478
- y
479
- );
480
- }, f = () => {
481
- t.value || h(), B(() => {
482
- p(0), c(0);
483
- });
484
- }, O = () => {
485
- t.value || h(), B(() => {
486
- p(l.value.length - 1), c(l.value.length - 1);
487
- });
488
- }, v = ({ detail: y }) => {
489
- y.preventDefault(), f();
490
- }, D = ({ detail: y }) => {
491
- y.preventDefault(), O();
492
- }, T = () => {
493
- f();
494
- }, g = () => {
495
- O();
496
- }, L = ({ detail: y }) => {
497
- y.preventDefault(), d(), t.value && B(() => {
498
- e ? b(0) : (p(i.value), c(i.value));
499
- });
500
- }, z = ({ detail: y }) => {
501
- y.preventDefault(), d(), t.value && B(() => {
502
- e ? b(0) : (p(i.value), c(i.value));
503
- });
504
- }, N = () => {
505
- t.value && C();
506
- }, x = () => {
507
- t.value && (C(), Pe(o));
508
- };
509
- return u(() => ({
510
- [M.ARROW_DOWN]: v,
511
- [M.ARROW_UP]: D,
512
- [M.HOME]: T,
513
- [M.END]: g,
514
- ...s.value ? {} : { [M.SPACE]: L },
515
- [M.ENTER]: z,
516
- [M.TAB]: N,
517
- [M.ESCAPE]: x
518
- }));
519
- }, qt = ({ inputContainerRef: o, isDropdownOpen: r }, i) => {
520
- const t = () => {
521
- r.value && i(), B(() => {
522
- Pe(o);
523
- });
524
- };
525
- return {
526
- [m.ENTER]: t,
527
- [m.ESCAPE]: t,
528
- [m.TAB]: t,
529
- [m.SPACE]: t
530
- };
531
- };
532
- function Ut(o, r, i, t, s) {
533
- const l = E(o), e = E(r), d = (c, b = []) => b.flatMap((p) => p.label.toLocaleLowerCase().includes(c) ? t != null && t.value && p.items ? [...d(c, p.items)] : [p, ...d(c, p.items)] : p.items ? [...d(c, p.items)] : []), h = i !== void 0 ? gt(() => i(l.value), s ?? 300) : void 0;
534
- return be(l, () => {
535
- h !== void 0 && h();
536
- }), u(() => {
537
- if (!l.value || i !== void 0)
538
- return e.value;
539
- const c = l.value.toLocaleLowerCase();
540
- return d(c, e.value);
541
- });
542
- }
543
- const _e = {
544
- "en-US": {
545
- all: "All",
546
- ariaLabelFallback: "Dropdown",
547
- clearSearch: "Clear filter"
548
- },
549
- "ja-JP": {
550
- all: "すべて",
551
- ariaLabelFallback: "ドロップダウン",
552
- clearSearch: "フィルターをクリア"
553
- },
554
- "pt-BR": {
555
- all: "Todos",
556
- ariaLabelFallback: "Menu suspenso",
557
- clearSearch: "Limpar filtro"
558
- }
559
- }, jt = /* @__PURE__ */ Symbol("input field component injection key"), ma = /* @__PURE__ */ Symbol("input field hint injection key"), va = /* @__PURE__ */ Symbol("input field parent component injection key"), Ht = q({
560
- i18n: { messages: _e },
561
- name: "b-dropdown",
562
- components: {
563
- DropdownInputDefault: ct,
564
- DropdownInputSmall: Kt
565
- },
566
- model: { prop: "modelValue" }
567
- }), Jt = /* @__PURE__ */ q({
568
- ...Ht,
569
- props: {
570
- ariaLabel: { default: null },
571
- condensed: { type: Boolean, default: !1 },
572
- emptyState: { default: void 0 },
573
- dynamicFiltering: { type: Boolean, default: !1 },
574
- error: { type: Boolean, default: !1 },
575
- hasMoreItems: { type: Boolean, default: !1 },
576
- isOptionDisabled: { type: Function, default: void 0 },
577
- items: { default: () => [] },
578
- loading: { type: Boolean, default: !1 },
579
- componentLoading: { type: Boolean, default: !1 },
580
- lazyLoadType: { default: ye.props.lazyLoadType.default },
581
- multiple: { type: Boolean, default: !1 },
582
- search: { default: void 0 },
583
- showSlotContentInMultiple: { type: Boolean, default: !1 },
584
- size: { default: null },
585
- staticCategories: { type: Boolean, default: !1 },
586
- value: { default: null },
587
- modelValue: { default: null },
588
- virtualScroll: { type: [Boolean, Object], default: !1 },
589
- enableValueLabelPair: { type: Boolean, default: !1 },
590
- description: { default: null },
591
- disabled: { type: Boolean, default: !1 },
592
- errorMessage: { default: null },
593
- label: { default: null },
594
- optional: { type: Boolean, default: !1 },
595
- placeholder: { default: null },
596
- readonly: { type: Boolean, default: !1 },
597
- required: { type: Boolean, default: !1 },
598
- tooltipText: { default: null }
599
- },
600
- emits: ["input", "update:model-value", "show-more", "open"],
601
- setup(o, { expose: r, emit: i }) {
602
- var De, Te;
603
- const t = st(), s = $e(), l = St(s), e = o, d = i, { t: h } = he({ messages: _e }), { emitValue: C } = ft(d), c = E(null), b = E(null), p = E(null), f = E(!1), O = H("bento-dropdown-options-container"), v = H("dropdown-label"), D = H("dropdown-description"), T = H("dropdown-error"), { isReadOnly: g } = bt(A(e, "readonly")), L = u(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: z, cachedListboxSelectedValues: N, setCachedValues: x } = mt(
604
- A(e, "items"),
605
- L,
606
- A(e, "multiple"),
607
- A(e, "enableValueLabelPair")
608
- ), U = E(t["aria-label"]), y = E(t["aria-describedby"]), { ariaLabel: w, label: $ } = Re(e), Y = u(() => h("ariaLabelFallback")), Se = pt({
609
- // TODO: take ariaLabel ref away when aria-label prop is removed
610
- ariaLabel: w.value || U,
611
- label: $,
612
- defaultFallback: Y
613
- }), we = e.size === G.SMALL || it(jt, !1), Fe = u(() => we ? G.SMALL : G.DEFAULT), Ke = u(() => ({
614
- "b-dropdown--condensed": e.condensed
615
- })), ze = u(() => ({
616
- "b-dropdown__description--error": !!e.errorMessage
617
- })), R = E(""), Z = A(e, "items"), Ee = A(e, "staticCategories"), oe = Ut(
618
- R,
619
- Z,
620
- (De = e == null ? void 0 : e.search) == null ? void 0 : De.searchEvent,
621
- Ee,
622
- (Te = e == null ? void 0 : e.search) == null ? void 0 : Te.debounceTime
623
- ), le = u(() => e.dynamicFiltering && !!R.value), Ve = Vt({
624
- items: Z,
625
- placeholder: A(e, "placeholder"),
626
- isMultiSelect: A(e, "multiple"),
627
- selectedValues: z
628
- }), We = u(() => {
629
- if (e != null && e.multiple && Array.isArray(L.value))
630
- return e.items.filter(
631
- ({ value: a }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(a)
632
- );
633
- if (!e.multiple && e.staticCategories) {
634
- const a = e.items.find(
635
- (k) => k.items.some((P) => P.value === L.value)
636
- );
637
- return a ? a.items.find((k) => k.value === L.value) : null;
638
- }
639
- return e.items.find(({ value: a }) => a === L.value);
640
- }), qe = u(() => {
641
- const a = oe.value.findIndex(({ value: I }) => e.enableValueLabelPair ? L.value.value === I : L.value === I);
642
- return a > -1 ? a : 0;
643
- }), { isMultiLevelSelect: Ce, flattenedItemsList: Ue } = vt(Z), je = u(() => Ce.value && !e.staticCategories), He = u(() => je.value ? "treeitem" : "option"), Je = u(() => {
644
- if (e.multiple) {
645
- const a = Array.isArray(L.value) ? L.value.length : 0, I = Ce.value ? Ue.value.length : Z.value.length;
646
- return a === 0 ? null : !e.hasMoreItems && I > 0 && I === a ? h("all") : a;
647
- }
648
- return null;
649
- }), Ye = u(
650
- () => [
651
- e.description ? D : null,
652
- y.value,
653
- e.errorMessage ? T : null
654
- ].filter(Boolean).join(" ") || null
655
- ), Ze = u(() => {
656
- var a;
657
- return (a = p.value) == null ? void 0 : a.$el;
658
- }), { visibleDomOptions: Qe, updateVisibleDomOptions: Oe } = yt(
659
- Ze,
660
- oe,
661
- He
662
- ), Xe = () => {
663
- g.value || (f.value = !0, B(() => {
664
- Oe();
665
- }));
666
- }, ne = () => {
667
- f.value = !1;
668
- }, se = () => {
669
- g.value || (f.value = !f.value, B(() => {
670
- Oe();
671
- }), le.value && (R.value = ""));
672
- }, Ge = () => {
673
- le.value && (R.value = ""), f.value && (f.value = !1, p.value.onOutsideDropdownClick());
674
- }, et = async (a) => {
675
- e.multiple || (R.value = "", f.value = !1), x(a), C(N.value), e.multiple || (await B(), Be());
676
- }, tt = () => {
677
- d(m.SHOW_MORE);
678
- }, at = Wt(
679
- {
680
- inputContainerRef: c,
681
- optionsContainerRef: p,
682
- selectedValueIndex: qe,
683
- isDropdownOpen: f,
684
- isDynamicFltering: A(e, "dynamicFiltering"),
685
- items: Qe,
686
- isMultiple: e.multiple
687
- },
688
- se,
689
- Xe,
690
- ne
691
- ), ot = qt(
692
- {
693
- inputContainerRef: c,
694
- isDropdownOpen: f
695
- },
696
- ne
697
- ), lt = {
698
- [m.CLOSE_DROPDOWN]: ne,
699
- [m.SELECT]: et,
700
- [m.SHOW_MORE]: tt,
701
- ...ot
702
- };
703
- e.error && re(
704
- 'BentoDropdown "error" property',
705
- `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
706
- Having the field as "undefined" will hide/remove the error.
707
- <bento-dropdown errorMessage="Error message text" />`,
708
- "2.0.0"
709
- ), e.size && re('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && re(
710
- 'BentoDropdown "value" property',
711
- `The use of "value" prop in "BentoDropdown" is no longer supported.
712
- Use the "v-model" or "model-value" property instead.`,
713
- "2.0.0"
714
- );
715
- const Be = () => {
716
- c.value.focus();
717
- };
718
- return be(
719
- () => f.value,
720
- (a) => {
721
- a && d("open");
722
- }
723
- ), r({
724
- focus: Be
725
- }), (a, I) => te((S(), K("div", {
726
- class: ve(["b-dropdown", Ke.value])
727
- }, [
728
- n($) ? (S(), V(n(wt), {
729
- key: 0,
730
- id: n(v),
731
- condensed: a.condensed,
732
- label: n($),
733
- "tooltip-text": a.tooltipText,
734
- optional: a.optional,
735
- required: a.required
736
- }, null, 8, ["id", "condensed", "label", "tooltip-text", "optional", "required"])) : _("", !0),
737
- te((S(), K("div", F({
738
- ref_key: "inputContainerRefWrapper",
739
- ref: b
740
- }, ee(n(at), !0)), [
741
- (S(), V(ke(Fe.value), {
742
- ref_key: "inputContainerRef",
743
- ref: c,
744
- condensed: a.condensed,
745
- value: R.value,
746
- "additional-items-selected": Je.value,
747
- "aria-controls": n(O),
748
- ariaExpanded: f.value,
749
- "aria-labelledby": n($) ? n(v) : null,
750
- "aria-describedby": Ye.value,
751
- "aria-label": n(Se),
752
- "aria-readonly": n(g),
753
- "aria-required": a.required,
754
- readonly: n(g),
755
- disabled: a.disabled,
756
- "display-value": n(Ve),
757
- "dynamic-filtering": a.dynamicFiltering,
758
- "is-invalid": !!a.errorMessage || a.error,
759
- multiple: a.multiple,
760
- open: f.value,
761
- "selected-value-item": n(we) ? void 0 : We.value,
762
- "show-slot-content-in-multiple": a.showSlotContentInMultiple,
763
- onInput: I[0] || (I[0] = (k) => R.value = k),
764
- onOpen: se,
765
- onClose: se
766
- }, ce({ _: 2 }, [
767
- pe(n(s), (k, P) => ({
768
- name: P,
769
- fn: W((ie) => [
770
- X(a.$slots, P, fe(me(ie)), void 0, !0)
771
- ])
772
- }))
773
- ]), 1064, ["condensed", "value", "additional-items-selected", "aria-controls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "aria-required", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
774
- ], 16)), [
775
- [n(Lt)]
776
- ]),
777
- c.value ? (S(), V(n(Tt), F({
778
- key: 1,
779
- id: n(O),
780
- ref_key: "optionsContainerRef",
781
- ref: p,
782
- "aria-label": n(Se),
783
- "component-loading": a.componentLoading,
784
- "empty-state": a.emptyState,
785
- disabled: a.disabled,
786
- "is-option-disabled": a.isOptionDisabled,
787
- items: n(oe),
788
- multiple: a.multiple,
789
- "static-categories": Ee.value,
790
- open: f.value,
791
- "selected-value": n(z),
792
- searching: le.value,
793
- "target-element": b.value,
794
- loading: a.loading,
795
- "has-more-items": a.hasMoreItems,
796
- "lazy-load-type": a.lazyLoadType,
797
- "virtual-scroll": a.virtualScroll
798
- }, ee(lt)), ce({ _: 2 }, [
799
- pe(n(s), (k, P) => ({
800
- name: P,
801
- fn: W((ie) => [
802
- X(a.$slots, P, fe(me(ie)), void 0, !0)
803
- ])
804
- }))
805
- ]), 1040, ["id", "aria-label", "component-loading", "empty-state", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : _("", !0),
806
- a.errorMessage ? (S(), V(n(Et), {
807
- key: 2,
808
- id: n(T),
809
- "error-message": a.errorMessage,
810
- class: "b-dropdown__error-message"
811
- }, null, 8, ["id", "error-message"])) : _("", !0),
812
- a.description || n(l)("description") ? (S(), V(n(dt), {
813
- key: 3,
814
- id: n(D),
815
- class: ve(["b-dropdown__description", ze.value]),
816
- el: "span"
817
- }, {
818
- default: W(() => [
819
- X(a.$slots, "description", {}, () => [
820
- rt(ge(a.description), 1)
821
- ], !0)
822
- ]),
823
- _: 3
824
- }, 8, ["id", "class"])) : _("", !0)
825
- ], 2)), [
826
- [n(ht), Ge]
827
- ]);
828
- }
829
- }), ya = /* @__PURE__ */ J(Jt, [["__scopeId", "data-v-06d3531c"]]);
830
- export {
831
- ya as B,
832
- ma as I,
833
- jt as a,
834
- va as b,
835
- Ut as u
836
- };
837
- //# sourceMappingURL=dropdown.CxjzXI-k.js.map