@ckeditor/ckeditor5-revision-history 44.3.0-alpha.7 → 45.0.0-alpha.0
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/LICENSE.md +1 -1
- package/build/revision-history.js +1 -1
- package/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +1 -1
- package/dist/index-editor.css +8 -8
- package/dist/index.css +17 -17
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/translations/be.po +131 -0
- package/package.json +12 -11
- package/src/augmentation.d.ts +2 -1
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +2 -0
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +6 -0
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryconfig.d.ts +2 -2
- package/src/revisionhistoryutils.d.ts +64 -0
- package/src/revisionhistoryutils.js +23 -0
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +13 -9
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +39 -5
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/icons/arrow-down.svg +0 -1
- package/theme/icons/arrow-up.svg +0 -1
- package/theme/icons/revision-history.svg +0 -1
- package/theme/icons/user.svg +0 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d467a=>{const {uz:{dictionary:_0x5ded94,getPluralForm:_0x30ace7}}={'uz':{'dictionary':{'Restored':'','Empty\x20document':'','Initial\x20revision':'','Compare\x20against\x20selected':'','Name\x20this\x20revision':'','Revision\x20creator':'','Revision\x20author':'','Revision\x20name':'','Name\x20of\x20the\x20revision':'','optional':'','Save\x20current\x20revision':'','Open\x20revision\x20history':'','Revision\x20history':'','Suggested\x20by':'','Added\x20by':'','Removed\x20by':'','Loading...':'','No\x20changes':'','NUMBER_OF_CHANGES':['',''],'X_OF_Y_CHANGES':'','Show\x20previous\x20change':'','Show\x20next\x20change':'','Total':'','EDIT_X_OF_Y_REVISIONS':'','Back\x20to\x20editing':'','Restore\x20this\x20revision':'','PENDING_ACTION_REVISION_HISTORY':'','Enter\x20the\x20revision\x20name':'','The\x20revision\x20name\x20cannot\x20be\x20empty.':''},'getPluralForm':_0x194ef1=>_0x194ef1>0x1}};_0x1d467a['uz']||={'dictionary':{},'getPluralForm':null},_0x1d467a['uz']['dictionary']=Object['assign'](_0x1d467a['uz']['dictionary'],_0x5ded94),_0x1d467a['uz']['getPluralForm']=_0x30ace7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x141d3c=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x294c36=>{const {vi:{dictionary:_0x53a6c7,getPluralForm:_0x20eabb}}={'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x12acbe=>0x0}};_0x294c36['vi']||={'dictionary':{},'getPluralForm':null},_0x294c36['vi']['dictionary']=Object['assign'](_0x294c36['vi']['dictionary'],_0x53a6c7),_0x294c36['vi']['getPluralForm']=_0x20eabb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0xe4f6eb=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x31a7c1=>{const {'zh-cn':{dictionary:_0xfebdb1,getPluralForm:_0x18f335}}={'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'%0\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x2a4553=>0x0}};_0x31a7c1['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x31a7c1['zh-cn']['dictionary']=Object['assign'](_0x31a7c1['zh-cn']['dictionary'],_0xfebdb1),_0x31a7c1['zh-cn']['getPluralForm']=_0x18f335;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x581138=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4da5af=>{const {zh:{dictionary:_0x4cf34f,getPluralForm:_0x404bf8}}={'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x208c82=>0x0}};_0x4da5af['zh']||={'dictionary':{},'getPluralForm':null},_0x4da5af['zh']['dictionary']=Object['assign'](_0x4da5af['zh']['dictionary'],_0x4cf34f),_0x4da5af['zh']['getPluralForm']=_0x404bf8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: be\n"
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "The prefix for a name of a revision created by restoring other revision."
|
|
15
|
+
msgid "Restored"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "The name for an initial revision that is empty."
|
|
19
|
+
msgid "Empty document"
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "The name for an initial revision (if it was not empty)."
|
|
23
|
+
msgid "Initial revision"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "The label for a dropdown item to compare given revision with already selected revision."
|
|
27
|
+
msgid "Compare against selected"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "The label for a dropdown item to rename given revision."
|
|
31
|
+
msgid "Name this revision"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "The label for the user who saved the revision."
|
|
35
|
+
msgid "Revision creator"
|
|
36
|
+
msgstr ""
|
|
37
|
+
|
|
38
|
+
msgctxt "The label for users who introduced changes in the revision."
|
|
39
|
+
msgid "Revision author"
|
|
40
|
+
msgstr ""
|
|
41
|
+
|
|
42
|
+
msgctxt "The label for the revision name."
|
|
43
|
+
msgid "Revision name"
|
|
44
|
+
msgstr ""
|
|
45
|
+
|
|
46
|
+
msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
|
|
47
|
+
msgid "Name of the revision"
|
|
48
|
+
msgstr ""
|
|
49
|
+
|
|
50
|
+
msgctxt "The part of a toolbar form field label that indicates the field is optional."
|
|
51
|
+
msgid "optional"
|
|
52
|
+
msgstr ""
|
|
53
|
+
|
|
54
|
+
msgctxt "The label for a dropdown item that saves current revision."
|
|
55
|
+
msgid "Save current revision"
|
|
56
|
+
msgstr ""
|
|
57
|
+
|
|
58
|
+
msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
|
|
59
|
+
msgid "Open revision history"
|
|
60
|
+
msgstr ""
|
|
61
|
+
|
|
62
|
+
msgctxt "The label for the sidebar in revision viewer."
|
|
63
|
+
msgid "Revision history"
|
|
64
|
+
msgstr ""
|
|
65
|
+
|
|
66
|
+
msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
|
|
67
|
+
msgid "Suggested by"
|
|
68
|
+
msgstr ""
|
|
69
|
+
|
|
70
|
+
msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
|
|
71
|
+
msgid "Added by"
|
|
72
|
+
msgstr ""
|
|
73
|
+
|
|
74
|
+
msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
|
|
75
|
+
msgid "Removed by"
|
|
76
|
+
msgstr ""
|
|
77
|
+
|
|
78
|
+
msgctxt "Displayed in the revision viewer toolbar when loading a revision."
|
|
79
|
+
msgid "Loading..."
|
|
80
|
+
msgstr ""
|
|
81
|
+
|
|
82
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
|
|
83
|
+
msgid "No changes"
|
|
84
|
+
msgstr ""
|
|
85
|
+
|
|
86
|
+
msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
|
|
87
|
+
msgid "NUMBER_OF_CHANGES"
|
|
88
|
+
msgid_plural "%0 changes"
|
|
89
|
+
msgstr[0] ""
|
|
90
|
+
msgstr[1] ""
|
|
91
|
+
msgstr[2] ""
|
|
92
|
+
|
|
93
|
+
msgctxt "Edit: (2 of 5)"
|
|
94
|
+
msgid "X_OF_Y_CHANGES"
|
|
95
|
+
msgstr ""
|
|
96
|
+
|
|
97
|
+
msgctxt "The label for a button that highlights previous change in revision viewer."
|
|
98
|
+
msgid "Show previous change"
|
|
99
|
+
msgstr ""
|
|
100
|
+
|
|
101
|
+
msgctxt "The label for a button that highlights next change in revision viewer."
|
|
102
|
+
msgid "Show next change"
|
|
103
|
+
msgstr ""
|
|
104
|
+
|
|
105
|
+
msgctxt "(Total): 5 changes"
|
|
106
|
+
msgid "Total"
|
|
107
|
+
msgstr ""
|
|
108
|
+
|
|
109
|
+
msgctxt "(Edit): 2 of 5"
|
|
110
|
+
msgid "EDIT_X_OF_Y_REVISIONS"
|
|
111
|
+
msgstr ""
|
|
112
|
+
|
|
113
|
+
msgctxt "The label for a button that closes revision viewer and shows editor."
|
|
114
|
+
msgid "Back to editing"
|
|
115
|
+
msgstr ""
|
|
116
|
+
|
|
117
|
+
msgctxt "The label for a button that restores given revision."
|
|
118
|
+
msgid "Restore this revision"
|
|
119
|
+
msgstr ""
|
|
120
|
+
|
|
121
|
+
msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
|
|
122
|
+
msgid "PENDING_ACTION_REVISION_HISTORY"
|
|
123
|
+
msgstr ""
|
|
124
|
+
|
|
125
|
+
msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
|
|
126
|
+
msgid "Enter the revision name"
|
|
127
|
+
msgstr ""
|
|
128
|
+
|
|
129
|
+
msgctxt "An error text displayed when user attempted to save a revision without providing its name."
|
|
130
|
+
msgid "The revision name cannot be empty."
|
|
131
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-revision-history",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "45.0.0-alpha.0",
|
|
4
4
|
"description": "Document revision history feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,17 +39,18 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-autosave": "
|
|
43
|
-
"@ckeditor/ckeditor5-comments": "
|
|
44
|
-
"@ckeditor/ckeditor5-core": "
|
|
45
|
-
"@ckeditor/ckeditor5-editor-classic": "
|
|
46
|
-
"@ckeditor/ckeditor5-engine": "
|
|
47
|
-
"@ckeditor/ckeditor5-
|
|
48
|
-
"@ckeditor/ckeditor5-
|
|
42
|
+
"@ckeditor/ckeditor5-autosave": "45.0.0-alpha.0",
|
|
43
|
+
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.0",
|
|
44
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-editor-classic": "45.0.0-alpha.0",
|
|
46
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.0",
|
|
47
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.0",
|
|
49
50
|
"@types/luxon": "3.4.2",
|
|
50
|
-
"ckeditor5": "
|
|
51
|
-
"ckeditor5-collaboration": "
|
|
52
|
-
"
|
|
51
|
+
"ckeditor5": "45.0.0-alpha.0",
|
|
52
|
+
"ckeditor5-collaboration": "45.0.0-alpha.0",
|
|
53
|
+
"es-toolkit": "1.32.0",
|
|
53
54
|
"luxon": "3.5.0"
|
|
54
55
|
},
|
|
55
56
|
"types": "src/index.d.ts",
|
package/src/augmentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
5
|
+
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionHistoryUtils, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
|
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
|
7
7
|
interface EditorConfig {
|
|
8
8
|
/**
|
|
@@ -14,6 +14,7 @@ declare module '@ckeditor/ckeditor5-core' {
|
|
|
14
14
|
interface PluginsMap {
|
|
15
15
|
[RevisionHistory.pluginName]: RevisionHistory;
|
|
16
16
|
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
17
|
+
[RevisionHistoryUtils.pluginName]: RevisionHistoryUtils;
|
|
17
18
|
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
18
19
|
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
19
20
|
[RevisionTracker.pluginName]: RevisionTracker;
|
package/src/changeitem.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x288250=_0x10d8;(function(_0x330d36,_0xe85c7c){var _0x4f3ca1=_0x10d8,_0x5782c3=_0x330d36();while(!![]){try{var _0x331ce8=parseInt(_0x4f3ca1(0xc5))/0x1+-parseInt(_0x4f3ca1(0xc4))/0x2+-parseInt(_0x4f3ca1(0xb9))/0x3*(parseInt(_0x4f3ca1(0xb7))/0x4)+parseInt(_0x4f3ca1(0xb8))/0x5+-parseInt(_0x4f3ca1(0xc2))/0x6*(parseInt(_0x4f3ca1(0xc0))/0x7)+parseInt(_0x4f3ca1(0xbf))/0x8+parseInt(_0x4f3ca1(0xbd))/0x9;if(_0x331ce8===_0xe85c7c)break;else _0x5782c3['push'](_0x5782c3['shift']());}catch(_0x47f563){_0x5782c3['push'](_0x5782c3['shift']());}}}(_0x168c,0x2f994));function _0x10d8(_0x9606d7,_0xe1a46c){var _0x168cad=_0x168c();return _0x10d8=function(_0x10d86f,_0x10ff07){_0x10d86f=_0x10d86f-0xb6;var _0x58e2be=_0x168cad[_0x10d86f];return _0x58e2be;},_0x10d8(_0x9606d7,_0xe1a46c);}import{ObservableMixin as _0x5de988,uid as _0x5e43e5}from'ckeditor5/src/utils.js';function _0x168c(){var _0x5b24ee=['createdAt','2274372YaCfpm','type','1061240BbaGCJ','56EJhGkq','author','167388NTwbjM','set','250158dyrDeo','308648RZECoO','data','11708ywxQRb','1192535thIyFh','399Nochkg','toJSON','rootName'];_0x168c=function(){return _0x5b24ee;};return _0x168c();}export default class r extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5de988(){['id'];[_0x288250(0xc1)];[_0x288250(0xbe)];[_0x288250(0xb6)];[_0x288250(0xbb)];constructor(_0x58fd61){var _0x3d89bf=_0x288250;super(),this['id']=_0x58fd61['id']||_0x5e43e5(),this[_0x3d89bf(0xc1)]=_0x58fd61[_0x3d89bf(0xc1)],this[_0x3d89bf(0xbe)]=_0x58fd61[_0x3d89bf(0xbe)],this[_0x3d89bf(0xb6)]=_0x58fd61[_0x3d89bf(0xb6)]||{},this[_0x3d89bf(0xbb)]=_0x58fd61[_0x3d89bf(0xbb)],this[_0x3d89bf(0xc3)](_0x3d89bf(0xbc),_0x58fd61[_0x3d89bf(0xbc)]);}[_0x288250(0xba)](){var _0x30ae24=_0x288250;return{'id':this['id'],'authorId':this[_0x30ae24(0xc1)]['id'],'type':this[_0x30ae24(0xbe)],'data':this[_0x30ae24(0xb6)],'createdAt':this[_0x30ae24(0xbc)]};}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x5250(){const _0x3c482e=['2hXwxSR','initialData','init','config','7Lbbdut','create','locale','get','213993GfYpMa','2591392MpWaLJ','6775410vLvIMd','model','updateSourceElement','ready','initPlugins','destroy','181729RITcZy','editing','35GyFuIr','fire','sourceElement','data','1854774SkGPHn','view','696672QXtSkA','_ui','document','createRoot','64384XYSOFk'];_0x5250=function(){return _0x3c482e;};return _0x5250();}const _0x132a31=_0x3e48;(function(_0x17d123,_0x4e967c){const _0x57eff9=_0x3e48,_0x20f439=_0x17d123();while(!![]){try{const _0x39760b=-parseInt(_0x57eff9(0x16e))/0x1*(-parseInt(_0x57eff9(0x17b))/0x2)+-parseInt(_0x57eff9(0x166))/0x3+parseInt(_0x57eff9(0x17a))/0x4*(parseInt(_0x57eff9(0x170))/0x5)+parseInt(_0x57eff9(0x174))/0x6*(-parseInt(_0x57eff9(0x162))/0x7)+-parseInt(_0x57eff9(0x167))/0x8+-parseInt(_0x57eff9(0x176))/0x9+parseInt(_0x57eff9(0x168))/0xa;if(_0x39760b===_0x4e967c)break;else _0x20f439['push'](_0x20f439['shift']());}catch(_0x4e94df){_0x20f439['push'](_0x20f439['shift']());}}}(_0x5250,0x2e6c6));import{Editor as _0x1cbc7b,ElementApiMixin as _0x92216a}from'ckeditor5/src/core.js';import _0x58ce68 from'./revisionviewereditorui.js';import _0x9027c5 from'./revisionviewereditoruiview.js';function _0x3e48(_0x510c89,_0x4d7165){const _0x52509d=_0x5250();return _0x3e48=function(_0x3e48e4,_0x2658a2){_0x3e48e4=_0x3e48e4-0x160;let _0x132ace=_0x52509d[_0x3e48e4];return _0x132ace;},_0x3e48(_0x510c89,_0x4d7165);}export default class w extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x92216a(_0x1cbc7b){[_0x132a31(0x177)];get['ui'](){const _0x52656a=_0x132a31;return this[_0x52656a(0x177)];}constructor(_0x521420,_0x178cb7){const _0x17e54f=_0x132a31;super(_0x178cb7),this[_0x17e54f(0x172)]=_0x521420,this[_0x17e54f(0x169)][_0x17e54f(0x178)][_0x17e54f(0x179)]();const _0x5af98b=new _0x9027c5(this[_0x17e54f(0x164)],this[_0x17e54f(0x16f)][_0x17e54f(0x175)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x17e54f(0x177)]=new _0x58ce68(this,_0x5af98b);}[_0x132a31(0x16d)](){const _0xbf7647=_0x132a31;return this[_0xbf7647(0x16a)](),this['ui'][_0xbf7647(0x16d)](),super[_0xbf7647(0x16d)]();}static async[_0x132a31(0x163)](_0x33ffe2,_0x35d675){const _0x311852=_0x132a31,_0x472500=new this(_0x33ffe2,_0x35d675);return await _0x472500[_0x311852(0x16c)](),await _0x472500['ui'][_0x311852(0x160)](_0x33ffe2),await _0x472500[_0x311852(0x173)][_0x311852(0x160)](_0x472500[_0x311852(0x161)][_0x311852(0x165)](_0x311852(0x17c))||''),_0x472500[_0x311852(0x171)](_0x311852(0x16b)),_0x472500;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1088(){const _0x422477=['focusTracker','147684xZSHQK','_view','1037399PrpVIS','61224UtfPLM','42550QmtjPT','document','_toolbarConfig','25qrLOJk','4215TgCXSh','252hWXaPZ','fillFromConfig','598548KiyLSP','viewportOffset','isActive','bind','rootName','fire','get','_elementReplacer','724bFrguf','render','element','editing','config','destroy','componentFactory','viewportTopOffset','isFocused','ready','editor','addToolbar','toolbar','470876Hxxtew','editable','_initToolbar','limiterElement','replace','40qNSOCG','getRoot','setEditableElement','init','stickyPanel','name','detachDomRoot','view','restore','attachDomRoot'];_0x1088=function(){return _0x422477;};return _0x1088();}const _0x36a9a3=_0x5a2e;function _0x5a2e(_0x47ed46,_0x58a628){const _0x1088a9=_0x1088();return _0x5a2e=function(_0x5a2ed1,_0x1d494a){_0x5a2ed1=_0x5a2ed1-0xbd;let _0x54fc89=_0x1088a9[_0x5a2ed1];return _0x54fc89;},_0x5a2e(_0x47ed46,_0x58a628);}(function(_0x4875de,_0x5e10ea){const _0x557950=_0x5a2e,_0x185967=_0x4875de();while(!![]){try{const _0x5b14b3=-parseInt(_0x557950(0xe1))/0x1+parseInt(_0x557950(0xe8))/0x2+parseInt(_0x557950(0xe5))/0x3*(parseInt(_0x557950(0xc0))/0x4)+parseInt(_0x557950(0xe4))/0x5*(-parseInt(_0x557950(0xdd))/0x6)+-parseInt(_0x557950(0xcd))/0x7+-parseInt(_0x557950(0xe0))/0x8*(-parseInt(_0x557950(0xe6))/0x9)+-parseInt(_0x557950(0xd2))/0xa*(parseInt(_0x557950(0xdf))/0xb);if(_0x5b14b3===_0x5e10ea)break;else _0x185967['push'](_0x185967['shift']());}catch(_0x3eb874){_0x185967['push'](_0x185967['shift']());}}}(_0x1088,0x2682b));import{EditorUI as _0x349ae3,normalizeToolbarConfig as _0x324efd}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x366cf0}from'ckeditor5/src/utils.js';export default class tt extends _0x349ae3{[_0x36a9a3(0xde)];[_0x36a9a3(0xe3)];[_0x36a9a3(0xbf)];get[_0x36a9a3(0xd9)](){const _0x1b2e57=_0x36a9a3;return this[_0x1b2e57(0xde)];}constructor(_0x5357dd,_0x4197a5){const _0x4c3754=_0x36a9a3;super(_0x5357dd),this[_0x4c3754(0xde)]=_0x4197a5,this[_0x4c3754(0xe3)]=_0x324efd(_0x5357dd[_0x4c3754(0xc4)][_0x4c3754(0xbe)](_0x4c3754(0xcc))),this[_0x4c3754(0xbf)]=new _0x366cf0();}get[_0x36a9a3(0xc2)](){const _0x5aa250=_0x36a9a3;return this[_0x5aa250(0xd9)][_0x5aa250(0xc2)];}[_0x36a9a3(0xd5)](_0x9aac2a){const _0xa9661b=_0x36a9a3,_0x38b843=this[_0xa9661b(0xca)],_0x5aaf89=this[_0xa9661b(0xd9)],_0x3a9440=_0x38b843[_0xa9661b(0xc3)][_0xa9661b(0xd9)],_0x7b311f=_0x5aaf89[_0xa9661b(0xce)],_0x5ae11e=_0x3a9440[_0xa9661b(0xe2)][_0xa9661b(0xd3)]();_0x7b311f[_0xa9661b(0xd7)]=_0x5ae11e[_0xa9661b(0xec)],_0x5aaf89[_0xa9661b(0xc1)]();const _0x3168b5=_0x7b311f[_0xa9661b(0xc2)];this[_0xa9661b(0xd4)](_0x7b311f[_0xa9661b(0xd7)],_0x3168b5),_0x5aaf89[_0xa9661b(0xce)][_0xa9661b(0xeb)](_0xa9661b(0xc8))['to'](this[_0xa9661b(0xdc)]),_0x3a9440[_0xa9661b(0xdb)](_0x3168b5),this[_0xa9661b(0xbf)][_0xa9661b(0xd1)](_0x9aac2a,this[_0xa9661b(0xc2)]),this[_0xa9661b(0xcf)](),this[_0xa9661b(0xbd)](_0xa9661b(0xc9));}[_0x36a9a3(0xc5)](){const _0x207f44=_0x36a9a3;super[_0x207f44(0xc5)]();const _0x113084=this[_0x207f44(0xd9)],_0xbf89d6=this[_0x207f44(0xca)][_0x207f44(0xc3)][_0x207f44(0xd9)];this[_0x207f44(0xbf)][_0x207f44(0xda)](),_0xbf89d6[_0x207f44(0xd8)](_0x113084[_0x207f44(0xce)][_0x207f44(0xd7)]),_0x113084[_0x207f44(0xc5)]();}[_0x36a9a3(0xcf)](){const _0xf7ba7a=_0x36a9a3,_0x466efc=this[_0xf7ba7a(0xd9)];_0x466efc[_0xf7ba7a(0xd6)][_0xf7ba7a(0xeb)](_0xf7ba7a(0xea))['to'](this[_0xf7ba7a(0xdc)],_0xf7ba7a(0xc8)),_0x466efc[_0xf7ba7a(0xd6)][_0xf7ba7a(0xd0)]=_0x466efc[_0xf7ba7a(0xc2)],_0x466efc[_0xf7ba7a(0xd6)][_0xf7ba7a(0xeb)](_0xf7ba7a(0xc7))['to'](this,_0xf7ba7a(0xe9),({top:_0x39527a})=>_0x39527a),_0x466efc[_0xf7ba7a(0xcc)][_0xf7ba7a(0xe7)](this[_0xf7ba7a(0xe3)],this[_0xf7ba7a(0xc6)]),this[_0xf7ba7a(0xcb)](_0x466efc[_0xf7ba7a(0xcc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xf5d4e=_0x46bb;(function(_0x2f02d9,_0xe3e1f){var _0x56a594=_0x46bb,_0x57ebc8=_0x2f02d9();while(!![]){try{var _0x407894=-parseInt(_0x56a594(0x198))/0x1+-parseInt(_0x56a594(0x19b))/0x2+-parseInt(_0x56a594(0x191))/0x3+-parseInt(_0x56a594(0x18d))/0x4+parseInt(_0x56a594(0x197))/0x5*(-parseInt(_0x56a594(0x18e))/0x6)+parseInt(_0x56a594(0x190))/0x7+parseInt(_0x56a594(0x19a))/0x8;if(_0x407894===_0xe3e1f)break;else _0x57ebc8['push'](_0x57ebc8['shift']());}catch(_0x43002a){_0x57ebc8['push'](_0x57ebc8['shift']());}}}(_0x13f5,0x2ae76));import{BoxedEditorUIView as _0x5c5309,InlineEditableUIView as _0x201772,StickyPanelView as _0x3c7415,ToolbarView as _0x497d33}from'ckeditor5/src/ui.js';function _0x13f5(){var _0xdd20f3=['70076cFOeca','render','4384984DXRwgI','117890hmmpCU','stickyPanel','toolbar','editable','396440ruAohv','1151970fIhSWd','main','1163652JseCGQ','355497POSRrW','content','top','shouldToolbarGroupWhenFull','_editable','add','5epscZE'];_0x13f5=function(){return _0xdd20f3;};return _0x13f5();}import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x46bb(_0xa602d7,_0x14fc66){var _0x13f592=_0x13f5();return _0x46bb=function(_0x46bb39,_0x340e7c){_0x46bb39=_0x46bb39-0x18c;var _0x24399c=_0x13f592[_0x46bb39];return _0x24399c;},_0x46bb(_0xa602d7,_0x14fc66);}export default class it extends _0x5c5309{[_0xf5d4e(0x195)];[_0xf5d4e(0x19c)];[_0xf5d4e(0x19d)];get[_0xf5d4e(0x18c)](){var _0x5376ff=_0xf5d4e;return this[_0x5376ff(0x195)];}constructor(_0x107a4d,_0x3cf6bf,_0x5c1610={}){var _0x442b89=_0xf5d4e;super(_0x107a4d),this[_0x442b89(0x19c)]=new _0x3c7415(_0x107a4d),this[_0x442b89(0x19d)]=new _0x497d33(_0x107a4d,{'shouldGroupWhenFull':_0x5c1610[_0x442b89(0x194)]}),this[_0x442b89(0x195)]=new _0x201772(_0x107a4d,_0x3cf6bf);}[_0xf5d4e(0x199)](){var _0x4849d1=_0xf5d4e;super[_0x4849d1(0x199)](),this[_0x4849d1(0x19c)][_0x4849d1(0x192)][_0x4849d1(0x196)](this[_0x4849d1(0x19d)]),this[_0x4849d1(0x193)][_0x4849d1(0x196)](this[_0x4849d1(0x19c)]),this[_0x4849d1(0x18f)][_0x4849d1(0x196)](this[_0x4849d1(0x18c)]);}}
|
package/src/index.d.ts
CHANGED
|
@@ -5,12 +5,14 @@
|
|
|
5
5
|
export { default as Revision } from './revision.js';
|
|
6
6
|
export { default as RevisionHistory } from './revisionhistory.js';
|
|
7
7
|
export { default as RevisionsRepository } from './revisionsrepository.js';
|
|
8
|
+
export { default as RevisionHistoryUtils } from './revisionhistoryutils.js';
|
|
8
9
|
export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
|
|
9
10
|
export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
|
|
10
11
|
export { default as RevisionTracker } from './revisiontracker.js';
|
|
11
12
|
export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
|
|
12
13
|
export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
|
|
13
14
|
export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
|
|
15
|
+
export { default as RevisionViewerEditor } from './editor/revisionviewereditor.js';
|
|
14
16
|
export type { RevisionData } from './revision.js';
|
|
15
17
|
export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
|
|
16
18
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x7db57d,_0x109e19){var _0x29323f=_0x46eb,_0x30d023=_0x7db57d();while(!![]){try{var _0x44db55=-parseInt(_0x29323f(0x186))/0x1*(parseInt(_0x29323f(0x183))/0x2)+-parseInt(_0x29323f(0x184))/0x3+parseInt(_0x29323f(0x17f))/0x4*(-parseInt(_0x29323f(0x180))/0x5)+parseInt(_0x29323f(0x185))/0x6*(-parseInt(_0x29323f(0x189))/0x7)+-parseInt(_0x29323f(0x181))/0x8*(parseInt(_0x29323f(0x188))/0x9)+parseInt(_0x29323f(0x182))/0xa+parseInt(_0x29323f(0x187))/0xb;if(_0x44db55===_0x109e19)break;else _0x30d023['push'](_0x30d023['shift']());}catch(_0x4e62da){_0x30d023['push'](_0x30d023['shift']());}}}(_0x5c46,0x31452));export{default as Revision}from'./revision.js';export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.js';export{default as RevisionHistoryUtils}from'./revisionhistoryutils.js';export{default as RevisionViewerLoadingOverlay}from'./ui/revisionviewer/revisionviewerloadingoverlay.js';export{default as RevisionHistoryUI}from'./ui/revisionhistory/revisionhistoryui.js';export{default as RevisionTracker}from'./revisiontracker.js';export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';function _0x46eb(_0x55757e,_0x269172){var _0x5c460e=_0x5c46();return _0x46eb=function(_0x46eb00,_0x172cfc){_0x46eb00=_0x46eb00-0x17f;var _0x4adfd5=_0x5c460e[_0x46eb00];return _0x4adfd5;},_0x46eb(_0x55757e,_0x269172);}export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';export{default as RevisionViewerEditor}from'./editor/revisionviewereditor.js';function _0x5c46(){var _0x39ba5d=['2759090iUeWUz','420534BIYnSr','643707bEQiZA','438hZSbdK','1nsBImB','8562202UiOLHB','19377TTABQv','32459PoQXXq','81540JgXTeC','15CAndAj','104ICzLvq'];_0x5c46=function(){return _0x39ba5d;};return _0x5c46();}import'./augmentation.js';
|
package/src/revision.js
CHANGED
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0xd9ad(){const _0x4e35d7=['toJSON','1032575KfZMnb','map','creator','90816kttMiq','98373bqYnuC','set','creatorId','setName','authorsIds','3374680wTtWFR','removeAttribute','7kIaSlr','toVersion','attributes','_update','669486XSVsqx','fire','78007gibkQo','model','diffData','fromVersion','name','setAttribute','authors','147450hOaKPe','createdAt'];_0xd9ad=function(){return _0x4e35d7;};return _0xd9ad();}const _0x27b40d=_0x2bca;(function(_0x2db465,_0x37b6b9){const _0x3ddfc5=_0x2bca,_0x3d584b=_0x2db465();while(!![]){try{const _0x2c3e5f=parseInt(_0x3ddfc5(0xfd))/0x1+parseInt(_0x3ddfc5(0x104))/0x2+parseInt(_0x3ddfc5(0x10b))/0x3+parseInt(_0x3ddfc5(0x10a))/0x4+parseInt(_0x3ddfc5(0x107))/0x5+-parseInt(_0x3ddfc5(0xfb))/0x6*(-parseInt(_0x3ddfc5(0xf7))/0x7)+-parseInt(_0x3ddfc5(0xf5))/0x8;if(_0x2c3e5f===_0x37b6b9)break;else _0x3d584b['push'](_0x3d584b['shift']());}catch(_0x4c2409){_0x3d584b['push'](_0x3d584b['shift']());}}}(_0xd9ad,0x19440));import{ObservableMixin as _0x481b28,uid as _0x27c77d}from'ckeditor5/src/utils.js';function _0x2bca(_0x34f1aa,_0x5710fe){const _0xd9adc1=_0xd9ad();return _0x2bca=function(_0x2bca7a,_0x23c388){_0x2bca7a=_0x2bca7a-0xf1;let _0x2d4abf=_0xd9adc1[_0x2bca7a];return _0x2d4abf;},_0x2bca(_0x34f1aa,_0x5710fe);}import{cloneDeep as _0x2a00d6,set as _0x591464,unset as _0x12a483}from'es-toolkit/compat';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x481b28(){['id'];[_0x27b40d(0x109)];[_0x27b40d(0x103)];[_0x27b40d(0xff)];[_0x27b40d(0xf8)];[_0x27b40d(0x100)];[_0x27b40d(0xfe)];constructor(_0x3769af){const _0x5aab6e=_0x27b40d;super(),this['id']=_0x3769af['id']||_0x27c77d(),this[_0x5aab6e(0x109)]=_0x3769af[_0x5aab6e(0x109)]||null,this[_0x5aab6e(0x103)]=_0x3769af[_0x5aab6e(0x103)]||[],this[_0x5aab6e(0xff)]=_0x3769af[_0x5aab6e(0xff)]||null,this[_0x5aab6e(0xf8)]=_0x3769af[_0x5aab6e(0xf8)]||0x0,this[_0x5aab6e(0x100)]=_0x3769af[_0x5aab6e(0x100)]||0x0,this[_0x5aab6e(0xf1)](_0x5aab6e(0x101),_0x3769af[_0x5aab6e(0x101)]||''),this[_0x5aab6e(0xf1)](_0x5aab6e(0x105),_0x3769af[_0x5aab6e(0x105)]||new Date()),this[_0x5aab6e(0xf1)](_0x5aab6e(0xf9),_0x3769af[_0x5aab6e(0xf9)]||{});}[_0x27b40d(0xf3)](_0x2e24ae){const _0x3b5484=_0x27b40d;this[_0x3b5484(0xfa)]({'name':_0x2e24ae});}[_0x27b40d(0x102)](_0x1a09d9,_0x3282bd){const _0x4ecf65=_0x27b40d,_0x42dfda=_0x2a00d6(this[_0x4ecf65(0xf9)]);_0x591464(_0x42dfda,_0x1a09d9,_0x3282bd),this[_0x4ecf65(0xfa)]({'attributes':_0x42dfda});}[_0x27b40d(0xf6)](_0x5e5fd7){const _0x2be168=_0x27b40d,_0xcbaf5d=_0x2a00d6(this[_0x2be168(0xf9)]);_0x12a483(_0xcbaf5d,_0x5e5fd7),this[_0x2be168(0xfa)]({'attributes':_0xcbaf5d});}[_0x27b40d(0xfa)](_0x5ed6ba,_0xb9349e=!0x1){const _0x4e0b4a=_0x27b40d;let _0x2fda83=!0x1;const _0x4b81ee={'id':this['id']},_0x1ddae5=[_0x4e0b4a(0x101),_0x4e0b4a(0x105),_0x4e0b4a(0xff),_0x4e0b4a(0x103),_0x4e0b4a(0xf9),_0x4e0b4a(0xf8),_0x4e0b4a(0x100),_0x4e0b4a(0xf2)];for(const _0x239842 of _0x1ddae5){const _0x55cc54=_0x5ed6ba[_0x239842];void 0x0!==_0x55cc54&&_0x55cc54!==this[_0x239842]&&(this[_0x239842]=_0x55cc54,_0x4b81ee[_0x239842]=_0x55cc54,_0x2fda83=!0x0);}_0x2fda83&&(_0x4b81ee[_0x4e0b4a(0x103)]&&(_0x4b81ee[_0x4e0b4a(0xf4)]=_0x4b81ee[_0x4e0b4a(0x103)][_0x4e0b4a(0x108)](_0x3e59f1=>_0x3e59f1['id']),delete _0x4b81ee[_0x4e0b4a(0x103)]),this[_0x4e0b4a(0xfc)](_0x4e0b4a(0xfa),_0x4b81ee,_0xb9349e));}[_0x27b40d(0x106)](){const _0x5a937c=_0x27b40d;return{'id':this['id'],'name':this[_0x5a937c(0x101)],'creatorId':this[_0x5a937c(0x109)]?this[_0x5a937c(0x109)]['id']:null,'authorsIds':this[_0x5a937c(0x103)][_0x5a937c(0x108)](_0x3dcd99=>_0x3dcd99['id']),'diffData':this[_0x5a937c(0xff)],'createdAt':this[_0x5a937c(0x105)],'attributes':this[_0x5a937c(0xf9)],'fromVersion':this[_0x5a937c(0x100)],'toVersion':this[_0x5a937c(0xf8)]};}}
|
package/src/revisiondiff.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x240a(_0x65d580,_0x2247b8){const _0x30e7fb=_0x30e7();return _0x240a=function(_0x240a3f,_0x13edfa){_0x240a3f=_0x240a3f-0x180;let _0x4d71fd=_0x30e7fb[_0x240a3f];return _0x4d71fd;},_0x240a(_0x65d580,_0x2247b8);}const _0x39b249=_0x240a;(function(_0x11b824,_0x453243){const _0x434dc5=_0x240a,_0x425e53=_0x11b824();while(!![]){try{const _0x21eb8e=-parseInt(_0x434dc5(0x189))/0x1+parseInt(_0x434dc5(0x18b))/0x2+parseInt(_0x434dc5(0x181))/0x3+-parseInt(_0x434dc5(0x183))/0x4+parseInt(_0x434dc5(0x18a))/0x5*(parseInt(_0x434dc5(0x186))/0x6)+parseInt(_0x434dc5(0x185))/0x7+-parseInt(_0x434dc5(0x188))/0x8;if(_0x21eb8e===_0x453243)break;else _0x425e53['push'](_0x425e53['shift']());}catch(_0x398fc0){_0x425e53['push'](_0x425e53['shift']());}}}(_0x30e7,0x539db));function _0x30e7(){const _0xcc4484=['newRevisionId','changes','1268916xgtbTG','add','446920ZJTUCe','_setChanges','3062178ZeQEmA','3679686EnvtdI','oldRevisionId','6862232pIdUGT','257055bIhVUU','5HTZRcd','190696HzmuPU'];_0x30e7=function(){return _0xcc4484;};return _0x30e7();}import{Collection as _0x482d7d}from'ckeditor5/src/utils.js';export default class c{[_0x39b249(0x18c)];[_0x39b249(0x187)];[_0x39b249(0x180)];constructor(_0x47719b,_0x42b98d){const _0x40d05d=_0x39b249;this[_0x40d05d(0x18c)]=_0x47719b,this[_0x40d05d(0x187)]=_0x42b98d,this[_0x40d05d(0x180)]=new _0x482d7d();}[_0x39b249(0x184)](_0x4aec02){const _0x3e89a1=_0x39b249;for(const _0x22d3de of _0x4aec02)this[_0x3e89a1(0x180)][_0x3e89a1(0x182)](_0x22d3de);}}
|
package/src/revisionhistory.d.ts
CHANGED
|
@@ -38,6 +38,12 @@ export declare class RevisionViewerIntegration extends Plugin {
|
|
|
38
38
|
* {@glink features/collaboration/revision-history/revision-history Revision history} guide.
|
|
39
39
|
*/
|
|
40
40
|
export default class RevisionHistory extends Plugin {
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the revision history viewer is currently visible.
|
|
43
|
+
*
|
|
44
|
+
* @observable
|
|
45
|
+
*/
|
|
46
|
+
isRevisionViewerOpen: boolean;
|
|
41
47
|
static get pluginName(): "RevisionHistory";
|
|
42
48
|
/**
|
|
43
49
|
* @inheritDoc
|