@vc-shell/framework 1.1.59 → 1.1.61

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 (62) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/framework.js +2875 -2870
  3. package/dist/index.css +1 -1
  4. package/dist/injection-keys.d.ts +1 -0
  5. package/dist/injection-keys.d.ts.map +1 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue.d.ts.map +1 -1
  8. package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue.d.ts.map +1 -1
  9. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  10. package/dist/{vendor-intlify-core-base-DZ8xhqFL.js → vendor-intlify-core-base-FyGSkd6r.js} +167 -166
  11. package/dist/{vendor-intlify-message-compiler-8PCyu80g.js → vendor-intlify-message-compiler-D_vL9-DK.js} +2 -2
  12. package/dist/vendor-intlify-shared-BMbzEQSk.js +144 -0
  13. package/dist/{vendor-prosemirror-commands-BqYcdumy.js → vendor-prosemirror-commands-C6teL3Xo.js} +3 -3
  14. package/dist/{vendor-prosemirror-dropcursor-zknUsW5x.js → vendor-prosemirror-dropcursor-CwZhBUcZ.js} +2 -2
  15. package/dist/{vendor-prosemirror-gapcursor-DjOZhP78.js → vendor-prosemirror-gapcursor-COcwb4TJ.js} +4 -4
  16. package/dist/{vendor-prosemirror-history-l8l3CFac.js → vendor-prosemirror-history-DmPvdOpr.js} +2 -2
  17. package/dist/{vendor-prosemirror-keymap-C17r08p-.js → vendor-prosemirror-keymap-CS1uIBpE.js} +1 -1
  18. package/dist/{vendor-prosemirror-markdown-WJEDhc-w.js → vendor-prosemirror-markdown-sO1Pn6SW.js} +1 -1
  19. package/dist/{vendor-prosemirror-model-BN5TnJD_.js → vendor-prosemirror-model-DwojkhDQ.js} +68 -82
  20. package/dist/{vendor-prosemirror-schema-list-CR0gi7aY.js → vendor-prosemirror-schema-list-rrOzMlj0.js} +2 -2
  21. package/dist/{vendor-prosemirror-state-B0bFP8WI.js → vendor-prosemirror-state-BN86J-Ko.js} +2 -2
  22. package/dist/{vendor-prosemirror-tables-B1txTKlC.js → vendor-prosemirror-tables-C7XMqyon.js} +5 -5
  23. package/dist/{vendor-prosemirror-transform-Bo7kNPme.js → vendor-prosemirror-transform-B0c_LAV_.js} +1 -1
  24. package/dist/{vendor-prosemirror-view--C7TZvmQ.js → vendor-prosemirror-view-DyWzmy4t.js} +3 -3
  25. package/dist/{vendor-tiptap-core-CczYXVC4.js → vendor-tiptap-core-BgwY40dr.js} +7 -7
  26. package/dist/{vendor-tiptap-extension-blockquote-Dm7YbSqy.js → vendor-tiptap-extension-blockquote-BVW0VVC0.js} +1 -1
  27. package/dist/{vendor-tiptap-extension-bold-YKANgJQB.js → vendor-tiptap-extension-bold-xhi5xxPT.js} +1 -1
  28. package/dist/{vendor-tiptap-extension-bubble-menu-gh-OpViI.js → vendor-tiptap-extension-bubble-menu-DhWtcCL3.js} +2 -2
  29. package/dist/{vendor-tiptap-extension-bullet-list-CZWmGEbV.js → vendor-tiptap-extension-bullet-list-Ba21suMY.js} +1 -1
  30. package/dist/{vendor-tiptap-extension-code-Bg0UZ8tC.js → vendor-tiptap-extension-code-DFTxp7wE.js} +1 -1
  31. package/dist/{vendor-tiptap-extension-code-block-DQJ_tCBi.js → vendor-tiptap-extension-code-block-B2KK5g8S.js} +2 -2
  32. package/dist/{vendor-tiptap-extension-document-CpCZXWQI.js → vendor-tiptap-extension-document-CW8jybcc.js} +1 -1
  33. package/dist/{vendor-tiptap-extension-dropcursor-BVniwBbO.js → vendor-tiptap-extension-dropcursor-DdRuETKJ.js} +2 -2
  34. package/dist/{vendor-tiptap-extension-floating-menu-FkBnPfW6.js → vendor-tiptap-extension-floating-menu-Da7fpnr7.js} +2 -2
  35. package/dist/{vendor-tiptap-extension-gapcursor-XdrpVWvW.js → vendor-tiptap-extension-gapcursor-CafmhWSf.js} +2 -2
  36. package/dist/{vendor-tiptap-extension-hard-break-N0r28gea.js → vendor-tiptap-extension-hard-break-n9aI6ybJ.js} +1 -1
  37. package/dist/{vendor-tiptap-extension-heading-CY1DvT1I.js → vendor-tiptap-extension-heading-xj24usOy.js} +1 -1
  38. package/dist/{vendor-tiptap-extension-history-BUL3NsZ9.js → vendor-tiptap-extension-history-C2uOLua2.js} +2 -2
  39. package/dist/{vendor-tiptap-extension-horizontal-rule-D27m_G1b.js → vendor-tiptap-extension-horizontal-rule--uXIYeaK.js} +2 -2
  40. package/dist/{vendor-tiptap-extension-image-CbjGZU8i.js → vendor-tiptap-extension-image-BJx5lyoG.js} +1 -1
  41. package/dist/{vendor-tiptap-extension-italic-zyDDu_SW.js → vendor-tiptap-extension-italic-DPAViC4y.js} +1 -1
  42. package/dist/{vendor-tiptap-extension-link-Bcv4UeMa.js → vendor-tiptap-extension-link-aDGmrWTi.js} +2 -2
  43. package/dist/{vendor-tiptap-extension-list-item-DZU6bwbc.js → vendor-tiptap-extension-list-item-DE9dJ64Q.js} +1 -1
  44. package/dist/{vendor-tiptap-extension-ordered-list-BXSeGf29.js → vendor-tiptap-extension-ordered-list-CcNtDDJm.js} +1 -1
  45. package/dist/{vendor-tiptap-extension-paragraph-PDX7FACk.js → vendor-tiptap-extension-paragraph-DvlrAzIW.js} +1 -1
  46. package/dist/{vendor-tiptap-extension-placeholder-Ue_ElAEg.js → vendor-tiptap-extension-placeholder-DyW7px66.js} +3 -3
  47. package/dist/{vendor-tiptap-extension-strike-rl2UQZzW.js → vendor-tiptap-extension-strike-DMMLEFkd.js} +1 -1
  48. package/dist/{vendor-tiptap-extension-table-B59LhE4D.js → vendor-tiptap-extension-table-BpegTABL.js} +3 -3
  49. package/dist/{vendor-tiptap-extension-table-cell-9N0NKfpg.js → vendor-tiptap-extension-table-cell-8rHRq4BW.js} +1 -1
  50. package/dist/{vendor-tiptap-extension-table-header-DJTZtK2Z.js → vendor-tiptap-extension-table-header-DZ1y7iS2.js} +1 -1
  51. package/dist/{vendor-tiptap-extension-table-row-D7Upcsrg.js → vendor-tiptap-extension-table-row-DmkNUw4L.js} +1 -1
  52. package/dist/{vendor-tiptap-extension-text-Buc1GYNc.js → vendor-tiptap-extension-text-Cwas3TQT.js} +1 -1
  53. package/dist/{vendor-tiptap-extension-underline-COmEda96.js → vendor-tiptap-extension-underline-Hz5uJRfR.js} +1 -1
  54. package/dist/{vendor-tiptap-markdown-QcGJtrvN.js → vendor-tiptap-markdown-Dj1XZWg4.js} +4 -4
  55. package/dist/{vendor-tiptap-starter-kit-rn_ARLXy.js → vendor-tiptap-starter-kit-Cxj07T7v.js} +19 -19
  56. package/dist/{vendor-tiptap-vue-3-KDP_yBZF.js → vendor-tiptap-vue-3-DF4kzEFI.js} +3 -3
  57. package/dist/{vendor-vue-i18n-CXIkMpzB.js → vendor-vue-i18n-DC6m6S7G.js} +34 -34
  58. package/package.json +4 -4
  59. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarContent.vue +13 -3
  60. package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +13 -2
  61. package/ui/components/organisms/vc-app/vc-app.vue +2 -1
  62. package/dist/vendor-intlify-shared-BBJw7VuB.js +0 -130
@@ -226,18 +226,18 @@ class c {
226
226
  position in this fragment. The result object will be reused
227
227
  (overwritten) the next time the function is called. @internal
228
228
  */
229
- findIndex(t, e = -1) {
229
+ findIndex(t) {
230
230
  if (t == 0)
231
- return C(0, t);
231
+ return O(0, t);
232
232
  if (t == this.size)
233
- return C(this.content.length, t);
233
+ return O(this.content.length, t);
234
234
  if (t > this.size || t < 0)
235
235
  throw new RangeError(`Position ${t} outside of fragment (${this})`);
236
- for (let n = 0, i = 0; ; n++) {
237
- let r = this.child(n), s = i + r.nodeSize;
238
- if (s >= t)
239
- return s == t || e > 0 ? C(n + 1, s) : C(n, i);
240
- i = s;
236
+ for (let e = 0, n = 0; ; e++) {
237
+ let i = this.child(e), r = n + i.nodeSize;
238
+ if (r >= t)
239
+ return r == t ? O(e + 1, r) : O(e, n);
240
+ n = r;
241
241
  }
242
242
  }
243
243
  /**
@@ -301,9 +301,9 @@ class c {
301
301
  }
302
302
  }
303
303
  c.empty = new c([], 0);
304
- const v = { index: 0, offset: 0 };
305
- function C(l, t) {
306
- return v.index = l, v.offset = t, v;
304
+ const N = { index: 0, offset: 0 };
305
+ function O(l, t) {
306
+ return N.index = l, N.offset = t, N;
307
307
  }
308
308
  function M(l, t) {
309
309
  if (l === t)
@@ -553,7 +553,7 @@ function tt(l, t, e, n) {
553
553
  let s = l.parent, o = s.content;
554
554
  return m(s, o.cut(0, l.parentOffset).append(e.content).append(o.cut(t.parentOffset)));
555
555
  } else {
556
- let { start: s, end: o } = gt(e, l);
556
+ let { start: s, end: o } = yt(e, l);
557
557
  return m(r, nt(l, s, o, t, n));
558
558
  }
559
559
  else return m(r, A(l, t, n));
@@ -592,7 +592,7 @@ function A(l, t, e) {
592
592
  }
593
593
  return k(t, null, e, n), new c(n);
594
594
  }
595
- function gt(l, t) {
595
+ function yt(l, t) {
596
596
  let e = t.depth - l.openStart, i = t.node(e).copy(l.content);
597
597
  for (let r = e - 1; r >= 0; r--)
598
598
  i = t.node(r).copy(c.from(i));
@@ -843,12 +843,12 @@ class E {
843
843
  return s;
844
844
  }
845
845
  else
846
- L.set(t, n = new yt());
846
+ L.set(t, n = new gt());
847
847
  let i = n.elts[n.i] = E.resolve(t, e);
848
848
  return n.i = (n.i + 1) % xt, i;
849
849
  }
850
850
  }
851
- class yt {
851
+ class gt {
852
852
  constructor() {
853
853
  this.elts = [], this.i = 0;
854
854
  }
@@ -895,7 +895,7 @@ class mt {
895
895
  }
896
896
  }
897
897
  const wt = /* @__PURE__ */ Object.create(null);
898
- class y {
898
+ class g {
899
899
  /**
900
900
  @internal
901
901
  */
@@ -976,7 +976,7 @@ class y {
976
976
  `blockSeparator` is given, it will be inserted to separate text
977
977
  from different block nodes. If `leafText` is given, it'll be
978
978
  inserted for every non-text leaf node encountered, otherwise
979
- [`leafText`](https://prosemirror.net/docs/ref/#model.NodeSpec^leafText) will be used.
979
+ [`leafText`](https://prosemirror.net/docs/ref/#model.NodeSpec.leafText) will be used.
980
980
  */
981
981
  textBetween(t, e, n, i) {
982
982
  return this.content.textBetween(t, e, n, i);
@@ -1020,14 +1020,14 @@ class y {
1020
1020
  the given content (or empty, if no content is given).
1021
1021
  */
1022
1022
  copy(t = null) {
1023
- return t == this.content ? this : new y(this.type, this.attrs, t, this.marks);
1023
+ return t == this.content ? this : new g(this.type, this.attrs, t, this.marks);
1024
1024
  }
1025
1025
  /**
1026
1026
  Create a copy of this node, with the given set of marks instead
1027
1027
  of the node's own marks.
1028
1028
  */
1029
1029
  mark(t) {
1030
- return t == this.marks ? this : new y(this.type, this.attrs, this.content, t);
1030
+ return t == this.marks ? this : new g(this.type, this.attrs, this.content, t);
1031
1031
  }
1032
1032
  /**
1033
1033
  Create a copy of this node with only the content between the
@@ -1264,8 +1264,8 @@ class y {
1264
1264
  return r.type.checkAttrs(r.attrs), r;
1265
1265
  }
1266
1266
  }
1267
- y.prototype.text = void 0;
1268
- class N extends y {
1267
+ g.prototype.text = void 0;
1268
+ class z extends g {
1269
1269
  /**
1270
1270
  @internal
1271
1271
  */
@@ -1287,10 +1287,10 @@ class N extends y {
1287
1287
  return this.text.length;
1288
1288
  }
1289
1289
  mark(t) {
1290
- return t == this.marks ? this : new N(this.type, this.attrs, this.text, t);
1290
+ return t == this.marks ? this : new z(this.type, this.attrs, this.text, t);
1291
1291
  }
1292
1292
  withText(t) {
1293
- return t == this.text ? this : new N(this.type, this.attrs, t, this.marks);
1293
+ return t == this.text ? this : new z(this.type, this.attrs, t, this.marks);
1294
1294
  }
1295
1295
  cut(t = 0, e = this.text.length) {
1296
1296
  return t == 0 && e == this.text.length ? this : this.withText(this.text.slice(t, e));
@@ -1324,7 +1324,7 @@ class w {
1324
1324
  return w.empty;
1325
1325
  let i = rt(n);
1326
1326
  n.next && n.err("Unexpected trailing text");
1327
- let r = Mt(Tt(i));
1327
+ let r = Mt(bt(i));
1328
1328
  return At(r, n), r;
1329
1329
  }
1330
1330
  /**
@@ -1393,9 +1393,9 @@ class w {
1393
1393
  let { type: f, next: p } = s.next[a];
1394
1394
  if (!(f.isText || f.hasRequiredAttrs()) && i.indexOf(p) == -1) {
1395
1395
  i.push(p);
1396
- let g = r(p, o.concat(f));
1397
- if (g)
1398
- return g;
1396
+ let y = r(p, o.concat(f));
1397
+ if (y)
1398
+ return y;
1399
1399
  }
1400
1400
  }
1401
1401
  return null;
@@ -1500,7 +1500,7 @@ function St(l) {
1500
1500
  return t.length == 1 ? t[0] : { type: "seq", exprs: t };
1501
1501
  }
1502
1502
  function Et(l) {
1503
- let t = bt(l);
1503
+ let t = Tt(l);
1504
1504
  for (; ; )
1505
1505
  if (l.eat("+"))
1506
1506
  t = { type: "plus", expr: t };
@@ -1509,7 +1509,7 @@ function Et(l) {
1509
1509
  else if (l.eat("?"))
1510
1510
  t = { type: "opt", expr: t };
1511
1511
  else if (l.eat("{"))
1512
- t = Ot(l, t);
1512
+ t = Ct(l, t);
1513
1513
  else
1514
1514
  break;
1515
1515
  return t;
@@ -1519,11 +1519,11 @@ function W(l) {
1519
1519
  let t = Number(l.next);
1520
1520
  return l.pos++, t;
1521
1521
  }
1522
- function Ot(l, t) {
1522
+ function Ct(l, t) {
1523
1523
  let e = W(l), n = e;
1524
1524
  return l.eat(",") && (l.next != "}" ? n = W(l) : n = -1), l.eat("}") || l.err("Unclosed braced range"), { type: "range", min: e, max: n, expr: t };
1525
1525
  }
1526
- function Ct(l, t) {
1526
+ function Ot(l, t) {
1527
1527
  let e = l.nodeTypes, n = e[t];
1528
1528
  if (n)
1529
1529
  return [n];
@@ -1534,18 +1534,18 @@ function Ct(l, t) {
1534
1534
  }
1535
1535
  return i.length == 0 && l.err("No node type or group '" + t + "' found"), i;
1536
1536
  }
1537
- function bt(l) {
1537
+ function Tt(l) {
1538
1538
  if (l.eat("(")) {
1539
1539
  let t = rt(l);
1540
1540
  return l.eat(")") || l.err("Missing closing paren"), t;
1541
1541
  } else if (/\W/.test(l.next))
1542
1542
  l.err("Unexpected token '" + l.next + "'");
1543
1543
  else {
1544
- let t = Ct(l, l.next).map((e) => (l.inline == null ? l.inline = e.isInline : l.inline != e.isInline && l.err("Mixing inline and block content"), { type: "name", value: e }));
1544
+ let t = Ot(l, l.next).map((e) => (l.inline == null ? l.inline = e.isInline : l.inline != e.isInline && l.err("Mixing inline and block content"), { type: "name", value: e }));
1545
1545
  return l.pos++, t.length == 1 ? t[0] : { type: "choice", exprs: t };
1546
1546
  }
1547
1547
  }
1548
- function Tt(l) {
1548
+ function bt(l) {
1549
1549
  let t = [[]];
1550
1550
  return i(r(l, 0), e()), t;
1551
1551
  function e() {
@@ -1689,10 +1689,10 @@ function at(l, t) {
1689
1689
  let e = /* @__PURE__ */ Object.create(null);
1690
1690
  if (t)
1691
1691
  for (let n in t)
1692
- e[n] = new zt(l, n, t[n]);
1692
+ e[n] = new vt(l, n, t[n]);
1693
1693
  return e;
1694
1694
  }
1695
- class z {
1695
+ class v {
1696
1696
  /**
1697
1697
  @internal
1698
1698
  */
@@ -1771,7 +1771,7 @@ class z {
1771
1771
  create(t = null, e, n) {
1772
1772
  if (this.isText)
1773
1773
  throw new Error("NodeType.create can't construct text nodes");
1774
- return new y(this, this.computeAttrs(t), c.from(e), u.setFrom(n));
1774
+ return new g(this, this.computeAttrs(t), c.from(e), u.setFrom(n));
1775
1775
  }
1776
1776
  /**
1777
1777
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -1779,7 +1779,7 @@ class z {
1779
1779
  if it doesn't match.
1780
1780
  */
1781
1781
  createChecked(t = null, e, n) {
1782
- return e = c.from(e), this.checkContent(e), new y(this, this.computeAttrs(t), e, u.setFrom(n));
1782
+ return e = c.from(e), this.checkContent(e), new g(this, this.computeAttrs(t), e, u.setFrom(n));
1783
1783
  }
1784
1784
  /**
1785
1785
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -1797,7 +1797,7 @@ class z {
1797
1797
  e = s.append(e);
1798
1798
  }
1799
1799
  let i = this.contentMatch.matchFragment(e), r = i && i.fillBefore(c.empty, !0);
1800
- return r ? new y(this, t, e.append(r), u.setFrom(n)) : null;
1800
+ return r ? new g(this, t, e.append(r), u.setFrom(n)) : null;
1801
1801
  }
1802
1802
  /**
1803
1803
  Returns true if the given fragment is valid content for this node
@@ -1860,7 +1860,7 @@ class z {
1860
1860
  */
1861
1861
  static compile(t, e) {
1862
1862
  let n = /* @__PURE__ */ Object.create(null);
1863
- t.forEach((r, s) => n[r] = new z(r, e, s));
1863
+ t.forEach((r, s) => n[r] = new v(r, e, s));
1864
1864
  let i = e.spec.topNode || "doc";
1865
1865
  if (!n[i])
1866
1866
  throw new RangeError("Schema is missing its top node type ('" + i + "')");
@@ -1871,7 +1871,7 @@ class z {
1871
1871
  return n;
1872
1872
  }
1873
1873
  }
1874
- function Nt(l, t, e) {
1874
+ function zt(l, t, e) {
1875
1875
  let n = e.split("|");
1876
1876
  return (i) => {
1877
1877
  let r = i === null ? "null" : typeof i;
@@ -1879,9 +1879,9 @@ function Nt(l, t, e) {
1879
1879
  throw new RangeError(`Expected value of type ${n} for attribute ${t} on type ${l}, got ${r}`);
1880
1880
  };
1881
1881
  }
1882
- class zt {
1882
+ class vt {
1883
1883
  constructor(t, e, n) {
1884
- this.hasDefault = Object.prototype.hasOwnProperty.call(n, "default"), this.default = n.default, this.validate = typeof n.validate == "string" ? Nt(t, e, n.validate) : n.validate;
1884
+ this.hasDefault = Object.prototype.hasOwnProperty.call(n, "default"), this.default = n.default, this.validate = typeof n.validate == "string" ? zt(t, e, n.validate) : n.validate;
1885
1885
  }
1886
1886
  get isRequired() {
1887
1887
  return !this.hasDefault;
@@ -1951,7 +1951,7 @@ class qt {
1951
1951
  let e = this.spec = {};
1952
1952
  for (let i in t)
1953
1953
  e[i] = t[i];
1954
- e.nodes = q.from(t.nodes), e.marks = q.from(t.marks || {}), this.nodes = z.compile(this.spec.nodes, this), this.marks = F.compile(this.spec.marks, this);
1954
+ e.nodes = q.from(t.nodes), e.marks = q.from(t.marks || {}), this.nodes = v.compile(this.spec.nodes, this), this.marks = F.compile(this.spec.marks, this);
1955
1955
  let n = /* @__PURE__ */ Object.create(null);
1956
1956
  for (let i in this.nodes) {
1957
1957
  if (i in this.marks)
@@ -1970,7 +1970,7 @@ class qt {
1970
1970
  let r = this.marks[i], s = r.spec.excludes;
1971
1971
  r.excluded = s == null ? [r] : s == "" ? [] : U(this, s.split(" "));
1972
1972
  }
1973
- this.nodeFromJSON = this.nodeFromJSON.bind(this), this.markFromJSON = this.markFromJSON.bind(this), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
1973
+ this.nodeFromJSON = (i) => g.fromJSON(this, i), this.markFromJSON = (i) => u.fromJSON(this, i), this.topNodeType = this.nodes[this.spec.topNode || "doc"], this.cached.wrappings = /* @__PURE__ */ Object.create(null);
1974
1974
  }
1975
1975
  /**
1976
1976
  Create a node in this schema. The `type` may be a string or a
@@ -1981,7 +1981,7 @@ class qt {
1981
1981
  node(t, e = null, n, i) {
1982
1982
  if (typeof t == "string")
1983
1983
  t = this.nodeType(t);
1984
- else if (t instanceof z) {
1984
+ else if (t instanceof v) {
1985
1985
  if (t.schema != this)
1986
1986
  throw new RangeError("Node type from different schema used (" + t.name + ")");
1987
1987
  } else throw new RangeError("Invalid node type: " + t);
@@ -1993,7 +1993,7 @@ class qt {
1993
1993
  */
1994
1994
  text(t, e) {
1995
1995
  let n = this.nodes.text;
1996
- return new N(n, n.defaultAttrs, t, u.setFrom(e));
1996
+ return new z(n, n.defaultAttrs, t, u.setFrom(e));
1997
1997
  }
1998
1998
  /**
1999
1999
  Create a mark with the given type and attributes.
@@ -2002,20 +2002,6 @@ class qt {
2002
2002
  return typeof t == "string" && (t = this.marks[t]), t.create(e);
2003
2003
  }
2004
2004
  /**
2005
- Deserialize a node from its JSON representation. This method is
2006
- bound.
2007
- */
2008
- nodeFromJSON(t) {
2009
- return y.fromJSON(this, t);
2010
- }
2011
- /**
2012
- Deserialize a mark from its JSON representation. This method is
2013
- bound.
2014
- */
2015
- markFromJSON(t) {
2016
- return u.fromJSON(this, t);
2017
- }
2018
- /**
2019
2005
  @internal
2020
2006
  */
2021
2007
  nodeType(t) {
@@ -2041,7 +2027,7 @@ function U(l, t) {
2041
2027
  }
2042
2028
  return e;
2043
2029
  }
2044
- function vt(l) {
2030
+ function Nt(l) {
2045
2031
  return l.tag != null;
2046
2032
  }
2047
2033
  function Rt(l) {
@@ -2056,7 +2042,7 @@ class P {
2056
2042
  this.schema = t, this.rules = e, this.tags = [], this.styles = [];
2057
2043
  let n = this.matchedStyles = [];
2058
2044
  e.forEach((i) => {
2059
- if (vt(i))
2045
+ if (Nt(i))
2060
2046
  this.tags.push(i);
2061
2047
  else if (Rt(i)) {
2062
2048
  let r = /[^=]*/.exec(i.style)[0];
@@ -2156,7 +2142,7 @@ class P {
2156
2142
  /**
2157
2143
  Construct a DOM parser using the parsing rules listed in a
2158
2144
  schema's [node specs](https://prosemirror.net/docs/ref/#model.NodeSpec.parseDOM), reordered by
2159
- [priority](https://prosemirror.net/docs/ref/#model.ParseRule.priority).
2145
+ [priority](https://prosemirror.net/docs/ref/#model.GenericParseRule.priority).
2160
2146
  */
2161
2147
  static fromSchema(t) {
2162
2148
  return t.cached.domParser || (t.cached.domParser = new P(t, P.schemaRules(t)));
@@ -2202,11 +2188,11 @@ const ft = {
2202
2188
  script: !0,
2203
2189
  style: !0,
2204
2190
  title: !0
2205
- }, ct = { ol: !0, ul: !0 }, O = 1, B = 2, S = 4;
2191
+ }, ct = { ol: !0, ul: !0 }, C = 1, B = 2, S = 4;
2206
2192
  function V(l, t, e) {
2207
- return t != null ? (t ? O : 0) | (t === "full" ? B : 0) : l && l.whitespace == "pre" ? O | B : e & ~S;
2193
+ return t != null ? (t ? C : 0) | (t === "full" ? B : 0) : l && l.whitespace == "pre" ? C | B : e & ~S;
2208
2194
  }
2209
- class b {
2195
+ class T {
2210
2196
  constructor(t, e, n, i, r, s) {
2211
2197
  this.type = t, this.attrs = e, this.marks = n, this.solid = i, this.options = s, this.content = [], this.activeMarks = u.none, this.match = r || (s & S ? null : t.contentMatch);
2212
2198
  }
@@ -2225,7 +2211,7 @@ class b {
2225
2211
  return this.match.findWrapping(t.type);
2226
2212
  }
2227
2213
  finish(t) {
2228
- if (!(this.options & O)) {
2214
+ if (!(this.options & C)) {
2229
2215
  let n = this.content[this.content.length - 1], i;
2230
2216
  if (n && n.isText && (i = /[ \t\r\n\u000c]+$/.exec(n.text))) {
2231
2217
  let r = n;
@@ -2243,7 +2229,7 @@ class G {
2243
2229
  constructor(t, e, n) {
2244
2230
  this.parser = t, this.options = e, this.isOpen = n, this.open = 0, this.localPreserveWS = !1;
2245
2231
  let i = e.topNode, r, s = V(null, e.preserveWhitespace, 0) | (n ? S : 0);
2246
- i ? r = new b(i.type, i.attrs, u.none, !0, e.topMatch || i.type.contentMatch, s) : n ? r = new b(null, null, u.none, !0, null, s) : r = new b(t.schema.topNodeType, null, u.none, !0, null, s), this.nodes = [r], this.find = e.findPositions, this.needsBlock = !1;
2232
+ i ? r = new T(i.type, i.attrs, u.none, !0, e.topMatch || i.type.contentMatch, s) : n ? r = new T(null, null, u.none, !0, null, s) : r = new T(t.schema.topNodeType, null, u.none, !0, null, s), this.nodes = [r], this.find = e.findPositions, this.needsBlock = !1;
2247
2233
  }
2248
2234
  get top() {
2249
2235
  return this.nodes[this.open];
@@ -2255,7 +2241,7 @@ class G {
2255
2241
  t.nodeType == 3 ? this.addTextNode(t, e) : t.nodeType == 1 && this.addElement(t, e);
2256
2242
  }
2257
2243
  addTextNode(t, e) {
2258
- let n = t.nodeValue, i = this.top, r = i.options & B ? "full" : this.localPreserveWS || (i.options & O) > 0;
2244
+ let n = t.nodeValue, i = this.top, r = i.options & B ? "full" : this.localPreserveWS || (i.options & C) > 0;
2259
2245
  if (r === "full" || i.inlineContext(t) || /[^ \t\r\n\u000c]/.test(n)) {
2260
2246
  if (r)
2261
2247
  r !== "full" ? n = n.replace(/\r?\n|\r/g, " ") : n = n.replace(/\r\n?/g, `
@@ -2419,7 +2405,7 @@ class G {
2419
2405
  let o = V(t, r, s.options);
2420
2406
  s.options & S && s.content.length == 0 && (o |= S);
2421
2407
  let h = u.none;
2422
- return n = n.filter((a) => (s.type ? s.type.allowsMarkType(a.type) : K(a.type, t)) ? (h = a.addToSet(h), !1) : !0), this.nodes.push(new b(t, e, h, i, null, o)), this.open++, n;
2408
+ return n = n.filter((a) => (s.type ? s.type.allowsMarkType(a.type) : K(a.type, t)) ? (h = a.addToSet(h), !1) : !0), this.nodes.push(new T(t, e, h, i, null, o)), this.open++, n;
2423
2409
  }
2424
2410
  // Make sure all nodes above this.open are finished and added to
2425
2411
  // their parents
@@ -2438,7 +2424,7 @@ class G {
2438
2424
  for (let e = this.open; e >= 0; e--) {
2439
2425
  if (this.nodes[e] == t)
2440
2426
  return this.open = e, !0;
2441
- this.localPreserveWS && (this.nodes[e].options |= O);
2427
+ this.localPreserveWS && (this.nodes[e].options |= C);
2442
2428
  }
2443
2429
  return !1;
2444
2430
  }
@@ -2595,7 +2581,7 @@ class ut {
2595
2581
  @internal
2596
2582
  */
2597
2583
  serializeNodeInner(t, e) {
2598
- let { dom: n, contentDOM: i } = T(R(e), this.nodes[t.type.name](t), null, t.attrs);
2584
+ let { dom: n, contentDOM: i } = b(R(e), this.nodes[t.type.name](t), null, t.attrs);
2599
2585
  if (i) {
2600
2586
  if (t.isLeaf)
2601
2587
  throw new RangeError("Content hole not allowed in a leaf node spec");
@@ -2623,10 +2609,10 @@ class ut {
2623
2609
  */
2624
2610
  serializeMark(t, e, n = {}) {
2625
2611
  let i = this.marks[t.type.name];
2626
- return i && T(R(n), i(t, e), null, t.attrs);
2612
+ return i && b(R(n), i(t, e), null, t.attrs);
2627
2613
  }
2628
2614
  static renderSpec(t, e, n = null, i) {
2629
- return T(t, e, n, i);
2615
+ return b(t, e, n, i);
2630
2616
  }
2631
2617
  /**
2632
2618
  Build a serializer using the [`toDOM`](https://prosemirror.net/docs/ref/#model.NodeSpec.toDOM)
@@ -2682,7 +2668,7 @@ function Ft(l) {
2682
2668
  }
2683
2669
  return e(l), t;
2684
2670
  }
2685
- function T(l, t, e, n) {
2671
+ function b(l, t, e, n) {
2686
2672
  if (typeof t == "string")
2687
2673
  return { dom: l.createTextNode(t) };
2688
2674
  if (t.nodeType != null)
@@ -2701,18 +2687,18 @@ function T(l, t, e, n) {
2701
2687
  f = 2;
2702
2688
  for (let p in a)
2703
2689
  if (a[p] != null) {
2704
- let g = p.indexOf(" ");
2705
- g > 0 ? h.setAttributeNS(p.slice(0, g), p.slice(g + 1), a[p]) : h.setAttribute(p, a[p]);
2690
+ let y = p.indexOf(" ");
2691
+ y > 0 ? h.setAttributeNS(p.slice(0, y), p.slice(y + 1), a[p]) : p == "style" && h.style ? h.style.cssText = a[p] : h.setAttribute(p, a[p]);
2706
2692
  }
2707
2693
  }
2708
2694
  for (let p = f; p < t.length; p++) {
2709
- let g = t[p];
2710
- if (g === 0) {
2695
+ let y = t[p];
2696
+ if (y === 0) {
2711
2697
  if (p < t.length - 1 || p > f)
2712
2698
  throw new RangeError("Content hole must be the only child of its parent node");
2713
2699
  return { dom: h, contentDOM: h };
2714
2700
  } else {
2715
- let { dom: pt, contentDOM: J } = T(l, g, e, n);
2701
+ let { dom: pt, contentDOM: J } = b(l, y, e, n);
2716
2702
  if (h.appendChild(pt), J) {
2717
2703
  if (o)
2718
2704
  throw new RangeError("Multiple content holes");
@@ -2730,7 +2716,7 @@ export {
2730
2716
  I as R,
2731
2717
  d as S,
2732
2718
  qt as a,
2733
- y as b,
2719
+ g as b,
2734
2720
  F as c,
2735
2721
  P as d
2736
2722
  };
@@ -1,5 +1,5 @@
1
- import { b as h, f as w, l as C, a as S, c as L } from "./vendor-prosemirror-transform-Bo7kNPme.js";
2
- import { F as u, S as I, N as x } from "./vendor-prosemirror-model-BN5TnJD_.js";
1
+ import { b as h, f as w, l as C, a as S, c as L } from "./vendor-prosemirror-transform-B0c_LAV_.js";
2
+ import { F as u, S as I, N as x } from "./vendor-prosemirror-model-DwojkhDQ.js";
3
3
  function O(r, t = null) {
4
4
  return function(e, l) {
5
5
  let { $from: o, $to: n } = e.selection, f = o.blockRange(n);
@@ -1,5 +1,5 @@
1
- import { S as m, F as x, b as B, M as R } from "./vendor-prosemirror-model-BN5TnJD_.js";
2
- import { R as P, b as K, T as $ } from "./vendor-prosemirror-transform-Bo7kNPme.js";
1
+ import { S as m, F as x, b as B, M as R } from "./vendor-prosemirror-model-DwojkhDQ.js";
2
+ import { R as P, b as K, T as $ } from "./vendor-prosemirror-transform-B0c_LAV_.js";
3
3
  const O = /* @__PURE__ */ Object.create(null);
4
4
  class l {
5
5
  /**
@@ -1,8 +1,8 @@
1
- import { P as fe, a as Z, S as N, b as ye, T as E, N as Se } from "./vendor-prosemirror-state-B0bFP8WI.js";
2
- import { F as R, S as v } from "./vendor-prosemirror-model-BN5TnJD_.js";
3
- import { D as X, a as q } from "./vendor-prosemirror-view--C7TZvmQ.js";
4
- import { k as Ae } from "./vendor-prosemirror-keymap-C17r08p-.js";
5
- import { T as Re } from "./vendor-prosemirror-transform-Bo7kNPme.js";
1
+ import { P as fe, a as Z, S as N, b as ye, T as E, N as Se } from "./vendor-prosemirror-state-BN86J-Ko.js";
2
+ import { F as R, S as v } from "./vendor-prosemirror-model-DwojkhDQ.js";
3
+ import { D as X, a as q } from "./vendor-prosemirror-view-DyWzmy4t.js";
4
+ import { k as Ae } from "./vendor-prosemirror-keymap-CS1uIBpE.js";
5
+ import { T as Re } from "./vendor-prosemirror-transform-B0c_LAV_.js";
6
6
  var J, U;
7
7
  if (typeof WeakMap < "u") {
8
8
  let t = /* @__PURE__ */ new WeakMap();
@@ -1,4 +1,4 @@
1
- import { S as w, F as g, M as se, c as oe, R as le } from "./vendor-prosemirror-model-BN5TnJD_.js";
1
+ import { S as w, F as g, M as se, c as oe, R as le } from "./vendor-prosemirror-model-DwojkhDQ.js";
2
2
  const Q = 65535, U = Math.pow(2, 16);
3
3
  function ae(s, e) {
4
4
  return s + e * U;
@@ -1,6 +1,6 @@
1
- import { N as D, S as he, T as x, A as Sn } from "./vendor-prosemirror-state-B0bFP8WI.js";
2
- import { S as J, D as Re, F as _, d as qt, M as Cn } from "./vendor-prosemirror-model-BN5TnJD_.js";
3
- import { d as On } from "./vendor-prosemirror-transform-Bo7kNPme.js";
1
+ import { N as D, S as he, T as x, A as Sn } from "./vendor-prosemirror-state-BN86J-Ko.js";
2
+ import { S as J, D as Re, F as _, d as qt, M as Cn } from "./vendor-prosemirror-model-DwojkhDQ.js";
3
+ import { d as On } from "./vendor-prosemirror-transform-B0c_LAV_.js";
4
4
  const C = function(t) {
5
5
  for (var e = 0; ; e++)
6
6
  if (t = t.previousSibling, !t)
@@ -1,10 +1,10 @@
1
- import { a as j, N as G, P as $, S as D, E as qt, T as A, A as Gt } from "./vendor-prosemirror-state-B0bFP8WI.js";
2
- import { f as Jt, a as lt, T as Yt, c as W, j as Et, l as Qt, R as Xt, b as Zt } from "./vendor-prosemirror-transform-Bo7kNPme.js";
3
- import { E as te } from "./vendor-prosemirror-view--C7TZvmQ.js";
4
- import { a as ee } from "./vendor-prosemirror-keymap-C17r08p-.js";
5
- import { D as ne, F as I, S as re, a as xt, b as se, d as et } from "./vendor-prosemirror-model-BN5TnJD_.js";
6
- import { w as oe, s as ie, l as ae } from "./vendor-prosemirror-schema-list-CR0gi7aY.js";
7
- import { w as ce, s as gt, a as le, b as de, c as ue, d as fe, e as pe, n as he, l as me, f as ge, j as ye, g as be, h as ke, i as ve, k as we, m as Me, o as Se, p as Ee, q as xe } from "./vendor-prosemirror-commands-BqYcdumy.js";
1
+ import { a as j, N as G, P as $, S as D, E as qt, T as A, A as Gt } from "./vendor-prosemirror-state-BN86J-Ko.js";
2
+ import { f as Jt, a as lt, T as Yt, c as W, j as Et, l as Qt, R as Xt, b as Zt } from "./vendor-prosemirror-transform-B0c_LAV_.js";
3
+ import { E as te } from "./vendor-prosemirror-view-DyWzmy4t.js";
4
+ import { a as ee } from "./vendor-prosemirror-keymap-CS1uIBpE.js";
5
+ import { D as ne, F as I, S as re, a as xt, b as se, d as et } from "./vendor-prosemirror-model-DwojkhDQ.js";
6
+ import { w as oe, s as ie, l as ae } from "./vendor-prosemirror-schema-list-rrOzMlj0.js";
7
+ import { w as ce, s as gt, a as le, b as de, c as ue, d as fe, e as pe, n as he, l as me, f as ge, j as ye, g as be, h as ke, i as ve, k as we, m as Me, o as Se, p as Ee, q as xe } from "./vendor-prosemirror-commands-C6teL3Xo.js";
8
8
  function J(n) {
9
9
  const { state: t, transaction: e } = n;
10
10
  let { selection: r } = e, { doc: s } = e, { storedMarks: o } = e;
@@ -1,4 +1,4 @@
1
- import { N as e, w as o, m as r } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { N as e, w as o, m as r } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const n = /^\s*>\s$/, s = e.create({
3
3
  name: "blockquote",
4
4
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { M as r, a as e, b as s, m as n } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { M as r, a as e, b as s, m as n } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const a = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, o = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, d = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, l = r.create({
3
3
  name: "bold",
4
4
  addOptions() {
@@ -1,6 +1,6 @@
1
- import { i as C, c as E, p as T, E as D } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { i as C, c as E, p as T, E as D } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  import { t as O } from "./vendor-tippy-js-BGdgwGX-.js";
3
- import { P as M, a as B } from "./vendor-prosemirror-state-B0bFP8WI.js";
3
+ import { P as M, a as B } from "./vendor-prosemirror-state-BN86J-Ko.js";
4
4
  class R {
5
5
  constructor({ editor: e, element: i, view: p, tippyOptions: m = {}, updateDelay: f = 250, shouldShow: c }) {
6
6
  this.preventHide = !1, this.shouldShow = ({ view: t, state: s, from: o, to: r }) => {
@@ -1,4 +1,4 @@
1
- import { N as o, w as e, m as n } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { N as o, w as e, m as n } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const p = "listItem", s = "textStyle", i = /^\s*([-+*])\s$/, a = o.create({
3
3
  name: "bulletList",
4
4
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { M as t, a as r, b as s, m as a } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { M as t, a as r, b as s, m as a } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const n = /(^|[^`])`([^`]+)`(?!`)/, d = /(^|[^`])`([^`]+)`(?!`)/g, u = t.create({
3
3
  name: "code",
4
4
  addOptions() {
@@ -1,5 +1,5 @@
1
- import { N as d, t as c, m as p } from "./vendor-tiptap-core-CczYXVC4.js";
2
- import { P as f, a as g, T as m, S as h } from "./vendor-prosemirror-state-B0bFP8WI.js";
1
+ import { N as d, t as c, m as p } from "./vendor-tiptap-core-BgwY40dr.js";
2
+ import { P as f, a as g, T as m, S as h } from "./vendor-prosemirror-state-BN86J-Ko.js";
3
3
  const x = /^```([a-z]+)?[\s\n]$/, y = /^~~~([a-z]+)?[\s\n]$/, b = d.create({
4
4
  name: "codeBlock",
5
5
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { N as o } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { N as o } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const t = o.create({
3
3
  name: "doc",
4
4
  topNode: !0,
@@ -1,5 +1,5 @@
1
- import { E as r } from "./vendor-tiptap-core-CczYXVC4.js";
2
- import { d as o } from "./vendor-prosemirror-dropcursor-zknUsW5x.js";
1
+ import { E as r } from "./vendor-tiptap-core-BgwY40dr.js";
2
+ import { d as o } from "./vendor-prosemirror-dropcursor-CwZhBUcZ.js";
3
3
  const n = r.create({
4
4
  name: "dropCursor",
5
5
  addOptions() {
@@ -1,6 +1,6 @@
1
- import { g as c, d as m, p as f, E as y } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { g as c, d as m, p as f, E as y } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  import { t as v } from "./vendor-tippy-js-BGdgwGX-.js";
3
- import { P as g, a as w } from "./vendor-prosemirror-state-B0bFP8WI.js";
3
+ import { P as g, a as w } from "./vendor-prosemirror-state-BN86J-Ko.js";
4
4
  class H {
5
5
  getTextContent(t) {
6
6
  return c(t, { textSerializers: m(this.editor.schema) });
@@ -1,5 +1,5 @@
1
- import { E as s, e, f as t } from "./vendor-tiptap-core-CczYXVC4.js";
2
- import { g as n } from "./vendor-prosemirror-gapcursor-DjOZhP78.js";
1
+ import { E as s, e, f as t } from "./vendor-tiptap-core-BgwY40dr.js";
2
+ import { g as n } from "./vendor-prosemirror-gapcursor-COcwb4TJ.js";
3
3
  const p = s.create({
4
4
  name: "gapCursor",
5
5
  addProseMirrorPlugins() {
@@ -1,4 +1,4 @@
1
- import { N as c, m as l } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { N as c, m as l } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const M = c.create({
3
3
  name: "hardBreak",
4
4
  addOptions() {
@@ -1,4 +1,4 @@
1
- import { N as s, t as n, m as r } from "./vendor-tiptap-core-CczYXVC4.js";
1
+ import { N as s, t as n, m as r } from "./vendor-tiptap-core-BgwY40dr.js";
2
2
  const a = s.create({
3
3
  name: "heading",
4
4
  addOptions() {
@@ -1,5 +1,5 @@
1
- import { E as d } from "./vendor-tiptap-core-CczYXVC4.js";
2
- import { h as t, r as s, u as e } from "./vendor-prosemirror-history-l8l3CFac.js";
1
+ import { E as d } from "./vendor-tiptap-core-BgwY40dr.js";
2
+ import { h as t, r as s, u as e } from "./vendor-prosemirror-history-DmPvdOpr.js";
3
3
  const a = d.create({
4
4
  name: "history",
5
5
  addOptions() {