@superdoc-dev/cli 0.5.0-next.46 → 0.5.0-next.48
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 +19 -9
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -65244,7 +65244,7 @@ var init_remark_gfm_BUJjZJLy_es = __esm(() => {
|
|
|
65244
65244
|
emptyOptions2 = {};
|
|
65245
65245
|
});
|
|
65246
65246
|
|
|
65247
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
65247
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-Bvq5pzj8.es.js
|
|
65248
65248
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
65249
65249
|
const fieldValue = extension$1.config[field];
|
|
65250
65250
|
if (typeof fieldValue === "function")
|
|
@@ -102731,6 +102731,7 @@ var isRegExp = (value) => {
|
|
|
102731
102731
|
extraParams: {
|
|
102732
102732
|
...params3.extraParams,
|
|
102733
102733
|
paragraphProperties: resolvedParagraphProperties,
|
|
102734
|
+
inlineParagraphProperties,
|
|
102734
102735
|
numberingDefinedInline: Boolean(inlineParagraphProperties.numberingProperties)
|
|
102735
102736
|
},
|
|
102736
102737
|
path: [...params3.path || [], node3]
|
|
@@ -115571,7 +115572,8 @@ var isRegExp = (value) => {
|
|
|
115571
115572
|
attrs: {
|
|
115572
115573
|
originalXml: carbonCopy(xmlNode),
|
|
115573
115574
|
textContent: extractMathText(xmlNode),
|
|
115574
|
-
justification: extractJustification(xmlNode)
|
|
115575
|
+
justification: extractJustification(xmlNode),
|
|
115576
|
+
paragraphProperties: params3.extraParams?.inlineParagraphProperties ?? null
|
|
115575
115577
|
},
|
|
115576
115578
|
marks: []
|
|
115577
115579
|
}],
|
|
@@ -116813,7 +116815,7 @@ var isRegExp = (value) => {
|
|
|
116813
116815
|
state.kern = kernNode.attributes["w:val"];
|
|
116814
116816
|
}
|
|
116815
116817
|
}, SuperConverter;
|
|
116816
|
-
var
|
|
116818
|
+
var init_SuperConverter_Bvq5pzj8_es = __esm(() => {
|
|
116817
116819
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
116818
116820
|
init_jszip_ChlR43oI_es();
|
|
116819
116821
|
init_xml_js_40FWvL78_es();
|
|
@@ -173714,7 +173716,7 @@ var init_remark_gfm_DCND_V_3_es = __esm(() => {
|
|
|
173714
173716
|
init_remark_gfm_BUJjZJLy_es();
|
|
173715
173717
|
});
|
|
173716
173718
|
|
|
173717
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
173719
|
+
// ../../packages/superdoc/dist/chunks/src-27S8MHbG.es.js
|
|
173718
173720
|
function deleteProps(obj, propOrProps) {
|
|
173719
173721
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
173720
173722
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -225610,11 +225612,15 @@ function handleMathBlockNode(node3, context) {
|
|
|
225610
225612
|
pmStart: pos?.start,
|
|
225611
225613
|
pmEnd: pos?.end
|
|
225612
225614
|
};
|
|
225615
|
+
const { paragraphAttrs } = computeParagraphAttrs(node3, context.converterContext);
|
|
225613
225616
|
const block = {
|
|
225614
225617
|
kind: "paragraph",
|
|
225615
225618
|
id: nextBlockId("paragraph"),
|
|
225616
225619
|
runs: [mathRun],
|
|
225617
|
-
attrs: {
|
|
225620
|
+
attrs: {
|
|
225621
|
+
...paragraphAttrs,
|
|
225622
|
+
alignment: JUSTIFICATION_TO_ALIGN[justification] ?? paragraphAttrs.alignment ?? "center"
|
|
225623
|
+
}
|
|
225618
225624
|
};
|
|
225619
225625
|
blocks2.push(block);
|
|
225620
225626
|
recordBlockKind?.(block.kind);
|
|
@@ -257424,9 +257430,9 @@ var Node$13 = class Node$14 {
|
|
|
257424
257430
|
return;
|
|
257425
257431
|
console.log(...args$1);
|
|
257426
257432
|
}, 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;
|
|
257427
|
-
var
|
|
257433
|
+
var init_src_27S8MHbG_es = __esm(() => {
|
|
257428
257434
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
257429
|
-
|
|
257435
|
+
init_SuperConverter_Bvq5pzj8_es();
|
|
257430
257436
|
init_jszip_ChlR43oI_es();
|
|
257431
257437
|
init_uuid_qzgm05fK_es();
|
|
257432
257438
|
init_constants_CIF8yzNk_es();
|
|
@@ -267480,6 +267486,10 @@ ${err.toString()}`);
|
|
|
267480
267486
|
justification: {
|
|
267481
267487
|
default: "centerGroup",
|
|
267482
267488
|
rendered: false
|
|
267489
|
+
},
|
|
267490
|
+
paragraphProperties: {
|
|
267491
|
+
default: null,
|
|
267492
|
+
rendered: false
|
|
267483
267493
|
}
|
|
267484
267494
|
};
|
|
267485
267495
|
}
|
|
@@ -291998,8 +292008,8 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
291998
292008
|
|
|
291999
292009
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
292000
292010
|
var init_super_editor_es = __esm(() => {
|
|
292001
|
-
|
|
292002
|
-
|
|
292011
|
+
init_src_27S8MHbG_es();
|
|
292012
|
+
init_SuperConverter_Bvq5pzj8_es();
|
|
292003
292013
|
init_jszip_ChlR43oI_es();
|
|
292004
292014
|
init_xml_js_40FWvL78_es();
|
|
292005
292015
|
init_constants_CIF8yzNk_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.5.0-next.
|
|
3
|
+
"version": "0.5.0-next.48",
|
|
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/pm-adapter": "0.0.0",
|
|
29
29
|
"@superdoc/super-editor": "0.0.1",
|
|
30
|
-
"
|
|
30
|
+
"superdoc": "1.23.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-
|
|
38
|
-
"@superdoc-dev/cli-darwin-
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.5.0-next.
|
|
40
|
-
"@superdoc-dev/cli-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.48",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.48",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.48",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.48",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.48"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|