@everchron/ec-shards 20.4.0 → 20.4.1
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/ec-shards.css +1 -1
- package/dist/ec-shards.js +25 -8
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -12806,16 +12806,30 @@ var np = /*#__PURE__*/ V(ep, [["render", tp], ["__scopeId", "data-v-1d2ad846"]])
|
|
|
12806
12806
|
loading: {
|
|
12807
12807
|
type: Boolean,
|
|
12808
12808
|
default: !1
|
|
12809
|
+
},
|
|
12810
|
+
size: {
|
|
12811
|
+
type: String,
|
|
12812
|
+
default: "md",
|
|
12813
|
+
validator: (e) => [
|
|
12814
|
+
"sml",
|
|
12815
|
+
"md",
|
|
12816
|
+
"lg"
|
|
12817
|
+
].includes(e)
|
|
12809
12818
|
}
|
|
12810
12819
|
},
|
|
12811
|
-
computed: {
|
|
12812
|
-
|
|
12813
|
-
|
|
12820
|
+
computed: {
|
|
12821
|
+
title() {
|
|
12822
|
+
return this.tooltip || "Clear";
|
|
12823
|
+
},
|
|
12824
|
+
sizeClass() {
|
|
12825
|
+
return `ecs-input-clear-${this.size}`;
|
|
12826
|
+
}
|
|
12827
|
+
}
|
|
12814
12828
|
}, ip = ["aria-busy"], ap = ["title"];
|
|
12815
12829
|
function op(e, t, n, r, i, a) {
|
|
12816
|
-
let u = j("ecs-
|
|
12830
|
+
let u = j("ecs-icon"), d = j("ecs-focus-ring");
|
|
12817
12831
|
return T(), c("div", {
|
|
12818
|
-
class: "ecs-input-clear",
|
|
12832
|
+
class: b(["ecs-input-clear", a.sizeClass]),
|
|
12819
12833
|
"aria-busy": n.loading || null
|
|
12820
12834
|
}, [l("button", {
|
|
12821
12835
|
onClick: t[0] ||= (t) => e.$emit("click", t),
|
|
@@ -12823,15 +12837,18 @@ function op(e, t, n, r, i, a) {
|
|
|
12823
12837
|
title: a.title,
|
|
12824
12838
|
class: "ecs-input-clear-button",
|
|
12825
12839
|
"aria-label": "Clear"
|
|
12826
|
-
}, [f(u, {
|
|
12840
|
+
}, [f(u, {
|
|
12841
|
+
type: "close",
|
|
12842
|
+
size: "14"
|
|
12843
|
+
}), f(d, { radius: 24 })], 40, ap), n.loading ? (T(), o(u, {
|
|
12827
12844
|
key: 0,
|
|
12828
12845
|
type: "loading",
|
|
12829
12846
|
size: "32",
|
|
12830
12847
|
spinning: "",
|
|
12831
12848
|
color: "#AEB1B9"
|
|
12832
|
-
})) : s("", !0)],
|
|
12849
|
+
})) : s("", !0)], 10, ip);
|
|
12833
12850
|
}
|
|
12834
|
-
var sp = /*#__PURE__*/ V(rp, [["render", op], ["__scopeId", "data-v-
|
|
12851
|
+
var sp = /*#__PURE__*/ V(rp, [["render", op], ["__scopeId", "data-v-95355454"]]), cp = {
|
|
12835
12852
|
name: "ecs-input-search",
|
|
12836
12853
|
emits: ["update:modelValue", "change"],
|
|
12837
12854
|
components: {
|