@deot/vc-components 1.0.14 → 1.0.16

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.
@@ -53,9 +53,9 @@ var VcComponents = (function (exports, vue) {
53
53
 
54
54
  /** @jsxImportSource vue */
55
55
 
56
- const COMPONENT_NAME$1$ = 'vc-action-sheet';
56
+ const COMPONENT_NAME$1_ = 'vc-action-sheet';
57
57
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
58
- name: COMPONENT_NAME$1$,
58
+ name: COMPONENT_NAME$1_,
59
59
  props: props$1q,
60
60
  setup(props, {
61
61
  slots
@@ -242,9 +242,9 @@ var VcComponents = (function (exports, vue) {
242
242
 
243
243
  /** @jsxImportSource vue */
244
244
 
245
- const COMPONENT_NAME$1_ = 'vc-icon';
245
+ const COMPONENT_NAME$1Z = 'vc-icon';
246
246
  const Icon = /* @__PURE__ */ vue.defineComponent({
247
- name: COMPONENT_NAME$1_,
247
+ name: COMPONENT_NAME$1Z,
248
248
  props: props$1o,
249
249
  setup(props) {
250
250
  const viewBox = vue.ref('0 0 1024 1024');
@@ -443,9 +443,9 @@ var VcComponents = (function (exports, vue) {
443
443
  };
444
444
  };
445
445
 
446
- const COMPONENT_NAME$1Z = "vc-transition";
446
+ const COMPONENT_NAME$1Y = "vc-transition";
447
447
  const Transition = vue.defineComponent({
448
- name: COMPONENT_NAME$1Z,
448
+ name: COMPONENT_NAME$1Y,
449
449
  props: props$1n,
450
450
  // 当不声明emits的情况下,事件存在于attrs中
451
451
  inheritAttrs: false,
@@ -466,9 +466,9 @@ var VcComponents = (function (exports, vue) {
466
466
  }
467
467
  });
468
468
 
469
- const COMPONENT_NAME$1Y = "vc-transition-collapse";
469
+ const COMPONENT_NAME$1X = "vc-transition-collapse";
470
470
  const TransitionCollapse = vue.defineComponent({
471
- name: COMPONENT_NAME$1Y,
471
+ name: COMPONENT_NAME$1X,
472
472
  props: props$1n,
473
473
  // 当不声明emits的情况下,事件存在于attrs中
474
474
  inheritAttrs: false,
@@ -587,9 +587,9 @@ var VcComponents = (function (exports, vue) {
587
587
  }
588
588
  });
589
589
 
590
- const COMPONENT_NAME$1X = "vc-transition-fade";
590
+ const COMPONENT_NAME$1W = "vc-transition-fade";
591
591
  const TransitionFade = vue.defineComponent({
592
- name: COMPONENT_NAME$1X,
592
+ name: COMPONENT_NAME$1W,
593
593
  props: {
594
594
  ...props$1n,
595
595
  // inheritAttrs必须是false
@@ -624,9 +624,9 @@ var VcComponents = (function (exports, vue) {
624
624
  }
625
625
  });
626
626
 
627
- const COMPONENT_NAME$1W = "vc-transition-scale";
627
+ const COMPONENT_NAME$1V = "vc-transition-scale";
628
628
  const TransitionScale = vue.defineComponent({
629
- name: COMPONENT_NAME$1W,
629
+ name: COMPONENT_NAME$1V,
630
630
  props: {
631
631
  ...props$1n,
632
632
  mode: {
@@ -666,9 +666,9 @@ var VcComponents = (function (exports, vue) {
666
666
  }
667
667
  });
668
668
 
669
- const COMPONENT_NAME$1V = "vc-transition-slide";
669
+ const COMPONENT_NAME$1U = "vc-transition-slide";
670
670
  const TransitionSlide = vue.defineComponent({
671
- name: COMPONENT_NAME$1V,
671
+ name: COMPONENT_NAME$1U,
672
672
  props: {
673
673
  ...props$1n,
674
674
  mode: {
@@ -708,9 +708,9 @@ var VcComponents = (function (exports, vue) {
708
708
  }
709
709
  });
710
710
 
711
- const COMPONENT_NAME$1U = "vc-transition-zoom";
711
+ const COMPONENT_NAME$1T = "vc-transition-zoom";
712
712
  const TransitionZoom = vue.defineComponent({
713
- name: COMPONENT_NAME$1U,
713
+ name: COMPONENT_NAME$1T,
714
714
  props: {
715
715
  ...props$1n,
716
716
  mode: {
@@ -752,7 +752,7 @@ var VcComponents = (function (exports, vue) {
752
752
 
753
753
  /** @jsxImportSource vue */
754
754
 
755
- const COMPONENT_NAME$1T = 'vc-alert';
755
+ const COMPONENT_NAME$1S = 'vc-alert';
756
756
 
757
757
  // [color, borderColor, backgroundColor], -> CSS
758
758
  const THEME_MAP = {
@@ -762,7 +762,7 @@ var VcComponents = (function (exports, vue) {
762
762
  warning: ['#ffbf00', '#ffe58f', '#fffbe6']
763
763
  };
764
764
  const Alert = /* @__PURE__ */ vue.defineComponent({
765
- name: COMPONENT_NAME$1T,
765
+ name: COMPONENT_NAME$1S,
766
766
  props: props$1p,
767
767
  setup(props, {
768
768
  slots,
@@ -861,9 +861,9 @@ var VcComponents = (function (exports, vue) {
861
861
 
862
862
  /** @jsxImportSource vue */
863
863
 
864
- const COMPONENT_NAME$1S = 'vc-artboard';
864
+ const COMPONENT_NAME$1R = 'vc-artboard';
865
865
  const Artboard = /* @__PURE__ */ vue.defineComponent({
866
- name: COMPONENT_NAME$1S,
866
+ name: COMPONENT_NAME$1R,
867
867
  props: props$1m,
868
868
  setup(props, {
869
869
  slots
@@ -902,9 +902,9 @@ var VcComponents = (function (exports, vue) {
902
902
 
903
903
  /** @jsxImportSource vue */
904
904
 
905
- const COMPONENT_NAME$1R = 'vc-spin';
905
+ const COMPONENT_NAME$1Q = 'vc-spin';
906
906
  const Spin = /* @__PURE__ */ vue.defineComponent({
907
- name: COMPONENT_NAME$1R,
907
+ name: COMPONENT_NAME$1Q,
908
908
  props: props$1l,
909
909
  setup(props, {
910
910
  slots
@@ -5760,9 +5760,9 @@ var VcComponents = (function (exports, vue) {
5760
5760
  exclude: RegExp
5761
5761
  };
5762
5762
 
5763
- const COMPONENT_NAME$1Q = "vc-debounce";
5763
+ const COMPONENT_NAME$1P = "vc-debounce";
5764
5764
  const Debounce = vue.defineComponent({
5765
- name: COMPONENT_NAME$1Q,
5765
+ name: COMPONENT_NAME$1P,
5766
5766
  props: props$1k,
5767
5767
  /**
5768
5768
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
@@ -5834,9 +5834,9 @@ var VcComponents = (function (exports, vue) {
5834
5834
 
5835
5835
  /** @jsxImportSource vue */
5836
5836
 
5837
- const COMPONENT_NAME$1P = 'vc-button';
5837
+ const COMPONENT_NAME$1O = 'vc-button';
5838
5838
  const Button = /* @__PURE__ */ vue.defineComponent({
5839
- name: COMPONENT_NAME$1P,
5839
+ name: COMPONENT_NAME$1O,
5840
5840
  emits: ['click'],
5841
5841
  props: props$1j,
5842
5842
  setup(props, {
@@ -5916,9 +5916,9 @@ var VcComponents = (function (exports, vue) {
5916
5916
 
5917
5917
  /** @jsxImportSource vue */
5918
5918
 
5919
- const COMPONENT_NAME$1O = 'vc-button-group';
5919
+ const COMPONENT_NAME$1N = 'vc-button-group';
5920
5920
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
5921
- name: COMPONENT_NAME$1O,
5921
+ name: COMPONENT_NAME$1N,
5922
5922
  props: props$1i,
5923
5923
  setup(props, {
5924
5924
  slots
@@ -5952,9 +5952,9 @@ var VcComponents = (function (exports, vue) {
5952
5952
 
5953
5953
  /** @jsxImportSource vue */
5954
5954
 
5955
- const COMPONENT_NAME$1N = 'vc-calendar';
5955
+ const COMPONENT_NAME$1M = 'vc-calendar';
5956
5956
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
5957
- name: COMPONENT_NAME$1N,
5957
+ name: COMPONENT_NAME$1M,
5958
5958
  props: props$1h,
5959
5959
  setup(props, {
5960
5960
  slots
@@ -5992,9 +5992,9 @@ var VcComponents = (function (exports, vue) {
5992
5992
 
5993
5993
  /** @jsxImportSource vue */
5994
5994
 
5995
- const COMPONENT_NAME$1M = 'vc-card';
5995
+ const COMPONENT_NAME$1L = 'vc-card';
5996
5996
  const Card = /* @__PURE__ */ vue.defineComponent({
5997
- name: COMPONENT_NAME$1M,
5997
+ name: COMPONENT_NAME$1L,
5998
5998
  props: props$1g,
5999
5999
  setup(props, {
6000
6000
  slots
@@ -6030,9 +6030,9 @@ var VcComponents = (function (exports, vue) {
6030
6030
 
6031
6031
  /** @jsxImportSource vue */
6032
6032
 
6033
- const COMPONENT_NAME$1L = 'vc-carousel';
6033
+ const COMPONENT_NAME$1K = 'vc-carousel';
6034
6034
  const Carousel = /* @__PURE__ */ vue.defineComponent({
6035
- name: COMPONENT_NAME$1L,
6035
+ name: COMPONENT_NAME$1K,
6036
6036
  props: props$1f,
6037
6037
  setup(props, {
6038
6038
  slots
@@ -6056,9 +6056,9 @@ var VcComponents = (function (exports, vue) {
6056
6056
 
6057
6057
  /** @jsxImportSource vue */
6058
6058
 
6059
- const COMPONENT_NAME$1K = 'vc-cascader';
6059
+ const COMPONENT_NAME$1J = 'vc-cascader';
6060
6060
  const Cascader = /* @__PURE__ */ vue.defineComponent({
6061
- name: COMPONENT_NAME$1K,
6061
+ name: COMPONENT_NAME$1J,
6062
6062
  props: props$1e,
6063
6063
  setup(props, {
6064
6064
  slots
@@ -6190,9 +6190,9 @@ var VcComponents = (function (exports, vue) {
6190
6190
 
6191
6191
  /** @jsxImportSource vue */
6192
6192
 
6193
- const COMPONENT_NAME$1J = 'vc-chart';
6193
+ const COMPONENT_NAME$1I = 'vc-chart';
6194
6194
  const Chart = /* @__PURE__ */ vue.defineComponent({
6195
- name: COMPONENT_NAME$1J,
6195
+ name: COMPONENT_NAME$1I,
6196
6196
  props: props$1d,
6197
6197
  emits: [...EVENTS, 'ready'],
6198
6198
  setup(props, {
@@ -6423,9 +6423,9 @@ var VcComponents = (function (exports, vue) {
6423
6423
 
6424
6424
  /** @jsxImportSource vue */
6425
6425
 
6426
- const COMPONENT_NAME$1I = 'vc-checkbox';
6426
+ const COMPONENT_NAME$1H = 'vc-checkbox';
6427
6427
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
6428
- name: COMPONENT_NAME$1I,
6428
+ name: COMPONENT_NAME$1H,
6429
6429
  props: props$1c,
6430
6430
  emits: ['update:modelValue', 'change'],
6431
6431
  setup(props, {
@@ -6512,9 +6512,9 @@ var VcComponents = (function (exports, vue) {
6512
6512
 
6513
6513
  /** @jsxImportSource vue */
6514
6514
 
6515
- const COMPONENT_NAME$1H = 'vc-checkbox-group';
6515
+ const COMPONENT_NAME$1G = 'vc-checkbox-group';
6516
6516
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
6517
- name: COMPONENT_NAME$1H,
6517
+ name: COMPONENT_NAME$1G,
6518
6518
  props: props$1b,
6519
6519
  emits: ['update:modelValue', 'change'],
6520
6520
  setup(props, {
@@ -6532,9 +6532,9 @@ var VcComponents = (function (exports, vue) {
6532
6532
 
6533
6533
  /** @jsxImportSource vue */
6534
6534
 
6535
- const COMPONENT_NAME$1G = 'vcm-checkbox';
6535
+ const COMPONENT_NAME$1F = 'vcm-checkbox';
6536
6536
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
6537
- name: COMPONENT_NAME$1G,
6537
+ name: COMPONENT_NAME$1F,
6538
6538
  props: props$1c,
6539
6539
  emits: ['update:modelValue', 'change'],
6540
6540
  setup(props, {
@@ -6574,9 +6574,9 @@ var VcComponents = (function (exports, vue) {
6574
6574
 
6575
6575
  /** @jsxImportSource vue */
6576
6576
 
6577
- const COMPONENT_NAME$1F = 'vcm-checkbox-group';
6577
+ const COMPONENT_NAME$1E = 'vcm-checkbox-group';
6578
6578
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
6579
- name: COMPONENT_NAME$1F,
6579
+ name: COMPONENT_NAME$1E,
6580
6580
  props: props$1b,
6581
6581
  emits: ['update:modelValue', 'change'],
6582
6582
  setup(props, {
@@ -6635,9 +6635,9 @@ var VcComponents = (function (exports, vue) {
6635
6635
  }
6636
6636
  };
6637
6637
 
6638
- const COMPONENT_NAME$1E = "vc-customer";
6638
+ const COMPONENT_NAME$1D = "vc-customer";
6639
6639
  const Customer = vue.defineComponent({
6640
- name: COMPONENT_NAME$1E,
6640
+ name: COMPONENT_NAME$1D,
6641
6641
  props: props$19,
6642
6642
  setup(props, context) {
6643
6643
  return () => vue.h(() => {
@@ -6648,9 +6648,9 @@ var VcComponents = (function (exports, vue) {
6648
6648
 
6649
6649
  /** @jsxImportSource vue */
6650
6650
 
6651
- const COMPONENT_NAME$1D = 'vc-message';
6651
+ const COMPONENT_NAME$1C = 'vc-message';
6652
6652
  const MessageView = /* @__PURE__ */ vue.defineComponent({
6653
- name: COMPONENT_NAME$1D,
6653
+ name: COMPONENT_NAME$1C,
6654
6654
  emits: ['before-close', 'close', 'portal-fulfilled'],
6655
6655
  props: props$1a,
6656
6656
  setup(props, {
@@ -7210,7 +7210,7 @@ var VcComponents = (function (exports, vue) {
7210
7210
  }
7211
7211
  }
7212
7212
 
7213
- const COMPONENT_NAME$1C = "vc-portal";
7213
+ const COMPONENT_NAME$1B = "vc-portal";
7214
7214
  class Portal {
7215
7215
  /**
7216
7216
  * 清理Portals类型组件
@@ -7262,7 +7262,7 @@ var VcComponents = (function (exports, vue) {
7262
7262
  this.wrapper = wrapper;
7263
7263
  this.globalOptions = {
7264
7264
  ...options,
7265
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1C)
7265
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1B)
7266
7266
  };
7267
7267
  }
7268
7268
  popup(propsData, options) {
@@ -7361,7 +7361,7 @@ var VcComponents = (function (exports, vue) {
7361
7361
  ...rest
7362
7362
  } = options;
7363
7363
  let useAllNodes = fragment;
7364
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1C)}` : name$;
7364
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1B)}` : name$;
7365
7365
  const container = document.createElement(tag);
7366
7366
  const root = typeof el === "object" ? el : document.querySelector(el || "body");
7367
7367
  !alive && Portal.leafs.get(name)?.destroy();
@@ -7395,7 +7395,7 @@ var VcComponents = (function (exports, vue) {
7395
7395
  } else {
7396
7396
  const wrapper = this.wrapper;
7397
7397
  const app = vue.createApp({
7398
- name: COMPONENT_NAME$1C,
7398
+ name: COMPONENT_NAME$1B,
7399
7399
  parent,
7400
7400
  setup() {
7401
7401
  if (alive) {
@@ -7507,13 +7507,13 @@ var VcComponents = (function (exports, vue) {
7507
7507
  }
7508
7508
  };
7509
7509
 
7510
- const COMPONENT_NAME$1B = 'vc-portal-view';
7510
+ const COMPONENT_NAME$1A = 'vc-portal-view';
7511
7511
 
7512
7512
  /**
7513
7513
  * 写法不同,但与vue@2.x 保持一致
7514
7514
  */
7515
7515
  const PortalView = /* @__PURE__ */ vue.defineComponent({
7516
- name: COMPONENT_NAME$1B,
7516
+ name: COMPONENT_NAME$1A,
7517
7517
  props: props$18,
7518
7518
  setup(props, {
7519
7519
  slots
@@ -7684,9 +7684,9 @@ var VcComponents = (function (exports, vue) {
7684
7684
  return () => vue.h(props.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
7685
7685
  };
7686
7686
 
7687
- const COMPONENT_NAME$1A = "vc-clipboard";
7687
+ const COMPONENT_NAME$1z = "vc-clipboard";
7688
7688
  const Clipboard$1 = vue.defineComponent({
7689
- name: COMPONENT_NAME$1A,
7689
+ name: COMPONENT_NAME$1z,
7690
7690
  props: props$17,
7691
7691
  setup() {
7692
7692
  return useClipboard((content) => Message.success({ content }));
@@ -7726,9 +7726,9 @@ var VcComponents = (function (exports, vue) {
7726
7726
 
7727
7727
  /** @jsxImportSource vue */
7728
7728
 
7729
- const COMPONENT_NAME$1z = 'vcm-toast';
7729
+ const COMPONENT_NAME$1y = 'vcm-toast';
7730
7730
  const MToastView = /* @__PURE__ */ vue.defineComponent({
7731
- name: COMPONENT_NAME$1z,
7731
+ name: COMPONENT_NAME$1y,
7732
7732
  emits: ['close', 'portal-fulfilled'],
7733
7733
  props: props$16,
7734
7734
  setup(props, {
@@ -7830,9 +7830,9 @@ var VcComponents = (function (exports, vue) {
7830
7830
  const error$2 = create$6({ mode: "error" });
7831
7831
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
7832
7832
 
7833
- const COMPONENT_NAME$1y = "vcm-clipboard";
7833
+ const COMPONENT_NAME$1x = "vcm-clipboard";
7834
7834
  const MClipboard$1 = vue.defineComponent({
7835
- name: COMPONENT_NAME$1y,
7835
+ name: COMPONENT_NAME$1x,
7836
7836
  props: props$17,
7837
7837
  setup() {
7838
7838
  return useClipboard((content) => MToast.info({ content }));
@@ -7864,9 +7864,9 @@ var VcComponents = (function (exports, vue) {
7864
7864
  }
7865
7865
  };
7866
7866
 
7867
- const COMPONENT_NAME$1x = "vc-collapse";
7867
+ const COMPONENT_NAME$1w = "vc-collapse";
7868
7868
  const Collapse = vue.defineComponent({
7869
- name: COMPONENT_NAME$1x,
7869
+ name: COMPONENT_NAME$1w,
7870
7870
  props: props$15,
7871
7871
  emits: ["update:moodelValue", "change"],
7872
7872
  setup(props, { slots, emit }) {
@@ -7983,9 +7983,9 @@ var VcComponents = (function (exports, vue) {
7983
7983
  function _isSlot$3(s) {
7984
7984
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
7985
7985
  }
7986
- const COMPONENT_NAME$1w = 'vc-expand';
7986
+ const COMPONENT_NAME$1v = 'vc-expand';
7987
7987
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
7988
- name: COMPONENT_NAME$1w,
7988
+ name: COMPONENT_NAME$1v,
7989
7989
  props: props$13,
7990
7990
  setup(props, {
7991
7991
  slots
@@ -8015,9 +8015,9 @@ var VcComponents = (function (exports, vue) {
8015
8015
 
8016
8016
  /** @jsxImportSource vue */
8017
8017
 
8018
- const COMPONENT_NAME$1v = 'vc-collapse-item';
8018
+ const COMPONENT_NAME$1u = 'vc-collapse-item';
8019
8019
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
8020
- name: COMPONENT_NAME$1v,
8020
+ name: COMPONENT_NAME$1u,
8021
8021
  props: props$14,
8022
8022
  setup(props, {
8023
8023
  slots,
@@ -8092,9 +8092,9 @@ var VcComponents = (function (exports, vue) {
8092
8092
 
8093
8093
  /** @jsxImportSource vue */
8094
8094
 
8095
- const COMPONENT_NAME$1u = 'vc-color-picker';
8095
+ const COMPONENT_NAME$1t = 'vc-color-picker';
8096
8096
  const ColorPicker = /* @__PURE__ */ vue.defineComponent({
8097
- name: COMPONENT_NAME$1u,
8097
+ name: COMPONENT_NAME$1t,
8098
8098
  props: props$12,
8099
8099
  setup(props, {
8100
8100
  slots
@@ -8118,9 +8118,9 @@ var VcComponents = (function (exports, vue) {
8118
8118
 
8119
8119
  /** @jsxImportSource vue */
8120
8120
 
8121
- const COMPONENT_NAME$1t = 'vc-countdown';
8121
+ const COMPONENT_NAME$1s = 'vc-countdown';
8122
8122
  const Countdown = /* @__PURE__ */ vue.defineComponent({
8123
- name: COMPONENT_NAME$1t,
8123
+ name: COMPONENT_NAME$1s,
8124
8124
  props: props$11,
8125
8125
  setup(props, {
8126
8126
  slots
@@ -8633,9 +8633,9 @@ var VcComponents = (function (exports, vue) {
8633
8633
 
8634
8634
  /** @jsxImportSource vue */
8635
8635
 
8636
- const COMPONENT_NAME$1s = 'vc-input';
8636
+ const COMPONENT_NAME$1r = 'vc-input';
8637
8637
  const Input = /* @__PURE__ */ vue.defineComponent({
8638
- name: COMPONENT_NAME$1s,
8638
+ name: COMPONENT_NAME$1r,
8639
8639
  inheritAttrs: false,
8640
8640
  props: {
8641
8641
  ...props$$,
@@ -8969,9 +8969,9 @@ var VcComponents = (function (exports, vue) {
8969
8969
 
8970
8970
  /** @jsxImportSource vue */
8971
8971
 
8972
- const COMPONENT_NAME$1r = 'vc-input-number';
8972
+ const COMPONENT_NAME$1q = 'vc-input-number';
8973
8973
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
8974
- name: COMPONENT_NAME$1r,
8974
+ name: COMPONENT_NAME$1q,
8975
8975
  props: props$X,
8976
8976
  inheritAttrs: false,
8977
8977
  setup(props, {
@@ -9035,9 +9035,9 @@ var VcComponents = (function (exports, vue) {
9035
9035
 
9036
9036
  /** @jsxImportSource vue */
9037
9037
 
9038
- const COMPONENT_NAME$1q = 'vc-input-search';
9038
+ const COMPONENT_NAME$1p = 'vc-input-search';
9039
9039
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
9040
- name: COMPONENT_NAME$1q,
9040
+ name: COMPONENT_NAME$1p,
9041
9041
  props: props$W,
9042
9042
  inheritAttrs: false,
9043
9043
  setup(props, {
@@ -9328,9 +9328,9 @@ var VcComponents = (function (exports, vue) {
9328
9328
  function _isSlot$2(s) {
9329
9329
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
9330
9330
  }
9331
- const COMPONENT_NAME$1p = 'vc-popover-wrapper';
9331
+ const COMPONENT_NAME$1o = 'vc-popover-wrapper';
9332
9332
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
9333
- name: COMPONENT_NAME$1p,
9333
+ name: COMPONENT_NAME$1o,
9334
9334
  props: props$_,
9335
9335
  emits: ['portal-fulfilled', 'close'],
9336
9336
  setup(props, {
@@ -9582,9 +9582,9 @@ var VcComponents = (function (exports, vue) {
9582
9582
 
9583
9583
  /** @jsxImportSource vue */
9584
9584
 
9585
- const COMPONENT_NAME$1o = 'vc-popover';
9585
+ const COMPONENT_NAME$1n = 'vc-popover';
9586
9586
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
9587
- name: COMPONENT_NAME$1o,
9587
+ name: COMPONENT_NAME$1n,
9588
9588
  props: props$Z,
9589
9589
  emits: ['update:modelValue', 'visible-change', 'ready', 'close'],
9590
9590
  setup(props, {
@@ -10685,9 +10685,9 @@ var VcComponents = (function (exports, vue) {
10685
10685
  }
10686
10686
  return view;
10687
10687
  };
10688
- const COMPONENT_NAME$1n = 'vc-date-confirm';
10688
+ const COMPONENT_NAME$1m = 'vc-date-confirm';
10689
10689
  const Confirm = /* @__PURE__ */ vue.defineComponent({
10690
- name: COMPONENT_NAME$1n,
10690
+ name: COMPONENT_NAME$1m,
10691
10691
  props: {
10692
10692
  showTime: {
10693
10693
  type: Boolean,
@@ -10751,9 +10751,9 @@ var VcComponents = (function (exports, vue) {
10751
10751
 
10752
10752
  /** @jsxImportSource vue */
10753
10753
 
10754
- const COMPONENT_NAME$1m = 'vc-date-header';
10754
+ const COMPONENT_NAME$1l = 'vc-date-header';
10755
10755
  const DateHeader = /* @__PURE__ */ vue.defineComponent({
10756
- name: COMPONENT_NAME$1m,
10756
+ name: COMPONENT_NAME$1l,
10757
10757
  props: {
10758
10758
  panelDate: Date,
10759
10759
  showNext: {
@@ -10837,9 +10837,9 @@ var VcComponents = (function (exports, vue) {
10837
10837
 
10838
10838
  /** @jsxImportSource vue */
10839
10839
 
10840
- const COMPONENT_NAME$1l = 'vc-date-table';
10840
+ const COMPONENT_NAME$1k = 'vc-date-table';
10841
10841
  const DateTable = /* @__PURE__ */ vue.defineComponent({
10842
- name: COMPONENT_NAME$1l,
10842
+ name: COMPONENT_NAME$1k,
10843
10843
  props: {
10844
10844
  value: Array,
10845
10845
  firstDayOfWeek: {
@@ -11048,9 +11048,9 @@ var VcComponents = (function (exports, vue) {
11048
11048
 
11049
11049
  /** @jsxImportSource vue */
11050
11050
 
11051
- const COMPONENT_NAME$1k = 'vc-month-table';
11051
+ const COMPONENT_NAME$1j = 'vc-month-table';
11052
11052
  const MonthTable = /* @__PURE__ */ vue.defineComponent({
11053
- name: COMPONENT_NAME$1k,
11053
+ name: COMPONENT_NAME$1j,
11054
11054
  props: {
11055
11055
  value: Array,
11056
11056
  panelDate: Date,
@@ -11182,7 +11182,7 @@ var VcComponents = (function (exports, vue) {
11182
11182
 
11183
11183
  /** @jsxImportSource vue */
11184
11184
 
11185
- const COMPONENT_NAME$1j = 'vc-quarter-table';
11185
+ const COMPONENT_NAME$1i = 'vc-quarter-table';
11186
11186
 
11187
11187
  /**
11188
11188
  * 获取季度对应的月份范围
@@ -11216,7 +11216,7 @@ var VcComponents = (function (exports, vue) {
11216
11216
  }
11217
11217
  };
11218
11218
  const QuarterTable = /* @__PURE__ */ vue.defineComponent({
11219
- name: COMPONENT_NAME$1j,
11219
+ name: COMPONENT_NAME$1i,
11220
11220
  props: {
11221
11221
  value: Array,
11222
11222
  panelDate: Date,
@@ -11339,9 +11339,9 @@ var VcComponents = (function (exports, vue) {
11339
11339
 
11340
11340
  /** @jsxImportSource vue */
11341
11341
 
11342
- const COMPONENT_NAME$1i = 'vc-shortcuts-select';
11342
+ const COMPONENT_NAME$1h = 'vc-shortcuts-select';
11343
11343
  const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
11344
- name: COMPONENT_NAME$1i,
11344
+ name: COMPONENT_NAME$1h,
11345
11345
  props: {
11346
11346
  panelDate: Date,
11347
11347
  config: Array,
@@ -11381,9 +11381,9 @@ var VcComponents = (function (exports, vue) {
11381
11381
 
11382
11382
  /** @jsxImportSource vue */
11383
11383
 
11384
- const COMPONENT_NAME$1h = 'vc-time-select';
11384
+ const COMPONENT_NAME$1g = 'vc-time-select';
11385
11385
  const TimeSelect = /* @__PURE__ */ vue.defineComponent({
11386
- name: COMPONENT_NAME$1h,
11386
+ name: COMPONENT_NAME$1g,
11387
11387
  props: {
11388
11388
  hours: {
11389
11389
  type: [Number, String],
@@ -11662,9 +11662,9 @@ var VcComponents = (function (exports, vue) {
11662
11662
 
11663
11663
  /** @jsxImportSource vue */
11664
11664
 
11665
- const COMPONENT_NAME$1g = 'vc-year-table';
11665
+ const COMPONENT_NAME$1f = 'vc-year-table';
11666
11666
  const YearTable = /* @__PURE__ */ vue.defineComponent({
11667
- name: COMPONENT_NAME$1g,
11667
+ name: COMPONENT_NAME$1f,
11668
11668
  props: {
11669
11669
  value: Array,
11670
11670
  panelDate: Date,
@@ -11787,9 +11787,9 @@ var VcComponents = (function (exports, vue) {
11787
11787
  }
11788
11788
  return true;
11789
11789
  };
11790
- const COMPONENT_NAME$1f = 'vc-date-range-panel';
11790
+ const COMPONENT_NAME$1e = 'vc-date-range-panel';
11791
11791
  const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
11792
- name: COMPONENT_NAME$1f,
11792
+ name: COMPONENT_NAME$1e,
11793
11793
  props: {
11794
11794
  ...props$V,
11795
11795
  confirm: {
@@ -12168,9 +12168,9 @@ var VcComponents = (function (exports, vue) {
12168
12168
 
12169
12169
  /** @jsxImportSource vue */
12170
12170
 
12171
- const COMPONENT_NAME$1e = 'vc-date-panel';
12171
+ const COMPONENT_NAME$1d = 'vc-date-panel';
12172
12172
  const DatePanel = /* @__PURE__ */ vue.defineComponent({
12173
- name: COMPONENT_NAME$1e,
12173
+ name: COMPONENT_NAME$1d,
12174
12174
  props: {
12175
12175
  ...props$V,
12176
12176
  type: String,
@@ -12378,9 +12378,9 @@ var VcComponents = (function (exports, vue) {
12378
12378
  const endYear = value[1].getFullYear();
12379
12379
  return startYear === endYear;
12380
12380
  };
12381
- const COMPONENT_NAME$1d = 'vc-monthrange-panel';
12381
+ const COMPONENT_NAME$1c = 'vc-monthrange-panel';
12382
12382
  const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
12383
- name: COMPONENT_NAME$1d,
12383
+ name: COMPONENT_NAME$1c,
12384
12384
  props: {
12385
12385
  ...props$V,
12386
12386
  confirm: {
@@ -12555,9 +12555,9 @@ var VcComponents = (function (exports, vue) {
12555
12555
  const endYear = value[1].getFullYear();
12556
12556
  return startYear === endYear;
12557
12557
  };
12558
- const COMPONENT_NAME$1c = 'vc-quarterrange-panel';
12558
+ const COMPONENT_NAME$1b = 'vc-quarterrange-panel';
12559
12559
  const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
12560
- name: COMPONENT_NAME$1c,
12560
+ name: COMPONENT_NAME$1b,
12561
12561
  props: {
12562
12562
  ...props$V,
12563
12563
  confirm: {
@@ -12796,9 +12796,9 @@ var VcComponents = (function (exports, vue) {
12796
12796
  seconds
12797
12797
  };
12798
12798
  };
12799
- const COMPONENT_NAME$1b = 'vc-timerange-panel';
12799
+ const COMPONENT_NAME$1a = 'vc-timerange-panel';
12800
12800
  const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
12801
- name: COMPONENT_NAME$1b,
12801
+ name: COMPONENT_NAME$1a,
12802
12802
  props: props$U,
12803
12803
  emits: ['pick', 'clear', 'ok'],
12804
12804
  setup(props, {
@@ -12897,9 +12897,9 @@ var VcComponents = (function (exports, vue) {
12897
12897
 
12898
12898
  /** @jsxImportSource vue */
12899
12899
 
12900
- const COMPONENT_NAME$1a = 'vc-time-panel';
12900
+ const COMPONENT_NAME$19 = 'vc-time-panel';
12901
12901
  const TimePanel = /* @__PURE__ */ vue.defineComponent({
12902
- name: COMPONENT_NAME$1a,
12902
+ name: COMPONENT_NAME$19,
12903
12903
  props: props$U,
12904
12904
  emits: ['pick', 'clear', 'ok'],
12905
12905
  setup(props, {
@@ -12954,7 +12954,7 @@ var VcComponents = (function (exports, vue) {
12954
12954
 
12955
12955
  /** @jsxImportSource vue */
12956
12956
 
12957
- const COMPONENT_NAME$19 = 'vc-date-picker';
12957
+ const COMPONENT_NAME$18 = 'vc-date-picker';
12958
12958
  const getPanel$1 = type => {
12959
12959
  if (['daterange', 'datetimerange'].includes(type)) {
12960
12960
  return DateRangePanel;
@@ -12965,7 +12965,7 @@ var VcComponents = (function (exports, vue) {
12965
12965
  }
12966
12966
  return DatePanel;
12967
12967
  };
12968
- const DatePicker = createPicker(COMPONENT_NAME$19, props$10, () => {
12968
+ const DatePicker = createPicker(COMPONENT_NAME$18, props$10, () => {
12969
12969
  const props = vue.getCurrentInstance().props;
12970
12970
  const icon = vue.ref('date');
12971
12971
  const panel = vue.shallowRef({});
@@ -12998,9 +12998,9 @@ var VcComponents = (function (exports, vue) {
12998
12998
 
12999
12999
  /** @jsxImportSource vue */
13000
13000
 
13001
- const COMPONENT_NAME$18 = 'vc-divider';
13001
+ const COMPONENT_NAME$17 = 'vc-divider';
13002
13002
  const Divider = /* @__PURE__ */ vue.defineComponent({
13003
- name: COMPONENT_NAME$18,
13003
+ name: COMPONENT_NAME$17,
13004
13004
  props: props$T,
13005
13005
  setup(props, {
13006
13006
  slots
@@ -13155,7 +13155,7 @@ var VcComponents = (function (exports, vue) {
13155
13155
 
13156
13156
  /** @jsxImportSource vue */
13157
13157
 
13158
- const COMPONENT_NAME$17 = 'vc-scroller-track';
13158
+ const COMPONENT_NAME$16 = 'vc-scroller-track';
13159
13159
  const BAR_MAP = {
13160
13160
  vertical: {
13161
13161
  scroll: 'scrollTop',
@@ -13175,7 +13175,7 @@ var VcComponents = (function (exports, vue) {
13175
13175
  }
13176
13176
  };
13177
13177
  const Track$1 = /* @__PURE__ */ vue.defineComponent({
13178
- name: COMPONENT_NAME$17,
13178
+ name: COMPONENT_NAME$16,
13179
13179
  props: props$S,
13180
13180
  emits: ['change'],
13181
13181
  inheritAttrs: false,
@@ -13365,9 +13365,9 @@ var VcComponents = (function (exports, vue) {
13365
13365
 
13366
13366
  /** @jsxImportSource vue */
13367
13367
 
13368
- const COMPONENT_NAME$16 = 'vc-scroller-bar';
13368
+ const COMPONENT_NAME$15 = 'vc-scroller-bar';
13369
13369
  const Bar = /* @__PURE__ */ vue.defineComponent({
13370
- name: COMPONENT_NAME$16,
13370
+ name: COMPONENT_NAME$15,
13371
13371
  props: props$R,
13372
13372
  emits: ['change'],
13373
13373
  setup(props, {
@@ -13582,7 +13582,7 @@ var VcComponents = (function (exports, vue) {
13582
13582
 
13583
13583
  /** @jsxImportSource vue */
13584
13584
 
13585
- const COMPONENT_NAME$15 = 'vc-scroller';
13585
+ const COMPONENT_NAME$14 = 'vc-scroller';
13586
13586
 
13587
13587
  /**
13588
13588
  * 作为备选方案,目前推荐使用ScrollerWheel
@@ -13593,7 +13593,7 @@ var VcComponents = (function (exports, vue) {
13593
13593
  * 2. 增加了一层嵌套
13594
13594
  */
13595
13595
  const Scroller = /* @__PURE__ */ vue.defineComponent({
13596
- name: COMPONENT_NAME$15,
13596
+ name: COMPONENT_NAME$14,
13597
13597
  props: props$Q,
13598
13598
  emits: ['scroll'],
13599
13599
  setup(props, {
@@ -14543,7 +14543,7 @@ var VcComponents = (function (exports, vue) {
14543
14543
 
14544
14544
  /** @jsxImportSource vue */
14545
14545
 
14546
- const COMPONENT_NAME$14 = 'vc-scroller-wheel';
14546
+ const COMPONENT_NAME$13 = 'vc-scroller-wheel';
14547
14547
 
14548
14548
  /**
14549
14549
  * 为减少一层嵌套,为去除滚动bar的抖动,使用wheel模拟
@@ -14565,7 +14565,7 @@ var VcComponents = (function (exports, vue) {
14565
14565
  * 设置scrollTop不会reflow和repaint,不需要考虑transfrom来改变content(transform也只在draw完成)
14566
14566
  */
14567
14567
  const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
14568
- name: COMPONENT_NAME$14,
14568
+ name: COMPONENT_NAME$13,
14569
14569
  props: Object.assign(props$Q, {
14570
14570
  stopPropagation: {
14571
14571
  type: Boolean,
@@ -14744,9 +14744,9 @@ var VcComponents = (function (exports, vue) {
14744
14744
 
14745
14745
  /** @jsxImportSource vue */
14746
14746
 
14747
- const COMPONENT_NAME$13 = 'vc-drawer';
14747
+ const COMPONENT_NAME$12 = 'vc-drawer';
14748
14748
  const DrawerView = /* @__PURE__ */ vue.defineComponent({
14749
- name: COMPONENT_NAME$13,
14749
+ name: COMPONENT_NAME$12,
14750
14750
  props: props$P,
14751
14751
  emits: ['close', 'update:modelValue', 'visible-change'],
14752
14752
  setup(props, {
@@ -14919,9 +14919,9 @@ var VcComponents = (function (exports, vue) {
14919
14919
 
14920
14920
  /** @jsxImportSource vue */
14921
14921
 
14922
- const COMPONENT_NAME$12 = 'vc-dropdown';
14922
+ const COMPONENT_NAME$11 = 'vc-dropdown';
14923
14923
  const Dropdown = /* @__PURE__ */ vue.defineComponent({
14924
- name: COMPONENT_NAME$12,
14924
+ name: COMPONENT_NAME$11,
14925
14925
  props: props$O,
14926
14926
  setup(props, {
14927
14927
  slots
@@ -14945,9 +14945,9 @@ var VcComponents = (function (exports, vue) {
14945
14945
 
14946
14946
  /** @jsxImportSource vue */
14947
14947
 
14948
- const COMPONENT_NAME$11 = 'vc-editor';
14948
+ const COMPONENT_NAME$10 = 'vc-editor';
14949
14949
  const Editor = /* @__PURE__ */ vue.defineComponent({
14950
- name: COMPONENT_NAME$11,
14950
+ name: COMPONENT_NAME$10,
14951
14951
  props: props$N,
14952
14952
  setup(props, {
14953
14953
  slots
@@ -15091,9 +15091,9 @@ var VcComponents = (function (exports, vue) {
15091
15091
  });
15092
15092
  };
15093
15093
 
15094
- const COMPONENT_NAME$10 = "vc-form";
15094
+ const COMPONENT_NAME$$ = "vc-form";
15095
15095
  const Form = vue.defineComponent({
15096
- name: COMPONENT_NAME$10,
15096
+ name: COMPONENT_NAME$$,
15097
15097
  props: props$M,
15098
15098
  setup(props, { slots, expose }) {
15099
15099
  useForm(expose);
@@ -15545,9 +15545,9 @@ var VcComponents = (function (exports, vue) {
15545
15545
 
15546
15546
  /** @jsxImportSource vue */
15547
15547
 
15548
- const COMPONENT_NAME$$ = 'vc-form-item';
15548
+ const COMPONENT_NAME$_ = 'vc-form-item';
15549
15549
  const FormItem = /* @__PURE__ */ vue.defineComponent({
15550
- name: COMPONENT_NAME$$,
15550
+ name: COMPONENT_NAME$_,
15551
15551
  props: props$L,
15552
15552
  setup(props, {
15553
15553
  slots,
@@ -15612,9 +15612,9 @@ var VcComponents = (function (exports, vue) {
15612
15612
  }
15613
15613
  };
15614
15614
 
15615
- const COMPONENT_NAME$_ = "vcm-form";
15615
+ const COMPONENT_NAME$Z = "vcm-form";
15616
15616
  const MForm = vue.defineComponent({
15617
- name: COMPONENT_NAME$_,
15617
+ name: COMPONENT_NAME$Z,
15618
15618
  props: props$K,
15619
15619
  setup(props, { slots, expose }) {
15620
15620
  useForm(expose, {
@@ -15645,9 +15645,9 @@ var VcComponents = (function (exports, vue) {
15645
15645
 
15646
15646
  /** @jsxImportSource vue */
15647
15647
 
15648
- const COMPONENT_NAME$Z = 'vcm-form-item';
15648
+ const COMPONENT_NAME$Y = 'vcm-form-item';
15649
15649
  const MFormItem = /* @__PURE__ */ vue.defineComponent({
15650
- name: COMPONENT_NAME$Z,
15650
+ name: COMPONENT_NAME$Y,
15651
15651
  props: props$J,
15652
15652
  setup(props, {
15653
15653
  slots,
@@ -15701,9 +15701,9 @@ var VcComponents = (function (exports, vue) {
15701
15701
  }
15702
15702
  });
15703
15703
 
15704
- const COMPONENT_NAME$Y = "vc-fragment";
15704
+ const COMPONENT_NAME$X = "vc-fragment";
15705
15705
  const Fragment = vue.defineComponent({
15706
- name: COMPONENT_NAME$Y,
15706
+ name: COMPONENT_NAME$X,
15707
15707
  setup(_, { slots }) {
15708
15708
  return () => vue.h(vue.Fragment, slots.default?.());
15709
15709
  }
@@ -15720,9 +15720,9 @@ var VcComponents = (function (exports, vue) {
15720
15720
 
15721
15721
  /** @jsxImportSource vue */
15722
15722
 
15723
- const COMPONENT_NAME$X = 'vc-html-to-image';
15723
+ const COMPONENT_NAME$W = 'vc-html-to-image';
15724
15724
  const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
15725
- name: COMPONENT_NAME$X,
15725
+ name: COMPONENT_NAME$W,
15726
15726
  props: props$I,
15727
15727
  setup(props, {
15728
15728
  slots
@@ -16180,7 +16180,7 @@ var VcComponents = (function (exports, vue) {
16180
16180
 
16181
16181
  /** @jsxImportSource vue */
16182
16182
 
16183
- const COMPONENT_NAME$W = 'vc-image';
16183
+ const COMPONENT_NAME$V = 'vc-image';
16184
16184
  let isSupportObjectFit = false;
16185
16185
  window.addEventListener('DOMContentLoaded', () => {
16186
16186
  isSupportObjectFit = !IS_SERVER$2 && document.documentElement.style.objectFit !== undefined;
@@ -16193,7 +16193,7 @@ var VcComponents = (function (exports, vue) {
16193
16193
  SCALE_DOWN: 'scale-down'
16194
16194
  };
16195
16195
  const Image$1 = /* @__PURE__ */ vue.defineComponent({
16196
- name: COMPONENT_NAME$W,
16196
+ name: COMPONENT_NAME$V,
16197
16197
  inheritAttrs: false,
16198
16198
  props: props$H,
16199
16199
  setup(props, {
@@ -16398,9 +16398,9 @@ var VcComponents = (function (exports, vue) {
16398
16398
 
16399
16399
  /** @jsxImportSource vue */
16400
16400
 
16401
- const COMPONENT_NAME$V = 'vc-image-crop';
16401
+ const COMPONENT_NAME$U = 'vc-image-crop';
16402
16402
  const ImageCrop = /* @__PURE__ */ vue.defineComponent({
16403
- name: COMPONENT_NAME$V,
16403
+ name: COMPONENT_NAME$U,
16404
16404
  props: props$G,
16405
16405
  setup(props, {
16406
16406
  slots
@@ -16424,9 +16424,9 @@ var VcComponents = (function (exports, vue) {
16424
16424
 
16425
16425
  /** @jsxImportSource vue */
16426
16426
 
16427
- const COMPONENT_NAME$U = 'vc-image-preview';
16427
+ const COMPONENT_NAME$T = 'vc-image-preview';
16428
16428
  const ImagePreview = /* @__PURE__ */ vue.defineComponent({
16429
- name: COMPONENT_NAME$U,
16429
+ name: COMPONENT_NAME$T,
16430
16430
  props: props$F,
16431
16431
  setup(props, {
16432
16432
  slots
@@ -16450,9 +16450,9 @@ var VcComponents = (function (exports, vue) {
16450
16450
 
16451
16451
  /** @jsxImportSource vue */
16452
16452
 
16453
- const COMPONENT_NAME$T = 'vc-image-processing';
16453
+ const COMPONENT_NAME$S = 'vc-image-processing';
16454
16454
  const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
16455
- name: COMPONENT_NAME$T,
16455
+ name: COMPONENT_NAME$S,
16456
16456
  props: props$E,
16457
16457
  setup(props, {
16458
16458
  slots
@@ -16469,9 +16469,9 @@ var VcComponents = (function (exports, vue) {
16469
16469
 
16470
16470
  /** @jsxImportSource vue */
16471
16471
 
16472
- const COMPONENT_NAME$S = 'vcm-input';
16472
+ const COMPONENT_NAME$R = 'vcm-input';
16473
16473
  const MInput = /* @__PURE__ */ vue.defineComponent({
16474
- name: COMPONENT_NAME$S,
16474
+ name: COMPONENT_NAME$R,
16475
16475
  inheritAttrs: false,
16476
16476
  props: {
16477
16477
  ...props$$,
@@ -16560,9 +16560,9 @@ var VcComponents = (function (exports, vue) {
16560
16560
 
16561
16561
  /** @jsxImportSource vue */
16562
16562
 
16563
- const COMPONENT_NAME$R = 'vcm-input-number';
16563
+ const COMPONENT_NAME$Q = 'vcm-input-number';
16564
16564
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
16565
- name: COMPONENT_NAME$R,
16565
+ name: COMPONENT_NAME$Q,
16566
16566
  props: props$X,
16567
16567
  inheritAttrs: false,
16568
16568
  setup(props, {
@@ -16611,9 +16611,9 @@ var VcComponents = (function (exports, vue) {
16611
16611
 
16612
16612
  /** @jsxImportSource vue */
16613
16613
 
16614
- const COMPONENT_NAME$Q = 'vcm-input-search';
16614
+ const COMPONENT_NAME$P = 'vcm-input-search';
16615
16615
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
16616
- name: COMPONENT_NAME$Q,
16616
+ name: COMPONENT_NAME$P,
16617
16617
  props: {
16618
16618
  ...props$W,
16619
16619
  cancelText: {
@@ -16690,9 +16690,9 @@ var VcComponents = (function (exports, vue) {
16690
16690
  }
16691
16691
  };
16692
16692
 
16693
- const COMPONENT_NAME$P = "vcm-list";
16693
+ const COMPONENT_NAME$O = "vcm-list";
16694
16694
  const MList = vue.defineComponent({
16695
- name: COMPONENT_NAME$P,
16695
+ name: COMPONENT_NAME$O,
16696
16696
  props: props$D,
16697
16697
  setup(props, { slots }) {
16698
16698
  vue.provide("vc-list", { props });
@@ -16747,10 +16747,10 @@ var VcComponents = (function (exports, vue) {
16747
16747
 
16748
16748
  /** @jsxImportSource vue */
16749
16749
 
16750
- const COMPONENT_NAME$O = 'vcm-list-item';
16750
+ const COMPONENT_NAME$N = 'vcm-list-item';
16751
16751
  const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
16752
16752
  const MListItem = /* @__PURE__ */ vue.defineComponent({
16753
- name: COMPONENT_NAME$O,
16753
+ name: COMPONENT_NAME$N,
16754
16754
  props: props$C,
16755
16755
  emits: ['click'],
16756
16756
  setup(props, {
@@ -16883,11 +16883,11 @@ var VcComponents = (function (exports, vue) {
16883
16883
 
16884
16884
  /** @jsxImportSource vue */
16885
16885
 
16886
- const COMPONENT_NAME$N = 'vc-marquee';
16886
+ const COMPONENT_NAME$M = 'vc-marquee';
16887
16887
  const ANIMATION = prefixStyle('animation').camel;
16888
16888
  const TRANSFORM_KEBAB = prefixStyle('transform').kebab;
16889
16889
  const Marquee = /* @__PURE__ */ vue.defineComponent({
16890
- name: COMPONENT_NAME$N,
16890
+ name: COMPONENT_NAME$M,
16891
16891
  props: props$B,
16892
16892
  setup(props, {
16893
16893
  slots
@@ -16948,12 +16948,16 @@ var VcComponents = (function (exports, vue) {
16948
16948
  tag: {
16949
16949
  type: String,
16950
16950
  default: "div"
16951
+ },
16952
+ fill: {
16953
+ type: Boolean,
16954
+ default: true
16951
16955
  }
16952
16956
  };
16953
16957
 
16954
- const COMPONENT_NAME$M = "vc-resizer";
16958
+ const COMPONENT_NAME$L = "vc-resizer";
16955
16959
  const Resizer = vue.defineComponent({
16956
- name: COMPONENT_NAME$M,
16960
+ name: COMPONENT_NAME$L,
16957
16961
  props: props$A,
16958
16962
  emit: ["resize", "change"],
16959
16963
  setup(props, { emit, slots, expose }) {
@@ -17002,13 +17006,13 @@ var VcComponents = (function (exports, vue) {
17002
17006
  Resize.off(current.value, handleResize);
17003
17007
  timer && clearTimeout(timer);
17004
17008
  });
17005
- expose({ refresh });
17009
+ expose({ refresh, offsetHeight: height, offsetWidth: width });
17006
17010
  return () => {
17007
17011
  return vue.h(
17008
17012
  props.tag,
17009
17013
  {
17010
17014
  ref: current,
17011
- class: "vc-resizer"
17015
+ class: ["vc-resizer", { "is-fill": props.fill }]
17012
17016
  },
17013
17017
  slots.default?.(currentExposed.value)
17014
17018
  );
@@ -17100,10 +17104,10 @@ var VcComponents = (function (exports, vue) {
17100
17104
 
17101
17105
  /** @jsxImportSource vue */
17102
17106
 
17103
- const COMPONENT_NAME$L = 'vc-modal';
17107
+ const COMPONENT_NAME$K = 'vc-modal';
17104
17108
  let zIndexNumber = 1002;
17105
17109
  const ModalView = /* @__PURE__ */ vue.defineComponent({
17106
- name: COMPONENT_NAME$L,
17110
+ name: COMPONENT_NAME$K,
17107
17111
  emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change', 'ok', 'cancel'],
17108
17112
  props: props$z,
17109
17113
  setup(props, {
@@ -17530,9 +17534,9 @@ var VcComponents = (function (exports, vue) {
17530
17534
 
17531
17535
  /** @jsxImportSource vue */
17532
17536
 
17533
- const COMPONENT_NAME$K = 'vc-modal';
17537
+ const COMPONENT_NAME$J = 'vc-modal';
17534
17538
  const MModalView = /* @__PURE__ */ vue.defineComponent({
17535
- name: COMPONENT_NAME$K,
17539
+ name: COMPONENT_NAME$J,
17536
17540
  emits: ['update:modelValue', 'portal-fulfilled', 'close', 'ok', 'cancel'],
17537
17541
  props: props$y,
17538
17542
  setup(props, {
@@ -17744,9 +17748,9 @@ var VcComponents = (function (exports, vue) {
17744
17748
 
17745
17749
  /** @jsxImportSource vue */
17746
17750
 
17747
- const COMPONENT_NAME$J = 'vc-notice';
17751
+ const COMPONENT_NAME$I = 'vc-notice';
17748
17752
  const NoticeView = /* @__PURE__ */ vue.defineComponent({
17749
- name: COMPONENT_NAME$J,
17753
+ name: COMPONENT_NAME$I,
17750
17754
  props: props$x,
17751
17755
  emits: ['portal-fulfilled', 'close', 'before-close'],
17752
17756
  setup(props, {
@@ -17919,9 +17923,9 @@ var VcComponents = (function (exports, vue) {
17919
17923
 
17920
17924
  /** @jsxImportSource vue */
17921
17925
 
17922
- const COMPONENT_NAME$I = 'vc-option';
17926
+ const COMPONENT_NAME$H = 'vc-option';
17923
17927
  const Option$1 = /* @__PURE__ */ vue.defineComponent({
17924
- name: COMPONENT_NAME$I,
17928
+ name: COMPONENT_NAME$H,
17925
17929
  props: props$w,
17926
17930
  setup(props, {
17927
17931
  slots
@@ -18034,9 +18038,9 @@ var VcComponents = (function (exports, vue) {
18034
18038
 
18035
18039
  /** @jsxImportSource vue */
18036
18040
 
18037
- const COMPONENT_NAME$H = 'vc-tag';
18041
+ const COMPONENT_NAME$G = 'vc-tag';
18038
18042
  const Tag = /* @__PURE__ */ vue.defineComponent({
18039
- name: COMPONENT_NAME$H,
18043
+ name: COMPONENT_NAME$G,
18040
18044
  props: props$u,
18041
18045
  emits: ['close', 'change'],
18042
18046
  setup(props, {
@@ -18105,9 +18109,9 @@ var VcComponents = (function (exports, vue) {
18105
18109
 
18106
18110
  /** @jsxImportSource vue */
18107
18111
 
18108
- const COMPONENT_NAME$G = 'vc-select-option';
18112
+ const COMPONENT_NAME$F = 'vc-select-option';
18109
18113
  const Option = /* @__PURE__ */ vue.defineComponent({
18110
- name: COMPONENT_NAME$G,
18114
+ name: COMPONENT_NAME$F,
18111
18115
  props: props$t,
18112
18116
  setup(props, {
18113
18117
  slots
@@ -18180,9 +18184,9 @@ var VcComponents = (function (exports, vue) {
18180
18184
 
18181
18185
  /** @jsxImportSource vue */
18182
18186
 
18183
- const COMPONENT_NAME$F = 'vc-select-option-group';
18187
+ const COMPONENT_NAME$E = 'vc-select-option-group';
18184
18188
  const OptionGroup = /* @__PURE__ */ vue.defineComponent({
18185
- name: COMPONENT_NAME$F,
18189
+ name: COMPONENT_NAME$E,
18186
18190
  props: props$s,
18187
18191
  setup(props, {
18188
18192
  slots
@@ -18280,9 +18284,9 @@ var VcComponents = (function (exports, vue) {
18280
18284
  function _isSlot$1(s) {
18281
18285
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
18282
18286
  }
18283
- const COMPONENT_NAME$E = 'vc-select';
18287
+ const COMPONENT_NAME$D = 'vc-select';
18284
18288
  const Select = /* @__PURE__ */ vue.defineComponent({
18285
- name: COMPONENT_NAME$E,
18289
+ name: COMPONENT_NAME$D,
18286
18290
  props: props$r,
18287
18291
  emits: ['ready', 'close', 'visible-change', 'clear', 'change', 'update:modelValue'],
18288
18292
  setup(props, {
@@ -18526,9 +18530,9 @@ var VcComponents = (function (exports, vue) {
18526
18530
 
18527
18531
  /** @jsxImportSource vue */
18528
18532
 
18529
- const COMPONENT_NAME$D = 'vc-pagination';
18533
+ const COMPONENT_NAME$C = 'vc-pagination';
18530
18534
  const Pagination = /* @__PURE__ */ vue.defineComponent({
18531
- name: COMPONENT_NAME$D,
18535
+ name: COMPONENT_NAME$C,
18532
18536
  props: props$v,
18533
18537
  emits: ['update:current', 'change', 'page-size-change'],
18534
18538
  setup(props, {
@@ -18726,9 +18730,9 @@ var VcComponents = (function (exports, vue) {
18726
18730
 
18727
18731
  /** @jsxImportSource vue */
18728
18732
 
18729
- const COMPONENT_NAME$C = 'vc-picker';
18733
+ const COMPONENT_NAME$B = 'vc-picker';
18730
18734
  const Picker = /* @__PURE__ */ vue.defineComponent({
18731
- name: COMPONENT_NAME$C,
18735
+ name: COMPONENT_NAME$B,
18732
18736
  props: props$q,
18733
18737
  setup(props, {
18734
18738
  slots
@@ -18752,9 +18756,9 @@ var VcComponents = (function (exports, vue) {
18752
18756
 
18753
18757
  /** @jsxImportSource vue */
18754
18758
 
18755
- const COMPONENT_NAME$B = 'vc-popconfirm';
18759
+ const COMPONENT_NAME$A = 'vc-popconfirm';
18756
18760
  const Popconfirm = /* @__PURE__ */ vue.defineComponent({
18757
- name: COMPONENT_NAME$B,
18761
+ name: COMPONENT_NAME$A,
18758
18762
  props: props$p,
18759
18763
  setup(props, {
18760
18764
  slots
@@ -18780,9 +18784,9 @@ var VcComponents = (function (exports, vue) {
18780
18784
 
18781
18785
  /** @jsxImportSource vue */
18782
18786
 
18783
- const COMPONENT_NAME$A = 'vc-popup';
18787
+ const COMPONENT_NAME$z = 'vc-popup';
18784
18788
  const Popup = /* @__PURE__ */ vue.defineComponent({
18785
- name: COMPONENT_NAME$A,
18789
+ name: COMPONENT_NAME$z,
18786
18790
  props: props$o,
18787
18791
  setup(props, {
18788
18792
  slots
@@ -18809,9 +18813,9 @@ var VcComponents = (function (exports, vue) {
18809
18813
 
18810
18814
  /** @jsxImportSource vue */
18811
18815
 
18812
- const COMPONENT_NAME$z = 'vc-print';
18816
+ const COMPONENT_NAME$y = 'vc-print';
18813
18817
  const Print = /* @__PURE__ */ vue.defineComponent({
18814
- name: COMPONENT_NAME$z,
18818
+ name: COMPONENT_NAME$y,
18815
18819
  props: props$n,
18816
18820
  setup(props, {
18817
18821
  expose,
@@ -18875,6 +18879,12 @@ var VcComponents = (function (exports, vue) {
18875
18879
  type: Boolean,
18876
18880
  default: true
18877
18881
  },
18882
+ textStyle: {
18883
+ type: [String, Object]
18884
+ },
18885
+ textClass: {
18886
+ type: [String, Object]
18887
+ },
18878
18888
  animated: {
18879
18889
  type: Boolean,
18880
18890
  default: false
@@ -18907,9 +18917,9 @@ var VcComponents = (function (exports, vue) {
18907
18917
 
18908
18918
  /** @jsxImportSource vue */
18909
18919
 
18910
- const COMPONENT_NAME$y = 'vc-progress-circle';
18920
+ const COMPONENT_NAME$x = 'vc-progress-circle';
18911
18921
  const Circle$1 = /* @__PURE__ */ vue.defineComponent({
18912
- name: COMPONENT_NAME$y,
18922
+ name: COMPONENT_NAME$x,
18913
18923
  props: props$m,
18914
18924
  setup(props, {
18915
18925
  slots
@@ -18958,17 +18968,20 @@ var VcComponents = (function (exports, vue) {
18958
18968
  "stroke-linecap": "round",
18959
18969
  "fill-opacity": "0"
18960
18970
  }, null)]), vue.createVNode("div", {
18961
- "class": "vc-progress-circle__inner"
18962
- }, [slots.default ? slots.default() : props.showText && vue.createVNode("span", null, [`${props.percent}%`])])])]);
18971
+ "class": ['vc-progress-circle__inner']
18972
+ }, [slots.default ? slots.default() : props.showText && vue.createVNode("span", {
18973
+ "class": props.textClass,
18974
+ "style": props.textStyle
18975
+ }, [`${props.percent}%`])])])]);
18963
18976
  };
18964
18977
  }
18965
18978
  });
18966
18979
 
18967
18980
  /** @jsxImportSource vue */
18968
18981
 
18969
- const COMPONENT_NAME$x = 'vc-progress-line';
18982
+ const COMPONENT_NAME$w = 'vc-progress-line';
18970
18983
  const Line$2 = /* @__PURE__ */ vue.defineComponent({
18971
- name: COMPONENT_NAME$x,
18984
+ name: COMPONENT_NAME$w,
18972
18985
  props: props$m,
18973
18986
  setup(props) {
18974
18987
  const colorStyle = vue.computed(() => {
@@ -18997,12 +19010,15 @@ var VcComponents = (function (exports, vue) {
18997
19010
  "style": innerStyle.value,
18998
19011
  "class": [classes.value, 'vc-progress-line__inner']
18999
19012
  }, null)])]), props.showText && vue.createVNode("div", {
19000
- "class": "vc-progress-line__percent"
19013
+ "class": ['vc-progress-line__percent']
19001
19014
  }, [['error', 'success'].includes(props.status) ? vue.createVNode(Icon, {
19002
19015
  "type": props.status,
19003
19016
  "style": colorStyle.value,
19004
19017
  "class": [`is-${props.status}`, 'vc-progress-line__icon']
19005
- }, null) : vue.createVNode("span", null, [`${props.percent}%`])])]);
19018
+ }, null) : vue.createVNode("span", {
19019
+ "class": props.textClass,
19020
+ "style": props.textStyle
19021
+ }, [`${props.percent}%`])])]);
19006
19022
  };
19007
19023
  }
19008
19024
  });
@@ -19012,9 +19028,9 @@ var VcComponents = (function (exports, vue) {
19012
19028
  function _isSlot(s) {
19013
19029
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
19014
19030
  }
19015
- const COMPONENT_NAME$w = 'vc-progress';
19031
+ const COMPONENT_NAME$v = 'vc-progress';
19016
19032
  const Progress = /* @__PURE__ */ vue.defineComponent({
19017
- name: COMPONENT_NAME$w,
19033
+ name: COMPONENT_NAME$v,
19018
19034
  props: props$m,
19019
19035
  setup(props, {
19020
19036
  slots
@@ -19166,9 +19182,9 @@ var VcComponents = (function (exports, vue) {
19166
19182
 
19167
19183
  /** @jsxImportSource vue */
19168
19184
 
19169
- const COMPONENT_NAME$v = 'vc-radio';
19185
+ const COMPONENT_NAME$u = 'vc-radio';
19170
19186
  const Radio = /* @__PURE__ */ vue.defineComponent({
19171
- name: COMPONENT_NAME$v,
19187
+ name: COMPONENT_NAME$u,
19172
19188
  props: props$l,
19173
19189
  emits: ['update:modelValue', 'change'],
19174
19190
  setup(props, {
@@ -19279,9 +19295,9 @@ var VcComponents = (function (exports, vue) {
19279
19295
 
19280
19296
  /** @jsxImportSource vue */
19281
19297
 
19282
- const COMPONENT_NAME$u = 'vc-radio-group';
19298
+ const COMPONENT_NAME$t = 'vc-radio-group';
19283
19299
  const RadioGroup = /* @__PURE__ */ vue.defineComponent({
19284
- name: COMPONENT_NAME$u,
19300
+ name: COMPONENT_NAME$t,
19285
19301
  props: props$k,
19286
19302
  emits: ['update:modelValue', 'change'],
19287
19303
  setup(props, {
@@ -19303,9 +19319,9 @@ var VcComponents = (function (exports, vue) {
19303
19319
 
19304
19320
  /** @jsxImportSource vue */
19305
19321
 
19306
- const COMPONENT_NAME$t = 'vcm-radio';
19322
+ const COMPONENT_NAME$s = 'vcm-radio';
19307
19323
  const MRadio = /* @__PURE__ */ vue.defineComponent({
19308
- name: COMPONENT_NAME$t,
19324
+ name: COMPONENT_NAME$s,
19309
19325
  props: props$l,
19310
19326
  emits: ['update:modelValue', 'change'],
19311
19327
  setup(props, {
@@ -19346,9 +19362,9 @@ var VcComponents = (function (exports, vue) {
19346
19362
 
19347
19363
  /** @jsxImportSource vue */
19348
19364
 
19349
- const COMPONENT_NAME$s = 'vcm-radio-group';
19365
+ const COMPONENT_NAME$r = 'vcm-radio-group';
19350
19366
  const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
19351
- name: COMPONENT_NAME$s,
19367
+ name: COMPONENT_NAME$r,
19352
19368
  props: props$k,
19353
19369
  emits: ['update:modelValue', 'change'],
19354
19370
  setup(props, {
@@ -19377,9 +19393,9 @@ var VcComponents = (function (exports, vue) {
19377
19393
 
19378
19394
  /** @jsxImportSource vue */
19379
19395
 
19380
- const COMPONENT_NAME$r = 'vc-rate';
19396
+ const COMPONENT_NAME$q = 'vc-rate';
19381
19397
  const Rate = /* @__PURE__ */ vue.defineComponent({
19382
- name: COMPONENT_NAME$r,
19398
+ name: COMPONENT_NAME$q,
19383
19399
  props: props$j,
19384
19400
  setup(props, {
19385
19401
  slots
@@ -19561,9 +19577,9 @@ var VcComponents = (function (exports, vue) {
19561
19577
 
19562
19578
  /** @jsxImportSource vue */
19563
19579
 
19564
- const COMPONENT_NAME$q = 'vc-recycle-list-scroll-state';
19580
+ const COMPONENT_NAME$p = 'vc-recycle-list-scroll-state';
19565
19581
  const ScrollState = /* @__PURE__ */ vue.defineComponent({
19566
- name: COMPONENT_NAME$q,
19582
+ name: COMPONENT_NAME$p,
19567
19583
  setup(_, {
19568
19584
  slots
19569
19585
  }) {
@@ -19693,12 +19709,12 @@ var VcComponents = (function (exports, vue) {
19693
19709
 
19694
19710
  /** @jsxImportSource vue */
19695
19711
 
19696
- const COMPONENT_NAME$p = 'vc-recycle-list-container';
19712
+ const COMPONENT_NAME$o = 'vc-recycle-list-container';
19697
19713
 
19698
19714
  // TODO: 抽离
19699
19715
  const transformKey = prefixStyle('transform').camel;
19700
19716
  const Container = /* @__PURE__ */ vue.defineComponent({
19701
- name: COMPONENT_NAME$p,
19717
+ name: COMPONENT_NAME$o,
19702
19718
  props: props$h,
19703
19719
  emits: ['refresh'],
19704
19720
  setup(props, {
@@ -19796,51 +19812,6 @@ var VcComponents = (function (exports, vue) {
19796
19812
 
19797
19813
  /** @jsxImportSource vue */
19798
19814
 
19799
- const COMPONENT_NAME$o = 'vc-recycle-list-item';
19800
- const Item = /* @__PURE__ */ vue.defineComponent({
19801
- name: COMPONENT_NAME$o,
19802
- props: {
19803
- vertical: {
19804
- type: Boolean,
19805
- default: true
19806
- }
19807
- },
19808
- emits: ['resize', 'change'],
19809
- setup(_, {
19810
- emit,
19811
- slots
19812
- }) {
19813
- const K = useDirectionKeys();
19814
- const current = vue.ref();
19815
- const offsetSize = vue.ref(0);
19816
- let hasInitial = false;
19817
- const handleResize = () => {
19818
- const v = current.value.getBoundingClientRect()[K.size];
19819
- const changed = offsetSize.value != v;
19820
- if (changed) {
19821
- offsetSize.value = v;
19822
- hasInitial && emit('resize', v);
19823
- emit('change', v);
19824
- }
19825
- hasInitial = true;
19826
- };
19827
- vue.onMounted(() => {
19828
- Resize.on(current.value, handleResize); // 首次会执行一次
19829
- });
19830
- vue.onBeforeUnmount(() => {
19831
- Resize.off(current.value, handleResize);
19832
- });
19833
- return () => {
19834
- return vue.createVNode("div", {
19835
- "ref": current,
19836
- "class": "vc-recycle-list-item"
19837
- }, [slots?.default?.()]);
19838
- };
19839
- }
19840
- });
19841
-
19842
- /** @jsxImportSource vue */
19843
-
19844
19815
  const COMPONENT_NAME$n = 'vc-recycle-list';
19845
19816
  const RecycleList = /* @__PURE__ */ vue.defineComponent({
19846
19817
  name: COMPONENT_NAME$n,
@@ -20351,7 +20322,7 @@ var VcComponents = (function (exports, vue) {
20351
20322
  // eslint-disable-next-line @stylistic/max-len
20352
20323
  slots.placeholder?.() || renderer.value.placeholder && vue.createVNode(Customer, {
20353
20324
  "render": renderer.value.placeholder
20354
- }, null)]), !item.isPlaceholder && vue.createVNode(Item, {
20325
+ }, null)]), !item.isPlaceholder && vue.createVNode(Resizer, {
20355
20326
  "ref": v => curloads.value[item.id] = v,
20356
20327
  "class": {
20357
20328
  'vc-recycle-list__transition': hasPlaceholder.value
@@ -20359,11 +20330,11 @@ var VcComponents = (function (exports, vue) {
20359
20330
  "style": {
20360
20331
  opacity: item.loaded
20361
20332
  },
20333
+ "fill": false,
20362
20334
  "data-row": item.id,
20363
20335
  "data-column": item.column,
20364
20336
  "data-size": item.size,
20365
20337
  "data-position": item.position,
20366
- "vertical": props.vertical,
20367
20338
  "onResize": handleResize
20368
20339
  }, {
20369
20340
  default: () => [slots.default?.({
@@ -37980,14 +37951,14 @@ var VcComponents = (function (exports, vue) {
37980
37951
  }
37981
37952
  }
37982
37953
  if (column.children) {
37983
- let colSpan = 0;
37954
+ let colspan = 0;
37984
37955
  column.children.forEach((subColumn) => {
37985
37956
  traverse(subColumn, column);
37986
- colSpan += subColumn.colSpan;
37957
+ colspan += subColumn.colspan;
37987
37958
  });
37988
- column.colSpan = colSpan;
37959
+ column.colspan = colspan;
37989
37960
  } else {
37990
- column.colSpan = 1;
37961
+ column.colspan = 1;
37991
37962
  }
37992
37963
  };
37993
37964
  v.forEach((column) => {
@@ -38001,9 +37972,9 @@ var VcComponents = (function (exports, vue) {
38001
37972
  const allColumns = getAllColumns(v);
38002
37973
  allColumns.forEach((column) => {
38003
37974
  if (!column.children) {
38004
- column.rowSpan = maxLevel - column.level + 1;
37975
+ column.rowspan = maxLevel - column.level + 1;
38005
37976
  } else {
38006
- column.rowSpan = 1;
37977
+ column.rowspan = 1;
38007
37978
  }
38008
37979
  rows[column.level - 1].push(column);
38009
37980
  });
@@ -38072,6 +38043,7 @@ var VcComponents = (function (exports, vue) {
38072
38043
  selection: [],
38073
38044
  reserveSelection: false,
38074
38045
  selectable: null,
38046
+ expandSelectable: null,
38075
38047
  hoverRowIndex: null,
38076
38048
  // Current
38077
38049
  currentRow: null,
@@ -38598,6 +38570,7 @@ var VcComponents = (function (exports, vue) {
38598
38570
  this.layout = new Layout(this);
38599
38571
  const { props } = options.table;
38600
38572
  lodashExports.merge(this.states, {
38573
+ expandSelectable: props.expandSelectable,
38601
38574
  treeLazy: props.lazy || false,
38602
38575
  treeLazyColumnIdentifier: props.treeMap.hasChildren || "hasChildren",
38603
38576
  treeChildrenColumnName: props.treeMap.children || "children"
@@ -38920,8 +38893,7 @@ var VcComponents = (function (exports, vue) {
38920
38893
  }
38921
38894
 
38922
38895
  const useStates = (mapper, $store) => {
38923
- const instance = vue.getCurrentInstance();
38924
- const store = $store || instance.proxy?.store;
38896
+ const store = $store || vue.inject("vc-table")?.store;
38925
38897
  const states = vue.reactive({});
38926
38898
  Object.keys(mapper).forEach((key) => {
38927
38899
  const value = mapper[key];
@@ -38956,16 +38928,16 @@ var VcComponents = (function (exports, vue) {
38956
38928
  emit,
38957
38929
  slots
38958
38930
  }) {
38959
- const handleResize = (size, index) => {
38931
+ const handleResize = (e, index) => {
38960
38932
  emit('row-resize', {
38961
38933
  index,
38962
- size
38934
+ size: e.height
38963
38935
  });
38964
38936
  };
38965
38937
  return () => {
38966
38938
  return props.data.map((row, index) => {
38967
- return vue.createVNode(Item, {
38968
- "vertical": false,
38939
+ return vue.createVNode(Resizer, {
38940
+ "fill": false,
38969
38941
  "onChange": e => handleResize(e, index)
38970
38942
  }, {
38971
38943
  default: () => [slots.default?.({
@@ -38981,7 +38953,6 @@ var VcComponents = (function (exports, vue) {
38981
38953
  const TableBody = /* @__PURE__ */ vue.defineComponent({
38982
38954
  name: 'vc-table-body',
38983
38955
  props: {
38984
- store: Object,
38985
38956
  fixed: String,
38986
38957
  heightStyle: [Object, Array, String]
38987
38958
  },
@@ -38992,6 +38963,7 @@ var VcComponents = (function (exports, vue) {
38992
38963
  }) {
38993
38964
  const instance = vue.getCurrentInstance();
38994
38965
  const table = vue.inject('vc-table');
38966
+ const allowRender = vue.ref(false);
38995
38967
  const states = useStates({
38996
38968
  data: 'data',
38997
38969
  list: 'list',
@@ -39009,8 +38981,8 @@ var VcComponents = (function (exports, vue) {
39009
38981
  }) => type === 'default')
39010
38982
  });
39011
38983
  const wrapper = vue.ref();
39012
- vue.watch(() => props.store.states.hoverRowIndex, (v, oldV) => {
39013
- if (!props.store.states.isComplex || IS_SERVER$2) return;
38984
+ vue.watch(() => table.store.states.hoverRowIndex, (v, oldV) => {
38985
+ if (!table.store.states.isComplex || IS_SERVER$2) return;
39014
38986
  raf(() => {
39015
38987
  const rows = instance.vnode.el.querySelectorAll('.vc-table__row');
39016
38988
  const oldRow = rows[oldV];
@@ -39054,7 +39026,7 @@ var VcComponents = (function (exports, vue) {
39054
39026
  };
39055
39027
  const getRowClass = (row, rowIndex) => {
39056
39028
  const classes = ['vc-table__row'];
39057
- if (table.props.highlight && row === props.store.states.currentRow) {
39029
+ if (table.props.highlight && row === table.store.states.currentRow) {
39058
39030
  classes.push('current-row');
39059
39031
  }
39060
39032
  if (table.props.stripe && rowIndex % 2 === 1) {
@@ -39069,7 +39041,7 @@ var VcComponents = (function (exports, vue) {
39069
39041
  rowIndex
39070
39042
  }));
39071
39043
  }
39072
- if (props.store.states.expandRows.indexOf(row) > -1) {
39044
+ if (table.store.states.expandRows.indexOf(row) > -1) {
39073
39045
  classes.push('expanded');
39074
39046
  }
39075
39047
  return classes;
@@ -39152,10 +39124,10 @@ var VcComponents = (function (exports, vue) {
39152
39124
  table.emit('cell-mouse-leave', oldHoverState.row, oldHoverState.column, oldHoverState.cell, e);
39153
39125
  };
39154
39126
  const handleMouseEnter = debounce$1(index => {
39155
- props.store.setHoverRow(index);
39127
+ table.store.setHoverRow(index);
39156
39128
  }, 30);
39157
39129
  const handleMouseLeave = debounce$1(() => {
39158
- props.store.setHoverRow(null);
39130
+ table.store.setHoverRow(null);
39159
39131
  }, 30);
39160
39132
  const handleEvent = (e, row, name) => {
39161
39133
  const cell = getCell(e);
@@ -39175,10 +39147,13 @@ var VcComponents = (function (exports, vue) {
39175
39147
  handleEvent(e, row, 'dblclick');
39176
39148
  };
39177
39149
  const handleClick = (e, row) => {
39178
- props.store.setCurrentRow(row);
39150
+ table.store.setCurrentRow(row);
39179
39151
  handleEvent(e, row, 'click');
39180
39152
  };
39181
39153
  const renderRow = (rowData, rowIndex) => {
39154
+ const {
39155
+ rowHeight
39156
+ } = table.props;
39182
39157
  const {
39183
39158
  data: row
39184
39159
  } = rowData;
@@ -39186,7 +39161,8 @@ var VcComponents = (function (exports, vue) {
39186
39161
  columns
39187
39162
  } = states;
39188
39163
  const key = getValueOfRow(row, rowIndex);
39189
- const selected = props.store.isSelected(row);
39164
+ const selected = table.store.isSelected(row);
39165
+ const height = rowHeight || rowData.height;
39190
39166
  return vue.createVNode("div", {
39191
39167
  "key": key,
39192
39168
  "class": [getRowClass(row, rowIndex), 'vc-table__tr'],
@@ -39203,7 +39179,7 @@ var VcComponents = (function (exports, vue) {
39203
39179
  } = column;
39204
39180
  const sizeStyle = {
39205
39181
  width: `${realWidth}px`,
39206
- height: `${rowData.height ? `${rowData.height}px` : 'auto'}`
39182
+ height: `${height ? `${height}px` : 'auto'}`
39207
39183
  };
39208
39184
  if (columnsHidden.value[columnIndex]) {
39209
39185
  return vue.createVNode("div", {
@@ -39222,7 +39198,7 @@ var VcComponents = (function (exports, vue) {
39222
39198
  column,
39223
39199
  rowIndex,
39224
39200
  columnIndex,
39225
- store: props.store,
39201
+ store: table.store,
39226
39202
  selected
39227
39203
  })]);
39228
39204
  })]);
@@ -39239,6 +39215,7 @@ var VcComponents = (function (exports, vue) {
39239
39215
  })]);
39240
39216
  };
39241
39217
  const handleMergeRowResize = v => {
39218
+ if (table.props.rowHeight) return;
39242
39219
  states.list[v.index].rows.forEach(row => {
39243
39220
  row.heightMap[props.fixed || 'main'] = v.size;
39244
39221
  const heights = [row.heightMap.main];
@@ -39258,7 +39235,17 @@ var VcComponents = (function (exports, vue) {
39258
39235
  getRootElement: () => instance.vnode.el
39259
39236
  });
39260
39237
  const layout = table.layout;
39238
+ let timer;
39239
+ vue.onBeforeMount(() => {
39240
+ if (table.props.delay) {
39241
+ timer = setTimeout(() => allowRender.value = true, table.props.delay);
39242
+ } else {
39243
+ allowRender.value = true;
39244
+ }
39245
+ });
39246
+ vue.onBeforeUnmount(() => (timer && clearTimeout(timer), allowRender.value = false));
39261
39247
  return () => {
39248
+ if (!allowRender.value) return;
39262
39249
  return vue.createVNode("div", {
39263
39250
  "class": "vc-table__body"
39264
39251
  }, [table.props.height ? vue.createVNode(RecycleList, {
@@ -39307,10 +39294,6 @@ var VcComponents = (function (exports, vue) {
39307
39294
  name: 'vc-table-header',
39308
39295
  props: {
39309
39296
  fixed: [Boolean, String],
39310
- store: {
39311
- type: Object,
39312
- required: true
39313
- },
39314
39297
  border: Boolean,
39315
39298
  // 排序全部交给外部处理,内部不处理数据,只做交互
39316
39299
  defaultSort: {
@@ -39459,7 +39442,7 @@ var VcComponents = (function (exports, vue) {
39459
39442
  column.width = columnWidth;
39460
39443
  column.realWidth = column.width;
39461
39444
  table.$emit('header-dragend', column.width, startLeft - startColumnLeft, column, event);
39462
- props.store.scheduleLayout();
39445
+ table.store.scheduleLayout();
39463
39446
  document.body.style.cursor = '';
39464
39447
  dragging.value = false;
39465
39448
  draggingColumn.value = null;
@@ -39564,7 +39547,7 @@ var VcComponents = (function (exports, vue) {
39564
39547
  }, [column.renderHeader ? column.renderHeader({
39565
39548
  column,
39566
39549
  columnIndex,
39567
- store: props.store
39550
+ store: table.store
39568
39551
  }) : column.label, column.tooltip ? vue.createVNode(Icon, {
39569
39552
  "type": "o-info",
39570
39553
  "onMouseenter": e => handleCellMouseEnter(e, column)
@@ -39587,10 +39570,6 @@ var VcComponents = (function (exports, vue) {
39587
39570
  name: 'vc-table-footer',
39588
39571
  props: {
39589
39572
  fixed: [String, Boolean],
39590
- store: {
39591
- type: Object,
39592
- required: true
39593
- },
39594
39573
  getSummary: Function,
39595
39574
  sumText: String,
39596
39575
  border: Boolean
@@ -39612,7 +39591,7 @@ var VcComponents = (function (exports, vue) {
39612
39591
  } else if (props.fixed === 'right') {
39613
39592
  let before = 0;
39614
39593
  for (let i = 0; i < index; i++) {
39615
- before += states.columns[i].colSpan;
39594
+ before += states.columns[i].colspan;
39616
39595
  }
39617
39596
  return before < states.columnsCount - states.rightFixedLeafCount;
39618
39597
  } else if (!props.fixed && column.fixed) {
@@ -39706,6 +39685,7 @@ var VcComponents = (function (exports, vue) {
39706
39685
  width: [String, Number],
39707
39686
  height: [String, Number],
39708
39687
  maxHeight: [String, Number],
39688
+ rowHeight: [String, Number],
39709
39689
  // 列的宽度是否自撑开
39710
39690
  fit: {
39711
39691
  type: Boolean,
@@ -39786,7 +39766,9 @@ var VcComponents = (function (exports, vue) {
39786
39766
  defaultSort: {
39787
39767
  type: Object,
39788
39768
  default: () => ({})
39789
- }
39769
+ },
39770
+ // 用于延迟渲染,用于计算高度
39771
+ delay: Number
39790
39772
  };
39791
39773
 
39792
39774
  /** @jsxImportSource vue */
@@ -40199,7 +40181,6 @@ var VcComponents = (function (exports, vue) {
40199
40181
  "class": "vc-table__header-wrapper"
40200
40182
  }, [vue.createVNode(TableHeader, {
40201
40183
  "ref": tableHeader,
40202
- "store": store,
40203
40184
  "border": props.border,
40204
40185
  "default-sort": props.defaultSort,
40205
40186
  "style": bodyWidthStyle.value
@@ -40215,7 +40196,6 @@ var VcComponents = (function (exports, vue) {
40215
40196
  }, {
40216
40197
  default: () => [vue.createVNode(TableBody, {
40217
40198
  "ref": body,
40218
- "store": store,
40219
40199
  "style": [bodyWidthStyle.value],
40220
40200
  "height-style": [bodyHeightStyle.value],
40221
40201
  "onScroll": handleScollY
@@ -40235,7 +40215,6 @@ var VcComponents = (function (exports, vue) {
40235
40215
  "ref": footerWrapper,
40236
40216
  "class": "vc-table__footer-wrapper"
40237
40217
  }, [vue.createVNode(TableFooter, {
40238
- "store": store,
40239
40218
  "border": props.border,
40240
40219
  "sum-text": props.sumText || '合计',
40241
40220
  "get-summary": props.getSummary,
@@ -40251,7 +40230,6 @@ var VcComponents = (function (exports, vue) {
40251
40230
  "class": "vc-table__fixed-header-wrapper"
40252
40231
  }, [vue.createVNode(TableHeader, {
40253
40232
  "ref": leftFixedTableHeader,
40254
- "store": store,
40255
40233
  "border": props.border,
40256
40234
  "default-sort": props.defaultSort,
40257
40235
  "style": bodyWidthStyle.value,
@@ -40264,7 +40242,6 @@ var VcComponents = (function (exports, vue) {
40264
40242
  "class": "vc-table__fixed-body-wrapper"
40265
40243
  }, [vue.createVNode(TableBody, {
40266
40244
  "ref": leftFixedBody,
40267
- "store": store,
40268
40245
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
40269
40246
  "fixed": "left"
40270
40247
  }, null), slots.append && vue.createVNode("div", {
@@ -40276,7 +40253,6 @@ var VcComponents = (function (exports, vue) {
40276
40253
  "ref": leftFixedFooterWrapper,
40277
40254
  "class": "vc-table__fixed-footer-wrapper"
40278
40255
  }, [vue.createVNode(TableFooter, {
40279
- "store": store,
40280
40256
  "border": props.border,
40281
40257
  "sum-text": props.sumText || '合计',
40282
40258
  "get-summary": props.getSummary,
@@ -40293,7 +40269,6 @@ var VcComponents = (function (exports, vue) {
40293
40269
  "class": "vc-table__fixed-header-wrapper"
40294
40270
  }, [vue.createVNode(TableHeader, {
40295
40271
  "ref": rightFixedTableHeader,
40296
- "store": store,
40297
40272
  "border": props.border,
40298
40273
  "default-sort": props.defaultSort,
40299
40274
  "style": bodyWidthStyle.value,
@@ -40306,7 +40281,6 @@ var VcComponents = (function (exports, vue) {
40306
40281
  "class": "vc-table__fixed-body-wrapper"
40307
40282
  }, [vue.createVNode(TableBody, {
40308
40283
  "ref": rightFixedBody,
40309
- "store": store,
40310
40284
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
40311
40285
  "fixed": "right"
40312
40286
  }, null), slots.append && vue.createVNode("div", {
@@ -40318,7 +40292,6 @@ var VcComponents = (function (exports, vue) {
40318
40292
  "ref": rightFixedFooterWrapper,
40319
40293
  "class": "vc-table__fixed-footer-wrapper"
40320
40294
  }, [vue.createVNode(TableFooter, {
40321
- "store": store,
40322
40295
  "border": props.border,
40323
40296
  "sum-text": props.sumText || '合计',
40324
40297
  "get-summary": props.getSummary,
@@ -40383,7 +40356,7 @@ var VcComponents = (function (exports, vue) {
40383
40356
  "disabled": column.selectable ? !column.selectable.call(null, row, rowIndex) : false,
40384
40357
  "onChange": () => store.rowSelectedChanged(row),
40385
40358
  "onClick": e => e.stopPropagation()
40386
- }, null), [[vue.vShow, store.table.props.expandSelectable || level === 0]]);
40359
+ }, null), [[vue.vShow, store.states.expandSelectable || level === 0]]);
40387
40360
  },
40388
40361
  sortable: false,
40389
40362
  resizable: false
@@ -40617,16 +40590,9 @@ var VcComponents = (function (exports, vue) {
40617
40590
  * @returns ~
40618
40591
  */
40619
40592
  const setColumnWidth = column => {
40620
- if (realWidth.value) {
40621
- column.width = realWidth.value;
40622
- }
40623
- if (realMinWidth.value) {
40624
- column.minWidth = realMinWidth.value;
40625
- }
40626
- if (!column.minWidth) {
40627
- column.minWidth = 80;
40628
- }
40629
- column.realWidth = column.width === undefined ? column.minWidth : column.width;
40593
+ column.width = realWidth.value || column.width;
40594
+ column.minWidth = realMinWidth.value || column.minWidth || 80;
40595
+ column.realWidth = typeof column.width === 'undefined' ? column.minWidth : column.width;
40630
40596
  return column;
40631
40597
  };
40632
40598
 
@@ -40699,6 +40665,8 @@ var VcComponents = (function (exports, vue) {
40699
40665
  };
40700
40666
  const registerColumn = () => {
40701
40667
  const defaults = {
40668
+ colspan: 1,
40669
+ rowspan: 1,
40702
40670
  ...cellStarts[props.type],
40703
40671
  id: columnId.value,
40704
40672
  realAlign,