energy-components 2.4.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actionButton.es.js +31 -18
- package/dist/components/breadcrumbs.es.js +76 -52
- package/dist/components/link.es.js +63 -48
- package/dist/components/pagination.es.js +58 -47
- package/dist/components/persistentToast.es.js +34 -25
- package/dist/components/searchField.es.js +18 -9
- package/dist/components/sidedrawer.es.js +53 -40
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/breadcrumbs.css +1 -1
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -1
- package/dist/components/style/searchField.css +1 -1
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/table.css +1 -1
- package/dist/components/style/toggle.css +1 -1
- package/dist/components/table.es.js +19 -17
- package/dist/components/toggle.es.js +92 -36
- package/dist/energy-components.css +1 -1
- package/dist/energy-components.es.js +4766 -4615
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +62 -0
- package/dist/types/src/components/content/table/table.vue.d.ts +7 -0
- package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +15 -0
- package/dist/types/src/components/input/search-field/search-field.vue.d.ts +15 -0
- package/dist/types/src/components/input/toggle/toggle.vue.d.ts +20 -0
- package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +18 -3
- package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +30 -0
- package/dist/types/src/components/navigation/link/link.vue.d.ts +5 -5
- package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +21 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/llms/rdsaction-button.md +1 -0
- package/llms/rdsbreadcrumbs.md +2 -0
- package/llms/rdslink.md +1 -1
- package/llms/rdspagination.md +1 -0
- package/llms/rdspersistent-toast.md +1 -0
- package/llms/rdssearch-field.md +1 -0
- package/llms/rdssidedrawer.md +1 -0
- package/llms/rdstable.md +1 -0
- package/llms/rdstoggle.md +5 -0
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
4
|
-
import { _ as
|
|
5
|
-
import './style/pagination.css';const
|
|
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
|
-
},
|
|
8
|
+
}, ne = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "rds-e-pagination__dropdown"
|
|
11
|
-
},
|
|
11
|
+
}, se = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "rds-e-pagination-leyend"
|
|
14
|
-
},
|
|
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:
|
|
114
|
-
const b = n,
|
|
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:
|
|
119
|
-
disableFirstLoad:
|
|
120
|
-
enableEllipsis:
|
|
121
|
-
enablePageDropdown:
|
|
122
|
-
pageDropdownLabel:
|
|
123
|
-
|
|
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
|
-
}),
|
|
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 (!
|
|
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
|
-
}),
|
|
153
|
+
}), q = r(() => {
|
|
143
154
|
const a = d.value;
|
|
144
155
|
return Array.from({ length: a }, (e, t) => String(t + 1));
|
|
145
|
-
}),
|
|
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
|
-
},
|
|
155
|
-
const e =
|
|
156
|
-
|
|
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
|
-
},
|
|
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 (
|
|
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
|
|
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
|
-
|
|
206
|
+
S("pageChanged", z);
|
|
196
207
|
}
|
|
197
|
-
},
|
|
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
|
|
212
|
+
return Q(() => b.currentPage, (a) => {
|
|
202
213
|
a !== l.value && a >= 1 && a <= d.value && (l.value = a);
|
|
203
|
-
}),
|
|
204
|
-
|
|
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",
|
|
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:
|
|
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:
|
|
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(
|
|
241
|
-
typeof t == "string" && t.includes("ellipsis") ? (u(), f("div",
|
|
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) =>
|
|
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:
|
|
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:
|
|
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(
|
|
289
|
-
k(
|
|
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(
|
|
294
|
-
options:
|
|
304
|
+
label: C($) ? C($) : l.value.toString(),
|
|
305
|
+
options: q.value,
|
|
295
306
|
small: "",
|
|
296
307
|
"text-only": "",
|
|
297
|
-
onSelect:
|
|
308
|
+
onSelect: H
|
|
298
309
|
}, null, 8, ["modelValue", "label", "options"])
|
|
299
310
|
])) : P("", !0)
|
|
300
311
|
]),
|
|
301
|
-
|
|
302
|
-
], 8,
|
|
312
|
+
V.value ? (u(), f("p", se, Z(F.value), 1)) : P("", !0)
|
|
313
|
+
], 8, te));
|
|
303
314
|
}
|
|
304
|
-
}),
|
|
315
|
+
}), fe = /* @__PURE__ */ ae(oe, [["__scopeId", "data-v-f88cc2cb"]]);
|
|
305
316
|
export {
|
|
306
|
-
|
|
317
|
+
fe as default
|
|
307
318
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { R as
|
|
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"],
|
|
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
|
-
},
|
|
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
|
-
},
|
|
10
|
+
}, A = {
|
|
11
11
|
key: 1,
|
|
12
12
|
class: "rds-e-persistent-toast__text"
|
|
13
|
-
},
|
|
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__ */
|
|
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
|
-
),
|
|
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",
|
|
109
|
-
a(
|
|
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",
|
|
116
|
-
r("div",
|
|
117
|
-
e.title ? (t(), s("div",
|
|
118
|
-
e.message && !i.$slots["content-section"] ? (t(), s("p",
|
|
119
|
-
i.$slots["content-section"] ? (t(), s("div",
|
|
120
|
-
|
|
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("
|
|
130
|
+
e.close ? (t(), s("button", {
|
|
124
131
|
key: 0,
|
|
132
|
+
type: "button",
|
|
125
133
|
class: "rds-e-persistent-toast__close-block",
|
|
126
|
-
|
|
134
|
+
"aria-label": e.closeAriaLabel,
|
|
135
|
+
onClick: f
|
|
127
136
|
}, [
|
|
128
|
-
a(
|
|
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
|
-
|
|
146
|
+
l(i.$slots, "action-section", {}, void 0, !0)
|
|
138
147
|
])) : o("", !0)
|
|
139
148
|
], 10, S));
|
|
140
149
|
}
|
|
141
|
-
}),
|
|
150
|
+
}), L = /* @__PURE__ */ k(D, [["__scopeId", "data-v-1f2128ca"]]);
|
|
142
151
|
export {
|
|
143
|
-
|
|
152
|
+
L as default
|
|
144
153
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as N, computed as
|
|
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 =
|
|
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
|
-
|
|
81
|
+
p.value = !0, c.value = !m.value, m.value = !1, r.value = !0;
|
|
75
82
|
}, F = () => {
|
|
76
83
|
setTimeout(() => {
|
|
77
|
-
|
|
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":
|
|
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-
|
|
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
|
|
2
|
-
import { R as
|
|
3
|
-
import { _ as
|
|
4
|
-
import './style/sidedrawer.css';const
|
|
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
|
-
},
|
|
7
|
+
}, I = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "rds-headline-04 rds-content-high"
|
|
10
|
-
},
|
|
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(
|
|
51
|
-
const m =
|
|
52
|
-
"rds-e-sidedrawer--hide":
|
|
53
|
-
"rds-e-sidedrawer--show": !
|
|
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
|
-
})),
|
|
56
|
-
"rds-e-sidedrawer__content--hide":
|
|
57
|
-
"rds-e-sidedrawer__content--show": !
|
|
58
|
-
})),
|
|
59
|
-
_("sidedrawerChange",
|
|
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
|
-
|
|
62
|
-
},
|
|
63
|
-
e.target === e.currentTarget && !y.value && !
|
|
68
|
+
t.value = e, S();
|
|
69
|
+
}, k = (e) => {
|
|
70
|
+
e.target === e.currentTarget && !y.value && !t.value && s(!0);
|
|
64
71
|
};
|
|
65
|
-
return
|
|
72
|
+
return N(t, (e) => {
|
|
66
73
|
e ? setTimeout(() => {
|
|
67
|
-
|
|
68
|
-
}, 500) :
|
|
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:
|
|
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(!
|
|
93
|
+
s(!t.value);
|
|
87
94
|
}
|
|
88
|
-
}), (e, d) => (a(),
|
|
89
|
-
class: v(["rds-e-sidedrawer", [
|
|
90
|
-
onClick:
|
|
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",
|
|
96
|
-
style:
|
|
97
|
-
onClick: d[1] || (d[1] =
|
|
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",
|
|
101
|
-
e.$slots.title ? (a(),
|
|
107
|
+
o("div", E, [
|
|
108
|
+
e.$slots.title ? (a(), i("div", H, [
|
|
102
109
|
c(e.$slots, "title", {}, void 0, !0)
|
|
103
|
-
])) :
|
|
104
|
-
|
|
110
|
+
])) : r.title ? (a(), i("h2", I, V(r.title), 1)) : w("", !0),
|
|
111
|
+
r.iconClose ? (a(), i("button", {
|
|
105
112
|
key: 2,
|
|
106
|
-
|
|
107
|
-
class: "rds-e-
|
|
108
|
-
|
|
109
|
-
|
|
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",
|
|
124
|
+
o("div", T, [
|
|
112
125
|
c(e.$slots, "content", {}, void 0, !0)
|
|
113
126
|
]),
|
|
114
|
-
o("div",
|
|
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__ */
|
|
133
|
+
}), G = /* @__PURE__ */ D(x, [["__scopeId", "data-v-6cf78ea3"]]);
|
|
121
134
|
export {
|
|
122
135
|
G as default
|
|
123
136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
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-
|
|
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}
|