mme-editor 1.1.22 → 1.1.24

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.
@@ -116,7 +116,7 @@ import wi from "nzh/cn";
116
116
  import "dom-to-image-more";
117
117
  import { ObjectSchema as W5 } from "@eslint/object-schema";
118
118
  /**
119
- * mme-editor 1.1.22
119
+ * mme-editor 1.1.24
120
120
  * @license MIT
121
121
  * @author finthing http://www.finething.net
122
122
  * @see http://www.finething.net
@@ -56781,7 +56781,7 @@ function oOe(t, e, n, r, a, o) {
56781
56781
  ], 6);
56782
56782
  }
56783
56783
  const lOe = /* @__PURE__ */ nt(rOe, [["render", oOe]]);
56784
- const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }, sOe = { class: "workitem-header" }, cOe = ["title"], dOe = { class: "context-menu-popup" }, vOe = { class: "btn-box" }, fOe = { class: "btn-box" }, mOe = { class: "btn-box" }, pOe = { class: "btn-box" }, hOe = { class: "btn-box" }, gOe = { class: "btn-box" }, bOe = { class: "btn-box" }, yOe = { class: "doc-title" }, _Oe = /* @__PURE__ */ ee({
56784
+ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }, sOe = { class: "workitem-header" }, cOe = ["data-tooltip"], dOe = { class: "context-menu-popup" }, vOe = { class: "btn-box" }, fOe = { class: "btn-box" }, mOe = { class: "btn-box" }, pOe = { class: "btn-box" }, hOe = { class: "btn-box" }, gOe = { class: "btn-box" }, bOe = { class: "btn-box" }, yOe = { class: "doc-title" }, _Oe = /* @__PURE__ */ ee({
56785
56785
  __name: "node-view",
56786
56786
  props: br,
56787
56787
  setup(t) {
@@ -56941,18 +56941,18 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
56941
56941
  }, [
56942
56942
  U("div", uOe, [
56943
56943
  U("div", sOe, [
56944
- g(k(z5), {
56945
- ref: "popoverRef",
56946
- trigger: "click",
56947
- placement: "bottom",
56948
- "popper-class": "custom-word-workitem-popover",
56949
- disabled: (($ = k(r).preview) == null ? void 0 : $.enabled) || ((I = k(e).document) == null ? void 0 : I.readOnly) || !((B = T.editor) != null && B.isEditable)
56950
- }, {
56951
- reference: ne(() => [
56952
- U("div", {
56953
- title: `${T.node.attrs.workitemType || ""} - ${T.node.attrs.workitemId || ""}`,
56954
- style: { display: "inline-block" }
56955
- }, [
56944
+ U("div", {
56945
+ class: "workitem-icon-container",
56946
+ "data-tooltip": (T.node.attrs.workitemType || "") + " - " + (T.node.attrs.workitemId || "")
56947
+ }, [
56948
+ g(k(z5), {
56949
+ ref: "popoverRef",
56950
+ trigger: "click",
56951
+ placement: "bottom",
56952
+ "popper-class": "custom-word-workitem-popover",
56953
+ disabled: (($ = k(r).preview) == null ? void 0 : $.enabled) || ((I = k(e).document) == null ? void 0 : I.readOnly) || !((B = T.editor) != null && B.isEditable)
56954
+ }, {
56955
+ reference: ne(() => [
56956
56956
  g(S, {
56957
56957
  onClick: A[0] || (A[0] = Jv(() => {
56958
56958
  }, ["stop"])),
@@ -56960,98 +56960,98 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
56960
56960
  class: "icon",
56961
56961
  style: { width: "14px", height: "14px", "min-width": "14px", margin: "3px 10px 0 0" }
56962
56962
  }, null, 8, ["icon-class"])
56963
- ], 8, cOe)
56964
- ]),
56965
- default: ne(() => [
56966
- U("div", dOe, [
56967
- U("div", vOe, [
56968
- g(k(vo), {
56969
- link: "",
56970
- class: "btn-item",
56971
- onClick: A[1] || (A[1] = (L) => b("node-openDetail"))
56972
- }, {
56973
- default: ne(() => [...A[6] || (A[6] = [
56974
- qe("打开", -1)
56975
- ])]),
56976
- _: 1
56977
- })
56978
- ]),
56979
- U("div", fOe, [
56980
- g(k(vo), {
56981
- link: "",
56982
- class: "btn-item",
56983
- onClick: A[2] || (A[2] = (L) => b("up"))
56984
- }, {
56985
- default: ne(() => [...A[7] || (A[7] = [
56986
- qe("新增至上方", -1)
56987
- ])]),
56988
- _: 1
56989
- })
56990
- ]),
56991
- U("div", mOe, [
56992
- g(k(vo), {
56993
- link: "",
56994
- class: "btn-item",
56995
- onClick: A[3] || (A[3] = (L) => b("down"))
56996
- }, {
56997
- default: ne(() => [...A[8] || (A[8] = [
56998
- qe(" 新增至下方 ", -1)
56999
- ])]),
57000
- _: 1
57001
- })
57002
- ]),
57003
- U("div", pOe, [
57004
- g(k(vo), {
57005
- link: "",
57006
- class: "btn-item",
57007
- onClick: A[4] || (A[4] = (L) => b("children"))
57008
- }, {
57009
- default: ne(() => [...A[9] || (A[9] = [
57010
- qe(" 新增至子节点 ", -1)
57011
- ])]),
57012
- _: 1
57013
- })
57014
- ]),
57015
- U("div", hOe, [
57016
- g(k(vo), {
57017
- link: "",
57018
- class: "btn-item",
57019
- onClick: p
57020
- }, {
57021
- default: ne(() => [...A[10] || (A[10] = [
57022
- qe(" 复制ID ", -1)
57023
- ])]),
57024
- _: 1
57025
- })
57026
- ]),
57027
- U("div", gOe, [
57028
- g(k(vo), {
57029
- link: "",
57030
- class: "btn-item",
57031
- onClick: h
57032
- }, {
57033
- default: ne(() => [...A[11] || (A[11] = [
57034
- qe(" 复制ID+标题 ", -1)
57035
- ])]),
57036
- _: 1
57037
- })
57038
- ]),
57039
- U("div", bOe, [
57040
- g(k(vo), {
57041
- link: "",
57042
- class: "btn-item",
57043
- onClick: y
57044
- }, {
57045
- default: ne(() => [...A[12] || (A[12] = [
57046
- qe(" 跳转至父节点 ", -1)
57047
- ])]),
57048
- _: 1
57049
- })
56963
+ ]),
56964
+ default: ne(() => [
56965
+ U("div", dOe, [
56966
+ U("div", vOe, [
56967
+ g(k(vo), {
56968
+ link: "",
56969
+ class: "btn-item",
56970
+ onClick: A[1] || (A[1] = (L) => b("node-openDetail"))
56971
+ }, {
56972
+ default: ne(() => [...A[6] || (A[6] = [
56973
+ qe("打开", -1)
56974
+ ])]),
56975
+ _: 1
56976
+ })
56977
+ ]),
56978
+ U("div", fOe, [
56979
+ g(k(vo), {
56980
+ link: "",
56981
+ class: "btn-item",
56982
+ onClick: A[2] || (A[2] = (L) => b("up"))
56983
+ }, {
56984
+ default: ne(() => [...A[7] || (A[7] = [
56985
+ qe("新增至上方", -1)
56986
+ ])]),
56987
+ _: 1
56988
+ })
56989
+ ]),
56990
+ U("div", mOe, [
56991
+ g(k(vo), {
56992
+ link: "",
56993
+ class: "btn-item",
56994
+ onClick: A[3] || (A[3] = (L) => b("down"))
56995
+ }, {
56996
+ default: ne(() => [...A[8] || (A[8] = [
56997
+ qe(" 新增至下方 ", -1)
56998
+ ])]),
56999
+ _: 1
57000
+ })
57001
+ ]),
57002
+ U("div", pOe, [
57003
+ g(k(vo), {
57004
+ link: "",
57005
+ class: "btn-item",
57006
+ onClick: A[4] || (A[4] = (L) => b("children"))
57007
+ }, {
57008
+ default: ne(() => [...A[9] || (A[9] = [
57009
+ qe(" 新增至子节点 ", -1)
57010
+ ])]),
57011
+ _: 1
57012
+ })
57013
+ ]),
57014
+ U("div", hOe, [
57015
+ g(k(vo), {
57016
+ link: "",
57017
+ class: "btn-item",
57018
+ onClick: p
57019
+ }, {
57020
+ default: ne(() => [...A[10] || (A[10] = [
57021
+ qe(" 复制ID ", -1)
57022
+ ])]),
57023
+ _: 1
57024
+ })
57025
+ ]),
57026
+ U("div", gOe, [
57027
+ g(k(vo), {
57028
+ link: "",
57029
+ class: "btn-item",
57030
+ onClick: h
57031
+ }, {
57032
+ default: ne(() => [...A[11] || (A[11] = [
57033
+ qe(" 复制ID+标题 ", -1)
57034
+ ])]),
57035
+ _: 1
57036
+ })
57037
+ ]),
57038
+ U("div", bOe, [
57039
+ g(k(vo), {
57040
+ link: "",
57041
+ class: "btn-item",
57042
+ onClick: y
57043
+ }, {
57044
+ default: ne(() => [...A[12] || (A[12] = [
57045
+ qe(" 跳转至父节点 ", -1)
57046
+ ])]),
57047
+ _: 1
57048
+ })
57049
+ ])
57050
57050
  ])
57051
- ])
57052
- ]),
57053
- _: 1
57054
- }, 8, ["disabled"]),
57051
+ ]),
57052
+ _: 1
57053
+ }, 8, ["disabled"])
57054
+ ], 8, cOe),
57055
57055
  U("div", {
57056
57056
  class: "workitem-left",
57057
57057
  onMousedown: Jv(E, ["stop"])
@@ -57085,7 +57085,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
57085
57085
  };
57086
57086
  }
57087
57087
  });
57088
- const wOe = /* @__PURE__ */ nt(_Oe, [["__scopeId", "data-v-8b9373c6"]]);
57088
+ const wOe = /* @__PURE__ */ nt(_Oe, [["__scopeId", "data-v-346ddc4a"]]);
57089
57089
  function COe(t, e) {
57090
57090
  if (!t || typeof t != "string")
57091
57091
  return e.nodeFromJSON({ type: "paragraph" });
@@ -63183,7 +63183,7 @@ const y5e = {
63183
63183
  },
63184
63184
  required: !1
63185
63185
  }
63186
- }), k5e = "mme-editor", x5e = "1.1.22", S5e = "module", O5e = "MME Editor is open-source document editor based on Vue3 and Tiptap. MME Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.", $5e = [
63186
+ }), k5e = "mme-editor", x5e = "1.1.24", S5e = "module", O5e = "MME Editor is open-source document editor based on Vue3 and Tiptap. MME Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.", $5e = [
63187
63187
  "mme editor",
63188
63188
  "document editor",
63189
63189
  "docs editor",