@mc-markets/ui 1.0.74 → 1.0.75

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/index.mjs CHANGED
@@ -22,22 +22,22 @@ var z = (t, e) => {
22
22
  var Y = (t, e, o) => new Promise((s, a) => {
23
23
  var n = (d) => {
24
24
  try {
25
- l(o.next(d));
25
+ i(o.next(d));
26
26
  } catch (v) {
27
27
  a(v);
28
28
  }
29
29
  }, r = (d) => {
30
30
  try {
31
- l(o.throw(d));
31
+ i(o.throw(d));
32
32
  } catch (v) {
33
33
  a(v);
34
34
  }
35
- }, l = (d) => d.done ? s(d.value) : Promise.resolve(d.value).then(n, r);
36
- l((o = o.apply(t, e)).next());
35
+ }, i = (d) => d.done ? s(d.value) : Promise.resolve(d.value).then(n, r);
36
+ i((o = o.apply(t, e)).next());
37
37
  });
38
38
  import * as q from "element-plus";
39
- import { computed as h, createElementBlock as $, openBlock as i, mergeProps as M, renderSlot as m, createBlock as _, createSlots as g, renderList as b, withCtx as p, useAttrs as G, unref as k, normalizeProps as F, guardReactiveProps as U, createElementVNode as C, mergeModels as K, useModel as ne, createVNode as E, ref as L, Teleport as ae, TransitionGroup as re, Fragment as x, normalizeClass as I, createCommentVNode as w, toDisplayString as V, resolveDynamicComponent as le, useSlots as W, watch as R, normalizeStyle as ie, createTextVNode as ce, provide as ue, withModifiers as me, inject as pe, onMounted as de, onUnmounted as fe, withDirectives as _e, vShow as be } from "vue";
40
- import { ElButton as ge, ElInput as Me, ElForm as $e, ElFormItem as ve, ElTooltip as he, ElSelect as ye, ElOption as Ce, ElOptionGroup as ke, ElPagination as Se, ElRadio as Te, ElRadioGroup as Be, ElRadioButton as we, ElSwitch as Oe, ElTag as Ee, ElAlert as Ie, ElDialog as Pe, ElNotification as Ne, ElDatePicker as je, ElEmpty as Ae, ElTable as ze, ElTableColumn as Le } from "element-plus/es";
39
+ import { computed as h, createElementBlock as $, openBlock as l, mergeProps as M, renderSlot as m, createBlock as _, createSlots as g, renderList as b, withCtx as p, useAttrs as G, unref as k, normalizeProps as F, guardReactiveProps as U, createElementVNode as C, mergeModels as K, useModel as ne, createVNode as E, ref as L, Teleport as ae, TransitionGroup as re, Fragment as x, normalizeClass as I, createCommentVNode as w, toDisplayString as V, resolveDynamicComponent as ie, useSlots as W, watch as R, normalizeStyle as le, createTextVNode as ce, provide as ue, withModifiers as me, inject as pe, onMounted as de, onUnmounted as fe, withDirectives as _e, vShow as be } from "vue";
40
+ import { ElButton as ge, ElInput as Me, ElForm as $e, ElFormItem as ve, ElTooltip as he, ElSelect as ye, ElOption as Ce, ElOptionGroup as ke, ElPagination as Se, ElRadio as Te, ElRadioGroup as Be, ElRadioButton as we, ElSwitch as Oe, ElTag as Ee, ElAlert as Ie, ElDialog as Ne, ElNotification as Pe, ElDatePicker as je, ElEmpty as Ae, ElTable as ze, ElTableColumn as Le } from "element-plus/es";
41
41
  import "element-plus/es/components/base/style/index";
42
42
  import "element-plus/es/components/button/style/index";
43
43
  import "element-plus/es/components/input/style/index";
@@ -106,29 +106,29 @@ const O = (t, e) => {
106
106
  emits: ["click"],
107
107
  setup(t, { emit: e }) {
108
108
  const o = t, s = e, a = h(() => {
109
- const l = ["iconfont"];
110
- return o.name && l.push(`${o.prefix}-${o.name}`), o.spin && l.push("icon-spin"), o.pulse && l.push("icon-pulse"), o.flip && l.push(`icon-flip-${o.flip}`), l;
109
+ const i = ["iconfont"];
110
+ return o.name && i.push(`${o.prefix}-${o.name}`), o.spin && i.push("icon-spin"), o.pulse && i.push("icon-pulse"), o.flip && i.push(`icon-flip-${o.flip}`), i;
111
111
  }), n = h(() => {
112
- const l = {};
113
- return o.size && (typeof o.size == "number" ? l.fontSize = `${o.size}px` : l.fontSize = o.size), o.color && (l.color = o.color), o.rotate !== 0 && (l.transform = `rotate(${o.rotate}deg)`), l;
114
- }), r = (l) => {
115
- s("click", l);
112
+ const i = {};
113
+ return o.size && (typeof o.size == "number" ? i.fontSize = `${o.size}px` : i.fontSize = o.size), o.color && (i.color = o.color), o.rotate !== 0 && (i.transform = `rotate(${o.rotate}deg)`), i;
114
+ }), r = (i) => {
115
+ s("click", i);
116
116
  };
117
- return (l, d) => (i(), $("i", M({
117
+ return (i, d) => (l(), $("i", M({
118
118
  class: a.value,
119
119
  style: n.value
120
- }, l.$attrs, { onClick: r }), [
121
- m(l.$slots, "default", {}, void 0, !0)
120
+ }, i.$attrs, { onClick: r }), [
121
+ m(i.$slots, "default", {}, void 0, !0)
122
122
  ], 16));
123
123
  }
124
- }), P = /* @__PURE__ */ O(Ve, [["__scopeId", "data-v-90f84c9e"]]), Re = /* @__PURE__ */ Object.assign({
124
+ }), N = /* @__PURE__ */ O(Ve, [["__scopeId", "data-v-90f84c9e"]]), Re = /* @__PURE__ */ Object.assign({
125
125
  name: "MButton"
126
126
  }, {
127
127
  __name: "Button",
128
128
  setup(t) {
129
129
  return (e, o) => {
130
130
  const s = ge;
131
- return i(), _(s, M(e.$attrs, { class: "m-button" }), g({ _: 2 }, [
131
+ return l(), _(s, M(e.$attrs, { class: "m-button" }), g({ _: 2 }, [
132
132
  b(e.$slots, (a, n) => ({
133
133
  name: n,
134
134
  fn: p(() => [
@@ -145,7 +145,7 @@ const O = (t, e) => {
145
145
  setup(t) {
146
146
  return (e, o) => {
147
147
  const s = Me;
148
- return i(), _(s, M(e.$attrs, {
148
+ return l(), _(s, M(e.$attrs, {
149
149
  class: ["m-input", { solid: e.$attrs.styleType === "solid" }]
150
150
  }), g({ _: 2 }, [
151
151
  b(e.$slots, (a, n) => ({
@@ -164,7 +164,7 @@ const O = (t, e) => {
164
164
  setup(t) {
165
165
  return (e, o) => {
166
166
  const s = $e;
167
- return i(), _(s, M(e.$attrs, { class: "m-form" }), g({ _: 2 }, [
167
+ return l(), _(s, M(e.$attrs, { class: "m-form" }), g({ _: 2 }, [
168
168
  b(e.$slots, (a, n) => ({
169
169
  name: n,
170
170
  fn: p(() => [
@@ -181,7 +181,7 @@ const O = (t, e) => {
181
181
  setup(t) {
182
182
  return (e, o) => {
183
183
  const s = ve;
184
- return i(), _(s, M(e.$attrs, { class: "m-form-item" }), g({ _: 2 }, [
184
+ return l(), _(s, M(e.$attrs, { class: "m-form-item" }), g({ _: 2 }, [
185
185
  b(e.$slots, (a, n) => ({
186
186
  name: n,
187
187
  fn: p(() => [
@@ -197,7 +197,7 @@ const O = (t, e) => {
197
197
  delete o[s];
198
198
  }), o;
199
199
  };
200
- function N(t, e = "popperClass") {
200
+ function P(t, e = "popperClass") {
201
201
  const o = G(), s = h(() => We(o, e)), a = h(() => qe(t, o[e]));
202
202
  return {
203
203
  mergedAttrs: s,
@@ -215,14 +215,14 @@ const Ze = /* @__PURE__ */ Object.assign({
215
215
  }
216
216
  },
217
217
  setup(t) {
218
- const { mergedAttrs: e, className: o } = N("mc-tooltip-popper");
218
+ const { mergedAttrs: e, className: o } = P("mc-tooltip-popper");
219
219
  return (s, a) => {
220
220
  const n = he;
221
- return i(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
222
- b(s.$slots, (r, l) => ({
223
- name: l,
221
+ return l(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
222
+ b(s.$slots, (r, i) => ({
223
+ name: i,
224
224
  fn: p(() => [
225
- m(s.$slots, l)
225
+ m(s.$slots, i)
226
226
  ])
227
227
  }))
228
228
  ]), 1040, ["popper-class"]);
@@ -235,7 +235,7 @@ const Ze = /* @__PURE__ */ Object.assign({
235
235
  setup(t) {
236
236
  return (e, o) => {
237
237
  const s = ye;
238
- return i(), _(s, M({
238
+ return l(), _(s, M({
239
239
  class: ["m-select2", { solid: e.$attrs.styleType === "solid" }],
240
240
  "show-arrow": !1
241
241
  }, e.$attrs), g({ _: 2 }, [
@@ -255,7 +255,7 @@ const Ze = /* @__PURE__ */ Object.assign({
255
255
  setup(t) {
256
256
  return (e, o) => {
257
257
  const s = Ce;
258
- return i(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
258
+ return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
259
259
  b(e.$slots, (a, n) => ({
260
260
  name: n,
261
261
  fn: p(() => [
@@ -272,7 +272,7 @@ const Ze = /* @__PURE__ */ Object.assign({
272
272
  setup(t) {
273
273
  return (e, o) => {
274
274
  const s = ke;
275
- return i(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
275
+ return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
276
276
  b(e.$slots, (a, n) => ({
277
277
  name: n,
278
278
  fn: p(() => [
@@ -289,7 +289,7 @@ const Ze = /* @__PURE__ */ Object.assign({
289
289
  setup(t) {
290
290
  return (e, o) => {
291
291
  const s = Se;
292
- return i(), _(s, M(e.$attrs, { class: "m-pagination" }), g({ _: 2 }, [
292
+ return l(), _(s, M(e.$attrs, { class: "m-pagination" }), g({ _: 2 }, [
293
293
  b(e.$slots, (a, n) => ({
294
294
  name: n,
295
295
  fn: p(() => [
@@ -310,10 +310,10 @@ const Ze = /* @__PURE__ */ Object.assign({
310
310
  }
311
311
  },
312
312
  setup(t) {
313
- const { mergedAttrs: e } = N("mc-radio-popper");
313
+ const { mergedAttrs: e } = P("mc-radio-popper");
314
314
  return (o, s) => {
315
315
  const a = Te;
316
- return i(), _(a, M(k(e), { class: "m-radio" }), g({ _: 2 }, [
316
+ return l(), _(a, M(k(e), { class: "m-radio" }), g({ _: 2 }, [
317
317
  b(o.$slots, (n, r) => ({
318
318
  name: r,
319
319
  fn: p(() => [
@@ -343,11 +343,11 @@ const Ze = /* @__PURE__ */ Object.assign({
343
343
  });
344
344
  return (a, n) => {
345
345
  const r = Be;
346
- return i(), _(r, M(s.value, {
346
+ return l(), _(r, M(s.value, {
347
347
  "popper-class": o.value,
348
348
  class: "m-radio-group"
349
349
  }), g({ _: 2 }, [
350
- b(a.$slots, (l, d) => ({
350
+ b(a.$slots, (i, d) => ({
351
351
  name: d,
352
352
  fn: p(() => [
353
353
  m(a.$slots, d)
@@ -367,10 +367,10 @@ const Ze = /* @__PURE__ */ Object.assign({
367
367
  }
368
368
  },
369
369
  setup(t) {
370
- const { mergedAttrs: e } = N("mc-radio-button-popper");
370
+ const { mergedAttrs: e } = P("mc-radio-button-popper");
371
371
  return (o, s) => {
372
372
  const a = we;
373
- return i(), _(a, M(k(e), { class: "m-radio-button" }), g({ _: 2 }, [
373
+ return l(), _(a, M(k(e), { class: "m-radio-button" }), g({ _: 2 }, [
374
374
  b(o.$slots, (n, r) => ({
375
375
  name: r,
376
376
  fn: p(() => [
@@ -391,17 +391,17 @@ const Ze = /* @__PURE__ */ Object.assign({
391
391
  }
392
392
  },
393
393
  setup(t) {
394
- const { mergedAttrs: e, className: o } = N("mc-switch-popper");
394
+ const { mergedAttrs: e, className: o } = P("mc-switch-popper");
395
395
  return (s, a) => {
396
396
  const n = Oe;
397
- return i(), _(n, M(k(e), {
397
+ return l(), _(n, M(k(e), {
398
398
  "popper-class": k(o),
399
399
  class: "m-switch"
400
400
  }), g({ _: 2 }, [
401
- b(s.$slots, (r, l) => ({
402
- name: l,
401
+ b(s.$slots, (r, i) => ({
402
+ name: i,
403
403
  fn: p(() => [
404
- m(s.$slots, l)
404
+ m(s.$slots, i)
405
405
  ])
406
406
  }))
407
407
  ]), 1040, ["popper-class"]);
@@ -414,7 +414,7 @@ const Ze = /* @__PURE__ */ Object.assign({
414
414
  setup(t) {
415
415
  return (e, o) => {
416
416
  const s = Ee;
417
- return i(), _(s, M(e.$attrs, { class: "m-tag" }), g({ _: 2 }, [
417
+ return l(), _(s, M(e.$attrs, { class: "m-tag" }), g({ _: 2 }, [
418
418
  b(e.$slots, (a, n) => ({
419
419
  name: n,
420
420
  fn: p(() => [
@@ -440,15 +440,15 @@ const Ze = /* @__PURE__ */ Object.assign({
440
440
  },
441
441
  setup(t) {
442
442
  const e = t, o = G(), s = h(() => {
443
- const l = o, { useCustomIcon: n } = l, r = z(l, ["useCustomIcon"]);
443
+ const i = o, { useCustomIcon: n } = i, r = z(i, ["useCustomIcon"]);
444
444
  return A(T({}, r), {
445
445
  type: e.type
446
446
  // 确保 type 属性正确传递给 el-alert
447
447
  });
448
448
  }), a = h(() => e.useCustomIcon ? `/images/alert/alert-${e.type}.png` : null);
449
449
  return (n, r) => {
450
- const l = Ie;
451
- return i(), _(l, M(s.value, { class: "mc-alert" }), g({ _: 2 }, [
450
+ const i = Ie;
451
+ return l(), _(i, M(s.value, { class: "mc-alert" }), g({ _: 2 }, [
452
452
  a.value ? {
453
453
  name: "icon",
454
454
  fn: p(() => [
@@ -505,8 +505,8 @@ const Ze = /* @__PURE__ */ Object.assign({
505
505
  setup(t, { emit: e }) {
506
506
  const o = ne(t, "modelValue");
507
507
  return (s, a) => {
508
- const n = Pe;
509
- return i(), $("div", null, [
508
+ const n = Ne;
509
+ return l(), $("div", null, [
510
510
  E(n, M({
511
511
  modelValue: o.value,
512
512
  "onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
@@ -526,8 +526,8 @@ const Ze = /* @__PURE__ */ Object.assign({
526
526
  }, [
527
527
  s.$slots.header ? {
528
528
  name: "header",
529
- fn: p(({ close: r, titleId: l, titleClass: d }) => [
530
- m(s.$slots, "header", F(U({ close: r, titleId: l, titleClass: d })))
529
+ fn: p(({ close: r, titleId: i, titleClass: d }) => [
530
+ m(s.$slots, "header", F(U({ close: r, titleId: i, titleClass: d })))
531
531
  ]),
532
532
  key: "0"
533
533
  } : void 0,
@@ -542,13 +542,13 @@ const Ze = /* @__PURE__ */ Object.assign({
542
542
  ]);
543
543
  };
544
544
  }
545
- }), lt = {
545
+ }), it = {
546
546
  name: "MNotification"
547
547
  };
548
- function it(t, e, o, s, a, n) {
549
- const r = Ne;
550
- return i(), _(r, M(t.$attrs, { class: "mc-notification" }), g({ _: 2 }, [
551
- b(t.$slots, (l, d) => ({
548
+ function lt(t, e, o, s, a, n) {
549
+ const r = Pe;
550
+ return l(), _(r, M(t.$attrs, { class: "mc-notification" }), g({ _: 2 }, [
551
+ b(t.$slots, (i, d) => ({
552
552
  name: d,
553
553
  fn: p(() => [
554
554
  m(t.$slots, d)
@@ -556,7 +556,7 @@ function it(t, e, o, s, a, n) {
556
556
  }))
557
557
  ]), 1040);
558
558
  }
559
- const ct = /* @__PURE__ */ O(lt, [["render", it]]), B = L([]);
559
+ const ct = /* @__PURE__ */ O(it, [["render", lt]]), B = L([]);
560
560
  let ut = 0;
561
561
  const vs = {
562
562
  // 默认配置
@@ -614,14 +614,14 @@ const vs = {
614
614
  class: "notification-action"
615
615
  }, gt = ["onClick"];
616
616
  function Mt(t, e, o, s, a, n) {
617
- return i(), _(ae, { to: "body" }, [
617
+ return l(), _(ae, { to: "body" }, [
618
618
  E(re, {
619
619
  name: "notification",
620
620
  tag: "div",
621
621
  class: "notification-container"
622
622
  }, {
623
623
  default: p(() => [
624
- (i(!0), $(x, null, b(s.notifications, (r) => (i(), $("div", {
624
+ (l(!0), $(x, null, b(s.notifications, (r) => (l(), $("div", {
625
625
  key: r.id,
626
626
  class: I([
627
627
  "custom-notification",
@@ -637,14 +637,14 @@ function Mt(t, e, o, s, a, n) {
637
637
  C("div", dt, [
638
638
  C("div", ft, V(r.title), 1),
639
639
  C("div", _t, V(r.message), 1),
640
- r.slotContent ? (i(), $("div", bt, [
641
- (i(), _(le(r.slotContent)))
640
+ r.slotContent ? (l(), $("div", bt, [
641
+ (l(), _(ie(r.slotContent)))
642
642
  ])) : w("", !0)
643
643
  ]),
644
- r.showClose ? (i(), $("button", {
644
+ r.showClose ? (l(), $("button", {
645
645
  key: 0,
646
646
  class: "notification-close",
647
- onClick: (l) => s.closeNotification(r.id)
647
+ onClick: (i) => s.closeNotification(r.id)
648
648
  }, " × ", 8, gt)) : w("", !0)
649
649
  ], 2))), 128))
650
650
  ]),
@@ -663,17 +663,17 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
663
663
  }
664
664
  },
665
665
  setup(t) {
666
- const { mergedAttrs: e, className: o } = N(
666
+ const { mergedAttrs: e, className: o } = P(
667
667
  "mc-datepicker-popper",
668
668
  "popperClass"
669
669
  );
670
670
  return (s, a) => {
671
671
  const n = je;
672
- return i(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
673
- b(s.$slots, (r, l) => ({
674
- name: l,
672
+ return l(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
673
+ b(s.$slots, (r, i) => ({
674
+ name: i,
675
675
  fn: p(() => [
676
- m(s.$slots, l)
676
+ m(s.$slots, i)
677
677
  ])
678
678
  }))
679
679
  ]), 1040, ["popper-class"]);
@@ -708,15 +708,15 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
708
708
  },
709
709
  setup(t) {
710
710
  const e = t, o = G(), s = h(() => {
711
- const l = o, { image: n } = l;
712
- return z(l, ["image"]);
711
+ const i = o, { image: n } = i;
712
+ return z(i, ["image"]);
713
713
  }), a = h(() => {
714
714
  const { image: n } = e;
715
715
  return n.includes("/") || n.includes("http") ? n : `/images/empty/${n}.png`;
716
716
  });
717
717
  return (n, r) => {
718
- const l = Ae;
719
- return i(), _(l, M(s.value, { image: a.value }), g({ _: 2 }, [
718
+ const i = Ae;
719
+ return l(), _(i, M(s.value, { image: a.value }), g({ _: 2 }, [
720
720
  b(n.$slots, (d, v) => ({
721
721
  name: v,
722
722
  fn: p(() => [
@@ -733,7 +733,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
733
733
  setup(t) {
734
734
  return (e, o) => {
735
735
  const s = ze;
736
- return i(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
736
+ return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
737
737
  b(e.$slots, (a, n) => ({
738
738
  name: n,
739
739
  fn: p(() => [
@@ -750,7 +750,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
750
750
  setup(t) {
751
751
  return (e, o) => {
752
752
  const s = Le;
753
- return i(), _(s, M(e.$attrs, { class: "m-table-column" }), g({ _: 2 }, [
753
+ return l(), _(s, M(e.$attrs, { class: "m-table-column" }), g({ _: 2 }, [
754
754
  b(e.$slots, (a, n) => ({
755
755
  name: n,
756
756
  fn: p(() => [
@@ -831,7 +831,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
831
831
  R(() => a.visible, (u) => {
832
832
  r.value = u;
833
833
  });
834
- const l = h(() => {
834
+ const i = h(() => {
835
835
  const u = {};
836
836
  return a.backgroundColor && (u.backgroundColor = a.backgroundColor), a.textColor && (u.color = a.textColor), a.borderColor && (u.borderColor = a.borderColor), u;
837
837
  }), d = {
@@ -850,7 +850,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
850
850
  }, a.duration);
851
851
  }), e({
852
852
  close: v
853
- }), (u, y) => t.visible ? (i(), $("div", {
853
+ }), (u, y) => t.visible ? (l(), $("div", {
854
854
  key: 0,
855
855
  class: I(["m-banner", [
856
856
  `m-banner--${t.type}`,
@@ -859,12 +859,12 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
859
859
  "m-banner--with-icon": t.icon || k(s).icon
860
860
  }
861
861
  ]]),
862
- style: ie(l.value)
862
+ style: le(i.value)
863
863
  }, [
864
864
  C("div", Tt, [
865
- t.icon || k(s).icon ? (i(), $("div", Bt, [
865
+ t.icon || k(s).icon ? (l(), $("div", Bt, [
866
866
  m(u.$slots, "icon", {}, () => [
867
- E(P, {
867
+ E(N, {
868
868
  name: t.icon,
869
869
  size: t.iconSize
870
870
  }, null, 8, ["name", "size"])
@@ -875,12 +875,12 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
875
875
  ce(V(t.content), 1)
876
876
  ], !0)
877
877
  ]),
878
- t.closable ? (i(), $("div", {
878
+ t.closable ? (l(), $("div", {
879
879
  key: 1,
880
880
  class: "m-banner__close",
881
881
  onClick: v
882
882
  }, [
883
- E(P, {
883
+ E(N, {
884
884
  name: "lucide-x",
885
885
  size: t.closeIconSize
886
886
  }, null, 8, ["size"])
@@ -888,7 +888,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
888
888
  ])
889
889
  ], 6)) : w("", !0);
890
890
  }
891
- }), Et = /* @__PURE__ */ O(Ot, [["__scopeId", "data-v-00c80323"]]), It = { class: "m-tabs__header" }, Pt = { class: "m-tabs__nav" }, Nt = ["onClick"], jt = { class: "m-tabs__item-text" }, At = { key: 1 }, zt = ["onClick"], Lt = { class: "m-tabs__content" }, Vt = {
891
+ }), Et = /* @__PURE__ */ O(Ot, [["__scopeId", "data-v-00c80323"]]), It = { class: "m-tabs__header" }, Nt = { class: "m-tabs__nav" }, Pt = ["onClick"], jt = { class: "m-tabs__item-text" }, At = { key: 1 }, zt = ["onClick"], Lt = { class: "m-tabs__content" }, Vt = {
892
892
  __name: "Tabs",
893
893
  props: {
894
894
  // 当前激活的标签页
@@ -953,7 +953,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
953
953
  y >= 0 && n.value.splice(y, 1);
954
954
  }
955
955
  });
956
- const l = (u, y) => Y(this, null, function* () {
956
+ const i = (u, y) => Y(this, null, function* () {
957
957
  if (u.disabled) return;
958
958
  const f = u.name || y;
959
959
  if (r.value !== f) {
@@ -973,14 +973,14 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
973
973
  };
974
974
  return e({
975
975
  activeName: h(() => r.value)
976
- }), (u, y) => (i(), $("div", {
976
+ }), (u, y) => (l(), $("div", {
977
977
  class: I(["m-tabs", [`m-tabs--${t.type}`, `m-tabs--${t.tabPosition}`]])
978
978
  }, [
979
979
  C("div", It, [
980
- C("div", Pt, [
981
- (i(!0), $(x, null, b(n.value, (f, S) => {
980
+ C("div", Nt, [
981
+ (l(!0), $(x, null, b(n.value, (f, S) => {
982
982
  var H;
983
- return i(), $("div", {
983
+ return l(), $("div", {
984
984
  key: f.name || S,
985
985
  class: I([
986
986
  "m-tabs__item",
@@ -990,29 +990,29 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
990
990
  "m-tabs__item--closable": f.closable
991
991
  }
992
992
  ]),
993
- onClick: (ee) => l(f, S)
993
+ onClick: (ee) => i(f, S)
994
994
  }, [
995
995
  C("span", jt, [
996
- (H = f.$slots) != null && H.label ? m(u.$slots, `tab-${f.name || S}`, { key: 0 }, void 0, !0) : (i(), $("span", At, V(f.label), 1))
996
+ (H = f.$slots) != null && H.label ? m(u.$slots, `tab-${f.name || S}`, { key: 0 }, void 0, !0) : (l(), $("span", At, V(f.label), 1))
997
997
  ]),
998
- f.closable ? (i(), $("span", {
998
+ f.closable ? (l(), $("span", {
999
999
  key: 0,
1000
1000
  class: "m-tabs__item-close",
1001
1001
  onClick: me((ee) => d(f, S), ["stop"])
1002
1002
  }, [
1003
- E(P, {
1003
+ E(N, {
1004
1004
  name: "lucide-x",
1005
1005
  size: 12
1006
1006
  })
1007
1007
  ], 8, zt)) : w("", !0)
1008
- ], 10, Nt);
1008
+ ], 10, Pt);
1009
1009
  }), 128)),
1010
- t.addable || t.editable ? (i(), $("div", {
1010
+ t.addable || t.editable ? (l(), $("div", {
1011
1011
  key: 0,
1012
1012
  class: "m-tabs__item m-tabs__item--add",
1013
1013
  onClick: v
1014
1014
  }, [
1015
- E(P, {
1015
+ E(N, {
1016
1016
  name: "plus",
1017
1017
  size: 12
1018
1018
  })
@@ -1070,7 +1070,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
1070
1070
  }
1071
1071
  }), fe(() => {
1072
1072
  s && s.unregisterTab(e.name);
1073
- }), (n, r) => _e((i(), $("div", {
1073
+ }), (n, r) => _e((l(), $("div", {
1074
1074
  class: I(["m-tab-pane", {
1075
1075
  "m-tab-pane--active": a.value,
1076
1076
  "m-tab-pane--disabled": t.disabled
@@ -1132,7 +1132,7 @@ const Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1132
1132
  applyGlobalOverride: Ut,
1133
1133
  createOverrideComponent: Wt,
1134
1134
  forceRefreshStyles: qt
1135
- }, Symbol.toStringTag, { value: "Module" })), Z = [P, De, Ge, Fe, Ue, Ze, He, Je, Qe, Xe, Ye, Ke, xe, et, tt, at, rt, ct, $t, vt, Ct, kt, St, Et, Rt, Gt], c = {};
1135
+ }, Symbol.toStringTag, { value: "Module" })), Z = [N, De, Ge, Fe, Ue, Ze, He, Je, Qe, Xe, Ye, Ke, xe, et, tt, at, rt, ct, $t, vt, Ct, kt, St, Et, Rt, Gt], c = {};
1136
1136
  function Ht(t) {
1137
1137
  const e = Z.map((o) => {
1138
1138
  if (o && o.name && typeof o.name == "string") {
@@ -1148,10 +1148,10 @@ function Ht(t) {
1148
1148
  }
1149
1149
  return null;
1150
1150
  }).filter(Boolean);
1151
- console.log("🔧 自定义组件列表:", e), Object.entries(q).forEach(([o, s]) => {
1151
+ Object.entries(q).forEach(([o, s]) => {
1152
1152
  if (s && s.name && typeof s.name == "string" && s.name.startsWith("El")) {
1153
1153
  const a = "m-" + s.name.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
1154
- e.includes(a) ? console.log(`🎯 自定义组件覆盖: ${a} (使用自定义组件)`) : t._context.components[a] ? console.log(`⚠️ 组件 ${a} 已存在,跳过注册`) : (t.component(a, s), console.log(`✅ 注册 Element Plus 组件: ${a}`));
1154
+ e.includes(a) || t._context.components[a] || t.component(a, s);
1155
1155
  const n = "M" + s.name.slice(2);
1156
1156
  c[n] = s;
1157
1157
  }
@@ -1170,9 +1170,9 @@ const Jt = (t) => {
1170
1170
  moptiongroup: "m-option-group",
1171
1171
  mtabs: "m-tabs",
1172
1172
  mtabpane: "m-tab-pane"
1173
- }[o] || o.replace(/^m/, "m-"), t.component(o, e), console.log(`🎯 注册自定义组件: ${o} (${e.name})`);
1173
+ }[o] || o.replace(/^m/, "m-"), t.component(o, e);
1174
1174
  }
1175
- }), Ht(t), console.log("✅ @mc-markets/ui 组件库安装完成!");
1175
+ }), Ht(t);
1176
1176
  };
1177
1177
  function hs(t) {
1178
1178
  const e = Object.keys(t._context.components || {}), o = Z.map((s) => {
@@ -1197,7 +1197,7 @@ function hs(t) {
1197
1197
  )
1198
1198
  };
1199
1199
  }
1200
- const ys = { install: Jt }, Cs = q.ElMessage, ks = q.ElMessageBox, Ss = T({}, c), Ts = c.MButtonGroup, Bs = c.MBreadcrumb, ws = c.MBreadcrumbItem, Os = c.MCarousel, Es = c.MCarouselItem, Is = c.MCascader, Ps = c.MCascaderPanel, Ns = c.MCheckTag, js = c.MCalendar, As = c.MTimePicker, zs = c.MDateTimePicker, Ls = c.MColorPicker, Vs = c.MTransfer, Rs = c.MTree, Ds = c.MTreeSelect, Gs = c.MUpload, Fs = c.MImage, Us = c.MImageViewer, qs = c.MBacktop, Ws = c.MInfiniteScroll, Zs = c.MAffix, Hs = c.MScrollbar, Js = c.MResult, Qs = c.MSkeleton, Xs = c.MLoading, Ys = c.MSpinner, Ks = c.MProgress, xs = c.MBadge, eo = c.MAvatar, to = c.MImagePreview, so = c.MTeleport, oo = c.MConfigProvider;
1200
+ const ys = { install: Jt }, Cs = q.ElMessage, ks = q.ElMessageBox, Ss = T({}, c), Ts = c.MButtonGroup, Bs = c.MBreadcrumb, ws = c.MBreadcrumbItem, Os = c.MCarousel, Es = c.MCarouselItem, Is = c.MCascader, Ns = c.MCascaderPanel, Ps = c.MCheckTag, js = c.MCalendar, As = c.MTimePicker, zs = c.MDateTimePicker, Ls = c.MColorPicker, Vs = c.MTransfer, Rs = c.MTree, Ds = c.MTreeSelect, Gs = c.MUpload, Fs = c.MImage, Us = c.MImageViewer, qs = c.MBacktop, Ws = c.MInfiniteScroll, Zs = c.MAffix, Hs = c.MScrollbar, Js = c.MResult, Qs = c.MSkeleton, Xs = c.MLoading, Ys = c.MSpinner, Ks = c.MProgress, xs = c.MBadge, eo = c.MAvatar, to = c.MImagePreview, so = c.MTeleport, oo = c.MConfigProvider;
1201
1201
  export {
1202
1202
  Zs as MAffix,
1203
1203
  at as MAlert,
@@ -1213,8 +1213,8 @@ export {
1213
1213
  Os as MCarousel,
1214
1214
  Es as MCarouselItem,
1215
1215
  Is as MCascader,
1216
- Ps as MCascaderPanel,
1217
- Ns as MCheckTag,
1216
+ Ns as MCascaderPanel,
1217
+ Ps as MCheckTag,
1218
1218
  Ls as MColorPicker,
1219
1219
  oo as MConfigProvider,
1220
1220
  vt as MDatePicker,
@@ -1223,7 +1223,7 @@ export {
1223
1223
  Ct as MEmpty,
1224
1224
  Fe as MForm,
1225
1225
  Ue as MFormItem,
1226
- P as MIcon,
1226
+ N as MIcon,
1227
1227
  Fs as MImage,
1228
1228
  to as MImagePreview,
1229
1229
  Us as MImageViewer,