@templatical/editor 0.6.4 → 0.6.6

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 (128) hide show
  1. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-B2MT0M58.js} +34 -34
  2. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-w5ek3Z76.js} +62 -62
  3. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-ChlAWywJ.js} +20 -20
  4. package/dist/{BlockA11yBadge-CXDLqkcJ.js → BlockA11yBadge-C0S6kPC4.js} +12 -12
  5. package/dist/{CloudEditor-nzrRhHIi.js → CloudEditor-DYYaScFe.js} +441 -441
  6. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-Bo8vtPId.js} +20 -20
  7. package/dist/CommentsSidebar-BQROg36f.js +441 -0
  8. package/dist/{cdn/chunks/CountdownBlock-5YdT1uUu.js → CountdownBlock-Bxqe7zwL.js} +21 -22
  9. package/dist/CountdownToolbar-CpFAnjSo.js +210 -0
  10. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-CfqpcWX6.js} +52 -52
  11. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-CFkDkjBb.js} +1 -1
  12. package/dist/{ModuleBrowserModal-DrUFMTDx.js → ModuleBrowserModal-CKhsaPnA.js} +79 -79
  13. package/dist/{ModulePreviewCanvas-CHdOwV_4.js → ModulePreviewCanvas-Cw9GeGus.js} +29 -29
  14. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-Dw8dN1Pt.js} +88 -88
  15. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-DjDiUzmv.js} +218 -218
  16. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-CK3Om7ES.js} +38 -38
  17. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-CSUPmfRP.js} +34 -34
  18. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-DwX2fj6N.js} +33 -33
  19. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-BIAeCAEP.js} +82 -82
  20. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-CIlBvWWn.js} +30 -30
  21. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-BCV5k6wj.js} +67 -67
  22. package/dist/{TplModal-BwSfxIHf.js → TplModal-C3Hq9b58.js} +14 -14
  23. package/dist/{accessibility-e8JYu_zd.js → accessibility-BgUEA-Ai.js} +1 -1
  24. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-iUurP50H.js} +2 -2
  25. package/dist/bundle-stats.json +6 -6
  26. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js → AccessibilityPanel-AQD2ygU6.js} +34 -34
  27. package/dist/cdn/chunks/{AccessibilityPanel-B6DOjojm.js.map → AccessibilityPanel-AQD2ygU6.js.map} +1 -1
  28. package/dist/cdn/chunks/{AiFeatureMenu-qEdB2fZJ.js → AiFeatureMenu-CDh9ifC8.js} +16 -16
  29. package/dist/cdn/chunks/{AiFeatureMenu-qEdB2fZJ.js.map → AiFeatureMenu-CDh9ifC8.js.map} +1 -1
  30. package/dist/cdn/chunks/{BlockA11yBadge-DcEZftf6.js → BlockA11yBadge-BxZr3s7T.js} +10 -10
  31. package/dist/cdn/chunks/{BlockA11yBadge-DcEZftf6.js.map → BlockA11yBadge-BxZr3s7T.js.map} +1 -1
  32. package/dist/cdn/chunks/{CloudEditor-dwzWDF_n.js → CloudEditor-Fg7pQ9IQ.js} +425 -425
  33. package/dist/cdn/chunks/{CloudEditor-dwzWDF_n.js.map → CloudEditor-Fg7pQ9IQ.js.map} +1 -1
  34. package/dist/cdn/chunks/{CollaboratorBar--nO7TX6b.js → CollaboratorBar-B5a8eBXN.js} +20 -20
  35. package/dist/cdn/chunks/{CollaboratorBar--nO7TX6b.js.map → CollaboratorBar-B5a8eBXN.js.map} +1 -1
  36. package/dist/cdn/chunks/CountdownBlock-BeHkO19t.js +93 -0
  37. package/dist/cdn/chunks/{CountdownBlock-5YdT1uUu.js.map → CountdownBlock-BeHkO19t.js.map} +1 -1
  38. package/dist/cdn/chunks/CountdownToolbar-8UfW0jb1.js +212 -0
  39. package/dist/cdn/chunks/{CountdownToolbar-DXPXrbAA.js.map → CountdownToolbar-8UfW0jb1.js.map} +1 -1
  40. package/dist/cdn/chunks/{ModuleBrowserModal-DxoPp81s.js → ModuleBrowserModal-BMUyAmmj.js} +43 -43
  41. package/dist/cdn/chunks/{ModuleBrowserModal-DxoPp81s.js.map → ModuleBrowserModal-BMUyAmmj.js.map} +1 -1
  42. package/dist/cdn/chunks/{ModulePreviewCanvas-CoLdb4ar.js → ModulePreviewCanvas-CxSc7Pvd.js} +23 -23
  43. package/dist/cdn/chunks/{ModulePreviewCanvas-CoLdb4ar.js.map → ModulePreviewCanvas-CxSc7Pvd.js.map} +1 -1
  44. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js → NumberWithSuffix-BSOUOUCL.js} +108 -108
  45. package/dist/cdn/chunks/{NumberWithSuffix-CE3NrZhH.js.map → NumberWithSuffix-BSOUOUCL.js.map} +1 -1
  46. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js → ParagraphEditor-S1bpgxe5.js} +187 -187
  47. package/dist/cdn/chunks/{ParagraphEditor-B6Ygu-Mq.js.map → ParagraphEditor-S1bpgxe5.js.map} +1 -1
  48. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js → RichTextEditorContent-ByehRfEA.js} +33 -33
  49. package/dist/cdn/chunks/{RichTextEditorContent-DL_y2SrR.js.map → RichTextEditorContent-ByehRfEA.js.map} +1 -1
  50. package/dist/cdn/chunks/{SaveModuleDialog-B0TnO_o9.js → SaveModuleDialog-5CNMvgYL.js} +27 -27
  51. package/dist/cdn/chunks/{SaveModuleDialog-B0TnO_o9.js.map → SaveModuleDialog-5CNMvgYL.js.map} +1 -1
  52. package/dist/cdn/chunks/{TitleEditor-BHpfxvwy.js → TitleEditor-BASWPsCM.js} +66 -66
  53. package/dist/cdn/chunks/{TitleEditor-BHpfxvwy.js.map → TitleEditor-BASWPsCM.js.map} +1 -1
  54. package/dist/cdn/chunks/{blockTypeIcons-BzzY9_kA.js → blockTypeIcons-DfOffaYP.js} +3 -3
  55. package/dist/cdn/chunks/{blockTypeIcons-BzzY9_kA.js.map → blockTypeIcons-DfOffaYP.js.map} +1 -1
  56. package/dist/cdn/chunks/draggable-CNhyCGIO.js +4804 -0
  57. package/dist/cdn/chunks/draggable-CNhyCGIO.js.map +1 -0
  58. package/dist/cdn/chunks/{extensions-DIxF31tA.js → extensions-BJOV1jre.js} +95 -95
  59. package/dist/cdn/chunks/{extensions-DIxF31tA.js.map → extensions-BJOV1jre.js.map} +1 -1
  60. package/dist/cdn/chunks/{features-DEMb13KS.js → features-D6FoOm8v.js} +2272 -2269
  61. package/dist/cdn/chunks/features-D6FoOm8v.js.map +1 -0
  62. package/dist/cdn/chunks/{icons-CsLTcirh.js → icons-CpsjWPU-.js} +2 -2
  63. package/dist/cdn/chunks/{icons-CsLTcirh.js.map → icons-CpsjWPU-.js.map} +1 -1
  64. package/dist/cdn/chunks/{media-library-CVaNvhpM.js → media-library-CEd7Lqxk.js} +1397 -1397
  65. package/dist/cdn/chunks/{media-library-CVaNvhpM.js.map → media-library-CEd7Lqxk.js.map} +1 -1
  66. package/dist/cdn/chunks/{pusher-CDbNlZBE.js → pusher-bjpcqCZG.js} +2 -2
  67. package/dist/cdn/chunks/{pusher-CDbNlZBE.js.map → pusher-bjpcqCZG.js.map} +1 -1
  68. package/dist/cdn/chunks/{quality-BaBfc54_.js → quality-Bx1oORXQ.js} +3 -3
  69. package/dist/cdn/chunks/{quality-BaBfc54_.js.map → quality-Bx1oORXQ.js.map} +1 -1
  70. package/dist/cdn/chunks/{renderer-CUxvx7ro.js → renderer-CwxCisa-.js} +3 -3
  71. package/dist/cdn/chunks/{renderer-CUxvx7ro.js.map → renderer-CwxCisa-.js.map} +1 -1
  72. package/dist/{rolldown-runtime-BZGGJVDF.js → cdn/chunks/rolldown-runtime-C266TIVP.js} +5 -5
  73. package/dist/cdn/chunks/{src-CRaqN-p8.js → src-DDSInEkE.js} +171 -171
  74. package/dist/cdn/chunks/{src-CRaqN-p8.js.map → src-DDSInEkE.js.map} +1 -1
  75. package/dist/cdn/chunks/styles-B1uu-Cc9.js +2944 -0
  76. package/dist/cdn/chunks/styles-B1uu-Cc9.js.map +1 -0
  77. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js → tiptap-IyIsncxY.js} +45 -46
  78. package/dist/cdn/chunks/{tiptap-ZhwKyFp7.js.map → tiptap-IyIsncxY.js.map} +1 -1
  79. package/dist/cdn/editor.css +1 -1
  80. package/dist/cdn/editor.js +122 -122
  81. package/dist/cdn/editor.js.map +1 -1
  82. package/dist/{check-Da05j8yl.js → check-Bg5yrRmX.js} +1 -1
  83. package/dist/{chevron-down-R2uY34iD.js → chevron-down-tee-ghFi.js} +1 -1
  84. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-C0L9pUQ4.js} +1 -1
  85. package/dist/{clock-CRp2sIub.js → clock-CDlEdqiP.js} +1 -1
  86. package/dist/{cloud-DEk_b4CR.js → cloud-a3VovHva.js} +145 -145
  87. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-Di4mqmGn.js} +9 -9
  88. package/dist/{dist-B1IR0bpH.js → dist-BzRLLpfq.js} +107 -107
  89. package/dist/{dist-BFawx6IS.js → dist-Pk4MhWMP.js} +35 -35
  90. package/dist/{extensions-CUcl9Ok4.js → extensions-BF39Siqk.js} +103 -103
  91. package/dist/{image-up-MBZKKg9p.js → image-up-1D_3XDdO.js} +1 -1
  92. package/dist/index.d.ts +8 -8
  93. package/dist/{info-CJEC7piy.js → info-DTGrc0Bx.js} +1 -1
  94. package/dist/{keys-ciNfSSGj.js → keys-Bqs_0du9.js} +1 -1
  95. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-_9bP23op.js} +1 -1
  96. package/dist/{message-circle-yElBbR2C.js → message-circle-gzy2ZGJ3.js} +1 -1
  97. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-BNAhAmtL.js} +1 -1
  98. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  99. package/dist/{scan-line-D0vcUekt.js → scan-line-DUEg6DoT.js} +1 -1
  100. package/dist/{send-DH4oDQqC.js → send-BatIZC9a.js} +1 -1
  101. package/dist/{shield-check-CfJgs2Hd.js → shield-check-C5Gv2cM1.js} +1 -1
  102. package/dist/{sparkles-CvRXGqFs.js → sparkles-D1IGi_cC.js} +1 -1
  103. package/dist/style.css +1 -1
  104. package/dist/styles-BgmKdc2x.js +3173 -0
  105. package/dist/templatical-editor.js +99 -99
  106. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-DG3aAH7Y.js} +1 -1
  107. package/dist/{trash-2-DbP2Y6t2.js → trash-2-424iqbpN.js} +1 -1
  108. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-DWQySIE2.js} +1 -1
  109. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-CL_AwWwi.js} +4 -4
  110. package/dist/useEditorCore-CnXrv71D.js +3794 -0
  111. package/dist/{useI18n-lb2DHDiu.js → useI18n-CgmQftNf.js} +4 -4
  112. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-vpwrZ9eQ.js} +3 -3
  113. package/dist/vue.runtime.esm-bundler-Bxqkjqhc.js +4300 -0
  114. package/dist/{x-u2oVmjN_.js → x-Dlaenqta.js} +1 -1
  115. package/package.json +8 -8
  116. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  117. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  118. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  119. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  120. package/dist/cdn/chunks/draggable-Bcb86AsV.js +0 -11572
  121. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +0 -1
  122. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  123. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +0 -20
  124. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  125. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  126. package/dist/styles-DEXEkBvg.js +0 -3176
  127. package/dist/useEditorCore-C6ost42Q.js +0 -9342
  128. package/dist/vue.runtime.esm-bundler-DpvJL-nX.js +0 -5775
@@ -1,6 +1,5 @@
1
- import { r as e } from "./rolldown-runtime-BNuo_Jkg.js";
2
- import { $ as t, A as n, C as r, G as i, P as a, S as o, V as s, Y as c, Z as l, a as u, at as d, j as f, k as p, nt as m, tt as h, w as g } from "./draggable-Bcb86AsV.js";
3
- import "./features-DEMb13KS.js";
1
+ import { n as e } from "./rolldown-runtime-C266TIVP.js";
2
+ import { $ as t, A as n, B as r, C as i, N as a, O as o, S as s, W as c, Y as l, Z as u, et as d, i as f, k as p, q as m, rt as h, x as g } from "./draggable-CNhyCGIO.js";
4
3
  //#region ../../node_modules/.pnpm/orderedmap@2.1.1/node_modules/orderedmap/dist/index.js
5
4
  function _(e) {
6
5
  this.content = e;
@@ -14073,7 +14072,7 @@ var c_ = K.create({
14073
14072
  wrappingInputRule: () => Vd
14074
14073
  });
14075
14074
  function m_(e) {
14076
- return i((t, n) => ({
14075
+ return c((t, n) => ({
14077
14076
  get() {
14078
14077
  return t(), e;
14079
14078
  },
@@ -14090,7 +14089,7 @@ var h_ = class extends Id {
14090
14089
  constructor(e = {}) {
14091
14090
  return super(e), this.contentComponent = null, this.appContext = null, this.reactiveState = m_(this.view.state), this.reactiveExtensionStorage = m_(this.extensionStorage), this.on("beforeTransaction", ({ nextState: e }) => {
14092
14091
  this.reactiveState.value = e, this.reactiveExtensionStorage.value = this.extensionStorage;
14093
- }), c(this);
14092
+ }), m(this);
14094
14093
  }
14095
14094
  get state() {
14096
14095
  return this.reactiveState ? this.reactiveState.value : this.view.state;
@@ -14106,47 +14105,47 @@ var h_ = class extends Id {
14106
14105
  let t = super.unregisterPlugin(e);
14107
14106
  return this.reactiveState && t && (this.reactiveState.value = t), t;
14108
14107
  }
14109
- }, g_ = o({
14108
+ }, g_ = g({
14110
14109
  name: "EditorContent",
14111
14110
  props: { editor: {
14112
14111
  default: null,
14113
14112
  type: Object
14114
14113
  } },
14115
14114
  setup(e) {
14116
- let i = t(), a = r();
14117
- return s(() => {
14118
- let t = e.editor;
14119
- t && t.options.element && i.value && p(() => {
14120
- if (!i.value || !t.view.dom?.parentNode) return;
14121
- let e = d(i.value);
14122
- i.value.append(...t.view.dom.parentNode.childNodes), t.contentComponent = a.ctx._, a && (t.appContext = {
14123
- ...a.appContext,
14124
- provides: a.provides
14125
- }), t.setOptions({ element: e }), t.createNodeViews();
14115
+ let t = u(), n = s();
14116
+ return r(() => {
14117
+ let r = e.editor;
14118
+ r && r.options.element && t.value && o(() => {
14119
+ if (!t.value || !r.view.dom?.parentNode) return;
14120
+ let e = h(t.value);
14121
+ t.value.append(...r.view.dom.parentNode.childNodes), r.contentComponent = n.ctx._, n && (r.appContext = {
14122
+ ...n.appContext,
14123
+ provides: n.provides
14124
+ }), r.setOptions({ element: e }), r.createNodeViews();
14126
14125
  });
14127
- }), n(() => {
14126
+ }), p(() => {
14128
14127
  let t = e.editor;
14129
14128
  t && (t.contentComponent = null, t.appContext = null);
14130
- }), { rootEl: i };
14129
+ }), { rootEl: t };
14131
14130
  },
14132
14131
  render() {
14133
- return g("div", { ref: (e) => {
14132
+ return i("div", { ref: (e) => {
14134
14133
  this.rootEl = e;
14135
14134
  } });
14136
14135
  }
14137
- }), __ = o({
14136
+ }), __ = g({
14138
14137
  name: "NodeViewContent",
14139
14138
  props: { as: {
14140
14139
  type: String,
14141
14140
  default: "div"
14142
14141
  } },
14143
14142
  render() {
14144
- return g(this.as, {
14143
+ return i(this.as, {
14145
14144
  style: { whiteSpace: "pre-wrap" },
14146
14145
  "data-node-view-content": ""
14147
14146
  });
14148
14147
  }
14149
- }), v_ = o({
14148
+ }), v_ = g({
14150
14149
  name: "NodeViewWrapper",
14151
14150
  props: { as: {
14152
14151
  type: String,
@@ -14155,7 +14154,7 @@ var h_ = class extends Id {
14155
14154
  inject: ["onDragStart", "decorationClasses"],
14156
14155
  render() {
14157
14156
  var e;
14158
- return g(this.as, {
14157
+ return i(this.as, {
14159
14158
  class: this.decorationClasses,
14160
14159
  style: { whiteSpace: "normal" },
14161
14160
  "data-node-view-wrapper": "",
@@ -14163,17 +14162,17 @@ var h_ = class extends Id {
14163
14162
  }, (e = this.$slots).default?.call(e));
14164
14163
  }
14165
14164
  }), y_ = (e = {}) => {
14166
- let t = h();
14167
- return f(() => {
14168
- t.value = new h_(e);
14169
- }), n(() => {
14170
- var e, n;
14171
- let r = t.value?.view.dom?.parentNode, i = r?.cloneNode(!0);
14172
- (e = r?.parentNode) == null || e.replaceChild(i, r), (n = t.value) == null || n.destroy();
14173
- }), t;
14165
+ let r = t();
14166
+ return n(() => {
14167
+ r.value = new h_(e);
14168
+ }), p(() => {
14169
+ var e, t;
14170
+ let n = r.value?.view.dom?.parentNode, i = n?.cloneNode(!0);
14171
+ (e = n?.parentNode) == null || e.replaceChild(i, n), (t = r.value) == null || t.destroy();
14172
+ }), r;
14174
14173
  }, b_ = class {
14175
14174
  constructor(e, { props: t = {}, editor: n }) {
14176
- this.destroyed = !1, this.editor = n, this.component = c(e), this.el = document.createElement("div"), this.props = l(t), this.renderedComponent = this.renderComponent();
14175
+ this.destroyed = !1, this.editor = n, this.component = m(e), this.el = document.createElement("div"), this.props = l(t), this.renderedComponent = this.renderComponent();
14177
14176
  }
14178
14177
  get element() {
14179
14178
  return this.renderedComponent.el;
@@ -14183,11 +14182,11 @@ var h_ = class extends Id {
14183
14182
  }
14184
14183
  renderComponent() {
14185
14184
  if (this.destroyed) return this.renderedComponent;
14186
- let e = g(this.component, this.props);
14187
- return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && u(e, this.el), {
14185
+ let e = i(this.component, this.props);
14186
+ return this.editor.appContext && (e.appContext = this.editor.appContext), typeof document < "u" && this.el && f(e, this.el), {
14188
14187
  vNode: e,
14189
14188
  destroy: () => {
14190
- this.el && u(null, this.el), this.el = null, e = null;
14189
+ this.el && f(null, this.el), this.el = null, e = null;
14191
14190
  },
14192
14191
  el: this.el ? this.el.firstElementChild : null
14193
14192
  };
@@ -14229,14 +14228,14 @@ var h_ = class extends Id {
14229
14228
  type: Object,
14230
14229
  required: !0
14231
14230
  }
14232
- }, S_ = o({
14231
+ }, S_ = g({
14233
14232
  name: "MarkViewContent",
14234
14233
  props: { as: {
14235
14234
  type: String,
14236
14235
  default: "span"
14237
14236
  } },
14238
14237
  render() {
14239
- return g(this.as, {
14238
+ return i(this.as, {
14240
14239
  style: { whiteSpace: "inherit" },
14241
14240
  "data-mark-view-content": ""
14242
14241
  });
@@ -14247,7 +14246,7 @@ var h_ = class extends Id {
14247
14246
  let r = {
14248
14247
  ...t,
14249
14248
  updateAttributes: this.updateAttributes.bind(this)
14250
- }, i = o({
14249
+ }, i = g({
14251
14250
  extends: { ...e },
14252
14251
  props: Object.keys(r),
14253
14252
  template: this.component.template,
@@ -14269,7 +14268,7 @@ var h_ = class extends Id {
14269
14268
  return this.dom.querySelector("[data-mark-view-content]");
14270
14269
  }
14271
14270
  updateAttributes(e) {
14272
- let t = m(this.mark);
14271
+ let t = d(this.mark);
14273
14272
  super.updateAttributes(e, t);
14274
14273
  }
14275
14274
  destroy() {
@@ -14350,15 +14349,15 @@ var T_ = {
14350
14349
  getPos: () => this.getPos(),
14351
14350
  updateAttributes: (e = {}) => this.updateAttributes(e),
14352
14351
  deleteNode: () => this.deleteNode()
14353
- }, n = this.onDragStart.bind(this);
14354
- this.decorationClasses = t(this.getDecorationClasses());
14355
- let r = o({
14352
+ }, t = this.onDragStart.bind(this);
14353
+ this.decorationClasses = u(this.getDecorationClasses());
14354
+ let n = g({
14356
14355
  extends: { ...this.component },
14357
14356
  props: Object.keys(e),
14358
14357
  template: this.component.template,
14359
14358
  setup: (e) => {
14360
- var t;
14361
- return a("onDragStart", n), a("decorationClasses", this.decorationClasses), (t = this.component).setup?.call(t, e, { expose: () => void 0 });
14359
+ var n;
14360
+ return a("onDragStart", t), a("decorationClasses", this.decorationClasses), (n = this.component).setup?.call(n, e, { expose: () => void 0 });
14362
14361
  },
14363
14362
  __scopeId: this.component.__scopeId,
14364
14363
  __cssModules: this.component.__cssModules,
@@ -14369,7 +14368,7 @@ var T_ = {
14369
14368
  if (!this.renderer) return;
14370
14369
  let e = this.getPos();
14371
14370
  typeof e != "number" || e === this.currentPos || (this.currentPos = e, this.renderer.updateProps({ getPos: () => this.getPos() }));
14372
- }, df(this.editor, this.positionCheckCallback), this.renderer = new b_(r, {
14371
+ }, df(this.editor, this.positionCheckCallback), this.renderer = new b_(n, {
14373
14372
  editor: this.editor,
14374
14373
  props: e
14375
14374
  });
@@ -14651,4 +14650,4 @@ var M_ = j_;
14651
14650
  //#endregion
14652
14651
  export { q as _, u_ as a, rh as c, Ff as d, Nf as f, id as g, K as h, p_ as i, eh as l, bf as m, v_ as n, lh as o, jf as p, D_ as r, oh as s, M_ as t, Vm as u, md as v, G as y };
14653
14652
 
14654
- //# sourceMappingURL=tiptap-ZhwKyFp7.js.map
14653
+ //# sourceMappingURL=tiptap-IyIsncxY.js.map