@dockou/elementplus 1.0.10 → 1.0.11
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/index.es.js +41 -36
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
package/index.es.js
CHANGED
|
@@ -12730,8 +12730,8 @@ const r2e = /* @__PURE__ */ bn(n2e, [["__scopeId", "data-v-35d21d1e"]]), o2e = {
|
|
|
12730
12730
|
setup(e, { emit: t }) {
|
|
12731
12731
|
const n = e;
|
|
12732
12732
|
dl((S) => ({
|
|
12733
|
-
|
|
12734
|
-
"
|
|
12733
|
+
51157394: i.value,
|
|
12734
|
+
"1aba4088": s.value
|
|
12735
12735
|
})), $r();
|
|
12736
12736
|
const r = se(null), o = se(10), a = se([]), i = se("#F8F8F8"), s = se(""), l = se(!1), c = se("default"), d = se([]), p = se([]);
|
|
12737
12737
|
se([{ type: "varchar", label: "key", props: "key" }]);
|
|
@@ -12760,7 +12760,7 @@ const r2e = /* @__PURE__ */ bn(n2e, [["__scopeId", "data-v-35d21d1e"]]), o2e = {
|
|
|
12760
12760
|
setTimeout(async () => {
|
|
12761
12761
|
var S, $, P, U, T;
|
|
12762
12762
|
d.value = v.value, (S = n.options) != null && S.limit && n.options.limit > 0 && (o.value = n.options.limit), ($ = n.options) != null && $.bgColor && n.options.bgColor != "" && (i.value = n.options.bgColor), (P = n.options) != null && P.textColor && n.options.textColor != "" && (s.value = n.options.textColor), (U = n.options) != null && U.size && n.options.size && (c.value = n.options.size), l.value = (T = n.options) == null ? void 0 : T.is_plus, h(), g(), await m();
|
|
12763
|
-
},
|
|
12763
|
+
}, 500);
|
|
12764
12764
|
});
|
|
12765
12765
|
const h = () => {
|
|
12766
12766
|
var S, $;
|
|
@@ -12922,7 +12922,7 @@ const r2e = /* @__PURE__ */ bn(n2e, [["__scopeId", "data-v-35d21d1e"]]), o2e = {
|
|
|
12922
12922
|
};
|
|
12923
12923
|
}
|
|
12924
12924
|
});
|
|
12925
|
-
const u2e = /* @__PURE__ */ bn(l2e, [["__scopeId", "data-v-
|
|
12925
|
+
const u2e = /* @__PURE__ */ bn(l2e, [["__scopeId", "data-v-2636ba9d"]]), c2e = {
|
|
12926
12926
|
install(e) {
|
|
12927
12927
|
e.component("element-form-table", u2e);
|
|
12928
12928
|
}
|
|
@@ -12962,69 +12962,74 @@ const u2e = /* @__PURE__ */ bn(l2e, [["__scopeId", "data-v-77a71b0b"]]), c2e = {
|
|
|
12962
12962
|
setup(e, { emit: t }) {
|
|
12963
12963
|
const n = e, r = se(n.visible);
|
|
12964
12964
|
o_();
|
|
12965
|
-
const o = se([]), a = se();
|
|
12965
|
+
const o = se([]), a = se(), i = se((n == null ? void 0 : n.options) || []);
|
|
12966
12966
|
xn(async () => {
|
|
12967
|
-
setTimeout(async () => {
|
|
12968
|
-
o.value = await n.options.filter((
|
|
12967
|
+
i.value = n.options, setTimeout(async () => {
|
|
12968
|
+
o.value = await n.options.filter((d) => d.type == "slot");
|
|
12969
12969
|
}, 3e3);
|
|
12970
|
-
}), vr(() => n.visible, (
|
|
12971
|
-
r.value =
|
|
12972
|
-
}), vr(() => r.value, (
|
|
12973
|
-
t("update:visible",
|
|
12970
|
+
}), vr(() => n.visible, (d) => {
|
|
12971
|
+
r.value = d;
|
|
12972
|
+
}), vr(() => r.value, (d) => {
|
|
12973
|
+
t("update:visible", d);
|
|
12974
12974
|
});
|
|
12975
|
-
const
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
}, l = (
|
|
12980
|
-
t("
|
|
12975
|
+
const s = () => {
|
|
12976
|
+
i.value = [], setTimeout(() => {
|
|
12977
|
+
r.value = !1;
|
|
12978
|
+
}, 500);
|
|
12979
|
+
}, l = (d, p) => {
|
|
12980
|
+
t("on-text", d, p);
|
|
12981
|
+
}, c = (d, p) => {
|
|
12982
|
+
t("change", d, p);
|
|
12981
12983
|
};
|
|
12982
|
-
return (
|
|
12983
|
-
const
|
|
12984
|
-
return x(), K(
|
|
12984
|
+
return (d, p) => {
|
|
12985
|
+
const v = q("element-form"), h = q("el-scrollbar"), g = q("el-dialog");
|
|
12986
|
+
return x(), K(g, Te({
|
|
12985
12987
|
modelValue: r.value,
|
|
12986
|
-
"onUpdate:modelValue":
|
|
12987
|
-
},
|
|
12988
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => r.value = m)
|
|
12989
|
+
}, d.$attrs, {
|
|
12990
|
+
"destroy-on-close": !0,
|
|
12991
|
+
"before-close": s
|
|
12992
|
+
}), {
|
|
12988
12993
|
footer: z(() => [
|
|
12989
|
-
Je(
|
|
12994
|
+
Je(d.$slots, "action", { form: a.value })
|
|
12990
12995
|
]),
|
|
12991
12996
|
default: z(() => [
|
|
12992
|
-
W(
|
|
12997
|
+
W(h, { "max-height": e.scorllHeight }, {
|
|
12993
12998
|
default: z(() => [
|
|
12994
|
-
o.value && o.value.length ? (x(), K(
|
|
12999
|
+
o.value && o.value.length ? (x(), K(v, {
|
|
12995
13000
|
key: 0,
|
|
12996
13001
|
size: e.size,
|
|
12997
13002
|
"label-width": e.labelWidth,
|
|
12998
13003
|
ref_key: "dialog_form",
|
|
12999
13004
|
ref: a,
|
|
13000
|
-
options:
|
|
13005
|
+
options: i.value,
|
|
13001
13006
|
prefix: e.prefix,
|
|
13002
13007
|
api: e.api,
|
|
13003
|
-
onOnText:
|
|
13004
|
-
onChange:
|
|
13008
|
+
onOnText: l,
|
|
13009
|
+
onChange: c
|
|
13005
13010
|
}, Iu({
|
|
13006
13011
|
action: z(() => []),
|
|
13007
13012
|
_: 2
|
|
13008
13013
|
}, [
|
|
13009
|
-
wt(o.value, (
|
|
13010
|
-
name:
|
|
13014
|
+
wt(o.value, (m, w) => ({
|
|
13015
|
+
name: m.prop,
|
|
13011
13016
|
fn: z(() => [
|
|
13012
|
-
Je(
|
|
13013
|
-
data:
|
|
13017
|
+
Je(d.$slots, m == null ? void 0 : m.prop, {
|
|
13018
|
+
data: m.value
|
|
13014
13019
|
})
|
|
13015
13020
|
])
|
|
13016
13021
|
}))
|
|
13017
|
-
]), 1032, ["size", "label-width", "options", "prefix", "api"])) : (x(), K(
|
|
13022
|
+
]), 1032, ["size", "label-width", "options", "prefix", "api"])) : (x(), K(v, {
|
|
13018
13023
|
key: 1,
|
|
13019
13024
|
size: e.size,
|
|
13020
13025
|
"label-width": e.labelWidth,
|
|
13021
13026
|
ref_key: "dialog_form",
|
|
13022
13027
|
ref: a,
|
|
13023
|
-
options:
|
|
13028
|
+
options: i.value,
|
|
13024
13029
|
prefix: e.prefix,
|
|
13025
13030
|
api: e.api,
|
|
13026
|
-
onOnText:
|
|
13027
|
-
onChange:
|
|
13031
|
+
onOnText: l,
|
|
13032
|
+
onChange: c
|
|
13028
13033
|
}, {
|
|
13029
13034
|
action: z(() => []),
|
|
13030
13035
|
_: 1
|