mme-editor 1.1.19 → 1.1.20

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 U5 } from "@eslint/object-schema";
118
118
  /**
119
- * mme-editor 1.1.19
119
+ * mme-editor 1.1.20
120
120
  * @license MIT
121
121
  * @author finthing http://www.finething.net
122
122
  * @see http://www.finething.net
@@ -56946,32 +56946,32 @@ const uOe = ["data-workitem-instid"], sOe = { class: "umo-node-workitem-inner" }
56946
56946
  ref: "wrapperRef",
56947
56947
  class: "umo-node-workitem-wrapper"
56948
56948
  }, T.attrs), {
56949
- default: te(() => {
56950
- var I, B, L;
56951
- return [
56952
- U("div", {
56953
- class: "umo-node-workitem",
56954
- ref_key: "containerRef",
56955
- ref: a,
56956
- "data-workitem-instid": T.node.attrs.workitemInstId,
56957
- onClick: w
56958
- }, [
56959
- U("div", sOe, [
56960
- U("div", cOe, [
56961
- g(k(V5), {
56962
- ref: "popoverRef",
56963
- trigger: "click",
56964
- placement: "bottom",
56965
- "popper-class": "custom-word-workitem-popover",
56966
- disabled: ((I = k(r).preview) == null ? void 0 : I.enabled) || ((B = k(e).document) == null ? void 0 : B.readOnly) || !((L = T.editor) != null && L.isEditable)
56967
- }, {
56968
- reference: te(() => [
56969
- g($, {
56970
- effect: "dark",
56971
- content: `${T.node.attrs.workitemType} - ${T.node.attrs.workitemId}`,
56972
- placement: "top"
56949
+ default: te(() => [
56950
+ U("div", {
56951
+ class: "umo-node-workitem",
56952
+ ref_key: "containerRef",
56953
+ ref: a,
56954
+ "data-workitem-instid": T.node.attrs.workitemInstId,
56955
+ onClick: w
56956
+ }, [
56957
+ U("div", sOe, [
56958
+ U("div", cOe, [
56959
+ g($, {
56960
+ effect: "dark",
56961
+ content: `${T.node.attrs.workitemType} - ${T.node.attrs.workitemId}`,
56962
+ placement: "top"
56963
+ }, {
56964
+ default: te(() => {
56965
+ var I, B, L;
56966
+ return [
56967
+ g(k(V5), {
56968
+ ref: "popoverRef",
56969
+ trigger: "click",
56970
+ placement: "bottom",
56971
+ "popper-class": "custom-word-workitem-popover",
56972
+ disabled: ((I = k(r).preview) == null ? void 0 : I.enabled) || ((B = k(e).document) == null ? void 0 : B.readOnly) || !((L = T.editor) != null && L.isEditable)
56973
56973
  }, {
56974
- default: te(() => [
56974
+ reference: te(() => [
56975
56975
  g(S, {
56976
56976
  onClick: A[0] || (A[0] = Jv(() => {
56977
56977
  }, ["stop"])),
@@ -56980,133 +56980,133 @@ const uOe = ["data-workitem-instid"], sOe = { class: "umo-node-workitem-inner" }
56980
56980
  style: { width: "14px", height: "14px", "min-width": "14px", margin: "3px 10px 0 0" }
56981
56981
  }, null, 8, ["icon-class"])
56982
56982
  ]),
56983
- _: 1
56984
- }, 8, ["content"])
56985
- ]),
56986
- default: te(() => [
56987
- U("div", dOe, [
56988
- U("div", vOe, [
56989
- g(k(vo), {
56990
- link: "",
56991
- class: "btn-item",
56992
- onClick: A[1] || (A[1] = (z) => b("node-openDetail"))
56993
- }, {
56994
- default: te(() => [...A[6] || (A[6] = [
56995
- qe("打开", -1)
56996
- ])]),
56997
- _: 1
56998
- })
56999
- ]),
57000
- U("div", fOe, [
57001
- g(k(vo), {
57002
- link: "",
57003
- class: "btn-item",
57004
- onClick: A[2] || (A[2] = (z) => b("up"))
57005
- }, {
57006
- default: te(() => [...A[7] || (A[7] = [
57007
- qe("新增至上方", -1)
57008
- ])]),
57009
- _: 1
57010
- })
57011
- ]),
57012
- U("div", mOe, [
57013
- g(k(vo), {
57014
- link: "",
57015
- class: "btn-item",
57016
- onClick: A[3] || (A[3] = (z) => b("down"))
57017
- }, {
57018
- default: te(() => [...A[8] || (A[8] = [
57019
- qe(" 新增至下方 ", -1)
57020
- ])]),
57021
- _: 1
57022
- })
57023
- ]),
57024
- U("div", pOe, [
57025
- g(k(vo), {
57026
- link: "",
57027
- class: "btn-item",
57028
- onClick: A[4] || (A[4] = (z) => b("children"))
57029
- }, {
57030
- default: te(() => [...A[9] || (A[9] = [
57031
- qe(" 新增至子节点 ", -1)
57032
- ])]),
57033
- _: 1
57034
- })
57035
- ]),
57036
- U("div", hOe, [
57037
- g(k(vo), {
57038
- link: "",
57039
- class: "btn-item",
57040
- onClick: p
57041
- }, {
57042
- default: te(() => [...A[10] || (A[10] = [
57043
- qe(" 复制ID ", -1)
57044
- ])]),
57045
- _: 1
57046
- })
57047
- ]),
57048
- U("div", gOe, [
57049
- g(k(vo), {
57050
- link: "",
57051
- class: "btn-item",
57052
- onClick: h
57053
- }, {
57054
- default: te(() => [...A[11] || (A[11] = [
57055
- qe(" 复制ID+标题 ", -1)
57056
- ])]),
57057
- _: 1
57058
- })
56983
+ default: te(() => [
56984
+ U("div", dOe, [
56985
+ U("div", vOe, [
56986
+ g(k(vo), {
56987
+ link: "",
56988
+ class: "btn-item",
56989
+ onClick: A[1] || (A[1] = (z) => b("node-openDetail"))
56990
+ }, {
56991
+ default: te(() => [...A[6] || (A[6] = [
56992
+ qe("打开", -1)
56993
+ ])]),
56994
+ _: 1
56995
+ })
56996
+ ]),
56997
+ U("div", fOe, [
56998
+ g(k(vo), {
56999
+ link: "",
57000
+ class: "btn-item",
57001
+ onClick: A[2] || (A[2] = (z) => b("up"))
57002
+ }, {
57003
+ default: te(() => [...A[7] || (A[7] = [
57004
+ qe("新增至上方", -1)
57005
+ ])]),
57006
+ _: 1
57007
+ })
57008
+ ]),
57009
+ U("div", mOe, [
57010
+ g(k(vo), {
57011
+ link: "",
57012
+ class: "btn-item",
57013
+ onClick: A[3] || (A[3] = (z) => b("down"))
57014
+ }, {
57015
+ default: te(() => [...A[8] || (A[8] = [
57016
+ qe(" 新增至下方 ", -1)
57017
+ ])]),
57018
+ _: 1
57019
+ })
57020
+ ]),
57021
+ U("div", pOe, [
57022
+ g(k(vo), {
57023
+ link: "",
57024
+ class: "btn-item",
57025
+ onClick: A[4] || (A[4] = (z) => b("children"))
57026
+ }, {
57027
+ default: te(() => [...A[9] || (A[9] = [
57028
+ qe(" 新增至子节点 ", -1)
57029
+ ])]),
57030
+ _: 1
57031
+ })
57032
+ ]),
57033
+ U("div", hOe, [
57034
+ g(k(vo), {
57035
+ link: "",
57036
+ class: "btn-item",
57037
+ onClick: p
57038
+ }, {
57039
+ default: te(() => [...A[10] || (A[10] = [
57040
+ qe(" 复制ID ", -1)
57041
+ ])]),
57042
+ _: 1
57043
+ })
57044
+ ]),
57045
+ U("div", gOe, [
57046
+ g(k(vo), {
57047
+ link: "",
57048
+ class: "btn-item",
57049
+ onClick: h
57050
+ }, {
57051
+ default: te(() => [...A[11] || (A[11] = [
57052
+ qe(" 复制ID+标题 ", -1)
57053
+ ])]),
57054
+ _: 1
57055
+ })
57056
+ ]),
57057
+ U("div", bOe, [
57058
+ g(k(vo), {
57059
+ link: "",
57060
+ class: "btn-item",
57061
+ onClick: y
57062
+ }, {
57063
+ default: te(() => [...A[12] || (A[12] = [
57064
+ qe(" 跳转至父节点 ", -1)
57065
+ ])]),
57066
+ _: 1
57067
+ })
57068
+ ])
57069
+ ])
57059
57070
  ]),
57060
- U("div", bOe, [
57061
- g(k(vo), {
57062
- link: "",
57063
- class: "btn-item",
57064
- onClick: y
57065
- }, {
57066
- default: te(() => [...A[12] || (A[12] = [
57067
- qe(" 跳转至父节点 ", -1)
57068
- ])]),
57069
- _: 1
57070
- })
57071
- ])
57072
- ])
57073
- ]),
57074
- _: 1
57075
- }, 8, ["disabled"]),
57076
- U("div", {
57077
- class: "workitem-left",
57078
- onMousedown: Jv(E, ["stop"])
57079
- }, [
57080
- U("span", yOe, [
57081
- U("span", null, pe(T.node.attrs.outline), 1),
57082
- A[13] || (A[13] = qe("   ", -1)),
57083
- U("span", {
57084
- onClick: A[5] || (A[5] = (z) => b("detail"))
57085
- }, pe(
57086
- // `${node.attrs?.workitemId} - ${node.attrs.workitemTitle}`
57087
- `${T.node.attrs.workitemTitle}`
57088
- ), 1)
57089
- ])
57090
- ], 32)
57091
- ]),
57071
+ _: 1
57072
+ }, 8, ["disabled"])
57073
+ ];
57074
+ }),
57075
+ _: 1
57076
+ }, 8, ["content"]),
57092
57077
  U("div", {
57093
- class: "content-area",
57094
- ref_key: "contentRef",
57095
- ref: o
57078
+ class: "workitem-left",
57079
+ onMousedown: Jv(E, ["stop"])
57096
57080
  }, [
57097
- g(k(pm))
57098
- ], 512)
57081
+ U("span", yOe, [
57082
+ U("span", null, pe(T.node.attrs.outline), 1),
57083
+ A[13] || (A[13] = qe("   ", -1)),
57084
+ U("span", {
57085
+ onClick: A[5] || (A[5] = (I) => b("detail"))
57086
+ }, pe(
57087
+ // `${node.attrs?.workitemId} - ${node.attrs.workitemTitle}`
57088
+ `${T.node.attrs.workitemTitle}`
57089
+ ), 1)
57090
+ ])
57091
+ ], 32)
57099
57092
  ]),
57100
- A[14] || (A[14] = U("div", { class: "umo-node-workitem-bottom" }, null, -1))
57101
- ], 8, uOe)
57102
- ];
57103
- }),
57093
+ U("div", {
57094
+ class: "content-area",
57095
+ ref_key: "contentRef",
57096
+ ref: o
57097
+ }, [
57098
+ g(k(pm))
57099
+ ], 512)
57100
+ ]),
57101
+ A[14] || (A[14] = U("div", { class: "umo-node-workitem-bottom" }, null, -1))
57102
+ ], 8, uOe)
57103
+ ]),
57104
57104
  _: 1
57105
57105
  }, 16, ["id"]);
57106
57106
  };
57107
57107
  }
57108
57108
  });
57109
- const wOe = /* @__PURE__ */ nt(_Oe, [["__scopeId", "data-v-fd46961f"]]);
57109
+ const wOe = /* @__PURE__ */ nt(_Oe, [["__scopeId", "data-v-b93e17da"]]);
57110
57110
  function COe(t, e) {
57111
57111
  if (!t || typeof t != "string")
57112
57112
  return e.nodeFromJSON({ type: "paragraph" });
@@ -63192,7 +63192,7 @@ const y5e = {
63192
63192
  },
63193
63193
  required: !1
63194
63194
  }
63195
- }), k5e = "mme-editor", x5e = "1.1.19", 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 = [
63195
+ }), k5e = "mme-editor", x5e = "1.1.20", 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 = [
63196
63196
  "mme editor",
63197
63197
  "document editor",
63198
63198
  "docs editor",