@univerjs/docs-ui 0.4.0-alpha.2 → 0.4.0-experimental.20241017-da434a2
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +10 -5
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
- package/LICENSE +0 -176
package/lib/es/index.js
CHANGED
|
@@ -4360,7 +4360,8 @@ const ListOperationCommand = {
|
|
|
4360
4360
|
params: {
|
|
4361
4361
|
unitId,
|
|
4362
4362
|
actions: [],
|
|
4363
|
-
textRanges: docRanges
|
|
4363
|
+
textRanges: docRanges,
|
|
4364
|
+
isEditing: !1
|
|
4364
4365
|
}
|
|
4365
4366
|
};
|
|
4366
4367
|
new MemoryCursor().reset();
|
|
@@ -4396,7 +4397,8 @@ const ListOperationCommand = {
|
|
|
4396
4397
|
params: {
|
|
4397
4398
|
unitId,
|
|
4398
4399
|
actions: [],
|
|
4399
|
-
textRanges: selections
|
|
4400
|
+
textRanges: selections,
|
|
4401
|
+
isEditing: !1
|
|
4400
4402
|
}
|
|
4401
4403
|
}, path = getRichTextEditPath(docDataModel, segmentId);
|
|
4402
4404
|
return doMutation.params.actions = jsonX.editOp(textX.serialize(), path), !!commandService.syncExecuteCommand(doMutation.id, doMutation.params);
|
|
@@ -4426,7 +4428,8 @@ const ChangeListNestingLevelCommand = {
|
|
|
4426
4428
|
params: {
|
|
4427
4429
|
unitId,
|
|
4428
4430
|
actions: [],
|
|
4429
|
-
textRanges: selections
|
|
4431
|
+
textRanges: selections,
|
|
4432
|
+
isEditing: !1
|
|
4430
4433
|
}
|
|
4431
4434
|
}, path = getRichTextEditPath(docDataModel, segmentId);
|
|
4432
4435
|
return doMutation.params.actions = jsonX.editOp(textX.serialize(), path), !!commandService.syncExecuteCommand(doMutation.id, doMutation.params);
|
|
@@ -4469,7 +4472,8 @@ const ChangeListNestingLevelCommand = {
|
|
|
4469
4472
|
unitId,
|
|
4470
4473
|
actions: [],
|
|
4471
4474
|
textRanges: textRanges != null ? textRanges : [],
|
|
4472
|
-
segmentId
|
|
4475
|
+
segmentId,
|
|
4476
|
+
isEditing: !1
|
|
4473
4477
|
}
|
|
4474
4478
|
}, textX = BuildTextUtils.paragraph.bullet.toggleChecklist({
|
|
4475
4479
|
document: docDataModel,
|
|
@@ -4516,7 +4520,8 @@ const ChangeListNestingLevelCommand = {
|
|
|
4516
4520
|
startOffset: paragraphStart,
|
|
4517
4521
|
endOffset: paragraphStart,
|
|
4518
4522
|
collapsed: !0
|
|
4519
|
-
}]
|
|
4523
|
+
}],
|
|
4524
|
+
isEditing: !1
|
|
4520
4525
|
}
|
|
4521
4526
|
};
|
|
4522
4527
|
textX.push({
|