@adyen/bento-vue2 1.59.0 → 1.60.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 (576) hide show
  1. package/package.json +12 -8
  2. package/dist/@types/components.d.ts +0 -201
  3. package/dist/@types/index.d.ts +0 -17671
  4. package/dist/accordion.js +0 -6
  5. package/dist/accordion.js.map +0 -1
  6. package/dist/action-bar.js +0 -5
  7. package/dist/action-bar.js.map +0 -1
  8. package/dist/alert.js +0 -8
  9. package/dist/alert.js.map +0 -1
  10. package/dist/assets/accordion-item.css +0 -1
  11. package/dist/assets/action-bar.css +0 -1
  12. package/dist/assets/alert.css +0 -1
  13. package/dist/assets/avatar.css +0 -1
  14. package/dist/assets/base-button.css +0 -1
  15. package/dist/assets/base-modal.css +0 -1
  16. package/dist/assets/button-actions-with-menu.css +0 -1
  17. package/dist/assets/button-actions.css +0 -1
  18. package/dist/assets/button.css +0 -1
  19. package/dist/assets/calendar.css +0 -1
  20. package/dist/assets/card.css +0 -1
  21. package/dist/assets/checkbox-group.css +0 -1
  22. package/dist/assets/checkbox-input.css +0 -1
  23. package/dist/assets/checkbox.css +0 -1
  24. package/dist/assets/chip.css +0 -1
  25. package/dist/assets/code-snippet.css +0 -1
  26. package/dist/assets/controls-group.css +0 -1
  27. package/dist/assets/copy.css +0 -1
  28. package/dist/assets/country.css +0 -1
  29. package/dist/assets/currency.css +0 -1
  30. package/dist/assets/dashboard-section.css +0 -1
  31. package/dist/assets/dashed-underline.css +0 -1
  32. package/dist/assets/data-grid-template.css +0 -1
  33. package/dist/assets/data-grid.css +0 -1
  34. package/dist/assets/date-picker.css +0 -1
  35. package/dist/assets/date-range-picker.css +0 -1
  36. package/dist/assets/date.css +0 -1
  37. package/dist/assets/dialog-page.css +0 -1
  38. package/dist/assets/divider.css +0 -1
  39. package/dist/assets/dropdown-default-textbox.css +0 -1
  40. package/dist/assets/dropdown-tag.css +0 -1
  41. package/dist/assets/dropdown.css +0 -1
  42. package/dist/assets/empty-state.css +0 -1
  43. package/dist/assets/error-message.css +0 -1
  44. package/dist/assets/file-uploader.css +0 -1
  45. package/dist/assets/filter-bar.css +0 -1
  46. package/dist/assets/fixed-scroller.css +0 -1
  47. package/dist/assets/focus-trap.css +0 -1
  48. package/dist/assets/footer-actions.css +0 -1
  49. package/dist/assets/form-layout-title.css +0 -1
  50. package/dist/assets/grid-layout.css +0 -1
  51. package/dist/assets/header-with-views.css +0 -1
  52. package/dist/assets/header.css +0 -1
  53. package/dist/assets/info-icon-with-popover.css +0 -1
  54. package/dist/assets/info-icon.css +0 -1
  55. package/dist/assets/input-field-password.css +0 -1
  56. package/dist/assets/input-field-phone-number.css +0 -1
  57. package/dist/assets/input-field.css +0 -1
  58. package/dist/assets/inspector.css +0 -1
  59. package/dist/assets/layout-row.css +0 -1
  60. package/dist/assets/link.css +0 -1
  61. package/dist/assets/listbox-option-tag.css +0 -1
  62. package/dist/assets/loading-indicator.css +0 -1
  63. package/dist/assets/main.css +0 -1
  64. package/dist/assets/menu.css +0 -1
  65. package/dist/assets/modal-fullscreen.css +0 -1
  66. package/dist/assets/pagination.css +0 -1
  67. package/dist/assets/payment-method.css +0 -1
  68. package/dist/assets/popover.css +0 -1
  69. package/dist/assets/popper-container.css +0 -1
  70. package/dist/assets/promo-banner.css +0 -1
  71. package/dist/assets/radio-group.css +0 -1
  72. package/dist/assets/radio-input.css +0 -1
  73. package/dist/assets/rich-text-editor.css +0 -1
  74. package/dist/assets/search-bar.css +0 -1
  75. package/dist/assets/secondary-nav.css +0 -1
  76. package/dist/assets/segmented-control.css +0 -1
  77. package/dist/assets/selection-card-group.css +0 -1
  78. package/dist/assets/sidepanel.css +0 -1
  79. package/dist/assets/status.css +0 -1
  80. package/dist/assets/step.css +0 -1
  81. package/dist/assets/structured-list-item.css +0 -1
  82. package/dist/assets/summary-grid.css +0 -1
  83. package/dist/assets/tabs.css +0 -1
  84. package/dist/assets/tag.css +0 -1
  85. package/dist/assets/teleport.css +0 -1
  86. package/dist/assets/textarea.css +0 -1
  87. package/dist/assets/timeline-item.css +0 -1
  88. package/dist/assets/toast.css +0 -1
  89. package/dist/assets/toggle-button.css +0 -1
  90. package/dist/assets/toggle.css +0 -1
  91. package/dist/assets/tooltip.css +0 -1
  92. package/dist/assets/tutorial.css +0 -1
  93. package/dist/assets/typography.css +0 -1
  94. package/dist/assets/use-cached-selected-values.css +0 -1
  95. package/dist/avatar.js +0 -5
  96. package/dist/avatar.js.map +0 -1
  97. package/dist/button.js +0 -16
  98. package/dist/button.js.map +0 -1
  99. package/dist/card.js +0 -7
  100. package/dist/card.js.map +0 -1
  101. package/dist/checkbox.js +0 -11
  102. package/dist/checkbox.js.map +0 -1
  103. package/dist/chip.js +0 -5
  104. package/dist/chip.js.map +0 -1
  105. package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
  106. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
  107. package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
  108. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
  109. package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
  110. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
  111. package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
  112. package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
  113. package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
  114. package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
  115. package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
  116. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
  117. package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
  118. package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
  119. package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
  120. package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
  121. package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
  122. package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
  123. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
  124. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
  125. package/dist/chunks/accordion-item.C4tyRMCt.js +0 -116
  126. package/dist/chunks/accordion-item.C4tyRMCt.js.map +0 -1
  127. package/dist/chunks/action-bar.CHVePTM6.js +0 -161
  128. package/dist/chunks/action-bar.CHVePTM6.js.map +0 -1
  129. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
  130. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
  131. package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
  132. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
  133. package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
  134. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
  135. package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
  136. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
  137. package/dist/chunks/alert.Du9NfW-V.js +0 -103
  138. package/dist/chunks/alert.Du9NfW-V.js.map +0 -1
  139. package/dist/chunks/aria-label.CaUURpnB.js +0 -13
  140. package/dist/chunks/aria-label.CaUURpnB.js.map +0 -1
  141. package/dist/chunks/avatar.BgwjpLQO.js +0 -71
  142. package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
  143. package/dist/chunks/base-button.-gx_u8Bd.js +0 -86
  144. package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
  145. package/dist/chunks/base-modal.DxywEyGO.js +0 -373
  146. package/dist/chunks/base-modal.DxywEyGO.js.map +0 -1
  147. package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
  148. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
  149. package/dist/chunks/bin.DuebwJYu.js +0 -24
  150. package/dist/chunks/bin.DuebwJYu.js.map +0 -1
  151. package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js +0 -166
  152. package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js.map +0 -1
  153. package/dist/chunks/button-actions.V0te_IrY.js +0 -194
  154. package/dist/chunks/button-actions.V0te_IrY.js.map +0 -1
  155. package/dist/chunks/button.BuD-IsW5.js +0 -99
  156. package/dist/chunks/button.BuD-IsW5.js.map +0 -1
  157. package/dist/chunks/calendar.C4vFYvsY.js +0 -1166
  158. package/dist/chunks/calendar.C4vFYvsY.js.map +0 -1
  159. package/dist/chunks/card.CC4BEw-7.js +0 -123
  160. package/dist/chunks/card.CC4BEw-7.js.map +0 -1
  161. package/dist/chunks/checkbox-group.BfPZ_Eec.js +0 -152
  162. package/dist/chunks/checkbox-group.BfPZ_Eec.js.map +0 -1
  163. package/dist/chunks/checkbox-input.Dr1GS2BZ.js +0 -137
  164. package/dist/chunks/checkbox-input.Dr1GS2BZ.js.map +0 -1
  165. package/dist/chunks/checkbox.CTeT6JEP.js +0 -176
  166. package/dist/chunks/checkbox.CTeT6JEP.js.map +0 -1
  167. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +0 -24
  168. package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +0 -1
  169. package/dist/chunks/checkmark-small.C8T8ISN6.js +0 -24
  170. package/dist/chunks/checkmark-small.C8T8ISN6.js.map +0 -1
  171. package/dist/chunks/chevron-left.DOMTgGel.js +0 -43
  172. package/dist/chunks/chevron-left.DOMTgGel.js.map +0 -1
  173. package/dist/chunks/chevron-up.CSVyoaTy.js +0 -43
  174. package/dist/chunks/chevron-up.CSVyoaTy.js.map +0 -1
  175. package/dist/chunks/chip.bZEhHfIk.js +0 -63
  176. package/dist/chunks/chip.bZEhHfIk.js.map +0 -1
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +0 -23
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +0 -1
  179. package/dist/chunks/code-snippet.0x8O1dkV.js +0 -259
  180. package/dist/chunks/code-snippet.0x8O1dkV.js.map +0 -1
  181. package/dist/chunks/codemirror.Zv80n3Z2.js +0 -14628
  182. package/dist/chunks/codemirror.Zv80n3Z2.js.map +0 -1
  183. package/dist/chunks/controls-group.CvpddKxq.js +0 -81
  184. package/dist/chunks/controls-group.CvpddKxq.js.map +0 -1
  185. package/dist/chunks/copy.TvI9Au3G.js +0 -129
  186. package/dist/chunks/copy.TvI9Au3G.js.map +0 -1
  187. package/dist/chunks/country.Df7erZov.js +0 -94
  188. package/dist/chunks/country.Df7erZov.js.map +0 -1
  189. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  190. package/dist/chunks/country.types.C0Q_hhgJ.js.map +0 -1
  191. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js +0 -24
  192. package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +0 -1
  193. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +0 -24
  194. package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +0 -1
  195. package/dist/chunks/cross-small.CZqsjZDz.js +0 -24
  196. package/dist/chunks/cross-small.CZqsjZDz.js.map +0 -1
  197. package/dist/chunks/cross.CJ5EEL2c.js +0 -24
  198. package/dist/chunks/cross.CJ5EEL2c.js.map +0 -1
  199. package/dist/chunks/currency.B1F9YOIx.js +0 -106
  200. package/dist/chunks/currency.B1F9YOIx.js.map +0 -1
  201. package/dist/chunks/dashboard-section.C5zXN82c.js +0 -102
  202. package/dist/chunks/dashboard-section.C5zXN82c.js.map +0 -1
  203. package/dist/chunks/dashed-underline.pd87ohFZ.js +0 -65
  204. package/dist/chunks/dashed-underline.pd87ohFZ.js.map +0 -1
  205. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
  206. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +0 -1
  207. package/dist/chunks/data-grid-template.l-aJapU0.js +0 -84
  208. package/dist/chunks/data-grid-template.l-aJapU0.js.map +0 -1
  209. package/dist/chunks/data-grid.vFEU_kt8.js +0 -2782
  210. package/dist/chunks/data-grid.vFEU_kt8.js.map +0 -1
  211. package/dist/chunks/date-input.BqBdAO1E.js +0 -17
  212. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  213. package/dist/chunks/date-picker.DjbZAEcj.js +0 -235
  214. package/dist/chunks/date-picker.DjbZAEcj.js.map +0 -1
  215. package/dist/chunks/date-range-picker.C1ijTRdf.js +0 -966
  216. package/dist/chunks/date-range-picker.C1ijTRdf.js.map +0 -1
  217. package/dist/chunks/date.dYFFEunA.js +0 -987
  218. package/dist/chunks/date.dYFFEunA.js.map +0 -1
  219. package/dist/chunks/debounce.DUTu11PS.js +0 -10
  220. package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
  221. package/dist/chunks/dialog-page.uGh0kYDL.js +0 -131
  222. package/dist/chunks/dialog-page.uGh0kYDL.js.map +0 -1
  223. package/dist/chunks/directive.Cbdox5VL.js +0 -23
  224. package/dist/chunks/directive.Cbdox5VL.js.map +0 -1
  225. package/dist/chunks/divider.Cc4JFWG_.js +0 -35
  226. package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
  227. package/dist/chunks/dot.CnkXzRn3.js +0 -24
  228. package/dist/chunks/dot.CnkXzRn3.js.map +0 -1
  229. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js +0 -348
  230. package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js.map +0 -1
  231. package/dist/chunks/dropdown-tag.CXY_WiRj.js +0 -215
  232. package/dist/chunks/dropdown-tag.CXY_WiRj.js.map +0 -1
  233. package/dist/chunks/dropdown.DYN8Okpo.js +0 -818
  234. package/dist/chunks/dropdown.DYN8Okpo.js.map +0 -1
  235. package/dist/chunks/empty-state.IvvHHQ35.js +0 -151
  236. package/dist/chunks/empty-state.IvvHHQ35.js.map +0 -1
  237. package/dist/chunks/error-message.BM8Y6-u5.js +0 -121
  238. package/dist/chunks/error-message.BM8Y6-u5.js.map +0 -1
  239. package/dist/chunks/es6.BA9GH7QZ.js +0 -11
  240. package/dist/chunks/es6.BA9GH7QZ.js.map +0 -1
  241. package/dist/chunks/events.CMzGybJJ.js +0 -47
  242. package/dist/chunks/events.CMzGybJJ.js.map +0 -1
  243. package/dist/chunks/expand.C263WARj.js +0 -24
  244. package/dist/chunks/expand.C263WARj.js.map +0 -1
  245. package/dist/chunks/file-uploader.pWrwnN-c.js +0 -1913
  246. package/dist/chunks/file-uploader.pWrwnN-c.js.map +0 -1
  247. package/dist/chunks/filter-bar.BYHzhAr8.js +0 -2288
  248. package/dist/chunks/filter-bar.BYHzhAr8.js.map +0 -1
  249. package/dist/chunks/fixed-scroller.D0a6q8_i.js +0 -106
  250. package/dist/chunks/fixed-scroller.D0a6q8_i.js.map +0 -1
  251. package/dist/chunks/focus-trap.DKT1Fe6X.js +0 -499
  252. package/dist/chunks/focus-trap.DKT1Fe6X.js.map +0 -1
  253. package/dist/chunks/footer-actions.Cn-793_Z.js +0 -96
  254. package/dist/chunks/footer-actions.Cn-793_Z.js.map +0 -1
  255. package/dist/chunks/form-layout-title.DBCY18f8.js +0 -190
  256. package/dist/chunks/form-layout-title.DBCY18f8.js.map +0 -1
  257. package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
  258. package/dist/chunks/form-layout.types.D3EKzbE7.js.map +0 -1
  259. package/dist/chunks/generate-uid.NJ8tVoha.js +0 -32
  260. package/dist/chunks/generate-uid.NJ8tVoha.js.map +0 -1
  261. package/dist/chunks/get-date-locale.BN8xEjY0.js +0 -1735
  262. package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
  263. package/dist/chunks/get-slot-text.BQS5Olxm.js +0 -12
  264. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +0 -1
  265. package/dist/chunks/grid-layout.HvTAa4to.js +0 -76
  266. package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
  267. package/dist/chunks/header-with-views.Cqd864mp.js +0 -1536
  268. package/dist/chunks/header-with-views.Cqd864mp.js.map +0 -1
  269. package/dist/chunks/header.Ds1iyTzn.js +0 -187
  270. package/dist/chunks/header.Ds1iyTzn.js.map +0 -1
  271. package/dist/chunks/i18n.BQkEbtPM.js +0 -31
  272. package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
  273. package/dist/chunks/image.C2D2hKat.js +0 -56
  274. package/dist/chunks/image.C2D2hKat.js.map +0 -1
  275. package/dist/chunks/index.BDuTpjD8.js +0 -40
  276. package/dist/chunks/index.BDuTpjD8.js.map +0 -1
  277. package/dist/chunks/index.BxBB1rsx.js +0 -15
  278. package/dist/chunks/index.BxBB1rsx.js.map +0 -1
  279. package/dist/chunks/index.Cl4_42j5.js +0 -8
  280. package/dist/chunks/index.Cl4_42j5.js.map +0 -1
  281. package/dist/chunks/index.DD7TppDb.js +0 -10
  282. package/dist/chunks/index.DD7TppDb.js.map +0 -1
  283. package/dist/chunks/index.oJzeCMPe.js +0 -529
  284. package/dist/chunks/index.oJzeCMPe.js.map +0 -1
  285. package/dist/chunks/info-icon-with-popover.yLETQrb9.js +0 -71
  286. package/dist/chunks/info-icon-with-popover.yLETQrb9.js.map +0 -1
  287. package/dist/chunks/info-icon.G9FAlO4C.js +0 -41
  288. package/dist/chunks/info-icon.G9FAlO4C.js.map +0 -1
  289. package/dist/chunks/info.4d_mJHvT.js +0 -24
  290. package/dist/chunks/info.4d_mJHvT.js.map +0 -1
  291. package/dist/chunks/input-field-password.C1OF1nmo.js +0 -251
  292. package/dist/chunks/input-field-password.C1OF1nmo.js.map +0 -1
  293. package/dist/chunks/input-field-phone-number.Dfa1fxvS.js +0 -3097
  294. package/dist/chunks/input-field-phone-number.Dfa1fxvS.js.map +0 -1
  295. package/dist/chunks/input-field.C9-4Xo4h.js +0 -152
  296. package/dist/chunks/input-field.C9-4Xo4h.js.map +0 -1
  297. package/dist/chunks/inspector.types.NVDCPiVL.js +0 -104
  298. package/dist/chunks/inspector.types.NVDCPiVL.js.map +0 -1
  299. package/dist/chunks/internal-error.BLZodVBE.js +0 -5
  300. package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
  301. package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
  302. package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
  303. package/dist/chunks/keyboard-navigation.pB8weElW.js +0 -66
  304. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +0 -1
  305. package/dist/chunks/layout-row.c0ugsIw6.js +0 -87
  306. package/dist/chunks/layout-row.c0ugsIw6.js.map +0 -1
  307. package/dist/chunks/link.D0P79Toh.js +0 -95
  308. package/dist/chunks/link.D0P79Toh.js.map +0 -1
  309. package/dist/chunks/listbox-option-tag.BcLYsizL.js +0 -44
  310. package/dist/chunks/listbox-option-tag.BcLYsizL.js.map +0 -1
  311. package/dist/chunks/loading-indicator.z8COalOc.js +0 -48
  312. package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
  313. package/dist/chunks/menu.DDXB-L8u.js +0 -601
  314. package/dist/chunks/menu.DDXB-L8u.js.map +0 -1
  315. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
  316. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
  317. package/dist/chunks/modal-fullscreen.os2jZ30i.js +0 -202
  318. package/dist/chunks/modal-fullscreen.os2jZ30i.js.map +0 -1
  319. package/dist/chunks/modal.D5OesJnF.js +0 -445
  320. package/dist/chunks/modal.D5OesJnF.js.map +0 -1
  321. package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
  322. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
  323. package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
  324. package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
  325. package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
  326. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
  327. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
  328. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
  329. package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
  330. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
  331. package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
  332. package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
  333. package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
  334. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
  335. package/dist/chunks/pagination.BoWzbJVF.js +0 -338
  336. package/dist/chunks/pagination.BoWzbJVF.js.map +0 -1
  337. package/dist/chunks/payment-method.Cx4nPDtE.js +0 -76
  338. package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
  339. package/dist/chunks/payment-method.types.BqtH7RM2.js +0 -5
  340. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +0 -1
  341. package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
  342. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
  343. package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
  344. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
  345. package/dist/chunks/popover.K53VtitI.js +0 -295
  346. package/dist/chunks/popover.K53VtitI.js.map +0 -1
  347. package/dist/chunks/popper-container.DUNt7nKd.js +0 -1393
  348. package/dist/chunks/popper-container.DUNt7nKd.js.map +0 -1
  349. package/dist/chunks/promo-banner.BpLrkuMc.js +0 -70
  350. package/dist/chunks/promo-banner.BpLrkuMc.js.map +0 -1
  351. package/dist/chunks/radio-group.BE8gvwsL.js +0 -229
  352. package/dist/chunks/radio-group.BE8gvwsL.js.map +0 -1
  353. package/dist/chunks/radio-input.uJAhxKRs.js +0 -90
  354. package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
  355. package/dist/chunks/referrals.BvtT-kQS.js +0 -5
  356. package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
  357. package/dist/chunks/referrals.aX8WZigH.js +0 -5
  358. package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
  359. package/dist/chunks/refresh.Bc9FzGjJ.js +0 -24
  360. package/dist/chunks/refresh.Bc9FzGjJ.js.map +0 -1
  361. package/dist/chunks/resize.Bqks3WUm.js +0 -15
  362. package/dist/chunks/resize.Bqks3WUm.js.map +0 -1
  363. package/dist/chunks/rich-text-editor.CP_xdt6R.js +0 -6203
  364. package/dist/chunks/rich-text-editor.CP_xdt6R.js.map +0 -1
  365. package/dist/chunks/search-bar.I2f0f4fU.js +0 -97
  366. package/dist/chunks/search-bar.I2f0f4fU.js.map +0 -1
  367. package/dist/chunks/search.DLtglc02.js +0 -24
  368. package/dist/chunks/search.DLtglc02.js.map +0 -1
  369. package/dist/chunks/secondary-nav.D1-GnlU-.js +0 -112
  370. package/dist/chunks/secondary-nav.D1-GnlU-.js.map +0 -1
  371. package/dist/chunks/segmented-control.A2eatwIG.js +0 -112
  372. package/dist/chunks/segmented-control.A2eatwIG.js.map +0 -1
  373. package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
  374. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
  375. package/dist/chunks/selection-card-group.CFNCbcRU.js +0 -299
  376. package/dist/chunks/selection-card-group.CFNCbcRU.js.map +0 -1
  377. package/dist/chunks/show.e4LEpZKG.js +0 -43
  378. package/dist/chunks/show.e4LEpZKG.js.map +0 -1
  379. package/dist/chunks/sidepanel.CGGRp0oL.js +0 -210
  380. package/dist/chunks/sidepanel.CGGRp0oL.js.map +0 -1
  381. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
  382. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
  383. package/dist/chunks/status.types.p_TCvoo0.js +0 -36
  384. package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
  385. package/dist/chunks/step.CuOpi-Ye.js +0 -217
  386. package/dist/chunks/step.CuOpi-Ye.js.map +0 -1
  387. package/dist/chunks/structured-list-item.C8K371Ss.js +0 -87
  388. package/dist/chunks/structured-list-item.C8K371Ss.js.map +0 -1
  389. package/dist/chunks/success.DhioLvPD.js +0 -5
  390. package/dist/chunks/success.DhioLvPD.js.map +0 -1
  391. package/dist/chunks/success.nNwxJRBS.js +0 -5
  392. package/dist/chunks/success.nNwxJRBS.js.map +0 -1
  393. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
  394. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +0 -1
  395. package/dist/chunks/summary-grid.types.DdghLR6f.js +0 -301
  396. package/dist/chunks/summary-grid.types.DdghLR6f.js.map +0 -1
  397. package/dist/chunks/tabs.DX_Gq12z.js +0 -205
  398. package/dist/chunks/tabs.DX_Gq12z.js.map +0 -1
  399. package/dist/chunks/tabs.keys.Bc2pSKRw.js +0 -7
  400. package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +0 -1
  401. package/dist/chunks/tag.B2vxWwV1.js +0 -44
  402. package/dist/chunks/tag.B2vxWwV1.js.map +0 -1
  403. package/dist/chunks/teleport.BV6zrDjA.js +0 -128
  404. package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
  405. package/dist/chunks/textarea.DPa9t8Jw.js +0 -200
  406. package/dist/chunks/textarea.DPa9t8Jw.js.map +0 -1
  407. package/dist/chunks/timeline-item.D2534IA9.js +0 -386
  408. package/dist/chunks/timeline-item.D2534IA9.js.map +0 -1
  409. package/dist/chunks/toast.B2u2W_TQ.js +0 -171
  410. package/dist/chunks/toast.B2u2W_TQ.js.map +0 -1
  411. package/dist/chunks/toggle-button.ChDbeBZ8.js +0 -83
  412. package/dist/chunks/toggle-button.ChDbeBZ8.js.map +0 -1
  413. package/dist/chunks/toggle.Q52IIKfi.js +0 -121
  414. package/dist/chunks/toggle.Q52IIKfi.js.map +0 -1
  415. package/dist/chunks/tooltip.B8nCejpo.js +0 -189
  416. package/dist/chunks/tooltip.B8nCejpo.js.map +0 -1
  417. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  418. package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
  419. package/dist/chunks/tutorial.X3GhtKlY.js +0 -348
  420. package/dist/chunks/tutorial.X3GhtKlY.js.map +0 -1
  421. package/dist/chunks/typography.J1v_SPG3.js +0 -87
  422. package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
  423. package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
  424. package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
  425. package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
  426. package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
  427. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js +0 -52
  428. package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js.map +0 -1
  429. package/dist/chunks/use-cached-selected-values.C6VRhL5_.js +0 -1177
  430. package/dist/chunks/use-cached-selected-values.C6VRhL5_.js.map +0 -1
  431. package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
  432. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
  433. package/dist/chunks/use-country-items.HFnjuDsG.js +0 -30
  434. package/dist/chunks/use-country-items.HFnjuDsG.js.map +0 -1
  435. package/dist/chunks/use-country-phon-code.DVgE19zT.js +0 -5610
  436. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +0 -1
  437. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +0 -13
  438. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +0 -1
  439. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
  440. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +0 -1
  441. package/dist/chunks/use-form-layout-loading.D3lALhtC.js +0 -12
  442. package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +0 -1
  443. package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
  444. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +0 -1
  445. package/dist/chunks/warning-filled.Cd0kVWwa.js +0 -24
  446. package/dist/chunks/warning-filled.Cd0kVWwa.js.map +0 -1
  447. package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
  448. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
  449. package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
  450. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
  451. package/dist/click-outside.js +0 -5
  452. package/dist/click-outside.js.map +0 -1
  453. package/dist/code-snippet.js +0 -8
  454. package/dist/code-snippet.js.map +0 -1
  455. package/dist/country.js +0 -12
  456. package/dist/country.js.map +0 -1
  457. package/dist/currency.js +0 -6
  458. package/dist/currency.js.map +0 -1
  459. package/dist/dashboard-template.js +0 -6
  460. package/dist/dashboard-template.js.map +0 -1
  461. package/dist/dashed-underline.js +0 -5
  462. package/dist/dashed-underline.js.map +0 -1
  463. package/dist/data-grid-template.js +0 -5
  464. package/dist/data-grid-template.js.map +0 -1
  465. package/dist/data-grid.js +0 -11
  466. package/dist/data-grid.js.map +0 -1
  467. package/dist/date-picker.js +0 -8
  468. package/dist/date-picker.js.map +0 -1
  469. package/dist/date-range-picker.js +0 -8
  470. package/dist/date-range-picker.js.map +0 -1
  471. package/dist/date.js +0 -6
  472. package/dist/date.js.map +0 -1
  473. package/dist/divider.js +0 -5
  474. package/dist/divider.js.map +0 -1
  475. package/dist/dropdown.js +0 -16
  476. package/dist/dropdown.js.map +0 -1
  477. package/dist/empty-state.js +0 -8
  478. package/dist/empty-state.js.map +0 -1
  479. package/dist/file-uploader.js +0 -5
  480. package/dist/file-uploader.js.map +0 -1
  481. package/dist/filter-bar.js +0 -8
  482. package/dist/filter-bar.js.map +0 -1
  483. package/dist/focus-trap.js +0 -5
  484. package/dist/focus-trap.js.map +0 -1
  485. package/dist/fonts/fonts.css +0 -2
  486. package/dist/form-layout.js +0 -8
  487. package/dist/form-layout.js.map +0 -1
  488. package/dist/header-with-views.js +0 -5
  489. package/dist/header-with-views.js.map +0 -1
  490. package/dist/header.js +0 -5
  491. package/dist/header.js.map +0 -1
  492. package/dist/image.js +0 -7
  493. package/dist/image.js.map +0 -1
  494. package/dist/index.js +0 -371
  495. package/dist/index.js.map +0 -1
  496. package/dist/info-icon.js +0 -5
  497. package/dist/info-icon.js.map +0 -1
  498. package/dist/input-field-password.js +0 -10
  499. package/dist/input-field-password.js.map +0 -1
  500. package/dist/input-field-phone-number.js +0 -5
  501. package/dist/input-field-phone-number.js.map +0 -1
  502. package/dist/input-field.js +0 -10
  503. package/dist/input-field.js.map +0 -1
  504. package/dist/inspector.js +0 -6
  505. package/dist/inspector.js.map +0 -1
  506. package/dist/internal.js +0 -43
  507. package/dist/internal.js.map +0 -1
  508. package/dist/layout.js +0 -6
  509. package/dist/layout.js.map +0 -1
  510. package/dist/link.js +0 -6
  511. package/dist/link.js.map +0 -1
  512. package/dist/loading-indicator.js +0 -6
  513. package/dist/loading-indicator.js.map +0 -1
  514. package/dist/menu.js +0 -6
  515. package/dist/menu.js.map +0 -1
  516. package/dist/modal-fullscreen.js +0 -6
  517. package/dist/modal-fullscreen.js.map +0 -1
  518. package/dist/modal.js +0 -14
  519. package/dist/modal.js.map +0 -1
  520. package/dist/pagination.js +0 -5
  521. package/dist/pagination.js.map +0 -1
  522. package/dist/payment-method.js +0 -7
  523. package/dist/payment-method.js.map +0 -1
  524. package/dist/popover.js +0 -6
  525. package/dist/popover.js.map +0 -1
  526. package/dist/popper-container.js +0 -9
  527. package/dist/popper-container.js.map +0 -1
  528. package/dist/promo-banner.js +0 -7
  529. package/dist/promo-banner.js.map +0 -1
  530. package/dist/radio-group.js +0 -9
  531. package/dist/radio-group.js.map +0 -1
  532. package/dist/rich-text-editor.js +0 -5
  533. package/dist/rich-text-editor.js.map +0 -1
  534. package/dist/search-bar.js +0 -9
  535. package/dist/search-bar.js.map +0 -1
  536. package/dist/secondary-nav.js +0 -5
  537. package/dist/secondary-nav.js.map +0 -1
  538. package/dist/segmented-control.js +0 -7
  539. package/dist/segmented-control.js.map +0 -1
  540. package/dist/selection-card.js +0 -7
  541. package/dist/selection-card.js.map +0 -1
  542. package/dist/sidepanel.js +0 -7
  543. package/dist/sidepanel.js.map +0 -1
  544. package/dist/status.js +0 -6
  545. package/dist/status.js.map +0 -1
  546. package/dist/stepper.js +0 -8
  547. package/dist/stepper.js.map +0 -1
  548. package/dist/structured-list.js +0 -6
  549. package/dist/structured-list.js.map +0 -1
  550. package/dist/styles/bento-dark.css +0 -2055
  551. package/dist/styles/bento-light.css +0 -2054
  552. package/dist/styles/bento.css +0 -2054
  553. package/dist/styles/legacy.css +0 -2209
  554. package/dist/styles/styleguide.css +0 -2109
  555. package/dist/styles/utility.css +0 -987
  556. package/dist/summary-grid.js +0 -12
  557. package/dist/summary-grid.js.map +0 -1
  558. package/dist/tabs.js +0 -6
  559. package/dist/tabs.js.map +0 -1
  560. package/dist/tag.js +0 -6
  561. package/dist/tag.js.map +0 -1
  562. package/dist/textarea.js +0 -5
  563. package/dist/textarea.js.map +0 -1
  564. package/dist/timeline.js +0 -10
  565. package/dist/timeline.js.map +0 -1
  566. package/dist/toast.js +0 -5
  567. package/dist/toast.js.map +0 -1
  568. package/dist/toggle.js +0 -7
  569. package/dist/toggle.js.map +0 -1
  570. package/dist/tutorial.js +0 -5
  571. package/dist/tutorial.js.map +0 -1
  572. package/dist/typography.js +0 -8
  573. package/dist/typography.js.map +0 -1
  574. package/dist/use-form-v4.js +0 -8300
  575. package/dist/use-form-v4.js.map +0 -1
  576. package/dist/web-types.json +0 -15172
@@ -1,818 +0,0 @@
1
- import { ref as C, watch as ue, computed as p, defineComponent as A, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
2
- import { d as ie, B as Ee } from "./typography.J1v_SPG3.js";
3
- import { g as P } from "./generate-uid.NJ8tVoha.js";
4
- import { u as De } from "./aria-label.CaUURpnB.js";
5
- import { u as V } from "./i18n.BQkEbtPM.js";
6
- import { u as Be } from "./use-form-layout-loading.D3lALhtC.js";
7
- import { a as U, b as M, c as Ie, B as k, D as Te } from "./dropdown-default-textbox.AUsF-RIc.js";
8
- import { u as Ne } from "./use-has-slot.C9lQZ6nz.js";
9
- import { a as u, b as H, B as J, c as Ae, u as Re } from "./use-cached-selected-values.C6VRhL5_.js";
10
- import { B as D, a as $e } from "./keyboard-navigation.pB8weElW.js";
11
- import { B as Me } from "./directive.Cbdox5VL.js";
12
- import { F as Pe, E as ke } from "./error-message.BM8Y6-u5.js";
13
- import { P as re } from "./popper-container.DUNt7nKd.js";
14
- import { B as Fe } from "./popover.K53VtitI.js";
15
- import { n as F } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
16
- /* empty css */
17
- import { s as q } from "./events.CMzGybJJ.js";
18
- import "../assets/dropdown.css";
19
- const Ke = {
20
- "en-US": {
21
- apply: "Apply",
22
- cancel: "Cancel",
23
- noOptionsMatchThisSearch: "No options match this search"
24
- },
25
- "ja-JP": {
26
- apply: "適用",
27
- cancel: "キャンセル"
28
- },
29
- "pt-BR": {
30
- apply: "Aplicar",
31
- cancel: "Cancelar"
32
- }
33
- }, ze = (a, t, o, e) => {
34
- const n = C(a.value), { t: l } = V();
35
- ue(a, () => {
36
- n.value = a.value;
37
- });
38
- const s = p(
39
- () => JSON.stringify(n.value) === JSON.stringify(a.value)
40
- ), i = () => {
41
- e(u.SELECT, n.value), e(u.CLOSE_DROPDOWN);
42
- }, c = () => {
43
- n.value = a.value, e(u.CLOSE_DROPDOWN);
44
- }, m = () => {
45
- o.value && t.value && (n.value = a.value);
46
- }, r = p(() => [
47
- {
48
- title: l("apply"),
49
- event: i,
50
- disabled: s.value
51
- },
52
- {
53
- title: l("cancel"),
54
- event: c
55
- }
56
- ]), d = (y) => {
57
- n.value = y, t.value || e(u.SELECT, y);
58
- }, g = (y) => {
59
- d(y), e(u.TAB);
60
- }, h = (y) => {
61
- d(y), e(u.ENTER);
62
- }, v = (y) => {
63
- d(y), e(u.SPACE);
64
- }, O = () => {
65
- c(), e(u.ESCAPE);
66
- }, S = () => {
67
- e(u.SHOW_MORE);
68
- }, w = {
69
- [u.SELECT]: d,
70
- [u.SHOW_MORE]: S,
71
- [u.TAB]: g,
72
- [u.SPACE]: v,
73
- [u.ENTER]: h
74
- };
75
- return {
76
- // Values
77
- actions: r,
78
- internalSelectedValue: n,
79
- // Methods
80
- listeners: w,
81
- onEscapeKey: O,
82
- onOutsideDropdownClick: m
83
- };
84
- }, je = A({
85
- i18n: { messages: Ke },
86
- name: "bento-dropdown-options-container"
87
- }), We = /* @__PURE__ */ A({
88
- ...je,
89
- props: {
90
- /**
91
- * Defines a string value that labels an interactive element.
92
- */
93
- ariaLabel: { type: String, default: null },
94
- /**
95
- * Indicates that dropdown items are loading
96
- */
97
- componentLoading: { type: Boolean, default: !1 },
98
- /**
99
- * Empty state props used with the inner empty state component which is displayed when no search results are found.
100
- */
101
- emptyState: {
102
- type: Object,
103
- default: void 0
104
- },
105
- /**
106
- * Disables dropdown functionality
107
- */
108
- disabled: { type: Boolean, default: !1 },
109
- /**
110
- * Indicates whether there are more items to load
111
- */
112
- hasMoreItems: { type: Boolean, default: !1 },
113
- /**
114
- * Identifies the listbox whose contents are controlled by the the combobox on which the aria-controls attribute is set.
115
- */
116
- id: { type: String, required: !0 },
117
- /**
118
- * Function that allows the options to be disabled
119
- *
120
- * @type {BentoDropdownIsOptionDisabled}
121
- * @param {BentoDropdownOptionItem} option - Dropdown option object
122
- * @param {string} option.label - Option's label text
123
- * @param {string|number} option.value - Option's value
124
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
125
- */
126
- isOptionDisabled: {
127
- type: Function,
128
- default: void 0
129
- },
130
- /**
131
- * The option elements to populate the dropdown with.
132
- * It must be an array of {@see BentoDropdownOptionItem }
133
- * * @property {string} value.label - Text to be displayed in the option
134
- * * @property {string,number} value.value - Value of the option
135
- */
136
- items: {
137
- type: Array,
138
- required: !0
139
- },
140
- /**
141
- * The type of `Lazy Load`.
142
- * Type "automatic" will enable infinite scrolling
143
- * Type "button" will enable lazy loading with "Show more" button
144
- */
145
- lazyLoadType: {
146
- type: String,
147
- default: J.AUTOMATIC,
148
- validator: (a) => Object.values(J).includes(a)
149
- },
150
- /**
151
- * Indicates if new options are lazy loading.
152
- */
153
- loading: { type: Boolean, default: !1 },
154
- /**
155
- * If enabled, the user will be able to select multiple items.
156
- */
157
- multiple: { type: Boolean, default: !1 },
158
- /**
159
- * Indicates if the dropdown is open so that
160
- * the container can be displayed.
161
- */
162
- open: { type: Boolean, required: !0 },
163
- /**
164
- * The `input` value.
165
- * Providing an empty string or empty array will select no options.
166
- * Set to an empty string `''` if you don't want any of the available options to be selected for single select
167
- */
168
- selectedValue: {
169
- type: Array,
170
- default: null
171
- },
172
- /**
173
- * Flag that indicates that an external search it's being made
174
- * to filter out the items inside the the multi-select listbox
175
- *
176
- * If enabled, hides the "Select all" checkbox in "multiple" mode.
177
- */
178
- searching: H.props.searching,
179
- /**
180
- * If enabled, dropdown will display non-selectable, static categories
181
- */
182
- staticCategories: { type: Boolean, default: !1 },
183
- /**
184
- * Reference to the DOM element or Vue component for positioning
185
- * the Dropdown container.
186
- */
187
- targetElement: { type: re.props.targetElement.type, required: !0 },
188
- /**
189
- * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
190
- * The itemHeight function is used to calculate the height of rendered item given it's index.
191
- */
192
- virtualScroll: {
193
- type: [Boolean, Object],
194
- default: !1
195
- }
196
- },
197
- emits: [],
198
- setup(a, { expose: t, emit: o }) {
199
- const e = a, n = pe(), { selectedValue: l, multiple: s } = fe(e), i = C(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
200
- "b-dropdown-options-container--single": !(e != null && e.multiple)
201
- })), g = p(() => ({
202
- "b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
203
- })), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: S, onOutsideDropdownClick: w } = ze(l, s, m, o), y = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
204
- var T;
205
- const B = {
206
- "min-width": `${(T = e == null ? void 0 : e.targetElement) == null ? void 0 : T.clientWidth}px`,
207
- "max-width": "min(500px, 95%)"
208
- };
209
- return e != null && e.multiple ? {
210
- actionsLayout: "space-between",
211
- actions: h.value,
212
- divider: !0,
213
- fallbackPosition: ["top-start"],
214
- id: P(`dropdown-options-${e.id}`),
215
- open: e.open,
216
- position: "bottom-start",
217
- style: {
218
- width: "auto",
219
- ...B
220
- },
221
- targetElement: e.targetElement
222
- } : {
223
- fallbackPosition: ["top-start"],
224
- offset: [0, 8],
225
- position: "bottom-start",
226
- style: {
227
- display: m.value ? "block" : "none",
228
- ...B
229
- },
230
- targetElement: e.targetElement
231
- };
232
- });
233
- return t({
234
- onOutsideDropdownClick: w
235
- }), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: S, onOutsideDropdownClick: w, popperContainerOrPopoverComponent: y, popperContainerOrPopoverProps: I, BentoListbox: H };
236
- }
237
- });
238
- var Ue = function() {
239
- var t = this, o = t._self._c, e = t._self._setupProxy;
240
- return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(n) {
241
- return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
242
- } } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(n, l) {
243
- return { key: l, fn: function(s) {
244
- return [t._t(l, null, null, s)];
245
- } };
246
- })], null, !0) }, e.listeners))], 1)]);
247
- }, qe = [], He = /* @__PURE__ */ F(
248
- We,
249
- Ue,
250
- qe,
251
- !1,
252
- null,
253
- "35feb278"
254
- );
255
- const Je = He.exports;
256
- let de = 0;
257
- const Ve = {
258
- beforeCreate() {
259
- this.uuid = de.toString(), de += 1;
260
- }
261
- };
262
- var Ye = function() {
263
- var t = this, o = t._self._c;
264
- 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: "#00112C", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
265
- }, Ze = [], Qe = /* @__PURE__ */ F(
266
- Ve,
267
- Ye,
268
- Ze,
269
- !1,
270
- null,
271
- null
272
- );
273
- const Xe = Qe.exports;
274
- let ce = 0;
275
- const Ge = {
276
- beforeCreate() {
277
- this.uuid = ce.toString(), ce += 1;
278
- }
279
- };
280
- var et = function() {
281
- var t = this, o = t._self._c;
282
- 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: "#00112C", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
283
- }, tt = [], ot = /* @__PURE__ */ F(
284
- Ge,
285
- et,
286
- tt,
287
- !1,
288
- null,
289
- null
290
- );
291
- const nt = ot.exports, at = A({
292
- name: "dropdown-small-textbox",
293
- inheritAttrs: !1
294
- }), st = /* @__PURE__ */ A({
295
- ...at,
296
- props: {
297
- /**
298
- * The number of additional items that have been selected in the dropdown.
299
- */
300
- additionalItemsSelected: { type: [Number, String], default: 0 },
301
- /**
302
- * Sets the aria-controls attribute on the textbox. This should correspond to the popover's id that the textbox triggers.
303
- */
304
- ariaControls: { type: String, required: !0 },
305
- /**
306
- * 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.
307
- */
308
- ariaExpanded: {
309
- type: [String, Boolean],
310
- required: !0
311
- },
312
- /**
313
- * If no label element is used then the aria-label is be set should be set.
314
- */
315
- ariaLabel: { type: String, default: null },
316
- /**
317
- * Corresponds to the label's id that labels the textbox element.
318
- */
319
- ariaLabelledby: { type: String, default: null },
320
- /**
321
- * Custom debounce time. Default: 300
322
- */
323
- debounceTime: { type: Number, default: 300 },
324
- /**
325
- * Disables any textbox functionality
326
- */
327
- disabled: { type: Boolean, default: !1 },
328
- /**
329
- * Selected option's label
330
- */
331
- displayValue: { type: String, default: null },
332
- /**
333
- * Sets the possibility to type into the textbox
334
- */
335
- dynamicFiltering: { type: Boolean, default: !1 },
336
- /**
337
- * Marks the textbox as invalid, rendering an error state
338
- */
339
- isInvalid: { type: Boolean, default: !1 },
340
- /**
341
- * Indicates if the dropdown is open so that
342
- * the respective event can be emitted
343
- */
344
- open: { type: Boolean, default: !1 },
345
- /**
346
- * Sets the dropdown to readonly state
347
- */
348
- readonly: { type: Boolean, default: !1 },
349
- /**
350
- * The input value
351
- */
352
- value: { type: String, default: "" }
353
- },
354
- emits: ["clear", "close", "input", "keydown", "open"],
355
- setup(a, { expose: t, emit: o }) {
356
- const e = a, n = C(null), l = p(() => ({
357
- [`b-dropdown-small-textbox--${U.DISABLED}`]: e.disabled,
358
- [`b-dropdown-small-textbox--${U.READONLY}`]: e.readonly,
359
- [`b-dropdown-small-textbox--${U.OPENED}`]: e.open
360
- })), s = p(() => e.open && !e.disabled && !e.readonly), i = (v) => {
361
- o("input", v);
362
- }, c = (v) => {
363
- o("keydown", v);
364
- }, m = (v) => {
365
- q(v), o("open");
366
- }, r = (v) => {
367
- q(v), o("close");
368
- }, d = (v) => {
369
- q(v), o("clear");
370
- }, g = {
371
- [M.INPUT]: i,
372
- [M.OPEN]: m,
373
- [M.CLOSE]: r,
374
- [M.CLEAR]: d,
375
- [M.KEYDOWN]: c
376
- }, h = () => {
377
- n.value.focus();
378
- };
379
- return t({
380
- focus: h
381
- }), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: k, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: nt };
382
- }
383
- });
384
- var lt = function() {
385
- var t = this, o = t._self._c, e = t._self._setupProxy;
386
- 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() {
387
- 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)];
388
- }, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
389
- }, it = [], rt = /* @__PURE__ */ F(
390
- st,
391
- lt,
392
- it,
393
- !1,
394
- null,
395
- "d0e53db8"
396
- );
397
- const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
398
- if (e.items) {
399
- const n = e.items.filter(
400
- (s) => a.value.find((i) => i.value === s.value)
401
- );
402
- n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
403
- }
404
- return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
405
- }, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
406
- const n = p(
407
- () => e.value && a.value.find((s) => {
408
- var i;
409
- return (i = s.items) == null ? void 0 : i.length;
410
- })
411
- );
412
- return p(() => o.value.length ? n.value ? ct(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
413
- }, ve = (a) => {
414
- var t;
415
- (t = a.value.$children) == null || t[0].$refs.textbox.focus();
416
- }, pt = ({
417
- inputContainerRef: a,
418
- optionsContainerRef: t,
419
- selectedValueIndex: o,
420
- isDropdownOpen: e,
421
- isDynamicFltering: n,
422
- items: l,
423
- isMultiple: s
424
- }, i, c, m) => {
425
- const r = async (f) => {
426
- var b, E;
427
- n.value && await L(), (E = (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
428
- }, d = async (f) => {
429
- var E, K;
430
- n.value && await L();
431
- const b = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
432
- "button"
433
- );
434
- b.length ? (K = b[f]) == null || K.focus() : r(f);
435
- }, g = (f) => {
436
- var b;
437
- return (b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : b.setListboxFocusedIndex(
438
- f
439
- );
440
- }, h = ({ detail: f }) => {
441
- f.preventDefault(), e.value || c(), L(() => {
442
- s ? d(0) : (g(o.value), r(o.value));
443
- });
444
- }, v = ({ detail: f }) => {
445
- f.preventDefault(), e.value || c(), L(() => {
446
- s ? d(0) : (g(o.value), r(o.value));
447
- });
448
- }, O = () => {
449
- e.value || (c(), L(() => {
450
- var f;
451
- if (s) {
452
- const b = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
453
- (f = b == null ? void 0 : b[b.length - 1].$el.querySelectorAll('[role="option"]')[l.length - 1]) == null || f.focus();
454
- } else
455
- g(l.length - 1), r(l.length - 1);
456
- }));
457
- }, S = () => {
458
- e.value && (m(), ve(a));
459
- }, w = () => {
460
- e.value && m();
461
- }, y = () => {
462
- e.value || c(), L(() => {
463
- s ? d(0) : r(0);
464
- });
465
- }, I = ({ detail: f }) => {
466
- f.preventDefault(), i(), e.value && L(() => {
467
- s ? d(0) : (g(o.value), r(o.value));
468
- });
469
- }, B = ({ detail: f }) => {
470
- f.preventDefault(), i(), e.value && L(() => {
471
- s ? d(0) : (g(o.value), r(o.value));
472
- });
473
- };
474
- return p(() => ({
475
- ...n.value ? {} : { [D.SPACE]: I },
476
- [D.ENTER]: B,
477
- [D.ARROW_DOWN]: h,
478
- [D.ARROW_UP]: v,
479
- [D.END]: O,
480
- [D.ESCAPE]: S,
481
- [D.HOME]: y,
482
- [D.TAB]: w
483
- }));
484
- }, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
485
- const e = () => {
486
- t.value && o(), L(() => {
487
- ve(a);
488
- });
489
- };
490
- return {
491
- [u.ENTER]: e,
492
- [u.ESCAPE]: e,
493
- [u.TAB]: e,
494
- [u.SPACE]: e
495
- };
496
- };
497
- function vt(a, t, o, e) {
498
- const n = C(a), l = C(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
499
- return ue(n, () => {
500
- o !== void 0 && o(n.value);
501
- }), p(() => {
502
- if (!n.value || o !== void 0)
503
- return l.value;
504
- const c = n.value.toLocaleLowerCase();
505
- return s(c, l.value);
506
- });
507
- }
508
- const mt = {
509
- "en-US": {
510
- all: "All",
511
- ariaLabelFallback: "Dropdown",
512
- clearSearch: "Clear filter"
513
- },
514
- "ja-JP": {
515
- all: "すべて",
516
- clearFilter: "フィルターをクリア"
517
- },
518
- "pt-BR": {
519
- all: "Todos",
520
- clearFilter: "Limpar filtro"
521
- }
522
- }, yt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), Kt = Symbol("input field parent component injection key"), bt = A({
523
- i18n: { messages: mt },
524
- name: "b-dropdown",
525
- components: {
526
- DropdownInputDefault: Te,
527
- DropdownInputSmall: dt
528
- }
529
- }), _t = /* @__PURE__ */ A({
530
- ...bt,
531
- props: {
532
- /**
533
- * @deprecated from version 2.0.0. Use the aria-label attribute instead.
534
- */
535
- /**
536
- * Defines a string value that labels an interactive element.
537
- */
538
- ariaLabel: { type: String, default: null },
539
- /**
540
- * Renders the dropdown with a condensed style.
541
- */
542
- condensed: { type: Boolean, default: !1 },
543
- /**
544
- * Empty state props used with the inner empty state component which is displayed when no search results are found.
545
- */
546
- emptyState: {
547
- type: Object,
548
- default: void 0
549
- },
550
- /**
551
- * Disables dropdown functionality.
552
- */
553
- disabled: { type: Boolean, default: !1 },
554
- /**
555
- * Sets the possibility to type into the textbox.
556
- */
557
- dynamicFiltering: {
558
- type: Boolean,
559
- default: !1
560
- },
561
- /**
562
- * Highlights the dropdown in an erroneous state.
563
- *
564
- * @deprecated Use "errorMessage" prop instead
565
- */
566
- error: { type: Boolean, default: !1 },
567
- /**
568
- * Highlights the dropdown in an erroneous state with an error message.
569
- */
570
- errorMessage: { type: String, default: null },
571
- /**
572
- * Descriptive supporting text visbile underneath the dropdown.
573
- */
574
- description: { type: String, default: null },
575
- /**
576
- * Indicates whether there are more items to load
577
- */
578
- hasMoreItems: { type: Boolean, default: !1 },
579
- /**
580
- * Function that dertermines which options are disabled from interaction.
581
- *
582
- * @type {BentoListboxIsOptionDisabled}
583
- * @param {BentoListboxOptionItem} option - Dropdown option object
584
- * @param {string} option.label - Option's label text
585
- * @param {string|number} option.value - Option's value
586
- * @param {unknown} option.data - Option's extra data to be passed to the default slot
587
- */
588
- isOptionDisabled: {
589
- type: Function,
590
- default: void 0
591
- },
592
- /**
593
- * The option elements to populate the dropdown with.
594
- * It must be an array of {@see BentoListboxOptionItem }
595
- * * @property {string} value.label - Text to be displayed in the option
596
- * * @property {string,number} value.value - Value of the option
597
- */
598
- items: {
599
- type: Array,
600
- default: () => []
601
- },
602
- /**
603
- * Text that is displayed as a label above the element.
604
- */
605
- label: { type: String, default: null },
606
- /**
607
- * Indicates if new options are lazy loading.
608
- */
609
- loading: { type: Boolean, default: !1 },
610
- /**
611
- * Indicates that dropdown items are loading
612
- */
613
- componentLoading: { type: Boolean, default: !1 },
614
- /**
615
- * The type of `Lazy Load`.
616
- * Type "automatic" will enable infinite scrolling
617
- * Type "button" will enable lazy loading with "Show more" button
618
- */
619
- lazyLoadType: {
620
- type: String,
621
- default: H.props.lazyLoadType.default,
622
- validator: (a) => Object.values(J).includes(a)
623
- },
624
- /*
625
- * If enabled, the user will be able to select multiple items.
626
- */
627
- multiple: { type: Boolean, default: !1 },
628
- /**
629
- * Highlights the dropdown is optional.
630
- */
631
- optional: { type: Boolean, default: !1 },
632
- /**
633
- * Text that appears in the form control when it has no value set
634
- */
635
- placeholder: { type: String, default: null },
636
- /**
637
- * Sets the dropdown to readonly state
638
- */
639
- readonly: { type: Boolean, default: !1 },
640
- /**
641
- * Highlights the dropdown is required.
642
- */
643
- required: { type: Boolean, default: !1 },
644
- /**
645
- * Dropdown search options and events.
646
- * @see BentoDropdownSearchOptions
647
- */
648
- search: {
649
- type: Object,
650
- default: void 0
651
- },
652
- /**
653
- * Toggles whether to use the slot content select items shown in the textbox in multiple mode.
654
- */
655
- showSlotContentInMultiple: { type: Boolean, default: !1 },
656
- /**
657
- * @deprecated Do not use. Only 'default' size should be used.
658
- */
659
- size: {
660
- type: String,
661
- default: null,
662
- validator: (a) => Object.values(k).includes(a)
663
- },
664
- /**
665
- * If enabled, dropdown will display non-selectable, static categories
666
- */
667
- staticCategories: { type: Boolean, default: !1 },
668
- /**
669
- * Adds a info icon next to the label to display the passed tooltip message.
670
- */
671
- tooltipText: { type: String, default: null },
672
- /**
673
- * The `input` value.
674
- * Providing an empty string will select no options.
675
- * Set to an empty string `''` if you don't want any of the available options to be selected.
676
- */
677
- value: {
678
- type: [String, Number, Array],
679
- default: null
680
- },
681
- /**
682
- * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
683
- * The itemHeight function is used to calculate the height of rendered item given it's index.
684
- */
685
- virtualScroll: {
686
- type: [Boolean, Object],
687
- default: !1
688
- }
689
- },
690
- emits: ["input", "show-more"],
691
- setup(a, { expose: t, emit: o }) {
692
- var le;
693
- const e = a, n = Le(), l = pe(), s = Ne(l), { t: i } = V(), c = C(null), m = C(null), r = C(null), d = C(!1), g = P("bento-dropdown-options-container"), h = P("dropdown-label"), v = P("dropdown-description"), O = P("dropdown-error"), { isReadOnly: S } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: w, cachedListboxSelectedValues: y, setCachedValues: I } = Ae(
694
- x(e, "items"),
695
- x(e, "value"),
696
- x(e, "multiple")
697
- ), B = C(n["aria-label"]), { ariaLabel: T, label: f } = fe(e), b = De({
698
- // TODO: take ariaLabel ref away when aria-label prop is removed
699
- ariaLabel: T.value || B,
700
- label: f,
701
- defaultFallback: i("ariaLabelFallback")
702
- }), E = e.size === k.SMALL || Oe(yt, !1), K = p(() => E ? k.SMALL : k.DEFAULT), me = p(() => ({
703
- "b-dropdown--condensed": e.condensed
704
- })), ye = p(() => ({
705
- "b-dropdown__description--error": !!e.errorMessage
706
- })), N = C(""), R = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(N, R, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), j = p(() => e.dynamicFiltering && !!N.value), be = ut({
707
- items: R,
708
- placeholder: x(e, "placeholder"),
709
- isMultiSelect: x(e, "multiple"),
710
- selectedValues: w
711
- }), _e = p(() => {
712
- if (e != null && e.multiple && Array.isArray(e.value))
713
- return e.items.filter(
714
- ({ value: _ }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(_)
715
- );
716
- if (!e.multiple && e.staticCategories) {
717
- const _ = e.items.find(
718
- (W) => W.items.some((xe) => xe.value === e.value)
719
- );
720
- return _ ? _.items.find((W) => W.value === e.value) : null;
721
- }
722
- return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
723
- }), Q = p(() => {
724
- const _ = Z.value.findIndex(({ value: $ }) => e.value === $);
725
- return _ > -1 ? _ : 0;
726
- }), { isMultiLevelSelect: X, flattenedItemsList: G } = Re(R), ge = p(() => {
727
- if (e.multiple) {
728
- const _ = Array.isArray(e.value) ? e.value.length : 0, $ = X.value ? G.value.length : R.value.length;
729
- return _ === 0 ? null : !e.hasMoreItems && $ > 0 && $ === _ ? i("all") : _;
730
- }
731
- return null;
732
- }), he = p(
733
- () => `${e.description ? v : ""} ${e.errorMessage ? O : ""}`.trim() || null
734
- ), ee = () => {
735
- S.value || (d.value = !0);
736
- }, z = () => {
737
- d.value = !1;
738
- }, te = () => {
739
- S.value || (d.value = !d.value, j.value && (N.value = ""));
740
- }, Ce = () => {
741
- j.value && (N.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
742
- }, oe = (_) => {
743
- e.multiple || (N.value = "", d.value = !1), I(_), o("input", y.value);
744
- }, ne = () => {
745
- o(u.SHOW_MORE);
746
- }, Se = pt(
747
- {
748
- inputContainerRef: c,
749
- optionsContainerRef: r,
750
- selectedValueIndex: Q,
751
- isDropdownOpen: d,
752
- isDynamicFltering: x(e, "dynamicFiltering"),
753
- items: e.items,
754
- isMultiple: e.multiple
755
- },
756
- te,
757
- ee,
758
- z
759
- ), ae = ft(
760
- {
761
- inputContainerRef: c,
762
- isDropdownOpen: d
763
- },
764
- z
765
- ), we = {
766
- [u.CLOSE_DROPDOWN]: z,
767
- [u.SELECT]: oe,
768
- [u.SHOW_MORE]: ne,
769
- ...ae
770
- };
771
- e.error && ie(
772
- 'BentoDropdown "error" property',
773
- `Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
774
- Having the field as "undefined" will hide/remove the error.
775
- <bento-dropdown errorMessage="Error message text" />`,
776
- "2.0.0"
777
- ), e.size && ie('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0");
778
- const se = () => {
779
- c.value.focus();
780
- };
781
- return t({
782
- focus: se
783
- }), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: S, cachedSelectedListboxOptions: w, cachedListboxSelectedValues: y, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: b, isInputComponent: E, computedSize: K, conditionalClasses: me, descriptionConditionalClasses: ye, searchTerm: N, items: R, staticCategories: Y, filteredItems: Z, isSearching: j, displayValue: be, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: z, toggleDropdown: te, clickOutsideDropdown: Ce, onOptionSelected: oe, emitShowMoreEvent: ne, textboxKeyboardNavigationListeners: Se, listboxKeyboardNavigationListeners: ae, listboxListeners: we, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: ke, FieldLabel: Pe, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: $e };
784
- }
785
- });
786
- var gt = function() {
787
- var n;
788
- var t = this, o = t._self._c, e = t._self._setupProxy;
789
- 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, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(l) {
790
- e.searchTerm = l;
791
- }, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
792
- return { key: s, fn: function(i) {
793
- return [t._t(s, null, null, i)];
794
- } };
795
- })], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "component-loading": t.componentLoading, "empty-state": t.emptyState, "debounce-time": (n = t.search) == null ? void 0 : n.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
796
- return { key: s, fn: function(i) {
797
- return [t._t(s, null, null, i)];
798
- } };
799
- })], 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() {
800
- return [t._v(" " + t._s(t.description) + " ")];
801
- })], 2) : t._e()], 1);
802
- }, ht = [], Ct = /* @__PURE__ */ F(
803
- _t,
804
- gt,
805
- ht,
806
- !1,
807
- null,
808
- "01f9156a"
809
- );
810
- const zt = Ct.exports;
811
- export {
812
- zt as B,
813
- Ft as I,
814
- yt as a,
815
- Kt as b,
816
- vt as u
817
- };
818
- //# sourceMappingURL=dropdown.DYN8Okpo.js.map