@dockou/elementplus 1.0.11 → 1.0.12
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 +33 -35
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -12962,74 +12962,72 @@ const u2e = /* @__PURE__ */ bn(l2e, [["__scopeId", "data-v-2636ba9d"]]), 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();
|
|
12966
12966
|
xn(async () => {
|
|
12967
|
-
|
|
12968
|
-
o.value = await n.options.filter((
|
|
12967
|
+
setTimeout(async () => {
|
|
12968
|
+
o.value = await n.options.filter((c) => c.type == "slot");
|
|
12969
12969
|
}, 3e3);
|
|
12970
|
-
}), vr(() => n.visible, (
|
|
12971
|
-
r.value =
|
|
12972
|
-
}), vr(() => r.value, (
|
|
12973
|
-
t("update:visible",
|
|
12970
|
+
}), vr(() => n.visible, (c) => {
|
|
12971
|
+
r.value = c;
|
|
12972
|
+
}), vr(() => r.value, (c) => {
|
|
12973
|
+
t("update:visible", c);
|
|
12974
12974
|
});
|
|
12975
|
-
const
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
}, l = (
|
|
12980
|
-
t("
|
|
12981
|
-
}, c = (d, p) => {
|
|
12982
|
-
t("change", d, p);
|
|
12975
|
+
const i = () => {
|
|
12976
|
+
r.value = !1;
|
|
12977
|
+
}, s = (c, d) => {
|
|
12978
|
+
t("on-text", c, d);
|
|
12979
|
+
}, l = (c, d) => {
|
|
12980
|
+
t("change", c, d);
|
|
12983
12981
|
};
|
|
12984
|
-
return (
|
|
12985
|
-
const
|
|
12986
|
-
return x(), K(
|
|
12982
|
+
return (c, d) => {
|
|
12983
|
+
const p = q("element-form"), v = q("el-scrollbar"), h = q("el-dialog");
|
|
12984
|
+
return x(), K(h, Te({
|
|
12987
12985
|
modelValue: r.value,
|
|
12988
|
-
"onUpdate:modelValue":
|
|
12989
|
-
},
|
|
12986
|
+
"onUpdate:modelValue": d[0] || (d[0] = (g) => r.value = g)
|
|
12987
|
+
}, c.$attrs, {
|
|
12990
12988
|
"destroy-on-close": !0,
|
|
12991
|
-
"before-close":
|
|
12989
|
+
"before-close": i
|
|
12992
12990
|
}), {
|
|
12993
12991
|
footer: z(() => [
|
|
12994
|
-
Je(
|
|
12992
|
+
Je(c.$slots, "action", { form: a.value })
|
|
12995
12993
|
]),
|
|
12996
12994
|
default: z(() => [
|
|
12997
|
-
W(
|
|
12995
|
+
W(v, { "max-height": e.scorllHeight }, {
|
|
12998
12996
|
default: z(() => [
|
|
12999
|
-
o.value && o.value.length ? (x(), K(
|
|
12997
|
+
o.value && o.value.length ? (x(), K(p, {
|
|
13000
12998
|
key: 0,
|
|
13001
12999
|
size: e.size,
|
|
13002
13000
|
"label-width": e.labelWidth,
|
|
13003
13001
|
ref_key: "dialog_form",
|
|
13004
13002
|
ref: a,
|
|
13005
|
-
options:
|
|
13003
|
+
options: e.options,
|
|
13006
13004
|
prefix: e.prefix,
|
|
13007
13005
|
api: e.api,
|
|
13008
|
-
onOnText:
|
|
13009
|
-
onChange:
|
|
13006
|
+
onOnText: s,
|
|
13007
|
+
onChange: l
|
|
13010
13008
|
}, Iu({
|
|
13011
13009
|
action: z(() => []),
|
|
13012
13010
|
_: 2
|
|
13013
13011
|
}, [
|
|
13014
|
-
wt(o.value, (
|
|
13015
|
-
name:
|
|
13012
|
+
wt(o.value, (g, m) => ({
|
|
13013
|
+
name: g.prop,
|
|
13016
13014
|
fn: z(() => [
|
|
13017
|
-
Je(
|
|
13018
|
-
data:
|
|
13015
|
+
Je(c.$slots, g == null ? void 0 : g.prop, {
|
|
13016
|
+
data: g.value
|
|
13019
13017
|
})
|
|
13020
13018
|
])
|
|
13021
13019
|
}))
|
|
13022
|
-
]), 1032, ["size", "label-width", "options", "prefix", "api"])) : (x(), K(
|
|
13020
|
+
]), 1032, ["size", "label-width", "options", "prefix", "api"])) : (x(), K(p, {
|
|
13023
13021
|
key: 1,
|
|
13024
13022
|
size: e.size,
|
|
13025
13023
|
"label-width": e.labelWidth,
|
|
13026
13024
|
ref_key: "dialog_form",
|
|
13027
13025
|
ref: a,
|
|
13028
|
-
options:
|
|
13026
|
+
options: e.options,
|
|
13029
13027
|
prefix: e.prefix,
|
|
13030
13028
|
api: e.api,
|
|
13031
|
-
onOnText:
|
|
13032
|
-
onChange:
|
|
13029
|
+
onOnText: s,
|
|
13030
|
+
onChange: l
|
|
13033
13031
|
}, {
|
|
13034
13032
|
action: z(() => []),
|
|
13035
13033
|
_: 1
|