@adyen/bento-vue3 1.52.0 → 1.53.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.
Files changed (202) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/index.d.ts +474 -75
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/checkbox.css +1 -1
  9. package/dist/assets/dashed-underline.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/dropdown.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/filter-bar.css +1 -1
  15. package/dist/assets/header-with-views.css +1 -0
  16. package/dist/assets/input-field-password.css +1 -1
  17. package/dist/assets/inspector.css +1 -1
  18. package/dist/assets/menu.css +1 -1
  19. package/dist/assets/modal-fullscreen.css +1 -1
  20. package/dist/assets/popover.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/assets/summary-grid-item-custom.css +1 -1
  23. package/dist/assets/use-cached-selected-values.css +1 -1
  24. package/dist/checkbox.js +2 -2
  25. package/dist/chunks/{action-bar.eo5EXYmg.js → action-bar.PIz6tShf.js} +4 -4
  26. package/dist/chunks/{action-bar.eo5EXYmg.js.map → action-bar.PIz6tShf.js.map} +1 -1
  27. package/dist/chunks/{base-modal.BlC6TZNz.js → base-modal.D4INiJGX.js} +3 -3
  28. package/dist/chunks/{base-modal.BlC6TZNz.js.map → base-modal.D4INiJGX.js.map} +1 -1
  29. package/dist/chunks/bin.CA6UQCNZ.js +37 -0
  30. package/dist/chunks/bin.CA6UQCNZ.js.map +1 -0
  31. package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js → button-actions-with-menu.DFD7gbdT.js} +4 -4
  32. package/dist/chunks/{button-actions-with-menu.DQaq1bkf.js.map → button-actions-with-menu.DFD7gbdT.js.map} +1 -1
  33. package/dist/chunks/{calendar.D2X834TU.js → calendar.DKHNrb9_.js} +2 -2
  34. package/dist/chunks/{calendar.D2X834TU.js.map → calendar.DKHNrb9_.js.map} +1 -1
  35. package/dist/chunks/{checkbox-group.BVJfN48k.js → checkbox-group.X2fi2jkS.js} +4 -4
  36. package/dist/chunks/{checkbox-group.BVJfN48k.js.map → checkbox-group.X2fi2jkS.js.map} +1 -1
  37. package/dist/chunks/{checkbox.erdZ58Kk.js → checkbox.CXZQtFhM.js} +81 -74
  38. package/dist/chunks/checkbox.CXZQtFhM.js.map +1 -0
  39. package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
  40. package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
  41. package/dist/chunks/{code-snippet.Bb4_r0C8.js → code-snippet.CcdsPxT7.js} +5 -5
  42. package/dist/chunks/{code-snippet.Bb4_r0C8.js.map → code-snippet.CcdsPxT7.js.map} +1 -1
  43. package/dist/chunks/{controls-group.BaDhGB9H.js → controls-group.ClMNznTz.js} +2 -2
  44. package/dist/chunks/{controls-group.BaDhGB9H.js.map → controls-group.ClMNznTz.js.map} +1 -1
  45. package/dist/chunks/{copy.gmSTAqHY.js → copy.BYG9aoNO.js} +2 -2
  46. package/dist/chunks/{copy.gmSTAqHY.js.map → copy.BYG9aoNO.js.map} +1 -1
  47. package/dist/chunks/{dashboard-section.MAHmbUDG.js → dashboard-section.Dz9GpOvy.js} +3 -3
  48. package/dist/chunks/{dashboard-section.MAHmbUDG.js.map → dashboard-section.Dz9GpOvy.js.map} +1 -1
  49. package/dist/chunks/{dashed-underline.DY8xR9GH.js → dashed-underline.BuCIjMch.js} +11 -11
  50. package/dist/chunks/{dashed-underline.DY8xR9GH.js.map → dashed-underline.BuCIjMch.js.map} +1 -1
  51. package/dist/chunks/{data-grid-template.Dievz913.js → data-grid-template.B4jxtwoW.js} +2 -2
  52. package/dist/chunks/{data-grid-template.Dievz913.js.map → data-grid-template.B4jxtwoW.js.map} +1 -1
  53. package/dist/chunks/{data-grid.KZqjmRvk.js → data-grid.CLu8mvil.js} +29 -17
  54. package/dist/chunks/data-grid.CLu8mvil.js.map +1 -0
  55. package/dist/chunks/{date-picker.BWJYkSmo.js → date-picker.CA2i6QxD.js} +17 -17
  56. package/dist/chunks/{date-picker.BWJYkSmo.js.map → date-picker.CA2i6QxD.js.map} +1 -1
  57. package/dist/chunks/{date-range-picker.1Vbf9Zk8.js → date-range-picker.DVQ-j-JX.js} +25 -25
  58. package/dist/chunks/{date-range-picker.1Vbf9Zk8.js.map → date-range-picker.DVQ-j-JX.js.map} +1 -1
  59. package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
  60. package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
  61. package/dist/chunks/{dropdown-tag.C9nM0YHC.js → dropdown-tag.DFWV7Zj_.js} +3 -3
  62. package/dist/chunks/{dropdown-tag.C9nM0YHC.js.map → dropdown-tag.DFWV7Zj_.js.map} +1 -1
  63. package/dist/chunks/{dropdown.qw5oXFYs.js → dropdown.RVt9T6j5.js} +115 -105
  64. package/dist/chunks/dropdown.RVt9T6j5.js.map +1 -0
  65. package/dist/chunks/{error-message.DAjisbU1.js → error-message.BQ5MlnLg.js} +2 -2
  66. package/dist/chunks/{error-message.DAjisbU1.js.map → error-message.BQ5MlnLg.js.map} +1 -1
  67. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  68. package/dist/chunks/{file-uploader.BLJpDgAZ.js → file-uploader.DJLGEmtF.js} +464 -475
  69. package/dist/chunks/file-uploader.DJLGEmtF.js.map +1 -0
  70. package/dist/chunks/{filter-bar.DYrXBQDF.js → filter-bar.GGHRoo6O.js} +492 -486
  71. package/dist/chunks/filter-bar.GGHRoo6O.js.map +1 -0
  72. package/dist/chunks/{focus-trap.DMgm-9f7.js → focus-trap.D-HSKa_Q.js} +2 -2
  73. package/dist/chunks/{focus-trap.DMgm-9f7.js.map → focus-trap.D-HSKa_Q.js.map} +1 -1
  74. package/dist/chunks/header-with-views.BkcFu7QW.js +2354 -0
  75. package/dist/chunks/header-with-views.BkcFu7QW.js.map +1 -0
  76. package/dist/chunks/{header.BASKzNwu.js → header.CyTcPWF4.js} +3 -3
  77. package/dist/chunks/{header.BASKzNwu.js.map → header.CyTcPWF4.js.map} +1 -1
  78. package/dist/chunks/index.C5sL_d0I.js +386 -0
  79. package/dist/chunks/{index.CMGT-6mh.js.map → index.C5sL_d0I.js.map} +1 -1
  80. package/dist/chunks/{info-icon-with-popover.BJccyOFx.js → info-icon-with-popover.DgZh2mnN.js} +2 -2
  81. package/dist/chunks/{info-icon-with-popover.BJccyOFx.js.map → info-icon-with-popover.DgZh2mnN.js.map} +1 -1
  82. package/dist/chunks/{info-icon.L8AexnZg.js → info-icon.DxOAiUg4.js} +2 -2
  83. package/dist/chunks/{info-icon.L8AexnZg.js.map → info-icon.DxOAiUg4.js.map} +1 -1
  84. package/dist/chunks/{input-field-password.CZNUHo6s.js → input-field-password.BSJMbPHf.js} +94 -90
  85. package/dist/chunks/input-field-password.BSJMbPHf.js.map +1 -0
  86. package/dist/chunks/{input-field-phone-number.D1zlBh3R.js → input-field-phone-number.BtRMkC84.js} +3 -3
  87. package/dist/chunks/{input-field-phone-number.D1zlBh3R.js.map → input-field-phone-number.BtRMkC84.js.map} +1 -1
  88. package/dist/chunks/{input-field.DqMdqM2u.js → input-field.CRlXtS3z.js} +3 -3
  89. package/dist/chunks/{input-field.DqMdqM2u.js.map → input-field.CRlXtS3z.js.map} +1 -1
  90. package/dist/chunks/{inspector.types.Dwt3V80X.js → inspector.types.s0va--Nn.js} +3 -3
  91. package/dist/chunks/{inspector.types.Dwt3V80X.js.map → inspector.types.s0va--Nn.js.map} +1 -1
  92. package/dist/chunks/{layout-row.Drm_y8e3.js → layout-row.CwwbWO7s.js} +2 -2
  93. package/dist/chunks/{layout-row.Drm_y8e3.js.map → layout-row.CwwbWO7s.js.map} +1 -1
  94. package/dist/chunks/{listbox-option-tag.YSvtcy4P.js → listbox-option-tag.2k0hRv0z.js} +2 -2
  95. package/dist/chunks/{listbox-option-tag.YSvtcy4P.js.map → listbox-option-tag.2k0hRv0z.js.map} +1 -1
  96. package/dist/chunks/{menu.DfzP2nRU.js → menu.DBRBVdsd.js} +106 -105
  97. package/dist/chunks/menu.DBRBVdsd.js.map +1 -0
  98. package/dist/chunks/{modal-fullscreen.T1x_vroe.js → modal-fullscreen.POY-6qYC.js} +2 -2
  99. package/dist/chunks/{modal-fullscreen.T1x_vroe.js.map → modal-fullscreen.POY-6qYC.js.map} +1 -1
  100. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js} +2 -2
  101. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BAuxqA66.js.map → modal.vue_vue_type_script_setup_true_lang.CGV0E6eK.js.map} +1 -1
  102. package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
  103. package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
  104. package/dist/chunks/{pagination.Bt8DNme-.js → pagination.TWtayPVy.js} +2 -2
  105. package/dist/chunks/{pagination.Bt8DNme-.js.map → pagination.TWtayPVy.js.map} +1 -1
  106. package/dist/chunks/{popover.COzLcAET.js → popover.BBnUL5Y_.js} +2 -2
  107. package/dist/chunks/{popover.COzLcAET.js.map → popover.BBnUL5Y_.js.map} +1 -1
  108. package/dist/chunks/{popper-container.CEtaux25.js → popper-container.Be3h7X17.js} +2 -2
  109. package/dist/chunks/{popper-container.CEtaux25.js.map → popper-container.Be3h7X17.js.map} +1 -1
  110. package/dist/chunks/{promo-banner.BCpw2tDD.js → promo-banner.BdaUFMsl.js} +2 -2
  111. package/dist/chunks/{promo-banner.BCpw2tDD.js.map → promo-banner.BdaUFMsl.js.map} +1 -1
  112. package/dist/chunks/{radio-group.rxg-4rF_.js → radio-group.BUazlUAi.js} +4 -4
  113. package/dist/chunks/{radio-group.rxg-4rF_.js.map → radio-group.BUazlUAi.js.map} +1 -1
  114. package/dist/chunks/{search-bar.DlihXfPt.js → search-bar.21CWuOHb.js} +3 -3
  115. package/dist/chunks/{search-bar.DlihXfPt.js.map → search-bar.21CWuOHb.js.map} +1 -1
  116. package/dist/chunks/{secondary-nav.D2loVonk.js → secondary-nav.CUQi4Ybt.js} +3 -3
  117. package/dist/chunks/{secondary-nav.D2loVonk.js.map → secondary-nav.CUQi4Ybt.js.map} +1 -1
  118. package/dist/chunks/{segmented-control.Wn-miTIl.js → segmented-control.BZJ9DzRF.js} +2 -2
  119. package/dist/chunks/{segmented-control.Wn-miTIl.js.map → segmented-control.BZJ9DzRF.js.map} +1 -1
  120. package/dist/chunks/{selection-card-group.CtQaeZFM.js → selection-card-group.Bdrx1b6M.js} +4 -4
  121. package/dist/chunks/{selection-card-group.CtQaeZFM.js.map → selection-card-group.Bdrx1b6M.js.map} +1 -1
  122. package/dist/chunks/{sidepanel.CjaHQEin.js → sidepanel.D_bGUcyi.js} +3 -3
  123. package/dist/chunks/{sidepanel.CjaHQEin.js.map → sidepanel.D_bGUcyi.js.map} +1 -1
  124. package/dist/chunks/{structured-list-item.DAwADFpI.js → structured-list-item.r1jYiX6Y.js} +4 -4
  125. package/dist/chunks/{structured-list-item.DAwADFpI.js.map → structured-list-item.r1jYiX6Y.js.map} +1 -1
  126. package/dist/chunks/{summary-grid-item-custom.DTCzOBBy.js → summary-grid-item-custom.ACP0RH0N.js} +299 -198
  127. package/dist/chunks/summary-grid-item-custom.ACP0RH0N.js.map +1 -0
  128. package/dist/chunks/{tag.B1hW92hG.js → tag.DVkBzXMx.js} +2 -2
  129. package/dist/chunks/{tag.B1hW92hG.js.map → tag.DVkBzXMx.js.map} +1 -1
  130. package/dist/chunks/{teleport.B1NhF5-O.js → teleport.DfTpEQBR.js} +2 -2
  131. package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.DfTpEQBR.js.map} +1 -1
  132. package/dist/chunks/{textarea.DMA29yQA.js → textarea.C8R71Q4l.js} +2 -2
  133. package/dist/chunks/{textarea.DMA29yQA.js.map → textarea.C8R71Q4l.js.map} +1 -1
  134. package/dist/chunks/{timeline-item.kWg3dTy1.js → timeline-item.DBeAlt3N.js} +4 -4
  135. package/dist/chunks/{timeline-item.kWg3dTy1.js.map → timeline-item.DBeAlt3N.js.map} +1 -1
  136. package/dist/chunks/{tooltip.Y730-n-n.js → tooltip.Cbs_YIap.js} +2 -2
  137. package/dist/chunks/{tooltip.Y730-n-n.js.map → tooltip.Cbs_YIap.js.map} +1 -1
  138. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js} +4 -4
  139. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CUmJbMsw.js.map → tutorial.vue_vue_type_script_setup_true_lang.4smMvopK.js.map} +1 -1
  140. package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js → use-cached-selected-values.Chb18cq_.js} +145 -136
  141. package/dist/chunks/{use-cached-selected-values.DDP7LJoI.js.map → use-cached-selected-values.Chb18cq_.js.map} +1 -1
  142. package/dist/click-outside.js +1 -1
  143. package/dist/code-snippet.js +1 -1
  144. package/dist/dashboard-template.js +1 -1
  145. package/dist/dashed-underline.js +2 -2
  146. package/dist/data-grid-template.js +1 -1
  147. package/dist/data-grid.js +1 -1
  148. package/dist/date-picker.js +2 -2
  149. package/dist/date-range-picker.js +2 -2
  150. package/dist/dropdown.js +3 -3
  151. package/dist/file-uploader.js +1 -1
  152. package/dist/filter-bar.js +1 -1
  153. package/dist/focus-trap.js +1 -1
  154. package/dist/header-with-views.js +5 -0
  155. package/dist/header-with-views.js.map +1 -0
  156. package/dist/header.js +1 -1
  157. package/dist/index.js +196 -194
  158. package/dist/index.js.map +1 -1
  159. package/dist/info-icon.js +1 -1
  160. package/dist/input-field-password.js +1 -1
  161. package/dist/input-field-phone-number.js +1 -1
  162. package/dist/input-field.js +1 -1
  163. package/dist/inspector.js +1 -1
  164. package/dist/internal.js +10 -10
  165. package/dist/layout.js +1 -1
  166. package/dist/menu.js +1 -1
  167. package/dist/modal-fullscreen.js +1 -1
  168. package/dist/modal.js +2 -2
  169. package/dist/pagination.js +1 -1
  170. package/dist/popover.js +1 -1
  171. package/dist/popper-container.js +1 -1
  172. package/dist/promo-banner.js +1 -1
  173. package/dist/radio-group.js +1 -1
  174. package/dist/search-bar.js +2 -2
  175. package/dist/secondary-nav.js +1 -1
  176. package/dist/segmented-control.js +1 -1
  177. package/dist/selection-card.js +1 -1
  178. package/dist/sidepanel.js +1 -1
  179. package/dist/structured-list.js +1 -1
  180. package/dist/styles/bento-dark.css +47 -1
  181. package/dist/styles/bento-light.css +47 -1
  182. package/dist/styles/bento.css +47 -1
  183. package/dist/styles/legacy.css +47 -1
  184. package/dist/styles/styleguide.css +47 -1
  185. package/dist/summary-grid.js +1 -1
  186. package/dist/tag.js +1 -1
  187. package/dist/textarea.js +1 -1
  188. package/dist/timeline.js +1 -1
  189. package/dist/tutorial.js +1 -1
  190. package/dist/use-form-v4.js +8300 -0
  191. package/dist/use-form-v4.js.map +1 -0
  192. package/dist/web-types.json +1 -1
  193. package/package.json +7 -6
  194. package/dist/chunks/checkbox.erdZ58Kk.js.map +0 -1
  195. package/dist/chunks/data-grid.KZqjmRvk.js.map +0 -1
  196. package/dist/chunks/dropdown.qw5oXFYs.js.map +0 -1
  197. package/dist/chunks/file-uploader.BLJpDgAZ.js.map +0 -1
  198. package/dist/chunks/filter-bar.DYrXBQDF.js.map +0 -1
  199. package/dist/chunks/index.CMGT-6mh.js +0 -369
  200. package/dist/chunks/input-field-password.CZNUHo6s.js.map +0 -1
  201. package/dist/chunks/menu.DfzP2nRU.js.map +0 -1
  202. package/dist/chunks/summary-grid-item-custom.DTCzOBBy.js.map +0 -1
@@ -1,16 +1,17 @@
1
- import { defineComponent as T, provide as M, toRef as G, resolveComponent as m, createElementBlock as E, openBlock as i, Fragment as N, renderList as q, createBlock as u, createSlots as O, withCtx as r, renderSlot as f, toRefs as U, inject as Y, ref as Z, computed as v, normalizeStyle as H, normalizeClass as W, createElementVNode as C, createVNode as V, createCommentVNode as $, createTextVNode as S, toDisplayString as g, mergeProps as X } from "vue";
2
- import { u as k } from "./use-has-slot.B7eQSabc.js";
3
- import { S as F, a as A } from "./summary-grid.keys.CxTf_FOc.js";
4
- import { G as J } from "./grid-layout.BTLE3rac.js";
1
+ import { defineComponent as v, provide as D, toRef as q, resolveComponent as m, createElementBlock as _, openBlock as a, Fragment as R, renderList as Y, createBlock as p, createSlots as h, withCtx as o, renderSlot as l, toRefs as Z, inject as H, ref as W, computed as S, normalizeStyle as X, normalizeClass as F, createElementVNode as L, createVNode as B, createCommentVNode as I, createTextVNode as T, toDisplayString as y, mergeProps as J } from "vue";
2
+ import { u as $ } from "./use-has-slot.B7eQSabc.js";
3
+ import { S as K, a as w } from "./summary-grid.keys.CxTf_FOc.js";
4
+ import { G as Q } from "./grid-layout.BTLE3rac.js";
5
5
  import { _ as b } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
- import { B as K } from "./info-icon.L8AexnZg.js";
7
- import { B as Q, a as D } from "./typography.DN5eC5ch.js";
8
- import { B as x, a as L } from "./tag.B1hW92hG.js";
9
- import { C as ee } from "./copy.gmSTAqHY.js";
6
+ import { B as x } from "./dashed-underline.BuCIjMch.js";
7
+ import { B as ee } from "./info-icon.DxOAiUg4.js";
8
+ import { B as te, a as A } from "./typography.DN5eC5ch.js";
9
+ import { B as ne, a as M } from "./tag.DVkBzXMx.js";
10
+ import { C as oe } from "./copy.BYG9aoNO.js";
10
11
  import "../assets/summary-grid-item-custom.css";
11
- const te = T({
12
+ const re = v({
12
13
  name: "bento-summary-grid",
13
- components: { GridLayout: J },
14
+ components: { GridLayout: Q },
14
15
  props: {
15
16
  /**
16
17
  * Sets the responsive columns widths values for 1 of the 3 rows.
@@ -24,74 +25,74 @@ const te = T({
24
25
  */
25
26
  slashedZero: { type: Boolean, default: !1 }
26
27
  },
27
- setup(e, { slots: a }) {
28
- var c, s;
29
- let d = 1;
30
- if (a) {
31
- const n = (s = (c = Object.keys(a)) == null ? void 0 : c.filter((t) => t.includes("cell-"))) == null ? void 0 : s.map((t) => {
32
- var y;
33
- return parseInt((y = t.split("-")) == null ? void 0 : y[1], 10);
28
+ setup(e, { slots: n }) {
29
+ var c, d;
30
+ let u = 1;
31
+ if (n) {
32
+ const i = (d = (c = Object.keys(n)) == null ? void 0 : c.filter((t) => t.includes("cell-"))) == null ? void 0 : d.map((t) => {
33
+ var g;
34
+ return parseInt((g = t.split("-")) == null ? void 0 : g[1], 10);
34
35
  });
35
- if (d = Math.max(...n), d > 3)
36
+ if (u = Math.max(...i), u > 3)
36
37
  throw new Error(
37
38
  "BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information."
38
39
  );
39
40
  }
40
- return M(F, () => ({ isSummaryGridLayout: !0 })), M(A, G(e, "slashedZero")), {
41
- hasSlot: k(a),
42
- numberOfRows: d
41
+ return D(K, () => ({ isSummaryGridLayout: !0 })), D(w, q(e, "slashedZero")), {
42
+ hasSlot: $(n),
43
+ numberOfRows: u
43
44
  };
44
45
  }
45
- }), ne = { class: "b-summary-grid" };
46
- function oe(e, a, d, p, c, s) {
47
- const n = m("grid-layout");
48
- return i(), E("div", ne, [
49
- (i(!0), E(N, null, q(e.numberOfRows, (t) => {
50
- var y;
51
- return i(), u(n, {
46
+ }), ie = { class: "b-summary-grid" };
47
+ function ae(e, n, u, f, c, d) {
48
+ const i = m("grid-layout");
49
+ return a(), _("div", ie, [
50
+ (a(!0), _(R, null, Y(e.numberOfRows, (t) => {
51
+ var g;
52
+ return a(), p(i, {
52
53
  key: `summary-grid-row-${t}`,
53
54
  "data-testid": `summary-grid-row-${t}`,
54
- "column-width": (y = e.columnWidth) == null ? void 0 : y[`row${t}`]
55
- }, O({ _: 2 }, [
55
+ "column-width": (g = e.columnWidth) == null ? void 0 : g[`row${t}`]
56
+ }, h({ _: 2 }, [
56
57
  e.hasSlot(`cell-${t}-1`) ? {
57
58
  name: "col-1",
58
- fn: r(() => [
59
- f(e.$slots, `cell-${t}-1`, {}, void 0, !0)
59
+ fn: o(() => [
60
+ l(e.$slots, `cell-${t}-1`, {}, void 0, !0)
60
61
  ]),
61
62
  key: "0"
62
63
  } : void 0,
63
64
  e.hasSlot(`cell-${t}-2`) ? {
64
65
  name: "col-2",
65
- fn: r(() => [
66
- f(e.$slots, `cell-${t}-2`, {}, void 0, !0)
66
+ fn: o(() => [
67
+ l(e.$slots, `cell-${t}-2`, {}, void 0, !0)
67
68
  ]),
68
69
  key: "1"
69
70
  } : void 0,
70
71
  e.hasSlot(`cell-${t}-3`) ? {
71
72
  name: "col-3",
72
- fn: r(() => [
73
- f(e.$slots, `cell-${t}-3`, {}, void 0, !0)
73
+ fn: o(() => [
74
+ l(e.$slots, `cell-${t}-3`, {}, void 0, !0)
74
75
  ]),
75
76
  key: "2"
76
77
  } : void 0,
77
78
  e.hasSlot(`cell-${t}-4`) ? {
78
79
  name: "col-4",
79
- fn: r(() => [
80
- f(e.$slots, `cell-${t}-4`, {}, void 0, !0)
80
+ fn: o(() => [
81
+ l(e.$slots, `cell-${t}-4`, {}, void 0, !0)
81
82
  ]),
82
83
  key: "3"
83
84
  } : void 0,
84
85
  e.hasSlot(`cell-${t}-5`) ? {
85
86
  name: "col-5",
86
- fn: r(() => [
87
- f(e.$slots, `cell-${t}-5`, {}, void 0, !0)
87
+ fn: o(() => [
88
+ l(e.$slots, `cell-${t}-5`, {}, void 0, !0)
88
89
  ]),
89
90
  key: "4"
90
91
  } : void 0,
91
92
  e.hasSlot(`cell-${t}-6`) ? {
92
93
  name: "col-6",
93
- fn: r(() => [
94
- f(e.$slots, `cell-${t}-6`, {}, void 0, !0)
94
+ fn: o(() => [
95
+ l(e.$slots, `cell-${t}-6`, {}, void 0, !0)
95
96
  ]),
96
97
  key: "5"
97
98
  } : void 0
@@ -99,11 +100,11 @@ function oe(e, a, d, p, c, s) {
99
100
  }), 128))
100
101
  ]);
101
102
  }
102
- const Me = /* @__PURE__ */ b(te, [["render", oe], ["__scopeId", "data-v-0a9985aa"]]);
103
- var l = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(l || {}), o = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(o || {}), h = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(h || {});
104
- const re = T({
103
+ const Be = /* @__PURE__ */ b(re, [["render", ae], ["__scopeId", "data-v-0a9985aa"]]);
104
+ var s = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(s || {}), r = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(r || {}), O = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(O || {});
105
+ const le = v({
105
106
  name: "summary-grid-item",
106
- components: { BentoInfoIcon: K, BentoTypography: Q, BentoTag: x, Copy: ee },
107
+ components: { BentoDashedUnderline: x, BentoInfoIcon: ee, BentoTypography: te, BentoTag: ne, Copy: oe },
107
108
  props: {
108
109
  /**
109
110
  * Text to copy to the clipboard
@@ -115,8 +116,8 @@ const re = T({
115
116
  // TODO add text truncation for SummaryGridItemType.TEXT
116
117
  itemType: {
117
118
  type: String,
118
- default: h.CUSTOM,
119
- validator: (e) => Object.values(h).includes(e)
119
+ default: O.CUSTOM,
120
+ validator: (e) => Object.values(O).includes(e)
120
121
  },
121
122
  /**
122
123
  * Text showed in the info-icon tooltip on hover
@@ -137,8 +138,8 @@ const re = T({
137
138
  // TODO implement logic for Large size
138
139
  size: {
139
140
  type: String,
140
- default: l.SMALL,
141
- validator: (e) => Object.values(l).includes(e)
141
+ default: s.SMALL,
142
+ validator: (e) => Object.values(s).includes(e)
142
143
  },
143
144
  /**
144
145
  * Shows colored trend label next to text content
@@ -152,8 +153,8 @@ const re = T({
152
153
  */
153
154
  trendDirection: {
154
155
  type: String,
155
- default: o.POSITIVE,
156
- validator: (e) => Object.values(o).includes(e)
156
+ default: r.POSITIVE,
157
+ validator: (e) => Object.values(r).includes(e)
157
158
  },
158
159
  /**
159
160
  * Shows colored trend tag next to secondary metric value
@@ -167,89 +168,112 @@ const re = T({
167
168
  */
168
169
  secondaryTrendDirection: {
169
170
  type: String,
170
- default: o.POSITIVE,
171
- validator: (e) => Object.values(o).includes(e)
172
- }
171
+ default: r.POSITIVE,
172
+ validator: (e) => Object.values(r).includes(e)
173
+ },
174
+ /**
175
+ * Text showed in a dashed-underline title tooltip on hover
176
+ */
177
+ underlineTooltipText: { type: String, default: null }
173
178
  },
174
- setup(e, { slots: a }) {
175
- const { trendDirection: d, secondaryTrendDirection: p, itemType: c, size: s } = U(e), n = Y(A, Z(!1)), t = (P) => {
176
- switch (P) {
177
- case o.POSITIVE:
178
- return L.GREEN;
179
- case o.NEGATIVE:
180
- return L.RED;
179
+ setup(e, { slots: n }) {
180
+ const { trendDirection: u, secondaryTrendDirection: f, itemType: c, size: d } = Z(e), i = H(w, W(!1)), t = (U) => {
181
+ switch (U) {
182
+ case r.POSITIVE:
183
+ return M.GREEN;
184
+ case r.NEGATIVE:
185
+ return M.RED;
181
186
  default:
182
- return L.BLUE;
187
+ return M.BLUE;
183
188
  }
184
- }, y = v(() => t(d.value)), I = v(() => t(p.value)), B = v(() => s.value === l.SMALL ? D.BODY : c.value !== h.TEXT ? D.TITLE : null), R = v(() => ({
185
- medium: s.value === l.LARGE,
186
- strongest: s.value === l.SMALL,
187
- wide: s.value === l.SMALL,
188
- variant: B.value
189
- })), j = v(() => e.fitContent ? { width: "fit-content" } : {}), w = v(() => ({ "b-summary-grid-item--slashed-zero": n.value })), z = v(() => ({
189
+ }, g = S(() => t(u.value)), k = S(() => t(f.value)), C = S(() => d.value === s.SMALL ? A.BODY : c.value !== O.TEXT ? A.TITLE : null), j = S(() => ({
190
+ medium: d.value === s.LARGE,
191
+ strongest: d.value === s.SMALL,
192
+ wide: d.value === s.SMALL,
193
+ variant: C.value
194
+ })), z = S(() => e.fitContent ? { width: "fit-content" } : {}), P = S(() => ({ "b-summary-grid-item--slashed-zero": i.value })), G = S(() => ({
190
195
  [`b-summary-grid-item__content-trend--${e.trend}`]: e.trend
191
- }));
196
+ })), V = $(n), N = S(() => e.underlineTooltipText || V("dashed-underline"));
192
197
  return {
193
198
  // Values
194
- trendVariant: y,
195
- secondaryTrendVariant: I,
196
- typographyProps: R,
199
+ trendVariant: g,
200
+ secondaryTrendVariant: k,
201
+ typographyProps: j,
202
+ withUnderline: N,
197
203
  // Styles
198
- conditionalClasses: w,
199
- computedStyles: j,
200
- summaryBarItemTrendConditionalClasses: z,
204
+ conditionalClasses: P,
205
+ computedStyles: z,
206
+ summaryBarItemTrendConditionalClasses: G,
201
207
  // Utils
202
- hasSlot: k(a)
208
+ hasSlot: V
203
209
  };
204
210
  }
205
- }), ie = { class: "b-summary-grid-item__header" }, ae = { class: "b-summary-grid-item__title-icons" };
206
- function se(e, a, d, p, c, s) {
207
- const n = m("bento-typography"), t = m("copy"), y = m("bento-info-icon"), I = m("bento-tag");
208
- return i(), E("div", {
209
- class: W(["b-summary-grid-item", e.conditionalClasses]),
210
- style: H(e.computedStyles)
211
+ }), de = { class: "b-summary-grid-item__header" }, se = { class: "b-summary-grid-item__title-icons" };
212
+ function ue(e, n, u, f, c, d) {
213
+ const i = m("bento-dashed-underline"), t = m("bento-typography"), g = m("copy"), k = m("bento-info-icon"), C = m("bento-tag");
214
+ return a(), _("div", {
215
+ class: F(["b-summary-grid-item", e.conditionalClasses]),
216
+ style: X(e.computedStyles)
211
217
  }, [
212
- C("div", ie, [
213
- V(n, {
218
+ L("div", de, [
219
+ B(t, {
214
220
  class: "b-summary-grid-item__title",
215
221
  el: "span",
216
222
  variant: "body"
217
223
  }, {
218
- default: r(() => [
219
- S(g(e.title), 1)
224
+ default: o(() => [
225
+ e.withUnderline ? (a(), p(i, {
226
+ key: 0,
227
+ "tooltip-text": e.underlineTooltipText
228
+ }, h({
229
+ default: o(() => [
230
+ T(y(e.title) + " ", 1)
231
+ ]),
232
+ _: 2
233
+ }, [
234
+ e.hasSlot("dashed-underline") ? {
235
+ name: "popover-content",
236
+ fn: o(() => [
237
+ l(e.$slots, "dashed-underline", {}, void 0, !0)
238
+ ]),
239
+ key: "0"
240
+ } : void 0
241
+ ]), 1032, ["tooltip-text"])) : (a(), _(R, { key: 1 }, [
242
+ T(y(e.title), 1)
243
+ ], 64))
220
244
  ]),
221
- _: 1
245
+ _: 3
222
246
  }),
223
- C("div", ae, [
224
- e.copy ? (i(), u(t, {
247
+ L("div", se, [
248
+ e.copy ? (a(), p(g, {
225
249
  key: 0,
226
250
  class: "b-structured-list__icon",
227
251
  text: e.copy
228
- }, null, 8, ["text"])) : $("", !0),
229
- e.infoIconTooltipText ? (i(), u(y, {
252
+ }, null, 8, ["text"])) : I("", !0),
253
+ e.infoIconTooltipText ? (a(), p(k, {
230
254
  key: 1,
231
255
  "tooltip-text": e.infoIconTooltipText,
232
256
  "tooltip-position": "top",
233
257
  class: "b-summary-grid-item__title-tooltip"
234
- }, null, 8, ["tooltip-text"])) : $("", !0)
258
+ }, null, 8, ["tooltip-text"])) : I("", !0)
235
259
  ])
236
260
  ]),
237
- V(n, X({
261
+ B(t, J({
238
262
  "data-testid": "summary-grid-item-content-typography",
239
263
  class: "b-summary-grid-item__title"
240
264
  }, e.typographyProps, { el: "span" }), {
241
- default: r(() => [
242
- f(e.$slots, "default", {}, void 0, !0),
243
- e.trend && e.itemType !== "text" ? (i(), u(I, {
265
+ default: o(() => [
266
+ l(e.$slots, "default", {}, void 0, !0),
267
+ e.trend && e.itemType !== "text" ? (a(), p(C, {
244
268
  key: 0,
245
269
  variant: e.trendVariant,
246
270
  label: e.trend,
247
271
  class: "b-summary-grid-item__content-trend"
248
- }, null, 8, ["variant", "label"])) : $("", !0)
272
+ }, null, 8, ["variant", "label"])) : I("", !0)
249
273
  ]),
250
274
  _: 3
251
275
  }, 16),
252
- e.hasSlot("secondary") ? (i(), u(n, {
276
+ e.hasSlot("secondary") ? (a(), p(t, {
253
277
  key: 0,
254
278
  class: "b-summary-grid-item__title",
255
279
  "data-testid": "summary-grid-item-secondary-metric-typography",
@@ -257,22 +281,22 @@ function se(e, a, d, p, c, s) {
257
281
  variant: "caption",
258
282
  stronger: ""
259
283
  }, {
260
- default: r(() => [
261
- f(e.$slots, "secondary", {}, void 0, !0),
262
- e.secondaryTrend ? (i(), u(I, {
284
+ default: o(() => [
285
+ l(e.$slots, "secondary", {}, void 0, !0),
286
+ e.secondaryTrend ? (a(), p(C, {
263
287
  key: 0,
264
288
  variant: e.secondaryTrendVariant,
265
289
  label: e.secondaryTrend,
266
290
  class: "b-summary-grid-item__content-trend"
267
- }, null, 8, ["variant", "label"])) : $("", !0)
291
+ }, null, 8, ["variant", "label"])) : I("", !0)
268
292
  ]),
269
293
  _: 3
270
- })) : $("", !0)
294
+ })) : I("", !0)
271
295
  ], 6);
272
296
  }
273
- const _ = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-09325bfd"]]), le = T({
297
+ const E = /* @__PURE__ */ b(le, [["render", ue], ["__scopeId", "data-v-67400fc8"]]), pe = v({
274
298
  name: "bento-summary-grid-item-amount",
275
- components: { SummaryGridItem: _ },
299
+ components: { SummaryGridItem: E },
276
300
  props: {
277
301
  /**
278
302
  * Text to copy to the clipboard
@@ -332,8 +356,8 @@ const _ = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-09325bfd"
332
356
  */
333
357
  trendDirection: {
334
358
  type: String,
335
- default: o.POSITIVE,
336
- validator: (e) => Object.values(o).includes(e)
359
+ default: r.POSITIVE,
360
+ validator: (e) => Object.values(r).includes(e)
337
361
  },
338
362
  /**
339
363
  * Shows colored secondary trend tag next to the secondary metric value
@@ -347,25 +371,32 @@ const _ = /* @__PURE__ */ b(re, [["render", se], ["__scopeId", "data-v-09325bfd"
347
371
  */
348
372
  secondaryTrendDirection: {
349
373
  type: String,
350
- default: o.POSITIVE,
351
- validator: (e) => Object.values(o).includes(e)
374
+ default: r.POSITIVE,
375
+ validator: (e) => Object.values(r).includes(e)
352
376
  },
353
377
  /**
354
378
  * Defines the size of the `summary-grid-item` text content
355
379
  */
356
380
  size: {
357
381
  type: String,
358
- default: l.SMALL,
359
- validator: (e) => Object.values(l).includes(e)
360
- }
382
+ default: s.SMALL,
383
+ validator: (e) => Object.values(s).includes(e)
384
+ },
385
+ /**
386
+ * Text showed in the info-icon tooltip on hover
387
+ */
388
+ underlineTooltipText: { type: String, default: null }
389
+ },
390
+ setup(e, { slots: n }) {
391
+ return { hasSlot: $(n) };
361
392
  }
362
- }), de = { class: "b-summary-grid-item-amount__content" }, ce = {
393
+ }), ce = { class: "b-summary-grid-item-amount__content" }, me = {
363
394
  key: 0,
364
395
  class: "b-summary-grid-item-amount__secondary-label"
365
396
  };
366
- function ue(e, a, d, p, c, s) {
367
- const n = m("summary-grid-item");
368
- return i(), u(n, {
397
+ function ye(e, n, u, f, c, d) {
398
+ const i = m("summary-grid-item");
399
+ return a(), p(i, {
369
400
  "item-type": "amount",
370
401
  "info-icon-tooltip-text": e.infoIconTooltipText,
371
402
  title: e.title,
@@ -376,28 +407,36 @@ function ue(e, a, d, p, c, s) {
376
407
  "trend-direction": e.trendDirection,
377
408
  "secondary-trend": e.secondaryTrend,
378
409
  "secondary-trend-direction": e.secondaryTrendDirection,
410
+ "underline-tooltip-text": e.underlineTooltipText,
379
411
  class: "b-summary-grid-item-amount"
380
- }, O({
381
- default: r(() => [
382
- C("div", de, [
383
- C("div", null, g(e.label), 1),
384
- e.secondaryLabel ? (i(), E("div", ce, g(e.secondaryLabel), 1)) : $("", !0)
412
+ }, h({
413
+ default: o(() => [
414
+ L("div", ce, [
415
+ L("div", null, y(e.label), 1),
416
+ e.secondaryLabel ? (a(), _("div", me, y(e.secondaryLabel), 1)) : I("", !0)
385
417
  ])
386
418
  ]),
387
419
  _: 2
388
420
  }, [
421
+ e.hasSlot("dashed-underline") ? {
422
+ name: "dashed-underline",
423
+ fn: o(() => [
424
+ l(e.$slots, "dashed-underline", {}, void 0, !0)
425
+ ]),
426
+ key: "0"
427
+ } : void 0,
389
428
  e.secondaryMetric ? {
390
429
  name: "secondary",
391
- fn: r(() => [
392
- S(g(e.secondaryMetric), 1)
430
+ fn: o(() => [
431
+ T(y(e.secondaryMetric), 1)
393
432
  ]),
394
- key: "0"
433
+ key: "1"
395
434
  } : void 0
396
- ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
435
+ ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-tooltip-text"]);
397
436
  }
398
- const Ve = /* @__PURE__ */ b(le, [["render", ue], ["__scopeId", "data-v-fd1debe6"]]), me = T({
437
+ const Ae = /* @__PURE__ */ b(pe, [["render", ye], ["__scopeId", "data-v-f4b5a860"]]), fe = v({
399
438
  name: "bento-summary-grid-item-numeric",
400
- components: { SummaryGridItem: _ },
439
+ components: { SummaryGridItem: E },
401
440
  props: {
402
441
  /**
403
442
  * Text to copy to the clipboard
@@ -450,8 +489,8 @@ const Ve = /* @__PURE__ */ b(le, [["render", ue], ["__scopeId", "data-v-fd1debe6
450
489
  */
451
490
  trendDirection: {
452
491
  type: String,
453
- default: o.POSITIVE,
454
- validator: (e) => Object.values(o).includes(e)
492
+ default: r.POSITIVE,
493
+ validator: (e) => Object.values(r).includes(e)
455
494
  },
456
495
  /**
457
496
  * Shows colored secondary trend tag next to the secondary metric value
@@ -465,22 +504,29 @@ const Ve = /* @__PURE__ */ b(le, [["render", ue], ["__scopeId", "data-v-fd1debe6
465
504
  */
466
505
  secondaryTrendDirection: {
467
506
  type: String,
468
- default: o.POSITIVE,
469
- validator: (e) => Object.values(o).includes(e)
507
+ default: r.POSITIVE,
508
+ validator: (e) => Object.values(r).includes(e)
470
509
  },
471
510
  /**
472
511
  * Defines the size of the `summary-grid-item` text content
473
512
  */
474
513
  size: {
475
514
  type: String,
476
- default: l.SMALL,
477
- validator: (e) => Object.values(l).includes(e)
478
- }
515
+ default: s.SMALL,
516
+ validator: (e) => Object.values(s).includes(e)
517
+ },
518
+ /**
519
+ * Text showed in the info-icon tooltip on hover
520
+ */
521
+ underlineTooltipText: { type: String, default: null }
522
+ },
523
+ setup(e, { slots: n }) {
524
+ return { hasSlot: $(n) };
479
525
  }
480
526
  });
481
- function pe(e, a, d, p, c, s) {
482
- const n = m("summary-grid-item");
483
- return i(), u(n, {
527
+ function ge(e, n, u, f, c, d) {
528
+ const i = m("summary-grid-item");
529
+ return a(), p(i, {
484
530
  "item-type": "numeric",
485
531
  "info-icon-tooltip-text": e.infoIconTooltipText,
486
532
  title: e.title,
@@ -491,25 +537,33 @@ function pe(e, a, d, p, c, s) {
491
537
  "trend-direction": e.trendDirection,
492
538
  "secondary-trend": e.secondaryTrend,
493
539
  "secondary-trend-direction": e.secondaryTrendDirection,
540
+ "underline-tooltip-text": e.underlineTooltipText,
494
541
  class: "b-summary-grid-item-numeric"
495
- }, O({
496
- default: r(() => [
497
- S(g(e.label) + " ", 1)
542
+ }, h({
543
+ default: o(() => [
544
+ T(" " + y(e.label) + " ", 1)
498
545
  ]),
499
546
  _: 2
500
547
  }, [
548
+ e.hasSlot("dashed-underline") ? {
549
+ name: "dashed-underline",
550
+ fn: o(() => [
551
+ l(e.$slots, "dashed-underline")
552
+ ]),
553
+ key: "0"
554
+ } : void 0,
501
555
  e.secondaryMetric ? {
502
556
  name: "secondary",
503
- fn: r(() => [
504
- S(g(e.secondaryMetric), 1)
557
+ fn: o(() => [
558
+ T(y(e.secondaryMetric), 1)
505
559
  ]),
506
- key: "0"
560
+ key: "1"
507
561
  } : void 0
508
- ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
562
+ ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-tooltip-text"]);
509
563
  }
510
- const De = /* @__PURE__ */ b(me, [["render", pe]]), ye = T({
564
+ const Re = /* @__PURE__ */ b(fe, [["render", ge]]), Se = v({
511
565
  name: "bento-summary-grid-item-percentage",
512
- components: { SummaryGridItem: _ },
566
+ components: { SummaryGridItem: E },
513
567
  props: {
514
568
  /**
515
569
  * Amount to be shown as the main value
@@ -562,8 +616,8 @@ const De = /* @__PURE__ */ b(me, [["render", pe]]), ye = T({
562
616
  */
563
617
  trendDirection: {
564
618
  type: String,
565
- default: o.POSITIVE,
566
- validator: (e) => Object.values(o).includes(e)
619
+ default: r.POSITIVE,
620
+ validator: (e) => Object.values(r).includes(e)
567
621
  },
568
622
  /**
569
623
  * Shows colored secondary trend tag next to the secondary metric value
@@ -577,22 +631,29 @@ const De = /* @__PURE__ */ b(me, [["render", pe]]), ye = T({
577
631
  */
578
632
  secondaryTrendDirection: {
579
633
  type: String,
580
- default: o.POSITIVE,
581
- validator: (e) => Object.values(o).includes(e)
634
+ default: r.POSITIVE,
635
+ validator: (e) => Object.values(r).includes(e)
582
636
  },
583
637
  /**
584
638
  * Defines the size of the `summary-grid-item` text content
585
639
  */
586
640
  size: {
587
641
  type: String,
588
- default: l.SMALL,
589
- validator: (e) => Object.values(l).includes(e)
590
- }
642
+ default: s.SMALL,
643
+ validator: (e) => Object.values(s).includes(e)
644
+ },
645
+ /**
646
+ * Text showed in the info-icon tooltip on hover
647
+ */
648
+ underlineTooltipText: { type: String, default: null }
649
+ },
650
+ setup(e, { slots: n }) {
651
+ return { hasSlot: $(n) };
591
652
  }
592
653
  });
593
- function fe(e, a, d, p, c, s) {
594
- const n = m("summary-grid-item");
595
- return i(), u(n, {
654
+ function Te(e, n, u, f, c, d) {
655
+ const i = m("summary-grid-item");
656
+ return a(), p(i, {
596
657
  "item-type": "percentage",
597
658
  "info-icon-tooltip-text": e.infoIconTooltipText,
598
659
  title: e.title,
@@ -603,25 +664,33 @@ function fe(e, a, d, p, c, s) {
603
664
  "trend-direction": e.trendDirection,
604
665
  "secondary-trend": e.secondaryTrend,
605
666
  "secondary-trend-direction": e.secondaryTrendDirection,
667
+ "underline-tooltip-text": e.underlineTooltipText,
606
668
  class: "b-summary-grid-item-percentage"
607
- }, O({
608
- default: r(() => [
609
- S(g(e.label) + "% ", 1)
669
+ }, h({
670
+ default: o(() => [
671
+ T(" " + y(e.label) + "% ", 1)
610
672
  ]),
611
673
  _: 2
612
674
  }, [
675
+ e.hasSlot("dashed-underline") ? {
676
+ name: "dashed-underline",
677
+ fn: o(() => [
678
+ l(e.$slots, "dashed-underline")
679
+ ]),
680
+ key: "0"
681
+ } : void 0,
613
682
  e.secondaryMetric ? {
614
683
  name: "secondary",
615
- fn: r(() => [
616
- S(g(e.secondaryMetric) + "% ", 1)
684
+ fn: o(() => [
685
+ T(y(e.secondaryMetric) + "% ", 1)
617
686
  ]),
618
- key: "0"
687
+ key: "1"
619
688
  } : void 0
620
- ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
689
+ ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction", "underline-tooltip-text"]);
621
690
  }
622
- const ke = /* @__PURE__ */ b(ye, [["render", fe]]), ge = T({
691
+ const we = /* @__PURE__ */ b(Se, [["render", Te]]), ve = v({
623
692
  name: "bento-summary-grid-item-text",
624
- components: { SummaryGridItem: _ },
693
+ components: { SummaryGridItem: E },
625
694
  props: {
626
695
  /**
627
696
  * Text to copy to the clipboard
@@ -654,28 +723,44 @@ const ke = /* @__PURE__ */ b(ye, [["render", fe]]), ge = T({
654
723
  fitContent: {
655
724
  type: Boolean,
656
725
  default: !1
657
- }
726
+ },
727
+ /**
728
+ * Text showed in the info-icon tooltip on hover
729
+ */
730
+ underlineTooltipText: { type: String, default: null }
731
+ },
732
+ setup(e, { slots: n }) {
733
+ return { hasSlot: $(n) };
658
734
  }
659
735
  });
660
- function ve(e, a, d, p, c, s) {
661
- const n = m("summary-grid-item");
662
- return i(), u(n, {
736
+ function he(e, n, u, f, c, d) {
737
+ const i = m("summary-grid-item");
738
+ return a(), p(i, {
663
739
  "item-type": "text",
664
740
  "info-icon-tooltip-text": e.infoIconTooltipText,
665
741
  title: e.title,
666
742
  copy: e.copy,
667
743
  "fit-content": e.fitContent,
744
+ "underline-tooltip-text": e.underlineTooltipText,
668
745
  class: "b-summary-grid-item-text"
669
- }, {
670
- default: r(() => [
671
- S(g(e.label), 1)
746
+ }, h({
747
+ default: o(() => [
748
+ T(" " + y(e.label), 1)
672
749
  ]),
673
- _: 1
674
- }, 8, ["info-icon-tooltip-text", "title", "copy", "fit-content"]);
750
+ _: 2
751
+ }, [
752
+ e.hasSlot("dashed-underline") ? {
753
+ name: "dashed-underline",
754
+ fn: o(() => [
755
+ l(e.$slots, "dashed-underline")
756
+ ]),
757
+ key: "0"
758
+ } : void 0
759
+ ]), 1032, ["info-icon-tooltip-text", "title", "copy", "fit-content", "underline-tooltip-text"]);
675
760
  }
676
- const Ae = /* @__PURE__ */ b(ge, [["render", ve]]), Se = T({
761
+ const je = /* @__PURE__ */ b(ve, [["render", he]]), $e = v({
677
762
  name: "bento-summary-grid-item-custom",
678
- components: { SummaryGridItem: _ },
763
+ components: { SummaryGridItem: E },
679
764
  props: {
680
765
  /**
681
766
  * Text to copy to the clipboard
@@ -692,34 +777,50 @@ const Ae = /* @__PURE__ */ b(ge, [["render", ve]]), Se = T({
692
777
  /**
693
778
  * The width of `summary-grid-item` fits its content
694
779
  */
695
- fitContent: { type: Boolean, default: !1 }
780
+ fitContent: { type: Boolean, default: !1 },
781
+ /**
782
+ * Text showed in the info-icon tooltip on hover
783
+ */
784
+ underlineTooltipText: { type: String, default: null }
696
785
  },
697
- emits: ["copy-to-clipboard"]
786
+ emits: ["copy-to-clipboard"],
787
+ setup(e, { slots: n }) {
788
+ return { hasSlot: $(n) };
789
+ }
698
790
  });
699
- function Te(e, a, d, p, c, s) {
700
- const n = m("summary-grid-item");
701
- return i(), u(n, {
791
+ function be(e, n, u, f, c, d) {
792
+ const i = m("summary-grid-item");
793
+ return a(), p(i, {
702
794
  title: e.title,
703
795
  "info-icon-tooltip-text": e.infoIconTooltipText,
704
796
  copy: e.copy,
705
797
  "fit-content": e.fitContent,
706
- onCopyToClipoard: a[0] || (a[0] = (t) => e.$emit("copy-to-clipboard"))
707
- }, {
708
- default: r(() => [
709
- f(e.$slots, "default")
798
+ "underline-tooltip-text": e.underlineTooltipText,
799
+ onCopyToClipoard: n[0] || (n[0] = (t) => e.$emit("copy-to-clipboard"))
800
+ }, h({
801
+ default: o(() => [
802
+ l(e.$slots, "default")
710
803
  ]),
711
- _: 3
712
- }, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
804
+ _: 2
805
+ }, [
806
+ e.hasSlot("dashed-underline") ? {
807
+ name: "dashed-underline",
808
+ fn: o(() => [
809
+ l(e.$slots, "dashed-underline")
810
+ ]),
811
+ key: "0"
812
+ } : void 0
813
+ ]), 1032, ["title", "info-icon-tooltip-text", "copy", "fit-content", "underline-tooltip-text"]);
713
814
  }
714
- const Be = /* @__PURE__ */ b(Se, [["render", Te]]);
815
+ const ze = /* @__PURE__ */ b($e, [["render", be]]);
715
816
  export {
716
- l as B,
717
- Ve as a,
718
- De as b,
719
- ke as c,
720
- Ae as d,
721
- Be as e,
722
- o as f,
723
- Me as s
817
+ s as B,
818
+ Ae as a,
819
+ Re as b,
820
+ we as c,
821
+ je as d,
822
+ ze as e,
823
+ r as f,
824
+ Be as s
724
825
  };
725
- //# sourceMappingURL=summary-grid-item-custom.DTCzOBBy.js.map
826
+ //# sourceMappingURL=summary-grid-item-custom.ACP0RH0N.js.map