@superdoc-dev/cli 0.13.0-next.6 → 0.13.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.
- package/dist/index.js +14 -16
- package/package.json +8 -8
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-D6w3M9Bh.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))
|
|
@@ -242699,10 +242694,7 @@ function tablesSplitAdapter(editor, input2, options) {
|
|
|
242699
242694
|
const rEnd = tr.mapping.slice(mapFrom).map(rowPositions[i4] + tableNode.child(i4).nodeSize);
|
|
242700
242695
|
tr.delete(rp, rEnd);
|
|
242701
242696
|
}
|
|
242702
|
-
const newTableAttrs =
|
|
242703
|
-
delete newTableAttrs.sdBlockId;
|
|
242704
|
-
delete newTableAttrs.paraId;
|
|
242705
|
-
delete newTableAttrs.textId;
|
|
242697
|
+
const newTableAttrs = Attribute2.getSplittedAttributes(editor.extensionService?.attributes ?? [], tableNode.type.name, tableNode.attrs);
|
|
242706
242698
|
const newTable = schema.nodes.table.create(newTableAttrs, secondTableRows);
|
|
242707
242699
|
const separatorParagraph = createSeparatorParagraph(schema);
|
|
242708
242700
|
if (!separatorParagraph)
|
|
@@ -307771,7 +307763,7 @@ menclose::after {
|
|
|
307771
307763
|
return;
|
|
307772
307764
|
console.log(...args$1);
|
|
307773
307765
|
}, 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
|
|
307766
|
+
var init_src_D6w3M9Bh_es = __esm(() => {
|
|
307775
307767
|
init_rolldown_runtime_Bg48TavK_es();
|
|
307776
307768
|
init_SuperConverter_k7GHkV_c_es();
|
|
307777
307769
|
init_jszip_C49i9kUs_es();
|
|
@@ -310662,8 +310654,14 @@ ${err.toString()}`);
|
|
|
310662
310654
|
},
|
|
310663
310655
|
addAttributes() {
|
|
310664
310656
|
return {
|
|
310665
|
-
paraId: {
|
|
310666
|
-
|
|
310657
|
+
paraId: {
|
|
310658
|
+
rendered: false,
|
|
310659
|
+
keepOnSplit: false
|
|
310660
|
+
},
|
|
310661
|
+
textId: {
|
|
310662
|
+
rendered: false,
|
|
310663
|
+
keepOnSplit: false
|
|
310664
|
+
},
|
|
310667
310665
|
rsidR: { rendered: false },
|
|
310668
310666
|
rsidRDefault: { rendered: false },
|
|
310669
310667
|
rsidP: { rendered: false },
|
|
@@ -345632,7 +345630,7 @@ var init_zipper_yaJVJ4z9_es = __esm(() => {
|
|
|
345632
345630
|
|
|
345633
345631
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
345634
345632
|
var init_super_editor_es = __esm(() => {
|
|
345635
|
-
|
|
345633
|
+
init_src_D6w3M9Bh_es();
|
|
345636
345634
|
init_SuperConverter_k7GHkV_c_es();
|
|
345637
345635
|
init_jszip_C49i9kUs_es();
|
|
345638
345636
|
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.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
|
-
"@superdoc/
|
|
28
|
+
"@superdoc/super-editor": "0.0.1",
|
|
29
29
|
"superdoc": "1.35.0",
|
|
30
|
-
"@superdoc/
|
|
30
|
+
"@superdoc/pm-adapter": "0.0.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-linux-arm64": "0.13.0-next.
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.13.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.13.0-next.7",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.13.0-next.7",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.13.0-next.7",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.13.0-next.7",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.13.0-next.7"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|