@adyen/bento-vue2 1.53.0 → 1.54.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 +1832 -2154
- 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.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.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/input-field-password.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.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/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/summary-grid.css +1 -0
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/textarea.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.Cuktzrp5.js → action-bar.CH1Mswou.js} +5 -5
- package/dist/chunks/{action-bar.Cuktzrp5.js.map → action-bar.CH1Mswou.js.map} +1 -1
- package/dist/chunks/{base-modal.DnaWOvaM.js → base-modal.kHzGyWf6.js} +3 -3
- package/dist/chunks/{base-modal.DnaWOvaM.js.map → base-modal.kHzGyWf6.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.twMFsb82.js → button-actions-with-menu.mqNecwDb.js} +5 -5
- package/dist/chunks/{button-actions-with-menu.twMFsb82.js.map → button-actions-with-menu.mqNecwDb.js.map} +1 -1
- package/dist/chunks/{button-actions.DAvSJtOB.js → button-actions.XlUhz42n.js} +42 -100
- package/dist/chunks/{button-actions.DAvSJtOB.js.map → button-actions.XlUhz42n.js.map} +1 -1
- package/dist/chunks/{calendar.CJToU_uI.js → calendar.D4dMXwc0.js} +4 -4
- package/dist/chunks/{calendar.CJToU_uI.js.map → calendar.D4dMXwc0.js.map} +1 -1
- package/dist/chunks/{card.AQO_BjGb.js → card.BT04hjvV.js} +2 -2
- package/dist/chunks/{card.AQO_BjGb.js.map → card.BT04hjvV.js.map} +1 -1
- package/dist/chunks/{checkbox-group.DkM6n3JR.js → checkbox-group.DZF4UIym.js} +4 -4
- package/dist/chunks/{checkbox-group.DkM6n3JR.js.map → checkbox-group.DZF4UIym.js.map} +1 -1
- package/dist/chunks/{checkbox.l7h6GYew.js → checkbox.DloQJI-K.js} +40 -40
- package/dist/chunks/checkbox.DloQJI-K.js.map +1 -0
- package/dist/chunks/{code-snippet.BsEe6nml.js → code-snippet.B3GhZo7r.js} +5 -5
- package/dist/chunks/{code-snippet.BsEe6nml.js.map → code-snippet.B3GhZo7r.js.map} +1 -1
- package/dist/chunks/{controls-group.vFyThDMU.js → controls-group.C-HKhH1m.js} +2 -2
- package/dist/chunks/{controls-group.vFyThDMU.js.map → controls-group.C-HKhH1m.js.map} +1 -1
- package/dist/chunks/{copy.DD_Yfyn_.js → copy.k18tXmP1.js} +3 -3
- package/dist/chunks/{copy.DD_Yfyn_.js.map → copy.k18tXmP1.js.map} +1 -1
- package/dist/chunks/{dashboard-section.z-Rnv5E-.js → dashboard-section.DlIwNKkx.js} +4 -4
- package/dist/chunks/{dashboard-section.z-Rnv5E-.js.map → dashboard-section.DlIwNKkx.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CfQuYKV9.js → dashed-underline.BbQIbZfu.js} +3 -3
- package/dist/chunks/{dashed-underline.CfQuYKV9.js.map → dashed-underline.BbQIbZfu.js.map} +1 -1
- package/dist/chunks/{data-grid-template.73mazFER.js → data-grid-template.BJTWe6Ty.js} +3 -3
- package/dist/chunks/{data-grid-template.73mazFER.js.map → data-grid-template.BJTWe6Ty.js.map} +1 -1
- package/dist/chunks/{data-grid.C_Xoz-GC.js → data-grid.BjtvKzyw.js} +199 -199
- package/dist/chunks/data-grid.BjtvKzyw.js.map +1 -0
- package/dist/chunks/{date-picker.bgk9aymW.js → date-picker.Dy0k-7_1.js} +15 -15
- package/dist/chunks/{date-picker.bgk9aymW.js.map → date-picker.Dy0k-7_1.js.map} +1 -1
- package/dist/chunks/{date-range-picker.-s05jOQA.js → date-range-picker.B_uiZRMc.js} +24 -24
- package/dist/chunks/{date-range-picker.-s05jOQA.js.map → date-range-picker.B_uiZRMc.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.8qh8J-NE.js → dropdown-tag.D3py85f0.js} +4 -4
- package/dist/chunks/{dropdown-tag.8qh8J-NE.js.map → dropdown-tag.D3py85f0.js.map} +1 -1
- package/dist/chunks/{dropdown.DzWXcJyF.js → dropdown.CI6ccgJJ.js} +52 -53
- package/dist/chunks/{dropdown.DzWXcJyF.js.map → dropdown.CI6ccgJJ.js.map} +1 -1
- package/dist/chunks/{error-message.CzQf7YOD.js → error-message.qHRfH-8Y.js} +2 -2
- package/dist/chunks/{error-message.CzQf7YOD.js.map → error-message.qHRfH-8Y.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.CcZPr-jD.js → file-uploader.BOWE87dN.js} +469 -449
- package/dist/chunks/file-uploader.BOWE87dN.js.map +1 -0
- package/dist/chunks/{filter-bar.BdGtQC7p.js → filter-bar.pVpO62X3.js} +633 -627
- package/dist/chunks/filter-bar.pVpO62X3.js.map +1 -0
- package/dist/chunks/{focus-trap.CIUzScHc.js → focus-trap.V3Q8H_5C.js} +2 -2
- package/dist/chunks/{focus-trap.CIUzScHc.js.map → focus-trap.V3Q8H_5C.js.map} +1 -1
- package/dist/chunks/{footer-actions.BkHpWa7A.js → footer-actions.DYi_MR9I.js} +2 -2
- package/dist/chunks/{footer-actions.BkHpWa7A.js.map → footer-actions.DYi_MR9I.js.map} +1 -1
- package/dist/chunks/{header-with-views.ChEgH2tn.js → header-with-views.CLSMOYua.js} +11 -11
- package/dist/chunks/{header-with-views.ChEgH2tn.js.map → header-with-views.CLSMOYua.js.map} +1 -1
- package/dist/chunks/{header.0hX8OYwM.js → header.DWx6s2nt.js} +4 -4
- package/dist/chunks/{header.0hX8OYwM.js.map → header.DWx6s2nt.js.map} +1 -1
- package/dist/chunks/{index.BCUiAdb6.js → index.48Mn1OCp.js} +3 -3
- package/dist/chunks/{index.BCUiAdb6.js.map → index.48Mn1OCp.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.w6MpKOWh.js → info-icon-with-popover.B4wYDzGz.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.w6MpKOWh.js.map → info-icon-with-popover.B4wYDzGz.js.map} +1 -1
- package/dist/chunks/{info-icon.C1ReXurF.js → info-icon.J62KXp9I.js} +3 -3
- package/dist/chunks/{info-icon.C1ReXurF.js.map → info-icon.J62KXp9I.js.map} +1 -1
- package/dist/chunks/input-field-password.D6lhO8b2.js +228 -0
- package/dist/chunks/input-field-password.D6lhO8b2.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.C8WTJ1W-.js → input-field-phone-number.CYRNWZL8.js} +3 -3
- package/dist/chunks/{input-field-phone-number.C8WTJ1W-.js.map → input-field-phone-number.CYRNWZL8.js.map} +1 -1
- package/dist/chunks/{input-field.tP3Eupoo.js → input-field.CsnMZceM.js} +3 -3
- package/dist/chunks/{input-field.tP3Eupoo.js.map → input-field.CsnMZceM.js.map} +1 -1
- package/dist/chunks/inspector.types.Cmq6sdCz.js +105 -0
- package/dist/chunks/inspector.types.Cmq6sdCz.js.map +1 -0
- package/dist/chunks/{layout-row.BgBazwnM.js → layout-row.DWRoI0dm.js} +2 -2
- package/dist/chunks/{layout-row.BgBazwnM.js.map → layout-row.DWRoI0dm.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.T9cfTst7.js → listbox-option-tag.BHI-8rRX.js} +2 -2
- package/dist/chunks/{listbox-option-tag.T9cfTst7.js.map → listbox-option-tag.BHI-8rRX.js.map} +1 -1
- package/dist/chunks/{menu.CY7ceslP.js → menu.BoxhffPs.js} +2 -2
- package/dist/chunks/{menu.CY7ceslP.js.map → menu.BoxhffPs.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Dz5w250z.js → modal-fullscreen.E7e13pW9.js} +3 -3
- package/dist/chunks/{modal-fullscreen.Dz5w250z.js.map → modal-fullscreen.E7e13pW9.js.map} +1 -1
- package/dist/chunks/{modal.CnmRkXZM.js → modal.BUPJIcb6.js} +4 -4
- package/dist/chunks/{modal.CnmRkXZM.js.map → modal.BUPJIcb6.js.map} +1 -1
- package/dist/chunks/{pagination.CvGOUwd8.js → pagination.FBlW1fUz.js} +3 -3
- package/dist/chunks/{pagination.CvGOUwd8.js.map → pagination.FBlW1fUz.js.map} +1 -1
- package/dist/chunks/{payment-method.NZKiNOmM.js → payment-method.Cx4nPDtE.js} +6 -6
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
- package/dist/chunks/{popover.BvsqsZQ1.js → popover.C4PNSrnW.js} +3 -3
- package/dist/chunks/{popover.BvsqsZQ1.js.map → popover.C4PNSrnW.js.map} +1 -1
- package/dist/chunks/{popper-container.LRQgzjRf.js → popper-container.DWY19wS0.js} +2 -2
- package/dist/chunks/{popper-container.LRQgzjRf.js.map → popper-container.DWY19wS0.js.map} +1 -1
- package/dist/chunks/{promo-banner.DDnJwMDC.js → promo-banner.DgCKKp6o.js} +6 -6
- package/dist/chunks/{promo-banner.DDnJwMDC.js.map → promo-banner.DgCKKp6o.js.map} +1 -1
- package/dist/chunks/{radio-group.BvswbJa8.js → radio-group.WbbrQhEO.js} +4 -4
- package/dist/chunks/{radio-group.BvswbJa8.js.map → radio-group.WbbrQhEO.js.map} +1 -1
- package/dist/chunks/{search-bar.kKLreEXo.js → search-bar.CFKWbNeA.js} +3 -3
- package/dist/chunks/{search-bar.kKLreEXo.js.map → search-bar.CFKWbNeA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.C6bfsK2p.js → secondary-nav.C0gPD0MR.js} +3 -3
- package/dist/chunks/{secondary-nav.C6bfsK2p.js.map → secondary-nav.C0gPD0MR.js.map} +1 -1
- package/dist/chunks/{segmented-control.BywW3ont.js → segmented-control.DGNMY2BP.js} +2 -2
- package/dist/chunks/{segmented-control.BywW3ont.js.map → segmented-control.DGNMY2BP.js.map} +1 -1
- package/dist/chunks/{selection-card-group.Ca4G00h5.js → selection-card-group.BmKUEuny.js} +11 -11
- package/dist/chunks/{selection-card-group.Ca4G00h5.js.map → selection-card-group.BmKUEuny.js.map} +1 -1
- package/dist/chunks/{sidepanel.D4H3Vu0m.js → sidepanel.CyhG1nQR.js} +3 -3
- package/dist/chunks/{sidepanel.D4H3Vu0m.js.map → sidepanel.CyhG1nQR.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Bv8reTz2.js → structured-list-item.Co5P9bFC.js} +4 -4
- package/dist/chunks/{structured-list-item.Bv8reTz2.js.map → structured-list-item.Co5P9bFC.js.map} +1 -1
- package/dist/chunks/summary-grid.types.egM7irBt.js +295 -0
- package/dist/chunks/summary-grid.types.egM7irBt.js.map +1 -0
- package/dist/chunks/tabs.C8CgvNt4.js +214 -0
- package/dist/chunks/tabs.C8CgvNt4.js.map +1 -0
- package/dist/chunks/{tag.IyMxowGc.js → tag.CyspYb1E.js} +2 -2
- package/dist/chunks/{tag.IyMxowGc.js.map → tag.CyspYb1E.js.map} +1 -1
- package/dist/chunks/{textarea.B9HjT5LH.js → textarea.CC8esIW6.js} +75 -71
- package/dist/chunks/textarea.CC8esIW6.js.map +1 -0
- package/dist/chunks/{timeline-item.BIwk0vqM.js → timeline-item.Byorbxmc.js} +5 -5
- package/dist/chunks/{timeline-item.BIwk0vqM.js.map → timeline-item.Byorbxmc.js.map} +1 -1
- package/dist/chunks/{tooltip.DShIiBiY.js → tooltip.DOvci5lX.js} +2 -2
- package/dist/chunks/{tooltip.DShIiBiY.js.map → tooltip.DOvci5lX.js.map} +1 -1
- package/dist/chunks/{tutorial.DDlXTjAO.js → tutorial.QwHbq1FO.js} +5 -5
- package/dist/chunks/{tutorial.DDlXTjAO.js.map → tutorial.QwHbq1FO.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.LVldNial.js → use-cached-selected-values.DHpjo2tV.js} +26 -26
- package/dist/chunks/{use-cached-selected-values.LVldNial.js.map → use-cached-selected-values.DHpjo2tV.js.map} +1 -1
- 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/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +49 -49
- 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/inspector.js +1 -1
- package/dist/internal.js +10 -10
- package/dist/layout.js +1 -1
- 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/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +42 -16
- package/dist/styles/bento-light.css +42 -16
- package/dist/styles/bento.css +42 -16
- package/dist/styles/legacy.css +30 -4
- package/dist/styles/styleguide.css +42 -16
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.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 +5535 -5431
- package/package.json +5 -5
- package/dist/assets/summary-grid-item-custom.css +0 -1
- package/dist/chunks/checkbox.l7h6GYew.js.map +0 -1
- package/dist/chunks/data-grid.C_Xoz-GC.js.map +0 -1
- package/dist/chunks/file-uploader.CcZPr-jD.js.map +0 -1
- package/dist/chunks/filter-bar.BdGtQC7p.js.map +0 -1
- package/dist/chunks/input-field-password.CZn4kW8v.js +0 -198
- package/dist/chunks/input-field-password.CZn4kW8v.js.map +0 -1
- package/dist/chunks/inspector.types.A0b4jNO3.js +0 -101
- package/dist/chunks/inspector.types.A0b4jNO3.js.map +0 -1
- package/dist/chunks/payment-method.NZKiNOmM.js.map +0 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js +0 -631
- package/dist/chunks/summary-grid-item-custom.Bbdie4EL.js.map +0 -1
- package/dist/chunks/tabs.UFoTqvew.js +0 -154
- package/dist/chunks/tabs.UFoTqvew.js.map +0 -1
- package/dist/chunks/textarea.B9HjT5LH.js.map +0 -1
|
@@ -1,631 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, provide as S, toRef as M, toRefs as R, inject as D, ref as P, computed as l } from "vue";
|
|
2
|
-
import { u as d } from "./use-has-slot.C9lQZ6nz.js";
|
|
3
|
-
import { S as A, a as h } from "./summary-grid.keys.CxTf_FOc.js";
|
|
4
|
-
import { G as V } from "./grid-layout.HvTAa4to.js";
|
|
5
|
-
import { n as c } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
6
|
-
import { B } from "./dashed-underline.CfQuYKV9.js";
|
|
7
|
-
import { B as k } from "./info-icon.C1ReXurF.js";
|
|
8
|
-
import { B as j, a as T } from "./typography.J1v_SPG3.js";
|
|
9
|
-
import { B as w, a as g } from "./tag.IyMxowGc.js";
|
|
10
|
-
import { C as G } from "./copy.DD_Yfyn_.js";
|
|
11
|
-
import "../assets/summary-grid-item-custom.css";
|
|
12
|
-
const U = u({
|
|
13
|
-
name: "bento-summary-grid",
|
|
14
|
-
components: { GridLayout: V },
|
|
15
|
-
props: {
|
|
16
|
-
/**
|
|
17
|
-
* Sets the responsive columns widths values for 1 of the 3 rows.
|
|
18
|
-
*/
|
|
19
|
-
columnWidth: {
|
|
20
|
-
type: Object,
|
|
21
|
-
default: null
|
|
22
|
-
},
|
|
23
|
-
/**
|
|
24
|
-
* Renders a font numeric style with slashed zeros instead of normal ones.
|
|
25
|
-
*/
|
|
26
|
-
slashedZero: { type: Boolean, default: !1 }
|
|
27
|
-
},
|
|
28
|
-
setup(e, { slots: t }) {
|
|
29
|
-
var a, s;
|
|
30
|
-
let n = 1;
|
|
31
|
-
if (t) {
|
|
32
|
-
const m = (s = (a = Object.keys(t)) == null ? void 0 : a.filter((p) => p.includes("cell-"))) == null ? void 0 : s.map((p) => {
|
|
33
|
-
var f;
|
|
34
|
-
return parseInt((f = p.split("-")) == null ? void 0 : f[1], 10);
|
|
35
|
-
});
|
|
36
|
-
if (n = Math.max(...m), n > 3)
|
|
37
|
-
throw new Error(
|
|
38
|
-
"BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
return S(A, () => ({ isSummaryGridLayout: !0 })), S(h, M(e, "slashedZero")), {
|
|
42
|
-
hasSlot: d(t),
|
|
43
|
-
numberOfRows: n
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
var z = function() {
|
|
48
|
-
var t = this, n = t._self._c;
|
|
49
|
-
return t._self._setupProxy, n("div", { staticClass: "b-summary-grid" }, t._l(t.numberOfRows, function(r) {
|
|
50
|
-
var a;
|
|
51
|
-
return n("grid-layout", { key: `summary-grid-row-${r}`, attrs: { "data-testid": `summary-grid-row-${r}`, "column-width": (a = t.columnWidth) == null ? void 0 : a[`row${r}`] }, scopedSlots: t._u([t.hasSlot(`cell-${r}-1`) ? { key: "col-1", fn: function() {
|
|
52
|
-
return [t._t(`cell-${r}-1`)];
|
|
53
|
-
}, proxy: !0 } : null, t.hasSlot(`cell-${r}-2`) ? { key: "col-2", fn: function() {
|
|
54
|
-
return [t._t(`cell-${r}-2`)];
|
|
55
|
-
}, proxy: !0 } : null, t.hasSlot(`cell-${r}-3`) ? { key: "col-3", fn: function() {
|
|
56
|
-
return [t._t(`cell-${r}-3`)];
|
|
57
|
-
}, proxy: !0 } : null, t.hasSlot(`cell-${r}-4`) ? { key: "col-4", fn: function() {
|
|
58
|
-
return [t._t(`cell-${r}-4`)];
|
|
59
|
-
}, proxy: !0 } : null, t.hasSlot(`cell-${r}-5`) ? { key: "col-5", fn: function() {
|
|
60
|
-
return [t._t(`cell-${r}-5`)];
|
|
61
|
-
}, proxy: !0 } : null, t.hasSlot(`cell-${r}-6`) ? { key: "col-6", fn: function() {
|
|
62
|
-
return [t._t(`cell-${r}-6`)];
|
|
63
|
-
}, proxy: !0 } : null], null, !0) });
|
|
64
|
-
}), 1);
|
|
65
|
-
}, q = [], N = /* @__PURE__ */ c(
|
|
66
|
-
U,
|
|
67
|
-
z,
|
|
68
|
-
q,
|
|
69
|
-
!1,
|
|
70
|
-
null,
|
|
71
|
-
"0612378b"
|
|
72
|
-
);
|
|
73
|
-
const It = N.exports;
|
|
74
|
-
var i = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(i || {}), o = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(o || {}), _ = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(_ || {});
|
|
75
|
-
const F = u({
|
|
76
|
-
name: "summary-grid-item",
|
|
77
|
-
components: { BentoDashedUnderline: B, BentoInfoIcon: k, BentoTypography: j, BentoTag: w, Copy: G },
|
|
78
|
-
props: {
|
|
79
|
-
/**
|
|
80
|
-
* Text to copy to the clipboard
|
|
81
|
-
*/
|
|
82
|
-
copy: { type: String, default: void 0 },
|
|
83
|
-
/**
|
|
84
|
-
* Applies styling based on content type
|
|
85
|
-
*/
|
|
86
|
-
// TODO add text truncation for SummaryGridItemType.TEXT
|
|
87
|
-
itemType: {
|
|
88
|
-
type: String,
|
|
89
|
-
default: _.CUSTOM,
|
|
90
|
-
validator: (e) => Object.values(_).includes(e)
|
|
91
|
-
},
|
|
92
|
-
/**
|
|
93
|
-
* Text showed in the info-icon tooltip on hover
|
|
94
|
-
*/
|
|
95
|
-
infoIconTooltipText: { type: String, default: null },
|
|
96
|
-
/**
|
|
97
|
-
* Text used as a title
|
|
98
|
-
*/
|
|
99
|
-
title: { type: String, required: !0 },
|
|
100
|
-
/**
|
|
101
|
-
* The width of `summary-grid-item` fits its content
|
|
102
|
-
*/
|
|
103
|
-
fitContent: { type: Boolean, default: !1 },
|
|
104
|
-
// amount, percentage and numeric props
|
|
105
|
-
/**
|
|
106
|
-
* Defines the size of the `summary-grid-item` text content
|
|
107
|
-
*/
|
|
108
|
-
// TODO implement logic for Large size
|
|
109
|
-
size: {
|
|
110
|
-
type: String,
|
|
111
|
-
default: i.SMALL,
|
|
112
|
-
validator: (e) => Object.values(i).includes(e)
|
|
113
|
-
},
|
|
114
|
-
/**
|
|
115
|
-
* Shows colored trend label next to text content
|
|
116
|
-
*/
|
|
117
|
-
trend: {
|
|
118
|
-
type: String,
|
|
119
|
-
default: null
|
|
120
|
-
},
|
|
121
|
-
/**
|
|
122
|
-
* Defines the color of trend label
|
|
123
|
-
*/
|
|
124
|
-
trendDirection: {
|
|
125
|
-
type: String,
|
|
126
|
-
default: o.POSITIVE,
|
|
127
|
-
validator: (e) => Object.values(o).includes(e)
|
|
128
|
-
},
|
|
129
|
-
/**
|
|
130
|
-
* Shows colored trend tag next to secondary metric value
|
|
131
|
-
*/
|
|
132
|
-
secondaryTrend: {
|
|
133
|
-
type: String,
|
|
134
|
-
default: null
|
|
135
|
-
},
|
|
136
|
-
/**
|
|
137
|
-
* Defines the color of secondary trend tag
|
|
138
|
-
*/
|
|
139
|
-
secondaryTrendDirection: {
|
|
140
|
-
type: String,
|
|
141
|
-
default: o.POSITIVE,
|
|
142
|
-
validator: (e) => Object.values(o).includes(e)
|
|
143
|
-
},
|
|
144
|
-
/**
|
|
145
|
-
* Text showed in a dashed-underline title tooltip on hover
|
|
146
|
-
*/
|
|
147
|
-
underlineTooltipText: { type: String, default: null }
|
|
148
|
-
},
|
|
149
|
-
setup(e, { slots: t }) {
|
|
150
|
-
const { trendDirection: n, secondaryTrendDirection: r, itemType: a, size: s } = R(e), m = D(h, P(!1)), p = (L) => {
|
|
151
|
-
switch (L) {
|
|
152
|
-
case o.POSITIVE:
|
|
153
|
-
return g.GREEN;
|
|
154
|
-
case o.NEGATIVE:
|
|
155
|
-
return g.RED;
|
|
156
|
-
default:
|
|
157
|
-
return g.BLUE;
|
|
158
|
-
}
|
|
159
|
-
}, f = l(() => p(n.value)), b = l(() => p(r.value)), x = l(() => s.value === i.SMALL ? T.BODY : a.value !== _.TEXT ? T.TITLE : null), C = l(() => ({
|
|
160
|
-
medium: s.value === i.LARGE,
|
|
161
|
-
strongest: s.value === i.SMALL,
|
|
162
|
-
wide: s.value === i.SMALL,
|
|
163
|
-
variant: x.value
|
|
164
|
-
})), I = l(() => e.fitContent ? { width: "fit-content" } : {}), $ = l(() => ({ "b-summary-grid-item--slashed-zero": m.value })), E = l(() => ({
|
|
165
|
-
[`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
|
|
166
|
-
})), v = d(t), O = l(() => e.underlineTooltipText || v("dashed-underline"));
|
|
167
|
-
return {
|
|
168
|
-
// Values
|
|
169
|
-
trendVariant: f,
|
|
170
|
-
secondaryTrendVariant: b,
|
|
171
|
-
typographyProps: C,
|
|
172
|
-
withUnderline: O,
|
|
173
|
-
// Styles
|
|
174
|
-
conditionalClasses: $,
|
|
175
|
-
computedStyles: I,
|
|
176
|
-
summaryBarItemTrendConditionalClasses: E,
|
|
177
|
-
// Utils
|
|
178
|
-
hasSlot: v
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
var Y = function() {
|
|
183
|
-
var t = this, n = t._self._c;
|
|
184
|
-
return t._self._setupProxy, n("div", { staticClass: "b-summary-grid-item", class: t.conditionalClasses, style: t.computedStyles }, [n("div", { staticClass: "b-summary-grid-item__header" }, [n("bento-typography", { staticClass: "b-summary-grid-item__title", attrs: { el: "span", variant: "body" } }, [t.withUnderline ? n("bento-dashed-underline", { attrs: { "tooltip-text": t.underlineTooltipText }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "popover-content", fn: function() {
|
|
185
|
-
return [t._t("dashed-underline")];
|
|
186
|
-
}, proxy: !0 } : null], null, !0) }, [t._v(" " + t._s(t.title) + " ")]) : [t._v(" " + t._s(t.title) + " ")]], 2), n("div", { staticClass: "b-summary-grid-item__title-icons" }, [t.copy ? n("copy", { staticClass: "b-structured-list__icon", attrs: { text: t.copy } }) : t._e(), t.infoIconTooltipText ? n("bento-info-icon", { staticClass: "b-summary-grid-item__title-tooltip", attrs: { "tooltip-text": t.infoIconTooltipText, "tooltip-position": "top" } }) : t._e()], 1)], 1), n("bento-typography", t._b({ staticClass: "b-summary-grid-item__title", attrs: { "data-testid": "summary-grid-item-content-typography", el: "span" } }, "bento-typography", t.typographyProps, !1), [t._t("default"), t.trend && t.itemType !== "text" ? n("bento-tag", { staticClass: "b-summary-grid-item__content-trend", attrs: { variant: t.trendVariant, label: t.trend } }) : t._e()], 2), t.hasSlot("secondary") ? n("bento-typography", { staticClass: "b-summary-grid-item__title", attrs: { "data-testid": "summary-grid-item-secondary-metric-typography", el: "span", variant: "caption", stronger: "" } }, [t._t("secondary"), t.secondaryTrend ? n("bento-tag", { staticClass: "b-summary-grid-item__content-trend", attrs: { variant: t.secondaryTrendVariant, label: t.secondaryTrend } }) : t._e()], 2) : t._e()], 1);
|
|
187
|
-
}, Z = [], H = /* @__PURE__ */ c(
|
|
188
|
-
F,
|
|
189
|
-
Y,
|
|
190
|
-
Z,
|
|
191
|
-
!1,
|
|
192
|
-
null,
|
|
193
|
-
"27d5d7ae"
|
|
194
|
-
);
|
|
195
|
-
const y = H.exports, W = u({
|
|
196
|
-
name: "bento-summary-grid-item-amount",
|
|
197
|
-
components: { SummaryGridItem: y },
|
|
198
|
-
props: {
|
|
199
|
-
/**
|
|
200
|
-
* Text to copy to the clipboard
|
|
201
|
-
*/
|
|
202
|
-
copy: { type: String, default: void 0 },
|
|
203
|
-
/**
|
|
204
|
-
* Amount to be shown as the main value
|
|
205
|
-
*/
|
|
206
|
-
label: {
|
|
207
|
-
type: String,
|
|
208
|
-
required: !0
|
|
209
|
-
},
|
|
210
|
-
/**
|
|
211
|
-
* Adds additional label next to amount content
|
|
212
|
-
*/
|
|
213
|
-
secondaryLabel: {
|
|
214
|
-
type: String,
|
|
215
|
-
default: null
|
|
216
|
-
},
|
|
217
|
-
/**
|
|
218
|
-
* Amount to be shown as the secondary metric value
|
|
219
|
-
*/
|
|
220
|
-
secondaryMetric: {
|
|
221
|
-
type: String,
|
|
222
|
-
default: null
|
|
223
|
-
},
|
|
224
|
-
/**
|
|
225
|
-
* Text used as a title
|
|
226
|
-
*/
|
|
227
|
-
title: {
|
|
228
|
-
type: String,
|
|
229
|
-
required: !0
|
|
230
|
-
},
|
|
231
|
-
/**
|
|
232
|
-
* Text showed in the info-icon tooltip on hover
|
|
233
|
-
*/
|
|
234
|
-
infoIconTooltipText: {
|
|
235
|
-
type: String,
|
|
236
|
-
default: null
|
|
237
|
-
},
|
|
238
|
-
/**
|
|
239
|
-
* The width of `summary-grid-item` fits its content
|
|
240
|
-
*/
|
|
241
|
-
fitContent: {
|
|
242
|
-
type: Boolean,
|
|
243
|
-
default: !1
|
|
244
|
-
},
|
|
245
|
-
/**
|
|
246
|
-
* Shows colored trend label next to main label
|
|
247
|
-
*/
|
|
248
|
-
trend: {
|
|
249
|
-
type: String,
|
|
250
|
-
default: null
|
|
251
|
-
},
|
|
252
|
-
/**
|
|
253
|
-
* Defines the direction (color) of the trend label
|
|
254
|
-
*/
|
|
255
|
-
trendDirection: {
|
|
256
|
-
type: String,
|
|
257
|
-
default: o.POSITIVE,
|
|
258
|
-
validator: (e) => Object.values(o).includes(e)
|
|
259
|
-
},
|
|
260
|
-
/**
|
|
261
|
-
* Shows colored secondary trend tag next to the secondary metric value
|
|
262
|
-
*/
|
|
263
|
-
secondaryTrend: {
|
|
264
|
-
type: String,
|
|
265
|
-
default: null
|
|
266
|
-
},
|
|
267
|
-
/**
|
|
268
|
-
* Defines the direction (color) of the secondary metric's trend tag
|
|
269
|
-
*/
|
|
270
|
-
secondaryTrendDirection: {
|
|
271
|
-
type: String,
|
|
272
|
-
default: o.POSITIVE,
|
|
273
|
-
validator: (e) => Object.values(o).includes(e)
|
|
274
|
-
},
|
|
275
|
-
/**
|
|
276
|
-
* Defines the size of the `summary-grid-item` text content
|
|
277
|
-
*/
|
|
278
|
-
size: {
|
|
279
|
-
type: String,
|
|
280
|
-
default: i.SMALL,
|
|
281
|
-
validator: (e) => Object.values(i).includes(e)
|
|
282
|
-
},
|
|
283
|
-
/**
|
|
284
|
-
* Text showed in the info-icon tooltip on hover
|
|
285
|
-
*/
|
|
286
|
-
underlineTooltipText: { type: String, default: null }
|
|
287
|
-
},
|
|
288
|
-
setup(e, { slots: t }) {
|
|
289
|
-
return { hasSlot: d(t) };
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
var X = function() {
|
|
293
|
-
var t = this, n = t._self._c;
|
|
294
|
-
return t._self._setupProxy, n("summary-grid-item", { staticClass: "b-summary-grid-item-amount", attrs: { "item-type": "amount", "info-icon-tooltip-text": t.infoIconTooltipText, title: t.title, copy: t.copy, "fit-content": t.fitContent, size: t.size, trend: t.trend, "trend-direction": t.trendDirection, "secondary-trend": t.secondaryTrend, "secondary-trend-direction": t.secondaryTrendDirection, "underline-tooltip-text": t.underlineTooltipText }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "dashed-underline", fn: function() {
|
|
295
|
-
return [t._t("dashed-underline")];
|
|
296
|
-
}, proxy: !0 } : null, t.secondaryMetric ? { key: "secondary", fn: function() {
|
|
297
|
-
return [t._v(" " + t._s(t.secondaryMetric) + " ")];
|
|
298
|
-
}, proxy: !0 } : null], null, !0) }, [n("div", { staticClass: "b-summary-grid-item-amount__content" }, [n("div", [t._v(t._s(t.label))]), t.secondaryLabel ? n("div", { staticClass: "b-summary-grid-item-amount__secondary-label" }, [t._v(t._s(t.secondaryLabel))]) : t._e()])]);
|
|
299
|
-
}, J = [], K = /* @__PURE__ */ c(
|
|
300
|
-
W,
|
|
301
|
-
X,
|
|
302
|
-
J,
|
|
303
|
-
!1,
|
|
304
|
-
null,
|
|
305
|
-
"cd530d90"
|
|
306
|
-
);
|
|
307
|
-
const $t = K.exports, Q = u({
|
|
308
|
-
name: "bento-summary-grid-item-numeric",
|
|
309
|
-
components: { SummaryGridItem: y },
|
|
310
|
-
props: {
|
|
311
|
-
/**
|
|
312
|
-
* Text to copy to the clipboard
|
|
313
|
-
*/
|
|
314
|
-
copy: { type: String, default: void 0 },
|
|
315
|
-
/**
|
|
316
|
-
* Amount to be shown as the main value
|
|
317
|
-
*/
|
|
318
|
-
label: {
|
|
319
|
-
type: String,
|
|
320
|
-
required: !0
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
* Amount to be shown as the secondary metric value
|
|
324
|
-
*/
|
|
325
|
-
secondaryMetric: {
|
|
326
|
-
type: String,
|
|
327
|
-
default: null
|
|
328
|
-
},
|
|
329
|
-
/**
|
|
330
|
-
* Text used as a title
|
|
331
|
-
*/
|
|
332
|
-
title: {
|
|
333
|
-
type: String,
|
|
334
|
-
required: !0
|
|
335
|
-
},
|
|
336
|
-
/**
|
|
337
|
-
* Text showed in the info-icon tooltip on hover
|
|
338
|
-
*/
|
|
339
|
-
infoIconTooltipText: {
|
|
340
|
-
type: String,
|
|
341
|
-
default: null
|
|
342
|
-
},
|
|
343
|
-
/**
|
|
344
|
-
* The width of `summary-grid-item` fits its content
|
|
345
|
-
*/
|
|
346
|
-
fitContent: {
|
|
347
|
-
type: Boolean,
|
|
348
|
-
default: !1
|
|
349
|
-
},
|
|
350
|
-
/**
|
|
351
|
-
* Shows colored trend label next to main numeric content
|
|
352
|
-
*/
|
|
353
|
-
trend: {
|
|
354
|
-
type: String,
|
|
355
|
-
default: null
|
|
356
|
-
},
|
|
357
|
-
/**
|
|
358
|
-
* Defines the direction (color) of the trend label
|
|
359
|
-
*/
|
|
360
|
-
trendDirection: {
|
|
361
|
-
type: String,
|
|
362
|
-
default: o.POSITIVE,
|
|
363
|
-
validator: (e) => Object.values(o).includes(e)
|
|
364
|
-
},
|
|
365
|
-
/**
|
|
366
|
-
* Shows colored secondary trend tag next to the secondary metric value
|
|
367
|
-
*/
|
|
368
|
-
secondaryTrend: {
|
|
369
|
-
type: String,
|
|
370
|
-
default: null
|
|
371
|
-
},
|
|
372
|
-
/**
|
|
373
|
-
* Defines the direction (color) of the secondary metric's trend tag
|
|
374
|
-
*/
|
|
375
|
-
secondaryTrendDirection: {
|
|
376
|
-
type: String,
|
|
377
|
-
default: o.POSITIVE,
|
|
378
|
-
validator: (e) => Object.values(o).includes(e)
|
|
379
|
-
},
|
|
380
|
-
/**
|
|
381
|
-
* Defines the size of the `summary-grid-item` text content
|
|
382
|
-
*/
|
|
383
|
-
size: {
|
|
384
|
-
type: String,
|
|
385
|
-
default: i.SMALL,
|
|
386
|
-
validator: (e) => Object.values(i).includes(e)
|
|
387
|
-
},
|
|
388
|
-
/**
|
|
389
|
-
* Text showed in the info-icon tooltip on hover
|
|
390
|
-
*/
|
|
391
|
-
underlineTooltipText: { type: String, default: null }
|
|
392
|
-
},
|
|
393
|
-
setup(e, { slots: t }) {
|
|
394
|
-
return { hasSlot: d(t) };
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
var tt = function() {
|
|
398
|
-
var t = this, n = t._self._c;
|
|
399
|
-
return t._self._setupProxy, n("summary-grid-item", { staticClass: "b-summary-grid-item-numeric", attrs: { "item-type": "numeric", "info-icon-tooltip-text": t.infoIconTooltipText, title: t.title, copy: t.copy, "fit-content": t.fitContent, size: t.size, trend: t.trend, "trend-direction": t.trendDirection, "secondary-trend": t.secondaryTrend, "secondary-trend-direction": t.secondaryTrendDirection, "underline-tooltip-text": t.underlineTooltipText }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "dashed-underline", fn: function() {
|
|
400
|
-
return [t._t("dashed-underline")];
|
|
401
|
-
}, proxy: !0 } : null, t.secondaryMetric ? { key: "secondary", fn: function() {
|
|
402
|
-
return [t._v(" " + t._s(t.secondaryMetric) + " ")];
|
|
403
|
-
}, proxy: !0 } : null], null, !0) }, [t._v(" " + t._s(t.label) + " ")]);
|
|
404
|
-
}, et = [], nt = /* @__PURE__ */ c(
|
|
405
|
-
Q,
|
|
406
|
-
tt,
|
|
407
|
-
et,
|
|
408
|
-
!1,
|
|
409
|
-
null,
|
|
410
|
-
null
|
|
411
|
-
);
|
|
412
|
-
const Et = nt.exports, rt = u({
|
|
413
|
-
name: "bento-summary-grid-item-percentage",
|
|
414
|
-
components: { SummaryGridItem: y },
|
|
415
|
-
props: {
|
|
416
|
-
/**
|
|
417
|
-
* Amount to be shown as the main value
|
|
418
|
-
*/
|
|
419
|
-
label: {
|
|
420
|
-
type: String,
|
|
421
|
-
required: !0
|
|
422
|
-
},
|
|
423
|
-
/**
|
|
424
|
-
* Amount to be shown as the secondary metric value
|
|
425
|
-
*/
|
|
426
|
-
secondaryMetric: {
|
|
427
|
-
type: String,
|
|
428
|
-
default: null
|
|
429
|
-
},
|
|
430
|
-
/**
|
|
431
|
-
* Text used as a title
|
|
432
|
-
*/
|
|
433
|
-
title: {
|
|
434
|
-
type: String,
|
|
435
|
-
required: !0
|
|
436
|
-
},
|
|
437
|
-
/**
|
|
438
|
-
* Text showed in the info-icon tooltip on hover
|
|
439
|
-
*/
|
|
440
|
-
infoIconTooltipText: {
|
|
441
|
-
type: String,
|
|
442
|
-
default: null
|
|
443
|
-
},
|
|
444
|
-
/**
|
|
445
|
-
* Text to copy to the clipboard
|
|
446
|
-
*/
|
|
447
|
-
copy: { type: String, default: void 0 },
|
|
448
|
-
/**
|
|
449
|
-
* The width of `summary-grid-item` fits its content
|
|
450
|
-
*/
|
|
451
|
-
fitContent: {
|
|
452
|
-
type: Boolean,
|
|
453
|
-
default: !1
|
|
454
|
-
},
|
|
455
|
-
/**
|
|
456
|
-
* Shows colored trend label next to text content
|
|
457
|
-
*/
|
|
458
|
-
trend: {
|
|
459
|
-
type: String,
|
|
460
|
-
default: void 0
|
|
461
|
-
},
|
|
462
|
-
/**
|
|
463
|
-
* Defines the direction (color) of the trend label
|
|
464
|
-
*/
|
|
465
|
-
trendDirection: {
|
|
466
|
-
type: String,
|
|
467
|
-
default: o.POSITIVE,
|
|
468
|
-
validator: (e) => Object.values(o).includes(e)
|
|
469
|
-
},
|
|
470
|
-
/**
|
|
471
|
-
* Shows colored secondary trend tag next to the secondary metric value
|
|
472
|
-
*/
|
|
473
|
-
secondaryTrend: {
|
|
474
|
-
type: String,
|
|
475
|
-
default: void 0
|
|
476
|
-
},
|
|
477
|
-
/**
|
|
478
|
-
* Defines the direction (color) of the secondary metric's trend tag
|
|
479
|
-
*/
|
|
480
|
-
secondaryTrendDirection: {
|
|
481
|
-
type: String,
|
|
482
|
-
default: o.POSITIVE,
|
|
483
|
-
validator: (e) => Object.values(o).includes(e)
|
|
484
|
-
},
|
|
485
|
-
/**
|
|
486
|
-
* Defines the size of the `summary-grid-item` text content
|
|
487
|
-
*/
|
|
488
|
-
size: {
|
|
489
|
-
type: String,
|
|
490
|
-
default: i.SMALL,
|
|
491
|
-
validator: (e) => Object.values(i).includes(e)
|
|
492
|
-
},
|
|
493
|
-
/**
|
|
494
|
-
* Text showed in the info-icon tooltip on hover
|
|
495
|
-
*/
|
|
496
|
-
underlineTooltipText: { type: String, default: null }
|
|
497
|
-
},
|
|
498
|
-
setup(e, { slots: t }) {
|
|
499
|
-
return { hasSlot: d(t) };
|
|
500
|
-
}
|
|
501
|
-
});
|
|
502
|
-
var ot = function() {
|
|
503
|
-
var t = this, n = t._self._c;
|
|
504
|
-
return t._self._setupProxy, n("summary-grid-item", { staticClass: "b-summary-grid-item-percentage", attrs: { "item-type": "percentage", "info-icon-tooltip-text": t.infoIconTooltipText, title: t.title, copy: t.copy, "fit-content": t.fitContent, size: t.size, trend: t.trend, "trend-direction": t.trendDirection, "secondary-trend": t.secondaryTrend, "secondary-trend-direction": t.secondaryTrendDirection, "underline-tooltip-text": t.underlineTooltipText }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "dashed-underline", fn: function() {
|
|
505
|
-
return [t._t("dashed-underline")];
|
|
506
|
-
}, proxy: !0 } : null, t.secondaryMetric ? { key: "secondary", fn: function() {
|
|
507
|
-
return [t._v(" " + t._s(t.secondaryMetric) + "% ")];
|
|
508
|
-
}, proxy: !0 } : null], null, !0) }, [t._v(" " + t._s(t.label) + "% ")]);
|
|
509
|
-
}, it = [], lt = /* @__PURE__ */ c(
|
|
510
|
-
rt,
|
|
511
|
-
ot,
|
|
512
|
-
it,
|
|
513
|
-
!1,
|
|
514
|
-
null,
|
|
515
|
-
null
|
|
516
|
-
);
|
|
517
|
-
const Ot = lt.exports, at = u({
|
|
518
|
-
name: "bento-summary-grid-item-text",
|
|
519
|
-
components: { SummaryGridItem: y },
|
|
520
|
-
props: {
|
|
521
|
-
/**
|
|
522
|
-
* Text to copy to the clipboard
|
|
523
|
-
*/
|
|
524
|
-
copy: { type: String, default: void 0 },
|
|
525
|
-
/**
|
|
526
|
-
* Amount to be shown as the main value
|
|
527
|
-
*/
|
|
528
|
-
label: {
|
|
529
|
-
type: String,
|
|
530
|
-
required: !0
|
|
531
|
-
},
|
|
532
|
-
/**
|
|
533
|
-
* Text used as a title
|
|
534
|
-
*/
|
|
535
|
-
title: {
|
|
536
|
-
type: String,
|
|
537
|
-
required: !0
|
|
538
|
-
},
|
|
539
|
-
/**
|
|
540
|
-
* Text showed in the info-icon tooltip on hover
|
|
541
|
-
*/
|
|
542
|
-
infoIconTooltipText: {
|
|
543
|
-
type: String,
|
|
544
|
-
default: null
|
|
545
|
-
},
|
|
546
|
-
/**
|
|
547
|
-
* The width of `summary-grid-item` fits its content
|
|
548
|
-
*/
|
|
549
|
-
fitContent: {
|
|
550
|
-
type: Boolean,
|
|
551
|
-
default: !1
|
|
552
|
-
},
|
|
553
|
-
/**
|
|
554
|
-
* Text showed in the info-icon tooltip on hover
|
|
555
|
-
*/
|
|
556
|
-
underlineTooltipText: { type: String, default: null }
|
|
557
|
-
},
|
|
558
|
-
setup(e, { slots: t }) {
|
|
559
|
-
return { hasSlot: d(t) };
|
|
560
|
-
}
|
|
561
|
-
});
|
|
562
|
-
var st = function() {
|
|
563
|
-
var t = this, n = t._self._c;
|
|
564
|
-
return t._self._setupProxy, n("summary-grid-item", { staticClass: "b-summary-grid-item-text", attrs: { "item-type": "text", "info-icon-tooltip-text": t.infoIconTooltipText, title: t.title, copy: t.copy, "fit-content": t.fitContent, "underline-tooltip-text": t.underlineTooltipText }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "dashed-underline", fn: function() {
|
|
565
|
-
return [t._t("dashed-underline")];
|
|
566
|
-
}, proxy: !0 } : null], null, !0) }, [t._v(" " + t._s(t.label) + " ")]);
|
|
567
|
-
}, ut = [], dt = /* @__PURE__ */ c(
|
|
568
|
-
at,
|
|
569
|
-
st,
|
|
570
|
-
ut,
|
|
571
|
-
!1,
|
|
572
|
-
null,
|
|
573
|
-
null
|
|
574
|
-
);
|
|
575
|
-
const Lt = dt.exports, ct = u({
|
|
576
|
-
name: "bento-summary-grid-item-custom",
|
|
577
|
-
components: { SummaryGridItem: y },
|
|
578
|
-
props: {
|
|
579
|
-
/**
|
|
580
|
-
* Text to copy to the clipboard
|
|
581
|
-
*/
|
|
582
|
-
copy: { type: String, default: void 0 },
|
|
583
|
-
/**
|
|
584
|
-
* Text showed in the info-icon tooltip on hover
|
|
585
|
-
*/
|
|
586
|
-
infoIconTooltipText: { type: String, default: null },
|
|
587
|
-
/**
|
|
588
|
-
* Text used as a title
|
|
589
|
-
*/
|
|
590
|
-
title: { type: String, required: !0 },
|
|
591
|
-
/**
|
|
592
|
-
* The width of `summary-grid-item` fits its content
|
|
593
|
-
*/
|
|
594
|
-
fitContent: { type: Boolean, default: !1 },
|
|
595
|
-
/**
|
|
596
|
-
* Text showed in the info-icon tooltip on hover
|
|
597
|
-
*/
|
|
598
|
-
underlineTooltipText: { type: String, default: null }
|
|
599
|
-
},
|
|
600
|
-
emits: ["copy-to-clipboard"],
|
|
601
|
-
setup(e, { slots: t }) {
|
|
602
|
-
return { hasSlot: d(t) };
|
|
603
|
-
}
|
|
604
|
-
});
|
|
605
|
-
var pt = function() {
|
|
606
|
-
var t = this, n = t._self._c;
|
|
607
|
-
return t._self._setupProxy, n("summary-grid-item", { attrs: { title: t.title, "info-icon-tooltip-text": t.infoIconTooltipText, copy: t.copy, "fit-content": t.fitContent, "underline-tooltip-text": t.underlineTooltipText }, on: { "copy-to-clipoard": function(r) {
|
|
608
|
-
return t.$emit("copy-to-clipboard");
|
|
609
|
-
} }, scopedSlots: t._u([t.hasSlot("dashed-underline") ? { key: "dashed-underline", fn: function() {
|
|
610
|
-
return [t._t("dashed-underline")];
|
|
611
|
-
}, proxy: !0 } : null], null, !0) }, [t._t("default")], 2);
|
|
612
|
-
}, yt = [], mt = /* @__PURE__ */ c(
|
|
613
|
-
ct,
|
|
614
|
-
pt,
|
|
615
|
-
yt,
|
|
616
|
-
!1,
|
|
617
|
-
null,
|
|
618
|
-
null
|
|
619
|
-
);
|
|
620
|
-
const Mt = mt.exports;
|
|
621
|
-
export {
|
|
622
|
-
i as B,
|
|
623
|
-
$t as a,
|
|
624
|
-
Et as b,
|
|
625
|
-
Ot as c,
|
|
626
|
-
Lt as d,
|
|
627
|
-
Mt as e,
|
|
628
|
-
o as f,
|
|
629
|
-
It as s
|
|
630
|
-
};
|
|
631
|
-
//# sourceMappingURL=summary-grid-item-custom.Bbdie4EL.js.map
|