@harbour-enterprises/superdoc 1.15.0-next.22 → 1.15.0-next.23
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.
- package/dist/chunks/{SuperConverter-BeUtWDJH.es.js → SuperConverter-C-cxnWyc.es.js} +12 -8
- package/dist/chunks/{SuperConverter-DALx-_2i.cjs → SuperConverter-Db4VUCfD.cjs} +12 -8
- package/dist/chunks/{src-DHJvvz3b.es.js → src-B_UiMQx-.es.js} +41 -5
- package/dist/chunks/{src-BCA2J2jX.cjs → src-pRQaMu4o.cjs} +41 -5
- package/dist/super-editor/converter.cjs +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.d.ts.map +1 -1
- package/dist/super-editor/src/extensions/table-header/table-header.d.ts +7 -1
- package/dist/super-editor/src/extensions/table-header/table-header.d.ts.map +1 -1
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +54 -13
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -7952,12 +7952,16 @@ function translateTableCell(params) {
|
|
|
7952
7952
|
function generateTableCellProperties(node) {
|
|
7953
7953
|
const tableCellProperties = { ...node.attrs?.tableCellProperties || {} };
|
|
7954
7954
|
const { attrs } = node;
|
|
7955
|
-
const { colwidth
|
|
7956
|
-
const
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7955
|
+
const { colwidth: rawColwidth, widthUnit = "px" } = attrs;
|
|
7956
|
+
const resolvedWidthType = attrs.cellWidthType ?? (attrs.widthType !== "auto" ? attrs.widthType : void 0) ?? tableCellProperties.cellWidth?.type ?? "dxa";
|
|
7957
|
+
const colwidth = Array.isArray(rawColwidth) ? rawColwidth.filter((v$1) => Number.isFinite(v$1)) : [];
|
|
7958
|
+
if (colwidth.length > 0 && resolvedWidthType !== "pct") {
|
|
7959
|
+
const colwidthSum = colwidth.reduce((acc, curr) => acc + curr, 0);
|
|
7960
|
+
if (twipsToPixels(tableCellProperties.cellWidth?.value) !== colwidthSum) tableCellProperties["cellWidth"] = {
|
|
7961
|
+
value: widthUnit === "px" ? pixelsToTwips(colwidthSum) : inchesToTwips(colwidthSum),
|
|
7962
|
+
type: resolvedWidthType
|
|
7963
|
+
};
|
|
7964
|
+
}
|
|
7961
7965
|
const { colspan } = attrs;
|
|
7962
7966
|
if (colspan > 1 && tableCellProperties.gridSpan !== colspan) tableCellProperties["gridSpan"] = colspan;
|
|
7963
7967
|
else if (!colspan || tableCellProperties?.gridSpan === 1) delete tableCellProperties.gridSpan;
|
|
@@ -27902,7 +27906,7 @@ var decode$33 = (params) => {
|
|
|
27902
27906
|
const { grid: rawGrid } = params.node.attrs || {};
|
|
27903
27907
|
const grid = Array.isArray(rawGrid) ? rawGrid : [];
|
|
27904
27908
|
const { firstRow = {}, preferTableGrid = false, totalColumns: requestedColumns } = params.extraParams || {};
|
|
27905
|
-
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell") ?? []).flatMap((cell) => {
|
|
27909
|
+
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell" || n.type === "tableHeader") ?? []).flatMap((cell) => {
|
|
27906
27910
|
const spanCount = Math.max(1, cell?.attrs?.colspan ?? 1);
|
|
27907
27911
|
const colwidth = cell.attrs?.colwidth;
|
|
27908
27912
|
return Array.from({ length: spanCount }).map((_$1, span) => Array.isArray(colwidth) ? colwidth[span] : void 0);
|
|
@@ -33806,7 +33810,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33806
33810
|
static getStoredSuperdocVersion(docx) {
|
|
33807
33811
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33808
33812
|
}
|
|
33809
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.15.0-next.
|
|
33813
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.15.0-next.23") {
|
|
33810
33814
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33811
33815
|
}
|
|
33812
33816
|
static generateWordTimestamp() {
|
|
@@ -7964,12 +7964,16 @@ function translateTableCell(params) {
|
|
|
7964
7964
|
function generateTableCellProperties(node) {
|
|
7965
7965
|
const tableCellProperties = { ...node.attrs?.tableCellProperties || {} };
|
|
7966
7966
|
const { attrs } = node;
|
|
7967
|
-
const { colwidth
|
|
7968
|
-
const
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7967
|
+
const { colwidth: rawColwidth, widthUnit = "px" } = attrs;
|
|
7968
|
+
const resolvedWidthType = attrs.cellWidthType ?? (attrs.widthType !== "auto" ? attrs.widthType : void 0) ?? tableCellProperties.cellWidth?.type ?? "dxa";
|
|
7969
|
+
const colwidth = Array.isArray(rawColwidth) ? rawColwidth.filter((v$1) => Number.isFinite(v$1)) : [];
|
|
7970
|
+
if (colwidth.length > 0 && resolvedWidthType !== "pct") {
|
|
7971
|
+
const colwidthSum = colwidth.reduce((acc, curr) => acc + curr, 0);
|
|
7972
|
+
if (require_helpers.twipsToPixels(tableCellProperties.cellWidth?.value) !== colwidthSum) tableCellProperties["cellWidth"] = {
|
|
7973
|
+
value: widthUnit === "px" ? require_helpers.pixelsToTwips(colwidthSum) : require_helpers.inchesToTwips(colwidthSum),
|
|
7974
|
+
type: resolvedWidthType
|
|
7975
|
+
};
|
|
7976
|
+
}
|
|
7973
7977
|
const { colspan } = attrs;
|
|
7974
7978
|
if (colspan > 1 && tableCellProperties.gridSpan !== colspan) tableCellProperties["gridSpan"] = colspan;
|
|
7975
7979
|
else if (!colspan || tableCellProperties?.gridSpan === 1) delete tableCellProperties.gridSpan;
|
|
@@ -27911,7 +27915,7 @@ var decode$33 = (params) => {
|
|
|
27911
27915
|
const { grid: rawGrid } = params.node.attrs || {};
|
|
27912
27916
|
const grid = Array.isArray(rawGrid) ? rawGrid : [];
|
|
27913
27917
|
const { firstRow = {}, preferTableGrid = false, totalColumns: requestedColumns } = params.extraParams || {};
|
|
27914
|
-
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell") ?? []).flatMap((cell) => {
|
|
27918
|
+
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell" || n.type === "tableHeader") ?? []).flatMap((cell) => {
|
|
27915
27919
|
const spanCount = Math.max(1, cell?.attrs?.colspan ?? 1);
|
|
27916
27920
|
const colwidth = cell.attrs?.colwidth;
|
|
27917
27921
|
return Array.from({ length: spanCount }).map((_$1, span) => Array.isArray(colwidth) ? colwidth[span] : void 0);
|
|
@@ -33824,7 +33828,7 @@ var SuperConverter = class SuperConverter {
|
|
|
33824
33828
|
static getStoredSuperdocVersion(docx) {
|
|
33825
33829
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
33826
33830
|
}
|
|
33827
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.15.0-next.
|
|
33831
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version = "1.15.0-next.23") {
|
|
33828
33832
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version, false);
|
|
33829
33833
|
}
|
|
33830
33834
|
static generateWordTimestamp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toCommonJS, n as __esmMin, r as __export, t as __commonJSMin } from "./rolldown-runtime-B2q5OVn9.es.js";
|
|
2
|
-
import { $ as TextSelection$1, A as findMark, At as Mark$1, B as defaultBlockAt$1, C as docxNumberingHelpers, Ct as TrackDeleteMarkName, D as posToDOMRect, Dt as DOMParser$1, E as isInTable, Et as carbonCopy, F as isMarkActive, Ft as getExtensionConfigField, G as createDocument, H as getNodeType, I as getMarkRange, J as NodeSelection, K as AllSelection, L as isTextSelection, M as isActive, Mt as Slice, N as isNodeActive, Nt as minMax, O as findChildren$1, Ot as DOMSerializer, P as getSchemaTypeNameByName, Pt as callOrGet, Q as SelectionRange, R as findParentNode, S as getResolvedParagraphProperties, St as getUnderlineCssString, T as CommandService, Tt as TrackInsertMarkName, U as cleanSchemaItem, V as getMarkType, W as getSchemaTypeByName, X as PluginKey, Y as Plugin, Z as Selection, _ as ListHelpers, _t as encodeMarksFromRPr, a as _getReferencedTableStyles, at as Transform, b as isList, bt as resolveRunProperties, c as processContent, ct as dropPoint, d as createCellBorders, dt as replaceStep$1, et as AddMarkStep, f as InputRule, ft as generateDocxRandomId, g as unflattenListsInHtml, gt as encodeCSSFromRPr, h as inputRulesPlugin, ht as encodeCSSFromPPr, it as ReplaceStep, j as getMarksFromSelection, jt as Schema$1, k as getActiveFormatting, kt as Fragment$1, l as createDocFromMarkdown, lt as joinPoint, m as htmlHandler, mt as decodeRPrFromMarks, n as kebabCase$1, nt as RemoveMarkStep, o as helpers_exports, ot as canJoin, p as handleClipboardPaste, pt as generateRandomSigned32BitIntStrId, q as EditorState, r as insertNewRelationship, rt as ReplaceAroundStep$1, s as updateDOMAttributes, st as canSplit, t as SuperConverter, tt as Mapping, u as createDocFromHTML, ut as liftTarget, v as changeListLevel, vt as resolveDocxFontFamily, w as generateOrderedListIndex, wt as TrackFormatMarkName, x as calculateResolvedParagraphProperties, xt as resolveTableCellProperties, y as updateNumberingProperties, yt as resolveParagraphProperties, z as findParentNodeClosestToPos } from "./SuperConverter-
|
|
2
|
+
import { $ as TextSelection$1, A as findMark, At as Mark$1, B as defaultBlockAt$1, C as docxNumberingHelpers, Ct as TrackDeleteMarkName, D as posToDOMRect, Dt as DOMParser$1, E as isInTable, Et as carbonCopy, F as isMarkActive, Ft as getExtensionConfigField, G as createDocument, H as getNodeType, I as getMarkRange, J as NodeSelection, K as AllSelection, L as isTextSelection, M as isActive, Mt as Slice, N as isNodeActive, Nt as minMax, O as findChildren$1, Ot as DOMSerializer, P as getSchemaTypeNameByName, Pt as callOrGet, Q as SelectionRange, R as findParentNode, S as getResolvedParagraphProperties, St as getUnderlineCssString, T as CommandService, Tt as TrackInsertMarkName, U as cleanSchemaItem, V as getMarkType, W as getSchemaTypeByName, X as PluginKey, Y as Plugin, Z as Selection, _ as ListHelpers, _t as encodeMarksFromRPr, a as _getReferencedTableStyles, at as Transform, b as isList, bt as resolveRunProperties, c as processContent, ct as dropPoint, d as createCellBorders, dt as replaceStep$1, et as AddMarkStep, f as InputRule, ft as generateDocxRandomId, g as unflattenListsInHtml, gt as encodeCSSFromRPr, h as inputRulesPlugin, ht as encodeCSSFromPPr, it as ReplaceStep, j as getMarksFromSelection, jt as Schema$1, k as getActiveFormatting, kt as Fragment$1, l as createDocFromMarkdown, lt as joinPoint, m as htmlHandler, mt as decodeRPrFromMarks, n as kebabCase$1, nt as RemoveMarkStep, o as helpers_exports, ot as canJoin, p as handleClipboardPaste, pt as generateRandomSigned32BitIntStrId, q as EditorState, r as insertNewRelationship, rt as ReplaceAroundStep$1, s as updateDOMAttributes, st as canSplit, t as SuperConverter, tt as Mapping, u as createDocFromHTML, ut as liftTarget, v as changeListLevel, vt as resolveDocxFontFamily, w as generateOrderedListIndex, wt as TrackFormatMarkName, x as calculateResolvedParagraphProperties, xt as resolveTableCellProperties, y as updateNumberingProperties, yt as resolveParagraphProperties, z as findParentNodeClosestToPos } from "./SuperConverter-C-cxnWyc.es.js";
|
|
3
3
|
import { a as init_dist$2, i as global, n as init_dist, o as Buffer$3, r as process$1, s as init_dist$1 } from "./jszip-ChlR43oI.es.js";
|
|
4
4
|
import { t as v4_default } from "./uuid-2IzDu5nl.es.js";
|
|
5
5
|
import { A as twipsToLines, T as resolveOpcTargetPath, c as getArrayBufferFromUrl, f as halfPointToPoints, g as linesToTwips, j as twipsToPixels, k as twipsToInches, m as inchesToTwips, p as inchesToPixels, r as convertSizeToCSS, w as ptToTwips, x as pixelsToTwips } from "./helpers-BGD_wEOi.es.js";
|
|
@@ -242,7 +242,7 @@ var v_click_outside_default = {
|
|
|
242
242
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
243
243
|
function getSuperdocVersion() {
|
|
244
244
|
try {
|
|
245
|
-
return "1.15.0-next.
|
|
245
|
+
return "1.15.0-next.23";
|
|
246
246
|
} catch {
|
|
247
247
|
return "unknown";
|
|
248
248
|
}
|
|
@@ -20670,7 +20670,7 @@ const canUseDOM = () => {
|
|
|
20670
20670
|
return false;
|
|
20671
20671
|
}
|
|
20672
20672
|
};
|
|
20673
|
-
var summaryVersion = "1.15.0-next.
|
|
20673
|
+
var summaryVersion = "1.15.0-next.23";
|
|
20674
20674
|
var nodeKeys = [
|
|
20675
20675
|
"group",
|
|
20676
20676
|
"content",
|
|
@@ -27068,7 +27068,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
27068
27068
|
return migrations.length > 0;
|
|
27069
27069
|
}
|
|
27070
27070
|
processCollaborationMigrations() {
|
|
27071
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.
|
|
27071
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.23");
|
|
27072
27072
|
if (!this.options.ydoc) return;
|
|
27073
27073
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
27074
27074
|
if (!docVersion) docVersion = "initial";
|
|
@@ -67454,7 +67454,7 @@ const TableHeader = Node$1.create({
|
|
|
67454
67454
|
colspan: { default: 1 },
|
|
67455
67455
|
rowspan: { default: 1 },
|
|
67456
67456
|
colwidth: {
|
|
67457
|
-
default:
|
|
67457
|
+
default: [100],
|
|
67458
67458
|
parseDOM: (element) => {
|
|
67459
67459
|
const colwidth = element.getAttribute("data-colwidth");
|
|
67460
67460
|
return colwidth ? colwidth.split(",").map((width) => parseInt(width, 10)) : null;
|
|
@@ -67464,10 +67464,46 @@ const TableHeader = Node$1.create({
|
|
|
67464
67464
|
return { "data-colwidth": attrs.colwidth.join(",") };
|
|
67465
67465
|
}
|
|
67466
67466
|
},
|
|
67467
|
+
background: { renderDOM({ background }) {
|
|
67468
|
+
if (!background) return {};
|
|
67469
|
+
const { color } = background || {};
|
|
67470
|
+
return { style: `background-color: ${color ? `#${color}` : "transparent"}` };
|
|
67471
|
+
} },
|
|
67472
|
+
verticalAlign: { renderDOM({ verticalAlign }) {
|
|
67473
|
+
if (!verticalAlign) return {};
|
|
67474
|
+
return { style: `vertical-align: ${verticalAlign}` };
|
|
67475
|
+
} },
|
|
67476
|
+
cellMargins: { renderDOM({ cellMargins, borders }) {
|
|
67477
|
+
if (!cellMargins) return {};
|
|
67478
|
+
return { style: [
|
|
67479
|
+
"top",
|
|
67480
|
+
"right",
|
|
67481
|
+
"bottom",
|
|
67482
|
+
"left"
|
|
67483
|
+
].map((side) => {
|
|
67484
|
+
const margin = cellMargins?.[side] ?? 0;
|
|
67485
|
+
const border = borders?.[side];
|
|
67486
|
+
const borderSize = border && border.val !== "none" ? Math.ceil(border.size) : 0;
|
|
67487
|
+
if (margin) return `padding-${side}: ${Math.max(0, margin - borderSize)}px;`;
|
|
67488
|
+
return "";
|
|
67489
|
+
}).join(" ") };
|
|
67490
|
+
} },
|
|
67467
67491
|
borders: {
|
|
67468
67492
|
default: () => createCellBorders(),
|
|
67469
67493
|
renderDOM: ({ borders }) => renderCellBorderStyle(borders)
|
|
67470
67494
|
},
|
|
67495
|
+
widthType: {
|
|
67496
|
+
default: "auto",
|
|
67497
|
+
rendered: false
|
|
67498
|
+
},
|
|
67499
|
+
widthUnit: {
|
|
67500
|
+
default: "px",
|
|
67501
|
+
rendered: false
|
|
67502
|
+
},
|
|
67503
|
+
tableCellProperties: {
|
|
67504
|
+
default: null,
|
|
67505
|
+
rendered: false
|
|
67506
|
+
},
|
|
67471
67507
|
__placeholder: {
|
|
67472
67508
|
default: null,
|
|
67473
67509
|
parseDOM: (element) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_rolldown_runtime = require("./rolldown-runtime-Dp2H1eGw.cjs");
|
|
2
|
-
const require_SuperConverter = require("./SuperConverter-
|
|
2
|
+
const require_SuperConverter = require("./SuperConverter-Db4VUCfD.cjs");
|
|
3
3
|
const require_jszip = require("./jszip-DCT9QYaK.cjs");
|
|
4
4
|
const require_uuid = require("./uuid-CHj_rjgt.cjs");
|
|
5
5
|
const require_helpers = require("./helpers-Cs_Zz44i.cjs");
|
|
@@ -243,7 +243,7 @@ var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
|
243
243
|
const COMMUNITY_LICENSE_KEY = "community-and-eval-agplv3";
|
|
244
244
|
function getSuperdocVersion() {
|
|
245
245
|
try {
|
|
246
|
-
return "1.15.0-next.
|
|
246
|
+
return "1.15.0-next.23";
|
|
247
247
|
} catch {
|
|
248
248
|
return "unknown";
|
|
249
249
|
}
|
|
@@ -20689,7 +20689,7 @@ const canUseDOM = () => {
|
|
|
20689
20689
|
return false;
|
|
20690
20690
|
}
|
|
20691
20691
|
};
|
|
20692
|
-
var summaryVersion = "1.15.0-next.
|
|
20692
|
+
var summaryVersion = "1.15.0-next.23";
|
|
20693
20693
|
var nodeKeys = [
|
|
20694
20694
|
"group",
|
|
20695
20695
|
"content",
|
|
@@ -27305,7 +27305,7 @@ var Editor = class Editor extends EventEmitter$1 {
|
|
|
27305
27305
|
return migrations.length > 0;
|
|
27306
27306
|
}
|
|
27307
27307
|
processCollaborationMigrations() {
|
|
27308
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.
|
|
27308
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.23");
|
|
27309
27309
|
if (!this.options.ydoc) return;
|
|
27310
27310
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
27311
27311
|
if (!docVersion) docVersion = "initial";
|
|
@@ -67722,7 +67722,7 @@ const TableHeader = Node$1.create({
|
|
|
67722
67722
|
colspan: { default: 1 },
|
|
67723
67723
|
rowspan: { default: 1 },
|
|
67724
67724
|
colwidth: {
|
|
67725
|
-
default:
|
|
67725
|
+
default: [100],
|
|
67726
67726
|
parseDOM: (element) => {
|
|
67727
67727
|
const colwidth = element.getAttribute("data-colwidth");
|
|
67728
67728
|
return colwidth ? colwidth.split(",").map((width) => parseInt(width, 10)) : null;
|
|
@@ -67732,10 +67732,46 @@ const TableHeader = Node$1.create({
|
|
|
67732
67732
|
return { "data-colwidth": attrs.colwidth.join(",") };
|
|
67733
67733
|
}
|
|
67734
67734
|
},
|
|
67735
|
+
background: { renderDOM({ background }) {
|
|
67736
|
+
if (!background) return {};
|
|
67737
|
+
const { color } = background || {};
|
|
67738
|
+
return { style: `background-color: ${color ? `#${color}` : "transparent"}` };
|
|
67739
|
+
} },
|
|
67740
|
+
verticalAlign: { renderDOM({ verticalAlign }) {
|
|
67741
|
+
if (!verticalAlign) return {};
|
|
67742
|
+
return { style: `vertical-align: ${verticalAlign}` };
|
|
67743
|
+
} },
|
|
67744
|
+
cellMargins: { renderDOM({ cellMargins, borders }) {
|
|
67745
|
+
if (!cellMargins) return {};
|
|
67746
|
+
return { style: [
|
|
67747
|
+
"top",
|
|
67748
|
+
"right",
|
|
67749
|
+
"bottom",
|
|
67750
|
+
"left"
|
|
67751
|
+
].map((side) => {
|
|
67752
|
+
const margin = cellMargins?.[side] ?? 0;
|
|
67753
|
+
const border = borders?.[side];
|
|
67754
|
+
const borderSize = border && border.val !== "none" ? Math.ceil(border.size) : 0;
|
|
67755
|
+
if (margin) return `padding-${side}: ${Math.max(0, margin - borderSize)}px;`;
|
|
67756
|
+
return "";
|
|
67757
|
+
}).join(" ") };
|
|
67758
|
+
} },
|
|
67735
67759
|
borders: {
|
|
67736
67760
|
default: () => require_SuperConverter.createCellBorders(),
|
|
67737
67761
|
renderDOM: ({ borders }) => renderCellBorderStyle(borders)
|
|
67738
67762
|
},
|
|
67763
|
+
widthType: {
|
|
67764
|
+
default: "auto",
|
|
67765
|
+
rendered: false
|
|
67766
|
+
},
|
|
67767
|
+
widthUnit: {
|
|
67768
|
+
default: "px",
|
|
67769
|
+
rendered: false
|
|
67770
|
+
},
|
|
67771
|
+
tableCellProperties: {
|
|
67772
|
+
default: null,
|
|
67773
|
+
rendered: false
|
|
67774
|
+
},
|
|
67739
67775
|
__placeholder: {
|
|
67740
67776
|
default: null,
|
|
67741
67777
|
parseDOM: (element) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("../chunks/rolldown-runtime-Dp2H1eGw.cjs");
|
|
3
|
-
const require_SuperConverter = require("../chunks/SuperConverter-
|
|
3
|
+
const require_SuperConverter = require("../chunks/SuperConverter-Db4VUCfD.cjs");
|
|
4
4
|
require("../chunks/jszip-DCT9QYaK.cjs");
|
|
5
5
|
require("../chunks/xml-js--DznO7Gk.cjs");
|
|
6
6
|
require("../chunks/helpers-Cs_Zz44i.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SuperConverter } from "../chunks/SuperConverter-
|
|
1
|
+
import { t as SuperConverter } from "../chunks/SuperConverter-C-cxnWyc.es.js";
|
|
2
2
|
import "../chunks/jszip-ChlR43oI.es.js";
|
|
3
3
|
import "../chunks/xml-js-DLE8mr0n.es.js";
|
|
4
4
|
import "../chunks/helpers-BGD_wEOi.es.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translate-table-cell.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.js"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,2CAHW,OAAO,qBAAqB,EAAE,YAAY,GACxC,OAAO,qBAAqB,EAAE,YAAY,CAetD;AAED;;;;GAIG;AACH,kDAHW,OAAO,qBAAqB,EAAE,UAAU,GACtC,OAAO,qBAAqB,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"translate-table-cell.d.ts","sourceRoot":"","sources":["../../../../../../../../../../../super-editor/src/core/super-converter/v3/handlers/w/tc/helpers/translate-table-cell.js"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,2CAHW,OAAO,qBAAqB,EAAE,YAAY,GACxC,OAAO,qBAAqB,EAAE,YAAY,CAetD;AAED;;;;GAIG;AACH,kDAHW,OAAO,qBAAqB,EAAE,UAAU,GACtC,OAAO,qBAAqB,EAAE,YAAY,CAmHtD"}
|
|
@@ -11,8 +11,14 @@ import { Node } from '../../core/index.js';
|
|
|
11
11
|
* @category Attributes
|
|
12
12
|
* @property {number} [colspan=1] - Number of columns this header spans
|
|
13
13
|
* @property {number} [rowspan=1] - Number of rows this header spans
|
|
14
|
-
* @property {number[]} [colwidth] - Column widths array in pixels
|
|
14
|
+
* @property {number[]} [colwidth=[100]] - Column widths array in pixels
|
|
15
|
+
* @property {import('../table-cell/table-cell.js').CellBackground} [background] - Cell background color configuration
|
|
16
|
+
* @property {string} [verticalAlign] - Vertical content alignment (top, middle, bottom)
|
|
17
|
+
* @property {import('../table-cell/table-cell.js').CellMargins} [cellMargins] - Internal cell padding
|
|
15
18
|
* @property {import('../table-cell/helpers/createCellBorders.js').CellBorders} [borders] - Cell border configuration
|
|
19
|
+
* @property {string} [widthType='auto'] @internal - Internal width type
|
|
20
|
+
* @property {string} [widthUnit='px'] @internal - Internal width unit
|
|
21
|
+
* @property {import('../table-cell/table-cell.js').TableCellProperties} [tableCellProperties] @internal - Raw OOXML cell properties
|
|
16
22
|
*/
|
|
17
23
|
/**
|
|
18
24
|
* @module TableHeader
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../../super-editor/src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAMA;;;;;GAKG;AAEH
|
|
1
|
+
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../../super-editor/src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAMA;;;;;GAKG;AAEH;;;;;;;;;;;;;;GAcG;AAEH;;;;GAIG;AACH,sGA0HG;;;;iCApJU,MAAM;;;;oCAON,MAAM;qBAba,gBAAgB"}
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./chunks/rolldown-runtime-Dp2H1eGw.cjs");
|
|
3
|
-
const require_src = require("./chunks/src-
|
|
4
|
-
const require_SuperConverter = require("./chunks/SuperConverter-
|
|
3
|
+
const require_src = require("./chunks/src-pRQaMu4o.cjs");
|
|
4
|
+
const require_SuperConverter = require("./chunks/SuperConverter-Db4VUCfD.cjs");
|
|
5
5
|
require("./chunks/jszip-DCT9QYaK.cjs");
|
|
6
6
|
require("./chunks/xml-js--DznO7Gk.cjs");
|
|
7
7
|
require("./chunks/helpers-Cs_Zz44i.cjs");
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as getAllowedImageDimensions, Bt as isMarkType, Ht as isNodeType, Q as trackChangesHelpers_exports, Rt as defineMark, Vt as assertNodeType, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, a as BasicUpload_default, at as CommentsPluginKey, c as Toolbar_default, et as SectionHelpers, i as SuperEditor_default, it as AnnotatorHelpers, n as SlashMenu, nt as Editor, o as ContextMenu_default, ot as TrackChangesBasePluginKey, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, t as Extensions, tt as PresentationEditor, zt as defineNode } from "./chunks/src-
|
|
2
|
-
import { i as registeredHandlers, j as getMarksFromSelection, k as getActiveFormatting, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-
|
|
1
|
+
import { $ as getAllowedImageDimensions, Bt as isMarkType, Ht as isNodeType, Q as trackChangesHelpers_exports, Rt as defineMark, Vt as assertNodeType, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, a as BasicUpload_default, at as CommentsPluginKey, c as Toolbar_default, et as SectionHelpers, i as SuperEditor_default, it as AnnotatorHelpers, n as SlashMenu, nt as Editor, o as ContextMenu_default, ot as TrackChangesBasePluginKey, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, t as Extensions, tt as PresentationEditor, zt as defineNode } from "./chunks/src-B_UiMQx-.es.js";
|
|
2
|
+
import { i as registeredHandlers, j as getMarksFromSelection, k as getActiveFormatting, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-C-cxnWyc.es.js";
|
|
3
3
|
import "./chunks/jszip-ChlR43oI.es.js";
|
|
4
4
|
import "./chunks/xml-js-DLE8mr0n.es.js";
|
|
5
5
|
import "./chunks/helpers-BGD_wEOi.es.js";
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_rolldown_runtime = require("./chunks/rolldown-runtime-Dp2H1eGw.cjs");
|
|
3
|
-
const require_src = require("./chunks/src-
|
|
4
|
-
const require_SuperConverter = require("./chunks/SuperConverter-
|
|
3
|
+
const require_src = require("./chunks/src-pRQaMu4o.cjs");
|
|
4
|
+
const require_SuperConverter = require("./chunks/SuperConverter-Db4VUCfD.cjs");
|
|
5
5
|
const require_jszip = require("./chunks/jszip-DCT9QYaK.cjs");
|
|
6
6
|
require("./chunks/xml-js--DznO7Gk.cjs");
|
|
7
7
|
const require_uuid = require("./chunks/uuid-CHj_rjgt.cjs");
|
|
@@ -19904,7 +19904,7 @@ var SuperDoc = class extends require_eventemitter3.import_eventemitter3.default
|
|
|
19904
19904
|
this.config.colors = shuffleArray(this.config.colors);
|
|
19905
19905
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
19906
19906
|
this.colorIndex = 0;
|
|
19907
|
-
this.version = "1.15.0-next.
|
|
19907
|
+
this.version = "1.15.0-next.23";
|
|
19908
19908
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
19909
19909
|
this.superdocId = config.superdocId || require_uuid.v4_default();
|
|
19910
19910
|
this.colors = this.config.colors;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as isMounted, At as writeVarUint, B as cNotM, C as resolveWrappedSlot, Ct as createDecoder, D as warnOnce, Dt as createEncoder, E as throwError, Et as readVarUint8Array, F as changeColor, Ft as v_click_outside_default, G as ellipsis_vertical_solid_default, H as insideModal, I as c, It as getFileObject, J as comment_solid_default, K as xmark_solid_default, L as cB, Lt as comments_module_events, M as use_memo_default, Mt as create, N as on, Nt as min, O as useSsrAdapter, Ot as length, P as createId, Pt as pow, Q as trackChangesHelpers_exports, R as cE, S as configProviderInjectionKey, St as getUnixTime, T as call, Tt as readVarUint, U as insidePopover, V as createKey, W as caret_down_solid_default, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, _ as useRtl, _t as encodeAwarenessUpdate, at as CommentsPluginKey, b as useThemeClass, bt as ObservableV2, ct as createUint8ArrayFromArrayBuffer, d as Dropdown_default, dt as isNode, et as SectionHelpers, f as ConfigProvider_default, ft as offChange, g as _common_default$2, gt as applyAwarenessUpdate, h as index_cssr_default$5, ht as Awareness, i as SuperEditor_default, it as AnnotatorHelpers, j as useMergedState, jt as writeVarUint8Array, k as createInjectionKey, kt as toUint8Array, l as messageApiInjectionKey, lt as fromBase64, m as use_theme_default, mt as varStorage, nt as Editor, ot as TrackChangesBasePluginKey, p as light_default$1, pt as onChange, q as check_solid_default, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, st as getTrackChanges, t as Extensions, tt as PresentationEditor, u as messageProviderInjectionKey, ut as toBase64, v as cssrAnchorMetaName, vt as removeAwarenessStates, w as render, wt as readVarString, x as useConfig, xt as setIfUndefined, y as toString_default, yt as map, z as cM } from "./chunks/src-
|
|
2
|
-
import { i as registeredHandlers, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-
|
|
1
|
+
import { A as isMounted, At as writeVarUint, B as cNotM, C as resolveWrappedSlot, Ct as createDecoder, D as warnOnce, Dt as createEncoder, E as throwError, Et as readVarUint8Array, F as changeColor, Ft as v_click_outside_default, G as ellipsis_vertical_solid_default, H as insideModal, I as c, It as getFileObject, J as comment_solid_default, K as xmark_solid_default, L as cB, Lt as comments_module_events, M as use_memo_default, Mt as create, N as on, Nt as min, O as useSsrAdapter, Ot as length, P as createId, Pt as pow, Q as trackChangesHelpers_exports, R as cE, S as configProviderInjectionKey, St as getUnixTime, T as call, Tt as readVarUint, U as insidePopover, V as createKey, W as caret_down_solid_default, X as getRichTextExtensions, Y as AIWriter_default, Z as getStarterExtensions, _ as useRtl, _t as encodeAwarenessUpdate, at as CommentsPluginKey, b as useThemeClass, bt as ObservableV2, ct as createUint8ArrayFromArrayBuffer, d as Dropdown_default, dt as isNode, et as SectionHelpers, f as ConfigProvider_default, ft as offChange, g as _common_default$2, gt as applyAwarenessUpdate, h as index_cssr_default$5, ht as Awareness, i as SuperEditor_default, it as AnnotatorHelpers, j as useMergedState, jt as writeVarUint8Array, k as createInjectionKey, kt as toUint8Array, l as messageApiInjectionKey, lt as fromBase64, m as use_theme_default, mt as varStorage, nt as Editor, ot as TrackChangesBasePluginKey, p as light_default$1, pt as onChange, q as check_solid_default, r as SuperInput_default, rt as fieldAnnotationHelpers_exports, s as SuperToolbar, st as getTrackChanges, t as Extensions, tt as PresentationEditor, u as messageProviderInjectionKey, ut as toBase64, v as cssrAnchorMetaName, vt as removeAwarenessStates, w as render, wt as readVarString, x as useConfig, xt as setIfUndefined, y as toString_default, yt as map, z as cM } from "./chunks/src-B_UiMQx-.es.js";
|
|
2
|
+
import { i as registeredHandlers, o as helpers_exports, t as SuperConverter } from "./chunks/SuperConverter-C-cxnWyc.es.js";
|
|
3
3
|
import { a as init_dist$1, i as global, n as init_dist, r as process$1 } from "./chunks/jszip-ChlR43oI.es.js";
|
|
4
4
|
import "./chunks/xml-js-DLE8mr0n.es.js";
|
|
5
5
|
import { t as v4_default } from "./chunks/uuid-2IzDu5nl.es.js";
|
|
@@ -19863,7 +19863,7 @@ var SuperDoc = class extends import_eventemitter3.default {
|
|
|
19863
19863
|
this.config.colors = shuffleArray(this.config.colors);
|
|
19864
19864
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
19865
19865
|
this.colorIndex = 0;
|
|
19866
|
-
this.version = "1.15.0-next.
|
|
19866
|
+
this.version = "1.15.0-next.23";
|
|
19867
19867
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
19868
19868
|
this.superdocId = config.superdocId || v4_default();
|
|
19869
19869
|
this.colors = this.config.colors;
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -10276,12 +10276,16 @@
|
|
|
10276
10276
|
function generateTableCellProperties(node$1) {
|
|
10277
10277
|
const tableCellProperties = { ...node$1.attrs?.tableCellProperties || {} };
|
|
10278
10278
|
const { attrs } = node$1;
|
|
10279
|
-
const { colwidth
|
|
10280
|
-
const
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10279
|
+
const { colwidth: rawColwidth, widthUnit = "px" } = attrs;
|
|
10280
|
+
const resolvedWidthType = attrs.cellWidthType ?? (attrs.widthType !== "auto" ? attrs.widthType : void 0) ?? tableCellProperties.cellWidth?.type ?? "dxa";
|
|
10281
|
+
const colwidth = Array.isArray(rawColwidth) ? rawColwidth.filter((v$1) => Number.isFinite(v$1)) : [];
|
|
10282
|
+
if (colwidth.length > 0 && resolvedWidthType !== "pct") {
|
|
10283
|
+
const colwidthSum = colwidth.reduce((acc, curr) => acc + curr, 0);
|
|
10284
|
+
if (twipsToPixels(tableCellProperties.cellWidth?.value) !== colwidthSum) tableCellProperties["cellWidth"] = {
|
|
10285
|
+
value: widthUnit === "px" ? pixelsToTwips(colwidthSum) : inchesToTwips(colwidthSum),
|
|
10286
|
+
type: resolvedWidthType
|
|
10287
|
+
};
|
|
10288
|
+
}
|
|
10285
10289
|
const { colspan } = attrs;
|
|
10286
10290
|
if (colspan > 1 && tableCellProperties.gridSpan !== colspan) tableCellProperties["gridSpan"] = colspan;
|
|
10287
10291
|
else if (!colspan || tableCellProperties?.gridSpan === 1) delete tableCellProperties.gridSpan;
|
|
@@ -30225,7 +30229,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
30225
30229
|
const { grid: rawGrid } = params$1.node.attrs || {};
|
|
30226
30230
|
const grid = Array.isArray(rawGrid) ? rawGrid : [];
|
|
30227
30231
|
const { firstRow = {}, preferTableGrid = false, totalColumns: requestedColumns } = params$1.extraParams || {};
|
|
30228
|
-
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell") ?? []).flatMap((cell$1) => {
|
|
30232
|
+
let colWidthsFromCellNodes = (firstRow.content?.filter((n) => n.type === "tableCell" || n.type === "tableHeader") ?? []).flatMap((cell$1) => {
|
|
30229
30233
|
const spanCount = Math.max(1, cell$1?.attrs?.colspan ?? 1);
|
|
30230
30234
|
const colwidth = cell$1.attrs?.colwidth;
|
|
30231
30235
|
return Array.from({ length: spanCount }).map((_$2, span) => Array.isArray(colwidth) ? colwidth[span] : void 0);
|
|
@@ -33373,7 +33377,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
33373
33377
|
var DEFAULT_ENDPOINT = "https://ingest.superdoc.dev/v1/collect";
|
|
33374
33378
|
function getSuperdocVersion() {
|
|
33375
33379
|
try {
|
|
33376
|
-
return "1.15.0-next.
|
|
33380
|
+
return "1.15.0-next.23";
|
|
33377
33381
|
} catch {
|
|
33378
33382
|
return "unknown";
|
|
33379
33383
|
}
|
|
@@ -36315,7 +36319,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
|
36315
36319
|
static getStoredSuperdocVersion(docx) {
|
|
36316
36320
|
return SuperConverter.getStoredCustomProperty(docx, "SuperdocVersion");
|
|
36317
36321
|
}
|
|
36318
|
-
static setStoredSuperdocVersion(docx = this.convertedXml, version$2 = "1.15.0-next.
|
|
36322
|
+
static setStoredSuperdocVersion(docx = this.convertedXml, version$2 = "1.15.0-next.23") {
|
|
36319
36323
|
return SuperConverter.setStoredCustomProperty(docx, "SuperdocVersion", version$2, false);
|
|
36320
36324
|
}
|
|
36321
36325
|
static generateWordTimestamp() {
|
|
@@ -64657,6 +64661,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
|
|
|
64657
64661
|
}));
|
|
64658
64662
|
var init_vue_runtime_esm_bundler = __esmMin((() => {
|
|
64659
64663
|
init_runtime_dom_esm_bundler();
|
|
64664
|
+
init_runtime_dom_esm_bundler();
|
|
64660
64665
|
}));
|
|
64661
64666
|
init_vue_runtime_esm_bundler();
|
|
64662
64667
|
var isHighContrastMode$1 = ref(false);
|
|
@@ -65643,7 +65648,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
|
|
|
65643
65648
|
return false;
|
|
65644
65649
|
}
|
|
65645
65650
|
};
|
|
65646
|
-
var summaryVersion = "1.15.0-next.
|
|
65651
|
+
var summaryVersion = "1.15.0-next.23";
|
|
65647
65652
|
var nodeKeys = [
|
|
65648
65653
|
"group",
|
|
65649
65654
|
"content",
|
|
@@ -89421,7 +89426,7 @@ while (n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 === a$3[++i$3] && n$2 ===
|
|
|
89421
89426
|
return migrations.length > 0;
|
|
89422
89427
|
}
|
|
89423
89428
|
processCollaborationMigrations() {
|
|
89424
|
-
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.
|
|
89429
|
+
console.debug("[checkVersionMigrations] Current editor version", "1.15.0-next.23");
|
|
89425
89430
|
if (!this.options.ydoc) return;
|
|
89426
89431
|
let docVersion = this.options.ydoc.getMap("meta").get("version");
|
|
89427
89432
|
if (!docVersion) docVersion = "initial";
|
|
@@ -129736,7 +129741,7 @@ ${o}
|
|
|
129736
129741
|
colspan: { default: 1 },
|
|
129737
129742
|
rowspan: { default: 1 },
|
|
129738
129743
|
colwidth: {
|
|
129739
|
-
default:
|
|
129744
|
+
default: [100],
|
|
129740
129745
|
parseDOM: (element$2) => {
|
|
129741
129746
|
const colwidth = element$2.getAttribute("data-colwidth");
|
|
129742
129747
|
return colwidth ? colwidth.split(",").map((width) => parseInt(width, 10)) : null;
|
|
@@ -129746,10 +129751,46 @@ ${o}
|
|
|
129746
129751
|
return { "data-colwidth": attrs.colwidth.join(",") };
|
|
129747
129752
|
}
|
|
129748
129753
|
},
|
|
129754
|
+
background: { renderDOM({ background }) {
|
|
129755
|
+
if (!background) return {};
|
|
129756
|
+
const { color: color$1 } = background || {};
|
|
129757
|
+
return { style: `background-color: ${color$1 ? `#${color$1}` : "transparent"}` };
|
|
129758
|
+
} },
|
|
129759
|
+
verticalAlign: { renderDOM({ verticalAlign }) {
|
|
129760
|
+
if (!verticalAlign) return {};
|
|
129761
|
+
return { style: `vertical-align: ${verticalAlign}` };
|
|
129762
|
+
} },
|
|
129763
|
+
cellMargins: { renderDOM({ cellMargins, borders }) {
|
|
129764
|
+
if (!cellMargins) return {};
|
|
129765
|
+
return { style: [
|
|
129766
|
+
"top",
|
|
129767
|
+
"right",
|
|
129768
|
+
"bottom",
|
|
129769
|
+
"left"
|
|
129770
|
+
].map((side) => {
|
|
129771
|
+
const margin = cellMargins?.[side] ?? 0;
|
|
129772
|
+
const border = borders?.[side];
|
|
129773
|
+
const borderSize = border && border.val !== "none" ? Math.ceil(border.size) : 0;
|
|
129774
|
+
if (margin) return `padding-${side}: ${Math.max(0, margin - borderSize)}px;`;
|
|
129775
|
+
return "";
|
|
129776
|
+
}).join(" ") };
|
|
129777
|
+
} },
|
|
129749
129778
|
borders: {
|
|
129750
129779
|
default: () => createCellBorders(),
|
|
129751
129780
|
renderDOM: ({ borders }) => renderCellBorderStyle(borders)
|
|
129752
129781
|
},
|
|
129782
|
+
widthType: {
|
|
129783
|
+
default: "auto",
|
|
129784
|
+
rendered: false
|
|
129785
|
+
},
|
|
129786
|
+
widthUnit: {
|
|
129787
|
+
default: "px",
|
|
129788
|
+
rendered: false
|
|
129789
|
+
},
|
|
129790
|
+
tableCellProperties: {
|
|
129791
|
+
default: null,
|
|
129792
|
+
rendered: false
|
|
129793
|
+
},
|
|
129753
129794
|
__placeholder: {
|
|
129754
129795
|
default: null,
|
|
129755
129796
|
parseDOM: (element$2) => {
|
|
@@ -173840,7 +173881,7 @@ js: import "konva/skia-backend";
|
|
|
173840
173881
|
this.config.colors = shuffleArray(this.config.colors);
|
|
173841
173882
|
this.userColorMap = /* @__PURE__ */ new Map();
|
|
173842
173883
|
this.colorIndex = 0;
|
|
173843
|
-
this.version = "1.15.0-next.
|
|
173884
|
+
this.version = "1.15.0-next.23";
|
|
173844
173885
|
this.#log("🦋 [superdoc] Using SuperDoc version:", this.version);
|
|
173845
173886
|
this.superdocId = config$31.superdocId || v4_default();
|
|
173846
173887
|
this.colors = this.config.colors;
|