@adyen/bento-vue3 1.28.1 → 1.29.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 (242) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/packages/core/src/types/index.d.ts +1 -0
  3. package/dist/@types/packages/vue2/src/components/{internal/avatar → avatar}/avatar.vue.d.ts +4 -4
  4. package/dist/@types/packages/vue2/src/components/{avatar-image → avatar/components/avatar-image}/avatar-image.vue.d.ts +15 -4
  5. package/dist/@types/packages/vue2/src/components/button/components/loading-button/index.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -3
  7. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +4 -4
  8. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +3 -3
  9. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +16 -0
  10. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +10 -1
  11. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +6 -2
  12. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +6 -4
  13. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +2 -0
  14. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +3 -0
  15. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +2 -0
  16. package/dist/@types/packages/vue2/src/components/inspector/index.d.ts +2 -0
  17. package/dist/@types/packages/vue2/src/components/inspector/inspector.d.ts +2 -0
  18. package/dist/@types/packages/vue2/src/components/inspector/inspector.types.d.ts +2 -0
  19. package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +110 -0
  20. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +0 -1
  21. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
  22. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -4
  23. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +3 -3
  24. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +12 -1
  25. package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
  27. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +4 -4
  28. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +3 -3
  29. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +7 -7
  30. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +1 -1
  31. package/dist/@types/packages/vue2/src/index.d.ts +2 -0
  32. package/dist/@types/packages/vue2/src/types/index.d.ts +1 -1
  33. package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
  34. package/dist/action-bar.js +1 -1
  35. package/dist/assets/accordion-item.css +1 -1
  36. package/dist/assets/action-bar.css +1 -1
  37. package/dist/assets/avatar.css +1 -0
  38. package/dist/assets/base-modal.css +1 -1
  39. package/dist/assets/card.css +1 -1
  40. package/dist/assets/code-snippet.css +1 -1
  41. package/dist/assets/data-grid.css +1 -1
  42. package/dist/assets/dialog-page.css +1 -1
  43. package/dist/assets/dropdown-default-textbox.css +1 -1
  44. package/dist/assets/dropdown.css +1 -1
  45. package/dist/assets/error-message.css +1 -1
  46. package/dist/assets/filter-bar.css +1 -1
  47. package/dist/assets/input-field.css +1 -1
  48. package/dist/assets/inspector.css +1 -0
  49. package/dist/assets/listbox-option-tag.css +1 -1
  50. package/dist/assets/loading-button.css +1 -1
  51. package/dist/assets/menu.css +1 -1
  52. package/dist/assets/modal-fullscreen.css +1 -1
  53. package/dist/assets/popover.css +1 -1
  54. package/dist/assets/radio-group.css +1 -1
  55. package/dist/assets/search-bar.css +1 -1
  56. package/dist/assets/secondary-nav.css +1 -1
  57. package/dist/assets/segmented-control.css +1 -1
  58. package/dist/assets/selection-card-group.css +1 -1
  59. package/dist/assets/sidepanel.css +1 -1
  60. package/dist/assets/structured-list-item.css +1 -1
  61. package/dist/assets/textarea.css +1 -1
  62. package/dist/assets/timeline-item.css +1 -1
  63. package/dist/avatar.js +5 -0
  64. package/dist/avatar.js.map +1 -0
  65. package/dist/button.js +2 -2
  66. package/dist/card.js +1 -1
  67. package/dist/checkbox.js +2 -2
  68. package/dist/chunks/{action-bar.BvAtk-jI.js → action-bar.UcSSukRr.js} +5 -5
  69. package/dist/chunks/{action-bar.BvAtk-jI.js.map → action-bar.UcSSukRr.js.map} +1 -1
  70. package/dist/chunks/avatar.IHx0kN0u.js +94 -0
  71. package/dist/chunks/avatar.IHx0kN0u.js.map +1 -0
  72. package/dist/chunks/{base-modal.BgYlnM_Q.js → base-modal.CY-t-QYh.js} +2 -2
  73. package/dist/chunks/{base-modal.BgYlnM_Q.js.map → base-modal.CY-t-QYh.js.map} +1 -1
  74. package/dist/chunks/{button-actions-with-menu.C14zvgVo.js → button-actions-with-menu.Dnyh1m51.js} +4 -4
  75. package/dist/chunks/{button-actions-with-menu.C14zvgVo.js.map → button-actions-with-menu.Dnyh1m51.js.map} +1 -1
  76. package/dist/chunks/{button-actions.hGhRdgC2.js → button-actions.BpLFzJJY.js} +2 -2
  77. package/dist/chunks/{button-actions.hGhRdgC2.js.map → button-actions.BpLFzJJY.js.map} +1 -1
  78. package/dist/chunks/{card.C7zLKdcy.js → card.DOQt8sH5.js} +2 -2
  79. package/dist/chunks/{card.C7zLKdcy.js.map → card.DOQt8sH5.js.map} +1 -1
  80. package/dist/chunks/{checkbox-group.BcT-eZ2p.js → checkbox-group.DS_f6k8E.js} +4 -4
  81. package/dist/chunks/{checkbox-group.BcT-eZ2p.js.map → checkbox-group.DS_f6k8E.js.map} +1 -1
  82. package/dist/chunks/{checkbox.xjIFibII.js → checkbox.C5cMvVMm.js} +3 -3
  83. package/dist/chunks/{checkbox.xjIFibII.js.map → checkbox.C5cMvVMm.js.map} +1 -1
  84. package/dist/chunks/{code-snippet.e8bxDBCO.js → code-snippet.68epWI-z.js} +184 -208
  85. package/dist/chunks/code-snippet.68epWI-z.js.map +1 -0
  86. package/dist/chunks/{controls-group.DWu8NqKL.js → controls-group.fAwpZLvA.js} +2 -2
  87. package/dist/chunks/{controls-group.DWu8NqKL.js.map → controls-group.fAwpZLvA.js.map} +1 -1
  88. package/dist/chunks/{copy.BhO7oRgC.js → copy.B6CXENok.js} +3 -3
  89. package/dist/chunks/{copy.BhO7oRgC.js.map → copy.B6CXENok.js.map} +1 -1
  90. package/dist/chunks/cross-circle-fill-small.DiZWEd7W.js +29 -0
  91. package/dist/chunks/cross-circle-fill-small.DiZWEd7W.js.map +1 -0
  92. package/dist/chunks/{dashboard-section.DKeDjvkB.js → dashboard-section.Bzj5vzTE.js} +3 -3
  93. package/dist/chunks/{dashboard-section.DKeDjvkB.js.map → dashboard-section.Bzj5vzTE.js.map} +1 -1
  94. package/dist/chunks/{dashed-underline.DGTW7Y_-.js → dashed-underline.SEXinixe.js} +3 -3
  95. package/dist/chunks/{dashed-underline.DGTW7Y_-.js.map → dashed-underline.SEXinixe.js.map} +1 -1
  96. package/dist/chunks/{data-grid-template.6Nls-D4o.js → data-grid-template.BRRSej-5.js} +2 -2
  97. package/dist/chunks/{data-grid-template.6Nls-D4o.js.map → data-grid-template.BRRSej-5.js.map} +1 -1
  98. package/dist/chunks/{data-grid.CTLlk_RW.js → data-grid.D0dri6Lc.js} +15 -15
  99. package/dist/chunks/{data-grid.CTLlk_RW.js.map → data-grid.D0dri6Lc.js.map} +1 -1
  100. package/dist/chunks/{date-picker.CoPmllNh.js → date-picker.NKXc916N.js} +15 -15
  101. package/dist/chunks/{date-picker.CoPmllNh.js.map → date-picker.NKXc916N.js.map} +1 -1
  102. package/dist/chunks/{date-range-picker.C36PxTCQ.js → date-range-picker.DXdh7SCV.js} +13 -13
  103. package/dist/chunks/{date-range-picker.C36PxTCQ.js.map → date-range-picker.DXdh7SCV.js.map} +1 -1
  104. package/dist/chunks/{dropdown-default-textbox.-Oy2eT40.js → dropdown-default-textbox.Bx0-dxhU.js} +112 -96
  105. package/dist/chunks/dropdown-default-textbox.Bx0-dxhU.js.map +1 -0
  106. package/dist/chunks/{dropdown-tag.C-LxVWlt.js → dropdown-tag.DPTV12uX.js} +14 -13
  107. package/dist/chunks/dropdown-tag.DPTV12uX.js.map +1 -0
  108. package/dist/chunks/{dropdown.CxBlK83Q.js → dropdown.CoVT4i0B.js} +360 -349
  109. package/dist/chunks/dropdown.CoVT4i0B.js.map +1 -0
  110. package/dist/chunks/{error-message.DyjHMyEZ.js → error-message.oV0CXm1m.js} +3 -3
  111. package/dist/chunks/{error-message.DyjHMyEZ.js.map → error-message.oV0CXm1m.js.map} +1 -1
  112. package/dist/chunks/es6.BvpG4Oi6.js +9 -0
  113. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -0
  114. package/dist/chunks/expand.D1DTqaBO.js +33 -0
  115. package/dist/chunks/expand.D1DTqaBO.js.map +1 -0
  116. package/dist/chunks/{filter-bar.DmPkRBf4.js → filter-bar.d1IKC-Nr.js} +329 -320
  117. package/dist/chunks/filter-bar.d1IKC-Nr.js.map +1 -0
  118. package/dist/chunks/{footer-actions.D9nQFagi.js → footer-actions.Cuiq9UJH.js} +2 -2
  119. package/dist/chunks/{footer-actions.D9nQFagi.js.map → footer-actions.Cuiq9UJH.js.map} +1 -1
  120. package/dist/chunks/{header.Cr7115vM.js → header.B4il13uF.js} +3 -3
  121. package/dist/chunks/{header.Cr7115vM.js.map → header.B4il13uF.js.map} +1 -1
  122. package/dist/chunks/index.DKQuLmwu.js +182 -0
  123. package/dist/chunks/{index.Dytpif0G.js.map → index.DKQuLmwu.js.map} +1 -1
  124. package/dist/chunks/{info-icon.DvL1e5Iu.js → info-icon.B8AL324x.js} +3 -3
  125. package/dist/chunks/{info-icon.DvL1e5Iu.js.map → info-icon.B8AL324x.js.map} +1 -1
  126. package/dist/chunks/{input-field.iH1ICJkQ.js → input-field.CKh69yj2.js} +119 -113
  127. package/dist/chunks/input-field.CKh69yj2.js.map +1 -0
  128. package/dist/chunks/inspector.types.88WOdYA6.js +116 -0
  129. package/dist/chunks/inspector.types.88WOdYA6.js.map +1 -0
  130. package/dist/chunks/listbox-option-tag.m6aNQTJN.js +55 -0
  131. package/dist/chunks/listbox-option-tag.m6aNQTJN.js.map +1 -0
  132. package/dist/chunks/loading-button.BxDrDxmI.js +123 -0
  133. package/dist/chunks/loading-button.BxDrDxmI.js.map +1 -0
  134. package/dist/chunks/{menu.DN-xhDQU.js → menu.PtOT_BKl.js} +2 -2
  135. package/dist/chunks/{menu.DN-xhDQU.js.map → menu.PtOT_BKl.js.map} +1 -1
  136. package/dist/chunks/{modal-fullscreen.CeogBGfr.js → modal-fullscreen.BkuEaCdO.js} +2 -2
  137. package/dist/chunks/{modal-fullscreen.CeogBGfr.js.map → modal-fullscreen.BkuEaCdO.js.map} +1 -1
  138. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js → modal.vue_vue_type_script_setup_true_lang.CQXfT4eW.js} +4 -4
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js.map → modal.vue_vue_type_script_setup_true_lang.CQXfT4eW.js.map} +1 -1
  140. package/dist/chunks/{pagination.BwG1MF4j.js → pagination.DeOBHgWf.js} +2 -2
  141. package/dist/chunks/{pagination.BwG1MF4j.js.map → pagination.DeOBHgWf.js.map} +1 -1
  142. package/dist/chunks/{popover.DRb2GW7t.js → popover.CvUTNkQG.js} +3 -3
  143. package/dist/chunks/{popover.DRb2GW7t.js.map → popover.CvUTNkQG.js.map} +1 -1
  144. package/dist/chunks/{popper-container.B76aE-3-.js → popper-container.50jF-_VU.js} +487 -435
  145. package/dist/chunks/popper-container.50jF-_VU.js.map +1 -0
  146. package/dist/chunks/{radio-group.B9HCffiZ.js → radio-group.r5U1kQIe.js} +95 -93
  147. package/dist/chunks/radio-group.r5U1kQIe.js.map +1 -0
  148. package/dist/chunks/search-bar.DmXr-0Ax.js +116 -0
  149. package/dist/chunks/search-bar.DmXr-0Ax.js.map +1 -0
  150. package/dist/chunks/secondary-nav.DnQPIiYO.js +137 -0
  151. package/dist/chunks/secondary-nav.DnQPIiYO.js.map +1 -0
  152. package/dist/chunks/{segmented-control.DyINOWUl.js → segmented-control.ClihHHOR.js} +2 -2
  153. package/dist/chunks/{segmented-control.DyINOWUl.js.map → segmented-control.ClihHHOR.js.map} +1 -1
  154. package/dist/chunks/{selection-card-group.C-YLePO4.js → selection-card-group.AkttDBv5.js} +3 -3
  155. package/dist/chunks/{selection-card-group.C-YLePO4.js.map → selection-card-group.AkttDBv5.js.map} +1 -1
  156. package/dist/chunks/{sidepanel.B-LtA15e.js → sidepanel.Dv73FrCn.js} +2 -2
  157. package/dist/chunks/{sidepanel.B-LtA15e.js.map → sidepanel.Dv73FrCn.js.map} +1 -1
  158. package/dist/chunks/{structured-list-item.DQiPKhOI.js → structured-list-item.DrYz5IsA.js} +4 -4
  159. package/dist/chunks/{structured-list-item.DQiPKhOI.js.map → structured-list-item.DrYz5IsA.js.map} +1 -1
  160. package/dist/chunks/{summary-grid-item-custom.B941Kdvq.js → summary-grid-item-custom.MloQOKnI.js} +4 -4
  161. package/dist/chunks/{summary-grid-item-custom.B941Kdvq.js.map → summary-grid-item-custom.MloQOKnI.js.map} +1 -1
  162. package/dist/chunks/{tag.CPhtHjDD.js → tag.D0imyBj_.js} +2 -2
  163. package/dist/chunks/{tag.CPhtHjDD.js.map → tag.D0imyBj_.js.map} +1 -1
  164. package/dist/chunks/textarea.meOoBSoa.js +267 -0
  165. package/dist/chunks/textarea.meOoBSoa.js.map +1 -0
  166. package/dist/chunks/{timeline-item.Cap9MXkH.js → timeline-item.BF6w6sUT.js} +181 -168
  167. package/dist/chunks/timeline-item.BF6w6sUT.js.map +1 -0
  168. package/dist/chunks/{tooltip.CTR3s-Rm.js → tooltip.C0jTO2wt.js} +2 -2
  169. package/dist/chunks/{tooltip.CTR3s-Rm.js.map → tooltip.C0jTO2wt.js.map} +1 -1
  170. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js → tutorial.vue_vue_type_script_setup_true_lang.PX3UIJgR.js} +5 -5
  171. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map → tutorial.vue_vue_type_script_setup_true_lang.PX3UIJgR.js.map} +1 -1
  172. package/dist/chunks/{use-cached-selected-values.BQBWFTvi.js → use-cached-selected-values.Bh2VFRA-.js} +3 -3
  173. package/dist/chunks/use-cached-selected-values.Bh2VFRA-.js.map +1 -0
  174. package/dist/code-snippet.js +1 -1
  175. package/dist/dashboard-template.js +1 -1
  176. package/dist/dashed-underline.js +1 -1
  177. package/dist/data-grid-template.js +1 -1
  178. package/dist/data-grid.js +1 -1
  179. package/dist/date-picker.js +1 -1
  180. package/dist/date-range-picker.js +1 -1
  181. package/dist/dropdown.js +11 -10
  182. package/dist/dropdown.js.map +1 -1
  183. package/dist/filter-bar.js +1 -1
  184. package/dist/header.js +1 -1
  185. package/dist/index.js +241 -236
  186. package/dist/index.js.map +1 -1
  187. package/dist/info-icon.js +1 -1
  188. package/dist/input-field.js +1 -1
  189. package/dist/inspector.js +6 -0
  190. package/dist/inspector.js.map +1 -0
  191. package/dist/internal.js +30 -31
  192. package/dist/menu.js +1 -1
  193. package/dist/modal-fullscreen.js +1 -1
  194. package/dist/modal.js +2 -2
  195. package/dist/pagination.js +1 -1
  196. package/dist/popover.js +1 -1
  197. package/dist/popper-container.js +1 -1
  198. package/dist/radio-group.js +1 -1
  199. package/dist/search-bar.js +2 -2
  200. package/dist/secondary-nav.js +1 -1
  201. package/dist/segmented-control.js +1 -1
  202. package/dist/selection-card.js +1 -1
  203. package/dist/sidepanel.js +1 -1
  204. package/dist/structured-list.js +1 -1
  205. package/dist/summary-grid.js +1 -1
  206. package/dist/tag.js +1 -1
  207. package/dist/textarea.js +1 -1
  208. package/dist/timeline.js +1 -1
  209. package/dist/tutorial.js +1 -1
  210. package/dist/web-types.json +1 -1
  211. package/package.json +2 -2
  212. package/dist/assets/avatar-image.css +0 -1
  213. package/dist/avatar-image.js +0 -7
  214. package/dist/avatar-image.js.map +0 -1
  215. package/dist/chunks/avatar-image.DO4w_loj.js +0 -61
  216. package/dist/chunks/avatar-image.DO4w_loj.js.map +0 -1
  217. package/dist/chunks/code-snippet.e8bxDBCO.js.map +0 -1
  218. package/dist/chunks/dropdown-default-textbox.-Oy2eT40.js.map +0 -1
  219. package/dist/chunks/dropdown-tag.C-LxVWlt.js.map +0 -1
  220. package/dist/chunks/dropdown.CxBlK83Q.js.map +0 -1
  221. package/dist/chunks/filter-bar.DmPkRBf4.js.map +0 -1
  222. package/dist/chunks/index.Dytpif0G.js +0 -125
  223. package/dist/chunks/input-field.iH1ICJkQ.js.map +0 -1
  224. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js +0 -94
  225. package/dist/chunks/listbox-option-tag.Bv4-hXnG.js.map +0 -1
  226. package/dist/chunks/loading-button.BI32pZiW.js +0 -117
  227. package/dist/chunks/loading-button.BI32pZiW.js.map +0 -1
  228. package/dist/chunks/popper-container.B76aE-3-.js.map +0 -1
  229. package/dist/chunks/radio-group.B9HCffiZ.js.map +0 -1
  230. package/dist/chunks/search-bar.DxskyM4e.js +0 -107
  231. package/dist/chunks/search-bar.DxskyM4e.js.map +0 -1
  232. package/dist/chunks/secondary-nav.D66nxbU-.js +0 -112
  233. package/dist/chunks/secondary-nav.D66nxbU-.js.map +0 -1
  234. package/dist/chunks/textarea.CJ8xiMjv.js +0 -288
  235. package/dist/chunks/textarea.CJ8xiMjv.js.map +0 -1
  236. package/dist/chunks/timeline-item.Cap9MXkH.js.map +0 -1
  237. package/dist/chunks/use-cached-selected-values.BQBWFTvi.js.map +0 -1
  238. /package/dist/@types/packages/{vue2/src/components/button → core/src}/components/loading-button/loading-button.types.d.ts +0 -0
  239. /package/dist/@types/packages/{vue2 → core}/src/types/omit-strict.d.ts +0 -0
  240. /package/dist/@types/packages/vue2/src/components/{avatar-image → avatar/components/avatar-image}/avatar-image.types.d.ts +0 -0
  241. /package/dist/@types/packages/vue2/src/components/{avatar-image → avatar/components/avatar-image}/index.d.ts +0 -0
  242. /package/dist/@types/packages/vue2/src/components/{internal/avatar → avatar}/index.d.ts +0 -0
@@ -1,72 +1,72 @@
1
- import { defineComponent as ie, computed as d, ref as D, toRefs as _e, provide as z, resolveComponent as N, openBlock as i, createElementBlock as f, createBlock as S, withCtx as y, createTextVNode as w, toDisplayString as I, createCommentVNode as _, createVNode as T, createElementVNode as b, renderSlot as ne, mergeProps as H, inject as J, onUnmounted as fe, normalizeClass as P, Fragment as Y, renderList as pe, pushScopeId as ve, popScopeId as he } from "vue";
1
+ import { defineComponent as ne, computed as d, ref as D, toRefs as fe, provide as z, resolveComponent as N, openBlock as i, createElementBlock as _, createBlock as w, withCtx as b, createTextVNode as T, toDisplayString as g, createCommentVNode as u, createVNode as S, createElementVNode as y, renderSlot as H, mergeProps as V, inject as P, onUnmounted as _e, normalizeClass as W, Fragment as Y, renderList as pe, pushScopeId as ve, popScopeId as he } from "vue";
2
2
  import { B as oe } from "./button.DoqHEvPh.js";
3
- import { B as be } from "./textarea.CJ8xiMjv.js";
3
+ import { B as be } from "./textarea.meOoBSoa.js";
4
4
  import { u as ae } from "./i18n.DY5YXG5f.js";
5
- import { B as ge } from "./button-actions.hGhRdgC2.js";
6
- import { _ as V } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import { B as ge } from "./button-actions.BpLFzJJY.js";
6
+ import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
7
7
  import { B as ye } from "./date.2ndGvIGE.js";
8
8
  import { B as Ie } from "./link.DeNN3Amu.js";
9
- import { B as Ne } from "./tag.CPhtHjDD.js";
10
- import { B as Ee, d as we } from "./typography.D7onlQ9v.js";
11
- import { B as Te, a as Se, S as Ce } from "./structured-list-item.DQiPKhOI.js";
9
+ import { B as Ne } from "./tag.D0imyBj_.js";
10
+ import { B as Ee, d as Te } from "./typography.D7onlQ9v.js";
11
+ import { B as we, a as Se, S as Ce } from "./structured-list-item.DrYz5IsA.js";
12
12
  import { g as Me } from "./unique-id.XFfoKuc2.js";
13
13
  import { u as ke } from "./use-has-slot.B7eQSabc.js";
14
- import { r as Le, l as Ae, t as B, g as W } from "./index.B_UZQ6qF.js";
15
- import { c as Oe, a as $e } from "./index.xqFSZOAb.js";
14
+ import { r as Le, l as Ae, t as B, g as Z } from "./index.B_UZQ6qF.js";
15
+ import { c as $e, a as Oe } from "./index.xqFSZOAb.js";
16
16
  import "../assets/timeline-item.css";
17
- var Z = 1e3 * 60, U = 60 * 24, G = U * 30, Q = U * 365;
18
- function X(e, p) {
19
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
17
+ var G = 1e3 * 60, U = 60 * 24, Q = U * 30, X = U * 365;
18
+ function x(e, p) {
19
+ var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
20
20
  Le(2, arguments);
21
- var a = o.locale || Ae;
22
- if (!a.formatDistance)
21
+ var s = a.locale || Ae;
22
+ if (!s.formatDistance)
23
23
  throw new RangeError("locale must contain localize.formatDistance property");
24
- var g = Oe(e, p);
25
- if (isNaN(g))
24
+ var I = $e(e, p);
25
+ if (isNaN(I))
26
26
  throw new RangeError("Invalid time value");
27
- var s = $e(o);
28
- s.addSuffix = !!o.addSuffix, s.comparison = g;
29
- var l, u;
30
- g > 0 ? (l = B(p), u = B(e)) : (l = B(e), u = B(p));
31
- var c = o.roundingMethod == null ? "round" : String(o.roundingMethod), n;
32
- if (c === "floor")
27
+ var l = Oe(a);
28
+ l.addSuffix = !!a.addSuffix, l.comparison = I;
29
+ var o, c;
30
+ I > 0 ? (o = B(p), c = B(e)) : (o = B(e), c = B(p));
31
+ var f = a.roundingMethod == null ? "round" : String(a.roundingMethod), n;
32
+ if (f === "floor")
33
33
  n = Math.floor;
34
- else if (c === "ceil")
34
+ else if (f === "ceil")
35
35
  n = Math.ceil;
36
- else if (c === "round")
36
+ else if (f === "round")
37
37
  n = Math.round;
38
38
  else
39
39
  throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
40
- var m = u.getTime() - l.getTime(), v = m / Z, C = W(u) - W(l), h = (m - C) / Z, t;
41
- if (o.unit == null ? v < 1 ? t = "second" : v < 60 ? t = "minute" : v < U ? t = "hour" : h < G ? t = "day" : h < Q ? t = "month" : t = "year" : t = String(o.unit), t === "second") {
40
+ var m = c.getTime() - o.getTime(), v = m / G, C = Z(c) - Z(o), h = (m - C) / G, t;
41
+ if (a.unit == null ? v < 1 ? t = "second" : v < 60 ? t = "minute" : v < U ? t = "hour" : h < Q ? t = "day" : h < X ? t = "month" : t = "year" : t = String(a.unit), t === "second") {
42
42
  var M = n(m / 1e3);
43
- return a.formatDistance("xSeconds", M, s);
43
+ return s.formatDistance("xSeconds", M, l);
44
44
  } else if (t === "minute") {
45
45
  var k = n(v);
46
- return a.formatDistance("xMinutes", k, s);
46
+ return s.formatDistance("xMinutes", k, l);
47
47
  } else if (t === "hour") {
48
- var O = n(v / 60);
49
- return a.formatDistance("xHours", O, s);
48
+ var $ = n(v / 60);
49
+ return s.formatDistance("xHours", $, l);
50
50
  } else if (t === "day") {
51
- var $ = n(h / U);
52
- return a.formatDistance("xDays", $, s);
51
+ var O = n(h / U);
52
+ return s.formatDistance("xDays", O, l);
53
53
  } else if (t === "month") {
54
- var r = n(h / G);
55
- return r === 12 && o.unit !== "month" ? a.formatDistance("xYears", 1, s) : a.formatDistance("xMonths", r, s);
54
+ var r = n(h / Q);
55
+ return r === 12 && a.unit !== "month" ? s.formatDistance("xYears", 1, l) : s.formatDistance("xMonths", r, l);
56
56
  } else if (t === "year") {
57
- var E = n(h / Q);
58
- return a.formatDistance("xYears", E, s);
57
+ var E = n(h / X);
58
+ return s.formatDistance("xYears", E, l);
59
59
  }
60
60
  throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
61
61
  }
62
62
  var A = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(A || {}), Re = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(Re || {}), j = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(j || {}), se = /* @__PURE__ */ ((e) => (e.BLACK = "black", e.BLUE = "blue", e.GREEN = "green", e.GREY = "grey", e.ORANGE = "orange", e.RED = "red", e.YELLOW = "yellow", e))(se || {});
63
- const le = Symbol("timeline register entry injection key"), re = Symbol("timeline config obj injection key"), x = {
63
+ const le = Symbol("timeline register entry injection key"), re = Symbol("timeline config obj injection key"), ee = {
64
64
  "en-US": {
65
65
  addNote: "Add note",
66
66
  cancel: "Cancel"
67
67
  }
68
- }, De = ie({
69
- i18n: { messages: x },
68
+ }, De = ne({
69
+ i18n: { messages: ee },
70
70
  name: "bento-timeline",
71
71
  components: { BentoButton: oe, BentoButtonActions: ge, BentoTextarea: be },
72
72
  props: {
@@ -97,19 +97,19 @@ const le = Symbol("timeline register entry injection key"), re = Symbol("timelin
97
97
  },
98
98
  emits: ["add-timeline-note"],
99
99
  setup(e, { emit: p }) {
100
- const { t: o } = ae({ messages: x }), a = d(() => o("addNote")), g = d(() => o("cancel")), s = D(), l = (r) => {
101
- s.value = r;
102
- }, u = D(!1), c = () => {
103
- u.value = !u.value;
100
+ const { t: a } = ae({ messages: ee }), s = d(() => a("addNote")), I = d(() => a("cancel")), l = D(), o = (r) => {
101
+ l.value = r;
102
+ }, c = D(!1), f = () => {
103
+ c.value = !c.value;
104
104
  }, n = () => {
105
105
  p("add-timeline-note", {
106
- description: s.value,
106
+ description: l.value,
107
107
  timestamp: { date: /* @__PURE__ */ new Date() },
108
108
  type: "note"
109
- }), c();
109
+ }), f();
110
110
  }, m = D([]), v = d(
111
111
  () => e.showMore && m.value.length > e.showMore.limit ? m.value.length - e.showMore.limit : null
112
- ), C = D(!1), { timegapLimit: h } = _e(e), t = d(() => {
112
+ ), C = D(!1), { timegapLimit: h } = fe(e), t = d(() => {
113
113
  if (!e.showMore)
114
114
  return null;
115
115
  const r = Array.from(m.value.keys());
@@ -132,92 +132,92 @@ const le = Symbol("timeline register entry injection key"), re = Symbol("timelin
132
132
  }), k = (r) => () => {
133
133
  var E;
134
134
  m.value = (E = m.value) == null ? void 0 : E.filter((R, L) => L !== r);
135
- }, O = ({ title: r, description: E, date: R }) => {
135
+ }, $ = ({ title: r, description: E, date: R }) => {
136
136
  const L = m.value.length;
137
137
  return m.value.push({ title: r, description: E, date: R }), { timelineEntries: m, index: L, unregisterTimelineEntry: k(L) };
138
- }, $ = {
138
+ }, O = {
139
139
  showAll: C,
140
140
  showMoreIndex: M,
141
141
  hiddenItems: v,
142
142
  visibleIndexes: t,
143
143
  timegapLimit: h
144
144
  };
145
- return z(le, O), z(re, $), {
146
- addNoteLabel: a,
147
- cancelLabel: g,
148
- toggleAddNote: c,
149
- updateNoteContent: l,
145
+ return z(le, $), z(re, O), {
146
+ addNoteLabel: s,
147
+ cancelLabel: I,
148
+ toggleAddNote: f,
149
+ updateNoteContent: o,
150
150
  addNoteToTimeline: n,
151
- showAddNoteTextArea: u
151
+ showAddNoteTextArea: c
152
152
  };
153
153
  }
154
154
  }), Be = { class: "b-timeline" }, je = {
155
155
  key: 0,
156
156
  class: "b-timeline__add-note-section"
157
157
  }, Ue = { key: 1 }, Fe = { class: "b-timeline__items" };
158
- function Ye(e, p, o, a, g, s) {
159
- const l = N("bento-button"), u = N("bento-textarea"), c = N("bento-button-actions");
160
- return i(), f("div", Be, [
161
- e.addNote ? (i(), f("div", je, [
162
- e.showAddNoteTextArea ? _("", !0) : (i(), S(l, {
158
+ function Ye(e, p, a, s, I, l) {
159
+ const o = N("bento-button"), c = N("bento-textarea"), f = N("bento-button-actions");
160
+ return i(), _("div", Be, [
161
+ e.addNote ? (i(), _("div", je, [
162
+ e.showAddNoteTextArea ? u("", !0) : (i(), w(o, {
163
163
  key: 0,
164
164
  variant: "tertiary",
165
165
  onClick: e.toggleAddNote
166
166
  }, {
167
- default: y(() => [
168
- w(I(e.addNoteLabel), 1)
167
+ default: b(() => [
168
+ T(g(e.addNoteLabel), 1)
169
169
  ]),
170
170
  _: 1
171
171
  }, 8, ["onClick"])),
172
- e.showAddNoteTextArea ? (i(), f("div", Ue, [
173
- T(u, {
172
+ e.showAddNoteTextArea ? (i(), _("div", Ue, [
173
+ S(c, {
174
174
  label: e.addNoteLabel,
175
175
  "character-limit": 150,
176
176
  resizable: "vertical",
177
177
  onInput: e.updateNoteContent
178
178
  }, null, 8, ["label", "onInput"]),
179
- T(c, {
179
+ S(f, {
180
180
  actions: [
181
181
  { title: e.addNoteLabel, event: e.addNoteToTimeline },
182
182
  { title: e.cancelLabel, event: e.toggleAddNote }
183
183
  ]
184
184
  }, null, 8, ["actions"])
185
- ])) : _("", !0)
186
- ])) : _("", !0),
187
- b("ol", Fe, [
188
- ne(e.$slots, "default", {}, void 0, !0)
185
+ ])) : u("", !0)
186
+ ])) : u("", !0),
187
+ y("ol", Fe, [
188
+ H(e.$slots, "default", {}, void 0, !0)
189
189
  ])
190
190
  ]);
191
191
  }
192
- const It = /* @__PURE__ */ V(De, [["render", Ye], ["__scopeId", "data-v-f844f908"]]);
193
- let ee = 0;
192
+ const It = /* @__PURE__ */ q(De, [["render", Ye], ["__scopeId", "data-v-f844f908"]]);
193
+ let te = 0;
194
194
  const ze = {
195
195
  beforeCreate() {
196
- this.uuid = ee.toString(), ee += 1;
196
+ this.uuid = te.toString(), te += 1;
197
197
  }
198
- }, He = { key: 0 }, Ve = /* @__PURE__ */ b("path", {
198
+ }, He = { key: 0 }, Ve = /* @__PURE__ */ y("path", {
199
199
  fill: "#00112C",
200
200
  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"
201
201
  }, null, -1);
202
- function qe(e, p, o, a, g, s) {
203
- return i(), f("svg", H({ role: "img" }, e.$attrs, {
202
+ function qe(e, p, a, s, I, l) {
203
+ return i(), _("svg", V({ role: "img" }, e.$attrs, {
204
204
  class: "ui-assets-icons-16",
205
205
  xmlns: "http://www.w3.org/2000/svg",
206
206
  width: "16",
207
207
  height: "16",
208
208
  fill: "none"
209
209
  }), [
210
- e.$attrs["svg-title"] ? (i(), f("title", He, I(e.$attrs["svg-title"]), 1)) : _("", !0),
210
+ e.$attrs["svg-title"] ? (i(), _("title", He, g(e.$attrs["svg-title"]), 1)) : u("", !0),
211
211
  Ve
212
212
  ], 16);
213
213
  }
214
- const Ke = /* @__PURE__ */ V(ze, [["render", qe]]), te = {
214
+ const Ke = /* @__PURE__ */ q(ze, [["render", qe]]), ie = {
215
215
  "en-US": {
216
216
  timegap: "{timegap} passed between the timeline events",
217
217
  showMore: "Show {items} more",
218
218
  showLess: "Show less"
219
219
  }
220
- }, Je = ie({
220
+ }, Je = ne({
221
221
  name: "bento-timeline-item",
222
222
  components: {
223
223
  BentoButton: oe,
@@ -225,11 +225,11 @@ const Ke = /* @__PURE__ */ V(ze, [["render", qe]]), te = {
225
225
  BentoLink: Ie,
226
226
  BentoTag: Ne,
227
227
  BentoTypography: Ee,
228
- BentoStructuredList: Te,
228
+ BentoStructuredList: we,
229
229
  BentoStructuredListItem: Se,
230
230
  SquareSmallIcon: Ke
231
231
  },
232
- i18n: { messages: te },
232
+ i18n: { messages: ie },
233
233
  props: {
234
234
  /**
235
235
  * Additional timestamp of the event
@@ -304,47 +304,47 @@ const Ke = /* @__PURE__ */ V(ze, [["render", qe]]), te = {
304
304
  }
305
305
  },
306
306
  setup(e, { slots: p }) {
307
- const { t: o } = ae({ messages: te }), a = d(() => e.type === "note"), g = d(() => e.variant === j.CRITICAL ? "red" : e.variant === j.SUCCESS ? "green" : e.status);
308
- e.variant && we(
307
+ const { t: a } = ae({ messages: ie }), s = d(() => e.type === "note"), I = d(() => e.variant === j.CRITICAL ? "red" : e.variant === j.SUCCESS ? "green" : e.status);
308
+ e.variant && Te(
309
309
  'BentoTimelineItem "variant" property',
310
310
  `Use the BentoTimelineItem "status" modifier instead to modify the color of the timeline icon.
311
311
  <bento-timeline-item status="red" />`,
312
312
  "2.0.0"
313
313
  );
314
- const s = d(() => ({
315
- [`b-timeline-item__icon--${g.value}`]: g.value && !a.value
316
- })), l = d(() => ({
317
- "b-timeline-item--note": a.value
314
+ const l = d(() => ({
315
+ [`b-timeline-item__icon--${I.value}`]: I.value && !s.value
316
+ })), o = d(() => ({
317
+ "b-timeline-item--note": s.value
318
318
  }));
319
319
  z(Ce, !0);
320
- const u = J(le), { timelineEntries: c, index: n, unregisterTimelineEntry: m } = u({
320
+ const c = P(le), { timelineEntries: f, index: n, unregisterTimelineEntry: m } = c({
321
321
  title: e.title,
322
322
  date: e.timestamp.date
323
323
  });
324
- fe(() => m());
325
- const { showAll: v, showMoreIndex: C, hiddenItems: h, visibleIndexes: t, timegapLimit: M } = J(re), k = d(() => v.value || !t.value), O = d(() => k.value ? !0 : t.value.includes(n)), $ = d(() => typeof e.title == "object"), r = d(() => e.title), E = d(() => {
326
- var K;
324
+ _e(() => m());
325
+ const { showAll: v, showMoreIndex: C, hiddenItems: h, visibleIndexes: t, timegapLimit: M } = P(re), k = d(() => v.value || !t.value), $ = d(() => k.value ? !0 : t.value.includes(n)), O = d(() => typeof e.title == "object"), r = d(() => e.title), E = d(() => {
326
+ var J;
327
327
  if (!M.value)
328
328
  return null;
329
- const F = (K = c.value[n - 1]) == null ? void 0 : K.date, ue = k.value || t.value.includes(n - 1);
329
+ const F = (J = f.value[n - 1]) == null ? void 0 : J.date, ue = k.value || t.value.includes(n - 1);
330
330
  if (!F || !ue)
331
331
  return null;
332
- const { date: q } = c.value[n], ce = parseInt(
333
- X(F, q, { unit: M.value.unit }),
332
+ const { date: K } = f.value[n], ce = parseInt(
333
+ x(F, K, { unit: M.value.unit }),
334
334
  10
335
335
  );
336
- return M.value.amount < ce ? X(F, q, { roundingMethod: "floor" }) : null;
337
- }), R = d(() => E.value ? o("timegap", { timegap: E.value }) : ""), L = d(() => h.value && C.value === n), me = d(() => n === c.value.length - 1);
336
+ return M.value.amount < ce ? x(F, K, { roundingMethod: "floor" }) : null;
337
+ }), R = d(() => E.value ? a("timegap", { timegap: E.value }) : ""), L = d(() => h.value && C.value === n), me = d(() => n === f.value.length - 1);
338
338
  return {
339
339
  // Values
340
- isNoteType: a,
341
- iconConditionalClasses: s,
342
- conditionalClasses: l,
340
+ isNoteType: s,
341
+ iconConditionalClasses: l,
342
+ conditionalClasses: o,
343
343
  displayShowMoreButton: L,
344
344
  showAll: v,
345
345
  hiddenItems: h,
346
- isVisible: O,
347
- isLinkTitle: $,
346
+ isVisible: $,
347
+ isLinkTitle: O,
348
348
  linkTitleProps: r,
349
349
  timegap: E,
350
350
  timegapAriaLabel: R,
@@ -352,18 +352,18 @@ const Ke = /* @__PURE__ */ V(ze, [["render", qe]]), te = {
352
352
  // Methods
353
353
  generateUid: Me,
354
354
  hasSlot: ke(p),
355
- t: o
355
+ t: a
356
356
  };
357
357
  }
358
- }), de = (e) => (ve("data-v-b88ece41"), e = e(), he(), e), Pe = {
358
+ }), de = (e) => (ve("data-v-79eff1f1"), e = e(), he(), e), Pe = {
359
359
  key: 0,
360
360
  class: "b-timeline-item__row"
361
- }, We = /* @__PURE__ */ de(() => /* @__PURE__ */ b("div", {
361
+ }, We = /* @__PURE__ */ de(() => /* @__PURE__ */ y("div", {
362
362
  class: "b-timeline-item__marker",
363
363
  "aria-hidden": "true"
364
364
  }, [
365
- /* @__PURE__ */ b("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
366
- /* @__PURE__ */ b("div", { class: "b-timeline-item__separator" })
365
+ /* @__PURE__ */ y("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
366
+ /* @__PURE__ */ y("div", { class: "b-timeline-item__separator" })
367
367
  ], -1)), Ze = { class: "b-timeline-item__content" }, Ge = { class: "b-timeline-item__row" }, Qe = {
368
368
  class: "b-timeline-item__marker",
369
369
  "aria-hidden": "true"
@@ -372,46 +372,46 @@ const Ke = /* @__PURE__ */ V(ze, [["render", qe]]), te = {
372
372
  class: "b-timeline-item__separator",
373
373
  "data-testid": "last-timeline-item-separator"
374
374
  }, xe = { class: "b-timeline-item__content" }, et = { key: 1 }, tt = {
375
- key: 4,
375
+ key: 5,
376
376
  class: "b-timeline-item__data-list"
377
377
  }, it = {
378
378
  key: 1,
379
379
  class: "b-timeline-item__row"
380
- }, nt = /* @__PURE__ */ de(() => /* @__PURE__ */ b("div", {
380
+ }, nt = /* @__PURE__ */ de(() => /* @__PURE__ */ y("div", {
381
381
  class: "b-timeline-item__marker",
382
382
  "aria-hidden": "true"
383
383
  }, [
384
- /* @__PURE__ */ b("div", { class: "b-timeline-item__separator" })
384
+ /* @__PURE__ */ y("div", { class: "b-timeline-item__separator" })
385
385
  ], -1)), ot = { class: "b-timeline-item__content" };
386
- function at(e, p, o, a, g, s) {
387
- const l = N("bento-typography"), u = N("square-small-icon"), c = N("bento-link"), n = N("bento-date"), m = N("bento-structured-list-item"), v = N("bento-structured-list"), C = N("bento-tag"), h = N("bento-button");
388
- return e.isVisible ? (i(), f("li", {
386
+ function at(e, p, a, s, I, l) {
387
+ const o = N("bento-typography"), c = N("square-small-icon"), f = N("bento-link"), n = N("bento-date"), m = N("bento-structured-list-item"), v = N("bento-structured-list"), C = N("bento-tag"), h = N("bento-button");
388
+ return e.isVisible ? (i(), _("li", {
389
389
  key: 0,
390
- class: P(["b-timeline-item", e.conditionalClasses])
390
+ class: W(["b-timeline-item", e.conditionalClasses])
391
391
  }, [
392
- e.timegap ? (i(), f("div", Pe, [
392
+ e.timegap ? (i(), _("div", Pe, [
393
393
  We,
394
- b("div", Ze, [
395
- T(l, {
394
+ y("div", Ze, [
395
+ S(o, {
396
396
  class: "b-timeline-item__timegap",
397
397
  "aria-label": e.timegapAriaLabel
398
398
  }, {
399
- default: y(() => [
400
- w(I(e.timegap), 1)
399
+ default: b(() => [
400
+ T(g(e.timegap), 1)
401
401
  ]),
402
402
  _: 1
403
403
  }, 8, ["aria-label"])
404
404
  ])
405
- ])) : _("", !0),
406
- b("div", Ge, [
407
- b("div", Qe, [
408
- T(u, {
409
- class: P(["b-timeline-item__icon", e.iconConditionalClasses])
405
+ ])) : u("", !0),
406
+ y("div", Ge, [
407
+ y("div", Qe, [
408
+ S(c, {
409
+ class: W(["b-timeline-item__icon", e.iconConditionalClasses])
410
410
  }, null, 8, ["class"]),
411
- e.isLastItem ? _("", !0) : (i(), f("div", Xe))
411
+ e.isLastItem ? u("", !0) : (i(), _("div", Xe))
412
412
  ]),
413
- b("div", xe, [
414
- e.isNoteType ? _("", !0) : (i(), S(l, {
413
+ y("div", xe, [
414
+ e.isNoteType ? u("", !0) : (i(), w(o, {
415
415
  key: 0,
416
416
  el: "div",
417
417
  variant: "body",
@@ -419,72 +419,85 @@ function at(e, p, o, a, g, s) {
419
419
  class: "b-timeline-item__title",
420
420
  role: "heading"
421
421
  }, {
422
- default: y(() => [
423
- e.isLinkTitle ? (i(), S(c, H({ key: 0 }, e.linkTitleProps, { "disable-typography": "" }), {
424
- default: y(() => [
425
- w(I(e.linkTitleProps.title), 1)
422
+ default: b(() => [
423
+ e.isLinkTitle ? (i(), w(f, V({ key: 0 }, e.linkTitleProps, { "disable-typography": "" }), {
424
+ default: b(() => [
425
+ T(g(e.linkTitleProps.title), 1)
426
426
  ]),
427
427
  _: 1
428
- }, 16)) : (i(), f("span", et, I(e.title), 1))
428
+ }, 16)) : (i(), _("span", et, g(e.title), 1))
429
429
  ]),
430
430
  _: 1
431
431
  })),
432
- e.timestamp ? (i(), S(l, {
432
+ e.isNoteType && (e.description || e.hasSlot("default")) ? (i(), w(o, {
433
433
  key: 1,
434
+ el: "div",
435
+ variant: "body",
436
+ class: "b-timeline-item__description"
437
+ }, {
438
+ default: b(() => [
439
+ H(e.$slots, "default", {}, () => [
440
+ T(g(e.description), 1)
441
+ ], !0)
442
+ ]),
443
+ _: 3
444
+ })) : u("", !0),
445
+ e.timestamp ? (i(), w(o, {
446
+ key: 2,
434
447
  class: "b-timeline-item__timestamp",
435
448
  el: "div",
436
449
  variant: "caption"
437
450
  }, {
438
- default: y(() => [
439
- T(n, {
451
+ default: b(() => [
452
+ S(n, {
440
453
  date: e.timestamp.date,
441
454
  format: e.timestamp.format,
442
455
  "disable-typography": ""
443
456
  }, null, 8, ["date", "format"]),
444
- w(" " + I(e.timestamp.value), 1)
457
+ T(" " + g(e.timestamp.value), 1)
445
458
  ]),
446
459
  _: 1
447
- })) : _("", !0),
448
- !e.isNoteType && e.additionalTimestamp ? (i(), S(l, {
449
- key: 2,
460
+ })) : u("", !0),
461
+ !e.isNoteType && e.additionalTimestamp ? (i(), w(o, {
462
+ key: 3,
450
463
  class: "b-timeline-item__timestamp",
451
464
  el: "div",
452
465
  variant: "caption"
453
466
  }, {
454
- default: y(() => [
455
- T(n, {
467
+ default: b(() => [
468
+ S(n, {
456
469
  date: e.additionalTimestamp.date,
457
470
  format: e.additionalTimestamp.format,
458
471
  "disable-typography": ""
459
472
  }, null, 8, ["date", "format"]),
460
- w(" " + I(e.additionalTimestamp.value), 1)
473
+ T(" " + g(e.additionalTimestamp.value), 1)
461
474
  ]),
462
475
  _: 1
463
- })) : _("", !0),
464
- e.description || e.hasSlot("default") ? (i(), S(l, {
465
- key: 3,
476
+ })) : u("", !0),
477
+ !e.isNoteType && (e.description || e.hasSlot("default")) ? (i(), w(o, {
478
+ key: 4,
466
479
  el: "div",
467
480
  variant: "body",
468
481
  class: "b-timeline-item__description"
469
482
  }, {
470
- default: y(() => [
471
- ne(e.$slots, "default", {}, () => [
472
- w(I(e.description), 1)
483
+ default: b(() => [
484
+ H(e.$slots, "default", {}, () => [
485
+ T(g(e.description), 1)
473
486
  ], !0)
474
487
  ]),
475
488
  _: 3
476
- })) : _("", !0),
477
- !e.isNoteType && e.dataList ? (i(), f("div", tt, [
478
- T(v, null, {
479
- default: y(() => [
480
- (i(!0), f(Y, null, pe(e.dataList, (t) => (i(), S(m, {
489
+ })) : u("", !0),
490
+ !e.isNoteType && e.dataList ? (i(), _("div", tt, [
491
+ S(v, null, {
492
+ default: b(() => [
493
+ (i(!0), _(Y, null, pe(e.dataList, (t) => (i(), w(m, {
481
494
  key: e.generateUid(t.label),
482
495
  label: t.label
483
496
  }, {
484
- default: y(() => [
485
- T(l, { variant: "caption" }, {
486
- default: y(() => [
487
- w(I(t.value), 1)
497
+ default: b(() => [
498
+ S(o, { variant: "caption" }, {
499
+ default: b(() => [
500
+ T(g(t.value), 1)
488
501
  ]),
489
502
  _: 2
490
503
  }, 1024)
@@ -494,32 +507,32 @@ function at(e, p, o, a, g, s) {
494
507
  ]),
495
508
  _: 1
496
509
  })
497
- ])) : _("", !0),
498
- !e.isNoteType && e.tag ? (i(), S(C, H({ key: 5 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : _("", !0)
510
+ ])) : u("", !0),
511
+ !e.isNoteType && e.tag ? (i(), w(C, V({ key: 6 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : u("", !0)
499
512
  ])
500
513
  ]),
501
- e.displayShowMoreButton ? (i(), f("div", it, [
514
+ e.displayShowMoreButton ? (i(), _("div", it, [
502
515
  nt,
503
- b("div", ot, [
504
- T(h, {
516
+ y("div", ot, [
517
+ S(h, {
505
518
  class: "b-timeline__show-more",
506
519
  variant: "tertiary",
507
520
  onClick: p[0] || (p[0] = (t) => e.showAll = !e.showAll)
508
521
  }, {
509
- default: y(() => [
510
- e.showAll ? (i(), f(Y, { key: 1 }, [
511
- w(I(e.t("showLess")), 1)
512
- ], 64)) : (i(), f(Y, { key: 0 }, [
513
- w(I(e.t("showMore", { items: e.hiddenItems })), 1)
522
+ default: b(() => [
523
+ e.showAll ? (i(), _(Y, { key: 1 }, [
524
+ T(g(e.t("showLess")), 1)
525
+ ], 64)) : (i(), _(Y, { key: 0 }, [
526
+ T(g(e.t("showMore", { items: e.hiddenItems })), 1)
514
527
  ], 64))
515
528
  ]),
516
529
  _: 1
517
530
  })
518
531
  ])
519
- ])) : _("", !0)
520
- ], 2)) : _("", !0);
532
+ ])) : u("", !0)
533
+ ], 2)) : u("", !0);
521
534
  }
522
- const Nt = /* @__PURE__ */ V(Je, [["render", at], ["__scopeId", "data-v-b88ece41"]]);
535
+ const Nt = /* @__PURE__ */ q(Je, [["render", at], ["__scopeId", "data-v-79eff1f1"]]);
523
536
  export {
524
537
  A as B,
525
538
  Nt as a,
@@ -528,4 +541,4 @@ export {
528
541
  se as d,
529
542
  It as t
530
543
  };
531
- //# sourceMappingURL=timeline-item.Cap9MXkH.js.map
544
+ //# sourceMappingURL=timeline-item.BF6w6sUT.js.map