@seafile/sdoc-editor 0.1.148 → 0.1.149
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/basic-sdk/comment/comment/comment-item-content.js +5 -0
- package/dist/basic-sdk/comment/comment/comment-item-reply.js +3 -0
- package/dist/basic-sdk/comment/comment/global-comment-header.js +5 -2
- package/dist/basic-sdk/comment/comment/global-comment.js +1 -1
- package/dist/basic-sdk/comment/comment/style.css +6 -5
- package/package.json +1 -1
- package/public/media/sdoc-editor-font/iconfont.eot +0 -0
- package/public/media/sdoc-editor-font/iconfont.svg +4 -0
- package/public/media/sdoc-editor-font/iconfont.ttf +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff2 +0 -0
- package/public/media/sdoc-editor-font.css +14 -6
|
@@ -106,17 +106,22 @@ var CommentItem = function CommentItem(_ref) {
|
|
|
106
106
|
}, /*#__PURE__*/React.createElement("i", {
|
|
107
107
|
className: "sdocfont sdoc-more-options"
|
|
108
108
|
})), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
109
|
+
className: "sdoc-dropdown-menu",
|
|
109
110
|
container: container
|
|
110
111
|
}, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
112
|
+
className: "sdoc-dropdown-menu-item",
|
|
111
113
|
tag: "div",
|
|
112
114
|
onClick: onEditToggle
|
|
113
115
|
}, t('Edit')), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
116
|
+
className: "sdoc-dropdown-menu-item",
|
|
114
117
|
tag: "div",
|
|
115
118
|
onClick: onDeleteToggle
|
|
116
119
|
}, t('Delete')), !comment.resolved && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
120
|
+
className: "sdoc-dropdown-menu-item",
|
|
117
121
|
tag: "div",
|
|
118
122
|
onClick: markAsResolved
|
|
119
123
|
}, t('Mark_as_Resolved')), comment.resolved && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
124
|
+
className: "sdoc-dropdown-menu-item",
|
|
120
125
|
tag: "div",
|
|
121
126
|
onClick: resubmit
|
|
122
127
|
}, t('Resubmit')))))), /*#__PURE__*/React.createElement("div", {
|
|
@@ -77,11 +77,14 @@ var CommentItemReply = function CommentItemReply(_ref) {
|
|
|
77
77
|
}, /*#__PURE__*/React.createElement("i", {
|
|
78
78
|
className: "sdocfont sdoc-more-options"
|
|
79
79
|
})), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
80
|
+
className: "sdoc-dropdown-menu",
|
|
80
81
|
container: container
|
|
81
82
|
}, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
83
|
+
className: "sdoc-dropdown-menu-item",
|
|
82
84
|
tag: "div",
|
|
83
85
|
onClick: onEditToggle
|
|
84
86
|
}, t('Edit')), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
87
|
+
className: "sdoc-dropdown-menu-item",
|
|
85
88
|
tag: "div",
|
|
86
89
|
onClick: onDeleteToggle
|
|
87
90
|
}, t('Delete')))))), /*#__PURE__*/React.createElement("div", {
|
|
@@ -42,19 +42,22 @@ function GlobalCommentHeader(_ref) {
|
|
|
42
42
|
}, /*#__PURE__*/React.createElement("div", {
|
|
43
43
|
id: id
|
|
44
44
|
}, t(commentType))), /*#__PURE__*/React.createElement(DropdownMenu, {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
className: "sdoc-dropdown-menu",
|
|
46
|
+
container: "comment-types"
|
|
47
47
|
}, /*#__PURE__*/React.createElement(DropdownItem, {
|
|
48
|
+
className: "sdoc-dropdown-menu-item",
|
|
48
49
|
tag: 'div',
|
|
49
50
|
onClick: function onClick() {
|
|
50
51
|
return onCommentTypeChanged(COMMENT_TYPES.all);
|
|
51
52
|
}
|
|
52
53
|
}, t(COMMENT_TYPES.all)), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
54
|
+
className: "sdoc-dropdown-menu-item",
|
|
53
55
|
tag: 'div',
|
|
54
56
|
onClick: function onClick() {
|
|
55
57
|
return onCommentTypeChanged(COMMENT_TYPES.resolved);
|
|
56
58
|
}
|
|
57
59
|
}, t(COMMENT_TYPES.resolved)), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
60
|
+
className: "sdoc-dropdown-menu-item",
|
|
58
61
|
tag: 'div',
|
|
59
62
|
onClick: function onClick() {
|
|
60
63
|
return onCommentTypeChanged(COMMENT_TYPES.unresolved);
|
|
@@ -67,7 +67,7 @@ var GlobalComment = function GlobalComment(_ref) {
|
|
|
67
67
|
return setShowCommentList(false);
|
|
68
68
|
}
|
|
69
69
|
}, /*#__PURE__*/React.createElement("i", {
|
|
70
|
-
className: "sdocfont sdoc-close"
|
|
70
|
+
className: "sdocfont sdoc-sm-close"
|
|
71
71
|
}))), /*#__PURE__*/React.createElement("div", {
|
|
72
72
|
className: "comments-panel-body"
|
|
73
73
|
}, /*#__PURE__*/React.createElement(GlobalCommentHeader, {
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
font-weight: 500;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.global-comments-popover .comments-panel-header .sdoc-close {
|
|
76
|
+
.global-comments-popover .comments-panel-header .sdoc-sm-close {
|
|
77
77
|
display: flex;
|
|
78
78
|
align-items: center;
|
|
79
79
|
justify-content: center;
|
|
80
|
-
font-size:
|
|
80
|
+
font-size: 16px;
|
|
81
81
|
font-weight: 700;
|
|
82
82
|
color: #999;
|
|
83
83
|
cursor: pointer;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.global-comments-popover .comments-panel-header .sdoc-close:hover {
|
|
86
|
+
.global-comments-popover .comments-panel-header .sdoc-sm-close:hover {
|
|
87
87
|
color: #5a5a5a;
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
background: #f5f5f5;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.sdoc-
|
|
149
|
-
font-size:
|
|
148
|
+
.sdoc-dropdown-menu .dropdown-item {
|
|
149
|
+
font-size: 14px;
|
|
150
|
+
color: #212529;
|
|
150
151
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
/>
|
|
15
15
|
<missing-glyph />
|
|
16
16
|
|
|
17
|
+
<glyph glyph-name="sdoc-sm-close" unicode="" d="M512 439.466667L230.4 721.066667l-25.6 25.6-55.466667-55.466667 25.6-25.6 281.6-281.6-281.6-281.6-25.6-25.6 55.466667-55.466667 25.6 25.6 281.6 281.6 281.6-281.6 25.6-25.6 55.466667 55.466667-25.6 25.6-281.6 281.6 281.6 281.6 25.6 25.6-55.466667 55.466667-25.6-25.6z" horiz-adv-x="1024" />
|
|
18
|
+
|
|
19
|
+
<glyph glyph-name="sdoc-merge-cell" unicode="" d="M480 896v-288h-96V800H96v-832h288v192h96v-288H0V896h480zM313.6 528L480 384l-166.4-144v96H160v92.8h153.6v99.2zM1024 896v-1024H544v288h96v-192h288V800h-288v-192h-96V896h480z m-313.6-368v-99.2H864v-92.8h-153.6v-96L544 384l166.4 144z" horiz-adv-x="1024" />
|
|
20
|
+
|
|
17
21
|
<glyph glyph-name="sdoc-download" unicode="" d="M582.4 326.4V793.6c0 41.6-32 70.4-70.4 70.4s-70.4-28.8-70.4-70.4v-467.2l-172.8 172.8c-25.6 25.6-70.4 25.6-96-3.2-25.6-25.6-25.6-70.4 0-96l291.2-291.2c25.6-25.6 70.4-25.6 96 0l291.2 291.2c25.6 25.6 25.6 70.4 3.2 96-25.6 25.6-70.4 25.6-96 3.2l-3.2-3.2-172.8-169.6z m-480-284.8h822.4c38.4 0 70.4-28.8 70.4-70.4s-32-67.2-73.6-67.2H102.4C60.8-96 32-67.2 32-25.6c0 35.2 28.8 67.2 70.4 67.2z" horiz-adv-x="1024" />
|
|
18
22
|
|
|
19
23
|
<glyph glyph-name="sdoc-next-page" unicode="" d="M342.4 768c12.8 0 28.8-6.4 38.4-16l329.6-329.6c22.4-22.4 22.4-57.6 0-76.8L380.8 16c-22.4-22.4-57.6-22.4-76.8 0-22.4 22.4-22.4 57.6 0 76.8L595.2 384 304 675.2c-22.4 22.4-22.4 57.6 0 76.8 9.6 9.6 25.6 16 38.4 16z" horiz-adv-x="1024" />
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "sdocfont"; /* Project id 4097705 */
|
|
3
|
-
src: url('./sdoc-editor-font/iconfont.eot?t=
|
|
4
|
-
src: url('./sdoc-editor-font/iconfont.eot?t=
|
|
5
|
-
url('./sdoc-editor-font/iconfont.woff2?t=
|
|
6
|
-
url('./sdoc-editor-font/iconfont.woff?t=
|
|
7
|
-
url('./sdoc-editor-font/iconfont.ttf?t=
|
|
8
|
-
url('./sdoc-editor-font/iconfont.svg?t=
|
|
3
|
+
src: url('./sdoc-editor-font/iconfont.eot?t=1694758459474'); /* IE9 */
|
|
4
|
+
src: url('./sdoc-editor-font/iconfont.eot?t=1694758459474#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
5
|
+
url('./sdoc-editor-font/iconfont.woff2?t=1694758459474') format('woff2'),
|
|
6
|
+
url('./sdoc-editor-font/iconfont.woff?t=1694758459474') format('woff'),
|
|
7
|
+
url('./sdoc-editor-font/iconfont.ttf?t=1694758459474') format('truetype'),
|
|
8
|
+
url('./sdoc-editor-font/iconfont.svg?t=1694758459474#sdocfont') format('svg');
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.sdocfont {
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
-moz-osx-font-smoothing: grayscale;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.sdoc-sm-close:before {
|
|
20
|
+
content: "\e655";
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sdoc-merge-cell:before {
|
|
24
|
+
content: "\e653";
|
|
25
|
+
}
|
|
26
|
+
|
|
19
27
|
.sdoc-download:before {
|
|
20
28
|
content: "\e652";
|
|
21
29
|
}
|