@deskhero/dh_ui 2.11.1 → 2.13.0
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/components/TextEditor.vue.d.ts +1 -1
- package/dist/dh_ui.es.js +4 -4
- package/dist/dh_ui.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
19
19
|
readonly isSuggestionReplyEnabled?: boolean | undefined;
|
|
20
20
|
readonly suggestionReplyTitle?: string | undefined;
|
|
21
21
|
};
|
|
22
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
22
|
+
$emit: (event: "change" | "blockMoved", ...args: any[]) => void;
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
24
24
|
export default _default;
|
|
25
25
|
declare function toggleReadOnly(): void;
|
package/dist/dh_ui.es.js
CHANGED
|
@@ -17449,7 +17449,7 @@ function oE(i, e, t, n, o, r) {
|
|
|
17449
17449
|
return C(), U("div", {
|
|
17450
17450
|
id: "main-contain",
|
|
17451
17451
|
ref: "main",
|
|
17452
|
-
class: "dh-tooltip-container tooltip",
|
|
17452
|
+
class: ne(["dh-tooltip-container tooltip", i.tooltipText.length === 0 ? "no-text" : ""]),
|
|
17453
17453
|
placement: i.placement,
|
|
17454
17454
|
target: i.target,
|
|
17455
17455
|
tooltipText: i.tooltipText,
|
|
@@ -17465,7 +17465,7 @@ function oE(i, e, t, n, o, r) {
|
|
|
17465
17465
|
}, [
|
|
17466
17466
|
Q("span", nE, re(i.tooltipText), 1)
|
|
17467
17467
|
], 10, iE)
|
|
17468
|
-
],
|
|
17468
|
+
], 42, tE);
|
|
17469
17469
|
}
|
|
17470
17470
|
const rE = /* @__PURE__ */ ht(eE, [["render", oE]]);
|
|
17471
17471
|
const aE = { class: "copy__text" }, sE = ["readonly"], t3 = {
|
|
@@ -35927,7 +35927,7 @@ const G2 = {
|
|
|
35927
35927
|
required: !1
|
|
35928
35928
|
}
|
|
35929
35929
|
},
|
|
35930
|
-
emits: ["change"],
|
|
35930
|
+
emits: ["change", "blockMoved"],
|
|
35931
35931
|
setup(i, { expose: e, emit: t }) {
|
|
35932
35932
|
const n = i, o = K(!1), r = K(0), a = K(!1), s = K({}), u = K(n.isSuggestionReplyEnabled), M = K(n.isSuggestionReplyEnabled), l = K(!0), c = K({
|
|
35933
35933
|
holder: n.holder,
|
|
@@ -35941,7 +35941,7 @@ const G2 = {
|
|
|
35941
35941
|
o.value = !0;
|
|
35942
35942
|
},
|
|
35943
35943
|
onChange: async (x, O) => {
|
|
35944
|
-
if (O.type !== "block-changed" || !n.wordCount) {
|
|
35944
|
+
if (O.type === "block-moved" && t("blockMoved", O.detail), O.type !== "block-changed" || !n.wordCount) {
|
|
35945
35945
|
const _ = await x.saver.save();
|
|
35946
35946
|
t("change", _.blocks);
|
|
35947
35947
|
return;
|