@superdoc-dev/cli 0.7.0-next.3 → 0.7.0-next.4
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/index.js +70 -28
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -204289,7 +204289,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
204289
204289
|
init_remark_gfm_BhnWr3yf_es();
|
|
204290
204290
|
});
|
|
204291
204291
|
|
|
204292
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
204292
|
+
// ../../packages/superdoc/dist/chunks/src-DtoTLJe0.es.js
|
|
204293
204293
|
function deleteProps(obj, propOrProps) {
|
|
204294
204294
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
204295
204295
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -204577,6 +204577,16 @@ function shouldApplyJustify(params$1) {
|
|
|
204577
204577
|
return false;
|
|
204578
204578
|
return true;
|
|
204579
204579
|
}
|
|
204580
|
+
function getFirstLineIndentOffset(indent2, suppressFirstLineIndent) {
|
|
204581
|
+
if (suppressFirstLineIndent)
|
|
204582
|
+
return 0;
|
|
204583
|
+
return (indent2?.firstLine ?? 0) - (indent2?.hanging ?? 0);
|
|
204584
|
+
}
|
|
204585
|
+
function adjustAvailableWidthForTextIndent(availableWidth, textIndentOffset, lineMaxWidth) {
|
|
204586
|
+
if (textIndentOffset !== 0 && (textIndentOffset < 0 || lineMaxWidth == null))
|
|
204587
|
+
return Math.max(0, availableWidth - textIndentOffset);
|
|
204588
|
+
return availableWidth;
|
|
204589
|
+
}
|
|
204580
204590
|
function calculateJustifySpacing(params$1) {
|
|
204581
204591
|
const { lineWidth, availableWidth, spaceCount, shouldJustify } = params$1;
|
|
204582
204592
|
if (!shouldJustify)
|
|
@@ -245939,6 +245949,7 @@ function resolveParagraphContent(fragment2, block, measure) {
|
|
|
245939
245949
|
if (!hasExplicitSegmentPositioning)
|
|
245940
245950
|
textIndentPx = firstLineOffset;
|
|
245941
245951
|
}
|
|
245952
|
+
availableWidth = adjustAvailableWidthForTextIndent(availableWidth, textIndentPx, line.maxWidth);
|
|
245942
245953
|
const indentLeft = paraIndent?.left ?? 0;
|
|
245943
245954
|
const firstLine = paraIndent?.firstLine ?? 0;
|
|
245944
245955
|
const hanging = paraIndent?.hanging ?? 0;
|
|
@@ -250919,11 +250930,11 @@ function remeasureParagraph(block, maxWidth, firstLineIndent = 0) {
|
|
|
250919
250930
|
const indentRight = Math.max(0, rawIndentRight);
|
|
250920
250931
|
const indentFirstLine = Math.max(0, indent2?.firstLine ?? 0);
|
|
250921
250932
|
const indentHanging = Math.max(0, indent2?.hanging ?? 0);
|
|
250922
|
-
const baseFirstLineOffset = firstLineIndent || indentFirstLine - indentHanging;
|
|
250923
|
-
const rawFirstLineOffset = baseFirstLineOffset;
|
|
250933
|
+
const baseFirstLineOffset = attrs?.suppressFirstLineIndent === true ? 0 : firstLineIndent || indentFirstLine - indentHanging;
|
|
250924
250934
|
const clampedFirstLineOffset = Math.max(0, baseFirstLineOffset);
|
|
250925
|
-
const
|
|
250926
|
-
const
|
|
250935
|
+
const hasNegativeLeftIndent = rawIndentLeft < 0;
|
|
250936
|
+
const allowNegativeFirstLineOffset = !wordLayout?.marker && !hasNegativeLeftIndent && baseFirstLineOffset < 0;
|
|
250937
|
+
const effectiveFirstLineOffset = wordLayout?.marker ? 0 : allowNegativeFirstLineOffset ? baseFirstLineOffset : clampedFirstLineOffset;
|
|
250927
250938
|
const contentWidth = Math.max(1, maxWidth - indentLeft - indentRight);
|
|
250928
250939
|
const textStartPx = wordLayout?.textStartPx;
|
|
250929
250940
|
let measuredMarkerTextWidth;
|
|
@@ -250945,7 +250956,7 @@ function remeasureParagraph(block, maxWidth, firstLineIndent = 0) {
|
|
|
250945
250956
|
while (currentRun < runs2.length) {
|
|
250946
250957
|
const isFirstLine = lines.length === 0;
|
|
250947
250958
|
const effectiveMaxWidth = Math.max(1, isFirstLine ? firstLineWidth : contentWidth);
|
|
250948
|
-
const effectiveIndent = isFirstLine ? indentLeft +
|
|
250959
|
+
const effectiveIndent = isFirstLine ? indentLeft + baseFirstLineOffset : indentLeft;
|
|
250949
250960
|
const startRun = currentRun;
|
|
250950
250961
|
const startChar = currentChar;
|
|
250951
250962
|
let width = 0;
|
|
@@ -251123,7 +251134,7 @@ function remeasureParagraph(block, maxWidth, firstLineIndent = 0) {
|
|
|
251123
251134
|
const hasTabRun = runs2.some((run2) => run2?.kind === "tab");
|
|
251124
251135
|
const hasTextTab = runs2.some((run2) => run2?.kind === "text" && typeof run2.text === "string" && run2.text.includes("\t"));
|
|
251125
251136
|
if (hasTabRun || hasTextTab)
|
|
251126
|
-
applyTabLayoutToLines(lines, runs2, tabStops, decimalSeparator, indentLeft,
|
|
251137
|
+
applyTabLayoutToLines(lines, runs2, tabStops, decimalSeparator, indentLeft, baseFirstLineOffset);
|
|
251127
251138
|
const totalHeight = lines.reduce((s2, l) => s2 + l.lineHeight, 0);
|
|
251128
251139
|
const marker = wordLayout?.marker;
|
|
251129
251140
|
return {
|
|
@@ -252477,10 +252488,16 @@ function clickToPositionGeometry(layout, blocks2, measures, containerPoint, opti
|
|
|
252477
252488
|
const indentLeft = typeof block.attrs?.indent?.left === "number" ? block.attrs.indent.left : 0;
|
|
252478
252489
|
const indentRight = typeof block.attrs?.indent?.right === "number" ? block.attrs.indent.right : 0;
|
|
252479
252490
|
const totalIndent = (Number.isFinite(indentLeft) ? indentLeft : 0) + (Number.isFinite(indentRight) ? indentRight : 0);
|
|
252480
|
-
|
|
252491
|
+
let availableWidth = Math.max(0, fragment2.width - totalIndent);
|
|
252481
252492
|
if (totalIndent > fragment2.width)
|
|
252482
252493
|
console.warn(`[clickToPosition] Paragraph indents (${totalIndent}px) exceed fragment width (${fragment2.width}px) for block ${fragment2.blockId}. This may indicate a layout miscalculation. Available width clamped to 0.`);
|
|
252483
252494
|
const isListItem$1 = (fragment2.markerWidth ?? measure.marker?.markerWidth ?? 0) > 0;
|
|
252495
|
+
const hasRenderedMarkerText = isListItem$1 && Boolean(fragment2.markerTextWidth);
|
|
252496
|
+
if (lineIndex === 0 && !fragment2.continuesFromPrev && !hasRenderedMarkerText) {
|
|
252497
|
+
const suppressFLI = block.attrs?.suppressFirstLineIndent === true;
|
|
252498
|
+
const firstLineOffset = getFirstLineIndentOffset(block.attrs?.indent, suppressFLI);
|
|
252499
|
+
availableWidth = adjustAvailableWidthForTextIndent(availableWidth, firstLineOffset, line.maxWidth);
|
|
252500
|
+
}
|
|
252484
252501
|
const isJustified = block.attrs?.alignment === "justify";
|
|
252485
252502
|
const alignmentOverride = isListItem$1 && !isJustified ? "left" : undefined;
|
|
252486
252503
|
const pos = mapPointToPm(block, line, pageRelativePoint.x - fragment2.x, isRTL, availableWidth, alignmentOverride);
|
|
@@ -252521,10 +252538,17 @@ function clickToPositionGeometry(layout, blocks2, measures, containerPoint, opti
|
|
|
252521
252538
|
const indentLeft = typeof cellBlock.attrs?.indent?.left === "number" ? cellBlock.attrs.indent.left : 0;
|
|
252522
252539
|
const indentRight = typeof cellBlock.attrs?.indent?.right === "number" ? cellBlock.attrs.indent.right : 0;
|
|
252523
252540
|
const totalIndent = (Number.isFinite(indentLeft) ? indentLeft : 0) + (Number.isFinite(indentRight) ? indentRight : 0);
|
|
252524
|
-
|
|
252541
|
+
let availableWidth = Math.max(0, tableHit.fragment.width - totalIndent);
|
|
252525
252542
|
if (totalIndent > tableHit.fragment.width)
|
|
252526
252543
|
console.warn(`[clickToPosition:table] Paragraph indents (${totalIndent}px) exceed fragment width (${tableHit.fragment.width}px) for block ${tableHit.fragment.blockId}. This may indicate a layout miscalculation. Available width clamped to 0.`);
|
|
252527
252544
|
const isListItem$1 = (cellMeasure.marker?.markerWidth ?? 0) > 0;
|
|
252545
|
+
const cellLineStart = tableHit.fragment.partialRow?.fromLineByCell?.[tableHit.cellColIndex] ?? 0;
|
|
252546
|
+
const localStartLine = Math.max(0, cellLineStart - tableHit.blockStartGlobal);
|
|
252547
|
+
if (lineIndex === 0 && localStartLine === 0 && !isListItem$1) {
|
|
252548
|
+
const suppressFLI = cellBlock.attrs?.suppressFirstLineIndent === true;
|
|
252549
|
+
const firstLineOffset = getFirstLineIndentOffset(cellBlock.attrs?.indent, suppressFLI);
|
|
252550
|
+
availableWidth = adjustAvailableWidthForTextIndent(availableWidth, firstLineOffset, line.maxWidth);
|
|
252551
|
+
}
|
|
252528
252552
|
const isJustified = cellBlock.attrs?.alignment === "justify";
|
|
252529
252553
|
const pos = mapPointToPm(cellBlock, line, localX, isRTL, availableWidth, isListItem$1 && !isJustified ? "left" : undefined);
|
|
252530
252554
|
if (pos != null)
|
|
@@ -252600,15 +252624,17 @@ function selectionToRects(layout, blocks2, measures, from$1, to, geometryHelper)
|
|
|
252600
252624
|
const isListItemFlag = isListItem2(markerWidth, block);
|
|
252601
252625
|
const isJustified = block.attrs?.alignment === "justify";
|
|
252602
252626
|
const alignmentOverride = isListItemFlag && !isJustified ? "left" : undefined;
|
|
252603
|
-
const
|
|
252604
|
-
const
|
|
252627
|
+
const isFirstLine = index2 === fragment2.fromLine && !fragment2.continuesFromPrev;
|
|
252628
|
+
const fragmentMarkerTextWidth = fragment2.markerTextWidth ?? measure.marker?.markerTextWidth ?? undefined;
|
|
252629
|
+
const startX = mapPmToX(block, line, charOffsetFrom, fragment2.width, alignmentOverride, isFirstLine, fragmentMarkerTextWidth);
|
|
252630
|
+
const endX = mapPmToX(block, line, charOffsetTo, fragment2.width, alignmentOverride, isFirstLine, fragmentMarkerTextWidth);
|
|
252605
252631
|
const indent2 = extractParagraphIndent(block.attrs?.indent);
|
|
252606
252632
|
const wordLayout = getWordLayoutConfig(block);
|
|
252607
252633
|
const indentAdjust = calculateTextStartIndent({
|
|
252608
|
-
isFirstLine
|
|
252634
|
+
isFirstLine,
|
|
252609
252635
|
isListItem: isListItemFlag,
|
|
252610
252636
|
markerWidth,
|
|
252611
|
-
markerTextWidth:
|
|
252637
|
+
markerTextWidth: fragmentMarkerTextWidth,
|
|
252612
252638
|
paraIndentLeft: indent2.left,
|
|
252613
252639
|
firstLineIndent: indent2.firstLine,
|
|
252614
252640
|
hangingIndent: indent2.hanging,
|
|
@@ -252772,13 +252798,15 @@ function selectionToRects(layout, blocks2, measures, from$1, to, geometryHelper)
|
|
|
252772
252798
|
const charOffsetFrom = pmPosToCharOffset(info.block, line, sliceFrom);
|
|
252773
252799
|
const charOffsetTo = pmPosToCharOffset(info.block, line, sliceTo);
|
|
252774
252800
|
const availableWidth = Math.max(1, cellMeasure.width - padding.left - padding.right);
|
|
252775
|
-
const
|
|
252776
|
-
const
|
|
252801
|
+
const isFirstLine = index2 === 0;
|
|
252802
|
+
const cellMarkerTextWidth = info.measure?.marker?.markerTextWidth ?? undefined;
|
|
252803
|
+
const startX = mapPmToX(info.block, line, charOffsetFrom, availableWidth, alignmentOverride, isFirstLine, cellMarkerTextWidth);
|
|
252804
|
+
const endX = mapPmToX(info.block, line, charOffsetTo, availableWidth, alignmentOverride, isFirstLine, cellMarkerTextWidth);
|
|
252777
252805
|
const textIndentAdjust = calculateTextStartIndent({
|
|
252778
|
-
isFirstLine
|
|
252806
|
+
isFirstLine,
|
|
252779
252807
|
isListItem: cellIsListItem,
|
|
252780
252808
|
markerWidth: paragraphMarkerWidth,
|
|
252781
|
-
markerTextWidth:
|
|
252809
|
+
markerTextWidth: cellMarkerTextWidth,
|
|
252782
252810
|
paraIndentLeft: cellIndent.left,
|
|
252783
252811
|
firstLineIndent: cellIndent.firstLine,
|
|
252784
252812
|
hangingIndent: cellIndent.hanging,
|
|
@@ -258861,7 +258889,7 @@ async function measureParagraphBlock(block, maxWidth) {
|
|
|
258861
258889
|
const hanging = indent2?.hanging ?? 0;
|
|
258862
258890
|
const isWordLayoutList = Boolean(wordLayout?.marker);
|
|
258863
258891
|
const rawFirstLineOffset = block.attrs?.suppressFirstLineIndent === true ? 0 : firstLine - hanging;
|
|
258864
|
-
const firstLineOffset = isWordLayoutList ? 0 : !isWordLayoutList && !(indentLeft < 0
|
|
258892
|
+
const firstLineOffset = isWordLayoutList ? 0 : !isWordLayoutList && !(indentLeft < 0) && rawFirstLineOffset < 0 ? rawFirstLineOffset : Math.max(0, rawFirstLineOffset);
|
|
258865
258893
|
const contentWidth = Math.max(1, maxWidth - indentLeft - indentRight);
|
|
258866
258894
|
const bodyContentWidth = contentWidth;
|
|
258867
258895
|
let initialAvailableWidth;
|
|
@@ -277295,7 +277323,7 @@ var Node$13 = class Node$14 {
|
|
|
277295
277323
|
const radicand = elements.find((e) => e.name === "m:e");
|
|
277296
277324
|
const degHideEl = radPr?.elements?.find((e) => e.name === "m:degHide");
|
|
277297
277325
|
const degHideVal = degHideEl?.attributes?.["m:val"];
|
|
277298
|
-
if (degHideEl !== undefined && degHideVal !== "0" && degHideVal !== "false" || !deg) {
|
|
277326
|
+
if (degHideEl !== undefined && degHideVal !== "0" && degHideVal !== "false" && degHideVal !== "off" || !deg || (deg.elements ?? []).length === 0) {
|
|
277299
277327
|
const msqrt = doc$12.createElementNS(MATHML_NS$1, "msqrt");
|
|
277300
277328
|
const radicandRow$1 = doc$12.createElementNS(MATHML_NS$1, "mrow");
|
|
277301
277329
|
radicandRow$1.appendChild(convertChildren(radicand?.elements ?? []));
|
|
@@ -280615,6 +280643,7 @@ var Node$13 = class Node$14 {
|
|
|
280615
280643
|
const rawMeasures = cellMeasure.blocks ?? (cellMeasure.paragraph ? [cellMeasure.paragraph] : []);
|
|
280616
280644
|
const cellBlockMeasures = (Array.isArray(rawMeasures) ? rawMeasures : []).filter((m$1) => m$1 != null && typeof m$1 === "object" && ("kind" in m$1));
|
|
280617
280645
|
let blockStartY = 0;
|
|
280646
|
+
let blockStartGlobalLines = 0;
|
|
280618
280647
|
const getBlockHeight = (m$1) => {
|
|
280619
280648
|
if (!m$1)
|
|
280620
280649
|
return 0;
|
|
@@ -280658,10 +280687,12 @@ var Node$13 = class Node$14 {
|
|
|
280658
280687
|
cellBlock: paragraphBlock,
|
|
280659
280688
|
cellMeasure: paragraphMeasure,
|
|
280660
280689
|
localX: Math.max(0, cellLocalX),
|
|
280661
|
-
localY: Math.max(0, localYWithinBlock)
|
|
280690
|
+
localY: Math.max(0, localYWithinBlock),
|
|
280691
|
+
blockStartGlobal: blockStartGlobalLines
|
|
280662
280692
|
};
|
|
280663
280693
|
}
|
|
280664
280694
|
blockStartY = blockEndY;
|
|
280695
|
+
blockStartGlobalLines += paragraphMeasure.lines.length;
|
|
280665
280696
|
}
|
|
280666
280697
|
}
|
|
280667
280698
|
return null;
|
|
@@ -280707,29 +280738,38 @@ var Node$13 = class Node$14 {
|
|
|
280707
280738
|
for (let i4 = 0;i4 < absoluteLineIndex; i4 += 1)
|
|
280708
280739
|
height += measure.lines[i4]?.lineHeight ?? 0;
|
|
280709
280740
|
return height;
|
|
280710
|
-
}, mapPmToX = (block, line, offset$1, fragmentWidth, alignmentOverride) => {
|
|
280741
|
+
}, mapPmToX = (block, line, offset$1, fragmentWidth, alignmentOverride, isFirstLine, markerTextWidth) => {
|
|
280711
280742
|
if (fragmentWidth <= 0 || line.width <= 0)
|
|
280712
280743
|
return 0;
|
|
280713
280744
|
let paraIndentLeft = 0;
|
|
280714
280745
|
let paraIndentRight = 0;
|
|
280715
280746
|
let effectiveLeft = 0;
|
|
280747
|
+
let isListParagraph = false;
|
|
280748
|
+
let wl;
|
|
280716
280749
|
if (block.kind === "paragraph") {
|
|
280717
280750
|
const indentLeft = typeof block.attrs?.indent?.left === "number" ? block.attrs.indent.left : 0;
|
|
280718
280751
|
const indentRight = typeof block.attrs?.indent?.right === "number" ? block.attrs.indent.right : 0;
|
|
280719
280752
|
paraIndentLeft = Number.isFinite(indentLeft) ? indentLeft : 0;
|
|
280720
280753
|
paraIndentRight = Number.isFinite(indentRight) ? indentRight : 0;
|
|
280721
280754
|
effectiveLeft = paraIndentLeft;
|
|
280722
|
-
|
|
280723
|
-
|
|
280755
|
+
wl = getWordLayoutConfig(block);
|
|
280756
|
+
isListParagraph = Boolean(block.attrs?.numberingProperties) || Boolean(wl?.marker);
|
|
280757
|
+
if (isListParagraph) {
|
|
280724
280758
|
const explicitTextStart = typeof wl?.marker?.textStartX === "number" && Number.isFinite(wl.marker.textStartX) ? wl.marker.textStartX : typeof wl?.textStartPx === "number" && Number.isFinite(wl.textStartPx) ? wl.textStartPx : undefined;
|
|
280725
280759
|
if (typeof explicitTextStart === "number" && explicitTextStart > paraIndentLeft)
|
|
280726
280760
|
effectiveLeft = explicitTextStart;
|
|
280727
280761
|
}
|
|
280728
280762
|
}
|
|
280729
280763
|
const totalIndent = effectiveLeft + paraIndentRight;
|
|
280730
|
-
|
|
280764
|
+
let availableWidth = Math.max(0, fragmentWidth - totalIndent);
|
|
280731
280765
|
if (totalIndent > fragmentWidth)
|
|
280732
280766
|
console.warn(`[mapPmToX] Paragraph indents (${totalIndent}px) exceed fragment width (${fragmentWidth}px) for block ${block.id}. This may indicate a layout miscalculation. Available width clamped to 0.`);
|
|
280767
|
+
const hasRenderedMarkerText = isListParagraph && (markerTextWidth ?? 0) > 0;
|
|
280768
|
+
if (isFirstLine && block.kind === "paragraph" && !hasRenderedMarkerText) {
|
|
280769
|
+
const suppressFLI = block.attrs?.suppressFirstLineIndent === true;
|
|
280770
|
+
const firstLineOffset = getFirstLineIndentOffset(block.attrs?.indent, suppressFLI);
|
|
280771
|
+
availableWidth = adjustAvailableWidthForTextIndent(availableWidth, firstLineOffset, line.maxWidth);
|
|
280772
|
+
}
|
|
280733
280773
|
return measureCharacterX(block, line, offset$1, availableWidth, alignmentOverride);
|
|
280734
280774
|
}, WORD_CHARACTER_REGEX, EpochPositionMapper = class {
|
|
280735
280775
|
#currentEpoch = 0;
|
|
@@ -287413,7 +287453,7 @@ var Node$13 = class Node$14 {
|
|
|
287413
287453
|
return;
|
|
287414
287454
|
console.log(...args$1);
|
|
287415
287455
|
}, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
|
|
287416
|
-
var
|
|
287456
|
+
var init_src_DtoTLJe0_es = __esm(() => {
|
|
287417
287457
|
init_rolldown_runtime_Bg48TavK_es();
|
|
287418
287458
|
init_SuperConverter_H0ERuAZY_es();
|
|
287419
287459
|
init_jszip_C49i9kUs_es();
|
|
@@ -314589,10 +314629,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
314589
314629
|
let availableWidthOverride = line.maxWidth != null ? Math.min(line.maxWidth, fallbackAvailableWidth) : fallbackAvailableWidth;
|
|
314590
314630
|
if (shouldUseResolvedListTextStart)
|
|
314591
314631
|
availableWidthOverride = fragment2.width - listFirstLineTextStartPx - Math.max(0, paraIndentRight);
|
|
314632
|
+
const isFirstLine = index2 === 0 && !fragment2.continuesFromPrev;
|
|
314633
|
+
const isListFirstLine = Boolean(hasListFirstLineMarker && fragment2.markerTextWidth);
|
|
314634
|
+
if (isFirstLine && !isListFirstLine && !hasExplicitSegmentPositioning)
|
|
314635
|
+
availableWidthOverride = adjustAvailableWidthForTextIndent(availableWidthOverride, firstLineOffset, line.maxWidth);
|
|
314592
314636
|
const shouldSkipJustifyForLastLine = index2 === lines.length - 1 && !fragment2.continuesOnNext && !paragraphEndsWithLineBreak;
|
|
314593
314637
|
const lineEl = this.renderLine(block, line, context, availableWidthOverride, fragment2.fromLine + index2, shouldSkipJustifyForLastLine, shouldUseResolvedListTextStart ? listFirstLineTextStartPx : undefined);
|
|
314594
|
-
const isListFirstLine = Boolean(hasListFirstLineMarker && fragment2.markerTextWidth);
|
|
314595
|
-
const isFirstLine = index2 === 0 && !fragment2.continuesFromPrev;
|
|
314596
314638
|
if (!isListFirstLine) {
|
|
314597
314639
|
if (hasExplicitSegmentPositioning) {
|
|
314598
314640
|
if (isFirstLine && firstLineOffset !== 0) {
|
|
@@ -322140,7 +322182,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
|
|
|
322140
322182
|
|
|
322141
322183
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
322142
322184
|
var init_super_editor_es = __esm(() => {
|
|
322143
|
-
|
|
322185
|
+
init_src_DtoTLJe0_es();
|
|
322144
322186
|
init_SuperConverter_H0ERuAZY_es();
|
|
322145
322187
|
init_jszip_C49i9kUs_es();
|
|
322146
322188
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.7.0-next.
|
|
3
|
+
"version": "0.7.0-next.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"@types/node": "22.19.2",
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
|
+
"@superdoc/document-api": "0.0.1",
|
|
27
28
|
"@superdoc/pm-adapter": "0.0.0",
|
|
28
|
-
"@superdoc/super-editor": "0.0.1",
|
|
29
29
|
"superdoc": "1.25.0",
|
|
30
|
-
"@superdoc/
|
|
30
|
+
"@superdoc/super-editor": "0.0.1"
|
|
31
31
|
},
|
|
32
32
|
"module": "src/index.ts",
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.7.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.7.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.7.0-next.4",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.7.0-next.4",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.7.0-next.4",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.7.0-next.4",
|
|
41
|
+
"@superdoc-dev/cli-linux-x64": "0.7.0-next.4"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|