@deot/vc-components 1.0.14 → 1.0.16
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 +284 -316
- package/dist/index.d.ts +52 -2
- package/dist/index.iife.js +284 -316
- package/dist/index.js +284 -316
- package/dist/index.style.css +1 -1
- package/dist/index.umd.cjs +284 -316
- package/package.json +1 -1
package/dist/index.umd.cjs
CHANGED
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
|
|
57
57
|
/** @jsxImportSource vue */
|
|
58
58
|
|
|
59
|
-
const COMPONENT_NAME$
|
|
59
|
+
const COMPONENT_NAME$1_ = 'vc-action-sheet';
|
|
60
60
|
const ActionSheet = /* @__PURE__ */ vue.defineComponent({
|
|
61
|
-
name: COMPONENT_NAME$
|
|
61
|
+
name: COMPONENT_NAME$1_,
|
|
62
62
|
props: props$1q,
|
|
63
63
|
setup(props, {
|
|
64
64
|
slots
|
|
@@ -245,9 +245,9 @@
|
|
|
245
245
|
|
|
246
246
|
/** @jsxImportSource vue */
|
|
247
247
|
|
|
248
|
-
const COMPONENT_NAME$
|
|
248
|
+
const COMPONENT_NAME$1Z = 'vc-icon';
|
|
249
249
|
const Icon = /* @__PURE__ */ vue.defineComponent({
|
|
250
|
-
name: COMPONENT_NAME$
|
|
250
|
+
name: COMPONENT_NAME$1Z,
|
|
251
251
|
props: props$1o,
|
|
252
252
|
setup(props) {
|
|
253
253
|
const viewBox = vue.ref('0 0 1024 1024');
|
|
@@ -446,9 +446,9 @@
|
|
|
446
446
|
};
|
|
447
447
|
};
|
|
448
448
|
|
|
449
|
-
const COMPONENT_NAME$
|
|
449
|
+
const COMPONENT_NAME$1Y = "vc-transition";
|
|
450
450
|
const Transition = vue.defineComponent({
|
|
451
|
-
name: COMPONENT_NAME$
|
|
451
|
+
name: COMPONENT_NAME$1Y,
|
|
452
452
|
props: props$1n,
|
|
453
453
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
454
454
|
inheritAttrs: false,
|
|
@@ -469,9 +469,9 @@
|
|
|
469
469
|
}
|
|
470
470
|
});
|
|
471
471
|
|
|
472
|
-
const COMPONENT_NAME$
|
|
472
|
+
const COMPONENT_NAME$1X = "vc-transition-collapse";
|
|
473
473
|
const TransitionCollapse = vue.defineComponent({
|
|
474
|
-
name: COMPONENT_NAME$
|
|
474
|
+
name: COMPONENT_NAME$1X,
|
|
475
475
|
props: props$1n,
|
|
476
476
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
477
477
|
inheritAttrs: false,
|
|
@@ -590,9 +590,9 @@
|
|
|
590
590
|
}
|
|
591
591
|
});
|
|
592
592
|
|
|
593
|
-
const COMPONENT_NAME$
|
|
593
|
+
const COMPONENT_NAME$1W = "vc-transition-fade";
|
|
594
594
|
const TransitionFade = vue.defineComponent({
|
|
595
|
-
name: COMPONENT_NAME$
|
|
595
|
+
name: COMPONENT_NAME$1W,
|
|
596
596
|
props: {
|
|
597
597
|
...props$1n,
|
|
598
598
|
// inheritAttrs必须是false
|
|
@@ -627,9 +627,9 @@
|
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
629
|
|
|
630
|
-
const COMPONENT_NAME$
|
|
630
|
+
const COMPONENT_NAME$1V = "vc-transition-scale";
|
|
631
631
|
const TransitionScale = vue.defineComponent({
|
|
632
|
-
name: COMPONENT_NAME$
|
|
632
|
+
name: COMPONENT_NAME$1V,
|
|
633
633
|
props: {
|
|
634
634
|
...props$1n,
|
|
635
635
|
mode: {
|
|
@@ -669,9 +669,9 @@
|
|
|
669
669
|
}
|
|
670
670
|
});
|
|
671
671
|
|
|
672
|
-
const COMPONENT_NAME$
|
|
672
|
+
const COMPONENT_NAME$1U = "vc-transition-slide";
|
|
673
673
|
const TransitionSlide = vue.defineComponent({
|
|
674
|
-
name: COMPONENT_NAME$
|
|
674
|
+
name: COMPONENT_NAME$1U,
|
|
675
675
|
props: {
|
|
676
676
|
...props$1n,
|
|
677
677
|
mode: {
|
|
@@ -711,9 +711,9 @@
|
|
|
711
711
|
}
|
|
712
712
|
});
|
|
713
713
|
|
|
714
|
-
const COMPONENT_NAME$
|
|
714
|
+
const COMPONENT_NAME$1T = "vc-transition-zoom";
|
|
715
715
|
const TransitionZoom = vue.defineComponent({
|
|
716
|
-
name: COMPONENT_NAME$
|
|
716
|
+
name: COMPONENT_NAME$1T,
|
|
717
717
|
props: {
|
|
718
718
|
...props$1n,
|
|
719
719
|
mode: {
|
|
@@ -755,7 +755,7 @@
|
|
|
755
755
|
|
|
756
756
|
/** @jsxImportSource vue */
|
|
757
757
|
|
|
758
|
-
const COMPONENT_NAME$
|
|
758
|
+
const COMPONENT_NAME$1S = 'vc-alert';
|
|
759
759
|
|
|
760
760
|
// [color, borderColor, backgroundColor], -> CSS
|
|
761
761
|
const THEME_MAP = {
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
warning: ['#ffbf00', '#ffe58f', '#fffbe6']
|
|
766
766
|
};
|
|
767
767
|
const Alert = /* @__PURE__ */ vue.defineComponent({
|
|
768
|
-
name: COMPONENT_NAME$
|
|
768
|
+
name: COMPONENT_NAME$1S,
|
|
769
769
|
props: props$1p,
|
|
770
770
|
setup(props, {
|
|
771
771
|
slots,
|
|
@@ -864,9 +864,9 @@
|
|
|
864
864
|
|
|
865
865
|
/** @jsxImportSource vue */
|
|
866
866
|
|
|
867
|
-
const COMPONENT_NAME$
|
|
867
|
+
const COMPONENT_NAME$1R = 'vc-artboard';
|
|
868
868
|
const Artboard = /* @__PURE__ */ vue.defineComponent({
|
|
869
|
-
name: COMPONENT_NAME$
|
|
869
|
+
name: COMPONENT_NAME$1R,
|
|
870
870
|
props: props$1m,
|
|
871
871
|
setup(props, {
|
|
872
872
|
slots
|
|
@@ -905,9 +905,9 @@
|
|
|
905
905
|
|
|
906
906
|
/** @jsxImportSource vue */
|
|
907
907
|
|
|
908
|
-
const COMPONENT_NAME$
|
|
908
|
+
const COMPONENT_NAME$1Q = 'vc-spin';
|
|
909
909
|
const Spin = /* @__PURE__ */ vue.defineComponent({
|
|
910
|
-
name: COMPONENT_NAME$
|
|
910
|
+
name: COMPONENT_NAME$1Q,
|
|
911
911
|
props: props$1l,
|
|
912
912
|
setup(props, {
|
|
913
913
|
slots
|
|
@@ -5763,9 +5763,9 @@
|
|
|
5763
5763
|
exclude: RegExp
|
|
5764
5764
|
};
|
|
5765
5765
|
|
|
5766
|
-
const COMPONENT_NAME$
|
|
5766
|
+
const COMPONENT_NAME$1P = "vc-debounce";
|
|
5767
5767
|
const Debounce = vue.defineComponent({
|
|
5768
|
-
name: COMPONENT_NAME$
|
|
5768
|
+
name: COMPONENT_NAME$1P,
|
|
5769
5769
|
props: props$1k,
|
|
5770
5770
|
/**
|
|
5771
5771
|
* 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
|
|
@@ -5837,9 +5837,9 @@
|
|
|
5837
5837
|
|
|
5838
5838
|
/** @jsxImportSource vue */
|
|
5839
5839
|
|
|
5840
|
-
const COMPONENT_NAME$
|
|
5840
|
+
const COMPONENT_NAME$1O = 'vc-button';
|
|
5841
5841
|
const Button = /* @__PURE__ */ vue.defineComponent({
|
|
5842
|
-
name: COMPONENT_NAME$
|
|
5842
|
+
name: COMPONENT_NAME$1O,
|
|
5843
5843
|
emits: ['click'],
|
|
5844
5844
|
props: props$1j,
|
|
5845
5845
|
setup(props, {
|
|
@@ -5919,9 +5919,9 @@
|
|
|
5919
5919
|
|
|
5920
5920
|
/** @jsxImportSource vue */
|
|
5921
5921
|
|
|
5922
|
-
const COMPONENT_NAME$
|
|
5922
|
+
const COMPONENT_NAME$1N = 'vc-button-group';
|
|
5923
5923
|
const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
|
|
5924
|
-
name: COMPONENT_NAME$
|
|
5924
|
+
name: COMPONENT_NAME$1N,
|
|
5925
5925
|
props: props$1i,
|
|
5926
5926
|
setup(props, {
|
|
5927
5927
|
slots
|
|
@@ -5955,9 +5955,9 @@
|
|
|
5955
5955
|
|
|
5956
5956
|
/** @jsxImportSource vue */
|
|
5957
5957
|
|
|
5958
|
-
const COMPONENT_NAME$
|
|
5958
|
+
const COMPONENT_NAME$1M = 'vc-calendar';
|
|
5959
5959
|
const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
|
|
5960
|
-
name: COMPONENT_NAME$
|
|
5960
|
+
name: COMPONENT_NAME$1M,
|
|
5961
5961
|
props: props$1h,
|
|
5962
5962
|
setup(props, {
|
|
5963
5963
|
slots
|
|
@@ -5995,9 +5995,9 @@
|
|
|
5995
5995
|
|
|
5996
5996
|
/** @jsxImportSource vue */
|
|
5997
5997
|
|
|
5998
|
-
const COMPONENT_NAME$
|
|
5998
|
+
const COMPONENT_NAME$1L = 'vc-card';
|
|
5999
5999
|
const Card = /* @__PURE__ */ vue.defineComponent({
|
|
6000
|
-
name: COMPONENT_NAME$
|
|
6000
|
+
name: COMPONENT_NAME$1L,
|
|
6001
6001
|
props: props$1g,
|
|
6002
6002
|
setup(props, {
|
|
6003
6003
|
slots
|
|
@@ -6033,9 +6033,9 @@
|
|
|
6033
6033
|
|
|
6034
6034
|
/** @jsxImportSource vue */
|
|
6035
6035
|
|
|
6036
|
-
const COMPONENT_NAME$
|
|
6036
|
+
const COMPONENT_NAME$1K = 'vc-carousel';
|
|
6037
6037
|
const Carousel = /* @__PURE__ */ vue.defineComponent({
|
|
6038
|
-
name: COMPONENT_NAME$
|
|
6038
|
+
name: COMPONENT_NAME$1K,
|
|
6039
6039
|
props: props$1f,
|
|
6040
6040
|
setup(props, {
|
|
6041
6041
|
slots
|
|
@@ -6059,9 +6059,9 @@
|
|
|
6059
6059
|
|
|
6060
6060
|
/** @jsxImportSource vue */
|
|
6061
6061
|
|
|
6062
|
-
const COMPONENT_NAME$
|
|
6062
|
+
const COMPONENT_NAME$1J = 'vc-cascader';
|
|
6063
6063
|
const Cascader = /* @__PURE__ */ vue.defineComponent({
|
|
6064
|
-
name: COMPONENT_NAME$
|
|
6064
|
+
name: COMPONENT_NAME$1J,
|
|
6065
6065
|
props: props$1e,
|
|
6066
6066
|
setup(props, {
|
|
6067
6067
|
slots
|
|
@@ -6193,9 +6193,9 @@
|
|
|
6193
6193
|
|
|
6194
6194
|
/** @jsxImportSource vue */
|
|
6195
6195
|
|
|
6196
|
-
const COMPONENT_NAME$
|
|
6196
|
+
const COMPONENT_NAME$1I = 'vc-chart';
|
|
6197
6197
|
const Chart = /* @__PURE__ */ vue.defineComponent({
|
|
6198
|
-
name: COMPONENT_NAME$
|
|
6198
|
+
name: COMPONENT_NAME$1I,
|
|
6199
6199
|
props: props$1d,
|
|
6200
6200
|
emits: [...EVENTS, 'ready'],
|
|
6201
6201
|
setup(props, {
|
|
@@ -6426,9 +6426,9 @@
|
|
|
6426
6426
|
|
|
6427
6427
|
/** @jsxImportSource vue */
|
|
6428
6428
|
|
|
6429
|
-
const COMPONENT_NAME$
|
|
6429
|
+
const COMPONENT_NAME$1H = 'vc-checkbox';
|
|
6430
6430
|
const Checkbox = /* @__PURE__ */ vue.defineComponent({
|
|
6431
|
-
name: COMPONENT_NAME$
|
|
6431
|
+
name: COMPONENT_NAME$1H,
|
|
6432
6432
|
props: props$1c,
|
|
6433
6433
|
emits: ['update:modelValue', 'change'],
|
|
6434
6434
|
setup(props, {
|
|
@@ -6515,9 +6515,9 @@
|
|
|
6515
6515
|
|
|
6516
6516
|
/** @jsxImportSource vue */
|
|
6517
6517
|
|
|
6518
|
-
const COMPONENT_NAME$
|
|
6518
|
+
const COMPONENT_NAME$1G = 'vc-checkbox-group';
|
|
6519
6519
|
const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
|
|
6520
|
-
name: COMPONENT_NAME$
|
|
6520
|
+
name: COMPONENT_NAME$1G,
|
|
6521
6521
|
props: props$1b,
|
|
6522
6522
|
emits: ['update:modelValue', 'change'],
|
|
6523
6523
|
setup(props, {
|
|
@@ -6535,9 +6535,9 @@
|
|
|
6535
6535
|
|
|
6536
6536
|
/** @jsxImportSource vue */
|
|
6537
6537
|
|
|
6538
|
-
const COMPONENT_NAME$
|
|
6538
|
+
const COMPONENT_NAME$1F = 'vcm-checkbox';
|
|
6539
6539
|
const MCheckbox = /* @__PURE__ */ vue.defineComponent({
|
|
6540
|
-
name: COMPONENT_NAME$
|
|
6540
|
+
name: COMPONENT_NAME$1F,
|
|
6541
6541
|
props: props$1c,
|
|
6542
6542
|
emits: ['update:modelValue', 'change'],
|
|
6543
6543
|
setup(props, {
|
|
@@ -6577,9 +6577,9 @@
|
|
|
6577
6577
|
|
|
6578
6578
|
/** @jsxImportSource vue */
|
|
6579
6579
|
|
|
6580
|
-
const COMPONENT_NAME$
|
|
6580
|
+
const COMPONENT_NAME$1E = 'vcm-checkbox-group';
|
|
6581
6581
|
const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
|
|
6582
|
-
name: COMPONENT_NAME$
|
|
6582
|
+
name: COMPONENT_NAME$1E,
|
|
6583
6583
|
props: props$1b,
|
|
6584
6584
|
emits: ['update:modelValue', 'change'],
|
|
6585
6585
|
setup(props, {
|
|
@@ -6638,9 +6638,9 @@
|
|
|
6638
6638
|
}
|
|
6639
6639
|
};
|
|
6640
6640
|
|
|
6641
|
-
const COMPONENT_NAME$
|
|
6641
|
+
const COMPONENT_NAME$1D = "vc-customer";
|
|
6642
6642
|
const Customer = vue.defineComponent({
|
|
6643
|
-
name: COMPONENT_NAME$
|
|
6643
|
+
name: COMPONENT_NAME$1D,
|
|
6644
6644
|
props: props$19,
|
|
6645
6645
|
setup(props, context) {
|
|
6646
6646
|
return () => vue.h(() => {
|
|
@@ -6651,9 +6651,9 @@
|
|
|
6651
6651
|
|
|
6652
6652
|
/** @jsxImportSource vue */
|
|
6653
6653
|
|
|
6654
|
-
const COMPONENT_NAME$
|
|
6654
|
+
const COMPONENT_NAME$1C = 'vc-message';
|
|
6655
6655
|
const MessageView = /* @__PURE__ */ vue.defineComponent({
|
|
6656
|
-
name: COMPONENT_NAME$
|
|
6656
|
+
name: COMPONENT_NAME$1C,
|
|
6657
6657
|
emits: ['before-close', 'close', 'portal-fulfilled'],
|
|
6658
6658
|
props: props$1a,
|
|
6659
6659
|
setup(props, {
|
|
@@ -7213,7 +7213,7 @@
|
|
|
7213
7213
|
}
|
|
7214
7214
|
}
|
|
7215
7215
|
|
|
7216
|
-
const COMPONENT_NAME$
|
|
7216
|
+
const COMPONENT_NAME$1B = "vc-portal";
|
|
7217
7217
|
class Portal {
|
|
7218
7218
|
/**
|
|
7219
7219
|
* 清理Portals类型组件
|
|
@@ -7265,7 +7265,7 @@
|
|
|
7265
7265
|
this.wrapper = wrapper;
|
|
7266
7266
|
this.globalOptions = {
|
|
7267
7267
|
...options,
|
|
7268
|
-
name: options?.name || wrapper.name || getUid(COMPONENT_NAME$
|
|
7268
|
+
name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1B)
|
|
7269
7269
|
};
|
|
7270
7270
|
}
|
|
7271
7271
|
popup(propsData, options) {
|
|
@@ -7364,7 +7364,7 @@
|
|
|
7364
7364
|
...rest
|
|
7365
7365
|
} = options;
|
|
7366
7366
|
let useAllNodes = fragment;
|
|
7367
|
-
const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$
|
|
7367
|
+
const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1B)}` : name$;
|
|
7368
7368
|
const container = document.createElement(tag);
|
|
7369
7369
|
const root = typeof el === "object" ? el : document.querySelector(el || "body");
|
|
7370
7370
|
!alive && Portal.leafs.get(name)?.destroy();
|
|
@@ -7398,7 +7398,7 @@
|
|
|
7398
7398
|
} else {
|
|
7399
7399
|
const wrapper = this.wrapper;
|
|
7400
7400
|
const app = vue.createApp({
|
|
7401
|
-
name: COMPONENT_NAME$
|
|
7401
|
+
name: COMPONENT_NAME$1B,
|
|
7402
7402
|
parent,
|
|
7403
7403
|
setup() {
|
|
7404
7404
|
if (alive) {
|
|
@@ -7510,13 +7510,13 @@
|
|
|
7510
7510
|
}
|
|
7511
7511
|
};
|
|
7512
7512
|
|
|
7513
|
-
const COMPONENT_NAME$
|
|
7513
|
+
const COMPONENT_NAME$1A = 'vc-portal-view';
|
|
7514
7514
|
|
|
7515
7515
|
/**
|
|
7516
7516
|
* 写法不同,但与vue@2.x 保持一致
|
|
7517
7517
|
*/
|
|
7518
7518
|
const PortalView = /* @__PURE__ */ vue.defineComponent({
|
|
7519
|
-
name: COMPONENT_NAME$
|
|
7519
|
+
name: COMPONENT_NAME$1A,
|
|
7520
7520
|
props: props$18,
|
|
7521
7521
|
setup(props, {
|
|
7522
7522
|
slots
|
|
@@ -7687,9 +7687,9 @@
|
|
|
7687
7687
|
return () => vue.h(props.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
|
|
7688
7688
|
};
|
|
7689
7689
|
|
|
7690
|
-
const COMPONENT_NAME$
|
|
7690
|
+
const COMPONENT_NAME$1z = "vc-clipboard";
|
|
7691
7691
|
const Clipboard$1 = vue.defineComponent({
|
|
7692
|
-
name: COMPONENT_NAME$
|
|
7692
|
+
name: COMPONENT_NAME$1z,
|
|
7693
7693
|
props: props$17,
|
|
7694
7694
|
setup() {
|
|
7695
7695
|
return useClipboard((content) => Message.success({ content }));
|
|
@@ -7729,9 +7729,9 @@
|
|
|
7729
7729
|
|
|
7730
7730
|
/** @jsxImportSource vue */
|
|
7731
7731
|
|
|
7732
|
-
const COMPONENT_NAME$
|
|
7732
|
+
const COMPONENT_NAME$1y = 'vcm-toast';
|
|
7733
7733
|
const MToastView = /* @__PURE__ */ vue.defineComponent({
|
|
7734
|
-
name: COMPONENT_NAME$
|
|
7734
|
+
name: COMPONENT_NAME$1y,
|
|
7735
7735
|
emits: ['close', 'portal-fulfilled'],
|
|
7736
7736
|
props: props$16,
|
|
7737
7737
|
setup(props, {
|
|
@@ -7833,9 +7833,9 @@
|
|
|
7833
7833
|
const error$2 = create$6({ mode: "error" });
|
|
7834
7834
|
const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
|
|
7835
7835
|
|
|
7836
|
-
const COMPONENT_NAME$
|
|
7836
|
+
const COMPONENT_NAME$1x = "vcm-clipboard";
|
|
7837
7837
|
const MClipboard$1 = vue.defineComponent({
|
|
7838
|
-
name: COMPONENT_NAME$
|
|
7838
|
+
name: COMPONENT_NAME$1x,
|
|
7839
7839
|
props: props$17,
|
|
7840
7840
|
setup() {
|
|
7841
7841
|
return useClipboard((content) => MToast.info({ content }));
|
|
@@ -7867,9 +7867,9 @@
|
|
|
7867
7867
|
}
|
|
7868
7868
|
};
|
|
7869
7869
|
|
|
7870
|
-
const COMPONENT_NAME$
|
|
7870
|
+
const COMPONENT_NAME$1w = "vc-collapse";
|
|
7871
7871
|
const Collapse = vue.defineComponent({
|
|
7872
|
-
name: COMPONENT_NAME$
|
|
7872
|
+
name: COMPONENT_NAME$1w,
|
|
7873
7873
|
props: props$15,
|
|
7874
7874
|
emits: ["update:moodelValue", "change"],
|
|
7875
7875
|
setup(props, { slots, emit }) {
|
|
@@ -7986,9 +7986,9 @@
|
|
|
7986
7986
|
function _isSlot$3(s) {
|
|
7987
7987
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
7988
7988
|
}
|
|
7989
|
-
const COMPONENT_NAME$
|
|
7989
|
+
const COMPONENT_NAME$1v = 'vc-expand';
|
|
7990
7990
|
const Expand$1 = /* @__PURE__ */ vue.defineComponent({
|
|
7991
|
-
name: COMPONENT_NAME$
|
|
7991
|
+
name: COMPONENT_NAME$1v,
|
|
7992
7992
|
props: props$13,
|
|
7993
7993
|
setup(props, {
|
|
7994
7994
|
slots
|
|
@@ -8018,9 +8018,9 @@
|
|
|
8018
8018
|
|
|
8019
8019
|
/** @jsxImportSource vue */
|
|
8020
8020
|
|
|
8021
|
-
const COMPONENT_NAME$
|
|
8021
|
+
const COMPONENT_NAME$1u = 'vc-collapse-item';
|
|
8022
8022
|
const CollapseItem = /* @__PURE__ */ vue.defineComponent({
|
|
8023
|
-
name: COMPONENT_NAME$
|
|
8023
|
+
name: COMPONENT_NAME$1u,
|
|
8024
8024
|
props: props$14,
|
|
8025
8025
|
setup(props, {
|
|
8026
8026
|
slots,
|
|
@@ -8095,9 +8095,9 @@
|
|
|
8095
8095
|
|
|
8096
8096
|
/** @jsxImportSource vue */
|
|
8097
8097
|
|
|
8098
|
-
const COMPONENT_NAME$
|
|
8098
|
+
const COMPONENT_NAME$1t = 'vc-color-picker';
|
|
8099
8099
|
const ColorPicker = /* @__PURE__ */ vue.defineComponent({
|
|
8100
|
-
name: COMPONENT_NAME$
|
|
8100
|
+
name: COMPONENT_NAME$1t,
|
|
8101
8101
|
props: props$12,
|
|
8102
8102
|
setup(props, {
|
|
8103
8103
|
slots
|
|
@@ -8121,9 +8121,9 @@
|
|
|
8121
8121
|
|
|
8122
8122
|
/** @jsxImportSource vue */
|
|
8123
8123
|
|
|
8124
|
-
const COMPONENT_NAME$
|
|
8124
|
+
const COMPONENT_NAME$1s = 'vc-countdown';
|
|
8125
8125
|
const Countdown = /* @__PURE__ */ vue.defineComponent({
|
|
8126
|
-
name: COMPONENT_NAME$
|
|
8126
|
+
name: COMPONENT_NAME$1s,
|
|
8127
8127
|
props: props$11,
|
|
8128
8128
|
setup(props, {
|
|
8129
8129
|
slots
|
|
@@ -8636,9 +8636,9 @@
|
|
|
8636
8636
|
|
|
8637
8637
|
/** @jsxImportSource vue */
|
|
8638
8638
|
|
|
8639
|
-
const COMPONENT_NAME$
|
|
8639
|
+
const COMPONENT_NAME$1r = 'vc-input';
|
|
8640
8640
|
const Input = /* @__PURE__ */ vue.defineComponent({
|
|
8641
|
-
name: COMPONENT_NAME$
|
|
8641
|
+
name: COMPONENT_NAME$1r,
|
|
8642
8642
|
inheritAttrs: false,
|
|
8643
8643
|
props: {
|
|
8644
8644
|
...props$$,
|
|
@@ -8972,9 +8972,9 @@
|
|
|
8972
8972
|
|
|
8973
8973
|
/** @jsxImportSource vue */
|
|
8974
8974
|
|
|
8975
|
-
const COMPONENT_NAME$
|
|
8975
|
+
const COMPONENT_NAME$1q = 'vc-input-number';
|
|
8976
8976
|
const InputNumber = /* @__PURE__ */ vue.defineComponent({
|
|
8977
|
-
name: COMPONENT_NAME$
|
|
8977
|
+
name: COMPONENT_NAME$1q,
|
|
8978
8978
|
props: props$X,
|
|
8979
8979
|
inheritAttrs: false,
|
|
8980
8980
|
setup(props, {
|
|
@@ -9038,9 +9038,9 @@
|
|
|
9038
9038
|
|
|
9039
9039
|
/** @jsxImportSource vue */
|
|
9040
9040
|
|
|
9041
|
-
const COMPONENT_NAME$
|
|
9041
|
+
const COMPONENT_NAME$1p = 'vc-input-search';
|
|
9042
9042
|
const InputSearch = /* @__PURE__ */ vue.defineComponent({
|
|
9043
|
-
name: COMPONENT_NAME$
|
|
9043
|
+
name: COMPONENT_NAME$1p,
|
|
9044
9044
|
props: props$W,
|
|
9045
9045
|
inheritAttrs: false,
|
|
9046
9046
|
setup(props, {
|
|
@@ -9331,9 +9331,9 @@
|
|
|
9331
9331
|
function _isSlot$2(s) {
|
|
9332
9332
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
9333
9333
|
}
|
|
9334
|
-
const COMPONENT_NAME$
|
|
9334
|
+
const COMPONENT_NAME$1o = 'vc-popover-wrapper';
|
|
9335
9335
|
const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
|
|
9336
|
-
name: COMPONENT_NAME$
|
|
9336
|
+
name: COMPONENT_NAME$1o,
|
|
9337
9337
|
props: props$_,
|
|
9338
9338
|
emits: ['portal-fulfilled', 'close'],
|
|
9339
9339
|
setup(props, {
|
|
@@ -9585,9 +9585,9 @@
|
|
|
9585
9585
|
|
|
9586
9586
|
/** @jsxImportSource vue */
|
|
9587
9587
|
|
|
9588
|
-
const COMPONENT_NAME$
|
|
9588
|
+
const COMPONENT_NAME$1n = 'vc-popover';
|
|
9589
9589
|
const Popover$1 = /* @__PURE__ */ vue.defineComponent({
|
|
9590
|
-
name: COMPONENT_NAME$
|
|
9590
|
+
name: COMPONENT_NAME$1n,
|
|
9591
9591
|
props: props$Z,
|
|
9592
9592
|
emits: ['update:modelValue', 'visible-change', 'ready', 'close'],
|
|
9593
9593
|
setup(props, {
|
|
@@ -10688,9 +10688,9 @@
|
|
|
10688
10688
|
}
|
|
10689
10689
|
return view;
|
|
10690
10690
|
};
|
|
10691
|
-
const COMPONENT_NAME$
|
|
10691
|
+
const COMPONENT_NAME$1m = 'vc-date-confirm';
|
|
10692
10692
|
const Confirm = /* @__PURE__ */ vue.defineComponent({
|
|
10693
|
-
name: COMPONENT_NAME$
|
|
10693
|
+
name: COMPONENT_NAME$1m,
|
|
10694
10694
|
props: {
|
|
10695
10695
|
showTime: {
|
|
10696
10696
|
type: Boolean,
|
|
@@ -10754,9 +10754,9 @@
|
|
|
10754
10754
|
|
|
10755
10755
|
/** @jsxImportSource vue */
|
|
10756
10756
|
|
|
10757
|
-
const COMPONENT_NAME$
|
|
10757
|
+
const COMPONENT_NAME$1l = 'vc-date-header';
|
|
10758
10758
|
const DateHeader = /* @__PURE__ */ vue.defineComponent({
|
|
10759
|
-
name: COMPONENT_NAME$
|
|
10759
|
+
name: COMPONENT_NAME$1l,
|
|
10760
10760
|
props: {
|
|
10761
10761
|
panelDate: Date,
|
|
10762
10762
|
showNext: {
|
|
@@ -10840,9 +10840,9 @@
|
|
|
10840
10840
|
|
|
10841
10841
|
/** @jsxImportSource vue */
|
|
10842
10842
|
|
|
10843
|
-
const COMPONENT_NAME$
|
|
10843
|
+
const COMPONENT_NAME$1k = 'vc-date-table';
|
|
10844
10844
|
const DateTable = /* @__PURE__ */ vue.defineComponent({
|
|
10845
|
-
name: COMPONENT_NAME$
|
|
10845
|
+
name: COMPONENT_NAME$1k,
|
|
10846
10846
|
props: {
|
|
10847
10847
|
value: Array,
|
|
10848
10848
|
firstDayOfWeek: {
|
|
@@ -11051,9 +11051,9 @@
|
|
|
11051
11051
|
|
|
11052
11052
|
/** @jsxImportSource vue */
|
|
11053
11053
|
|
|
11054
|
-
const COMPONENT_NAME$
|
|
11054
|
+
const COMPONENT_NAME$1j = 'vc-month-table';
|
|
11055
11055
|
const MonthTable = /* @__PURE__ */ vue.defineComponent({
|
|
11056
|
-
name: COMPONENT_NAME$
|
|
11056
|
+
name: COMPONENT_NAME$1j,
|
|
11057
11057
|
props: {
|
|
11058
11058
|
value: Array,
|
|
11059
11059
|
panelDate: Date,
|
|
@@ -11185,7 +11185,7 @@
|
|
|
11185
11185
|
|
|
11186
11186
|
/** @jsxImportSource vue */
|
|
11187
11187
|
|
|
11188
|
-
const COMPONENT_NAME$
|
|
11188
|
+
const COMPONENT_NAME$1i = 'vc-quarter-table';
|
|
11189
11189
|
|
|
11190
11190
|
/**
|
|
11191
11191
|
* 获取季度对应的月份范围
|
|
@@ -11219,7 +11219,7 @@
|
|
|
11219
11219
|
}
|
|
11220
11220
|
};
|
|
11221
11221
|
const QuarterTable = /* @__PURE__ */ vue.defineComponent({
|
|
11222
|
-
name: COMPONENT_NAME$
|
|
11222
|
+
name: COMPONENT_NAME$1i,
|
|
11223
11223
|
props: {
|
|
11224
11224
|
value: Array,
|
|
11225
11225
|
panelDate: Date,
|
|
@@ -11342,9 +11342,9 @@
|
|
|
11342
11342
|
|
|
11343
11343
|
/** @jsxImportSource vue */
|
|
11344
11344
|
|
|
11345
|
-
const COMPONENT_NAME$
|
|
11345
|
+
const COMPONENT_NAME$1h = 'vc-shortcuts-select';
|
|
11346
11346
|
const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
|
|
11347
|
-
name: COMPONENT_NAME$
|
|
11347
|
+
name: COMPONENT_NAME$1h,
|
|
11348
11348
|
props: {
|
|
11349
11349
|
panelDate: Date,
|
|
11350
11350
|
config: Array,
|
|
@@ -11384,9 +11384,9 @@
|
|
|
11384
11384
|
|
|
11385
11385
|
/** @jsxImportSource vue */
|
|
11386
11386
|
|
|
11387
|
-
const COMPONENT_NAME$
|
|
11387
|
+
const COMPONENT_NAME$1g = 'vc-time-select';
|
|
11388
11388
|
const TimeSelect = /* @__PURE__ */ vue.defineComponent({
|
|
11389
|
-
name: COMPONENT_NAME$
|
|
11389
|
+
name: COMPONENT_NAME$1g,
|
|
11390
11390
|
props: {
|
|
11391
11391
|
hours: {
|
|
11392
11392
|
type: [Number, String],
|
|
@@ -11665,9 +11665,9 @@
|
|
|
11665
11665
|
|
|
11666
11666
|
/** @jsxImportSource vue */
|
|
11667
11667
|
|
|
11668
|
-
const COMPONENT_NAME$
|
|
11668
|
+
const COMPONENT_NAME$1f = 'vc-year-table';
|
|
11669
11669
|
const YearTable = /* @__PURE__ */ vue.defineComponent({
|
|
11670
|
-
name: COMPONENT_NAME$
|
|
11670
|
+
name: COMPONENT_NAME$1f,
|
|
11671
11671
|
props: {
|
|
11672
11672
|
value: Array,
|
|
11673
11673
|
panelDate: Date,
|
|
@@ -11790,9 +11790,9 @@
|
|
|
11790
11790
|
}
|
|
11791
11791
|
return true;
|
|
11792
11792
|
};
|
|
11793
|
-
const COMPONENT_NAME$
|
|
11793
|
+
const COMPONENT_NAME$1e = 'vc-date-range-panel';
|
|
11794
11794
|
const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
11795
|
-
name: COMPONENT_NAME$
|
|
11795
|
+
name: COMPONENT_NAME$1e,
|
|
11796
11796
|
props: {
|
|
11797
11797
|
...props$V,
|
|
11798
11798
|
confirm: {
|
|
@@ -12171,9 +12171,9 @@
|
|
|
12171
12171
|
|
|
12172
12172
|
/** @jsxImportSource vue */
|
|
12173
12173
|
|
|
12174
|
-
const COMPONENT_NAME$
|
|
12174
|
+
const COMPONENT_NAME$1d = 'vc-date-panel';
|
|
12175
12175
|
const DatePanel = /* @__PURE__ */ vue.defineComponent({
|
|
12176
|
-
name: COMPONENT_NAME$
|
|
12176
|
+
name: COMPONENT_NAME$1d,
|
|
12177
12177
|
props: {
|
|
12178
12178
|
...props$V,
|
|
12179
12179
|
type: String,
|
|
@@ -12381,9 +12381,9 @@
|
|
|
12381
12381
|
const endYear = value[1].getFullYear();
|
|
12382
12382
|
return startYear === endYear;
|
|
12383
12383
|
};
|
|
12384
|
-
const COMPONENT_NAME$
|
|
12384
|
+
const COMPONENT_NAME$1c = 'vc-monthrange-panel';
|
|
12385
12385
|
const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
12386
|
-
name: COMPONENT_NAME$
|
|
12386
|
+
name: COMPONENT_NAME$1c,
|
|
12387
12387
|
props: {
|
|
12388
12388
|
...props$V,
|
|
12389
12389
|
confirm: {
|
|
@@ -12558,9 +12558,9 @@
|
|
|
12558
12558
|
const endYear = value[1].getFullYear();
|
|
12559
12559
|
return startYear === endYear;
|
|
12560
12560
|
};
|
|
12561
|
-
const COMPONENT_NAME$
|
|
12561
|
+
const COMPONENT_NAME$1b = 'vc-quarterrange-panel';
|
|
12562
12562
|
const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
12563
|
-
name: COMPONENT_NAME$
|
|
12563
|
+
name: COMPONENT_NAME$1b,
|
|
12564
12564
|
props: {
|
|
12565
12565
|
...props$V,
|
|
12566
12566
|
confirm: {
|
|
@@ -12799,9 +12799,9 @@
|
|
|
12799
12799
|
seconds
|
|
12800
12800
|
};
|
|
12801
12801
|
};
|
|
12802
|
-
const COMPONENT_NAME$
|
|
12802
|
+
const COMPONENT_NAME$1a = 'vc-timerange-panel';
|
|
12803
12803
|
const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
12804
|
-
name: COMPONENT_NAME$
|
|
12804
|
+
name: COMPONENT_NAME$1a,
|
|
12805
12805
|
props: props$U,
|
|
12806
12806
|
emits: ['pick', 'clear', 'ok'],
|
|
12807
12807
|
setup(props, {
|
|
@@ -12900,9 +12900,9 @@
|
|
|
12900
12900
|
|
|
12901
12901
|
/** @jsxImportSource vue */
|
|
12902
12902
|
|
|
12903
|
-
const COMPONENT_NAME$
|
|
12903
|
+
const COMPONENT_NAME$19 = 'vc-time-panel';
|
|
12904
12904
|
const TimePanel = /* @__PURE__ */ vue.defineComponent({
|
|
12905
|
-
name: COMPONENT_NAME$
|
|
12905
|
+
name: COMPONENT_NAME$19,
|
|
12906
12906
|
props: props$U,
|
|
12907
12907
|
emits: ['pick', 'clear', 'ok'],
|
|
12908
12908
|
setup(props, {
|
|
@@ -12957,7 +12957,7 @@
|
|
|
12957
12957
|
|
|
12958
12958
|
/** @jsxImportSource vue */
|
|
12959
12959
|
|
|
12960
|
-
const COMPONENT_NAME$
|
|
12960
|
+
const COMPONENT_NAME$18 = 'vc-date-picker';
|
|
12961
12961
|
const getPanel$1 = type => {
|
|
12962
12962
|
if (['daterange', 'datetimerange'].includes(type)) {
|
|
12963
12963
|
return DateRangePanel;
|
|
@@ -12968,7 +12968,7 @@
|
|
|
12968
12968
|
}
|
|
12969
12969
|
return DatePanel;
|
|
12970
12970
|
};
|
|
12971
|
-
const DatePicker = createPicker(COMPONENT_NAME$
|
|
12971
|
+
const DatePicker = createPicker(COMPONENT_NAME$18, props$10, () => {
|
|
12972
12972
|
const props = vue.getCurrentInstance().props;
|
|
12973
12973
|
const icon = vue.ref('date');
|
|
12974
12974
|
const panel = vue.shallowRef({});
|
|
@@ -13001,9 +13001,9 @@
|
|
|
13001
13001
|
|
|
13002
13002
|
/** @jsxImportSource vue */
|
|
13003
13003
|
|
|
13004
|
-
const COMPONENT_NAME$
|
|
13004
|
+
const COMPONENT_NAME$17 = 'vc-divider';
|
|
13005
13005
|
const Divider = /* @__PURE__ */ vue.defineComponent({
|
|
13006
|
-
name: COMPONENT_NAME$
|
|
13006
|
+
name: COMPONENT_NAME$17,
|
|
13007
13007
|
props: props$T,
|
|
13008
13008
|
setup(props, {
|
|
13009
13009
|
slots
|
|
@@ -13158,7 +13158,7 @@
|
|
|
13158
13158
|
|
|
13159
13159
|
/** @jsxImportSource vue */
|
|
13160
13160
|
|
|
13161
|
-
const COMPONENT_NAME$
|
|
13161
|
+
const COMPONENT_NAME$16 = 'vc-scroller-track';
|
|
13162
13162
|
const BAR_MAP = {
|
|
13163
13163
|
vertical: {
|
|
13164
13164
|
scroll: 'scrollTop',
|
|
@@ -13178,7 +13178,7 @@
|
|
|
13178
13178
|
}
|
|
13179
13179
|
};
|
|
13180
13180
|
const Track$1 = /* @__PURE__ */ vue.defineComponent({
|
|
13181
|
-
name: COMPONENT_NAME$
|
|
13181
|
+
name: COMPONENT_NAME$16,
|
|
13182
13182
|
props: props$S,
|
|
13183
13183
|
emits: ['change'],
|
|
13184
13184
|
inheritAttrs: false,
|
|
@@ -13368,9 +13368,9 @@
|
|
|
13368
13368
|
|
|
13369
13369
|
/** @jsxImportSource vue */
|
|
13370
13370
|
|
|
13371
|
-
const COMPONENT_NAME$
|
|
13371
|
+
const COMPONENT_NAME$15 = 'vc-scroller-bar';
|
|
13372
13372
|
const Bar = /* @__PURE__ */ vue.defineComponent({
|
|
13373
|
-
name: COMPONENT_NAME$
|
|
13373
|
+
name: COMPONENT_NAME$15,
|
|
13374
13374
|
props: props$R,
|
|
13375
13375
|
emits: ['change'],
|
|
13376
13376
|
setup(props, {
|
|
@@ -13585,7 +13585,7 @@
|
|
|
13585
13585
|
|
|
13586
13586
|
/** @jsxImportSource vue */
|
|
13587
13587
|
|
|
13588
|
-
const COMPONENT_NAME$
|
|
13588
|
+
const COMPONENT_NAME$14 = 'vc-scroller';
|
|
13589
13589
|
|
|
13590
13590
|
/**
|
|
13591
13591
|
* 作为备选方案,目前推荐使用ScrollerWheel
|
|
@@ -13596,7 +13596,7 @@
|
|
|
13596
13596
|
* 2. 增加了一层嵌套
|
|
13597
13597
|
*/
|
|
13598
13598
|
const Scroller = /* @__PURE__ */ vue.defineComponent({
|
|
13599
|
-
name: COMPONENT_NAME$
|
|
13599
|
+
name: COMPONENT_NAME$14,
|
|
13600
13600
|
props: props$Q,
|
|
13601
13601
|
emits: ['scroll'],
|
|
13602
13602
|
setup(props, {
|
|
@@ -14546,7 +14546,7 @@
|
|
|
14546
14546
|
|
|
14547
14547
|
/** @jsxImportSource vue */
|
|
14548
14548
|
|
|
14549
|
-
const COMPONENT_NAME$
|
|
14549
|
+
const COMPONENT_NAME$13 = 'vc-scroller-wheel';
|
|
14550
14550
|
|
|
14551
14551
|
/**
|
|
14552
14552
|
* 为减少一层嵌套,为去除滚动bar的抖动,使用wheel模拟
|
|
@@ -14568,7 +14568,7 @@
|
|
|
14568
14568
|
* 设置scrollTop不会reflow和repaint,不需要考虑transfrom来改变content(transform也只在draw完成)
|
|
14569
14569
|
*/
|
|
14570
14570
|
const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
|
|
14571
|
-
name: COMPONENT_NAME$
|
|
14571
|
+
name: COMPONENT_NAME$13,
|
|
14572
14572
|
props: Object.assign(props$Q, {
|
|
14573
14573
|
stopPropagation: {
|
|
14574
14574
|
type: Boolean,
|
|
@@ -14747,9 +14747,9 @@
|
|
|
14747
14747
|
|
|
14748
14748
|
/** @jsxImportSource vue */
|
|
14749
14749
|
|
|
14750
|
-
const COMPONENT_NAME$
|
|
14750
|
+
const COMPONENT_NAME$12 = 'vc-drawer';
|
|
14751
14751
|
const DrawerView = /* @__PURE__ */ vue.defineComponent({
|
|
14752
|
-
name: COMPONENT_NAME$
|
|
14752
|
+
name: COMPONENT_NAME$12,
|
|
14753
14753
|
props: props$P,
|
|
14754
14754
|
emits: ['close', 'update:modelValue', 'visible-change'],
|
|
14755
14755
|
setup(props, {
|
|
@@ -14922,9 +14922,9 @@
|
|
|
14922
14922
|
|
|
14923
14923
|
/** @jsxImportSource vue */
|
|
14924
14924
|
|
|
14925
|
-
const COMPONENT_NAME$
|
|
14925
|
+
const COMPONENT_NAME$11 = 'vc-dropdown';
|
|
14926
14926
|
const Dropdown = /* @__PURE__ */ vue.defineComponent({
|
|
14927
|
-
name: COMPONENT_NAME$
|
|
14927
|
+
name: COMPONENT_NAME$11,
|
|
14928
14928
|
props: props$O,
|
|
14929
14929
|
setup(props, {
|
|
14930
14930
|
slots
|
|
@@ -14948,9 +14948,9 @@
|
|
|
14948
14948
|
|
|
14949
14949
|
/** @jsxImportSource vue */
|
|
14950
14950
|
|
|
14951
|
-
const COMPONENT_NAME$
|
|
14951
|
+
const COMPONENT_NAME$10 = 'vc-editor';
|
|
14952
14952
|
const Editor = /* @__PURE__ */ vue.defineComponent({
|
|
14953
|
-
name: COMPONENT_NAME$
|
|
14953
|
+
name: COMPONENT_NAME$10,
|
|
14954
14954
|
props: props$N,
|
|
14955
14955
|
setup(props, {
|
|
14956
14956
|
slots
|
|
@@ -15094,9 +15094,9 @@
|
|
|
15094
15094
|
});
|
|
15095
15095
|
};
|
|
15096
15096
|
|
|
15097
|
-
const COMPONENT_NAME
|
|
15097
|
+
const COMPONENT_NAME$$ = "vc-form";
|
|
15098
15098
|
const Form = vue.defineComponent({
|
|
15099
|
-
name: COMPONENT_NAME
|
|
15099
|
+
name: COMPONENT_NAME$$,
|
|
15100
15100
|
props: props$M,
|
|
15101
15101
|
setup(props, { slots, expose }) {
|
|
15102
15102
|
useForm(expose);
|
|
@@ -15548,9 +15548,9 @@
|
|
|
15548
15548
|
|
|
15549
15549
|
/** @jsxImportSource vue */
|
|
15550
15550
|
|
|
15551
|
-
const COMPONENT_NAME
|
|
15551
|
+
const COMPONENT_NAME$_ = 'vc-form-item';
|
|
15552
15552
|
const FormItem = /* @__PURE__ */ vue.defineComponent({
|
|
15553
|
-
name: COMPONENT_NAME
|
|
15553
|
+
name: COMPONENT_NAME$_,
|
|
15554
15554
|
props: props$L,
|
|
15555
15555
|
setup(props, {
|
|
15556
15556
|
slots,
|
|
@@ -15615,9 +15615,9 @@
|
|
|
15615
15615
|
}
|
|
15616
15616
|
};
|
|
15617
15617
|
|
|
15618
|
-
const COMPONENT_NAME$
|
|
15618
|
+
const COMPONENT_NAME$Z = "vcm-form";
|
|
15619
15619
|
const MForm = vue.defineComponent({
|
|
15620
|
-
name: COMPONENT_NAME$
|
|
15620
|
+
name: COMPONENT_NAME$Z,
|
|
15621
15621
|
props: props$K,
|
|
15622
15622
|
setup(props, { slots, expose }) {
|
|
15623
15623
|
useForm(expose, {
|
|
@@ -15648,9 +15648,9 @@
|
|
|
15648
15648
|
|
|
15649
15649
|
/** @jsxImportSource vue */
|
|
15650
15650
|
|
|
15651
|
-
const COMPONENT_NAME$
|
|
15651
|
+
const COMPONENT_NAME$Y = 'vcm-form-item';
|
|
15652
15652
|
const MFormItem = /* @__PURE__ */ vue.defineComponent({
|
|
15653
|
-
name: COMPONENT_NAME$
|
|
15653
|
+
name: COMPONENT_NAME$Y,
|
|
15654
15654
|
props: props$J,
|
|
15655
15655
|
setup(props, {
|
|
15656
15656
|
slots,
|
|
@@ -15704,9 +15704,9 @@
|
|
|
15704
15704
|
}
|
|
15705
15705
|
});
|
|
15706
15706
|
|
|
15707
|
-
const COMPONENT_NAME$
|
|
15707
|
+
const COMPONENT_NAME$X = "vc-fragment";
|
|
15708
15708
|
const Fragment = vue.defineComponent({
|
|
15709
|
-
name: COMPONENT_NAME$
|
|
15709
|
+
name: COMPONENT_NAME$X,
|
|
15710
15710
|
setup(_, { slots }) {
|
|
15711
15711
|
return () => vue.h(vue.Fragment, slots.default?.());
|
|
15712
15712
|
}
|
|
@@ -15723,9 +15723,9 @@
|
|
|
15723
15723
|
|
|
15724
15724
|
/** @jsxImportSource vue */
|
|
15725
15725
|
|
|
15726
|
-
const COMPONENT_NAME$
|
|
15726
|
+
const COMPONENT_NAME$W = 'vc-html-to-image';
|
|
15727
15727
|
const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
|
|
15728
|
-
name: COMPONENT_NAME$
|
|
15728
|
+
name: COMPONENT_NAME$W,
|
|
15729
15729
|
props: props$I,
|
|
15730
15730
|
setup(props, {
|
|
15731
15731
|
slots
|
|
@@ -16183,7 +16183,7 @@
|
|
|
16183
16183
|
|
|
16184
16184
|
/** @jsxImportSource vue */
|
|
16185
16185
|
|
|
16186
|
-
const COMPONENT_NAME$
|
|
16186
|
+
const COMPONENT_NAME$V = 'vc-image';
|
|
16187
16187
|
let isSupportObjectFit = false;
|
|
16188
16188
|
window.addEventListener('DOMContentLoaded', () => {
|
|
16189
16189
|
isSupportObjectFit = !IS_SERVER$2 && document.documentElement.style.objectFit !== undefined;
|
|
@@ -16196,7 +16196,7 @@
|
|
|
16196
16196
|
SCALE_DOWN: 'scale-down'
|
|
16197
16197
|
};
|
|
16198
16198
|
const Image$1 = /* @__PURE__ */ vue.defineComponent({
|
|
16199
|
-
name: COMPONENT_NAME$
|
|
16199
|
+
name: COMPONENT_NAME$V,
|
|
16200
16200
|
inheritAttrs: false,
|
|
16201
16201
|
props: props$H,
|
|
16202
16202
|
setup(props, {
|
|
@@ -16401,9 +16401,9 @@
|
|
|
16401
16401
|
|
|
16402
16402
|
/** @jsxImportSource vue */
|
|
16403
16403
|
|
|
16404
|
-
const COMPONENT_NAME$
|
|
16404
|
+
const COMPONENT_NAME$U = 'vc-image-crop';
|
|
16405
16405
|
const ImageCrop = /* @__PURE__ */ vue.defineComponent({
|
|
16406
|
-
name: COMPONENT_NAME$
|
|
16406
|
+
name: COMPONENT_NAME$U,
|
|
16407
16407
|
props: props$G,
|
|
16408
16408
|
setup(props, {
|
|
16409
16409
|
slots
|
|
@@ -16427,9 +16427,9 @@
|
|
|
16427
16427
|
|
|
16428
16428
|
/** @jsxImportSource vue */
|
|
16429
16429
|
|
|
16430
|
-
const COMPONENT_NAME$
|
|
16430
|
+
const COMPONENT_NAME$T = 'vc-image-preview';
|
|
16431
16431
|
const ImagePreview = /* @__PURE__ */ vue.defineComponent({
|
|
16432
|
-
name: COMPONENT_NAME$
|
|
16432
|
+
name: COMPONENT_NAME$T,
|
|
16433
16433
|
props: props$F,
|
|
16434
16434
|
setup(props, {
|
|
16435
16435
|
slots
|
|
@@ -16453,9 +16453,9 @@
|
|
|
16453
16453
|
|
|
16454
16454
|
/** @jsxImportSource vue */
|
|
16455
16455
|
|
|
16456
|
-
const COMPONENT_NAME$
|
|
16456
|
+
const COMPONENT_NAME$S = 'vc-image-processing';
|
|
16457
16457
|
const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
|
|
16458
|
-
name: COMPONENT_NAME$
|
|
16458
|
+
name: COMPONENT_NAME$S,
|
|
16459
16459
|
props: props$E,
|
|
16460
16460
|
setup(props, {
|
|
16461
16461
|
slots
|
|
@@ -16472,9 +16472,9 @@
|
|
|
16472
16472
|
|
|
16473
16473
|
/** @jsxImportSource vue */
|
|
16474
16474
|
|
|
16475
|
-
const COMPONENT_NAME$
|
|
16475
|
+
const COMPONENT_NAME$R = 'vcm-input';
|
|
16476
16476
|
const MInput = /* @__PURE__ */ vue.defineComponent({
|
|
16477
|
-
name: COMPONENT_NAME$
|
|
16477
|
+
name: COMPONENT_NAME$R,
|
|
16478
16478
|
inheritAttrs: false,
|
|
16479
16479
|
props: {
|
|
16480
16480
|
...props$$,
|
|
@@ -16563,9 +16563,9 @@
|
|
|
16563
16563
|
|
|
16564
16564
|
/** @jsxImportSource vue */
|
|
16565
16565
|
|
|
16566
|
-
const COMPONENT_NAME$
|
|
16566
|
+
const COMPONENT_NAME$Q = 'vcm-input-number';
|
|
16567
16567
|
const MInputNumber = /* @__PURE__ */ vue.defineComponent({
|
|
16568
|
-
name: COMPONENT_NAME$
|
|
16568
|
+
name: COMPONENT_NAME$Q,
|
|
16569
16569
|
props: props$X,
|
|
16570
16570
|
inheritAttrs: false,
|
|
16571
16571
|
setup(props, {
|
|
@@ -16614,9 +16614,9 @@
|
|
|
16614
16614
|
|
|
16615
16615
|
/** @jsxImportSource vue */
|
|
16616
16616
|
|
|
16617
|
-
const COMPONENT_NAME$
|
|
16617
|
+
const COMPONENT_NAME$P = 'vcm-input-search';
|
|
16618
16618
|
const MInputSearch = /* @__PURE__ */ vue.defineComponent({
|
|
16619
|
-
name: COMPONENT_NAME$
|
|
16619
|
+
name: COMPONENT_NAME$P,
|
|
16620
16620
|
props: {
|
|
16621
16621
|
...props$W,
|
|
16622
16622
|
cancelText: {
|
|
@@ -16693,9 +16693,9 @@
|
|
|
16693
16693
|
}
|
|
16694
16694
|
};
|
|
16695
16695
|
|
|
16696
|
-
const COMPONENT_NAME$
|
|
16696
|
+
const COMPONENT_NAME$O = "vcm-list";
|
|
16697
16697
|
const MList = vue.defineComponent({
|
|
16698
|
-
name: COMPONENT_NAME$
|
|
16698
|
+
name: COMPONENT_NAME$O,
|
|
16699
16699
|
props: props$D,
|
|
16700
16700
|
setup(props, { slots }) {
|
|
16701
16701
|
vue.provide("vc-list", { props });
|
|
@@ -16750,10 +16750,10 @@
|
|
|
16750
16750
|
|
|
16751
16751
|
/** @jsxImportSource vue */
|
|
16752
16752
|
|
|
16753
|
-
const COMPONENT_NAME$
|
|
16753
|
+
const COMPONENT_NAME$N = 'vcm-list-item';
|
|
16754
16754
|
const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
|
|
16755
16755
|
const MListItem = /* @__PURE__ */ vue.defineComponent({
|
|
16756
|
-
name: COMPONENT_NAME$
|
|
16756
|
+
name: COMPONENT_NAME$N,
|
|
16757
16757
|
props: props$C,
|
|
16758
16758
|
emits: ['click'],
|
|
16759
16759
|
setup(props, {
|
|
@@ -16886,11 +16886,11 @@
|
|
|
16886
16886
|
|
|
16887
16887
|
/** @jsxImportSource vue */
|
|
16888
16888
|
|
|
16889
|
-
const COMPONENT_NAME$
|
|
16889
|
+
const COMPONENT_NAME$M = 'vc-marquee';
|
|
16890
16890
|
const ANIMATION = prefixStyle('animation').camel;
|
|
16891
16891
|
const TRANSFORM_KEBAB = prefixStyle('transform').kebab;
|
|
16892
16892
|
const Marquee = /* @__PURE__ */ vue.defineComponent({
|
|
16893
|
-
name: COMPONENT_NAME$
|
|
16893
|
+
name: COMPONENT_NAME$M,
|
|
16894
16894
|
props: props$B,
|
|
16895
16895
|
setup(props, {
|
|
16896
16896
|
slots
|
|
@@ -16951,12 +16951,16 @@
|
|
|
16951
16951
|
tag: {
|
|
16952
16952
|
type: String,
|
|
16953
16953
|
default: "div"
|
|
16954
|
+
},
|
|
16955
|
+
fill: {
|
|
16956
|
+
type: Boolean,
|
|
16957
|
+
default: true
|
|
16954
16958
|
}
|
|
16955
16959
|
};
|
|
16956
16960
|
|
|
16957
|
-
const COMPONENT_NAME$
|
|
16961
|
+
const COMPONENT_NAME$L = "vc-resizer";
|
|
16958
16962
|
const Resizer = vue.defineComponent({
|
|
16959
|
-
name: COMPONENT_NAME$
|
|
16963
|
+
name: COMPONENT_NAME$L,
|
|
16960
16964
|
props: props$A,
|
|
16961
16965
|
emit: ["resize", "change"],
|
|
16962
16966
|
setup(props, { emit, slots, expose }) {
|
|
@@ -17005,13 +17009,13 @@
|
|
|
17005
17009
|
Resize.off(current.value, handleResize);
|
|
17006
17010
|
timer && clearTimeout(timer);
|
|
17007
17011
|
});
|
|
17008
|
-
expose({ refresh });
|
|
17012
|
+
expose({ refresh, offsetHeight: height, offsetWidth: width });
|
|
17009
17013
|
return () => {
|
|
17010
17014
|
return vue.h(
|
|
17011
17015
|
props.tag,
|
|
17012
17016
|
{
|
|
17013
17017
|
ref: current,
|
|
17014
|
-
class: "vc-resizer"
|
|
17018
|
+
class: ["vc-resizer", { "is-fill": props.fill }]
|
|
17015
17019
|
},
|
|
17016
17020
|
slots.default?.(currentExposed.value)
|
|
17017
17021
|
);
|
|
@@ -17103,10 +17107,10 @@
|
|
|
17103
17107
|
|
|
17104
17108
|
/** @jsxImportSource vue */
|
|
17105
17109
|
|
|
17106
|
-
const COMPONENT_NAME$
|
|
17110
|
+
const COMPONENT_NAME$K = 'vc-modal';
|
|
17107
17111
|
let zIndexNumber = 1002;
|
|
17108
17112
|
const ModalView = /* @__PURE__ */ vue.defineComponent({
|
|
17109
|
-
name: COMPONENT_NAME$
|
|
17113
|
+
name: COMPONENT_NAME$K,
|
|
17110
17114
|
emits: ['update:modelValue', 'close', 'portal-fulfilled', 'visible-change', 'ok', 'cancel'],
|
|
17111
17115
|
props: props$z,
|
|
17112
17116
|
setup(props, {
|
|
@@ -17533,9 +17537,9 @@
|
|
|
17533
17537
|
|
|
17534
17538
|
/** @jsxImportSource vue */
|
|
17535
17539
|
|
|
17536
|
-
const COMPONENT_NAME$
|
|
17540
|
+
const COMPONENT_NAME$J = 'vc-modal';
|
|
17537
17541
|
const MModalView = /* @__PURE__ */ vue.defineComponent({
|
|
17538
|
-
name: COMPONENT_NAME$
|
|
17542
|
+
name: COMPONENT_NAME$J,
|
|
17539
17543
|
emits: ['update:modelValue', 'portal-fulfilled', 'close', 'ok', 'cancel'],
|
|
17540
17544
|
props: props$y,
|
|
17541
17545
|
setup(props, {
|
|
@@ -17747,9 +17751,9 @@
|
|
|
17747
17751
|
|
|
17748
17752
|
/** @jsxImportSource vue */
|
|
17749
17753
|
|
|
17750
|
-
const COMPONENT_NAME$
|
|
17754
|
+
const COMPONENT_NAME$I = 'vc-notice';
|
|
17751
17755
|
const NoticeView = /* @__PURE__ */ vue.defineComponent({
|
|
17752
|
-
name: COMPONENT_NAME$
|
|
17756
|
+
name: COMPONENT_NAME$I,
|
|
17753
17757
|
props: props$x,
|
|
17754
17758
|
emits: ['portal-fulfilled', 'close', 'before-close'],
|
|
17755
17759
|
setup(props, {
|
|
@@ -17922,9 +17926,9 @@
|
|
|
17922
17926
|
|
|
17923
17927
|
/** @jsxImportSource vue */
|
|
17924
17928
|
|
|
17925
|
-
const COMPONENT_NAME$
|
|
17929
|
+
const COMPONENT_NAME$H = 'vc-option';
|
|
17926
17930
|
const Option$1 = /* @__PURE__ */ vue.defineComponent({
|
|
17927
|
-
name: COMPONENT_NAME$
|
|
17931
|
+
name: COMPONENT_NAME$H,
|
|
17928
17932
|
props: props$w,
|
|
17929
17933
|
setup(props, {
|
|
17930
17934
|
slots
|
|
@@ -18037,9 +18041,9 @@
|
|
|
18037
18041
|
|
|
18038
18042
|
/** @jsxImportSource vue */
|
|
18039
18043
|
|
|
18040
|
-
const COMPONENT_NAME$
|
|
18044
|
+
const COMPONENT_NAME$G = 'vc-tag';
|
|
18041
18045
|
const Tag = /* @__PURE__ */ vue.defineComponent({
|
|
18042
|
-
name: COMPONENT_NAME$
|
|
18046
|
+
name: COMPONENT_NAME$G,
|
|
18043
18047
|
props: props$u,
|
|
18044
18048
|
emits: ['close', 'change'],
|
|
18045
18049
|
setup(props, {
|
|
@@ -18108,9 +18112,9 @@
|
|
|
18108
18112
|
|
|
18109
18113
|
/** @jsxImportSource vue */
|
|
18110
18114
|
|
|
18111
|
-
const COMPONENT_NAME$
|
|
18115
|
+
const COMPONENT_NAME$F = 'vc-select-option';
|
|
18112
18116
|
const Option = /* @__PURE__ */ vue.defineComponent({
|
|
18113
|
-
name: COMPONENT_NAME$
|
|
18117
|
+
name: COMPONENT_NAME$F,
|
|
18114
18118
|
props: props$t,
|
|
18115
18119
|
setup(props, {
|
|
18116
18120
|
slots
|
|
@@ -18183,9 +18187,9 @@
|
|
|
18183
18187
|
|
|
18184
18188
|
/** @jsxImportSource vue */
|
|
18185
18189
|
|
|
18186
|
-
const COMPONENT_NAME$
|
|
18190
|
+
const COMPONENT_NAME$E = 'vc-select-option-group';
|
|
18187
18191
|
const OptionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
18188
|
-
name: COMPONENT_NAME$
|
|
18192
|
+
name: COMPONENT_NAME$E,
|
|
18189
18193
|
props: props$s,
|
|
18190
18194
|
setup(props, {
|
|
18191
18195
|
slots
|
|
@@ -18283,9 +18287,9 @@
|
|
|
18283
18287
|
function _isSlot$1(s) {
|
|
18284
18288
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
18285
18289
|
}
|
|
18286
|
-
const COMPONENT_NAME$
|
|
18290
|
+
const COMPONENT_NAME$D = 'vc-select';
|
|
18287
18291
|
const Select = /* @__PURE__ */ vue.defineComponent({
|
|
18288
|
-
name: COMPONENT_NAME$
|
|
18292
|
+
name: COMPONENT_NAME$D,
|
|
18289
18293
|
props: props$r,
|
|
18290
18294
|
emits: ['ready', 'close', 'visible-change', 'clear', 'change', 'update:modelValue'],
|
|
18291
18295
|
setup(props, {
|
|
@@ -18529,9 +18533,9 @@
|
|
|
18529
18533
|
|
|
18530
18534
|
/** @jsxImportSource vue */
|
|
18531
18535
|
|
|
18532
|
-
const COMPONENT_NAME$
|
|
18536
|
+
const COMPONENT_NAME$C = 'vc-pagination';
|
|
18533
18537
|
const Pagination = /* @__PURE__ */ vue.defineComponent({
|
|
18534
|
-
name: COMPONENT_NAME$
|
|
18538
|
+
name: COMPONENT_NAME$C,
|
|
18535
18539
|
props: props$v,
|
|
18536
18540
|
emits: ['update:current', 'change', 'page-size-change'],
|
|
18537
18541
|
setup(props, {
|
|
@@ -18729,9 +18733,9 @@
|
|
|
18729
18733
|
|
|
18730
18734
|
/** @jsxImportSource vue */
|
|
18731
18735
|
|
|
18732
|
-
const COMPONENT_NAME$
|
|
18736
|
+
const COMPONENT_NAME$B = 'vc-picker';
|
|
18733
18737
|
const Picker = /* @__PURE__ */ vue.defineComponent({
|
|
18734
|
-
name: COMPONENT_NAME$
|
|
18738
|
+
name: COMPONENT_NAME$B,
|
|
18735
18739
|
props: props$q,
|
|
18736
18740
|
setup(props, {
|
|
18737
18741
|
slots
|
|
@@ -18755,9 +18759,9 @@
|
|
|
18755
18759
|
|
|
18756
18760
|
/** @jsxImportSource vue */
|
|
18757
18761
|
|
|
18758
|
-
const COMPONENT_NAME$
|
|
18762
|
+
const COMPONENT_NAME$A = 'vc-popconfirm';
|
|
18759
18763
|
const Popconfirm = /* @__PURE__ */ vue.defineComponent({
|
|
18760
|
-
name: COMPONENT_NAME$
|
|
18764
|
+
name: COMPONENT_NAME$A,
|
|
18761
18765
|
props: props$p,
|
|
18762
18766
|
setup(props, {
|
|
18763
18767
|
slots
|
|
@@ -18783,9 +18787,9 @@
|
|
|
18783
18787
|
|
|
18784
18788
|
/** @jsxImportSource vue */
|
|
18785
18789
|
|
|
18786
|
-
const COMPONENT_NAME$
|
|
18790
|
+
const COMPONENT_NAME$z = 'vc-popup';
|
|
18787
18791
|
const Popup = /* @__PURE__ */ vue.defineComponent({
|
|
18788
|
-
name: COMPONENT_NAME$
|
|
18792
|
+
name: COMPONENT_NAME$z,
|
|
18789
18793
|
props: props$o,
|
|
18790
18794
|
setup(props, {
|
|
18791
18795
|
slots
|
|
@@ -18812,9 +18816,9 @@
|
|
|
18812
18816
|
|
|
18813
18817
|
/** @jsxImportSource vue */
|
|
18814
18818
|
|
|
18815
|
-
const COMPONENT_NAME$
|
|
18819
|
+
const COMPONENT_NAME$y = 'vc-print';
|
|
18816
18820
|
const Print = /* @__PURE__ */ vue.defineComponent({
|
|
18817
|
-
name: COMPONENT_NAME$
|
|
18821
|
+
name: COMPONENT_NAME$y,
|
|
18818
18822
|
props: props$n,
|
|
18819
18823
|
setup(props, {
|
|
18820
18824
|
expose,
|
|
@@ -18878,6 +18882,12 @@
|
|
|
18878
18882
|
type: Boolean,
|
|
18879
18883
|
default: true
|
|
18880
18884
|
},
|
|
18885
|
+
textStyle: {
|
|
18886
|
+
type: [String, Object]
|
|
18887
|
+
},
|
|
18888
|
+
textClass: {
|
|
18889
|
+
type: [String, Object]
|
|
18890
|
+
},
|
|
18881
18891
|
animated: {
|
|
18882
18892
|
type: Boolean,
|
|
18883
18893
|
default: false
|
|
@@ -18910,9 +18920,9 @@
|
|
|
18910
18920
|
|
|
18911
18921
|
/** @jsxImportSource vue */
|
|
18912
18922
|
|
|
18913
|
-
const COMPONENT_NAME$
|
|
18923
|
+
const COMPONENT_NAME$x = 'vc-progress-circle';
|
|
18914
18924
|
const Circle$1 = /* @__PURE__ */ vue.defineComponent({
|
|
18915
|
-
name: COMPONENT_NAME$
|
|
18925
|
+
name: COMPONENT_NAME$x,
|
|
18916
18926
|
props: props$m,
|
|
18917
18927
|
setup(props, {
|
|
18918
18928
|
slots
|
|
@@ -18961,17 +18971,20 @@
|
|
|
18961
18971
|
"stroke-linecap": "round",
|
|
18962
18972
|
"fill-opacity": "0"
|
|
18963
18973
|
}, null)]), vue.createVNode("div", {
|
|
18964
|
-
"class":
|
|
18965
|
-
}, [slots.default ? slots.default() : props.showText && vue.createVNode("span",
|
|
18974
|
+
"class": ['vc-progress-circle__inner']
|
|
18975
|
+
}, [slots.default ? slots.default() : props.showText && vue.createVNode("span", {
|
|
18976
|
+
"class": props.textClass,
|
|
18977
|
+
"style": props.textStyle
|
|
18978
|
+
}, [`${props.percent}%`])])])]);
|
|
18966
18979
|
};
|
|
18967
18980
|
}
|
|
18968
18981
|
});
|
|
18969
18982
|
|
|
18970
18983
|
/** @jsxImportSource vue */
|
|
18971
18984
|
|
|
18972
|
-
const COMPONENT_NAME$
|
|
18985
|
+
const COMPONENT_NAME$w = 'vc-progress-line';
|
|
18973
18986
|
const Line$2 = /* @__PURE__ */ vue.defineComponent({
|
|
18974
|
-
name: COMPONENT_NAME$
|
|
18987
|
+
name: COMPONENT_NAME$w,
|
|
18975
18988
|
props: props$m,
|
|
18976
18989
|
setup(props) {
|
|
18977
18990
|
const colorStyle = vue.computed(() => {
|
|
@@ -19000,12 +19013,15 @@
|
|
|
19000
19013
|
"style": innerStyle.value,
|
|
19001
19014
|
"class": [classes.value, 'vc-progress-line__inner']
|
|
19002
19015
|
}, null)])]), props.showText && vue.createVNode("div", {
|
|
19003
|
-
"class":
|
|
19016
|
+
"class": ['vc-progress-line__percent']
|
|
19004
19017
|
}, [['error', 'success'].includes(props.status) ? vue.createVNode(Icon, {
|
|
19005
19018
|
"type": props.status,
|
|
19006
19019
|
"style": colorStyle.value,
|
|
19007
19020
|
"class": [`is-${props.status}`, 'vc-progress-line__icon']
|
|
19008
|
-
}, null) : vue.createVNode("span",
|
|
19021
|
+
}, null) : vue.createVNode("span", {
|
|
19022
|
+
"class": props.textClass,
|
|
19023
|
+
"style": props.textStyle
|
|
19024
|
+
}, [`${props.percent}%`])])]);
|
|
19009
19025
|
};
|
|
19010
19026
|
}
|
|
19011
19027
|
});
|
|
@@ -19015,9 +19031,9 @@
|
|
|
19015
19031
|
function _isSlot(s) {
|
|
19016
19032
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
|
|
19017
19033
|
}
|
|
19018
|
-
const COMPONENT_NAME$
|
|
19034
|
+
const COMPONENT_NAME$v = 'vc-progress';
|
|
19019
19035
|
const Progress = /* @__PURE__ */ vue.defineComponent({
|
|
19020
|
-
name: COMPONENT_NAME$
|
|
19036
|
+
name: COMPONENT_NAME$v,
|
|
19021
19037
|
props: props$m,
|
|
19022
19038
|
setup(props, {
|
|
19023
19039
|
slots
|
|
@@ -19169,9 +19185,9 @@
|
|
|
19169
19185
|
|
|
19170
19186
|
/** @jsxImportSource vue */
|
|
19171
19187
|
|
|
19172
|
-
const COMPONENT_NAME$
|
|
19188
|
+
const COMPONENT_NAME$u = 'vc-radio';
|
|
19173
19189
|
const Radio = /* @__PURE__ */ vue.defineComponent({
|
|
19174
|
-
name: COMPONENT_NAME$
|
|
19190
|
+
name: COMPONENT_NAME$u,
|
|
19175
19191
|
props: props$l,
|
|
19176
19192
|
emits: ['update:modelValue', 'change'],
|
|
19177
19193
|
setup(props, {
|
|
@@ -19282,9 +19298,9 @@
|
|
|
19282
19298
|
|
|
19283
19299
|
/** @jsxImportSource vue */
|
|
19284
19300
|
|
|
19285
|
-
const COMPONENT_NAME$
|
|
19301
|
+
const COMPONENT_NAME$t = 'vc-radio-group';
|
|
19286
19302
|
const RadioGroup = /* @__PURE__ */ vue.defineComponent({
|
|
19287
|
-
name: COMPONENT_NAME$
|
|
19303
|
+
name: COMPONENT_NAME$t,
|
|
19288
19304
|
props: props$k,
|
|
19289
19305
|
emits: ['update:modelValue', 'change'],
|
|
19290
19306
|
setup(props, {
|
|
@@ -19306,9 +19322,9 @@
|
|
|
19306
19322
|
|
|
19307
19323
|
/** @jsxImportSource vue */
|
|
19308
19324
|
|
|
19309
|
-
const COMPONENT_NAME$
|
|
19325
|
+
const COMPONENT_NAME$s = 'vcm-radio';
|
|
19310
19326
|
const MRadio = /* @__PURE__ */ vue.defineComponent({
|
|
19311
|
-
name: COMPONENT_NAME$
|
|
19327
|
+
name: COMPONENT_NAME$s,
|
|
19312
19328
|
props: props$l,
|
|
19313
19329
|
emits: ['update:modelValue', 'change'],
|
|
19314
19330
|
setup(props, {
|
|
@@ -19349,9 +19365,9 @@
|
|
|
19349
19365
|
|
|
19350
19366
|
/** @jsxImportSource vue */
|
|
19351
19367
|
|
|
19352
|
-
const COMPONENT_NAME$
|
|
19368
|
+
const COMPONENT_NAME$r = 'vcm-radio-group';
|
|
19353
19369
|
const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
|
|
19354
|
-
name: COMPONENT_NAME$
|
|
19370
|
+
name: COMPONENT_NAME$r,
|
|
19355
19371
|
props: props$k,
|
|
19356
19372
|
emits: ['update:modelValue', 'change'],
|
|
19357
19373
|
setup(props, {
|
|
@@ -19380,9 +19396,9 @@
|
|
|
19380
19396
|
|
|
19381
19397
|
/** @jsxImportSource vue */
|
|
19382
19398
|
|
|
19383
|
-
const COMPONENT_NAME$
|
|
19399
|
+
const COMPONENT_NAME$q = 'vc-rate';
|
|
19384
19400
|
const Rate = /* @__PURE__ */ vue.defineComponent({
|
|
19385
|
-
name: COMPONENT_NAME$
|
|
19401
|
+
name: COMPONENT_NAME$q,
|
|
19386
19402
|
props: props$j,
|
|
19387
19403
|
setup(props, {
|
|
19388
19404
|
slots
|
|
@@ -19564,9 +19580,9 @@
|
|
|
19564
19580
|
|
|
19565
19581
|
/** @jsxImportSource vue */
|
|
19566
19582
|
|
|
19567
|
-
const COMPONENT_NAME$
|
|
19583
|
+
const COMPONENT_NAME$p = 'vc-recycle-list-scroll-state';
|
|
19568
19584
|
const ScrollState = /* @__PURE__ */ vue.defineComponent({
|
|
19569
|
-
name: COMPONENT_NAME$
|
|
19585
|
+
name: COMPONENT_NAME$p,
|
|
19570
19586
|
setup(_, {
|
|
19571
19587
|
slots
|
|
19572
19588
|
}) {
|
|
@@ -19696,12 +19712,12 @@
|
|
|
19696
19712
|
|
|
19697
19713
|
/** @jsxImportSource vue */
|
|
19698
19714
|
|
|
19699
|
-
const COMPONENT_NAME$
|
|
19715
|
+
const COMPONENT_NAME$o = 'vc-recycle-list-container';
|
|
19700
19716
|
|
|
19701
19717
|
// TODO: 抽离
|
|
19702
19718
|
const transformKey = prefixStyle('transform').camel;
|
|
19703
19719
|
const Container = /* @__PURE__ */ vue.defineComponent({
|
|
19704
|
-
name: COMPONENT_NAME$
|
|
19720
|
+
name: COMPONENT_NAME$o,
|
|
19705
19721
|
props: props$h,
|
|
19706
19722
|
emits: ['refresh'],
|
|
19707
19723
|
setup(props, {
|
|
@@ -19799,51 +19815,6 @@
|
|
|
19799
19815
|
|
|
19800
19816
|
/** @jsxImportSource vue */
|
|
19801
19817
|
|
|
19802
|
-
const COMPONENT_NAME$o = 'vc-recycle-list-item';
|
|
19803
|
-
const Item = /* @__PURE__ */ vue.defineComponent({
|
|
19804
|
-
name: COMPONENT_NAME$o,
|
|
19805
|
-
props: {
|
|
19806
|
-
vertical: {
|
|
19807
|
-
type: Boolean,
|
|
19808
|
-
default: true
|
|
19809
|
-
}
|
|
19810
|
-
},
|
|
19811
|
-
emits: ['resize', 'change'],
|
|
19812
|
-
setup(_, {
|
|
19813
|
-
emit,
|
|
19814
|
-
slots
|
|
19815
|
-
}) {
|
|
19816
|
-
const K = useDirectionKeys();
|
|
19817
|
-
const current = vue.ref();
|
|
19818
|
-
const offsetSize = vue.ref(0);
|
|
19819
|
-
let hasInitial = false;
|
|
19820
|
-
const handleResize = () => {
|
|
19821
|
-
const v = current.value.getBoundingClientRect()[K.size];
|
|
19822
|
-
const changed = offsetSize.value != v;
|
|
19823
|
-
if (changed) {
|
|
19824
|
-
offsetSize.value = v;
|
|
19825
|
-
hasInitial && emit('resize', v);
|
|
19826
|
-
emit('change', v);
|
|
19827
|
-
}
|
|
19828
|
-
hasInitial = true;
|
|
19829
|
-
};
|
|
19830
|
-
vue.onMounted(() => {
|
|
19831
|
-
Resize.on(current.value, handleResize); // 首次会执行一次
|
|
19832
|
-
});
|
|
19833
|
-
vue.onBeforeUnmount(() => {
|
|
19834
|
-
Resize.off(current.value, handleResize);
|
|
19835
|
-
});
|
|
19836
|
-
return () => {
|
|
19837
|
-
return vue.createVNode("div", {
|
|
19838
|
-
"ref": current,
|
|
19839
|
-
"class": "vc-recycle-list-item"
|
|
19840
|
-
}, [slots?.default?.()]);
|
|
19841
|
-
};
|
|
19842
|
-
}
|
|
19843
|
-
});
|
|
19844
|
-
|
|
19845
|
-
/** @jsxImportSource vue */
|
|
19846
|
-
|
|
19847
19818
|
const COMPONENT_NAME$n = 'vc-recycle-list';
|
|
19848
19819
|
const RecycleList = /* @__PURE__ */ vue.defineComponent({
|
|
19849
19820
|
name: COMPONENT_NAME$n,
|
|
@@ -20354,7 +20325,7 @@
|
|
|
20354
20325
|
// eslint-disable-next-line @stylistic/max-len
|
|
20355
20326
|
slots.placeholder?.() || renderer.value.placeholder && vue.createVNode(Customer, {
|
|
20356
20327
|
"render": renderer.value.placeholder
|
|
20357
|
-
}, null)]), !item.isPlaceholder && vue.createVNode(
|
|
20328
|
+
}, null)]), !item.isPlaceholder && vue.createVNode(Resizer, {
|
|
20358
20329
|
"ref": v => curloads.value[item.id] = v,
|
|
20359
20330
|
"class": {
|
|
20360
20331
|
'vc-recycle-list__transition': hasPlaceholder.value
|
|
@@ -20362,11 +20333,11 @@
|
|
|
20362
20333
|
"style": {
|
|
20363
20334
|
opacity: item.loaded
|
|
20364
20335
|
},
|
|
20336
|
+
"fill": false,
|
|
20365
20337
|
"data-row": item.id,
|
|
20366
20338
|
"data-column": item.column,
|
|
20367
20339
|
"data-size": item.size,
|
|
20368
20340
|
"data-position": item.position,
|
|
20369
|
-
"vertical": props.vertical,
|
|
20370
20341
|
"onResize": handleResize
|
|
20371
20342
|
}, {
|
|
20372
20343
|
default: () => [slots.default?.({
|
|
@@ -37983,14 +37954,14 @@
|
|
|
37983
37954
|
}
|
|
37984
37955
|
}
|
|
37985
37956
|
if (column.children) {
|
|
37986
|
-
let
|
|
37957
|
+
let colspan = 0;
|
|
37987
37958
|
column.children.forEach((subColumn) => {
|
|
37988
37959
|
traverse(subColumn, column);
|
|
37989
|
-
|
|
37960
|
+
colspan += subColumn.colspan;
|
|
37990
37961
|
});
|
|
37991
|
-
column.
|
|
37962
|
+
column.colspan = colspan;
|
|
37992
37963
|
} else {
|
|
37993
|
-
column.
|
|
37964
|
+
column.colspan = 1;
|
|
37994
37965
|
}
|
|
37995
37966
|
};
|
|
37996
37967
|
v.forEach((column) => {
|
|
@@ -38004,9 +37975,9 @@
|
|
|
38004
37975
|
const allColumns = getAllColumns(v);
|
|
38005
37976
|
allColumns.forEach((column) => {
|
|
38006
37977
|
if (!column.children) {
|
|
38007
|
-
column.
|
|
37978
|
+
column.rowspan = maxLevel - column.level + 1;
|
|
38008
37979
|
} else {
|
|
38009
|
-
column.
|
|
37980
|
+
column.rowspan = 1;
|
|
38010
37981
|
}
|
|
38011
37982
|
rows[column.level - 1].push(column);
|
|
38012
37983
|
});
|
|
@@ -38075,6 +38046,7 @@
|
|
|
38075
38046
|
selection: [],
|
|
38076
38047
|
reserveSelection: false,
|
|
38077
38048
|
selectable: null,
|
|
38049
|
+
expandSelectable: null,
|
|
38078
38050
|
hoverRowIndex: null,
|
|
38079
38051
|
// Current
|
|
38080
38052
|
currentRow: null,
|
|
@@ -38601,6 +38573,7 @@
|
|
|
38601
38573
|
this.layout = new Layout(this);
|
|
38602
38574
|
const { props } = options.table;
|
|
38603
38575
|
lodashExports.merge(this.states, {
|
|
38576
|
+
expandSelectable: props.expandSelectable,
|
|
38604
38577
|
treeLazy: props.lazy || false,
|
|
38605
38578
|
treeLazyColumnIdentifier: props.treeMap.hasChildren || "hasChildren",
|
|
38606
38579
|
treeChildrenColumnName: props.treeMap.children || "children"
|
|
@@ -38923,8 +38896,7 @@
|
|
|
38923
38896
|
}
|
|
38924
38897
|
|
|
38925
38898
|
const useStates = (mapper, $store) => {
|
|
38926
|
-
const
|
|
38927
|
-
const store = $store || instance.proxy?.store;
|
|
38899
|
+
const store = $store || vue.inject("vc-table")?.store;
|
|
38928
38900
|
const states = vue.reactive({});
|
|
38929
38901
|
Object.keys(mapper).forEach((key) => {
|
|
38930
38902
|
const value = mapper[key];
|
|
@@ -38959,16 +38931,16 @@
|
|
|
38959
38931
|
emit,
|
|
38960
38932
|
slots
|
|
38961
38933
|
}) {
|
|
38962
|
-
const handleResize = (
|
|
38934
|
+
const handleResize = (e, index) => {
|
|
38963
38935
|
emit('row-resize', {
|
|
38964
38936
|
index,
|
|
38965
|
-
size
|
|
38937
|
+
size: e.height
|
|
38966
38938
|
});
|
|
38967
38939
|
};
|
|
38968
38940
|
return () => {
|
|
38969
38941
|
return props.data.map((row, index) => {
|
|
38970
|
-
return vue.createVNode(
|
|
38971
|
-
"
|
|
38942
|
+
return vue.createVNode(Resizer, {
|
|
38943
|
+
"fill": false,
|
|
38972
38944
|
"onChange": e => handleResize(e, index)
|
|
38973
38945
|
}, {
|
|
38974
38946
|
default: () => [slots.default?.({
|
|
@@ -38984,7 +38956,6 @@
|
|
|
38984
38956
|
const TableBody = /* @__PURE__ */ vue.defineComponent({
|
|
38985
38957
|
name: 'vc-table-body',
|
|
38986
38958
|
props: {
|
|
38987
|
-
store: Object,
|
|
38988
38959
|
fixed: String,
|
|
38989
38960
|
heightStyle: [Object, Array, String]
|
|
38990
38961
|
},
|
|
@@ -38995,6 +38966,7 @@
|
|
|
38995
38966
|
}) {
|
|
38996
38967
|
const instance = vue.getCurrentInstance();
|
|
38997
38968
|
const table = vue.inject('vc-table');
|
|
38969
|
+
const allowRender = vue.ref(false);
|
|
38998
38970
|
const states = useStates({
|
|
38999
38971
|
data: 'data',
|
|
39000
38972
|
list: 'list',
|
|
@@ -39012,8 +38984,8 @@
|
|
|
39012
38984
|
}) => type === 'default')
|
|
39013
38985
|
});
|
|
39014
38986
|
const wrapper = vue.ref();
|
|
39015
|
-
vue.watch(() =>
|
|
39016
|
-
if (!
|
|
38987
|
+
vue.watch(() => table.store.states.hoverRowIndex, (v, oldV) => {
|
|
38988
|
+
if (!table.store.states.isComplex || IS_SERVER$2) return;
|
|
39017
38989
|
raf(() => {
|
|
39018
38990
|
const rows = instance.vnode.el.querySelectorAll('.vc-table__row');
|
|
39019
38991
|
const oldRow = rows[oldV];
|
|
@@ -39057,7 +39029,7 @@
|
|
|
39057
39029
|
};
|
|
39058
39030
|
const getRowClass = (row, rowIndex) => {
|
|
39059
39031
|
const classes = ['vc-table__row'];
|
|
39060
|
-
if (table.props.highlight && row ===
|
|
39032
|
+
if (table.props.highlight && row === table.store.states.currentRow) {
|
|
39061
39033
|
classes.push('current-row');
|
|
39062
39034
|
}
|
|
39063
39035
|
if (table.props.stripe && rowIndex % 2 === 1) {
|
|
@@ -39072,7 +39044,7 @@
|
|
|
39072
39044
|
rowIndex
|
|
39073
39045
|
}));
|
|
39074
39046
|
}
|
|
39075
|
-
if (
|
|
39047
|
+
if (table.store.states.expandRows.indexOf(row) > -1) {
|
|
39076
39048
|
classes.push('expanded');
|
|
39077
39049
|
}
|
|
39078
39050
|
return classes;
|
|
@@ -39155,10 +39127,10 @@
|
|
|
39155
39127
|
table.emit('cell-mouse-leave', oldHoverState.row, oldHoverState.column, oldHoverState.cell, e);
|
|
39156
39128
|
};
|
|
39157
39129
|
const handleMouseEnter = debounce$1(index => {
|
|
39158
|
-
|
|
39130
|
+
table.store.setHoverRow(index);
|
|
39159
39131
|
}, 30);
|
|
39160
39132
|
const handleMouseLeave = debounce$1(() => {
|
|
39161
|
-
|
|
39133
|
+
table.store.setHoverRow(null);
|
|
39162
39134
|
}, 30);
|
|
39163
39135
|
const handleEvent = (e, row, name) => {
|
|
39164
39136
|
const cell = getCell(e);
|
|
@@ -39178,10 +39150,13 @@
|
|
|
39178
39150
|
handleEvent(e, row, 'dblclick');
|
|
39179
39151
|
};
|
|
39180
39152
|
const handleClick = (e, row) => {
|
|
39181
|
-
|
|
39153
|
+
table.store.setCurrentRow(row);
|
|
39182
39154
|
handleEvent(e, row, 'click');
|
|
39183
39155
|
};
|
|
39184
39156
|
const renderRow = (rowData, rowIndex) => {
|
|
39157
|
+
const {
|
|
39158
|
+
rowHeight
|
|
39159
|
+
} = table.props;
|
|
39185
39160
|
const {
|
|
39186
39161
|
data: row
|
|
39187
39162
|
} = rowData;
|
|
@@ -39189,7 +39164,8 @@
|
|
|
39189
39164
|
columns
|
|
39190
39165
|
} = states;
|
|
39191
39166
|
const key = getValueOfRow(row, rowIndex);
|
|
39192
|
-
const selected =
|
|
39167
|
+
const selected = table.store.isSelected(row);
|
|
39168
|
+
const height = rowHeight || rowData.height;
|
|
39193
39169
|
return vue.createVNode("div", {
|
|
39194
39170
|
"key": key,
|
|
39195
39171
|
"class": [getRowClass(row, rowIndex), 'vc-table__tr'],
|
|
@@ -39206,7 +39182,7 @@
|
|
|
39206
39182
|
} = column;
|
|
39207
39183
|
const sizeStyle = {
|
|
39208
39184
|
width: `${realWidth}px`,
|
|
39209
|
-
height: `${
|
|
39185
|
+
height: `${height ? `${height}px` : 'auto'}`
|
|
39210
39186
|
};
|
|
39211
39187
|
if (columnsHidden.value[columnIndex]) {
|
|
39212
39188
|
return vue.createVNode("div", {
|
|
@@ -39225,7 +39201,7 @@
|
|
|
39225
39201
|
column,
|
|
39226
39202
|
rowIndex,
|
|
39227
39203
|
columnIndex,
|
|
39228
|
-
store:
|
|
39204
|
+
store: table.store,
|
|
39229
39205
|
selected
|
|
39230
39206
|
})]);
|
|
39231
39207
|
})]);
|
|
@@ -39242,6 +39218,7 @@
|
|
|
39242
39218
|
})]);
|
|
39243
39219
|
};
|
|
39244
39220
|
const handleMergeRowResize = v => {
|
|
39221
|
+
if (table.props.rowHeight) return;
|
|
39245
39222
|
states.list[v.index].rows.forEach(row => {
|
|
39246
39223
|
row.heightMap[props.fixed || 'main'] = v.size;
|
|
39247
39224
|
const heights = [row.heightMap.main];
|
|
@@ -39261,7 +39238,17 @@
|
|
|
39261
39238
|
getRootElement: () => instance.vnode.el
|
|
39262
39239
|
});
|
|
39263
39240
|
const layout = table.layout;
|
|
39241
|
+
let timer;
|
|
39242
|
+
vue.onBeforeMount(() => {
|
|
39243
|
+
if (table.props.delay) {
|
|
39244
|
+
timer = setTimeout(() => allowRender.value = true, table.props.delay);
|
|
39245
|
+
} else {
|
|
39246
|
+
allowRender.value = true;
|
|
39247
|
+
}
|
|
39248
|
+
});
|
|
39249
|
+
vue.onBeforeUnmount(() => (timer && clearTimeout(timer), allowRender.value = false));
|
|
39264
39250
|
return () => {
|
|
39251
|
+
if (!allowRender.value) return;
|
|
39265
39252
|
return vue.createVNode("div", {
|
|
39266
39253
|
"class": "vc-table__body"
|
|
39267
39254
|
}, [table.props.height ? vue.createVNode(RecycleList, {
|
|
@@ -39310,10 +39297,6 @@
|
|
|
39310
39297
|
name: 'vc-table-header',
|
|
39311
39298
|
props: {
|
|
39312
39299
|
fixed: [Boolean, String],
|
|
39313
|
-
store: {
|
|
39314
|
-
type: Object,
|
|
39315
|
-
required: true
|
|
39316
|
-
},
|
|
39317
39300
|
border: Boolean,
|
|
39318
39301
|
// 排序全部交给外部处理,内部不处理数据,只做交互
|
|
39319
39302
|
defaultSort: {
|
|
@@ -39462,7 +39445,7 @@
|
|
|
39462
39445
|
column.width = columnWidth;
|
|
39463
39446
|
column.realWidth = column.width;
|
|
39464
39447
|
table.$emit('header-dragend', column.width, startLeft - startColumnLeft, column, event);
|
|
39465
|
-
|
|
39448
|
+
table.store.scheduleLayout();
|
|
39466
39449
|
document.body.style.cursor = '';
|
|
39467
39450
|
dragging.value = false;
|
|
39468
39451
|
draggingColumn.value = null;
|
|
@@ -39567,7 +39550,7 @@
|
|
|
39567
39550
|
}, [column.renderHeader ? column.renderHeader({
|
|
39568
39551
|
column,
|
|
39569
39552
|
columnIndex,
|
|
39570
|
-
store:
|
|
39553
|
+
store: table.store
|
|
39571
39554
|
}) : column.label, column.tooltip ? vue.createVNode(Icon, {
|
|
39572
39555
|
"type": "o-info",
|
|
39573
39556
|
"onMouseenter": e => handleCellMouseEnter(e, column)
|
|
@@ -39590,10 +39573,6 @@
|
|
|
39590
39573
|
name: 'vc-table-footer',
|
|
39591
39574
|
props: {
|
|
39592
39575
|
fixed: [String, Boolean],
|
|
39593
|
-
store: {
|
|
39594
|
-
type: Object,
|
|
39595
|
-
required: true
|
|
39596
|
-
},
|
|
39597
39576
|
getSummary: Function,
|
|
39598
39577
|
sumText: String,
|
|
39599
39578
|
border: Boolean
|
|
@@ -39615,7 +39594,7 @@
|
|
|
39615
39594
|
} else if (props.fixed === 'right') {
|
|
39616
39595
|
let before = 0;
|
|
39617
39596
|
for (let i = 0; i < index; i++) {
|
|
39618
|
-
before += states.columns[i].
|
|
39597
|
+
before += states.columns[i].colspan;
|
|
39619
39598
|
}
|
|
39620
39599
|
return before < states.columnsCount - states.rightFixedLeafCount;
|
|
39621
39600
|
} else if (!props.fixed && column.fixed) {
|
|
@@ -39709,6 +39688,7 @@
|
|
|
39709
39688
|
width: [String, Number],
|
|
39710
39689
|
height: [String, Number],
|
|
39711
39690
|
maxHeight: [String, Number],
|
|
39691
|
+
rowHeight: [String, Number],
|
|
39712
39692
|
// 列的宽度是否自撑开
|
|
39713
39693
|
fit: {
|
|
39714
39694
|
type: Boolean,
|
|
@@ -39789,7 +39769,9 @@
|
|
|
39789
39769
|
defaultSort: {
|
|
39790
39770
|
type: Object,
|
|
39791
39771
|
default: () => ({})
|
|
39792
|
-
}
|
|
39772
|
+
},
|
|
39773
|
+
// 用于延迟渲染,用于计算高度
|
|
39774
|
+
delay: Number
|
|
39793
39775
|
};
|
|
39794
39776
|
|
|
39795
39777
|
/** @jsxImportSource vue */
|
|
@@ -40202,7 +40184,6 @@
|
|
|
40202
40184
|
"class": "vc-table__header-wrapper"
|
|
40203
40185
|
}, [vue.createVNode(TableHeader, {
|
|
40204
40186
|
"ref": tableHeader,
|
|
40205
|
-
"store": store,
|
|
40206
40187
|
"border": props.border,
|
|
40207
40188
|
"default-sort": props.defaultSort,
|
|
40208
40189
|
"style": bodyWidthStyle.value
|
|
@@ -40218,7 +40199,6 @@
|
|
|
40218
40199
|
}, {
|
|
40219
40200
|
default: () => [vue.createVNode(TableBody, {
|
|
40220
40201
|
"ref": body,
|
|
40221
|
-
"store": store,
|
|
40222
40202
|
"style": [bodyWidthStyle.value],
|
|
40223
40203
|
"height-style": [bodyHeightStyle.value],
|
|
40224
40204
|
"onScroll": handleScollY
|
|
@@ -40238,7 +40218,6 @@
|
|
|
40238
40218
|
"ref": footerWrapper,
|
|
40239
40219
|
"class": "vc-table__footer-wrapper"
|
|
40240
40220
|
}, [vue.createVNode(TableFooter, {
|
|
40241
|
-
"store": store,
|
|
40242
40221
|
"border": props.border,
|
|
40243
40222
|
"sum-text": props.sumText || '合计',
|
|
40244
40223
|
"get-summary": props.getSummary,
|
|
@@ -40254,7 +40233,6 @@
|
|
|
40254
40233
|
"class": "vc-table__fixed-header-wrapper"
|
|
40255
40234
|
}, [vue.createVNode(TableHeader, {
|
|
40256
40235
|
"ref": leftFixedTableHeader,
|
|
40257
|
-
"store": store,
|
|
40258
40236
|
"border": props.border,
|
|
40259
40237
|
"default-sort": props.defaultSort,
|
|
40260
40238
|
"style": bodyWidthStyle.value,
|
|
@@ -40267,7 +40245,6 @@
|
|
|
40267
40245
|
"class": "vc-table__fixed-body-wrapper"
|
|
40268
40246
|
}, [vue.createVNode(TableBody, {
|
|
40269
40247
|
"ref": leftFixedBody,
|
|
40270
|
-
"store": store,
|
|
40271
40248
|
"style": [bodyWidthStyle.value, bodyHeightStyle.value],
|
|
40272
40249
|
"fixed": "left"
|
|
40273
40250
|
}, null), slots.append && vue.createVNode("div", {
|
|
@@ -40279,7 +40256,6 @@
|
|
|
40279
40256
|
"ref": leftFixedFooterWrapper,
|
|
40280
40257
|
"class": "vc-table__fixed-footer-wrapper"
|
|
40281
40258
|
}, [vue.createVNode(TableFooter, {
|
|
40282
|
-
"store": store,
|
|
40283
40259
|
"border": props.border,
|
|
40284
40260
|
"sum-text": props.sumText || '合计',
|
|
40285
40261
|
"get-summary": props.getSummary,
|
|
@@ -40296,7 +40272,6 @@
|
|
|
40296
40272
|
"class": "vc-table__fixed-header-wrapper"
|
|
40297
40273
|
}, [vue.createVNode(TableHeader, {
|
|
40298
40274
|
"ref": rightFixedTableHeader,
|
|
40299
|
-
"store": store,
|
|
40300
40275
|
"border": props.border,
|
|
40301
40276
|
"default-sort": props.defaultSort,
|
|
40302
40277
|
"style": bodyWidthStyle.value,
|
|
@@ -40309,7 +40284,6 @@
|
|
|
40309
40284
|
"class": "vc-table__fixed-body-wrapper"
|
|
40310
40285
|
}, [vue.createVNode(TableBody, {
|
|
40311
40286
|
"ref": rightFixedBody,
|
|
40312
|
-
"store": store,
|
|
40313
40287
|
"style": [bodyWidthStyle.value, bodyHeightStyle.value],
|
|
40314
40288
|
"fixed": "right"
|
|
40315
40289
|
}, null), slots.append && vue.createVNode("div", {
|
|
@@ -40321,7 +40295,6 @@
|
|
|
40321
40295
|
"ref": rightFixedFooterWrapper,
|
|
40322
40296
|
"class": "vc-table__fixed-footer-wrapper"
|
|
40323
40297
|
}, [vue.createVNode(TableFooter, {
|
|
40324
|
-
"store": store,
|
|
40325
40298
|
"border": props.border,
|
|
40326
40299
|
"sum-text": props.sumText || '合计',
|
|
40327
40300
|
"get-summary": props.getSummary,
|
|
@@ -40386,7 +40359,7 @@
|
|
|
40386
40359
|
"disabled": column.selectable ? !column.selectable.call(null, row, rowIndex) : false,
|
|
40387
40360
|
"onChange": () => store.rowSelectedChanged(row),
|
|
40388
40361
|
"onClick": e => e.stopPropagation()
|
|
40389
|
-
}, null), [[vue.vShow, store.
|
|
40362
|
+
}, null), [[vue.vShow, store.states.expandSelectable || level === 0]]);
|
|
40390
40363
|
},
|
|
40391
40364
|
sortable: false,
|
|
40392
40365
|
resizable: false
|
|
@@ -40620,16 +40593,9 @@
|
|
|
40620
40593
|
* @returns ~
|
|
40621
40594
|
*/
|
|
40622
40595
|
const setColumnWidth = column => {
|
|
40623
|
-
|
|
40624
|
-
|
|
40625
|
-
|
|
40626
|
-
if (realMinWidth.value) {
|
|
40627
|
-
column.minWidth = realMinWidth.value;
|
|
40628
|
-
}
|
|
40629
|
-
if (!column.minWidth) {
|
|
40630
|
-
column.minWidth = 80;
|
|
40631
|
-
}
|
|
40632
|
-
column.realWidth = column.width === undefined ? column.minWidth : column.width;
|
|
40596
|
+
column.width = realWidth.value || column.width;
|
|
40597
|
+
column.minWidth = realMinWidth.value || column.minWidth || 80;
|
|
40598
|
+
column.realWidth = typeof column.width === 'undefined' ? column.minWidth : column.width;
|
|
40633
40599
|
return column;
|
|
40634
40600
|
};
|
|
40635
40601
|
|
|
@@ -40702,6 +40668,8 @@
|
|
|
40702
40668
|
};
|
|
40703
40669
|
const registerColumn = () => {
|
|
40704
40670
|
const defaults = {
|
|
40671
|
+
colspan: 1,
|
|
40672
|
+
rowspan: 1,
|
|
40705
40673
|
...cellStarts[props.type],
|
|
40706
40674
|
id: columnId.value,
|
|
40707
40675
|
realAlign,
|