@ckeditor/ckeditor5-revision-history 34.0.0 → 35.0.1

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.
Files changed (107) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/build/revision-history.js +1 -1
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -0
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/he.js +1 -1
  16. package/build/translations/hi.js +1 -1
  17. package/build/translations/hu.js +1 -1
  18. package/build/translations/id.js +1 -1
  19. package/build/translations/it.js +1 -1
  20. package/build/translations/ja.js +1 -1
  21. package/build/translations/ko.js +1 -1
  22. package/build/translations/lt.js +1 -0
  23. package/build/translations/lv.js +1 -1
  24. package/build/translations/ms.js +1 -0
  25. package/build/translations/nl.js +1 -1
  26. package/build/translations/no.js +1 -1
  27. package/build/translations/pl.js +1 -1
  28. package/build/translations/pt-br.js +1 -1
  29. package/build/translations/pt.js +1 -0
  30. package/build/translations/ro.js +1 -1
  31. package/build/translations/ru.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -0
  34. package/build/translations/th.js +1 -0
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/ur.js +1 -0
  38. package/build/translations/vi.js +1 -1
  39. package/build/translations/zh-cn.js +1 -1
  40. package/build/translations/zh.js +1 -1
  41. package/lang/translations/af.po +123 -0
  42. package/lang/translations/ar.po +127 -0
  43. package/lang/translations/bg.po +123 -0
  44. package/lang/translations/bn.po +123 -0
  45. package/lang/translations/ca.po +123 -0
  46. package/lang/translations/da.po +25 -25
  47. package/lang/translations/de.po +3 -3
  48. package/lang/translations/es.po +2 -1
  49. package/lang/translations/et.po +25 -25
  50. package/lang/translations/fi.po +123 -0
  51. package/lang/translations/fr.po +25 -24
  52. package/lang/translations/he.po +28 -28
  53. package/lang/translations/hi.po +25 -25
  54. package/lang/translations/hu.po +19 -19
  55. package/lang/translations/id.po +13 -13
  56. package/lang/translations/it.po +2 -1
  57. package/lang/translations/ja.po +25 -25
  58. package/lang/translations/ko.po +24 -24
  59. package/lang/translations/lt.po +125 -0
  60. package/lang/translations/lv.po +27 -27
  61. package/lang/translations/ms.po +122 -0
  62. package/lang/translations/nl.po +3 -3
  63. package/lang/translations/no.po +25 -25
  64. package/lang/translations/pl.po +5 -5
  65. package/lang/translations/pt-br.po +2 -1
  66. package/lang/translations/pt.po +124 -0
  67. package/lang/translations/ro.po +6 -6
  68. package/lang/translations/ru.po +27 -27
  69. package/lang/translations/sr.po +3 -3
  70. package/lang/translations/sv.po +123 -0
  71. package/lang/translations/th.po +122 -0
  72. package/lang/translations/tr.po +6 -6
  73. package/lang/translations/uk.po +27 -27
  74. package/lang/translations/ur.po +123 -0
  75. package/lang/translations/vi.po +25 -25
  76. package/lang/translations/zh-cn.po +24 -24
  77. package/lang/translations/zh.po +23 -23
  78. package/package.json +7 -7
  79. package/src/changeitem.js +1 -1
  80. package/src/editor/revisionviewereditor.js +1 -1
  81. package/src/editor/revisionviewereditorui.js +1 -1
  82. package/src/editor/revisionviewereditoruiview.js +1 -1
  83. package/src/revision.js +1 -1
  84. package/src/revisiondiff.js +1 -1
  85. package/src/revisionhistory.js +1 -1
  86. package/src/revisionsrepository.js +1 -1
  87. package/src/revisiontracker.js +1 -1
  88. package/src/revisionviewer.js +1 -1
  89. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  90. package/src/ui/revision/revisionauthorview.js +1 -1
  91. package/src/ui/revision/revisionnameview.js +1 -1
  92. package/src/ui/revision/revisionview.js +1 -1
  93. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  94. package/src/ui/revision/subrevisionview.js +1 -1
  95. package/src/ui/revision/utils.js +1 -1
  96. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  97. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  98. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  99. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  100. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  101. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  102. package/src/ui/revisionssidebar/utils.js +1 -1
  103. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  104. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  105. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  106. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  107. package/src/utils/common-translations.js +23 -0
@@ -0,0 +1,123 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
16
+ "Language: ur\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "The prefix for a name of a revision created by restoring other revision."
20
+ msgid "Restored"
21
+ msgstr ""
22
+
23
+ msgctxt "The name for an initial revision that is empty."
24
+ msgid "Empty document"
25
+ msgstr ""
26
+
27
+ msgctxt "The name for an initial revision (if it was not empty)."
28
+ msgid "Initial revision"
29
+ msgstr ""
30
+
31
+ msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
+ msgid "Compare against selected"
33
+ msgstr ""
34
+
35
+ msgctxt "The label for a dropdown item to rename given revision."
36
+ msgid "Name this revision"
37
+ msgstr ""
38
+
39
+ msgctxt "The label for the user who saved the revision."
40
+ msgid "Revision creator"
41
+ msgstr ""
42
+
43
+ msgctxt "The label for users who introduced changes in the revision."
44
+ msgid "Revision author"
45
+ msgstr ""
46
+
47
+ msgctxt "The label for the revision name."
48
+ msgid "Revision name"
49
+ msgstr ""
50
+
51
+ msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
+ msgid "Name of the revision (optional)"
53
+ msgstr ""
54
+
55
+ msgctxt "The label for a dropdown item that saves current revision."
56
+ msgid "Save current revision"
57
+ msgstr ""
58
+
59
+ msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
+ msgid "Open revision history"
61
+ msgstr ""
62
+
63
+ msgctxt "The label for the sidebar in revision viewer."
64
+ msgid "Revision history"
65
+ msgstr ""
66
+
67
+ msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
+ msgid "Suggested by"
69
+ msgstr ""
70
+
71
+ msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
+ msgid "Added by"
73
+ msgstr ""
74
+
75
+ msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
+ msgid "Removed by"
77
+ msgstr ""
78
+
79
+ msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
+ msgid "Loading..."
81
+ msgstr ""
82
+
83
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
+ msgid "No changes"
85
+ msgstr ""
86
+
87
+ msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
+ msgid "NUMBER_OF_CHANGES"
89
+ msgid_plural "%0 changes"
90
+ msgstr[0] ""
91
+ msgstr[1] ""
92
+
93
+ msgctxt "Edit: (2 of 5)"
94
+ msgid "X_OF_Y_CHANGES"
95
+ msgstr "0% میں سے 1%"
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 ""
@@ -18,76 +18,76 @@ msgstr ""
18
18
 
19
19
  msgctxt "The prefix for a name of a revision created by restoring other revision."
20
20
  msgid "Restored"
21
- msgstr ""
21
+ msgstr "Được khôi phục"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "Tài liệu trống"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "Bản sửa đổi ban đầu"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "So sánh với bản sửa đổi được chọn"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "Đặt tên cho bản sửa đổi này"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "Người lưu bản sửa đổi"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "Tác giả bản sửa đổi"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "Tên bản sửa đổi"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "Tên của bản sửa đổi (không bắt buộc)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "Lưu bản sửa đổi hiện tại"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "Mở lịch sử sửa đổi"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "Lịch sử sửa đổi"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "Người đề xuất:"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "Người thêm:"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "Người xóa:"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "Đang tải..."
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "Không có nội dung thay đổi"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
90
+ msgstr[0] "%0 nội dung thay đổi"
91
91
 
92
92
  msgctxt "Edit: (2 of 5)"
93
93
  msgid "X_OF_Y_CHANGES"
@@ -95,28 +95,28 @@ msgstr "%0 đến %1"
95
95
 
96
96
  msgctxt "The label for a button that highlights previous change in revision viewer."
97
97
  msgid "Show previous change"
98
- msgstr ""
98
+ msgstr "Hiện nội dung thay đổi trước đó"
99
99
 
100
100
  msgctxt "The label for a button that highlights next change in revision viewer."
101
101
  msgid "Show next change"
102
- msgstr ""
102
+ msgstr "Hiện nội dung thay đổi tiếp theo"
103
103
 
104
104
  msgctxt "(Total): 5 changes"
105
105
  msgid "Total"
106
- msgstr ""
106
+ msgstr "Tổng"
107
107
 
108
108
  msgctxt "(Edit): 2 of 5"
109
109
  msgid "EDIT_X_OF_Y_REVISIONS"
110
- msgstr ""
110
+ msgstr "Chỉnh sửa"
111
111
 
112
112
  msgctxt "The label for a button that closes revision viewer and shows editor."
113
113
  msgid "Back to editing"
114
- msgstr ""
114
+ msgstr "Quay lại chỉnh sửa"
115
115
 
116
116
  msgctxt "The label for a button that restores given revision."
117
117
  msgid "Restore this revision"
118
- msgstr ""
118
+ msgstr "Khôi phục bản sửa đổi"
119
119
 
120
120
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
121
  msgid "PENDING_ACTION_REVISION_HISTORY"
122
- msgstr ""
122
+ msgstr "Nội dung thay đổi chưa lưu trong lịch sử sửa đổi"
@@ -18,76 +18,76 @@ msgstr ""
18
18
 
19
19
  msgctxt "The prefix for a name of a revision created by restoring other revision."
20
20
  msgid "Restored"
21
- msgstr ""
21
+ msgstr "已恢复"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "空文档"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "初始版本"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "对比选中的文字"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "给此版本命名"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "版本创建者"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "版本作者"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "版本名称"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "版本名称(可选)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "保存当前版本"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "打开版本历史"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "版本历史"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "建议者"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "添加者"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "移除者"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "加载中…"
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "无变更"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
90
+ msgstr[0] "0% 处修改"
91
91
 
92
92
  msgctxt "Edit: (2 of 5)"
93
93
  msgid "X_OF_Y_CHANGES"
@@ -95,15 +95,15 @@ msgstr "第 %0 步,共 %1 步"
95
95
 
96
96
  msgctxt "The label for a button that highlights previous change in revision viewer."
97
97
  msgid "Show previous change"
98
- msgstr ""
98
+ msgstr "显示上一个变更"
99
99
 
100
100
  msgctxt "The label for a button that highlights next change in revision viewer."
101
101
  msgid "Show next change"
102
- msgstr ""
102
+ msgstr "显示下一个变更"
103
103
 
104
104
  msgctxt "(Total): 5 changes"
105
105
  msgid "Total"
106
- msgstr ""
106
+ msgstr "总计"
107
107
 
108
108
  msgctxt "(Edit): 2 of 5"
109
109
  msgid "EDIT_X_OF_Y_REVISIONS"
@@ -111,12 +111,12 @@ msgstr "编辑"
111
111
 
112
112
  msgctxt "The label for a button that closes revision viewer and shows editor."
113
113
  msgid "Back to editing"
114
- msgstr ""
114
+ msgstr "返回编辑"
115
115
 
116
116
  msgctxt "The label for a button that restores given revision."
117
117
  msgid "Restore this revision"
118
- msgstr ""
118
+ msgstr "恢复至此版本"
119
119
 
120
120
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
121
  msgid "PENDING_ACTION_REVISION_HISTORY"
122
- msgstr ""
122
+ msgstr "版本历史中有未保存的变更。"
@@ -22,72 +22,72 @@ msgstr "已復原"
22
22
 
23
23
  msgctxt "The name for an initial revision that is empty."
24
24
  msgid "Empty document"
25
- msgstr ""
25
+ msgstr "空文件"
26
26
 
27
27
  msgctxt "The name for an initial revision (if it was not empty)."
28
28
  msgid "Initial revision"
29
- msgstr ""
29
+ msgstr "初始修訂"
30
30
 
31
31
  msgctxt "The label for a dropdown item to compare given revision with already selected revision."
32
32
  msgid "Compare against selected"
33
- msgstr ""
33
+ msgstr "與所選作比較"
34
34
 
35
35
  msgctxt "The label for a dropdown item to rename given revision."
36
36
  msgid "Name this revision"
37
- msgstr ""
37
+ msgstr "命名此修訂"
38
38
 
39
39
  msgctxt "The label for the user who saved the revision."
40
40
  msgid "Revision creator"
41
- msgstr ""
41
+ msgstr "修訂建立者"
42
42
 
43
43
  msgctxt "The label for users who introduced changes in the revision."
44
44
  msgid "Revision author"
45
- msgstr ""
45
+ msgstr "修訂作者"
46
46
 
47
47
  msgctxt "The label for the revision name."
48
48
  msgid "Revision name"
49
- msgstr ""
49
+ msgstr "修訂名稱"
50
50
 
51
51
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
52
52
  msgid "Name of the revision (optional)"
53
- msgstr ""
53
+ msgstr "本修訂的名稱(可選)"
54
54
 
55
55
  msgctxt "The label for a dropdown item that saves current revision."
56
56
  msgid "Save current revision"
57
- msgstr ""
57
+ msgstr "儲存目前的修訂"
58
58
 
59
59
  msgctxt "The label for a dropdown item to open the revision history view (revision viewer)."
60
60
  msgid "Open revision history"
61
- msgstr ""
61
+ msgstr "開啟修訂記錄"
62
62
 
63
63
  msgctxt "The label for the sidebar in revision viewer."
64
64
  msgid "Revision history"
65
- msgstr ""
65
+ msgstr "修訂記錄"
66
66
 
67
67
  msgctxt "The label for a change tooltip for a suggestion change, shown in revision viewer."
68
68
  msgid "Suggested by"
69
- msgstr ""
69
+ msgstr "建議者"
70
70
 
71
71
  msgctxt "The label for a change tooltip for an insertion change, shown in revision viewer."
72
72
  msgid "Added by"
73
- msgstr ""
73
+ msgstr "新增者"
74
74
 
75
75
  msgctxt "The label for a change tooltip for a remove change, shown in revision viewer."
76
76
  msgid "Removed by"
77
- msgstr ""
77
+ msgstr "刪除者"
78
78
 
79
79
  msgctxt "Displayed in the revision viewer toolbar when loading a revision."
80
80
  msgid "Loading..."
81
- msgstr ""
81
+ msgstr "載入中……"
82
82
 
83
83
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have no changes."
84
84
  msgid "No changes"
85
- msgstr ""
85
+ msgstr "無變更"
86
86
 
87
87
  msgctxt "Displayed in the revision viewer toolbar when the compared revisions have changes."
88
88
  msgid "NUMBER_OF_CHANGES"
89
89
  msgid_plural "%0 changes"
90
- msgstr[0] ""
90
+ msgstr[0] "%0 變更"
91
91
 
92
92
  msgctxt "Edit: (2 of 5)"
93
93
  msgid "X_OF_Y_CHANGES"
@@ -95,15 +95,15 @@ msgstr "%0/%1"
95
95
 
96
96
  msgctxt "The label for a button that highlights previous change in revision viewer."
97
97
  msgid "Show previous change"
98
- msgstr ""
98
+ msgstr "顯示上個變更"
99
99
 
100
100
  msgctxt "The label for a button that highlights next change in revision viewer."
101
101
  msgid "Show next change"
102
- msgstr ""
102
+ msgstr "顯示下個變更"
103
103
 
104
104
  msgctxt "(Total): 5 changes"
105
105
  msgid "Total"
106
- msgstr ""
106
+ msgstr "總計"
107
107
 
108
108
  msgctxt "(Edit): 2 of 5"
109
109
  msgid "EDIT_X_OF_Y_REVISIONS"
@@ -111,12 +111,12 @@ msgstr "編輯"
111
111
 
112
112
  msgctxt "The label for a button that closes revision viewer and shows editor."
113
113
  msgid "Back to editing"
114
- msgstr ""
114
+ msgstr "返回至編輯"
115
115
 
116
116
  msgctxt "The label for a button that restores given revision."
117
117
  msgid "Restore this revision"
118
- msgstr ""
118
+ msgstr "還原此修訂"
119
119
 
120
120
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
121
121
  msgid "PENDING_ACTION_REVISION_HISTORY"
122
- msgstr ""
122
+ msgstr "修訂記錄中未儲存的變更"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "34.0.0",
3
+ "version": "35.0.1",
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/)",
@@ -25,12 +25,12 @@
25
25
  ],
26
26
  "main": "src/index.js",
27
27
  "dependencies": {
28
- "@ckeditor/ckeditor5-core": "^34.0.0",
29
- "@ckeditor/ckeditor5-ui": "^34.0.0",
30
- "@ckeditor/ckeditor5-undo": "^34.0.0",
31
- "@ckeditor/ckeditor5-editor-classic": "^34.0.0",
32
- "ckeditor5": "^34.0.0",
33
- "ckeditor5-collaboration": "^34.0.0",
28
+ "@ckeditor/ckeditor5-core": "^35.0.1",
29
+ "@ckeditor/ckeditor5-ui": "^35.0.1",
30
+ "@ckeditor/ckeditor5-undo": "^35.0.1",
31
+ "@ckeditor/ckeditor5-editor-classic": "^35.0.1",
32
+ "ckeditor5": "^35.0.1",
33
+ "ckeditor5-collaboration": "^35.0.1",
34
34
  "lodash-es": "^4.17.15",
35
35
  "luxon": "^1.25.0"
36
36
  }
package/src/changeitem.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1671=['toJSON','createdAt','set','data','type'];(function(_0x57ad57,_0x1671f6){var _0x51938c=function(_0x3cad51){while(--_0x3cad51){_0x57ad57['push'](_0x57ad57['shift']());}};_0x51938c(++_0x1671f6);}(_0x1671,0x1d4));var _0x5193=function(_0x57ad57,_0x1671f6){_0x57ad57=_0x57ad57-0x0;var _0x51938c=_0x1671[_0x57ad57];return _0x51938c;};import{ObservableMixin as _0x38d66b,mix as _0x178fff,uid as _0x1631de}from'ckeditor5/src/utils';export default class h{constructor(_0x34bb6b){this['id']=_0x34bb6b['id']||_0x1631de(),this['author']=_0x34bb6b['author'],this[_0x5193('0x1')]=_0x34bb6b['type'],this[_0x5193('0x0')]=_0x34bb6b[_0x5193('0x0')]||{},this[_0x5193('0x4')]('createdAt',_0x34bb6b[_0x5193('0x3')]);}[_0x5193('0x2')](){return{'id':this['id'],'authorId':this['author']['id'],'type':this[_0x5193('0x1')],'data':this['data'],'createdAt':this[_0x5193('0x3')]};}}_0x178fff(h,_0x38d66b);
23
+ var _0x1b62=['toJSON','set','type','author','data','createdAt'];(function(_0x496314,_0x1b62dd){var _0x2c2377=function(_0x315a63){while(--_0x315a63){_0x496314['push'](_0x496314['shift']());}};_0x2c2377(++_0x1b62dd);}(_0x1b62,0x198));var _0x2c23=function(_0x496314,_0x1b62dd){_0x496314=_0x496314-0x0;var _0x2c2377=_0x1b62[_0x496314];return _0x2c2377;};import{ObservableMixin as _0x33e9bf,mix as _0xebb692,uid as _0xc29c62}from'ckeditor5/src/utils';export default class h{constructor(_0x3a9766){this['id']=_0x3a9766['id']||_0xc29c62(),this[_0x2c23('0x3')]=_0x3a9766[_0x2c23('0x3')],this[_0x2c23('0x2')]=_0x3a9766[_0x2c23('0x2')],this['data']=_0x3a9766[_0x2c23('0x4')]||{},this[_0x2c23('0x1')]('createdAt',_0x3a9766['createdAt']);}[_0x2c23('0x0')](){return{'id':this['id'],'authorId':this['author']['id'],'type':this[_0x2c23('0x2')],'data':this[_0x2c23('0x4')],'createdAt':this[_0x2c23('0x5')]};}}_0xebb692(h,_0x33e9bf);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50dc=['sourceElement','createRoot','destroy','data','get','init','initPlugins','updateSourceElement','model','editing','initialData','fire','config','view','create','document','ready'];(function(_0x10c723,_0x50dc7f){const _0x1783f6=function(_0x507149){while(--_0x507149){_0x10c723['push'](_0x10c723['shift']());}};_0x1783f6(++_0x50dc7f);}(_0x50dc,0xaa));const _0x1783=function(_0x10c723,_0x50dc7f){_0x10c723=_0x10c723-0x0;let _0x1783f6=_0x50dc[_0x10c723];return _0x1783f6;};import{Editor as _0x3a90bd,DataApiMixin as _0x421821,ElementApiMixin as _0xdec06d}from'ckeditor5/src/core';import{mix as _0x33b197}from'ckeditor5/src/utils';import _0xca7a79 from'./revisionviewereditorui';import _0x5823fa from'./revisionviewereditoruiview';export default class p extends _0x3a90bd{constructor(_0x238e92,_0x2be483){super(_0x2be483),this[_0x1783('0x0')]=_0x238e92,this[_0x1783('0x8')][_0x1783('0xf')][_0x1783('0x1')]();const _0x20ed0d=new _0x5823fa(this['locale'],this[_0x1783('0x9')][_0x1783('0xd')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0xca7a79(this,_0x20ed0d);}['destroy'](){return this[_0x1783('0x7')](),this['ui'][_0x1783('0x2')](),super[_0x1783('0x2')]();}static async[_0x1783('0xe')](_0x1df224,_0x2e0fae){const _0xb26ba6=new this(_0x1df224,_0x2e0fae);return await _0xb26ba6[_0x1783('0x6')](),await _0xb26ba6['ui'][_0x1783('0x5')](_0x1df224),await _0xb26ba6[_0x1783('0x3')]['init'](_0xb26ba6[_0x1783('0xc')][_0x1783('0x4')](_0x1783('0xa'))),_0xb26ba6[_0x1783('0xb')](_0x1783('0x10')),_0xb26ba6;}}_0x33b197(p,_0x421821),_0x33b197(p,_0xdec06d);
23
+ const _0x23f1=['create','init','config','ready','updateSourceElement','editing','initPlugins','fire','sourceElement','model','data','get','destroy','document','view','createRoot','locale'];(function(_0x18ddce,_0x23f17c){const _0x155a7b=function(_0x5d8ad9){while(--_0x5d8ad9){_0x18ddce['push'](_0x18ddce['shift']());}};_0x155a7b(++_0x23f17c);}(_0x23f1,0xcc));const _0x155a=function(_0x18ddce,_0x23f17c){_0x18ddce=_0x18ddce-0x0;let _0x155a7b=_0x23f1[_0x18ddce];return _0x155a7b;};import{Editor as _0x14c5f6,DataApiMixin as _0x16f5b2,ElementApiMixin as _0x4c6fcb}from'ckeditor5/src/core';import{mix as _0x1ce327}from'ckeditor5/src/utils';import _0x5b1975 from'./revisionviewereditorui';import _0xf67cc5 from'./revisionviewereditoruiview';export default class w extends _0x14c5f6{constructor(_0x4cfbbf,_0xef2a8d){super(_0xef2a8d),this[_0x155a('0x8')]=_0x4cfbbf,this[_0x155a('0x9')][_0x155a('0xd')][_0x155a('0xf')]();const _0xfd2ab0=new _0xf67cc5(this[_0x155a('0x10')],this[_0x155a('0x5')][_0x155a('0xe')],{'shouldToolbarGroupWhenFull':!0x0});this['ui']=new _0x5b1975(this,_0xfd2ab0);}[_0x155a('0xc')](){return this[_0x155a('0x4')](),this['ui'][_0x155a('0xc')](),super[_0x155a('0xc')]();}static async[_0x155a('0x0')](_0x5c3764,_0x1c0801){const _0x163fd2=new this(_0x5c3764,_0x1c0801);return await _0x163fd2[_0x155a('0x6')](),await _0x163fd2['ui'][_0x155a('0x1')](_0x5c3764),await _0x163fd2[_0x155a('0xa')][_0x155a('0x1')](_0x163fd2[_0x155a('0x2')][_0x155a('0xb')]('initialData')),_0x163fd2[_0x155a('0x7')](_0x155a('0x3')),_0x163fd2;}}_0x1ce327(w,_0x16f5b2),_0x1ce327(w,_0x4c6fcb);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ba5=['limiterElement','restore','name','rootName','componentFactory','toolbar','render','config','add','focusTracker','init','editable','stickyPanel','element','detachDomRoot','keystrokes','viewportTopOffset','bind','editing','fire','_elementReplacer','setEditableElement','destroy','replace','ready','editor','viewportOffset','attachDomRoot','_toolbarConfig','fillFromConfig','_initToolbar','isFocused','document','getRoot','view'];(function(_0x44f1a5,_0x2ba586){const _0x2c3ff4=function(_0x3726be){while(--_0x3726be){_0x44f1a5['push'](_0x44f1a5['shift']());}};_0x2c3ff4(++_0x2ba586);}(_0x2ba5,0x185));const _0x2c3f=function(_0x44f1a5,_0x2ba586){_0x44f1a5=_0x44f1a5-0x0;let _0x2c3ff4=_0x2ba5[_0x44f1a5];return _0x2c3ff4;};import{EditorUI as _0x107c99}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0xde1e4c,normalizeToolbarConfig as _0x138297}from'ckeditor5/src/ui';import{ElementReplacer as _0x18fd1e}from'ckeditor5/src/utils';export default class B extends _0x107c99{constructor(_0x3f2a9d,_0x12cb22){super(_0x3f2a9d),this[_0x2c3f('0x1e')]=_0x12cb22,this[_0x2c3f('0x18')]=_0x138297(_0x3f2a9d[_0x2c3f('0x3')]['get']('toolbar')),this[_0x2c3f('0x10')]=new _0x18fd1e();}get['element'](){return this[_0x2c3f('0x1e')][_0x2c3f('0x9')];}[_0x2c3f('0x6')](_0x1624c5){const _0x108915=this['editor'],_0xbd5d50=this[_0x2c3f('0x1e')],_0x3ea936=_0x108915[_0x2c3f('0xe')]['view'],_0x2ee695=_0xbd5d50[_0x2c3f('0x7')],_0x426582=_0x3ea936[_0x2c3f('0x1c')][_0x2c3f('0x1d')]();_0x2ee695[_0x2c3f('0x21')]=_0x426582[_0x2c3f('0x22')],_0xbd5d50[_0x2c3f('0x2')]();const _0x3c793a=_0x2ee695[_0x2c3f('0x9')];this[_0x2c3f('0x11')](_0x2ee695[_0x2c3f('0x21')],_0x3c793a),this[_0x2c3f('0x5')][_0x2c3f('0x4')](_0x3c793a),_0xbd5d50['editable']['bind'](_0x2c3f('0x1b'))['to'](this['focusTracker']),_0x3ea936[_0x2c3f('0x17')](_0x3c793a),this[_0x2c3f('0x10')][_0x2c3f('0x13')](_0x1624c5,this['element']),this[_0x2c3f('0x1a')](),this[_0x2c3f('0xf')](_0x2c3f('0x14'));}['destroy'](){const _0x4bfc0b=this[_0x2c3f('0x1e')],_0x5ee628=this[_0x2c3f('0x15')][_0x2c3f('0xe')]['view'];this[_0x2c3f('0x10')][_0x2c3f('0x20')](),_0x5ee628[_0x2c3f('0xa')](_0x4bfc0b['editable']['name']),_0x4bfc0b['destroy'](),super[_0x2c3f('0x12')]();}[_0x2c3f('0x1a')](){const _0x35fe59=this['editor'],_0x6c83a0=this[_0x2c3f('0x1e')],_0x17a2cf=_0x35fe59[_0x2c3f('0xe')][_0x2c3f('0x1e')];_0x6c83a0['stickyPanel'][_0x2c3f('0xd')]('isActive')['to'](this[_0x2c3f('0x5')],_0x2c3f('0x1b')),_0x6c83a0[_0x2c3f('0x8')][_0x2c3f('0x1f')]=_0x6c83a0['element'],_0x6c83a0['stickyPanel'][_0x2c3f('0xd')](_0x2c3f('0xc'))['to'](this,_0x2c3f('0x16'),({top:_0x39abd8})=>_0x39abd8),_0x6c83a0[_0x2c3f('0x1')][_0x2c3f('0x19')](this[_0x2c3f('0x18')],this[_0x2c3f('0x0')]),_0xde1e4c({'origin':_0x17a2cf,'originFocusTracker':this[_0x2c3f('0x5')],'originKeystrokeHandler':_0x35fe59[_0x2c3f('0xb')],'toolbar':_0x6c83a0[_0x2c3f('0x1')]});}}
23
+ const _0x5300=['limiterElement','init','_initToolbar','destroy','viewportTopOffset','get','render','document','componentFactory','editable','element','focusTracker','toolbar','rootName','isActive','isFocused','setEditableElement','bind','_elementReplacer','add','view','fire','editor','_toolbarConfig','fillFromConfig','detachDomRoot','name','stickyPanel','replace','editing','ready'];(function(_0x140834,_0x530048){const _0x3dbabf=function(_0x29f0ed){while(--_0x29f0ed){_0x140834['push'](_0x140834['shift']());}};_0x3dbabf(++_0x530048);}(_0x5300,0xb8));const _0x3dba=function(_0x140834,_0x530048){_0x140834=_0x140834-0x0;let _0x3dbabf=_0x5300[_0x140834];return _0x3dbabf;};import{EditorUI as _0x29f7f2}from'ckeditor5/src/core';import{enableToolbarKeyboardFocus as _0xeb987b,normalizeToolbarConfig as _0x15a40f}from'ckeditor5/src/ui';import{ElementReplacer as _0x21a9a2}from'ckeditor5/src/utils';export default class ot extends _0x29f7f2{constructor(_0x6af297,_0x43b639){super(_0x6af297),this[_0x3dba('0x16')]=_0x43b639,this[_0x3dba('0x19')]=_0x15a40f(_0x6af297['config'][_0x3dba('0x7')](_0x3dba('0xe'))),this[_0x3dba('0x14')]=new _0x21a9a2();}get['element'](){return this[_0x3dba('0x16')][_0x3dba('0xc')];}[_0x3dba('0x3')](_0x5c3cfc){const _0x2b2392=this[_0x3dba('0x18')],_0xa55ce4=this[_0x3dba('0x16')],_0xfb9b16=_0x2b2392[_0x3dba('0x0')][_0x3dba('0x16')],_0x1f869b=_0xa55ce4[_0x3dba('0xb')],_0x434f97=_0xfb9b16[_0x3dba('0x9')]['getRoot']();_0x1f869b[_0x3dba('0x1c')]=_0x434f97[_0x3dba('0xf')],_0xa55ce4[_0x3dba('0x8')]();const _0x2fc3c1=_0x1f869b['element'];this[_0x3dba('0x12')](_0x1f869b[_0x3dba('0x1c')],_0x2fc3c1),this['focusTracker'][_0x3dba('0x15')](_0x2fc3c1),_0xa55ce4['editable'][_0x3dba('0x13')](_0x3dba('0x11'))['to'](this[_0x3dba('0xd')]),_0xfb9b16['attachDomRoot'](_0x2fc3c1),this[_0x3dba('0x14')][_0x3dba('0x1e')](_0x5c3cfc,this['element']),this[_0x3dba('0x4')](),this[_0x3dba('0x17')](_0x3dba('0x1'));}[_0x3dba('0x5')](){const _0x4dbbe1=this[_0x3dba('0x16')],_0x470f7a=this[_0x3dba('0x18')][_0x3dba('0x0')][_0x3dba('0x16')];this[_0x3dba('0x14')]['restore'](),_0x470f7a[_0x3dba('0x1b')](_0x4dbbe1[_0x3dba('0xb')][_0x3dba('0x1c')]),_0x4dbbe1[_0x3dba('0x5')](),super[_0x3dba('0x5')]();}['_initToolbar'](){const _0x2a9a30=this['editor'],_0x1fee07=this[_0x3dba('0x16')],_0x4aa366=_0x2a9a30[_0x3dba('0x0')][_0x3dba('0x16')];_0x1fee07['stickyPanel'][_0x3dba('0x13')](_0x3dba('0x10'))['to'](this[_0x3dba('0xd')],_0x3dba('0x11')),_0x1fee07[_0x3dba('0x1d')][_0x3dba('0x2')]=_0x1fee07[_0x3dba('0xc')],_0x1fee07['stickyPanel']['bind'](_0x3dba('0x6'))['to'](this,'viewportOffset',({top:_0x1b4508})=>_0x1b4508),_0x1fee07[_0x3dba('0xe')][_0x3dba('0x1a')](this['_toolbarConfig'],this[_0x3dba('0xa')]),_0xeb987b({'origin':_0x4aa366,'originFocusTracker':this[_0x3dba('0xd')],'originKeystrokeHandler':_0x2a9a30['keystrokes'],'toolbar':_0x1fee07['toolbar']});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c1e=['editable','toolbar','stickyPanel','main','add'];(function(_0x2f65bc,_0x3c1ec0){var _0x304174=function(_0x2b5bb4){while(--_0x2b5bb4){_0x2f65bc['push'](_0x2f65bc['shift']());}};_0x304174(++_0x3c1ec0);}(_0x3c1e,0x12b));var _0x3041=function(_0x2f65bc,_0x3c1ec0){_0x2f65bc=_0x2f65bc-0x0;var _0x304174=_0x3c1e[_0x2f65bc];return _0x304174;};import{BoxedEditorUIView as _0x56585d,InlineEditableUIView as _0x5d3050,StickyPanelView as _0x4969e2,ToolbarView as _0x1c1074}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class K extends _0x56585d{constructor(_0x468007,_0x438405,_0x25b6a0={}){super(_0x468007),this[_0x3041('0x3')]=new _0x4969e2(_0x468007),this['toolbar']=new _0x1c1074(_0x468007,{'shouldGroupWhenFull':_0x25b6a0['shouldToolbarGroupWhenFull']}),this[_0x3041('0x1')]=new _0x5d3050(_0x468007,_0x438405);}['render'](){super['render'](),this['stickyPanel']['content'][_0x3041('0x0')](this[_0x3041('0x2')]),this['top'][_0x3041('0x0')](this[_0x3041('0x3')]),this[_0x3041('0x4')][_0x3041('0x0')](this[_0x3041('0x1')]);}}
23
+ var _0x19c2=['main','editable','toolbar','render','top','shouldToolbarGroupWhenFull','stickyPanel','add'];(function(_0x5baabe,_0x19c22f){var _0x115952=function(_0x3adf82){while(--_0x3adf82){_0x5baabe['push'](_0x5baabe['shift']());}};_0x115952(++_0x19c22f);}(_0x19c2,0x1e5));var _0x1159=function(_0x5baabe,_0x19c22f){_0x5baabe=_0x5baabe-0x0;var _0x115952=_0x19c2[_0x5baabe];return _0x115952;};import{BoxedEditorUIView as _0x16b1c9,InlineEditableUIView as _0x560475,StickyPanelView as _0x1560a3,ToolbarView as _0x3ae7db}from'ckeditor5/src/ui';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x16b1c9{constructor(_0x26380f,_0x4abfea,_0x2c1e7c={}){super(_0x26380f),this[_0x1159('0x1')]=new _0x1560a3(_0x26380f),this[_0x1159('0x5')]=new _0x3ae7db(_0x26380f,{'shouldGroupWhenFull':_0x2c1e7c[_0x1159('0x0')]}),this['editable']=new _0x560475(_0x26380f,_0x4abfea);}['render'](){super[_0x1159('0x6')](),this[_0x1159('0x1')]['content'][_0x1159('0x2')](this[_0x1159('0x5')]),this[_0x1159('0x7')]['add'](this[_0x1159('0x1')]),this[_0x1159('0x3')][_0x1159('0x2')](this[_0x1159('0x4')]);}}
package/src/revision.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31f0=['name','attributes','createdAt','set','creatorId','setAttribute','creator','authors','fromVersion','_update','diffData','map','toVersion'];(function(_0x166cc4,_0x31f054){const _0x42bcb2=function(_0x30260b){while(--_0x30260b){_0x166cc4['push'](_0x166cc4['shift']());}};_0x42bcb2(++_0x31f054);}(_0x31f0,0xc2));const _0x42bc=function(_0x166cc4,_0x31f054){_0x166cc4=_0x166cc4-0x0;let _0x42bcb2=_0x31f0[_0x166cc4];return _0x42bcb2;};import{ObservableMixin as _0x13b782,mix as _0x3abbe1,uid as _0xca3391}from'ckeditor5/src/utils';import{cloneDeep as _0x573a71,set as _0x5aa5cd,unset as _0x4dc3f2}from'lodash-es';export default class n{constructor(_0x100fd1){this['id']=_0x100fd1['id']||_0xca3391(),this[_0x42bc('0x4')](_0x42bc('0x1'),_0x100fd1['name']||''),this[_0x42bc('0x7')]=_0x100fd1[_0x42bc('0x7')]||null,this[_0x42bc('0x8')]=_0x100fd1['authors']||[],this[_0x42bc('0x4')](_0x42bc('0x3'),_0x100fd1[_0x42bc('0x3')]||new Date()),this[_0x42bc('0xb')]=_0x100fd1[_0x42bc('0xb')]||null,this['set'](_0x42bc('0x2'),_0x100fd1[_0x42bc('0x2')]||{}),this[_0x42bc('0x0')]=_0x100fd1[_0x42bc('0x0')]||0x0,this[_0x42bc('0x9')]=_0x100fd1[_0x42bc('0x9')]||0x0;}['setName'](_0x4a648c){this[_0x42bc('0xa')]({'name':_0x4a648c});}[_0x42bc('0x6')](_0x4cb623,_0x3e51d1){const _0x2211bb=_0x573a71(this[_0x42bc('0x2')]);_0x5aa5cd(_0x2211bb,_0x4cb623,_0x3e51d1),this[_0x42bc('0xa')]({'attributes':_0x2211bb});}['removeAttribute'](_0x405cb0){const _0x3b64a2=_0x573a71(this[_0x42bc('0x2')]);_0x4dc3f2(_0x3b64a2,_0x405cb0),this[_0x42bc('0xa')]({'attributes':_0x3b64a2});}['_update'](_0x20320f,_0x973cfc=!0x1){let _0x31afce=!0x1;const _0x57abe9={'id':this['id']};for(const _0x31fa31 of['name',_0x42bc('0x3'),_0x42bc('0xb'),_0x42bc('0x8'),'attributes','toVersion',_0x42bc('0x9'),_0x42bc('0x5')]){const _0x351f1c=_0x20320f[_0x31fa31];void 0x0!==_0x351f1c&&_0x351f1c!==this[_0x31fa31]&&(this[_0x31fa31]=_0x351f1c,_0x57abe9[_0x31fa31]=_0x351f1c,_0x31afce=!0x0);}_0x31afce&&(_0x57abe9[_0x42bc('0x8')]&&(_0x57abe9['authorsIds']=_0x57abe9['authors'][_0x42bc('0xc')](_0x25bfc0=>_0x25bfc0['id']),delete _0x57abe9[_0x42bc('0x8')]),this['fire']('_update',_0x57abe9,_0x973cfc));}['toJSON'](){return{'id':this['id'],'name':this[_0x42bc('0x1')],'creatorId':this['creator']?this[_0x42bc('0x7')]['id']:null,'authorsIds':this[_0x42bc('0x8')][_0x42bc('0xc')](_0x449932=>_0x449932['id']),'diffData':this[_0x42bc('0xb')],'createdAt':this[_0x42bc('0x3')],'attributes':this['attributes'],'fromVersion':this[_0x42bc('0x9')],'toVersion':this[_0x42bc('0x0')]};}}_0x3abbe1(n,_0x13b782);
23
+ const _0x5951=['creator','authors','removeAttribute','_update','map','diffData','set','toJSON','createdAt','toVersion','creatorId','setAttribute','setName','attributes','fromVersion','authorsIds','name'];(function(_0x53b993,_0x5951d8){const _0x237b83=function(_0x2f6aae){while(--_0x2f6aae){_0x53b993['push'](_0x53b993['shift']());}};_0x237b83(++_0x5951d8);}(_0x5951,0x1c4));const _0x237b=function(_0x53b993,_0x5951d8){_0x53b993=_0x53b993-0x0;let _0x237b83=_0x5951[_0x53b993];return _0x237b83;};import{ObservableMixin as _0x445e02,mix as _0x2b2c6e,uid as _0x3d6157}from'ckeditor5/src/utils';import{cloneDeep as _0xe8500f,set as _0x3e2181,unset as _0x5bafa4}from'lodash-es';export default class n{constructor(_0x36f25d){this['id']=_0x36f25d['id']||_0x3d6157(),this['set'](_0x237b('0x6'),_0x36f25d[_0x237b('0x6')]||''),this[_0x237b('0x7')]=_0x36f25d[_0x237b('0x7')]||null,this[_0x237b('0x8')]=_0x36f25d[_0x237b('0x8')]||[],this[_0x237b('0xd')](_0x237b('0xf'),_0x36f25d[_0x237b('0xf')]||new Date()),this['diffData']=_0x36f25d[_0x237b('0xc')]||null,this[_0x237b('0xd')](_0x237b('0x3'),_0x36f25d[_0x237b('0x3')]||{}),this['toVersion']=_0x36f25d[_0x237b('0x10')]||0x0,this[_0x237b('0x4')]=_0x36f25d[_0x237b('0x4')]||0x0;}[_0x237b('0x2')](_0x4dd2c8){this[_0x237b('0xa')]({'name':_0x4dd2c8});}[_0x237b('0x1')](_0xa1caed,_0x4ea587){const _0x4b060b=_0xe8500f(this[_0x237b('0x3')]);_0x3e2181(_0x4b060b,_0xa1caed,_0x4ea587),this[_0x237b('0xa')]({'attributes':_0x4b060b});}[_0x237b('0x9')](_0x77ed9a){const _0x591104=_0xe8500f(this[_0x237b('0x3')]);_0x5bafa4(_0x591104,_0x77ed9a),this[_0x237b('0xa')]({'attributes':_0x591104});}['_update'](_0x49548c,_0x18c4af=!0x1){let _0x37b6ae=!0x1;const _0x4019df={'id':this['id']};for(const _0x305d92 of[_0x237b('0x6'),_0x237b('0xf'),_0x237b('0xc'),_0x237b('0x8'),_0x237b('0x3'),'toVersion',_0x237b('0x4'),_0x237b('0x0')]){const _0x125654=_0x49548c[_0x305d92];void 0x0!==_0x125654&&_0x125654!==this[_0x305d92]&&(this[_0x305d92]=_0x125654,_0x4019df[_0x305d92]=_0x125654,_0x37b6ae=!0x0);}_0x37b6ae&&(_0x4019df['authors']&&(_0x4019df[_0x237b('0x5')]=_0x4019df[_0x237b('0x8')][_0x237b('0xb')](_0x18d322=>_0x18d322['id']),delete _0x4019df[_0x237b('0x8')]),this['fire']('_update',_0x4019df,_0x18c4af));}[_0x237b('0xe')](){return{'id':this['id'],'name':this[_0x237b('0x6')],'creatorId':this['creator']?this[_0x237b('0x7')]['id']:null,'authorsIds':this[_0x237b('0x8')][_0x237b('0xb')](_0x28a86e=>_0x28a86e['id']),'diffData':this['diffData'],'createdAt':this[_0x237b('0xf')],'attributes':this['attributes'],'fromVersion':this[_0x237b('0x4')],'toVersion':this[_0x237b('0x10')]};}}_0x2b2c6e(n,_0x445e02);