@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/pagination.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as y, ref as
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
import { g as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
|
|
1
|
+
import { defineComponent as y, ref as A, computed as m, resolveComponent as u, openBlock as o, createElementBlock as _, createVNode as p, withCtx as c, createBlock as P, resolveDynamicComponent as E, mergeProps as C, createSlots as U, createTextVNode as N, toDisplayString as h, createCommentVNode as $, pushScopeId as T, popScopeId as w, createElementVNode as d, toRefs as V, normalizeClass as j } from "vue";
|
|
2
|
+
import { u as J } from "./chunks/aria-label.ac9651a5.js";
|
|
3
|
+
import { B as R } from "./chunks/index.89b00b94.js";
|
|
4
|
+
import { B as F } from "./chunks/dropdown.b798a82e.js";
|
|
5
|
+
import { g as M } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
+
import { g as D, a as Z } from "./chunks/i18n.6c402773.js";
|
|
7
|
+
import { _ as f } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
8
|
+
import { a as K } from "./chunks/button.a8462029.js";
|
|
9
|
+
import "./assets/index29.css";
|
|
10
|
+
const q = {
|
|
10
11
|
"en-US": {
|
|
11
12
|
showingItems: "Showing {itemCount} items",
|
|
12
13
|
showingItemsWithTotal: "Showing {itemCount} of {totalCount} items"
|
|
@@ -31,19 +32,19 @@ const K = {
|
|
|
31
32
|
showingItems: "Mostrando {itemCount} artículos",
|
|
32
33
|
showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículos"
|
|
33
34
|
}
|
|
34
|
-
},
|
|
35
|
+
}, G = 50, S = [
|
|
35
36
|
{ label: "10", value: 10 },
|
|
36
37
|
{ label: "20", value: 20 },
|
|
37
38
|
{ label: "50", value: 50 },
|
|
38
39
|
// DEFAULT_NUMBER_OF_RESULTS
|
|
39
40
|
{ label: "75", value: 75 },
|
|
40
41
|
{ label: "100", value: 100 }
|
|
41
|
-
],
|
|
42
|
+
], H = y({
|
|
42
43
|
name: "bento-pagination-context-results-per-page",
|
|
43
|
-
i18n: { messages:
|
|
44
|
+
i18n: { messages: q },
|
|
44
45
|
components: {
|
|
45
|
-
BentoDropdown:
|
|
46
|
-
BentoTypography:
|
|
46
|
+
BentoDropdown: F,
|
|
47
|
+
BentoTypography: R
|
|
47
48
|
},
|
|
48
49
|
props: {
|
|
49
50
|
/**
|
|
@@ -51,8 +52,8 @@ const K = {
|
|
|
51
52
|
*/
|
|
52
53
|
itemsPerPage: {
|
|
53
54
|
type: Number,
|
|
54
|
-
default:
|
|
55
|
-
validator: (e) =>
|
|
55
|
+
default: G,
|
|
56
|
+
validator: (e) => S.some(({ value: t }) => t === e)
|
|
56
57
|
},
|
|
57
58
|
/**
|
|
58
59
|
* The total number of items the pager is paging through.
|
|
@@ -60,40 +61,36 @@ const K = {
|
|
|
60
61
|
totalCount: { type: Number, default: null }
|
|
61
62
|
},
|
|
62
63
|
emits: ["select"],
|
|
63
|
-
setup(e, { emit:
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
}, g =
|
|
64
|
+
setup(e, { emit: t }) {
|
|
65
|
+
const n = M("b-pagination-context-number-elements"), i = A(S), s = Z(), l = (a) => {
|
|
66
|
+
t("select", a);
|
|
67
|
+
}, g = m(() => e.totalCount ? "showingItemsWithTotal" : "showingItems");
|
|
67
68
|
return {
|
|
68
69
|
// Values
|
|
69
|
-
dropdownId:
|
|
70
|
-
dropdownOptions:
|
|
70
|
+
dropdownId: n,
|
|
71
|
+
dropdownOptions: i,
|
|
71
72
|
i18nComponent: s,
|
|
72
73
|
translationPathKey: g,
|
|
73
74
|
// Methods
|
|
74
75
|
getI18nProps: D,
|
|
75
|
-
// Enums
|
|
76
|
-
BentoTypographyElement: R,
|
|
77
76
|
// Events
|
|
78
77
|
onSelectChange: l
|
|
79
78
|
};
|
|
80
79
|
}
|
|
81
80
|
});
|
|
82
|
-
const
|
|
83
|
-
function
|
|
84
|
-
const g =
|
|
85
|
-
return o(),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
default: u(() => [
|
|
90
|
-
(o(), f(E(e.i18nComponent), P(e.getI18nProps(e.translationPathKey), {
|
|
81
|
+
const Q = { class: "b-pagination-results-per-page" };
|
|
82
|
+
function X(e, t, n, i, s, l) {
|
|
83
|
+
const g = u("bento-dropdown"), a = u("bento-typography");
|
|
84
|
+
return o(), _("div", Q, [
|
|
85
|
+
p(a, { el: "div" }, {
|
|
86
|
+
default: c(() => [
|
|
87
|
+
(o(), P(E(e.i18nComponent), C(e.getI18nProps(e.translationPathKey), {
|
|
91
88
|
class: "b-pagination-results-per-page__dropdown-container",
|
|
92
89
|
tag: "div",
|
|
93
90
|
plural: e.totalCount
|
|
94
91
|
}), U({
|
|
95
|
-
itemCount:
|
|
96
|
-
|
|
92
|
+
itemCount: c(() => [
|
|
93
|
+
p(g, {
|
|
97
94
|
id: e.dropdownId,
|
|
98
95
|
value: e.itemsPerPage,
|
|
99
96
|
items: e.dropdownOptions,
|
|
@@ -106,18 +103,18 @@ function Q(e, a, i, n, s, l) {
|
|
|
106
103
|
}, [
|
|
107
104
|
e.totalCount ? {
|
|
108
105
|
name: "totalCount",
|
|
109
|
-
fn:
|
|
110
|
-
|
|
106
|
+
fn: c(() => [
|
|
107
|
+
N(h(e.totalCount), 1)
|
|
111
108
|
]),
|
|
112
109
|
key: "0"
|
|
113
110
|
} : void 0
|
|
114
111
|
]), 1040, ["plural"]))
|
|
115
112
|
]),
|
|
116
113
|
_: 1
|
|
117
|
-
}
|
|
114
|
+
})
|
|
118
115
|
]);
|
|
119
116
|
}
|
|
120
|
-
const
|
|
117
|
+
const Y = /* @__PURE__ */ f(H, [["render", X], ["__scopeId", "data-v-1c7ef9c8"]]), x = {
|
|
121
118
|
"en-US": {
|
|
122
119
|
pageOfTotalPages: "Page {page} of {totalPages}",
|
|
123
120
|
pageOneOfOne: "Page 1 of 1",
|
|
@@ -152,8 +149,8 @@ const X = /* @__PURE__ */ h(G, [["render", Q], ["__scopeId", "data-v-ca80d3ba"]]
|
|
|
152
149
|
i18n: { messages: x },
|
|
153
150
|
name: "bento-pagination-context",
|
|
154
151
|
components: {
|
|
155
|
-
BentoDropdown:
|
|
156
|
-
BentoTypography:
|
|
152
|
+
BentoDropdown: F,
|
|
153
|
+
BentoTypography: R
|
|
157
154
|
},
|
|
158
155
|
props: {
|
|
159
156
|
/**
|
|
@@ -170,39 +167,37 @@ const X = /* @__PURE__ */ h(G, [["render", Q], ["__scopeId", "data-v-ca80d3ba"]]
|
|
|
170
167
|
totalPages: { type: Number, default: null }
|
|
171
168
|
},
|
|
172
169
|
emits: ["page-selected"],
|
|
173
|
-
setup(e, { emit:
|
|
174
|
-
const
|
|
175
|
-
label:
|
|
176
|
-
value:
|
|
177
|
-
}), g = (
|
|
170
|
+
setup(e, { emit: t }) {
|
|
171
|
+
const n = M("bento-pagination-context-current-page"), i = (r) => t("page-selected", r), s = Z(), l = (r) => ({
|
|
172
|
+
label: r.toString(),
|
|
173
|
+
value: r
|
|
174
|
+
}), g = (r, b) => b + 1, a = m(
|
|
178
175
|
() => Array.from(new Array(e.totalPages), g).map(l)
|
|
179
176
|
);
|
|
180
177
|
return {
|
|
181
178
|
// Values
|
|
182
|
-
dropdownId:
|
|
183
|
-
listOfAvailablePages:
|
|
179
|
+
dropdownId: n,
|
|
180
|
+
listOfAvailablePages: a,
|
|
184
181
|
i18nComponent: s,
|
|
185
182
|
// Methods
|
|
186
183
|
getI18nProps: D,
|
|
187
184
|
// Events
|
|
188
|
-
onPageSelectChange:
|
|
189
|
-
// Enums
|
|
190
|
-
BentoTypographyElement: R
|
|
185
|
+
onPageSelectChange: i
|
|
191
186
|
};
|
|
192
187
|
}
|
|
193
188
|
});
|
|
194
189
|
const te = { class: "b-pagination-context" };
|
|
195
|
-
function ae(e,
|
|
196
|
-
const g =
|
|
197
|
-
return o(),
|
|
198
|
-
e.totalPages > 1 ? (o(),
|
|
190
|
+
function ae(e, t, n, i, s, l) {
|
|
191
|
+
const g = u("bento-dropdown"), a = u("bento-typography");
|
|
192
|
+
return o(), _("div", te, [
|
|
193
|
+
e.totalPages > 1 ? (o(), P(a, {
|
|
199
194
|
key: 0,
|
|
200
|
-
el:
|
|
195
|
+
el: "div"
|
|
201
196
|
}, {
|
|
202
|
-
default:
|
|
203
|
-
(o(),
|
|
204
|
-
page:
|
|
205
|
-
|
|
197
|
+
default: c(() => [
|
|
198
|
+
(o(), P(E(e.i18nComponent), C(e.getI18nProps("pageOfTotalPages"), { tag: "div" }), {
|
|
199
|
+
page: c(() => [
|
|
200
|
+
p(g, {
|
|
206
201
|
id: e.dropdownId,
|
|
207
202
|
value: e.page,
|
|
208
203
|
items: e.listOfAvailablePages,
|
|
@@ -211,137 +206,137 @@ function ae(e, a, i, n, s, l) {
|
|
|
211
206
|
onInput: e.onPageSelectChange
|
|
212
207
|
}, null, 8, ["id", "value", "items", "aria-label", "onInput"])
|
|
213
208
|
]),
|
|
214
|
-
totalPages:
|
|
215
|
-
|
|
209
|
+
totalPages: c(() => [
|
|
210
|
+
N(h(e.totalPages), 1)
|
|
216
211
|
]),
|
|
217
212
|
_: 1
|
|
218
213
|
}, 16))
|
|
219
214
|
]),
|
|
220
215
|
_: 1
|
|
221
|
-
}
|
|
216
|
+
})) : e.totalPages === 1 ? (o(), P(a, {
|
|
222
217
|
key: 1,
|
|
223
|
-
el:
|
|
218
|
+
el: "span"
|
|
224
219
|
}, {
|
|
225
|
-
default:
|
|
226
|
-
|
|
220
|
+
default: c(() => [
|
|
221
|
+
N(h(e.$t("pageOneOfOne")), 1)
|
|
227
222
|
]),
|
|
228
223
|
_: 1
|
|
229
|
-
}
|
|
224
|
+
})) : (o(), P(a, {
|
|
230
225
|
key: 2,
|
|
231
|
-
el:
|
|
226
|
+
el: "span"
|
|
232
227
|
}, {
|
|
233
|
-
default:
|
|
234
|
-
|
|
228
|
+
default: c(() => [
|
|
229
|
+
N(h(e.$t("pageNumber", { page: e.page })), 1)
|
|
235
230
|
]),
|
|
236
231
|
_: 1
|
|
237
|
-
}
|
|
232
|
+
}))
|
|
238
233
|
]);
|
|
239
234
|
}
|
|
240
|
-
const ne = /* @__PURE__ */
|
|
241
|
-
let
|
|
235
|
+
const ne = /* @__PURE__ */ f(ee, [["render", ae], ["__scopeId", "data-v-3e3a7bc1"]]);
|
|
236
|
+
let L = 0;
|
|
242
237
|
const oe = {
|
|
243
238
|
beforeCreate() {
|
|
244
|
-
this.uuid =
|
|
239
|
+
this.uuid = L.toString(), L += 1;
|
|
245
240
|
}
|
|
246
|
-
},
|
|
241
|
+
}, W = (e) => (T("data-v-d0300c1f"), e = e(), w(), e), ie = { key: 0 }, se = /* @__PURE__ */ W(() => /* @__PURE__ */ d("path", {
|
|
247
242
|
fill: "#00112C",
|
|
248
243
|
"fill-rule": "evenodd",
|
|
249
244
|
d: "M4.25 11C4.25 11.4142 4.58579 11.75 5 11.75C5.41421 11.75 5.75 11.4142 5.75 11L5.75 4.99999C5.75 4.58577 5.41421 4.24999 5 4.24999C4.58579 4.24999 4.25 4.58577 4.25 4.99998L4.25 11Z",
|
|
250
245
|
"clip-rule": "evenodd"
|
|
251
|
-
}, null, -1)), le = /* @__PURE__ */
|
|
246
|
+
}, null, -1)), le = /* @__PURE__ */ W(() => /* @__PURE__ */ d("path", {
|
|
252
247
|
fill: "#00112C",
|
|
253
248
|
"fill-rule": "evenodd",
|
|
254
249
|
d: "M11.5303 5.53031C11.8232 5.23742 11.8232 4.76255 11.5303 4.46965C11.2374 4.17676 10.7626 4.17676 10.4697 4.46965L7.46967 7.46965C7.17678 7.76255 7.17678 8.23742 7.46967 8.53031L10.4697 11.5303C10.7626 11.8232 11.2374 11.8232 11.5303 11.5303C11.8232 11.2374 11.8232 10.7625 11.5303 10.4697L9.06066 7.99998L11.5303 5.53031Z",
|
|
255
250
|
"clip-rule": "evenodd"
|
|
256
251
|
}, null, -1));
|
|
257
|
-
function ge(e,
|
|
258
|
-
return o(),
|
|
252
|
+
function ge(e, t, n, i, s, l) {
|
|
253
|
+
return o(), _("svg", C({ role: "img" }, e.$attrs, {
|
|
259
254
|
xmlns: "http://www.w3.org/2000/svg",
|
|
260
255
|
width: "16",
|
|
261
256
|
height: "16",
|
|
262
257
|
fill: "none"
|
|
263
258
|
}), [
|
|
264
|
-
e.$attrs["svg-title"] ? (o(),
|
|
259
|
+
e.$attrs["svg-title"] ? (o(), _("title", ie, h(e.$attrs["svg-title"]), 1)) : $("", !0),
|
|
265
260
|
se,
|
|
266
261
|
le
|
|
267
262
|
], 16);
|
|
268
263
|
}
|
|
269
|
-
const re = /* @__PURE__ */
|
|
270
|
-
let
|
|
264
|
+
const re = /* @__PURE__ */ f(oe, [["render", ge], ["__scopeId", "data-v-d0300c1f"]]);
|
|
265
|
+
let O = 0;
|
|
271
266
|
const pe = {
|
|
272
267
|
beforeCreate() {
|
|
273
|
-
this.uuid =
|
|
268
|
+
this.uuid = O.toString(), O += 1;
|
|
274
269
|
}
|
|
275
|
-
},
|
|
270
|
+
}, z = (e) => (T("data-v-526f9959"), e = e(), w(), e), de = { key: 0 }, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ d("path", {
|
|
276
271
|
fill: "#00112C",
|
|
277
272
|
"fill-rule": "evenodd",
|
|
278
273
|
d: "M4.46967 10.4697C4.17678 10.7626 4.17678 11.2374 4.46967 11.5303C4.76256 11.8232 5.23744 11.8232 5.53033 11.5303L8.53033 8.53032C8.82322 8.23743 8.82322 7.76256 8.53033 7.46966L5.53033 4.46966C5.23744 4.17677 4.76256 4.17677 4.46967 4.46966C4.17678 4.76256 4.17678 5.23743 4.46967 5.53032L6.93934 7.99999L4.46967 10.4697Z",
|
|
279
274
|
"clip-rule": "evenodd"
|
|
280
|
-
}, null, -1)), ce = /* @__PURE__ */
|
|
275
|
+
}, null, -1)), ce = /* @__PURE__ */ z(() => /* @__PURE__ */ d("path", {
|
|
281
276
|
fill: "#00112C",
|
|
282
277
|
"fill-rule": "evenodd",
|
|
283
278
|
d: "M11.75 4.99999C11.75 4.58578 11.4142 4.24999 11 4.24999C10.5858 4.24999 10.25 4.58578 10.25 4.99999V11C10.25 11.4142 10.5858 11.75 11 11.75C11.4142 11.75 11.75 11.4142 11.75 11L11.75 4.99999Z",
|
|
284
279
|
"clip-rule": "evenodd"
|
|
285
280
|
}, null, -1));
|
|
286
|
-
function _e(e,
|
|
287
|
-
return o(),
|
|
281
|
+
function _e(e, t, n, i, s, l) {
|
|
282
|
+
return o(), _("svg", C({ role: "img" }, e.$attrs, {
|
|
288
283
|
xmlns: "http://www.w3.org/2000/svg",
|
|
289
284
|
width: "16",
|
|
290
285
|
height: "16",
|
|
291
286
|
fill: "none"
|
|
292
287
|
}), [
|
|
293
|
-
e.$attrs["svg-title"] ? (o(),
|
|
288
|
+
e.$attrs["svg-title"] ? (o(), _("title", de, h(e.$attrs["svg-title"]), 1)) : $("", !0),
|
|
294
289
|
ue,
|
|
295
290
|
ce
|
|
296
291
|
], 16);
|
|
297
292
|
}
|
|
298
|
-
const ve = /* @__PURE__ */
|
|
299
|
-
let
|
|
293
|
+
const ve = /* @__PURE__ */ f(pe, [["render", _e], ["__scopeId", "data-v-526f9959"]]);
|
|
294
|
+
let k = 0;
|
|
300
295
|
const me = {
|
|
301
296
|
beforeCreate() {
|
|
302
|
-
this.uuid =
|
|
297
|
+
this.uuid = k.toString(), k += 1;
|
|
303
298
|
}
|
|
304
|
-
}, he = (e) => (
|
|
299
|
+
}, he = (e) => (T("data-v-ad07f9f1"), e = e(), w(), e), fe = { key: 0 }, Pe = /* @__PURE__ */ he(() => /* @__PURE__ */ d("path", {
|
|
305
300
|
fill: "#00112C",
|
|
306
301
|
"fill-rule": "evenodd",
|
|
307
302
|
d: "M10.0303 4.46967C10.3232 4.76256 10.3232 5.23744 10.0303 5.53033L7.56066 8L10.0303 10.4697C10.3232 10.7626 10.3232 11.2374 10.0303 11.5303C9.73744 11.8232 9.26256 11.8232 8.96967 11.5303L5.96967 8.53033C5.67678 8.23744 5.67678 7.76256 5.96967 7.46967L8.96967 4.46967C9.26256 4.17678 9.73744 4.17678 10.0303 4.46967Z",
|
|
308
303
|
"clip-rule": "evenodd"
|
|
309
304
|
}, null, -1));
|
|
310
|
-
function Ce(e,
|
|
311
|
-
return o(),
|
|
305
|
+
function Ce(e, t, n, i, s, l) {
|
|
306
|
+
return o(), _("svg", C({ role: "img" }, e.$attrs, {
|
|
312
307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
313
308
|
width: "16",
|
|
314
309
|
height: "16",
|
|
315
310
|
fill: "none"
|
|
316
311
|
}), [
|
|
317
|
-
e.$attrs["svg-title"] ? (o(),
|
|
312
|
+
e.$attrs["svg-title"] ? (o(), _("title", fe, h(e.$attrs["svg-title"]), 1)) : $("", !0),
|
|
318
313
|
Pe
|
|
319
314
|
], 16);
|
|
320
315
|
}
|
|
321
|
-
const be = /* @__PURE__ */
|
|
322
|
-
let
|
|
323
|
-
const
|
|
316
|
+
const be = /* @__PURE__ */ f(me, [["render", Ce], ["__scopeId", "data-v-ad07f9f1"]]);
|
|
317
|
+
let B = 0;
|
|
318
|
+
const $e = {
|
|
324
319
|
beforeCreate() {
|
|
325
|
-
this.uuid =
|
|
320
|
+
this.uuid = B.toString(), B += 1;
|
|
326
321
|
}
|
|
327
|
-
},
|
|
322
|
+
}, Te = (e) => (T("data-v-5d0b9449"), e = e(), w(), e), we = { key: 0 }, Ne = /* @__PURE__ */ Te(() => /* @__PURE__ */ d("path", {
|
|
328
323
|
fill: "#00112C",
|
|
329
324
|
"fill-rule": "evenodd",
|
|
330
325
|
d: "M5.96967 11.5303C5.67678 11.2374 5.67678 10.7626 5.96967 10.4697L8.43934 8L5.96967 5.53033C5.67678 5.23744 5.67678 4.76256 5.96967 4.46967C6.26256 4.17678 6.73744 4.17678 7.03033 4.46967L10.0303 7.46967C10.171 7.61032 10.25 7.80109 10.25 8C10.25 8.19891 10.171 8.38968 10.0303 8.53033L7.03033 11.5303C6.73744 11.8232 6.26256 11.8232 5.96967 11.5303Z",
|
|
331
326
|
"clip-rule": "evenodd"
|
|
332
327
|
}, null, -1));
|
|
333
|
-
function
|
|
334
|
-
return o(),
|
|
328
|
+
function ye(e, t, n, i, s, l) {
|
|
329
|
+
return o(), _("svg", C({ role: "img" }, e.$attrs, {
|
|
335
330
|
xmlns: "http://www.w3.org/2000/svg",
|
|
336
331
|
width: "16",
|
|
337
332
|
height: "16",
|
|
338
333
|
fill: "none"
|
|
339
334
|
}), [
|
|
340
|
-
e.$attrs["svg-title"] ? (o(),
|
|
341
|
-
|
|
335
|
+
e.$attrs["svg-title"] ? (o(), _("title", we, h(e.$attrs["svg-title"]), 1)) : $("", !0),
|
|
336
|
+
Ne
|
|
342
337
|
], 16);
|
|
343
338
|
}
|
|
344
|
-
const
|
|
339
|
+
const Ie = /* @__PURE__ */ f($e, [["render", ye], ["__scopeId", "data-v-5d0b9449"]]), Se = {
|
|
345
340
|
"en-US": {
|
|
346
341
|
navigateToTheFirstPage: "Navigate to the first page",
|
|
347
342
|
navigateToThePreviousPage: "Navigate to the previous page",
|
|
@@ -382,11 +377,11 @@ const Ne = /* @__PURE__ */ h(Te, [["render", Ie], ["__scopeId", "data-v-5d0b9449
|
|
|
382
377
|
i18n: { messages: Se },
|
|
383
378
|
name: "adl-pagination-controls",
|
|
384
379
|
components: {
|
|
385
|
-
BentoButton:
|
|
380
|
+
BentoButton: K,
|
|
386
381
|
SkipLeft: re,
|
|
387
382
|
SkipRight: ve,
|
|
388
383
|
ChevronLeft: be,
|
|
389
|
-
ChevronRight:
|
|
384
|
+
ChevronRight: Ie
|
|
390
385
|
},
|
|
391
386
|
props: {
|
|
392
387
|
/**
|
|
@@ -403,97 +398,91 @@ const Ne = /* @__PURE__ */ h(Te, [["render", Ie], ["__scopeId", "data-v-5d0b9449
|
|
|
403
398
|
totalPages: { type: Number, default: null }
|
|
404
399
|
},
|
|
405
400
|
emits: ["navigate"],
|
|
406
|
-
setup(e, { emit:
|
|
407
|
-
const
|
|
408
|
-
const
|
|
409
|
-
return
|
|
401
|
+
setup(e, { emit: t }) {
|
|
402
|
+
const n = m(() => e.page === 1), i = m(() => e.page === e.totalPages), s = m(() => !e.hasNext || i.value), l = m(() => {
|
|
403
|
+
const a = !e.hasNext, r = !e.totalPages;
|
|
404
|
+
return a || i.value || r;
|
|
410
405
|
});
|
|
411
406
|
return {
|
|
412
407
|
// Values
|
|
413
408
|
isNextButtonDisabled: s,
|
|
414
|
-
isCurrentPageFirst:
|
|
415
|
-
isCurrentPageLast:
|
|
409
|
+
isCurrentPageFirst: n,
|
|
410
|
+
isCurrentPageLast: i,
|
|
416
411
|
isLastPageButtonDisabled: l,
|
|
417
412
|
// Events
|
|
418
|
-
navigate: (
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
// Enums
|
|
422
|
-
BentoButtonVariant: Y
|
|
413
|
+
navigate: (a) => {
|
|
414
|
+
t("navigate", a);
|
|
415
|
+
}
|
|
423
416
|
};
|
|
424
417
|
}
|
|
425
418
|
});
|
|
426
|
-
const
|
|
427
|
-
function
|
|
428
|
-
const g =
|
|
429
|
-
return o(),
|
|
430
|
-
|
|
431
|
-
|
|
419
|
+
const Oe = { class: "b-pagination-controls" }, ke = { class: "b-pagination-controls__item" }, Be = { class: "b-pagination-controls__item" }, Ae = { class: "b-pagination-controls__item" }, Ee = { class: "b-pagination-controls__item" };
|
|
420
|
+
function Re(e, t, n, i, s, l) {
|
|
421
|
+
const g = u("skip-left"), a = u("bento-button"), r = u("chevron-left"), b = u("chevron-right"), I = u("skip-right");
|
|
422
|
+
return o(), _("ul", Oe, [
|
|
423
|
+
d("li", ke, [
|
|
424
|
+
p(a, {
|
|
432
425
|
disabled: e.isCurrentPageFirst,
|
|
433
|
-
variant:
|
|
434
|
-
tertiary: "",
|
|
426
|
+
variant: "tertiary",
|
|
435
427
|
condensed: "",
|
|
436
|
-
onClick:
|
|
428
|
+
onClick: t[0] || (t[0] = (v) => e.navigate(1))
|
|
437
429
|
}, {
|
|
438
|
-
iconLeft:
|
|
439
|
-
|
|
430
|
+
iconLeft: c(() => [
|
|
431
|
+
p(g, {
|
|
440
432
|
"svg-title": e.$t("navigateToTheFirstPage")
|
|
441
433
|
}, null, 8, ["svg-title"])
|
|
442
434
|
]),
|
|
443
435
|
_: 1
|
|
444
|
-
}, 8, ["disabled"
|
|
436
|
+
}, 8, ["disabled"])
|
|
445
437
|
]),
|
|
446
|
-
|
|
447
|
-
|
|
438
|
+
d("li", Be, [
|
|
439
|
+
p(a, {
|
|
448
440
|
disabled: e.isCurrentPageFirst,
|
|
449
|
-
variant:
|
|
450
|
-
tertiary: "",
|
|
441
|
+
variant: "tertiary",
|
|
451
442
|
condensed: "",
|
|
452
|
-
onClick:
|
|
443
|
+
onClick: t[1] || (t[1] = (v) => e.navigate(e.page - 1))
|
|
453
444
|
}, {
|
|
454
|
-
iconLeft:
|
|
455
|
-
r
|
|
445
|
+
iconLeft: c(() => [
|
|
446
|
+
p(r, {
|
|
456
447
|
"svg-title": e.$t("navigateToThePreviousPage")
|
|
457
448
|
}, null, 8, ["svg-title"])
|
|
458
449
|
]),
|
|
459
450
|
_: 1
|
|
460
|
-
}, 8, ["disabled"
|
|
451
|
+
}, 8, ["disabled"])
|
|
461
452
|
]),
|
|
462
|
-
|
|
463
|
-
|
|
453
|
+
d("li", Ae, [
|
|
454
|
+
p(a, {
|
|
464
455
|
disabled: e.isNextButtonDisabled,
|
|
465
|
-
variant:
|
|
466
|
-
tertiary: "",
|
|
456
|
+
variant: "tertiary",
|
|
467
457
|
condensed: "",
|
|
468
|
-
onClick:
|
|
458
|
+
onClick: t[2] || (t[2] = (v) => e.navigate(e.page + 1))
|
|
469
459
|
}, {
|
|
470
|
-
iconLeft:
|
|
471
|
-
|
|
460
|
+
iconLeft: c(() => [
|
|
461
|
+
p(b, {
|
|
472
462
|
"svg-title": e.$t("navigateToTheNextPage")
|
|
473
463
|
}, null, 8, ["svg-title"])
|
|
474
464
|
]),
|
|
475
465
|
_: 1
|
|
476
|
-
}, 8, ["disabled"
|
|
466
|
+
}, 8, ["disabled"])
|
|
477
467
|
]),
|
|
478
|
-
|
|
479
|
-
|
|
468
|
+
d("li", Ee, [
|
|
469
|
+
p(a, {
|
|
480
470
|
disabled: e.isLastPageButtonDisabled,
|
|
481
|
-
variant:
|
|
482
|
-
tertiary: "",
|
|
471
|
+
variant: "tertiary",
|
|
483
472
|
condensed: "",
|
|
484
|
-
onClick:
|
|
473
|
+
onClick: t[3] || (t[3] = (v) => e.navigate(e.totalPages))
|
|
485
474
|
}, {
|
|
486
|
-
iconLeft:
|
|
487
|
-
|
|
475
|
+
iconLeft: c(() => [
|
|
476
|
+
p(I, {
|
|
488
477
|
"svg-title": e.$t("navigateToTheLastPage")
|
|
489
478
|
}, null, 8, ["svg-title"])
|
|
490
479
|
]),
|
|
491
480
|
_: 1
|
|
492
|
-
}, 8, ["disabled"
|
|
481
|
+
}, 8, ["disabled"])
|
|
493
482
|
])
|
|
494
483
|
]);
|
|
495
484
|
}
|
|
496
|
-
const Fe = /* @__PURE__ */
|
|
485
|
+
const Fe = /* @__PURE__ */ f(Le, [["render", Re], ["__scopeId", "data-v-b1c3077d"]]), Me = {
|
|
497
486
|
"en-US": {
|
|
498
487
|
paginatedNavigation: "Paginated navigation",
|
|
499
488
|
showingItemsWithTotal: "Showing {itemCount} of {totalCount} item | Showing {itemCount} of {totalCount} items"
|
|
@@ -518,15 +507,18 @@ const Fe = /* @__PURE__ */ h(Le, [["render", Ae], ["__scopeId", "data-v-8f38b953
|
|
|
518
507
|
paginatedNavigation: "Navegación por páginas",
|
|
519
508
|
showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículo | Mostrando {itemCount} de {totalCount} artículos"
|
|
520
509
|
}
|
|
521
|
-
},
|
|
522
|
-
i18n: { messages:
|
|
510
|
+
}, De = y({
|
|
511
|
+
i18n: { messages: Me },
|
|
523
512
|
name: "bento-pagination",
|
|
524
513
|
components: {
|
|
525
514
|
BentoPaginationContext: ne,
|
|
526
515
|
BentoPaginationControls: Fe,
|
|
527
|
-
BentoPaginationResultsPerPage:
|
|
516
|
+
BentoPaginationResultsPerPage: Y
|
|
528
517
|
},
|
|
529
518
|
props: {
|
|
519
|
+
/**
|
|
520
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
521
|
+
*/
|
|
530
522
|
/**
|
|
531
523
|
* A brief description of the purpose of the navigation (for a11y).
|
|
532
524
|
* Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
|
|
@@ -565,54 +557,59 @@ const Fe = /* @__PURE__ */ h(Le, [["render", Ae], ["__scopeId", "data-v-8f38b953
|
|
|
565
557
|
totalCount: { type: Number, default: null }
|
|
566
558
|
},
|
|
567
559
|
emits: ["navigate", "items-page", "update:page", "update:size"],
|
|
568
|
-
setup(e, { emit:
|
|
569
|
-
const i =
|
|
560
|
+
setup(e, { attrs: t, emit: n }) {
|
|
561
|
+
const i = A(t["aria-label"]), { ariaLabel: s } = V(e), l = J({
|
|
562
|
+
ariaLabel: i.value,
|
|
563
|
+
// TODO: take this line away when the aria-label props is removed
|
|
564
|
+
label: s
|
|
565
|
+
}), g = m(
|
|
570
566
|
() => !e.totalCount || !e.size ? null : Math.ceil(e.totalCount / e.size)
|
|
571
|
-
),
|
|
572
|
-
|
|
573
|
-
},
|
|
574
|
-
|
|
575
|
-
},
|
|
576
|
-
|
|
577
|
-
},
|
|
567
|
+
), a = (v) => {
|
|
568
|
+
n("navigate", v), n("update:page", v);
|
|
569
|
+
}, r = (v) => {
|
|
570
|
+
a(v);
|
|
571
|
+
}, b = (v) => {
|
|
572
|
+
n("items-page", v), n("update:size", v), a(1);
|
|
573
|
+
}, I = m(() => ({
|
|
578
574
|
"b-pagination__navigation--no-results-per-page": e.hidePageSize
|
|
579
575
|
}));
|
|
580
576
|
return {
|
|
581
577
|
// Values
|
|
582
|
-
|
|
583
|
-
|
|
578
|
+
computedAriaLabel: l,
|
|
579
|
+
totalPages: g,
|
|
580
|
+
navigationConditionalClasses: I,
|
|
584
581
|
// Events
|
|
585
|
-
navigate:
|
|
586
|
-
onItemsPerPageChange:
|
|
587
|
-
onPageSelected:
|
|
582
|
+
navigate: a,
|
|
583
|
+
onItemsPerPageChange: b,
|
|
584
|
+
onPageSelected: r
|
|
588
585
|
};
|
|
589
586
|
}
|
|
590
587
|
});
|
|
591
|
-
const Ze = (e) => (
|
|
592
|
-
function je(e,
|
|
593
|
-
const g =
|
|
594
|
-
return o(),
|
|
595
|
-
|
|
596
|
-
"aria-label": e.
|
|
588
|
+
const Ze = (e) => (T("data-v-443af17b"), e = e(), w(), e), We = { class: "b-pagination" }, ze = ["aria-label"], Ue = { class: "b-pagination__page-navigator" }, Ve = /* @__PURE__ */ Ze(() => /* @__PURE__ */ d("div", { class: "b-pagination__divider" }, null, -1));
|
|
589
|
+
function je(e, t, n, i, s, l) {
|
|
590
|
+
const g = u("bento-pagination-results-per-page"), a = u("bento-pagination-context"), r = u("bento-pagination-controls");
|
|
591
|
+
return o(), _("div", We, [
|
|
592
|
+
d("nav", {
|
|
593
|
+
"aria-label": e.computedAriaLabel,
|
|
597
594
|
class: j(["b-pagination__navigation", e.navigationConditionalClasses])
|
|
598
595
|
}, [
|
|
599
|
-
e.hidePageSize ?
|
|
596
|
+
e.hidePageSize ? $("", !0) : (o(), P(g, {
|
|
600
597
|
key: 0,
|
|
601
598
|
class: "b-pagination__results-per-page",
|
|
602
599
|
"items-per-page": e.size,
|
|
603
600
|
"total-count": e.totalCount,
|
|
604
601
|
onSelect: e.onItemsPerPageChange
|
|
605
602
|
}, null, 8, ["items-per-page", "total-count", "onSelect"])),
|
|
606
|
-
|
|
607
|
-
|
|
603
|
+
d("div", Ue, [
|
|
604
|
+
p(a, {
|
|
608
605
|
class: "b-pagination__context",
|
|
609
606
|
"total-pages": e.totalPages,
|
|
610
607
|
page: e.page,
|
|
611
608
|
"total-count": e.totalCount,
|
|
612
609
|
onPageSelected: e.onPageSelected
|
|
613
610
|
}, null, 8, ["total-pages", "page", "total-count", "onPageSelected"]),
|
|
614
|
-
|
|
615
|
-
r
|
|
611
|
+
Ve,
|
|
612
|
+
p(r, {
|
|
616
613
|
class: "b-pagination__controls",
|
|
617
614
|
"has-next": e.hasNext,
|
|
618
615
|
page: e.page,
|
|
@@ -620,11 +617,11 @@ function je(e, a, i, n, s, l) {
|
|
|
620
617
|
onNavigate: e.navigate
|
|
621
618
|
}, null, 8, ["has-next", "page", "total-pages", "onNavigate"])
|
|
622
619
|
])
|
|
623
|
-
], 10,
|
|
620
|
+
], 10, ze)
|
|
624
621
|
]);
|
|
625
622
|
}
|
|
626
|
-
const
|
|
623
|
+
const xe = /* @__PURE__ */ f(De, [["render", je], ["__scopeId", "data-v-443af17b"]]);
|
|
627
624
|
export {
|
|
628
|
-
|
|
625
|
+
xe as BentoPagination
|
|
629
626
|
};
|
|
630
627
|
//# sourceMappingURL=pagination.js.map
|