@deot/vc 1.0.13 → 1.0.15

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.
@@ -24161,9 +24161,9 @@
24161
24161
  default: "div"
24162
24162
  }
24163
24163
  };
24164
- const COMPONENT_NAME$1$ = "vc-action-sheet";
24164
+ const COMPONENT_NAME$1_ = "vc-action-sheet";
24165
24165
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
24166
- name: COMPONENT_NAME$1$,
24166
+ name: COMPONENT_NAME$1_,
24167
24167
  props: props$1q,
24168
24168
  setup(props2, {
24169
24169
  slots
@@ -24343,9 +24343,9 @@
24343
24343
  }
24344
24344
  }
24345
24345
  const IconManager = new Manager();
24346
- const COMPONENT_NAME$1_ = "vc-icon";
24346
+ const COMPONENT_NAME$1Z = "vc-icon";
24347
24347
  const Icon = /* @__PURE__ */ vue.defineComponent({
24348
- name: COMPONENT_NAME$1_,
24348
+ name: COMPONENT_NAME$1Z,
24349
24349
  props: props$1o,
24350
24350
  setup(props2) {
24351
24351
  const viewBox = vue.ref("0 0 1024 1024");
@@ -24541,9 +24541,9 @@
24541
24541
  }
24542
24542
  };
24543
24543
  };
24544
- const COMPONENT_NAME$1Z = "vc-transition";
24544
+ const COMPONENT_NAME$1Y = "vc-transition";
24545
24545
  const Transition = vue.defineComponent({
24546
- name: COMPONENT_NAME$1Z,
24546
+ name: COMPONENT_NAME$1Y,
24547
24547
  props: props$1n,
24548
24548
  // 当不声明emits的情况下,事件存在于attrs中
24549
24549
  inheritAttrs: false,
@@ -24563,9 +24563,9 @@
24563
24563
  };
24564
24564
  }
24565
24565
  });
24566
- const COMPONENT_NAME$1Y = "vc-transition-collapse";
24566
+ const COMPONENT_NAME$1X = "vc-transition-collapse";
24567
24567
  const TransitionCollapse = vue.defineComponent({
24568
- name: COMPONENT_NAME$1Y,
24568
+ name: COMPONENT_NAME$1X,
24569
24569
  props: props$1n,
24570
24570
  // 当不声明emits的情况下,事件存在于attrs中
24571
24571
  inheritAttrs: false,
@@ -24683,9 +24683,9 @@
24683
24683
  };
24684
24684
  }
24685
24685
  });
24686
- const COMPONENT_NAME$1X = "vc-transition-fade";
24686
+ const COMPONENT_NAME$1W = "vc-transition-fade";
24687
24687
  const TransitionFade = vue.defineComponent({
24688
- name: COMPONENT_NAME$1X,
24688
+ name: COMPONENT_NAME$1W,
24689
24689
  props: {
24690
24690
  ...props$1n,
24691
24691
  // inheritAttrs必须是false
@@ -24719,9 +24719,9 @@
24719
24719
  };
24720
24720
  }
24721
24721
  });
24722
- const COMPONENT_NAME$1W = "vc-transition-scale";
24722
+ const COMPONENT_NAME$1V = "vc-transition-scale";
24723
24723
  const TransitionScale = vue.defineComponent({
24724
- name: COMPONENT_NAME$1W,
24724
+ name: COMPONENT_NAME$1V,
24725
24725
  props: {
24726
24726
  ...props$1n,
24727
24727
  mode: {
@@ -24760,9 +24760,9 @@
24760
24760
  };
24761
24761
  }
24762
24762
  });
24763
- const COMPONENT_NAME$1V = "vc-transition-slide";
24763
+ const COMPONENT_NAME$1U = "vc-transition-slide";
24764
24764
  const TransitionSlide = vue.defineComponent({
24765
- name: COMPONENT_NAME$1V,
24765
+ name: COMPONENT_NAME$1U,
24766
24766
  props: {
24767
24767
  ...props$1n,
24768
24768
  mode: {
@@ -24801,9 +24801,9 @@
24801
24801
  };
24802
24802
  }
24803
24803
  });
24804
- const COMPONENT_NAME$1U = "vc-transition-zoom";
24804
+ const COMPONENT_NAME$1T = "vc-transition-zoom";
24805
24805
  const TransitionZoom = vue.defineComponent({
24806
- name: COMPONENT_NAME$1U,
24806
+ name: COMPONENT_NAME$1T,
24807
24807
  props: {
24808
24808
  ...props$1n,
24809
24809
  mode: {
@@ -24842,7 +24842,7 @@
24842
24842
  };
24843
24843
  }
24844
24844
  });
24845
- const COMPONENT_NAME$1T = "vc-alert";
24845
+ const COMPONENT_NAME$1S = "vc-alert";
24846
24846
  const THEME_MAP = {
24847
24847
  info: ["#2B72FD", "#91d5ff", "#e6f7ff"],
24848
24848
  success: ["#52c41a", "#b7eb8f", "#f6ffed"],
@@ -24850,7 +24850,7 @@
24850
24850
  warning: ["#ffbf00", "#ffe58f", "#fffbe6"]
24851
24851
  };
24852
24852
  const Alert = /* @__PURE__ */ vue.defineComponent({
24853
- name: COMPONENT_NAME$1T,
24853
+ name: COMPONENT_NAME$1S,
24854
24854
  props: props$1p,
24855
24855
  setup(props2, {
24856
24856
  slots,
@@ -24943,9 +24943,9 @@
24943
24943
  default: "div"
24944
24944
  }
24945
24945
  };
24946
- const COMPONENT_NAME$1S = "vc-artboard";
24946
+ const COMPONENT_NAME$1R = "vc-artboard";
24947
24947
  const Artboard = /* @__PURE__ */ vue.defineComponent({
24948
- name: COMPONENT_NAME$1S,
24948
+ name: COMPONENT_NAME$1R,
24949
24949
  props: props$1m,
24950
24950
  setup(props2, {
24951
24951
  slots
@@ -24979,9 +24979,9 @@
24979
24979
  default: false
24980
24980
  }
24981
24981
  };
24982
- const COMPONENT_NAME$1R = "vc-spin";
24982
+ const COMPONENT_NAME$1Q = "vc-spin";
24983
24983
  const Spin = /* @__PURE__ */ vue.defineComponent({
24984
- name: COMPONENT_NAME$1R,
24984
+ name: COMPONENT_NAME$1Q,
24985
24985
  props: props$1l,
24986
24986
  setup(props2, {
24987
24987
  slots
@@ -25030,9 +25030,9 @@
25030
25030
  },
25031
25031
  exclude: RegExp
25032
25032
  };
25033
- const COMPONENT_NAME$1Q = "vc-debounce";
25033
+ const COMPONENT_NAME$1P = "vc-debounce";
25034
25034
  const Debounce = vue.defineComponent({
25035
- name: COMPONENT_NAME$1Q,
25035
+ name: COMPONENT_NAME$1P,
25036
25036
  props: props$1k,
25037
25037
  /**
25038
25038
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
@@ -25100,9 +25100,9 @@
25100
25100
  default: "button"
25101
25101
  }
25102
25102
  };
25103
- const COMPONENT_NAME$1P = "vc-button";
25103
+ const COMPONENT_NAME$1O = "vc-button";
25104
25104
  const Button = /* @__PURE__ */ vue.defineComponent({
25105
- name: COMPONENT_NAME$1P,
25105
+ name: COMPONENT_NAME$1O,
25106
25106
  emits: ["click"],
25107
25107
  props: props$1j,
25108
25108
  setup(props2, {
@@ -25178,9 +25178,9 @@
25178
25178
  default: false
25179
25179
  }
25180
25180
  };
25181
- const COMPONENT_NAME$1O = "vc-button-group";
25181
+ const COMPONENT_NAME$1N = "vc-button-group";
25182
25182
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
25183
- name: COMPONENT_NAME$1O,
25183
+ name: COMPONENT_NAME$1N,
25184
25184
  props: props$1i,
25185
25185
  setup(props2, {
25186
25186
  slots
@@ -25209,9 +25209,9 @@
25209
25209
  default: "div"
25210
25210
  }
25211
25211
  };
25212
- const COMPONENT_NAME$1N = "vc-calendar";
25212
+ const COMPONENT_NAME$1M = "vc-calendar";
25213
25213
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
25214
- name: COMPONENT_NAME$1N,
25214
+ name: COMPONENT_NAME$1M,
25215
25215
  props: props$1h,
25216
25216
  setup(props2, {
25217
25217
  slots
@@ -25244,9 +25244,9 @@
25244
25244
  type: String
25245
25245
  }
25246
25246
  };
25247
- const COMPONENT_NAME$1M = "vc-card";
25247
+ const COMPONENT_NAME$1L = "vc-card";
25248
25248
  const Card = /* @__PURE__ */ vue.defineComponent({
25249
- name: COMPONENT_NAME$1M,
25249
+ name: COMPONENT_NAME$1L,
25250
25250
  props: props$1g,
25251
25251
  setup(props2, {
25252
25252
  slots
@@ -25277,9 +25277,9 @@
25277
25277
  default: "div"
25278
25278
  }
25279
25279
  };
25280
- const COMPONENT_NAME$1L = "vc-carousel";
25280
+ const COMPONENT_NAME$1K = "vc-carousel";
25281
25281
  const Carousel = /* @__PURE__ */ vue.defineComponent({
25282
- name: COMPONENT_NAME$1L,
25282
+ name: COMPONENT_NAME$1K,
25283
25283
  props: props$1f,
25284
25284
  setup(props2, {
25285
25285
  slots
@@ -25298,9 +25298,9 @@
25298
25298
  default: "div"
25299
25299
  }
25300
25300
  };
25301
- const COMPONENT_NAME$1K = "vc-cascader";
25301
+ const COMPONENT_NAME$1J = "vc-cascader";
25302
25302
  const Cascader = /* @__PURE__ */ vue.defineComponent({
25303
- name: COMPONENT_NAME$1K,
25303
+ name: COMPONENT_NAME$1J,
25304
25304
  props: props$1e,
25305
25305
  setup(props2, {
25306
25306
  slots
@@ -25363,9 +25363,9 @@
25363
25363
  watchShallow: Boolean,
25364
25364
  manualUpdate: Boolean
25365
25365
  };
25366
- const COMPONENT_NAME$1J = "vc-chart";
25366
+ const COMPONENT_NAME$1I = "vc-chart";
25367
25367
  const Chart = /* @__PURE__ */ vue.defineComponent({
25368
- name: COMPONENT_NAME$1J,
25368
+ name: COMPONENT_NAME$1I,
25369
25369
  props: props$1d,
25370
25370
  emits: [...EVENTS, "ready"],
25371
25371
  setup(props2, {
@@ -25586,9 +25586,9 @@
25586
25586
  computedLabel
25587
25587
  };
25588
25588
  };
25589
- const COMPONENT_NAME$1I = "vc-checkbox";
25589
+ const COMPONENT_NAME$1H = "vc-checkbox";
25590
25590
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
25591
- name: COMPONENT_NAME$1I,
25591
+ name: COMPONENT_NAME$1H,
25592
25592
  props: props$1c,
25593
25593
  emits: ["update:modelValue", "change"],
25594
25594
  setup(props2, {
@@ -25670,9 +25670,9 @@
25670
25670
  reset
25671
25671
  };
25672
25672
  };
25673
- const COMPONENT_NAME$1H = "vc-checkbox-group";
25673
+ const COMPONENT_NAME$1G = "vc-checkbox-group";
25674
25674
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
25675
- name: COMPONENT_NAME$1H,
25675
+ name: COMPONENT_NAME$1G,
25676
25676
  props: props$1b,
25677
25677
  emits: ["update:modelValue", "change"],
25678
25678
  setup(props2, {
@@ -25687,9 +25687,9 @@
25687
25687
  };
25688
25688
  }
25689
25689
  });
25690
- const COMPONENT_NAME$1G = "vcm-checkbox";
25690
+ const COMPONENT_NAME$1F = "vcm-checkbox";
25691
25691
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
25692
- name: COMPONENT_NAME$1G,
25692
+ name: COMPONENT_NAME$1F,
25693
25693
  props: props$1c,
25694
25694
  emits: ["update:modelValue", "change"],
25695
25695
  setup(props2, {
@@ -25726,9 +25726,9 @@
25726
25726
  };
25727
25727
  }
25728
25728
  });
25729
- const COMPONENT_NAME$1F = "vcm-checkbox-group";
25729
+ const COMPONENT_NAME$1E = "vcm-checkbox-group";
25730
25730
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
25731
- name: COMPONENT_NAME$1F,
25731
+ name: COMPONENT_NAME$1E,
25732
25732
  props: props$1b,
25733
25733
  emits: ["update:modelValue", "change"],
25734
25734
  setup(props2, {
@@ -25784,9 +25784,9 @@
25784
25784
  default: () => null
25785
25785
  }
25786
25786
  };
25787
- const COMPONENT_NAME$1E = "vc-customer";
25787
+ const COMPONENT_NAME$1D = "vc-customer";
25788
25788
  const Customer = vue.defineComponent({
25789
- name: COMPONENT_NAME$1E,
25789
+ name: COMPONENT_NAME$1D,
25790
25790
  props: props$19,
25791
25791
  setup(props2, context) {
25792
25792
  return () => vue.h(() => {
@@ -25794,9 +25794,9 @@
25794
25794
  });
25795
25795
  }
25796
25796
  });
25797
- const COMPONENT_NAME$1D = "vc-message";
25797
+ const COMPONENT_NAME$1C = "vc-message";
25798
25798
  const MessageView = /* @__PURE__ */ vue.defineComponent({
25799
- name: COMPONENT_NAME$1D,
25799
+ name: COMPONENT_NAME$1C,
25800
25800
  emits: ["before-close", "close", "portal-fulfilled"],
25801
25801
  props: props$1a,
25802
25802
  setup(props2, {
@@ -25939,7 +25939,7 @@
25939
25939
  return this.target.finally(callback);
25940
25940
  }
25941
25941
  }
25942
- const COMPONENT_NAME$1C = "vc-portal";
25942
+ const COMPONENT_NAME$1B = "vc-portal";
25943
25943
  class Portal {
25944
25944
  /**
25945
25945
  * 清理Portals类型组件
@@ -25991,7 +25991,7 @@
25991
25991
  this.wrapper = wrapper;
25992
25992
  this.globalOptions = {
25993
25993
  ...options,
25994
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1C)
25994
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1B)
25995
25995
  };
25996
25996
  }
25997
25997
  popup(propsData, options) {
@@ -26090,7 +26090,7 @@
26090
26090
  ...rest
26091
26091
  } = options;
26092
26092
  let useAllNodes = fragment;
26093
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1C)}` : name$;
26093
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1B)}` : name$;
26094
26094
  const container = document.createElement(tag);
26095
26095
  const root = typeof el2 === "object" ? el2 : document.querySelector(el2 || "body");
26096
26096
  !alive && Portal.leafs.get(name)?.destroy();
@@ -26124,7 +26124,7 @@
26124
26124
  } else {
26125
26125
  const wrapper = this.wrapper;
26126
26126
  const app = vue.createApp({
26127
- name: COMPONENT_NAME$1C,
26127
+ name: COMPONENT_NAME$1B,
26128
26128
  parent,
26129
26129
  setup() {
26130
26130
  if (alive) {
@@ -26234,9 +26234,9 @@
26234
26234
  default: "div"
26235
26235
  }
26236
26236
  };
26237
- const COMPONENT_NAME$1B = "vc-portal-view";
26237
+ const COMPONENT_NAME$1A = "vc-portal-view";
26238
26238
  const PortalView = /* @__PURE__ */ vue.defineComponent({
26239
- name: COMPONENT_NAME$1B,
26239
+ name: COMPONENT_NAME$1A,
26240
26240
  props: props$18,
26241
26241
  setup(props2, {
26242
26242
  slots
@@ -26399,9 +26399,9 @@
26399
26399
  };
26400
26400
  return () => vue.h(props2.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
26401
26401
  };
26402
- const COMPONENT_NAME$1A = "vc-clipboard";
26402
+ const COMPONENT_NAME$1z = "vc-clipboard";
26403
26403
  const Clipboard$1 = vue.defineComponent({
26404
- name: COMPONENT_NAME$1A,
26404
+ name: COMPONENT_NAME$1z,
26405
26405
  props: props$17,
26406
26406
  setup() {
26407
26407
  return useClipboard((content) => Message.success({ content }));
@@ -26433,9 +26433,9 @@
26433
26433
  const MTransitionScale = TransitionScale;
26434
26434
  const MTransitionSlide = TransitionSlide;
26435
26435
  const MTransitionZoom = TransitionZoom;
26436
- const COMPONENT_NAME$1z = "vcm-toast";
26436
+ const COMPONENT_NAME$1y = "vcm-toast";
26437
26437
  const MToastView = /* @__PURE__ */ vue.defineComponent({
26438
- name: COMPONENT_NAME$1z,
26438
+ name: COMPONENT_NAME$1y,
26439
26439
  emits: ["close", "portal-fulfilled"],
26440
26440
  props: props$16,
26441
26441
  setup(props2, {
@@ -26534,9 +26534,9 @@
26534
26534
  const warning$2 = create$3({ mode: "warning" });
26535
26535
  const error$2 = create$3({ mode: "error" });
26536
26536
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
26537
- const COMPONENT_NAME$1y = "vcm-clipboard";
26537
+ const COMPONENT_NAME$1x = "vcm-clipboard";
26538
26538
  const MClipboard$1 = vue.defineComponent({
26539
- name: COMPONENT_NAME$1y,
26539
+ name: COMPONENT_NAME$1x,
26540
26540
  props: props$17,
26541
26541
  setup() {
26542
26542
  return useClipboard((content) => MToast.info({ content }));
@@ -26565,9 +26565,9 @@
26565
26565
  default: false
26566
26566
  }
26567
26567
  };
26568
- const COMPONENT_NAME$1x = "vc-collapse";
26568
+ const COMPONENT_NAME$1w = "vc-collapse";
26569
26569
  const Collapse = vue.defineComponent({
26570
- name: COMPONENT_NAME$1x,
26570
+ name: COMPONENT_NAME$1w,
26571
26571
  props: props$15,
26572
26572
  emits: ["update:moodelValue", "change"],
26573
26573
  setup(props2, { slots, emit }) {
@@ -26679,9 +26679,9 @@
26679
26679
  function _isSlot$3(s) {
26680
26680
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
26681
26681
  }
26682
- const COMPONENT_NAME$1w = "vc-expand";
26682
+ const COMPONENT_NAME$1v = "vc-expand";
26683
26683
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
26684
- name: COMPONENT_NAME$1w,
26684
+ name: COMPONENT_NAME$1v,
26685
26685
  props: props$13,
26686
26686
  setup(props2, {
26687
26687
  slots
@@ -26708,9 +26708,9 @@
26708
26708
  };
26709
26709
  }
26710
26710
  });
26711
- const COMPONENT_NAME$1v = "vc-collapse-item";
26711
+ const COMPONENT_NAME$1u = "vc-collapse-item";
26712
26712
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
26713
- name: COMPONENT_NAME$1v,
26713
+ name: COMPONENT_NAME$1u,
26714
26714
  props: props$14,
26715
26715
  setup(props2, {
26716
26716
  slots,
@@ -26780,9 +26780,9 @@
26780
26780
  default: "div"
26781
26781
  }
26782
26782
  };
26783
- const COMPONENT_NAME$1u = "vc-color-picker";
26783
+ const COMPONENT_NAME$1t = "vc-color-picker";
26784
26784
  const ColorPicker = /* @__PURE__ */ vue.defineComponent({
26785
- name: COMPONENT_NAME$1u,
26785
+ name: COMPONENT_NAME$1t,
26786
26786
  props: props$12,
26787
26787
  setup(props2, {
26788
26788
  slots
@@ -26801,9 +26801,9 @@
26801
26801
  default: "div"
26802
26802
  }
26803
26803
  };
26804
- const COMPONENT_NAME$1t = "vc-countdown";
26804
+ const COMPONENT_NAME$1s = "vc-countdown";
26805
26805
  const Countdown = /* @__PURE__ */ vue.defineComponent({
26806
- name: COMPONENT_NAME$1t,
26806
+ name: COMPONENT_NAME$1s,
26807
26807
  props: props$11,
26808
26808
  setup(props2, {
26809
26809
  slots
@@ -27240,9 +27240,9 @@
27240
27240
  expose?.(exposed);
27241
27241
  return exposed;
27242
27242
  };
27243
- const COMPONENT_NAME$1s = "vc-input";
27243
+ const COMPONENT_NAME$1r = "vc-input";
27244
27244
  const Input = /* @__PURE__ */ vue.defineComponent({
27245
- name: COMPONENT_NAME$1s,
27245
+ name: COMPONENT_NAME$1r,
27246
27246
  inheritAttrs: false,
27247
27247
  props: {
27248
27248
  ...props$$,
@@ -27572,9 +27572,9 @@
27572
27572
  handleStepper
27573
27573
  };
27574
27574
  };
27575
- const COMPONENT_NAME$1r = "vc-input-number";
27575
+ const COMPONENT_NAME$1q = "vc-input-number";
27576
27576
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
27577
- name: COMPONENT_NAME$1r,
27577
+ name: COMPONENT_NAME$1q,
27578
27578
  props: props$X,
27579
27579
  inheritAttrs: false,
27580
27580
  setup(props2, {
@@ -27634,9 +27634,9 @@
27634
27634
  default: true
27635
27635
  }
27636
27636
  };
27637
- const COMPONENT_NAME$1q = "vc-input-search";
27637
+ const COMPONENT_NAME$1p = "vc-input-search";
27638
27638
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
27639
- name: COMPONENT_NAME$1q,
27639
+ name: COMPONENT_NAME$1p,
27640
27640
  props: props$W,
27641
27641
  inheritAttrs: false,
27642
27642
  setup(props2, {
@@ -27923,9 +27923,9 @@
27923
27923
  function _isSlot$2(s) {
27924
27924
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
27925
27925
  }
27926
- const COMPONENT_NAME$1p = "vc-popover-wrapper";
27926
+ const COMPONENT_NAME$1o = "vc-popover-wrapper";
27927
27927
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
27928
- name: COMPONENT_NAME$1p,
27928
+ name: COMPONENT_NAME$1o,
27929
27929
  props: props$_,
27930
27930
  emits: ["portal-fulfilled", "close"],
27931
27931
  setup(props2, {
@@ -28143,9 +28143,9 @@
28143
28143
  }
28144
28144
  });
28145
28145
  const PopoverPortal = new Portal(PopoverWrapper);
28146
- const COMPONENT_NAME$1o = "vc-popover";
28146
+ const COMPONENT_NAME$1n = "vc-popover";
28147
28147
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
28148
- name: COMPONENT_NAME$1o,
28148
+ name: COMPONENT_NAME$1n,
28149
28149
  props: props$Z,
28150
28150
  emits: ["update:modelValue", "visible-change", "ready", "close"],
28151
28151
  setup(props2, {
@@ -29221,9 +29221,9 @@
29221
29221
  }
29222
29222
  return view;
29223
29223
  };
29224
- const COMPONENT_NAME$1n = "vc-date-confirm";
29224
+ const COMPONENT_NAME$1m = "vc-date-confirm";
29225
29225
  const Confirm = /* @__PURE__ */ vue.defineComponent({
29226
- name: COMPONENT_NAME$1n,
29226
+ name: COMPONENT_NAME$1m,
29227
29227
  props: {
29228
29228
  showTime: {
29229
29229
  type: Boolean,
@@ -29284,9 +29284,9 @@
29284
29284
  };
29285
29285
  }
29286
29286
  });
29287
- const COMPONENT_NAME$1m = "vc-date-header";
29287
+ const COMPONENT_NAME$1l = "vc-date-header";
29288
29288
  const DateHeader = /* @__PURE__ */ vue.defineComponent({
29289
- name: COMPONENT_NAME$1m,
29289
+ name: COMPONENT_NAME$1l,
29290
29290
  props: {
29291
29291
  panelDate: Date,
29292
29292
  showNext: {
@@ -29367,9 +29367,9 @@
29367
29367
  };
29368
29368
  }
29369
29369
  });
29370
- const COMPONENT_NAME$1l = "vc-date-table";
29370
+ const COMPONENT_NAME$1k = "vc-date-table";
29371
29371
  const DateTable = /* @__PURE__ */ vue.defineComponent({
29372
- name: COMPONENT_NAME$1l,
29372
+ name: COMPONENT_NAME$1k,
29373
29373
  props: {
29374
29374
  value: Array,
29375
29375
  firstDayOfWeek: {
@@ -29569,9 +29569,9 @@
29569
29569
  };
29570
29570
  }
29571
29571
  });
29572
- const COMPONENT_NAME$1k = "vc-month-table";
29572
+ const COMPONENT_NAME$1j = "vc-month-table";
29573
29573
  const MonthTable = /* @__PURE__ */ vue.defineComponent({
29574
- name: COMPONENT_NAME$1k,
29574
+ name: COMPONENT_NAME$1j,
29575
29575
  props: {
29576
29576
  value: Array,
29577
29577
  panelDate: Date,
@@ -29697,7 +29697,7 @@
29697
29697
  };
29698
29698
  }
29699
29699
  });
29700
- const COMPONENT_NAME$1j = "vc-quarter-table";
29700
+ const COMPONENT_NAME$1i = "vc-quarter-table";
29701
29701
  const getMonthRange = (panelDate, quarter) => {
29702
29702
  const year = panelDate.getFullYear();
29703
29703
  const [startMonth, endMonth] = [quarter * 3, quarter * 3 + 2];
@@ -29724,7 +29724,7 @@
29724
29724
  }
29725
29725
  };
29726
29726
  const QuarterTable = /* @__PURE__ */ vue.defineComponent({
29727
- name: COMPONENT_NAME$1j,
29727
+ name: COMPONENT_NAME$1i,
29728
29728
  props: {
29729
29729
  value: Array,
29730
29730
  panelDate: Date,
@@ -29842,9 +29842,9 @@
29842
29842
  };
29843
29843
  }
29844
29844
  });
29845
- const COMPONENT_NAME$1i = "vc-shortcuts-select";
29845
+ const COMPONENT_NAME$1h = "vc-shortcuts-select";
29846
29846
  const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
29847
- name: COMPONENT_NAME$1i,
29847
+ name: COMPONENT_NAME$1h,
29848
29848
  props: {
29849
29849
  panelDate: Date,
29850
29850
  config: Array,
@@ -29881,9 +29881,9 @@
29881
29881
  };
29882
29882
  }
29883
29883
  });
29884
- const COMPONENT_NAME$1h = "vc-time-select";
29884
+ const COMPONENT_NAME$1g = "vc-time-select";
29885
29885
  const TimeSelect = /* @__PURE__ */ vue.defineComponent({
29886
- name: COMPONENT_NAME$1h,
29886
+ name: COMPONENT_NAME$1g,
29887
29887
  props: {
29888
29888
  hours: {
29889
29889
  type: [Number, String],
@@ -30158,9 +30158,9 @@
30158
30158
  };
30159
30159
  }
30160
30160
  });
30161
- const COMPONENT_NAME$1g = "vc-year-table";
30161
+ const COMPONENT_NAME$1f = "vc-year-table";
30162
30162
  const YearTable = /* @__PURE__ */ vue.defineComponent({
30163
- name: COMPONENT_NAME$1g,
30163
+ name: COMPONENT_NAME$1f,
30164
30164
  props: {
30165
30165
  value: Array,
30166
30166
  panelDate: Date,
@@ -30276,9 +30276,9 @@
30276
30276
  }
30277
30277
  return true;
30278
30278
  };
30279
- const COMPONENT_NAME$1f = "vc-date-range-panel";
30279
+ const COMPONENT_NAME$1e = "vc-date-range-panel";
30280
30280
  const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
30281
- name: COMPONENT_NAME$1f,
30281
+ name: COMPONENT_NAME$1e,
30282
30282
  props: {
30283
30283
  ...props$V,
30284
30284
  confirm: {
@@ -30639,9 +30639,9 @@
30639
30639
  };
30640
30640
  }
30641
30641
  });
30642
- const COMPONENT_NAME$1e = "vc-date-panel";
30642
+ const COMPONENT_NAME$1d = "vc-date-panel";
30643
30643
  const DatePanel = /* @__PURE__ */ vue.defineComponent({
30644
- name: COMPONENT_NAME$1e,
30644
+ name: COMPONENT_NAME$1d,
30645
30645
  props: {
30646
30646
  ...props$V,
30647
30647
  type: String,
@@ -30840,9 +30840,9 @@
30840
30840
  const endYear = value[1].getFullYear();
30841
30841
  return startYear === endYear;
30842
30842
  };
30843
- const COMPONENT_NAME$1d = "vc-monthrange-panel";
30843
+ const COMPONENT_NAME$1c = "vc-monthrange-panel";
30844
30844
  const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
30845
- name: COMPONENT_NAME$1d,
30845
+ name: COMPONENT_NAME$1c,
30846
30846
  props: {
30847
30847
  ...props$V,
30848
30848
  confirm: {
@@ -31012,9 +31012,9 @@
31012
31012
  const endYear = value[1].getFullYear();
31013
31013
  return startYear === endYear;
31014
31014
  };
31015
- const COMPONENT_NAME$1c = "vc-quarterrange-panel";
31015
+ const COMPONENT_NAME$1b = "vc-quarterrange-panel";
31016
31016
  const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
31017
- name: COMPONENT_NAME$1c,
31017
+ name: COMPONENT_NAME$1b,
31018
31018
  props: {
31019
31019
  ...props$V,
31020
31020
  confirm: {
@@ -31245,9 +31245,9 @@
31245
31245
  seconds
31246
31246
  };
31247
31247
  };
31248
- const COMPONENT_NAME$1b = "vc-timerange-panel";
31248
+ const COMPONENT_NAME$1a = "vc-timerange-panel";
31249
31249
  const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
31250
- name: COMPONENT_NAME$1b,
31250
+ name: COMPONENT_NAME$1a,
31251
31251
  props: props$U,
31252
31252
  emits: ["pick", "clear", "ok"],
31253
31253
  setup(props2, {
@@ -31343,9 +31343,9 @@
31343
31343
  };
31344
31344
  }
31345
31345
  });
31346
- const COMPONENT_NAME$1a = "vc-time-panel";
31346
+ const COMPONENT_NAME$19 = "vc-time-panel";
31347
31347
  const TimePanel = /* @__PURE__ */ vue.defineComponent({
31348
- name: COMPONENT_NAME$1a,
31348
+ name: COMPONENT_NAME$19,
31349
31349
  props: props$U,
31350
31350
  emits: ["pick", "clear", "ok"],
31351
31351
  setup(props2, {
@@ -31396,7 +31396,7 @@
31396
31396
  };
31397
31397
  }
31398
31398
  });
31399
- const COMPONENT_NAME$19 = "vc-date-picker";
31399
+ const COMPONENT_NAME$18 = "vc-date-picker";
31400
31400
  const getPanel$1 = (type) => {
31401
31401
  if (["daterange", "datetimerange"].includes(type)) {
31402
31402
  return DateRangePanel;
@@ -31407,7 +31407,7 @@
31407
31407
  }
31408
31408
  return DatePanel;
31409
31409
  };
31410
- const DatePicker = createPicker(COMPONENT_NAME$19, props$10, () => {
31410
+ const DatePicker = createPicker(COMPONENT_NAME$18, props$10, () => {
31411
31411
  const props2 = vue.getCurrentInstance().props;
31412
31412
  const icon = vue.ref("date");
31413
31413
  const panel = vue.shallowRef({});
@@ -31435,9 +31435,9 @@
31435
31435
  default: "div"
31436
31436
  }
31437
31437
  };
31438
- const COMPONENT_NAME$18 = "vc-divider";
31438
+ const COMPONENT_NAME$17 = "vc-divider";
31439
31439
  const Divider = /* @__PURE__ */ vue.defineComponent({
31440
- name: COMPONENT_NAME$18,
31440
+ name: COMPONENT_NAME$17,
31441
31441
  props: props$T,
31442
31442
  setup(props2, {
31443
31443
  slots
@@ -31584,7 +31584,7 @@
31584
31584
  barTo: props$R.to,
31585
31585
  ...pick(props$R, barKeys)
31586
31586
  };
31587
- const COMPONENT_NAME$17 = "vc-scroller-track";
31587
+ const COMPONENT_NAME$16 = "vc-scroller-track";
31588
31588
  const BAR_MAP = {
31589
31589
  vertical: {
31590
31590
  scroll: "scrollTop",
@@ -31604,7 +31604,7 @@
31604
31604
  }
31605
31605
  };
31606
31606
  const Track$1 = /* @__PURE__ */ vue.defineComponent({
31607
- name: COMPONENT_NAME$17,
31607
+ name: COMPONENT_NAME$16,
31608
31608
  props: props$S,
31609
31609
  emits: ["change"],
31610
31610
  inheritAttrs: false,
@@ -31766,9 +31766,9 @@
31766
31766
  };
31767
31767
  }
31768
31768
  });
31769
- const COMPONENT_NAME$16 = "vc-scroller-bar";
31769
+ const COMPONENT_NAME$15 = "vc-scroller-bar";
31770
31770
  const Bar = /* @__PURE__ */ vue.defineComponent({
31771
- name: COMPONENT_NAME$16,
31771
+ name: COMPONENT_NAME$15,
31772
31772
  props: props$R,
31773
31773
  emits: ["change"],
31774
31774
  setup(props2, {
@@ -31979,9 +31979,9 @@
31979
31979
  refreshPosition
31980
31980
  };
31981
31981
  };
31982
- const COMPONENT_NAME$15 = "vc-scroller";
31982
+ const COMPONENT_NAME$14 = "vc-scroller";
31983
31983
  const Scroller = /* @__PURE__ */ vue.defineComponent({
31984
- name: COMPONENT_NAME$15,
31984
+ name: COMPONENT_NAME$14,
31985
31985
  props: props$Q,
31986
31986
  emits: ["scroll"],
31987
31987
  setup(props2, {
@@ -32039,9 +32039,9 @@
32039
32039
  };
32040
32040
  }
32041
32041
  });
32042
- const COMPONENT_NAME$14 = "vc-scroller-wheel";
32042
+ const COMPONENT_NAME$13 = "vc-scroller-wheel";
32043
32043
  const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
32044
- name: COMPONENT_NAME$14,
32044
+ name: COMPONENT_NAME$13,
32045
32045
  props: Object.assign(props$Q, {
32046
32046
  stopPropagation: {
32047
32047
  type: Boolean,
@@ -32212,9 +32212,9 @@
32212
32212
  type: Function
32213
32213
  }
32214
32214
  };
32215
- const COMPONENT_NAME$13 = "vc-drawer";
32215
+ const COMPONENT_NAME$12 = "vc-drawer";
32216
32216
  const DrawerView = /* @__PURE__ */ vue.defineComponent({
32217
- name: COMPONENT_NAME$13,
32217
+ name: COMPONENT_NAME$12,
32218
32218
  props: props$P,
32219
32219
  emits: ["close", "update:modelValue", "visible-change"],
32220
32220
  setup(props2, {
@@ -32370,9 +32370,9 @@
32370
32370
  default: "div"
32371
32371
  }
32372
32372
  };
32373
- const COMPONENT_NAME$12 = "vc-dropdown";
32373
+ const COMPONENT_NAME$11 = "vc-dropdown";
32374
32374
  const Dropdown = /* @__PURE__ */ vue.defineComponent({
32375
- name: COMPONENT_NAME$12,
32375
+ name: COMPONENT_NAME$11,
32376
32376
  props: props$O,
32377
32377
  setup(props2, {
32378
32378
  slots
@@ -32391,9 +32391,9 @@
32391
32391
  default: "div"
32392
32392
  }
32393
32393
  };
32394
- const COMPONENT_NAME$11 = "vc-editor";
32394
+ const COMPONENT_NAME$10 = "vc-editor";
32395
32395
  const Editor = /* @__PURE__ */ vue.defineComponent({
32396
- name: COMPONENT_NAME$11,
32396
+ name: COMPONENT_NAME$10,
32397
32397
  props: props$N,
32398
32398
  setup(props2, {
32399
32399
  slots
@@ -32532,9 +32532,9 @@
32532
32532
  validateField
32533
32533
  });
32534
32534
  };
32535
- const COMPONENT_NAME$10 = "vc-form";
32535
+ const COMPONENT_NAME$$ = "vc-form";
32536
32536
  const Form = vue.defineComponent({
32537
- name: COMPONENT_NAME$10,
32537
+ name: COMPONENT_NAME$$,
32538
32538
  props: props$M,
32539
32539
  setup(props2, { slots, expose }) {
32540
32540
  useForm(expose);
@@ -32849,9 +32849,9 @@
32849
32849
  labelPosition
32850
32850
  };
32851
32851
  };
32852
- const COMPONENT_NAME$$ = "vc-form-item";
32852
+ const COMPONENT_NAME$_ = "vc-form-item";
32853
32853
  const FormItem = /* @__PURE__ */ vue.defineComponent({
32854
- name: COMPONENT_NAME$$,
32854
+ name: COMPONENT_NAME$_,
32855
32855
  props: props$L,
32856
32856
  setup(props2, {
32857
32857
  slots,
@@ -32914,9 +32914,9 @@
32914
32914
  default: false
32915
32915
  }
32916
32916
  };
32917
- const COMPONENT_NAME$_ = "vcm-form";
32917
+ const COMPONENT_NAME$Z = "vcm-form";
32918
32918
  const MForm = vue.defineComponent({
32919
- name: COMPONENT_NAME$_,
32919
+ name: COMPONENT_NAME$Z,
32920
32920
  props: props$K,
32921
32921
  setup(props2, { slots, expose }) {
32922
32922
  useForm(expose, {
@@ -32943,9 +32943,9 @@
32943
32943
  default: 12
32944
32944
  }
32945
32945
  };
32946
- const COMPONENT_NAME$Z = "vcm-form-item";
32946
+ const COMPONENT_NAME$Y = "vcm-form-item";
32947
32947
  const MFormItem = /* @__PURE__ */ vue.defineComponent({
32948
- name: COMPONENT_NAME$Z,
32948
+ name: COMPONENT_NAME$Y,
32949
32949
  props: props$J,
32950
32950
  setup(props2, {
32951
32951
  slots,
@@ -32998,9 +32998,9 @@
32998
32998
  };
32999
32999
  }
33000
33000
  });
33001
- const COMPONENT_NAME$Y = "vc-fragment";
33001
+ const COMPONENT_NAME$X = "vc-fragment";
33002
33002
  const Fragment = vue.defineComponent({
33003
- name: COMPONENT_NAME$Y,
33003
+ name: COMPONENT_NAME$X,
33004
33004
  setup(_, { slots }) {
33005
33005
  return () => vue.h(vue.Fragment, slots.default?.());
33006
33006
  }
@@ -33012,9 +33012,9 @@
33012
33012
  default: "div"
33013
33013
  }
33014
33014
  };
33015
- const COMPONENT_NAME$X = "vc-html-to-image";
33015
+ const COMPONENT_NAME$W = "vc-html-to-image";
33016
33016
  const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
33017
- name: COMPONENT_NAME$X,
33017
+ name: COMPONENT_NAME$W,
33018
33018
  props: props$I,
33019
33019
  setup(props2, {
33020
33020
  slots
@@ -33083,7 +33083,7 @@
33083
33083
  }
33084
33084
  }
33085
33085
  const IMGStore$1 = new IMGStore();
33086
- const COMPONENT_NAME$W = "vc-image";
33086
+ const COMPONENT_NAME$V = "vc-image";
33087
33087
  let isSupportObjectFit = false;
33088
33088
  window.addEventListener("DOMContentLoaded", () => {
33089
33089
  isSupportObjectFit = !IS_SERVER$3 && document.documentElement.style.objectFit !== void 0;
@@ -33096,7 +33096,7 @@
33096
33096
  SCALE_DOWN: "scale-down"
33097
33097
  };
33098
33098
  const Image$1 = /* @__PURE__ */ vue.defineComponent({
33099
- name: COMPONENT_NAME$W,
33099
+ name: COMPONENT_NAME$V,
33100
33100
  inheritAttrs: false,
33101
33101
  props: props$H,
33102
33102
  setup(props2, {
@@ -33291,9 +33291,9 @@
33291
33291
  default: "div"
33292
33292
  }
33293
33293
  };
33294
- const COMPONENT_NAME$V = "vc-image-crop";
33294
+ const COMPONENT_NAME$U = "vc-image-crop";
33295
33295
  const ImageCrop = /* @__PURE__ */ vue.defineComponent({
33296
- name: COMPONENT_NAME$V,
33296
+ name: COMPONENT_NAME$U,
33297
33297
  props: props$G,
33298
33298
  setup(props2, {
33299
33299
  slots
@@ -33312,9 +33312,9 @@
33312
33312
  default: "div"
33313
33313
  }
33314
33314
  };
33315
- const COMPONENT_NAME$U = "vc-image-preview";
33315
+ const COMPONENT_NAME$T = "vc-image-preview";
33316
33316
  const ImagePreview = /* @__PURE__ */ vue.defineComponent({
33317
- name: COMPONENT_NAME$U,
33317
+ name: COMPONENT_NAME$T,
33318
33318
  props: props$F,
33319
33319
  setup(props2, {
33320
33320
  slots
@@ -33333,9 +33333,9 @@
33333
33333
  default: "div"
33334
33334
  }
33335
33335
  };
33336
- const COMPONENT_NAME$T = "vc-image-processing";
33336
+ const COMPONENT_NAME$S = "vc-image-processing";
33337
33337
  const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
33338
- name: COMPONENT_NAME$T,
33338
+ name: COMPONENT_NAME$S,
33339
33339
  props: props$E,
33340
33340
  setup(props2, {
33341
33341
  slots
@@ -33348,9 +33348,9 @@
33348
33348
  }
33349
33349
  });
33350
33350
  const MImageProcessing = ImageProcessing;
33351
- const COMPONENT_NAME$S = "vcm-input";
33351
+ const COMPONENT_NAME$R = "vcm-input";
33352
33352
  const MInput = /* @__PURE__ */ vue.defineComponent({
33353
- name: COMPONENT_NAME$S,
33353
+ name: COMPONENT_NAME$R,
33354
33354
  inheritAttrs: false,
33355
33355
  props: {
33356
33356
  ...props$$,
@@ -33437,9 +33437,9 @@
33437
33437
  };
33438
33438
  }
33439
33439
  });
33440
- const COMPONENT_NAME$R = "vcm-input-number";
33440
+ const COMPONENT_NAME$Q = "vcm-input-number";
33441
33441
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
33442
- name: COMPONENT_NAME$R,
33442
+ name: COMPONENT_NAME$Q,
33443
33443
  props: props$X,
33444
33444
  inheritAttrs: false,
33445
33445
  setup(props2, {
@@ -33485,9 +33485,9 @@
33485
33485
  };
33486
33486
  }
33487
33487
  });
33488
- const COMPONENT_NAME$Q = "vcm-input-search";
33488
+ const COMPONENT_NAME$P = "vcm-input-search";
33489
33489
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
33490
- name: COMPONENT_NAME$Q,
33490
+ name: COMPONENT_NAME$P,
33491
33491
  props: {
33492
33492
  ...props$W,
33493
33493
  cancelText: {
@@ -33561,9 +33561,9 @@
33561
33561
  default: true
33562
33562
  }
33563
33563
  };
33564
- const COMPONENT_NAME$P = "vcm-list";
33564
+ const COMPONENT_NAME$O = "vcm-list";
33565
33565
  const MList = vue.defineComponent({
33566
- name: COMPONENT_NAME$P,
33566
+ name: COMPONENT_NAME$O,
33567
33567
  props: props$D,
33568
33568
  setup(props2, { slots }) {
33569
33569
  vue.provide("vc-list", { props: props2 });
@@ -33614,10 +33614,10 @@
33614
33614
  // MListItem是否独立存在
33615
33615
  alone: Boolean
33616
33616
  };
33617
- const COMPONENT_NAME$O = "vcm-list-item";
33617
+ const COMPONENT_NAME$N = "vcm-list-item";
33618
33618
  const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
33619
33619
  const MListItem = /* @__PURE__ */ vue.defineComponent({
33620
- name: COMPONENT_NAME$O,
33620
+ name: COMPONENT_NAME$N,
33621
33621
  props: props$C,
33622
33622
  emits: ["click"],
33623
33623
  setup(props2, {
@@ -33701,11 +33701,11 @@
33701
33701
  default: false
33702
33702
  }
33703
33703
  };
33704
- const COMPONENT_NAME$N = "vc-marquee";
33704
+ const COMPONENT_NAME$M = "vc-marquee";
33705
33705
  const ANIMATION = prefixStyle("animation").camel;
33706
33706
  const TRANSFORM_KEBAB = prefixStyle("transform").kebab;
33707
33707
  const Marquee = /* @__PURE__ */ vue.defineComponent({
33708
- name: COMPONENT_NAME$N,
33708
+ name: COMPONENT_NAME$M,
33709
33709
  props: props$B,
33710
33710
  setup(props2, {
33711
33711
  slots
@@ -33760,11 +33760,15 @@
33760
33760
  tag: {
33761
33761
  type: String,
33762
33762
  default: "div"
33763
+ },
33764
+ fill: {
33765
+ type: Boolean,
33766
+ default: true
33763
33767
  }
33764
33768
  };
33765
- const COMPONENT_NAME$M = "vc-resizer";
33769
+ const COMPONENT_NAME$L = "vc-resizer";
33766
33770
  const Resizer = vue.defineComponent({
33767
- name: COMPONENT_NAME$M,
33771
+ name: COMPONENT_NAME$L,
33768
33772
  props: props$A,
33769
33773
  emit: ["resize", "change"],
33770
33774
  setup(props2, { emit, slots, expose }) {
@@ -33813,13 +33817,13 @@
33813
33817
  Resize.off(current.value, handleResize);
33814
33818
  timer && clearTimeout(timer);
33815
33819
  });
33816
- expose({ refresh });
33820
+ expose({ refresh, offsetHeight: height, offsetWidth: width });
33817
33821
  return () => {
33818
33822
  return vue.h(
33819
33823
  props2.tag,
33820
33824
  {
33821
33825
  ref: current,
33822
- class: "vc-resizer"
33826
+ class: ["vc-resizer", { "is-fill": props2.fill }]
33823
33827
  },
33824
33828
  slots.default?.(currentExposed.value)
33825
33829
  );
@@ -33844,7 +33848,7 @@
33844
33848
  validator: (v) => /(small|medium|large)/.test(v),
33845
33849
  default: "small"
33846
33850
  },
33847
- portalClass: [Object, String],
33851
+ contentClass: [Object, String],
33848
33852
  width: {
33849
33853
  type: Number
33850
33854
  },
@@ -33893,6 +33897,10 @@
33893
33897
  type: Boolean,
33894
33898
  default: true
33895
33899
  },
33900
+ border: {
33901
+ type: Boolean,
33902
+ default: false
33903
+ },
33896
33904
  /**
33897
33905
  * 兼容portal设计, 实现Promise方式
33898
33906
  */
@@ -33903,10 +33911,10 @@
33903
33911
  type: Function
33904
33912
  }
33905
33913
  };
33906
- const COMPONENT_NAME$L = "vc-modal";
33914
+ const COMPONENT_NAME$K = "vc-modal";
33907
33915
  let zIndexNumber = 1002;
33908
33916
  const ModalView = /* @__PURE__ */ vue.defineComponent({
33909
- name: COMPONENT_NAME$L,
33917
+ name: COMPONENT_NAME$K,
33910
33918
  emits: ["update:modelValue", "close", "portal-fulfilled", "visible-change", "ok", "cancel"],
33911
33919
  props: props$z,
33912
33920
  setup(props2, {
@@ -34145,7 +34153,8 @@
34145
34153
  "class": [{
34146
34154
  "is-drag": props2.draggable,
34147
34155
  "is-large": props2.size === "large" || props2.size === "medium",
34148
- "is-no-footer": !props2.footer || !props2.cancelText && !props2.okText
34156
+ "has-footer": props2.footer && (props2.cancelText || props2.okText),
34157
+ "has-border": props2.border
34149
34158
  }, "vc-modal__container"],
34150
34159
  "style": [basicStyle.value, draggableStyle.value]
34151
34160
  }, [vue.createVNode("div", {
@@ -34177,7 +34186,7 @@
34177
34186
  "height": isTransitionEnd.value ? row.height : void 0,
34178
34187
  "contentClass": [{
34179
34188
  "is-confirm": props2.mode
34180
- }, props2.portalClass, "vc-modal__content"]
34189
+ }, props2.contentClass, "vc-modal__content"]
34181
34190
  }, {
34182
34191
  default: () => [typeof props2.content === "string" ? vue.createVNode("div", {
34183
34192
  "innerHTML": props2.content
@@ -34285,9 +34294,9 @@
34285
34294
  type: Function
34286
34295
  }
34287
34296
  };
34288
- const COMPONENT_NAME$K = "vc-modal";
34297
+ const COMPONENT_NAME$J = "vc-modal";
34289
34298
  const MModalView = /* @__PURE__ */ vue.defineComponent({
34290
- name: COMPONENT_NAME$K,
34299
+ name: COMPONENT_NAME$J,
34291
34300
  emits: ["update:modelValue", "portal-fulfilled", "close", "ok", "cancel"],
34292
34301
  props: props$y,
34293
34302
  setup(props2, {
@@ -34482,9 +34491,9 @@
34482
34491
  // 这个相当于Modal中的onCancel,支持Promise
34483
34492
  onBeforeClose: Function
34484
34493
  };
34485
- const COMPONENT_NAME$J = "vc-notice";
34494
+ const COMPONENT_NAME$I = "vc-notice";
34486
34495
  const NoticeView = /* @__PURE__ */ vue.defineComponent({
34487
- name: COMPONENT_NAME$J,
34496
+ name: COMPONENT_NAME$I,
34488
34497
  props: props$x,
34489
34498
  emits: ["portal-fulfilled", "close", "before-close"],
34490
34499
  setup(props2, {
@@ -34650,9 +34659,9 @@
34650
34659
  default: "div"
34651
34660
  }
34652
34661
  };
34653
- const COMPONENT_NAME$I = "vc-option";
34662
+ const COMPONENT_NAME$H = "vc-option";
34654
34663
  const Option$1 = /* @__PURE__ */ vue.defineComponent({
34655
- name: COMPONENT_NAME$I,
34664
+ name: COMPONENT_NAME$H,
34656
34665
  props: props$w,
34657
34666
  setup(props2, {
34658
34667
  slots
@@ -34758,9 +34767,9 @@
34758
34767
  type: [String, Number]
34759
34768
  }
34760
34769
  };
34761
- const COMPONENT_NAME$H = "vc-tag";
34770
+ const COMPONENT_NAME$G = "vc-tag";
34762
34771
  const Tag = /* @__PURE__ */ vue.defineComponent({
34763
- name: COMPONENT_NAME$H,
34772
+ name: COMPONENT_NAME$G,
34764
34773
  props: props$u,
34765
34774
  emits: ["close", "change"],
34766
34775
  setup(props2, {
@@ -34825,9 +34834,9 @@
34825
34834
  default: true
34826
34835
  }
34827
34836
  };
34828
- const COMPONENT_NAME$G = "vc-select-option";
34837
+ const COMPONENT_NAME$F = "vc-select-option";
34829
34838
  const Option = /* @__PURE__ */ vue.defineComponent({
34830
- name: COMPONENT_NAME$G,
34839
+ name: COMPONENT_NAME$F,
34831
34840
  props: props$t,
34832
34841
  setup(props2, {
34833
34842
  slots
@@ -34894,9 +34903,9 @@
34894
34903
  type: [String, Number]
34895
34904
  }
34896
34905
  };
34897
- const COMPONENT_NAME$F = "vc-select-option-group";
34906
+ const COMPONENT_NAME$E = "vc-select-option-group";
34898
34907
  const OptionGroup = /* @__PURE__ */ vue.defineComponent({
34899
- name: COMPONENT_NAME$F,
34908
+ name: COMPONENT_NAME$E,
34900
34909
  props: props$s,
34901
34910
  setup(props2, {
34902
34911
  slots
@@ -34990,9 +34999,9 @@
34990
34999
  function _isSlot$1(s) {
34991
35000
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
34992
35001
  }
34993
- const COMPONENT_NAME$E = "vc-select";
35002
+ const COMPONENT_NAME$D = "vc-select";
34994
35003
  const Select = /* @__PURE__ */ vue.defineComponent({
34995
- name: COMPONENT_NAME$E,
35004
+ name: COMPONENT_NAME$D,
34996
35005
  props: props$r,
34997
35006
  emits: ["ready", "close", "visible-change", "clear", "change", "update:modelValue"],
34998
35007
  setup(props2, {
@@ -35222,9 +35231,9 @@
35222
35231
  };
35223
35232
  }
35224
35233
  });
35225
- const COMPONENT_NAME$D = "vc-pagination";
35234
+ const COMPONENT_NAME$C = "vc-pagination";
35226
35235
  const Pagination = /* @__PURE__ */ vue.defineComponent({
35227
- name: COMPONENT_NAME$D,
35236
+ name: COMPONENT_NAME$C,
35228
35237
  props: props$v,
35229
35238
  emits: ["update:current", "change", "page-size-change"],
35230
35239
  setup(props2, {
@@ -35415,9 +35424,9 @@
35415
35424
  default: "div"
35416
35425
  }
35417
35426
  };
35418
- const COMPONENT_NAME$C = "vc-picker";
35427
+ const COMPONENT_NAME$B = "vc-picker";
35419
35428
  const Picker = /* @__PURE__ */ vue.defineComponent({
35420
- name: COMPONENT_NAME$C,
35429
+ name: COMPONENT_NAME$B,
35421
35430
  props: props$q,
35422
35431
  setup(props2, {
35423
35432
  slots
@@ -35436,9 +35445,9 @@
35436
35445
  default: "div"
35437
35446
  }
35438
35447
  };
35439
- const COMPONENT_NAME$B = "vc-popconfirm";
35448
+ const COMPONENT_NAME$A = "vc-popconfirm";
35440
35449
  const Popconfirm = /* @__PURE__ */ vue.defineComponent({
35441
- name: COMPONENT_NAME$B,
35450
+ name: COMPONENT_NAME$A,
35442
35451
  props: props$p,
35443
35452
  setup(props2, {
35444
35453
  slots
@@ -35458,9 +35467,9 @@
35458
35467
  default: "div"
35459
35468
  }
35460
35469
  };
35461
- const COMPONENT_NAME$A = "vc-popup";
35470
+ const COMPONENT_NAME$z = "vc-popup";
35462
35471
  const Popup = /* @__PURE__ */ vue.defineComponent({
35463
- name: COMPONENT_NAME$A,
35472
+ name: COMPONENT_NAME$z,
35464
35473
  props: props$o,
35465
35474
  setup(props2, {
35466
35475
  slots
@@ -35481,9 +35490,9 @@
35481
35490
  default: "div"
35482
35491
  }
35483
35492
  };
35484
- const COMPONENT_NAME$z = "vc-print";
35493
+ const COMPONENT_NAME$y = "vc-print";
35485
35494
  const Print = /* @__PURE__ */ vue.defineComponent({
35486
- name: COMPONENT_NAME$z,
35495
+ name: COMPONENT_NAME$y,
35487
35496
  props: props$n,
35488
35497
  setup(props2, {
35489
35498
  expose,
@@ -35538,6 +35547,12 @@
35538
35547
  type: Boolean,
35539
35548
  default: true
35540
35549
  },
35550
+ textStyle: {
35551
+ type: [String, Object]
35552
+ },
35553
+ textClass: {
35554
+ type: [String, Object]
35555
+ },
35541
35556
  animated: {
35542
35557
  type: Boolean,
35543
35558
  default: false
@@ -35567,9 +35582,9 @@
35567
35582
  })
35568
35583
  }
35569
35584
  };
35570
- const COMPONENT_NAME$y = "vc-progress-circle";
35585
+ const COMPONENT_NAME$x = "vc-progress-circle";
35571
35586
  const Circle$1 = /* @__PURE__ */ vue.defineComponent({
35572
- name: COMPONENT_NAME$y,
35587
+ name: COMPONENT_NAME$x,
35573
35588
  props: props$m,
35574
35589
  setup(props2, {
35575
35590
  slots
@@ -35618,14 +35633,17 @@
35618
35633
  "stroke-linecap": "round",
35619
35634
  "fill-opacity": "0"
35620
35635
  }, null)]), vue.createVNode("div", {
35621
- "class": "vc-progress-circle__inner"
35622
- }, [slots.default ? slots.default() : props2.showText && vue.createVNode("span", null, [`${props2.percent}%`])])])]);
35636
+ "class": ["vc-progress-circle__inner"]
35637
+ }, [slots.default ? slots.default() : props2.showText && vue.createVNode("span", {
35638
+ "class": props2.textClass,
35639
+ "style": props2.textStyle
35640
+ }, [`${props2.percent}%`])])])]);
35623
35641
  };
35624
35642
  }
35625
35643
  });
35626
- const COMPONENT_NAME$x = "vc-progress-line";
35644
+ const COMPONENT_NAME$w = "vc-progress-line";
35627
35645
  const Line$2 = /* @__PURE__ */ vue.defineComponent({
35628
- name: COMPONENT_NAME$x,
35646
+ name: COMPONENT_NAME$w,
35629
35647
  props: props$m,
35630
35648
  setup(props2) {
35631
35649
  const colorStyle = vue.computed(() => {
@@ -35654,21 +35672,24 @@
35654
35672
  "style": innerStyle.value,
35655
35673
  "class": [classes.value, "vc-progress-line__inner"]
35656
35674
  }, null)])]), props2.showText && vue.createVNode("div", {
35657
- "class": "vc-progress-line__percent"
35675
+ "class": ["vc-progress-line__percent"]
35658
35676
  }, [["error", "success"].includes(props2.status) ? vue.createVNode(Icon, {
35659
35677
  "type": props2.status,
35660
35678
  "style": colorStyle.value,
35661
35679
  "class": [`is-${props2.status}`, "vc-progress-line__icon"]
35662
- }, null) : vue.createVNode("span", null, [`${props2.percent}%`])])]);
35680
+ }, null) : vue.createVNode("span", {
35681
+ "class": props2.textClass,
35682
+ "style": props2.textStyle
35683
+ }, [`${props2.percent}%`])])]);
35663
35684
  };
35664
35685
  }
35665
35686
  });
35666
35687
  function _isSlot(s) {
35667
35688
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
35668
35689
  }
35669
- const COMPONENT_NAME$w = "vc-progress";
35690
+ const COMPONENT_NAME$v = "vc-progress";
35670
35691
  const Progress = /* @__PURE__ */ vue.defineComponent({
35671
- name: COMPONENT_NAME$w,
35692
+ name: COMPONENT_NAME$v,
35672
35693
  props: props$m,
35673
35694
  setup(props2, {
35674
35695
  slots
@@ -35814,9 +35835,9 @@
35814
35835
  computedLabel
35815
35836
  };
35816
35837
  };
35817
- const COMPONENT_NAME$v = "vc-radio";
35838
+ const COMPONENT_NAME$u = "vc-radio";
35818
35839
  const Radio = /* @__PURE__ */ vue.defineComponent({
35819
- name: COMPONENT_NAME$v,
35840
+ name: COMPONENT_NAME$u,
35820
35841
  props: props$l,
35821
35842
  emits: ["update:modelValue", "change"],
35822
35843
  setup(props2, {
@@ -35922,9 +35943,9 @@
35922
35943
  reset
35923
35944
  };
35924
35945
  };
35925
- const COMPONENT_NAME$u = "vc-radio-group";
35946
+ const COMPONENT_NAME$t = "vc-radio-group";
35926
35947
  const RadioGroup = /* @__PURE__ */ vue.defineComponent({
35927
- name: COMPONENT_NAME$u,
35948
+ name: COMPONENT_NAME$t,
35928
35949
  props: props$k,
35929
35950
  emits: ["update:modelValue", "change"],
35930
35951
  setup(props2, {
@@ -35943,9 +35964,9 @@
35943
35964
  };
35944
35965
  }
35945
35966
  });
35946
- const COMPONENT_NAME$t = "vcm-radio";
35967
+ const COMPONENT_NAME$s = "vcm-radio";
35947
35968
  const MRadio = /* @__PURE__ */ vue.defineComponent({
35948
- name: COMPONENT_NAME$t,
35969
+ name: COMPONENT_NAME$s,
35949
35970
  props: props$l,
35950
35971
  emits: ["update:modelValue", "change"],
35951
35972
  setup(props2, {
@@ -35983,9 +36004,9 @@
35983
36004
  };
35984
36005
  }
35985
36006
  });
35986
- const COMPONENT_NAME$s = "vcm-radio-group";
36007
+ const COMPONENT_NAME$r = "vcm-radio-group";
35987
36008
  const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
35988
- name: COMPONENT_NAME$s,
36009
+ name: COMPONENT_NAME$r,
35989
36010
  props: props$k,
35990
36011
  emits: ["update:modelValue", "change"],
35991
36012
  setup(props2, {
@@ -36010,9 +36031,9 @@
36010
36031
  default: "div"
36011
36032
  }
36012
36033
  };
36013
- const COMPONENT_NAME$r = "vc-rate";
36034
+ const COMPONENT_NAME$q = "vc-rate";
36014
36035
  const Rate = /* @__PURE__ */ vue.defineComponent({
36015
- name: COMPONENT_NAME$r,
36036
+ name: COMPONENT_NAME$q,
36016
36037
  props: props$j,
36017
36038
  setup(props2, {
36018
36039
  slots
@@ -36075,9 +36096,9 @@
36075
36096
  renderPlaceholder: Function,
36076
36097
  renderRefresh: Function
36077
36098
  };
36078
- const COMPONENT_NAME$q = "vc-recycle-list-scroll-state";
36099
+ const COMPONENT_NAME$p = "vc-recycle-list-scroll-state";
36079
36100
  const ScrollState = /* @__PURE__ */ vue.defineComponent({
36080
- name: COMPONENT_NAME$q,
36101
+ name: COMPONENT_NAME$p,
36081
36102
  setup(_, {
36082
36103
  slots
36083
36104
  }) {
@@ -36201,10 +36222,10 @@
36201
36222
  );
36202
36223
  return keys;
36203
36224
  };
36204
- const COMPONENT_NAME$p = "vc-recycle-list-container";
36225
+ const COMPONENT_NAME$o = "vc-recycle-list-container";
36205
36226
  const transformKey = prefixStyle("transform").camel;
36206
36227
  const Container = /* @__PURE__ */ vue.defineComponent({
36207
- name: COMPONENT_NAME$p,
36228
+ name: COMPONENT_NAME$o,
36208
36229
  props: props$h,
36209
36230
  emits: ["refresh"],
36210
36231
  setup(props2, {
@@ -36297,48 +36318,6 @@
36297
36318
  };
36298
36319
  }
36299
36320
  });
36300
- const COMPONENT_NAME$o = "vc-recycle-list-item";
36301
- const Item = /* @__PURE__ */ vue.defineComponent({
36302
- name: COMPONENT_NAME$o,
36303
- props: {
36304
- vertical: {
36305
- type: Boolean,
36306
- default: true
36307
- }
36308
- },
36309
- emits: ["resize", "change"],
36310
- setup(_, {
36311
- emit,
36312
- slots
36313
- }) {
36314
- const K = useDirectionKeys();
36315
- const current = vue.ref();
36316
- const offsetSize = vue.ref(0);
36317
- let hasInitial = false;
36318
- const handleResize = () => {
36319
- const v = current.value.getBoundingClientRect()[K.size];
36320
- const changed = offsetSize.value != v;
36321
- if (changed) {
36322
- offsetSize.value = v;
36323
- hasInitial && emit("resize", v);
36324
- emit("change", v);
36325
- }
36326
- hasInitial = true;
36327
- };
36328
- vue.onMounted(() => {
36329
- Resize.on(current.value, handleResize);
36330
- });
36331
- vue.onBeforeUnmount(() => {
36332
- Resize.off(current.value, handleResize);
36333
- });
36334
- return () => {
36335
- return vue.createVNode("div", {
36336
- "ref": current,
36337
- "class": "vc-recycle-list-item"
36338
- }, [slots?.default?.()]);
36339
- };
36340
- }
36341
- });
36342
36321
  const COMPONENT_NAME$n = "vc-recycle-list";
36343
36322
  const RecycleList = /* @__PURE__ */ vue.defineComponent({
36344
36323
  name: COMPONENT_NAME$n,
@@ -36806,7 +36785,7 @@
36806
36785
  slots.placeholder?.() || renderer.value.placeholder && vue.createVNode(Customer, {
36807
36786
  "render": renderer.value.placeholder
36808
36787
  }, null)
36809
- ]), !item.isPlaceholder && vue.createVNode(Item, {
36788
+ ]), !item.isPlaceholder && vue.createVNode(Resizer, {
36810
36789
  "ref": (v) => curloads.value[item.id] = v,
36811
36790
  "class": {
36812
36791
  "vc-recycle-list__transition": hasPlaceholder.value
@@ -36814,11 +36793,11 @@
36814
36793
  "style": {
36815
36794
  opacity: item.loaded
36816
36795
  },
36796
+ "fill": false,
36817
36797
  "data-row": item.id,
36818
36798
  "data-column": item.column,
36819
36799
  "data-size": item.size,
36820
36800
  "data-position": item.position,
36821
- "vertical": props2.vertical,
36822
36801
  "onResize": handleResize
36823
36802
  }, {
36824
36803
  default: () => [slots.default?.({
@@ -37195,14 +37174,14 @@
37195
37174
  }
37196
37175
  }
37197
37176
  if (column.children) {
37198
- let colSpan = 0;
37177
+ let colspan = 0;
37199
37178
  column.children.forEach((subColumn) => {
37200
37179
  traverse(subColumn, column);
37201
- colSpan += subColumn.colSpan;
37180
+ colspan += subColumn.colspan;
37202
37181
  });
37203
- column.colSpan = colSpan;
37182
+ column.colspan = colspan;
37204
37183
  } else {
37205
- column.colSpan = 1;
37184
+ column.colspan = 1;
37206
37185
  }
37207
37186
  };
37208
37187
  v.forEach((column) => {
@@ -37216,9 +37195,9 @@
37216
37195
  const allColumns = getAllColumns(v);
37217
37196
  allColumns.forEach((column) => {
37218
37197
  if (!column.children) {
37219
- column.rowSpan = maxLevel - column.level + 1;
37198
+ column.rowspan = maxLevel - column.level + 1;
37220
37199
  } else {
37221
- column.rowSpan = 1;
37200
+ column.rowspan = 1;
37222
37201
  }
37223
37202
  rows[column.level - 1].push(column);
37224
37203
  });
@@ -37286,6 +37265,7 @@
37286
37265
  selection: [],
37287
37266
  reserveSelection: false,
37288
37267
  selectable: null,
37268
+ expandSelectable: null,
37289
37269
  hoverRowIndex: null,
37290
37270
  // Current
37291
37271
  currentRow: null,
@@ -37807,6 +37787,7 @@
37807
37787
  this.layout = new Layout(this);
37808
37788
  const { props: props2 } = options.table;
37809
37789
  lodashExports.merge(this.states, {
37790
+ expandSelectable: props2.expandSelectable,
37810
37791
  treeLazy: props2.lazy || false,
37811
37792
  treeLazyColumnIdentifier: props2.treeMap.hasChildren || "hasChildren",
37812
37793
  treeChildrenColumnName: props2.treeMap.children || "children"
@@ -38128,8 +38109,7 @@
38128
38109
  }
38129
38110
  }
38130
38111
  const useStates = (mapper, $store) => {
38131
- const instance = vue.getCurrentInstance();
38132
- const store = $store || instance.proxy?.store;
38112
+ const store = $store || vue.inject("vc-table")?.store;
38133
38113
  const states = vue.reactive({});
38134
38114
  Object.keys(mapper).forEach((key) => {
38135
38115
  const value = mapper[key];
@@ -38161,16 +38141,16 @@
38161
38141
  emit,
38162
38142
  slots
38163
38143
  }) {
38164
- const handleResize = (size, index) => {
38144
+ const handleResize = (e, index) => {
38165
38145
  emit("row-resize", {
38166
38146
  index,
38167
- size
38147
+ size: e.height
38168
38148
  });
38169
38149
  };
38170
38150
  return () => {
38171
38151
  return props2.data.map((row, index) => {
38172
- return vue.createVNode(Item, {
38173
- "vertical": false,
38152
+ return vue.createVNode(Resizer, {
38153
+ "fill": false,
38174
38154
  "onChange": (e) => handleResize(e, index)
38175
38155
  }, {
38176
38156
  default: () => [slots.default?.({
@@ -38185,7 +38165,6 @@
38185
38165
  const TableBody = /* @__PURE__ */ vue.defineComponent({
38186
38166
  name: "vc-table-body",
38187
38167
  props: {
38188
- store: Object,
38189
38168
  fixed: String,
38190
38169
  heightStyle: [Object, Array, String]
38191
38170
  },
@@ -38196,6 +38175,7 @@
38196
38175
  }) {
38197
38176
  const instance = vue.getCurrentInstance();
38198
38177
  const table = vue.inject("vc-table");
38178
+ const allowRender = vue.ref(false);
38199
38179
  const states = useStates({
38200
38180
  data: "data",
38201
38181
  list: "list",
@@ -38213,8 +38193,8 @@
38213
38193
  }) => type === "default")
38214
38194
  });
38215
38195
  const wrapper = vue.ref();
38216
- vue.watch(() => props2.store.states.hoverRowIndex, (v, oldV) => {
38217
- if (!props2.store.states.isComplex || IS_SERVER$3) return;
38196
+ vue.watch(() => table.store.states.hoverRowIndex, (v, oldV) => {
38197
+ if (!table.store.states.isComplex || IS_SERVER$3) return;
38218
38198
  raf(() => {
38219
38199
  const rows = instance.vnode.el.querySelectorAll(".vc-table__row");
38220
38200
  const oldRow = rows[oldV];
@@ -38258,7 +38238,7 @@
38258
38238
  };
38259
38239
  const getRowClass = (row, rowIndex) => {
38260
38240
  const classes = ["vc-table__row"];
38261
- if (table.props.highlight && row === props2.store.states.currentRow) {
38241
+ if (table.props.highlight && row === table.store.states.currentRow) {
38262
38242
  classes.push("current-row");
38263
38243
  }
38264
38244
  if (table.props.stripe && rowIndex % 2 === 1) {
@@ -38273,7 +38253,7 @@
38273
38253
  rowIndex
38274
38254
  }));
38275
38255
  }
38276
- if (props2.store.states.expandRows.indexOf(row) > -1) {
38256
+ if (table.store.states.expandRows.indexOf(row) > -1) {
38277
38257
  classes.push("expanded");
38278
38258
  }
38279
38259
  return classes;
@@ -38352,10 +38332,10 @@
38352
38332
  table.emit("cell-mouse-leave", oldHoverState.row, oldHoverState.column, oldHoverState.cell, e);
38353
38333
  };
38354
38334
  const handleMouseEnter = debounce$1((index) => {
38355
- props2.store.setHoverRow(index);
38335
+ table.store.setHoverRow(index);
38356
38336
  }, 30);
38357
38337
  const handleMouseLeave = debounce$1(() => {
38358
- props2.store.setHoverRow(null);
38338
+ table.store.setHoverRow(null);
38359
38339
  }, 30);
38360
38340
  const handleEvent = (e, row, name) => {
38361
38341
  const cell = getCell(e);
@@ -38375,10 +38355,13 @@
38375
38355
  handleEvent(e, row, "dblclick");
38376
38356
  };
38377
38357
  const handleClick = (e, row) => {
38378
- props2.store.setCurrentRow(row);
38358
+ table.store.setCurrentRow(row);
38379
38359
  handleEvent(e, row, "click");
38380
38360
  };
38381
38361
  const renderRow = (rowData, rowIndex) => {
38362
+ const {
38363
+ rowHeight
38364
+ } = table.props;
38382
38365
  const {
38383
38366
  data: row
38384
38367
  } = rowData;
@@ -38386,7 +38369,8 @@
38386
38369
  columns
38387
38370
  } = states;
38388
38371
  const key = getValueOfRow(row, rowIndex);
38389
- const selected = props2.store.isSelected(row);
38372
+ const selected = table.store.isSelected(row);
38373
+ const height = rowHeight || rowData.height;
38390
38374
  return vue.createVNode("div", {
38391
38375
  "key": key,
38392
38376
  "class": [getRowClass(row, rowIndex), "vc-table__tr"],
@@ -38403,7 +38387,7 @@
38403
38387
  } = column;
38404
38388
  const sizeStyle = {
38405
38389
  width: `${realWidth}px`,
38406
- height: `${rowData.height ? `${rowData.height}px` : "auto"}`
38390
+ height: `${height ? `${height}px` : "auto"}`
38407
38391
  };
38408
38392
  if (columnsHidden.value[columnIndex]) {
38409
38393
  return vue.createVNode("div", {
@@ -38422,7 +38406,7 @@
38422
38406
  column,
38423
38407
  rowIndex,
38424
38408
  columnIndex,
38425
- store: props2.store,
38409
+ store: table.store,
38426
38410
  selected
38427
38411
  })]);
38428
38412
  })]);
@@ -38439,6 +38423,7 @@
38439
38423
  })]);
38440
38424
  };
38441
38425
  const handleMergeRowResize = (v) => {
38426
+ if (table.props.rowHeight) return;
38442
38427
  states.list[v.index].rows.forEach((row) => {
38443
38428
  row.heightMap[props2.fixed || "main"] = v.size;
38444
38429
  const heights = [row.heightMap.main];
@@ -38458,7 +38443,17 @@
38458
38443
  getRootElement: () => instance.vnode.el
38459
38444
  });
38460
38445
  const layout = table.layout;
38446
+ let timer;
38447
+ vue.onBeforeMount(() => {
38448
+ if (table.props.delay) {
38449
+ timer = setTimeout(() => allowRender.value = true, table.props.delay);
38450
+ } else {
38451
+ allowRender.value = true;
38452
+ }
38453
+ });
38454
+ vue.onBeforeUnmount(() => (timer && clearTimeout(timer), allowRender.value = false));
38461
38455
  return () => {
38456
+ if (!allowRender.value) return;
38462
38457
  return vue.createVNode("div", {
38463
38458
  "class": "vc-table__body"
38464
38459
  }, [table.props.height ? vue.createVNode(RecycleList, {
@@ -38507,10 +38502,6 @@
38507
38502
  name: "vc-table-header",
38508
38503
  props: {
38509
38504
  fixed: [Boolean, String],
38510
- store: {
38511
- type: Object,
38512
- required: true
38513
- },
38514
38505
  border: Boolean,
38515
38506
  // 排序全部交给外部处理,内部不处理数据,只做交互
38516
38507
  defaultSort: {
@@ -38658,7 +38649,7 @@
38658
38649
  column.width = columnWidth;
38659
38650
  column.realWidth = column.width;
38660
38651
  table.$emit("header-dragend", column.width, startLeft - startColumnLeft, column, event);
38661
- props2.store.scheduleLayout();
38652
+ table.store.scheduleLayout();
38662
38653
  document.body.style.cursor = "";
38663
38654
  dragging.value = false;
38664
38655
  draggingColumn.value = null;
@@ -38765,7 +38756,7 @@
38765
38756
  }, [column.renderHeader ? column.renderHeader({
38766
38757
  column,
38767
38758
  columnIndex,
38768
- store: props2.store
38759
+ store: table.store
38769
38760
  }) : column.label, column.tooltip ? vue.createVNode(Icon, {
38770
38761
  "type": "o-info",
38771
38762
  "onMouseenter": (e) => handleCellMouseEnter(e, column)
@@ -38788,10 +38779,6 @@
38788
38779
  name: "vc-table-footer",
38789
38780
  props: {
38790
38781
  fixed: [String, Boolean],
38791
- store: {
38792
- type: Object,
38793
- required: true
38794
- },
38795
38782
  getSummary: Function,
38796
38783
  sumText: String,
38797
38784
  border: Boolean
@@ -38813,7 +38800,7 @@
38813
38800
  } else if (props2.fixed === "right") {
38814
38801
  let before = 0;
38815
38802
  for (let i = 0; i < index; i++) {
38816
- before += states.columns[i].colSpan;
38803
+ before += states.columns[i].colspan;
38817
38804
  }
38818
38805
  return before < states.columnsCount - states.rightFixedLeafCount;
38819
38806
  } else if (!props2.fixed && column.fixed) {
@@ -38906,6 +38893,7 @@
38906
38893
  width: [String, Number],
38907
38894
  height: [String, Number],
38908
38895
  maxHeight: [String, Number],
38896
+ rowHeight: [String, Number],
38909
38897
  // 列的宽度是否自撑开
38910
38898
  fit: {
38911
38899
  type: Boolean,
@@ -38986,7 +38974,9 @@
38986
38974
  defaultSort: {
38987
38975
  type: Object,
38988
38976
  default: () => ({})
38989
- }
38977
+ },
38978
+ // 用于延迟渲染,用于计算高度
38979
+ delay: Number
38990
38980
  };
38991
38981
  const COMPONENT_NAME$g = "vc-table";
38992
38982
  const Table = /* @__PURE__ */ vue.defineComponent({
@@ -39108,7 +39098,8 @@
39108
39098
  };
39109
39099
  }
39110
39100
  return {
39111
- height: layout.states.viewportHeight ? layout.states.viewportHeight + "px" : ""
39101
+ height: layout.states.viewportHeight ? layout.states.viewportHeight + "px" : "",
39102
+ bottom: 0
39112
39103
  };
39113
39104
  }
39114
39105
  });
@@ -39372,7 +39363,6 @@
39372
39363
  "class": "vc-table__header-wrapper"
39373
39364
  }, [vue.createVNode(TableHeader, {
39374
39365
  "ref": tableHeader,
39375
- "store": store,
39376
39366
  "border": props2.border,
39377
39367
  "default-sort": props2.defaultSort,
39378
39368
  "style": bodyWidthStyle.value
@@ -39388,14 +39378,15 @@
39388
39378
  }, {
39389
39379
  default: () => [vue.createVNode(TableBody, {
39390
39380
  "ref": body,
39391
- "store": store,
39392
39381
  "style": [bodyWidthStyle.value],
39393
39382
  "height-style": [bodyHeightStyle.value],
39394
39383
  "onScroll": handleScollY
39395
39384
  }, null), props2.data.length === 0 && vue.createVNode("div", {
39396
39385
  "ref": emptyBlock,
39397
39386
  "style": bodyWidthStyle.value,
39398
- "class": "vc-table__empty-block"
39387
+ "class": [{
39388
+ "is-absolute": !!props2.height
39389
+ }, "vc-table__empty-wrapper"]
39399
39390
  }, [vue.createVNode("span", {
39400
39391
  "class": "vc-table__empty-text"
39401
39392
  }, [slots.empty ? slots.empty() : props2.emptyText || "暂无数据"])]), slots.append && vue.createVNode("div", {
@@ -39406,7 +39397,6 @@
39406
39397
  "ref": footerWrapper,
39407
39398
  "class": "vc-table__footer-wrapper"
39408
39399
  }, [vue.createVNode(TableFooter, {
39409
- "store": store,
39410
39400
  "border": props2.border,
39411
39401
  "sum-text": props2.sumText || "合计",
39412
39402
  "get-summary": props2.getSummary,
@@ -39422,7 +39412,6 @@
39422
39412
  "class": "vc-table__fixed-header-wrapper"
39423
39413
  }, [vue.createVNode(TableHeader, {
39424
39414
  "ref": leftFixedTableHeader,
39425
- "store": store,
39426
39415
  "border": props2.border,
39427
39416
  "default-sort": props2.defaultSort,
39428
39417
  "style": bodyWidthStyle.value,
@@ -39435,7 +39424,6 @@
39435
39424
  "class": "vc-table__fixed-body-wrapper"
39436
39425
  }, [vue.createVNode(TableBody, {
39437
39426
  "ref": leftFixedBody,
39438
- "store": store,
39439
39427
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
39440
39428
  "fixed": "left"
39441
39429
  }, null), slots.append && vue.createVNode("div", {
@@ -39447,7 +39435,6 @@
39447
39435
  "ref": leftFixedFooterWrapper,
39448
39436
  "class": "vc-table__fixed-footer-wrapper"
39449
39437
  }, [vue.createVNode(TableFooter, {
39450
- "store": store,
39451
39438
  "border": props2.border,
39452
39439
  "sum-text": props2.sumText || "合计",
39453
39440
  "get-summary": props2.getSummary,
@@ -39464,7 +39451,6 @@
39464
39451
  "class": "vc-table__fixed-header-wrapper"
39465
39452
  }, [vue.createVNode(TableHeader, {
39466
39453
  "ref": rightFixedTableHeader,
39467
- "store": store,
39468
39454
  "border": props2.border,
39469
39455
  "default-sort": props2.defaultSort,
39470
39456
  "style": bodyWidthStyle.value,
@@ -39477,7 +39463,6 @@
39477
39463
  "class": "vc-table__fixed-body-wrapper"
39478
39464
  }, [vue.createVNode(TableBody, {
39479
39465
  "ref": rightFixedBody,
39480
- "store": store,
39481
39466
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
39482
39467
  "fixed": "right"
39483
39468
  }, null), slots.append && vue.createVNode("div", {
@@ -39489,7 +39474,6 @@
39489
39474
  "ref": rightFixedFooterWrapper,
39490
39475
  "class": "vc-table__fixed-footer-wrapper"
39491
39476
  }, [vue.createVNode(TableFooter, {
39492
- "store": store,
39493
39477
  "border": props2.border,
39494
39478
  "sum-text": props2.sumText || "合计",
39495
39479
  "get-summary": props2.getSummary,
@@ -39551,7 +39535,7 @@
39551
39535
  "disabled": column.selectable ? !column.selectable.call(null, row, rowIndex) : false,
39552
39536
  "onChange": () => store.rowSelectedChanged(row),
39553
39537
  "onClick": (e) => e.stopPropagation()
39554
- }, null), [[vue.vShow, store.table.props.expandSelectable || level === 0]]);
39538
+ }, null), [[vue.vShow, store.states.expandSelectable || level === 0]]);
39555
39539
  },
39556
39540
  sortable: false,
39557
39541
  resizable: false
@@ -39758,16 +39742,9 @@
39758
39742
  return column;
39759
39743
  };
39760
39744
  const setColumnWidth = (column) => {
39761
- if (realWidth.value) {
39762
- column.width = realWidth.value;
39763
- }
39764
- if (realMinWidth.value) {
39765
- column.minWidth = realMinWidth.value;
39766
- }
39767
- if (!column.minWidth) {
39768
- column.minWidth = 80;
39769
- }
39770
- column.realWidth = column.width === void 0 ? column.minWidth : column.width;
39745
+ column.width = realWidth.value || column.width;
39746
+ column.minWidth = realMinWidth.value || column.minWidth || 80;
39747
+ column.realWidth = typeof column.width === "undefined" ? column.minWidth : column.width;
39771
39748
  return column;
39772
39749
  };
39773
39750
  const setColumnRenders = (column) => {
@@ -39824,6 +39801,8 @@
39824
39801
  };
39825
39802
  const registerColumn = () => {
39826
39803
  const defaults2 = {
39804
+ colspan: 1,
39805
+ rowspan: 1,
39827
39806
  ...cellStarts[props2.type],
39828
39807
  id: columnId.value,
39829
39808
  realAlign,
@@ -40082,7 +40061,7 @@
40082
40061
  if (!Array.from(items).length) return;
40083
40062
  let offset = 0;
40084
40063
  if (index > 0) {
40085
- const gutter = 16;
40064
+ const gutter = 12;
40086
40065
  for (let i = 0; i < index; i++) {
40087
40066
  offset += parseFloat(items[i].offsetWidth) + gutter;
40088
40067
  }
@@ -40146,7 +40125,7 @@
40146
40125
  }, [slots.extra?.()]), vue.createVNode("div", {
40147
40126
  "ref": wrapper,
40148
40127
  "style": {
40149
- padding: tabs.scrollable.value && "0 24px"
40128
+ padding: tabs.scrollable.value ? "0 24px" : 0
40150
40129
  },
40151
40130
  "class": "vc-tabs__bar"
40152
40131
  }, [tabs.scrollable.value && vue.createVNode(Icon, {