energy-components 2.3.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actionButton.es.js +31 -18
- package/dist/components/breadcrumbs.es.js +76 -52
- package/dist/components/link.es.js +63 -48
- package/dist/components/pagination.es.js +58 -47
- package/dist/components/persistentToast.es.js +34 -25
- package/dist/components/searchField.es.js +18 -9
- package/dist/components/sidedrawer.es.js +53 -40
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/breadcrumbs.css +1 -1
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -1
- package/dist/components/style/searchField.css +1 -1
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/table.css +1 -1
- package/dist/components/style/toggle.css +1 -1
- package/dist/components/table.es.js +85 -82
- package/dist/components/toggle.es.js +92 -36
- package/dist/energy-components.css +1 -1
- package/dist/energy-components.es.js +4842 -4690
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +62 -0
- package/dist/types/src/components/content/table/table.vue.d.ts +13 -0
- package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +15 -0
- package/dist/types/src/components/input/search-field/search-field.vue.d.ts +15 -0
- package/dist/types/src/components/input/toggle/toggle.vue.d.ts +20 -0
- package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +18 -3
- package/dist/types/src/components/navigation/breadcrumbs/breadcrumbs.vue.d.ts +30 -0
- package/dist/types/src/components/navigation/link/link.vue.d.ts +5 -5
- package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +21 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/llms/rdsaccordion-group.md +6 -0
- package/llms/rdsaccordion.md +6 -0
- package/llms/rdsaction-button.md +1 -0
- package/llms/rdsbadge.md +5 -0
- package/llms/rdsbreadcrumbs.md +2 -0
- package/llms/rdsdate-picker.md +6 -0
- package/llms/rdsdropdown.md +6 -0
- package/llms/rdslink.md +1 -1
- package/llms/rdsmodal.md +9 -0
- package/llms/rdspagination.md +6 -0
- package/llms/rdspersistent-toast.md +1 -0
- package/llms/rdspopover-menu.md +7 -0
- package/llms/rdspopover.md +7 -0
- package/llms/rdssearch-field.md +7 -0
- package/llms/rdssidebar.md +9 -0
- package/llms/rdssidedrawer.md +9 -0
- package/llms/rdstable.md +8 -1
- package/llms/rdstext-field.md +6 -0
- package/llms/rdstoggle.md +5 -0
- package/llms/rdstooltip.md +7 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { _ as
|
|
5
|
-
import './style/actionButton.css';const
|
|
1
|
+
import { defineComponent as u, computed as a, openBlock as l, createBlock as s, normalizeProps as f, mergeProps as i, withCtx as m, createVNode as y } from "vue";
|
|
2
|
+
import p from "./button.es.js";
|
|
3
|
+
import v from "./tooltip.es.js";
|
|
4
|
+
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import './style/actionButton.css';const P = /* @__PURE__ */ u({
|
|
6
6
|
__name: "action-button",
|
|
7
7
|
props: {
|
|
8
8
|
/**
|
|
@@ -75,35 +75,48 @@ import './style/actionButton.css';const c = /* @__PURE__ */ r({
|
|
|
75
75
|
validator(t) {
|
|
76
76
|
return t === void 0 || ["top", "bottom", "left", "right"].includes(t);
|
|
77
77
|
}
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* <span>Props adicionales para el RDSTooltip interno. Permite configurar cualquier prop de RDSTooltip
|
|
81
|
+
* (ej: teleportTo, offsetSpace, hideDelay, large…). Los valores aquí definidos sobreescriben
|
|
82
|
+
* los derivados de `tooltip` y `tooltipPosition`.</span>
|
|
83
|
+
*/
|
|
84
|
+
tooltipProps: {
|
|
85
|
+
type: Object,
|
|
86
|
+
default: () => ({})
|
|
78
87
|
}
|
|
79
88
|
},
|
|
80
89
|
setup(t) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}, {
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
const o = t, n = a(() => ({
|
|
91
|
+
content: o.tooltip,
|
|
92
|
+
placement: o.tooltipPosition || void 0,
|
|
93
|
+
inverse: o.inverse,
|
|
94
|
+
...o.tooltipProps
|
|
95
|
+
})), r = a(() => {
|
|
96
|
+
const { tooltip: e, tooltipPosition: d, tooltipProps: B, ...c } = o;
|
|
97
|
+
return c;
|
|
98
|
+
});
|
|
99
|
+
return (e, d) => n.value.content ? (l(), s(v, f(i({ key: 0 }, n.value)), {
|
|
100
|
+
default: m(() => [
|
|
101
|
+
y(p, i({
|
|
89
102
|
id: t.id,
|
|
90
103
|
class: "rds-e-btn--action"
|
|
91
|
-
}, { ...
|
|
104
|
+
}, { ...r.value, ...e.$attrs }, {
|
|
92
105
|
text: "",
|
|
93
106
|
"is-action": ""
|
|
94
107
|
}), null, 16, ["id"])
|
|
95
108
|
]),
|
|
96
109
|
_: 1
|
|
97
|
-
},
|
|
110
|
+
}, 16)) : (l(), s(p, i({
|
|
98
111
|
key: 1,
|
|
99
112
|
id: t.id,
|
|
100
113
|
class: "rds-e-btn--action"
|
|
101
|
-
}, { ...
|
|
114
|
+
}, { ...r.value, ...e.$attrs }, {
|
|
102
115
|
text: "",
|
|
103
116
|
"is-action": ""
|
|
104
117
|
}), null, 16, ["id"]));
|
|
105
118
|
}
|
|
106
|
-
}),
|
|
119
|
+
}), k = /* @__PURE__ */ g(P, [["__scopeId", "data-v-3c819ad5"]]);
|
|
107
120
|
export {
|
|
108
|
-
|
|
121
|
+
k as default
|
|
109
122
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { _ as
|
|
4
|
-
import './style/breadcrumbs.css';const R = ["id"],
|
|
1
|
+
import { defineComponent as h, toRefs as C, ref as y, watchEffect as L, onMounted as I, openBlock as c, createElementBlock as u, createElementVNode as T, normalizeClass as w, unref as B, Fragment as E, renderList as S, createVNode as x, mergeProps as P, toHandlers as j, withCtx as A, createCommentVNode as N } from "vue";
|
|
2
|
+
import V from "./link.es.js";
|
|
3
|
+
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import './style/breadcrumbs.css';const O = ["aria-label"], R = ["id"], q = { key: 0 }, z = /* @__PURE__ */ h({
|
|
5
5
|
__name: "breadcrumbs",
|
|
6
6
|
props: {
|
|
7
7
|
/**
|
|
@@ -32,6 +32,20 @@ import './style/breadcrumbs.css';const R = ["id"], V = { key: 0 }, q = /* @__PUR
|
|
|
32
32
|
type: Boolean,
|
|
33
33
|
default: !1
|
|
34
34
|
},
|
|
35
|
+
/**
|
|
36
|
+
* <span>Etiqueta accesible del landmark de navegación para i18n</span>
|
|
37
|
+
*/
|
|
38
|
+
ariaLabel: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "Breadcrumb"
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* <span>Etiqueta accesible del botón de elipsis para i18n</span>
|
|
44
|
+
*/
|
|
45
|
+
ellipsisAriaLabel: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: "Show hidden levels"
|
|
48
|
+
},
|
|
35
49
|
/**
|
|
36
50
|
* ID del breadcrumbs para testing
|
|
37
51
|
*/
|
|
@@ -41,81 +55,91 @@ import './style/breadcrumbs.css';const R = ["id"], V = { key: 0 }, q = /* @__PUR
|
|
|
41
55
|
}
|
|
42
56
|
},
|
|
43
57
|
emits: ["onClickTrimmedList", "onClickItem", "onClickEllipsis"],
|
|
44
|
-
setup(
|
|
45
|
-
const
|
|
58
|
+
setup(i, { emit: b }) {
|
|
59
|
+
const r = i, n = b, {
|
|
46
60
|
items: e,
|
|
47
|
-
inverse:
|
|
48
|
-
} =
|
|
49
|
-
|
|
50
|
-
},
|
|
51
|
-
|
|
61
|
+
inverse: d
|
|
62
|
+
} = C(r), s = y([]), v = () => {
|
|
63
|
+
r.leftTrim ? n("onClickTrimmedList", e.value.slice(0, -2)) : n("onClickTrimmedList", e.value.slice(1, -1));
|
|
64
|
+
}, f = () => {
|
|
65
|
+
s.value = [
|
|
52
66
|
e.value[0],
|
|
53
67
|
{
|
|
54
68
|
text: "...",
|
|
55
69
|
active: !1,
|
|
56
|
-
tag: "
|
|
70
|
+
tag: "button",
|
|
57
71
|
to: "",
|
|
58
72
|
clickable: !0
|
|
59
73
|
},
|
|
60
74
|
e.value[e.value.length - 1]
|
|
61
75
|
];
|
|
62
|
-
},
|
|
63
|
-
|
|
76
|
+
}, p = () => {
|
|
77
|
+
s.value = [
|
|
64
78
|
{
|
|
65
79
|
text: "...",
|
|
66
80
|
active: !1,
|
|
67
|
-
tag: "
|
|
81
|
+
tag: "button",
|
|
68
82
|
to: "",
|
|
69
83
|
clickable: !0
|
|
70
84
|
},
|
|
71
85
|
e.value[e.value.length - 2],
|
|
72
86
|
e.value[e.value.length - 1]
|
|
73
87
|
];
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
const
|
|
78
|
-
...
|
|
79
|
-
inverse:
|
|
80
|
-
customClass: "rds-e-breadcrumbs__link--text"
|
|
88
|
+
}, m = () => {
|
|
89
|
+
r.trimItems && e.value.length >= 3 ? f() : r.leftTrim && e.value.length >= 3 ? p() : typeof r.items == "object" ? s.value = r.items : console.error("energy-components: The prop is not an Object");
|
|
90
|
+
}, k = (t, o) => {
|
|
91
|
+
const l = {
|
|
92
|
+
...t,
|
|
93
|
+
inverse: d.value,
|
|
94
|
+
customClass: "rds-e-breadcrumbs__link--text",
|
|
95
|
+
"aria-current": t?.active ? "page" : void 0,
|
|
96
|
+
"aria-label": t?.clickable ? r.ellipsisAriaLabel : void 0,
|
|
97
|
+
type: t?.clickable ? "button" : void 0
|
|
81
98
|
};
|
|
82
|
-
return
|
|
99
|
+
return o !== s.value.length - 1 && Object.assign(l, {
|
|
83
100
|
arrow: !0,
|
|
84
101
|
right: !0,
|
|
85
102
|
arrowSmall: !0
|
|
86
|
-
}),
|
|
87
|
-
}, _ = (
|
|
88
|
-
click: (
|
|
89
|
-
if (
|
|
90
|
-
const
|
|
91
|
-
|
|
103
|
+
}), l;
|
|
104
|
+
}, _ = (t, o) => ({
|
|
105
|
+
click: (l) => {
|
|
106
|
+
if (n("onClickItem", { item: t, index: o ?? -1, event: l }), t?.clickable) {
|
|
107
|
+
const a = r.leftTrim ? e.value.slice(0, -2) : e.value.slice(1, -1);
|
|
108
|
+
n("onClickEllipsis", { trimmed: a, event: l }), v(), l?.preventDefault?.(), l?.stopPropagation?.();
|
|
92
109
|
}
|
|
93
110
|
}
|
|
94
|
-
}), g = (
|
|
111
|
+
}), g = (t) => [
|
|
95
112
|
"rds-e-breadcrumbs__link",
|
|
96
|
-
|
|
97
|
-
|
|
113
|
+
t?.clickable ? "rds-e-breadcrumbs__ellipsis-button" : "",
|
|
114
|
+
t?.active ? "rds-e-breadcrumbs__link--active" : "",
|
|
115
|
+
d.value && t?.active ? "rds-e-breadcrumbs__link--inverse-active" : ""
|
|
98
116
|
];
|
|
99
|
-
return
|
|
100
|
-
|
|
101
|
-
}),
|
|
102
|
-
|
|
103
|
-
}), (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
+
return L(() => {
|
|
118
|
+
m();
|
|
119
|
+
}), I(() => {
|
|
120
|
+
m();
|
|
121
|
+
}), (t, o) => (c(), u("nav", { "aria-label": i.ariaLabel }, [
|
|
122
|
+
T("ol", {
|
|
123
|
+
class: w(["rds-e-breadcrumbs", `${B(d) ? "rds-e-breadcrumbs--inverse" : ""}`])
|
|
124
|
+
}, [
|
|
125
|
+
(c(!0), u(E, null, S(s.value, (l, a) => (c(), u("li", {
|
|
126
|
+
id: i.id ? `${i.id}-${a}` : void 0,
|
|
127
|
+
key: a,
|
|
128
|
+
class: "rds-e-breadcrumbs__item"
|
|
129
|
+
}, [
|
|
130
|
+
x(V, P({
|
|
131
|
+
class: g(l)
|
|
132
|
+
}, { ref_for: !0 }, k(l, a), j(_(l, a))), {
|
|
133
|
+
default: A(() => [
|
|
134
|
+
l?.clickable ? (c(), u("span", q, "...")) : N("", !0)
|
|
135
|
+
]),
|
|
136
|
+
_: 2
|
|
137
|
+
}, 1040, ["class"])
|
|
138
|
+
], 8, R))), 128))
|
|
139
|
+
], 2)
|
|
140
|
+
], 8, O));
|
|
117
141
|
}
|
|
118
|
-
}),
|
|
142
|
+
}), G = /* @__PURE__ */ D(z, [["__scopeId", "data-v-28c9477d"]]);
|
|
119
143
|
export {
|
|
120
|
-
|
|
144
|
+
G as default
|
|
121
145
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { s as
|
|
3
|
-
import { R as
|
|
4
|
-
import { _ as
|
|
5
|
-
import './style/link.css';const
|
|
1
|
+
import { defineComponent as D, useAttrs as j, computed as t, openBlock as i, createBlock as l, resolveDynamicComponent as A, mergeProps as d, withCtx as E, createCommentVNode as s, createElementBlock as g, normalizeClass as v, renderSlot as b, createTextVNode as h, toDisplayString as w } from "vue";
|
|
2
|
+
import { s as O } from "./functions-D3GA3OzJ.js";
|
|
3
|
+
import { R as c } from "./icon-svg-CW3eQRcp.js";
|
|
4
|
+
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import './style/link.css';const L = /* @__PURE__ */ D({
|
|
6
6
|
__name: "link",
|
|
7
7
|
props: {
|
|
8
8
|
/**
|
|
@@ -24,10 +24,10 @@ import './style/link.css';const O = /* @__PURE__ */ B({
|
|
|
24
24
|
icon: {
|
|
25
25
|
type: Object,
|
|
26
26
|
default: () => ({ name: "", modifier: "" }),
|
|
27
|
-
validator: (
|
|
27
|
+
validator: (a) => typeof a.name == "string" && (a.modifier === void 0 || typeof a.modifier == "string") ? !0 : (console.error("El icono debe tener una propiedad name de tipo string y una propiedad modifier opcional de tipo string"), !1)
|
|
28
28
|
},
|
|
29
29
|
/**
|
|
30
|
-
* <span>Tag del link</span>
|
|
30
|
+
* <span>Tag semántico del componente. Valores soportados: <code>router-link</code> (navegación interna), <code>a</code> (enlace externo) y <code>button</code> (acción sin navegación).</span>
|
|
31
31
|
*/
|
|
32
32
|
tag: {
|
|
33
33
|
type: String,
|
|
@@ -98,93 +98,108 @@ import './style/link.css';const O = /* @__PURE__ */ B({
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
emits: ["click"],
|
|
101
|
-
setup(
|
|
102
|
-
const e =
|
|
101
|
+
setup(a, { emit: u }) {
|
|
102
|
+
const e = a, p = u, f = j(), S = t(() => {
|
|
103
103
|
const r = {};
|
|
104
104
|
return e.color && (r.color = e.color), e.disabled && (r["pointer-events"] = "none"), Object.keys(r).length ? r : void 0;
|
|
105
|
-
}),
|
|
106
|
-
const r =
|
|
107
|
-
return
|
|
108
|
-
}),
|
|
105
|
+
}), x = t(() => O(e.to)), C = t(() => {
|
|
106
|
+
const r = f.rel;
|
|
107
|
+
return f.target === "_blank" ? r || "noopener noreferrer" : r;
|
|
108
|
+
}), o = t(() => e.tag === "a" ? "a" : e.tag === "button" ? "button" : "router-link"), z = t(() => {
|
|
109
109
|
const r = ["rds-e-link"];
|
|
110
110
|
return e.inverse && r.push("rds-e-link--inverse"), e.underline && r.push("rds-e-link--underline"), e.disabled && r.push("rds-e-style-state-disabled"), !!(e.arrow || e.icon?.name) && r.push("rds-e-arrow-link"), e.customClass === "rds-e-breadcrumbs__link--text" && r.push("rds-e-link__breadcrumbs"), r.join(" ");
|
|
111
|
-
}),
|
|
111
|
+
}), m = t(() => {
|
|
112
112
|
const r = [];
|
|
113
113
|
return e.arrow && r.push("rds-e-arrow-link__icon--arrow"), e.icon?.name && !e.arrow && (r.push("rds-e-arrow-link__icon"), e.disabled && r.push("rds-e-arrow-link__icon--disabled"), e.inverse && r.push("rds-e-arrow-link__icon--inverse")), r.push(
|
|
114
114
|
e.right ? "rds-e-arrow-link__icon--animation-right" : "rds-e-arrow-link__icon--animation-left"
|
|
115
115
|
), r.join(" ");
|
|
116
|
-
}),
|
|
116
|
+
}), k = t(() => !!(e.arrow || e.icon?.name)), B = (r) => {
|
|
117
117
|
if (e.disabled) {
|
|
118
118
|
r.preventDefault(), r.stopPropagation();
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
|
|
121
|
+
p("click", r);
|
|
122
|
+
}, I = (r) => {
|
|
123
|
+
if (e.disabled || o.value !== "button") return;
|
|
124
|
+
const n = r.key?.toLowerCase();
|
|
125
|
+
if (!(n === "enter") && !(n === " " || n === "space")) return;
|
|
126
|
+
r.preventDefault();
|
|
127
|
+
const y = r.currentTarget;
|
|
128
|
+
if (y) {
|
|
129
|
+
y.click();
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
p("click", r);
|
|
133
|
+
}, _ = t(() => e.icon?.size ?? 20);
|
|
134
|
+
return (r, n) => (i(), l(A(o.value), d({
|
|
124
135
|
id: e.id,
|
|
125
|
-
class:
|
|
126
|
-
|
|
127
|
-
|
|
136
|
+
class: z.value,
|
|
137
|
+
type: o.value === "button" ? "button" : void 0,
|
|
138
|
+
to: o.value === "router-link" ? e.to : null,
|
|
139
|
+
href: o.value === "a" ? x.value : null
|
|
128
140
|
}, r.$attrs, {
|
|
129
|
-
rel:
|
|
130
|
-
style:
|
|
141
|
+
rel: C.value,
|
|
142
|
+
style: S.value,
|
|
131
143
|
tabindex: e.disabled ? -1 : 0,
|
|
132
144
|
"aria-disabled": e.disabled,
|
|
133
|
-
|
|
145
|
+
disabled: o.value === "button" ? e.disabled : void 0,
|
|
146
|
+
onClick: B,
|
|
147
|
+
onKeydown: I
|
|
134
148
|
}), {
|
|
135
|
-
default:
|
|
136
|
-
e.icon.name && !e.right && !e.arrow ? (
|
|
149
|
+
default: E(() => [
|
|
150
|
+
e.icon.name && !e.right && !e.arrow ? (i(), l(c, d({
|
|
137
151
|
key: 0,
|
|
138
152
|
name: e.icon.name
|
|
139
153
|
}, {
|
|
140
154
|
...e.icon
|
|
141
155
|
}, {
|
|
142
|
-
class: ["rds-e-link__icon-left",
|
|
143
|
-
size:
|
|
156
|
+
class: ["rds-e-link__icon-left", m.value],
|
|
157
|
+
size: _.value,
|
|
144
158
|
style: e.color ? { color: e.color } : void 0
|
|
145
|
-
}), null, 16, ["name", "class", "size", "style"])) :
|
|
146
|
-
e.right ? (
|
|
159
|
+
}), null, 16, ["name", "class", "size", "style"])) : s("", !0),
|
|
160
|
+
e.right ? (i(), g("span", {
|
|
147
161
|
key: 1,
|
|
148
|
-
class:
|
|
149
|
-
"rds-e-mr-xs":
|
|
162
|
+
class: v(["rds-e-link__text", [e.customClass, {
|
|
163
|
+
"rds-e-mr-xs": k.value,
|
|
150
164
|
"rds-e-link__text--underline": e.underline
|
|
151
165
|
}]])
|
|
152
166
|
}, [
|
|
153
|
-
|
|
154
|
-
|
|
167
|
+
b(r.$slots, "default", {}, () => [
|
|
168
|
+
h(w(e.text), 1)
|
|
155
169
|
], !0)
|
|
156
|
-
], 2)) :
|
|
157
|
-
e.arrow ? (
|
|
170
|
+
], 2)) : s("", !0),
|
|
171
|
+
e.arrow ? (i(), l(c, d({ key: 2 }, {
|
|
158
172
|
name: e.right ? "arrow_right" : "arrow_left",
|
|
159
173
|
size: e.arrowSmall ? 16 : void 0
|
|
160
174
|
}, {
|
|
175
|
+
"aria-hidden": "true",
|
|
161
176
|
class: ["rds-e-arrow-link__icon--arrow", [
|
|
162
177
|
e.right ? "rds-e-arrow-link__icon--animation-right" : "rds-e-arrow-link__icon--animation-left",
|
|
163
178
|
{ "rds-flex rds-flex-center-center": e.arrowSmall }
|
|
164
179
|
]],
|
|
165
180
|
style: e.color ? { color: e.color } : void 0
|
|
166
|
-
}), null, 16, ["class", "style"])) :
|
|
167
|
-
e.right ?
|
|
181
|
+
}), null, 16, ["class", "style"])) : s("", !0),
|
|
182
|
+
e.right ? s("", !0) : (i(), g("span", {
|
|
168
183
|
key: 3,
|
|
169
|
-
class:
|
|
184
|
+
class: v(["rds-e-link__text", { "rds-e-ml-xs": k.value }])
|
|
170
185
|
}, [
|
|
171
|
-
|
|
172
|
-
|
|
186
|
+
b(r.$slots, "default", {}, () => [
|
|
187
|
+
h(w(e.text), 1)
|
|
173
188
|
], !0)
|
|
174
189
|
], 2)),
|
|
175
|
-
e.icon.name && e.right && !e.arrow ? (
|
|
190
|
+
e.icon.name && e.right && !e.arrow ? (i(), l(c, d({
|
|
176
191
|
key: 4,
|
|
177
192
|
name: e.icon.name
|
|
178
193
|
}, e.icon, {
|
|
179
|
-
class: ["rds-e-link__icon-right",
|
|
180
|
-
size:
|
|
194
|
+
class: ["rds-e-link__icon-right", m.value],
|
|
195
|
+
size: _.value,
|
|
181
196
|
style: e.color ? { color: e.color } : void 0
|
|
182
|
-
}), null, 16, ["name", "class", "size", "style"])) :
|
|
197
|
+
}), null, 16, ["name", "class", "size", "style"])) : s("", !0)
|
|
183
198
|
]),
|
|
184
199
|
_: 3
|
|
185
|
-
}, 16, ["id", "class", "to", "href", "rel", "style", "tabindex", "aria-disabled"]));
|
|
200
|
+
}, 16, ["id", "class", "type", "to", "href", "rel", "style", "tabindex", "aria-disabled", "disabled"]));
|
|
186
201
|
}
|
|
187
|
-
}),
|
|
202
|
+
}), M = /* @__PURE__ */ T(L, [["__scopeId", "data-v-724ec928"]]);
|
|
188
203
|
export {
|
|
189
|
-
|
|
204
|
+
M as default
|
|
190
205
|
};
|