@superdoc-dev/cli 0.5.0-next.21 → 0.5.0-next.22
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 +9 -5
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -172511,7 +172511,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
172511
172511
|
init_remark_gfm_z_sDF4ss_es();
|
|
172512
172512
|
});
|
|
172513
172513
|
|
|
172514
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
172514
|
+
// ../../packages/superdoc/dist/chunks/src-C2jApr82.es.js
|
|
172515
172515
|
function deleteProps(obj, propOrProps) {
|
|
172516
172516
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
172517
172517
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -211112,11 +211112,15 @@ function collectTocSources(doc$12, config2) {
|
|
|
211112
211112
|
return true;
|
|
211113
211113
|
}
|
|
211114
211114
|
}
|
|
211115
|
-
if (useApplied
|
|
211115
|
+
if (useApplied) {
|
|
211116
|
+
const effectiveLevels = outlineLevels ?? {
|
|
211117
|
+
from: 1,
|
|
211118
|
+
to: 9
|
|
211119
|
+
};
|
|
211116
211120
|
const rawOutlineLevel = paragraphProps?.outlineLevel;
|
|
211117
211121
|
if (rawOutlineLevel != null) {
|
|
211118
211122
|
const tocLevel = rawOutlineLevel + 1;
|
|
211119
|
-
if (tocLevel >=
|
|
211123
|
+
if (tocLevel >= effectiveLevels.from && tocLevel <= effectiveLevels.to) {
|
|
211120
211124
|
sources.push({
|
|
211121
211125
|
text: flattenText(node3),
|
|
211122
211126
|
level: tocLevel,
|
|
@@ -254875,7 +254879,7 @@ var Node$13 = class Node$14 {
|
|
|
254875
254879
|
return;
|
|
254876
254880
|
console.log(...args$1);
|
|
254877
254881
|
}, 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;
|
|
254878
|
-
var
|
|
254882
|
+
var init_src_C2jApr82_es = __esm(() => {
|
|
254879
254883
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
254880
254884
|
init_SuperConverter_CYbYOJeZ_es();
|
|
254881
254885
|
init_jszip_ChlR43oI_es();
|
|
@@ -288875,7 +288879,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
288875
288879
|
|
|
288876
288880
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
288877
288881
|
var init_super_editor_es = __esm(() => {
|
|
288878
|
-
|
|
288882
|
+
init_src_C2jApr82_es();
|
|
288879
288883
|
init_SuperConverter_CYbYOJeZ_es();
|
|
288880
288884
|
init_jszip_ChlR43oI_es();
|
|
288881
288885
|
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.22",
|
|
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/pm-adapter": "0.0.0",
|
|
28
29
|
"@superdoc/super-editor": "0.0.1",
|
|
29
|
-
"superdoc": "1.23.0"
|
|
30
|
-
"@superdoc/pm-adapter": "0.0.0"
|
|
30
|
+
"superdoc": "1.23.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.5.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.
|
|
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.22",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.22",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.22",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.22",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.22"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|