energy-components 1.6.0 → 1.7.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 (47) hide show
  1. package/dist/components/accordion.es.js +1 -1
  2. package/dist/components/button.es.js +17 -17
  3. package/dist/components/checkbox.es.js +1 -1
  4. package/dist/components/dropdown.es.js +1 -1
  5. package/dist/components/filterChip.es.js +1 -1
  6. package/dist/components/{icon-svg-DGp2yHJn.js → icon-svg-BmDOQ0kL.js} +42 -26
  7. package/dist/components/iconList.es.js +1 -1
  8. package/dist/components/iconSvg.es.js +1 -1
  9. package/dist/components/index.es.js +1 -1
  10. package/dist/components/infoBox.es.js +1 -1
  11. package/dist/components/link.es.js +1 -1
  12. package/dist/components/modal.es.js +1 -1
  13. package/dist/components/pagination.es.js +32 -21
  14. package/dist/components/persistentToast.es.js +1 -1
  15. package/dist/components/quantitySelector.es.js +1 -1
  16. package/dist/components/radioButton.es.js +1 -1
  17. package/dist/components/selectionChip.es.js +1 -1
  18. package/dist/components/sidedrawer.es.js +41 -29
  19. package/dist/components/style/button.css +1 -1
  20. package/dist/components/style/dropdown.css +1 -1
  21. package/dist/components/style/icon-svg.css +1 -1
  22. package/dist/components/style/pagination.css +1 -1
  23. package/dist/components/style/sidedrawer.css +1 -1
  24. package/dist/components/style/tabBar.css +1 -1
  25. package/dist/components/style/tablepaginatedcomponent.css +1 -1
  26. package/dist/components/style/tooltip.css +1 -1
  27. package/dist/components/switch.es.js +1 -1
  28. package/dist/components/tabBar.es.js +5 -3
  29. package/dist/components/tablepaginatedcomponent.es.js +46 -44
  30. package/dist/components/tableslotedcomponent.es.js +1 -1
  31. package/dist/components/tag.es.js +1 -1
  32. package/dist/components/textArea.es.js +1 -1
  33. package/dist/components/textField.es.js +1 -1
  34. package/dist/components/tooltip.es.js +179 -175
  35. package/dist/energy-components.es.js +2885 -2838
  36. package/dist/energy-components.umd.js +1 -1
  37. package/dist/style.css +1 -1
  38. package/dist/types/src/components/buttons/button/button.vue.d.ts +2 -2
  39. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +19 -0
  40. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -2
  41. package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +1 -1
  42. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +2 -2
  43. package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +15 -0
  44. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +17 -0
  45. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +1 -0
  46. package/dist/types/tsconfig.tsbuildinfo +1 -1
  47. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as R, toRefs as B, ref as l, watch as D, nextTick as N, inject as _, onMounted as V, onBeforeUnmount as q, openBlock as v, createElementBlock as w, createElementVNode as n, toDisplayString as h, unref as d, createBlock as H, mergeProps as P, createCommentVNode as T, createVNode as j, normalizeClass as y, renderSlot as A, createTextVNode as E } from "vue";
2
- import { R as I } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as I } from "./icon-svg-BmDOQ0kL.js";
3
3
  import O from "./tag.es.js";
4
4
  import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/accordion.css';const b = { class: "rds-e-accordion" }, z = { class: "rds-e-accordion-title" }, M = { class: "rds-e-accordion-title_right" }, U = /* @__PURE__ */ R({
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, toRefs as S, computed as l, openBlock as v, createElementBlock as x, unref as s, normalizeClass as m, createBlock as I, createCommentVNode as k, createElementVNode as $, renderSlot as C, createTextVNode as N, toDisplayString as R } from "vue";
2
- import { R as V } from "./icon-svg-DGp2yHJn.js";
1
+ import { defineComponent as B, toRefs as S, computed as l, openBlock as b, createElementBlock as x, unref as o, normalizeClass as m, createBlock as I, createCommentVNode as k, createElementVNode as $, renderSlot as C, createTextVNode as N, toDisplayString as R } from "vue";
2
+ import { R as V } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/button.css';const E = ["type", "disabled"], L = { class: "rds-e-btn__text" }, w = /* @__PURE__ */ B({
5
5
  __name: "button",
@@ -42,15 +42,15 @@ import './style/button.css';const E = ["type", "disabled"], L = { class: "rds-e-
42
42
  /**
43
43
  * <span>Variante del botón</span>
44
44
  * <br>
45
- *`['primary', 'secondary', 'ghost']`
45
+ *`['primary', 'secondary', 'ghost', 'commercial']`
46
46
  */
47
47
  variant: {
48
48
  type: String,
49
49
  default: "primary",
50
50
  validator(e) {
51
- const t = ["primary", "secondary", "ghost"].includes(e);
51
+ const t = ["primary", "secondary", "ghost", "commercial"].includes(e);
52
52
  return t || console.info(
53
- `La variante ${e} no es válida. Las variantes válidas son: primary, secondary, ghost`
53
+ `La variante ${e} no es válida. Las variantes válidas son: primary, secondary, ghost, commercial`
54
54
  ), t;
55
55
  }
56
56
  },
@@ -99,7 +99,7 @@ import './style/button.css';const E = ["type", "disabled"], L = { class: "rds-e-
99
99
  },
100
100
  setup(e) {
101
101
  const t = e, {
102
- text: o,
102
+ text: s,
103
103
  icon: n,
104
104
  type: r,
105
105
  variant: i,
@@ -109,35 +109,35 @@ import './style/button.css';const E = ["type", "disabled"], L = { class: "rds-e-
109
109
  inverse: d,
110
110
  revertIcon: _,
111
111
  loading: p
112
- } = S(t), c = l(() => p.value ? "loading" : n != null && n.value ? n == null ? void 0 : n.value : ""), h = l(() => r.value && ["button", "submit", "reset"].includes(r.value) ? r.value : "button"), b = l(() => ["primary", "secondary", "ghost"].includes(i.value) ? i.value : "primary"), g = l(() => {
112
+ } = S(t), c = l(() => p.value ? "loading" : n != null && n.value ? n == null ? void 0 : n.value : ""), h = l(() => r.value && ["button", "submit", "reset"].includes(r.value) ? r.value : "button"), v = l(() => ["primary", "secondary", "ghost", "commercial"].includes(i.value) ? i.value : "primary"), g = l(() => {
113
113
  const a = ["rds-e-btn"];
114
- return i.value && a.push(`rds-e-btn--${b.value}`), d.value && a.push(`rds-e-btn--${b.value}-inverse`), c.value && a.push(
115
- o != null && o.value ? "rds-e-btn--with-icon" : "rds-e-btn--icon"
114
+ return i.value && a.push(`rds-e-btn--${v.value}`), d.value && a.push(`rds-e-btn--${v.value}-inverse`), c.value && a.push(
115
+ s != null && s.value ? "rds-e-btn--with-icon" : "rds-e-btn--icon"
116
116
  ), f.value && a.push("rds-e-btn--small"), _.value && a.push("rds-e-btn--revert"), u.value && a.push("rds-e-style-state-disabled"), p.value && a.push("rds-e-btn--loading"), y.value && a.push("rds-e-btn--mobile-width"), a.join(" ");
117
117
  });
118
- return (a, W) => (v(), x("button", {
118
+ return (a, W) => (b(), x("button", {
119
119
  type: h.value,
120
- disabled: s(u),
120
+ disabled: o(u),
121
121
  class: m(g.value)
122
122
  }, [
123
- c.value ? (v(), I(V, {
123
+ c.value ? (b(), I(V, {
124
124
  key: 0,
125
125
  name: c.value,
126
- small: s(f),
126
+ small: o(f),
127
127
  class: m(["rds-e-btn__icon", [
128
- s(d) ? `rds-e-btn__icon--${s(d)}` : "",
129
- s(u) ? "rds-e-btn__icon--disabled" : ""
128
+ o(d) ? `rds-e-btn__icon--${o(d)}` : "",
129
+ o(u) ? "rds-e-btn__icon--disabled" : ""
130
130
  ]]),
131
131
  "aria-hidden": "true"
132
132
  }, null, 8, ["name", "small", "class"])) : k("", !0),
133
133
  $("span", L, [
134
134
  C(a.$slots, "default", {}, () => [
135
- N(R(s(o)), 1)
135
+ N(R(o(s)), 1)
136
136
  ], !0)
137
137
  ])
138
138
  ], 10, E));
139
139
  }
140
- }), T = /* @__PURE__ */ D(w, [["__scopeId", "data-v-a17b5b56"]]);
140
+ }), T = /* @__PURE__ */ D(w, [["__scopeId", "data-v-ad01f4e1"]]);
141
141
  export {
142
142
  T as default
143
143
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as d, watch as v, onMounted as y, onBeforeUnmount as w, openBlock as b, createElementBlock as g, normalizeClass as o, createElementVNode as n, renderSlot as S, createTextVNode as B, toDisplayString as C, createBlock as E, createCommentVNode as L } from "vue";
2
- import { R as V } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as V } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/checkbox.css';const D = ["id", "checked", "aria-label", "required", "disabled"], N = ["for"], q = /* @__PURE__ */ x({
5
5
  __name: "checkbox",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ae, mergeModels as K, toRefs as de, useModel as ue, ref as S, computed as p, provide as T, onMounted as ie, nextTick as F, onBeforeUnmount as ce, openBlock as f, createElementBlock as y, createVNode as V, mergeProps as H, unref as a, withModifiers as r, createSlots as P, withCtx as d, normalizeClass as pe, renderSlot as m, createElementVNode as i, createBlock as W, createCommentVNode as D, Fragment as fe, toDisplayString as M } from "vue";
2
2
  import me from "./multiselect.es.js";
3
3
  import z from "./textField.es.js";
4
- import { R as ve } from "./icon-svg-DGp2yHJn.js";
4
+ import { R as ve } from "./icon-svg-BmDOQ0kL.js";
5
5
  import be from "./checkbox.es.js";
6
6
  import { _ as ye } from "./radio-group.vue_vue_type_script_setup_true_lang-B-kg-575.js";
7
7
  import ge from "./radioButton.es.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, ref as g, computed as y, openBlock as l, createElementBlock as c, normalizeClass as b, createElementVNode as s, createBlock as a, createCommentVNode as r, toDisplayString as n } from "vue";
2
- import { R as o } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as o } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/filterChip.css';const k = ["disabled"], C = { class: "rds-e-filter-chip__icon-container" }, I = {
5
5
  key: 1,
@@ -1,6 +1,6 @@
1
- import { defineComponent as a, computed as v, openBlock as l, createElementBlock as t, normalizeClass as i, normalizeStyle as d, Fragment as M, renderList as z } from "vue";
2
- import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import './style/icon-svg.css';const n = "selection", I = [
1
+ import { defineComponent as M, computed as o, openBlock as t, createElementBlock as r, normalizeClass as h, normalizeStyle as z, Fragment as p, renderList as n } from "vue";
2
+ import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
+ import './style/icon-svg.css';const u = "selection", g = [
4
4
  {
5
5
  icon: {
6
6
  paths: [
@@ -10757,9 +10757,9 @@ import './style/icon-svg.css';const n = "selection", I = [
10757
10757
  setId: 2,
10758
10758
  iconIdx: 332
10759
10759
  }
10760
- ], g = 1024, u = {
10760
+ ], f = 1024, x = {
10761
10761
  name: "rds-e-icon-font"
10762
- }, f = {
10762
+ }, m = {
10763
10763
  showGlyphs: !0,
10764
10764
  showCodes: !0,
10765
10765
  showQuickUse: !0,
@@ -10804,13 +10804,13 @@ import './style/icon-svg.css';const n = "selection", I = [
10804
10804
  gridSize: 16,
10805
10805
  showGrid: !1,
10806
10806
  showLiga: !1
10807
- }, x = {
10808
- IcoMoonType: n,
10809
- icons: I,
10810
- height: g,
10811
- metadata: u,
10812
- preferences: f
10813
- }, o = x.icons.map(
10807
+ }, S = {
10808
+ IcoMoonType: u,
10809
+ icons: g,
10810
+ height: f,
10811
+ metadata: x,
10812
+ preferences: m
10813
+ }, a = S.icons.map(
10814
10814
  (c) => {
10815
10815
  var s;
10816
10816
  return {
@@ -10819,7 +10819,7 @@ import './style/icon-svg.css';const n = "selection", I = [
10819
10819
  codes: ((s = c.properties) == null ? void 0 : s.codes) || []
10820
10820
  };
10821
10821
  }
10822
- ), k = o.sort((c, s) => c.name.localeCompare(s.name)).map((c) => c.name), m = o.reduce((c, s) => (c[s.name] = s, c), {}), S = /* @__PURE__ */ a({
10822
+ ), w = a.sort((c, s) => c.name.localeCompare(s.name)).map((c) => c.name), _ = a.reduce((c, s) => (c[s.name] = s, c), {}), b = /* @__PURE__ */ M({
10823
10823
  __name: "icon-svg",
10824
10824
  props: {
10825
10825
  /**
@@ -10852,31 +10852,47 @@ import './style/icon-svg.css';const n = "selection", I = [
10852
10852
  color: {
10853
10853
  type: String,
10854
10854
  default: ""
10855
+ },
10856
+ /**
10857
+ * <span>Tamaño personalizado del icono en píxeles.</span>
10858
+ * <br>
10859
+ * Ejemplo: 64 creará un icono de 64x64px
10860
+ */
10861
+ size: {
10862
+ type: [Number, String],
10863
+ default: null
10855
10864
  }
10856
10865
  },
10857
10866
  setup(c) {
10858
- const s = c, h = v(() => {
10867
+ const s = c, v = o(() => {
10868
+ const e = {};
10869
+ if (s.color && (e.color = s.color), s.size) {
10870
+ const l = typeof s.size == "number" ? `${s.size}px` : s.size;
10871
+ e.fontSize = l, e.width = l, e.height = l;
10872
+ }
10873
+ return e;
10874
+ }), d = o(() => {
10859
10875
  var e;
10860
- return ((e = m[s.name]) == null ? void 0 : e.codes.length) || 0;
10876
+ return ((e = _[s.name]) == null ? void 0 : e.codes.length) || 0;
10861
10877
  });
10862
- return (e, _) => (l(), t("span", {
10878
+ return (e, l) => (t(), r("span", {
10863
10879
  "aria-hidden": "true",
10864
- class: i(["icon rds-e-icon", [
10880
+ class: h(["icon rds-e-icon", [
10865
10881
  `rds-e-icon-${c.name}`,
10866
10882
  c.modifier && `icon--${c.modifier}`,
10867
- c.small && "icon--small"
10883
+ c.small && !c.size && "icon--small"
10868
10884
  ]]),
10869
- style: d({ color: c.color })
10885
+ style: z(v.value)
10870
10886
  }, [
10871
- (l(!0), t(M, null, z(h.value, (r) => (l(), t("span", {
10872
- key: `name-layer-${r}`,
10873
- class: i(`path${r}`)
10887
+ (t(!0), r(p, null, n(d.value, (i) => (t(), r("span", {
10888
+ key: `name-layer-${i}`,
10889
+ class: h(`path${i}`)
10874
10890
  }, null, 2))), 128))
10875
10891
  ], 6));
10876
10892
  }
10877
- }), w = /* @__PURE__ */ p(S, [["__scopeId", "data-v-426142e9"]]);
10893
+ }), C = /* @__PURE__ */ I(b, [["__scopeId", "data-v-690c53ee"]]);
10878
10894
  export {
10879
- w as R,
10880
- o as i,
10881
- k as s
10895
+ C as R,
10896
+ a as i,
10897
+ w as s
10882
10898
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, ref as a, computed as v, openBlock as s, createElementBlock as i, Fragment as u, withDirectives as f, createElementVNode as r, vModelText as C, renderList as L, normalizeClass as x, createVNode as g, toDisplayString as h } from "vue";
2
- import { i as m, R as k } from "./icon-svg-DGp2yHJn.js";
2
+ import { i as m, R as k } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/iconList.css';const y = { class: "rds-e-icon-list" }, D = ["onClick"], N = /* @__PURE__ */ p({
5
5
  __name: "icon-list",
@@ -1,4 +1,4 @@
1
- import { R as a } from "./icon-svg-DGp2yHJn.js";
1
+ import { R as a } from "./icon-svg-BmDOQ0kL.js";
2
2
  import "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  export {
4
4
  a as default
@@ -1,4 +1,4 @@
1
- import { R as i } from "./icon-svg-DGp2yHJn.js";
1
+ import { R as i } from "./icon-svg-BmDOQ0kL.js";
2
2
  import a from "./button.es.js";
3
3
  import e from "./floatingActionButton.es.js";
4
4
  import m from "./actionButton.es.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as k, ref as u, toRefs as h, computed as $, watch as w, nextTick as S, openBlock as t, createElementBlock as s, normalizeClass as m, createElementVNode as a, createVNode as b, createCommentVNode as o, toDisplayString as r, renderSlot as _ } from "vue";
2
- import { R as v } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as v } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/infoBox.css';const q = { class: "alert" }, B = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, toRefs as E, computed as f, openBlock as r, createBlock as d, resolveDynamicComponent as L, unref as e, normalizeClass as m, withCtx as N, mergeProps as _, createCommentVNode as i, createElementBlock as S, renderSlot as b, createTextVNode as B, toDisplayString as I } from "vue";
2
- import { R as k } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as k } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/link.css';const $ = /* @__PURE__ */ j({
5
5
  __name: "link",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as R, computed as k, openBlock as d, createBlock as u, unref as a, withCtx as p, createVNode as v, normalizeStyle as b, withModifiers as g, createElementVNode as l, renderSlot as i, createCommentVNode as n, createElementBlock as c } from "vue";
2
2
  import w from "./overlay.es.js";
3
3
  import S from "./card.es.js";
4
- import { R as q } from "./icon-svg-DGp2yHJn.js";
4
+ import { R as q } from "./icon-svg-BmDOQ0kL.js";
5
5
  import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import './style/modal.css';const $ = { class: "rds-e-modal__container" }, B = { class: "rds-e-modal__header" }, O = {
7
7
  key: 0,
@@ -1,10 +1,10 @@
1
- import { defineComponent as j, toRefs as F, ref as V, computed as u, openBlock as o, createElementBlock as g, createElementVNode as f, createBlock as C, createCommentVNode as h, createVNode as P, Fragment as A, renderList as T, toDisplayString as k, unref as U } from "vue";
1
+ import { defineComponent as j, toRefs as V, ref as A, computed as u, onBeforeMount as T, openBlock as o, createElementBlock as g, createElementVNode as f, createBlock as C, createCommentVNode as h, createVNode as P, Fragment as U, renderList as z, toDisplayString as k, unref as G } from "vue";
2
2
  import c from "./actionButton.es.js";
3
- import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import './style/pagination.css';const G = { class: "rds-e-pagination-container rds-flex" }, H = { class: "rds-e-pagination" }, J = {
3
+ import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import './style/pagination.css';const J = { class: "rds-e-pagination-container rds-flex" }, K = { class: "rds-e-pagination" }, O = {
5
5
  key: 0,
6
6
  class: "rds-e-pagination-leyend"
7
- }, K = /* @__PURE__ */ j({
7
+ }, Q = /* @__PURE__ */ j({
8
8
  __name: "pagination",
9
9
  props: {
10
10
  /**
@@ -62,20 +62,29 @@ import './style/pagination.css';const G = { class: "rds-e-pagination-container r
62
62
  selected: {
63
63
  type: Boolean,
64
64
  default: !1
65
+ },
66
+ /**
67
+ * Desactiva el evento por defecto de la paginación al cargar el componente.
68
+ * Si se desactiva, la carga de datos debe manejarse manualmente la primera vez que se carga el componente.
69
+ */
70
+ disableFirstLoad: {
71
+ type: Boolean,
72
+ default: !1
65
73
  }
66
74
  },
67
75
  emits: ["pageChanged"],
68
76
  setup(p, { expose: N, emit: w }) {
69
- const m = p, M = w, {
77
+ const m = p, L = w, {
70
78
  itemsPerPage: v,
71
79
  totalItems: e,
72
80
  totalPages: r,
73
- hideLeyend: S
74
- } = F(m), l = V(m.currentPage), d = u(() => typeof (e == null ? void 0 : e.value) == "number" && e.value >= 0), b = u(() => d.value && typeof (e == null ? void 0 : e.value) == "number" ? e.value <= 0 || v.value <= 0 ? 1 : Math.ceil(e.value / v.value) : typeof (r == null ? void 0 : r.value) == "number" && r.value > 0 ? r.value : (typeof (r == null ? void 0 : r.value) > "u" && typeof (e == null ? void 0 : e.value) > "u" && console.warn("[RDSPagination] Props `totalItems` o `totalPages` son requeridas."), 1)), $ = u(() => d.value && !S.value && typeof (e == null ? void 0 : e.value) == "number" && e.value > 0), L = u(() => !d.value || typeof (e == null ? void 0 : e.value) != "number" || e.value === 0 ? 0 : (l.value - 1) * v.value + 1), q = u(() => {
81
+ hideLeyend: M,
82
+ disableFirstLoad: S
83
+ } = V(m), l = A(m.currentPage), d = u(() => typeof (e == null ? void 0 : e.value) == "number" && e.value >= 0), b = u(() => d.value && typeof (e == null ? void 0 : e.value) == "number" ? e.value <= 0 || v.value <= 0 ? 1 : Math.ceil(e.value / v.value) : typeof (r == null ? void 0 : r.value) == "number" && r.value > 0 ? r.value : (typeof (r == null ? void 0 : r.value) > "u" && typeof (e == null ? void 0 : e.value) > "u" && console.warn("[RDSPagination] Props `totalItems` o `totalPages` son requeridas."), 1)), $ = u(() => d.value && !M.value && typeof (e == null ? void 0 : e.value) == "number" && e.value > 0), F = u(() => !d.value || typeof (e == null ? void 0 : e.value) != "number" || e.value === 0 ? 0 : (l.value - 1) * v.value + 1), q = u(() => {
75
84
  if (!d.value || typeof (e == null ? void 0 : e.value) != "number") return 0;
76
85
  const t = l.value * v.value;
77
86
  return Math.min(t, e.value);
78
- }), _ = u(() => l.value === 1), x = u(() => l.value === b.value), D = u(() => {
87
+ }), _ = u(() => l.value === 1), B = u(() => l.value === b.value), D = u(() => {
79
88
  const t = [], a = b.value, n = l.value;
80
89
  if (a <= 3)
81
90
  for (let i = 1; i <= a; i++)
@@ -105,26 +114,28 @@ import './style/pagination.css';const G = { class: "rds-e-pagination-container r
105
114
  }, s = (t, a = !1) => {
106
115
  if (E(t) || a) {
107
116
  const i = v.value, y = (l.value - 1) * i;
108
- let B = y + i;
109
- d.value && typeof (e == null ? void 0 : e.value) == "number" && (B = Math.min(y + i, e.value));
117
+ let x = y + i;
118
+ d.value && typeof (e == null ? void 0 : e.value) == "number" && (x = Math.min(y + i, e.value));
110
119
  const R = {
111
120
  ...t,
112
121
  page: l.value,
113
122
  offset: y,
114
123
  limit: i,
115
- end: B,
124
+ end: x,
116
125
  reset: a || void 0
117
126
  };
118
- M("pageChanged", R);
127
+ L("pageChanged", R);
119
128
  }
120
129
  };
121
- return N({
130
+ return T(() => {
131
+ S.value || s({ navigator: "first", page: 1 });
132
+ }), N({
122
133
  /** Resetea la paginación a la primera página y emite el evento pageChanged. */
123
134
  resetPagination: () => {
124
135
  l.value !== 1 && s({ page: 1 }, !0);
125
136
  }
126
- }), (t, a) => (o(), g("div", G, [
127
- f("ul", H, [
137
+ }), (t, a) => (o(), g("div", J, [
138
+ f("ul", K, [
128
139
  f("li", null, [
129
140
  p.jumpTo ? (o(), C(c, {
130
141
  key: 0,
@@ -148,7 +159,7 @@ import './style/pagination.css';const G = { class: "rds-e-pagination-container r
148
159
  onClick: a[1] || (a[1] = (n) => s({ navigator: "prev" }))
149
160
  }, null, 8, ["disabled"])
150
161
  ]),
151
- (o(!0), g(A, null, T(D.value, (n) => (o(), g("li", { key: n }, [
162
+ (o(!0), g(U, null, z(D.value, (n) => (o(), g("li", { key: n }, [
152
163
  P(c, {
153
164
  class: "rds-e-pagination__item",
154
165
  variant: n === l.value && m.selected ? "primary" : "ghost",
@@ -166,7 +177,7 @@ import './style/pagination.css';const G = { class: "rds-e-pagination-container r
166
177
  icon: "arrow_right",
167
178
  small: "",
168
179
  "aria-label": "next page",
169
- disabled: x.value,
180
+ disabled: B.value,
170
181
  onClick: a[2] || (a[2] = (n) => s({ navigator: "next" }))
171
182
  }, null, 8, ["disabled"])
172
183
  ]),
@@ -178,15 +189,15 @@ import './style/pagination.css';const G = { class: "rds-e-pagination-container r
178
189
  small: "",
179
190
  icon: "last",
180
191
  "aria-label": "last page",
181
- disabled: x.value,
192
+ disabled: B.value,
182
193
  onClick: a[3] || (a[3] = (n) => s({ navigator: "last" }))
183
194
  }, null, 8, ["disabled"])) : h("", !0)
184
195
  ])
185
196
  ]),
186
- $.value ? (o(), g("p", J, " Mostrando resultados " + k(L.value) + "-" + k(q.value) + " de " + k(U(e)), 1)) : h("", !0)
197
+ $.value ? (o(), g("p", O, " Mostrando resultados " + k(F.value) + "-" + k(q.value) + " de " + k(G(e)), 1)) : h("", !0)
187
198
  ]));
188
199
  }
189
- }), X = /* @__PURE__ */ z(K, [["__scopeId", "data-v-f56e8bc0"]]);
200
+ }), Z = /* @__PURE__ */ H(Q, [["__scopeId", "data-v-78eeeb8a"]]);
190
201
  export {
191
- X as default
202
+ Z as default
192
203
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, toRefs as y, computed as g, openBlock as t, createElementBlock as s, normalizeClass as h, createElementVNode as i, createVNode as a, createCommentVNode as o, toDisplayString as c, renderSlot as l } from "vue";
2
- import { R as d } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as d } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/persistentToast.css';const $ = { class: "alert" }, S = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, mergeModels as c, useModel as w, ref as i, openBlock as B, createElementBlock as I, normalizeClass as r, createElementVNode as o, createVNode as m, withDirectives as f, vShow as v, vModelText as b } from "vue";
2
- import { R as y } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as y } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/quantitySelector.css';const _ = ["disabled"], M = ["disabled"], S = ["disabled"], x = ["disabled"], R = /* @__PURE__ */ V({
5
5
  __name: "quantity-selector",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as B, ref as f, computed as m, inject as i, onMounted as _, onBeforeUnmount as D, openBlock as r, createElementBlock as b, normalizeClass as n, createElementVNode as v, unref as E, toDisplayString as N, createCommentVNode as w, createBlock as x } from "vue";
2
- import { R as C } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as C } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { g as G } from "./getInstance-GhoEcxLF.js";
4
4
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/radioButton.css';const L = ["id", "value", "name", "disabled", "checked"], $ = ["for"], j = /* @__PURE__ */ B({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, ref as h, computed as s, openBlock as p, createElementBlock as u, normalizeClass as f, createVNode as g, createElementVNode as m, toDisplayString as _ } from "vue";
2
- import { R as b } from "./icon-svg-DGp2yHJn.js";
2
+ import { R as b } from "./icon-svg-BmDOQ0kL.js";
3
3
  import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/selectionChip.css';const C = ["disabled"], k = { class: "rds-e-selection-chip__text" }, S = /* @__PURE__ */ r({
5
5
  __name: "selection-chip",
@@ -1,10 +1,10 @@
1
- import { defineComponent as b, toRefs as k, ref as o, computed as l, watch as B, openBlock as n, createElementBlock as c, normalizeClass as u, createElementVNode as d, normalizeStyle as $, toDisplayString as x, createCommentVNode as w, createBlock as R, renderSlot as v } from "vue";
2
- import { R as z } from "./icon-svg-DGp2yHJn.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 = {
1
+ import { defineComponent as B, toRefs as $, ref as i, computed as l, watch as x, openBlock as n, createElementBlock as c, normalizeClass as u, createElementVNode as a, normalizeStyle as O, withModifiers as R, toDisplayString as z, createCommentVNode as f, createBlock as D, renderSlot as v } from "vue";
2
+ import { R as E } from "./icon-svg-BmDOQ0kL.js";
3
+ import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import './style/sidedrawer.css';const I = { class: "rds-e-sidedrawer__header rds-mb-24" }, N = {
5
5
  key: 0,
6
6
  class: "rds-headline-04 rds-content-high"
7
- }, I = { class: "rds-e-sidedrawer__content-inner" }, N = { class: "rds-e-sidedrawer__footer rds-pt-12" }, O = /* @__PURE__ */ b({
7
+ }, T = { class: "rds-e-sidedrawer__content-inner" }, V = { class: "rds-e-sidedrawer__footer rds-pt-12" }, W = /* @__PURE__ */ B({
8
8
  __name: "sidedrawer",
9
9
  props: {
10
10
  /**
@@ -34,27 +34,36 @@ import './style/sidedrawer.css';const E = { class: "rds-e-sidedrawer__header rds
34
34
  containerWidth: {
35
35
  type: String,
36
36
  default: ""
37
+ },
38
+ /**
39
+ * <span>Indica si el sidedrawer permanece abierto al hacer click fuera de él</span>
40
+ */
41
+ persistent: {
42
+ type: Boolean,
43
+ default: !1
37
44
  }
38
45
  },
39
46
  emits: ["sidedrawerChange"],
40
- setup(t, { expose: f, emit: m }) {
41
- const _ = t, h = m, { blurOverlay: p } = k(_), y = o(), e = o(!0), a = o(!0), C = l(() => ({
47
+ setup(t, { expose: w, emit: m }) {
48
+ const h = t, p = m, { blurOverlay: _, persistent: y } = $(h), C = i(), e = i(!0), o = i(!0), g = l(() => ({
42
49
  "rds-e-sidedrawer--hide": e.value,
43
50
  "rds-e-sidedrawer--show": !e.value,
44
- "rds-e-sidedrawer--blur-overlay": p.value
51
+ "rds-e-sidedrawer--blur-overlay": _.value
45
52
  })), S = l(() => ({
46
53
  "rds-e-sidedrawer__content--hide": e.value,
47
54
  "rds-e-sidedrawer__content--show": !e.value
48
- })), g = () => {
49
- h("sidedrawerChange", e.value);
55
+ })), k = () => {
56
+ p("sidedrawerChange", e.value);
50
57
  }, s = (r) => {
51
- e.value = r, g();
58
+ e.value = r, k();
59
+ }, b = (r) => {
60
+ r.target === r.currentTarget && !y.value && !e.value && s(!0);
52
61
  };
53
- return B(e, (r) => {
62
+ return x(e, (r) => {
54
63
  r ? setTimeout(() => {
55
- a.value = !0;
56
- }, 500) : a.value = !1;
57
- }), f({
64
+ o.value = !0;
65
+ }, 500) : o.value = !1;
66
+ }), w({
58
67
  /**
59
68
  * { boolean } Muestra el estado actual del sidebar.
60
69
  */
@@ -73,34 +82,37 @@ import './style/sidedrawer.css';const E = { class: "rds-e-sidedrawer__header rds
73
82
  toogleSidedrawer: () => {
74
83
  s(!e.value);
75
84
  }
76
- }), (r, i) => (n(), c("div", {
77
- class: u(["rds-e-sidedrawer", [C.value, { "rds-e-sidedrawer--hidden": a.value }]])
85
+ }), (r, d) => (n(), c("div", {
86
+ class: u(["rds-e-sidedrawer", [g.value, { "rds-e-sidedrawer--hidden": o.value }]]),
87
+ onClick: b
78
88
  }, [
79
- d("div", {
89
+ a("div", {
80
90
  ref_key: "sidebar",
81
- ref: y,
91
+ ref: C,
82
92
  class: u(["rds-e-sidedrawer__content rds-pa-24", S.value]),
83
- style: $({ "--container-width": `${t.containerWidth}px` })
93
+ style: O({ "--container-width": `${t.containerWidth}px` }),
94
+ onClick: d[1] || (d[1] = R(() => {
95
+ }, ["stop"]))
84
96
  }, [
85
- d("div", E, [
86
- t.title ? (n(), c("h2", H, x(t.title), 1)) : w("", !0),
87
- t.iconClose ? (n(), R(z, {
97
+ a("div", I, [
98
+ t.title ? (n(), c("h2", N, z(t.title), 1)) : f("", !0),
99
+ t.iconClose ? (n(), D(E, {
88
100
  key: 1,
89
101
  name: "close",
90
102
  class: "rds-e-sidedrawer__icon",
91
- onClick: i[0] || (i[0] = (V) => s(!0))
92
- })) : w("", !0)
103
+ onClick: d[0] || (d[0] = (M) => s(!0))
104
+ })) : f("", !0)
93
105
  ]),
94
- d("div", I, [
106
+ a("div", T, [
95
107
  v(r.$slots, "content", {}, void 0, !0)
96
108
  ]),
97
- d("div", N, [
109
+ a("div", V, [
98
110
  v(r.$slots, "footer", {}, void 0, !0)
99
111
  ])
100
112
  ], 6)
101
113
  ], 2));
102
114
  }
103
- }), q = /* @__PURE__ */ D(O, [["__scopeId", "data-v-f594c2ce"]]);
115
+ }), F = /* @__PURE__ */ H(W, [["__scopeId", "data-v-e877b46a"]]);
104
116
  export {
105
- q as default
117
+ F as default
106
118
  };
@@ -1 +1 @@
1
- [data-v-a17b5b56]: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-btn[data-v-a17b5b56]{font:1rem/1.5rem RepsolSoleTextRegular;align-items:center;border-radius:999px;cursor:pointer;display:inline-flex;height:3rem;justify-content:center;max-width:21.4375rem;outline:0;padding:.5rem 1.5rem;overflow:hidden;position:relative}@media (min-width: 1280px){.rds-e-btn[data-v-a17b5b56]{height:3rem;min-width:12.5rem;padding:.75rem 2rem;width:auto}}.rds-e-btn[data-v-a17b5b56]:disabled{pointer-events:none}.rds-e-btn span.icon[data-v-a17b5b56]{color:inherit}.rds-e-btn[data-v-a17b5b56]:before{border-radius:50%;content:"";left:-50%;min-height:300px;position:absolute;top:100%;transition:all .25s ease-in-out;width:200%;z-index:0}.rds-e-btn[data-v-a17b5b56]:focus-visible{box-shadow:inset 0 0 0 2px #00badb}.rds-e-btn[data-v-a17b5b56]:hover:before{top:-50%}.rds-e-btn__icon[data-v-a17b5b56]{text-indent:0;z-index:0}.rds-e-btn__icon--small[data-v-a17b5b56],.rds-e-btn__icon--noSize[data-v-a17b5b56]{font-size:1rem}.rds-e-btn__icon--primary[data-v-a17b5b56],.rds-e-btn__icon--secondary-inverse[data-v-a17b5b56],.rds-e-btn__icon--tertiary-inverse[data-v-a17b5b56]{color:#fff}.rds-e-btn__icon--disabled[data-v-a17b5b56]{color:#717b84}.rds-e-btn__icon--primary-inverse[data-v-a17b5b56]{color:#005870}.rds-e-btn__icon--inverse-inverse[data-v-a17b5b56]{color:#fff}.rds-e-btn__text[data-v-a17b5b56]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:0}.rds-e-btn--mobile-width[data-v-a17b5b56]{min-width:100%}@media (min-width: 720px){.rds-e-btn--mobile-width[data-v-a17b5b56]{min-width:unset}}.rds-e-btn--revert[data-v-a17b5b56]{flex-direction:row-reverse}.rds-e-btn--revert .icon[data-v-a17b5b56]{margin-left:.75rem;margin-right:0!important}.rds-e-btn--no-size[data-v-a17b5b56]{height:auto;margin:0;padding:0;width:auto}.rds-e-btn--loading[data-v-a17b5b56]{pointer-events:none}.rds-e-btn--loading .icon[data-v-a17b5b56]{align-content:center;align-items:center;animation:spin-a17b5b56 2s linear infinite;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center}.rds-e-btn--loading .icon[data-v-a17b5b56]:before{display:block;margin:0;padding:0}.rds-e-btn--fluid[data-v-a17b5b56]{width:auto}@media (min-width: 1280px){.rds-e-btn--fluid[data-v-a17b5b56]{min-width:0}}.rds-e-btn--small[data-v-a17b5b56]{font:.875rem/1.25rem RepsolSoleTextRegular;height:2rem;padding:.5rem .75rem;width:auto}@media (min-width: 1280px){.rds-e-btn--small[data-v-a17b5b56]{min-width:0}}.rds-e-btn--with-icon .rds-e-btn__icon[data-v-a17b5b56]{margin-right:.75rem}.rds-e-btn--icon[data-v-a17b5b56]{width:auto;padding:.75rem;width:3.5rem}@media (min-width: 1280px){.rds-e-btn--icon[data-v-a17b5b56]{min-width:0}}@media (min-width: 1280px){.rds-e-btn--icon[data-v-a17b5b56]{height:3rem;width:3rem}}.rds-e-btn--icon.rds-e-btn--small[data-v-a17b5b56]{border-radius:.5rem;padding:.375rem;width:2.5rem}@media (min-width: 1280px){.rds-e-btn--icon.rds-e-btn--small[data-v-a17b5b56]{width:2rem}}.rds-e-btn--primary[data-v-a17b5b56]{background-color:#001e37;color:#fff}.rds-e-btn--primary[data-v-a17b5b56]:hover:before{background-color:#007899}.rds-e-btn--primary[data-v-a17b5b56]:active{background-color:#00badb;box-shadow:none}.rds-e-btn--primary-inverse[data-v-a17b5b56]{background-color:#fff;color:#001e37}.rds-e-btn--primary-inverse[data-v-a17b5b56]:hover:before{background-color:#e6e6e6}.rds-e-btn--primary-inverse[data-v-a17b5b56]:disabled{opacity:.3}.rds-e-btn--primary-inverse[data-v-a17b5b56]:active{background-color:#fff;box-shadow:none;color:#001e37}.rds-e-btn--secondary[data-v-a17b5b56]{background-color:transparent;border:1px solid #001e37;color:#001e37}.rds-e-btn--secondary[data-v-a17b5b56]:hover{border:1px solid #007899;color:#007899}.rds-e-btn--secondary[data-v-a17b5b56]:hover:before{background-color:#f4f8fa}.rds-e-btn--secondary[data-v-a17b5b56]:active{background-color:#f4f8fa;border:1px solid #00badb;color:#00badb}.rds-e-btn--secondary[data-v-a17b5b56]:focus{border-color:#00badb}.rds-e-btn--secondary-inverse[data-v-a17b5b56],.rds-e-btn--secondary-inverse[data-v-a17b5b56]:hover{background-color:transparent;border-color:#fff;color:#fff}.rds-e-btn--secondary-inverse[data-v-a17b5b56]:hover:before{background-color:#e6e6e6;opacity:.3}.rds-e-btn--secondary-inverse[data-v-a17b5b56]:disabled{opacity:.3}.rds-e-btn--secondary-inverse[data-v-a17b5b56]:active{background-color:#fff6;border-color:#fff;color:#fff}.rds-e-btn--ghost[data-v-a17b5b56]{background-color:transparent;color:#001e37}.rds-e-btn--ghost[data-v-a17b5b56]:hover{color:#007899}.rds-e-btn--ghost[data-v-a17b5b56]:hover:before{background-color:#f4f8fa}.rds-e-btn--ghost[data-v-a17b5b56]:active{background-color:#f4f8fa;color:#00badb}.rds-e-btn--ghost[data-v-a17b5b56]:disabled{opacity:.3}.rds-e-btn--ghost-inverse[data-v-a17b5b56]{background-color:transparent;border:none;color:#fff}.rds-e-btn--ghost-inverse[data-v-a17b5b56]:hover{color:#fff}.rds-e-btn--ghost-inverse[data-v-a17b5b56]:hover:before{background-color:#fff3}.rds-e-btn--ghost-inverse[data-v-a17b5b56]:focus{background-color:transparent;color:#fff}.rds-e-btn--ghost-inverse[data-v-a17b5b56]:active{background-color:#fff6;border-color:#fff;color:#fff}.rds-e-btn--ghost-inverse[data-v-a17b5b56]:disabled{opacity:.3}.rds-e-btn+.rds-e-btn[data-v-a17b5b56]{margin-left:8px;margin-right:8px}.rds-e-btn[data-v-a17b5b56]:first-of-type:has(+.rds-e-btn){margin-left:unset;margin-right:8px}.rds-e-btn+.rds-e-btn[data-v-a17b5b56]:last-of-type{margin-left:8px;margin-right:unset}@keyframes spin-a17b5b56{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
1
+ [data-v-ad01f4e1]: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-btn--commercial[data-v-ad01f4e1]{background-color:#e50052;color:#fff}.rds-e-btn--commercial[data-v-ad01f4e1]:before{background-color:#ff590a;content:"";height:100%;left:0;position:absolute;top:100%;transition:top .3s ease-in-out;width:100%}.rds-e-btn--commercial[data-v-ad01f4e1]:hover:before{top:0}.rds-e-btn--commercial[data-v-ad01f4e1]:active{background-color:#ff8346}.rds-e-btn__icon--commercial[data-v-ad01f4e1]{color:#fff}.rds-e-btn[data-v-ad01f4e1]{font:1rem/1.5rem RepsolSoleTextRegular;align-items:center;border-radius:999px;cursor:pointer;display:inline-flex;height:3rem;justify-content:center;max-width:21.4375rem;outline:0;padding:.5rem 1.5rem;overflow:hidden;position:relative}@media (min-width: 1280px){.rds-e-btn[data-v-ad01f4e1]{height:3rem;min-width:12.5rem;padding:.75rem 2rem;width:auto}}.rds-e-btn[data-v-ad01f4e1]:disabled{pointer-events:none}.rds-e-btn span.icon[data-v-ad01f4e1]{color:inherit}.rds-e-btn[data-v-ad01f4e1]:before{border-radius:50%;content:"";left:-50%;min-height:300px;position:absolute;top:100%;transition:all .25s ease-in-out;width:200%;z-index:0}.rds-e-btn[data-v-ad01f4e1]:focus-visible{box-shadow:inset 0 0 0 2px #00badb}.rds-e-btn[data-v-ad01f4e1]:hover:before{top:-50%}.rds-e-btn__icon[data-v-ad01f4e1]{text-indent:0;z-index:0}.rds-e-btn__icon--small[data-v-ad01f4e1],.rds-e-btn__icon--noSize[data-v-ad01f4e1]{font-size:1rem}.rds-e-btn__icon--primary[data-v-ad01f4e1],.rds-e-btn__icon--secondary-inverse[data-v-ad01f4e1],.rds-e-btn__icon--tertiary-inverse[data-v-ad01f4e1]{color:#fff}.rds-e-btn__icon--disabled[data-v-ad01f4e1]{color:#717b84}.rds-e-btn__icon--primary-inverse[data-v-ad01f4e1]{color:#005870}.rds-e-btn__icon--inverse-inverse[data-v-ad01f4e1]{color:#fff}.rds-e-btn__text[data-v-ad01f4e1]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;z-index:0}.rds-e-btn--mobile-width[data-v-ad01f4e1]{min-width:100%}@media (min-width: 720px){.rds-e-btn--mobile-width[data-v-ad01f4e1]{min-width:unset}}.rds-e-btn--revert[data-v-ad01f4e1]{flex-direction:row-reverse}.rds-e-btn--revert .icon[data-v-ad01f4e1]{margin-left:.75rem;margin-right:0!important}.rds-e-btn--no-size[data-v-ad01f4e1]{height:auto;margin:0;padding:0;width:auto}.rds-e-btn--loading[data-v-ad01f4e1]{pointer-events:none}.rds-e-btn--loading .icon[data-v-ad01f4e1]{align-content:center;align-items:center;animation:spin-ad01f4e1 2s linear infinite;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center}.rds-e-btn--loading .icon[data-v-ad01f4e1]:before{display:block;margin:0;padding:0}.rds-e-btn--fluid[data-v-ad01f4e1]{width:auto}@media (min-width: 1280px){.rds-e-btn--fluid[data-v-ad01f4e1]{min-width:0}}.rds-e-btn--small[data-v-ad01f4e1]{font:.875rem/1.25rem RepsolSoleTextRegular;height:2rem;padding:.5rem .75rem;width:auto}@media (min-width: 1280px){.rds-e-btn--small[data-v-ad01f4e1]{min-width:0}}.rds-e-btn--with-icon .rds-e-btn__icon[data-v-ad01f4e1]{margin-right:.75rem}.rds-e-btn--icon[data-v-ad01f4e1]{width:auto;padding:.75rem;width:3.5rem}@media (min-width: 1280px){.rds-e-btn--icon[data-v-ad01f4e1]{min-width:0}}@media (min-width: 1280px){.rds-e-btn--icon[data-v-ad01f4e1]{height:3rem;width:3rem}}.rds-e-btn--icon.rds-e-btn--small[data-v-ad01f4e1]{border-radius:.5rem;padding:.375rem;width:2.5rem}@media (min-width: 1280px){.rds-e-btn--icon.rds-e-btn--small[data-v-ad01f4e1]{width:2rem}}.rds-e-btn--primary[data-v-ad01f4e1]{background-color:#001e37;color:#fff}.rds-e-btn--primary[data-v-ad01f4e1]:hover:before{background-color:#007899}.rds-e-btn--primary[data-v-ad01f4e1]:active{background-color:#00badb;box-shadow:none}.rds-e-btn--primary-inverse[data-v-ad01f4e1]{background-color:#fff;color:#001e37}.rds-e-btn--primary-inverse[data-v-ad01f4e1]:hover:before{background-color:#e6e6e6}.rds-e-btn--primary-inverse[data-v-ad01f4e1]:disabled{opacity:.3}.rds-e-btn--primary-inverse[data-v-ad01f4e1]:active{background-color:#fff;box-shadow:none;color:#001e37}.rds-e-btn--secondary[data-v-ad01f4e1]{background-color:transparent;border:1px solid #001e37;color:#001e37}.rds-e-btn--secondary[data-v-ad01f4e1]:hover{border:1px solid #007899;color:#007899}.rds-e-btn--secondary[data-v-ad01f4e1]:hover:before{background-color:#f4f8fa}.rds-e-btn--secondary[data-v-ad01f4e1]:active{background-color:#f4f8fa;border:1px solid #00badb;color:#00badb}.rds-e-btn--secondary[data-v-ad01f4e1]:focus{border-color:#00badb}.rds-e-btn--secondary-inverse[data-v-ad01f4e1],.rds-e-btn--secondary-inverse[data-v-ad01f4e1]:hover{background-color:transparent;border-color:#fff;color:#fff}.rds-e-btn--secondary-inverse[data-v-ad01f4e1]:hover:before{background-color:#e6e6e6;opacity:.3}.rds-e-btn--secondary-inverse[data-v-ad01f4e1]:disabled{opacity:.3}.rds-e-btn--secondary-inverse[data-v-ad01f4e1]:active{background-color:#fff6;border-color:#fff;color:#fff}.rds-e-btn--ghost[data-v-ad01f4e1]{background-color:transparent;color:#001e37}.rds-e-btn--ghost[data-v-ad01f4e1]:hover{color:#007899}.rds-e-btn--ghost[data-v-ad01f4e1]:hover:before{background-color:#f4f8fa}.rds-e-btn--ghost[data-v-ad01f4e1]:active{background-color:#f4f8fa;color:#00badb}.rds-e-btn--ghost[data-v-ad01f4e1]:disabled{opacity:.3}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]{background-color:transparent;border:none;color:#fff}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]:hover{color:#fff}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]:hover:before{background-color:#fff3}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]:focus{background-color:transparent;color:#fff}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]:active{background-color:#fff6;border-color:#fff;color:#fff}.rds-e-btn--ghost-inverse[data-v-ad01f4e1]:disabled{opacity:.3}.rds-e-btn+.rds-e-btn[data-v-ad01f4e1]{margin-left:8px;margin-right:8px}.rds-e-btn[data-v-ad01f4e1]:first-of-type:has(+.rds-e-btn){margin-left:unset;margin-right:8px}.rds-e-btn+.rds-e-btn[data-v-ad01f4e1]:last-of-type{margin-left:8px;margin-right:unset}@keyframes spin-ad01f4e1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}