@superdoc-dev/cli 0.5.0-next.12 → 0.5.0-next.13
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 +11 -3
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -171649,7 +171649,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
171649
171649
|
init_remark_gfm_z_sDF4ss_es();
|
|
171650
171650
|
});
|
|
171651
171651
|
|
|
171652
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
171652
|
+
// ../../packages/superdoc/dist/chunks/src-C1tSJ0Z5.es.js
|
|
171653
171653
|
function deleteProps(obj, propOrProps) {
|
|
171654
171654
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
171655
171655
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -176230,6 +176230,14 @@ function buildFormattedCellBlock(schema, value, { blockType, blockAttrs, textMar
|
|
|
176230
176230
|
const content3 = marks.length > 0 ? schema.text(ZERO_WIDTH_SPACE, marks) : null;
|
|
176231
176231
|
return type.createAndFill(blockAttrs || null, content3);
|
|
176232
176232
|
}
|
|
176233
|
+
const lines = text5.split(/\r?\n/);
|
|
176234
|
+
if (lines.length > 1) {
|
|
176235
|
+
const paragraphs = lines.map((line) => {
|
|
176236
|
+
const content3 = line ? schema.text(line, marks) : null;
|
|
176237
|
+
return type.createAndFill(blockAttrs || null, content3);
|
|
176238
|
+
}).filter(Boolean);
|
|
176239
|
+
return Fragment.from(paragraphs);
|
|
176240
|
+
}
|
|
176233
176241
|
const textNode = schema.text(text5, marks);
|
|
176234
176242
|
return type.createAndFill(blockAttrs || null, textNode);
|
|
176235
176243
|
}
|
|
@@ -252752,7 +252760,7 @@ var Node$13 = class Node$14 {
|
|
|
252752
252760
|
return;
|
|
252753
252761
|
console.log(...args$1);
|
|
252754
252762
|
}, 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;
|
|
252755
|
-
var
|
|
252763
|
+
var init_src_C1tSJ0Z5_es = __esm(() => {
|
|
252756
252764
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
252757
252765
|
init_SuperConverter_OPfy6vj2_es();
|
|
252758
252766
|
init_jszip_ChlR43oI_es();
|
|
@@ -286309,7 +286317,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
286309
286317
|
|
|
286310
286318
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
286311
286319
|
var init_super_editor_es = __esm(() => {
|
|
286312
|
-
|
|
286320
|
+
init_src_C1tSJ0Z5_es();
|
|
286313
286321
|
init_SuperConverter_OPfy6vj2_es();
|
|
286314
286322
|
init_jszip_ChlR43oI_es();
|
|
286315
286323
|
init_xml_js_40FWvL78_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.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
|
-
"@superdoc/super-editor": "0.0.1",
|
|
29
28
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
+
"@superdoc/super-editor": "0.0.1",
|
|
30
30
|
"superdoc": "1.23.0"
|
|
31
31
|
},
|
|
32
32
|
"module": "src/index.ts",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-
|
|
40
|
-
"@superdoc-dev/cli-linux-
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.5.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.13",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.13",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.13",
|
|
40
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.13",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.13"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|