@mc-markets/ui 1.0.75 → 1.0.77

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.
Files changed (33) hide show
  1. package/dist/components/Form/Form.vue.d.ts +7 -1
  2. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  3. package/dist/components/Message/Message.vue.d.ts +39 -0
  4. package/dist/components/Message/Message.vue.d.ts.map +1 -0
  5. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  6. package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
  7. package/dist/components/Tabs/TabPane.vue.d.ts +1 -21
  8. package/dist/components/Tabs/TabPane.vue.d.ts.map +1 -1
  9. package/dist/components/Tabs/Tabs.vue.d.ts +1 -29
  10. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  11. package/dist/index.cjs +1 -1
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.ts +2 -10
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.mjs +686 -663
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/style.css +1 -1
  18. package/package.json +1 -1
  19. package/packages/components/Alert/Alert.vue +14 -1
  20. package/packages/components/Form/Form.vue +15 -1
  21. package/packages/components/Message/Message.vue +504 -0
  22. package/packages/components/NotifiMessage/NotifiMessage.vue +9 -8
  23. package/packages/components/Pagination/Pagination.vue +36 -5
  24. package/packages/components/Select/Select.vue +1 -1
  25. package/packages/components/Switch/Switch.vue +19 -106
  26. package/packages/components/Tabs/TabPane.vue +14 -93
  27. package/packages/components/Tabs/Tabs.vue +14 -409
  28. package/packages/components/Tag/Tag.vue +0 -44
  29. package/packages/styles/components/button.scss +17 -0
  30. package/packages/styles/components/select.scss +3 -0
  31. package/packages/styles/components/tag.scss +104 -0
  32. package/packages/styles/index.scss +2 -0
  33. package/packages/utils/styleUtils.js +1 -1
package/dist/index.mjs CHANGED
@@ -1,43 +1,43 @@
1
1
  var te = Object.defineProperty, se = Object.defineProperties;
2
2
  var oe = Object.getOwnPropertyDescriptors;
3
- var j = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
- var J = (t, e, o) => e in t ? te(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, T = (t, e) => {
6
- for (var o in e || (e = {}))
7
- Q.call(e, o) && J(t, o, e[o]);
8
- if (j)
9
- for (var o of j(e))
10
- X.call(e, o) && J(t, o, e[o]);
11
- return t;
12
- }, A = (t, e) => se(t, oe(e));
13
- var z = (t, e) => {
3
+ var N = Object.getOwnPropertySymbols;
4
+ var q = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
5
+ var U = (e, t, o) => t in e ? te(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o, b = (e, t) => {
6
+ for (var o in t || (t = {}))
7
+ q.call(t, o) && U(e, o, t[o]);
8
+ if (N)
9
+ for (var o of N(t))
10
+ H.call(t, o) && U(e, o, t[o]);
11
+ return e;
12
+ }, w = (e, t) => se(e, oe(t));
13
+ var j = (e, t) => {
14
14
  var o = {};
15
- for (var s in t)
16
- Q.call(t, s) && e.indexOf(s) < 0 && (o[s] = t[s]);
17
- if (t != null && j)
18
- for (var s of j(t))
19
- e.indexOf(s) < 0 && X.call(t, s) && (o[s] = t[s]);
15
+ for (var s in e)
16
+ q.call(e, s) && t.indexOf(s) < 0 && (o[s] = e[s]);
17
+ if (e != null && N)
18
+ for (var s of N(e))
19
+ t.indexOf(s) < 0 && H.call(e, s) && (o[s] = e[s]);
20
20
  return o;
21
21
  };
22
- var Y = (t, e, o) => new Promise((s, a) => {
23
- var n = (d) => {
22
+ var F = (e, t, o) => new Promise((s, r) => {
23
+ var n = (p) => {
24
24
  try {
25
- i(o.next(d));
26
- } catch (v) {
27
- a(v);
25
+ i(o.next(p));
26
+ } catch (M) {
27
+ r(M);
28
28
  }
29
- }, r = (d) => {
29
+ }, a = (p) => {
30
30
  try {
31
- i(o.throw(d));
32
- } catch (v) {
33
- a(v);
31
+ i(o.throw(p));
32
+ } catch (M) {
33
+ r(M);
34
34
  }
35
- }, i = (d) => d.done ? s(d.value) : Promise.resolve(d.value).then(n, r);
36
- i((o = o.apply(t, e)).next());
35
+ }, i = (p) => p.done ? s(p.value) : Promise.resolve(p.value).then(n, a);
36
+ i((o = o.apply(e, t)).next());
37
37
  });
38
- import * as q from "element-plus";
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";
38
+ import * as J from "element-plus";
39
+ import { computed as h, createElementBlock as $, openBlock as c, mergeProps as g, renderSlot as u, createBlock as d, createSlots as _, renderList as f, withCtx as m, ref as L, useAttrs as B, unref as v, normalizeProps as z, guardReactiveProps as R, createElementVNode as k, mergeModels as W, useModel as ne, createVNode as E, Teleport as Q, TransitionGroup as X, Fragment as Y, normalizeClass as G, createCommentVNode as S, resolveDynamicComponent as K, toDisplayString as O, useSlots as re, watch as Z, normalizeStyle as ae, createTextVNode as ie } from "vue";
40
+ import { ElButton as ce, ElInput as le, ElForm as ue, ElFormItem as me, ElTooltip as pe, ElSelect as de, ElOption as fe, ElOptionGroup as _e, ElPagination as ge, ElRadio as $e, ElRadioGroup as Me, ElRadioButton as be, ElSwitch as he, ElTag as ye, ElAlert as ve, ElDialog as Ce, ElNotification as ke, ElDatePicker as Se, ElEmpty as we, ElTable as Te, ElTableColumn as Ie, ElTabs as Ee, ElTabPane as Oe } 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";
@@ -60,12 +60,14 @@ import "element-plus/es/components/date-picker/style/index";
60
60
  import "element-plus/es/components/empty/style/index";
61
61
  import "element-plus/es/components/table/style/index";
62
62
  import "element-plus/es/components/table-column/style/index";
63
- const O = (t, e) => {
64
- const o = t.__vccOpts || t;
65
- for (const [s, a] of e)
66
- o[s] = a;
63
+ import "element-plus/es/components/tabs/style/index";
64
+ import "element-plus/es/components/tab-pane/style/index";
65
+ const T = (e, t) => {
66
+ const o = e.__vccOpts || e;
67
+ for (const [s, r] of t)
68
+ o[s] = r;
67
69
  return o;
68
- }, Ve = /* @__PURE__ */ Object.assign({
70
+ }, Be = /* @__PURE__ */ Object.assign({
69
71
  name: "MIcon"
70
72
  }, {
71
73
  __name: "Icon",
@@ -104,107 +106,132 @@ const O = (t, e) => {
104
106
  }
105
107
  },
106
108
  emits: ["click"],
107
- setup(t, { emit: e }) {
108
- const o = t, s = e, a = h(() => {
109
+ setup(e, { emit: t }) {
110
+ const o = e, s = t, r = h(() => {
109
111
  const i = ["iconfont"];
110
112
  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
113
  }), n = h(() => {
112
114
  const i = {};
113
115
  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) => {
116
+ }), a = (i) => {
115
117
  s("click", i);
116
118
  };
117
- return (i, d) => (l(), $("i", M({
118
- class: a.value,
119
+ return (i, p) => (c(), $("i", g({
120
+ class: r.value,
119
121
  style: n.value
120
- }, i.$attrs, { onClick: r }), [
121
- m(i.$slots, "default", {}, void 0, !0)
122
+ }, i.$attrs, { onClick: a }), [
123
+ u(i.$slots, "default", {}, void 0, !0)
122
124
  ], 16));
123
125
  }
124
- }), N = /* @__PURE__ */ O(Ve, [["__scopeId", "data-v-90f84c9e"]]), Re = /* @__PURE__ */ Object.assign({
126
+ }), V = /* @__PURE__ */ T(Be, [["__scopeId", "data-v-90f84c9e"]]), Pe = /* @__PURE__ */ Object.assign({
125
127
  name: "MButton"
126
128
  }, {
127
129
  __name: "Button",
128
- setup(t) {
129
- return (e, o) => {
130
- const s = ge;
131
- return l(), _(s, M(e.$attrs, { class: "m-button" }), g({ _: 2 }, [
132
- b(e.$slots, (a, n) => ({
130
+ setup(e) {
131
+ return (t, o) => {
132
+ const s = ce;
133
+ return c(), d(s, g(t.$attrs, { class: "m-button" }), _({ _: 2 }, [
134
+ f(t.$slots, (r, n) => ({
133
135
  name: n,
134
- fn: p(() => [
135
- m(e.$slots, n, {}, void 0, !0)
136
+ fn: m(() => [
137
+ u(t.$slots, n, {}, void 0, !0)
136
138
  ])
137
139
  }))
138
140
  ]), 1040);
139
141
  };
140
142
  }
141
- }), De = /* @__PURE__ */ O(Re, [["__scopeId", "data-v-9c99add1"]]), Ge = /* @__PURE__ */ Object.assign({
143
+ }), Ne = /* @__PURE__ */ T(Pe, [["__scopeId", "data-v-9c99add1"]]), je = /* @__PURE__ */ Object.assign({
142
144
  name: "MInput"
143
145
  }, {
144
146
  __name: "Input",
145
- setup(t) {
146
- return (e, o) => {
147
- const s = Me;
148
- return l(), _(s, M(e.$attrs, {
149
- class: ["m-input", { solid: e.$attrs.styleType === "solid" }]
150
- }), g({ _: 2 }, [
151
- b(e.$slots, (a, n) => ({
147
+ setup(e) {
148
+ return (t, o) => {
149
+ const s = le;
150
+ return c(), d(s, g(t.$attrs, {
151
+ class: ["m-input", { solid: t.$attrs.styleType === "solid" }]
152
+ }), _({ _: 2 }, [
153
+ f(t.$slots, (r, n) => ({
152
154
  name: n,
153
- fn: p(() => [
154
- m(e.$slots, n)
155
+ fn: m(() => [
156
+ u(t.$slots, n)
155
157
  ])
156
158
  }))
157
159
  ]), 1040, ["class"]);
158
160
  };
159
161
  }
160
- }), Fe = /* @__PURE__ */ Object.assign({
162
+ }), Ae = /* @__PURE__ */ Object.assign({
161
163
  name: "MForm"
162
164
  }, {
163
165
  __name: "Form",
164
- setup(t) {
165
- return (e, o) => {
166
- const s = $e;
167
- return l(), _(s, M(e.$attrs, { class: "m-form" }), g({ _: 2 }, [
168
- b(e.$slots, (a, n) => ({
169
- name: n,
170
- fn: p(() => [
171
- m(e.$slots, n)
166
+ setup(e, { expose: t }) {
167
+ const o = L();
168
+ return B(), t({
169
+ validate: (s) => {
170
+ var r;
171
+ return (r = o.value) == null ? void 0 : r.validate(s);
172
+ },
173
+ validateField: (s, r) => {
174
+ var n;
175
+ return (n = o.value) == null ? void 0 : n.validateField(s, r);
176
+ },
177
+ resetFields: () => {
178
+ var s;
179
+ return (s = o.value) == null ? void 0 : s.resetFields();
180
+ },
181
+ scrollToField: (s) => {
182
+ var r;
183
+ return (r = o.value) == null ? void 0 : r.scrollToField(s);
184
+ },
185
+ clearValidate: (s) => {
186
+ var r;
187
+ return (r = o.value) == null ? void 0 : r.clearValidate(s);
188
+ }
189
+ }), (s, r) => {
190
+ const n = ue;
191
+ return c(), d(n, g({
192
+ ref_key: "formRef",
193
+ ref: o
194
+ }, s.$attrs, { class: "m-form" }), _({ _: 2 }, [
195
+ f(s.$slots, (a, i) => ({
196
+ name: i,
197
+ fn: m(() => [
198
+ u(s.$slots, i)
172
199
  ])
173
200
  }))
174
201
  ]), 1040);
175
202
  };
176
203
  }
177
- }), Ue = /* @__PURE__ */ Object.assign({
204
+ }), Le = /* @__PURE__ */ Object.assign({
178
205
  name: "MFormItem"
179
206
  }, {
180
207
  __name: "FormItem",
181
- setup(t) {
182
- return (e, o) => {
183
- const s = ve;
184
- return l(), _(s, M(e.$attrs, { class: "m-form-item" }), g({ _: 2 }, [
185
- b(e.$slots, (a, n) => ({
208
+ setup(e) {
209
+ return (t, o) => {
210
+ const s = me;
211
+ return c(), d(s, g(t.$attrs, { class: "m-form-item" }), _({ _: 2 }, [
212
+ f(t.$slots, (r, n) => ({
186
213
  name: n,
187
- fn: p(() => [
188
- m(e.$slots, n)
214
+ fn: m(() => [
215
+ u(t.$slots, n)
189
216
  ])
190
217
  }))
191
218
  ]), 1040);
192
219
  };
193
220
  }
194
- }), qe = (...t) => t.filter(Boolean).join(" "), We = (t, ...e) => {
195
- const o = T({}, t);
196
- return e.forEach((s) => {
221
+ }), ze = (...e) => e.filter(Boolean).join(" "), Re = (e, ...t) => {
222
+ const o = b({}, e);
223
+ return t.forEach((s) => {
197
224
  delete o[s];
198
225
  }), o;
199
226
  };
200
- function P(t, e = "popperClass") {
201
- const o = G(), s = h(() => We(o, e)), a = h(() => qe(t, o[e]));
227
+ function P(e, t = "popperClass") {
228
+ const o = B(), s = h(() => Re(o, t)), r = h(() => ze(e, o[t]));
202
229
  return {
203
230
  mergedAttrs: s,
204
- className: a
231
+ className: r
205
232
  };
206
233
  }
207
- const Ze = /* @__PURE__ */ Object.assign({
234
+ const Fe = /* @__PURE__ */ Object.assign({
208
235
  name: "MTooltip"
209
236
  }, {
210
237
  __name: "Tooltip",
@@ -214,92 +241,92 @@ const Ze = /* @__PURE__ */ Object.assign({
214
241
  default: ""
215
242
  }
216
243
  },
217
- setup(t) {
218
- const { mergedAttrs: e, className: o } = P("mc-tooltip-popper");
219
- return (s, a) => {
220
- const n = he;
221
- return l(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
222
- b(s.$slots, (r, i) => ({
244
+ setup(e) {
245
+ const { mergedAttrs: t, className: o } = P("mc-tooltip-popper");
246
+ return (s, r) => {
247
+ const n = pe;
248
+ return c(), d(n, g(v(t), { "popper-class": v(o) }), _({ _: 2 }, [
249
+ f(s.$slots, (a, i) => ({
223
250
  name: i,
224
- fn: p(() => [
225
- m(s.$slots, i)
251
+ fn: m(() => [
252
+ u(s.$slots, i)
226
253
  ])
227
254
  }))
228
255
  ]), 1040, ["popper-class"]);
229
256
  };
230
257
  }
231
- }), He = /* @__PURE__ */ Object.assign({
258
+ }), Ve = /* @__PURE__ */ Object.assign({
232
259
  name: "MSelect"
233
260
  }, {
234
261
  __name: "Select",
235
- setup(t) {
236
- return (e, o) => {
237
- const s = ye;
238
- return l(), _(s, M({
239
- class: ["m-select2", { solid: e.$attrs.styleType === "solid" }],
262
+ setup(e) {
263
+ return (t, o) => {
264
+ const s = de;
265
+ return c(), d(s, g({
266
+ class: ["m-select", { solid: t.$attrs.styleType === "solid" }],
240
267
  "show-arrow": !1
241
- }, e.$attrs), g({ _: 2 }, [
242
- b(e.$slots, (a, n) => ({
268
+ }, t.$attrs), _({ _: 2 }, [
269
+ f(t.$slots, (r, n) => ({
243
270
  name: n,
244
- fn: p(() => [
245
- m(e.$slots, n)
271
+ fn: m(() => [
272
+ u(t.$slots, n)
246
273
  ])
247
274
  }))
248
275
  ]), 1040, ["class"]);
249
276
  };
250
277
  }
251
- }), Je = /* @__PURE__ */ Object.assign({
278
+ }), Ge = /* @__PURE__ */ Object.assign({
252
279
  name: "MOption"
253
280
  }, {
254
281
  __name: "Option",
255
- setup(t) {
256
- return (e, o) => {
257
- const s = Ce;
258
- return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
259
- b(e.$slots, (a, n) => ({
282
+ setup(e) {
283
+ return (t, o) => {
284
+ const s = fe;
285
+ return c(), d(s, z(R(t.$attrs)), _({ _: 2 }, [
286
+ f(t.$slots, (r, n) => ({
260
287
  name: n,
261
- fn: p(() => [
262
- m(e.$slots, n)
288
+ fn: m(() => [
289
+ u(t.$slots, n)
263
290
  ])
264
291
  }))
265
292
  ]), 1040);
266
293
  };
267
294
  }
268
- }), Qe = /* @__PURE__ */ Object.assign({
295
+ }), De = /* @__PURE__ */ Object.assign({
269
296
  name: "MOptionGroup"
270
297
  }, {
271
298
  __name: "OptionGroup",
272
- setup(t) {
273
- return (e, o) => {
274
- const s = ke;
275
- return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
276
- b(e.$slots, (a, n) => ({
299
+ setup(e) {
300
+ return (t, o) => {
301
+ const s = _e;
302
+ return c(), d(s, z(R(t.$attrs)), _({ _: 2 }, [
303
+ f(t.$slots, (r, n) => ({
277
304
  name: n,
278
- fn: p(() => [
279
- m(e.$slots, n)
305
+ fn: m(() => [
306
+ u(t.$slots, n)
280
307
  ])
281
308
  }))
282
309
  ]), 1040);
283
310
  };
284
311
  }
285
- }), Xe = /* @__PURE__ */ Object.assign({
312
+ }), Ue = /* @__PURE__ */ Object.assign({
286
313
  name: "MPagination"
287
314
  }, {
288
315
  __name: "Pagination",
289
- setup(t) {
290
- return (e, o) => {
291
- const s = Se;
292
- return l(), _(s, M(e.$attrs, { class: "m-pagination" }), g({ _: 2 }, [
293
- b(e.$slots, (a, n) => ({
316
+ setup(e) {
317
+ return (t, o) => {
318
+ const s = ge;
319
+ return c(), d(s, g(t.$attrs, { class: "m-pagination" }), _({ _: 2 }, [
320
+ f(t.$slots, (r, n) => ({
294
321
  name: n,
295
- fn: p(() => [
296
- m(e.$slots, n)
322
+ fn: m(() => [
323
+ u(t.$slots, n)
297
324
  ])
298
325
  }))
299
326
  ]), 1040);
300
327
  };
301
328
  }
302
- }), Ye = /* @__PURE__ */ Object.assign({
329
+ }), qe = /* @__PURE__ */ Object.assign({
303
330
  name: "MRadio"
304
331
  }, {
305
332
  __name: "Radio",
@@ -309,21 +336,21 @@ const Ze = /* @__PURE__ */ Object.assign({
309
336
  default: ""
310
337
  }
311
338
  },
312
- setup(t) {
313
- const { mergedAttrs: e } = P("mc-radio-popper");
339
+ setup(e) {
340
+ const { mergedAttrs: t } = P("mc-radio-popper");
314
341
  return (o, s) => {
315
- const a = Te;
316
- return l(), _(a, M(k(e), { class: "m-radio" }), g({ _: 2 }, [
317
- b(o.$slots, (n, r) => ({
318
- name: r,
319
- fn: p(() => [
320
- m(o.$slots, r)
342
+ const r = $e;
343
+ return c(), d(r, g(v(t), { class: "m-radio" }), _({ _: 2 }, [
344
+ f(o.$slots, (n, a) => ({
345
+ name: a,
346
+ fn: m(() => [
347
+ u(o.$slots, a)
321
348
  ])
322
349
  }))
323
350
  ]), 1040);
324
351
  };
325
352
  }
326
- }), Ke = /* @__PURE__ */ Object.assign({
353
+ }), He = /* @__PURE__ */ Object.assign({
327
354
  name: "MRadioGroup"
328
355
  }, {
329
356
  __name: "RadioGroup",
@@ -333,30 +360,30 @@ const Ze = /* @__PURE__ */ Object.assign({
333
360
  default: ""
334
361
  }
335
362
  },
336
- setup(t) {
337
- const e = G(), o = h(() => {
338
- const a = "mc-radio-group-popper";
339
- return e.popperClass ? `${a} ${e.popperClass}`.trim() : a;
363
+ setup(e) {
364
+ const t = B(), o = h(() => {
365
+ const r = "mc-radio-group-popper";
366
+ return t.popperClass ? `${r} ${t.popperClass}`.trim() : r;
340
367
  }), s = h(() => {
341
- const r = e, { popperClass: a } = r;
342
- return z(r, ["popperClass"]);
368
+ const a = t, { popperClass: r } = a;
369
+ return j(a, ["popperClass"]);
343
370
  });
344
- return (a, n) => {
345
- const r = Be;
346
- return l(), _(r, M(s.value, {
371
+ return (r, n) => {
372
+ const a = Me;
373
+ return c(), d(a, g(s.value, {
347
374
  "popper-class": o.value,
348
375
  class: "m-radio-group"
349
- }), g({ _: 2 }, [
350
- b(a.$slots, (i, d) => ({
351
- name: d,
352
- fn: p(() => [
353
- m(a.$slots, d)
376
+ }), _({ _: 2 }, [
377
+ f(r.$slots, (i, p) => ({
378
+ name: p,
379
+ fn: m(() => [
380
+ u(r.$slots, p)
354
381
  ])
355
382
  }))
356
383
  ]), 1040, ["popper-class"]);
357
384
  };
358
385
  }
359
- }), xe = /* @__PURE__ */ Object.assign({
386
+ }), We = /* @__PURE__ */ Object.assign({
360
387
  name: "MRadioButton"
361
388
  }, {
362
389
  __name: "RadioButton",
@@ -366,21 +393,21 @@ const Ze = /* @__PURE__ */ Object.assign({
366
393
  default: ""
367
394
  }
368
395
  },
369
- setup(t) {
370
- const { mergedAttrs: e } = P("mc-radio-button-popper");
396
+ setup(e) {
397
+ const { mergedAttrs: t } = P("mc-radio-button-popper");
371
398
  return (o, s) => {
372
- const a = we;
373
- return l(), _(a, M(k(e), { class: "m-radio-button" }), g({ _: 2 }, [
374
- b(o.$slots, (n, r) => ({
375
- name: r,
376
- fn: p(() => [
377
- m(o.$slots, r)
399
+ const r = be;
400
+ return c(), d(r, g(v(t), { class: "m-radio-button" }), _({ _: 2 }, [
401
+ f(o.$slots, (n, a) => ({
402
+ name: a,
403
+ fn: m(() => [
404
+ u(o.$slots, a)
378
405
  ])
379
406
  }))
380
407
  ]), 1040);
381
408
  };
382
409
  }
383
- }), et = /* @__PURE__ */ Object.assign({
410
+ }), Ze = /* @__PURE__ */ Object.assign({
384
411
  name: "MSwitch"
385
412
  }, {
386
413
  __name: "Switch",
@@ -390,90 +417,90 @@ const Ze = /* @__PURE__ */ Object.assign({
390
417
  default: ""
391
418
  }
392
419
  },
393
- setup(t) {
394
- const { mergedAttrs: e, className: o } = P("mc-switch-popper");
395
- return (s, a) => {
396
- const n = Oe;
397
- return l(), _(n, M(k(e), {
398
- "popper-class": k(o),
420
+ setup(e) {
421
+ const { mergedAttrs: t, className: o } = P("mc-switch-popper");
422
+ return (s, r) => {
423
+ const n = he;
424
+ return c(), d(n, g(v(t), {
425
+ "popper-class": v(o),
399
426
  class: "m-switch"
400
- }), g({ _: 2 }, [
401
- b(s.$slots, (r, i) => ({
427
+ }), _({ _: 2 }, [
428
+ f(s.$slots, (a, i) => ({
402
429
  name: i,
403
- fn: p(() => [
404
- m(s.$slots, i)
430
+ fn: m(() => [
431
+ u(s.$slots, i)
405
432
  ])
406
433
  }))
407
434
  ]), 1040, ["popper-class"]);
408
435
  };
409
436
  }
410
- }), tt = /* @__PURE__ */ Object.assign({
437
+ }), Je = /* @__PURE__ */ Object.assign({
411
438
  name: "MTag"
412
439
  }, {
413
440
  __name: "Tag",
414
- setup(t) {
415
- return (e, o) => {
416
- const s = Ee;
417
- return l(), _(s, M(e.$attrs, { class: "m-tag" }), g({ _: 2 }, [
418
- b(e.$slots, (a, n) => ({
441
+ setup(e) {
442
+ return (t, o) => {
443
+ const s = ye;
444
+ return c(), d(s, g(t.$attrs, { class: "m-tag" }), _({ _: 2 }, [
445
+ f(t.$slots, (r, n) => ({
419
446
  name: n,
420
- fn: p(() => [
421
- m(e.$slots, n)
447
+ fn: m(() => [
448
+ u(t.$slots, n)
422
449
  ])
423
450
  }))
424
451
  ]), 1040);
425
452
  };
426
453
  }
427
- }), st = ["src", "alt"], ot = ["success", "warning", "error"], nt = {
454
+ }), Qe = ["src", "alt"], Xe = ["success", "warning", "error"], Ye = {
428
455
  name: "MAlert"
429
- }, at = /* @__PURE__ */ Object.assign(nt, {
456
+ }, Ke = /* @__PURE__ */ Object.assign(Ye, {
430
457
  props: {
431
458
  type: {
432
459
  type: String,
433
460
  default: "success",
434
- validator: (t) => ot.includes(t)
461
+ validator: (e) => Xe.includes(e)
435
462
  },
436
463
  useCustomIcon: {
437
464
  type: Boolean,
438
465
  default: !0
439
466
  }
440
467
  },
441
- setup(t) {
442
- const e = t, o = G(), s = h(() => {
443
- const i = o, { useCustomIcon: n } = i, r = z(i, ["useCustomIcon"]);
444
- return A(T({}, r), {
445
- type: e.type
468
+ setup(e) {
469
+ const t = e, o = B(), s = h(() => {
470
+ const i = o, { useCustomIcon: n } = i, a = j(i, ["useCustomIcon"]);
471
+ return w(b({}, a), {
472
+ type: t.type
446
473
  // 确保 type 属性正确传递给 el-alert
447
474
  });
448
- }), a = h(() => e.useCustomIcon ? `/images/alert/alert-${e.type}.png` : null);
449
- return (n, r) => {
450
- const i = Ie;
451
- return l(), _(i, M(s.value, { class: "mc-alert" }), g({ _: 2 }, [
452
- a.value ? {
475
+ }), r = h(() => t.useCustomIcon ? `https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/alert/alert-${t.type}.png` : null);
476
+ return (n, a) => {
477
+ const i = ve;
478
+ return c(), d(i, g(s.value, { class: "mc-alert" }), _({ _: 2 }, [
479
+ r.value ? {
453
480
  name: "icon",
454
- fn: p(() => [
455
- C("img", {
456
- src: a.value,
457
- alt: `${t.type} icon`,
481
+ fn: m(() => [
482
+ k("img", {
483
+ src: r.value,
484
+ alt: `${e.type} icon`,
458
485
  class: "mc-alert-icon"
459
- }, null, 8, st)
486
+ }, null, 8, Qe)
460
487
  ]),
461
488
  key: "0"
462
489
  } : void 0,
463
- b(n.$slots, (d, v) => ({
464
- name: v,
465
- fn: p(() => [
466
- m(n.$slots, v)
490
+ f(n.$slots, (p, M) => ({
491
+ name: M,
492
+ fn: m(() => [
493
+ u(n.$slots, M)
467
494
  ])
468
495
  }))
469
496
  ]), 1040);
470
497
  };
471
498
  }
472
- }), rt = /* @__PURE__ */ Object.assign({
499
+ }), xe = /* @__PURE__ */ Object.assign({
473
500
  name: "MDialog"
474
501
  }, {
475
502
  __name: "Dialog",
476
- props: /* @__PURE__ */ K({
503
+ props: /* @__PURE__ */ W({
477
504
  width: {
478
505
  type: String,
479
506
  default: "440px"
@@ -501,40 +528,40 @@ const Ze = /* @__PURE__ */ Object.assign({
501
528
  },
502
529
  modelModifiers: {}
503
530
  }),
504
- emits: /* @__PURE__ */ K(["close"], ["update:modelValue"]),
505
- setup(t, { emit: e }) {
506
- const o = ne(t, "modelValue");
507
- return (s, a) => {
508
- const n = Ne;
509
- return l(), $("div", null, [
510
- E(n, M({
531
+ emits: /* @__PURE__ */ W(["close"], ["update:modelValue"]),
532
+ setup(e, { emit: t }) {
533
+ const o = ne(e, "modelValue");
534
+ return (s, r) => {
535
+ const n = Ce;
536
+ return c(), $("div", null, [
537
+ E(n, g({
511
538
  modelValue: o.value,
512
- "onUpdate:modelValue": a[0] || (a[0] = (r) => o.value = r),
513
- width: t.width,
514
- title: t.title,
515
- draggable: t.draggable,
516
- "close-on-click-modal": t.closeOnClickModal,
517
- center: t.center
539
+ "onUpdate:modelValue": r[0] || (r[0] = (a) => o.value = a),
540
+ width: e.width,
541
+ title: e.title,
542
+ draggable: e.draggable,
543
+ "close-on-click-modal": e.closeOnClickModal,
544
+ center: e.center
518
545
  }, s.$attrs, {
519
546
  class: "m-dialog",
520
547
  "header-class": "m-header"
521
- }), g({
522
- default: p(() => [
523
- m(s.$slots, "default")
548
+ }), _({
549
+ default: m(() => [
550
+ u(s.$slots, "default")
524
551
  ]),
525
552
  _: 2
526
553
  }, [
527
554
  s.$slots.header ? {
528
555
  name: "header",
529
- fn: p(({ close: r, titleId: i, titleClass: d }) => [
530
- m(s.$slots, "header", F(U({ close: r, titleId: i, titleClass: d })))
556
+ fn: m(({ close: a, titleId: i, titleClass: p }) => [
557
+ u(s.$slots, "header", z(R({ close: a, titleId: i, titleClass: p })))
531
558
  ]),
532
559
  key: "0"
533
560
  } : void 0,
534
561
  s.$slots.footer ? {
535
562
  name: "footer",
536
- fn: p(() => [
537
- m(s.$slots, "footer")
563
+ fn: m(() => [
564
+ u(s.$slots, "footer")
538
565
  ]),
539
566
  key: "1"
540
567
  } : void 0
@@ -542,23 +569,160 @@ const Ze = /* @__PURE__ */ Object.assign({
542
569
  ]);
543
570
  };
544
571
  }
545
- }), it = {
572
+ }), et = {
546
573
  name: "MNotification"
547
574
  };
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
- name: d,
553
- fn: p(() => [
554
- m(t.$slots, d)
575
+ function tt(e, t, o, s, r, n) {
576
+ const a = ke;
577
+ return c(), d(a, g(e.$attrs, { class: "mc-notification" }), _({ _: 2 }, [
578
+ f(e.$slots, (i, p) => ({
579
+ name: p,
580
+ fn: m(() => [
581
+ u(e.$slots, p)
555
582
  ])
556
583
  }))
557
584
  ]), 1040);
558
585
  }
559
- const ct = /* @__PURE__ */ O(it, [["render", lt]]), B = L([]);
560
- let ut = 0;
561
- const vs = {
586
+ const st = /* @__PURE__ */ T(et, [["render", tt]]), C = L([]);
587
+ let ot = 0;
588
+ const nt = {
589
+ // 默认配置
590
+ defaultOptions: {
591
+ message: "",
592
+ type: "success",
593
+ plain: !1,
594
+ customIcon: "",
595
+ dangerouslyUseHTMLString: !1,
596
+ customClass: "",
597
+ duration: 3e3,
598
+ showClose: !1,
599
+ showIcon: !0,
600
+ onClose: null,
601
+ offset: 16,
602
+ placement: "top",
603
+ appendTo: "body",
604
+ grouping: !1,
605
+ repeatNum: 1
606
+ },
607
+ // 显示消息
608
+ show(e = {}) {
609
+ typeof e == "string" && (e = { message: e });
610
+ const t = w(b(b({}, this.defaultOptions), e), {
611
+ id: ++ot
612
+ });
613
+ if (t.grouping) {
614
+ const o = C.value.findIndex(
615
+ (s) => s.message === t.message && s.type === t.type && s.grouping
616
+ );
617
+ if (o > -1)
618
+ return C.value[o].repeatNum++, { close: () => this.close(C.value[o].id) };
619
+ }
620
+ return C.value.push(t), t.duration > 0 && setTimeout(() => {
621
+ this.close(t.id);
622
+ }, t.duration), {
623
+ close: () => this.close(t.id)
624
+ };
625
+ },
626
+ // 关闭指定消息
627
+ close(e) {
628
+ const t = C.value.findIndex((o) => o.id === e);
629
+ if (t > -1) {
630
+ const o = C.value[t];
631
+ o.onClose && o.onClose(o), C.value.splice(t, 1);
632
+ }
633
+ },
634
+ // 关闭所有消息
635
+ closeAll() {
636
+ C.value = [];
637
+ },
638
+ // 便捷方法
639
+ success(e = {}) {
640
+ return typeof e == "string" && (e = { message: e }), this.show(w(b({}, e), { type: "success" }));
641
+ },
642
+ warning(e = {}) {
643
+ return typeof e == "string" && (e = { message: e }), this.show(w(b({}, e), { type: "warning" }));
644
+ },
645
+ error(e = {}) {
646
+ return typeof e == "string" && (e = { message: e }), this.show(w(b({}, e), { type: "error" }));
647
+ }
648
+ }, rt = (e) => {
649
+ nt.close(e);
650
+ }, at = {
651
+ name: "MMessage",
652
+ setup() {
653
+ return {
654
+ messages: C,
655
+ closeMessage: rt
656
+ };
657
+ }
658
+ }, it = {
659
+ key: 0,
660
+ class: "message-icon"
661
+ }, ct = ["src"], lt = {
662
+ key: 1,
663
+ src: "https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/alert/alert-success.png",
664
+ alt: "success icon",
665
+ class: "message-icon-img"
666
+ }, ut = {
667
+ key: 2,
668
+ src: "https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/alert/alert-warning.png",
669
+ alt: "warning icon",
670
+ class: "message-icon-img"
671
+ }, mt = {
672
+ key: 3,
673
+ src: "https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/alert/alert-error.png",
674
+ alt: "error icon",
675
+ class: "message-icon-img"
676
+ }, pt = { class: "message-content" }, dt = ["innerHTML"], ft = { key: 2 }, _t = {
677
+ key: 3,
678
+ class: "message-repeat"
679
+ }, gt = ["onClick"];
680
+ function $t(e, t, o, s, r, n) {
681
+ return c(), d(Q, { to: "body" }, [
682
+ E(X, {
683
+ name: "message",
684
+ tag: "div",
685
+ class: "message-container"
686
+ }, {
687
+ default: m(() => [
688
+ (c(!0), $(Y, null, f(s.messages, (a) => (c(), $("div", {
689
+ key: a.id,
690
+ class: G([
691
+ "custom-message",
692
+ `message-${a.type}`,
693
+ `message-${a.placement}`,
694
+ { "message-plain": a.plain }
695
+ ])
696
+ }, [
697
+ a.showIcon ? (c(), $("div", it, [
698
+ a.customIcon ? (c(), $("img", {
699
+ key: 0,
700
+ src: a.customIcon,
701
+ alt: "custom icon",
702
+ class: "message-icon-img"
703
+ }, null, 8, ct)) : a.type === "success" ? (c(), $("img", lt)) : a.type === "warning" ? (c(), $("img", ut)) : a.type === "error" ? (c(), $("img", mt)) : S("", !0)
704
+ ])) : S("", !0),
705
+ k("div", pt, [
706
+ typeof a.message == "function" ? (c(), d(K(a.message), { key: 0 })) : a.dangerouslyUseHTMLString ? (c(), $("div", {
707
+ key: 1,
708
+ innerHTML: a.message
709
+ }, null, 8, dt)) : (c(), $("span", ft, O(a.message), 1)),
710
+ a.repeatNum > 1 ? (c(), $("span", _t, O(a.repeatNum), 1)) : S("", !0)
711
+ ]),
712
+ a.showClose ? (c(), $("button", {
713
+ key: 1,
714
+ class: "message-close",
715
+ onClick: (i) => s.closeMessage(a.id)
716
+ }, " × ", 8, gt)) : S("", !0)
717
+ ], 2))), 128))
718
+ ]),
719
+ _: 1
720
+ })
721
+ ]);
722
+ }
723
+ const x = /* @__PURE__ */ T(at, [["render", $t]]), I = L([]);
724
+ let Mt = 0;
725
+ const Is = {
562
726
  // 默认配置
563
727
  defaultOptions: {
564
728
  title: "",
@@ -569,90 +733,90 @@ const vs = {
569
733
  offset: 20
570
734
  },
571
735
  // 显示通知
572
- show(t = {}) {
573
- const e = A(T(T({}, this.defaultOptions), t), {
574
- id: ++ut
736
+ show(e = {}) {
737
+ const t = w(b(b({}, this.defaultOptions), e), {
738
+ id: ++Mt
575
739
  });
576
- return B.value.push(e), e.duration > 0 && setTimeout(() => {
577
- this.close(e.id);
578
- }, e.duration), {
579
- close: () => this.close(e.id)
740
+ return I.value.push(t), t.duration > 0 && setTimeout(() => {
741
+ this.close(t.id);
742
+ }, t.duration), {
743
+ close: () => this.close(t.id)
580
744
  };
581
745
  },
582
746
  // 关闭指定通知
583
- close(t) {
584
- const e = B.value.findIndex((o) => o.id === t);
585
- e > -1 && B.value.splice(e, 1);
747
+ close(e) {
748
+ const t = I.value.findIndex((o) => o.id === e);
749
+ t > -1 && I.value.splice(t, 1);
586
750
  },
587
751
  // 关闭所有通知
588
752
  closeAll() {
589
- B.value = [];
753
+ I.value = [];
590
754
  },
591
755
  // 便捷方法
592
- success(t = {}) {
593
- return this.show(t);
756
+ success(e = {}) {
757
+ return this.show(e);
594
758
  },
595
- warning(t = {}) {
596
- return this.show(t);
759
+ warning(e = {}) {
760
+ return this.show(e);
597
761
  },
598
- error(t = {}) {
599
- return this.show(t);
762
+ error(e = {}) {
763
+ return this.show(e);
600
764
  }
601
- }, mt = (t) => {
602
- const e = B.value.findIndex((o) => o.id === t);
603
- e > -1 && B.value.splice(e, 1);
604
- }, pt = {
765
+ }, bt = (e) => {
766
+ const t = I.value.findIndex((o) => o.id === e);
767
+ t > -1 && I.value.splice(t, 1);
768
+ }, ht = {
605
769
  name: "MNotifiMessage",
606
770
  setup() {
607
771
  return {
608
- notifications: B,
609
- closeNotification: mt
772
+ notifications: I,
773
+ closeNotification: bt
610
774
  };
611
775
  }
612
- }, dt = { class: "notification-content" }, ft = { class: "notification-title" }, _t = { class: "notification-message" }, bt = {
776
+ }, yt = { class: "notification-content" }, vt = { class: "notification-title" }, Ct = { class: "notification-message" }, kt = {
613
777
  key: 0,
614
778
  class: "notification-action"
615
- }, gt = ["onClick"];
616
- function Mt(t, e, o, s, a, n) {
617
- return l(), _(ae, { to: "body" }, [
618
- E(re, {
779
+ }, St = ["onClick"];
780
+ function wt(e, t, o, s, r, n) {
781
+ return c(), d(Q, { to: "body" }, [
782
+ E(X, {
619
783
  name: "notification",
620
784
  tag: "div",
621
785
  class: "notification-container"
622
786
  }, {
623
- default: p(() => [
624
- (l(!0), $(x, null, b(s.notifications, (r) => (l(), $("div", {
625
- key: r.id,
626
- class: I([
787
+ default: m(() => [
788
+ (c(!0), $(Y, null, f(s.notifications, (a) => (c(), $("div", {
789
+ key: a.id,
790
+ class: G([
627
791
  "custom-notification",
628
- `notification-${r.position}`
792
+ `notification-${a.position}`
629
793
  ])
630
794
  }, [
631
- e[0] || (e[0] = C("div", { class: "notification-icon" }, [
632
- C("img", {
795
+ t[0] || (t[0] = k("div", { class: "notification-icon" }, [
796
+ k("img", {
633
797
  src: "https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/MCImages/userCenter/icon-quota-tip.png",
634
798
  alt: "notification icon"
635
799
  })
636
800
  ], -1)),
637
- C("div", dt, [
638
- C("div", ft, V(r.title), 1),
639
- C("div", _t, V(r.message), 1),
640
- r.slotContent ? (l(), $("div", bt, [
641
- (l(), _(ie(r.slotContent)))
642
- ])) : w("", !0)
801
+ k("div", yt, [
802
+ k("div", vt, O(a.title), 1),
803
+ k("div", Ct, O(a.message), 1),
804
+ a.slotContent ? (c(), $("div", kt, [
805
+ (c(), d(K(a.slotContent)))
806
+ ])) : S("", !0)
643
807
  ]),
644
- r.showClose ? (l(), $("button", {
808
+ a.showClose ? (c(), $("button", {
645
809
  key: 0,
646
810
  class: "notification-close",
647
- onClick: (i) => s.closeNotification(r.id)
648
- }, " × ", 8, gt)) : w("", !0)
811
+ onClick: (i) => s.closeNotification(a.id)
812
+ }, " × ", 8, St)) : S("", !0)
649
813
  ], 2))), 128))
650
814
  ]),
651
815
  _: 1
652
816
  })
653
817
  ]);
654
818
  }
655
- const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.assign({
819
+ const ee = /* @__PURE__ */ T(ht, [["render", wt]]), Tt = /* @__PURE__ */ Object.assign({
656
820
  name: "MDatePicker"
657
821
  }, {
658
822
  __name: "DatePicker",
@@ -662,24 +826,24 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
662
826
  default: ""
663
827
  }
664
828
  },
665
- setup(t) {
666
- const { mergedAttrs: e, className: o } = P(
829
+ setup(e) {
830
+ const { mergedAttrs: t, className: o } = P(
667
831
  "mc-datepicker-popper",
668
832
  "popperClass"
669
833
  );
670
- return (s, a) => {
671
- const n = je;
672
- return l(), _(n, M(k(e), { "popper-class": k(o) }), g({ _: 2 }, [
673
- b(s.$slots, (r, i) => ({
834
+ return (s, r) => {
835
+ const n = Se;
836
+ return c(), d(n, g(v(t), { "popper-class": v(o) }), _({ _: 2 }, [
837
+ f(s.$slots, (a, i) => ({
674
838
  name: i,
675
- fn: p(() => [
676
- m(s.$slots, i)
839
+ fn: m(() => [
840
+ u(s.$slots, i)
677
841
  ])
678
842
  }))
679
843
  ]), 1040, ["popper-class"]);
680
844
  };
681
845
  }
682
- }), ht = [
846
+ }), It = [
683
847
  "404",
684
848
  "billing",
685
849
  "cart",
@@ -696,74 +860,74 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
696
860
  "subscription",
697
861
  "todo",
698
862
  "wishlist"
699
- ], yt = {
863
+ ], Et = {
700
864
  name: "MEmpty"
701
- }, Ct = /* @__PURE__ */ Object.assign(yt, {
865
+ }, Ot = /* @__PURE__ */ Object.assign(Et, {
702
866
  props: {
703
867
  image: {
704
868
  type: String,
705
869
  default: "orders",
706
- validator: (t) => t.includes("/") || t.includes("http") ? !0 : ht.includes(t)
870
+ validator: (e) => e.includes("/") || e.includes("http") ? !0 : It.includes(e)
707
871
  }
708
872
  },
709
- setup(t) {
710
- const e = t, o = G(), s = h(() => {
873
+ setup(e) {
874
+ const t = e, o = B(), s = h(() => {
711
875
  const i = o, { image: n } = i;
712
- return z(i, ["image"]);
713
- }), a = h(() => {
714
- const { image: n } = e;
876
+ return j(i, ["image"]);
877
+ }), r = h(() => {
878
+ const { image: n } = t;
715
879
  return n.includes("/") || n.includes("http") ? n : `/images/empty/${n}.png`;
716
880
  });
717
- return (n, r) => {
718
- const i = Ae;
719
- return l(), _(i, M(s.value, { image: a.value }), g({ _: 2 }, [
720
- b(n.$slots, (d, v) => ({
721
- name: v,
722
- fn: p(() => [
723
- m(n.$slots, v)
881
+ return (n, a) => {
882
+ const i = we;
883
+ return c(), d(i, g(s.value, { image: r.value }), _({ _: 2 }, [
884
+ f(n.$slots, (p, M) => ({
885
+ name: M,
886
+ fn: m(() => [
887
+ u(n.$slots, M)
724
888
  ])
725
889
  }))
726
890
  ]), 1040, ["image"]);
727
891
  };
728
892
  }
729
- }), kt = /* @__PURE__ */ Object.assign({
893
+ }), Bt = /* @__PURE__ */ Object.assign({
730
894
  name: "MTable"
731
895
  }, {
732
896
  __name: "Table",
733
- setup(t) {
734
- return (e, o) => {
735
- const s = ze;
736
- return l(), _(s, F(U(e.$attrs)), g({ _: 2 }, [
737
- b(e.$slots, (a, n) => ({
897
+ setup(e) {
898
+ return (t, o) => {
899
+ const s = Te;
900
+ return c(), d(s, z(R(t.$attrs)), _({ _: 2 }, [
901
+ f(t.$slots, (r, n) => ({
738
902
  name: n,
739
- fn: p(() => [
740
- m(e.$slots, n)
903
+ fn: m(() => [
904
+ u(t.$slots, n)
741
905
  ])
742
906
  }))
743
907
  ]), 1040);
744
908
  };
745
909
  }
746
- }), St = /* @__PURE__ */ Object.assign({
910
+ }), Pt = /* @__PURE__ */ Object.assign({
747
911
  name: "MTableColumn"
748
912
  }, {
749
913
  __name: "TableColumn",
750
- setup(t) {
751
- return (e, o) => {
752
- const s = Le;
753
- return l(), _(s, M(e.$attrs, { class: "m-table-column" }), g({ _: 2 }, [
754
- b(e.$slots, (a, n) => ({
914
+ setup(e) {
915
+ return (t, o) => {
916
+ const s = Ie;
917
+ return c(), d(s, g(t.$attrs, { class: "m-table-column" }), _({ _: 2 }, [
918
+ f(t.$slots, (r, n) => ({
755
919
  name: n,
756
- fn: p(() => [
757
- m(e.$slots, n)
920
+ fn: m(() => [
921
+ u(t.$slots, n)
758
922
  ])
759
923
  }))
760
924
  ]), 1040);
761
925
  };
762
926
  }
763
- }), Tt = { class: "m-banner__content" }, Bt = {
927
+ }), Nt = { class: "m-banner__content" }, jt = {
764
928
  key: 0,
765
929
  class: "m-banner__icon"
766
- }, wt = { class: "m-banner__text" }, Ot = /* @__PURE__ */ Object.assign({
930
+ }, At = { class: "m-banner__text" }, Lt = /* @__PURE__ */ Object.assign({
767
931
  name: "MBanner"
768
932
  }, {
769
933
  __name: "Banner",
@@ -777,7 +941,7 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
777
941
  type: {
778
942
  type: String,
779
943
  default: "info",
780
- validator: (t) => ["info", "success", "warning", "error"].includes(t)
944
+ validator: (e) => ["info", "success", "warning", "error"].includes(e)
781
945
  },
782
946
  // 是否可关闭
783
947
  closable: {
@@ -826,280 +990,115 @@ const $t = /* @__PURE__ */ O(pt, [["render", Mt]]), vt = /* @__PURE__ */ Object.
826
990
  }
827
991
  },
828
992
  emits: ["close", "update:visible"],
829
- setup(t, { expose: e, emit: o }) {
830
- const s = W(), a = t, n = o, r = L(a.visible);
831
- R(() => a.visible, (u) => {
832
- r.value = u;
993
+ setup(e, { expose: t, emit: o }) {
994
+ const s = re(), r = e, n = o, a = L(r.visible);
995
+ Z(() => r.visible, (y) => {
996
+ a.value = y;
833
997
  });
834
998
  const i = h(() => {
835
- const u = {};
836
- return a.backgroundColor && (u.backgroundColor = a.backgroundColor), a.textColor && (u.color = a.textColor), a.borderColor && (u.borderColor = a.borderColor), u;
837
- }), d = {
999
+ const y = {};
1000
+ return r.backgroundColor && (y.backgroundColor = r.backgroundColor), r.textColor && (y.color = r.textColor), r.borderColor && (y.borderColor = r.borderColor), y;
1001
+ }), p = {
838
1002
  info: "info",
839
1003
  success: "check-circle",
840
1004
  warning: "warning",
841
1005
  error: "close-circle"
842
1006
  };
843
- h(() => a.icon || d[a.type]);
844
- const v = () => {
845
- r.value = !1, n("update:visible", !1), n("close");
1007
+ h(() => r.icon || p[r.type]);
1008
+ const M = () => {
1009
+ a.value = !1, n("update:visible", !1), n("close");
846
1010
  };
847
- return R(r, (u) => {
848
- u && a.duration > 0 && setTimeout(() => {
849
- v();
850
- }, a.duration);
851
- }), e({
852
- close: v
853
- }), (u, y) => t.visible ? (l(), $("div", {
1011
+ return Z(a, (y) => {
1012
+ y && r.duration > 0 && setTimeout(() => {
1013
+ M();
1014
+ }, r.duration);
1015
+ }), t({
1016
+ close: M
1017
+ }), (y, es) => e.visible ? (c(), $("div", {
854
1018
  key: 0,
855
- class: I(["m-banner", [
856
- `m-banner--${t.type}`,
1019
+ class: G(["m-banner", [
1020
+ `m-banner--${e.type}`,
857
1021
  {
858
- "m-banner--closable": t.closable,
859
- "m-banner--with-icon": t.icon || k(s).icon
1022
+ "m-banner--closable": e.closable,
1023
+ "m-banner--with-icon": e.icon || v(s).icon
860
1024
  }
861
1025
  ]]),
862
- style: le(i.value)
1026
+ style: ae(i.value)
863
1027
  }, [
864
- C("div", Tt, [
865
- t.icon || k(s).icon ? (l(), $("div", Bt, [
866
- m(u.$slots, "icon", {}, () => [
867
- E(N, {
868
- name: t.icon,
869
- size: t.iconSize
1028
+ k("div", Nt, [
1029
+ e.icon || v(s).icon ? (c(), $("div", jt, [
1030
+ u(y.$slots, "icon", {}, () => [
1031
+ E(V, {
1032
+ name: e.icon,
1033
+ size: e.iconSize
870
1034
  }, null, 8, ["name", "size"])
871
1035
  ], !0)
872
- ])) : w("", !0),
873
- C("div", wt, [
874
- m(u.$slots, "default", {}, () => [
875
- ce(V(t.content), 1)
1036
+ ])) : S("", !0),
1037
+ k("div", At, [
1038
+ u(y.$slots, "default", {}, () => [
1039
+ ie(O(e.content), 1)
876
1040
  ], !0)
877
1041
  ]),
878
- t.closable ? (l(), $("div", {
1042
+ e.closable ? (c(), $("div", {
879
1043
  key: 1,
880
1044
  class: "m-banner__close",
881
- onClick: v
1045
+ onClick: M
882
1046
  }, [
883
- E(N, {
1047
+ E(V, {
884
1048
  name: "lucide-x",
885
- size: t.closeIconSize
1049
+ size: e.closeIconSize
886
1050
  }, null, 8, ["size"])
887
- ])) : w("", !0)
1051
+ ])) : S("", !0)
888
1052
  ])
889
- ], 6)) : w("", !0);
1053
+ ], 6)) : S("", !0);
890
1054
  }
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
- __name: "Tabs",
893
- props: {
894
- // 当前激活的标签页
895
- modelValue: {
896
- type: [String, Number],
897
- default: ""
898
- },
899
- // 标签页类型
900
- type: {
901
- type: String,
902
- default: "",
903
- validator: (t) => ["", "card", "border-card"].includes(t)
904
- },
905
- // 标签位置
906
- tabPosition: {
907
- type: String,
908
- default: "top",
909
- validator: (t) => ["top", "right", "bottom", "left"].includes(t)
910
- },
911
- // 是否可关闭
912
- closable: {
913
- type: Boolean,
914
- default: !1
915
- },
916
- // 是否可添加
917
- addable: {
918
- type: Boolean,
919
- default: !1
920
- },
921
- // 是否可编辑(同时可添加和关闭)
922
- editable: {
923
- type: Boolean,
924
- default: !1
925
- },
926
- // 标签宽度是否自撑开
927
- stretch: {
928
- type: Boolean,
929
- default: !1
930
- },
931
- // 切换前的钩子函数
932
- beforeLeave: {
933
- type: Function,
934
- default: null
935
- }
936
- },
937
- emits: ["update:modelValue", "tab-click", "tab-change", "tab-remove", "tab-add", "edit"],
938
- setup(t, { expose: e, emit: o }) {
939
- const s = t, a = o;
940
- W();
941
- const n = L([]), r = L(s.modelValue);
942
- R(() => s.modelValue, (u) => {
943
- r.value = u;
944
- }), R(r, (u) => {
945
- a("update:modelValue", u), a("tab-change", u);
946
- }), ue("tabsContext", {
947
- registerTab: (u) => {
948
- const y = n.value.findIndex((f) => f.name === u.name);
949
- y >= 0 ? n.value[y] = u : n.value.push(u), !r.value && n.value.length > 0 && (r.value = n.value[0].name || 0);
950
- },
951
- unregisterTab: (u) => {
952
- const y = n.value.findIndex((f) => f.name === u);
953
- y >= 0 && n.value.splice(y, 1);
954
- }
955
- });
956
- const i = (u, y) => Y(this, null, function* () {
957
- if (u.disabled) return;
958
- const f = u.name || y;
959
- if (r.value !== f) {
960
- if (s.beforeLeave)
961
- try {
962
- if ((yield s.beforeLeave(r.value, f)) === !1) return;
963
- } catch (S) {
964
- return;
965
- }
966
- r.value = f, a("tab-click", { name: f, index: y, disabled: u.disabled });
967
- }
968
- }), d = (u, y) => {
969
- const f = u.name || y;
970
- a("tab-remove", f), a("edit", f, "remove");
971
- }, v = () => {
972
- a("tab-add"), a("edit", "", "add");
973
- };
974
- return e({
975
- activeName: h(() => r.value)
976
- }), (u, y) => (l(), $("div", {
977
- class: I(["m-tabs", [`m-tabs--${t.type}`, `m-tabs--${t.tabPosition}`]])
978
- }, [
979
- C("div", It, [
980
- C("div", Nt, [
981
- (l(!0), $(x, null, b(n.value, (f, S) => {
982
- var H;
983
- return l(), $("div", {
984
- key: f.name || S,
985
- class: I([
986
- "m-tabs__item",
987
- {
988
- "m-tabs__item--active": r.value === (f.name || S),
989
- "m-tabs__item--disabled": f.disabled,
990
- "m-tabs__item--closable": f.closable
991
- }
992
- ]),
993
- onClick: (ee) => i(f, S)
994
- }, [
995
- C("span", jt, [
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
- ]),
998
- f.closable ? (l(), $("span", {
999
- key: 0,
1000
- class: "m-tabs__item-close",
1001
- onClick: me((ee) => d(f, S), ["stop"])
1002
- }, [
1003
- E(N, {
1004
- name: "lucide-x",
1005
- size: 12
1006
- })
1007
- ], 8, zt)) : w("", !0)
1008
- ], 10, Pt);
1009
- }), 128)),
1010
- t.addable || t.editable ? (l(), $("div", {
1011
- key: 0,
1012
- class: "m-tabs__item m-tabs__item--add",
1013
- onClick: v
1014
- }, [
1015
- E(N, {
1016
- name: "plus",
1017
- size: 12
1018
- })
1019
- ])) : w("", !0)
1020
- ])
1021
- ]),
1022
- C("div", Lt, [
1023
- m(u.$slots, "default", {}, void 0, !0)
1055
+ }), zt = /* @__PURE__ */ T(Lt, [["__scopeId", "data-v-00c80323"]]), Rt = {
1056
+ name: "MTabs"
1057
+ };
1058
+ function Ft(e, t, o, s, r, n) {
1059
+ const a = Ee;
1060
+ return c(), d(a, g(e.$attrs, { class: "m-tabs" }), _({ _: 2 }, [
1061
+ f(e.$slots, (i, p) => ({
1062
+ name: p,
1063
+ fn: m(() => [
1064
+ u(e.$slots, p)
1024
1065
  ])
1025
- ], 2));
1026
- }
1027
- }, Rt = /* @__PURE__ */ O(Vt, [["__scopeId", "data-v-23508d30"]]), Dt = /* @__PURE__ */ Object.assign({
1066
+ }))
1067
+ ]), 1040);
1068
+ }
1069
+ const Vt = /* @__PURE__ */ T(Rt, [["render", Ft]]), Gt = {
1028
1070
  name: "MTabPane"
1029
- }, {
1030
- __name: "TabPane",
1031
- props: {
1032
- // 选项卡标题
1033
- label: {
1034
- type: String,
1035
- default: ""
1036
- },
1037
- // 是否禁用
1038
- disabled: {
1039
- type: Boolean,
1040
- default: !1
1041
- },
1042
- // 选项卡名称,用于标识
1043
- name: {
1044
- type: [String, Number],
1045
- default: ""
1046
- },
1047
- // 是否可关闭
1048
- closable: {
1049
- type: Boolean,
1050
- default: !1
1051
- },
1052
- // 是否延迟渲染
1053
- lazy: {
1054
- type: Boolean,
1055
- default: !1
1056
- }
1057
- },
1058
- setup(t) {
1059
- const e = t, o = W(), s = pe("tabsContext"), a = h(() => s ? s.activeName === (e.name || s.tabIndex) : !1);
1060
- return de(() => {
1061
- if (s) {
1062
- const n = {
1063
- name: e.name,
1064
- label: e.label,
1065
- disabled: e.disabled,
1066
- closable: e.closable,
1067
- $slots: o
1068
- };
1069
- s.registerTab(n);
1070
- }
1071
- }), fe(() => {
1072
- s && s.unregisterTab(e.name);
1073
- }), (n, r) => _e((l(), $("div", {
1074
- class: I(["m-tab-pane", {
1075
- "m-tab-pane--active": a.value,
1076
- "m-tab-pane--disabled": t.disabled
1077
- }])
1078
- }, [
1079
- m(n.$slots, "default", {}, void 0, !0)
1080
- ], 2)), [
1081
- [be, a.value]
1082
- ]);
1083
- }
1084
- }), Gt = /* @__PURE__ */ O(Dt, [["__scopeId", "data-v-722bb248"]]);
1085
- function D(t) {
1086
- t && t.classList && t.classList.add("mc-ui-override");
1071
+ };
1072
+ function Dt(e, t, o, s, r, n) {
1073
+ const a = Oe;
1074
+ return c(), d(a, g(e.$attrs, { class: "m-tab-pane" }), _({ _: 2 }, [
1075
+ f(e.$slots, (i, p) => ({
1076
+ name: p,
1077
+ fn: m(() => [
1078
+ u(e.$slots, p)
1079
+ ])
1080
+ }))
1081
+ ]), 1040);
1082
+ }
1083
+ const Ut = /* @__PURE__ */ T(Gt, [["render", Dt]]);
1084
+ function A(e) {
1085
+ e && e.classList && e.classList.add("mc-ui-override");
1087
1086
  }
1088
- function Ft(t) {
1089
- t && t.$el && D(t.$el);
1087
+ function qt(e) {
1088
+ e && e.$el && A(e.$el);
1090
1089
  }
1091
- function Ut() {
1092
- typeof document != "undefined" && (document.body.classList.add("mc-ui-override"), new MutationObserver((e) => {
1093
- e.forEach((o) => {
1090
+ function Ht() {
1091
+ typeof document != "undefined" && (document.body.classList.add("mc-ui-override"), new MutationObserver((t) => {
1092
+ t.forEach((o) => {
1094
1093
  o.addedNodes.forEach((s) => {
1095
1094
  if (s.nodeType === 1 && s.classList) {
1096
- if (s.className && s.className.includes("el-")) {
1095
+ if (s.className && typeof s.className == "string" && s.className.includes("el-")) {
1097
1096
  const n = s.closest(".mc-ui-override") || s.parentElement;
1098
1097
  n && !n.classList.contains("mc-ui-override") && n.classList.add("mc-ui-override");
1099
1098
  }
1100
1099
  s.querySelectorAll('[class*="el-"]').forEach((n) => {
1101
- const r = n.closest(".mc-ui-override") || n.parentElement;
1102
- r && !r.classList.contains("mc-ui-override") && r.classList.add("mc-ui-override");
1100
+ const a = n.closest(".mc-ui-override") || n.parentElement;
1101
+ a && !a.classList.contains("mc-ui-override") && a.classList.add("mc-ui-override");
1103
1102
  });
1104
1103
  }
1105
1104
  });
@@ -1109,32 +1108,55 @@ function Ut() {
1109
1108
  subtree: !0
1110
1109
  }));
1111
1110
  }
1112
- function qt(t = '[class*="el-"]') {
1113
- typeof document != "undefined" && document.querySelectorAll(t).forEach((o) => {
1111
+ function Wt(e = '[class*="el-"]') {
1112
+ typeof document != "undefined" && document.querySelectorAll(e).forEach((o) => {
1114
1113
  const s = o.closest(".mc-ui-override") || o.parentElement;
1115
1114
  s && !s.classList.contains("mc-ui-override") && s.classList.add("mc-ui-override");
1116
1115
  });
1117
1116
  }
1118
- function Wt(t) {
1119
- return A(T({}, t), {
1117
+ function Zt(e) {
1118
+ return w(b({}, e), {
1120
1119
  mounted() {
1121
- D(this.$el), t.mounted && t.mounted.call(this);
1120
+ A(this.$el), e.mounted && e.mounted.call(this);
1122
1121
  },
1123
1122
  updated() {
1124
- D(this.$el), t.updated && t.updated.call(this);
1123
+ A(this.$el), e.updated && e.updated.call(this);
1125
1124
  }
1126
1125
  });
1127
1126
  }
1128
- const Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1127
+ const Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1129
1128
  __proto__: null,
1130
- addComponentOverride: Ft,
1131
- addOverrideClass: D,
1132
- applyGlobalOverride: Ut,
1133
- createOverrideComponent: Wt,
1134
- forceRefreshStyles: qt
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
- function Ht(t) {
1137
- const e = Z.map((o) => {
1129
+ addComponentOverride: qt,
1130
+ addOverrideClass: A,
1131
+ applyGlobalOverride: Ht,
1132
+ createOverrideComponent: Zt,
1133
+ forceRefreshStyles: Wt
1134
+ }, Symbol.toStringTag, { value: "Module" })), D = [V, Ne, je, Ae, Le, Fe, Ve, Ge, De, Ue, qe, He, We, Ze, Je, Ke, xe, st, x, ee, Tt, Ot, Bt, Pt, zt, Vt, Ut], Qt = [
1135
+ { id: "global-message-container", component: x },
1136
+ { id: "global-notification-container", component: ee }
1137
+ ];
1138
+ function Xt(o) {
1139
+ return F(this, arguments, function* ({ id: e, component: t }) {
1140
+ try {
1141
+ if (document.getElementById(e)) return;
1142
+ const { createApp: s, h: r } = yield import("vue"), n = document.createElement("div");
1143
+ n.id = e, document.body.appendChild(n), s({
1144
+ render: () => r(t)
1145
+ }).mount(`#${e}`);
1146
+ } catch (s) {
1147
+ console.warn(`Failed to create global component ${e}:`, s);
1148
+ }
1149
+ });
1150
+ }
1151
+ function Yt() {
1152
+ return F(this, null, function* () {
1153
+ const e = Qt.map(Xt);
1154
+ yield Promise.all(e);
1155
+ });
1156
+ }
1157
+ const l = {};
1158
+ function Kt(e) {
1159
+ const t = D.map((o) => {
1138
1160
  if (o && o.name && typeof o.name == "string") {
1139
1161
  let s = o.name.toLowerCase();
1140
1162
  return {
@@ -1148,21 +1170,21 @@ function Ht(t) {
1148
1170
  }
1149
1171
  return null;
1150
1172
  }).filter(Boolean);
1151
- Object.entries(q).forEach(([o, s]) => {
1173
+ Object.entries(J).forEach(([o, s]) => {
1152
1174
  if (s && s.name && typeof s.name == "string" && s.name.startsWith("El")) {
1153
- const a = "m-" + s.name.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
1154
- e.includes(a) || t._context.components[a] || t.component(a, s);
1175
+ const r = "m-" + s.name.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
1176
+ t.includes(r) || e._context.components[r] || e.component(r, s);
1155
1177
  const n = "M" + s.name.slice(2);
1156
- c[n] = s;
1178
+ l[n] = s;
1157
1179
  }
1158
1180
  });
1159
1181
  }
1160
- const Jt = (t) => {
1161
- typeof window != "undefined" && Promise.resolve().then(() => Zt).then(({ applyGlobalOverride: e }) => {
1162
- e();
1163
- }), console.log("🚀 开始安装 @mc-markets/ui 组件库..."), Z.forEach((e) => {
1164
- if (e && e.name && typeof e.name == "string") {
1165
- let o = e.name.toLowerCase();
1182
+ const xt = (e) => {
1183
+ typeof window != "undefined" && Promise.resolve().then(() => Jt).then(({ applyGlobalOverride: t }) => {
1184
+ t();
1185
+ }), console.log("🚀 开始安装 @mc-markets/ui 组件库..."), D.forEach((t) => {
1186
+ if (t && t.name && typeof t.name == "string") {
1187
+ let o = t.name.toLowerCase();
1166
1188
  o = {
1167
1189
  mradiogroup: "m-radio-group",
1168
1190
  mradiobutton: "m-radio-button",
@@ -1170,14 +1192,14 @@ const Jt = (t) => {
1170
1192
  moptiongroup: "m-option-group",
1171
1193
  mtabs: "m-tabs",
1172
1194
  mtabpane: "m-tab-pane"
1173
- }[o] || o.replace(/^m/, "m-"), t.component(o, e);
1195
+ }[o] || o.replace(/^m/, "m-"), e.component(o, t);
1174
1196
  }
1175
- }), Ht(t);
1197
+ }), Kt(e), typeof window != "undefined" && Yt();
1176
1198
  };
1177
- function hs(t) {
1178
- const e = Object.keys(t._context.components || {}), o = Z.map((s) => {
1199
+ function Es(e) {
1200
+ const t = Object.keys(e._context.components || {}), o = D.map((s) => {
1179
1201
  if (s && s.name && typeof s.name == "string") {
1180
- let a = s.name.toLowerCase();
1202
+ let r = s.name.toLowerCase();
1181
1203
  return {
1182
1204
  mradiogroup: "m-radio-group",
1183
1205
  mradiobutton: "m-radio-button",
@@ -1185,86 +1207,87 @@ function hs(t) {
1185
1207
  moptiongroup: "m-option-group",
1186
1208
  mtabs: "m-tabs",
1187
1209
  mtabpane: "m-tab-pane"
1188
- }[a] || a.replace(/^m/, "m-");
1210
+ }[r] || r.replace(/^m/, "m-");
1189
1211
  }
1190
1212
  return null;
1191
1213
  }).filter(Boolean);
1192
- return console.log("📊 组件注册状态报告:"), console.log("已注册的组件:", e.filter((s) => s.startsWith("m-"))), console.log("自定义组件:", o), {
1193
- registered: e,
1214
+ return console.log("📊 组件注册状态报告:"), console.log("已注册的组件:", t.filter((s) => s.startsWith("m-"))), console.log("自定义组件:", o), {
1215
+ registered: t,
1194
1216
  custom: o,
1195
- conflicts: e.filter(
1217
+ conflicts: t.filter(
1196
1218
  (s) => s.startsWith("m-") && o.includes(s)
1197
1219
  )
1198
1220
  };
1199
1221
  }
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;
1222
+ const Os = { install: xt }, Bs = J.ElMessageBox, Ps = b({}, l), Ns = l.MButtonGroup, js = l.MBreadcrumb, As = l.MBreadcrumbItem, Ls = l.MCarousel, zs = l.MCarouselItem, Rs = l.MCascader, Fs = l.MCascaderPanel, Vs = l.MCheckTag, Gs = l.MCalendar, Ds = l.MTimePicker, Us = l.MDateTimePicker, qs = l.MColorPicker, Hs = l.MTransfer, Ws = l.MTree, Zs = l.MTreeSelect, Js = l.MUpload, Qs = l.MImage, Xs = l.MImageViewer, Ys = l.MBacktop, Ks = l.MInfiniteScroll, xs = l.MAffix, eo = l.MScrollbar, to = l.MResult, so = l.MSkeleton, oo = l.MLoading, no = l.MSpinner, ro = l.MProgress, ao = l.MBadge, io = l.MAvatar, co = l.MImagePreview, lo = l.MTeleport, uo = l.MConfigProvider;
1201
1223
  export {
1202
- Zs as MAffix,
1203
- at as MAlert,
1204
- eo as MAvatar,
1205
- qs as MBacktop,
1206
- xs as MBadge,
1207
- Et as MBanner,
1208
- Bs as MBreadcrumb,
1209
- ws as MBreadcrumbItem,
1210
- De as MButton,
1211
- Ts as MButtonGroup,
1212
- js as MCalendar,
1213
- Os as MCarousel,
1214
- Es as MCarouselItem,
1215
- Is as MCascader,
1216
- Ns as MCascaderPanel,
1217
- Ps as MCheckTag,
1218
- Ls as MColorPicker,
1219
- oo as MConfigProvider,
1220
- vt as MDatePicker,
1221
- zs as MDateTimePicker,
1222
- rt as MDialog,
1223
- Ct as MEmpty,
1224
- Fe as MForm,
1225
- Ue as MFormItem,
1226
- N as MIcon,
1227
- Fs as MImage,
1228
- to as MImagePreview,
1229
- Us as MImageViewer,
1230
- Ws as MInfiniteScroll,
1231
- Ge as MInput,
1232
- Xs as MLoading,
1233
- Cs as MMessage,
1234
- ks as MMessageBox,
1235
- $t as MNotifiMessage,
1236
- ct as MNotification,
1237
- Xe as MPagination,
1238
- Ks as MProgress,
1239
- Ye as MRadio,
1240
- xe as MRadioButton,
1241
- Ke as MRadioGroup,
1242
- Js as MResult,
1243
- Hs as MScrollbar,
1244
- He as MSelect,
1245
- Qs as MSkeleton,
1246
- Ys as MSpinner,
1247
- et as MSwitch,
1248
- Gt as MTabPane,
1249
- kt as MTable,
1250
- St as MTableColumn,
1251
- Rt as MTabs,
1252
- tt as MTag,
1253
- so as MTeleport,
1254
- As as MTimePicker,
1255
- Ze as MTooltip,
1256
- Vs as MTransfer,
1257
- Rs as MTree,
1258
- Ds as MTreeSelect,
1259
- Gs as MUpload,
1260
- vs as NotifiMessage,
1261
- Ft as addComponentOverride,
1262
- D as addOverrideClass,
1263
- Ut as applyGlobalOverride,
1264
- hs as checkComponentRegistration,
1265
- Wt as createOverrideComponent,
1266
- ys as default,
1267
- qt as forceRefreshStyles,
1268
- Ss as mComponents
1224
+ xs as MAffix,
1225
+ Ke as MAlert,
1226
+ io as MAvatar,
1227
+ Ys as MBacktop,
1228
+ ao as MBadge,
1229
+ zt as MBanner,
1230
+ js as MBreadcrumb,
1231
+ As as MBreadcrumbItem,
1232
+ Ne as MButton,
1233
+ Ns as MButtonGroup,
1234
+ Gs as MCalendar,
1235
+ Ls as MCarousel,
1236
+ zs as MCarouselItem,
1237
+ Rs as MCascader,
1238
+ Fs as MCascaderPanel,
1239
+ Vs as MCheckTag,
1240
+ qs as MColorPicker,
1241
+ uo as MConfigProvider,
1242
+ Tt as MDatePicker,
1243
+ Us as MDateTimePicker,
1244
+ xe as MDialog,
1245
+ Ot as MEmpty,
1246
+ Ae as MForm,
1247
+ Le as MFormItem,
1248
+ V as MIcon,
1249
+ Qs as MImage,
1250
+ co as MImagePreview,
1251
+ Xs as MImageViewer,
1252
+ Ks as MInfiniteScroll,
1253
+ je as MInput,
1254
+ oo as MLoading,
1255
+ x as MMessage,
1256
+ Bs as MMessageBox,
1257
+ ee as MNotifiMessage,
1258
+ st as MNotification,
1259
+ Ue as MPagination,
1260
+ ro as MProgress,
1261
+ qe as MRadio,
1262
+ We as MRadioButton,
1263
+ He as MRadioGroup,
1264
+ to as MResult,
1265
+ eo as MScrollbar,
1266
+ Ve as MSelect,
1267
+ so as MSkeleton,
1268
+ no as MSpinner,
1269
+ Ze as MSwitch,
1270
+ Ut as MTabPane,
1271
+ Bt as MTable,
1272
+ Pt as MTableColumn,
1273
+ Vt as MTabs,
1274
+ Je as MTag,
1275
+ lo as MTeleport,
1276
+ Ds as MTimePicker,
1277
+ Fe as MTooltip,
1278
+ Hs as MTransfer,
1279
+ Ws as MTree,
1280
+ Zs as MTreeSelect,
1281
+ Js as MUpload,
1282
+ nt as Message,
1283
+ Is as NotifiMessage,
1284
+ qt as addComponentOverride,
1285
+ A as addOverrideClass,
1286
+ Ht as applyGlobalOverride,
1287
+ Es as checkComponentRegistration,
1288
+ Zt as createOverrideComponent,
1289
+ Os as default,
1290
+ Wt as forceRefreshStyles,
1291
+ Ps as mComponents
1269
1292
  };
1270
1293
  //# sourceMappingURL=index.mjs.map