vue-devui 1.6.7 → 1.6.9
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/data-grid/index.es.js +2 -2
- package/data-grid/index.umd.js +4 -4
- package/editor-md/index.es.js +20 -3
- package/editor-md/index.umd.js +11 -11
- package/package.json +1 -1
- package/radio/style.css +1 -1
- package/splitter/index.es.js +20 -3
- package/splitter/index.umd.js +7 -7
- package/style.css +1 -1
- package/table/index.es.js +20 -3
- package/table/index.umd.js +11 -11
- package/tooltip/index.es.js +20 -3
- package/tooltip/index.umd.js +12 -12
- package/types/tooltip/src/tooltip-types.d.ts +14 -1
- package/types/tooltip/src/tooltip.d.ts +27 -0
- package/vue-devui.es.js +23 -6
- package/vue-devui.umd.js +11 -11
package/table/index.es.js
CHANGED
|
@@ -10753,6 +10753,10 @@ const tooltipProps = {
|
|
|
10753
10753
|
type: [String, Array],
|
|
10754
10754
|
default: "top"
|
|
10755
10755
|
},
|
|
10756
|
+
align: {
|
|
10757
|
+
type: String,
|
|
10758
|
+
default: null
|
|
10759
|
+
},
|
|
10756
10760
|
showAnimation: {
|
|
10757
10761
|
type: Boolean,
|
|
10758
10762
|
default: true
|
|
@@ -10776,6 +10780,14 @@ const tooltipProps = {
|
|
|
10776
10780
|
hideAfter: {
|
|
10777
10781
|
type: Number,
|
|
10778
10782
|
default: 0
|
|
10783
|
+
},
|
|
10784
|
+
overlayClass: {
|
|
10785
|
+
type: String,
|
|
10786
|
+
default: ""
|
|
10787
|
+
},
|
|
10788
|
+
teleport: {
|
|
10789
|
+
type: [String, Object],
|
|
10790
|
+
default: "body"
|
|
10779
10791
|
}
|
|
10780
10792
|
};
|
|
10781
10793
|
const transformOriginMap = {
|
|
@@ -10855,7 +10867,10 @@ var Tooltip = defineComponent({
|
|
|
10855
10867
|
}) {
|
|
10856
10868
|
const {
|
|
10857
10869
|
showAnimation,
|
|
10858
|
-
content
|
|
10870
|
+
content,
|
|
10871
|
+
align,
|
|
10872
|
+
overlayClass,
|
|
10873
|
+
teleport
|
|
10859
10874
|
} = toRefs(props);
|
|
10860
10875
|
const origin = ref();
|
|
10861
10876
|
const tooltipRef = ref();
|
|
@@ -10872,7 +10887,8 @@ var Tooltip = defineComponent({
|
|
|
10872
10887
|
const className = computed(() => ({
|
|
10873
10888
|
[ns2.b()]: true,
|
|
10874
10889
|
[ns2.m(placement.value)]: true,
|
|
10875
|
-
[ns2.m("with-content")]: slots.content
|
|
10890
|
+
[ns2.m("with-content")]: slots.content,
|
|
10891
|
+
[overlayClass.value]: true
|
|
10876
10892
|
}));
|
|
10877
10893
|
provide(POPPER_TRIGGER_TOKEN, origin);
|
|
10878
10894
|
return () => createVNode(Fragment, null, [createVNode(PopperTrigger, null, {
|
|
@@ -10881,7 +10897,7 @@ var Tooltip = defineComponent({
|
|
|
10881
10897
|
return [(_a = slots.default) == null ? void 0 : _a.call(slots)];
|
|
10882
10898
|
}
|
|
10883
10899
|
}), createVNode(Teleport, {
|
|
10884
|
-
"to":
|
|
10900
|
+
"to": teleport.value
|
|
10885
10901
|
}, {
|
|
10886
10902
|
default: () => [createVNode(Transition, {
|
|
10887
10903
|
"name": showAnimation.value ? ns2.m(`fade-${placement.value}`) : ""
|
|
@@ -10893,6 +10909,7 @@ var Tooltip = defineComponent({
|
|
|
10893
10909
|
"class": className.value,
|
|
10894
10910
|
"origin": origin.value,
|
|
10895
10911
|
"position": positionArr.value,
|
|
10912
|
+
"align": align.value,
|
|
10896
10913
|
"offset": 6,
|
|
10897
10914
|
"show-arrow": true,
|
|
10898
10915
|
"style": overlayStyles.value,
|