energy-components 1.20.0 → 1.21.0-beta.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.
- package/dist/components/accordion.es.js +60 -50
- package/dist/components/badge.es.js +93 -0
- package/dist/components/checkbox.es.js +95 -55
- package/dist/components/index.es.js +58 -55
- package/dist/components/modal.es.js +93 -56
- package/dist/components/multiselect.es.js +77 -74
- package/dist/components/style/accordion.css +1 -1
- package/dist/components/style/badge.css +1 -0
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/textField.es.js +131 -120
- package/dist/energy-components.es.js +3580 -3390
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/accordion/accordion.vue.d.ts +14 -0
- package/dist/types/src/components/feedback/badge/badge.vue.d.ts +119 -0
- package/dist/types/src/components/index.d.ts +1 -0
- package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +60 -0
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { R as
|
|
5
|
-
import { _ as
|
|
6
|
-
import './style/modal.css';const
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "rds-e-modal__body"
|
|
9
|
-
}, M = {
|
|
1
|
+
import { defineComponent as M, ref as m, onMounted as z, onBeforeUnmount as N, watch as W, computed as w, createBlock as R, createCommentVNode as f, openBlock as d, unref as c, withCtx as C, createVNode as D, withModifiers as E, normalizeStyle as F, createElementVNode as v, createElementBlock as h, renderSlot as p, normalizeClass as T } from "vue";
|
|
2
|
+
import V from "./overlay.es.js";
|
|
3
|
+
import L from "./card.es.js";
|
|
4
|
+
import { R as A } from "./icon-svg-C8XeOnqu.js";
|
|
5
|
+
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import './style/modal.css';const U = { class: "rds-e-modal__container" }, j = { class: "rds-e-modal__header" }, G = { class: "rds-e-modal__header-text" }, J = {
|
|
10
7
|
key: 1,
|
|
11
8
|
class: "rds-e-modal__spacer"
|
|
12
|
-
},
|
|
13
|
-
key: 2,
|
|
14
|
-
class: "rds-e-modal__footer"
|
|
15
|
-
}, V = /* @__PURE__ */ b({
|
|
9
|
+
}, K = /* @__PURE__ */ M({
|
|
16
10
|
__name: "modal",
|
|
17
11
|
props: {
|
|
18
12
|
/**
|
|
@@ -51,7 +45,7 @@ import './style/modal.css';const H = { class: "rds-e-modal__container" }, B = {
|
|
|
51
45
|
maxWidth: {
|
|
52
46
|
type: [String, Number],
|
|
53
47
|
default: 820,
|
|
54
|
-
validator: (
|
|
48
|
+
validator: (t) => typeof t == "number" ? !0 : /^\d+(?:px|em|rem|%)$/.test(t)
|
|
55
49
|
},
|
|
56
50
|
/**
|
|
57
51
|
* Ancho del modal en dispositivos de escritorio.
|
|
@@ -59,7 +53,7 @@ import './style/modal.css';const H = { class: "rds-e-modal__container" }, B = {
|
|
|
59
53
|
width: {
|
|
60
54
|
type: [String, Number],
|
|
61
55
|
default: 600,
|
|
62
|
-
validator: (
|
|
56
|
+
validator: (t) => typeof t == "number" ? !0 : /^\d+(?:px|em|rem|%)$/.test(t)
|
|
63
57
|
},
|
|
64
58
|
/**
|
|
65
59
|
* Altura máxima del modal en dispositivos móviles en vh, por defecto es 50vh. Recibe un Number cualquiera
|
|
@@ -68,7 +62,7 @@ import './style/modal.css';const H = { class: "rds-e-modal__container" }, B = {
|
|
|
68
62
|
mobileHeight: {
|
|
69
63
|
type: [Number],
|
|
70
64
|
default: 50,
|
|
71
|
-
validator: (
|
|
65
|
+
validator: (t) => t < 30 ? (console.warn(`energy-components: mobileHeight: ${t} es menor que 30. Se limitará a 30vh.`), !0) : (t > 90 && console.warn(`energy-components: mobileHeight: ${t} es mayor que 90. Se limitará a 90vh.`), !0)
|
|
72
66
|
},
|
|
73
67
|
/**
|
|
74
68
|
* ID del modal para testing
|
|
@@ -79,89 +73,132 @@ import './style/modal.css';const H = { class: "rds-e-modal__container" }, B = {
|
|
|
79
73
|
}
|
|
80
74
|
},
|
|
81
75
|
emits: ["onCloseRequest", "onOpenRequest", "onToggleRequest"],
|
|
82
|
-
setup(
|
|
83
|
-
const
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
76
|
+
setup(t, { expose: S, emit: k }) {
|
|
77
|
+
const o = t, s = k, O = m(null), r = m(null), q = m(null), u = m(!1);
|
|
78
|
+
let i = null, a = null;
|
|
79
|
+
const n = () => {
|
|
80
|
+
const e = r.value;
|
|
81
|
+
if (!e) {
|
|
82
|
+
u.value = !1;
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
if (!(e.scrollHeight > e.clientHeight)) {
|
|
86
|
+
u.value = !1;
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
const _ = 1, B = e.scrollHeight - e.clientHeight - e.scrollTop;
|
|
90
|
+
u.value = B > _;
|
|
91
|
+
}, $ = () => {
|
|
92
|
+
n();
|
|
93
|
+
}, y = () => {
|
|
94
|
+
typeof ResizeObserver < "u" && (i = new ResizeObserver(() => {
|
|
95
|
+
n();
|
|
96
|
+
}), r.value && i.observe(r.value)), typeof MutationObserver < "u" && r.value && (a = new MutationObserver(() => {
|
|
97
|
+
requestAnimationFrame(() => n());
|
|
98
|
+
}), a.observe(r.value, { childList: !0, subtree: !0, characterData: !0 })), window.addEventListener("resize", n, { passive: !0 }), requestAnimationFrame(() => n());
|
|
99
|
+
}, b = () => {
|
|
100
|
+
i && r.value && i.unobserve(r.value), i = null, a && a.disconnect(), a = null, window.removeEventListener("resize", n);
|
|
101
|
+
};
|
|
102
|
+
z(() => {
|
|
103
|
+
o.open && y();
|
|
104
|
+
}), N(() => {
|
|
105
|
+
b();
|
|
106
|
+
}), W(() => o.open, (e) => {
|
|
107
|
+
e ? y() : b();
|
|
108
|
+
});
|
|
109
|
+
const x = w(() => o.mobileHeight < 30 ? "30vh" : o.mobileHeight > 90 ? "90vh" : `${o.mobileHeight}vh`), H = w(() => {
|
|
110
|
+
const e = typeof o.maxWidth == "number" ? `${o.maxWidth}px` : o.maxWidth, l = typeof o.width == "number" ? `${o.width}px` : o.width;
|
|
111
|
+
return { "--rds-modal-max-width": e, "--rds-modal-width": l, "--rds-modal-mobile-height": x.value };
|
|
112
|
+
}), g = () => {
|
|
113
|
+
o.preventClose || s("onCloseRequest");
|
|
88
114
|
};
|
|
89
|
-
return
|
|
115
|
+
return S({
|
|
90
116
|
/**
|
|
91
117
|
* { () => void } Gestiona el clic fuera del modal.
|
|
92
118
|
*/
|
|
93
|
-
modalClickOutside: () =>
|
|
119
|
+
modalClickOutside: () => g(),
|
|
94
120
|
/**
|
|
95
121
|
* { () => void } Solicita abrir el modal.
|
|
96
122
|
*/
|
|
97
123
|
openModal: () => {
|
|
98
|
-
|
|
124
|
+
s("onOpenRequest");
|
|
99
125
|
},
|
|
100
126
|
/**
|
|
101
127
|
* { () => void } Solicita cerrar el modal.
|
|
102
128
|
*/
|
|
103
129
|
closeModal: () => {
|
|
104
|
-
|
|
130
|
+
s("onCloseRequest");
|
|
105
131
|
},
|
|
106
132
|
/**
|
|
107
133
|
* { (state: boolean) => void } Cambia el estado del modal.
|
|
108
134
|
* @param {boolean} state - true para abrir, false para cerrar
|
|
109
135
|
*/
|
|
110
|
-
changeModalState: (
|
|
111
|
-
|
|
136
|
+
changeModalState: (e) => {
|
|
137
|
+
s(e ? "onOpenRequest" : "onCloseRequest");
|
|
112
138
|
},
|
|
113
139
|
/**
|
|
114
140
|
* { () => void } Alterna el estado del modal.
|
|
115
141
|
*/
|
|
116
142
|
toggleModal: () => {
|
|
117
|
-
|
|
143
|
+
s("onToggleRequest");
|
|
118
144
|
}
|
|
119
|
-
}), (
|
|
145
|
+
}), (e, l) => t.open ? (d(), R(c(V), {
|
|
120
146
|
key: 0,
|
|
121
|
-
id:
|
|
147
|
+
id: t.id,
|
|
122
148
|
ref_key: "overlay",
|
|
123
|
-
ref:
|
|
149
|
+
ref: O,
|
|
124
150
|
class: "rds-e-modal__overlay",
|
|
125
|
-
teleport:
|
|
126
|
-
onClick:
|
|
151
|
+
teleport: o.teleport,
|
|
152
|
+
onClick: g
|
|
127
153
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
|
|
130
|
-
id:
|
|
154
|
+
default: C(() => [
|
|
155
|
+
D(c(L), {
|
|
156
|
+
id: t.id ? `${t.id}-card` : void 0,
|
|
131
157
|
class: "rds-e-modal__card",
|
|
132
|
-
style:
|
|
133
|
-
onClick:
|
|
158
|
+
style: F(H.value),
|
|
159
|
+
onClick: l[1] || (l[1] = E(() => {
|
|
134
160
|
}, ["stop"]))
|
|
135
161
|
}, {
|
|
136
|
-
default:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
162
|
+
default: C(() => [
|
|
163
|
+
v("div", U, [
|
|
164
|
+
v("div", j, [
|
|
165
|
+
v("div", G, [
|
|
166
|
+
p(e.$slots, "header", {}, void 0, !0)
|
|
141
167
|
]),
|
|
142
|
-
|
|
168
|
+
o.showClose ? (d(), R(c(A), {
|
|
143
169
|
key: 0,
|
|
144
170
|
class: "rds-e-modal__header-close",
|
|
145
171
|
name: "close",
|
|
146
172
|
small: "",
|
|
147
|
-
onClick:
|
|
148
|
-
})) :
|
|
173
|
+
onClick: l[0] || (l[0] = () => s("onCloseRequest"))
|
|
174
|
+
})) : f("", !0)
|
|
149
175
|
]),
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
176
|
+
e.$slots.body ? (d(), h("div", {
|
|
177
|
+
key: 0,
|
|
178
|
+
ref_key: "bodyRef",
|
|
179
|
+
ref: r,
|
|
180
|
+
class: "rds-e-modal__body",
|
|
181
|
+
onScroll: $
|
|
182
|
+
}, [
|
|
183
|
+
p(e.$slots, "body", {}, void 0, !0)
|
|
184
|
+
], 544)) : (d(), h("div", J)),
|
|
185
|
+
e.$slots.footer ? (d(), h("div", {
|
|
186
|
+
key: 2,
|
|
187
|
+
ref_key: "footerRef",
|
|
188
|
+
ref: q,
|
|
189
|
+
class: T(["rds-e-modal__footer", { "rds-e-modal__footer--has-shadow": u.value }])
|
|
190
|
+
}, [
|
|
191
|
+
p(e.$slots, "footer", {}, void 0, !0)
|
|
192
|
+
], 2)) : f("", !0)
|
|
156
193
|
])
|
|
157
194
|
]),
|
|
158
195
|
_: 3
|
|
159
196
|
}, 8, ["id", "style"])
|
|
160
197
|
]),
|
|
161
198
|
_: 3
|
|
162
|
-
}, 8, ["id", "teleport"])) :
|
|
199
|
+
}, 8, ["id", "teleport"])) : f("", !0);
|
|
163
200
|
}
|
|
164
|
-
}),
|
|
201
|
+
}), ee = /* @__PURE__ */ I(K, [["__scopeId", "data-v-125b508a"]]);
|
|
165
202
|
export {
|
|
166
|
-
|
|
203
|
+
ee as default
|
|
167
204
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as H, createElementBlock as g, openBlock as c, withKeys as a, normalizeClass as P, withModifiers as o, renderSlot as u, createElementVNode as p, createVNode as m, createBlock as A, createCommentVNode as b, withDirectives as v, Fragment as N, renderList as
|
|
3
|
-
import { _ as
|
|
4
|
-
import './style/multiselect.css';function
|
|
1
|
+
import k from "./multiselectcontentwrapper.es.js";
|
|
2
|
+
import { resolveComponent as H, createElementBlock as g, openBlock as c, withKeys as a, normalizeClass as P, withModifiers as o, renderSlot as u, createElementVNode as p, createVNode as m, createBlock as A, createCommentVNode as b, withDirectives as v, Fragment as N, renderList as L, toDisplayString as w, vShow as O, Transition as T, withCtx as y, normalizeStyle as C, createTextVNode as F, createSlots as B, normalizeProps as $, guardReactiveProps as D, Teleport as x } from "vue";
|
|
3
|
+
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import './style/multiselect.css';function S(e) {
|
|
5
5
|
return e === 0 ? !1 : Array.isArray(e) && e.length === 0 ? !0 : !e;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function K(e) {
|
|
8
8
|
return (...t) => !e(...t);
|
|
9
9
|
}
|
|
10
10
|
function M(e, t) {
|
|
11
11
|
return e === void 0 && (e = "undefined"), e === null && (e = "null"), e === !1 && (e = "false"), e.toString().toLowerCase().indexOf(t.trim()) !== -1;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return t ? e.filter((n) => M(r(n, i), t)).sort((n,
|
|
13
|
+
function E(e, t, i, r) {
|
|
14
|
+
return t ? e.filter((n) => M(r(n, i), t)).sort((n, s) => r(n, i).length - r(s, i).length) : e;
|
|
15
15
|
}
|
|
16
16
|
function z(e) {
|
|
17
17
|
return e.filter((t) => !t.$isLabel);
|
|
@@ -23,13 +23,13 @@ function V(e, t) {
|
|
|
23
23
|
}), r.concat(n[e])) : r, []);
|
|
24
24
|
}
|
|
25
25
|
function j(e, t, i, r, n) {
|
|
26
|
-
return (
|
|
26
|
+
return (s) => s.map((d) => {
|
|
27
27
|
if (!d[i])
|
|
28
28
|
return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."), [];
|
|
29
|
-
const
|
|
30
|
-
return
|
|
29
|
+
const l = E(d[i], e, t, n);
|
|
30
|
+
return l.length ? {
|
|
31
31
|
[r]: d[r],
|
|
32
|
-
[i]:
|
|
32
|
+
[i]: l
|
|
33
33
|
} : [];
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -40,7 +40,8 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
40
40
|
isOpen: !1,
|
|
41
41
|
preferredOpenDirection: "below",
|
|
42
42
|
optimizedHeight: this.maxHeight,
|
|
43
|
-
currentElRect: null
|
|
43
|
+
currentElRect: null,
|
|
44
|
+
scrollListener: null
|
|
44
45
|
};
|
|
45
46
|
},
|
|
46
47
|
props: {
|
|
@@ -160,7 +161,7 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
160
161
|
customLabel: {
|
|
161
162
|
type: Function,
|
|
162
163
|
default(e, t) {
|
|
163
|
-
return
|
|
164
|
+
return S(e) ? "" : t ? e[t] : e;
|
|
164
165
|
}
|
|
165
166
|
},
|
|
166
167
|
/**
|
|
@@ -298,7 +299,7 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
298
299
|
filteredOptions() {
|
|
299
300
|
const e = this.search || "", t = e.toLowerCase().trim();
|
|
300
301
|
let i = this.options.concat();
|
|
301
|
-
return this.internalSearch ? i = this.groupValues ? this.filterAndFlat(i, t, this.label) :
|
|
302
|
+
return this.internalSearch ? i = this.groupValues ? this.filterAndFlat(i, t, this.label) : E(i, t, this.label, this.customLabel) : i = this.groupValues ? V(this.groupValues, this.groupLabel)(i) : i, i = this.hideSelected ? i.filter(K(this.isSelected)) : i, this.taggable && t.length && !this.isExistingOption(t) && (this.tagPosition === "bottom" ? i.push({ isTag: !0, label: e }) : i.unshift({ isTag: !0, label: e })), i.slice(0, this.optionsLimit);
|
|
302
303
|
},
|
|
303
304
|
valueKeys() {
|
|
304
305
|
return this.trackBy ? this.internalValue.map((e) => e[this.trackBy]) : this.internalValue;
|
|
@@ -395,11 +396,11 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
395
396
|
* @returns {Object||String}
|
|
396
397
|
*/
|
|
397
398
|
getOptionLabel(e) {
|
|
398
|
-
if (
|
|
399
|
+
if (S(e)) return "";
|
|
399
400
|
if (e.isTag) return e.label;
|
|
400
401
|
if (e.$isLabel) return e.$groupLabel;
|
|
401
402
|
const t = this.customLabel(e, this.label);
|
|
402
|
-
return
|
|
403
|
+
return S(t) ? "" : t;
|
|
403
404
|
},
|
|
404
405
|
/**
|
|
405
406
|
* Add the given option to the list of selected options
|
|
@@ -504,18 +505,20 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
504
505
|
this.blockKeys.indexOf("Delete") === -1 && this.search.length === 0 && Array.isArray(this.internalValue) && this.internalValue.length && this.removeElement(this.internalValue[this.internalValue.length - 1], !1);
|
|
505
506
|
},
|
|
506
507
|
/**
|
|
507
|
-
* Opens the multiselect
|
|
508
|
+
* Opens the multiselect's dropdown.
|
|
508
509
|
* Sets this.isOpen to TRUE
|
|
509
510
|
*/
|
|
510
511
|
activate() {
|
|
511
|
-
this.isOpen || this.disabled || (this.adjustPosition(), this.groupValues && this.pointer === 0 && this.filteredOptions.length && (this.pointer = 1), this.isOpen = !0, this.
|
|
512
|
+
this.isOpen || this.disabled || (this.adjustPosition(), this.groupValues && this.pointer === 0 && this.filteredOptions.length && (this.pointer = 1), this.isOpen = !0, this.appendToBody && typeof window < "u" && (this.scrollListener = () => {
|
|
513
|
+
this.isOpen && this.$el && (this.currentElRect = this.$el.getBoundingClientRect());
|
|
514
|
+
}, window.addEventListener("scroll", this.scrollListener, !0), window.addEventListener("resize", this.scrollListener)), this.searchable ? (this.preserveSearch || (this.search = ""), this.preventAutofocus || this.$nextTick(() => this.$refs.search && this.$refs.search.focus())) : this.preventAutofocus || typeof this.$el < "u" && this.$el.focus(), this.$emit("open", this.id));
|
|
512
515
|
},
|
|
513
516
|
/**
|
|
514
|
-
* Closes the multiselect
|
|
517
|
+
* Closes the multiselect's dropdown.
|
|
515
518
|
* Sets this.isOpen to FALSE
|
|
516
519
|
*/
|
|
517
520
|
deactivate() {
|
|
518
|
-
this.isOpen && (this.isOpen = !1, this.searchable ? this.$refs.search !== null && typeof this.$refs.search < "u" && this.$refs.search.blur() : typeof this.$el < "u" && this.$el.blur(), this.preserveSearch || (this.search = ""), this.$emit("close", this.getValue(), this.id));
|
|
521
|
+
this.isOpen && (this.isOpen = !1, this.scrollListener && typeof window < "u" && (window.removeEventListener("scroll", this.scrollListener, !0), window.removeEventListener("resize", this.scrollListener), this.scrollListener = null), this.searchable ? this.$refs.search !== null && typeof this.$refs.search < "u" && this.$refs.search.blur() : typeof this.$el < "u" && this.$el.blur(), this.preserveSearch || (this.search = ""), this.$emit("close", this.getValue(), this.id));
|
|
519
522
|
},
|
|
520
523
|
/**
|
|
521
524
|
* Call this.activate() or this.deactivate()
|
|
@@ -631,7 +634,7 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
631
634
|
}, I = {
|
|
632
635
|
name: "vue-multiselect",
|
|
633
636
|
components: {
|
|
634
|
-
MultiselectContentWrapper:
|
|
637
|
+
MultiselectContentWrapper: k
|
|
635
638
|
},
|
|
636
639
|
mixins: [q, W],
|
|
637
640
|
compatConfig: {
|
|
@@ -895,25 +898,25 @@ const G = (...e) => (t) => e.reduce((i, r) => r(i), t), q = {
|
|
|
895
898
|
ref: "tags",
|
|
896
899
|
class: "multiselect__tags"
|
|
897
900
|
}, Q = { class: "multiselect__tags-wrap" }, X = ["textContent"], Y = ["onKeypress", "onMousedown"], Z = ["textContent"], _ = { class: "multiselect__spinner" }, ee = ["name", "id", "spellcheck", "placeholder", "required", "value", "disabled", "tabindex", "aria-controls"];
|
|
898
|
-
function te(e, t, i, r, n,
|
|
901
|
+
function te(e, t, i, r, n, s) {
|
|
899
902
|
const d = H("MultiselectContentWrapper");
|
|
900
903
|
return c(), g("div", {
|
|
901
904
|
tabindex: e.searchable ? -1 : i.tabindex,
|
|
902
|
-
class: P([{ "multiselect--active": e.isOpen, "multiselect--disabled": i.disabled, "multiselect--above":
|
|
903
|
-
onFocus: t[11] || (t[11] = (
|
|
904
|
-
onBlur: t[12] || (t[12] = (...
|
|
905
|
+
class: P([{ "multiselect--active": e.isOpen, "multiselect--disabled": i.disabled, "multiselect--above": s.isAbove, "multiselect--has-options-group": s.hasOptionGroup }, "multiselect"]),
|
|
906
|
+
onFocus: t[11] || (t[11] = (l) => e.activate()),
|
|
907
|
+
onBlur: t[12] || (t[12] = (...l) => s.onBlur && s.onBlur(...l)),
|
|
905
908
|
onKeydown: [
|
|
906
|
-
t[13] || (t[13] = a(o((
|
|
907
|
-
t[14] || (t[14] = a(o((
|
|
909
|
+
t[13] || (t[13] = a(o((l) => e.pointerForward(), ["self", "prevent"]), ["down"])),
|
|
910
|
+
t[14] || (t[14] = a(o((l) => e.pointerBackward(), ["self", "prevent"]), ["up"]))
|
|
908
911
|
],
|
|
909
|
-
onKeypress: t[15] || (t[15] = a(o((
|
|
910
|
-
onKeyup: t[16] || (t[16] = a((
|
|
912
|
+
onKeypress: t[15] || (t[15] = a(o((l) => e.addPointerElement(l), ["stop", "self"]), ["enter", "tab"])),
|
|
913
|
+
onKeyup: t[16] || (t[16] = a((l) => e.deactivate(), ["esc"])),
|
|
911
914
|
role: "combobox",
|
|
912
915
|
"aria-owns": "listbox-" + e.id
|
|
913
916
|
}, [
|
|
914
917
|
u(e.$slots, "caret", { toggle: e.toggle }, () => [
|
|
915
918
|
p("div", {
|
|
916
|
-
onMousedown: t[0] || (t[0] = o((
|
|
919
|
+
onMousedown: t[0] || (t[0] = o((l) => e.toggle(), ["prevent", "stop"])),
|
|
917
920
|
class: "multiselect__select"
|
|
918
921
|
}, null, 32)
|
|
919
922
|
], !0),
|
|
@@ -922,12 +925,12 @@ function te(e, t, i, r, n, l) {
|
|
|
922
925
|
u(e.$slots, "selection", {
|
|
923
926
|
search: e.search,
|
|
924
927
|
remove: e.removeElement,
|
|
925
|
-
values:
|
|
928
|
+
values: s.visibleValues,
|
|
926
929
|
isOpen: e.isOpen
|
|
927
930
|
}, () => [
|
|
928
931
|
v(p("div", Q, [
|
|
929
|
-
(c(!0), g(N, null,
|
|
930
|
-
option:
|
|
932
|
+
(c(!0), g(N, null, L(s.visibleValues, (l, h) => u(e.$slots, "tag", {
|
|
933
|
+
option: l,
|
|
931
934
|
search: e.search,
|
|
932
935
|
remove: e.removeElement
|
|
933
936
|
}, () => [
|
|
@@ -936,23 +939,23 @@ function te(e, t, i, r, n, l) {
|
|
|
936
939
|
key: h
|
|
937
940
|
}, [
|
|
938
941
|
p("span", {
|
|
939
|
-
textContent:
|
|
942
|
+
textContent: w(e.getOptionLabel(l))
|
|
940
943
|
}, null, 8, X),
|
|
941
944
|
p("i", {
|
|
942
945
|
tabindex: "1",
|
|
943
|
-
onKeypress: a(o((f) => e.removeElement(
|
|
944
|
-
onMousedown: o((f) => e.removeElement(
|
|
946
|
+
onKeypress: a(o((f) => e.removeElement(l), ["prevent"]), ["enter"]),
|
|
947
|
+
onMousedown: o((f) => e.removeElement(l), ["prevent"]),
|
|
945
948
|
class: "multiselect__tag-icon"
|
|
946
949
|
}, null, 40, Y)
|
|
947
950
|
]))
|
|
948
951
|
], !0)), 256))
|
|
949
952
|
], 512), [
|
|
950
|
-
[
|
|
953
|
+
[O, s.visibleValues.length > 0]
|
|
951
954
|
]),
|
|
952
955
|
e.internalValue && e.internalValue.length > i.limit ? u(e.$slots, "limit", { key: 0 }, () => [
|
|
953
956
|
p("strong", {
|
|
954
957
|
class: "multiselect__strong",
|
|
955
|
-
textContent:
|
|
958
|
+
textContent: w(i.limitText(e.internalValue.length - i.limit))
|
|
956
959
|
}, null, 8, Z)
|
|
957
960
|
], !0) : b("", !0)
|
|
958
961
|
], !0),
|
|
@@ -960,7 +963,7 @@ function te(e, t, i, r, n, l) {
|
|
|
960
963
|
default: y(() => [
|
|
961
964
|
u(e.$slots, "loading", {}, () => [
|
|
962
965
|
v(p("div", _, null, 512), [
|
|
963
|
-
[
|
|
966
|
+
[O, i.loading]
|
|
964
967
|
])
|
|
965
968
|
], !0)
|
|
966
969
|
]),
|
|
@@ -976,32 +979,32 @@ function te(e, t, i, r, n, l) {
|
|
|
976
979
|
spellcheck: i.spellcheck,
|
|
977
980
|
placeholder: e.placeholder,
|
|
978
981
|
required: i.required,
|
|
979
|
-
style:
|
|
980
|
-
...
|
|
982
|
+
style: C({
|
|
983
|
+
...s.inputStyle
|
|
981
984
|
}),
|
|
982
985
|
value: e.search,
|
|
983
986
|
disabled: i.disabled,
|
|
984
987
|
tabindex: i.tabindex,
|
|
985
|
-
onInput: t[1] || (t[1] = (
|
|
986
|
-
onFocus: t[2] || (t[2] = o((
|
|
987
|
-
onBlur: t[3] || (t[3] = o((
|
|
988
|
-
onKeyup: t[4] || (t[4] = a((
|
|
988
|
+
onInput: t[1] || (t[1] = (l) => e.updateSearch(l.target.value)),
|
|
989
|
+
onFocus: t[2] || (t[2] = o((l) => e.activate(), ["prevent"])),
|
|
990
|
+
onBlur: t[3] || (t[3] = o((l) => e.deactivate(), ["prevent"])),
|
|
991
|
+
onKeyup: t[4] || (t[4] = a((l) => e.deactivate(), ["esc"])),
|
|
989
992
|
onKeydown: [
|
|
990
|
-
t[5] || (t[5] = a(o((
|
|
991
|
-
t[6] || (t[6] = a(o((
|
|
992
|
-
t[8] || (t[8] = a(o((
|
|
993
|
+
t[5] || (t[5] = a(o((l) => e.pointerForward(), ["prevent"]), ["down"])),
|
|
994
|
+
t[6] || (t[6] = a(o((l) => e.pointerBackward(), ["prevent"]), ["up"])),
|
|
995
|
+
t[8] || (t[8] = a(o((l) => e.removeLastElement(), ["stop"]), ["delete"]))
|
|
993
996
|
],
|
|
994
|
-
onKeypress: t[7] || (t[7] = a(o((
|
|
997
|
+
onKeypress: t[7] || (t[7] = a(o((l) => e.addPointerElement(l), ["prevent", "stop", "self"]), ["enter"])),
|
|
995
998
|
class: "multiselect__input",
|
|
996
999
|
"aria-controls": "listbox-" + e.id
|
|
997
1000
|
}, null, 44, ee)) : b("", !0),
|
|
998
|
-
|
|
1001
|
+
s.isSingleLabelVisible ? (c(), g("span", {
|
|
999
1002
|
key: 1,
|
|
1000
1003
|
class: "multiselect__single",
|
|
1001
|
-
onMousedown: t[9] || (t[9] = o((...
|
|
1004
|
+
onMousedown: t[9] || (t[9] = o((...l) => e.toggle && e.toggle(...l), ["prevent"]))
|
|
1002
1005
|
}, [
|
|
1003
|
-
u(e.$slots, "singleLabel", { option:
|
|
1004
|
-
|
|
1006
|
+
u(e.$slots, "singleLabel", { option: s.singleValue }, () => [
|
|
1007
|
+
F(w(e.currentOptionLabel), 1)
|
|
1005
1008
|
], !0)
|
|
1006
1009
|
], 32)) : b("", !0)
|
|
1007
1010
|
], 512),
|
|
@@ -1018,41 +1021,41 @@ function te(e, t, i, r, n, l) {
|
|
|
1018
1021
|
optionHighlight: e.optionHighlight,
|
|
1019
1022
|
select: e.select,
|
|
1020
1023
|
pointerSet: e.pointerSet,
|
|
1021
|
-
selectLabelText:
|
|
1022
|
-
selectedLabelText:
|
|
1023
|
-
deselectLabelText:
|
|
1024
|
+
selectLabelText: s.selectLabelText,
|
|
1025
|
+
selectedLabelText: s.selectedLabelText,
|
|
1026
|
+
deselectLabelText: s.deselectLabelText,
|
|
1024
1027
|
tagPlaceholder: e.tagPlaceholder,
|
|
1025
1028
|
groupSelect: e.groupSelect,
|
|
1026
|
-
selectGroupLabelText:
|
|
1027
|
-
deselectGroupLabelText:
|
|
1029
|
+
selectGroupLabelText: s.selectGroupLabelText,
|
|
1030
|
+
deselectGroupLabelText: s.deselectGroupLabelText,
|
|
1028
1031
|
getOptionLabel: e.getOptionLabel,
|
|
1029
1032
|
groupHighlight: e.groupHighlight,
|
|
1030
1033
|
selectGroup: e.selectGroup,
|
|
1031
1034
|
options: e.options,
|
|
1032
|
-
hasOptionGroup:
|
|
1035
|
+
hasOptionGroup: s.hasOptionGroup,
|
|
1033
1036
|
search: e.search,
|
|
1034
1037
|
loading: i.loading,
|
|
1035
1038
|
showNoResults: i.showNoResults,
|
|
1036
1039
|
showNoOptions: i.showNoOptions,
|
|
1037
1040
|
small: i.small,
|
|
1038
|
-
contentStyle:
|
|
1039
|
-
customStyle:
|
|
1041
|
+
contentStyle: s.contentStyle,
|
|
1042
|
+
customStyle: s.dropdownStyle,
|
|
1040
1043
|
ref: "list",
|
|
1041
1044
|
onFocus: e.activate
|
|
1042
1045
|
}, B({ _: 2 }, [
|
|
1043
|
-
|
|
1046
|
+
L(e.$slots, (l, h) => ({
|
|
1044
1047
|
name: h,
|
|
1045
1048
|
fn: y((f) => [
|
|
1046
1049
|
u(e.$slots, h, $(D(f)), void 0, !0)
|
|
1047
1050
|
])
|
|
1048
1051
|
}))
|
|
1049
1052
|
]), 1032, ["id", "multiple", "max", "internalValue", "filteredOptions", "isSelected", "optionHighlight", "select", "pointerSet", "selectLabelText", "selectedLabelText", "deselectLabelText", "tagPlaceholder", "groupSelect", "selectGroupLabelText", "deselectGroupLabelText", "getOptionLabel", "groupHighlight", "selectGroup", "options", "hasOptionGroup", "search", "loading", "showNoResults", "showNoOptions", "small", "contentStyle", "customStyle", "onFocus"]), [
|
|
1050
|
-
[
|
|
1053
|
+
[O, e.isOpen && !i.appendToBody]
|
|
1051
1054
|
])
|
|
1052
1055
|
]),
|
|
1053
1056
|
_: 3
|
|
1054
1057
|
}),
|
|
1055
|
-
i.appendToBody && e.isOpen ? (c(), A(
|
|
1058
|
+
i.appendToBody && e.isOpen ? (c(), A(x, {
|
|
1056
1059
|
key: 0,
|
|
1057
1060
|
to: "body"
|
|
1058
1061
|
}, [
|
|
@@ -1067,30 +1070,30 @@ function te(e, t, i, r, n, l) {
|
|
|
1067
1070
|
optionHighlight: e.optionHighlight,
|
|
1068
1071
|
select: e.select,
|
|
1069
1072
|
pointerSet: e.pointerSet,
|
|
1070
|
-
selectLabelText:
|
|
1071
|
-
selectedLabelText:
|
|
1072
|
-
deselectLabelText:
|
|
1073
|
+
selectLabelText: s.selectLabelText,
|
|
1074
|
+
selectedLabelText: s.selectedLabelText,
|
|
1075
|
+
deselectLabelText: s.deselectLabelText,
|
|
1073
1076
|
tagPlaceholder: e.tagPlaceholder,
|
|
1074
1077
|
groupSelect: e.groupSelect,
|
|
1075
|
-
selectGroupLabelText:
|
|
1076
|
-
deselectGroupLabelText:
|
|
1078
|
+
selectGroupLabelText: s.selectGroupLabelText,
|
|
1079
|
+
deselectGroupLabelText: s.deselectGroupLabelText,
|
|
1077
1080
|
getOptionLabel: e.getOptionLabel,
|
|
1078
1081
|
groupHighlight: e.groupHighlight,
|
|
1079
1082
|
selectGroup: e.selectGroup,
|
|
1080
1083
|
options: e.options,
|
|
1081
|
-
hasOptionGroup:
|
|
1084
|
+
hasOptionGroup: s.hasOptionGroup,
|
|
1082
1085
|
search: e.search,
|
|
1083
1086
|
loading: i.loading,
|
|
1084
1087
|
showNoResults: i.showNoResults,
|
|
1085
1088
|
showNoOptions: i.showNoOptions,
|
|
1086
1089
|
small: i.small,
|
|
1087
|
-
contentStyle:
|
|
1088
|
-
customStyle:
|
|
1090
|
+
contentStyle: s.contentStyle,
|
|
1091
|
+
customStyle: s.teleportedContentStyle,
|
|
1089
1092
|
onFocus: e.activate,
|
|
1090
1093
|
onClick: t[10] || (t[10] = o(() => {
|
|
1091
1094
|
}, ["stop"]))
|
|
1092
1095
|
}, B({ _: 2 }, [
|
|
1093
|
-
|
|
1096
|
+
L(e.$slots, (l, h) => ({
|
|
1094
1097
|
name: h,
|
|
1095
1098
|
fn: y((f) => [
|
|
1096
1099
|
u(e.$slots, h, $(D(f)), void 0, !0)
|
|
@@ -1100,7 +1103,7 @@ function te(e, t, i, r, n, l) {
|
|
|
1100
1103
|
])) : b("", !0)
|
|
1101
1104
|
], 42, U);
|
|
1102
1105
|
}
|
|
1103
|
-
const re = /* @__PURE__ */
|
|
1106
|
+
const re = /* @__PURE__ */ R(I, [["render", te], ["__scopeId", "data-v-2093ab38"]]);
|
|
1104
1107
|
export {
|
|
1105
1108
|
re as default
|
|
1106
1109
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
1
|
+
[data-v-c327a8d6]: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-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-accordion[data-v-c327a8d6]{border-bottom:1px solid #DBE6F0;width:100%}.rds-e-accordion-title_container[data-v-c327a8d6]{align-content:center;align-items:center;color:#001e37;cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;padding:1rem .75rem;font:1rem/1.5rem RepsolSoleTextBold}.rds-e-accordion-title_container[data-v-c327a8d6]:hover,.rds-e-accordion-title_container:hover .rds-e-accordion-title_icon[data-v-c327a8d6]{color:#43637d}.rds-e-accordion-title_container .rds-e-accordion-title_icon[data-v-c327a8d6]{color:#001e37;transition:transform .2s ease-out}.rds-e-accordion-title_container .rds-e-accordion-title_icon--open[data-v-c327a8d6]{transform:rotate(-180deg)}.rds-e-accordion-title[data-v-c327a8d6]{flex:1 1 auto;min-width:0}.rds-e-accordion-title_right[data-v-c327a8d6]{align-content:center;align-items:center;display:flex;flex:0 0 auto;flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;margin-left:auto;max-width:50%;min-width:0}.rds-e-accordion-title_label[data-v-c327a8d6]{font:.875rem/1.25rem RepsolSoleTextRegular;color:#001e37;display:inline-block;margin-right:.5rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.rds-e-accordion-panel[data-v-c327a8d6]{max-height:0;overflow:hidden;padding:0rem .75rem;transition:max-height .2s ease-out}.rds-e-accordion-panel--open[data-v-c327a8d6]{display:block}.rds-e-accordion-panel .rds-e-accordion-panel_content[data-v-c327a8d6]{color:#43637d;padding-bottom:.5rem}.rds-e-accordion-panel .rds-e-accordion-panel_content[data-v-c327a8d6]:after{content:"";display:block;height:.75rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-783ca3f3]: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-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-badge-wrapper[data-v-783ca3f3]{display:inline-flex;position:relative}.rds-e-badge-wrapper--standalone .rds-e-badge[data-v-783ca3f3]{margin:0;position:static;transform:none}.rds-e-badge[data-v-783ca3f3]{align-items:center;border:1px solid rgba(255,255,255,.5019607843);border-radius:50%;box-sizing:border-box;display:inline-flex;justify-content:center;line-height:1;position:absolute;right:0;top:0;transform:translate(60%,-50%)}.rds-e-badge--numeric[data-v-783ca3f3]{background:#e50052;height:16px;min-width:16px;width:auto}.rds-e-badge--digits-1.rds-e-badge--numeric[data-v-783ca3f3]{padding:0;width:16px}.rds-e-badge--digits-2.rds-e-badge--numeric[data-v-783ca3f3],.rds-e-badge--digits-3plus.rds-e-badge--numeric[data-v-783ca3f3]{border-radius:8px;padding:0 6px}.rds-e-badge--dot[data-v-783ca3f3]{background:#e50052;height:7px;transform:translate(50%,-40%);width:7px}.rds-e-badge__content[data-v-783ca3f3]{font:.75rem/1rem RepsolSoleTextRegular;color:#fff;display:inline-block;font-variant-numeric:tabular-nums;padding:0 1px;text-align:center;white-space:nowrap}.rds-e-badge__content--overflow[data-v-783ca3f3]{letter-spacing:-.25px}.rds-e-badge--color-success[data-v-783ca3f3]{background:#28803d;border-color:#28803d}.rds-e-badge--color-success .rds-e-badge__content[data-v-783ca3f3]{color:#fff}.rds-e-badge--color-error[data-v-783ca3f3]{background:#de1c2e;border-color:#de1c2e}.rds-e-badge--color-error .rds-e-badge__content[data-v-783ca3f3]{color:#fff}.rds-e-badge--color-warning[data-v-783ca3f3]{background:#f59600;border-color:#f59600}.rds-e-badge--color-warning .rds-e-badge__content[data-v-783ca3f3]{color:#001e37}.rds-e-badge--color-information[data-v-783ca3f3]{background:#009bbe;border-color:#009bbe}.rds-e-badge--color-information .rds-e-badge__content[data-v-783ca3f3]{color:#fff}.rds-e-badge--content-high .rds-e-badge__content[data-v-783ca3f3]{color:#001e37}
|