@superdoc-dev/cli 0.2.0-next.19 → 0.2.0-next.20
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 +17 -19
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -93008,9 +93008,9 @@ var init_remark_gfm_CQ3Jg4PR_es = __esm(() => {
|
|
|
93008
93008
|
init_remark_gfm_z_sDF4ss_es();
|
|
93009
93009
|
});
|
|
93010
93010
|
|
|
93011
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
93012
|
-
var
|
|
93013
|
-
__export(
|
|
93011
|
+
// ../../packages/superdoc/dist/chunks/src-10daZ2Cr.es.js
|
|
93012
|
+
var exports_src_10daZ2Cr_es = {};
|
|
93013
|
+
__export(exports_src_10daZ2Cr_es, {
|
|
93014
93014
|
zt: () => defineMark,
|
|
93015
93015
|
z: () => cM,
|
|
93016
93016
|
yt: () => removeAwarenessStates,
|
|
@@ -150175,12 +150175,10 @@ var Node$13 = class Node$14 {
|
|
|
150175
150175
|
if (!runProperties)
|
|
150176
150176
|
return run2;
|
|
150177
150177
|
const runAttrs = computeRunAttrs(runProperties, converterContext);
|
|
150178
|
-
const merged = {
|
|
150179
|
-
|
|
150180
|
-
|
|
150181
|
-
|
|
150182
|
-
if (runAttrs.color === undefined && run2.color !== undefined)
|
|
150183
|
-
merged.color = run2.color;
|
|
150178
|
+
const merged = { ...run2 };
|
|
150179
|
+
for (const key$1 of Object.keys(runAttrs))
|
|
150180
|
+
if (runAttrs[key$1] !== undefined)
|
|
150181
|
+
merged[key$1] = runAttrs[key$1];
|
|
150184
150182
|
return merged;
|
|
150185
150183
|
}, resolveFootnoteDisplayNumber$1 = (id2, footnoteNumberById) => {
|
|
150186
150184
|
const key$1 = id2 == null ? null : String(id2);
|
|
@@ -157225,7 +157223,7 @@ var Node$13 = class Node$14 {
|
|
|
157225
157223
|
const metaStyleMarks = createMarksFromDefs(state.schema, markDefsFromMeta);
|
|
157226
157224
|
ranges.forEach(({ from: from$12, to }) => {
|
|
157227
157225
|
state.doc.nodesBetween(from$12, to, (node3, pos, parent, index2) => {
|
|
157228
|
-
if (!node3.isText || !parent || parent.type === runType
|
|
157226
|
+
if (!node3.isText || !parent || parent.type === runType)
|
|
157229
157227
|
return;
|
|
157230
157228
|
const match$1 = parent.contentMatchAt ? parent.contentMatchAt(index2) : null;
|
|
157231
157229
|
if (match$1 && !match$1.matchType(runType))
|
|
@@ -157234,7 +157232,7 @@ var Node$13 = class Node$14 {
|
|
|
157234
157232
|
return;
|
|
157235
157233
|
let runProperties;
|
|
157236
157234
|
let textNode = node3;
|
|
157237
|
-
if (index2 === 0)
|
|
157235
|
+
if (index2 === 0 && parent.type.name === "paragraph")
|
|
157238
157236
|
({ runProperties, textNode } = copyRunPropertiesFromPreviousParagraph(state, pos, textNode, runType, editor));
|
|
157239
157237
|
if (metaStyleMarks.length) {
|
|
157240
157238
|
const mergedMarks = metaStyleMarks.reduce((set, mark2) => mark2.addToSet(set), textNode.marks);
|
|
@@ -162392,7 +162390,7 @@ var Node$13 = class Node$14 {
|
|
|
162392
162390
|
trackedChanges: context.trackedChanges ?? []
|
|
162393
162391
|
});
|
|
162394
162392
|
}, _hoisted_1$6, _hoisted_2$1, _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, RESIZE_HANDLE_WIDTH_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, 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;
|
|
162395
|
-
var
|
|
162393
|
+
var init_src_10daZ2Cr_es = __esm(() => {
|
|
162396
162394
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
162397
162395
|
init_SuperConverter_CRrxAa8F_es();
|
|
162398
162396
|
init_jszip_ChlR43oI_es();
|
|
@@ -195907,8 +195905,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
195907
195905
|
return isObjectLike_default(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
195908
195906
|
};
|
|
195909
195907
|
stubFalse_default = stubFalse;
|
|
195910
|
-
freeExports$2 = typeof
|
|
195911
|
-
freeModule$2 = freeExports$2 && typeof
|
|
195908
|
+
freeExports$2 = typeof exports_src_10daZ2Cr_es == "object" && exports_src_10daZ2Cr_es && !exports_src_10daZ2Cr_es.nodeType && exports_src_10daZ2Cr_es;
|
|
195909
|
+
freeModule$2 = freeExports$2 && typeof module_src_10daZ2Cr_es == "object" && module_src_10daZ2Cr_es && !module_src_10daZ2Cr_es.nodeType && module_src_10daZ2Cr_es;
|
|
195912
195910
|
Buffer$1 = freeModule$2 && freeModule$2.exports === freeExports$2 ? _root_default.Buffer : undefined;
|
|
195913
195911
|
isBuffer_default = (Buffer$1 ? Buffer$1.isBuffer : undefined) || stubFalse_default;
|
|
195914
195912
|
typedArrayTags = {};
|
|
@@ -195916,8 +195914,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
195916
195914
|
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;
|
|
195917
195915
|
_baseIsTypedArray_default = baseIsTypedArray;
|
|
195918
195916
|
_baseUnary_default = baseUnary;
|
|
195919
|
-
freeExports$1 = typeof
|
|
195920
|
-
freeModule$1 = freeExports$1 && typeof
|
|
195917
|
+
freeExports$1 = typeof exports_src_10daZ2Cr_es == "object" && exports_src_10daZ2Cr_es && !exports_src_10daZ2Cr_es.nodeType && exports_src_10daZ2Cr_es;
|
|
195918
|
+
freeModule$1 = freeExports$1 && typeof module_src_10daZ2Cr_es == "object" && module_src_10daZ2Cr_es && !module_src_10daZ2Cr_es.nodeType && module_src_10daZ2Cr_es;
|
|
195921
195919
|
freeProcess = freeModule$1 && freeModule$1.exports === freeExports$1 && _freeGlobal_default.process;
|
|
195922
195920
|
_nodeUtil_default = function() {
|
|
195923
195921
|
try {
|
|
@@ -196022,8 +196020,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
196022
196020
|
Stack.prototype.has = _stackHas_default;
|
|
196023
196021
|
Stack.prototype.set = _stackSet_default;
|
|
196024
196022
|
_Stack_default = Stack;
|
|
196025
|
-
freeExports = typeof
|
|
196026
|
-
freeModule = freeExports && typeof
|
|
196023
|
+
freeExports = typeof exports_src_10daZ2Cr_es == "object" && exports_src_10daZ2Cr_es && !exports_src_10daZ2Cr_es.nodeType && exports_src_10daZ2Cr_es;
|
|
196024
|
+
freeModule = freeExports && typeof module_src_10daZ2Cr_es == "object" && module_src_10daZ2Cr_es && !module_src_10daZ2Cr_es.nodeType && module_src_10daZ2Cr_es;
|
|
196027
196025
|
Buffer4 = freeModule && freeModule.exports === freeExports ? _root_default.Buffer : undefined;
|
|
196028
196026
|
allocUnsafe = Buffer4 ? Buffer4.allocUnsafe : undefined;
|
|
196029
196027
|
_cloneBuffer_default = cloneBuffer;
|
|
@@ -203675,7 +203673,7 @@ var init_zipper_Cnk_HjM2_es = __esm(() => {
|
|
|
203675
203673
|
|
|
203676
203674
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
203677
203675
|
var init_super_editor_es = __esm(() => {
|
|
203678
|
-
|
|
203676
|
+
init_src_10daZ2Cr_es();
|
|
203679
203677
|
init_SuperConverter_CRrxAa8F_es();
|
|
203680
203678
|
init_jszip_ChlR43oI_es();
|
|
203681
203679
|
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.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.
|
|
32
|
-
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.
|
|
33
|
-
"@superdoc-dev/cli-linux-x64": "0.2.0-next.
|
|
34
|
-
"@superdoc-dev/cli-windows-x64": "0.2.0-next.
|
|
35
|
-
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.
|
|
31
|
+
"@superdoc-dev/cli-darwin-arm64": "0.2.0-next.20",
|
|
32
|
+
"@superdoc-dev/cli-darwin-x64": "0.2.0-next.20",
|
|
33
|
+
"@superdoc-dev/cli-linux-x64": "0.2.0-next.20",
|
|
34
|
+
"@superdoc-dev/cli-windows-x64": "0.2.0-next.20",
|
|
35
|
+
"@superdoc-dev/cli-linux-arm64": "0.2.0-next.20"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"dev": "bun run src/index.ts",
|