@adyen/bento-vue2 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 -51
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +24 -28
- 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 +161 -150
- 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 +77 -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 +4 -6
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -4
- 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 +36 -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 +2 -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 +326 -14
- 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 +1 -21
- 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 +1 -21
- 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 +277 -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-avatar/dropdown-avatar.vue.d.ts +5 -5
- 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 +5 -6
- 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-currency/dropdown-currency.vue.d.ts +5 -5
- 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-payment-method/dropdown-payment-method.vue.d.ts +5 -5
- 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/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +6 -6
- 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 +0 -26
- 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-range-filter/date-range-filter.vue.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/components/{base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts → filter-bar-button/filter-bar-button.vue.d.ts} +17 -22
- 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/variants/select-country-filter/select-country-filter.vue.d.ts +2 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -4
- 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 +3 -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 +50 -47
- 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/__test__/calendar-month-day-stub.vue.d.ts +1 -1
- 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/controls-group/controls-group.vue.d.ts +1 -1
- 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 -4
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +16 -339
- 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 +4 -7
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -9
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +6 -12
- 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 +4 -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/print-development-warning.d.ts +1 -0
- package/dist/accordion.js +69 -177
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +57 -60
- 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/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.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 +110 -12
- package/dist/button.js.map +1 -1
- package/dist/card.js +66 -67
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +27 -26
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.98379576.js → base-button.bd8fa976.js} +24 -27
- package/dist/chunks/base-button.bd8fa976.js.map +1 -0
- package/dist/chunks/base-modal.a365f260.js +207 -0
- package/dist/chunks/base-modal.a365f260.js.map +1 -0
- package/dist/chunks/{button.d0c9527d.js → button.fb307df3.js} +36 -39
- package/dist/chunks/button.fb307df3.js.map +1 -0
- package/dist/chunks/{calendar.0ae43a96.js → calendar.79ea42c1.js} +214 -217
- package/dist/chunks/calendar.79ea42c1.js.map +1 -0
- package/dist/chunks/checkbox.c7d791ed.js +173 -0
- package/dist/chunks/checkbox.c7d791ed.js.map +1 -0
- package/dist/chunks/{chevron-down.b851a6da.js → chevron-up.674ec2e5.js} +8 -8
- package/dist/chunks/chevron-up.674ec2e5.js.map +1 -0
- package/dist/chunks/{controls-group.b827382b.js → controls-group.5d3e04dd.js} +20 -20
- package/dist/chunks/controls-group.5d3e04dd.js.map +1 -0
- package/dist/chunks/{copy.5a4cbd4d.js → copy.ac796536.js} +37 -38
- package/dist/chunks/copy.ac796536.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.819e43f7.js → dropdown-default-textbox.109c36d2.js} +38 -40
- package/dist/chunks/dropdown-default-textbox.109c36d2.js.map +1 -0
- package/dist/chunks/{dropdown.c05678d0.js → dropdown.fd93f0ce.js} +351 -335
- package/dist/chunks/dropdown.fd93f0ce.js.map +1 -0
- package/dist/chunks/error-message.3b3c33d4.js +47 -0
- package/dist/chunks/error-message.3b3c33d4.js.map +1 -0
- package/dist/chunks/{footer-actions.67642347.js → footer-actions.f02e8699.js} +23 -23
- package/dist/chunks/footer-actions.f02e8699.js.map +1 -0
- package/dist/chunks/get-slot-text.c1114034.js +9 -0
- package/dist/chunks/get-slot-text.c1114034.js.map +1 -0
- package/dist/chunks/{grid-layout.73f23b1b.js → grid-layout.b7e0d964.js} +2 -2
- package/dist/chunks/{grid-layout.73f23b1b.js.map → grid-layout.b7e0d964.js.map} +1 -1
- package/dist/chunks/{index.56858f4e.js → index.45295dd3.js} +23 -19
- package/dist/chunks/index.45295dd3.js.map +1 -0
- package/dist/chunks/{index.10aaf539.js → index.88ff49c2.js} +136 -142
- package/dist/chunks/index.88ff49c2.js.map +1 -0
- package/dist/chunks/{index.73d50fa6.js → index.9902cae4.js} +65 -68
- package/dist/chunks/{index.73d50fa6.js.map → index.9902cae4.js.map} +1 -1
- package/dist/chunks/{index.0cf00b47.js → index.bd734551.js} +35 -37
- package/dist/chunks/index.bd734551.js.map +1 -0
- package/dist/chunks/{index.133e4da0.js → index.c85a1ab9.js} +81 -79
- package/dist/chunks/{index.133e4da0.js.map → index.c85a1ab9.js.map} +1 -1
- package/dist/chunks/{index.f0f8ed98.js → index.c8f81673.js} +23 -26
- package/dist/chunks/index.c8f81673.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.8d6cccac.js → listbox-option-tag.ec42431b.js} +32 -36
- package/dist/chunks/listbox-option-tag.ec42431b.js.map +1 -0
- package/dist/chunks/{listbox.116ed0c1.js → listbox.e792d2d6.js} +244 -251
- package/dist/chunks/listbox.e792d2d6.js.map +1 -0
- package/dist/chunks/loading-button.429c8416.js +86 -0
- package/dist/chunks/loading-button.429c8416.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.2aff4fa6.js → tooltip.a47ace87.js} +49 -52
- package/dist/chunks/tooltip.a47ace87.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.cbdfe693.js +13 -0
- package/dist/chunks/use-default-slot-validator.cbdfe693.js.map +1 -0
- package/dist/chunks/use-has-slot.6052d56a.js +6 -0
- package/dist/chunks/use-has-slot.6052d56a.js.map +1 -0
- package/dist/code-snippet.js +469 -413
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +492 -494
- package/dist/country.js.map +1 -1
- package/dist/currency.js +32 -35
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +595 -603
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +76 -80
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +37 -39
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +134 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/filter-bar.js +648 -638
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +64 -64
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +61 -63
- package/dist/header.js.map +1 -1
- package/dist/image.js +82 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +216 -205
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +99 -123
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +27 -26
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +96 -104
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +111 -264
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +148 -145
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +16 -18
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +58 -54
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +13 -17
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +71 -72
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +54 -66
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +68 -55
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +65 -64
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +20 -23
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +110 -141
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +68 -60
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +23 -26
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +97 -96
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +125 -125
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +44 -48
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +54 -52
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +651 -397
- package/package.json +9 -12
- 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/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.98379576.js.map +0 -1
- package/dist/chunks/button-actions.bd397c79.js +0 -104
- package/dist/chunks/button-actions.bd397c79.js.map +0 -1
- package/dist/chunks/button.d0c9527d.js.map +0 -1
- package/dist/chunks/calendar.0ae43a96.js.map +0 -1
- package/dist/chunks/checkbox.f8457c93.js +0 -164
- package/dist/chunks/checkbox.f8457c93.js.map +0 -1
- package/dist/chunks/chevron-down.b851a6da.js.map +0 -1
- package/dist/chunks/controls-group.b827382b.js.map +0 -1
- package/dist/chunks/copy.5a4cbd4d.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.819e43f7.js.map +0 -1
- package/dist/chunks/dropdown.c05678d0.js.map +0 -1
- package/dist/chunks/error-message.0433b539.js +0 -47
- package/dist/chunks/error-message.0433b539.js.map +0 -1
- package/dist/chunks/footer-actions.67642347.js.map +0 -1
- package/dist/chunks/get-slot-text.e5c766d0.js +0 -9
- package/dist/chunks/get-slot-text.e5c766d0.js.map +0 -1
- package/dist/chunks/index.0cf00b47.js.map +0 -1
- package/dist/chunks/index.10aaf539.js.map +0 -1
- package/dist/chunks/index.56858f4e.js.map +0 -1
- package/dist/chunks/index.f0f8ed98.js.map +0 -1
- package/dist/chunks/listbox-option-tag.8d6cccac.js.map +0 -1
- package/dist/chunks/listbox.116ed0c1.js.map +0 -1
- package/dist/chunks/loading-button.1c201f87.js +0 -84
- package/dist/chunks/loading-button.1c201f87.js.map +0 -1
- package/dist/chunks/tooltip.2aff4fa6.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
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
import { g as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
|
|
1
|
+
import { defineComponent as _, ref as C, computed as i, toRefs as w } from "vue";
|
|
2
|
+
import { u as N } from "./chunks/aria-label.ac9651a5.js";
|
|
3
|
+
import { B as P } from "./chunks/index.45295dd3.js";
|
|
4
|
+
import { B as b } from "./chunks/dropdown.fd93f0ce.js";
|
|
5
|
+
import { g as T } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
+
import { g as y, a as x } from "./chunks/i18n.155748d6.js";
|
|
7
|
+
import { n as r } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
8
|
+
import { a as S } from "./chunks/button.fb307df3.js";
|
|
9
|
+
import "./assets/index3.css";
|
|
10
|
+
const L = {
|
|
10
11
|
"en-US": {
|
|
11
12
|
showingItems: "Showing {itemCount} items",
|
|
12
13
|
showingItemsWithTotal: "Showing {itemCount} of {totalCount} items"
|
|
@@ -31,19 +32,19 @@ const w = {
|
|
|
31
32
|
showingItems: "Mostrando {itemCount} artículos",
|
|
32
33
|
showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículos"
|
|
33
34
|
}
|
|
34
|
-
},
|
|
35
|
+
}, I = 50, d = [
|
|
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
|
+
], O = _({
|
|
42
43
|
name: "bento-pagination-context-results-per-page",
|
|
43
|
-
i18n: { messages:
|
|
44
|
+
i18n: { messages: L },
|
|
44
45
|
components: {
|
|
45
|
-
BentoDropdown:
|
|
46
|
-
BentoTypography:
|
|
46
|
+
BentoDropdown: b,
|
|
47
|
+
BentoTypography: P
|
|
47
48
|
},
|
|
48
49
|
props: {
|
|
49
50
|
/**
|
|
@@ -51,8 +52,8 @@ const w = {
|
|
|
51
52
|
*/
|
|
52
53
|
itemsPerPage: {
|
|
53
54
|
type: Number,
|
|
54
|
-
default:
|
|
55
|
-
validator: (a) =>
|
|
55
|
+
default: I,
|
|
56
|
+
validator: (a) => d.some(({ value: t }) => t === a)
|
|
56
57
|
},
|
|
57
58
|
/**
|
|
58
59
|
* The total number of items the pager is paging through.
|
|
@@ -61,42 +62,40 @@ const w = {
|
|
|
61
62
|
},
|
|
62
63
|
emits: ["select"],
|
|
63
64
|
setup(a, { emit: t }) {
|
|
64
|
-
const e =
|
|
65
|
-
t("select",
|
|
66
|
-
},
|
|
65
|
+
const e = T("b-pagination-context-number-elements"), n = C(d), l = x(), g = (o) => {
|
|
66
|
+
t("select", o);
|
|
67
|
+
}, p = i(() => a.totalCount ? "showingItemsWithTotal" : "showingItems");
|
|
67
68
|
return {
|
|
68
69
|
// Values
|
|
69
70
|
dropdownId: e,
|
|
70
|
-
dropdownOptions:
|
|
71
|
-
i18nComponent:
|
|
72
|
-
translationPathKey:
|
|
71
|
+
dropdownOptions: n,
|
|
72
|
+
i18nComponent: l,
|
|
73
|
+
translationPathKey: p,
|
|
73
74
|
// Methods
|
|
74
|
-
getI18nProps:
|
|
75
|
-
// Enums
|
|
76
|
-
BentoTypographyElement: h,
|
|
75
|
+
getI18nProps: y,
|
|
77
76
|
// Events
|
|
78
|
-
onSelectChange:
|
|
77
|
+
onSelectChange: g
|
|
79
78
|
};
|
|
80
79
|
}
|
|
81
80
|
});
|
|
82
|
-
var
|
|
81
|
+
var R = function() {
|
|
83
82
|
var t = this, e = t._self._c;
|
|
84
|
-
return t._self._setupProxy, e("div", { staticClass: "b-pagination-results-per-page" }, [e("bento-typography", { attrs: { el:
|
|
83
|
+
return t._self._setupProxy, e("div", { staticClass: "b-pagination-results-per-page" }, [e("bento-typography", { attrs: { el: "div" } }, [e(t.i18nComponent, t._b({ tag: "component", staticClass: "b-pagination-results-per-page__dropdown-container", attrs: { tag: "div", plural: t.totalCount }, scopedSlots: t._u([{ key: "itemCount", fn: function() {
|
|
85
84
|
return [e("bento-dropdown", { staticClass: "b-pagination-results-per-page__dropdown", attrs: { id: t.dropdownId, value: t.itemsPerPage, items: t.dropdownOptions, "aria-label": t.$t(t.translationPathKey, { itemCount: t.itemsPerPage, totalCount: t.totalCount }) }, on: { input: t.onSelectChange } })];
|
|
86
85
|
}, proxy: !0 }, t.totalCount ? { key: "totalCount", fn: function() {
|
|
87
86
|
return [t._v(t._s(t.totalCount))];
|
|
88
87
|
}, proxy: !0 } : null], null, !0) }, "component", t.getI18nProps(t.translationPathKey), !1))], 1)], 1);
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
}, F = [], k = /* @__PURE__ */ r(
|
|
89
|
+
O,
|
|
90
|
+
R,
|
|
91
|
+
F,
|
|
93
92
|
!1,
|
|
94
93
|
null,
|
|
95
|
-
"
|
|
94
|
+
"b9985b4c",
|
|
96
95
|
null,
|
|
97
96
|
null
|
|
98
97
|
);
|
|
99
|
-
const
|
|
98
|
+
const A = k.exports, B = {
|
|
100
99
|
"en-US": {
|
|
101
100
|
pageOfTotalPages: "Page {page} of {totalPages}",
|
|
102
101
|
pageOneOfOne: "Page 1 of 1",
|
|
@@ -127,12 +126,12 @@ const R = O.exports, E = {
|
|
|
127
126
|
pageOneOfOne: "Página 1 de 1",
|
|
128
127
|
pageNumber: "Página {page}"
|
|
129
128
|
}
|
|
130
|
-
},
|
|
131
|
-
i18n: { messages:
|
|
129
|
+
}, E = _({
|
|
130
|
+
i18n: { messages: B },
|
|
132
131
|
name: "bento-pagination-context",
|
|
133
132
|
components: {
|
|
134
|
-
BentoDropdown:
|
|
135
|
-
BentoTypography:
|
|
133
|
+
BentoDropdown: b,
|
|
134
|
+
BentoTypography: P
|
|
136
135
|
},
|
|
137
136
|
props: {
|
|
138
137
|
/**
|
|
@@ -150,124 +149,122 @@ const R = O.exports, E = {
|
|
|
150
149
|
},
|
|
151
150
|
emits: ["page-selected"],
|
|
152
151
|
setup(a, { emit: t }) {
|
|
153
|
-
const e =
|
|
154
|
-
label:
|
|
155
|
-
value:
|
|
156
|
-
}),
|
|
157
|
-
() => Array.from(new Array(a.totalPages),
|
|
152
|
+
const e = T("bento-pagination-context-current-page"), n = (s) => t("page-selected", s), l = x(), g = (s) => ({
|
|
153
|
+
label: s.toString(),
|
|
154
|
+
value: s
|
|
155
|
+
}), p = (s, c) => c + 1, o = i(
|
|
156
|
+
() => Array.from(new Array(a.totalPages), p).map(g)
|
|
158
157
|
);
|
|
159
158
|
return {
|
|
160
159
|
// Values
|
|
161
160
|
dropdownId: e,
|
|
162
|
-
listOfAvailablePages:
|
|
163
|
-
i18nComponent:
|
|
161
|
+
listOfAvailablePages: o,
|
|
162
|
+
i18nComponent: l,
|
|
164
163
|
// Methods
|
|
165
|
-
getI18nProps:
|
|
164
|
+
getI18nProps: y,
|
|
166
165
|
// Events
|
|
167
|
-
onPageSelectChange:
|
|
168
|
-
// Enums
|
|
169
|
-
BentoTypographyElement: h
|
|
166
|
+
onPageSelectChange: n
|
|
170
167
|
};
|
|
171
168
|
}
|
|
172
169
|
});
|
|
173
|
-
var
|
|
170
|
+
var M = function() {
|
|
174
171
|
var t = this, e = t._self._c;
|
|
175
|
-
return t._self._setupProxy, e("div", { staticClass: "b-pagination-context" }, [t.totalPages > 1 ? e("bento-typography", { attrs: { el:
|
|
172
|
+
return t._self._setupProxy, e("div", { staticClass: "b-pagination-context" }, [t.totalPages > 1 ? e("bento-typography", { attrs: { el: "div" } }, [e(t.i18nComponent, t._b({ tag: "component", attrs: { tag: "div" }, scopedSlots: t._u([{ key: "page", fn: function() {
|
|
176
173
|
return [e("bento-dropdown", { staticClass: "b-pagination-context__dropdown", attrs: { id: t.dropdownId, value: t.page, items: t.listOfAvailablePages, "aria-label": t.$t("pageOfTotalPages", { page: t.page, totalPages: t.totalPages }) }, on: { input: t.onPageSelectChange } })];
|
|
177
174
|
}, proxy: !0 }, { key: "totalPages", fn: function() {
|
|
178
175
|
return [t._v(t._s(t.totalPages))];
|
|
179
|
-
}, proxy: !0 }], null, !1, 2436399790) }, "component", t.getI18nProps("pageOfTotalPages"), !1))], 1) : t.totalPages === 1 ? e("bento-typography", { attrs: { el:
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
}, proxy: !0 }], null, !1, 2436399790) }, "component", t.getI18nProps("pageOfTotalPages"), !1))], 1) : t.totalPages === 1 ? e("bento-typography", { attrs: { el: "span" } }, [t._v(" " + t._s(t.$t("pageOneOfOne")) + " ")]) : e("bento-typography", { attrs: { el: "span" } }, [t._v(" " + t._s(t.$t("pageNumber", { page: t.page })) + " ")])], 1);
|
|
177
|
+
}, Z = [], W = /* @__PURE__ */ r(
|
|
178
|
+
E,
|
|
179
|
+
M,
|
|
180
|
+
Z,
|
|
184
181
|
!1,
|
|
185
182
|
null,
|
|
186
|
-
"
|
|
183
|
+
"953ef9f5",
|
|
187
184
|
null,
|
|
188
185
|
null
|
|
189
186
|
);
|
|
190
|
-
const D =
|
|
191
|
-
let
|
|
192
|
-
const
|
|
187
|
+
const D = W.exports;
|
|
188
|
+
let v = 0;
|
|
189
|
+
const z = {
|
|
193
190
|
beforeCreate() {
|
|
194
|
-
this.uuid =
|
|
191
|
+
this.uuid = v.toString(), v += 1;
|
|
195
192
|
}
|
|
196
193
|
};
|
|
197
|
-
var
|
|
194
|
+
var U = function() {
|
|
198
195
|
var t = this, e = t._self._c;
|
|
199
196
|
return e("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } }), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
|
|
200
|
-
},
|
|
201
|
-
Z,
|
|
202
|
-
W,
|
|
197
|
+
}, j = [], J = /* @__PURE__ */ r(
|
|
203
198
|
z,
|
|
199
|
+
U,
|
|
200
|
+
j,
|
|
204
201
|
!1,
|
|
205
202
|
null,
|
|
206
203
|
"d0300c1f",
|
|
207
204
|
null,
|
|
208
205
|
null
|
|
209
206
|
);
|
|
210
|
-
const
|
|
211
|
-
let
|
|
212
|
-
const
|
|
207
|
+
const K = J.exports;
|
|
208
|
+
let f = 0;
|
|
209
|
+
const V = {
|
|
213
210
|
beforeCreate() {
|
|
214
|
-
this.uuid =
|
|
211
|
+
this.uuid = f.toString(), f += 1;
|
|
215
212
|
}
|
|
216
213
|
};
|
|
217
|
-
var
|
|
214
|
+
var q = function() {
|
|
218
215
|
var t = this, e = t._self._c;
|
|
219
216
|
return e("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } }), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
|
|
220
|
-
},
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
217
|
+
}, G = [], H = /* @__PURE__ */ r(
|
|
218
|
+
V,
|
|
219
|
+
q,
|
|
220
|
+
G,
|
|
224
221
|
!1,
|
|
225
222
|
null,
|
|
226
223
|
"526f9959",
|
|
227
224
|
null,
|
|
228
225
|
null
|
|
229
226
|
);
|
|
230
|
-
const
|
|
231
|
-
let
|
|
232
|
-
const
|
|
227
|
+
const Q = H.exports;
|
|
228
|
+
let m = 0;
|
|
229
|
+
const X = {
|
|
233
230
|
beforeCreate() {
|
|
234
|
-
this.uuid =
|
|
231
|
+
this.uuid = m.toString(), m += 1;
|
|
235
232
|
}
|
|
236
233
|
};
|
|
237
|
-
var
|
|
234
|
+
var Y = function() {
|
|
238
235
|
var t = this, e = t._self._c;
|
|
239
236
|
return e("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
|
|
240
|
-
},
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
237
|
+
}, tt = [], et = /* @__PURE__ */ r(
|
|
238
|
+
X,
|
|
239
|
+
Y,
|
|
240
|
+
tt,
|
|
244
241
|
!1,
|
|
245
242
|
null,
|
|
246
243
|
"ad07f9f1",
|
|
247
244
|
null,
|
|
248
245
|
null
|
|
249
246
|
);
|
|
250
|
-
const
|
|
251
|
-
let
|
|
252
|
-
const
|
|
247
|
+
const at = et.exports;
|
|
248
|
+
let h = 0;
|
|
249
|
+
const nt = {
|
|
253
250
|
beforeCreate() {
|
|
254
|
-
this.uuid =
|
|
251
|
+
this.uuid = h.toString(), h += 1;
|
|
255
252
|
}
|
|
256
253
|
};
|
|
257
|
-
var
|
|
254
|
+
var ot = function() {
|
|
258
255
|
var t = this, e = t._self._c;
|
|
259
256
|
return e("svg", t._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", 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", "clip-rule": "evenodd" } })]);
|
|
260
|
-
},
|
|
261
|
-
et,
|
|
262
|
-
at,
|
|
257
|
+
}, st = [], it = /* @__PURE__ */ r(
|
|
263
258
|
nt,
|
|
259
|
+
ot,
|
|
260
|
+
st,
|
|
264
261
|
!1,
|
|
265
262
|
null,
|
|
266
263
|
"5d0b9449",
|
|
267
264
|
null,
|
|
268
265
|
null
|
|
269
266
|
);
|
|
270
|
-
const
|
|
267
|
+
const rt = it.exports, lt = {
|
|
271
268
|
"en-US": {
|
|
272
269
|
navigateToTheFirstPage: "Navigate to the first page",
|
|
273
270
|
navigateToThePreviousPage: "Navigate to the previous page",
|
|
@@ -304,15 +301,15 @@ const st = ot.exports, it = {
|
|
|
304
301
|
navigateToTheNextPage: "Ir a la página siguiente",
|
|
305
302
|
navigateToTheLastPage: "Ir a la última página"
|
|
306
303
|
}
|
|
307
|
-
},
|
|
308
|
-
i18n: { messages:
|
|
304
|
+
}, gt = _({
|
|
305
|
+
i18n: { messages: lt },
|
|
309
306
|
name: "adl-pagination-controls",
|
|
310
307
|
components: {
|
|
311
|
-
BentoButton:
|
|
312
|
-
SkipLeft:
|
|
313
|
-
SkipRight:
|
|
314
|
-
ChevronLeft:
|
|
315
|
-
ChevronRight:
|
|
308
|
+
BentoButton: S,
|
|
309
|
+
SkipLeft: K,
|
|
310
|
+
SkipRight: Q,
|
|
311
|
+
ChevronLeft: at,
|
|
312
|
+
ChevronRight: rt
|
|
316
313
|
},
|
|
317
314
|
props: {
|
|
318
315
|
/**
|
|
@@ -330,55 +327,53 @@ const st = ot.exports, it = {
|
|
|
330
327
|
},
|
|
331
328
|
emits: ["navigate"],
|
|
332
329
|
setup(a, { emit: t }) {
|
|
333
|
-
const e =
|
|
334
|
-
const
|
|
335
|
-
return
|
|
330
|
+
const e = i(() => a.page === 1), n = i(() => a.page === a.totalPages), l = i(() => !a.hasNext || n.value), g = i(() => {
|
|
331
|
+
const o = !a.hasNext, s = !a.totalPages;
|
|
332
|
+
return o || n.value || s;
|
|
336
333
|
});
|
|
337
334
|
return {
|
|
338
335
|
// Values
|
|
339
|
-
isNextButtonDisabled:
|
|
336
|
+
isNextButtonDisabled: l,
|
|
340
337
|
isCurrentPageFirst: e,
|
|
341
|
-
isCurrentPageLast:
|
|
342
|
-
isLastPageButtonDisabled:
|
|
338
|
+
isCurrentPageLast: n,
|
|
339
|
+
isLastPageButtonDisabled: g,
|
|
343
340
|
// Events
|
|
344
|
-
navigate: (
|
|
345
|
-
t("navigate",
|
|
346
|
-
}
|
|
347
|
-
// Enums
|
|
348
|
-
BentoButtonVariant: $
|
|
341
|
+
navigate: (o) => {
|
|
342
|
+
t("navigate", o);
|
|
343
|
+
}
|
|
349
344
|
};
|
|
350
345
|
}
|
|
351
346
|
});
|
|
352
|
-
var
|
|
347
|
+
var ut = function() {
|
|
353
348
|
var t = this, e = t._self._c;
|
|
354
|
-
return t._self._setupProxy, e("ul", { staticClass: "b-pagination-controls" }, [e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isCurrentPageFirst, variant:
|
|
349
|
+
return t._self._setupProxy, e("ul", { staticClass: "b-pagination-controls" }, [e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isCurrentPageFirst, variant: "tertiary", condensed: "" }, on: { click: function(n) {
|
|
355
350
|
return t.navigate(1);
|
|
356
351
|
} }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
357
352
|
return [e("skip-left", { attrs: { "svg-title": t.$t("navigateToTheFirstPage") } })];
|
|
358
|
-
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isCurrentPageFirst, variant:
|
|
353
|
+
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isCurrentPageFirst, variant: "tertiary", condensed: "" }, on: { click: function(n) {
|
|
359
354
|
return t.navigate(t.page - 1);
|
|
360
355
|
} }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
361
356
|
return [e("chevron-left", { attrs: { "svg-title": t.$t("navigateToThePreviousPage") } })];
|
|
362
|
-
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isNextButtonDisabled, variant:
|
|
357
|
+
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isNextButtonDisabled, variant: "tertiary", condensed: "" }, on: { click: function(n) {
|
|
363
358
|
return t.navigate(t.page + 1);
|
|
364
359
|
} }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
365
360
|
return [e("chevron-right", { attrs: { "svg-title": t.$t("navigateToTheNextPage") } })];
|
|
366
|
-
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isLastPageButtonDisabled, variant:
|
|
361
|
+
}, proxy: !0 }]) })], 1), e("li", { staticClass: "b-pagination-controls__item" }, [e("bento-button", { attrs: { disabled: t.isLastPageButtonDisabled, variant: "tertiary", condensed: "" }, on: { click: function(n) {
|
|
367
362
|
return t.navigate(t.totalPages);
|
|
368
363
|
} }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
|
|
369
364
|
return [e("skip-right", { attrs: { "svg-title": t.$t("navigateToTheLastPage") } })];
|
|
370
365
|
}, proxy: !0 }]) })], 1)]);
|
|
371
|
-
},
|
|
372
|
-
rt,
|
|
373
|
-
lt,
|
|
366
|
+
}, pt = [], _t = /* @__PURE__ */ r(
|
|
374
367
|
gt,
|
|
368
|
+
ut,
|
|
369
|
+
pt,
|
|
375
370
|
!1,
|
|
376
371
|
null,
|
|
377
|
-
"
|
|
372
|
+
"e062fb92",
|
|
378
373
|
null,
|
|
379
374
|
null
|
|
380
375
|
);
|
|
381
|
-
const
|
|
376
|
+
const ct = _t.exports, dt = {
|
|
382
377
|
"en-US": {
|
|
383
378
|
paginatedNavigation: "Paginated navigation",
|
|
384
379
|
showingItemsWithTotal: "Showing {itemCount} of {totalCount} item | Showing {itemCount} of {totalCount} items"
|
|
@@ -403,15 +398,18 @@ const pt = ut.exports, ct = {
|
|
|
403
398
|
paginatedNavigation: "Navegación por páginas",
|
|
404
399
|
showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículo | Mostrando {itemCount} de {totalCount} artículos"
|
|
405
400
|
}
|
|
406
|
-
},
|
|
407
|
-
i18n: { messages:
|
|
401
|
+
}, vt = _({
|
|
402
|
+
i18n: { messages: dt },
|
|
408
403
|
name: "bento-pagination",
|
|
409
404
|
components: {
|
|
410
405
|
BentoPaginationContext: D,
|
|
411
|
-
BentoPaginationControls:
|
|
412
|
-
BentoPaginationResultsPerPage:
|
|
406
|
+
BentoPaginationControls: ct,
|
|
407
|
+
BentoPaginationResultsPerPage: A
|
|
413
408
|
},
|
|
414
409
|
props: {
|
|
410
|
+
/**
|
|
411
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
412
|
+
*/
|
|
415
413
|
/**
|
|
416
414
|
* A brief description of the purpose of the navigation (for a11y).
|
|
417
415
|
* Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
|
|
@@ -450,44 +448,49 @@ const pt = ut.exports, ct = {
|
|
|
450
448
|
totalCount: { type: Number, default: null }
|
|
451
449
|
},
|
|
452
450
|
emits: ["navigate", "items-page", "update:page", "update:size"],
|
|
453
|
-
setup(a, {
|
|
454
|
-
const
|
|
451
|
+
setup(a, { attrs: t, emit: e }) {
|
|
452
|
+
const n = C(t["aria-label"]), { ariaLabel: l } = w(a), g = N({
|
|
453
|
+
ariaLabel: n.value,
|
|
454
|
+
// TODO: take this line away when the aria-label props is removed
|
|
455
|
+
label: l
|
|
456
|
+
}), p = i(
|
|
455
457
|
() => !a.totalCount || !a.size ? null : Math.ceil(a.totalCount / a.size)
|
|
456
|
-
), o = (
|
|
457
|
-
|
|
458
|
-
},
|
|
459
|
-
o(
|
|
460
|
-
},
|
|
461
|
-
|
|
462
|
-
},
|
|
458
|
+
), o = (u) => {
|
|
459
|
+
e("navigate", u), e("update:page", u);
|
|
460
|
+
}, s = (u) => {
|
|
461
|
+
o(u);
|
|
462
|
+
}, c = (u) => {
|
|
463
|
+
e("items-page", u), e("update:size", u), o(1);
|
|
464
|
+
}, $ = i(() => ({
|
|
463
465
|
"b-pagination__navigation--no-results-per-page": a.hidePageSize
|
|
464
466
|
}));
|
|
465
467
|
return {
|
|
466
468
|
// Values
|
|
467
|
-
|
|
468
|
-
|
|
469
|
+
computedAriaLabel: g,
|
|
470
|
+
totalPages: p,
|
|
471
|
+
navigationConditionalClasses: $,
|
|
469
472
|
// Events
|
|
470
473
|
navigate: o,
|
|
471
|
-
onItemsPerPageChange:
|
|
472
|
-
onPageSelected:
|
|
474
|
+
onItemsPerPageChange: c,
|
|
475
|
+
onPageSelected: s
|
|
473
476
|
};
|
|
474
477
|
}
|
|
475
478
|
});
|
|
476
|
-
var
|
|
479
|
+
var ft = function() {
|
|
477
480
|
var t = this, e = t._self._c;
|
|
478
|
-
return t._self._setupProxy, e("div", { staticClass: "b-pagination" }, [e("nav", { staticClass: "b-pagination__navigation", class: t.navigationConditionalClasses, attrs: { "aria-label": t.
|
|
479
|
-
},
|
|
480
|
-
_t,
|
|
481
|
-
dt,
|
|
481
|
+
return t._self._setupProxy, e("div", { staticClass: "b-pagination" }, [e("nav", { staticClass: "b-pagination__navigation", class: t.navigationConditionalClasses, attrs: { "aria-label": t.computedAriaLabel } }, [t.hidePageSize ? t._e() : e("bento-pagination-results-per-page", { staticClass: "b-pagination__results-per-page", attrs: { "items-per-page": t.size, "total-count": t.totalCount }, on: { select: t.onItemsPerPageChange } }), e("div", { staticClass: "b-pagination__page-navigator" }, [e("bento-pagination-context", { staticClass: "b-pagination__context", attrs: { "total-pages": t.totalPages, page: t.page, "total-count": t.totalCount }, on: { "page-selected": t.onPageSelected } }), e("div", { staticClass: "b-pagination__divider" }), e("bento-pagination-controls", { staticClass: "b-pagination__controls", attrs: { "has-next": t.hasNext, page: t.page, "total-pages": t.totalPages }, on: { navigate: t.navigate } })], 1)], 1)]);
|
|
482
|
+
}, mt = [], ht = /* @__PURE__ */ r(
|
|
482
483
|
vt,
|
|
484
|
+
ft,
|
|
485
|
+
mt,
|
|
483
486
|
!1,
|
|
484
487
|
null,
|
|
485
|
-
"
|
|
488
|
+
"922b81b3",
|
|
486
489
|
null,
|
|
487
490
|
null
|
|
488
491
|
);
|
|
489
|
-
const
|
|
492
|
+
const Nt = ht.exports;
|
|
490
493
|
export {
|
|
491
|
-
|
|
494
|
+
Nt as BentoPagination
|
|
492
495
|
};
|
|
493
496
|
//# sourceMappingURL=pagination.js.map
|