vue-devui 1.6.8 → 1.6.10
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/auto-complete/index.es.js +8 -24
- package/auto-complete/index.umd.js +15 -15
- package/category-search/index.es.js +8 -24
- package/category-search/index.umd.js +18 -18
- package/checkbox/index.es.js +14 -30
- package/checkbox/index.umd.js +17 -17
- package/data-grid/index.es.js +11 -27
- package/data-grid/index.umd.js +7 -7
- package/date-picker-pro/index.es.js +8 -24
- package/date-picker-pro/index.umd.js +12 -12
- package/editor-md/index.es.js +20 -4
- package/editor-md/index.umd.js +11 -11
- package/form/index.es.js +14 -30
- package/form/index.umd.js +12 -12
- package/input/index.es.js +14 -30
- package/input/index.umd.js +10 -10
- package/input-number/index.es.js +14 -30
- package/input-number/index.umd.js +13 -13
- package/mention/index.es.js +8 -24
- package/mention/index.umd.js +13 -13
- package/modal/index.es.js +18 -12
- package/modal/index.umd.js +7 -7
- package/package.json +1 -1
- package/pagination/index.es.js +8 -24
- package/pagination/index.umd.js +7 -7
- package/radio/index.es.js +14 -30
- package/radio/index.umd.js +19 -19
- package/search/index.es.js +20 -30
- package/search/index.umd.js +11 -11
- package/search/style.css +1 -1
- package/select/index.es.js +14 -30
- package/select/index.umd.js +9 -9
- package/splitter/index.es.js +20 -3
- package/splitter/index.umd.js +7 -7
- package/style.css +1 -1
- package/switch/index.es.js +8 -24
- package/switch/index.umd.js +15 -15
- package/table/index.es.js +28 -27
- package/table/index.umd.js +11 -11
- package/textarea/index.es.js +14 -30
- package/textarea/index.umd.js +18 -18
- package/time-picker/index.es.js +8 -24
- package/time-picker/index.umd.js +9 -9
- package/time-select/index.es.js +14 -30
- package/time-select/index.umd.js +14 -14
- package/tooltip/index.es.js +20 -3
- package/tooltip/index.umd.js +12 -12
- package/tree/index.es.js +8 -24
- package/tree/index.umd.js +9 -9
- package/types/form/src/components/form-item/form-item-types.d.ts +4 -0
- package/types/form/src/components/form-item/form-item.d.ts +9 -0
- package/types/search/src/search-types.d.ts +4 -0
- package/types/search/src/search.d.ts +9 -0
- package/types/tooltip/src/tooltip-types.d.ts +14 -1
- package/types/tooltip/src/tooltip.d.ts +27 -0
- package/vue-devui.es.js +56 -44
- package/vue-devui.umd.js +43 -43
package/editor-md/index.es.js
CHANGED
|
@@ -7479,7 +7479,6 @@ function useEditorMd(props, ctx) {
|
|
|
7479
7479
|
editorIns.on("cursorActivity", lodash.exports.throttle(cursorActivityHandler, hintConfig.value && hintConfig.value.throttleTime || 300));
|
|
7480
7480
|
editorIns.setSize("auto", "100%");
|
|
7481
7481
|
refreshEditorCursor();
|
|
7482
|
-
editorIns.setCursor(editorIns.lineCount(), 0);
|
|
7483
7482
|
ctx.emit("afterEditorInit", editorIns);
|
|
7484
7483
|
editorIns.on("change", onChange);
|
|
7485
7484
|
editorIns.on("scroll", onScroll);
|
|
@@ -8423,6 +8422,10 @@ const tooltipProps = {
|
|
|
8423
8422
|
type: [String, Array],
|
|
8424
8423
|
default: "top"
|
|
8425
8424
|
},
|
|
8425
|
+
align: {
|
|
8426
|
+
type: String,
|
|
8427
|
+
default: null
|
|
8428
|
+
},
|
|
8426
8429
|
showAnimation: {
|
|
8427
8430
|
type: Boolean,
|
|
8428
8431
|
default: true
|
|
@@ -8446,6 +8449,14 @@ const tooltipProps = {
|
|
|
8446
8449
|
hideAfter: {
|
|
8447
8450
|
type: Number,
|
|
8448
8451
|
default: 0
|
|
8452
|
+
},
|
|
8453
|
+
overlayClass: {
|
|
8454
|
+
type: String,
|
|
8455
|
+
default: ""
|
|
8456
|
+
},
|
|
8457
|
+
teleport: {
|
|
8458
|
+
type: [String, Object],
|
|
8459
|
+
default: "body"
|
|
8449
8460
|
}
|
|
8450
8461
|
};
|
|
8451
8462
|
const transformOriginMap = {
|
|
@@ -8525,7 +8536,10 @@ var Tooltip = defineComponent({
|
|
|
8525
8536
|
}) {
|
|
8526
8537
|
const {
|
|
8527
8538
|
showAnimation,
|
|
8528
|
-
content
|
|
8539
|
+
content,
|
|
8540
|
+
align,
|
|
8541
|
+
overlayClass,
|
|
8542
|
+
teleport
|
|
8529
8543
|
} = toRefs(props);
|
|
8530
8544
|
const origin = ref();
|
|
8531
8545
|
const tooltipRef = ref();
|
|
@@ -8542,7 +8556,8 @@ var Tooltip = defineComponent({
|
|
|
8542
8556
|
const className = computed(() => ({
|
|
8543
8557
|
[ns2.b()]: true,
|
|
8544
8558
|
[ns2.m(placement.value)]: true,
|
|
8545
|
-
[ns2.m("with-content")]: slots.content
|
|
8559
|
+
[ns2.m("with-content")]: slots.content,
|
|
8560
|
+
[overlayClass.value]: true
|
|
8546
8561
|
}));
|
|
8547
8562
|
provide(POPPER_TRIGGER_TOKEN, origin);
|
|
8548
8563
|
return () => createVNode(Fragment, null, [createVNode(PopperTrigger, null, {
|
|
@@ -8551,7 +8566,7 @@ var Tooltip = defineComponent({
|
|
|
8551
8566
|
return [(_a = slots.default) == null ? void 0 : _a.call(slots)];
|
|
8552
8567
|
}
|
|
8553
8568
|
}), createVNode(Teleport, {
|
|
8554
|
-
"to":
|
|
8569
|
+
"to": teleport.value
|
|
8555
8570
|
}, {
|
|
8556
8571
|
default: () => [createVNode(Transition, {
|
|
8557
8572
|
"name": showAnimation.value ? ns2.m(`fade-${placement.value}`) : ""
|
|
@@ -8563,6 +8578,7 @@ var Tooltip = defineComponent({
|
|
|
8563
8578
|
"class": className.value,
|
|
8564
8579
|
"origin": origin.value,
|
|
8565
8580
|
"position": positionArr.value,
|
|
8581
|
+
"align": align.value,
|
|
8566
8582
|
"offset": 6,
|
|
8567
8583
|
"show-arrow": true,
|
|
8568
8584
|
"style": overlayStyles.value,
|