@adyen/bento-vue3 1.11.0 → 1.12.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 (220) hide show
  1. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +11 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +2 -2
  7. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +43 -34
  8. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +50 -1052
  9. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +7 -13
  10. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -5
  11. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +2 -0
  12. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +4 -5
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +2 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +4 -4
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +2 -0
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +4 -4
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +2 -0
  18. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +4 -5
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +2 -0
  21. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -0
  22. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useDisplayValue.types.d.ts → use-display-value.types.d.ts} +16 -0
  23. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useKeyboardNavigation.d.ts → use-keyboard-navigation.d.ts} +3 -13
  24. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +15 -0
  25. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +50 -2435
  26. package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +6 -5
  27. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -12
  28. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +1 -1
  30. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +17 -11
  31. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +17 -61
  32. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +60 -50
  33. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +40 -357
  34. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +77 -84
  35. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  37. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
  38. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +5 -5
  40. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +6 -0
  41. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +10 -0
  42. package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +1 -0
  43. package/dist/accordion.js +2 -2
  44. package/dist/action-bar.js +5 -5
  45. package/dist/alert.js +3 -3
  46. package/dist/assets/base-modal.css +1 -1
  47. package/dist/assets/button.css +1 -1
  48. package/dist/assets/dropdown-default-textbox.css +1 -1
  49. package/dist/assets/dropdown.css +1 -1
  50. package/dist/assets/index10.css +1 -1
  51. package/dist/assets/index11.css +1 -1
  52. package/dist/assets/index12.css +1 -1
  53. package/dist/assets/index13.css +1 -1
  54. package/dist/assets/index14.css +1 -1
  55. package/dist/assets/index15.css +1 -1
  56. package/dist/assets/index16.css +1 -1
  57. package/dist/assets/index17.css +1 -1
  58. package/dist/assets/index18.css +1 -1
  59. package/dist/assets/index19.css +1 -1
  60. package/dist/assets/index2.css +1 -1
  61. package/dist/assets/index20.css +1 -1
  62. package/dist/assets/index21.css +1 -1
  63. package/dist/assets/index22.css +1 -1
  64. package/dist/assets/index23.css +1 -1
  65. package/dist/assets/index24.css +1 -1
  66. package/dist/assets/index25.css +1 -1
  67. package/dist/assets/index26.css +1 -1
  68. package/dist/assets/index27.css +1 -1
  69. package/dist/assets/index28.css +1 -1
  70. package/dist/assets/index29.css +1 -1
  71. package/dist/assets/index3.css +1 -1
  72. package/dist/assets/index30.css +1 -1
  73. package/dist/assets/index31.css +1 -1
  74. package/dist/assets/index32.css +1 -1
  75. package/dist/assets/index33.css +1 -1
  76. package/dist/assets/index34.css +1 -1
  77. package/dist/assets/index35.css +1 -1
  78. package/dist/assets/index36.css +1 -1
  79. package/dist/assets/index37.css +1 -1
  80. package/dist/assets/index38.css +1 -1
  81. package/dist/assets/index39.css +1 -1
  82. package/dist/assets/index4.css +1 -1
  83. package/dist/assets/index40.css +1 -1
  84. package/dist/assets/index41.css +1 -1
  85. package/dist/assets/index42.css +1 -1
  86. package/dist/assets/index43.css +1 -1
  87. package/dist/assets/index44.css +1 -1
  88. package/dist/assets/index45.css +1 -1
  89. package/dist/assets/index46.css +1 -1
  90. package/dist/assets/index47.css +1 -1
  91. package/dist/assets/index5.css +1 -1
  92. package/dist/assets/index6.css +1 -1
  93. package/dist/assets/index7.css +1 -1
  94. package/dist/assets/index8.css +1 -1
  95. package/dist/assets/index9.css +1 -1
  96. package/dist/avatar-image.js +1 -1
  97. package/dist/badge.js +1 -1
  98. package/dist/button.js +5 -5
  99. package/dist/card.js +25 -24
  100. package/dist/card.js.map +1 -1
  101. package/dist/checkbox.js +6 -6
  102. package/dist/chunks/{base-button.39fae75f.js → base-button.9f2acdeb.js} +2 -2
  103. package/dist/chunks/{base-button.39fae75f.js.map → base-button.9f2acdeb.js.map} +1 -1
  104. package/dist/chunks/base-modal.56a671c3.js +284 -0
  105. package/dist/chunks/base-modal.56a671c3.js.map +1 -0
  106. package/dist/chunks/{button-actions-with-menu.2ff339f6.js → button-actions-with-menu.080ccaf8.js} +3 -3
  107. package/dist/chunks/{button-actions-with-menu.2ff339f6.js.map → button-actions-with-menu.080ccaf8.js.map} +1 -1
  108. package/dist/chunks/{button.623a46d2.js → button.7ce49c43.js} +2 -2
  109. package/dist/chunks/{button.623a46d2.js.map → button.7ce49c43.js.map} +1 -1
  110. package/dist/chunks/{calendar.b1d05580.js → calendar.f0f7b405.js} +8 -7
  111. package/dist/chunks/{calendar.b1d05580.js.map → calendar.f0f7b405.js.map} +1 -1
  112. package/dist/chunks/{checkbox.d65694f2.js → checkbox.c63cd1d8.js} +3 -3
  113. package/dist/chunks/{checkbox.d65694f2.js.map → checkbox.c63cd1d8.js.map} +1 -1
  114. package/dist/chunks/{controls-group.30352ce4.js → controls-group.1660076e.js} +3 -3
  115. package/dist/chunks/{controls-group.30352ce4.js.map → controls-group.1660076e.js.map} +1 -1
  116. package/dist/chunks/{copy.2a9cddc1.js → copy.91983fad.js} +4 -4
  117. package/dist/chunks/{copy.2a9cddc1.js.map → copy.91983fad.js.map} +1 -1
  118. package/dist/chunks/dropdown-default-textbox.157f95f0.js +399 -0
  119. package/dist/chunks/dropdown-default-textbox.157f95f0.js.map +1 -0
  120. package/dist/chunks/dropdown.b0e80aaa.js +902 -0
  121. package/dist/chunks/dropdown.b0e80aaa.js.map +1 -0
  122. package/dist/chunks/{field-label.b681234d.js → field-label.894140ec.js} +2 -2
  123. package/dist/chunks/{field-label.b681234d.js.map → field-label.894140ec.js.map} +1 -1
  124. package/dist/chunks/{fixed-scroller.ebfb2f80.js → fixed-scroller.708a4c4e.js} +2 -2
  125. package/dist/chunks/{fixed-scroller.ebfb2f80.js.map → fixed-scroller.708a4c4e.js.map} +1 -1
  126. package/dist/chunks/{footer-actions.03015ba1.js → footer-actions.21ba3026.js} +3 -3
  127. package/dist/chunks/{footer-actions.03015ba1.js.map → footer-actions.21ba3026.js.map} +1 -1
  128. package/dist/chunks/{index.80078bf9.js → index.266dd8ff.js} +2 -2
  129. package/dist/chunks/{index.80078bf9.js.map → index.266dd8ff.js.map} +1 -1
  130. package/dist/chunks/{index.45d00aad.js → index.3ec651d0.js} +5 -4
  131. package/dist/chunks/{index.45d00aad.js.map → index.3ec651d0.js.map} +1 -1
  132. package/dist/chunks/{index.0a8ddfaa.js → index.46b7b1d3.js} +6 -6
  133. package/dist/chunks/{index.0a8ddfaa.js.map → index.46b7b1d3.js.map} +1 -1
  134. package/dist/chunks/{index.1dac266a.js → index.62c5d91f.js} +3 -3
  135. package/dist/chunks/{index.1dac266a.js.map → index.62c5d91f.js.map} +1 -1
  136. package/dist/chunks/{index.cf561336.js → index.762f7ec9.js} +6 -6
  137. package/dist/chunks/{index.cf561336.js.map → index.762f7ec9.js.map} +1 -1
  138. package/dist/chunks/{index.a4a6e52f.js → index.9ae856b3.js} +3 -3
  139. package/dist/chunks/{index.a4a6e52f.js.map → index.9ae856b3.js.map} +1 -1
  140. package/dist/chunks/{index.03605cb0.js → index.a25e53b8.js} +5 -5
  141. package/dist/chunks/{index.03605cb0.js.map → index.a25e53b8.js.map} +1 -1
  142. package/dist/chunks/{index.ef1c4d59.js → index.d57976cb.js} +320 -317
  143. package/dist/chunks/index.d57976cb.js.map +1 -0
  144. package/dist/chunks/{index.09f7f1b5.js → index.fcfca776.js} +2 -2
  145. package/dist/chunks/{index.09f7f1b5.js.map → index.fcfca776.js.map} +1 -1
  146. package/dist/chunks/{listbox-option-tag.ff6d6f32.js → listbox-option-tag.1f42ad7f.js} +3 -3
  147. package/dist/chunks/{listbox-option-tag.ff6d6f32.js.map → listbox-option-tag.1f42ad7f.js.map} +1 -1
  148. package/dist/chunks/{listbox.dd9883c5.js → listbox.2c0a69a6.js} +6 -6
  149. package/dist/chunks/{listbox.dd9883c5.js.map → listbox.2c0a69a6.js.map} +1 -1
  150. package/dist/chunks/{loading-button.30c5fede.js → loading-button.52696f0f.js} +2 -2
  151. package/dist/chunks/{loading-button.30c5fede.js.map → loading-button.52696f0f.js.map} +1 -1
  152. package/dist/chunks/{tooltip.785993dd.js → tooltip.d366f95d.js} +3 -3
  153. package/dist/chunks/{tooltip.785993dd.js.map → tooltip.d366f95d.js.map} +1 -1
  154. package/dist/chunks/{useCountryItems.d2a1f224.js → use-country-items.d2a1f224.js} +1 -1
  155. package/dist/chunks/use-country-items.d2a1f224.js.map +1 -0
  156. package/dist/code-snippet.js +7 -7
  157. package/dist/code-snippet.js.map +1 -1
  158. package/dist/country.js +2 -2
  159. package/dist/currency.js +1 -1
  160. package/dist/data-grid.js +658 -649
  161. package/dist/data-grid.js.map +1 -1
  162. package/dist/date-picker.js +36 -35
  163. package/dist/date-picker.js.map +1 -1
  164. package/dist/date-range-picker.js +2 -2
  165. package/dist/date.js +1 -1
  166. package/dist/dropdown.js +122 -174
  167. package/dist/dropdown.js.map +1 -1
  168. package/dist/empty-state.js +3 -3
  169. package/dist/filter-bar.js +20 -19
  170. package/dist/filter-bar.js.map +1 -1
  171. package/dist/focus-trap.js +1 -1
  172. package/dist/form-layout.js +2 -2
  173. package/dist/header.js +3 -3
  174. package/dist/index.js +203 -200
  175. package/dist/info-icon.js +3 -3
  176. package/dist/input-field.js +4 -4
  177. package/dist/internal.js +7 -7
  178. package/dist/link.js +40 -30
  179. package/dist/link.js.map +1 -1
  180. package/dist/loading-indicator.js +1 -1
  181. package/dist/menu.js +1 -1
  182. package/dist/modal.js +297 -404
  183. package/dist/modal.js.map +1 -1
  184. package/dist/pagination.js +122 -122
  185. package/dist/pagination.js.map +1 -1
  186. package/dist/payment-method.js +2 -2
  187. package/dist/popover.js +1 -1
  188. package/dist/popper-container.js +1 -1
  189. package/dist/radio-group.js +4 -4
  190. package/dist/search-bar.js +2 -2
  191. package/dist/secondary-nav.js +2 -2
  192. package/dist/segmented-control.js +3 -3
  193. package/dist/sidepanel.js +5 -5
  194. package/dist/status.js +2 -2
  195. package/dist/stepper.js +3 -3
  196. package/dist/structured-list.js +1 -1
  197. package/dist/summary-grid.js +3 -3
  198. package/dist/tabs.js +39 -39
  199. package/dist/tabs.js.map +1 -1
  200. package/dist/tag.js +3 -3
  201. package/dist/textarea.js +4 -4
  202. package/dist/timeline.js +5 -5
  203. package/dist/toast.js +3 -3
  204. package/dist/toggle.js +2 -2
  205. package/dist/tutorial.js +5 -5
  206. package/dist/typography.js +1 -1
  207. package/dist/web-types.json +1 -1
  208. package/package.json +2 -2
  209. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.d.ts +0 -2
  210. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +0 -3
  211. package/dist/chunks/base-modal.161ce8f0.js +0 -310
  212. package/dist/chunks/base-modal.161ce8f0.js.map +0 -1
  213. package/dist/chunks/dropdown-default-textbox.a731b5fb.js +0 -420
  214. package/dist/chunks/dropdown-default-textbox.a731b5fb.js.map +0 -1
  215. package/dist/chunks/dropdown.96431c25.js +0 -993
  216. package/dist/chunks/dropdown.96431c25.js.map +0 -1
  217. package/dist/chunks/index.ef1c4d59.js.map +0 -1
  218. package/dist/chunks/useCountryItems.d2a1f224.js.map +0 -1
  219. /package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/{useDropdownOptionsListbox.d.ts → use-dropdown-options-listbox.d.ts} +0 -0
  220. /package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/{useCountryItems.d.ts → use-country-items.d.ts} +0 -0
@@ -1,13 +1,13 @@
1
- import { defineComponent as N, ref as k, computed as v, resolveComponent as d, openBlock as o, createElementBlock as m, createVNode as p, withCtx as c, createBlock as f, resolveDynamicComponent as B, mergeProps as b, createSlots as D, createTextVNode as T, toDisplayString as h, createCommentVNode as $, createElementVNode as u, toRefs as Z, normalizeClass as W, pushScopeId as z, popScopeId as U } from "vue";
2
- import { u as V } from "./chunks/aria-label.ac9651a5.js";
3
- import { B as A } from "./chunks/index.09f7f1b5.js";
4
- import { B as E } from "./chunks/dropdown.96431c25.js";
1
+ import { defineComponent as N, ref as k, computed as v, resolveComponent as c, openBlock as o, createElementBlock as _, createVNode as u, withCtx as m, createBlock as f, resolveDynamicComponent as B, mergeProps as b, createSlots as Z, createTextVNode as T, toDisplayString as h, createCommentVNode as $, createElementVNode as d, toRefs as z, normalizeClass as W, pushScopeId as U, popScopeId as V } from "vue";
2
+ import { u as j } from "./chunks/aria-label.ac9651a5.js";
3
+ import { B as A } from "./chunks/index.fcfca776.js";
4
+ import { B as E } from "./chunks/dropdown.b0e80aaa.js";
5
5
  import { g as R } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { g as F, a as M } from "./chunks/i18n.6c402773.js";
7
7
  import { _ as P } from "./chunks/_plugin-vue_export-helper.dad06003.js";
8
- import { a as j } from "./chunks/button.623a46d2.js";
9
- import "./assets/index28.css";
10
- const J = {
8
+ import { a as J } from "./chunks/button.7ce49c43.js";
9
+ import "./assets/index36.css";
10
+ const K = {
11
11
  "en-US": {
12
12
  showingItems: "Showing {itemCount} items",
13
13
  showingItemsWithTotal: "Showing {itemCount} of {totalCount} items"
@@ -32,16 +32,16 @@ const J = {
32
32
  showingItems: "Mostrando {itemCount} artículos",
33
33
  showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículos"
34
34
  }
35
- }, K = 50, y = [
35
+ }, H = 50, y = [
36
36
  { label: "10", value: 10 },
37
37
  { label: "20", value: 20 },
38
38
  { label: "50", value: 50 },
39
39
  // DEFAULT_NUMBER_OF_RESULTS
40
40
  { label: "75", value: 75 },
41
41
  { label: "100", value: 100 }
42
- ], H = N({
42
+ ], q = N({
43
43
  name: "bento-pagination-context-results-per-page",
44
- i18n: { messages: J },
44
+ i18n: { messages: K },
45
45
  components: {
46
46
  BentoDropdown: E,
47
47
  BentoTypography: A
@@ -52,7 +52,7 @@ const J = {
52
52
  */
53
53
  itemsPerPage: {
54
54
  type: Number,
55
- default: K,
55
+ default: H,
56
56
  validator: (e) => y.some(({ value: t }) => t === e)
57
57
  },
58
58
  /**
@@ -78,19 +78,19 @@ const J = {
78
78
  };
79
79
  }
80
80
  });
81
- const q = { class: "b-pagination-results-per-page" };
82
- function G(e, t, n, i, s, l) {
83
- const g = d("bento-dropdown"), a = d("bento-typography");
84
- return o(), m("div", q, [
85
- p(a, { el: "div" }, {
86
- default: c(() => [
81
+ const G = { class: "b-pagination-results-per-page" };
82
+ function Q(e, t, n, i, s, l) {
83
+ const g = c("bento-dropdown"), a = c("bento-typography");
84
+ return o(), _("div", G, [
85
+ u(a, { el: "div" }, {
86
+ default: m(() => [
87
87
  (o(), f(B(e.i18nComponent), b(e.getI18nProps(e.translationPathKey), {
88
88
  class: "b-pagination-results-per-page__dropdown-container",
89
89
  tag: "div",
90
90
  plural: e.totalCount
91
- }), D({
92
- itemCount: c(() => [
93
- p(g, {
91
+ }), Z({
92
+ itemCount: m(() => [
93
+ u(g, {
94
94
  id: e.dropdownId,
95
95
  "aria-label": e.$t(e.translationPathKey, { itemCount: e.itemsPerPage, totalCount: e.totalCount }),
96
96
  class: "b-pagination-results-per-page__dropdown",
@@ -104,7 +104,7 @@ function G(e, t, n, i, s, l) {
104
104
  }, [
105
105
  e.totalCount ? {
106
106
  name: "totalCount",
107
- fn: c(() => [
107
+ fn: m(() => [
108
108
  T(h(e.totalCount), 1)
109
109
  ]),
110
110
  key: "0"
@@ -115,7 +115,7 @@ function G(e, t, n, i, s, l) {
115
115
  })
116
116
  ]);
117
117
  }
118
- const Q = /* @__PURE__ */ P(H, [["render", G], ["__scopeId", "data-v-bb39845f"]]), X = {
118
+ const X = /* @__PURE__ */ P(q, [["render", Q], ["__scopeId", "data-v-bb39845f"]]), Y = {
119
119
  "en-US": {
120
120
  pageOfTotalPages: "Page {page} of {totalPages}",
121
121
  pageOneOfOne: "Page 1 of 1",
@@ -146,8 +146,8 @@ const Q = /* @__PURE__ */ P(H, [["render", G], ["__scopeId", "data-v-bb39845f"]]
146
146
  pageOneOfOne: "Página 1 de 1",
147
147
  pageNumber: "Página {page}"
148
148
  }
149
- }, Y = N({
150
- i18n: { messages: X },
149
+ }, x = N({
150
+ i18n: { messages: Y },
151
151
  name: "bento-pagination-context",
152
152
  components: {
153
153
  BentoDropdown: E,
@@ -194,18 +194,18 @@ const Q = /* @__PURE__ */ P(H, [["render", G], ["__scopeId", "data-v-bb39845f"]]
194
194
  };
195
195
  }
196
196
  });
197
- const x = { class: "b-pagination-context" };
198
- function ee(e, t, n, i, s, l) {
199
- const g = d("bento-dropdown"), a = d("bento-typography");
200
- return o(), m("div", x, [
197
+ const ee = { class: "b-pagination-context" };
198
+ function te(e, t, n, i, s, l) {
199
+ const g = c("bento-dropdown"), a = c("bento-typography");
200
+ return o(), _("div", ee, [
201
201
  e.totalPages > 1 ? (o(), f(a, {
202
202
  key: 0,
203
203
  el: "div"
204
204
  }, {
205
- default: c(() => [
205
+ default: m(() => [
206
206
  (o(), f(B(e.i18nComponent), b(e.getI18nProps("pageOfTotalPages"), { tag: "div" }), {
207
- page: c(() => [
208
- p(g, {
207
+ page: m(() => [
208
+ u(g, {
209
209
  id: e.dropdownId,
210
210
  "aria-label": e.$t("pageOfTotalPages", { page: e.page, totalPages: e.totalPages }),
211
211
  class: "b-pagination-context__dropdown",
@@ -216,7 +216,7 @@ function ee(e, t, n, i, s, l) {
216
216
  onInput: e.onPageSelectChange
217
217
  }, null, 8, ["id", "aria-label", "items", "value", "virtual-scroll", "onInput"])
218
218
  ]),
219
- totalPages: c(() => [
219
+ totalPages: m(() => [
220
220
  T(h(e.totalPages), 1)
221
221
  ]),
222
222
  _: 1
@@ -227,7 +227,7 @@ function ee(e, t, n, i, s, l) {
227
227
  key: 1,
228
228
  el: "span"
229
229
  }, {
230
- default: c(() => [
230
+ default: m(() => [
231
231
  T(h(e.$t("pageOneOfOne")), 1)
232
232
  ]),
233
233
  _: 1
@@ -235,110 +235,110 @@ function ee(e, t, n, i, s, l) {
235
235
  key: 2,
236
236
  el: "span"
237
237
  }, {
238
- default: c(() => [
238
+ default: m(() => [
239
239
  T(h(e.$t("pageNumber", { page: e.page })), 1)
240
240
  ]),
241
241
  _: 1
242
242
  }))
243
243
  ]);
244
244
  }
245
- const te = /* @__PURE__ */ P(Y, [["render", ee], ["__scopeId", "data-v-f8359ceb"]]);
245
+ const ae = /* @__PURE__ */ P(x, [["render", te], ["__scopeId", "data-v-f8359ceb"]]);
246
246
  let L = 0;
247
- const ae = {
247
+ const ne = {
248
248
  beforeCreate() {
249
249
  this.uuid = L.toString(), L += 1;
250
250
  }
251
- }, ne = { key: 0 }, oe = /* @__PURE__ */ u("path", {
251
+ }, oe = { key: 0 }, ie = /* @__PURE__ */ d("path", {
252
252
  fill: "#00112C",
253
253
  d: "M9.06055 8.00011L12.0605 5.00011L10.9999 3.93945L6.93923 8.00011L10.9999 12.0608L12.0605 11.0001L9.06055 8.00011Z"
254
- }, null, -1), ie = /* @__PURE__ */ u("path", {
254
+ }, null, -1), se = /* @__PURE__ */ d("path", {
255
255
  fill: "#00112C",
256
256
  d: "M4.25 4.25L4.25 11.75H5.75L5.75 4.25L4.25 4.25Z"
257
257
  }, null, -1);
258
- function se(e, t, n, i, s, l) {
259
- return o(), m("svg", b({ role: "img" }, e.$attrs, {
258
+ function le(e, t, n, i, s, l) {
259
+ return o(), _("svg", b({ role: "img" }, e.$attrs, {
260
260
  class: "ui-assets-icons-16",
261
261
  xmlns: "http://www.w3.org/2000/svg",
262
262
  width: "16",
263
263
  height: "16",
264
264
  fill: "none"
265
265
  }), [
266
- e.$attrs["svg-title"] ? (o(), m("title", ne, h(e.$attrs["svg-title"]), 1)) : $("", !0),
267
- oe,
268
- ie
266
+ e.$attrs["svg-title"] ? (o(), _("title", oe, h(e.$attrs["svg-title"]), 1)) : $("", !0),
267
+ ie,
268
+ se
269
269
  ], 16);
270
270
  }
271
- const le = /* @__PURE__ */ P(ae, [["render", se]]);
271
+ const ge = /* @__PURE__ */ P(ne, [["render", le]]);
272
272
  let S = 0;
273
- const ge = {
273
+ const re = {
274
274
  beforeCreate() {
275
275
  this.uuid = S.toString(), S += 1;
276
276
  }
277
- }, re = { key: 0 }, pe = /* @__PURE__ */ u("path", {
277
+ }, pe = { key: 0 }, ue = /* @__PURE__ */ d("path", {
278
278
  fill: "#00112C",
279
279
  d: "M6.93945 7.99962L3.93945 10.9996L5.00011 12.0603L9.06077 7.99963L5.00011 3.93896L3.93945 4.99963L6.93945 7.99962Z"
280
- }, null, -1), ue = /* @__PURE__ */ u("path", {
280
+ }, null, -1), de = /* @__PURE__ */ d("path", {
281
281
  fill: "#00112C",
282
282
  d: "M11.75 11.7497V4.24974L10.25 4.24974V11.7497H11.75Z"
283
283
  }, null, -1);
284
- function de(e, t, n, i, s, l) {
285
- return o(), m("svg", b({ role: "img" }, e.$attrs, {
284
+ function ce(e, t, n, i, s, l) {
285
+ return o(), _("svg", b({ role: "img" }, e.$attrs, {
286
286
  class: "ui-assets-icons-16",
287
287
  xmlns: "http://www.w3.org/2000/svg",
288
288
  width: "16",
289
289
  height: "16",
290
290
  fill: "none"
291
291
  }), [
292
- e.$attrs["svg-title"] ? (o(), m("title", re, h(e.$attrs["svg-title"]), 1)) : $("", !0),
293
- pe,
294
- ue
292
+ e.$attrs["svg-title"] ? (o(), _("title", pe, h(e.$attrs["svg-title"]), 1)) : $("", !0),
293
+ ue,
294
+ de
295
295
  ], 16);
296
296
  }
297
- const ce = /* @__PURE__ */ P(ge, [["render", de]]);
297
+ const me = /* @__PURE__ */ P(re, [["render", ce]]);
298
298
  let I = 0;
299
- const me = {
299
+ const _e = {
300
300
  beforeCreate() {
301
301
  this.uuid = I.toString(), I += 1;
302
302
  }
303
- }, _e = { key: 0 }, ve = /* @__PURE__ */ u("path", {
303
+ }, ve = { key: 0 }, he = /* @__PURE__ */ d("path", {
304
304
  fill: "#00112C",
305
305
  d: "M10.5608 5.00011L7.56077 8.00011L10.5608 11.0001L9.50011 12.0608L5.43945 8.00011L9.50011 3.93945L10.5608 5.00011Z"
306
306
  }, null, -1);
307
- function he(e, t, n, i, s, l) {
308
- return o(), m("svg", b({ role: "img" }, e.$attrs, {
307
+ function Pe(e, t, n, i, s, l) {
308
+ return o(), _("svg", b({ role: "img" }, e.$attrs, {
309
309
  class: "ui-assets-icons-16",
310
310
  xmlns: "http://www.w3.org/2000/svg",
311
311
  width: "16",
312
312
  height: "16",
313
313
  fill: "none"
314
314
  }), [
315
- e.$attrs["svg-title"] ? (o(), m("title", _e, h(e.$attrs["svg-title"]), 1)) : $("", !0),
316
- ve
315
+ e.$attrs["svg-title"] ? (o(), _("title", ve, h(e.$attrs["svg-title"]), 1)) : $("", !0),
316
+ he
317
317
  ], 16);
318
318
  }
319
- const Pe = /* @__PURE__ */ P(me, [["render", he]]);
319
+ const fe = /* @__PURE__ */ P(_e, [["render", Pe]]);
320
320
  let O = 0;
321
- const fe = {
321
+ const be = {
322
322
  beforeCreate() {
323
323
  this.uuid = O.toString(), O += 1;
324
324
  }
325
- }, be = { key: 0 }, Ce = /* @__PURE__ */ u("path", {
325
+ }, Ce = { key: 0 }, $e = /* @__PURE__ */ d("path", {
326
326
  fill: "#00112C",
327
327
  d: "M5.43924 10.9999L8.43924 7.99989L5.43924 4.99989L6.4999 3.93923L10.5606 7.99989L6.4999 12.0605L5.43924 10.9999Z"
328
328
  }, null, -1);
329
- function $e(e, t, n, i, s, l) {
330
- return o(), m("svg", b({ role: "img" }, e.$attrs, {
329
+ function Te(e, t, n, i, s, l) {
330
+ return o(), _("svg", b({ role: "img" }, e.$attrs, {
331
331
  class: "ui-assets-icons-16",
332
332
  xmlns: "http://www.w3.org/2000/svg",
333
333
  width: "16",
334
334
  height: "16",
335
335
  fill: "none"
336
336
  }), [
337
- e.$attrs["svg-title"] ? (o(), m("title", be, h(e.$attrs["svg-title"]), 1)) : $("", !0),
338
- Ce
337
+ e.$attrs["svg-title"] ? (o(), _("title", Ce, h(e.$attrs["svg-title"]), 1)) : $("", !0),
338
+ $e
339
339
  ], 16);
340
340
  }
341
- const Te = /* @__PURE__ */ P(fe, [["render", $e]]), Ne = {
341
+ const Ne = /* @__PURE__ */ P(be, [["render", Te]]), we = {
342
342
  "en-US": {
343
343
  navigateToTheFirstPage: "Navigate to the first page",
344
344
  navigateToThePreviousPage: "Navigate to the previous page",
@@ -375,15 +375,15 @@ const Te = /* @__PURE__ */ P(fe, [["render", $e]]), Ne = {
375
375
  navigateToTheNextPage: "Ir a la página siguiente",
376
376
  navigateToTheLastPage: "Ir a la última página"
377
377
  }
378
- }, we = N({
379
- i18n: { messages: Ne },
378
+ }, ye = N({
379
+ i18n: { messages: we },
380
380
  name: "adl-pagination-controls",
381
381
  components: {
382
- BentoButton: j,
383
- SkipLeft: le,
384
- SkipRight: ce,
385
- ChevronLeft: Pe,
386
- ChevronRight: Te
382
+ BentoButton: J,
383
+ SkipLeft: ge,
384
+ SkipRight: me,
385
+ ChevronLeft: fe,
386
+ ChevronRight: Ne
387
387
  },
388
388
  props: {
389
389
  /**
@@ -418,64 +418,64 @@ const Te = /* @__PURE__ */ P(fe, [["render", $e]]), Ne = {
418
418
  };
419
419
  }
420
420
  });
421
- const ye = { class: "b-pagination-controls" }, Le = { class: "b-pagination-controls__item" }, Se = { class: "b-pagination-controls__item" }, Ie = { class: "b-pagination-controls__item" }, Oe = { class: "b-pagination-controls__item" };
422
- function ke(e, t, n, i, s, l) {
423
- const g = d("skip-left"), a = d("bento-button"), r = d("chevron-left"), C = d("chevron-right"), w = d("skip-right");
424
- return o(), m("ul", ye, [
425
- u("li", Le, [
426
- p(a, {
421
+ const Le = { class: "b-pagination-controls" }, Se = { class: "b-pagination-controls__item" }, Ie = { class: "b-pagination-controls__item" }, Oe = { class: "b-pagination-controls__item" }, ke = { class: "b-pagination-controls__item" };
422
+ function Be(e, t, n, i, s, l) {
423
+ const g = c("skip-left"), a = c("bento-button"), r = c("chevron-left"), C = c("chevron-right"), w = c("skip-right");
424
+ return o(), _("ul", Le, [
425
+ d("li", Se, [
426
+ u(a, {
427
427
  disabled: e.isCurrentPageFirst,
428
428
  variant: "tertiary",
429
429
  condensed: "",
430
- onClick: t[0] || (t[0] = (_) => e.navigate(1))
430
+ onClick: t[0] || (t[0] = (p) => e.navigate(1))
431
431
  }, {
432
- iconLeft: c(() => [
433
- p(g, {
432
+ iconLeft: m(() => [
433
+ u(g, {
434
434
  "svg-title": e.$t("navigateToTheFirstPage")
435
435
  }, null, 8, ["svg-title"])
436
436
  ]),
437
437
  _: 1
438
438
  }, 8, ["disabled"])
439
439
  ]),
440
- u("li", Se, [
441
- p(a, {
440
+ d("li", Ie, [
441
+ u(a, {
442
442
  disabled: e.isCurrentPageFirst,
443
443
  variant: "tertiary",
444
444
  condensed: "",
445
- onClick: t[1] || (t[1] = (_) => e.navigate(e.page - 1))
445
+ onClick: t[1] || (t[1] = (p) => e.navigate(e.page - 1))
446
446
  }, {
447
- iconLeft: c(() => [
448
- p(r, {
447
+ iconLeft: m(() => [
448
+ u(r, {
449
449
  "svg-title": e.$t("navigateToThePreviousPage")
450
450
  }, null, 8, ["svg-title"])
451
451
  ]),
452
452
  _: 1
453
453
  }, 8, ["disabled"])
454
454
  ]),
455
- u("li", Ie, [
456
- p(a, {
455
+ d("li", Oe, [
456
+ u(a, {
457
457
  disabled: e.isNextButtonDisabled,
458
458
  variant: "tertiary",
459
459
  condensed: "",
460
- onClick: t[2] || (t[2] = (_) => e.navigate(e.page + 1))
460
+ onClick: t[2] || (t[2] = (p) => e.navigate(e.page + 1))
461
461
  }, {
462
- iconLeft: c(() => [
463
- p(C, {
462
+ iconLeft: m(() => [
463
+ u(C, {
464
464
  "svg-title": e.$t("navigateToTheNextPage")
465
465
  }, null, 8, ["svg-title"])
466
466
  ]),
467
467
  _: 1
468
468
  }, 8, ["disabled"])
469
469
  ]),
470
- u("li", Oe, [
471
- p(a, {
470
+ d("li", ke, [
471
+ u(a, {
472
472
  disabled: e.isLastPageButtonDisabled,
473
473
  variant: "tertiary",
474
474
  condensed: "",
475
- onClick: t[3] || (t[3] = (_) => e.navigate(e.totalPages))
475
+ onClick: t[3] || (t[3] = (p) => e.navigate(e.totalPages))
476
476
  }, {
477
- iconLeft: c(() => [
478
- p(w, {
477
+ iconLeft: m(() => [
478
+ u(w, {
479
479
  "svg-title": e.$t("navigateToTheLastPage")
480
480
  }, null, 8, ["svg-title"])
481
481
  ]),
@@ -484,7 +484,7 @@ function ke(e, t, n, i, s, l) {
484
484
  ])
485
485
  ]);
486
486
  }
487
- const Be = /* @__PURE__ */ P(we, [["render", ke], ["__scopeId", "data-v-b1c3077d"]]), Ae = {
487
+ const Ae = /* @__PURE__ */ P(ye, [["render", Be], ["__scopeId", "data-v-b1c3077d"]]), Ee = {
488
488
  "en-US": {
489
489
  paginatedNavigation: "Paginated navigation",
490
490
  showingItemsWithTotal: "Showing {itemCount} of {totalCount} item | Showing {itemCount} of {totalCount} items"
@@ -509,13 +509,13 @@ const Be = /* @__PURE__ */ P(we, [["render", ke], ["__scopeId", "data-v-b1c3077d
509
509
  paginatedNavigation: "Navegación por páginas",
510
510
  showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículo | Mostrando {itemCount} de {totalCount} artículos"
511
511
  }
512
- }, Ee = N({
513
- i18n: { messages: Ae },
512
+ }, Re = N({
513
+ i18n: { messages: Ee },
514
514
  name: "bento-pagination",
515
515
  components: {
516
- BentoPaginationContext: te,
517
- BentoPaginationControls: Be,
518
- BentoPaginationResultsPerPage: Q
516
+ BentoPaginationContext: ae,
517
+ BentoPaginationControls: Ae,
518
+ BentoPaginationResultsPerPage: X
519
519
  },
520
520
  props: {
521
521
  /**
@@ -567,18 +567,18 @@ const Be = /* @__PURE__ */ P(we, [["render", ke], ["__scopeId", "data-v-b1c3077d
567
567
  },
568
568
  emits: ["navigate", "items-page", "update:page", "update:size"],
569
569
  setup(e, { attrs: t, emit: n }) {
570
- const i = k(t["aria-label"]), { ariaLabel: s } = Z(e), l = V({
570
+ const i = k(t["aria-label"]), { ariaLabel: s } = z(e), l = j({
571
571
  ariaLabel: i.value,
572
572
  // TODO: take this line away when the aria-label props is removed
573
573
  label: s
574
574
  }), g = v(
575
575
  () => !e.totalCount || !e.size ? null : Math.ceil(e.totalCount / e.size)
576
- ), a = (_) => {
577
- n("navigate", _), n("update:page", _);
578
- }, r = (_) => {
579
- a(_);
580
- }, C = (_) => {
581
- n("items-page", _), n("update:size", _), a(1);
576
+ ), a = (p, D) => {
577
+ e.hidePageSize ? n("navigate", p) : n("navigate", p, D ?? (e == null ? void 0 : e.size)), n("update:page", p);
578
+ }, r = (p) => {
579
+ a(p);
580
+ }, C = (p) => {
581
+ n("items-page", p), n("update:size", p), a(1, p);
582
582
  }, w = v(() => ({
583
583
  "b-pagination__navigation--no-results-per-page": e.hidePageSize
584
584
  }));
@@ -594,11 +594,11 @@ const Be = /* @__PURE__ */ P(we, [["render", ke], ["__scopeId", "data-v-b1c3077d
594
594
  };
595
595
  }
596
596
  });
597
- const Re = (e) => (z("data-v-77e3973d"), e = e(), U(), e), Fe = { class: "b-pagination" }, Me = ["aria-label"], De = { class: "b-pagination__page-navigator" }, Ze = /* @__PURE__ */ Re(() => /* @__PURE__ */ u("div", { class: "b-pagination__divider" }, null, -1));
597
+ const Fe = (e) => (U("data-v-2aab535e"), e = e(), V(), e), Me = { class: "b-pagination" }, De = ["aria-label"], Ze = { class: "b-pagination__page-navigator" }, ze = /* @__PURE__ */ Fe(() => /* @__PURE__ */ d("div", { class: "b-pagination__divider" }, null, -1));
598
598
  function We(e, t, n, i, s, l) {
599
- const g = d("bento-pagination-results-per-page"), a = d("bento-pagination-context"), r = d("bento-pagination-controls");
600
- return o(), m("div", Fe, [
601
- u("nav", {
599
+ const g = c("bento-pagination-results-per-page"), a = c("bento-pagination-context"), r = c("bento-pagination-controls");
600
+ return o(), _("div", Me, [
601
+ d("nav", {
602
602
  "aria-label": e.computedAriaLabel,
603
603
  class: W(["b-pagination__navigation", e.navigationConditionalClasses])
604
604
  }, [
@@ -609,8 +609,8 @@ function We(e, t, n, i, s, l) {
609
609
  "total-count": e.totalCount,
610
610
  onSelect: e.onItemsPerPageChange
611
611
  }, null, 8, ["items-per-page", "total-count", "onSelect"])),
612
- u("div", De, [
613
- p(a, {
612
+ d("div", Ze, [
613
+ u(a, {
614
614
  class: "b-pagination__context",
615
615
  "total-pages": e.totalPages,
616
616
  page: e.page,
@@ -618,8 +618,8 @@ function We(e, t, n, i, s, l) {
618
618
  "virtual-scroll": e.virtualScroll,
619
619
  onPageSelected: e.onPageSelected
620
620
  }, null, 8, ["total-pages", "page", "total-count", "virtual-scroll", "onPageSelected"]),
621
- Ze,
622
- p(r, {
621
+ ze,
622
+ u(r, {
623
623
  class: "b-pagination__controls",
624
624
  "has-next": e.hasNext,
625
625
  page: e.page,
@@ -627,11 +627,11 @@ function We(e, t, n, i, s, l) {
627
627
  onNavigate: e.navigate
628
628
  }, null, 8, ["has-next", "page", "total-pages", "onNavigate"])
629
629
  ])
630
- ], 10, Me)
630
+ ], 10, De)
631
631
  ]);
632
632
  }
633
- const Ge = /* @__PURE__ */ P(Ee, [["render", We], ["__scopeId", "data-v-77e3973d"]]);
633
+ const Qe = /* @__PURE__ */ P(Re, [["render", We], ["__scopeId", "data-v-2aab535e"]]);
634
634
  export {
635
- Ge as BentoPagination
635
+ Qe as BentoPagination
636
636
  };
637
637
  //# sourceMappingURL=pagination.js.map