@deot/vc 1.0.57 → 1.0.59

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.
@@ -120,7 +120,6 @@
120
120
  const instance = vue.getCurrentInstance();
121
121
  const regex = new RegExp(`${componentName}$`);
122
122
  let parent = instance.parent;
123
- /* istanbul ignore next -- @preserve */
124
123
  while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
125
124
  parent = parent.parent || parent?.type?.parent;
126
125
  }
@@ -9079,37 +9078,43 @@
9079
9078
  if (!message || !target) return;
9080
9079
  message = `[@deot/vc - ${target}]: ${message}`;
9081
9080
  this.message = message;
9082
- /* istanbul ignore next -- @preserve */
9083
9081
  }
9084
9082
  }
9085
9083
  const VARIABLES = {};
9086
9084
  const nil = void 0;
9087
9085
  const defaults$2 = {
9088
- UploadPicker: {
9089
- enhancer: nil
9090
- },
9091
9086
  Editor: {
9092
9087
  options: nil,
9093
9088
  enhancer: nil
9094
9089
  },
9095
- Theme: {
9096
- variables: VARIABLES
9097
- },
9098
9090
  Portal: {
9099
9091
  install: nil
9100
9092
  },
9101
- Upload: {
9102
- onRequest: nil,
9103
- onResponse: nil,
9104
- onMessage: nil
9105
- },
9106
- TableColumn: {
9107
- line: nil
9093
+ RecycleList: {
9094
+ renderRefresh: nil,
9095
+ renderPlaceholder: nil,
9096
+ renderLoading: nil,
9097
+ renderComplete: nil,
9098
+ renderEmpty: nil
9108
9099
  },
9109
9100
  Snapshot: {
9110
9101
  options: nil,
9111
9102
  source: nil,
9112
9103
  download: nil
9104
+ },
9105
+ TableColumn: {
9106
+ line: nil
9107
+ },
9108
+ Theme: {
9109
+ variables: VARIABLES
9110
+ },
9111
+ Upload: {
9112
+ onRequest: nil,
9113
+ onResponse: nil,
9114
+ onMessage: nil
9115
+ },
9116
+ UploadPicker: {
9117
+ enhancer: nil
9113
9118
  }
9114
9119
  };
9115
9120
  class Instance {
@@ -9136,16 +9141,16 @@
9136
9141
  }
9137
9142
  }
9138
9143
  const VcInstance = new Instance();
9139
- const props$1t = {
9144
+ const props$1u = {
9140
9145
  tag: {
9141
9146
  type: String,
9142
9147
  default: "div"
9143
9148
  }
9144
9149
  };
9145
- const COMPONENT_NAME$29 = "vc-action-sheet";
9150
+ const COMPONENT_NAME$2a = "vc-action-sheet";
9146
9151
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
9147
- name: COMPONENT_NAME$29,
9148
- props: props$1t,
9152
+ name: COMPONENT_NAME$2a,
9153
+ props: props$1u,
9149
9154
  setup(props2, {
9150
9155
  slots
9151
9156
  }) {
@@ -9157,7 +9162,7 @@
9157
9162
  }
9158
9163
  });
9159
9164
  const MActionSheet = ActionSheet;
9160
- const props$1s = {
9165
+ const props$1t = {
9161
9166
  modelValue: {
9162
9167
  type: Boolean,
9163
9168
  default: false
@@ -9215,11 +9220,11 @@
9215
9220
  const isWheel = (el2) => {
9216
9221
  return SCROLLER_WHEEL_REG.test(el2?.className || "");
9217
9222
  };
9218
- const COMPONENT_NAME$28 = "vc-affix";
9223
+ const COMPONENT_NAME$29 = "vc-affix";
9219
9224
  const Affix = /* @__PURE__ */ vue.defineComponent({
9220
- name: COMPONENT_NAME$28,
9225
+ name: COMPONENT_NAME$29,
9221
9226
  emits: ["update:modelValue"],
9222
- props: props$1s,
9227
+ props: props$1t,
9223
9228
  setup(props2, {
9224
9229
  slots,
9225
9230
  expose,
@@ -9379,7 +9384,7 @@
9379
9384
  }
9380
9385
  });
9381
9386
  const MAffix = Affix;
9382
- const props$1r = {
9387
+ const props$1s = {
9383
9388
  modelValue: {
9384
9389
  type: Boolean,
9385
9390
  default: true
@@ -9405,7 +9410,7 @@
9405
9410
  default: false
9406
9411
  }
9407
9412
  };
9408
- const props$1q = {
9413
+ const props$1r = {
9409
9414
  type: String,
9410
9415
  inherit: {
9411
9416
  type: Boolean,
@@ -9442,7 +9447,6 @@
9442
9447
  const key = `${prefix}${url}`;
9443
9448
  const cache = window.localStorage.getItem(key);
9444
9449
  let icons = JSON.parse(cache || '""');
9445
- /* istanbul ignore next -- @preserve */
9446
9450
  if (!icons) {
9447
9451
  const data = await new Promise((resolve$) => {
9448
9452
  const request = new XMLHttpRequest();
@@ -9477,7 +9481,6 @@
9477
9481
  });
9478
9482
  resolve();
9479
9483
  } catch (e) {
9480
- /* istanbul ignore next -- @preserve */
9481
9484
  reject(new VcError("icon", e));
9482
9485
  }
9483
9486
  })();
@@ -9489,7 +9492,6 @@
9489
9492
  const icons = {};
9490
9493
  setTimeout(() => {
9491
9494
  try {
9492
- /* istanbul ignore next -- @preserve */
9493
9495
  IS_DEV && console.time(url);
9494
9496
  svgStr.replace(svgReg, "$1")?.match(symbolReg)?.forEach(
9495
9497
  (i) => i.replace(basicReg, (_, ...args) => {
@@ -9504,23 +9506,19 @@
9504
9506
  return "";
9505
9507
  })
9506
9508
  );
9507
- /* istanbul ignore next -- @preserve */
9508
9509
  IS_DEV && console.timeEnd(url);
9509
9510
  resolve(icons);
9510
9511
  } catch (e) {
9511
- /* istanbul ignore next -- @preserve */
9512
9512
  reject(new VcError("icon", e));
9513
9513
  }
9514
9514
  }, 0);
9515
9515
  });
9516
9516
  }
9517
9517
  on(type, fn) {
9518
- /* istanbul ignore next -- @preserve */
9519
9518
  if (typeof type !== "string" || typeof fn !== "function") return this;
9520
9519
  this.events[type] = this.events[type] || [];
9521
9520
  if (this.events[type].length >= 100) {
9522
9521
  delete this.events[type];
9523
- /* istanbul ignore else -- @preserve */
9524
9522
  if (!IS_SERVER) {
9525
9523
  throw new VcError("icon", `${type} nonexistent`);
9526
9524
  }
@@ -9529,7 +9527,6 @@
9529
9527
  return this;
9530
9528
  }
9531
9529
  off(type, fn) {
9532
- /* istanbul ignore next -- @preserve */
9533
9530
  if (typeof type !== "string" || typeof fn !== "function") return this;
9534
9531
  this.events[type] = this.events[type]?.filter((i) => i != fn);
9535
9532
  return this;
@@ -9546,10 +9543,10 @@
9546
9543
  }
9547
9544
  }
9548
9545
  const IconManager = new Manager();
9549
- const COMPONENT_NAME$27 = "vc-icon";
9546
+ const COMPONENT_NAME$28 = "vc-icon";
9550
9547
  const Icon = /* @__PURE__ */ vue.defineComponent({
9551
- name: COMPONENT_NAME$27,
9552
- props: props$1q,
9548
+ name: COMPONENT_NAME$28,
9549
+ props: props$1r,
9553
9550
  setup(props2) {
9554
9551
  const viewBox = vue.ref("0 0 1024 1024");
9555
9552
  const path = vue.ref([]);
@@ -9581,7 +9578,7 @@
9581
9578
  };
9582
9579
  }
9583
9580
  });
9584
- const props$1p = {
9581
+ const props$1q = {
9585
9582
  /**
9586
9583
  * 进入/离开持续时间
9587
9584
  * {enter: 300, leave: 300}
@@ -9744,10 +9741,10 @@
9744
9741
  }
9745
9742
  };
9746
9743
  };
9747
- const COMPONENT_NAME$26 = "vc-transition";
9744
+ const COMPONENT_NAME$27 = "vc-transition";
9748
9745
  const Transition = vue.defineComponent({
9749
- name: COMPONENT_NAME$26,
9750
- props: props$1p,
9746
+ name: COMPONENT_NAME$27,
9747
+ props: props$1q,
9751
9748
  // 当不声明emits的情况下,事件存在于attrs中
9752
9749
  inheritAttrs: false,
9753
9750
  setup(props2, { slots, attrs }) {
@@ -9766,10 +9763,10 @@
9766
9763
  };
9767
9764
  }
9768
9765
  });
9769
- const COMPONENT_NAME$25 = "vc-transition-collapse";
9766
+ const COMPONENT_NAME$26 = "vc-transition-collapse";
9770
9767
  const TransitionCollapse = vue.defineComponent({
9771
- name: COMPONENT_NAME$25,
9772
- props: props$1p,
9768
+ name: COMPONENT_NAME$26,
9769
+ props: props$1q,
9773
9770
  // 当不声明emits的情况下,事件存在于attrs中
9774
9771
  inheritAttrs: false,
9775
9772
  setup(props2, { slots, attrs: _attrs }) {
@@ -9786,7 +9783,6 @@
9786
9783
  const handleBeforeEnter = (el2) => {
9787
9784
  const duration = props2.duration.enter || props2.duration;
9788
9785
  el2.style.transition = getTransitionStyle(duration);
9789
- /* istanbul ignore next -- @preserve */
9790
9786
  if (!el2.dataset) {
9791
9787
  el2.dataset = {};
9792
9788
  }
@@ -9803,7 +9799,6 @@
9803
9799
  const next = createNext(done, duration);
9804
9800
  try {
9805
9801
  el2.dataset.oldOverflow = el2.style.overflow;
9806
- /* istanbul ignore next -- @preserve */
9807
9802
  if (el2.scrollHeight !== 0) {
9808
9803
  el2.style.height = el2.scrollHeight + "px";
9809
9804
  el2.style.paddingTop = el2.dataset.oldPaddingTop + "px";
@@ -9826,7 +9821,6 @@
9826
9821
  attrs.onAfterEnter?.(el2);
9827
9822
  };
9828
9823
  const handleBeforeLeave = (el2) => {
9829
- /* istanbul ignore next -- @preserve */
9830
9824
  if (!el2.dataset) {
9831
9825
  el2.dataset = {};
9832
9826
  }
@@ -9843,7 +9837,6 @@
9843
9837
  const next = createNext(done, duration);
9844
9838
  try {
9845
9839
  const leaveDuration = props2.duration.leave || props2.duration;
9846
- /* istanbul ignore next -- @preserve */
9847
9840
  if (el2.scrollHeight !== 0) {
9848
9841
  el2.style.transition = getTransitionStyle(leaveDuration);
9849
9842
  el2.style.height = "0px";
@@ -9886,11 +9879,11 @@
9886
9879
  };
9887
9880
  }
9888
9881
  });
9889
- const COMPONENT_NAME$24 = "vc-transition-fade";
9882
+ const COMPONENT_NAME$25 = "vc-transition-fade";
9890
9883
  const TransitionFade = vue.defineComponent({
9891
- name: COMPONENT_NAME$24,
9884
+ name: COMPONENT_NAME$25,
9892
9885
  props: {
9893
- ...props$1p,
9886
+ ...props$1q,
9894
9887
  // inheritAttrs必须是false
9895
9888
  style: {
9896
9889
  type: Object,
@@ -9922,11 +9915,11 @@
9922
9915
  };
9923
9916
  }
9924
9917
  });
9925
- const COMPONENT_NAME$23 = "vc-transition-scale";
9918
+ const COMPONENT_NAME$24 = "vc-transition-scale";
9926
9919
  const TransitionScale = vue.defineComponent({
9927
- name: COMPONENT_NAME$23,
9920
+ name: COMPONENT_NAME$24,
9928
9921
  props: {
9929
- ...props$1p,
9922
+ ...props$1q,
9930
9923
  mode: {
9931
9924
  type: String,
9932
9925
  default: "both",
@@ -9963,11 +9956,11 @@
9963
9956
  };
9964
9957
  }
9965
9958
  });
9966
- const COMPONENT_NAME$22 = "vc-transition-slide";
9959
+ const COMPONENT_NAME$23 = "vc-transition-slide";
9967
9960
  const TransitionSlide = vue.defineComponent({
9968
- name: COMPONENT_NAME$22,
9961
+ name: COMPONENT_NAME$23,
9969
9962
  props: {
9970
- ...props$1p,
9963
+ ...props$1q,
9971
9964
  mode: {
9972
9965
  type: String,
9973
9966
  default: "left",
@@ -10004,11 +9997,11 @@
10004
9997
  };
10005
9998
  }
10006
9999
  });
10007
- const COMPONENT_NAME$21 = "vc-transition-zoom";
10000
+ const COMPONENT_NAME$22 = "vc-transition-zoom";
10008
10001
  const TransitionZoom = vue.defineComponent({
10009
- name: COMPONENT_NAME$21,
10002
+ name: COMPONENT_NAME$22,
10010
10003
  props: {
10011
- ...props$1p,
10004
+ ...props$1q,
10012
10005
  mode: {
10013
10006
  type: String,
10014
10007
  default: "x",
@@ -10045,7 +10038,7 @@
10045
10038
  };
10046
10039
  }
10047
10040
  });
10048
- const COMPONENT_NAME$20 = "vc-alert";
10041
+ const COMPONENT_NAME$21 = "vc-alert";
10049
10042
  const THEME_MAP = {
10050
10043
  info: ["#456CF6", "#91d5ff", "#e6f7ff"],
10051
10044
  success: ["#52c41a", "#b7eb8f", "#f6ffed"],
@@ -10053,8 +10046,8 @@
10053
10046
  warning: ["#ffbf00", "#ffe58f", "#fffbe6"]
10054
10047
  };
10055
10048
  const Alert = /* @__PURE__ */ vue.defineComponent({
10056
- name: COMPONENT_NAME$20,
10057
- props: props$1r,
10049
+ name: COMPONENT_NAME$21,
10050
+ props: props$1s,
10058
10051
  setup(props2, {
10059
10052
  slots,
10060
10053
  emit
@@ -10140,7 +10133,7 @@
10140
10133
  }
10141
10134
  });
10142
10135
  const MAlert = Alert;
10143
- const props$1o = {
10136
+ const props$1p = {
10144
10137
  // canvas配置参数
10145
10138
  options: Object,
10146
10139
  width: {
@@ -10153,10 +10146,10 @@
10153
10146
  }
10154
10147
  };
10155
10148
  const isTouch = typeof document !== "undefined" && "ontouchend" in document;
10156
- const COMPONENT_NAME$1$ = "vc-artboard";
10149
+ const COMPONENT_NAME$20 = "vc-artboard";
10157
10150
  const Artboard = /* @__PURE__ */ vue.defineComponent({
10158
- name: COMPONENT_NAME$1$,
10159
- props: props$1o,
10151
+ name: COMPONENT_NAME$20,
10152
+ props: props$1p,
10160
10153
  setup(props2, {
10161
10154
  emit,
10162
10155
  expose
@@ -10331,7 +10324,7 @@
10331
10324
  }
10332
10325
  });
10333
10326
  const MArtboard = Artboard;
10334
- const props$1n = {
10327
+ const props$1o = {
10335
10328
  size: {
10336
10329
  type: Number,
10337
10330
  default: 28
@@ -10352,10 +10345,10 @@
10352
10345
  default: false
10353
10346
  }
10354
10347
  };
10355
- const COMPONENT_NAME$1_ = "vc-spin";
10348
+ const COMPONENT_NAME$1$ = "vc-spin";
10356
10349
  const Spin = /* @__PURE__ */ vue.defineComponent({
10357
- name: COMPONENT_NAME$1_,
10358
- props: props$1n,
10350
+ name: COMPONENT_NAME$1$,
10351
+ props: props$1o,
10359
10352
  setup(props2, {
10360
10353
  slots
10361
10354
  }) {
@@ -10388,7 +10381,7 @@
10388
10381
  };
10389
10382
  }
10390
10383
  });
10391
- const props$1m = {
10384
+ const props$1n = {
10392
10385
  wait: {
10393
10386
  type: Number,
10394
10387
  default: 250
@@ -10403,10 +10396,10 @@
10403
10396
  },
10404
10397
  exclude: RegExp
10405
10398
  };
10406
- const COMPONENT_NAME$1Z = "vc-debounce";
10399
+ const COMPONENT_NAME$1_ = "vc-debounce";
10407
10400
  const Debounce = vue.defineComponent({
10408
- name: COMPONENT_NAME$1Z,
10409
- props: props$1m,
10401
+ name: COMPONENT_NAME$1_,
10402
+ props: props$1n,
10410
10403
  /**
10411
10404
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
10412
10405
  * 如事件onClick
@@ -10421,7 +10414,6 @@
10421
10414
  () => {
10422
10415
  const { wait, exclude, include } = props2;
10423
10416
  const ons = Object.entries(attrs).reduce((pre, [key, callback]) => {
10424
- /* istanbul ignore else -- @preserve */
10425
10417
  if ((!exclude || !exclude.test(key)) && (!include || include.test(key)) && typeof callback === "function") {
10426
10418
  pre[key] = debounce(callback, wait, {
10427
10419
  leading: true,
@@ -10446,7 +10438,7 @@
10446
10438
  };
10447
10439
  }
10448
10440
  });
10449
- const props$1l = {
10441
+ const props$1m = {
10450
10442
  tag: {
10451
10443
  type: String,
10452
10444
  default: "button"
@@ -10475,11 +10467,11 @@
10475
10467
  default: "button"
10476
10468
  }
10477
10469
  };
10478
- const COMPONENT_NAME$1Y = "vc-button";
10470
+ const COMPONENT_NAME$1Z = "vc-button";
10479
10471
  const Button = /* @__PURE__ */ vue.defineComponent({
10480
- name: COMPONENT_NAME$1Y,
10472
+ name: COMPONENT_NAME$1Z,
10481
10473
  emits: ["click"],
10482
- props: props$1l,
10474
+ props: props$1m,
10483
10475
  setup(props2, {
10484
10476
  slots
10485
10477
  }) {
@@ -10539,7 +10531,7 @@
10539
10531
  };
10540
10532
  }
10541
10533
  });
10542
- const props$1k = {
10534
+ const props$1l = {
10543
10535
  vertical: {
10544
10536
  type: Boolean,
10545
10537
  default: false
@@ -10557,10 +10549,10 @@
10557
10549
  default: false
10558
10550
  }
10559
10551
  };
10560
- const COMPONENT_NAME$1X = "vc-button-group";
10552
+ const COMPONENT_NAME$1Y = "vc-button-group";
10561
10553
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
10562
- name: COMPONENT_NAME$1X,
10563
- props: props$1k,
10554
+ name: COMPONENT_NAME$1Y,
10555
+ props: props$1l,
10564
10556
  setup(props2, {
10565
10557
  slots
10566
10558
  }) {
@@ -10582,16 +10574,16 @@
10582
10574
  });
10583
10575
  const MButton = Button;
10584
10576
  const MButtonGroup = ButtonGroup;
10585
- const props$1j = {
10577
+ const props$1k = {
10586
10578
  tag: {
10587
10579
  type: String,
10588
10580
  default: "div"
10589
10581
  }
10590
10582
  };
10591
- const COMPONENT_NAME$1W = "vc-calendar";
10583
+ const COMPONENT_NAME$1X = "vc-calendar";
10592
10584
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
10593
- name: COMPONENT_NAME$1W,
10594
- props: props$1j,
10585
+ name: COMPONENT_NAME$1X,
10586
+ props: props$1k,
10595
10587
  setup(props2, {
10596
10588
  slots
10597
10589
  }) {
@@ -10603,7 +10595,7 @@
10603
10595
  }
10604
10596
  });
10605
10597
  const MCalendar = Calendar$1;
10606
- const props$1i = {
10598
+ const props$1j = {
10607
10599
  border: {
10608
10600
  type: Boolean,
10609
10601
  default: true
@@ -10623,10 +10615,10 @@
10623
10615
  type: String
10624
10616
  }
10625
10617
  };
10626
- const COMPONENT_NAME$1V = "vc-card";
10618
+ const COMPONENT_NAME$1W = "vc-card";
10627
10619
  const Card = /* @__PURE__ */ vue.defineComponent({
10628
- name: COMPONENT_NAME$1V,
10629
- props: props$1i,
10620
+ name: COMPONENT_NAME$1W,
10621
+ props: props$1j,
10630
10622
  setup(props2, {
10631
10623
  slots
10632
10624
  }) {
@@ -10650,16 +10642,16 @@
10650
10642
  }
10651
10643
  });
10652
10644
  const MCard = Card;
10653
- const props$1h = {
10645
+ const props$1i = {
10654
10646
  tag: {
10655
10647
  type: String,
10656
10648
  default: "div"
10657
10649
  }
10658
10650
  };
10659
- const COMPONENT_NAME$1U = "vc-carousel";
10651
+ const COMPONENT_NAME$1V = "vc-carousel";
10660
10652
  const Carousel = /* @__PURE__ */ vue.defineComponent({
10661
- name: COMPONENT_NAME$1U,
10662
- props: props$1h,
10653
+ name: COMPONENT_NAME$1V,
10654
+ props: props$1i,
10663
10655
  setup(props2, {
10664
10656
  slots
10665
10657
  }) {
@@ -10697,7 +10689,7 @@
10697
10689
  data
10698
10690
  });
10699
10691
  };
10700
- const props$1g = {
10692
+ const props$1h = {
10701
10693
  // Array, 作为select等数组存放临时值
10702
10694
  modelValue: [String, Number, Array],
10703
10695
  disabled: {
@@ -10943,12 +10935,12 @@
10943
10935
  expose?.(exposed);
10944
10936
  return exposed;
10945
10937
  };
10946
- const COMPONENT_NAME$1T = "vc-input";
10938
+ const COMPONENT_NAME$1U = "vc-input";
10947
10939
  const Input$1 = /* @__PURE__ */ vue.defineComponent({
10948
- name: COMPONENT_NAME$1T,
10940
+ name: COMPONENT_NAME$1U,
10949
10941
  inheritAttrs: false,
10950
10942
  props: {
10951
- ...props$1g,
10943
+ ...props$1h,
10952
10944
  indicator: {
10953
10945
  type: [Boolean, Object],
10954
10946
  default: false
@@ -11050,8 +11042,8 @@
11050
11042
  };
11051
11043
  }
11052
11044
  });
11053
- const props$1f = {
11054
- ...props$1g,
11045
+ const props$1g = {
11046
+ ...props$1h,
11055
11047
  min: {
11056
11048
  type: Number,
11057
11049
  default: 0
@@ -11276,10 +11268,10 @@
11276
11268
  handleStepper
11277
11269
  };
11278
11270
  };
11279
- const COMPONENT_NAME$1S = "vc-input-number";
11271
+ const COMPONENT_NAME$1T = "vc-input-number";
11280
11272
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
11281
- name: COMPONENT_NAME$1S,
11282
- props: props$1f,
11273
+ name: COMPONENT_NAME$1T,
11274
+ props: props$1g,
11283
11275
  inheritAttrs: false,
11284
11276
  setup(props2, {
11285
11277
  slots,
@@ -11331,17 +11323,17 @@
11331
11323
  };
11332
11324
  }
11333
11325
  });
11334
- const props$1e = {
11335
- ...props$1g,
11326
+ const props$1f = {
11327
+ ...props$1h,
11336
11328
  enterText: {
11337
11329
  type: [Boolean, String],
11338
11330
  default: true
11339
11331
  }
11340
11332
  };
11341
- const COMPONENT_NAME$1R = "vc-input-search";
11333
+ const COMPONENT_NAME$1S = "vc-input-search";
11342
11334
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
11343
- name: COMPONENT_NAME$1R,
11344
- props: props$1e,
11335
+ name: COMPONENT_NAME$1S,
11336
+ props: props$1f,
11345
11337
  inheritAttrs: false,
11346
11338
  setup(props2, {
11347
11339
  emit,
@@ -11372,7 +11364,7 @@
11372
11364
  };
11373
11365
  }
11374
11366
  });
11375
- const props$1d = {
11367
+ const props$1e = {
11376
11368
  modelValue: Boolean,
11377
11369
  animation: String,
11378
11370
  placement: {
@@ -11450,7 +11442,7 @@
11450
11442
  "autoWidth",
11451
11443
  "always"
11452
11444
  ];
11453
- const props$1c = {
11445
+ const props$1d = {
11454
11446
  trigger: {
11455
11447
  type: String,
11456
11448
  default: "hover",
@@ -11468,7 +11460,7 @@
11468
11460
  type: Boolean,
11469
11461
  default: true
11470
11462
  },
11471
- ...pick(props$1d, wrapperKeys)
11463
+ ...pick(props$1e, wrapperKeys)
11472
11464
  };
11473
11465
  const EXTRA_DISTANCE = 4;
11474
11466
  const HALF_ARROW = 12.73 / 2;
@@ -11722,16 +11714,16 @@
11722
11714
  getRect
11723
11715
  };
11724
11716
  };
11725
- const props$1b = {
11717
+ const props$1c = {
11726
11718
  render: {
11727
11719
  type: Function,
11728
11720
  default: () => null
11729
11721
  }
11730
11722
  };
11731
- const COMPONENT_NAME$1Q = "vc-customer";
11723
+ const COMPONENT_NAME$1R = "vc-customer";
11732
11724
  const Customer = vue.defineComponent({
11733
- name: COMPONENT_NAME$1Q,
11734
- props: props$1b,
11725
+ name: COMPONENT_NAME$1R,
11726
+ props: props$1c,
11735
11727
  setup(props2, context) {
11736
11728
  return () => vue.h(() => {
11737
11729
  return props2.render(context.attrs, context);
@@ -11803,7 +11795,7 @@
11803
11795
  return this.target.finally(callback);
11804
11796
  }
11805
11797
  }
11806
- const COMPONENT_NAME$1P = "vc-portal";
11798
+ const COMPONENT_NAME$1Q = "vc-portal";
11807
11799
  class Portal {
11808
11800
  /**
11809
11801
  * 清理Portals类型组件
@@ -11833,7 +11825,6 @@
11833
11825
  }
11834
11826
  }
11835
11827
  } catch (e) {
11836
- /* istanbul ignore next -- @preserve */
11837
11828
  throw new VcError("instance", e);
11838
11829
  }
11839
11830
  }
@@ -11844,7 +11835,6 @@
11844
11835
  try {
11845
11836
  Portal.leafs.forEach((leaf) => leaf.destroy());
11846
11837
  } catch (e) {
11847
- /* istanbul ignore next -- @preserve */
11848
11838
  throw new VcError("instance", e);
11849
11839
  }
11850
11840
  }
@@ -11855,7 +11845,7 @@
11855
11845
  this.wrapper = wrapper;
11856
11846
  this.globalOptions = {
11857
11847
  ...options,
11858
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1P)
11848
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1Q)
11859
11849
  };
11860
11850
  }
11861
11851
  popup(propsData, options) {
@@ -11917,7 +11907,6 @@
11917
11907
  return (...args) => {
11918
11908
  const done = () => {
11919
11909
  const leaf = getLeaf();
11920
- /* istanbul ignore next -- @preserve */
11921
11910
  if (!leaf) {
11922
11911
  throw new VcError("portal", "实例不存在或已卸载");
11923
11912
  }
@@ -11954,7 +11943,7 @@
11954
11943
  ...rest
11955
11944
  } = options;
11956
11945
  let useAllNodes = fragment;
11957
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1P)}` : name$;
11946
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1Q)}` : name$;
11958
11947
  const container = document.createElement(tag);
11959
11948
  const root = typeof el2 === "object" ? el2 : document.querySelector(el2 || "body");
11960
11949
  !alive && Portal.leafs.get(name)?.destroy();
@@ -11968,7 +11957,6 @@
11968
11957
  if (isDestroyed()) return;
11969
11958
  onDestroyed?.(...args);
11970
11959
  leaf.app?.unmount();
11971
- /* istanbul ignore else -- @preserve */
11972
11960
  if (useAllNodes) {
11973
11961
  root?.contains(container) && root.removeChild(container);
11974
11962
  } else if (container && container._children) {
@@ -11989,23 +11977,20 @@
11989
11977
  } else {
11990
11978
  const wrapper = this.wrapper;
11991
11979
  const app = vue.createApp({
11992
- name: COMPONENT_NAME$1P,
11980
+ name: COMPONENT_NAME$1Q,
11993
11981
  parent,
11994
11982
  setup() {
11995
11983
  if (alive) {
11996
11984
  const handleExtra = (e) => {
11997
11985
  try {
11998
11986
  const path = e.path || composedPath(e);
11999
- /* istanbul ignore else -- @preserve */
12000
11987
  if (container && e.target && !container.contains(e.target) && !path?.some((item) => utils.eleInRegExp(item, aliveRegExp))) {
12001
- /* istanbul ignore else -- @preserve */
12002
11988
  if (leaf.wrapper && leaf.wrapper?.[aliveVisibleKey]) {
12003
11989
  typeof leaf.wrapper[aliveVisibleKey] === "function" ? leaf.wrapper[aliveVisibleKey](false) : leaf.wrapper[aliveVisibleKey] = false;
12004
11990
  }
12005
11991
  leaveDelay ? setTimeout($onDestroyed, leaveDelay) : $onDestroyed();
12006
11992
  }
12007
11993
  } catch (error2) {
12008
- /* istanbul ignore next -- @preserve */
12009
11994
  throw new VcError("portal", error2);
12010
11995
  }
12011
11996
  };
@@ -12095,16 +12080,16 @@
12095
12080
  return leaf;
12096
12081
  }
12097
12082
  }
12098
- const props$1a = {
12083
+ const props$1b = {
12099
12084
  tag: {
12100
12085
  type: String,
12101
12086
  default: "div"
12102
12087
  }
12103
12088
  };
12104
- const COMPONENT_NAME$1O = "vc-portal-view";
12089
+ const COMPONENT_NAME$1P = "vc-portal-view";
12105
12090
  const PortalView = /* @__PURE__ */ vue.defineComponent({
12106
- name: COMPONENT_NAME$1O,
12107
- props: props$1a,
12091
+ name: COMPONENT_NAME$1P,
12092
+ props: props$1b,
12108
12093
  setup(props2, {
12109
12094
  slots
12110
12095
  }) {
@@ -12117,10 +12102,10 @@
12117
12102
  };
12118
12103
  }
12119
12104
  });
12120
- const COMPONENT_NAME$1N = "vc-popover-wrapper";
12105
+ const COMPONENT_NAME$1O = "vc-popover-wrapper";
12121
12106
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
12122
- name: COMPONENT_NAME$1N,
12123
- props: props$1d,
12107
+ name: COMPONENT_NAME$1O,
12108
+ props: props$1e,
12124
12109
  emits: ["portal-fulfilled", "close"],
12125
12110
  setup(props2, {
12126
12111
  emit,
@@ -12341,10 +12326,10 @@
12341
12326
  const PopoverPortal = new Portal(PopoverWrapper, {
12342
12327
  leaveDelay: 0
12343
12328
  });
12344
- const COMPONENT_NAME$1M = "vc-popover";
12329
+ const COMPONENT_NAME$1N = "vc-popover";
12345
12330
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
12346
- name: COMPONENT_NAME$1M,
12347
- props: props$1c,
12331
+ name: COMPONENT_NAME$1N,
12332
+ props: props$1d,
12348
12333
  emits: ["update:modelValue", "visible-change", "ready", "close"],
12349
12334
  setup(props2, {
12350
12335
  emit,
@@ -12471,9 +12456,9 @@
12471
12456
  const Popover = Object.assign(Popover$1, {
12472
12457
  open: PopoverPortal.popup.bind(PopoverPortal)
12473
12458
  });
12474
- const COMPONENT_NAME$1L = "vc-cascader-column";
12459
+ const COMPONENT_NAME$1M = "vc-cascader-column";
12475
12460
  const CascaderColumn = /* @__PURE__ */ vue.defineComponent({
12476
- name: COMPONENT_NAME$1L,
12461
+ name: COMPONENT_NAME$1M,
12477
12462
  emits: ["click", "change"],
12478
12463
  props: {
12479
12464
  data: {
@@ -12590,9 +12575,9 @@
12590
12575
  "portal",
12591
12576
  "portalClass"
12592
12577
  ];
12593
- const props$19 = {
12594
- ...pick(props$1c, popoverKeys$1),
12595
- ...pick(props$1g, inputKeys$2),
12578
+ const props$1a = {
12579
+ ...pick(props$1d, popoverKeys$1),
12580
+ ...pick(props$1h, inputKeys$2),
12596
12581
  renderOption: [Function],
12597
12582
  renderOptionGroup: [Function],
12598
12583
  data: {
@@ -12657,8 +12642,8 @@
12657
12642
  },
12658
12643
  label: String
12659
12644
  };
12660
- const props$18 = {
12661
- ...props$19,
12645
+ const props$19 = {
12646
+ ...props$1a,
12662
12647
  data: {
12663
12648
  type: Array,
12664
12649
  default: () => []
@@ -12676,11 +12661,11 @@
12676
12661
  default: true
12677
12662
  }
12678
12663
  };
12679
- const COMPONENT_NAME$1K = "vc-cascader";
12664
+ const COMPONENT_NAME$1L = "vc-cascader";
12680
12665
  const Cascader = /* @__PURE__ */ vue.defineComponent({
12681
- name: COMPONENT_NAME$1K,
12666
+ name: COMPONENT_NAME$1L,
12682
12667
  inheritAttrs: false,
12683
- props: props$18,
12668
+ props: props$19,
12684
12669
  emits: ["update:modelValue", "visible-change", "ready", "change", "close"],
12685
12670
  setup(props2, {
12686
12671
  emit,
@@ -12955,7 +12940,7 @@
12955
12940
  "globalout",
12956
12941
  "contextmenu"
12957
12942
  ];
12958
- const props$17 = {
12943
+ const props$18 = {
12959
12944
  options: Object,
12960
12945
  pluginOptions: Object,
12961
12946
  theme: [String, Object],
@@ -12967,14 +12952,15 @@
12967
12952
  watchShallow: Boolean,
12968
12953
  manualUpdate: Boolean
12969
12954
  };
12970
- const COMPONENT_NAME$1J = "vc-chart";
12955
+ const COMPONENT_NAME$1K = "vc-chart";
12971
12956
  const Chart = /* @__PURE__ */ vue.defineComponent({
12972
- name: COMPONENT_NAME$1J,
12973
- props: props$17,
12957
+ name: COMPONENT_NAME$1K,
12958
+ props: props$18,
12974
12959
  emits: [...EVENTS$1, "ready"],
12975
12960
  setup(props2, {
12976
12961
  emit,
12977
- slots
12962
+ slots,
12963
+ expose
12978
12964
  }) {
12979
12965
  const instance = vue.getCurrentInstance();
12980
12966
  const chart = vue.shallowRef(null);
@@ -13069,6 +13055,10 @@
13069
13055
  }
13070
13056
  });
13071
13057
  });
13058
+ expose({
13059
+ chart,
13060
+ refresh
13061
+ });
13072
13062
  vue.onUnmounted(destroy2);
13073
13063
  return () => {
13074
13064
  return vue.createVNode("div", {
@@ -13079,7 +13069,7 @@
13079
13069
  }
13080
13070
  });
13081
13071
  const MChart = Chart;
13082
- const props$16 = {
13072
+ const props$17 = {
13083
13073
  disabled: {
13084
13074
  type: Boolean,
13085
13075
  default: false
@@ -13191,10 +13181,10 @@
13191
13181
  computedLabel
13192
13182
  };
13193
13183
  };
13194
- const COMPONENT_NAME$1I = "vc-checkbox";
13184
+ const COMPONENT_NAME$1J = "vc-checkbox";
13195
13185
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
13196
- name: COMPONENT_NAME$1I,
13197
- props: props$16,
13186
+ name: COMPONENT_NAME$1J,
13187
+ props: props$17,
13198
13188
  emits: ["update:modelValue", "change"],
13199
13189
  setup(props2, {
13200
13190
  slots
@@ -13230,7 +13220,7 @@
13230
13220
  };
13231
13221
  }
13232
13222
  });
13233
- const props$15 = {
13223
+ const props$16 = {
13234
13224
  modelValue: {
13235
13225
  type: Array,
13236
13226
  default: () => []
@@ -13275,10 +13265,10 @@
13275
13265
  reset
13276
13266
  };
13277
13267
  };
13278
- const COMPONENT_NAME$1H = "vc-checkbox-group";
13268
+ const COMPONENT_NAME$1I = "vc-checkbox-group";
13279
13269
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
13280
- name: COMPONENT_NAME$1H,
13281
- props: props$15,
13270
+ name: COMPONENT_NAME$1I,
13271
+ props: props$16,
13282
13272
  emits: ["update:modelValue", "change"],
13283
13273
  setup(props2, {
13284
13274
  slots
@@ -13292,10 +13282,10 @@
13292
13282
  };
13293
13283
  }
13294
13284
  });
13295
- const COMPONENT_NAME$1G = "vcm-checkbox";
13285
+ const COMPONENT_NAME$1H = "vcm-checkbox";
13296
13286
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
13297
- name: COMPONENT_NAME$1G,
13298
- props: props$16,
13287
+ name: COMPONENT_NAME$1H,
13288
+ props: props$17,
13299
13289
  emits: ["update:modelValue", "change"],
13300
13290
  setup(props2, {
13301
13291
  slots
@@ -13331,10 +13321,10 @@
13331
13321
  };
13332
13322
  }
13333
13323
  });
13334
- const COMPONENT_NAME$1F = "vcm-checkbox-group";
13324
+ const COMPONENT_NAME$1G = "vcm-checkbox-group";
13335
13325
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
13336
- name: COMPONENT_NAME$1F,
13337
- props: props$15,
13326
+ name: COMPONENT_NAME$1G,
13327
+ props: props$16,
13338
13328
  emits: ["update:modelValue", "change"],
13339
13329
  setup(props2, {
13340
13330
  slots
@@ -13348,7 +13338,7 @@
13348
13338
  };
13349
13339
  }
13350
13340
  });
13351
- const props$14 = {
13341
+ const props$15 = {
13352
13342
  content: [String, Function],
13353
13343
  mask: {
13354
13344
  type: Boolean,
@@ -13383,11 +13373,11 @@
13383
13373
  // 这个相当于Modal中的onCancel,支持Promise
13384
13374
  onBeforeClose: Function
13385
13375
  };
13386
- const COMPONENT_NAME$1E = "vc-message";
13376
+ const COMPONENT_NAME$1F = "vc-message";
13387
13377
  const MessageView = /* @__PURE__ */ vue.defineComponent({
13388
- name: COMPONENT_NAME$1E,
13378
+ name: COMPONENT_NAME$1F,
13389
13379
  emits: ["before-close", "close", "portal-fulfilled"],
13390
- props: props$14,
13380
+ props: props$15,
13391
13381
  setup(props2, {
13392
13382
  emit,
13393
13383
  expose
@@ -13514,7 +13504,7 @@
13514
13504
  const warning$3 = create$4({ mode: "warning" });
13515
13505
  const error$3 = create$4({ mode: "error" });
13516
13506
  const Message = Object.assign(MessageView, { destroy: destroy$5, info: info$3, success: success$3, loading: loading$1, warning: warning$3, error: error$3 });
13517
- const props$13 = {
13507
+ const props$14 = {
13518
13508
  value: String,
13519
13509
  tag: {
13520
13510
  type: [String, Object, Function],
@@ -13628,16 +13618,16 @@
13628
13618
  };
13629
13619
  return () => vue.h(props2.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
13630
13620
  };
13631
- const COMPONENT_NAME$1D = "vc-clipboard";
13621
+ const COMPONENT_NAME$1E = "vc-clipboard";
13632
13622
  const Clipboard$1 = vue.defineComponent({
13633
- name: COMPONENT_NAME$1D,
13634
- props: props$13,
13623
+ name: COMPONENT_NAME$1E,
13624
+ props: props$14,
13635
13625
  setup() {
13636
13626
  return useClipboard((content) => Message.success({ content }));
13637
13627
  }
13638
13628
  });
13639
13629
  const Clipboard$2 = Object.assign(Clipboard$1, group);
13640
- const props$12 = {
13630
+ const props$13 = {
13641
13631
  content: [String, Function],
13642
13632
  maskClosable: {
13643
13633
  type: Boolean,
@@ -13662,11 +13652,11 @@
13662
13652
  const MTransitionScale = TransitionScale;
13663
13653
  const MTransitionSlide = TransitionSlide;
13664
13654
  const MTransitionZoom = TransitionZoom;
13665
- const COMPONENT_NAME$1C = "vcm-toast";
13655
+ const COMPONENT_NAME$1D = "vcm-toast";
13666
13656
  const MToastView = /* @__PURE__ */ vue.defineComponent({
13667
- name: COMPONENT_NAME$1C,
13657
+ name: COMPONENT_NAME$1D,
13668
13658
  emits: ["close", "portal-fulfilled"],
13669
- props: props$12,
13659
+ props: props$13,
13670
13660
  setup(props2, {
13671
13661
  emit,
13672
13662
  expose
@@ -13763,16 +13753,16 @@
13763
13753
  const warning$2 = create$3({ mode: "warning" });
13764
13754
  const error$2 = create$3({ mode: "error" });
13765
13755
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
13766
- const COMPONENT_NAME$1B = "vcm-clipboard";
13756
+ const COMPONENT_NAME$1C = "vcm-clipboard";
13767
13757
  const MClipboard$1 = vue.defineComponent({
13768
- name: COMPONENT_NAME$1B,
13769
- props: props$13,
13758
+ name: COMPONENT_NAME$1C,
13759
+ props: props$14,
13770
13760
  setup() {
13771
13761
  return useClipboard((content) => MToast.info({ content }));
13772
13762
  }
13773
13763
  });
13774
13764
  const MClipboard = Object.assign(MClipboard$1, group);
13775
- const props$11 = {
13765
+ const props$12 = {
13776
13766
  tag: {
13777
13767
  type: String,
13778
13768
  default: "div"
@@ -13794,10 +13784,10 @@
13794
13784
  default: false
13795
13785
  }
13796
13786
  };
13797
- const COMPONENT_NAME$1A = "vc-collapse";
13787
+ const COMPONENT_NAME$1B = "vc-collapse";
13798
13788
  const Collapse = vue.defineComponent({
13799
- name: COMPONENT_NAME$1A,
13800
- props: props$11,
13789
+ name: COMPONENT_NAME$1B,
13790
+ props: props$12,
13801
13791
  emits: ["update:moodelValue", "change"],
13802
13792
  setup(props2, { slots, emit }) {
13803
13793
  const instance = vue.getCurrentInstance();
@@ -13881,7 +13871,7 @@
13881
13871
  };
13882
13872
  }
13883
13873
  });
13884
- const props$10 = {
13874
+ const props$11 = {
13885
13875
  tag: {
13886
13876
  type: String,
13887
13877
  default: "div"
@@ -13890,7 +13880,7 @@
13890
13880
  type: [String, Number]
13891
13881
  }
13892
13882
  };
13893
- const props$$ = {
13883
+ const props$10 = {
13894
13884
  tag: {
13895
13885
  type: String,
13896
13886
  default: "div"
@@ -13905,13 +13895,13 @@
13905
13895
  default: true
13906
13896
  }
13907
13897
  };
13908
- function _isSlot$2(s) {
13898
+ function _isSlot$3(s) {
13909
13899
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
13910
13900
  }
13911
- const COMPONENT_NAME$1z = "vc-expand";
13901
+ const COMPONENT_NAME$1A = "vc-expand";
13912
13902
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
13913
- name: COMPONENT_NAME$1z,
13914
- props: props$$,
13903
+ name: COMPONENT_NAME$1A,
13904
+ props: props$10,
13915
13905
  setup(props2, {
13916
13906
  slots
13917
13907
  }) {
@@ -13929,7 +13919,7 @@
13929
13919
  enter: 200,
13930
13920
  leave: 200
13931
13921
  }
13932
- }, _isSlot$2(_slot = vue.withDirectives(vue.createVNode(Content, null, {
13922
+ }, _isSlot$3(_slot = vue.withDirectives(vue.createVNode(Content, null, {
13933
13923
  default: () => [(props2.alive || !props2.alive && isActive.value) && slots.default?.()]
13934
13924
  }), [[vue.vShow, isActive.value]])) ? _slot : {
13935
13925
  default: () => [_slot]
@@ -13937,10 +13927,10 @@
13937
13927
  };
13938
13928
  }
13939
13929
  });
13940
- const COMPONENT_NAME$1y = "vc-collapse-item";
13930
+ const COMPONENT_NAME$1z = "vc-collapse-item";
13941
13931
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
13942
- name: COMPONENT_NAME$1y,
13943
- props: props$10,
13932
+ name: COMPONENT_NAME$1z,
13933
+ props: props$11,
13944
13934
  setup(props2, {
13945
13935
  slots,
13946
13936
  expose
@@ -14003,16 +13993,16 @@
14003
13993
  });
14004
13994
  const MCollapse = Collapse;
14005
13995
  const MCollapseItem = CollapseItem;
14006
- const props$_ = {
13996
+ const props$$ = {
14007
13997
  tag: {
14008
13998
  type: String,
14009
13999
  default: "div"
14010
14000
  }
14011
14001
  };
14012
- const COMPONENT_NAME$1x = "vc-color-picker";
14002
+ const COMPONENT_NAME$1y = "vc-color-picker";
14013
14003
  const ColorPicker$1 = /* @__PURE__ */ vue.defineComponent({
14014
- name: COMPONENT_NAME$1x,
14015
- props: props$_,
14004
+ name: COMPONENT_NAME$1y,
14005
+ props: props$$,
14016
14006
  setup(props2, {
14017
14007
  slots
14018
14008
  }) {
@@ -14024,7 +14014,7 @@
14024
14014
  }
14025
14015
  });
14026
14016
  const MColorPicker = ColorPicker$1;
14027
- const props$Z = {
14017
+ const props$_ = {
14028
14018
  tag: {
14029
14019
  type: String,
14030
14020
  default: "span"
@@ -14065,14 +14055,14 @@
14065
14055
  const formatter = (format, arr) => {
14066
14056
  return format.replace("DD", arr[0]).replace("HH", arr[1]).replace("mm", arr[2]).replace("ss", arr[3]).replace("SSS", arr[4]);
14067
14057
  };
14068
- function _isSlot$1(s) {
14058
+ function _isSlot$2(s) {
14069
14059
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
14070
14060
  }
14071
- const COMPONENT_NAME$1w = "vc-countdown";
14061
+ const COMPONENT_NAME$1x = "vc-countdown";
14072
14062
  const Countdown = /* @__PURE__ */ vue.defineComponent({
14073
- name: COMPONENT_NAME$1w,
14074
- props: props$Z,
14075
- emits: ["change", "finish", "error"],
14063
+ name: COMPONENT_NAME$1x,
14064
+ props: props$_,
14065
+ emits: ["change", "complete", "error"],
14076
14066
  setup(props2, {
14077
14067
  emit,
14078
14068
  slots
@@ -14155,7 +14145,7 @@
14155
14145
  second: "00",
14156
14146
  millisecond: "00"
14157
14147
  });
14158
- emit("finish");
14148
+ emit("complete");
14159
14149
  } else {
14160
14150
  emit("change", {
14161
14151
  timestamp,
@@ -14194,7 +14184,7 @@
14194
14184
  // @ts-ignore
14195
14185
  vue.createVNode(Content, {
14196
14186
  "class": "vc-countdown"
14197
- }, _isSlot$1(_slot = slots.default(binds.value)) ? _slot : {
14187
+ }, _isSlot$2(_slot = slots.default(binds.value)) ? _slot : {
14198
14188
  default: () => [_slot]
14199
14189
  })
14200
14190
  );
@@ -14216,6 +14206,339 @@
14216
14206
  }
14217
14207
  });
14218
14208
  const MCountdown = Countdown;
14209
+ const props$Z = {
14210
+ tag: {
14211
+ type: String,
14212
+ default: "span"
14213
+ },
14214
+ value: [Number, String],
14215
+ placeholder: String,
14216
+ precision: {
14217
+ type: Number,
14218
+ default: 0
14219
+ },
14220
+ duration: {
14221
+ type: Number,
14222
+ default: 500
14223
+ },
14224
+ decimal: {
14225
+ type: String,
14226
+ default: "."
14227
+ },
14228
+ separator: {
14229
+ type: String,
14230
+ default: ","
14231
+ },
14232
+ numerals: {
14233
+ type: Array,
14234
+ default: () => []
14235
+ },
14236
+ smartEasingThreshold: {
14237
+ type: Number,
14238
+ default: 999
14239
+ },
14240
+ smartEasingAmount: {
14241
+ type: Number,
14242
+ default: 333
14243
+ },
14244
+ easing: {
14245
+ type: [Function, Boolean],
14246
+ default: true
14247
+ },
14248
+ // 10.90 -> 10.9
14249
+ zeroless: {
14250
+ type: Boolean,
14251
+ default: false
14252
+ },
14253
+ // 为true时,自行管理start/update
14254
+ controllable: {
14255
+ type: Boolean,
14256
+ default: false
14257
+ },
14258
+ render: Function
14259
+ };
14260
+ const separated2value = (value, options) => {
14261
+ if (typeof value === "number" || typeof value !== "string") return value;
14262
+ const escapeRegExp = (s) => s.replace(/([.,' ])/g, "\\$1");
14263
+ const sep = escapeRegExp(options.separator);
14264
+ const dec = escapeRegExp(options.decimal);
14265
+ const num = (value || "").replace(new RegExp(sep, "g"), "").replace(new RegExp(dec, "g"), ".");
14266
+ return parseFloat(num);
14267
+ };
14268
+ const value2separated = (value, options) => {
14269
+ const num = typeof value === "number" ? value : parseFloat(value);
14270
+ if (value === "" || Number.isNaN(num)) {
14271
+ return {
14272
+ negative: "",
14273
+ integer: "",
14274
+ decimal: "",
14275
+ separated: "",
14276
+ float: "",
14277
+ value: ""
14278
+ };
14279
+ }
14280
+ const negative = num < 0 ? "-" : "";
14281
+ let [integer, decimal = ""] = `${Math.abs(num)}`.split(".");
14282
+ let separated = integer;
14283
+ if (options.separator) {
14284
+ let v = "";
14285
+ let j = 0;
14286
+ const factor = 3;
14287
+ for (let i = 0, len = separated.length; i < len; ++i) {
14288
+ if (i !== 0 && j % factor === 0) {
14289
+ v = options.separator + v;
14290
+ }
14291
+ j++;
14292
+ v = separated[len - i - 1] + v;
14293
+ }
14294
+ separated = v;
14295
+ }
14296
+ const precision$ = options.zeroless ? Math.min(options.precision, decimal.length) : options.precision;
14297
+ if (precision$) {
14298
+ decimal = decimal.slice(0, precision$).padEnd(precision$, "0");
14299
+ } else {
14300
+ decimal = "";
14301
+ }
14302
+ if (options?.numerals?.length) {
14303
+ separated = separated.replace(/[0-9]/g, (w) => options.numerals[+w]);
14304
+ decimal = decimal.replace(/[0-9]/g, (w) => options.numerals[+w]);
14305
+ }
14306
+ const _decimal = decimal ? options.decimal + decimal : "";
14307
+ return {
14308
+ negative,
14309
+ integer,
14310
+ decimal,
14311
+ separated,
14312
+ float: `${negative}${integer}${_decimal}`,
14313
+ value: `${negative}${separated}${_decimal}`
14314
+ };
14315
+ };
14316
+ function _isSlot$1(s) {
14317
+ return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
14318
+ }
14319
+ const COMPONENT_NAME$1w = "vc-counter";
14320
+ const Counter = /* @__PURE__ */ vue.defineComponent({
14321
+ name: COMPONENT_NAME$1w,
14322
+ props: props$Z,
14323
+ emits: ["begin", "complete", "change"],
14324
+ setup(props2, {
14325
+ emit,
14326
+ expose,
14327
+ slots
14328
+ }) {
14329
+ const startTime = vue.ref(null);
14330
+ const duration = vue.ref(props2.duration);
14331
+ const remaining = vue.ref(duration.value);
14332
+ const startVal = vue.ref(0);
14333
+ const endVal = vue.ref(separated2value(props2.value, props2));
14334
+ const frameVal = vue.ref(startVal.value);
14335
+ const finalEndVal = vue.ref(null);
14336
+ const useEasing = vue.ref(!!props2.easing);
14337
+ const isStart = vue.ref(false);
14338
+ const isPaused = vue.ref(false);
14339
+ const isComplete = vue.ref(false);
14340
+ const countdown = vue.ref(false);
14341
+ const rAF = vue.ref(null);
14342
+ const prints = vue.reactive({
14343
+ negative: "",
14344
+ integer: "",
14345
+ decimal: "",
14346
+ separated: "",
14347
+ float: "",
14348
+ value: ""
14349
+ });
14350
+ const easing = vue.computed(() => {
14351
+ return typeof props2.easing === "function" ? props2.easing : (t, b, c, d) => c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
14352
+ });
14353
+ const displayValue = vue.computed(() => {
14354
+ if (props2.value === "" || typeof props2.value !== "string" && typeof props2.value !== "number") {
14355
+ return props2.placeholder;
14356
+ }
14357
+ return prints.value;
14358
+ });
14359
+ const binds = vue.computed(() => {
14360
+ return {
14361
+ ...prints,
14362
+ value: displayValue.value
14363
+ };
14364
+ });
14365
+ const determineDirectionAndSmartEasing = () => {
14366
+ const v = finalEndVal.value !== null ? finalEndVal.value : endVal.value;
14367
+ countdown.value = startVal.value > v;
14368
+ const animateAmount = v - startVal.value;
14369
+ if (Math.abs(animateAmount) > props2.smartEasingThreshold && props2.easing) {
14370
+ finalEndVal.value = v;
14371
+ const up = countdown.value ? 1 : -1;
14372
+ endVal.value = v + up * props2.smartEasingAmount;
14373
+ duration.value = duration.value / 2;
14374
+ } else {
14375
+ endVal.value = v;
14376
+ finalEndVal.value = null;
14377
+ }
14378
+ if (finalEndVal.value !== null) {
14379
+ useEasing.value = false;
14380
+ } else {
14381
+ useEasing.value = !!props2.easing;
14382
+ }
14383
+ };
14384
+ const run = () => {
14385
+ const done = (timestamp) => {
14386
+ if (!startTime.value) {
14387
+ startTime.value = timestamp;
14388
+ }
14389
+ const progress = timestamp - startTime.value;
14390
+ remaining.value = duration.value - progress;
14391
+ if (useEasing.value) {
14392
+ if (countdown.value) {
14393
+ frameVal.value = startVal.value - easing.value(progress, 0, startVal.value - endVal.value, duration.value);
14394
+ } else {
14395
+ frameVal.value = easing.value(progress, startVal.value, endVal.value - startVal.value, duration.value);
14396
+ }
14397
+ } else {
14398
+ frameVal.value = startVal.value + (endVal.value - startVal.value) * (progress / duration.value);
14399
+ }
14400
+ const wentPast = countdown.value ? frameVal.value < endVal.value : frameVal.value > endVal.value;
14401
+ frameVal.value = wentPast ? endVal.value : frameVal.value;
14402
+ print(frameVal.value);
14403
+ if (progress < duration.value) {
14404
+ rAF.value = requestAnimationFrame(done);
14405
+ } else if (finalEndVal.value !== null) {
14406
+ update(finalEndVal.value);
14407
+ } else {
14408
+ emit("complete");
14409
+ isComplete.value = true;
14410
+ }
14411
+ };
14412
+ determineDirectionAndSmartEasing();
14413
+ rAF.value = requestAnimationFrame(done);
14414
+ };
14415
+ const print = (num) => {
14416
+ Object.assign(prints, value2separated(num, props2));
14417
+ emit("change", prints);
14418
+ };
14419
+ const resetDuration = () => {
14420
+ startTime.value = null;
14421
+ duration.value = props2.duration;
14422
+ remaining.value = duration.value;
14423
+ };
14424
+ const cancel = () => {
14425
+ if (rAF.value === null || typeof rAF.value === "undefined") return;
14426
+ cancelAnimationFrame(rAF.value);
14427
+ };
14428
+ const start = () => {
14429
+ if (isComplete.value || isStart.value) return;
14430
+ cancel();
14431
+ resetDuration();
14432
+ isPaused.value = false;
14433
+ isComplete.value = false;
14434
+ startVal.value = 0;
14435
+ frameVal.value = 0;
14436
+ isStart.value = true;
14437
+ emit("begin");
14438
+ if (duration.value > 0) {
14439
+ run();
14440
+ } else {
14441
+ print(endVal.value);
14442
+ }
14443
+ };
14444
+ const pause = () => {
14445
+ if (isComplete.value) return;
14446
+ if (!isPaused.value) {
14447
+ cancel();
14448
+ }
14449
+ isPaused.value = true;
14450
+ };
14451
+ const resume = () => {
14452
+ if (isComplete.value) return;
14453
+ if (isPaused.value) {
14454
+ startTime.value = null;
14455
+ duration.value = remaining.value;
14456
+ startVal.value = frameVal.value;
14457
+ run();
14458
+ }
14459
+ isPaused.value = false;
14460
+ };
14461
+ const update = (newEndVal) => {
14462
+ if (!isStart.value) return;
14463
+ cancel();
14464
+ startTime.value = null;
14465
+ endVal.value = +newEndVal;
14466
+ if (endVal.value === frameVal.value) {
14467
+ return;
14468
+ }
14469
+ startVal.value = frameVal.value;
14470
+ if (finalEndVal.value === null) {
14471
+ resetDuration();
14472
+ }
14473
+ finalEndVal.value = null;
14474
+ run();
14475
+ };
14476
+ const end = () => {
14477
+ if (isComplete.value) return;
14478
+ cancel();
14479
+ resetDuration();
14480
+ startVal.value = +props2.value;
14481
+ frameVal.value = startVal.value;
14482
+ print(frameVal.value);
14483
+ emit("complete");
14484
+ isComplete.value = true;
14485
+ };
14486
+ const restart = () => {
14487
+ isStart.value = false;
14488
+ isComplete.value = false;
14489
+ start();
14490
+ };
14491
+ vue.watch(() => props2.value, () => {
14492
+ if (props2.controllable || !isStart.value) return;
14493
+ update(props2.value);
14494
+ });
14495
+ vue.watch(() => props2.precision, () => {
14496
+ if (props2.controllable || !isStart.value || !isComplete.value) return;
14497
+ print(+props2.value);
14498
+ });
14499
+ expose({
14500
+ start,
14501
+ pause,
14502
+ resume,
14503
+ update,
14504
+ end,
14505
+ restart,
14506
+ cancel,
14507
+ print
14508
+ });
14509
+ vue.onMounted(() => !props2.controllable && start());
14510
+ vue.onBeforeUnmount(cancel);
14511
+ const Content = props2.tag;
14512
+ return () => {
14513
+ if (slots.default) {
14514
+ let _slot;
14515
+ return (
14516
+ // @ts-ignore
14517
+ vue.createVNode(Content, {
14518
+ "class": "vc-counter"
14519
+ }, _isSlot$1(_slot = slots.default(binds.value)) ? _slot : {
14520
+ default: () => [_slot]
14521
+ })
14522
+ );
14523
+ }
14524
+ if (props2.render) {
14525
+ return vue.createVNode(Customer, vue.mergeProps({
14526
+ "class": "vc-counter",
14527
+ "render": props2.render
14528
+ }, binds.value), null);
14529
+ }
14530
+ return (
14531
+ // @ts-ignore
14532
+ vue.createVNode(Content, {
14533
+ "class": "vc-counter"
14534
+ }, {
14535
+ default: () => [displayValue.value]
14536
+ })
14537
+ );
14538
+ };
14539
+ }
14540
+ });
14541
+ const MCounter = Counter;
14219
14542
  const props$Y = {
14220
14543
  type: {
14221
14544
  type: String,
@@ -14238,8 +14561,8 @@
14238
14561
  "portalClass"
14239
14562
  ];
14240
14563
  const props$X = {
14241
- ...pick(props$1c, popoverKeys),
14242
- ...pick(props$1g, inputKeys$1),
14564
+ ...pick(props$1d, popoverKeys),
14565
+ ...pick(props$1h, inputKeys$1),
14243
14566
  type: String,
14244
14567
  placeholder: String,
14245
14568
  clearable: {
@@ -18544,7 +18867,7 @@
18544
18867
  }) {
18545
18868
  const owner = getInstance$1("dropdown", "dropdownId");
18546
18869
  const currentValue = vue.computed(() => {
18547
- const v = typeof props2.value === "undefined" || props2.value === "" ? props2.label : props2.value;
18870
+ const v = typeof props2.value === "undefined" ? props2.label : props2.value;
18548
18871
  return v;
18549
18872
  });
18550
18873
  const classes = vue.computed(() => {
@@ -20979,7 +21302,7 @@
20979
21302
  name: COMPONENT_NAME$V,
20980
21303
  inheritAttrs: false,
20981
21304
  props: {
20982
- ...props$1g,
21305
+ ...props$1h,
20983
21306
  right: {
20984
21307
  type: Boolean,
20985
21308
  default: false
@@ -21066,7 +21389,7 @@
21066
21389
  const COMPONENT_NAME$U = "vcm-input-number";
21067
21390
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
21068
21391
  name: COMPONENT_NAME$U,
21069
- props: props$1f,
21392
+ props: props$1g,
21070
21393
  inheritAttrs: false,
21071
21394
  setup(props2, {
21072
21395
  slots,
@@ -21115,7 +21438,7 @@
21115
21438
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
21116
21439
  name: COMPONENT_NAME$T,
21117
21440
  props: {
21118
- ...props$1e,
21441
+ ...props$1f,
21119
21442
  cancelText: {
21120
21443
  type: String,
21121
21444
  default: "取消"
@@ -21388,7 +21711,7 @@
21388
21711
  default: "div"
21389
21712
  },
21390
21713
  fill: {
21391
- type: Boolean,
21714
+ type: [Boolean, Array],
21392
21715
  default: true
21393
21716
  }
21394
21717
  };
@@ -21401,6 +21724,13 @@
21401
21724
  const width = vue.ref(0);
21402
21725
  const height = vue.ref(0);
21403
21726
  const current = vue.ref();
21727
+ const classes = vue.computed(() => {
21728
+ const v = Array.isArray(props2.fill) ? props2.fill : [props2.fill, props2.fill];
21729
+ return {
21730
+ "is-fill-width": v[0],
21731
+ "is-fill-height": v[1]
21732
+ };
21733
+ });
21404
21734
  const currentExposed = vue.computed(() => {
21405
21735
  return {
21406
21736
  height: height.value,
@@ -21451,7 +21781,7 @@
21451
21781
  props2.tag,
21452
21782
  {
21453
21783
  ref: current,
21454
- class: ["vc-resizer", { "is-fill": props2.fill }]
21784
+ class: ["vc-resizer", classes.value]
21455
21785
  },
21456
21786
  slots.default?.(currentExposed.value)
21457
21787
  );
@@ -22574,7 +22904,7 @@
22574
22904
  const COMPONENT_NAME$H = "vc-select";
22575
22905
  const Select = /* @__PURE__ */ vue.defineComponent({
22576
22906
  name: COMPONENT_NAME$H,
22577
- props: props$19,
22907
+ props: props$1a,
22578
22908
  emits: ["ready", "close", "visible-change", "clear", "change", "update:modelValue"],
22579
22909
  setup(props2, {
22580
22910
  emit,
@@ -24187,7 +24517,7 @@
24187
24517
  },
24188
24518
  scrollerOptions: Object,
24189
24519
  renderEmpty: Function,
24190
- renderFinish: Function,
24520
+ renderComplete: Function,
24191
24521
  renderLoading: Function,
24192
24522
  renderPlaceholder: Function,
24193
24523
  renderRefresh: Function
@@ -24218,9 +24548,9 @@
24218
24548
  }, [vue.createVNode(Spin, {
24219
24549
  "size": 20
24220
24550
  }, null)]))]), owner.isEnd.value && (owner.data.length ? vue.createVNode("div", {
24221
- "class": "vc-recycle-list__finish"
24222
- }, [slots.finish?.() || owner.renderer.value.finish ? vue.createVNode(Customer, {
24223
- "render": owner.renderer.value.finish
24551
+ "class": "vc-recycle-list__complete"
24552
+ }, [slots.complete?.() || owner.renderer.value.complete ? vue.createVNode(Customer, {
24553
+ "render": owner.renderer.value.complete
24224
24554
  }, null) : vue.createVNode("div", {
24225
24555
  "class": "vc-recycle-list__center"
24226
24556
  }, [vue.createTextVNode("已全部加载~")])]) : vue.createVNode("div", {
@@ -24489,7 +24819,7 @@
24489
24819
  refresh: props2.renderRefresh || globalProps.renderRefresh,
24490
24820
  placeholder: props2.renderPlaceholder || globalProps.renderPlaceholder,
24491
24821
  loading: props2.renderLoading || globalProps.renderLoading,
24492
- finish: props2.renderFinish || globalProps.renderFinish,
24822
+ complete: props2.renderComplete || globalProps.renderComplete,
24493
24823
  empty: props2.renderEmpty || globalProps.renderEmpty
24494
24824
  };
24495
24825
  });
@@ -24547,19 +24877,17 @@
24547
24877
  const refreshItemSize = (index) => {
24548
24878
  const current = props2.inverted ? rebuildData.value[rebuildDataIndexMap.value[index]] : rebuildData.value[index];
24549
24879
  if (!current) return;
24550
- const oldSize = current.size;
24880
+ const original = Object.assign({}, current);
24551
24881
  const dom = preloads.value[index] || curloads.value[props2.inverted ? index : index - firstItemIndex.value];
24552
24882
  if (dom) {
24553
24883
  current.size = dom[K.offsetSize] || placeholderSize.value;
24554
24884
  } else if (current) {
24555
24885
  current.size = placeholderSize.value;
24556
24886
  }
24557
- if (oldSize !== current.size) {
24558
- emit("row-resize", {
24559
- index: current.id,
24560
- size: current.size
24561
- });
24562
- }
24887
+ return {
24888
+ original,
24889
+ changed: current
24890
+ };
24563
24891
  };
24564
24892
  const refreshItemPosition = () => {
24565
24893
  const sizes = Array.from({
@@ -24626,18 +24954,24 @@
24626
24954
  const refreshLayout = async (start, end) => {
24627
24955
  isRefreshLayout = 1;
24628
24956
  const promiseTasks = [];
24957
+ const resizeChanges = [];
24629
24958
  let item;
24630
24959
  for (let i = start; i < end; i++) {
24631
24960
  item = props2.inverted ? rebuildData.value[rebuildDataIndexMap.value[i]] : rebuildData.value[i];
24632
- if (item && item.loaded) {
24633
- continue;
24634
- }
24961
+ if (item && item.loaded) continue;
24635
24962
  setItemData(i, originalData[i]);
24636
- promiseTasks.push(vue.nextTick(() => refreshItemSize(i)));
24963
+ promiseTasks.push(vue.nextTick(() => {
24964
+ const e = refreshItemSize(i);
24965
+ e && resizeChanges.push(e.changed);
24966
+ }));
24637
24967
  }
24638
24968
  await Promise.all(promiseTasks);
24639
24969
  refreshItemPosition();
24640
24970
  setFirstItemIndex();
24971
+ resizeChanges.length > 0 && emit("row-resize", resizeChanges.map((i) => ({
24972
+ size: i.size,
24973
+ index: i.id
24974
+ })));
24641
24975
  interrupter.next();
24642
24976
  isRefreshLayout = 0;
24643
24977
  };
@@ -26291,11 +26625,19 @@
26291
26625
  emit,
26292
26626
  slots
26293
26627
  }) {
26628
+ let resizeChanges = [];
26629
+ const emitChanges = () => {
26630
+ if (resizeChanges.length > 0) {
26631
+ emit("row-resize", resizeChanges);
26632
+ resizeChanges = [];
26633
+ }
26634
+ };
26294
26635
  const handleResize = (e, index) => {
26295
- emit("row-resize", {
26636
+ resizeChanges.push({
26296
26637
  index,
26297
26638
  size: e.height
26298
26639
  });
26640
+ vue.nextTick(emitChanges);
26299
26641
  };
26300
26642
  return () => {
26301
26643
  return props2.data.map((mergeData, index) => {
@@ -26651,22 +26993,24 @@
26651
26993
  return renderRow(row, row.index);
26652
26994
  })]);
26653
26995
  };
26654
- const handleMergeRowResize = (v) => {
26996
+ const handleMergeRowResize = (changes) => {
26655
26997
  if (table.props.rowHeight) return;
26656
- states.list[v.index].rows.forEach((row) => {
26657
- const old = row.heightMap[props2.fixed || "main"];
26658
- if (old === v.size) return;
26659
- row.heightMap[props2.fixed || "main"] = v.size;
26660
- const heights = [row.heightMap.main];
26661
- if (states.leftFixedCount) {
26662
- heights.push(row.heightMap.left);
26663
- }
26664
- if (states.rightFixedCount) {
26665
- heights.push(row.heightMap.right);
26666
- }
26667
- if (heights.every((i) => !!i)) {
26668
- row.height = Math.max(row.heightMap.left, row.heightMap.main, row.heightMap.right) || "";
26669
- }
26998
+ changes.forEach((v) => {
26999
+ states.list[v.index].rows.forEach((row) => {
27000
+ const old = row.heightMap[props2.fixed || "main"];
27001
+ if (old === v.size) return;
27002
+ row.heightMap[props2.fixed || "main"] = v.size;
27003
+ const heights = [row.heightMap.main];
27004
+ if (states.leftFixedCount) {
27005
+ heights.push(row.heightMap.left);
27006
+ }
27007
+ if (states.rightFixedCount) {
27008
+ heights.push(row.heightMap.right);
27009
+ }
27010
+ if (heights.every((i) => !!i)) {
27011
+ row.height = Math.max(row.heightMap.left, row.heightMap.main, row.heightMap.right) || "";
27012
+ }
27013
+ });
26670
27014
  });
26671
27015
  };
26672
27016
  expose({
@@ -29275,7 +29619,7 @@
29275
29619
  "controllable"
29276
29620
  ];
29277
29621
  const props$8 = {
29278
- ...pick(props$1g, inputKeys),
29622
+ ...pick(props$1h, inputKeys),
29279
29623
  wrap: {
29280
29624
  type: String,
29281
29625
  validator: (v) => /(soft|hard)/.test(v),
@@ -29438,7 +29782,6 @@
29438
29782
  setup(props2, { slots }) {
29439
29783
  const themeId = getUid("vc-theme");
29440
29784
  const setVar = (name) => {
29441
- /* istanbul ignore next -- @preserve */
29442
29785
  if (!name) return "";
29443
29786
  const globals = VcInstance.options.Theme?.variables;
29444
29787
  return props2.variables?.[name] || globals?.[name] || `var(--${name})`;
@@ -29474,7 +29817,6 @@
29474
29817
  }
29475
29818
  });
29476
29819
  const setCss = (attrs) => {
29477
- /* istanbul ignore next -- @preserve */
29478
29820
  if (!attrs || typeof attrs === "string") return attrs;
29479
29821
  let content = "";
29480
29822
  Object.entries(attrs).forEach(([key, val]) => {
@@ -29483,7 +29825,6 @@
29483
29825
  return content;
29484
29826
  };
29485
29827
  const resetPseudo = () => {
29486
- /* istanbul ignore next -- @preserve */
29487
29828
  if (typeof document === "undefined") return;
29488
29829
  const { pseudo } = props2;
29489
29830
  if (!pseudo) return removeStyle(themeId);
@@ -30833,7 +31174,7 @@
30833
31174
  "allowDispatch"
30834
31175
  ];
30835
31176
  const props$2 = {
30836
- ...pick(props$19, selectKeys),
31177
+ ...pick(props$1a, selectKeys),
30837
31178
  ...pick(props$3, treeNodeContentKeys),
30838
31179
  // 暂不支持,仅作为默认值
30839
31180
  max: {
@@ -31102,7 +31443,7 @@
31102
31443
  "renderNodeLabel"
31103
31444
  ];
31104
31445
  const props$1 = {
31105
- ...props$19,
31446
+ ...props$1a,
31106
31447
  ...pick(props$2, treeKeys)
31107
31448
  };
31108
31449
  const COMPONENT_NAME$2 = "vc-tree-select";
@@ -31905,6 +32246,8 @@
31905
32246
  // MColorPickerView,
31906
32247
  Countdown,
31907
32248
  MCountdown,
32249
+ Counter,
32250
+ MCounter,
31908
32251
  Customer,
31909
32252
  MCustomer,
31910
32253
  DatePicker,
@@ -136454,6 +136797,7 @@ ${imported}
136454
136797
  exports.ColorPicker = ColorPicker$1;
136455
136798
  exports.Components = Components;
136456
136799
  exports.Countdown = Countdown;
136800
+ exports.Counter = Counter;
136457
136801
  exports.Customer = Customer;
136458
136802
  exports.DatePicker = DatePicker;
136459
136803
  exports.Debounce = Debounce;
@@ -136498,6 +136842,7 @@ ${imported}
136498
136842
  exports.MCollapseItem = MCollapseItem;
136499
136843
  exports.MColorPicker = MColorPicker;
136500
136844
  exports.MCountdown = MCountdown;
136845
+ exports.MCounter = MCounter;
136501
136846
  exports.MCustomer = MCustomer;
136502
136847
  exports.MDatePicker = MDatePicker;
136503
136848
  exports.MDebounce = Debounce;