@adyen/bento-vue3 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +8 -4
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -57
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +27 -29
- package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +136 -128
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +46 -15
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +6 -7
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +37 -11
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -22
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +277 -16
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +164 -104
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -27
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -11
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +53 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +61 -58
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +19 -390
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +6 -9
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -10
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +8 -1
- package/dist/@types/packages/vue2/src/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
- package/dist/accordion.js +104 -254
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +61 -64
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chevron-up.css +1 -0
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +2 -2
- package/dist/button.js +143 -12
- package/dist/button.js.map +1 -1
- package/dist/card.js +99 -94
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +40 -39
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/base-button.6d2843c2.js +108 -0
- package/dist/chunks/base-button.6d2843c2.js.map +1 -0
- package/dist/chunks/base-modal.3ccb9eb5.js +291 -0
- package/dist/chunks/base-modal.3ccb9eb5.js.map +1 -0
- package/dist/chunks/{button.e1c39f66.js → button.a8462029.js} +39 -42
- package/dist/chunks/button.a8462029.js.map +1 -0
- package/dist/chunks/{calendar.09b683b3.js → calendar.3f930683.js} +237 -240
- package/dist/chunks/calendar.3f930683.js.map +1 -0
- package/dist/chunks/checkbox.5e1e05ae.js +235 -0
- package/dist/chunks/checkbox.5e1e05ae.js.map +1 -0
- package/dist/chunks/{chevron-down.69bedf14.js → chevron-up.c03b58f8.js} +8 -8
- package/dist/chunks/chevron-up.c03b58f8.js.map +1 -0
- package/dist/chunks/controls-group.3b0dfb94.js +136 -0
- package/dist/chunks/controls-group.3b0dfb94.js.map +1 -0
- package/dist/chunks/{copy.2cf5e6c3.js → copy.1d14b783.js} +49 -50
- package/dist/chunks/copy.1d14b783.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.203e747f.js → dropdown-default-textbox.a90e84f9.js} +88 -90
- package/dist/chunks/dropdown-default-textbox.a90e84f9.js.map +1 -0
- package/dist/chunks/{dropdown.8b415aac.js → dropdown.b798a82e.js} +348 -330
- package/dist/chunks/dropdown.b798a82e.js.map +1 -0
- package/dist/chunks/{error-message.ddfe8ea5.js → error-message.9acead25.js} +16 -16
- package/dist/chunks/error-message.9acead25.js.map +1 -0
- package/dist/chunks/footer-actions.9537d0df.js +111 -0
- package/dist/chunks/footer-actions.9537d0df.js.map +1 -0
- package/dist/chunks/get-slot-text.bead058f.js +9 -0
- package/dist/chunks/get-slot-text.bead058f.js.map +1 -0
- package/dist/chunks/{grid-layout.a30855ff.js → grid-layout.984317d7.js} +2 -2
- package/dist/chunks/{grid-layout.a30855ff.js.map → grid-layout.984317d7.js.map} +1 -1
- package/dist/chunks/index.228ecda0.js +101 -0
- package/dist/chunks/index.228ecda0.js.map +1 -0
- package/dist/chunks/index.89b00b94.js +124 -0
- package/dist/chunks/index.89b00b94.js.map +1 -0
- package/dist/chunks/{index.3da90517.js → index.9d8273fc.js} +38 -40
- package/dist/chunks/index.9d8273fc.js.map +1 -0
- package/dist/chunks/{index.c9225c3b.js → index.c2a80208.js} +195 -201
- package/dist/chunks/index.c2a80208.js.map +1 -0
- package/dist/chunks/{index.13949709.js → index.d26fdf71.js} +116 -113
- package/dist/chunks/{index.13949709.js.map → index.d26fdf71.js.map} +1 -1
- package/dist/chunks/{index.d27367cd.js → index.e84dbeae.js} +80 -83
- package/dist/chunks/{index.d27367cd.js.map → index.e84dbeae.js.map} +1 -1
- package/dist/chunks/listbox-option-tag.0c9c571e.js +129 -0
- package/dist/chunks/listbox-option-tag.0c9c571e.js.map +1 -0
- package/dist/chunks/{listbox.0c7c4e5e.js → listbox.6b52af1a.js} +315 -334
- package/dist/chunks/listbox.6b52af1a.js.map +1 -0
- package/dist/chunks/{loading-button.61d8ebe5.js → loading-button.081adbf3.js} +33 -33
- package/dist/chunks/loading-button.081adbf3.js.map +1 -0
- package/dist/chunks/tabs.keys.358742f2.js +7 -0
- package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
- package/dist/chunks/{tooltip.835d9b52.js → tooltip.e4e34b86.js} +56 -59
- package/dist/chunks/tooltip.e4e34b86.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js +16 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js.map +1 -0
- package/dist/chunks/use-has-slot.9fac7123.js +16 -0
- package/dist/chunks/use-has-slot.9fac7123.js.map +1 -0
- package/dist/code-snippet.js +548 -463
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +501 -505
- package/dist/country.js.map +1 -1
- package/dist/currency.js +38 -41
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +837 -833
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +83 -87
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +30 -32
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +166 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/filter-bar.js +986 -935
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +72 -72
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +50 -52
- package/dist/header.js.map +1 -1
- package/dist/image.js +76 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +239 -232
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +241 -269
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +38 -36
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +131 -139
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +121 -356
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +182 -185
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +19 -23
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +56 -52
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +36 -41
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +112 -113
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +77 -91
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +88 -75
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +122 -121
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +18 -21
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +129 -162
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +83 -75
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +32 -35
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +156 -155
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +212 -213
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +68 -72
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +75 -73
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +11 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +0 -58
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/chevron-down.css +0 -1
- package/dist/chunks/base-button.20be08da.js +0 -111
- package/dist/chunks/base-button.20be08da.js.map +0 -1
- package/dist/chunks/button-actions.54e28e75.js +0 -124
- package/dist/chunks/button-actions.54e28e75.js.map +0 -1
- package/dist/chunks/button.e1c39f66.js.map +0 -1
- package/dist/chunks/calendar.09b683b3.js.map +0 -1
- package/dist/chunks/checkbox.a404069b.js +0 -226
- package/dist/chunks/checkbox.a404069b.js.map +0 -1
- package/dist/chunks/chevron-down.69bedf14.js.map +0 -1
- package/dist/chunks/controls-group.60fb2a86.js +0 -136
- package/dist/chunks/controls-group.60fb2a86.js.map +0 -1
- package/dist/chunks/copy.2cf5e6c3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.203e747f.js.map +0 -1
- package/dist/chunks/dropdown.8b415aac.js.map +0 -1
- package/dist/chunks/error-message.ddfe8ea5.js.map +0 -1
- package/dist/chunks/footer-actions.0f640f87.js +0 -106
- package/dist/chunks/footer-actions.0f640f87.js.map +0 -1
- package/dist/chunks/get-slot-text.2db867f8.js +0 -9
- package/dist/chunks/get-slot-text.2db867f8.js.map +0 -1
- package/dist/chunks/index.222d29b0.js +0 -120
- package/dist/chunks/index.222d29b0.js.map +0 -1
- package/dist/chunks/index.3da90517.js.map +0 -1
- package/dist/chunks/index.aa34e363.js +0 -104
- package/dist/chunks/index.aa34e363.js.map +0 -1
- package/dist/chunks/index.c9225c3b.js.map +0 -1
- package/dist/chunks/listbox-option-tag.5ae8b79b.js +0 -133
- package/dist/chunks/listbox-option-tag.5ae8b79b.js.map +0 -1
- package/dist/chunks/listbox.0c7c4e5e.js.map +0 -1
- package/dist/chunks/loading-button.61d8ebe5.js.map +0 -1
- package/dist/chunks/tooltip.835d9b52.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
- package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
- package/dist/chunks/use-has-slot.068222e6.js +0 -5
- package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
package/dist/summary-grid.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as S, resolveComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { G as
|
|
1
|
+
import { defineComponent as S, resolveComponent as p, openBlock as i, createElementBlock as E, Fragment as N, renderList as j, createBlock as m, createSlots as O, withCtx as r, renderSlot as y, toRefs as w, computed as v, normalizeStyle as R, createElementVNode as h, createVNode as M, createTextVNode as _, toDisplayString as f, createCommentVNode as $, mergeProps as z } from "vue";
|
|
2
|
+
import { u as k } from "./chunks/use-has-slot.9fac7123.js";
|
|
3
|
+
import { G as q } from "./chunks/grid-layout.984317d7.js";
|
|
4
4
|
import { _ as b } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
5
|
-
import { BentoInfoIcon as
|
|
6
|
-
import { B as X,
|
|
7
|
-
import { BentoTag as
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
const J = S({
|
|
5
|
+
import { BentoInfoIcon as U } from "./info-icon.js";
|
|
6
|
+
import { B as X, a as V } from "./chunks/index.89b00b94.js";
|
|
7
|
+
import { BentoTag as W, BentoTagVariant as L } from "./tag.js";
|
|
8
|
+
import { C as F } from "./chunks/copy.1d14b783.js";
|
|
9
|
+
import "./assets/index33.css";
|
|
10
|
+
const H = S({
|
|
12
11
|
name: "bento-summary-grid",
|
|
13
|
-
components: { GridLayout:
|
|
12
|
+
components: { GridLayout: q },
|
|
14
13
|
props: {
|
|
15
14
|
/**
|
|
16
15
|
* Sets the responsive columns widths values for 1 of the 3 rows.
|
|
@@ -21,34 +20,34 @@ const J = S({
|
|
|
21
20
|
}
|
|
22
21
|
},
|
|
23
22
|
setup(e, { slots: s }) {
|
|
24
|
-
var
|
|
23
|
+
var u, a;
|
|
25
24
|
let c = 1;
|
|
26
25
|
if (s) {
|
|
27
|
-
const
|
|
26
|
+
const d = (a = (u = Object.keys(s)) == null ? void 0 : u.filter((n) => n.includes("cell-"))) == null ? void 0 : a.map((n) => {
|
|
28
27
|
var t;
|
|
29
28
|
return parseInt((t = n.split("-")) == null ? void 0 : t[1], 10);
|
|
30
29
|
});
|
|
31
|
-
if (c = Math.max(...
|
|
30
|
+
if (c = Math.max(...d), c > 3)
|
|
32
31
|
throw new Error(
|
|
33
32
|
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
34
33
|
);
|
|
35
34
|
}
|
|
36
35
|
return {
|
|
37
|
-
hasSlot:
|
|
36
|
+
hasSlot: k(s),
|
|
38
37
|
numberOfRows: c
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
});
|
|
42
|
-
const
|
|
43
|
-
function
|
|
44
|
-
const n =
|
|
45
|
-
return i(), E("div",
|
|
46
|
-
(i(!0), E(
|
|
47
|
-
var
|
|
48
|
-
return i(),
|
|
41
|
+
const Y = { class: "b-summary-grid" };
|
|
42
|
+
function J(e, s, c, u, a, d) {
|
|
43
|
+
const n = p("grid-layout");
|
|
44
|
+
return i(), E("div", Y, [
|
|
45
|
+
(i(!0), E(N, null, j(e.numberOfRows, (t) => {
|
|
46
|
+
var T;
|
|
47
|
+
return i(), m(n, {
|
|
49
48
|
key: `summary-grid-row-${t}`,
|
|
50
49
|
"data-testid": `summary-grid-row-${t}`,
|
|
51
|
-
"column-width": (
|
|
50
|
+
"column-width": (T = e.columnWidth) == null ? void 0 : T[`row${t}`]
|
|
52
51
|
}, O({ _: 2 }, [
|
|
53
52
|
e.hasSlot(`cell-${t}-1`) ? {
|
|
54
53
|
name: "col-1",
|
|
@@ -96,11 +95,11 @@ function Q(e, s, c, m, a, l) {
|
|
|
96
95
|
}), 128))
|
|
97
96
|
]);
|
|
98
97
|
}
|
|
99
|
-
const
|
|
100
|
-
var
|
|
101
|
-
const
|
|
98
|
+
const $e = /* @__PURE__ */ b(H, [["render", J], ["__scopeId", "data-v-1b4c3b84"]]);
|
|
99
|
+
var l = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(l || {}), o = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(o || {}), g = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(g || {});
|
|
100
|
+
const K = S({
|
|
102
101
|
name: "summary-grid-item",
|
|
103
|
-
components: { BentoInfoIcon:
|
|
102
|
+
components: { BentoInfoIcon: U, BentoTypography: X, BentoTag: W, Copy: F },
|
|
104
103
|
props: {
|
|
105
104
|
/**
|
|
106
105
|
* Text to copy to the clipboard
|
|
@@ -112,8 +111,8 @@ const Z = S({
|
|
|
112
111
|
// TODO add text truncation for SummaryGridItemType.TEXT
|
|
113
112
|
itemType: {
|
|
114
113
|
type: String,
|
|
115
|
-
default:
|
|
116
|
-
validator: (e) => Object.values(
|
|
114
|
+
default: g.CUSTOM,
|
|
115
|
+
validator: (e) => Object.values(g).includes(e)
|
|
117
116
|
},
|
|
118
117
|
/**
|
|
119
118
|
* Text showed in the info-icon tooltip on hover
|
|
@@ -134,8 +133,8 @@ const Z = S({
|
|
|
134
133
|
// TODO implement logic for Large size
|
|
135
134
|
size: {
|
|
136
135
|
type: String,
|
|
137
|
-
default:
|
|
138
|
-
validator: (e) => Object.values(
|
|
136
|
+
default: l.SMALL,
|
|
137
|
+
validator: (e) => Object.values(l).includes(e)
|
|
139
138
|
},
|
|
140
139
|
/**
|
|
141
140
|
* Shows colored trend label next to text content
|
|
@@ -169,99 +168,91 @@ const Z = S({
|
|
|
169
168
|
}
|
|
170
169
|
},
|
|
171
170
|
setup(e, { slots: s }) {
|
|
172
|
-
const { trendDirection: c, secondaryTrendDirection:
|
|
173
|
-
switch (
|
|
171
|
+
const { trendDirection: c, secondaryTrendDirection: u, itemType: a, size: d } = w(e), n = (P) => {
|
|
172
|
+
switch (P) {
|
|
174
173
|
case o.POSITIVE:
|
|
175
|
-
return
|
|
174
|
+
return L.GREEN;
|
|
176
175
|
case o.NEGATIVE:
|
|
177
|
-
return
|
|
176
|
+
return L.RED;
|
|
178
177
|
default:
|
|
179
|
-
return
|
|
178
|
+
return L.BLUE;
|
|
180
179
|
}
|
|
181
|
-
}, t =
|
|
182
|
-
() => a.value ===
|
|
183
|
-
),
|
|
180
|
+
}, t = v(() => n(c.value)), T = v(() => n(u.value)), I = v(
|
|
181
|
+
() => a.value === g.TEXT || a.value === g.PERCENTAGE || a.value === g.AMOUNT || a.value === g.NUMERIC
|
|
182
|
+
), A = v(() => {
|
|
184
183
|
if (I.value) {
|
|
185
|
-
if (
|
|
186
|
-
return
|
|
187
|
-
if (a.value !==
|
|
188
|
-
return
|
|
184
|
+
if (d.value === l.SMALL)
|
|
185
|
+
return V.BODY;
|
|
186
|
+
if (a.value !== g.TEXT)
|
|
187
|
+
return V.TITLE;
|
|
189
188
|
}
|
|
190
189
|
return null;
|
|
191
|
-
}),
|
|
192
|
-
medium:
|
|
193
|
-
strongest:
|
|
194
|
-
wide:
|
|
195
|
-
variant:
|
|
196
|
-
})),
|
|
190
|
+
}), B = v(() => ({
|
|
191
|
+
medium: d.value === l.LARGE,
|
|
192
|
+
strongest: d.value === l.SMALL,
|
|
193
|
+
wide: d.value === l.SMALL,
|
|
194
|
+
variant: A.value
|
|
195
|
+
})), D = v(() => e.fitContent ? { width: "fit-content" } : {}), G = v(() => ({
|
|
197
196
|
[`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
|
|
198
197
|
}));
|
|
199
198
|
return {
|
|
200
199
|
// Values
|
|
201
200
|
trendVariant: t,
|
|
202
|
-
secondaryTrendVariant:
|
|
201
|
+
secondaryTrendVariant: T,
|
|
203
202
|
isContentTypographyApplied: I,
|
|
204
|
-
typographyProps:
|
|
203
|
+
typographyProps: B,
|
|
205
204
|
// Styles
|
|
206
|
-
computedStyles:
|
|
207
|
-
summaryBarItemTrendConditionalClasses:
|
|
208
|
-
// Enums
|
|
209
|
-
BentoTypographyElement: W,
|
|
210
|
-
BentoTypographyVariant: A,
|
|
211
|
-
SummaryGridItemType: u,
|
|
212
|
-
BentoSummaryGridItemSize: d,
|
|
213
|
-
PopperContainerPosition: F,
|
|
205
|
+
computedStyles: D,
|
|
206
|
+
summaryBarItemTrendConditionalClasses: G,
|
|
214
207
|
// Utils
|
|
215
|
-
hasSlot:
|
|
208
|
+
hasSlot: k(s)
|
|
216
209
|
};
|
|
217
210
|
}
|
|
218
211
|
});
|
|
219
|
-
const
|
|
212
|
+
const Q = { class: "b-summary-grid-item__header" }, Z = { class: "b-summary-grid-item__title-icons" }, x = { class: "b-summary-grid-item__content--primary" }, ee = {
|
|
220
213
|
key: 0,
|
|
221
214
|
class: "b-summary-grid-item__content--secondary"
|
|
222
215
|
};
|
|
223
|
-
function
|
|
224
|
-
const n =
|
|
216
|
+
function te(e, s, c, u, a, d) {
|
|
217
|
+
const n = p("bento-typography"), t = p("copy"), T = p("bento-info-icon"), I = p("bento-tag");
|
|
225
218
|
return i(), E("div", {
|
|
226
219
|
class: "b-summary-grid-item",
|
|
227
|
-
style:
|
|
220
|
+
style: R(e.computedStyles)
|
|
228
221
|
}, [
|
|
229
|
-
h("div",
|
|
222
|
+
h("div", Q, [
|
|
230
223
|
M(n, {
|
|
231
224
|
class: "b-summary-grid-item__title",
|
|
232
|
-
el:
|
|
233
|
-
variant:
|
|
225
|
+
el: "span",
|
|
226
|
+
variant: "body"
|
|
234
227
|
}, {
|
|
235
228
|
default: r(() => [
|
|
236
|
-
|
|
229
|
+
_(f(e.title), 1)
|
|
237
230
|
]),
|
|
238
231
|
_: 1
|
|
239
|
-
}
|
|
240
|
-
h("div",
|
|
241
|
-
e.copy ? (i(),
|
|
232
|
+
}),
|
|
233
|
+
h("div", Z, [
|
|
234
|
+
e.copy ? (i(), m(t, {
|
|
242
235
|
key: 0,
|
|
243
236
|
class: "b-structured-list__icon",
|
|
244
237
|
text: e.copy
|
|
245
238
|
}, null, 8, ["text"])) : $("", !0),
|
|
246
|
-
e.infoIconTooltipText ? (i(),
|
|
239
|
+
e.infoIconTooltipText ? (i(), m(T, {
|
|
247
240
|
key: 1,
|
|
248
241
|
"tooltip-text": e.infoIconTooltipText,
|
|
249
|
-
"tooltip-position":
|
|
242
|
+
"tooltip-position": "top",
|
|
250
243
|
class: "b-summary-grid-item__title-tooltip"
|
|
251
|
-
}, null, 8, ["tooltip-text"
|
|
244
|
+
}, null, 8, ["tooltip-text"])) : $("", !0)
|
|
252
245
|
])
|
|
253
246
|
]),
|
|
254
|
-
h("div",
|
|
255
|
-
e.isContentTypographyApplied ? (i(),
|
|
247
|
+
h("div", x, [
|
|
248
|
+
e.isContentTypographyApplied ? (i(), m(n, z({
|
|
256
249
|
key: 0,
|
|
257
250
|
"data-testid": "summary-grid-item-content-typography",
|
|
258
251
|
class: "b-summary-grid-item__title"
|
|
259
|
-
}, e.typographyProps, {
|
|
260
|
-
el: e.BentoTypographyElement.SPAN
|
|
261
|
-
}), {
|
|
252
|
+
}, e.typographyProps, { el: "span" }), {
|
|
262
253
|
default: r(() => [
|
|
263
254
|
y(e.$slots, "default", {}, void 0, !0),
|
|
264
|
-
e.trend && e.itemType !==
|
|
255
|
+
e.trend && e.itemType !== "text" ? (i(), m(I, {
|
|
265
256
|
key: 0,
|
|
266
257
|
variant: e.trendVariant,
|
|
267
258
|
label: e.trend,
|
|
@@ -269,19 +260,19 @@ function oe(e, s, c, m, a, l) {
|
|
|
269
260
|
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
270
261
|
]),
|
|
271
262
|
_: 3
|
|
272
|
-
}, 16
|
|
263
|
+
}, 16)) : y(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
273
264
|
]),
|
|
274
|
-
e.hasSlot("secondary") ? (i(), E("div",
|
|
265
|
+
e.hasSlot("secondary") ? (i(), E("div", ee, [
|
|
275
266
|
M(n, {
|
|
276
267
|
class: "b-summary-grid-item__title",
|
|
277
268
|
"data-testid": "summary-grid-item-secondary-metric-typography",
|
|
278
|
-
el:
|
|
279
|
-
variant:
|
|
269
|
+
el: "span",
|
|
270
|
+
variant: "caption",
|
|
280
271
|
stronger: ""
|
|
281
272
|
}, {
|
|
282
273
|
default: r(() => [
|
|
283
274
|
y(e.$slots, "secondary", {}, void 0, !0),
|
|
284
|
-
e.secondaryTrend ? (i(),
|
|
275
|
+
e.secondaryTrend ? (i(), m(I, {
|
|
285
276
|
key: 0,
|
|
286
277
|
variant: e.secondaryTrendVariant,
|
|
287
278
|
label: e.secondaryTrend,
|
|
@@ -289,11 +280,11 @@ function oe(e, s, c, m, a, l) {
|
|
|
289
280
|
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
290
281
|
]),
|
|
291
282
|
_: 3
|
|
292
|
-
}
|
|
283
|
+
})
|
|
293
284
|
])) : $("", !0)
|
|
294
285
|
], 4);
|
|
295
286
|
}
|
|
296
|
-
const C = /* @__PURE__ */ b(
|
|
287
|
+
const C = /* @__PURE__ */ b(K, [["render", te], ["__scopeId", "data-v-00f7a92b"]]), ne = S({
|
|
297
288
|
name: "bento-summary-grid-item-amount",
|
|
298
289
|
components: { SummaryGridItem: C },
|
|
299
290
|
props: {
|
|
@@ -378,25 +369,19 @@ const C = /* @__PURE__ */ b(Z, [["render", oe], ["__scopeId", "data-v-ed63ec1f"]
|
|
|
378
369
|
*/
|
|
379
370
|
size: {
|
|
380
371
|
type: String,
|
|
381
|
-
default:
|
|
382
|
-
validator: (e) => Object.values(
|
|
372
|
+
default: l.SMALL,
|
|
373
|
+
validator: (e) => Object.values(l).includes(e)
|
|
383
374
|
}
|
|
384
|
-
},
|
|
385
|
-
setup() {
|
|
386
|
-
return {
|
|
387
|
-
// Enums
|
|
388
|
-
SummaryGridItemType: u
|
|
389
|
-
};
|
|
390
375
|
}
|
|
391
376
|
});
|
|
392
|
-
const
|
|
377
|
+
const oe = { class: "b-summary-grid-item-amount__content" }, re = {
|
|
393
378
|
key: 0,
|
|
394
379
|
class: "b-summary-grid-item-amount__secondary-label"
|
|
395
380
|
};
|
|
396
|
-
function
|
|
397
|
-
const n =
|
|
398
|
-
return i(),
|
|
399
|
-
"item-type":
|
|
381
|
+
function ie(e, s, c, u, a, d) {
|
|
382
|
+
const n = p("summary-grid-item");
|
|
383
|
+
return i(), m(n, {
|
|
384
|
+
"item-type": "amount",
|
|
400
385
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
401
386
|
title: e.title,
|
|
402
387
|
copy: e.copy,
|
|
@@ -409,9 +394,9 @@ function se(e, s, c, m, a, l) {
|
|
|
409
394
|
class: "b-summary-grid-item-amount"
|
|
410
395
|
}, O({
|
|
411
396
|
default: r(() => [
|
|
412
|
-
h("div",
|
|
413
|
-
h("div", null,
|
|
414
|
-
e.secondaryLabel ? (i(), E("div",
|
|
397
|
+
h("div", oe, [
|
|
398
|
+
h("div", null, f(e.label), 1),
|
|
399
|
+
e.secondaryLabel ? (i(), E("div", re, f(e.secondaryLabel), 1)) : $("", !0)
|
|
415
400
|
])
|
|
416
401
|
]),
|
|
417
402
|
_: 2
|
|
@@ -419,13 +404,13 @@ function se(e, s, c, m, a, l) {
|
|
|
419
404
|
e.secondaryMetric ? {
|
|
420
405
|
name: "secondary",
|
|
421
406
|
fn: r(() => [
|
|
422
|
-
|
|
407
|
+
_(f(e.secondaryMetric), 1)
|
|
423
408
|
]),
|
|
424
409
|
key: "0"
|
|
425
410
|
} : void 0
|
|
426
|
-
]), 1032, ["
|
|
411
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
427
412
|
}
|
|
428
|
-
const
|
|
413
|
+
const Ie = /* @__PURE__ */ b(ne, [["render", ie], ["__scopeId", "data-v-fd1debe6"]]), ae = S({
|
|
429
414
|
name: "bento-summary-grid-item-numeric",
|
|
430
415
|
components: { SummaryGridItem: C },
|
|
431
416
|
props: {
|
|
@@ -503,21 +488,15 @@ const Ce = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-b7d11d13
|
|
|
503
488
|
*/
|
|
504
489
|
size: {
|
|
505
490
|
type: String,
|
|
506
|
-
default:
|
|
507
|
-
validator: (e) => Object.values(
|
|
491
|
+
default: l.SMALL,
|
|
492
|
+
validator: (e) => Object.values(l).includes(e)
|
|
508
493
|
}
|
|
509
|
-
},
|
|
510
|
-
setup() {
|
|
511
|
-
return {
|
|
512
|
-
// Enums
|
|
513
|
-
SummaryGridItemType: u
|
|
514
|
-
};
|
|
515
494
|
}
|
|
516
495
|
});
|
|
517
|
-
function
|
|
518
|
-
const n =
|
|
519
|
-
return i(),
|
|
520
|
-
"item-type":
|
|
496
|
+
function se(e, s, c, u, a, d) {
|
|
497
|
+
const n = p("summary-grid-item");
|
|
498
|
+
return i(), m(n, {
|
|
499
|
+
"item-type": "numeric",
|
|
521
500
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
522
501
|
title: e.title,
|
|
523
502
|
copy: e.copy,
|
|
@@ -530,20 +509,20 @@ function le(e, s, c, m, a, l) {
|
|
|
530
509
|
class: "b-summary-grid-item-numeric"
|
|
531
510
|
}, O({
|
|
532
511
|
default: r(() => [
|
|
533
|
-
|
|
512
|
+
_(f(e.label) + " ", 1)
|
|
534
513
|
]),
|
|
535
514
|
_: 2
|
|
536
515
|
}, [
|
|
537
516
|
e.secondaryMetric ? {
|
|
538
517
|
name: "secondary",
|
|
539
518
|
fn: r(() => [
|
|
540
|
-
|
|
519
|
+
_(f(e.secondaryMetric), 1)
|
|
541
520
|
]),
|
|
542
521
|
key: "0"
|
|
543
522
|
} : void 0
|
|
544
|
-
]), 1032, ["
|
|
523
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
545
524
|
}
|
|
546
|
-
const
|
|
525
|
+
const he = /* @__PURE__ */ b(ae, [["render", se]]), de = S({
|
|
547
526
|
name: "bento-summary-grid-item-percentage",
|
|
548
527
|
components: { SummaryGridItem: C },
|
|
549
528
|
props: {
|
|
@@ -621,21 +600,15 @@ const Oe = /* @__PURE__ */ b(de, [["render", le]]), ue = S({
|
|
|
621
600
|
*/
|
|
622
601
|
size: {
|
|
623
602
|
type: String,
|
|
624
|
-
default:
|
|
625
|
-
validator: (e) => Object.values(
|
|
603
|
+
default: l.SMALL,
|
|
604
|
+
validator: (e) => Object.values(l).includes(e)
|
|
626
605
|
}
|
|
627
|
-
},
|
|
628
|
-
setup() {
|
|
629
|
-
return {
|
|
630
|
-
// Enums
|
|
631
|
-
SummaryGridItemType: u
|
|
632
|
-
};
|
|
633
606
|
}
|
|
634
607
|
});
|
|
635
|
-
function
|
|
636
|
-
const n =
|
|
637
|
-
return i(),
|
|
638
|
-
"item-type":
|
|
608
|
+
function le(e, s, c, u, a, d) {
|
|
609
|
+
const n = p("summary-grid-item");
|
|
610
|
+
return i(), m(n, {
|
|
611
|
+
"item-type": "percentage",
|
|
639
612
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
640
613
|
title: e.title,
|
|
641
614
|
copy: e.copy,
|
|
@@ -648,20 +621,20 @@ function ce(e, s, c, m, a, l) {
|
|
|
648
621
|
class: "b-summary-grid-item-percentage"
|
|
649
622
|
}, O({
|
|
650
623
|
default: r(() => [
|
|
651
|
-
|
|
624
|
+
_(f(e.label) + "% ", 1)
|
|
652
625
|
]),
|
|
653
626
|
_: 2
|
|
654
627
|
}, [
|
|
655
628
|
e.secondaryMetric ? {
|
|
656
629
|
name: "secondary",
|
|
657
630
|
fn: r(() => [
|
|
658
|
-
|
|
631
|
+
_(f(e.secondaryMetric) + "% ", 1)
|
|
659
632
|
]),
|
|
660
633
|
key: "0"
|
|
661
634
|
} : void 0
|
|
662
|
-
]), 1032, ["
|
|
635
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
663
636
|
}
|
|
664
|
-
const
|
|
637
|
+
const Ee = /* @__PURE__ */ b(de, [["render", le]]), ce = S({
|
|
665
638
|
name: "bento-summary-grid-item-text",
|
|
666
639
|
components: { SummaryGridItem: C },
|
|
667
640
|
props: {
|
|
@@ -697,18 +670,12 @@ const Ae = /* @__PURE__ */ b(ue, [["render", ce]]), me = S({
|
|
|
697
670
|
type: Boolean,
|
|
698
671
|
default: !1
|
|
699
672
|
}
|
|
700
|
-
},
|
|
701
|
-
setup() {
|
|
702
|
-
return {
|
|
703
|
-
// Enums
|
|
704
|
-
SummaryGridItemType: u
|
|
705
|
-
};
|
|
706
673
|
}
|
|
707
674
|
});
|
|
708
|
-
function
|
|
709
|
-
const n =
|
|
710
|
-
return i(),
|
|
711
|
-
"item-type":
|
|
675
|
+
function ue(e, s, c, u, a, d) {
|
|
676
|
+
const n = p("summary-grid-item");
|
|
677
|
+
return i(), m(n, {
|
|
678
|
+
"item-type": "text",
|
|
712
679
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
713
680
|
title: e.title,
|
|
714
681
|
copy: e.copy,
|
|
@@ -716,12 +683,12 @@ function pe(e, s, c, m, a, l) {
|
|
|
716
683
|
class: "b-summary-grid-item-text"
|
|
717
684
|
}, {
|
|
718
685
|
default: r(() => [
|
|
719
|
-
|
|
686
|
+
_(f(e.label), 1)
|
|
720
687
|
]),
|
|
721
688
|
_: 1
|
|
722
|
-
}, 8, ["
|
|
689
|
+
}, 8, ["info-icon-tooltip-text", "title", "copy", "fit-content"]);
|
|
723
690
|
}
|
|
724
|
-
const
|
|
691
|
+
const Ce = /* @__PURE__ */ b(ce, [["render", ue]]), me = S({
|
|
725
692
|
name: "bento-summary-grid-item-custom",
|
|
726
693
|
components: { SummaryGridItem: C },
|
|
727
694
|
props: {
|
|
@@ -744,9 +711,9 @@ const Be = /* @__PURE__ */ b(me, [["render", pe]]), ye = S({
|
|
|
744
711
|
},
|
|
745
712
|
emits: ["copy-to-clipboard"]
|
|
746
713
|
});
|
|
747
|
-
function
|
|
748
|
-
const n =
|
|
749
|
-
return i(),
|
|
714
|
+
function ye(e, s, c, u, a, d) {
|
|
715
|
+
const n = p("summary-grid-item");
|
|
716
|
+
return i(), m(n, {
|
|
750
717
|
title: e.title,
|
|
751
718
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
752
719
|
copy: e.copy,
|
|
@@ -759,15 +726,15 @@ function fe(e, s, c, m, a, l) {
|
|
|
759
726
|
_: 3
|
|
760
727
|
}, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
|
|
761
728
|
}
|
|
762
|
-
const
|
|
729
|
+
const Oe = /* @__PURE__ */ b(me, [["render", ye]]);
|
|
763
730
|
export {
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
731
|
+
$e as BentoSummaryGrid,
|
|
732
|
+
Ie as BentoSummaryGridItemAmount,
|
|
733
|
+
Oe as BentoSummaryGridItemCustom,
|
|
734
|
+
he as BentoSummaryGridItemNumeric,
|
|
735
|
+
Ee as BentoSummaryGridItemPercentage,
|
|
736
|
+
l as BentoSummaryGridItemSize,
|
|
737
|
+
Ce as BentoSummaryGridItemText,
|
|
771
738
|
o as BentoSummaryGridItemTrendDirection
|
|
772
739
|
};
|
|
773
740
|
//# sourceMappingURL=summary-grid.js.map
|