magtool 1.5.5 → 1.5.7

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/README.1.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # magtool
2
2
 
3
+ 1.5.6
4
+ element-plus DIY Style
5
+
3
6
  1.5.0
4
7
  增加Mvc与Super组件
5
8
 
package/dist/component.js CHANGED
@@ -419,7 +419,7 @@ const Ye = { class: "fw700" }, Le = P({
419
419
  a.chartID = `chart${+/* @__PURE__ */ new Date()}${parseInt(Math.random() * 1e4)}`;
420
420
  }), re(() => {
421
421
  a.mounted = !0, a.chart = Ce(
422
- window.$echarts.init(o.$refs.chart, { renderer: "svg" })
422
+ window.$ecs.init(o.$refs.chart, { renderer: "svg" })
423
423
  );
424
424
  });
425
425
  const h = s, x = async () => {
@@ -620,7 +620,7 @@ const Ye = { class: "fw700" }, Le = P({
620
620
  }, null, 12, He)
621
621
  ]));
622
622
  }
623
- }), We = /* @__PURE__ */ ue(Ke, [["__scopeId", "data-v-f95eb323"]]), qe = {
623
+ }), We = /* @__PURE__ */ ue(Ke, [["__scopeId", "data-v-1ca6c9cd"]]), qe = {
624
624
  class: "MvcIcon",
625
625
  "aria-hidden": "true"
626
626
  }, Ze = ["xlink:href"], Qe = P({
@@ -678,9 +678,9 @@ const Ye = { class: "fw700" }, Le = P({
678
678
  class: [t(e).diyClass, s.imageClass],
679
679
  style: t(e).style
680
680
  }), {
681
- placeholder: b(() => x[0] || (x[0] = [
681
+ placeholder: b(() => [...x[0] || (x[0] = [
682
682
  c("i", { class: "imicon im-loading ani-rotate" }, null, -1)
683
- ])),
683
+ ])]),
684
684
  error: b(() => [
685
685
  c("div", tt, [
686
686
  c("span", ot, I(h.$l("Fail")), 1)
@@ -1181,9 +1181,9 @@ const Ye = { class: "fw700" }, Le = P({
1181
1181
  plain: "",
1182
1182
  onClick: i[0] || (i[0] = (B) => x(B))
1183
1183
  }, {
1184
- icon: b(() => i[2] || (i[2] = [
1184
+ icon: b(() => [...i[2] || (i[2] = [
1185
1185
  c("i", { class: "imicon im-reset" }, null, -1)
1186
- ])),
1186
+ ])]),
1187
1187
  default: b(() => [
1188
1188
  ne(" " + I(d.$l("Refresh")), 1)
1189
1189
  ]),
@@ -1194,9 +1194,9 @@ const Ye = { class: "fw700" }, Le = P({
1194
1194
  plain: "",
1195
1195
  onClick: O
1196
1196
  }, {
1197
- icon: b(() => i[3] || (i[3] = [
1197
+ icon: b(() => [...i[3] || (i[3] = [
1198
1198
  c("i", { class: "imicon im-columns1" }, null, -1)
1199
- ])),
1199
+ ])]),
1200
1200
  default: b(() => [
1201
1201
  ne(" " + I(d.$l("Columns")), 1)
1202
1202
  ]),
@@ -1207,9 +1207,9 @@ const Ye = { class: "fw700" }, Le = P({
1207
1207
  plain: "",
1208
1208
  onClick: A
1209
1209
  }, {
1210
- icon: b(() => i[4] || (i[4] = [
1210
+ icon: b(() => [...i[4] || (i[4] = [
1211
1211
  c("i", { class: "imicon im-download1" }, null, -1)
1212
- ])),
1212
+ ])]),
1213
1213
  default: b(() => [
1214
1214
  ne(" " + I(d.$l("Download")), 1)
1215
1215
  ]),
@@ -2020,9 +2020,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
2020
2020
  }), (S, d) => {
2021
2021
  const i = N("el-input");
2022
2022
  return p(), D("div", _o, [
2023
- e.loading ? (p(), D("div", bo, d[1] || (d[1] = [
2023
+ e.loading ? (p(), D("div", bo, [...d[1] || (d[1] = [
2024
2024
  c("i", { class: "imicon im-loading ani-rotate" }, null, -1)
2025
- ]))) : Y("", !0),
2025
+ ])])) : Y("", !0),
2026
2026
  z(i, {
2027
2027
  ref: "input",
2028
2028
  modelValue: t(o).v,
@@ -2049,9 +2049,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
2049
2049
  c("div", {
2050
2050
  class: K(["clearArea abs txt-dark3 hover-txt-red5", [t(o).v && "content"]]),
2051
2051
  onClick: O
2052
- }, d[3] || (d[3] = [
2052
+ }, [...d[3] || (d[3] = [
2053
2053
  c("i", { class: "imicon im-close-circle" }, null, -1)
2054
- ]), 2),
2054
+ ])], 2),
2055
2055
  S.$slots.prefix ? (p(), D("div", {
2056
2056
  key: 2,
2057
2057
  class: "prefix abs l t",
@@ -2258,9 +2258,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
2258
2258
  circle: "",
2259
2259
  onClick: m[0] || (m[0] = (y) => u.$copy(t(e).single, "ID"))
2260
2260
  }, {
2261
- icon: b(() => m[2] || (m[2] = [
2261
+ icon: b(() => [...m[2] || (m[2] = [
2262
2262
  c("i", { class: "imicon im-copy" }, null, -1)
2263
- ])),
2263
+ ])]),
2264
2264
  _: 1
2265
2265
  })
2266
2266
  ]),
@@ -2506,9 +2506,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
2506
2506
  circle: "",
2507
2507
  onClick: $[1] || ($[1] = (F) => i.$copy(t(o).single, "ID"))
2508
2508
  }, {
2509
- icon: b(() => $[3] || ($[3] = [
2509
+ icon: b(() => [...$[3] || ($[3] = [
2510
2510
  c("i", { class: "imicon im-copy" }, null, -1)
2511
- ])),
2511
+ ])]),
2512
2512
  _: 1
2513
2513
  })
2514
2514
  ]),
@@ -2883,9 +2883,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
2883
2883
  circle: "",
2884
2884
  onClick: l[1] || (l[1] = (U) => T.$copy(t(o).single, "ID"))
2885
2885
  }, {
2886
- icon: b(() => l[3] || (l[3] = [
2886
+ icon: b(() => [...l[3] || (l[3] = [
2887
2887
  c("i", { class: "imicon im-copy" }, null, -1)
2888
- ])),
2888
+ ])]),
2889
2889
  _: 1
2890
2890
  })
2891
2891
  ]),
@@ -3021,9 +3021,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3021
3021
  circle: "",
3022
3022
  onClick: m[0] || (m[0] = (y) => u.$copy(t(e).single, "ID"))
3023
3023
  }, {
3024
- icon: b(() => m[2] || (m[2] = [
3024
+ icon: b(() => [...m[2] || (m[2] = [
3025
3025
  c("i", { class: "imicon im-copy" }, null, -1)
3026
- ])),
3026
+ ])]),
3027
3027
  _: 1
3028
3028
  })
3029
3029
  ]),
@@ -3466,9 +3466,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3466
3466
  c("div", {
3467
3467
  class: "arrowLeft ml4 mr8 circle24 hover-txt-primary",
3468
3468
  onClick: ye(_, ["stop"])
3469
- }, w[1] || (w[1] = [
3469
+ }, [...w[1] || (w[1] = [
3470
3470
  c("i", { class: "imicon im-arrow-left" }, null, -1)
3471
- ])),
3471
+ ])]),
3472
3472
  c("div", Ml, [
3473
3473
  z(f, {
3474
3474
  modelValue: t(e).form.visible,
@@ -3483,9 +3483,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3483
3483
  c("div", {
3484
3484
  class: "arrowRight mr4 ml8 circle24 hover-txt-primary",
3485
3485
  onClick: ye(a, ["stop"])
3486
- }, w[2] || (w[2] = [
3486
+ }, [...w[2] || (w[2] = [
3487
3487
  c("i", { class: "imicon im-arrow-right" }, null, -1)
3488
- ]))
3488
+ ])])
3489
3489
  ], 2)
3490
3490
  ], 2);
3491
3491
  };
@@ -3609,9 +3609,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3609
3609
  plain: "",
3610
3610
  onClick: f
3611
3611
  }, {
3612
- icon: b(() => y[3] || (y[3] = [
3612
+ icon: b(() => [...y[3] || (y[3] = [
3613
3613
  c("i", { class: "imicon im-reset" }, null, -1)
3614
- ])),
3614
+ ])]),
3615
3615
  default: b(() => [
3616
3616
  ne(" " + I($.$l("Reset")), 1)
3617
3617
  ]),
@@ -3871,9 +3871,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3871
3871
  placeholder: l.$l(t(S)),
3872
3872
  class: "inputGroupLeft"
3873
3873
  }, {
3874
- prefix: b(() => n[8] || (n[8] = [
3874
+ prefix: b(() => [...n[8] || (n[8] = [
3875
3875
  c("i", { class: "imicon im-file" }, null, -1)
3876
- ])),
3876
+ ])]),
3877
3877
  _: 1
3878
3878
  }, 8, ["modelValue", "placeholder"]),
3879
3879
  c("div", _a, [
@@ -3883,9 +3883,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3883
3883
  type: "primary",
3884
3884
  onClick: k
3885
3885
  }, {
3886
- icon: b(() => n[9] || (n[9] = [
3886
+ icon: b(() => [...n[9] || (n[9] = [
3887
3887
  c("i", { class: "imicon im-download1" }, null, -1)
3888
- ])),
3888
+ ])]),
3889
3889
  default: b(() => [
3890
3890
  c("span", null, I(l.$l("Download")), 1)
3891
3891
  ]),
@@ -3934,9 +3934,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
3934
3934
  size: "default",
3935
3935
  onClick: r
3936
3936
  }, {
3937
- icon: b(() => n[7] || (n[7] = [
3937
+ icon: b(() => [...n[7] || (n[7] = [
3938
3938
  c("i", { class: "imicon im-copy" }, null, -1)
3939
- ])),
3939
+ ])]),
3940
3940
  default: b(() => [
3941
3941
  c("span", ma, I(l.$l("Copy to Clipboard")), 1),
3942
3942
  z(C, {
@@ -4088,9 +4088,9 @@ ${k.value}` : `${k.value}`), m = g(() => r.value ? e.modelValue.join(e.sep) : e.
4088
4088
  type: "primary",
4089
4089
  onClick: A
4090
4090
  }, {
4091
- icon: b(() => k[2] || (k[2] = [
4091
+ icon: b(() => [...k[2] || (k[2] = [
4092
4092
  c("i", { class: "imicon im-search" }, null, -1)
4093
- ])),
4093
+ ])]),
4094
4094
  default: b(() => [
4095
4095
  ne(" " + I(r.$l("Confirm")), 1)
4096
4096
  ]),