@mc-markets/ui 1.1.63 → 1.1.65

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
@@ -1,25 +1,25 @@
1
- var Qt = Object.defineProperty, en = Object.defineProperties;
2
- var tn = Object.getOwnPropertyDescriptors;
3
- var $e = Object.getOwnPropertySymbols;
1
+ var tn = Object.defineProperty, nn = Object.defineProperties;
2
+ var on = Object.getOwnPropertyDescriptors;
3
+ var Se = Object.getOwnPropertySymbols;
4
4
  var ot = Object.prototype.hasOwnProperty, st = Object.prototype.propertyIsEnumerable;
5
- var nt = (e, t, n) => t in e ? Qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, W = (e, t) => {
5
+ var nt = (e, t, n) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, G = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
7
  ot.call(t, n) && nt(e, n, t[n]);
8
- if ($e)
9
- for (var n of $e(t))
8
+ if (Se)
9
+ for (var n of Se(t))
10
10
  st.call(t, n) && nt(e, n, t[n]);
11
11
  return e;
12
- }, Q = (e, t) => en(e, tn(t));
13
- var Se = (e, t) => {
12
+ }, Q = (e, t) => nn(e, on(t));
13
+ var Ee = (e, t) => {
14
14
  var n = {};
15
15
  for (var o in e)
16
16
  ot.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
17
- if (e != null && $e)
18
- for (var o of $e(e))
17
+ if (e != null && Se)
18
+ for (var o of Se(e))
19
19
  t.indexOf(o) < 0 && st.call(e, o) && (n[o] = e[o]);
20
20
  return n;
21
21
  };
22
- var De = (e, t, n) => new Promise((o, a) => {
22
+ var Ne = (e, t, n) => new Promise((o, a) => {
23
23
  var l = (i) => {
24
24
  try {
25
25
  r(n.next(i));
@@ -36,9 +36,9 @@ var De = (e, t, n) => new Promise((o, a) => {
36
36
  r((n = n.apply(e, t)).next());
37
37
  });
38
38
  import * as pt from "element-plus";
39
- import { ElForm as nn } from "element-plus";
40
- import { computed as R, createElementBlock as m, openBlock as d, mergeProps as S, renderSlot as h, ref as _, createBlock as E, createSlots as O, renderList as M, withCtx as $, unref as j, useAttrs as Ie, createCommentVNode as D, createElementVNode as C, Fragment as H, normalizeClass as U, mergeModels as Re, useModel as je, createVNode as x, normalizeProps as vt, guardReactiveProps as gt, Teleport as Te, TransitionGroup as _t, resolveDynamicComponent as ht, toDisplayString as K, useSlots as on, watch as V, normalizeStyle as bt, createTextVNode as Ue, provide as Oe, onMounted as ke, nextTick as le, onUnmounted as Ye, withDirectives as xe, vShow as Pe, inject as He, onDeactivated as Ae, isRef as sn, onActivated as Ke, reactive as an, getCurrentInstance as yt, defineComponent as ge, onBeforeUnmount as Ct, watchEffect as rn, Transition as $t } from "vue";
41
- import { ElButton as ln, ElInput as cn, ElFormItem as un, ElTooltip as dn, ElSelect as fn, ElOption as mn, ElOptionGroup as pn, ElPagination as vn, ElRadio as gn, ElRadioGroup as _n, ElRadioButton as hn, ElSwitch as bn, ElTag as yn, ElAlert as Cn, ElDialog as $n, ElNotification as Sn, ElDatePicker as En, ElEmpty as Mn, ElTable as Rn, ElTableColumn as wn } from "element-plus/es";
39
+ import { ElForm as sn } from "element-plus";
40
+ import { computed as R, createElementBlock as m, openBlock as d, mergeProps as S, renderSlot as b, ref as h, createBlock as E, createSlots as O, renderList as M, withCtx as $, unref as W, useAttrs as ve, createCommentVNode as N, createElementVNode as C, Fragment as H, normalizeClass as U, mergeModels as we, useModel as je, createVNode as P, normalizeProps as vt, guardReactiveProps as gt, Teleport as Te, TransitionGroup as _t, resolveDynamicComponent as ht, toDisplayString as K, useSlots as an, watch as z, normalizeStyle as bt, createTextVNode as Ue, provide as Oe, onMounted as ke, nextTick as le, onUnmounted as Ye, withDirectives as Pe, vShow as xe, inject as He, onDeactivated as Ae, isRef as rn, onActivated as Ke, reactive as ln, getCurrentInstance as yt, defineComponent as ge, onBeforeUnmount as Ct, watchEffect as cn, Transition as $t } from "vue";
41
+ import { ElButton as un, ElInput as dn, ElFormItem as fn, ElTooltip as mn, ElSelect as pn, ElOption as vn, ElOptionGroup as gn, ElPagination as _n, ElRadio as hn, ElRadioGroup as bn, ElRadioButton as yn, ElSwitch as Cn, ElTag as $n, ElAlert as Sn, ElDialog as En, ElNotification as Mn, ElDatePicker as Rn, ElEmpty as wn, ElTable as In, ElTableColumn as Tn } from "element-plus/es";
42
42
  import "element-plus/es/components/base/style/index";
43
43
  import "element-plus/es/components/button/style/index";
44
44
  import "element-plus/es/components/input/style/index";
@@ -60,12 +60,12 @@ 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 G = (e, t) => {
63
+ const V = (e, t) => {
64
64
  const n = e.__vccOpts || e;
65
65
  for (const [o, a] of t)
66
66
  n[o] = a;
67
67
  return n;
68
- }, In = /* @__PURE__ */ Object.assign({
68
+ }, On = /* @__PURE__ */ Object.assign({
69
69
  name: "MIcon"
70
70
  }, {
71
71
  __name: "Icon",
@@ -118,12 +118,12 @@ const G = (e, t) => {
118
118
  class: a.value,
119
119
  style: l.value
120
120
  }, r.$attrs, { onClick: s }), [
121
- h(r.$slots, "default", {}, void 0, !0)
121
+ b(r.$slots, "default", {}, void 0, !0)
122
122
  ], 16));
123
123
  }
124
- }), ze = /* @__PURE__ */ G(In, [["__scopeId", "data-v-74564eea"]]);
124
+ }), ze = /* @__PURE__ */ V(On, [["__scopeId", "data-v-74564eea"]]);
125
125
  function L(e = "innerRef", t = {}) {
126
- const { compatibilityKeys: n = {} } = t, o = _(), a = new Proxy({}, {
126
+ const { compatibilityKeys: n = {} } = t, o = h(), a = new Proxy({}, {
127
127
  get(l, s) {
128
128
  if (s in n) {
129
129
  const u = n[s];
@@ -136,8 +136,8 @@ function L(e = "innerRef", t = {}) {
136
136
  return () => o.value;
137
137
  if (s === "call")
138
138
  return (u, ...v) => {
139
- var b, k;
140
- return (k = (b = o.value) == null ? void 0 : b[u]) == null ? void 0 : k.call(b, ...v);
139
+ var g, k;
140
+ return (k = (g = o.value) == null ? void 0 : g[u]) == null ? void 0 : k.call(g, ...v);
141
141
  };
142
142
  const i = o.value;
143
143
  if (!i) return;
@@ -176,14 +176,14 @@ function L(e = "innerRef", t = {}) {
176
176
  exposedProxy: a
177
177
  };
178
178
  }
179
- const Tn = /* @__PURE__ */ Object.assign({
179
+ const kn = /* @__PURE__ */ Object.assign({
180
180
  name: "MButton"
181
181
  }, {
182
182
  __name: "Button",
183
183
  setup(e, { expose: t }) {
184
184
  const { innerRef: n, exposedProxy: o } = L("buttonRef");
185
185
  return t(o), (a, l) => {
186
- const s = ln;
186
+ const s = un;
187
187
  return d(), E(s, S({
188
188
  ref_key: "buttonRef",
189
189
  ref: n
@@ -191,20 +191,20 @@ const Tn = /* @__PURE__ */ Object.assign({
191
191
  M(a.$slots, (r, i) => ({
192
192
  name: i,
193
193
  fn: $(() => [
194
- h(a.$slots, i, {}, void 0, !0)
194
+ b(a.$slots, i, {}, void 0, !0)
195
195
  ])
196
196
  }))
197
197
  ]), 1040);
198
198
  };
199
199
  }
200
- }), On = /* @__PURE__ */ G(Tn, [["__scopeId", "data-v-550125d5"]]), kn = /* @__PURE__ */ Object.assign({
200
+ }), Pn = /* @__PURE__ */ V(kn, [["__scopeId", "data-v-550125d5"]]), xn = /* @__PURE__ */ Object.assign({
201
201
  name: "MInput"
202
202
  }, {
203
203
  __name: "Input",
204
204
  setup(e, { expose: t }) {
205
205
  const { innerRef: n, exposedProxy: o } = L("inputRef");
206
206
  return t(o), (a, l) => {
207
- const s = cn;
207
+ const s = dn;
208
208
  return d(), E(s, S({
209
209
  ref_key: "inputRef",
210
210
  ref: n
@@ -214,38 +214,38 @@ const Tn = /* @__PURE__ */ Object.assign({
214
214
  M(a.$slots, (r, i) => ({
215
215
  name: i,
216
216
  fn: $(() => [
217
- h(a.$slots, i)
217
+ b(a.$slots, i)
218
218
  ])
219
219
  }))
220
220
  ]), 1040, ["class"]);
221
221
  };
222
222
  }
223
- }), xn = /* @__PURE__ */ Object.assign({
223
+ }), An = /* @__PURE__ */ Object.assign({
224
224
  name: "MForm"
225
225
  }, {
226
226
  __name: "Form",
227
227
  setup(e, { expose: t }) {
228
228
  const { innerRef: n, exposedProxy: o } = L("formRef");
229
- return t(o), (a, l) => (d(), E(j(nn), S({
229
+ return t(o), (a, l) => (d(), E(W(sn), S({
230
230
  ref_key: "formRef",
231
231
  ref: n
232
232
  }, a.$attrs, { class: "m-form" }), O({ _: 2 }, [
233
233
  M(a.$slots, (s, r) => ({
234
234
  name: r,
235
235
  fn: $(() => [
236
- h(a.$slots, r)
236
+ b(a.$slots, r)
237
237
  ])
238
238
  }))
239
239
  ]), 1040));
240
240
  }
241
- }), Pn = /* @__PURE__ */ Object.assign({
241
+ }), Ln = /* @__PURE__ */ Object.assign({
242
242
  name: "MFormItem"
243
243
  }, {
244
244
  __name: "FormItem",
245
245
  setup(e, { expose: t }) {
246
246
  const { innerRef: n, exposedProxy: o } = L("formItemRef");
247
247
  return t(o), (a, l) => {
248
- const s = un;
248
+ const s = fn;
249
249
  return d(), E(s, S(a.$attrs, {
250
250
  class: "m-form-item",
251
251
  ref_key: "formItemRef",
@@ -254,20 +254,20 @@ const Tn = /* @__PURE__ */ Object.assign({
254
254
  M(a.$slots, (r, i) => ({
255
255
  name: i,
256
256
  fn: $(() => [
257
- h(a.$slots, i)
257
+ b(a.$slots, i)
258
258
  ])
259
259
  }))
260
260
  ]), 1040);
261
261
  };
262
262
  }
263
- }), An = (...e) => e.filter(Boolean).join(" "), Ln = (e, ...t) => {
264
- const n = W({}, e);
263
+ }), St = (...e) => e.filter(Boolean).join(" "), Et = (e, ...t) => {
264
+ const n = G({}, e);
265
265
  return t.forEach((o) => {
266
266
  delete n[o];
267
267
  }), n;
268
268
  };
269
- function ce(e, t = "popperClass") {
270
- const n = Ie(), o = R(() => Ln(n, t)), a = R(() => An(e, n[t]));
269
+ function _e(e, t = "popperClass") {
270
+ const n = ve(), o = R(() => Et(n, t)), a = R(() => St(e, n[t]));
271
271
  return {
272
272
  mergedAttrs: o,
273
273
  className: a
@@ -284,23 +284,23 @@ const Bn = /* @__PURE__ */ Object.assign({
284
284
  }
285
285
  },
286
286
  setup(e, { expose: t }) {
287
- const { mergedAttrs: n, className: o } = ce("mc-tooltip-popper"), { innerRef: a, exposedProxy: l } = L("tooltipRef");
287
+ const { mergedAttrs: n, className: o } = _e("mc-tooltip-popper"), { innerRef: a, exposedProxy: l } = L("tooltipRef");
288
288
  return t(l), (s, r) => {
289
- const i = dn;
289
+ const i = mn;
290
290
  return d(), E(i, S({
291
291
  ref_key: "tooltipRef",
292
292
  ref: a
293
- }, j(n), { "popper-class": j(o) }), O({ _: 2 }, [
293
+ }, W(n), { "popper-class": W(o) }), O({ _: 2 }, [
294
294
  M(s.$slots, (c, u) => ({
295
295
  name: u,
296
296
  fn: $(() => [
297
- h(s.$slots, u)
297
+ b(s.$slots, u)
298
298
  ])
299
299
  }))
300
300
  ]), 1040, ["popper-class"]);
301
301
  };
302
302
  }
303
- }), Nn = /* @__PURE__ */ Object.assign({
303
+ }), Dn = /* @__PURE__ */ Object.assign({
304
304
  name: "MSelect"
305
305
  }, {
306
306
  __name: "Select",
@@ -312,7 +312,7 @@ const Bn = /* @__PURE__ */ Object.assign({
312
312
  setup(e, { expose: t }) {
313
313
  const { innerRef: n, exposedProxy: o } = L("selectRef");
314
314
  return t(o), (a, l) => {
315
- const s = fn;
315
+ const s = pn;
316
316
  return d(), E(s, S({
317
317
  ref_key: "selectRef",
318
318
  ref: n,
@@ -324,20 +324,20 @@ const Bn = /* @__PURE__ */ Object.assign({
324
324
  M(a.$slots, (r, i) => ({
325
325
  name: i,
326
326
  fn: $(() => [
327
- h(a.$slots, i)
327
+ b(a.$slots, i)
328
328
  ])
329
329
  }))
330
330
  ]), 1040, ["class"]);
331
331
  };
332
332
  }
333
- }), Dn = /* @__PURE__ */ Object.assign({
333
+ }), Nn = /* @__PURE__ */ Object.assign({
334
334
  name: "MOption"
335
335
  }, {
336
336
  __name: "Option",
337
337
  setup(e, { expose: t }) {
338
338
  const { innerRef: n, exposedProxy: o } = L("optionRef");
339
339
  return t(o), (a, l) => {
340
- const s = mn;
340
+ const s = vn;
341
341
  return d(), E(s, S({
342
342
  ref_key: "optionRef",
343
343
  ref: n
@@ -345,7 +345,7 @@ const Bn = /* @__PURE__ */ Object.assign({
345
345
  M(a.$slots, (r, i) => ({
346
346
  name: i,
347
347
  fn: $(() => [
348
- h(a.$slots, i)
348
+ b(a.$slots, i)
349
349
  ])
350
350
  }))
351
351
  ]), 1040);
@@ -358,7 +358,7 @@ const Bn = /* @__PURE__ */ Object.assign({
358
358
  setup(e, { expose: t }) {
359
359
  const { innerRef: n, exposedProxy: o } = L("optionGroupRef");
360
360
  return t(o), (a, l) => {
361
- const s = pn;
361
+ const s = gn;
362
362
  return d(), E(s, S({
363
363
  ref_key: "optionGroupRef",
364
364
  ref: n
@@ -366,7 +366,7 @@ const Bn = /* @__PURE__ */ Object.assign({
366
366
  M(a.$slots, (r, i) => ({
367
367
  name: i,
368
368
  fn: $(() => [
369
- h(a.$slots, i)
369
+ b(a.$slots, i)
370
370
  ])
371
371
  }))
372
372
  ]), 1040);
@@ -379,7 +379,7 @@ const Bn = /* @__PURE__ */ Object.assign({
379
379
  setup(e, { expose: t }) {
380
380
  const { innerRef: n, exposedProxy: o } = L("paginationRef");
381
381
  return t(o), (a, l) => {
382
- const s = vn;
382
+ const s = _n;
383
383
  return d(), E(s, S({
384
384
  ref_key: "paginationRef",
385
385
  ref: n
@@ -387,7 +387,7 @@ const Bn = /* @__PURE__ */ Object.assign({
387
387
  M(a.$slots, (r, i) => ({
388
388
  name: i,
389
389
  fn: $(() => [
390
- h(a.$slots, i)
390
+ b(a.$slots, i)
391
391
  ])
392
392
  }))
393
393
  ]), 1040);
@@ -404,17 +404,17 @@ const Bn = /* @__PURE__ */ Object.assign({
404
404
  }
405
405
  },
406
406
  setup(e, { expose: t }) {
407
- const { mergedAttrs: n } = ce("mc-radio-popper"), { innerRef: o, exposedProxy: a } = L("radioRef");
407
+ const { mergedAttrs: n } = _e("mc-radio-popper"), { innerRef: o, exposedProxy: a } = L("radioRef");
408
408
  return t(a), (l, s) => {
409
- const r = gn;
409
+ const r = hn;
410
410
  return d(), E(r, S({
411
411
  ref_key: "radioRef",
412
412
  ref: o
413
- }, j(n), { class: "m-radio" }), O({ _: 2 }, [
413
+ }, W(n), { class: "m-radio" }), O({ _: 2 }, [
414
414
  M(l.$slots, (i, c) => ({
415
415
  name: c,
416
416
  fn: $(() => [
417
- h(l.$slots, c)
417
+ b(l.$slots, c)
418
418
  ])
419
419
  }))
420
420
  ]), 1040);
@@ -431,15 +431,15 @@ const Bn = /* @__PURE__ */ Object.assign({
431
431
  }
432
432
  },
433
433
  setup(e, { expose: t }) {
434
- const n = Ie(), o = R(() => {
434
+ const n = ve(), o = R(() => {
435
435
  const r = "mc-radio-group-popper";
436
436
  return n.popperClass ? `${r} ${n.popperClass}`.trim() : r;
437
437
  }), a = R(() => {
438
438
  const c = n, { popperClass: r } = c;
439
- return Se(c, ["popperClass"]);
439
+ return Ee(c, ["popperClass"]);
440
440
  }), { innerRef: l, exposedProxy: s } = L("radioGroupRef");
441
441
  return t(s), (r, i) => {
442
- const c = _n;
442
+ const c = bn;
443
443
  return d(), E(c, S({
444
444
  ref_key: "radioGroupRef",
445
445
  ref: l
@@ -450,7 +450,7 @@ const Bn = /* @__PURE__ */ Object.assign({
450
450
  M(r.$slots, (u, v) => ({
451
451
  name: v,
452
452
  fn: $(() => [
453
- h(r.$slots, v)
453
+ b(r.$slots, v)
454
454
  ])
455
455
  }))
456
456
  ]), 1040, ["popper-class"]);
@@ -467,17 +467,17 @@ const Bn = /* @__PURE__ */ Object.assign({
467
467
  }
468
468
  },
469
469
  setup(e, { expose: t }) {
470
- const { mergedAttrs: n } = ce("mc-radio-button-popper"), { innerRef: o, exposedProxy: a } = L("radioButtonRef");
470
+ const { mergedAttrs: n } = _e("mc-radio-button-popper"), { innerRef: o, exposedProxy: a } = L("radioButtonRef");
471
471
  return t(a), (l, s) => {
472
- const r = hn;
472
+ const r = yn;
473
473
  return d(), E(r, S({
474
474
  ref_key: "radioButtonRef",
475
475
  ref: o
476
- }, j(n), { class: "m-radio-button" }), O({ _: 2 }, [
476
+ }, W(n), { class: "m-radio-button" }), O({ _: 2 }, [
477
477
  M(l.$slots, (i, c) => ({
478
478
  name: c,
479
479
  fn: $(() => [
480
- h(l.$slots, c)
480
+ b(l.$slots, c)
481
481
  ])
482
482
  }))
483
483
  ]), 1040);
@@ -494,20 +494,20 @@ const Bn = /* @__PURE__ */ Object.assign({
494
494
  }
495
495
  },
496
496
  setup(e, { expose: t }) {
497
- const { mergedAttrs: n, className: o } = ce("mc-switch-popper"), { innerRef: a, exposedProxy: l } = L("switchRef");
497
+ const { mergedAttrs: n, className: o } = _e("mc-switch-popper"), { innerRef: a, exposedProxy: l } = L("switchRef");
498
498
  return t(l), (s, r) => {
499
- const i = bn;
499
+ const i = Cn;
500
500
  return d(), E(i, S({
501
501
  ref_key: "switchRef",
502
502
  ref: a
503
- }, j(n), {
504
- "popper-class": j(o),
503
+ }, W(n), {
504
+ "popper-class": W(o),
505
505
  class: "m-switch"
506
506
  }), O({ _: 2 }, [
507
507
  M(s.$slots, (c, u) => ({
508
508
  name: u,
509
509
  fn: $(() => [
510
- h(s.$slots, u)
510
+ b(s.$slots, u)
511
511
  ])
512
512
  }))
513
513
  ]), 1040, ["popper-class"]);
@@ -544,7 +544,7 @@ const Bn = /* @__PURE__ */ Object.assign({
544
544
  return n.status;
545
545
  }), a = R(() => n.status === "warning" ? !0 : n.loading), l = R(() => n.prefixIcon ? n.prefixIcon : n.status === "success" ? "icon-circle-check-filled" : n.status === "danger" ? "icon-lucide_circle-x-filled" : ""), s = R(() => n.suffixIcon ? n.suffixIcon : ""), { innerRef: r, exposedProxy: i } = L("tagRef");
546
546
  return t(i), (c, u) => {
547
- const v = yn;
547
+ const v = $n;
548
548
  return d(), E(v, S({
549
549
  ref_key: "tagRef",
550
550
  ref: r
@@ -552,7 +552,7 @@ const Bn = /* @__PURE__ */ Object.assign({
552
552
  type: o.value,
553
553
  class: ["m-tag", { "is-loading": a.value }]
554
554
  }), O({ _: 2 }, [
555
- M(c.$slots, (b, k) => ({
555
+ M(c.$slots, (g, k) => ({
556
556
  name: k,
557
557
  fn: $(() => [
558
558
  a.value && !l.value ? (d(), m("div", Un, [
@@ -562,14 +562,14 @@ const Bn = /* @__PURE__ */ Object.assign({
562
562
  ])) : l.value ? (d(), m("i", {
563
563
  key: 1,
564
564
  class: U(["prefixIcon", ["iconfont", l.value]])
565
- }, null, 2)) : D("", !0),
565
+ }, null, 2)) : N("", !0),
566
566
  C("div", null, [
567
- h(c.$slots, k)
567
+ b(c.$slots, k)
568
568
  ]),
569
569
  s.value ? (d(), m("i", {
570
570
  key: 2,
571
571
  class: U(["suffixIcon", ["iconfont", s.value]])
572
- }, null, 2)) : D("", !0)
572
+ }, null, 2)) : N("", !0)
573
573
  ])
574
574
  }))
575
575
  ]), 1040, ["type", "class"]);
@@ -590,15 +590,15 @@ const Bn = /* @__PURE__ */ Object.assign({
590
590
  }
591
591
  },
592
592
  setup(e) {
593
- const t = e, n = Ie(), o = R(() => {
594
- const r = n, { useCustomIcon: l } = r, s = Se(r, ["useCustomIcon"]);
595
- return Q(W({}, s), {
593
+ const t = e, n = ve(), o = R(() => {
594
+ const r = n, { useCustomIcon: l } = r, s = Ee(r, ["useCustomIcon"]);
595
+ return Q(G({}, s), {
596
596
  type: t.type
597
597
  // 确保 type 属性正确传递给 el-alert
598
598
  });
599
599
  }), a = R(() => t.useCustomIcon ? `https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/alert/alert-${t.type}.png` : null);
600
600
  return (l, s) => {
601
- const r = Cn;
601
+ const r = Sn;
602
602
  return d(), E(r, S(o.value, { class: "mc-alert" }), O({ _: 2 }, [
603
603
  a.value ? {
604
604
  name: "icon",
@@ -614,7 +614,7 @@ const Bn = /* @__PURE__ */ Object.assign({
614
614
  M(l.$slots, (i, c) => ({
615
615
  name: c,
616
616
  fn: $(() => [
617
- h(l.$slots, c)
617
+ b(l.$slots, c)
618
618
  ])
619
619
  }))
620
620
  ]), 1040);
@@ -624,7 +624,7 @@ const Bn = /* @__PURE__ */ Object.assign({
624
624
  name: "MDialog"
625
625
  }, {
626
626
  __name: "Dialog",
627
- props: /* @__PURE__ */ Re({
627
+ props: /* @__PURE__ */ we({
628
628
  width: {
629
629
  type: String,
630
630
  default: "440px"
@@ -652,13 +652,13 @@ const Bn = /* @__PURE__ */ Object.assign({
652
652
  },
653
653
  modelModifiers: {}
654
654
  }),
655
- emits: /* @__PURE__ */ Re(["close"], ["update:modelValue"]),
655
+ emits: /* @__PURE__ */ we(["close"], ["update:modelValue"]),
656
656
  setup(e, { expose: t, emit: n }) {
657
657
  const o = je(e, "modelValue"), { innerRef: a, exposedProxy: l } = L("dialogRef");
658
658
  return t(l), (s, r) => {
659
- const i = $n;
659
+ const i = En;
660
660
  return d(), m("div", null, [
661
- x(i, S({
661
+ P(i, S({
662
662
  ref_key: "dialogRef",
663
663
  ref: a,
664
664
  modelValue: o.value,
@@ -674,21 +674,21 @@ const Bn = /* @__PURE__ */ Object.assign({
674
674
  "header-class": "m-header"
675
675
  }), O({
676
676
  default: $(() => [
677
- h(s.$slots, "default")
677
+ b(s.$slots, "default")
678
678
  ]),
679
679
  _: 2
680
680
  }, [
681
681
  s.$slots.header ? {
682
682
  name: "header",
683
683
  fn: $(({ close: c, titleId: u, titleClass: v }) => [
684
- h(s.$slots, "header", vt(gt({ close: c, titleId: u, titleClass: v })))
684
+ b(s.$slots, "header", vt(gt({ close: c, titleId: u, titleClass: v })))
685
685
  ]),
686
686
  key: "0"
687
687
  } : void 0,
688
688
  s.$slots.footer ? {
689
689
  name: "footer",
690
690
  fn: $(() => [
691
- h(s.$slots, "footer")
691
+ b(s.$slots, "footer")
692
692
  ]),
693
693
  key: "1"
694
694
  } : void 0
@@ -700,17 +700,17 @@ const Bn = /* @__PURE__ */ Object.assign({
700
700
  name: "MNotification"
701
701
  };
702
702
  function eo(e, t, n, o, a, l) {
703
- const s = Sn;
703
+ const s = Mn;
704
704
  return d(), E(s, S(e.$attrs, { class: "mc-notification" }), O({ _: 2 }, [
705
705
  M(e.$slots, (r, i) => ({
706
706
  name: i,
707
707
  fn: $(() => [
708
- h(e.$slots, i)
708
+ b(e.$slots, i)
709
709
  ])
710
710
  }))
711
711
  ]), 1040);
712
712
  }
713
- const to = /* @__PURE__ */ G(Qn, [["render", eo]]), q = _([]);
713
+ const to = /* @__PURE__ */ V(Qn, [["render", eo]]), q = h([]);
714
714
  let no = 0;
715
715
  const oo = {
716
716
  // 默认配置
@@ -734,7 +734,7 @@ const oo = {
734
734
  // 显示消息
735
735
  show(e = {}) {
736
736
  typeof e == "string" && (e = { message: e });
737
- const t = Q(W(W({}, this.defaultOptions), e), {
737
+ const t = Q(G(G({}, this.defaultOptions), e), {
738
738
  id: ++no
739
739
  });
740
740
  if (t.grouping) {
@@ -764,13 +764,13 @@ const oo = {
764
764
  },
765
765
  // 便捷方法
766
766
  success(e = {}) {
767
- return typeof e == "string" && (e = { message: e }), this.show(Q(W({}, e), { type: "success" }));
767
+ return typeof e == "string" && (e = { message: e }), this.show(Q(G({}, e), { type: "success" }));
768
768
  },
769
769
  warning(e = {}) {
770
- return typeof e == "string" && (e = { message: e }), this.show(Q(W({}, e), { type: "warning" }));
770
+ return typeof e == "string" && (e = { message: e }), this.show(Q(G({}, e), { type: "warning" }));
771
771
  },
772
772
  error(e = {}) {
773
- return typeof e == "string" && (e = { message: e }), this.show(Q(W({}, e), { type: "error" }));
773
+ return typeof e == "string" && (e = { message: e }), this.show(Q(G({}, e), { type: "error" }));
774
774
  }
775
775
  }, so = (e) => {
776
776
  oo.close(e);
@@ -806,7 +806,7 @@ const oo = {
806
806
  }, go = ["onClick"];
807
807
  function _o(e, t, n, o, a, l) {
808
808
  return d(), E(Te, { to: "body" }, [
809
- x(_t, {
809
+ P(_t, {
810
810
  name: "message",
811
811
  tag: "div",
812
812
  class: "message-container"
@@ -827,27 +827,27 @@ function _o(e, t, n, o, a, l) {
827
827
  src: s.customIcon,
828
828
  alt: "custom icon",
829
829
  class: "message-icon-img"
830
- }, null, 8, lo)) : s.type === "success" ? (d(), m("img", io)) : s.type === "warning" ? (d(), m("img", co)) : s.type === "error" ? (d(), m("img", uo)) : D("", !0)
831
- ])) : D("", !0),
830
+ }, null, 8, lo)) : s.type === "success" ? (d(), m("img", io)) : s.type === "warning" ? (d(), m("img", co)) : s.type === "error" ? (d(), m("img", uo)) : N("", !0)
831
+ ])) : N("", !0),
832
832
  C("div", fo, [
833
833
  typeof s.message == "function" ? (d(), E(ht(s.message), { key: 0 })) : s.dangerouslyUseHTMLString ? (d(), m("div", {
834
834
  key: 1,
835
835
  innerHTML: s.message
836
836
  }, null, 8, mo)) : (d(), m("span", po, K(s.message), 1)),
837
- s.repeatNum > 1 ? (d(), m("span", vo, K(s.repeatNum), 1)) : D("", !0)
837
+ s.repeatNum > 1 ? (d(), m("span", vo, K(s.repeatNum), 1)) : N("", !0)
838
838
  ]),
839
839
  s.showClose ? (d(), m("button", {
840
840
  key: 1,
841
841
  class: "message-close",
842
842
  onClick: (r) => o.closeMessage(s.id)
843
- }, " × ", 8, go)) : D("", !0)
843
+ }, " × ", 8, go)) : N("", !0)
844
844
  ], 2))), 128))
845
845
  ]),
846
846
  _: 1
847
847
  })
848
848
  ]);
849
849
  }
850
- const St = /* @__PURE__ */ G(ao, [["render", _o]]), se = _([]);
850
+ const Mt = /* @__PURE__ */ V(ao, [["render", _o]]), se = h([]);
851
851
  let ho = 0;
852
852
  const Ka = {
853
853
  // 默认配置
@@ -861,7 +861,7 @@ const Ka = {
861
861
  },
862
862
  // 显示通知
863
863
  show(e = {}) {
864
- const t = Q(W(W({}, this.defaultOptions), e), {
864
+ const t = Q(G(G({}, this.defaultOptions), e), {
865
865
  id: ++ho
866
866
  });
867
867
  return se.value.push(t), t.duration > 0 && setTimeout(() => {
@@ -906,7 +906,7 @@ const Ka = {
906
906
  }, Mo = ["onClick"];
907
907
  function Ro(e, t, n, o, a, l) {
908
908
  return d(), E(Te, { to: "body" }, [
909
- x(_t, {
909
+ P(_t, {
910
910
  name: "notification",
911
911
  tag: "div",
912
912
  class: "notification-container"
@@ -930,20 +930,20 @@ function Ro(e, t, n, o, a, l) {
930
930
  C("div", So, K(s.message), 1),
931
931
  s.slotContent ? (d(), m("div", Eo, [
932
932
  (d(), E(ht(s.slotContent)))
933
- ])) : D("", !0)
933
+ ])) : N("", !0)
934
934
  ]),
935
935
  s.showClose ? (d(), m("button", {
936
936
  key: 0,
937
937
  class: "notification-close",
938
938
  onClick: (r) => o.closeNotification(s.id)
939
- }, " × ", 8, Mo)) : D("", !0)
939
+ }, " × ", 8, Mo)) : N("", !0)
940
940
  ], 2))), 128))
941
941
  ]),
942
942
  _: 1
943
943
  })
944
944
  ]);
945
945
  }
946
- const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.assign({
946
+ const Rt = /* @__PURE__ */ V(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.assign({
947
947
  name: "MDatePicker"
948
948
  }, {
949
949
  __name: "DatePicker",
@@ -957,23 +957,23 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
957
957
  }
958
958
  },
959
959
  setup(e, { expose: t }) {
960
- const { mergedAttrs: n, className: o } = ce(
961
- "mc-datepicker-popper",
962
- "popperClass"
963
- ), { innerRef: a, exposedProxy: l } = L("datePickerRef");
964
- return t(l), (s, r) => {
965
- const i = En;
966
- return d(), E(i, S({
960
+ const n = e, o = ve(), a = R(() => {
961
+ const i = "mc-datepicker-popper", c = n.popperClass || o.popperClass || "";
962
+ return St(i, c);
963
+ }), l = R(() => Et(o, "popperClass")), { innerRef: s, exposedProxy: r } = L("datePickerRef");
964
+ return t(r), (i, c) => {
965
+ const u = Rn;
966
+ return d(), E(u, S({
967
967
  ref_key: "datePickerRef",
968
- ref: a
969
- }, j(n), {
968
+ ref: s
969
+ }, l.value, {
970
970
  class: ["m-datepicker", { "style-type-solid": e.styleType === "solid" }],
971
- "popper-class": j(o)
971
+ "popper-class": a.value
972
972
  }), O({ _: 2 }, [
973
- M(s.$slots, (c, u) => ({
974
- name: u,
973
+ M(i.$slots, (v, g) => ({
974
+ name: g,
975
975
  fn: $(() => [
976
- h(s.$slots, u)
976
+ b(i.$slots, g)
977
977
  ])
978
978
  }))
979
979
  ]), 1040, ["popper-class", "class"]);
@@ -1007,23 +1007,23 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1007
1007
  }
1008
1008
  },
1009
1009
  setup(e, { expose: t }) {
1010
- const n = e, o = Ie(), a = R(() => {
1010
+ const n = e, o = ve(), a = R(() => {
1011
1011
  const u = o, { image: i } = u;
1012
- return Se(u, ["image"]);
1012
+ return Ee(u, ["image"]);
1013
1013
  }), l = R(() => {
1014
1014
  const { image: i } = n;
1015
1015
  return i.includes("/") || i.includes("http") ? i : `https://cfdsaas-pre.oss-cn-hongkong.aliyuncs.com/mc-assets/mc-ui/empty/${i}.png`;
1016
1016
  }), { innerRef: s, exposedProxy: r } = L("emptyRef");
1017
1017
  return t(r), (i, c) => {
1018
- const u = Mn;
1018
+ const u = wn;
1019
1019
  return d(), E(u, S({
1020
1020
  ref_key: "emptyRef",
1021
1021
  ref: s
1022
1022
  }, a.value, { image: l.value }), O({ _: 2 }, [
1023
- M(i.$slots, (v, b) => ({
1024
- name: b,
1023
+ M(i.$slots, (v, g) => ({
1024
+ name: g,
1025
1025
  fn: $(() => [
1026
- h(i.$slots, b)
1026
+ b(i.$slots, g)
1027
1027
  ])
1028
1028
  }))
1029
1029
  ]), 1040, ["image"]);
@@ -1036,7 +1036,7 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1036
1036
  setup(e, { expose: t }) {
1037
1037
  const { innerRef: n, exposedProxy: o } = L("innerTableRef");
1038
1038
  return t(o), (a, l) => {
1039
- const s = Rn;
1039
+ const s = In;
1040
1040
  return d(), E(s, S(a.$attrs, {
1041
1041
  ref_key: "innerTableRef",
1042
1042
  ref: n
@@ -1044,30 +1044,30 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1044
1044
  M(a.$slots, (r, i) => ({
1045
1045
  name: i,
1046
1046
  fn: $(() => [
1047
- h(a.$slots, i)
1047
+ b(a.$slots, i)
1048
1048
  ])
1049
1049
  }))
1050
1050
  ]), 1040);
1051
1051
  };
1052
1052
  }
1053
- }), xo = /* @__PURE__ */ Object.assign({
1053
+ }), Po = /* @__PURE__ */ Object.assign({
1054
1054
  name: "MTableColumn"
1055
1055
  }, {
1056
1056
  __name: "TableColumn",
1057
1057
  setup(e) {
1058
1058
  return (t, n) => {
1059
- const o = wn;
1059
+ const o = Tn;
1060
1060
  return d(), E(o, S(t.$attrs, { class: "m-table-column" }), O({ _: 2 }, [
1061
1061
  M(t.$slots, (a, l) => ({
1062
1062
  name: l,
1063
1063
  fn: $((s) => [
1064
- h(t.$slots, l, vt(gt(s || {})))
1064
+ b(t.$slots, l, vt(gt(s || {})))
1065
1065
  ])
1066
1066
  }))
1067
1067
  ]), 1040);
1068
1068
  };
1069
1069
  }
1070
- }), Po = { class: "m-banner__content" }, Ao = {
1070
+ }), xo = { class: "m-banner__content" }, Ao = {
1071
1071
  key: 0,
1072
1072
  class: "m-banner__icon"
1073
1073
  }, Lo = { class: "m-banner__text" }, Bo = /* @__PURE__ */ Object.assign({
@@ -1134,8 +1134,8 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1134
1134
  },
1135
1135
  emits: ["close", "update:visible"],
1136
1136
  setup(e, { expose: t, emit: n }) {
1137
- const o = on(), a = e, l = n, s = _(a.visible);
1138
- V(() => a.visible, (u) => {
1137
+ const o = an(), a = e, l = n, s = h(a.visible);
1138
+ z(() => a.visible, (u) => {
1139
1139
  s.value = u;
1140
1140
  });
1141
1141
  const r = R(() => {
@@ -1151,7 +1151,7 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1151
1151
  const c = () => {
1152
1152
  s.value = !1, l("update:visible", !1), l("close");
1153
1153
  };
1154
- return V(s, (u) => {
1154
+ return z(s, (u) => {
1155
1155
  u && a.duration > 0 && setTimeout(() => {
1156
1156
  c();
1157
1157
  }, a.duration);
@@ -1163,22 +1163,22 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1163
1163
  `m-banner--${e.type}`,
1164
1164
  {
1165
1165
  "m-banner--closable": e.closable,
1166
- "m-banner--with-icon": e.icon || j(o).icon
1166
+ "m-banner--with-icon": e.icon || W(o).icon
1167
1167
  }
1168
1168
  ]]),
1169
1169
  style: bt(r.value)
1170
1170
  }, [
1171
- C("div", Po, [
1172
- e.icon || j(o).icon ? (d(), m("div", Ao, [
1173
- h(u.$slots, "icon", {}, () => [
1174
- x(ze, {
1171
+ C("div", xo, [
1172
+ e.icon || W(o).icon ? (d(), m("div", Ao, [
1173
+ b(u.$slots, "icon", {}, () => [
1174
+ P(ze, {
1175
1175
  name: e.icon,
1176
1176
  size: e.iconSize
1177
1177
  }, null, 8, ["name", "size"])
1178
1178
  ], !0)
1179
- ])) : D("", !0),
1179
+ ])) : N("", !0),
1180
1180
  C("div", Lo, [
1181
- h(u.$slots, "default", {}, () => [
1181
+ b(u.$slots, "default", {}, () => [
1182
1182
  Ue(K(e.content), 1)
1183
1183
  ], !0)
1184
1184
  ]),
@@ -1187,20 +1187,20 @@ const Et = /* @__PURE__ */ G(yo, [["render", Ro]]), wo = /* @__PURE__ */ Object.
1187
1187
  class: "m-banner__close",
1188
1188
  onClick: c
1189
1189
  }, [
1190
- x(ze, {
1190
+ P(ze, {
1191
1191
  name: "lucide-x",
1192
1192
  size: e.closeIconSize
1193
1193
  }, null, 8, ["size"])
1194
- ])) : D("", !0)
1194
+ ])) : N("", !0)
1195
1195
  ])
1196
- ], 6)) : D("", !0);
1196
+ ], 6)) : N("", !0);
1197
1197
  }
1198
- }), No = /* @__PURE__ */ G(Bo, [["__scopeId", "data-v-00c80323"]]);
1199
- function we(e) {
1198
+ }), Do = /* @__PURE__ */ V(Bo, [["__scopeId", "data-v-00c80323"]]);
1199
+ function Ie(e) {
1200
1200
  e && e.classList && e.classList.add("mc-ui-override");
1201
1201
  }
1202
- function Do(e) {
1203
- e && e.$el && we(e.$el);
1202
+ function No(e) {
1203
+ e && e.$el && Ie(e.$el);
1204
1204
  }
1205
1205
  function Fo() {
1206
1206
  typeof document != "undefined" && (document.body.classList.add("mc-ui-override"), new MutationObserver((t) => {
@@ -1261,25 +1261,25 @@ function Ve(e = 768) {
1261
1261
  return n || o;
1262
1262
  }
1263
1263
  function Vo(e) {
1264
- return Q(W({}, e), {
1264
+ return Q(G({}, e), {
1265
1265
  mounted() {
1266
- we(this.$el), e.mounted && e.mounted.call(this);
1266
+ Ie(this.$el), e.mounted && e.mounted.call(this);
1267
1267
  },
1268
1268
  updated() {
1269
- we(this.$el), e.updated && e.updated.call(this);
1269
+ Ie(this.$el), e.updated && e.updated.call(this);
1270
1270
  }
1271
1271
  });
1272
1272
  }
1273
1273
  const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1274
1274
  __proto__: null,
1275
- addComponentOverride: Do,
1276
- addOverrideClass: we,
1275
+ addComponentOverride: No,
1276
+ addOverrideClass: Ie,
1277
1277
  applyGlobalOverride: Fo,
1278
1278
  createOverrideComponent: Vo,
1279
1279
  enableH5Override: jo,
1280
1280
  forceRefreshStyles: zo,
1281
1281
  isH5: Ve
1282
- }, Symbol.toStringTag, { value: "Module" })), N = {
1282
+ }, Symbol.toStringTag, { value: "Module" })), D = {
1283
1283
  // 滚动相关
1284
1284
  SCROLL_RATIO: 0.8,
1285
1285
  // 滚动比例
@@ -1328,15 +1328,15 @@ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1328
1328
  },
1329
1329
  emits: ["update:modelValue", "tab-click", "tab-remove", "tab-change", "tab-add", "edit"],
1330
1330
  setup(e, { emit: t, slots: n }) {
1331
- const o = _(null), a = _(null), l = _(null), s = _([]), r = _(e.modelValue), i = _(0), c = _(0), u = _([]), v = _(!1), b = _(!1), k = _({ width: "0px", left: "0px" });
1332
- let B = null, z = null, F = null, te = !1, ue = !1, X = null;
1333
- const de = () => {
1331
+ const o = h(null), a = h(null), l = h(null), s = h([]), r = h(e.modelValue), i = h(0), c = h(0), u = h([]), v = h(!1), g = h(!1), k = h({ width: "0px", left: "0px" });
1332
+ let B = null, j = null, F = null, te = !1, ce = !1, X = null;
1333
+ const ue = () => {
1334
1334
  k.value = { width: "0px", left: "0px" };
1335
- }, be = (f) => {
1335
+ }, ye = (f) => {
1336
1336
  let p = f.offsetLeft;
1337
1337
  if (Ve()) {
1338
- const w = window.getComputedStyle(o.value), P = parseFloat(w.paddingLeft) || 0;
1339
- if (Math.abs(p - P) > N.H5_POSITION_TOLERANCE) {
1338
+ const w = window.getComputedStyle(o.value), x = parseFloat(w.paddingLeft) || 0;
1339
+ if (Math.abs(p - x) > D.H5_POSITION_TOLERANCE) {
1340
1340
  const I = o.value.getBoundingClientRect();
1341
1341
  p = f.getBoundingClientRect().left - I.left;
1342
1342
  }
@@ -1345,59 +1345,59 @@ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1345
1345
  }, y = (f = !0) => {
1346
1346
  le(() => {
1347
1347
  if (!o.value || s.value.length === 0 || !r.value) {
1348
- de();
1348
+ ue();
1349
1349
  return;
1350
1350
  }
1351
1351
  const p = s.value.findIndex((A) => A.name === r.value);
1352
1352
  if (p === -1) {
1353
- de();
1353
+ ue();
1354
1354
  return;
1355
1355
  }
1356
- const P = o.value.querySelectorAll(".m-tabs__item")[p];
1357
- if (!P) {
1358
- de();
1356
+ const x = o.value.querySelectorAll(".m-tabs__item")[p];
1357
+ if (!x) {
1358
+ ue();
1359
1359
  return;
1360
1360
  }
1361
- const T = be(P) + P.offsetWidth / 2 - N.ACTIVE_BAR_OFFSET;
1361
+ const T = ye(x) + x.offsetWidth / 2 - D.ACTIVE_BAR_OFFSET;
1362
1362
  k.value = {
1363
- width: `${N.ACTIVE_BAR_WIDTH}px`,
1363
+ width: `${D.ACTIVE_BAR_WIDTH}px`,
1364
1364
  left: `${T}px`
1365
- }, f && Y(P);
1365
+ }, f && Y(x);
1366
1366
  });
1367
1367
  }, Y = (f) => {
1368
1368
  if (!a.value || !f) return;
1369
- const p = a.value, w = p.clientWidth, P = p.scrollLeft, I = f.offsetLeft, T = f.offsetWidth, A = I + T;
1369
+ const p = a.value, w = p.clientWidth, x = p.scrollLeft, I = f.offsetLeft, T = f.offsetWidth, A = I + T;
1370
1370
  if (Ve()) {
1371
- const re = I + T / 2, Yt = o.value.scrollWidth, Ht = Math.max(0, Yt - w);
1372
- let Ce = re - w / 2;
1373
- Ce = Math.max(0, Math.min(Ce, Ht));
1374
- const Be = I - P, Ne = A - P, Kt = Be >= 0 && Ne <= w, tt = w * N.EDGE_THRESHOLD_RATIO, qt = Be >= 0 && Be < tt, Zt = Ne > w - tt && Ne <= w, Xt = !Kt || qt || Zt, Jt = Math.abs(P - Ce);
1375
- Xt && Jt > N.SCROLL_MIN_DIFF && p.scrollTo({ left: Ce, behavior: "smooth" });
1371
+ const re = I + T / 2, Kt = o.value.scrollWidth, qt = Math.max(0, Kt - w);
1372
+ let $e = re - w / 2;
1373
+ $e = Math.max(0, Math.min($e, qt));
1374
+ const Be = I - x, De = A - x, Zt = Be >= 0 && De <= w, tt = w * D.EDGE_THRESHOLD_RATIO, Xt = Be >= 0 && Be < tt, Jt = De > w - tt && De <= w, Qt = !Zt || Xt || Jt, en = Math.abs(x - $e);
1375
+ Qt && en > D.SCROLL_MIN_DIFF && p.scrollTo({ left: $e, behavior: "smooth" });
1376
1376
  } else
1377
- I < P ? p.scrollTo({
1378
- left: I - N.SCROLL_MARGIN,
1377
+ I < x ? p.scrollTo({
1378
+ left: I - D.SCROLL_MARGIN,
1379
1379
  behavior: "smooth"
1380
- }) : A > P + w && p.scrollTo({
1381
- left: A - w + N.SCROLL_MARGIN,
1380
+ }) : A > x + w && p.scrollTo({
1381
+ left: A - w + D.SCROLL_MARGIN,
1382
1382
  behavior: "smooth"
1383
1383
  });
1384
- }, fe = (f) => {
1384
+ }, de = (f) => {
1385
1385
  if (f === r.value) return;
1386
1386
  const p = r.value;
1387
1387
  r.value = f, t("update:modelValue", f), t("tab-click", f), t("tab-change", f, p), y();
1388
1388
  }, ne = (f) => {
1389
1389
  t("tab-remove", f), t("edit", f, "remove");
1390
- }, ye = () => {
1390
+ }, Ce = () => {
1391
1391
  t("tab-add"), t("edit", null, "add");
1392
- }, me = () => {
1392
+ }, fe = () => {
1393
1393
  s.value.length > 0 && (r.value && y(), J());
1394
- }, pe = (f) => {
1394
+ }, me = (f) => {
1395
1395
  const p = s.value.findIndex((w) => w.name === f.name);
1396
1396
  p === -1 ? s.value.push(f) : s.value[p] = f, B && clearTimeout(B), B = setTimeout(() => {
1397
1397
  le(() => {
1398
- Xe(), me();
1398
+ Xe(), fe();
1399
1399
  });
1400
- }, N.SORT_DELAY);
1400
+ }, D.SORT_DELAY);
1401
1401
  }, Xe = () => {
1402
1402
  if (!l.value || s.value.length === 0) return;
1403
1403
  const f = l.value.querySelectorAll(".m-tab-pane");
@@ -1423,77 +1423,77 @@ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1423
1423
  };
1424
1424
  Oe("tabsContext", {
1425
1425
  activeTab: r,
1426
- registerTab: pe,
1426
+ registerTab: me,
1427
1427
  unregisterTab: Je,
1428
1428
  handleTabRemove: ne,
1429
- handleTabAdd: ye
1430
- }), V(() => e.modelValue, (f, p) => {
1429
+ handleTabAdd: Ce
1430
+ }), z(() => e.modelValue, (f, p) => {
1431
1431
  f !== r.value && (r.value = f, t("tab-change", f, p), y());
1432
1432
  });
1433
- const jt = (f) => {
1433
+ const Vt = (f) => {
1434
1434
  if (c.value === 0) return !1;
1435
- const p = f.length, w = f.map((T) => String(T.name)), P = p !== c.value, I = p === c.value && w.some((T, A) => A >= u.value.length || T !== u.value[A]);
1436
- return P || I;
1437
- }, zt = () => {
1438
- i.value++, ue = !0, le(() => {
1435
+ const p = f.length, w = f.map((T) => String(T.name)), x = p !== c.value, I = p === c.value && w.some((T, A) => A >= u.value.length || T !== u.value[A]);
1436
+ return x || I;
1437
+ }, Gt = () => {
1438
+ i.value++, ce = !0, le(() => {
1439
1439
  setTimeout(() => {
1440
- Xe(), s.value.length > 0 && (c.value = s.value.length, u.value = s.value.map((f) => String(f.name)), me()), ue = !1;
1441
- }, N.RESET_DELAY);
1440
+ Xe(), s.value.length > 0 && (c.value = s.value.length, u.value = s.value.map((f) => String(f.name)), fe()), ce = !1;
1441
+ }, D.RESET_DELAY);
1442
1442
  });
1443
1443
  };
1444
- V(s, (f) => {
1445
- if (!(ue || f.length === 0)) {
1446
- if (jt(f)) {
1447
- zt();
1444
+ z(s, (f) => {
1445
+ if (!(ce || f.length === 0)) {
1446
+ if (Vt(f)) {
1447
+ Gt();
1448
1448
  return;
1449
1449
  }
1450
- c.value = f.length, u.value = f.map((p) => String(p.name)), me();
1450
+ c.value = f.length, u.value = f.map((p) => String(p.name)), fe();
1451
1451
  }
1452
1452
  }, { deep: !0 });
1453
1453
  const J = () => {
1454
1454
  if (!a.value || !o.value) return;
1455
- const f = a.value, p = o.value, w = f.scrollLeft, P = p.scrollWidth, I = f.clientWidth;
1456
- if (!(P > I)) {
1457
- v.value = !1, b.value = !1;
1455
+ const f = a.value, p = o.value, w = f.scrollLeft, x = p.scrollWidth, I = f.clientWidth;
1456
+ if (!(x > I)) {
1457
+ v.value = !1, g.value = !1;
1458
1458
  return;
1459
1459
  }
1460
- const A = Math.max(0, P - I);
1461
- v.value = w > N.SCROLL_PRECISION, b.value = w < A - N.SCROLL_PRECISION;
1460
+ const A = Math.max(0, x - I);
1461
+ v.value = w > D.SCROLL_PRECISION, g.value = w < A - D.SCROLL_PRECISION;
1462
1462
  }, Qe = () => {
1463
- z && (cancelAnimationFrame(z), z = null), F && (clearTimeout(F), F = null);
1464
- }, Vt = () => {
1465
- J(), te || y(!1), Qe(), z = requestAnimationFrame(() => {
1466
- J(), z = null;
1463
+ j && (cancelAnimationFrame(j), j = null), F && (clearTimeout(F), F = null);
1464
+ }, Wt = () => {
1465
+ J(), te || y(!1), Qe(), j = requestAnimationFrame(() => {
1466
+ J(), j = null;
1467
1467
  }), F = setTimeout(() => {
1468
1468
  J(), te && (te = !1), F = null;
1469
- }, N.SCROLL_DEBOUNCE);
1469
+ }, D.SCROLL_DEBOUNCE);
1470
1470
  }, et = (f) => {
1471
1471
  if (!a.value) return;
1472
1472
  te = !0;
1473
- const p = a.value.clientWidth * N.SCROLL_RATIO;
1473
+ const p = a.value.clientWidth * D.SCROLL_RATIO;
1474
1474
  a.value.scrollBy({
1475
1475
  left: f === "left" ? -p : p,
1476
1476
  behavior: "smooth"
1477
1477
  }), setTimeout(() => {
1478
1478
  J(), te = !1;
1479
- }, N.SCROLL_ANIMATION);
1480
- }, Gt = () => {
1479
+ }, D.SCROLL_ANIMATION);
1480
+ }, Ut = () => {
1481
1481
  et("left");
1482
- }, Wt = () => {
1482
+ }, Yt = () => {
1483
1483
  et("right");
1484
- }, Ut = () => {
1484
+ }, Ht = () => {
1485
1485
  if (!r.value && s.value.length > 0) {
1486
1486
  const f = s.value[0];
1487
1487
  r.value = f.name, t("update:modelValue", r.value);
1488
1488
  }
1489
1489
  };
1490
1490
  return ke(() => {
1491
- c.value = s.value.length, u.value = s.value.map((f) => String(f.name)), Ut(), y(), setTimeout(() => {
1491
+ c.value = s.value.length, u.value = s.value.map((f) => String(f.name)), Ht(), y(), setTimeout(() => {
1492
1492
  y();
1493
- }, N.INIT_DELAY), requestAnimationFrame(() => {
1493
+ }, D.INIT_DELAY), requestAnimationFrame(() => {
1494
1494
  setTimeout(() => {
1495
1495
  y();
1496
- }, N.INIT_DELAY);
1496
+ }, D.INIT_DELAY);
1497
1497
  }), le(() => {
1498
1498
  J();
1499
1499
  }), a.value && o.value && (X = new ResizeObserver(() => {
@@ -1509,18 +1509,18 @@ const Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1509
1509
  activeTab: r,
1510
1510
  activeBarStyle: k,
1511
1511
  showLeftArrow: v,
1512
- showRightArrow: b,
1512
+ showRightArrow: g,
1513
1513
  internalKey: i,
1514
- handleTabClick: fe,
1514
+ handleTabClick: de,
1515
1515
  handleTabRemove: ne,
1516
- handleTabAdd: ye,
1517
- registerTab: pe,
1516
+ handleTabAdd: Ce,
1517
+ registerTab: me,
1518
1518
  unregisterTab: Je,
1519
1519
  updateActiveBarPosition: y,
1520
1520
  updateArrowVisibility: J,
1521
- handleScroll: Vt,
1522
- handleScrollLeft: Gt,
1523
- handleScrollRight: Wt
1521
+ handleScroll: Wt,
1522
+ handleScrollLeft: Ut,
1523
+ handleScrollRight: Yt
1524
1524
  };
1525
1525
  }
1526
1526
  }, Uo = { class: "m-tabs__header-wrapper" }, Yo = {
@@ -1536,7 +1536,7 @@ function Ko(e, t, n, o, a, l) {
1536
1536
  key: 0,
1537
1537
  class: "m-tabs__arrow m-tabs__arrow--left iconfont icon-chevron-left",
1538
1538
  onClick: t[0] || (t[0] = (...s) => o.handleScrollLeft && o.handleScrollLeft(...s))
1539
- })) : D("", !0),
1539
+ })) : N("", !0),
1540
1540
  C("div", {
1541
1541
  class: "m-tabs__header",
1542
1542
  ref: "headerRef",
@@ -1555,25 +1555,25 @@ function Ko(e, t, n, o, a, l) {
1555
1555
  key: 0,
1556
1556
  class: "m-tabs__active-bar",
1557
1557
  style: bt(o.activeBarStyle)
1558
- }, null, 4)) : D("", !0)
1558
+ }, null, 4)) : N("", !0)
1559
1559
  ], 512)
1560
1560
  ], 544),
1561
1561
  o.showRightArrow ? (d(), m("i", {
1562
1562
  key: 1,
1563
1563
  class: "m-tabs__arrow m-tabs__arrow--right iconfont icon-chevron-right",
1564
1564
  onClick: t[2] || (t[2] = (...s) => o.handleScrollRight && o.handleScrollRight(...s))
1565
- })) : D("", !0)
1565
+ })) : N("", !0)
1566
1566
  ]),
1567
1567
  (d(), m("div", {
1568
1568
  class: "m-tabs__content",
1569
1569
  ref: "contentRef",
1570
1570
  key: o.internalKey
1571
1571
  }, [
1572
- h(e.$slots, "default", {}, void 0, !0)
1572
+ b(e.$slots, "default", {}, void 0, !0)
1573
1573
  ]))
1574
1574
  ], 2);
1575
1575
  }
1576
- const qo = /* @__PURE__ */ G(Wo, [["render", Ko], ["__scopeId", "data-v-ff86167b"]]), Zo = {
1576
+ const qo = /* @__PURE__ */ V(Wo, [["render", Ko], ["__scopeId", "data-v-9d89d73d"]]), Zo = {
1577
1577
  name: "MTabPane",
1578
1578
  props: {
1579
1579
  label: {
@@ -1605,7 +1605,7 @@ const qo = /* @__PURE__ */ G(Wo, [["render", Ko], ["__scopeId", "data-v-ff86167b
1605
1605
  };
1606
1606
  return ke(() => {
1607
1607
  a();
1608
- }), V(() => [e.label, e.name, e.disabled, e.closable], (l, s) => {
1608
+ }), z(() => [e.label, e.name, e.disabled, e.closable], (l, s) => {
1609
1609
  (!s || l[0] !== s[0] || l[1] !== s[1] || l[2] !== s[2] || l[3] !== s[3]) && a();
1610
1610
  }, { immediate: !1 }), Ye(() => {
1611
1611
  t.unregisterTab(n.value);
@@ -1616,16 +1616,16 @@ const qo = /* @__PURE__ */ G(Wo, [["render", Ko], ["__scopeId", "data-v-ff86167b
1616
1616
  }
1617
1617
  }, Xo = ["data-tab-name"];
1618
1618
  function Jo(e, t, n, o, a, l) {
1619
- return xe((d(), m("div", {
1619
+ return Pe((d(), m("div", {
1620
1620
  class: U(["m-tab-pane", { "is-active": o.isActive }]),
1621
1621
  "data-tab-name": o.tabName
1622
1622
  }, [
1623
- h(e.$slots, "default", {}, void 0, !0)
1623
+ b(e.$slots, "default", {}, void 0, !0)
1624
1624
  ], 10, Xo)), [
1625
- [Pe, o.isActive]
1625
+ [xe, o.isActive]
1626
1626
  ]);
1627
1627
  }
1628
- const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283"]]), es = { class: "m-tab-card-item__text" }, ts = /* @__PURE__ */ Object.assign({
1628
+ const Qo = /* @__PURE__ */ V(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283"]]), es = { class: "m-tab-card-item__text" }, ts = /* @__PURE__ */ Object.assign({
1629
1629
  name: "MTabCardItem"
1630
1630
  }, {
1631
1631
  __name: "TabCardItem",
@@ -1659,13 +1659,13 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1659
1659
  onClick: s
1660
1660
  }, [
1661
1661
  C("span", es, [
1662
- h(r.$slots, "default", {}, () => [
1662
+ b(r.$slots, "default", {}, () => [
1663
1663
  Ue(K(e.label), 1)
1664
1664
  ], !0)
1665
1665
  ])
1666
1666
  ], 2));
1667
1667
  }
1668
- }), Mt = /* @__PURE__ */ G(ts, [["__scopeId", "data-v-c3f7de9a"]]), ns = { class: "m-tab-card__container" }, os = /* @__PURE__ */ Object.assign({
1668
+ }), wt = /* @__PURE__ */ V(ts, [["__scopeId", "data-v-c3f7de9a"]]), ns = { class: "m-tab-card__container" }, os = /* @__PURE__ */ Object.assign({
1669
1669
  name: "MTabCard"
1670
1670
  }, {
1671
1671
  __name: "TabCard",
@@ -1686,8 +1686,8 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1686
1686
  emits: ["update:modelValue", "change", "tab-click"],
1687
1687
  setup(e, { emit: t }) {
1688
1688
  const n = e, o = t;
1689
- ce();
1690
- const a = _(n.modelValue), l = R(() => n.options.map((r) => typeof r == "string" ? { label: r, name: r, disabled: !1 } : {
1689
+ _e();
1690
+ const a = h(n.modelValue), l = R(() => n.options.map((r) => typeof r == "string" ? { label: r, name: r, disabled: !1 } : {
1691
1691
  label: r.label || r.name || "",
1692
1692
  name: r.name || r.label || "",
1693
1693
  disabled: r.disabled || !1
@@ -1697,7 +1697,7 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1697
1697
  const c = a.value;
1698
1698
  a.value = r, o("update:modelValue", r), o("change", r, c), o("tab-click", r);
1699
1699
  };
1700
- return V(() => n.modelValue, (r) => {
1700
+ return z(() => n.modelValue, (r) => {
1701
1701
  r !== a.value && (a.value = r);
1702
1702
  }), Oe("tabCardContext", {
1703
1703
  activeTab: a,
@@ -1706,7 +1706,7 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1706
1706
  class: U(["m-tab-card", { "is-disabled": e.disabled }])
1707
1707
  }, [
1708
1708
  C("div", ns, [
1709
- (d(!0), m(H, null, M(l.value, (c, u) => (d(), E(Mt, {
1709
+ (d(!0), m(H, null, M(l.value, (c, u) => (d(), E(wt, {
1710
1710
  key: c.name,
1711
1711
  name: c.name,
1712
1712
  label: c.label,
@@ -1715,7 +1715,7 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1715
1715
  ])
1716
1716
  ], 2));
1717
1717
  }
1718
- }), ss = /* @__PURE__ */ G(os, [["__scopeId", "data-v-098ad86f"]]), as = {
1718
+ }), ss = /* @__PURE__ */ V(os, [["__scopeId", "data-v-098ad86f"]]), as = {
1719
1719
  class: "breadcrumb-separator-icon",
1720
1720
  width: "6",
1721
1721
  height: "10",
@@ -1736,7 +1736,7 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1736
1736
  }, null, -1)
1737
1737
  ])]));
1738
1738
  }
1739
- }), ls = /* @__PURE__ */ G(rs, [["__scopeId", "data-v-dd1ad62c"]]), is = {
1739
+ }), ls = /* @__PURE__ */ V(rs, [["__scopeId", "data-v-dd1ad62c"]]), is = {
1740
1740
  class: "m-breadcrumb",
1741
1741
  "aria-label": "Breadcrumb"
1742
1742
  }, cs = ["onClick"], us = /* @__PURE__ */ Object.assign({
@@ -1773,14 +1773,14 @@ const Qo = /* @__PURE__ */ G(Zo, [["render", Jo], ["__scopeId", "data-v-f1c56283
1773
1773
  r < e.items.length - 1 ? (d(), E(ls, {
1774
1774
  key: 0,
1775
1775
  class: "m-breadcrumb__separator"
1776
- })) : D("", !0)
1776
+ })) : N("", !0)
1777
1777
  ], 64))), 128))
1778
1778
  ]));
1779
1779
  }
1780
- }), ds = /* @__PURE__ */ G(us, [["__scopeId", "data-v-8b9e8867"]]);
1780
+ }), ds = /* @__PURE__ */ V(us, [["__scopeId", "data-v-8b9e8867"]]);
1781
1781
  function fs() {
1782
1782
  }
1783
- const _e = Object.assign, Rt = typeof window != "undefined", qe = (e) => e !== null && typeof e == "object", ie = (e) => e != null, Ge = (e) => typeof e == "function", ms = (e) => qe(e) && Ge(e.then) && Ge(e.catch), wt = (e) => typeof e == "number" || /^\d+(\.\d+)?$/.test(e), ps = () => Rt ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : !1;
1783
+ const he = Object.assign, It = typeof window != "undefined", qe = (e) => e !== null && typeof e == "object", ie = (e) => e != null, Ge = (e) => typeof e == "function", ms = (e) => qe(e) && Ge(e.then) && Ge(e.catch), Tt = (e) => typeof e == "number" || /^\d+(\.\d+)?$/.test(e), ps = () => It ? /ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()) : !1;
1784
1784
  function at(e, t) {
1785
1785
  const n = t.split(".");
1786
1786
  let o = e;
@@ -1789,7 +1789,7 @@ function at(e, t) {
1789
1789
  o = qe(o) && (l = o[a]) != null ? l : "";
1790
1790
  }), o;
1791
1791
  }
1792
- const It = null, ee = [Number, String], ae = {
1792
+ const Ot = null, ee = [Number, String], ae = {
1793
1793
  type: Boolean,
1794
1794
  default: !0
1795
1795
  }, Z = (e) => ({
@@ -1797,7 +1797,7 @@ const It = null, ee = [Number, String], ae = {
1797
1797
  default: e
1798
1798
  });
1799
1799
  var Ze = typeof window != "undefined";
1800
- function Tt(e) {
1800
+ function kt(e) {
1801
1801
  let t;
1802
1802
  ke(() => {
1803
1803
  e(), le(() => {
@@ -1807,7 +1807,7 @@ function Tt(e) {
1807
1807
  t && e();
1808
1808
  });
1809
1809
  }
1810
- function Ot(e, t, n = {}) {
1810
+ function Pt(e, t, n = {}) {
1811
1811
  if (!Ze)
1812
1812
  return;
1813
1813
  const { target: o = window, passive: a = !1, capture: l = !1 } = n;
@@ -1815,34 +1815,34 @@ function Ot(e, t, n = {}) {
1815
1815
  const i = (v) => {
1816
1816
  if (s)
1817
1817
  return;
1818
- const b = j(v);
1819
- b && !r && (b.addEventListener(e, t, {
1818
+ const g = W(v);
1819
+ g && !r && (g.addEventListener(e, t, {
1820
1820
  capture: l,
1821
1821
  passive: a
1822
1822
  }), r = !0);
1823
1823
  }, c = (v) => {
1824
1824
  if (s)
1825
1825
  return;
1826
- const b = j(v);
1827
- b && r && (b.removeEventListener(e, t, l), r = !1);
1826
+ const g = W(v);
1827
+ g && r && (g.removeEventListener(e, t, l), r = !1);
1828
1828
  };
1829
- Ye(() => c(o)), Ae(() => c(o)), Tt(() => i(o));
1829
+ Ye(() => c(o)), Ae(() => c(o)), kt(() => i(o));
1830
1830
  let u;
1831
- return sn(o) && (u = V(o, (v, b) => {
1832
- c(b), i(v);
1831
+ return rn(o) && (u = z(o, (v, g) => {
1832
+ c(g), i(v);
1833
1833
  })), () => {
1834
1834
  u == null || u(), c(o), s = !0;
1835
1835
  };
1836
1836
  }
1837
- var Ee, Fe;
1837
+ var Me, Fe;
1838
1838
  function vs() {
1839
- if (!Ee && (Ee = _(0), Fe = _(0), Ze)) {
1839
+ if (!Me && (Me = h(0), Fe = h(0), Ze)) {
1840
1840
  const e = () => {
1841
- Ee.value = window.innerWidth, Fe.value = window.innerHeight;
1841
+ Me.value = window.innerWidth, Fe.value = window.innerHeight;
1842
1842
  };
1843
1843
  e(), window.addEventListener("resize", e, { passive: !0 }), window.addEventListener("orientationchange", e, { passive: !0 });
1844
1844
  }
1845
- return { width: Ee, height: Fe };
1845
+ return { width: Me, height: Fe };
1846
1846
  }
1847
1847
  var gs = /scroll|auto|overlay/i, _s = Ze ? window : void 0;
1848
1848
  function hs(e) {
@@ -1860,24 +1860,24 @@ function bs(e, t = _s) {
1860
1860
  }
1861
1861
  ps();
1862
1862
  const ys = (e) => e.stopPropagation();
1863
- function kt(e, t) {
1863
+ function xt(e, t) {
1864
1864
  (typeof e.cancelable != "boolean" || e.cancelable) && e.preventDefault(), ys(e);
1865
1865
  }
1866
1866
  vs();
1867
1867
  function oe(e) {
1868
1868
  if (ie(e))
1869
- return wt(e) ? `${e}px` : String(e);
1869
+ return Tt(e) ? `${e}px` : String(e);
1870
1870
  }
1871
1871
  function Cs(e) {
1872
1872
  const t = {};
1873
1873
  return e !== void 0 && (t.zIndex = +e), t;
1874
1874
  }
1875
- const $s = /-(\w)/g, xt = (e) => e.replace($s, (t, n) => n.toUpperCase()), Ss = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, ""), { hasOwnProperty: Es } = Object.prototype;
1875
+ const $s = /-(\w)/g, At = (e) => e.replace($s, (t, n) => n.toUpperCase()), Ss = (e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, ""), { hasOwnProperty: Es } = Object.prototype;
1876
1876
  function Ms(e, t, n) {
1877
1877
  const o = t[n];
1878
- ie(o) && (!Es.call(e, n) || !qe(o) ? e[n] = o : e[n] = Pt(Object(e[n]), o));
1878
+ ie(o) && (!Es.call(e, n) || !qe(o) ? e[n] = o : e[n] = Lt(Object(e[n]), o));
1879
1879
  }
1880
- function Pt(e, t) {
1880
+ function Lt(e, t) {
1881
1881
  return Object.keys(t).forEach((n) => {
1882
1882
  Ms(e, t, n);
1883
1883
  }), e;
@@ -1944,7 +1944,7 @@ var Rs = {
1944
1944
  add: "新增地址"
1945
1945
  }
1946
1946
  };
1947
- const rt = _("zh-CN"), lt = an({
1947
+ const rt = h("zh-CN"), lt = ln({
1948
1948
  "zh-CN": Rs
1949
1949
  }), ws = {
1950
1950
  messages() {
@@ -1954,12 +1954,12 @@ const rt = _("zh-CN"), lt = an({
1954
1954
  rt.value = e, this.add({ [e]: t });
1955
1955
  },
1956
1956
  add(e = {}) {
1957
- Pt(lt, e);
1957
+ Lt(lt, e);
1958
1958
  }
1959
1959
  };
1960
1960
  var Is = ws;
1961
1961
  function Ts(e) {
1962
- const t = xt(e) + ".";
1962
+ const t = At(e) + ".";
1963
1963
  return (n, ...o) => {
1964
1964
  const a = Is.messages(), l = at(a, t + n) || at(a, n);
1965
1965
  return Ge(l) ? l(...o) : l;
@@ -1977,7 +1977,7 @@ function We(e, t) {
1977
1977
  function Os(e) {
1978
1978
  return (t, n) => (t && typeof t != "string" && (n = t, t = ""), t = t ? `${e}__${t}` : e, `${t}${We(t, n)}`);
1979
1979
  }
1980
- function he(e) {
1980
+ function be(e) {
1981
1981
  const t = `van-${e}`;
1982
1982
  return [
1983
1983
  t,
@@ -1986,7 +1986,7 @@ function he(e) {
1986
1986
  ];
1987
1987
  }
1988
1988
  const ks = "van-haptics-feedback", it = 5;
1989
- function xs(e, {
1989
+ function Ps(e, {
1990
1990
  args: t = [],
1991
1991
  done: n,
1992
1992
  canceled: o,
@@ -2003,15 +2003,15 @@ function xs(e, {
2003
2003
  function Le(e) {
2004
2004
  return e.install = (t) => {
2005
2005
  const { name: n } = e;
2006
- n && (t.component(n, e), t.component(xt(`-${n}`), e));
2006
+ n && (t.component(n, e), t.component(At(`-${n}`), e));
2007
2007
  }, e;
2008
2008
  }
2009
- const Ps = Symbol();
2009
+ const xs = Symbol();
2010
2010
  function As(e) {
2011
2011
  const t = yt();
2012
- t && _e(t.proxy, e);
2012
+ t && he(t.proxy, e);
2013
2013
  }
2014
- const [Ls, ct] = he("badge"), Bs = {
2014
+ const [Ls, ct] = be("badge"), Bs = {
2015
2015
  dot: Boolean,
2016
2016
  max: ee,
2017
2017
  tag: Z("div"),
@@ -2021,7 +2021,7 @@ const [Ls, ct] = he("badge"), Bs = {
2021
2021
  showZero: ae,
2022
2022
  position: Z("top-right")
2023
2023
  };
2024
- var Ns = ge({
2024
+ var Ds = ge({
2025
2025
  name: Ls,
2026
2026
  props: Bs,
2027
2027
  setup(e, {
@@ -2042,7 +2042,7 @@ var Ns = ge({
2042
2042
  content: c
2043
2043
  } = e;
2044
2044
  if (!r && n())
2045
- return t.content ? t.content() : ie(i) && wt(c) && +c > +i ? `${i}+` : c;
2045
+ return t.content ? t.content() : ie(i) && Tt(c) && +c > +i ? `${i}+` : c;
2046
2046
  }, a = (r) => r.startsWith("-") ? r.replace("-", "") : `-${r}`, l = R(() => {
2047
2047
  const r = {
2048
2048
  background: e.color
@@ -2050,13 +2050,13 @@ var Ns = ge({
2050
2050
  if (e.offset) {
2051
2051
  const [i, c] = e.offset, {
2052
2052
  position: u
2053
- } = e, [v, b] = u.split("-");
2054
- t.default ? (typeof c == "number" ? r[v] = oe(v === "top" ? c : -c) : r[v] = v === "top" ? oe(c) : a(c), typeof i == "number" ? r[b] = oe(b === "left" ? i : -i) : r[b] = b === "left" ? oe(i) : a(i)) : (r.marginTop = oe(c), r.marginLeft = oe(i));
2053
+ } = e, [v, g] = u.split("-");
2054
+ t.default ? (typeof c == "number" ? r[v] = oe(v === "top" ? c : -c) : r[v] = v === "top" ? oe(c) : a(c), typeof i == "number" ? r[g] = oe(g === "left" ? i : -i) : r[g] = g === "left" ? oe(i) : a(i)) : (r.marginTop = oe(c), r.marginLeft = oe(i));
2055
2055
  }
2056
2056
  return r;
2057
2057
  }), s = () => {
2058
2058
  if (n() || e.dot)
2059
- return x("div", {
2059
+ return P("div", {
2060
2060
  class: ct([e.position, {
2061
2061
  dot: e.dot,
2062
2062
  fixed: !!t.default
@@ -2069,7 +2069,7 @@ var Ns = ge({
2069
2069
  const {
2070
2070
  tag: r
2071
2071
  } = e;
2072
- return x(r, {
2072
+ return P(r, {
2073
2073
  class: ct("wrapper")
2074
2074
  }, {
2075
2075
  default: () => [t.default(), s()]
@@ -2079,11 +2079,11 @@ var Ns = ge({
2079
2079
  };
2080
2080
  }
2081
2081
  });
2082
- const Ds = Le(Ns);
2083
- let At = 2e3;
2084
- const Fs = () => ++At, js = (e) => {
2085
- At = e;
2086
- }, [Lt, zs] = he("config-provider"), Bt = Symbol(Lt), Vs = {
2082
+ const Ns = Le(Ds);
2083
+ let Bt = 2e3;
2084
+ const Fs = () => ++Bt, js = (e) => {
2085
+ Bt = e;
2086
+ }, [Dt, zs] = be("config-provider"), Nt = Symbol(Dt), Vs = {
2087
2087
  tag: Z("div"),
2088
2088
  theme: Z("light"),
2089
2089
  zIndex: Number,
@@ -2103,7 +2103,7 @@ function Ws(e) {
2103
2103
  t[`--van-${o}`] = e[n];
2104
2104
  }), t;
2105
2105
  }
2106
- function Me(e = {}, t = {}) {
2106
+ function Re(e = {}, t = {}) {
2107
2107
  Object.keys(e).forEach((n) => {
2108
2108
  e[n] !== t[n] && document.documentElement.style.setProperty(n, e[n]);
2109
2109
  }), Object.keys(t).forEach((n) => {
@@ -2111,31 +2111,31 @@ function Me(e = {}, t = {}) {
2111
2111
  });
2112
2112
  }
2113
2113
  ge({
2114
- name: Lt,
2114
+ name: Dt,
2115
2115
  props: Vs,
2116
2116
  setup(e, {
2117
2117
  slots: t
2118
2118
  }) {
2119
- const n = R(() => Ws(_e({}, e.themeVars, e.theme === "dark" ? e.themeVarsDark : e.themeVarsLight)));
2120
- if (Rt) {
2119
+ const n = R(() => Ws(he({}, e.themeVars, e.theme === "dark" ? e.themeVarsDark : e.themeVarsLight)));
2120
+ if (It) {
2121
2121
  const o = () => {
2122
2122
  document.documentElement.classList.add(`van-theme-${e.theme}`);
2123
2123
  }, a = (l = e.theme) => {
2124
2124
  document.documentElement.classList.remove(`van-theme-${l}`);
2125
2125
  };
2126
- V(() => e.theme, (l, s) => {
2126
+ z(() => e.theme, (l, s) => {
2127
2127
  s && a(s), o();
2128
2128
  }, {
2129
2129
  immediate: !0
2130
- }), Ke(o), Ae(a), Ct(a), V(n, (l, s) => {
2131
- e.themeVarsScope === "global" && Me(l, s);
2132
- }), V(() => e.themeVarsScope, (l, s) => {
2133
- s === "global" && Me({}, n.value), l === "global" && Me(n.value, {});
2134
- }), e.themeVarsScope === "global" && Me(n.value, {});
2130
+ }), Ke(o), Ae(a), Ct(a), z(n, (l, s) => {
2131
+ e.themeVarsScope === "global" && Re(l, s);
2132
+ }), z(() => e.themeVarsScope, (l, s) => {
2133
+ s === "global" && Re({}, n.value), l === "global" && Re(n.value, {});
2134
+ }), e.themeVarsScope === "global" && Re(n.value, {});
2135
2135
  }
2136
- return Oe(Bt, e), rn(() => {
2136
+ return Oe(Nt, e), cn(() => {
2137
2137
  e.zIndex !== void 0 && js(e.zIndex);
2138
- }), () => x(e.tag, {
2138
+ }), () => P(e.tag, {
2139
2139
  class: zs(),
2140
2140
  style: e.themeVarsScope === "local" ? n.value : void 0
2141
2141
  }, {
@@ -2146,7 +2146,7 @@ ge({
2146
2146
  });
2147
2147
  }
2148
2148
  });
2149
- const [Us, ut] = he("icon"), Ys = (e) => e == null ? void 0 : e.includes("/"), Hs = {
2149
+ const [Us, ut] = be("icon"), Ys = (e) => e == null ? void 0 : e.includes("/"), Hs = {
2150
2150
  dot: Boolean,
2151
2151
  tag: Z("i"),
2152
2152
  name: String,
@@ -2162,7 +2162,7 @@ var Ks = ge({
2162
2162
  setup(e, {
2163
2163
  slots: t
2164
2164
  }) {
2165
- const n = He(Bt, null), o = R(() => e.classPrefix || (n == null ? void 0 : n.iconPrefix) || ut());
2165
+ const n = He(Nt, null), o = R(() => e.classPrefix || (n == null ? void 0 : n.iconPrefix) || ut());
2166
2166
  return () => {
2167
2167
  const {
2168
2168
  tag: a,
@@ -2172,7 +2172,7 @@ var Ks = ge({
2172
2172
  badge: i,
2173
2173
  color: c
2174
2174
  } = e, u = Ys(s);
2175
- return x(Ds, S({
2175
+ return P(Ns, S({
2176
2176
  dot: l,
2177
2177
  tag: a,
2178
2178
  class: [o.value, u ? "" : `${o.value}-${s}`],
@@ -2184,7 +2184,7 @@ var Ks = ge({
2184
2184
  }, e.badgeProps), {
2185
2185
  default: () => {
2186
2186
  var v;
2187
- return [(v = t.default) == null ? void 0 : v.call(t), u && x("img", {
2187
+ return [(v = t.default) == null ? void 0 : v.call(t), u && P("img", {
2188
2188
  class: ut("image"),
2189
2189
  src: s
2190
2190
  }, null)];
@@ -2215,7 +2215,7 @@ const qs = Le(Ks), Zs = {
2215
2215
  // overlay custom style
2216
2216
  overlayStyle: Object,
2217
2217
  // overlay custom class name
2218
- overlayClass: It,
2218
+ overlayClass: Ot,
2219
2219
  // Initial rendering animation
2220
2220
  transitionAppear: Boolean,
2221
2221
  // whether to close popup when overlay is clicked
@@ -2225,15 +2225,15 @@ function Xs(e, t) {
2225
2225
  return e > t ? "horizontal" : t > e ? "vertical" : "";
2226
2226
  }
2227
2227
  function Js() {
2228
- const e = _(0), t = _(0), n = _(0), o = _(0), a = _(0), l = _(0), s = _(""), r = _(!0), i = () => s.value === "vertical", c = () => s.value === "horizontal", u = () => {
2228
+ const e = h(0), t = h(0), n = h(0), o = h(0), a = h(0), l = h(0), s = h(""), r = h(!0), i = () => s.value === "vertical", c = () => s.value === "horizontal", u = () => {
2229
2229
  n.value = 0, o.value = 0, a.value = 0, l.value = 0, s.value = "", r.value = !0;
2230
2230
  };
2231
2231
  return {
2232
2232
  move: (k) => {
2233
2233
  const B = k.touches[0];
2234
2234
  n.value = (B.clientX < 0 ? 0 : B.clientX) - e.value, o.value = B.clientY - t.value, a.value = Math.abs(n.value), l.value = Math.abs(o.value);
2235
- const z = 10;
2236
- (!s.value || a.value < z && l.value < z) && (s.value = Xs(a.value, l.value)), r.value && (a.value > it || l.value > it) && (r.value = !1);
2235
+ const j = 10;
2236
+ (!s.value || a.value < j && l.value < j) && (s.value = Xs(a.value, l.value)), r.value && (a.value > it || l.value > it) && (r.value = !1);
2237
2237
  },
2238
2238
  start: (k) => {
2239
2239
  u(), e.value = k.touches[0].clientX, t.value = k.touches[0].clientY;
@@ -2251,29 +2251,29 @@ function Js() {
2251
2251
  isTap: r
2252
2252
  };
2253
2253
  }
2254
- let ve = 0;
2254
+ let pe = 0;
2255
2255
  const dt = "van-overflow-hidden";
2256
2256
  function Qs(e, t) {
2257
2257
  const n = Js(), o = "01", a = "10", l = (u) => {
2258
2258
  n.move(u);
2259
- const v = n.deltaY.value > 0 ? a : o, b = bs(
2259
+ const v = n.deltaY.value > 0 ? a : o, g = bs(
2260
2260
  u.target,
2261
2261
  e.value
2262
- ), { scrollHeight: k, offsetHeight: B, scrollTop: z } = b;
2262
+ ), { scrollHeight: k, offsetHeight: B, scrollTop: j } = g;
2263
2263
  let F = "11";
2264
- z === 0 ? F = B >= k ? "00" : "01" : z + B >= k && (F = "10"), F !== "11" && n.isVertical() && !(parseInt(F, 2) & parseInt(v, 2)) && kt(u);
2264
+ j === 0 ? F = B >= k ? "00" : "01" : j + B >= k && (F = "10"), F !== "11" && n.isVertical() && !(parseInt(F, 2) & parseInt(v, 2)) && xt(u);
2265
2265
  }, s = () => {
2266
- document.addEventListener("touchstart", n.start), document.addEventListener("touchmove", l, { passive: !1 }), ve || document.body.classList.add(dt), ve++;
2266
+ document.addEventListener("touchstart", n.start), document.addEventListener("touchmove", l, { passive: !1 }), pe || document.body.classList.add(dt), pe++;
2267
2267
  }, r = () => {
2268
- ve && (document.removeEventListener("touchstart", n.start), document.removeEventListener("touchmove", l), ve--, ve || document.body.classList.remove(dt));
2268
+ pe && (document.removeEventListener("touchstart", n.start), document.removeEventListener("touchmove", l), pe--, pe || document.body.classList.remove(dt));
2269
2269
  }, i = () => t() && s(), c = () => t() && r();
2270
- Tt(i), Ae(c), Ct(c), V(t, (u) => {
2270
+ kt(i), Ae(c), Ct(c), z(t, (u) => {
2271
2271
  u ? s() : r();
2272
2272
  });
2273
2273
  }
2274
- function Nt(e) {
2275
- const t = _(!1);
2276
- return V(
2274
+ function Ft(e) {
2275
+ const t = h(!1);
2276
+ return z(
2277
2277
  e,
2278
2278
  (n) => {
2279
2279
  n && (t.value = n);
@@ -2285,11 +2285,11 @@ const ft = () => {
2285
2285
  var e;
2286
2286
  const { scopeId: t } = ((e = yt()) == null ? void 0 : e.vnode) || {};
2287
2287
  return t ? { [t]: "" } : null;
2288
- }, [ea, ta] = he("overlay"), na = {
2288
+ }, [ea, ta] = be("overlay"), na = {
2289
2289
  show: Boolean,
2290
2290
  zIndex: ee,
2291
2291
  duration: ee,
2292
- className: It,
2292
+ className: Ot,
2293
2293
  lockScroll: ae,
2294
2294
  lazyRender: ae,
2295
2295
  customStyle: Object,
@@ -2303,27 +2303,27 @@ var oa = ge({
2303
2303
  attrs: t,
2304
2304
  slots: n
2305
2305
  }) {
2306
- const o = _(), a = Nt(() => e.show || !e.lazyRender), l = (r) => {
2307
- e.lockScroll && kt(r);
2306
+ const o = h(), a = Ft(() => e.show || !e.lazyRender), l = (r) => {
2307
+ e.lockScroll && xt(r);
2308
2308
  }, s = a(() => {
2309
2309
  var r;
2310
- const i = _e(Cs(e.zIndex), e.customStyle);
2311
- return ie(e.duration) && (i.animationDuration = `${e.duration}s`), xe(x("div", S({
2310
+ const i = he(Cs(e.zIndex), e.customStyle);
2311
+ return ie(e.duration) && (i.animationDuration = `${e.duration}s`), Pe(P("div", S({
2312
2312
  ref: o,
2313
2313
  style: i,
2314
2314
  class: [ta(), e.className]
2315
- }, t), [(r = n.default) == null ? void 0 : r.call(n)]), [[Pe, e.show]]);
2315
+ }, t), [(r = n.default) == null ? void 0 : r.call(n)]), [[xe, e.show]]);
2316
2316
  });
2317
- return Ot("touchmove", l, {
2317
+ return Pt("touchmove", l, {
2318
2318
  target: o
2319
2319
  }), () => {
2320
- const r = x($t, {
2320
+ const r = P($t, {
2321
2321
  name: "van-fade",
2322
2322
  appear: !0
2323
2323
  }, {
2324
2324
  default: s
2325
2325
  });
2326
- return e.teleport ? x(Te, {
2326
+ return e.teleport ? P(Te, {
2327
2327
  to: e.teleport
2328
2328
  }, {
2329
2329
  default: () => [r]
@@ -2331,7 +2331,7 @@ var oa = ge({
2331
2331
  };
2332
2332
  }
2333
2333
  });
2334
- const sa = Le(oa), aa = _e({}, Zs, {
2334
+ const sa = Le(oa), aa = he({}, Zs, {
2335
2335
  round: Boolean,
2336
2336
  position: Z("center"),
2337
2337
  closeIcon: Z("cross"),
@@ -2343,7 +2343,7 @@ const sa = Le(oa), aa = _e({}, Zs, {
2343
2343
  destroyOnClose: Boolean,
2344
2344
  safeAreaInsetTop: Boolean,
2345
2345
  safeAreaInsetBottom: Boolean
2346
- }), [ra, mt] = he("popup");
2346
+ }), [ra, mt] = be("popup");
2347
2347
  var la = ge({
2348
2348
  name: ra,
2349
2349
  inheritAttrs: !1,
@@ -2355,7 +2355,7 @@ var la = ge({
2355
2355
  slots: o
2356
2356
  }) {
2357
2357
  let a, l;
2358
- const s = _(), r = _(), i = Nt(() => e.show || !e.lazyRender), c = R(() => {
2358
+ const s = h(), r = h(), i = Ft(() => e.show || !e.lazyRender), c = R(() => {
2359
2359
  const y = {
2360
2360
  zIndex: s.value
2361
2361
  };
@@ -2367,16 +2367,16 @@ var la = ge({
2367
2367
  }), u = () => {
2368
2368
  a || (a = !0, s.value = e.zIndex !== void 0 ? +e.zIndex : Fs(), t("open"));
2369
2369
  }, v = () => {
2370
- a && xs(e.beforeClose, {
2370
+ a && Ps(e.beforeClose, {
2371
2371
  done() {
2372
2372
  a = !1, t("close"), t("update:show", !1);
2373
2373
  }
2374
2374
  });
2375
- }, b = (y) => {
2375
+ }, g = (y) => {
2376
2376
  t("clickOverlay", y), e.closeOnClickOverlay && v();
2377
2377
  }, k = () => {
2378
2378
  if (e.overlay) {
2379
- const y = _e({
2379
+ const y = he({
2380
2380
  show: e.show,
2381
2381
  class: e.overlayClass,
2382
2382
  zIndex: s.value,
@@ -2385,17 +2385,17 @@ var la = ge({
2385
2385
  role: e.closeOnClickOverlay ? "button" : void 0,
2386
2386
  tabindex: e.closeOnClickOverlay ? 0 : void 0
2387
2387
  }, e.overlayProps);
2388
- return x(sa, S(y, ft(), {
2389
- onClick: b
2388
+ return P(sa, S(y, ft(), {
2389
+ onClick: g
2390
2390
  }), {
2391
2391
  default: o["overlay-content"]
2392
2392
  });
2393
2393
  }
2394
2394
  }, B = (y) => {
2395
2395
  t("clickCloseIcon", y), v();
2396
- }, z = () => {
2396
+ }, j = () => {
2397
2397
  if (e.closeable)
2398
- return x(qs, {
2398
+ return P(qs, {
2399
2399
  role: "button",
2400
2400
  tabindex: 0,
2401
2401
  name: e.closeIcon,
@@ -2409,54 +2409,54 @@ var la = ge({
2409
2409
  F && clearTimeout(F), F = setTimeout(() => {
2410
2410
  t("opened");
2411
2411
  });
2412
- }, ue = () => t("closed"), X = (y) => t("keydown", y), de = i(() => {
2412
+ }, ce = () => t("closed"), X = (y) => t("keydown", y), ue = i(() => {
2413
2413
  var y;
2414
2414
  const {
2415
2415
  destroyOnClose: Y,
2416
- round: fe,
2416
+ round: de,
2417
2417
  position: ne,
2418
- safeAreaInsetTop: ye,
2419
- safeAreaInsetBottom: me,
2420
- show: pe
2418
+ safeAreaInsetTop: Ce,
2419
+ safeAreaInsetBottom: fe,
2420
+ show: me
2421
2421
  } = e;
2422
- if (!(!pe && Y))
2423
- return xe(x("div", S({
2422
+ if (!(!me && Y))
2423
+ return Pe(P("div", S({
2424
2424
  ref: r,
2425
2425
  style: c.value,
2426
2426
  role: "dialog",
2427
2427
  tabindex: 0,
2428
2428
  class: [mt({
2429
- round: fe,
2429
+ round: de,
2430
2430
  [ne]: ne
2431
2431
  }), {
2432
- "van-safe-area-top": ye,
2433
- "van-safe-area-bottom": me
2432
+ "van-safe-area-top": Ce,
2433
+ "van-safe-area-bottom": fe
2434
2434
  }],
2435
2435
  onKeydown: X
2436
- }, n, ft()), [(y = o.default) == null ? void 0 : y.call(o), z()]), [[Pe, pe]]);
2437
- }), be = () => {
2436
+ }, n, ft()), [(y = o.default) == null ? void 0 : y.call(o), j()]), [[xe, me]]);
2437
+ }), ye = () => {
2438
2438
  const {
2439
2439
  position: y,
2440
2440
  transition: Y,
2441
- transitionAppear: fe
2441
+ transitionAppear: de
2442
2442
  } = e, ne = y === "center" ? "van-fade" : `van-popup-slide-${y}`;
2443
- return x($t, {
2443
+ return P($t, {
2444
2444
  name: Y || ne,
2445
- appear: fe,
2445
+ appear: de,
2446
2446
  onAfterEnter: te,
2447
- onAfterLeave: ue
2447
+ onAfterLeave: ce
2448
2448
  }, {
2449
- default: de
2449
+ default: ue
2450
2450
  });
2451
2451
  };
2452
- return V(() => e.show, (y) => {
2452
+ return z(() => e.show, (y) => {
2453
2453
  y && !a && (u(), n.tabindex === 0 && le(() => {
2454
2454
  var Y;
2455
2455
  (Y = r.value) == null || Y.focus();
2456
2456
  })), !y && a && (a = !1, t("close"));
2457
2457
  }), As({
2458
2458
  popupRef: r
2459
- }), Qs(r, () => e.show && e.lockScroll), Ot("popstate", () => {
2459
+ }), Qs(r, () => e.show && e.lockScroll), Pt("popstate", () => {
2460
2460
  e.closeOnPopstate && (v(), l = !1);
2461
2461
  }), ke(() => {
2462
2462
  e.show && u();
@@ -2464,18 +2464,18 @@ var la = ge({
2464
2464
  l && (t("update:show", !0), l = !1);
2465
2465
  }), Ae(() => {
2466
2466
  e.show && e.teleport && (v(), l = !0);
2467
- }), Oe(Ps, () => e.show), () => e.teleport ? x(Te, {
2467
+ }), Oe(xs, () => e.show), () => e.teleport ? P(Te, {
2468
2468
  to: e.teleport
2469
2469
  }, {
2470
- default: () => [k(), be()]
2471
- }) : x(H, null, [k(), be()]);
2470
+ default: () => [k(), ye()]
2471
+ }) : P(H, null, [k(), ye()]);
2472
2472
  }
2473
2473
  });
2474
2474
  const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { class: "list-container" }, fa = ["onClick"], ma = { class: "label" }, pa = { class: "active-icon" }, va = { class: "iconfont icon-check" }, ga = /* @__PURE__ */ Object.assign({
2475
2475
  name: "MPicker"
2476
2476
  }, {
2477
2477
  __name: "Picker",
2478
- props: /* @__PURE__ */ Re({
2478
+ props: /* @__PURE__ */ we({
2479
2479
  title: {
2480
2480
  type: String,
2481
2481
  default: ""
@@ -2497,14 +2497,14 @@ const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { cla
2497
2497
  },
2498
2498
  showModifiers: {}
2499
2499
  }),
2500
- emits: /* @__PURE__ */ Re(["confirm"], ["update:modelValue", "update:show"]),
2500
+ emits: /* @__PURE__ */ we(["confirm"], ["update:modelValue", "update:show"]),
2501
2501
  setup(e, { emit: t }) {
2502
2502
  const n = t, o = e, a = je(e, "modelValue"), l = je(e, "show"), s = (i) => {
2503
2503
  a.value = i[o.columnsFieldNames.value], n("confirm", i), r();
2504
2504
  }, r = () => {
2505
2505
  l.value = !1;
2506
2506
  };
2507
- return (i, c) => (d(), E(j(ia), S({
2507
+ return (i, c) => (d(), E(W(ia), S({
2508
2508
  show: l.value,
2509
2509
  "onUpdate:show": c[0] || (c[0] = (u) => l.value = u),
2510
2510
  round: "",
@@ -2527,7 +2527,7 @@ const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { cla
2527
2527
  onClick: (v) => s(u)
2528
2528
  }, [
2529
2529
  C("div", ma, [
2530
- i.$slots.label ? h(i.$slots, "label", {
2530
+ i.$slots.label ? b(i.$slots, "label", {
2531
2531
  key: 0,
2532
2532
  item: u
2533
2533
  }, void 0, !0) : (d(), m(H, { key: 1 }, [
@@ -2535,27 +2535,27 @@ const ia = Le(la), ca = { class: "header" }, ua = { class: "title" }, da = { cla
2535
2535
  ], 64))
2536
2536
  ]),
2537
2537
  C("div", pa, [
2538
- xe(C("i", va, null, 512), [
2539
- [Pe, a.value === u[e.columnsFieldNames.value]]
2538
+ Pe(C("i", va, null, 512), [
2539
+ [xe, a.value === u[e.columnsFieldNames.value]]
2540
2540
  ])
2541
2541
  ])
2542
2542
  ], 10, fa))), 128)),
2543
- h(i.$slots, "default", {}, void 0, !0)
2543
+ b(i.$slots, "default", {}, void 0, !0)
2544
2544
  ])
2545
2545
  ]),
2546
2546
  _: 3
2547
2547
  }, 16, ["show"]));
2548
2548
  }
2549
- }), _a = /* @__PURE__ */ G(ga, [["__scopeId", "data-v-bd7255dd"]]), Dt = [ze, On, kn, xn, Pn, Bn, Nn, Dn, Fn, jn, zn, Vn, Gn, Wn, Hn, Xn, Jn, to, St, Et, wo, Oo, ko, xo, No, qo, Qo, ss, Mt, ds, _a];
2550
- function Ft(e) {
2549
+ }), _a = /* @__PURE__ */ V(ga, [["__scopeId", "data-v-bd7255dd"]]), jt = [ze, Pn, xn, An, Ln, Bn, Dn, Nn, Fn, jn, zn, Vn, Gn, Wn, Hn, Xn, Jn, to, Mt, Rt, wo, Oo, ko, Po, Do, qo, Qo, ss, wt, ds, _a];
2550
+ function zt(e) {
2551
2551
  return !e || typeof e != "string" || !e.startsWith("M") ? null : "m-" + e.slice(1).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
2552
2552
  }
2553
2553
  const ha = [
2554
- { id: "global-message-container", component: St },
2555
- { id: "global-notification-container", component: Et }
2554
+ { id: "global-message-container", component: Mt },
2555
+ { id: "global-notification-container", component: Rt }
2556
2556
  ];
2557
2557
  function ba(n) {
2558
- return De(this, arguments, function* ({ id: e, component: t }) {
2558
+ return Ne(this, arguments, function* ({ id: e, component: t }) {
2559
2559
  try {
2560
2560
  if (document.getElementById(e)) return;
2561
2561
  const { createApp: o, h: a } = yield import("vue"), l = document.createElement("div");
@@ -2568,40 +2568,40 @@ function ba(n) {
2568
2568
  });
2569
2569
  }
2570
2570
  function ya() {
2571
- return De(this, null, function* () {
2571
+ return Ne(this, null, function* () {
2572
2572
  const e = ha.map(ba);
2573
2573
  yield Promise.all(e);
2574
2574
  });
2575
2575
  }
2576
- const g = {};
2576
+ const _ = {};
2577
2577
  function Ca(e) {
2578
- const t = Dt.map((n) => Ft(n == null ? void 0 : n.name)).filter(Boolean);
2578
+ const t = jt.map((n) => zt(n == null ? void 0 : n.name)).filter(Boolean);
2579
2579
  Object.entries(pt).forEach(([n, o]) => {
2580
2580
  if (o && o.name && typeof o.name == "string" && o.name.startsWith("El")) {
2581
2581
  const a = "m-" + o.name.slice(2).replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
2582
2582
  t.includes(a) || e._context.components[a] || e.component(a, o);
2583
2583
  const l = "M" + o.name.slice(2);
2584
- g[l] = o;
2584
+ _[l] = o;
2585
2585
  }
2586
2586
  });
2587
2587
  }
2588
2588
  const $a = (e) => {
2589
2589
  typeof window != "undefined" && Promise.resolve().then(() => Go).then(({ applyGlobalOverride: t, enableH5Override: n }) => {
2590
2590
  t(), n({ mode: "auto", breakpoint: 768 });
2591
- }), console.log("🚀 开始安装 @mc-markets/ui 组件库..."), Dt.forEach((t) => {
2592
- const n = Ft(t == null ? void 0 : t.name), o = t == null ? void 0 : t.name;
2591
+ }), console.log("🚀 开始安装 @mc-markets/ui 组件库..."), jt.forEach((t) => {
2592
+ const n = zt(t == null ? void 0 : t.name), o = t == null ? void 0 : t.name;
2593
2593
  n && e.component(n, t), o && e.component(o, t);
2594
2594
  }), Ca(e), typeof window != "undefined" && ya();
2595
- }, qa = { install: $a }, Za = pt.ElMessageBox, Xa = W({}, g), Ja = g.MButtonGroup, Qa = g.MCarousel, er = g.MCarouselItem, tr = g.MCascader, nr = g.MCascaderPanel, or = g.MCheckTag, sr = g.MCalendar, ar = g.MTimePicker, rr = g.MDateTimePicker, lr = g.MColorPicker, ir = g.MTransfer, cr = g.MTree, ur = g.MTreeSelect, dr = g.MUpload, fr = g.MImage, mr = g.MImageViewer, pr = g.MBacktop, vr = g.MInfiniteScroll, gr = g.MAffix, _r = g.MScrollbar, hr = g.MResult, br = g.MSkeleton, yr = g.MLoading, Cr = g.MSpinner, $r = g.MProgress, Sr = g.MBadge, Er = g.MAvatar, Mr = g.MImagePreview, Rr = g.MTeleport, wr = g.MConfigProvider;
2595
+ }, qa = { install: $a }, Za = pt.ElMessageBox, Xa = G({}, _), Ja = _.MButtonGroup, Qa = _.MCarousel, er = _.MCarouselItem, tr = _.MCascader, nr = _.MCascaderPanel, or = _.MCheckTag, sr = _.MCalendar, ar = _.MTimePicker, rr = _.MDateTimePicker, lr = _.MColorPicker, ir = _.MTransfer, cr = _.MTree, ur = _.MTreeSelect, dr = _.MUpload, fr = _.MImage, mr = _.MImageViewer, pr = _.MBacktop, vr = _.MInfiniteScroll, gr = _.MAffix, _r = _.MScrollbar, hr = _.MResult, br = _.MSkeleton, yr = _.MLoading, Cr = _.MSpinner, $r = _.MProgress, Sr = _.MBadge, Er = _.MAvatar, Mr = _.MImagePreview, Rr = _.MTeleport, wr = _.MConfigProvider;
2596
2596
  export {
2597
2597
  gr as MAffix,
2598
2598
  Xn as MAlert,
2599
2599
  Er as MAvatar,
2600
2600
  pr as MBacktop,
2601
2601
  Sr as MBadge,
2602
- No as MBanner,
2602
+ Do as MBanner,
2603
2603
  ds as MBreadcrumb,
2604
- On as MButton,
2604
+ Pn as MButton,
2605
2605
  Ja as MButtonGroup,
2606
2606
  sr as MCalendar,
2607
2607
  Qa as MCarousel,
@@ -2615,20 +2615,20 @@ export {
2615
2615
  rr as MDateTimePicker,
2616
2616
  Jn as MDialog,
2617
2617
  Oo as MEmpty,
2618
- xn as MForm,
2619
- Pn as MFormItem,
2618
+ An as MForm,
2619
+ Ln as MFormItem,
2620
2620
  ze as MIcon,
2621
2621
  fr as MImage,
2622
2622
  Mr as MImagePreview,
2623
2623
  mr as MImageViewer,
2624
2624
  vr as MInfiniteScroll,
2625
- kn as MInput,
2625
+ xn as MInput,
2626
2626
  yr as MLoading,
2627
- St as MMessage,
2627
+ Mt as MMessage,
2628
2628
  Za as MMessageBox,
2629
- Et as MNotifiMessage,
2629
+ Rt as MNotifiMessage,
2630
2630
  to as MNotification,
2631
- Dn as MOption,
2631
+ Nn as MOption,
2632
2632
  Fn as MOptionGroup,
2633
2633
  jn as MPagination,
2634
2634
  _a as MPicker,
@@ -2638,15 +2638,15 @@ export {
2638
2638
  Vn as MRadioGroup,
2639
2639
  hr as MResult,
2640
2640
  _r as MScrollbar,
2641
- Nn as MSelect,
2641
+ Dn as MSelect,
2642
2642
  br as MSkeleton,
2643
2643
  Cr as MSpinner,
2644
2644
  Wn as MSwitch,
2645
2645
  ss as MTabCard,
2646
- Mt as MTabCardItem,
2646
+ wt as MTabCardItem,
2647
2647
  Qo as MTabPane,
2648
2648
  ko as MTable,
2649
- xo as MTableColumn,
2649
+ Po as MTableColumn,
2650
2650
  qo as MTabs,
2651
2651
  Hn as MTag,
2652
2652
  Rr as MTeleport,
@@ -2658,8 +2658,8 @@ export {
2658
2658
  dr as MUpload,
2659
2659
  oo as Message,
2660
2660
  Ka as NotifiMessage,
2661
- Do as addComponentOverride,
2662
- we as addOverrideClass,
2661
+ No as addComponentOverride,
2662
+ Ie as addOverrideClass,
2663
2663
  Fo as applyGlobalOverride,
2664
2664
  Vo as createOverrideComponent,
2665
2665
  qa as default,