@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.
@@ -24158,9 +24158,9 @@ var Vc = (function (exports, vue) {
24158
24158
  default: "div"
24159
24159
  }
24160
24160
  };
24161
- const COMPONENT_NAME$1$ = "vc-action-sheet";
24161
+ const COMPONENT_NAME$1_ = "vc-action-sheet";
24162
24162
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
24163
- name: COMPONENT_NAME$1$,
24163
+ name: COMPONENT_NAME$1_,
24164
24164
  props: props$1q,
24165
24165
  setup(props2, {
24166
24166
  slots
@@ -24340,9 +24340,9 @@ var Vc = (function (exports, vue) {
24340
24340
  }
24341
24341
  }
24342
24342
  const IconManager = new Manager();
24343
- const COMPONENT_NAME$1_ = "vc-icon";
24343
+ const COMPONENT_NAME$1Z = "vc-icon";
24344
24344
  const Icon = /* @__PURE__ */ vue.defineComponent({
24345
- name: COMPONENT_NAME$1_,
24345
+ name: COMPONENT_NAME$1Z,
24346
24346
  props: props$1o,
24347
24347
  setup(props2) {
24348
24348
  const viewBox = vue.ref("0 0 1024 1024");
@@ -24538,9 +24538,9 @@ var Vc = (function (exports, vue) {
24538
24538
  }
24539
24539
  };
24540
24540
  };
24541
- const COMPONENT_NAME$1Z = "vc-transition";
24541
+ const COMPONENT_NAME$1Y = "vc-transition";
24542
24542
  const Transition = vue.defineComponent({
24543
- name: COMPONENT_NAME$1Z,
24543
+ name: COMPONENT_NAME$1Y,
24544
24544
  props: props$1n,
24545
24545
  // 当不声明emits的情况下,事件存在于attrs中
24546
24546
  inheritAttrs: false,
@@ -24560,9 +24560,9 @@ var Vc = (function (exports, vue) {
24560
24560
  };
24561
24561
  }
24562
24562
  });
24563
- const COMPONENT_NAME$1Y = "vc-transition-collapse";
24563
+ const COMPONENT_NAME$1X = "vc-transition-collapse";
24564
24564
  const TransitionCollapse = vue.defineComponent({
24565
- name: COMPONENT_NAME$1Y,
24565
+ name: COMPONENT_NAME$1X,
24566
24566
  props: props$1n,
24567
24567
  // 当不声明emits的情况下,事件存在于attrs中
24568
24568
  inheritAttrs: false,
@@ -24680,9 +24680,9 @@ var Vc = (function (exports, vue) {
24680
24680
  };
24681
24681
  }
24682
24682
  });
24683
- const COMPONENT_NAME$1X = "vc-transition-fade";
24683
+ const COMPONENT_NAME$1W = "vc-transition-fade";
24684
24684
  const TransitionFade = vue.defineComponent({
24685
- name: COMPONENT_NAME$1X,
24685
+ name: COMPONENT_NAME$1W,
24686
24686
  props: {
24687
24687
  ...props$1n,
24688
24688
  // inheritAttrs必须是false
@@ -24716,9 +24716,9 @@ var Vc = (function (exports, vue) {
24716
24716
  };
24717
24717
  }
24718
24718
  });
24719
- const COMPONENT_NAME$1W = "vc-transition-scale";
24719
+ const COMPONENT_NAME$1V = "vc-transition-scale";
24720
24720
  const TransitionScale = vue.defineComponent({
24721
- name: COMPONENT_NAME$1W,
24721
+ name: COMPONENT_NAME$1V,
24722
24722
  props: {
24723
24723
  ...props$1n,
24724
24724
  mode: {
@@ -24757,9 +24757,9 @@ var Vc = (function (exports, vue) {
24757
24757
  };
24758
24758
  }
24759
24759
  });
24760
- const COMPONENT_NAME$1V = "vc-transition-slide";
24760
+ const COMPONENT_NAME$1U = "vc-transition-slide";
24761
24761
  const TransitionSlide = vue.defineComponent({
24762
- name: COMPONENT_NAME$1V,
24762
+ name: COMPONENT_NAME$1U,
24763
24763
  props: {
24764
24764
  ...props$1n,
24765
24765
  mode: {
@@ -24798,9 +24798,9 @@ var Vc = (function (exports, vue) {
24798
24798
  };
24799
24799
  }
24800
24800
  });
24801
- const COMPONENT_NAME$1U = "vc-transition-zoom";
24801
+ const COMPONENT_NAME$1T = "vc-transition-zoom";
24802
24802
  const TransitionZoom = vue.defineComponent({
24803
- name: COMPONENT_NAME$1U,
24803
+ name: COMPONENT_NAME$1T,
24804
24804
  props: {
24805
24805
  ...props$1n,
24806
24806
  mode: {
@@ -24839,7 +24839,7 @@ var Vc = (function (exports, vue) {
24839
24839
  };
24840
24840
  }
24841
24841
  });
24842
- const COMPONENT_NAME$1T = "vc-alert";
24842
+ const COMPONENT_NAME$1S = "vc-alert";
24843
24843
  const THEME_MAP = {
24844
24844
  info: ["#2B72FD", "#91d5ff", "#e6f7ff"],
24845
24845
  success: ["#52c41a", "#b7eb8f", "#f6ffed"],
@@ -24847,7 +24847,7 @@ var Vc = (function (exports, vue) {
24847
24847
  warning: ["#ffbf00", "#ffe58f", "#fffbe6"]
24848
24848
  };
24849
24849
  const Alert = /* @__PURE__ */ vue.defineComponent({
24850
- name: COMPONENT_NAME$1T,
24850
+ name: COMPONENT_NAME$1S,
24851
24851
  props: props$1p,
24852
24852
  setup(props2, {
24853
24853
  slots,
@@ -24940,9 +24940,9 @@ var Vc = (function (exports, vue) {
24940
24940
  default: "div"
24941
24941
  }
24942
24942
  };
24943
- const COMPONENT_NAME$1S = "vc-artboard";
24943
+ const COMPONENT_NAME$1R = "vc-artboard";
24944
24944
  const Artboard = /* @__PURE__ */ vue.defineComponent({
24945
- name: COMPONENT_NAME$1S,
24945
+ name: COMPONENT_NAME$1R,
24946
24946
  props: props$1m,
24947
24947
  setup(props2, {
24948
24948
  slots
@@ -24976,9 +24976,9 @@ var Vc = (function (exports, vue) {
24976
24976
  default: false
24977
24977
  }
24978
24978
  };
24979
- const COMPONENT_NAME$1R = "vc-spin";
24979
+ const COMPONENT_NAME$1Q = "vc-spin";
24980
24980
  const Spin = /* @__PURE__ */ vue.defineComponent({
24981
- name: COMPONENT_NAME$1R,
24981
+ name: COMPONENT_NAME$1Q,
24982
24982
  props: props$1l,
24983
24983
  setup(props2, {
24984
24984
  slots
@@ -25027,9 +25027,9 @@ var Vc = (function (exports, vue) {
25027
25027
  },
25028
25028
  exclude: RegExp
25029
25029
  };
25030
- const COMPONENT_NAME$1Q = "vc-debounce";
25030
+ const COMPONENT_NAME$1P = "vc-debounce";
25031
25031
  const Debounce = vue.defineComponent({
25032
- name: COMPONENT_NAME$1Q,
25032
+ name: COMPONENT_NAME$1P,
25033
25033
  props: props$1k,
25034
25034
  /**
25035
25035
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
@@ -25097,9 +25097,9 @@ var Vc = (function (exports, vue) {
25097
25097
  default: "button"
25098
25098
  }
25099
25099
  };
25100
- const COMPONENT_NAME$1P = "vc-button";
25100
+ const COMPONENT_NAME$1O = "vc-button";
25101
25101
  const Button = /* @__PURE__ */ vue.defineComponent({
25102
- name: COMPONENT_NAME$1P,
25102
+ name: COMPONENT_NAME$1O,
25103
25103
  emits: ["click"],
25104
25104
  props: props$1j,
25105
25105
  setup(props2, {
@@ -25175,9 +25175,9 @@ var Vc = (function (exports, vue) {
25175
25175
  default: false
25176
25176
  }
25177
25177
  };
25178
- const COMPONENT_NAME$1O = "vc-button-group";
25178
+ const COMPONENT_NAME$1N = "vc-button-group";
25179
25179
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
25180
- name: COMPONENT_NAME$1O,
25180
+ name: COMPONENT_NAME$1N,
25181
25181
  props: props$1i,
25182
25182
  setup(props2, {
25183
25183
  slots
@@ -25206,9 +25206,9 @@ var Vc = (function (exports, vue) {
25206
25206
  default: "div"
25207
25207
  }
25208
25208
  };
25209
- const COMPONENT_NAME$1N = "vc-calendar";
25209
+ const COMPONENT_NAME$1M = "vc-calendar";
25210
25210
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
25211
- name: COMPONENT_NAME$1N,
25211
+ name: COMPONENT_NAME$1M,
25212
25212
  props: props$1h,
25213
25213
  setup(props2, {
25214
25214
  slots
@@ -25241,9 +25241,9 @@ var Vc = (function (exports, vue) {
25241
25241
  type: String
25242
25242
  }
25243
25243
  };
25244
- const COMPONENT_NAME$1M = "vc-card";
25244
+ const COMPONENT_NAME$1L = "vc-card";
25245
25245
  const Card = /* @__PURE__ */ vue.defineComponent({
25246
- name: COMPONENT_NAME$1M,
25246
+ name: COMPONENT_NAME$1L,
25247
25247
  props: props$1g,
25248
25248
  setup(props2, {
25249
25249
  slots
@@ -25274,9 +25274,9 @@ var Vc = (function (exports, vue) {
25274
25274
  default: "div"
25275
25275
  }
25276
25276
  };
25277
- const COMPONENT_NAME$1L = "vc-carousel";
25277
+ const COMPONENT_NAME$1K = "vc-carousel";
25278
25278
  const Carousel = /* @__PURE__ */ vue.defineComponent({
25279
- name: COMPONENT_NAME$1L,
25279
+ name: COMPONENT_NAME$1K,
25280
25280
  props: props$1f,
25281
25281
  setup(props2, {
25282
25282
  slots
@@ -25295,9 +25295,9 @@ var Vc = (function (exports, vue) {
25295
25295
  default: "div"
25296
25296
  }
25297
25297
  };
25298
- const COMPONENT_NAME$1K = "vc-cascader";
25298
+ const COMPONENT_NAME$1J = "vc-cascader";
25299
25299
  const Cascader = /* @__PURE__ */ vue.defineComponent({
25300
- name: COMPONENT_NAME$1K,
25300
+ name: COMPONENT_NAME$1J,
25301
25301
  props: props$1e,
25302
25302
  setup(props2, {
25303
25303
  slots
@@ -25360,9 +25360,9 @@ var Vc = (function (exports, vue) {
25360
25360
  watchShallow: Boolean,
25361
25361
  manualUpdate: Boolean
25362
25362
  };
25363
- const COMPONENT_NAME$1J = "vc-chart";
25363
+ const COMPONENT_NAME$1I = "vc-chart";
25364
25364
  const Chart = /* @__PURE__ */ vue.defineComponent({
25365
- name: COMPONENT_NAME$1J,
25365
+ name: COMPONENT_NAME$1I,
25366
25366
  props: props$1d,
25367
25367
  emits: [...EVENTS, "ready"],
25368
25368
  setup(props2, {
@@ -25583,9 +25583,9 @@ var Vc = (function (exports, vue) {
25583
25583
  computedLabel
25584
25584
  };
25585
25585
  };
25586
- const COMPONENT_NAME$1I = "vc-checkbox";
25586
+ const COMPONENT_NAME$1H = "vc-checkbox";
25587
25587
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
25588
- name: COMPONENT_NAME$1I,
25588
+ name: COMPONENT_NAME$1H,
25589
25589
  props: props$1c,
25590
25590
  emits: ["update:modelValue", "change"],
25591
25591
  setup(props2, {
@@ -25667,9 +25667,9 @@ var Vc = (function (exports, vue) {
25667
25667
  reset
25668
25668
  };
25669
25669
  };
25670
- const COMPONENT_NAME$1H = "vc-checkbox-group";
25670
+ const COMPONENT_NAME$1G = "vc-checkbox-group";
25671
25671
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
25672
- name: COMPONENT_NAME$1H,
25672
+ name: COMPONENT_NAME$1G,
25673
25673
  props: props$1b,
25674
25674
  emits: ["update:modelValue", "change"],
25675
25675
  setup(props2, {
@@ -25684,9 +25684,9 @@ var Vc = (function (exports, vue) {
25684
25684
  };
25685
25685
  }
25686
25686
  });
25687
- const COMPONENT_NAME$1G = "vcm-checkbox";
25687
+ const COMPONENT_NAME$1F = "vcm-checkbox";
25688
25688
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
25689
- name: COMPONENT_NAME$1G,
25689
+ name: COMPONENT_NAME$1F,
25690
25690
  props: props$1c,
25691
25691
  emits: ["update:modelValue", "change"],
25692
25692
  setup(props2, {
@@ -25723,9 +25723,9 @@ var Vc = (function (exports, vue) {
25723
25723
  };
25724
25724
  }
25725
25725
  });
25726
- const COMPONENT_NAME$1F = "vcm-checkbox-group";
25726
+ const COMPONENT_NAME$1E = "vcm-checkbox-group";
25727
25727
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
25728
- name: COMPONENT_NAME$1F,
25728
+ name: COMPONENT_NAME$1E,
25729
25729
  props: props$1b,
25730
25730
  emits: ["update:modelValue", "change"],
25731
25731
  setup(props2, {
@@ -25781,9 +25781,9 @@ var Vc = (function (exports, vue) {
25781
25781
  default: () => null
25782
25782
  }
25783
25783
  };
25784
- const COMPONENT_NAME$1E = "vc-customer";
25784
+ const COMPONENT_NAME$1D = "vc-customer";
25785
25785
  const Customer = vue.defineComponent({
25786
- name: COMPONENT_NAME$1E,
25786
+ name: COMPONENT_NAME$1D,
25787
25787
  props: props$19,
25788
25788
  setup(props2, context) {
25789
25789
  return () => vue.h(() => {
@@ -25791,9 +25791,9 @@ var Vc = (function (exports, vue) {
25791
25791
  });
25792
25792
  }
25793
25793
  });
25794
- const COMPONENT_NAME$1D = "vc-message";
25794
+ const COMPONENT_NAME$1C = "vc-message";
25795
25795
  const MessageView = /* @__PURE__ */ vue.defineComponent({
25796
- name: COMPONENT_NAME$1D,
25796
+ name: COMPONENT_NAME$1C,
25797
25797
  emits: ["before-close", "close", "portal-fulfilled"],
25798
25798
  props: props$1a,
25799
25799
  setup(props2, {
@@ -25936,7 +25936,7 @@ var Vc = (function (exports, vue) {
25936
25936
  return this.target.finally(callback);
25937
25937
  }
25938
25938
  }
25939
- const COMPONENT_NAME$1C = "vc-portal";
25939
+ const COMPONENT_NAME$1B = "vc-portal";
25940
25940
  class Portal {
25941
25941
  /**
25942
25942
  * 清理Portals类型组件
@@ -25988,7 +25988,7 @@ var Vc = (function (exports, vue) {
25988
25988
  this.wrapper = wrapper;
25989
25989
  this.globalOptions = {
25990
25990
  ...options,
25991
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1C)
25991
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1B)
25992
25992
  };
25993
25993
  }
25994
25994
  popup(propsData, options) {
@@ -26087,7 +26087,7 @@ var Vc = (function (exports, vue) {
26087
26087
  ...rest
26088
26088
  } = options;
26089
26089
  let useAllNodes = fragment;
26090
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1C)}` : name$;
26090
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1B)}` : name$;
26091
26091
  const container = document.createElement(tag);
26092
26092
  const root = typeof el2 === "object" ? el2 : document.querySelector(el2 || "body");
26093
26093
  !alive && Portal.leafs.get(name)?.destroy();
@@ -26121,7 +26121,7 @@ var Vc = (function (exports, vue) {
26121
26121
  } else {
26122
26122
  const wrapper = this.wrapper;
26123
26123
  const app = vue.createApp({
26124
- name: COMPONENT_NAME$1C,
26124
+ name: COMPONENT_NAME$1B,
26125
26125
  parent,
26126
26126
  setup() {
26127
26127
  if (alive) {
@@ -26231,9 +26231,9 @@ var Vc = (function (exports, vue) {
26231
26231
  default: "div"
26232
26232
  }
26233
26233
  };
26234
- const COMPONENT_NAME$1B = "vc-portal-view";
26234
+ const COMPONENT_NAME$1A = "vc-portal-view";
26235
26235
  const PortalView = /* @__PURE__ */ vue.defineComponent({
26236
- name: COMPONENT_NAME$1B,
26236
+ name: COMPONENT_NAME$1A,
26237
26237
  props: props$18,
26238
26238
  setup(props2, {
26239
26239
  slots
@@ -26396,9 +26396,9 @@ var Vc = (function (exports, vue) {
26396
26396
  };
26397
26397
  return () => vue.h(props2.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
26398
26398
  };
26399
- const COMPONENT_NAME$1A = "vc-clipboard";
26399
+ const COMPONENT_NAME$1z = "vc-clipboard";
26400
26400
  const Clipboard$1 = vue.defineComponent({
26401
- name: COMPONENT_NAME$1A,
26401
+ name: COMPONENT_NAME$1z,
26402
26402
  props: props$17,
26403
26403
  setup() {
26404
26404
  return useClipboard((content) => Message.success({ content }));
@@ -26430,9 +26430,9 @@ var Vc = (function (exports, vue) {
26430
26430
  const MTransitionScale = TransitionScale;
26431
26431
  const MTransitionSlide = TransitionSlide;
26432
26432
  const MTransitionZoom = TransitionZoom;
26433
- const COMPONENT_NAME$1z = "vcm-toast";
26433
+ const COMPONENT_NAME$1y = "vcm-toast";
26434
26434
  const MToastView = /* @__PURE__ */ vue.defineComponent({
26435
- name: COMPONENT_NAME$1z,
26435
+ name: COMPONENT_NAME$1y,
26436
26436
  emits: ["close", "portal-fulfilled"],
26437
26437
  props: props$16,
26438
26438
  setup(props2, {
@@ -26531,9 +26531,9 @@ var Vc = (function (exports, vue) {
26531
26531
  const warning$2 = create$3({ mode: "warning" });
26532
26532
  const error$2 = create$3({ mode: "error" });
26533
26533
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
26534
- const COMPONENT_NAME$1y = "vcm-clipboard";
26534
+ const COMPONENT_NAME$1x = "vcm-clipboard";
26535
26535
  const MClipboard$1 = vue.defineComponent({
26536
- name: COMPONENT_NAME$1y,
26536
+ name: COMPONENT_NAME$1x,
26537
26537
  props: props$17,
26538
26538
  setup() {
26539
26539
  return useClipboard((content) => MToast.info({ content }));
@@ -26562,9 +26562,9 @@ var Vc = (function (exports, vue) {
26562
26562
  default: false
26563
26563
  }
26564
26564
  };
26565
- const COMPONENT_NAME$1x = "vc-collapse";
26565
+ const COMPONENT_NAME$1w = "vc-collapse";
26566
26566
  const Collapse = vue.defineComponent({
26567
- name: COMPONENT_NAME$1x,
26567
+ name: COMPONENT_NAME$1w,
26568
26568
  props: props$15,
26569
26569
  emits: ["update:moodelValue", "change"],
26570
26570
  setup(props2, { slots, emit }) {
@@ -26676,9 +26676,9 @@ var Vc = (function (exports, vue) {
26676
26676
  function _isSlot$3(s) {
26677
26677
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
26678
26678
  }
26679
- const COMPONENT_NAME$1w = "vc-expand";
26679
+ const COMPONENT_NAME$1v = "vc-expand";
26680
26680
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
26681
- name: COMPONENT_NAME$1w,
26681
+ name: COMPONENT_NAME$1v,
26682
26682
  props: props$13,
26683
26683
  setup(props2, {
26684
26684
  slots
@@ -26705,9 +26705,9 @@ var Vc = (function (exports, vue) {
26705
26705
  };
26706
26706
  }
26707
26707
  });
26708
- const COMPONENT_NAME$1v = "vc-collapse-item";
26708
+ const COMPONENT_NAME$1u = "vc-collapse-item";
26709
26709
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
26710
- name: COMPONENT_NAME$1v,
26710
+ name: COMPONENT_NAME$1u,
26711
26711
  props: props$14,
26712
26712
  setup(props2, {
26713
26713
  slots,
@@ -26777,9 +26777,9 @@ var Vc = (function (exports, vue) {
26777
26777
  default: "div"
26778
26778
  }
26779
26779
  };
26780
- const COMPONENT_NAME$1u = "vc-color-picker";
26780
+ const COMPONENT_NAME$1t = "vc-color-picker";
26781
26781
  const ColorPicker = /* @__PURE__ */ vue.defineComponent({
26782
- name: COMPONENT_NAME$1u,
26782
+ name: COMPONENT_NAME$1t,
26783
26783
  props: props$12,
26784
26784
  setup(props2, {
26785
26785
  slots
@@ -26798,9 +26798,9 @@ var Vc = (function (exports, vue) {
26798
26798
  default: "div"
26799
26799
  }
26800
26800
  };
26801
- const COMPONENT_NAME$1t = "vc-countdown";
26801
+ const COMPONENT_NAME$1s = "vc-countdown";
26802
26802
  const Countdown = /* @__PURE__ */ vue.defineComponent({
26803
- name: COMPONENT_NAME$1t,
26803
+ name: COMPONENT_NAME$1s,
26804
26804
  props: props$11,
26805
26805
  setup(props2, {
26806
26806
  slots
@@ -27237,9 +27237,9 @@ var Vc = (function (exports, vue) {
27237
27237
  expose?.(exposed);
27238
27238
  return exposed;
27239
27239
  };
27240
- const COMPONENT_NAME$1s = "vc-input";
27240
+ const COMPONENT_NAME$1r = "vc-input";
27241
27241
  const Input = /* @__PURE__ */ vue.defineComponent({
27242
- name: COMPONENT_NAME$1s,
27242
+ name: COMPONENT_NAME$1r,
27243
27243
  inheritAttrs: false,
27244
27244
  props: {
27245
27245
  ...props$$,
@@ -27569,9 +27569,9 @@ var Vc = (function (exports, vue) {
27569
27569
  handleStepper
27570
27570
  };
27571
27571
  };
27572
- const COMPONENT_NAME$1r = "vc-input-number";
27572
+ const COMPONENT_NAME$1q = "vc-input-number";
27573
27573
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
27574
- name: COMPONENT_NAME$1r,
27574
+ name: COMPONENT_NAME$1q,
27575
27575
  props: props$X,
27576
27576
  inheritAttrs: false,
27577
27577
  setup(props2, {
@@ -27631,9 +27631,9 @@ var Vc = (function (exports, vue) {
27631
27631
  default: true
27632
27632
  }
27633
27633
  };
27634
- const COMPONENT_NAME$1q = "vc-input-search";
27634
+ const COMPONENT_NAME$1p = "vc-input-search";
27635
27635
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
27636
- name: COMPONENT_NAME$1q,
27636
+ name: COMPONENT_NAME$1p,
27637
27637
  props: props$W,
27638
27638
  inheritAttrs: false,
27639
27639
  setup(props2, {
@@ -27920,9 +27920,9 @@ var Vc = (function (exports, vue) {
27920
27920
  function _isSlot$2(s) {
27921
27921
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
27922
27922
  }
27923
- const COMPONENT_NAME$1p = "vc-popover-wrapper";
27923
+ const COMPONENT_NAME$1o = "vc-popover-wrapper";
27924
27924
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
27925
- name: COMPONENT_NAME$1p,
27925
+ name: COMPONENT_NAME$1o,
27926
27926
  props: props$_,
27927
27927
  emits: ["portal-fulfilled", "close"],
27928
27928
  setup(props2, {
@@ -28140,9 +28140,9 @@ var Vc = (function (exports, vue) {
28140
28140
  }
28141
28141
  });
28142
28142
  const PopoverPortal = new Portal(PopoverWrapper);
28143
- const COMPONENT_NAME$1o = "vc-popover";
28143
+ const COMPONENT_NAME$1n = "vc-popover";
28144
28144
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
28145
- name: COMPONENT_NAME$1o,
28145
+ name: COMPONENT_NAME$1n,
28146
28146
  props: props$Z,
28147
28147
  emits: ["update:modelValue", "visible-change", "ready", "close"],
28148
28148
  setup(props2, {
@@ -29218,9 +29218,9 @@ var Vc = (function (exports, vue) {
29218
29218
  }
29219
29219
  return view;
29220
29220
  };
29221
- const COMPONENT_NAME$1n = "vc-date-confirm";
29221
+ const COMPONENT_NAME$1m = "vc-date-confirm";
29222
29222
  const Confirm = /* @__PURE__ */ vue.defineComponent({
29223
- name: COMPONENT_NAME$1n,
29223
+ name: COMPONENT_NAME$1m,
29224
29224
  props: {
29225
29225
  showTime: {
29226
29226
  type: Boolean,
@@ -29281,9 +29281,9 @@ var Vc = (function (exports, vue) {
29281
29281
  };
29282
29282
  }
29283
29283
  });
29284
- const COMPONENT_NAME$1m = "vc-date-header";
29284
+ const COMPONENT_NAME$1l = "vc-date-header";
29285
29285
  const DateHeader = /* @__PURE__ */ vue.defineComponent({
29286
- name: COMPONENT_NAME$1m,
29286
+ name: COMPONENT_NAME$1l,
29287
29287
  props: {
29288
29288
  panelDate: Date,
29289
29289
  showNext: {
@@ -29364,9 +29364,9 @@ var Vc = (function (exports, vue) {
29364
29364
  };
29365
29365
  }
29366
29366
  });
29367
- const COMPONENT_NAME$1l = "vc-date-table";
29367
+ const COMPONENT_NAME$1k = "vc-date-table";
29368
29368
  const DateTable = /* @__PURE__ */ vue.defineComponent({
29369
- name: COMPONENT_NAME$1l,
29369
+ name: COMPONENT_NAME$1k,
29370
29370
  props: {
29371
29371
  value: Array,
29372
29372
  firstDayOfWeek: {
@@ -29566,9 +29566,9 @@ var Vc = (function (exports, vue) {
29566
29566
  };
29567
29567
  }
29568
29568
  });
29569
- const COMPONENT_NAME$1k = "vc-month-table";
29569
+ const COMPONENT_NAME$1j = "vc-month-table";
29570
29570
  const MonthTable = /* @__PURE__ */ vue.defineComponent({
29571
- name: COMPONENT_NAME$1k,
29571
+ name: COMPONENT_NAME$1j,
29572
29572
  props: {
29573
29573
  value: Array,
29574
29574
  panelDate: Date,
@@ -29694,7 +29694,7 @@ var Vc = (function (exports, vue) {
29694
29694
  };
29695
29695
  }
29696
29696
  });
29697
- const COMPONENT_NAME$1j = "vc-quarter-table";
29697
+ const COMPONENT_NAME$1i = "vc-quarter-table";
29698
29698
  const getMonthRange = (panelDate, quarter) => {
29699
29699
  const year = panelDate.getFullYear();
29700
29700
  const [startMonth, endMonth] = [quarter * 3, quarter * 3 + 2];
@@ -29721,7 +29721,7 @@ var Vc = (function (exports, vue) {
29721
29721
  }
29722
29722
  };
29723
29723
  const QuarterTable = /* @__PURE__ */ vue.defineComponent({
29724
- name: COMPONENT_NAME$1j,
29724
+ name: COMPONENT_NAME$1i,
29725
29725
  props: {
29726
29726
  value: Array,
29727
29727
  panelDate: Date,
@@ -29839,9 +29839,9 @@ var Vc = (function (exports, vue) {
29839
29839
  };
29840
29840
  }
29841
29841
  });
29842
- const COMPONENT_NAME$1i = "vc-shortcuts-select";
29842
+ const COMPONENT_NAME$1h = "vc-shortcuts-select";
29843
29843
  const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
29844
- name: COMPONENT_NAME$1i,
29844
+ name: COMPONENT_NAME$1h,
29845
29845
  props: {
29846
29846
  panelDate: Date,
29847
29847
  config: Array,
@@ -29878,9 +29878,9 @@ var Vc = (function (exports, vue) {
29878
29878
  };
29879
29879
  }
29880
29880
  });
29881
- const COMPONENT_NAME$1h = "vc-time-select";
29881
+ const COMPONENT_NAME$1g = "vc-time-select";
29882
29882
  const TimeSelect = /* @__PURE__ */ vue.defineComponent({
29883
- name: COMPONENT_NAME$1h,
29883
+ name: COMPONENT_NAME$1g,
29884
29884
  props: {
29885
29885
  hours: {
29886
29886
  type: [Number, String],
@@ -30155,9 +30155,9 @@ var Vc = (function (exports, vue) {
30155
30155
  };
30156
30156
  }
30157
30157
  });
30158
- const COMPONENT_NAME$1g = "vc-year-table";
30158
+ const COMPONENT_NAME$1f = "vc-year-table";
30159
30159
  const YearTable = /* @__PURE__ */ vue.defineComponent({
30160
- name: COMPONENT_NAME$1g,
30160
+ name: COMPONENT_NAME$1f,
30161
30161
  props: {
30162
30162
  value: Array,
30163
30163
  panelDate: Date,
@@ -30273,9 +30273,9 @@ var Vc = (function (exports, vue) {
30273
30273
  }
30274
30274
  return true;
30275
30275
  };
30276
- const COMPONENT_NAME$1f = "vc-date-range-panel";
30276
+ const COMPONENT_NAME$1e = "vc-date-range-panel";
30277
30277
  const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
30278
- name: COMPONENT_NAME$1f,
30278
+ name: COMPONENT_NAME$1e,
30279
30279
  props: {
30280
30280
  ...props$V,
30281
30281
  confirm: {
@@ -30636,9 +30636,9 @@ var Vc = (function (exports, vue) {
30636
30636
  };
30637
30637
  }
30638
30638
  });
30639
- const COMPONENT_NAME$1e = "vc-date-panel";
30639
+ const COMPONENT_NAME$1d = "vc-date-panel";
30640
30640
  const DatePanel = /* @__PURE__ */ vue.defineComponent({
30641
- name: COMPONENT_NAME$1e,
30641
+ name: COMPONENT_NAME$1d,
30642
30642
  props: {
30643
30643
  ...props$V,
30644
30644
  type: String,
@@ -30837,9 +30837,9 @@ var Vc = (function (exports, vue) {
30837
30837
  const endYear = value[1].getFullYear();
30838
30838
  return startYear === endYear;
30839
30839
  };
30840
- const COMPONENT_NAME$1d = "vc-monthrange-panel";
30840
+ const COMPONENT_NAME$1c = "vc-monthrange-panel";
30841
30841
  const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
30842
- name: COMPONENT_NAME$1d,
30842
+ name: COMPONENT_NAME$1c,
30843
30843
  props: {
30844
30844
  ...props$V,
30845
30845
  confirm: {
@@ -31009,9 +31009,9 @@ var Vc = (function (exports, vue) {
31009
31009
  const endYear = value[1].getFullYear();
31010
31010
  return startYear === endYear;
31011
31011
  };
31012
- const COMPONENT_NAME$1c = "vc-quarterrange-panel";
31012
+ const COMPONENT_NAME$1b = "vc-quarterrange-panel";
31013
31013
  const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
31014
- name: COMPONENT_NAME$1c,
31014
+ name: COMPONENT_NAME$1b,
31015
31015
  props: {
31016
31016
  ...props$V,
31017
31017
  confirm: {
@@ -31242,9 +31242,9 @@ var Vc = (function (exports, vue) {
31242
31242
  seconds
31243
31243
  };
31244
31244
  };
31245
- const COMPONENT_NAME$1b = "vc-timerange-panel";
31245
+ const COMPONENT_NAME$1a = "vc-timerange-panel";
31246
31246
  const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
31247
- name: COMPONENT_NAME$1b,
31247
+ name: COMPONENT_NAME$1a,
31248
31248
  props: props$U,
31249
31249
  emits: ["pick", "clear", "ok"],
31250
31250
  setup(props2, {
@@ -31340,9 +31340,9 @@ var Vc = (function (exports, vue) {
31340
31340
  };
31341
31341
  }
31342
31342
  });
31343
- const COMPONENT_NAME$1a = "vc-time-panel";
31343
+ const COMPONENT_NAME$19 = "vc-time-panel";
31344
31344
  const TimePanel = /* @__PURE__ */ vue.defineComponent({
31345
- name: COMPONENT_NAME$1a,
31345
+ name: COMPONENT_NAME$19,
31346
31346
  props: props$U,
31347
31347
  emits: ["pick", "clear", "ok"],
31348
31348
  setup(props2, {
@@ -31393,7 +31393,7 @@ var Vc = (function (exports, vue) {
31393
31393
  };
31394
31394
  }
31395
31395
  });
31396
- const COMPONENT_NAME$19 = "vc-date-picker";
31396
+ const COMPONENT_NAME$18 = "vc-date-picker";
31397
31397
  const getPanel$1 = (type) => {
31398
31398
  if (["daterange", "datetimerange"].includes(type)) {
31399
31399
  return DateRangePanel;
@@ -31404,7 +31404,7 @@ var Vc = (function (exports, vue) {
31404
31404
  }
31405
31405
  return DatePanel;
31406
31406
  };
31407
- const DatePicker = createPicker(COMPONENT_NAME$19, props$10, () => {
31407
+ const DatePicker = createPicker(COMPONENT_NAME$18, props$10, () => {
31408
31408
  const props2 = vue.getCurrentInstance().props;
31409
31409
  const icon = vue.ref("date");
31410
31410
  const panel = vue.shallowRef({});
@@ -31432,9 +31432,9 @@ var Vc = (function (exports, vue) {
31432
31432
  default: "div"
31433
31433
  }
31434
31434
  };
31435
- const COMPONENT_NAME$18 = "vc-divider";
31435
+ const COMPONENT_NAME$17 = "vc-divider";
31436
31436
  const Divider = /* @__PURE__ */ vue.defineComponent({
31437
- name: COMPONENT_NAME$18,
31437
+ name: COMPONENT_NAME$17,
31438
31438
  props: props$T,
31439
31439
  setup(props2, {
31440
31440
  slots
@@ -31581,7 +31581,7 @@ var Vc = (function (exports, vue) {
31581
31581
  barTo: props$R.to,
31582
31582
  ...pick(props$R, barKeys)
31583
31583
  };
31584
- const COMPONENT_NAME$17 = "vc-scroller-track";
31584
+ const COMPONENT_NAME$16 = "vc-scroller-track";
31585
31585
  const BAR_MAP = {
31586
31586
  vertical: {
31587
31587
  scroll: "scrollTop",
@@ -31601,7 +31601,7 @@ var Vc = (function (exports, vue) {
31601
31601
  }
31602
31602
  };
31603
31603
  const Track$1 = /* @__PURE__ */ vue.defineComponent({
31604
- name: COMPONENT_NAME$17,
31604
+ name: COMPONENT_NAME$16,
31605
31605
  props: props$S,
31606
31606
  emits: ["change"],
31607
31607
  inheritAttrs: false,
@@ -31763,9 +31763,9 @@ var Vc = (function (exports, vue) {
31763
31763
  };
31764
31764
  }
31765
31765
  });
31766
- const COMPONENT_NAME$16 = "vc-scroller-bar";
31766
+ const COMPONENT_NAME$15 = "vc-scroller-bar";
31767
31767
  const Bar = /* @__PURE__ */ vue.defineComponent({
31768
- name: COMPONENT_NAME$16,
31768
+ name: COMPONENT_NAME$15,
31769
31769
  props: props$R,
31770
31770
  emits: ["change"],
31771
31771
  setup(props2, {
@@ -31976,9 +31976,9 @@ var Vc = (function (exports, vue) {
31976
31976
  refreshPosition
31977
31977
  };
31978
31978
  };
31979
- const COMPONENT_NAME$15 = "vc-scroller";
31979
+ const COMPONENT_NAME$14 = "vc-scroller";
31980
31980
  const Scroller = /* @__PURE__ */ vue.defineComponent({
31981
- name: COMPONENT_NAME$15,
31981
+ name: COMPONENT_NAME$14,
31982
31982
  props: props$Q,
31983
31983
  emits: ["scroll"],
31984
31984
  setup(props2, {
@@ -32036,9 +32036,9 @@ var Vc = (function (exports, vue) {
32036
32036
  };
32037
32037
  }
32038
32038
  });
32039
- const COMPONENT_NAME$14 = "vc-scroller-wheel";
32039
+ const COMPONENT_NAME$13 = "vc-scroller-wheel";
32040
32040
  const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
32041
- name: COMPONENT_NAME$14,
32041
+ name: COMPONENT_NAME$13,
32042
32042
  props: Object.assign(props$Q, {
32043
32043
  stopPropagation: {
32044
32044
  type: Boolean,
@@ -32209,9 +32209,9 @@ var Vc = (function (exports, vue) {
32209
32209
  type: Function
32210
32210
  }
32211
32211
  };
32212
- const COMPONENT_NAME$13 = "vc-drawer";
32212
+ const COMPONENT_NAME$12 = "vc-drawer";
32213
32213
  const DrawerView = /* @__PURE__ */ vue.defineComponent({
32214
- name: COMPONENT_NAME$13,
32214
+ name: COMPONENT_NAME$12,
32215
32215
  props: props$P,
32216
32216
  emits: ["close", "update:modelValue", "visible-change"],
32217
32217
  setup(props2, {
@@ -32367,9 +32367,9 @@ var Vc = (function (exports, vue) {
32367
32367
  default: "div"
32368
32368
  }
32369
32369
  };
32370
- const COMPONENT_NAME$12 = "vc-dropdown";
32370
+ const COMPONENT_NAME$11 = "vc-dropdown";
32371
32371
  const Dropdown = /* @__PURE__ */ vue.defineComponent({
32372
- name: COMPONENT_NAME$12,
32372
+ name: COMPONENT_NAME$11,
32373
32373
  props: props$O,
32374
32374
  setup(props2, {
32375
32375
  slots
@@ -32388,9 +32388,9 @@ var Vc = (function (exports, vue) {
32388
32388
  default: "div"
32389
32389
  }
32390
32390
  };
32391
- const COMPONENT_NAME$11 = "vc-editor";
32391
+ const COMPONENT_NAME$10 = "vc-editor";
32392
32392
  const Editor = /* @__PURE__ */ vue.defineComponent({
32393
- name: COMPONENT_NAME$11,
32393
+ name: COMPONENT_NAME$10,
32394
32394
  props: props$N,
32395
32395
  setup(props2, {
32396
32396
  slots
@@ -32529,9 +32529,9 @@ var Vc = (function (exports, vue) {
32529
32529
  validateField
32530
32530
  });
32531
32531
  };
32532
- const COMPONENT_NAME$10 = "vc-form";
32532
+ const COMPONENT_NAME$$ = "vc-form";
32533
32533
  const Form = vue.defineComponent({
32534
- name: COMPONENT_NAME$10,
32534
+ name: COMPONENT_NAME$$,
32535
32535
  props: props$M,
32536
32536
  setup(props2, { slots, expose }) {
32537
32537
  useForm(expose);
@@ -32846,9 +32846,9 @@ var Vc = (function (exports, vue) {
32846
32846
  labelPosition
32847
32847
  };
32848
32848
  };
32849
- const COMPONENT_NAME$$ = "vc-form-item";
32849
+ const COMPONENT_NAME$_ = "vc-form-item";
32850
32850
  const FormItem = /* @__PURE__ */ vue.defineComponent({
32851
- name: COMPONENT_NAME$$,
32851
+ name: COMPONENT_NAME$_,
32852
32852
  props: props$L,
32853
32853
  setup(props2, {
32854
32854
  slots,
@@ -32911,9 +32911,9 @@ var Vc = (function (exports, vue) {
32911
32911
  default: false
32912
32912
  }
32913
32913
  };
32914
- const COMPONENT_NAME$_ = "vcm-form";
32914
+ const COMPONENT_NAME$Z = "vcm-form";
32915
32915
  const MForm = vue.defineComponent({
32916
- name: COMPONENT_NAME$_,
32916
+ name: COMPONENT_NAME$Z,
32917
32917
  props: props$K,
32918
32918
  setup(props2, { slots, expose }) {
32919
32919
  useForm(expose, {
@@ -32940,9 +32940,9 @@ var Vc = (function (exports, vue) {
32940
32940
  default: 12
32941
32941
  }
32942
32942
  };
32943
- const COMPONENT_NAME$Z = "vcm-form-item";
32943
+ const COMPONENT_NAME$Y = "vcm-form-item";
32944
32944
  const MFormItem = /* @__PURE__ */ vue.defineComponent({
32945
- name: COMPONENT_NAME$Z,
32945
+ name: COMPONENT_NAME$Y,
32946
32946
  props: props$J,
32947
32947
  setup(props2, {
32948
32948
  slots,
@@ -32995,9 +32995,9 @@ var Vc = (function (exports, vue) {
32995
32995
  };
32996
32996
  }
32997
32997
  });
32998
- const COMPONENT_NAME$Y = "vc-fragment";
32998
+ const COMPONENT_NAME$X = "vc-fragment";
32999
32999
  const Fragment = vue.defineComponent({
33000
- name: COMPONENT_NAME$Y,
33000
+ name: COMPONENT_NAME$X,
33001
33001
  setup(_, { slots }) {
33002
33002
  return () => vue.h(vue.Fragment, slots.default?.());
33003
33003
  }
@@ -33009,9 +33009,9 @@ var Vc = (function (exports, vue) {
33009
33009
  default: "div"
33010
33010
  }
33011
33011
  };
33012
- const COMPONENT_NAME$X = "vc-html-to-image";
33012
+ const COMPONENT_NAME$W = "vc-html-to-image";
33013
33013
  const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
33014
- name: COMPONENT_NAME$X,
33014
+ name: COMPONENT_NAME$W,
33015
33015
  props: props$I,
33016
33016
  setup(props2, {
33017
33017
  slots
@@ -33080,7 +33080,7 @@ var Vc = (function (exports, vue) {
33080
33080
  }
33081
33081
  }
33082
33082
  const IMGStore$1 = new IMGStore();
33083
- const COMPONENT_NAME$W = "vc-image";
33083
+ const COMPONENT_NAME$V = "vc-image";
33084
33084
  let isSupportObjectFit = false;
33085
33085
  window.addEventListener("DOMContentLoaded", () => {
33086
33086
  isSupportObjectFit = !IS_SERVER$3 && document.documentElement.style.objectFit !== void 0;
@@ -33093,7 +33093,7 @@ var Vc = (function (exports, vue) {
33093
33093
  SCALE_DOWN: "scale-down"
33094
33094
  };
33095
33095
  const Image$1 = /* @__PURE__ */ vue.defineComponent({
33096
- name: COMPONENT_NAME$W,
33096
+ name: COMPONENT_NAME$V,
33097
33097
  inheritAttrs: false,
33098
33098
  props: props$H,
33099
33099
  setup(props2, {
@@ -33288,9 +33288,9 @@ var Vc = (function (exports, vue) {
33288
33288
  default: "div"
33289
33289
  }
33290
33290
  };
33291
- const COMPONENT_NAME$V = "vc-image-crop";
33291
+ const COMPONENT_NAME$U = "vc-image-crop";
33292
33292
  const ImageCrop = /* @__PURE__ */ vue.defineComponent({
33293
- name: COMPONENT_NAME$V,
33293
+ name: COMPONENT_NAME$U,
33294
33294
  props: props$G,
33295
33295
  setup(props2, {
33296
33296
  slots
@@ -33309,9 +33309,9 @@ var Vc = (function (exports, vue) {
33309
33309
  default: "div"
33310
33310
  }
33311
33311
  };
33312
- const COMPONENT_NAME$U = "vc-image-preview";
33312
+ const COMPONENT_NAME$T = "vc-image-preview";
33313
33313
  const ImagePreview = /* @__PURE__ */ vue.defineComponent({
33314
- name: COMPONENT_NAME$U,
33314
+ name: COMPONENT_NAME$T,
33315
33315
  props: props$F,
33316
33316
  setup(props2, {
33317
33317
  slots
@@ -33330,9 +33330,9 @@ var Vc = (function (exports, vue) {
33330
33330
  default: "div"
33331
33331
  }
33332
33332
  };
33333
- const COMPONENT_NAME$T = "vc-image-processing";
33333
+ const COMPONENT_NAME$S = "vc-image-processing";
33334
33334
  const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
33335
- name: COMPONENT_NAME$T,
33335
+ name: COMPONENT_NAME$S,
33336
33336
  props: props$E,
33337
33337
  setup(props2, {
33338
33338
  slots
@@ -33345,9 +33345,9 @@ var Vc = (function (exports, vue) {
33345
33345
  }
33346
33346
  });
33347
33347
  const MImageProcessing = ImageProcessing;
33348
- const COMPONENT_NAME$S = "vcm-input";
33348
+ const COMPONENT_NAME$R = "vcm-input";
33349
33349
  const MInput = /* @__PURE__ */ vue.defineComponent({
33350
- name: COMPONENT_NAME$S,
33350
+ name: COMPONENT_NAME$R,
33351
33351
  inheritAttrs: false,
33352
33352
  props: {
33353
33353
  ...props$$,
@@ -33434,9 +33434,9 @@ var Vc = (function (exports, vue) {
33434
33434
  };
33435
33435
  }
33436
33436
  });
33437
- const COMPONENT_NAME$R = "vcm-input-number";
33437
+ const COMPONENT_NAME$Q = "vcm-input-number";
33438
33438
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
33439
- name: COMPONENT_NAME$R,
33439
+ name: COMPONENT_NAME$Q,
33440
33440
  props: props$X,
33441
33441
  inheritAttrs: false,
33442
33442
  setup(props2, {
@@ -33482,9 +33482,9 @@ var Vc = (function (exports, vue) {
33482
33482
  };
33483
33483
  }
33484
33484
  });
33485
- const COMPONENT_NAME$Q = "vcm-input-search";
33485
+ const COMPONENT_NAME$P = "vcm-input-search";
33486
33486
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
33487
- name: COMPONENT_NAME$Q,
33487
+ name: COMPONENT_NAME$P,
33488
33488
  props: {
33489
33489
  ...props$W,
33490
33490
  cancelText: {
@@ -33558,9 +33558,9 @@ var Vc = (function (exports, vue) {
33558
33558
  default: true
33559
33559
  }
33560
33560
  };
33561
- const COMPONENT_NAME$P = "vcm-list";
33561
+ const COMPONENT_NAME$O = "vcm-list";
33562
33562
  const MList = vue.defineComponent({
33563
- name: COMPONENT_NAME$P,
33563
+ name: COMPONENT_NAME$O,
33564
33564
  props: props$D,
33565
33565
  setup(props2, { slots }) {
33566
33566
  vue.provide("vc-list", { props: props2 });
@@ -33611,10 +33611,10 @@ var Vc = (function (exports, vue) {
33611
33611
  // MListItem是否独立存在
33612
33612
  alone: Boolean
33613
33613
  };
33614
- const COMPONENT_NAME$O = "vcm-list-item";
33614
+ const COMPONENT_NAME$N = "vcm-list-item";
33615
33615
  const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
33616
33616
  const MListItem = /* @__PURE__ */ vue.defineComponent({
33617
- name: COMPONENT_NAME$O,
33617
+ name: COMPONENT_NAME$N,
33618
33618
  props: props$C,
33619
33619
  emits: ["click"],
33620
33620
  setup(props2, {
@@ -33698,11 +33698,11 @@ var Vc = (function (exports, vue) {
33698
33698
  default: false
33699
33699
  }
33700
33700
  };
33701
- const COMPONENT_NAME$N = "vc-marquee";
33701
+ const COMPONENT_NAME$M = "vc-marquee";
33702
33702
  const ANIMATION = prefixStyle("animation").camel;
33703
33703
  const TRANSFORM_KEBAB = prefixStyle("transform").kebab;
33704
33704
  const Marquee = /* @__PURE__ */ vue.defineComponent({
33705
- name: COMPONENT_NAME$N,
33705
+ name: COMPONENT_NAME$M,
33706
33706
  props: props$B,
33707
33707
  setup(props2, {
33708
33708
  slots
@@ -33757,11 +33757,15 @@ var Vc = (function (exports, vue) {
33757
33757
  tag: {
33758
33758
  type: String,
33759
33759
  default: "div"
33760
+ },
33761
+ fill: {
33762
+ type: Boolean,
33763
+ default: true
33760
33764
  }
33761
33765
  };
33762
- const COMPONENT_NAME$M = "vc-resizer";
33766
+ const COMPONENT_NAME$L = "vc-resizer";
33763
33767
  const Resizer = vue.defineComponent({
33764
- name: COMPONENT_NAME$M,
33768
+ name: COMPONENT_NAME$L,
33765
33769
  props: props$A,
33766
33770
  emit: ["resize", "change"],
33767
33771
  setup(props2, { emit, slots, expose }) {
@@ -33810,13 +33814,13 @@ var Vc = (function (exports, vue) {
33810
33814
  Resize.off(current.value, handleResize);
33811
33815
  timer && clearTimeout(timer);
33812
33816
  });
33813
- expose({ refresh });
33817
+ expose({ refresh, offsetHeight: height, offsetWidth: width });
33814
33818
  return () => {
33815
33819
  return vue.h(
33816
33820
  props2.tag,
33817
33821
  {
33818
33822
  ref: current,
33819
- class: "vc-resizer"
33823
+ class: ["vc-resizer", { "is-fill": props2.fill }]
33820
33824
  },
33821
33825
  slots.default?.(currentExposed.value)
33822
33826
  );
@@ -33841,7 +33845,7 @@ var Vc = (function (exports, vue) {
33841
33845
  validator: (v) => /(small|medium|large)/.test(v),
33842
33846
  default: "small"
33843
33847
  },
33844
- portalClass: [Object, String],
33848
+ contentClass: [Object, String],
33845
33849
  width: {
33846
33850
  type: Number
33847
33851
  },
@@ -33890,6 +33894,10 @@ var Vc = (function (exports, vue) {
33890
33894
  type: Boolean,
33891
33895
  default: true
33892
33896
  },
33897
+ border: {
33898
+ type: Boolean,
33899
+ default: false
33900
+ },
33893
33901
  /**
33894
33902
  * 兼容portal设计, 实现Promise方式
33895
33903
  */
@@ -33900,10 +33908,10 @@ var Vc = (function (exports, vue) {
33900
33908
  type: Function
33901
33909
  }
33902
33910
  };
33903
- const COMPONENT_NAME$L = "vc-modal";
33911
+ const COMPONENT_NAME$K = "vc-modal";
33904
33912
  let zIndexNumber = 1002;
33905
33913
  const ModalView = /* @__PURE__ */ vue.defineComponent({
33906
- name: COMPONENT_NAME$L,
33914
+ name: COMPONENT_NAME$K,
33907
33915
  emits: ["update:modelValue", "close", "portal-fulfilled", "visible-change", "ok", "cancel"],
33908
33916
  props: props$z,
33909
33917
  setup(props2, {
@@ -34142,7 +34150,8 @@ var Vc = (function (exports, vue) {
34142
34150
  "class": [{
34143
34151
  "is-drag": props2.draggable,
34144
34152
  "is-large": props2.size === "large" || props2.size === "medium",
34145
- "is-no-footer": !props2.footer || !props2.cancelText && !props2.okText
34153
+ "has-footer": props2.footer && (props2.cancelText || props2.okText),
34154
+ "has-border": props2.border
34146
34155
  }, "vc-modal__container"],
34147
34156
  "style": [basicStyle.value, draggableStyle.value]
34148
34157
  }, [vue.createVNode("div", {
@@ -34174,7 +34183,7 @@ var Vc = (function (exports, vue) {
34174
34183
  "height": isTransitionEnd.value ? row.height : void 0,
34175
34184
  "contentClass": [{
34176
34185
  "is-confirm": props2.mode
34177
- }, props2.portalClass, "vc-modal__content"]
34186
+ }, props2.contentClass, "vc-modal__content"]
34178
34187
  }, {
34179
34188
  default: () => [typeof props2.content === "string" ? vue.createVNode("div", {
34180
34189
  "innerHTML": props2.content
@@ -34282,9 +34291,9 @@ var Vc = (function (exports, vue) {
34282
34291
  type: Function
34283
34292
  }
34284
34293
  };
34285
- const COMPONENT_NAME$K = "vc-modal";
34294
+ const COMPONENT_NAME$J = "vc-modal";
34286
34295
  const MModalView = /* @__PURE__ */ vue.defineComponent({
34287
- name: COMPONENT_NAME$K,
34296
+ name: COMPONENT_NAME$J,
34288
34297
  emits: ["update:modelValue", "portal-fulfilled", "close", "ok", "cancel"],
34289
34298
  props: props$y,
34290
34299
  setup(props2, {
@@ -34479,9 +34488,9 @@ var Vc = (function (exports, vue) {
34479
34488
  // 这个相当于Modal中的onCancel,支持Promise
34480
34489
  onBeforeClose: Function
34481
34490
  };
34482
- const COMPONENT_NAME$J = "vc-notice";
34491
+ const COMPONENT_NAME$I = "vc-notice";
34483
34492
  const NoticeView = /* @__PURE__ */ vue.defineComponent({
34484
- name: COMPONENT_NAME$J,
34493
+ name: COMPONENT_NAME$I,
34485
34494
  props: props$x,
34486
34495
  emits: ["portal-fulfilled", "close", "before-close"],
34487
34496
  setup(props2, {
@@ -34647,9 +34656,9 @@ var Vc = (function (exports, vue) {
34647
34656
  default: "div"
34648
34657
  }
34649
34658
  };
34650
- const COMPONENT_NAME$I = "vc-option";
34659
+ const COMPONENT_NAME$H = "vc-option";
34651
34660
  const Option$1 = /* @__PURE__ */ vue.defineComponent({
34652
- name: COMPONENT_NAME$I,
34661
+ name: COMPONENT_NAME$H,
34653
34662
  props: props$w,
34654
34663
  setup(props2, {
34655
34664
  slots
@@ -34755,9 +34764,9 @@ var Vc = (function (exports, vue) {
34755
34764
  type: [String, Number]
34756
34765
  }
34757
34766
  };
34758
- const COMPONENT_NAME$H = "vc-tag";
34767
+ const COMPONENT_NAME$G = "vc-tag";
34759
34768
  const Tag = /* @__PURE__ */ vue.defineComponent({
34760
- name: COMPONENT_NAME$H,
34769
+ name: COMPONENT_NAME$G,
34761
34770
  props: props$u,
34762
34771
  emits: ["close", "change"],
34763
34772
  setup(props2, {
@@ -34822,9 +34831,9 @@ var Vc = (function (exports, vue) {
34822
34831
  default: true
34823
34832
  }
34824
34833
  };
34825
- const COMPONENT_NAME$G = "vc-select-option";
34834
+ const COMPONENT_NAME$F = "vc-select-option";
34826
34835
  const Option = /* @__PURE__ */ vue.defineComponent({
34827
- name: COMPONENT_NAME$G,
34836
+ name: COMPONENT_NAME$F,
34828
34837
  props: props$t,
34829
34838
  setup(props2, {
34830
34839
  slots
@@ -34891,9 +34900,9 @@ var Vc = (function (exports, vue) {
34891
34900
  type: [String, Number]
34892
34901
  }
34893
34902
  };
34894
- const COMPONENT_NAME$F = "vc-select-option-group";
34903
+ const COMPONENT_NAME$E = "vc-select-option-group";
34895
34904
  const OptionGroup = /* @__PURE__ */ vue.defineComponent({
34896
- name: COMPONENT_NAME$F,
34905
+ name: COMPONENT_NAME$E,
34897
34906
  props: props$s,
34898
34907
  setup(props2, {
34899
34908
  slots
@@ -34987,9 +34996,9 @@ var Vc = (function (exports, vue) {
34987
34996
  function _isSlot$1(s) {
34988
34997
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
34989
34998
  }
34990
- const COMPONENT_NAME$E = "vc-select";
34999
+ const COMPONENT_NAME$D = "vc-select";
34991
35000
  const Select = /* @__PURE__ */ vue.defineComponent({
34992
- name: COMPONENT_NAME$E,
35001
+ name: COMPONENT_NAME$D,
34993
35002
  props: props$r,
34994
35003
  emits: ["ready", "close", "visible-change", "clear", "change", "update:modelValue"],
34995
35004
  setup(props2, {
@@ -35219,9 +35228,9 @@ var Vc = (function (exports, vue) {
35219
35228
  };
35220
35229
  }
35221
35230
  });
35222
- const COMPONENT_NAME$D = "vc-pagination";
35231
+ const COMPONENT_NAME$C = "vc-pagination";
35223
35232
  const Pagination = /* @__PURE__ */ vue.defineComponent({
35224
- name: COMPONENT_NAME$D,
35233
+ name: COMPONENT_NAME$C,
35225
35234
  props: props$v,
35226
35235
  emits: ["update:current", "change", "page-size-change"],
35227
35236
  setup(props2, {
@@ -35412,9 +35421,9 @@ var Vc = (function (exports, vue) {
35412
35421
  default: "div"
35413
35422
  }
35414
35423
  };
35415
- const COMPONENT_NAME$C = "vc-picker";
35424
+ const COMPONENT_NAME$B = "vc-picker";
35416
35425
  const Picker = /* @__PURE__ */ vue.defineComponent({
35417
- name: COMPONENT_NAME$C,
35426
+ name: COMPONENT_NAME$B,
35418
35427
  props: props$q,
35419
35428
  setup(props2, {
35420
35429
  slots
@@ -35433,9 +35442,9 @@ var Vc = (function (exports, vue) {
35433
35442
  default: "div"
35434
35443
  }
35435
35444
  };
35436
- const COMPONENT_NAME$B = "vc-popconfirm";
35445
+ const COMPONENT_NAME$A = "vc-popconfirm";
35437
35446
  const Popconfirm = /* @__PURE__ */ vue.defineComponent({
35438
- name: COMPONENT_NAME$B,
35447
+ name: COMPONENT_NAME$A,
35439
35448
  props: props$p,
35440
35449
  setup(props2, {
35441
35450
  slots
@@ -35455,9 +35464,9 @@ var Vc = (function (exports, vue) {
35455
35464
  default: "div"
35456
35465
  }
35457
35466
  };
35458
- const COMPONENT_NAME$A = "vc-popup";
35467
+ const COMPONENT_NAME$z = "vc-popup";
35459
35468
  const Popup = /* @__PURE__ */ vue.defineComponent({
35460
- name: COMPONENT_NAME$A,
35469
+ name: COMPONENT_NAME$z,
35461
35470
  props: props$o,
35462
35471
  setup(props2, {
35463
35472
  slots
@@ -35478,9 +35487,9 @@ var Vc = (function (exports, vue) {
35478
35487
  default: "div"
35479
35488
  }
35480
35489
  };
35481
- const COMPONENT_NAME$z = "vc-print";
35490
+ const COMPONENT_NAME$y = "vc-print";
35482
35491
  const Print = /* @__PURE__ */ vue.defineComponent({
35483
- name: COMPONENT_NAME$z,
35492
+ name: COMPONENT_NAME$y,
35484
35493
  props: props$n,
35485
35494
  setup(props2, {
35486
35495
  expose,
@@ -35535,6 +35544,12 @@ var Vc = (function (exports, vue) {
35535
35544
  type: Boolean,
35536
35545
  default: true
35537
35546
  },
35547
+ textStyle: {
35548
+ type: [String, Object]
35549
+ },
35550
+ textClass: {
35551
+ type: [String, Object]
35552
+ },
35538
35553
  animated: {
35539
35554
  type: Boolean,
35540
35555
  default: false
@@ -35564,9 +35579,9 @@ var Vc = (function (exports, vue) {
35564
35579
  })
35565
35580
  }
35566
35581
  };
35567
- const COMPONENT_NAME$y = "vc-progress-circle";
35582
+ const COMPONENT_NAME$x = "vc-progress-circle";
35568
35583
  const Circle$1 = /* @__PURE__ */ vue.defineComponent({
35569
- name: COMPONENT_NAME$y,
35584
+ name: COMPONENT_NAME$x,
35570
35585
  props: props$m,
35571
35586
  setup(props2, {
35572
35587
  slots
@@ -35615,14 +35630,17 @@ var Vc = (function (exports, vue) {
35615
35630
  "stroke-linecap": "round",
35616
35631
  "fill-opacity": "0"
35617
35632
  }, null)]), vue.createVNode("div", {
35618
- "class": "vc-progress-circle__inner"
35619
- }, [slots.default ? slots.default() : props2.showText && vue.createVNode("span", null, [`${props2.percent}%`])])])]);
35633
+ "class": ["vc-progress-circle__inner"]
35634
+ }, [slots.default ? slots.default() : props2.showText && vue.createVNode("span", {
35635
+ "class": props2.textClass,
35636
+ "style": props2.textStyle
35637
+ }, [`${props2.percent}%`])])])]);
35620
35638
  };
35621
35639
  }
35622
35640
  });
35623
- const COMPONENT_NAME$x = "vc-progress-line";
35641
+ const COMPONENT_NAME$w = "vc-progress-line";
35624
35642
  const Line$2 = /* @__PURE__ */ vue.defineComponent({
35625
- name: COMPONENT_NAME$x,
35643
+ name: COMPONENT_NAME$w,
35626
35644
  props: props$m,
35627
35645
  setup(props2) {
35628
35646
  const colorStyle = vue.computed(() => {
@@ -35651,21 +35669,24 @@ var Vc = (function (exports, vue) {
35651
35669
  "style": innerStyle.value,
35652
35670
  "class": [classes.value, "vc-progress-line__inner"]
35653
35671
  }, null)])]), props2.showText && vue.createVNode("div", {
35654
- "class": "vc-progress-line__percent"
35672
+ "class": ["vc-progress-line__percent"]
35655
35673
  }, [["error", "success"].includes(props2.status) ? vue.createVNode(Icon, {
35656
35674
  "type": props2.status,
35657
35675
  "style": colorStyle.value,
35658
35676
  "class": [`is-${props2.status}`, "vc-progress-line__icon"]
35659
- }, null) : vue.createVNode("span", null, [`${props2.percent}%`])])]);
35677
+ }, null) : vue.createVNode("span", {
35678
+ "class": props2.textClass,
35679
+ "style": props2.textStyle
35680
+ }, [`${props2.percent}%`])])]);
35660
35681
  };
35661
35682
  }
35662
35683
  });
35663
35684
  function _isSlot(s) {
35664
35685
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
35665
35686
  }
35666
- const COMPONENT_NAME$w = "vc-progress";
35687
+ const COMPONENT_NAME$v = "vc-progress";
35667
35688
  const Progress = /* @__PURE__ */ vue.defineComponent({
35668
- name: COMPONENT_NAME$w,
35689
+ name: COMPONENT_NAME$v,
35669
35690
  props: props$m,
35670
35691
  setup(props2, {
35671
35692
  slots
@@ -35811,9 +35832,9 @@ var Vc = (function (exports, vue) {
35811
35832
  computedLabel
35812
35833
  };
35813
35834
  };
35814
- const COMPONENT_NAME$v = "vc-radio";
35835
+ const COMPONENT_NAME$u = "vc-radio";
35815
35836
  const Radio = /* @__PURE__ */ vue.defineComponent({
35816
- name: COMPONENT_NAME$v,
35837
+ name: COMPONENT_NAME$u,
35817
35838
  props: props$l,
35818
35839
  emits: ["update:modelValue", "change"],
35819
35840
  setup(props2, {
@@ -35919,9 +35940,9 @@ var Vc = (function (exports, vue) {
35919
35940
  reset
35920
35941
  };
35921
35942
  };
35922
- const COMPONENT_NAME$u = "vc-radio-group";
35943
+ const COMPONENT_NAME$t = "vc-radio-group";
35923
35944
  const RadioGroup = /* @__PURE__ */ vue.defineComponent({
35924
- name: COMPONENT_NAME$u,
35945
+ name: COMPONENT_NAME$t,
35925
35946
  props: props$k,
35926
35947
  emits: ["update:modelValue", "change"],
35927
35948
  setup(props2, {
@@ -35940,9 +35961,9 @@ var Vc = (function (exports, vue) {
35940
35961
  };
35941
35962
  }
35942
35963
  });
35943
- const COMPONENT_NAME$t = "vcm-radio";
35964
+ const COMPONENT_NAME$s = "vcm-radio";
35944
35965
  const MRadio = /* @__PURE__ */ vue.defineComponent({
35945
- name: COMPONENT_NAME$t,
35966
+ name: COMPONENT_NAME$s,
35946
35967
  props: props$l,
35947
35968
  emits: ["update:modelValue", "change"],
35948
35969
  setup(props2, {
@@ -35980,9 +36001,9 @@ var Vc = (function (exports, vue) {
35980
36001
  };
35981
36002
  }
35982
36003
  });
35983
- const COMPONENT_NAME$s = "vcm-radio-group";
36004
+ const COMPONENT_NAME$r = "vcm-radio-group";
35984
36005
  const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
35985
- name: COMPONENT_NAME$s,
36006
+ name: COMPONENT_NAME$r,
35986
36007
  props: props$k,
35987
36008
  emits: ["update:modelValue", "change"],
35988
36009
  setup(props2, {
@@ -36007,9 +36028,9 @@ var Vc = (function (exports, vue) {
36007
36028
  default: "div"
36008
36029
  }
36009
36030
  };
36010
- const COMPONENT_NAME$r = "vc-rate";
36031
+ const COMPONENT_NAME$q = "vc-rate";
36011
36032
  const Rate = /* @__PURE__ */ vue.defineComponent({
36012
- name: COMPONENT_NAME$r,
36033
+ name: COMPONENT_NAME$q,
36013
36034
  props: props$j,
36014
36035
  setup(props2, {
36015
36036
  slots
@@ -36072,9 +36093,9 @@ var Vc = (function (exports, vue) {
36072
36093
  renderPlaceholder: Function,
36073
36094
  renderRefresh: Function
36074
36095
  };
36075
- const COMPONENT_NAME$q = "vc-recycle-list-scroll-state";
36096
+ const COMPONENT_NAME$p = "vc-recycle-list-scroll-state";
36076
36097
  const ScrollState = /* @__PURE__ */ vue.defineComponent({
36077
- name: COMPONENT_NAME$q,
36098
+ name: COMPONENT_NAME$p,
36078
36099
  setup(_, {
36079
36100
  slots
36080
36101
  }) {
@@ -36198,10 +36219,10 @@ var Vc = (function (exports, vue) {
36198
36219
  );
36199
36220
  return keys;
36200
36221
  };
36201
- const COMPONENT_NAME$p = "vc-recycle-list-container";
36222
+ const COMPONENT_NAME$o = "vc-recycle-list-container";
36202
36223
  const transformKey = prefixStyle("transform").camel;
36203
36224
  const Container = /* @__PURE__ */ vue.defineComponent({
36204
- name: COMPONENT_NAME$p,
36225
+ name: COMPONENT_NAME$o,
36205
36226
  props: props$h,
36206
36227
  emits: ["refresh"],
36207
36228
  setup(props2, {
@@ -36294,48 +36315,6 @@ var Vc = (function (exports, vue) {
36294
36315
  };
36295
36316
  }
36296
36317
  });
36297
- const COMPONENT_NAME$o = "vc-recycle-list-item";
36298
- const Item = /* @__PURE__ */ vue.defineComponent({
36299
- name: COMPONENT_NAME$o,
36300
- props: {
36301
- vertical: {
36302
- type: Boolean,
36303
- default: true
36304
- }
36305
- },
36306
- emits: ["resize", "change"],
36307
- setup(_, {
36308
- emit,
36309
- slots
36310
- }) {
36311
- const K = useDirectionKeys();
36312
- const current = vue.ref();
36313
- const offsetSize = vue.ref(0);
36314
- let hasInitial = false;
36315
- const handleResize = () => {
36316
- const v = current.value.getBoundingClientRect()[K.size];
36317
- const changed = offsetSize.value != v;
36318
- if (changed) {
36319
- offsetSize.value = v;
36320
- hasInitial && emit("resize", v);
36321
- emit("change", v);
36322
- }
36323
- hasInitial = true;
36324
- };
36325
- vue.onMounted(() => {
36326
- Resize.on(current.value, handleResize);
36327
- });
36328
- vue.onBeforeUnmount(() => {
36329
- Resize.off(current.value, handleResize);
36330
- });
36331
- return () => {
36332
- return vue.createVNode("div", {
36333
- "ref": current,
36334
- "class": "vc-recycle-list-item"
36335
- }, [slots?.default?.()]);
36336
- };
36337
- }
36338
- });
36339
36318
  const COMPONENT_NAME$n = "vc-recycle-list";
36340
36319
  const RecycleList = /* @__PURE__ */ vue.defineComponent({
36341
36320
  name: COMPONENT_NAME$n,
@@ -36803,7 +36782,7 @@ var Vc = (function (exports, vue) {
36803
36782
  slots.placeholder?.() || renderer.value.placeholder && vue.createVNode(Customer, {
36804
36783
  "render": renderer.value.placeholder
36805
36784
  }, null)
36806
- ]), !item.isPlaceholder && vue.createVNode(Item, {
36785
+ ]), !item.isPlaceholder && vue.createVNode(Resizer, {
36807
36786
  "ref": (v) => curloads.value[item.id] = v,
36808
36787
  "class": {
36809
36788
  "vc-recycle-list__transition": hasPlaceholder.value
@@ -36811,11 +36790,11 @@ var Vc = (function (exports, vue) {
36811
36790
  "style": {
36812
36791
  opacity: item.loaded
36813
36792
  },
36793
+ "fill": false,
36814
36794
  "data-row": item.id,
36815
36795
  "data-column": item.column,
36816
36796
  "data-size": item.size,
36817
36797
  "data-position": item.position,
36818
- "vertical": props2.vertical,
36819
36798
  "onResize": handleResize
36820
36799
  }, {
36821
36800
  default: () => [slots.default?.({
@@ -37192,14 +37171,14 @@ var Vc = (function (exports, vue) {
37192
37171
  }
37193
37172
  }
37194
37173
  if (column.children) {
37195
- let colSpan = 0;
37174
+ let colspan = 0;
37196
37175
  column.children.forEach((subColumn) => {
37197
37176
  traverse(subColumn, column);
37198
- colSpan += subColumn.colSpan;
37177
+ colspan += subColumn.colspan;
37199
37178
  });
37200
- column.colSpan = colSpan;
37179
+ column.colspan = colspan;
37201
37180
  } else {
37202
- column.colSpan = 1;
37181
+ column.colspan = 1;
37203
37182
  }
37204
37183
  };
37205
37184
  v.forEach((column) => {
@@ -37213,9 +37192,9 @@ var Vc = (function (exports, vue) {
37213
37192
  const allColumns = getAllColumns(v);
37214
37193
  allColumns.forEach((column) => {
37215
37194
  if (!column.children) {
37216
- column.rowSpan = maxLevel - column.level + 1;
37195
+ column.rowspan = maxLevel - column.level + 1;
37217
37196
  } else {
37218
- column.rowSpan = 1;
37197
+ column.rowspan = 1;
37219
37198
  }
37220
37199
  rows[column.level - 1].push(column);
37221
37200
  });
@@ -37283,6 +37262,7 @@ var Vc = (function (exports, vue) {
37283
37262
  selection: [],
37284
37263
  reserveSelection: false,
37285
37264
  selectable: null,
37265
+ expandSelectable: null,
37286
37266
  hoverRowIndex: null,
37287
37267
  // Current
37288
37268
  currentRow: null,
@@ -37804,6 +37784,7 @@ var Vc = (function (exports, vue) {
37804
37784
  this.layout = new Layout(this);
37805
37785
  const { props: props2 } = options.table;
37806
37786
  lodashExports.merge(this.states, {
37787
+ expandSelectable: props2.expandSelectable,
37807
37788
  treeLazy: props2.lazy || false,
37808
37789
  treeLazyColumnIdentifier: props2.treeMap.hasChildren || "hasChildren",
37809
37790
  treeChildrenColumnName: props2.treeMap.children || "children"
@@ -38125,8 +38106,7 @@ var Vc = (function (exports, vue) {
38125
38106
  }
38126
38107
  }
38127
38108
  const useStates = (mapper, $store) => {
38128
- const instance = vue.getCurrentInstance();
38129
- const store = $store || instance.proxy?.store;
38109
+ const store = $store || vue.inject("vc-table")?.store;
38130
38110
  const states = vue.reactive({});
38131
38111
  Object.keys(mapper).forEach((key) => {
38132
38112
  const value = mapper[key];
@@ -38158,16 +38138,16 @@ var Vc = (function (exports, vue) {
38158
38138
  emit,
38159
38139
  slots
38160
38140
  }) {
38161
- const handleResize = (size, index) => {
38141
+ const handleResize = (e, index) => {
38162
38142
  emit("row-resize", {
38163
38143
  index,
38164
- size
38144
+ size: e.height
38165
38145
  });
38166
38146
  };
38167
38147
  return () => {
38168
38148
  return props2.data.map((row, index) => {
38169
- return vue.createVNode(Item, {
38170
- "vertical": false,
38149
+ return vue.createVNode(Resizer, {
38150
+ "fill": false,
38171
38151
  "onChange": (e) => handleResize(e, index)
38172
38152
  }, {
38173
38153
  default: () => [slots.default?.({
@@ -38182,7 +38162,6 @@ var Vc = (function (exports, vue) {
38182
38162
  const TableBody = /* @__PURE__ */ vue.defineComponent({
38183
38163
  name: "vc-table-body",
38184
38164
  props: {
38185
- store: Object,
38186
38165
  fixed: String,
38187
38166
  heightStyle: [Object, Array, String]
38188
38167
  },
@@ -38193,6 +38172,7 @@ var Vc = (function (exports, vue) {
38193
38172
  }) {
38194
38173
  const instance = vue.getCurrentInstance();
38195
38174
  const table = vue.inject("vc-table");
38175
+ const allowRender = vue.ref(false);
38196
38176
  const states = useStates({
38197
38177
  data: "data",
38198
38178
  list: "list",
@@ -38210,8 +38190,8 @@ var Vc = (function (exports, vue) {
38210
38190
  }) => type === "default")
38211
38191
  });
38212
38192
  const wrapper = vue.ref();
38213
- vue.watch(() => props2.store.states.hoverRowIndex, (v, oldV) => {
38214
- if (!props2.store.states.isComplex || IS_SERVER$3) return;
38193
+ vue.watch(() => table.store.states.hoverRowIndex, (v, oldV) => {
38194
+ if (!table.store.states.isComplex || IS_SERVER$3) return;
38215
38195
  raf(() => {
38216
38196
  const rows = instance.vnode.el.querySelectorAll(".vc-table__row");
38217
38197
  const oldRow = rows[oldV];
@@ -38255,7 +38235,7 @@ var Vc = (function (exports, vue) {
38255
38235
  };
38256
38236
  const getRowClass = (row, rowIndex) => {
38257
38237
  const classes = ["vc-table__row"];
38258
- if (table.props.highlight && row === props2.store.states.currentRow) {
38238
+ if (table.props.highlight && row === table.store.states.currentRow) {
38259
38239
  classes.push("current-row");
38260
38240
  }
38261
38241
  if (table.props.stripe && rowIndex % 2 === 1) {
@@ -38270,7 +38250,7 @@ var Vc = (function (exports, vue) {
38270
38250
  rowIndex
38271
38251
  }));
38272
38252
  }
38273
- if (props2.store.states.expandRows.indexOf(row) > -1) {
38253
+ if (table.store.states.expandRows.indexOf(row) > -1) {
38274
38254
  classes.push("expanded");
38275
38255
  }
38276
38256
  return classes;
@@ -38349,10 +38329,10 @@ var Vc = (function (exports, vue) {
38349
38329
  table.emit("cell-mouse-leave", oldHoverState.row, oldHoverState.column, oldHoverState.cell, e);
38350
38330
  };
38351
38331
  const handleMouseEnter = debounce$1((index) => {
38352
- props2.store.setHoverRow(index);
38332
+ table.store.setHoverRow(index);
38353
38333
  }, 30);
38354
38334
  const handleMouseLeave = debounce$1(() => {
38355
- props2.store.setHoverRow(null);
38335
+ table.store.setHoverRow(null);
38356
38336
  }, 30);
38357
38337
  const handleEvent = (e, row, name) => {
38358
38338
  const cell = getCell(e);
@@ -38372,10 +38352,13 @@ var Vc = (function (exports, vue) {
38372
38352
  handleEvent(e, row, "dblclick");
38373
38353
  };
38374
38354
  const handleClick = (e, row) => {
38375
- props2.store.setCurrentRow(row);
38355
+ table.store.setCurrentRow(row);
38376
38356
  handleEvent(e, row, "click");
38377
38357
  };
38378
38358
  const renderRow = (rowData, rowIndex) => {
38359
+ const {
38360
+ rowHeight
38361
+ } = table.props;
38379
38362
  const {
38380
38363
  data: row
38381
38364
  } = rowData;
@@ -38383,7 +38366,8 @@ var Vc = (function (exports, vue) {
38383
38366
  columns
38384
38367
  } = states;
38385
38368
  const key = getValueOfRow(row, rowIndex);
38386
- const selected = props2.store.isSelected(row);
38369
+ const selected = table.store.isSelected(row);
38370
+ const height = rowHeight || rowData.height;
38387
38371
  return vue.createVNode("div", {
38388
38372
  "key": key,
38389
38373
  "class": [getRowClass(row, rowIndex), "vc-table__tr"],
@@ -38400,7 +38384,7 @@ var Vc = (function (exports, vue) {
38400
38384
  } = column;
38401
38385
  const sizeStyle = {
38402
38386
  width: `${realWidth}px`,
38403
- height: `${rowData.height ? `${rowData.height}px` : "auto"}`
38387
+ height: `${height ? `${height}px` : "auto"}`
38404
38388
  };
38405
38389
  if (columnsHidden.value[columnIndex]) {
38406
38390
  return vue.createVNode("div", {
@@ -38419,7 +38403,7 @@ var Vc = (function (exports, vue) {
38419
38403
  column,
38420
38404
  rowIndex,
38421
38405
  columnIndex,
38422
- store: props2.store,
38406
+ store: table.store,
38423
38407
  selected
38424
38408
  })]);
38425
38409
  })]);
@@ -38436,6 +38420,7 @@ var Vc = (function (exports, vue) {
38436
38420
  })]);
38437
38421
  };
38438
38422
  const handleMergeRowResize = (v) => {
38423
+ if (table.props.rowHeight) return;
38439
38424
  states.list[v.index].rows.forEach((row) => {
38440
38425
  row.heightMap[props2.fixed || "main"] = v.size;
38441
38426
  const heights = [row.heightMap.main];
@@ -38455,7 +38440,17 @@ var Vc = (function (exports, vue) {
38455
38440
  getRootElement: () => instance.vnode.el
38456
38441
  });
38457
38442
  const layout = table.layout;
38443
+ let timer;
38444
+ vue.onBeforeMount(() => {
38445
+ if (table.props.delay) {
38446
+ timer = setTimeout(() => allowRender.value = true, table.props.delay);
38447
+ } else {
38448
+ allowRender.value = true;
38449
+ }
38450
+ });
38451
+ vue.onBeforeUnmount(() => (timer && clearTimeout(timer), allowRender.value = false));
38458
38452
  return () => {
38453
+ if (!allowRender.value) return;
38459
38454
  return vue.createVNode("div", {
38460
38455
  "class": "vc-table__body"
38461
38456
  }, [table.props.height ? vue.createVNode(RecycleList, {
@@ -38504,10 +38499,6 @@ var Vc = (function (exports, vue) {
38504
38499
  name: "vc-table-header",
38505
38500
  props: {
38506
38501
  fixed: [Boolean, String],
38507
- store: {
38508
- type: Object,
38509
- required: true
38510
- },
38511
38502
  border: Boolean,
38512
38503
  // 排序全部交给外部处理,内部不处理数据,只做交互
38513
38504
  defaultSort: {
@@ -38655,7 +38646,7 @@ var Vc = (function (exports, vue) {
38655
38646
  column.width = columnWidth;
38656
38647
  column.realWidth = column.width;
38657
38648
  table.$emit("header-dragend", column.width, startLeft - startColumnLeft, column, event);
38658
- props2.store.scheduleLayout();
38649
+ table.store.scheduleLayout();
38659
38650
  document.body.style.cursor = "";
38660
38651
  dragging.value = false;
38661
38652
  draggingColumn.value = null;
@@ -38762,7 +38753,7 @@ var Vc = (function (exports, vue) {
38762
38753
  }, [column.renderHeader ? column.renderHeader({
38763
38754
  column,
38764
38755
  columnIndex,
38765
- store: props2.store
38756
+ store: table.store
38766
38757
  }) : column.label, column.tooltip ? vue.createVNode(Icon, {
38767
38758
  "type": "o-info",
38768
38759
  "onMouseenter": (e) => handleCellMouseEnter(e, column)
@@ -38785,10 +38776,6 @@ var Vc = (function (exports, vue) {
38785
38776
  name: "vc-table-footer",
38786
38777
  props: {
38787
38778
  fixed: [String, Boolean],
38788
- store: {
38789
- type: Object,
38790
- required: true
38791
- },
38792
38779
  getSummary: Function,
38793
38780
  sumText: String,
38794
38781
  border: Boolean
@@ -38810,7 +38797,7 @@ var Vc = (function (exports, vue) {
38810
38797
  } else if (props2.fixed === "right") {
38811
38798
  let before = 0;
38812
38799
  for (let i = 0; i < index; i++) {
38813
- before += states.columns[i].colSpan;
38800
+ before += states.columns[i].colspan;
38814
38801
  }
38815
38802
  return before < states.columnsCount - states.rightFixedLeafCount;
38816
38803
  } else if (!props2.fixed && column.fixed) {
@@ -38903,6 +38890,7 @@ var Vc = (function (exports, vue) {
38903
38890
  width: [String, Number],
38904
38891
  height: [String, Number],
38905
38892
  maxHeight: [String, Number],
38893
+ rowHeight: [String, Number],
38906
38894
  // 列的宽度是否自撑开
38907
38895
  fit: {
38908
38896
  type: Boolean,
@@ -38983,7 +38971,9 @@ var Vc = (function (exports, vue) {
38983
38971
  defaultSort: {
38984
38972
  type: Object,
38985
38973
  default: () => ({})
38986
- }
38974
+ },
38975
+ // 用于延迟渲染,用于计算高度
38976
+ delay: Number
38987
38977
  };
38988
38978
  const COMPONENT_NAME$g = "vc-table";
38989
38979
  const Table = /* @__PURE__ */ vue.defineComponent({
@@ -39105,7 +39095,8 @@ var Vc = (function (exports, vue) {
39105
39095
  };
39106
39096
  }
39107
39097
  return {
39108
- height: layout.states.viewportHeight ? layout.states.viewportHeight + "px" : ""
39098
+ height: layout.states.viewportHeight ? layout.states.viewportHeight + "px" : "",
39099
+ bottom: 0
39109
39100
  };
39110
39101
  }
39111
39102
  });
@@ -39369,7 +39360,6 @@ var Vc = (function (exports, vue) {
39369
39360
  "class": "vc-table__header-wrapper"
39370
39361
  }, [vue.createVNode(TableHeader, {
39371
39362
  "ref": tableHeader,
39372
- "store": store,
39373
39363
  "border": props2.border,
39374
39364
  "default-sort": props2.defaultSort,
39375
39365
  "style": bodyWidthStyle.value
@@ -39385,14 +39375,15 @@ var Vc = (function (exports, vue) {
39385
39375
  }, {
39386
39376
  default: () => [vue.createVNode(TableBody, {
39387
39377
  "ref": body,
39388
- "store": store,
39389
39378
  "style": [bodyWidthStyle.value],
39390
39379
  "height-style": [bodyHeightStyle.value],
39391
39380
  "onScroll": handleScollY
39392
39381
  }, null), props2.data.length === 0 && vue.createVNode("div", {
39393
39382
  "ref": emptyBlock,
39394
39383
  "style": bodyWidthStyle.value,
39395
- "class": "vc-table__empty-block"
39384
+ "class": [{
39385
+ "is-absolute": !!props2.height
39386
+ }, "vc-table__empty-wrapper"]
39396
39387
  }, [vue.createVNode("span", {
39397
39388
  "class": "vc-table__empty-text"
39398
39389
  }, [slots.empty ? slots.empty() : props2.emptyText || "暂无数据"])]), slots.append && vue.createVNode("div", {
@@ -39403,7 +39394,6 @@ var Vc = (function (exports, vue) {
39403
39394
  "ref": footerWrapper,
39404
39395
  "class": "vc-table__footer-wrapper"
39405
39396
  }, [vue.createVNode(TableFooter, {
39406
- "store": store,
39407
39397
  "border": props2.border,
39408
39398
  "sum-text": props2.sumText || "合计",
39409
39399
  "get-summary": props2.getSummary,
@@ -39419,7 +39409,6 @@ var Vc = (function (exports, vue) {
39419
39409
  "class": "vc-table__fixed-header-wrapper"
39420
39410
  }, [vue.createVNode(TableHeader, {
39421
39411
  "ref": leftFixedTableHeader,
39422
- "store": store,
39423
39412
  "border": props2.border,
39424
39413
  "default-sort": props2.defaultSort,
39425
39414
  "style": bodyWidthStyle.value,
@@ -39432,7 +39421,6 @@ var Vc = (function (exports, vue) {
39432
39421
  "class": "vc-table__fixed-body-wrapper"
39433
39422
  }, [vue.createVNode(TableBody, {
39434
39423
  "ref": leftFixedBody,
39435
- "store": store,
39436
39424
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
39437
39425
  "fixed": "left"
39438
39426
  }, null), slots.append && vue.createVNode("div", {
@@ -39444,7 +39432,6 @@ var Vc = (function (exports, vue) {
39444
39432
  "ref": leftFixedFooterWrapper,
39445
39433
  "class": "vc-table__fixed-footer-wrapper"
39446
39434
  }, [vue.createVNode(TableFooter, {
39447
- "store": store,
39448
39435
  "border": props2.border,
39449
39436
  "sum-text": props2.sumText || "合计",
39450
39437
  "get-summary": props2.getSummary,
@@ -39461,7 +39448,6 @@ var Vc = (function (exports, vue) {
39461
39448
  "class": "vc-table__fixed-header-wrapper"
39462
39449
  }, [vue.createVNode(TableHeader, {
39463
39450
  "ref": rightFixedTableHeader,
39464
- "store": store,
39465
39451
  "border": props2.border,
39466
39452
  "default-sort": props2.defaultSort,
39467
39453
  "style": bodyWidthStyle.value,
@@ -39474,7 +39460,6 @@ var Vc = (function (exports, vue) {
39474
39460
  "class": "vc-table__fixed-body-wrapper"
39475
39461
  }, [vue.createVNode(TableBody, {
39476
39462
  "ref": rightFixedBody,
39477
- "store": store,
39478
39463
  "style": [bodyWidthStyle.value, bodyHeightStyle.value],
39479
39464
  "fixed": "right"
39480
39465
  }, null), slots.append && vue.createVNode("div", {
@@ -39486,7 +39471,6 @@ var Vc = (function (exports, vue) {
39486
39471
  "ref": rightFixedFooterWrapper,
39487
39472
  "class": "vc-table__fixed-footer-wrapper"
39488
39473
  }, [vue.createVNode(TableFooter, {
39489
- "store": store,
39490
39474
  "border": props2.border,
39491
39475
  "sum-text": props2.sumText || "合计",
39492
39476
  "get-summary": props2.getSummary,
@@ -39548,7 +39532,7 @@ var Vc = (function (exports, vue) {
39548
39532
  "disabled": column.selectable ? !column.selectable.call(null, row, rowIndex) : false,
39549
39533
  "onChange": () => store.rowSelectedChanged(row),
39550
39534
  "onClick": (e) => e.stopPropagation()
39551
- }, null), [[vue.vShow, store.table.props.expandSelectable || level === 0]]);
39535
+ }, null), [[vue.vShow, store.states.expandSelectable || level === 0]]);
39552
39536
  },
39553
39537
  sortable: false,
39554
39538
  resizable: false
@@ -39755,16 +39739,9 @@ var Vc = (function (exports, vue) {
39755
39739
  return column;
39756
39740
  };
39757
39741
  const setColumnWidth = (column) => {
39758
- if (realWidth.value) {
39759
- column.width = realWidth.value;
39760
- }
39761
- if (realMinWidth.value) {
39762
- column.minWidth = realMinWidth.value;
39763
- }
39764
- if (!column.minWidth) {
39765
- column.minWidth = 80;
39766
- }
39767
- column.realWidth = column.width === void 0 ? column.minWidth : column.width;
39742
+ column.width = realWidth.value || column.width;
39743
+ column.minWidth = realMinWidth.value || column.minWidth || 80;
39744
+ column.realWidth = typeof column.width === "undefined" ? column.minWidth : column.width;
39768
39745
  return column;
39769
39746
  };
39770
39747
  const setColumnRenders = (column) => {
@@ -39821,6 +39798,8 @@ var Vc = (function (exports, vue) {
39821
39798
  };
39822
39799
  const registerColumn = () => {
39823
39800
  const defaults2 = {
39801
+ colspan: 1,
39802
+ rowspan: 1,
39824
39803
  ...cellStarts[props2.type],
39825
39804
  id: columnId.value,
39826
39805
  realAlign,
@@ -40079,7 +40058,7 @@ var Vc = (function (exports, vue) {
40079
40058
  if (!Array.from(items).length) return;
40080
40059
  let offset = 0;
40081
40060
  if (index > 0) {
40082
- const gutter = 16;
40061
+ const gutter = 12;
40083
40062
  for (let i = 0; i < index; i++) {
40084
40063
  offset += parseFloat(items[i].offsetWidth) + gutter;
40085
40064
  }
@@ -40143,7 +40122,7 @@ var Vc = (function (exports, vue) {
40143
40122
  }, [slots.extra?.()]), vue.createVNode("div", {
40144
40123
  "ref": wrapper,
40145
40124
  "style": {
40146
- padding: tabs.scrollable.value && "0 24px"
40125
+ padding: tabs.scrollable.value ? "0 24px" : 0
40147
40126
  },
40148
40127
  "class": "vc-tabs__bar"
40149
40128
  }, [tabs.scrollable.value && vue.createVNode(Icon, {