@adyen/bento-vue2 1.16.0 → 1.17.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 (201) hide show
  1. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +2 -1
  2. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/index.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +1 -1
  4. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/payment-method/composables/index.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +4 -0
  7. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +3 -1
  8. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +3 -6
  9. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +17 -22
  10. package/dist/accordion.js +3 -3
  11. package/dist/action-bar.js +6 -6
  12. package/dist/alert.js +7 -7
  13. package/dist/assets/base-modal.css +1 -1
  14. package/dist/assets/index10.css +1 -1
  15. package/dist/assets/index11.css +1 -1
  16. package/dist/assets/index12.css +1 -1
  17. package/dist/assets/index13.css +1 -1
  18. package/dist/assets/index14.css +1 -1
  19. package/dist/assets/index15.css +1 -1
  20. package/dist/assets/index16.css +1 -1
  21. package/dist/assets/index17.css +1 -1
  22. package/dist/assets/index18.css +1 -1
  23. package/dist/assets/index19.css +1 -1
  24. package/dist/assets/index2.css +1 -1
  25. package/dist/assets/index20.css +1 -1
  26. package/dist/assets/index21.css +1 -1
  27. package/dist/assets/index22.css +1 -1
  28. package/dist/assets/index23.css +1 -1
  29. package/dist/assets/index24.css +1 -1
  30. package/dist/assets/index25.css +1 -1
  31. package/dist/assets/index26.css +1 -1
  32. package/dist/assets/index27.css +1 -1
  33. package/dist/assets/index28.css +1 -1
  34. package/dist/assets/index29.css +1 -1
  35. package/dist/assets/index3.css +1 -1
  36. package/dist/assets/index30.css +1 -1
  37. package/dist/assets/index31.css +1 -1
  38. package/dist/assets/index32.css +1 -1
  39. package/dist/assets/index33.css +1 -1
  40. package/dist/assets/index34.css +1 -1
  41. package/dist/assets/index35.css +1 -1
  42. package/dist/assets/index36.css +1 -1
  43. package/dist/assets/index37.css +1 -1
  44. package/dist/assets/index38.css +1 -1
  45. package/dist/assets/index39.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/index40.css +1 -1
  48. package/dist/assets/index41.css +1 -1
  49. package/dist/assets/index42.css +1 -1
  50. package/dist/assets/index43.css +1 -1
  51. package/dist/assets/index44.css +1 -1
  52. package/dist/assets/index46.css +1 -1
  53. package/dist/assets/index47.css +1 -1
  54. package/dist/assets/index5.css +1 -1
  55. package/dist/assets/index6.css +1 -1
  56. package/dist/assets/index7.css +1 -1
  57. package/dist/assets/index8.css +1 -1
  58. package/dist/assets/index9.css +1 -1
  59. package/dist/avatar-image.js +1 -1
  60. package/dist/button.js +5 -5
  61. package/dist/card.js +3 -3
  62. package/dist/checkbox.js +6 -6
  63. package/dist/checkbox.js.map +1 -1
  64. package/dist/chunks/{arrow-left.3364fcac.js → arrow-left.2db60716.js} +2 -2
  65. package/dist/chunks/{arrow-left.3364fcac.js.map → arrow-left.2db60716.js.map} +1 -1
  66. package/dist/chunks/{base-button.0da9c5b8.js → base-button.7b173f0c.js} +2 -2
  67. package/dist/chunks/{base-button.0da9c5b8.js.map → base-button.7b173f0c.js.map} +1 -1
  68. package/dist/chunks/{base-modal.e87e997c.js → base-modal.1180d950.js} +6 -6
  69. package/dist/chunks/{base-modal.e87e997c.js.map → base-modal.1180d950.js.map} +1 -1
  70. package/dist/chunks/{button-actions-with-menu.e2f54e3a.js → button-actions-with-menu.101db268.js} +3 -3
  71. package/dist/chunks/{button-actions-with-menu.e2f54e3a.js.map → button-actions-with-menu.101db268.js.map} +1 -1
  72. package/dist/chunks/{button.6050544b.js → button.5d0c33b3.js} +3 -3
  73. package/dist/chunks/{button.6050544b.js.map → button.5d0c33b3.js.map} +1 -1
  74. package/dist/chunks/{calendar.74dbf195.js → calendar.a64cead0.js} +5 -5
  75. package/dist/chunks/{calendar.74dbf195.js.map → calendar.a64cead0.js.map} +1 -1
  76. package/dist/chunks/{checkbox.e77bb779.js → checkbox.d1adfacc.js} +4 -4
  77. package/dist/chunks/{checkbox.e77bb779.js.map → checkbox.d1adfacc.js.map} +1 -1
  78. package/dist/chunks/{checkmark-circle-fill.7a7cedf8.js → checkmark-circle-fill.345311d2.js} +2 -2
  79. package/dist/chunks/{checkmark-circle-fill.7a7cedf8.js.map → checkmark-circle-fill.345311d2.js.map} +1 -1
  80. package/dist/chunks/{checkmark-small.90120f18.js → checkmark-small.520f01b1.js} +2 -2
  81. package/dist/chunks/{checkmark-small.90120f18.js.map → checkmark-small.520f01b1.js.map} +1 -1
  82. package/dist/chunks/{checkmark.d9f63666.js → checkmark.a6ed8f47.js} +2 -2
  83. package/dist/chunks/{checkmark.d9f63666.js.map → checkmark.a6ed8f47.js.map} +1 -1
  84. package/dist/chunks/{chevron-left.97a9a569.js → chevron-left.5edf02ac.js} +2 -2
  85. package/dist/chunks/{chevron-left.97a9a569.js.map → chevron-left.5edf02ac.js.map} +1 -1
  86. package/dist/chunks/{chevron-up.47c6b4cf.js → chevron-up.81185563.js} +2 -2
  87. package/dist/chunks/{chevron-up.47c6b4cf.js.map → chevron-up.81185563.js.map} +1 -1
  88. package/dist/chunks/{controls-group.e72e1aa2.js → controls-group.0f02d583.js} +3 -3
  89. package/dist/chunks/{controls-group.e72e1aa2.js.map → controls-group.0f02d583.js.map} +1 -1
  90. package/dist/chunks/{copy.d1a20b0c.js → copy.63cb6668.js} +4 -4
  91. package/dist/chunks/{copy.d1a20b0c.js.map → copy.63cb6668.js.map} +1 -1
  92. package/dist/chunks/{cross-circle-fill.c0077c13.js → cross-circle-fill.27580c4b.js} +2 -2
  93. package/dist/chunks/{cross-circle-fill.c0077c13.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
  94. package/dist/chunks/{cross-small.189cbd3c.js → cross-small.e851e0de.js} +2 -2
  95. package/dist/chunks/{cross-small.189cbd3c.js.map → cross-small.e851e0de.js.map} +1 -1
  96. package/dist/chunks/{cross.ad9be76b.js → cross.04678d81.js} +2 -2
  97. package/dist/chunks/{cross.ad9be76b.js.map → cross.04678d81.js.map} +1 -1
  98. package/dist/chunks/{dropdown-default-textbox.29ac8970.js → dropdown-default-textbox.25ef120f.js} +4 -4
  99. package/dist/chunks/{dropdown-default-textbox.29ac8970.js.map → dropdown-default-textbox.25ef120f.js.map} +1 -1
  100. package/dist/chunks/{dropdown.91a69131.js → dropdown.9096a595.js} +14 -14
  101. package/dist/chunks/{dropdown.91a69131.js.map → dropdown.9096a595.js.map} +1 -1
  102. package/dist/chunks/{error-message.b9419287.js → error-message.01187b47.js} +3 -3
  103. package/dist/chunks/{error-message.b9419287.js.map → error-message.01187b47.js.map} +1 -1
  104. package/dist/chunks/{fixed-scroller.0146b898.js → fixed-scroller.cbab7134.js} +3 -3
  105. package/dist/chunks/{fixed-scroller.0146b898.js.map → fixed-scroller.cbab7134.js.map} +1 -1
  106. package/dist/chunks/{footer-actions.9bdf8416.js → footer-actions.cf51cdef.js} +3 -3
  107. package/dist/chunks/{footer-actions.9bdf8416.js.map → footer-actions.cf51cdef.js.map} +1 -1
  108. package/dist/chunks/{index.fb2f88c6.js → index.0a498a56.js} +3 -3
  109. package/dist/chunks/{index.fb2f88c6.js.map → index.0a498a56.js.map} +1 -1
  110. package/dist/chunks/{index.c4c59719.js → index.1cbce5a5.js} +502 -496
  111. package/dist/chunks/index.1cbce5a5.js.map +1 -0
  112. package/dist/chunks/{index.c4de22d3.js → index.433594f1.js} +3 -3
  113. package/dist/chunks/{index.c4de22d3.js.map → index.433594f1.js.map} +1 -1
  114. package/dist/chunks/{index.ea487c48.js → index.4ea5bda4.js} +2 -2
  115. package/dist/chunks/{index.ea487c48.js.map → index.4ea5bda4.js.map} +1 -1
  116. package/dist/chunks/{index.be0a3199.js → index.58ecd7ad.js} +2 -2
  117. package/dist/chunks/{index.be0a3199.js.map → index.58ecd7ad.js.map} +1 -1
  118. package/dist/chunks/{index.e876bfd9.js → index.786ee2d7.js} +6 -6
  119. package/dist/chunks/{index.e876bfd9.js.map → index.786ee2d7.js.map} +1 -1
  120. package/dist/chunks/{index.6d903b9b.js → index.7c480d3a.js} +3 -3
  121. package/dist/chunks/{index.6d903b9b.js.map → index.7c480d3a.js.map} +1 -1
  122. package/dist/chunks/{index.657f464c.js → index.80a842a9.js} +2 -2
  123. package/dist/chunks/{index.657f464c.js.map → index.80a842a9.js.map} +1 -1
  124. package/dist/chunks/{index.56204a08.js → index.ab6d4c73.js} +2 -2
  125. package/dist/chunks/{index.56204a08.js.map → index.ab6d4c73.js.map} +1 -1
  126. package/dist/chunks/{index.da09aaef.js → index.b2f96aa4.js} +96 -89
  127. package/dist/chunks/{index.da09aaef.js.map → index.b2f96aa4.js.map} +1 -1
  128. package/dist/chunks/{index.911b7a93.js → index.f1208b85.js} +149 -149
  129. package/dist/chunks/index.f1208b85.js.map +1 -0
  130. package/dist/chunks/{index.cbd58064.js → index.fa59768c.js} +7 -7
  131. package/dist/chunks/{index.cbd58064.js.map → index.fa59768c.js.map} +1 -1
  132. package/dist/chunks/{info-filled.1c693e75.js → info-filled.c37e091d.js} +2 -2
  133. package/dist/chunks/{info-filled.1c693e75.js.map → info-filled.c37e091d.js.map} +1 -1
  134. package/dist/chunks/{info.cdd7d4de.js → info.8b6328aa.js} +2 -2
  135. package/dist/chunks/{info.cdd7d4de.js.map → info.8b6328aa.js.map} +1 -1
  136. package/dist/chunks/{listbox-option-tag.e69e6052.js → listbox-option-tag.ae6d3f5d.js} +3 -3
  137. package/dist/chunks/{listbox-option-tag.e69e6052.js.map → listbox-option-tag.ae6d3f5d.js.map} +1 -1
  138. package/dist/chunks/{listbox.e7b0d444.js → listbox.8f2e4e83.js} +8 -8
  139. package/dist/chunks/{listbox.e7b0d444.js.map → listbox.8f2e4e83.js.map} +1 -1
  140. package/dist/chunks/{loading-button.92c986d5.js → loading-button.6055bc08.js} +4 -4
  141. package/dist/chunks/{loading-button.92c986d5.js.map → loading-button.6055bc08.js.map} +1 -1
  142. package/dist/chunks/{refresh.0900199c.js → refresh.71a03998.js} +2 -2
  143. package/dist/chunks/{refresh.0900199c.js.map → refresh.71a03998.js.map} +1 -1
  144. package/dist/chunks/{search.aefc7b18.js → search.471270fe.js} +2 -2
  145. package/dist/chunks/{search.aefc7b18.js.map → search.471270fe.js.map} +1 -1
  146. package/dist/chunks/{tooltip.0311abc2.js → tooltip.a007fd93.js} +3 -3
  147. package/dist/chunks/{tooltip.0311abc2.js.map → tooltip.a007fd93.js.map} +1 -1
  148. package/dist/code-snippet.js +7 -7
  149. package/dist/code-snippet.js.map +1 -1
  150. package/dist/country.js +2 -2
  151. package/dist/currency.js +1 -1
  152. package/dist/data-grid.js +1 -1
  153. package/dist/date-picker.js +18 -18
  154. package/dist/date-range-picker.js +2 -2
  155. package/dist/date.js +1 -1
  156. package/dist/divider.js +1 -1
  157. package/dist/dropdown.js +6 -6
  158. package/dist/empty-state.js +3 -3
  159. package/dist/filter-bar.js +20 -20
  160. package/dist/focus-trap.js +1 -1
  161. package/dist/form-layout.js +2 -2
  162. package/dist/header.js +128 -129
  163. package/dist/header.js.map +1 -1
  164. package/dist/index.js +297 -2936
  165. package/dist/index.js.map +1 -1
  166. package/dist/info-icon.js +4 -4
  167. package/dist/input-field.js +4 -4
  168. package/dist/internal.js +7 -7
  169. package/dist/link.js +1 -1
  170. package/dist/loading-indicator.js +1 -1
  171. package/dist/menu.js +1 -1
  172. package/dist/modal.js +5 -5
  173. package/dist/pagination.js +4 -4
  174. package/dist/payment-method.js +46 -46
  175. package/dist/payment-method.js.map +1 -1
  176. package/dist/popover.js +1 -1
  177. package/dist/popper-container.js +1 -1
  178. package/dist/radio-group.js +86 -96
  179. package/dist/radio-group.js.map +1 -1
  180. package/dist/search-bar.js +4 -4
  181. package/dist/secondary-nav.js +2 -2
  182. package/dist/segmented-control.js +4 -4
  183. package/dist/sidepanel.js +7 -7
  184. package/dist/status.js +2 -2
  185. package/dist/stepper.js +4 -4
  186. package/dist/structured-list.js +1 -1
  187. package/dist/summary-grid.js +3 -3
  188. package/dist/tabs.js +3 -3
  189. package/dist/tag.js +3 -3
  190. package/dist/textarea.js +4 -4
  191. package/dist/timeline.js +6 -6
  192. package/dist/toast.js +5 -5
  193. package/dist/toggle.js +3 -3
  194. package/dist/tutorial.js +5 -5
  195. package/dist/typography.js +1 -1
  196. package/dist/web-types.json +15 -5
  197. package/package.json +2 -2
  198. package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +0 -3
  199. package/dist/chunks/index.911b7a93.js.map +0 -1
  200. package/dist/chunks/index.c4c59719.js.map +0 -1
  201. /package/dist/assets/{cross-circle-fill.css → cross.css} +0 -0
@@ -1,43 +1,43 @@
1
1
  import { n as x } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
2
2
  import { onMounted as me, onUnmounted as qe, defineComponent as R, useSlots as je, useAttrs as Ye, computed as o, ref as T, watch as Q, toRef as w, onBeforeUpdate as re, reactive as Fe, nextTick as ze } from "vue";
3
- import { a as de } from "./chunks/index.e876bfd9.js";
3
+ import { a as de } from "./chunks/index.786ee2d7.js";
4
4
  import { u as W } from "./chunks/i18n.eb5b985b.js";
5
5
  import { g as ie } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { o as Je } from "./chunks/on-click-outside.3e0c3e2a.js";
7
7
  import "./chunks/index.4c062058.js";
8
8
  import { B as Ke } from "./chunks/teleport.d52e5254.js";
9
- import { B as le, d as Ge } from "./chunks/index.56204a08.js";
9
+ import { B as le, d as Ge } from "./chunks/index.ab6d4c73.js";
10
10
  import { u as he } from "./chunks/aria-label.ac9651a5.js";
11
- import { B as Ce, a as fe } from "./chunks/base-button.0da9c5b8.js";
11
+ import { B as Ce, a as fe } from "./chunks/base-button.7b173f0c.js";
12
12
  import { g as ge } from "./chunks/get-slot-text.99c3d860.js";
13
13
  import { u as Se } from "./chunks/use-has-slot.fbeb19ec.js";
14
- import { a as Ae, C as Be } from "./chunks/chevron-up.47c6b4cf.js";
15
- import { a as We } from "./chunks/tooltip.0311abc2.js";
14
+ import { a as Ae, C as Be } from "./chunks/chevron-up.81185563.js";
15
+ import { a as We } from "./chunks/tooltip.a007fd93.js";
16
16
  import { B as Ze } from "./chunks/directive.0408e565.js";
17
17
  import { BentoRadioGroup as Qe } from "./radio-group.js";
18
18
  import { BentoInputField as De } from "./input-field.js";
19
19
  import { BentoSearchBar as ae, BentoSearchBarEvent as Z } from "./search-bar.js";
20
20
  import { u as Xe } from "./chunks/toastController.fd667b68.js";
21
21
  import { BentoModal as et } from "./modal.js";
22
- import { f as tt } from "./chunks/base-modal.e87e997c.js";
23
- import { a as lt } from "./chunks/button.6050544b.js";
24
- import { B as at, u as Te } from "./chunks/dropdown.91a69131.js";
25
- import { g as nt } from "./chunks/index.657f464c.js";
26
- import { B as Ee } from "./chunks/index.be0a3199.js";
22
+ import { f as tt } from "./chunks/base-modal.1180d950.js";
23
+ import { a as lt } from "./chunks/button.5d0c33b3.js";
24
+ import { B as at, u as Te } from "./chunks/dropdown.9096a595.js";
25
+ import { g as nt } from "./chunks/index.80a842a9.js";
26
+ import { B as Ee } from "./chunks/index.58ecd7ad.js";
27
27
  import { BentoDatePicker as st } from "./date-picker.js";
28
- import { f as G } from "./chunks/index.ea487c48.js";
28
+ import { f as G } from "./chunks/index.4ea5bda4.js";
29
29
  import { e as z, d as Pe, f as xe } from "./chunks/index.f55fdc32.js";
30
- import { C as ot, i as rt } from "./chunks/calendar.74dbf195.js";
31
- import { B as it, D as ut, i as be } from "./chunks/index.911b7a93.js";
30
+ import { C as ot, i as rt } from "./chunks/calendar.a64cead0.js";
31
+ import { B as it, D as ut, i as be } from "./chunks/index.f1208b85.js";
32
32
  import { BentoButtonActions as ct } from "./button.js";
33
33
  import { D as _e } from "./chunks/date-input.9186a0bf.js";
34
- import { B as dt } from "./chunks/listbox.e7b0d444.js";
35
- import { B as ft, L as Ie } from "./chunks/listbox-option-tag.e69e6052.js";
34
+ import { B as dt } from "./chunks/listbox.8f2e4e83.js";
35
+ import { B as ft, L as Ie } from "./chunks/listbox-option-tag.ae6d3f5d.js";
36
36
  import { u as bt } from "./chunks/use-country-items.6b7985bf.js";
37
37
  import { BentoPaymentMethod as _t } from "./payment-method.js";
38
- import { R as vt } from "./chunks/refresh.0900199c.js";
39
- import { F as pt } from "./chunks/fixed-scroller.0146b898.js";
40
- import "./assets/index2.css";
38
+ import { R as vt } from "./chunks/refresh.71a03998.js";
39
+ import { F as pt } from "./chunks/fixed-scroller.cbab7134.js";
40
+ import "./assets/index3.css";
41
41
  const yt = (t, e, l = {}) => {
42
42
  let a;
43
43
  me(() => {
@@ -1738,11 +1738,11 @@ var wl = function() {
1738
1738
  );
1739
1739
  const ql = Hl.exports, jl = {
1740
1740
  "en-US": {
1741
- clearAll: "Clear all",
1741
+ clearAll: "Clear filters",
1742
1742
  filtersHaveBeenCleared: "Filters have been cleared.",
1743
1743
  filtersHaveBeenReset: "Filters have been reset.",
1744
1744
  undo: "Undo",
1745
- resetAll: "Reset all",
1745
+ resetAll: "Reset filters",
1746
1746
  searchBar: "Search bar"
1747
1747
  }
1748
1748
  }, Yl = R({
@@ -1,4 +1,4 @@
1
- import { B as a } from "./chunks/index.657f464c.js";
1
+ import { B as a } from "./chunks/index.80a842a9.js";
2
2
  export {
3
3
  a as BentoFocusTrap
4
4
  };
@@ -3,8 +3,8 @@ import { BentoAlert as d } from "./alert.js";
3
3
  import { F as b } from "./chunks/form-layout.types.a7a1438d.js";
4
4
  import { u as m } from "./chunks/use-has-slot.fbeb19ec.js";
5
5
  import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
6
- import { B as u, c as C } from "./chunks/index.56204a08.js";
7
- import "./assets/index29.css";
6
+ import { B as u, c as C } from "./chunks/index.ab6d4c73.js";
7
+ import "./assets/index5.css";
8
8
  const B = {}, $ = /* @__PURE__ */ _({
9
9
  ...B,
10
10
  __name: "form-layout",
package/dist/header.js CHANGED
@@ -1,27 +1,26 @@
1
- import { defineComponent as N, useSlots as R, ref as g, computed as T } from "vue";
2
- import { u as X } from "./chunks/use-has-slot.fbeb19ec.js";
3
- import { B as A, c as P, a as F } from "./chunks/index.56204a08.js";
4
- import { u as w } from "./chunks/i18n.eb5b985b.js";
5
- import { B } from "./chunks/button-actions-with-menu.e2f54e3a.js";
6
- import { c as I, a as L } from "./chunks/index.86453263.js";
7
- import { r as m, t as c, e as O, g as S, d as H, f as Y } from "./chunks/index.f55fdc32.js";
1
+ import { defineComponent as E, ref as h, computed as T } from "vue";
2
+ import { u as U } from "./chunks/use-has-slot.fbeb19ec.js";
3
+ import { B as C, c as D, a as L } from "./chunks/index.ab6d4c73.js";
4
+ import { u as N } from "./chunks/i18n.eb5b985b.js";
5
+ import { B as X } from "./chunks/button-actions-with-menu.101db268.js";
6
+ import { c as I, a as F } from "./chunks/index.86453263.js";
7
+ import { r as m, t as l, e as O, g as P, d as Y, f as B } from "./chunks/index.f55fdc32.js";
8
8
  import { e as G } from "./chunks/index.fdf12170.js";
9
- import { e as W } from "./chunks/index.d80206ed.js";
10
- import { I as $ } from "./chunks/info.cdd7d4de.js";
11
- import { a as h } from "./chunks/index.e876bfd9.js";
12
- import { g as z } from "./chunks/get-slot-text.99c3d860.js";
13
- import { g as j } from "./chunks/unique-id.a2a2b458.js";
14
- import { n as U } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
15
- import "./assets/index27.css";
16
- function q(o, t) {
9
+ import { e as H } from "./chunks/index.d80206ed.js";
10
+ import { a as g } from "./chunks/index.786ee2d7.js";
11
+ import { g as W } from "./chunks/unique-id.a2a2b458.js";
12
+ import { I as $ } from "./chunks/info.8b6328aa.js";
13
+ import { n as A } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
14
+ import "./assets/index6.css";
15
+ function z(o, e) {
17
16
  m(2, arguments);
18
- var n = c(o), e = c(t), i = n.getFullYear() - e.getFullYear(), a = n.getMonth() - e.getMonth();
19
- return i * 12 + a;
17
+ var n = l(o), t = l(e), c = n.getFullYear() - t.getFullYear(), a = n.getMonth() - t.getMonth();
18
+ return c * 12 + a;
20
19
  }
21
- function k(o, t) {
22
- return m(2, arguments), c(o).getTime() - c(t).getTime();
20
+ function V(o, e) {
21
+ return m(2, arguments), l(o).getTime() - l(e).getTime();
23
22
  }
24
- var C = {
23
+ var S = {
25
24
  ceil: Math.ceil,
26
25
  round: Math.round,
27
26
  floor: Math.floor,
@@ -29,84 +28,84 @@ var C = {
29
28
  return o < 0 ? Math.ceil(o) : Math.floor(o);
30
29
  }
31
30
  // Math.trunc is not supported by IE
32
- }, V = "trunc";
33
- function J(o) {
34
- return o ? C[o] : C[V];
31
+ }, j = "trunc";
32
+ function q(o) {
33
+ return o ? S[o] : S[j];
35
34
  }
36
- function K(o) {
35
+ function k(o) {
37
36
  m(1, arguments);
38
- var t = c(o);
39
- return G(t).getTime() === W(t).getTime();
37
+ var e = l(o);
38
+ return G(e).getTime() === H(e).getTime();
40
39
  }
41
- function Q(o, t) {
40
+ function J(o, e) {
42
41
  m(2, arguments);
43
- var n = c(o), e = c(t), i = I(n, e), a = Math.abs(q(n, e)), s;
42
+ var n = l(o), t = l(e), c = I(n, t), a = Math.abs(z(n, t)), r;
44
43
  if (a < 1)
45
- s = 0;
44
+ r = 0;
46
45
  else {
47
- n.getMonth() === 1 && n.getDate() > 27 && n.setDate(30), n.setMonth(n.getMonth() - i * a);
48
- var l = I(n, e) === -i;
49
- K(c(o)) && a === 1 && I(o, e) === 1 && (l = !1), s = i * (a - Number(l));
46
+ n.getMonth() === 1 && n.getDate() > 27 && n.setDate(30), n.setMonth(n.getMonth() - c * a);
47
+ var s = I(n, t) === -c;
48
+ k(l(o)) && a === 1 && I(o, t) === 1 && (s = !1), r = c * (a - Number(s));
50
49
  }
51
- return s === 0 ? 0 : s;
50
+ return r === 0 ? 0 : r;
52
51
  }
53
- function Z(o, t, n) {
52
+ function K(o, e, n) {
54
53
  m(2, arguments);
55
- var e = k(o, t) / 1e3;
56
- return J(n == null ? void 0 : n.roundingMethod)(e);
54
+ var t = V(o, e) / 1e3;
55
+ return q(n == null ? void 0 : n.roundingMethod)(t);
57
56
  }
58
- var E = 1440, tt = 2520, b = 43200, et = 86400;
59
- function ot(o, t) {
57
+ var x = 1440, Q = 2520, b = 43200, Z = 86400;
58
+ function ee(o, e) {
60
59
  var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
61
60
  m(2, arguments);
62
- var e = n.locale || O;
63
- if (!e.formatDistance)
61
+ var t = n.locale || O;
62
+ if (!t.formatDistance)
64
63
  throw new RangeError("locale must contain formatDistance property");
65
- var i = I(o, t);
66
- if (isNaN(i))
64
+ var c = I(o, e);
65
+ if (isNaN(c))
67
66
  throw new RangeError("Invalid time value");
68
- var a = L(n);
69
- a.addSuffix = !!n.addSuffix, a.comparison = i;
70
- var s, l;
71
- i > 0 ? (s = c(t), l = c(o)) : (s = c(o), l = c(t));
72
- var f = Z(l, s), v = (S(l) - S(s)) / 1e3, r = Math.round((f - v) / 60), u;
73
- if (r < 2)
74
- return n.includeSeconds ? f < 5 ? e.formatDistance("lessThanXSeconds", 5, a) : f < 10 ? e.formatDistance("lessThanXSeconds", 10, a) : f < 20 ? e.formatDistance("lessThanXSeconds", 20, a) : f < 40 ? e.formatDistance("halfAMinute", null, a) : f < 60 ? e.formatDistance("lessThanXMinutes", 1, a) : e.formatDistance("xMinutes", 1, a) : r === 0 ? e.formatDistance("lessThanXMinutes", 1, a) : e.formatDistance("xMinutes", r, a);
75
- if (r < 45)
76
- return e.formatDistance("xMinutes", r, a);
77
- if (r < 90)
78
- return e.formatDistance("aboutXHours", 1, a);
79
- if (r < E) {
80
- var M = Math.round(r / 60);
81
- return e.formatDistance("aboutXHours", M, a);
67
+ var a = F(n);
68
+ a.addSuffix = !!n.addSuffix, a.comparison = c;
69
+ var r, s;
70
+ c > 0 ? (r = l(e), s = l(o)) : (r = l(o), s = l(e));
71
+ var f = K(s, r), v = (P(s) - P(r)) / 1e3, i = Math.round((f - v) / 60), p;
72
+ if (i < 2)
73
+ return n.includeSeconds ? f < 5 ? t.formatDistance("lessThanXSeconds", 5, a) : f < 10 ? t.formatDistance("lessThanXSeconds", 10, a) : f < 20 ? t.formatDistance("lessThanXSeconds", 20, a) : f < 40 ? t.formatDistance("halfAMinute", null, a) : f < 60 ? t.formatDistance("lessThanXMinutes", 1, a) : t.formatDistance("xMinutes", 1, a) : i === 0 ? t.formatDistance("lessThanXMinutes", 1, a) : t.formatDistance("xMinutes", i, a);
74
+ if (i < 45)
75
+ return t.formatDistance("xMinutes", i, a);
76
+ if (i < 90)
77
+ return t.formatDistance("aboutXHours", 1, a);
78
+ if (i < x) {
79
+ var u = Math.round(i / 60);
80
+ return t.formatDistance("aboutXHours", u, a);
82
81
  } else {
83
- if (r < tt)
84
- return e.formatDistance("xDays", 1, a);
85
- if (r < b) {
86
- var D = Math.round(r / E);
87
- return e.formatDistance("xDays", D, a);
88
- } else if (r < et)
89
- return u = Math.round(r / b), e.formatDistance("aboutXMonths", u, a);
82
+ if (i < Q)
83
+ return t.formatDistance("xDays", 1, a);
84
+ if (i < b) {
85
+ var w = Math.round(i / x);
86
+ return t.formatDistance("xDays", w, a);
87
+ } else if (i < Z)
88
+ return p = Math.round(i / b), t.formatDistance("aboutXMonths", p, a);
90
89
  }
91
- if (u = Q(l, s), u < 12) {
92
- var x = Math.round(r / b);
93
- return e.formatDistance("xMonths", x, a);
90
+ if (p = J(s, r), p < 12) {
91
+ var R = Math.round(i / b);
92
+ return t.formatDistance("xMonths", R, a);
94
93
  } else {
95
- var p = u % 12, y = Math.floor(u / 12);
96
- return p < 3 ? e.formatDistance("aboutXYears", y, a) : p < 9 ? e.formatDistance("overXYears", y, a) : e.formatDistance("almostXYears", y + 1, a);
94
+ var y = p % 12, M = Math.floor(p / 12);
95
+ return y < 3 ? t.formatDistance("aboutXYears", M, a) : y < 9 ? t.formatDistance("overXYears", M, a) : t.formatDistance("almostXYears", M + 1, a);
97
96
  }
98
97
  }
99
- function nt(o, t) {
100
- return m(1, arguments), ot(o, Date.now(), t);
98
+ function te(o, e) {
99
+ return m(1, arguments), ee(o, Date.now(), e);
101
100
  }
102
- const at = {
101
+ const oe = {
103
102
  "en-US": {
104
103
  infoIconAriaLabel: "More information"
105
104
  }
106
- }, rt = {
107
- i18n: { messages: at }
108
- }, st = /* @__PURE__ */ N({
109
- ...rt,
105
+ }, ne = {
106
+ i18n: { messages: oe }
107
+ }, ae = /* @__PURE__ */ E({
108
+ ...ne,
110
109
  __name: "info-icon-with-popover",
111
110
  props: {
112
111
  /**
@@ -117,54 +116,54 @@ const at = {
117
116
  * Position the popover should take if space is available
118
117
  */
119
118
  popoverPosition: {
120
- type: h.props.position.type,
121
- default: h.props.position.default,
122
- validator: h.props.position.validator
119
+ type: g.props.position.type,
120
+ default: g.props.position.default,
121
+ validator: g.props.position.validator
123
122
  }
124
123
  },
125
124
  setup(o) {
126
- const t = o, n = 200, e = R(), { t: i } = w(), a = g(), s = g(null), l = j("bento-info-icon-with-popover"), f = g(), v = g(), r = () => {
127
- f.value = !0, v.value && clearTimeout(v.value);
128
- }, u = () => {
129
- const p = setTimeout(() => {
130
- f.value = !1;
131
- }, n);
132
- v.value = p;
133
- }, M = T(() => t.popoverText ?? z(e)("default"));
134
- return { __sfc: !0, CLOSING_POPOVER_DELAY_MS: n, props: t, slots: e, t: i, infoIconRef: a, targetElement: s, popoverId: l, isOpen: f, closingTimeOutId: v, openPopover: r, closePopover: u, computedPopoverContent: M, infoIconOnFocus: () => {
135
- r();
136
- }, infoIconOnFocusOut: (p) => {
137
- (!a.value || !((p == null ? void 0 : p.relatedTarget) instanceof Element) || !a.value.contains(p.relatedTarget)) && u();
138
- }, InfoIcon: $, BentoPopover: h, BentoTypography: A };
125
+ const { t: n } = N(), t = h(), c = h(null), a = W("bento-info-icon-with-popover"), r = h(), s = h(), f = () => {
126
+ r.value = !0, s.value && clearTimeout(s.value);
127
+ }, v = () => {
128
+ const u = setTimeout(() => {
129
+ r.value = !1;
130
+ }, 200);
131
+ s.value = u;
132
+ };
133
+ return { __sfc: !0, CLOSING_POPOVER_DELAY_MS: 200, t: n, infoIconRef: t, targetElement: c, popoverId: a, isOpen: r, closingTimeOutId: s, openPopover: f, closePopover: v, infoIconOnFocus: () => {
134
+ f();
135
+ }, infoIconOnFocusOut: (u) => {
136
+ (!t.value || !((u == null ? void 0 : u.relatedTarget) instanceof Element) || !t.value.contains(u.relatedTarget)) && v();
137
+ }, BentoPopover: g, BentoTypography: C, InfoIcon: $ };
139
138
  }
140
139
  });
141
- var it = function() {
142
- var t = this, n = t._self._c, e = t._self._setupProxy;
143
- return n("div", { ref: "infoIconRef", staticClass: "b-info-icon-with-popover", attrs: { tabindex: "0", "data-testid": "info-icon-with-popover" }, on: { mouseenter: e.openPopover, mouseleave: e.closePopover, focus: e.infoIconOnFocus, focusout: e.infoIconOnFocusOut } }, [n(e.InfoIcon, { ref: "targetElement", staticClass: "b-info-icon-with-popover__svg", attrs: { "aria-expanded": e.isOpen, "aria-describedby": e.popoverId, "svg-title": e.t("infoIconAriaLabel") } }), e.targetElement && e.computedPopoverContent ? n(e.BentoPopover, { attrs: { open: e.isOpen, "target-element": e.targetElement, position: t.popoverPosition, role: "tooltip", "fit-content": "", "disable-focus-trap": "" } }, [n(e.BentoTypography, [t._t("default", function() {
144
- return [t.popoverText ? n("div", [t._v(" " + t._s(t.popoverText) + " ")]) : t._e()];
145
- })], 2)], 1) : t._e()], 1);
146
- }, lt = [], ct = /* @__PURE__ */ U(
147
- st,
148
- it,
149
- lt,
140
+ var re = function() {
141
+ var e = this, n = e._self._c, t = e._self._setupProxy;
142
+ return n("div", { ref: "infoIconRef", staticClass: "b-info-icon-with-popover", attrs: { tabindex: "0", "data-testid": "info-icon-with-popover" }, on: { mouseenter: t.openPopover, mouseleave: t.closePopover, focus: t.infoIconOnFocus, focusout: t.infoIconOnFocusOut } }, [n(t.InfoIcon, { ref: "targetElement", staticClass: "b-info-icon-with-popover__svg", attrs: { "aria-expanded": t.isOpen, "aria-describedby": t.popoverId, "svg-title": t.t("infoIconAriaLabel") } }), t.targetElement ? n(t.BentoPopover, { attrs: { open: t.isOpen, "target-element": t.targetElement, position: e.popoverPosition, role: "tooltip", "fit-content": "", "disable-focus-trap": "" } }, [n(t.BentoTypography, [e._t("default", function() {
143
+ return [e.popoverText ? n("div", [e._v(" " + e._s(e.popoverText) + " ")]) : e._e()];
144
+ })], 2)], 1) : e._e()], 1);
145
+ }, se = [], ie = /* @__PURE__ */ A(
146
+ ae,
147
+ re,
148
+ se,
150
149
  !1,
151
150
  null,
152
- "80706479",
151
+ "8baceb76",
153
152
  null,
154
153
  null
155
154
  );
156
- const _ = ct.exports;
155
+ const _ = ie.exports;
157
156
  var d = /* @__PURE__ */ ((o) => (o.PAGE = "page", o.COMPONENT = "component", o))(d || {});
158
- const ft = {
157
+ const ce = {
159
158
  "en-US": {
160
159
  lastUpdated: "Last updated: {date} ago"
161
160
  }
162
- }, ut = N({
163
- i18n: { messages: ft },
161
+ }, le = E({
162
+ i18n: { messages: ce },
164
163
  name: "bento-header",
165
164
  components: {
166
- BentoTypography: A,
167
- ButtonActionsWithMenu: B,
165
+ BentoTypography: C,
166
+ ButtonActionsWithMenu: X,
168
167
  InfoIconWithPopover: _
169
168
  },
170
169
  props: {
@@ -205,46 +204,46 @@ const ft = {
205
204
  */
206
205
  title: { type: String, required: !0 }
207
206
  },
208
- setup(o, { slots: t }) {
209
- const { t: n, locale: e } = w(), i = { de: H, enUS: O, fr: Y }, a = T(() => ({
207
+ setup(o, { slots: e }) {
208
+ const { t: n, locale: t } = N(), c = { de: Y, enUS: O, fr: B }, a = T(() => ({
210
209
  "b-header--component": o.variant === d.COMPONENT
211
- })), s = T(() => ({
212
- el: o.variant === d.PAGE ? P.H1 : P.H2,
213
- variant: F.TITLE,
210
+ })), r = T(() => ({
211
+ el: o.variant === d.PAGE ? D.H1 : D.H2,
212
+ variant: L.TITLE,
214
213
  medium: o.variant === d.COMPONENT,
215
214
  large: o.variant === d.PAGE
216
- })), l = T(
215
+ })), s = T(
217
216
  () => o.lastUpdated ? n("lastUpdated", {
218
- date: nt(o.lastUpdated, {
219
- locale: i[e.value.substring(0, 2)] || O
217
+ date: te(o.lastUpdated, {
218
+ locale: c[t.value.substring(0, 2)] || O
220
219
  })
221
220
  }) : null
222
221
  );
223
222
  return {
224
- hasSlot: X(t),
223
+ hasSlot: U(e),
225
224
  conditionalClasses: a,
226
- timestamp: l,
227
- typography: s
225
+ timestamp: s,
226
+ typography: r
228
227
  };
229
228
  }
230
229
  });
231
- var pt = function() {
232
- var t = this, n = t._self._c;
233
- return t._self._setupProxy, n("div", { staticClass: "b-header", class: t.conditionalClasses }, [n("div", { staticClass: "b-header__wrapper" }, [n("div", { staticClass: "b-header__title" }, [n("div", [n("bento-typography", t._b({ staticClass: "b-header__text" }, "bento-typography", t.typography, !1), [t._v(t._s(t.title))]), t.infoIconTooltipText || t.hasSlot("infoIconTooltipContent") ? n("info-icon-with-popover", { staticClass: "b-header__tooltip", attrs: { "popover-text": t.infoIconTooltipText }, scopedSlots: t._u([t.hasSlot("infoIconTooltipContent") ? { key: "default", fn: function() {
234
- return [t._t("infoIconTooltipContent")];
235
- }, proxy: !0 } : null], null, !0) }) : t._e()], 1), t.lastUpdated ? n("bento-typography", { staticClass: "b-header__timestamp", attrs: { el: "div", variant: "caption" } }, [t._v(" " + t._s(t.timestamp) + " ")]) : t._e()], 1), t.actions ? n("button-actions-with-menu", { staticClass: "b-header__actions", attrs: { actions: t.actions, "displayed-actions": 2 } }) : t._e()], 1)]);
236
- }, dt = [], mt = /* @__PURE__ */ U(
237
- ut,
238
- pt,
239
- dt,
230
+ var fe = function() {
231
+ var e = this, n = e._self._c;
232
+ return e._self._setupProxy, n("div", { staticClass: "b-header", class: e.conditionalClasses }, [n("div", { staticClass: "b-header__wrapper" }, [n("div", { staticClass: "b-header__title" }, [n("div", [n("bento-typography", e._b({ staticClass: "b-header__text" }, "bento-typography", e.typography, !1), [e._v(e._s(e.title))]), e.infoIconTooltipText || e.hasSlot("infoIconTooltipContent") ? n("info-icon-with-popover", { staticClass: "b-header__tooltip", attrs: { "popover-text": e.infoIconTooltipText }, scopedSlots: e._u([e.hasSlot("infoIconTooltipContent") ? { key: "default", fn: function() {
233
+ return [e._t("infoIconTooltipContent")];
234
+ }, proxy: !0 } : null], null, !0) }) : e._e()], 1), e.lastUpdated ? n("bento-typography", { staticClass: "b-header__timestamp", attrs: { el: "div", variant: "caption" } }, [e._v(" " + e._s(e.timestamp) + " ")]) : e._e()], 1), e.actions ? n("button-actions-with-menu", { staticClass: "b-header__actions", attrs: { actions: e.actions, "displayed-actions": 2 } }) : e._e()], 1)]);
235
+ }, ue = [], pe = /* @__PURE__ */ A(
236
+ le,
237
+ fe,
238
+ ue,
240
239
  !1,
241
240
  null,
242
241
  "07700b06",
243
242
  null,
244
243
  null
245
244
  );
246
- const Ct = mt.exports;
245
+ const Pe = pe.exports;
247
246
  export {
248
- Ct as BentoHeader
247
+ Pe as BentoHeader
249
248
  };
250
249
  //# sourceMappingURL=header.js.map