@adyen/bento-vue3 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +2 -0
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +45 -0
- package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +229 -220
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +44 -46
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +46 -28
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +802 -52
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +64 -7
- package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +10 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +7 -4
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +173 -0
- package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
- package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
- package/dist/accordion.js +52 -43
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +210 -0
- package/dist/action-bar.js.map +1 -0
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/checkmark.css +1 -0
- package/dist/assets/chevron-left.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/refresh.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +30 -22
- package/dist/button.js.map +1 -1
- package/dist/card.js +84 -84
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.4b5ab17e.js → base-button.7897a95e.js} +2 -2
- package/dist/chunks/{base-button.4b5ab17e.js.map → base-button.7897a95e.js.map} +1 -1
- package/dist/chunks/{base-modal.53a229ac.js → base-modal.0c85e7cb.js} +4 -4
- package/dist/chunks/{base-modal.53a229ac.js.map → base-modal.0c85e7cb.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.fa35390c.js +107 -0
- package/dist/chunks/button-actions-with-menu.fa35390c.js.map +1 -0
- package/dist/chunks/{button.975d0bb8.js → button.e5177388.js} +44 -36
- package/dist/chunks/button.e5177388.js.map +1 -0
- package/dist/chunks/{calendar.cc37ac1f.js → calendar.c83d4e99.js} +274 -250
- package/dist/chunks/calendar.c83d4e99.js.map +1 -0
- package/dist/chunks/{checkbox.67ceb148.js → checkbox.3cdbdd52.js} +7 -7
- package/dist/chunks/{checkbox.67ceb148.js.map → checkbox.3cdbdd52.js.map} +1 -1
- package/dist/chunks/checkmark.83e4f1e0.js +30 -0
- package/dist/chunks/checkmark.83e4f1e0.js.map +1 -0
- package/dist/chunks/{chevron-right.aef416c6.js → chevron-left.2fd6b083.js} +10 -10
- package/dist/chunks/chevron-left.2fd6b083.js.map +1 -0
- package/dist/chunks/{controls-group.7214dc7f.js → controls-group.38b436f6.js} +2 -2
- package/dist/chunks/{controls-group.7214dc7f.js.map → controls-group.38b436f6.js.map} +1 -1
- package/dist/chunks/{copy.7a73d1fd.js → copy.86236c8d.js} +4 -4
- package/dist/chunks/{copy.7a73d1fd.js.map → copy.86236c8d.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.0f878a8d.js → dropdown-default-textbox.0b38fac3.js} +4 -4
- package/dist/chunks/dropdown-default-textbox.0b38fac3.js.map +1 -0
- package/dist/chunks/{dropdown.7a104ce3.js → dropdown.afff433b.js} +144 -110
- package/dist/chunks/dropdown.afff433b.js.map +1 -0
- package/dist/chunks/{error-message.b91afffc.js → error-message.64e1964b.js} +2 -2
- package/dist/chunks/{error-message.b91afffc.js.map → error-message.64e1964b.js.map} +1 -1
- package/dist/chunks/fixed-scroller.e5aa7b00.js +148 -0
- package/dist/chunks/fixed-scroller.e5aa7b00.js.map +1 -0
- package/dist/chunks/{footer-actions.13f19a22.js → footer-actions.1ce44374.js} +3 -3
- package/dist/chunks/{footer-actions.13f19a22.js.map → footer-actions.1ce44374.js.map} +1 -1
- package/dist/chunks/{index.7f24db66.js → index.2bd3812b.js} +2 -2
- package/dist/chunks/{index.7f24db66.js.map → index.2bd3812b.js.map} +1 -1
- package/dist/chunks/{index.1dc4ebae.js → index.369b0e66.js} +112 -92
- package/dist/chunks/index.369b0e66.js.map +1 -0
- package/dist/chunks/{index.536bcb56.js → index.6a665ade.js} +3 -3
- package/dist/chunks/{index.536bcb56.js.map → index.6a665ade.js.map} +1 -1
- package/dist/chunks/{index.4c951e0d.js → index.77f35162.js} +6 -6
- package/dist/chunks/{index.4c951e0d.js.map → index.77f35162.js.map} +1 -1
- package/dist/chunks/index.bcc58fdd.js +1334 -0
- package/dist/chunks/index.bcc58fdd.js.map +1 -0
- package/dist/chunks/index.c207e9ab.js +602 -0
- package/dist/chunks/index.c207e9ab.js.map +1 -0
- package/dist/chunks/{index.6700224a.js → index.e579bc02.js} +2 -2
- package/dist/chunks/{index.6700224a.js.map → index.e579bc02.js.map} +1 -1
- package/dist/chunks/{index.d68847b0.js → index.fa7b44f1.js} +2 -2
- package/dist/chunks/{index.d68847b0.js.map → index.fa7b44f1.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js → listbox-option-tag.809ec40e.js} +3 -3
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js.map → listbox-option-tag.809ec40e.js.map} +1 -1
- package/dist/chunks/listbox.f6e5a11d.js +1306 -0
- package/dist/chunks/listbox.f6e5a11d.js.map +1 -0
- package/dist/chunks/{loading-button.6523a015.js → loading-button.746b7fa1.js} +2 -2
- package/dist/chunks/{loading-button.6523a015.js.map → loading-button.746b7fa1.js.map} +1 -1
- package/dist/chunks/refresh.c38c9eee.js +30 -0
- package/dist/chunks/refresh.c38c9eee.js.map +1 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
- package/dist/chunks/{tooltip.b5391514.js → tooltip.f769eb14.js} +54 -51
- package/dist/chunks/{tooltip.b5391514.js.map → tooltip.f769eb14.js.map} +1 -1
- package/dist/code-snippet.js +6 -6
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +553 -541
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +10 -10
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +129 -118
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +44 -42
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +696 -683
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +3 -3
- package/dist/header.js +121 -198
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -4
- package/dist/index.js +164 -158
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +8 -8
- package/dist/input-field.js +7 -7
- package/dist/internal.js +20 -144
- package/dist/internal.js.map +1 -1
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +3 -592
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +3 -3
- package/dist/pagination.js +37 -21
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +50 -40
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +16 -16
- package/dist/popper-container.js +6 -1276
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +128 -97
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +130 -106
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +94 -91
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +146 -163
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +128 -99
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +216 -203
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +6 -6
- package/dist/tutorial.js +375 -0
- package/dist/tutorial.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -2
- package/dist/assets/chevron-right.css +0 -1
- package/dist/chunks/button.975d0bb8.js.map +0 -1
- package/dist/chunks/calendar.cc37ac1f.js.map +0 -1
- package/dist/chunks/chevron-right.aef416c6.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.0f878a8d.js.map +0 -1
- package/dist/chunks/dropdown.7a104ce3.js.map +0 -1
- package/dist/chunks/index.1dc4ebae.js.map +0 -1
- package/dist/chunks/listbox.0f25778d.js +0 -1213
- package/dist/chunks/listbox.0f25778d.js.map +0 -1
package/dist/textarea.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as g, mergeProps as se, toDisplayString as v, createCommentVNode as i, pushScopeId as ie, popScopeId as ne, createElementVNode as O, defineComponent as ce, useAttrs as ue, toRefs as U, ref as m, toRef as de, computed as s, watch as N, nextTick as be, onMounted as fe, normalizeClass as C, unref as a, normalizeStyle as F, createVNode as E, withCtx as b, createTextVNode as h, createBlock as f, withKeys as w } from "vue";
|
|
2
|
-
import { B as p } from "./chunks/index.
|
|
3
|
-
import { a as pe } from "./chunks/button.
|
|
2
|
+
import { B as p } from "./chunks/index.2bd3812b.js";
|
|
3
|
+
import { a as pe } from "./chunks/button.e5177388.js";
|
|
4
4
|
import { g as ve } from "./chunks/unique-id.a2a2b458.js";
|
|
5
5
|
import { o as _e } from "./chunks/resize.a041304d.js";
|
|
6
6
|
import { u as me } from "./chunks/i18n.6c402773.js";
|
|
7
7
|
import { u as he } from "./chunks/aria-label.ac9651a5.js";
|
|
8
8
|
import { u as ge } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
9
9
|
import { _ as q } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
10
|
-
import { E as K } from "./chunks/error-message.
|
|
11
|
-
import "./assets/
|
|
10
|
+
import { E as K } from "./chunks/error-message.64e1964b.js";
|
|
11
|
+
import "./assets/index43.css";
|
|
12
12
|
var H = /* @__PURE__ */ ((e) => (e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e.BOTH = "both", e.NONE = "none", e))(H || {}), _ = /* @__PURE__ */ ((e) => (e.CLEARABLE = "clearable", e.DISABLED = "disabled", e.ERROR = "error", e.READONLY = "readonly", e))(_ || {}), c = /* @__PURE__ */ ((e) => (e.BLUR = "blur", e.CHANGE = "change", e.CLEAR = "clear", e.ESCAPE_PRESSED = "escape-pressed", e.FOCUS = "focus", e.INPUT = "input", e))(c || {});
|
|
13
13
|
let T = 0;
|
|
14
14
|
const ye = {
|
package/dist/timeline.js
CHANGED
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { a as
|
|
4
|
-
import { B as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { B as
|
|
8
|
-
import {
|
|
9
|
-
import { C as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
1
|
+
import { defineComponent as x, ref as q, computed as _, toRefs as me, provide as j, openBlock as i, createElementBlock as f, renderSlot as ee, mergeProps as B, toDisplayString as y, createCommentVNode as I, pushScopeId as te, popScopeId as ie, createElementVNode as p, inject as z, onUnmounted as de, resolveComponent as E, createVNode as w, withCtx as b, createTextVNode as S, createBlock as T, resolveDynamicComponent as ue, normalizeClass as J, Fragment as U, renderList as ce } from "vue";
|
|
2
|
+
import { _ as Y } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
+
import { a as _e } from "./chunks/button.e5177388.js";
|
|
4
|
+
import { B as fe } from "./chunks/index.fa7b44f1.js";
|
|
5
|
+
import { BentoLink as ve } from "./link.js";
|
|
6
|
+
import { BentoTag as pe } from "./tag.js";
|
|
7
|
+
import { B as he } from "./chunks/index.2bd3812b.js";
|
|
8
|
+
import { B as ge, a as be, S as ye } from "./chunks/index.77f35162.js";
|
|
9
|
+
import { C as Ie } from "./chunks/checkmark-circle-fill.e6b84561.js";
|
|
10
|
+
import { C as Se } from "./chunks/cross-circle-fill.0feb37b3.js";
|
|
11
|
+
import { r as Ee, e as we, t as N, g as K } from "./chunks/index.f55fdc32.js";
|
|
12
|
+
import { c as Te, a as Ce } from "./chunks/index.86453263.js";
|
|
13
|
+
import { g as Me } from "./chunks/unique-id.a2a2b458.js";
|
|
14
|
+
import { u as ke } from "./chunks/i18n.6c402773.js";
|
|
15
|
+
import { u as Le } from "./chunks/use-has-slot.4d98bf29.js";
|
|
16
|
+
import "./assets/index41.css";
|
|
17
|
+
var P = 1e3 * 60, O = 60 * 24, Z = O * 30, Q = O * 365;
|
|
18
|
+
function W(e, t) {
|
|
19
|
+
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
20
|
+
Ee(2, arguments);
|
|
21
|
+
var d = s.locale || we;
|
|
22
|
+
if (!d.formatDistance)
|
|
21
23
|
throw new RangeError("locale must contain localize.formatDistance property");
|
|
22
|
-
var h =
|
|
24
|
+
var h = Te(e, t);
|
|
23
25
|
if (isNaN(h))
|
|
24
26
|
throw new RangeError("Invalid time value");
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
var
|
|
28
|
-
h > 0 ? (
|
|
29
|
-
var
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
else if (
|
|
33
|
-
|
|
34
|
-
else if (
|
|
35
|
-
|
|
27
|
+
var a = Ce(s);
|
|
28
|
+
a.addSuffix = !!s.addSuffix, a.comparison = h;
|
|
29
|
+
var o, u;
|
|
30
|
+
h > 0 ? (o = N(t), u = N(e)) : (o = N(e), u = N(t));
|
|
31
|
+
var g = s.roundingMethod == null ? "round" : String(s.roundingMethod), r;
|
|
32
|
+
if (g === "floor")
|
|
33
|
+
r = Math.floor;
|
|
34
|
+
else if (g === "ceil")
|
|
35
|
+
r = Math.ceil;
|
|
36
|
+
else if (g === "round")
|
|
37
|
+
r = Math.round;
|
|
36
38
|
else
|
|
37
39
|
throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
|
|
38
|
-
var n =
|
|
39
|
-
if (
|
|
40
|
-
var
|
|
41
|
-
return
|
|
42
|
-
} else if (
|
|
43
|
-
var
|
|
44
|
-
return
|
|
45
|
-
} else if (
|
|
46
|
-
var R =
|
|
47
|
-
return
|
|
48
|
-
} else if (
|
|
49
|
-
var
|
|
50
|
-
return
|
|
51
|
-
} else if (
|
|
52
|
-
var
|
|
53
|
-
return
|
|
54
|
-
} else if (
|
|
55
|
-
var D =
|
|
56
|
-
return
|
|
40
|
+
var n = u.getTime() - o.getTime(), c = n / P, v = K(u) - K(o), l = (n - v) / P, m;
|
|
41
|
+
if (s.unit == null ? c < 1 ? m = "second" : c < 60 ? m = "minute" : c < O ? m = "hour" : l < Z ? m = "day" : l < Q ? m = "month" : m = "year" : m = String(s.unit), m === "second") {
|
|
42
|
+
var A = r(n / 1e3);
|
|
43
|
+
return d.formatDistance("xSeconds", A, a);
|
|
44
|
+
} else if (m === "minute") {
|
|
45
|
+
var $ = r(c);
|
|
46
|
+
return d.formatDistance("xMinutes", $, a);
|
|
47
|
+
} else if (m === "hour") {
|
|
48
|
+
var R = r(c / 60);
|
|
49
|
+
return d.formatDistance("xHours", R, a);
|
|
50
|
+
} else if (m === "day") {
|
|
51
|
+
var k = r(l / O);
|
|
52
|
+
return d.formatDistance("xDays", k, a);
|
|
53
|
+
} else if (m === "month") {
|
|
54
|
+
var L = r(l / Z);
|
|
55
|
+
return L === 12 && s.unit !== "month" ? d.formatDistance("xYears", 1, a) : d.formatDistance("xMonths", L, a);
|
|
56
|
+
} else if (m === "year") {
|
|
57
|
+
var D = r(l / Q);
|
|
58
|
+
return d.formatDistance("xYears", D, a);
|
|
57
59
|
}
|
|
58
60
|
throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
|
|
59
61
|
}
|
|
60
|
-
var
|
|
61
|
-
const
|
|
62
|
+
var M = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(M || {}), Ne = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(Ne || {}), C = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(C || {});
|
|
63
|
+
const ne = Symbol("timeline register entry injection key"), oe = Symbol("timeline config obj injection key"), Oe = x({
|
|
62
64
|
name: "bento-timeline",
|
|
63
65
|
props: {
|
|
64
66
|
/**
|
|
@@ -80,93 +82,94 @@ const te = Symbol("timeline register entry injection key"), ie = Symbol("timelin
|
|
|
80
82
|
}
|
|
81
83
|
},
|
|
82
84
|
setup(e) {
|
|
83
|
-
const t =
|
|
85
|
+
const t = q([]), s = _(
|
|
84
86
|
() => e.showMore && t.value.length > e.showMore.limit ? t.value.length - e.showMore.limit : null
|
|
85
|
-
),
|
|
87
|
+
), d = q(!1), { timegapLimit: h } = me(e), a = _(() => {
|
|
86
88
|
if (!e.showMore)
|
|
87
89
|
return null;
|
|
88
90
|
const n = Array.from(t.value.keys());
|
|
89
|
-
return e.showMore.placement ===
|
|
91
|
+
return e.showMore.placement === M.BEFORE_LAST ? [
|
|
90
92
|
...n.slice(0, e.showMore.limit - 1),
|
|
91
93
|
n[n.length - 1]
|
|
92
|
-
] : e.showMore.placement ===
|
|
93
|
-
}),
|
|
94
|
+
] : e.showMore.placement === M.AFTER_FIRST ? [n[0], ...n.slice(-(e.showMore.limit - 1))] : n.slice(0, e.showMore.limit);
|
|
95
|
+
}), o = _(() => {
|
|
94
96
|
if (!e.showMore)
|
|
95
97
|
return null;
|
|
96
98
|
switch (e.showMore.placement) {
|
|
97
|
-
case
|
|
99
|
+
case M.BEFORE_LAST:
|
|
98
100
|
return e.showMore.limit - 2;
|
|
99
|
-
case
|
|
101
|
+
case M.AFTER_FIRST:
|
|
100
102
|
return 0;
|
|
101
|
-
case
|
|
103
|
+
case M.BOTTOM:
|
|
102
104
|
default:
|
|
103
105
|
return e.showMore.limit - 1;
|
|
104
106
|
}
|
|
105
|
-
}),
|
|
106
|
-
var
|
|
107
|
-
t.value = (
|
|
108
|
-
},
|
|
109
|
-
const
|
|
110
|
-
return t.value.push({ title: n, date:
|
|
111
|
-
},
|
|
112
|
-
showAll:
|
|
113
|
-
showMoreIndex:
|
|
114
|
-
hiddenItems:
|
|
115
|
-
visibleIndexes:
|
|
107
|
+
}), u = (n) => () => {
|
|
108
|
+
var c;
|
|
109
|
+
t.value = (c = t.value) == null ? void 0 : c.filter((v, l) => l !== n);
|
|
110
|
+
}, g = ({ title: n, date: c }) => {
|
|
111
|
+
const v = t.value.length;
|
|
112
|
+
return t.value.push({ title: n, date: c }), { timelineEntries: t, index: v, unregisterTimelineEntry: u(v) };
|
|
113
|
+
}, r = {
|
|
114
|
+
showAll: d,
|
|
115
|
+
showMoreIndex: o,
|
|
116
|
+
hiddenItems: s,
|
|
117
|
+
visibleIndexes: a,
|
|
116
118
|
timegapLimit: h
|
|
117
119
|
};
|
|
118
|
-
|
|
120
|
+
j(ne, g), j(oe, r);
|
|
119
121
|
}
|
|
120
122
|
});
|
|
121
|
-
const
|
|
122
|
-
function
|
|
123
|
-
return
|
|
124
|
-
|
|
123
|
+
const Ae = { class: "b-timeline" };
|
|
124
|
+
function $e(e, t, s, d, h, a) {
|
|
125
|
+
return i(), f("ol", Ae, [
|
|
126
|
+
ee(e.$slots, "default", {}, void 0, !0)
|
|
125
127
|
]);
|
|
126
128
|
}
|
|
127
|
-
const
|
|
128
|
-
let
|
|
129
|
-
const
|
|
129
|
+
const pt = /* @__PURE__ */ Y(Oe, [["render", $e], ["__scopeId", "data-v-2dc17695"]]);
|
|
130
|
+
let X = 0;
|
|
131
|
+
const Re = {
|
|
130
132
|
beforeCreate() {
|
|
131
|
-
this.uuid =
|
|
133
|
+
this.uuid = X.toString(), X += 1;
|
|
132
134
|
}
|
|
133
|
-
},
|
|
135
|
+
}, De = (e) => (te("data-v-f702de38"), e = e(), ie(), e), Fe = { key: 0 }, Ue = /* @__PURE__ */ De(() => /* @__PURE__ */ p("path", {
|
|
134
136
|
fill: "#00112C",
|
|
135
137
|
"fill-rule": "evenodd",
|
|
136
138
|
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",
|
|
137
139
|
"clip-rule": "evenodd"
|
|
138
140
|
}, null, -1));
|
|
139
|
-
function
|
|
140
|
-
return
|
|
141
|
+
function je(e, t, s, d, h, a) {
|
|
142
|
+
return i(), f("svg", B({ role: "img" }, e.$attrs, {
|
|
141
143
|
xmlns: "http://www.w3.org/2000/svg",
|
|
142
144
|
width: "16",
|
|
143
145
|
height: "16",
|
|
144
146
|
fill: "none"
|
|
145
147
|
}), [
|
|
146
|
-
e.$attrs["svg-title"] ? (
|
|
147
|
-
|
|
148
|
+
e.$attrs["svg-title"] ? (i(), f("title", Fe, y(e.$attrs["svg-title"]), 1)) : I("", !0),
|
|
149
|
+
Ue
|
|
148
150
|
], 16);
|
|
149
151
|
}
|
|
150
|
-
const
|
|
152
|
+
const Be = /* @__PURE__ */ Y(Re, [["render", je], ["__scopeId", "data-v-f702de38"]]), G = {
|
|
151
153
|
"en-US": {
|
|
152
154
|
timegap: "{timegap} passed between the timeline events",
|
|
153
155
|
showMore: "Show {items} more",
|
|
154
156
|
showLess: "Show less"
|
|
155
157
|
}
|
|
156
|
-
},
|
|
158
|
+
}, Ye = x({
|
|
157
159
|
name: "bento-timeline-item",
|
|
158
160
|
components: {
|
|
159
|
-
BentoButton:
|
|
160
|
-
BentoDate:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
161
|
+
BentoButton: _e,
|
|
162
|
+
BentoDate: fe,
|
|
163
|
+
BentoLink: ve,
|
|
164
|
+
BentoTag: pe,
|
|
165
|
+
BentoTypography: he,
|
|
166
|
+
BentoStructuredList: ge,
|
|
167
|
+
BentoStructuredListItem: be,
|
|
168
|
+
CrossCircleIcon: Se,
|
|
169
|
+
CheckedCircleIcon: Ie,
|
|
170
|
+
SquareSmallIcon: Be
|
|
168
171
|
},
|
|
169
|
-
i18n: { messages:
|
|
172
|
+
i18n: { messages: G },
|
|
170
173
|
props: {
|
|
171
174
|
/**
|
|
172
175
|
* Additional timestamp of the event
|
|
@@ -207,7 +210,7 @@ const $e = /* @__PURE__ */ B(Le, [["render", Re], ["__scopeId", "data-v-f702de38
|
|
|
207
210
|
* Title of the event
|
|
208
211
|
*/
|
|
209
212
|
title: {
|
|
210
|
-
type: String,
|
|
213
|
+
type: [Object, String],
|
|
211
214
|
required: !0
|
|
212
215
|
},
|
|
213
216
|
/**
|
|
@@ -216,130 +219,138 @@ const $e = /* @__PURE__ */ B(Le, [["render", Re], ["__scopeId", "data-v-f702de38
|
|
|
216
219
|
*/
|
|
217
220
|
variant: {
|
|
218
221
|
type: String,
|
|
219
|
-
default:
|
|
220
|
-
validator: (e) => Object.values(
|
|
222
|
+
default: C.DEFAULT,
|
|
223
|
+
validator: (e) => Object.values(C).includes(e)
|
|
221
224
|
}
|
|
222
225
|
},
|
|
223
|
-
setup(e) {
|
|
224
|
-
const { t } =
|
|
225
|
-
"b-timeline-item__icon--default": e.variant ===
|
|
226
|
-
"b-timeline-item__icon--success": e.variant ===
|
|
227
|
-
"b-timeline-item__icon--critical": e.variant ===
|
|
228
|
-
})),
|
|
229
|
-
"b-timeline-item__title--default": e.variant ===
|
|
226
|
+
setup(e, { slots: t }) {
|
|
227
|
+
const { t: s } = ke({ messages: G }), d = _(() => ({
|
|
228
|
+
"b-timeline-item__icon--default": e.variant === C.DEFAULT,
|
|
229
|
+
"b-timeline-item__icon--success": e.variant === C.SUCCESS,
|
|
230
|
+
"b-timeline-item__icon--critical": e.variant === C.CRITICAL
|
|
231
|
+
})), h = _(() => ({
|
|
232
|
+
"b-timeline-item__title--default": e.variant === C.DEFAULT
|
|
230
233
|
}));
|
|
231
|
-
|
|
232
|
-
const
|
|
234
|
+
j(ye, !0);
|
|
235
|
+
const a = z(ne), { timelineEntries: o, index: u, unregisterTimelineEntry: g } = a({
|
|
233
236
|
title: e.title,
|
|
234
237
|
date: e.timestamp.date
|
|
235
238
|
});
|
|
236
|
-
|
|
237
|
-
const { showAll:
|
|
238
|
-
var
|
|
239
|
-
if (!
|
|
239
|
+
de(() => g());
|
|
240
|
+
const { showAll: r, showMoreIndex: n, hiddenItems: c, visibleIndexes: v, timegapLimit: l } = z(oe), m = _(() => r.value || !v.value), A = _(() => m.value ? !0 : v.value.includes(u)), $ = _(() => typeof e.title == "object"), R = _(() => e.title), k = _(() => {
|
|
241
|
+
var V;
|
|
242
|
+
if (!l.value)
|
|
240
243
|
return null;
|
|
241
|
-
const
|
|
242
|
-
if (!
|
|
244
|
+
const F = (V = o.value[u - 1]) == null ? void 0 : V.date, re = m.value || v.value.includes(u - 1);
|
|
245
|
+
if (!F || !re)
|
|
243
246
|
return null;
|
|
244
|
-
const { date:
|
|
245
|
-
|
|
247
|
+
const { date: H } = o.value[u], le = parseInt(
|
|
248
|
+
W(F, H, { unit: l.value.unit }),
|
|
246
249
|
10
|
|
247
250
|
);
|
|
248
|
-
return
|
|
249
|
-
}),
|
|
251
|
+
return l.value.amount < le ? W(F, H, { roundingMethod: "floor" }) : null;
|
|
252
|
+
}), L = _(() => k.value ? s("timegap", { timegap: k.value }) : ""), D = _(() => c.value && n.value === u), ae = _(() => u === o.value.length - 1);
|
|
250
253
|
return {
|
|
251
254
|
// Values
|
|
252
|
-
iconConditionalClasses:
|
|
253
|
-
titleConditionalClasses:
|
|
254
|
-
displayShowMoreButton:
|
|
255
|
-
showAll:
|
|
256
|
-
hiddenItems:
|
|
257
|
-
isVisible:
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
255
|
+
iconConditionalClasses: d,
|
|
256
|
+
titleConditionalClasses: h,
|
|
257
|
+
displayShowMoreButton: D,
|
|
258
|
+
showAll: r,
|
|
259
|
+
hiddenItems: c,
|
|
260
|
+
isVisible: A,
|
|
261
|
+
isLinkTitle: $,
|
|
262
|
+
linkTitleProps: R,
|
|
263
|
+
timegap: k,
|
|
264
|
+
timegapAriaLabel: L,
|
|
265
|
+
isLastItem: ae,
|
|
261
266
|
// Methods
|
|
262
|
-
generateUid:
|
|
263
|
-
t
|
|
267
|
+
generateUid: Me,
|
|
268
|
+
hasSlot: Le(t),
|
|
269
|
+
t: s
|
|
264
270
|
};
|
|
265
271
|
}
|
|
266
272
|
});
|
|
267
|
-
const
|
|
273
|
+
const se = (e) => (te("data-v-5ee3448b"), e = e(), ie(), e), He = {
|
|
268
274
|
key: 0,
|
|
269
275
|
class: "b-timeline-item"
|
|
270
|
-
},
|
|
276
|
+
}, Ve = {
|
|
271
277
|
key: 0,
|
|
272
278
|
class: "b-timeline-item__row"
|
|
273
|
-
},
|
|
279
|
+
}, qe = /* @__PURE__ */ se(() => /* @__PURE__ */ p("div", {
|
|
274
280
|
class: "b-timeline-item__marker",
|
|
275
281
|
"aria-hidden": "true"
|
|
276
282
|
}, [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
279
|
-
], -1)),
|
|
283
|
+
/* @__PURE__ */ p("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
|
|
284
|
+
/* @__PURE__ */ p("div", { class: "b-timeline-item__separator" })
|
|
285
|
+
], -1)), ze = { class: "b-timeline-item__content" }, Je = { class: "b-timeline-item__row" }, Ke = {
|
|
280
286
|
class: "b-timeline-item__marker",
|
|
281
287
|
"aria-hidden": "true"
|
|
282
|
-
},
|
|
288
|
+
}, Pe = {
|
|
283
289
|
key: 0,
|
|
284
290
|
class: "b-timeline-item__separator",
|
|
285
291
|
"data-testid": "last-timeline-item-separator"
|
|
286
|
-
},
|
|
292
|
+
}, Ze = { class: "b-timeline-item__content" }, Qe = { key: 1 }, We = {
|
|
287
293
|
key: 3,
|
|
288
294
|
class: "b-timeline-item__data-list"
|
|
289
|
-
},
|
|
295
|
+
}, Xe = {
|
|
290
296
|
key: 1,
|
|
291
297
|
class: "b-timeline-item__row"
|
|
292
|
-
},
|
|
298
|
+
}, Ge = /* @__PURE__ */ se(() => /* @__PURE__ */ p("div", {
|
|
293
299
|
class: "b-timeline-item__marker",
|
|
294
300
|
"aria-hidden": "true"
|
|
295
301
|
}, [
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
], -1)),
|
|
298
|
-
function
|
|
299
|
-
const
|
|
300
|
-
return e.isVisible ? (
|
|
301
|
-
e.timegap ? (
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
302
|
+
/* @__PURE__ */ p("div", { class: "b-timeline-item__separator" })
|
|
303
|
+
], -1)), xe = { class: "b-timeline-item__content" };
|
|
304
|
+
function et(e, t, s, d, h, a) {
|
|
305
|
+
const o = E("bento-typography"), u = E("bento-link"), g = E("bento-date"), r = E("bento-structured-list-item"), n = E("bento-structured-list"), c = E("bento-tag"), v = E("bento-button");
|
|
306
|
+
return e.isVisible ? (i(), f("li", He, [
|
|
307
|
+
e.timegap ? (i(), f("div", Ve, [
|
|
308
|
+
qe,
|
|
309
|
+
p("div", ze, [
|
|
310
|
+
w(o, {
|
|
305
311
|
class: "b-timeline-item__timegap",
|
|
306
312
|
"aria-label": e.timegapAriaLabel
|
|
307
313
|
}, {
|
|
308
|
-
default:
|
|
314
|
+
default: b(() => [
|
|
309
315
|
S(y(e.timegap), 1)
|
|
310
316
|
]),
|
|
311
317
|
_: 1
|
|
312
318
|
}, 8, ["aria-label"])
|
|
313
319
|
])
|
|
314
|
-
])) :
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
(
|
|
318
|
-
class:
|
|
320
|
+
])) : I("", !0),
|
|
321
|
+
p("div", Je, [
|
|
322
|
+
p("div", Ke, [
|
|
323
|
+
(i(), T(ue(e.variant), {
|
|
324
|
+
class: J(["b-timeline-item__icon", e.iconConditionalClasses])
|
|
319
325
|
}, null, 8, ["class"])),
|
|
320
|
-
e.isLastItem ?
|
|
326
|
+
e.isLastItem ? I("", !0) : (i(), f("div", Pe))
|
|
321
327
|
]),
|
|
322
|
-
|
|
323
|
-
|
|
328
|
+
p("div", Ze, [
|
|
329
|
+
w(o, {
|
|
324
330
|
el: "div",
|
|
325
331
|
variant: "body",
|
|
326
332
|
strongest: "",
|
|
327
|
-
class:
|
|
333
|
+
class: J(["b-timeline-item__title", e.titleConditionalClasses]),
|
|
328
334
|
role: "heading"
|
|
329
335
|
}, {
|
|
330
|
-
default:
|
|
331
|
-
|
|
336
|
+
default: b(() => [
|
|
337
|
+
e.isLinkTitle ? (i(), T(u, B({ key: 0 }, e.linkTitleProps, { "disable-typography": "" }), {
|
|
338
|
+
default: b(() => [
|
|
339
|
+
S(y(e.linkTitleProps.title), 1)
|
|
340
|
+
]),
|
|
341
|
+
_: 1
|
|
342
|
+
}, 16)) : (i(), f("span", Qe, y(e.title), 1))
|
|
332
343
|
]),
|
|
333
344
|
_: 1
|
|
334
345
|
}, 8, ["class"]),
|
|
335
|
-
e.timestamp ? (
|
|
346
|
+
e.timestamp ? (i(), T(o, {
|
|
336
347
|
key: 0,
|
|
337
348
|
class: "b-timeline-item__timestamp",
|
|
338
349
|
el: "div",
|
|
339
350
|
variant: "caption"
|
|
340
351
|
}, {
|
|
341
|
-
default:
|
|
342
|
-
|
|
352
|
+
default: b(() => [
|
|
353
|
+
w(g, {
|
|
343
354
|
date: e.timestamp.date,
|
|
344
355
|
format: e.timestamp.format,
|
|
345
356
|
"disable-typography": ""
|
|
@@ -347,15 +358,15 @@ function Pe(e, t, r, l, h, s) {
|
|
|
347
358
|
S(" " + y(e.timestamp.value), 1)
|
|
348
359
|
]),
|
|
349
360
|
_: 1
|
|
350
|
-
})) :
|
|
351
|
-
e.additionalTimestamp ? (
|
|
361
|
+
})) : I("", !0),
|
|
362
|
+
e.additionalTimestamp ? (i(), T(o, {
|
|
352
363
|
key: 1,
|
|
353
364
|
class: "b-timeline-item__timestamp",
|
|
354
365
|
el: "div",
|
|
355
366
|
variant: "caption"
|
|
356
367
|
}, {
|
|
357
|
-
default:
|
|
358
|
-
|
|
368
|
+
default: b(() => [
|
|
369
|
+
w(g, {
|
|
359
370
|
date: e.additionalTimestamp.date,
|
|
360
371
|
format: e.additionalTimestamp.format,
|
|
361
372
|
"disable-typography": ""
|
|
@@ -363,29 +374,31 @@ function Pe(e, t, r, l, h, s) {
|
|
|
363
374
|
S(" " + y(e.additionalTimestamp.value), 1)
|
|
364
375
|
]),
|
|
365
376
|
_: 1
|
|
366
|
-
})) :
|
|
367
|
-
e.description ? (
|
|
377
|
+
})) : I("", !0),
|
|
378
|
+
e.description || e.hasSlot("default") ? (i(), T(o, {
|
|
368
379
|
key: 2,
|
|
369
380
|
el: "div",
|
|
370
381
|
variant: "body",
|
|
371
382
|
class: "b-timeline-item__description"
|
|
372
383
|
}, {
|
|
373
|
-
default:
|
|
374
|
-
|
|
384
|
+
default: b(() => [
|
|
385
|
+
ee(e.$slots, "default", {}, () => [
|
|
386
|
+
S(y(e.description), 1)
|
|
387
|
+
], !0)
|
|
375
388
|
]),
|
|
376
|
-
_:
|
|
377
|
-
})) :
|
|
378
|
-
e.dataList ? (
|
|
379
|
-
|
|
380
|
-
default:
|
|
381
|
-
(
|
|
382
|
-
key: e.generateUid(
|
|
383
|
-
label:
|
|
389
|
+
_: 3
|
|
390
|
+
})) : I("", !0),
|
|
391
|
+
e.dataList ? (i(), f("div", We, [
|
|
392
|
+
w(n, null, {
|
|
393
|
+
default: b(() => [
|
|
394
|
+
(i(!0), f(U, null, ce(e.dataList, (l) => (i(), T(r, {
|
|
395
|
+
key: e.generateUid(l.label),
|
|
396
|
+
label: l.label
|
|
384
397
|
}, {
|
|
385
|
-
default:
|
|
386
|
-
|
|
387
|
-
default:
|
|
388
|
-
S(y(
|
|
398
|
+
default: b(() => [
|
|
399
|
+
w(o, { variant: "caption" }, {
|
|
400
|
+
default: b(() => [
|
|
401
|
+
S(y(l.value), 1)
|
|
389
402
|
]),
|
|
390
403
|
_: 2
|
|
391
404
|
}, 1024)
|
|
@@ -395,37 +408,37 @@ function Pe(e, t, r, l, h, s) {
|
|
|
395
408
|
]),
|
|
396
409
|
_: 1
|
|
397
410
|
})
|
|
398
|
-
])) :
|
|
399
|
-
e.tag ? (
|
|
411
|
+
])) : I("", !0),
|
|
412
|
+
e.tag ? (i(), T(c, B({ key: 4 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : I("", !0)
|
|
400
413
|
])
|
|
401
414
|
]),
|
|
402
|
-
e.displayShowMoreButton ? (
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
415
|
+
e.displayShowMoreButton ? (i(), f("div", Xe, [
|
|
416
|
+
Ge,
|
|
417
|
+
p("div", xe, [
|
|
418
|
+
w(v, {
|
|
406
419
|
class: "b-timeline__show-more",
|
|
407
420
|
variant: "tertiary",
|
|
408
|
-
onClick: t[0] || (t[0] = (
|
|
421
|
+
onClick: t[0] || (t[0] = (l) => e.showAll = !e.showAll)
|
|
409
422
|
}, {
|
|
410
|
-
default:
|
|
411
|
-
e.showAll ? (
|
|
423
|
+
default: b(() => [
|
|
424
|
+
e.showAll ? (i(), f(U, { key: 1 }, [
|
|
412
425
|
S(y(e.t("showLess")), 1)
|
|
413
|
-
], 64)) : (
|
|
426
|
+
], 64)) : (i(), f(U, { key: 0 }, [
|
|
414
427
|
S(y(e.t("showMore", { items: e.hiddenItems })), 1)
|
|
415
428
|
], 64))
|
|
416
429
|
]),
|
|
417
430
|
_: 1
|
|
418
431
|
})
|
|
419
432
|
])
|
|
420
|
-
])) :
|
|
421
|
-
])) :
|
|
433
|
+
])) : I("", !0)
|
|
434
|
+
])) : I("", !0);
|
|
422
435
|
}
|
|
423
|
-
const
|
|
436
|
+
const ht = /* @__PURE__ */ Y(Ye, [["render", et], ["__scopeId", "data-v-5ee3448b"]]);
|
|
424
437
|
export {
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
438
|
+
pt as BentoTimeline,
|
|
439
|
+
Ne as BentoTimelineGapUnit,
|
|
440
|
+
ht as BentoTimelineItem,
|
|
441
|
+
C as BentoTimelineItemVariant,
|
|
442
|
+
M as BentoTimelineShowMorePlacement
|
|
430
443
|
};
|
|
431
444
|
//# sourceMappingURL=timeline.js.map
|