adverich-kun-ui 0.1.509 → 0.1.510
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.
|
@@ -87,7 +87,7 @@ const Ue = {
|
|
|
87
87
|
hasActions: m.hasActions
|
|
88
88
|
})), Se = [os, ce.value], Ce = [ts, ie.value];
|
|
89
89
|
Pe(() => G());
|
|
90
|
-
const q = S(null),
|
|
90
|
+
const q = S(null), H = S(!0), T = S(!1);
|
|
91
91
|
function ke() {
|
|
92
92
|
Te();
|
|
93
93
|
}
|
|
@@ -97,17 +97,17 @@ const Ue = {
|
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
99
99
|
function G() {
|
|
100
|
-
f.value && (V.value = "w-fit",
|
|
100
|
+
f.value && (V.value = "w-fit", H.value = !1, T.value = !0, k("focusOnSearch", !1));
|
|
101
101
|
}
|
|
102
102
|
function J() {
|
|
103
|
-
f.value && (V.value = "w-full border",
|
|
103
|
+
f.value && (V.value = "w-full border", T.value = !1, H.value = !0, k("focusOnSearch", !0));
|
|
104
104
|
}
|
|
105
105
|
const V = S("w-full border max-w-sm");
|
|
106
106
|
return (e, o) => (t(), n("div", O({ class: Se }, e.$attrs, { style: { "user-select": "text" } }), [
|
|
107
107
|
s(U) || e.filterable || e.$slots.prependHeader || e.$slots.prependSearch || e.$slots.appendSearch ? (t(), n("div", Ue, [
|
|
108
|
-
T.value ?
|
|
108
|
+
T.value ? (t(), n("div", We, [
|
|
109
109
|
r(e.$slots, "prependHeader")
|
|
110
|
-
])),
|
|
110
|
+
])) : a("", !0),
|
|
111
111
|
w.value.length ? (t(), n("div", Qe, [
|
|
112
112
|
C("span", qe, "Se han seleccionado " + j(w.value.length) + " registros.", 1),
|
|
113
113
|
s(u).length !== s(h).length ? (t(), n(_, { key: 0 }, [
|
|
@@ -157,13 +157,13 @@ const Ue = {
|
|
|
157
157
|
onBlur: G
|
|
158
158
|
}, null, 42, Je), [
|
|
159
159
|
[Ae, y.value],
|
|
160
|
-
[se,
|
|
160
|
+
[se, H.value]
|
|
161
161
|
]),
|
|
162
162
|
ee(F(le, {
|
|
163
163
|
icon: Ee,
|
|
164
164
|
onClick: ke
|
|
165
165
|
}, null, 512), [
|
|
166
|
-
[se,
|
|
166
|
+
[se, T.value]
|
|
167
167
|
])
|
|
168
168
|
], 2)) : a("", !0),
|
|
169
169
|
r(e.$slots, "appendSearch")
|