energy-components 1.25.0 → 1.26.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 +7 -7
- package/dist/components/accordionGroup.es.js +2 -2
- package/dist/components/actionButton.es.js +3 -3
- package/dist/components/avatar.es.js +4 -4
- package/dist/components/badge.es.js +4 -4
- package/dist/components/breadcrumbs.es.js +3 -3
- package/dist/components/button.es.js +2 -2
- package/dist/components/card.es.js +2 -2
- package/dist/components/checkbox.es.js +6 -6
- package/dist/components/collapsable.es.js +1 -1
- package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-Crh76VTR.js → collapsable.scss_vue_type_style_index_0_src_true_lang-BDZglfaw.js} +2 -2
- package/dist/components/datepicker.es.js +2 -2
- package/dist/components/directAccess.es.js +32 -30
- package/dist/components/divider.es.js +2 -2
- package/dist/components/dragAndDrop.es.js +4 -4
- package/dist/components/dropdown.es.js +9 -9
- package/dist/components/fileUploadItem.es.js +9 -9
- package/dist/components/filterChip.es.js +2 -2
- package/dist/components/filterTag.es.js +5 -5
- package/dist/components/floating-ui.vue-CpGZM2yZ.js +1153 -0
- package/dist/components/floatingActionButton.es.js +2 -2
- package/dist/components/{icon-svg-K8-vLJgV.js → icon-svg-D73xSd7x.js} +1404 -2512
- package/dist/components/iconList.es.js +4 -4
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +27 -27
- package/dist/components/indicator.es.js +54 -54
- package/dist/components/infoBox.es.js +12 -12
- package/dist/components/link.es.js +2 -2
- package/dist/components/loader.es.js +6 -6
- package/dist/components/modal.es.js +26 -26
- package/dist/components/multiselect.es.js +13 -13
- package/dist/components/multiselectcontentwrapper.es.js +6 -6
- package/dist/components/overlay.es.js +2 -2
- package/dist/components/pagination.es.js +1 -1
- package/dist/components/persistentToast.es.js +9 -9
- package/dist/components/popover.es.js +7 -7
- package/dist/components/popoverMenu.es.js +7 -7
- package/dist/components/progressBar.es.js +5 -5
- package/dist/components/quantitySelector.es.js +11 -11
- package/dist/components/{radio-group.vue_vue_type_script_setup_true_lang-DpguLlRK.js → radio-group.vue_vue_type_script_setup_true_lang-CwgSZYeD.js} +6 -6
- package/dist/components/radioButton.es.js +4 -4
- package/dist/components/radioGroup.es.js +1 -1
- package/dist/components/selectionChip.es.js +2 -2
- package/dist/components/sidebar.es.js +3 -3
- package/dist/components/sidedrawer.es.js +4 -4
- package/dist/components/snackBar.es.js +6 -6
- package/dist/components/style/accordion.css +1 -1
- package/dist/components/style/breadcrumbs.css +1 -1
- package/dist/components/style/directAccess.css +1 -1
- package/dist/components/style/filterChip.css +1 -1
- package/dist/components/style/indicator.css +1 -1
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/loader.css +1 -1
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/toggle.css +1 -1
- package/dist/components/switch.es.js +4 -4
- package/dist/components/tabBar.es.js +8 -8
- package/dist/components/tablepaginatedcomponent.es.js +4 -4
- package/dist/components/tableslotedcomponent.es.js +15 -15
- package/dist/components/tag.es.js +2 -2
- package/dist/components/textArea.es.js +8 -8
- package/dist/components/textField.es.js +2 -2
- package/dist/components/toggle.es.js +2 -2
- package/dist/components/tooltip.es.js +8 -8
- package/dist/energy-components.es.js +5160 -6263
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +4 -2
- package/dist/types/src/components/feedback/loader/loader.vue.d.ts +2 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/components/floating-ui.vue-DHEoOe5S.js +0 -1150
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as O, toRefs as q, ref as p, watch as B, nextTick as D, inject as R, onMounted as w, onBeforeUnmount as A,
|
|
2
|
-
import { R as E } from "./icon-svg-
|
|
1
|
+
import { defineComponent as O, toRefs as q, ref as p, watch as B, nextTick as D, inject as R, onMounted as w, onBeforeUnmount as A, openBlock as f, createElementBlock as S, createElementVNode as i, toDisplayString as v, unref as m, createBlock as N, mergeProps as V, createCommentVNode as H, createVNode as P, normalizeClass as k, renderSlot as T, createTextVNode as j } from "vue";
|
|
2
|
+
import { R as E } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import F from "./tag.es.js";
|
|
4
4
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import './style/accordion.css';const M = ["id"], $ = { class: "rds-e-accordion-title" }, L = { class: "rds-e-accordion-title_right" }, U = {
|
|
@@ -118,11 +118,11 @@ import './style/accordion.css';const M = ["id"], $ = { class: "rds-e-accordion-t
|
|
|
118
118
|
}, [
|
|
119
119
|
i("span", $, v(o.title), 1),
|
|
120
120
|
i("div", L, [
|
|
121
|
-
m(c) && m(c).icon ? (f(), N(F,
|
|
121
|
+
m(c) && m(c).icon ? (f(), N(F, V({
|
|
122
122
|
key: 0,
|
|
123
|
-
class: "rds-e-accordion-title_tag"
|
|
124
|
-
}, m(c)
|
|
125
|
-
|
|
123
|
+
class: "rds-e-accordion-title_tag rds-mr-16"
|
|
124
|
+
}, m(c)), null, 16)) : o.label ? (f(), S("span", U, v(o.label), 1)) : H("", !0),
|
|
125
|
+
P(E, {
|
|
126
126
|
class: k(["rds-e-accordion-title_icon", { "rds-e-accordion-title_icon--open": e.value }]),
|
|
127
127
|
name: "arrow_down"
|
|
128
128
|
}, null, 8, ["class"])
|
|
@@ -145,7 +145,7 @@ import './style/accordion.css';const M = ["id"], $ = { class: "rds-e-accordion-t
|
|
|
145
145
|
], 2)
|
|
146
146
|
], 8, M));
|
|
147
147
|
}
|
|
148
|
-
}), X = /* @__PURE__ */ I(G, [["__scopeId", "data-v-
|
|
148
|
+
}), X = /* @__PURE__ */ I(G, [["__scopeId", "data-v-a2a4357c"]]);
|
|
149
149
|
export {
|
|
150
150
|
X as default
|
|
151
151
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, ref as t, provide as r,
|
|
1
|
+
import { defineComponent as s, ref as t, provide as r, openBlock as d, createElementBlock as i, renderSlot as a } from "vue";
|
|
2
2
|
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import './style/accordionGroup.css';const u = { class: "rds-e-accordion-group" }, _ = /* @__PURE__ */ s({
|
|
4
4
|
__name: "accordion-group",
|
|
@@ -22,7 +22,7 @@ import './style/accordionGroup.css';const u = { class: "rds-e-accordion-group" }
|
|
|
22
22
|
closeAll: () => {
|
|
23
23
|
o.value.forEach((e) => e.close());
|
|
24
24
|
}
|
|
25
|
-
}), (e, c) => (
|
|
25
|
+
}), (e, c) => (d(), i("div", u, [
|
|
26
26
|
a(e.$slots, "default", {}, void 0, !0)
|
|
27
27
|
]));
|
|
28
28
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as r,
|
|
1
|
+
import { defineComponent as r, openBlock as o, createBlock as i, withCtx as l, createVNode as d, mergeProps as n } from "vue";
|
|
2
2
|
import a from "./button.es.js";
|
|
3
3
|
import s from "./tooltip.es.js";
|
|
4
4
|
import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -78,7 +78,7 @@ import './style/actionButton.css';const c = /* @__PURE__ */ r({
|
|
|
78
78
|
}
|
|
79
79
|
},
|
|
80
80
|
setup(t) {
|
|
81
|
-
return (e, f) => t.tooltip ? (
|
|
81
|
+
return (e, f) => t.tooltip ? (o(), i(s, {
|
|
82
82
|
key: 0,
|
|
83
83
|
content: t.tooltip,
|
|
84
84
|
placement: t.tooltipPosition || void 0,
|
|
@@ -94,7 +94,7 @@ import './style/actionButton.css';const c = /* @__PURE__ */ r({
|
|
|
94
94
|
}), null, 16, ["id"])
|
|
95
95
|
]),
|
|
96
96
|
_: 1
|
|
97
|
-
}, 8, ["content", "placement", "inverse"])) : (
|
|
97
|
+
}, 8, ["content", "placement", "inverse"])) : (o(), i(a, n({
|
|
98
98
|
key: 1,
|
|
99
99
|
id: t.id,
|
|
100
100
|
class: "rds-e-btn--action"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as h, computed as a,
|
|
2
|
-
import { R as C } from "./icon-svg-
|
|
1
|
+
import { defineComponent as h, computed as a, openBlock as n, createElementBlock as s, withKeys as o, normalizeStyle as u, normalizeClass as k, toDisplayString as _, createBlock as b, createCommentVNode as z } from "vue";
|
|
2
|
+
import { R as C } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import './style/avatar.css';const A = ["id", "aria-label"], B = ["src", "alt"], D = {
|
|
5
5
|
key: 1,
|
|
@@ -153,14 +153,14 @@ import './style/avatar.css';const A = ["id", "aria-label"], B = ["src", "alt"],
|
|
|
153
153
|
src: t.src,
|
|
154
154
|
alt: t.alt,
|
|
155
155
|
class: "rds-e-avatar__image"
|
|
156
|
-
}, null, 8, B)) : t.type === "initials" && r.value ? (n(), s("span", D,
|
|
156
|
+
}, null, 8, B)) : t.type === "initials" && r.value ? (n(), s("span", D, _(r.value), 1)) : (n(), b(C, {
|
|
157
157
|
key: 2,
|
|
158
158
|
name: c.value,
|
|
159
159
|
class: "rds-e-avatar__icon",
|
|
160
160
|
style: u(x.value),
|
|
161
161
|
"aria-hidden": "true"
|
|
162
162
|
}, null, 8, ["name", "style"])),
|
|
163
|
-
t.badge ? (n(), s("span", N)) :
|
|
163
|
+
t.badge ? (n(), s("span", N)) : z("", !0)
|
|
164
164
|
], 46, A));
|
|
165
165
|
}
|
|
166
166
|
}), R = /* @__PURE__ */ w(E, [["__scopeId", "data-v-11470780"]]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as B, toRefs as L, useSlots as x, computed as e, ref as N,
|
|
1
|
+
import { defineComponent as B, toRefs as L, useSlots as x, computed as e, ref as N, openBlock as n, createElementBlock as u, normalizeClass as i, renderSlot as z, unref as D, toDisplayString as H, createCommentVNode as g } from "vue";
|
|
2
2
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import './style/badge.css';const A = ["id"], E = ["aria-label", "data-kind"], I = /* @__PURE__ */ B({
|
|
4
4
|
__name: "badge",
|
|
@@ -65,21 +65,21 @@ import './style/badge.css';const A = ["id"], E = ["aria-label", "data-kind"], I
|
|
|
65
65
|
}), w = e(() => s.ariaLabel ? s.ariaLabel : o.value === "dot" ? "Notificación" : `Cuenta: ${l.value}`), S = e(() => ({
|
|
66
66
|
"rds-e-badge-wrapper--standalone": !_.value
|
|
67
67
|
}));
|
|
68
|
-
return m({ el: p }), (t, r) => (
|
|
68
|
+
return m({ el: p }), (t, r) => (n(), u("span", {
|
|
69
69
|
id: a.id,
|
|
70
70
|
ref_key: "root",
|
|
71
71
|
ref: p,
|
|
72
72
|
class: i(["rds-e-badge-wrapper", S.value])
|
|
73
73
|
}, [
|
|
74
74
|
z(t.$slots, "default", {}, void 0, !0),
|
|
75
|
-
C.value ? (
|
|
75
|
+
C.value ? (n(), u("span", {
|
|
76
76
|
key: 0,
|
|
77
77
|
class: i(["rds-e-badge", k.value]),
|
|
78
78
|
role: "status",
|
|
79
79
|
"aria-label": w.value,
|
|
80
80
|
"data-kind": D(o)
|
|
81
81
|
}, [
|
|
82
|
-
f.value ? (
|
|
82
|
+
f.value ? (n(), u("span", {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: i(["rds-e-badge__content", { "rds-e-badge__content--overflow": y.value }]),
|
|
85
85
|
"aria-hidden": "true"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, toRefs as h, ref as y, watchEffect as I, onMounted as L,
|
|
1
|
+
import { defineComponent as C, toRefs as h, ref as y, watchEffect as I, onMounted as L, openBlock as u, createElementBlock as d, Fragment as T, renderList as w, normalizeClass as x, unref as B, createVNode as E, mergeProps as j, toHandlers as P, withCtx as S, createCommentVNode as D } from "vue";
|
|
2
2
|
import N from "./link.es.js";
|
|
3
3
|
import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import './style/breadcrumbs.css';const R = ["id"], V = { key: 0 }, q = /* @__PURE__ */ C({
|
|
@@ -100,7 +100,7 @@ import './style/breadcrumbs.css';const R = ["id"], V = { key: 0 }, q = /* @__PUR
|
|
|
100
100
|
f();
|
|
101
101
|
}), L(() => {
|
|
102
102
|
f();
|
|
103
|
-
}), (e, o) => (
|
|
103
|
+
}), (e, o) => (u(!0), d(T, null, w(a.value, (t, l) => (u(), d("ul", {
|
|
104
104
|
id: c.id ? `${c.id}-${l}` : void 0,
|
|
105
105
|
key: l,
|
|
106
106
|
class: x(["rds-e-breadcrumbs", `${B(i) ? "rds-e-breadcrumbs--inverse" : ""}`])
|
|
@@ -109,7 +109,7 @@ import './style/breadcrumbs.css';const R = ["id"], V = { key: 0 }, q = /* @__PUR
|
|
|
109
109
|
class: g(t)
|
|
110
110
|
}, { ref_for: !0 }, b(t, l), P(_(t, l))), {
|
|
111
111
|
default: S(() => [
|
|
112
|
-
t != null && t.clickable ? (
|
|
112
|
+
t != null && t.clickable ? (u(), d("span", V, "...")) : D("", !0)
|
|
113
113
|
]),
|
|
114
114
|
_: 2
|
|
115
115
|
}, 1040, ["class"])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as x, toRefs as I, computed as r,
|
|
2
|
-
import { R as E } from "./icon-svg-
|
|
1
|
+
import { defineComponent as x, toRefs as I, computed as r, openBlock as b, createElementBlock as $, normalizeClass as m, unref as n, createBlock as k, createCommentVNode as C, createElementVNode as N, renderSlot as R, createTextVNode as V, toDisplayString as D } from "vue";
|
|
2
|
+
import { R as E } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import './style/button.css';const w = ["id", "type", "disabled"], W = { class: "rds-e-btn__text" }, j = /* @__PURE__ */ x({
|
|
5
5
|
__name: "button",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, openBlock as s, createElementBlock as d, normalizeClass as r, renderSlot as a } from "vue";
|
|
2
2
|
import { _ as c } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import './style/card.css';const n = ["id"], i = /* @__PURE__ */ o({
|
|
4
4
|
__name: "card",
|
|
@@ -19,7 +19,7 @@ import './style/card.css';const n = ["id"], i = /* @__PURE__ */ o({
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
|
-
return (t, l) => (
|
|
22
|
+
return (t, l) => (s(), d("div", {
|
|
23
23
|
id: e.id,
|
|
24
24
|
class: r(["rds-e-card", e.customClass])
|
|
25
25
|
}, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as D, computed as b, ref as i, watch as y, onMounted as L, onBeforeUnmount as N,
|
|
2
|
-
import { R as g } from "./icon-svg-
|
|
1
|
+
import { defineComponent as D, computed as b, ref as i, watch as y, onMounted as L, onBeforeUnmount as N, openBlock as m, createElementBlock as R, normalizeClass as n, createElementVNode as f, renderSlot as E, createTextVNode as T, toDisplayString as p, createBlock as x, withCtx as U, createVNode as z, createCommentVNode as I } from "vue";
|
|
2
|
+
import { R as g } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import F from "./tooltip.es.js";
|
|
4
4
|
import { g as K } from "./getInstance-GhoEcxLF.js";
|
|
5
5
|
import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -187,15 +187,15 @@ import './style/checkbox.css';const $ = ["id", "checked", "aria-label", "aria-in
|
|
|
187
187
|
}
|
|
188
188
|
])
|
|
189
189
|
}, [
|
|
190
|
-
T(
|
|
190
|
+
T(p(e.label) + " ", 1),
|
|
191
191
|
e.icon && e.iconTooltip ? (m(), x(F, {
|
|
192
192
|
key: 0,
|
|
193
193
|
content: e.iconTooltip,
|
|
194
194
|
placement: "top",
|
|
195
195
|
"offset-space": 8
|
|
196
196
|
}, {
|
|
197
|
-
default:
|
|
198
|
-
|
|
197
|
+
default: U(() => [
|
|
198
|
+
z(g, {
|
|
199
199
|
class: "rds-e-checkbox__label-box--icon",
|
|
200
200
|
name: e.icon,
|
|
201
201
|
size: "sm"
|
|
@@ -207,7 +207,7 @@ import './style/checkbox.css';const $ = ["id", "checked", "aria-label", "aria-in
|
|
|
207
207
|
class: "rds-e-checkbox__label-box--icon",
|
|
208
208
|
name: e.icon,
|
|
209
209
|
size: "sm"
|
|
210
|
-
}, null, 8, ["name"])) :
|
|
210
|
+
}, null, 8, ["name"])) : I("", !0)
|
|
211
211
|
], 2)
|
|
212
212
|
], !0)
|
|
213
213
|
], 10, j)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as N, ref as r, computed as c, watch as y, nextTick as s, onMounted as R, onBeforeUnmount as S,
|
|
2
|
-
import { R as k } from "./icon-svg-
|
|
1
|
+
import { defineComponent as N, ref as r, computed as c, watch as y, nextTick as s, onMounted as R, onBeforeUnmount as S, openBlock as g, createElementBlock as $, normalizeClass as u, createElementVNode as d, withKeys as I, createBlock as L, createCommentVNode as V, toDisplayString as x, createVNode as z, renderSlot as H, createTextVNode as D } from "vue";
|
|
2
|
+
import { R as k } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import './style/collapsable.css';const K = ["id", "aria-expanded", "aria-controls", "disabled"], M = { class: "rds-e-collapsable__header-title" }, T = { class: "rds-e-collapsable__header-title-text" }, W = ["id", "aria-labelledby"], j = /* @__PURE__ */ N({
|
|
4
4
|
__name: "collapsable",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './style/datepicker.css';var jr = Object.defineProperty;
|
|
2
2
|
var Qr = (e, n, t) => n in e ? jr(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var ve = (e, n, t) => Qr(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { reactive as ga, ref as J, defineComponent as Ze, useSlots as Vt, toRef as ma, onMounted as et, nextTick as it, onUnmounted as wa, watch as vt, computed as U,
|
|
5
|
-
import { R as al } from "./icon-svg-
|
|
4
|
+
import { reactive as ga, ref as J, defineComponent as Ze, useSlots as Vt, toRef as ma, onMounted as et, nextTick as it, onUnmounted as wa, watch as vt, computed as U, openBlock as $, createElementBlock as z, unref as s, normalizeClass as Me, createVNode as at, mergeProps as Ue, isRef as Cn, createSlots as Je, renderList as Ne, withCtx as _e, renderSlot as de, normalizeProps as Ke, guardReactiveProps as ot, createBlock as Ae, resolveDynamicComponent as Ya, Teleport as Ur, Transition as oa, createCommentVNode as G, h as Xr, render as Yn, createElementVNode as be, withModifiers as Zt, normalizeStyle as ft, Fragment as xe, toDisplayString as tt, useAttrs as zr, createTextVNode as Ct, getCurrentScope as Kr, onScopeDispose as Gr, onBeforeUpdate as Jr, withDirectives as Ta, vShow as Aa, withKeys as rn, useModel as Zr, toRefs as el, toHandlers as tl, mergeModels as Rn } from "vue";
|
|
5
|
+
import { R as al } from "./icon-svg-D73xSd7x.js";
|
|
6
6
|
import In from "./button.es.js";
|
|
7
7
|
import nl from "./textField.es.js";
|
|
8
8
|
import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as j, toRefs as E, computed as o,
|
|
2
|
-
import { R as S } from "./icon-svg-
|
|
1
|
+
import { defineComponent as j, toRefs as E, computed as o, openBlock as l, createBlock as u, resolveDynamicComponent as I, unref as t, normalizeClass as N, withCtx as O, renderSlot as _, createElementVNode as c, normalizeStyle as w, createElementBlock as T, createCommentVNode as b, toDisplayString as V } from "vue";
|
|
2
|
+
import { R as S } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
-
import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwork-container" }, M = ["src", "alt", "aria-hidden"], F = { class: "rds-e-direct-access__text-container" }, G = { class: "rds-e-direct-access__text" }, H = /* @__PURE__ */ j({
|
|
4
|
+
import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwork-container" }, M = ["src", "alt", "aria-hidden"], F = { class: "rds-e-direct-access__text-container" }, G = { class: "rds-e-direct-access__text-content" }, H = { class: "rds-e-direct-access__text" }, J = /* @__PURE__ */ j({
|
|
5
5
|
__name: "direct-access",
|
|
6
6
|
props: {
|
|
7
7
|
/**
|
|
@@ -79,12 +79,12 @@ import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwo
|
|
|
79
79
|
},
|
|
80
80
|
emits: ["click"],
|
|
81
81
|
setup(i, { emit: g }) {
|
|
82
|
-
const x = i, z = g, { text:
|
|
82
|
+
const x = i, z = g, { text: m, layout: C, disabled: n, arrow: p, artwork: r, ariaLabel: $, linkTo: a, useRouterLink: B } = E(x), L = o(() => [
|
|
83
83
|
"rds-e-direct-access",
|
|
84
84
|
`rds-e-direct-access--${C.value}`,
|
|
85
|
-
{ "rds-e-direct-access--disabled":
|
|
86
|
-
{ "rds-e-direct-access--with-arrow":
|
|
87
|
-
]),
|
|
85
|
+
{ "rds-e-direct-access--disabled": n.value },
|
|
86
|
+
{ "rds-e-direct-access--with-arrow": p.value }
|
|
87
|
+
]), d = o(() => B.value && !!a.value), R = o(() => $.value || m.value), f = o(() => {
|
|
88
88
|
var e;
|
|
89
89
|
return (e = r.value) != null && e.microillustration && (r.value.microillustration.path || r.value.microillustration.url) || "";
|
|
90
90
|
}), v = (e) => {
|
|
@@ -92,29 +92,29 @@ import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwo
|
|
|
92
92
|
const s = {};
|
|
93
93
|
return e.size && (s.fontSize = `${e.size}px`, s.width = `${e.size}px`, s.height = `${e.size}px`), e.color && "name" in e && (s.color = e.color), s;
|
|
94
94
|
}, D = (e) => {
|
|
95
|
-
if (
|
|
95
|
+
if (n.value) {
|
|
96
96
|
e.preventDefault();
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
z("click", e);
|
|
100
100
|
};
|
|
101
|
-
return (e, s) => (l(),
|
|
101
|
+
return (e, s) => (l(), u(I(t(a) ? d.value ? "router-link" : "a" : "button"), {
|
|
102
102
|
id: i.id,
|
|
103
103
|
type: t(a) ? void 0 : "button",
|
|
104
|
-
href: !
|
|
105
|
-
to:
|
|
104
|
+
href: !d.value && t(a) ? t(a) : void 0,
|
|
105
|
+
to: d.value && t(a) ? t(a) : void 0,
|
|
106
106
|
class: N(L.value),
|
|
107
|
-
disabled: t(
|
|
107
|
+
disabled: t(n),
|
|
108
108
|
"aria-label": R.value,
|
|
109
109
|
onClick: D
|
|
110
110
|
}, {
|
|
111
111
|
default: O(() => [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
_(e.$slots, "default", {}, () => [
|
|
113
|
+
c("div", A, [
|
|
114
|
+
_(e.$slots, "artwork", {}, () => {
|
|
115
115
|
var k, y, h;
|
|
116
116
|
return [
|
|
117
|
-
(y = (k = t(r)) == null ? void 0 : k.icon) != null && y.name ? (l(),
|
|
117
|
+
(y = (k = t(r)) == null ? void 0 : k.icon) != null && y.name ? (l(), u(S, {
|
|
118
118
|
key: 0,
|
|
119
119
|
name: t(r).icon.name,
|
|
120
120
|
style: w(v(t(r).icon)),
|
|
@@ -131,24 +131,26 @@ import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwo
|
|
|
131
131
|
];
|
|
132
132
|
}, !0)
|
|
133
133
|
]),
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
134
|
+
c("div", F, [
|
|
135
|
+
c("div", G, [
|
|
136
|
+
_(e.$slots, "text", {}, () => [
|
|
137
|
+
c("span", H, V(t(m)), 1)
|
|
138
|
+
], !0)
|
|
139
|
+
]),
|
|
140
|
+
t(p) ? (l(), u(S, {
|
|
141
|
+
key: 0,
|
|
142
|
+
name: "arrow_right",
|
|
143
|
+
small: "",
|
|
144
|
+
class: "rds-e-direct-access__arrow",
|
|
145
|
+
"aria-hidden": "true"
|
|
146
|
+
})) : b("", !0)
|
|
147
|
+
])
|
|
146
148
|
], !0)
|
|
147
149
|
]),
|
|
148
150
|
_: 3
|
|
149
151
|
}, 8, ["id", "type", "href", "to", "class", "disabled", "aria-label"]));
|
|
150
152
|
}
|
|
151
|
-
}),
|
|
153
|
+
}), U = /* @__PURE__ */ q(J, [["__scopeId", "data-v-a999e696"]]);
|
|
152
154
|
export {
|
|
153
|
-
|
|
155
|
+
U as default
|
|
154
156
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as s, computed as i,
|
|
1
|
+
import { defineComponent as s, computed as i, openBlock as d, createElementBlock as n, normalizeClass as t } from "vue";
|
|
2
2
|
import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
3
|
import './style/divider.css';const a = /* @__PURE__ */ s({
|
|
4
4
|
__name: "divider",
|
|
@@ -25,7 +25,7 @@ import './style/divider.css';const a = /* @__PURE__ */ s({
|
|
|
25
25
|
"rds-e-divider--inverse-low": e.low && e.inverse,
|
|
26
26
|
"rds-e-divider--inverse-high": !e.low && e.inverse
|
|
27
27
|
}));
|
|
28
|
-
return (v, c) => (
|
|
28
|
+
return (v, c) => (d(), n("div", {
|
|
29
29
|
class: t(o.value)
|
|
30
30
|
}, null, 2));
|
|
31
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as k, ref as _, computed as c,
|
|
1
|
+
import { defineComponent as k, ref as _, computed as c, openBlock as b, createElementBlock as x, withModifiers as f, normalizeClass as q, createElementVNode as u, renderSlot as L, createVNode as M, toDisplayString as D, createCommentVNode as z } from "vue";
|
|
2
2
|
import { g as A } from "./getInstance-GhoEcxLF.js";
|
|
3
|
-
import { R as U } from "./icon-svg-
|
|
3
|
+
import { R as U } from "./icon-svg-D73xSd7x.js";
|
|
4
4
|
import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import './style/dragAndDrop.css';const O = ["id", "accept", "multiple", "disabled"], P = ["for"], j = { class: "rds-e-drag-and-drop__icon-wrapper" }, G = { class: "rds-e-drag-and-drop__text-container" }, H = { class: "rds-e-drag-and-drop__text" }, J = {
|
|
6
6
|
key: 0,
|
|
@@ -160,7 +160,7 @@ import './style/dragAndDrop.css';const O = ["id", "accept", "multiple", "disable
|
|
|
160
160
|
const a = (n = e.dataTransfer) == null ? void 0 : n.files;
|
|
161
161
|
v(a || null);
|
|
162
162
|
};
|
|
163
|
-
return (e, a) => (
|
|
163
|
+
return (e, a) => (b(), x("div", {
|
|
164
164
|
class: q(F.value),
|
|
165
165
|
onDragenter: f(E, ["prevent"]),
|
|
166
166
|
onDragover: f($, ["prevent"]),
|
|
@@ -192,7 +192,7 @@ import './style/dragAndDrop.css';const O = ["id", "accept", "multiple", "disable
|
|
|
192
192
|
]),
|
|
193
193
|
u("div", G, [
|
|
194
194
|
u("span", H, D(r.label), 1),
|
|
195
|
-
I.value ? (
|
|
195
|
+
I.value ? (b(), x("span", J, D(m.value), 1)) : z("", !0)
|
|
196
196
|
])
|
|
197
197
|
], !0)
|
|
198
198
|
], 8, P)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as ye,
|
|
1
|
+
import { defineComponent as ye, toRefs as be, useModel as we, ref as O, computed as p, provide as P, onMounted as ge, nextTick as B, onBeforeUnmount as he, openBlock as f, createElementBlock as g, normalizeClass as T, unref as r, createVNode as V, mergeProps as Z, withModifiers as n, createSlots as ee, withCtx as c, createElementVNode as v, createBlock as _, createCommentVNode as A, renderSlot as b, Fragment as ke, toDisplayString as F, mergeModels as le } from "vue";
|
|
2
2
|
import $e from "./multiselect.es.js";
|
|
3
3
|
import xe from "./checkbox.es.js";
|
|
4
|
-
import { _ as De } from "./radio-group.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as De } from "./radio-group.vue_vue_type_script_setup_true_lang-CwgSZYeD.js";
|
|
5
5
|
import Ce from "./radioButton.es.js";
|
|
6
|
-
import { R as te } from "./icon-svg-
|
|
6
|
+
import { R as te } from "./icon-svg-D73xSd7x.js";
|
|
7
7
|
import oe from "./textField.es.js";
|
|
8
8
|
import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"], Be = { class: "rds-e-dropdown__option" }, Ve = { class: "rds-e-dropdown__option-container" }, Ae = { class: "rds-e-dropdown__option--prepend" }, Ee = { class: "rds-e-dropdown__option--content" }, Re = {
|
|
@@ -17,7 +17,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
17
17
|
class: "rds-e-dropdown__before-list"
|
|
18
18
|
}, je = { class: "rds-e-dropdown__before-list-container" }, Ie = { class: "rds-e-dropdown__after-list" }, qe = { class: "rds-e-dropdown__after-list-container" }, Ke = /* @__PURE__ */ ye({
|
|
19
19
|
__name: "dropdown",
|
|
20
|
-
props: /* @__PURE__ */
|
|
20
|
+
props: /* @__PURE__ */ le({
|
|
21
21
|
/**
|
|
22
22
|
* Id del dropdown
|
|
23
23
|
*/
|
|
@@ -190,7 +190,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
190
190
|
},
|
|
191
191
|
modelModifiers: {}
|
|
192
192
|
}),
|
|
193
|
-
emits: /* @__PURE__ */
|
|
193
|
+
emits: /* @__PURE__ */ le(["open", "close", "select", "change"], ["update:modelValue"]),
|
|
194
194
|
setup(o, { expose: L, emit: se }) {
|
|
195
195
|
const s = o, x = se, {
|
|
196
196
|
disabled: D,
|
|
@@ -358,7 +358,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
358
358
|
"rds-e-dropdown--inverse": o.inverse
|
|
359
359
|
}])
|
|
360
360
|
}, [
|
|
361
|
-
V($e,
|
|
361
|
+
V($e, Z({
|
|
362
362
|
ref_key: "multiselect",
|
|
363
363
|
ref: i,
|
|
364
364
|
modelValue: a.value,
|
|
@@ -383,7 +383,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
383
383
|
onSelect: fe,
|
|
384
384
|
"onUpdate:modelValue": ve,
|
|
385
385
|
onBlur: n(() => null, ["prevent"])
|
|
386
|
-
}),
|
|
386
|
+
}), ee({
|
|
387
387
|
selection: c(({ isOpen: t }) => [
|
|
388
388
|
r(j) ? (f(), g("div", {
|
|
389
389
|
key: 0,
|
|
@@ -424,7 +424,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
424
424
|
"aria-controls": `listbox-${o.id}`,
|
|
425
425
|
onMousedown: n(G, ["prevent"]),
|
|
426
426
|
onKeydown: Q
|
|
427
|
-
},
|
|
427
|
+
}, ee({
|
|
428
428
|
"right-icon": c(() => [
|
|
429
429
|
V(r(te), {
|
|
430
430
|
name: "arrow_down",
|
|
@@ -553,7 +553,7 @@ import './style/dropdown.css';const Oe = ["id", "aria-expanded", "aria-controls"
|
|
|
553
553
|
}, ["stop"]))
|
|
554
554
|
}, [
|
|
555
555
|
v("div", Le, [
|
|
556
|
-
V(r(oe),
|
|
556
|
+
V(r(oe), Z({
|
|
557
557
|
ref_key: "textFieldInput",
|
|
558
558
|
ref: w,
|
|
559
559
|
modelValue: I.value,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as M, ref as z, computed as c,
|
|
2
|
-
import { R as g } from "./icon-svg-
|
|
1
|
+
import { defineComponent as M, ref as z, computed as c, openBlock as s, createElementBlock as l, normalizeClass as N, createElementVNode as n, renderSlot as v, createVNode as p, toDisplayString as f, createCommentVNode as r, withModifiers as $ } from "vue";
|
|
2
|
+
import { R as g } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import w from "./progressBar.es.js";
|
|
4
4
|
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import './style/fileUploadItem.css';const C = ["id"], F = { class: "rds-e-file-upload-item__icon-container" }, R = { class: "rds-e-file-upload-item__details" }, E = { class: "rds-e-file-upload-item__info-wrapper" }, x = { class: "rds-e-file-upload-item__name" }, D = {
|
|
@@ -131,7 +131,7 @@ import './style/fileUploadItem.css';const C = ["id"], F = { class: "rds-e-file-u
|
|
|
131
131
|
}), B = (t) => {
|
|
132
132
|
!o.disabled && t && b("action", { actionType: t.type, fileId: o.id });
|
|
133
133
|
};
|
|
134
|
-
return (t, i) => (
|
|
134
|
+
return (t, i) => (s(), l("div", {
|
|
135
135
|
id: e.id,
|
|
136
136
|
class: N(["rds-e-file-upload-item rds-radius-inputs", [_.value]]),
|
|
137
137
|
onMouseover: i[1] || (i[1] = (d) => m.value = !0),
|
|
@@ -149,13 +149,13 @@ import './style/fileUploadItem.css';const C = ["id"], F = { class: "rds-e-file-u
|
|
|
149
149
|
n("div", R, [
|
|
150
150
|
n("div", E, [
|
|
151
151
|
n("span", x, f(e.fileName), 1),
|
|
152
|
-
a.value !== "error" ? (
|
|
153
|
-
e.showFileSize ? (
|
|
154
|
-
a.value === "uploading" && e.timeRemaining ? (
|
|
152
|
+
a.value !== "error" ? (s(), l("div", D, [
|
|
153
|
+
e.showFileSize ? (s(), l("span", P, f(S.value), 1)) : r("", !0),
|
|
154
|
+
a.value === "uploading" && e.timeRemaining ? (s(), l("span", V, f(e.timeRemaining), 1)) : r("", !0)
|
|
155
155
|
])) : r("", !0),
|
|
156
|
-
a.value === "error" && e.errorMessage ? (
|
|
156
|
+
a.value === "error" && e.errorMessage ? (s(), l("div", q, f(e.errorMessage), 1)) : r("", !0)
|
|
157
157
|
]),
|
|
158
|
-
a.value === "uploading" && e.showProgressBar ? (
|
|
158
|
+
a.value === "uploading" && e.showProgressBar ? (s(), l("div", T, [
|
|
159
159
|
p(w, {
|
|
160
160
|
id: e.id,
|
|
161
161
|
class: "rds-e-file-upload-item__progress-bar",
|
|
@@ -171,7 +171,7 @@ import './style/fileUploadItem.css';const C = ["id"], F = { class: "rds-e-file-u
|
|
|
171
171
|
]),
|
|
172
172
|
n("div", j, [
|
|
173
173
|
v(t.$slots, "action", {}, () => [
|
|
174
|
-
e.action ? (
|
|
174
|
+
e.action ? (s(), l("button", {
|
|
175
175
|
key: 0,
|
|
176
176
|
type: "button",
|
|
177
177
|
class: "rds-e-file-upload-item__action-button",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as g, ref as b, computed as s,
|
|
2
|
-
import { R as o } from "./icon-svg-
|
|
1
|
+
import { defineComponent as g, ref as b, computed as s, openBlock as l, createElementBlock as a, normalizeClass as y, createBlock as c, createCommentVNode as r, toDisplayString as n, createElementVNode as k } from "vue";
|
|
2
|
+
import { R as o } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import './style/filterChip.css';const _ = ["id", "disabled"], I = {
|
|
5
5
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as u, ref as m,
|
|
2
|
-
import { R as S } from "./icon-svg-
|
|
1
|
+
import { defineComponent as u, ref as m, openBlock as b, createElementBlock as g, withKeys as s, normalizeClass as v, createElementVNode as x, toDisplayString as p, createVNode as y, withModifiers as l } from "vue";
|
|
2
|
+
import { R as S } from "./icon-svg-D73xSd7x.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
import './style/filterTag.css';const w = ["id", "aria-disabled", "tabindex"], _ = { class: "rds-e-filter-tag__text" }, k = /* @__PURE__ */ u({
|
|
5
5
|
__name: "filter-tag",
|
|
@@ -48,7 +48,7 @@ import './style/filterTag.css';const w = ["id", "aria-disabled", "tabindex"], _
|
|
|
48
48
|
function f() {
|
|
49
49
|
i.value = !1;
|
|
50
50
|
}
|
|
51
|
-
return (t, B) => (
|
|
51
|
+
return (t, B) => (b(), g("div", {
|
|
52
52
|
id: e.id,
|
|
53
53
|
class: v(["rds-e-filter-tag", {
|
|
54
54
|
"rds-e-filter-tag--disabled": e.disabled,
|
|
@@ -62,8 +62,8 @@ import './style/filterTag.css';const w = ["id", "aria-disabled", "tabindex"], _
|
|
|
62
62
|
onFocus: c,
|
|
63
63
|
onBlur: f
|
|
64
64
|
}, [
|
|
65
|
-
x("span", _,
|
|
66
|
-
|
|
65
|
+
x("span", _, p(e.text), 1),
|
|
66
|
+
y(S, {
|
|
67
67
|
name: "close",
|
|
68
68
|
class: "rds-e-filter-tag__icon",
|
|
69
69
|
"aria-label": "Eliminar filtro",
|