@adyen/bento-vue3 1.3.0 → 1.4.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 +8 -4
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -57
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +27 -29
- package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +136 -128
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +46 -15
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +6 -7
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +37 -11
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -22
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +277 -16
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +164 -104
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -27
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -11
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +53 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
- 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.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +61 -58
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +19 -390
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +6 -9
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -10
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +8 -1
- package/dist/@types/packages/vue2/src/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
- package/dist/accordion.js +104 -254
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +61 -64
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.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/chevron-up.css +1 -0
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- 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/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/index4.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 -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-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +2 -2
- package/dist/button.js +143 -12
- package/dist/button.js.map +1 -1
- package/dist/card.js +99 -94
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +40 -39
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/base-button.6d2843c2.js +108 -0
- package/dist/chunks/base-button.6d2843c2.js.map +1 -0
- package/dist/chunks/base-modal.3ccb9eb5.js +291 -0
- package/dist/chunks/base-modal.3ccb9eb5.js.map +1 -0
- package/dist/chunks/{button.e1c39f66.js → button.a8462029.js} +39 -42
- package/dist/chunks/button.a8462029.js.map +1 -0
- package/dist/chunks/{calendar.09b683b3.js → calendar.3f930683.js} +237 -240
- package/dist/chunks/calendar.3f930683.js.map +1 -0
- package/dist/chunks/checkbox.5e1e05ae.js +235 -0
- package/dist/chunks/checkbox.5e1e05ae.js.map +1 -0
- package/dist/chunks/{chevron-down.69bedf14.js → chevron-up.c03b58f8.js} +8 -8
- package/dist/chunks/chevron-up.c03b58f8.js.map +1 -0
- package/dist/chunks/controls-group.3b0dfb94.js +136 -0
- package/dist/chunks/controls-group.3b0dfb94.js.map +1 -0
- package/dist/chunks/{copy.2cf5e6c3.js → copy.1d14b783.js} +49 -50
- package/dist/chunks/copy.1d14b783.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.203e747f.js → dropdown-default-textbox.a90e84f9.js} +88 -90
- package/dist/chunks/dropdown-default-textbox.a90e84f9.js.map +1 -0
- package/dist/chunks/{dropdown.8b415aac.js → dropdown.b798a82e.js} +348 -330
- package/dist/chunks/dropdown.b798a82e.js.map +1 -0
- package/dist/chunks/{error-message.ddfe8ea5.js → error-message.9acead25.js} +16 -16
- package/dist/chunks/error-message.9acead25.js.map +1 -0
- package/dist/chunks/footer-actions.9537d0df.js +111 -0
- package/dist/chunks/footer-actions.9537d0df.js.map +1 -0
- package/dist/chunks/get-slot-text.bead058f.js +9 -0
- package/dist/chunks/get-slot-text.bead058f.js.map +1 -0
- package/dist/chunks/{grid-layout.a30855ff.js → grid-layout.984317d7.js} +2 -2
- package/dist/chunks/{grid-layout.a30855ff.js.map → grid-layout.984317d7.js.map} +1 -1
- package/dist/chunks/index.228ecda0.js +101 -0
- package/dist/chunks/index.228ecda0.js.map +1 -0
- package/dist/chunks/index.89b00b94.js +124 -0
- package/dist/chunks/index.89b00b94.js.map +1 -0
- package/dist/chunks/{index.3da90517.js → index.9d8273fc.js} +38 -40
- package/dist/chunks/index.9d8273fc.js.map +1 -0
- package/dist/chunks/{index.c9225c3b.js → index.c2a80208.js} +195 -201
- package/dist/chunks/index.c2a80208.js.map +1 -0
- package/dist/chunks/{index.13949709.js → index.d26fdf71.js} +116 -113
- package/dist/chunks/{index.13949709.js.map → index.d26fdf71.js.map} +1 -1
- package/dist/chunks/{index.d27367cd.js → index.e84dbeae.js} +80 -83
- package/dist/chunks/{index.d27367cd.js.map → index.e84dbeae.js.map} +1 -1
- package/dist/chunks/listbox-option-tag.0c9c571e.js +129 -0
- package/dist/chunks/listbox-option-tag.0c9c571e.js.map +1 -0
- package/dist/chunks/{listbox.0c7c4e5e.js → listbox.6b52af1a.js} +315 -334
- package/dist/chunks/listbox.6b52af1a.js.map +1 -0
- package/dist/chunks/{loading-button.61d8ebe5.js → loading-button.081adbf3.js} +33 -33
- package/dist/chunks/loading-button.081adbf3.js.map +1 -0
- package/dist/chunks/tabs.keys.358742f2.js +7 -0
- package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
- package/dist/chunks/{tooltip.835d9b52.js → tooltip.e4e34b86.js} +56 -59
- package/dist/chunks/tooltip.e4e34b86.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js +16 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js.map +1 -0
- package/dist/chunks/use-has-slot.9fac7123.js +16 -0
- package/dist/chunks/use-has-slot.9fac7123.js.map +1 -0
- package/dist/code-snippet.js +548 -463
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +501 -505
- package/dist/country.js.map +1 -1
- package/dist/currency.js +38 -41
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +837 -833
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +83 -87
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +30 -32
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +166 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/filter-bar.js +986 -935
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +72 -72
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +50 -52
- package/dist/header.js.map +1 -1
- package/dist/image.js +76 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +239 -232
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +241 -269
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +38 -36
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +131 -139
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +121 -356
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +182 -185
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +19 -23
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +56 -52
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +36 -41
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +112 -113
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +77 -91
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +88 -75
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +122 -121
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +18 -21
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +129 -162
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +83 -75
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +32 -35
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +156 -155
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +212 -213
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +68 -72
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +75 -73
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +11 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +0 -58
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/chevron-down.css +0 -1
- package/dist/chunks/base-button.20be08da.js +0 -111
- package/dist/chunks/base-button.20be08da.js.map +0 -1
- package/dist/chunks/button-actions.54e28e75.js +0 -124
- package/dist/chunks/button-actions.54e28e75.js.map +0 -1
- package/dist/chunks/button.e1c39f66.js.map +0 -1
- package/dist/chunks/calendar.09b683b3.js.map +0 -1
- package/dist/chunks/checkbox.a404069b.js +0 -226
- package/dist/chunks/checkbox.a404069b.js.map +0 -1
- package/dist/chunks/chevron-down.69bedf14.js.map +0 -1
- package/dist/chunks/controls-group.60fb2a86.js +0 -136
- package/dist/chunks/controls-group.60fb2a86.js.map +0 -1
- package/dist/chunks/copy.2cf5e6c3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.203e747f.js.map +0 -1
- package/dist/chunks/dropdown.8b415aac.js.map +0 -1
- package/dist/chunks/error-message.ddfe8ea5.js.map +0 -1
- package/dist/chunks/footer-actions.0f640f87.js +0 -106
- package/dist/chunks/footer-actions.0f640f87.js.map +0 -1
- package/dist/chunks/get-slot-text.2db867f8.js +0 -9
- package/dist/chunks/get-slot-text.2db867f8.js.map +0 -1
- package/dist/chunks/index.222d29b0.js +0 -120
- package/dist/chunks/index.222d29b0.js.map +0 -1
- package/dist/chunks/index.3da90517.js.map +0 -1
- package/dist/chunks/index.aa34e363.js +0 -104
- package/dist/chunks/index.aa34e363.js.map +0 -1
- package/dist/chunks/index.c9225c3b.js.map +0 -1
- package/dist/chunks/listbox-option-tag.5ae8b79b.js +0 -133
- package/dist/chunks/listbox-option-tag.5ae8b79b.js.map +0 -1
- package/dist/chunks/listbox.0c7c4e5e.js.map +0 -1
- package/dist/chunks/loading-button.61d8ebe5.js.map +0 -1
- package/dist/chunks/tooltip.835d9b52.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
- package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
- package/dist/chunks/use-has-slot.068222e6.js +0 -5
- package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
package/dist/timeline.js
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { B as
|
|
5
|
-
import { BentoTag as
|
|
6
|
-
import { B as
|
|
7
|
-
import { B as fe, a as
|
|
8
|
-
import { C as
|
|
9
|
-
import { C as
|
|
10
|
-
import { r as
|
|
11
|
-
import { c as
|
|
12
|
-
import { g as
|
|
1
|
+
import { defineComponent as X, ref as V, computed as _, toRefs as ae, provide as U, openBlock as a, createElementBlock as f, renderSlot as oe, mergeProps as G, toDisplayString as y, createCommentVNode as b, pushScopeId as x, popScopeId as ee, createElementVNode as v, inject as q, onUnmounted as re, resolveComponent as T, createVNode as E, withCtx as I, createTextVNode as S, createBlock as M, resolveDynamicComponent as le, normalizeClass as z, Fragment as F, renderList as me } from "vue";
|
|
2
|
+
import { _ as B } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
+
import { a as de } from "./chunks/button.a8462029.js";
|
|
4
|
+
import { B as ue } from "./chunks/index.e84dbeae.js";
|
|
5
|
+
import { BentoTag as ce } from "./tag.js";
|
|
6
|
+
import { B as _e } from "./chunks/index.89b00b94.js";
|
|
7
|
+
import { B as fe, a as ve, S as he } from "./chunks/index.9d8273fc.js";
|
|
8
|
+
import { C as pe } from "./chunks/checkmark-circle-fill.e6b84561.js";
|
|
9
|
+
import { C as ge } from "./chunks/cross-circle-fill.0feb37b3.js";
|
|
10
|
+
import { r as be, e as Ie, t as A, g as H } from "./chunks/index.f55fdc32.js";
|
|
11
|
+
import { c as ye, a as Se } from "./chunks/index.86453263.js";
|
|
12
|
+
import { g as Ee } from "./chunks/unique-id.a2a2b458.js";
|
|
13
13
|
import { u as we } from "./chunks/i18n.6c402773.js";
|
|
14
|
-
import "./assets/
|
|
15
|
-
var
|
|
16
|
-
function P(e,
|
|
14
|
+
import "./assets/index40.css";
|
|
15
|
+
var J = 1e3 * 60, O = 60 * 24, K = O * 30, Z = O * 365;
|
|
16
|
+
function P(e, t) {
|
|
17
17
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
18
|
-
|
|
18
|
+
be(2, arguments);
|
|
19
19
|
var l = r.locale || Ie;
|
|
20
20
|
if (!l.formatDistance)
|
|
21
21
|
throw new RangeError("locale must contain localize.formatDistance property");
|
|
22
|
-
var
|
|
23
|
-
if (isNaN(
|
|
22
|
+
var h = ye(e, t);
|
|
23
|
+
if (isNaN(h))
|
|
24
24
|
throw new RangeError("Invalid time value");
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
var i,
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
else if (
|
|
33
|
-
|
|
34
|
-
else if (
|
|
35
|
-
|
|
25
|
+
var s = Se(r);
|
|
26
|
+
s.addSuffix = !!r.addSuffix, s.comparison = h;
|
|
27
|
+
var i, c;
|
|
28
|
+
h > 0 ? (i = A(t), c = A(e)) : (i = A(e), c = A(t));
|
|
29
|
+
var p = r.roundingMethod == null ? "round" : String(r.roundingMethod), m;
|
|
30
|
+
if (p === "floor")
|
|
31
|
+
m = Math.floor;
|
|
32
|
+
else if (p === "ceil")
|
|
33
|
+
m = Math.ceil;
|
|
34
|
+
else if (p === "round")
|
|
35
|
+
m = Math.round;
|
|
36
36
|
else
|
|
37
37
|
throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
|
|
38
|
-
var
|
|
39
|
-
if (r.unit == null ?
|
|
40
|
-
var L =
|
|
41
|
-
return l.formatDistance("xSeconds", L,
|
|
42
|
-
} else if (
|
|
43
|
-
var
|
|
44
|
-
return l.formatDistance("xMinutes",
|
|
45
|
-
} else if (
|
|
46
|
-
var
|
|
47
|
-
return l.formatDistance("xHours",
|
|
48
|
-
} else if (
|
|
49
|
-
var
|
|
50
|
-
return l.formatDistance("xDays",
|
|
51
|
-
} else if (
|
|
52
|
-
var
|
|
53
|
-
return
|
|
54
|
-
} else if (
|
|
55
|
-
var
|
|
56
|
-
return l.formatDistance("xYears",
|
|
38
|
+
var n = c.getTime() - i.getTime(), o = n / J, u = H(c) - H(i), g = (n - u) / J, d;
|
|
39
|
+
if (r.unit == null ? o < 1 ? d = "second" : o < 60 ? d = "minute" : o < O ? d = "hour" : g < K ? d = "day" : g < Z ? d = "month" : d = "year" : d = String(r.unit), d === "second") {
|
|
40
|
+
var L = m(n / 1e3);
|
|
41
|
+
return l.formatDistance("xSeconds", L, s);
|
|
42
|
+
} else if (d === "minute") {
|
|
43
|
+
var k = m(o);
|
|
44
|
+
return l.formatDistance("xMinutes", k, s);
|
|
45
|
+
} else if (d === "hour") {
|
|
46
|
+
var R = m(o / 60);
|
|
47
|
+
return l.formatDistance("xHours", R, s);
|
|
48
|
+
} else if (d === "day") {
|
|
49
|
+
var $ = m(g / O);
|
|
50
|
+
return l.formatDistance("xDays", $, s);
|
|
51
|
+
} else if (d === "month") {
|
|
52
|
+
var C = m(g / K);
|
|
53
|
+
return C === 12 && r.unit !== "month" ? l.formatDistance("xYears", 1, s) : l.formatDistance("xMonths", C, s);
|
|
54
|
+
} else if (d === "year") {
|
|
55
|
+
var D = m(g / Z);
|
|
56
|
+
return l.formatDistance("xYears", D, s);
|
|
57
57
|
}
|
|
58
58
|
throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
|
|
59
59
|
}
|
|
60
|
-
var
|
|
61
|
-
const
|
|
60
|
+
var N = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(N || {}), Ce = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(Ce || {}), w = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(w || {});
|
|
61
|
+
const te = Symbol("timeline register entry injection key"), ie = Symbol("timeline config obj injection key"), Te = X({
|
|
62
62
|
name: "bento-timeline",
|
|
63
63
|
props: {
|
|
64
64
|
/**
|
|
@@ -80,90 +80,93 @@ const ee = Symbol("timeline register entry injection key"), te = Symbol("timelin
|
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
setup(e) {
|
|
83
|
-
const
|
|
84
|
-
() => e.showMore &&
|
|
85
|
-
), l =
|
|
83
|
+
const t = V([]), r = _(
|
|
84
|
+
() => e.showMore && t.value.length > e.showMore.limit ? t.value.length - e.showMore.limit : null
|
|
85
|
+
), l = V(!1), { timegapLimit: h } = ae(e), s = _(() => {
|
|
86
86
|
if (!e.showMore)
|
|
87
87
|
return null;
|
|
88
|
-
const
|
|
89
|
-
return e.showMore.placement ===
|
|
90
|
-
...
|
|
91
|
-
|
|
92
|
-
] : e.showMore.placement ===
|
|
93
|
-
}), i =
|
|
88
|
+
const n = Array.from(t.value.keys());
|
|
89
|
+
return e.showMore.placement === N.BEFORE_LAST ? [
|
|
90
|
+
...n.slice(0, e.showMore.limit - 1),
|
|
91
|
+
n[n.length - 1]
|
|
92
|
+
] : e.showMore.placement === N.AFTER_FIRST ? [n[0], ...n.slice(-(e.showMore.limit - 1))] : n.slice(0, e.showMore.limit);
|
|
93
|
+
}), i = _(() => {
|
|
94
94
|
if (!e.showMore)
|
|
95
95
|
return null;
|
|
96
96
|
switch (e.showMore.placement) {
|
|
97
|
-
case
|
|
97
|
+
case N.BEFORE_LAST:
|
|
98
98
|
return e.showMore.limit - 2;
|
|
99
|
-
case
|
|
99
|
+
case N.AFTER_FIRST:
|
|
100
100
|
return 0;
|
|
101
|
-
case
|
|
101
|
+
case N.BOTTOM:
|
|
102
102
|
default:
|
|
103
103
|
return e.showMore.limit - 1;
|
|
104
104
|
}
|
|
105
|
-
}),
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
},
|
|
105
|
+
}), c = (n) => () => {
|
|
106
|
+
var o;
|
|
107
|
+
t.value = (o = t.value) == null ? void 0 : o.filter((u, g) => g !== n);
|
|
108
|
+
}, p = ({ title: n, date: o }) => {
|
|
109
|
+
const u = t.value.length;
|
|
110
|
+
return t.value.push({ title: n, date: o }), { timelineEntries: t, index: u, unregisterTimelineEntry: c(u) };
|
|
111
|
+
}, m = {
|
|
109
112
|
showAll: l,
|
|
110
113
|
showMoreIndex: i,
|
|
111
114
|
hiddenItems: r,
|
|
112
|
-
visibleIndexes:
|
|
113
|
-
timegapLimit:
|
|
115
|
+
visibleIndexes: s,
|
|
116
|
+
timegapLimit: h
|
|
114
117
|
};
|
|
115
|
-
|
|
118
|
+
U(te, p), U(ie, m);
|
|
116
119
|
}
|
|
117
120
|
});
|
|
118
|
-
const
|
|
119
|
-
function
|
|
120
|
-
return
|
|
121
|
+
const Me = { class: "b-timeline" };
|
|
122
|
+
function Ne(e, t, r, l, h, s) {
|
|
123
|
+
return a(), f("ol", Me, [
|
|
121
124
|
oe(e.$slots, "default", {}, void 0, !0)
|
|
122
125
|
]);
|
|
123
126
|
}
|
|
124
|
-
const
|
|
125
|
-
let
|
|
126
|
-
const
|
|
127
|
+
const lt = /* @__PURE__ */ B(Te, [["render", Ne], ["__scopeId", "data-v-02203eda"]]);
|
|
128
|
+
let Q = 0;
|
|
129
|
+
const Le = {
|
|
127
130
|
beforeCreate() {
|
|
128
|
-
this.uuid =
|
|
131
|
+
this.uuid = Q.toString(), Q += 1;
|
|
129
132
|
}
|
|
130
|
-
},
|
|
133
|
+
}, Ae = (e) => (x("data-v-f702de38"), e = e(), ee(), e), Oe = { key: 0 }, ke = /* @__PURE__ */ Ae(() => /* @__PURE__ */ v("path", {
|
|
131
134
|
fill: "#00112C",
|
|
132
135
|
"fill-rule": "evenodd",
|
|
133
136
|
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",
|
|
134
137
|
"clip-rule": "evenodd"
|
|
135
138
|
}, null, -1));
|
|
136
|
-
function Re(e,
|
|
137
|
-
return
|
|
139
|
+
function Re(e, t, r, l, h, s) {
|
|
140
|
+
return a(), f("svg", G({ role: "img" }, e.$attrs, {
|
|
138
141
|
xmlns: "http://www.w3.org/2000/svg",
|
|
139
142
|
width: "16",
|
|
140
143
|
height: "16",
|
|
141
144
|
fill: "none"
|
|
142
145
|
}), [
|
|
143
|
-
e.$attrs["svg-title"] ? (
|
|
144
|
-
|
|
146
|
+
e.$attrs["svg-title"] ? (a(), f("title", Oe, y(e.$attrs["svg-title"]), 1)) : b("", !0),
|
|
147
|
+
ke
|
|
145
148
|
], 16);
|
|
146
149
|
}
|
|
147
|
-
const
|
|
150
|
+
const $e = /* @__PURE__ */ B(Le, [["render", Re], ["__scopeId", "data-v-f702de38"]]), W = {
|
|
148
151
|
"en-US": {
|
|
149
152
|
timegap: "{timegap} passed between the timeline events",
|
|
150
153
|
showMore: "Show {items} more",
|
|
151
154
|
showLess: "Show less"
|
|
152
155
|
}
|
|
153
|
-
},
|
|
156
|
+
}, De = X({
|
|
154
157
|
name: "bento-timeline-item",
|
|
155
158
|
components: {
|
|
156
|
-
BentoButton:
|
|
157
|
-
BentoDate:
|
|
158
|
-
BentoTag:
|
|
159
|
-
BentoTypography:
|
|
159
|
+
BentoButton: de,
|
|
160
|
+
BentoDate: ue,
|
|
161
|
+
BentoTag: ce,
|
|
162
|
+
BentoTypography: _e,
|
|
160
163
|
BentoStructuredList: fe,
|
|
161
|
-
BentoStructuredListItem:
|
|
162
|
-
CrossCircleIcon:
|
|
163
|
-
CheckedCircleIcon:
|
|
164
|
-
SquareSmallIcon:
|
|
164
|
+
BentoStructuredListItem: ve,
|
|
165
|
+
CrossCircleIcon: ge,
|
|
166
|
+
CheckedCircleIcon: pe,
|
|
167
|
+
SquareSmallIcon: $e
|
|
165
168
|
},
|
|
166
|
-
i18n: { messages:
|
|
169
|
+
i18n: { messages: W },
|
|
167
170
|
props: {
|
|
168
171
|
/**
|
|
169
172
|
* Additional timestamp of the event
|
|
@@ -213,220 +216,216 @@ const ke = /* @__PURE__ */ F(Ae, [["render", Re], ["__scopeId", "data-v-f702de38
|
|
|
213
216
|
*/
|
|
214
217
|
variant: {
|
|
215
218
|
type: String,
|
|
216
|
-
default:
|
|
217
|
-
validator: (e) => Object.values(
|
|
219
|
+
default: w.DEFAULT,
|
|
220
|
+
validator: (e) => Object.values(w).includes(e)
|
|
218
221
|
}
|
|
219
222
|
},
|
|
220
223
|
setup(e) {
|
|
221
|
-
const { t
|
|
222
|
-
"b-timeline-item__icon--default": e.variant ===
|
|
223
|
-
"b-timeline-item__icon--success": e.variant ===
|
|
224
|
-
"b-timeline-item__icon--critical": e.variant ===
|
|
225
|
-
})), l =
|
|
226
|
-
"b-timeline-item__title--default": e.variant ===
|
|
224
|
+
const { t } = we({ messages: W }), r = _(() => ({
|
|
225
|
+
"b-timeline-item__icon--default": e.variant === w.DEFAULT,
|
|
226
|
+
"b-timeline-item__icon--success": e.variant === w.SUCCESS,
|
|
227
|
+
"b-timeline-item__icon--critical": e.variant === w.CRITICAL
|
|
228
|
+
})), l = _(() => ({
|
|
229
|
+
"b-timeline-item__title--default": e.variant === w.DEFAULT
|
|
227
230
|
}));
|
|
228
|
-
|
|
229
|
-
const
|
|
231
|
+
U(he, !0);
|
|
232
|
+
const h = q(te), { timelineEntries: s, index: i, unregisterTimelineEntry: c } = h({
|
|
230
233
|
title: e.title,
|
|
231
234
|
date: e.timestamp.date
|
|
232
|
-
})
|
|
233
|
-
|
|
234
|
-
|
|
235
|
+
});
|
|
236
|
+
re(() => c());
|
|
237
|
+
const { showAll: p, showMoreIndex: m, hiddenItems: n, visibleIndexes: o, timegapLimit: u } = q(ie), g = _(() => p.value || !o.value), d = _(() => g.value ? !0 : o.value.includes(i)), L = _(() => {
|
|
238
|
+
var Y;
|
|
239
|
+
if (!u.value)
|
|
235
240
|
return null;
|
|
236
|
-
const
|
|
237
|
-
if (!
|
|
241
|
+
const C = (Y = s.value[i - 1]) == null ? void 0 : Y.date, D = g.value || o.value.includes(i - 1);
|
|
242
|
+
if (!C || !D)
|
|
238
243
|
return null;
|
|
239
|
-
const { date:
|
|
240
|
-
P(
|
|
244
|
+
const { date: j } = s.value[i], se = parseInt(
|
|
245
|
+
P(C, j, { unit: u.value.unit }),
|
|
241
246
|
10
|
|
242
247
|
);
|
|
243
|
-
return
|
|
244
|
-
}),
|
|
248
|
+
return u.value.amount < se ? P(C, j, { roundingMethod: "floor" }) : null;
|
|
249
|
+
}), k = _(() => L.value ? t("timegap", { timegap: L.value }) : ""), R = _(() => n.value && m.value === i), $ = _(() => i === s.value.length - 1);
|
|
245
250
|
return {
|
|
246
251
|
// Values
|
|
247
252
|
iconConditionalClasses: r,
|
|
248
253
|
titleConditionalClasses: l,
|
|
249
254
|
displayShowMoreButton: R,
|
|
250
|
-
showAll:
|
|
251
|
-
hiddenItems:
|
|
252
|
-
isVisible:
|
|
253
|
-
timegap:
|
|
254
|
-
timegapAriaLabel:
|
|
255
|
-
isLastItem:
|
|
255
|
+
showAll: p,
|
|
256
|
+
hiddenItems: n,
|
|
257
|
+
isVisible: d,
|
|
258
|
+
timegap: L,
|
|
259
|
+
timegapAriaLabel: k,
|
|
260
|
+
isLastItem: $,
|
|
256
261
|
// Methods
|
|
257
|
-
generateUid:
|
|
258
|
-
t
|
|
259
|
-
// Types
|
|
260
|
-
BentoTimelineItemVariant: T,
|
|
261
|
-
BentoTypographyElement: _e,
|
|
262
|
-
BentoTypographyVariant: pe,
|
|
263
|
-
BentoButtonVariant: me
|
|
262
|
+
generateUid: Ee,
|
|
263
|
+
t
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
|
-
const
|
|
267
|
+
const ne = (e) => (x("data-v-cbd33889"), e = e(), ee(), e), Fe = {
|
|
268
268
|
key: 0,
|
|
269
269
|
class: "b-timeline-item"
|
|
270
|
-
},
|
|
270
|
+
}, Ue = {
|
|
271
271
|
key: 0,
|
|
272
272
|
class: "b-timeline-item__row"
|
|
273
|
-
},
|
|
273
|
+
}, Be = /* @__PURE__ */ ne(() => /* @__PURE__ */ v("div", {
|
|
274
274
|
class: "b-timeline-item__marker",
|
|
275
275
|
"aria-hidden": "true"
|
|
276
276
|
}, [
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
279
|
-
], -1)),
|
|
277
|
+
/* @__PURE__ */ v("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
|
|
278
|
+
/* @__PURE__ */ v("div", { class: "b-timeline-item__separator" })
|
|
279
|
+
], -1)), je = { class: "b-timeline-item__content" }, Ye = { class: "b-timeline-item__row" }, Ve = {
|
|
280
280
|
class: "b-timeline-item__marker",
|
|
281
281
|
"aria-hidden": "true"
|
|
282
|
-
},
|
|
282
|
+
}, qe = {
|
|
283
283
|
key: 0,
|
|
284
|
-
class: "b-timeline-item__separator"
|
|
285
|
-
|
|
284
|
+
class: "b-timeline-item__separator",
|
|
285
|
+
"data-testid": "last-timeline-item-separator"
|
|
286
|
+
}, ze = { class: "b-timeline-item__content" }, He = {
|
|
286
287
|
key: 3,
|
|
287
288
|
class: "b-timeline-item__data-list"
|
|
288
|
-
},
|
|
289
|
+
}, Je = {
|
|
289
290
|
key: 1,
|
|
290
291
|
class: "b-timeline-item__row"
|
|
291
|
-
},
|
|
292
|
+
}, Ke = /* @__PURE__ */ ne(() => /* @__PURE__ */ v("div", {
|
|
292
293
|
class: "b-timeline-item__marker",
|
|
293
294
|
"aria-hidden": "true"
|
|
294
295
|
}, [
|
|
295
|
-
/* @__PURE__ */
|
|
296
|
+
/* @__PURE__ */ v("div", { class: "b-timeline-item__separator" })
|
|
296
297
|
], -1)), Ze = { class: "b-timeline-item__content" };
|
|
297
|
-
function
|
|
298
|
-
const i =
|
|
299
|
-
return e.isVisible ? (
|
|
300
|
-
e.timegap ? (
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
298
|
+
function Pe(e, t, r, l, h, s) {
|
|
299
|
+
const i = T("bento-typography"), c = T("bento-date"), p = T("bento-structured-list-item"), m = T("bento-structured-list"), n = T("bento-tag"), o = T("bento-button");
|
|
300
|
+
return e.isVisible ? (a(), f("li", Fe, [
|
|
301
|
+
e.timegap ? (a(), f("div", Ue, [
|
|
302
|
+
Be,
|
|
303
|
+
v("div", je, [
|
|
304
|
+
E(i, {
|
|
304
305
|
class: "b-timeline-item__timegap",
|
|
305
306
|
"aria-label": e.timegapAriaLabel
|
|
306
307
|
}, {
|
|
307
|
-
default:
|
|
308
|
-
|
|
308
|
+
default: I(() => [
|
|
309
|
+
S(y(e.timegap), 1)
|
|
309
310
|
]),
|
|
310
311
|
_: 1
|
|
311
312
|
}, 8, ["aria-label"])
|
|
312
313
|
])
|
|
313
|
-
])) :
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
(
|
|
317
|
-
class:
|
|
314
|
+
])) : b("", !0),
|
|
315
|
+
v("div", Ye, [
|
|
316
|
+
v("div", Ve, [
|
|
317
|
+
(a(), M(le(e.variant), {
|
|
318
|
+
class: z(["b-timeline-item__icon", e.iconConditionalClasses])
|
|
318
319
|
}, null, 8, ["class"])),
|
|
319
|
-
e.isLastItem ?
|
|
320
|
+
e.isLastItem ? b("", !0) : (a(), f("div", qe))
|
|
320
321
|
]),
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
el:
|
|
324
|
-
variant:
|
|
322
|
+
v("div", ze, [
|
|
323
|
+
E(i, {
|
|
324
|
+
el: "div",
|
|
325
|
+
variant: "body",
|
|
325
326
|
strongest: "",
|
|
326
|
-
class:
|
|
327
|
+
class: z(["b-timeline-item__title", e.titleConditionalClasses]),
|
|
327
328
|
role: "heading"
|
|
328
329
|
}, {
|
|
329
|
-
default:
|
|
330
|
-
|
|
330
|
+
default: I(() => [
|
|
331
|
+
S(y(e.title), 1)
|
|
331
332
|
]),
|
|
332
333
|
_: 1
|
|
333
|
-
}, 8, ["
|
|
334
|
-
e.timestamp ? (
|
|
334
|
+
}, 8, ["class"]),
|
|
335
|
+
e.timestamp ? (a(), M(i, {
|
|
335
336
|
key: 0,
|
|
336
337
|
class: "b-timeline-item__timestamp",
|
|
337
|
-
el:
|
|
338
|
-
variant:
|
|
338
|
+
el: "div",
|
|
339
|
+
variant: "caption"
|
|
339
340
|
}, {
|
|
340
|
-
default:
|
|
341
|
-
|
|
341
|
+
default: I(() => [
|
|
342
|
+
E(c, {
|
|
342
343
|
date: e.timestamp.date,
|
|
343
344
|
format: e.timestamp.format,
|
|
344
345
|
"disable-typography": ""
|
|
345
346
|
}, null, 8, ["date", "format"]),
|
|
346
|
-
|
|
347
|
+
S(" " + y(e.timestamp.value), 1)
|
|
347
348
|
]),
|
|
348
349
|
_: 1
|
|
349
|
-
}
|
|
350
|
-
e.additionalTimestamp ? (
|
|
350
|
+
})) : b("", !0),
|
|
351
|
+
e.additionalTimestamp ? (a(), M(i, {
|
|
351
352
|
key: 1,
|
|
352
353
|
class: "b-timeline-item__timestamp",
|
|
353
|
-
el:
|
|
354
|
-
variant:
|
|
354
|
+
el: "div",
|
|
355
|
+
variant: "caption"
|
|
355
356
|
}, {
|
|
356
|
-
default:
|
|
357
|
-
|
|
357
|
+
default: I(() => [
|
|
358
|
+
E(c, {
|
|
358
359
|
date: e.additionalTimestamp.date,
|
|
359
360
|
format: e.additionalTimestamp.format,
|
|
360
361
|
"disable-typography": ""
|
|
361
362
|
}, null, 8, ["date", "format"]),
|
|
362
|
-
|
|
363
|
+
S(" " + y(e.additionalTimestamp.value), 1)
|
|
363
364
|
]),
|
|
364
365
|
_: 1
|
|
365
|
-
}
|
|
366
|
-
e.description ? (
|
|
366
|
+
})) : b("", !0),
|
|
367
|
+
e.description ? (a(), M(i, {
|
|
367
368
|
key: 2,
|
|
368
|
-
el:
|
|
369
|
-
variant:
|
|
369
|
+
el: "div",
|
|
370
|
+
variant: "body",
|
|
370
371
|
class: "b-timeline-item__description"
|
|
371
372
|
}, {
|
|
372
|
-
default:
|
|
373
|
-
|
|
373
|
+
default: I(() => [
|
|
374
|
+
S(y(e.description), 1)
|
|
374
375
|
]),
|
|
375
376
|
_: 1
|
|
376
|
-
}
|
|
377
|
-
e.dataList ? (
|
|
378
|
-
|
|
379
|
-
default:
|
|
380
|
-
(
|
|
381
|
-
key: e.generateUid(
|
|
382
|
-
label:
|
|
377
|
+
})) : b("", !0),
|
|
378
|
+
e.dataList ? (a(), f("div", He, [
|
|
379
|
+
E(m, null, {
|
|
380
|
+
default: I(() => [
|
|
381
|
+
(a(!0), f(F, null, me(e.dataList, (u) => (a(), M(p, {
|
|
382
|
+
key: e.generateUid(u.label),
|
|
383
|
+
label: u.label
|
|
383
384
|
}, {
|
|
384
|
-
default:
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
default: b(() => [
|
|
389
|
-
I(y(g.value), 1)
|
|
385
|
+
default: I(() => [
|
|
386
|
+
E(i, { variant: "caption" }, {
|
|
387
|
+
default: I(() => [
|
|
388
|
+
S(y(u.value), 1)
|
|
390
389
|
]),
|
|
391
390
|
_: 2
|
|
392
|
-
},
|
|
391
|
+
}, 1024)
|
|
393
392
|
]),
|
|
394
393
|
_: 2
|
|
395
394
|
}, 1032, ["label"]))), 128))
|
|
396
395
|
]),
|
|
397
396
|
_: 1
|
|
398
397
|
})
|
|
399
|
-
])) :
|
|
400
|
-
e.tag ? (
|
|
398
|
+
])) : b("", !0),
|
|
399
|
+
e.tag ? (a(), M(n, G({ key: 4 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : b("", !0)
|
|
401
400
|
])
|
|
402
401
|
]),
|
|
403
|
-
e.displayShowMoreButton ? (
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
402
|
+
e.displayShowMoreButton ? (a(), f("div", Je, [
|
|
403
|
+
Ke,
|
|
404
|
+
v("div", Ze, [
|
|
405
|
+
E(o, {
|
|
407
406
|
class: "b-timeline__show-more",
|
|
408
|
-
variant:
|
|
409
|
-
onClick:
|
|
407
|
+
variant: "tertiary",
|
|
408
|
+
onClick: t[0] || (t[0] = (u) => e.showAll = !e.showAll)
|
|
410
409
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
e.showAll ? (
|
|
413
|
-
|
|
414
|
-
], 64)) : (
|
|
415
|
-
|
|
410
|
+
default: I(() => [
|
|
411
|
+
e.showAll ? (a(), f(F, { key: 1 }, [
|
|
412
|
+
S(y(e.t("showLess")), 1)
|
|
413
|
+
], 64)) : (a(), f(F, { key: 0 }, [
|
|
414
|
+
S(y(e.t("showMore", { items: e.hiddenItems })), 1)
|
|
416
415
|
], 64))
|
|
417
416
|
]),
|
|
418
417
|
_: 1
|
|
419
|
-
}
|
|
418
|
+
})
|
|
420
419
|
])
|
|
421
|
-
])) :
|
|
422
|
-
])) :
|
|
420
|
+
])) : b("", !0)
|
|
421
|
+
])) : b("", !0);
|
|
423
422
|
}
|
|
424
|
-
const
|
|
423
|
+
const mt = /* @__PURE__ */ B(De, [["render", Pe], ["__scopeId", "data-v-cbd33889"]]);
|
|
425
424
|
export {
|
|
426
|
-
|
|
425
|
+
lt as BentoTimeline,
|
|
427
426
|
Ce as BentoTimelineGapUnit,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
427
|
+
mt as BentoTimelineItem,
|
|
428
|
+
w as BentoTimelineItemVariant,
|
|
429
|
+
N as BentoTimelineShowMorePlacement
|
|
431
430
|
};
|
|
432
431
|
//# sourceMappingURL=timeline.js.map
|