superdoc 0.31.0-next.6 → 0.31.0-next.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 (50) hide show
  1. package/dist/chunks/{PdfViewer-BSud7RY4.cjs → PdfViewer-C_gVEaJa.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-DK93vPf1.es.js → PdfViewer-HhmcCtfd.es.js} +1 -1
  3. package/dist/chunks/{index-DAES86tg-Cjexh3WM.cjs → index-BJ6cOegF-BuvRSNoV.cjs} +1 -1
  4. package/dist/chunks/{index-DAES86tg-BDL6WVta.es.js → index-BJ6cOegF-C-oX4LAe.es.js} +1 -1
  5. package/dist/chunks/{index-Bz2Q2Xq2.es.js → index-Cz10rZ5n.es.js} +3 -3
  6. package/dist/chunks/{index-Crequs_q.cjs → index-wLtubQ87.cjs} +3 -3
  7. package/dist/chunks/{super-editor.es-D8NdQdlk.cjs → super-editor.es-Bz-s1Pw4.cjs} +319 -153
  8. package/dist/chunks/{super-editor.es-BWeMHRHm.es.js → super-editor.es-C20nShDu.es.js} +319 -153
  9. package/dist/style.css +10 -9
  10. package/dist/super-editor/ai-writer.es.js +2 -2
  11. package/dist/super-editor/chunks/{converter-DEQxlCAJ.js → converter-DVDL6NWz.js} +100 -53
  12. package/dist/super-editor/chunks/{docx-zipper-C6VMEIY_.js → docx-zipper-4ipmBNSH.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-D0zFmUwx.js → editor-B8v33PJq.js} +221 -102
  14. package/dist/super-editor/chunks/{index-DAES86tg.js → index-BJ6cOegF.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-Cwx5bBDV.js → toolbar-CfUofx7k.js} +2 -2
  16. package/dist/super-editor/converter.es.js +1 -1
  17. package/dist/super-editor/docx-zipper.es.js +2 -2
  18. package/dist/super-editor/editor.es.js +3 -3
  19. package/dist/super-editor/file-zipper.es.js +1 -1
  20. package/dist/super-editor/style.css +10 -9
  21. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +7 -0
  22. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  23. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +2 -1
  24. package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
  25. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
  26. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts +14 -10
  27. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tbl/tbl-translator.d.ts.map +1 -1
  28. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tblGrid/tblGrid-translator.d.ts.map +1 -1
  29. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/tr/tr-translator.d.ts.map +1 -1
  30. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +8 -2
  31. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
  33. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
  34. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
  35. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
  36. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
  37. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  38. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  39. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +18 -0
  40. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  41. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  42. package/dist/super-editor/super-editor.es.js +7 -7
  43. package/dist/super-editor/toolbar.es.js +2 -2
  44. package/dist/super-editor.cjs +1 -1
  45. package/dist/super-editor.es.js +1 -1
  46. package/dist/superdoc.cjs +2 -2
  47. package/dist/superdoc.es.js +2 -2
  48. package/dist/superdoc.umd.js +320 -154
  49. package/dist/superdoc.umd.js.map +1 -1
  50. 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, isElementNode_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, getPluginKeyName_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, _ParagraphNodeView_instances, updateHTMLAttributes_fn, updateListStyles_fn, initList_fn, checkIsList_fn, createMarker_fn, createSeparator_fn, calculateTabSeparatorStyle_fn, calculateMarkerStyle_fn, removeList_fn, getParagraphContext_fn, scheduleAnimation_fn, cancelScheduledAnimation_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 htmlHandler, E as ReplaceStep, L as ListHelpers, G as updateNumberingProperties, H as changeListLevel, I as findParentNode, J as isList, K as isMacOS, O as isIOS, Q as getSchemaTypeByName, U as inputRulesPlugin, V as TrackDeleteMarkName, W as TrackInsertMarkName, X as v4, Y as TrackFormatMarkName, Z as comments_module_events, _ as findMark, $ as objectIncludes, a0 as AddMarkStep, a1 as RemoveMarkStep, a2 as twipsToLines, a3 as pixelsToTwips, a4 as helpers, a5 as posToDOMRect, a6 as CommandService, a7 as SuperConverter, a8 as createDocument, a9 as createDocFromMarkdown, aa as createDocFromHTML, ab as EditorState, ac as hasSomeParentWithClass, ad as isActive, ae as unflattenListsInHtml, af as parseSizeUnit, ag as minMax, ah as getLineHeightValueString, ai as updateDOMAttributes, aj as findChildren$5, ak as generateRandomSigned32BitIntStrId, al as kebabCase, am as twipsToPixels, an as halfPointToPixels, ao as getUnderlineCssString, ap as findParentNodeClosestToPos, aq as resolveRunProperties, ar as encodeCSSFromRPr, as as docxNumberingHelpers, at as InputRule, au as resolveParagraphProperties, av as eighthPointsToPixels, aw as linesToTwips, ax as PIXELS_PER_INCH, ay as SelectionRange, az as Transform, aA as isInTable$1, aB as generateDocxRandomId, aC as insertNewRelationship, aD as inchesToPixels } from "./converter-DEQxlCAJ.js";
16
- import { D as DocxZipper } from "./docx-zipper-C6VMEIY_.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 htmlHandler, E as ReplaceStep, L as ListHelpers, G as updateNumberingProperties, H as changeListLevel, I as findParentNode, J as isList, K as isMacOS, O as isIOS, Q as getSchemaTypeByName, U as inputRulesPlugin, V as TrackDeleteMarkName, W as TrackInsertMarkName, X as v4, Y as TrackFormatMarkName, Z as comments_module_events, _ as findMark, $ as objectIncludes, a0 as AddMarkStep, a1 as RemoveMarkStep, a2 as twipsToLines, a3 as pixelsToTwips, a4 as helpers, a5 as posToDOMRect, a6 as CommandService, a7 as SuperConverter, a8 as createDocument, a9 as createDocFromMarkdown, aa as createDocFromHTML, ab as EditorState, ac as hasSomeParentWithClass, ad as isActive, ae as unflattenListsInHtml, af as parseSizeUnit, ag as minMax, ah as getLineHeightValueString, ai as updateDOMAttributes, aj as findChildren$5, ak as generateRandomSigned32BitIntStrId, al as kebabCase, am as twipsToPixels, an as halfPointToPixels, ao as getUnderlineCssString, ap as findParentNodeClosestToPos, aq as resolveRunProperties, ar as encodeCSSFromRPr, as as docxNumberingHelpers, at as InputRule, au as resolveParagraphProperties, av as eighthPointsToPixels, aw as linesToTwips, ax as convertSizeToCSS, ay as SelectionRange, az as Transform, aA as isInTable$1, aB as generateDocxRandomId, aC as insertNewRelationship, aD as inchesToPixels } from "./converter-DVDL6NWz.js";
16
+ import { D as DocxZipper } from "./docx-zipper-4ipmBNSH.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() {
@@ -14109,7 +14109,7 @@ const _Editor = class _Editor extends EventEmitter {
14109
14109
  { default: remarkStringify },
14110
14110
  { default: remarkGfm }
14111
14111
  ] = await Promise.all([
14112
- import("./index-DAES86tg.js"),
14112
+ import("./index-BJ6cOegF.js"),
14113
14113
  import("./index-DRCvimau.js"),
14114
14114
  import("./index-C_x_N6Uh.js"),
14115
14115
  import("./index-D_sWOSiG.js"),
@@ -14310,7 +14310,7 @@ const _Editor = class _Editor extends EventEmitter {
14310
14310
  * Process collaboration migrations
14311
14311
  */
14312
14312
  processCollaborationMigrations() {
14313
- console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.6");
14313
+ console.debug("[checkVersionMigrations] Current editor version", "0.31.0-next.7");
14314
14314
  if (!this.options.ydoc) return;
14315
14315
  const metaMap = this.options.ydoc.getMap("meta");
14316
14316
  let docVersion = metaMap.get("version");
@@ -16807,6 +16807,46 @@ function getStructuredContentTagsById(idOrIds, state) {
16807
16807
  });
16808
16808
  return result;
16809
16809
  }
16810
+ function createTagObject(tagData) {
16811
+ if (!tagData || typeof tagData !== "object") {
16812
+ return null;
16813
+ }
16814
+ return JSON.stringify(tagData);
16815
+ }
16816
+ function parseTagObject(tag) {
16817
+ if (typeof tag !== "string" || !tag.startsWith("{")) {
16818
+ return null;
16819
+ }
16820
+ try {
16821
+ const parsed = JSON.parse(tag);
16822
+ return parsed && typeof parsed === "object" ? parsed : null;
16823
+ } catch {
16824
+ return null;
16825
+ }
16826
+ }
16827
+ function hasGroup(tag) {
16828
+ const parsed = parseTagObject(tag);
16829
+ return parsed !== null && typeof parsed.group === "string";
16830
+ }
16831
+ function getGroup(tag) {
16832
+ const parsed = parseTagObject(tag);
16833
+ return parsed && typeof parsed.group === "string" ? parsed.group : null;
16834
+ }
16835
+ function getStructuredContentByGroup(groupOrGroups, state) {
16836
+ const searchGroups = Array.isArray(groupOrGroups) ? groupOrGroups : [groupOrGroups];
16837
+ const result = findChildren$5(state.doc, (node) => {
16838
+ const isStructuredContent = ["structuredContent", "structuredContentBlock"].includes(node.type.name);
16839
+ if (!isStructuredContent) {
16840
+ return false;
16841
+ }
16842
+ const nodeGroup = getGroup(node.attrs.tag);
16843
+ if (!nodeGroup) {
16844
+ return false;
16845
+ }
16846
+ return searchGroups.includes(nodeGroup);
16847
+ });
16848
+ return result;
16849
+ }
16810
16850
  function getStructuredContentTags(state) {
16811
16851
  const result = findChildren$5(state.doc, (node) => {
16812
16852
  return node.type.name === "structuredContent" || node.type.name === "structuredContentBlock";
@@ -16839,11 +16879,16 @@ function getStructuredContentTablesById(id, state) {
16839
16879
  }
16840
16880
  const structuredContentHelpers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16841
16881
  __proto__: null,
16882
+ createTagObject,
16883
+ getGroup,
16842
16884
  getStructuredContentBlockTags,
16885
+ getStructuredContentByGroup,
16843
16886
  getStructuredContentInlineTags,
16844
16887
  getStructuredContentTablesById,
16845
16888
  getStructuredContentTags,
16846
- getStructuredContentTagsById
16889
+ getStructuredContentTagsById,
16890
+ hasGroup,
16891
+ parseTagObject
16847
16892
  }, Symbol.toStringTag, { value: "Module" }));
16848
16893
  const STRUCTURED_CONTENT_NAMES = ["structuredContent", "structuredContentBlock"];
16849
16894
  const StructuredContentCommands = Extension.create({
@@ -16855,6 +16900,16 @@ const StructuredContentCommands = Extension.create({
16855
16900
  * @category Command
16856
16901
  * @param {StructuredContentInlineInsert} options
16857
16902
  * @example
16903
+ * // With group for linking multiple fields
16904
+ * editor.commands.insertStructuredContentInline({
16905
+ * attrs: {
16906
+ * group: 'customer-info',
16907
+ * alias: 'Customer Name',
16908
+ * },
16909
+ * text: 'John Doe',
16910
+ * });
16911
+ *
16912
+ * // No group
16858
16913
  * editor.commands.insertStructuredContentInline({
16859
16914
  * attrs: {
16860
16915
  * id: '123',
@@ -16883,12 +16938,17 @@ const StructuredContentCommands = Extension.create({
16883
16938
  if (!content) {
16884
16939
  content = schema.text(" ");
16885
16940
  }
16941
+ let tag = options.attrs?.tag || "inline_text_sdt";
16942
+ if (options.attrs?.group) {
16943
+ tag = createTagObject({ group: options.attrs.group });
16944
+ }
16886
16945
  const attrs = {
16887
- ...options.attrs,
16888
16946
  id: options.attrs?.id || generateRandomSigned32BitIntStrId(),
16889
- tag: "inline_text_sdt",
16890
- alias: options.attrs?.alias || "Structured content"
16947
+ tag,
16948
+ alias: options.attrs?.alias || "Structured content",
16949
+ ...options.attrs
16891
16950
  };
16951
+ delete attrs.group;
16892
16952
  const node = schema.nodes.structuredContent.create(attrs, content, null);
16893
16953
  const parent = findParentNode((node2) => node2.type.name === "structuredContent")(state.selection);
16894
16954
  if (parent) {
@@ -16904,14 +16964,22 @@ const StructuredContentCommands = Extension.create({
16904
16964
  * @category Command
16905
16965
  * @param {StructuredContentBlockInsert} options
16906
16966
  * @example
16967
+ * // With group for linking multiple fields
16968
+ * editor.commands.insertStructuredContentBlock({
16969
+ * attrs: {
16970
+ * group: 'terms-section',
16971
+ * alias: 'Terms & Conditions',
16972
+ * },
16973
+ * html: '<p>Legal content...</p>',
16974
+ * });
16975
+ *
16976
+ * // No group
16907
16977
  * editor.commands.insertStructuredContentBlock({
16908
16978
  * attrs: {
16909
16979
  * id: '456',
16910
16980
  * alias: 'Terms & Conditions',
16911
16981
  * },
16912
16982
  * json: { type: 'paragraph', content: [{ type: 'text', text: 'Legal content...' }] }
16913
- * // or
16914
- * html: '<p>Legal content...</p>',
16915
16983
  * });
16916
16984
  */
16917
16985
  insertStructuredContentBlock: (options = {}) => ({ editor, dispatch, state, tr }) => {
@@ -16934,12 +17002,17 @@ const StructuredContentCommands = Extension.create({
16934
17002
  if (!content) {
16935
17003
  content = schema.nodeFromJSON({ type: "paragraph", content: [] });
16936
17004
  }
17005
+ let tag = options.attrs?.tag || "block_table_sdt";
17006
+ if (options.attrs?.group) {
17007
+ tag = createTagObject({ group: options.attrs.group });
17008
+ }
16937
17009
  const attrs = {
16938
- ...options.attrs,
16939
17010
  id: options.attrs?.id || generateRandomSigned32BitIntStrId(),
16940
- tag: "block_table_sdt",
16941
- alias: options.attrs?.alias || "Structured content"
17011
+ tag,
17012
+ alias: options.attrs?.alias || "Structured content",
17013
+ ...options.attrs
16942
17014
  };
17015
+ delete attrs.group;
16943
17016
  const node = schema.nodes.structuredContentBlock.create(attrs, content, null);
16944
17017
  const parent = findParentNode((node2) => node2.type.name === "structuredContentBlock")(state.selection);
16945
17018
  if (parent) {
@@ -17069,6 +17142,85 @@ const StructuredContentCommands = Extension.create({
17069
17142
  }
17070
17143
  return true;
17071
17144
  },
17145
+ /**
17146
+ * Updates all structured content fields that share the same group identifier.
17147
+ * Groups allow linking multiple fields together for batch operations.
17148
+ * @category Command
17149
+ * @param {string} group - Group identifier shared by multiple fields
17150
+ * @param {StructuredContentUpdate} options
17151
+ * @example
17152
+ * // Update all fields in the customer-info group
17153
+ * editor.commands.updateStructuredContentByGroup('customer-info', { text: 'Jane Doe' });
17154
+ *
17155
+ * // Update block content in a group
17156
+ * editor.commands.updateStructuredContentByGroup('terms-section', {
17157
+ * html: '<p>Updated terms...</p>'
17158
+ * });
17159
+ */
17160
+ updateStructuredContentByGroup: (group, options = {}) => ({ editor, dispatch, state, tr }) => {
17161
+ const structuredContentTags = getStructuredContentByGroup(group, state);
17162
+ if (!structuredContentTags.length) {
17163
+ return true;
17164
+ }
17165
+ const { schema } = editor;
17166
+ if (dispatch) {
17167
+ structuredContentTags.forEach((structuredContent) => {
17168
+ const { pos, node } = structuredContent;
17169
+ const posFrom = tr.mapping.map(pos);
17170
+ const posTo = tr.mapping.map(pos + node.nodeSize);
17171
+ let content = null;
17172
+ if (options.text) {
17173
+ content = schema.text(options.text);
17174
+ }
17175
+ if (options.html) {
17176
+ const html = htmlHandler(options.html, editor);
17177
+ const doc2 = DOMParser$1.fromSchema(schema).parse(html);
17178
+ content = doc2.content;
17179
+ }
17180
+ if (options.json) {
17181
+ content = schema.nodeFromJSON(options.json);
17182
+ }
17183
+ if (!content) {
17184
+ content = node.content;
17185
+ }
17186
+ const updatedNode = node.type.create({ ...node.attrs, ...options.attrs }, content, node.marks);
17187
+ const currentNode = tr.doc.nodeAt(posFrom);
17188
+ if (currentNode && node.eq(currentNode)) {
17189
+ tr.replaceWith(posFrom, posTo, updatedNode);
17190
+ }
17191
+ });
17192
+ }
17193
+ return true;
17194
+ },
17195
+ /**
17196
+ * Removes all structured content fields that share the same group identifier.
17197
+ * @category Command
17198
+ * @param {string | string[]} groupOrGroups - Single group or array of groups
17199
+ * @example
17200
+ * // Delete all fields in a group
17201
+ * editor.commands.deleteStructuredContentByGroup('customer-info');
17202
+ *
17203
+ * // Delete multiple groups
17204
+ * editor.commands.deleteStructuredContentByGroup(['header', 'footer']);
17205
+ */
17206
+ deleteStructuredContentByGroup: (groupOrGroups) => ({ dispatch, state, tr }) => {
17207
+ const structuredContentTags = getStructuredContentByGroup(groupOrGroups, state);
17208
+ if (!structuredContentTags.length) {
17209
+ return true;
17210
+ }
17211
+ if (dispatch) {
17212
+ structuredContentTags.forEach((structuredContent) => {
17213
+ const { pos, node } = structuredContent;
17214
+ const posFrom = tr.mapping.map(pos);
17215
+ const posTo = tr.mapping.map(pos + node.nodeSize);
17216
+ const currentNode = tr.doc.nodeAt(posFrom);
17217
+ if (currentNode && node.eq(currentNode)) {
17218
+ tr.delete(posFrom, posTo);
17219
+ }
17220
+ });
17221
+ }
17222
+ return true;
17223
+ },
17072
17224
  /**
17073
17225
  * Append multiple rows to the end of a table inside a structured content block.
17074
17226
  * Each inner array represents the cell values for one new row.
@@ -20511,15 +20663,6 @@ const HardBreak = Node$1.create({
20511
20663
  };
20512
20664
  }
20513
20665
  });
20514
- const getColStyleDeclaration = (minWidth, width) => {
20515
- if (width != null) {
20516
- const numericWidth = Number(width);
20517
- if (Number.isFinite(numericWidth) && numericWidth >= 0) {
20518
- return ["width", `${numericWidth}px`];
20519
- }
20520
- }
20521
- return ["min-width", `${minWidth}px`];
20522
- };
20523
20666
  const createTableView = ({ editor }) => {
20524
20667
  return class TableView {
20525
20668
  constructor(node, cellMinWidth) {
@@ -20538,7 +20681,7 @@ const createTableView = ({ editor }) => {
20538
20681
  this.table = this.dom.appendChild(document.createElement("table"));
20539
20682
  this.colgroup = this.table.appendChild(document.createElement("colgroup"));
20540
20683
  updateTable(this.editor, this.node, this.table);
20541
- updateColumns(node, this.colgroup, this.table, cellMinWidth, void 0, void 0, this.editor);
20684
+ updateColumns(node, this.colgroup, this.table);
20542
20685
  this.contentDOM = this.table.appendChild(document.createElement("tbody"));
20543
20686
  setTimeout(() => {
20544
20687
  updateTableWrapper(this.dom, this.table);
@@ -20550,7 +20693,7 @@ const createTableView = ({ editor }) => {
20550
20693
  }
20551
20694
  this.node = node;
20552
20695
  updateTable(this.editor, node, this.table);
20553
- updateColumns(node, this.colgroup, this.table, this.cellMinWidth, void 0, void 0, this.editor);
20696
+ updateColumns(node, this.colgroup, this.table, this.cellMinWidth);
20554
20697
  updateTableWrapper(this.dom, this.table);
20555
20698
  return true;
20556
20699
  }
@@ -20563,43 +20706,20 @@ const createTableView = ({ editor }) => {
20563
20706
  }
20564
20707
  };
20565
20708
  };
20566
- function updateColumns(node, colgroup, table, cellMinWidth, overrideCol, overrideValue, editor) {
20709
+ function updateColumns(node, colgroup, table, cellMinWidth) {
20567
20710
  const gridColumns = Array.isArray(node.attrs?.grid) && node.attrs.grid.length ? node.attrs.grid.map((col) => twipsToPixels(col.col)) : null;
20568
20711
  const totalColumns = gridColumns?.length ?? null;
20569
- const pageBody = table.closest(".page__body");
20570
- const wrapper = table.parentElement;
20571
- let availableWidth = pageBody?.getBoundingClientRect?.().width;
20572
- if (!availableWidth && wrapper) {
20573
- availableWidth = wrapper.getBoundingClientRect().width;
20574
- }
20575
- if (typeof availableWidth === "number" && !Number.isNaN(availableWidth)) {
20576
- availableWidth = Math.max(availableWidth - 2, 0);
20577
- } else {
20578
- availableWidth = null;
20579
- }
20580
- const pageStyles = editor?.converter?.pageStyles;
20581
- if (pageStyles?.pageSize?.width) {
20582
- const toNumber = (v) => typeof v === "number" ? v : parseFloat(v) || 0;
20583
- const pageWidth = toNumber(pageStyles.pageSize.width);
20584
- const marginLeft = toNumber(pageStyles.pageMargins?.left);
20585
- const marginRight = toNumber(pageStyles.pageMargins?.right);
20586
- const pageAvailableWidthPx = Math.max((pageWidth - marginLeft - marginRight) * PIXELS_PER_INCH, 0);
20587
- if (pageAvailableWidthPx > 0) {
20588
- availableWidth = availableWidth ? Math.min(availableWidth, pageAvailableWidthPx) : pageAvailableWidthPx;
20589
- }
20590
- }
20591
20712
  const resolveColumnWidth = (colIndex2, colwidthValue) => {
20592
- if (overrideCol === colIndex2) return overrideValue;
20593
20713
  if (colwidthValue != null) return colwidthValue;
20594
20714
  if (gridColumns && gridColumns[colIndex2] != null) return gridColumns[colIndex2];
20595
20715
  return null;
20596
20716
  };
20597
20717
  const widths = [];
20598
- const row = node.firstChild;
20718
+ const firstRow = node.firstChild;
20599
20719
  let colIndex = 0;
20600
- if (row !== null) {
20601
- for (let i = 0; i < row.childCount; i++) {
20602
- const child = row.child(i);
20720
+ if (firstRow !== null) {
20721
+ for (let i = 0; i < firstRow.childCount; i++) {
20722
+ const child = firstRow.child(i);
20603
20723
  const { colspan, colwidth } = child.attrs;
20604
20724
  for (let span = 0; span < colspan; span += 1, colIndex += 1) {
20605
20725
  widths.push(resolveColumnWidth(colIndex, colwidth && colwidth[span]));
@@ -20619,49 +20739,41 @@ function updateColumns(node, colgroup, table, cellMinWidth, overrideCol, overrid
20619
20739
  if (numericWidth < 1) return 0;
20620
20740
  return numericWidth;
20621
20741
  });
20622
- const rawTotalWidth = normalizedWidths.reduce((sum, width) => sum + (width != null ? width : cellMinWidth), 0);
20623
- let scale = 1;
20624
- if (availableWidth && rawTotalWidth > 0 && rawTotalWidth > availableWidth) {
20625
- scale = availableWidth / rawTotalWidth;
20626
- }
20627
- let totalWidth = 0;
20628
- let hasUndefinedWidth = false;
20629
- let dom = colgroup.firstChild;
20742
+ const tableWidthCSS = convertSizeToCSS(
20743
+ // TODO: why is tableWidth undefined in src/tests/import-export/font-default-styles.test.js?
20744
+ node.attrs.tableProperties.tableWidth?.value ?? null,
20745
+ node.attrs.tableProperties.tableWidth?.type ?? "auto"
20746
+ );
20747
+ let colElement = colgroup.firstChild;
20630
20748
  normalizedWidths.forEach((width) => {
20631
- let scaledWidth = width;
20632
- if (scaledWidth != null) {
20633
- scaledWidth = scaledWidth * scale;
20634
- }
20635
- const [propKey, propVal] = getColStyleDeclaration(cellMinWidth, scaledWidth);
20636
- if (scaledWidth == null) {
20637
- totalWidth += cellMinWidth;
20638
- hasUndefinedWidth = true;
20639
- } else {
20640
- totalWidth += scaledWidth;
20641
- }
20642
- if (!dom) {
20643
- const colElement = document.createElement("col");
20644
- colElement.style.setProperty(propKey, propVal);
20749
+ if (!colElement) {
20750
+ colElement = document.createElement("col");
20645
20751
  colgroup.appendChild(colElement);
20646
- } else {
20647
- dom.style.setProperty(propKey, propVal);
20648
- dom = dom.nextSibling;
20649
20752
  }
20753
+ colElement.style.width = width !== null && width !== void 0 ? `${width}px` : null;
20754
+ colElement = colElement.nextSibling;
20650
20755
  });
20651
- while (dom) {
20652
- const next = dom.nextSibling;
20653
- dom.parentNode?.removeChild(dom);
20654
- dom = next;
20655
- }
20656
- if (scale < 1 || !hasUndefinedWidth) {
20657
- const clampedWidth = Math.min(totalWidth, availableWidth || totalWidth);
20658
- table.style.width = `${clampedWidth}px`;
20659
- table.style.minWidth = "";
20756
+ while (colElement) {
20757
+ const next = colElement.nextSibling;
20758
+ colElement.parentNode?.removeChild(colElement);
20759
+ colElement = next;
20760
+ }
20761
+ const tableIndent = convertSizeToCSS(
20762
+ node.attrs.tableProperties.tableIndent?.value ?? 0,
20763
+ node.attrs.tableProperties.tableIndent?.type ?? "dxa"
20764
+ );
20765
+ const firstRowFirstCellPaddingLeftPx = firstRow?.firstChild?.attrs?.cellMargins?.left ?? 0;
20766
+ const firstRowLastCellPaddingRightPx = firstRow?.lastChild?.attrs?.cellMargins?.right ?? 0;
20767
+ table.style.marginLeft = `${-firstRowFirstCellPaddingLeftPx}px`;
20768
+ if (tableIndent !== null) {
20769
+ table.style.marginLeft = tableIndent;
20770
+ }
20771
+ if (node.attrs.tableProperties.tableWidth?.type === "pct") {
20772
+ const padding = firstRowFirstCellPaddingLeftPx + firstRowLastCellPaddingRightPx;
20773
+ table.style.maxWidth = table.style.width = `calc(${tableWidthCSS} + ${padding}px)`;
20660
20774
  } else {
20661
- table.style.width = "";
20662
- table.style.minWidth = `${totalWidth}px`;
20775
+ table.style.maxWidth = table.style.width = tableWidthCSS;
20663
20776
  }
20664
- table.style.maxWidth = "100%";
20665
20777
  }
20666
20778
  function updateTable(editor, node, table) {
20667
20779
  const allExtensionsAttrs = editor.extensionService.attributes;
@@ -20739,6 +20851,15 @@ const createTable = (schema, rowsCount, colsCount, withHeaderRow, cellContent =
20739
20851
  const tableBorders = createTableBorders();
20740
20852
  return types.table.createChecked({ borders: tableBorders }, rows);
20741
20853
  };
20854
+ const getColStyleDeclaration = (minWidth, width) => {
20855
+ if (width != null) {
20856
+ const numericWidth = Number(width);
20857
+ if (Number.isFinite(numericWidth) && numericWidth >= 0) {
20858
+ return ["width", `${numericWidth}px`];
20859
+ }
20860
+ }
20861
+ return ["min-width", `${minWidth}px`];
20862
+ };
20742
20863
  const MIN_MEANINGFUL_WIDTH_PX = 1;
20743
20864
  const createColGroup = (node, cellMinWidth, overrideCol, overrideValue) => {
20744
20865
  let totalWidth = 0;
@@ -23105,15 +23226,6 @@ const Table = Node$1.create({
23105
23226
  },
23106
23227
  addAttributes() {
23107
23228
  return {
23108
- /* tableWidth: {
23109
- renderDOM: ({ tableWidth }) => {
23110
- if (!tableWidth) return {};
23111
- const { width, type = 'auto' } = tableWidth;
23112
- return {
23113
- style: `width: ${width}px`
23114
- };
23115
- },
23116
- }, */
23117
23229
  /**
23118
23230
  * @private
23119
23231
  * @category Attribute
@@ -23217,7 +23329,12 @@ const Table = Node$1.create({
23217
23329
  * @see {@link https://ecma-international.org/publications-and-standards/standards/ecma-376/} "Fundamentals And Markup Language Reference", page 371-483
23218
23330
  */
23219
23331
  tableProperties: {
23220
- default: null,
23332
+ default: {
23333
+ tableWidth: {
23334
+ value: null,
23335
+ type: "auto"
23336
+ }
23337
+ },
23221
23338
  rendered: false
23222
23339
  },
23223
23340
  /**
@@ -23985,12 +24102,14 @@ const TableCell = Node$1.create({
23985
24102
  }
23986
24103
  },
23987
24104
  cellMargins: {
23988
- renderDOM({ cellMargins }) {
24105
+ renderDOM({ cellMargins, borders }) {
23989
24106
  if (!cellMargins) return {};
23990
24107
  const sides2 = ["top", "right", "bottom", "left"];
23991
24108
  const style = sides2.map((side) => {
23992
- const margin = cellMargins?.[side];
23993
- if (margin) return `padding-${side}: ${margin}px;`;
24109
+ const margin = cellMargins?.[side] ?? 0;
24110
+ const border = borders?.[side];
24111
+ const borderSize = border && border.val !== "none" ? Math.ceil(border.size) : 0;
24112
+ if (margin) return `padding-${side}: ${Math.max(0, margin - borderSize)}px;`;
23994
24113
  return "";
23995
24114
  }).join(" ");
23996
24115
  return { style };
@@ -1,4 +1,4 @@
1
- import { aF as getDefaultExportFromCjs } from "./converter-DEQxlCAJ.js";
1
+ import { aF as getDefaultExportFromCjs } from "./converter-DVDL6NWz.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-DEQxlCAJ.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-D0zFmUwx.js";
2
+ import { p as process$1 } from "./converter-DVDL6NWz.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-B8v33PJq.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 { a7 } from "./chunks/converter-DEQxlCAJ.js";
1
+ import { a7 } from "./chunks/converter-DVDL6NWz.js";
2
2
  export {
3
3
  a7 as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-DEQxlCAJ.js";
2
- import { D } from "./chunks/docx-zipper-C6VMEIY_.js";
1
+ import "./chunks/converter-DVDL6NWz.js";
2
+ import { D } from "./chunks/docx-zipper-4ipmBNSH.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-D0zFmUwx.js";
2
- import "./chunks/converter-DEQxlCAJ.js";
3
- import "./chunks/docx-zipper-C6VMEIY_.js";
1
+ import { E } from "./chunks/editor-B8v33PJq.js";
2
+ import "./chunks/converter-DVDL6NWz.js";
3
+ import "./chunks/docx-zipper-4ipmBNSH.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-C6VMEIY_.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-4ipmBNSH.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -602,7 +602,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
602
602
 
603
603
  overflow-x: auto;
604
604
  scrollbar-width: thin;
605
- overflow: hidden;
605
+ overflow: visible; /* Allow table to extend beyond margins */
606
606
 
607
607
  /*
608
608
  The border width does not need to be multiplied by two,
@@ -612,7 +612,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
612
612
  .ProseMirror table {
613
613
  border-collapse: collapse;
614
614
  border-spacing: 0;
615
- table-layout: fixed;
615
+ table-layout: auto;
616
616
  margin: 0;
617
617
  /* width: 100%; */
618
618
  }
@@ -621,7 +621,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
621
621
  }
622
622
  .ProseMirror td,
623
623
  .ProseMirror th {
624
- min-width: 1em;
624
+ min-width: 0;
625
625
  position: relative;
626
626
  vertical-align: top;
627
627
  box-sizing: border-box;
@@ -1927,10 +1927,10 @@ on the right if it is inside shape textbox.
1927
1927
  min-height: 40px;
1928
1928
  }
1929
1929
 
1930
- .editor-element[data-v-cd3558fe] {
1930
+ .editor-element[data-v-4615ea7d] {
1931
1931
  position: relative;
1932
1932
  }
1933
- .super-editor-container[data-v-cd3558fe] {
1933
+ .super-editor-container[data-v-4615ea7d] {
1934
1934
  width: auto;
1935
1935
  height: auto;
1936
1936
  min-width: 8in;
@@ -1939,13 +1939,14 @@ on the right if it is inside shape textbox.
1939
1939
  display: flex;
1940
1940
  flex-direction: column;
1941
1941
  }
1942
- .ruler[data-v-cd3558fe] {
1942
+ .ruler[data-v-4615ea7d] {
1943
1943
  margin-bottom: 2px;
1944
1944
  }
1945
- .super-editor[data-v-cd3558fe] {
1945
+ .super-editor[data-v-4615ea7d] {
1946
1946
  color: initial;
1947
+ overflow: hidden;
1947
1948
  }
1948
- .placeholder-editor[data-v-cd3558fe] {
1949
+ .placeholder-editor[data-v-4615ea7d] {
1949
1950
  position: absolute;
1950
1951
  top: 0;
1951
1952
  left: 0;
@@ -1957,7 +1958,7 @@ on the right if it is inside shape textbox.
1957
1958
  background-color: white;
1958
1959
  box-sizing: border-box;
1959
1960
  }
1960
- .placeholder-title[data-v-cd3558fe] {
1961
+ .placeholder-title[data-v-4615ea7d] {
1961
1962
  display: flex;
1962
1963
  justify-content: center;
1963
1964
  margin-bottom: 40px;
@@ -60,4 +60,11 @@ export function hasSomeParentWithClass(element: any, classname: any): any;
60
60
  export function getTextIndentExportValue(indent: string | number): number;
61
61
  export function polygonUnitsToPixels(pu: any): number;
62
62
  export function pixelsToPolygonUnits(pixels: any): number;
63
+ /**
64
+ * @param {number | string} value Value (e.g. 5000 or "100%")
65
+ * @param {"dxa" | "pct" | "nil" | "auto" | null} type Units: either "dxa" (or null/undefined) for absolute measurements in twips, "pct" for relative measurements (either as 1/50 of a percent, or as a percentage with a trailing "%"), "nil" (zero width, see 17.18.90 of ECMA-376-1:2016), or "auto" (
66
+ *
67
+ * @returns {string | null} CSS specification for size (e.g. `100%`, `25px`) or `null` if the type is `"auto"`
68
+ */
69
+ export function convertSizeToCSS(value: number | string, type: "dxa" | "pct" | "nil" | "auto" | null): string | null;
63
70
  //# sourceMappingURL=helpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/helpers.js"],"names":[],"mappings":"AAGA,8BAAwB,EAAE,CAAC;AAE3B,mDAIC;AAED,kDAKC;AAED,kDAIC;AAED,mDAGC;AAQD,oDAIC;AAoDD,mDAGC;AAjED,oDAIC;AAQD,iDAGC;AAED,iDAGC;AAED,2DAGC;AAOD,8CAKC;AAED,6CAIC;AAED,wDAGC;AArBD,2DAGC;AAoBD,gEAKC;AAYD,yDAGC;AAbD,mDAGC;AAsBD,+CAGC;AAED,mDAGC;AAgDD;;;;;;;GAOG;AACH,qCAHW,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACrB,MAAO,IAAI,CAyCvB;AA7ED;;;;;;;GAOG;AACH,gDAFa,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAC,IAAI,CAsBxC;AAsED,4FAyDC;AAED,uEAKC;AAmCD,kEAGC;AAED,mEASC;AA5BD,iDAYC;AAkBD,qDAaC;AAOD,2CAEC;AA1QD,2CAGC;AARD,8CAGC;AA8QD;;;;EAUC;AAED,qEAuBC;AAED,0EAGC;AAtMD;;;;GAIG;AACH,iDAHW,MAAM,GAAC,MAAM,GACX,MAAM,CAWlB;AApGD,sDAKC;AAdD,0DAOC;AAgSD;;;;;GAKG;AACH,wCALW,MAAM,GAAG,MAAM,QACf,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAEnC,MAAM,GAAG,IAAI,CAoDzB"}
@@ -4,9 +4,10 @@
4
4
  * @param {Object} inlineProps - The inline paragraph properties.
5
5
  * @param {boolean} [insideTable=false] - Whether the paragraph is inside a table.
6
6
  * @param {boolean} [overrideInlineStyleId=false] - Whether to override the inline style ID with the one from numbering.
7
+ * @param {string | null} [tableStyleId=null] - styleId for the current table, if any
7
8
  * @returns {Object} The resolved paragraph properties.
8
9
  */
9
- export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean): any;
10
+ export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean, tableStyleId?: string | null): any;
10
11
  export function getDefaultProperties(params: any, translator: any): any;
11
12
  export function getStyleProperties(params: any, styleId: any, translator: any): {
12
13
  properties: any;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;GAOG;AACH,mDANW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,OAuFjB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AA9qBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAsOM,8GAmCN;AAEM,gEAEN"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;;GAQG;AACH,mDAPW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,iBACP,MAAM,GAAG,IAAI,OAgGvB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AAxrBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAgPM,8GAmCN;AAEM,gEAEN"}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AAUO,4CAHI,OAAO,aAAa,EAAE,eAAe,OA8E/C"}
1
+ {"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AA0BO,4CAHI,OAAO,aAAa,EAAE,eAAe,OAqF/C"}