@superdoc-dev/cli 0.2.0-next.95 → 0.2.0-next.96
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 +15 -13
- 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-t9dN6Uuh.es.js
|
|
121918
|
+
var exports_src_t9dN6Uuh_es = {};
|
|
121919
|
+
__export(exports_src_t9dN6Uuh_es, {
|
|
121920
121920
|
zt: () => defineMark,
|
|
121921
121921
|
z: () => cM,
|
|
121922
121922
|
yt: () => removeAwarenessStates,
|
|
@@ -150141,8 +150141,10 @@ function hydrateImageBlocks(blocks2, mediaFiles) {
|
|
|
150141
150141
|
const normalizedMedia = /* @__PURE__ */ new Map;
|
|
150142
150142
|
Object.entries(mediaFiles).forEach(([key$1, value]) => {
|
|
150143
150143
|
const normalized = normalizeMediaKey(key$1);
|
|
150144
|
-
if (normalized)
|
|
150145
|
-
|
|
150144
|
+
if (normalized) {
|
|
150145
|
+
const stringValue = value instanceof Uint8Array ? new TextDecoder().decode(value) : value;
|
|
150146
|
+
normalizedMedia.set(normalized, stringValue);
|
|
150147
|
+
}
|
|
150146
150148
|
});
|
|
150147
150149
|
if (normalizedMedia.size === 0)
|
|
150148
150150
|
return blocks2;
|
|
@@ -199182,7 +199184,7 @@ var Node$13 = class Node$14 {
|
|
|
199182
199184
|
trackedChanges: context.trackedChanges ?? []
|
|
199183
199185
|
});
|
|
199184
199186
|
}, _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;
|
|
199185
|
-
var
|
|
199187
|
+
var init_src_t9dN6Uuh_es = __esm(() => {
|
|
199186
199188
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
199187
199189
|
init_SuperConverter_6i_hCnOE_es();
|
|
199188
199190
|
init_jszip_ChlR43oI_es();
|
|
@@ -230933,8 +230935,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
230933
230935
|
return isObjectLike_default(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
230934
230936
|
};
|
|
230935
230937
|
stubFalse_default = stubFalse;
|
|
230936
|
-
freeExports$2 = typeof
|
|
230937
|
-
freeModule$2 = freeExports$2 && typeof
|
|
230938
|
+
freeExports$2 = typeof exports_src_t9dN6Uuh_es == "object" && exports_src_t9dN6Uuh_es && !exports_src_t9dN6Uuh_es.nodeType && exports_src_t9dN6Uuh_es;
|
|
230939
|
+
freeModule$2 = freeExports$2 && typeof module_src_t9dN6Uuh_es == "object" && module_src_t9dN6Uuh_es && !module_src_t9dN6Uuh_es.nodeType && module_src_t9dN6Uuh_es;
|
|
230938
230940
|
Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? _root_default.Buffer : undefined;
|
|
230939
230941
|
isBuffer_default = (Buffer$1 ? Buffer$1.isBuffer : undefined) || stubFalse_default;
|
|
230940
230942
|
typedArrayTags = {};
|
|
@@ -230942,8 +230944,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
230942
230944
|
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;
|
|
230943
230945
|
_baseIsTypedArray_default = baseIsTypedArray;
|
|
230944
230946
|
_baseUnary_default = baseUnary;
|
|
230945
|
-
freeExports$1 = typeof
|
|
230946
|
-
freeModule$1 = freeExports$1 && typeof
|
|
230947
|
+
freeExports$1 = typeof exports_src_t9dN6Uuh_es == "object" && exports_src_t9dN6Uuh_es && !exports_src_t9dN6Uuh_es.nodeType && exports_src_t9dN6Uuh_es;
|
|
230948
|
+
freeModule$1 = freeExports$1 && typeof module_src_t9dN6Uuh_es == "object" && module_src_t9dN6Uuh_es && !module_src_t9dN6Uuh_es.nodeType && module_src_t9dN6Uuh_es;
|
|
230947
230949
|
freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && _freeGlobal_default.process;
|
|
230948
230950
|
_nodeUtil_default = function() {
|
|
230949
230951
|
try {
|
|
@@ -231048,8 +231050,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
231048
231050
|
Stack.prototype.has = _stackHas_default;
|
|
231049
231051
|
Stack.prototype.set = _stackSet_default;
|
|
231050
231052
|
_Stack_default = Stack;
|
|
231051
|
-
freeExports = typeof
|
|
231052
|
-
freeModule = freeExports && typeof
|
|
231053
|
+
freeExports = typeof exports_src_t9dN6Uuh_es == "object" && exports_src_t9dN6Uuh_es && !exports_src_t9dN6Uuh_es.nodeType && exports_src_t9dN6Uuh_es;
|
|
231054
|
+
freeModule = freeExports && typeof module_src_t9dN6Uuh_es == "object" && module_src_t9dN6Uuh_es && !module_src_t9dN6Uuh_es.nodeType && module_src_t9dN6Uuh_es;
|
|
231053
231055
|
Buffer4 = freeModule && freeModule.exports === freeExports ? _root_default.Buffer : undefined;
|
|
231054
231056
|
allocUnsafe = Buffer4 ? Buffer4.allocUnsafe : undefined;
|
|
231055
231057
|
_cloneBuffer_default = cloneBuffer;
|
|
@@ -239129,7 +239131,7 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
|
|
|
239129
239131
|
|
|
239130
239132
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
239131
239133
|
var init_super_editor_es = __esm(() => {
|
|
239132
|
-
|
|
239134
|
+
init_src_t9dN6Uuh_es();
|
|
239133
239135
|
init_SuperConverter_6i_hCnOE_es();
|
|
239134
239136
|
init_jszip_ChlR43oI_es();
|
|
239135
239137
|
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.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -20,21 +20,21 @@
|
|
|
20
20
|
"@types/bun": "^1.3.8",
|
|
21
21
|
"@types/node": "22.19.2",
|
|
22
22
|
"typescript": "^5.9.2",
|
|
23
|
+
"@superdoc/document-api": "0.0.1",
|
|
23
24
|
"@superdoc/pm-adapter": "0.0.0",
|
|
24
25
|
"superdoc": "1.17.0",
|
|
25
|
-
"@superdoc/super-editor": "0.0.1"
|
|
26
|
-
"@superdoc/document-api": "0.0.1"
|
|
26
|
+
"@superdoc/super-editor": "0.0.1"
|
|
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-
|
|
36
|
-
"@superdoc-dev/cli-
|
|
37
|
-
"@superdoc-dev/cli-linux-x64": "0.2.0-next.
|
|
33
|
+
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.96",
|
|
34
|
+
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.96",
|
|
35
|
+
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.96",
|
|
36
|
+
"@superdoc-dev/cli-windows-x64": "0.2.0-next.96",
|
|
37
|
+
"@superdoc-dev/cli-linux-x64": "0.2.0-next.96"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dev": "bun run src/index.ts",
|