@deot/vc-components 1.0.49 → 1.0.51
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 +276 -217
- package/dist/index.d.ts +181 -0
- package/dist/index.iife.js +276 -217
- package/dist/index.js +274 -218
- package/dist/index.style.css +2 -2
- package/dist/index.umd.cjs +276 -217
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -88,9 +88,9 @@ const props$1t = {
|
|
|
88
88
|
|
|
89
89
|
/** @jsxImportSource vue */
|
|
90
90
|
|
|
91
|
-
const COMPONENT_NAME$
|
|
91
|
+
const COMPONENT_NAME$29 = 'vc-action-sheet';
|
|
92
92
|
const ActionSheet = /* @__PURE__ */ defineComponent({
|
|
93
|
-
name: COMPONENT_NAME$
|
|
93
|
+
name: COMPONENT_NAME$29,
|
|
94
94
|
props: props$1t,
|
|
95
95
|
setup(props, {
|
|
96
96
|
slots
|
|
@@ -167,9 +167,9 @@ const isWheel = (el) => {
|
|
|
167
167
|
|
|
168
168
|
/** @jsxImportSource vue */
|
|
169
169
|
|
|
170
|
-
const COMPONENT_NAME$
|
|
170
|
+
const COMPONENT_NAME$28 = 'vc-affix';
|
|
171
171
|
const Affix = /* @__PURE__ */ defineComponent({
|
|
172
|
-
name: COMPONENT_NAME$
|
|
172
|
+
name: COMPONENT_NAME$28,
|
|
173
173
|
emits: ['update:modelValue'],
|
|
174
174
|
props: props$1s,
|
|
175
175
|
setup(props, {
|
|
@@ -509,9 +509,9 @@ const IconManager = new Manager();
|
|
|
509
509
|
|
|
510
510
|
/** @jsxImportSource vue */
|
|
511
511
|
|
|
512
|
-
const COMPONENT_NAME$
|
|
512
|
+
const COMPONENT_NAME$27 = 'vc-icon';
|
|
513
513
|
const Icon = /* @__PURE__ */ defineComponent({
|
|
514
|
-
name: COMPONENT_NAME$
|
|
514
|
+
name: COMPONENT_NAME$27,
|
|
515
515
|
props: props$1q,
|
|
516
516
|
setup(props) {
|
|
517
517
|
const viewBox = ref('0 0 1024 1024');
|
|
@@ -710,9 +710,9 @@ const useTransition = () => {
|
|
|
710
710
|
};
|
|
711
711
|
};
|
|
712
712
|
|
|
713
|
-
const COMPONENT_NAME$
|
|
713
|
+
const COMPONENT_NAME$26 = "vc-transition";
|
|
714
714
|
const Transition = defineComponent({
|
|
715
|
-
name: COMPONENT_NAME$
|
|
715
|
+
name: COMPONENT_NAME$26,
|
|
716
716
|
props: props$1p,
|
|
717
717
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
718
718
|
inheritAttrs: false,
|
|
@@ -733,9 +733,9 @@ const Transition = defineComponent({
|
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
|
|
736
|
-
const COMPONENT_NAME$
|
|
736
|
+
const COMPONENT_NAME$25 = "vc-transition-collapse";
|
|
737
737
|
const TransitionCollapse = defineComponent({
|
|
738
|
-
name: COMPONENT_NAME$
|
|
738
|
+
name: COMPONENT_NAME$25,
|
|
739
739
|
props: props$1p,
|
|
740
740
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
741
741
|
inheritAttrs: false,
|
|
@@ -854,9 +854,9 @@ const TransitionCollapse = defineComponent({
|
|
|
854
854
|
}
|
|
855
855
|
});
|
|
856
856
|
|
|
857
|
-
const COMPONENT_NAME$
|
|
857
|
+
const COMPONENT_NAME$24 = "vc-transition-fade";
|
|
858
858
|
const TransitionFade = defineComponent({
|
|
859
|
-
name: COMPONENT_NAME$
|
|
859
|
+
name: COMPONENT_NAME$24,
|
|
860
860
|
props: {
|
|
861
861
|
...props$1p,
|
|
862
862
|
// inheritAttrs必须是false
|
|
@@ -891,9 +891,9 @@ const TransitionFade = defineComponent({
|
|
|
891
891
|
}
|
|
892
892
|
});
|
|
893
893
|
|
|
894
|
-
const COMPONENT_NAME$
|
|
894
|
+
const COMPONENT_NAME$23 = "vc-transition-scale";
|
|
895
895
|
const TransitionScale = defineComponent({
|
|
896
|
-
name: COMPONENT_NAME$
|
|
896
|
+
name: COMPONENT_NAME$23,
|
|
897
897
|
props: {
|
|
898
898
|
...props$1p,
|
|
899
899
|
mode: {
|
|
@@ -933,9 +933,9 @@ const TransitionScale = defineComponent({
|
|
|
933
933
|
}
|
|
934
934
|
});
|
|
935
935
|
|
|
936
|
-
const COMPONENT_NAME$
|
|
936
|
+
const COMPONENT_NAME$22 = "vc-transition-slide";
|
|
937
937
|
const TransitionSlide = defineComponent({
|
|
938
|
-
name: COMPONENT_NAME$
|
|
938
|
+
name: COMPONENT_NAME$22,
|
|
939
939
|
props: {
|
|
940
940
|
...props$1p,
|
|
941
941
|
mode: {
|
|
@@ -975,9 +975,9 @@ const TransitionSlide = defineComponent({
|
|
|
975
975
|
}
|
|
976
976
|
});
|
|
977
977
|
|
|
978
|
-
const COMPONENT_NAME$
|
|
978
|
+
const COMPONENT_NAME$21 = "vc-transition-zoom";
|
|
979
979
|
const TransitionZoom = defineComponent({
|
|
980
|
-
name: COMPONENT_NAME$
|
|
980
|
+
name: COMPONENT_NAME$21,
|
|
981
981
|
props: {
|
|
982
982
|
...props$1p,
|
|
983
983
|
mode: {
|
|
@@ -1019,7 +1019,7 @@ const TransitionZoom = defineComponent({
|
|
|
1019
1019
|
|
|
1020
1020
|
/** @jsxImportSource vue */
|
|
1021
1021
|
|
|
1022
|
-
const COMPONENT_NAME$
|
|
1022
|
+
const COMPONENT_NAME$20 = 'vc-alert';
|
|
1023
1023
|
|
|
1024
1024
|
// [color, borderColor, backgroundColor], -> CSS
|
|
1025
1025
|
const THEME_MAP = {
|
|
@@ -1029,7 +1029,7 @@ const THEME_MAP = {
|
|
|
1029
1029
|
warning: ['#ffbf00', '#ffe58f', '#fffbe6']
|
|
1030
1030
|
};
|
|
1031
1031
|
const Alert = /* @__PURE__ */ defineComponent({
|
|
1032
|
-
name: COMPONENT_NAME$
|
|
1032
|
+
name: COMPONENT_NAME$20,
|
|
1033
1033
|
props: props$1r,
|
|
1034
1034
|
setup(props, {
|
|
1035
1035
|
slots,
|
|
@@ -1135,9 +1135,9 @@ const props$1o = {
|
|
|
1135
1135
|
/** @jsxImportSource vue */
|
|
1136
1136
|
|
|
1137
1137
|
const isTouch = typeof document !== 'undefined' && 'ontouchend' in document;
|
|
1138
|
-
const COMPONENT_NAME$
|
|
1138
|
+
const COMPONENT_NAME$1$ = 'vc-artboard';
|
|
1139
1139
|
const Artboard = /* @__PURE__ */ defineComponent({
|
|
1140
|
-
name: COMPONENT_NAME$
|
|
1140
|
+
name: COMPONENT_NAME$1$,
|
|
1141
1141
|
props: props$1o,
|
|
1142
1142
|
setup(props, {
|
|
1143
1143
|
emit,
|
|
@@ -1365,9 +1365,9 @@ const props$1n = {
|
|
|
1365
1365
|
|
|
1366
1366
|
/** @jsxImportSource vue */
|
|
1367
1367
|
|
|
1368
|
-
const COMPONENT_NAME$
|
|
1368
|
+
const COMPONENT_NAME$1_ = 'vc-spin';
|
|
1369
1369
|
const Spin = /* @__PURE__ */ defineComponent({
|
|
1370
|
-
name: COMPONENT_NAME$
|
|
1370
|
+
name: COMPONENT_NAME$1_,
|
|
1371
1371
|
props: props$1n,
|
|
1372
1372
|
setup(props, {
|
|
1373
1373
|
slots
|
|
@@ -1418,9 +1418,9 @@ const props$1m = {
|
|
|
1418
1418
|
exclude: RegExp
|
|
1419
1419
|
};
|
|
1420
1420
|
|
|
1421
|
-
const COMPONENT_NAME$
|
|
1421
|
+
const COMPONENT_NAME$1Z = "vc-debounce";
|
|
1422
1422
|
const Debounce = defineComponent({
|
|
1423
|
-
name: COMPONENT_NAME$
|
|
1423
|
+
name: COMPONENT_NAME$1Z,
|
|
1424
1424
|
props: props$1m,
|
|
1425
1425
|
/**
|
|
1426
1426
|
* 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
|
|
@@ -1494,9 +1494,9 @@ const props$1l = {
|
|
|
1494
1494
|
|
|
1495
1495
|
/** @jsxImportSource vue */
|
|
1496
1496
|
|
|
1497
|
-
const COMPONENT_NAME$
|
|
1497
|
+
const COMPONENT_NAME$1Y = 'vc-button';
|
|
1498
1498
|
const Button = /* @__PURE__ */ defineComponent({
|
|
1499
|
-
name: COMPONENT_NAME$
|
|
1499
|
+
name: COMPONENT_NAME$1Y,
|
|
1500
1500
|
emits: ['click'],
|
|
1501
1501
|
props: props$1l,
|
|
1502
1502
|
setup(props, {
|
|
@@ -1580,9 +1580,9 @@ const props$1k = {
|
|
|
1580
1580
|
|
|
1581
1581
|
/** @jsxImportSource vue */
|
|
1582
1582
|
|
|
1583
|
-
const COMPONENT_NAME$
|
|
1583
|
+
const COMPONENT_NAME$1X = 'vc-button-group';
|
|
1584
1584
|
const ButtonGroup = /* @__PURE__ */ defineComponent({
|
|
1585
|
-
name: COMPONENT_NAME$
|
|
1585
|
+
name: COMPONENT_NAME$1X,
|
|
1586
1586
|
props: props$1k,
|
|
1587
1587
|
setup(props, {
|
|
1588
1588
|
slots
|
|
@@ -1616,9 +1616,9 @@ const props$1j = {
|
|
|
1616
1616
|
|
|
1617
1617
|
/** @jsxImportSource vue */
|
|
1618
1618
|
|
|
1619
|
-
const COMPONENT_NAME$
|
|
1619
|
+
const COMPONENT_NAME$1W = 'vc-calendar';
|
|
1620
1620
|
const Calendar = /* @__PURE__ */ defineComponent({
|
|
1621
|
-
name: COMPONENT_NAME$
|
|
1621
|
+
name: COMPONENT_NAME$1W,
|
|
1622
1622
|
props: props$1j,
|
|
1623
1623
|
setup(props, {
|
|
1624
1624
|
slots
|
|
@@ -1656,9 +1656,9 @@ const props$1i = {
|
|
|
1656
1656
|
|
|
1657
1657
|
/** @jsxImportSource vue */
|
|
1658
1658
|
|
|
1659
|
-
const COMPONENT_NAME$
|
|
1659
|
+
const COMPONENT_NAME$1V = 'vc-card';
|
|
1660
1660
|
const Card = /* @__PURE__ */ defineComponent({
|
|
1661
|
-
name: COMPONENT_NAME$
|
|
1661
|
+
name: COMPONENT_NAME$1V,
|
|
1662
1662
|
props: props$1i,
|
|
1663
1663
|
setup(props, {
|
|
1664
1664
|
slots
|
|
@@ -1694,9 +1694,9 @@ const props$1h = {
|
|
|
1694
1694
|
|
|
1695
1695
|
/** @jsxImportSource vue */
|
|
1696
1696
|
|
|
1697
|
-
const COMPONENT_NAME$
|
|
1697
|
+
const COMPONENT_NAME$1U = 'vc-carousel';
|
|
1698
1698
|
const Carousel = /* @__PURE__ */ defineComponent({
|
|
1699
|
-
name: COMPONENT_NAME$
|
|
1699
|
+
name: COMPONENT_NAME$1U,
|
|
1700
1700
|
props: props$1h,
|
|
1701
1701
|
setup(props, {
|
|
1702
1702
|
slots
|
|
@@ -1990,9 +1990,9 @@ const useNativeEmitter = (input, expose) => {
|
|
|
1990
1990
|
|
|
1991
1991
|
/** @jsxImportSource vue */
|
|
1992
1992
|
|
|
1993
|
-
const COMPONENT_NAME$
|
|
1993
|
+
const COMPONENT_NAME$1T = 'vc-input';
|
|
1994
1994
|
const Input = /* @__PURE__ */ defineComponent({
|
|
1995
|
-
name: COMPONENT_NAME$
|
|
1995
|
+
name: COMPONENT_NAME$1T,
|
|
1996
1996
|
inheritAttrs: false,
|
|
1997
1997
|
props: {
|
|
1998
1998
|
...props$1g,
|
|
@@ -2327,9 +2327,9 @@ const useInputNumber = () => {
|
|
|
2327
2327
|
|
|
2328
2328
|
/** @jsxImportSource vue */
|
|
2329
2329
|
|
|
2330
|
-
const COMPONENT_NAME$
|
|
2330
|
+
const COMPONENT_NAME$1S = 'vc-input-number';
|
|
2331
2331
|
const InputNumber = /* @__PURE__ */ defineComponent({
|
|
2332
|
-
name: COMPONENT_NAME$
|
|
2332
|
+
name: COMPONENT_NAME$1S,
|
|
2333
2333
|
props: props$1f,
|
|
2334
2334
|
inheritAttrs: false,
|
|
2335
2335
|
setup(props, {
|
|
@@ -2393,9 +2393,9 @@ const props$1e = {
|
|
|
2393
2393
|
|
|
2394
2394
|
/** @jsxImportSource vue */
|
|
2395
2395
|
|
|
2396
|
-
const COMPONENT_NAME$
|
|
2396
|
+
const COMPONENT_NAME$1R = 'vc-input-search';
|
|
2397
2397
|
const InputSearch = /* @__PURE__ */ defineComponent({
|
|
2398
|
-
name: COMPONENT_NAME$
|
|
2398
|
+
name: COMPONENT_NAME$1R,
|
|
2399
2399
|
props: props$1e,
|
|
2400
2400
|
inheritAttrs: false,
|
|
2401
2401
|
setup(props, {
|
|
@@ -2788,9 +2788,9 @@ const props$1b = {
|
|
|
2788
2788
|
}
|
|
2789
2789
|
};
|
|
2790
2790
|
|
|
2791
|
-
const COMPONENT_NAME$
|
|
2791
|
+
const COMPONENT_NAME$1Q = "vc-customer";
|
|
2792
2792
|
const Customer = defineComponent({
|
|
2793
|
-
name: COMPONENT_NAME$
|
|
2793
|
+
name: COMPONENT_NAME$1Q,
|
|
2794
2794
|
props: props$1b,
|
|
2795
2795
|
setup(props, context) {
|
|
2796
2796
|
return () => h(() => {
|
|
@@ -2866,7 +2866,7 @@ class PortalLeaf {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
}
|
|
2868
2868
|
|
|
2869
|
-
const COMPONENT_NAME$
|
|
2869
|
+
const COMPONENT_NAME$1P = "vc-portal";
|
|
2870
2870
|
class Portal {
|
|
2871
2871
|
/**
|
|
2872
2872
|
* 清理Portals类型组件
|
|
@@ -2918,7 +2918,7 @@ class Portal {
|
|
|
2918
2918
|
this.wrapper = wrapper;
|
|
2919
2919
|
this.globalOptions = {
|
|
2920
2920
|
...options,
|
|
2921
|
-
name: options?.name || wrapper.name || Utils.getUid(COMPONENT_NAME$
|
|
2921
|
+
name: options?.name || wrapper.name || Utils.getUid(COMPONENT_NAME$1P)
|
|
2922
2922
|
};
|
|
2923
2923
|
}
|
|
2924
2924
|
popup(propsData, options) {
|
|
@@ -3017,7 +3017,7 @@ class Portal {
|
|
|
3017
3017
|
...rest
|
|
3018
3018
|
} = options;
|
|
3019
3019
|
let useAllNodes = fragment;
|
|
3020
|
-
const name = multiple ? `${name$}__${Utils.getUid(COMPONENT_NAME$
|
|
3020
|
+
const name = multiple ? `${name$}__${Utils.getUid(COMPONENT_NAME$1P)}` : name$;
|
|
3021
3021
|
const container = document.createElement(tag);
|
|
3022
3022
|
const root = typeof el === "object" ? el : document.querySelector(el || "body");
|
|
3023
3023
|
!alive && Portal.leafs.get(name)?.destroy();
|
|
@@ -3052,7 +3052,7 @@ class Portal {
|
|
|
3052
3052
|
} else {
|
|
3053
3053
|
const wrapper = this.wrapper;
|
|
3054
3054
|
const app = createApp({
|
|
3055
|
-
name: COMPONENT_NAME$
|
|
3055
|
+
name: COMPONENT_NAME$1P,
|
|
3056
3056
|
parent,
|
|
3057
3057
|
setup() {
|
|
3058
3058
|
if (alive) {
|
|
@@ -3166,13 +3166,13 @@ const props$1a = {
|
|
|
3166
3166
|
}
|
|
3167
3167
|
};
|
|
3168
3168
|
|
|
3169
|
-
const COMPONENT_NAME$
|
|
3169
|
+
const COMPONENT_NAME$1O = 'vc-portal-view';
|
|
3170
3170
|
|
|
3171
3171
|
/**
|
|
3172
3172
|
* 写法不同,但与vue@2.x 保持一致
|
|
3173
3173
|
*/
|
|
3174
3174
|
const PortalView = /* @__PURE__ */ defineComponent({
|
|
3175
|
-
name: COMPONENT_NAME$
|
|
3175
|
+
name: COMPONENT_NAME$1O,
|
|
3176
3176
|
props: props$1a,
|
|
3177
3177
|
setup(props, {
|
|
3178
3178
|
slots
|
|
@@ -3192,9 +3192,9 @@ const PortalView = /* @__PURE__ */ defineComponent({
|
|
|
3192
3192
|
|
|
3193
3193
|
/** @jsxImportSource vue */
|
|
3194
3194
|
|
|
3195
|
-
const COMPONENT_NAME$
|
|
3195
|
+
const COMPONENT_NAME$1N = 'vc-popover-wrapper';
|
|
3196
3196
|
const PopoverWrapper = /* @__PURE__ */ defineComponent({
|
|
3197
|
-
name: COMPONENT_NAME$
|
|
3197
|
+
name: COMPONENT_NAME$1N,
|
|
3198
3198
|
props: props$1d,
|
|
3199
3199
|
emits: ['portal-fulfilled', 'close'],
|
|
3200
3200
|
setup(props, {
|
|
@@ -3452,9 +3452,9 @@ const PopoverPortal = new Portal(PopoverWrapper, {
|
|
|
3452
3452
|
|
|
3453
3453
|
/** @jsxImportSource vue */
|
|
3454
3454
|
|
|
3455
|
-
const COMPONENT_NAME$
|
|
3455
|
+
const COMPONENT_NAME$1M = 'vc-popover';
|
|
3456
3456
|
const Popover$1 = /* @__PURE__ */ defineComponent({
|
|
3457
|
-
name: COMPONENT_NAME$
|
|
3457
|
+
name: COMPONENT_NAME$1M,
|
|
3458
3458
|
props: props$1c,
|
|
3459
3459
|
emits: ['update:modelValue', 'visible-change', 'ready', 'close'],
|
|
3460
3460
|
setup(props, {
|
|
@@ -3598,9 +3598,9 @@ const Popover = Object.assign(Popover$1, {
|
|
|
3598
3598
|
|
|
3599
3599
|
/** @jsxImportSource vue */
|
|
3600
3600
|
|
|
3601
|
-
const COMPONENT_NAME$
|
|
3601
|
+
const COMPONENT_NAME$1L = 'vc-cascader-column';
|
|
3602
3602
|
const CascaderColumn = /* @__PURE__ */ defineComponent({
|
|
3603
|
-
name: COMPONENT_NAME$
|
|
3603
|
+
name: COMPONENT_NAME$1L,
|
|
3604
3604
|
emits: ['click', 'change'],
|
|
3605
3605
|
props: {
|
|
3606
3606
|
data: {
|
|
@@ -3808,9 +3808,9 @@ const props$18 = {
|
|
|
3808
3808
|
|
|
3809
3809
|
/** @jsxImportSource vue */
|
|
3810
3810
|
|
|
3811
|
-
const COMPONENT_NAME$
|
|
3811
|
+
const COMPONENT_NAME$1K = 'vc-cascader';
|
|
3812
3812
|
const Cascader = /* @__PURE__ */ defineComponent({
|
|
3813
|
-
name: COMPONENT_NAME$
|
|
3813
|
+
name: COMPONENT_NAME$1K,
|
|
3814
3814
|
inheritAttrs: false,
|
|
3815
3815
|
props: props$18,
|
|
3816
3816
|
emits: ['update:modelValue', 'visible-change', 'ready', 'change', 'close'],
|
|
@@ -4163,9 +4163,9 @@ const props$17 = {
|
|
|
4163
4163
|
|
|
4164
4164
|
/** @jsxImportSource vue */
|
|
4165
4165
|
|
|
4166
|
-
const COMPONENT_NAME$
|
|
4166
|
+
const COMPONENT_NAME$1J = 'vc-chart';
|
|
4167
4167
|
const Chart = /* @__PURE__ */ defineComponent({
|
|
4168
|
-
name: COMPONENT_NAME$
|
|
4168
|
+
name: COMPONENT_NAME$1J,
|
|
4169
4169
|
props: props$17,
|
|
4170
4170
|
emits: [...EVENTS, 'ready'],
|
|
4171
4171
|
setup(props, {
|
|
@@ -4397,9 +4397,9 @@ const useCheckbox = () => {
|
|
|
4397
4397
|
|
|
4398
4398
|
/** @jsxImportSource vue */
|
|
4399
4399
|
|
|
4400
|
-
const COMPONENT_NAME$
|
|
4400
|
+
const COMPONENT_NAME$1I = 'vc-checkbox';
|
|
4401
4401
|
const Checkbox = /* @__PURE__ */ defineComponent({
|
|
4402
|
-
name: COMPONENT_NAME$
|
|
4402
|
+
name: COMPONENT_NAME$1I,
|
|
4403
4403
|
props: props$16,
|
|
4404
4404
|
emits: ['update:modelValue', 'change'],
|
|
4405
4405
|
setup(props, {
|
|
@@ -4486,9 +4486,9 @@ const useCheckboxGroup = () => {
|
|
|
4486
4486
|
|
|
4487
4487
|
/** @jsxImportSource vue */
|
|
4488
4488
|
|
|
4489
|
-
const COMPONENT_NAME$
|
|
4489
|
+
const COMPONENT_NAME$1H = 'vc-checkbox-group';
|
|
4490
4490
|
const CheckboxGroup = /* @__PURE__ */ defineComponent({
|
|
4491
|
-
name: COMPONENT_NAME$
|
|
4491
|
+
name: COMPONENT_NAME$1H,
|
|
4492
4492
|
props: props$15,
|
|
4493
4493
|
emits: ['update:modelValue', 'change'],
|
|
4494
4494
|
setup(props, {
|
|
@@ -4506,9 +4506,9 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent({
|
|
|
4506
4506
|
|
|
4507
4507
|
/** @jsxImportSource vue */
|
|
4508
4508
|
|
|
4509
|
-
const COMPONENT_NAME$
|
|
4509
|
+
const COMPONENT_NAME$1G = 'vcm-checkbox';
|
|
4510
4510
|
const MCheckbox = /* @__PURE__ */ defineComponent({
|
|
4511
|
-
name: COMPONENT_NAME$
|
|
4511
|
+
name: COMPONENT_NAME$1G,
|
|
4512
4512
|
props: props$16,
|
|
4513
4513
|
emits: ['update:modelValue', 'change'],
|
|
4514
4514
|
setup(props, {
|
|
@@ -4548,9 +4548,9 @@ const MCheckbox = /* @__PURE__ */ defineComponent({
|
|
|
4548
4548
|
|
|
4549
4549
|
/** @jsxImportSource vue */
|
|
4550
4550
|
|
|
4551
|
-
const COMPONENT_NAME$
|
|
4551
|
+
const COMPONENT_NAME$1F = 'vcm-checkbox-group';
|
|
4552
4552
|
const MCheckboxGroup = /* @__PURE__ */ defineComponent({
|
|
4553
|
-
name: COMPONENT_NAME$
|
|
4553
|
+
name: COMPONENT_NAME$1F,
|
|
4554
4554
|
props: props$15,
|
|
4555
4555
|
emits: ['update:modelValue', 'change'],
|
|
4556
4556
|
setup(props, {
|
|
@@ -4604,9 +4604,9 @@ const props$14 = {
|
|
|
4604
4604
|
|
|
4605
4605
|
/** @jsxImportSource vue */
|
|
4606
4606
|
|
|
4607
|
-
const COMPONENT_NAME$
|
|
4607
|
+
const COMPONENT_NAME$1E = 'vc-message';
|
|
4608
4608
|
const MessageView = /* @__PURE__ */ defineComponent({
|
|
4609
|
-
name: COMPONENT_NAME$
|
|
4609
|
+
name: COMPONENT_NAME$1E,
|
|
4610
4610
|
emits: ['before-close', 'close', 'portal-fulfilled'],
|
|
4611
4611
|
props: props$14,
|
|
4612
4612
|
setup(props, {
|
|
@@ -4855,9 +4855,9 @@ const useClipboard = (done) => {
|
|
|
4855
4855
|
return () => h(props.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
|
|
4856
4856
|
};
|
|
4857
4857
|
|
|
4858
|
-
const COMPONENT_NAME$
|
|
4858
|
+
const COMPONENT_NAME$1D = "vc-clipboard";
|
|
4859
4859
|
const Clipboard$1 = defineComponent({
|
|
4860
|
-
name: COMPONENT_NAME$
|
|
4860
|
+
name: COMPONENT_NAME$1D,
|
|
4861
4861
|
props: props$13,
|
|
4862
4862
|
setup() {
|
|
4863
4863
|
return useClipboard((content) => Message.success({ content }));
|
|
@@ -4897,9 +4897,9 @@ const MTransitionZoom = TransitionZoom;
|
|
|
4897
4897
|
|
|
4898
4898
|
/** @jsxImportSource vue */
|
|
4899
4899
|
|
|
4900
|
-
const COMPONENT_NAME$
|
|
4900
|
+
const COMPONENT_NAME$1C = 'vcm-toast';
|
|
4901
4901
|
const MToastView = /* @__PURE__ */ defineComponent({
|
|
4902
|
-
name: COMPONENT_NAME$
|
|
4902
|
+
name: COMPONENT_NAME$1C,
|
|
4903
4903
|
emits: ['close', 'portal-fulfilled'],
|
|
4904
4904
|
props: props$12,
|
|
4905
4905
|
setup(props, {
|
|
@@ -5001,9 +5001,9 @@ const warning$2 = create$3({ mode: "warning" });
|
|
|
5001
5001
|
const error$2 = create$3({ mode: "error" });
|
|
5002
5002
|
const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
|
|
5003
5003
|
|
|
5004
|
-
const COMPONENT_NAME$
|
|
5004
|
+
const COMPONENT_NAME$1B = "vcm-clipboard";
|
|
5005
5005
|
const MClipboard$1 = defineComponent({
|
|
5006
|
-
name: COMPONENT_NAME$
|
|
5006
|
+
name: COMPONENT_NAME$1B,
|
|
5007
5007
|
props: props$13,
|
|
5008
5008
|
setup() {
|
|
5009
5009
|
return useClipboard((content) => MToast.info({ content }));
|
|
@@ -5035,9 +5035,9 @@ const props$11 = {
|
|
|
5035
5035
|
}
|
|
5036
5036
|
};
|
|
5037
5037
|
|
|
5038
|
-
const COMPONENT_NAME$
|
|
5038
|
+
const COMPONENT_NAME$1A = "vc-collapse";
|
|
5039
5039
|
const Collapse = defineComponent({
|
|
5040
|
-
name: COMPONENT_NAME$
|
|
5040
|
+
name: COMPONENT_NAME$1A,
|
|
5041
5041
|
props: props$11,
|
|
5042
5042
|
emits: ["update:moodelValue", "change"],
|
|
5043
5043
|
setup(props, { slots, emit }) {
|
|
@@ -5154,9 +5154,9 @@ const props$$ = {
|
|
|
5154
5154
|
function _isSlot$2(s) {
|
|
5155
5155
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
5156
5156
|
}
|
|
5157
|
-
const COMPONENT_NAME$
|
|
5157
|
+
const COMPONENT_NAME$1z = 'vc-expand';
|
|
5158
5158
|
const Expand$1 = /* @__PURE__ */ defineComponent({
|
|
5159
|
-
name: COMPONENT_NAME$
|
|
5159
|
+
name: COMPONENT_NAME$1z,
|
|
5160
5160
|
props: props$$,
|
|
5161
5161
|
setup(props, {
|
|
5162
5162
|
slots
|
|
@@ -5186,9 +5186,9 @@ const Expand$1 = /* @__PURE__ */ defineComponent({
|
|
|
5186
5186
|
|
|
5187
5187
|
/** @jsxImportSource vue */
|
|
5188
5188
|
|
|
5189
|
-
const COMPONENT_NAME$
|
|
5189
|
+
const COMPONENT_NAME$1y = 'vc-collapse-item';
|
|
5190
5190
|
const CollapseItem = /* @__PURE__ */ defineComponent({
|
|
5191
|
-
name: COMPONENT_NAME$
|
|
5191
|
+
name: COMPONENT_NAME$1y,
|
|
5192
5192
|
props: props$10,
|
|
5193
5193
|
setup(props, {
|
|
5194
5194
|
slots,
|
|
@@ -5263,9 +5263,9 @@ const props$_ = {
|
|
|
5263
5263
|
|
|
5264
5264
|
/** @jsxImportSource vue */
|
|
5265
5265
|
|
|
5266
|
-
const COMPONENT_NAME$
|
|
5266
|
+
const COMPONENT_NAME$1x = 'vc-color-picker';
|
|
5267
5267
|
const ColorPicker = /* @__PURE__ */ defineComponent({
|
|
5268
|
-
name: COMPONENT_NAME$
|
|
5268
|
+
name: COMPONENT_NAME$1x,
|
|
5269
5269
|
props: props$_,
|
|
5270
5270
|
setup(props, {
|
|
5271
5271
|
slots
|
|
@@ -5328,9 +5328,9 @@ const formatter = (format, arr) => {
|
|
|
5328
5328
|
function _isSlot$1(s) {
|
|
5329
5329
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
5330
5330
|
}
|
|
5331
|
-
const COMPONENT_NAME$
|
|
5331
|
+
const COMPONENT_NAME$1w = 'vc-countdown';
|
|
5332
5332
|
const Countdown = /* @__PURE__ */ defineComponent({
|
|
5333
|
-
name: COMPONENT_NAME$
|
|
5333
|
+
name: COMPONENT_NAME$1w,
|
|
5334
5334
|
props: props$Z,
|
|
5335
5335
|
emits: ['change', 'finish', 'error'],
|
|
5336
5336
|
setup(props, {
|
|
@@ -6523,9 +6523,9 @@ const getTimeType = type => {
|
|
|
6523
6523
|
}
|
|
6524
6524
|
return view;
|
|
6525
6525
|
};
|
|
6526
|
-
const COMPONENT_NAME$
|
|
6526
|
+
const COMPONENT_NAME$1v = 'vc-date-confirm';
|
|
6527
6527
|
const Confirm = /* @__PURE__ */ defineComponent({
|
|
6528
|
-
name: COMPONENT_NAME$
|
|
6528
|
+
name: COMPONENT_NAME$1v,
|
|
6529
6529
|
props: {
|
|
6530
6530
|
showTime: {
|
|
6531
6531
|
type: Boolean,
|
|
@@ -6589,9 +6589,9 @@ const Confirm = /* @__PURE__ */ defineComponent({
|
|
|
6589
6589
|
|
|
6590
6590
|
/** @jsxImportSource vue */
|
|
6591
6591
|
|
|
6592
|
-
const COMPONENT_NAME$
|
|
6592
|
+
const COMPONENT_NAME$1u = 'vc-date-header';
|
|
6593
6593
|
const DateHeader = /* @__PURE__ */ defineComponent({
|
|
6594
|
-
name: COMPONENT_NAME$
|
|
6594
|
+
name: COMPONENT_NAME$1u,
|
|
6595
6595
|
props: {
|
|
6596
6596
|
panelDate: Date,
|
|
6597
6597
|
showNext: {
|
|
@@ -6675,9 +6675,9 @@ const DateHeader = /* @__PURE__ */ defineComponent({
|
|
|
6675
6675
|
|
|
6676
6676
|
/** @jsxImportSource vue */
|
|
6677
6677
|
|
|
6678
|
-
const COMPONENT_NAME$
|
|
6678
|
+
const COMPONENT_NAME$1t = 'vc-date-table';
|
|
6679
6679
|
const DateTable = /* @__PURE__ */ defineComponent({
|
|
6680
|
-
name: COMPONENT_NAME$
|
|
6680
|
+
name: COMPONENT_NAME$1t,
|
|
6681
6681
|
props: {
|
|
6682
6682
|
value: Array,
|
|
6683
6683
|
firstDayOfWeek: {
|
|
@@ -6886,9 +6886,9 @@ const DateTable = /* @__PURE__ */ defineComponent({
|
|
|
6886
6886
|
|
|
6887
6887
|
/** @jsxImportSource vue */
|
|
6888
6888
|
|
|
6889
|
-
const COMPONENT_NAME$
|
|
6889
|
+
const COMPONENT_NAME$1s = 'vc-month-table';
|
|
6890
6890
|
const MonthTable = /* @__PURE__ */ defineComponent({
|
|
6891
|
-
name: COMPONENT_NAME$
|
|
6891
|
+
name: COMPONENT_NAME$1s,
|
|
6892
6892
|
props: {
|
|
6893
6893
|
value: Array,
|
|
6894
6894
|
panelDate: Date,
|
|
@@ -7020,7 +7020,7 @@ const MonthTable = /* @__PURE__ */ defineComponent({
|
|
|
7020
7020
|
|
|
7021
7021
|
/** @jsxImportSource vue */
|
|
7022
7022
|
|
|
7023
|
-
const COMPONENT_NAME$
|
|
7023
|
+
const COMPONENT_NAME$1r = 'vc-quarter-table';
|
|
7024
7024
|
|
|
7025
7025
|
/**
|
|
7026
7026
|
* 获取季度对应的月份范围
|
|
@@ -7054,7 +7054,7 @@ const getQuarterRangeByMonth = value => {
|
|
|
7054
7054
|
}
|
|
7055
7055
|
};
|
|
7056
7056
|
const QuarterTable = /* @__PURE__ */ defineComponent({
|
|
7057
|
-
name: COMPONENT_NAME$
|
|
7057
|
+
name: COMPONENT_NAME$1r,
|
|
7058
7058
|
props: {
|
|
7059
7059
|
value: Array,
|
|
7060
7060
|
panelDate: Date,
|
|
@@ -7177,9 +7177,9 @@ const QuarterTable = /* @__PURE__ */ defineComponent({
|
|
|
7177
7177
|
|
|
7178
7178
|
/** @jsxImportSource vue */
|
|
7179
7179
|
|
|
7180
|
-
const COMPONENT_NAME$
|
|
7180
|
+
const COMPONENT_NAME$1q = 'vc-shortcuts-select';
|
|
7181
7181
|
const ShortcutsSelect = /* @__PURE__ */ defineComponent({
|
|
7182
|
-
name: COMPONENT_NAME$
|
|
7182
|
+
name: COMPONENT_NAME$1q,
|
|
7183
7183
|
props: {
|
|
7184
7184
|
panelDate: Date,
|
|
7185
7185
|
config: Array,
|
|
@@ -7219,9 +7219,9 @@ const ShortcutsSelect = /* @__PURE__ */ defineComponent({
|
|
|
7219
7219
|
|
|
7220
7220
|
/** @jsxImportSource vue */
|
|
7221
7221
|
|
|
7222
|
-
const COMPONENT_NAME$
|
|
7222
|
+
const COMPONENT_NAME$1p = 'vc-time-select';
|
|
7223
7223
|
const TimeSelect = /* @__PURE__ */ defineComponent({
|
|
7224
|
-
name: COMPONENT_NAME$
|
|
7224
|
+
name: COMPONENT_NAME$1p,
|
|
7225
7225
|
props: {
|
|
7226
7226
|
hours: {
|
|
7227
7227
|
type: [Number, String],
|
|
@@ -7501,9 +7501,9 @@ const TimeSelect = /* @__PURE__ */ defineComponent({
|
|
|
7501
7501
|
|
|
7502
7502
|
/** @jsxImportSource vue */
|
|
7503
7503
|
|
|
7504
|
-
const COMPONENT_NAME$
|
|
7504
|
+
const COMPONENT_NAME$1o = 'vc-year-table';
|
|
7505
7505
|
const YearTable = /* @__PURE__ */ defineComponent({
|
|
7506
|
-
name: COMPONENT_NAME$
|
|
7506
|
+
name: COMPONENT_NAME$1o,
|
|
7507
7507
|
props: {
|
|
7508
7508
|
value: Array,
|
|
7509
7509
|
panelDate: Date,
|
|
@@ -7626,9 +7626,9 @@ const getDateIsInRange = (value, type, leftPanelDate, rightPanelDate) => {
|
|
|
7626
7626
|
}
|
|
7627
7627
|
return true;
|
|
7628
7628
|
};
|
|
7629
|
-
const COMPONENT_NAME$
|
|
7629
|
+
const COMPONENT_NAME$1n = 'vc-date-range-panel';
|
|
7630
7630
|
const DateRangePanel = /* @__PURE__ */ defineComponent({
|
|
7631
|
-
name: COMPONENT_NAME$
|
|
7631
|
+
name: COMPONENT_NAME$1n,
|
|
7632
7632
|
props: {
|
|
7633
7633
|
...props$W,
|
|
7634
7634
|
confirm: {
|
|
@@ -8007,9 +8007,9 @@ const DateRangePanel = /* @__PURE__ */ defineComponent({
|
|
|
8007
8007
|
|
|
8008
8008
|
/** @jsxImportSource vue */
|
|
8009
8009
|
|
|
8010
|
-
const COMPONENT_NAME$
|
|
8010
|
+
const COMPONENT_NAME$1m = 'vc-date-panel';
|
|
8011
8011
|
const DatePanel = /* @__PURE__ */ defineComponent({
|
|
8012
|
-
name: COMPONENT_NAME$
|
|
8012
|
+
name: COMPONENT_NAME$1m,
|
|
8013
8013
|
props: {
|
|
8014
8014
|
...props$W,
|
|
8015
8015
|
type: String,
|
|
@@ -8217,9 +8217,9 @@ const isEqualYear$1 = value => {
|
|
|
8217
8217
|
const endYear = value[1].getFullYear();
|
|
8218
8218
|
return startYear === endYear;
|
|
8219
8219
|
};
|
|
8220
|
-
const COMPONENT_NAME$
|
|
8220
|
+
const COMPONENT_NAME$1l = 'vc-monthrange-panel';
|
|
8221
8221
|
const MonthRangePanel = /* @__PURE__ */ defineComponent({
|
|
8222
|
-
name: COMPONENT_NAME$
|
|
8222
|
+
name: COMPONENT_NAME$1l,
|
|
8223
8223
|
props: {
|
|
8224
8224
|
...props$W,
|
|
8225
8225
|
confirm: {
|
|
@@ -8394,9 +8394,9 @@ const isEqualYear = value => {
|
|
|
8394
8394
|
const endYear = value[1].getFullYear();
|
|
8395
8395
|
return startYear === endYear;
|
|
8396
8396
|
};
|
|
8397
|
-
const COMPONENT_NAME$
|
|
8397
|
+
const COMPONENT_NAME$1k = 'vc-quarterrange-panel';
|
|
8398
8398
|
const QuarterRangePanel = /* @__PURE__ */ defineComponent({
|
|
8399
|
-
name: COMPONENT_NAME$
|
|
8399
|
+
name: COMPONENT_NAME$1k,
|
|
8400
8400
|
props: {
|
|
8401
8401
|
...props$W,
|
|
8402
8402
|
confirm: {
|
|
@@ -8635,9 +8635,9 @@ const getComparedDate = (leftDate, rightDate) => {
|
|
|
8635
8635
|
seconds
|
|
8636
8636
|
};
|
|
8637
8637
|
};
|
|
8638
|
-
const COMPONENT_NAME$
|
|
8638
|
+
const COMPONENT_NAME$1j = 'vc-timerange-panel';
|
|
8639
8639
|
const TimeRangePanel = /* @__PURE__ */ defineComponent({
|
|
8640
|
-
name: COMPONENT_NAME$
|
|
8640
|
+
name: COMPONENT_NAME$1j,
|
|
8641
8641
|
props: props$V,
|
|
8642
8642
|
emits: ['pick', 'clear', 'ok'],
|
|
8643
8643
|
setup(props, {
|
|
@@ -8738,9 +8738,9 @@ const TimeRangePanel = /* @__PURE__ */ defineComponent({
|
|
|
8738
8738
|
|
|
8739
8739
|
/** @jsxImportSource vue */
|
|
8740
8740
|
|
|
8741
|
-
const COMPONENT_NAME$
|
|
8741
|
+
const COMPONENT_NAME$1i = 'vc-time-panel';
|
|
8742
8742
|
const TimePanel = /* @__PURE__ */ defineComponent({
|
|
8743
|
-
name: COMPONENT_NAME$
|
|
8743
|
+
name: COMPONENT_NAME$1i,
|
|
8744
8744
|
props: props$V,
|
|
8745
8745
|
emits: ['pick', 'clear', 'ok'],
|
|
8746
8746
|
setup(props, {
|
|
@@ -8796,7 +8796,7 @@ const TimePanel = /* @__PURE__ */ defineComponent({
|
|
|
8796
8796
|
|
|
8797
8797
|
/** @jsxImportSource vue */
|
|
8798
8798
|
|
|
8799
|
-
const COMPONENT_NAME$
|
|
8799
|
+
const COMPONENT_NAME$1h = 'vc-date-picker';
|
|
8800
8800
|
const getPanel$1 = type => {
|
|
8801
8801
|
if (['daterange', 'datetimerange'].includes(type)) {
|
|
8802
8802
|
return DateRangePanel;
|
|
@@ -8807,7 +8807,7 @@ const getPanel$1 = type => {
|
|
|
8807
8807
|
}
|
|
8808
8808
|
return DatePanel;
|
|
8809
8809
|
};
|
|
8810
|
-
const DatePicker = createPicker(COMPONENT_NAME$
|
|
8810
|
+
const DatePicker = createPicker(COMPONENT_NAME$1h, props$Y, () => {
|
|
8811
8811
|
const props = getCurrentInstance().props;
|
|
8812
8812
|
const icon = ref('date');
|
|
8813
8813
|
const panel = shallowRef({});
|
|
@@ -8848,9 +8848,9 @@ const props$U = {
|
|
|
8848
8848
|
|
|
8849
8849
|
/** @jsxImportSource vue */
|
|
8850
8850
|
|
|
8851
|
-
const COMPONENT_NAME$
|
|
8851
|
+
const COMPONENT_NAME$1g = 'vc-divider';
|
|
8852
8852
|
const Divider = /* @__PURE__ */ defineComponent({
|
|
8853
|
-
name: COMPONENT_NAME$
|
|
8853
|
+
name: COMPONENT_NAME$1g,
|
|
8854
8854
|
props: props$U,
|
|
8855
8855
|
setup(props, {
|
|
8856
8856
|
slots
|
|
@@ -8986,7 +8986,7 @@ const props$R = {
|
|
|
8986
8986
|
|
|
8987
8987
|
/** @jsxImportSource vue */
|
|
8988
8988
|
|
|
8989
|
-
const COMPONENT_NAME$
|
|
8989
|
+
const COMPONENT_NAME$1f = 'vc-scroller-track';
|
|
8990
8990
|
const BAR_MAP = {
|
|
8991
8991
|
vertical: {
|
|
8992
8992
|
scroll: 'scrollTop',
|
|
@@ -9006,7 +9006,7 @@ const BAR_MAP = {
|
|
|
9006
9006
|
}
|
|
9007
9007
|
};
|
|
9008
9008
|
const Track = /* @__PURE__ */ defineComponent({
|
|
9009
|
-
name: COMPONENT_NAME$
|
|
9009
|
+
name: COMPONENT_NAME$1f,
|
|
9010
9010
|
props: props$T,
|
|
9011
9011
|
emits: ['change'],
|
|
9012
9012
|
inheritAttrs: false,
|
|
@@ -9196,9 +9196,9 @@ const Track = /* @__PURE__ */ defineComponent({
|
|
|
9196
9196
|
|
|
9197
9197
|
/** @jsxImportSource vue */
|
|
9198
9198
|
|
|
9199
|
-
const COMPONENT_NAME$
|
|
9199
|
+
const COMPONENT_NAME$1e = 'vc-scroller-bar';
|
|
9200
9200
|
const Bar = /* @__PURE__ */ defineComponent({
|
|
9201
|
-
name: COMPONENT_NAME$
|
|
9201
|
+
name: COMPONENT_NAME$1e,
|
|
9202
9202
|
props: props$S,
|
|
9203
9203
|
emits: ['change'],
|
|
9204
9204
|
setup(props, {
|
|
@@ -9432,7 +9432,7 @@ const useScroller = (expose) => {
|
|
|
9432
9432
|
|
|
9433
9433
|
/** @jsxImportSource vue */
|
|
9434
9434
|
|
|
9435
|
-
const COMPONENT_NAME$
|
|
9435
|
+
const COMPONENT_NAME$1d = 'vc-scroller';
|
|
9436
9436
|
|
|
9437
9437
|
/**
|
|
9438
9438
|
* 作为备选方案,目前推荐使用ScrollerWheel
|
|
@@ -9443,7 +9443,7 @@ const COMPONENT_NAME$1c = 'vc-scroller';
|
|
|
9443
9443
|
* 2. 增加了一层嵌套
|
|
9444
9444
|
*/
|
|
9445
9445
|
const Scroller = /* @__PURE__ */ defineComponent({
|
|
9446
|
-
name: COMPONENT_NAME$
|
|
9446
|
+
name: COMPONENT_NAME$1d,
|
|
9447
9447
|
props: props$R,
|
|
9448
9448
|
emits: ['scroll'],
|
|
9449
9449
|
setup(props, {
|
|
@@ -9504,7 +9504,7 @@ const Scroller = /* @__PURE__ */ defineComponent({
|
|
|
9504
9504
|
|
|
9505
9505
|
/** @jsxImportSource vue */
|
|
9506
9506
|
|
|
9507
|
-
const COMPONENT_NAME$
|
|
9507
|
+
const COMPONENT_NAME$1c = 'vc-scroller-wheel';
|
|
9508
9508
|
|
|
9509
9509
|
/**
|
|
9510
9510
|
* 为减少一层嵌套,为去除滚动bar的抖动,使用wheel模拟
|
|
@@ -9526,7 +9526,7 @@ const COMPONENT_NAME$1b = 'vc-scroller-wheel';
|
|
|
9526
9526
|
* 设置scrollTop不会reflow和repaint,不需要考虑transfrom来改变content(transform也只在draw完成)
|
|
9527
9527
|
*/
|
|
9528
9528
|
const ScrollerWheel = /* @__PURE__ */ defineComponent({
|
|
9529
|
-
name: COMPONENT_NAME$
|
|
9529
|
+
name: COMPONENT_NAME$1c,
|
|
9530
9530
|
props: Object.assign({}, props$R, {
|
|
9531
9531
|
stopPropagation: {
|
|
9532
9532
|
type: Boolean,
|
|
@@ -9715,9 +9715,9 @@ const props$Q = {
|
|
|
9715
9715
|
|
|
9716
9716
|
/** @jsxImportSource vue */
|
|
9717
9717
|
|
|
9718
|
-
const COMPONENT_NAME$
|
|
9718
|
+
const COMPONENT_NAME$1b = 'vc-drawer';
|
|
9719
9719
|
const DrawerView = /* @__PURE__ */ defineComponent({
|
|
9720
|
-
name: COMPONENT_NAME$
|
|
9720
|
+
name: COMPONENT_NAME$1b,
|
|
9721
9721
|
props: props$Q,
|
|
9722
9722
|
emits: ['close', 'update:modelValue', 'visible-change'],
|
|
9723
9723
|
setup(props, {
|
|
@@ -9906,9 +9906,9 @@ const props$P = {
|
|
|
9906
9906
|
|
|
9907
9907
|
/** @jsxImportSource vue */
|
|
9908
9908
|
|
|
9909
|
-
const COMPONENT_NAME$
|
|
9909
|
+
const COMPONENT_NAME$1a = 'vc-dropdown';
|
|
9910
9910
|
const Dropdown = /* @__PURE__ */ defineComponent({
|
|
9911
|
-
name: COMPONENT_NAME$
|
|
9911
|
+
name: COMPONENT_NAME$1a,
|
|
9912
9912
|
props: props$P,
|
|
9913
9913
|
inheritAttrs: false,
|
|
9914
9914
|
emits: ['update:modelValue', 'ready', 'close', 'visible-change', 'click'],
|
|
@@ -9978,9 +9978,9 @@ const Dropdown = /* @__PURE__ */ defineComponent({
|
|
|
9978
9978
|
|
|
9979
9979
|
/** @jsxImportSource vue */
|
|
9980
9980
|
|
|
9981
|
-
const COMPONENT_NAME$
|
|
9981
|
+
const COMPONENT_NAME$19 = 'vc-dropdown-menu';
|
|
9982
9982
|
const DropdownMenu = /* @__PURE__ */ defineComponent({
|
|
9983
|
-
name: COMPONENT_NAME$
|
|
9983
|
+
name: COMPONENT_NAME$19,
|
|
9984
9984
|
setup(_, {
|
|
9985
9985
|
slots
|
|
9986
9986
|
}) {
|
|
@@ -9994,9 +9994,9 @@ const DropdownMenu = /* @__PURE__ */ defineComponent({
|
|
|
9994
9994
|
|
|
9995
9995
|
/** @jsxImportSource vue */
|
|
9996
9996
|
|
|
9997
|
-
const COMPONENT_NAME$
|
|
9997
|
+
const COMPONENT_NAME$18 = 'vc-dropdown-item';
|
|
9998
9998
|
const DropdownItem = /* @__PURE__ */ defineComponent({
|
|
9999
|
-
name: COMPONENT_NAME$
|
|
9999
|
+
name: COMPONENT_NAME$18,
|
|
10000
10000
|
props: {
|
|
10001
10001
|
value: {
|
|
10002
10002
|
type: [String, Number],
|
|
@@ -10210,9 +10210,9 @@ const defaults = {
|
|
|
10210
10210
|
|
|
10211
10211
|
/** @jsxImportSource vue */
|
|
10212
10212
|
|
|
10213
|
-
const COMPONENT_NAME$
|
|
10213
|
+
const COMPONENT_NAME$17 = 'vc-editor-toolbar';
|
|
10214
10214
|
const EditorToolbar = /* @__PURE__ */ defineComponent({
|
|
10215
|
-
name: COMPONENT_NAME$
|
|
10215
|
+
name: COMPONENT_NAME$17,
|
|
10216
10216
|
props: {
|
|
10217
10217
|
options: [Array, Object],
|
|
10218
10218
|
elementId: String
|
|
@@ -10418,9 +10418,9 @@ const props$O = {
|
|
|
10418
10418
|
|
|
10419
10419
|
/** @jsxImportSource vue */
|
|
10420
10420
|
|
|
10421
|
-
const COMPONENT_NAME$
|
|
10421
|
+
const COMPONENT_NAME$16 = 'vc-image-preview';
|
|
10422
10422
|
const ImagePreview$1 = /* @__PURE__ */ defineComponent({
|
|
10423
|
-
name: COMPONENT_NAME$
|
|
10423
|
+
name: COMPONENT_NAME$16,
|
|
10424
10424
|
props: props$O,
|
|
10425
10425
|
setup(props, {
|
|
10426
10426
|
slots
|
|
@@ -10607,9 +10607,9 @@ const props$N = {
|
|
|
10607
10607
|
}
|
|
10608
10608
|
};
|
|
10609
10609
|
|
|
10610
|
-
const COMPONENT_NAME$
|
|
10610
|
+
const COMPONENT_NAME$15 = "vc-upload";
|
|
10611
10611
|
const Upload$1 = defineComponent({
|
|
10612
|
-
name: COMPONENT_NAME$
|
|
10612
|
+
name: COMPONENT_NAME$15,
|
|
10613
10613
|
props: props$N,
|
|
10614
10614
|
emits: [
|
|
10615
10615
|
"message",
|
|
@@ -11145,9 +11145,9 @@ const props$M = {
|
|
|
11145
11145
|
|
|
11146
11146
|
/** @jsxImportSource vue */
|
|
11147
11147
|
|
|
11148
|
-
const COMPONENT_NAME$
|
|
11148
|
+
const COMPONENT_NAME$14 = 'vc-editor';
|
|
11149
11149
|
const Editor = /* @__PURE__ */ defineComponent({
|
|
11150
|
-
name: COMPONENT_NAME$
|
|
11150
|
+
name: COMPONENT_NAME$14,
|
|
11151
11151
|
props: props$M,
|
|
11152
11152
|
emits: ['ready', 'blur', 'focus', 'input', 'update:modelValue', 'change'],
|
|
11153
11153
|
setup(props, {
|
|
@@ -11335,7 +11335,7 @@ const Editor = /* @__PURE__ */ defineComponent({
|
|
|
11335
11335
|
|
|
11336
11336
|
/** @jsxImportSource vue */
|
|
11337
11337
|
|
|
11338
|
-
const COMPONENT_NAME$
|
|
11338
|
+
const COMPONENT_NAME$13 = 'vc-editor-view';
|
|
11339
11339
|
const setImages = v => {
|
|
11340
11340
|
if (!v) return;
|
|
11341
11341
|
const IMG_REGX = /<img.*?(?:>|\/>)/gi;
|
|
@@ -11353,7 +11353,7 @@ const setImages = v => {
|
|
|
11353
11353
|
return;
|
|
11354
11354
|
};
|
|
11355
11355
|
const EditorView = /* @__PURE__ */ defineComponent({
|
|
11356
|
-
name: COMPONENT_NAME$
|
|
11356
|
+
name: COMPONENT_NAME$13,
|
|
11357
11357
|
props: {
|
|
11358
11358
|
value: {
|
|
11359
11359
|
type: String,
|
|
@@ -11423,6 +11423,7 @@ const EditorView = /* @__PURE__ */ defineComponent({
|
|
|
11423
11423
|
});
|
|
11424
11424
|
|
|
11425
11425
|
const MEditor = Editor;
|
|
11426
|
+
const MEditorView = EditorView;
|
|
11426
11427
|
|
|
11427
11428
|
const MExpand = Expand$1;
|
|
11428
11429
|
|
|
@@ -11567,9 +11568,9 @@ const useForm = (expose, options = {}) => {
|
|
|
11567
11568
|
});
|
|
11568
11569
|
};
|
|
11569
11570
|
|
|
11570
|
-
const COMPONENT_NAME$
|
|
11571
|
+
const COMPONENT_NAME$12 = "vc-form";
|
|
11571
11572
|
const Form = defineComponent({
|
|
11572
|
-
name: COMPONENT_NAME$
|
|
11573
|
+
name: COMPONENT_NAME$12,
|
|
11573
11574
|
props: props$L,
|
|
11574
11575
|
setup(props, { slots, expose }) {
|
|
11575
11576
|
useForm(expose);
|
|
@@ -11677,9 +11678,7 @@ const useFormItem = (expose) => {
|
|
|
11677
11678
|
return formItemRules;
|
|
11678
11679
|
});
|
|
11679
11680
|
const isRequired = computed(() => {
|
|
11680
|
-
if (
|
|
11681
|
-
return !!props.required;
|
|
11682
|
-
}
|
|
11681
|
+
if (props.required) return !!props.required;
|
|
11683
11682
|
let required = false;
|
|
11684
11683
|
for (let i = 0; i < currentRules.value.length; i++) {
|
|
11685
11684
|
const rule = currentRules.value[i];
|
|
@@ -11919,9 +11918,9 @@ const useFormItem = (expose) => {
|
|
|
11919
11918
|
|
|
11920
11919
|
/** @jsxImportSource vue */
|
|
11921
11920
|
|
|
11922
|
-
const COMPONENT_NAME$
|
|
11921
|
+
const COMPONENT_NAME$11 = 'vc-form-item';
|
|
11923
11922
|
const FormItem = /* @__PURE__ */ defineComponent({
|
|
11924
|
-
name: COMPONENT_NAME$
|
|
11923
|
+
name: COMPONENT_NAME$11,
|
|
11925
11924
|
props: props$K,
|
|
11926
11925
|
setup(props, {
|
|
11927
11926
|
slots,
|
|
@@ -11989,9 +11988,9 @@ const props$J = {
|
|
|
11989
11988
|
}
|
|
11990
11989
|
};
|
|
11991
11990
|
|
|
11992
|
-
const COMPONENT_NAME
|
|
11991
|
+
const COMPONENT_NAME$10 = "vcm-form";
|
|
11993
11992
|
const MForm = defineComponent({
|
|
11994
|
-
name: COMPONENT_NAME
|
|
11993
|
+
name: COMPONENT_NAME$10,
|
|
11995
11994
|
props: props$J,
|
|
11996
11995
|
setup(props, { slots, expose }) {
|
|
11997
11996
|
useForm(expose, {
|
|
@@ -12022,9 +12021,9 @@ const props$I = {
|
|
|
12022
12021
|
|
|
12023
12022
|
/** @jsxImportSource vue */
|
|
12024
12023
|
|
|
12025
|
-
const COMPONENT_NAME
|
|
12024
|
+
const COMPONENT_NAME$$ = 'vcm-form-item';
|
|
12026
12025
|
const MFormItem = /* @__PURE__ */ defineComponent({
|
|
12027
|
-
name: COMPONENT_NAME
|
|
12026
|
+
name: COMPONENT_NAME$$,
|
|
12028
12027
|
props: props$I,
|
|
12029
12028
|
setup(props, {
|
|
12030
12029
|
slots,
|
|
@@ -12079,9 +12078,9 @@ const MFormItem = /* @__PURE__ */ defineComponent({
|
|
|
12079
12078
|
}
|
|
12080
12079
|
});
|
|
12081
12080
|
|
|
12082
|
-
const COMPONENT_NAME$
|
|
12081
|
+
const COMPONENT_NAME$_ = "vc-fragment";
|
|
12083
12082
|
const Fragment = defineComponent({
|
|
12084
|
-
name: COMPONENT_NAME$
|
|
12083
|
+
name: COMPONENT_NAME$_,
|
|
12085
12084
|
setup(_, { slots }) {
|
|
12086
12085
|
return () => h(Fragment$1, slots.default?.());
|
|
12087
12086
|
}
|
|
@@ -12098,9 +12097,9 @@ const props$H = {
|
|
|
12098
12097
|
|
|
12099
12098
|
/** @jsxImportSource vue */
|
|
12100
12099
|
|
|
12101
|
-
const COMPONENT_NAME$
|
|
12100
|
+
const COMPONENT_NAME$Z = 'vc-html-to-image';
|
|
12102
12101
|
const HTMLToImage = /* @__PURE__ */ defineComponent({
|
|
12103
|
-
name: COMPONENT_NAME$
|
|
12102
|
+
name: COMPONENT_NAME$Z,
|
|
12104
12103
|
props: props$H,
|
|
12105
12104
|
setup(props, {
|
|
12106
12105
|
slots
|
|
@@ -12180,7 +12179,7 @@ const IMGStore$1 = new IMGStore();
|
|
|
12180
12179
|
|
|
12181
12180
|
/** @jsxImportSource vue */
|
|
12182
12181
|
|
|
12183
|
-
const COMPONENT_NAME$
|
|
12182
|
+
const COMPONENT_NAME$Y = 'vc-image';
|
|
12184
12183
|
let isSupportObjectFit = false;
|
|
12185
12184
|
window.addEventListener('DOMContentLoaded', () => {
|
|
12186
12185
|
isSupportObjectFit = !IS_SERVER$1 && document.documentElement.style.objectFit !== undefined;
|
|
@@ -12193,7 +12192,7 @@ const ObjectFit = {
|
|
|
12193
12192
|
SCALE_DOWN: 'scale-down'
|
|
12194
12193
|
};
|
|
12195
12194
|
const Image$1 = /* @__PURE__ */ defineComponent({
|
|
12196
|
-
name: COMPONENT_NAME$
|
|
12195
|
+
name: COMPONENT_NAME$Y,
|
|
12197
12196
|
inheritAttrs: false,
|
|
12198
12197
|
props: props$G,
|
|
12199
12198
|
setup(props, {
|
|
@@ -12410,9 +12409,9 @@ const props$F = {
|
|
|
12410
12409
|
|
|
12411
12410
|
/** @jsxImportSource vue */
|
|
12412
12411
|
|
|
12413
|
-
const COMPONENT_NAME$
|
|
12412
|
+
const COMPONENT_NAME$X = 'vc-image-crop';
|
|
12414
12413
|
const ImageCrop = /* @__PURE__ */ defineComponent({
|
|
12415
|
-
name: COMPONENT_NAME$
|
|
12414
|
+
name: COMPONENT_NAME$X,
|
|
12416
12415
|
props: props$F,
|
|
12417
12416
|
setup(props, {
|
|
12418
12417
|
slots
|
|
@@ -12438,9 +12437,9 @@ const props$E = {
|
|
|
12438
12437
|
|
|
12439
12438
|
/** @jsxImportSource vue */
|
|
12440
12439
|
|
|
12441
|
-
const COMPONENT_NAME$
|
|
12440
|
+
const COMPONENT_NAME$W = 'vc-image-processing';
|
|
12442
12441
|
const ImageProcessing = /* @__PURE__ */ defineComponent({
|
|
12443
|
-
name: COMPONENT_NAME$
|
|
12442
|
+
name: COMPONENT_NAME$W,
|
|
12444
12443
|
props: props$E,
|
|
12445
12444
|
setup(props, {
|
|
12446
12445
|
slots
|
|
@@ -12457,9 +12456,9 @@ const MImageProcessing = ImageProcessing;
|
|
|
12457
12456
|
|
|
12458
12457
|
/** @jsxImportSource vue */
|
|
12459
12458
|
|
|
12460
|
-
const COMPONENT_NAME$
|
|
12459
|
+
const COMPONENT_NAME$V = 'vcm-input';
|
|
12461
12460
|
const MInput = /* @__PURE__ */ defineComponent({
|
|
12462
|
-
name: COMPONENT_NAME$
|
|
12461
|
+
name: COMPONENT_NAME$V,
|
|
12463
12462
|
inheritAttrs: false,
|
|
12464
12463
|
props: {
|
|
12465
12464
|
...props$1g,
|
|
@@ -12548,9 +12547,9 @@ const MInput = /* @__PURE__ */ defineComponent({
|
|
|
12548
12547
|
|
|
12549
12548
|
/** @jsxImportSource vue */
|
|
12550
12549
|
|
|
12551
|
-
const COMPONENT_NAME$
|
|
12550
|
+
const COMPONENT_NAME$U = 'vcm-input-number';
|
|
12552
12551
|
const MInputNumber = /* @__PURE__ */ defineComponent({
|
|
12553
|
-
name: COMPONENT_NAME$
|
|
12552
|
+
name: COMPONENT_NAME$U,
|
|
12554
12553
|
props: props$1f,
|
|
12555
12554
|
inheritAttrs: false,
|
|
12556
12555
|
setup(props, {
|
|
@@ -12599,9 +12598,9 @@ const MInputNumber = /* @__PURE__ */ defineComponent({
|
|
|
12599
12598
|
|
|
12600
12599
|
/** @jsxImportSource vue */
|
|
12601
12600
|
|
|
12602
|
-
const COMPONENT_NAME$
|
|
12601
|
+
const COMPONENT_NAME$T = 'vcm-input-search';
|
|
12603
12602
|
const MInputSearch = /* @__PURE__ */ defineComponent({
|
|
12604
|
-
name: COMPONENT_NAME$
|
|
12603
|
+
name: COMPONENT_NAME$T,
|
|
12605
12604
|
props: {
|
|
12606
12605
|
...props$1e,
|
|
12607
12606
|
cancelText: {
|
|
@@ -12678,9 +12677,9 @@ const props$D = {
|
|
|
12678
12677
|
}
|
|
12679
12678
|
};
|
|
12680
12679
|
|
|
12681
|
-
const COMPONENT_NAME$
|
|
12680
|
+
const COMPONENT_NAME$S = "vcm-list";
|
|
12682
12681
|
const MList = defineComponent({
|
|
12683
|
-
name: COMPONENT_NAME$
|
|
12682
|
+
name: COMPONENT_NAME$S,
|
|
12684
12683
|
props: props$D,
|
|
12685
12684
|
setup(props, { slots }) {
|
|
12686
12685
|
provide("vc-list", { props });
|
|
@@ -12735,10 +12734,10 @@ const props$C = {
|
|
|
12735
12734
|
|
|
12736
12735
|
/** @jsxImportSource vue */
|
|
12737
12736
|
|
|
12738
|
-
const COMPONENT_NAME$
|
|
12737
|
+
const COMPONENT_NAME$R = 'vcm-list-item';
|
|
12739
12738
|
const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
|
|
12740
12739
|
const MListItem = /* @__PURE__ */ defineComponent({
|
|
12741
|
-
name: COMPONENT_NAME$
|
|
12740
|
+
name: COMPONENT_NAME$R,
|
|
12742
12741
|
props: props$C,
|
|
12743
12742
|
emits: ['click'],
|
|
12744
12743
|
setup(props, {
|
|
@@ -12832,11 +12831,11 @@ const props$B = {
|
|
|
12832
12831
|
|
|
12833
12832
|
/** @jsxImportSource vue */
|
|
12834
12833
|
|
|
12835
|
-
const COMPONENT_NAME$
|
|
12834
|
+
const COMPONENT_NAME$Q = 'vc-marquee';
|
|
12836
12835
|
const ANIMATION = prefixStyle('animation').camel;
|
|
12837
12836
|
const TRANSFORM_KEBAB = prefixStyle('transform').kebab;
|
|
12838
12837
|
const Marquee = /* @__PURE__ */ defineComponent({
|
|
12839
|
-
name: COMPONENT_NAME$
|
|
12838
|
+
name: COMPONENT_NAME$Q,
|
|
12840
12839
|
props: props$B,
|
|
12841
12840
|
setup(props, {
|
|
12842
12841
|
slots
|
|
@@ -12904,9 +12903,9 @@ const props$A = {
|
|
|
12904
12903
|
}
|
|
12905
12904
|
};
|
|
12906
12905
|
|
|
12907
|
-
const COMPONENT_NAME$
|
|
12906
|
+
const COMPONENT_NAME$P = "vc-resizer";
|
|
12908
12907
|
const Resizer = defineComponent({
|
|
12909
|
-
name: COMPONENT_NAME$
|
|
12908
|
+
name: COMPONENT_NAME$P,
|
|
12910
12909
|
props: props$A,
|
|
12911
12910
|
emits: ["resize"],
|
|
12912
12911
|
setup(props, { emit, slots, expose }) {
|
|
@@ -13069,10 +13068,10 @@ const props$z = {
|
|
|
13069
13068
|
|
|
13070
13069
|
/** @jsxImportSource vue */
|
|
13071
13070
|
|
|
13072
|
-
const COMPONENT_NAME$
|
|
13071
|
+
const COMPONENT_NAME$O = 'vc-modal';
|
|
13073
13072
|
let zIndexNumber = 1002;
|
|
13074
13073
|
const ModalView = /* @__PURE__ */ defineComponent({
|
|
13075
|
-
name: COMPONENT_NAME$
|
|
13074
|
+
name: COMPONENT_NAME$O,
|
|
13076
13075
|
emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change', 'ok', 'cancel'],
|
|
13077
13076
|
props: props$z,
|
|
13078
13077
|
setup(props, {
|
|
@@ -13511,9 +13510,9 @@ const props$y = {
|
|
|
13511
13510
|
|
|
13512
13511
|
/** @jsxImportSource vue */
|
|
13513
13512
|
|
|
13514
|
-
const COMPONENT_NAME$
|
|
13513
|
+
const COMPONENT_NAME$N = 'vc-modal';
|
|
13515
13514
|
const MModalView = /* @__PURE__ */ defineComponent({
|
|
13516
|
-
name: COMPONENT_NAME$
|
|
13515
|
+
name: COMPONENT_NAME$N,
|
|
13517
13516
|
emits: ['update:modelValue', 'portal-fulfilled', 'close', 'ok', 'cancel'],
|
|
13518
13517
|
props: props$y,
|
|
13519
13518
|
setup(props, {
|
|
@@ -13725,9 +13724,9 @@ const props$x = {
|
|
|
13725
13724
|
|
|
13726
13725
|
/** @jsxImportSource vue */
|
|
13727
13726
|
|
|
13728
|
-
const COMPONENT_NAME$
|
|
13727
|
+
const COMPONENT_NAME$M = 'vc-notice';
|
|
13729
13728
|
const NoticeView = /* @__PURE__ */ defineComponent({
|
|
13730
|
-
name: COMPONENT_NAME$
|
|
13729
|
+
name: COMPONENT_NAME$M,
|
|
13731
13730
|
props: props$x,
|
|
13732
13731
|
emits: ['portal-fulfilled', 'close', 'before-close'],
|
|
13733
13732
|
setup(props, {
|
|
@@ -13900,9 +13899,9 @@ const props$w = {
|
|
|
13900
13899
|
|
|
13901
13900
|
/** @jsxImportSource vue */
|
|
13902
13901
|
|
|
13903
|
-
const COMPONENT_NAME$
|
|
13902
|
+
const COMPONENT_NAME$L = 'vc-option';
|
|
13904
13903
|
const Option$1 = /* @__PURE__ */ defineComponent({
|
|
13905
|
-
name: COMPONENT_NAME$
|
|
13904
|
+
name: COMPONENT_NAME$L,
|
|
13906
13905
|
props: props$w,
|
|
13907
13906
|
setup(props, {
|
|
13908
13907
|
slots
|
|
@@ -13986,9 +13985,9 @@ const props$u = {
|
|
|
13986
13985
|
|
|
13987
13986
|
/** @jsxImportSource vue */
|
|
13988
13987
|
|
|
13989
|
-
const COMPONENT_NAME$
|
|
13988
|
+
const COMPONENT_NAME$K = 'vc-tag';
|
|
13990
13989
|
const Tag = /* @__PURE__ */ defineComponent({
|
|
13991
|
-
name: COMPONENT_NAME$
|
|
13990
|
+
name: COMPONENT_NAME$K,
|
|
13992
13991
|
props: props$u,
|
|
13993
13992
|
emits: ['close', 'change'],
|
|
13994
13993
|
setup(props, {
|
|
@@ -14059,9 +14058,9 @@ const props$t = {
|
|
|
14059
14058
|
|
|
14060
14059
|
/** @jsxImportSource vue */
|
|
14061
14060
|
|
|
14062
|
-
const COMPONENT_NAME$
|
|
14061
|
+
const COMPONENT_NAME$J = 'vc-select-option';
|
|
14063
14062
|
const Option = /* @__PURE__ */ defineComponent({
|
|
14064
|
-
name: COMPONENT_NAME$
|
|
14063
|
+
name: COMPONENT_NAME$J,
|
|
14065
14064
|
props: props$t,
|
|
14066
14065
|
setup(props, {
|
|
14067
14066
|
slots
|
|
@@ -14147,9 +14146,9 @@ const props$s = {
|
|
|
14147
14146
|
|
|
14148
14147
|
/** @jsxImportSource vue */
|
|
14149
14148
|
|
|
14150
|
-
const COMPONENT_NAME$
|
|
14149
|
+
const COMPONENT_NAME$I = 'vc-select-option-group';
|
|
14151
14150
|
const OptionGroup = /* @__PURE__ */ defineComponent({
|
|
14152
|
-
name: COMPONENT_NAME$
|
|
14151
|
+
name: COMPONENT_NAME$I,
|
|
14153
14152
|
props: props$s,
|
|
14154
14153
|
setup(props, {
|
|
14155
14154
|
slots
|
|
@@ -14179,9 +14178,9 @@ const OptionGroup = /* @__PURE__ */ defineComponent({
|
|
|
14179
14178
|
|
|
14180
14179
|
/** @jsxImportSource vue */
|
|
14181
14180
|
|
|
14182
|
-
const COMPONENT_NAME$
|
|
14181
|
+
const COMPONENT_NAME$H = 'vc-select';
|
|
14183
14182
|
const Select = /* @__PURE__ */ defineComponent({
|
|
14184
|
-
name: COMPONENT_NAME$
|
|
14183
|
+
name: COMPONENT_NAME$H,
|
|
14185
14184
|
props: props$19,
|
|
14186
14185
|
emits: ['ready', 'close', 'visible-change', 'clear', 'change', 'update:modelValue'],
|
|
14187
14186
|
setup(props, {
|
|
@@ -14455,9 +14454,9 @@ const Select = /* @__PURE__ */ defineComponent({
|
|
|
14455
14454
|
|
|
14456
14455
|
/** @jsxImportSource vue */
|
|
14457
14456
|
|
|
14458
|
-
const COMPONENT_NAME$
|
|
14457
|
+
const COMPONENT_NAME$G = 'vc-pagination';
|
|
14459
14458
|
const Pagination = /* @__PURE__ */ defineComponent({
|
|
14460
|
-
name: COMPONENT_NAME$
|
|
14459
|
+
name: COMPONENT_NAME$G,
|
|
14461
14460
|
props: props$v,
|
|
14462
14461
|
emits: ['update:current', 'change', 'page-size-change'],
|
|
14463
14462
|
setup(props, {
|
|
@@ -14655,9 +14654,9 @@ const props$r = {
|
|
|
14655
14654
|
|
|
14656
14655
|
/** @jsxImportSource vue */
|
|
14657
14656
|
|
|
14658
|
-
const COMPONENT_NAME$
|
|
14657
|
+
const COMPONENT_NAME$F = 'vc-picker';
|
|
14659
14658
|
const Picker = /* @__PURE__ */ defineComponent({
|
|
14660
|
-
name: COMPONENT_NAME$
|
|
14659
|
+
name: COMPONENT_NAME$F,
|
|
14661
14660
|
props: props$r,
|
|
14662
14661
|
setup(props, {
|
|
14663
14662
|
slots
|
|
@@ -14720,9 +14719,9 @@ const props$q = {
|
|
|
14720
14719
|
|
|
14721
14720
|
/** @jsxImportSource vue */
|
|
14722
14721
|
|
|
14723
|
-
const COMPONENT_NAME$
|
|
14722
|
+
const COMPONENT_NAME$E = 'vc-popconfirm';
|
|
14724
14723
|
const Popconfirm = /* @__PURE__ */ defineComponent({
|
|
14725
|
-
name: COMPONENT_NAME$
|
|
14724
|
+
name: COMPONENT_NAME$E,
|
|
14726
14725
|
props: props$q,
|
|
14727
14726
|
inheritAttrs: false,
|
|
14728
14727
|
emits: ['update:modelValue', 'visible-change', 'ready', 'close', 'cancel', 'ok'],
|
|
@@ -14890,9 +14889,9 @@ const props$p = {
|
|
|
14890
14889
|
|
|
14891
14890
|
/** @jsxImportSource vue */
|
|
14892
14891
|
|
|
14893
|
-
const COMPONENT_NAME$
|
|
14892
|
+
const COMPONENT_NAME$D = 'vc-popup';
|
|
14894
14893
|
const MPopup = /* @__PURE__ */ defineComponent({
|
|
14895
|
-
name: COMPONENT_NAME$
|
|
14894
|
+
name: COMPONENT_NAME$D,
|
|
14896
14895
|
props: props$p,
|
|
14897
14896
|
emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change'],
|
|
14898
14897
|
setup(props, {
|
|
@@ -15019,9 +15018,9 @@ const props$o = {
|
|
|
15019
15018
|
|
|
15020
15019
|
/** @jsxImportSource vue */
|
|
15021
15020
|
|
|
15022
|
-
const COMPONENT_NAME$
|
|
15021
|
+
const COMPONENT_NAME$C = 'vc-print';
|
|
15023
15022
|
const Print = /* @__PURE__ */ defineComponent({
|
|
15024
|
-
name: COMPONENT_NAME$
|
|
15023
|
+
name: COMPONENT_NAME$C,
|
|
15025
15024
|
props: props$o,
|
|
15026
15025
|
setup(props, {
|
|
15027
15026
|
expose,
|
|
@@ -15123,9 +15122,9 @@ const props$n = {
|
|
|
15123
15122
|
|
|
15124
15123
|
/** @jsxImportSource vue */
|
|
15125
15124
|
|
|
15126
|
-
const COMPONENT_NAME$
|
|
15125
|
+
const COMPONENT_NAME$B = 'vc-progress-circle';
|
|
15127
15126
|
const Circle = /* @__PURE__ */ defineComponent({
|
|
15128
|
-
name: COMPONENT_NAME$
|
|
15127
|
+
name: COMPONENT_NAME$B,
|
|
15129
15128
|
props: props$n,
|
|
15130
15129
|
setup(props, {
|
|
15131
15130
|
slots
|
|
@@ -15185,9 +15184,9 @@ const Circle = /* @__PURE__ */ defineComponent({
|
|
|
15185
15184
|
|
|
15186
15185
|
/** @jsxImportSource vue */
|
|
15187
15186
|
|
|
15188
|
-
const COMPONENT_NAME$
|
|
15187
|
+
const COMPONENT_NAME$A = 'vc-progress-line';
|
|
15189
15188
|
const Line = /* @__PURE__ */ defineComponent({
|
|
15190
|
-
name: COMPONENT_NAME$
|
|
15189
|
+
name: COMPONENT_NAME$A,
|
|
15191
15190
|
props: props$n,
|
|
15192
15191
|
setup(props) {
|
|
15193
15192
|
const colorStyle = computed(() => {
|
|
@@ -15234,9 +15233,9 @@ const Line = /* @__PURE__ */ defineComponent({
|
|
|
15234
15233
|
function _isSlot(s) {
|
|
15235
15234
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
15236
15235
|
}
|
|
15237
|
-
const COMPONENT_NAME$
|
|
15236
|
+
const COMPONENT_NAME$z = 'vc-progress';
|
|
15238
15237
|
const Progress = /* @__PURE__ */ defineComponent({
|
|
15239
|
-
name: COMPONENT_NAME$
|
|
15238
|
+
name: COMPONENT_NAME$z,
|
|
15240
15239
|
props: props$n,
|
|
15241
15240
|
setup(props, {
|
|
15242
15241
|
slots
|
|
@@ -15340,6 +15339,9 @@ const useRadio = () => {
|
|
|
15340
15339
|
"is-error": !!formItem?.message?.value
|
|
15341
15340
|
};
|
|
15342
15341
|
});
|
|
15342
|
+
const styles = computed(() => {
|
|
15343
|
+
return {};
|
|
15344
|
+
});
|
|
15343
15345
|
watch(
|
|
15344
15346
|
() => props.modelValue,
|
|
15345
15347
|
(v) => {
|
|
@@ -15380,6 +15382,7 @@ const useRadio = () => {
|
|
|
15380
15382
|
isDisabled,
|
|
15381
15383
|
radioName,
|
|
15382
15384
|
classes,
|
|
15385
|
+
styles,
|
|
15383
15386
|
hasGroup,
|
|
15384
15387
|
checked,
|
|
15385
15388
|
handleChange,
|
|
@@ -15394,26 +15397,29 @@ const useRadio = () => {
|
|
|
15394
15397
|
|
|
15395
15398
|
/** @jsxImportSource vue */
|
|
15396
15399
|
|
|
15397
|
-
const COMPONENT_NAME$
|
|
15400
|
+
const COMPONENT_NAME$y = 'vc-radio';
|
|
15398
15401
|
const Radio = /* @__PURE__ */ defineComponent({
|
|
15399
|
-
name: COMPONENT_NAME$
|
|
15402
|
+
name: COMPONENT_NAME$y,
|
|
15400
15403
|
props: props$m,
|
|
15401
15404
|
emits: ['update:modelValue', 'change'],
|
|
15402
15405
|
setup(props, {
|
|
15403
15406
|
slots
|
|
15404
15407
|
}) {
|
|
15405
15408
|
const {
|
|
15409
|
+
styles,
|
|
15406
15410
|
radioName,
|
|
15407
15411
|
checked,
|
|
15408
15412
|
classes,
|
|
15409
15413
|
computedLabel,
|
|
15414
|
+
isDisabled,
|
|
15410
15415
|
handleChange,
|
|
15411
15416
|
handleFocus,
|
|
15412
15417
|
handleBlur
|
|
15413
15418
|
} = useRadio();
|
|
15414
15419
|
return () => {
|
|
15415
15420
|
return createVNode("label", {
|
|
15416
|
-
"class": [classes.value, 'vc-radio']
|
|
15421
|
+
"class": [classes.value, 'vc-radio'],
|
|
15422
|
+
"style": styles.value
|
|
15417
15423
|
}, [createVNode("span", {
|
|
15418
15424
|
"class": [{
|
|
15419
15425
|
'has-sibling': !!(computedLabel.value || slots.default)
|
|
@@ -15425,7 +15431,7 @@ const Radio = /* @__PURE__ */ defineComponent({
|
|
|
15425
15431
|
}, null)]), createVNode("input", {
|
|
15426
15432
|
"checked": checked.value,
|
|
15427
15433
|
"name": radioName.value,
|
|
15428
|
-
"disabled":
|
|
15434
|
+
"disabled": isDisabled.value,
|
|
15429
15435
|
"type": "radio",
|
|
15430
15436
|
"onChange": handleChange,
|
|
15431
15437
|
"onFocus": handleFocus,
|
|
@@ -15435,6 +15441,51 @@ const Radio = /* @__PURE__ */ defineComponent({
|
|
|
15435
15441
|
}
|
|
15436
15442
|
});
|
|
15437
15443
|
|
|
15444
|
+
/** @jsxImportSource vue */
|
|
15445
|
+
|
|
15446
|
+
const COMPONENT_NAME$x = 'vc-radio-button';
|
|
15447
|
+
const RadioButton = /* @__PURE__ */ defineComponent({
|
|
15448
|
+
name: COMPONENT_NAME$x,
|
|
15449
|
+
props: {
|
|
15450
|
+
...props$m,
|
|
15451
|
+
labelStyle: [String, Object],
|
|
15452
|
+
labelClass: [String, Object]
|
|
15453
|
+
},
|
|
15454
|
+
emits: ['update:modelValue', 'change'],
|
|
15455
|
+
setup(props, {
|
|
15456
|
+
slots
|
|
15457
|
+
}) {
|
|
15458
|
+
const {
|
|
15459
|
+
styles,
|
|
15460
|
+
radioName,
|
|
15461
|
+
checked,
|
|
15462
|
+
classes,
|
|
15463
|
+
computedLabel,
|
|
15464
|
+
isDisabled,
|
|
15465
|
+
handleChange,
|
|
15466
|
+
handleFocus,
|
|
15467
|
+
handleBlur
|
|
15468
|
+
} = useRadio();
|
|
15469
|
+
return () => {
|
|
15470
|
+
return createVNode("label", {
|
|
15471
|
+
"class": [classes.value, 'vc-radio-button'],
|
|
15472
|
+
"style": styles.value
|
|
15473
|
+
}, [createVNode("input", {
|
|
15474
|
+
"checked": checked.value,
|
|
15475
|
+
"name": radioName.value,
|
|
15476
|
+
"disabled": isDisabled.value,
|
|
15477
|
+
"type": "radio",
|
|
15478
|
+
"onChange": handleChange,
|
|
15479
|
+
"onFocus": handleFocus,
|
|
15480
|
+
"onBlur": handleBlur
|
|
15481
|
+
}, null), createVNode("span", {
|
|
15482
|
+
"class": [props.labelClass, 'vc-radio-button__label'],
|
|
15483
|
+
"style": props.labelStyle
|
|
15484
|
+
}, [slots.default ? slots.default() : computedLabel.value || ''])]);
|
|
15485
|
+
};
|
|
15486
|
+
}
|
|
15487
|
+
});
|
|
15488
|
+
|
|
15438
15489
|
const props$l = {
|
|
15439
15490
|
modelValue: {
|
|
15440
15491
|
type: [String, Number],
|
|
@@ -15539,17 +15590,20 @@ const MRadio = /* @__PURE__ */ defineComponent({
|
|
|
15539
15590
|
slots
|
|
15540
15591
|
}) {
|
|
15541
15592
|
const {
|
|
15593
|
+
styles,
|
|
15542
15594
|
radioName,
|
|
15543
15595
|
checked,
|
|
15544
15596
|
classes,
|
|
15545
15597
|
computedLabel,
|
|
15598
|
+
isDisabled,
|
|
15546
15599
|
handleChange,
|
|
15547
15600
|
handleFocus,
|
|
15548
15601
|
handleBlur
|
|
15549
15602
|
} = useRadio();
|
|
15550
15603
|
return () => {
|
|
15551
15604
|
return createVNode("label", {
|
|
15552
|
-
"class": [classes.value, 'vcm-radio']
|
|
15605
|
+
"class": [classes.value, 'vcm-radio'],
|
|
15606
|
+
"style": styles.value
|
|
15553
15607
|
}, [createVNode("span", {
|
|
15554
15608
|
"class": [{
|
|
15555
15609
|
'has-sibling': !!(computedLabel.value || slots.default)
|
|
@@ -15561,7 +15615,7 @@ const MRadio = /* @__PURE__ */ defineComponent({
|
|
|
15561
15615
|
}, null)]), createVNode("input", {
|
|
15562
15616
|
"checked": checked.value,
|
|
15563
15617
|
"name": radioName.value,
|
|
15564
|
-
"disabled":
|
|
15618
|
+
"disabled": isDisabled.value,
|
|
15565
15619
|
"type": "radio",
|
|
15566
15620
|
"onChange": handleChange,
|
|
15567
15621
|
"onFocus": handleFocus,
|
|
@@ -15595,6 +15649,8 @@ const MRadioGroup = /* @__PURE__ */ defineComponent({
|
|
|
15595
15649
|
}
|
|
15596
15650
|
});
|
|
15597
15651
|
|
|
15652
|
+
const MRadioButton = MRadio;
|
|
15653
|
+
|
|
15598
15654
|
const props$k = {
|
|
15599
15655
|
modelValue: {
|
|
15600
15656
|
type: [Number, String],
|
|
@@ -23851,4 +23907,4 @@ const UploadPicker = /* @__PURE__ */ defineComponent({
|
|
|
23851
23907
|
|
|
23852
23908
|
const MUploadPicker = UploadPicker;
|
|
23853
23909
|
|
|
23854
|
-
export { ActionSheet, Affix, Alert, Artboard, Button, ButtonGroup, Calendar, Card, Carousel, Cascader, Chart, Checkbox, CheckboxGroup, Clipboard, Collapse, CollapseItem, ColorPicker, Countdown, Customer, DatePicker, Debounce, Divider, Drawer, DrawerView, Dropdown, DropdownItem, DropdownMenu, Editor, EditorView, Expand$1 as Expand, Form, FormItem, Fragment, HTMLToImage, Icon, IconManager, Image$1 as Image, ImageCrop, ImagePreview, ImageProcessing, Input, InputNumber, InputSearch, MList as List, MListItem as ListItem, MActionSheet, MAffix, MAlert, MArtboard, MButton, MButtonGroup, MCalendar, MCard, MCarousel, MCascader, MChart, MCheckbox, MCheckboxGroup, MClipboard, MCollapse, MCollapseItem, MColorPicker, MCountdown, MCustomer, MDatePicker, Debounce as MDebounce, MDivider, MDrawer, MDrawerView, MDropdown, MDropdownItem, MDropdownMenu, MEditor, MExpand, MForm, MFormItem, MFragment, MHTMLToImage, MIcon, MImage, MImageCrop, MImagePreview, MImageProcessing, MInput, MInputNumber, MInputSearch, MList, MListItem, MMarquee, MMessage, modal as MModal, MModalView, MNotice, MOption, MPagination, MPicker, MPopconfirm, MPopover, MPopup, MPortal, MPrint, MProgress, MRadio, MRadioGroup, MRate, MRecycleList, MResizer, MScroller, MSelect, MSlider, MSortList, MSpin, MSteps, MSwitch, MTable, MTableColumn, MTabs, MTabsPane, MTag, MText, MTextarea, MTimePicker, MTimeline, MToast, MToastView, MTouch, MTransition, MTransitionCollapse, MTransitionFade, MTransitionScale, MTransitionSlide, MTransitionZoom, MTree, MTreeSelect, MUpload, MUploadPicker, Marquee, Message, MessageView, Modal, ModalView, Notice, NoticeView, Option$1 as Option, Pagination, Picker, Popconfirm, Popover, Popup, Portal, PortalView, Print, Progress, Radio, RadioGroup, Rate, RecycleList, Resizer, Scroller, ScrollerWheel, Select, Slider, SortList, Spin, Steps, Switch, Table, TableColumn, Tabs, TabsPane, Tag, Text, Textarea, Theme, ThemeImage, ThemeText, ThemeView, TimePicker, Timeline, Toast, ToastView, Touch, Transition, TransitionCollapse, TransitionFade, TransitionScale, TransitionSlide, TransitionZoom, Tree, TreeSelect, Upload, UploadPicker, VcError, VcInstance };
|
|
23910
|
+
export { ActionSheet, Affix, Alert, Artboard, Button, ButtonGroup, Calendar, Card, Carousel, Cascader, Chart, Checkbox, CheckboxGroup, Clipboard, Collapse, CollapseItem, ColorPicker, Countdown, Customer, DatePicker, Debounce, Divider, Drawer, DrawerView, Dropdown, DropdownItem, DropdownMenu, Editor, EditorView, Expand$1 as Expand, Form, FormItem, Fragment, HTMLToImage, Icon, IconManager, Image$1 as Image, ImageCrop, ImagePreview, ImageProcessing, Input, InputNumber, InputSearch, MList as List, MListItem as ListItem, MActionSheet, MAffix, MAlert, MArtboard, MButton, MButtonGroup, MCalendar, MCard, MCarousel, MCascader, MChart, MCheckbox, MCheckboxGroup, MClipboard, MCollapse, MCollapseItem, MColorPicker, MCountdown, MCustomer, MDatePicker, Debounce as MDebounce, MDivider, MDrawer, MDrawerView, MDropdown, MDropdownItem, MDropdownMenu, MEditor, MEditorView, MExpand, MForm, MFormItem, MFragment, MHTMLToImage, MIcon, MImage, MImageCrop, MImagePreview, MImageProcessing, MInput, MInputNumber, MInputSearch, MList, MListItem, MMarquee, MMessage, modal as MModal, MModalView, MNotice, MOption, MPagination, MPicker, MPopconfirm, MPopover, MPopup, MPortal, MPrint, MProgress, MRadio, MRadioButton, MRadioGroup, MRate, MRecycleList, MResizer, MScroller, MSelect, MSlider, MSortList, MSpin, MSteps, MSwitch, MTable, MTableColumn, MTabs, MTabsPane, MTag, MText, MTextarea, MTimePicker, MTimeline, MToast, MToastView, MTouch, MTransition, MTransitionCollapse, MTransitionFade, MTransitionScale, MTransitionSlide, MTransitionZoom, MTree, MTreeSelect, MUpload, MUploadPicker, Marquee, Message, MessageView, Modal, ModalView, Notice, NoticeView, Option$1 as Option, Pagination, Picker, Popconfirm, Popover, Popup, Portal, PortalView, Print, Progress, Radio, RadioButton, RadioGroup, Rate, RecycleList, Resizer, Scroller, ScrollerWheel, Select, Slider, SortList, Spin, Steps, Switch, Table, TableColumn, Tabs, TabsPane, Tag, Text, Textarea, Theme, ThemeImage, ThemeText, ThemeView, TimePicker, Timeline, Toast, ToastView, Touch, Transition, TransitionCollapse, TransitionFade, TransitionScale, TransitionSlide, TransitionZoom, Tree, TreeSelect, Upload, UploadPicker, VcError, VcInstance };
|