@deot/vc-components 1.0.49 → 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.
package/dist/index.cjs CHANGED
@@ -110,9 +110,9 @@ const props$1t = {
110
110
 
111
111
  /** @jsxImportSource vue */
112
112
 
113
- const COMPONENT_NAME$28 = 'vc-action-sheet';
113
+ const COMPONENT_NAME$29 = 'vc-action-sheet';
114
114
  const ActionSheet = /* @__PURE__ */ vue.defineComponent({
115
- name: COMPONENT_NAME$28,
115
+ name: COMPONENT_NAME$29,
116
116
  props: props$1t,
117
117
  setup(props, {
118
118
  slots
@@ -189,9 +189,9 @@ const isWheel = (el) => {
189
189
 
190
190
  /** @jsxImportSource vue */
191
191
 
192
- const COMPONENT_NAME$27 = 'vc-affix';
192
+ const COMPONENT_NAME$28 = 'vc-affix';
193
193
  const Affix = /* @__PURE__ */ vue.defineComponent({
194
- name: COMPONENT_NAME$27,
194
+ name: COMPONENT_NAME$28,
195
195
  emits: ['update:modelValue'],
196
196
  props: props$1s,
197
197
  setup(props, {
@@ -531,9 +531,9 @@ const IconManager = new Manager();
531
531
 
532
532
  /** @jsxImportSource vue */
533
533
 
534
- const COMPONENT_NAME$26 = 'vc-icon';
534
+ const COMPONENT_NAME$27 = 'vc-icon';
535
535
  const Icon = /* @__PURE__ */ vue.defineComponent({
536
- name: COMPONENT_NAME$26,
536
+ name: COMPONENT_NAME$27,
537
537
  props: props$1q,
538
538
  setup(props) {
539
539
  const viewBox = vue.ref('0 0 1024 1024');
@@ -732,9 +732,9 @@ const useTransition = () => {
732
732
  };
733
733
  };
734
734
 
735
- const COMPONENT_NAME$25 = "vc-transition";
735
+ const COMPONENT_NAME$26 = "vc-transition";
736
736
  const Transition = vue.defineComponent({
737
- name: COMPONENT_NAME$25,
737
+ name: COMPONENT_NAME$26,
738
738
  props: props$1p,
739
739
  // 当不声明emits的情况下,事件存在于attrs中
740
740
  inheritAttrs: false,
@@ -755,9 +755,9 @@ const Transition = vue.defineComponent({
755
755
  }
756
756
  });
757
757
 
758
- const COMPONENT_NAME$24 = "vc-transition-collapse";
758
+ const COMPONENT_NAME$25 = "vc-transition-collapse";
759
759
  const TransitionCollapse = vue.defineComponent({
760
- name: COMPONENT_NAME$24,
760
+ name: COMPONENT_NAME$25,
761
761
  props: props$1p,
762
762
  // 当不声明emits的情况下,事件存在于attrs中
763
763
  inheritAttrs: false,
@@ -876,9 +876,9 @@ const TransitionCollapse = vue.defineComponent({
876
876
  }
877
877
  });
878
878
 
879
- const COMPONENT_NAME$23 = "vc-transition-fade";
879
+ const COMPONENT_NAME$24 = "vc-transition-fade";
880
880
  const TransitionFade = vue.defineComponent({
881
- name: COMPONENT_NAME$23,
881
+ name: COMPONENT_NAME$24,
882
882
  props: {
883
883
  ...props$1p,
884
884
  // inheritAttrs必须是false
@@ -913,9 +913,9 @@ const TransitionFade = vue.defineComponent({
913
913
  }
914
914
  });
915
915
 
916
- const COMPONENT_NAME$22 = "vc-transition-scale";
916
+ const COMPONENT_NAME$23 = "vc-transition-scale";
917
917
  const TransitionScale = vue.defineComponent({
918
- name: COMPONENT_NAME$22,
918
+ name: COMPONENT_NAME$23,
919
919
  props: {
920
920
  ...props$1p,
921
921
  mode: {
@@ -955,9 +955,9 @@ const TransitionScale = vue.defineComponent({
955
955
  }
956
956
  });
957
957
 
958
- const COMPONENT_NAME$21 = "vc-transition-slide";
958
+ const COMPONENT_NAME$22 = "vc-transition-slide";
959
959
  const TransitionSlide = vue.defineComponent({
960
- name: COMPONENT_NAME$21,
960
+ name: COMPONENT_NAME$22,
961
961
  props: {
962
962
  ...props$1p,
963
963
  mode: {
@@ -997,9 +997,9 @@ const TransitionSlide = vue.defineComponent({
997
997
  }
998
998
  });
999
999
 
1000
- const COMPONENT_NAME$20 = "vc-transition-zoom";
1000
+ const COMPONENT_NAME$21 = "vc-transition-zoom";
1001
1001
  const TransitionZoom = vue.defineComponent({
1002
- name: COMPONENT_NAME$20,
1002
+ name: COMPONENT_NAME$21,
1003
1003
  props: {
1004
1004
  ...props$1p,
1005
1005
  mode: {
@@ -1041,7 +1041,7 @@ const TransitionZoom = vue.defineComponent({
1041
1041
 
1042
1042
  /** @jsxImportSource vue */
1043
1043
 
1044
- const COMPONENT_NAME$1$ = 'vc-alert';
1044
+ const COMPONENT_NAME$20 = 'vc-alert';
1045
1045
 
1046
1046
  // [color, borderColor, backgroundColor], -> CSS
1047
1047
  const THEME_MAP = {
@@ -1051,7 +1051,7 @@ const THEME_MAP = {
1051
1051
  warning: ['#ffbf00', '#ffe58f', '#fffbe6']
1052
1052
  };
1053
1053
  const Alert = /* @__PURE__ */ vue.defineComponent({
1054
- name: COMPONENT_NAME$1$,
1054
+ name: COMPONENT_NAME$20,
1055
1055
  props: props$1r,
1056
1056
  setup(props, {
1057
1057
  slots,
@@ -1157,9 +1157,9 @@ const props$1o = {
1157
1157
  /** @jsxImportSource vue */
1158
1158
 
1159
1159
  const isTouch = typeof document !== 'undefined' && 'ontouchend' in document;
1160
- const COMPONENT_NAME$1_ = 'vc-artboard';
1160
+ const COMPONENT_NAME$1$ = 'vc-artboard';
1161
1161
  const Artboard = /* @__PURE__ */ vue.defineComponent({
1162
- name: COMPONENT_NAME$1_,
1162
+ name: COMPONENT_NAME$1$,
1163
1163
  props: props$1o,
1164
1164
  setup(props, {
1165
1165
  emit,
@@ -1387,9 +1387,9 @@ const props$1n = {
1387
1387
 
1388
1388
  /** @jsxImportSource vue */
1389
1389
 
1390
- const COMPONENT_NAME$1Z = 'vc-spin';
1390
+ const COMPONENT_NAME$1_ = 'vc-spin';
1391
1391
  const Spin = /* @__PURE__ */ vue.defineComponent({
1392
- name: COMPONENT_NAME$1Z,
1392
+ name: COMPONENT_NAME$1_,
1393
1393
  props: props$1n,
1394
1394
  setup(props, {
1395
1395
  slots
@@ -1440,9 +1440,9 @@ const props$1m = {
1440
1440
  exclude: RegExp
1441
1441
  };
1442
1442
 
1443
- const COMPONENT_NAME$1Y = "vc-debounce";
1443
+ const COMPONENT_NAME$1Z = "vc-debounce";
1444
1444
  const Debounce = vue.defineComponent({
1445
- name: COMPONENT_NAME$1Y,
1445
+ name: COMPONENT_NAME$1Z,
1446
1446
  props: props$1m,
1447
1447
  /**
1448
1448
  * 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
@@ -1516,9 +1516,9 @@ const props$1l = {
1516
1516
 
1517
1517
  /** @jsxImportSource vue */
1518
1518
 
1519
- const COMPONENT_NAME$1X = 'vc-button';
1519
+ const COMPONENT_NAME$1Y = 'vc-button';
1520
1520
  const Button = /* @__PURE__ */ vue.defineComponent({
1521
- name: COMPONENT_NAME$1X,
1521
+ name: COMPONENT_NAME$1Y,
1522
1522
  emits: ['click'],
1523
1523
  props: props$1l,
1524
1524
  setup(props, {
@@ -1602,9 +1602,9 @@ const props$1k = {
1602
1602
 
1603
1603
  /** @jsxImportSource vue */
1604
1604
 
1605
- const COMPONENT_NAME$1W = 'vc-button-group';
1605
+ const COMPONENT_NAME$1X = 'vc-button-group';
1606
1606
  const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
1607
- name: COMPONENT_NAME$1W,
1607
+ name: COMPONENT_NAME$1X,
1608
1608
  props: props$1k,
1609
1609
  setup(props, {
1610
1610
  slots
@@ -1638,9 +1638,9 @@ const props$1j = {
1638
1638
 
1639
1639
  /** @jsxImportSource vue */
1640
1640
 
1641
- const COMPONENT_NAME$1V = 'vc-calendar';
1641
+ const COMPONENT_NAME$1W = 'vc-calendar';
1642
1642
  const Calendar = /* @__PURE__ */ vue.defineComponent({
1643
- name: COMPONENT_NAME$1V,
1643
+ name: COMPONENT_NAME$1W,
1644
1644
  props: props$1j,
1645
1645
  setup(props, {
1646
1646
  slots
@@ -1678,9 +1678,9 @@ const props$1i = {
1678
1678
 
1679
1679
  /** @jsxImportSource vue */
1680
1680
 
1681
- const COMPONENT_NAME$1U = 'vc-card';
1681
+ const COMPONENT_NAME$1V = 'vc-card';
1682
1682
  const Card = /* @__PURE__ */ vue.defineComponent({
1683
- name: COMPONENT_NAME$1U,
1683
+ name: COMPONENT_NAME$1V,
1684
1684
  props: props$1i,
1685
1685
  setup(props, {
1686
1686
  slots
@@ -1716,9 +1716,9 @@ const props$1h = {
1716
1716
 
1717
1717
  /** @jsxImportSource vue */
1718
1718
 
1719
- const COMPONENT_NAME$1T = 'vc-carousel';
1719
+ const COMPONENT_NAME$1U = 'vc-carousel';
1720
1720
  const Carousel = /* @__PURE__ */ vue.defineComponent({
1721
- name: COMPONENT_NAME$1T,
1721
+ name: COMPONENT_NAME$1U,
1722
1722
  props: props$1h,
1723
1723
  setup(props, {
1724
1724
  slots
@@ -2012,9 +2012,9 @@ const useNativeEmitter = (input, expose) => {
2012
2012
 
2013
2013
  /** @jsxImportSource vue */
2014
2014
 
2015
- const COMPONENT_NAME$1S = 'vc-input';
2015
+ const COMPONENT_NAME$1T = 'vc-input';
2016
2016
  const Input = /* @__PURE__ */ vue.defineComponent({
2017
- name: COMPONENT_NAME$1S,
2017
+ name: COMPONENT_NAME$1T,
2018
2018
  inheritAttrs: false,
2019
2019
  props: {
2020
2020
  ...props$1g,
@@ -2349,9 +2349,9 @@ const useInputNumber = () => {
2349
2349
 
2350
2350
  /** @jsxImportSource vue */
2351
2351
 
2352
- const COMPONENT_NAME$1R = 'vc-input-number';
2352
+ const COMPONENT_NAME$1S = 'vc-input-number';
2353
2353
  const InputNumber = /* @__PURE__ */ vue.defineComponent({
2354
- name: COMPONENT_NAME$1R,
2354
+ name: COMPONENT_NAME$1S,
2355
2355
  props: props$1f,
2356
2356
  inheritAttrs: false,
2357
2357
  setup(props, {
@@ -2415,9 +2415,9 @@ const props$1e = {
2415
2415
 
2416
2416
  /** @jsxImportSource vue */
2417
2417
 
2418
- const COMPONENT_NAME$1Q = 'vc-input-search';
2418
+ const COMPONENT_NAME$1R = 'vc-input-search';
2419
2419
  const InputSearch = /* @__PURE__ */ vue.defineComponent({
2420
- name: COMPONENT_NAME$1Q,
2420
+ name: COMPONENT_NAME$1R,
2421
2421
  props: props$1e,
2422
2422
  inheritAttrs: false,
2423
2423
  setup(props, {
@@ -2810,9 +2810,9 @@ const props$1b = {
2810
2810
  }
2811
2811
  };
2812
2812
 
2813
- const COMPONENT_NAME$1P = "vc-customer";
2813
+ const COMPONENT_NAME$1Q = "vc-customer";
2814
2814
  const Customer = vue.defineComponent({
2815
- name: COMPONENT_NAME$1P,
2815
+ name: COMPONENT_NAME$1Q,
2816
2816
  props: props$1b,
2817
2817
  setup(props, context) {
2818
2818
  return () => vue.h(() => {
@@ -2888,7 +2888,7 @@ class PortalLeaf {
2888
2888
  }
2889
2889
  }
2890
2890
 
2891
- const COMPONENT_NAME$1O = "vc-portal";
2891
+ const COMPONENT_NAME$1P = "vc-portal";
2892
2892
  class Portal {
2893
2893
  /**
2894
2894
  * 清理Portals类型组件
@@ -2940,7 +2940,7 @@ class Portal {
2940
2940
  this.wrapper = wrapper;
2941
2941
  this.globalOptions = {
2942
2942
  ...options,
2943
- name: options?.name || wrapper.name || Utils__namespace.getUid(COMPONENT_NAME$1O)
2943
+ name: options?.name || wrapper.name || Utils__namespace.getUid(COMPONENT_NAME$1P)
2944
2944
  };
2945
2945
  }
2946
2946
  popup(propsData, options) {
@@ -3039,7 +3039,7 @@ class Portal {
3039
3039
  ...rest
3040
3040
  } = options;
3041
3041
  let useAllNodes = fragment;
3042
- const name = multiple ? `${name$}__${Utils__namespace.getUid(COMPONENT_NAME$1O)}` : name$;
3042
+ const name = multiple ? `${name$}__${Utils__namespace.getUid(COMPONENT_NAME$1P)}` : name$;
3043
3043
  const container = document.createElement(tag);
3044
3044
  const root = typeof el === "object" ? el : document.querySelector(el || "body");
3045
3045
  !alive && Portal.leafs.get(name)?.destroy();
@@ -3074,7 +3074,7 @@ class Portal {
3074
3074
  } else {
3075
3075
  const wrapper = this.wrapper;
3076
3076
  const app = vue.createApp({
3077
- name: COMPONENT_NAME$1O,
3077
+ name: COMPONENT_NAME$1P,
3078
3078
  parent,
3079
3079
  setup() {
3080
3080
  if (alive) {
@@ -3188,13 +3188,13 @@ const props$1a = {
3188
3188
  }
3189
3189
  };
3190
3190
 
3191
- const COMPONENT_NAME$1N = 'vc-portal-view';
3191
+ const COMPONENT_NAME$1O = 'vc-portal-view';
3192
3192
 
3193
3193
  /**
3194
3194
  * 写法不同,但与vue@2.x 保持一致
3195
3195
  */
3196
3196
  const PortalView = /* @__PURE__ */ vue.defineComponent({
3197
- name: COMPONENT_NAME$1N,
3197
+ name: COMPONENT_NAME$1O,
3198
3198
  props: props$1a,
3199
3199
  setup(props, {
3200
3200
  slots
@@ -3214,9 +3214,9 @@ const PortalView = /* @__PURE__ */ vue.defineComponent({
3214
3214
 
3215
3215
  /** @jsxImportSource vue */
3216
3216
 
3217
- const COMPONENT_NAME$1M = 'vc-popover-wrapper';
3217
+ const COMPONENT_NAME$1N = 'vc-popover-wrapper';
3218
3218
  const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
3219
- name: COMPONENT_NAME$1M,
3219
+ name: COMPONENT_NAME$1N,
3220
3220
  props: props$1d,
3221
3221
  emits: ['portal-fulfilled', 'close'],
3222
3222
  setup(props, {
@@ -3474,9 +3474,9 @@ const PopoverPortal = new Portal(PopoverWrapper, {
3474
3474
 
3475
3475
  /** @jsxImportSource vue */
3476
3476
 
3477
- const COMPONENT_NAME$1L = 'vc-popover';
3477
+ const COMPONENT_NAME$1M = 'vc-popover';
3478
3478
  const Popover$1 = /* @__PURE__ */ vue.defineComponent({
3479
- name: COMPONENT_NAME$1L,
3479
+ name: COMPONENT_NAME$1M,
3480
3480
  props: props$1c,
3481
3481
  emits: ['update:modelValue', 'visible-change', 'ready', 'close'],
3482
3482
  setup(props, {
@@ -3620,9 +3620,9 @@ const Popover = Object.assign(Popover$1, {
3620
3620
 
3621
3621
  /** @jsxImportSource vue */
3622
3622
 
3623
- const COMPONENT_NAME$1K = 'vc-cascader-column';
3623
+ const COMPONENT_NAME$1L = 'vc-cascader-column';
3624
3624
  const CascaderColumn = /* @__PURE__ */ vue.defineComponent({
3625
- name: COMPONENT_NAME$1K,
3625
+ name: COMPONENT_NAME$1L,
3626
3626
  emits: ['click', 'change'],
3627
3627
  props: {
3628
3628
  data: {
@@ -3830,9 +3830,9 @@ const props$18 = {
3830
3830
 
3831
3831
  /** @jsxImportSource vue */
3832
3832
 
3833
- const COMPONENT_NAME$1J = 'vc-cascader';
3833
+ const COMPONENT_NAME$1K = 'vc-cascader';
3834
3834
  const Cascader = /* @__PURE__ */ vue.defineComponent({
3835
- name: COMPONENT_NAME$1J,
3835
+ name: COMPONENT_NAME$1K,
3836
3836
  inheritAttrs: false,
3837
3837
  props: props$18,
3838
3838
  emits: ['update:modelValue', 'visible-change', 'ready', 'change', 'close'],
@@ -4185,9 +4185,9 @@ const props$17 = {
4185
4185
 
4186
4186
  /** @jsxImportSource vue */
4187
4187
 
4188
- const COMPONENT_NAME$1I = 'vc-chart';
4188
+ const COMPONENT_NAME$1J = 'vc-chart';
4189
4189
  const Chart = /* @__PURE__ */ vue.defineComponent({
4190
- name: COMPONENT_NAME$1I,
4190
+ name: COMPONENT_NAME$1J,
4191
4191
  props: props$17,
4192
4192
  emits: [...EVENTS, 'ready'],
4193
4193
  setup(props, {
@@ -4419,9 +4419,9 @@ const useCheckbox = () => {
4419
4419
 
4420
4420
  /** @jsxImportSource vue */
4421
4421
 
4422
- const COMPONENT_NAME$1H = 'vc-checkbox';
4422
+ const COMPONENT_NAME$1I = 'vc-checkbox';
4423
4423
  const Checkbox = /* @__PURE__ */ vue.defineComponent({
4424
- name: COMPONENT_NAME$1H,
4424
+ name: COMPONENT_NAME$1I,
4425
4425
  props: props$16,
4426
4426
  emits: ['update:modelValue', 'change'],
4427
4427
  setup(props, {
@@ -4508,9 +4508,9 @@ const useCheckboxGroup = () => {
4508
4508
 
4509
4509
  /** @jsxImportSource vue */
4510
4510
 
4511
- const COMPONENT_NAME$1G = 'vc-checkbox-group';
4511
+ const COMPONENT_NAME$1H = 'vc-checkbox-group';
4512
4512
  const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
4513
- name: COMPONENT_NAME$1G,
4513
+ name: COMPONENT_NAME$1H,
4514
4514
  props: props$15,
4515
4515
  emits: ['update:modelValue', 'change'],
4516
4516
  setup(props, {
@@ -4528,9 +4528,9 @@ const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
4528
4528
 
4529
4529
  /** @jsxImportSource vue */
4530
4530
 
4531
- const COMPONENT_NAME$1F = 'vcm-checkbox';
4531
+ const COMPONENT_NAME$1G = 'vcm-checkbox';
4532
4532
  const MCheckbox = /* @__PURE__ */ vue.defineComponent({
4533
- name: COMPONENT_NAME$1F,
4533
+ name: COMPONENT_NAME$1G,
4534
4534
  props: props$16,
4535
4535
  emits: ['update:modelValue', 'change'],
4536
4536
  setup(props, {
@@ -4570,9 +4570,9 @@ const MCheckbox = /* @__PURE__ */ vue.defineComponent({
4570
4570
 
4571
4571
  /** @jsxImportSource vue */
4572
4572
 
4573
- const COMPONENT_NAME$1E = 'vcm-checkbox-group';
4573
+ const COMPONENT_NAME$1F = 'vcm-checkbox-group';
4574
4574
  const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
4575
- name: COMPONENT_NAME$1E,
4575
+ name: COMPONENT_NAME$1F,
4576
4576
  props: props$15,
4577
4577
  emits: ['update:modelValue', 'change'],
4578
4578
  setup(props, {
@@ -4626,9 +4626,9 @@ const props$14 = {
4626
4626
 
4627
4627
  /** @jsxImportSource vue */
4628
4628
 
4629
- const COMPONENT_NAME$1D = 'vc-message';
4629
+ const COMPONENT_NAME$1E = 'vc-message';
4630
4630
  const MessageView = /* @__PURE__ */ vue.defineComponent({
4631
- name: COMPONENT_NAME$1D,
4631
+ name: COMPONENT_NAME$1E,
4632
4632
  emits: ['before-close', 'close', 'portal-fulfilled'],
4633
4633
  props: props$14,
4634
4634
  setup(props, {
@@ -4877,9 +4877,9 @@ const useClipboard = (done) => {
4877
4877
  return () => vue.h(props.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
4878
4878
  };
4879
4879
 
4880
- const COMPONENT_NAME$1C = "vc-clipboard";
4880
+ const COMPONENT_NAME$1D = "vc-clipboard";
4881
4881
  const Clipboard$1 = vue.defineComponent({
4882
- name: COMPONENT_NAME$1C,
4882
+ name: COMPONENT_NAME$1D,
4883
4883
  props: props$13,
4884
4884
  setup() {
4885
4885
  return useClipboard((content) => Message.success({ content }));
@@ -4919,9 +4919,9 @@ const MTransitionZoom = TransitionZoom;
4919
4919
 
4920
4920
  /** @jsxImportSource vue */
4921
4921
 
4922
- const COMPONENT_NAME$1B = 'vcm-toast';
4922
+ const COMPONENT_NAME$1C = 'vcm-toast';
4923
4923
  const MToastView = /* @__PURE__ */ vue.defineComponent({
4924
- name: COMPONENT_NAME$1B,
4924
+ name: COMPONENT_NAME$1C,
4925
4925
  emits: ['close', 'portal-fulfilled'],
4926
4926
  props: props$12,
4927
4927
  setup(props, {
@@ -5023,9 +5023,9 @@ const warning$2 = create$3({ mode: "warning" });
5023
5023
  const error$2 = create$3({ mode: "error" });
5024
5024
  const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
5025
5025
 
5026
- const COMPONENT_NAME$1A = "vcm-clipboard";
5026
+ const COMPONENT_NAME$1B = "vcm-clipboard";
5027
5027
  const MClipboard$1 = vue.defineComponent({
5028
- name: COMPONENT_NAME$1A,
5028
+ name: COMPONENT_NAME$1B,
5029
5029
  props: props$13,
5030
5030
  setup() {
5031
5031
  return useClipboard((content) => MToast.info({ content }));
@@ -5057,9 +5057,9 @@ const props$11 = {
5057
5057
  }
5058
5058
  };
5059
5059
 
5060
- const COMPONENT_NAME$1z = "vc-collapse";
5060
+ const COMPONENT_NAME$1A = "vc-collapse";
5061
5061
  const Collapse = vue.defineComponent({
5062
- name: COMPONENT_NAME$1z,
5062
+ name: COMPONENT_NAME$1A,
5063
5063
  props: props$11,
5064
5064
  emits: ["update:moodelValue", "change"],
5065
5065
  setup(props, { slots, emit }) {
@@ -5176,9 +5176,9 @@ const props$$ = {
5176
5176
  function _isSlot$2(s) {
5177
5177
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
5178
5178
  }
5179
- const COMPONENT_NAME$1y = 'vc-expand';
5179
+ const COMPONENT_NAME$1z = 'vc-expand';
5180
5180
  const Expand$1 = /* @__PURE__ */ vue.defineComponent({
5181
- name: COMPONENT_NAME$1y,
5181
+ name: COMPONENT_NAME$1z,
5182
5182
  props: props$$,
5183
5183
  setup(props, {
5184
5184
  slots
@@ -5208,9 +5208,9 @@ const Expand$1 = /* @__PURE__ */ vue.defineComponent({
5208
5208
 
5209
5209
  /** @jsxImportSource vue */
5210
5210
 
5211
- const COMPONENT_NAME$1x = 'vc-collapse-item';
5211
+ const COMPONENT_NAME$1y = 'vc-collapse-item';
5212
5212
  const CollapseItem = /* @__PURE__ */ vue.defineComponent({
5213
- name: COMPONENT_NAME$1x,
5213
+ name: COMPONENT_NAME$1y,
5214
5214
  props: props$10,
5215
5215
  setup(props, {
5216
5216
  slots,
@@ -5285,9 +5285,9 @@ const props$_ = {
5285
5285
 
5286
5286
  /** @jsxImportSource vue */
5287
5287
 
5288
- const COMPONENT_NAME$1w = 'vc-color-picker';
5288
+ const COMPONENT_NAME$1x = 'vc-color-picker';
5289
5289
  const ColorPicker = /* @__PURE__ */ vue.defineComponent({
5290
- name: COMPONENT_NAME$1w,
5290
+ name: COMPONENT_NAME$1x,
5291
5291
  props: props$_,
5292
5292
  setup(props, {
5293
5293
  slots
@@ -5350,9 +5350,9 @@ const formatter = (format, arr) => {
5350
5350
  function _isSlot$1(s) {
5351
5351
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
5352
5352
  }
5353
- const COMPONENT_NAME$1v = 'vc-countdown';
5353
+ const COMPONENT_NAME$1w = 'vc-countdown';
5354
5354
  const Countdown = /* @__PURE__ */ vue.defineComponent({
5355
- name: COMPONENT_NAME$1v,
5355
+ name: COMPONENT_NAME$1w,
5356
5356
  props: props$Z,
5357
5357
  emits: ['change', 'finish', 'error'],
5358
5358
  setup(props, {
@@ -6545,9 +6545,9 @@ const getTimeType = type => {
6545
6545
  }
6546
6546
  return view;
6547
6547
  };
6548
- const COMPONENT_NAME$1u = 'vc-date-confirm';
6548
+ const COMPONENT_NAME$1v = 'vc-date-confirm';
6549
6549
  const Confirm = /* @__PURE__ */ vue.defineComponent({
6550
- name: COMPONENT_NAME$1u,
6550
+ name: COMPONENT_NAME$1v,
6551
6551
  props: {
6552
6552
  showTime: {
6553
6553
  type: Boolean,
@@ -6611,9 +6611,9 @@ const Confirm = /* @__PURE__ */ vue.defineComponent({
6611
6611
 
6612
6612
  /** @jsxImportSource vue */
6613
6613
 
6614
- const COMPONENT_NAME$1t = 'vc-date-header';
6614
+ const COMPONENT_NAME$1u = 'vc-date-header';
6615
6615
  const DateHeader = /* @__PURE__ */ vue.defineComponent({
6616
- name: COMPONENT_NAME$1t,
6616
+ name: COMPONENT_NAME$1u,
6617
6617
  props: {
6618
6618
  panelDate: Date,
6619
6619
  showNext: {
@@ -6697,9 +6697,9 @@ const DateHeader = /* @__PURE__ */ vue.defineComponent({
6697
6697
 
6698
6698
  /** @jsxImportSource vue */
6699
6699
 
6700
- const COMPONENT_NAME$1s = 'vc-date-table';
6700
+ const COMPONENT_NAME$1t = 'vc-date-table';
6701
6701
  const DateTable = /* @__PURE__ */ vue.defineComponent({
6702
- name: COMPONENT_NAME$1s,
6702
+ name: COMPONENT_NAME$1t,
6703
6703
  props: {
6704
6704
  value: Array,
6705
6705
  firstDayOfWeek: {
@@ -6908,9 +6908,9 @@ const DateTable = /* @__PURE__ */ vue.defineComponent({
6908
6908
 
6909
6909
  /** @jsxImportSource vue */
6910
6910
 
6911
- const COMPONENT_NAME$1r = 'vc-month-table';
6911
+ const COMPONENT_NAME$1s = 'vc-month-table';
6912
6912
  const MonthTable = /* @__PURE__ */ vue.defineComponent({
6913
- name: COMPONENT_NAME$1r,
6913
+ name: COMPONENT_NAME$1s,
6914
6914
  props: {
6915
6915
  value: Array,
6916
6916
  panelDate: Date,
@@ -7042,7 +7042,7 @@ const MonthTable = /* @__PURE__ */ vue.defineComponent({
7042
7042
 
7043
7043
  /** @jsxImportSource vue */
7044
7044
 
7045
- const COMPONENT_NAME$1q = 'vc-quarter-table';
7045
+ const COMPONENT_NAME$1r = 'vc-quarter-table';
7046
7046
 
7047
7047
  /**
7048
7048
  * 获取季度对应的月份范围
@@ -7076,7 +7076,7 @@ const getQuarterRangeByMonth = value => {
7076
7076
  }
7077
7077
  };
7078
7078
  const QuarterTable = /* @__PURE__ */ vue.defineComponent({
7079
- name: COMPONENT_NAME$1q,
7079
+ name: COMPONENT_NAME$1r,
7080
7080
  props: {
7081
7081
  value: Array,
7082
7082
  panelDate: Date,
@@ -7199,9 +7199,9 @@ const QuarterTable = /* @__PURE__ */ vue.defineComponent({
7199
7199
 
7200
7200
  /** @jsxImportSource vue */
7201
7201
 
7202
- const COMPONENT_NAME$1p = 'vc-shortcuts-select';
7202
+ const COMPONENT_NAME$1q = 'vc-shortcuts-select';
7203
7203
  const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
7204
- name: COMPONENT_NAME$1p,
7204
+ name: COMPONENT_NAME$1q,
7205
7205
  props: {
7206
7206
  panelDate: Date,
7207
7207
  config: Array,
@@ -7241,9 +7241,9 @@ const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
7241
7241
 
7242
7242
  /** @jsxImportSource vue */
7243
7243
 
7244
- const COMPONENT_NAME$1o = 'vc-time-select';
7244
+ const COMPONENT_NAME$1p = 'vc-time-select';
7245
7245
  const TimeSelect = /* @__PURE__ */ vue.defineComponent({
7246
- name: COMPONENT_NAME$1o,
7246
+ name: COMPONENT_NAME$1p,
7247
7247
  props: {
7248
7248
  hours: {
7249
7249
  type: [Number, String],
@@ -7523,9 +7523,9 @@ const TimeSelect = /* @__PURE__ */ vue.defineComponent({
7523
7523
 
7524
7524
  /** @jsxImportSource vue */
7525
7525
 
7526
- const COMPONENT_NAME$1n = 'vc-year-table';
7526
+ const COMPONENT_NAME$1o = 'vc-year-table';
7527
7527
  const YearTable = /* @__PURE__ */ vue.defineComponent({
7528
- name: COMPONENT_NAME$1n,
7528
+ name: COMPONENT_NAME$1o,
7529
7529
  props: {
7530
7530
  value: Array,
7531
7531
  panelDate: Date,
@@ -7648,9 +7648,9 @@ const getDateIsInRange = (value, type, leftPanelDate, rightPanelDate) => {
7648
7648
  }
7649
7649
  return true;
7650
7650
  };
7651
- const COMPONENT_NAME$1m = 'vc-date-range-panel';
7651
+ const COMPONENT_NAME$1n = 'vc-date-range-panel';
7652
7652
  const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
7653
- name: COMPONENT_NAME$1m,
7653
+ name: COMPONENT_NAME$1n,
7654
7654
  props: {
7655
7655
  ...props$W,
7656
7656
  confirm: {
@@ -8029,9 +8029,9 @@ const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
8029
8029
 
8030
8030
  /** @jsxImportSource vue */
8031
8031
 
8032
- const COMPONENT_NAME$1l = 'vc-date-panel';
8032
+ const COMPONENT_NAME$1m = 'vc-date-panel';
8033
8033
  const DatePanel = /* @__PURE__ */ vue.defineComponent({
8034
- name: COMPONENT_NAME$1l,
8034
+ name: COMPONENT_NAME$1m,
8035
8035
  props: {
8036
8036
  ...props$W,
8037
8037
  type: String,
@@ -8239,9 +8239,9 @@ const isEqualYear$1 = value => {
8239
8239
  const endYear = value[1].getFullYear();
8240
8240
  return startYear === endYear;
8241
8241
  };
8242
- const COMPONENT_NAME$1k = 'vc-monthrange-panel';
8242
+ const COMPONENT_NAME$1l = 'vc-monthrange-panel';
8243
8243
  const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
8244
- name: COMPONENT_NAME$1k,
8244
+ name: COMPONENT_NAME$1l,
8245
8245
  props: {
8246
8246
  ...props$W,
8247
8247
  confirm: {
@@ -8416,9 +8416,9 @@ const isEqualYear = value => {
8416
8416
  const endYear = value[1].getFullYear();
8417
8417
  return startYear === endYear;
8418
8418
  };
8419
- const COMPONENT_NAME$1j = 'vc-quarterrange-panel';
8419
+ const COMPONENT_NAME$1k = 'vc-quarterrange-panel';
8420
8420
  const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
8421
- name: COMPONENT_NAME$1j,
8421
+ name: COMPONENT_NAME$1k,
8422
8422
  props: {
8423
8423
  ...props$W,
8424
8424
  confirm: {
@@ -8657,9 +8657,9 @@ const getComparedDate = (leftDate, rightDate) => {
8657
8657
  seconds
8658
8658
  };
8659
8659
  };
8660
- const COMPONENT_NAME$1i = 'vc-timerange-panel';
8660
+ const COMPONENT_NAME$1j = 'vc-timerange-panel';
8661
8661
  const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
8662
- name: COMPONENT_NAME$1i,
8662
+ name: COMPONENT_NAME$1j,
8663
8663
  props: props$V,
8664
8664
  emits: ['pick', 'clear', 'ok'],
8665
8665
  setup(props, {
@@ -8760,9 +8760,9 @@ const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
8760
8760
 
8761
8761
  /** @jsxImportSource vue */
8762
8762
 
8763
- const COMPONENT_NAME$1h = 'vc-time-panel';
8763
+ const COMPONENT_NAME$1i = 'vc-time-panel';
8764
8764
  const TimePanel = /* @__PURE__ */ vue.defineComponent({
8765
- name: COMPONENT_NAME$1h,
8765
+ name: COMPONENT_NAME$1i,
8766
8766
  props: props$V,
8767
8767
  emits: ['pick', 'clear', 'ok'],
8768
8768
  setup(props, {
@@ -8818,7 +8818,7 @@ const TimePanel = /* @__PURE__ */ vue.defineComponent({
8818
8818
 
8819
8819
  /** @jsxImportSource vue */
8820
8820
 
8821
- const COMPONENT_NAME$1g = 'vc-date-picker';
8821
+ const COMPONENT_NAME$1h = 'vc-date-picker';
8822
8822
  const getPanel$1 = type => {
8823
8823
  if (['daterange', 'datetimerange'].includes(type)) {
8824
8824
  return DateRangePanel;
@@ -8829,7 +8829,7 @@ const getPanel$1 = type => {
8829
8829
  }
8830
8830
  return DatePanel;
8831
8831
  };
8832
- const DatePicker = createPicker(COMPONENT_NAME$1g, props$Y, () => {
8832
+ const DatePicker = createPicker(COMPONENT_NAME$1h, props$Y, () => {
8833
8833
  const props = vue.getCurrentInstance().props;
8834
8834
  const icon = vue.ref('date');
8835
8835
  const panel = vue.shallowRef({});
@@ -8870,9 +8870,9 @@ const props$U = {
8870
8870
 
8871
8871
  /** @jsxImportSource vue */
8872
8872
 
8873
- const COMPONENT_NAME$1f = 'vc-divider';
8873
+ const COMPONENT_NAME$1g = 'vc-divider';
8874
8874
  const Divider = /* @__PURE__ */ vue.defineComponent({
8875
- name: COMPONENT_NAME$1f,
8875
+ name: COMPONENT_NAME$1g,
8876
8876
  props: props$U,
8877
8877
  setup(props, {
8878
8878
  slots
@@ -9008,7 +9008,7 @@ const props$R = {
9008
9008
 
9009
9009
  /** @jsxImportSource vue */
9010
9010
 
9011
- const COMPONENT_NAME$1e = 'vc-scroller-track';
9011
+ const COMPONENT_NAME$1f = 'vc-scroller-track';
9012
9012
  const BAR_MAP = {
9013
9013
  vertical: {
9014
9014
  scroll: 'scrollTop',
@@ -9028,7 +9028,7 @@ const BAR_MAP = {
9028
9028
  }
9029
9029
  };
9030
9030
  const Track = /* @__PURE__ */ vue.defineComponent({
9031
- name: COMPONENT_NAME$1e,
9031
+ name: COMPONENT_NAME$1f,
9032
9032
  props: props$T,
9033
9033
  emits: ['change'],
9034
9034
  inheritAttrs: false,
@@ -9218,9 +9218,9 @@ const Track = /* @__PURE__ */ vue.defineComponent({
9218
9218
 
9219
9219
  /** @jsxImportSource vue */
9220
9220
 
9221
- const COMPONENT_NAME$1d = 'vc-scroller-bar';
9221
+ const COMPONENT_NAME$1e = 'vc-scroller-bar';
9222
9222
  const Bar = /* @__PURE__ */ vue.defineComponent({
9223
- name: COMPONENT_NAME$1d,
9223
+ name: COMPONENT_NAME$1e,
9224
9224
  props: props$S,
9225
9225
  emits: ['change'],
9226
9226
  setup(props, {
@@ -9454,7 +9454,7 @@ const useScroller = (expose) => {
9454
9454
 
9455
9455
  /** @jsxImportSource vue */
9456
9456
 
9457
- const COMPONENT_NAME$1c = 'vc-scroller';
9457
+ const COMPONENT_NAME$1d = 'vc-scroller';
9458
9458
 
9459
9459
  /**
9460
9460
  * 作为备选方案,目前推荐使用ScrollerWheel
@@ -9465,7 +9465,7 @@ const COMPONENT_NAME$1c = 'vc-scroller';
9465
9465
  * 2. 增加了一层嵌套
9466
9466
  */
9467
9467
  const Scroller = /* @__PURE__ */ vue.defineComponent({
9468
- name: COMPONENT_NAME$1c,
9468
+ name: COMPONENT_NAME$1d,
9469
9469
  props: props$R,
9470
9470
  emits: ['scroll'],
9471
9471
  setup(props, {
@@ -9526,7 +9526,7 @@ const Scroller = /* @__PURE__ */ vue.defineComponent({
9526
9526
 
9527
9527
  /** @jsxImportSource vue */
9528
9528
 
9529
- const COMPONENT_NAME$1b = 'vc-scroller-wheel';
9529
+ const COMPONENT_NAME$1c = 'vc-scroller-wheel';
9530
9530
 
9531
9531
  /**
9532
9532
  * 为减少一层嵌套,为去除滚动bar的抖动,使用wheel模拟
@@ -9548,7 +9548,7 @@ const COMPONENT_NAME$1b = 'vc-scroller-wheel';
9548
9548
  * 设置scrollTop不会reflow和repaint,不需要考虑transfrom来改变content(transform也只在draw完成)
9549
9549
  */
9550
9550
  const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
9551
- name: COMPONENT_NAME$1b,
9551
+ name: COMPONENT_NAME$1c,
9552
9552
  props: Object.assign({}, props$R, {
9553
9553
  stopPropagation: {
9554
9554
  type: Boolean,
@@ -9737,9 +9737,9 @@ const props$Q = {
9737
9737
 
9738
9738
  /** @jsxImportSource vue */
9739
9739
 
9740
- const COMPONENT_NAME$1a = 'vc-drawer';
9740
+ const COMPONENT_NAME$1b = 'vc-drawer';
9741
9741
  const DrawerView = /* @__PURE__ */ vue.defineComponent({
9742
- name: COMPONENT_NAME$1a,
9742
+ name: COMPONENT_NAME$1b,
9743
9743
  props: props$Q,
9744
9744
  emits: ['close', 'update:modelValue', 'visible-change'],
9745
9745
  setup(props, {
@@ -9928,9 +9928,9 @@ const props$P = {
9928
9928
 
9929
9929
  /** @jsxImportSource vue */
9930
9930
 
9931
- const COMPONENT_NAME$19 = 'vc-dropdown';
9931
+ const COMPONENT_NAME$1a = 'vc-dropdown';
9932
9932
  const Dropdown = /* @__PURE__ */ vue.defineComponent({
9933
- name: COMPONENT_NAME$19,
9933
+ name: COMPONENT_NAME$1a,
9934
9934
  props: props$P,
9935
9935
  inheritAttrs: false,
9936
9936
  emits: ['update:modelValue', 'ready', 'close', 'visible-change', 'click'],
@@ -10000,9 +10000,9 @@ const Dropdown = /* @__PURE__ */ vue.defineComponent({
10000
10000
 
10001
10001
  /** @jsxImportSource vue */
10002
10002
 
10003
- const COMPONENT_NAME$18 = 'vc-dropdown-menu';
10003
+ const COMPONENT_NAME$19 = 'vc-dropdown-menu';
10004
10004
  const DropdownMenu = /* @__PURE__ */ vue.defineComponent({
10005
- name: COMPONENT_NAME$18,
10005
+ name: COMPONENT_NAME$19,
10006
10006
  setup(_, {
10007
10007
  slots
10008
10008
  }) {
@@ -10016,9 +10016,9 @@ const DropdownMenu = /* @__PURE__ */ vue.defineComponent({
10016
10016
 
10017
10017
  /** @jsxImportSource vue */
10018
10018
 
10019
- const COMPONENT_NAME$17 = 'vc-dropdown-item';
10019
+ const COMPONENT_NAME$18 = 'vc-dropdown-item';
10020
10020
  const DropdownItem = /* @__PURE__ */ vue.defineComponent({
10021
- name: COMPONENT_NAME$17,
10021
+ name: COMPONENT_NAME$18,
10022
10022
  props: {
10023
10023
  value: {
10024
10024
  type: [String, Number],
@@ -10232,9 +10232,9 @@ const defaults = {
10232
10232
 
10233
10233
  /** @jsxImportSource vue */
10234
10234
 
10235
- const COMPONENT_NAME$16 = 'vc-editor-toolbar';
10235
+ const COMPONENT_NAME$17 = 'vc-editor-toolbar';
10236
10236
  const EditorToolbar = /* @__PURE__ */ vue.defineComponent({
10237
- name: COMPONENT_NAME$16,
10237
+ name: COMPONENT_NAME$17,
10238
10238
  props: {
10239
10239
  options: [Array, Object],
10240
10240
  elementId: String
@@ -10440,9 +10440,9 @@ const props$O = {
10440
10440
 
10441
10441
  /** @jsxImportSource vue */
10442
10442
 
10443
- const COMPONENT_NAME$15 = 'vc-image-preview';
10443
+ const COMPONENT_NAME$16 = 'vc-image-preview';
10444
10444
  const ImagePreview$1 = /* @__PURE__ */ vue.defineComponent({
10445
- name: COMPONENT_NAME$15,
10445
+ name: COMPONENT_NAME$16,
10446
10446
  props: props$O,
10447
10447
  setup(props, {
10448
10448
  slots
@@ -10629,9 +10629,9 @@ const props$N = {
10629
10629
  }
10630
10630
  };
10631
10631
 
10632
- const COMPONENT_NAME$14 = "vc-upload";
10632
+ const COMPONENT_NAME$15 = "vc-upload";
10633
10633
  const Upload$1 = vue.defineComponent({
10634
- name: COMPONENT_NAME$14,
10634
+ name: COMPONENT_NAME$15,
10635
10635
  props: props$N,
10636
10636
  emits: [
10637
10637
  "message",
@@ -11167,9 +11167,9 @@ const props$M = {
11167
11167
 
11168
11168
  /** @jsxImportSource vue */
11169
11169
 
11170
- const COMPONENT_NAME$13 = 'vc-editor';
11170
+ const COMPONENT_NAME$14 = 'vc-editor';
11171
11171
  const Editor = /* @__PURE__ */ vue.defineComponent({
11172
- name: COMPONENT_NAME$13,
11172
+ name: COMPONENT_NAME$14,
11173
11173
  props: props$M,
11174
11174
  emits: ['ready', 'blur', 'focus', 'input', 'update:modelValue', 'change'],
11175
11175
  setup(props, {
@@ -11357,7 +11357,7 @@ const Editor = /* @__PURE__ */ vue.defineComponent({
11357
11357
 
11358
11358
  /** @jsxImportSource vue */
11359
11359
 
11360
- const COMPONENT_NAME$12 = 'vc-editor-view';
11360
+ const COMPONENT_NAME$13 = 'vc-editor-view';
11361
11361
  const setImages = v => {
11362
11362
  if (!v) return;
11363
11363
  const IMG_REGX = /<img.*?(?:>|\/>)/gi;
@@ -11375,7 +11375,7 @@ const setImages = v => {
11375
11375
  return;
11376
11376
  };
11377
11377
  const EditorView = /* @__PURE__ */ vue.defineComponent({
11378
- name: COMPONENT_NAME$12,
11378
+ name: COMPONENT_NAME$13,
11379
11379
  props: {
11380
11380
  value: {
11381
11381
  type: String,
@@ -11445,6 +11445,7 @@ const EditorView = /* @__PURE__ */ vue.defineComponent({
11445
11445
  });
11446
11446
 
11447
11447
  const MEditor = Editor;
11448
+ const MEditorView = EditorView;
11448
11449
 
11449
11450
  const MExpand = Expand$1;
11450
11451
 
@@ -11589,9 +11590,9 @@ const useForm = (expose, options = {}) => {
11589
11590
  });
11590
11591
  };
11591
11592
 
11592
- const COMPONENT_NAME$11 = "vc-form";
11593
+ const COMPONENT_NAME$12 = "vc-form";
11593
11594
  const Form = vue.defineComponent({
11594
- name: COMPONENT_NAME$11,
11595
+ name: COMPONENT_NAME$12,
11595
11596
  props: props$L,
11596
11597
  setup(props, { slots, expose }) {
11597
11598
  useForm(expose);
@@ -11699,9 +11700,7 @@ const useFormItem = (expose) => {
11699
11700
  return formItemRules;
11700
11701
  });
11701
11702
  const isRequired = vue.computed(() => {
11702
- if (!currentRules.value.length) {
11703
- return !!props.required;
11704
- }
11703
+ if (props.required) return !!props.required;
11705
11704
  let required = false;
11706
11705
  for (let i = 0; i < currentRules.value.length; i++) {
11707
11706
  const rule = currentRules.value[i];
@@ -11941,9 +11940,9 @@ const useFormItem = (expose) => {
11941
11940
 
11942
11941
  /** @jsxImportSource vue */
11943
11942
 
11944
- const COMPONENT_NAME$10 = 'vc-form-item';
11943
+ const COMPONENT_NAME$11 = 'vc-form-item';
11945
11944
  const FormItem = /* @__PURE__ */ vue.defineComponent({
11946
- name: COMPONENT_NAME$10,
11945
+ name: COMPONENT_NAME$11,
11947
11946
  props: props$K,
11948
11947
  setup(props, {
11949
11948
  slots,
@@ -12011,9 +12010,9 @@ const props$J = {
12011
12010
  }
12012
12011
  };
12013
12012
 
12014
- const COMPONENT_NAME$$ = "vcm-form";
12013
+ const COMPONENT_NAME$10 = "vcm-form";
12015
12014
  const MForm = vue.defineComponent({
12016
- name: COMPONENT_NAME$$,
12015
+ name: COMPONENT_NAME$10,
12017
12016
  props: props$J,
12018
12017
  setup(props, { slots, expose }) {
12019
12018
  useForm(expose, {
@@ -12044,9 +12043,9 @@ const props$I = {
12044
12043
 
12045
12044
  /** @jsxImportSource vue */
12046
12045
 
12047
- const COMPONENT_NAME$_ = 'vcm-form-item';
12046
+ const COMPONENT_NAME$$ = 'vcm-form-item';
12048
12047
  const MFormItem = /* @__PURE__ */ vue.defineComponent({
12049
- name: COMPONENT_NAME$_,
12048
+ name: COMPONENT_NAME$$,
12050
12049
  props: props$I,
12051
12050
  setup(props, {
12052
12051
  slots,
@@ -12101,9 +12100,9 @@ const MFormItem = /* @__PURE__ */ vue.defineComponent({
12101
12100
  }
12102
12101
  });
12103
12102
 
12104
- const COMPONENT_NAME$Z = "vc-fragment";
12103
+ const COMPONENT_NAME$_ = "vc-fragment";
12105
12104
  const Fragment = vue.defineComponent({
12106
- name: COMPONENT_NAME$Z,
12105
+ name: COMPONENT_NAME$_,
12107
12106
  setup(_, { slots }) {
12108
12107
  return () => vue.h(vue.Fragment, slots.default?.());
12109
12108
  }
@@ -12120,9 +12119,9 @@ const props$H = {
12120
12119
 
12121
12120
  /** @jsxImportSource vue */
12122
12121
 
12123
- const COMPONENT_NAME$Y = 'vc-html-to-image';
12122
+ const COMPONENT_NAME$Z = 'vc-html-to-image';
12124
12123
  const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
12125
- name: COMPONENT_NAME$Y,
12124
+ name: COMPONENT_NAME$Z,
12126
12125
  props: props$H,
12127
12126
  setup(props, {
12128
12127
  slots
@@ -12202,7 +12201,7 @@ const IMGStore$1 = new IMGStore();
12202
12201
 
12203
12202
  /** @jsxImportSource vue */
12204
12203
 
12205
- const COMPONENT_NAME$X = 'vc-image';
12204
+ const COMPONENT_NAME$Y = 'vc-image';
12206
12205
  let isSupportObjectFit = false;
12207
12206
  window.addEventListener('DOMContentLoaded', () => {
12208
12207
  isSupportObjectFit = !vcShared.IS_SERVER && document.documentElement.style.objectFit !== undefined;
@@ -12215,7 +12214,7 @@ const ObjectFit = {
12215
12214
  SCALE_DOWN: 'scale-down'
12216
12215
  };
12217
12216
  const Image$1 = /* @__PURE__ */ vue.defineComponent({
12218
- name: COMPONENT_NAME$X,
12217
+ name: COMPONENT_NAME$Y,
12219
12218
  inheritAttrs: false,
12220
12219
  props: props$G,
12221
12220
  setup(props, {
@@ -12432,9 +12431,9 @@ const props$F = {
12432
12431
 
12433
12432
  /** @jsxImportSource vue */
12434
12433
 
12435
- const COMPONENT_NAME$W = 'vc-image-crop';
12434
+ const COMPONENT_NAME$X = 'vc-image-crop';
12436
12435
  const ImageCrop = /* @__PURE__ */ vue.defineComponent({
12437
- name: COMPONENT_NAME$W,
12436
+ name: COMPONENT_NAME$X,
12438
12437
  props: props$F,
12439
12438
  setup(props, {
12440
12439
  slots
@@ -12460,9 +12459,9 @@ const props$E = {
12460
12459
 
12461
12460
  /** @jsxImportSource vue */
12462
12461
 
12463
- const COMPONENT_NAME$V = 'vc-image-processing';
12462
+ const COMPONENT_NAME$W = 'vc-image-processing';
12464
12463
  const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
12465
- name: COMPONENT_NAME$V,
12464
+ name: COMPONENT_NAME$W,
12466
12465
  props: props$E,
12467
12466
  setup(props, {
12468
12467
  slots
@@ -12479,9 +12478,9 @@ const MImageProcessing = ImageProcessing;
12479
12478
 
12480
12479
  /** @jsxImportSource vue */
12481
12480
 
12482
- const COMPONENT_NAME$U = 'vcm-input';
12481
+ const COMPONENT_NAME$V = 'vcm-input';
12483
12482
  const MInput = /* @__PURE__ */ vue.defineComponent({
12484
- name: COMPONENT_NAME$U,
12483
+ name: COMPONENT_NAME$V,
12485
12484
  inheritAttrs: false,
12486
12485
  props: {
12487
12486
  ...props$1g,
@@ -12570,9 +12569,9 @@ const MInput = /* @__PURE__ */ vue.defineComponent({
12570
12569
 
12571
12570
  /** @jsxImportSource vue */
12572
12571
 
12573
- const COMPONENT_NAME$T = 'vcm-input-number';
12572
+ const COMPONENT_NAME$U = 'vcm-input-number';
12574
12573
  const MInputNumber = /* @__PURE__ */ vue.defineComponent({
12575
- name: COMPONENT_NAME$T,
12574
+ name: COMPONENT_NAME$U,
12576
12575
  props: props$1f,
12577
12576
  inheritAttrs: false,
12578
12577
  setup(props, {
@@ -12621,9 +12620,9 @@ const MInputNumber = /* @__PURE__ */ vue.defineComponent({
12621
12620
 
12622
12621
  /** @jsxImportSource vue */
12623
12622
 
12624
- const COMPONENT_NAME$S = 'vcm-input-search';
12623
+ const COMPONENT_NAME$T = 'vcm-input-search';
12625
12624
  const MInputSearch = /* @__PURE__ */ vue.defineComponent({
12626
- name: COMPONENT_NAME$S,
12625
+ name: COMPONENT_NAME$T,
12627
12626
  props: {
12628
12627
  ...props$1e,
12629
12628
  cancelText: {
@@ -12700,9 +12699,9 @@ const props$D = {
12700
12699
  }
12701
12700
  };
12702
12701
 
12703
- const COMPONENT_NAME$R = "vcm-list";
12702
+ const COMPONENT_NAME$S = "vcm-list";
12704
12703
  const MList = vue.defineComponent({
12705
- name: COMPONENT_NAME$R,
12704
+ name: COMPONENT_NAME$S,
12706
12705
  props: props$D,
12707
12706
  setup(props, { slots }) {
12708
12707
  vue.provide("vc-list", { props });
@@ -12757,10 +12756,10 @@ const props$C = {
12757
12756
 
12758
12757
  /** @jsxImportSource vue */
12759
12758
 
12760
- const COMPONENT_NAME$Q = 'vcm-list-item';
12759
+ const COMPONENT_NAME$R = 'vcm-list-item';
12761
12760
  const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
12762
12761
  const MListItem = /* @__PURE__ */ vue.defineComponent({
12763
- name: COMPONENT_NAME$Q,
12762
+ name: COMPONENT_NAME$R,
12764
12763
  props: props$C,
12765
12764
  emits: ['click'],
12766
12765
  setup(props, {
@@ -12854,11 +12853,11 @@ const props$B = {
12854
12853
 
12855
12854
  /** @jsxImportSource vue */
12856
12855
 
12857
- const COMPONENT_NAME$P = 'vc-marquee';
12856
+ const COMPONENT_NAME$Q = 'vc-marquee';
12858
12857
  const ANIMATION = $.prefixStyle('animation').camel;
12859
12858
  const TRANSFORM_KEBAB = $.prefixStyle('transform').kebab;
12860
12859
  const Marquee = /* @__PURE__ */ vue.defineComponent({
12861
- name: COMPONENT_NAME$P,
12860
+ name: COMPONENT_NAME$Q,
12862
12861
  props: props$B,
12863
12862
  setup(props, {
12864
12863
  slots
@@ -12926,9 +12925,9 @@ const props$A = {
12926
12925
  }
12927
12926
  };
12928
12927
 
12929
- const COMPONENT_NAME$O = "vc-resizer";
12928
+ const COMPONENT_NAME$P = "vc-resizer";
12930
12929
  const Resizer = vue.defineComponent({
12931
- name: COMPONENT_NAME$O,
12930
+ name: COMPONENT_NAME$P,
12932
12931
  props: props$A,
12933
12932
  emits: ["resize"],
12934
12933
  setup(props, { emit, slots, expose }) {
@@ -13091,10 +13090,10 @@ const props$z = {
13091
13090
 
13092
13091
  /** @jsxImportSource vue */
13093
13092
 
13094
- const COMPONENT_NAME$N = 'vc-modal';
13093
+ const COMPONENT_NAME$O = 'vc-modal';
13095
13094
  let zIndexNumber = 1002;
13096
13095
  const ModalView = /* @__PURE__ */ vue.defineComponent({
13097
- name: COMPONENT_NAME$N,
13096
+ name: COMPONENT_NAME$O,
13098
13097
  emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change', 'ok', 'cancel'],
13099
13098
  props: props$z,
13100
13099
  setup(props, {
@@ -13533,9 +13532,9 @@ const props$y = {
13533
13532
 
13534
13533
  /** @jsxImportSource vue */
13535
13534
 
13536
- const COMPONENT_NAME$M = 'vc-modal';
13535
+ const COMPONENT_NAME$N = 'vc-modal';
13537
13536
  const MModalView = /* @__PURE__ */ vue.defineComponent({
13538
- name: COMPONENT_NAME$M,
13537
+ name: COMPONENT_NAME$N,
13539
13538
  emits: ['update:modelValue', 'portal-fulfilled', 'close', 'ok', 'cancel'],
13540
13539
  props: props$y,
13541
13540
  setup(props, {
@@ -13747,9 +13746,9 @@ const props$x = {
13747
13746
 
13748
13747
  /** @jsxImportSource vue */
13749
13748
 
13750
- const COMPONENT_NAME$L = 'vc-notice';
13749
+ const COMPONENT_NAME$M = 'vc-notice';
13751
13750
  const NoticeView = /* @__PURE__ */ vue.defineComponent({
13752
- name: COMPONENT_NAME$L,
13751
+ name: COMPONENT_NAME$M,
13753
13752
  props: props$x,
13754
13753
  emits: ['portal-fulfilled', 'close', 'before-close'],
13755
13754
  setup(props, {
@@ -13922,9 +13921,9 @@ const props$w = {
13922
13921
 
13923
13922
  /** @jsxImportSource vue */
13924
13923
 
13925
- const COMPONENT_NAME$K = 'vc-option';
13924
+ const COMPONENT_NAME$L = 'vc-option';
13926
13925
  const Option$1 = /* @__PURE__ */ vue.defineComponent({
13927
- name: COMPONENT_NAME$K,
13926
+ name: COMPONENT_NAME$L,
13928
13927
  props: props$w,
13929
13928
  setup(props, {
13930
13929
  slots
@@ -14008,9 +14007,9 @@ const props$u = {
14008
14007
 
14009
14008
  /** @jsxImportSource vue */
14010
14009
 
14011
- const COMPONENT_NAME$J = 'vc-tag';
14010
+ const COMPONENT_NAME$K = 'vc-tag';
14012
14011
  const Tag = /* @__PURE__ */ vue.defineComponent({
14013
- name: COMPONENT_NAME$J,
14012
+ name: COMPONENT_NAME$K,
14014
14013
  props: props$u,
14015
14014
  emits: ['close', 'change'],
14016
14015
  setup(props, {
@@ -14081,9 +14080,9 @@ const props$t = {
14081
14080
 
14082
14081
  /** @jsxImportSource vue */
14083
14082
 
14084
- const COMPONENT_NAME$I = 'vc-select-option';
14083
+ const COMPONENT_NAME$J = 'vc-select-option';
14085
14084
  const Option = /* @__PURE__ */ vue.defineComponent({
14086
- name: COMPONENT_NAME$I,
14085
+ name: COMPONENT_NAME$J,
14087
14086
  props: props$t,
14088
14087
  setup(props, {
14089
14088
  slots
@@ -14169,9 +14168,9 @@ const props$s = {
14169
14168
 
14170
14169
  /** @jsxImportSource vue */
14171
14170
 
14172
- const COMPONENT_NAME$H = 'vc-select-option-group';
14171
+ const COMPONENT_NAME$I = 'vc-select-option-group';
14173
14172
  const OptionGroup = /* @__PURE__ */ vue.defineComponent({
14174
- name: COMPONENT_NAME$H,
14173
+ name: COMPONENT_NAME$I,
14175
14174
  props: props$s,
14176
14175
  setup(props, {
14177
14176
  slots
@@ -14201,9 +14200,9 @@ const OptionGroup = /* @__PURE__ */ vue.defineComponent({
14201
14200
 
14202
14201
  /** @jsxImportSource vue */
14203
14202
 
14204
- const COMPONENT_NAME$G = 'vc-select';
14203
+ const COMPONENT_NAME$H = 'vc-select';
14205
14204
  const Select = /* @__PURE__ */ vue.defineComponent({
14206
- name: COMPONENT_NAME$G,
14205
+ name: COMPONENT_NAME$H,
14207
14206
  props: props$19,
14208
14207
  emits: ['ready', 'close', 'visible-change', 'clear', 'change', 'update:modelValue'],
14209
14208
  setup(props, {
@@ -14477,9 +14476,9 @@ const Select = /* @__PURE__ */ vue.defineComponent({
14477
14476
 
14478
14477
  /** @jsxImportSource vue */
14479
14478
 
14480
- const COMPONENT_NAME$F = 'vc-pagination';
14479
+ const COMPONENT_NAME$G = 'vc-pagination';
14481
14480
  const Pagination = /* @__PURE__ */ vue.defineComponent({
14482
- name: COMPONENT_NAME$F,
14481
+ name: COMPONENT_NAME$G,
14483
14482
  props: props$v,
14484
14483
  emits: ['update:current', 'change', 'page-size-change'],
14485
14484
  setup(props, {
@@ -14677,9 +14676,9 @@ const props$r = {
14677
14676
 
14678
14677
  /** @jsxImportSource vue */
14679
14678
 
14680
- const COMPONENT_NAME$E = 'vc-picker';
14679
+ const COMPONENT_NAME$F = 'vc-picker';
14681
14680
  const Picker = /* @__PURE__ */ vue.defineComponent({
14682
- name: COMPONENT_NAME$E,
14681
+ name: COMPONENT_NAME$F,
14683
14682
  props: props$r,
14684
14683
  setup(props, {
14685
14684
  slots
@@ -14742,9 +14741,9 @@ const props$q = {
14742
14741
 
14743
14742
  /** @jsxImportSource vue */
14744
14743
 
14745
- const COMPONENT_NAME$D = 'vc-popconfirm';
14744
+ const COMPONENT_NAME$E = 'vc-popconfirm';
14746
14745
  const Popconfirm = /* @__PURE__ */ vue.defineComponent({
14747
- name: COMPONENT_NAME$D,
14746
+ name: COMPONENT_NAME$E,
14748
14747
  props: props$q,
14749
14748
  inheritAttrs: false,
14750
14749
  emits: ['update:modelValue', 'visible-change', 'ready', 'close', 'cancel', 'ok'],
@@ -14912,9 +14911,9 @@ const props$p = {
14912
14911
 
14913
14912
  /** @jsxImportSource vue */
14914
14913
 
14915
- const COMPONENT_NAME$C = 'vc-popup';
14914
+ const COMPONENT_NAME$D = 'vc-popup';
14916
14915
  const MPopup = /* @__PURE__ */ vue.defineComponent({
14917
- name: COMPONENT_NAME$C,
14916
+ name: COMPONENT_NAME$D,
14918
14917
  props: props$p,
14919
14918
  emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change'],
14920
14919
  setup(props, {
@@ -15041,9 +15040,9 @@ const props$o = {
15041
15040
 
15042
15041
  /** @jsxImportSource vue */
15043
15042
 
15044
- const COMPONENT_NAME$B = 'vc-print';
15043
+ const COMPONENT_NAME$C = 'vc-print';
15045
15044
  const Print = /* @__PURE__ */ vue.defineComponent({
15046
- name: COMPONENT_NAME$B,
15045
+ name: COMPONENT_NAME$C,
15047
15046
  props: props$o,
15048
15047
  setup(props, {
15049
15048
  expose,
@@ -15145,9 +15144,9 @@ const props$n = {
15145
15144
 
15146
15145
  /** @jsxImportSource vue */
15147
15146
 
15148
- const COMPONENT_NAME$A = 'vc-progress-circle';
15147
+ const COMPONENT_NAME$B = 'vc-progress-circle';
15149
15148
  const Circle = /* @__PURE__ */ vue.defineComponent({
15150
- name: COMPONENT_NAME$A,
15149
+ name: COMPONENT_NAME$B,
15151
15150
  props: props$n,
15152
15151
  setup(props, {
15153
15152
  slots
@@ -15207,9 +15206,9 @@ const Circle = /* @__PURE__ */ vue.defineComponent({
15207
15206
 
15208
15207
  /** @jsxImportSource vue */
15209
15208
 
15210
- const COMPONENT_NAME$z = 'vc-progress-line';
15209
+ const COMPONENT_NAME$A = 'vc-progress-line';
15211
15210
  const Line = /* @__PURE__ */ vue.defineComponent({
15212
- name: COMPONENT_NAME$z,
15211
+ name: COMPONENT_NAME$A,
15213
15212
  props: props$n,
15214
15213
  setup(props) {
15215
15214
  const colorStyle = vue.computed(() => {
@@ -15256,9 +15255,9 @@ const Line = /* @__PURE__ */ vue.defineComponent({
15256
15255
  function _isSlot(s) {
15257
15256
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
15258
15257
  }
15259
- const COMPONENT_NAME$y = 'vc-progress';
15258
+ const COMPONENT_NAME$z = 'vc-progress';
15260
15259
  const Progress = /* @__PURE__ */ vue.defineComponent({
15261
- name: COMPONENT_NAME$y,
15260
+ name: COMPONENT_NAME$z,
15262
15261
  props: props$n,
15263
15262
  setup(props, {
15264
15263
  slots
@@ -15362,6 +15361,9 @@ const useRadio = () => {
15362
15361
  "is-error": !!formItem?.message?.value
15363
15362
  };
15364
15363
  });
15364
+ const styles = vue.computed(() => {
15365
+ return {};
15366
+ });
15365
15367
  vue.watch(
15366
15368
  () => props.modelValue,
15367
15369
  (v) => {
@@ -15402,6 +15404,7 @@ const useRadio = () => {
15402
15404
  isDisabled,
15403
15405
  radioName,
15404
15406
  classes,
15407
+ styles,
15405
15408
  hasGroup,
15406
15409
  checked,
15407
15410
  handleChange,
@@ -15416,15 +15419,16 @@ const useRadio = () => {
15416
15419
 
15417
15420
  /** @jsxImportSource vue */
15418
15421
 
15419
- const COMPONENT_NAME$x = 'vc-radio';
15422
+ const COMPONENT_NAME$y = 'vc-radio';
15420
15423
  const Radio = /* @__PURE__ */ vue.defineComponent({
15421
- name: COMPONENT_NAME$x,
15424
+ name: COMPONENT_NAME$y,
15422
15425
  props: props$m,
15423
15426
  emits: ['update:modelValue', 'change'],
15424
15427
  setup(props, {
15425
15428
  slots
15426
15429
  }) {
15427
15430
  const {
15431
+ styles,
15428
15432
  radioName,
15429
15433
  checked,
15430
15434
  classes,
@@ -15435,7 +15439,8 @@ const Radio = /* @__PURE__ */ vue.defineComponent({
15435
15439
  } = useRadio();
15436
15440
  return () => {
15437
15441
  return vue.createVNode("label", {
15438
- "class": [classes.value, 'vc-radio']
15442
+ "class": [classes.value, 'vc-radio'],
15443
+ "style": styles.value
15439
15444
  }, [vue.createVNode("span", {
15440
15445
  "class": [{
15441
15446
  'has-sibling': !!(computedLabel.value || slots.default)
@@ -15457,6 +15462,43 @@ const Radio = /* @__PURE__ */ vue.defineComponent({
15457
15462
  }
15458
15463
  });
15459
15464
 
15465
+ /** @jsxImportSource vue */
15466
+
15467
+ const COMPONENT_NAME$x = 'vc-radio-button';
15468
+ const RadioButton = /* @__PURE__ */ vue.defineComponent({
15469
+ name: COMPONENT_NAME$x,
15470
+ props: props$m,
15471
+ emits: ['update:modelValue', 'change'],
15472
+ setup(props, {
15473
+ slots
15474
+ }) {
15475
+ const {
15476
+ styles,
15477
+ radioName,
15478
+ checked,
15479
+ classes,
15480
+ computedLabel,
15481
+ handleChange,
15482
+ handleFocus,
15483
+ handleBlur
15484
+ } = useRadio();
15485
+ return () => {
15486
+ return vue.createVNode("label", {
15487
+ "class": [classes.value, 'vc-radio-button'],
15488
+ "style": styles.value
15489
+ }, [vue.createVNode("input", {
15490
+ "checked": checked.value,
15491
+ "name": radioName.value,
15492
+ "disabled": props.disabled,
15493
+ "type": "radio",
15494
+ "onChange": handleChange,
15495
+ "onFocus": handleFocus,
15496
+ "onBlur": handleBlur
15497
+ }, null), slots.default ? slots.default() : computedLabel.value && vue.createVNode("span", null, [computedLabel.value])]);
15498
+ };
15499
+ }
15500
+ });
15501
+
15460
15502
  const props$l = {
15461
15503
  modelValue: {
15462
15504
  type: [String, Number],
@@ -15561,6 +15603,7 @@ const MRadio = /* @__PURE__ */ vue.defineComponent({
15561
15603
  slots
15562
15604
  }) {
15563
15605
  const {
15606
+ styles,
15564
15607
  radioName,
15565
15608
  checked,
15566
15609
  classes,
@@ -15571,7 +15614,8 @@ const MRadio = /* @__PURE__ */ vue.defineComponent({
15571
15614
  } = useRadio();
15572
15615
  return () => {
15573
15616
  return vue.createVNode("label", {
15574
- "class": [classes.value, 'vcm-radio']
15617
+ "class": [classes.value, 'vcm-radio'],
15618
+ "style": styles.value
15575
15619
  }, [vue.createVNode("span", {
15576
15620
  "class": [{
15577
15621
  'has-sibling': !!(computedLabel.value || slots.default)
@@ -15617,6 +15661,8 @@ const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
15617
15661
  }
15618
15662
  });
15619
15663
 
15664
+ const MRadioButton = MRadio;
15665
+
15620
15666
  const props$k = {
15621
15667
  modelValue: {
15622
15668
  type: [Number, String],
@@ -23946,6 +23992,7 @@ exports.MDropdown = MDropdown;
23946
23992
  exports.MDropdownItem = MDropdownItem;
23947
23993
  exports.MDropdownMenu = MDropdownMenu;
23948
23994
  exports.MEditor = MEditor;
23995
+ exports.MEditorView = MEditorView;
23949
23996
  exports.MExpand = MExpand;
23950
23997
  exports.MForm = MForm;
23951
23998
  exports.MFormItem = MFormItem;
@@ -23976,6 +24023,7 @@ exports.MPortal = MPortal;
23976
24023
  exports.MPrint = MPrint;
23977
24024
  exports.MProgress = MProgress;
23978
24025
  exports.MRadio = MRadio;
24026
+ exports.MRadioButton = MRadioButton;
23979
24027
  exports.MRadioGroup = MRadioGroup;
23980
24028
  exports.MRate = MRate;
23981
24029
  exports.MRecycleList = MRecycleList;
@@ -24027,6 +24075,7 @@ exports.PortalView = PortalView;
24027
24075
  exports.Print = Print;
24028
24076
  exports.Progress = Progress;
24029
24077
  exports.Radio = Radio;
24078
+ exports.RadioButton = RadioButton;
24030
24079
  exports.RadioGroup = RadioGroup;
24031
24080
  exports.Rate = Rate;
24032
24081
  exports.RecycleList = RecycleList;