@harbour-enterprises/superdoc 0.29.0-next.15 → 0.29.0-next.17

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 (42) hide show
  1. package/dist/chunks/{PdfViewer-B7X4xur3.cjs → PdfViewer-DYxoL3aX.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BL9hLN-A.es.js → PdfViewer-cB0Wc125.es.js} +1 -1
  3. package/dist/chunks/{index-CCTDIDk7.es.js → index-BkH3Ewpn.es.js} +3 -3
  4. package/dist/chunks/{index-x0B8ORNX--SLHZ7wS.es.js → index-CdXg92JS-CoYVY9yT.es.js} +1 -1
  5. package/dist/chunks/{index-x0B8ORNX-D9kjqjf9.cjs → index-CdXg92JS-rI1se8w8.cjs} +1 -1
  6. package/dist/chunks/{index-CCVmXx2r.cjs → index-Cp4ihfTg.cjs} +3 -3
  7. package/dist/chunks/{super-editor.es-LUVoGFZl.es.js → super-editor.es-DbVz9iFq.es.js} +68 -36
  8. package/dist/chunks/{super-editor.es-BkV-6f5K.cjs → super-editor.es-GK0HIFwy.cjs} +68 -36
  9. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  10. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  11. package/dist/style.css +12 -12
  12. package/dist/super-editor/ai-writer.es.js +2 -2
  13. package/dist/super-editor/chunks/{converter-Bt0gPwYj.js → converter-BxHd90vg.js} +1 -1
  14. package/dist/super-editor/chunks/{docx-zipper-JVCnlDBn.js → docx-zipper-DRDqDf4t.js} +1 -1
  15. package/dist/super-editor/chunks/{editor-BF7w_sd7.js → editor-BN_AUZwq.js} +65 -38
  16. package/dist/super-editor/chunks/{index-x0B8ORNX.js → index-CdXg92JS.js} +1 -1
  17. package/dist/super-editor/chunks/{toolbar-CI9lB3KI.js → toolbar-CeJfRy_U.js} +2 -2
  18. package/dist/super-editor/converter.es.js +1 -1
  19. package/dist/super-editor/docx-zipper.es.js +2 -2
  20. package/dist/super-editor/editor.es.js +3 -3
  21. package/dist/super-editor/file-zipper.es.js +1 -1
  22. package/dist/super-editor/style.css +12 -12
  23. package/dist/super-editor/super-editor/src/components/pagination-helpers.d.ts.map +1 -1
  24. package/dist/super-editor/super-editor/src/components/toolbar/defaultItems.d.ts.map +1 -1
  25. package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
  26. package/dist/super-editor/super-editor/src/core/Editor.d.ts.map +1 -1
  27. package/dist/super-editor/super-editor/src/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  28. package/dist/super-editor/super-editor/src/extensions/page-number/page-number.d.ts.map +1 -1
  29. package/dist/super-editor/super-editor/src/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  30. package/dist/super-editor/super-editor/src/extensions/pagination/pagination.d.ts.map +1 -1
  31. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts +1 -0
  33. package/dist/super-editor/super-editor/src/utils/headless-helpers.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor.es.js +24 -18
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +1 -1
  37. package/dist/super-editor.es.js +1 -1
  38. package/dist/superdoc.cjs +2 -2
  39. package/dist/superdoc.es.js +2 -2
  40. package/dist/superdoc.umd.js +70 -38
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
@@ -12,8 +12,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, registerCopyHandler_fn, insertNewFileData_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, checkFonts_fn, determineUnsupportedFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _DocumentSectionView_instances, init_fn2, addToolTip_fn, _ListItemNodeView_instances, init_fn3, applyIndentStyling_fn, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn;
13
13
  import * as Y from "yjs";
14
14
  import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
15
- import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberingHelpers, ap as parseIndentElement, aq as combineIndents, ar as twipsToPixels, as as PIXELS_PER_INCH, at as SelectionRange, au as Transform, av as isInTable$1, aw as generateDocxRandomId, ax as insertNewRelationship, ay as inchesToPixels } from "./converter-Bt0gPwYj.js";
16
- import { D as DocxZipper } from "./docx-zipper-JVCnlDBn.js";
15
+ import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as updateDOMAttributes, ah as findChildren$5, ai as htmlHandler, aj as generateRandomSigned32BitIntStrId, ak as InputRule, al as kebabCase, am as findParentNodeClosestToPos, an as getListItemStyleDefinitions, ao as docxNumberingHelpers, ap as parseIndentElement, aq as combineIndents, ar as twipsToPixels, as as PIXELS_PER_INCH, at as SelectionRange, au as Transform, av as isInTable$1, aw as generateDocxRandomId, ax as insertNewRelationship, ay as inchesToPixels } from "./converter-BxHd90vg.js";
16
+ import { D as DocxZipper } from "./docx-zipper-DRDqDf4t.js";
17
17
  import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
@@ -11701,9 +11701,15 @@ const applyStyleIsolationClass = (target) => {
11701
11701
  if (!target || !target.classList) return;
11702
11702
  target.classList.add(STYLE_ISOLATION_CLASS);
11703
11703
  };
11704
+ const isHeadless = (editor) => {
11705
+ return editor?.options?.isHeadless ?? false;
11706
+ };
11707
+ const shouldSkipNodeView = (editor) => {
11708
+ return isHeadless(editor);
11709
+ };
11704
11710
  const PaginationPluginKey = new PluginKey("paginationPlugin");
11705
11711
  const initPaginationData = async (editor) => {
11706
- if (!editor.converter) return;
11712
+ if (isHeadless(editor) || !editor.converter) return;
11707
11713
  const sectionData = { headers: {}, footers: {} };
11708
11714
  const headerIds = editor.converter.headerIds.ids;
11709
11715
  const footerIds = editor.converter.footerIds.ids;
@@ -11839,6 +11845,7 @@ const broadcastEditorEvents = (editor, sectionEditor) => {
11839
11845
  });
11840
11846
  };
11841
11847
  const toggleHeaderFooterEditMode = ({ editor, focusedSectionEditor, isEditMode, documentMode }) => {
11848
+ if (isHeadless(editor)) return;
11842
11849
  editor.converter.headerEditors.forEach((item) => {
11843
11850
  item.editor.setEditable(isEditMode, false);
11844
11851
  item.editor.view.dom.setAttribute("aria-readonly", !isEditMode);
@@ -14955,10 +14962,12 @@ const _Editor = class _Editor extends EventEmitter {
14955
14962
  };
14956
14963
  if ("orientation" in screen && "addEventListener" in screen.orientation) {
14957
14964
  screen.orientation.addEventListener("change", handleResize);
14958
- } else {
14965
+ } else if (typeof window !== "undefined" && typeof window.matchMedia === "function") {
14959
14966
  window.matchMedia("(orientation: portrait)").addEventListener("change", handleResize);
14960
14967
  }
14961
- window.addEventListener("resize", () => handleResize);
14968
+ if (typeof window !== "undefined" && typeof window.addEventListener === "function") {
14969
+ window.addEventListener("resize", () => handleResize);
14970
+ }
14962
14971
  }
14963
14972
  /**
14964
14973
  * Get document identifier for telemetry (async - may generate hash)
@@ -15072,7 +15081,7 @@ const _Editor = class _Editor extends EventEmitter {
15072
15081
  { default: remarkStringify },
15073
15082
  { default: remarkGfm }
15074
15083
  ] = await Promise.all([
15075
- import("./index-x0B8ORNX.js"),
15084
+ import("./index-CdXg92JS.js"),
15076
15085
  import("./index-DRCvimau.js"),
15077
15086
  import("./index-C_x_N6Uh.js"),
15078
15087
  import("./index-D_sWOSiG.js"),
@@ -15124,7 +15133,7 @@ const _Editor = class _Editor extends EventEmitter {
15124
15133
  this.initDefaultStyles();
15125
15134
  hasMadeUpdate = true;
15126
15135
  }
15127
- if (hasMadeUpdate) {
15136
+ if (hasMadeUpdate && !isHeadless(this)) {
15128
15137
  const newTr = this.view.state.tr;
15129
15138
  newTr.setMeta("forceUpdatePagination", true);
15130
15139
  this.view.dispatch(newTr);
@@ -15290,7 +15299,7 @@ const _Editor = class _Editor extends EventEmitter {
15290
15299
  * @returns {Object | void} Migration results
15291
15300
  */
15292
15301
  processCollaborationMigrations() {
15293
- console.debug("[checkVersionMigrations] Current editor version", "0.29.0-next.15");
15302
+ console.debug("[checkVersionMigrations] Current editor version", "0.29.0-next.17");
15294
15303
  if (!this.options.ydoc) return;
15295
15304
  const metaMap = this.options.ydoc.getMap("meta");
15296
15305
  let docVersion = metaMap.get("version");
@@ -15802,16 +15811,18 @@ createView_fn = function(element) {
15802
15811
  handleClick: __privateMethod(this, _Editor_instances, handleNodeSelection_fn).bind(this),
15803
15812
  handleDoubleClick: async (view, pos, event) => {
15804
15813
  if (this.options.documentMode !== "editing") return;
15805
- const isHeader = hasSomeParentWithClass(event.target, "pagination-section-header");
15806
- const isFooter = hasSomeParentWithClass(event.target, "pagination-section-footer");
15807
- if (isHeader || isFooter) {
15808
- const eventClone = new event.constructor(event.type);
15809
- event.target.dispatchEvent(eventClone);
15810
- if (this.options.isHeaderOrFooter && this.options.editable) setWordSelection(view, pos);
15811
- return;
15814
+ if (!isHeadless(this)) {
15815
+ const isHeader = hasSomeParentWithClass(event.target, "pagination-section-header");
15816
+ const isFooter = hasSomeParentWithClass(event.target, "pagination-section-footer");
15817
+ if (isHeader || isFooter) {
15818
+ const eventClone = new event.constructor(event.type);
15819
+ event.target.dispatchEvent(eventClone);
15820
+ if (this.options.isHeaderOrFooter && this.options.editable) setWordSelection(view, pos);
15821
+ return;
15822
+ }
15812
15823
  }
15813
15824
  event.stopPropagation();
15814
- if (!this.options.editable) {
15825
+ if (!this.options.editable && !isHeadless(this)) {
15815
15826
  this.setEditable(true, false);
15816
15827
  toggleHeaderFooterEditMode({
15817
15828
  editor: this,
@@ -20490,9 +20501,6 @@ function orderedListSync(editor) {
20490
20501
  }
20491
20502
  });
20492
20503
  }
20493
- const shouldSkipNodeView = (editor) => {
20494
- return editor.options.isHeadless;
20495
- };
20496
20504
  const ListItem = Node$1.create({
20497
20505
  name: "listItem",
20498
20506
  content: "paragraph* block*",
@@ -26464,7 +26472,7 @@ const FieldAnnotation = Node$1.create({
26464
26472
  }
26465
26473
  if (dispatch) {
26466
26474
  commands2.updateFieldAnnotationsAttributes([annotation], attrs);
26467
- if (this.editor.options.pagination) {
26475
+ if (this.editor.options.pagination && !isHeadless(this.editor)) {
26468
26476
  setTimeout(() => {
26469
26477
  const newTr = this.editor.view.state.tr;
26470
26478
  newTr.setMeta("forceUpdatePagination", true);
@@ -28401,7 +28409,9 @@ const PageNumber = Node$1.create({
28401
28409
  const pageNumberNode = schema.nodeFromJSON(pageNumberNodeJSON);
28402
28410
  if (dispatch) {
28403
28411
  tr.replaceSelectionWith(pageNumberNode, false);
28404
- tr.setMeta("forceUpdatePagination", true);
28412
+ if (!isHeadless(editor)) {
28413
+ tr.setMeta("forceUpdatePagination", true);
28414
+ }
28405
28415
  }
28406
28416
  return true;
28407
28417
  }
@@ -37068,6 +37078,10 @@ const Pagination = Extension.create({
37068
37078
  };
37069
37079
  },
37070
37080
  addCommands() {
37081
+ const editor = this.editor;
37082
+ if (isHeadless(editor)) {
37083
+ return {};
37084
+ }
37071
37085
  return {
37072
37086
  insertPageBreak: () => ({ commands: commands2 }) => {
37073
37087
  return commands2.insertContent({
@@ -37078,20 +37092,26 @@ const Pagination = Extension.create({
37078
37092
  * Toggle pagination on/off
37079
37093
  * @returns {void}
37080
37094
  */
37081
- togglePagination: () => ({ tr, state, dispatch, editor }) => {
37095
+ togglePagination: () => ({ tr, state, dispatch, editor: editor2 }) => {
37082
37096
  const isEnabled = PaginationPluginKey.getState(state)?.isEnabled;
37083
37097
  tr.setMeta(PaginationPluginKey, { isEnabled: !isEnabled });
37084
37098
  if (dispatch) {
37085
37099
  dispatch(tr);
37086
- editor.initDefaultStyles(editor.element, !isEnabled);
37100
+ editor2.initDefaultStyles(editor2.element, !isEnabled);
37087
37101
  return true;
37088
37102
  }
37089
37103
  }
37090
37104
  };
37091
37105
  },
37092
37106
  addShortcuts() {
37107
+ const editor = this.editor;
37108
+ if (isHeadless(editor)) {
37109
+ return {};
37110
+ }
37093
37111
  return {
37094
- "Mod-Enter": () => this.editor.commands.insertPageBreak()
37112
+ "Mod-Enter": () => {
37113
+ return editor.commands.insertPageBreak();
37114
+ }
37095
37115
  };
37096
37116
  },
37097
37117
  /**
@@ -37099,6 +37119,9 @@ const Pagination = Extension.create({
37099
37119
  */
37100
37120
  addPmPlugins() {
37101
37121
  const editor = this.editor;
37122
+ if (isHeadless(editor)) {
37123
+ return [];
37124
+ }
37102
37125
  let isUpdating = false;
37103
37126
  let shouldUpdate = false;
37104
37127
  let hasInitialized = false;
@@ -37114,7 +37137,7 @@ const Pagination = Extension.create({
37114
37137
  isReadyToInit: false,
37115
37138
  decorations: DecorationSet.empty,
37116
37139
  isDebugging,
37117
- isEnabled: editor.options.pagination
37140
+ isEnabled: editor.options.pagination && !isHeadless(editor)
37118
37141
  };
37119
37142
  },
37120
37143
  apply(tr, oldState, prevEditorState, newEditorState) {
@@ -37192,6 +37215,7 @@ const Pagination = Extension.create({
37192
37215
  let previousDecorations = DecorationSet.empty;
37193
37216
  return {
37194
37217
  update: (view) => {
37218
+ if (isHeadless(editor)) return;
37195
37219
  if (!PaginationPluginKey.getState(view.state)?.isEnabled) return;
37196
37220
  if (!shouldUpdate || isUpdating) return;
37197
37221
  const performPaginationUpdate = () => {
@@ -37215,6 +37239,7 @@ const Pagination = Extension.create({
37215
37239
  },
37216
37240
  props: {
37217
37241
  decorations(state) {
37242
+ if (isHeadless(editor)) return DecorationSet.empty;
37218
37243
  const pluginState = PaginationPluginKey.getState(state);
37219
37244
  return pluginState.isEnabled ? pluginState.decorations : DecorationSet.empty;
37220
37245
  }
@@ -37583,7 +37608,7 @@ const getHeaderFooterEditorKey = ({ pageNumber, isHeader, isFooter, isFirstHeade
37583
37608
  return void 0;
37584
37609
  };
37585
37610
  const onHeaderFooterDblClick = (editor, currentFocusedSectionEditor) => {
37586
- if (editor.options.documentMode !== "editing") return;
37611
+ if (isHeadless(editor) || editor.options.documentMode !== "editing") return;
37587
37612
  editor.setEditable(false, false);
37588
37613
  toggleHeaderFooterEditMode({
37589
37614
  editor,
@@ -37655,6 +37680,7 @@ function getActualBreakCoords(view, pos, calculatedThreshold) {
37655
37680
  return actualBreak;
37656
37681
  }
37657
37682
  const onImageLoad = (editor) => {
37683
+ if (isHeadless(editor)) return;
37658
37684
  if (typeof requestAnimationFrame !== "function") return;
37659
37685
  requestAnimationFrame(() => {
37660
37686
  const newTr = editor.view.state.tr;
@@ -38494,9 +38520,9 @@ const NodeResizer = Extension.create({
38494
38520
  return {};
38495
38521
  },
38496
38522
  addPmPlugins() {
38497
- const isHeadless = this.editor.options.isHeadless;
38523
+ const isHeadless2 = this.editor.options.isHeadless;
38498
38524
  const hasDocument = typeof document !== "undefined";
38499
- if (isHeadless || !hasDocument) return [];
38525
+ if (isHeadless2 || !hasDocument) return [];
38500
38526
  return [nodeResizer(["image"], this.editor)];
38501
38527
  }
38502
38528
  });
@@ -38643,17 +38669,18 @@ export {
38643
38669
  undoDepth as j,
38644
38670
  redoDepth as k,
38645
38671
  collectTrackedChangesForContext as l,
38646
- getStarterExtensions as m,
38647
- getRichTextExtensions as n,
38648
- Decoration as o,
38649
- Extension as p,
38650
- index$1 as q,
38672
+ isHeadless as m,
38673
+ getStarterExtensions as n,
38674
+ getRichTextExtensions as o,
38675
+ Decoration as p,
38676
+ Extension as q,
38651
38677
  replaceSelectionWithImagePlaceholder as r,
38652
38678
  shouldBypassContextMenu as s,
38653
- index as t,
38679
+ index$1 as t,
38654
38680
  useHighContrastMode as u,
38655
- AnnotatorHelpers as v,
38656
- SectionHelpers as w,
38657
- getAllowedImageDimensions as x,
38658
- yUndoPluginKey as y
38681
+ index as v,
38682
+ AnnotatorHelpers as w,
38683
+ SectionHelpers as x,
38684
+ yUndoPluginKey as y,
38685
+ getAllowedImageDimensions as z
38659
38686
  };
@@ -1,4 +1,4 @@
1
- import { aA as getDefaultExportFromCjs } from "./converter-Bt0gPwYj.js";
1
+ import { aA as getDefaultExportFromCjs } from "./converter-BxHd90vg.js";
2
2
  import { V as VFile } from "./index-CvBqQJbG.js";
3
3
  function bail(error) {
4
4
  if (error) {
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { p as process$1 } from "./converter-Bt0gPwYj.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-BF7w_sd7.js";
2
+ import { p as process$1 } from "./converter-BxHd90vg.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-BN_AUZwq.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-Bt0gPwYj.js";
1
+ import { a5 } from "./chunks/converter-BxHd90vg.js";
2
2
  export {
3
3
  a5 as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-Bt0gPwYj.js";
2
- import { D } from "./chunks/docx-zipper-JVCnlDBn.js";
1
+ import "./chunks/converter-BxHd90vg.js";
2
+ import { D } from "./chunks/docx-zipper-DRDqDf4t.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-BF7w_sd7.js";
2
- import "./chunks/converter-Bt0gPwYj.js";
3
- import "./chunks/docx-zipper-JVCnlDBn.js";
1
+ import { E } from "./chunks/editor-BN_AUZwq.js";
2
+ import "./chunks/converter-BxHd90vg.js";
3
+ import "./chunks/docx-zipper-DRDqDf4t.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-JVCnlDBn.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-DRDqDf4t.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -1366,13 +1366,13 @@ on the right if it is inside shape textbox.
1366
1366
  color: #666;
1367
1367
  }
1368
1368
 
1369
- .style-name[data-v-698bdb8e] {
1369
+ .style-name[data-v-9c96d4a1] {
1370
1370
  padding: 16px 10px;
1371
1371
  }
1372
- .style-name[data-v-698bdb8e]:hover {
1372
+ .style-name[data-v-9c96d4a1]:hover {
1373
1373
  background-color: #c8d0d8;
1374
1374
  }
1375
- .linked-style-buttons[data-v-698bdb8e] {
1375
+ .linked-style-buttons[data-v-9c96d4a1] {
1376
1376
  display: flex;
1377
1377
  flex-direction: column;
1378
1378
  width: 100%;
@@ -1383,7 +1383,7 @@ on the right if it is inside shape textbox.
1383
1383
  margin: 0;
1384
1384
  overflow: auto;
1385
1385
  }
1386
- .button-icon[data-v-698bdb8e] {
1386
+ .button-icon[data-v-9c96d4a1] {
1387
1387
  cursor: pointer;
1388
1388
  padding: 5px;
1389
1389
  font-size: 16px;
@@ -1395,10 +1395,10 @@ on the right if it is inside shape textbox.
1395
1395
  align-items: center;
1396
1396
  box-sizing: border-box;
1397
1397
  }
1398
- .button-icon[data-v-698bdb8e]:hover {
1398
+ .button-icon[data-v-9c96d4a1]:hover {
1399
1399
  background-color: #d8dee5;
1400
1400
  }
1401
- .button-icon[data-v-698bdb8e] svg {
1401
+ .button-icon[data-v-9c96d4a1] svg {
1402
1402
  width: 100%;
1403
1403
  height: 100%;
1404
1404
  display: block;
@@ -1947,10 +1947,10 @@ on the right if it is inside shape textbox.
1947
1947
  min-height: 40px;
1948
1948
  }
1949
1949
 
1950
- .editor-element[data-v-9d25f5b3] {
1950
+ .editor-element[data-v-cd3558fe] {
1951
1951
  position: relative;
1952
1952
  }
1953
- .super-editor-container[data-v-9d25f5b3] {
1953
+ .super-editor-container[data-v-cd3558fe] {
1954
1954
  width: auto;
1955
1955
  height: auto;
1956
1956
  min-width: 8in;
@@ -1959,13 +1959,13 @@ on the right if it is inside shape textbox.
1959
1959
  display: flex;
1960
1960
  flex-direction: column;
1961
1961
  }
1962
- .ruler[data-v-9d25f5b3] {
1962
+ .ruler[data-v-cd3558fe] {
1963
1963
  margin-bottom: 2px;
1964
1964
  }
1965
- .super-editor[data-v-9d25f5b3] {
1965
+ .super-editor[data-v-cd3558fe] {
1966
1966
  color: initial;
1967
1967
  }
1968
- .placeholder-editor[data-v-9d25f5b3] {
1968
+ .placeholder-editor[data-v-cd3558fe] {
1969
1969
  position: absolute;
1970
1970
  top: 0;
1971
1971
  left: 0;
@@ -1977,7 +1977,7 @@ on the right if it is inside shape textbox.
1977
1977
  background-color: white;
1978
1978
  box-sizing: border-box;
1979
1979
  }
1980
- .placeholder-title[data-v-9d25f5b3] {
1980
+ .placeholder-title[data-v-cd3558fe] {
1981
1981
  display: flex;
1982
1982
  justify-content: center;
1983
1983
  margin-bottom: 40px;
@@ -1 +1 @@
1
- {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination-helpers.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,mDAJW,WAAW,gBAET,IAAI,CAyBhB"}
1
+ {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination-helpers.js"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,mDAJW,WAAW,gBAET,IAAI,CAyBhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAsBO;;;;;EA0qCN"}
1
+ {"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;EA8qCN"}
@@ -1 +1 @@
1
- {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAwBA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;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;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAWW,WAAW;;;;eACX,GAAC;;6BApIc,eAAe"}
1
+ {"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAwBA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IAwBE;;;;OAIG;IACH,oBAHW,aAAa,EA4DvB;IArFD;;;OAGG;IACH,QAFU,aAAa,CAmBrB;IAWA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,aAAmC;IACnC,sBAA4B;IAuC5B,gCAA6B;IAI3B,uQAAoD;IAEtD,kBAAyC;IAI3C,0CAgBC;IAkVD;;;;OAIG;IACH,aAHc,GAAC,EAAA,GACF,IAAI,CAIhB;IAED;;;;OAIG;IACH,qBAHW,MAAM,GACJ,IAAI,CAMhB;IAED;;;;OAIG;IACH,8BAFa,IAAI,CAKhB;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,WAAW,EAAE,CAIzB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,WAAW,GAAC,SAAS,CAIjC;IAgGD;;;;OAIG;IACH,sBAFa,IAAI,CAwHhB;IAED;;;OAGG;IACH,uBAFa,IAAI,CAef;IA0BE,eAAmD;IACnD,eAAmD;IAsBvD;;;;;OAKG;IACH,qCAHG;QAAuB,WAAW;KAClC,GAAU,IAAI,CAKhB;IAED;;;;;;OAMG;IACH,wCALW,WAAW,GAGT,GAAC,CAoCb;;CAoCF;;;;8BAl9BY,CAAS,IAAW,EAAX,WAAW,KAAG,IAAI;;;;;eAS1B,MAAM;;;;oB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AAU,CAAC,EAAE,OAAO,CAAC;QACrB,OAAO,CAAC,EAAE,MAAS,IAAI,CAAC;QACxB,aAAa,CAAC,EAAE,MAAS,IAAI,CAAC;KACjC,KAAK,OAAO,GAAG,SAAS;;6BA7IG,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAcA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,mCA6mCG;qBA/nC6B,gBAAgB"}
1
+ {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAeA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,mCA8mCG;qBAjoC6B,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,8BAkFG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,kCAoFG;AAuBH;IACE,wFAQC;IAPC,UAAgB;IAChB,YAAoB;IACpB,UAAuB;IACvB,YAAoB;IAGpB,qBAAgD;IAmDlD,2BAMC;;CACF;;;;;;;;;;;;;;;;;qBA3S+B,gBAAgB"}
1
+ {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,8BAqFG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;;GAKG;AACH,kCAoFG;AAuBH;IACE,wFAQC;IAPC,UAAgB;IAChB,YAAoB;IACpB,UAAuB;IACvB,YAAoB;IAGpB,qBAAgD;IAmDlD,2BAMC;;CACF;;;;;;;;;;;;;;;;;qBA9S+B,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAMA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA+BM;;;;;;;;;gBA8EN;AAEM,6EAeN;AAEM;;;;;SAwBN;AAEM;;;8DAoBN;0BAhOyB,mBAAmB;sCACP,iBAAiB"}
1
+ {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAOA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA+BM;;;;;;;;;gBA8EN;AAEM,6EAeN;AAEM;;;;;SA0BN;AAEM;;;8DAoBN;0BAnOyB,mBAAmB;sCACP,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAwBA,mCA8OG;0BApQuB,oBAAoB"}
1
+ {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/pagination/pagination.js"],"names":[],"mappings":"AAyBA,mCAsQG;0BA7RuB,oBAAoB"}
@@ -1 +1 @@
1
- {"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;0BAsDin9f,aAAa;;;;2BAAgoB,IAAI;;;;;;;6BAAwmI,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAA44a,aAAa;0BAA/vuB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAA6ulC,UAAU;kDAAuV,UAAU,aAA+E,UAAU;oCAAgZ,UAAU;;;;;;;;;KAtDvj6hB;IACxB,MAAM,EAAhC,QAAQ,GAAC,QAAQ;IACK,cAAc,EAApC,KAAK,KAAQ;CACrB,GAAU,OAAO,CAkCnB;AAWM,iFALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACnB,GAAG,EAAvB,MAAM,GAAC,IAAI;IACS,eAAe,EAAnC,MAAM,GAAC,IAAI;CACnB,GAAU,KAAK,KAAQ,CAOzB"}
1
+ {"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;0BAsDq09f,aAAa;;;;2BAAgoB,IAAI;;;;;;;6BAAwmI,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAA4jb,aAAa;0BAA/6uB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAAk7lC,UAAU;kDAAuV,UAAU,aAA+E,UAAU;oCAAgZ,UAAU;;;;;;;;;KAtDh96hB;IACxB,MAAM,EAAhC,QAAQ,GAAC,QAAQ;IACK,cAAc,EAApC,KAAK,KAAQ;CACrB,GAAU,OAAO,CAkCnB;AAWM,iFALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACnB,GAAG,EAAvB,MAAM,GAAC,IAAI;IACS,eAAe,EAAnC,MAAM,GAAC,IAAI;CACnB,GAAU,KAAK,KAAQ,CAOzB"}
@@ -1,2 +1,3 @@
1
+ export function isHeadless(editor: import("../core/Editor.js").Editor): boolean;
1
2
  export function shouldSkipNodeView(editor: import("../core/Editor.js").Editor): boolean;
2
3
  //# sourceMappingURL=headless-helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"headless-helpers.d.ts","sourceRoot":"","sources":["../../../../src/utils/headless-helpers.js"],"names":[],"mappings":"AAKO,2CAHI,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,CAInB"}
1
+ {"version":3,"file":"headless-helpers.d.ts","sourceRoot":"","sources":["../../../../src/utils/headless-helpers.js"],"names":[],"mappings":"AAOO,mCAHI,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,CAInB;AAOM,2CAHI,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,CAInB"}