energy-components 2.3.1 → 2.5.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 (53) hide show
  1. package/dist/components/actionButton.es.js +31 -18
  2. package/dist/components/breadcrumbs.es.js +76 -52
  3. package/dist/components/link.es.js +63 -48
  4. package/dist/components/pagination.es.js +58 -47
  5. package/dist/components/persistentToast.es.js +34 -25
  6. package/dist/components/searchField.es.js +18 -9
  7. package/dist/components/sidedrawer.es.js +53 -40
  8. package/dist/components/style/actionButton.css +1 -1
  9. package/dist/components/style/breadcrumbs.css +1 -1
  10. package/dist/components/style/link.css +1 -1
  11. package/dist/components/style/pagination.css +1 -1
  12. package/dist/components/style/persistentToast.css +1 -1
  13. package/dist/components/style/searchField.css +1 -1
  14. package/dist/components/style/sidedrawer.css +1 -1
  15. package/dist/components/style/table.css +1 -1
  16. package/dist/components/style/toggle.css +1 -1
  17. package/dist/components/table.es.js +85 -82
  18. package/dist/components/toggle.es.js +92 -36
  19. package/dist/energy-components.css +1 -1
  20. package/dist/energy-components.es.js +4842 -4690
  21. package/dist/energy-components.umd.js +2 -2
  22. package/dist/style.css +1 -1
  23. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +62 -0
  24. package/dist/types/src/components/content/table/table.vue.d.ts +13 -0
  25. package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +15 -0
  26. package/dist/types/src/components/input/search-field/search-field.vue.d.ts +15 -0
  27. package/dist/types/src/components/input/toggle/toggle.vue.d.ts +20 -0
  28. package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +18 -3
  29. package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +30 -0
  30. package/dist/types/src/components/navigation/link/link.vue.d.ts +5 -5
  31. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +21 -0
  32. package/dist/types/tsconfig.tsbuildinfo +1 -1
  33. package/llms/rdsaccordion-group.md +6 -0
  34. package/llms/rdsaccordion.md +6 -0
  35. package/llms/rdsaction-button.md +1 -0
  36. package/llms/rdsbadge.md +5 -0
  37. package/llms/rdsbreadcrumbs.md +2 -0
  38. package/llms/rdsdate-picker.md +6 -0
  39. package/llms/rdsdropdown.md +6 -0
  40. package/llms/rdslink.md +1 -1
  41. package/llms/rdsmodal.md +9 -0
  42. package/llms/rdspagination.md +6 -0
  43. package/llms/rdspersistent-toast.md +1 -0
  44. package/llms/rdspopover-menu.md +7 -0
  45. package/llms/rdspopover.md +7 -0
  46. package/llms/rdssearch-field.md +7 -0
  47. package/llms/rdssidebar.md +9 -0
  48. package/llms/rdssidedrawer.md +9 -0
  49. package/llms/rdstable.md +8 -1
  50. package/llms/rdstext-field.md +6 -0
  51. package/llms/rdstoggle.md +5 -0
  52. package/llms/rdstooltip.md +7 -0
  53. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { defineComponent as z, toRefs as G, ref as J, computed as r, watch as K, onBeforeMount as Q, openBlock as u, createElementBlock as f, createElementVNode as m, createBlock as x, createCommentVNode as P, createVNode as k, Fragment as W, renderList as X, unref as C, toDisplayString as B } from "vue";
1
+ import { defineComponent as G, toRefs as J, ref as K, computed as r, watch as Q, onBeforeMount as W, openBlock as u, createElementBlock as f, createElementVNode as m, createBlock as x, createCommentVNode as P, createVNode as k, Fragment as X, renderList as Y, unref as C, toDisplayString as Z } from "vue";
2
2
  import p from "./actionButton.es.js";
3
- import Y from "./dropdown.es.js";
4
- import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-pagination" }, te = {
3
+ import ee from "./dropdown.es.js";
4
+ import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import './style/pagination.css';const te = ["id"], le = { class: "rds-e-pagination" }, ie = {
6
6
  key: 0,
7
7
  class: "rds-e-pagination__item rds-e-pagination__item-elipsis"
8
- }, le = {
8
+ }, ne = {
9
9
  key: 0,
10
10
  class: "rds-e-pagination__dropdown"
11
- }, ie = {
11
+ }, se = {
12
12
  key: 0,
13
13
  class: "rds-e-pagination-leyend"
14
- }, ne = /* @__PURE__ */ z({
14
+ }, oe = /* @__PURE__ */ G({
15
15
  __name: "pagination",
16
16
  props: {
17
17
  /**
@@ -101,6 +101,16 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
101
101
  type: String,
102
102
  default: ""
103
103
  },
104
+ /**
105
+ * Texto personalizado para la leyenda de paginación.
106
+ * Usa {start}, {end} y {total} como placeholders.
107
+ * Ejemplo: 'Showing {start}-{end} of {total} results'
108
+ * Si no se provee, se usa el texto por defecto.
109
+ */
110
+ legendText: {
111
+ type: String,
112
+ default: void 0
113
+ },
104
114
  /**
105
115
  * ID de la paginación para testing
106
116
  */
@@ -110,23 +120,24 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
110
120
  }
111
121
  },
112
122
  emits: ["pageChanged", "ellipsisClicked"],
113
- setup(n, { expose: L, emit: I }) {
114
- const b = n, $ = I, {
123
+ setup(n, { expose: L, emit: N }) {
124
+ const b = n, S = N, {
115
125
  itemsPerPage: c,
116
126
  totalItems: s,
117
127
  totalPages: h,
118
- hideLeyend: M,
119
- disableFirstLoad: E,
120
- enableEllipsis: V,
121
- enablePageDropdown: w,
122
- pageDropdownLabel: S
123
- } = G(b), l = J(b.currentPage), g = r(() => typeof s?.value == "number" && s.value >= 0), d = r(() => g.value && typeof s?.value == "number" ? s.value <= 0 || c.value <= 0 ? 1 : Math.ceil(s.value / c.value) : typeof h?.value == "number" && h.value > 0 ? h.value : (typeof h?.value > "u" && typeof s?.value > "u" && console.warn("[RDSPagination] Props `totalItems` o `totalPages` son requeridas."), 1)), _ = r(() => g.value && !M.value && typeof s?.value == "number" && s.value > 0), F = r(() => !g.value || typeof s?.value != "number" || s.value === 0 ? 0 : (l.value - 1) * c.value + 1), R = r(() => {
128
+ hideLeyend: I,
129
+ disableFirstLoad: M,
130
+ enableEllipsis: E,
131
+ enablePageDropdown: B,
132
+ pageDropdownLabel: $,
133
+ legendText: T
134
+ } = J(b), l = K(b.currentPage), g = r(() => typeof s?.value == "number" && s.value >= 0), d = r(() => g.value && typeof s?.value == "number" ? s.value <= 0 || c.value <= 0 ? 1 : Math.ceil(s.value / c.value) : typeof h?.value == "number" && h.value > 0 ? h.value : (typeof h?.value > "u" && typeof s?.value > "u" && console.warn("[RDSPagination] Props `totalItems` o `totalPages` son requeridas."), 1)), V = r(() => g.value && !I.value && typeof s?.value == "number" && s.value > 0), _ = r(() => !g.value || typeof s?.value != "number" || s.value === 0 ? 0 : (l.value - 1) * c.value + 1), A = r(() => {
124
135
  if (!g.value || typeof s?.value != "number") return 0;
125
136
  const a = l.value * c.value;
126
137
  return Math.min(a, s.value);
127
- }), D = r(() => l.value === 1), N = r(() => l.value === d.value), q = r(() => {
138
+ }), F = r(() => (T?.value ?? "Mostrando resultados {start}-{end} de {total}").replaceAll("{start}", String(_.value)).replaceAll("{end}", String(A.value)).replaceAll("{total}", String(s?.value ?? 0))), w = r(() => l.value === 1), D = r(() => l.value === d.value), R = r(() => {
128
139
  const a = [], e = d.value, t = l.value;
129
- if (!V.value || w.value) {
140
+ if (!E.value || B.value) {
130
141
  if (e <= 3)
131
142
  for (let i = 1; i <= e; i++)
132
143
  a.push(i);
@@ -139,10 +150,10 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
139
150
  return a;
140
151
  }
141
152
  return a.push(1), t <= 3 ? (a.push(2, 3), e > 4 && a.push("ellipsis_end"), a.push(e)) : t >= e - 2 ? (e > 4 && a.push("ellipsis_start"), a.push(e - 2, e - 1, e)) : (a.push("ellipsis_start"), a.push(t - 1, t, t + 1), a.push("ellipsis_end"), a.push(e)), a.filter((i, o, y) => y.indexOf(i) === o);
142
- }), j = r(() => {
153
+ }), q = r(() => {
143
154
  const a = d.value;
144
155
  return Array.from({ length: a }, (e, t) => String(t + 1));
145
- }), T = (a) => {
156
+ }), j = (a) => {
146
157
  const e = d.value, t = l.value, i = [];
147
158
  if (a === "ellipsis_start")
148
159
  for (let o = 2; o < t - 1; o++)
@@ -151,15 +162,15 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
151
162
  for (let o = t + 2; o < e; o++)
152
163
  i.push(o);
153
164
  return i;
154
- }, A = (a) => {
155
- const e = T(a);
156
- $("ellipsisClicked", {
165
+ }, O = (a) => {
166
+ const e = j(a);
167
+ S("ellipsisClicked", {
157
168
  hiddenPages: e,
158
169
  ellipsisType: a,
159
170
  currentPage: l.value,
160
171
  totalPages: d.value
161
172
  });
162
- }, O = (a) => {
173
+ }, U = (a) => {
163
174
  let e = l.value;
164
175
  const t = d.value;
165
176
  if ("navigator" in a)
@@ -180,11 +191,11 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
180
191
  else "page" in a && typeof a.page == "number" && a.page >= 1 && a.page <= t && a.page !== l.value && (e = a.page);
181
192
  return e !== l.value ? (l.value = e, !0) : !1;
182
193
  }, v = (a, e = !1) => {
183
- if (O(a) || e) {
194
+ if (U(a) || e) {
184
195
  const i = c.value, o = (l.value - 1) * i;
185
196
  let y = o + i;
186
197
  g.value && typeof s?.value == "number" && (y = Math.min(o + i, s.value));
187
- const H = {
198
+ const z = {
188
199
  ...a,
189
200
  page: l.value,
190
201
  offset: o,
@@ -192,16 +203,16 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
192
203
  end: y,
193
204
  reset: e || void 0
194
205
  };
195
- $("pageChanged", H);
206
+ S("pageChanged", z);
196
207
  }
197
- }, U = (a) => {
208
+ }, H = (a) => {
198
209
  const e = Number(a);
199
210
  e !== l.value && e >= 1 && e <= d.value && v({ page: e });
200
211
  };
201
- return K(() => b.currentPage, (a) => {
212
+ return Q(() => b.currentPage, (a) => {
202
213
  a !== l.value && a >= 1 && a <= d.value && (l.value = a);
203
- }), Q(() => {
204
- E.value || v({ navigator: "first", page: 1 });
214
+ }), W(() => {
215
+ M.value || v({ navigator: "first", page: 1 });
205
216
  }), L({
206
217
  /** Resetea la paginación a la primera página y emite el evento pageChanged. */
207
218
  resetPagination: () => {
@@ -211,7 +222,7 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
211
222
  id: n.id,
212
223
  class: "rds-e-pagination-container rds-flex"
213
224
  }, [
214
- m("ul", ae, [
225
+ m("ul", le, [
215
226
  m("li", null, [
216
227
  n.jumpTo ? (u(), x(p, {
217
228
  key: 0,
@@ -221,7 +232,7 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
221
232
  small: "",
222
233
  icon: "back",
223
234
  "aria-label": "First Page",
224
- disabled: D.value,
235
+ disabled: w.value,
225
236
  onClick: e[0] || (e[0] = (t) => v({ navigator: "first" }))
226
237
  }, null, 8, ["id", "disabled"])) : P("", !0)
227
238
  ]),
@@ -233,12 +244,12 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
233
244
  small: "",
234
245
  icon: "arrow_left",
235
246
  "aria-label": "Prev page",
236
- disabled: D.value,
247
+ disabled: w.value,
237
248
  onClick: e[1] || (e[1] = (t) => v({ navigator: "prev" }))
238
249
  }, null, 8, ["id", "disabled"])
239
250
  ]),
240
- (u(!0), f(W, null, X(q.value, (t) => (u(), f("li", { key: t }, [
241
- typeof t == "string" && t.includes("ellipsis") ? (u(), f("div", te, [
251
+ (u(!0), f(X, null, Y(R.value, (t) => (u(), f("li", { key: t }, [
252
+ typeof t == "string" && t.includes("ellipsis") ? (u(), f("div", ie, [
242
253
  k(p, {
243
254
  id: n.id ? `${n.id}-ellipsis-${t}` : void 0,
244
255
  variant: "ghost",
@@ -246,7 +257,7 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
246
257
  text: "...",
247
258
  icon: "",
248
259
  "aria-label": "Más páginas",
249
- onClick: (i) => A(t)
260
+ onClick: (i) => O(t)
250
261
  }, null, 8, ["id", "onClick"])
251
262
  ])) : (u(), x(p, {
252
263
  key: 1,
@@ -268,7 +279,7 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
268
279
  icon: "arrow_right",
269
280
  small: "",
270
281
  "aria-label": "next page",
271
- disabled: N.value,
282
+ disabled: D.value,
272
283
  onClick: e[2] || (e[2] = (t) => v({ navigator: "next" }))
273
284
  }, null, 8, ["id", "disabled"])
274
285
  ]),
@@ -281,27 +292,27 @@ import './style/pagination.css';const ee = ["id"], ae = { class: "rds-e-paginati
281
292
  small: "",
282
293
  icon: "last",
283
294
  "aria-label": "last page",
284
- disabled: N.value,
295
+ disabled: D.value,
285
296
  onClick: e[3] || (e[3] = (t) => v({ navigator: "last" }))
286
297
  }, null, 8, ["id", "disabled"])) : P("", !0)
287
298
  ]),
288
- C(w) ? (u(), f("li", le, [
289
- k(Y, {
299
+ C(B) ? (u(), f("li", ne, [
300
+ k(ee, {
290
301
  id: "rds-dropdown-pagination",
291
302
  modelValue: l.value,
292
303
  "onUpdate:modelValue": e[4] || (e[4] = (t) => l.value = t),
293
- label: C(S) ? C(S) : l.value.toString(),
294
- options: j.value,
304
+ label: C($) ? C($) : l.value.toString(),
305
+ options: q.value,
295
306
  small: "",
296
307
  "text-only": "",
297
- onSelect: U
308
+ onSelect: H
298
309
  }, null, 8, ["modelValue", "label", "options"])
299
310
  ])) : P("", !0)
300
311
  ]),
301
- _.value ? (u(), f("p", ie, " Mostrando resultados " + B(F.value) + "-" + B(R.value) + " de " + B(C(s)), 1)) : P("", !0)
302
- ], 8, ee));
312
+ V.value ? (u(), f("p", se, Z(F.value), 1)) : P("", !0)
313
+ ], 8, te));
303
314
  }
304
- }), de = /* @__PURE__ */ Z(ne, [["__scopeId", "data-v-755635ef"]]);
315
+ }), fe = /* @__PURE__ */ ae(oe, [["__scopeId", "data-v-f88cc2cb"]]);
305
316
  export {
306
- de as default
317
+ fe as default
307
318
  };
@@ -1,22 +1,22 @@
1
- import { defineComponent as f, toRefs as y, computed as g, openBlock as t, createElementBlock as s, normalizeClass as h, createElementVNode as r, createVNode as a, createCommentVNode as o, toDisplayString as c, renderSlot as d } from "vue";
2
- import { R as l } from "./icon-svg-CW3eQRcp.js";
1
+ import { defineComponent as v, toRefs as y, computed as g, openBlock as t, createElementBlock as s, normalizeClass as h, createElementVNode as r, createVNode as a, createCommentVNode as o, toDisplayString as c, renderSlot as l } from "vue";
2
+ import { R as d } from "./icon-svg-CW3eQRcp.js";
3
3
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import './style/persistentToast.css';const S = ["id"], $ = { class: "alert" }, C = {
4
+ import './style/persistentToast.css';const S = ["id"], b = { class: "alert" }, $ = {
5
5
  key: 0,
6
6
  class: "rds-e-persistent-toast__custom-icon-block"
7
- }, q = { class: "rds-e-persistent-toast__wrapper" }, w = { class: "rds-e-persistent-toast__title__wrapper" }, b = {
7
+ }, C = { class: "rds-e-persistent-toast__wrapper" }, q = { class: "rds-e-persistent-toast__title__wrapper" }, w = {
8
8
  key: 0,
9
9
  class: "rds-e-persistent-toast__title rds-mb-03"
10
- }, R = {
10
+ }, A = {
11
11
  key: 1,
12
12
  class: "rds-e-persistent-toast__text"
13
- }, T = {
13
+ }, R = {
14
14
  key: 2,
15
15
  class: "rds-e-persistent-toast__content-section"
16
- }, B = {
16
+ }, T = ["aria-label"], B = {
17
17
  key: 0,
18
18
  class: "rds-e-persistent-toast__action-section"
19
- }, D = /* @__PURE__ */ f({
19
+ }, D = /* @__PURE__ */ v({
20
20
  __name: "persistent-toast",
21
21
  props: {
22
22
  /**
@@ -90,13 +90,20 @@ import './style/persistentToast.css';const S = ["id"], $ = { class: "alert" }, C
90
90
  id: {
91
91
  type: String,
92
92
  default: void 0
93
+ },
94
+ /**
95
+ * <span>Etiqueta accesible del botón de cerrar. Por convención del sistema, el valor por defecto es español ('Cerrar'). En proyectos con i18n, se debe sobrescribir esta prop con el valor traducido.</span>
96
+ */
97
+ closeAriaLabel: {
98
+ type: String,
99
+ default: "Cerrar"
93
100
  }
94
101
  },
95
102
  emits: ["onCloseToastAction"],
96
103
  setup(e, { emit: u }) {
97
104
  const _ = e, m = u, { type: n } = y(_), p = g(
98
105
  () => `rds-e-persistent-toast rds-mb-03 rds-e-persistent-toast${n.value === "success" ? "--success" : ""}${n.value === "error" ? "--error" : ""}${n.value === "warning" ? "--warning" : ""}${n.value === "info" ? "--info" : ""}`
99
- ), v = () => {
106
+ ), f = () => {
100
107
  m("onCloseToastAction");
101
108
  };
102
109
  return (i, N) => (t(), s("div", {
@@ -104,41 +111,43 @@ import './style/persistentToast.css';const S = ["id"], $ = { class: "alert" }, C
104
111
  class: h(["rds-e-persistent-toast", p.value]),
105
112
  role: "alert"
106
113
  }, [
107
- r("div", $, [
108
- e.icon ? (t(), s("div", C, [
109
- a(l, {
114
+ r("div", b, [
115
+ e.icon ? (t(), s("div", $, [
116
+ a(d, {
110
117
  name: e.icon,
111
118
  class: "rds-e-persistent-toast__custom-icon",
112
119
  "aria-hidden": "true"
113
120
  }, null, 8, ["name"])
114
121
  ])) : o("", !0),
115
- r("div", q, [
116
- r("div", w, [
117
- e.title ? (t(), s("div", b, c(e.title), 1)) : o("", !0),
118
- e.message && !i.$slots["content-section"] ? (t(), s("p", R, c(e.message), 1)) : o("", !0),
119
- i.$slots["content-section"] ? (t(), s("div", T, [
120
- d(i.$slots, "content-section", {}, void 0, !0)
122
+ r("div", C, [
123
+ r("div", q, [
124
+ e.title ? (t(), s("div", w, c(e.title), 1)) : o("", !0),
125
+ e.message && !i.$slots["content-section"] ? (t(), s("p", A, c(e.message), 1)) : o("", !0),
126
+ i.$slots["content-section"] ? (t(), s("div", R, [
127
+ l(i.$slots, "content-section", {}, void 0, !0)
121
128
  ])) : o("", !0)
122
129
  ]),
123
- e.close ? (t(), s("div", {
130
+ e.close ? (t(), s("button", {
124
131
  key: 0,
132
+ type: "button",
125
133
  class: "rds-e-persistent-toast__close-block",
126
- onClick: v
134
+ "aria-label": e.closeAriaLabel,
135
+ onClick: f
127
136
  }, [
128
- a(l, {
137
+ a(d, {
129
138
  name: "close",
130
139
  class: "rds-e-persistent-toast__custom-icon",
131
140
  "aria-hidden": "true"
132
141
  })
133
- ])) : o("", !0)
142
+ ], 8, T)) : o("", !0)
134
143
  ])
135
144
  ]),
136
145
  i.$slots["action-section"] ? (t(), s("div", B, [
137
- d(i.$slots, "action-section", {}, void 0, !0)
146
+ l(i.$slots, "action-section", {}, void 0, !0)
138
147
  ])) : o("", !0)
139
148
  ], 10, S));
140
149
  }
141
- }), I = /* @__PURE__ */ k(D, [["__scopeId", "data-v-9c8ae892"]]);
150
+ }), L = /* @__PURE__ */ k(D, [["__scopeId", "data-v-1f2128ca"]]);
142
151
  export {
143
- I as default
152
+ L as default
144
153
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as N, computed as p, ref as i, openBlock as n, createElementBlock as u, normalizeClass as _, createElementVNode as V, createVNode as w, withModifiers as y, createCommentVNode as S, Fragment as q, renderList as T, toDisplayString as U } from "vue";
1
+ import { defineComponent as N, computed as v, ref as i, openBlock as n, createElementBlock as u, normalizeClass as _, createElementVNode as V, createVNode as w, withModifiers as y, createCommentVNode as S, Fragment as q, renderList as T, toDisplayString as U } from "vue";
2
2
  import { g as z } from "./getInstance-GhoEcxLF.js";
3
3
  import { R as O } from "./icon-svg-CW3eQRcp.js";
4
4
  import j from "./actionButton.es.js";
@@ -62,19 +62,26 @@ import './style/searchField.css';const H = ["id", "placeholder", "disabled", "va
62
62
  clearButtonAriaLabel: {
63
63
  type: String,
64
64
  default: "Limpiar campo"
65
+ },
66
+ /**
67
+ * Activa los estilos de variante inversa para superficies oscuras.
68
+ */
69
+ inverse: {
70
+ type: Boolean,
71
+ default: !1
65
72
  }
66
73
  },
67
74
  emits: ["update:modelValue", "clear", "search", "select"],
68
75
  setup(B, { expose: C, emit: D }) {
69
- const e = B, t = D, b = z(), A = p(() => e.id ?? `search-field-${b}`), d = `search-field-listbox-${b}`, o = i(null), v = i(!1), c = i(!1), m = i(!1), r = i(!0), l = i(-1), I = p(() => e.modelValue.length > 0), $ = p(() => e.modelValue.length > 0 && !e.disabled), f = p(
76
+ const e = B, t = D, b = z(), A = v(() => e.id ?? `search-field-${b}`), d = `search-field-listbox-${b}`, o = i(null), p = i(!1), c = i(!1), m = i(!1), r = i(!0), l = i(-1), I = v(() => e.modelValue.length > 0), $ = v(() => e.modelValue.length > 0 && !e.disabled), f = v(
70
77
  () => e.suggestions.length > 0 && e.modelValue.length > 0 && r.value
71
78
  ), E = () => {
72
79
  m.value = !0;
73
80
  }, k = () => {
74
- v.value = !0, c.value = !m.value, m.value = !1, r.value = !0;
81
+ p.value = !0, c.value = !m.value, m.value = !1, r.value = !0;
75
82
  }, F = () => {
76
83
  setTimeout(() => {
77
- v.value = !1, c.value = !1, r.value = !1, l.value = -1;
84
+ p.value = !1, c.value = !1, r.value = !1, l.value = -1;
78
85
  }, 150);
79
86
  }, L = (a) => {
80
87
  const s = a.target.value;
@@ -111,13 +118,14 @@ import './style/searchField.css';const H = ["id", "placeholder", "disabled", "va
111
118
  class: _(["rds-e-searchfield", {
112
119
  "rds-e-searchfield--small": e.small,
113
120
  "rds-e-searchfield--filled": I.value,
114
- "rds-e-searchfield--disabled": e.disabled
121
+ "rds-e-searchfield--disabled": e.disabled,
122
+ "rds-e-searchfield--inverse": e.inverse
115
123
  }])
116
124
  }, [
117
125
  V("div", {
118
126
  class: _(["rds-e-searchfield__container", {
119
127
  "rds-e-searchfield__container--keyboard-focus": c.value,
120
- "rds-e-searchfield__container--active": v.value && !c.value
128
+ "rds-e-searchfield__container--active": p.value && !c.value
121
129
  }]),
122
130
  onMousedown: E
123
131
  }, [
@@ -159,8 +167,9 @@ import './style/searchField.css';const H = ["id", "placeholder", "disabled", "va
159
167
  w(j, {
160
168
  icon: "close",
161
169
  variant: "ghost",
162
- small: ""
163
- })
170
+ small: "",
171
+ inverse: e.inverse
172
+ }, null, 8, ["inverse"])
164
173
  ], 40, J)) : S("", !0)
165
174
  ], 34),
166
175
  f.value ? (n(), u("ul", {
@@ -182,7 +191,7 @@ import './style/searchField.css';const H = ["id", "placeholder", "disabled", "va
182
191
  ])) : S("", !0)
183
192
  ], 2));
184
193
  }
185
- }), le = /* @__PURE__ */ G(Q, [["__scopeId", "data-v-f14e3734"]]);
194
+ }), le = /* @__PURE__ */ G(Q, [["__scopeId", "data-v-4461ccff"]]);
186
195
  export {
187
196
  le as default
188
197
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as B, toRefs as $, ref as n, computed as u, watch as O, openBlock as a, createElementBlock as l, normalizeClass as v, createElementVNode as o, withModifiers as R, normalizeStyle as z, renderSlot as c, toDisplayString as D, createCommentVNode as w, createBlock as E } from "vue";
2
- import { R as H } from "./icon-svg-CW3eQRcp.js";
3
- import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import './style/sidedrawer.css';const N = { class: "rds-e-sidedrawer__header rds-mb-24" }, T = {
1
+ import { defineComponent as $, toRefs as B, ref as n, computed as u, watch as N, openBlock as a, createElementBlock as i, normalizeClass as v, createElementVNode as o, withModifiers as O, normalizeStyle as R, renderSlot as c, toDisplayString as V, createCommentVNode as w, createVNode as z } from "vue";
2
+ import { R as A } from "./icon-svg-CW3eQRcp.js";
3
+ import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import './style/sidedrawer.css';const E = { class: "rds-e-sidedrawer__header rds-mb-24" }, H = {
5
5
  key: 0,
6
6
  class: "rds-e-sidedrawer__title"
7
- }, V = {
7
+ }, I = {
8
8
  key: 1,
9
9
  class: "rds-headline-04 rds-content-high"
10
- }, W = { class: "rds-e-sidedrawer__content-inner" }, x = { class: "rds-e-sidedrawer__footer rds-pt-12" }, M = /* @__PURE__ */ B({
10
+ }, L = ["aria-label"], T = { class: "rds-e-sidedrawer__content-inner" }, W = { class: "rds-e-sidedrawer__footer rds-pt-12" }, x = /* @__PURE__ */ $({
11
11
  __name: "sidedrawer",
12
12
  props: {
13
13
  /**
@@ -44,33 +44,40 @@ import './style/sidedrawer.css';const N = { class: "rds-e-sidedrawer__header rds
44
44
  persistent: {
45
45
  type: Boolean,
46
46
  default: !1
47
+ },
48
+ /**
49
+ * <span>Etiqueta accesible del botón de cerrar. Por convención del sistema, el valor por defecto es español ('Cerrar'). En proyectos con i18n, se debe sobrescribir esta prop con el valor traducido.</span>
50
+ */
51
+ closeAriaLabel: {
52
+ type: String,
53
+ default: "Cerrar"
47
54
  }
48
55
  },
49
56
  emits: ["sidedrawerChange"],
50
- setup(t, { expose: f, emit: h }) {
51
- const m = t, _ = h, { blurOverlay: p, persistent: y } = $(m), C = n(), r = n(!0), i = n(!0), g = u(() => ({
52
- "rds-e-sidedrawer--hide": r.value,
53
- "rds-e-sidedrawer--show": !r.value,
57
+ setup(r, { expose: f, emit: h }) {
58
+ const m = r, _ = h, { blurOverlay: p, persistent: y } = B(m), C = n(), t = n(!0), l = n(!0), b = u(() => ({
59
+ "rds-e-sidedrawer--hide": t.value,
60
+ "rds-e-sidedrawer--show": !t.value,
54
61
  "rds-e-sidedrawer--blur-overlay": p.value
55
- })), S = u(() => ({
56
- "rds-e-sidedrawer__content--hide": r.value,
57
- "rds-e-sidedrawer__content--show": !r.value
58
- })), k = () => {
59
- _("sidedrawerChange", r.value);
62
+ })), g = u(() => ({
63
+ "rds-e-sidedrawer__content--hide": t.value,
64
+ "rds-e-sidedrawer__content--show": !t.value
65
+ })), S = () => {
66
+ _("sidedrawerChange", t.value);
60
67
  }, s = (e) => {
61
- r.value = e, k();
62
- }, b = (e) => {
63
- e.target === e.currentTarget && !y.value && !r.value && s(!0);
68
+ t.value = e, S();
69
+ }, k = (e) => {
70
+ e.target === e.currentTarget && !y.value && !t.value && s(!0);
64
71
  };
65
- return O(r, (e) => {
72
+ return N(t, (e) => {
66
73
  e ? setTimeout(() => {
67
- i.value = !0;
68
- }, 500) : i.value = !1;
74
+ l.value = !0;
75
+ }, 500) : l.value = !1;
69
76
  }), f({
70
77
  /**
71
78
  * { boolean } Muestra el estado actual del sidebar.
72
79
  */
73
- isHide: r,
80
+ isHide: t,
74
81
  /**
75
82
  * { () => void } Abre el sidebar.
76
83
  */
@@ -83,41 +90,47 @@ import './style/sidedrawer.css';const N = { class: "rds-e-sidedrawer__header rds
83
90
  * { (state: boolean) => void } Cambia el estado del sidedrawer.
84
91
  */
85
92
  toogleSidedrawer: () => {
86
- s(!r.value);
93
+ s(!t.value);
87
94
  }
88
- }), (e, d) => (a(), l("div", {
89
- class: v(["rds-e-sidedrawer", [g.value, { "rds-e-sidedrawer--hidden": i.value }]]),
90
- onClick: b
95
+ }), (e, d) => (a(), i("div", {
96
+ class: v(["rds-e-sidedrawer", [b.value, { "rds-e-sidedrawer--hidden": l.value }]]),
97
+ onClick: k
91
98
  }, [
92
99
  o("div", {
93
100
  ref_key: "sidebar",
94
101
  ref: C,
95
- class: v(["rds-e-sidedrawer__content rds-pa-24", S.value]),
96
- style: z({ "--container-width": `${t.containerWidth}px` }),
97
- onClick: d[1] || (d[1] = R(() => {
102
+ class: v(["rds-e-sidedrawer__content rds-pa-24", g.value]),
103
+ style: R({ "--container-width": `${r.containerWidth}px` }),
104
+ onClick: d[1] || (d[1] = O(() => {
98
105
  }, ["stop"]))
99
106
  }, [
100
- o("div", N, [
101
- e.$slots.title ? (a(), l("div", T, [
107
+ o("div", E, [
108
+ e.$slots.title ? (a(), i("div", H, [
102
109
  c(e.$slots, "title", {}, void 0, !0)
103
- ])) : t.title ? (a(), l("h2", V, D(t.title), 1)) : w("", !0),
104
- t.iconClose ? (a(), E(H, {
110
+ ])) : r.title ? (a(), i("h2", I, V(r.title), 1)) : w("", !0),
111
+ r.iconClose ? (a(), i("button", {
105
112
  key: 2,
106
- name: "close",
107
- class: "rds-e-sidedrawer__icon",
108
- onClick: d[0] || (d[0] = (j) => s(!0))
109
- })) : w("", !0)
113
+ type: "button",
114
+ class: "rds-e-sidedrawer__close-btn",
115
+ "aria-label": r.closeAriaLabel,
116
+ onClick: d[0] || (d[0] = (M) => s(!0))
117
+ }, [
118
+ z(A, {
119
+ name: "close",
120
+ "aria-hidden": "true"
121
+ })
122
+ ], 8, L)) : w("", !0)
110
123
  ]),
111
- o("div", W, [
124
+ o("div", T, [
112
125
  c(e.$slots, "content", {}, void 0, !0)
113
126
  ]),
114
- o("div", x, [
127
+ o("div", W, [
115
128
  c(e.$slots, "footer", {}, void 0, !0)
116
129
  ])
117
130
  ], 6)
118
131
  ], 2));
119
132
  }
120
- }), G = /* @__PURE__ */ I(M, [["__scopeId", "data-v-4e65d23c"]]);
133
+ }), G = /* @__PURE__ */ D(x, [["__scopeId", "data-v-6cf78ea3"]]);
121
134
  export {
122
135
  G as default
123
136
  };
@@ -1 +1 @@
1
- [data-v-765c5af6]:root{--rds-caption-01: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-01-bold: .875rem/1.125rem RepsolSoleTextBold;--rds-caption-01-underline: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-02: .75rem/1rem RepsolSoleTextRegular;--rds-caption-02-bold: .75rem/1rem RepsolSoleTextBold;--rds-caption-02-underline: .75rem/1rem RepsolSoleTextRegular;--rds-caption-tag: .75rem/1rem RepsolSoleTextRegular;--rds-body-01: 1rem/1.5rem RepsolSoleTextRegular;--rds-body-02: .875rem/1.25rem RepsolSoleTextRegular;--rds-body-01-bold: 1rem/1.5rem RepsolSoleTextBold;--rds-body-01-underline: 1rem/1.3125rem RepsolSoleTextRegular;--rds-body-02-bold: .875rem/1.25rem RepsolSoleTextBold;--rds-body-02-underline: .875rem/1.25rem RepsolSoleTextRegular;--rds-button-01: 1rem/1.5rem RepsolSoleTextBold;--rds-button-02: .875rem/1.25rem RepsolSoleTextBold;--rds-monospaced-body-01: 1rem/1.5rem SourceCodeProRegular;--rds-monospaced-body-01-bold: 1rem/1.5rem SourceCodeProBold;--rds-monospaced-body-02: .875rem/1.25rem SourceCodeProRegular;--rds-monospaced-body-02-bold: .875rem/1.25rem SourceCodeProBold;--rds-monospaced-caption-01: .875rem/1.125rem SourceCodeProRegular;--rds-monospaced-caption-01-bold: .875rem/1.125rem SourceCodeProBold;--rds-monospaced-caption-02: .75rem/1rem SourceCodeProRegular;--rds-monospaced-caption-02-bold: .75rem/1rem SourceCodeProBold;--rds-title-01: 1.125rem/1.625rem RepsolSoleTextBold;--rds-title-02: 1rem/1.5rem RepsolSoleTextBold;--rds-headline-00-sd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-00-ld: 4rem/5rem RepsolSoleDisplayRegular;--rds-headline-00-xd: 4.5rem/5.75rem RepsolSoleDisplayRegular;--rds-headline-01-sd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-01-md: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-headline-01-xd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-02-md: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-02-ld: 2.25rem/3rem RepsolSoleDisplayRegular;--rds-headline-02-xd: 2.75rem/3.5rem RepsolSoleDisplayRegular;--rds-headline-03-sd: 1.375rem/1.875rem RepsolSoleDisplayRegular;--rds-headline-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-headline-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-03-xd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-04-sd: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-md: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-ld: 1.25rem/1.75rem RepsolSoleDisplayRegular;--rds-headline-04-xd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-00-sd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-ld: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-00-xd: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-01-sd: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-md: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-01-xd: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-md: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-ld: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-02-xd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-03-sd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-03-xd: 1.75rem/2.25rem RepsolSoleDisplayRegular}.rds-e-btn--action[data-v-765c5af6]{aspect-ratio:1/1;border-radius:999px;flex-grow:0;height:3rem;width:3rem}.rds-e-btn--action.rds-e-btn--action[data-v-765c5af6]:before{min-height:200px;transition:all .4s ease-in-out!important}.rds-e-btn--action.rds-e-btn--small[data-v-765c5af6]{border-radius:999px;height:2rem;width:2rem}.rds-e-btn--action.rds-e-btn--secondary[data-v-765c5af6]{border:1px solid #43637d;color:#001e37}.rds-e-btn--action.rds-e-btn--secondary[data-v-765c5af6]:active{background-color:#f4f8fa;border:1px solid #009BBE;color:#006a82}.rds-e-btn--action.rds-e-btn--primary-inverse[data-v-765c5af6]{background-color:#fff;border:none;color:#001e37}.rds-e-btn--action.rds-e-btn--primary-inverse.rds-e-btn--action[data-v-765c5af6]:before{background-color:#dbe6f0!important}.rds-e-btn--action.rds-e-btn--ghost[data-v-765c5af6]{background-color:transparent;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-765c5af6],.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-765c5af6]:hover{color:#de1c2e}.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-765c5af6]:hover:before{background-color:#006a82}.rds-e-btn--action.rds-e-btn--ghost[data-v-765c5af6]:active{background-color:#fff;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost[data-v-765c5af6]:disabled{opacity:.3}.rds-e-btn--action.rds-e-btn--ghost[data-v-765c5af6]:not(.rds-e-btn--action.rds-e-btn--ghost-destructive):hover:not(:active){color:#009bbe}.rds-e-btn--action.rds-e-btn--ghost[data-v-765c5af6]:not(.rds-e-btn--action.rds-e-btn--ghost-destructive):hover:not(:active):before{background-color:#f4f8fa}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]{background-color:transparent;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-765c5af6],.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-765c5af6]:hover{color:#de1c2e}.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-765c5af6]:hover:before{background-color:#006a82}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]:active{background-color:#fff;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]:disabled{opacity:.3}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]:not(.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive):hover:not(:active){color:#009bbe}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]:not(.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive):hover:not(:active):before{background-color:#f4f8fa}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-765c5af6]{color:#fff}.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-765c5af6],.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-765c5af6]:hover{background-color:transparent;border-color:#fff;color:#fff}.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-765c5af6]:hover:before{background-color:#e6e6e6;opacity:.3}
1
+ [data-v-3c819ad5]:root{--rds-caption-01: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-01-bold: .875rem/1.125rem RepsolSoleTextBold;--rds-caption-01-underline: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-02: .75rem/1rem RepsolSoleTextRegular;--rds-caption-02-bold: .75rem/1rem RepsolSoleTextBold;--rds-caption-02-underline: .75rem/1rem RepsolSoleTextRegular;--rds-caption-tag: .75rem/1rem RepsolSoleTextRegular;--rds-body-01: 1rem/1.5rem RepsolSoleTextRegular;--rds-body-02: .875rem/1.25rem RepsolSoleTextRegular;--rds-body-01-bold: 1rem/1.5rem RepsolSoleTextBold;--rds-body-01-underline: 1rem/1.3125rem RepsolSoleTextRegular;--rds-body-02-bold: .875rem/1.25rem RepsolSoleTextBold;--rds-body-02-underline: .875rem/1.25rem RepsolSoleTextRegular;--rds-button-01: 1rem/1.5rem RepsolSoleTextBold;--rds-button-02: .875rem/1.25rem RepsolSoleTextBold;--rds-monospaced-body-01: 1rem/1.5rem SourceCodeProRegular;--rds-monospaced-body-01-bold: 1rem/1.5rem SourceCodeProBold;--rds-monospaced-body-02: .875rem/1.25rem SourceCodeProRegular;--rds-monospaced-body-02-bold: .875rem/1.25rem SourceCodeProBold;--rds-monospaced-caption-01: .875rem/1.125rem SourceCodeProRegular;--rds-monospaced-caption-01-bold: .875rem/1.125rem SourceCodeProBold;--rds-monospaced-caption-02: .75rem/1rem SourceCodeProRegular;--rds-monospaced-caption-02-bold: .75rem/1rem SourceCodeProBold;--rds-title-01: 1.125rem/1.625rem RepsolSoleTextBold;--rds-title-02: 1rem/1.5rem RepsolSoleTextBold;--rds-headline-00-sd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-00-ld: 4rem/5rem RepsolSoleDisplayRegular;--rds-headline-00-xd: 4.5rem/5.75rem RepsolSoleDisplayRegular;--rds-headline-01-sd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-01-md: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-headline-01-xd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-02-md: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-02-ld: 2.25rem/3rem RepsolSoleDisplayRegular;--rds-headline-02-xd: 2.75rem/3.5rem RepsolSoleDisplayRegular;--rds-headline-03-sd: 1.375rem/1.875rem RepsolSoleDisplayRegular;--rds-headline-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-headline-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-03-xd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-04-sd: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-md: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-ld: 1.25rem/1.75rem RepsolSoleDisplayRegular;--rds-headline-04-xd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-00-sd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-ld: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-00-xd: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-01-sd: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-md: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-01-xd: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-md: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-ld: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-02-xd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-03-sd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-03-xd: 1.75rem/2.25rem RepsolSoleDisplayRegular}.rds-e-btn--action[data-v-3c819ad5]{aspect-ratio:1/1;border-radius:999px;flex-grow:0;height:3rem;width:3rem}.rds-e-btn--action.rds-e-btn--action[data-v-3c819ad5]:before{min-height:200px;transition:all .4s ease-in-out!important}.rds-e-btn--action.rds-e-btn--small[data-v-3c819ad5]{border-radius:999px;height:2rem;width:2rem}.rds-e-btn--action.rds-e-btn--secondary[data-v-3c819ad5]{border:1px solid #43637d;color:#001e37}.rds-e-btn--action.rds-e-btn--secondary[data-v-3c819ad5]:active{background-color:#f4f8fa;border:1px solid #009BBE;color:#006a82}.rds-e-btn--action.rds-e-btn--primary-inverse[data-v-3c819ad5]{background-color:#fff;border:none;color:#001e37}.rds-e-btn--action.rds-e-btn--primary-inverse.rds-e-btn--action[data-v-3c819ad5]:before{background-color:#dbe6f0!important}.rds-e-btn--action.rds-e-btn--ghost[data-v-3c819ad5]{background-color:transparent;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-3c819ad5],.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-3c819ad5]:hover{color:#de1c2e}.rds-e-btn--action.rds-e-btn--ghost-destructive[data-v-3c819ad5]:hover:before{background-color:#006a82}.rds-e-btn--action.rds-e-btn--ghost[data-v-3c819ad5]:active{background-color:#fff;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost[data-v-3c819ad5]:disabled{opacity:.3}.rds-e-btn--action.rds-e-btn--ghost[data-v-3c819ad5]:not(.rds-e-btn--action.rds-e-btn--ghost-destructive):hover:not(:active){color:#009bbe}.rds-e-btn--action.rds-e-btn--ghost[data-v-3c819ad5]:not(.rds-e-btn--action.rds-e-btn--ghost-destructive):hover:not(:active):before{background-color:#f4f8fa}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]{background-color:transparent;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-3c819ad5],.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-3c819ad5]:hover{color:#de1c2e}.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive[data-v-3c819ad5]:hover:before{background-color:#006a82}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]:active{background-color:#fff;color:#001e37}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]:disabled{opacity:.3}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]:not(.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive):hover:not(:active){color:#009bbe}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]:not(.rds-e-btn--action.rds-e-btn--ghost-inverse-destructive):hover:not(:active):before{background-color:#f4f8fa}.rds-e-btn--action.rds-e-btn--ghost-inverse[data-v-3c819ad5]{color:#fff}.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-3c819ad5],.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-3c819ad5]:hover{background-color:transparent;border-color:#fff;color:#fff}.rds-e-btn--action.rds-e-btn--secondary-inverse[data-v-3c819ad5]:hover:before{background-color:#e6e6e6;opacity:.3}
@@ -1 +1 @@
1
- [data-v-1a87a370]:root{--rds-caption-01: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-01-bold: .875rem/1.125rem RepsolSoleTextBold;--rds-caption-01-underline: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-02: .75rem/1rem RepsolSoleTextRegular;--rds-caption-02-bold: .75rem/1rem RepsolSoleTextBold;--rds-caption-02-underline: .75rem/1rem RepsolSoleTextRegular;--rds-caption-tag: .75rem/1rem RepsolSoleTextRegular;--rds-body-01: 1rem/1.5rem RepsolSoleTextRegular;--rds-body-02: .875rem/1.25rem RepsolSoleTextRegular;--rds-body-01-bold: 1rem/1.5rem RepsolSoleTextBold;--rds-body-01-underline: 1rem/1.3125rem RepsolSoleTextRegular;--rds-body-02-bold: .875rem/1.25rem RepsolSoleTextBold;--rds-body-02-underline: .875rem/1.25rem RepsolSoleTextRegular;--rds-button-01: 1rem/1.5rem RepsolSoleTextBold;--rds-button-02: .875rem/1.25rem RepsolSoleTextBold;--rds-monospaced-body-01: 1rem/1.5rem SourceCodeProRegular;--rds-monospaced-body-01-bold: 1rem/1.5rem SourceCodeProBold;--rds-monospaced-body-02: .875rem/1.25rem SourceCodeProRegular;--rds-monospaced-body-02-bold: .875rem/1.25rem SourceCodeProBold;--rds-monospaced-caption-01: .875rem/1.125rem SourceCodeProRegular;--rds-monospaced-caption-01-bold: .875rem/1.125rem SourceCodeProBold;--rds-monospaced-caption-02: .75rem/1rem SourceCodeProRegular;--rds-monospaced-caption-02-bold: .75rem/1rem SourceCodeProBold;--rds-title-01: 1.125rem/1.625rem RepsolSoleTextBold;--rds-title-02: 1rem/1.5rem RepsolSoleTextBold;--rds-headline-00-sd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-00-ld: 4rem/5rem RepsolSoleDisplayRegular;--rds-headline-00-xd: 4.5rem/5.75rem RepsolSoleDisplayRegular;--rds-headline-01-sd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-01-md: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-headline-01-xd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-02-md: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-02-ld: 2.25rem/3rem RepsolSoleDisplayRegular;--rds-headline-02-xd: 2.75rem/3.5rem RepsolSoleDisplayRegular;--rds-headline-03-sd: 1.375rem/1.875rem RepsolSoleDisplayRegular;--rds-headline-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-headline-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-03-xd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-04-sd: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-md: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-ld: 1.25rem/1.75rem RepsolSoleDisplayRegular;--rds-headline-04-xd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-00-sd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-ld: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-00-xd: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-01-sd: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-md: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-01-xd: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-md: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-ld: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-02-xd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-03-sd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-03-xd: 1.75rem/2.25rem RepsolSoleDisplayRegular}.rds-e-breadcrumbs[data-v-1a87a370]{align-items:center;display:inline-flex}.rds-e-breadcrumbs--inverse[data-v-1a87a370]{color:#ffffff4d}.rds-e-breadcrumbs__link[data-v-1a87a370]{color:#43637d;padding-bottom:.1875rem}.rds-e-breadcrumbs__link--active[data-v-1a87a370]{font:.875rem/1.25rem RepsolSoleTextBold;border-bottom:none;color:#001e37;font-weight:700}.rds-e-breadcrumbs__link--active[data-v-1a87a370]:hover{color:#001e37;opacity:1!important}.rds-e-breadcrumbs__link--inverse[data-v-1a87a370]{border-bottom:.0625rem solid rgba(255,255,255,.3);color:#ffffff4d}.rds-e-breadcrumbs__link--inverse-active[data-v-1a87a370],.rds-e-breadcrumbs__link--inverse-active[data-v-1a87a370]:hover{border-bottom:none;color:#001e37}.rds-e-breadcrumbs__link-dots[data-v-1a87a370]{cursor:pointer}.rds-e-breadcrumbs__link[data-v-1a87a370]:hover{opacity:.75}.rds-e-breadcrumbs__divider[data-v-1a87a370]{margin:0 .5rem}.rds-e-breadcrumbs[data-v-1a87a370] .rds-e-breadcrumbs__link--text{font:.875rem/1.25rem RepsolSoleTextRegular;margin-right:4px}.rds-e-breadcrumbs[data-v-1a87a370] .rds-e-breadcrumbs__link--active .rds-e-breadcrumbs__link--text{font:.875rem/1.25rem RepsolSoleTextBold}
1
+ [data-v-28c9477d]:root{--rds-caption-01: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-01-bold: .875rem/1.125rem RepsolSoleTextBold;--rds-caption-01-underline: .875rem/1.125rem RepsolSoleTextRegular;--rds-caption-02: .75rem/1rem RepsolSoleTextRegular;--rds-caption-02-bold: .75rem/1rem RepsolSoleTextBold;--rds-caption-02-underline: .75rem/1rem RepsolSoleTextRegular;--rds-caption-tag: .75rem/1rem RepsolSoleTextRegular;--rds-body-01: 1rem/1.5rem RepsolSoleTextRegular;--rds-body-02: .875rem/1.25rem RepsolSoleTextRegular;--rds-body-01-bold: 1rem/1.5rem RepsolSoleTextBold;--rds-body-01-underline: 1rem/1.3125rem RepsolSoleTextRegular;--rds-body-02-bold: .875rem/1.25rem RepsolSoleTextBold;--rds-body-02-underline: .875rem/1.25rem RepsolSoleTextRegular;--rds-button-01: 1rem/1.5rem RepsolSoleTextBold;--rds-button-02: .875rem/1.25rem RepsolSoleTextBold;--rds-monospaced-body-01: 1rem/1.5rem SourceCodeProRegular;--rds-monospaced-body-01-bold: 1rem/1.5rem SourceCodeProBold;--rds-monospaced-body-02: .875rem/1.25rem SourceCodeProRegular;--rds-monospaced-body-02-bold: .875rem/1.25rem SourceCodeProBold;--rds-monospaced-caption-01: .875rem/1.125rem SourceCodeProRegular;--rds-monospaced-caption-01-bold: .875rem/1.125rem SourceCodeProBold;--rds-monospaced-caption-02: .75rem/1rem SourceCodeProRegular;--rds-monospaced-caption-02-bold: .75rem/1rem SourceCodeProBold;--rds-title-01: 1.125rem/1.625rem RepsolSoleTextBold;--rds-title-02: 1rem/1.5rem RepsolSoleTextBold;--rds-headline-00-sd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-00-ld: 4rem/5rem RepsolSoleDisplayRegular;--rds-headline-00-xd: 4.5rem/5.75rem RepsolSoleDisplayRegular;--rds-headline-01-sd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-01-md: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-headline-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-headline-01-xd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-headline-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-02-md: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-02-ld: 2.25rem/3rem RepsolSoleDisplayRegular;--rds-headline-02-xd: 2.75rem/3.5rem RepsolSoleDisplayRegular;--rds-headline-03-sd: 1.375rem/1.875rem RepsolSoleDisplayRegular;--rds-headline-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-headline-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-headline-03-xd: 2rem/2.5rem RepsolSoleDisplayRegular;--rds-headline-04-sd: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-md: 1.125rem/1.625rem RepsolSoleDisplayRegular;--rds-headline-04-ld: 1.25rem/1.75rem RepsolSoleDisplayRegular;--rds-headline-04-xd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-00-sd: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-md: 3.5rem/4.25rem RepsolSoleDisplayRegular;--rds-numbers-00-ld: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-00-xd: 7rem/8.5rem RepsolSoleDisplayRegular;--rds-numbers-01-sd: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-md: 2.25rem/2.75rem RepsolSoleDisplayRegular;--rds-numbers-01-ld: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-01-xd: 3rem/3.75rem RepsolSoleDisplayRegular;--rds-numbers-02-sd: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-md: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-02-ld: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-02-xd: 2.5rem/3rem RepsolSoleDisplayRegular;--rds-numbers-03-sd: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-md: 1.5rem/2rem RepsolSoleDisplayRegular;--rds-numbers-03-ld: 1.75rem/2.25rem RepsolSoleDisplayRegular;--rds-numbers-03-xd: 1.75rem/2.25rem RepsolSoleDisplayRegular}.rds-e-breadcrumbs[data-v-28c9477d]{align-items:center;display:inline-flex;list-style:none;margin:0;padding:0}.rds-e-breadcrumbs--inverse[data-v-28c9477d]{color:#ffffff4d}.rds-e-breadcrumbs__link[data-v-28c9477d]{color:#43637d;padding-bottom:.1875rem}.rds-e-breadcrumbs__link--active[data-v-28c9477d]{font:.875rem/1.25rem RepsolSoleTextBold;border-bottom:none;color:#001e37;font-weight:700}.rds-e-breadcrumbs__link--active[data-v-28c9477d]:hover{color:#001e37;opacity:1!important}.rds-e-breadcrumbs__link--inverse[data-v-28c9477d]{border-bottom:.0625rem solid rgba(255,255,255,.3);color:#ffffff4d}.rds-e-breadcrumbs__link--inverse-active[data-v-28c9477d],.rds-e-breadcrumbs__link--inverse-active[data-v-28c9477d]:hover{border-bottom:none;color:#001e37}.rds-e-breadcrumbs__link-dots[data-v-28c9477d]{cursor:pointer}.rds-e-breadcrumbs__link[data-v-28c9477d]:hover{opacity:.75}.rds-e-breadcrumbs__item[data-v-28c9477d]{align-items:center;display:inline-flex;list-style:none;margin:0;padding:0}.rds-e-breadcrumbs__ellipsis-button[data-v-28c9477d]{background:transparent;border:none;border-radius:0;color:inherit;cursor:pointer;display:inline-flex;font:inherit;margin:0;padding:0}.rds-e-breadcrumbs__ellipsis-button[data-v-28c9477d]:focus-visible{outline-offset:.125rem}.rds-e-breadcrumbs__divider[data-v-28c9477d]{margin:0 .5rem}.rds-e-breadcrumbs[data-v-28c9477d] .rds-e-breadcrumbs__link--text{font:.875rem/1.25rem RepsolSoleTextRegular;margin-right:4px}.rds-e-breadcrumbs[data-v-28c9477d] .rds-e-breadcrumbs__link--active .rds-e-breadcrumbs__link--text{font:.875rem/1.25rem RepsolSoleTextBold}