@adyen/bento-vue2 1.81.0 → 1.82.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 (580) hide show
  1. package/README.md +1 -1
  2. package/dist/@types/components.d.ts +196 -0
  3. package/dist/@types/index.d.ts +17585 -0
  4. package/dist/@types/use-form-v4.d.ts +86 -0
  5. package/dist/accordion.js +6 -0
  6. package/dist/accordion.js.map +1 -0
  7. package/dist/action-bar.js +5 -0
  8. package/dist/action-bar.js.map +1 -0
  9. package/dist/alert.js +8 -0
  10. package/dist/alert.js.map +1 -0
  11. package/dist/assets/accordion-item.css +1 -0
  12. package/dist/assets/action-bar.css +1 -0
  13. package/dist/assets/ai-button.css +1 -0
  14. package/dist/assets/alert.css +1 -0
  15. package/dist/assets/avatar.css +1 -0
  16. package/dist/assets/base-button.css +1 -0
  17. package/dist/assets/base-modal.css +1 -0
  18. package/dist/assets/button-actions-with-menu.css +1 -0
  19. package/dist/assets/button-actions.css +1 -0
  20. package/dist/assets/button.css +1 -0
  21. package/dist/assets/calendar.css +1 -0
  22. package/dist/assets/card.css +1 -0
  23. package/dist/assets/checkbox-group.css +1 -0
  24. package/dist/assets/checkbox-input.css +1 -0
  25. package/dist/assets/checkbox.css +1 -0
  26. package/dist/assets/chip.css +1 -0
  27. package/dist/assets/code-snippet.css +1 -0
  28. package/dist/assets/controls-group.css +1 -0
  29. package/dist/assets/copy.css +1 -0
  30. package/dist/assets/country.css +1 -0
  31. package/dist/assets/currency.css +1 -0
  32. package/dist/assets/dashboard-section.css +1 -0
  33. package/dist/assets/dashed-underline.css +1 -0
  34. package/dist/assets/data-grid-template.css +1 -0
  35. package/dist/assets/data-grid.css +1 -0
  36. package/dist/assets/date-picker.css +1 -0
  37. package/dist/assets/date-range-picker.css +1 -0
  38. package/dist/assets/date.css +1 -0
  39. package/dist/assets/dialog-page.css +1 -0
  40. package/dist/assets/divider.css +1 -0
  41. package/dist/assets/dropdown-default-textbox.css +1 -0
  42. package/dist/assets/dropdown-tag.css +1 -0
  43. package/dist/assets/dropdown.css +1 -0
  44. package/dist/assets/empty-state.css +1 -0
  45. package/dist/assets/field-label.css +1 -0
  46. package/dist/assets/file-uploader.css +1 -0
  47. package/dist/assets/filter-bar.css +1 -0
  48. package/dist/assets/fixed-scroller.css +1 -0
  49. package/dist/assets/focus-trap.css +1 -0
  50. package/dist/assets/footer-actions.css +1 -0
  51. package/dist/assets/form-layout-title.css +1 -0
  52. package/dist/assets/grid-layout.css +1 -0
  53. package/dist/assets/header-meta.css +1 -0
  54. package/dist/assets/header-with-views.css +1 -0
  55. package/dist/assets/header.css +1 -0
  56. package/dist/assets/index.css +1 -0
  57. package/dist/assets/info-icon.css +1 -0
  58. package/dist/assets/input-field-password.css +1 -0
  59. package/dist/assets/input-field-phone-number.css +1 -0
  60. package/dist/assets/input-field.css +1 -0
  61. package/dist/assets/inspector.css +1 -0
  62. package/dist/assets/layout-row.css +1 -0
  63. package/dist/assets/link.css +1 -0
  64. package/dist/assets/listbox-option-tag.css +1 -0
  65. package/dist/assets/loading-indicator.css +1 -0
  66. package/dist/assets/main.css +1 -0
  67. package/dist/assets/modal-fullscreen.css +1 -0
  68. package/dist/assets/pagination.css +1 -0
  69. package/dist/assets/payment-method.css +1 -0
  70. package/dist/assets/popper-container.css +1 -0
  71. package/dist/assets/promo-banner.css +1 -0
  72. package/dist/assets/radio-group.css +1 -0
  73. package/dist/assets/radio-input.css +1 -0
  74. package/dist/assets/rich-text-editor.css +1 -0
  75. package/dist/assets/search-bar.css +1 -0
  76. package/dist/assets/secondary-nav.css +1 -0
  77. package/dist/assets/segmented-control.css +1 -0
  78. package/dist/assets/selection-card-group.css +1 -0
  79. package/dist/assets/sidepanel.css +1 -0
  80. package/dist/assets/status.css +1 -0
  81. package/dist/assets/step.css +1 -0
  82. package/dist/assets/structured-list-item.css +1 -0
  83. package/dist/assets/summary-grid.css +1 -0
  84. package/dist/assets/tab.css +1 -0
  85. package/dist/assets/tag.css +1 -0
  86. package/dist/assets/textarea.css +1 -0
  87. package/dist/assets/timeline-item.css +1 -0
  88. package/dist/assets/toast.css +1 -0
  89. package/dist/assets/toggle.css +1 -0
  90. package/dist/assets/tooltip.css +1 -0
  91. package/dist/assets/tutorial.css +1 -0
  92. package/dist/assets/typography.css +1 -0
  93. package/dist/assets/use-cached-selected-values.css +1 -0
  94. package/dist/avatar.js +5 -0
  95. package/dist/avatar.js.map +1 -0
  96. package/dist/button.js +18 -0
  97. package/dist/button.js.map +1 -0
  98. package/dist/card.js +7 -0
  99. package/dist/card.js.map +1 -0
  100. package/dist/checkbox.js +11 -0
  101. package/dist/checkbox.js.map +1 -0
  102. package/dist/chip.js +5 -0
  103. package/dist/chip.js.map +1 -0
  104. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  106. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  108. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  110. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  111. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  112. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  113. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  114. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  116. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  117. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  118. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  119. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  120. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  121. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  122. package/dist/chunks/accordion-item.G1q4zgBG.js +117 -0
  123. package/dist/chunks/accordion-item.G1q4zgBG.js.map +1 -0
  124. package/dist/chunks/action-bar.Dhl3T4j-.js +160 -0
  125. package/dist/chunks/action-bar.Dhl3T4j-.js.map +1 -0
  126. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  127. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  128. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  129. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  130. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  131. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  132. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  133. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  134. package/dist/chunks/ai-button.DBwtNkyS.js +67 -0
  135. package/dist/chunks/ai-button.DBwtNkyS.js.map +1 -0
  136. package/dist/chunks/alert.SZPP58tl.js +103 -0
  137. package/dist/chunks/alert.SZPP58tl.js.map +1 -0
  138. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  139. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  140. package/dist/chunks/avatar.CeDqq2Z-.js +71 -0
  141. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  142. package/dist/chunks/base-button.BdST9XT3.js +86 -0
  143. package/dist/chunks/base-button.BdST9XT3.js.map +1 -0
  144. package/dist/chunks/base-modal.C-UqIAY8.js +310 -0
  145. package/dist/chunks/base-modal.C-UqIAY8.js.map +1 -0
  146. package/dist/chunks/bin.Ddb69cr1.js +24 -0
  147. package/dist/chunks/bin.Ddb69cr1.js.map +1 -0
  148. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js +85 -0
  149. package/dist/chunks/button-actions-with-menu.KKq9Cuk1.js.map +1 -0
  150. package/dist/chunks/button-actions.N3D-Bb_x.js +1035 -0
  151. package/dist/chunks/button-actions.N3D-Bb_x.js.map +1 -0
  152. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  153. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  154. package/dist/chunks/button.CS_kdxYh.js +110 -0
  155. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  156. package/dist/chunks/calendar.Bhj58zR3.js +1832 -0
  157. package/dist/chunks/calendar.Bhj58zR3.js.map +1 -0
  158. package/dist/chunks/card.BYWF_Zvo.js +137 -0
  159. package/dist/chunks/card.BYWF_Zvo.js.map +1 -0
  160. package/dist/chunks/checkbox-group.CIIa-cYP.js +142 -0
  161. package/dist/chunks/checkbox-group.CIIa-cYP.js.map +1 -0
  162. package/dist/chunks/checkbox-input.B0NsfSNR.js +117 -0
  163. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +1 -0
  164. package/dist/chunks/checkbox.CiWvdg8S.js +178 -0
  165. package/dist/chunks/checkbox.CiWvdg8S.js.map +1 -0
  166. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js +24 -0
  167. package/dist/chunks/checkmark-circle-fill.BttTCjrM.js.map +1 -0
  168. package/dist/chunks/checkmark-small.DVDtD4HQ.js +24 -0
  169. package/dist/chunks/checkmark-small.DVDtD4HQ.js.map +1 -0
  170. package/dist/chunks/chevron-down.eYtgv5ly.js +24 -0
  171. package/dist/chunks/chevron-down.eYtgv5ly.js.map +1 -0
  172. package/dist/chunks/chevron-left.BS24hEFa.js +43 -0
  173. package/dist/chunks/chevron-left.BS24hEFa.js.map +1 -0
  174. package/dist/chunks/chevron-up.d8cwIlA_.js +24 -0
  175. package/dist/chunks/chevron-up.d8cwIlA_.js.map +1 -0
  176. package/dist/chunks/chip.B0DRDvaa.js +63 -0
  177. package/dist/chunks/chip.B0DRDvaa.js.map +1 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  179. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  180. package/dist/chunks/code-snippet.BMzhRl4c.js +268 -0
  181. package/dist/chunks/code-snippet.BMzhRl4c.js.map +1 -0
  182. package/dist/chunks/codemirror.Cy7iSLbd.js +14628 -0
  183. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -0
  184. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  185. package/dist/chunks/constructNow.BhymNmy5.js.map +1 -0
  186. package/dist/chunks/controls-group.GchVWe7h.js +84 -0
  187. package/dist/chunks/controls-group.GchVWe7h.js.map +1 -0
  188. package/dist/chunks/copy.DauzzgJV.js +96 -0
  189. package/dist/chunks/copy.DauzzgJV.js.map +1 -0
  190. package/dist/chunks/country.B3z3-QRY.js +69 -0
  191. package/dist/chunks/country.B3z3-QRY.js.map +1 -0
  192. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  193. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  194. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js +24 -0
  195. package/dist/chunks/cross-circle-fill-small.DfxDedRr.js.map +1 -0
  196. package/dist/chunks/cross-circle-fill.DTDtgLMf.js +24 -0
  197. package/dist/chunks/cross-circle-fill.DTDtgLMf.js.map +1 -0
  198. package/dist/chunks/cross-small.CoQUe8SS.js +24 -0
  199. package/dist/chunks/cross-small.CoQUe8SS.js.map +1 -0
  200. package/dist/chunks/cross.CC_B-vG-.js +24 -0
  201. package/dist/chunks/cross.CC_B-vG-.js.map +1 -0
  202. package/dist/chunks/currency.Cwhzzxw2.js +114 -0
  203. package/dist/chunks/currency.Cwhzzxw2.js.map +1 -0
  204. package/dist/chunks/dashboard-section.CgAfEay4.js +102 -0
  205. package/dist/chunks/dashboard-section.CgAfEay4.js.map +1 -0
  206. package/dist/chunks/dashed-underline.CMdNukpN.js +77 -0
  207. package/dist/chunks/dashed-underline.CMdNukpN.js.map +1 -0
  208. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  209. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -0
  210. package/dist/chunks/data-grid-template.m4hsFMe2.js +111 -0
  211. package/dist/chunks/data-grid-template.m4hsFMe2.js.map +1 -0
  212. package/dist/chunks/data-grid.rAVOFiTv.js +3294 -0
  213. package/dist/chunks/data-grid.rAVOFiTv.js.map +1 -0
  214. package/dist/chunks/date-format.B8RU7D42.js +17 -0
  215. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  216. package/dist/chunks/date-picker.nLuHJgOC.js +169 -0
  217. package/dist/chunks/date-picker.nLuHJgOC.js.map +1 -0
  218. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  219. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  220. package/dist/chunks/date-range-picker.D2MKhVMf.js +906 -0
  221. package/dist/chunks/date-range-picker.D2MKhVMf.js.map +1 -0
  222. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
  223. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
  224. package/dist/chunks/date.C1z2TXzM.js +160 -0
  225. package/dist/chunks/date.C1z2TXzM.js.map +1 -0
  226. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  227. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  228. package/dist/chunks/delight.CDBAFnwC.js +5 -0
  229. package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
  230. package/dist/chunks/delight.xKDCvvaS.js +5 -0
  231. package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
  232. package/dist/chunks/dialog-page.krM2wQpm.js +131 -0
  233. package/dist/chunks/dialog-page.krM2wQpm.js.map +1 -0
  234. package/dist/chunks/differenceInMonths.Cab3nOsb.js +1590 -0
  235. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +1 -0
  236. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  237. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  238. package/dist/chunks/divider.DX5gwN7p.js +35 -0
  239. package/dist/chunks/divider.DX5gwN7p.js.map +1 -0
  240. package/dist/chunks/dot.BW9SneIk.js +24 -0
  241. package/dist/chunks/dot.BW9SneIk.js.map +1 -0
  242. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js +350 -0
  243. package/dist/chunks/dropdown-default-textbox.uWZMxeI7.js.map +1 -0
  244. package/dist/chunks/dropdown-tag.BnqOBdMp.js +294 -0
  245. package/dist/chunks/dropdown-tag.BnqOBdMp.js.map +1 -0
  246. package/dist/chunks/dropdown.BijF56Y7.js +714 -0
  247. package/dist/chunks/dropdown.BijF56Y7.js.map +1 -0
  248. package/dist/chunks/empty-state.BsdRxzS2.js +106 -0
  249. package/dist/chunks/empty-state.BsdRxzS2.js.map +1 -0
  250. package/dist/chunks/es6.MoTTyETW.js +12 -0
  251. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  252. package/dist/chunks/events.BQOQSSb7.js +44 -0
  253. package/dist/chunks/events.BQOQSSb7.js.map +1 -0
  254. package/dist/chunks/expand.Bbielaja.js +24 -0
  255. package/dist/chunks/expand.Bbielaja.js.map +1 -0
  256. package/dist/chunks/field-label.DHGAa4cq.js +121 -0
  257. package/dist/chunks/field-label.DHGAa4cq.js.map +1 -0
  258. package/dist/chunks/file-uploader.D2s5qccE.js +1917 -0
  259. package/dist/chunks/file-uploader.D2s5qccE.js.map +1 -0
  260. package/dist/chunks/filter-bar.DISI1jAU.js +2472 -0
  261. package/dist/chunks/filter-bar.DISI1jAU.js.map +1 -0
  262. package/dist/chunks/fixed-scroller.CgVOf5VE.js +106 -0
  263. package/dist/chunks/fixed-scroller.CgVOf5VE.js.map +1 -0
  264. package/dist/chunks/focus-trap.CNIU5jOz.js +1168 -0
  265. package/dist/chunks/focus-trap.CNIU5jOz.js.map +1 -0
  266. package/dist/chunks/footer-actions.CFZwikg0.js +96 -0
  267. package/dist/chunks/footer-actions.CFZwikg0.js.map +1 -0
  268. package/dist/chunks/form-field.D_2g7vaP.js +10 -0
  269. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -0
  270. package/dist/chunks/form-layout-title.B_oVSX5b.js +197 -0
  271. package/dist/chunks/form-layout-title.B_oVSX5b.js.map +1 -0
  272. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  273. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -0
  274. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  275. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  276. package/dist/chunks/get-slot-text.Bjb9dTSV.js +12 -0
  277. package/dist/chunks/get-slot-text.Bjb9dTSV.js.map +1 -0
  278. package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
  279. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
  280. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js +484 -0
  281. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +1 -0
  282. package/dist/chunks/grid-layout.1aIiz2N_.js +76 -0
  283. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
  284. package/dist/chunks/header-meta.D0UdrdVf.js +170 -0
  285. package/dist/chunks/header-meta.D0UdrdVf.js.map +1 -0
  286. package/dist/chunks/header-with-views.BjZkBSI0.js +1591 -0
  287. package/dist/chunks/header-with-views.BjZkBSI0.js.map +1 -0
  288. package/dist/chunks/header.QYvN86kI.js +103 -0
  289. package/dist/chunks/header.QYvN86kI.js.map +1 -0
  290. package/dist/chunks/image.C2D2hKat.js +56 -0
  291. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  292. package/dist/chunks/index.B6WW_F-J.js +31 -0
  293. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  294. package/dist/chunks/index.BDK4hwK_.js +593 -0
  295. package/dist/chunks/index.BDK4hwK_.js.map +1 -0
  296. package/dist/chunks/index.Cl4_42j5.js +8 -0
  297. package/dist/chunks/index.Cl4_42j5.js.map +1 -0
  298. package/dist/chunks/info-icon.iKLaNff6.js +37 -0
  299. package/dist/chunks/info-icon.iKLaNff6.js.map +1 -0
  300. package/dist/chunks/info.CcMZ4aGg.js +24 -0
  301. package/dist/chunks/info.CcMZ4aGg.js.map +1 -0
  302. package/dist/chunks/input-field-password.BeRjHhu6.js +270 -0
  303. package/dist/chunks/input-field-password.BeRjHhu6.js.map +1 -0
  304. package/dist/chunks/input-field-phone-number.DLOUy8_E.js +3324 -0
  305. package/dist/chunks/input-field-phone-number.DLOUy8_E.js.map +1 -0
  306. package/dist/chunks/input-field.B1Q1-zLo.js +171 -0
  307. package/dist/chunks/input-field.B1Q1-zLo.js.map +1 -0
  308. package/dist/chunks/inspector.C6bbjQC0.js +117 -0
  309. package/dist/chunks/inspector.C6bbjQC0.js.map +1 -0
  310. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  311. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  312. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  313. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  314. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  315. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  316. package/dist/chunks/keyboard-navigation.DWmhelVv.js +66 -0
  317. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -0
  318. package/dist/chunks/layout-row.DwdZbpVG.js +87 -0
  319. package/dist/chunks/layout-row.DwdZbpVG.js.map +1 -0
  320. package/dist/chunks/link.D8qpqg3W.js +95 -0
  321. package/dist/chunks/link.D8qpqg3W.js.map +1 -0
  322. package/dist/chunks/listbox-option-tag.CK628fjn.js +44 -0
  323. package/dist/chunks/listbox-option-tag.CK628fjn.js.map +1 -0
  324. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  325. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  326. package/dist/chunks/minus-small.DJacLGTw.js +27 -0
  327. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -0
  328. package/dist/chunks/modal-fullscreen.UqZgbaDw.js +221 -0
  329. package/dist/chunks/modal-fullscreen.UqZgbaDw.js.map +1 -0
  330. package/dist/chunks/modal.DCgB0pA2.js +445 -0
  331. package/dist/chunks/modal.DCgB0pA2.js.map +1 -0
  332. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  333. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  334. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  335. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  336. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  337. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  338. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  339. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  340. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  341. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  342. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  343. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  344. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  345. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  346. package/dist/chunks/pagination.CylAnOyc.js +338 -0
  347. package/dist/chunks/pagination.CylAnOyc.js.map +1 -0
  348. package/dist/chunks/payment-method.C8Ie97qE.js +76 -0
  349. package/dist/chunks/payment-method.C8Ie97qE.js.map +1 -0
  350. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  351. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  352. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  353. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  354. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  355. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  356. package/dist/chunks/popover.types.WDh5ggr3.js +6 -0
  357. package/dist/chunks/popover.types.WDh5ggr3.js.map +1 -0
  358. package/dist/chunks/popper-container.Cdokz_NE.js +1404 -0
  359. package/dist/chunks/popper-container.Cdokz_NE.js.map +1 -0
  360. package/dist/chunks/promo-banner.DikQcQU2.js +70 -0
  361. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  362. package/dist/chunks/radio-group.Cr7UcYij.js +178 -0
  363. package/dist/chunks/radio-group.Cr7UcYij.js.map +1 -0
  364. package/dist/chunks/radio-input.kzb4gxLW.js +90 -0
  365. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -0
  366. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  367. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  368. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  369. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  370. package/dist/chunks/refresh.arF7jP-l.js +24 -0
  371. package/dist/chunks/refresh.arF7jP-l.js.map +1 -0
  372. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  373. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  374. package/dist/chunks/rich-text-editor.NKPFP8Ss.js +6203 -0
  375. package/dist/chunks/rich-text-editor.NKPFP8Ss.js.map +1 -0
  376. package/dist/chunks/search-bar.VctrP6lp.js +98 -0
  377. package/dist/chunks/search-bar.VctrP6lp.js.map +1 -0
  378. package/dist/chunks/search.D53Ia3rC.js +24 -0
  379. package/dist/chunks/search.D53Ia3rC.js.map +1 -0
  380. package/dist/chunks/secondary-nav.jpMeWSZj.js +112 -0
  381. package/dist/chunks/secondary-nav.jpMeWSZj.js.map +1 -0
  382. package/dist/chunks/segmented-control._CuB62pG.js +113 -0
  383. package/dist/chunks/segmented-control._CuB62pG.js.map +1 -0
  384. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  385. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  386. package/dist/chunks/selection-card-group.jykyd9iE.js +240 -0
  387. package/dist/chunks/selection-card-group.jykyd9iE.js.map +1 -0
  388. package/dist/chunks/show.B_mKPF6I.js +43 -0
  389. package/dist/chunks/show.B_mKPF6I.js.map +1 -0
  390. package/dist/chunks/sidepanel.CP-b8Zcg.js +210 -0
  391. package/dist/chunks/sidepanel.CP-b8Zcg.js.map +1 -0
  392. package/dist/chunks/status.types.BpMK-6IT.js +36 -0
  393. package/dist/chunks/status.types.BpMK-6IT.js.map +1 -0
  394. package/dist/chunks/step.4hMAy8v_.js +217 -0
  395. package/dist/chunks/step.4hMAy8v_.js.map +1 -0
  396. package/dist/chunks/structured-list-item.BLJabJwA.js +90 -0
  397. package/dist/chunks/structured-list-item.BLJabJwA.js.map +1 -0
  398. package/dist/chunks/success.DhioLvPD.js +5 -0
  399. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  400. package/dist/chunks/success.nNwxJRBS.js +5 -0
  401. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  402. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  403. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -0
  404. package/dist/chunks/summary-grid.types.B0w2S_9r.js +337 -0
  405. package/dist/chunks/summary-grid.types.B0w2S_9r.js.map +1 -0
  406. package/dist/chunks/tab.DXE68qVf.js +192 -0
  407. package/dist/chunks/tab.DXE68qVf.js.map +1 -0
  408. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  409. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -0
  410. package/dist/chunks/tag.7fp_M9Au.js +44 -0
  411. package/dist/chunks/tag.7fp_M9Au.js.map +1 -0
  412. package/dist/chunks/textarea.Ci9sKDFy.js +173 -0
  413. package/dist/chunks/textarea.Ci9sKDFy.js.map +1 -0
  414. package/dist/chunks/timeline-item.DcIQ-Q1T.js +255 -0
  415. package/dist/chunks/timeline-item.DcIQ-Q1T.js.map +1 -0
  416. package/dist/chunks/toast.DGvNp4ZM.js +171 -0
  417. package/dist/chunks/toast.DGvNp4ZM.js.map +1 -0
  418. package/dist/chunks/toggle.D2wmNu7m.js +108 -0
  419. package/dist/chunks/toggle.D2wmNu7m.js.map +1 -0
  420. package/dist/chunks/tooltip.BcQ24pKP.js +189 -0
  421. package/dist/chunks/tooltip.BcQ24pKP.js.map +1 -0
  422. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  423. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  424. package/dist/chunks/tutorial.Co2F7l0B.js +347 -0
  425. package/dist/chunks/tutorial.Co2F7l0B.js.map +1 -0
  426. package/dist/chunks/typography.hlOAxsEn.js +87 -0
  427. package/dist/chunks/typography.hlOAxsEn.js.map +1 -0
  428. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  429. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  430. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  431. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  432. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js +52 -0
  433. package/dist/chunks/use-bento-toast-controller.BhtohoS1.js.map +1 -0
  434. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js +1343 -0
  435. package/dist/chunks/use-cached-selected-values.BYiLNRRi.js.map +1 -0
  436. package/dist/chunks/use-country-items.B3Cd3Tdo.js +30 -0
  437. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  438. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +5621 -0
  439. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -0
  440. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +13 -0
  441. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  443. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  444. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js +12 -0
  445. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -0
  446. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  447. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -0
  448. package/dist/chunks/warning-filled.CbJ1pcB2.js +24 -0
  449. package/dist/chunks/warning-filled.CbJ1pcB2.js.map +1 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  451. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  453. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  454. package/dist/click-outside.js +5 -0
  455. package/dist/click-outside.js.map +1 -0
  456. package/dist/code-snippet.js +8 -0
  457. package/dist/code-snippet.js.map +1 -0
  458. package/dist/country.js +12 -0
  459. package/dist/country.js.map +1 -0
  460. package/dist/currency.js +6 -0
  461. package/dist/currency.js.map +1 -0
  462. package/dist/dashboard-template.js +6 -0
  463. package/dist/dashboard-template.js.map +1 -0
  464. package/dist/dashed-underline.js +5 -0
  465. package/dist/dashed-underline.js.map +1 -0
  466. package/dist/data-grid-template.js +5 -0
  467. package/dist/data-grid-template.js.map +1 -0
  468. package/dist/data-grid.js +13 -0
  469. package/dist/data-grid.js.map +1 -0
  470. package/dist/date-picker.js +10 -0
  471. package/dist/date-picker.js.map +1 -0
  472. package/dist/date-range-picker.js +10 -0
  473. package/dist/date-range-picker.js.map +1 -0
  474. package/dist/date.js +6 -0
  475. package/dist/date.js.map +1 -0
  476. package/dist/divider.js +5 -0
  477. package/dist/divider.js.map +1 -0
  478. package/dist/dropdown.js +16 -0
  479. package/dist/dropdown.js.map +1 -0
  480. package/dist/empty-state.js +8 -0
  481. package/dist/empty-state.js.map +1 -0
  482. package/dist/file-uploader.js +5 -0
  483. package/dist/file-uploader.js.map +1 -0
  484. package/dist/filter-bar.js +9 -0
  485. package/dist/filter-bar.js.map +1 -0
  486. package/dist/focus-trap.js +5 -0
  487. package/dist/focus-trap.js.map +1 -0
  488. package/dist/fonts/fonts.css +2 -0
  489. package/dist/form-layout.js +8 -0
  490. package/dist/form-layout.js.map +1 -0
  491. package/dist/header-with-views.js +5 -0
  492. package/dist/header-with-views.js.map +1 -0
  493. package/dist/header.js +5 -0
  494. package/dist/header.js.map +1 -0
  495. package/dist/image.js +7 -0
  496. package/dist/image.js.map +1 -0
  497. package/dist/index.js +442 -0
  498. package/dist/index.js.map +1 -0
  499. package/dist/info-icon.js +5 -0
  500. package/dist/info-icon.js.map +1 -0
  501. package/dist/input-field-password.js +10 -0
  502. package/dist/input-field-password.js.map +1 -0
  503. package/dist/input-field-phone-number.js +6 -0
  504. package/dist/input-field-phone-number.js.map +1 -0
  505. package/dist/input-field.js +10 -0
  506. package/dist/input-field.js.map +1 -0
  507. package/dist/inspector.js +7 -0
  508. package/dist/inspector.js.map +1 -0
  509. package/dist/internal.js +45 -0
  510. package/dist/internal.js.map +1 -0
  511. package/dist/layout.js +6 -0
  512. package/dist/layout.js.map +1 -0
  513. package/dist/link.js +6 -0
  514. package/dist/link.js.map +1 -0
  515. package/dist/loading-indicator.js +6 -0
  516. package/dist/loading-indicator.js.map +1 -0
  517. package/dist/menu.js +6 -0
  518. package/dist/menu.js.map +1 -0
  519. package/dist/modal-fullscreen.js +6 -0
  520. package/dist/modal-fullscreen.js.map +1 -0
  521. package/dist/modal.js +14 -0
  522. package/dist/modal.js.map +1 -0
  523. package/dist/pagination.js +5 -0
  524. package/dist/pagination.js.map +1 -0
  525. package/dist/payment-method.js +7 -0
  526. package/dist/payment-method.js.map +1 -0
  527. package/dist/popover.js +7 -0
  528. package/dist/popover.js.map +1 -0
  529. package/dist/popper-container.js +9 -0
  530. package/dist/popper-container.js.map +1 -0
  531. package/dist/promo-banner.js +7 -0
  532. package/dist/promo-banner.js.map +1 -0
  533. package/dist/radio-group.js +9 -0
  534. package/dist/radio-group.js.map +1 -0
  535. package/dist/rich-text-editor.js +5 -0
  536. package/dist/rich-text-editor.js.map +1 -0
  537. package/dist/search-bar.js +9 -0
  538. package/dist/search-bar.js.map +1 -0
  539. package/dist/secondary-nav.js +5 -0
  540. package/dist/secondary-nav.js.map +1 -0
  541. package/dist/segmented-control.js +7 -0
  542. package/dist/segmented-control.js.map +1 -0
  543. package/dist/selection-card.js +7 -0
  544. package/dist/selection-card.js.map +1 -0
  545. package/dist/sidepanel.js +7 -0
  546. package/dist/sidepanel.js.map +1 -0
  547. package/dist/status.js +6 -0
  548. package/dist/status.js.map +1 -0
  549. package/dist/stepper.js +8 -0
  550. package/dist/stepper.js.map +1 -0
  551. package/dist/structured-list.js +6 -0
  552. package/dist/structured-list.js.map +1 -0
  553. package/dist/styles/bento-dark.css +2133 -0
  554. package/dist/styles/bento-light.css +2132 -0
  555. package/dist/styles/bento.css +2132 -0
  556. package/dist/styles/legacy.css +2132 -0
  557. package/dist/styles/styleguide.css +2187 -0
  558. package/dist/styles/utility.css +1002 -0
  559. package/dist/summary-grid.js +12 -0
  560. package/dist/summary-grid.js.map +1 -0
  561. package/dist/tabs.js +6 -0
  562. package/dist/tabs.js.map +1 -0
  563. package/dist/tag.js +6 -0
  564. package/dist/tag.js.map +1 -0
  565. package/dist/textarea.js +5 -0
  566. package/dist/textarea.js.map +1 -0
  567. package/dist/timeline.js +10 -0
  568. package/dist/timeline.js.map +1 -0
  569. package/dist/toast.js +5 -0
  570. package/dist/toast.js.map +1 -0
  571. package/dist/toggle.js +7 -0
  572. package/dist/toggle.js.map +1 -0
  573. package/dist/tutorial.js +5 -0
  574. package/dist/tutorial.js.map +1 -0
  575. package/dist/typography.js +8 -0
  576. package/dist/typography.js.map +1 -0
  577. package/dist/use-form-v4.js +8300 -0
  578. package/dist/use-form-v4.js.map +1 -0
  579. package/dist/web-types.json +17262 -0
  580. package/package.json +27 -24
@@ -0,0 +1,714 @@
1
+ import { ref as h, watch as G, computed as r, defineComponent as R, useSlots as he, toRefs as we, nextTick as x, useAttrs as Ae, toRef as L, inject as Me } from "vue";
2
+ import { d as Y, B as Pe } from "./typography.hlOAxsEn.js";
3
+ import { g as $ } from "./generate-uid.NJ8tVoha.js";
4
+ import { u as $e } from "./aria-label.CaUURpnB.js";
5
+ import { u as ee } from "./index.B6WW_F-J.js";
6
+ import { u as ke } from "./form-field.D_2g7vaP.js";
7
+ import { a as p, b as X, B as be, c as Fe, u as Ke, d as ze } from "./use-cached-selected-values.BYiLNRRi.js";
8
+ import { u as Ve } from "./use-form-layout-loading.CWbjZiwP.js";
9
+ import { a as Z, b as P, c as We, B as V, D as Ue } from "./dropdown-default-textbox.uWZMxeI7.js";
10
+ import { u as je } from "./use-has-slot.C9lQZ6nz.js";
11
+ import { B as E, a as qe } from "./keyboard-navigation.DWmhelVv.js";
12
+ import { B as He } from "./directive.Cbdox5VL.js";
13
+ import { F as Je, E as Ye } from "./field-label.DHGAa4cq.js";
14
+ import { P as ye } from "./popper-container.Cdokz_NE.js";
15
+ import { h as Ze } from "./button-actions.N3D-Bb_x.js";
16
+ import { n as k } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
17
+ /* empty css */
18
+ import { s as Q } from "./events.BQOQSSb7.js";
19
+ import "../assets/dropdown.css";
20
+ const Qe = {
21
+ "en-US": {
22
+ apply: "Apply",
23
+ cancel: "Cancel",
24
+ noOptionsMatchThisSearch: "No options match this search"
25
+ },
26
+ "ja-JP": {
27
+ apply: "適用",
28
+ cancel: "キャンセル"
29
+ },
30
+ "pt-BR": {
31
+ apply: "Aplicar",
32
+ cancel: "Cancelar"
33
+ }
34
+ }, Xe = (n, t, o, e) => {
35
+ const a = h(n.value), { t: s } = ee();
36
+ G(n, () => {
37
+ a.value = n.value;
38
+ });
39
+ const l = r(
40
+ () => JSON.stringify(a.value) === JSON.stringify(n.value)
41
+ ), i = () => {
42
+ e(p.SELECT, a.value), e(p.CLOSE_DROPDOWN);
43
+ }, f = () => {
44
+ a.value = n.value, e(p.CLOSE_DROPDOWN);
45
+ }, m = () => {
46
+ o.value && t.value && (a.value = n.value);
47
+ }, u = r(() => [
48
+ {
49
+ title: s("apply"),
50
+ event: i,
51
+ disabled: l.value
52
+ },
53
+ {
54
+ title: s("cancel"),
55
+ event: f
56
+ }
57
+ ]), y = (d) => {
58
+ a.value = d, t.value || e(p.SELECT, d);
59
+ }, c = (d) => {
60
+ y(d), e(p.TAB);
61
+ }, g = (d) => {
62
+ y(d), e(p.ENTER);
63
+ }, b = (d) => {
64
+ y(d), e(p.SPACE);
65
+ }, S = () => {
66
+ f(), e(p.ESCAPE);
67
+ }, O = () => {
68
+ e(p.SHOW_MORE);
69
+ }, C = {
70
+ [p.SELECT]: y,
71
+ [p.SHOW_MORE]: O,
72
+ [p.TAB]: c,
73
+ [p.SPACE]: b,
74
+ [p.ENTER]: g
75
+ };
76
+ return {
77
+ // Values
78
+ actions: u,
79
+ internalSelectedValue: a,
80
+ // Methods
81
+ listeners: C,
82
+ onEscapeKey: S,
83
+ onOutsideDropdownClick: m
84
+ };
85
+ }, Ge = R({
86
+ i18n: { messages: Qe },
87
+ name: "bento-dropdown-options-container"
88
+ }), et = /* @__PURE__ */ R({
89
+ ...Ge,
90
+ props: {
91
+ /**
92
+ * Defines a string value that labels an interactive element.
93
+ */
94
+ ariaLabel: { type: String, default: null },
95
+ /**
96
+ * Indicates that dropdown items are loading
97
+ */
98
+ componentLoading: { type: Boolean, default: !1 },
99
+ /**
100
+ * Empty state props used with the inner empty state component which is displayed when no search results are found.
101
+ */
102
+ emptyState: {
103
+ type: Object,
104
+ default: void 0
105
+ },
106
+ /**
107
+ * Disables dropdown functionality
108
+ */
109
+ disabled: { type: Boolean, default: !1 },
110
+ /**
111
+ * Indicates whether there are more items to load
112
+ */
113
+ hasMoreItems: { type: Boolean, default: !1 },
114
+ /**
115
+ * Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
116
+ */
117
+ id: { type: String, required: !0 },
118
+ /**
119
+ * Function that allows the options to be disabled
120
+ *
121
+ * @type {BentoDropdownIsOptionDisabled}
122
+ * @param {BentoDropdownOptionItem} option - Dropdown option object
123
+ * @param {string} option.label - Option's label text
124
+ * @param {string|number} option.value - Option's value
125
+ * @param {unknown} option.data - Option's extra data to be passed to the default slot
126
+ */
127
+ isOptionDisabled: {
128
+ type: Function,
129
+ default: void 0
130
+ },
131
+ /**
132
+ * The option elements to populate the dropdown with.
133
+ * It must be an array of {@see BentoDropdownOptionItem }
134
+ * * @property {string} value.label - Text to be displayed in the option
135
+ * * @property {string,number} value.value - Value of the option
136
+ */
137
+ items: {
138
+ type: Array,
139
+ required: !0
140
+ },
141
+ /**
142
+ * The type of `Lazy Load`.
143
+ * Type "automatic" will enable infinite scrolling
144
+ * Type "button" will enable lazy loading with "Show more" button
145
+ */
146
+ lazyLoadType: {
147
+ type: String,
148
+ default: be.AUTOMATIC,
149
+ validator: (n) => Object.values(be).includes(n)
150
+ },
151
+ /**
152
+ * Indicates if new options are lazy loading.
153
+ */
154
+ loading: { type: Boolean, default: !1 },
155
+ /**
156
+ * If enabled, the user will be able to select multiple items.
157
+ */
158
+ multiple: { type: Boolean, default: !1 },
159
+ /**
160
+ * Indicates if the dropdown is open so that
161
+ * the container can be displayed.
162
+ */
163
+ open: { type: Boolean, required: !0 },
164
+ /**
165
+ * The `input` value.
166
+ * Providing an empty string or empty array will select no options.
167
+ * Set to an empty string `''` if you don't want any of the available options to be selected for single select
168
+ */
169
+ selectedValue: {
170
+ type: Array,
171
+ default: null
172
+ },
173
+ /**
174
+ * Flag that indicates that an external search it's being made
175
+ * to filter out the items inside the the multi-select listbox
176
+ *
177
+ * If enabled, hides the "Select all" checkbox in "multiple" mode.
178
+ */
179
+ searching: X.props.searching,
180
+ /**
181
+ * If enabled, dropdown will display non-selectable, static categories
182
+ */
183
+ staticCategories: { type: Boolean, default: !1 },
184
+ /**
185
+ * Reference to the DOM element or Vue component for positioning
186
+ * the Dropdown container.
187
+ */
188
+ targetElement: { type: ye.props.targetElement.type, required: !0 },
189
+ /**
190
+ * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
191
+ * The itemHeight function is used to calculate the height of rendered item given it's index.
192
+ */
193
+ virtualScroll: {
194
+ type: [Boolean, Object],
195
+ default: !1
196
+ }
197
+ },
198
+ emits: [],
199
+ setup(n, { expose: t, emit: o }) {
200
+ const e = n, a = he(), { selectedValue: s, multiple: l } = we(e), i = h(null), { t: f } = ee(), m = r(() => e.open && !e.disabled), u = r(() => f("noOptionsMatchThisSearch")), y = r(() => ({
201
+ "b-dropdown-options-container--single": !(e != null && e.multiple)
202
+ })), c = r(() => ({
203
+ "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
204
+ })), { actions: g, internalSelectedValue: b, listeners: S, onEscapeKey: O, onOutsideDropdownClick: C } = Xe(s, l, m, o), d = r(() => e != null && e.multiple ? Ze : ye), I = r(() => {
205
+ var B;
206
+ const D = {
207
+ "min-width": `${(B = e == null ? void 0 : e.targetElement) == null ? void 0 : B.clientWidth}px`,
208
+ "max-width": "min(500px, 95%)"
209
+ };
210
+ return e != null && e.multiple ? {
211
+ actionsLayout: "space-between",
212
+ ariaLabel: e.ariaLabel,
213
+ actions: g.value,
214
+ divider: !0,
215
+ fallbackPosition: ["top-start"],
216
+ id: $(`dropdown-options-${e.id}`),
217
+ open: e.open,
218
+ position: "bottom-start",
219
+ style: {
220
+ width: "auto",
221
+ ...D
222
+ },
223
+ targetElement: e.targetElement
224
+ } : {
225
+ fallbackPosition: ["top-start"],
226
+ offset: [0, 8],
227
+ position: "bottom-start",
228
+ style: {
229
+ display: m.value ? "block" : "none",
230
+ ...D
231
+ },
232
+ targetElement: e.targetElement
233
+ };
234
+ });
235
+ return t({
236
+ onOutsideDropdownClick: C
237
+ }), { __sfc: !0, slots: a, emit: o, props: e, selectedValue: s, multiple: l, dropdownOptionsListboxRef: i, t: f, isDropdownOpen: m, noResultsMessage: u, conditionalClasses: y, conditionalListboxClasses: c, actions: g, internalSelectedValue: b, listeners: S, onEscapeKey: O, onOutsideDropdownClick: C, popperContainerOrPopoverComponent: d, popperContainerOrPopoverProps: I, BentoListbox: X };
238
+ }
239
+ });
240
+ var tt = function() {
241
+ var t = this, o = t._self._c, e = t._self._setupProxy;
242
+ return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(a) {
243
+ return !a.type.indexOf("key") && t._k(a.keyCode, "esc", 27, a.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
244
+ } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(a, s) {
245
+ return { key: s, fn: function(l) {
246
+ return [t._t(s, null, null, l)];
247
+ } };
248
+ })], null, !0) }, e.listeners))], 1)]);
249
+ }, ot = [], at = /* @__PURE__ */ k(
250
+ et,
251
+ tt,
252
+ ot,
253
+ !1,
254
+ null,
255
+ "ddc50615"
256
+ );
257
+ const nt = at.exports;
258
+ let _e = 0;
259
+ const lt = {
260
+ beforeCreate() {
261
+ this.uuid = _e.toString(), _e += 1;
262
+ }
263
+ };
264
+ var st = function() {
265
+ var t = this, o = t._self._c;
266
+ return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#001222", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
267
+ }, it = [], rt = /* @__PURE__ */ k(
268
+ lt,
269
+ st,
270
+ it,
271
+ !1,
272
+ null,
273
+ null
274
+ );
275
+ const dt = rt.exports;
276
+ let ge = 0;
277
+ const ut = {
278
+ beforeCreate() {
279
+ this.uuid = ge.toString(), ge += 1;
280
+ }
281
+ };
282
+ var ct = function() {
283
+ var t = this, o = t._self._c;
284
+ return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#001222", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
285
+ }, pt = [], ft = /* @__PURE__ */ k(
286
+ ut,
287
+ ct,
288
+ pt,
289
+ !1,
290
+ null,
291
+ null
292
+ );
293
+ const vt = ft.exports, mt = R({
294
+ name: "dropdown-small-textbox",
295
+ inheritAttrs: !1
296
+ }), bt = /* @__PURE__ */ R({
297
+ ...mt,
298
+ props: {
299
+ /**
300
+ * The number of additional items that have been selected in the dropdown.
301
+ */
302
+ additionalItemsSelected: { type: [Number, String], default: 0 },
303
+ /**
304
+ * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.
305
+ */
306
+ ariaControls: { type: String, required: !0 },
307
+ /**
308
+ * 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.
309
+ */
310
+ ariaExpanded: {
311
+ type: [String, Boolean],
312
+ required: !0
313
+ },
314
+ /**
315
+ * If no label element is used then the aria-label is be set should be set.
316
+ */
317
+ ariaLabel: { type: String, default: null },
318
+ /**
319
+ * Corresponds to the label's id that labels the textbox element.
320
+ */
321
+ ariaLabelledby: { type: String, default: null },
322
+ /**
323
+ * Custom debounce time. Default: 300
324
+ */
325
+ debounceTime: { type: Number, default: 300 },
326
+ /**
327
+ * Disables any textbox functionality
328
+ */
329
+ disabled: { type: Boolean, default: !1 },
330
+ /**
331
+ * Selected option's label
332
+ */
333
+ displayValue: { type: String, default: null },
334
+ /**
335
+ * Sets the possibility to type into the textbox
336
+ */
337
+ dynamicFiltering: { type: Boolean, default: !1 },
338
+ /**
339
+ * Marks the textbox as invalid, rendering an error state
340
+ */
341
+ isInvalid: { type: Boolean, default: !1 },
342
+ /**
343
+ * Indicates if the dropdown is open so that
344
+ * the respective event can be emitted
345
+ */
346
+ open: { type: Boolean, default: !1 },
347
+ /**
348
+ * Sets the dropdown to readonly state
349
+ */
350
+ readonly: { type: Boolean, default: !1 },
351
+ /**
352
+ * The input value
353
+ */
354
+ value: { type: String, default: "" }
355
+ },
356
+ emits: ["clear", "close", "input", "keydown", "open"],
357
+ setup(n, { expose: t, emit: o }) {
358
+ const e = n, a = h(null), s = r(() => ({
359
+ [`b-dropdown-small-textbox--${Z.DISABLED}`]: e.disabled,
360
+ [`b-dropdown-small-textbox--${Z.READONLY}`]: e.readonly,
361
+ [`b-dropdown-small-textbox--${Z.OPENED}`]: e.open
362
+ })), l = r(() => e.open && !e.disabled && !e.readonly), i = (b) => {
363
+ o("input", b);
364
+ }, f = (b) => {
365
+ o("keydown", b);
366
+ }, m = (b) => {
367
+ Q(b), o("open");
368
+ }, u = (b) => {
369
+ Q(b), o("close");
370
+ }, y = (b) => {
371
+ Q(b), o("clear");
372
+ }, c = {
373
+ [P.INPUT]: i,
374
+ [P.OPEN]: m,
375
+ [P.CLOSE]: u,
376
+ [P.CLEAR]: y,
377
+ [P.KEYDOWN]: f
378
+ }, g = () => {
379
+ a.value.focus();
380
+ };
381
+ return t({
382
+ focus: g
383
+ }), { __sfc: !0, emit: o, props: e, baseTextbox: a, conditionalClasses: s, isDropdownOpen: l, onInput: i, onKeyDown: f, openDropdown: m, closeDropdown: u, clearValue: y, listeners: c, focus: g, BentoDropdownSize: V, DropdownBaseTextbox: We, ChevronDownSmallIcon: dt, ChevronUpSmallIcon: vt };
384
+ }
385
+ });
386
+ var yt = function() {
387
+ var t = this, o = t._self._c, e = t._self._setupProxy;
388
+ return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
389
+ return [o("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [o(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), o(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
390
+ }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
391
+ }, _t = [], gt = /* @__PURE__ */ k(
392
+ bt,
393
+ yt,
394
+ _t,
395
+ !1,
396
+ null,
397
+ "2e5cb799"
398
+ );
399
+ const ht = gt.exports, wt = (n, t) => t.value.reduce((o, e) => {
400
+ if (e.items) {
401
+ const a = e.items.filter(
402
+ (l) => n.value.find((i) => i.value === l.value)
403
+ );
404
+ a.length === e.items.length ? o.push(e.displayValue ?? e.label) : a.forEach(({ label: l, displayValue: i }) => o.push(i ?? l));
405
+ }
406
+ return n.value.find((a) => a.value === e.value) && o.push(e.displayValue ?? e.label), o;
407
+ }, []).join(", "), Ct = ({ items: n, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
408
+ const a = r(
409
+ () => e.value && n.value.find((l) => {
410
+ var i;
411
+ return (i = l.items) == null ? void 0 : i.length;
412
+ })
413
+ );
414
+ return r(() => o.value.length ? a.value ? wt(o, n) : o.value.map(({ label: l, displayValue: i }) => i ?? l).join(", ") : t.value || null);
415
+ }, Ce = (n) => {
416
+ var t;
417
+ (t = n.value.$children) == null || t[0].$refs.textbox.focus();
418
+ }, Lt = ({
419
+ inputContainerRef: n,
420
+ optionsContainerRef: t,
421
+ selectedValueIndex: o,
422
+ isDropdownOpen: e,
423
+ isDynamicFltering: a,
424
+ items: s,
425
+ isMultiple: l
426
+ }, i, f, m) => {
427
+ const u = async (_) => {
428
+ var w;
429
+ a.value && await x(), (w = s.value[_]) == null || w.focus();
430
+ }, y = async (_) => {
431
+ var A, K;
432
+ a.value && await x();
433
+ const w = (A = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : A.$el.querySelectorAll(
434
+ "button"
435
+ );
436
+ w.length ? (K = w[_]) == null || K.focus() : u(_);
437
+ }, c = (_) => {
438
+ var w;
439
+ return (w = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : w.setListboxFocusedIndex(
440
+ _
441
+ );
442
+ }, g = () => {
443
+ e.value || f(), x(() => {
444
+ c(0), u(0);
445
+ });
446
+ }, b = () => {
447
+ e.value || f(), x(() => {
448
+ c(s.value.length - 1), u(s.value.length - 1);
449
+ });
450
+ }, S = ({ detail: _ }) => {
451
+ _.preventDefault(), g();
452
+ }, O = ({ detail: _ }) => {
453
+ _.preventDefault(), b();
454
+ }, C = () => {
455
+ g();
456
+ }, d = () => {
457
+ b();
458
+ }, I = ({ detail: _ }) => {
459
+ _.preventDefault(), i(), e.value && x(() => {
460
+ l ? y(0) : (c(o.value), u(o.value));
461
+ });
462
+ }, D = ({ detail: _ }) => {
463
+ _.preventDefault(), i(), e.value && x(() => {
464
+ l ? y(0) : (c(o.value), u(o.value));
465
+ });
466
+ }, B = () => {
467
+ e.value && m();
468
+ }, F = () => {
469
+ e.value && (m(), Ce(n));
470
+ };
471
+ return r(() => ({
472
+ [E.ARROW_DOWN]: S,
473
+ [E.ARROW_UP]: O,
474
+ [E.HOME]: C,
475
+ [E.END]: d,
476
+ ...a.value ? {} : { [E.SPACE]: I },
477
+ [E.ENTER]: D,
478
+ [E.TAB]: B,
479
+ [E.ESCAPE]: F
480
+ }));
481
+ }, xt = ({ inputContainerRef: n, isDropdownOpen: t }, o) => {
482
+ const e = () => {
483
+ t.value && o(), x(() => {
484
+ Ce(n);
485
+ });
486
+ };
487
+ return {
488
+ [p.ENTER]: e,
489
+ [p.ESCAPE]: e,
490
+ [p.TAB]: e,
491
+ [p.SPACE]: e
492
+ };
493
+ };
494
+ function St(n, t, o, e) {
495
+ const a = h(n), s = h(t), l = (f, m = []) => m.flatMap((u) => u.label.toLocaleLowerCase().includes(f) ? e != null && e.value && u.items ? [...l(f, u.items)] : [u, ...l(f, u.items)] : u.items ? [...l(f, u.items)] : []);
496
+ return G(a, () => {
497
+ o !== void 0 && o(a.value);
498
+ }), r(() => {
499
+ if (!a.value || o !== void 0)
500
+ return s.value;
501
+ const f = a.value.toLocaleLowerCase();
502
+ return l(f, s.value);
503
+ });
504
+ }
505
+ const Ot = {
506
+ "en-US": {
507
+ all: "All",
508
+ ariaLabelFallback: "Dropdown",
509
+ clearSearch: "Clear filter"
510
+ },
511
+ "ja-JP": {
512
+ all: "すべて",
513
+ clearFilter: "フィルターをクリア"
514
+ },
515
+ "pt-BR": {
516
+ all: "Todos",
517
+ clearFilter: "Limpar filtro"
518
+ }
519
+ }, Et = /* @__PURE__ */ Symbol("input field component injection key"), Qt = /* @__PURE__ */ Symbol("input field hint injection key"), Xt = /* @__PURE__ */ Symbol("input field parent component injection key"), Dt = R({
520
+ i18n: { messages: Ot },
521
+ name: "b-dropdown",
522
+ components: {
523
+ DropdownInputDefault: Ue,
524
+ DropdownInputSmall: ht
525
+ },
526
+ model: { prop: "modelValue" }
527
+ }), Bt = /* @__PURE__ */ R({
528
+ ...Dt,
529
+ props: {
530
+ description: { default: null },
531
+ disabled: { type: Boolean, default: !1 },
532
+ errorMessage: { default: null },
533
+ label: { default: null },
534
+ optional: { type: Boolean, default: !1 },
535
+ placeholder: { default: null },
536
+ readonly: { type: Boolean, default: !1 },
537
+ required: { type: Boolean, default: !1 },
538
+ tooltipText: { default: null },
539
+ ariaLabel: { default: null },
540
+ condensed: { type: Boolean, default: !1 },
541
+ emptyState: { default: void 0 },
542
+ dynamicFiltering: { type: Boolean, default: !1 },
543
+ error: { type: Boolean, default: !1 },
544
+ hasMoreItems: { type: Boolean, default: !1 },
545
+ isOptionDisabled: { type: Function, default: void 0 },
546
+ items: { default: () => [] },
547
+ loading: { type: Boolean, default: !1 },
548
+ componentLoading: { type: Boolean, default: !1 },
549
+ lazyLoadType: { default: X.props.lazyLoadType.default },
550
+ multiple: { type: Boolean, default: !1 },
551
+ search: { default: void 0 },
552
+ showSlotContentInMultiple: { type: Boolean, default: !1 },
553
+ size: { default: null },
554
+ staticCategories: { type: Boolean, default: !1 },
555
+ value: { default: null },
556
+ modelValue: { default: null },
557
+ virtualScroll: { type: Boolean, default: !1 },
558
+ enableValueLabelPair: { type: Boolean, default: !1 }
559
+ },
560
+ emits: ["input", "update:model-value", "show-more", "open"],
561
+ setup(n, { expose: t, emit: o }) {
562
+ var me;
563
+ const e = n, a = Ae(), s = he(), l = je(s), { t: i } = ee(), { emitValue: f } = ke(o), m = h(null), u = h(null), y = h(null), c = h(!1), g = $("bento-dropdown-options-container"), b = $("dropdown-label"), S = $("dropdown-description"), O = $("dropdown-error"), { isReadOnly: C } = Ve(L(e, "readonly")), d = r(() => e.modelValue ?? e.value), { cachedSelectedListboxOptions: I, cachedListboxSelectedValues: D, setCachedValues: B } = Fe(
564
+ L(e, "items"),
565
+ d,
566
+ L(e, "multiple"),
567
+ L(e, "enableValueLabelPair")
568
+ ), F = h(a["aria-label"]), W = h(a["aria-describedby"]), { ariaLabel: _, label: w } = we(e), A = r(() => i("ariaLabelFallback")), K = $e({
569
+ // TODO: take ariaLabel ref away when aria-label prop is removed
570
+ ariaLabel: _.value || F,
571
+ label: w,
572
+ defaultFallback: A
573
+ }), te = e.size === V.SMALL || Me(Et, !1), Le = r(() => te ? V.SMALL : V.DEFAULT), xe = r(() => ({
574
+ "b-dropdown--condensed": e.condensed
575
+ })), Se = r(() => ({
576
+ "b-dropdown__description--error": !!e.errorMessage
577
+ })), T = h(""), M = L(e, "items"), oe = L(e, "staticCategories"), U = St(T, M, (me = e == null ? void 0 : e.search) == null ? void 0 : me.searchEvent, oe), j = r(() => e.dynamicFiltering && !!T.value), Oe = Ct({
578
+ items: M,
579
+ placeholder: L(e, "placeholder"),
580
+ isMultiSelect: L(e, "multiple"),
581
+ selectedValues: I
582
+ }), Ee = r(() => {
583
+ if (e != null && e.multiple && Array.isArray(d.value))
584
+ return e.items.filter(
585
+ ({ value: v }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(v)
586
+ );
587
+ if (!e.multiple && e.staticCategories) {
588
+ const v = e.items.find(
589
+ (J) => J.items.some((Re) => Re.value === d.value)
590
+ );
591
+ return v ? v.items.find((J) => J.value === d.value) : null;
592
+ }
593
+ return e.items.find(({ value: v }) => v === d.value);
594
+ }), ae = r(() => {
595
+ const v = U.value.findIndex(({ value: N }) => e.enableValueLabelPair ? d.value.value === N : d.value === N);
596
+ return v > -1 ? v : 0;
597
+ }), { isMultiLevelSelect: q, flattenedItemsList: ne } = Ke(M), le = r(() => q.value && !e.staticCategories), se = r(() => le.value ? "treeitem" : "option"), De = r(() => {
598
+ if (e.multiple) {
599
+ const v = Array.isArray(d.value) ? d.value.length : 0, N = q.value ? ne.value.length : M.value.length;
600
+ return v === 0 ? null : !e.hasMoreItems && N > 0 && N === v ? i("all") : v;
601
+ }
602
+ return null;
603
+ }), Be = r(
604
+ () => [
605
+ e.description ? S : null,
606
+ W.value,
607
+ e.errorMessage ? O : null
608
+ ].filter(Boolean).join(" ") || null
609
+ ), ie = r(() => {
610
+ var v;
611
+ return (v = y.value) == null ? void 0 : v.$el;
612
+ }), { visibleDomOptions: re, updateVisibleDomOptions: H } = ze(
613
+ ie,
614
+ U,
615
+ se
616
+ ), de = () => {
617
+ C.value || (c.value = !0, x(() => {
618
+ H();
619
+ }));
620
+ }, z = () => {
621
+ c.value = !1;
622
+ }, ue = () => {
623
+ C.value || (c.value = !c.value, x(() => {
624
+ H();
625
+ }), j.value && (T.value = ""));
626
+ }, Ie = () => {
627
+ j.value && (T.value = ""), c.value && (c.value = !1, y.value.onOutsideDropdownClick());
628
+ }, ce = (v) => {
629
+ e.multiple || (T.value = "", c.value = !1), B(v), f(D.value);
630
+ }, pe = () => {
631
+ o(p.SHOW_MORE);
632
+ }, Te = Lt(
633
+ {
634
+ inputContainerRef: m,
635
+ optionsContainerRef: y,
636
+ selectedValueIndex: ae,
637
+ isDropdownOpen: c,
638
+ isDynamicFltering: L(e, "dynamicFiltering"),
639
+ items: re,
640
+ isMultiple: e.multiple
641
+ },
642
+ ue,
643
+ de,
644
+ z
645
+ ), fe = xt(
646
+ {
647
+ inputContainerRef: m,
648
+ isDropdownOpen: c
649
+ },
650
+ z
651
+ ), Ne = {
652
+ [p.CLOSE_DROPDOWN]: z,
653
+ [p.SELECT]: ce,
654
+ [p.SHOW_MORE]: pe,
655
+ ...fe
656
+ };
657
+ e.error && Y(
658
+ 'BentoDropdown "error" property',
659
+ `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
660
+ Having the field as "undefined" will hide/remove the error.
661
+ <bento-dropdown errorMessage="Error message text" />`,
662
+ "2.0.0"
663
+ ), e.size && Y('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), e.value && Y(
664
+ 'BentoDropdown "value" property',
665
+ `The use of "value" prop in "BentoDropdown" is no longer supported.
666
+ Use the "v-model" or "model-value" property instead.`,
667
+ "2.0.0"
668
+ );
669
+ const ve = () => {
670
+ m.value.focus();
671
+ };
672
+ return G(
673
+ () => c.value,
674
+ (v) => {
675
+ v && o("open");
676
+ }
677
+ ), t({
678
+ focus: ve
679
+ }), { __sfc: !0, attrs: a, slots: s, hasSlot: l, props: e, emit: o, t: i, emitValue: f, inputContainerRef: m, inputContainerRefWrapper: u, optionsContainerRef: y, isDropdownOpen: c, dropdownOptionsContainerId: g, labelId: b, descriptionId: S, errorId: O, isReadOnly: C, dropdownValue: d, cachedSelectedListboxOptions: I, cachedListboxSelectedValues: D, setCachedValues: B, ariaLabelAttribute: F, ariaDescribedByAttribute: W, ariaLabel: _, label: w, computedAriaLabelFallbackMessage: A, computedAriaLabel: K, isInputComponent: te, computedSize: Le, conditionalClasses: xe, descriptionConditionalClasses: Se, searchTerm: T, items: M, staticCategories: oe, filteredItems: U, isSearching: j, displayValue: Oe, selectedValueItem: Ee, selectedValueIndex: ae, isMultiLevelSelect: q, flattenedItemsList: ne, isTreePattern: le, computedOptionRole: se, additionalItemsSelected: De, ariaDescribedBy: Be, listboxRef: ie, visibleDomOptions: re, updateVisibleDomOptions: H, openDropdown: de, closeDropdown: z, toggleDropdown: ue, clickOutsideDropdown: Ie, onOptionSelected: ce, emitShowMoreEvent: pe, textboxKeyboardNavigationListeners: Te, listboxKeyboardNavigationListeners: fe, listboxListeners: Ne, focus: ve, BentoDropdownOptionsContainer: nt, BentoTypography: Pe, ErrorMessage: Ye, FieldLabel: Je, vBentoClickOutsideDirective: He, vBentoKeyboardNavigationDirective: qe };
680
+ }
681
+ });
682
+ var It = function() {
683
+ var a;
684
+ var t = this, o = t._self._c, e = t._self._setupProxy;
685
+ return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.computedSize, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, "aria-controls": e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, required: t.required, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(s) {
686
+ e.searchTerm = s;
687
+ }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
688
+ return { key: l, fn: function(i) {
689
+ return [t._t(l, null, null, i)];
690
+ } };
691
+ })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "debounce-time": (a = t.search) == null ? void 0 : a.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(s, l) {
692
+ return { key: l, fn: function(i) {
693
+ return [t._t(l, null, null, i)];
694
+ } };
695
+ })], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? o(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? o(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
696
+ return [t._v(" " + t._s(t.description) + " ")];
697
+ })], 2) : t._e()], 1);
698
+ }, Tt = [], Nt = /* @__PURE__ */ k(
699
+ Bt,
700
+ It,
701
+ Tt,
702
+ !1,
703
+ null,
704
+ "bc2a6da5"
705
+ );
706
+ const Gt = Nt.exports;
707
+ export {
708
+ Gt as B,
709
+ Qt as I,
710
+ Et as a,
711
+ Xt as b,
712
+ St as u
713
+ };
714
+ //# sourceMappingURL=dropdown.BijF56Y7.js.map