@superdoc-dev/cli 0.13.0-next.6 → 0.13.0-next.8
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 +15 -19
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -219123,7 +219123,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
219123
219123
|
init_remark_gfm_BhnWr3yf_es();
|
|
219124
219124
|
});
|
|
219125
219125
|
|
|
219126
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
219126
|
+
// ../../packages/superdoc/dist/chunks/src-CYTyP_ze.es.js
|
|
219127
219127
|
function deleteProps(obj, propOrProps) {
|
|
219128
219128
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
219129
219129
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -221592,13 +221592,8 @@ function splitBlockPatch(state, dispatch, editor) {
|
|
|
221592
221592
|
atStart = $from.start(d) == $from.pos - ($from.depth - d);
|
|
221593
221593
|
deflt = defaultBlockAt($from.node(d - 1).contentMatchAt($from.indexAfter(d - 1)));
|
|
221594
221594
|
const sourceParagraphStyleId = node3.attrs?.paragraphProperties?.styleId;
|
|
221595
|
-
|
|
221596
|
-
|
|
221597
|
-
sdBlockId: null,
|
|
221598
|
-
sdBlockRev: null,
|
|
221599
|
-
paraId: null,
|
|
221600
|
-
textId: null
|
|
221601
|
-
};
|
|
221595
|
+
const extensionAttrs = editor?.extensionService?.attributes ?? [];
|
|
221596
|
+
paragraphAttrs = Attribute2.getSplittedAttributes(extensionAttrs, node3.type.name, node3.attrs);
|
|
221602
221597
|
paragraphAttrs = clearInheritedLinkedStyleId(paragraphAttrs, editor, { emptyParagraph: atEnd });
|
|
221603
221598
|
if (atEnd && $from.parent.type.name === "run") {
|
|
221604
221599
|
if (!isLinkedParagraphStyleId(editor, sourceParagraphStyleId))
|
|
@@ -223317,12 +223312,10 @@ function createListBoundaryNavigationPlugin() {
|
|
|
223317
223312
|
const paragraph2 = getParagraphContext$1(selection.$from);
|
|
223318
223313
|
if (!paragraph2 || !isListParagraph(paragraph2.node))
|
|
223319
223314
|
return false;
|
|
223320
|
-
if (isRtlParagraph$1(paragraph2.node))
|
|
223321
|
-
return false;
|
|
223322
223315
|
const bounds = getParagraphTextBounds2(paragraph2.node, paragraph2.start);
|
|
223323
223316
|
if (!bounds)
|
|
223324
223317
|
return false;
|
|
223325
|
-
const direction = event.key === "ArrowLeft" ? -1 : 1;
|
|
223318
|
+
const direction = isRtlParagraph$1(paragraph2.node) ? event.key === "ArrowRight" ? -1 : 1 : event.key === "ArrowLeft" ? -1 : 1;
|
|
223326
223319
|
const atLeftBoundary = direction < 0 && selection.from <= bounds.first;
|
|
223327
223320
|
const atRightBoundary = direction > 0 && selection.from >= bounds.last;
|
|
223328
223321
|
if (!atLeftBoundary && !atRightBoundary)
|
|
@@ -242699,10 +242692,7 @@ function tablesSplitAdapter(editor, input2, options) {
|
|
|
242699
242692
|
const rEnd = tr.mapping.slice(mapFrom).map(rowPositions[i4] + tableNode.child(i4).nodeSize);
|
|
242700
242693
|
tr.delete(rp, rEnd);
|
|
242701
242694
|
}
|
|
242702
|
-
const newTableAttrs =
|
|
242703
|
-
delete newTableAttrs.sdBlockId;
|
|
242704
|
-
delete newTableAttrs.paraId;
|
|
242705
|
-
delete newTableAttrs.textId;
|
|
242695
|
+
const newTableAttrs = Attribute2.getSplittedAttributes(editor.extensionService?.attributes ?? [], tableNode.type.name, tableNode.attrs);
|
|
242706
242696
|
const newTable = schema.nodes.table.create(newTableAttrs, secondTableRows);
|
|
242707
242697
|
const separatorParagraph = createSeparatorParagraph(schema);
|
|
242708
242698
|
if (!separatorParagraph)
|
|
@@ -307771,7 +307761,7 @@ menclose::after {
|
|
|
307771
307761
|
return;
|
|
307772
307762
|
console.log(...args$1);
|
|
307773
307763
|
}, 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;
|
|
307774
|
-
var
|
|
307764
|
+
var init_src_CYTyP_ze_es = __esm(() => {
|
|
307775
307765
|
init_rolldown_runtime_Bg48TavK_es();
|
|
307776
307766
|
init_SuperConverter_k7GHkV_c_es();
|
|
307777
307767
|
init_jszip_C49i9kUs_es();
|
|
@@ -310662,8 +310652,14 @@ ${err.toString()}`);
|
|
|
310662
310652
|
},
|
|
310663
310653
|
addAttributes() {
|
|
310664
310654
|
return {
|
|
310665
|
-
paraId: {
|
|
310666
|
-
|
|
310655
|
+
paraId: {
|
|
310656
|
+
rendered: false,
|
|
310657
|
+
keepOnSplit: false
|
|
310658
|
+
},
|
|
310659
|
+
textId: {
|
|
310660
|
+
rendered: false,
|
|
310661
|
+
keepOnSplit: false
|
|
310662
|
+
},
|
|
310667
310663
|
rsidR: { rendered: false },
|
|
310668
310664
|
rsidRDefault: { rendered: false },
|
|
310669
310665
|
rsidP: { rendered: false },
|
|
@@ -345632,7 +345628,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
345632
345628
|
|
|
345633
345629
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
345634
345630
|
var init_super_editor_es = __esm(() => {
|
|
345635
|
-
|
|
345631
|
+
init_src_CYTyP_ze_es();
|
|
345636
345632
|
init_SuperConverter_k7GHkV_c_es();
|
|
345637
345633
|
init_jszip_C49i9kUs_es();
|
|
345638
345634
|
init_xml_js_CqGKpaft_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.13.0-next.
|
|
3
|
+
"version": "0.13.0-next.8",
|
|
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",
|
|
28
27
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
-
"superdoc": "
|
|
30
|
-
"@superdoc/super-editor": "0.0.1"
|
|
28
|
+
"@superdoc/document-api": "0.0.1",
|
|
29
|
+
"@superdoc/super-editor": "0.0.1",
|
|
30
|
+
"superdoc": "1.35.0"
|
|
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.13.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.13.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.13.0-next.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.13.0-next.8",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.13.0-next.8",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.13.0-next.8",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.13.0-next.8",
|
|
41
|
+
"@superdoc-dev/cli-linux-arm64": "0.13.0-next.8"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|