@adyen/bento-vue3 1.65.0 → 1.67.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/index.d.ts +499 -250
- package/dist/action-bar.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/date.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/summary-grid.css +1 -1
- package/dist/assets/tab.css +1 -0
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.BAfqAQjP.js → action-bar.ComuZPet.js} +38 -38
- package/dist/chunks/action-bar.ComuZPet.js.map +1 -0
- package/dist/chunks/{base-modal.CCwWuH6k.js → base-modal.DzJrvis_.js} +2 -2
- package/dist/chunks/{base-modal.CCwWuH6k.js.map → base-modal.DzJrvis_.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.B0nWCTwZ.js +91 -0
- package/dist/chunks/button-actions-with-menu.B0nWCTwZ.js.map +1 -0
- package/dist/chunks/{button-actions.D1pXI1AJ.js → button-actions.BwpznQ6c.js} +2 -2
- package/dist/chunks/button-actions.BwpznQ6c.js.map +1 -0
- package/dist/chunks/calendar._oPk_A1C.js +2209 -0
- package/dist/chunks/calendar._oPk_A1C.js.map +1 -0
- package/dist/chunks/{card.DiBtLuRU.js → card.JBOvn2BO.js} +2 -2
- package/dist/chunks/{card.DiBtLuRU.js.map → card.JBOvn2BO.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BKsddn67.js → checkbox-group.Dc5Olq0c.js} +4 -4
- package/dist/chunks/{checkbox-group.BKsddn67.js.map → checkbox-group.Dc5Olq0c.js.map} +1 -1
- package/dist/chunks/{checkbox.C1y3Ad4Z.js → checkbox.fkPJvdUo.js} +2 -2
- package/dist/chunks/{checkbox.C1y3Ad4Z.js.map → checkbox.fkPJvdUo.js.map} +1 -1
- package/dist/chunks/{code-snippet.Bj5SAyT-.js → code-snippet.vrlSqi9k.js} +4 -4
- package/dist/chunks/{code-snippet.Bj5SAyT-.js.map → code-snippet.vrlSqi9k.js.map} +1 -1
- package/dist/chunks/{controls-group.DD1m4EKn.js → controls-group.CrzkSu0U.js} +2 -2
- package/dist/chunks/{controls-group.DD1m4EKn.js.map → controls-group.CrzkSu0U.js.map} +1 -1
- package/dist/chunks/copy.RUoQOydT.js +118 -0
- package/dist/chunks/copy.RUoQOydT.js.map +1 -0
- package/dist/chunks/{dashboard-section.C6FNJuEz.js → dashboard-section.Bg0dfNs-.js} +3 -3
- package/dist/chunks/{dashboard-section.C6FNJuEz.js.map → dashboard-section.Bg0dfNs-.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ywc0ydgS.js → dashed-underline.DgE-UB-x.js} +2 -2
- package/dist/chunks/{dashed-underline.ywc0ydgS.js.map → dashed-underline.DgE-UB-x.js.map} +1 -1
- package/dist/chunks/data-grid-template.Df7j2oxe.js +144 -0
- package/dist/chunks/data-grid-template.Df7j2oxe.js.map +1 -0
- package/dist/chunks/{data-grid.DroQMKSc.js → data-grid.rDZadZwc.js} +370 -368
- package/dist/chunks/data-grid.rDZadZwc.js.map +1 -0
- package/dist/chunks/{date-picker.BuX2J2OW.js → date-picker.CZ6zU-NJ.js} +24 -25
- package/dist/chunks/{date-picker.BuX2J2OW.js.map → date-picker.CZ6zU-NJ.js.map} +1 -1
- package/dist/chunks/date-range-picker.Dw4R9bIs.js +1225 -0
- package/dist/chunks/date-range-picker.Dw4R9bIs.js.map +1 -0
- package/dist/chunks/date.DSjCnSgL.js +163 -0
- package/dist/chunks/date.DSjCnSgL.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.B05elQig.js → dropdown-default-textbox.Ce5D3ipi.js} +40 -39
- package/dist/chunks/dropdown-default-textbox.Ce5D3ipi.js.map +1 -0
- package/dist/chunks/{dropdown-tag.Dm-1VD3B.js → dropdown-tag.BlHovDol.js} +2 -2
- package/dist/chunks/{dropdown-tag.Dm-1VD3B.js.map → dropdown-tag.BlHovDol.js.map} +1 -1
- package/dist/chunks/{dropdown.Bj6DK-2v.js → dropdown.B5ZaFDn_.js} +308 -313
- package/dist/chunks/{dropdown.Bj6DK-2v.js.map → dropdown.B5ZaFDn_.js.map} +1 -1
- package/dist/chunks/{error-message.DZWphzoT.js → error-message.DHMHq9bR.js} +2 -2
- package/dist/chunks/{error-message.DZWphzoT.js.map → error-message.DHMHq9bR.js.map} +1 -1
- package/dist/chunks/es6.n1ewaW31.js.map +1 -1
- package/dist/chunks/{file-uploader.C8DwUCMp.js → file-uploader.B_EI2fAc.js} +523 -523
- package/dist/chunks/file-uploader.B_EI2fAc.js.map +1 -0
- package/dist/chunks/{filter-bar.BvInaVGL.js → filter-bar.XonJn7ao.js} +1007 -992
- package/dist/chunks/{filter-bar.BvInaVGL.js.map → filter-bar.XonJn7ao.js.map} +1 -1
- package/dist/chunks/{footer-actions.vQ4flLqU.js → footer-actions.CdJLLWNR.js} +2 -2
- package/dist/chunks/{footer-actions.vQ4flLqU.js.map → footer-actions.CdJLLWNR.js.map} +1 -1
- package/dist/chunks/{get-date-locale.BN8xEjY0.js → get-date-locale.CAyOIbcp.js} +288 -649
- package/dist/chunks/get-date-locale.CAyOIbcp.js.map +1 -0
- package/dist/chunks/{header-with-views.De0oVJXS.js → header-with-views.CHbH1_1V.js} +680 -663
- package/dist/chunks/header-with-views.CHbH1_1V.js.map +1 -0
- package/dist/chunks/{header.Ckjp7n9t.js → header.CJJWPB5Z.js} +63 -62
- package/dist/chunks/{header.Ckjp7n9t.js.map → header.CJJWPB5Z.js.map} +1 -1
- package/dist/chunks/index.BrH1t1iu.js +407 -0
- package/dist/chunks/index.BrH1t1iu.js.map +1 -0
- package/dist/chunks/{info-icon-with-popover.Duk1tj5G.js → info-icon-with-popover.DVH46dPy.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.Duk1tj5G.js.map → info-icon-with-popover.DVH46dPy.js.map} +1 -1
- package/dist/chunks/info-icon.DprUQ9fj.js +36 -0
- package/dist/chunks/info-icon.DprUQ9fj.js.map +1 -0
- package/dist/chunks/input-field-password.DWZAf1Oh.js +370 -0
- package/dist/chunks/input-field-password.DWZAf1Oh.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.DVliTkE3.js → input-field-phone-number.CbpRItYf.js} +3 -3
- package/dist/chunks/{input-field-phone-number.DVliTkE3.js.map → input-field-phone-number.CbpRItYf.js.map} +1 -1
- package/dist/chunks/input-field.DExw_Cow.js +303 -0
- package/dist/chunks/input-field.DExw_Cow.js.map +1 -0
- package/dist/chunks/{menu.CiyYOoKd.js → menu.CeLJ1gIz.js} +2 -2
- package/dist/chunks/{menu.CiyYOoKd.js.map → menu.CeLJ1gIz.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.CuL9oSAq.js → modal-fullscreen.CZnLS-fQ.js} +2 -2
- package/dist/chunks/{modal-fullscreen.CuL9oSAq.js.map → modal-fullscreen.CZnLS-fQ.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.LnD61fHp.js → modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.LnD61fHp.js.map → modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js.map} +1 -1
- package/dist/chunks/{pagination.D6A7TX6J.js → pagination.DL9LmFMJ.js} +168 -168
- package/dist/chunks/pagination.DL9LmFMJ.js.map +1 -0
- package/dist/chunks/{popover.maCMPyz8.js → popover.VI3TrUkL.js} +2 -2
- package/dist/chunks/{popover.maCMPyz8.js.map → popover.VI3TrUkL.js.map} +1 -1
- package/dist/chunks/promo-banner.CQp3z2CP.js.map +1 -1
- package/dist/chunks/{radio-group.435rdgzm.js → radio-group.H9A5QcNu.js} +3 -3
- package/dist/chunks/{radio-group.435rdgzm.js.map → radio-group.H9A5QcNu.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.BDLncrV5.js → rich-text-editor.Dl9PsYbk.js} +6 -5
- package/dist/chunks/{rich-text-editor.BDLncrV5.js.map → rich-text-editor.Dl9PsYbk.js.map} +1 -1
- package/dist/chunks/{search-bar.Cngs3uYZ.js → search-bar.a-jzP1UA.js} +3 -3
- package/dist/chunks/{search-bar.Cngs3uYZ.js.map → search-bar.a-jzP1UA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.ByCa4wiA.js → secondary-nav.UrmIAVGD.js} +2 -2
- package/dist/chunks/{secondary-nav.ByCa4wiA.js.map → secondary-nav.UrmIAVGD.js.map} +1 -1
- package/dist/chunks/{selection-card-group.9wJy7FC2.js → selection-card-group.B4xpnd-z.js} +3 -3
- package/dist/chunks/{selection-card-group.9wJy7FC2.js.map → selection-card-group.B4xpnd-z.js.map} +1 -1
- package/dist/chunks/{sidepanel.CTIjklfG.js → sidepanel.BuNmgmpj.js} +2 -2
- package/dist/chunks/{sidepanel.CTIjklfG.js.map → sidepanel.BuNmgmpj.js.map} +1 -1
- package/dist/chunks/step.BtNhPZAf.js +268 -0
- package/dist/chunks/step.BtNhPZAf.js.map +1 -0
- package/dist/chunks/{structured-list-item.DQzxNb_M.js → structured-list-item.BQbEDKhg.js} +3 -3
- package/dist/chunks/{structured-list-item.DQzxNb_M.js.map → structured-list-item.BQbEDKhg.js.map} +1 -1
- package/dist/chunks/summary-grid.types.CoSCUI1V.js +490 -0
- package/dist/chunks/summary-grid.types.CoSCUI1V.js.map +1 -0
- package/dist/chunks/tab.CAt51ksU.js +252 -0
- package/dist/chunks/tab.CAt51ksU.js.map +1 -0
- package/dist/chunks/{tabs.keys.Bc2pSKRw.js → tabs.keys.Cb4Vw5Jh.js} +3 -3
- package/dist/chunks/{tabs.keys.Bc2pSKRw.js.map → tabs.keys.Cb4Vw5Jh.js.map} +1 -1
- package/dist/chunks/{textarea.CV1HjB0x.js → textarea.DXSe9MHH.js} +83 -80
- package/dist/chunks/textarea.DXSe9MHH.js.map +1 -0
- package/dist/chunks/{timeline-item.DUp8MmgZ.js → timeline-item.BRHwCA1F.js} +11 -12
- package/dist/chunks/timeline-item.BRHwCA1F.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.E8oBlhrC.js → tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.E8oBlhrC.js.map → tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js.map} +1 -1
- package/dist/chunks/use-cached-selected-values.D7dOPJSO.js +1653 -0
- package/dist/chunks/use-cached-selected-values.D7dOPJSO.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +45 -45
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/internal.js +8 -8
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +1 -0
- package/dist/styles/bento-light.css +1 -0
- package/dist/styles/bento.css +1 -0
- package/dist/styles/legacy.css +1 -0
- package/dist/styles/styleguide.css +1 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/assets/tabs.css +0 -1
- package/dist/chunks/action-bar.BAfqAQjP.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.D50ABuSV.js +0 -174
- package/dist/chunks/button-actions-with-menu.D50ABuSV.js.map +0 -1
- package/dist/chunks/button-actions.D1pXI1AJ.js.map +0 -1
- package/dist/chunks/calendar.CLpwW_-k.js +0 -1290
- package/dist/chunks/calendar.CLpwW_-k.js.map +0 -1
- package/dist/chunks/copy.DqckFHHS.js +0 -156
- package/dist/chunks/copy.DqckFHHS.js.map +0 -1
- package/dist/chunks/data-grid-template.DzIpssxc.js +0 -143
- package/dist/chunks/data-grid-template.DzIpssxc.js.map +0 -1
- package/dist/chunks/data-grid.DroQMKSc.js.map +0 -1
- package/dist/chunks/date-range-picker.C2x1_xoz.js +0 -1209
- package/dist/chunks/date-range-picker.C2x1_xoz.js.map +0 -1
- package/dist/chunks/date.CKXySBQv.js +0 -995
- package/dist/chunks/date.CKXySBQv.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.B05elQig.js.map +0 -1
- package/dist/chunks/file-uploader.C8DwUCMp.js.map +0 -1
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
- package/dist/chunks/header-with-views.De0oVJXS.js.map +0 -1
- package/dist/chunks/index.BDuTpjD8.js +0 -40
- package/dist/chunks/index.BDuTpjD8.js.map +0 -1
- package/dist/chunks/index.DD7TppDb.js +0 -10
- package/dist/chunks/index.DD7TppDb.js.map +0 -1
- package/dist/chunks/info-icon.CpGwbhZQ.js +0 -45
- package/dist/chunks/info-icon.CpGwbhZQ.js.map +0 -1
- package/dist/chunks/input-field-password.CJOf1GlS.js +0 -369
- package/dist/chunks/input-field-password.CJOf1GlS.js.map +0 -1
- package/dist/chunks/input-field.xUQT0LXI.js +0 -298
- package/dist/chunks/input-field.xUQT0LXI.js.map +0 -1
- package/dist/chunks/pagination.D6A7TX6J.js.map +0 -1
- package/dist/chunks/step.CpSPMvdW.js +0 -264
- package/dist/chunks/step.CpSPMvdW.js.map +0 -1
- package/dist/chunks/summary-grid.types.BpS1z1-W.js +0 -466
- package/dist/chunks/summary-grid.types.BpS1z1-W.js.map +0 -1
- package/dist/chunks/tabs.Cq1fdzVh.js +0 -266
- package/dist/chunks/tabs.Cq1fdzVh.js.map +0 -1
- package/dist/chunks/textarea.CV1HjB0x.js.map +0 -1
- package/dist/chunks/timeline-item.DUp8MmgZ.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.CEwKqYIe.js +0 -1600
- package/dist/chunks/use-cached-selected-values.CEwKqYIe.js.map +0 -1
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { defineComponent as b, useSlots as k, onMounted as Z, provide as L, toRef as F, createElementBlock as M, openBlock as d, Fragment as G, renderList as j, unref as o, createBlock as m, createSlots as I, withCtx as i, renderSlot as c, toRefs as H, inject as W, ref as J, computed as v, normalizeStyle as K, normalizeClass as q, createElementVNode as _, createVNode as R, createCommentVNode as C, createTextVNode as g, toDisplayString as f, mergeProps as Q } from "vue";
|
|
2
|
+
import { u as z } from "./use-has-slot.B7eQSabc.js";
|
|
3
|
+
import { S as X, a as V } from "./summary-grid.keys.CxTf_FOc.js";
|
|
4
|
+
import { G as x } from "./grid-layout.BTLE3rac.js";
|
|
5
|
+
import { _ as E } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
+
import { u as ee } from "./i18n.B6g5VX0q.js";
|
|
7
|
+
import { B as te } from "./dashed-underline.DgE-UB-x.js";
|
|
8
|
+
import { B as oe } from "./info-icon.DprUQ9fj.js";
|
|
9
|
+
import { B as N } from "./typography.DN5eC5ch.js";
|
|
10
|
+
import { B as A } from "./tag.D3in0-Bp.js";
|
|
11
|
+
import { C as ne } from "./copy.RUoQOydT.js";
|
|
12
|
+
import "../assets/summary-grid.css";
|
|
13
|
+
const ie = { class: "b-summary-grid" }, re = {}, le = /* @__PURE__ */ b({
|
|
14
|
+
...re,
|
|
15
|
+
__name: "summary-grid",
|
|
16
|
+
props: {
|
|
17
|
+
columnWidth: { default: null },
|
|
18
|
+
slashedZero: { type: Boolean, default: !1 }
|
|
19
|
+
},
|
|
20
|
+
setup(l) {
|
|
21
|
+
var h, T;
|
|
22
|
+
const u = l, a = k(), e = z(a);
|
|
23
|
+
let n = 1;
|
|
24
|
+
if (a) {
|
|
25
|
+
const p = (T = (h = Object.keys(a)) == null ? void 0 : h.filter(($) => $.includes("cell-"))) == null ? void 0 : T.map(($) => {
|
|
26
|
+
var t;
|
|
27
|
+
return parseInt((t = $.split("-")) == null ? void 0 : t[1], 10);
|
|
28
|
+
});
|
|
29
|
+
n = Math.max(...p);
|
|
30
|
+
}
|
|
31
|
+
return Z(() => {
|
|
32
|
+
if (n > 3)
|
|
33
|
+
throw new Error(
|
|
34
|
+
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
35
|
+
);
|
|
36
|
+
}), L(X, () => ({ isSummaryGridLayout: !0 })), L(V, F(u, "slashedZero")), (p, $) => (d(), M("div", ie, [
|
|
37
|
+
(d(!0), M(G, null, j(o(n), (t) => {
|
|
38
|
+
var y;
|
|
39
|
+
return d(), m(o(x), {
|
|
40
|
+
key: `summary-grid-row-${t}`,
|
|
41
|
+
"data-testid": `summary-grid-row-${t}`,
|
|
42
|
+
"column-width": (y = p.columnWidth) == null ? void 0 : y[`row${t}`]
|
|
43
|
+
}, I({ _: 2 }, [
|
|
44
|
+
o(e)(`cell-${t}-1`) ? {
|
|
45
|
+
name: "col-1",
|
|
46
|
+
fn: i(() => [
|
|
47
|
+
c(p.$slots, `cell-${t}-1`, {}, void 0, !0)
|
|
48
|
+
]),
|
|
49
|
+
key: "0"
|
|
50
|
+
} : void 0,
|
|
51
|
+
o(e)(`cell-${t}-2`) ? {
|
|
52
|
+
name: "col-2",
|
|
53
|
+
fn: i(() => [
|
|
54
|
+
c(p.$slots, `cell-${t}-2`, {}, void 0, !0)
|
|
55
|
+
]),
|
|
56
|
+
key: "1"
|
|
57
|
+
} : void 0,
|
|
58
|
+
o(e)(`cell-${t}-3`) ? {
|
|
59
|
+
name: "col-3",
|
|
60
|
+
fn: i(() => [
|
|
61
|
+
c(p.$slots, `cell-${t}-3`, {}, void 0, !0)
|
|
62
|
+
]),
|
|
63
|
+
key: "2"
|
|
64
|
+
} : void 0,
|
|
65
|
+
o(e)(`cell-${t}-4`) ? {
|
|
66
|
+
name: "col-4",
|
|
67
|
+
fn: i(() => [
|
|
68
|
+
c(p.$slots, `cell-${t}-4`, {}, void 0, !0)
|
|
69
|
+
]),
|
|
70
|
+
key: "3"
|
|
71
|
+
} : void 0,
|
|
72
|
+
o(e)(`cell-${t}-5`) ? {
|
|
73
|
+
name: "col-5",
|
|
74
|
+
fn: i(() => [
|
|
75
|
+
c(p.$slots, `cell-${t}-5`, {}, void 0, !0)
|
|
76
|
+
]),
|
|
77
|
+
key: "4"
|
|
78
|
+
} : void 0,
|
|
79
|
+
o(e)(`cell-${t}-6`) ? {
|
|
80
|
+
name: "col-6",
|
|
81
|
+
fn: i(() => [
|
|
82
|
+
c(p.$slots, `cell-${t}-6`, {}, void 0, !0)
|
|
83
|
+
]),
|
|
84
|
+
key: "5"
|
|
85
|
+
} : void 0
|
|
86
|
+
]), 1032, ["data-testid", "column-width"]);
|
|
87
|
+
}), 128))
|
|
88
|
+
]));
|
|
89
|
+
}
|
|
90
|
+
}), Be = /* @__PURE__ */ E(le, [["__scopeId", "data-v-14d3ddaf"]]), se = { class: "b-summary-grid-item__header" }, de = { class: "b-summary-grid-item__title-icons" }, ae = {}, ue = /* @__PURE__ */ b({
|
|
91
|
+
...ae,
|
|
92
|
+
__name: "summary-grid-item",
|
|
93
|
+
props: {
|
|
94
|
+
itemType: { default: "custom" },
|
|
95
|
+
copy: { default: void 0 },
|
|
96
|
+
fitContent: { type: Boolean, default: !1 },
|
|
97
|
+
infoIconTooltipText: { default: null },
|
|
98
|
+
size: { default: "small" },
|
|
99
|
+
title: {},
|
|
100
|
+
trend: { default: null },
|
|
101
|
+
trendDirection: { default: "positive" },
|
|
102
|
+
secondaryTrend: { default: null },
|
|
103
|
+
secondaryTrendDirection: { default: "positive" },
|
|
104
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
105
|
+
underlineTooltipText: { default: null }
|
|
106
|
+
},
|
|
107
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
108
|
+
setup(l) {
|
|
109
|
+
const u = l, { trendDirection: a, secondaryTrendDirection: e, itemType: n, size: r } = H(u), h = W(V, J(!1)), T = (s) => {
|
|
110
|
+
switch (s) {
|
|
111
|
+
case "positive":
|
|
112
|
+
return "green";
|
|
113
|
+
case "negative":
|
|
114
|
+
return "red";
|
|
115
|
+
default:
|
|
116
|
+
return "blue";
|
|
117
|
+
}
|
|
118
|
+
}, p = v(() => T(a.value)), $ = v(() => T(e.value)), t = v(() => r.value === "small" ? "body" : n.value !== "text" ? "title" : null), y = v(() => ({
|
|
119
|
+
medium: r.value === "large",
|
|
120
|
+
strongest: r.value === "small",
|
|
121
|
+
wide: r.value === "small",
|
|
122
|
+
variant: t.value
|
|
123
|
+
})), S = v(() => u.fitContent ? { width: "fit-content" } : {}), U = v(() => ({ "b-summary-grid-item--slashed-zero": h.value })), O = k(), w = z(O), Y = v(() => u.underlineTooltipText || w("dashed-underline"));
|
|
124
|
+
return (s, P) => (d(), M("div", {
|
|
125
|
+
class: q(["b-summary-grid-item", U.value]),
|
|
126
|
+
style: K(S.value)
|
|
127
|
+
}, [
|
|
128
|
+
_("div", se, [
|
|
129
|
+
R(o(N), {
|
|
130
|
+
class: "b-summary-grid-item__title",
|
|
131
|
+
el: "span",
|
|
132
|
+
variant: "body"
|
|
133
|
+
}, {
|
|
134
|
+
default: i(() => [
|
|
135
|
+
Y.value ? (d(), m(o(te), {
|
|
136
|
+
key: 0,
|
|
137
|
+
"tooltip-text": s.underlineTooltipText,
|
|
138
|
+
"popover-size": s.underlinePopoverSize
|
|
139
|
+
}, I({
|
|
140
|
+
default: i(() => [
|
|
141
|
+
g(f(s.title) + " ", 1)
|
|
142
|
+
]),
|
|
143
|
+
_: 2
|
|
144
|
+
}, [
|
|
145
|
+
o(w)("dashed-underline") ? {
|
|
146
|
+
name: "popover-content",
|
|
147
|
+
fn: i(() => [
|
|
148
|
+
c(s.$slots, "dashed-underline", {}, void 0, !0)
|
|
149
|
+
]),
|
|
150
|
+
key: "0"
|
|
151
|
+
} : void 0
|
|
152
|
+
]), 1032, ["tooltip-text", "popover-size"])) : (d(), M(G, { key: 1 }, [
|
|
153
|
+
g(f(s.title), 1)
|
|
154
|
+
], 64))
|
|
155
|
+
]),
|
|
156
|
+
_: 3
|
|
157
|
+
}),
|
|
158
|
+
_("div", de, [
|
|
159
|
+
s.copy ? (d(), m(o(ne), {
|
|
160
|
+
key: 0,
|
|
161
|
+
class: "b-structured-list__icon",
|
|
162
|
+
text: s.copy,
|
|
163
|
+
onClick: P[0] || (P[0] = (B) => s.$emit("copy-click", B))
|
|
164
|
+
}, null, 8, ["text"])) : C("", !0),
|
|
165
|
+
s.infoIconTooltipText ? (d(), m(o(oe), {
|
|
166
|
+
key: 1,
|
|
167
|
+
"tooltip-text": s.infoIconTooltipText,
|
|
168
|
+
"tooltip-position": "top",
|
|
169
|
+
class: "b-summary-grid-item__title-tooltip",
|
|
170
|
+
onMouseenter: P[1] || (P[1] = (B) => s.$emit("info-icon-mouseenter", B))
|
|
171
|
+
}, null, 8, ["tooltip-text"])) : C("", !0)
|
|
172
|
+
])
|
|
173
|
+
]),
|
|
174
|
+
R(o(N), Q({
|
|
175
|
+
"data-testid": "summary-grid-item-content-typography",
|
|
176
|
+
class: "b-summary-grid-item__title"
|
|
177
|
+
}, y.value, { el: "span" }), {
|
|
178
|
+
default: i(() => [
|
|
179
|
+
c(s.$slots, "default", {}, void 0, !0),
|
|
180
|
+
s.trend && o(n) !== "text" ? (d(), m(o(A), {
|
|
181
|
+
key: 0,
|
|
182
|
+
variant: p.value,
|
|
183
|
+
label: s.trend,
|
|
184
|
+
class: "b-summary-grid-item__content-trend"
|
|
185
|
+
}, null, 8, ["variant", "label"])) : C("", !0)
|
|
186
|
+
]),
|
|
187
|
+
_: 3
|
|
188
|
+
}, 16),
|
|
189
|
+
o(w)("secondary") ? (d(), m(o(N), {
|
|
190
|
+
key: 0,
|
|
191
|
+
class: "b-summary-grid-item__title",
|
|
192
|
+
"data-testid": "summary-grid-item-secondary-metric-typography",
|
|
193
|
+
el: "span",
|
|
194
|
+
variant: "caption",
|
|
195
|
+
stronger: ""
|
|
196
|
+
}, {
|
|
197
|
+
default: i(() => [
|
|
198
|
+
c(s.$slots, "secondary", {}, void 0, !0),
|
|
199
|
+
s.secondaryTrend ? (d(), m(o(A), {
|
|
200
|
+
key: 0,
|
|
201
|
+
variant: $.value,
|
|
202
|
+
label: s.secondaryTrend,
|
|
203
|
+
class: "b-summary-grid-item__content-trend"
|
|
204
|
+
}, null, 8, ["variant", "label"])) : C("", !0)
|
|
205
|
+
]),
|
|
206
|
+
_: 3
|
|
207
|
+
})) : C("", !0)
|
|
208
|
+
], 6));
|
|
209
|
+
}
|
|
210
|
+
}), D = /* @__PURE__ */ E(ue, [["__scopeId", "data-v-64de14b8"]]), ce = { class: "b-summary-grid-item-amount__content" }, pe = {
|
|
211
|
+
key: 0,
|
|
212
|
+
class: "b-summary-grid-item-amount__secondary-label"
|
|
213
|
+
}, me = {}, fe = /* @__PURE__ */ b({
|
|
214
|
+
...me,
|
|
215
|
+
__name: "summary-grid-item-amount",
|
|
216
|
+
props: {
|
|
217
|
+
label: {},
|
|
218
|
+
secondaryLabel: { default: null },
|
|
219
|
+
secondaryMetric: { default: null },
|
|
220
|
+
copy: { default: void 0 },
|
|
221
|
+
fitContent: { type: Boolean, default: !1 },
|
|
222
|
+
infoIconTooltipText: { default: null },
|
|
223
|
+
size: { default: "small" },
|
|
224
|
+
title: {},
|
|
225
|
+
trend: { default: null },
|
|
226
|
+
trendDirection: { default: "positive" },
|
|
227
|
+
secondaryTrend: { default: null },
|
|
228
|
+
secondaryTrendDirection: { default: "positive" },
|
|
229
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
230
|
+
underlineTooltipText: { default: null }
|
|
231
|
+
},
|
|
232
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
233
|
+
setup(l) {
|
|
234
|
+
const u = k(), a = z(u);
|
|
235
|
+
return (e, n) => (d(), m(o(D), {
|
|
236
|
+
"item-type": "amount",
|
|
237
|
+
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
238
|
+
title: e.title,
|
|
239
|
+
copy: e.copy,
|
|
240
|
+
"fit-content": e.fitContent,
|
|
241
|
+
size: e.size,
|
|
242
|
+
trend: e.trend,
|
|
243
|
+
"trend-direction": e.trendDirection,
|
|
244
|
+
"secondary-trend": e.secondaryTrend,
|
|
245
|
+
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
246
|
+
"underline-popover-size": e.underlinePopoverSize,
|
|
247
|
+
"underline-tooltip-text": e.underlineTooltipText,
|
|
248
|
+
class: "b-summary-grid-item-amount",
|
|
249
|
+
onCopyClick: n[0] || (n[0] = (r) => e.$emit("copy-click", r)),
|
|
250
|
+
onInfoIconMouseenter: n[1] || (n[1] = (r) => e.$emit("info-icon-mouseenter", r))
|
|
251
|
+
}, I({
|
|
252
|
+
default: i(() => [
|
|
253
|
+
_("div", ce, [
|
|
254
|
+
_("div", null, f(e.label), 1),
|
|
255
|
+
e.secondaryLabel ? (d(), M("div", pe, f(e.secondaryLabel), 1)) : C("", !0)
|
|
256
|
+
])
|
|
257
|
+
]),
|
|
258
|
+
_: 2
|
|
259
|
+
}, [
|
|
260
|
+
o(a)("dashed-underline") ? {
|
|
261
|
+
name: "dashed-underline",
|
|
262
|
+
fn: i(() => [
|
|
263
|
+
c(e.$slots, "dashed-underline", {}, void 0, !0)
|
|
264
|
+
]),
|
|
265
|
+
key: "0"
|
|
266
|
+
} : void 0,
|
|
267
|
+
e.secondaryMetric ? {
|
|
268
|
+
name: "secondary",
|
|
269
|
+
fn: i(() => [
|
|
270
|
+
g(f(e.secondaryMetric), 1)
|
|
271
|
+
]),
|
|
272
|
+
key: "1"
|
|
273
|
+
} : void 0
|
|
274
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
275
|
+
}
|
|
276
|
+
}), Ne = /* @__PURE__ */ E(fe, [["__scopeId", "data-v-6d10929e"]]), ye = {}, Ee = /* @__PURE__ */ b({
|
|
277
|
+
...ye,
|
|
278
|
+
__name: "summary-grid-item-numeric",
|
|
279
|
+
props: {
|
|
280
|
+
label: {},
|
|
281
|
+
secondaryMetric: { default: null },
|
|
282
|
+
copy: { default: void 0 },
|
|
283
|
+
fitContent: { type: Boolean, default: !1 },
|
|
284
|
+
infoIconTooltipText: { default: null },
|
|
285
|
+
size: { default: "small" },
|
|
286
|
+
title: {},
|
|
287
|
+
trend: { default: null },
|
|
288
|
+
trendDirection: { default: "positive" },
|
|
289
|
+
secondaryTrend: { default: null },
|
|
290
|
+
secondaryTrendDirection: { default: "positive" },
|
|
291
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
292
|
+
underlineTooltipText: { default: null }
|
|
293
|
+
},
|
|
294
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
295
|
+
setup(l) {
|
|
296
|
+
const u = k(), a = z(u);
|
|
297
|
+
return (e, n) => (d(), m(o(D), {
|
|
298
|
+
"item-type": "numeric",
|
|
299
|
+
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
300
|
+
title: e.title,
|
|
301
|
+
copy: e.copy,
|
|
302
|
+
"fit-content": e.fitContent,
|
|
303
|
+
size: e.size,
|
|
304
|
+
trend: e.trend,
|
|
305
|
+
"trend-direction": e.trendDirection,
|
|
306
|
+
"secondary-trend": e.secondaryTrend,
|
|
307
|
+
"secondary-trend-direction": e.secondaryTrendDirection,
|
|
308
|
+
"underline-popover-size": e.underlinePopoverSize,
|
|
309
|
+
"underline-tooltip-text": e.underlineTooltipText,
|
|
310
|
+
class: "b-summary-grid-item-numeric",
|
|
311
|
+
onCopyClick: n[0] || (n[0] = (r) => e.$emit("copy-click", r)),
|
|
312
|
+
onInfoIconMouseenter: n[1] || (n[1] = (r) => e.$emit("info-icon-mouseenter", r))
|
|
313
|
+
}, I({
|
|
314
|
+
default: i(() => [
|
|
315
|
+
g(" " + f(e.label) + " ", 1)
|
|
316
|
+
]),
|
|
317
|
+
_: 2
|
|
318
|
+
}, [
|
|
319
|
+
o(a)("dashed-underline") ? {
|
|
320
|
+
name: "dashed-underline",
|
|
321
|
+
fn: i(() => [
|
|
322
|
+
c(e.$slots, "dashed-underline")
|
|
323
|
+
]),
|
|
324
|
+
key: "0"
|
|
325
|
+
} : void 0,
|
|
326
|
+
e.secondaryMetric ? {
|
|
327
|
+
name: "secondary",
|
|
328
|
+
fn: i(() => [
|
|
329
|
+
g(f(e.secondaryMetric), 1)
|
|
330
|
+
]),
|
|
331
|
+
key: "1"
|
|
332
|
+
} : void 0
|
|
333
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
334
|
+
}
|
|
335
|
+
}), ve = {
|
|
336
|
+
i18n: {}
|
|
337
|
+
}, Le = /* @__PURE__ */ b({
|
|
338
|
+
...ve,
|
|
339
|
+
__name: "summary-grid-item-percentage",
|
|
340
|
+
props: {
|
|
341
|
+
label: {},
|
|
342
|
+
secondaryMetric: { default: null },
|
|
343
|
+
copy: { default: void 0 },
|
|
344
|
+
fitContent: { type: Boolean, default: !1 },
|
|
345
|
+
infoIconTooltipText: { default: null },
|
|
346
|
+
size: { default: "small" },
|
|
347
|
+
title: {},
|
|
348
|
+
trend: { default: null },
|
|
349
|
+
trendDirection: { default: "positive" },
|
|
350
|
+
secondaryTrend: { default: null },
|
|
351
|
+
secondaryTrendDirection: { default: "positive" },
|
|
352
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
353
|
+
underlineTooltipText: { default: null }
|
|
354
|
+
},
|
|
355
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
356
|
+
setup(l) {
|
|
357
|
+
const { locale: u } = ee(), a = l, e = k(), n = z(e), r = {
|
|
358
|
+
style: "percent",
|
|
359
|
+
maximumFractionDigits: 2
|
|
360
|
+
}, h = (t) => t != null && t !== "" && !isNaN(Number(t)), T = (t) => t && h(t) ? new Intl.NumberFormat(u.value, r).format(Number(t) / 100) : t, p = v(() => T(a.label)), $ = v(() => T(a.secondaryMetric));
|
|
361
|
+
return (t, y) => (d(), m(o(D), {
|
|
362
|
+
"item-type": "percentage",
|
|
363
|
+
"info-icon-tooltip-text": t.infoIconTooltipText,
|
|
364
|
+
title: t.title,
|
|
365
|
+
copy: t.copy,
|
|
366
|
+
"fit-content": t.fitContent,
|
|
367
|
+
size: t.size,
|
|
368
|
+
trend: t.trend,
|
|
369
|
+
"trend-direction": t.trendDirection,
|
|
370
|
+
"secondary-trend": t.secondaryTrend,
|
|
371
|
+
"secondary-trend-direction": t.secondaryTrendDirection,
|
|
372
|
+
"underline-popover-size": t.underlinePopoverSize,
|
|
373
|
+
"underline-tooltip-text": t.underlineTooltipText,
|
|
374
|
+
class: "b-summary-grid-item-percentage",
|
|
375
|
+
onCopyClick: y[0] || (y[0] = (S) => t.$emit("copy-click", S)),
|
|
376
|
+
onInfoIconMouseenter: y[1] || (y[1] = (S) => t.$emit("info-icon-mouseenter", S))
|
|
377
|
+
}, I({
|
|
378
|
+
default: i(() => [
|
|
379
|
+
g(" " + f(p.value) + " ", 1)
|
|
380
|
+
]),
|
|
381
|
+
_: 2
|
|
382
|
+
}, [
|
|
383
|
+
o(n)("dashed-underline") ? {
|
|
384
|
+
name: "dashed-underline",
|
|
385
|
+
fn: i(() => [
|
|
386
|
+
c(t.$slots, "dashed-underline")
|
|
387
|
+
]),
|
|
388
|
+
key: "0"
|
|
389
|
+
} : void 0,
|
|
390
|
+
t.secondaryMetric ? {
|
|
391
|
+
name: "secondary",
|
|
392
|
+
fn: i(() => [
|
|
393
|
+
g(f($.value), 1)
|
|
394
|
+
]),
|
|
395
|
+
key: "1"
|
|
396
|
+
} : void 0
|
|
397
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-popover-size", "underline-tooltip-text"]));
|
|
398
|
+
}
|
|
399
|
+
}), Te = {}, Re = /* @__PURE__ */ b({
|
|
400
|
+
...Te,
|
|
401
|
+
__name: "summary-grid-item-text",
|
|
402
|
+
props: {
|
|
403
|
+
copy: { default: void 0 },
|
|
404
|
+
fitContent: { type: Boolean, default: !1 },
|
|
405
|
+
infoIconTooltipText: { default: null },
|
|
406
|
+
label: {},
|
|
407
|
+
title: {},
|
|
408
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
409
|
+
underlineTooltipText: { default: null }
|
|
410
|
+
},
|
|
411
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
412
|
+
setup(l) {
|
|
413
|
+
const u = k(), a = z(u);
|
|
414
|
+
return (e, n) => (d(), m(o(D), {
|
|
415
|
+
"item-type": "text",
|
|
416
|
+
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
417
|
+
title: e.title,
|
|
418
|
+
copy: e.copy,
|
|
419
|
+
"fit-content": e.fitContent,
|
|
420
|
+
"underline-popover-size": e.underlinePopoverSize,
|
|
421
|
+
"underline-tooltip-text": e.underlineTooltipText,
|
|
422
|
+
class: "b-summary-grid-item-text",
|
|
423
|
+
onCopyClick: n[0] || (n[0] = (r) => e.$emit("copy-click", r)),
|
|
424
|
+
onInfoIconMouseenter: n[1] || (n[1] = (r) => e.$emit("info-icon-mouseenter", r))
|
|
425
|
+
}, I({
|
|
426
|
+
default: i(() => [
|
|
427
|
+
g(" " + f(e.label), 1)
|
|
428
|
+
]),
|
|
429
|
+
_: 2
|
|
430
|
+
}, [
|
|
431
|
+
o(a)("dashed-underline") ? {
|
|
432
|
+
name: "dashed-underline",
|
|
433
|
+
fn: i(() => [
|
|
434
|
+
c(e.$slots, "dashed-underline")
|
|
435
|
+
]),
|
|
436
|
+
key: "0"
|
|
437
|
+
} : void 0
|
|
438
|
+
]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "underline-popover-size", "underline-tooltip-text"]));
|
|
439
|
+
}
|
|
440
|
+
}), $e = {}, Ae = /* @__PURE__ */ b({
|
|
441
|
+
...$e,
|
|
442
|
+
__name: "summary-grid-item-custom",
|
|
443
|
+
props: {
|
|
444
|
+
copy: { default: void 0 },
|
|
445
|
+
infoIconTooltipText: { default: null },
|
|
446
|
+
title: {},
|
|
447
|
+
fitContent: { type: Boolean, default: !1 },
|
|
448
|
+
underlinePopoverSize: { default: "fit-content" },
|
|
449
|
+
underlineTooltipText: { default: null }
|
|
450
|
+
},
|
|
451
|
+
emits: ["copy-click", "info-icon-mouseenter"],
|
|
452
|
+
setup(l) {
|
|
453
|
+
const u = k(), a = z(u);
|
|
454
|
+
return (e, n) => (d(), m(o(D), {
|
|
455
|
+
title: e.title,
|
|
456
|
+
"info-icon-tooltip-text": e.infoIconTooltipText,
|
|
457
|
+
copy: e.copy,
|
|
458
|
+
"fit-content": e.fitContent,
|
|
459
|
+
"underline-popover-size": e.underlinePopoverSize,
|
|
460
|
+
"underline-tooltip-text": e.underlineTooltipText,
|
|
461
|
+
onCopyClick: n[0] || (n[0] = (r) => e.$emit("copy-click", r)),
|
|
462
|
+
onInfoIconMouseenter: n[1] || (n[1] = (r) => e.$emit("info-icon-mouseenter", r))
|
|
463
|
+
}, I({
|
|
464
|
+
default: i(() => [
|
|
465
|
+
c(e.$slots, "default")
|
|
466
|
+
]),
|
|
467
|
+
_: 2
|
|
468
|
+
}, [
|
|
469
|
+
o(a)("dashed-underline") ? {
|
|
470
|
+
name: "dashed-underline",
|
|
471
|
+
fn: i(() => [
|
|
472
|
+
c(e.$slots, "dashed-underline")
|
|
473
|
+
]),
|
|
474
|
+
key: "0"
|
|
475
|
+
} : void 0
|
|
476
|
+
]), 1032, ["title", "info-icon-tooltip-text", "copy", "fit-content", "underline-popover-size", "underline-tooltip-text"]));
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
var ge = /* @__PURE__ */ ((l) => (l.SMALL = "small", l.MEDIUM = "medium", l.LARGE = "large", l))(ge || {}), be = /* @__PURE__ */ ((l) => (l.POSITIVE = "positive", l.NEGATIVE = "negative", l.NEUTRAL = "neutral", l))(be || {});
|
|
480
|
+
export {
|
|
481
|
+
ge as B,
|
|
482
|
+
Ee as _,
|
|
483
|
+
Ne as a,
|
|
484
|
+
Le as b,
|
|
485
|
+
Re as c,
|
|
486
|
+
Ae as d,
|
|
487
|
+
be as e,
|
|
488
|
+
Be as s
|
|
489
|
+
};
|
|
490
|
+
//# sourceMappingURL=summary-grid.types.CoSCUI1V.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"summary-grid.types.CoSCUI1V.js","sources":["../../../vue2/src/components/summary-grid/summary-grid.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue","../../../vue2/src/components/summary-grid/summary-grid.types.ts"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { onMounted, provide, toRef, useSlots } from 'vue';\n import type { BentoSummaryGridLayout, BentoSummaryGridProps } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { useHasSlot } from '@/composables';\n import {\n SUMMARY_GRID_LAYOUT_INJECTION_KEY,\n SUMMARY_GRID_SLASHED_ZERO,\n } from '@/components/summary-grid/summary-grid.keys';\n\n const props = withDefaults(defineProps<BentoSummaryGridProps>(), {\n columnWidth: null,\n slashedZero: false,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n }\n\n onMounted(() => {\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n });\n\n const registerComponentsInSummaryGrid: BentoSummaryGridLayout = () => {\n const isSummaryGridLayout = true;\n return { isSummaryGridLayout };\n };\n\n provide(SUMMARY_GRID_LAYOUT_INJECTION_KEY, registerComponentsInSummaryGrid);\n provide(SUMMARY_GRID_SLASHED_ZERO, toRef(props, 'slashedZero'));\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","<template>\n <div class=\"b-summary-grid-item\" :class=\"conditionalClasses\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography class=\"b-summary-grid-item__title\" el=\"span\" variant=\"body\">\n <bento-dashed-underline\n v-if=\"withUnderline\"\n :tooltip-text=\"underlineTooltipText\"\n :popover-size=\"underlinePopoverSize\"\n >\n {{ title }}\n <template v-if=\"hasSlot('dashed-underline')\" #popover-content>\n <slot name=\"dashed-underline\"></slot>\n </template>\n </bento-dashed-underline>\n <template v-else>\n {{ title }}\n </template>\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" @click=\"$emit('copy-click', $event)\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n tooltip-position=\"top\"\n class=\"b-summary-grid-item__title-tooltip\"\n @mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n />\n </div>\n </div>\n <bento-typography\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n el=\"span\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== 'text'\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n <bento-typography\n v-if=\"hasSlot('secondary')\"\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n el=\"span\"\n variant=\"caption\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, toRefs, useSlots } from 'vue';\n\n // Components\n import { BentoDashedUnderline } from '@/components/dashed-underline';\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, type BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, type BentoTagVariant } from '@/components/tag';\n import { Copy } from '@/internal';\n\n // Utils\n import { useHasSlot } from '@/composables';\n\n // Types\n import { SUMMARY_GRID_SLASHED_ZERO } from '@/components/summary-grid/summary-grid.keys';\n import type { BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';\n import type { BentoSummaryGridItemEvents, BentoSummaryGridItemProps } from './summary-grid-item.types';\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n const props = withDefaults(defineProps<BentoSummaryGridItemProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n itemType: 'custom',\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n const hasSlashedZero = inject(SUMMARY_GRID_SLASHED_ZERO, ref(false));\n\n const tagVariantColor = (direction: `${BentoSummaryGridItemTrendDirection}`): `${BentoTagVariant}` => {\n switch (direction) {\n case 'positive':\n return 'green';\n case 'negative':\n return 'red';\n default:\n return 'blue';\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const typographyContentElement = computed<`${BentoTypographyVariant}`>(() => {\n if (size.value === 'small') {\n return 'body';\n }\n if (itemType.value !== 'text') {\n return 'title';\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === 'large',\n strongest: size.value === 'small',\n wide: size.value === 'small',\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const conditionalClasses = computed(() => ({ 'b-summary-grid-item--slashed-zero': hasSlashedZero.value }));\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n const withUnderline = computed(() => props.underlineTooltipText || hasSlot('dashed-underline'));\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"amount\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-amount\"\n @copy-click=\"$emit('copy-click', $event)\"\n @info-icon-mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { BentoSummaryGridItemEvents, SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemAmountProps } from './summary-grid-item-amount.types';\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n withDefaults(defineProps<BentoSummaryGridItemAmountProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryLabel: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n item-type=\"numeric\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-numeric\"\n @copy-click=\"$emit('copy-click', $event)\"\n @info-icon-mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { BentoSummaryGridItemEvents, SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemNumericProps } from './summary-grid-item-numeric.types';\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n withDefaults(defineProps<BentoSummaryGridItemNumericProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n","<template>\n <summary-grid-item\n item-type=\"percentage\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-percentage\"\n @copy-click=\"$emit('copy-click', $event)\"\n @info-icon-mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ computedLabelPercentage }}\n <template v-if=\"secondaryMetric\" #secondary> {{ computedSecondaryMetricPercentage }} </template>\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoSummaryGridItemEvents, SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import type { BentoSummaryGridItemPercentageProps } from './summary-grid-item-percentage.types';\n import type { NumberFormatOptions } from 'vue-i18n';\n\n const { locale } = useI18n();\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n const props = withDefaults(defineProps<BentoSummaryGridItemPercentageProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n secondaryMetric: null,\n secondaryTrend: null,\n secondaryTrendDirection: 'positive',\n size: 'small',\n trend: null,\n trendDirection: 'positive',\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const percentageArgs: NumberFormatOptions = {\n style: 'percent',\n maximumFractionDigits: 2,\n };\n\n const isNumeric = (value: string | number) => value != null && value !== '' && !isNaN(Number(value));\n const convertToPercentIfNumber = (value: string | number) => {\n if (value && isNumeric(value)) {\n return new Intl.NumberFormat(locale.value, percentageArgs).format(Number(value) / 100);\n }\n return value;\n };\n\n const computedLabelPercentage = computed(() => convertToPercentIfNumber(props.label));\n const computedSecondaryMetricPercentage = computed(() => convertToPercentIfNumber(props.secondaryMetric));\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * trend-direction=\"neutral\"\n * size=\"medium\"\n * />\n * `\n * }\n */\n export default {\n i18n: {},\n };\n</script>\n","<template>\n <summary-grid-item\n item-type=\"text\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n class=\"b-summary-grid-item-text\"\n @copy-click=\"$emit('copy-click', $event)\"\n @info-icon-mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { BentoSummaryGridItemEvents, SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n\n import type { BentoSummaryGridItemTextProps } from './summary-grid-item-text.types';\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n withDefaults(defineProps<BentoSummaryGridItemTextProps>(), {\n copy: undefined,\n fitContent: false,\n infoIconTooltipText: null,\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :underline-popover-size=\"underlinePopoverSize\"\n :underline-tooltip-text=\"underlineTooltipText\"\n @copy-click=\"$emit('copy-click', $event)\"\n @info-icon-mouseenter=\"$emit('info-icon-mouseenter', $event)\"\n >\n <template v-if=\"hasSlot('dashed-underline')\" #dashed-underline>\n <slot name=\"dashed-underline\" />\n </template>\n <slot />\n </summary-grid-item>\n</template>\n\n<script setup lang=\"ts\">\n import { useSlots } from 'vue';\n import { BentoSummaryGridItemEvents, SummaryGridItem } from '../summary-grid-item';\n import { useHasSlot } from '@/composables';\n import type { BentoSummaryGridItemCustomProps } from './summary-grid-item-custom.types';\n\n defineEmits<BentoSummaryGridItemEvents>();\n\n withDefaults(defineProps<BentoSummaryGridItemCustomProps>(), {\n copy: undefined,\n infoIconTooltipText: null,\n fitContent: false,\n underlinePopoverSize: 'fit-content',\n underlineTooltipText: null,\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default {};\n</script>\n","import { GridLayoutColumnWidths } from '@/components/internal/grid-layout/grid-layout.types';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: GridLayoutColumnWidths;\n row2?: GridLayoutColumnWidths;\n row3?: GridLayoutColumnWidths;\n}\n\nexport type BentoSummaryGridLayout = () => {\n isSummaryGridLayout: boolean;\n};\n\nexport interface BentoSummaryGridProps {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth?: BentoSummaryGridColumnWidth;\n\n /**\n * Renders a font numeric style with slashed zeros instead of normal ones.\n */\n slashedZero?: boolean;\n}\n"],"names":["__default__$6","props","__props","slots","useSlots","hasSlot","useHasSlot","numberOfRows","slotRows","_b","_a","slotName","onMounted","provide","SUMMARY_GRID_LAYOUT_INJECTION_KEY","SUMMARY_GRID_SLASHED_ZERO","toRef","__default__$5","trendDirection","secondaryTrendDirection","itemType","size","toRefs","hasSlashedZero","inject","ref","tagVariantColor","direction","trendVariant","computed","secondaryTrendVariant","typographyContentElement","typographyProps","computedStyles","conditionalClasses","withUnderline","__default__$4","__default__$3","__default__$2","locale","useI18n","percentageArgs","isNumeric","value","convertToPercentIfNumber","computedLabelPercentage","computedSecondaryMetricPercentage","__default__$1","__default__","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2"],"mappings":"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"}
|