@ones-editor/editor 2.8.25-beta.13 → 2.8.25-beta.15
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
CHANGED
|
@@ -4116,6 +4116,7 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
|
|
|
4116
4116
|
.comment-item-root .item-head-tools {
|
|
4117
4117
|
display: flex;
|
|
4118
4118
|
align-items: center;
|
|
4119
|
+
justify-content: center;
|
|
4119
4120
|
visibility: hidden;
|
|
4120
4121
|
}
|
|
4121
4122
|
.comment-item-root .item-head-tools .editor-text-button {
|
|
@@ -4125,8 +4126,8 @@ div.editor-root.readonly div.editor-content div[data-type=editor-container] div[
|
|
|
4125
4126
|
color: #0064ff;
|
|
4126
4127
|
}
|
|
4127
4128
|
.comment-item-root .item-head-tools .editor-text-button svg {
|
|
4128
|
-
width:
|
|
4129
|
-
height:
|
|
4129
|
+
width: 16px;
|
|
4130
|
+
height: 16px;
|
|
4130
4131
|
}
|
|
4131
4132
|
.comment-item-root .item-head-tools.active {
|
|
4132
4133
|
visibility: visible;
|
|
@@ -69539,6 +69540,7 @@ ${codeText}
|
|
|
69539
69540
|
addGroupActionToElement(switchUp, GroupItemActions.SwitchUp);
|
|
69540
69541
|
addGroupActionToElement(switchDown, GroupItemActions.SwitchDown);
|
|
69541
69542
|
addGroupActionToElement(resolve, GroupItemActions.Resolve);
|
|
69543
|
+
resolve.setAttribute(`data-editor-tooltip-${this.editor.clientId}`, i18n$1.t("comment.resolveComment"));
|
|
69542
69544
|
addClass(resolve, "disable-active");
|
|
69543
69545
|
if (comment.resolver) {
|
|
69544
69546
|
addClass(resolve, "resolved");
|
|
@@ -70639,13 +70641,17 @@ ${codeText}
|
|
|
70639
70641
|
this.noResolvedCommentTip = null;
|
|
70640
70642
|
}
|
|
70641
70643
|
show(groupId) {
|
|
70642
|
-
var _a;
|
|
70644
|
+
var _a, _b;
|
|
70643
70645
|
removeClass(this.root, "hidden");
|
|
70644
70646
|
if (groupId) {
|
|
70647
|
+
if (this.listType !== "current") {
|
|
70648
|
+
const commandItem = (_a = this.switcherItem.children) == null ? void 0 : _a[0];
|
|
70649
|
+
this.handleSwitchType(this.switcherBar, commandItem);
|
|
70650
|
+
}
|
|
70645
70651
|
const index2 = this.list.findItemIndex(groupId);
|
|
70646
70652
|
this.list.setActiveItem(index2);
|
|
70647
70653
|
}
|
|
70648
|
-
(
|
|
70654
|
+
(_b = this.commentOptions) == null ? void 0 : _b.controller.showCommentList();
|
|
70649
70655
|
}
|
|
70650
70656
|
hide() {
|
|
70651
70657
|
addClass(this.root, "hidden");
|
|
@@ -71502,7 +71508,8 @@ ${codeText}
|
|
|
71502
71508
|
currentComment: "\u5F53\u524D\u6279\u6CE8",
|
|
71503
71509
|
resolvedComment: "\u5DF2\u89E3\u51B3\u6279\u6CE8",
|
|
71504
71510
|
removedFromDoc: "\u5F15\u7528\u5185\u5BB9\u5DF2\u5220\u9664",
|
|
71505
|
-
noResolvedComment: "\u65E0\u5DF2\u89E3\u51B3\u6279\u6CE8"
|
|
71511
|
+
noResolvedComment: "\u65E0\u5DF2\u89E3\u51B3\u6279\u6CE8",
|
|
71512
|
+
resolveComment: "\u6807\u8BB0\u4E3A\u5DF2\u89E3\u51B3"
|
|
71506
71513
|
}
|
|
71507
71514
|
};
|
|
71508
71515
|
const enUS$k = {
|
|
@@ -71531,7 +71538,8 @@ ${codeText}
|
|
|
71531
71538
|
currentComment: "Unresolved annotations",
|
|
71532
71539
|
resolvedComment: "Resolved annotations",
|
|
71533
71540
|
removedFromDoc: "Quoted content deleted.",
|
|
71534
|
-
noResolvedComment: "No resolved annotations."
|
|
71541
|
+
noResolvedComment: "No resolved annotations.",
|
|
71542
|
+
resolveComment: "Mark as resolved"
|
|
71535
71543
|
}
|
|
71536
71544
|
};
|
|
71537
71545
|
const jaJP$k = {
|
|
@@ -71560,7 +71568,8 @@ ${codeText}
|
|
|
71560
71568
|
currentComment: "\u672A\u89E3\u6C7A\u30B3\u30E1\u30F3\u30C8",
|
|
71561
71569
|
resolvedComment: "\u89E3\u6C7A\u6E08\u307F\u30B3\u30E1\u30F3\u30C8",
|
|
71562
71570
|
removedFromDoc: "\u5F15\u7528\u3055\u308C\u305F\u5185\u5BB9\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F\u3002",
|
|
71563
|
-
noResolvedComment: "\u89E3\u6C7A\u6E08\u307F\u30B3\u30E1\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u3002"
|
|
71571
|
+
noResolvedComment: "\u89E3\u6C7A\u6E08\u307F\u30B3\u30E1\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
|
|
71572
|
+
resolveComment: "\u89E3\u6C7A\u3055\u308C\u307E\u3057\u305F"
|
|
71564
71573
|
}
|
|
71565
71574
|
};
|
|
71566
71575
|
i18n$1.mergeLang({
|
|
@@ -93816,7 +93825,7 @@ ${data2.plantumlText}
|
|
|
93816
93825
|
}
|
|
93817
93826
|
}
|
|
93818
93827
|
});
|
|
93819
|
-
editor.version = "2.8.25-beta.
|
|
93828
|
+
editor.version = "2.8.25-beta.15";
|
|
93820
93829
|
return editor;
|
|
93821
93830
|
}
|
|
93822
93831
|
function isDoc(doc2) {
|
|
@@ -93929,7 +93938,7 @@ ${data2.plantumlText}
|
|
|
93929
93938
|
}
|
|
93930
93939
|
});
|
|
93931
93940
|
OnesEditorToolbar.register(editor);
|
|
93932
|
-
editor.version = "2.8.25-beta.
|
|
93941
|
+
editor.version = "2.8.25-beta.15";
|
|
93933
93942
|
return editor;
|
|
93934
93943
|
}
|
|
93935
93944
|
async function showDocVersions(editor, options, serverUrl) {
|