@adyen/bento-vue3 2.1.1 → 2.2.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.
- package/dist/@types/bento-translation-keys.generated.d.ts +10 -0
- package/dist/@types/index.d.ts +67 -10
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/dashboard-section.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-filter.css +1 -0
- package/dist/assets/date-range-filter.css +1 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/draggable-handle.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/input-with-dropdown-filter.css +1 -0
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/navigation-menu-group.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.C6XFuiE0.js → action-bar.BIidNGlt.js} +3 -3
- package/dist/chunks/{action-bar.C6XFuiE0.js.map → action-bar.BIidNGlt.js.map} +1 -1
- package/dist/chunks/{ai-tag.BLDTP7fs.js → ai-tag.B1YHMfAh.js} +2 -2
- package/dist/chunks/{ai-tag.BLDTP7fs.js.map → ai-tag.B1YHMfAh.js.map} +1 -1
- package/dist/chunks/{alert.BYmn1ewo.js → alert.PGzfyHZI.js} +80 -98
- package/dist/chunks/alert.PGzfyHZI.js.map +1 -0
- package/dist/chunks/{anchor-scroller.B35-JMuH.js → anchor-scroller.CSOg3htL.js} +2 -2
- package/dist/chunks/{anchor-scroller.B35-JMuH.js.map → anchor-scroller.CSOg3htL.js.map} +1 -1
- package/dist/chunks/{base-modal.CulokESn.js → base-modal.A52tojyk.js} +5 -5
- package/dist/chunks/{base-modal.CulokESn.js.map → base-modal.A52tojyk.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BsCmJeKU.js → button-actions-with-menu.DkPSfKO9.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BsCmJeKU.js.map → button-actions-with-menu.DkPSfKO9.js.map} +1 -1
- package/dist/chunks/{button-actions.DvuGEQxM.js → button-actions.BYoctIth.js} +2 -2
- package/dist/chunks/button-actions.BYoctIth.js.map +1 -0
- package/dist/chunks/{calendar.CycKx_P3.js → calendar.BhoyTBN1.js} +18 -18
- package/dist/chunks/{calendar.CycKx_P3.js.map → calendar.BhoyTBN1.js.map} +1 -1
- package/dist/chunks/{card.OErI_R47.js → card.DL3-xIH9.js} +3 -3
- package/dist/chunks/{card.OErI_R47.js.map → card.DL3-xIH9.js.map} +1 -1
- package/dist/chunks/{checkbox-group.Bcy98dh8.js → checkbox-group.993HE54c.js} +3 -3
- package/dist/chunks/{checkbox-group.Bcy98dh8.js.map → checkbox-group.993HE54c.js.map} +1 -1
- package/dist/chunks/{checkbox.BN7ttBqd.js → checkbox.DpT4DfSl.js} +14 -14
- package/dist/chunks/{checkbox.BN7ttBqd.js.map → checkbox.DpT4DfSl.js.map} +1 -1
- package/dist/chunks/{code-snippet.3u22Ij2R.js → code-snippet.8XinCILe.js} +4 -4
- package/dist/chunks/{code-snippet.3u22Ij2R.js.map → code-snippet.8XinCILe.js.map} +1 -1
- package/dist/chunks/{controls-group.CC3yZiTT.js → controls-group.BcbFbqr-.js} +2 -2
- package/dist/chunks/{controls-group.CC3yZiTT.js.map → controls-group.BcbFbqr-.js.map} +1 -1
- package/dist/chunks/{copy.YBeE8V9S.js → copy.DrHbwkFX.js} +3 -3
- package/dist/chunks/{copy.YBeE8V9S.js.map → copy.DrHbwkFX.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CjC3fVU6.js → dashboard-section.CVDLs9xL.js} +4 -4
- package/dist/chunks/dashboard-section.CVDLs9xL.js.map +1 -0
- package/dist/chunks/{dashed-underline.DAtZOaad.js → dashed-underline.BH4vfrBh.js} +3 -3
- package/dist/chunks/{dashed-underline.DAtZOaad.js.map → dashed-underline.BH4vfrBh.js.map} +1 -1
- package/dist/chunks/{data-grid-template.bPjGSga2.js → data-grid-template.5keqokzt.js} +4 -4
- package/dist/chunks/{data-grid-template.bPjGSga2.js.map → data-grid-template.5keqokzt.js.map} +1 -1
- package/dist/chunks/{data-grid.DYNep9mz.js → data-grid.DP4VPyjR.js} +20 -20
- package/dist/chunks/{data-grid.DYNep9mz.js.map → data-grid.DP4VPyjR.js.map} +1 -1
- package/dist/chunks/date-filter.EysjbedJ.js +156 -0
- package/dist/chunks/date-filter.EysjbedJ.js.map +1 -0
- package/dist/chunks/{date-picker.DjLNf7fF.js → date-picker.CQ3eoDIo.js} +10 -10
- package/dist/chunks/{date-picker.DjLNf7fF.js.map → date-picker.CQ3eoDIo.js.map} +1 -1
- package/dist/chunks/date-range-filter.DwNzkqTo.js +949 -0
- package/dist/chunks/date-range-filter.DwNzkqTo.js.map +1 -0
- package/dist/chunks/{date-range-picker.CI5hBzgs.js → date-range-picker.BYGk8uh-.js} +60 -60
- package/dist/chunks/{date-range-picker.CI5hBzgs.js.map → date-range-picker.BYGk8uh-.js.map} +1 -1
- package/dist/chunks/{draggable-handle.CKkSJP0K.js → draggable-handle.D6rFbf1V.js} +2 -2
- package/dist/chunks/{draggable-handle.CKkSJP0K.js.map → draggable-handle.D6rFbf1V.js.map} +1 -1
- package/dist/chunks/{draggable.jzTSFcM7.js → draggable.DH-Wc8GI.js} +2 -2
- package/dist/chunks/{draggable.jzTSFcM7.js.map → draggable.DH-Wc8GI.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.GOcJPx20.js → dropdown-tag.DQ_BcUK7.js} +3 -3
- package/dist/chunks/{dropdown-tag.GOcJPx20.js.map → dropdown-tag.DQ_BcUK7.js.map} +1 -1
- package/dist/chunks/{dropdown.BvrZG8Za.js → dropdown.BJ0cJ9Ea.js} +1471 -1384
- package/dist/chunks/dropdown.BJ0cJ9Ea.js.map +1 -0
- package/dist/chunks/{empty-state.BuK12EGe.js → empty-state.CECdMida.js} +2 -2
- package/dist/chunks/{empty-state.BuK12EGe.js.map → empty-state.CECdMida.js.map} +1 -1
- package/dist/chunks/{field-label.vrUwhoOg.js → field-label.Dm9I8IDI.js} +2 -2
- package/dist/chunks/{field-label.vrUwhoOg.js.map → field-label.Dm9I8IDI.js.map} +1 -1
- package/dist/chunks/{file-uploader.Cv8sm0Jd.js → file-uploader.B8c3MlBD.js} +7 -6
- package/dist/chunks/{file-uploader.Cv8sm0Jd.js.map → file-uploader.B8c3MlBD.js.map} +1 -1
- package/dist/chunks/filter-bar.BPPxuT_w.js +2552 -0
- package/dist/chunks/filter-bar.BPPxuT_w.js.map +1 -0
- package/dist/chunks/{fixed-scroller.C0nVzRBU.js → fixed-scroller.nECGGyOp.js} +15 -15
- package/dist/chunks/{fixed-scroller.C0nVzRBU.js.map → fixed-scroller.nECGGyOp.js.map} +1 -1
- package/dist/chunks/{focus-trap.Co-S6goa.js → focus-trap.BgyHTR_3.js} +1 -2
- package/dist/chunks/{focus-trap.Co-S6goa.js.map → focus-trap.BgyHTR_3.js.map} +1 -1
- package/dist/chunks/{footer-actions.BJif4sIk.js → footer-actions.B2dxp-b_.js} +2 -2
- package/dist/chunks/{footer-actions.BJif4sIk.js.map → footer-actions.B2dxp-b_.js.map} +1 -1
- package/dist/chunks/{form-layout-title.C7f1ByNh.js → form-layout-title.h-7dMAq7.js} +2 -2
- package/dist/chunks/{form-layout-title.C7f1ByNh.js.map → form-layout-title.h-7dMAq7.js.map} +1 -1
- package/dist/chunks/grid-layout.BuhsC4WZ.js +115 -0
- package/dist/chunks/grid-layout.BuhsC4WZ.js.map +1 -0
- package/dist/chunks/{header-with-views.LJ3oCsMN.js → header-with-views.Bux_-bM4.js} +308 -308
- package/dist/chunks/{header-with-views.LJ3oCsMN.js.map → header-with-views.Bux_-bM4.js.map} +1 -1
- package/dist/chunks/{header.E-KFjIG7.js → header.BEnZbxIA.js} +4 -4
- package/dist/chunks/{header.E-KFjIG7.js.map → header.BEnZbxIA.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.DqnQnwMI.js → info-icon-with-popover.BRl6sC0B.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.DqnQnwMI.js.map → info-icon-with-popover.BRl6sC0B.js.map} +1 -1
- package/dist/chunks/{info-icon.D_zu5SYT.js → info-icon.CcM7z-CY.js} +3 -3
- package/dist/chunks/{info-icon.D_zu5SYT.js.map → info-icon.CcM7z-CY.js.map} +1 -1
- package/dist/chunks/{input-field-password.CFBPscot.js → input-field-password.0W7vePC4.js} +4 -4
- package/dist/chunks/{input-field-password.CFBPscot.js.map → input-field-password.0W7vePC4.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.BNAKRBLr.js → input-field-phone-number.RblgK9OP.js} +2 -2
- package/dist/chunks/{input-field-phone-number.BNAKRBLr.js.map → input-field-phone-number.RblgK9OP.js.map} +1 -1
- package/dist/chunks/{input-field.BBSr4o-k.js → input-field.B-Nta-en.js} +3 -3
- package/dist/chunks/{input-field.BBSr4o-k.js.map → input-field.B-Nta-en.js.map} +1 -1
- package/dist/chunks/{input-time.Cdz9Jb-1.js → input-time.CMKTGRcV.js} +3 -3
- package/dist/chunks/{input-time.Cdz9Jb-1.js.map → input-time.CMKTGRcV.js.map} +1 -1
- package/dist/chunks/input-with-dropdown-filter.DXnJOBf6.js +100 -0
- package/dist/chunks/input-with-dropdown-filter.DXnJOBf6.js.map +1 -0
- package/dist/chunks/{inspector-page.DNsc0lK1.js → inspector-page.Bd39LxR2.js} +2 -2
- package/dist/chunks/{inspector-page.DNsc0lK1.js.map → inspector-page.Bd39LxR2.js.map} +1 -1
- package/dist/chunks/{inspector.BLAqbhmV.js → inspector.SmoWfjqp.js} +2 -2
- package/dist/chunks/{inspector.BLAqbhmV.js.map → inspector.SmoWfjqp.js.map} +1 -1
- package/dist/chunks/{list-item.RuGQ8Y4T.js → list-item.CoDag_QY.js} +3 -3
- package/dist/chunks/{list-item.RuGQ8Y4T.js.map → list-item.CoDag_QY.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.71rmQvG8.js → listbox-option-tag.Bhyu9LpW.js} +2 -2
- package/dist/chunks/{listbox-option-tag.71rmQvG8.js.map → listbox-option-tag.Bhyu9LpW.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.jXJnaueu.js → modal-fullscreen.D-ws4648.js} +3 -3
- package/dist/chunks/{modal-fullscreen.jXJnaueu.js.map → modal-fullscreen.D-ws4648.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js → modal.vue_vue_type_script_setup_true_lang.DkjMGIP8.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BwmYlzFm.js.map → modal.vue_vue_type_script_setup_true_lang.DkjMGIP8.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.BnS0isK8.js → navigation-menu-group.BlkhBGX3.js} +2 -2
- package/dist/chunks/{navigation-menu-group.BnS0isK8.js.map → navigation-menu-group.BlkhBGX3.js.map} +1 -1
- package/dist/chunks/{pagination.DbGaudSO.js → pagination.CyqfmV_-.js} +4 -4
- package/dist/chunks/{pagination.DbGaudSO.js.map → pagination.CyqfmV_-.js.map} +1 -1
- package/dist/chunks/popover.types.CXIAfp1m.js +6 -0
- package/dist/chunks/{popover.types.dhllh3NP.js.map → popover.types.CXIAfp1m.js.map} +1 -1
- package/dist/chunks/{popper-container.Rfj8UdMD.js → popper-container.lfk_dyZi.js} +2 -2
- package/dist/chunks/{popper-container.Rfj8UdMD.js.map → popper-container.lfk_dyZi.js.map} +1 -1
- package/dist/chunks/promo-banner.3d1DHWas.js.map +1 -1
- package/dist/chunks/{radio-group.BTI_2U11.js → radio-group.DGwM-ijw.js} +3 -3
- package/dist/chunks/{radio-group.BTI_2U11.js.map → radio-group.DGwM-ijw.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CjbYg6ee.js → rich-text-editor.7qlWY3xz.js} +5 -5
- package/dist/chunks/{rich-text-editor.CjbYg6ee.js.map → rich-text-editor.7qlWY3xz.js.map} +1 -1
- package/dist/chunks/{search-bar.D8LwiALL.js → search-bar.BRMyMzkF.js} +3 -3
- package/dist/chunks/{search-bar.D8LwiALL.js.map → search-bar.BRMyMzkF.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CWZFULKD.js → secondary-nav.BbBhe7QI.js} +3 -3
- package/dist/chunks/{secondary-nav.CWZFULKD.js.map → secondary-nav.BbBhe7QI.js.map} +1 -1
- package/dist/chunks/{segmented-control.CarI0i3p.js → segmented-control.BTILFbBW.js} +2 -2
- package/dist/chunks/{segmented-control.CarI0i3p.js.map → segmented-control.BTILFbBW.js.map} +1 -1
- package/dist/chunks/select-avatar-filter.DdOdBb0C.js +55 -0
- package/dist/chunks/select-avatar-filter.DdOdBb0C.js.map +1 -0
- package/dist/chunks/select-country-filter.D-zpTtKe.js +56 -0
- package/dist/chunks/select-country-filter.D-zpTtKe.js.map +1 -0
- package/dist/chunks/select-currency-filter.BitX4BCE.js +91 -0
- package/dist/chunks/select-currency-filter.BitX4BCE.js.map +1 -0
- package/dist/chunks/select-payment-method-filter.BiZuCZOa.js +55 -0
- package/dist/chunks/select-payment-method-filter.BiZuCZOa.js.map +1 -0
- package/dist/chunks/select-tag-filter.BUIIqK0l.js +63 -0
- package/dist/chunks/select-tag-filter.BUIIqK0l.js.map +1 -0
- package/dist/chunks/{selection-card-group.Covrf9mH.js → selection-card-group.mCAfzxrB.js} +11 -11
- package/dist/chunks/{selection-card-group.Covrf9mH.js.map → selection-card-group.mCAfzxrB.js.map} +1 -1
- package/dist/chunks/{sidepanel.CYWPV9dE.js → sidepanel.amz6_quV.js} +12 -12
- package/dist/chunks/sidepanel.amz6_quV.js.map +1 -0
- package/dist/chunks/{structured-list-item.C6SAUS9a.js → structured-list-item.Br6cAwZk.js} +4 -4
- package/dist/chunks/{structured-list-item.C6SAUS9a.js.map → structured-list-item.Br6cAwZk.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.FTWeUNFh.js → summary-grid.types.DUEiCht4.js} +6 -6
- package/dist/chunks/{summary-grid.types.FTWeUNFh.js.map → summary-grid.types.DUEiCht4.js.map} +1 -1
- package/dist/chunks/{tab.CwXAsp9E.js → tab.Df1c3HPX.js} +3 -3
- package/dist/chunks/{tab.CwXAsp9E.js.map → tab.Df1c3HPX.js.map} +1 -1
- package/dist/chunks/{tag.BYxa556o.js → tag.Cg3joxK_.js} +2 -2
- package/dist/chunks/{tag.BYxa556o.js.map → tag.Cg3joxK_.js.map} +1 -1
- package/dist/chunks/{textarea.D4aMdmDx.js → textarea.ClWTwdJT.js} +2 -2
- package/dist/chunks/{textarea.D4aMdmDx.js.map → textarea.ClWTwdJT.js.map} +1 -1
- package/dist/chunks/{timeline-item.De8HCoYw.js → timeline-item.CdOFw-Jn.js} +144 -132
- package/dist/chunks/timeline-item.CdOFw-Jn.js.map +1 -0
- package/dist/chunks/{title-details.8cyCeaLf.js → title-details.Ccs_ltkI.js} +2 -2
- package/dist/chunks/{title-details.8cyCeaLf.js.map → title-details.Ccs_ltkI.js.map} +1 -1
- package/dist/chunks/{tooltip.0QqJo2sa.js → tooltip.B8LTTssT.js} +3 -3
- package/dist/chunks/{tooltip.0QqJo2sa.js.map → tooltip.B8LTTssT.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js → tutorial.vue_vue_type_script_setup_true_lang.CpzGxsmy.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dn4toWHY.js.map → tutorial.vue_vue_type_script_setup_true_lang.CpzGxsmy.js.map} +1 -1
- package/dist/chunks/typography.B6elnWpr.js.map +1 -1
- package/dist/chunks/{use-date-input-formatter.deZ3kB0L.js → use-date-input-formatter.COZBxMaZ.js} +2 -2
- package/dist/chunks/{use-date-input-formatter.deZ3kB0L.js.map → use-date-input-formatter.COZBxMaZ.js.map} +1 -1
- package/dist/chunks/warning-filled.Bzh3ib0x.js +25 -0
- package/dist/chunks/warning-filled.Bzh3ib0x.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date-time-picker.js +4 -4
- package/dist/draggable.js +2 -2
- package/dist/dropdown.js +2 -2
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +257 -257
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/input-time.js +1 -1
- package/dist/inspector.js +2 -2
- package/dist/internal.js +13 -13
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/progress-bar.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/alert.BYmn1ewo.js.map +0 -1
- package/dist/chunks/button-actions.DvuGEQxM.js.map +0 -1
- package/dist/chunks/dashboard-section.CjC3fVU6.js.map +0 -1
- package/dist/chunks/dropdown.BvrZG8Za.js.map +0 -1
- package/dist/chunks/filter-bar.DrOXGxUc.js +0 -3974
- package/dist/chunks/filter-bar.DrOXGxUc.js.map +0 -1
- package/dist/chunks/grid-layout.CCWNscU_.js +0 -113
- package/dist/chunks/grid-layout.CCWNscU_.js.map +0 -1
- package/dist/chunks/popover.types.dhllh3NP.js +0 -6
- package/dist/chunks/sidepanel.CYWPV9dE.js.map +0 -1
- package/dist/chunks/timeline-item.De8HCoYw.js.map +0 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as be } from "./textarea.
|
|
4
|
-
import { u as
|
|
5
|
-
import { B as ye } from "./button-actions.
|
|
6
|
-
import { _ as
|
|
7
|
-
import { B as X } from "./dashed-underline.
|
|
1
|
+
import { defineComponent as V, computed as l, ref as $, toRefs as ve, watch as ne, provide as q, openBlock as i, createElementBlock as u, createBlock as M, unref as a, withCtx as p, createTextVNode as N, toDisplayString as v, createCommentVNode as c, createVNode as C, createElementVNode as g, renderSlot as Y, nextTick as fe, getCurrentInstance as he, mergeProps as F, useSlots as _e, inject as x, onUnmounted as ge, normalizeClass as G, normalizeProps as W, Fragment as P, renderList as we } from "vue";
|
|
2
|
+
import { B as oe } from "./button.DAcwNdtP.js";
|
|
3
|
+
import { B as be } from "./textarea.ClWTwdJT.js";
|
|
4
|
+
import { u as le } from "./index.CGBfMQdv.js";
|
|
5
|
+
import { B as ye } from "./button-actions.BYoctIth.js";
|
|
6
|
+
import { _ as re } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
7
|
+
import { B as X } from "./dashed-underline.BH4vfrBh.js";
|
|
8
8
|
import { B as Z } from "./date.SUOSxkTe.js";
|
|
9
9
|
import { B as Me } from "./link.types.BZ1u_6CS.js";
|
|
10
|
-
import { B as Ee } from "./tag.
|
|
11
|
-
import { B } from "./typography.B6elnWpr.js";
|
|
12
|
-
import { S as
|
|
10
|
+
import { B as Ee } from "./tag.Cg3joxK_.js";
|
|
11
|
+
import { d as Ne, B } from "./typography.B6elnWpr.js";
|
|
12
|
+
import { S as Ie, B as Te, a as ke } from "./structured-list-item.Br6cAwZk.js";
|
|
13
13
|
/* empty css */
|
|
14
|
-
import { g as
|
|
15
|
-
import { u as
|
|
16
|
-
import { k as
|
|
17
|
-
import { g as
|
|
14
|
+
import { g as Ce } from "./generate-uid.DBWe4g6T.js";
|
|
15
|
+
import { u as Le } from "./use-has-slot.CyMiImRQ.js";
|
|
16
|
+
import { k as Se, d as Ae, n as Re, j as Q, o as ee, p as te, q as se, g as De, r as ae } from "./en-US.C412g-7U.js";
|
|
17
|
+
import { g as Be } from "./getRoundingMethod.C3eaeGLR.js";
|
|
18
18
|
import "../assets/timeline-item.css";
|
|
19
|
-
function ie(
|
|
20
|
-
const L =
|
|
19
|
+
function ie(t, r, s) {
|
|
20
|
+
const L = De(), f = s?.locale ?? L.locale ?? Se, d = Ae(t, r);
|
|
21
21
|
if (isNaN(d))
|
|
22
22
|
throw new RangeError("Invalid time value");
|
|
23
23
|
const w = Object.assign({}, s, {
|
|
24
24
|
addSuffix: s?.addSuffix,
|
|
25
25
|
comparison: d
|
|
26
|
-
}), [A, R] =
|
|
26
|
+
}), [A, R] = Re(
|
|
27
27
|
s?.in,
|
|
28
|
-
...d > 0 ? [
|
|
29
|
-
), b =
|
|
28
|
+
...d > 0 ? [r, t] : [t, r]
|
|
29
|
+
), b = Be(s?.roundingMethod ?? "round"), y = R.getTime() - A.getTime(), h = y / ae, E = Q(R) - Q(A), I = (y - E) / ae, m = s?.unit;
|
|
30
30
|
let n;
|
|
31
|
-
if (
|
|
31
|
+
if (m ? n = m : h < 1 ? n = "second" : h < 60 ? n = "minute" : h < ee ? n = "hour" : I < te ? n = "day" : I < se ? n = "month" : n = "year", n === "second") {
|
|
32
32
|
const o = b(y / 1e3);
|
|
33
33
|
return f.formatDistance("xSeconds", o, w);
|
|
34
34
|
} else if (n === "minute") {
|
|
@@ -42,14 +42,14 @@ function ie(e, m, s) {
|
|
|
42
42
|
return f.formatDistance("xDays", o, w);
|
|
43
43
|
} else if (n === "month") {
|
|
44
44
|
const o = b(I / te);
|
|
45
|
-
return o === 12 &&
|
|
45
|
+
return o === 12 && m !== "month" ? f.formatDistance("xYears", 1, w) : f.formatDistance("xMonths", o, w);
|
|
46
46
|
} else {
|
|
47
47
|
const o = b(I / se);
|
|
48
48
|
return f.formatDistance("xYears", o, w);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
var z = /* @__PURE__ */ ((
|
|
52
|
-
const
|
|
51
|
+
var z = /* @__PURE__ */ ((t) => (t.BOTTOM = "bottom", t.AFTER_FIRST = "after-first", t.BEFORE_LAST = "before-last", t))(z || {}), Oe = /* @__PURE__ */ ((t) => (t.SECOND = "second", t.MINUTE = "minute", t.HOUR = "hour", t.DAY = "day", t.MONTH = "month", t.YEAR = "year", t))(Oe || {}), $e = /* @__PURE__ */ ((t) => (t.DEFAULT = "SquareSmallIcon", t.SUCCESS = "CheckedCircleIcon", t.CRITICAL = "CrossCircleIcon", t))($e || {}), ze = /* @__PURE__ */ ((t) => (t.BLACK = "black", t.BLUE = "blue", t.GREEN = "green", t.GREY = "grey", t.ORANGE = "orange", t.RED = "red", t.YELLOW = "yellow", t))(ze || {});
|
|
52
|
+
const me = /* @__PURE__ */ Symbol("timeline register entry injection key"), de = /* @__PURE__ */ Symbol("timeline config obj injection key"), ue = {
|
|
53
53
|
"de-DE": { addNote: "Notiz hinzufügen", cancel: "Abbrechen" },
|
|
54
54
|
"en-GB": { addNote: "Add note", cancel: "Cancel" },
|
|
55
55
|
"en-US": { addNote: "Add note", cancel: "Cancel" },
|
|
@@ -61,22 +61,22 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
61
61
|
"ja-JP": { addNote: "メモを追加", cancel: "キャンセル" },
|
|
62
62
|
"pt-BR": { addNote: "Adicionar anotação", cancel: "Cancelar" },
|
|
63
63
|
"zh-CN": { addNote: "添加备注", cancel: "取消" }
|
|
64
|
-
},
|
|
64
|
+
}, Fe = { class: "b-timeline" }, Ue = {
|
|
65
65
|
key: 0,
|
|
66
66
|
class: "b-timeline__add-note-section"
|
|
67
|
-
},
|
|
68
|
-
i18n: { messages:
|
|
67
|
+
}, je = { key: 1 }, Ye = { class: "b-timeline__items" }, Ve = V({
|
|
68
|
+
i18n: { messages: ue },
|
|
69
69
|
name: "bento-timeline"
|
|
70
|
-
}),
|
|
71
|
-
...
|
|
70
|
+
}), He = /* @__PURE__ */ V({
|
|
71
|
+
...Ve,
|
|
72
72
|
props: {
|
|
73
73
|
addNote: { type: Boolean, default: !1 },
|
|
74
74
|
showMore: { default: null },
|
|
75
75
|
timegapLimit: { default: null }
|
|
76
76
|
},
|
|
77
77
|
emits: ["add-timeline-note"],
|
|
78
|
-
setup(
|
|
79
|
-
const s =
|
|
78
|
+
setup(t, { emit: r }) {
|
|
79
|
+
const s = t, L = r, { t: f } = le({ messages: ue }), d = l(() => f("addNote")), w = l(() => f("cancel")), A = $(), R = (_) => {
|
|
80
80
|
A.value = _;
|
|
81
81
|
}, b = $(null), y = $(null), h = $(!1), E = async () => {
|
|
82
82
|
h.value = !h.value, await fe(), h.value ? b.value.$refs.textareaElement?.focus() : y.value.$el?.focus();
|
|
@@ -86,12 +86,12 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
86
86
|
timestamp: { date: /* @__PURE__ */ new Date() },
|
|
87
87
|
type: "note"
|
|
88
88
|
}), E();
|
|
89
|
-
},
|
|
90
|
-
() => s.showMore &&
|
|
91
|
-
), o = $(!1), { timegapLimit: T } =
|
|
89
|
+
}, m = $([]), n = l(
|
|
90
|
+
() => s.showMore && m.value.length > s.showMore.limit ? m.value.length - s.showMore.limit : null
|
|
91
|
+
), o = $(!1), { timegapLimit: T } = ve(s), k = l(() => Array.from(m.value.keys())), H = l(() => s.showMore ? s.showMore.placement === z.BEFORE_LAST ? [
|
|
92
92
|
...k.value.slice(0, s.showMore.limit - 1),
|
|
93
93
|
k.value[k.value.length - 1]
|
|
94
|
-
] : s.showMore.placement === z.AFTER_FIRST ? [k.value[0], ...k.value.slice(-(s.showMore.limit - 1))] : k.value.slice(0, s.showMore.limit) : null),
|
|
94
|
+
] : s.showMore.placement === z.AFTER_FIRST ? [k.value[0], ...k.value.slice(-(s.showMore.limit - 1))] : k.value.slice(0, s.showMore.limit) : null), U = l(() => {
|
|
95
95
|
if (!s.showMore)
|
|
96
96
|
return null;
|
|
97
97
|
switch (s.showMore.placement) {
|
|
@@ -103,27 +103,27 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
103
103
|
default:
|
|
104
104
|
return s.showMore.limit - 1;
|
|
105
105
|
}
|
|
106
|
-
}),
|
|
107
|
-
|
|
106
|
+
}), j = () => {
|
|
107
|
+
m.value.sort((_, e) => new Date(e.date).getTime() - new Date(_.date).getTime());
|
|
108
108
|
}, O = (_) => () => {
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
() =>
|
|
114
|
-
() =>
|
|
109
|
+
const e = m.value.indexOf(_);
|
|
110
|
+
e > -1 && m.value.splice(e, 1);
|
|
111
|
+
}, J = (_) => (m.value.push(_), { timelineEntries: m, unregisterTimelineEntry: O(_) });
|
|
112
|
+
ne(
|
|
113
|
+
() => m.value.length,
|
|
114
|
+
() => j()
|
|
115
115
|
);
|
|
116
|
-
const
|
|
116
|
+
const K = {
|
|
117
117
|
showAll: o,
|
|
118
|
-
showMoreIndex:
|
|
118
|
+
showMoreIndex: U,
|
|
119
119
|
hiddenItems: n,
|
|
120
|
-
visibleIndexes:
|
|
120
|
+
visibleIndexes: H,
|
|
121
121
|
timegapLimit: T,
|
|
122
|
-
timelineEntries:
|
|
122
|
+
timelineEntries: m
|
|
123
123
|
};
|
|
124
|
-
return
|
|
125
|
-
_.addNote ? (i(), u("div",
|
|
126
|
-
h.value ? c("", !0) : (i(), M(a(
|
|
124
|
+
return q(me, J), q(de, K), (_, e) => (i(), u("div", Fe, [
|
|
125
|
+
_.addNote ? (i(), u("div", Ue, [
|
|
126
|
+
h.value ? c("", !0) : (i(), M(a(oe), {
|
|
127
127
|
key: 0,
|
|
128
128
|
ref_key: "addNoteButtonRef",
|
|
129
129
|
ref: y,
|
|
@@ -135,7 +135,7 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
135
135
|
]),
|
|
136
136
|
_: 1
|
|
137
137
|
}, 512)),
|
|
138
|
-
h.value ? (i(), u("div",
|
|
138
|
+
h.value ? (i(), u("div", je, [
|
|
139
139
|
C(a(be), {
|
|
140
140
|
ref_key: "addNoteTextareaRef",
|
|
141
141
|
ref: b,
|
|
@@ -153,29 +153,29 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
153
153
|
])) : c("", !0)
|
|
154
154
|
])) : c("", !0),
|
|
155
155
|
g("ol", Ye, [
|
|
156
|
-
|
|
156
|
+
Y(_.$slots, "default", {}, void 0, !0)
|
|
157
157
|
])
|
|
158
158
|
]));
|
|
159
159
|
}
|
|
160
|
-
}),
|
|
160
|
+
}), Et = /* @__PURE__ */ re(He, [["__scopeId", "data-v-8346a17d"]]), Je = { key: 0 }, Ke = {
|
|
161
161
|
__name: "square-small-fill",
|
|
162
|
-
setup(
|
|
163
|
-
const
|
|
164
|
-
return String(
|
|
162
|
+
setup(t) {
|
|
163
|
+
const r = he();
|
|
164
|
+
return String(r?.uid ?? r?.proxy?._uid), (s, L) => (i(), u("svg", F({ role: "img" }, s.$attrs, {
|
|
165
165
|
class: "ui-assets-icons-16",
|
|
166
166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
167
167
|
width: "16",
|
|
168
168
|
height: "16",
|
|
169
169
|
fill: "none"
|
|
170
170
|
}), [
|
|
171
|
-
s.$attrs["svg-title"] ? (i(), u("title",
|
|
171
|
+
s.$attrs["svg-title"] ? (i(), u("title", Je, v(s.$attrs["svg-title"]), 1)) : c("", !0),
|
|
172
172
|
L[0] || (L[0] = g("path", {
|
|
173
173
|
fill: "#001222",
|
|
174
174
|
d: "M10 3.25C11.5188 3.25 12.75 4.48122 12.75 6V10C12.75 11.5188 11.5188 12.75 10 12.75H6C4.48122 12.75 3.25 11.5188 3.25 10V6C3.25 4.48122 4.48122 3.25 6 3.25H10Z"
|
|
175
175
|
}, null, -1))
|
|
176
176
|
], 16));
|
|
177
177
|
}
|
|
178
|
-
},
|
|
178
|
+
}, ce = {
|
|
179
179
|
"de-DE": { showLess: "Weniger anzeigen", showMore: "Mehr {items} anzeigen", timegap: "{timegap} ist zwischen den Ereignissen in der Zeitleiste vergangen." },
|
|
180
180
|
"en-GB": { showLess: "Show less", showMore: "Show {items} more", timegap: "{timegap} passed between the timeline events" },
|
|
181
181
|
"en-US": { showLess: "Show less", showMore: "Show {items} more", timegap: "{timegap} passed between the timeline events" },
|
|
@@ -187,27 +187,27 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
187
187
|
"ja-JP": { showLess: "表示内容を減らす", showMore: "Show {items} more", timegap: "{timegap} passed between the timeline events" },
|
|
188
188
|
"pt-BR": { showLess: "Mostrar menos", showMore: "Show {items} more", timegap: "{timegap} passed between the timeline events" },
|
|
189
189
|
"zh-CN": { showLess: "显示更少", showMore: "显示更多 {items}", timegap: "在时间线事件之间经过了 {timegap}" }
|
|
190
|
-
},
|
|
190
|
+
}, Pe = {
|
|
191
191
|
key: 0,
|
|
192
192
|
class: "b-timeline-item__row"
|
|
193
|
-
},
|
|
193
|
+
}, qe = { class: "b-timeline-item__content" }, xe = { class: "b-timeline-item__row" }, Ge = {
|
|
194
194
|
class: "b-timeline-item__marker",
|
|
195
195
|
"aria-hidden": "true"
|
|
196
|
-
},
|
|
196
|
+
}, We = {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "b-timeline-item__separator",
|
|
199
199
|
"data-testid": "last-timeline-item-separator"
|
|
200
|
-
},
|
|
200
|
+
}, Xe = { class: "b-timeline-item__content" }, Ze = { key: 1 }, Qe = { key: 1 }, et = { key: 1 }, tt = {
|
|
201
201
|
key: 5,
|
|
202
202
|
class: "b-timeline-item__data-list"
|
|
203
|
-
},
|
|
203
|
+
}, st = {
|
|
204
204
|
key: 1,
|
|
205
205
|
class: "b-timeline-item__row"
|
|
206
|
-
},
|
|
206
|
+
}, at = { class: "b-timeline-item__content" }, it = V({
|
|
207
207
|
name: "bento-timeline-item",
|
|
208
|
-
i18n: { messages:
|
|
209
|
-
}),
|
|
210
|
-
...
|
|
208
|
+
i18n: { messages: ce }
|
|
209
|
+
}), nt = /* @__PURE__ */ V({
|
|
210
|
+
...it,
|
|
211
211
|
props: {
|
|
212
212
|
additionalTimestamp: { default: null },
|
|
213
213
|
dataList: { default: null },
|
|
@@ -218,35 +218,45 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
218
218
|
title: { default: null },
|
|
219
219
|
type: { default: "milestone" }
|
|
220
220
|
},
|
|
221
|
-
setup(
|
|
222
|
-
const
|
|
223
|
-
[`b-timeline-item__icon--${
|
|
221
|
+
setup(t) {
|
|
222
|
+
const r = t, { t: s } = le({ messages: ce }), L = _e(), f = Le(L), d = l(() => r.type === "note"), w = l(() => ({
|
|
223
|
+
[`b-timeline-item__icon--${r.status}`]: r.status && !d.value
|
|
224
224
|
})), A = l(() => ({
|
|
225
225
|
"b-timeline-item--note": d.value
|
|
226
226
|
}));
|
|
227
|
-
|
|
227
|
+
q(Ie, !0);
|
|
228
228
|
const R = {
|
|
229
|
-
title:
|
|
230
|
-
date:
|
|
231
|
-
}, b = x(
|
|
229
|
+
title: r.title,
|
|
230
|
+
date: r.timestamp.date
|
|
231
|
+
}, b = x(me), { timelineEntries: y, unregisterTimelineEntry: h } = b(R);
|
|
232
232
|
ge(() => h());
|
|
233
|
-
const { showAll: E, showMoreIndex: I, hiddenItems:
|
|
233
|
+
const { showAll: E, showMoreIndex: I, hiddenItems: m, visibleIndexes: n, timegapLimit: o } = x(de), T = l(() => y.value.indexOf(R)), k = l(() => E.value || !n.value), H = l(() => k.value ? !0 : n.value.includes(T.value)), U = l(() => r.title !== null && typeof r.title == "object"), j = l(() => r.title), O = l(() => {
|
|
234
234
|
if (!o.value)
|
|
235
235
|
return null;
|
|
236
|
-
const
|
|
237
|
-
if (!
|
|
236
|
+
const e = y.value[T.value - 1]?.date, S = k.value || n.value.includes(T.value - 1);
|
|
237
|
+
if (!e || !S)
|
|
238
238
|
return null;
|
|
239
|
-
const { date: D } = y.value[T.value],
|
|
240
|
-
ie(
|
|
239
|
+
const { date: D } = y.value[T.value], pe = parseInt(
|
|
240
|
+
ie(e, D, { unit: o.value.unit }),
|
|
241
241
|
10
|
|
242
242
|
);
|
|
243
|
-
return o.value.amount <
|
|
244
|
-
}),
|
|
245
|
-
return (
|
|
243
|
+
return o.value.amount < pe ? ie(e, D, { roundingMethod: "floor" }) : null;
|
|
244
|
+
}), J = l(() => O.value ? s("timegap", { timegap: O.value }) : ""), K = l(() => m.value && I.value === T.value), _ = l(() => T.value !== -1 && T.value === y.value.length - 1);
|
|
245
|
+
return ne(
|
|
246
|
+
U,
|
|
247
|
+
(e) => {
|
|
248
|
+
e && Ne(
|
|
249
|
+
'BentoTimelineItem object value for the "title" prop',
|
|
250
|
+
"Use a slot <template #title></template> to render a link instead",
|
|
251
|
+
"3.0.0"
|
|
252
|
+
);
|
|
253
|
+
},
|
|
254
|
+
{ immediate: !0 }
|
|
255
|
+
), (e, S) => H.value ? (i(), u("li", {
|
|
246
256
|
key: 0,
|
|
247
257
|
class: G(["b-timeline-item", A.value])
|
|
248
258
|
}, [
|
|
249
|
-
O.value ? (i(), u("div",
|
|
259
|
+
O.value ? (i(), u("div", Pe, [
|
|
250
260
|
S[1] || (S[1] = g("div", {
|
|
251
261
|
class: "b-timeline-item__marker",
|
|
252
262
|
"aria-hidden": "true"
|
|
@@ -254,10 +264,10 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
254
264
|
g("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
|
|
255
265
|
g("div", { class: "b-timeline-item__separator" })
|
|
256
266
|
], -1)),
|
|
257
|
-
g("div",
|
|
267
|
+
g("div", qe, [
|
|
258
268
|
C(a(B), {
|
|
259
269
|
class: "b-timeline-item__timegap",
|
|
260
|
-
"aria-label":
|
|
270
|
+
"aria-label": J.value
|
|
261
271
|
}, {
|
|
262
272
|
default: p(() => [
|
|
263
273
|
N(v(O.value), 1)
|
|
@@ -266,14 +276,14 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
266
276
|
}, 8, ["aria-label"])
|
|
267
277
|
])
|
|
268
278
|
])) : c("", !0),
|
|
269
|
-
g("div",
|
|
270
|
-
g("div",
|
|
271
|
-
C(a(
|
|
279
|
+
g("div", xe, [
|
|
280
|
+
g("div", Ge, [
|
|
281
|
+
C(a(Ke), {
|
|
272
282
|
class: G(["b-timeline-item__icon", w.value])
|
|
273
283
|
}, null, 8, ["class"]),
|
|
274
|
-
_.value ? c("", !0) : (i(), u("div",
|
|
284
|
+
_.value ? c("", !0) : (i(), u("div", We))
|
|
275
285
|
]),
|
|
276
|
-
g("div",
|
|
286
|
+
g("div", Xe, [
|
|
277
287
|
d.value ? c("", !0) : (i(), M(a(B), {
|
|
278
288
|
key: 0,
|
|
279
289
|
el: "div",
|
|
@@ -284,29 +294,31 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
284
294
|
"aria-level": "2"
|
|
285
295
|
}, {
|
|
286
296
|
default: p(() => [
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
297
|
+
Y(e.$slots, "title", {}, () => [
|
|
298
|
+
U.value ? (i(), M(a(Me), F({ key: 0 }, j.value, { "disable-typography": "" }), {
|
|
299
|
+
default: p(() => [
|
|
300
|
+
N(v(j.value.title), 1)
|
|
301
|
+
]),
|
|
302
|
+
_: 1
|
|
303
|
+
}, 16)) : (i(), u("span", Ze, v(e.title), 1))
|
|
304
|
+
], !0)
|
|
293
305
|
]),
|
|
294
|
-
_:
|
|
306
|
+
_: 3
|
|
295
307
|
})),
|
|
296
|
-
d.value && (
|
|
308
|
+
d.value && (e.description || a(f)("default")) ? (i(), M(a(B), {
|
|
297
309
|
key: 1,
|
|
298
310
|
el: "div",
|
|
299
311
|
variant: "body",
|
|
300
312
|
class: "b-timeline-item__description"
|
|
301
313
|
}, {
|
|
302
314
|
default: p(() => [
|
|
303
|
-
|
|
304
|
-
N(v(
|
|
315
|
+
Y(e.$slots, "default", {}, () => [
|
|
316
|
+
N(v(e.description), 1)
|
|
305
317
|
], !0)
|
|
306
318
|
]),
|
|
307
319
|
_: 3
|
|
308
320
|
})) : c("", !0),
|
|
309
|
-
|
|
321
|
+
e.timestamp ? (i(), M(a(B), {
|
|
310
322
|
key: 2,
|
|
311
323
|
class: "b-timeline-item__timestamp",
|
|
312
324
|
el: "div",
|
|
@@ -314,20 +326,20 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
314
326
|
}, {
|
|
315
327
|
default: p(() => [
|
|
316
328
|
C(a(Z), {
|
|
317
|
-
date:
|
|
318
|
-
format:
|
|
329
|
+
date: e.timestamp.date,
|
|
330
|
+
format: e.timestamp.format,
|
|
319
331
|
"disable-typography": ""
|
|
320
332
|
}, null, 8, ["date", "format"]),
|
|
321
|
-
|
|
333
|
+
e.timestamp.description ? (i(), M(a(X), W(F({ key: 0 }, e.timestamp.description)), {
|
|
322
334
|
default: p(() => [
|
|
323
|
-
N(v(
|
|
335
|
+
N(v(e.timestamp.value), 1)
|
|
324
336
|
]),
|
|
325
337
|
_: 1
|
|
326
|
-
}, 16)) : (i(), u("span",
|
|
338
|
+
}, 16)) : (i(), u("span", Qe, v(e.timestamp.value), 1))
|
|
327
339
|
]),
|
|
328
340
|
_: 1
|
|
329
341
|
})) : c("", !0),
|
|
330
|
-
!d.value &&
|
|
342
|
+
!d.value && e.additionalTimestamp ? (i(), M(a(B), {
|
|
331
343
|
key: 3,
|
|
332
344
|
class: "b-timeline-item__timestamp",
|
|
333
345
|
el: "div",
|
|
@@ -335,37 +347,37 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
335
347
|
}, {
|
|
336
348
|
default: p(() => [
|
|
337
349
|
C(a(Z), {
|
|
338
|
-
date:
|
|
339
|
-
format:
|
|
350
|
+
date: e.additionalTimestamp.date,
|
|
351
|
+
format: e.additionalTimestamp.format,
|
|
340
352
|
"disable-typography": ""
|
|
341
353
|
}, null, 8, ["date", "format"]),
|
|
342
|
-
|
|
354
|
+
e.additionalTimestamp.description ? (i(), M(a(X), W(F({ key: 0 }, e.additionalTimestamp.description)), {
|
|
343
355
|
default: p(() => [
|
|
344
|
-
N(v(
|
|
356
|
+
N(v(e.additionalTimestamp.value), 1)
|
|
345
357
|
]),
|
|
346
358
|
_: 1
|
|
347
|
-
}, 16)) : (i(), u("span",
|
|
359
|
+
}, 16)) : (i(), u("span", et, v(e.additionalTimestamp.value), 1))
|
|
348
360
|
]),
|
|
349
361
|
_: 1
|
|
350
362
|
})) : c("", !0),
|
|
351
|
-
!d.value && (
|
|
363
|
+
!d.value && (e.description || a(f)("default")) ? (i(), M(a(B), {
|
|
352
364
|
key: 4,
|
|
353
365
|
el: "div",
|
|
354
366
|
variant: "body",
|
|
355
367
|
class: "b-timeline-item__description"
|
|
356
368
|
}, {
|
|
357
369
|
default: p(() => [
|
|
358
|
-
|
|
359
|
-
N(v(
|
|
370
|
+
Y(e.$slots, "default", {}, () => [
|
|
371
|
+
N(v(e.description), 1)
|
|
360
372
|
], !0)
|
|
361
373
|
]),
|
|
362
374
|
_: 3
|
|
363
375
|
})) : c("", !0),
|
|
364
|
-
!d.value &&
|
|
365
|
-
C(a(
|
|
376
|
+
!d.value && e.dataList ? (i(), u("div", tt, [
|
|
377
|
+
C(a(Te), null, {
|
|
366
378
|
default: p(() => [
|
|
367
|
-
(i(!0), u(
|
|
368
|
-
key: a(
|
|
379
|
+
(i(!0), u(P, null, we(e.dataList, (D) => (i(), M(a(ke), {
|
|
380
|
+
key: a(Ce)(D.label),
|
|
369
381
|
label: D.label
|
|
370
382
|
}, {
|
|
371
383
|
default: p(() => [
|
|
@@ -382,27 +394,27 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
382
394
|
_: 1
|
|
383
395
|
})
|
|
384
396
|
])) : c("", !0),
|
|
385
|
-
!d.value &&
|
|
397
|
+
!d.value && e.tag ? (i(), M(a(Ee), F({ key: 6 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : c("", !0)
|
|
386
398
|
])
|
|
387
399
|
]),
|
|
388
|
-
|
|
400
|
+
K.value ? (i(), u("div", st, [
|
|
389
401
|
S[2] || (S[2] = g("div", {
|
|
390
402
|
class: "b-timeline-item__marker",
|
|
391
403
|
"aria-hidden": "true"
|
|
392
404
|
}, [
|
|
393
405
|
g("div", { class: "b-timeline-item__separator" })
|
|
394
406
|
], -1)),
|
|
395
|
-
g("div",
|
|
396
|
-
C(a(
|
|
407
|
+
g("div", at, [
|
|
408
|
+
C(a(oe), {
|
|
397
409
|
class: "b-timeline__show-more",
|
|
398
410
|
variant: "tertiary",
|
|
399
411
|
onClick: S[0] || (S[0] = (D) => E.value = !a(E))
|
|
400
412
|
}, {
|
|
401
413
|
default: p(() => [
|
|
402
|
-
a(E) ? (i(), u(
|
|
414
|
+
a(E) ? (i(), u(P, { key: 1 }, [
|
|
403
415
|
N(v(a(s)("showLess")), 1)
|
|
404
|
-
], 64)) : (i(), u(
|
|
405
|
-
N(v(a(s)("showMore", { items: a(
|
|
416
|
+
], 64)) : (i(), u(P, { key: 0 }, [
|
|
417
|
+
N(v(a(s)("showMore", { items: a(m) })), 1)
|
|
406
418
|
], 64))
|
|
407
419
|
]),
|
|
408
420
|
_: 1
|
|
@@ -411,13 +423,13 @@ const re = /* @__PURE__ */ Symbol("timeline register entry injection key"), me =
|
|
|
411
423
|
])) : c("", !0)
|
|
412
424
|
], 2)) : c("", !0);
|
|
413
425
|
}
|
|
414
|
-
}),
|
|
426
|
+
}), Nt = /* @__PURE__ */ re(nt, [["__scopeId", "data-v-89a4435a"]]);
|
|
415
427
|
export {
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
428
|
+
Oe as B,
|
|
429
|
+
Nt as a,
|
|
430
|
+
$e as b,
|
|
419
431
|
z as c,
|
|
420
|
-
|
|
421
|
-
|
|
432
|
+
ze as d,
|
|
433
|
+
Et as t
|
|
422
434
|
};
|
|
423
|
-
//# sourceMappingURL=timeline-item.
|
|
435
|
+
//# sourceMappingURL=timeline-item.CdOFw-Jn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline-item.CdOFw-Jn.js","sources":["../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/formatDistanceStrict.js","../../../vue2/src/components/timeline/timeline.types.ts","../../../vue2/src/components/timeline/timeline.keys.ts","../../../vue2/src/components/timeline/timeline.vue","../../../ui-assets/icons-16/dist/vue/square-small-fill.vue","../../../vue2/src/components/timeline/components/timeline-item/timeline-item.vue"],"sourcesContent":["import { defaultLocale } from \"./_lib/defaultLocale.js\";\nimport { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { getRoundingMethod } from \"./_lib/getRoundingMethod.js\";\nimport { getTimezoneOffsetInMilliseconds } from \"./_lib/getTimezoneOffsetInMilliseconds.js\";\nimport { normalizeDates } from \"./_lib/normalizeDates.js\";\nimport { compareAsc } from \"./compareAsc.js\";\nimport {\n millisecondsInMinute,\n minutesInDay,\n minutesInMonth,\n minutesInYear,\n} from \"./constants.js\";\n\n/**\n * The {@link formatDistanceStrict} function options.\n */\n\n/**\n * The unit used to format the distance in {@link formatDistanceStrict}.\n */\n\n/**\n * @name formatDistanceStrict\n * @category Common Helpers\n * @summary Return the distance between the given dates in words.\n *\n * @description\n * Return the distance between the given dates in words, using strict units.\n * This is like `formatDistance`, but does not use helpers like 'almost', 'over',\n * 'less than' and the like.\n *\n * | Distance between dates | Result |\n * |------------------------|---------------------|\n * | 0 ... 59 secs | [0..59] seconds |\n * | 1 ... 59 mins | [1..59] minutes |\n * | 1 ... 23 hrs | [1..23] hours |\n * | 1 ... 29 days | [1..29] days |\n * | 1 ... 11 months | [1..11] months |\n * | 1 ... N years | [1..N] years |\n *\n * @param laterDate - The date\n * @param earlierDate - The date to compare with\n * @param options - An object with options\n *\n * @returns The distance in words\n *\n * @throws `date` must not be Invalid Date\n * @throws `baseDate` must not be Invalid Date\n * @throws `options.unit` must be 'second', 'minute', 'hour', 'day', 'month' or 'year'\n * @throws `options.locale` must contain `formatDistance` property\n *\n * @example\n * // What is the distance between 2 July 2014 and 1 January 2015?\n * const result = formatDistanceStrict(new Date(2014, 6, 2), new Date(2015, 0, 2))\n * //=> '6 months'\n *\n * @example\n * // What is the distance between 1 January 2015 00:00:15\n * // and 1 January 2015 00:00:00?\n * const result = formatDistanceStrict(\n * new Date(2015, 0, 1, 0, 0, 15),\n * new Date(2015, 0, 1, 0, 0, 0)\n * )\n * //=> '15 seconds'\n *\n * @example\n * // What is the distance from 1 January 2016\n * // to 1 January 2015, with a suffix?\n * const result = formatDistanceStrict(new Date(2015, 0, 1), new Date(2016, 0, 1), {\n * addSuffix: true\n * })\n * //=> '1 year ago'\n *\n * @example\n * // What is the distance from 1 January 2016\n * // to 1 January 2015, in minutes?\n * const result = formatDistanceStrict(new Date(2016, 0, 1), new Date(2015, 0, 1), {\n * unit: 'minute'\n * })\n * //=> '525600 minutes'\n *\n * @example\n * // What is the distance from 1 January 2015\n * // to 28 January 2015, in months, rounded up?\n * const result = formatDistanceStrict(new Date(2015, 0, 28), new Date(2015, 0, 1), {\n * unit: 'month',\n * roundingMethod: 'ceil'\n * })\n * //=> '1 month'\n *\n * @example\n * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto?\n * import { eoLocale } from 'date-fns/locale/eo'\n * const result = formatDistanceStrict(new Date(2016, 7, 1), new Date(2015, 0, 1), {\n * locale: eoLocale\n * })\n * //=> '1 jaro'\n */\n\nexport function formatDistanceStrict(laterDate, earlierDate, options) {\n const defaultOptions = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions.locale ?? defaultLocale;\n\n const comparison = compareAsc(laterDate, earlierDate);\n\n if (isNaN(comparison)) {\n throw new RangeError(\"Invalid time value\");\n }\n\n const localizeOptions = Object.assign({}, options, {\n addSuffix: options?.addSuffix,\n comparison: comparison,\n });\n\n const [laterDate_, earlierDate_] = normalizeDates(\n options?.in,\n ...(comparison > 0 ? [earlierDate, laterDate] : [laterDate, earlierDate]),\n );\n\n const roundingMethod = getRoundingMethod(options?.roundingMethod ?? \"round\");\n\n const milliseconds = earlierDate_.getTime() - laterDate_.getTime();\n const minutes = milliseconds / millisecondsInMinute;\n\n const timezoneOffset =\n getTimezoneOffsetInMilliseconds(earlierDate_) -\n getTimezoneOffsetInMilliseconds(laterDate_);\n\n // Use DST-normalized difference in minutes for years, months and days;\n // use regular difference in minutes for hours, minutes and seconds.\n const dstNormalizedMinutes =\n (milliseconds - timezoneOffset) / millisecondsInMinute;\n\n const defaultUnit = options?.unit;\n let unit;\n if (!defaultUnit) {\n if (minutes < 1) {\n unit = \"second\";\n } else if (minutes < 60) {\n unit = \"minute\";\n } else if (minutes < minutesInDay) {\n unit = \"hour\";\n } else if (dstNormalizedMinutes < minutesInMonth) {\n unit = \"day\";\n } else if (dstNormalizedMinutes < minutesInYear) {\n unit = \"month\";\n } else {\n unit = \"year\";\n }\n } else {\n unit = defaultUnit;\n }\n\n // 0 up to 60 seconds\n if (unit === \"second\") {\n const seconds = roundingMethod(milliseconds / 1000);\n return locale.formatDistance(\"xSeconds\", seconds, localizeOptions);\n\n // 1 up to 60 mins\n } else if (unit === \"minute\") {\n const roundedMinutes = roundingMethod(minutes);\n return locale.formatDistance(\"xMinutes\", roundedMinutes, localizeOptions);\n\n // 1 up to 24 hours\n } else if (unit === \"hour\") {\n const hours = roundingMethod(minutes / 60);\n return locale.formatDistance(\"xHours\", hours, localizeOptions);\n\n // 1 up to 30 days\n } else if (unit === \"day\") {\n const days = roundingMethod(dstNormalizedMinutes / minutesInDay);\n return locale.formatDistance(\"xDays\", days, localizeOptions);\n\n // 1 up to 12 months\n } else if (unit === \"month\") {\n const months = roundingMethod(dstNormalizedMinutes / minutesInMonth);\n return months === 12 && defaultUnit !== \"month\"\n ? locale.formatDistance(\"xYears\", 1, localizeOptions)\n : locale.formatDistance(\"xMonths\", months, localizeOptions);\n\n // 1 year up to max Date\n } else {\n const years = roundingMethod(dstNormalizedMinutes / minutesInYear);\n return locale.formatDistance(\"xYears\", years, localizeOptions);\n }\n}\n\n// Fallback for modularized imports:\nexport default formatDistanceStrict;\n","import { type BentoDashedUnderlineProps } from '@/components/dashed-underline/dashed-underline.types';\nimport { type BentoDateFormat } from '@/components/date/date.types';\nimport { type BentoTag } from '@/components/tag';\nimport { type Ref } from 'vue';\nimport type { RouterLinkProps } from 'vue-router/types/router.d.ts';\n\nexport enum BentoTimelineShowMorePlacement {\n BOTTOM = 'bottom',\n AFTER_FIRST = 'after-first',\n BEFORE_LAST = 'before-last',\n}\n\nexport interface BentoTimelineShowMoreObject {\n limit: number;\n placement?: BentoTimelineShowMorePlacement;\n}\n\nexport enum BentoTimelineGapUnit {\n SECOND = 'second',\n MINUTE = 'minute',\n HOUR = 'hour',\n DAY = 'day',\n MONTH = 'month',\n YEAR = 'year',\n}\n\nexport interface BentoTimelineGapObject {\n amount: number;\n unit: BentoTimelineGapUnit;\n}\n\n/**\n * @deprecated Since v3.0.0. Do not use. Use the `status` prop instead.\n */\nexport enum BentoTimelineItemVariant {\n DEFAULT = 'SquareSmallIcon',\n SUCCESS = 'CheckedCircleIcon',\n CRITICAL = 'CrossCircleIcon',\n}\n\nexport enum BentoTimelineStatus {\n BLACK = 'black',\n BLUE = 'blue',\n GREEN = 'green',\n GREY = 'grey',\n ORANGE = 'orange',\n RED = 'red',\n YELLOW = 'yellow',\n}\n\n/**\n * @deprecated Since v3.0.0. Do not use. Use a slot `<template #title></template>` to render a link instead.\n */\nexport interface BentoTimelineItemTitle extends RouterLinkProps {\n /**\n * Link label.\n */\n title: string;\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external?: boolean;\n\n /**\n * Sets the target of the rendered link.\n */\n target?: string;\n\n // This has been added to allow users to add HTML and Aria attribute\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [name: string]: any;\n}\n\nexport interface BentoTimelineTimestamp {\n date: Date | number;\n format?: BentoDateFormat;\n value?: string;\n description?: BentoDashedUnderlineProps;\n}\n\nexport interface BentoTimelineDataListObject {\n label: string;\n value: string;\n}\n\nexport type BentoTimelineDataList = Array<BentoTimelineDataListObject>;\n\nexport type BentoTimelineTagProps = InstanceType<typeof BentoTag>['$props'];\n\nexport interface BentoTimelineEntry {\n title?: string | BentoTimelineItemTitle;\n description?: string;\n date: Date | number;\n}\n\nexport interface BentoTimelineConfigData {\n showAll: Ref<boolean>;\n showMoreIndex: Ref<number>;\n hiddenItems: Ref<number>;\n visibleIndexes: Ref<Array<number>>;\n timegapLimit: Ref<BentoTimelineGapObject>;\n timelineEntries: Ref<Array<BentoTimelineEntry>>;\n}\n\nexport interface BentoTimelineProps {\n /**\n * If set to true, gives the possibility to manually add notes to the timeline via a textarea\n */\n addNote?: boolean;\n /**\n * Object that determines the max number of items to show without clicking the show more button\n * and where in the timeline is the show more button placed\n */\n showMore?: BentoTimelineShowMoreObject;\n /**\n * Object that determines minimum amount of time for the automatic timegap indicator;\n * Define a unit (hour, day, month) and an amount (e.g. { amount: 7, unit: 'days' }).\n * If null, automatic timegap detection will be turned off\n */\n timegapLimit?: BentoTimelineGapObject;\n}\n\nexport interface BentoTimelineItemProps {\n /**\n * Additional timestamp of the event\n */\n additionalTimestamp?: BentoTimelineTimestamp;\n /**\n * Relevant key-value pair data to display in the event\n */\n dataList?: BentoTimelineDataList;\n /**\n * Description of the event\n */\n description?: string;\n /**\n * Modifier that changes the color of the timeline icon\n * @values blue, black, green, grey, orange, red, yellow\n */\n status?: string;\n /**\n * Tag props that will be passed down to inner tag component\n */\n tag?: BentoTimelineTagProps;\n /**\n * Main timestamp of the event. Used for timegap detection.\n */\n timestamp: BentoTimelineTimestamp;\n /**\n * Title of the event\n */\n title?: BentoTimelineItemTitle | string;\n /**\n * Type of the timeline item. If set to 'note', it renders a note item in the timeline. Defaults to 'milestone'.\n * @values milestone, note\n */\n type?: string;\n}\n","export const TIMELINE_REGISTER_ENTRY_INJECTION_KEY = Symbol('timeline register entry injection key');\nexport const TIMELINE_CONFIG_INJECTION_KEY = Symbol('timeline config obj injection key');\n","<template>\n <div class=\"b-timeline\">\n <div v-if=\"addNote\" class=\"b-timeline__add-note-section\">\n <bento-button\n v-if=\"!showAddNoteTextArea\"\n ref=\"addNoteButtonRef\"\n variant=\"tertiary\"\n @click=\"toggleAddNote\"\n >{{ addNoteLabel }}</bento-button\n >\n <div v-if=\"showAddNoteTextArea\">\n <bento-textarea\n ref=\"addNoteTextareaRef\"\n :label=\"addNoteLabel\"\n :character-limit=\"150\"\n resizable=\"vertical\"\n @update:model-value=\"updateNoteContent\"\n />\n <bento-button-actions\n :actions=\"[\n { title: addNoteLabel, event: addNoteToTimeline },\n { title: cancelLabel, event: toggleAddNote },\n ]\"\n />\n </div>\n </div>\n <ol class=\"b-timeline__items\">\n <slot />\n </ol>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, nextTick, provide, ref, type Ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions } from '@/components/button';\n import { BentoTextarea } from '@/components/textarea';\n import { type BentoInternalTimelineRegisterEntry } from './timeline.internal.types';\n import {\n type BentoTimelineConfigData,\n type BentoTimelineEntry,\n type BentoTimelineProps,\n BentoTimelineShowMorePlacement,\n } from './timeline.types';\n import { TIMELINE_CONFIG_INJECTION_KEY, TIMELINE_REGISTER_ENTRY_INJECTION_KEY } from './timeline.keys';\n import messages from './messages.json';\n import { useI18n } from '@/utils/ts/i18n';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = withDefaults(defineProps<BentoTimelineProps>(), {\n addNote: false,\n showMore: null,\n timegapLimit: null,\n });\n\n const emit = defineEmits(['add-timeline-note']);\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const addNoteLabel = computed(() => t('addNote') as string);\n const cancelLabel = computed(() => t('cancel') as string);\n\n const newNoteContent: Ref<string> = ref();\n const updateNoteContent = (newTimelineNoteContent: string): void => {\n newNoteContent.value = newTimelineNoteContent;\n };\n\n const addNoteTextareaRef: Ref<InstanceType<typeof BentoTextarea>> = ref(null);\n const addNoteButtonRef: Ref<InstanceType<typeof BentoButton>> = ref(null);\n const showAddNoteTextArea = ref(false);\n const toggleAddNote = async () => {\n showAddNoteTextArea.value = !showAddNoteTextArea.value;\n\n await nextTick();\n\n if (showAddNoteTextArea.value) {\n (addNoteTextareaRef.value.$refs.textareaElement as HTMLTextAreaElement)?.focus();\n } else {\n (addNoteButtonRef.value.$el as HTMLButtonElement)?.focus();\n }\n };\n const addNoteToTimeline = () => {\n emit('add-timeline-note', {\n description: newNoteContent.value,\n timestamp: { date: new Date() },\n type: 'note',\n });\n toggleAddNote();\n };\n\n const timelineEntries = ref<Array<BentoTimelineEntry>>([]);\n const hiddenItems = computed(() =>\n props.showMore && timelineEntries.value.length > props.showMore.limit\n ? timelineEntries.value.length - props.showMore.limit\n : null\n );\n const showAll = ref(false);\n const { timegapLimit } = toRefs(props);\n\n const timelineIndexes = computed(() => Array.from(timelineEntries.value.keys()));\n\n const visibleIndexes = computed(() => {\n if (!props.showMore) {\n return null;\n }\n\n if (props.showMore.placement === BentoTimelineShowMorePlacement.BEFORE_LAST) {\n return [\n ...timelineIndexes.value.slice(0, props.showMore.limit - 1),\n timelineIndexes.value[timelineIndexes.value.length - 1],\n ];\n }\n\n if (props.showMore.placement === BentoTimelineShowMorePlacement.AFTER_FIRST) {\n return [timelineIndexes.value[0], ...timelineIndexes.value.slice(-(props.showMore.limit - 1))];\n }\n\n return timelineIndexes.value.slice(0, props.showMore.limit);\n });\n\n const showMoreIndex = computed(() => {\n if (!props.showMore) {\n return null;\n }\n\n switch (props.showMore.placement) {\n case BentoTimelineShowMorePlacement.BEFORE_LAST:\n return props.showMore.limit - 2;\n case BentoTimelineShowMorePlacement.AFTER_FIRST:\n return 0;\n case BentoTimelineShowMorePlacement.BOTTOM:\n default:\n return props.showMore.limit - 1;\n }\n });\n\n const sortEntries = () => {\n // Sorts timeline entries based on date in reverse chronological order (newest first).\n timelineEntries.value.sort((a, b) => {\n return new Date(b.date).getTime() - new Date(a.date).getTime();\n });\n };\n\n const unregisterTimelineEntry = (entryToRemove: BentoTimelineEntry) => () => {\n const index = timelineEntries.value.indexOf(entryToRemove);\n // The index can be -1 if the entry has already been removed by a parent re-render.\n if (index > -1) {\n timelineEntries.value.splice(index, 1);\n }\n };\n\n const registerTimelineEntry: BentoInternalTimelineRegisterEntry = entry => {\n timelineEntries.value.push(entry);\n return { timelineEntries, unregisterTimelineEntry: unregisterTimelineEntry(entry) };\n };\n\n watch(\n () => timelineEntries.value.length,\n () => sortEntries()\n );\n\n const configData: BentoTimelineConfigData = {\n showAll,\n showMoreIndex,\n hiddenItems,\n visibleIndexes,\n timegapLimit,\n timelineEntries,\n };\n\n // provide register timeline entry and config data timeline items\n provide(TIMELINE_REGISTER_ENTRY_INJECTION_KEY, registerTimelineEntry);\n provide(TIMELINE_CONFIG_INJECTION_KEY, configData);\n</script>\n<script lang=\"ts\">\n /**\n * Timeline displays a collection of events in a reverse chronological order (newest event is displayed on the top).\n *\n * @example\n * import { BentoDateFormat, BentoTimeline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTimeline },\n * template: `\n * <bento-timeline>\n * <bento-timeline-item\n * title=\"Milestone 1\"\n * :timestamp=\"{ date: new Date(), value: 'Created at' }\"\n * :additional-timestamp=\"{ date: new Date(), value: 'Modified at' }\"\n * description=\"Milestone description\"\n * :tag=\"{ label: 'Tag'}\"\n * />\n * <bento-timeline-item\n * title=\"Milestone 2\"\n * :timestamp=\"{\n * date: new Date(),\n * value: 'Created at',\n * format: BentoDateFormat.FULL_DATE_EXACT_TIME_WITHOUT_PERIOD\n * }\"\n * description=\"Milestone description\"\n * :data-list=\"[\n * { label: 'Label', value: 'Value' },\n * { label: 'Label', value: 'Value' },\n * ]\"\n * />\n * </bento-timeline>\n * `\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'bento-timeline',\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./timeline.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#001222\" d=\"M10 3.25C11.5188 3.25 12.75 4.48122 12.75 6V10C12.75 11.5188 11.5188 12.75 10 12.75H6C4.48122 12.75 3.25 11.5188 3.25 10V6C3.25 4.48122 4.48122 3.25 6 3.25H10Z\"/></svg>\n</template>\n<script setup>\n import { getCurrentInstance } from 'vue';\n import '../css/main.css';\n\n const instance = getCurrentInstance();\n const uuid = String(instance?.uid ?? instance?.proxy?._uid);\n</script>\n","<template>\n <li v-if=\"isVisible\" class=\"b-timeline-item\" :class=\"conditionalClasses\">\n <div v-if=\"timegap\" class=\"b-timeline-item__row\">\n <div class=\"b-timeline-item__marker\" aria-hidden=\"true\">\n <div class=\"b-timeline-item__icon b-timeline-item__icon--timegap\"></div>\n <div class=\"b-timeline-item__separator\"></div>\n </div>\n <div class=\"b-timeline-item__content\">\n <bento-typography class=\"b-timeline-item__timegap\" :aria-label=\"timegapAriaLabel\">\n {{ timegap }}\n </bento-typography>\n </div>\n </div>\n <div class=\"b-timeline-item__row\">\n <div class=\"b-timeline-item__marker\" aria-hidden=\"true\">\n <square-small-icon class=\"b-timeline-item__icon\" :class=\"iconConditionalClasses\" />\n <div\n v-if=\"!isLastItem\"\n class=\"b-timeline-item__separator\"\n data-testid=\"last-timeline-item-separator\"\n ></div>\n </div>\n <div class=\"b-timeline-item__content\">\n <bento-typography\n v-if=\"!isNoteType\"\n el=\"div\"\n variant=\"body\"\n strongest\n class=\"b-timeline-item__title\"\n role=\"heading\"\n aria-level=\"2\"\n >\n <slot name=\"title\">\n <bento-link v-if=\"isLinkTitle\" v-bind=\"linkTitleProps\" disable-typography>{{\n linkTitleProps.title\n }}</bento-link>\n\n <span v-else>{{ title }}</span>\n </slot>\n </bento-typography>\n\n <bento-typography\n v-if=\"isNoteType && (description || hasSlot('default'))\"\n el=\"div\"\n variant=\"body\"\n class=\"b-timeline-item__description\"\n >\n <slot>{{ description }}</slot>\n </bento-typography>\n\n <bento-typography v-if=\"timestamp\" class=\"b-timeline-item__timestamp\" el=\"div\" variant=\"caption\">\n <bento-date :date=\"timestamp.date\" :format=\"timestamp.format\" disable-typography />\n\n <bento-dashed-underline v-if=\"timestamp.description\" v-bind=\"timestamp.description\">\n {{ timestamp.value }}\n </bento-dashed-underline>\n\n <span v-else>{{ timestamp.value }}</span>\n </bento-typography>\n\n <bento-typography\n v-if=\"!isNoteType && additionalTimestamp\"\n class=\"b-timeline-item__timestamp\"\n el=\"div\"\n variant=\"caption\"\n >\n <bento-date\n :date=\"additionalTimestamp.date\"\n :format=\"additionalTimestamp.format\"\n disable-typography\n />\n\n <bento-dashed-underline\n v-if=\"additionalTimestamp.description\"\n v-bind=\"additionalTimestamp.description\"\n >\n {{ additionalTimestamp.value }}\n </bento-dashed-underline>\n\n <span v-else>\n {{ additionalTimestamp.value }}\n </span>\n </bento-typography>\n\n <bento-typography\n v-if=\"!isNoteType && (description || hasSlot('default'))\"\n el=\"div\"\n variant=\"body\"\n class=\"b-timeline-item__description\"\n >\n <slot>{{ description }}</slot>\n </bento-typography>\n\n <div v-if=\"!isNoteType && dataList\" class=\"b-timeline-item__data-list\">\n <bento-structured-list>\n <bento-structured-list-item\n v-for=\"listEntry in dataList\"\n :key=\"generateUid(listEntry.label)\"\n :label=\"listEntry.label\"\n >\n <bento-typography variant=\"caption\">{{ listEntry.value }}</bento-typography>\n </bento-structured-list-item>\n </bento-structured-list>\n </div>\n <bento-tag v-if=\"!isNoteType && tag\" v-bind=\"tag\" class=\"b-timeline-item__tag\" />\n </div>\n </div>\n <div v-if=\"displayShowMoreButton\" class=\"b-timeline-item__row\">\n <div class=\"b-timeline-item__marker\" aria-hidden=\"true\">\n <div class=\"b-timeline-item__separator\"></div>\n </div>\n <div class=\"b-timeline-item__content\">\n <bento-button class=\"b-timeline__show-more\" variant=\"tertiary\" @click=\"showAll = !showAll\">\n <template v-if=\"!showAll\">{{ t('showMore', { items: hiddenItems }) }}</template>\n <template v-else>{{ t('showLess') }}</template>\n </bento-button>\n </div>\n </div>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, defineComponent, inject, onUnmounted, provide, useSlots, watch } from 'vue';\n // Components\n import { BentoButton } from '@/components/button';\n import { BentoDashedUnderline } from '@/components/dashed-underline';\n import { BentoDate } from '@/components/date';\n import { BentoLink } from '@/components/link';\n import { BentoTag } from '@/components/tag';\n import { BentoTypography } from '@/components/typography';\n import { BentoStructuredList, BentoStructuredListItem } from '@/components/structured-list';\n import SquareSmallIcon from '@adyen/ui-assets-icons-16/vue/square-small-fill';\n // Utils\n import { generateUid } from '@/utils/ts/generate-uid';\n import { useI18n } from '@/utils/ts/i18n';\n import { useHasSlot } from '@/composables';\n import { formatDistanceStrict } from 'date-fns/formatDistanceStrict';\n // Types\n import {\n type BentoTimelineConfigData,\n type BentoTimelineEntry,\n type BentoTimelineItemProps,\n type BentoTimelineItemTitle,\n } from '../../timeline.types';\n import { type BentoTimelineRegisterEntry } from '../../timeline.internal.types';\n // Keys\n import { TIMELINE_CONFIG_INJECTION_KEY, TIMELINE_REGISTER_ENTRY_INJECTION_KEY } from '../../timeline.keys';\n import { STRUCTURED_LIST_CONDENSED_INJECTION_KEY } from '@/components/structured-list/structured-list.keys';\n import messages from './messages.json';\n import { deprecate } from '@/utils/ts/deprecate';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = withDefaults(defineProps<BentoTimelineItemProps>(), {\n additionalTimestamp: null,\n dataList: null,\n description: null,\n status: 'black',\n tag: undefined,\n title: null,\n type: 'milestone',\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const isNoteType = computed(() => props.type === 'note');\n\n const iconConditionalClasses = computed(() => ({\n [`b-timeline-item__icon--${props.status}`]: props.status && !isNoteType.value,\n }));\n const conditionalClasses = computed(() => ({\n 'b-timeline-item--note': isNoteType.value,\n }));\n\n // Provide STRUCTURED_LIST_CONDENSED_INJECTION_KEY as true, to set the internal condensed style in the BentoStructuredList comp\n provide(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, true);\n\n const entry: BentoTimelineEntry = {\n title: props.title,\n date: props.timestamp.date,\n };\n\n // Register timeline entry to the timeline entries array\n const registerTimelineEntry: BentoTimelineRegisterEntry = inject(TIMELINE_REGISTER_ENTRY_INJECTION_KEY);\n const { timelineEntries, unregisterTimelineEntry } = registerTimelineEntry(entry);\n\n // On unmounting timeline item, unregister it from the parent timeline component\n onUnmounted(() => unregisterTimelineEntry());\n\n // Get timeline config data from the parent Timeline comp\n const { showAll, showMoreIndex, hiddenItems, visibleIndexes, timegapLimit }: BentoTimelineConfigData =\n inject(TIMELINE_CONFIG_INJECTION_KEY);\n\n const index = computed(() => timelineEntries.value.indexOf(entry));\n\n const allItemsShowing = computed(() => showAll.value || !visibleIndexes.value);\n const isVisible = computed(() => (allItemsShowing.value ? true : visibleIndexes.value.includes(index.value)));\n const isLinkTitle = computed(() => props.title !== null && typeof props.title === 'object');\n const linkTitleProps = computed(() => props.title as BentoTimelineItemTitle);\n const timegap = computed(() => {\n if (!timegapLimit.value) {\n return null;\n }\n const previousDate = timelineEntries.value[index.value - 1]?.date;\n const isPreviousItemVisible = allItemsShowing.value || visibleIndexes.value.includes(index.value - 1);\n if (!previousDate || !isPreviousItemVisible) {\n return null;\n }\n const { date } = timelineEntries.value[index.value];\n const timegapInSelectedUnit = parseInt(\n formatDistanceStrict(previousDate, date, { unit: timegapLimit.value.unit }),\n 10\n );\n return timegapLimit.value.amount < timegapInSelectedUnit\n ? formatDistanceStrict(previousDate, date, { roundingMethod: 'floor' })\n : null;\n });\n const timegapAriaLabel = computed(() => (timegap.value ? t('timegap', { timegap: timegap.value }) : ''));\n const displayShowMoreButton = computed(() => hiddenItems.value && showMoreIndex.value === index.value);\n const isLastItem = computed(() => {\n // The index can be -1 before the parent has had a chance to sort the array.\n return index.value !== -1 && index.value === timelineEntries.value.length - 1;\n });\n\n watch(\n isLinkTitle,\n isLinkTitle => {\n if (isLinkTitle) {\n deprecate(\n 'BentoTimelineItem object value for the \"title\" prop',\n 'Use a slot <template #title></template> to render a link instead',\n '3.0.0'\n );\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * BentoTimelineItem renders each event in the Timeline component\n *\n * @example\n * import { BentoDateFormat, BentoTimelineItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTimelineItem },\n * template: `\n * <bento-timeline-item\n * title=\"Milestone\"\n * :timestamp=\"{ date: new Date(), value: 'Created at', format: BentoDateFormat.FULL_DATE_EXACT_TIME_WITHOUT_PERIOD }\"\n * :additional-timestamp=\"{ date: new Date(), value: 'Modified at' }\"\n * description=\"Milestone description\"\n * :data-list=\"[\n * { label: 'Label', value: 'Value' },\n * { label: 'Label', value: 'Value' },\n * ]\"\n * :tag=\"{ label: 'Tag'}\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-timeline-item',\n i18n: { messages },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./timeline-item.scss\" />\n"],"names":["formatDistanceStrict","laterDate","earlierDate","options","defaultOptions","getDefaultOptions","locale","enUS","comparison","compareAsc","localizeOptions","laterDate_","earlierDate_","normalizeDates","roundingMethod","getRoundingMethod","milliseconds","minutes","millisecondsInMinute","timezoneOffset","getTimezoneOffsetInMilliseconds","dstNormalizedMinutes","defaultUnit","unit","minutesInDay","minutesInMonth","minutesInYear","seconds","roundedMinutes","hours","days","months","years","BentoTimelineShowMorePlacement","BentoTimelineShowMorePlacement2","BentoTimelineGapUnit","BentoTimelineGapUnit2","BentoTimelineItemVariant","BentoTimelineItemVariant2","BentoTimelineStatus","BentoTimelineStatus2","TIMELINE_REGISTER_ENTRY_INJECTION_KEY","TIMELINE_CONFIG_INJECTION_KEY","__default__$1","defineComponent","messages$1","props","__props","emit","__emit","t","useI18n","addNoteLabel","computed","cancelLabel","newNoteContent","ref","updateNoteContent","newTimelineNoteContent","addNoteTextareaRef","addNoteButtonRef","showAddNoteTextArea","toggleAddNote","nextTick","addNoteToTimeline","timelineEntries","hiddenItems","showAll","timegapLimit","toRefs","timelineIndexes","visibleIndexes","showMoreIndex","sortEntries","a","b","unregisterTimelineEntry","entryToRemove","index","registerTimelineEntry","entry","watch","configData","provide","instance","getCurrentInstance","__default__","messages","slots","useSlots","hasSlot","useHasSlot","isNoteType","iconConditionalClasses","conditionalClasses","STRUCTURED_LIST_CONDENSED_INJECTION_KEY","inject","onUnmounted","allItemsShowing","isVisible","isLinkTitle","linkTitleProps","timegap","previousDate","isPreviousItemVisible","date","timegapInSelectedUnit","timegapAriaLabel","displayShowMoreButton","isLastItem","isLinkTitle2","deprecate"],"mappings":";;;;;;;;;;;;;;;;;;AAmGO,SAAAA,GAAAC,GAAAC,GAAAC,GAAA;AACP,QAAAC,IAAAC,GAAA,GACAC,IAAAH,GAAA,UAAAC,EAAA,UAAAG,IAEAC,IAAAC,GAAAR,GAAAC,CAAA;AAEA,MAAA,MAAAM,CAAA;AACA,UAAA,IAAA,WAAA,oBAAA;AAGA,QAAAE,IAAA,OAAA,OAAA,CAAA,GAAAP,GAAA;AAAA,IACA,WAAAA,GAAA;AAAA,IACA,YAAAK;AAAA,EACA,CAAA,GAEA,CAAAG,GAAAC,CAAA,IAAAC;AAAA,IACAV,GAAA;AAAA,IACA,GAAAK,IAAA,IAAA,CAAAN,GAAAD,CAAA,IAAA,CAAAA,GAAAC,CAAA;AAAA,EACA,GAEAY,IAAAC,GAAAZ,GAAA,kBAAA,OAAA,GAEAa,IAAAJ,EAAA,QAAA,IAAAD,EAAA,QAAA,GACAM,IAAAD,IAAAE,IAEAC,IACAC,EAAAR,CAAA,IACAQ,EAAAT,CAAA,GAIAU,KACAL,IAAAG,KAAAD,IAEAI,IAAAnB,GAAA;AACA,MAAAoB;AAoBA,MAnBAD,IAeAC,IAAAD,IAdAL,IAAA,IACAM,IAAA,WACAN,IAAA,KACAM,IAAA,WACAN,IAAAO,KACAD,IAAA,SACAF,IAAAI,KACAF,IAAA,QACAF,IAAAK,KACAH,IAAA,UAEAA,IAAA,QAOAA,MAAA,UAAA;AACA,UAAAI,IAAAb,EAAAE,IAAA,GAAA;AACA,WAAAV,EAAA,eAAA,YAAAqB,GAAAjB,CAAA;AAAA,EAGA,WAAAa,MAAA,UAAA;AACA,UAAAK,IAAAd,EAAAG,CAAA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