@superdoc-dev/cli 0.5.0-next.21 → 0.5.0-next.23
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 +29 -33
- package/package.json +6 -6
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-BrtcDgR1.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,
|
|
@@ -248209,7 +248213,7 @@ var Node$13 = class Node$14 {
|
|
|
248209
248213
|
pageHeights: [...this.cache.pageHeights]
|
|
248210
248214
|
};
|
|
248211
248215
|
}
|
|
248212
|
-
},
|
|
248216
|
+
}, PerformanceMetricsCollector = class {
|
|
248213
248217
|
constructor(budgets, maxSamples = 1000) {
|
|
248214
248218
|
this.maxSamples = maxSamples;
|
|
248215
248219
|
this.budgets = budgets || {};
|
|
@@ -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_BrtcDgR1_es = __esm(() => {
|
|
254879
254883
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
254880
254884
|
init_SuperConverter_CYbYOJeZ_es();
|
|
254881
254885
|
init_jszip_ChlR43oI_es();
|
|
@@ -272131,7 +272135,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
272131
272135
|
}), 128))], 544);
|
|
272132
272136
|
};
|
|
272133
272137
|
}
|
|
272134
|
-
}, [["__scopeId", "data-v-
|
|
272138
|
+
}, [["__scopeId", "data-v-dde587fd"]]);
|
|
272135
272139
|
popoverPluginKey = new PluginKey("popoverPlugin");
|
|
272136
272140
|
PopoverPlugin = Extension.create({
|
|
272137
272141
|
name: "popoverPlugin",
|
|
@@ -277119,7 +277123,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277119
277123
|
}, null, 8, _hoisted_5$5)) : createCommentVNode("", true)])], 544);
|
|
277120
277124
|
};
|
|
277121
277125
|
}
|
|
277122
|
-
}, [["__scopeId", "data-v-
|
|
277126
|
+
}, [["__scopeId", "data-v-79953d57"]]);
|
|
277123
277127
|
isHighContrastMode = ref3(false);
|
|
277124
277128
|
toolbarIcons = {
|
|
277125
277129
|
undo: rotate_left_solid_default,
|
|
@@ -277278,7 +277282,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277278
277282
|
}), 64))], 2);
|
|
277279
277283
|
};
|
|
277280
277284
|
}
|
|
277281
|
-
}, [["__scopeId", "data-v-
|
|
277285
|
+
}, [["__scopeId", "data-v-3f7f0d98"]]);
|
|
277282
277286
|
_hoisted_1$19 = ["onClick", "onKeydown"];
|
|
277283
277287
|
_hoisted_2$15 = { class: "document-mode-column icon-column" };
|
|
277284
277288
|
_hoisted_3$11 = ["innerHTML"];
|
|
@@ -277352,7 +277356,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277352
277356
|
}), 256))], 2);
|
|
277353
277357
|
};
|
|
277354
277358
|
}
|
|
277355
|
-
}, [["__scopeId", "data-v-
|
|
277359
|
+
}, [["__scopeId", "data-v-8587478e"]]);
|
|
277356
277360
|
_hoisted_1$18 = {
|
|
277357
277361
|
key: 0,
|
|
277358
277362
|
class: "linked-style-buttons",
|
|
@@ -277432,7 +277436,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277432
277436
|
}), 256))])) : createCommentVNode("", true);
|
|
277433
277437
|
};
|
|
277434
277438
|
}
|
|
277435
|
-
}, [["__scopeId", "data-v-
|
|
277439
|
+
}, [["__scopeId", "data-v-80e74746"]]);
|
|
277436
277440
|
_hoisted_1$17 = {
|
|
277437
277441
|
key: 0,
|
|
277438
277442
|
class: "link-title"
|
|
@@ -277682,7 +277686,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277682
277686
|
])) : isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_14, [createBaseVNode("a", { onClick: _cache[4] || (_cache[4] = withModifiers(($event) => navigateToAnchor(rawUrl.value), ["stop", "prevent"])) }, "Go to " + toDisplayString(rawUrl.value.startsWith("#_") ? rawUrl.value.substring(2) : rawUrl.value), 1)])) : createCommentVNode("", true)], 2);
|
|
277683
277687
|
};
|
|
277684
277688
|
}
|
|
277685
|
-
}, [["__scopeId", "data-v-
|
|
277689
|
+
}, [["__scopeId", "data-v-56a53c8c"]]);
|
|
277686
277690
|
_hoisted_1$16 = [
|
|
277687
277691
|
"aria-label",
|
|
277688
277692
|
"onClick",
|
|
@@ -277820,7 +277824,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277820
277824
|
}), 128);
|
|
277821
277825
|
};
|
|
277822
277826
|
}
|
|
277823
|
-
}, [["__scopeId", "data-v-
|
|
277827
|
+
}, [["__scopeId", "data-v-59855ce7"]]);
|
|
277824
277828
|
_hoisted_1$15 = { class: "options-grid-wrap" };
|
|
277825
277829
|
_hoisted_2$11 = ["innerHTML"];
|
|
277826
277830
|
_hoisted_3$8 = { class: "option-grid-ctn" };
|
|
@@ -277871,7 +277875,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
277871
277875
|
}, null, 8, ["icons", "active-color"])], 64)) : createCommentVNode("", true)])]);
|
|
277872
277876
|
};
|
|
277873
277877
|
}
|
|
277874
|
-
}, [["__scopeId", "data-v-
|
|
277878
|
+
}, [["__scopeId", "data-v-e15bc0ac"]]);
|
|
277875
277879
|
icons = [
|
|
277876
277880
|
[
|
|
277877
277881
|
makeColorOption("#111111", "black"),
|
|
@@ -278071,7 +278075,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278071
278075
|
}, toDisplayString(selectedRows.value) + " x " + toDisplayString(selectedCols.value), 9, _hoisted_2$10)], 2);
|
|
278072
278076
|
};
|
|
278073
278077
|
}
|
|
278074
|
-
}, [["__scopeId", "data-v-
|
|
278078
|
+
}, [["__scopeId", "data-v-5cefb109"]]);
|
|
278075
278079
|
_hoisted_1$13 = { class: "toolbar-table-actions" };
|
|
278076
278080
|
_hoisted_2$9 = [
|
|
278077
278081
|
"onClick",
|
|
@@ -278105,7 +278109,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278105
278109
|
}), 256))]);
|
|
278106
278110
|
};
|
|
278107
278111
|
}
|
|
278108
|
-
}, [["__scopeId", "data-v-
|
|
278112
|
+
}, [["__scopeId", "data-v-652015c8"]]);
|
|
278109
278113
|
_hoisted_1$12 = { class: "search-input-ctn" };
|
|
278110
278114
|
_hoisted_2$8 = { class: "row" };
|
|
278111
278115
|
_hoisted_3$6 = ["onKeydown"];
|
|
@@ -278134,7 +278138,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278134
278138
|
}, "Apply")])]);
|
|
278135
278139
|
};
|
|
278136
278140
|
}
|
|
278137
|
-
}, [["__scopeId", "data-v-
|
|
278141
|
+
}, [["__scopeId", "data-v-bfe34b7b"]]);
|
|
278138
278142
|
TOOLBAR_FONTS = [
|
|
278139
278143
|
{
|
|
278140
278144
|
label: "Georgia",
|
|
@@ -278285,7 +278289,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278285
278289
|
}, null, 4)) : createCommentVNode("", true)]);
|
|
278286
278290
|
};
|
|
278287
278291
|
}
|
|
278288
|
-
}, [["__scopeId", "data-v-
|
|
278292
|
+
}, [["__scopeId", "data-v-8c30c125"]]);
|
|
278289
278293
|
_hoisted_1$10 = [
|
|
278290
278294
|
"role",
|
|
278291
278295
|
"aria-label",
|
|
@@ -278434,7 +278438,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278434
278438
|
], 10, _hoisted_2$6)], 46, _hoisted_1$10);
|
|
278435
278439
|
};
|
|
278436
278440
|
}
|
|
278437
|
-
}, [["__scopeId", "data-v-
|
|
278441
|
+
}, [["__scopeId", "data-v-ed885547"]]);
|
|
278438
278442
|
_hoisted_1$9 = {
|
|
278439
278443
|
class: "toolbar-separator",
|
|
278440
278444
|
role: "separator",
|
|
@@ -278461,7 +278465,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278461
278465
|
}, null, 4)]);
|
|
278462
278466
|
};
|
|
278463
278467
|
}
|
|
278464
|
-
}, [["__scopeId", "data-v-
|
|
278468
|
+
}, [["__scopeId", "data-v-d027f7fc"]]);
|
|
278465
278469
|
_hoisted_1$8 = { class: "overflow-menu" };
|
|
278466
278470
|
_hoisted_2$5 = { class: "overflow-menu-trigger" };
|
|
278467
278471
|
_hoisted_3$4 = {
|
|
@@ -278528,7 +278532,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278528
278532
|
}, null, 8, ["toolbar-items"])])) : createCommentVNode("", true)]);
|
|
278529
278533
|
};
|
|
278530
278534
|
}
|
|
278531
|
-
}, [["__scopeId", "data-v-
|
|
278535
|
+
}, [["__scopeId", "data-v-35b48dff"]]);
|
|
278532
278536
|
_hoisted_1$7 = { class: "toolbar-dropdown" };
|
|
278533
278537
|
_hoisted_2$4 = ["onClick"];
|
|
278534
278538
|
_hoisted_3$3 = {
|
|
@@ -278869,7 +278873,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
278869
278873
|
})]))]);
|
|
278870
278874
|
};
|
|
278871
278875
|
}
|
|
278872
|
-
}, [["__scopeId", "data-v-
|
|
278876
|
+
}, [["__scopeId", "data-v-8eeadaa0"]]);
|
|
278873
278877
|
SdTooltip_default = /* @__PURE__ */ __plugin_vue_export_helper_default(/* @__PURE__ */ Object.assign({ inheritAttrs: false }, {
|
|
278874
278878
|
__name: "SdTooltip",
|
|
278875
278879
|
props: {
|
|
@@ -279057,7 +279061,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
279057
279061
|
})]))], 64);
|
|
279058
279062
|
};
|
|
279059
279063
|
}
|
|
279060
|
-
}), [["__scopeId", "data-v-
|
|
279064
|
+
}), [["__scopeId", "data-v-d8dd2f5a"]]);
|
|
279061
279065
|
_hoisted_1$6 = [
|
|
279062
279066
|
"onKeydown",
|
|
279063
279067
|
"tabindex",
|
|
@@ -279426,7 +279430,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
279426
279430
|
}), 128))], 36);
|
|
279427
279431
|
};
|
|
279428
279432
|
}
|
|
279429
|
-
}, [["__scopeId", "data-v-
|
|
279433
|
+
}, [["__scopeId", "data-v-064b7f76"]]);
|
|
279430
279434
|
Toolbar_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
|
|
279431
279435
|
__name: "Toolbar",
|
|
279432
279436
|
emits: [
|
|
@@ -279534,7 +279538,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
279534
279538
|
], 32);
|
|
279535
279539
|
};
|
|
279536
279540
|
}
|
|
279537
|
-
}, [["__scopeId", "data-v-
|
|
279541
|
+
}, [["__scopeId", "data-v-7ffd7232"]]);
|
|
279538
279542
|
toolbarTexts = {
|
|
279539
279543
|
bold: "Bold",
|
|
279540
279544
|
fontFamily: "Font",
|
|
@@ -284055,14 +284059,6 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
284055
284059
|
chars.push(String.fromCharCode(i4));
|
|
284056
284060
|
return chars;
|
|
284057
284061
|
})();
|
|
284058
|
-
Priority = /* @__PURE__ */ function(Priority$1) {
|
|
284059
|
-
Priority$1[Priority$1["P0"] = 0] = "P0";
|
|
284060
|
-
Priority$1[Priority$1["P1"] = 1] = "P1";
|
|
284061
|
-
Priority$1[Priority$1["P2"] = 2] = "P2";
|
|
284062
|
-
Priority$1[Priority$1["P3"] = 3] = "P3";
|
|
284063
|
-
return Priority$1;
|
|
284064
|
-
}({});
|
|
284065
|
-
Priority.P0, Priority.P1, Priority.P2, Priority.P3;
|
|
284066
284062
|
new PerformanceMetricsCollector({
|
|
284067
284063
|
cursorUpdateLatency: 2,
|
|
284068
284064
|
p0LayoutDuration: 5,
|
|
@@ -288875,7 +288871,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
288875
288871
|
|
|
288876
288872
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
288877
288873
|
var init_super_editor_es = __esm(() => {
|
|
288878
|
-
|
|
288874
|
+
init_src_BrtcDgR1_es();
|
|
288879
288875
|
init_SuperConverter_CYbYOJeZ_es();
|
|
288880
288876
|
init_jszip_ChlR43oI_es();
|
|
288881
288877
|
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.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -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-
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.23",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.23",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.23",
|
|
40
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.23",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.23"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|