@superdoc-dev/cli 0.3.0-next.32 → 0.3.0-next.34
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 +18 -9
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -39367,7 +39367,7 @@ var init_remark_gfm_z_sDF4ss_es = __esm(() => {
|
|
|
39367
39367
|
emptyOptions2 = {};
|
|
39368
39368
|
});
|
|
39369
39369
|
|
|
39370
|
-
// ../../packages/superdoc/dist/chunks/SuperConverter-
|
|
39370
|
+
// ../../packages/superdoc/dist/chunks/SuperConverter-O12Ha0Iv.es.js
|
|
39371
39371
|
function getExtensionConfigField(extension$1, field, context = { name: "" }) {
|
|
39372
39372
|
const fieldValue = extension$1.config[field];
|
|
39373
39373
|
if (typeof fieldValue === "function")
|
|
@@ -80381,7 +80381,7 @@ var isRegExp = (value) => {
|
|
|
80381
80381
|
updateNumberingProperties(numberingProperties, node3, pos, editor, tr);
|
|
80382
80382
|
});
|
|
80383
80383
|
return true;
|
|
80384
|
-
}, NUMBERING_PART_ID = "word/numbering.xml",
|
|
80384
|
+
}, NUMBERING_PART_ID = "word/numbering.xml", NUMBERING_ROOT_ATTRS, numberingPartDescriptor, generateNewListDefinition$1 = ({ numId, listType, level, start, text: text$2, fmt, editor, markerFontFamily }) => {
|
|
80385
80385
|
let resultDefs;
|
|
80386
80386
|
mutateNumbering(editor, "list-numbering-helpers:generateNewListDefinition", (numbering) => {
|
|
80387
80387
|
const result = generateNewListDefinition(numbering, {
|
|
@@ -85272,7 +85272,7 @@ var isRegExp = (value) => {
|
|
|
85272
85272
|
state.kern = kernNode.attributes["w:val"];
|
|
85273
85273
|
}
|
|
85274
85274
|
}, SuperConverter;
|
|
85275
|
-
var
|
|
85275
|
+
var init_SuperConverter_O12Ha0Iv_es = __esm(() => {
|
|
85276
85276
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
85277
85277
|
init_jszip_ChlR43oI_es();
|
|
85278
85278
|
init_xml_js_BtmJ6bNs_es();
|
|
@@ -114205,6 +114205,12 @@ var init_SuperConverter_BrfbGHMj_es = __esm(() => {
|
|
|
114205
114205
|
}
|
|
114206
114206
|
]
|
|
114207
114207
|
};
|
|
114208
|
+
NUMBERING_ROOT_ATTRS = {
|
|
114209
|
+
"xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
|
|
114210
|
+
"xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml",
|
|
114211
|
+
"xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006",
|
|
114212
|
+
"mc:Ignorable": "w15"
|
|
114213
|
+
};
|
|
114208
114214
|
numberingPartDescriptor = {
|
|
114209
114215
|
id: NUMBERING_PART_ID,
|
|
114210
114216
|
ensurePart() {
|
|
@@ -114217,7 +114223,7 @@ var init_SuperConverter_BrfbGHMj_es = __esm(() => {
|
|
|
114217
114223
|
elements: [{
|
|
114218
114224
|
type: "element",
|
|
114219
114225
|
name: "w:numbering",
|
|
114220
|
-
attributes: {
|
|
114226
|
+
attributes: { ...NUMBERING_ROOT_ATTRS },
|
|
114221
114227
|
elements: []
|
|
114222
114228
|
}]
|
|
114223
114229
|
};
|
|
@@ -147681,7 +147687,7 @@ var init_remark_gfm_CjV8kaUy_es = __esm(() => {
|
|
|
147681
147687
|
init_remark_gfm_z_sDF4ss_es();
|
|
147682
147688
|
});
|
|
147683
147689
|
|
|
147684
|
-
// ../../packages/superdoc/dist/chunks/src-
|
|
147690
|
+
// ../../packages/superdoc/dist/chunks/src-DFUuk_uY.es.js
|
|
147685
147691
|
function deleteProps(obj, propOrProps) {
|
|
147686
147692
|
const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
|
|
147687
147693
|
const removeNested = (target, pathParts, index2 = 0) => {
|
|
@@ -227502,9 +227508,9 @@ var Node$13 = class Node$14 {
|
|
|
227502
227508
|
return false;
|
|
227503
227509
|
return Boolean(checker(attrs));
|
|
227504
227510
|
}, SuperToolbar, ICONS, TEXTS, tableActionsOptions;
|
|
227505
|
-
var
|
|
227511
|
+
var init_src_DFUuk_uY_es = __esm(() => {
|
|
227506
227512
|
init_rolldown_runtime_B2q5OVn9_es();
|
|
227507
|
-
|
|
227513
|
+
init_SuperConverter_O12Ha0Iv_es();
|
|
227508
227514
|
init_jszip_ChlR43oI_es();
|
|
227509
227515
|
init_uuid_qzgm05fK_es();
|
|
227510
227516
|
init_constants_ep1_Gwqi_es();
|
|
@@ -245786,6 +245792,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
245786
245792
|
}
|
|
245787
245793
|
const beforeX = win.scrollX;
|
|
245788
245794
|
const beforeY = win.scrollY;
|
|
245795
|
+
const alreadyFocused = view.hasFocus();
|
|
245789
245796
|
let focused = false;
|
|
245790
245797
|
try {
|
|
245791
245798
|
view.dom.focus({ preventScroll: true });
|
|
@@ -245815,6 +245822,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
245815
245822
|
strategy: "original"
|
|
245816
245823
|
});
|
|
245817
245824
|
}
|
|
245825
|
+
if (!alreadyFocused)
|
|
245826
|
+
view.domObserver.suppressSelectionUpdates();
|
|
245818
245827
|
if (win.scrollX !== beforeX || win.scrollY !== beforeY)
|
|
245819
245828
|
win.scrollTo(beforeX, beforeY);
|
|
245820
245829
|
if (this.#focusScrollRafId != null)
|
|
@@ -260773,8 +260782,8 @@ var init_zipper_DqXT7uTa_es = __esm(() => {
|
|
|
260773
260782
|
|
|
260774
260783
|
// ../../packages/superdoc/dist/super-editor.es.js
|
|
260775
260784
|
var init_super_editor_es = __esm(() => {
|
|
260776
|
-
|
|
260777
|
-
|
|
260785
|
+
init_src_DFUuk_uY_es();
|
|
260786
|
+
init_SuperConverter_O12Ha0Iv_es();
|
|
260778
260787
|
init_jszip_ChlR43oI_es();
|
|
260779
260788
|
init_xml_js_BtmJ6bNs_es();
|
|
260780
260789
|
init_constants_ep1_Gwqi_es();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superdoc-dev/cli",
|
|
3
|
-
"version": "0.3.0-next.
|
|
3
|
+
"version": "0.3.0-next.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"superdoc": "./dist/index.js"
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"typescript": "^5.9.2",
|
|
23
23
|
"@superdoc/document-api": "0.0.1",
|
|
24
24
|
"@superdoc/pm-adapter": "0.0.0",
|
|
25
|
-
"
|
|
26
|
-
"superdoc": "
|
|
25
|
+
"superdoc": "1.20.0",
|
|
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.3.0-next.
|
|
34
|
-
"@superdoc-dev/cli-
|
|
35
|
-
"@superdoc-dev/cli-linux-x64": "0.3.0-next.
|
|
36
|
-
"@superdoc-dev/cli-
|
|
37
|
-
"@superdoc-dev/cli-
|
|
33
|
+
"@superdoc-dev/cli-darwin-arm64": "0.3.0-next.34",
|
|
34
|
+
"@superdoc-dev/cli-linux-arm64": "0.3.0-next.34",
|
|
35
|
+
"@superdoc-dev/cli-linux-x64": "0.3.0-next.34",
|
|
36
|
+
"@superdoc-dev/cli-darwin-x64": "0.3.0-next.34",
|
|
37
|
+
"@superdoc-dev/cli-windows-x64": "0.3.0-next.34"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"predev": "node scripts/ensure-superdoc-build.js",
|