@adyen/bento-vue3 1.6.1 → 1.7.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 +2 -0
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +45 -0
- package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +229 -220
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +44 -46
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +46 -28
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +802 -52
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
- 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.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +64 -7
- package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +10 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +7 -4
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +173 -0
- package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
- package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
- package/dist/accordion.js +52 -43
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +210 -0
- package/dist/action-bar.js.map +1 -0
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.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/checkmark.css +1 -0
- package/dist/assets/chevron-left.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.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.css +1 -1
- package/dist/assets/refresh.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +30 -22
- package/dist/button.js.map +1 -1
- package/dist/card.js +84 -84
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.4b5ab17e.js → base-button.7897a95e.js} +2 -2
- package/dist/chunks/{base-button.4b5ab17e.js.map → base-button.7897a95e.js.map} +1 -1
- package/dist/chunks/{base-modal.53a229ac.js → base-modal.0c85e7cb.js} +4 -4
- package/dist/chunks/{base-modal.53a229ac.js.map → base-modal.0c85e7cb.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.fa35390c.js +107 -0
- package/dist/chunks/button-actions-with-menu.fa35390c.js.map +1 -0
- package/dist/chunks/{button.975d0bb8.js → button.e5177388.js} +44 -36
- package/dist/chunks/button.e5177388.js.map +1 -0
- package/dist/chunks/{calendar.cc37ac1f.js → calendar.c83d4e99.js} +274 -250
- package/dist/chunks/calendar.c83d4e99.js.map +1 -0
- package/dist/chunks/{checkbox.67ceb148.js → checkbox.3cdbdd52.js} +7 -7
- package/dist/chunks/{checkbox.67ceb148.js.map → checkbox.3cdbdd52.js.map} +1 -1
- package/dist/chunks/checkmark.83e4f1e0.js +30 -0
- package/dist/chunks/checkmark.83e4f1e0.js.map +1 -0
- package/dist/chunks/{chevron-right.aef416c6.js → chevron-left.2fd6b083.js} +10 -10
- package/dist/chunks/chevron-left.2fd6b083.js.map +1 -0
- package/dist/chunks/{controls-group.7214dc7f.js → controls-group.38b436f6.js} +2 -2
- package/dist/chunks/{controls-group.7214dc7f.js.map → controls-group.38b436f6.js.map} +1 -1
- package/dist/chunks/{copy.7a73d1fd.js → copy.86236c8d.js} +4 -4
- package/dist/chunks/{copy.7a73d1fd.js.map → copy.86236c8d.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.0f878a8d.js → dropdown-default-textbox.0b38fac3.js} +4 -4
- package/dist/chunks/dropdown-default-textbox.0b38fac3.js.map +1 -0
- package/dist/chunks/{dropdown.7a104ce3.js → dropdown.afff433b.js} +144 -110
- package/dist/chunks/dropdown.afff433b.js.map +1 -0
- package/dist/chunks/{error-message.b91afffc.js → error-message.64e1964b.js} +2 -2
- package/dist/chunks/{error-message.b91afffc.js.map → error-message.64e1964b.js.map} +1 -1
- package/dist/chunks/fixed-scroller.e5aa7b00.js +148 -0
- package/dist/chunks/fixed-scroller.e5aa7b00.js.map +1 -0
- package/dist/chunks/{footer-actions.13f19a22.js → footer-actions.1ce44374.js} +3 -3
- package/dist/chunks/{footer-actions.13f19a22.js.map → footer-actions.1ce44374.js.map} +1 -1
- package/dist/chunks/{index.7f24db66.js → index.2bd3812b.js} +2 -2
- package/dist/chunks/{index.7f24db66.js.map → index.2bd3812b.js.map} +1 -1
- package/dist/chunks/{index.1dc4ebae.js → index.369b0e66.js} +112 -92
- package/dist/chunks/index.369b0e66.js.map +1 -0
- package/dist/chunks/{index.536bcb56.js → index.6a665ade.js} +3 -3
- package/dist/chunks/{index.536bcb56.js.map → index.6a665ade.js.map} +1 -1
- package/dist/chunks/{index.4c951e0d.js → index.77f35162.js} +6 -6
- package/dist/chunks/{index.4c951e0d.js.map → index.77f35162.js.map} +1 -1
- package/dist/chunks/index.bcc58fdd.js +1334 -0
- package/dist/chunks/index.bcc58fdd.js.map +1 -0
- package/dist/chunks/index.c207e9ab.js +602 -0
- package/dist/chunks/index.c207e9ab.js.map +1 -0
- package/dist/chunks/{index.6700224a.js → index.e579bc02.js} +2 -2
- package/dist/chunks/{index.6700224a.js.map → index.e579bc02.js.map} +1 -1
- package/dist/chunks/{index.d68847b0.js → index.fa7b44f1.js} +2 -2
- package/dist/chunks/{index.d68847b0.js.map → index.fa7b44f1.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js → listbox-option-tag.809ec40e.js} +3 -3
- package/dist/chunks/{listbox-option-tag.0f31ecb2.js.map → listbox-option-tag.809ec40e.js.map} +1 -1
- package/dist/chunks/listbox.f6e5a11d.js +1306 -0
- package/dist/chunks/listbox.f6e5a11d.js.map +1 -0
- package/dist/chunks/{loading-button.6523a015.js → loading-button.746b7fa1.js} +2 -2
- package/dist/chunks/{loading-button.6523a015.js.map → loading-button.746b7fa1.js.map} +1 -1
- package/dist/chunks/refresh.c38c9eee.js +30 -0
- package/dist/chunks/refresh.c38c9eee.js.map +1 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
- package/dist/chunks/{tooltip.b5391514.js → tooltip.f769eb14.js} +54 -51
- package/dist/chunks/{tooltip.b5391514.js.map → tooltip.f769eb14.js.map} +1 -1
- package/dist/code-snippet.js +6 -6
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +553 -541
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +10 -10
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +129 -118
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +44 -42
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +696 -683
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +3 -3
- package/dist/header.js +121 -198
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -4
- package/dist/index.js +164 -158
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +8 -8
- package/dist/input-field.js +7 -7
- package/dist/internal.js +20 -144
- package/dist/internal.js.map +1 -1
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +3 -592
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +3 -3
- package/dist/pagination.js +37 -21
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +50 -40
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +16 -16
- package/dist/popper-container.js +6 -1276
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +128 -97
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +130 -106
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +94 -91
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +146 -163
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +128 -99
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +216 -203
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +6 -6
- package/dist/tutorial.js +375 -0
- package/dist/tutorial.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -2
- package/dist/assets/chevron-right.css +0 -1
- package/dist/chunks/button.975d0bb8.js.map +0 -1
- package/dist/chunks/calendar.cc37ac1f.js.map +0 -1
- package/dist/chunks/chevron-right.aef416c6.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.0f878a8d.js.map +0 -1
- package/dist/chunks/dropdown.7a104ce3.js.map +0 -1
- package/dist/chunks/index.1dc4ebae.js.map +0 -1
- package/dist/chunks/listbox.0f25778d.js +0 -1213
- package/dist/chunks/listbox.0f25778d.js.map +0 -1
package/dist/summary-grid.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as S, resolveComponent as
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
1
|
+
import { defineComponent as S, provide as P, resolveComponent as m, openBlock as i, createElementBlock as E, Fragment as j, renderList as w, createBlock as u, createSlots as O, withCtx as r, renderSlot as f, toRefs as N, computed as T, normalizeStyle as R, createElementVNode as C, createVNode as M, createTextVNode as v, toDisplayString as g, createCommentVNode as b, mergeProps as z } from "vue";
|
|
2
|
+
import { u as G } from "./chunks/use-has-slot.4d98bf29.js";
|
|
3
|
+
import { S as q } from "./chunks/summary-grid.keys.1d1028c2.js";
|
|
4
|
+
import { G as U } from "./chunks/grid-layout.7c919507.js";
|
|
5
|
+
import { _ } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
6
|
+
import { BentoInfoIcon as Y } from "./info-icon.js";
|
|
7
|
+
import { B as W, a as V } from "./chunks/index.2bd3812b.js";
|
|
8
|
+
import { BentoTag as X, BentoTagVariant as L } from "./tag.js";
|
|
9
|
+
import { C as F } from "./chunks/copy.86236c8d.js";
|
|
10
|
+
import "./assets/index26.css";
|
|
10
11
|
const H = S({
|
|
11
12
|
name: "bento-summary-grid",
|
|
12
|
-
components: { GridLayout:
|
|
13
|
+
components: { GridLayout: U },
|
|
13
14
|
props: {
|
|
14
15
|
/**
|
|
15
16
|
* Sets the responsive columns widths values for 1 of the 3 rows.
|
|
@@ -19,75 +20,75 @@ const H = S({
|
|
|
19
20
|
default: null
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
|
-
setup(e, { slots:
|
|
23
|
-
var
|
|
24
|
-
let
|
|
25
|
-
if (
|
|
26
|
-
const
|
|
27
|
-
var
|
|
28
|
-
return parseInt((
|
|
23
|
+
setup(e, { slots: a }) {
|
|
24
|
+
var c, s;
|
|
25
|
+
let l = 1;
|
|
26
|
+
if (a) {
|
|
27
|
+
const n = (s = (c = Object.keys(a)) == null ? void 0 : c.filter((t) => t.includes("cell-"))) == null ? void 0 : s.map((t) => {
|
|
28
|
+
var p;
|
|
29
|
+
return parseInt((p = t.split("-")) == null ? void 0 : p[1], 10);
|
|
29
30
|
});
|
|
30
|
-
if (
|
|
31
|
+
if (l = Math.max(...n), l > 3)
|
|
31
32
|
throw new Error(
|
|
32
33
|
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
33
34
|
);
|
|
34
35
|
}
|
|
35
|
-
return {
|
|
36
|
-
hasSlot:
|
|
37
|
-
numberOfRows:
|
|
36
|
+
return P(q, () => ({ isSummaryGridLayout: !0 })), {
|
|
37
|
+
hasSlot: G(a),
|
|
38
|
+
numberOfRows: l
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
});
|
|
41
|
-
const
|
|
42
|
-
function
|
|
43
|
-
const n =
|
|
44
|
-
return i(), E("div",
|
|
45
|
-
(i(!0), E(
|
|
46
|
-
var
|
|
47
|
-
return i(),
|
|
42
|
+
const J = { class: "b-summary-grid" };
|
|
43
|
+
function K(e, a, l, y, c, s) {
|
|
44
|
+
const n = m("grid-layout");
|
|
45
|
+
return i(), E("div", J, [
|
|
46
|
+
(i(!0), E(j, null, w(e.numberOfRows, (t) => {
|
|
47
|
+
var p;
|
|
48
|
+
return i(), u(n, {
|
|
48
49
|
key: `summary-grid-row-${t}`,
|
|
49
50
|
"data-testid": `summary-grid-row-${t}`,
|
|
50
|
-
"column-width": (
|
|
51
|
+
"column-width": (p = e.columnWidth) == null ? void 0 : p[`row${t}`]
|
|
51
52
|
}, O({ _: 2 }, [
|
|
52
53
|
e.hasSlot(`cell-${t}-1`) ? {
|
|
53
54
|
name: "col-1",
|
|
54
55
|
fn: r(() => [
|
|
55
|
-
|
|
56
|
+
f(e.$slots, `cell-${t}-1`, {}, void 0, !0)
|
|
56
57
|
]),
|
|
57
58
|
key: "0"
|
|
58
59
|
} : void 0,
|
|
59
60
|
e.hasSlot(`cell-${t}-2`) ? {
|
|
60
61
|
name: "col-2",
|
|
61
62
|
fn: r(() => [
|
|
62
|
-
|
|
63
|
+
f(e.$slots, `cell-${t}-2`, {}, void 0, !0)
|
|
63
64
|
]),
|
|
64
65
|
key: "1"
|
|
65
66
|
} : void 0,
|
|
66
67
|
e.hasSlot(`cell-${t}-3`) ? {
|
|
67
68
|
name: "col-3",
|
|
68
69
|
fn: r(() => [
|
|
69
|
-
|
|
70
|
+
f(e.$slots, `cell-${t}-3`, {}, void 0, !0)
|
|
70
71
|
]),
|
|
71
72
|
key: "2"
|
|
72
73
|
} : void 0,
|
|
73
74
|
e.hasSlot(`cell-${t}-4`) ? {
|
|
74
75
|
name: "col-4",
|
|
75
76
|
fn: r(() => [
|
|
76
|
-
|
|
77
|
+
f(e.$slots, `cell-${t}-4`, {}, void 0, !0)
|
|
77
78
|
]),
|
|
78
79
|
key: "3"
|
|
79
80
|
} : void 0,
|
|
80
81
|
e.hasSlot(`cell-${t}-5`) ? {
|
|
81
82
|
name: "col-5",
|
|
82
83
|
fn: r(() => [
|
|
83
|
-
|
|
84
|
+
f(e.$slots, `cell-${t}-5`, {}, void 0, !0)
|
|
84
85
|
]),
|
|
85
86
|
key: "4"
|
|
86
87
|
} : void 0,
|
|
87
88
|
e.hasSlot(`cell-${t}-6`) ? {
|
|
88
89
|
name: "col-6",
|
|
89
90
|
fn: r(() => [
|
|
90
|
-
|
|
91
|
+
f(e.$slots, `cell-${t}-6`, {}, void 0, !0)
|
|
91
92
|
]),
|
|
92
93
|
key: "5"
|
|
93
94
|
} : void 0
|
|
@@ -95,11 +96,11 @@ function J(e, s, c, u, a, d) {
|
|
|
95
96
|
}), 128))
|
|
96
97
|
]);
|
|
97
98
|
}
|
|
98
|
-
const $e = /* @__PURE__ */
|
|
99
|
-
var
|
|
100
|
-
const
|
|
99
|
+
const $e = /* @__PURE__ */ _(H, [["render", K], ["__scopeId", "data-v-a6c891b9"]]);
|
|
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 || {}), h = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(h || {});
|
|
101
|
+
const Q = S({
|
|
101
102
|
name: "summary-grid-item",
|
|
102
|
-
components: { BentoInfoIcon:
|
|
103
|
+
components: { BentoInfoIcon: Y, BentoTypography: W, BentoTag: X, Copy: F },
|
|
103
104
|
props: {
|
|
104
105
|
/**
|
|
105
106
|
* Text to copy to the clipboard
|
|
@@ -111,8 +112,8 @@ const K = S({
|
|
|
111
112
|
// TODO add text truncation for SummaryGridItemType.TEXT
|
|
112
113
|
itemType: {
|
|
113
114
|
type: String,
|
|
114
|
-
default:
|
|
115
|
-
validator: (e) => Object.values(
|
|
115
|
+
default: h.CUSTOM,
|
|
116
|
+
validator: (e) => Object.values(h).includes(e)
|
|
116
117
|
},
|
|
117
118
|
/**
|
|
118
119
|
* Text showed in the info-icon tooltip on hover
|
|
@@ -133,8 +134,8 @@ const K = S({
|
|
|
133
134
|
// TODO implement logic for Large size
|
|
134
135
|
size: {
|
|
135
136
|
type: String,
|
|
136
|
-
default:
|
|
137
|
-
validator: (e) => Object.values(
|
|
137
|
+
default: d.SMALL,
|
|
138
|
+
validator: (e) => Object.values(d).includes(e)
|
|
138
139
|
},
|
|
139
140
|
/**
|
|
140
141
|
* Shows colored trend label next to text content
|
|
@@ -167,9 +168,9 @@ const K = S({
|
|
|
167
168
|
validator: (e) => Object.values(o).includes(e)
|
|
168
169
|
}
|
|
169
170
|
},
|
|
170
|
-
setup(e, { slots:
|
|
171
|
-
const { trendDirection:
|
|
172
|
-
switch (
|
|
171
|
+
setup(e, { slots: a }) {
|
|
172
|
+
const { trendDirection: l, secondaryTrendDirection: y, itemType: c, size: s } = N(e), n = (D) => {
|
|
173
|
+
switch (D) {
|
|
173
174
|
case o.POSITIVE:
|
|
174
175
|
return L.GREEN;
|
|
175
176
|
case o.NEGATIVE:
|
|
@@ -177,116 +178,98 @@ const K = S({
|
|
|
177
178
|
default:
|
|
178
179
|
return L.BLUE;
|
|
179
180
|
}
|
|
180
|
-
}, t =
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
if (a.value !== g.TEXT)
|
|
187
|
-
return V.TITLE;
|
|
188
|
-
}
|
|
189
|
-
return null;
|
|
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(() => ({
|
|
181
|
+
}, t = T(() => n(l.value)), p = T(() => n(y.value)), I = T(() => s.value === d.SMALL ? V.BODY : c.value !== h.TEXT ? V.TITLE : null), B = T(() => ({
|
|
182
|
+
medium: s.value === d.LARGE,
|
|
183
|
+
strongest: s.value === d.SMALL,
|
|
184
|
+
wide: s.value === d.SMALL,
|
|
185
|
+
variant: I.value
|
|
186
|
+
})), k = T(() => e.fitContent ? { width: "fit-content" } : {}), A = T(() => ({
|
|
196
187
|
[`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
|
|
197
188
|
}));
|
|
198
189
|
return {
|
|
199
190
|
// Values
|
|
200
191
|
trendVariant: t,
|
|
201
|
-
secondaryTrendVariant:
|
|
202
|
-
isContentTypographyApplied: I,
|
|
192
|
+
secondaryTrendVariant: p,
|
|
203
193
|
typographyProps: B,
|
|
204
194
|
// Styles
|
|
205
|
-
computedStyles:
|
|
206
|
-
summaryBarItemTrendConditionalClasses:
|
|
195
|
+
computedStyles: k,
|
|
196
|
+
summaryBarItemTrendConditionalClasses: A,
|
|
207
197
|
// Utils
|
|
208
|
-
hasSlot:
|
|
198
|
+
hasSlot: G(a)
|
|
209
199
|
};
|
|
210
200
|
}
|
|
211
201
|
});
|
|
212
|
-
const
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
};
|
|
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");
|
|
202
|
+
const Z = { class: "b-summary-grid-item__header" }, x = { class: "b-summary-grid-item__title-icons" };
|
|
203
|
+
function ee(e, a, l, y, c, s) {
|
|
204
|
+
const n = m("bento-typography"), t = m("copy"), p = m("bento-info-icon"), I = m("bento-tag");
|
|
218
205
|
return i(), E("div", {
|
|
219
206
|
class: "b-summary-grid-item",
|
|
220
207
|
style: R(e.computedStyles)
|
|
221
208
|
}, [
|
|
222
|
-
|
|
209
|
+
C("div", Z, [
|
|
223
210
|
M(n, {
|
|
224
211
|
class: "b-summary-grid-item__title",
|
|
225
212
|
el: "span",
|
|
226
213
|
variant: "body"
|
|
227
214
|
}, {
|
|
228
215
|
default: r(() => [
|
|
229
|
-
|
|
216
|
+
v(g(e.title), 1)
|
|
230
217
|
]),
|
|
231
218
|
_: 1
|
|
232
219
|
}),
|
|
233
|
-
|
|
234
|
-
e.copy ? (i(),
|
|
220
|
+
C("div", x, [
|
|
221
|
+
e.copy ? (i(), u(t, {
|
|
235
222
|
key: 0,
|
|
236
223
|
class: "b-structured-list__icon",
|
|
237
224
|
text: e.copy
|
|
238
|
-
}, null, 8, ["text"])) :
|
|
239
|
-
e.infoIconTooltipText ? (i(),
|
|
225
|
+
}, null, 8, ["text"])) : b("", !0),
|
|
226
|
+
e.infoIconTooltipText ? (i(), u(p, {
|
|
240
227
|
key: 1,
|
|
241
228
|
"tooltip-text": e.infoIconTooltipText,
|
|
242
229
|
"tooltip-position": "top",
|
|
243
230
|
class: "b-summary-grid-item__title-tooltip"
|
|
244
|
-
}, null, 8, ["tooltip-text"])) :
|
|
231
|
+
}, null, 8, ["tooltip-text"])) : b("", !0)
|
|
245
232
|
])
|
|
246
233
|
]),
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
e.secondaryTrend
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
]),
|
|
282
|
-
_: 3
|
|
283
|
-
})
|
|
284
|
-
])) : $("", !0)
|
|
234
|
+
M(n, z({
|
|
235
|
+
"data-testid": "summary-grid-item-content-typography",
|
|
236
|
+
class: "b-summary-grid-item__title"
|
|
237
|
+
}, e.typographyProps, { el: "span" }), {
|
|
238
|
+
default: r(() => [
|
|
239
|
+
f(e.$slots, "default", {}, void 0, !0),
|
|
240
|
+
e.trend && e.itemType !== "text" ? (i(), u(I, {
|
|
241
|
+
key: 0,
|
|
242
|
+
variant: e.trendVariant,
|
|
243
|
+
label: e.trend,
|
|
244
|
+
class: "b-summary-grid-item__content-trend"
|
|
245
|
+
}, null, 8, ["variant", "label"])) : b("", !0)
|
|
246
|
+
]),
|
|
247
|
+
_: 3
|
|
248
|
+
}, 16),
|
|
249
|
+
e.hasSlot("secondary") ? (i(), u(n, {
|
|
250
|
+
key: 0,
|
|
251
|
+
class: "b-summary-grid-item__title",
|
|
252
|
+
"data-testid": "summary-grid-item-secondary-metric-typography",
|
|
253
|
+
el: "span",
|
|
254
|
+
variant: "caption",
|
|
255
|
+
stronger: ""
|
|
256
|
+
}, {
|
|
257
|
+
default: r(() => [
|
|
258
|
+
f(e.$slots, "secondary", {}, void 0, !0),
|
|
259
|
+
e.secondaryTrend ? (i(), u(I, {
|
|
260
|
+
key: 0,
|
|
261
|
+
variant: e.secondaryTrendVariant,
|
|
262
|
+
label: e.secondaryTrend,
|
|
263
|
+
class: "b-summary-grid-item__content-trend"
|
|
264
|
+
}, null, 8, ["variant", "label"])) : b("", !0)
|
|
265
|
+
]),
|
|
266
|
+
_: 3
|
|
267
|
+
})) : b("", !0)
|
|
285
268
|
], 4);
|
|
286
269
|
}
|
|
287
|
-
const
|
|
270
|
+
const $ = /* @__PURE__ */ _(Q, [["render", ee], ["__scopeId", "data-v-16298103"]]), te = S({
|
|
288
271
|
name: "bento-summary-grid-item-amount",
|
|
289
|
-
components: { SummaryGridItem:
|
|
272
|
+
components: { SummaryGridItem: $ },
|
|
290
273
|
props: {
|
|
291
274
|
/**
|
|
292
275
|
* Text to copy to the clipboard
|
|
@@ -369,18 +352,18 @@ const C = /* @__PURE__ */ b(K, [["render", te], ["__scopeId", "data-v-00f7a92b"]
|
|
|
369
352
|
*/
|
|
370
353
|
size: {
|
|
371
354
|
type: String,
|
|
372
|
-
default:
|
|
373
|
-
validator: (e) => Object.values(
|
|
355
|
+
default: d.SMALL,
|
|
356
|
+
validator: (e) => Object.values(d).includes(e)
|
|
374
357
|
}
|
|
375
358
|
}
|
|
376
359
|
});
|
|
377
|
-
const
|
|
360
|
+
const ne = { class: "b-summary-grid-item-amount__content" }, oe = {
|
|
378
361
|
key: 0,
|
|
379
362
|
class: "b-summary-grid-item-amount__secondary-label"
|
|
380
363
|
};
|
|
381
|
-
function
|
|
382
|
-
const n =
|
|
383
|
-
return i(),
|
|
364
|
+
function re(e, a, l, y, c, s) {
|
|
365
|
+
const n = m("summary-grid-item");
|
|
366
|
+
return i(), u(n, {
|
|
384
367
|
"item-type": "amount",
|
|
385
368
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
386
369
|
title: e.title,
|
|
@@ -394,9 +377,9 @@ function ie(e, s, c, u, a, d) {
|
|
|
394
377
|
class: "b-summary-grid-item-amount"
|
|
395
378
|
}, O({
|
|
396
379
|
default: r(() => [
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
e.secondaryLabel ? (i(), E("div",
|
|
380
|
+
C("div", ne, [
|
|
381
|
+
C("div", null, g(e.label), 1),
|
|
382
|
+
e.secondaryLabel ? (i(), E("div", oe, g(e.secondaryLabel), 1)) : b("", !0)
|
|
400
383
|
])
|
|
401
384
|
]),
|
|
402
385
|
_: 2
|
|
@@ -404,15 +387,15 @@ function ie(e, s, c, u, a, d) {
|
|
|
404
387
|
e.secondaryMetric ? {
|
|
405
388
|
name: "secondary",
|
|
406
389
|
fn: r(() => [
|
|
407
|
-
|
|
390
|
+
v(g(e.secondaryMetric), 1)
|
|
408
391
|
]),
|
|
409
392
|
key: "0"
|
|
410
393
|
} : void 0
|
|
411
394
|
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
412
395
|
}
|
|
413
|
-
const Ie = /* @__PURE__ */
|
|
396
|
+
const Ie = /* @__PURE__ */ _(te, [["render", re], ["__scopeId", "data-v-fd1debe6"]]), ie = S({
|
|
414
397
|
name: "bento-summary-grid-item-numeric",
|
|
415
|
-
components: { SummaryGridItem:
|
|
398
|
+
components: { SummaryGridItem: $ },
|
|
416
399
|
props: {
|
|
417
400
|
/**
|
|
418
401
|
* Text to copy to the clipboard
|
|
@@ -488,14 +471,14 @@ const Ie = /* @__PURE__ */ b(ne, [["render", ie], ["__scopeId", "data-v-fd1debe6
|
|
|
488
471
|
*/
|
|
489
472
|
size: {
|
|
490
473
|
type: String,
|
|
491
|
-
default:
|
|
492
|
-
validator: (e) => Object.values(
|
|
474
|
+
default: d.SMALL,
|
|
475
|
+
validator: (e) => Object.values(d).includes(e)
|
|
493
476
|
}
|
|
494
477
|
}
|
|
495
478
|
});
|
|
496
|
-
function
|
|
497
|
-
const n =
|
|
498
|
-
return i(),
|
|
479
|
+
function ae(e, a, l, y, c, s) {
|
|
480
|
+
const n = m("summary-grid-item");
|
|
481
|
+
return i(), u(n, {
|
|
499
482
|
"item-type": "numeric",
|
|
500
483
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
501
484
|
title: e.title,
|
|
@@ -509,22 +492,22 @@ function se(e, s, c, u, a, d) {
|
|
|
509
492
|
class: "b-summary-grid-item-numeric"
|
|
510
493
|
}, O({
|
|
511
494
|
default: r(() => [
|
|
512
|
-
|
|
495
|
+
v(g(e.label) + " ", 1)
|
|
513
496
|
]),
|
|
514
497
|
_: 2
|
|
515
498
|
}, [
|
|
516
499
|
e.secondaryMetric ? {
|
|
517
500
|
name: "secondary",
|
|
518
501
|
fn: r(() => [
|
|
519
|
-
|
|
502
|
+
v(g(e.secondaryMetric), 1)
|
|
520
503
|
]),
|
|
521
504
|
key: "0"
|
|
522
505
|
} : void 0
|
|
523
506
|
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
524
507
|
}
|
|
525
|
-
const he = /* @__PURE__ */
|
|
508
|
+
const he = /* @__PURE__ */ _(ie, [["render", ae]]), se = S({
|
|
526
509
|
name: "bento-summary-grid-item-percentage",
|
|
527
|
-
components: { SummaryGridItem:
|
|
510
|
+
components: { SummaryGridItem: $ },
|
|
528
511
|
props: {
|
|
529
512
|
/**
|
|
530
513
|
* Amount to be shown as the main value
|
|
@@ -600,14 +583,14 @@ const he = /* @__PURE__ */ b(ae, [["render", se]]), de = S({
|
|
|
600
583
|
*/
|
|
601
584
|
size: {
|
|
602
585
|
type: String,
|
|
603
|
-
default:
|
|
604
|
-
validator: (e) => Object.values(
|
|
586
|
+
default: d.SMALL,
|
|
587
|
+
validator: (e) => Object.values(d).includes(e)
|
|
605
588
|
}
|
|
606
589
|
}
|
|
607
590
|
});
|
|
608
|
-
function
|
|
609
|
-
const n =
|
|
610
|
-
return i(),
|
|
591
|
+
function de(e, a, l, y, c, s) {
|
|
592
|
+
const n = m("summary-grid-item");
|
|
593
|
+
return i(), u(n, {
|
|
611
594
|
"item-type": "percentage",
|
|
612
595
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
613
596
|
title: e.title,
|
|
@@ -621,22 +604,22 @@ function le(e, s, c, u, a, d) {
|
|
|
621
604
|
class: "b-summary-grid-item-percentage"
|
|
622
605
|
}, O({
|
|
623
606
|
default: r(() => [
|
|
624
|
-
|
|
607
|
+
v(g(e.label) + "% ", 1)
|
|
625
608
|
]),
|
|
626
609
|
_: 2
|
|
627
610
|
}, [
|
|
628
611
|
e.secondaryMetric ? {
|
|
629
612
|
name: "secondary",
|
|
630
613
|
fn: r(() => [
|
|
631
|
-
|
|
614
|
+
v(g(e.secondaryMetric) + "% ", 1)
|
|
632
615
|
]),
|
|
633
616
|
key: "0"
|
|
634
617
|
} : void 0
|
|
635
618
|
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
636
619
|
}
|
|
637
|
-
const Ee = /* @__PURE__ */
|
|
620
|
+
const Ee = /* @__PURE__ */ _(se, [["render", de]]), le = S({
|
|
638
621
|
name: "bento-summary-grid-item-text",
|
|
639
|
-
components: { SummaryGridItem:
|
|
622
|
+
components: { SummaryGridItem: $ },
|
|
640
623
|
props: {
|
|
641
624
|
/**
|
|
642
625
|
* Text to copy to the clipboard
|
|
@@ -672,9 +655,9 @@ const Ee = /* @__PURE__ */ b(de, [["render", le]]), ce = S({
|
|
|
672
655
|
}
|
|
673
656
|
}
|
|
674
657
|
});
|
|
675
|
-
function
|
|
676
|
-
const n =
|
|
677
|
-
return i(),
|
|
658
|
+
function ce(e, a, l, y, c, s) {
|
|
659
|
+
const n = m("summary-grid-item");
|
|
660
|
+
return i(), u(n, {
|
|
678
661
|
"item-type": "text",
|
|
679
662
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
680
663
|
title: e.title,
|
|
@@ -683,14 +666,14 @@ function ue(e, s, c, u, a, d) {
|
|
|
683
666
|
class: "b-summary-grid-item-text"
|
|
684
667
|
}, {
|
|
685
668
|
default: r(() => [
|
|
686
|
-
|
|
669
|
+
v(g(e.label), 1)
|
|
687
670
|
]),
|
|
688
671
|
_: 1
|
|
689
672
|
}, 8, ["info-icon-tooltip-text", "title", "copy", "fit-content"]);
|
|
690
673
|
}
|
|
691
|
-
const Ce = /* @__PURE__ */
|
|
674
|
+
const Ce = /* @__PURE__ */ _(le, [["render", ce]]), ue = S({
|
|
692
675
|
name: "bento-summary-grid-item-custom",
|
|
693
|
-
components: { SummaryGridItem:
|
|
676
|
+
components: { SummaryGridItem: $ },
|
|
694
677
|
props: {
|
|
695
678
|
/**
|
|
696
679
|
* Text to copy to the clipboard
|
|
@@ -711,29 +694,29 @@ const Ce = /* @__PURE__ */ b(ce, [["render", ue]]), me = S({
|
|
|
711
694
|
},
|
|
712
695
|
emits: ["copy-to-clipboard"]
|
|
713
696
|
});
|
|
714
|
-
function
|
|
715
|
-
const n =
|
|
716
|
-
return i(),
|
|
697
|
+
function me(e, a, l, y, c, s) {
|
|
698
|
+
const n = m("summary-grid-item");
|
|
699
|
+
return i(), u(n, {
|
|
717
700
|
title: e.title,
|
|
718
701
|
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
719
702
|
copy: e.copy,
|
|
720
703
|
"fit-content": e.fitContent,
|
|
721
|
-
onCopyToClipoard:
|
|
704
|
+
onCopyToClipoard: a[0] || (a[0] = (t) => e.$emit("copy-to-clipboard"))
|
|
722
705
|
}, {
|
|
723
706
|
default: r(() => [
|
|
724
|
-
|
|
707
|
+
f(e.$slots, "default")
|
|
725
708
|
]),
|
|
726
709
|
_: 3
|
|
727
710
|
}, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
|
|
728
711
|
}
|
|
729
|
-
const Oe = /* @__PURE__ */
|
|
712
|
+
const Oe = /* @__PURE__ */ _(ue, [["render", me]]);
|
|
730
713
|
export {
|
|
731
714
|
$e as BentoSummaryGrid,
|
|
732
715
|
Ie as BentoSummaryGridItemAmount,
|
|
733
716
|
Oe as BentoSummaryGridItemCustom,
|
|
734
717
|
he as BentoSummaryGridItemNumeric,
|
|
735
718
|
Ee as BentoSummaryGridItemPercentage,
|
|
736
|
-
|
|
719
|
+
d as BentoSummaryGridItemSize,
|
|
737
720
|
Ce as BentoSummaryGridItemText,
|
|
738
721
|
o as BentoSummaryGridItemTrendDirection
|
|
739
722
|
};
|