vue-devui 1.4.1 → 1.5.1
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/README.md +10 -7
- package/collapse/style.css +1 -1
- package/editable-select/index.es.js +5412 -184
- package/editable-select/index.umd.js +27 -1
- package/image-preview/index.es.js +2 -0
- package/image-preview/index.umd.js +1 -1
- package/menu/index.es.js +7 -7
- package/menu/index.umd.js +1 -1
- package/package.json +2 -1
- package/pagination/index.es.js +8 -8
- package/pagination/index.umd.js +11 -11
- package/select/index.es.js +8 -8
- package/select/index.umd.js +12 -12
- package/style.css +1 -1
- package/tag/index.es.js +8 -8
- package/tag/index.umd.js +1 -1
- package/time-select/index.es.js +8 -8
- package/time-select/index.umd.js +5 -5
- package/vue-devui.es.js +144 -326
- package/vue-devui.umd.js +11 -11
package/pagination/index.es.js
CHANGED
|
@@ -8823,18 +8823,18 @@ var Tag = defineComponent({
|
|
|
8823
8823
|
e.stopPropagation();
|
|
8824
8824
|
emit("tagDelete", e);
|
|
8825
8825
|
};
|
|
8826
|
+
const contentColor = computed(() => {
|
|
8827
|
+
return isDefaultTag() ? "" : checked.value ? "#fff" : themeColor.value;
|
|
8828
|
+
});
|
|
8826
8829
|
const closeIconEl = () => {
|
|
8830
|
+
const iconName = isDefaultTag() ? "error-o" : "close";
|
|
8827
8831
|
return deletable.value ? createVNode("a", {
|
|
8828
8832
|
"class": "remove-button",
|
|
8829
8833
|
"onClick": handleDelete
|
|
8830
|
-
}, [
|
|
8831
|
-
"size": "12px",
|
|
8832
|
-
"name": "error-o",
|
|
8833
|
-
"color": "#adb0b8"
|
|
8834
|
-
}, null) : createVNode(resolveComponent("d-icon"), {
|
|
8834
|
+
}, [createVNode(resolveComponent("d-icon"), {
|
|
8835
8835
|
"size": "12px",
|
|
8836
|
-
"name":
|
|
8837
|
-
"color":
|
|
8836
|
+
"name": iconName,
|
|
8837
|
+
"color": contentColor.value
|
|
8838
8838
|
}, null)]) : null;
|
|
8839
8839
|
};
|
|
8840
8840
|
const unWatch = watch(checked, (newVal) => {
|
|
@@ -8850,7 +8850,7 @@ var Tag = defineComponent({
|
|
|
8850
8850
|
"class": tagClass.value,
|
|
8851
8851
|
"style": {
|
|
8852
8852
|
display: "block",
|
|
8853
|
-
color:
|
|
8853
|
+
color: contentColor.value,
|
|
8854
8854
|
backgroundColor: checked.value ? themeColor.value : !color.value ? "" : "var(--devui-base-bg, #ffffff)"
|
|
8855
8855
|
},
|
|
8856
8856
|
"title": tagTitle
|