@adyen/bento-vue3 1.1.0 → 1.2.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/packages/vue2/src/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +24 -20
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/badge/badge.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +43 -43
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +36 -32
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +23 -19
- package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryFlag.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +15 -13
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +12 -12
- 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 +11 -11
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useKeyboardNavigator/useKeyboardNavigator.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useResizer.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useSelector.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useSorter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +30 -30
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +100 -98
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +3 -3
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useKeyboardNavigation.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +27 -25
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +41 -41
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +18 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +36 -28
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +4 -4
- 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 +11 -11
- 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 +6 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +24 -22
- package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +11 -11
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +28 -20
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +19 -19
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +97 -85
- package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +47 -39
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +25 -23
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +30 -30
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +16 -16
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +37 -37
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +3 -3
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +2 -2
- package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/install.d.ts +1 -1
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/elements.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/refs.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +2 -2
- package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
- 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/i18n.d.ts +1 -1
- package/dist/alert.js +49 -47
- package/dist/alert.js.map +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dropdown.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/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/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/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.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +77 -68
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +16 -16
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.fe807878.js → base-button.4a56c2fb.js} +2 -2
- package/dist/chunks/{base-button.fe807878.js.map → base-button.4a56c2fb.js.map} +1 -1
- package/dist/chunks/{button-actions.59449cda.js → button-actions.a6e541ad.js} +7 -7
- package/dist/chunks/{button-actions.59449cda.js.map → button-actions.a6e541ad.js.map} +1 -1
- package/dist/chunks/{button.4ccc3a72.js → button.1f630b6e.js} +10 -10
- package/dist/chunks/button.1f630b6e.js.map +1 -0
- package/dist/chunks/{calendar.1fb0d5b2.js → calendar.08885a56.js} +4 -4
- package/dist/chunks/{calendar.1fb0d5b2.js.map → calendar.08885a56.js.map} +1 -1
- package/dist/chunks/{checkbox.39fa87c7.js → checkbox.cfb8b8df.js} +3 -3
- package/dist/chunks/{checkbox.39fa87c7.js.map → checkbox.cfb8b8df.js.map} +1 -1
- package/dist/chunks/{controls-group.0126679a.js → controls-group.806da9bd.js} +2 -2
- package/dist/chunks/{controls-group.0126679a.js.map → controls-group.806da9bd.js.map} +1 -1
- package/dist/chunks/{copy.012e43f2.js → copy.1ce0203e.js} +3 -3
- package/dist/chunks/{copy.012e43f2.js.map → copy.1ce0203e.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js → dropdown-default-textbox.dd77bb42.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js.map → dropdown-default-textbox.dd77bb42.js.map} +1 -1
- package/dist/chunks/{dropdown.374481a8.js → dropdown.f9997464.js} +84 -82
- package/dist/chunks/dropdown.f9997464.js.map +1 -0
- package/dist/chunks/{error-message.a65a9abf.js → error-message.b88bb75a.js} +2 -2
- package/dist/chunks/{error-message.a65a9abf.js.map → error-message.b88bb75a.js.map} +1 -1
- package/dist/chunks/{index.0f958a0c.js → index.361c61d3.js} +2 -2
- package/dist/chunks/{index.0f958a0c.js.map → index.361c61d3.js.map} +1 -1
- package/dist/chunks/{index.05d4c01b.js → index.64b7b3cc.js} +6 -6
- package/dist/chunks/{index.05d4c01b.js.map → index.64b7b3cc.js.map} +1 -1
- package/dist/chunks/{index.c25bbcc8.js → index.7dd953ea.js} +53 -52
- package/dist/chunks/{index.c25bbcc8.js.map → index.7dd953ea.js.map} +1 -1
- package/dist/chunks/{index.1e002876.js → index.96001b1d.js} +3 -3
- package/dist/chunks/{index.1e002876.js.map → index.96001b1d.js.map} +1 -1
- package/dist/chunks/{index.b2d970f6.js → index.b46a5047.js} +20 -20
- package/dist/chunks/{index.b2d970f6.js.map → index.b46a5047.js.map} +1 -1
- package/dist/chunks/index.ebf5f6cf.js +119 -0
- package/dist/chunks/index.ebf5f6cf.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.caa1ceba.js → listbox-option-tag.73661a5d.js} +3 -3
- package/dist/chunks/{listbox-option-tag.caa1ceba.js.map → listbox-option-tag.73661a5d.js.map} +1 -1
- package/dist/chunks/{listbox.ceacb0ca.js → listbox.7b5e0eee.js} +42 -41
- package/dist/chunks/{listbox.ceacb0ca.js.map → listbox.7b5e0eee.js.map} +1 -1
- package/dist/chunks/{loading-button.5b8db3dc.js → loading-button.426d89b9.js} +2 -2
- package/dist/chunks/{loading-button.5b8db3dc.js.map → loading-button.426d89b9.js.map} +1 -1
- package/dist/chunks/{tooltip.ca53a83a.js → tooltip.53290a34.js} +2 -2
- package/dist/chunks/{tooltip.ca53a83a.js.map → tooltip.53290a34.js.map} +1 -1
- package/dist/chunks/useCountryItems.e83ef8f0.js.map +1 -1
- package/dist/code-snippet.js +71 -69
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +25 -24
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +204 -204
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +21 -21
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +13 -13
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header.js +61 -61
- package/dist/header.js.map +1 -1
- package/dist/index.js +65 -65
- package/dist/info-icon.js +20 -19
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +81 -77
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +15 -15
- package/dist/link.js.map +1 -1
- package/dist/menu.js +5 -5
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +113 -109
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +15 -14
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +21 -21
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +17 -17
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +5 -5
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/status.js +6 -6
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +155 -142
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +2 -2
- package/dist/tag.js +8 -8
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +25 -21
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +31 -31
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +157 -3
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -4
- package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
- package/dist/chunks/button.4ccc3a72.js.map +0 -1
- package/dist/chunks/dropdown.374481a8.js.map +0 -1
- package/dist/chunks/index.0b6c7187.js +0 -160
- package/dist/chunks/index.0b6c7187.js.map +0 -1
- package/dist/chunks/index.92f7d550.js +0 -119
- package/dist/chunks/index.92f7d550.js.map +0 -1
package/dist/summary-grid.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import { G as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { BentoInfoIcon as
|
|
6
|
-
import { B as
|
|
7
|
-
import { BentoTag as Y, BentoTagVariant as
|
|
1
|
+
import { defineComponent as S, resolveComponent as f, openBlock as i, createElementBlock as E, Fragment as D, renderList as R, createBlock as p, createSlots as O, withCtx as r, renderSlot as y, toRefs as j, computed as T, normalizeStyle as w, createElementVNode as h, createVNode as M, createTextVNode as v, toDisplayString as g, createCommentVNode as $, mergeProps as z } from "vue";
|
|
2
|
+
import { u as P } from "./chunks/use-has-slot.068222e6.js";
|
|
3
|
+
import { G as U } from "./chunks/grid-layout.a30855ff.js";
|
|
4
|
+
import { _ as b } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
5
|
+
import { BentoInfoIcon as q } from "./info-icon.js";
|
|
6
|
+
import { B as X, b as A, a as W } from "./chunks/index.ebf5f6cf.js";
|
|
7
|
+
import { BentoTag as Y, BentoTagVariant as B } from "./tag.js";
|
|
8
8
|
import { PopperContainerPosition as F } from "./popper-container.js";
|
|
9
|
-
import { C as H } from "./chunks/copy.
|
|
9
|
+
import { C as H } from "./chunks/copy.1ce0203e.js";
|
|
10
10
|
import "./assets/index26.css";
|
|
11
|
-
const J =
|
|
11
|
+
const J = S({
|
|
12
12
|
name: "bento-summary-grid",
|
|
13
|
-
components: { GridLayout:
|
|
13
|
+
components: { GridLayout: U },
|
|
14
14
|
props: {
|
|
15
15
|
/**
|
|
16
16
|
* Sets the responsive columns widths values for 1 of the 3 rows.
|
|
@@ -20,74 +20,74 @@ const J = _({
|
|
|
20
20
|
default: null
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
setup(e, { slots:
|
|
24
|
-
var m,
|
|
25
|
-
let
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
23
|
+
setup(e, { slots: s }) {
|
|
24
|
+
var m, a;
|
|
25
|
+
let c = 1;
|
|
26
|
+
if (s) {
|
|
27
|
+
const l = (a = (m = Object.keys(s)) == null ? void 0 : m.filter((n) => n.includes("cell-"))) == null ? void 0 : a.map((n) => {
|
|
28
28
|
var t;
|
|
29
29
|
return parseInt((t = n.split("-")) == null ? void 0 : t[1], 10);
|
|
30
30
|
});
|
|
31
|
-
if (
|
|
31
|
+
if (c = Math.max(...l), c > 3)
|
|
32
32
|
throw new Error(
|
|
33
33
|
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
34
34
|
);
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
hasSlot:
|
|
38
|
-
numberOfRows:
|
|
37
|
+
hasSlot: P(s),
|
|
38
|
+
numberOfRows: c
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
const K = { class: "b-summary-grid" };
|
|
43
|
-
function Q(e,
|
|
43
|
+
function Q(e, s, c, m, a, l) {
|
|
44
44
|
const n = f("grid-layout");
|
|
45
|
-
return
|
|
46
|
-
(
|
|
47
|
-
var
|
|
48
|
-
return
|
|
45
|
+
return i(), E("div", K, [
|
|
46
|
+
(i(!0), E(D, null, R(e.numberOfRows, (t) => {
|
|
47
|
+
var _;
|
|
48
|
+
return i(), p(n, {
|
|
49
49
|
key: `summary-grid-row-${t}`,
|
|
50
50
|
"data-testid": `summary-grid-row-${t}`,
|
|
51
|
-
"column-width": (
|
|
52
|
-
},
|
|
51
|
+
"column-width": (_ = e.columnWidth) == null ? void 0 : _[`row${t}`]
|
|
52
|
+
}, O({ _: 2 }, [
|
|
53
53
|
e.hasSlot(`cell-${t}-1`) ? {
|
|
54
54
|
name: "col-1",
|
|
55
|
-
fn:
|
|
55
|
+
fn: r(() => [
|
|
56
56
|
y(e.$slots, `cell-${t}-1`, {}, void 0, !0)
|
|
57
57
|
]),
|
|
58
58
|
key: "0"
|
|
59
59
|
} : void 0,
|
|
60
60
|
e.hasSlot(`cell-${t}-2`) ? {
|
|
61
61
|
name: "col-2",
|
|
62
|
-
fn:
|
|
62
|
+
fn: r(() => [
|
|
63
63
|
y(e.$slots, `cell-${t}-2`, {}, void 0, !0)
|
|
64
64
|
]),
|
|
65
65
|
key: "1"
|
|
66
66
|
} : void 0,
|
|
67
67
|
e.hasSlot(`cell-${t}-3`) ? {
|
|
68
68
|
name: "col-3",
|
|
69
|
-
fn:
|
|
69
|
+
fn: r(() => [
|
|
70
70
|
y(e.$slots, `cell-${t}-3`, {}, void 0, !0)
|
|
71
71
|
]),
|
|
72
72
|
key: "2"
|
|
73
73
|
} : void 0,
|
|
74
74
|
e.hasSlot(`cell-${t}-4`) ? {
|
|
75
75
|
name: "col-4",
|
|
76
|
-
fn:
|
|
76
|
+
fn: r(() => [
|
|
77
77
|
y(e.$slots, `cell-${t}-4`, {}, void 0, !0)
|
|
78
78
|
]),
|
|
79
79
|
key: "3"
|
|
80
80
|
} : void 0,
|
|
81
81
|
e.hasSlot(`cell-${t}-5`) ? {
|
|
82
82
|
name: "col-5",
|
|
83
|
-
fn:
|
|
83
|
+
fn: r(() => [
|
|
84
84
|
y(e.$slots, `cell-${t}-5`, {}, void 0, !0)
|
|
85
85
|
]),
|
|
86
86
|
key: "4"
|
|
87
87
|
} : void 0,
|
|
88
88
|
e.hasSlot(`cell-${t}-6`) ? {
|
|
89
89
|
name: "col-6",
|
|
90
|
-
fn:
|
|
90
|
+
fn: r(() => [
|
|
91
91
|
y(e.$slots, `cell-${t}-6`, {}, void 0, !0)
|
|
92
92
|
]),
|
|
93
93
|
key: "5"
|
|
@@ -96,11 +96,11 @@ function Q(e, a, d, m, i, s) {
|
|
|
96
96
|
}), 128))
|
|
97
97
|
]);
|
|
98
98
|
}
|
|
99
|
-
const Ee = /* @__PURE__ */
|
|
100
|
-
var
|
|
101
|
-
const Z =
|
|
99
|
+
const Ee = /* @__PURE__ */ b(J, [["render", Q], ["__scopeId", "data-v-1b4c3b84"]]);
|
|
100
|
+
var d = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(d || {}), o = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(o || {}), u = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(u || {});
|
|
101
|
+
const Z = S({
|
|
102
102
|
name: "summary-grid-item",
|
|
103
|
-
components: { BentoInfoIcon:
|
|
103
|
+
components: { BentoInfoIcon: q, BentoTypography: X, BentoTag: Y, Copy: H },
|
|
104
104
|
props: {
|
|
105
105
|
/**
|
|
106
106
|
* Text to copy to the clipboard
|
|
@@ -112,7 +112,8 @@ const Z = _({
|
|
|
112
112
|
// TODO add text truncation for SummaryGridItemType.TEXT
|
|
113
113
|
itemType: {
|
|
114
114
|
type: String,
|
|
115
|
-
default:
|
|
115
|
+
default: u.CUSTOM,
|
|
116
|
+
validator: (e) => Object.values(u).includes(e)
|
|
116
117
|
},
|
|
117
118
|
/**
|
|
118
119
|
* Text showed in the info-icon tooltip on hover
|
|
@@ -133,7 +134,8 @@ const Z = _({
|
|
|
133
134
|
// TODO implement logic for Large size
|
|
134
135
|
size: {
|
|
135
136
|
type: String,
|
|
136
|
-
default:
|
|
137
|
+
default: d.SMALL,
|
|
138
|
+
validator: (e) => Object.values(d).includes(e)
|
|
137
139
|
},
|
|
138
140
|
/**
|
|
139
141
|
* Shows colored trend label next to text content
|
|
@@ -147,7 +149,8 @@ const Z = _({
|
|
|
147
149
|
*/
|
|
148
150
|
trendDirection: {
|
|
149
151
|
type: String,
|
|
150
|
-
default:
|
|
152
|
+
default: o.POSITIVE,
|
|
153
|
+
validator: (e) => Object.values(o).includes(e)
|
|
151
154
|
},
|
|
152
155
|
/**
|
|
153
156
|
* Shows colored trend tag next to secondary metric value
|
|
@@ -161,54 +164,55 @@ const Z = _({
|
|
|
161
164
|
*/
|
|
162
165
|
secondaryTrendDirection: {
|
|
163
166
|
type: String,
|
|
164
|
-
default:
|
|
167
|
+
default: o.POSITIVE,
|
|
168
|
+
validator: (e) => Object.values(o).includes(e)
|
|
165
169
|
}
|
|
166
170
|
},
|
|
167
|
-
setup(e, { slots:
|
|
168
|
-
const { trendDirection:
|
|
171
|
+
setup(e, { slots: s }) {
|
|
172
|
+
const { trendDirection: c, secondaryTrendDirection: m, itemType: a, size: l } = j(e), n = (k) => {
|
|
169
173
|
switch (k) {
|
|
170
|
-
case
|
|
171
|
-
return
|
|
172
|
-
case
|
|
173
|
-
return
|
|
174
|
+
case o.POSITIVE:
|
|
175
|
+
return B.GREEN;
|
|
176
|
+
case o.NEGATIVE:
|
|
177
|
+
return B.RED;
|
|
174
178
|
default:
|
|
175
|
-
return
|
|
179
|
+
return B.BLUE;
|
|
176
180
|
}
|
|
177
|
-
}, t = T(() => n(
|
|
178
|
-
() =>
|
|
179
|
-
),
|
|
181
|
+
}, t = T(() => n(c.value)), _ = T(() => n(m.value)), I = T(
|
|
182
|
+
() => a.value === u.TEXT || a.value === u.PERCENTAGE || a.value === u.AMOUNT || a.value === u.NUMERIC
|
|
183
|
+
), L = T(() => {
|
|
180
184
|
if (I.value) {
|
|
181
|
-
if (
|
|
182
|
-
return
|
|
183
|
-
if (
|
|
184
|
-
return
|
|
185
|
+
if (l.value === d.SMALL)
|
|
186
|
+
return A.BODY;
|
|
187
|
+
if (a.value !== u.TEXT)
|
|
188
|
+
return A.TITLE;
|
|
185
189
|
}
|
|
186
190
|
return null;
|
|
187
|
-
}),
|
|
188
|
-
medium:
|
|
189
|
-
strongest:
|
|
190
|
-
wide:
|
|
191
|
-
variant:
|
|
192
|
-
})),
|
|
191
|
+
}), V = T(() => ({
|
|
192
|
+
medium: l.value === d.LARGE,
|
|
193
|
+
strongest: l.value === d.SMALL,
|
|
194
|
+
wide: l.value === d.SMALL,
|
|
195
|
+
variant: L.value
|
|
196
|
+
})), G = T(() => e.fitContent ? { width: "fit-content" } : {}), N = T(() => ({
|
|
193
197
|
[`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
|
|
194
198
|
}));
|
|
195
199
|
return {
|
|
196
200
|
// Values
|
|
197
201
|
trendVariant: t,
|
|
198
|
-
secondaryTrendVariant:
|
|
202
|
+
secondaryTrendVariant: _,
|
|
199
203
|
isContentTypographyApplied: I,
|
|
200
|
-
typographyProps:
|
|
204
|
+
typographyProps: V,
|
|
201
205
|
// Styles
|
|
202
|
-
computedStyles:
|
|
203
|
-
summaryBarItemTrendConditionalClasses:
|
|
206
|
+
computedStyles: G,
|
|
207
|
+
summaryBarItemTrendConditionalClasses: N,
|
|
204
208
|
// Enums
|
|
205
209
|
BentoTypographyElement: W,
|
|
206
|
-
BentoTypographyVariant:
|
|
207
|
-
SummaryGridItemType:
|
|
208
|
-
BentoSummaryGridItemSize:
|
|
210
|
+
BentoTypographyVariant: A,
|
|
211
|
+
SummaryGridItemType: u,
|
|
212
|
+
BentoSummaryGridItemSize: d,
|
|
209
213
|
PopperContainerPosition: F,
|
|
210
214
|
// Utils
|
|
211
|
-
hasSlot:
|
|
215
|
+
hasSlot: P(s)
|
|
212
216
|
};
|
|
213
217
|
}
|
|
214
218
|
});
|
|
@@ -216,80 +220,80 @@ const x = { class: "b-summary-grid-item__header" }, ee = { class: "b-summary-gri
|
|
|
216
220
|
key: 0,
|
|
217
221
|
class: "b-summary-grid-item__content--secondary"
|
|
218
222
|
};
|
|
219
|
-
function oe(e,
|
|
220
|
-
const n = f("bento-typography"), t = f("copy"),
|
|
221
|
-
return
|
|
223
|
+
function oe(e, s, c, m, a, l) {
|
|
224
|
+
const n = f("bento-typography"), t = f("copy"), _ = f("bento-info-icon"), I = f("bento-tag");
|
|
225
|
+
return i(), E("div", {
|
|
222
226
|
class: "b-summary-grid-item",
|
|
223
|
-
style:
|
|
227
|
+
style: w(e.computedStyles)
|
|
224
228
|
}, [
|
|
225
229
|
h("div", x, [
|
|
226
|
-
|
|
230
|
+
M(n, {
|
|
227
231
|
class: "b-summary-grid-item__title",
|
|
228
232
|
el: e.BentoTypographyElement.SPAN,
|
|
229
233
|
variant: e.BentoTypographyVariant.BODY
|
|
230
234
|
}, {
|
|
231
|
-
default:
|
|
232
|
-
|
|
235
|
+
default: r(() => [
|
|
236
|
+
v(g(e.title), 1)
|
|
233
237
|
]),
|
|
234
238
|
_: 1
|
|
235
239
|
}, 8, ["el", "variant"]),
|
|
236
240
|
h("div", ee, [
|
|
237
|
-
e.copy ? (
|
|
241
|
+
e.copy ? (i(), p(t, {
|
|
238
242
|
key: 0,
|
|
239
243
|
class: "b-structured-list__icon",
|
|
240
244
|
text: e.copy
|
|
241
|
-
}, null, 8, ["text"])) :
|
|
242
|
-
e.infoIconTooltipText ? (
|
|
245
|
+
}, null, 8, ["text"])) : $("", !0),
|
|
246
|
+
e.infoIconTooltipText ? (i(), p(_, {
|
|
243
247
|
key: 1,
|
|
244
248
|
"tooltip-text": e.infoIconTooltipText,
|
|
245
249
|
"tooltip-position": e.PopperContainerPosition.TOP,
|
|
246
250
|
class: "b-summary-grid-item__title-tooltip"
|
|
247
|
-
}, null, 8, ["tooltip-text", "tooltip-position"])) :
|
|
251
|
+
}, null, 8, ["tooltip-text", "tooltip-position"])) : $("", !0)
|
|
248
252
|
])
|
|
249
253
|
]),
|
|
250
254
|
h("div", te, [
|
|
251
|
-
e.isContentTypographyApplied ? (
|
|
255
|
+
e.isContentTypographyApplied ? (i(), p(n, z({
|
|
252
256
|
key: 0,
|
|
253
257
|
"data-testid": "summary-grid-item-content-typography",
|
|
254
258
|
class: "b-summary-grid-item__title"
|
|
255
259
|
}, e.typographyProps, {
|
|
256
260
|
el: e.BentoTypographyElement.SPAN
|
|
257
261
|
}), {
|
|
258
|
-
default:
|
|
262
|
+
default: r(() => [
|
|
259
263
|
y(e.$slots, "default", {}, void 0, !0),
|
|
260
|
-
e.trend && e.itemType !== e.SummaryGridItemType.TEXT ? (
|
|
264
|
+
e.trend && e.itemType !== e.SummaryGridItemType.TEXT ? (i(), p(I, {
|
|
261
265
|
key: 0,
|
|
262
266
|
variant: e.trendVariant,
|
|
263
267
|
label: e.trend,
|
|
264
268
|
class: "b-summary-grid-item__content-trend"
|
|
265
|
-
}, null, 8, ["variant", "label"])) :
|
|
269
|
+
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
266
270
|
]),
|
|
267
271
|
_: 3
|
|
268
272
|
}, 16, ["el"])) : y(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
269
273
|
]),
|
|
270
|
-
e.hasSlot("secondary") ? (
|
|
271
|
-
|
|
274
|
+
e.hasSlot("secondary") ? (i(), E("div", ne, [
|
|
275
|
+
M(n, {
|
|
272
276
|
class: "b-summary-grid-item__title",
|
|
273
277
|
"data-testid": "summary-grid-item-secondary-metric-typography",
|
|
274
278
|
el: e.BentoTypographyElement.SPAN,
|
|
275
279
|
variant: e.BentoTypographyVariant.CAPTION,
|
|
276
280
|
stronger: ""
|
|
277
281
|
}, {
|
|
278
|
-
default:
|
|
282
|
+
default: r(() => [
|
|
279
283
|
y(e.$slots, "secondary", {}, void 0, !0),
|
|
280
|
-
e.secondaryTrend ? (
|
|
284
|
+
e.secondaryTrend ? (i(), p(I, {
|
|
281
285
|
key: 0,
|
|
282
286
|
variant: e.secondaryTrendVariant,
|
|
283
287
|
label: e.secondaryTrend,
|
|
284
288
|
class: "b-summary-grid-item__content-trend"
|
|
285
|
-
}, null, 8, ["variant", "label"])) :
|
|
289
|
+
}, null, 8, ["variant", "label"])) : $("", !0)
|
|
286
290
|
]),
|
|
287
291
|
_: 3
|
|
288
292
|
}, 8, ["el", "variant"])
|
|
289
|
-
])) :
|
|
293
|
+
])) : $("", !0)
|
|
290
294
|
], 4);
|
|
291
295
|
}
|
|
292
|
-
const C = /* @__PURE__ */
|
|
296
|
+
const C = /* @__PURE__ */ b(Z, [["render", oe], ["__scopeId", "data-v-ed63ec1f"]]), re = S({
|
|
293
297
|
name: "bento-summary-grid-item-amount",
|
|
294
298
|
components: { SummaryGridItem: C },
|
|
295
299
|
props: {
|
|
@@ -351,7 +355,8 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]
|
|
|
351
355
|
*/
|
|
352
356
|
trendDirection: {
|
|
353
357
|
type: String,
|
|
354
|
-
default:
|
|
358
|
+
default: o.POSITIVE,
|
|
359
|
+
validator: (e) => Object.values(o).includes(e)
|
|
355
360
|
},
|
|
356
361
|
/**
|
|
357
362
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -365,20 +370,22 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]
|
|
|
365
370
|
*/
|
|
366
371
|
secondaryTrendDirection: {
|
|
367
372
|
type: String,
|
|
368
|
-
default:
|
|
373
|
+
default: o.POSITIVE,
|
|
374
|
+
validator: (e) => Object.values(o).includes(e)
|
|
369
375
|
},
|
|
370
376
|
/**
|
|
371
377
|
* Defines the size of the `summary-grid-item` text content
|
|
372
378
|
*/
|
|
373
379
|
size: {
|
|
374
380
|
type: String,
|
|
375
|
-
default:
|
|
381
|
+
default: d.SMALL,
|
|
382
|
+
validator: (e) => Object.values(d).includes(e)
|
|
376
383
|
}
|
|
377
384
|
},
|
|
378
385
|
setup() {
|
|
379
386
|
return {
|
|
380
387
|
// Enums
|
|
381
|
-
SummaryGridItemType:
|
|
388
|
+
SummaryGridItemType: u
|
|
382
389
|
};
|
|
383
390
|
}
|
|
384
391
|
});
|
|
@@ -386,9 +393,9 @@ const ie = { class: "b-summary-grid-item-amount__content" }, ae = {
|
|
|
386
393
|
key: 0,
|
|
387
394
|
class: "b-summary-grid-item-amount__secondary-label"
|
|
388
395
|
};
|
|
389
|
-
function se(e,
|
|
396
|
+
function se(e, s, c, m, a, l) {
|
|
390
397
|
const n = f("summary-grid-item");
|
|
391
|
-
return
|
|
398
|
+
return i(), p(n, {
|
|
392
399
|
"item-type": e.SummaryGridItemType.AMOUNT,
|
|
393
400
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
394
401
|
title: e.title,
|
|
@@ -400,25 +407,25 @@ function se(e, a, d, m, i, s) {
|
|
|
400
407
|
"secondary-trend": e.secondaryTrend,
|
|
401
408
|
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
402
409
|
class: "b-summary-grid-item-amount"
|
|
403
|
-
},
|
|
404
|
-
default:
|
|
410
|
+
}, O({
|
|
411
|
+
default: r(() => [
|
|
405
412
|
h("div", ie, [
|
|
406
413
|
h("div", null, g(e.label), 1),
|
|
407
|
-
e.secondaryLabel ? (
|
|
414
|
+
e.secondaryLabel ? (i(), E("div", ae, g(e.secondaryLabel), 1)) : $("", !0)
|
|
408
415
|
])
|
|
409
416
|
]),
|
|
410
417
|
_: 2
|
|
411
418
|
}, [
|
|
412
419
|
e.secondaryMetric ? {
|
|
413
420
|
name: "secondary",
|
|
414
|
-
fn:
|
|
415
|
-
|
|
421
|
+
fn: r(() => [
|
|
422
|
+
v(g(e.secondaryMetric), 1)
|
|
416
423
|
]),
|
|
417
424
|
key: "0"
|
|
418
425
|
} : void 0
|
|
419
426
|
]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
420
427
|
}
|
|
421
|
-
const Ce = /* @__PURE__ */
|
|
428
|
+
const Ce = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-b7d11d13"]]), de = S({
|
|
422
429
|
name: "bento-summary-grid-item-numeric",
|
|
423
430
|
components: { SummaryGridItem: C },
|
|
424
431
|
props: {
|
|
@@ -473,7 +480,8 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8
|
|
|
473
480
|
*/
|
|
474
481
|
trendDirection: {
|
|
475
482
|
type: String,
|
|
476
|
-
default:
|
|
483
|
+
default: o.POSITIVE,
|
|
484
|
+
validator: (e) => Object.values(o).includes(e)
|
|
477
485
|
},
|
|
478
486
|
/**
|
|
479
487
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -487,26 +495,28 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8
|
|
|
487
495
|
*/
|
|
488
496
|
secondaryTrendDirection: {
|
|
489
497
|
type: String,
|
|
490
|
-
default:
|
|
498
|
+
default: o.POSITIVE,
|
|
499
|
+
validator: (e) => Object.values(o).includes(e)
|
|
491
500
|
},
|
|
492
501
|
/**
|
|
493
502
|
* Defines the size of the `summary-grid-item` text content
|
|
494
503
|
*/
|
|
495
504
|
size: {
|
|
496
505
|
type: String,
|
|
497
|
-
default:
|
|
506
|
+
default: d.SMALL,
|
|
507
|
+
validator: (e) => Object.values(d).includes(e)
|
|
498
508
|
}
|
|
499
509
|
},
|
|
500
510
|
setup() {
|
|
501
511
|
return {
|
|
502
512
|
// Enums
|
|
503
|
-
SummaryGridItemType:
|
|
513
|
+
SummaryGridItemType: u
|
|
504
514
|
};
|
|
505
515
|
}
|
|
506
516
|
});
|
|
507
|
-
function le(e,
|
|
517
|
+
function le(e, s, c, m, a, l) {
|
|
508
518
|
const n = f("summary-grid-item");
|
|
509
|
-
return
|
|
519
|
+
return i(), p(n, {
|
|
510
520
|
"item-type": e.SummaryGridItemType.NUMERIC,
|
|
511
521
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
512
522
|
title: e.title,
|
|
@@ -518,22 +528,22 @@ function le(e, a, d, m, i, s) {
|
|
|
518
528
|
"secondary-trend": e.secondaryTrend,
|
|
519
529
|
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
520
530
|
class: "b-summary-grid-item-numeric"
|
|
521
|
-
},
|
|
522
|
-
default:
|
|
523
|
-
|
|
531
|
+
}, O({
|
|
532
|
+
default: r(() => [
|
|
533
|
+
v(g(e.label) + " ", 1)
|
|
524
534
|
]),
|
|
525
535
|
_: 2
|
|
526
536
|
}, [
|
|
527
537
|
e.secondaryMetric ? {
|
|
528
538
|
name: "secondary",
|
|
529
|
-
fn:
|
|
530
|
-
|
|
539
|
+
fn: r(() => [
|
|
540
|
+
v(g(e.secondaryMetric), 1)
|
|
531
541
|
]),
|
|
532
542
|
key: "0"
|
|
533
543
|
} : void 0
|
|
534
544
|
]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
535
545
|
}
|
|
536
|
-
const
|
|
546
|
+
const Oe = /* @__PURE__ */ b(de, [["render", le]]), ue = S({
|
|
537
547
|
name: "bento-summary-grid-item-percentage",
|
|
538
548
|
components: { SummaryGridItem: C },
|
|
539
549
|
props: {
|
|
@@ -588,7 +598,8 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
|
|
|
588
598
|
*/
|
|
589
599
|
trendDirection: {
|
|
590
600
|
type: String,
|
|
591
|
-
default:
|
|
601
|
+
default: o.POSITIVE,
|
|
602
|
+
validator: (e) => Object.values(o).includes(e)
|
|
592
603
|
},
|
|
593
604
|
/**
|
|
594
605
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -602,26 +613,28 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
|
|
|
602
613
|
*/
|
|
603
614
|
secondaryTrendDirection: {
|
|
604
615
|
type: String,
|
|
605
|
-
default:
|
|
616
|
+
default: o.POSITIVE,
|
|
617
|
+
validator: (e) => Object.values(o).includes(e)
|
|
606
618
|
},
|
|
607
619
|
/**
|
|
608
620
|
* Defines the size of the `summary-grid-item` text content
|
|
609
621
|
*/
|
|
610
622
|
size: {
|
|
611
623
|
type: String,
|
|
612
|
-
default:
|
|
624
|
+
default: d.SMALL,
|
|
625
|
+
validator: (e) => Object.values(d).includes(e)
|
|
613
626
|
}
|
|
614
627
|
},
|
|
615
628
|
setup() {
|
|
616
629
|
return {
|
|
617
630
|
// Enums
|
|
618
|
-
SummaryGridItemType:
|
|
631
|
+
SummaryGridItemType: u
|
|
619
632
|
};
|
|
620
633
|
}
|
|
621
634
|
});
|
|
622
|
-
function
|
|
635
|
+
function ce(e, s, c, m, a, l) {
|
|
623
636
|
const n = f("summary-grid-item");
|
|
624
|
-
return
|
|
637
|
+
return i(), p(n, {
|
|
625
638
|
"item-type": e.SummaryGridItemType.PERCENTAGE,
|
|
626
639
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
627
640
|
title: e.title,
|
|
@@ -633,22 +646,22 @@ function pe(e, a, d, m, i, s) {
|
|
|
633
646
|
"secondary-trend": e.secondaryTrend,
|
|
634
647
|
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
635
648
|
class: "b-summary-grid-item-percentage"
|
|
636
|
-
},
|
|
637
|
-
default:
|
|
638
|
-
|
|
649
|
+
}, O({
|
|
650
|
+
default: r(() => [
|
|
651
|
+
v(g(e.label) + "% ", 1)
|
|
639
652
|
]),
|
|
640
653
|
_: 2
|
|
641
654
|
}, [
|
|
642
655
|
e.secondaryMetric ? {
|
|
643
656
|
name: "secondary",
|
|
644
|
-
fn:
|
|
645
|
-
|
|
657
|
+
fn: r(() => [
|
|
658
|
+
v(g(e.secondaryMetric) + "% ", 1)
|
|
646
659
|
]),
|
|
647
660
|
key: "0"
|
|
648
661
|
} : void 0
|
|
649
662
|
]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
650
663
|
}
|
|
651
|
-
const
|
|
664
|
+
const Ae = /* @__PURE__ */ b(ue, [["render", ce]]), me = S({
|
|
652
665
|
name: "bento-summary-grid-item-text",
|
|
653
666
|
components: { SummaryGridItem: C },
|
|
654
667
|
props: {
|
|
@@ -688,13 +701,13 @@ const Be = /* @__PURE__ */ v(me, [["render", pe]]), ue = _({
|
|
|
688
701
|
setup() {
|
|
689
702
|
return {
|
|
690
703
|
// Enums
|
|
691
|
-
SummaryGridItemType:
|
|
704
|
+
SummaryGridItemType: u
|
|
692
705
|
};
|
|
693
706
|
}
|
|
694
707
|
});
|
|
695
|
-
function
|
|
708
|
+
function pe(e, s, c, m, a, l) {
|
|
696
709
|
const n = f("summary-grid-item");
|
|
697
|
-
return
|
|
710
|
+
return i(), p(n, {
|
|
698
711
|
"item-type": e.SummaryGridItemType.TEXT,
|
|
699
712
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
700
713
|
title: e.title,
|
|
@@ -702,13 +715,13 @@ function ye(e, a, d, m, i, s) {
|
|
|
702
715
|
"fit-content": e.fitContent,
|
|
703
716
|
class: "b-summary-grid-item-text"
|
|
704
717
|
}, {
|
|
705
|
-
default:
|
|
706
|
-
|
|
718
|
+
default: r(() => [
|
|
719
|
+
v(g(e.label), 1)
|
|
707
720
|
]),
|
|
708
721
|
_: 1
|
|
709
722
|
}, 8, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content"]);
|
|
710
723
|
}
|
|
711
|
-
const
|
|
724
|
+
const Be = /* @__PURE__ */ b(me, [["render", pe]]), ye = S({
|
|
712
725
|
name: "bento-summary-grid-item-custom",
|
|
713
726
|
components: { SummaryGridItem: C },
|
|
714
727
|
props: {
|
|
@@ -731,30 +744,30 @@ const Me = /* @__PURE__ */ v(ue, [["render", ye]]), ce = _({
|
|
|
731
744
|
},
|
|
732
745
|
emits: ["copy-to-clipboard"]
|
|
733
746
|
});
|
|
734
|
-
function fe(e,
|
|
747
|
+
function fe(e, s, c, m, a, l) {
|
|
735
748
|
const n = f("summary-grid-item");
|
|
736
|
-
return
|
|
749
|
+
return i(), p(n, {
|
|
737
750
|
title: e.title,
|
|
738
751
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
739
752
|
copy: e.copy,
|
|
740
753
|
"fit-content": e.fitContent,
|
|
741
|
-
onCopyToClipoard:
|
|
754
|
+
onCopyToClipoard: s[0] || (s[0] = (t) => e.$emit("copy-to-clipboard"))
|
|
742
755
|
}, {
|
|
743
|
-
default:
|
|
756
|
+
default: r(() => [
|
|
744
757
|
y(e.$slots, "default")
|
|
745
758
|
]),
|
|
746
759
|
_: 3
|
|
747
760
|
}, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
|
|
748
761
|
}
|
|
749
|
-
const
|
|
762
|
+
const Me = /* @__PURE__ */ b(ye, [["render", fe]]);
|
|
750
763
|
export {
|
|
751
764
|
Ee as BentoSummaryGrid,
|
|
752
765
|
Ce as BentoSummaryGridItemAmount,
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
766
|
+
Me as BentoSummaryGridItemCustom,
|
|
767
|
+
Oe as BentoSummaryGridItemNumeric,
|
|
768
|
+
Ae as BentoSummaryGridItemPercentage,
|
|
769
|
+
d as BentoSummaryGridItemSize,
|
|
770
|
+
Be as BentoSummaryGridItemText,
|
|
771
|
+
o as BentoSummaryGridItemTrendDirection
|
|
759
772
|
};
|
|
760
773
|
//# sourceMappingURL=summary-grid.js.map
|