@deot/vc-components 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.
@@ -10,7 +10,6 @@
10
10
  if (!message || !target) return;
11
11
  message = `[@deot/vc - ${target}]: ${message}`;
12
12
  this.message = message;
13
- /* istanbul ignore next -- @preserve */
14
13
  }
15
14
  }
16
15
 
@@ -18,31 +17,38 @@
18
17
 
19
18
  const nil = void 0;
20
19
  const defaults$3 = {
21
- UploadPicker: {
22
- enhancer: nil
23
- },
24
20
  Editor: {
25
21
  options: nil,
26
22
  enhancer: nil
27
23
  },
28
- Theme: {
29
- variables: VARIABLES
30
- },
31
24
  Portal: {
32
25
  install: nil
33
26
  },
34
- Upload: {
35
- onRequest: nil,
36
- onResponse: nil,
37
- onMessage: nil
38
- },
39
- TableColumn: {
40
- line: nil
27
+ RecycleList: {
28
+ renderRefresh: nil,
29
+ renderPlaceholder: nil,
30
+ renderLoading: nil,
31
+ renderComplete: nil,
32
+ renderEmpty: nil
41
33
  },
42
34
  Snapshot: {
43
35
  options: nil,
44
36
  source: nil,
45
37
  download: nil
38
+ },
39
+ TableColumn: {
40
+ line: nil
41
+ },
42
+ Theme: {
43
+ variables: VARIABLES
44
+ },
45
+ Upload: {
46
+ onRequest: nil,
47
+ onResponse: nil,
48
+ onMessage: nil
49
+ },
50
+ UploadPicker: {
51
+ enhancer: nil
46
52
  }
47
53
  };
48
54
 
@@ -71,7 +77,7 @@
71
77
  }
72
78
  const VcInstance = new Instance();
73
79
 
74
- const props$1t = {
80
+ const props$1u = {
75
81
  tag: {
76
82
  type: String,
77
83
  default: "div"
@@ -80,10 +86,10 @@
80
86
 
81
87
  /** @jsxImportSource vue */
82
88
 
83
- const COMPONENT_NAME$29 = 'vc-action-sheet';
89
+ const COMPONENT_NAME$2a = 'vc-action-sheet';
84
90
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
85
- name: COMPONENT_NAME$29,
86
- props: props$1t,
91
+ name: COMPONENT_NAME$2a,
92
+ props: props$1u,
87
93
  setup(props, {
88
94
  slots
89
95
  }) {
@@ -97,7 +103,7 @@
97
103
 
98
104
  const MActionSheet = ActionSheet;
99
105
 
100
- const props$1s = {
106
+ const props$1t = {
101
107
  modelValue: {
102
108
  type: Boolean,
103
109
  default: false
@@ -375,11 +381,11 @@
375
381
 
376
382
  /** @jsxImportSource vue */
377
383
 
378
- const COMPONENT_NAME$28 = 'vc-affix';
384
+ const COMPONENT_NAME$29 = 'vc-affix';
379
385
  const Affix = /* @__PURE__ */ vue.defineComponent({
380
- name: COMPONENT_NAME$28,
386
+ name: COMPONENT_NAME$29,
381
387
  emits: ['update:modelValue'],
382
- props: props$1s,
388
+ props: props$1t,
383
389
  setup(props, {
384
390
  slots,
385
391
  expose,
@@ -545,7 +551,7 @@
545
551
 
546
552
  const MAffix = Affix;
547
553
 
548
- const props$1r = {
554
+ const props$1s = {
549
555
  modelValue: {
550
556
  type: Boolean,
551
557
  default: true
@@ -572,7 +578,7 @@
572
578
  }
573
579
  };
574
580
 
575
- const props$1q = {
581
+ const props$1r = {
576
582
  type: String,
577
583
  inherit: {
578
584
  type: Boolean,
@@ -610,7 +616,6 @@
610
616
  const key = `${prefix}${url}`;
611
617
  const cache = window.localStorage.getItem(key);
612
618
  let icons = JSON.parse(cache || '""');
613
- /* istanbul ignore next -- @preserve */
614
619
  if (!icons) {
615
620
  const data = await new Promise((resolve$) => {
616
621
  const request = new XMLHttpRequest();
@@ -645,7 +650,6 @@
645
650
  });
646
651
  resolve();
647
652
  } catch (e) {
648
- /* istanbul ignore next -- @preserve */
649
653
  reject(new VcError("icon", e));
650
654
  }
651
655
  })();
@@ -657,7 +661,6 @@
657
661
  const icons = {};
658
662
  setTimeout(() => {
659
663
  try {
660
- /* istanbul ignore next -- @preserve */
661
664
  IS_DEV && console.time(url);
662
665
  svgStr.replace(svgReg, "$1")?.match(symbolReg)?.forEach(
663
666
  (i) => i.replace(basicReg, (_, ...args) => {
@@ -672,23 +675,19 @@
672
675
  return "";
673
676
  })
674
677
  );
675
- /* istanbul ignore next -- @preserve */
676
678
  IS_DEV && console.timeEnd(url);
677
679
  resolve(icons);
678
680
  } catch (e) {
679
- /* istanbul ignore next -- @preserve */
680
681
  reject(new VcError("icon", e));
681
682
  }
682
683
  }, 0);
683
684
  });
684
685
  }
685
686
  on(type, fn) {
686
- /* istanbul ignore next -- @preserve */
687
687
  if (typeof type !== "string" || typeof fn !== "function") return this;
688
688
  this.events[type] = this.events[type] || [];
689
689
  if (this.events[type].length >= 100) {
690
690
  delete this.events[type];
691
- /* istanbul ignore else -- @preserve */
692
691
  if (!IS_SERVER$2) {
693
692
  throw new VcError("icon", `${type} nonexistent`);
694
693
  }
@@ -697,7 +696,6 @@
697
696
  return this;
698
697
  }
699
698
  off(type, fn) {
700
- /* istanbul ignore next -- @preserve */
701
699
  if (typeof type !== "string" || typeof fn !== "function") return this;
702
700
  this.events[type] = this.events[type]?.filter((i) => i != fn);
703
701
  return this;
@@ -717,10 +715,10 @@
717
715
 
718
716
  /** @jsxImportSource vue */
719
717
 
720
- const COMPONENT_NAME$27 = 'vc-icon';
718
+ const COMPONENT_NAME$28 = 'vc-icon';
721
719
  const Icon = /* @__PURE__ */ vue.defineComponent({
722
- name: COMPONENT_NAME$27,
723
- props: props$1q,
720
+ name: COMPONENT_NAME$28,
721
+ props: props$1r,
724
722
  setup(props) {
725
723
  const viewBox = vue.ref('0 0 1024 1024');
726
724
  const path = vue.ref([]);
@@ -753,7 +751,7 @@
753
751
  }
754
752
  });
755
753
 
756
- const props$1p = {
754
+ const props$1q = {
757
755
  /**
758
756
  * 进入/离开持续时间
759
757
  * {enter: 300, leave: 300}
@@ -918,10 +916,10 @@
918
916
  };
919
917
  };
920
918
 
921
- const COMPONENT_NAME$26 = "vc-transition";
919
+ const COMPONENT_NAME$27 = "vc-transition";
922
920
  const Transition = vue.defineComponent({
923
- name: COMPONENT_NAME$26,
924
- props: props$1p,
921
+ name: COMPONENT_NAME$27,
922
+ props: props$1q,
925
923
  // 当不声明emits的情况下,事件存在于attrs中
926
924
  inheritAttrs: false,
927
925
  setup(props, { slots, attrs }) {
@@ -941,10 +939,10 @@
941
939
  }
942
940
  });
943
941
 
944
- const COMPONENT_NAME$25 = "vc-transition-collapse";
942
+ const COMPONENT_NAME$26 = "vc-transition-collapse";
945
943
  const TransitionCollapse = vue.defineComponent({
946
- name: COMPONENT_NAME$25,
947
- props: props$1p,
944
+ name: COMPONENT_NAME$26,
945
+ props: props$1q,
948
946
  // 当不声明emits的情况下,事件存在于attrs中
949
947
  inheritAttrs: false,
950
948
  setup(props, { slots, attrs: _attrs }) {
@@ -961,7 +959,6 @@
961
959
  const handleBeforeEnter = (el) => {
962
960
  const duration = props.duration.enter || props.duration;
963
961
  el.style.transition = getTransitionStyle(duration);
964
- /* istanbul ignore next -- @preserve */
965
962
  if (!el.dataset) {
966
963
  el.dataset = {};
967
964
  }
@@ -978,7 +975,6 @@
978
975
  const next = createNext(done, duration);
979
976
  try {
980
977
  el.dataset.oldOverflow = el.style.overflow;
981
- /* istanbul ignore next -- @preserve */
982
978
  if (el.scrollHeight !== 0) {
983
979
  el.style.height = el.scrollHeight + "px";
984
980
  el.style.paddingTop = el.dataset.oldPaddingTop + "px";
@@ -1001,7 +997,6 @@
1001
997
  attrs.onAfterEnter?.(el);
1002
998
  };
1003
999
  const handleBeforeLeave = (el) => {
1004
- /* istanbul ignore next -- @preserve */
1005
1000
  if (!el.dataset) {
1006
1001
  el.dataset = {};
1007
1002
  }
@@ -1018,7 +1013,6 @@
1018
1013
  const next = createNext(done, duration);
1019
1014
  try {
1020
1015
  const leaveDuration = props.duration.leave || props.duration;
1021
- /* istanbul ignore next -- @preserve */
1022
1016
  if (el.scrollHeight !== 0) {
1023
1017
  el.style.transition = getTransitionStyle(leaveDuration);
1024
1018
  el.style.height = "0px";
@@ -1062,11 +1056,11 @@
1062
1056
  }
1063
1057
  });
1064
1058
 
1065
- const COMPONENT_NAME$24 = "vc-transition-fade";
1059
+ const COMPONENT_NAME$25 = "vc-transition-fade";
1066
1060
  const TransitionFade = vue.defineComponent({
1067
- name: COMPONENT_NAME$24,
1061
+ name: COMPONENT_NAME$25,
1068
1062
  props: {
1069
- ...props$1p,
1063
+ ...props$1q,
1070
1064
  // inheritAttrs必须是false
1071
1065
  style: {
1072
1066
  type: Object,
@@ -1099,11 +1093,11 @@
1099
1093
  }
1100
1094
  });
1101
1095
 
1102
- const COMPONENT_NAME$23 = "vc-transition-scale";
1096
+ const COMPONENT_NAME$24 = "vc-transition-scale";
1103
1097
  const TransitionScale = vue.defineComponent({
1104
- name: COMPONENT_NAME$23,
1098
+ name: COMPONENT_NAME$24,
1105
1099
  props: {
1106
- ...props$1p,
1100
+ ...props$1q,
1107
1101
  mode: {
1108
1102
  type: String,
1109
1103
  default: "both",
@@ -1141,11 +1135,11 @@
1141
1135
  }
1142
1136
  });
1143
1137
 
1144
- const COMPONENT_NAME$22 = "vc-transition-slide";
1138
+ const COMPONENT_NAME$23 = "vc-transition-slide";
1145
1139
  const TransitionSlide = vue.defineComponent({
1146
- name: COMPONENT_NAME$22,
1140
+ name: COMPONENT_NAME$23,
1147
1141
  props: {
1148
- ...props$1p,
1142
+ ...props$1q,
1149
1143
  mode: {
1150
1144
  type: String,
1151
1145
  default: "left",
@@ -1183,11 +1177,11 @@
1183
1177
  }
1184
1178
  });
1185
1179
 
1186
- const COMPONENT_NAME$21 = "vc-transition-zoom";
1180
+ const COMPONENT_NAME$22 = "vc-transition-zoom";
1187
1181
  const TransitionZoom = vue.defineComponent({
1188
- name: COMPONENT_NAME$21,
1182
+ name: COMPONENT_NAME$22,
1189
1183
  props: {
1190
- ...props$1p,
1184
+ ...props$1q,
1191
1185
  mode: {
1192
1186
  type: String,
1193
1187
  default: "x",
@@ -1227,7 +1221,7 @@
1227
1221
 
1228
1222
  /** @jsxImportSource vue */
1229
1223
 
1230
- const COMPONENT_NAME$20 = 'vc-alert';
1224
+ const COMPONENT_NAME$21 = 'vc-alert';
1231
1225
 
1232
1226
  // [color, borderColor, backgroundColor], -> CSS
1233
1227
  const THEME_MAP = {
@@ -1237,8 +1231,8 @@
1237
1231
  warning: ['#ffbf00', '#ffe58f', '#fffbe6']
1238
1232
  };
1239
1233
  const Alert = /* @__PURE__ */ vue.defineComponent({
1240
- name: COMPONENT_NAME$20,
1241
- props: props$1r,
1234
+ name: COMPONENT_NAME$21,
1235
+ props: props$1s,
1242
1236
  setup(props, {
1243
1237
  slots,
1244
1238
  emit
@@ -1453,7 +1447,7 @@
1453
1447
  return flatten$1(value, JSON.parse);
1454
1448
  };
1455
1449
 
1456
- const props$1o = {
1450
+ const props$1p = {
1457
1451
  // canvas配置参数
1458
1452
  options: Object,
1459
1453
  width: {
@@ -1469,10 +1463,10 @@
1469
1463
  /** @jsxImportSource vue */
1470
1464
 
1471
1465
  const isTouch = typeof document !== 'undefined' && 'ontouchend' in document;
1472
- const COMPONENT_NAME$1$ = 'vc-artboard';
1466
+ const COMPONENT_NAME$20 = 'vc-artboard';
1473
1467
  const Artboard = /* @__PURE__ */ vue.defineComponent({
1474
- name: COMPONENT_NAME$1$,
1475
- props: props$1o,
1468
+ name: COMPONENT_NAME$20,
1469
+ props: props$1p,
1476
1470
  setup(props, {
1477
1471
  emit,
1478
1472
  expose
@@ -1675,7 +1669,7 @@
1675
1669
 
1676
1670
  const MArtboard = Artboard;
1677
1671
 
1678
- const props$1n = {
1672
+ const props$1o = {
1679
1673
  size: {
1680
1674
  type: Number,
1681
1675
  default: 28
@@ -1699,10 +1693,10 @@
1699
1693
 
1700
1694
  /** @jsxImportSource vue */
1701
1695
 
1702
- const COMPONENT_NAME$1_ = 'vc-spin';
1696
+ const COMPONENT_NAME$1$ = 'vc-spin';
1703
1697
  const Spin = /* @__PURE__ */ vue.defineComponent({
1704
- name: COMPONENT_NAME$1_,
1705
- props: props$1n,
1698
+ name: COMPONENT_NAME$1$,
1699
+ props: props$1o,
1706
1700
  setup(props, {
1707
1701
  slots
1708
1702
  }) {
@@ -6774,7 +6768,7 @@
6774
6768
  });
6775
6769
  }
6776
6770
 
6777
- const props$1m = {
6771
+ const props$1n = {
6778
6772
  wait: {
6779
6773
  type: Number,
6780
6774
  default: 250
@@ -6790,10 +6784,10 @@
6790
6784
  exclude: RegExp
6791
6785
  };
6792
6786
 
6793
- const COMPONENT_NAME$1Z = "vc-debounce";
6787
+ const COMPONENT_NAME$1_ = "vc-debounce";
6794
6788
  const Debounce = vue.defineComponent({
6795
- name: COMPONENT_NAME$1Z,
6796
- props: props$1m,
6789
+ name: COMPONENT_NAME$1_,
6790
+ props: props$1n,
6797
6791
  /**
6798
6792
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
6799
6793
  * 如事件onClick
@@ -6808,7 +6802,6 @@
6808
6802
  () => {
6809
6803
  const { wait, exclude, include } = props;
6810
6804
  const ons = Object.entries(attrs).reduce((pre, [key, callback]) => {
6811
- /* istanbul ignore else -- @preserve */
6812
6805
  if ((!exclude || !exclude.test(key)) && (!include || include.test(key)) && typeof callback === "function") {
6813
6806
  pre[key] = debounce(callback, wait, {
6814
6807
  leading: true,
@@ -6834,7 +6827,7 @@
6834
6827
  }
6835
6828
  });
6836
6829
 
6837
- const props$1l = {
6830
+ const props$1m = {
6838
6831
  tag: {
6839
6832
  type: String,
6840
6833
  default: "button"
@@ -6866,11 +6859,11 @@
6866
6859
 
6867
6860
  /** @jsxImportSource vue */
6868
6861
 
6869
- const COMPONENT_NAME$1Y = 'vc-button';
6862
+ const COMPONENT_NAME$1Z = 'vc-button';
6870
6863
  const Button = /* @__PURE__ */ vue.defineComponent({
6871
- name: COMPONENT_NAME$1Y,
6864
+ name: COMPONENT_NAME$1Z,
6872
6865
  emits: ['click'],
6873
- props: props$1l,
6866
+ props: props$1m,
6874
6867
  setup(props, {
6875
6868
  slots
6876
6869
  }) {
@@ -6931,7 +6924,7 @@
6931
6924
  }
6932
6925
  });
6933
6926
 
6934
- const props$1k = {
6927
+ const props$1l = {
6935
6928
  vertical: {
6936
6929
  type: Boolean,
6937
6930
  default: false
@@ -6952,10 +6945,10 @@
6952
6945
 
6953
6946
  /** @jsxImportSource vue */
6954
6947
 
6955
- const COMPONENT_NAME$1X = 'vc-button-group';
6948
+ const COMPONENT_NAME$1Y = 'vc-button-group';
6956
6949
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
6957
- name: COMPONENT_NAME$1X,
6958
- props: props$1k,
6950
+ name: COMPONENT_NAME$1Y,
6951
+ props: props$1l,
6959
6952
  setup(props, {
6960
6953
  slots
6961
6954
  }) {
@@ -6979,7 +6972,7 @@
6979
6972
  const MButton = Button;
6980
6973
  const MButtonGroup = ButtonGroup;
6981
6974
 
6982
- const props$1j = {
6975
+ const props$1k = {
6983
6976
  tag: {
6984
6977
  type: String,
6985
6978
  default: "div"
@@ -6988,10 +6981,10 @@
6988
6981
 
6989
6982
  /** @jsxImportSource vue */
6990
6983
 
6991
- const COMPONENT_NAME$1W = 'vc-calendar';
6984
+ const COMPONENT_NAME$1X = 'vc-calendar';
6992
6985
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
6993
- name: COMPONENT_NAME$1W,
6994
- props: props$1j,
6986
+ name: COMPONENT_NAME$1X,
6987
+ props: props$1k,
6995
6988
  setup(props, {
6996
6989
  slots
6997
6990
  }) {
@@ -7005,7 +6998,7 @@
7005
6998
 
7006
6999
  const MCalendar = Calendar$1;
7007
7000
 
7008
- const props$1i = {
7001
+ const props$1j = {
7009
7002
  border: {
7010
7003
  type: Boolean,
7011
7004
  default: true
@@ -7028,10 +7021,10 @@
7028
7021
 
7029
7022
  /** @jsxImportSource vue */
7030
7023
 
7031
- const COMPONENT_NAME$1V = 'vc-card';
7024
+ const COMPONENT_NAME$1W = 'vc-card';
7032
7025
  const Card = /* @__PURE__ */ vue.defineComponent({
7033
- name: COMPONENT_NAME$1V,
7034
- props: props$1i,
7026
+ name: COMPONENT_NAME$1W,
7027
+ props: props$1j,
7035
7028
  setup(props, {
7036
7029
  slots
7037
7030
  }) {
@@ -7057,7 +7050,7 @@
7057
7050
 
7058
7051
  const MCard = Card;
7059
7052
 
7060
- const props$1h = {
7053
+ const props$1i = {
7061
7054
  tag: {
7062
7055
  type: String,
7063
7056
  default: "div"
@@ -7066,10 +7059,10 @@
7066
7059
 
7067
7060
  /** @jsxImportSource vue */
7068
7061
 
7069
- const COMPONENT_NAME$1U = 'vc-carousel';
7062
+ const COMPONENT_NAME$1V = 'vc-carousel';
7070
7063
  const Carousel = /* @__PURE__ */ vue.defineComponent({
7071
- name: COMPONENT_NAME$1U,
7072
- props: props$1h,
7064
+ name: COMPONENT_NAME$1V,
7065
+ props: props$1i,
7073
7066
  setup(props, {
7074
7067
  slots
7075
7068
  }) {
@@ -7140,7 +7133,6 @@
7140
7133
  const instance = vue.getCurrentInstance();
7141
7134
  const regex = new RegExp(`${componentName}$`);
7142
7135
  let parent = instance.parent;
7143
- /* istanbul ignore next -- @preserve */
7144
7136
  while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
7145
7137
  parent = parent.parent || parent?.type?.parent;
7146
7138
  }
@@ -7174,7 +7166,7 @@
7174
7166
  });
7175
7167
  };
7176
7168
 
7177
- const props$1g = {
7169
+ const props$1h = {
7178
7170
  // Array, 作为select等数组存放临时值
7179
7171
  modelValue: [String, Number, Array],
7180
7172
  disabled: {
@@ -7426,12 +7418,12 @@
7426
7418
 
7427
7419
  /** @jsxImportSource vue */
7428
7420
 
7429
- const COMPONENT_NAME$1T = 'vc-input';
7421
+ const COMPONENT_NAME$1U = 'vc-input';
7430
7422
  const Input$1 = /* @__PURE__ */ vue.defineComponent({
7431
- name: COMPONENT_NAME$1T,
7423
+ name: COMPONENT_NAME$1U,
7432
7424
  inheritAttrs: false,
7433
7425
  props: {
7434
- ...props$1g,
7426
+ ...props$1h,
7435
7427
  indicator: {
7436
7428
  type: [Boolean, Object],
7437
7429
  default: false
@@ -7533,8 +7525,8 @@
7533
7525
  }
7534
7526
  });
7535
7527
 
7536
- const props$1f = {
7537
- ...props$1g,
7528
+ const props$1g = {
7529
+ ...props$1h,
7538
7530
  min: {
7539
7531
  type: Number,
7540
7532
  default: 0
@@ -7763,10 +7755,10 @@
7763
7755
 
7764
7756
  /** @jsxImportSource vue */
7765
7757
 
7766
- const COMPONENT_NAME$1S = 'vc-input-number';
7758
+ const COMPONENT_NAME$1T = 'vc-input-number';
7767
7759
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
7768
- name: COMPONENT_NAME$1S,
7769
- props: props$1f,
7760
+ name: COMPONENT_NAME$1T,
7761
+ props: props$1g,
7770
7762
  inheritAttrs: false,
7771
7763
  setup(props, {
7772
7764
  slots,
@@ -7819,8 +7811,8 @@
7819
7811
  }
7820
7812
  });
7821
7813
 
7822
- const props$1e = {
7823
- ...props$1g,
7814
+ const props$1f = {
7815
+ ...props$1h,
7824
7816
  enterText: {
7825
7817
  type: [Boolean, String],
7826
7818
  default: true
@@ -7829,10 +7821,10 @@
7829
7821
 
7830
7822
  /** @jsxImportSource vue */
7831
7823
 
7832
- const COMPONENT_NAME$1R = 'vc-input-search';
7824
+ const COMPONENT_NAME$1S = 'vc-input-search';
7833
7825
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
7834
- name: COMPONENT_NAME$1R,
7835
- props: props$1e,
7826
+ name: COMPONENT_NAME$1S,
7827
+ props: props$1f,
7836
7828
  inheritAttrs: false,
7837
7829
  setup(props, {
7838
7830
  emit,
@@ -7864,7 +7856,7 @@
7864
7856
  }
7865
7857
  });
7866
7858
 
7867
- const props$1d = {
7859
+ const props$1e = {
7868
7860
  modelValue: Boolean,
7869
7861
  animation: String,
7870
7862
  placement: {
@@ -7943,7 +7935,7 @@
7943
7935
  "autoWidth",
7944
7936
  "always"
7945
7937
  ];
7946
- const props$1c = {
7938
+ const props$1d = {
7947
7939
  trigger: {
7948
7940
  type: String,
7949
7941
  default: "hover",
@@ -7961,7 +7953,7 @@
7961
7953
  type: Boolean,
7962
7954
  default: true
7963
7955
  },
7964
- ...pick(props$1d, wrapperKeys)
7956
+ ...pick(props$1e, wrapperKeys)
7965
7957
  };
7966
7958
 
7967
7959
  class Resize {
@@ -8280,17 +8272,17 @@
8280
8272
  };
8281
8273
  };
8282
8274
 
8283
- const props$1b = {
8275
+ const props$1c = {
8284
8276
  render: {
8285
8277
  type: Function,
8286
8278
  default: () => null
8287
8279
  }
8288
8280
  };
8289
8281
 
8290
- const COMPONENT_NAME$1Q = "vc-customer";
8282
+ const COMPONENT_NAME$1R = "vc-customer";
8291
8283
  const Customer = vue.defineComponent({
8292
- name: COMPONENT_NAME$1Q,
8293
- props: props$1b,
8284
+ name: COMPONENT_NAME$1R,
8285
+ props: props$1c,
8294
8286
  setup(props, context) {
8295
8287
  return () => vue.h(() => {
8296
8288
  return props.render(context.attrs, context);
@@ -8424,7 +8416,7 @@
8424
8416
  }
8425
8417
  }
8426
8418
 
8427
- const COMPONENT_NAME$1P = "vc-portal";
8419
+ const COMPONENT_NAME$1Q = "vc-portal";
8428
8420
  class Portal {
8429
8421
  /**
8430
8422
  * 清理Portals类型组件
@@ -8454,7 +8446,6 @@
8454
8446
  }
8455
8447
  }
8456
8448
  } catch (e) {
8457
- /* istanbul ignore next -- @preserve */
8458
8449
  throw new VcError("instance", e);
8459
8450
  }
8460
8451
  }
@@ -8465,7 +8456,6 @@
8465
8456
  try {
8466
8457
  Portal.leafs.forEach((leaf) => leaf.destroy());
8467
8458
  } catch (e) {
8468
- /* istanbul ignore next -- @preserve */
8469
8459
  throw new VcError("instance", e);
8470
8460
  }
8471
8461
  }
@@ -8476,7 +8466,7 @@
8476
8466
  this.wrapper = wrapper;
8477
8467
  this.globalOptions = {
8478
8468
  ...options,
8479
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1P)
8469
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1Q)
8480
8470
  };
8481
8471
  }
8482
8472
  popup(propsData, options) {
@@ -8538,7 +8528,6 @@
8538
8528
  return (...args) => {
8539
8529
  const done = () => {
8540
8530
  const leaf = getLeaf();
8541
- /* istanbul ignore next -- @preserve */
8542
8531
  if (!leaf) {
8543
8532
  throw new VcError("portal", "实例不存在或已卸载");
8544
8533
  }
@@ -8575,7 +8564,7 @@
8575
8564
  ...rest
8576
8565
  } = options;
8577
8566
  let useAllNodes = fragment;
8578
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1P)}` : name$;
8567
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1Q)}` : name$;
8579
8568
  const container = document.createElement(tag);
8580
8569
  const root = typeof el === "object" ? el : document.querySelector(el || "body");
8581
8570
  !alive && Portal.leafs.get(name)?.destroy();
@@ -8589,7 +8578,6 @@
8589
8578
  if (isDestroyed()) return;
8590
8579
  onDestroyed?.(...args);
8591
8580
  leaf.app?.unmount();
8592
- /* istanbul ignore else -- @preserve */
8593
8581
  if (useAllNodes) {
8594
8582
  root?.contains(container) && root.removeChild(container);
8595
8583
  } else if (container && container._children) {
@@ -8610,23 +8598,20 @@
8610
8598
  } else {
8611
8599
  const wrapper = this.wrapper;
8612
8600
  const app = vue.createApp({
8613
- name: COMPONENT_NAME$1P,
8601
+ name: COMPONENT_NAME$1Q,
8614
8602
  parent,
8615
8603
  setup() {
8616
8604
  if (alive) {
8617
8605
  const handleExtra = (e) => {
8618
8606
  try {
8619
8607
  const path = e.path || composedPath(e);
8620
- /* istanbul ignore else -- @preserve */
8621
8608
  if (container && e.target && !container.contains(e.target) && !path?.some((item) => utils.eleInRegExp(item, aliveRegExp))) {
8622
- /* istanbul ignore else -- @preserve */
8623
8609
  if (leaf.wrapper && leaf.wrapper?.[aliveVisibleKey]) {
8624
8610
  typeof leaf.wrapper[aliveVisibleKey] === "function" ? leaf.wrapper[aliveVisibleKey](false) : leaf.wrapper[aliveVisibleKey] = false;
8625
8611
  }
8626
8612
  leaveDelay ? setTimeout($onDestroyed, leaveDelay) : $onDestroyed();
8627
8613
  }
8628
8614
  } catch (error) {
8629
- /* istanbul ignore next -- @preserve */
8630
8615
  throw new VcError("portal", error);
8631
8616
  }
8632
8617
  };
@@ -8717,21 +8702,21 @@
8717
8702
  }
8718
8703
  }
8719
8704
 
8720
- const props$1a = {
8705
+ const props$1b = {
8721
8706
  tag: {
8722
8707
  type: String,
8723
8708
  default: "div"
8724
8709
  }
8725
8710
  };
8726
8711
 
8727
- const COMPONENT_NAME$1O = 'vc-portal-view';
8712
+ const COMPONENT_NAME$1P = 'vc-portal-view';
8728
8713
 
8729
8714
  /**
8730
8715
  * 写法不同,但与vue@2.x 保持一致
8731
8716
  */
8732
8717
  const PortalView = /* @__PURE__ */ vue.defineComponent({
8733
- name: COMPONENT_NAME$1O,
8734
- props: props$1a,
8718
+ name: COMPONENT_NAME$1P,
8719
+ props: props$1b,
8735
8720
  setup(props, {
8736
8721
  slots
8737
8722
  }) {
@@ -8750,10 +8735,10 @@
8750
8735
 
8751
8736
  /** @jsxImportSource vue */
8752
8737
 
8753
- const COMPONENT_NAME$1N = 'vc-popover-wrapper';
8738
+ const COMPONENT_NAME$1O = 'vc-popover-wrapper';
8754
8739
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
8755
- name: COMPONENT_NAME$1N,
8756
- props: props$1d,
8740
+ name: COMPONENT_NAME$1O,
8741
+ props: props$1e,
8757
8742
  emits: ['portal-fulfilled', 'close'],
8758
8743
  setup(props, {
8759
8744
  emit,
@@ -9010,10 +8995,10 @@
9010
8995
 
9011
8996
  /** @jsxImportSource vue */
9012
8997
 
9013
- const COMPONENT_NAME$1M = 'vc-popover';
8998
+ const COMPONENT_NAME$1N = 'vc-popover';
9014
8999
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
9015
- name: COMPONENT_NAME$1M,
9016
- props: props$1c,
9000
+ name: COMPONENT_NAME$1N,
9001
+ props: props$1d,
9017
9002
  emits: ['update:modelValue', 'visible-change', 'ready', 'close'],
9018
9003
  setup(props, {
9019
9004
  emit,
@@ -9156,9 +9141,9 @@
9156
9141
 
9157
9142
  /** @jsxImportSource vue */
9158
9143
 
9159
- const COMPONENT_NAME$1L = 'vc-cascader-column';
9144
+ const COMPONENT_NAME$1M = 'vc-cascader-column';
9160
9145
  const CascaderColumn = /* @__PURE__ */ vue.defineComponent({
9161
- name: COMPONENT_NAME$1L,
9146
+ name: COMPONENT_NAME$1M,
9162
9147
  emits: ['click', 'change'],
9163
9148
  props: {
9164
9149
  data: {
@@ -9276,9 +9261,9 @@
9276
9261
  "portal",
9277
9262
  "portalClass"
9278
9263
  ];
9279
- const props$19 = {
9280
- ...pick(props$1c, popoverKeys$1),
9281
- ...pick(props$1g, inputKeys$2),
9264
+ const props$1a = {
9265
+ ...pick(props$1d, popoverKeys$1),
9266
+ ...pick(props$1h, inputKeys$2),
9282
9267
  renderOption: [Function],
9283
9268
  renderOptionGroup: [Function],
9284
9269
  data: {
@@ -9344,8 +9329,8 @@
9344
9329
  label: String
9345
9330
  };
9346
9331
 
9347
- const props$18 = {
9348
- ...props$19,
9332
+ const props$19 = {
9333
+ ...props$1a,
9349
9334
  data: {
9350
9335
  type: Array,
9351
9336
  default: () => []
@@ -9366,11 +9351,11 @@
9366
9351
 
9367
9352
  /** @jsxImportSource vue */
9368
9353
 
9369
- const COMPONENT_NAME$1K = 'vc-cascader';
9354
+ const COMPONENT_NAME$1L = 'vc-cascader';
9370
9355
  const Cascader = /* @__PURE__ */ vue.defineComponent({
9371
- name: COMPONENT_NAME$1K,
9356
+ name: COMPONENT_NAME$1L,
9372
9357
  inheritAttrs: false,
9373
- props: props$18,
9358
+ props: props$19,
9374
9359
  emits: ['update:modelValue', 'visible-change', 'ready', 'change', 'close'],
9375
9360
  setup(props, {
9376
9361
  emit,
@@ -9706,7 +9691,7 @@
9706
9691
  "contextmenu"
9707
9692
  ];
9708
9693
 
9709
- const props$17 = {
9694
+ const props$18 = {
9710
9695
  options: Object,
9711
9696
  pluginOptions: Object,
9712
9697
  theme: [String, Object],
@@ -9721,14 +9706,15 @@
9721
9706
 
9722
9707
  /** @jsxImportSource vue */
9723
9708
 
9724
- const COMPONENT_NAME$1J = 'vc-chart';
9709
+ const COMPONENT_NAME$1K = 'vc-chart';
9725
9710
  const Chart = /* @__PURE__ */ vue.defineComponent({
9726
- name: COMPONENT_NAME$1J,
9727
- props: props$17,
9711
+ name: COMPONENT_NAME$1K,
9712
+ props: props$18,
9728
9713
  emits: [...EVENTS$1, 'ready'],
9729
9714
  setup(props, {
9730
9715
  emit,
9731
- slots
9716
+ slots,
9717
+ expose
9732
9718
  }) {
9733
9719
  const instance = vue.getCurrentInstance();
9734
9720
  const chart = vue.shallowRef(null);
@@ -9827,6 +9813,12 @@
9827
9813
  }
9828
9814
  });
9829
9815
  });
9816
+
9817
+ // 如果存在内存泄漏,chart.value.getOption() 获取配置项,查看series参数等情况
9818
+ expose({
9819
+ chart,
9820
+ refresh
9821
+ });
9830
9822
  vue.onUnmounted(destroy);
9831
9823
  return () => {
9832
9824
  return vue.createVNode("div", {
@@ -9839,7 +9831,7 @@
9839
9831
 
9840
9832
  const MChart = Chart;
9841
9833
 
9842
- const props$16 = {
9834
+ const props$17 = {
9843
9835
  disabled: {
9844
9836
  type: Boolean,
9845
9837
  default: false
@@ -9955,10 +9947,10 @@
9955
9947
 
9956
9948
  /** @jsxImportSource vue */
9957
9949
 
9958
- const COMPONENT_NAME$1I = 'vc-checkbox';
9950
+ const COMPONENT_NAME$1J = 'vc-checkbox';
9959
9951
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
9960
- name: COMPONENT_NAME$1I,
9961
- props: props$16,
9952
+ name: COMPONENT_NAME$1J,
9953
+ props: props$17,
9962
9954
  emits: ['update:modelValue', 'change'],
9963
9955
  setup(props, {
9964
9956
  slots
@@ -9995,7 +9987,7 @@
9995
9987
  }
9996
9988
  });
9997
9989
 
9998
- const props$15 = {
9990
+ const props$16 = {
9999
9991
  modelValue: {
10000
9992
  type: Array,
10001
9993
  default: () => []
@@ -10044,10 +10036,10 @@
10044
10036
 
10045
10037
  /** @jsxImportSource vue */
10046
10038
 
10047
- const COMPONENT_NAME$1H = 'vc-checkbox-group';
10039
+ const COMPONENT_NAME$1I = 'vc-checkbox-group';
10048
10040
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
10049
- name: COMPONENT_NAME$1H,
10050
- props: props$15,
10041
+ name: COMPONENT_NAME$1I,
10042
+ props: props$16,
10051
10043
  emits: ['update:modelValue', 'change'],
10052
10044
  setup(props, {
10053
10045
  slots
@@ -10064,10 +10056,10 @@
10064
10056
 
10065
10057
  /** @jsxImportSource vue */
10066
10058
 
10067
- const COMPONENT_NAME$1G = 'vcm-checkbox';
10059
+ const COMPONENT_NAME$1H = 'vcm-checkbox';
10068
10060
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
10069
- name: COMPONENT_NAME$1G,
10070
- props: props$16,
10061
+ name: COMPONENT_NAME$1H,
10062
+ props: props$17,
10071
10063
  emits: ['update:modelValue', 'change'],
10072
10064
  setup(props, {
10073
10065
  slots
@@ -10106,10 +10098,10 @@
10106
10098
 
10107
10099
  /** @jsxImportSource vue */
10108
10100
 
10109
- const COMPONENT_NAME$1F = 'vcm-checkbox-group';
10101
+ const COMPONENT_NAME$1G = 'vcm-checkbox-group';
10110
10102
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
10111
- name: COMPONENT_NAME$1F,
10112
- props: props$15,
10103
+ name: COMPONENT_NAME$1G,
10104
+ props: props$16,
10113
10105
  emits: ['update:modelValue', 'change'],
10114
10106
  setup(props, {
10115
10107
  slots
@@ -10124,7 +10116,7 @@
10124
10116
  }
10125
10117
  });
10126
10118
 
10127
- const props$14 = {
10119
+ const props$15 = {
10128
10120
  content: [String, Function],
10129
10121
  mask: {
10130
10122
  type: Boolean,
@@ -10162,11 +10154,11 @@
10162
10154
 
10163
10155
  /** @jsxImportSource vue */
10164
10156
 
10165
- const COMPONENT_NAME$1E = 'vc-message';
10157
+ const COMPONENT_NAME$1F = 'vc-message';
10166
10158
  const MessageView = /* @__PURE__ */ vue.defineComponent({
10167
- name: COMPONENT_NAME$1E,
10159
+ name: COMPONENT_NAME$1F,
10168
10160
  emits: ['before-close', 'close', 'portal-fulfilled'],
10169
- props: props$14,
10161
+ props: props$15,
10170
10162
  setup(props, {
10171
10163
  emit,
10172
10164
  expose
@@ -10296,7 +10288,7 @@
10296
10288
  const error$3 = create$7({ mode: "error" });
10297
10289
  const Message = Object.assign(MessageView, { destroy: destroy$5, info: info$3, success: success$3, loading: loading$1, warning: warning$3, error: error$3 });
10298
10290
 
10299
- const props$13 = {
10291
+ const props$14 = {
10300
10292
  value: String,
10301
10293
  tag: {
10302
10294
  type: [String, Object, Function],
@@ -10413,10 +10405,10 @@
10413
10405
  return () => vue.h(props.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
10414
10406
  };
10415
10407
 
10416
- const COMPONENT_NAME$1D = "vc-clipboard";
10408
+ const COMPONENT_NAME$1E = "vc-clipboard";
10417
10409
  const Clipboard$2 = vue.defineComponent({
10418
- name: COMPONENT_NAME$1D,
10419
- props: props$13,
10410
+ name: COMPONENT_NAME$1E,
10411
+ props: props$14,
10420
10412
  setup() {
10421
10413
  return useClipboard((content) => Message.success({ content }));
10422
10414
  }
@@ -10424,7 +10416,7 @@
10424
10416
 
10425
10417
  const Clipboard$1 = Object.assign(Clipboard$2, group);
10426
10418
 
10427
- const props$12 = {
10419
+ const props$13 = {
10428
10420
  content: [String, Function],
10429
10421
  maskClosable: {
10430
10422
  type: Boolean,
@@ -10455,11 +10447,11 @@
10455
10447
 
10456
10448
  /** @jsxImportSource vue */
10457
10449
 
10458
- const COMPONENT_NAME$1C = 'vcm-toast';
10450
+ const COMPONENT_NAME$1D = 'vcm-toast';
10459
10451
  const MToastView = /* @__PURE__ */ vue.defineComponent({
10460
- name: COMPONENT_NAME$1C,
10452
+ name: COMPONENT_NAME$1D,
10461
10453
  emits: ['close', 'portal-fulfilled'],
10462
- props: props$12,
10454
+ props: props$13,
10463
10455
  setup(props, {
10464
10456
  emit,
10465
10457
  expose
@@ -10559,10 +10551,10 @@
10559
10551
  const error$2 = create$6({ mode: "error" });
10560
10552
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
10561
10553
 
10562
- const COMPONENT_NAME$1B = "vcm-clipboard";
10554
+ const COMPONENT_NAME$1C = "vcm-clipboard";
10563
10555
  const MClipboard$1 = vue.defineComponent({
10564
- name: COMPONENT_NAME$1B,
10565
- props: props$13,
10556
+ name: COMPONENT_NAME$1C,
10557
+ props: props$14,
10566
10558
  setup() {
10567
10559
  return useClipboard((content) => MToast.info({ content }));
10568
10560
  }
@@ -10570,7 +10562,7 @@
10570
10562
 
10571
10563
  const MClipboard = Object.assign(MClipboard$1, group);
10572
10564
 
10573
- const props$11 = {
10565
+ const props$12 = {
10574
10566
  tag: {
10575
10567
  type: String,
10576
10568
  default: "div"
@@ -10593,10 +10585,10 @@
10593
10585
  }
10594
10586
  };
10595
10587
 
10596
- const COMPONENT_NAME$1A = "vc-collapse";
10588
+ const COMPONENT_NAME$1B = "vc-collapse";
10597
10589
  const Collapse = vue.defineComponent({
10598
- name: COMPONENT_NAME$1A,
10599
- props: props$11,
10590
+ name: COMPONENT_NAME$1B,
10591
+ props: props$12,
10600
10592
  emits: ["update:moodelValue", "change"],
10601
10593
  setup(props, { slots, emit }) {
10602
10594
  const instance = vue.getCurrentInstance();
@@ -10681,7 +10673,7 @@
10681
10673
  }
10682
10674
  });
10683
10675
 
10684
- const props$10 = {
10676
+ const props$11 = {
10685
10677
  tag: {
10686
10678
  type: String,
10687
10679
  default: "div"
@@ -10691,7 +10683,7 @@
10691
10683
  }
10692
10684
  };
10693
10685
 
10694
- const props$$ = {
10686
+ const props$10 = {
10695
10687
  tag: {
10696
10688
  type: String,
10697
10689
  default: "div"
@@ -10709,13 +10701,13 @@
10709
10701
 
10710
10702
  /** @jsxImportSource vue */
10711
10703
 
10712
- function _isSlot$2(s) {
10704
+ function _isSlot$3(s) {
10713
10705
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
10714
10706
  }
10715
- const COMPONENT_NAME$1z = 'vc-expand';
10707
+ const COMPONENT_NAME$1A = 'vc-expand';
10716
10708
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
10717
- name: COMPONENT_NAME$1z,
10718
- props: props$$,
10709
+ name: COMPONENT_NAME$1A,
10710
+ props: props$10,
10719
10711
  setup(props, {
10720
10712
  slots
10721
10713
  }) {
@@ -10733,7 +10725,7 @@
10733
10725
  enter: 200,
10734
10726
  leave: 200
10735
10727
  }
10736
- }, _isSlot$2(_slot = vue.withDirectives(vue.createVNode(Content, null, {
10728
+ }, _isSlot$3(_slot = vue.withDirectives(vue.createVNode(Content, null, {
10737
10729
  default: () => [(props.alive || !props.alive && isActive.value) && slots.default?.()]
10738
10730
  }), [[vue.vShow, isActive.value]])) ? _slot : {
10739
10731
  default: () => [_slot]
@@ -10744,10 +10736,10 @@
10744
10736
 
10745
10737
  /** @jsxImportSource vue */
10746
10738
 
10747
- const COMPONENT_NAME$1y = 'vc-collapse-item';
10739
+ const COMPONENT_NAME$1z = 'vc-collapse-item';
10748
10740
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
10749
- name: COMPONENT_NAME$1y,
10750
- props: props$10,
10741
+ name: COMPONENT_NAME$1z,
10742
+ props: props$11,
10751
10743
  setup(props, {
10752
10744
  slots,
10753
10745
  expose
@@ -10812,7 +10804,7 @@
10812
10804
  const MCollapse = Collapse;
10813
10805
  const MCollapseItem = CollapseItem;
10814
10806
 
10815
- const props$_ = {
10807
+ const props$$ = {
10816
10808
  tag: {
10817
10809
  type: String,
10818
10810
  default: "div"
@@ -10821,10 +10813,10 @@
10821
10813
 
10822
10814
  /** @jsxImportSource vue */
10823
10815
 
10824
- const COMPONENT_NAME$1x = 'vc-color-picker';
10816
+ const COMPONENT_NAME$1y = 'vc-color-picker';
10825
10817
  const ColorPicker$1 = /* @__PURE__ */ vue.defineComponent({
10826
- name: COMPONENT_NAME$1x,
10827
- props: props$_,
10818
+ name: COMPONENT_NAME$1y,
10819
+ props: props$$,
10828
10820
  setup(props, {
10829
10821
  slots
10830
10822
  }) {
@@ -10838,7 +10830,7 @@
10838
10830
 
10839
10831
  const MColorPicker = ColorPicker$1;
10840
10832
 
10841
- const props$Z = {
10833
+ const props$_ = {
10842
10834
  tag: {
10843
10835
  type: String,
10844
10836
  default: "span"
@@ -10883,14 +10875,14 @@
10883
10875
 
10884
10876
  /** @jsxImportSource vue */
10885
10877
 
10886
- function _isSlot$1(s) {
10878
+ function _isSlot$2(s) {
10887
10879
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
10888
10880
  }
10889
- const COMPONENT_NAME$1w = 'vc-countdown';
10881
+ const COMPONENT_NAME$1x = 'vc-countdown';
10890
10882
  const Countdown = /* @__PURE__ */ vue.defineComponent({
10891
- name: COMPONENT_NAME$1w,
10892
- props: props$Z,
10893
- emits: ['change', 'finish', 'error'],
10883
+ name: COMPONENT_NAME$1x,
10884
+ props: props$_,
10885
+ emits: ['change', 'complete', 'error'],
10894
10886
  setup(props, {
10895
10887
  emit,
10896
10888
  slots
@@ -10980,7 +10972,7 @@
10980
10972
  second: '00',
10981
10973
  millisecond: '00'
10982
10974
  });
10983
- emit('finish');
10975
+ emit('complete');
10984
10976
  } else {
10985
10977
  emit('change', {
10986
10978
  timestamp,
@@ -11018,7 +11010,7 @@
11018
11010
  return (// @ts-ignore
11019
11011
  vue.createVNode(Content, {
11020
11012
  "class": "vc-countdown"
11021
- }, _isSlot$1(_slot = slots.default(binds.value)) ? _slot : {
11013
+ }, _isSlot$2(_slot = slots.default(binds.value)) ? _slot : {
11022
11014
  default: () => [_slot]
11023
11015
  })
11024
11016
  );
@@ -11041,6 +11033,345 @@
11041
11033
 
11042
11034
  const MCountdown = Countdown;
11043
11035
 
11036
+ const props$Z = {
11037
+ tag: {
11038
+ type: String,
11039
+ default: "span"
11040
+ },
11041
+ value: [Number, String],
11042
+ placeholder: String,
11043
+ precision: {
11044
+ type: Number,
11045
+ default: 0
11046
+ },
11047
+ duration: {
11048
+ type: Number,
11049
+ default: 500
11050
+ },
11051
+ decimal: {
11052
+ type: String,
11053
+ default: "."
11054
+ },
11055
+ separator: {
11056
+ type: String,
11057
+ default: ","
11058
+ },
11059
+ numerals: {
11060
+ type: Array,
11061
+ default: () => []
11062
+ },
11063
+ smartEasingThreshold: {
11064
+ type: Number,
11065
+ default: 999
11066
+ },
11067
+ smartEasingAmount: {
11068
+ type: Number,
11069
+ default: 333
11070
+ },
11071
+ easing: {
11072
+ type: [Function, Boolean],
11073
+ default: true
11074
+ },
11075
+ // 10.90 -> 10.9
11076
+ zeroless: {
11077
+ type: Boolean,
11078
+ default: false
11079
+ },
11080
+ // 为true时,自行管理start/update
11081
+ controllable: {
11082
+ type: Boolean,
11083
+ default: false
11084
+ },
11085
+ render: Function
11086
+ };
11087
+
11088
+ const separated2value = (value, options) => {
11089
+ if (typeof value === "number" || typeof value !== "string") return value;
11090
+ const escapeRegExp = (s) => s.replace(/([.,' ])/g, "\\$1");
11091
+ const sep = escapeRegExp(options.separator);
11092
+ const dec = escapeRegExp(options.decimal);
11093
+ const num = (value || "").replace(new RegExp(sep, "g"), "").replace(new RegExp(dec, "g"), ".");
11094
+ return parseFloat(num);
11095
+ };
11096
+ const value2separated = (value, options) => {
11097
+ const num = typeof value === "number" ? value : parseFloat(value);
11098
+ if (value === "" || Number.isNaN(num)) {
11099
+ return {
11100
+ negative: "",
11101
+ integer: "",
11102
+ decimal: "",
11103
+ separated: "",
11104
+ float: "",
11105
+ value: ""
11106
+ };
11107
+ }
11108
+ const negative = num < 0 ? "-" : "";
11109
+ let [integer, decimal = ""] = `${Math.abs(num)}`.split(".");
11110
+ let separated = integer;
11111
+ if (options.separator) {
11112
+ let v = "";
11113
+ let j = 0;
11114
+ const factor = 3;
11115
+ for (let i = 0, len = separated.length; i < len; ++i) {
11116
+ if (i !== 0 && j % factor === 0) {
11117
+ v = options.separator + v;
11118
+ }
11119
+ j++;
11120
+ v = separated[len - i - 1] + v;
11121
+ }
11122
+ separated = v;
11123
+ }
11124
+ const precision$ = options.zeroless ? Math.min(options.precision, decimal.length) : options.precision;
11125
+ if (precision$) {
11126
+ decimal = decimal.slice(0, precision$).padEnd(precision$, "0");
11127
+ } else {
11128
+ decimal = "";
11129
+ }
11130
+ if (options?.numerals?.length) {
11131
+ separated = separated.replace(/[0-9]/g, (w) => options.numerals[+w]);
11132
+ decimal = decimal.replace(/[0-9]/g, (w) => options.numerals[+w]);
11133
+ }
11134
+ const _decimal = decimal ? options.decimal + decimal : "";
11135
+ return {
11136
+ negative,
11137
+ integer,
11138
+ decimal,
11139
+ separated,
11140
+ float: `${negative}${integer}${_decimal}`,
11141
+ value: `${negative}${separated}${_decimal}`
11142
+ };
11143
+ };
11144
+
11145
+ /** @jsxImportSource vue */
11146
+
11147
+ function _isSlot$1(s) {
11148
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
11149
+ }
11150
+ const COMPONENT_NAME$1w = 'vc-counter';
11151
+ const Counter = /* @__PURE__ */ vue.defineComponent({
11152
+ name: COMPONENT_NAME$1w,
11153
+ props: props$Z,
11154
+ emits: ['begin', 'complete', 'change'],
11155
+ setup(props, {
11156
+ emit,
11157
+ expose,
11158
+ slots
11159
+ }) {
11160
+ const startTime = vue.ref(null);
11161
+ const duration = vue.ref(props.duration);
11162
+ const remaining = vue.ref(duration.value);
11163
+ const startVal = vue.ref(0);
11164
+ const endVal = vue.ref(separated2value(props.value, props));
11165
+ const frameVal = vue.ref(startVal.value);
11166
+ const finalEndVal = vue.ref(null);
11167
+ const useEasing = vue.ref(!!props.easing);
11168
+ const isStart = vue.ref(false);
11169
+ const isPaused = vue.ref(false);
11170
+ const isComplete = vue.ref(false);
11171
+ const countdown = vue.ref(false);
11172
+ const rAF = vue.ref(null);
11173
+ const prints = vue.reactive({
11174
+ negative: '',
11175
+ integer: '',
11176
+ decimal: '',
11177
+ separated: '',
11178
+ float: '',
11179
+ value: ''
11180
+ });
11181
+
11182
+ // t: current time, b: beginning value, c: change in value, d: duration
11183
+ const easing = vue.computed(() => {
11184
+ return typeof props.easing === 'function' ? props.easing : (t, b, c, d) => c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
11185
+ });
11186
+ const displayValue = vue.computed(() => {
11187
+ if (props.value === '' || typeof props.value !== 'string' && typeof props.value !== 'number') {
11188
+ return props.placeholder;
11189
+ }
11190
+ return prints.value;
11191
+ });
11192
+ const binds = vue.computed(() => {
11193
+ return {
11194
+ ...prints,
11195
+ value: displayValue.value
11196
+ };
11197
+ });
11198
+ const determineDirectionAndSmartEasing = () => {
11199
+ const v = finalEndVal.value !== null ? finalEndVal.value : endVal.value;
11200
+ countdown.value = startVal.value > v;
11201
+ const animateAmount = v - startVal.value;
11202
+ if (Math.abs(animateAmount) > props.smartEasingThreshold && props.easing) {
11203
+ finalEndVal.value = v;
11204
+ const up = countdown.value ? 1 : -1;
11205
+ endVal.value = v + up * props.smartEasingAmount;
11206
+ duration.value = duration.value / 2;
11207
+ } else {
11208
+ endVal.value = v;
11209
+ finalEndVal.value = null;
11210
+ }
11211
+ if (finalEndVal.value !== null) {
11212
+ useEasing.value = false;
11213
+ } else {
11214
+ useEasing.value = !!props.easing;
11215
+ }
11216
+ };
11217
+ const run = () => {
11218
+ const done = timestamp => {
11219
+ if (!startTime.value) {
11220
+ startTime.value = timestamp;
11221
+ }
11222
+ const progress = timestamp - startTime.value;
11223
+ remaining.value = duration.value - progress;
11224
+ if (useEasing.value) {
11225
+ if (countdown.value) {
11226
+ frameVal.value = startVal.value - easing.value(progress, 0, startVal.value - endVal.value, duration.value);
11227
+ } else {
11228
+ frameVal.value = easing.value(progress, startVal.value, endVal.value - startVal.value, duration.value);
11229
+ }
11230
+ } else {
11231
+ frameVal.value = startVal.value + (endVal.value - startVal.value) * (progress / duration.value);
11232
+ }
11233
+ const wentPast = countdown.value ? frameVal.value < endVal.value : frameVal.value > endVal.value;
11234
+ frameVal.value = wentPast ? endVal.value : frameVal.value;
11235
+ print(frameVal.value);
11236
+ if (progress < duration.value) {
11237
+ rAF.value = requestAnimationFrame(done);
11238
+ } else if (finalEndVal.value !== null) {
11239
+ update(finalEndVal.value);
11240
+ } else {
11241
+ emit('complete');
11242
+ isComplete.value = true;
11243
+ }
11244
+ };
11245
+ determineDirectionAndSmartEasing();
11246
+ rAF.value = requestAnimationFrame(done);
11247
+ };
11248
+ const print = num => {
11249
+ Object.assign(prints, value2separated(num, props));
11250
+ emit('change', prints);
11251
+ };
11252
+ const resetDuration = () => {
11253
+ startTime.value = null;
11254
+ duration.value = props.duration;
11255
+ remaining.value = duration.value;
11256
+ };
11257
+ const cancel = () => {
11258
+ if (rAF.value === null || typeof rAF.value === 'undefined') return;
11259
+ cancelAnimationFrame(rAF.value);
11260
+ };
11261
+ const start = () => {
11262
+ if (isComplete.value || isStart.value) return;
11263
+ cancel();
11264
+ resetDuration();
11265
+ isPaused.value = false;
11266
+ isComplete.value = false;
11267
+ startVal.value = 0;
11268
+ frameVal.value = 0;
11269
+ isStart.value = true;
11270
+ emit('begin');
11271
+ if (duration.value > 0) {
11272
+ run();
11273
+ } else {
11274
+ print(endVal.value);
11275
+ }
11276
+ };
11277
+ const pause = () => {
11278
+ if (isComplete.value) return;
11279
+ if (!isPaused.value) {
11280
+ cancel();
11281
+ }
11282
+ isPaused.value = true;
11283
+ };
11284
+ const resume = () => {
11285
+ if (isComplete.value) return;
11286
+ if (isPaused.value) {
11287
+ startTime.value = null;
11288
+ duration.value = remaining.value;
11289
+ startVal.value = frameVal.value;
11290
+ run();
11291
+ }
11292
+ isPaused.value = false;
11293
+ };
11294
+ const update = newEndVal => {
11295
+ if (!isStart.value) return;
11296
+ cancel();
11297
+ startTime.value = null;
11298
+ endVal.value = +newEndVal;
11299
+ if (endVal.value === frameVal.value) {
11300
+ return;
11301
+ }
11302
+ startVal.value = frameVal.value;
11303
+ if (finalEndVal.value === null) {
11304
+ resetDuration();
11305
+ }
11306
+ finalEndVal.value = null;
11307
+ run();
11308
+ };
11309
+ const end = () => {
11310
+ if (isComplete.value) return;
11311
+ cancel();
11312
+ resetDuration();
11313
+ startVal.value = +props.value;
11314
+ frameVal.value = startVal.value;
11315
+ print(frameVal.value);
11316
+ emit('complete');
11317
+ isComplete.value = true;
11318
+ };
11319
+ const restart = () => {
11320
+ isStart.value = false;
11321
+ isComplete.value = false;
11322
+ start();
11323
+ };
11324
+ vue.watch(() => props.value, () => {
11325
+ if (props.controllable || !isStart.value) return;
11326
+ update(props.value);
11327
+ });
11328
+ vue.watch(() => props.precision, () => {
11329
+ if (props.controllable || !isStart.value || !isComplete.value) return;
11330
+ print(+props.value);
11331
+ });
11332
+ expose({
11333
+ start,
11334
+ pause,
11335
+ resume,
11336
+ update,
11337
+ end,
11338
+ restart,
11339
+ cancel,
11340
+ print
11341
+ });
11342
+ vue.onMounted(() => !props.controllable && start());
11343
+ vue.onBeforeUnmount(cancel);
11344
+ const Content = props.tag;
11345
+ return () => {
11346
+ if (slots.default) {
11347
+ let _slot;
11348
+ return (// @ts-ignore
11349
+ vue.createVNode(Content, {
11350
+ "class": "vc-counter"
11351
+ }, _isSlot$1(_slot = slots.default(binds.value)) ? _slot : {
11352
+ default: () => [_slot]
11353
+ })
11354
+ );
11355
+ }
11356
+ if (props.render) {
11357
+ return vue.createVNode(Customer, vue.mergeProps({
11358
+ "class": "vc-counter",
11359
+ "render": props.render
11360
+ }, binds.value), null);
11361
+ }
11362
+ return (// @ts-ignore
11363
+ vue.createVNode(Content, {
11364
+ "class": "vc-counter"
11365
+ }, {
11366
+ default: () => [displayValue.value]
11367
+ })
11368
+ );
11369
+ };
11370
+ }
11371
+ });
11372
+
11373
+ const MCounter = Counter;
11374
+
11044
11375
  const props$Y = {
11045
11376
  type: {
11046
11377
  type: String,
@@ -11064,8 +11395,8 @@
11064
11395
  "portalClass"
11065
11396
  ];
11066
11397
  const props$X = {
11067
- ...pick(props$1c, popoverKeys),
11068
- ...pick(props$1g, inputKeys$1),
11398
+ ...pick(props$1d, popoverKeys),
11399
+ ...pick(props$1h, inputKeys$1),
11069
11400
  type: String,
11070
11401
  placeholder: String,
11071
11402
  clearable: {
@@ -16473,7 +16804,7 @@
16473
16804
  }) {
16474
16805
  const owner = getInstance$1('dropdown', 'dropdownId');
16475
16806
  const currentValue = vue.computed(() => {
16476
- const v = typeof props.value === 'undefined' || props.value === '' ? props.label : props.value;
16807
+ const v = typeof props.value === 'undefined' ? props.label : props.value;
16477
16808
  return v;
16478
16809
  });
16479
16810
  const classes = vue.computed(() => {
@@ -21500,7 +21831,7 @@
21500
21831
  name: COMPONENT_NAME$V,
21501
21832
  inheritAttrs: false,
21502
21833
  props: {
21503
- ...props$1g,
21834
+ ...props$1h,
21504
21835
  right: {
21505
21836
  type: Boolean,
21506
21837
  default: false
@@ -21589,7 +21920,7 @@
21589
21920
  const COMPONENT_NAME$U = 'vcm-input-number';
21590
21921
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
21591
21922
  name: COMPONENT_NAME$U,
21592
- props: props$1f,
21923
+ props: props$1g,
21593
21924
  inheritAttrs: false,
21594
21925
  setup(props, {
21595
21926
  slots,
@@ -21641,7 +21972,7 @@
21641
21972
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
21642
21973
  name: COMPONENT_NAME$T,
21643
21974
  props: {
21644
- ...props$1e,
21975
+ ...props$1f,
21645
21976
  cancelText: {
21646
21977
  type: String,
21647
21978
  default: '取消'
@@ -21937,7 +22268,7 @@
21937
22268
  default: "div"
21938
22269
  },
21939
22270
  fill: {
21940
- type: Boolean,
22271
+ type: [Boolean, Array],
21941
22272
  default: true
21942
22273
  }
21943
22274
  };
@@ -21951,6 +22282,13 @@
21951
22282
  const width = vue.ref(0);
21952
22283
  const height = vue.ref(0);
21953
22284
  const current = vue.ref();
22285
+ const classes = vue.computed(() => {
22286
+ const v = Array.isArray(props.fill) ? props.fill : [props.fill, props.fill];
22287
+ return {
22288
+ "is-fill-width": v[0],
22289
+ "is-fill-height": v[1]
22290
+ };
22291
+ });
21954
22292
  const currentExposed = vue.computed(() => {
21955
22293
  return {
21956
22294
  height: height.value,
@@ -22001,7 +22339,7 @@
22001
22339
  props.tag,
22002
22340
  {
22003
22341
  ref: current,
22004
- class: ["vc-resizer", { "is-fill": props.fill }]
22342
+ class: ["vc-resizer", classes.value]
22005
22343
  },
22006
22344
  slots.default?.(currentExposed.value)
22007
22345
  );
@@ -23220,7 +23558,7 @@
23220
23558
  const COMPONENT_NAME$H = 'vc-select';
23221
23559
  const Select = /* @__PURE__ */ vue.defineComponent({
23222
23560
  name: COMPONENT_NAME$H,
23223
- props: props$19,
23561
+ props: props$1a,
23224
23562
  emits: ['ready', 'close', 'visible-change', 'clear', 'change', 'update:modelValue'],
23225
23563
  setup(props, {
23226
23564
  emit,
@@ -25045,7 +25383,7 @@
25045
25383
  },
25046
25384
  scrollerOptions: Object,
25047
25385
  renderEmpty: Function,
25048
- renderFinish: Function,
25386
+ renderComplete: Function,
25049
25387
  renderLoading: Function,
25050
25388
  renderPlaceholder: Function,
25051
25389
  renderRefresh: Function
@@ -25079,9 +25417,9 @@
25079
25417
  }, [vue.createVNode(Spin, {
25080
25418
  "size": 20
25081
25419
  }, null)]))]), owner.isEnd.value && (owner.data.length ? vue.createVNode("div", {
25082
- "class": "vc-recycle-list__finish"
25083
- }, [slots.finish?.() || owner.renderer.value.finish ? vue.createVNode(Customer, {
25084
- "render": owner.renderer.value.finish
25420
+ "class": "vc-recycle-list__complete"
25421
+ }, [slots.complete?.() || owner.renderer.value.complete ? vue.createVNode(Customer, {
25422
+ "render": owner.renderer.value.complete
25085
25423
  }, null) : vue.createVNode("div", {
25086
25424
  "class": "vc-recycle-list__center"
25087
25425
  }, [vue.createTextVNode("\u5DF2\u5168\u90E8\u52A0\u8F7D~")])]) : vue.createVNode("div", {
@@ -25377,7 +25715,7 @@
25377
25715
  refresh: props.renderRefresh || globalProps.renderRefresh,
25378
25716
  placeholder: props.renderPlaceholder || globalProps.renderPlaceholder,
25379
25717
  loading: props.renderLoading || globalProps.renderLoading,
25380
- finish: props.renderFinish || globalProps.renderFinish,
25718
+ complete: props.renderComplete || globalProps.renderComplete,
25381
25719
  empty: props.renderEmpty || globalProps.renderEmpty
25382
25720
  };
25383
25721
  });
@@ -25432,26 +25770,22 @@
25432
25770
  const index$ = rebuildDataIndexMap.value[index];
25433
25771
  typeof index$ === 'undefined' ? rebuildData.value.unshift(node) : rebuildData.value[index$] = node;
25434
25772
  };
25435
- // 更新item.size
25436
25773
  const refreshItemSize = index => {
25437
25774
  const current = props.inverted ? rebuildData.value[rebuildDataIndexMap.value[index]] : rebuildData.value[index];
25438
- if (!current) return; // 受到`removeUnusedPlaceholders`影响,无效的会被回收
25439
25775
 
25440
- const oldSize = current.size;
25776
+ // 受到`removeUnusedPlaceholders`影响,无效的会被回收
25777
+ if (!current) return;
25778
+ const original = Object.assign({}, current);
25441
25779
  const dom = preloads.value[index] || curloads.value[props.inverted ? index : index - firstItemIndex.value];
25442
25780
  if (dom) {
25443
25781
  current.size = dom[K.offsetSize] || placeholderSize.value;
25444
25782
  } else if (current) {
25445
25783
  current.size = placeholderSize.value;
25446
25784
  }
25447
-
25448
- // 这样的考虑欠佳,待优化
25449
- if (oldSize !== current.size) {
25450
- emit('row-resize', {
25451
- index: current.id,
25452
- size: current.size
25453
- });
25454
- }
25785
+ return {
25786
+ original,
25787
+ changed: current
25788
+ };
25455
25789
  };
25456
25790
  const refreshItemPosition = () => {
25457
25791
  const sizes = Array.from({
@@ -25521,18 +25855,24 @@
25521
25855
  const refreshLayout = async (start, end) => {
25522
25856
  isRefreshLayout = 1;
25523
25857
  const promiseTasks = [];
25858
+ const resizeChanges = [];
25524
25859
  let item;
25525
25860
  for (let i = start; i < end; i++) {
25526
25861
  item = props.inverted ? rebuildData.value[rebuildDataIndexMap.value[i]] : rebuildData.value[i];
25527
- if (item && item.loaded) {
25528
- continue;
25529
- }
25862
+ if (item && item.loaded) continue;
25530
25863
  setItemData(i, originalData[i]);
25531
- promiseTasks.push(vue.nextTick(() => refreshItemSize(i)));
25864
+ promiseTasks.push(vue.nextTick(() => {
25865
+ const e = refreshItemSize(i);
25866
+ e && resizeChanges.push(e.changed);
25867
+ }));
25532
25868
  }
25533
25869
  await Promise.all(promiseTasks);
25534
25870
  refreshItemPosition();
25535
25871
  setFirstItemIndex();
25872
+ resizeChanges.length > 0 && emit('row-resize', resizeChanges.map(i => ({
25873
+ size: i.size,
25874
+ index: i.id
25875
+ })));
25536
25876
  interrupter.next();
25537
25877
  isRefreshLayout = 0;
25538
25878
  };
@@ -27247,11 +27587,19 @@
27247
27587
  emit,
27248
27588
  slots
27249
27589
  }) {
27590
+ let resizeChanges = [];
27591
+ const emitChanges = () => {
27592
+ if (resizeChanges.length > 0) {
27593
+ emit('row-resize', resizeChanges);
27594
+ resizeChanges = [];
27595
+ }
27596
+ };
27250
27597
  const handleResize = (e, index) => {
27251
- emit('row-resize', {
27598
+ resizeChanges.push({
27252
27599
  index,
27253
27600
  size: e.height
27254
27601
  });
27602
+ vue.nextTick(emitChanges);
27255
27603
  };
27256
27604
  return () => {
27257
27605
  return props.data.map((mergeData, index) => {
@@ -27610,22 +27958,25 @@
27610
27958
  return renderRow(row, row.index);
27611
27959
  })]);
27612
27960
  };
27613
- const handleMergeRowResize = v => {
27961
+ const handleMergeRowResize = changes => {
27614
27962
  if (table.props.rowHeight) return;
27615
- states.list[v.index].rows.forEach(row => {
27616
- const old = row.heightMap[props.fixed || 'main'];
27617
- if (old === v.size) return;
27618
- row.heightMap[props.fixed || 'main'] = v.size;
27619
- const heights = [row.heightMap.main];
27620
- if (states.leftFixedCount) {
27621
- heights.push(row.heightMap.left);
27622
- }
27623
- if (states.rightFixedCount) {
27624
- heights.push(row.heightMap.right);
27625
- }
27626
- if (heights.every(i => !!i)) {
27627
- row.height = Math.max(row.heightMap.left, row.heightMap.main, row.heightMap.right) || '';
27628
- }
27963
+ // 批量处理所有尺寸变化
27964
+ changes.forEach(v => {
27965
+ states.list[v.index].rows.forEach(row => {
27966
+ const old = row.heightMap[props.fixed || 'main'];
27967
+ if (old === v.size) return;
27968
+ row.heightMap[props.fixed || 'main'] = v.size;
27969
+ const heights = [row.heightMap.main];
27970
+ if (states.leftFixedCount) {
27971
+ heights.push(row.heightMap.left);
27972
+ }
27973
+ if (states.rightFixedCount) {
27974
+ heights.push(row.heightMap.right);
27975
+ }
27976
+ if (heights.every(i => !!i)) {
27977
+ row.height = Math.max(row.heightMap.left, row.heightMap.main, row.heightMap.right) || '';
27978
+ }
27979
+ });
27629
27980
  });
27630
27981
  };
27631
27982
  expose({
@@ -30400,7 +30751,7 @@
30400
30751
  "controllable"
30401
30752
  ];
30402
30753
  const props$8 = {
30403
- ...pick(props$1g, inputKeys),
30754
+ ...pick(props$1h, inputKeys),
30404
30755
  wrap: {
30405
30756
  type: String,
30406
30757
  validator: (v) => /(soft|hard)/.test(v),
@@ -30571,7 +30922,6 @@
30571
30922
  setup(props, { slots }) {
30572
30923
  const themeId = getUid("vc-theme");
30573
30924
  const setVar = (name) => {
30574
- /* istanbul ignore next -- @preserve */
30575
30925
  if (!name) return "";
30576
30926
  const globals = VcInstance.options.Theme?.variables;
30577
30927
  return props.variables?.[name] || globals?.[name] || `var(--${name})`;
@@ -30607,7 +30957,6 @@
30607
30957
  }
30608
30958
  });
30609
30959
  const setCss = (attrs) => {
30610
- /* istanbul ignore next -- @preserve */
30611
30960
  if (!attrs || typeof attrs === "string") return attrs;
30612
30961
  let content = "";
30613
30962
  Object.entries(attrs).forEach(([key, val]) => {
@@ -30616,7 +30965,6 @@
30616
30965
  return content;
30617
30966
  };
30618
30967
  const resetPseudo = () => {
30619
- /* istanbul ignore next -- @preserve */
30620
30968
  if (typeof document === "undefined") return;
30621
30969
  const { pseudo } = props;
30622
30970
  if (!pseudo) return removeStyle(themeId);
@@ -31996,7 +32344,7 @@
31996
32344
  "allowDispatch"
31997
32345
  ];
31998
32346
  const props$2 = {
31999
- ...pick(props$19, selectKeys),
32347
+ ...pick(props$1a, selectKeys),
32000
32348
  ...pick(props$3, treeNodeContentKeys),
32001
32349
  // 暂不支持,仅作为默认值
32002
32350
  max: {
@@ -32269,7 +32617,7 @@
32269
32617
  "renderNodeLabel"
32270
32618
  ];
32271
32619
  const props$1 = {
32272
- ...props$19,
32620
+ ...props$1a,
32273
32621
  ...pick(props$2, treeKeys)
32274
32622
  };
32275
32623
 
@@ -137441,6 +137789,7 @@ ${imported}
137441
137789
  exports.CollapseItem = CollapseItem;
137442
137790
  exports.ColorPicker = ColorPicker$1;
137443
137791
  exports.Countdown = Countdown;
137792
+ exports.Counter = Counter;
137444
137793
  exports.Customer = Customer;
137445
137794
  exports.DatePicker = DatePicker;
137446
137795
  exports.Debounce = Debounce;
@@ -137485,6 +137834,7 @@ ${imported}
137485
137834
  exports.MCollapseItem = MCollapseItem;
137486
137835
  exports.MColorPicker = MColorPicker;
137487
137836
  exports.MCountdown = MCountdown;
137837
+ exports.MCounter = MCounter;
137488
137838
  exports.MCustomer = MCustomer;
137489
137839
  exports.MDatePicker = MDatePicker;
137490
137840
  exports.MDebounce = Debounce;