@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 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(), i = se((n == null ? void 0 : n.options) || []);
12965
+ const o = se([]), a = se();
12966
12966
  xn(async () => {
12967
- i.value = n.options, setTimeout(async () => {
12968
- o.value = await n.options.filter((d) => d.type == "slot");
12967
+ setTimeout(async () => {
12968
+ o.value = await n.options.filter((c) => c.type == "slot");
12969
12969
  }, 3e3);
12970
- }), vr(() => n.visible, (d) => {
12971
- r.value = d;
12972
- }), vr(() => r.value, (d) => {
12973
- t("update:visible", d);
12970
+ }), vr(() => n.visible, (c) => {
12971
+ r.value = c;
12972
+ }), vr(() => r.value, (c) => {
12973
+ t("update:visible", c);
12974
12974
  });
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);
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 (d, p) => {
12985
- const v = q("element-form"), h = q("el-scrollbar"), g = q("el-dialog");
12986
- return x(), K(g, Te({
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": p[0] || (p[0] = (m) => r.value = m)
12989
- }, d.$attrs, {
12986
+ "onUpdate:modelValue": d[0] || (d[0] = (g) => r.value = g)
12987
+ }, c.$attrs, {
12990
12988
  "destroy-on-close": !0,
12991
- "before-close": s
12989
+ "before-close": i
12992
12990
  }), {
12993
12991
  footer: z(() => [
12994
- Je(d.$slots, "action", { form: a.value })
12992
+ Je(c.$slots, "action", { form: a.value })
12995
12993
  ]),
12996
12994
  default: z(() => [
12997
- W(h, { "max-height": e.scorllHeight }, {
12995
+ W(v, { "max-height": e.scorllHeight }, {
12998
12996
  default: z(() => [
12999
- o.value && o.value.length ? (x(), K(v, {
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: i.value,
13003
+ options: e.options,
13006
13004
  prefix: e.prefix,
13007
13005
  api: e.api,
13008
- onOnText: l,
13009
- onChange: c
13006
+ onOnText: s,
13007
+ onChange: l
13010
13008
  }, Iu({
13011
13009
  action: z(() => []),
13012
13010
  _: 2
13013
13011
  }, [
13014
- wt(o.value, (m, w) => ({
13015
- name: m.prop,
13012
+ wt(o.value, (g, m) => ({
13013
+ name: g.prop,
13016
13014
  fn: z(() => [
13017
- Je(d.$slots, m == null ? void 0 : m.prop, {
13018
- data: m.value
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(v, {
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: i.value,
13026
+ options: e.options,
13029
13027
  prefix: e.prefix,
13030
13028
  api: e.api,
13031
- onOnText: l,
13032
- onChange: c
13029
+ onOnText: s,
13030
+ onChange: l
13033
13031
  }, {
13034
13032
  action: z(() => []),
13035
13033
  _: 1