@deot/vc 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +52 -2
- package/dist/index.iife.js +284 -313
- package/dist/index.umd.cjs +284 -313
- package/package.json +4 -4
package/dist/index.umd.cjs
CHANGED
|
@@ -24161,9 +24161,9 @@
|
|
|
24161
24161
|
default: "div"
|
|
24162
24162
|
}
|
|
24163
24163
|
};
|
|
24164
|
-
const COMPONENT_NAME$
|
|
24164
|
+
const COMPONENT_NAME$1_ = "vc-action-sheet";
|
|
24165
24165
|
const ActionSheet = /* @__PURE__ */ vue.defineComponent({
|
|
24166
|
-
name: COMPONENT_NAME$
|
|
24166
|
+
name: COMPONENT_NAME$1_,
|
|
24167
24167
|
props: props$1q,
|
|
24168
24168
|
setup(props2, {
|
|
24169
24169
|
slots
|
|
@@ -24343,9 +24343,9 @@
|
|
|
24343
24343
|
}
|
|
24344
24344
|
}
|
|
24345
24345
|
const IconManager = new Manager();
|
|
24346
|
-
const COMPONENT_NAME$
|
|
24346
|
+
const COMPONENT_NAME$1Z = "vc-icon";
|
|
24347
24347
|
const Icon = /* @__PURE__ */ vue.defineComponent({
|
|
24348
|
-
name: COMPONENT_NAME$
|
|
24348
|
+
name: COMPONENT_NAME$1Z,
|
|
24349
24349
|
props: props$1o,
|
|
24350
24350
|
setup(props2) {
|
|
24351
24351
|
const viewBox = vue.ref("0 0 1024 1024");
|
|
@@ -24541,9 +24541,9 @@
|
|
|
24541
24541
|
}
|
|
24542
24542
|
};
|
|
24543
24543
|
};
|
|
24544
|
-
const COMPONENT_NAME$
|
|
24544
|
+
const COMPONENT_NAME$1Y = "vc-transition";
|
|
24545
24545
|
const Transition = vue.defineComponent({
|
|
24546
|
-
name: COMPONENT_NAME$
|
|
24546
|
+
name: COMPONENT_NAME$1Y,
|
|
24547
24547
|
props: props$1n,
|
|
24548
24548
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
24549
24549
|
inheritAttrs: false,
|
|
@@ -24563,9 +24563,9 @@
|
|
|
24563
24563
|
};
|
|
24564
24564
|
}
|
|
24565
24565
|
});
|
|
24566
|
-
const COMPONENT_NAME$
|
|
24566
|
+
const COMPONENT_NAME$1X = "vc-transition-collapse";
|
|
24567
24567
|
const TransitionCollapse = vue.defineComponent({
|
|
24568
|
-
name: COMPONENT_NAME$
|
|
24568
|
+
name: COMPONENT_NAME$1X,
|
|
24569
24569
|
props: props$1n,
|
|
24570
24570
|
// 当不声明emits的情况下,事件存在于attrs中
|
|
24571
24571
|
inheritAttrs: false,
|
|
@@ -24683,9 +24683,9 @@
|
|
|
24683
24683
|
};
|
|
24684
24684
|
}
|
|
24685
24685
|
});
|
|
24686
|
-
const COMPONENT_NAME$
|
|
24686
|
+
const COMPONENT_NAME$1W = "vc-transition-fade";
|
|
24687
24687
|
const TransitionFade = vue.defineComponent({
|
|
24688
|
-
name: COMPONENT_NAME$
|
|
24688
|
+
name: COMPONENT_NAME$1W,
|
|
24689
24689
|
props: {
|
|
24690
24690
|
...props$1n,
|
|
24691
24691
|
// inheritAttrs必须是false
|
|
@@ -24719,9 +24719,9 @@
|
|
|
24719
24719
|
};
|
|
24720
24720
|
}
|
|
24721
24721
|
});
|
|
24722
|
-
const COMPONENT_NAME$
|
|
24722
|
+
const COMPONENT_NAME$1V = "vc-transition-scale";
|
|
24723
24723
|
const TransitionScale = vue.defineComponent({
|
|
24724
|
-
name: COMPONENT_NAME$
|
|
24724
|
+
name: COMPONENT_NAME$1V,
|
|
24725
24725
|
props: {
|
|
24726
24726
|
...props$1n,
|
|
24727
24727
|
mode: {
|
|
@@ -24760,9 +24760,9 @@
|
|
|
24760
24760
|
};
|
|
24761
24761
|
}
|
|
24762
24762
|
});
|
|
24763
|
-
const COMPONENT_NAME$
|
|
24763
|
+
const COMPONENT_NAME$1U = "vc-transition-slide";
|
|
24764
24764
|
const TransitionSlide = vue.defineComponent({
|
|
24765
|
-
name: COMPONENT_NAME$
|
|
24765
|
+
name: COMPONENT_NAME$1U,
|
|
24766
24766
|
props: {
|
|
24767
24767
|
...props$1n,
|
|
24768
24768
|
mode: {
|
|
@@ -24801,9 +24801,9 @@
|
|
|
24801
24801
|
};
|
|
24802
24802
|
}
|
|
24803
24803
|
});
|
|
24804
|
-
const COMPONENT_NAME$
|
|
24804
|
+
const COMPONENT_NAME$1T = "vc-transition-zoom";
|
|
24805
24805
|
const TransitionZoom = vue.defineComponent({
|
|
24806
|
-
name: COMPONENT_NAME$
|
|
24806
|
+
name: COMPONENT_NAME$1T,
|
|
24807
24807
|
props: {
|
|
24808
24808
|
...props$1n,
|
|
24809
24809
|
mode: {
|
|
@@ -24842,7 +24842,7 @@
|
|
|
24842
24842
|
};
|
|
24843
24843
|
}
|
|
24844
24844
|
});
|
|
24845
|
-
const COMPONENT_NAME$
|
|
24845
|
+
const COMPONENT_NAME$1S = "vc-alert";
|
|
24846
24846
|
const THEME_MAP = {
|
|
24847
24847
|
info: ["#2B72FD", "#91d5ff", "#e6f7ff"],
|
|
24848
24848
|
success: ["#52c41a", "#b7eb8f", "#f6ffed"],
|
|
@@ -24850,7 +24850,7 @@
|
|
|
24850
24850
|
warning: ["#ffbf00", "#ffe58f", "#fffbe6"]
|
|
24851
24851
|
};
|
|
24852
24852
|
const Alert = /* @__PURE__ */ vue.defineComponent({
|
|
24853
|
-
name: COMPONENT_NAME$
|
|
24853
|
+
name: COMPONENT_NAME$1S,
|
|
24854
24854
|
props: props$1p,
|
|
24855
24855
|
setup(props2, {
|
|
24856
24856
|
slots,
|
|
@@ -24943,9 +24943,9 @@
|
|
|
24943
24943
|
default: "div"
|
|
24944
24944
|
}
|
|
24945
24945
|
};
|
|
24946
|
-
const COMPONENT_NAME$
|
|
24946
|
+
const COMPONENT_NAME$1R = "vc-artboard";
|
|
24947
24947
|
const Artboard = /* @__PURE__ */ vue.defineComponent({
|
|
24948
|
-
name: COMPONENT_NAME$
|
|
24948
|
+
name: COMPONENT_NAME$1R,
|
|
24949
24949
|
props: props$1m,
|
|
24950
24950
|
setup(props2, {
|
|
24951
24951
|
slots
|
|
@@ -24979,9 +24979,9 @@
|
|
|
24979
24979
|
default: false
|
|
24980
24980
|
}
|
|
24981
24981
|
};
|
|
24982
|
-
const COMPONENT_NAME$
|
|
24982
|
+
const COMPONENT_NAME$1Q = "vc-spin";
|
|
24983
24983
|
const Spin = /* @__PURE__ */ vue.defineComponent({
|
|
24984
|
-
name: COMPONENT_NAME$
|
|
24984
|
+
name: COMPONENT_NAME$1Q,
|
|
24985
24985
|
props: props$1l,
|
|
24986
24986
|
setup(props2, {
|
|
24987
24987
|
slots
|
|
@@ -25030,9 +25030,9 @@
|
|
|
25030
25030
|
},
|
|
25031
25031
|
exclude: RegExp
|
|
25032
25032
|
};
|
|
25033
|
-
const COMPONENT_NAME$
|
|
25033
|
+
const COMPONENT_NAME$1P = "vc-debounce";
|
|
25034
25034
|
const Debounce = vue.defineComponent({
|
|
25035
|
-
name: COMPONENT_NAME$
|
|
25035
|
+
name: COMPONENT_NAME$1P,
|
|
25036
25036
|
props: props$1k,
|
|
25037
25037
|
/**
|
|
25038
25038
|
* 不声明emits使得事件被透传放入attrs中, 这样可以让所有的事件透传
|
|
@@ -25100,9 +25100,9 @@
|
|
|
25100
25100
|
default: "button"
|
|
25101
25101
|
}
|
|
25102
25102
|
};
|
|
25103
|
-
const COMPONENT_NAME$
|
|
25103
|
+
const COMPONENT_NAME$1O = "vc-button";
|
|
25104
25104
|
const Button = /* @__PURE__ */ vue.defineComponent({
|
|
25105
|
-
name: COMPONENT_NAME$
|
|
25105
|
+
name: COMPONENT_NAME$1O,
|
|
25106
25106
|
emits: ["click"],
|
|
25107
25107
|
props: props$1j,
|
|
25108
25108
|
setup(props2, {
|
|
@@ -25178,9 +25178,9 @@
|
|
|
25178
25178
|
default: false
|
|
25179
25179
|
}
|
|
25180
25180
|
};
|
|
25181
|
-
const COMPONENT_NAME$
|
|
25181
|
+
const COMPONENT_NAME$1N = "vc-button-group";
|
|
25182
25182
|
const ButtonGroup = /* @__PURE__ */ vue.defineComponent({
|
|
25183
|
-
name: COMPONENT_NAME$
|
|
25183
|
+
name: COMPONENT_NAME$1N,
|
|
25184
25184
|
props: props$1i,
|
|
25185
25185
|
setup(props2, {
|
|
25186
25186
|
slots
|
|
@@ -25209,9 +25209,9 @@
|
|
|
25209
25209
|
default: "div"
|
|
25210
25210
|
}
|
|
25211
25211
|
};
|
|
25212
|
-
const COMPONENT_NAME$
|
|
25212
|
+
const COMPONENT_NAME$1M = "vc-calendar";
|
|
25213
25213
|
const Calendar$1 = /* @__PURE__ */ vue.defineComponent({
|
|
25214
|
-
name: COMPONENT_NAME$
|
|
25214
|
+
name: COMPONENT_NAME$1M,
|
|
25215
25215
|
props: props$1h,
|
|
25216
25216
|
setup(props2, {
|
|
25217
25217
|
slots
|
|
@@ -25244,9 +25244,9 @@
|
|
|
25244
25244
|
type: String
|
|
25245
25245
|
}
|
|
25246
25246
|
};
|
|
25247
|
-
const COMPONENT_NAME$
|
|
25247
|
+
const COMPONENT_NAME$1L = "vc-card";
|
|
25248
25248
|
const Card = /* @__PURE__ */ vue.defineComponent({
|
|
25249
|
-
name: COMPONENT_NAME$
|
|
25249
|
+
name: COMPONENT_NAME$1L,
|
|
25250
25250
|
props: props$1g,
|
|
25251
25251
|
setup(props2, {
|
|
25252
25252
|
slots
|
|
@@ -25277,9 +25277,9 @@
|
|
|
25277
25277
|
default: "div"
|
|
25278
25278
|
}
|
|
25279
25279
|
};
|
|
25280
|
-
const COMPONENT_NAME$
|
|
25280
|
+
const COMPONENT_NAME$1K = "vc-carousel";
|
|
25281
25281
|
const Carousel = /* @__PURE__ */ vue.defineComponent({
|
|
25282
|
-
name: COMPONENT_NAME$
|
|
25282
|
+
name: COMPONENT_NAME$1K,
|
|
25283
25283
|
props: props$1f,
|
|
25284
25284
|
setup(props2, {
|
|
25285
25285
|
slots
|
|
@@ -25298,9 +25298,9 @@
|
|
|
25298
25298
|
default: "div"
|
|
25299
25299
|
}
|
|
25300
25300
|
};
|
|
25301
|
-
const COMPONENT_NAME$
|
|
25301
|
+
const COMPONENT_NAME$1J = "vc-cascader";
|
|
25302
25302
|
const Cascader = /* @__PURE__ */ vue.defineComponent({
|
|
25303
|
-
name: COMPONENT_NAME$
|
|
25303
|
+
name: COMPONENT_NAME$1J,
|
|
25304
25304
|
props: props$1e,
|
|
25305
25305
|
setup(props2, {
|
|
25306
25306
|
slots
|
|
@@ -25363,9 +25363,9 @@
|
|
|
25363
25363
|
watchShallow: Boolean,
|
|
25364
25364
|
manualUpdate: Boolean
|
|
25365
25365
|
};
|
|
25366
|
-
const COMPONENT_NAME$
|
|
25366
|
+
const COMPONENT_NAME$1I = "vc-chart";
|
|
25367
25367
|
const Chart = /* @__PURE__ */ vue.defineComponent({
|
|
25368
|
-
name: COMPONENT_NAME$
|
|
25368
|
+
name: COMPONENT_NAME$1I,
|
|
25369
25369
|
props: props$1d,
|
|
25370
25370
|
emits: [...EVENTS, "ready"],
|
|
25371
25371
|
setup(props2, {
|
|
@@ -25586,9 +25586,9 @@
|
|
|
25586
25586
|
computedLabel
|
|
25587
25587
|
};
|
|
25588
25588
|
};
|
|
25589
|
-
const COMPONENT_NAME$
|
|
25589
|
+
const COMPONENT_NAME$1H = "vc-checkbox";
|
|
25590
25590
|
const Checkbox = /* @__PURE__ */ vue.defineComponent({
|
|
25591
|
-
name: COMPONENT_NAME$
|
|
25591
|
+
name: COMPONENT_NAME$1H,
|
|
25592
25592
|
props: props$1c,
|
|
25593
25593
|
emits: ["update:modelValue", "change"],
|
|
25594
25594
|
setup(props2, {
|
|
@@ -25670,9 +25670,9 @@
|
|
|
25670
25670
|
reset
|
|
25671
25671
|
};
|
|
25672
25672
|
};
|
|
25673
|
-
const COMPONENT_NAME$
|
|
25673
|
+
const COMPONENT_NAME$1G = "vc-checkbox-group";
|
|
25674
25674
|
const CheckboxGroup = /* @__PURE__ */ vue.defineComponent({
|
|
25675
|
-
name: COMPONENT_NAME$
|
|
25675
|
+
name: COMPONENT_NAME$1G,
|
|
25676
25676
|
props: props$1b,
|
|
25677
25677
|
emits: ["update:modelValue", "change"],
|
|
25678
25678
|
setup(props2, {
|
|
@@ -25687,9 +25687,9 @@
|
|
|
25687
25687
|
};
|
|
25688
25688
|
}
|
|
25689
25689
|
});
|
|
25690
|
-
const COMPONENT_NAME$
|
|
25690
|
+
const COMPONENT_NAME$1F = "vcm-checkbox";
|
|
25691
25691
|
const MCheckbox = /* @__PURE__ */ vue.defineComponent({
|
|
25692
|
-
name: COMPONENT_NAME$
|
|
25692
|
+
name: COMPONENT_NAME$1F,
|
|
25693
25693
|
props: props$1c,
|
|
25694
25694
|
emits: ["update:modelValue", "change"],
|
|
25695
25695
|
setup(props2, {
|
|
@@ -25726,9 +25726,9 @@
|
|
|
25726
25726
|
};
|
|
25727
25727
|
}
|
|
25728
25728
|
});
|
|
25729
|
-
const COMPONENT_NAME$
|
|
25729
|
+
const COMPONENT_NAME$1E = "vcm-checkbox-group";
|
|
25730
25730
|
const MCheckboxGroup = /* @__PURE__ */ vue.defineComponent({
|
|
25731
|
-
name: COMPONENT_NAME$
|
|
25731
|
+
name: COMPONENT_NAME$1E,
|
|
25732
25732
|
props: props$1b,
|
|
25733
25733
|
emits: ["update:modelValue", "change"],
|
|
25734
25734
|
setup(props2, {
|
|
@@ -25784,9 +25784,9 @@
|
|
|
25784
25784
|
default: () => null
|
|
25785
25785
|
}
|
|
25786
25786
|
};
|
|
25787
|
-
const COMPONENT_NAME$
|
|
25787
|
+
const COMPONENT_NAME$1D = "vc-customer";
|
|
25788
25788
|
const Customer = vue.defineComponent({
|
|
25789
|
-
name: COMPONENT_NAME$
|
|
25789
|
+
name: COMPONENT_NAME$1D,
|
|
25790
25790
|
props: props$19,
|
|
25791
25791
|
setup(props2, context) {
|
|
25792
25792
|
return () => vue.h(() => {
|
|
@@ -25794,9 +25794,9 @@
|
|
|
25794
25794
|
});
|
|
25795
25795
|
}
|
|
25796
25796
|
});
|
|
25797
|
-
const COMPONENT_NAME$
|
|
25797
|
+
const COMPONENT_NAME$1C = "vc-message";
|
|
25798
25798
|
const MessageView = /* @__PURE__ */ vue.defineComponent({
|
|
25799
|
-
name: COMPONENT_NAME$
|
|
25799
|
+
name: COMPONENT_NAME$1C,
|
|
25800
25800
|
emits: ["before-close", "close", "portal-fulfilled"],
|
|
25801
25801
|
props: props$1a,
|
|
25802
25802
|
setup(props2, {
|
|
@@ -25939,7 +25939,7 @@
|
|
|
25939
25939
|
return this.target.finally(callback);
|
|
25940
25940
|
}
|
|
25941
25941
|
}
|
|
25942
|
-
const COMPONENT_NAME$
|
|
25942
|
+
const COMPONENT_NAME$1B = "vc-portal";
|
|
25943
25943
|
class Portal {
|
|
25944
25944
|
/**
|
|
25945
25945
|
* 清理Portals类型组件
|
|
@@ -25991,7 +25991,7 @@
|
|
|
25991
25991
|
this.wrapper = wrapper;
|
|
25992
25992
|
this.globalOptions = {
|
|
25993
25993
|
...options,
|
|
25994
|
-
name: options?.name || wrapper.name || getUid(COMPONENT_NAME$
|
|
25994
|
+
name: options?.name || wrapper.name || getUid(COMPONENT_NAME$1B)
|
|
25995
25995
|
};
|
|
25996
25996
|
}
|
|
25997
25997
|
popup(propsData, options) {
|
|
@@ -26090,7 +26090,7 @@
|
|
|
26090
26090
|
...rest
|
|
26091
26091
|
} = options;
|
|
26092
26092
|
let useAllNodes = fragment;
|
|
26093
|
-
const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$
|
|
26093
|
+
const name = multiple ? `${name$}__${getUid(COMPONENT_NAME$1B)}` : name$;
|
|
26094
26094
|
const container = document.createElement(tag);
|
|
26095
26095
|
const root = typeof el2 === "object" ? el2 : document.querySelector(el2 || "body");
|
|
26096
26096
|
!alive && Portal.leafs.get(name)?.destroy();
|
|
@@ -26124,7 +26124,7 @@
|
|
|
26124
26124
|
} else {
|
|
26125
26125
|
const wrapper = this.wrapper;
|
|
26126
26126
|
const app = vue.createApp({
|
|
26127
|
-
name: COMPONENT_NAME$
|
|
26127
|
+
name: COMPONENT_NAME$1B,
|
|
26128
26128
|
parent,
|
|
26129
26129
|
setup() {
|
|
26130
26130
|
if (alive) {
|
|
@@ -26234,9 +26234,9 @@
|
|
|
26234
26234
|
default: "div"
|
|
26235
26235
|
}
|
|
26236
26236
|
};
|
|
26237
|
-
const COMPONENT_NAME$
|
|
26237
|
+
const COMPONENT_NAME$1A = "vc-portal-view";
|
|
26238
26238
|
const PortalView = /* @__PURE__ */ vue.defineComponent({
|
|
26239
|
-
name: COMPONENT_NAME$
|
|
26239
|
+
name: COMPONENT_NAME$1A,
|
|
26240
26240
|
props: props$18,
|
|
26241
26241
|
setup(props2, {
|
|
26242
26242
|
slots
|
|
@@ -26399,9 +26399,9 @@
|
|
|
26399
26399
|
};
|
|
26400
26400
|
return () => vue.h(props2.tag, { onClick: handleClick, class: "vc-clipboard" }, slots?.default?.());
|
|
26401
26401
|
};
|
|
26402
|
-
const COMPONENT_NAME$
|
|
26402
|
+
const COMPONENT_NAME$1z = "vc-clipboard";
|
|
26403
26403
|
const Clipboard$1 = vue.defineComponent({
|
|
26404
|
-
name: COMPONENT_NAME$
|
|
26404
|
+
name: COMPONENT_NAME$1z,
|
|
26405
26405
|
props: props$17,
|
|
26406
26406
|
setup() {
|
|
26407
26407
|
return useClipboard((content) => Message.success({ content }));
|
|
@@ -26433,9 +26433,9 @@
|
|
|
26433
26433
|
const MTransitionScale = TransitionScale;
|
|
26434
26434
|
const MTransitionSlide = TransitionSlide;
|
|
26435
26435
|
const MTransitionZoom = TransitionZoom;
|
|
26436
|
-
const COMPONENT_NAME$
|
|
26436
|
+
const COMPONENT_NAME$1y = "vcm-toast";
|
|
26437
26437
|
const MToastView = /* @__PURE__ */ vue.defineComponent({
|
|
26438
|
-
name: COMPONENT_NAME$
|
|
26438
|
+
name: COMPONENT_NAME$1y,
|
|
26439
26439
|
emits: ["close", "portal-fulfilled"],
|
|
26440
26440
|
props: props$16,
|
|
26441
26441
|
setup(props2, {
|
|
@@ -26534,9 +26534,9 @@
|
|
|
26534
26534
|
const warning$2 = create$3({ mode: "warning" });
|
|
26535
26535
|
const error$2 = create$3({ mode: "error" });
|
|
26536
26536
|
const MToast = Object.assign(MToastView, { destroy: destroy$4, info: info$2, success: success$2, loading, warning: warning$2, error: error$2 });
|
|
26537
|
-
const COMPONENT_NAME$
|
|
26537
|
+
const COMPONENT_NAME$1x = "vcm-clipboard";
|
|
26538
26538
|
const MClipboard$1 = vue.defineComponent({
|
|
26539
|
-
name: COMPONENT_NAME$
|
|
26539
|
+
name: COMPONENT_NAME$1x,
|
|
26540
26540
|
props: props$17,
|
|
26541
26541
|
setup() {
|
|
26542
26542
|
return useClipboard((content) => MToast.info({ content }));
|
|
@@ -26565,9 +26565,9 @@
|
|
|
26565
26565
|
default: false
|
|
26566
26566
|
}
|
|
26567
26567
|
};
|
|
26568
|
-
const COMPONENT_NAME$
|
|
26568
|
+
const COMPONENT_NAME$1w = "vc-collapse";
|
|
26569
26569
|
const Collapse = vue.defineComponent({
|
|
26570
|
-
name: COMPONENT_NAME$
|
|
26570
|
+
name: COMPONENT_NAME$1w,
|
|
26571
26571
|
props: props$15,
|
|
26572
26572
|
emits: ["update:moodelValue", "change"],
|
|
26573
26573
|
setup(props2, { slots, emit }) {
|
|
@@ -26679,9 +26679,9 @@
|
|
|
26679
26679
|
function _isSlot$3(s) {
|
|
26680
26680
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
26681
26681
|
}
|
|
26682
|
-
const COMPONENT_NAME$
|
|
26682
|
+
const COMPONENT_NAME$1v = "vc-expand";
|
|
26683
26683
|
const Expand$1 = /* @__PURE__ */ vue.defineComponent({
|
|
26684
|
-
name: COMPONENT_NAME$
|
|
26684
|
+
name: COMPONENT_NAME$1v,
|
|
26685
26685
|
props: props$13,
|
|
26686
26686
|
setup(props2, {
|
|
26687
26687
|
slots
|
|
@@ -26708,9 +26708,9 @@
|
|
|
26708
26708
|
};
|
|
26709
26709
|
}
|
|
26710
26710
|
});
|
|
26711
|
-
const COMPONENT_NAME$
|
|
26711
|
+
const COMPONENT_NAME$1u = "vc-collapse-item";
|
|
26712
26712
|
const CollapseItem = /* @__PURE__ */ vue.defineComponent({
|
|
26713
|
-
name: COMPONENT_NAME$
|
|
26713
|
+
name: COMPONENT_NAME$1u,
|
|
26714
26714
|
props: props$14,
|
|
26715
26715
|
setup(props2, {
|
|
26716
26716
|
slots,
|
|
@@ -26780,9 +26780,9 @@
|
|
|
26780
26780
|
default: "div"
|
|
26781
26781
|
}
|
|
26782
26782
|
};
|
|
26783
|
-
const COMPONENT_NAME$
|
|
26783
|
+
const COMPONENT_NAME$1t = "vc-color-picker";
|
|
26784
26784
|
const ColorPicker = /* @__PURE__ */ vue.defineComponent({
|
|
26785
|
-
name: COMPONENT_NAME$
|
|
26785
|
+
name: COMPONENT_NAME$1t,
|
|
26786
26786
|
props: props$12,
|
|
26787
26787
|
setup(props2, {
|
|
26788
26788
|
slots
|
|
@@ -26801,9 +26801,9 @@
|
|
|
26801
26801
|
default: "div"
|
|
26802
26802
|
}
|
|
26803
26803
|
};
|
|
26804
|
-
const COMPONENT_NAME$
|
|
26804
|
+
const COMPONENT_NAME$1s = "vc-countdown";
|
|
26805
26805
|
const Countdown = /* @__PURE__ */ vue.defineComponent({
|
|
26806
|
-
name: COMPONENT_NAME$
|
|
26806
|
+
name: COMPONENT_NAME$1s,
|
|
26807
26807
|
props: props$11,
|
|
26808
26808
|
setup(props2, {
|
|
26809
26809
|
slots
|
|
@@ -27240,9 +27240,9 @@
|
|
|
27240
27240
|
expose?.(exposed);
|
|
27241
27241
|
return exposed;
|
|
27242
27242
|
};
|
|
27243
|
-
const COMPONENT_NAME$
|
|
27243
|
+
const COMPONENT_NAME$1r = "vc-input";
|
|
27244
27244
|
const Input = /* @__PURE__ */ vue.defineComponent({
|
|
27245
|
-
name: COMPONENT_NAME$
|
|
27245
|
+
name: COMPONENT_NAME$1r,
|
|
27246
27246
|
inheritAttrs: false,
|
|
27247
27247
|
props: {
|
|
27248
27248
|
...props$$,
|
|
@@ -27572,9 +27572,9 @@
|
|
|
27572
27572
|
handleStepper
|
|
27573
27573
|
};
|
|
27574
27574
|
};
|
|
27575
|
-
const COMPONENT_NAME$
|
|
27575
|
+
const COMPONENT_NAME$1q = "vc-input-number";
|
|
27576
27576
|
const InputNumber = /* @__PURE__ */ vue.defineComponent({
|
|
27577
|
-
name: COMPONENT_NAME$
|
|
27577
|
+
name: COMPONENT_NAME$1q,
|
|
27578
27578
|
props: props$X,
|
|
27579
27579
|
inheritAttrs: false,
|
|
27580
27580
|
setup(props2, {
|
|
@@ -27634,9 +27634,9 @@
|
|
|
27634
27634
|
default: true
|
|
27635
27635
|
}
|
|
27636
27636
|
};
|
|
27637
|
-
const COMPONENT_NAME$
|
|
27637
|
+
const COMPONENT_NAME$1p = "vc-input-search";
|
|
27638
27638
|
const InputSearch = /* @__PURE__ */ vue.defineComponent({
|
|
27639
|
-
name: COMPONENT_NAME$
|
|
27639
|
+
name: COMPONENT_NAME$1p,
|
|
27640
27640
|
props: props$W,
|
|
27641
27641
|
inheritAttrs: false,
|
|
27642
27642
|
setup(props2, {
|
|
@@ -27923,9 +27923,9 @@
|
|
|
27923
27923
|
function _isSlot$2(s) {
|
|
27924
27924
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
27925
27925
|
}
|
|
27926
|
-
const COMPONENT_NAME$
|
|
27926
|
+
const COMPONENT_NAME$1o = "vc-popover-wrapper";
|
|
27927
27927
|
const PopoverWrapper = /* @__PURE__ */ vue.defineComponent({
|
|
27928
|
-
name: COMPONENT_NAME$
|
|
27928
|
+
name: COMPONENT_NAME$1o,
|
|
27929
27929
|
props: props$_,
|
|
27930
27930
|
emits: ["portal-fulfilled", "close"],
|
|
27931
27931
|
setup(props2, {
|
|
@@ -28143,9 +28143,9 @@
|
|
|
28143
28143
|
}
|
|
28144
28144
|
});
|
|
28145
28145
|
const PopoverPortal = new Portal(PopoverWrapper);
|
|
28146
|
-
const COMPONENT_NAME$
|
|
28146
|
+
const COMPONENT_NAME$1n = "vc-popover";
|
|
28147
28147
|
const Popover$1 = /* @__PURE__ */ vue.defineComponent({
|
|
28148
|
-
name: COMPONENT_NAME$
|
|
28148
|
+
name: COMPONENT_NAME$1n,
|
|
28149
28149
|
props: props$Z,
|
|
28150
28150
|
emits: ["update:modelValue", "visible-change", "ready", "close"],
|
|
28151
28151
|
setup(props2, {
|
|
@@ -29221,9 +29221,9 @@
|
|
|
29221
29221
|
}
|
|
29222
29222
|
return view;
|
|
29223
29223
|
};
|
|
29224
|
-
const COMPONENT_NAME$
|
|
29224
|
+
const COMPONENT_NAME$1m = "vc-date-confirm";
|
|
29225
29225
|
const Confirm = /* @__PURE__ */ vue.defineComponent({
|
|
29226
|
-
name: COMPONENT_NAME$
|
|
29226
|
+
name: COMPONENT_NAME$1m,
|
|
29227
29227
|
props: {
|
|
29228
29228
|
showTime: {
|
|
29229
29229
|
type: Boolean,
|
|
@@ -29284,9 +29284,9 @@
|
|
|
29284
29284
|
};
|
|
29285
29285
|
}
|
|
29286
29286
|
});
|
|
29287
|
-
const COMPONENT_NAME$
|
|
29287
|
+
const COMPONENT_NAME$1l = "vc-date-header";
|
|
29288
29288
|
const DateHeader = /* @__PURE__ */ vue.defineComponent({
|
|
29289
|
-
name: COMPONENT_NAME$
|
|
29289
|
+
name: COMPONENT_NAME$1l,
|
|
29290
29290
|
props: {
|
|
29291
29291
|
panelDate: Date,
|
|
29292
29292
|
showNext: {
|
|
@@ -29367,9 +29367,9 @@
|
|
|
29367
29367
|
};
|
|
29368
29368
|
}
|
|
29369
29369
|
});
|
|
29370
|
-
const COMPONENT_NAME$
|
|
29370
|
+
const COMPONENT_NAME$1k = "vc-date-table";
|
|
29371
29371
|
const DateTable = /* @__PURE__ */ vue.defineComponent({
|
|
29372
|
-
name: COMPONENT_NAME$
|
|
29372
|
+
name: COMPONENT_NAME$1k,
|
|
29373
29373
|
props: {
|
|
29374
29374
|
value: Array,
|
|
29375
29375
|
firstDayOfWeek: {
|
|
@@ -29569,9 +29569,9 @@
|
|
|
29569
29569
|
};
|
|
29570
29570
|
}
|
|
29571
29571
|
});
|
|
29572
|
-
const COMPONENT_NAME$
|
|
29572
|
+
const COMPONENT_NAME$1j = "vc-month-table";
|
|
29573
29573
|
const MonthTable = /* @__PURE__ */ vue.defineComponent({
|
|
29574
|
-
name: COMPONENT_NAME$
|
|
29574
|
+
name: COMPONENT_NAME$1j,
|
|
29575
29575
|
props: {
|
|
29576
29576
|
value: Array,
|
|
29577
29577
|
panelDate: Date,
|
|
@@ -29697,7 +29697,7 @@
|
|
|
29697
29697
|
};
|
|
29698
29698
|
}
|
|
29699
29699
|
});
|
|
29700
|
-
const COMPONENT_NAME$
|
|
29700
|
+
const COMPONENT_NAME$1i = "vc-quarter-table";
|
|
29701
29701
|
const getMonthRange = (panelDate, quarter) => {
|
|
29702
29702
|
const year = panelDate.getFullYear();
|
|
29703
29703
|
const [startMonth, endMonth] = [quarter * 3, quarter * 3 + 2];
|
|
@@ -29724,7 +29724,7 @@
|
|
|
29724
29724
|
}
|
|
29725
29725
|
};
|
|
29726
29726
|
const QuarterTable = /* @__PURE__ */ vue.defineComponent({
|
|
29727
|
-
name: COMPONENT_NAME$
|
|
29727
|
+
name: COMPONENT_NAME$1i,
|
|
29728
29728
|
props: {
|
|
29729
29729
|
value: Array,
|
|
29730
29730
|
panelDate: Date,
|
|
@@ -29842,9 +29842,9 @@
|
|
|
29842
29842
|
};
|
|
29843
29843
|
}
|
|
29844
29844
|
});
|
|
29845
|
-
const COMPONENT_NAME$
|
|
29845
|
+
const COMPONENT_NAME$1h = "vc-shortcuts-select";
|
|
29846
29846
|
const ShortcutsSelect = /* @__PURE__ */ vue.defineComponent({
|
|
29847
|
-
name: COMPONENT_NAME$
|
|
29847
|
+
name: COMPONENT_NAME$1h,
|
|
29848
29848
|
props: {
|
|
29849
29849
|
panelDate: Date,
|
|
29850
29850
|
config: Array,
|
|
@@ -29881,9 +29881,9 @@
|
|
|
29881
29881
|
};
|
|
29882
29882
|
}
|
|
29883
29883
|
});
|
|
29884
|
-
const COMPONENT_NAME$
|
|
29884
|
+
const COMPONENT_NAME$1g = "vc-time-select";
|
|
29885
29885
|
const TimeSelect = /* @__PURE__ */ vue.defineComponent({
|
|
29886
|
-
name: COMPONENT_NAME$
|
|
29886
|
+
name: COMPONENT_NAME$1g,
|
|
29887
29887
|
props: {
|
|
29888
29888
|
hours: {
|
|
29889
29889
|
type: [Number, String],
|
|
@@ -30158,9 +30158,9 @@
|
|
|
30158
30158
|
};
|
|
30159
30159
|
}
|
|
30160
30160
|
});
|
|
30161
|
-
const COMPONENT_NAME$
|
|
30161
|
+
const COMPONENT_NAME$1f = "vc-year-table";
|
|
30162
30162
|
const YearTable = /* @__PURE__ */ vue.defineComponent({
|
|
30163
|
-
name: COMPONENT_NAME$
|
|
30163
|
+
name: COMPONENT_NAME$1f,
|
|
30164
30164
|
props: {
|
|
30165
30165
|
value: Array,
|
|
30166
30166
|
panelDate: Date,
|
|
@@ -30276,9 +30276,9 @@
|
|
|
30276
30276
|
}
|
|
30277
30277
|
return true;
|
|
30278
30278
|
};
|
|
30279
|
-
const COMPONENT_NAME$
|
|
30279
|
+
const COMPONENT_NAME$1e = "vc-date-range-panel";
|
|
30280
30280
|
const DateRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
30281
|
-
name: COMPONENT_NAME$
|
|
30281
|
+
name: COMPONENT_NAME$1e,
|
|
30282
30282
|
props: {
|
|
30283
30283
|
...props$V,
|
|
30284
30284
|
confirm: {
|
|
@@ -30639,9 +30639,9 @@
|
|
|
30639
30639
|
};
|
|
30640
30640
|
}
|
|
30641
30641
|
});
|
|
30642
|
-
const COMPONENT_NAME$
|
|
30642
|
+
const COMPONENT_NAME$1d = "vc-date-panel";
|
|
30643
30643
|
const DatePanel = /* @__PURE__ */ vue.defineComponent({
|
|
30644
|
-
name: COMPONENT_NAME$
|
|
30644
|
+
name: COMPONENT_NAME$1d,
|
|
30645
30645
|
props: {
|
|
30646
30646
|
...props$V,
|
|
30647
30647
|
type: String,
|
|
@@ -30840,9 +30840,9 @@
|
|
|
30840
30840
|
const endYear = value[1].getFullYear();
|
|
30841
30841
|
return startYear === endYear;
|
|
30842
30842
|
};
|
|
30843
|
-
const COMPONENT_NAME$
|
|
30843
|
+
const COMPONENT_NAME$1c = "vc-monthrange-panel";
|
|
30844
30844
|
const MonthRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
30845
|
-
name: COMPONENT_NAME$
|
|
30845
|
+
name: COMPONENT_NAME$1c,
|
|
30846
30846
|
props: {
|
|
30847
30847
|
...props$V,
|
|
30848
30848
|
confirm: {
|
|
@@ -31012,9 +31012,9 @@
|
|
|
31012
31012
|
const endYear = value[1].getFullYear();
|
|
31013
31013
|
return startYear === endYear;
|
|
31014
31014
|
};
|
|
31015
|
-
const COMPONENT_NAME$
|
|
31015
|
+
const COMPONENT_NAME$1b = "vc-quarterrange-panel";
|
|
31016
31016
|
const QuarterRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
31017
|
-
name: COMPONENT_NAME$
|
|
31017
|
+
name: COMPONENT_NAME$1b,
|
|
31018
31018
|
props: {
|
|
31019
31019
|
...props$V,
|
|
31020
31020
|
confirm: {
|
|
@@ -31245,9 +31245,9 @@
|
|
|
31245
31245
|
seconds
|
|
31246
31246
|
};
|
|
31247
31247
|
};
|
|
31248
|
-
const COMPONENT_NAME$
|
|
31248
|
+
const COMPONENT_NAME$1a = "vc-timerange-panel";
|
|
31249
31249
|
const TimeRangePanel = /* @__PURE__ */ vue.defineComponent({
|
|
31250
|
-
name: COMPONENT_NAME$
|
|
31250
|
+
name: COMPONENT_NAME$1a,
|
|
31251
31251
|
props: props$U,
|
|
31252
31252
|
emits: ["pick", "clear", "ok"],
|
|
31253
31253
|
setup(props2, {
|
|
@@ -31343,9 +31343,9 @@
|
|
|
31343
31343
|
};
|
|
31344
31344
|
}
|
|
31345
31345
|
});
|
|
31346
|
-
const COMPONENT_NAME$
|
|
31346
|
+
const COMPONENT_NAME$19 = "vc-time-panel";
|
|
31347
31347
|
const TimePanel = /* @__PURE__ */ vue.defineComponent({
|
|
31348
|
-
name: COMPONENT_NAME$
|
|
31348
|
+
name: COMPONENT_NAME$19,
|
|
31349
31349
|
props: props$U,
|
|
31350
31350
|
emits: ["pick", "clear", "ok"],
|
|
31351
31351
|
setup(props2, {
|
|
@@ -31396,7 +31396,7 @@
|
|
|
31396
31396
|
};
|
|
31397
31397
|
}
|
|
31398
31398
|
});
|
|
31399
|
-
const COMPONENT_NAME$
|
|
31399
|
+
const COMPONENT_NAME$18 = "vc-date-picker";
|
|
31400
31400
|
const getPanel$1 = (type) => {
|
|
31401
31401
|
if (["daterange", "datetimerange"].includes(type)) {
|
|
31402
31402
|
return DateRangePanel;
|
|
@@ -31407,7 +31407,7 @@
|
|
|
31407
31407
|
}
|
|
31408
31408
|
return DatePanel;
|
|
31409
31409
|
};
|
|
31410
|
-
const DatePicker = createPicker(COMPONENT_NAME$
|
|
31410
|
+
const DatePicker = createPicker(COMPONENT_NAME$18, props$10, () => {
|
|
31411
31411
|
const props2 = vue.getCurrentInstance().props;
|
|
31412
31412
|
const icon = vue.ref("date");
|
|
31413
31413
|
const panel = vue.shallowRef({});
|
|
@@ -31435,9 +31435,9 @@
|
|
|
31435
31435
|
default: "div"
|
|
31436
31436
|
}
|
|
31437
31437
|
};
|
|
31438
|
-
const COMPONENT_NAME$
|
|
31438
|
+
const COMPONENT_NAME$17 = "vc-divider";
|
|
31439
31439
|
const Divider = /* @__PURE__ */ vue.defineComponent({
|
|
31440
|
-
name: COMPONENT_NAME$
|
|
31440
|
+
name: COMPONENT_NAME$17,
|
|
31441
31441
|
props: props$T,
|
|
31442
31442
|
setup(props2, {
|
|
31443
31443
|
slots
|
|
@@ -31584,7 +31584,7 @@
|
|
|
31584
31584
|
barTo: props$R.to,
|
|
31585
31585
|
...pick(props$R, barKeys)
|
|
31586
31586
|
};
|
|
31587
|
-
const COMPONENT_NAME$
|
|
31587
|
+
const COMPONENT_NAME$16 = "vc-scroller-track";
|
|
31588
31588
|
const BAR_MAP = {
|
|
31589
31589
|
vertical: {
|
|
31590
31590
|
scroll: "scrollTop",
|
|
@@ -31604,7 +31604,7 @@
|
|
|
31604
31604
|
}
|
|
31605
31605
|
};
|
|
31606
31606
|
const Track$1 = /* @__PURE__ */ vue.defineComponent({
|
|
31607
|
-
name: COMPONENT_NAME$
|
|
31607
|
+
name: COMPONENT_NAME$16,
|
|
31608
31608
|
props: props$S,
|
|
31609
31609
|
emits: ["change"],
|
|
31610
31610
|
inheritAttrs: false,
|
|
@@ -31766,9 +31766,9 @@
|
|
|
31766
31766
|
};
|
|
31767
31767
|
}
|
|
31768
31768
|
});
|
|
31769
|
-
const COMPONENT_NAME$
|
|
31769
|
+
const COMPONENT_NAME$15 = "vc-scroller-bar";
|
|
31770
31770
|
const Bar = /* @__PURE__ */ vue.defineComponent({
|
|
31771
|
-
name: COMPONENT_NAME$
|
|
31771
|
+
name: COMPONENT_NAME$15,
|
|
31772
31772
|
props: props$R,
|
|
31773
31773
|
emits: ["change"],
|
|
31774
31774
|
setup(props2, {
|
|
@@ -31979,9 +31979,9 @@
|
|
|
31979
31979
|
refreshPosition
|
|
31980
31980
|
};
|
|
31981
31981
|
};
|
|
31982
|
-
const COMPONENT_NAME$
|
|
31982
|
+
const COMPONENT_NAME$14 = "vc-scroller";
|
|
31983
31983
|
const Scroller = /* @__PURE__ */ vue.defineComponent({
|
|
31984
|
-
name: COMPONENT_NAME$
|
|
31984
|
+
name: COMPONENT_NAME$14,
|
|
31985
31985
|
props: props$Q,
|
|
31986
31986
|
emits: ["scroll"],
|
|
31987
31987
|
setup(props2, {
|
|
@@ -32039,9 +32039,9 @@
|
|
|
32039
32039
|
};
|
|
32040
32040
|
}
|
|
32041
32041
|
});
|
|
32042
|
-
const COMPONENT_NAME$
|
|
32042
|
+
const COMPONENT_NAME$13 = "vc-scroller-wheel";
|
|
32043
32043
|
const ScrollerWheel = /* @__PURE__ */ vue.defineComponent({
|
|
32044
|
-
name: COMPONENT_NAME$
|
|
32044
|
+
name: COMPONENT_NAME$13,
|
|
32045
32045
|
props: Object.assign(props$Q, {
|
|
32046
32046
|
stopPropagation: {
|
|
32047
32047
|
type: Boolean,
|
|
@@ -32212,9 +32212,9 @@
|
|
|
32212
32212
|
type: Function
|
|
32213
32213
|
}
|
|
32214
32214
|
};
|
|
32215
|
-
const COMPONENT_NAME$
|
|
32215
|
+
const COMPONENT_NAME$12 = "vc-drawer";
|
|
32216
32216
|
const DrawerView = /* @__PURE__ */ vue.defineComponent({
|
|
32217
|
-
name: COMPONENT_NAME$
|
|
32217
|
+
name: COMPONENT_NAME$12,
|
|
32218
32218
|
props: props$P,
|
|
32219
32219
|
emits: ["close", "update:modelValue", "visible-change"],
|
|
32220
32220
|
setup(props2, {
|
|
@@ -32370,9 +32370,9 @@
|
|
|
32370
32370
|
default: "div"
|
|
32371
32371
|
}
|
|
32372
32372
|
};
|
|
32373
|
-
const COMPONENT_NAME$
|
|
32373
|
+
const COMPONENT_NAME$11 = "vc-dropdown";
|
|
32374
32374
|
const Dropdown = /* @__PURE__ */ vue.defineComponent({
|
|
32375
|
-
name: COMPONENT_NAME$
|
|
32375
|
+
name: COMPONENT_NAME$11,
|
|
32376
32376
|
props: props$O,
|
|
32377
32377
|
setup(props2, {
|
|
32378
32378
|
slots
|
|
@@ -32391,9 +32391,9 @@
|
|
|
32391
32391
|
default: "div"
|
|
32392
32392
|
}
|
|
32393
32393
|
};
|
|
32394
|
-
const COMPONENT_NAME$
|
|
32394
|
+
const COMPONENT_NAME$10 = "vc-editor";
|
|
32395
32395
|
const Editor = /* @__PURE__ */ vue.defineComponent({
|
|
32396
|
-
name: COMPONENT_NAME$
|
|
32396
|
+
name: COMPONENT_NAME$10,
|
|
32397
32397
|
props: props$N,
|
|
32398
32398
|
setup(props2, {
|
|
32399
32399
|
slots
|
|
@@ -32532,9 +32532,9 @@
|
|
|
32532
32532
|
validateField
|
|
32533
32533
|
});
|
|
32534
32534
|
};
|
|
32535
|
-
const COMPONENT_NAME
|
|
32535
|
+
const COMPONENT_NAME$$ = "vc-form";
|
|
32536
32536
|
const Form = vue.defineComponent({
|
|
32537
|
-
name: COMPONENT_NAME
|
|
32537
|
+
name: COMPONENT_NAME$$,
|
|
32538
32538
|
props: props$M,
|
|
32539
32539
|
setup(props2, { slots, expose }) {
|
|
32540
32540
|
useForm(expose);
|
|
@@ -32849,9 +32849,9 @@
|
|
|
32849
32849
|
labelPosition
|
|
32850
32850
|
};
|
|
32851
32851
|
};
|
|
32852
|
-
const COMPONENT_NAME
|
|
32852
|
+
const COMPONENT_NAME$_ = "vc-form-item";
|
|
32853
32853
|
const FormItem = /* @__PURE__ */ vue.defineComponent({
|
|
32854
|
-
name: COMPONENT_NAME
|
|
32854
|
+
name: COMPONENT_NAME$_,
|
|
32855
32855
|
props: props$L,
|
|
32856
32856
|
setup(props2, {
|
|
32857
32857
|
slots,
|
|
@@ -32914,9 +32914,9 @@
|
|
|
32914
32914
|
default: false
|
|
32915
32915
|
}
|
|
32916
32916
|
};
|
|
32917
|
-
const COMPONENT_NAME$
|
|
32917
|
+
const COMPONENT_NAME$Z = "vcm-form";
|
|
32918
32918
|
const MForm = vue.defineComponent({
|
|
32919
|
-
name: COMPONENT_NAME$
|
|
32919
|
+
name: COMPONENT_NAME$Z,
|
|
32920
32920
|
props: props$K,
|
|
32921
32921
|
setup(props2, { slots, expose }) {
|
|
32922
32922
|
useForm(expose, {
|
|
@@ -32943,9 +32943,9 @@
|
|
|
32943
32943
|
default: 12
|
|
32944
32944
|
}
|
|
32945
32945
|
};
|
|
32946
|
-
const COMPONENT_NAME$
|
|
32946
|
+
const COMPONENT_NAME$Y = "vcm-form-item";
|
|
32947
32947
|
const MFormItem = /* @__PURE__ */ vue.defineComponent({
|
|
32948
|
-
name: COMPONENT_NAME$
|
|
32948
|
+
name: COMPONENT_NAME$Y,
|
|
32949
32949
|
props: props$J,
|
|
32950
32950
|
setup(props2, {
|
|
32951
32951
|
slots,
|
|
@@ -32998,9 +32998,9 @@
|
|
|
32998
32998
|
};
|
|
32999
32999
|
}
|
|
33000
33000
|
});
|
|
33001
|
-
const COMPONENT_NAME$
|
|
33001
|
+
const COMPONENT_NAME$X = "vc-fragment";
|
|
33002
33002
|
const Fragment = vue.defineComponent({
|
|
33003
|
-
name: COMPONENT_NAME$
|
|
33003
|
+
name: COMPONENT_NAME$X,
|
|
33004
33004
|
setup(_, { slots }) {
|
|
33005
33005
|
return () => vue.h(vue.Fragment, slots.default?.());
|
|
33006
33006
|
}
|
|
@@ -33012,9 +33012,9 @@
|
|
|
33012
33012
|
default: "div"
|
|
33013
33013
|
}
|
|
33014
33014
|
};
|
|
33015
|
-
const COMPONENT_NAME$
|
|
33015
|
+
const COMPONENT_NAME$W = "vc-html-to-image";
|
|
33016
33016
|
const HTMLToImage = /* @__PURE__ */ vue.defineComponent({
|
|
33017
|
-
name: COMPONENT_NAME$
|
|
33017
|
+
name: COMPONENT_NAME$W,
|
|
33018
33018
|
props: props$I,
|
|
33019
33019
|
setup(props2, {
|
|
33020
33020
|
slots
|
|
@@ -33083,7 +33083,7 @@
|
|
|
33083
33083
|
}
|
|
33084
33084
|
}
|
|
33085
33085
|
const IMGStore$1 = new IMGStore();
|
|
33086
|
-
const COMPONENT_NAME$
|
|
33086
|
+
const COMPONENT_NAME$V = "vc-image";
|
|
33087
33087
|
let isSupportObjectFit = false;
|
|
33088
33088
|
window.addEventListener("DOMContentLoaded", () => {
|
|
33089
33089
|
isSupportObjectFit = !IS_SERVER$3 && document.documentElement.style.objectFit !== void 0;
|
|
@@ -33096,7 +33096,7 @@
|
|
|
33096
33096
|
SCALE_DOWN: "scale-down"
|
|
33097
33097
|
};
|
|
33098
33098
|
const Image$1 = /* @__PURE__ */ vue.defineComponent({
|
|
33099
|
-
name: COMPONENT_NAME$
|
|
33099
|
+
name: COMPONENT_NAME$V,
|
|
33100
33100
|
inheritAttrs: false,
|
|
33101
33101
|
props: props$H,
|
|
33102
33102
|
setup(props2, {
|
|
@@ -33291,9 +33291,9 @@
|
|
|
33291
33291
|
default: "div"
|
|
33292
33292
|
}
|
|
33293
33293
|
};
|
|
33294
|
-
const COMPONENT_NAME$
|
|
33294
|
+
const COMPONENT_NAME$U = "vc-image-crop";
|
|
33295
33295
|
const ImageCrop = /* @__PURE__ */ vue.defineComponent({
|
|
33296
|
-
name: COMPONENT_NAME$
|
|
33296
|
+
name: COMPONENT_NAME$U,
|
|
33297
33297
|
props: props$G,
|
|
33298
33298
|
setup(props2, {
|
|
33299
33299
|
slots
|
|
@@ -33312,9 +33312,9 @@
|
|
|
33312
33312
|
default: "div"
|
|
33313
33313
|
}
|
|
33314
33314
|
};
|
|
33315
|
-
const COMPONENT_NAME$
|
|
33315
|
+
const COMPONENT_NAME$T = "vc-image-preview";
|
|
33316
33316
|
const ImagePreview = /* @__PURE__ */ vue.defineComponent({
|
|
33317
|
-
name: COMPONENT_NAME$
|
|
33317
|
+
name: COMPONENT_NAME$T,
|
|
33318
33318
|
props: props$F,
|
|
33319
33319
|
setup(props2, {
|
|
33320
33320
|
slots
|
|
@@ -33333,9 +33333,9 @@
|
|
|
33333
33333
|
default: "div"
|
|
33334
33334
|
}
|
|
33335
33335
|
};
|
|
33336
|
-
const COMPONENT_NAME$
|
|
33336
|
+
const COMPONENT_NAME$S = "vc-image-processing";
|
|
33337
33337
|
const ImageProcessing = /* @__PURE__ */ vue.defineComponent({
|
|
33338
|
-
name: COMPONENT_NAME$
|
|
33338
|
+
name: COMPONENT_NAME$S,
|
|
33339
33339
|
props: props$E,
|
|
33340
33340
|
setup(props2, {
|
|
33341
33341
|
slots
|
|
@@ -33348,9 +33348,9 @@
|
|
|
33348
33348
|
}
|
|
33349
33349
|
});
|
|
33350
33350
|
const MImageProcessing = ImageProcessing;
|
|
33351
|
-
const COMPONENT_NAME$
|
|
33351
|
+
const COMPONENT_NAME$R = "vcm-input";
|
|
33352
33352
|
const MInput = /* @__PURE__ */ vue.defineComponent({
|
|
33353
|
-
name: COMPONENT_NAME$
|
|
33353
|
+
name: COMPONENT_NAME$R,
|
|
33354
33354
|
inheritAttrs: false,
|
|
33355
33355
|
props: {
|
|
33356
33356
|
...props$$,
|
|
@@ -33437,9 +33437,9 @@
|
|
|
33437
33437
|
};
|
|
33438
33438
|
}
|
|
33439
33439
|
});
|
|
33440
|
-
const COMPONENT_NAME$
|
|
33440
|
+
const COMPONENT_NAME$Q = "vcm-input-number";
|
|
33441
33441
|
const MInputNumber = /* @__PURE__ */ vue.defineComponent({
|
|
33442
|
-
name: COMPONENT_NAME$
|
|
33442
|
+
name: COMPONENT_NAME$Q,
|
|
33443
33443
|
props: props$X,
|
|
33444
33444
|
inheritAttrs: false,
|
|
33445
33445
|
setup(props2, {
|
|
@@ -33485,9 +33485,9 @@
|
|
|
33485
33485
|
};
|
|
33486
33486
|
}
|
|
33487
33487
|
});
|
|
33488
|
-
const COMPONENT_NAME$
|
|
33488
|
+
const COMPONENT_NAME$P = "vcm-input-search";
|
|
33489
33489
|
const MInputSearch = /* @__PURE__ */ vue.defineComponent({
|
|
33490
|
-
name: COMPONENT_NAME$
|
|
33490
|
+
name: COMPONENT_NAME$P,
|
|
33491
33491
|
props: {
|
|
33492
33492
|
...props$W,
|
|
33493
33493
|
cancelText: {
|
|
@@ -33561,9 +33561,9 @@
|
|
|
33561
33561
|
default: true
|
|
33562
33562
|
}
|
|
33563
33563
|
};
|
|
33564
|
-
const COMPONENT_NAME$
|
|
33564
|
+
const COMPONENT_NAME$O = "vcm-list";
|
|
33565
33565
|
const MList = vue.defineComponent({
|
|
33566
|
-
name: COMPONENT_NAME$
|
|
33566
|
+
name: COMPONENT_NAME$O,
|
|
33567
33567
|
props: props$D,
|
|
33568
33568
|
setup(props2, { slots }) {
|
|
33569
33569
|
vue.provide("vc-list", { props: props2 });
|
|
@@ -33614,10 +33614,10 @@
|
|
|
33614
33614
|
// MListItem是否独立存在
|
|
33615
33615
|
alone: Boolean
|
|
33616
33616
|
};
|
|
33617
|
-
const COMPONENT_NAME$
|
|
33617
|
+
const COMPONENT_NAME$N = "vcm-list-item";
|
|
33618
33618
|
const HTTP_REGEX = /[a-zA-z]+:\/\/[^\s]*/;
|
|
33619
33619
|
const MListItem = /* @__PURE__ */ vue.defineComponent({
|
|
33620
|
-
name: COMPONENT_NAME$
|
|
33620
|
+
name: COMPONENT_NAME$N,
|
|
33621
33621
|
props: props$C,
|
|
33622
33622
|
emits: ["click"],
|
|
33623
33623
|
setup(props2, {
|
|
@@ -33701,11 +33701,11 @@
|
|
|
33701
33701
|
default: false
|
|
33702
33702
|
}
|
|
33703
33703
|
};
|
|
33704
|
-
const COMPONENT_NAME$
|
|
33704
|
+
const COMPONENT_NAME$M = "vc-marquee";
|
|
33705
33705
|
const ANIMATION = prefixStyle("animation").camel;
|
|
33706
33706
|
const TRANSFORM_KEBAB = prefixStyle("transform").kebab;
|
|
33707
33707
|
const Marquee = /* @__PURE__ */ vue.defineComponent({
|
|
33708
|
-
name: COMPONENT_NAME$
|
|
33708
|
+
name: COMPONENT_NAME$M,
|
|
33709
33709
|
props: props$B,
|
|
33710
33710
|
setup(props2, {
|
|
33711
33711
|
slots
|
|
@@ -33760,11 +33760,15 @@
|
|
|
33760
33760
|
tag: {
|
|
33761
33761
|
type: String,
|
|
33762
33762
|
default: "div"
|
|
33763
|
+
},
|
|
33764
|
+
fill: {
|
|
33765
|
+
type: Boolean,
|
|
33766
|
+
default: true
|
|
33763
33767
|
}
|
|
33764
33768
|
};
|
|
33765
|
-
const COMPONENT_NAME$
|
|
33769
|
+
const COMPONENT_NAME$L = "vc-resizer";
|
|
33766
33770
|
const Resizer = vue.defineComponent({
|
|
33767
|
-
name: COMPONENT_NAME$
|
|
33771
|
+
name: COMPONENT_NAME$L,
|
|
33768
33772
|
props: props$A,
|
|
33769
33773
|
emit: ["resize", "change"],
|
|
33770
33774
|
setup(props2, { emit, slots, expose }) {
|
|
@@ -33813,13 +33817,13 @@
|
|
|
33813
33817
|
Resize.off(current.value, handleResize);
|
|
33814
33818
|
timer && clearTimeout(timer);
|
|
33815
33819
|
});
|
|
33816
|
-
expose({ refresh });
|
|
33820
|
+
expose({ refresh, offsetHeight: height, offsetWidth: width });
|
|
33817
33821
|
return () => {
|
|
33818
33822
|
return vue.h(
|
|
33819
33823
|
props2.tag,
|
|
33820
33824
|
{
|
|
33821
33825
|
ref: current,
|
|
33822
|
-
class: "vc-resizer"
|
|
33826
|
+
class: ["vc-resizer", { "is-fill": props2.fill }]
|
|
33823
33827
|
},
|
|
33824
33828
|
slots.default?.(currentExposed.value)
|
|
33825
33829
|
);
|
|
@@ -33907,10 +33911,10 @@
|
|
|
33907
33911
|
type: Function
|
|
33908
33912
|
}
|
|
33909
33913
|
};
|
|
33910
|
-
const COMPONENT_NAME$
|
|
33914
|
+
const COMPONENT_NAME$K = "vc-modal";
|
|
33911
33915
|
let zIndexNumber = 1002;
|
|
33912
33916
|
const ModalView = /* @__PURE__ */ vue.defineComponent({
|
|
33913
|
-
name: COMPONENT_NAME$
|
|
33917
|
+
name: COMPONENT_NAME$K,
|
|
33914
33918
|
emits: ["update:modelValue", "close", "portal-fulfilled", "visible-change", "ok", "cancel"],
|
|
33915
33919
|
props: props$z,
|
|
33916
33920
|
setup(props2, {
|
|
@@ -34290,9 +34294,9 @@
|
|
|
34290
34294
|
type: Function
|
|
34291
34295
|
}
|
|
34292
34296
|
};
|
|
34293
|
-
const COMPONENT_NAME$
|
|
34297
|
+
const COMPONENT_NAME$J = "vc-modal";
|
|
34294
34298
|
const MModalView = /* @__PURE__ */ vue.defineComponent({
|
|
34295
|
-
name: COMPONENT_NAME$
|
|
34299
|
+
name: COMPONENT_NAME$J,
|
|
34296
34300
|
emits: ["update:modelValue", "portal-fulfilled", "close", "ok", "cancel"],
|
|
34297
34301
|
props: props$y,
|
|
34298
34302
|
setup(props2, {
|
|
@@ -34487,9 +34491,9 @@
|
|
|
34487
34491
|
// 这个相当于Modal中的onCancel,支持Promise
|
|
34488
34492
|
onBeforeClose: Function
|
|
34489
34493
|
};
|
|
34490
|
-
const COMPONENT_NAME$
|
|
34494
|
+
const COMPONENT_NAME$I = "vc-notice";
|
|
34491
34495
|
const NoticeView = /* @__PURE__ */ vue.defineComponent({
|
|
34492
|
-
name: COMPONENT_NAME$
|
|
34496
|
+
name: COMPONENT_NAME$I,
|
|
34493
34497
|
props: props$x,
|
|
34494
34498
|
emits: ["portal-fulfilled", "close", "before-close"],
|
|
34495
34499
|
setup(props2, {
|
|
@@ -34655,9 +34659,9 @@
|
|
|
34655
34659
|
default: "div"
|
|
34656
34660
|
}
|
|
34657
34661
|
};
|
|
34658
|
-
const COMPONENT_NAME$
|
|
34662
|
+
const COMPONENT_NAME$H = "vc-option";
|
|
34659
34663
|
const Option$1 = /* @__PURE__ */ vue.defineComponent({
|
|
34660
|
-
name: COMPONENT_NAME$
|
|
34664
|
+
name: COMPONENT_NAME$H,
|
|
34661
34665
|
props: props$w,
|
|
34662
34666
|
setup(props2, {
|
|
34663
34667
|
slots
|
|
@@ -34763,9 +34767,9 @@
|
|
|
34763
34767
|
type: [String, Number]
|
|
34764
34768
|
}
|
|
34765
34769
|
};
|
|
34766
|
-
const COMPONENT_NAME$
|
|
34770
|
+
const COMPONENT_NAME$G = "vc-tag";
|
|
34767
34771
|
const Tag = /* @__PURE__ */ vue.defineComponent({
|
|
34768
|
-
name: COMPONENT_NAME$
|
|
34772
|
+
name: COMPONENT_NAME$G,
|
|
34769
34773
|
props: props$u,
|
|
34770
34774
|
emits: ["close", "change"],
|
|
34771
34775
|
setup(props2, {
|
|
@@ -34830,9 +34834,9 @@
|
|
|
34830
34834
|
default: true
|
|
34831
34835
|
}
|
|
34832
34836
|
};
|
|
34833
|
-
const COMPONENT_NAME$
|
|
34837
|
+
const COMPONENT_NAME$F = "vc-select-option";
|
|
34834
34838
|
const Option = /* @__PURE__ */ vue.defineComponent({
|
|
34835
|
-
name: COMPONENT_NAME$
|
|
34839
|
+
name: COMPONENT_NAME$F,
|
|
34836
34840
|
props: props$t,
|
|
34837
34841
|
setup(props2, {
|
|
34838
34842
|
slots
|
|
@@ -34899,9 +34903,9 @@
|
|
|
34899
34903
|
type: [String, Number]
|
|
34900
34904
|
}
|
|
34901
34905
|
};
|
|
34902
|
-
const COMPONENT_NAME$
|
|
34906
|
+
const COMPONENT_NAME$E = "vc-select-option-group";
|
|
34903
34907
|
const OptionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
34904
|
-
name: COMPONENT_NAME$
|
|
34908
|
+
name: COMPONENT_NAME$E,
|
|
34905
34909
|
props: props$s,
|
|
34906
34910
|
setup(props2, {
|
|
34907
34911
|
slots
|
|
@@ -34995,9 +34999,9 @@
|
|
|
34995
34999
|
function _isSlot$1(s) {
|
|
34996
35000
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
34997
35001
|
}
|
|
34998
|
-
const COMPONENT_NAME$
|
|
35002
|
+
const COMPONENT_NAME$D = "vc-select";
|
|
34999
35003
|
const Select = /* @__PURE__ */ vue.defineComponent({
|
|
35000
|
-
name: COMPONENT_NAME$
|
|
35004
|
+
name: COMPONENT_NAME$D,
|
|
35001
35005
|
props: props$r,
|
|
35002
35006
|
emits: ["ready", "close", "visible-change", "clear", "change", "update:modelValue"],
|
|
35003
35007
|
setup(props2, {
|
|
@@ -35227,9 +35231,9 @@
|
|
|
35227
35231
|
};
|
|
35228
35232
|
}
|
|
35229
35233
|
});
|
|
35230
|
-
const COMPONENT_NAME$
|
|
35234
|
+
const COMPONENT_NAME$C = "vc-pagination";
|
|
35231
35235
|
const Pagination = /* @__PURE__ */ vue.defineComponent({
|
|
35232
|
-
name: COMPONENT_NAME$
|
|
35236
|
+
name: COMPONENT_NAME$C,
|
|
35233
35237
|
props: props$v,
|
|
35234
35238
|
emits: ["update:current", "change", "page-size-change"],
|
|
35235
35239
|
setup(props2, {
|
|
@@ -35420,9 +35424,9 @@
|
|
|
35420
35424
|
default: "div"
|
|
35421
35425
|
}
|
|
35422
35426
|
};
|
|
35423
|
-
const COMPONENT_NAME$
|
|
35427
|
+
const COMPONENT_NAME$B = "vc-picker";
|
|
35424
35428
|
const Picker = /* @__PURE__ */ vue.defineComponent({
|
|
35425
|
-
name: COMPONENT_NAME$
|
|
35429
|
+
name: COMPONENT_NAME$B,
|
|
35426
35430
|
props: props$q,
|
|
35427
35431
|
setup(props2, {
|
|
35428
35432
|
slots
|
|
@@ -35441,9 +35445,9 @@
|
|
|
35441
35445
|
default: "div"
|
|
35442
35446
|
}
|
|
35443
35447
|
};
|
|
35444
|
-
const COMPONENT_NAME$
|
|
35448
|
+
const COMPONENT_NAME$A = "vc-popconfirm";
|
|
35445
35449
|
const Popconfirm = /* @__PURE__ */ vue.defineComponent({
|
|
35446
|
-
name: COMPONENT_NAME$
|
|
35450
|
+
name: COMPONENT_NAME$A,
|
|
35447
35451
|
props: props$p,
|
|
35448
35452
|
setup(props2, {
|
|
35449
35453
|
slots
|
|
@@ -35463,9 +35467,9 @@
|
|
|
35463
35467
|
default: "div"
|
|
35464
35468
|
}
|
|
35465
35469
|
};
|
|
35466
|
-
const COMPONENT_NAME$
|
|
35470
|
+
const COMPONENT_NAME$z = "vc-popup";
|
|
35467
35471
|
const Popup = /* @__PURE__ */ vue.defineComponent({
|
|
35468
|
-
name: COMPONENT_NAME$
|
|
35472
|
+
name: COMPONENT_NAME$z,
|
|
35469
35473
|
props: props$o,
|
|
35470
35474
|
setup(props2, {
|
|
35471
35475
|
slots
|
|
@@ -35486,9 +35490,9 @@
|
|
|
35486
35490
|
default: "div"
|
|
35487
35491
|
}
|
|
35488
35492
|
};
|
|
35489
|
-
const COMPONENT_NAME$
|
|
35493
|
+
const COMPONENT_NAME$y = "vc-print";
|
|
35490
35494
|
const Print = /* @__PURE__ */ vue.defineComponent({
|
|
35491
|
-
name: COMPONENT_NAME$
|
|
35495
|
+
name: COMPONENT_NAME$y,
|
|
35492
35496
|
props: props$n,
|
|
35493
35497
|
setup(props2, {
|
|
35494
35498
|
expose,
|
|
@@ -35543,6 +35547,12 @@
|
|
|
35543
35547
|
type: Boolean,
|
|
35544
35548
|
default: true
|
|
35545
35549
|
},
|
|
35550
|
+
textStyle: {
|
|
35551
|
+
type: [String, Object]
|
|
35552
|
+
},
|
|
35553
|
+
textClass: {
|
|
35554
|
+
type: [String, Object]
|
|
35555
|
+
},
|
|
35546
35556
|
animated: {
|
|
35547
35557
|
type: Boolean,
|
|
35548
35558
|
default: false
|
|
@@ -35572,9 +35582,9 @@
|
|
|
35572
35582
|
})
|
|
35573
35583
|
}
|
|
35574
35584
|
};
|
|
35575
|
-
const COMPONENT_NAME$
|
|
35585
|
+
const COMPONENT_NAME$x = "vc-progress-circle";
|
|
35576
35586
|
const Circle$1 = /* @__PURE__ */ vue.defineComponent({
|
|
35577
|
-
name: COMPONENT_NAME$
|
|
35587
|
+
name: COMPONENT_NAME$x,
|
|
35578
35588
|
props: props$m,
|
|
35579
35589
|
setup(props2, {
|
|
35580
35590
|
slots
|
|
@@ -35623,14 +35633,17 @@
|
|
|
35623
35633
|
"stroke-linecap": "round",
|
|
35624
35634
|
"fill-opacity": "0"
|
|
35625
35635
|
}, null)]), vue.createVNode("div", {
|
|
35626
|
-
"class": "vc-progress-circle__inner"
|
|
35627
|
-
}, [slots.default ? slots.default() : props2.showText && vue.createVNode("span",
|
|
35636
|
+
"class": ["vc-progress-circle__inner"]
|
|
35637
|
+
}, [slots.default ? slots.default() : props2.showText && vue.createVNode("span", {
|
|
35638
|
+
"class": props2.textClass,
|
|
35639
|
+
"style": props2.textStyle
|
|
35640
|
+
}, [`${props2.percent}%`])])])]);
|
|
35628
35641
|
};
|
|
35629
35642
|
}
|
|
35630
35643
|
});
|
|
35631
|
-
const COMPONENT_NAME$
|
|
35644
|
+
const COMPONENT_NAME$w = "vc-progress-line";
|
|
35632
35645
|
const Line$2 = /* @__PURE__ */ vue.defineComponent({
|
|
35633
|
-
name: COMPONENT_NAME$
|
|
35646
|
+
name: COMPONENT_NAME$w,
|
|
35634
35647
|
props: props$m,
|
|
35635
35648
|
setup(props2) {
|
|
35636
35649
|
const colorStyle = vue.computed(() => {
|
|
@@ -35659,21 +35672,24 @@
|
|
|
35659
35672
|
"style": innerStyle.value,
|
|
35660
35673
|
"class": [classes.value, "vc-progress-line__inner"]
|
|
35661
35674
|
}, null)])]), props2.showText && vue.createVNode("div", {
|
|
35662
|
-
"class": "vc-progress-line__percent"
|
|
35675
|
+
"class": ["vc-progress-line__percent"]
|
|
35663
35676
|
}, [["error", "success"].includes(props2.status) ? vue.createVNode(Icon, {
|
|
35664
35677
|
"type": props2.status,
|
|
35665
35678
|
"style": colorStyle.value,
|
|
35666
35679
|
"class": [`is-${props2.status}`, "vc-progress-line__icon"]
|
|
35667
|
-
}, null) : vue.createVNode("span",
|
|
35680
|
+
}, null) : vue.createVNode("span", {
|
|
35681
|
+
"class": props2.textClass,
|
|
35682
|
+
"style": props2.textStyle
|
|
35683
|
+
}, [`${props2.percent}%`])])]);
|
|
35668
35684
|
};
|
|
35669
35685
|
}
|
|
35670
35686
|
});
|
|
35671
35687
|
function _isSlot(s) {
|
|
35672
35688
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
35673
35689
|
}
|
|
35674
|
-
const COMPONENT_NAME$
|
|
35690
|
+
const COMPONENT_NAME$v = "vc-progress";
|
|
35675
35691
|
const Progress = /* @__PURE__ */ vue.defineComponent({
|
|
35676
|
-
name: COMPONENT_NAME$
|
|
35692
|
+
name: COMPONENT_NAME$v,
|
|
35677
35693
|
props: props$m,
|
|
35678
35694
|
setup(props2, {
|
|
35679
35695
|
slots
|
|
@@ -35819,9 +35835,9 @@
|
|
|
35819
35835
|
computedLabel
|
|
35820
35836
|
};
|
|
35821
35837
|
};
|
|
35822
|
-
const COMPONENT_NAME$
|
|
35838
|
+
const COMPONENT_NAME$u = "vc-radio";
|
|
35823
35839
|
const Radio = /* @__PURE__ */ vue.defineComponent({
|
|
35824
|
-
name: COMPONENT_NAME$
|
|
35840
|
+
name: COMPONENT_NAME$u,
|
|
35825
35841
|
props: props$l,
|
|
35826
35842
|
emits: ["update:modelValue", "change"],
|
|
35827
35843
|
setup(props2, {
|
|
@@ -35927,9 +35943,9 @@
|
|
|
35927
35943
|
reset
|
|
35928
35944
|
};
|
|
35929
35945
|
};
|
|
35930
|
-
const COMPONENT_NAME$
|
|
35946
|
+
const COMPONENT_NAME$t = "vc-radio-group";
|
|
35931
35947
|
const RadioGroup = /* @__PURE__ */ vue.defineComponent({
|
|
35932
|
-
name: COMPONENT_NAME$
|
|
35948
|
+
name: COMPONENT_NAME$t,
|
|
35933
35949
|
props: props$k,
|
|
35934
35950
|
emits: ["update:modelValue", "change"],
|
|
35935
35951
|
setup(props2, {
|
|
@@ -35948,9 +35964,9 @@
|
|
|
35948
35964
|
};
|
|
35949
35965
|
}
|
|
35950
35966
|
});
|
|
35951
|
-
const COMPONENT_NAME$
|
|
35967
|
+
const COMPONENT_NAME$s = "vcm-radio";
|
|
35952
35968
|
const MRadio = /* @__PURE__ */ vue.defineComponent({
|
|
35953
|
-
name: COMPONENT_NAME$
|
|
35969
|
+
name: COMPONENT_NAME$s,
|
|
35954
35970
|
props: props$l,
|
|
35955
35971
|
emits: ["update:modelValue", "change"],
|
|
35956
35972
|
setup(props2, {
|
|
@@ -35988,9 +36004,9 @@
|
|
|
35988
36004
|
};
|
|
35989
36005
|
}
|
|
35990
36006
|
});
|
|
35991
|
-
const COMPONENT_NAME$
|
|
36007
|
+
const COMPONENT_NAME$r = "vcm-radio-group";
|
|
35992
36008
|
const MRadioGroup = /* @__PURE__ */ vue.defineComponent({
|
|
35993
|
-
name: COMPONENT_NAME$
|
|
36009
|
+
name: COMPONENT_NAME$r,
|
|
35994
36010
|
props: props$k,
|
|
35995
36011
|
emits: ["update:modelValue", "change"],
|
|
35996
36012
|
setup(props2, {
|
|
@@ -36015,9 +36031,9 @@
|
|
|
36015
36031
|
default: "div"
|
|
36016
36032
|
}
|
|
36017
36033
|
};
|
|
36018
|
-
const COMPONENT_NAME$
|
|
36034
|
+
const COMPONENT_NAME$q = "vc-rate";
|
|
36019
36035
|
const Rate = /* @__PURE__ */ vue.defineComponent({
|
|
36020
|
-
name: COMPONENT_NAME$
|
|
36036
|
+
name: COMPONENT_NAME$q,
|
|
36021
36037
|
props: props$j,
|
|
36022
36038
|
setup(props2, {
|
|
36023
36039
|
slots
|
|
@@ -36080,9 +36096,9 @@
|
|
|
36080
36096
|
renderPlaceholder: Function,
|
|
36081
36097
|
renderRefresh: Function
|
|
36082
36098
|
};
|
|
36083
|
-
const COMPONENT_NAME$
|
|
36099
|
+
const COMPONENT_NAME$p = "vc-recycle-list-scroll-state";
|
|
36084
36100
|
const ScrollState = /* @__PURE__ */ vue.defineComponent({
|
|
36085
|
-
name: COMPONENT_NAME$
|
|
36101
|
+
name: COMPONENT_NAME$p,
|
|
36086
36102
|
setup(_, {
|
|
36087
36103
|
slots
|
|
36088
36104
|
}) {
|
|
@@ -36206,10 +36222,10 @@
|
|
|
36206
36222
|
);
|
|
36207
36223
|
return keys;
|
|
36208
36224
|
};
|
|
36209
|
-
const COMPONENT_NAME$
|
|
36225
|
+
const COMPONENT_NAME$o = "vc-recycle-list-container";
|
|
36210
36226
|
const transformKey = prefixStyle("transform").camel;
|
|
36211
36227
|
const Container = /* @__PURE__ */ vue.defineComponent({
|
|
36212
|
-
name: COMPONENT_NAME$
|
|
36228
|
+
name: COMPONENT_NAME$o,
|
|
36213
36229
|
props: props$h,
|
|
36214
36230
|
emits: ["refresh"],
|
|
36215
36231
|
setup(props2, {
|
|
@@ -36302,48 +36318,6 @@
|
|
|
36302
36318
|
};
|
|
36303
36319
|
}
|
|
36304
36320
|
});
|
|
36305
|
-
const COMPONENT_NAME$o = "vc-recycle-list-item";
|
|
36306
|
-
const Item = /* @__PURE__ */ vue.defineComponent({
|
|
36307
|
-
name: COMPONENT_NAME$o,
|
|
36308
|
-
props: {
|
|
36309
|
-
vertical: {
|
|
36310
|
-
type: Boolean,
|
|
36311
|
-
default: true
|
|
36312
|
-
}
|
|
36313
|
-
},
|
|
36314
|
-
emits: ["resize", "change"],
|
|
36315
|
-
setup(_, {
|
|
36316
|
-
emit,
|
|
36317
|
-
slots
|
|
36318
|
-
}) {
|
|
36319
|
-
const K = useDirectionKeys();
|
|
36320
|
-
const current = vue.ref();
|
|
36321
|
-
const offsetSize = vue.ref(0);
|
|
36322
|
-
let hasInitial = false;
|
|
36323
|
-
const handleResize = () => {
|
|
36324
|
-
const v = current.value.getBoundingClientRect()[K.size];
|
|
36325
|
-
const changed = offsetSize.value != v;
|
|
36326
|
-
if (changed) {
|
|
36327
|
-
offsetSize.value = v;
|
|
36328
|
-
hasInitial && emit("resize", v);
|
|
36329
|
-
emit("change", v);
|
|
36330
|
-
}
|
|
36331
|
-
hasInitial = true;
|
|
36332
|
-
};
|
|
36333
|
-
vue.onMounted(() => {
|
|
36334
|
-
Resize.on(current.value, handleResize);
|
|
36335
|
-
});
|
|
36336
|
-
vue.onBeforeUnmount(() => {
|
|
36337
|
-
Resize.off(current.value, handleResize);
|
|
36338
|
-
});
|
|
36339
|
-
return () => {
|
|
36340
|
-
return vue.createVNode("div", {
|
|
36341
|
-
"ref": current,
|
|
36342
|
-
"class": "vc-recycle-list-item"
|
|
36343
|
-
}, [slots?.default?.()]);
|
|
36344
|
-
};
|
|
36345
|
-
}
|
|
36346
|
-
});
|
|
36347
36321
|
const COMPONENT_NAME$n = "vc-recycle-list";
|
|
36348
36322
|
const RecycleList = /* @__PURE__ */ vue.defineComponent({
|
|
36349
36323
|
name: COMPONENT_NAME$n,
|
|
@@ -36811,7 +36785,7 @@
|
|
|
36811
36785
|
slots.placeholder?.() || renderer.value.placeholder && vue.createVNode(Customer, {
|
|
36812
36786
|
"render": renderer.value.placeholder
|
|
36813
36787
|
}, null)
|
|
36814
|
-
]), !item.isPlaceholder && vue.createVNode(
|
|
36788
|
+
]), !item.isPlaceholder && vue.createVNode(Resizer, {
|
|
36815
36789
|
"ref": (v) => curloads.value[item.id] = v,
|
|
36816
36790
|
"class": {
|
|
36817
36791
|
"vc-recycle-list__transition": hasPlaceholder.value
|
|
@@ -36819,11 +36793,11 @@
|
|
|
36819
36793
|
"style": {
|
|
36820
36794
|
opacity: item.loaded
|
|
36821
36795
|
},
|
|
36796
|
+
"fill": false,
|
|
36822
36797
|
"data-row": item.id,
|
|
36823
36798
|
"data-column": item.column,
|
|
36824
36799
|
"data-size": item.size,
|
|
36825
36800
|
"data-position": item.position,
|
|
36826
|
-
"vertical": props2.vertical,
|
|
36827
36801
|
"onResize": handleResize
|
|
36828
36802
|
}, {
|
|
36829
36803
|
default: () => [slots.default?.({
|
|
@@ -37200,14 +37174,14 @@
|
|
|
37200
37174
|
}
|
|
37201
37175
|
}
|
|
37202
37176
|
if (column.children) {
|
|
37203
|
-
let
|
|
37177
|
+
let colspan = 0;
|
|
37204
37178
|
column.children.forEach((subColumn) => {
|
|
37205
37179
|
traverse(subColumn, column);
|
|
37206
|
-
|
|
37180
|
+
colspan += subColumn.colspan;
|
|
37207
37181
|
});
|
|
37208
|
-
column.
|
|
37182
|
+
column.colspan = colspan;
|
|
37209
37183
|
} else {
|
|
37210
|
-
column.
|
|
37184
|
+
column.colspan = 1;
|
|
37211
37185
|
}
|
|
37212
37186
|
};
|
|
37213
37187
|
v.forEach((column) => {
|
|
@@ -37221,9 +37195,9 @@
|
|
|
37221
37195
|
const allColumns = getAllColumns(v);
|
|
37222
37196
|
allColumns.forEach((column) => {
|
|
37223
37197
|
if (!column.children) {
|
|
37224
|
-
column.
|
|
37198
|
+
column.rowspan = maxLevel - column.level + 1;
|
|
37225
37199
|
} else {
|
|
37226
|
-
column.
|
|
37200
|
+
column.rowspan = 1;
|
|
37227
37201
|
}
|
|
37228
37202
|
rows[column.level - 1].push(column);
|
|
37229
37203
|
});
|
|
@@ -37291,6 +37265,7 @@
|
|
|
37291
37265
|
selection: [],
|
|
37292
37266
|
reserveSelection: false,
|
|
37293
37267
|
selectable: null,
|
|
37268
|
+
expandSelectable: null,
|
|
37294
37269
|
hoverRowIndex: null,
|
|
37295
37270
|
// Current
|
|
37296
37271
|
currentRow: null,
|
|
@@ -37812,6 +37787,7 @@
|
|
|
37812
37787
|
this.layout = new Layout(this);
|
|
37813
37788
|
const { props: props2 } = options.table;
|
|
37814
37789
|
lodashExports.merge(this.states, {
|
|
37790
|
+
expandSelectable: props2.expandSelectable,
|
|
37815
37791
|
treeLazy: props2.lazy || false,
|
|
37816
37792
|
treeLazyColumnIdentifier: props2.treeMap.hasChildren || "hasChildren",
|
|
37817
37793
|
treeChildrenColumnName: props2.treeMap.children || "children"
|
|
@@ -38133,8 +38109,7 @@
|
|
|
38133
38109
|
}
|
|
38134
38110
|
}
|
|
38135
38111
|
const useStates = (mapper, $store) => {
|
|
38136
|
-
const
|
|
38137
|
-
const store = $store || instance.proxy?.store;
|
|
38112
|
+
const store = $store || vue.inject("vc-table")?.store;
|
|
38138
38113
|
const states = vue.reactive({});
|
|
38139
38114
|
Object.keys(mapper).forEach((key) => {
|
|
38140
38115
|
const value = mapper[key];
|
|
@@ -38166,16 +38141,16 @@
|
|
|
38166
38141
|
emit,
|
|
38167
38142
|
slots
|
|
38168
38143
|
}) {
|
|
38169
|
-
const handleResize = (
|
|
38144
|
+
const handleResize = (e, index) => {
|
|
38170
38145
|
emit("row-resize", {
|
|
38171
38146
|
index,
|
|
38172
|
-
size
|
|
38147
|
+
size: e.height
|
|
38173
38148
|
});
|
|
38174
38149
|
};
|
|
38175
38150
|
return () => {
|
|
38176
38151
|
return props2.data.map((row, index) => {
|
|
38177
|
-
return vue.createVNode(
|
|
38178
|
-
"
|
|
38152
|
+
return vue.createVNode(Resizer, {
|
|
38153
|
+
"fill": false,
|
|
38179
38154
|
"onChange": (e) => handleResize(e, index)
|
|
38180
38155
|
}, {
|
|
38181
38156
|
default: () => [slots.default?.({
|
|
@@ -38190,7 +38165,6 @@
|
|
|
38190
38165
|
const TableBody = /* @__PURE__ */ vue.defineComponent({
|
|
38191
38166
|
name: "vc-table-body",
|
|
38192
38167
|
props: {
|
|
38193
|
-
store: Object,
|
|
38194
38168
|
fixed: String,
|
|
38195
38169
|
heightStyle: [Object, Array, String]
|
|
38196
38170
|
},
|
|
@@ -38201,6 +38175,7 @@
|
|
|
38201
38175
|
}) {
|
|
38202
38176
|
const instance = vue.getCurrentInstance();
|
|
38203
38177
|
const table = vue.inject("vc-table");
|
|
38178
|
+
const allowRender = vue.ref(false);
|
|
38204
38179
|
const states = useStates({
|
|
38205
38180
|
data: "data",
|
|
38206
38181
|
list: "list",
|
|
@@ -38218,8 +38193,8 @@
|
|
|
38218
38193
|
}) => type === "default")
|
|
38219
38194
|
});
|
|
38220
38195
|
const wrapper = vue.ref();
|
|
38221
|
-
vue.watch(() =>
|
|
38222
|
-
if (!
|
|
38196
|
+
vue.watch(() => table.store.states.hoverRowIndex, (v, oldV) => {
|
|
38197
|
+
if (!table.store.states.isComplex || IS_SERVER$3) return;
|
|
38223
38198
|
raf(() => {
|
|
38224
38199
|
const rows = instance.vnode.el.querySelectorAll(".vc-table__row");
|
|
38225
38200
|
const oldRow = rows[oldV];
|
|
@@ -38263,7 +38238,7 @@
|
|
|
38263
38238
|
};
|
|
38264
38239
|
const getRowClass = (row, rowIndex) => {
|
|
38265
38240
|
const classes = ["vc-table__row"];
|
|
38266
|
-
if (table.props.highlight && row ===
|
|
38241
|
+
if (table.props.highlight && row === table.store.states.currentRow) {
|
|
38267
38242
|
classes.push("current-row");
|
|
38268
38243
|
}
|
|
38269
38244
|
if (table.props.stripe && rowIndex % 2 === 1) {
|
|
@@ -38278,7 +38253,7 @@
|
|
|
38278
38253
|
rowIndex
|
|
38279
38254
|
}));
|
|
38280
38255
|
}
|
|
38281
|
-
if (
|
|
38256
|
+
if (table.store.states.expandRows.indexOf(row) > -1) {
|
|
38282
38257
|
classes.push("expanded");
|
|
38283
38258
|
}
|
|
38284
38259
|
return classes;
|
|
@@ -38357,10 +38332,10 @@
|
|
|
38357
38332
|
table.emit("cell-mouse-leave", oldHoverState.row, oldHoverState.column, oldHoverState.cell, e);
|
|
38358
38333
|
};
|
|
38359
38334
|
const handleMouseEnter = debounce$1((index) => {
|
|
38360
|
-
|
|
38335
|
+
table.store.setHoverRow(index);
|
|
38361
38336
|
}, 30);
|
|
38362
38337
|
const handleMouseLeave = debounce$1(() => {
|
|
38363
|
-
|
|
38338
|
+
table.store.setHoverRow(null);
|
|
38364
38339
|
}, 30);
|
|
38365
38340
|
const handleEvent = (e, row, name) => {
|
|
38366
38341
|
const cell = getCell(e);
|
|
@@ -38380,10 +38355,13 @@
|
|
|
38380
38355
|
handleEvent(e, row, "dblclick");
|
|
38381
38356
|
};
|
|
38382
38357
|
const handleClick = (e, row) => {
|
|
38383
|
-
|
|
38358
|
+
table.store.setCurrentRow(row);
|
|
38384
38359
|
handleEvent(e, row, "click");
|
|
38385
38360
|
};
|
|
38386
38361
|
const renderRow = (rowData, rowIndex) => {
|
|
38362
|
+
const {
|
|
38363
|
+
rowHeight
|
|
38364
|
+
} = table.props;
|
|
38387
38365
|
const {
|
|
38388
38366
|
data: row
|
|
38389
38367
|
} = rowData;
|
|
@@ -38391,7 +38369,8 @@
|
|
|
38391
38369
|
columns
|
|
38392
38370
|
} = states;
|
|
38393
38371
|
const key = getValueOfRow(row, rowIndex);
|
|
38394
|
-
const selected =
|
|
38372
|
+
const selected = table.store.isSelected(row);
|
|
38373
|
+
const height = rowHeight || rowData.height;
|
|
38395
38374
|
return vue.createVNode("div", {
|
|
38396
38375
|
"key": key,
|
|
38397
38376
|
"class": [getRowClass(row, rowIndex), "vc-table__tr"],
|
|
@@ -38408,7 +38387,7 @@
|
|
|
38408
38387
|
} = column;
|
|
38409
38388
|
const sizeStyle = {
|
|
38410
38389
|
width: `${realWidth}px`,
|
|
38411
|
-
height: `${
|
|
38390
|
+
height: `${height ? `${height}px` : "auto"}`
|
|
38412
38391
|
};
|
|
38413
38392
|
if (columnsHidden.value[columnIndex]) {
|
|
38414
38393
|
return vue.createVNode("div", {
|
|
@@ -38427,7 +38406,7 @@
|
|
|
38427
38406
|
column,
|
|
38428
38407
|
rowIndex,
|
|
38429
38408
|
columnIndex,
|
|
38430
|
-
store:
|
|
38409
|
+
store: table.store,
|
|
38431
38410
|
selected
|
|
38432
38411
|
})]);
|
|
38433
38412
|
})]);
|
|
@@ -38444,6 +38423,7 @@
|
|
|
38444
38423
|
})]);
|
|
38445
38424
|
};
|
|
38446
38425
|
const handleMergeRowResize = (v) => {
|
|
38426
|
+
if (table.props.rowHeight) return;
|
|
38447
38427
|
states.list[v.index].rows.forEach((row) => {
|
|
38448
38428
|
row.heightMap[props2.fixed || "main"] = v.size;
|
|
38449
38429
|
const heights = [row.heightMap.main];
|
|
@@ -38463,7 +38443,17 @@
|
|
|
38463
38443
|
getRootElement: () => instance.vnode.el
|
|
38464
38444
|
});
|
|
38465
38445
|
const layout = table.layout;
|
|
38446
|
+
let timer;
|
|
38447
|
+
vue.onBeforeMount(() => {
|
|
38448
|
+
if (table.props.delay) {
|
|
38449
|
+
timer = setTimeout(() => allowRender.value = true, table.props.delay);
|
|
38450
|
+
} else {
|
|
38451
|
+
allowRender.value = true;
|
|
38452
|
+
}
|
|
38453
|
+
});
|
|
38454
|
+
vue.onBeforeUnmount(() => (timer && clearTimeout(timer), allowRender.value = false));
|
|
38466
38455
|
return () => {
|
|
38456
|
+
if (!allowRender.value) return;
|
|
38467
38457
|
return vue.createVNode("div", {
|
|
38468
38458
|
"class": "vc-table__body"
|
|
38469
38459
|
}, [table.props.height ? vue.createVNode(RecycleList, {
|
|
@@ -38512,10 +38502,6 @@
|
|
|
38512
38502
|
name: "vc-table-header",
|
|
38513
38503
|
props: {
|
|
38514
38504
|
fixed: [Boolean, String],
|
|
38515
|
-
store: {
|
|
38516
|
-
type: Object,
|
|
38517
|
-
required: true
|
|
38518
|
-
},
|
|
38519
38505
|
border: Boolean,
|
|
38520
38506
|
// 排序全部交给外部处理,内部不处理数据,只做交互
|
|
38521
38507
|
defaultSort: {
|
|
@@ -38663,7 +38649,7 @@
|
|
|
38663
38649
|
column.width = columnWidth;
|
|
38664
38650
|
column.realWidth = column.width;
|
|
38665
38651
|
table.$emit("header-dragend", column.width, startLeft - startColumnLeft, column, event);
|
|
38666
|
-
|
|
38652
|
+
table.store.scheduleLayout();
|
|
38667
38653
|
document.body.style.cursor = "";
|
|
38668
38654
|
dragging.value = false;
|
|
38669
38655
|
draggingColumn.value = null;
|
|
@@ -38770,7 +38756,7 @@
|
|
|
38770
38756
|
}, [column.renderHeader ? column.renderHeader({
|
|
38771
38757
|
column,
|
|
38772
38758
|
columnIndex,
|
|
38773
|
-
store:
|
|
38759
|
+
store: table.store
|
|
38774
38760
|
}) : column.label, column.tooltip ? vue.createVNode(Icon, {
|
|
38775
38761
|
"type": "o-info",
|
|
38776
38762
|
"onMouseenter": (e) => handleCellMouseEnter(e, column)
|
|
@@ -38793,10 +38779,6 @@
|
|
|
38793
38779
|
name: "vc-table-footer",
|
|
38794
38780
|
props: {
|
|
38795
38781
|
fixed: [String, Boolean],
|
|
38796
|
-
store: {
|
|
38797
|
-
type: Object,
|
|
38798
|
-
required: true
|
|
38799
|
-
},
|
|
38800
38782
|
getSummary: Function,
|
|
38801
38783
|
sumText: String,
|
|
38802
38784
|
border: Boolean
|
|
@@ -38818,7 +38800,7 @@
|
|
|
38818
38800
|
} else if (props2.fixed === "right") {
|
|
38819
38801
|
let before = 0;
|
|
38820
38802
|
for (let i = 0; i < index; i++) {
|
|
38821
|
-
before += states.columns[i].
|
|
38803
|
+
before += states.columns[i].colspan;
|
|
38822
38804
|
}
|
|
38823
38805
|
return before < states.columnsCount - states.rightFixedLeafCount;
|
|
38824
38806
|
} else if (!props2.fixed && column.fixed) {
|
|
@@ -38911,6 +38893,7 @@
|
|
|
38911
38893
|
width: [String, Number],
|
|
38912
38894
|
height: [String, Number],
|
|
38913
38895
|
maxHeight: [String, Number],
|
|
38896
|
+
rowHeight: [String, Number],
|
|
38914
38897
|
// 列的宽度是否自撑开
|
|
38915
38898
|
fit: {
|
|
38916
38899
|
type: Boolean,
|
|
@@ -38991,7 +38974,9 @@
|
|
|
38991
38974
|
defaultSort: {
|
|
38992
38975
|
type: Object,
|
|
38993
38976
|
default: () => ({})
|
|
38994
|
-
}
|
|
38977
|
+
},
|
|
38978
|
+
// 用于延迟渲染,用于计算高度
|
|
38979
|
+
delay: Number
|
|
38995
38980
|
};
|
|
38996
38981
|
const COMPONENT_NAME$g = "vc-table";
|
|
38997
38982
|
const Table = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -39378,7 +39363,6 @@
|
|
|
39378
39363
|
"class": "vc-table__header-wrapper"
|
|
39379
39364
|
}, [vue.createVNode(TableHeader, {
|
|
39380
39365
|
"ref": tableHeader,
|
|
39381
|
-
"store": store,
|
|
39382
39366
|
"border": props2.border,
|
|
39383
39367
|
"default-sort": props2.defaultSort,
|
|
39384
39368
|
"style": bodyWidthStyle.value
|
|
@@ -39394,7 +39378,6 @@
|
|
|
39394
39378
|
}, {
|
|
39395
39379
|
default: () => [vue.createVNode(TableBody, {
|
|
39396
39380
|
"ref": body,
|
|
39397
|
-
"store": store,
|
|
39398
39381
|
"style": [bodyWidthStyle.value],
|
|
39399
39382
|
"height-style": [bodyHeightStyle.value],
|
|
39400
39383
|
"onScroll": handleScollY
|
|
@@ -39414,7 +39397,6 @@
|
|
|
39414
39397
|
"ref": footerWrapper,
|
|
39415
39398
|
"class": "vc-table__footer-wrapper"
|
|
39416
39399
|
}, [vue.createVNode(TableFooter, {
|
|
39417
|
-
"store": store,
|
|
39418
39400
|
"border": props2.border,
|
|
39419
39401
|
"sum-text": props2.sumText || "合计",
|
|
39420
39402
|
"get-summary": props2.getSummary,
|
|
@@ -39430,7 +39412,6 @@
|
|
|
39430
39412
|
"class": "vc-table__fixed-header-wrapper"
|
|
39431
39413
|
}, [vue.createVNode(TableHeader, {
|
|
39432
39414
|
"ref": leftFixedTableHeader,
|
|
39433
|
-
"store": store,
|
|
39434
39415
|
"border": props2.border,
|
|
39435
39416
|
"default-sort": props2.defaultSort,
|
|
39436
39417
|
"style": bodyWidthStyle.value,
|
|
@@ -39443,7 +39424,6 @@
|
|
|
39443
39424
|
"class": "vc-table__fixed-body-wrapper"
|
|
39444
39425
|
}, [vue.createVNode(TableBody, {
|
|
39445
39426
|
"ref": leftFixedBody,
|
|
39446
|
-
"store": store,
|
|
39447
39427
|
"style": [bodyWidthStyle.value, bodyHeightStyle.value],
|
|
39448
39428
|
"fixed": "left"
|
|
39449
39429
|
}, null), slots.append && vue.createVNode("div", {
|
|
@@ -39455,7 +39435,6 @@
|
|
|
39455
39435
|
"ref": leftFixedFooterWrapper,
|
|
39456
39436
|
"class": "vc-table__fixed-footer-wrapper"
|
|
39457
39437
|
}, [vue.createVNode(TableFooter, {
|
|
39458
|
-
"store": store,
|
|
39459
39438
|
"border": props2.border,
|
|
39460
39439
|
"sum-text": props2.sumText || "合计",
|
|
39461
39440
|
"get-summary": props2.getSummary,
|
|
@@ -39472,7 +39451,6 @@
|
|
|
39472
39451
|
"class": "vc-table__fixed-header-wrapper"
|
|
39473
39452
|
}, [vue.createVNode(TableHeader, {
|
|
39474
39453
|
"ref": rightFixedTableHeader,
|
|
39475
|
-
"store": store,
|
|
39476
39454
|
"border": props2.border,
|
|
39477
39455
|
"default-sort": props2.defaultSort,
|
|
39478
39456
|
"style": bodyWidthStyle.value,
|
|
@@ -39485,7 +39463,6 @@
|
|
|
39485
39463
|
"class": "vc-table__fixed-body-wrapper"
|
|
39486
39464
|
}, [vue.createVNode(TableBody, {
|
|
39487
39465
|
"ref": rightFixedBody,
|
|
39488
|
-
"store": store,
|
|
39489
39466
|
"style": [bodyWidthStyle.value, bodyHeightStyle.value],
|
|
39490
39467
|
"fixed": "right"
|
|
39491
39468
|
}, null), slots.append && vue.createVNode("div", {
|
|
@@ -39497,7 +39474,6 @@
|
|
|
39497
39474
|
"ref": rightFixedFooterWrapper,
|
|
39498
39475
|
"class": "vc-table__fixed-footer-wrapper"
|
|
39499
39476
|
}, [vue.createVNode(TableFooter, {
|
|
39500
|
-
"store": store,
|
|
39501
39477
|
"border": props2.border,
|
|
39502
39478
|
"sum-text": props2.sumText || "合计",
|
|
39503
39479
|
"get-summary": props2.getSummary,
|
|
@@ -39559,7 +39535,7 @@
|
|
|
39559
39535
|
"disabled": column.selectable ? !column.selectable.call(null, row, rowIndex) : false,
|
|
39560
39536
|
"onChange": () => store.rowSelectedChanged(row),
|
|
39561
39537
|
"onClick": (e) => e.stopPropagation()
|
|
39562
|
-
}, null), [[vue.vShow, store.
|
|
39538
|
+
}, null), [[vue.vShow, store.states.expandSelectable || level === 0]]);
|
|
39563
39539
|
},
|
|
39564
39540
|
sortable: false,
|
|
39565
39541
|
resizable: false
|
|
@@ -39766,16 +39742,9 @@
|
|
|
39766
39742
|
return column;
|
|
39767
39743
|
};
|
|
39768
39744
|
const setColumnWidth = (column) => {
|
|
39769
|
-
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
if (realMinWidth.value) {
|
|
39773
|
-
column.minWidth = realMinWidth.value;
|
|
39774
|
-
}
|
|
39775
|
-
if (!column.minWidth) {
|
|
39776
|
-
column.minWidth = 80;
|
|
39777
|
-
}
|
|
39778
|
-
column.realWidth = column.width === void 0 ? column.minWidth : column.width;
|
|
39745
|
+
column.width = realWidth.value || column.width;
|
|
39746
|
+
column.minWidth = realMinWidth.value || column.minWidth || 80;
|
|
39747
|
+
column.realWidth = typeof column.width === "undefined" ? column.minWidth : column.width;
|
|
39779
39748
|
return column;
|
|
39780
39749
|
};
|
|
39781
39750
|
const setColumnRenders = (column) => {
|
|
@@ -39832,6 +39801,8 @@
|
|
|
39832
39801
|
};
|
|
39833
39802
|
const registerColumn = () => {
|
|
39834
39803
|
const defaults2 = {
|
|
39804
|
+
colspan: 1,
|
|
39805
|
+
rowspan: 1,
|
|
39835
39806
|
...cellStarts[props2.type],
|
|
39836
39807
|
id: columnId.value,
|
|
39837
39808
|
realAlign,
|