@superdoc-dev/cli 0.8.0-next.116 → 0.8.0-next.117
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 -6
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -209584,7 +209584,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
|
|
|
209584
209584
|
init_remark_gfm_BhnWr3yf_es();
|
|
209585
209585
|
});
|
|
209586
209586
|
|
|
209587
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
209587
|
+
// ../../packages/superdoc/dist/chunks/src-Db2DJZym.es.js
|
|
209588
209588
|
function deleteProps(obj, propOrProps) {
|
|
209589
209589
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
209590
209590
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -267926,6 +267926,13 @@ function findRenderedTrackedChangeElementsStrict(host, entityId, escapeAttrValue
|
|
|
267926
267926
|
const storySelector = `${baseSelector}[data-story-key="${escapeAttrValue$1(storyKey)}"]`;
|
|
267927
267927
|
return Array.from(host.querySelectorAll(storySelector));
|
|
267928
267928
|
}
|
|
267929
|
+
function findRenderedContentControlElements(host, entityId, escapeAttrValue$1, _storyKey) {
|
|
267930
|
+
if (!host || !entityId)
|
|
267931
|
+
return [];
|
|
267932
|
+
const id2 = escapeAttrValue$1(entityId);
|
|
267933
|
+
const selector = `.${DOM_CLASS_NAMES.INLINE_SDT_WRAPPER}[data-sdt-id="${id2}"][data-sdt-type="structuredContent"],.${DOM_CLASS_NAMES.BLOCK_SDT}[data-sdt-id="${id2}"][data-sdt-type="structuredContent"]`;
|
|
267934
|
+
return Array.from(host.querySelectorAll(selector));
|
|
267935
|
+
}
|
|
267929
267936
|
function elementsToRangeRects(elements) {
|
|
267930
267937
|
const result = [];
|
|
267931
267938
|
for (const element3 of elements) {
|
|
@@ -304081,7 +304088,7 @@ menclose::after {
|
|
|
304081
304088
|
return;
|
|
304082
304089
|
console.log(...args$1);
|
|
304083
304090
|
}, 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;
|
|
304084
|
-
var
|
|
304091
|
+
var init_src_Db2DJZym_es = __esm(() => {
|
|
304085
304092
|
init_rolldown_runtime_Bg48TavK_es();
|
|
304086
304093
|
init_SuperConverter_ByqzBuoW_es();
|
|
304087
304094
|
init_jszip_C49i9kUs_es();
|
|
@@ -336958,6 +336965,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
336958
336965
|
elements = findRenderedTrackedChangeElementsStrict(host, entityId, escapeAttrValue, storyKey);
|
|
336959
336966
|
else if (entityType === "comment")
|
|
336960
336967
|
elements = findRenderedCommentElements(host, entityId, storyKey);
|
|
336968
|
+
else if (entityType === "contentControl")
|
|
336969
|
+
elements = findRenderedContentControlElements(host, entityId, escapeAttrValue, storyKey);
|
|
336961
336970
|
else
|
|
336962
336971
|
return [];
|
|
336963
336972
|
return elementsToRangeRects(elements);
|
|
@@ -342156,9 +342165,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
342156
342165
|
];
|
|
342157
342166
|
});
|
|
342158
342167
|
|
|
342159
|
-
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-
|
|
342168
|
+
// ../../packages/superdoc/dist/chunks/create-super-doc-ui-ohqFuGuC.es.js
|
|
342160
342169
|
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;
|
|
342161
|
-
var
|
|
342170
|
+
var init_create_super_doc_ui_ohqFuGuC_es = __esm(() => {
|
|
342162
342171
|
init_SuperConverter_ByqzBuoW_es();
|
|
342163
342172
|
init_create_headless_toolbar_CaWsmmol_es();
|
|
342164
342173
|
MOD_ALIASES = new Set([
|
|
@@ -342202,7 +342211,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
|
|
|
342202
342211
|
|
|
342203
342212
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
342204
342213
|
var init_super_editor_es = __esm(() => {
|
|
342205
|
-
|
|
342214
|
+
init_src_Db2DJZym_es();
|
|
342206
342215
|
init_SuperConverter_ByqzBuoW_es();
|
|
342207
342216
|
init_jszip_C49i9kUs_es();
|
|
342208
342217
|
init_xml_js_CqGKpaft_es();
|
|
@@ -342211,7 +342220,7 @@ var init_super_editor_es = __esm(() => {
|
|
|
342211
342220
|
init_dist_B8HfvhaK_es();
|
|
342212
342221
|
init_unified_Dsuw2be5_es();
|
|
342213
342222
|
init_DocxZipper_Bphhij1P_es();
|
|
342214
|
-
|
|
342223
|
+
init_create_super_doc_ui_ohqFuGuC_es();
|
|
342215
342224
|
init_ui_CGB3qmy3_es();
|
|
342216
342225
|
init_eventemitter3_UwU_CLPU_es();
|
|
342217
342226
|
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.117",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
"@types/node": "22.19.2",
|
|
25
25
|
"@types/ws": "^8.5.13",
|
|
26
26
|
"typescript": "^5.9.2",
|
|
27
|
-
"@superdoc/document-api": "0.0.1",
|
|
28
27
|
"@superdoc/pm-adapter": "0.0.0",
|
|
29
28
|
"@superdoc/super-editor": "0.0.1",
|
|
30
|
-
"superdoc": "1.32.0"
|
|
29
|
+
"superdoc": "1.32.0",
|
|
30
|
+
"@superdoc/document-api": "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.8.0-next.
|
|
38
|
-
"@superdoc-dev/cli-darwin-x64": "0.8.0-next.
|
|
39
|
-
"@superdoc-dev/cli-linux-x64": "0.8.0-next.
|
|
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.117",
|
|
38
|
+
"@superdoc-dev/cli-darwin-x64": "0.8.0-next.117",
|
|
39
|
+
"@superdoc-dev/cli-linux-x64": "0.8.0-next.117",
|
|
40
|
+
"@superdoc-dev/cli-linux-arm64": "0.8.0-next.117",
|
|
41
|
+
"@superdoc-dev/cli-windows-x64": "0.8.0-next.117"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"predev": "node scripts/ensure-superdoc-build.js",
|