@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/index.js
CHANGED
|
@@ -1,60 +1,64 @@
|
|
|
1
1
|
var B = Object.defineProperty;
|
|
2
|
-
var i = (
|
|
3
|
-
var r = (
|
|
2
|
+
var i = (e, t, o) => t in e ? B(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
|
+
var r = (e, t, o) => (i(e, typeof t != "symbol" ? t + "" : t, o), o);
|
|
4
4
|
import "./chunks/index.af05ced4.js";
|
|
5
5
|
import { reactive as m } from "vue";
|
|
6
6
|
import { g as s } from "./chunks/unique-id.a2a2b458.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { B as Y,
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
7
|
+
import { BentoAccordion as T, BentoAccordionItem as C } from "./accordion.js";
|
|
8
|
+
import { BentoAlert as D, BentoAlertEvent as v, BentoAlertTypeOption as E, BentoAlertVariant as b } from "./alert.js";
|
|
9
|
+
import { a as L, b as P, B as F } from "./chunks/button.fb307df3.js";
|
|
10
|
+
import { BentoColumnOverflow as V, BentoDataGrid as G, BentoDatagridAriaSortValue as w, BentoDatagridEvent as A, BentoDatagridSortDirection as M, BentoDatagridStyleState as O } from "./data-grid.js";
|
|
11
|
+
import { BentoCard as _, BentoCardBackground as N, BentoCardTitleSize as q } from "./card.js";
|
|
12
|
+
import { BentoDatePicker as U, BentoDatePickerEvent as K } from "./date-picker.js";
|
|
13
|
+
import { B as Y, a as H } from "./chunks/index.88ff49c2.js";
|
|
14
|
+
import { B as j, u as J } from "./chunks/dropdown.fd93f0ce.js";
|
|
15
|
+
import { BentoDropdownAvatar as X, BentoDropdownCountry as Z, BentoDropdownCurrency as tt, BentoDropdownPaymentMethod as et, BentoDropdownTag as ot } from "./dropdown.js";
|
|
16
|
+
import { B as rt, b as at, a as Bt } from "./chunks/checkbox.c7d791ed.js";
|
|
17
|
+
import { BentoClickOutside as mt } from "./click-outside.js";
|
|
18
|
+
import { BentoCodeSnippet as pt, BentoCodeSnippetEvent as dt, BentoCodeSnippetSupportedLanguage as ut, BentoCodeSnippetVariant as lt } from "./code-snippet.js";
|
|
19
|
+
import { BentoCountry as xt, BentoCountryCode as yt, BentoCountryVariant as ct, useCountryCapital as gt, useCountryName as St, useCountryPhoneCode as Tt } from "./country.js";
|
|
20
|
+
import { BentoCurrency as ht, BentoCurrencyISOCode as Dt } from "./currency.js";
|
|
21
|
+
import { B as Et, a as bt } from "./chunks/index.9902cae4.js";
|
|
22
|
+
import { BentoDivider as Lt } from "./divider.js";
|
|
23
|
+
import { BentoEmptyState as Ft, BentoEmptyStateImage as kt, BentoEmptyStateImageVariant as Vt, BentoEmptyStateVariant as Gt } from "./empty-state.js";
|
|
24
|
+
import { BentoFilterBar as At, BentoFilterBarEvent as Mt, BentoFilterEvent as Ot, BentoFilterItemType as Rt } from "./filter-bar.js";
|
|
25
|
+
import { BentoFormLayout as Nt, BentoFormLayoutFieldTip as qt, BentoFormLayoutGroup as zt, BentoFormLayoutTitle as Ut } from "./form-layout.js";
|
|
26
|
+
import { BentoImage as Wt } from "./image.js";
|
|
27
|
+
import { BentoInfoIcon as Ht } from "./info-icon.js";
|
|
28
|
+
import { BentoInputField as jt, BentoInputFieldElementPosition as Jt, BentoInputFieldEvent as Qt, BentoInputFieldStateClass as Xt, BentoInputFieldType as Zt, BentoInputFieldVariant as te } from "./input-field.js";
|
|
29
|
+
import { BentoLoadingIndicator as oe, BentoLoadingIndicatorEvent as ne } from "./loading-indicator.js";
|
|
30
|
+
import { BentoLink as ae, BentoLinkVariant as Be } from "./link.js";
|
|
31
|
+
import { BentoMenu as me, BentoMenuEvent as se } from "./menu.js";
|
|
32
|
+
import { BentoModal as de } from "./modal.js";
|
|
33
|
+
import { b as le, d as fe, e as xe, c as ye, a as ce, B as ge } from "./chunks/base-modal.a365f260.js";
|
|
34
|
+
import { BentoHeader as Te } from "./header.js";
|
|
35
|
+
import { BentoPagination as he } from "./pagination.js";
|
|
36
|
+
import { BentoPaymentMethod as ve, BentoPaymentMethodType as Ee } from "./payment-method.js";
|
|
37
|
+
import { BentoPopover as Ie, BentoPopoverPositions as Le } from "./popover.js";
|
|
38
|
+
import { BentoRadioGroup as Fe, BentoRadioGroupVariant as ke } from "./radio-group.js";
|
|
39
|
+
import { BentoSearchBar as Ge, BentoSearchBarEvent as we, BentoSearchBarInternalEvent as Ae } from "./search-bar.js";
|
|
40
|
+
import { BentoSegmentedControl as Oe, BentoSegmentedControlEvent as Re } from "./segmented-control.js";
|
|
41
|
+
import { BentoSidepanel as Ne, BentoSidepanelAnimation as qe, BentoSidepanelEvent as ze, BentoSidepanelPage as Ue } from "./sidepanel.js";
|
|
42
|
+
import { BentoStatus as We, BentoStatusVariant as Ye } from "./status.js";
|
|
43
|
+
import { B as $e, a as je } from "./chunks/index.bd734551.js";
|
|
44
|
+
import { BentoSummaryGrid as Qe, BentoSummaryGridItemAmount as Xe, BentoSummaryGridItemCustom as Ze, BentoSummaryGridItemNumeric as to, BentoSummaryGridItemPercentage as eo, BentoSummaryGridItemSize as oo, BentoSummaryGridItemText as no, BentoSummaryGridItemTrendDirection as ro } from "./summary-grid.js";
|
|
45
|
+
import { BentoTab as Bo, BentoTabs as io } from "./tabs.js";
|
|
46
|
+
import { BentoTag as so, BentoTagVariant as po } from "./tag.js";
|
|
47
|
+
import { BentoTextarea as lo } from "./textarea.js";
|
|
48
|
+
import { BentoTimeline as xo, BentoTimelineGapUnit as yo, BentoTimelineItem as co, BentoTimelineItemVariant as go, BentoTimelineShowMorePlacement as So } from "./timeline.js";
|
|
49
|
+
import { BentoToast as Co } from "./toast.js";
|
|
50
|
+
import { u as Do } from "./chunks/toastController.0e01443d.js";
|
|
51
|
+
import { BentoToggle as Eo, BentoToggleLabelPosition as bo, BentoTogglePropClass as Io } from "./toggle.js";
|
|
52
|
+
import { B as Po, c as Fo, b as ko, a as Vo } from "./chunks/index.45295dd3.js";
|
|
53
|
+
import { BentoButtonActions as wo, BentoButtonActionsLayout as Ao, BentoButtonActionsLayoutBasic as Mo, BentoButtonActionsLayoutExtended as Oo } from "./button.js";
|
|
54
|
+
import { B as _o, a as No } from "./chunks/loading-button.429c8416.js";
|
|
55
|
+
import { b as zo, b as Uo } from "./chunks/calendar.79ea42c1.js";
|
|
56
|
+
import { BentoCheckboxGroup as Wo, BentoCheckboxGroupVariant as Yo } from "./checkbox.js";
|
|
57
|
+
import { D as $o } from "./chunks/date-input.9186a0bf.js";
|
|
58
|
+
import { a as Jo, B as Qo } from "./chunks/debounce.f8d92e44.js";
|
|
59
|
+
import { a as Zo, b as tn } from "./chunks/listbox.e792d2d6.js";
|
|
60
|
+
import { B as on } from "./chunks/directive.0408e565.js";
|
|
61
|
+
import { b as rn, B as an, a as Bn } from "./chunks/tooltip.a47ace87.js";
|
|
58
62
|
class p {
|
|
59
63
|
constructor() {
|
|
60
64
|
r(this, "_state");
|
|
@@ -63,12 +67,12 @@ class p {
|
|
|
63
67
|
get state() {
|
|
64
68
|
return this._state;
|
|
65
69
|
}
|
|
66
|
-
dismissToast(
|
|
67
|
-
this._state.queue.splice(this._state.queue.indexOf(
|
|
70
|
+
dismissToast(t) {
|
|
71
|
+
this._state.queue.splice(this._state.queue.indexOf(t), 1);
|
|
68
72
|
}
|
|
69
|
-
addToast(
|
|
73
|
+
addToast(t) {
|
|
70
74
|
const o = s("toast"), n = {
|
|
71
|
-
...
|
|
75
|
+
...t,
|
|
72
76
|
id: o,
|
|
73
77
|
dismiss: () => this.dismissToast(n)
|
|
74
78
|
};
|
|
@@ -77,163 +81,170 @@ class p {
|
|
|
77
81
|
};
|
|
78
82
|
}
|
|
79
83
|
}
|
|
80
|
-
var d = /* @__PURE__ */ ((
|
|
81
|
-
const a = (
|
|
82
|
-
document.body.classList.add(
|
|
84
|
+
var d = /* @__PURE__ */ ((e) => (e.LEGACY = "b-legacy-theme", e.STYLEGUIDE = "b-styleguide-theme", e.BENTO = "", e))(d || {});
|
|
85
|
+
const a = (e) => {
|
|
86
|
+
document.body.classList.add(e);
|
|
83
87
|
}, u = {
|
|
84
|
-
install: async (
|
|
85
|
-
|
|
88
|
+
install: async (e, t) => {
|
|
89
|
+
t != null && t.withToast && (e.prototype.$bentoToastController = new p()), (t == null ? void 0 : t.theme) === "b-legacy-theme" ? (a(
|
|
86
90
|
"b-legacy-theme"
|
|
87
91
|
/* LEGACY */
|
|
88
|
-
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (
|
|
92
|
+
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (t == null ? void 0 : t.theme) === "b-styleguide-theme" ? (a(
|
|
89
93
|
"b-styleguide-theme"
|
|
90
94
|
/* STYLEGUIDE */
|
|
91
|
-
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css?used")) : await import("@adyen/bento-design-tokens/dist/css/bento/variables.css?used"),
|
|
95
|
+
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css?used")) : await import("@adyen/bento-design-tokens/dist/css/bento/variables.css?used"), t != null && t.withUtilityClasses && await import("@adyen/bento-design-tokens/dist/css/bento/utility.css?used");
|
|
92
96
|
}
|
|
93
97
|
}, c = u;
|
|
94
98
|
export {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
G as
|
|
129
|
-
w as
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
99
|
+
T as BentoAccordion,
|
|
100
|
+
C as BentoAccordionItem,
|
|
101
|
+
D as BentoAlert,
|
|
102
|
+
v as BentoAlertEvent,
|
|
103
|
+
E as BentoAlertTypeOption,
|
|
104
|
+
b as BentoAlertVariant,
|
|
105
|
+
L as BentoButton,
|
|
106
|
+
wo as BentoButtonActions,
|
|
107
|
+
Ao as BentoButtonActionsLayout,
|
|
108
|
+
Mo as BentoButtonActionsLayoutBasic,
|
|
109
|
+
Oo as BentoButtonActionsLayoutExtended,
|
|
110
|
+
P as BentoButtonPropClass,
|
|
111
|
+
F as BentoButtonVariant,
|
|
112
|
+
_ as BentoCard,
|
|
113
|
+
N as BentoCardBackground,
|
|
114
|
+
q as BentoCardTitleSize,
|
|
115
|
+
rt as BentoCheckbox,
|
|
116
|
+
at as BentoCheckboxEvent,
|
|
117
|
+
Wo as BentoCheckboxGroup,
|
|
118
|
+
Yo as BentoCheckboxGroupVariant,
|
|
119
|
+
Bt as BentoCheckboxState,
|
|
120
|
+
mt as BentoClickOutside,
|
|
121
|
+
on as BentoClickOutsideDirective,
|
|
122
|
+
pt as BentoCodeSnippet,
|
|
123
|
+
dt as BentoCodeSnippetEvent,
|
|
124
|
+
ut as BentoCodeSnippetSupportedLanguage,
|
|
125
|
+
lt as BentoCodeSnippetVariant,
|
|
126
|
+
V as BentoColumnOverflow,
|
|
127
|
+
xt as BentoCountry,
|
|
128
|
+
yt as BentoCountryCode,
|
|
129
|
+
ct as BentoCountryVariant,
|
|
130
|
+
ht as BentoCurrency,
|
|
131
|
+
Dt as BentoCurrencyISOCode,
|
|
132
|
+
G as BentoDataGrid,
|
|
133
|
+
w as BentoDatagridAriaSortValue,
|
|
134
|
+
A as BentoDatagridEvent,
|
|
135
|
+
M as BentoDatagridSortDirection,
|
|
136
|
+
O as BentoDatagridStyleState,
|
|
137
|
+
Et as BentoDate,
|
|
138
|
+
bt as BentoDateFormat,
|
|
139
|
+
U as BentoDatePicker,
|
|
140
|
+
K as BentoDatePickerEvent,
|
|
141
|
+
zo as BentoDatePickerFirstDayOfWeek,
|
|
142
|
+
Y as BentoDateRangePicker,
|
|
143
|
+
H as BentoDateRangePickerEvent,
|
|
144
|
+
Uo as BentoDateRangePickerFirstDayOfWeek,
|
|
145
|
+
Lt as BentoDivider,
|
|
146
|
+
j as BentoDropdown,
|
|
147
|
+
X as BentoDropdownAvatar,
|
|
148
|
+
Z as BentoDropdownCountry,
|
|
149
|
+
tt as BentoDropdownCurrency,
|
|
150
|
+
et as BentoDropdownPaymentMethod,
|
|
151
|
+
ot as BentoDropdownTag,
|
|
152
|
+
Ft as BentoEmptyState,
|
|
153
|
+
kt as BentoEmptyStateImage,
|
|
154
|
+
Vt as BentoEmptyStateImageVariant,
|
|
155
|
+
Gt as BentoEmptyStateVariant,
|
|
156
|
+
At as BentoFilterBar,
|
|
157
|
+
Mt as BentoFilterBarEvent,
|
|
158
|
+
Ot as BentoFilterEvent,
|
|
159
|
+
Rt as BentoFilterItemType,
|
|
160
|
+
Nt as BentoFormLayout,
|
|
161
|
+
qt as BentoFormLayoutFieldTip,
|
|
162
|
+
zt as BentoFormLayoutGroup,
|
|
163
|
+
Ut as BentoFormLayoutTitle,
|
|
164
|
+
Te as BentoHeader,
|
|
165
|
+
Wt as BentoImage,
|
|
166
|
+
Ht as BentoInfoIcon,
|
|
167
|
+
jt as BentoInputField,
|
|
168
|
+
Jt as BentoInputFieldElementPosition,
|
|
169
|
+
Qt as BentoInputFieldEvent,
|
|
170
|
+
Xt as BentoInputFieldStateClass,
|
|
171
|
+
Zt as BentoInputFieldType,
|
|
172
|
+
te as BentoInputFieldVariant,
|
|
173
|
+
Jo as BentoKeyboardNavigationDirective,
|
|
174
|
+
Qo as BentoKeyboardNavigationKeyDownEvent,
|
|
175
|
+
ae as BentoLink,
|
|
176
|
+
Be as BentoLinkVariant,
|
|
177
|
+
Zo as BentoListboxEvent,
|
|
178
|
+
tn as BentoListboxLazyLoadType,
|
|
179
|
+
_o as BentoLoadingButton,
|
|
180
|
+
No as BentoLoadingButtonState,
|
|
181
|
+
oe as BentoLoadingIndicator,
|
|
182
|
+
ne as BentoLoadingIndicatorEvent,
|
|
183
|
+
me as BentoMenu,
|
|
184
|
+
se as BentoMenuEvent,
|
|
185
|
+
de as BentoModal,
|
|
186
|
+
le as BentoModalColumnLayoutVariant,
|
|
187
|
+
fe as BentoModalDialogType,
|
|
188
|
+
xe as BentoModalEvent,
|
|
189
|
+
ye as BentoModalRole,
|
|
190
|
+
ce as BentoModalSize,
|
|
191
|
+
ge as BentoModalVariant,
|
|
192
|
+
he as BentoPagination,
|
|
193
|
+
ve as BentoPaymentMethod,
|
|
194
|
+
Ee as BentoPaymentMethodType,
|
|
195
|
+
Ie as BentoPopover,
|
|
196
|
+
Le as BentoPopoverPositions,
|
|
197
|
+
Fe as BentoRadioGroup,
|
|
198
|
+
ke as BentoRadioGroupVariant,
|
|
199
|
+
Ge as BentoSearchBar,
|
|
200
|
+
we as BentoSearchBarEvent,
|
|
201
|
+
Ae as BentoSearchBarInternalEvent,
|
|
202
|
+
Oe as BentoSegmentedControl,
|
|
203
|
+
Re as BentoSegmentedControlEvent,
|
|
204
|
+
Ne as BentoSidepanel,
|
|
205
|
+
qe as BentoSidepanelAnimation,
|
|
206
|
+
ze as BentoSidepanelEvent,
|
|
207
|
+
Ue as BentoSidepanelPage,
|
|
208
|
+
We as BentoStatus,
|
|
209
|
+
Ye as BentoStatusVariant,
|
|
210
|
+
$e as BentoStructuredList,
|
|
211
|
+
je as BentoStructuredListItem,
|
|
212
|
+
Qe as BentoSummaryGrid,
|
|
213
|
+
Xe as BentoSummaryGridItemAmount,
|
|
214
|
+
Ze as BentoSummaryGridItemCustom,
|
|
215
|
+
to as BentoSummaryGridItemNumeric,
|
|
216
|
+
eo as BentoSummaryGridItemPercentage,
|
|
217
|
+
oo as BentoSummaryGridItemSize,
|
|
218
|
+
no as BentoSummaryGridItemText,
|
|
219
|
+
ro as BentoSummaryGridItemTrendDirection,
|
|
220
|
+
Bo as BentoTab,
|
|
221
|
+
io as BentoTabs,
|
|
222
|
+
so as BentoTag,
|
|
223
|
+
po as BentoTagVariant,
|
|
224
|
+
lo as BentoTextarea,
|
|
214
225
|
d as BentoTheme,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
226
|
+
xo as BentoTimeline,
|
|
227
|
+
yo as BentoTimelineGapUnit,
|
|
228
|
+
co as BentoTimelineItem,
|
|
229
|
+
go as BentoTimelineItemVariant,
|
|
230
|
+
So as BentoTimelineShowMorePlacement,
|
|
231
|
+
Co as BentoToast,
|
|
232
|
+
Eo as BentoToggle,
|
|
233
|
+
bo as BentoToggleLabelPosition,
|
|
234
|
+
Io as BentoTogglePropClass,
|
|
235
|
+
rn as BentoTooltipDirective,
|
|
236
|
+
an as BentoTooltipPosition,
|
|
237
|
+
Bn as BentoTooltipState,
|
|
238
|
+
Po as BentoTypography,
|
|
239
|
+
Fo as BentoTypographyElement,
|
|
240
|
+
ko as BentoTypographyModifier,
|
|
241
|
+
Vo as BentoTypographyVariant,
|
|
242
|
+
$o as DateFormat,
|
|
232
243
|
c as default,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
244
|
+
Do as useBentoToastController,
|
|
245
|
+
gt as useCountryCapital,
|
|
246
|
+
St as useCountryName,
|
|
247
|
+
Tt as useCountryPhoneCode,
|
|
248
|
+
J as useSearchBarFilter
|
|
238
249
|
};
|
|
239
250
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/plugins/toastController.ts","../src/install.ts"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n"],"names":["ToastController","__publicField","reactive","toast","params","id","generateUid","BentoTheme","setTheme","theme","plugin","Vue","options","BentoVue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/plugins/toastController.ts","../src/install.ts"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n"],"names":["ToastController","__publicField","reactive","toast","params","id","generateUid","BentoTheme","setTheme","theme","plugin","Vue","options","BentoVue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAqBA,EAAgB;AAAA,EAOjC,cAAc;AAFN,IAAAC,EAAA;AAGJ,SAAK,SAASC,EAAS,EAAE,OAAO,CAAA,EAAI,CAAA;AAAA,EACxC;AAAA,EARA,IAAI,QAA0C;AAC1C,WAAO,KAAK;AAAA,EAChB;AAAA,EAQQ,aAAaC,GAA6B;AACzC,SAAA,OAAO,MAAM,OAAO,KAAK,OAAO,MAAM,QAAQA,CAAK,GAAG,CAAC;AAAA,EAChE;AAAA,EAEO,SAASC,GAAwB;AAC9B,UAAAC,IAAKC,EAAY,OAAO,GACxBH,IAAQ;AAAA,MACV,GAAGC;AAAA,MACH,IAAAC;AAAA,MACA,SAAS,MAAM,KAAK,aAAaF,CAAK;AAAA,IAAA;AAIrC,gBAAA,OAAO,MAAM,KAAKA,CAAK,GAGrB;AAAA,MACH,SAAS,MAAM,KAAK,aAAaA,CAAK;AAAA,IAAA;AAAA,EAE9C;AACJ;AChCY,IAAAI,sBAAAA,OACRA,EAAA,SAAS,kBACTA,EAAA,aAAa,sBACbA,EAAA,QAAQ,IAHAA,IAAAA,KAAA,CAAA,CAAA;AAWZ,MAAMC,IAAW,CAACC,MAAsB;AAC3B,WAAA,KAAK,UAAU,IAAIA,CAAK;AACrC,GAEMC,IAAuC;AAAA,EACzC,SAAS,OAAOC,GAAKC,MAAoF;AACrG,IAAIA,KAAA,QAAAA,EAAS,cAIJD,EAAY,UAAU,wBAAwB,IAAIX,EAAgB,KAOvEY,KAAA,gBAAAA,EAAS,WAAU,oBACnBJ;AAAA,MAAS;AAAA;AAAA,IAAiB,GAC1B,MAAM,OAAO,qEAAgE,MACtEI,KAAA,gBAAAA,EAAS,WAAU,wBAC1BJ;AAAA,MAAS;AAAA;AAAA,IAAqB,GAC9B,MAAM,OAAO,yEAAoE,KAEjF,MAAM,OAAO,8DAAyD,GAGtEI,KAAA,QAAAA,EAAS,sBACT,MAAM,OAAO,4DAAuD;AAAA,EAE5E;AACJ,GAEAC,IAAeH;"}
|
package/dist/info-icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as r } from "vue";
|
|
2
2
|
import { PopperContainerPosition as i } from "./popper-container.js";
|
|
3
3
|
import { n as s } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
-
import { b as a } from "./chunks/tooltip.
|
|
5
|
-
import "./assets/
|
|
4
|
+
import { b as a } from "./chunks/tooltip.a47ace87.js";
|
|
5
|
+
import "./assets/index7.css";
|
|
6
6
|
let n = 0;
|
|
7
7
|
const l = {
|
|
8
8
|
beforeCreate() {
|