@adyen/bento-vue2 1.6.1 → 1.7.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 (291) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +43 -0
  4. package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
  6. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +290 -281
  8. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
  9. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
  10. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  11. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
  12. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
  14. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +53 -70
  15. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  16. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +20 -2
  17. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +18 -0
  18. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +20 -2
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
  20. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
  21. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +45 -27
  22. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
  23. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +21 -3
  24. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +24 -6
  25. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +21 -3
  26. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +21 -3
  27. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +21 -3
  28. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
  29. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
  30. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
  31. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +234 -12
  32. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
  33. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -1
  35. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +1 -0
  36. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
  37. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
  38. package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
  39. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
  40. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
  41. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
  42. package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
  43. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +18 -0
  44. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
  45. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
  47. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +94 -8
  48. package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
  49. package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
  50. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
  51. package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
  52. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
  53. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
  54. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +9 -0
  55. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
  56. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
  57. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
  58. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
  59. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
  60. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
  61. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
  62. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
  63. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
  64. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
  65. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
  66. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
  67. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
  68. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
  69. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
  70. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
  71. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +6 -3
  72. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
  73. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +13 -13
  74. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
  75. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
  76. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
  77. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +226 -0
  78. package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
  79. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
  80. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
  81. package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
  82. package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
  83. package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
  84. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
  85. package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
  86. package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
  87. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
  88. package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
  89. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  90. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +2 -2
  91. package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
  92. package/dist/accordion.js +41 -32
  93. package/dist/accordion.js.map +1 -1
  94. package/dist/action-bar.js +191 -0
  95. package/dist/action-bar.js.map +1 -0
  96. package/dist/alert.js +3 -3
  97. package/dist/assets/base-modal.css +1 -1
  98. package/dist/assets/button-actions-with-menu.css +1 -0
  99. package/dist/assets/button.css +1 -1
  100. package/dist/assets/calendar.css +1 -1
  101. package/dist/assets/checkbox.css +1 -1
  102. package/dist/assets/checkmark.css +1 -0
  103. package/dist/assets/chevron-left.css +1 -0
  104. package/dist/assets/dropdown-default-textbox.css +1 -1
  105. package/dist/assets/dropdown.css +1 -1
  106. package/dist/assets/fixed-scroller.css +1 -0
  107. package/dist/assets/index.css +1 -1
  108. package/dist/assets/index10.css +1 -1
  109. package/dist/assets/index11.css +1 -1
  110. package/dist/assets/index12.css +1 -1
  111. package/dist/assets/index13.css +1 -1
  112. package/dist/assets/index14.css +1 -1
  113. package/dist/assets/index15.css +1 -1
  114. package/dist/assets/index16.css +1 -1
  115. package/dist/assets/index17.css +1 -1
  116. package/dist/assets/index18.css +1 -1
  117. package/dist/assets/index19.css +1 -1
  118. package/dist/assets/index2.css +1 -1
  119. package/dist/assets/index20.css +1 -1
  120. package/dist/assets/index21.css +1 -1
  121. package/dist/assets/index22.css +1 -1
  122. package/dist/assets/index23.css +1 -1
  123. package/dist/assets/index24.css +1 -1
  124. package/dist/assets/index25.css +1 -1
  125. package/dist/assets/index26.css +1 -1
  126. package/dist/assets/index27.css +1 -1
  127. package/dist/assets/index28.css +1 -1
  128. package/dist/assets/index29.css +1 -1
  129. package/dist/assets/index3.css +1 -1
  130. package/dist/assets/index30.css +1 -1
  131. package/dist/assets/index31.css +1 -1
  132. package/dist/assets/index32.css +1 -1
  133. package/dist/assets/index33.css +1 -1
  134. package/dist/assets/index34.css +1 -1
  135. package/dist/assets/index35.css +1 -1
  136. package/dist/assets/index36.css +1 -1
  137. package/dist/assets/index37.css +1 -1
  138. package/dist/assets/index39.css +1 -1
  139. package/dist/assets/index4.css +1 -1
  140. package/dist/assets/index40.css +1 -1
  141. package/dist/assets/index41.css +1 -1
  142. package/dist/assets/index42.css +1 -1
  143. package/dist/assets/index43.css +1 -1
  144. package/dist/assets/index44.css +1 -1
  145. package/dist/assets/index45.css +1 -0
  146. package/dist/assets/index5.css +1 -1
  147. package/dist/assets/index6.css +1 -1
  148. package/dist/assets/index7.css +1 -1
  149. package/dist/assets/index8.css +1 -1
  150. package/dist/assets/index9.css +1 -1
  151. package/dist/assets/listbox.css +1 -1
  152. package/dist/assets/refresh.css +1 -0
  153. package/dist/avatar-image.js +1 -1
  154. package/dist/badge.js +1 -1
  155. package/dist/button.js +21 -14
  156. package/dist/button.js.map +1 -1
  157. package/dist/card.js +54 -54
  158. package/dist/card.js.map +1 -1
  159. package/dist/checkbox.js +6 -6
  160. package/dist/chunks/{base-button.d1ba66cd.js → base-button.7886a7e6.js} +2 -2
  161. package/dist/chunks/{base-button.d1ba66cd.js.map → base-button.7886a7e6.js.map} +1 -1
  162. package/dist/chunks/{base-modal.ec74044e.js → base-modal.88e7b9d4.js} +4 -4
  163. package/dist/chunks/{base-modal.ec74044e.js.map → base-modal.88e7b9d4.js.map} +1 -1
  164. package/dist/chunks/button-actions-with-menu.a5413243.js +105 -0
  165. package/dist/chunks/button-actions-with-menu.a5413243.js.map +1 -0
  166. package/dist/chunks/button.e09d5980.js +125 -0
  167. package/dist/chunks/button.e09d5980.js.map +1 -0
  168. package/dist/chunks/{calendar.b74f8a0f.js → calendar.24d0ac04.js} +294 -272
  169. package/dist/chunks/calendar.24d0ac04.js.map +1 -0
  170. package/dist/chunks/{checkbox.96ee3f71.js → checkbox.5343e28e.js} +7 -7
  171. package/dist/chunks/{checkbox.96ee3f71.js.map → checkbox.5343e28e.js.map} +1 -1
  172. package/dist/chunks/checkmark.78f3ed9c.js +26 -0
  173. package/dist/chunks/checkmark.78f3ed9c.js.map +1 -0
  174. package/dist/chunks/{chevron-right.3b826337.js → chevron-left.c10778d3.js} +8 -8
  175. package/dist/chunks/chevron-left.c10778d3.js.map +1 -0
  176. package/dist/chunks/{controls-group.e9537e45.js → controls-group.2a21bd83.js} +2 -2
  177. package/dist/chunks/{controls-group.e9537e45.js.map → controls-group.2a21bd83.js.map} +1 -1
  178. package/dist/chunks/{copy.2ff56819.js → copy.346eadb1.js} +4 -4
  179. package/dist/chunks/{copy.2ff56819.js.map → copy.346eadb1.js.map} +1 -1
  180. package/dist/chunks/{dropdown-default-textbox.3df0bf23.js → dropdown-default-textbox.25134789.js} +4 -4
  181. package/dist/chunks/dropdown-default-textbox.25134789.js.map +1 -0
  182. package/dist/chunks/{dropdown.3f198167.js → dropdown.f1253a54.js} +111 -81
  183. package/dist/chunks/dropdown.f1253a54.js.map +1 -0
  184. package/dist/chunks/{error-message.f5454f19.js → error-message.8302a46c.js} +2 -2
  185. package/dist/chunks/{error-message.f5454f19.js.map → error-message.8302a46c.js.map} +1 -1
  186. package/dist/chunks/fixed-scroller.8994e30a.js +108 -0
  187. package/dist/chunks/fixed-scroller.8994e30a.js.map +1 -0
  188. package/dist/chunks/{footer-actions.00d20947.js → footer-actions.c9b2cb74.js} +3 -3
  189. package/dist/chunks/{footer-actions.00d20947.js.map → footer-actions.c9b2cb74.js.map} +1 -1
  190. package/dist/chunks/{index.c39c64c9.js → index.2625175a.js} +2 -2
  191. package/dist/chunks/{index.c39c64c9.js.map → index.2625175a.js.map} +1 -1
  192. package/dist/chunks/index.37283390.js +475 -0
  193. package/dist/chunks/index.37283390.js.map +1 -0
  194. package/dist/chunks/index.8ac70774.js +1328 -0
  195. package/dist/chunks/index.8ac70774.js.map +1 -0
  196. package/dist/chunks/{index.2fce7703.js → index.965ac1af.js} +2 -2
  197. package/dist/chunks/{index.2fce7703.js.map → index.965ac1af.js.map} +1 -1
  198. package/dist/chunks/{index.eb52e785.js → index.a201f750.js} +6 -5
  199. package/dist/chunks/{index.eb52e785.js.map → index.a201f750.js.map} +1 -1
  200. package/dist/chunks/{index.a709a6b0.js → index.b83f8b7e.js} +2 -2
  201. package/dist/chunks/{index.a709a6b0.js.map → index.b83f8b7e.js.map} +1 -1
  202. package/dist/chunks/{index.298f5eed.js → index.d6b5f5e1.js} +6 -6
  203. package/dist/chunks/{index.298f5eed.js.map → index.d6b5f5e1.js.map} +1 -1
  204. package/dist/chunks/{index.31949c1a.js → index.e566354f.js} +91 -74
  205. package/dist/chunks/index.e566354f.js.map +1 -0
  206. package/dist/chunks/{listbox-option-tag.1362a2d7.js → listbox-option-tag.6a09e8e2.js} +8 -7
  207. package/dist/chunks/{listbox-option-tag.1362a2d7.js.map → listbox-option-tag.6a09e8e2.js.map} +1 -1
  208. package/dist/chunks/{listbox.e7bf46e4.js → listbox.73c38f38.js} +479 -385
  209. package/dist/chunks/listbox.73c38f38.js.map +1 -0
  210. package/dist/chunks/{loading-button.0ad06c99.js → loading-button.c65682d6.js} +2 -2
  211. package/dist/chunks/{loading-button.0ad06c99.js.map → loading-button.c65682d6.js.map} +1 -1
  212. package/dist/chunks/refresh.eb485c6f.js +26 -0
  213. package/dist/chunks/refresh.eb485c6f.js.map +1 -0
  214. package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
  215. package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
  216. package/dist/chunks/{tooltip.68e81e9c.js → tooltip.104e5fac.js} +39 -36
  217. package/dist/chunks/{tooltip.68e81e9c.js.map → tooltip.104e5fac.js.map} +1 -1
  218. package/dist/code-snippet.js +7 -7
  219. package/dist/code-snippet.js.map +1 -1
  220. package/dist/country.js +537 -528
  221. package/dist/country.js.map +1 -1
  222. package/dist/currency.js +1 -1
  223. package/dist/data-grid.js +10 -10
  224. package/dist/data-grid.js.map +1 -1
  225. package/dist/date-picker.js +99 -89
  226. package/dist/date-picker.js.map +1 -1
  227. package/dist/date-range-picker.js +2 -2
  228. package/dist/date.js +1 -1
  229. package/dist/divider.js +1 -1
  230. package/dist/dropdown.js +4 -4
  231. package/dist/empty-state.js +8 -7
  232. package/dist/empty-state.js.map +1 -1
  233. package/dist/filter-bar.js +500 -486
  234. package/dist/filter-bar.js.map +1 -1
  235. package/dist/focus-trap.js +1 -1
  236. package/dist/form-layout.js +2 -2
  237. package/dist/header.js +104 -183
  238. package/dist/header.js.map +1 -1
  239. package/dist/image.js +3 -3
  240. package/dist/index.js +171 -169
  241. package/dist/index.js.map +1 -1
  242. package/dist/info-icon.js +3 -3
  243. package/dist/input-field.js +7 -7
  244. package/dist/internal.js +20 -106
  245. package/dist/internal.js.map +1 -1
  246. package/dist/link.js +2 -2
  247. package/dist/loading-indicator.js +1 -1
  248. package/dist/menu.js +3 -466
  249. package/dist/menu.js.map +1 -1
  250. package/dist/modal.js +3 -3
  251. package/dist/pagination.js +40 -26
  252. package/dist/pagination.js.map +1 -1
  253. package/dist/payment-method.js +33 -26
  254. package/dist/payment-method.js.map +1 -1
  255. package/dist/popover.js +4 -4
  256. package/dist/popper-container.js +6 -1270
  257. package/dist/popper-container.js.map +1 -1
  258. package/dist/radio-group.js +97 -81
  259. package/dist/radio-group.js.map +1 -1
  260. package/dist/search-bar.js +2 -2
  261. package/dist/segmented-control.js +100 -70
  262. package/dist/segmented-control.js.map +1 -1
  263. package/dist/sidepanel.js +53 -51
  264. package/dist/sidepanel.js.map +1 -1
  265. package/dist/status.js +2 -2
  266. package/dist/stepper.js +3 -3
  267. package/dist/structured-list.js +1 -1
  268. package/dist/summary-grid.js +109 -119
  269. package/dist/summary-grid.js.map +1 -1
  270. package/dist/tabs.js +81 -71
  271. package/dist/tabs.js.map +1 -1
  272. package/dist/tag.js +3 -3
  273. package/dist/textarea.js +4 -4
  274. package/dist/timeline.js +170 -162
  275. package/dist/timeline.js.map +1 -1
  276. package/dist/toast.js +3 -3
  277. package/dist/toggle.js +6 -6
  278. package/dist/tutorial.js +307 -0
  279. package/dist/tutorial.js.map +1 -0
  280. package/dist/typography.js +1 -1
  281. package/dist/web-types.json +828 -122
  282. package/package.json +7 -4
  283. package/dist/assets/chevron-right.css +0 -1
  284. package/dist/chunks/button.eb60d460.js +0 -117
  285. package/dist/chunks/button.eb60d460.js.map +0 -1
  286. package/dist/chunks/calendar.b74f8a0f.js.map +0 -1
  287. package/dist/chunks/chevron-right.3b826337.js.map +0 -1
  288. package/dist/chunks/dropdown-default-textbox.3df0bf23.js.map +0 -1
  289. package/dist/chunks/dropdown.3f198167.js.map +0 -1
  290. package/dist/chunks/index.31949c1a.js.map +0 -1
  291. package/dist/chunks/listbox.e7bf46e4.js.map +0 -1
package/dist/timeline.js CHANGED
@@ -1,64 +1,66 @@
1
- import { defineComponent as j, ref as N, computed as c, toRefs as q, provide as M, inject as R, onUnmounted as z } from "vue";
2
- import { n as T } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
3
- import { a as H } from "./chunks/button.eb60d460.js";
4
- import { B as J } from "./chunks/index.a709a6b0.js";
5
- import { BentoTag as K } from "./tag.js";
6
- import { B as P } from "./chunks/index.2fce7703.js";
7
- import { B as V, a as Z, S as Q } from "./chunks/index.298f5eed.js";
8
- import { C as W } from "./chunks/checkmark-circle-fill.2cfbb81b.js";
9
- import { C as X } from "./chunks/cross-circle-fill.d5e9ae44.js";
10
- import { r as G, e as ee, t as C, g as A } from "./chunks/index.f55fdc32.js";
11
- import { c as te, a as ie } from "./chunks/index.86453263.js";
12
- import { g as ae } from "./chunks/unique-id.a2a2b458.js";
13
- import { u as se } from "./chunks/i18n.155748d6.js";
14
- import "./assets/index21.css";
15
- var O = 1e3 * 60, y = 60 * 24, D = y * 30, F = y * 365;
16
- function U(t, e) {
1
+ import { defineComponent as $, ref as O, computed as c, toRefs as P, provide as M, inject as R, onUnmounted as J } from "vue";
2
+ import { n as L } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
3
+ import { a as K } from "./chunks/button.e09d5980.js";
4
+ import { B as V } from "./chunks/index.b83f8b7e.js";
5
+ import { BentoLink as Z } from "./link.js";
6
+ import { BentoTag as Q } from "./tag.js";
7
+ import { B as W } from "./chunks/index.965ac1af.js";
8
+ import { B as X, a as G, S as tt } from "./chunks/index.d6b5f5e1.js";
9
+ import { C as et } from "./chunks/checkmark-circle-fill.2cfbb81b.js";
10
+ import { C as it } from "./chunks/cross-circle-fill.d5e9ae44.js";
11
+ import { r as st, e as at, t as C, g as A } from "./chunks/index.f55fdc32.js";
12
+ import { c as nt, a as rt } from "./chunks/index.86453263.js";
13
+ import { g as lt } from "./chunks/unique-id.a2a2b458.js";
14
+ import { u as ot } from "./chunks/i18n.155748d6.js";
15
+ import { u as mt } from "./chunks/use-has-slot.6052d56a.js";
16
+ import "./assets/index32.css";
17
+ var D = 1e3 * 60, y = 60 * 24, F = y * 30, k = y * 365;
18
+ function U(e, t) {
17
19
  var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
18
- G(2, arguments);
19
- var a = i.locale || ee;
20
- if (!a.formatDistance)
20
+ st(2, arguments);
21
+ var s = i.locale || at;
22
+ if (!s.formatDistance)
21
23
  throw new RangeError("locale must contain localize.formatDistance property");
22
- var f = te(t, e);
24
+ var f = nt(e, t);
23
25
  if (isNaN(f))
24
26
  throw new RangeError("Invalid time value");
25
- var n = ie(i);
26
- n.addSuffix = !!i.addSuffix, n.comparison = f;
27
- var o, d;
28
- f > 0 ? (o = C(e), d = C(t)) : (o = C(t), d = C(e));
29
- var v = i.roundingMethod == null ? "round" : String(i.roundingMethod), m;
27
+ var l = rt(i);
28
+ l.addSuffix = !!i.addSuffix, l.comparison = f;
29
+ var u, o;
30
+ f > 0 ? (u = C(t), o = C(e)) : (u = C(e), o = C(t));
31
+ var v = i.roundingMethod == null ? "round" : String(i.roundingMethod), r;
30
32
  if (v === "floor")
31
- m = Math.floor;
33
+ r = Math.floor;
32
34
  else if (v === "ceil")
33
- m = Math.ceil;
35
+ r = Math.ceil;
34
36
  else if (v === "round")
35
- m = Math.round;
37
+ r = Math.round;
36
38
  else
37
39
  throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
38
- var s = d.getTime() - o.getTime(), l = s / O, u = A(d) - A(o), _ = (s - u) / O, r;
39
- if (i.unit == null ? l < 1 ? r = "second" : l < 60 ? r = "minute" : l < y ? r = "hour" : _ < D ? r = "day" : _ < F ? r = "month" : r = "year" : r = String(i.unit), r === "second") {
40
- var b = m(s / 1e3);
41
- return a.formatDistance("xSeconds", b, n);
42
- } else if (r === "minute") {
43
- var I = m(l);
44
- return a.formatDistance("xMinutes", I, n);
45
- } else if (r === "hour") {
46
- var E = m(l / 60);
47
- return a.formatDistance("xHours", E, n);
48
- } else if (r === "day") {
49
- var S = m(_ / y);
50
- return a.formatDistance("xDays", S, n);
51
- } else if (r === "month") {
52
- var h = m(_ / D);
53
- return h === 12 && i.unit !== "month" ? a.formatDistance("xYears", 1, n) : a.formatDistance("xMonths", h, n);
54
- } else if (r === "year") {
55
- var w = m(_ / F);
56
- return a.formatDistance("xYears", w, n);
40
+ var a = o.getTime() - u.getTime(), m = a / D, d = A(o) - A(u), _ = (a - d) / D, n;
41
+ if (i.unit == null ? m < 1 ? n = "second" : m < 60 ? n = "minute" : m < y ? n = "hour" : _ < F ? n = "day" : _ < k ? n = "month" : n = "year" : n = String(i.unit), n === "second") {
42
+ var I = r(a / 1e3);
43
+ return s.formatDistance("xSeconds", I, l);
44
+ } else if (n === "minute") {
45
+ var E = r(m);
46
+ return s.formatDistance("xMinutes", E, l);
47
+ } else if (n === "hour") {
48
+ var S = r(m / 60);
49
+ return s.formatDistance("xHours", S, l);
50
+ } else if (n === "day") {
51
+ var g = r(_ / y);
52
+ return s.formatDistance("xDays", g, l);
53
+ } else if (n === "month") {
54
+ var b = r(_ / F);
55
+ return b === 12 && i.unit !== "month" ? s.formatDistance("xYears", 1, l) : s.formatDistance("xMonths", b, l);
56
+ } else if (n === "year") {
57
+ var T = r(_ / k);
58
+ return s.formatDistance("xYears", T, l);
57
59
  }
58
60
  throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
59
61
  }
60
- var p = /* @__PURE__ */ ((t) => (t.BOTTOM = "bottom", t.AFTER_FIRST = "after-first", t.BEFORE_LAST = "before-last", t))(p || {}), ne = /* @__PURE__ */ ((t) => (t.SECOND = "second", t.MINUTE = "minute", t.HOUR = "hour", t.DAY = "day", t.MONTH = "month", t.YEAR = "year", t))(ne || {}), g = /* @__PURE__ */ ((t) => (t.DEFAULT = "SquareSmallIcon", t.SUCCESS = "CheckedCircleIcon", t.CRITICAL = "CrossCircleIcon", t))(g || {});
61
- const k = Symbol("timeline register entry injection key"), Y = Symbol("timeline config obj injection key"), re = j({
62
+ var p = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(p || {}), ct = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(ct || {}), h = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(h || {});
63
+ const B = Symbol("timeline register entry injection key"), Y = Symbol("timeline config obj injection key"), _t = $({
62
64
  name: "bento-timeline",
63
65
  props: {
64
66
  /**
@@ -79,98 +81,99 @@ const k = Symbol("timeline register entry injection key"), Y = Symbol("timeline
79
81
  default: null
80
82
  }
81
83
  },
82
- setup(t) {
83
- const e = N([]), i = c(
84
- () => t.showMore && e.value.length > t.showMore.limit ? e.value.length - t.showMore.limit : null
85
- ), a = N(!1), { timegapLimit: f } = q(t), n = c(() => {
86
- if (!t.showMore)
84
+ setup(e) {
85
+ const t = O([]), i = c(
86
+ () => e.showMore && t.value.length > e.showMore.limit ? t.value.length - e.showMore.limit : null
87
+ ), s = O(!1), { timegapLimit: f } = P(e), l = c(() => {
88
+ if (!e.showMore)
87
89
  return null;
88
- const s = Array.from(e.value.keys());
89
- return t.showMore.placement === p.BEFORE_LAST ? [
90
- ...s.slice(0, t.showMore.limit - 1),
91
- s[s.length - 1]
92
- ] : t.showMore.placement === p.AFTER_FIRST ? [s[0], ...s.slice(-(t.showMore.limit - 1))] : s.slice(0, t.showMore.limit);
93
- }), o = c(() => {
94
- if (!t.showMore)
90
+ const a = Array.from(t.value.keys());
91
+ return e.showMore.placement === p.BEFORE_LAST ? [
92
+ ...a.slice(0, e.showMore.limit - 1),
93
+ a[a.length - 1]
94
+ ] : e.showMore.placement === p.AFTER_FIRST ? [a[0], ...a.slice(-(e.showMore.limit - 1))] : a.slice(0, e.showMore.limit);
95
+ }), u = c(() => {
96
+ if (!e.showMore)
95
97
  return null;
96
- switch (t.showMore.placement) {
98
+ switch (e.showMore.placement) {
97
99
  case p.BEFORE_LAST:
98
- return t.showMore.limit - 2;
100
+ return e.showMore.limit - 2;
99
101
  case p.AFTER_FIRST:
100
102
  return 0;
101
103
  case p.BOTTOM:
102
104
  default:
103
- return t.showMore.limit - 1;
105
+ return e.showMore.limit - 1;
104
106
  }
105
- }), d = (s) => () => {
106
- var l;
107
- e.value = (l = e.value) == null ? void 0 : l.filter((u, _) => _ !== s);
108
- }, v = ({ title: s, date: l }) => {
109
- const u = e.value.length;
110
- return e.value.push({ title: s, date: l }), { timelineEntries: e, index: u, unregisterTimelineEntry: d(u) };
111
- }, m = {
112
- showAll: a,
113
- showMoreIndex: o,
107
+ }), o = (a) => () => {
108
+ var m;
109
+ t.value = (m = t.value) == null ? void 0 : m.filter((d, _) => _ !== a);
110
+ }, v = ({ title: a, date: m }) => {
111
+ const d = t.value.length;
112
+ return t.value.push({ title: a, date: m }), { timelineEntries: t, index: d, unregisterTimelineEntry: o(d) };
113
+ }, r = {
114
+ showAll: s,
115
+ showMoreIndex: u,
114
116
  hiddenItems: i,
115
- visibleIndexes: n,
117
+ visibleIndexes: l,
116
118
  timegapLimit: f
117
119
  };
118
- M(k, v), M(Y, m);
120
+ M(B, v), M(Y, r);
119
121
  }
120
122
  });
121
- var le = function() {
122
- var e = this, i = e._self._c;
123
- return e._self._setupProxy, i("ol", { staticClass: "b-timeline" }, [e._t("default")], 2);
124
- }, oe = [], me = /* @__PURE__ */ T(
125
- re,
126
- le,
127
- oe,
123
+ var ut = function() {
124
+ var t = this, i = t._self._c;
125
+ return t._self._setupProxy, i("ol", { staticClass: "b-timeline" }, [t._t("default")], 2);
126
+ }, dt = [], ft = /* @__PURE__ */ L(
127
+ _t,
128
+ ut,
129
+ dt,
128
130
  !1,
129
131
  null,
130
132
  "cc50a8c5",
131
133
  null,
132
134
  null
133
135
  );
134
- const Oe = me.exports;
135
- let $ = 0;
136
- const ce = {
136
+ const Bt = ft.exports;
137
+ let j = 0;
138
+ const vt = {
137
139
  beforeCreate() {
138
- this.uuid = $.toString(), $ += 1;
140
+ this.uuid = j.toString(), j += 1;
139
141
  }
140
142
  };
141
- var _e = function() {
142
- var e = this, i = e._self._c;
143
- return i("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? i("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), i("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M5.5 3.25C4.25736 3.25 3.25 4.25736 3.25 5.5V10.5C3.25 11.7426 4.25736 12.75 5.5 12.75H10.5C11.7426 12.75 12.75 11.7426 12.75 10.5V5.5C12.75 4.25736 11.7426 3.25 10.5 3.25H5.5Z", "clip-rule": "evenodd" } })]);
144
- }, ue = [], de = /* @__PURE__ */ T(
145
- ce,
146
- _e,
147
- ue,
143
+ var ht = function() {
144
+ var t = this, i = t._self._c;
145
+ return i("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? i("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), i("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M5.5 3.25C4.25736 3.25 3.25 4.25736 3.25 5.5V10.5C3.25 11.7426 4.25736 12.75 5.5 12.75H10.5C11.7426 12.75 12.75 11.7426 12.75 10.5V5.5C12.75 4.25736 11.7426 3.25 10.5 3.25H5.5Z", "clip-rule": "evenodd" } })]);
146
+ }, pt = [], gt = /* @__PURE__ */ L(
147
+ vt,
148
+ ht,
149
+ pt,
148
150
  !1,
149
151
  null,
150
152
  "f702de38",
151
153
  null,
152
154
  null
153
155
  );
154
- const ve = de.exports, fe = {
156
+ const bt = gt.exports, Ct = {
155
157
  "en-US": {
156
158
  timegap: "{timegap} passed between the timeline events",
157
159
  showMore: "Show {items} more",
158
160
  showLess: "Show less"
159
161
  }
160
- }, ge = j({
162
+ }, yt = $({
161
163
  name: "bento-timeline-item",
162
164
  components: {
163
- BentoButton: H,
164
- BentoDate: J,
165
- BentoTag: K,
166
- BentoTypography: P,
167
- BentoStructuredList: V,
168
- BentoStructuredListItem: Z,
169
- CrossCircleIcon: X,
170
- CheckedCircleIcon: W,
171
- SquareSmallIcon: ve
165
+ BentoButton: K,
166
+ BentoDate: V,
167
+ BentoLink: Z,
168
+ BentoTag: Q,
169
+ BentoTypography: W,
170
+ BentoStructuredList: X,
171
+ BentoStructuredListItem: G,
172
+ CrossCircleIcon: it,
173
+ CheckedCircleIcon: et,
174
+ SquareSmallIcon: bt
172
175
  },
173
- i18n: { messages: fe },
176
+ i18n: { messages: Ct },
174
177
  props: {
175
178
  /**
176
179
  * Additional timestamp of the event
@@ -211,7 +214,7 @@ const ve = de.exports, fe = {
211
214
  * Title of the event
212
215
  */
213
216
  title: {
214
- type: String,
217
+ type: [Object, String],
215
218
  required: !0
216
219
  },
217
220
  /**
@@ -220,83 +223,88 @@ const ve = de.exports, fe = {
220
223
  */
221
224
  variant: {
222
225
  type: String,
223
- default: g.DEFAULT,
224
- validator: (t) => Object.values(g).includes(t)
226
+ default: h.DEFAULT,
227
+ validator: (e) => Object.values(h).includes(e)
225
228
  }
226
229
  },
227
- setup(t) {
228
- const { t: e } = se(), i = c(() => ({
229
- "b-timeline-item__icon--default": t.variant === g.DEFAULT,
230
- "b-timeline-item__icon--success": t.variant === g.SUCCESS,
231
- "b-timeline-item__icon--critical": t.variant === g.CRITICAL
232
- })), a = c(() => ({
233
- "b-timeline-item__title--default": t.variant === g.DEFAULT
230
+ setup(e, { slots: t }) {
231
+ const { t: i } = ot(), s = c(() => ({
232
+ "b-timeline-item__icon--default": e.variant === h.DEFAULT,
233
+ "b-timeline-item__icon--success": e.variant === h.SUCCESS,
234
+ "b-timeline-item__icon--critical": e.variant === h.CRITICAL
235
+ })), f = c(() => ({
236
+ "b-timeline-item__title--default": e.variant === h.DEFAULT
234
237
  }));
235
- M(Q, !0);
236
- const f = R(k), { timelineEntries: n, index: o, unregisterTimelineEntry: d } = f({
237
- title: t.title,
238
- date: t.timestamp.date
238
+ M(tt, !0);
239
+ const l = R(B), { timelineEntries: u, index: o, unregisterTimelineEntry: v } = l({
240
+ title: e.title,
241
+ date: e.timestamp.date
239
242
  });
240
- z(() => d());
241
- const { showAll: v, showMoreIndex: m, hiddenItems: s, visibleIndexes: l, timegapLimit: u } = R(Y), _ = c(() => v.value || !l.value), r = c(() => _.value ? !0 : l.value.includes(o)), b = c(() => {
242
- var x;
243
- if (!u.value)
243
+ J(() => v());
244
+ const { showAll: r, showMoreIndex: a, hiddenItems: m, visibleIndexes: d, timegapLimit: _ } = R(Y), n = c(() => r.value || !d.value), I = c(() => n.value ? !0 : d.value.includes(o)), E = c(() => typeof e.title == "object"), S = c(() => e.title), g = c(() => {
245
+ var N;
246
+ if (!_.value)
244
247
  return null;
245
- const h = (x = n.value[o - 1]) == null ? void 0 : x.date, w = _.value || l.value.includes(o - 1);
246
- if (!h || !w)
248
+ const w = (N = u.value[o - 1]) == null ? void 0 : N.date, q = n.value || d.value.includes(o - 1);
249
+ if (!w || !q)
247
250
  return null;
248
- const { date: L } = n.value[o], B = parseInt(
249
- U(h, L, { unit: u.value.unit }),
251
+ const { date: x } = u.value[o], z = parseInt(
252
+ U(w, x, { unit: _.value.unit }),
250
253
  10
251
254
  );
252
- return u.value.amount < B ? U(h, L, { roundingMethod: "floor" }) : null;
253
- }), I = c(() => b.value ? e("timegap", { timegap: b.value }) : ""), E = c(() => s.value && m.value === o), S = c(() => o === n.value.length - 1);
255
+ return _.value.amount < z ? U(w, x, { roundingMethod: "floor" }) : null;
256
+ }), b = c(() => g.value ? i("timegap", { timegap: g.value }) : ""), T = c(() => m.value && a.value === o), H = c(() => o === u.value.length - 1);
254
257
  return {
255
258
  // Values
256
- iconConditionalClasses: i,
257
- titleConditionalClasses: a,
258
- displayShowMoreButton: E,
259
- showAll: v,
260
- hiddenItems: s,
261
- isVisible: r,
262
- timegap: b,
263
- timegapAriaLabel: I,
264
- isLastItem: S,
259
+ iconConditionalClasses: s,
260
+ titleConditionalClasses: f,
261
+ displayShowMoreButton: T,
262
+ showAll: r,
263
+ hiddenItems: m,
264
+ isVisible: I,
265
+ isLinkTitle: E,
266
+ linkTitleProps: S,
267
+ timegap: g,
268
+ timegapAriaLabel: b,
269
+ isLastItem: H,
265
270
  // Methods
266
- generateUid: ae,
267
- t: e
271
+ generateUid: lt,
272
+ hasSlot: mt(t),
273
+ t: i
268
274
  };
269
275
  }
270
276
  });
271
- var he = function() {
272
- var e = this, i = e._self._c;
273
- return e._self._setupProxy, e.isVisible ? i("li", { staticClass: "b-timeline-item" }, [e.timegap ? i("div", { staticClass: "b-timeline-item__row" }, [e._m(0), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-typography", { staticClass: "b-timeline-item__timegap", attrs: { "aria-label": e.timegapAriaLabel } }, [e._v(" " + e._s(e.timegap) + " ")])], 1)]) : e._e(), i("div", { staticClass: "b-timeline-item__row" }, [i("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [i(e.variant, { tag: "component", staticClass: "b-timeline-item__icon", class: e.iconConditionalClasses }), e.isLastItem ? e._e() : i("div", { staticClass: "b-timeline-item__separator", attrs: { "data-testid": "last-timeline-item-separator" } })], 1), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-typography", { staticClass: "b-timeline-item__title", class: e.titleConditionalClasses, attrs: { el: "div", variant: "body", strongest: "", role: "heading" } }, [e._v(e._s(e.title))]), e.timestamp ? i("bento-typography", { staticClass: "b-timeline-item__timestamp", attrs: { el: "div", variant: "caption" } }, [i("bento-date", { attrs: { date: e.timestamp.date, format: e.timestamp.format, "disable-typography": "" } }), e._v(" " + e._s(e.timestamp.value) + " ")], 1) : e._e(), e.additionalTimestamp ? i("bento-typography", { staticClass: "b-timeline-item__timestamp", attrs: { el: "div", variant: "caption" } }, [i("bento-date", { attrs: { date: e.additionalTimestamp.date, format: e.additionalTimestamp.format, "disable-typography": "" } }), e._v(" " + e._s(e.additionalTimestamp.value) + " ")], 1) : e._e(), e.description ? i("bento-typography", { staticClass: "b-timeline-item__description", attrs: { el: "div", variant: "body" } }, [e._v(e._s(e.description))]) : e._e(), e.dataList ? i("div", { staticClass: "b-timeline-item__data-list" }, [i("bento-structured-list", e._l(e.dataList, function(a) {
274
- return i("bento-structured-list-item", { key: e.generateUid(a.label), attrs: { label: a.label } }, [i("bento-typography", { attrs: { variant: "caption" } }, [e._v(e._s(a.value))])], 1);
275
- }), 1)], 1) : e._e(), e.tag ? i("bento-tag", e._b({ staticClass: "b-timeline-item__tag" }, "bento-tag", e.tag, !1)) : e._e()], 1)]), e.displayShowMoreButton ? i("div", { staticClass: "b-timeline-item__row" }, [e._m(1), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-button", { staticClass: "b-timeline__show-more", attrs: { variant: "tertiary" }, on: { click: function(a) {
276
- e.showAll = !e.showAll;
277
- } } }, [e.showAll ? [e._v(e._s(e.t("showLess")))] : [e._v(e._s(e.t("showMore", { items: e.hiddenItems })))]], 2)], 1)]) : e._e()]) : e._e();
278
- }, pe = [function() {
279
- var t = this, e = t._self._c;
280
- return t._self._setupProxy, e("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [e("div", { staticClass: "b-timeline-item__icon b-timeline-item__icon--timegap" }), e("div", { staticClass: "b-timeline-item__separator" })]);
277
+ var It = function() {
278
+ var t = this, i = t._self._c;
279
+ return t._self._setupProxy, t.isVisible ? i("li", { staticClass: "b-timeline-item" }, [t.timegap ? i("div", { staticClass: "b-timeline-item__row" }, [t._m(0), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-typography", { staticClass: "b-timeline-item__timegap", attrs: { "aria-label": t.timegapAriaLabel } }, [t._v(" " + t._s(t.timegap) + " ")])], 1)]) : t._e(), i("div", { staticClass: "b-timeline-item__row" }, [i("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [i(t.variant, { tag: "component", staticClass: "b-timeline-item__icon", class: t.iconConditionalClasses }), t.isLastItem ? t._e() : i("div", { staticClass: "b-timeline-item__separator", attrs: { "data-testid": "last-timeline-item-separator" } })], 1), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-typography", { staticClass: "b-timeline-item__title", class: t.titleConditionalClasses, attrs: { el: "div", variant: "body", strongest: "", role: "heading" } }, [t.isLinkTitle ? i("bento-link", t._b({ attrs: { "disable-typography": "" } }, "bento-link", t.linkTitleProps, !1), [t._v(t._s(t.linkTitleProps.title))]) : i("span", [t._v(t._s(t.title))])], 1), t.timestamp ? i("bento-typography", { staticClass: "b-timeline-item__timestamp", attrs: { el: "div", variant: "caption" } }, [i("bento-date", { attrs: { date: t.timestamp.date, format: t.timestamp.format, "disable-typography": "" } }), t._v(" " + t._s(t.timestamp.value) + " ")], 1) : t._e(), t.additionalTimestamp ? i("bento-typography", { staticClass: "b-timeline-item__timestamp", attrs: { el: "div", variant: "caption" } }, [i("bento-date", { attrs: { date: t.additionalTimestamp.date, format: t.additionalTimestamp.format, "disable-typography": "" } }), t._v(" " + t._s(t.additionalTimestamp.value) + " ")], 1) : t._e(), t.description || t.hasSlot("default") ? i("bento-typography", { staticClass: "b-timeline-item__description", attrs: { el: "div", variant: "body" } }, [t._t("default", function() {
280
+ return [t._v(t._s(t.description))];
281
+ })], 2) : t._e(), t.dataList ? i("div", { staticClass: "b-timeline-item__data-list" }, [i("bento-structured-list", t._l(t.dataList, function(s) {
282
+ return i("bento-structured-list-item", { key: t.generateUid(s.label), attrs: { label: s.label } }, [i("bento-typography", { attrs: { variant: "caption" } }, [t._v(t._s(s.value))])], 1);
283
+ }), 1)], 1) : t._e(), t.tag ? i("bento-tag", t._b({ staticClass: "b-timeline-item__tag" }, "bento-tag", t.tag, !1)) : t._e()], 1)]), t.displayShowMoreButton ? i("div", { staticClass: "b-timeline-item__row" }, [t._m(1), i("div", { staticClass: "b-timeline-item__content" }, [i("bento-button", { staticClass: "b-timeline__show-more", attrs: { variant: "tertiary" }, on: { click: function(s) {
284
+ t.showAll = !t.showAll;
285
+ } } }, [t.showAll ? [t._v(t._s(t.t("showLess")))] : [t._v(t._s(t.t("showMore", { items: t.hiddenItems })))]], 2)], 1)]) : t._e()]) : t._e();
286
+ }, Et = [function() {
287
+ var e = this, t = e._self._c;
288
+ return e._self._setupProxy, t("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [t("div", { staticClass: "b-timeline-item__icon b-timeline-item__icon--timegap" }), t("div", { staticClass: "b-timeline-item__separator" })]);
281
289
  }, function() {
282
- var t = this, e = t._self._c;
283
- return t._self._setupProxy, e("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [e("div", { staticClass: "b-timeline-item__separator" })]);
284
- }], be = /* @__PURE__ */ T(
285
- ge,
286
- he,
287
- pe,
290
+ var e = this, t = e._self._c;
291
+ return e._self._setupProxy, t("div", { staticClass: "b-timeline-item__marker", attrs: { "aria-hidden": "true" } }, [t("div", { staticClass: "b-timeline-item__separator" })]);
292
+ }], St = /* @__PURE__ */ L(
293
+ yt,
294
+ It,
295
+ Et,
288
296
  !1,
289
297
  null,
290
- "3fb349f6",
298
+ "e138721f",
291
299
  null,
292
300
  null
293
301
  );
294
- const De = be.exports;
302
+ const Yt = St.exports;
295
303
  export {
296
- Oe as BentoTimeline,
297
- ne as BentoTimelineGapUnit,
298
- De as BentoTimelineItem,
299
- g as BentoTimelineItemVariant,
304
+ Bt as BentoTimeline,
305
+ ct as BentoTimelineGapUnit,
306
+ Yt as BentoTimelineItem,
307
+ h as BentoTimelineItemVariant,
300
308
  p as BentoTimelineShowMorePlacement
301
309
  };
302
310
  //# sourceMappingURL=timeline.js.map