@superdoc-dev/cli 0.2.0-next.96 → 0.2.0-next.98
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 +14 -12
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -121914,9 +121914,9 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
121914
121914
|
init_remark_gfm_z_sDF4ss_es();
|
|
121915
121915
|
});
|
|
121916
121916
|
|
|
121917
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
121918
|
-
var
|
|
121919
|
-
__export(
|
|
121917
|
+
// ../../packages/superdoc/dist/chunks/src-CpAHRXG4.es.js
|
|
121918
|
+
var exports_src_CpAHRXG4_es = {};
|
|
121919
|
+
__export(exports_src_CpAHRXG4_es, {
|
|
121920
121920
|
zt: () => defineMark,
|
|
121921
121921
|
z: () => cM,
|
|
121922
121922
|
yt: () => removeAwarenessStates,
|
|
@@ -180757,6 +180757,8 @@ var Node$13 = class Node$14 {
|
|
|
180757
180757
|
existingFileNames.add(uniqueFileName);
|
|
180758
180758
|
const mediaPath = buildMediaPath(uniqueFileName);
|
|
180759
180759
|
mediaStore[mediaPath] = src;
|
|
180760
|
+
if (editor.options.ydoc)
|
|
180761
|
+
editor.options.ydoc.getMap("media").set(mediaPath, src);
|
|
180760
180762
|
const rId = addImageRelationship({
|
|
180761
180763
|
editor,
|
|
180762
180764
|
path: mediaPath.startsWith("word/") ? mediaPath.slice(5) : mediaPath
|
|
@@ -199184,7 +199186,7 @@ var Node$13 = class Node$14 {
|
|
|
199184
199186
|
trackedChanges: context.trackedChanges ?? []
|
|
199185
199187
|
});
|
|
199186
199188
|
}, _hoisted_1$6, _hoisted_2$2, _hoisted_3, _hoisted_4, ContextMenu_default, _hoisted_1$5, BasicUpload_default, _hoisted_1$4, MIN_WIDTH = 200, PPI = 96, alignment = "flex-end", Ruler_default, GenericPopover_default, _hoisted_1$3, _hoisted_2$1, RESIZE_HANDLE_WIDTH_PX = 9, RESIZE_HANDLE_HEIGHT_PX = 9, RESIZE_HANDLE_OFFSET_PX = 4, DRAG_OVERLAY_EXTENSION_PX = 1000, MIN_DRAG_OVERLAY_WIDTH_PX = 2000, THROTTLE_INTERVAL_MS = 16, MIN_RESIZE_DELTA_PX = 1, TableResizeOverlay_default, _hoisted_1$2, OVERLAY_EXPANSION_PX = 2000, RESIZE_HANDLE_SIZE_PX = 12, MOUSE_MOVE_THROTTLE_MS = 16, DIMENSION_CHANGE_THRESHOLD_PX = 1, Z_INDEX_OVERLAY = 10, Z_INDEX_HANDLE = 15, Z_INDEX_GUIDELINE = 20, ImageResizeOverlay_default, LINK_CLICK_DEBOUNCE_MS = 300, CURSOR_UPDATE_TIMEOUT_MS = 10, POPOVER_VERTICAL_OFFSET_PX = 15, LinkClickHandler_default, _hoisted_1$1, _hoisted_2, DOCX2 = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", TABLE_RESIZE_HOVER_THRESHOLD = 8, TABLE_RESIZE_THROTTLE_MS = 16, SuperEditor_default, _hoisted_1, SuperInput_default, SlashMenu, Extensions;
|
|
199187
|
-
var
|
|
199189
|
+
var init_src_CpAHRXG4_es = __esm(() => {
|
|
199188
199190
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
199189
199191
|
init_SuperConverter_6i_hCnOE_es();
|
|
199190
199192
|
init_jszip_ChlR43oI_es();
|
|
@@ -230935,8 +230937,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
230935
230937
|
return isObjectLike_default(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
230936
230938
|
};
|
|
230937
230939
|
stubFalse_default = stubFalse;
|
|
230938
|
-
freeExports$2 = typeof
|
|
230939
|
-
freeModule$2 = freeExports$2 && typeof
|
|
230940
|
+
freeExports$2 = typeof exports_src_CpAHRXG4_es == "object" && exports_src_CpAHRXG4_es && !exports_src_CpAHRXG4_es.nodeType && exports_src_CpAHRXG4_es;
|
|
230941
|
+
freeModule$2 = freeExports$2 && typeof module_src_CpAHRXG4_es == "object" && module_src_CpAHRXG4_es && !module_src_CpAHRXG4_es.nodeType && module_src_CpAHRXG4_es;
|
|
230940
230942
|
Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? _root_default.Buffer : undefined;
|
|
230941
230943
|
isBuffer_default = (Buffer$1 ? Buffer$1.isBuffer : undefined) || stubFalse_default;
|
|
230942
230944
|
typedArrayTags = {};
|
|
@@ -230944,8 +230946,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
230944
230946
|
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
|
|
230945
230947
|
_baseIsTypedArray_default = baseIsTypedArray;
|
|
230946
230948
|
_baseUnary_default = baseUnary;
|
|
230947
|
-
freeExports$1 = typeof
|
|
230948
|
-
freeModule$1 = freeExports$1 && typeof
|
|
230949
|
+
freeExports$1 = typeof exports_src_CpAHRXG4_es == "object" && exports_src_CpAHRXG4_es && !exports_src_CpAHRXG4_es.nodeType && exports_src_CpAHRXG4_es;
|
|
230950
|
+
freeModule$1 = freeExports$1 && typeof module_src_CpAHRXG4_es == "object" && module_src_CpAHRXG4_es && !module_src_CpAHRXG4_es.nodeType && module_src_CpAHRXG4_es;
|
|
230949
230951
|
freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && _freeGlobal_default.process;
|
|
230950
230952
|
_nodeUtil_default = function() {
|
|
230951
230953
|
try {
|
|
@@ -231050,8 +231052,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
231050
231052
|
Stack.prototype.has = _stackHas_default;
|
|
231051
231053
|
Stack.prototype.set = _stackSet_default;
|
|
231052
231054
|
_Stack_default = Stack;
|
|
231053
|
-
freeExports = typeof
|
|
231054
|
-
freeModule = freeExports && typeof
|
|
231055
|
+
freeExports = typeof exports_src_CpAHRXG4_es == "object" && exports_src_CpAHRXG4_es && !exports_src_CpAHRXG4_es.nodeType && exports_src_CpAHRXG4_es;
|
|
231056
|
+
freeModule = freeExports && typeof module_src_CpAHRXG4_es == "object" && module_src_CpAHRXG4_es && !module_src_CpAHRXG4_es.nodeType && module_src_CpAHRXG4_es;
|
|
231055
231057
|
Buffer4 = freeModule && freeModule.exports === freeExports ? _root_default.Buffer : undefined;
|
|
231056
231058
|
allocUnsafe = Buffer4 ? Buffer4.allocUnsafe : undefined;
|
|
231057
231059
|
_cloneBuffer_default = cloneBuffer;
|
|
@@ -238020,7 +238022,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
238020
238022
|
});
|
|
238021
238023
|
container.addEventListener("pointerdown", (e) => e.stopPropagation());
|
|
238022
238024
|
container.addEventListener("click", (e) => e.stopPropagation());
|
|
238023
|
-
const mountTarget = surface.closest(".super-editor") ?? surface.parentElement;
|
|
238025
|
+
const mountTarget = surface.closest(".super-editor-container") ?? surface.parentElement;
|
|
238024
238026
|
if (!mountTarget)
|
|
238025
238027
|
return;
|
|
238026
238028
|
mountTarget.appendChild(container);
|
|
@@ -239131,7 +239133,7 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
|
|
|
239131
239133
|
|
|
239132
239134
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
239133
239135
|
var init_super_editor_es = __esm(() => {
|
|
239134
|
-
|
|
239136
|
+
init_src_CpAHRXG4_es();
|
|
239135
239137
|
init_SuperConverter_6i_hCnOE_es();
|
|
239136
239138
|
init_jszip_ChlR43oI_es();
|
|
239137
239139
|
init_xml_js_DLE8mr0n_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
"@types/node": "22.19.2",
|
|
22
22
|
"typescript": "^5.9.2",
|
|
23
23
|
"@superdoc/document-api": "0.0.1",
|
|
24
|
+
"@superdoc/super-editor": "0.0.1",
|
|
24
25
|
"@superdoc/pm-adapter": "0.0.0",
|
|
25
|
-
"superdoc": "1.17.0"
|
|
26
|
-
"@superdoc/super-editor": "0.0.1"
|
|
26
|
+
"superdoc": "1.17.0"
|
|
27
27
|
},
|
|
28
28
|
"module": "src/index.ts",
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.
|
|
34
|
-
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.
|
|
35
|
-
"@superdoc-dev/cli-linux-
|
|
36
|
-
"@superdoc-dev/cli-windows-x64": "0.2.0-next.
|
|
37
|
-
"@superdoc-dev/cli-linux-
|
|
33
|
+
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.98",
|
|
34
|
+
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.98",
|
|
35
|
+
"@superdoc-dev/cli-linux-x64": "0.2.0-next.98",
|
|
36
|
+
"@superdoc-dev/cli-windows-x64": "0.2.0-next.98",
|
|
37
|
+
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.98"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dev": "bun run src/index.ts",
|