@deot/vc 1.0.46 → 1.0.47
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 +8 -0
- package/dist/index.iife.js +11 -3
- package/dist/index.umd.cjs +11 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -763,6 +763,7 @@ export declare const Components: {
|
|
|
763
763
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
764
764
|
default: undefined;
|
|
765
765
|
};
|
|
766
|
+
label: StringConstructor;
|
|
766
767
|
id: {
|
|
767
768
|
type: StringConstructor;
|
|
768
769
|
};
|
|
@@ -848,6 +849,7 @@ export declare const Components: {
|
|
|
848
849
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
849
850
|
default: undefined;
|
|
850
851
|
};
|
|
852
|
+
label: StringConstructor;
|
|
851
853
|
id: {
|
|
852
854
|
type: StringConstructor;
|
|
853
855
|
};
|
|
@@ -959,6 +961,7 @@ export declare const Components: {
|
|
|
959
961
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
960
962
|
default: undefined;
|
|
961
963
|
};
|
|
964
|
+
label: StringConstructor;
|
|
962
965
|
id: {
|
|
963
966
|
type: StringConstructor;
|
|
964
967
|
};
|
|
@@ -1044,6 +1047,7 @@ export declare const Components: {
|
|
|
1044
1047
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
1045
1048
|
default: undefined;
|
|
1046
1049
|
};
|
|
1050
|
+
label: StringConstructor;
|
|
1047
1051
|
id: {
|
|
1048
1052
|
type: StringConstructor;
|
|
1049
1053
|
};
|
|
@@ -8865,6 +8869,7 @@ export declare const Components: {
|
|
|
8865
8869
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
8866
8870
|
default: undefined;
|
|
8867
8871
|
};
|
|
8872
|
+
label: StringConstructor;
|
|
8868
8873
|
id: {
|
|
8869
8874
|
type: StringConstructor;
|
|
8870
8875
|
};
|
|
@@ -8942,6 +8947,7 @@ export declare const Components: {
|
|
|
8942
8947
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
8943
8948
|
default: undefined;
|
|
8944
8949
|
};
|
|
8950
|
+
label: StringConstructor;
|
|
8945
8951
|
id: {
|
|
8946
8952
|
type: StringConstructor;
|
|
8947
8953
|
};
|
|
@@ -9044,6 +9050,7 @@ export declare const Components: {
|
|
|
9044
9050
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
9045
9051
|
default: undefined;
|
|
9046
9052
|
};
|
|
9053
|
+
label: StringConstructor;
|
|
9047
9054
|
id: {
|
|
9048
9055
|
type: StringConstructor;
|
|
9049
9056
|
};
|
|
@@ -9121,6 +9128,7 @@ export declare const Components: {
|
|
|
9121
9128
|
type: (ObjectConstructor | StringConstructor | NumberConstructor)[];
|
|
9122
9129
|
default: undefined;
|
|
9123
9130
|
};
|
|
9131
|
+
label: StringConstructor;
|
|
9124
9132
|
id: {
|
|
9125
9133
|
type: StringConstructor;
|
|
9126
9134
|
};
|
package/dist/index.iife.js
CHANGED
|
@@ -12594,7 +12594,8 @@ var Vc = (function (exports, vue) {
|
|
|
12594
12594
|
nullValue: {
|
|
12595
12595
|
type: [Number, String, Object],
|
|
12596
12596
|
default: void 0
|
|
12597
|
-
}
|
|
12597
|
+
},
|
|
12598
|
+
label: String
|
|
12598
12599
|
};
|
|
12599
12600
|
const props$18 = {
|
|
12600
12601
|
...props$19,
|
|
@@ -22592,7 +22593,7 @@ var Vc = (function (exports, vue) {
|
|
|
22592
22593
|
"style": its.value.style,
|
|
22593
22594
|
"animation": "y",
|
|
22594
22595
|
"onMouseenter": () => isHover.value = true,
|
|
22595
|
-
"
|
|
22596
|
+
"onMouseleave": () => isHover.value = false,
|
|
22596
22597
|
"onReady": () => emit("ready"),
|
|
22597
22598
|
"onClose": () => emit("close"),
|
|
22598
22599
|
"onVisibleChange": () => emit("visible-change", isActive.value),
|
|
@@ -22608,6 +22609,13 @@ var Vc = (function (exports, vue) {
|
|
|
22608
22609
|
"readonly": true,
|
|
22609
22610
|
"placeholder": its.value.attrs?.placeholder || "请选择"
|
|
22610
22611
|
}, {
|
|
22612
|
+
prepend: () => {
|
|
22613
|
+
if (slots.prepend) return slots.prepend?.();
|
|
22614
|
+
if (!props2.label) return null;
|
|
22615
|
+
return vue.createVNode("span", {
|
|
22616
|
+
"class": "vc-select__label"
|
|
22617
|
+
}, [props2.label]);
|
|
22618
|
+
},
|
|
22611
22619
|
content: multiple.value && currentValue.value && currentValue.value.length > 0 ? () => {
|
|
22612
22620
|
return vue.createVNode("div", {
|
|
22613
22621
|
"class": [classes.value, "vc-select__tags"]
|
|
@@ -22629,7 +22637,7 @@ var Vc = (function (exports, vue) {
|
|
|
22629
22637
|
}, [vue.createVNode(Icon, {
|
|
22630
22638
|
"type": showClear.value ? "clear" : icon.value,
|
|
22631
22639
|
"class": [{
|
|
22632
|
-
"is-arrow": !showClear
|
|
22640
|
+
"is-arrow": !showClear.value
|
|
22633
22641
|
}, "vc-select__icon"],
|
|
22634
22642
|
"onClick": handleClear
|
|
22635
22643
|
}, null)]);
|
package/dist/index.umd.cjs
CHANGED
|
@@ -12597,7 +12597,8 @@
|
|
|
12597
12597
|
nullValue: {
|
|
12598
12598
|
type: [Number, String, Object],
|
|
12599
12599
|
default: void 0
|
|
12600
|
-
}
|
|
12600
|
+
},
|
|
12601
|
+
label: String
|
|
12601
12602
|
};
|
|
12602
12603
|
const props$18 = {
|
|
12603
12604
|
...props$19,
|
|
@@ -22595,7 +22596,7 @@
|
|
|
22595
22596
|
"style": its.value.style,
|
|
22596
22597
|
"animation": "y",
|
|
22597
22598
|
"onMouseenter": () => isHover.value = true,
|
|
22598
|
-
"
|
|
22599
|
+
"onMouseleave": () => isHover.value = false,
|
|
22599
22600
|
"onReady": () => emit("ready"),
|
|
22600
22601
|
"onClose": () => emit("close"),
|
|
22601
22602
|
"onVisibleChange": () => emit("visible-change", isActive.value),
|
|
@@ -22611,6 +22612,13 @@
|
|
|
22611
22612
|
"readonly": true,
|
|
22612
22613
|
"placeholder": its.value.attrs?.placeholder || "请选择"
|
|
22613
22614
|
}, {
|
|
22615
|
+
prepend: () => {
|
|
22616
|
+
if (slots.prepend) return slots.prepend?.();
|
|
22617
|
+
if (!props2.label) return null;
|
|
22618
|
+
return vue.createVNode("span", {
|
|
22619
|
+
"class": "vc-select__label"
|
|
22620
|
+
}, [props2.label]);
|
|
22621
|
+
},
|
|
22614
22622
|
content: multiple.value && currentValue.value && currentValue.value.length > 0 ? () => {
|
|
22615
22623
|
return vue.createVNode("div", {
|
|
22616
22624
|
"class": [classes.value, "vc-select__tags"]
|
|
@@ -22632,7 +22640,7 @@
|
|
|
22632
22640
|
}, [vue.createVNode(Icon, {
|
|
22633
22641
|
"type": showClear.value ? "clear" : icon.value,
|
|
22634
22642
|
"class": [{
|
|
22635
|
-
"is-arrow": !showClear
|
|
22643
|
+
"is-arrow": !showClear.value
|
|
22636
22644
|
}, "vc-select__icon"],
|
|
22637
22645
|
"onClick": handleClear
|
|
22638
22646
|
}, null)]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deot/vc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@deot/vc-components": "^1.0.
|
|
23
|
-
"@deot/vc-hooks": "^1.0.
|
|
24
|
-
"@deot/vc-shared": "^1.0.
|
|
22
|
+
"@deot/vc-components": "^1.0.47",
|
|
23
|
+
"@deot/vc-hooks": "^1.0.47",
|
|
24
|
+
"@deot/vc-shared": "^1.0.47"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"vue": "*"
|