hexagon-editor 0.1.5 → 0.1.7

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 (117) hide show
  1. package/README.md +44 -24
  2. package/dist/MarkdownEditor.vue.d.ts +28 -26
  3. package/dist/MarkdownEditor.vue.d.ts.map +1 -1
  4. package/dist/{MarkdownEditorLinkForm-C7CGgA83.js → MarkdownEditorLinkForm-B9dEX3WT.js} +1 -1
  5. package/dist/{base-Bnv2-Te4.js → base-BPdMUtQo.js} +141 -137
  6. package/dist/components/MarkdownEditorToolbar.vue.d.ts +4 -3
  7. package/dist/components/MarkdownEditorToolbar.vue.d.ts.map +1 -1
  8. package/dist/configure.d.ts +0 -2
  9. package/dist/configure.d.ts.map +1 -1
  10. package/dist/configure.js +11 -12
  11. package/dist/core/basic-editor-markdown.d.ts.map +1 -1
  12. package/dist/core/basic-editor-renderers.d.ts +6 -4
  13. package/dist/core/basic-editor-renderers.d.ts.map +1 -1
  14. package/dist/core/basic-editor-types.d.ts +2 -0
  15. package/dist/core/basic-editor-types.d.ts.map +1 -1
  16. package/dist/core/basic-editor.d.ts +1 -1
  17. package/dist/core/basic-editor.d.ts.map +1 -1
  18. package/dist/core/index.d.ts +0 -2
  19. package/dist/core/index.d.ts.map +1 -1
  20. package/dist/core.js +28 -31
  21. package/dist/extensions.js +1 -1
  22. package/dist/forms/MarkdownEditorImageForm.vue.d.ts +2 -2
  23. package/dist/forms/MarkdownEditorImageForm.vue.d.ts.map +1 -1
  24. package/dist/forms/MarkdownEditorLinkForm.vue.d.ts +2 -2
  25. package/dist/forms/MarkdownEditorTextInput.vue.d.ts +2 -2
  26. package/dist/forms/MarkdownEditorTextInput.vue.d.ts.map +1 -1
  27. package/dist/forms.js +1 -1
  28. package/dist/{full-C-o2lPBX.js → full-Da8esvj2.js} +1 -1
  29. package/dist/{full-specs-Cl-ODShc.js → full-specs-hXKoMF-0.js} +1 -1
  30. package/dist/index-D_CMntQU.js +3173 -0
  31. package/dist/index.css +1 -1
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +240 -236
  35. package/dist/{markup-commands-B2NMfYHE.js → markup-commands-BYsx8ADT.js} +1989 -1963
  36. package/dist/presets.js +2 -2
  37. package/dist/public-types.d.ts +22 -0
  38. package/dist/public-types.d.ts.map +1 -1
  39. package/dist/renderer/MarkdownRenderer.vue.d.ts +2 -0
  40. package/dist/renderer/MarkdownRenderer.vue.d.ts.map +1 -1
  41. package/dist/renderer/markdown.d.ts +2 -1
  42. package/dist/renderer/markdown.d.ts.map +1 -1
  43. package/dist/renderer.css +1 -1
  44. package/dist/renderer.js +3590 -200
  45. package/package.json +106 -108
  46. package/dist/MarkdownEditorLinkForm.css +0 -1
  47. package/dist/abnfDiagram-N423BO3Z-DCf6sPky.js +0 -87
  48. package/dist/arc-y6UeoJpJ.js +0 -83
  49. package/dist/architectureDiagram-T3A2C74G-Cc3_3-cI.js +0 -4778
  50. package/dist/base.css +0 -1
  51. package/dist/blockDiagram-VBNYF7ZC-DWVLZwXY.js +0 -2419
  52. package/dist/c4Diagram-5PPSVZJV-CaIN7qay.js +0 -1577
  53. package/dist/channel-BwXGcavV.js +0 -5
  54. package/dist/chunk-2GRJ4B5K-O75udjPr.js +0 -68
  55. package/dist/chunk-2Q5K7J3B-CySL0lOA.js +0 -15
  56. package/dist/chunk-5RXB4S5H-BKPnLCOJ.js +0 -1408
  57. package/dist/chunk-5VM5RSS4--it1VJIv.js +0 -19
  58. package/dist/chunk-6Q2QTUOP-DNiML-50.js +0 -664
  59. package/dist/chunk-GF5L2VYU-z7A-k0-V.js +0 -1533
  60. package/dist/chunk-JWPE2WC7-DAjx3Kjr.js +0 -8
  61. package/dist/chunk-KBJHAD2P-D4R1VW0r.js +0 -19
  62. package/dist/chunk-RYQCIY6F-DmJAYxq8.js +0 -313
  63. package/dist/chunk-XXDRQBXY-CK913N-t.js +0 -8
  64. package/dist/classDiagram-JCYQIIEL-Djipq_HJ.js +0 -16
  65. package/dist/classDiagram-v2-OCEON4UE-Djipq_HJ.js +0 -16
  66. package/dist/core/optional-renderers.d.ts +0 -9
  67. package/dist/core/optional-renderers.d.ts.map +0 -1
  68. package/dist/cose-bilkent-JH36ORCC-CXuKFbXy.js +0 -2608
  69. package/dist/cynefin-VYW2F7L2-Bkk-F_Js.js +0 -23766
  70. package/dist/cynefinDiagram-MW4NZA55-DwOK40hm.js +0 -299
  71. package/dist/cytoscape.esm-3W4EOjxC.js +0 -18756
  72. package/dist/dagre-VZM6K2ZE-0VsGm8Ag.js +0 -340
  73. package/dist/defaultLocale-BgPVtth8.js +0 -171
  74. package/dist/diagram-7IWD3JNH-BrApu1hz.js +0 -350
  75. package/dist/diagram-B4RE2ZJO-CVXoBg2r.js +0 -461
  76. package/dist/diagram-LBJQPF4R-Dp0eSz2L.js +0 -142
  77. package/dist/diagram-Q27KOJAE-DWIltqIH.js +0 -528
  78. package/dist/diagram-UB23O5K3-B7z2Lj3K.js +0 -219
  79. package/dist/ebnfDiagram-BXEA7PRR-CYgE6z_2.js +0 -109
  80. package/dist/erDiagram-JOGREHBK-D3QWrPo-.js +0 -910
  81. package/dist/flowDiagram-UKHOOZJN-CfjPcHNW.js +0 -1638
  82. package/dist/ganttDiagram-PKOTCBZU-ECmaWI-9.js +0 -2711
  83. package/dist/gitGraphDiagram-DS77QQ5N-DgG1RGJ8.js +0 -815
  84. package/dist/graph-DAHC4kPm.js +0 -1545
  85. package/dist/infoDiagram-6WML65LV-B1Yl3nZV.js +0 -24
  86. package/dist/init-DjUOC4st.js +0 -16
  87. package/dist/ishikawaDiagram-WSZJBQD7-4sngaB5o.js +0 -621
  88. package/dist/journeyDiagram-NVQOT4AX-B_6AmR_j.js +0 -834
  89. package/dist/kanban-definition-27J2QSJJ-B8BO9o8J.js +0 -724
  90. package/dist/katex-ByXcxnHy.js +0 -14436
  91. package/dist/katex-DoRnZ_sp.js +0 -11682
  92. package/dist/layout-DBbo_M5I.js +0 -1519
  93. package/dist/linear-BEdRfKba.js +0 -259
  94. package/dist/map-DRdzG8Ho.js +0 -224
  95. package/dist/markup-commands.css +0 -1
  96. package/dist/mermaid.core-CR0bA2Wa.js +0 -16496
  97. package/dist/mindmap-definition-FAOFIHXS-DnPz807N.js +0 -827
  98. package/dist/optional-renderers-BalvqqvY.js +0 -11
  99. package/dist/ordinal-B6-f3MAq.js +0 -61
  100. package/dist/pegDiagram-VL7TDLO6-csGWlzs8.js +0 -95
  101. package/dist/pieDiagram-7S7Q4E2Y-Bqs8j5FX.js +0 -207
  102. package/dist/quadrantDiagram-CIZ2JOQS-jzP4lRrY.js +0 -1023
  103. package/dist/railroadDiagram-AXF67PYL-BSCyR24u.js +0 -77
  104. package/dist/renderer/mermaid-runtime.d.ts +0 -4
  105. package/dist/renderer/mermaid-runtime.d.ts.map +0 -1
  106. package/dist/requirementDiagram-LRYGKXZP-DmEkLYqX.js +0 -882
  107. package/dist/sankeyDiagram-W5VNT64P-CYvRYMTh.js +0 -847
  108. package/dist/sequenceDiagram-SI44F4Z6-CyWbDtPA.js +0 -2888
  109. package/dist/sizeCapture-X5ZJPWSS-xKhYCY84.js +0 -46
  110. package/dist/stateDiagram-OKZ733FA-DP44R2Dd.js +0 -263
  111. package/dist/stateDiagram-v2-UEYNNEHI-BvlOisND.js +0 -16
  112. package/dist/swimlanes-SLNWSIFB-BKFp8twH.js +0 -5332
  113. package/dist/swimlanesDiagram-ULZ7WXOC-CTvIFuHq.js +0 -13
  114. package/dist/timeline-definition-Z64GVDOM-B4137uIl.js +0 -1055
  115. package/dist/vennDiagram-T6HMQDX7-CPs8gXjx.js +0 -1578
  116. package/dist/wardleyDiagram-T6FBY63Y-BYp13hbI.js +0 -675
  117. package/dist/xychartDiagram-ELKLHX3M-DTT37K2u.js +0 -1388
package/dist/index.js CHANGED
@@ -2,25 +2,24 @@ import { Lang as Za, configure as Xa, getConfig as Ja, subscribeConfigure as _a
2
2
  import { cn as tl } from "./classname.js";
3
3
  import { getMarkdownEditorMessages as Ze } from "./i18n.js";
4
4
  import { markdownEditorMessages as ll } from "./i18n.js";
5
- import { n as Xe, v as ge, t as Je, r as _e, o as et, p as tt } from "./markup-commands-B2NMfYHE.js";
6
- import { A as ol, E as il, a as sl, b as rl, c as dl, L as ul, L as ml, M as cl, e as vl, f as gl, P as fl, g as bl, S as kl, h as wl, i as hl, j as yl, k as Ml, W as Cl, l as pl, m as xl, s as Ll, q as Bl, u as Tl } from "./markup-commands-B2NMfYHE.js";
7
- import { c4 as at, c5 as lt, c6 as nt, c7 as ot, c8 as it } from "./base-Bnv2-Te4.js";
8
- import { B as Hl, g as $l, h as Al, i as Sl, k as Vl, n as Pl, C as zl, o as Fl, p as Nl, q as Rl, r as Dl, D as Il, E as ql, G as Ol, H as jl, u as Ul, v as Wl, w as Ql, x as Gl, y as Yl, z as Kl, I as Zl, A as Xl, J as Jl, L as _l, K as en, M as tn, P as an, Q as ln, R as nn, S as on, T as sn, U as rn, V as dn, X as un, Y as mn, c9 as cn, Z as vn, _ as gn, $ as fn, a0 as bn, a1 as kn, a2 as wn, a3 as hn, a4 as yn, a5 as Mn, a6 as Cn, ca as pn, cb as xn, cc as Ln, cd as Bn, c as Tn, ce as En, ac as Hn, ad as $n, af as An, a as Sn, b as Vn, ak as Pn, d as zn, e as Fn, f as Nn, an as Rn, ao as Dn, ap as In, aq as qn, ar as On, cf as jn, cg as Un, ch as Wn, ci as Qn, cj as Gn, as as Yn, at as Kn, au as Zn, av as Xn, aw as Jn, ax as _n, ay as eo, az as to, aA as ao, aB as lo, aC as no, aD as oo, aF as io, aG as so, aI as ro, aJ as uo, ck as mo, aN as co, aP as vo, aT as go, aU as fo, aV as bo, aW as ko, aX as wo, aY as ho, j as yo, l as Mo, a_ as Co, a$ as po, m as xo, b7 as Lo, b8 as Bo, bd as To, be as Eo, bh as Ho, bi as $o, bl as Ao, bn as So, bo as Vo, bp as Po, bz as zo, bA as Fo, bB as No, bC as Ro, bD as Do, s as Io, bE as qo, bF as Oo, bL as jo, t as Uo, bN as Wo, bO as Qo, bQ as Go, bR as Yo, bS as Ko, bT as Zo, bU as Xo, bV as Jo, bX as _o, bY as ei, b$ as ti, c0 as ai, c1 as li } from "./base-Bnv2-Te4.js";
9
- import { c as oi, g as ii } from "./optional-renderers-BalvqqvY.js";
10
- import { defineComponent as J, openBlock as r, createElementBlock as m, ref as h, Fragment as F, createElementVNode as g, withModifiers as w, createVNode as C, toDisplayString as H, createCommentVNode as E, renderList as oe, createStaticVNode as st, unref as c, renderSlot as fe, onBeforeUnmount as be, nextTick as ne, getCurrentInstance as He, computed as Te, watch as ae, onMounted as rt, createBlock as X, withCtx as dt, normalizeProps as ut, guardReactiveProps as mt, Teleport as ct, normalizeClass as vt, readonly as le } from "vue";
11
- import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- import { getToolbarConfig as gt, isToolbarItemEnabled as S, isToolbarItemActive as G, normalizeToolbarItem as ft, isToolbarItemAvailable as bt } from "./toolbar.js";
13
- import { commonmarkToolbarConfig as ri, createToolbarConfig as di, createToolbarGroup as ui, createToolbarItem as mi, defaultToolbarConfig as ci, fullToolbarConfig as vi, markdownEditorToolbarItemIds as gi, minimalToolbarConfig as fi, zeroToolbarConfig as bi } from "./toolbar.js";
14
- import { a as kt, M as wt } from "./MarkdownEditorLinkForm-C7CGgA83.js";
15
- import { _ as wi, b as hi } from "./MarkdownEditorLinkForm-C7CGgA83.js";
16
- import "./katex-ByXcxnHy.js";
17
- import { C as Mi, D as Ci, F as pi, Z as xi } from "./full-C-o2lPBX.js";
18
- import { C as Bi, F as Ti } from "./full-specs-Cl-ODShc.js";
19
- import { B as Hi, a as $i, b as Ai, c as Si, d as Vi, C as Pi, e as zi, f as Fi, D as Ni, g as Ri, h as Di, H as Ii, i as qi, I as Oi, j as ji, L as Ui, k as Wi, T as Qi, l as Gi, m as Yi, n as Ki, o as Zi, r as Xi, v as Ji, y as _i, M as es, O as ts, R as as, S as ls, W as ns, Z as os } from "./heading-specs-D7Bj4aIM.js";
20
- import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.47 4.72a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06-1.06L4.81 6H9a3.25 3.25 0 0 1 0 6.5H8A.75.75 0 0 0 8 14h1a4.75 4.75 0 1 0 0-9.5H4.81l1.72-1.72a.75.75 0 0 0-1.06-1.06z" clip-rule="evenodd"/></svg>
5
+ import { n as Xe, v as ge, t as Je, r as _e, o as et, p as tt } from "./markup-commands-BYsx8ADT.js";
6
+ import { A as ol, E as il, a as sl, b as rl, c as dl, L as ul, L as ml, M as cl, e as vl, f as gl, P as fl, g as bl, S as kl, h as wl, i as hl, j as yl, k as Cl, W as Ml, l as pl, m as xl, s as Ll, q as Bl, u as Tl } from "./markup-commands-BYsx8ADT.js";
7
+ import { c4 as at, c5 as lt, c6 as nt, c7 as ot, c8 as it } from "./base-BPdMUtQo.js";
8
+ import { B as Hl, g as $l, h as Sl, i as Vl, k as Al, n as Pl, C as zl, o as Fl, p as Nl, q as Rl, r as Dl, D as Il, E as ql, G as Ol, H as jl, u as Ul, v as Wl, w as Ql, x as Gl, y as Yl, z as Kl, I as Zl, A as Xl, J as Jl, L as _l, K as en, M as tn, P as an, Q as ln, R as nn, S as on, T as sn, U as rn, V as dn, X as un, Y as mn, c9 as cn, Z as vn, _ as gn, $ as fn, a0 as bn, a1 as kn, a2 as wn, a3 as hn, a4 as yn, a5 as Cn, a6 as Mn, ca as pn, cb as xn, cc as Ln, cd as Bn, c as Tn, ce as En, ac as Hn, ad as $n, af as Sn, a as Vn, b as An, ak as Pn, d as zn, e as Fn, f as Nn, an as Rn, ao as Dn, ap as In, aq as qn, ar as On, cf as jn, cg as Un, ch as Wn, ci as Qn, cj as Gn, as as Yn, at as Kn, au as Zn, av as Xn, aw as Jn, ax as _n, ay as eo, az as to, aA as ao, aB as lo, aC as no, aD as oo, aF as io, aG as so, aI as ro, aJ as uo, ck as mo, aN as co, aP as vo, aT as go, aU as fo, aV as bo, aW as ko, aX as wo, aY as ho, j as yo, l as Co, a_ as Mo, a$ as po, m as xo, b7 as Lo, b8 as Bo, bd as To, be as Eo, bh as Ho, bi as $o, bl as So, bn as Vo, bo as Ao, bp as Po, bz as zo, bA as Fo, bB as No, bC as Ro, bD as Do, s as Io, bE as qo, bF as Oo, bL as jo, t as Uo, bN as Wo, bO as Qo, bQ as Go, bR as Yo, bS as Ko, bT as Zo, bU as Xo, bV as Jo, bX as _o, bY as ei, b$ as ti, c0 as ai, c1 as li } from "./base-BPdMUtQo.js";
9
+ import { defineComponent as te, openBlock as r, createElementBlock as m, ref as h, Fragment as F, createElementVNode as g, withModifiers as w, createVNode as M, toDisplayString as H, createCommentVNode as E, renderList as se, createStaticVNode as st, unref as c, renderSlot as fe, onBeforeUnmount as be, nextTick as ee, getCurrentInstance as He, computed as Te, watch as J, onMounted as rt, createBlock as _, withCtx as dt, normalizeProps as ut, guardReactiveProps as mt, Teleport as ct, normalizeClass as vt, readonly as ie } from "vue";
10
+ import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ import { getToolbarConfig as gt, isToolbarItemEnabled as V, isToolbarItemActive as Y, normalizeToolbarItem as ft, isToolbarItemAvailable as bt } from "./toolbar.js";
12
+ import { commonmarkToolbarConfig as oi, createToolbarConfig as ii, createToolbarGroup as si, createToolbarItem as ri, defaultToolbarConfig as di, fullToolbarConfig as ui, markdownEditorToolbarItemIds as mi, minimalToolbarConfig as ci, zeroToolbarConfig as vi } from "./toolbar.js";
13
+ import { a as kt, M as wt } from "./MarkdownEditorLinkForm-B9dEX3WT.js";
14
+ import { _ as fi, b as bi } from "./MarkdownEditorLinkForm-B9dEX3WT.js";
15
+ import "./index-D_CMntQU.js";
16
+ import { C as wi, D as hi, F as yi, Z as Ci } from "./full-Da8esvj2.js";
17
+ import { C as pi, F as xi } from "./full-specs-hXKoMF-0.js";
18
+ import { B as Bi, a as Ti, b as Ei, c as Hi, d as $i, C as Si, e as Vi, f as Ai, D as Pi, g as zi, h as Fi, H as Ni, i as Ri, I as Di, j as Ii, L as qi, k as Oi, T as ji, l as Ui, m as Wi, n as Qi, o as Gi, r as Yi, v as Ki, y as Zi, M as Xi, O as Ji, R as _i, S as es, W as ts, Z as as } from "./heading-specs-D7Bj4aIM.js";
19
+ const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.47 4.72a.75.75 0 0 0 0 1.06l3 3a.75.75 0 0 0 1.06-1.06L4.81 6H9a3.25 3.25 0 0 1 0 6.5H8A.75.75 0 0 0 8 14h1a4.75 4.75 0 1 0 0-9.5H4.81l1.72-1.72a.75.75 0 0 0-1.06-1.06z" clip-rule="evenodd"/></svg>
21
20
  `, yt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M13.53 4.72a.75.75 0 0 1 0 1.06l-3 3a.75.75 0 1 1-1.06-1.06L11.19 6H7a3.25 3.25 0 0 0 0 6.5h1A.75.75 0 0 1 8 14H7a4.75 4.75 0 1 1 0-9.5h4.19L9.47 2.78a.75.75 0 0 1 1.06-1.06z" clip-rule="evenodd"/></svg>
22
- `, Mt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M4.25 2.25A.75.75 0 0 0 3.5 3v10c0 .414.336.75.75.75H9.5a3.25 3.25 0 0 0 1.477-6.146A3.25 3.25 0 0 0 8.5 2.25zm3.5 5a1.75 1.75 0 1 0 0-3.5h-2v3.5zm-2 1.5v3.5h3a1.75 1.75 0 1 0 0-3.5z" clip-rule="evenodd"/></svg>
23
- `, Ct = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5" clip-rule="evenodd"/></svg>
21
+ `, Ct = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M4.25 2.25A.75.75 0 0 0 3.5 3v10c0 .414.336.75.75.75H9.5a3.25 3.25 0 0 0 1.477-6.146A3.25 3.25 0 0 0 8.5 2.25zm3.5 5a1.75 1.75 0 1 0 0-3.5h-2v3.5zm-2 1.5v3.5h3a1.75 1.75 0 1 0 0-3.5z" clip-rule="evenodd"/></svg>
22
+ `, Mt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.5 5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5m3.25-2a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8M3.75 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0M2.5 13.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5" clip-rule="evenodd"/></svg>
24
23
  `, pt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2.97 5.47a.75.75 0 0 1 1.06 0L8 9.44l3.97-3.97a.75.75 0 1 1 1.06 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-4.5-4.5a.75.75 0 0 1 0-1.06" clip-rule="evenodd"/></svg>
25
24
  `, xt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M10.218 3.216a.75.75 0 0 0-1.436-.431l-3 10a.75.75 0 0 0 1.436.43zM4.53 4.97a.75.75 0 0 1 0 1.06L2.56 8l1.97 1.97a.75.75 0 0 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0m6.94 6.06a.75.75 0 0 1 0-1.06L13.44 8l-1.97-1.97a.75.75 0 0 1 1.06-1.06l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 0 1-1.06 0" clip-rule="evenodd"/></svg>
26
25
  `, Lt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill="currentColor" fill-rule="evenodd" d="M4.312 4.29a.764.764 0 0 1 1.103-.62.75.75 0 1 0 .67-1.34 2.264 2.264 0 0 0-3.268 1.836L2.706 5.5H1.75a.75.75 0 0 0 0 1.5h.83l-.392 4.71a.764.764 0 0 1-1.103.62.75.75 0 0 0-.67 1.34 2.264 2.264 0 0 0 3.268-1.836L4.086 7H5.25a.75.75 0 1 0 0-1.5H4.21zm6.014 2.23a.75.75 0 0 0-1.152.96l.85 1.02-.85 1.02a.75.75 0 0 0 1.152.96L11 9.672l.674.808a.75.75 0 0 0 1.152-.96l-.85-1.02.85-1.02a.75.75 0 0 0-1.152-.96L11 7.328zM8.02 4.55a.75.75 0 0 1 .43.969l-.145.378a7.25 7.25 0 0 0 0 5.205l.145.378a.75.75 0 0 1-1.4.539l-.145-.378a8.75 8.75 0 0 1 0-6.282l.145-.378a.75.75 0 0 1 .97-.431m5.961 0a.75.75 0 0 1 .97.43l.145.379a8.75 8.75 0 0 1 0 6.282l-.146.378a.75.75 0 1 1-1.4-.538l.146-.379a7.25 7.25 0 0 0 0-5.205l-.146-.378a.75.75 0 0 1 .431-.97" clip-rule="evenodd"/></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></svg>
@@ -29,31 +28,31 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
29
28
  `, Et = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M11.5 3h-7A1.5 1.5 0 0 0 3 4.5v5.027l.962-.7a1.75 1.75 0 0 1 2.079.016l.928.696 2.368-2.03a1.75 1.75 0 0 1 2.325.043L13 8.787V4.5A1.5 1.5 0 0 0 11.5 3m3 7.498V4.5a3 3 0 0 0-3-3h-7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3zm-1.5.33-2.355-2.174a.25.25 0 0 0-.332-.006L7.488 11.07l-.457.392-.481-.361-1.41-1.057a.25.25 0 0 0-.296-.002L3 11.381v.119A1.5 1.5 0 0 0 4.5 13h7a1.5 1.5 0 0 0 1.5-1.5zM7.5 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" clip-rule="evenodd"/></svg>
30
29
  `, Ht = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.25 2a.75.75 0 0 0 0 1.5h1.317l-2.7 9H4.25a.75.75 0 1 0 0 1.5h4.5a.75.75 0 0 0 0-1.5H7.433l2.7-9h1.617a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>
31
30
  `, $t = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M3.47 6.53a.75.75 0 0 1 1.06 1.061l-.727.727a2.743 2.743 0 0 0 3.879 3.879l.727-.727a.75.75 0 0 1 1.06 1.06l-.726.727a4.243 4.243 0 0 1-6-6zm8 1.879a.75.75 0 0 0 1.06 1.06l.727-.726a4.243 4.243 0 0 0-6-6l-.727.727a.75.75 0 0 0 1.061 1.06l.727-.727a2.743 2.743 0 0 1 3.879 3.879zm-.94-1.879a.75.75 0 1 0-1.06-1.06l-4 4a.75.75 0 1 0 1.06 1.06z" clip-rule="evenodd"/></svg>
32
- `, At = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">
31
+ `, St = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">
33
32
  <rect x="1.5" y="1.5" width="4" height="3" rx=".75"/>
34
33
  <rect x="10.5" y="1.5" width="4" height="3" rx=".75"/>
35
34
  <rect x="6" y="11.5" width="4" height="3" rx=".75"/>
36
35
  <path d="M3.5 4.5v2h4.5v5M12.5 4.5v2H8"/>
37
36
  </svg>
38
- `, St = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M3.21 2.5a.5.5 0 0 0-.796-.403l-.71.524a.5.5 0 0 0 .507.856V5a.5.5 0 0 0 1 0zm2.54.5a.75.75 0 1 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8m-2.596-.67c-.07.051-.087.097-.09.116a.5.5 0 0 1-.988-.149c.051-.345.26-.61.495-.779.236-.169.531-.268.83-.268.345 0 .666.109.902.343s.337.543.337.85c0 .51-.321.855-.76 1.278l-.02.018-.013.011h.493a.5.5 0 0 1 0 1H1.75a.5.5 0 0 1-.326-.879l1.022-.88c.223-.216.338-.344.398-.434.046-.069.046-.092.046-.111v-.002c0-.09-.027-.127-.041-.141-.013-.013-.062-.053-.199-.053a.44.44 0 0 0-.246.08M1.9 10.5a.5.5 0 0 0 0 1h.38l-.15.18a.5.5 0 0 0 .383.82c.259 0 .365.077.407.122.051.054.08.133.08.218a.02.02 0 0 1-.004.014.2.2 0 0 1-.057.052.7.7 0 0 1-.371.094.55.55 0 0 1-.258-.057c-.059-.032-.075-.061-.076-.064a.5.5 0 0 0-.91.416c.213.464.728.705 1.244.705.319 0 .651-.082.92-.258.275-.181.512-.487.512-.902 0-.293-.096-.634-.355-.906a1.3 1.3 0 0 0-.252-.206l.34-.407a.5.5 0 0 0-.383-.821z" clip-rule="evenodd"/></svg>
39
- `, Vt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill="currentColor" fill-rule="evenodd" d="M12.411 6.33A2.75 2.75 0 0 1 14.5 9v.25A2.75 2.75 0 0 1 11.75 12h-.25a2.747 2.747 0 0 1-2.748-2.657V9.34H8.75V9q0-.197.027-.386.03-.392.09-.77a8 8 0 0 1 .559-1.918 7.2 7.2 0 0 1 2.162-2.801l.098-.076A.24.24 0 0 1 11.83 3c.186 0 .306.202.22.367a19 19 0 0 0-.22.433 18 18 0 0 0-.43.951 14 14 0 0 0-.557 1.578l.054-.013a2.8 2.8 0 0 1 .603-.066h.25q.343.001.661.08m.549-1.405A4.25 4.25 0 0 1 16 9v.25a4.25 4.25 0 0 1-4.25 4.25h-.25A4.25 4.25 0 0 1 8 11.662 4.25 4.25 0 0 1 4.5 13.5h-.25A4.25 4.25 0 0 1 0 9.336V9q0-.275.035-.543c.207-2.62 1.358-4.966 3.488-6.599A1.74 1.74 0 0 1 4.58 1.5c1.341 0 2.146 1.425 1.548 2.564-.111.211-.26.508-.418.86.788.234 1.481.69 2.005 1.297a8.76 8.76 0 0 1 3.058-4.363A1.74 1.74 0 0 1 11.83 1.5c1.341 0 2.146 1.425 1.548 2.564-.111.211-.26.508-.418.86M5.16 6.33a2.8 2.8 0 0 0-.661-.08h-.25a2.8 2.8 0 0 0-.657.079 14 14 0 0 1 .68-1.865A18 18 0 0 1 4.8 3.367.25.25 0 0 0 4.58 3a.24.24 0 0 0-.144.049 8 8 0 0 0-.93.844 7.2 7.2 0 0 0-1.39 2.172 8 8 0 0 0-.498 1.779q-.062.378-.091.77A3 3 0 0 0 1.5 9v.339h.001v.004A2.747 2.747 0 0 0 4.25 12h.251a2.75 2.75 0 0 0 2.75-2.75V9c0-1.29-.89-2.374-2.089-2.67" clip-rule="evenodd"/></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></svg>
37
+ `, Vt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M3.21 2.5a.5.5 0 0 0-.796-.403l-.71.524a.5.5 0 0 0 .507.856V5a.5.5 0 0 0 1 0zm2.54.5a.75.75 0 1 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zm0 8.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5zM5 8a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8m-2.596-.67c-.07.051-.087.097-.09.116a.5.5 0 0 1-.988-.149c.051-.345.26-.61.495-.779.236-.169.531-.268.83-.268.345 0 .666.109.902.343s.337.543.337.85c0 .51-.321.855-.76 1.278l-.02.018-.013.011h.493a.5.5 0 0 1 0 1H1.75a.5.5 0 0 1-.326-.879l1.022-.88c.223-.216.338-.344.398-.434.046-.069.046-.092.046-.111v-.002c0-.09-.027-.127-.041-.141-.013-.013-.062-.053-.199-.053a.44.44 0 0 0-.246.08M1.9 10.5a.5.5 0 0 0 0 1h.38l-.15.18a.5.5 0 0 0 .383.82c.259 0 .365.077.407.122.051.054.08.133.08.218a.02.02 0 0 1-.004.014.2.2 0 0 1-.057.052.7.7 0 0 1-.371.094.55.55 0 0 1-.258-.057c-.059-.032-.075-.061-.076-.064a.5.5 0 0 0-.91.416c.213.464.728.705 1.244.705.319 0 .651-.082.92-.258.275-.181.512-.487.512-.902 0-.293-.096-.634-.355-.906a1.3 1.3 0 0 0-.252-.206l.34-.407a.5.5 0 0 0-.383-.821z" clip-rule="evenodd"/></svg>
38
+ `, At = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill="currentColor" fill-rule="evenodd" d="M12.411 6.33A2.75 2.75 0 0 1 14.5 9v.25A2.75 2.75 0 0 1 11.75 12h-.25a2.747 2.747 0 0 1-2.748-2.657V9.34H8.75V9q0-.197.027-.386.03-.392.09-.77a8 8 0 0 1 .559-1.918 7.2 7.2 0 0 1 2.162-2.801l.098-.076A.24.24 0 0 1 11.83 3c.186 0 .306.202.22.367a19 19 0 0 0-.22.433 18 18 0 0 0-.43.951 14 14 0 0 0-.557 1.578l.054-.013a2.8 2.8 0 0 1 .603-.066h.25q.343.001.661.08m.549-1.405A4.25 4.25 0 0 1 16 9v.25a4.25 4.25 0 0 1-4.25 4.25h-.25A4.25 4.25 0 0 1 8 11.662 4.25 4.25 0 0 1 4.5 13.5h-.25A4.25 4.25 0 0 1 0 9.336V9q0-.275.035-.543c.207-2.62 1.358-4.966 3.488-6.599A1.74 1.74 0 0 1 4.58 1.5c1.341 0 2.146 1.425 1.548 2.564-.111.211-.26.508-.418.86.788.234 1.481.69 2.005 1.297a8.76 8.76 0 0 1 3.058-4.363A1.74 1.74 0 0 1 11.83 1.5c1.341 0 2.146 1.425 1.548 2.564-.111.211-.26.508-.418.86M5.16 6.33a2.8 2.8 0 0 0-.661-.08h-.25a2.8 2.8 0 0 0-.657.079 14 14 0 0 1 .68-1.865A18 18 0 0 1 4.8 3.367.25.25 0 0 0 4.58 3a.24.24 0 0 0-.144.049 8 8 0 0 0-.93.844 7.2 7.2 0 0 0-1.39 2.172 8 8 0 0 0-.498 1.779q-.062.378-.091.77A3 3 0 0 0 1.5 9v.339h.001v.004A2.747 2.747 0 0 0 4.25 12h.251a2.75 2.75 0 0 0 2.75-2.75V9c0-1.29-.89-2.374-2.089-2.67" clip-rule="evenodd"/></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h16v16H0z"/></clipPath></defs></svg>
40
39
  `, Pt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M5.502 2.757C6.214 2.236 7.122 2 7.984 2c1.685 0 3.015.572 3.687 1.915a.75.75 0 1 1-1.342.67C10.001 3.93 9.331 3.5 7.984 3.5c-.611 0-1.19.17-1.597.468-.384.28-.627.678-.627 1.242 0 .403.165.758.463 1.04H4.447a2.9 2.9 0 0 1-.187-1.04c0-1.084.507-1.916 1.242-2.453m6.047 5.993h1.201a.75.75 0 0 0 0-1.5h-9.5a.75.75 0 0 0 0 1.5h5.475l.043.012h.002c1.196.323 1.98 1.005 1.98 1.988 0 .669-.289 1.063-.742 1.33-.5.296-1.222.437-2 .437-1.398 0-2.453-.472-2.796-1.504a.75.75 0 1 0-1.424.474c.657 1.969 2.602 2.53 4.22 2.53.915 0 1.94-.16 2.762-.644.869-.512 1.48-1.376 1.48-2.623 0-.822-.276-1.481-.7-2" clip-rule="evenodd"/></svg>
41
40
  `, zt = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M9.25 3.5h-2.5v2h2.5zM4 3.5h1.25v2H2.5V5A1.5 1.5 0 0 1 4 3.5M2.5 7h2.75v2H2.5zm0 3.5v.5A1.5 1.5 0 0 0 4 12.5h1.25v-2zm4.25 0v2h2.5v-2zm4 0v2H12a1.5 1.5 0 0 0 1.5-1.5v-.5zM13.5 9h-2.75V7h2.75zM9.25 9h-2.5V7h2.5zm1.5-5.5v2h2.75V5A1.5 1.5 0 0 0 12 3.5zM4 2a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3z" clip-rule="evenodd"/></svg>
42
41
  `, Ft = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M5 2.75a.75.75 0 0 0-1.5 0V7a4.5 4.5 0 0 0 9 0V2.75a.75.75 0 0 0-1.5 0V7a3 3 0 0 1-6 0zm-.75 9.75a.75.75 0 0 0 0 1.5h7.5a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>
43
- `, Nt = ["innerHTML"], Rt = /* @__PURE__ */ J({
42
+ `, Nt = ["innerHTML"], Rt = /* @__PURE__ */ te({
44
43
  __name: "MarkdownEditorToolbarIcon",
45
44
  props: {
46
45
  name: {}
47
46
  },
48
47
  setup(e) {
49
- const f = { arrowLeft: ht, arrowRight: yt, bold: Mt, bulletList: Ct, chevronDown: pt, code: xt, function: Lt, gear: Bt, horizontalRule: Tt, image: Et, italic: Ht, link: $t, mermaid: At, orderedList: St, quote: Vt, strike: Pt, table: zt, underline: Ft }, y = e;
48
+ const f = { arrowLeft: ht, arrowRight: yt, bold: Ct, bulletList: Mt, chevronDown: pt, code: xt, function: Lt, gear: Bt, horizontalRule: Tt, image: Et, italic: Ht, link: $t, mermaid: St, orderedList: Vt, quote: At, strike: Pt, table: zt, underline: Ft }, y = e;
50
49
  return (u, b) => (r(), m("span", {
51
50
  class: "markdown-editor__toolbar-icon",
52
51
  "aria-hidden": "true",
53
52
  innerHTML: f[y.name]
54
53
  }, null, 8, Nt));
55
54
  }
56
- }), p = /* @__PURE__ */ _(Rt, [["__scopeId", "data-v-ec4329c1"]]), Dt = ["data-theme", "aria-label"], It = ["aria-checked"], qt = ["aria-checked"], Ot = ["data-theme", "aria-label"], jt = ["aria-checked", "onClick"], Ut = { class: "markdown-editor__floating-menu-icon" }, Wt = ["data-theme", "aria-label"], Qt = ["data-theme", "aria-label"], Gt = ["aria-checked"], Yt = ["aria-checked"], Kt = ["disabled"], Zt = ["disabled"], Xt = ["data-theme", "aria-label"], Jt = ["aria-checked", "onClick"], _t = /* @__PURE__ */ J({
55
+ }), p = /* @__PURE__ */ ae(Rt, [["__scopeId", "data-v-ec4329c1"]]), Dt = ["data-theme", "aria-label"], It = ["aria-checked"], qt = ["aria-checked"], Ot = ["data-theme", "aria-label"], jt = ["aria-checked", "onClick"], Ut = { class: "markdown-editor__floating-menu-icon" }, Wt = ["data-theme", "aria-label"], Qt = ["data-theme", "aria-label"], Gt = ["aria-checked"], Yt = ["aria-checked"], Kt = ["disabled"], Zt = ["disabled"], Xt = ["data-theme", "aria-label"], Jt = ["aria-checked", "onClick"], _t = /* @__PURE__ */ te({
57
56
  __name: "MarkdownEditorFloatingMenus",
58
57
  props: {
59
58
  codeVisible: { type: Boolean },
@@ -69,7 +68,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
69
68
  },
70
69
  emits: ["code-block", "inline-code", "inline-formula", "math-block", "select-mode", "select-text-style", "bullet-list", "ordered-list", "indent-list", "outdent-list"],
71
70
  setup(e, { expose: f, emit: y }) {
72
- const u = y, b = h(), d = h(), s = h(), i = h(), a = h(), M = ["wysiwyg", "markup", "split"];
71
+ const u = y, b = h(), d = h(), s = h(), i = h(), a = h(), C = ["wysiwyg", "markup", "split"];
73
72
  return f({
74
73
  getElement(n) {
75
74
  return { code: b.value, formula: d.value, heading: s.value, list: i.value, mode: a.value }[n];
@@ -92,7 +91,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
92
91
  }, ["prevent"])),
93
92
  onClick: l[1] || (l[1] = (k) => u("inline-code"))
94
93
  }, [
95
- C(p, { name: "code" }),
94
+ M(p, { name: "code" }),
96
95
  g("span", null, H(e.translate("code")), 1)
97
96
  ], 40, It),
98
97
  g("button", {
@@ -116,7 +115,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
116
115
  role: "menu",
117
116
  "aria-label": e.translate("heading")
118
117
  }, [
119
- (r(), m(F, null, oe(["paragraph", "1", "2", "3", "4", "5", "6"], (k) => g("button", {
118
+ (r(), m(F, null, se(["paragraph", "1", "2", "3", "4", "5", "6"], (k) => g("button", {
120
119
  key: k,
121
120
  "aria-checked": e.textStyle === k,
122
121
  role: "menuitemradio",
@@ -174,7 +173,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
174
173
  }, ["prevent"])),
175
174
  onClick: l[9] || (l[9] = (k) => u("bullet-list"))
176
175
  }, [
177
- C(p, { name: "bulletList" }),
176
+ M(p, { name: "bulletList" }),
178
177
  g("span", null, H(e.translate("bulletList")), 1)
179
178
  ], 40, Gt),
180
179
  g("button", {
@@ -185,7 +184,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
185
184
  }, ["prevent"])),
186
185
  onClick: l[11] || (l[11] = (k) => u("ordered-list"))
187
186
  }, [
188
- C(p, { name: "orderedList" }),
187
+ M(p, { name: "orderedList" }),
189
188
  g("span", null, H(e.translate("orderedList")), 1)
190
189
  ], 40, Yt),
191
190
  g("button", {
@@ -222,7 +221,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
222
221
  role: "menu",
223
222
  "aria-label": e.translate("mode")
224
223
  }, [
225
- (r(), m(F, null, oe(M, (k) => g("button", {
224
+ (r(), m(F, null, se(C, (k) => g("button", {
226
225
  key: k,
227
226
  "aria-checked": e.mode === k,
228
227
  role: "menuitemradio",
@@ -234,7 +233,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
234
233
  ], 8, Xt)) : E("", !0)
235
234
  ], 64));
236
235
  }
237
- }), ea = /* @__PURE__ */ _(_t, [["__scopeId", "data-v-864eac67"]]), ta = ["data-theme", "aria-label"], aa = ["aria-label", "title"], la = ["value", "aria-label"], na = /* @__PURE__ */ J({
236
+ }), ea = /* @__PURE__ */ ae(_t, [["__scopeId", "data-v-864eac67"]]), ta = ["data-theme", "aria-label"], aa = ["aria-label", "title"], la = ["value", "aria-label"], na = /* @__PURE__ */ te({
238
237
  __name: "MarkdownEditorImageActions",
239
238
  props: {
240
239
  objectFit: {},
@@ -269,7 +268,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
269
268
  ])], 40, la)
270
269
  ], 8, ta));
271
270
  }
272
- }), oa = /* @__PURE__ */ _(na, [["__scopeId", "data-v-0158c930"]]), ia = ["aria-label"], sa = { class: "markdown-editor__toolbar-buttons" }, ra = ["data-toolbar-group"], da = ["disabled", "aria-label", "title", "onClick"], ua = ["disabled", "aria-label", "title", "onClick"], ma = ["aria-expanded", "aria-label", "aria-pressed", "title"], ca = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], va = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ga = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], fa = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ba = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ka = ["aria-expanded", "aria-label", "aria-pressed", "title"], wa = ["aria-expanded", "aria-label", "aria-pressed", "title"], ha = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ya = ["aria-label", "aria-pressed", "title"], Ma = ["aria-expanded", "aria-pressed", "aria-label", "title"], Ca = ["title"], pa = ["aria-label"], xa = ["aria-expanded", "aria-label", "title"], La = ["aria-expanded", "aria-label", "aria-pressed", "title"], Ba = ["aria-label", "aria-pressed", "title", "onClick"], Ta = ["aria-label", "title"], Ea = ["aria-label", "title"], Ha = ["aria-label", "title"], $a = ["aria-expanded", "aria-label", "title"], Aa = /* @__PURE__ */ J({
271
+ }), oa = /* @__PURE__ */ ae(na, [["__scopeId", "data-v-0158c930"]]), ia = ["aria-label"], sa = { class: "markdown-editor__toolbar-buttons" }, ra = ["data-toolbar-group"], da = ["disabled", "aria-label", "title", "onClick"], ua = ["disabled", "aria-label", "title", "onClick"], ma = ["aria-expanded", "aria-label", "aria-pressed", "title"], ca = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], va = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ga = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], fa = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ba = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ka = ["aria-expanded", "aria-label", "aria-pressed", "title"], wa = ["aria-expanded", "aria-label", "aria-pressed", "title"], ha = ["disabled", "aria-label", "aria-pressed", "title", "onClick"], ya = ["aria-label", "aria-pressed", "title"], Ca = ["aria-expanded", "aria-pressed", "aria-label", "title"], Ma = ["title"], pa = ["aria-label"], xa = ["aria-expanded", "aria-label", "title"], La = ["aria-expanded", "aria-label", "aria-pressed", "title"], Ba = ["aria-label", "aria-pressed", "title", "onClick"], Ta = ["aria-label", "title"], Ea = ["aria-label", "title"], Ha = ["aria-label", "title"], $a = ["aria-expanded", "aria-label", "title"], Sa = /* @__PURE__ */ te({
273
272
  __name: "MarkdownEditorToolbar",
274
273
  props: {
275
274
  commands: {},
@@ -285,6 +284,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
285
284
  textStyleLabel: {},
286
285
  toolbarPreset: {},
287
286
  toolbarConfig: {},
287
+ features: {},
288
288
  translate: { type: Function }
289
289
  },
290
290
  emits: ["execute", "insert-html", "toggle-formula-menu", "toggle-code-menu", "toggle-heading-menu", "toggle-image-editor", "toggle-link-editor", "toggle-list-menu", "toggle-mode-menu"],
@@ -294,9 +294,9 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
294
294
  return i.map(ft).filter((a) => bt(a, y.state));
295
295
  }
296
296
  function b(i, a) {
297
- S(i, y.state) && (i.action ? i.action.run({
297
+ V(i, y.state) && (i.action ? i.action.run({
298
298
  commands: y.commands,
299
- execute: (M) => d("execute", i.id, M),
299
+ execute: (C) => d("execute", i.id, C),
300
300
  state: y.state
301
301
  }) : d("execute", i.id, a));
302
302
  }
@@ -311,39 +311,39 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
311
311
  "aria-label": e.translate("toolbar")
312
312
  }, [
313
313
  g("div", sa, [
314
- (r(!0), m(F, null, oe((e.toolbarConfig ?? c(gt)(e.toolbarPreset)).groups, (M) => (r(), m("div", {
315
- key: M.id,
314
+ (r(!0), m(F, null, se((e.toolbarConfig ?? c(gt)(e.toolbarPreset)).groups, (C) => (r(), m("div", {
315
+ key: C.id,
316
316
  class: "markdown-editor__toolbar-group",
317
317
  role: "group",
318
- "data-toolbar-group": M.id
318
+ "data-toolbar-group": C.id
319
319
  }, [
320
- (r(!0), m(F, null, oe(u(M.items), (n) => (r(), m(F, {
320
+ (r(!0), m(F, null, se(u(C.items), (n) => (r(), m(F, {
321
321
  key: n.id
322
322
  }, [
323
323
  n.id === "undo" ? (r(), m("button", {
324
324
  key: 0,
325
325
  "data-toolbar-item": "undo",
326
326
  type: "button",
327
- disabled: !c(S)(n, e.state),
327
+ disabled: !c(V)(n, e.state),
328
328
  "aria-label": e.translate("undo"),
329
329
  title: e.translate("undo"),
330
330
  onMousedown: a[0] || (a[0] = w(() => {
331
331
  }, ["prevent"])),
332
332
  onClick: (l) => b(n, e.commands.undo)
333
333
  }, [
334
- C(p, { name: "arrowLeft" })
334
+ M(p, { name: "arrowLeft" })
335
335
  ], 40, da)) : n.id === "redo" ? (r(), m("button", {
336
336
  key: 1,
337
337
  "data-toolbar-item": "redo",
338
338
  type: "button",
339
- disabled: !c(S)(n, e.state),
339
+ disabled: !c(V)(n, e.state),
340
340
  "aria-label": e.translate("redo"),
341
341
  title: e.translate("redo"),
342
342
  onMousedown: a[1] || (a[1] = w(() => {
343
343
  }, ["prevent"])),
344
344
  onClick: (l) => b(n, e.commands.redo)
345
345
  }, [
346
- C(p, { name: "arrowRight" })
346
+ M(p, { name: "arrowRight" })
347
347
  ], 40, ua)) : n.id === "heading" ? (r(), m("button", {
348
348
  key: 2,
349
349
  class: "markdown-editor__toolbar-heading",
@@ -358,65 +358,65 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
358
358
  onClick: a[3] || (a[3] = (l) => d("toggle-heading-menu", s(l)))
359
359
  }, [
360
360
  g("span", null, H(e.textStyleLabel), 1),
361
- C(p, { name: "chevronDown" })
361
+ M(p, { name: "chevronDown" })
362
362
  ], 40, ma)) : n.id === "bold" ? (r(), m("button", {
363
363
  key: 3,
364
364
  "data-toolbar-item": "bold",
365
- disabled: !c(S)(n, e.state),
365
+ disabled: !c(V)(n, e.state),
366
366
  "aria-label": e.translate("bold"),
367
- "aria-pressed": c(G)(n, e.state, e.state.bold),
367
+ "aria-pressed": c(Y)(n, e.state, e.state.bold),
368
368
  type: "button",
369
369
  title: e.translate("bold"),
370
370
  onMousedown: a[4] || (a[4] = w(() => {
371
371
  }, ["prevent"])),
372
372
  onClick: (l) => b(n, e.commands.bold)
373
373
  }, [
374
- C(p, { name: "bold" })
374
+ M(p, { name: "bold" })
375
375
  ], 40, ca)) : n.id === "italic" ? (r(), m("button", {
376
376
  key: 4,
377
377
  "data-toolbar-item": "italic",
378
- disabled: !c(S)(n, e.state),
378
+ disabled: !c(V)(n, e.state),
379
379
  "aria-label": e.translate("italic"),
380
- "aria-pressed": c(G)(n, e.state, e.state.italic),
380
+ "aria-pressed": c(Y)(n, e.state, e.state.italic),
381
381
  type: "button",
382
382
  title: e.translate("italic"),
383
383
  onMousedown: a[5] || (a[5] = w(() => {
384
384
  }, ["prevent"])),
385
385
  onClick: (l) => b(n, e.commands.italic)
386
386
  }, [
387
- C(p, { name: "italic" })
387
+ M(p, { name: "italic" })
388
388
  ], 40, va)) : n.id === "underline" ? (r(), m("button", {
389
389
  key: 5,
390
390
  "data-toolbar-item": "underline",
391
- disabled: !c(S)(n, e.state),
391
+ disabled: !c(V)(n, e.state),
392
392
  "aria-label": e.translate("underline"),
393
- "aria-pressed": c(G)(n, e.state, e.state.underline),
393
+ "aria-pressed": c(Y)(n, e.state, e.state.underline),
394
394
  type: "button",
395
395
  title: e.translate("underline"),
396
396
  onMousedown: a[6] || (a[6] = w(() => {
397
397
  }, ["prevent"])),
398
398
  onClick: (l) => b(n, e.commands.underline)
399
399
  }, [
400
- C(p, { name: "underline" })
400
+ M(p, { name: "underline" })
401
401
  ], 40, ga)) : n.id === "strike" ? (r(), m("button", {
402
402
  key: 6,
403
403
  "data-toolbar-item": "strike",
404
- disabled: !c(S)(n, e.state),
404
+ disabled: !c(V)(n, e.state),
405
405
  "aria-label": e.translate("strike"),
406
- "aria-pressed": c(G)(n, e.state, e.state.strikethrough),
406
+ "aria-pressed": c(Y)(n, e.state, e.state.strikethrough),
407
407
  type: "button",
408
408
  title: e.translate("strike"),
409
409
  onMousedown: a[7] || (a[7] = w(() => {
410
410
  }, ["prevent"])),
411
411
  onClick: (l) => b(n, e.commands.strikethrough)
412
412
  }, [
413
- C(p, { name: "strike" })
413
+ M(p, { name: "strike" })
414
414
  ], 40, fa)) : n.id === "mark" ? (r(), m("button", {
415
415
  key: 7,
416
416
  "data-toolbar-item": "mark",
417
- disabled: !c(S)(n, e.state),
417
+ disabled: !c(V)(n, e.state),
418
418
  "aria-label": e.translate("mark"),
419
- "aria-pressed": c(G)(n, e.state, e.state.mark),
419
+ "aria-pressed": c(Y)(n, e.state, e.state.mark),
420
420
  type: "button",
421
421
  title: e.translate("mark"),
422
422
  onMousedown: a[8] || (a[8] = w(() => {
@@ -435,8 +435,8 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
435
435
  }, ["prevent"])),
436
436
  onClick: a[10] || (a[10] = (l) => d("toggle-code-menu", s(l)))
437
437
  }, [
438
- C(p, { name: "code" }),
439
- C(p, { name: "chevronDown" })
438
+ M(p, { name: "code" }),
439
+ M(p, { name: "chevronDown" })
440
440
  ], 40, ka)) : n.id === "bullet-list" ? (r(), m("button", {
441
441
  key: 9,
442
442
  class: "markdown-editor__toolbar-list",
@@ -450,23 +450,23 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
450
450
  }, ["prevent"])),
451
451
  onClick: a[12] || (a[12] = (l) => d("toggle-list-menu", s(l)))
452
452
  }, [
453
- C(p, {
453
+ M(p, {
454
454
  name: e.state.orderedList ? "orderedList" : "bulletList"
455
455
  }, null, 8, ["name"]),
456
- C(p, { name: "chevronDown" })
456
+ M(p, { name: "chevronDown" })
457
457
  ], 40, wa)) : n.id === "ordered-list" ? (r(), m(F, { key: 10 }, [], 64)) : n.id === "quote" ? (r(), m("button", {
458
458
  key: 11,
459
459
  "data-toolbar-item": "quote",
460
- disabled: !c(S)(n, e.state),
460
+ disabled: !c(V)(n, e.state),
461
461
  "aria-label": e.translate("quote"),
462
- "aria-pressed": c(G)(n, e.state, e.state.quote),
462
+ "aria-pressed": c(Y)(n, e.state, e.state.quote),
463
463
  type: "button",
464
464
  title: e.translate("quote"),
465
465
  onMousedown: a[13] || (a[13] = w(() => {
466
466
  }, ["prevent"])),
467
467
  onClick: (l) => b(n, e.commands.quote)
468
468
  }, [
469
- C(p, { name: "quote" })
469
+ M(p, { name: "quote" })
470
470
  ], 40, ha)) : n.id === "fold-heading" ? (r(), m("button", {
471
471
  key: 12,
472
472
  "data-toolbar-item": "fold-heading",
@@ -489,8 +489,8 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
489
489
  }, ["prevent"])),
490
490
  onClick: a[17] || (a[17] = (l) => d("toggle-link-editor", s(l)))
491
491
  }, [
492
- C(p, { name: "link" })
493
- ], 40, Ma)) : n.id === "color" ? (r(), m("label", {
492
+ M(p, { name: "link" })
493
+ ], 40, Ca)) : n.id === "color" ? (r(), m("label", {
494
494
  key: 15,
495
495
  "data-toolbar-item": "color",
496
496
  class: "markdown-editor__color",
@@ -502,7 +502,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
502
502
  value: "#202125",
503
503
  onInput: a[18] || (a[18] = (l) => d("execute", "color", e.commands.setColor(l.target.value)))
504
504
  }, null, 40, pa)
505
- ], 8, Ca)) : n.id === "image" ? (r(), m("button", {
505
+ ], 8, Ma)) : n.id === "image" ? (r(), m("button", {
506
506
  key: 16,
507
507
  "data-toolbar-item": "image",
508
508
  "aria-expanded": e.imageEditorVisible,
@@ -513,7 +513,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
513
513
  }, ["prevent"])),
514
514
  onClick: a[20] || (a[20] = (l) => d("toggle-image-editor", s(l)))
515
515
  }, [
516
- C(p, { name: "image" })
516
+ M(p, { name: "image" })
517
517
  ], 40, xa)) : n.id === "formula" ? (r(), m("button", {
518
518
  key: 17,
519
519
  "data-toolbar-item": "formula",
@@ -526,7 +526,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
526
526
  }, ["prevent"])),
527
527
  onClick: a[22] || (a[22] = (l) => d("toggle-formula-menu", s(l)))
528
528
  }, [
529
- C(p, { name: "function" })
529
+ M(p, { name: "function" })
530
530
  ], 40, La)) : n.id === "mermaid" ? (r(), m("button", {
531
531
  key: 18,
532
532
  "data-toolbar-item": "mermaid",
@@ -538,7 +538,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
538
538
  }, ["prevent"])),
539
539
  onClick: (l) => b(n, e.commands.insertMermaid)
540
540
  }, [
541
- C(p, { name: "mermaid" })
541
+ M(p, { name: "mermaid" })
542
542
  ], 40, Ba)) : n.id === "html" ? (r(), m("button", {
543
543
  key: 19,
544
544
  "data-toolbar-item": "html",
@@ -558,7 +558,7 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
558
558
  }, ["prevent"])),
559
559
  onClick: a[27] || (a[27] = (l) => d("execute", "horizontal-rule", e.commands.horizontalRule))
560
560
  }, [
561
- C(p, { name: "horizontalRule" })
561
+ M(p, { name: "horizontalRule" })
562
562
  ], 40, Ea)) : n.id === "table" ? (r(), m("button", {
563
563
  key: 21,
564
564
  "data-toolbar-item": "table",
@@ -569,13 +569,13 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
569
569
  }, ["prevent"])),
570
570
  onClick: a[29] || (a[29] = (l) => d("execute", "table", e.commands.insertTable()))
571
571
  }, [
572
- C(p, { name: "table" })
572
+ M(p, { name: "table" })
573
573
  ], 40, Ha)) : E("", !0)
574
574
  ], 64))), 128))
575
575
  ], 8, ra))), 128)),
576
576
  fe(i.$slots, "default", {
577
577
  commands: e.commands,
578
- execute: (M) => d("execute", void 0, M)
578
+ execute: (C) => d("execute", void 0, C)
579
579
  }, void 0, !0)
580
580
  ]),
581
581
  g("button", {
@@ -587,14 +587,14 @@ import './index.css';const ht = `<svg xmlns="http://www.w3.org/2000/svg" width="
587
587
  title: e.translate("mode"),
588
588
  onMousedown: a[30] || (a[30] = w(() => {
589
589
  }, ["prevent"])),
590
- onClick: a[31] || (a[31] = (M) => d("toggle-mode-menu", s(M)))
590
+ onClick: a[31] || (a[31] = (C) => d("toggle-mode-menu", s(C)))
591
591
  }, [
592
- C(p, { name: "gear" }),
593
- C(p, { name: "chevronDown" })
592
+ M(p, { name: "gear" }),
593
+ M(p, { name: "chevronDown" })
594
594
  ], 40, $a)
595
595
  ], 8, ia));
596
596
  }
597
- }), Sa = /* @__PURE__ */ _(Aa, [["__scopeId", "data-v-46de1959"]]), Va = [
597
+ }), Va = /* @__PURE__ */ ae(Sa, [["__scopeId", "data-v-ad92a547"]]), Aa = [
598
598
  "--markdown-background",
599
599
  "--markdown-border",
600
600
  "--markdown-focus-background",
@@ -608,13 +608,13 @@ function z(e, f = {}) {
608
608
  y.value = !1, u?.(), u = void 0;
609
609
  }
610
610
  async function d(i) {
611
- b(), y.value = !0, await ne();
611
+ b(), y.value = !0, await ee();
612
612
  const a = e();
613
613
  if (a === void 0) return;
614
- const M = i.closest(".markdown-editor");
615
- if (M !== null) {
616
- const l = getComputedStyle(M);
617
- for (const k of Va)
614
+ const C = i.closest(".markdown-editor");
615
+ if (C !== null) {
616
+ const l = getComputedStyle(C);
617
+ for (const k of Aa)
618
618
  a.style.setProperty(k, l.getPropertyValue(k));
619
619
  }
620
620
  u = at(i, a, async () => {
@@ -662,7 +662,7 @@ function Pa(e) {
662
662
  const za = ["data-locale", "data-mode", "data-theme"], Fa = {
663
663
  key: 0,
664
664
  class: "markdown-editor__header"
665
- }, Na = /* @__PURE__ */ J({
665
+ }, Na = /* @__PURE__ */ te({
666
666
  name: "MarkdownEditor",
667
667
  __name: "MarkdownEditor",
668
668
  props: {
@@ -675,11 +675,12 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
675
675
  toolbarPreset: { default: "default" },
676
676
  uploadImage: { type: Function, default: void 0 },
677
677
  toolbarConfig: { default: void 0 },
678
- theme: { default: "auto" }
678
+ theme: { default: "auto" },
679
+ features: { default: void 0 }
679
680
  },
680
681
  emits: ["cancel", "change", "mode-change", "update:modelValue", "update:mode", "submit"],
681
682
  setup(e, { expose: f, emit: y }) {
682
- const u = e, b = y, d = Xe(), s = et(), i = He()?.appContext, a = h(), M = h(), n = h(u.mode), l = h("https://"), k = h(""), I = h(""), ke = h(), V = h(""), Y = h(""), q = h(!1), L = h({
683
+ const u = e, b = y, d = Xe(), s = et(), i = He()?.appContext, a = h(), C = h(), n = h(u.mode), l = h("https://"), k = h(""), I = h(""), ke = h(), A = h(""), K = h(""), q = h(!1), L = h({
683
684
  bold: !1,
684
685
  bulletList: !1,
685
686
  code: !1,
@@ -702,9 +703,9 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
702
703
  quote: !1,
703
704
  strikethrough: !1,
704
705
  underline: !1
705
- }), ie = Te(() => L.value.headingLevel?.toString() ?? "paragraph"), $e = Te(() => ie.value === "paragraph" ? "H" : `H${ie.value}`), we = h(), O = h(), he = h(), j = z(() => O.value?.getElement("code")), N = z(() => O.value?.getElement("formula")), U = z(() => O.value?.getElement("heading")), R = z(() => ke.value?.element), K = z(() => he.value?.element, { placement: "top" }), $ = z(() => we.value?.element), W = z(() => O.value?.getElement("list")), Q = z(() => O.value?.getElement("mode"));
706
- let x, se = "visual", ee = 0, re = !1, B;
707
- const { setExternalValue: Ae, setValue: Z, updateFromHost: ye, value: D } = Pa({
706
+ }), re = Te(() => L.value.headingLevel?.toString() ?? "paragraph"), $e = Te(() => re.value === "paragraph" ? "H" : `H${re.value}`), we = h(), O = h(), he = h(), j = z(() => O.value?.getElement("code")), N = z(() => O.value?.getElement("formula")), U = z(() => O.value?.getElement("heading")), R = z(() => ke.value?.element), Z = z(() => he.value?.element, { placement: "top" }), $ = z(() => we.value?.element), W = z(() => O.value?.getElement("list")), Q = z(() => O.value?.getElement("mode"));
707
+ let x, de = "visual", G = 0, ue = !1, B;
708
+ const { setExternalValue: Se, setValue: X, updateFromHost: ye, value: D } = Pa({
708
709
  getMarkupHost: () => x,
709
710
  getVisualHost: () => B,
710
711
  initialValue: u.modelValue,
@@ -712,10 +713,10 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
712
713
  b("update:modelValue", t), b("change", t);
713
714
  }
714
715
  });
715
- function de(t) {
716
+ function me(t) {
716
717
  return Ze(u.locale)[t];
717
718
  }
718
- function ue() {
719
+ function le() {
719
720
  x?.destroy(), B?.destroy(), x = void 0, B = void 0, L.value = {
720
721
  bold: !1,
721
722
  bulletList: !1,
@@ -741,31 +742,31 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
741
742
  underline: !1
742
743
  };
743
744
  }
744
- function Se(t) {
745
+ function Ve(t) {
745
746
  n.value === "markup" || n.value === "split" && typeof t == "object" ? x?.moveCursor(t) : B?.moveCursor(typeof t == "object" ? "start" : t);
746
747
  }
747
- function Ve(t) {
748
+ function Ae(t) {
748
749
  n.value === "markup" || n.value === "split" && x?.hasFocus() ? x?.insert(t) : B?.insert(t);
749
750
  }
750
751
  function Pe() {
751
- if (V.value.trim().length === 0)
752
+ if (A.value.trim().length === 0)
752
753
  return;
753
- re = !0;
754
- const t = Y.value.trim() || V.value.trim();
755
- T() ? x?.run(s.setLink(V.value.trim(), void 0, t, q.value)) : A(void 0, d.setLink(V.value.trim(), t, t, q.value)), $.close();
754
+ ue = !0;
755
+ const t = K.value.trim() || A.value.trim();
756
+ T() ? x?.run(s.setLink(A.value.trim(), void 0, t, q.value)) : S(void 0, d.setLink(A.value.trim(), t, t, q.value)), $.close();
756
757
  }
757
- function Me() {
758
+ function Ce() {
758
759
  $.close();
759
760
  }
760
761
  function ze() {
761
762
  const t = l.value.trim();
762
- t.length !== 0 && (T() ? x?.run(s.insertImage(t, k.value.trim() || "Image", I.value.trim() || void 0)) : A(void 0, d.insertImage(t, k.value.trim() || "Image", I.value.trim() || void 0)), R.close());
763
+ t.length !== 0 && (T() ? x?.run(s.insertImage(t, k.value.trim() || "Image", I.value.trim() || void 0)) : S(void 0, d.insertImage(t, k.value.trim() || "Image", I.value.trim() || void 0)), R.close());
763
764
  }
764
765
  function Fe() {
765
766
  R.close();
766
767
  }
767
768
  function Ne(t) {
768
- T() ? x?.run(t === "paragraph" ? s.paragraph : s.heading(Number(t))) : t === "paragraph" ? A(void 0, d.paragraph) : A(void 0, d.heading(Number(t))), U.close();
769
+ T() ? x?.run(t === "paragraph" ? s.paragraph : s.heading(Number(t))) : t === "paragraph" ? S(void 0, d.paragraph) : S(void 0, d.heading(Number(t))), U.close();
769
770
  }
770
771
  async function Re(t) {
771
772
  T(), await U.toggle(t);
@@ -773,23 +774,23 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
773
774
  async function De(t) {
774
775
  T(), await j.toggle(t);
775
776
  }
776
- function Ce(t, o) {
777
- T() ? x?.run(s[o]) : A(void 0, t), j.close();
777
+ function Me(t, o) {
778
+ T() ? x?.run(s[o]) : S(void 0, t), j.close();
778
779
  }
779
780
  async function Ie(t) {
780
781
  if (T(), $.visible.value) {
781
782
  $.close();
782
783
  return;
783
784
  }
784
- V.value = L.value.linkHref ?? "", Y.value = L.value.linkText ?? window.getSelection()?.toString().trim() ?? "", q.value = L.value.linkOpenInNewWindow, await $.open(t);
785
+ A.value = L.value.linkHref ?? "", K.value = L.value.linkText ?? window.getSelection()?.toString().trim() ?? "", q.value = L.value.linkOpenInNewWindow, await $.open(t);
785
786
  }
786
787
  async function pe(t) {
787
788
  const o = L.value.linkHref;
788
789
  if (o === void 0 && t === void 0) {
789
- Me();
790
+ Ce();
790
791
  return;
791
792
  }
792
- V.value = t?.getAttribute("href") ?? o ?? "", Y.value = t?.textContent ?? L.value.linkText ?? "", q.value = t?.getAttribute("target") === "_blank" || L.value.linkOpenInNewWindow;
793
+ A.value = t?.getAttribute("href") ?? o ?? "", K.value = t?.textContent ?? L.value.linkText ?? "", q.value = t?.getAttribute("target") === "_blank" || L.value.linkOpenInNewWindow;
793
794
  const v = window.getSelection()?.anchorNode, P = v instanceof Element ? v : v?.parentElement, ve = t ?? P?.closest("a");
794
795
  ve != null && await $.open(ve);
795
796
  }
@@ -798,7 +799,7 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
798
799
  if (!(o instanceof Element)) return;
799
800
  const v = o.closest(".ProseMirror img");
800
801
  if (v !== null) {
801
- t.preventDefault(), B?.selectElement(v), K.open(v);
802
+ t.preventDefault(), B?.selectElement(v), Z.open(v);
802
803
  return;
803
804
  }
804
805
  const P = o.closest(".ProseMirror a");
@@ -807,16 +808,16 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
807
808
  async function Oe(t) {
808
809
  T(), await W.toggle(t);
809
810
  }
810
- function te(t, o) {
811
- T() ? x?.run(s[o]) : A(void 0, t), W.close();
811
+ function ne(t, o) {
812
+ T() ? x?.run(s[o]) : S(void 0, t), W.close();
812
813
  }
813
814
  async function je(t) {
814
815
  T(), await R.toggle(t);
815
816
  }
816
817
  async function xe(t) {
817
- A(void 0, t), await ne();
818
- const o = M.value?.querySelector(".ProseMirror img.ProseMirror-selectednode");
819
- o != null && await K.open(o);
818
+ S(void 0, t), await ee();
819
+ const o = C.value?.querySelector(".ProseMirror img.ProseMirror-selectednode");
820
+ o != null && await Z.open(o);
820
821
  }
821
822
  async function Ue(t) {
822
823
  await Q.toggle(t);
@@ -839,30 +840,31 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
839
840
  function Le(t) {
840
841
  const o = t.target;
841
842
  if (o instanceof Node)
842
- for (const v of [U, j, N, $, W, R, K, Q])
843
+ for (const v of [U, j, N, $, W, R, Z, Q])
843
844
  v.contains(o) || v.close();
844
845
  }
845
846
  function Be(t) {
846
847
  if (t.key === "Escape")
847
- for (const o of [U, j, N, $, W, R, K, Q]) o.close();
848
+ for (const o of [U, j, N, $, W, R, Z, Q]) o.close();
848
849
  }
849
- function me() {
850
- n.value !== "markup" && M.value !== void 0 && (B = Je({
850
+ function oe() {
851
+ n.value !== "markup" && C.value !== void 0 && (B = Je({
851
852
  directiveAppContext: i,
852
853
  directiveComponents: u.directiveComponents,
854
+ features: u.features,
853
855
  editable: !u.readonly,
854
856
  initialValue: D.value,
855
857
  onCancel: () => (b("cancel"), !0),
856
858
  onChange: (t) => {
857
- ye(t, "visual"), M.value !== void 0 && ge(M.value, u.locale);
859
+ ye(t, "visual"), C.value !== void 0 && ge(C.value, u.locale);
858
860
  },
859
861
  onSelectionChange: (t) => {
860
- L.value = t, re ? re = !1 : pe();
862
+ L.value = t, ue ? ue = !1 : pe();
861
863
  },
862
864
  onSubmit: () => (b("submit"), !0),
863
865
  placeholder: u.placeholder,
864
- target: M.value
865
- }), ge(M.value, u.locale)), n.value !== "wysiwyg" && a.value !== void 0 && (x = _e({
866
+ target: C.value
867
+ }), ge(C.value, u.locale)), n.value !== "wysiwyg" && a.value !== void 0 && (x = _e({
866
868
  editable: !u.readonly,
867
869
  initialValue: D.value,
868
870
  onChange: (t) => ye(t, "markup"),
@@ -872,13 +874,13 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
872
874
  async function ce(t) {
873
875
  if (t === n.value)
874
876
  return;
875
- const o = ++ee;
876
- n.value = t, b("update:mode", t), b("mode-change", t), ue(), await ne(), o === ee && me();
877
+ const o = ++G;
878
+ n.value = t, b("update:mode", t), b("mode-change", t), le(), await ee(), o === G && oe();
877
879
  }
878
880
  function T() {
879
- return n.value === "markup" ? !0 : n.value === "wysiwyg" ? !1 : (x?.hasFocus() ? se = "markup" : B?.hasFocus() && (se = "visual"), se === "markup");
881
+ return n.value === "markup" ? !0 : n.value === "wysiwyg" ? !1 : (x?.hasFocus() ? de = "markup" : B?.hasFocus() && (de = "visual"), de === "markup");
880
882
  }
881
- function A(t, o) {
883
+ function S(t, o) {
882
884
  if (!u.readonly) {
883
885
  if (T() && t !== void 0) {
884
886
  const P = {
@@ -901,45 +903,48 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
901
903
  B?.run(o);
902
904
  }
903
905
  }
904
- return ae(
906
+ return J(
905
907
  () => u.modelValue,
906
908
  (t) => {
907
- t !== D.value && Ae(t);
909
+ t !== D.value && Se(t);
908
910
  }
909
- ), ae(
911
+ ), J(
910
912
  () => u.mode,
911
913
  (t) => {
912
914
  ce(t);
913
915
  }
914
- ), ae(
916
+ ), J(
915
917
  () => u.locale,
916
918
  (t) => {
917
- M.value !== void 0 && ge(M.value, t);
919
+ C.value !== void 0 && ge(C.value, t);
918
920
  }
919
- ), ae(
921
+ ), J(() => u.features, async () => {
922
+ const t = ++G;
923
+ le(), await ee(), t === G && oe();
924
+ }), J(
920
925
  () => u.readonly,
921
926
  async () => {
922
- const t = ++ee;
923
- ue(), await ne(), t === ee && me();
927
+ const t = ++G;
928
+ le(), await ee(), t === G && oe();
924
929
  }
925
930
  ), rt(() => {
926
- me(), document.addEventListener("pointerdown", Le), document.addEventListener("keydown", Be);
931
+ oe(), document.addEventListener("pointerdown", Le), document.addEventListener("keydown", Be);
927
932
  }), be(() => {
928
- ue(), document.removeEventListener("pointerdown", Le), document.removeEventListener("keydown", Be);
933
+ le(), document.removeEventListener("pointerdown", Le), document.removeEventListener("keydown", Be);
929
934
  }), f({
930
- append: (t) => Z(Ee(D.value, t)),
931
- clear: () => Z(""),
935
+ append: (t) => X(Ee(D.value, t)),
936
+ clear: () => X(""),
932
937
  focus: () => n.value === "markup" ? x?.focus() : B?.focus(),
933
938
  getMode: () => n.value,
934
939
  getValue: () => D.value,
935
940
  hasFocus: () => n.value === "markup" ? x?.hasFocus() ?? !1 : B?.hasFocus() ?? !1,
936
- insert: Ve,
941
+ insert: Ae,
937
942
  isEmpty: () => D.value.length === 0,
938
- moveCursor: Se,
939
- prepend: (t) => Z(Ee(t, D.value)),
940
- replace: Z,
943
+ moveCursor: Ve,
944
+ prepend: (t) => X(Ee(t, D.value)),
945
+ replace: X,
941
946
  setMode: ce,
942
- setValue: Z
947
+ setValue: X
943
948
  }), (t, o) => (r(), m("section", {
944
949
  class: "markdown-editor",
945
950
  "data-locale": e.locale,
@@ -950,7 +955,7 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
950
955
  t.$slots.header ? (r(), m("header", Fa, [
951
956
  fe(t.$slots, "header", {}, void 0, !0)
952
957
  ])) : E("", !0),
953
- e.readonly ? E("", !0) : (r(), X(Sa, {
958
+ e.readonly ? E("", !0) : (r(), _(Va, {
954
959
  key: 1,
955
960
  commands: c(d),
956
961
  "code-menu-visible": c(j).visible.value,
@@ -965,8 +970,9 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
965
970
  "text-style-label": $e.value,
966
971
  "toolbar-preset": e.toolbarPreset,
967
972
  "toolbar-config": e.toolbarConfig,
968
- translate: de,
969
- onExecute: A,
973
+ features: e.features,
974
+ translate: me,
975
+ onExecute: S,
970
976
  onInsertHtml: Qe,
971
977
  onToggleFormulaMenu: Ke,
972
978
  onToggleCodeMenu: De,
@@ -980,9 +986,9 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
980
986
  fe(t.$slots, "toolbar", ut(mt(v)), void 0, !0)
981
987
  ]),
982
988
  _: 3
983
- }, 8, ["commands", "code-menu-visible", "formula-menu-visible", "heading-menu-visible", "image-editor-visible", "link-editor-visible", "list-menu-visible", "mode", "mode-menu-visible", "state", "text-style-label", "toolbar-preset", "toolbar-config"])),
984
- (r(), X(ct, { to: "body" }, [
985
- C(ea, {
989
+ }, 8, ["commands", "code-menu-visible", "formula-menu-visible", "heading-menu-visible", "image-editor-visible", "link-editor-visible", "list-menu-visible", "mode", "mode-menu-visible", "state", "text-style-label", "toolbar-preset", "toolbar-config", "features"])),
990
+ (r(), _(ct, { to: "body" }, [
991
+ M(ea, {
986
992
  ref_key: "floatingMenus",
987
993
  ref: O,
988
994
  "code-visible": c(j).visible.value,
@@ -992,21 +998,21 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
992
998
  mode: n.value,
993
999
  "mode-visible": c(Q).visible.value,
994
1000
  state: L.value,
995
- "text-style": ie.value,
1001
+ "text-style": re.value,
996
1002
  theme: e.theme,
997
- translate: de,
998
- onBulletList: o[0] || (o[0] = (v) => te(c(d).bulletList, "bulletList")),
999
- onCodeBlock: o[1] || (o[1] = (v) => Ce(c(d).codeBlock, "codeBlock")),
1000
- onIndentList: o[2] || (o[2] = (v) => te(c(d).sinkListItem, "indentList")),
1001
- onInlineCode: o[3] || (o[3] = (v) => Ce(c(d).code, "code")),
1003
+ translate: me,
1004
+ onBulletList: o[0] || (o[0] = (v) => ne(c(d).bulletList, "bulletList")),
1005
+ onCodeBlock: o[1] || (o[1] = (v) => Me(c(d).codeBlock, "codeBlock")),
1006
+ onIndentList: o[2] || (o[2] = (v) => ne(c(d).sinkListItem, "indentList")),
1007
+ onInlineCode: o[3] || (o[3] = (v) => Me(c(d).code, "code")),
1002
1008
  onInlineFormula: Ye,
1003
1009
  onMathBlock: Ge,
1004
- onOrderedList: o[4] || (o[4] = (v) => te(c(d).orderedList, "orderedList")),
1005
- onOutdentList: o[5] || (o[5] = (v) => te(c(d).liftListItem, "outdentList")),
1010
+ onOrderedList: o[4] || (o[4] = (v) => ne(c(d).orderedList, "orderedList")),
1011
+ onOutdentList: o[5] || (o[5] = (v) => ne(c(d).liftListItem, "outdentList")),
1006
1012
  onSelectMode: We,
1007
1013
  onSelectTextStyle: Ne
1008
1014
  }, null, 8, ["code-visible", "formula-visible", "heading-visible", "list-visible", "mode", "mode-visible", "state", "text-style", "theme"]),
1009
- c($).visible.value ? (r(), X(kt, {
1015
+ c($).visible.value ? (r(), _(kt, {
1010
1016
  key: 0,
1011
1017
  ref_key: "linkForm",
1012
1018
  ref: we,
@@ -1014,16 +1020,16 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
1014
1020
  locale: e.locale,
1015
1021
  "open-in-new-window": q.value,
1016
1022
  theme: e.theme,
1017
- text: Y.value,
1018
- url: V.value,
1023
+ text: K.value,
1024
+ url: A.value,
1019
1025
  onApply: Pe,
1020
- onCancel: Me,
1021
- onRemove: o[6] || (o[6] = (v) => A(void 0, c(d).removeLink)),
1022
- "onUpdate:text": o[7] || (o[7] = (v) => Y.value = v),
1023
- "onUpdate:url": o[8] || (o[8] = (v) => V.value = v),
1026
+ onCancel: Ce,
1027
+ onRemove: o[6] || (o[6] = (v) => S(void 0, c(d).removeLink)),
1028
+ "onUpdate:text": o[7] || (o[7] = (v) => K.value = v),
1029
+ "onUpdate:url": o[8] || (o[8] = (v) => A.value = v),
1024
1030
  "onUpdate:openInNewWindow": o[9] || (o[9] = (v) => q.value = v)
1025
1031
  }, null, 8, ["has-current-link", "locale", "open-in-new-window", "theme", "text", "url"])) : E("", !0),
1026
- c(R).visible.value ? (r(), X(wt, {
1032
+ c(R).visible.value ? (r(), _(wt, {
1027
1033
  key: 1,
1028
1034
  ref_key: "imageForm",
1029
1035
  ref: ke,
@@ -1039,13 +1045,13 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
1039
1045
  "onUpdate:title": o[11] || (o[11] = (v) => I.value = v),
1040
1046
  "onUpdate:url": o[12] || (o[12] = (v) => l.value = v)
1041
1047
  }, null, 8, ["alt", "locale", "theme", "title", "upload-image", "url"])) : E("", !0),
1042
- c(K).visible.value ? (r(), X(oa, {
1048
+ c(Z).visible.value ? (r(), _(oa, {
1043
1049
  key: 2,
1044
1050
  ref_key: "imageActions",
1045
1051
  ref: he,
1046
1052
  "object-fit": L.value.imageObjectFit,
1047
1053
  theme: e.theme,
1048
- translate: de,
1054
+ translate: me,
1049
1055
  onFullWidth: o[13] || (o[13] = (v) => xe(c(d).setImageDisplay("100%", "contain", null))),
1050
1056
  onObjectFit: o[14] || (o[14] = (v) => xe(c(d).setImageDisplay(void 0, v)))
1051
1057
  }, null, 8, ["object-fit", "theme"])) : E("", !0)
@@ -1056,7 +1062,7 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
1056
1062
  n.value !== "markup" ? (r(), m("div", {
1057
1063
  key: 0,
1058
1064
  ref_key: "visualTarget",
1059
- ref: M,
1065
+ ref: C,
1060
1066
  class: "markdown-editor__visual"
1061
1067
  }, null, 512)) : E("", !0),
1062
1068
  n.value !== "wysiwyg" ? (r(), m("div", {
@@ -1068,7 +1074,7 @@ const za = ["data-locale", "data-mode", "data-theme"], Fa = {
1068
1074
  ], 2)
1069
1075
  ], 8, za));
1070
1076
  }
1071
- }), Qa = /* @__PURE__ */ _(Na, [["__scopeId", "data-v-44b8d7ae"]]);
1077
+ }), Qa = /* @__PURE__ */ ae(Na, [["__scopeId", "data-v-6f49df4e"]]);
1072
1078
  function Ga(e = {}) {
1073
1079
  const f = tt(e), y = h(f.getValue()), u = h(f.getMode()), b = h(f.readonly), d = h(f.toolbarVisible), s = () => f.destroy();
1074
1080
  return f.on("change", (i) => {
@@ -1082,76 +1088,76 @@ function Ga(e = {}) {
1082
1088
  }), He() !== null && be(s), {
1083
1089
  destroy: s,
1084
1090
  editor: f,
1085
- mode: le(u),
1086
- readonly: le(b),
1087
- toolbarVisible: le(d),
1088
- value: le(y)
1091
+ mode: ie(u),
1092
+ readonly: ie(b),
1093
+ toolbarVisible: ie(d),
1094
+ value: ie(y)
1089
1095
  };
1090
1096
  }
1091
1097
  export {
1092
1098
  ol as ActionsManager,
1093
1099
  Hl as BaseInputRules,
1094
1100
  $l as BaseKeymap,
1095
- Al as BaseSchema,
1096
- Sl as Blockquote,
1097
- Hi as BlockquoteSpecs,
1098
- Vl as Bold,
1099
- $i as BoldAttrs,
1100
- Ai as BoldSpecs,
1101
- Si as BreakNodeName,
1101
+ Sl as BaseSchema,
1102
+ Vl as Blockquote,
1103
+ Bi as BlockquoteSpecs,
1104
+ Al as Bold,
1105
+ Ti as BoldAttrs,
1106
+ Ei as BoldSpecs,
1107
+ Hi as BreakNodeName,
1102
1108
  Pl as Breaks,
1103
- Vi as BreaksSpecs,
1109
+ $i as BreaksSpecs,
1104
1110
  zl as ClicksOnEdges,
1105
1111
  Fl as Clipboard,
1106
1112
  Nl as Code,
1107
1113
  Rl as CodeBlock,
1108
- Pi as CodeBlockAttrs,
1109
- zi as CodeBlockSpecs,
1110
- Fi as CodeSpecs,
1111
- Mi as CommonMarkPreset,
1112
- Bi as CommonMarkSpecsPreset,
1114
+ Si as CodeBlockAttrs,
1115
+ Vi as CodeBlockSpecs,
1116
+ Ai as CodeSpecs,
1117
+ wi as CommonMarkPreset,
1118
+ pi as CommonMarkSpecsPreset,
1113
1119
  Dl as Cursor,
1114
- Ci as DefaultPreset,
1120
+ hi as DefaultPreset,
1115
1121
  Il as Deflist,
1116
- Ni as DeflistAttr,
1117
- Ri as DeflistNode,
1118
- Di as DeflistSpecs,
1122
+ Pi as DeflistAttr,
1123
+ zi as DeflistNode,
1124
+ Fi as DeflistSpecs,
1119
1125
  ql as EditorModeKeymap,
1120
1126
  il as EventEmitter,
1121
1127
  sl as ExtensionBuilder,
1122
1128
  rl as ExtensionPriority,
1123
1129
  dl as ExtensionsManager,
1124
- pi as FullPreset,
1125
- Ti as FullSpecsPreset,
1130
+ yi as FullPreset,
1131
+ xi as FullSpecsPreset,
1126
1132
  Ol as GapCursorSelection,
1127
1133
  jl as Heading,
1128
- Ii as HeadingSpecs,
1134
+ Ni as HeadingSpecs,
1129
1135
  Ul as History,
1130
1136
  Wl as HistoryAction,
1131
1137
  Ql as HorizontalRule,
1132
- qi as HorizontalRuleSpecs,
1138
+ Ri as HorizontalRuleSpecs,
1133
1139
  Gl as Html,
1134
1140
  Yl as HtmlAttr,
1135
1141
  Kl as HtmlNode,
1136
1142
  Zl as Image,
1137
1143
  Xl as ImageAttr,
1138
1144
  Jl as Italic,
1139
- Oi as ItalicAttrs,
1140
- ji as ItalicSpecs,
1145
+ Di as ItalicAttrs,
1146
+ Ii as ItalicSpecs,
1141
1147
  Za as Lang,
1142
1148
  _l as Link,
1143
- Ui as LinkAttr,
1144
- Wi as LinkSpecs,
1149
+ qi as LinkAttr,
1150
+ Oi as LinkSpecs,
1145
1151
  en as Lists,
1146
1152
  ul as Logger,
1147
1153
  ml as Logger2,
1148
1154
  tn as Mark,
1149
1155
  cl as MarkdownCodec,
1150
1156
  Qa as MarkdownEditor,
1151
- wi as MarkdownEditorForm,
1157
+ fi as MarkdownEditorForm,
1152
1158
  wt as MarkdownEditorImageForm,
1153
1159
  kt as MarkdownEditorLinkForm,
1154
- hi as MarkdownEditorTextInput,
1160
+ bi as MarkdownEditorTextInput,
1155
1161
  vl as MarkdownParser,
1156
1162
  gl as MarkdownParserDynamicModifier,
1157
1163
  an as Mermaid,
@@ -1166,18 +1172,18 @@ export {
1166
1172
  sn as Selection,
1167
1173
  rn as SelectionContext,
1168
1174
  yl as SerializerTokenRegistry,
1169
- Ml as SerializerTokensRegistry,
1175
+ Cl as SerializerTokensRegistry,
1170
1176
  dn as Strike,
1171
1177
  un as Table,
1172
- Qi as TableAttrs,
1173
- Gi as TableCellAlign,
1174
- Yi as TableNode,
1175
- Ki as TableSpecs,
1178
+ ji as TableAttrs,
1179
+ Ui as TableCellAlign,
1180
+ Wi as TableNode,
1181
+ Qi as TableSpecs,
1176
1182
  mn as Underline,
1177
1183
  cn as VERSION,
1178
- Cl as WysiwygContentHandler,
1184
+ Ml as WysiwygContentHandler,
1179
1185
  vn as YfmHtmlBlock,
1180
- xi as ZeroPreset,
1186
+ Ci as ZeroPreset,
1181
1187
  gn as addBreak,
1182
1188
  fn as addEmptyDefaultTextblockToEndOfDocumentActionName,
1183
1189
  bn as addEmptyDefaultTextblockToStartOfDocumentActionName,
@@ -1185,42 +1191,41 @@ export {
1185
1191
  wn as addImage,
1186
1192
  hn as addParagraphToEnd,
1187
1193
  yn as addParagraphToStart,
1188
- Mn as addTableColumn,
1189
- Cn as addTableRow,
1194
+ Cn as addTableColumn,
1195
+ Mn as addTableRow,
1190
1196
  pn as arrowDown,
1191
1197
  xn as arrowLeft,
1192
1198
  Ln as arrowRight,
1193
1199
  Bn as arrowUp,
1194
1200
  pl as basicMarkdownCodec,
1195
1201
  xl as basicMarkdownSchema,
1196
- Zi as blockquoteNodeName,
1197
- Xi as boldMarkName,
1202
+ Gi as blockquoteNodeName,
1203
+ Yi as boldMarkName,
1198
1204
  tl as cn,
1199
- Ji as codeBlockNodeName,
1200
- _i as codeMarkName,
1205
+ Ki as codeBlockNodeName,
1206
+ Zi as codeMarkName,
1201
1207
  Tn as collapseListsPlugin,
1202
- ri as commonmarkToolbarConfig,
1208
+ oi as commonmarkToolbarConfig,
1203
1209
  Xa as configure,
1204
- oi as configureAdvancedMarkdownRenderers,
1205
1210
  Xe as createBasicEditorCommands,
1206
1211
  et as createBasicMarkupCommands,
1207
1212
  En as createFakeParagraph,
1208
1213
  Hn as createGapCursorPlugin,
1209
1214
  $n as createHistoryActions,
1210
- An as createListActions,
1211
- Sn as createListsInputRules,
1212
- Vn as createListsKeymap,
1215
+ Sn as createListActions,
1216
+ Vn as createListsInputRules,
1217
+ An as createListsKeymap,
1213
1218
  tt as createMarkdownEditor,
1214
1219
  Pn as createTable,
1215
- di as createToolbarConfig,
1216
- ui as createToolbarGroup,
1217
- mi as createToolbarItem,
1220
+ ii as createToolbarConfig,
1221
+ si as createToolbarGroup,
1222
+ ri as createToolbarItem,
1218
1223
  zn as createVueContextPanelPlugin,
1219
1224
  Fn as createVueNodeView,
1220
1225
  Nn as createVueWidgetDecoration,
1221
1226
  Ll as defaultMarkdownSchema,
1222
1227
  Rn as defaultMermaidSource,
1223
- ci as defaultToolbarConfig,
1228
+ di as defaultToolbarConfig,
1224
1229
  Dn as defaultYfmHtml,
1225
1230
  In as deleteTable,
1226
1231
  qn as deleteTableColumn,
@@ -1229,9 +1234,8 @@ export {
1229
1234
  Un as findFakeParaPosForCodeBlock,
1230
1235
  Wn as findFakeParaPosForNodeSelection,
1231
1236
  Qn as findFakeParaPosForTextSelection,
1232
- vi as fullToolbarConfig,
1237
+ ui as fullToolbarConfig,
1233
1238
  Gn as gapCursorBackspace,
1234
- ii as getAdvancedMarkdownRenderers,
1235
1239
  Bl as getBasicWysiwygSelectionState,
1236
1240
  Yn as getBlockquoteType,
1237
1241
  Kn as getBoldType,
@@ -1252,11 +1256,11 @@ export {
1252
1256
  gt as getToolbarConfig,
1253
1257
  ro as getUnderlineType,
1254
1258
  uo as goToTableCell,
1255
- es as headingLevelAttr,
1256
- ts as headingNodeName,
1259
+ Xi as headingLevelAttr,
1260
+ Ji as headingNodeName,
1257
1261
  mo as hierarchicalSelectAll,
1258
- as as horizontalRuleMarkupAttr,
1259
- ls as horizontalRuleNodeName,
1262
+ _i as horizontalRuleMarkupAttr,
1263
+ es as horizontalRuleNodeName,
1260
1264
  co as imageNodeName,
1261
1265
  vo as imageObjectFitValues,
1262
1266
  go as insertMermaid,
@@ -1265,21 +1269,21 @@ export {
1265
1269
  ko as isBreakNode,
1266
1270
  wo as isGapCursorSelection,
1267
1271
  ho as isInsideCode,
1268
- G as isToolbarItemActive,
1272
+ Y as isToolbarItemActive,
1269
1273
  bt as isToolbarItemAvailable,
1270
- S as isToolbarItemEnabled,
1271
- ns as italicMarkName,
1274
+ V as isToolbarItemEnabled,
1275
+ ts as italicMarkName,
1272
1276
  yo as joinPrevList,
1273
- Mo as liftEmptyListItem,
1274
- Co as liftFromQuote,
1275
- os as linkMarkName,
1277
+ Co as liftEmptyListItem,
1278
+ Mo as liftFromQuote,
1279
+ as as linkMarkName,
1276
1280
  po as markMarkName,
1277
1281
  ll as markdownEditorMessages,
1278
- gi as markdownEditorToolbarItemIds,
1282
+ mi as markdownEditorToolbarItemIds,
1279
1283
  xo as mergeListsPlugin,
1280
1284
  Lo as mermaidActionName,
1281
1285
  Bo as mermaidNodeName,
1282
- fi as minimalToolbarConfig,
1286
+ ci as minimalToolbarConfig,
1283
1287
  _e as mountBasicMarkupEditor,
1284
1288
  Je as mountBasicWysiwygEditor,
1285
1289
  To as moveToNextTableRow,
@@ -1287,10 +1291,10 @@ export {
1287
1291
  ft as normalizeToolbarItem,
1288
1292
  Ho as quoteLinkActionName,
1289
1293
  $o as quoteLinkNodeName,
1290
- Ao as removeCurrentLink,
1291
- So as removeLink,
1294
+ So as removeCurrentLink,
1295
+ Vo as removeLink,
1292
1296
  Tl as renderMarkdownPreview,
1293
- Vo as resetCodeBlock,
1297
+ Ao as resetCodeBlock,
1294
1298
  Po as resetHeading,
1295
1299
  zo as setCodeBlock,
1296
1300
  Fo as setCodeBlockLanguage,
@@ -1317,5 +1321,5 @@ export {
1317
1321
  ti as wrapToDeflist,
1318
1322
  ai as yfmHtmlBlockActionName,
1319
1323
  li as yfmHtmlBlockNodeName,
1320
- bi as zeroToolbarConfig
1324
+ vi as zeroToolbarConfig
1321
1325
  };