@adyen/bento-vue3 1.9.0 → 1.11.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 (292) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +23 -2455
  3. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
  4. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
  5. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
  6. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
  7. package/dist/@types/packages/vue2/src/components/code-snippet/{composables/useLanguage.d.ts → utils/get-lang-loader.d.ts} +1 -3
  8. package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +3 -3
  9. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryCapital/useCountryCapital.d.ts → use-country-capital/use-country-capital.d.ts} +1 -1
  10. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryName/useCountryName.d.ts → use-country-name/use-country-name.d.ts} +1 -1
  11. package/dist/@types/packages/vue2/src/components/country/composables/{useCountryPhoneCode/useCountryPhoneCode.d.ts → use-country-phone-code/use-country-phon-code.d.ts} +1 -1
  12. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
  14. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
  15. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
  16. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +21 -4
  17. package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +10 -8
  19. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.d.ts → use-calculate-column-width/use-calculate-column-width.d.ts} +2 -2
  21. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +121 -0
  22. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +154 -0
  23. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.d.ts → use-keyboard-navigator/use-keyboard-navigator.d.ts} +1 -1
  24. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useResizer.d.ts → use-resizer.d.ts} +0 -1
  25. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useScroller/useScroller.d.ts → use-scroller/use-scroller.d.ts} +1 -1
  26. package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSelector.d.ts → use-selector.d.ts} +1 -1
  27. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
  28. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -5
  29. package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
  30. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  31. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -3
  32. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -1
  34. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +16 -6
  35. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
  36. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
  37. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +2355 -6
  38. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
  39. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
  40. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
  41. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
  42. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
  43. package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
  44. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
  45. package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
  46. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.d.ts +2 -1
  47. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +51 -0
  48. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +10 -0
  49. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
  50. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
  51. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +12 -0
  52. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
  53. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
  54. package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
  55. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -2
  56. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
  57. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
  58. package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
  59. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  60. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
  61. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +316 -3
  62. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
  63. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
  64. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +1 -0
  65. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +18 -0
  66. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +1 -0
  67. package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +21 -0
  68. package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +2 -0
  69. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +3 -0
  70. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +14 -0
  71. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +22 -0
  72. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
  73. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
  74. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +15 -2
  75. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
  76. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
  77. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  78. package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
  79. package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +1 -0
  80. package/dist/accordion.js +2 -2
  81. package/dist/action-bar.js +5 -5
  82. package/dist/alert.js +23 -23
  83. package/dist/alert.js.map +1 -1
  84. package/dist/assets/base-modal.css +1 -1
  85. package/dist/assets/button.css +1 -1
  86. package/dist/assets/checkbox.css +1 -1
  87. package/dist/assets/controls-group.css +1 -1
  88. package/dist/assets/copy.css +1 -1
  89. package/dist/assets/dropdown-default-textbox.css +1 -1
  90. package/dist/assets/dropdown.css +1 -1
  91. package/dist/assets/fixed-scroller.css +1 -1
  92. package/dist/assets/index.css +1 -1
  93. package/dist/assets/index10.css +1 -1
  94. package/dist/assets/index11.css +1 -1
  95. package/dist/assets/index12.css +1 -1
  96. package/dist/assets/index13.css +1 -1
  97. package/dist/assets/index14.css +1 -1
  98. package/dist/assets/index16.css +1 -1
  99. package/dist/assets/index17.css +1 -1
  100. package/dist/assets/index18.css +1 -1
  101. package/dist/assets/index19.css +1 -1
  102. package/dist/assets/index2.css +1 -1
  103. package/dist/assets/index20.css +1 -1
  104. package/dist/assets/index21.css +1 -1
  105. package/dist/assets/index22.css +1 -1
  106. package/dist/assets/index23.css +1 -1
  107. package/dist/assets/index24.css +1 -1
  108. package/dist/assets/index25.css +1 -1
  109. package/dist/assets/index26.css +1 -1
  110. package/dist/assets/index27.css +1 -1
  111. package/dist/assets/index28.css +1 -1
  112. package/dist/assets/index29.css +1 -1
  113. package/dist/assets/index3.css +1 -1
  114. package/dist/assets/index30.css +1 -1
  115. package/dist/assets/index31.css +1 -1
  116. package/dist/assets/index32.css +1 -1
  117. package/dist/assets/index33.css +1 -1
  118. package/dist/assets/index34.css +1 -1
  119. package/dist/assets/index35.css +1 -1
  120. package/dist/assets/index36.css +1 -1
  121. package/dist/assets/index37.css +1 -1
  122. package/dist/assets/index38.css +1 -1
  123. package/dist/assets/index39.css +1 -1
  124. package/dist/assets/index4.css +1 -1
  125. package/dist/assets/index40.css +1 -1
  126. package/dist/assets/index41.css +1 -1
  127. package/dist/assets/index42.css +1 -1
  128. package/dist/assets/index43.css +1 -1
  129. package/dist/assets/index44.css +1 -1
  130. package/dist/assets/index45.css +1 -1
  131. package/dist/assets/index46.css +1 -1
  132. package/dist/assets/index47.css +1 -0
  133. package/dist/assets/index5.css +1 -1
  134. package/dist/assets/index6.css +1 -1
  135. package/dist/assets/index7.css +1 -1
  136. package/dist/assets/index9.css +1 -1
  137. package/dist/assets/listbox.css +1 -1
  138. package/dist/assets/loading-button.css +1 -1
  139. package/dist/avatar-image.js +1 -1
  140. package/dist/badge.js +1 -1
  141. package/dist/button.js +57 -46
  142. package/dist/button.js.map +1 -1
  143. package/dist/card.js +2 -2
  144. package/dist/checkbox.js +73 -54
  145. package/dist/checkbox.js.map +1 -1
  146. package/dist/chunks/{base-button.aa085dfa.js → base-button.39fae75f.js} +2 -2
  147. package/dist/chunks/{base-button.aa085dfa.js.map → base-button.39fae75f.js.map} +1 -1
  148. package/dist/chunks/{base-modal.a629cb32.js → base-modal.161ce8f0.js} +86 -86
  149. package/dist/chunks/base-modal.161ce8f0.js.map +1 -0
  150. package/dist/chunks/{button-actions-with-menu.f6dfb14d.js → button-actions-with-menu.2ff339f6.js} +3 -3
  151. package/dist/chunks/{button-actions-with-menu.f6dfb14d.js.map → button-actions-with-menu.2ff339f6.js.map} +1 -1
  152. package/dist/chunks/button.623a46d2.js +118 -0
  153. package/dist/chunks/button.623a46d2.js.map +1 -0
  154. package/dist/chunks/{calendar.fa7712e8.js → calendar.b1d05580.js} +4 -4
  155. package/dist/chunks/{calendar.fa7712e8.js.map → calendar.b1d05580.js.map} +1 -1
  156. package/dist/chunks/checkbox.d65694f2.js +278 -0
  157. package/dist/chunks/checkbox.d65694f2.js.map +1 -0
  158. package/dist/chunks/{controls-group.d6543674.js → controls-group.30352ce4.js} +21 -17
  159. package/dist/chunks/controls-group.30352ce4.js.map +1 -0
  160. package/dist/chunks/copy.2a9cddc1.js +145 -0
  161. package/dist/chunks/copy.2a9cddc1.js.map +1 -0
  162. package/dist/chunks/country.types.002caff2.js +5871 -0
  163. package/dist/chunks/country.types.002caff2.js.map +1 -0
  164. package/dist/chunks/{dropdown-default-textbox.4108b289.js → dropdown-default-textbox.a731b5fb.js} +25 -25
  165. package/dist/chunks/dropdown-default-textbox.a731b5fb.js.map +1 -0
  166. package/dist/chunks/{dropdown.63de9aac.js → dropdown.96431c25.js} +399 -359
  167. package/dist/chunks/dropdown.96431c25.js.map +1 -0
  168. package/dist/chunks/{field-label.3c19a29a.js → field-label.b681234d.js} +5 -5
  169. package/dist/chunks/{field-label.3c19a29a.js.map → field-label.b681234d.js.map} +1 -1
  170. package/dist/chunks/{fixed-scroller.bced60dd.js → fixed-scroller.ebfb2f80.js} +2 -2
  171. package/dist/chunks/{fixed-scroller.bced60dd.js.map → fixed-scroller.ebfb2f80.js.map} +1 -1
  172. package/dist/chunks/{footer-actions.cefaf1e2.js → footer-actions.03015ba1.js} +3 -3
  173. package/dist/chunks/{footer-actions.cefaf1e2.js.map → footer-actions.03015ba1.js.map} +1 -1
  174. package/dist/chunks/{index.98174339.js → index.03605cb0.js} +5 -5
  175. package/dist/chunks/{index.98174339.js.map → index.03605cb0.js.map} +1 -1
  176. package/dist/chunks/index.09f7f1b5.js +124 -0
  177. package/dist/chunks/index.09f7f1b5.js.map +1 -0
  178. package/dist/chunks/index.0a8ddfaa.js +168 -0
  179. package/dist/chunks/index.0a8ddfaa.js.map +1 -0
  180. package/dist/chunks/index.113137fb.js +21 -0
  181. package/dist/chunks/index.113137fb.js.map +1 -0
  182. package/dist/chunks/{index.89dfe209.js → index.1dac266a.js} +3 -3
  183. package/dist/chunks/{index.89dfe209.js.map → index.1dac266a.js.map} +1 -1
  184. package/dist/chunks/{index.0ee895e0.js → index.45d00aad.js} +2 -2
  185. package/dist/chunks/{index.0ee895e0.js.map → index.45d00aad.js.map} +1 -1
  186. package/dist/chunks/{index.4d2a13e1.js → index.80078bf9.js} +2 -2
  187. package/dist/chunks/{index.4d2a13e1.js.map → index.80078bf9.js.map} +1 -1
  188. package/dist/chunks/{index.85832db5.js → index.a4a6e52f.js} +3 -3
  189. package/dist/chunks/{index.85832db5.js.map → index.a4a6e52f.js.map} +1 -1
  190. package/dist/chunks/index.cf561336.js +622 -0
  191. package/dist/chunks/index.cf561336.js.map +1 -0
  192. package/dist/chunks/{index.c6fecf1c.js → index.ef1c4d59.js} +33 -33
  193. package/dist/chunks/{index.c6fecf1c.js.map → index.ef1c4d59.js.map} +1 -1
  194. package/dist/chunks/{listbox-option-tag.b1eb32bd.js → listbox-option-tag.ff6d6f32.js} +3 -3
  195. package/dist/chunks/{listbox-option-tag.b1eb32bd.js.map → listbox-option-tag.ff6d6f32.js.map} +1 -1
  196. package/dist/chunks/listbox.dd9883c5.js +1419 -0
  197. package/dist/chunks/listbox.dd9883c5.js.map +1 -0
  198. package/dist/chunks/{loading-button.4b88e24d.js → loading-button.30c5fede.js} +19 -19
  199. package/dist/chunks/{loading-button.4b88e24d.js.map → loading-button.30c5fede.js.map} +1 -1
  200. package/dist/chunks/{tooltip.27c32d36.js → tooltip.785993dd.js} +15 -15
  201. package/dist/chunks/tooltip.785993dd.js.map +1 -0
  202. package/dist/chunks/use-has-slot.4d98bf29.js.map +1 -1
  203. package/dist/chunks/useCountryItems.d2a1f224.js +29 -0
  204. package/dist/chunks/{useCountryItems.e83ef8f0.js.map → useCountryItems.d2a1f224.js.map} +1 -1
  205. package/dist/code-snippet.js +136 -138
  206. package/dist/code-snippet.js.map +1 -1
  207. package/dist/country.js +51 -5912
  208. package/dist/country.js.map +1 -1
  209. package/dist/currency.js +1 -1
  210. package/dist/data-grid.js +1325 -1021
  211. package/dist/data-grid.js.map +1 -1
  212. package/dist/date-picker.js +20 -20
  213. package/dist/date-picker.js.map +1 -1
  214. package/dist/date-range-picker.js +2 -2
  215. package/dist/date.js +1 -1
  216. package/dist/divider.js +2 -10
  217. package/dist/divider.js.map +1 -1
  218. package/dist/dropdown.js +51 -50
  219. package/dist/dropdown.js.map +1 -1
  220. package/dist/empty-state.js +23 -23
  221. package/dist/empty-state.js.map +1 -1
  222. package/dist/filter-bar.js +759 -747
  223. package/dist/filter-bar.js.map +1 -1
  224. package/dist/focus-trap.js +1 -1
  225. package/dist/form-layout.js +2 -2
  226. package/dist/form-layout.js.map +1 -1
  227. package/dist/header.js +3 -3
  228. package/dist/index.js +194 -185
  229. package/dist/index.js.map +1 -1
  230. package/dist/info-icon.js +3 -3
  231. package/dist/input-field.js +4 -4
  232. package/dist/internal.js +17 -15
  233. package/dist/link.js +2 -2
  234. package/dist/loading-indicator.js +1 -1
  235. package/dist/menu.js +1 -1
  236. package/dist/modal.js +67 -64
  237. package/dist/modal.js.map +1 -1
  238. package/dist/pagination.js +15 -13
  239. package/dist/pagination.js.map +1 -1
  240. package/dist/payment-method.js +2 -2
  241. package/dist/popover.js +1 -1
  242. package/dist/popper-container.js +1 -1
  243. package/dist/radio-group.js +69 -67
  244. package/dist/radio-group.js.map +1 -1
  245. package/dist/search-bar.js +8 -8
  246. package/dist/secondary-nav.js +110 -0
  247. package/dist/secondary-nav.js.map +1 -0
  248. package/dist/segmented-control.js +3 -3
  249. package/dist/sidepanel.js +5 -5
  250. package/dist/status.js +2 -2
  251. package/dist/stepper.js +3 -3
  252. package/dist/structured-list.js +1 -1
  253. package/dist/summary-grid.js +3 -3
  254. package/dist/tabs.js +3 -3
  255. package/dist/tag.js +3 -3
  256. package/dist/textarea.js +173 -161
  257. package/dist/textarea.js.map +1 -1
  258. package/dist/timeline.js +244 -237
  259. package/dist/timeline.js.map +1 -1
  260. package/dist/toast.js +3 -3
  261. package/dist/toggle.js +2 -2
  262. package/dist/tutorial.js +5 -5
  263. package/dist/typography.js +1 -1
  264. package/dist/web-types.json +1 -1
  265. package/package.json +2 -2
  266. package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +0 -67
  267. package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +0 -73
  268. package/dist/chunks/base-modal.a629cb32.js.map +0 -1
  269. package/dist/chunks/button.82ed953e.js +0 -148
  270. package/dist/chunks/button.82ed953e.js.map +0 -1
  271. package/dist/chunks/checkbox.731dc0ab.js +0 -264
  272. package/dist/chunks/checkbox.731dc0ab.js.map +0 -1
  273. package/dist/chunks/controls-group.d6543674.js.map +0 -1
  274. package/dist/chunks/copy.330d594e.js +0 -126
  275. package/dist/chunks/copy.330d594e.js.map +0 -1
  276. package/dist/chunks/dropdown-default-textbox.4108b289.js.map +0 -1
  277. package/dist/chunks/dropdown.63de9aac.js.map +0 -1
  278. package/dist/chunks/index.73ed22a7.js +0 -594
  279. package/dist/chunks/index.73ed22a7.js.map +0 -1
  280. package/dist/chunks/index.75f3672e.js +0 -124
  281. package/dist/chunks/index.75f3672e.js.map +0 -1
  282. package/dist/chunks/index.edcaf766.js +0 -150
  283. package/dist/chunks/index.edcaf766.js.map +0 -1
  284. package/dist/chunks/listbox.ac43f8ab.js +0 -1309
  285. package/dist/chunks/listbox.ac43f8ab.js.map +0 -1
  286. package/dist/chunks/tooltip.27c32d36.js.map +0 -1
  287. package/dist/chunks/useCountryItems.e83ef8f0.js +0 -29
  288. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts → use-calculate-column-width/use-calculate-column-width.types.d.ts} +0 -0
  289. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateStickyElementHeight/useCalculateStickyElementHeight.d.ts → use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts} +0 -0
  290. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.types.d.ts → use-keyboard-navigator/use-keyboard-navigator.types.d.ts} +0 -0
  291. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useLazyLoading/useLazyLoading.d.ts → use-lazy-loading/use-lazy-loading.d.ts} +0 -0
  292. /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSorter.d.ts → use-sorter.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { B as a } from "./chunks/index.4d2a13e1.js";
1
+ import { B as a } from "./chunks/index.80078bf9.js";
2
2
  export {
3
3
  a as BentoFocusTrap
4
4
  };
@@ -3,8 +3,8 @@ import { BentoAlert as T } from "./alert.js";
3
3
  import { F as k } from "./chunks/form-layout.types.a7a1438d.js";
4
4
  import { u as F } from "./chunks/use-has-slot.4d98bf29.js";
5
5
  import { _ as m } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
- import { B as y, c as G } from "./chunks/index.75f3672e.js";
7
- import "./assets/index35.css";
6
+ import { B as y, c as G } from "./chunks/index.09f7f1b5.js";
7
+ import "./assets/index24.css";
8
8
  const A = {
9
9
  key: 1,
10
10
  class: "b-form-layout__actions-container"
@@ -1 +1 @@
1
- {"version":3,"file":"form-layout.js","sources":["../../vue2/src/components/form-layout/form-layout.vue","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.ts","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","import { computed, onMounted, Ref } from 'vue';\nimport { BentoLayoutGroupProportions } from '../form-layout-group.types';\n\nconst DEFAULT_PROPORTION = 100;\n\n/**\n * Wraps a FormLayoutGroup child inside a \"div\" container.\n * This helps preventing the components from re-writing the classes or styles.\n * @param {Element} child - Child element to be wrapped\n * @param {HTMLDivElement} container - Container in which the child will be wrapped into\n * @param {string} containerClass - FormLayoutGroup layout percentage class\n */\nfunction wrapInsideContainer(child: Element, container: HTMLDivElement, containerClass: string) {\n // Insert container above the child\n child.parentNode.insertBefore(container, child);\n // Move child to the container\n container.appendChild(child);\n // Apply layout class\n container.classList.add(containerClass);\n}\n\n/**\n * Calculates the CSS classes based on the percentage\n * for each one of the layouts in format `##-##` or `##`.\n *\n * It receives a layout of type @see BentoLayoutGroupProportions to\n * generate the class and apply it to the children of the @see BentoFormLayoutGroup component\n *\n * @param {Ref<BentoLayoutGroupProportions>} layoutProp Layout string in the format `##` or `##-##`\n * @param {Ref<HTMLElement>} formLayoutGroupRef Reference to an HTML element of type BentoFormLayoutGroup\n */\nexport const useFormLayoutGroupPercentage = (\n layoutProp: Ref<BentoLayoutGroupProportions>,\n formLayoutGroupRef: Ref<HTMLElement>\n) => {\n // Split the `##-##` format into individual values [##, ##]\n const getLayoutValues = layout => layout.split?.('-').map(value => parseInt(value, 10));\n // Split the values only if the are in BentoLayoutGroupProportions, otherwise return 100%\n const layout = computed(() =>\n BentoLayoutGroupProportions.includes(layoutProp.value) ? getLayoutValues(layoutProp.value) : DEFAULT_PROPORTION\n );\n\n onMounted(() => {\n // Apply class to every immediate child\n const layoutClassName = formLayoutGroupRef.value.classList[0];\n const immediateChildren = formLayoutGroupRef.value.querySelectorAll(`.${layoutClassName} > *`); // Get immediate children\n\n immediateChildren.forEach((child, index) => {\n const containerClass = `${layoutClassName}--${layout.value[index] || '100'}`; // 100% default\n wrapInsideContainer(child, document.createElement('div'), containerClass);\n });\n });\n};\n","<template>\n <div ref=\"formLayoutGroup\" class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, toRef } from 'vue';\n import { useFormLayoutGroupPercentage } from './composable/use-form-layout-group-percentage';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n const formLayoutGroup = ref(null);\n useFormLayoutGroupPercentage(toRef(props, 'layout'), formLayoutGroup);\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsopprted\n // \"form-layout.scss\" depends on this class\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organise related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","DEFAULT_PROPORTION","wrapInsideContainer","child","container","containerClass","useFormLayoutGroupPercentage","layoutProp","formLayoutGroupRef","getLayoutValues","layout2","_a","value","layout","onMounted","layoutClassName","index","__default__$1","formLayoutGroup","ref","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;;;;qFAsFIA,IAAA,CAAA;;;;;;;;;;;;;;;iBA1DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAeAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,6CCiDHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qECxCGC,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCpBAC,IAAA;AASA,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEI,EAAAF,EAAA,WAAA,aAAAC,GAAAD,CAAA,GAEAC,EAAA,YAAAD,CAAA,GAEAC,EAAA,UAAA,IAAAC,CAAA;AACJ;AAYa,MAAAC,IAAA,CAAAC,GAAAC,MAAA;AAKT,QAAAC,IAAA,CAAAC,MAAA;;AAAA,YAAAC,IAAAD,EAAA,UAAA,gBAAAC,EAAA,KAAAD,GAAA,KAAA,IAAA,CAAAE,MAAA,SAAAA,GAAA,EAAA;AAAA,KAEAC,IAAArB;AAAA,IAAe,MAAAQ,EAAA,SAAAO,EAAA,KAAA,IAAAE,EAAAF,EAAA,KAAA,IAAAN;AAAA,EACkF;AAGjG,EAAAa,EAAA,MAAA;AAEI,UAAAC,IAAAP,EAAA,MAAA,UAAA,CAAA;AAGA,IAFAA,EAAA,MAAA,iBAAA,IAAAO,OAAA,EAEA,QAAA,CAAAZ,GAAAa,MAAA;AACI,YAAAX,IAAA,GAAAU,MAAAF,EAAA,MAAAG,CAAA,KAAA;AACA,MAAAd,EAAAC,GAAA,SAAA,cAAA,KAAA,GAAAE,CAAA;AAAA,IAAwE,CAAA;AAAA,EAC3E,CAAA;AAET,GCqBIY,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/BAC,IAAAC,EAAA,IAAA;AACA,IAAAb,EAAAT,EAAAJ,GAAA,QAAA,GAAAyB,CAAA;AAEA,UAAAE,IAAA5B,EAAA,OAAA;AAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA,IAG0C,EAAA;;;;;;;;;;qECwBrF4B,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlC,IAAAC,EAAA,GAyBAkC,IAAA9B,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiC,IAAA5B,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"form-layout.js","sources":["../../vue2/src/components/form-layout/form-layout.vue","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.ts","../../vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue","../../vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n import { BentoFormLayoutFieldTipTypeOption, BentoFormLayoutFieldTipTypeOptions } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","import { computed, onMounted, Ref } from 'vue';\nimport { BentoLayoutGroupProportions } from '../form-layout-group.types';\n\nconst DEFAULT_PROPORTION = 100;\n\n/**\n * Wraps a FormLayoutGroup child inside a \"div\" container.\n * This helps preventing the components from re-writing the classes or styles.\n * @param child Child element to be wrapped\n * @param container Container in which the child will be wrapped into\n * @param containerClass FormLayoutGroup layout percentage class\n */\nfunction wrapInsideContainer(child: Element, container: HTMLDivElement, containerClass: string) {\n // Insert container above the child\n child.parentNode.insertBefore(container, child);\n // Move child to the container\n container.appendChild(child);\n // Apply layout class\n container.classList.add(containerClass);\n}\n\n/**\n * Calculates the CSS classes based on the percentage\n * for each one of the layouts in format `##-##` or `##`.\n *\n * It receives a layout of type `BentoLayoutGroupProportions` to\n * generate the class and apply it to the children of the `BentoFormLayoutGroup` component\n *\n * @param layoutProp Layout string in the format `##` or `##-##`\n * @param formLayoutGroupRef Reference to an HTML element of type BentoFormLayoutGroup\n */\nexport const useFormLayoutGroupPercentage = (\n layoutProp: Ref<BentoLayoutGroupProportions>,\n formLayoutGroupRef: Ref<HTMLElement>\n) => {\n // Split the `##-##` format into individual values [##, ##]\n const getLayoutValues = layout => layout.split?.('-').map(value => parseInt(value, 10));\n // Split the values only if the are in BentoLayoutGroupProportions, otherwise return 100%\n const layout = computed(() =>\n BentoLayoutGroupProportions.includes(layoutProp.value) ? getLayoutValues(layoutProp.value) : DEFAULT_PROPORTION\n );\n\n onMounted(() => {\n // Apply class to every immediate child\n const layoutClassName = formLayoutGroupRef.value.classList[0];\n const immediateChildren = formLayoutGroupRef.value.querySelectorAll(`.${layoutClassName} > *`); // Get immediate children\n\n immediateChildren.forEach((child, index) => {\n const containerClass = `${layoutClassName}--${layout.value[index] || '100'}`; // 100% default\n wrapInsideContainer(child, document.createElement('div'), containerClass);\n });\n });\n};\n","<template>\n <div ref=\"formLayoutGroup\" class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, ref, toRef } from 'vue';\n import { useFormLayoutGroupPercentage } from './composable/use-form-layout-group-percentage';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two colums are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n });\n\n const formLayoutGroup = ref(null);\n useFormLayoutGroupPercentage(toRef(props, 'layout'), formLayoutGroup);\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsopprted\n // \"form-layout.scss\" depends on this class\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography v-if=\"hasSlot('description')\" class=\"b-form-layout-title__description\" el=\"span\" wide>\n <slot name=\"description\" />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organise related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$3","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$2","BentoLayoutGroupProportions","DEFAULT_PROPORTION","wrapInsideContainer","child","container","containerClass","useFormLayoutGroupPercentage","layoutProp","formLayoutGroupRef","getLayoutValues","layout2","_a","value","layout","onMounted","layoutClassName","index","__default__$1","formLayoutGroup","ref","conditionalClasses","__default__","isSection"],"mappings":";;;;;;;;;;qFAsFIA,IAAA,CAAA;;;;;;;;;;;;;;;iBA1DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAeAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEC5CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,6CCiDHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qECxCGC,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCpBAC,IAAA;AASA,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEI,EAAAF,EAAA,WAAA,aAAAC,GAAAD,CAAA,GAEAC,EAAA,YAAAD,CAAA,GAEAC,EAAA,UAAA,IAAAC,CAAA;AACJ;AAYa,MAAAC,IAAA,CAAAC,GAAAC,MAAA;AAKT,QAAAC,IAAA,CAAAC,MAAA;;AAAA,YAAAC,IAAAD,EAAA,UAAA,gBAAAC,EAAA,KAAAD,GAAA,KAAA,IAAA,CAAAE,MAAA,SAAAA,GAAA,EAAA;AAAA,KAEAC,IAAArB;AAAA,IAAe,MAAAQ,EAAA,SAAAO,EAAA,KAAA,IAAAE,EAAAF,EAAA,KAAA,IAAAN;AAAA,EACkF;AAGjG,EAAAa,EAAA,MAAA;AAEI,UAAAC,IAAAP,EAAA,MAAA,UAAA,CAAA;AAGA,IAFAA,EAAA,MAAA,iBAAA,IAAAO,OAAA,EAEA,QAAA,CAAAZ,GAAAa,MAAA;AACI,YAAAX,IAAA,GAAAU,MAAAF,EAAA,MAAAG,CAAA,KAAA;AACA,MAAAd,EAAAC,GAAA,SAAA,cAAA,KAAA,GAAAE,CAAA;AAAA,IAAwE,CAAA;AAAA,EAC3E,CAAA;AAET,GCqBIY,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/BAC,IAAAC,EAAA,IAAA;AACA,IAAAb,EAAAT,EAAAJ,GAAA,QAAA,GAAAyB,CAAA;AAEA,UAAAE,IAAA5B,EAAA,OAAA;AAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAQ,EAAA,SAAAP,EAAA,MAAA;AAAA,IAG0C,EAAA;;;;;;;;;;qECwBrF4B,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;iBAvDAlC,IAAAC,EAAA,GAyBAkC,IAAA9B,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiC,IAAA5B,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/header.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, computed as g, resolveComponent as _, openBlock as p, createElementBlock as R, normalizeClass as k, createElementVNode as M, createVNode as Y, mergeProps as G, withCtx as I, createTextVNode as S, toDisplayString as E, createBlock as T, createCommentVNode as D } from "vue";
2
- import { B as L } from "./chunks/button-actions-with-menu.f6dfb14d.js";
2
+ import { B as L } from "./chunks/button-actions-with-menu.2ff339f6.js";
3
3
  import { BentoInfoIcon as V } from "./info-icon.js";
4
4
  import { u as $ } from "./chunks/use-has-slot.4d98bf29.js";
5
- import { B as z, c as O, a as W } from "./chunks/index.75f3672e.js";
5
+ import { B as z, c as O, a as W } from "./chunks/index.09f7f1b5.js";
6
6
  import { u as j } from "./chunks/i18n.6c402773.js";
7
7
  import { c as h, a as q } from "./chunks/index.86453263.js";
8
8
  import { r as d, t as c, e as y, g as A, d as F, f as J } from "./chunks/index.f55fdc32.js";
9
9
  import { e as K } from "./chunks/index.fdf12170.js";
10
10
  import { e as Q } from "./chunks/index.d80206ed.js";
11
11
  import { _ as Z } from "./chunks/_plugin-vue_export-helper.dad06003.js";
12
- import "./assets/index36.css";
12
+ import "./assets/index25.css";
13
13
  function ee(e, r) {
14
14
  d(2, arguments);
15
15
  var a = c(e), t = c(r), i = a.getFullYear() - t.getFullYear(), n = a.getMonth() - t.getMonth();
package/dist/index.js CHANGED
@@ -1,69 +1,72 @@
1
- var S = Object.defineProperty;
2
- var h = (t, e, r) => e in t ? S(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var f = (t, e, r) => (h(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- import { reactive as C, defineComponent as b, computed as k, openBlock as a, createElementBlock as v, mergeProps as s, unref as m, createBlock as p, withCtx as l, renderSlot as i, createElementVNode as D } from "vue";
1
+ var T = Object.defineProperty;
2
+ var h = (t, e, n) => e in t ? T(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var f = (t, e, n) => (h(t, typeof e != "symbol" ? e + "" : e, n), n);
4
+ import { reactive as C, defineComponent as b, computed as k, openBlock as r, createElementBlock as v, mergeProps as s, unref as m, createBlock as p, withCtx as l, renderSlot as i, createElementVNode as D } from "vue";
5
5
  import { g as I } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { BentoActionBar as K } from "./action-bar.js";
7
7
  import { BentoAccordion as W, BentoAccordionItem as j } from "./accordion.js";
8
8
  import { BentoAlert as J, BentoAlertEvent as X, BentoAlertTypeOption as Y, BentoAlertVariant as Z } from "./alert.js";
9
- import { a as te, b as oe, B as re } from "./chunks/button.82ed953e.js";
10
- import { BentoCard as ae, BentoCardBackground as ie, BentoCardTitleSize as Be } from "./card.js";
9
+ import { a as te, b as oe, B as ne } from "./chunks/button.623a46d2.js";
10
+ import { BentoCard as re, BentoCardBackground as ie, BentoCardTitleSize as Be } from "./card.js";
11
11
  import { BentoColumnOverflow as me, BentoDataGrid as pe, BentoDatagridAriaSortValue as le, BentoDatagridEvent as de, BentoDatagridSortDirection as ue, BentoDatagridStyleState as fe } from "./data-grid.js";
12
12
  import { BentoDatePicker as ye, BentoDatePickerEvent as xe } from "./date-picker.js";
13
- import { B as Te, a as Se } from "./chunks/index.c6fecf1c.js";
14
- import { B as Ce, u as be } from "./chunks/dropdown.63de9aac.js";
13
+ import { B as Se, a as Te } from "./chunks/index.ef1c4d59.js";
14
+ import { B as Ce, u as be } from "./chunks/dropdown.96431c25.js";
15
15
  import { BentoDropdownAvatar as ve, BentoDropdownCountry as De, BentoDropdownCurrency as Ie, BentoDropdownPaymentMethod as Ee, BentoDropdownTag as Le } from "./dropdown.js";
16
- import { BentoDivider as Fe } from "./divider.js";
17
- import { B as Ve, b as we, a as Ae } from "./chunks/checkbox.731dc0ab.js";
16
+ import { B as Fe } from "./chunks/index.113137fb.js";
17
+ import { B as Ve, b as we, a as Ae } from "./chunks/checkbox.d65694f2.js";
18
18
  import { BentoClickOutside as Me } from "./click-outside.js";
19
- import { BentoCodeSnippet as $e, BentoCodeSnippetEvent as Re, BentoCodeSnippetSupportedLanguage as Ue, BentoCodeSnippetVariant as Ne } from "./code-snippet.js";
20
- import { BentoCountry as ze, BentoCountryCode as Ke, BentoCountryVariant as Qe, useCountryCapital as We, useCountryName as je, useCountryPhoneCode as He } from "./country.js";
21
- import { BentoCurrency as Xe, BentoCurrencyISOCode as Ye } from "./currency.js";
22
- import { B as et, a as tt } from "./chunks/index.0ee895e0.js";
23
- import { BentoEmptyState as rt, BentoEmptyStateImage as nt, BentoEmptyStateImageVariant as at, BentoEmptyStateVariant as it } from "./empty-state.js";
24
- import { BentoFilterBar as st, BentoFilterBarEvent as mt, BentoFilterEvent as pt, BentoFilterItemType as lt } from "./filter-bar.js";
25
- import { BentoFormLayout as ut, BentoFormLayoutFieldTip as ft, BentoFormLayoutGroup as ct, BentoFormLayoutTitle as yt } from "./form-layout.js";
26
- import { BentoImage as gt, BentoImageAspectRatio as Tt, BentoImageObjectFit as St } from "./image.js";
27
- import { BentoInfoIcon as Ct } from "./info-icon.js";
28
- import { BentoInputField as kt, BentoInputFieldElementPosition as vt, BentoInputFieldEvent as Dt, BentoInputFieldStateClass as It, BentoInputFieldType as Et, BentoInputFieldVariant as Lt } from "./input-field.js";
29
- import { BentoLoadingIndicator as Ft, BentoLoadingIndicatorEvent as _t } from "./loading-indicator.js";
30
- import { B as wt, a as At } from "./chunks/index.73ed22a7.js";
31
- import { BentoModal as Mt } from "./modal.js";
32
- import { b as $t, d as Rt, e as Ut, c as Nt, a as qt, B as zt } from "./chunks/base-modal.a629cb32.js";
33
- import { BentoHeader as Qt } from "./header.js";
34
- import { BentoPagination as jt } from "./pagination.js";
35
- import { BentoPaymentMethod as Jt, BentoPaymentMethodType as Xt } from "./payment-method.js";
36
- import { a as Zt, B as eo } from "./chunks/index.98174339.js";
37
- import { BentoRadioGroup as oo, BentoRadioGroupVariant as ro } from "./radio-group.js";
38
- import { BentoSearchBar as ao, BentoSearchBarEvent as io, BentoSearchBarInternalEvent as Bo } from "./search-bar.js";
39
- import { BentoSegmentedControl as mo, BentoSegmentedControlEvent as po } from "./segmented-control.js";
40
- import { BentoStatus as uo, BentoStatusVariant as fo } from "./status.js";
41
- import { BentoStep as yo, BentoStepper as xo, BentoStepperTypeOption as go, BentoStepperVariantOption as To } from "./stepper.js";
42
- import { B as ho, a as Co } from "./chunks/index.edcaf766.js";
43
- import { BentoSummaryGrid as ko, BentoSummaryGridItemAmount as vo, BentoSummaryGridItemCustom as Do, BentoSummaryGridItemNumeric as Io, BentoSummaryGridItemPercentage as Eo, BentoSummaryGridItemSize as Lo, BentoSummaryGridItemText as Po, BentoSummaryGridItemTrendDirection as Fo } from "./summary-grid.js";
44
- import { BentoTab as Vo, BentoTabs as wo } from "./tabs.js";
45
- import { BentoTag as Go, BentoTagVariant as Mo } from "./tag.js";
46
- import { BentoTextarea as $o } from "./textarea.js";
47
- import { BentoTimeline as Uo, BentoTimelineGapUnit as No, BentoTimelineItem as qo, BentoTimelineItemVariant as zo, BentoTimelineShowMorePlacement as Ko } from "./timeline.js";
48
- import { BentoToast as Wo } from "./toast.js";
49
- import { u as Ho } from "./chunks/toastController.0b01d2e8.js";
50
- import { BentoToggle as Xo, BentoToggleLabelPosition as Yo, BentoTogglePropClass as Zo } from "./toggle.js";
51
- import { B as c } from "./chunks/index.75f3672e.js";
52
- import { c as tr, b as or, a as rr } from "./chunks/index.75f3672e.js";
53
- import { D as ar } from "./chunks/date-input.9186a0bf.js";
54
- import { a as Br, B as sr } from "./chunks/keyboard-navigation.ca47dfa8.js";
55
- import { a as pr, b as lr } from "./chunks/listbox.ac43f8ab.js";
56
- import { B as ur } from "./chunks/directive.0408e565.js";
57
- import { b as cr, B as yr, a as xr } from "./chunks/tooltip.27c32d36.js";
58
- import { BentoButtonActions as Tr, BentoButtonActionsLayout as Sr, BentoButtonActionsLayoutBasic as hr, BentoButtonActionsLayoutExtended as Cr } from "./button.js";
59
- import { B as kr, a as vr } from "./chunks/loading-button.4b88e24d.js";
60
- import { b as Ir, b as Er } from "./chunks/calendar.fa7712e8.js";
61
- import { BentoCheckboxGroup as Pr, BentoCheckboxGroupVariant as Fr } from "./checkbox.js";
19
+ import { BentoCodeSnippet as $e, BentoCodeSnippetEvent as Re, BentoCodeSnippetSupportedLanguage as Ne, BentoCodeSnippetVariant as Ue } from "./code-snippet.js";
20
+ import { BentoCountry as ze } from "./country.js";
21
+ import { c as Qe, B as We, a as je, u as He, b as Je } from "./chunks/country.types.002caff2.js";
22
+ import { BentoCurrency as Ye, BentoCurrencyISOCode as Ze } from "./currency.js";
23
+ import { B as tt, a as ot } from "./chunks/index.45d00aad.js";
24
+ import { BentoEmptyState as at, BentoEmptyStateImage as rt, BentoEmptyStateImageVariant as it, BentoEmptyStateVariant as Bt } from "./empty-state.js";
25
+ import { BentoFilterBar as mt, BentoFilterBarEvent as pt, BentoFilterEvent as lt, BentoFilterItemType as dt } from "./filter-bar.js";
26
+ import { BentoFormLayout as ft, BentoFormLayoutFieldTip as ct, BentoFormLayoutGroup as yt, BentoFormLayoutTitle as xt } from "./form-layout.js";
27
+ import { BentoImage as St, BentoImageAspectRatio as Tt, BentoImageObjectFit as ht } from "./image.js";
28
+ import { BentoInfoIcon as bt } from "./info-icon.js";
29
+ import { BentoInputField as vt, BentoInputFieldElementPosition as Dt, BentoInputFieldEvent as It, BentoInputFieldStateClass as Et, BentoInputFieldType as Lt, BentoInputFieldVariant as Pt } from "./input-field.js";
30
+ import { BentoLoadingIndicator as _t, BentoLoadingIndicatorEvent as Vt } from "./loading-indicator.js";
31
+ import { B as At, a as Gt } from "./chunks/index.cf561336.js";
32
+ import { BentoModal as Ot } from "./modal.js";
33
+ import { b as Rt, d as Nt, e as Ut, c as qt, a as zt, B as Kt } from "./chunks/base-modal.161ce8f0.js";
34
+ import { BentoHeader as Wt } from "./header.js";
35
+ import { BentoPagination as Ht } from "./pagination.js";
36
+ import { BentoPaymentMethod as Xt, BentoPaymentMethodType as Yt } from "./payment-method.js";
37
+ import { a as eo, B as to } from "./chunks/index.03605cb0.js";
38
+ import { BentoRadioGroup as no, BentoRadioGroupVariant as ao } from "./radio-group.js";
39
+ import { BentoSearchBar as io, BentoSearchBarEvent as Bo, BentoSearchBarInternalEvent as so } from "./search-bar.js";
40
+ import { BentoSecondaryNav as po } from "./secondary-nav.js";
41
+ import { BentoSegmentedControl as uo, BentoSegmentedControlEvent as fo } from "./segmented-control.js";
42
+ import { BentoSidepanel as yo, BentoSidepanelAnimation as xo, BentoSidepanelEvent as go, BentoSidepanelPage as So } from "./sidepanel.js";
43
+ import { BentoStatus as ho, BentoStatusVariant as Co } from "./status.js";
44
+ import { BentoStep as ko, BentoStepper as vo, BentoStepperTypeOption as Do, BentoStepperVariantOption as Io } from "./stepper.js";
45
+ import { B as Lo, a as Po } from "./chunks/index.0a8ddfaa.js";
46
+ import { BentoSummaryGrid as _o, BentoSummaryGridItemAmount as Vo, BentoSummaryGridItemCustom as wo, BentoSummaryGridItemNumeric as Ao, BentoSummaryGridItemPercentage as Go, BentoSummaryGridItemSize as Mo, BentoSummaryGridItemText as Oo, BentoSummaryGridItemTrendDirection as $o } from "./summary-grid.js";
47
+ import { BentoTab as No, BentoTabs as Uo } from "./tabs.js";
48
+ import { BentoTag as zo, BentoTagVariant as Ko } from "./tag.js";
49
+ import { BentoTextarea as Wo } from "./textarea.js";
50
+ import { BentoTimeline as Ho, BentoTimelineGapUnit as Jo, BentoTimelineItem as Xo, BentoTimelineItemVariant as Yo, BentoTimelineShowMorePlacement as Zo, BentoTimelineStatus as en } from "./timeline.js";
51
+ import { BentoToast as on } from "./toast.js";
52
+ import { u as an } from "./chunks/toastController.0b01d2e8.js";
53
+ import { BentoToggle as Bn, BentoToggleLabelPosition as sn, BentoTogglePropClass as mn } from "./toggle.js";
54
+ import { B as c } from "./chunks/index.09f7f1b5.js";
55
+ import { c as ln, b as dn, a as un } from "./chunks/index.09f7f1b5.js";
56
+ import { D as cn } from "./chunks/date-input.9186a0bf.js";
57
+ import { a as xn, B as gn } from "./chunks/keyboard-navigation.ca47dfa8.js";
58
+ import { a as Tn, b as hn } from "./chunks/listbox.dd9883c5.js";
59
+ import { B as bn } from "./chunks/directive.0408e565.js";
60
+ import { b as vn, B as Dn, a as In } from "./chunks/tooltip.785993dd.js";
61
+ import { BentoButtonActions as Ln, BentoButtonActionsLayout as Pn, BentoButtonActionsLayoutBasic as Fn, BentoButtonActionsLayoutExtended as _n } from "./button.js";
62
+ import { B as wn, a as An } from "./chunks/loading-button.30c5fede.js";
63
+ import { b as Mn, b as On } from "./chunks/calendar.b1d05580.js";
64
+ import { BentoCheckboxGroup as Rn, BentoCheckboxGroupVariant as Nn } from "./checkbox.js";
62
65
  import { BentoLinkVariant as d } from "./link.js";
63
66
  import { RouterLink as y } from "vue-router";
64
67
  import { _ as E } from "./chunks/_plugin-vue_export-helper.dad06003.js";
65
- import { BentoTutorial as Vr } from "./tutorial.js";
66
- import "./assets/index13.css";
68
+ import { BentoTutorial as qn } from "./tutorial.js";
69
+ import "./assets/index16.css";
67
70
  class L {
68
71
  constructor() {
69
72
  f(this, "_state");
@@ -76,13 +79,13 @@ class L {
76
79
  this._state.queue.splice(this._state.queue.indexOf(e), 1);
77
80
  }
78
81
  addToast(e) {
79
- const r = I("toast"), n = {
82
+ const n = I("toast"), a = {
80
83
  ...e,
81
- id: r,
82
- dismiss: () => this.dismissToast(n)
84
+ id: n,
85
+ dismiss: () => this.dismissToast(a)
83
86
  };
84
- return this._state.queue.push(n), {
85
- dismiss: () => this.dismissToast(n)
87
+ return this._state.queue.push(a), {
88
+ dismiss: () => this.dismissToast(a)
86
89
  };
87
90
  }
88
91
  }
@@ -120,18 +123,18 @@ const x = (t) => {
120
123
  },
121
124
  emits: ["click"],
122
125
  setup(t, { emit: e }) {
123
- const r = t, n = k(() => ({
124
- [`b-link--${d.QUIET}`]: r.variant === d.QUIET
126
+ const n = t, a = k(() => ({
127
+ [`b-link--${d.QUIET}`]: n.variant === d.QUIET
125
128
  })), u = (o, B) => {
126
129
  e("click", o), B && B();
127
130
  };
128
- return (o, B) => t.external ? (a(), v("a", s({ key: 0 }, o.$attrs, {
131
+ return (o, B) => t.external ? (r(), v("a", s({ key: 0 }, o.$attrs, {
129
132
  href: o.to,
130
133
  target: "_blank",
131
- class: ["b-link", m(n)],
134
+ class: ["b-link", m(a)],
132
135
  onClick: u
133
136
  }), [
134
- t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (a(), p(c, {
137
+ t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (r(), p(c, {
135
138
  key: 0,
136
139
  el: "span",
137
140
  variant: "body"
@@ -141,17 +144,17 @@ const x = (t) => {
141
144
  ]),
142
145
  _: 3
143
146
  }))
144
- ], 16, P)) : (a(), p(m(y), s({ key: 1 }, o.$props, {
147
+ ], 16, P)) : (r(), p(m(y), s({ key: 1 }, o.$props, {
145
148
  custom: "",
146
149
  onClick: u
147
150
  }), {
148
- default: l(({ href: g, navigate: T }) => [
151
+ default: l(({ href: g, navigate: S }) => [
149
152
  D("a", s(o.$attrs, {
150
153
  href: g,
151
- class: ["b-link", m(n)],
152
- onClick: T
154
+ class: ["b-link", m(a)],
155
+ onClick: S
153
156
  }), [
154
- t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (a(), p(c, {
157
+ t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (r(), p(c, {
155
158
  key: 0,
156
159
  el: "span",
157
160
  variant: "body"
@@ -167,7 +170,7 @@ const x = (t) => {
167
170
  }, 16));
168
171
  }
169
172
  });
170
- const U = /* @__PURE__ */ E(_, [["__scopeId", "data-v-bdaab366"]]);
173
+ const N = /* @__PURE__ */ E(_, [["__scopeId", "data-v-bdaab366"]]);
171
174
  export {
172
175
  W as BentoAccordion,
173
176
  j as BentoAccordionItem,
@@ -177,45 +180,45 @@ export {
177
180
  Y as BentoAlertTypeOption,
178
181
  Z as BentoAlertVariant,
179
182
  te as BentoButton,
180
- Tr as BentoButtonActions,
181
- Sr as BentoButtonActionsLayout,
182
- hr as BentoButtonActionsLayoutBasic,
183
- Cr as BentoButtonActionsLayoutExtended,
183
+ Ln as BentoButtonActions,
184
+ Pn as BentoButtonActionsLayout,
185
+ Fn as BentoButtonActionsLayoutBasic,
186
+ _n as BentoButtonActionsLayoutExtended,
184
187
  oe as BentoButtonPropClass,
185
- re as BentoButtonVariant,
186
- ae as BentoCard,
188
+ ne as BentoButtonVariant,
189
+ re as BentoCard,
187
190
  ie as BentoCardBackground,
188
191
  Be as BentoCardTitleSize,
189
192
  Ve as BentoCheckbox,
190
193
  we as BentoCheckboxEvent,
191
- Pr as BentoCheckboxGroup,
192
- Fr as BentoCheckboxGroupVariant,
194
+ Rn as BentoCheckboxGroup,
195
+ Nn as BentoCheckboxGroupVariant,
193
196
  Ae as BentoCheckboxState,
194
197
  Me as BentoClickOutside,
195
- ur as BentoClickOutsideDirective,
198
+ bn as BentoClickOutsideDirective,
196
199
  $e as BentoCodeSnippet,
197
200
  Re as BentoCodeSnippetEvent,
198
- Ue as BentoCodeSnippetSupportedLanguage,
199
- Ne as BentoCodeSnippetVariant,
201
+ Ne as BentoCodeSnippetSupportedLanguage,
202
+ Ue as BentoCodeSnippetVariant,
200
203
  me as BentoColumnOverflow,
201
204
  ze as BentoCountry,
202
- Ke as BentoCountryCode,
203
- Qe as BentoCountryVariant,
204
- Xe as BentoCurrency,
205
- Ye as BentoCurrencyISOCode,
205
+ Qe as BentoCountryCode,
206
+ We as BentoCountryVariant,
207
+ Ye as BentoCurrency,
208
+ Ze as BentoCurrencyISOCode,
206
209
  pe as BentoDataGrid,
207
210
  le as BentoDatagridAriaSortValue,
208
211
  de as BentoDatagridEvent,
209
212
  ue as BentoDatagridSortDirection,
210
213
  fe as BentoDatagridStyleState,
211
- et as BentoDate,
212
- tt as BentoDateFormat,
214
+ tt as BentoDate,
215
+ ot as BentoDateFormat,
213
216
  ye as BentoDatePicker,
214
217
  xe as BentoDatePickerEvent,
215
- Ir as BentoDatePickerFirstDayOfWeek,
216
- Te as BentoDateRangePicker,
217
- Se as BentoDateRangePickerEvent,
218
- Er as BentoDateRangePickerFirstDayOfWeek,
218
+ Mn as BentoDatePickerFirstDayOfWeek,
219
+ Se as BentoDateRangePicker,
220
+ Te as BentoDateRangePickerEvent,
221
+ On as BentoDateRangePickerFirstDayOfWeek,
219
222
  Fe as BentoDivider,
220
223
  Ce as BentoDropdown,
221
224
  ve as BentoDropdownAvatar,
@@ -223,104 +226,110 @@ export {
223
226
  Ie as BentoDropdownCurrency,
224
227
  Ee as BentoDropdownPaymentMethod,
225
228
  Le as BentoDropdownTag,
226
- rt as BentoEmptyState,
227
- nt as BentoEmptyStateImage,
228
- at as BentoEmptyStateImageVariant,
229
- it as BentoEmptyStateVariant,
230
- st as BentoFilterBar,
231
- mt as BentoFilterBarEvent,
232
- pt as BentoFilterEvent,
233
- lt as BentoFilterItemType,
234
- ut as BentoFormLayout,
235
- ft as BentoFormLayoutFieldTip,
236
- ct as BentoFormLayoutGroup,
237
- yt as BentoFormLayoutTitle,
238
- Qt as BentoHeader,
239
- gt as BentoImage,
229
+ at as BentoEmptyState,
230
+ rt as BentoEmptyStateImage,
231
+ it as BentoEmptyStateImageVariant,
232
+ Bt as BentoEmptyStateVariant,
233
+ mt as BentoFilterBar,
234
+ pt as BentoFilterBarEvent,
235
+ lt as BentoFilterEvent,
236
+ dt as BentoFilterItemType,
237
+ ft as BentoFormLayout,
238
+ ct as BentoFormLayoutFieldTip,
239
+ yt as BentoFormLayoutGroup,
240
+ xt as BentoFormLayoutTitle,
241
+ Wt as BentoHeader,
242
+ St as BentoImage,
240
243
  Tt as BentoImageAspectRatio,
241
- St as BentoImageObjectFit,
242
- Ct as BentoInfoIcon,
243
- kt as BentoInputField,
244
- vt as BentoInputFieldElementPosition,
245
- Dt as BentoInputFieldEvent,
246
- It as BentoInputFieldStateClass,
247
- Et as BentoInputFieldType,
248
- Lt as BentoInputFieldVariant,
249
- Br as BentoKeyboardNavigationDirective,
250
- sr as BentoKeyboardNavigationKeyDownEvent,
251
- U as BentoLink,
244
+ ht as BentoImageObjectFit,
245
+ bt as BentoInfoIcon,
246
+ vt as BentoInputField,
247
+ Dt as BentoInputFieldElementPosition,
248
+ It as BentoInputFieldEvent,
249
+ Et as BentoInputFieldStateClass,
250
+ Lt as BentoInputFieldType,
251
+ Pt as BentoInputFieldVariant,
252
+ xn as BentoKeyboardNavigationDirective,
253
+ gn as BentoKeyboardNavigationKeyDownEvent,
254
+ N as BentoLink,
252
255
  d as BentoLinkVariant,
253
- pr as BentoListboxEvent,
254
- lr as BentoListboxLazyLoadType,
255
- kr as BentoLoadingButton,
256
- vr as BentoLoadingButtonState,
257
- Ft as BentoLoadingIndicator,
258
- _t as BentoLoadingIndicatorEvent,
259
- wt as BentoMenu,
260
- At as BentoMenuEvent,
261
- Mt as BentoModal,
262
- $t as BentoModalColumnLayoutVariant,
263
- Rt as BentoModalDialogType,
256
+ Tn as BentoListboxEvent,
257
+ hn as BentoListboxLazyLoadType,
258
+ wn as BentoLoadingButton,
259
+ An as BentoLoadingButtonState,
260
+ _t as BentoLoadingIndicator,
261
+ Vt as BentoLoadingIndicatorEvent,
262
+ At as BentoMenu,
263
+ Gt as BentoMenuEvent,
264
+ Ot as BentoModal,
265
+ Rt as BentoModalColumnLayoutVariant,
266
+ Nt as BentoModalDialogType,
264
267
  Ut as BentoModalEvent,
265
- Nt as BentoModalRole,
266
- qt as BentoModalSize,
267
- zt as BentoModalVariant,
268
- jt as BentoPagination,
269
- Jt as BentoPaymentMethod,
270
- Xt as BentoPaymentMethodType,
271
- Zt as BentoPopover,
272
- eo as BentoPopoverPositions,
273
- oo as BentoRadioGroup,
274
- ro as BentoRadioGroupVariant,
275
- ao as BentoSearchBar,
276
- io as BentoSearchBarEvent,
277
- Bo as BentoSearchBarInternalEvent,
278
- mo as BentoSegmentedControl,
279
- po as BentoSegmentedControlEvent,
280
- uo as BentoStatus,
281
- fo as BentoStatusVariant,
282
- yo as BentoStep,
283
- xo as BentoStepper,
284
- go as BentoStepperTypeOption,
285
- To as BentoStepperVariantOption,
286
- ho as BentoStructuredList,
287
- Co as BentoStructuredListItem,
288
- ko as BentoSummaryGrid,
289
- vo as BentoSummaryGridItemAmount,
290
- Do as BentoSummaryGridItemCustom,
291
- Io as BentoSummaryGridItemNumeric,
292
- Eo as BentoSummaryGridItemPercentage,
293
- Lo as BentoSummaryGridItemSize,
294
- Po as BentoSummaryGridItemText,
295
- Fo as BentoSummaryGridItemTrendDirection,
296
- Vo as BentoTab,
297
- wo as BentoTabs,
298
- Go as BentoTag,
299
- Mo as BentoTagVariant,
300
- $o as BentoTextarea,
301
- Uo as BentoTimeline,
302
- No as BentoTimelineGapUnit,
303
- qo as BentoTimelineItem,
304
- zo as BentoTimelineItemVariant,
305
- Ko as BentoTimelineShowMorePlacement,
306
- Wo as BentoToast,
307
- Xo as BentoToggle,
308
- Yo as BentoToggleLabelPosition,
309
- Zo as BentoTogglePropClass,
310
- cr as BentoTooltipDirective,
311
- yr as BentoTooltipPosition,
312
- xr as BentoTooltipState,
313
- Vr as BentoTutorial,
268
+ qt as BentoModalRole,
269
+ zt as BentoModalSize,
270
+ Kt as BentoModalVariant,
271
+ Ht as BentoPagination,
272
+ Xt as BentoPaymentMethod,
273
+ Yt as BentoPaymentMethodType,
274
+ eo as BentoPopover,
275
+ to as BentoPopoverPositions,
276
+ no as BentoRadioGroup,
277
+ ao as BentoRadioGroupVariant,
278
+ io as BentoSearchBar,
279
+ Bo as BentoSearchBarEvent,
280
+ so as BentoSearchBarInternalEvent,
281
+ po as BentoSecondaryNav,
282
+ uo as BentoSegmentedControl,
283
+ fo as BentoSegmentedControlEvent,
284
+ yo as BentoSidepanel,
285
+ xo as BentoSidepanelAnimation,
286
+ go as BentoSidepanelEvent,
287
+ So as BentoSidepanelPage,
288
+ ho as BentoStatus,
289
+ Co as BentoStatusVariant,
290
+ ko as BentoStep,
291
+ vo as BentoStepper,
292
+ Do as BentoStepperTypeOption,
293
+ Io as BentoStepperVariantOption,
294
+ Lo as BentoStructuredList,
295
+ Po as BentoStructuredListItem,
296
+ _o as BentoSummaryGrid,
297
+ Vo as BentoSummaryGridItemAmount,
298
+ wo as BentoSummaryGridItemCustom,
299
+ Ao as BentoSummaryGridItemNumeric,
300
+ Go as BentoSummaryGridItemPercentage,
301
+ Mo as BentoSummaryGridItemSize,
302
+ Oo as BentoSummaryGridItemText,
303
+ $o as BentoSummaryGridItemTrendDirection,
304
+ No as BentoTab,
305
+ Uo as BentoTabs,
306
+ zo as BentoTag,
307
+ Ko as BentoTagVariant,
308
+ Wo as BentoTextarea,
309
+ Ho as BentoTimeline,
310
+ Jo as BentoTimelineGapUnit,
311
+ Xo as BentoTimelineItem,
312
+ Yo as BentoTimelineItemVariant,
313
+ Zo as BentoTimelineShowMorePlacement,
314
+ en as BentoTimelineStatus,
315
+ on as BentoToast,
316
+ Bn as BentoToggle,
317
+ sn as BentoToggleLabelPosition,
318
+ mn as BentoTogglePropClass,
319
+ vn as BentoTooltipDirective,
320
+ Dn as BentoTooltipPosition,
321
+ In as BentoTooltipState,
322
+ qn as BentoTutorial,
314
323
  c as BentoTypography,
315
- tr as BentoTypographyElement,
316
- or as BentoTypographyModifier,
317
- rr as BentoTypographyVariant,
318
- ar as DateFormat,
324
+ ln as BentoTypographyElement,
325
+ dn as BentoTypographyModifier,
326
+ un as BentoTypographyVariant,
327
+ cn as DateFormat,
319
328
  R as default,
320
- Ho as useBentoToastController,
321
- We as useCountryCapital,
322
- je as useCountryName,
323
- He as useCountryPhoneCode,
329
+ an as useBentoToastController,
330
+ je as useCountryCapital,
331
+ He as useCountryName,
332
+ Je as useCountryPhoneCode,
324
333
  be as useSearchBarFilter
325
334
  };
326
335
  //# sourceMappingURL=index.js.map