superdoc 0.31.0-next.5 → 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 (54) hide show
  1. package/dist/chunks/{PdfViewer-DXwcotXc.cjs → PdfViewer-C_gVEaJa.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-BjFaPQBd.es.js → PdfViewer-HhmcCtfd.es.js} +1 -1
  3. package/dist/chunks/{index-B7dC-H-Q-DfBEU7rR.cjs → index-BJ6cOegF-BuvRSNoV.cjs} +1 -1
  4. package/dist/chunks/{index-B7dC-H-Q-BeQx_MXI.es.js → index-BJ6cOegF-C-oX4LAe.es.js} +1 -1
  5. package/dist/chunks/{index-B6TttOzK.es.js → index-Cz10rZ5n.es.js} +3 -3
  6. package/dist/chunks/{index-BF_Yvius.cjs → index-wLtubQ87.cjs} +3 -3
  7. package/dist/chunks/{super-editor.es-CVDIAxlg.cjs → super-editor.es-Bz-s1Pw4.cjs} +351 -155
  8. package/dist/chunks/{super-editor.es-M2e4wbRW.es.js → super-editor.es-C20nShDu.es.js} +351 -155
  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-BIsS-JzD.js → converter-DVDL6NWz.js} +100 -53
  12. package/dist/super-editor/chunks/{docx-zipper-DVDiaIyD.js → docx-zipper-4ipmBNSH.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-ZbcM1RTL.js → editor-B8v33PJq.js} +253 -104
  14. package/dist/super-editor/chunks/{index-B7dC-H-Q.js → index-BJ6cOegF.js} +1 -1
  15. package/dist/super-editor/chunks/{toolbar-8qqw8IXG.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/linked-styles/helpers.d.ts +1 -0
  31. package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/extensions/linked-styles/plugin.d.ts.map +1 -1
  33. package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts +8 -2
  35. package/dist/super-editor/super-editor/src/extensions/structured-content/structured-content-commands.d.ts.map +1 -1
  36. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts +19 -0
  37. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/getStructuredContentByGroup.d.ts.map +1 -0
  38. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/index.d.ts +2 -0
  39. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts +53 -0
  40. package/dist/super-editor/super-editor/src/extensions/structured-content/structuredContentHelpers/tagUtils.d.ts.map +1 -0
  41. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts +7 -1
  42. package/dist/super-editor/super-editor/src/extensions/table/TableView.d.ts.map +1 -1
  43. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts +18 -0
  44. package/dist/super-editor/super-editor/src/extensions/table/table.d.ts.map +1 -1
  45. package/dist/super-editor/super-editor/src/extensions/table-cell/table-cell.d.ts.map +1 -1
  46. package/dist/super-editor/super-editor.es.js +7 -7
  47. package/dist/super-editor/toolbar.es.js +2 -2
  48. package/dist/super-editor.cjs +1 -1
  49. package/dist/super-editor.es.js +1 -1
  50. package/dist/superdoc.cjs +2 -2
  51. package/dist/superdoc.es.js +2 -2
  52. package/dist/superdoc.umd.js +352 -156
  53. package/dist/superdoc.umd.js.map +1 -1
  54. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -976,7 +976,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
976
976
 
977
977
  overflow-x: auto;
978
978
  scrollbar-width: thin;
979
- overflow: hidden;
979
+ overflow: visible; /* Allow table to extend beyond margins */
980
980
 
981
981
  /*
982
982
  The border width does not need to be multiplied by two,
@@ -986,7 +986,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
986
986
  .ProseMirror table {
987
987
  border-collapse: collapse;
988
988
  border-spacing: 0;
989
- table-layout: fixed;
989
+ table-layout: auto;
990
990
  margin: 0;
991
991
  /* width: 100%; */
992
992
  }
@@ -995,7 +995,7 @@ https://github.com/ProseMirror/prosemirror-tables/blob/master/demo/index.html
995
995
  }
996
996
  .ProseMirror td,
997
997
  .ProseMirror th {
998
- min-width: 1em;
998
+ min-width: 0;
999
999
  position: relative;
1000
1000
  vertical-align: top;
1001
1001
  box-sizing: border-box;
@@ -2301,10 +2301,10 @@ on the right if it is inside shape textbox.
2301
2301
  min-height: 40px;
2302
2302
  }
2303
2303
 
2304
- .editor-element[data-v-cd3558fe] {
2304
+ .editor-element[data-v-4615ea7d] {
2305
2305
  position: relative;
2306
2306
  }
2307
- .super-editor-container[data-v-cd3558fe] {
2307
+ .super-editor-container[data-v-4615ea7d] {
2308
2308
  width: auto;
2309
2309
  height: auto;
2310
2310
  min-width: 8in;
@@ -2313,13 +2313,14 @@ on the right if it is inside shape textbox.
2313
2313
  display: flex;
2314
2314
  flex-direction: column;
2315
2315
  }
2316
- .ruler[data-v-cd3558fe] {
2316
+ .ruler[data-v-4615ea7d] {
2317
2317
  margin-bottom: 2px;
2318
2318
  }
2319
- .super-editor[data-v-cd3558fe] {
2319
+ .super-editor[data-v-4615ea7d] {
2320
2320
  color: initial;
2321
+ overflow: hidden;
2321
2322
  }
2322
- .placeholder-editor[data-v-cd3558fe] {
2323
+ .placeholder-editor[data-v-4615ea7d] {
2323
2324
  position: absolute;
2324
2325
  top: 0;
2325
2326
  left: 0;
@@ -2331,7 +2332,7 @@ on the right if it is inside shape textbox.
2331
2332
  background-color: white;
2332
2333
  box-sizing: border-box;
2333
2334
  }
2334
- .placeholder-title[data-v-cd3558fe] {
2335
+ .placeholder-title[data-v-4615ea7d] {
2335
2336
  display: flex;
2336
2337
  justify-content: center;
2337
2338
  margin-bottom: 40px;
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, onUnmounted, computed, createElementBlock, openBlock, withModifiers, createElementVNode, withDirectives, unref, vModelText, createCommentVNode, nextTick } from "vue";
2
- import { T as TextSelection } from "./chunks/converter-BIsS-JzD.js";
3
- import { _ as _export_sfc } from "./chunks/editor-ZbcM1RTL.js";
2
+ import { T as TextSelection } from "./chunks/converter-DVDL6NWz.js";
3
+ import { _ as _export_sfc } from "./chunks/editor-B8v33PJq.js";
4
4
  const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
5
5
  const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
6
6
  async function baseInsightsFetch(payload, options = {}) {
@@ -15406,6 +15406,38 @@ const hasSomeParentWithClass = (element, classname) => {
15406
15406
  if (element.className?.split(" ")?.indexOf(classname) >= 0) return true;
15407
15407
  return element.parentNode && hasSomeParentWithClass(element.parentNode, classname);
15408
15408
  };
15409
+ function convertSizeToCSS(value, type2) {
15410
+ if (typeof value === "string" && value.endsWith("%")) {
15411
+ type2 = "pct";
15412
+ }
15413
+ if (value === null || value === void 0) {
15414
+ value = 0;
15415
+ }
15416
+ switch (type2) {
15417
+ case "dxa":
15418
+ case null:
15419
+ case void 0:
15420
+ return `${twipsToPixels(value)}px`;
15421
+ case "nil":
15422
+ return "0";
15423
+ case "auto":
15424
+ return null;
15425
+ case "pct":
15426
+ let percent;
15427
+ if (typeof value === "number") {
15428
+ percent = value * 0.02;
15429
+ } else {
15430
+ if (value.endsWith("%")) {
15431
+ percent = parseFloat(value.slice(0, -1));
15432
+ } else {
15433
+ percent = parseFloat(value) * 0.02;
15434
+ }
15435
+ }
15436
+ return `${percent}%`;
15437
+ default:
15438
+ return null;
15439
+ }
15440
+ }
15409
15441
  const DEFAULT_DOCX_DEFS = {
15410
15442
  "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",
15411
15443
  "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex",
@@ -19227,7 +19259,7 @@ const resolveRunProperties = (params, inlineRpr, resolvedPpr, isListNumber = fal
19227
19259
  const finalProps = combineProperties(styleChain, ["fontFamily", "color"]);
19228
19260
  return finalProps;
19229
19261
  };
19230
- function resolveParagraphProperties(params, inlineProps, insideTable = false, overrideInlineStyleId = false) {
19262
+ function resolveParagraphProperties(params, inlineProps, insideTable = false, overrideInlineStyleId = false, tableStyleId = null) {
19231
19263
  const defaultProps = getDefaultProperties(params, translator$12);
19232
19264
  const { properties: normalProps, isDefault: isNormalDefault } = getStyleProperties(params, "Normal", translator$12);
19233
19265
  let styleId = inlineProps?.styleId;
@@ -19252,13 +19284,14 @@ function resolveParagraphProperties(params, inlineProps, insideTable = false, ov
19252
19284
  }
19253
19285
  }
19254
19286
  }
19287
+ const tableProps = tableStyleId ? resolveStyleChain(params, tableStyleId, translator$12) : {};
19255
19288
  let defaultsChain;
19256
19289
  if (isNormalDefault) {
19257
19290
  defaultsChain = [defaultProps, normalProps];
19258
19291
  } else {
19259
19292
  defaultsChain = [normalProps, defaultProps];
19260
19293
  }
19261
- const propsChain = [...defaultsChain, numberingProps, styleProps, inlineProps];
19294
+ const propsChain = [...defaultsChain, tableProps, numberingProps, styleProps, inlineProps];
19262
19295
  let indentChain;
19263
19296
  if (isList2) {
19264
19297
  if (numberingDefinedInline) {
@@ -20009,6 +20042,21 @@ function getStrikeValue(attributes) {
20009
20042
  if (value === "0" || value === "false" || value === "off") return "0";
20010
20043
  return "1";
20011
20044
  }
20045
+ function getTableStyleId(path) {
20046
+ const tbl = path.find((ancestor) => ancestor.name === "w:tbl");
20047
+ if (!tbl) {
20048
+ return;
20049
+ }
20050
+ const tblPr = tbl.elements?.find((child) => child.name === "w:tblPr");
20051
+ if (!tblPr) {
20052
+ return;
20053
+ }
20054
+ const tblStyle = tblPr.elements?.find((child) => child.name === "w:tblStyle");
20055
+ if (!tblStyle) {
20056
+ return;
20057
+ }
20058
+ return tblStyle.attributes?.["w:val"];
20059
+ }
20012
20060
  const handleParagraphNode$1 = (params) => {
20013
20061
  const { nodes, nodeListHandler, filename } = params;
20014
20062
  const node = carbonCopy(nodes[0]);
@@ -20019,7 +20067,14 @@ const handleParagraphNode$1 = (params) => {
20019
20067
  inlineParagraphProperties = translator$12.encode({ ...params, nodes: [pPr] }) || {};
20020
20068
  }
20021
20069
  const insideTable = (params.path || []).some((ancestor) => ancestor.name === "w:tc");
20022
- const resolvedParagraphProperties = resolveParagraphProperties(params, inlineParagraphProperties, insideTable);
20070
+ const tableStyleId = getTableStyleId(params.path || []);
20071
+ const resolvedParagraphProperties = resolveParagraphProperties(
20072
+ params,
20073
+ inlineParagraphProperties,
20074
+ insideTable,
20075
+ false,
20076
+ tableStyleId
20077
+ );
20023
20078
  const handleStandardNode2 = nodeListHandler.handlerEntities.find(
20024
20079
  (e) => e.handlerName === "standardNodeHandler"
20025
20080
  )?.handler;
@@ -21374,6 +21429,7 @@ const encode$m = (params, encodedAttrs) => {
21374
21429
  const columnWidth = gridColumnWidths?.[startColumn] || null;
21375
21430
  const result = translator$G.encode({
21376
21431
  ...params,
21432
+ path: [...params.path || [], node],
21377
21433
  extraParams: {
21378
21434
  ...params.extraParams,
21379
21435
  node,
@@ -31544,14 +31600,15 @@ const decode$j = (params) => {
31544
31600
  const grid = Array.isArray(rawGrid) ? rawGrid : [];
31545
31601
  const { firstRow = {} } = params.extraParams || {};
31546
31602
  const cellNodes = firstRow.content?.filter((n) => n.type === "tableCell") ?? [];
31547
- const columnCountFromCells = cellNodes.reduce((count, cell) => {
31603
+ const colWidthsFromCellNodes = cellNodes.flatMap((cell) => {
31548
31604
  const spanCount = Math.max(1, cell?.attrs?.colspan ?? 1);
31549
- return count + spanCount;
31550
- }, 0);
31605
+ const colwidth = cell.attrs?.colwidth;
31606
+ return Array.from({ length: spanCount }).map((_2, span) => Array.isArray(colwidth) ? colwidth[span] : void 0);
31607
+ });
31608
+ const columnCountFromCells = colWidthsFromCellNodes.length;
31551
31609
  const totalColumns = Math.max(columnCountFromCells, grid.length);
31552
31610
  const fallbackColumnWidthTwips = resolveFallbackColumnWidthTwips(params, totalColumns, cellMinWidth);
31553
31611
  const elements = [];
31554
- let columnIndex = 0;
31555
31612
  const pushColumn = (widthTwips, { enforceMinimum = false } = {}) => {
31556
31613
  let numericWidth = typeof widthTwips === "string" ? parseInt(widthTwips, 10) : widthTwips;
31557
31614
  let shouldEnforceMinimum = enforceMinimum;
@@ -31570,39 +31627,29 @@ const decode$j = (params) => {
31570
31627
  });
31571
31628
  if (decoded) elements.push(decoded);
31572
31629
  };
31573
- cellNodes.forEach((cell) => {
31574
- const { colspan = 1, colwidth } = cell?.attrs || {};
31575
- const spanCount = Math.max(1, colspan);
31576
- for (let span = 0; span < spanCount; span++) {
31577
- const rawWidth = Array.isArray(colwidth) ? colwidth[span] : void 0;
31578
- const cellWidthPixels = typeof rawWidth === "number" && Number.isFinite(rawWidth) ? rawWidth : Number(rawWidth);
31579
- const hasCellWidth = Number.isFinite(cellWidthPixels) && cellWidthPixels > 0;
31580
- const colGridAttrs = grid?.[columnIndex] || {};
31581
- const gridWidthTwips = normalizeTwipWidth(colGridAttrs.col);
31582
- const gridWidthPixels = gridWidthTwips != null ? twipsToPixels(gridWidthTwips) : null;
31583
- let cellWidthTwips;
31584
- let enforceMinimum = false;
31585
- if (hasCellWidth) {
31586
- const tolerance = 0.5;
31587
- if (gridWidthTwips != null && gridWidthPixels != null && Math.abs(gridWidthPixels - cellWidthPixels) <= tolerance) {
31588
- cellWidthTwips = gridWidthTwips;
31589
- } else {
31590
- cellWidthTwips = pixelsToTwips(cellWidthPixels);
31591
- }
31592
- } else if (gridWidthTwips != null) {
31630
+ for (let columnIndex = 0; columnIndex < totalColumns; ++columnIndex) {
31631
+ const rawWidth = colWidthsFromCellNodes[columnIndex];
31632
+ const cellWidthPixels = typeof rawWidth === "number" && Number.isFinite(rawWidth) ? rawWidth : Number(rawWidth);
31633
+ const hasCellWidth = Number.isFinite(cellWidthPixels) && cellWidthPixels > 0;
31634
+ const colGridAttrs = grid?.[columnIndex] || {};
31635
+ const gridWidthTwips = normalizeTwipWidth(colGridAttrs.col);
31636
+ const gridWidthPixels = gridWidthTwips != null ? twipsToPixels(gridWidthTwips) : null;
31637
+ let cellWidthTwips;
31638
+ let enforceMinimum = false;
31639
+ if (gridWidthTwips != null) {
31640
+ cellWidthTwips = gridWidthTwips;
31641
+ } else if (hasCellWidth) {
31642
+ const tolerance = 0.5;
31643
+ if (gridWidthTwips != null && gridWidthPixels != null && Math.abs(gridWidthPixels - cellWidthPixels) <= tolerance) {
31593
31644
  cellWidthTwips = gridWidthTwips;
31594
31645
  } else {
31595
- cellWidthTwips = fallbackColumnWidthTwips;
31596
- enforceMinimum = true;
31646
+ cellWidthTwips = pixelsToTwips(cellWidthPixels);
31597
31647
  }
31598
- pushColumn(cellWidthTwips, { enforceMinimum });
31599
- columnIndex++;
31648
+ } else {
31649
+ cellWidthTwips = fallbackColumnWidthTwips;
31650
+ enforceMinimum = true;
31600
31651
  }
31601
- });
31602
- while (columnIndex < grid.length) {
31603
- const gridWidthTwips = normalizeTwipWidth(grid[columnIndex]?.col);
31604
- pushColumn(gridWidthTwips);
31605
- columnIndex++;
31652
+ pushColumn(cellWidthTwips, { enforceMinimum });
31606
31653
  }
31607
31654
  const newNode = {
31608
31655
  name: XML_NODE_NAME$b,
@@ -31689,6 +31736,8 @@ const encode$g = (params, encodedAttrs) => {
31689
31736
  if (tblPr) {
31690
31737
  const encodedProperties = translator$c.encode({ ...params, nodes: [tblPr] });
31691
31738
  encodedAttrs["tableProperties"] = encodedProperties || {};
31739
+ } else {
31740
+ encodedAttrs["tableProperties"] || (encodedAttrs["tableProperties"] = {});
31692
31741
  }
31693
31742
  const tblGrid = node.elements.find((el) => el.name === "w:tblGrid");
31694
31743
  if (tblGrid) {
@@ -31709,14 +31758,14 @@ const encode$g = (params, encodedAttrs) => {
31709
31758
  key = prop;
31710
31759
  transform = (v2) => v2;
31711
31760
  }
31712
- if (encodedAttrs.tableProperties && encodedAttrs.tableProperties[key]) {
31761
+ if (encodedAttrs.tableProperties[key]) {
31713
31762
  encodedAttrs[key] = transform(encodedAttrs.tableProperties[key]);
31714
31763
  }
31715
31764
  });
31716
31765
  if (encodedAttrs.tableCellSpacing) {
31717
31766
  encodedAttrs["borderCollapse"] = "separate";
31718
31767
  }
31719
- if (encodedAttrs.tableProperties?.tableWidth) {
31768
+ if (encodedAttrs.tableProperties.tableWidth) {
31720
31769
  const tableWidthMeasurement = encodedAttrs.tableProperties.tableWidth;
31721
31770
  const widthPx = twipsToPixels(tableWidthMeasurement.value);
31722
31771
  if (widthPx != null) {
@@ -31731,25 +31780,22 @@ const encode$g = (params, encodedAttrs) => {
31731
31780
  };
31732
31781
  }
31733
31782
  }
31734
- const { borders, rowBorders } = _processTableBorders(encodedAttrs.tableProperties?.borders || {});
31735
- const referencedStyles = _getReferencedTableStyles(encodedAttrs.tableStyleId, params);
31736
- if (referencedStyles?.cellMargins && !encodedAttrs.tableProperties?.cellMargins) {
31737
- encodedAttrs.tableProperties = {
31738
- ...encodedAttrs.tableProperties || {},
31739
- cellMargins: referencedStyles.cellMargins
31740
- };
31741
- }
31783
+ const borderProps = _processTableBorders(encodedAttrs.tableProperties.borders || {});
31784
+ const referencedStyles = _getReferencedTableStyles(encodedAttrs.tableStyleId, params) || {};
31785
+ const rowBorders = { ...referencedStyles.rowBorders, ...borderProps.rowBorders };
31786
+ encodedAttrs.borders = { ...referencedStyles.borders, ...borderProps.borders };
31787
+ encodedAttrs.tableProperties.cellMargins = referencedStyles.cellMargins = {
31788
+ ...referencedStyles.cellMargins,
31789
+ ...encodedAttrs.tableProperties.cellMargins
31790
+ };
31742
31791
  const rows = node.elements.filter((el) => el.name === "w:tr");
31743
- const borderData = Object.assign({}, referencedStyles?.borders || {}, borders || {});
31744
- const borderRowData = Object.assign({}, referencedStyles?.rowBorders || {}, rowBorders || {});
31745
- encodedAttrs["borders"] = borderData;
31746
31792
  let columnWidths = Array.isArray(encodedAttrs["grid"]) ? encodedAttrs["grid"].map((item) => twipsToPixels(item.col)) : [];
31747
31793
  if (!columnWidths.length) {
31748
31794
  const fallback = buildFallbackGridForTable({
31749
31795
  params,
31750
31796
  rows,
31751
31797
  tableWidth: encodedAttrs.tableWidth,
31752
- tableWidthMeasurement: encodedAttrs.tableProperties?.tableWidth
31798
+ tableWidthMeasurement: encodedAttrs.tableProperties.tableWidth
31753
31799
  });
31754
31800
  if (fallback) {
31755
31801
  encodedAttrs.grid = fallback.grid;
@@ -31762,11 +31808,12 @@ const encode$g = (params, encodedAttrs) => {
31762
31808
  rows.forEach((row, rowIndex) => {
31763
31809
  const result = translator$v.encode({
31764
31810
  ...params,
31811
+ path: [...params.path || [], node],
31765
31812
  nodes: [row],
31766
31813
  extraParams: {
31767
31814
  row,
31768
31815
  table: node,
31769
- rowBorders: borderRowData,
31816
+ rowBorders,
31770
31817
  columnWidths,
31771
31818
  activeRowSpans: activeRowSpans.slice(),
31772
31819
  rowIndex,
@@ -35566,7 +35613,7 @@ const _SuperConverter = class _SuperConverter {
35566
35613
  static getStoredSuperdocVersion(docx) {
35567
35614
  return _SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
35568
35615
  }
35569
- static setStoredSuperdocVersion(docx = this.convertedXml, version = "0.31.0-next.5") {
35616
+ static setStoredSuperdocVersion(docx = this.convertedXml, version = "0.31.0-next.7") {
35570
35617
  return _SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
35571
35618
  }
35572
35619
  /**
@@ -36240,7 +36287,7 @@ export {
36240
36287
  resolveParagraphProperties as au,
36241
36288
  eighthPointsToPixels as av,
36242
36289
  linesToTwips as aw,
36243
- PIXELS_PER_INCH as ax,
36290
+ convertSizeToCSS as ax,
36244
36291
  SelectionRange as ay,
36245
36292
  Transform as az,
36246
36293
  Slice as b,
@@ -1,4 +1,4 @@
1
- import { p as process$1, aE as commonjsGlobal, B as Buffer, aF as getDefaultExportFromCjs, aG as getContentTypesFromXml, aH as xmljs } from "./converter-BIsS-JzD.js";
1
+ import { p as process$1, aE as commonjsGlobal, B as Buffer, aF as getDefaultExportFromCjs, aG as getContentTypesFromXml, aH as xmljs } from "./converter-DVDL6NWz.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }