@superdoc-dev/cli 0.5.0-next.16 → 0.5.0-next.17
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 +20 -11
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -63334,7 +63334,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
|
|
|
63334
63334
|
emptyOptions2 = {};
|
|
63335
63335
|
});
|
|
63336
63336
|
|
|
63337
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
63337
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-B4A4OihU.es.js
|
|
63338
63338
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
63339
63339
|
const fieldValue = extension$1.config[field];
|
|
63340
63340
|
if (typeof fieldValue === "function")
|
|
@@ -100998,13 +100998,15 @@ var isRegExp = (value) => {
|
|
|
100998
100998
|
const docPartGalleryType = params3.extraParams.docPartGalleryType;
|
|
100999
100999
|
const id2 = sdtPr?.elements?.find((el) => el.name === "w:id")?.attributes["w:val"] || "";
|
|
101000
101000
|
const docPartObj = sdtPr?.elements.find((el) => el.name === "w:docPartObj");
|
|
101001
|
+
const docPartGallery = docPartGalleryType ?? docPartObj?.elements?.find((el) => el.name === "w:docPartGallery")?.attributes?.["w:val"] ?? null;
|
|
101002
|
+
const docPartUnique = docPartObj?.elements.some((el) => el.name === "w:docPartUnique") ?? false;
|
|
101001
101003
|
return {
|
|
101002
101004
|
type: "documentPartObject",
|
|
101003
|
-
content: translatedContent,
|
|
101005
|
+
content: normalizeDocPartContent(translatedContent),
|
|
101004
101006
|
attrs: {
|
|
101005
101007
|
id: id2,
|
|
101006
|
-
docPartGallery
|
|
101007
|
-
docPartUnique
|
|
101008
|
+
docPartGallery,
|
|
101009
|
+
docPartUnique,
|
|
101008
101010
|
sdtPr
|
|
101009
101011
|
}
|
|
101010
101012
|
};
|
|
@@ -113984,7 +113986,7 @@ var isRegExp = (value) => {
|
|
|
113984
113986
|
state.kern = kernNode.attributes["w:val"];
|
|
113985
113987
|
}
|
|
113986
113988
|
}, SuperConverter;
|
|
113987
|
-
var
|
|
113989
|
+
var init_SuperConverter_B4A4OihU_es = __esm(() => {
|
|
113988
113990
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
113989
113991
|
init_jszip_ChlR43oI_es();
|
|
113990
113992
|
init_xml_js_40FWvL78_es();
|
|
@@ -129565,7 +129567,14 @@ var init_SuperConverter_CMIR0kxi_es = __esm(() => {
|
|
|
129565
129567
|
};
|
|
129566
129568
|
translator$6 = NodeTranslator.from(config$30);
|
|
129567
129569
|
validGalleryTypeMap = { "Table of Contents": tableOfContentsHandler };
|
|
129568
|
-
inlineNodeTypes = new Set([
|
|
129570
|
+
inlineNodeTypes = new Set([
|
|
129571
|
+
"bookmarkStart",
|
|
129572
|
+
"bookmarkEnd",
|
|
129573
|
+
"commentRangeStart",
|
|
129574
|
+
"commentRangeEnd",
|
|
129575
|
+
"permStart",
|
|
129576
|
+
"permEnd"
|
|
129577
|
+
]);
|
|
129569
129578
|
factor16 = Math.pow(2, 16);
|
|
129570
129579
|
StepMap.empty = new StepMap([]);
|
|
129571
129580
|
stepsByID = Object.create(null);
|
|
@@ -172493,7 +172502,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
172493
172502
|
init_remark_gfm_z_sDF4ss_es();
|
|
172494
172503
|
});
|
|
172495
172504
|
|
|
172496
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
172505
|
+
// ../../packages/superdoc/dist/chunks/src-DRK5pSwz.es.js
|
|
172497
172506
|
function deleteProps(obj, propOrProps) {
|
|
172498
172507
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
172499
172508
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -253902,9 +253911,9 @@ var Node$13 = class Node$14 {
|
|
|
253902
253911
|
return;
|
|
253903
253912
|
console.log(...args$1);
|
|
253904
253913
|
}, 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;
|
|
253905
|
-
var
|
|
253914
|
+
var init_src_DRK5pSwz_es = __esm(() => {
|
|
253906
253915
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
253907
|
-
|
|
253916
|
+
init_SuperConverter_B4A4OihU_es();
|
|
253908
253917
|
init_jszip_ChlR43oI_es();
|
|
253909
253918
|
init_uuid_qzgm05fK_es();
|
|
253910
253919
|
init_constants_Qqwopz80_es();
|
|
@@ -287854,8 +287863,8 @@ var init_zipper_YmNpPIyc_es = __esm(() => {
|
|
|
287854
287863
|
|
|
287855
287864
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
287856
287865
|
var init_super_editor_es = __esm(() => {
|
|
287857
|
-
|
|
287858
|
-
|
|
287866
|
+
init_src_DRK5pSwz_es();
|
|
287867
|
+
init_SuperConverter_B4A4OihU_es();
|
|
287859
287868
|
init_jszip_ChlR43oI_es();
|
|
287860
287869
|
init_xml_js_40FWvL78_es();
|
|
287861
287870
|
init_constants_Qqwopz80_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.17",
|
|
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/pm-adapter": "0.0.0",
|
|
28
29
|
"superdoc": "1.23.0",
|
|
29
|
-
"@superdoc/super-editor": "0.0.1"
|
|
30
|
-
"@superdoc/pm-adapter": "0.0.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-darwin-x64": "0.5.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.5.0-next.
|
|
40
|
-
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.
|
|
41
|
-
"@superdoc-dev/cli-windows-x64": "0.5.0-next.
|
|
37
|
+
"@superdoc-dev/cli-darwin-arm64": "0.5.0-next.17",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.5.0-next.17",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.5.0-next.17",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.5.0-next.17",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.5.0-next.17"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|