@superdoc-dev/cli 0.5.0-next.31 → 0.5.0-next.32
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 +7 -6
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -172583,7 +172583,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
172583
172583
|
init_remark_gfm_z_sDF4ss_es();
|
|
172584
172584
|
});
|
|
172585
172585
|
|
|
172586
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
172586
|
+
// ../../packages/superdoc/dist/chunks/src-Cj-jgZJT.es.js
|
|
172587
172587
|
function deleteProps(obj, propOrProps) {
|
|
172588
172588
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
172589
172589
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -221059,9 +221059,10 @@ function computeDomCaretPageLocal(options, pos) {
|
|
|
221059
221059
|
const textNode = targetEl.firstChild;
|
|
221060
221060
|
if (!textNode || textNode.nodeType !== Node.TEXT_NODE) {
|
|
221061
221061
|
const elRect = targetEl.getBoundingClientRect();
|
|
221062
|
+
const atEnd = pos >= entry.pmEnd;
|
|
221062
221063
|
return {
|
|
221063
221064
|
pageIndex: Number(page.dataset.pageIndex ?? "0"),
|
|
221064
|
-
x: (elRect.left - pageRect.left) / zoom,
|
|
221065
|
+
x: ((atEnd ? elRect.right : elRect.left) - pageRect.left) / zoom,
|
|
221065
221066
|
y: (elRect.top - pageRect.top) / zoom
|
|
221066
221067
|
};
|
|
221067
221068
|
}
|
|
@@ -255272,7 +255273,7 @@ var Node$13 = class Node$14 {
|
|
|
255272
255273
|
return;
|
|
255273
255274
|
console.log(...args$1);
|
|
255274
255275
|
}, 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;
|
|
255275
|
-
var
|
|
255276
|
+
var init_src_Cj_jgZJT_es = __esm(() => {
|
|
255276
255277
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
255277
255278
|
init_SuperConverter_B9oNf3OB_es();
|
|
255278
255279
|
init_jszip_ChlR43oI_es();
|
|
@@ -276189,8 +276190,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
276189
276190
|
wrapper.className = "sd-math";
|
|
276190
276191
|
wrapper.style.display = "inline-block";
|
|
276191
276192
|
wrapper.style.verticalAlign = "middle";
|
|
276192
|
-
wrapper.style.
|
|
276193
|
-
wrapper.style.
|
|
276193
|
+
wrapper.style.minWidth = `${run2.width}px`;
|
|
276194
|
+
wrapper.style.minHeight = `${run2.height}px`;
|
|
276194
276195
|
wrapper.dataset.layoutEpoch = String(this.layoutEpoch ?? 0);
|
|
276195
276196
|
const mathEl = convertOmmlToMathml(run2.ommlJson, this.doc);
|
|
276196
276197
|
if (mathEl)
|
|
@@ -289759,7 +289760,7 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
289759
289760
|
|
|
289760
289761
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
289761
289762
|
var init_super_editor_es = __esm(() => {
|
|
289762
|
-
|
|
289763
|
+
init_src_Cj_jgZJT_es();
|
|
289763
289764
|
init_SuperConverter_B9oNf3OB_es();
|
|
289764
289765
|
init_jszip_ChlR43oI_es();
|
|
289765
289766
|
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.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"@types/node": "22.19.2",
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
|
-
"@superdoc/pm-adapter": "0.0.0",
|
|
28
|
-
"@superdoc/super-editor": "0.0.1",
|
|
29
27
|
"@superdoc/document-api": "0.0.1",
|
|
30
|
-
"superdoc": "
|
|
28
|
+
"@superdoc/pm-adapter": "0.0.0",
|
|
29
|
+
"superdoc": "1.23.0",
|
|
30
|
+
"@superdoc/super-editor": "0.0.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-arm64": "0.5.0-next.
|
|
38
|
-
"@superdoc-dev/cli-
|
|
39
|
-
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.
|
|
40
|
-
"@superdoc-dev/cli-windows-x64": "0.5.0-next.
|
|
41
|
-
"@superdoc-dev/cli-
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.32",
|
|
38
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.32",
|
|
39
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.32",
|
|
40
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.32",
|
|
41
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.32"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|