@deot/vc 1.0.48 → 1.0.50

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.
@@ -9137,9 +9137,9 @@
9137
9137
  default: "div"
9138
9138
  }
9139
9139
  };
9140
- const COMPONENT_NAME$28 = "vc-action-sheet";
9140
+ const COMPONENT_NAME$29 = "vc-action-sheet";
9141
9141
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
9142
- name: COMPONENT_NAME$28,
9142
+ name: COMPONENT_NAME$29,
9143
9143
  props: props$1t,
9144
9144
  setup(props2, {
9145
9145
  slots
@@ -9210,9 +9210,9 @@
9210
9210
  const isWheel = (el2) => {
9211
9211
  return SCROLLER_WHEEL_REG.test(el2?.className || "");
9212
9212
  };
9213
- const COMPONENT_NAME$27 = "vc-affix";
9213
+ const COMPONENT_NAME$28 = "vc-affix";
9214
9214
  const Affix = /* @__PURE__ */ vue.defineComponent({
9215
- name: COMPONENT_NAME$27,
9215
+ name: COMPONENT_NAME$28,
9216
9216
  emits: ["update:modelValue"],
9217
9217
  props: props$1s,
9218
9218
  setup(props2, {
@@ -9541,9 +9541,9 @@
9541
9541
  }
9542
9542
  }
9543
9543
  const IconManager = new Manager();
9544
- const COMPONENT_NAME$26 = "vc-icon";
9544
+ const COMPONENT_NAME$27 = "vc-icon";
9545
9545
  const Icon = /* @__PURE__ */ vue.defineComponent({
9546
- name: COMPONENT_NAME$26,
9546
+ name: COMPONENT_NAME$27,
9547
9547
  props: props$1q,
9548
9548
  setup(props2) {
9549
9549
  const viewBox = vue.ref("0 0 1024 1024");
@@ -9739,9 +9739,9 @@
9739
9739
  }
9740
9740
  };
9741
9741
  };
9742
- const COMPONENT_NAME$25 = "vc-transition";
9742
+ const COMPONENT_NAME$26 = "vc-transition";
9743
9743
  const Transition = vue.defineComponent({
9744
- name: COMPONENT_NAME$25,
9744
+ name: COMPONENT_NAME$26,
9745
9745
  props: props$1p,
9746
9746
  // 当不声明emits的情况下,事件存在于attrs中
9747
9747
  inheritAttrs: false,
@@ -9761,9 +9761,9 @@
9761
9761
  };
9762
9762
  }
9763
9763
  });
9764
- const COMPONENT_NAME$24 = "vc-transition-collapse";
9764
+ const COMPONENT_NAME$25 = "vc-transition-collapse";
9765
9765
  const TransitionCollapse = vue.defineComponent({
9766
- name: COMPONENT_NAME$24,
9766
+ name: COMPONENT_NAME$25,
9767
9767
  props: props$1p,
9768
9768
  // 当不声明emits的情况下,事件存在于attrs中
9769
9769
  inheritAttrs: false,
@@ -9881,9 +9881,9 @@
9881
9881
  };
9882
9882
  }
9883
9883
  });
9884
- const COMPONENT_NAME$23 = "vc-transition-fade";
9884
+ const COMPONENT_NAME$24 = "vc-transition-fade";
9885
9885
  const TransitionFade = vue.defineComponent({
9886
- name: COMPONENT_NAME$23,
9886
+ name: COMPONENT_NAME$24,
9887
9887
  props: {
9888
9888
  ...props$1p,
9889
9889
  // inheritAttrs必须是false
@@ -9917,9 +9917,9 @@
9917
9917
  };
9918
9918
  }
9919
9919
  });
9920
- const COMPONENT_NAME$22 = "vc-transition-scale";
9920
+ const COMPONENT_NAME$23 = "vc-transition-scale";
9921
9921
  const TransitionScale = vue.defineComponent({
9922
- name: COMPONENT_NAME$22,
9922
+ name: COMPONENT_NAME$23,
9923
9923
  props: {
9924
9924
  ...props$1p,
9925
9925
  mode: {
@@ -9958,9 +9958,9 @@
9958
9958
  };
9959
9959
  }
9960
9960
  });
9961
- const COMPONENT_NAME$21 = "vc-transition-slide";
9961
+ const COMPONENT_NAME$22 = "vc-transition-slide";
9962
9962
  const TransitionSlide = vue.defineComponent({
9963
- name: COMPONENT_NAME$21,
9963
+ name: COMPONENT_NAME$22,
9964
9964
  props: {
9965
9965
  ...props$1p,
9966
9966
  mode: {
@@ -9999,9 +9999,9 @@
9999
9999
  };
10000
10000
  }
10001
10001
  });
10002
- const COMPONENT_NAME$20 = "vc-transition-zoom";
10002
+ const COMPONENT_NAME$21 = "vc-transition-zoom";
10003
10003
  const TransitionZoom = vue.defineComponent({
10004
- name: COMPONENT_NAME$20,
10004
+ name: COMPONENT_NAME$21,
10005
10005
  props: {
10006
10006
  ...props$1p,
10007
10007
  mode: {
@@ -10040,7 +10040,7 @@
10040
10040
  };
10041
10041
  }
10042
10042
  });
10043
- const COMPONENT_NAME$1$ = "vc-alert";
10043
+ const COMPONENT_NAME$20 = "vc-alert";
10044
10044
  const THEME_MAP = {
10045
10045
  info: ["#456CF6", "#91d5ff", "#e6f7ff"],
10046
10046
  success: ["#52c41a", "#b7eb8f", "#f6ffed"],
@@ -10048,7 +10048,7 @@
10048
10048
  warning: ["#ffbf00", "#ffe58f", "#fffbe6"]
10049
10049
  };
10050
10050
  const Alert = /* @__PURE__ */ vue.defineComponent({
10051
- name: COMPONENT_NAME$1$,
10051
+ name: COMPONENT_NAME$20,
10052
10052
  props: props$1r,
10053
10053
  setup(props2, {
10054
10054
  slots,
@@ -10148,9 +10148,9 @@
10148
10148
  }
10149
10149
  };
10150
10150
  const isTouch = typeof document !== "undefined" && "ontouchend" in document;
10151
- const COMPONENT_NAME$1_ = "vc-artboard";
10151
+ const COMPONENT_NAME$1$ = "vc-artboard";
10152
10152
  const Artboard = /* @__PURE__ */ vue.defineComponent({
10153
- name: COMPONENT_NAME$1_,
10153
+ name: COMPONENT_NAME$1$,
10154
10154
  props: props$1o,
10155
10155
  setup(props2, {
10156
10156
  emit,
@@ -10347,9 +10347,9 @@
10347
10347
  default: false
10348
10348
  }
10349
10349
  };
10350
- const COMPONENT_NAME$1Z = "vc-spin";
10350
+ const COMPONENT_NAME$1_ = "vc-spin";
10351
10351
  const Spin = /* @__PURE__ */ vue.defineComponent({
10352
- name: COMPONENT_NAME$1Z,
10352
+ name: COMPONENT_NAME$1_,
10353
10353
  props: props$1n,
10354
10354
  setup(props2, {
10355
10355
  slots
@@ -10398,9 +10398,9 @@
10398
10398
  },
10399
10399
  exclude: RegExp
10400
10400
  };
10401
- const COMPONENT_NAME$1Y = "vc-debounce";
10401
+ const COMPONENT_NAME$1Z = "vc-debounce";
10402
10402
  const Debounce = vue.defineComponent({
10403
- name: COMPONENT_NAME$1Y,
10403
+ name: COMPONENT_NAME$1Z,
10404
10404
  props: props$1m,
10405
10405
  /**
10406
10406
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
@@ -10470,9 +10470,9 @@
10470
10470
  default: "button"
10471
10471
  }
10472
10472
  };
10473
- const COMPONENT_NAME$1X = "vc-button";
10473
+ const COMPONENT_NAME$1Y = "vc-button";
10474
10474
  const Button = /* @__PURE__ */ vue.defineComponent({
10475
- name: COMPONENT_NAME$1X,
10475
+ name: COMPONENT_NAME$1Y,
10476
10476
  emits: ["click"],
10477
10477
  props: props$1l,
10478
10478
  setup(props2, {
@@ -10552,9 +10552,9 @@
10552
10552
  default: false
10553
10553
  }
10554
10554
  };
10555
- const COMPONENT_NAME$1W = "vc-button-group";
10555
+ const COMPONENT_NAME$1X = "vc-button-group";
10556
10556
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
10557
- name: COMPONENT_NAME$1W,
10557
+ name: COMPONENT_NAME$1X,
10558
10558
  props: props$1k,
10559
10559
  setup(props2, {
10560
10560
  slots
@@ -10583,9 +10583,9 @@
10583
10583
  default: "div"
10584
10584
  }
10585
10585
  };
10586
- const COMPONENT_NAME$1V = "vc-calendar";
10586
+ const COMPONENT_NAME$1W = "vc-calendar";
10587
10587
  const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
10588
- name: COMPONENT_NAME$1V,
10588
+ name: COMPONENT_NAME$1W,
10589
10589
  props: props$1j,
10590
10590
  setup(props2, {
10591
10591
  slots
@@ -10618,9 +10618,9 @@
10618
10618
  type: String
10619
10619
  }
10620
10620
  };
10621
- const COMPONENT_NAME$1U = "vc-card";
10621
+ const COMPONENT_NAME$1V = "vc-card";
10622
10622
  const Card = /* @__PURE__ */ vue.defineComponent({
10623
- name: COMPONENT_NAME$1U,
10623
+ name: COMPONENT_NAME$1V,
10624
10624
  props: props$1i,
10625
10625
  setup(props2, {
10626
10626
  slots
@@ -10651,9 +10651,9 @@
10651
10651
  default: "div"
10652
10652
  }
10653
10653
  };
10654
- const COMPONENT_NAME$1T = "vc-carousel";
10654
+ const COMPONENT_NAME$1U = "vc-carousel";
10655
10655
  const Carousel = /* @__PURE__ */ vue.defineComponent({
10656
- name: COMPONENT_NAME$1T,
10656
+ name: COMPONENT_NAME$1U,
10657
10657
  props: props$1h,
10658
10658
  setup(props2, {
10659
10659
  slots
@@ -10938,9 +10938,9 @@
10938
10938
  expose?.(exposed);
10939
10939
  return exposed;
10940
10940
  };
10941
- const COMPONENT_NAME$1S = "vc-input";
10941
+ const COMPONENT_NAME$1T = "vc-input";
10942
10942
  const Input$1 = /* @__PURE__ */ vue.defineComponent({
10943
- name: COMPONENT_NAME$1S,
10943
+ name: COMPONENT_NAME$1T,
10944
10944
  inheritAttrs: false,
10945
10945
  props: {
10946
10946
  ...props$1g,
@@ -11271,9 +11271,9 @@
11271
11271
  handleStepper
11272
11272
  };
11273
11273
  };
11274
- const COMPONENT_NAME$1R = "vc-input-number";
11274
+ const COMPONENT_NAME$1S = "vc-input-number";
11275
11275
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
11276
- name: COMPONENT_NAME$1R,
11276
+ name: COMPONENT_NAME$1S,
11277
11277
  props: props$1f,
11278
11278
  inheritAttrs: false,
11279
11279
  setup(props2, {
@@ -11333,9 +11333,9 @@
11333
11333
  default: true
11334
11334
  }
11335
11335
  };
11336
- const COMPONENT_NAME$1Q = "vc-input-search";
11336
+ const COMPONENT_NAME$1R = "vc-input-search";
11337
11337
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
11338
- name: COMPONENT_NAME$1Q,
11338
+ name: COMPONENT_NAME$1R,
11339
11339
  props: props$1e,
11340
11340
  inheritAttrs: false,
11341
11341
  setup(props2, {
@@ -11723,9 +11723,9 @@
11723
11723
  default: () => null
11724
11724
  }
11725
11725
  };
11726
- const COMPONENT_NAME$1P = "vc-customer";
11726
+ const COMPONENT_NAME$1Q = "vc-customer";
11727
11727
  const Customer = vue.defineComponent({
11728
- name: COMPONENT_NAME$1P,
11728
+ name: COMPONENT_NAME$1Q,
11729
11729
  props: props$1b,
11730
11730
  setup(props2, context) {
11731
11731
  return () => vue.h(() => {
@@ -11798,7 +11798,7 @@
11798
11798
  return this.target.finally(callback);
11799
11799
  }
11800
11800
  }
11801
- const COMPONENT_NAME$1O = "vc-portal";
11801
+ const COMPONENT_NAME$1P = "vc-portal";
11802
11802
  class Portal {
11803
11803
  /**
11804
11804
  * 清理Portals类型组件
@@ -11850,7 +11850,7 @@
11850
11850
  this.wrapper = wrapper;
11851
11851
  this.globalOptions = {
11852
11852
  ...options,
11853
- name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1O)
11853
+ name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1P)
11854
11854
  };
11855
11855
  }
11856
11856
  popup(propsData, options) {
@@ -11949,7 +11949,7 @@
11949
11949
  ...rest
11950
11950
  } = options;
11951
11951
  let useAllNodes = fragment;
11952
- const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1O)}` : name$;
11952
+ const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1P)}` : name$;
11953
11953
  const container = document.createElement(tag);
11954
11954
  const root = typeof el2 === "object" ? el2 : document.querySelector(el2 || "body");
11955
11955
  !alive && Portal.leafs.get(name)?.destroy();
@@ -11984,7 +11984,7 @@
11984
11984
  } else {
11985
11985
  const wrapper = this.wrapper;
11986
11986
  const app = vue.createApp({
11987
- name: COMPONENT_NAME$1O,
11987
+ name: COMPONENT_NAME$1P,
11988
11988
  parent,
11989
11989
  setup() {
11990
11990
  if (alive) {
@@ -12096,9 +12096,9 @@
12096
12096
  default: "div"
12097
12097
  }
12098
12098
  };
12099
- const COMPONENT_NAME$1N = "vc-portal-view";
12099
+ const COMPONENT_NAME$1O = "vc-portal-view";
12100
12100
  const PortalView = /* @__PURE__ */ vue.defineComponent({
12101
- name: COMPONENT_NAME$1N,
12101
+ name: COMPONENT_NAME$1O,
12102
12102
  props: props$1a,
12103
12103
  setup(props2, {
12104
12104
  slots
@@ -12112,9 +12112,9 @@
12112
12112
  };
12113
12113
  }
12114
12114
  });
12115
- const COMPONENT_NAME$1M = "vc-popover-wrapper";
12115
+ const COMPONENT_NAME$1N = "vc-popover-wrapper";
12116
12116
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
12117
- name: COMPONENT_NAME$1M,
12117
+ name: COMPONENT_NAME$1N,
12118
12118
  props: props$1d,
12119
12119
  emits: ["portal-fulfilled", "close"],
12120
12120
  setup(props2, {
@@ -12336,9 +12336,9 @@
12336
12336
  const PopoverPortal = new Portal(PopoverWrapper, {
12337
12337
  leaveDelay: 0
12338
12338
  });
12339
- const COMPONENT_NAME$1L = "vc-popover";
12339
+ const COMPONENT_NAME$1M = "vc-popover";
12340
12340
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
12341
- name: COMPONENT_NAME$1L,
12341
+ name: COMPONENT_NAME$1M,
12342
12342
  props: props$1c,
12343
12343
  emits: ["update:modelValue", "visible-change", "ready", "close"],
12344
12344
  setup(props2, {
@@ -12466,9 +12466,9 @@
12466
12466
  const Popover = Object.assign(Popover$1, {
12467
12467
  open: PopoverPortal.popup.bind(PopoverPortal)
12468
12468
  });
12469
- const COMPONENT_NAME$1K = "vc-cascader-column";
12469
+ const COMPONENT_NAME$1L = "vc-cascader-column";
12470
12470
  const CascaderColumn = /* @__PURE__ */ vue.defineComponent({
12471
- name: COMPONENT_NAME$1K,
12471
+ name: COMPONENT_NAME$1L,
12472
12472
  emits: ["click", "change"],
12473
12473
  props: {
12474
12474
  data: {
@@ -12671,9 +12671,9 @@
12671
12671
  default: true
12672
12672
  }
12673
12673
  };
12674
- const COMPONENT_NAME$1J = "vc-cascader";
12674
+ const COMPONENT_NAME$1K = "vc-cascader";
12675
12675
  const Cascader = /* @__PURE__ */ vue.defineComponent({
12676
- name: COMPONENT_NAME$1J,
12676
+ name: COMPONENT_NAME$1K,
12677
12677
  inheritAttrs: false,
12678
12678
  props: props$18,
12679
12679
  emits: ["update:modelValue", "visible-change", "ready", "change", "close"],
@@ -12962,9 +12962,9 @@
12962
12962
  watchShallow: Boolean,
12963
12963
  manualUpdate: Boolean
12964
12964
  };
12965
- const COMPONENT_NAME$1I = "vc-chart";
12965
+ const COMPONENT_NAME$1J = "vc-chart";
12966
12966
  const Chart = /* @__PURE__ */ vue.defineComponent({
12967
- name: COMPONENT_NAME$1I,
12967
+ name: COMPONENT_NAME$1J,
12968
12968
  props: props$17,
12969
12969
  emits: [...EVENTS$1, "ready"],
12970
12970
  setup(props2, {
@@ -13186,9 +13186,9 @@
13186
13186
  computedLabel
13187
13187
  };
13188
13188
  };
13189
- const COMPONENT_NAME$1H = "vc-checkbox";
13189
+ const COMPONENT_NAME$1I = "vc-checkbox";
13190
13190
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
13191
- name: COMPONENT_NAME$1H,
13191
+ name: COMPONENT_NAME$1I,
13192
13192
  props: props$16,
13193
13193
  emits: ["update:modelValue", "change"],
13194
13194
  setup(props2, {
@@ -13270,9 +13270,9 @@
13270
13270
  reset
13271
13271
  };
13272
13272
  };
13273
- const COMPONENT_NAME$1G = "vc-checkbox-group";
13273
+ const COMPONENT_NAME$1H = "vc-checkbox-group";
13274
13274
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
13275
- name: COMPONENT_NAME$1G,
13275
+ name: COMPONENT_NAME$1H,
13276
13276
  props: props$15,
13277
13277
  emits: ["update:modelValue", "change"],
13278
13278
  setup(props2, {
@@ -13287,9 +13287,9 @@
13287
13287
  };
13288
13288
  }
13289
13289
  });
13290
- const COMPONENT_NAME$1F = "vcm-checkbox";
13290
+ const COMPONENT_NAME$1G = "vcm-checkbox";
13291
13291
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
13292
- name: COMPONENT_NAME$1F,
13292
+ name: COMPONENT_NAME$1G,
13293
13293
  props: props$16,
13294
13294
  emits: ["update:modelValue", "change"],
13295
13295
  setup(props2, {
@@ -13326,9 +13326,9 @@
13326
13326
  };
13327
13327
  }
13328
13328
  });
13329
- const COMPONENT_NAME$1E = "vcm-checkbox-group";
13329
+ const COMPONENT_NAME$1F = "vcm-checkbox-group";
13330
13330
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
13331
- name: COMPONENT_NAME$1E,
13331
+ name: COMPONENT_NAME$1F,
13332
13332
  props: props$15,
13333
13333
  emits: ["update:modelValue", "change"],
13334
13334
  setup(props2, {
@@ -13378,9 +13378,9 @@
13378
13378
  // 这个相当于Modal中的onCancel,支持Promise
13379
13379
  onBeforeClose: Function
13380
13380
  };
13381
- const COMPONENT_NAME$1D = "vc-message";
13381
+ const COMPONENT_NAME$1E = "vc-message";
13382
13382
  const MessageView = /* @__PURE__ */ vue.defineComponent({
13383
- name: COMPONENT_NAME$1D,
13383
+ name: COMPONENT_NAME$1E,
13384
13384
  emits: ["before-close", "close", "portal-fulfilled"],
13385
13385
  props: props$14,
13386
13386
  setup(props2, {
@@ -13623,9 +13623,9 @@
13623
13623
  };
13624
13624
  return () => vue.h(props2.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
13625
13625
  };
13626
- const COMPONENT_NAME$1C = "vc-clipboard";
13626
+ const COMPONENT_NAME$1D = "vc-clipboard";
13627
13627
  const Clipboard$1 = vue.defineComponent({
13628
- name: COMPONENT_NAME$1C,
13628
+ name: COMPONENT_NAME$1D,
13629
13629
  props: props$13,
13630
13630
  setup() {
13631
13631
  return useClipboard((content) => Message.success({ content }));
@@ -13657,9 +13657,9 @@
13657
13657
  const MTransitionScale = TransitionScale;
13658
13658
  const MTransitionSlide = TransitionSlide;
13659
13659
  const MTransitionZoom = TransitionZoom;
13660
- const COMPONENT_NAME$1B = "vcm-toast";
13660
+ const COMPONENT_NAME$1C = "vcm-toast";
13661
13661
  const MToastView = /* @__PURE__ */ vue.defineComponent({
13662
- name: COMPONENT_NAME$1B,
13662
+ name: COMPONENT_NAME$1C,
13663
13663
  emits: ["close", "portal-fulfilled"],
13664
13664
  props: props$12,
13665
13665
  setup(props2, {
@@ -13758,9 +13758,9 @@
13758
13758
  const warning$2 = create$3({ mode: "warning" });
13759
13759
  const error$2 = create$3({ mode: "error" });
13760
13760
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
13761
- const COMPONENT_NAME$1A = "vcm-clipboard";
13761
+ const COMPONENT_NAME$1B = "vcm-clipboard";
13762
13762
  const MClipboard$1 = vue.defineComponent({
13763
- name: COMPONENT_NAME$1A,
13763
+ name: COMPONENT_NAME$1B,
13764
13764
  props: props$13,
13765
13765
  setup() {
13766
13766
  return useClipboard((content) => MToast.info({ content }));
@@ -13789,9 +13789,9 @@
13789
13789
  default: false
13790
13790
  }
13791
13791
  };
13792
- const COMPONENT_NAME$1z = "vc-collapse";
13792
+ const COMPONENT_NAME$1A = "vc-collapse";
13793
13793
  const Collapse = vue.defineComponent({
13794
- name: COMPONENT_NAME$1z,
13794
+ name: COMPONENT_NAME$1A,
13795
13795
  props: props$11,
13796
13796
  emits: ["update:moodelValue", "change"],
13797
13797
  setup(props2, { slots, emit }) {
@@ -13903,9 +13903,9 @@
13903
13903
  function _isSlot$2(s) {
13904
13904
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
13905
13905
  }
13906
- const COMPONENT_NAME$1y = "vc-expand";
13906
+ const COMPONENT_NAME$1z = "vc-expand";
13907
13907
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
13908
- name: COMPONENT_NAME$1y,
13908
+ name: COMPONENT_NAME$1z,
13909
13909
  props: props$$,
13910
13910
  setup(props2, {
13911
13911
  slots
@@ -13932,9 +13932,9 @@
13932
13932
  };
13933
13933
  }
13934
13934
  });
13935
- const COMPONENT_NAME$1x = "vc-collapse-item";
13935
+ const COMPONENT_NAME$1y = "vc-collapse-item";
13936
13936
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
13937
- name: COMPONENT_NAME$1x,
13937
+ name: COMPONENT_NAME$1y,
13938
13938
  props: props$10,
13939
13939
  setup(props2, {
13940
13940
  slots,
@@ -14004,9 +14004,9 @@
14004
14004
  default: "div"
14005
14005
  }
14006
14006
  };
14007
- const COMPONENT_NAME$1w = "vc-color-picker";
14007
+ const COMPONENT_NAME$1x = "vc-color-picker";
14008
14008
  const ColorPicker$1 = /* @__PURE__ */ vue.defineComponent({
14009
- name: COMPONENT_NAME$1w,
14009
+ name: COMPONENT_NAME$1x,
14010
14010
  props: props$_,
14011
14011
  setup(props2, {
14012
14012
  slots
@@ -14063,9 +14063,9 @@
14063
14063
  function _isSlot$1(s) {
14064
14064
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
14065
14065
  }
14066
- const COMPONENT_NAME$1v = "vc-countdown";
14066
+ const COMPONENT_NAME$1w = "vc-countdown";
14067
14067
  const Countdown = /* @__PURE__ */ vue.defineComponent({
14068
- name: COMPONENT_NAME$1v,
14068
+ name: COMPONENT_NAME$1w,
14069
14069
  props: props$Z,
14070
14070
  emits: ["change", "finish", "error"],
14071
14071
  setup(props2, {
@@ -15238,9 +15238,9 @@
15238
15238
  }
15239
15239
  return view;
15240
15240
  };
15241
- const COMPONENT_NAME$1u = "vc-date-confirm";
15241
+ const COMPONENT_NAME$1v = "vc-date-confirm";
15242
15242
  const Confirm = /* @__PURE__ */ vue.defineComponent({
15243
- name: COMPONENT_NAME$1u,
15243
+ name: COMPONENT_NAME$1v,
15244
15244
  props: {
15245
15245
  showTime: {
15246
15246
  type: Boolean,
@@ -15301,9 +15301,9 @@
15301
15301
  };
15302
15302
  }
15303
15303
  });
15304
- const COMPONENT_NAME$1t = "vc-date-header";
15304
+ const COMPONENT_NAME$1u = "vc-date-header";
15305
15305
  const DateHeader = /* @__PURE__ */ vue.defineComponent({
15306
- name: COMPONENT_NAME$1t,
15306
+ name: COMPONENT_NAME$1u,
15307
15307
  props: {
15308
15308
  panelDate: Date,
15309
15309
  showNext: {
@@ -15384,9 +15384,9 @@
15384
15384
  };
15385
15385
  }
15386
15386
  });
15387
- const COMPONENT_NAME$1s = "vc-date-table";
15387
+ const COMPONENT_NAME$1t = "vc-date-table";
15388
15388
  const DateTable = /* @__PURE__ */ vue.defineComponent({
15389
- name: COMPONENT_NAME$1s,
15389
+ name: COMPONENT_NAME$1t,
15390
15390
  props: {
15391
15391
  value: Array,
15392
15392
  firstDayOfWeek: {
@@ -15586,9 +15586,9 @@
15586
15586
  };
15587
15587
  }
15588
15588
  });
15589
- const COMPONENT_NAME$1r = "vc-month-table";
15589
+ const COMPONENT_NAME$1s = "vc-month-table";
15590
15590
  const MonthTable = /* @__PURE__ */ vue.defineComponent({
15591
- name: COMPONENT_NAME$1r,
15591
+ name: COMPONENT_NAME$1s,
15592
15592
  props: {
15593
15593
  value: Array,
15594
15594
  panelDate: Date,
@@ -15714,7 +15714,7 @@
15714
15714
  };
15715
15715
  }
15716
15716
  });
15717
- const COMPONENT_NAME$1q = "vc-quarter-table";
15717
+ const COMPONENT_NAME$1r = "vc-quarter-table";
15718
15718
  const getMonthRange = (panelDate, quarter) => {
15719
15719
  const year = panelDate.getFullYear();
15720
15720
  const [startMonth, endMonth] = [quarter * 3, quarter * 3 + 2];
@@ -15741,7 +15741,7 @@
15741
15741
  }
15742
15742
  };
15743
15743
  const QuarterTable = /* @__PURE__ */ vue.defineComponent({
15744
- name: COMPONENT_NAME$1q,
15744
+ name: COMPONENT_NAME$1r,
15745
15745
  props: {
15746
15746
  value: Array,
15747
15747
  panelDate: Date,
@@ -15859,9 +15859,9 @@
15859
15859
  };
15860
15860
  }
15861
15861
  });
15862
- const COMPONENT_NAME$1p = "vc-shortcuts-select";
15862
+ const COMPONENT_NAME$1q = "vc-shortcuts-select";
15863
15863
  const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
15864
- name: COMPONENT_NAME$1p,
15864
+ name: COMPONENT_NAME$1q,
15865
15865
  props: {
15866
15866
  panelDate: Date,
15867
15867
  config: Array,
@@ -15898,9 +15898,9 @@
15898
15898
  };
15899
15899
  }
15900
15900
  });
15901
- const COMPONENT_NAME$1o = "vc-time-select";
15901
+ const COMPONENT_NAME$1p = "vc-time-select";
15902
15902
  const TimeSelect = /* @__PURE__ */ vue.defineComponent({
15903
- name: COMPONENT_NAME$1o,
15903
+ name: COMPONENT_NAME$1p,
15904
15904
  props: {
15905
15905
  hours: {
15906
15906
  type: [Number, String],
@@ -16176,9 +16176,9 @@
16176
16176
  };
16177
16177
  }
16178
16178
  });
16179
- const COMPONENT_NAME$1n = "vc-year-table";
16179
+ const COMPONENT_NAME$1o = "vc-year-table";
16180
16180
  const YearTable = /* @__PURE__ */ vue.defineComponent({
16181
- name: COMPONENT_NAME$1n,
16181
+ name: COMPONENT_NAME$1o,
16182
16182
  props: {
16183
16183
  value: Array,
16184
16184
  panelDate: Date,
@@ -16294,9 +16294,9 @@
16294
16294
  }
16295
16295
  return true;
16296
16296
  };
16297
- const COMPONENT_NAME$1m = "vc-date-range-panel";
16297
+ const COMPONENT_NAME$1n = "vc-date-range-panel";
16298
16298
  const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
16299
- name: COMPONENT_NAME$1m,
16299
+ name: COMPONENT_NAME$1n,
16300
16300
  props: {
16301
16301
  ...props$W,
16302
16302
  confirm: {
@@ -16657,9 +16657,9 @@
16657
16657
  };
16658
16658
  }
16659
16659
  });
16660
- const COMPONENT_NAME$1l = "vc-date-panel";
16660
+ const COMPONENT_NAME$1m = "vc-date-panel";
16661
16661
  const DatePanel = /* @__PURE__ */ vue.defineComponent({
16662
- name: COMPONENT_NAME$1l,
16662
+ name: COMPONENT_NAME$1m,
16663
16663
  props: {
16664
16664
  ...props$W,
16665
16665
  type: String,
@@ -16858,9 +16858,9 @@
16858
16858
  const endYear = value[1].getFullYear();
16859
16859
  return startYear === endYear;
16860
16860
  };
16861
- const COMPONENT_NAME$1k = "vc-monthrange-panel";
16861
+ const COMPONENT_NAME$1l = "vc-monthrange-panel";
16862
16862
  const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
16863
- name: COMPONENT_NAME$1k,
16863
+ name: COMPONENT_NAME$1l,
16864
16864
  props: {
16865
16865
  ...props$W,
16866
16866
  confirm: {
@@ -17030,9 +17030,9 @@
17030
17030
  const endYear = value[1].getFullYear();
17031
17031
  return startYear === endYear;
17032
17032
  };
17033
- const COMPONENT_NAME$1j = "vc-quarterrange-panel";
17033
+ const COMPONENT_NAME$1k = "vc-quarterrange-panel";
17034
17034
  const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
17035
- name: COMPONENT_NAME$1j,
17035
+ name: COMPONENT_NAME$1k,
17036
17036
  props: {
17037
17037
  ...props$W,
17038
17038
  confirm: {
@@ -17263,9 +17263,9 @@
17263
17263
  seconds
17264
17264
  };
17265
17265
  };
17266
- const COMPONENT_NAME$1i = "vc-timerange-panel";
17266
+ const COMPONENT_NAME$1j = "vc-timerange-panel";
17267
17267
  const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
17268
- name: COMPONENT_NAME$1i,
17268
+ name: COMPONENT_NAME$1j,
17269
17269
  props: props$V,
17270
17270
  emits: ["pick", "clear", "ok"],
17271
17271
  setup(props2, {
@@ -17363,9 +17363,9 @@
17363
17363
  };
17364
17364
  }
17365
17365
  });
17366
- const COMPONENT_NAME$1h = "vc-time-panel";
17366
+ const COMPONENT_NAME$1i = "vc-time-panel";
17367
17367
  const TimePanel = /* @__PURE__ */ vue.defineComponent({
17368
- name: COMPONENT_NAME$1h,
17368
+ name: COMPONENT_NAME$1i,
17369
17369
  props: props$V,
17370
17370
  emits: ["pick", "clear", "ok"],
17371
17371
  setup(props2, {
@@ -17417,7 +17417,7 @@
17417
17417
  };
17418
17418
  }
17419
17419
  });
17420
- const COMPONENT_NAME$1g = "vc-date-picker";
17420
+ const COMPONENT_NAME$1h = "vc-date-picker";
17421
17421
  const getPanel$1 = (type) => {
17422
17422
  if (["daterange", "datetimerange"].includes(type)) {
17423
17423
  return DateRangePanel;
@@ -17428,7 +17428,7 @@
17428
17428
  }
17429
17429
  return DatePanel;
17430
17430
  };
17431
- const DatePicker = createPicker(COMPONENT_NAME$1g, props$Y, () => {
17431
+ const DatePicker = createPicker(COMPONENT_NAME$1h, props$Y, () => {
17432
17432
  const props2 = vue.getCurrentInstance().props;
17433
17433
  const icon = vue.ref("date");
17434
17434
  const panel = vue.shallowRef({});
@@ -17464,9 +17464,9 @@
17464
17464
  }
17465
17465
  }
17466
17466
  };
17467
- const COMPONENT_NAME$1f = "vc-divider";
17467
+ const COMPONENT_NAME$1g = "vc-divider";
17468
17468
  const Divider = /* @__PURE__ */ vue.defineComponent({
17469
- name: COMPONENT_NAME$1f,
17469
+ name: COMPONENT_NAME$1g,
17470
17470
  props: props$U,
17471
17471
  setup(props2, {
17472
17472
  slots
@@ -17595,7 +17595,7 @@
17595
17595
  barTo: props$S.to,
17596
17596
  ...pick(props$S, barKeys)
17597
17597
  };
17598
- const COMPONENT_NAME$1e = "vc-scroller-track";
17598
+ const COMPONENT_NAME$1f = "vc-scroller-track";
17599
17599
  const BAR_MAP = {
17600
17600
  vertical: {
17601
17601
  scroll: "scrollTop",
@@ -17615,7 +17615,7 @@
17615
17615
  }
17616
17616
  };
17617
17617
  const Track$1 = /* @__PURE__ */ vue.defineComponent({
17618
- name: COMPONENT_NAME$1e,
17618
+ name: COMPONENT_NAME$1f,
17619
17619
  props: props$T,
17620
17620
  emits: ["change"],
17621
17621
  inheritAttrs: false,
@@ -17777,9 +17777,9 @@
17777
17777
  };
17778
17778
  }
17779
17779
  });
17780
- const COMPONENT_NAME$1d = "vc-scroller-bar";
17780
+ const COMPONENT_NAME$1e = "vc-scroller-bar";
17781
17781
  const Bar = /* @__PURE__ */ vue.defineComponent({
17782
- name: COMPONENT_NAME$1d,
17782
+ name: COMPONENT_NAME$1e,
17783
17783
  props: props$S,
17784
17784
  emits: ["change"],
17785
17785
  setup(props2, {
@@ -18009,9 +18009,9 @@
18009
18009
  refreshPosition
18010
18010
  };
18011
18011
  };
18012
- const COMPONENT_NAME$1c = "vc-scroller";
18012
+ const COMPONENT_NAME$1d = "vc-scroller";
18013
18013
  const Scroller = /* @__PURE__ */ vue.defineComponent({
18014
- name: COMPONENT_NAME$1c,
18014
+ name: COMPONENT_NAME$1d,
18015
18015
  props: props$R,
18016
18016
  emits: ["scroll"],
18017
18017
  setup(props2, {
@@ -18069,9 +18069,9 @@
18069
18069
  };
18070
18070
  }
18071
18071
  });
18072
- const COMPONENT_NAME$1b = "vc-scroller-wheel";
18072
+ const COMPONENT_NAME$1c = "vc-scroller-wheel";
18073
18073
  const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
18074
- name: COMPONENT_NAME$1b,
18074
+ name: COMPONENT_NAME$1c,
18075
18075
  props: Object.assign({}, props$R, {
18076
18076
  stopPropagation: {
18077
18077
  type: Boolean,
@@ -18252,9 +18252,9 @@
18252
18252
  type: Function
18253
18253
  }
18254
18254
  };
18255
- const COMPONENT_NAME$1a = "vc-drawer";
18255
+ const COMPONENT_NAME$1b = "vc-drawer";
18256
18256
  const DrawerView = /* @__PURE__ */ vue.defineComponent({
18257
- name: COMPONENT_NAME$1a,
18257
+ name: COMPONENT_NAME$1b,
18258
18258
  props: props$Q,
18259
18259
  emits: ["close", "update:modelValue", "visible-change"],
18260
18260
  setup(props2, {
@@ -18426,9 +18426,9 @@
18426
18426
  default: false
18427
18427
  }
18428
18428
  };
18429
- const COMPONENT_NAME$19 = "vc-dropdown";
18429
+ const COMPONENT_NAME$1a = "vc-dropdown";
18430
18430
  const Dropdown = /* @__PURE__ */ vue.defineComponent({
18431
- name: COMPONENT_NAME$19,
18431
+ name: COMPONENT_NAME$1a,
18432
18432
  props: props$P,
18433
18433
  inheritAttrs: false,
18434
18434
  emits: ["update:modelValue", "ready", "close", "visible-change", "click"],
@@ -18491,9 +18491,9 @@
18491
18491
  };
18492
18492
  }
18493
18493
  });
18494
- const COMPONENT_NAME$18 = "vc-dropdown-menu";
18494
+ const COMPONENT_NAME$19 = "vc-dropdown-menu";
18495
18495
  const DropdownMenu = /* @__PURE__ */ vue.defineComponent({
18496
- name: COMPONENT_NAME$18,
18496
+ name: COMPONENT_NAME$19,
18497
18497
  setup(_, {
18498
18498
  slots
18499
18499
  }) {
@@ -18504,9 +18504,9 @@
18504
18504
  };
18505
18505
  }
18506
18506
  });
18507
- const COMPONENT_NAME$17 = "vc-dropdown-item";
18507
+ const COMPONENT_NAME$18 = "vc-dropdown-item";
18508
18508
  const DropdownItem = /* @__PURE__ */ vue.defineComponent({
18509
- name: COMPONENT_NAME$17,
18509
+ name: COMPONENT_NAME$18,
18510
18510
  props: {
18511
18511
  value: {
18512
18512
  type: [String, Number],
@@ -18714,9 +18714,9 @@
18714
18714
  ["link", "upload/video", "upload/image", "undo", "redo"]
18715
18715
  ]
18716
18716
  };
18717
- const COMPONENT_NAME$16 = "vc-editor-toolbar";
18717
+ const COMPONENT_NAME$17 = "vc-editor-toolbar";
18718
18718
  const EditorToolbar = /* @__PURE__ */ vue.defineComponent({
18719
- name: COMPONENT_NAME$16,
18719
+ name: COMPONENT_NAME$17,
18720
18720
  props: {
18721
18721
  options: [Array, Object],
18722
18722
  elementId: String
@@ -18914,9 +18914,9 @@
18914
18914
  default: "div"
18915
18915
  }
18916
18916
  };
18917
- const COMPONENT_NAME$15 = "vc-image-preview";
18917
+ const COMPONENT_NAME$16 = "vc-image-preview";
18918
18918
  const ImagePreview$1 = /* @__PURE__ */ vue.defineComponent({
18919
- name: COMPONENT_NAME$15,
18919
+ name: COMPONENT_NAME$16,
18920
18920
  props: props$O,
18921
18921
  setup(props2, {
18922
18922
  slots
@@ -19098,9 +19098,9 @@
19098
19098
  default: false
19099
19099
  }
19100
19100
  };
19101
- const COMPONENT_NAME$14 = "vc-upload";
19101
+ const COMPONENT_NAME$15 = "vc-upload";
19102
19102
  const Upload$1 = vue.defineComponent({
19103
- name: COMPONENT_NAME$14,
19103
+ name: COMPONENT_NAME$15,
19104
19104
  props: props$N,
19105
19105
  emits: [
19106
19106
  "message",
@@ -19625,9 +19625,9 @@
19625
19625
  default: true
19626
19626
  }
19627
19627
  };
19628
- const COMPONENT_NAME$13 = "vc-editor";
19628
+ const COMPONENT_NAME$14 = "vc-editor";
19629
19629
  const Editor$1 = /* @__PURE__ */ vue.defineComponent({
19630
- name: COMPONENT_NAME$13,
19630
+ name: COMPONENT_NAME$14,
19631
19631
  props: props$M,
19632
19632
  emits: ["ready", "blur", "focus", "input", "update:modelValue", "change"],
19633
19633
  setup(props2, {
@@ -19807,7 +19807,7 @@
19807
19807
  };
19808
19808
  }
19809
19809
  });
19810
- const COMPONENT_NAME$12 = "vc-editor-view";
19810
+ const COMPONENT_NAME$13 = "vc-editor-view";
19811
19811
  const setImages = (v) => {
19812
19812
  if (!v) return;
19813
19813
  const IMG_REGX = /<img.*?(?:>|\/>)/gi;
@@ -19824,7 +19824,7 @@
19824
19824
  return;
19825
19825
  };
19826
19826
  const EditorView = /* @__PURE__ */ vue.defineComponent({
19827
- name: COMPONENT_NAME$12,
19827
+ name: COMPONENT_NAME$13,
19828
19828
  props: {
19829
19829
  value: {
19830
19830
  type: String,
@@ -19891,6 +19891,7 @@
19891
19891
  }
19892
19892
  });
19893
19893
  const MEditor = Editor$1;
19894
+ const MEditorView = EditorView;
19894
19895
  const MExpand = Expand$1;
19895
19896
  const props$L = {
19896
19897
  tag: {
@@ -19932,7 +19933,14 @@
19932
19933
  labelStyle: [Object, String],
19933
19934
  labelClass: [Object, String],
19934
19935
  errorStyle: [Object, String],
19935
- errorClass: [Object, String]
19936
+ errorClass: [Object, String],
19937
+ // 给nestFormItem统一注入
19938
+ nestedContentStyle: [Object, String],
19939
+ nestedContentClass: [Object, String],
19940
+ nestedLabelStyle: [Object, String],
19941
+ nestedLabelClass: [Object, String],
19942
+ nestedErrorStyle: [Object, String],
19943
+ nestedErrorClass: [Object, String]
19936
19944
  };
19937
19945
  const useForm = (expose, options = {}) => {
19938
19946
  const instance = vue.getCurrentInstance();
@@ -20024,9 +20032,9 @@
20024
20032
  validateField
20025
20033
  });
20026
20034
  };
20027
- const COMPONENT_NAME$11 = "vc-form";
20035
+ const COMPONENT_NAME$12 = "vc-form";
20028
20036
  const Form = vue.defineComponent({
20029
- name: COMPONENT_NAME$11,
20037
+ name: COMPONENT_NAME$12,
20030
20038
  props: props$L,
20031
20039
  setup(props2, { slots, expose }) {
20032
20040
  useForm(expose);
@@ -20132,9 +20140,7 @@
20132
20140
  return formItemRules;
20133
20141
  });
20134
20142
  const isRequired = vue.computed(() => {
20135
- if (!currentRules.value.length) {
20136
- return !!props2.required;
20137
- }
20143
+ if (props2.required) return !!props2.required;
20138
20144
  let required = false;
20139
20145
  for (let i = 0; i < currentRules.value.length; i++) {
20140
20146
  const rule = currentRules.value[i];
@@ -20148,31 +20154,32 @@
20148
20154
  });
20149
20155
  const classes = vue.computed(() => {
20150
20156
  return {
20151
- "is-require": isRequired.value && props2.asterisk,
20157
+ "is-required": isRequired.value && props2.asterisk,
20152
20158
  "is-error": validateState.value === "error",
20153
20159
  "is-validating": validateState.value === "validating",
20154
20160
  "is-inline": form.props.inline,
20155
- "is-nest": isNest.value,
20161
+ "is-nested": isNested.value,
20156
20162
  "is-alone": !props2.showMessage,
20157
20163
  // 用于单独去除form-item的默认margin_bottom
20158
20164
  [`is-${labelPosition.value}`]: true
20159
20165
  };
20160
20166
  });
20161
- const isNest = vue.computed(() => {
20167
+ const isNested = vue.computed(() => {
20162
20168
  return !!formItem.change;
20163
20169
  });
20164
- const isNestLast = vue.ref(false);
20170
+ const isNestedLast = vue.ref(false);
20165
20171
  const hasLabel = vue.computed(() => {
20166
20172
  return !!props2.label || slots.label;
20167
20173
  });
20168
20174
  const labelStyle = vue.computed(() => {
20169
- const labelWidth = props2.labelWidth === 0 || props2.labelWidth ? props2.labelWidth : isNest.value ? 0 : form.props.labelWidth;
20175
+ const labelWidth = props2.labelWidth === 0 || props2.labelWidth ? props2.labelWidth : isNested.value ? 0 : form.props.labelWidth;
20170
20176
  return [
20171
20177
  {
20172
20178
  width: labelPosition.value !== "top" && labelWidth && labelWidth > 0 ? `${labelWidth}px` : "auto",
20173
20179
  textAlign: labelPosition.value === "top" ? "left" : labelPosition.value
20174
20180
  },
20175
20181
  form.props.labelStyle,
20182
+ isNested.value && form.props.nestedLabelStyle,
20176
20183
  props2.labelStyle
20177
20184
  ];
20178
20185
  });
@@ -20180,24 +20187,25 @@
20180
20187
  const labelWidth = props2.labelWidth === 0 || props2.labelWidth ? props2.labelWidth : form.props.labelWidth;
20181
20188
  return [
20182
20189
  {
20183
- marginLeft: !hasLabel.value && isNest.value ? 0 : labelWidth && labelWidth > 0 ? `${labelWidth}px` : "unset",
20184
- marginBottom: isNest.value && !isNestLast.value ? `20px` : 0
20190
+ marginLeft: labelPosition.value === "top" || !hasLabel.value && isNested.value ? 0 : labelWidth && labelWidth > 0 ? `${labelWidth}px` : "unset",
20191
+ marginBottom: isNested.value && !isNestedLast.value ? `20px` : 0
20185
20192
  },
20186
20193
  form.props.contentStyle,
20194
+ isNested.value && form.props.nestedContentStyle,
20187
20195
  props2.contentStyle
20188
20196
  ];
20189
20197
  });
20190
20198
  const errorStyle = vue.computed(() => {
20191
- return [form.props.errorStyle, props2.errorStyle];
20199
+ return [form.props.errorStyle, isNested.value && form.props.nestedErrorStyle, props2.errorStyle];
20192
20200
  });
20193
20201
  const labelClass = vue.computed(() => {
20194
- return [form.props.labelClass, props2.labelClass];
20202
+ return [form.props.labelClass, isNested.value && form.props.nestedLabelClass, props2.labelClass];
20195
20203
  });
20196
20204
  const contentClass = vue.computed(() => {
20197
- return [form.props.contentClass, props2.contentClass];
20205
+ return [form.props.contentClass, isNested.value && form.props.nestedContentClass, props2.contentClass];
20198
20206
  });
20199
20207
  const errorClass = vue.computed(() => {
20200
- return [form.props.errorClass, props2.errorClass];
20208
+ return [form.props.errorClass, isNested.value && form.props.nestedErrorClass, props2.errorClass];
20201
20209
  });
20202
20210
  const isStyleless = vue.computed(() => {
20203
20211
  return props2.styleless || form.props.styleless;
@@ -20334,7 +20342,7 @@
20334
20342
  vue.watch(
20335
20343
  () => formItem.fields?.length,
20336
20344
  async (v) => {
20337
- if (!isNest.value || !v) return isNestLast.value = false;
20345
+ if (!isNested.value || !v) return isNestedLast.value = false;
20338
20346
  const fields$ = [...vue.toRaw(formItem.fields)];
20339
20347
  const positions = await Promise.all(fields$.map((item) => item.exposed.getPosition()));
20340
20348
  const sortFields = fields$.toSorted((a, b) => {
@@ -20345,7 +20353,7 @@
20345
20353
  if (aPosition.top != bPosition.top) return aPosition.top - bPosition.top;
20346
20354
  return aPosition.left - bPosition.left;
20347
20355
  });
20348
- isNestLast.value = sortFields[sortFields.length - 1] === instance;
20356
+ isNestedLast.value = sortFields[sortFields.length - 1] === instance;
20349
20357
  }
20350
20358
  );
20351
20359
  expose({
@@ -20354,9 +20362,9 @@
20354
20362
  getPosition
20355
20363
  });
20356
20364
  return {
20357
- isNest,
20365
+ isNested,
20358
20366
  isStyleless,
20359
- isNestLast,
20367
+ isNestedLast,
20360
20368
  validateMessage,
20361
20369
  classes,
20362
20370
  labelStyle,
@@ -20369,9 +20377,9 @@
20369
20377
  labelPosition
20370
20378
  };
20371
20379
  };
20372
- const COMPONENT_NAME$10 = "vc-form-item";
20380
+ const COMPONENT_NAME$11 = "vc-form-item";
20373
20381
  const FormItem = /* @__PURE__ */ vue.defineComponent({
20374
- name: COMPONENT_NAME$10,
20382
+ name: COMPONENT_NAME$11,
20375
20383
  props: props$K,
20376
20384
  setup(props2, {
20377
20385
  slots,
@@ -20380,7 +20388,7 @@
20380
20388
  const it = useFormItem(expose);
20381
20389
  const {
20382
20390
  isStyleless,
20383
- isNest,
20391
+ isNested,
20384
20392
  classes,
20385
20393
  labelStyle,
20386
20394
  contentStyle,
@@ -20391,39 +20399,35 @@
20391
20399
  showError,
20392
20400
  validateMessage
20393
20401
  } = it;
20394
- const {
20395
- label,
20396
- labelFor
20397
- } = props2;
20398
20402
  const errorColorClass = "vc-form-item__error";
20399
20403
  return () => {
20400
20404
  if (isStyleless.value) return [slots.default?.(), slots.error?.({
20401
20405
  show: showError.value,
20402
- nest: isNest.value,
20406
+ nested: isNested.value,
20403
20407
  message: validateMessage.value,
20404
20408
  class: [errorColorClass, ...errorClass.value],
20405
20409
  style: errorStyle.value
20406
20410
  })];
20407
20411
  return vue.createVNode("div", {
20408
20412
  "class": ["vc-form-item", classes.value]
20409
- }, [(label || slots.label) && vue.createVNode("div", {
20413
+ }, [(props2.label || slots.label) && vue.createVNode("div", {
20410
20414
  "style": labelStyle.value,
20411
20415
  "class": ["vc-form-item__label", ...labelClass.value],
20412
- "for": labelFor
20413
- }, [vue.createVNode("label", null, [label || slots.label?.()])]), vue.createVNode("div", {
20416
+ "for": props2.labelFor
20417
+ }, [vue.createVNode("label", null, [props2.label || slots.label?.()])]), vue.createVNode("div", {
20414
20418
  "class": "vc-form-item__wrapper"
20415
20419
  }, [vue.createVNode("div", {
20416
20420
  "class": ["vc-form-item__content", ...contentClass.value],
20417
20421
  "style": contentStyle.value
20418
20422
  }, [slots.default?.(), slots.error ? slots.error({
20419
20423
  show: showError.value,
20420
- nest: isNest.value,
20424
+ nest: isNested.value,
20421
20425
  message: validateMessage.value,
20422
20426
  class: [errorColorClass, ...errorClass.value],
20423
20427
  style: errorStyle.value
20424
20428
  }) : vue.createVNode(TransitionFade, null, {
20425
20429
  default: () => [vue.withDirectives(vue.createVNode("div", {
20426
- "class": ["vc-form-item__tip", isNest.value ? "is-nest" : "", errorColorClass, ...errorClass.value],
20430
+ "class": ["vc-form-item__tip", isNested.value ? "is-nested" : "", errorColorClass, ...errorClass.value],
20427
20431
  "style": [errorStyle.value]
20428
20432
  }, [validateMessage.value]), [[vue.vShow, showError.value]])]
20429
20433
  })])])]);
@@ -20441,9 +20445,9 @@
20441
20445
  default: false
20442
20446
  }
20443
20447
  };
20444
- const COMPONENT_NAME$$ = "vcm-form";
20448
+ const COMPONENT_NAME$10 = "vcm-form";
20445
20449
  const MForm = vue.defineComponent({
20446
- name: COMPONENT_NAME$$,
20450
+ name: COMPONENT_NAME$10,
20447
20451
  props: props$J,
20448
20452
  setup(props2, { slots, expose }) {
20449
20453
  useForm(expose, {
@@ -20470,9 +20474,9 @@
20470
20474
  default: 12
20471
20475
  }
20472
20476
  };
20473
- const COMPONENT_NAME$_ = "vcm-form-item";
20477
+ const COMPONENT_NAME$$ = "vcm-form-item";
20474
20478
  const MFormItem = /* @__PURE__ */ vue.defineComponent({
20475
- name: COMPONENT_NAME$_,
20479
+ name: COMPONENT_NAME$$,
20476
20480
  props: props$I,
20477
20481
  setup(props2, {
20478
20482
  slots,
@@ -20488,41 +20492,36 @@
20488
20492
  labelClass,
20489
20493
  contentClass,
20490
20494
  errorClass,
20491
- isNest,
20495
+ isNested,
20492
20496
  showError,
20493
20497
  validateMessage
20494
20498
  } = it;
20495
- const {
20496
- label,
20497
- labelFor,
20498
- showMessage
20499
- } = props2;
20500
20499
  const errorColorClass = "vcm-form-item__error";
20501
20500
  return () => {
20502
20501
  if (isStyleless.value) return [slots.default?.(), slots.error?.({
20503
20502
  show: showError.value,
20504
- nest: isNest.value,
20503
+ nested: isNested.value,
20505
20504
  message: validateMessage.value,
20506
20505
  class: [errorColorClass, ...errorClass.value],
20507
20506
  style: errorStyle.value
20508
20507
  })];
20509
20508
  return vue.createVNode("div", {
20510
20509
  "style": {
20511
- paddingLeft: `${isNest.value ? 0 : props2.indent}px`
20510
+ paddingLeft: `${isNested.value ? 0 : props2.indent}px`
20512
20511
  },
20513
20512
  "class": [classes.value, "vcm-form-item"]
20514
20513
  }, [vue.createVNode("div", {
20515
20514
  "class": "vcm-form-item__wrapper"
20516
20515
  }, [(props2.label || slots.label) && vue.createVNode("label", {
20517
- "for": labelFor,
20516
+ "for": props2.labelFor,
20518
20517
  "style": labelStyle.value,
20519
20518
  "class": ["vcm-form-item__label", ...labelClass.value]
20520
- }, [label || slots.label?.()]), vue.createVNode("div", {
20519
+ }, [props2.label || slots.label?.()]), vue.createVNode("div", {
20521
20520
  "style": contentStyle.value,
20522
20521
  "class": ["vcm-form-item__content", ...contentClass.value]
20523
- }, [slots.default?.(), showMessage && showError.value && vue.createVNode("div", {
20522
+ }, [slots.default?.(), props2.showMessage && showError.value && vue.createVNode("div", {
20524
20523
  "class": [{
20525
- "is-nest": isNest.value
20524
+ "is-nested": isNested.value
20526
20525
  }, errorColorClass, ...errorClass.value],
20527
20526
  "style": errorStyle.value
20528
20527
  }, [slots.error ? slots.error({
@@ -20531,9 +20530,9 @@
20531
20530
  };
20532
20531
  }
20533
20532
  });
20534
- const COMPONENT_NAME$Z = "vc-fragment";
20533
+ const COMPONENT_NAME$_ = "vc-fragment";
20535
20534
  const Fragment = vue.defineComponent({
20536
- name: COMPONENT_NAME$Z,
20535
+ name: COMPONENT_NAME$_,
20537
20536
  setup(_, { slots }) {
20538
20537
  return () => vue.h(vue.Fragment, slots.default?.());
20539
20538
  }
@@ -20545,9 +20544,9 @@
20545
20544
  default: "div"
20546
20545
  }
20547
20546
  };
20548
- const COMPONENT_NAME$Y = "vc-html-to-image";
20547
+ const COMPONENT_NAME$Z = "vc-html-to-image";
20549
20548
  const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
20550
- name: COMPONENT_NAME$Y,
20549
+ name: COMPONENT_NAME$Z,
20551
20550
  props: props$H,
20552
20551
  setup(props2, {
20553
20552
  slots
@@ -20620,7 +20619,7 @@
20620
20619
  }
20621
20620
  }
20622
20621
  const IMGStore$1 = new IMGStore();
20623
- const COMPONENT_NAME$X = "vc-image";
20622
+ const COMPONENT_NAME$Y = "vc-image";
20624
20623
  let isSupportObjectFit = false;
20625
20624
  window.addEventListener("DOMContentLoaded", () => {
20626
20625
  isSupportObjectFit = !IS_SERVER$3 && document.documentElement.style.objectFit !== void 0;
@@ -20633,7 +20632,7 @@
20633
20632
  SCALE_DOWN: "scale-down"
20634
20633
  };
20635
20634
  const Image$1$1 = /* @__PURE__ */ vue.defineComponent({
20636
- name: COMPONENT_NAME$X,
20635
+ name: COMPONENT_NAME$Y,
20637
20636
  inheritAttrs: false,
20638
20637
  props: props$G,
20639
20638
  setup(props2, {
@@ -20841,9 +20840,9 @@
20841
20840
  default: "div"
20842
20841
  }
20843
20842
  };
20844
- const COMPONENT_NAME$W = "vc-image-crop";
20843
+ const COMPONENT_NAME$X = "vc-image-crop";
20845
20844
  const ImageCrop = /* @__PURE__ */ vue.defineComponent({
20846
- name: COMPONENT_NAME$W,
20845
+ name: COMPONENT_NAME$X,
20847
20846
  props: props$F,
20848
20847
  setup(props2, {
20849
20848
  slots
@@ -20863,9 +20862,9 @@
20863
20862
  default: "div"
20864
20863
  }
20865
20864
  };
20866
- const COMPONENT_NAME$V = "vc-image-processing";
20865
+ const COMPONENT_NAME$W = "vc-image-processing";
20867
20866
  const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
20868
- name: COMPONENT_NAME$V,
20867
+ name: COMPONENT_NAME$W,
20869
20868
  props: props$E,
20870
20869
  setup(props2, {
20871
20870
  slots
@@ -20878,9 +20877,9 @@
20878
20877
  }
20879
20878
  });
20880
20879
  const MImageProcessing = ImageProcessing;
20881
- const COMPONENT_NAME$U = "vcm-input";
20880
+ const COMPONENT_NAME$V = "vcm-input";
20882
20881
  const MInput = /* @__PURE__ */ vue.defineComponent({
20883
- name: COMPONENT_NAME$U,
20882
+ name: COMPONENT_NAME$V,
20884
20883
  inheritAttrs: false,
20885
20884
  props: {
20886
20885
  ...props$1g,
@@ -20967,9 +20966,9 @@
20967
20966
  };
20968
20967
  }
20969
20968
  });
20970
- const COMPONENT_NAME$T = "vcm-input-number";
20969
+ const COMPONENT_NAME$U = "vcm-input-number";
20971
20970
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
20972
- name: COMPONENT_NAME$T,
20971
+ name: COMPONENT_NAME$U,
20973
20972
  props: props$1f,
20974
20973
  inheritAttrs: false,
20975
20974
  setup(props2, {
@@ -21015,9 +21014,9 @@
21015
21014
  };
21016
21015
  }
21017
21016
  });
21018
- const COMPONENT_NAME$S = "vcm-input-search";
21017
+ const COMPONENT_NAME$T = "vcm-input-search";
21019
21018
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
21020
- name: COMPONENT_NAME$S,
21019
+ name: COMPONENT_NAME$T,
21021
21020
  props: {
21022
21021
  ...props$1e,
21023
21022
  cancelText: {
@@ -21091,9 +21090,9 @@
21091
21090
  default: true
21092
21091
  }
21093
21092
  };
21094
- const COMPONENT_NAME$R = "vcm-list";
21093
+ const COMPONENT_NAME$S = "vcm-list";
21095
21094
  const MList = vue.defineComponent({
21096
- name: COMPONENT_NAME$R,
21095
+ name: COMPONENT_NAME$S,
21097
21096
  props: props$D,
21098
21097
  setup(props2, { slots }) {
21099
21098
  vue.provide("vc-list", { props: props2 });
@@ -21144,10 +21143,10 @@
21144
21143
  // MListItem是否独立存在
21145
21144
  alone: Boolean
21146
21145
  };
21147
- const COMPONENT_NAME$Q = "vcm-list-item";
21146
+ const COMPONENT_NAME$R = "vcm-list-item";
21148
21147
  const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
21149
21148
  const MListItem = /* @__PURE__ */ vue.defineComponent({
21150
- name: COMPONENT_NAME$Q,
21149
+ name: COMPONENT_NAME$R,
21151
21150
  props: props$C,
21152
21151
  emits: ["click"],
21153
21152
  setup(props2, {
@@ -21231,11 +21230,11 @@
21231
21230
  default: false
21232
21231
  }
21233
21232
  };
21234
- const COMPONENT_NAME$P = "vc-marquee";
21233
+ const COMPONENT_NAME$Q = "vc-marquee";
21235
21234
  const ANIMATION = prefixStyle("animation").camel;
21236
21235
  const TRANSFORM_KEBAB = prefixStyle("transform").kebab;
21237
21236
  const Marquee = /* @__PURE__ */ vue.defineComponent({
21238
- name: COMPONENT_NAME$P,
21237
+ name: COMPONENT_NAME$Q,
21239
21238
  props: props$B,
21240
21239
  setup(props2, {
21241
21240
  slots
@@ -21296,9 +21295,9 @@
21296
21295
  default: true
21297
21296
  }
21298
21297
  };
21299
- const COMPONENT_NAME$O = "vc-resizer";
21298
+ const COMPONENT_NAME$P = "vc-resizer";
21300
21299
  const Resizer = vue.defineComponent({
21301
- name: COMPONENT_NAME$O,
21300
+ name: COMPONENT_NAME$P,
21302
21301
  props: props$A,
21303
21302
  emits: ["resize"],
21304
21303
  setup(props2, { emit, slots, expose }) {
@@ -21457,10 +21456,10 @@
21457
21456
  type: Function
21458
21457
  }
21459
21458
  };
21460
- const COMPONENT_NAME$N = "vc-modal";
21459
+ const COMPONENT_NAME$O = "vc-modal";
21461
21460
  let zIndexNumber = 1002;
21462
21461
  const ModalView = /* @__PURE__ */ vue.defineComponent({
21463
- name: COMPONENT_NAME$N,
21462
+ name: COMPONENT_NAME$O,
21464
21463
  emits: ["update:modelValue", "close", "portal-fulfilled", "visible-change", "ok", "cancel"],
21465
21464
  props: props$z,
21466
21465
  setup(props2, {
@@ -21850,9 +21849,9 @@
21850
21849
  type: Function
21851
21850
  }
21852
21851
  };
21853
- const COMPONENT_NAME$M = "vc-modal";
21852
+ const COMPONENT_NAME$N = "vc-modal";
21854
21853
  const MModalView = /* @__PURE__ */ vue.defineComponent({
21855
- name: COMPONENT_NAME$M,
21854
+ name: COMPONENT_NAME$N,
21856
21855
  emits: ["update:modelValue", "portal-fulfilled", "close", "ok", "cancel"],
21857
21856
  props: props$y,
21858
21857
  setup(props2, {
@@ -22047,9 +22046,9 @@
22047
22046
  // 这个相当于Modal中的onCancel,支持Promise
22048
22047
  onBeforeClose: Function
22049
22048
  };
22050
- const COMPONENT_NAME$L = "vc-notice";
22049
+ const COMPONENT_NAME$M = "vc-notice";
22051
22050
  const NoticeView = /* @__PURE__ */ vue.defineComponent({
22052
- name: COMPONENT_NAME$L,
22051
+ name: COMPONENT_NAME$M,
22053
22052
  props: props$x,
22054
22053
  emits: ["portal-fulfilled", "close", "before-close"],
22055
22054
  setup(props2, {
@@ -22215,9 +22214,9 @@
22215
22214
  default: "div"
22216
22215
  }
22217
22216
  };
22218
- const COMPONENT_NAME$K = "vc-option";
22217
+ const COMPONENT_NAME$L = "vc-option";
22219
22218
  const Option$1 = /* @__PURE__ */ vue.defineComponent({
22220
- name: COMPONENT_NAME$K,
22219
+ name: COMPONENT_NAME$L,
22221
22220
  props: props$w,
22222
22221
  setup(props2, {
22223
22222
  slots
@@ -22295,9 +22294,9 @@
22295
22294
  type: [String, Number]
22296
22295
  }
22297
22296
  };
22298
- const COMPONENT_NAME$J = "vc-tag";
22297
+ const COMPONENT_NAME$K = "vc-tag";
22299
22298
  const Tag = /* @__PURE__ */ vue.defineComponent({
22300
- name: COMPONENT_NAME$J,
22299
+ name: COMPONENT_NAME$K,
22301
22300
  props: props$u,
22302
22301
  emits: ["close", "change"],
22303
22302
  setup(props2, {
@@ -22364,9 +22363,9 @@
22364
22363
  render: [Function],
22365
22364
  row: Object
22366
22365
  };
22367
- const COMPONENT_NAME$I = "vc-select-option";
22366
+ const COMPONENT_NAME$J = "vc-select-option";
22368
22367
  const Option = /* @__PURE__ */ vue.defineComponent({
22369
- name: COMPONENT_NAME$I,
22368
+ name: COMPONENT_NAME$J,
22370
22369
  props: props$t,
22371
22370
  setup(props2, {
22372
22371
  slots
@@ -22446,9 +22445,9 @@
22446
22445
  row: Object,
22447
22446
  render: [Function]
22448
22447
  };
22449
- const COMPONENT_NAME$H = "vc-select-option-group";
22448
+ const COMPONENT_NAME$I = "vc-select-option-group";
22450
22449
  const OptionGroup = /* @__PURE__ */ vue.defineComponent({
22451
- name: COMPONENT_NAME$H,
22450
+ name: COMPONENT_NAME$I,
22452
22451
  props: props$s,
22453
22452
  setup(props2, {
22454
22453
  slots
@@ -22475,9 +22474,9 @@
22475
22474
  };
22476
22475
  }
22477
22476
  });
22478
- const COMPONENT_NAME$G = "vc-select";
22477
+ const COMPONENT_NAME$H = "vc-select";
22479
22478
  const Select = /* @__PURE__ */ vue.defineComponent({
22480
- name: COMPONENT_NAME$G,
22479
+ name: COMPONENT_NAME$H,
22481
22480
  props: props$19,
22482
22481
  emits: ["ready", "close", "visible-change", "clear", "change", "update:modelValue"],
22483
22482
  setup(props2, {
@@ -22738,9 +22737,9 @@
22738
22737
  };
22739
22738
  }
22740
22739
  });
22741
- const COMPONENT_NAME$F = "vc-pagination";
22740
+ const COMPONENT_NAME$G = "vc-pagination";
22742
22741
  const Pagination = /* @__PURE__ */ vue.defineComponent({
22743
- name: COMPONENT_NAME$F,
22742
+ name: COMPONENT_NAME$G,
22744
22743
  props: props$v,
22745
22744
  emits: ["update:current", "change", "page-size-change"],
22746
22745
  setup(props2, {
@@ -22931,9 +22930,9 @@
22931
22930
  default: "div"
22932
22931
  }
22933
22932
  };
22934
- const COMPONENT_NAME$E = "vc-picker";
22933
+ const COMPONENT_NAME$F = "vc-picker";
22935
22934
  const Picker$1 = /* @__PURE__ */ vue.defineComponent({
22936
- name: COMPONENT_NAME$E,
22935
+ name: COMPONENT_NAME$F,
22937
22936
  props: props$r,
22938
22937
  setup(props2, {
22939
22938
  slots
@@ -22991,9 +22990,9 @@
22991
22990
  width: [String, Number],
22992
22991
  portalClass: [String, Object]
22993
22992
  };
22994
- const COMPONENT_NAME$D = "vc-popconfirm";
22993
+ const COMPONENT_NAME$E = "vc-popconfirm";
22995
22994
  const Popconfirm = /* @__PURE__ */ vue.defineComponent({
22996
- name: COMPONENT_NAME$D,
22995
+ name: COMPONENT_NAME$E,
22997
22996
  props: props$q,
22998
22997
  inheritAttrs: false,
22999
22998
  emits: ["update:modelValue", "visible-change", "ready", "close", "cancel", "ok"],
@@ -23153,9 +23152,9 @@
23153
23152
  })
23154
23153
  }
23155
23154
  };
23156
- const COMPONENT_NAME$C = "vc-popup";
23155
+ const COMPONENT_NAME$D = "vc-popup";
23157
23156
  const MPopup = /* @__PURE__ */ vue.defineComponent({
23158
- name: COMPONENT_NAME$C,
23157
+ name: COMPONENT_NAME$D,
23159
23158
  props: props$p,
23160
23159
  emits: ["update:modelValue", "close", "portal-fulfilled", "visible-change"],
23161
23160
  setup(props2, {
@@ -23264,9 +23263,9 @@
23264
23263
  default: "div"
23265
23264
  }
23266
23265
  };
23267
- const COMPONENT_NAME$B = "vc-print";
23266
+ const COMPONENT_NAME$C = "vc-print";
23268
23267
  const Print = /* @__PURE__ */ vue.defineComponent({
23269
- name: COMPONENT_NAME$B,
23268
+ name: COMPONENT_NAME$C,
23270
23269
  props: props$o,
23271
23270
  setup(props2, {
23272
23271
  expose,
@@ -23356,9 +23355,9 @@
23356
23355
  })
23357
23356
  }
23358
23357
  };
23359
- const COMPONENT_NAME$A = "vc-progress-circle";
23358
+ const COMPONENT_NAME$B = "vc-progress-circle";
23360
23359
  const Circle$1 = /* @__PURE__ */ vue.defineComponent({
23361
- name: COMPONENT_NAME$A,
23360
+ name: COMPONENT_NAME$B,
23362
23361
  props: props$n,
23363
23362
  setup(props2, {
23364
23363
  slots
@@ -23415,9 +23414,9 @@
23415
23414
  };
23416
23415
  }
23417
23416
  });
23418
- const COMPONENT_NAME$z = "vc-progress-line";
23417
+ const COMPONENT_NAME$A = "vc-progress-line";
23419
23418
  const Line$2 = /* @__PURE__ */ vue.defineComponent({
23420
- name: COMPONENT_NAME$z,
23419
+ name: COMPONENT_NAME$A,
23421
23420
  props: props$n,
23422
23421
  setup(props2) {
23423
23422
  const colorStyle = vue.computed(() => {
@@ -23461,9 +23460,9 @@
23461
23460
  function _isSlot(s) {
23462
23461
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
23463
23462
  }
23464
- const COMPONENT_NAME$y = "vc-progress";
23463
+ const COMPONENT_NAME$z = "vc-progress";
23465
23464
  const Progress = /* @__PURE__ */ vue.defineComponent({
23466
- name: COMPONENT_NAME$y,
23465
+ name: COMPONENT_NAME$z,
23467
23466
  props: props$n,
23468
23467
  setup(props2, {
23469
23468
  slots
@@ -23564,6 +23563,9 @@
23564
23563
  "is-error": !!formItem?.message?.value
23565
23564
  };
23566
23565
  });
23566
+ const styles = vue.computed(() => {
23567
+ return {};
23568
+ });
23567
23569
  vue.watch(
23568
23570
  () => props2.modelValue,
23569
23571
  (v) => {
@@ -23604,6 +23606,7 @@
23604
23606
  isDisabled,
23605
23607
  radioName,
23606
23608
  classes,
23609
+ styles,
23607
23610
  hasGroup,
23608
23611
  checked,
23609
23612
  handleChange,
@@ -23615,15 +23618,16 @@
23615
23618
  computedLabel
23616
23619
  };
23617
23620
  };
23618
- const COMPONENT_NAME$x = "vc-radio";
23621
+ const COMPONENT_NAME$y = "vc-radio";
23619
23622
  const Radio = /* @__PURE__ */ vue.defineComponent({
23620
- name: COMPONENT_NAME$x,
23623
+ name: COMPONENT_NAME$y,
23621
23624
  props: props$m,
23622
23625
  emits: ["update:modelValue", "change"],
23623
23626
  setup(props2, {
23624
23627
  slots
23625
23628
  }) {
23626
23629
  const {
23630
+ styles,
23627
23631
  radioName,
23628
23632
  checked,
23629
23633
  classes,
@@ -23634,7 +23638,8 @@
23634
23638
  } = useRadio();
23635
23639
  return () => {
23636
23640
  return vue.createVNode("label", {
23637
- "class": [classes.value, "vc-radio"]
23641
+ "class": [classes.value, "vc-radio"],
23642
+ "style": styles.value
23638
23643
  }, [vue.createVNode("span", {
23639
23644
  "class": [{
23640
23645
  "has-sibling": !!(computedLabel.value || slots.default)
@@ -23655,6 +23660,40 @@
23655
23660
  };
23656
23661
  }
23657
23662
  });
23663
+ const COMPONENT_NAME$x = "vc-radio-button";
23664
+ const RadioButton = /* @__PURE__ */ vue.defineComponent({
23665
+ name: COMPONENT_NAME$x,
23666
+ props: props$m,
23667
+ emits: ["update:modelValue", "change"],
23668
+ setup(props2, {
23669
+ slots
23670
+ }) {
23671
+ const {
23672
+ styles,
23673
+ radioName,
23674
+ checked,
23675
+ classes,
23676
+ computedLabel,
23677
+ handleChange,
23678
+ handleFocus,
23679
+ handleBlur
23680
+ } = useRadio();
23681
+ return () => {
23682
+ return vue.createVNode("label", {
23683
+ "class": [classes.value, "vc-radio-button"],
23684
+ "style": styles.value
23685
+ }, [vue.createVNode("input", {
23686
+ "checked": checked.value,
23687
+ "name": radioName.value,
23688
+ "disabled": props2.disabled,
23689
+ "type": "radio",
23690
+ "onChange": handleChange,
23691
+ "onFocus": handleFocus,
23692
+ "onBlur": handleBlur
23693
+ }, null), slots.default ? slots.default() : computedLabel.value && vue.createVNode("span", null, [computedLabel.value])]);
23694
+ };
23695
+ }
23696
+ });
23658
23697
  const props$l = {
23659
23698
  modelValue: {
23660
23699
  type: [String, Number],
@@ -23752,6 +23791,7 @@
23752
23791
  slots
23753
23792
  }) {
23754
23793
  const {
23794
+ styles,
23755
23795
  radioName,
23756
23796
  checked,
23757
23797
  classes,
@@ -23762,7 +23802,8 @@
23762
23802
  } = useRadio();
23763
23803
  return () => {
23764
23804
  return vue.createVNode("label", {
23765
- "class": [classes.value, "vcm-radio"]
23805
+ "class": [classes.value, "vcm-radio"],
23806
+ "style": styles.value
23766
23807
  }, [vue.createVNode("span", {
23767
23808
  "class": [{
23768
23809
  "has-sibling": !!(computedLabel.value || slots.default)
@@ -23804,6 +23845,7 @@
23804
23845
  };
23805
23846
  }
23806
23847
  });
23848
+ const MRadioButton = MRadio;
23807
23849
  const props$k = {
23808
23850
  modelValue: {
23809
23851
  type: [Number, String],
@@ -31777,8 +31819,8 @@
31777
31819
  MDropdownMenu,
31778
31820
  Editor: Editor$1,
31779
31821
  MEditor,
31780
- // EditorView,
31781
- // MEditorView,
31822
+ EditorView,
31823
+ MEditorView,
31782
31824
  Expand: Expand$1,
31783
31825
  MExpand,
31784
31826
  Form,
@@ -31838,7 +31880,9 @@
31838
31880
  Progress,
31839
31881
  MProgress,
31840
31882
  Radio,
31883
+ RadioButton,
31841
31884
  MRadio,
31885
+ MRadioButton,
31842
31886
  RadioGroup,
31843
31887
  MRadioGroup,
31844
31888
  Rate,
@@ -31903,8 +31947,8 @@
31903
31947
  MTransitionCollapse,
31904
31948
  Tree: Tree2,
31905
31949
  MTree,
31906
- // TreeSelect,
31907
- // MTreeSelect,
31950
+ TreeSelect,
31951
+ MTreeSelect,
31908
31952
  Upload,
31909
31953
  MUpload,
31910
31954
  UploadPicker,
@@ -132227,6 +132271,7 @@
132227
132271
  exports.MDropdownItem = MDropdownItem;
132228
132272
  exports.MDropdownMenu = MDropdownMenu;
132229
132273
  exports.MEditor = MEditor;
132274
+ exports.MEditorView = MEditorView;
132230
132275
  exports.MExpand = MExpand;
132231
132276
  exports.MForm = MForm;
132232
132277
  exports.MFormItem = MFormItem;
@@ -132257,6 +132302,7 @@
132257
132302
  exports.MPrint = MPrint;
132258
132303
  exports.MProgress = MProgress;
132259
132304
  exports.MRadio = MRadio;
132305
+ exports.MRadioButton = MRadioButton;
132260
132306
  exports.MRadioGroup = MRadioGroup;
132261
132307
  exports.MRate = MRate;
132262
132308
  exports.MRecycleList = MRecycleList;
@@ -132308,6 +132354,7 @@
132308
132354
  exports.Print = Print;
132309
132355
  exports.Progress = Progress;
132310
132356
  exports.Radio = Radio;
132357
+ exports.RadioButton = RadioButton;
132311
132358
  exports.RadioGroup = RadioGroup;
132312
132359
  exports.Rate = Rate;
132313
132360
  exports.RecycleList = RecycleList;