@superdoc-dev/cli 0.8.0-next.96 → 0.8.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 +261 -22
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -66095,7 +66095,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
|
|
|
66095
66095
|
emptyOptions2 = {};
|
|
66096
66096
|
});
|
|
66097
66097
|
|
|
66098
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
66098
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-VRDgcp1i.es.js
|
|
66099
66099
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
66100
66100
|
const fieldValue = extension$1.config[field];
|
|
66101
66101
|
if (typeof fieldValue === "function")
|
|
@@ -78326,6 +78326,239 @@ function uint8ToBase64(bytes) {
|
|
|
78326
78326
|
}
|
|
78327
78327
|
return btoa(binary);
|
|
78328
78328
|
}
|
|
78329
|
+
function detectCompressedImageFormat(bytes) {
|
|
78330
|
+
if (!bytes || bytes.length < 4)
|
|
78331
|
+
return null;
|
|
78332
|
+
if (bytes.length >= 8 && bytes[0] === 137 && bytes[1] === 80 && bytes[2] === 78 && bytes[3] === 71 && bytes[4] === 13 && bytes[5] === 10 && bytes[6] === 26 && bytes[7] === 10)
|
|
78333
|
+
return {
|
|
78334
|
+
mime: "image/png",
|
|
78335
|
+
format: "png"
|
|
78336
|
+
};
|
|
78337
|
+
if (bytes[0] === 255 && bytes[1] === 216 && bytes[2] === 255)
|
|
78338
|
+
return {
|
|
78339
|
+
mime: "image/jpeg",
|
|
78340
|
+
format: "jpeg"
|
|
78341
|
+
};
|
|
78342
|
+
if (bytes[0] === 71 && bytes[1] === 73 && bytes[2] === 70 && bytes[3] === 56)
|
|
78343
|
+
return {
|
|
78344
|
+
mime: "image/gif",
|
|
78345
|
+
format: "gif"
|
|
78346
|
+
};
|
|
78347
|
+
return null;
|
|
78348
|
+
}
|
|
78349
|
+
function concatBytes(parts) {
|
|
78350
|
+
let totalLength = 0;
|
|
78351
|
+
for (const part of parts)
|
|
78352
|
+
totalLength += part.byteLength;
|
|
78353
|
+
const result = new Uint8Array(totalLength);
|
|
78354
|
+
let offset = 0;
|
|
78355
|
+
for (const part of parts) {
|
|
78356
|
+
result.set(part, offset);
|
|
78357
|
+
offset += part.byteLength;
|
|
78358
|
+
}
|
|
78359
|
+
return result;
|
|
78360
|
+
}
|
|
78361
|
+
function createCanvasFromEnv() {
|
|
78362
|
+
const env = domEnvironment$1 || {};
|
|
78363
|
+
const doc$2 = env.document || env.mockDocument || env.window?.document || env.mockWindow?.document || null;
|
|
78364
|
+
if (doc$2)
|
|
78365
|
+
return doc$2.createElement("canvas");
|
|
78366
|
+
if (typeof document !== "undefined")
|
|
78367
|
+
return document.createElement("canvas");
|
|
78368
|
+
return null;
|
|
78369
|
+
}
|
|
78370
|
+
function convertEmfPlusPixelRow(src, srcOffset, dst, dstOffset, width, pixelFormat) {
|
|
78371
|
+
if (srcOffset + width * (pixelFormat === EMF_PLUS_PIXEL_FORMAT_24BPP_RGB ? 3 : 4) > src.byteLength)
|
|
78372
|
+
return false;
|
|
78373
|
+
let s = srcOffset;
|
|
78374
|
+
let d = dstOffset;
|
|
78375
|
+
for (let x = 0;x < width; x++) {
|
|
78376
|
+
const b = src[s];
|
|
78377
|
+
const g2 = src[s + 1];
|
|
78378
|
+
const r = src[s + 2];
|
|
78379
|
+
if (pixelFormat === EMF_PLUS_PIXEL_FORMAT_24BPP_RGB) {
|
|
78380
|
+
dst[d] = r;
|
|
78381
|
+
dst[d + 1] = g2;
|
|
78382
|
+
dst[d + 2] = b;
|
|
78383
|
+
dst[d + 3] = 255;
|
|
78384
|
+
s += 3;
|
|
78385
|
+
} else if (pixelFormat === EMF_PLUS_PIXEL_FORMAT_32BPP_PARGB) {
|
|
78386
|
+
const a = src[s + 3];
|
|
78387
|
+
if (a === 0) {
|
|
78388
|
+
dst[d] = 0;
|
|
78389
|
+
dst[d + 1] = 0;
|
|
78390
|
+
dst[d + 2] = 0;
|
|
78391
|
+
dst[d + 3] = 0;
|
|
78392
|
+
} else {
|
|
78393
|
+
const scale = 255 / a;
|
|
78394
|
+
dst[d] = r * scale;
|
|
78395
|
+
dst[d + 1] = g2 * scale;
|
|
78396
|
+
dst[d + 2] = b * scale;
|
|
78397
|
+
dst[d + 3] = a;
|
|
78398
|
+
}
|
|
78399
|
+
s += 4;
|
|
78400
|
+
} else {
|
|
78401
|
+
dst[d] = r;
|
|
78402
|
+
dst[d + 1] = g2;
|
|
78403
|
+
dst[d + 2] = b;
|
|
78404
|
+
dst[d + 3] = pixelFormat === EMF_PLUS_PIXEL_FORMAT_32BPP_ARGB ? src[s + 3] : 255;
|
|
78405
|
+
s += 4;
|
|
78406
|
+
}
|
|
78407
|
+
d += 4;
|
|
78408
|
+
}
|
|
78409
|
+
return true;
|
|
78410
|
+
}
|
|
78411
|
+
function renderEmfPlusPixelBitmap({ width, height, stride, pixelFormat, pixels }) {
|
|
78412
|
+
if (width <= 0 || height === 0)
|
|
78413
|
+
return null;
|
|
78414
|
+
const absHeight = Math.abs(height);
|
|
78415
|
+
const absStride = Math.abs(stride);
|
|
78416
|
+
if (absStride === 0)
|
|
78417
|
+
return null;
|
|
78418
|
+
if (width * absHeight > MAX_PIXEL_BITMAP_PIXELS)
|
|
78419
|
+
return null;
|
|
78420
|
+
if ((pixelFormat & EMF_PLUS_PIXEL_FORMAT_INDEXED_FLAG) !== 0)
|
|
78421
|
+
return null;
|
|
78422
|
+
if (pixelFormat !== EMF_PLUS_PIXEL_FORMAT_24BPP_RGB && pixelFormat !== EMF_PLUS_PIXEL_FORMAT_32BPP_RGB && pixelFormat !== EMF_PLUS_PIXEL_FORMAT_32BPP_ARGB && pixelFormat !== EMF_PLUS_PIXEL_FORMAT_32BPP_PARGB)
|
|
78423
|
+
return null;
|
|
78424
|
+
if (absStride * absHeight > pixels.byteLength)
|
|
78425
|
+
return null;
|
|
78426
|
+
const rgba = new Uint8ClampedArray(width * absHeight * 4);
|
|
78427
|
+
for (let y = 0;y < absHeight; y++)
|
|
78428
|
+
if (!convertEmfPlusPixelRow(pixels, y * absStride, rgba, y * width * 4, width, pixelFormat))
|
|
78429
|
+
return null;
|
|
78430
|
+
const canvas = createCanvasFromEnv();
|
|
78431
|
+
if (!canvas)
|
|
78432
|
+
return null;
|
|
78433
|
+
canvas.width = width;
|
|
78434
|
+
canvas.height = absHeight;
|
|
78435
|
+
const ctx = canvas.getContext("2d");
|
|
78436
|
+
if (!ctx)
|
|
78437
|
+
return null;
|
|
78438
|
+
const imageData = ctx.createImageData(width, absHeight);
|
|
78439
|
+
imageData.data.set(rgba);
|
|
78440
|
+
ctx.putImageData(imageData, 0, 0);
|
|
78441
|
+
const dataUri = canvas.toDataURL("image/png");
|
|
78442
|
+
if (!dataUri || dataUri === "data:,")
|
|
78443
|
+
return null;
|
|
78444
|
+
return {
|
|
78445
|
+
dataUri,
|
|
78446
|
+
format: "png"
|
|
78447
|
+
};
|
|
78448
|
+
}
|
|
78449
|
+
function parseEmfPlusImageObject(bytes) {
|
|
78450
|
+
if (!bytes || bytes.byteLength < 28)
|
|
78451
|
+
return null;
|
|
78452
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
78453
|
+
if (view.getUint32(4, true) !== EMF_PLUS_IMAGE_TYPE_BITMAP)
|
|
78454
|
+
return null;
|
|
78455
|
+
const bitmapType = view.getUint32(24, true);
|
|
78456
|
+
if (bitmapType === EMF_PLUS_BITMAP_TYPE_COMPRESSED) {
|
|
78457
|
+
const compressed = bytes.subarray(28);
|
|
78458
|
+
const formatInfo = detectCompressedImageFormat(compressed);
|
|
78459
|
+
if (!formatInfo)
|
|
78460
|
+
return null;
|
|
78461
|
+
return {
|
|
78462
|
+
dataUri: `data:${formatInfo.mime};base64,${uint8ToBase64(compressed)}`,
|
|
78463
|
+
format: formatInfo.format
|
|
78464
|
+
};
|
|
78465
|
+
}
|
|
78466
|
+
if (bitmapType === EMF_PLUS_BITMAP_TYPE_PIXEL)
|
|
78467
|
+
return renderEmfPlusPixelBitmap({
|
|
78468
|
+
width: view.getInt32(8, true),
|
|
78469
|
+
height: view.getInt32(12, true),
|
|
78470
|
+
stride: view.getInt32(16, true),
|
|
78471
|
+
pixelFormat: view.getUint32(20, true),
|
|
78472
|
+
pixels: bytes.subarray(28)
|
|
78473
|
+
});
|
|
78474
|
+
return null;
|
|
78475
|
+
}
|
|
78476
|
+
function extractBitmapFromEmfPlus(buffer3) {
|
|
78477
|
+
const view = new DataView(buffer3);
|
|
78478
|
+
if (view.byteLength < 108)
|
|
78479
|
+
return null;
|
|
78480
|
+
const type = view.getUint32(0, true);
|
|
78481
|
+
const headerSize = view.getUint32(4, true);
|
|
78482
|
+
const signature = view.getUint32(40, true);
|
|
78483
|
+
if (type !== 1 || signature !== EMF_SIGNATURE)
|
|
78484
|
+
return null;
|
|
78485
|
+
if (headerSize <= 0 || headerSize >= view.byteLength)
|
|
78486
|
+
return null;
|
|
78487
|
+
const pendingByObjectId = /* @__PURE__ */ new Map;
|
|
78488
|
+
let offset = headerSize;
|
|
78489
|
+
while (offset + 8 <= view.byteLength) {
|
|
78490
|
+
const recordType = view.getUint32(offset, true);
|
|
78491
|
+
const recordSize = view.getUint32(offset + 4, true);
|
|
78492
|
+
if (recordSize < 8 || offset + recordSize > view.byteLength)
|
|
78493
|
+
break;
|
|
78494
|
+
if (recordType === EMR_COMMENT && recordSize >= 20) {
|
|
78495
|
+
const dataSize = view.getUint32(offset + 8, true);
|
|
78496
|
+
if (dataSize >= 4 && dataSize <= recordSize - 12) {
|
|
78497
|
+
if (view.getUint32(offset + 12, true) === EMF_PLUS_SIGNATURE) {
|
|
78498
|
+
const emfPlusStart = offset + 16;
|
|
78499
|
+
const emfPlusEnd = offset + 12 + dataSize;
|
|
78500
|
+
let pos = emfPlusStart;
|
|
78501
|
+
while (pos + 12 <= emfPlusEnd) {
|
|
78502
|
+
const epType = view.getUint16(pos, true);
|
|
78503
|
+
const epFlags = view.getUint16(pos + 2, true);
|
|
78504
|
+
const epSize = view.getUint32(pos + 4, true);
|
|
78505
|
+
if (epSize < 12 || pos + epSize > emfPlusEnd)
|
|
78506
|
+
break;
|
|
78507
|
+
if (epType === EMF_PLUS_OBJECT) {
|
|
78508
|
+
const objectId = epFlags & 255;
|
|
78509
|
+
const objectType = epFlags >> 8 & 127;
|
|
78510
|
+
const continueBit = (epFlags & 32768) !== 0;
|
|
78511
|
+
const headerBytes = continueBit ? 16 : 12;
|
|
78512
|
+
if (epSize < headerBytes)
|
|
78513
|
+
break;
|
|
78514
|
+
const totalObjectSize = continueBit ? view.getUint32(pos + 8, true) : 0;
|
|
78515
|
+
const dataSize$1 = view.getUint32(pos + (continueBit ? 12 : 8), true);
|
|
78516
|
+
const dataStart = pos + headerBytes;
|
|
78517
|
+
if (dataSize$1 > epSize - headerBytes || dataStart + dataSize$1 > emfPlusEnd)
|
|
78518
|
+
break;
|
|
78519
|
+
if (objectType === EMF_PLUS_OBJECT_TYPE_IMAGE) {
|
|
78520
|
+
let result = null;
|
|
78521
|
+
if (continueBit) {
|
|
78522
|
+
let entry = pendingByObjectId.get(objectId);
|
|
78523
|
+
if (!entry) {
|
|
78524
|
+
entry = {
|
|
78525
|
+
totalSize: totalObjectSize,
|
|
78526
|
+
parts: [],
|
|
78527
|
+
collected: 0
|
|
78528
|
+
};
|
|
78529
|
+
pendingByObjectId.set(objectId, entry);
|
|
78530
|
+
} else if (entry.totalSize === 0 && totalObjectSize > 0)
|
|
78531
|
+
entry.totalSize = totalObjectSize;
|
|
78532
|
+
const chunk2 = new Uint8Array(buffer3, dataStart, dataSize$1);
|
|
78533
|
+
entry.parts.push(chunk2);
|
|
78534
|
+
entry.collected += chunk2.byteLength;
|
|
78535
|
+
if (entry.totalSize > 0 && entry.collected >= entry.totalSize) {
|
|
78536
|
+
result = parseEmfPlusImageObject(concatBytes(entry.parts).subarray(0, entry.totalSize));
|
|
78537
|
+
pendingByObjectId.delete(objectId);
|
|
78538
|
+
}
|
|
78539
|
+
} else {
|
|
78540
|
+
const pending = pendingByObjectId.get(objectId);
|
|
78541
|
+
if (pending) {
|
|
78542
|
+
pending.parts.push(new Uint8Array(buffer3, dataStart, dataSize$1));
|
|
78543
|
+
const combined = concatBytes(pending.parts);
|
|
78544
|
+
result = parseEmfPlusImageObject(pending.totalSize > 0 ? combined.subarray(0, pending.totalSize) : combined);
|
|
78545
|
+
pendingByObjectId.delete(objectId);
|
|
78546
|
+
} else
|
|
78547
|
+
result = parseEmfPlusImageObject(new Uint8Array(buffer3, dataStart, dataSize$1));
|
|
78548
|
+
}
|
|
78549
|
+
if (result)
|
|
78550
|
+
return result;
|
|
78551
|
+
}
|
|
78552
|
+
}
|
|
78553
|
+
pos += epSize;
|
|
78554
|
+
}
|
|
78555
|
+
}
|
|
78556
|
+
}
|
|
78557
|
+
}
|
|
78558
|
+
offset += recordSize;
|
|
78559
|
+
}
|
|
78560
|
+
return null;
|
|
78561
|
+
}
|
|
78329
78562
|
function extractBitmapFromEmf(buffer3) {
|
|
78330
78563
|
const view = new DataView(buffer3);
|
|
78331
78564
|
if (view.byteLength < 120)
|
|
@@ -78406,7 +78639,7 @@ function isEmfPlus(buffer3) {
|
|
|
78406
78639
|
const recordSize = view.getUint32(offset + 4, true);
|
|
78407
78640
|
if (recordSize < 8 || offset + recordSize > view.byteLength)
|
|
78408
78641
|
break;
|
|
78409
|
-
if (recordType ===
|
|
78642
|
+
if (recordType === EMR_COMMENT && recordSize >= 20) {
|
|
78410
78643
|
if (view.getUint32(offset + 12, true) === EMF_PLUS_SIGNATURE)
|
|
78411
78644
|
return true;
|
|
78412
78645
|
}
|
|
@@ -78469,12 +78702,16 @@ function convertEmfToSvg(data, size2 = {}) {
|
|
|
78469
78702
|
if (bitmapResult)
|
|
78470
78703
|
return bitmapResult;
|
|
78471
78704
|
const dimensions = getEmfDimensions(buffer3);
|
|
78472
|
-
if (isEmfPlus(buffer3))
|
|
78705
|
+
if (isEmfPlus(buffer3)) {
|
|
78706
|
+
const embedded = extractBitmapFromEmfPlus(buffer3);
|
|
78707
|
+
if (embedded)
|
|
78708
|
+
return embedded;
|
|
78473
78709
|
return createPlaceholder({
|
|
78474
78710
|
width: size2.width || dimensions.width,
|
|
78475
78711
|
height: size2.height || dimensions.height,
|
|
78476
78712
|
label: "Unable to render EMF+ image"
|
|
78477
78713
|
});
|
|
78714
|
+
}
|
|
78478
78715
|
const renderer = new Renderer$1(buffer3);
|
|
78479
78716
|
const renderSettings = {
|
|
78480
78717
|
width: String(size2.width || dimensions.width) + "px",
|
|
@@ -110353,7 +110590,7 @@ var isRegExp = (value) => {
|
|
|
110353
110590
|
}
|
|
110354
110591
|
}, domEnvironment$1 = null, setMetafileDomEnvironment = (env) => {
|
|
110355
110592
|
domEnvironment$1 = env || null;
|
|
110356
|
-
}, MM_ANISOTROPIC = 8, EMF_SIGNATURE = 1179469088, EMF_PLUS_SIGNATURE = 726027589, base64ToArrayBuffer, require_common, require_trees, require_adler32, require_crc32, require_messages, require_deflate$1, require_strings, require_zstream, require_deflate, require_inffast, require_inftrees, require_inflate$1, require_constants2, require_gzheader, require_inflate, require_pako, import_UTIF, domEnvironment = null, MAX_PIXEL_COUNT = 1e8, setTiffDomEnvironment = (env) => {
|
|
110593
|
+
}, MM_ANISOTROPIC = 8, EMF_SIGNATURE = 1179469088, EMF_PLUS_SIGNATURE = 726027589, EMR_COMMENT = 70, EMF_PLUS_OBJECT = 16392, EMF_PLUS_OBJECT_TYPE_IMAGE = 5, EMF_PLUS_IMAGE_TYPE_BITMAP = 1, EMF_PLUS_BITMAP_TYPE_PIXEL = 0, EMF_PLUS_BITMAP_TYPE_COMPRESSED = 1, EMF_PLUS_PIXEL_FORMAT_INDEXED_FLAG = 65536, EMF_PLUS_PIXEL_FORMAT_24BPP_RGB = 137224, EMF_PLUS_PIXEL_FORMAT_32BPP_RGB = 139273, EMF_PLUS_PIXEL_FORMAT_32BPP_ARGB = 2498570, EMF_PLUS_PIXEL_FORMAT_32BPP_PARGB = 925707, MAX_PIXEL_BITMAP_PIXELS = 1e8, base64ToArrayBuffer, require_common, require_trees, require_adler32, require_crc32, require_messages, require_deflate$1, require_strings, require_zstream, require_deflate, require_inffast, require_inftrees, require_inflate$1, require_constants2, require_gzheader, require_inflate, require_pako, import_UTIF, domEnvironment = null, MAX_PIXEL_COUNT = 1e8, setTiffDomEnvironment = (env) => {
|
|
110357
110594
|
domEnvironment = env || null;
|
|
110358
110595
|
}, getInstructionPreProcessor = (instruction) => {
|
|
110359
110596
|
switch (instruction.split(" ")[0]) {
|
|
@@ -119290,7 +119527,7 @@ var isRegExp = (value) => {
|
|
|
119290
119527
|
state.kern = kernNode.attributes["w:val"];
|
|
119291
119528
|
}
|
|
119292
119529
|
}, SuperConverter;
|
|
119293
|
-
var
|
|
119530
|
+
var init_SuperConverter_VRDgcp1i_es = __esm(() => {
|
|
119294
119531
|
init_rolldown_runtime_Bg48TavK_es();
|
|
119295
119532
|
init_jszip_C49i9kUs_es();
|
|
119296
119533
|
init_xml_js_CqGKpaft_es();
|
|
@@ -157159,7 +157396,7 @@ var init_SuperConverter_BInxZk0I_es = __esm(() => {
|
|
|
157159
157396
|
};
|
|
157160
157397
|
});
|
|
157161
157398
|
|
|
157162
|
-
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-
|
|
157399
|
+
// ../../packages/superdoc/dist/chunks/create-headless-toolbar-DDhCzATq.es.js
|
|
157163
157400
|
function parseSizeUnit(val = "0") {
|
|
157164
157401
|
const length3 = val.toString() || "0";
|
|
157165
157402
|
const value = Number.parseFloat(length3);
|
|
@@ -159826,8 +160063,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
|
|
|
159826
160063
|
}
|
|
159827
160064
|
};
|
|
159828
160065
|
};
|
|
159829
|
-
var
|
|
159830
|
-
|
|
160066
|
+
var init_create_headless_toolbar_DDhCzATq_es = __esm(() => {
|
|
160067
|
+
init_SuperConverter_VRDgcp1i_es();
|
|
159831
160068
|
init_constants_DrU4EASo_es();
|
|
159832
160069
|
init_dist_B8HfvhaK_es();
|
|
159833
160070
|
CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
|
|
@@ -208524,7 +208761,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
208524
208761
|
init_remark_gfm_BhnWr3yf_es();
|
|
208525
208762
|
});
|
|
208526
208763
|
|
|
208527
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
208764
|
+
// ../../packages/superdoc/dist/chunks/src-DEPmpJjg.es.js
|
|
208528
208765
|
function deleteProps(obj, propOrProps) {
|
|
208529
208766
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
208530
208767
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -295064,10 +295301,12 @@ menclose::after {
|
|
|
295064
295301
|
}, AUTO_SPACING_DEFAULT_MULTIPLIER = 1.15, AUTO_SPACING_LINE_DEFAULT = 240, normalizeAlignment = (value, isRtl = false) => {
|
|
295065
295302
|
switch (value) {
|
|
295066
295303
|
case "center":
|
|
295067
|
-
case "right":
|
|
295068
295304
|
case "justify":
|
|
295069
|
-
case "left":
|
|
295070
295305
|
return value;
|
|
295306
|
+
case "left":
|
|
295307
|
+
return isRtl ? "right" : "left";
|
|
295308
|
+
case "right":
|
|
295309
|
+
return isRtl ? "left" : "right";
|
|
295071
295310
|
case "both":
|
|
295072
295311
|
case "distribute":
|
|
295073
295312
|
case "numTab":
|
|
@@ -302133,12 +302372,12 @@ menclose::after {
|
|
|
302133
302372
|
return;
|
|
302134
302373
|
console.log(...args$1);
|
|
302135
302374
|
}, 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;
|
|
302136
|
-
var
|
|
302375
|
+
var init_src_DEPmpJjg_es = __esm(() => {
|
|
302137
302376
|
init_rolldown_runtime_Bg48TavK_es();
|
|
302138
|
-
|
|
302377
|
+
init_SuperConverter_VRDgcp1i_es();
|
|
302139
302378
|
init_jszip_C49i9kUs_es();
|
|
302140
302379
|
init_uuid_qzgm05fK_es();
|
|
302141
|
-
|
|
302380
|
+
init_create_headless_toolbar_DDhCzATq_es();
|
|
302142
302381
|
init_constants_DrU4EASo_es();
|
|
302143
302382
|
init_dist_B8HfvhaK_es();
|
|
302144
302383
|
init_unified_Dsuw2be5_es();
|
|
@@ -340156,11 +340395,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
340156
340395
|
];
|
|
340157
340396
|
});
|
|
340158
340397
|
|
|
340159
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
340398
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-C_pZyj7a.es.js
|
|
340160
340399
|
var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
|
|
340161
|
-
var
|
|
340162
|
-
|
|
340163
|
-
|
|
340400
|
+
var init_create_super_doc_ui_C_pZyj7a_es = __esm(() => {
|
|
340401
|
+
init_SuperConverter_VRDgcp1i_es();
|
|
340402
|
+
init_create_headless_toolbar_DDhCzATq_es();
|
|
340164
340403
|
MOD_ALIASES = new Set([
|
|
340165
340404
|
"Mod",
|
|
340166
340405
|
"Meta",
|
|
@@ -340202,16 +340441,16 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
340202
340441
|
|
|
340203
340442
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
340204
340443
|
var init_super_editor_es = __esm(() => {
|
|
340205
|
-
|
|
340206
|
-
|
|
340444
|
+
init_src_DEPmpJjg_es();
|
|
340445
|
+
init_SuperConverter_VRDgcp1i_es();
|
|
340207
340446
|
init_jszip_C49i9kUs_es();
|
|
340208
340447
|
init_xml_js_CqGKpaft_es();
|
|
340209
|
-
|
|
340448
|
+
init_create_headless_toolbar_DDhCzATq_es();
|
|
340210
340449
|
init_constants_DrU4EASo_es();
|
|
340211
340450
|
init_dist_B8HfvhaK_es();
|
|
340212
340451
|
init_unified_Dsuw2be5_es();
|
|
340213
340452
|
init_DocxZipper_Dh4RtvcE_es();
|
|
340214
|
-
|
|
340453
|
+
init_create_super_doc_ui_C_pZyj7a_es();
|
|
340215
340454
|
init_ui_CGB3qmy3_es();
|
|
340216
340455
|
init_eventemitter3_UwU_CLPU_es();
|
|
340217
340456
|
init_errors_C_DoKMoN_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.8.0-next.
|
|
3
|
+
"version": "0.8.0-next.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -25,20 +25,20 @@
|
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
27
|
"@superdoc/document-api": "0.0.1",
|
|
28
|
-
"superdoc": "
|
|
28
|
+
"@superdoc/pm-adapter": "0.0.0",
|
|
29
29
|
"@superdoc/super-editor": "0.0.1",
|
|
30
|
-
"
|
|
30
|
+
"superdoc": "1.32.0"
|
|
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.8.0-next.
|
|
38
|
-
"@superdoc-dev/cli-
|
|
39
|
-
"@superdoc-dev/cli-
|
|
40
|
-
"@superdoc-dev/cli-linux-arm64": "0.8.0-next.
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.8.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.8.0-next.98",
|
|
38
|
+
"@superdoc-dev/cli-linux-x64": "0.8.0-next.98",
|
|
39
|
+
"@superdoc-dev/cli-darwin-x64": "0.8.0-next.98",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.8.0-next.98",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.8.0-next.98"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|