eeed-editor 0.1.21 → 0.1.22

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.
Files changed (150) hide show
  1. package/dist/{_basePickBy-CGVRqgOm.mjs → _basePickBy-DgE8zpGq.mjs} +2 -2
  2. package/dist/{_baseUniq-IS9Cj2rn.mjs → _baseUniq-CRXOasAx.mjs} +1 -1
  3. package/dist/{arc-DankigTh.mjs → arc-C7kJ7Tfo.mjs} +1 -1
  4. package/dist/{architecture-U656AL7Q-5biwZGDE.mjs → architecture-U656AL7Q-CdkzC0jS.mjs} +1 -1
  5. package/dist/{architectureDiagram-VXUJARFQ-Br-8uK8I.mjs → architectureDiagram-VXUJARFQ-CSFO0Vh8.mjs} +4 -4
  6. package/dist/{blockDiagram-VD42YOAC-B4MyEiq8.mjs → blockDiagram-VD42YOAC-CBz9vAqt.mjs} +5 -5
  7. package/dist/{c4Diagram-YG6GDRKO-tJzb05kk.mjs → c4Diagram-YG6GDRKO-VLQK6Th2.mjs} +2 -2
  8. package/dist/{channel-2ySntnG9.mjs → channel-C7_24yZP.mjs} +1 -1
  9. package/dist/{chunk-4BX2VUAB-Coig6jad.mjs → chunk-4BX2VUAB-DJtc_Abj.mjs} +1 -1
  10. package/dist/{chunk-55IACEB6-Cmeb-FNn.mjs → chunk-55IACEB6-CCiFqlja.mjs} +1 -1
  11. package/dist/{chunk-B4BG7PRW-Bk-M3nXY.mjs → chunk-B4BG7PRW-DOr2GLUF.mjs} +4 -4
  12. package/dist/{chunk-DI55MBZ5-Cia8V-nx.mjs → chunk-DI55MBZ5-BEvpdwck.mjs} +3 -3
  13. package/dist/{chunk-FMBD7UC4-C8lKgdkr.mjs → chunk-FMBD7UC4-CRogxQpt.mjs} +1 -1
  14. package/dist/{chunk-QN33PNHL-ChUV-qir.mjs → chunk-QN33PNHL-CNYaHOys.mjs} +1 -1
  15. package/dist/{chunk-QZHKN3VN-DDR1kUfj.mjs → chunk-QZHKN3VN-DiidQRzB.mjs} +1 -1
  16. package/dist/{chunk-TZMSLE5B-DFBScrrV.mjs → chunk-TZMSLE5B-Dn7Txa5W.mjs} +1 -1
  17. package/dist/{classDiagram-v2-WZHVMYZB-VaJrNMnU.mjs → classDiagram-2ON5EDUG-DHaBhZYZ.mjs} +2 -2
  18. package/dist/{classDiagram-2ON5EDUG-VaJrNMnU.mjs → classDiagram-v2-WZHVMYZB-DHaBhZYZ.mjs} +2 -2
  19. package/dist/{clone-IHZgOw9x.mjs → clone-C-EZssvn.mjs} +1 -1
  20. package/dist/{cose-bilkent-S5V4N54A-Df512XhW.mjs → cose-bilkent-S5V4N54A-YOWIyEGs.mjs} +2 -2
  21. package/dist/{dagre-6UL2VRFP-Da0At9pp.mjs → dagre-6UL2VRFP-CXEwXvtY.mjs} +6 -6
  22. package/dist/{diagram-PSM6KHXK-oCORGCC1.mjs → diagram-PSM6KHXK-Cnb2roTC.mjs} +4 -4
  23. package/dist/{diagram-QEK2KX5R-C-srJHCR.mjs → diagram-QEK2KX5R-xCTSF9RS.mjs} +3 -3
  24. package/dist/{diagram-S2PKOQOG-CgudNnJ5.mjs → diagram-S2PKOQOG-DhtNxaIk.mjs} +3 -3
  25. package/dist/eeed-editor.es.js +2 -2
  26. package/dist/eeed-editor.umd.js +409 -408
  27. package/dist/{erDiagram-Q2GNP2WA-B6zergzU.mjs → erDiagram-Q2GNP2WA-B6aCwOnu.mjs} +4 -4
  28. package/dist/{flowDiagram-NV44I4VS-SVPNUbqp.mjs → flowDiagram-NV44I4VS-4K54gzsx.mjs} +5 -5
  29. package/dist/{ganttDiagram-LVOFAZNH-D9l0XSTJ.mjs → ganttDiagram-LVOFAZNH-CN-3y49S.mjs} +3 -3
  30. package/dist/{gitGraph-F6HP7TQM-D7EEftyo.mjs → gitGraph-F6HP7TQM-DNr3i4aM.mjs} +1 -1
  31. package/dist/{gitGraphDiagram-NY62KEGX-56DzA3gG.mjs → gitGraphDiagram-NY62KEGX-BMuis3bp.mjs} +4 -4
  32. package/dist/{graph-C4J8bGQQ.mjs → graph-Da2uOrcG.mjs} +2 -2
  33. package/dist/{index-CuA9Cc8N.mjs → index-DtMs2ESx.mjs} +6256 -6182
  34. package/dist/index.css +1 -1
  35. package/dist/info-NVLQJR56-BY3nHsP8.mjs +5 -0
  36. package/dist/{infoDiagram-ER5ION4S-DouR0rQD.mjs → infoDiagram-ER5ION4S-Bu15EY6E.mjs} +2 -2
  37. package/dist/{journeyDiagram-XKPGCS4Q-BST96yRm.mjs → journeyDiagram-XKPGCS4Q-DX1PQwLL.mjs} +4 -4
  38. package/dist/{kanban-definition-3W4ZIXB7-Db2nK2RK.mjs → kanban-definition-3W4ZIXB7-ByYiRhCL.mjs} +2 -2
  39. package/dist/{layout-B9lF_J_F.mjs → layout-M_Jw4h6-.mjs} +4 -4
  40. package/dist/{linear-Ct2cJHDp.mjs → linear-CKtmvOWD.mjs} +1 -1
  41. package/dist/{mermaid-parser.core-DQgr4omO.mjs → mermaid-parser.core-UGNbMvDJ.mjs} +11 -11
  42. package/dist/{mermaid.core-C6Rusbv5.mjs → mermaid.core-CYst3gzx.mjs} +30 -30
  43. package/dist/{mindmap-definition-VGOIOE7T-B7aIJHLd.mjs → mindmap-definition-VGOIOE7T-5d1mM-XQ.mjs} +3 -3
  44. package/dist/{packet-BFZMPI3H-BRzK2gnh.mjs → packet-BFZMPI3H-DoHRP1Ev.mjs} +1 -1
  45. package/dist/pie-7BOR55EZ-C3T8EmTi.mjs +5 -0
  46. package/dist/{pieDiagram-ADFJNKIX--j3lM5h4.mjs → pieDiagram-ADFJNKIX-CQ0wCLPt.mjs} +4 -4
  47. package/dist/{quadrantDiagram-AYHSOK5B-B1FM-uym.mjs → quadrantDiagram-AYHSOK5B-lJub1MYt.mjs} +2 -2
  48. package/dist/{radar-NHE76QYJ-CnB1UoTk.mjs → radar-NHE76QYJ-nVkAhoR4.mjs} +1 -1
  49. package/dist/{requirementDiagram-UZGBJVZJ-BJyy5400.mjs → requirementDiagram-UZGBJVZJ-Oe8FCxUF.mjs} +3 -3
  50. package/dist/{sankeyDiagram-TZEHDZUN-CD2ioO22.mjs → sankeyDiagram-TZEHDZUN-Csih2NgQ.mjs} +1 -1
  51. package/dist/{sequenceDiagram-WL72ISMW-0q1aZ3GC.mjs → sequenceDiagram-WL72ISMW-Bcf7Z5Os.mjs} +3 -3
  52. package/dist/{stateDiagram-FKZM4ZOC-BAZYHxCH.mjs → stateDiagram-FKZM4ZOC-Dc8ImdwQ.mjs} +4 -4
  53. package/dist/{stateDiagram-v2-4FDKWEC3-DSkSe7Zh.mjs → stateDiagram-v2-4FDKWEC3-C1yo7dD3.mjs} +2 -2
  54. package/dist/{timeline-definition-IT6M3QCI-CWraGyQn.mjs → timeline-definition-IT6M3QCI-BPLIiGs-.mjs} +2 -2
  55. package/dist/{treemap-KMMF4GRG-C9GufmaY.mjs → treemap-KMMF4GRG-BhzEOuxi.mjs} +1 -1
  56. package/dist/{xychartDiagram-PRI3JC2R-B93pW2Bh.mjs → xychartDiagram-PRI3JC2R-C7l7T9Kk.mjs} +2 -2
  57. package/package.json +1 -1
  58. package/dist/info-NVLQJR56-DfPFeOtw.mjs +0 -5
  59. package/dist/pie-7BOR55EZ-DqRg7nlP.mjs +0 -5
  60. package/dist/src/components/CustomImageComponent.vue.d.ts +0 -7
  61. package/dist/src/components/Dialog.vue.d.ts +0 -32
  62. package/dist/src/components/Dropdown.vue.d.ts +0 -26
  63. package/dist/src/components/KaTeXRender.vue.d.ts +0 -14
  64. package/dist/src/components/Lodding.vue.d.ts +0 -48
  65. package/dist/src/components/MathLiveModal.vue.d.ts +0 -25
  66. package/dist/src/components/MermaidNodeView.vue.d.ts +0 -96
  67. package/dist/src/components/Message.vue.d.ts +0 -11
  68. package/dist/src/components/Tooltip.vue.d.ts +0 -7
  69. package/dist/src/constants/colorOptions.d.ts +0 -95
  70. package/dist/src/constants/fontOptions.d.ts +0 -136
  71. package/dist/src/constants/index.d.ts +0 -2
  72. package/dist/src/extensions/CodeBlockWithSelect.d.ts +0 -1
  73. package/dist/src/extensions/CustomImage.d.ts +0 -1
  74. package/dist/src/extensions/FontFamily.d.ts +0 -10
  75. package/dist/src/extensions/FontSize.d.ts +0 -13
  76. package/dist/src/extensions/HeadingWithId.d.ts +0 -12
  77. package/dist/src/extensions/Indent.d.ts +0 -22
  78. package/dist/src/extensions/InlineCode.d.ts +0 -2
  79. package/dist/src/extensions/KatexFormula.d.ts +0 -2
  80. package/dist/src/extensions/LineHeight.d.ts +0 -2
  81. package/dist/src/extensions/MermaidNode.d.ts +0 -12
  82. package/dist/src/extensions/MessageBox.d.ts +0 -13
  83. package/dist/src/extensions/TableExtension.d.ts +0 -1
  84. package/dist/src/extensions/TextIndent.d.ts +0 -23
  85. package/dist/src/extensions/WordCount.d.ts +0 -7
  86. package/dist/src/extensions/list/BulletItem.d.ts +0 -12
  87. package/dist/src/extensions/list/OrderedItem.d.ts +0 -13
  88. package/dist/src/extensions/list/OrderedItemBack.d.ts +0 -13
  89. package/dist/src/extensions/list/OrderedItemMark.d.ts +0 -2
  90. package/dist/src/extensions/list/TaskItem.d.ts +0 -14
  91. package/dist/src/icons/HamburgerButton.vue.d.ts +0 -6
  92. package/dist/src/icons/IconBack.vue.d.ts +0 -6
  93. package/dist/src/icons/IconBeijingse.vue.d.ts +0 -6
  94. package/dist/src/icons/IconBingtu.vue.d.ts +0 -6
  95. package/dist/src/icons/IconChazhaoTihuan.vue.d.ts +0 -6
  96. package/dist/src/icons/IconChexiao.vue.d.ts +0 -6
  97. package/dist/src/icons/IconCode.vue.d.ts +0 -6
  98. package/dist/src/icons/IconCodeInLine.vue.d.ts +0 -6
  99. package/dist/src/icons/IconCut.vue.d.ts +0 -6
  100. package/dist/src/icons/IconDaochu.vue.d.ts +0 -6
  101. package/dist/src/icons/IconDocAdd.vue.d.ts +0 -6
  102. package/dist/src/icons/IconDocx.vue.d.ts +0 -6
  103. package/dist/src/icons/IconEditPen.vue.d.ts +0 -6
  104. package/dist/src/icons/IconFace.vue.d.ts +0 -6
  105. package/dist/src/icons/IconFengexian.vue.d.ts +0 -6
  106. package/dist/src/icons/IconFormula.vue.d.ts +0 -6
  107. package/dist/src/icons/IconGeshishua.vue.d.ts +0 -6
  108. package/dist/src/icons/IconHangjianju.vue.d.ts +0 -6
  109. package/dist/src/icons/IconHome.vue.d.ts +0 -6
  110. package/dist/src/icons/IconHuifu.vue.d.ts +0 -6
  111. package/dist/src/icons/IconImage.vue.d.ts +0 -6
  112. package/dist/src/icons/IconJiacu.vue.d.ts +0 -6
  113. package/dist/src/icons/IconJiahao.vue.d.ts +0 -6
  114. package/dist/src/icons/IconJianshaoSuojin.vue.d.ts +0 -6
  115. package/dist/src/icons/IconJuyou.vue.d.ts +0 -6
  116. package/dist/src/icons/IconJuzhong.vue.d.ts +0 -6
  117. package/dist/src/icons/IconJuzuo.vue.d.ts +0 -6
  118. package/dist/src/icons/IconLeftArrow.vue.d.ts +0 -6
  119. package/dist/src/icons/IconLink.vue.d.ts +0 -6
  120. package/dist/src/icons/IconLiuchengtu.vue.d.ts +0 -6
  121. package/dist/src/icons/IconMermaid.vue.d.ts +0 -6
  122. package/dist/src/icons/IconMoreShu.vue.d.ts +0 -6
  123. package/dist/src/icons/IconPdf.vue.d.ts +0 -6
  124. package/dist/src/icons/IconQingchu.vue.d.ts +0 -6
  125. package/dist/src/icons/IconRengwuliebiao.vue.d.ts +0 -6
  126. package/dist/src/icons/IconShanchuxian.vue.d.ts +0 -6
  127. package/dist/src/icons/IconShap.vue.d.ts +0 -6
  128. package/dist/src/icons/IconShouqi.vue.d.ts +0 -6
  129. package/dist/src/icons/IconShouqiJiantou.vue.d.ts +0 -6
  130. package/dist/src/icons/IconTable.vue.d.ts +0 -6
  131. package/dist/src/icons/IconWuxuliebiao.vue.d.ts +0 -6
  132. package/dist/src/icons/IconXiahuaxian.vue.d.ts +0 -6
  133. package/dist/src/icons/IconXiazai.vue.d.ts +0 -6
  134. package/dist/src/icons/IconXieti.vue.d.ts +0 -6
  135. package/dist/src/icons/IconYingyong.vue.d.ts +0 -6
  136. package/dist/src/icons/IconYouxuliebiao.vue.d.ts +0 -6
  137. package/dist/src/icons/IconZengjiaSuojin.vue.d.ts +0 -6
  138. package/dist/src/icons/IconZhankai.vue.d.ts +0 -6
  139. package/dist/src/icons/IconZhankaiJiantou.vue.d.ts +0 -6
  140. package/dist/src/icons/IconZitiYanse.vue.d.ts +0 -6
  141. package/dist/src/icons/ImageUpload.vue.d.ts +0 -6
  142. package/dist/src/index.vue.d.ts +0 -86
  143. package/dist/src/utils/html-to-docx/dealHtmlImageToDocxImage.d.ts +0 -7
  144. package/dist/src/utils/html-to-docx/parseJSONToHtml.d.ts +0 -13
  145. package/dist/src/utils/htmlToMarkdown.d.ts +0 -1
  146. package/dist/src/utils/isHeading.d.ts +0 -8
  147. package/dist/src/utils/loadKatexStyle.d.ts +0 -1
  148. package/dist/src/utils/parseDocumentToKnowledgeTree.d.ts +0 -30
  149. package/dist/src/utils/utils.d.ts +0 -1
  150. package/dist/src/utils.d.ts +0 -3
@@ -1,7 +1,7 @@
1
- import { a4 as S, a7 as F, aG as j, _ as p, g as q, s as H, a as Z, b as J, q as K, p as Q, l as z, c as X, D as Y, H as ee, N as te, e as ae, y as re, F as ne } from "./mermaid.core-C6Rusbv5.mjs";
2
- import { p as ie } from "./chunk-4BX2VUAB-Coig6jad.mjs";
3
- import { p as se } from "./mermaid-parser.core-DQgr4omO.mjs";
4
- import { d as I } from "./arc-DankigTh.mjs";
1
+ import { a4 as S, a7 as F, aG as j, _ as p, g as q, s as H, a as Z, b as J, q as K, p as Q, l as z, c as X, D as Y, H as ee, N as te, e as ae, y as re, F as ne } from "./mermaid.core-CYst3gzx.mjs";
2
+ import { p as ie } from "./chunk-4BX2VUAB-DJtc_Abj.mjs";
3
+ import { p as se } from "./mermaid-parser.core-UGNbMvDJ.mjs";
4
+ import { d as I } from "./arc-C7kJ7Tfo.mjs";
5
5
  import { o as le } from "./ordinal-C0oynhte.mjs";
6
6
  function oe(e, a) {
7
7
  return a < e ? -1 : a > e ? 1 : a >= e ? 0 : NaN;
@@ -1,5 +1,5 @@
1
- import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as wt, l as At, d as zt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./mermaid.core-C6Rusbv5.mjs";
2
- import { l as ee } from "./linear-Ct2cJHDp.mjs";
1
+ import { _ as o, s as _e, g as Ae, q as ie, p as ke, a as Fe, b as Pe, c as wt, l as At, d as zt, e as ve, y as Ce, F as D, K as Le, i as Ee } from "./mermaid.core-CYst3gzx.mjs";
2
+ import { l as ee } from "./linear-CKtmvOWD.mjs";
3
3
  var Vt = function() {
4
4
  var t = /* @__PURE__ */ o(function(j, r, l, g) {
5
5
  for (l = l || {}, g = j.length; g--; l[j[g]] = r) ;
@@ -1,4 +1,4 @@
1
- import { R as r, g as d } from "./mermaid-parser.core-DQgr4omO.mjs";
1
+ import { R as r, g as d } from "./mermaid-parser.core-UGNbMvDJ.mjs";
2
2
  export {
3
3
  r as RadarModule,
4
4
  d as createRadarServices
@@ -1,6 +1,6 @@
1
- import { g as Ge } from "./chunk-55IACEB6-Cmeb-FNn.mjs";
2
- import { s as ze } from "./chunk-QN33PNHL-ChUV-qir.mjs";
3
- import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./mermaid.core-C6Rusbv5.mjs";
1
+ import { g as Ge } from "./chunk-55IACEB6-CCiFqlja.mjs";
2
+ import { s as ze } from "./chunk-QN33PNHL-CNYaHOys.mjs";
3
+ import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./mermaid.core-CYst3gzx.mjs";
4
4
  var Ae = function() {
5
5
  var e = /* @__PURE__ */ f(function(P, i, r, l) {
6
6
  for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
@@ -1,4 +1,4 @@
1
- import { _ as p, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./mermaid.core-C6Rusbv5.mjs";
1
+ import { _ as p, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./mermaid.core-CYst3gzx.mjs";
2
2
  import { o as Mt } from "./ordinal-C0oynhte.mjs";
3
3
  function Nt(t) {
4
4
  for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);
@@ -1,6 +1,6 @@
1
- import { a as we, b as Xt, g as ct, d as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-DFBScrrV.mjs";
2
- import { _ as f, n as Ie, c as st, d as St, l as Q, j as re, e as Le, f as _e, k as I, b as se, s as Ae, p as ke, a as Pe, g as Ne, q as Se, t as Me, J as Re, y as De, i as Mt, u as F, L as z, M as _t, N as ie, Z as Ce, O as Oe, P as ne, E as Ht } from "./mermaid.core-C6Rusbv5.mjs";
3
- import { I as Be } from "./chunk-QZHKN3VN-DDR1kUfj.mjs";
1
+ import { a as we, b as Xt, g as ct, d as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B-Dn7Txa5W.mjs";
2
+ import { _ as f, n as Ie, c as st, d as St, l as Q, j as re, e as Le, f as _e, k as I, b as se, s as Ae, p as ke, a as Pe, g as Ne, q as Se, t as Me, J as Re, y as De, i as Mt, u as F, L as z, M as _t, N as ie, Z as Ce, O as Oe, P as ne, E as Ht } from "./mermaid.core-CYst3gzx.mjs";
3
+ import { I as Be } from "./chunk-QZHKN3VN-DiidQRzB.mjs";
4
4
  var Ut = function() {
5
5
  var e = /* @__PURE__ */ f(function(pt, v, A, L) {
6
6
  for (A = A || {}, L = pt.length; L--; A[pt[L]] = v) ;
@@ -1,7 +1,7 @@
1
- import { s as G, a as W, S as N } from "./chunk-DI55MBZ5-Cia8V-nx.mjs";
2
- import { _ as f, c as t, d as H, l as S, e as P, k as z, R as _, S as U, O as C, u as F } from "./mermaid.core-C6Rusbv5.mjs";
3
- import { G as O } from "./graph-C4J8bGQQ.mjs";
4
- import { l as J } from "./layout-B9lF_J_F.mjs";
1
+ import { s as G, a as W, S as N } from "./chunk-DI55MBZ5-BEvpdwck.mjs";
2
+ import { _ as f, c as t, d as H, l as S, e as P, k as z, R as _, S as U, O as C, u as F } from "./mermaid.core-CYst3gzx.mjs";
3
+ import { G as O } from "./graph-Da2uOrcG.mjs";
4
+ import { l as J } from "./layout-M_Jw4h6-.mjs";
5
5
  var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), D = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), Y = /* @__PURE__ */ f((e, i) => {
6
6
  const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
7
7
  return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
@@ -1,5 +1,5 @@
1
- import { s as a, b as t, a as r, S as s } from "./chunk-DI55MBZ5-Cia8V-nx.mjs";
2
- import { _ as i } from "./mermaid.core-C6Rusbv5.mjs";
1
+ import { s as a, b as t, a as r, S as s } from "./chunk-DI55MBZ5-BEvpdwck.mjs";
2
+ import { _ as i } from "./mermaid.core-CYst3gzx.mjs";
3
3
  var _ = {
4
4
  parser: r,
5
5
  get db() {
@@ -1,5 +1,5 @@
1
- import { _ as s, c as xt, l as E, d as q, V as kt, W as vt, X as _t, Y as bt, B as wt, $ as St, y as Et } from "./mermaid.core-C6Rusbv5.mjs";
2
- import { d as nt } from "./arc-DankigTh.mjs";
1
+ import { _ as s, c as xt, l as E, d as q, V as kt, W as vt, X as _t, Y as bt, B as wt, $ as St, y as Et } from "./mermaid.core-CYst3gzx.mjs";
2
+ import { d as nt } from "./arc-C7kJ7Tfo.mjs";
3
3
  var X = function() {
4
4
  var n = /* @__PURE__ */ s(function(f, r, a, h) {
5
5
  for (a = a || {}, h = f.length; h--; a[f[h]] = r) ;
@@ -1,4 +1,4 @@
1
- import { T as a, h as m } from "./mermaid-parser.core-DQgr4omO.mjs";
1
+ import { T as a, h as m } from "./mermaid-parser.core-UGNbMvDJ.mjs";
2
2
  export {
3
3
  a as TreemapModule,
4
4
  m as createTreemapServices
@@ -1,7 +1,7 @@
1
- import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aF as Si, R as Wt } from "./mermaid.core-C6Rusbv5.mjs";
1
+ import { _ as a, s as gi, g as xi, q as Xt, p as di, a as fi, b as pi, l as Nt, H as mi, e as yi, y as bi, E as St, D as Yt, F as Ai, K as wi, i as Ci, aF as Si, R as Wt } from "./mermaid.core-CYst3gzx.mjs";
2
2
  import { i as _i } from "./init-DjUOC4st.mjs";
3
3
  import { o as ki } from "./ordinal-C0oynhte.mjs";
4
- import { l as zt } from "./linear-Ct2cJHDp.mjs";
4
+ import { l as zt } from "./linear-CKtmvOWD.mjs";
5
5
  function Ri(e, t, i) {
6
6
  e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
7
7
  for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eeed-editor",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "基于Vue3 + Tiptap的极简富文本编辑器",
5
5
  "main": "dist/eeed-editor.umd.js",
6
6
  "module": "dist/eeed-editor.es.js",
@@ -1,5 +0,0 @@
1
- import { I as r, c as a } from "./mermaid-parser.core-DQgr4omO.mjs";
2
- export {
3
- r as InfoModule,
4
- a as createInfoServices
5
- };
@@ -1,5 +0,0 @@
1
- import { b as a, d as i } from "./mermaid-parser.core-DQgr4omO.mjs";
2
- export {
3
- a as PieModule,
4
- i as createPieServices
5
- };
@@ -1,7 +0,0 @@
1
- import { NodeViewProps } from '@tiptap/vue-3';
2
- declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
3
- containerRef: HTMLDivElement;
4
- imageRef: HTMLImageElement;
5
- previewImg: HTMLImageElement;
6
- }, any>;
7
- export default _default;
@@ -1,32 +0,0 @@
1
- type __VLS_Props = {
2
- title: string;
3
- visible: boolean;
4
- onClose?: () => void;
5
- onConfirm?: () => void;
6
- width?: number;
7
- top?: string;
8
- isFooter?: boolean;
9
- };
10
- declare function __VLS_template(): {
11
- attrs: Partial<{}>;
12
- slots: {
13
- header?(_: {}): any;
14
- default?(_: {}): any;
15
- footer?(_: {}): any;
16
- };
17
- refs: {};
18
- rootEl: any;
19
- };
20
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
22
- "update:visible": (visible: boolean) => any;
23
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
- export default _default;
28
- type __VLS_WithTemplateSlots<T, S> = T & {
29
- new (): {
30
- $slots: S;
31
- };
32
- };
@@ -1,26 +0,0 @@
1
- interface Props {
2
- target: HTMLElement | null;
3
- visible: boolean;
4
- minWidth?: number;
5
- }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: any;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- close: () => any;
17
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
18
- onClose?: (() => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
- export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,14 +0,0 @@
1
- interface Props {
2
- formula: string;
3
- display?: boolean;
4
- editable?: boolean;
5
- onUpdateFormula?: (newFormula: string) => void;
6
- }
7
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
8
- display: boolean;
9
- editable: boolean;
10
- onUpdateFormula: (newFormula: string) => void;
11
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
- container: HTMLSpanElement;
13
- }, any>;
14
- export default _default;
@@ -1,48 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- visible: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- text: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- fullscreen: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- background: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {
19
- show: () => void;
20
- hide: () => void;
21
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- "update:visible": (...args: any[]) => void;
23
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
- visible: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- text: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- fullscreen: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- background: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- }>> & Readonly<{
41
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
42
- }>, {
43
- text: string;
44
- visible: boolean;
45
- fullscreen: boolean;
46
- background: string;
47
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
- export default _default;
@@ -1,25 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- visible: BooleanConstructor;
3
- latex: {
4
- type: StringConstructor;
5
- default: string;
6
- };
7
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- cancel: (...args: any[]) => void;
9
- save: (...args: any[]) => void;
10
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
- visible: BooleanConstructor;
12
- latex: {
13
- type: StringConstructor;
14
- default: string;
15
- };
16
- }>> & Readonly<{
17
- onCancel?: ((...args: any[]) => any) | undefined;
18
- onSave?: ((...args: any[]) => any) | undefined;
19
- }>, {
20
- visible: boolean;
21
- latex: string;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
23
- mathfield: unknown;
24
- }, any>;
25
- export default _default;
@@ -1,96 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- editor: {
3
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
4
- required: true;
5
- };
6
- node: {
7
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
8
- required: true;
9
- };
10
- decorations: {
11
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
12
- required: true;
13
- };
14
- selected: {
15
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
16
- required: true;
17
- };
18
- extension: {
19
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
20
- required: true;
21
- };
22
- getPos: {
23
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
24
- required: true;
25
- };
26
- updateAttributes: {
27
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
28
- required: true;
29
- };
30
- deleteNode: {
31
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
32
- required: true;
33
- };
34
- view: {
35
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
36
- required: true;
37
- };
38
- innerDecorations: {
39
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
40
- required: true;
41
- };
42
- HTMLAttributes: {
43
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
44
- required: true;
45
- };
46
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- editor: {
48
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["editor"]>;
49
- required: true;
50
- };
51
- node: {
52
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["node"]>;
53
- required: true;
54
- };
55
- decorations: {
56
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["decorations"]>;
57
- required: true;
58
- };
59
- selected: {
60
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["selected"]>;
61
- required: true;
62
- };
63
- extension: {
64
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["extension"]>;
65
- required: true;
66
- };
67
- getPos: {
68
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["getPos"]>;
69
- required: true;
70
- };
71
- updateAttributes: {
72
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["updateAttributes"]>;
73
- required: true;
74
- };
75
- deleteNode: {
76
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["deleteNode"]>;
77
- required: true;
78
- };
79
- view: {
80
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["view"]>;
81
- required: true;
82
- };
83
- innerDecorations: {
84
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["innerDecorations"]>;
85
- required: true;
86
- };
87
- HTMLAttributes: {
88
- type: import('vue').PropType<import('@tiptap/core').NodeViewProps["HTMLAttributes"]>;
89
- required: true;
90
- };
91
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
92
- mermaidNodeViewWrapperRef: HTMLDivElement;
93
- mermaidRef: HTMLDivElement;
94
- toolRef: HTMLDivElement;
95
- }, any>;
96
- export default _default;
@@ -1,11 +0,0 @@
1
- type __VLS_Props = {
2
- message: string;
3
- messageType: "success" | "error" | "info" | "warning";
4
- duration: number;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- close: () => any;
8
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onClose?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
- export default _default;
@@ -1,7 +0,0 @@
1
- interface Props {
2
- target: HTMLElement | null;
3
- text: string;
4
- visible: boolean;
5
- }
6
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
- export default _default;
@@ -1,95 +0,0 @@
1
- /**
2
- * 字体颜色选项配置
3
- */
4
- export declare const FONT_COLOR_OPTIONS: readonly [{
5
- readonly label: "黑色";
6
- readonly color: "#000000";
7
- }, {
8
- readonly label: "深灰";
9
- readonly color: "#374151";
10
- }, {
11
- readonly label: "灰色";
12
- readonly color: "#6b7280";
13
- }, {
14
- readonly label: "银色";
15
- readonly color: "#9ca3af";
16
- }, {
17
- readonly label: "红色";
18
- readonly color: "#f87171";
19
- }, {
20
- readonly label: "深红";
21
- readonly color: "#dc2626";
22
- }, {
23
- readonly label: "橙色";
24
- readonly color: "#fb923c";
25
- }, {
26
- readonly label: "金色";
27
- readonly color: "#f59e0b";
28
- }, {
29
- readonly label: "黄色";
30
- readonly color: "#facc15";
31
- }, {
32
- readonly label: "绿色";
33
- readonly color: "#22c55e";
34
- }, {
35
- readonly label: "深绿";
36
- readonly color: "#15803d";
37
- }, {
38
- readonly label: "青色";
39
- readonly color: "#06b6d4";
40
- }, {
41
- readonly label: "天蓝";
42
- readonly color: "#38bdf8";
43
- }, {
44
- readonly label: "蓝色";
45
- readonly color: "#3b82f6";
46
- }, {
47
- readonly label: "深蓝";
48
- readonly color: "#1e40af";
49
- }, {
50
- readonly label: "紫色";
51
- readonly color: "#8b5cf6";
52
- }, {
53
- readonly label: "粉色";
54
- readonly color: "#ec4899";
55
- }, {
56
- readonly label: "玫红";
57
- readonly color: "#be185d";
58
- }];
59
- /**
60
- * 高亮颜色选项配置
61
- */
62
- export declare const HIGHLIGHT_COLOR_OPTIONS: readonly [{
63
- readonly label: "黄色";
64
- readonly color: "#fff59d";
65
- }, {
66
- readonly label: "橙色";
67
- readonly color: "#ffcc80";
68
- }, {
69
- readonly label: "绿色";
70
- readonly color: "#a5d6a7";
71
- }, {
72
- readonly label: "蓝色";
73
- readonly color: "#90caf9";
74
- }, {
75
- readonly label: "粉色";
76
- readonly color: "#f48fb1";
77
- }, {
78
- readonly label: "灰色";
79
- readonly color: "#eeeeee";
80
- }, {
81
- readonly label: "紫色";
82
- readonly color: "#ce93d8";
83
- }, {
84
- readonly label: "红色";
85
- readonly color: "#ef9a9a";
86
- }, {
87
- readonly label: "青绿";
88
- readonly color: "#80cbc4";
89
- }, {
90
- readonly label: "淡青";
91
- readonly color: "#b3e5fc";
92
- }, {
93
- readonly label: "米黄";
94
- readonly color: "#fff9c4";
95
- }];
@@ -1,136 +0,0 @@
1
- /**
2
- * 字体大小选项配置
3
- */
4
- export declare const FONT_SIZE_OPTIONS: readonly [{
5
- readonly label: "初号";
6
- readonly value: "42px";
7
- }, {
8
- readonly label: "小初";
9
- readonly value: "36px";
10
- }, {
11
- readonly label: "一号";
12
- readonly value: "26px";
13
- }, {
14
- readonly label: "小一";
15
- readonly value: "24px";
16
- }, {
17
- readonly label: "二号";
18
- readonly value: "22px";
19
- }, {
20
- readonly label: "小二";
21
- readonly value: "18px";
22
- }, {
23
- readonly label: "三号";
24
- readonly value: "16px";
25
- }, {
26
- readonly label: "小三";
27
- readonly value: "15px";
28
- }, {
29
- readonly label: "四号";
30
- readonly value: "14px";
31
- }, {
32
- readonly label: "小四";
33
- readonly value: "12px";
34
- }, {
35
- readonly label: "五号";
36
- readonly value: "10.5px";
37
- }, {
38
- readonly label: "小五";
39
- readonly value: "9px";
40
- }, {
41
- readonly label: "六号";
42
- readonly value: "7.5px";
43
- }];
44
- /**
45
- * 字体家族选项配置
46
- */
47
- export declare const FONT_FAMILY_OPTIONS: readonly [{
48
- readonly label: "默认";
49
- readonly value: "";
50
- }, {
51
- readonly label: "宋体";
52
- readonly value: "SimSun";
53
- }, {
54
- readonly label: "黑体";
55
- readonly value: "SimHei";
56
- }, {
57
- readonly label: "微软雅黑";
58
- readonly value: "Microsoft YaHei";
59
- }, {
60
- readonly label: "楷体";
61
- readonly value: "KaiTi";
62
- }, {
63
- readonly label: "仿宋";
64
- readonly value: "FangSong";
65
- }, {
66
- readonly label: "Arial";
67
- readonly value: "Arial, Helvetica, sans-serif";
68
- }, {
69
- readonly label: "Times New Roman";
70
- readonly value: "\"Times New Roman\", Times, serif";
71
- }, {
72
- readonly label: "Courier New(等宽)";
73
- readonly value: "\"Courier New\", Courier, monospace";
74
- }, {
75
- readonly label: "Fira Code(编程)";
76
- readonly value: "\"Fira Code\", monospace";
77
- }, {
78
- readonly label: "Roboto";
79
- readonly value: "Roboto, sans-serif";
80
- }, {
81
- readonly label: "PingFang SC(苹方)";
82
- readonly value: "PingFang SC";
83
- }, {
84
- readonly label: "Helvetica Neue";
85
- readonly value: "\"Helvetica Neue\", Helvetica, sans-serif";
86
- }, {
87
- readonly label: "Georgia";
88
- readonly value: "Georgia, serif";
89
- }, {
90
- readonly label: "Verdana";
91
- readonly value: "Verdana, Geneva, sans-serif";
92
- }];
93
- /**
94
- * 标题字体大小配置(用于导出)
95
- */
96
- export declare const HEADING_FONT_SIZES: readonly [{
97
- readonly level: "h1";
98
- readonly size: "24pt";
99
- }, {
100
- readonly level: "h2";
101
- readonly size: "20pt";
102
- }, {
103
- readonly level: "h3";
104
- readonly size: "16pt";
105
- }, {
106
- readonly level: "h4";
107
- readonly size: "14pt";
108
- }, {
109
- readonly level: "h5";
110
- readonly size: "12pt";
111
- }, {
112
- readonly level: "h6";
113
- readonly size: "10.5pt";
114
- }];
115
- /**
116
- * 行高选项配置
117
- */
118
- export declare const LINE_HEIGHT_OPTIONS: readonly [{
119
- readonly label: "默认";
120
- readonly value: "normal";
121
- }, {
122
- readonly label: "1";
123
- readonly value: "1";
124
- }, {
125
- readonly label: "1.5";
126
- readonly value: "1.5";
127
- }, {
128
- readonly label: "2";
129
- readonly value: "2";
130
- }, {
131
- readonly label: "2.5";
132
- readonly value: "2.5";
133
- }, {
134
- readonly label: "3";
135
- readonly value: "3";
136
- }];
@@ -1,2 +0,0 @@
1
- export * from './fontOptions';
2
- export * from './colorOptions';
@@ -1 +0,0 @@
1
- export declare const CodeBlockWithSelect: import('@tiptap/core').Node<import('@tiptap/extension-code-block-lowlight').CodeBlockLowlightOptions, any>;
@@ -1 +0,0 @@
1
- export declare const CustomImage: import('@tiptap/core').Node<import('@tiptap/extension-image').ImageOptions, any>;