@ckeditor/ckeditor5-revision-history 41.0.0 → 41.2.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.
Files changed (154) hide show
  1. package/build/revision-history.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/bs.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de-ch.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/en-gb.js +1 -1
  16. package/build/translations/es-co.js +1 -1
  17. package/build/translations/es.js +1 -1
  18. package/build/translations/et.js +1 -1
  19. package/build/translations/fa.js +1 -1
  20. package/build/translations/fi.js +1 -1
  21. package/build/translations/fr.js +1 -1
  22. package/build/translations/gl.js +1 -1
  23. package/build/translations/he.js +1 -1
  24. package/build/translations/hi.js +1 -1
  25. package/build/translations/hr.js +1 -1
  26. package/build/translations/hu.js +1 -1
  27. package/build/translations/id.js +1 -1
  28. package/build/translations/it.js +1 -1
  29. package/build/translations/ja.js +1 -1
  30. package/build/translations/jv.js +1 -1
  31. package/build/translations/ko.js +1 -1
  32. package/build/translations/ku.js +1 -1
  33. package/build/translations/lt.js +1 -1
  34. package/build/translations/lv.js +1 -1
  35. package/build/translations/ms.js +1 -1
  36. package/build/translations/ne.js +1 -1
  37. package/build/translations/nl.js +1 -1
  38. package/build/translations/no.js +1 -1
  39. package/build/translations/pl.js +1 -1
  40. package/build/translations/pt-br.js +1 -1
  41. package/build/translations/pt.js +1 -1
  42. package/build/translations/ro.js +1 -1
  43. package/build/translations/ru.js +1 -1
  44. package/build/translations/sk.js +1 -1
  45. package/build/translations/sr-latn.js +1 -1
  46. package/build/translations/sr.js +1 -1
  47. package/build/translations/sv.js +1 -1
  48. package/build/translations/th.js +1 -1
  49. package/build/translations/tk.js +1 -1
  50. package/build/translations/tr.js +1 -1
  51. package/build/translations/tt.js +1 -1
  52. package/build/translations/ug.js +1 -1
  53. package/build/translations/uk.js +1 -1
  54. package/build/translations/ur.js +1 -1
  55. package/build/translations/vi.js +1 -1
  56. package/build/translations/zh-cn.js +1 -1
  57. package/build/translations/zh.js +1 -1
  58. package/lang/contexts.json +5 -2
  59. package/lang/translations/af.po +13 -1
  60. package/lang/translations/ar.po +14 -2
  61. package/lang/translations/az.po +13 -1
  62. package/lang/translations/bg.po +14 -2
  63. package/lang/translations/bn.po +14 -2
  64. package/lang/translations/bs.po +13 -1
  65. package/lang/translations/ca.po +14 -2
  66. package/lang/translations/cs.po +14 -2
  67. package/lang/translations/da.po +14 -2
  68. package/lang/translations/de-ch.po +13 -1
  69. package/lang/translations/de.po +14 -2
  70. package/lang/translations/el.po +14 -2
  71. package/lang/translations/en-au.po +14 -2
  72. package/lang/translations/en-gb.po +13 -1
  73. package/lang/translations/en.po +14 -2
  74. package/lang/translations/es-co.po +13 -1
  75. package/lang/translations/es.po +14 -2
  76. package/lang/translations/et.po +14 -2
  77. package/lang/translations/fa.po +13 -1
  78. package/lang/translations/fi.po +14 -2
  79. package/lang/translations/fr.po +14 -2
  80. package/lang/translations/gl.po +14 -2
  81. package/lang/translations/he.po +15 -4
  82. package/lang/translations/hi.po +14 -2
  83. package/lang/translations/hr.po +14 -2
  84. package/lang/translations/hu.po +14 -2
  85. package/lang/translations/id.po +14 -2
  86. package/lang/translations/it.po +14 -2
  87. package/lang/translations/ja.po +14 -2
  88. package/lang/translations/jv.po +13 -1
  89. package/lang/translations/ko.po +14 -2
  90. package/lang/translations/ku.po +13 -1
  91. package/lang/translations/lt.po +14 -2
  92. package/lang/translations/lv.po +14 -2
  93. package/lang/translations/ms.po +14 -2
  94. package/lang/translations/ne.po +13 -1
  95. package/lang/translations/nl.po +14 -2
  96. package/lang/translations/no.po +14 -2
  97. package/lang/translations/pl.po +14 -2
  98. package/lang/translations/pt-br.po +14 -2
  99. package/lang/translations/pt.po +17 -5
  100. package/lang/translations/ro.po +14 -2
  101. package/lang/translations/ru.po +14 -2
  102. package/lang/translations/sk.po +14 -2
  103. package/lang/translations/sr-latn.po +14 -2
  104. package/lang/translations/sr.po +14 -2
  105. package/lang/translations/sv.po +14 -2
  106. package/lang/translations/th.po +14 -2
  107. package/lang/translations/tk.po +13 -1
  108. package/lang/translations/tr.po +14 -2
  109. package/lang/translations/tt.po +13 -1
  110. package/lang/translations/ug.po +13 -1
  111. package/lang/translations/uk.po +14 -2
  112. package/lang/translations/ur.po +13 -1
  113. package/lang/translations/vi.po +14 -2
  114. package/lang/translations/zh-cn.po +14 -2
  115. package/lang/translations/zh.po +14 -2
  116. package/package.json +5 -5
  117. package/src/changeitem.js +1 -1
  118. package/src/editor/revisionviewereditor.d.ts +1 -1
  119. package/src/editor/revisionviewereditor.js +1 -1
  120. package/src/editor/revisionviewereditorui.js +1 -1
  121. package/src/editor/revisionviewereditoruiview.js +1 -1
  122. package/src/index.js +1 -1
  123. package/src/revision.js +1 -1
  124. package/src/revisiondiff.js +1 -1
  125. package/src/revisionhistory.js +1 -1
  126. package/src/revisionhistoryconfig.d.ts +11 -0
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.d.ts +4 -0
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.d.ts +1 -1
  135. package/src/ui/revision/revisionview.js +1 -1
  136. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  137. package/src/ui/revision/subrevisionview.js +1 -1
  138. package/src/ui/revision/utils.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
  140. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  141. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  144. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
  145. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  146. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
  147. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  148. package/src/ui/revisionssidebar/utils.js +1 -1
  149. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  150. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  151. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  152. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  153. package/src/utils/common-translations.js +1 -1
  154. package/theme/revision/revisionname.css +1 -0
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Numele revizuirii"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Numele revizuirii (optional)"
53
+ msgid "Name of the revision"
54
+ msgstr "Numele reviziei"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "opțional"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -123,3 +127,11 @@ msgstr "Restaurează această revizuire"
123
127
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
124
128
  msgid "PENDING_ACTION_REVISION_HISTORY"
125
129
  msgstr "Modificare nesalvată în istoricul revizuirilor."
130
+
131
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
132
+ msgid "Enter the revision name"
133
+ msgstr "Introduceți numele reviziei"
134
+
135
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
136
+ msgid "The revision name cannot be empty."
137
+ msgstr "Numele reviziei nu poate fi lăsat necompletat."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Имя ревизии"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Название версии (необязательно)"
53
+ msgid "Name of the revision"
54
+ msgstr "Название редакции"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "необязательно"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -124,3 +128,11 @@ msgstr "Восстановить эту версию"
124
128
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
125
129
  msgid "PENDING_ACTION_REVISION_HISTORY"
126
130
  msgstr "Несохраненное изменение в истории версий."
131
+
132
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
133
+ msgid "Enter the revision name"
134
+ msgstr "Введите название редакции"
135
+
136
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
137
+ msgid "The revision name cannot be empty."
138
+ msgstr "Имя редакции не может быть пустым."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Názov revízie"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Názov revízie (nepovinné)"
53
+ msgid "Name of the revision"
54
+ msgstr "Názov revízie"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "voliteľné"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -124,3 +128,11 @@ msgstr "Obnovte túto revíziu"
124
128
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
125
129
  msgid "PENDING_ACTION_REVISION_HISTORY"
126
130
  msgstr "Neuložená zmena v histórii verzií."
131
+
132
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
133
+ msgid "Enter the revision name"
134
+ msgstr "Zadajte názov revízie"
135
+
136
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
137
+ msgid "The revision name cannot be empty."
138
+ msgstr "Názov revízie nesmie byť prázdny."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Naziv revizije"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Naziv revizije (opcionalno)"
53
+ msgid "Name of the revision"
54
+ msgstr ""
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr ""
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -123,3 +127,11 @@ msgstr "Vratite ovu reviziju"
123
127
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
124
128
  msgid "PENDING_ACTION_REVISION_HISTORY"
125
129
  msgstr "Nesačuvana promena u istoriji revizija."
130
+
131
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
132
+ msgid "Enter the revision name"
133
+ msgstr ""
134
+
135
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
136
+ msgid "The revision name cannot be empty."
137
+ msgstr ""
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Назив ревизије "
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Назив ревизије (опционално) "
53
+ msgid "Name of the revision"
54
+ msgstr "Naziv ispravke"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "opciono"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -123,3 +127,11 @@ msgstr "Вратите ову ревизију "
123
127
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
124
128
  msgid "PENDING_ACTION_REVISION_HISTORY"
125
129
  msgstr "Несачувана промена у историји ревизија. "
130
+
131
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
132
+ msgid "Enter the revision name"
133
+ msgstr "Unesi naziv ispravke"
134
+
135
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
136
+ msgid "The revision name cannot be empty."
137
+ msgstr "Naziv ispravke ne može biti prazan."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Revideringsnamn"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Revideringens namn (frivilligt)"
53
+ msgid "Name of the revision"
54
+ msgstr "Namn revisionen"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "valfritt"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -122,3 +126,11 @@ msgstr "Återställ den här revideringen"
122
126
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
127
  msgid "PENDING_ACTION_REVISION_HISTORY"
124
128
  msgstr "Osparad ändring i revideringshistoriken."
129
+
130
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
131
+ msgid "Enter the revision name"
132
+ msgstr "Ange revisionens namn"
133
+
134
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
135
+ msgid "The revision name cannot be empty."
136
+ msgstr "Revisionen måste ha ett namn."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "ชื่อการแก้ไข"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "ชื่อของการแก้ไข (ไม่บังคับ)"
53
+ msgid "Name of the revision"
54
+ msgstr "ชื่อการแก้ไข"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "ไม่จำเป็น"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -121,3 +125,11 @@ msgstr "กู้คืนการแก้ไขนี้"
121
125
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
122
126
  msgid "PENDING_ACTION_REVISION_HISTORY"
123
127
  msgstr "การเปลี่ยนแปลงที่ไม่ได้บันทึกในประวัติการแก้ไข"
128
+
129
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
130
+ msgid "Enter the revision name"
131
+ msgstr "กรอกชื่อการแก้ไข"
132
+
133
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
134
+ msgid "The revision name cannot be empty."
135
+ msgstr "ชื่อการแก้ไขจะต้องไม่เว้นว่าง"
@@ -50,7 +50,11 @@ msgid "Revision name"
50
50
  msgstr ""
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
53
+ msgid "Name of the revision"
54
+ msgstr ""
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
54
58
  msgstr ""
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
@@ -122,3 +126,11 @@ msgstr ""
122
126
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
127
  msgid "PENDING_ACTION_REVISION_HISTORY"
124
128
  msgstr ""
129
+
130
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
131
+ msgid "Enter the revision name"
132
+ msgstr ""
133
+
134
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
135
+ msgid "The revision name cannot be empty."
136
+ msgstr ""
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Revizyon adı"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Revizyonun adı (isteğe bağlı)"
53
+ msgid "Name of the revision"
54
+ msgstr "Revizyon adı"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "isteğe bağlı"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -122,3 +126,11 @@ msgstr "Bu revizyonu geri yükle"
122
126
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
127
  msgid "PENDING_ACTION_REVISION_HISTORY"
124
128
  msgstr "Revizyon listesinde kaydedilmemiş değişiklik."
129
+
130
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
131
+ msgid "Enter the revision name"
132
+ msgstr "Revizyon adını gir"
133
+
134
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
135
+ msgid "The revision name cannot be empty."
136
+ msgstr "Revizyon adı boş olamaz."
@@ -50,7 +50,11 @@ msgid "Revision name"
50
50
  msgstr ""
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
53
+ msgid "Name of the revision"
54
+ msgstr ""
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
54
58
  msgstr ""
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
@@ -121,3 +125,11 @@ msgstr ""
121
125
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
122
126
  msgid "PENDING_ACTION_REVISION_HISTORY"
123
127
  msgstr ""
128
+
129
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
130
+ msgid "Enter the revision name"
131
+ msgstr ""
132
+
133
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
134
+ msgid "The revision name cannot be empty."
135
+ msgstr ""
@@ -50,7 +50,11 @@ msgid "Revision name"
50
50
  msgstr ""
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
53
+ msgid "Name of the revision"
54
+ msgstr ""
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
54
58
  msgstr ""
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
@@ -122,3 +126,11 @@ msgstr ""
122
126
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
127
  msgid "PENDING_ACTION_REVISION_HISTORY"
124
128
  msgstr ""
129
+
130
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
131
+ msgid "Enter the revision name"
132
+ msgstr ""
133
+
134
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
135
+ msgid "The revision name cannot be empty."
136
+ msgstr ""
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Назва редакції"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Назва редакції (необов'язково)"
53
+ msgid "Name of the revision"
54
+ msgstr "Назва виправлення"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "необов'язково"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -124,3 +128,11 @@ msgstr "Відновити цю редакцію"
124
128
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
125
129
  msgid "PENDING_ACTION_REVISION_HISTORY"
126
130
  msgstr "Незбережена зміна в історії редакцій."
131
+
132
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
133
+ msgid "Enter the revision name"
134
+ msgstr "Уведіть назву виправлення"
135
+
136
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
137
+ msgid "The revision name cannot be empty."
138
+ msgstr "Назва виправлення не може бути порожньою."
@@ -50,7 +50,11 @@ msgid "Revision name"
50
50
  msgstr ""
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
53
+ msgid "Name of the revision"
54
+ msgstr ""
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
54
58
  msgstr ""
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
@@ -122,3 +126,11 @@ msgstr ""
122
126
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
123
127
  msgid "PENDING_ACTION_REVISION_HISTORY"
124
128
  msgstr ""
129
+
130
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
131
+ msgid "Enter the revision name"
132
+ msgstr ""
133
+
134
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
135
+ msgid "The revision name cannot be empty."
136
+ msgstr ""
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "Tên bản sửa đổi"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "Tên của bản sửa đổi (không bắt buộc)"
53
+ msgid "Name of the revision"
54
+ msgstr "Tên của bản sửa đổi"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "không bắt buộc"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -121,3 +125,11 @@ msgstr "Khôi phục bản sửa đổi"
121
125
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
122
126
  msgid "PENDING_ACTION_REVISION_HISTORY"
123
127
  msgstr "Nội dung thay đổi chưa lưu trong lịch sử sửa đổi"
128
+
129
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
130
+ msgid "Enter the revision name"
131
+ msgstr "Nhập tên bản sửa đổi"
132
+
133
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
134
+ msgid "The revision name cannot be empty."
135
+ msgstr "Không được để trống tên bản sửa đổi."
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "版本名称"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "版本名称(可选)"
53
+ msgid "Name of the revision"
54
+ msgstr "修订的名称"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "可选的"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -121,3 +125,11 @@ msgstr "恢复至此版本"
121
125
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
122
126
  msgid "PENDING_ACTION_REVISION_HISTORY"
123
127
  msgstr "版本历史中有未保存的变更。"
128
+
129
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
130
+ msgid "Enter the revision name"
131
+ msgstr "输入修订名称"
132
+
133
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
134
+ msgid "The revision name cannot be empty."
135
+ msgstr "修订版本名称不能为空。"
@@ -50,8 +50,12 @@ msgid "Revision name"
50
50
  msgstr "修訂名稱"
51
51
 
52
52
  msgctxt "The label for a toolbar form field where a name for a new revision should be provided."
53
- msgid "Name of the revision (optional)"
54
- msgstr "本修訂的名稱(可選)"
53
+ msgid "Name of the revision"
54
+ msgstr "修訂名稱"
55
+
56
+ msgctxt "The part of a toolbar form field label that indicates the field is optional."
57
+ msgid "optional"
58
+ msgstr "選擇性"
55
59
 
56
60
  msgctxt "The label for a dropdown item that saves current revision."
57
61
  msgid "Save current revision"
@@ -121,3 +125,11 @@ msgstr "還原此修訂"
121
125
  msgctxt "The label for the alert shown when closing the editor with an unsaved revision history change."
122
126
  msgid "PENDING_ACTION_REVISION_HISTORY"
123
127
  msgstr "修訂記錄中未儲存的變更"
128
+
129
+ msgctxt "The placeholder for a form input field where a name for a new revision should be provided."
130
+ msgid "Enter the revision name"
131
+ msgstr "輸入修訂名稱"
132
+
133
+ msgctxt "An error text displayed when user attempted to save a revision without providing its name."
134
+ msgid "The revision name cannot be empty."
135
+ msgstr "修訂名稱不可為空白。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-revision-history",
3
- "version": "41.0.0",
3
+ "version": "41.2.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/)",
@@ -38,10 +38,10 @@
38
38
  "CHANGELOG.md"
39
39
  ],
40
40
  "dependencies": {
41
- "@ckeditor/ckeditor5-editor-classic": "41.0.0",
42
- "@ckeditor/ckeditor5-ui": "41.0.0",
43
- "ckeditor5": "41.0.0",
44
- "ckeditor5-collaboration": "41.0.0",
41
+ "@ckeditor/ckeditor5-editor-classic": "41.2.0",
42
+ "@ckeditor/ckeditor5-ui": "41.2.0",
43
+ "ckeditor5": "41.2.0",
44
+ "ckeditor5-collaboration": "41.2.0",
45
45
  "lodash-es": "4.17.21",
46
46
  "luxon": "1.28.1"
47
47
  },
package/src/changeitem.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x30d4=['createdAt','data','rootName','author','toJSON'];(function(_0x1ffac8,_0x30d453){var _0x391a83=function(_0x4136c5){while(--_0x4136c5){_0x1ffac8['push'](_0x1ffac8['shift']());}};_0x391a83(++_0x30d453);}(_0x30d4,0xea));var _0x391a=function(_0x1ffac8,_0x30d453){_0x1ffac8=_0x1ffac8-0x0;var _0x391a83=_0x30d4[_0x1ffac8];return _0x391a83;};import{ObservableMixin as _0x7e3061,uid as _0x44b992}from'ckeditor5/src/utils.js';export default class r extends _0x7e3061(){constructor(_0x351ecc){super(),this['id']=_0x351ecc['id']||_0x44b992(),this[_0x391a('0x4')]=_0x351ecc[_0x391a('0x4')],this['type']=_0x351ecc['type'],this[_0x391a('0x2')]=_0x351ecc[_0x391a('0x2')]||{},this[_0x391a('0x3')]=_0x351ecc[_0x391a('0x3')],this['set']('createdAt',_0x351ecc[_0x391a('0x1')]);}[_0x391a('0x0')](){return{'id':this['id'],'authorId':this[_0x391a('0x4')]['id'],'type':this['type'],'data':this[_0x391a('0x2')],'createdAt':this[_0x391a('0x1')]};}}
23
+ var _0xffb35=_0x3e9d;function _0x3e9d(_0x1927e3,_0x444c5c){var _0x3c139f=_0x3c13();return _0x3e9d=function(_0x3e9d8f,_0x35e66d){_0x3e9d8f=_0x3e9d8f-0x19c;var _0x471abc=_0x3c139f[_0x3e9d8f];return _0x471abc;},_0x3e9d(_0x1927e3,_0x444c5c);}(function(_0x363202,_0x5cc485){var _0x349473=_0x3e9d,_0x2cf3cf=_0x363202();while(!![]){try{var _0x12ea43=-parseInt(_0x349473(0x1a3))/0x1+-parseInt(_0x349473(0x1aa))/0x2*(-parseInt(_0x349473(0x1a1))/0x3)+-parseInt(_0x349473(0x1a0))/0x4+-parseInt(_0x349473(0x1ab))/0x5*(-parseInt(_0x349473(0x1ad))/0x6)+-parseInt(_0x349473(0x1a7))/0x7*(-parseInt(_0x349473(0x1ac))/0x8)+-parseInt(_0x349473(0x1a9))/0x9*(-parseInt(_0x349473(0x1a4))/0xa)+parseInt(_0x349473(0x19f))/0xb;if(_0x12ea43===_0x5cc485)break;else _0x2cf3cf['push'](_0x2cf3cf['shift']());}catch(_0x4f9d45){_0x2cf3cf['push'](_0x2cf3cf['shift']());}}}(_0x3c13,0x95584));import{ObservableMixin as _0x23f19e,uid as _0x26580a}from'ckeditor5/src/utils.js';function _0x3c13(){var _0xb1408b=['14nriScS','toJSON','9LpODvw','284npzoLC','205LzgcrU','1646264nxXUfK','4470IFWngh','rootName','author','data','9946849THmiSM','1392388RssztH','4971KAwsYV','createdAt','1185306lOHrua','5634550XnyLkz','set','type'];_0x3c13=function(){return _0xb1408b;};return _0x3c13();}export default class r extends _0x23f19e(){constructor(_0x27fc64){var _0x568c33=_0x3e9d;super(),this['id']=_0x27fc64['id']||_0x26580a(),this[_0x568c33(0x19d)]=_0x27fc64[_0x568c33(0x19d)],this[_0x568c33(0x1a6)]=_0x27fc64[_0x568c33(0x1a6)],this[_0x568c33(0x19e)]=_0x27fc64[_0x568c33(0x19e)]||{},this[_0x568c33(0x19c)]=_0x27fc64[_0x568c33(0x19c)],this[_0x568c33(0x1a5)](_0x568c33(0x1a2),_0x27fc64[_0x568c33(0x1a2)]);}[_0xffb35(0x1a8)](){var _0x51f747=_0xffb35;return{'id':this['id'],'authorId':this[_0x51f747(0x19d)]['id'],'type':this[_0x51f747(0x1a6)],'data':this[_0x51f747(0x19e)],'createdAt':this[_0x51f747(0x1a2)]};}}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
9
9
  import RevisionViewerEditorUI from './revisionviewereditorui.js';
10
- declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>, import("ckeditor5/src/core.js").DataApi>;
10
+ declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
11
11
  /**
12
12
  * Editor class used to show revision comparisons.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f8=['config','sourceElement','model','view','locale','ready','get','initialData','initPlugins','init','destroy','create','editing','_ui','createRoot','updateSourceElement','document','fire'];(function(_0x7957e4,_0x29f8e2){const _0x58f1fa=function(_0x593bb1){while(--_0x593bb1){_0x7957e4['push'](_0x7957e4['shift']());}};_0x58f1fa(++_0x29f8e2);}(_0x29f8,0x83));const _0x58f1=function(_0x7957e4,_0x29f8e2){_0x7957e4=_0x7957e4-0x0;let _0x58f1fa=_0x29f8[_0x7957e4];return _0x58f1fa;};import{Editor as _0x222317,DataApiMixin as _0x19054d,ElementApiMixin as _0x222222}from'ckeditor5/src/core.js';import _0x4dff73 from'./revisionviewereditorui.js';import _0x5a6386 from'./revisionviewereditoruiview.js';export default class m extends _0x19054d(_0x222222(_0x222317)){get['ui'](){return this[_0x58f1('0x8')];}constructor(_0x45afcc,_0x2ed05e){super(_0x2ed05e),this[_0x58f1('0xe')]=_0x45afcc,this[_0x58f1('0xf')][_0x58f1('0xb')][_0x58f1('0x9')]();const _0x213163=new _0x5a6386(this[_0x58f1('0x11')],this[_0x58f1('0x7')][_0x58f1('0x10')],{'shouldToolbarGroupWhenFull':!0x0});this[_0x58f1('0x8')]=new _0x4dff73(this,_0x213163);}[_0x58f1('0x5')](){return this[_0x58f1('0xa')](),this['ui'][_0x58f1('0x5')](),super[_0x58f1('0x5')]();}static async[_0x58f1('0x6')](_0x409dcb,_0x25a3fa){const _0x480872=new this(_0x409dcb,_0x25a3fa);return await _0x480872[_0x58f1('0x3')](),await _0x480872['ui'][_0x58f1('0x4')](_0x409dcb),await _0x480872['data'][_0x58f1('0x4')](_0x480872[_0x58f1('0xd')][_0x58f1('0x1')](_0x58f1('0x2'))||''),_0x480872[_0x58f1('0xc')](_0x58f1('0x0')),_0x480872;}}
23
+ const _0x59bbf4=_0x72b0;function _0x72b0(_0x16b321,_0x3c8fe9){const _0x452b0e=_0x452b();return _0x72b0=function(_0x72b0d4,_0x51e85c){_0x72b0d4=_0x72b0d4-0x1ea;let _0xd0e46c=_0x452b0e[_0x72b0d4];return _0xd0e46c;},_0x72b0(_0x16b321,_0x3c8fe9);}(function(_0x764bc7,_0x1ddfba){const _0x4d1a4d=_0x72b0,_0x38f743=_0x764bc7();while(!![]){try{const _0x5a806d=parseInt(_0x4d1a4d(0x1f6))/0x1+-parseInt(_0x4d1a4d(0x1fb))/0x2*(parseInt(_0x4d1a4d(0x1f4))/0x3)+-parseInt(_0x4d1a4d(0x1f8))/0x4*(parseInt(_0x4d1a4d(0x207))/0x5)+-parseInt(_0x4d1a4d(0x1ff))/0x6+parseInt(_0x4d1a4d(0x203))/0x7*(-parseInt(_0x4d1a4d(0x1fa))/0x8)+parseInt(_0x4d1a4d(0x1f0))/0x9*(-parseInt(_0x4d1a4d(0x200))/0xa)+parseInt(_0x4d1a4d(0x201))/0xb;if(_0x5a806d===_0x1ddfba)break;else _0x38f743['push'](_0x38f743['shift']());}catch(_0x458f98){_0x38f743['push'](_0x38f743['shift']());}}}(_0x452b,0x34bfa));function _0x452b(){const _0x27d223=['70mfFgBS','11646217MReuOG','updateSourceElement','39200McQjtK','config','ready','data','115sTRbbt','destroy','sourceElement','get','view','init','initPlugins','236997QCHpeD','fire','locale','document','971961OlZwri','model','284532yEJnzn','initialData','55364sQcWpL','create','312PgkJAk','2lajtBa','editing','_ui','createRoot','492960KsKgqk'];_0x452b=function(){return _0x27d223;};return _0x452b();}import{Editor as _0x2934d5,DataApiMixin as _0x11fc03,ElementApiMixin as _0x4c42e9}from'ckeditor5/src/core.js';import _0x14f61e from'./revisionviewereditorui.js';import _0x478c77 from'./revisionviewereditoruiview.js';export default class m extends _0x11fc03(_0x4c42e9(_0x2934d5)){get['ui'](){const _0x4348cb=_0x72b0;return this[_0x4348cb(0x1fd)];}constructor(_0x3150a9,_0x239afc){const _0x158ae8=_0x72b0;super(_0x239afc),this[_0x158ae8(0x1eb)]=_0x3150a9,this[_0x158ae8(0x1f5)][_0x158ae8(0x1f3)][_0x158ae8(0x1fe)]();const _0x26d22d=new _0x478c77(this[_0x158ae8(0x1f2)],this[_0x158ae8(0x1fc)][_0x158ae8(0x1ed)],{'shouldToolbarGroupWhenFull':!0x0});this[_0x158ae8(0x1fd)]=new _0x14f61e(this,_0x26d22d);}[_0x59bbf4(0x1ea)](){const _0x5c5062=_0x59bbf4;return this[_0x5c5062(0x202)](),this['ui'][_0x5c5062(0x1ea)](),super[_0x5c5062(0x1ea)]();}static async[_0x59bbf4(0x1f9)](_0x1a454c,_0x440da2){const _0x10487c=_0x59bbf4,_0x478c93=new this(_0x1a454c,_0x440da2);return await _0x478c93[_0x10487c(0x1ef)](),await _0x478c93['ui'][_0x10487c(0x1ee)](_0x1a454c),await _0x478c93[_0x10487c(0x206)][_0x10487c(0x1ee)](_0x478c93[_0x10487c(0x204)][_0x10487c(0x1ec)](_0x10487c(0x1f7))||''),_0x478c93[_0x10487c(0x1f1)](_0x10487c(0x205)),_0x478c93;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34d2=['addToolbar','rootName','focusTracker','attachDomRoot','name','stickyPanel','viewportOffset','_view','limiterElement','isFocused','bind','editor','element','_elementReplacer','get','init','restore','editing','toolbar','fillFromConfig','isActive','viewportTopOffset','ready','replace','config','destroy','editable','_toolbarConfig','_initToolbar','view','getRoot','setEditableElement'];(function(_0x2552a,_0x34d264){const _0x3f9f60=function(_0x451d0c){while(--_0x451d0c){_0x2552a['push'](_0x2552a['shift']());}};_0x3f9f60(++_0x34d264);}(_0x34d2,0x64));const _0x3f9f=function(_0x2552a,_0x34d264){_0x2552a=_0x2552a-0x0;let _0x3f9f60=_0x34d2[_0x2552a];return _0x3f9f60;};import{EditorUI as _0x1f0700,normalizeToolbarConfig as _0x1c71ff}from'ckeditor5/src/ui.js';import{ElementReplacer as _0x48836f}from'ckeditor5/src/utils.js';export default class ot extends _0x1f0700{get[_0x3f9f('0x19')](){return this[_0x3f9f('0x3')];}constructor(_0x407388,_0x23dccc){super(_0x407388),this['_view']=_0x23dccc,this[_0x3f9f('0x17')]=_0x1c71ff(_0x407388[_0x3f9f('0x14')][_0x3f9f('0xa')](_0x3f9f('0xe'))),this[_0x3f9f('0x9')]=new _0x48836f();}get[_0x3f9f('0x8')](){return this[_0x3f9f('0x19')][_0x3f9f('0x8')];}[_0x3f9f('0xb')](_0x4714c7){const _0x3b60ef=this[_0x3f9f('0x7')],_0x2776c7=this[_0x3f9f('0x19')],_0x23ffaf=_0x3b60ef[_0x3f9f('0xd')][_0x3f9f('0x19')],_0x160154=_0x2776c7['editable'],_0x299f95=_0x23ffaf['document'][_0x3f9f('0x1a')]();_0x160154[_0x3f9f('0x0')]=_0x299f95[_0x3f9f('0x1d')],_0x2776c7['render']();const _0x5f4bdd=_0x160154['element'];this[_0x3f9f('0x1b')](_0x160154['name'],_0x5f4bdd),_0x2776c7[_0x3f9f('0x16')][_0x3f9f('0x6')]('isFocused')['to'](this[_0x3f9f('0x1e')]),_0x23ffaf[_0x3f9f('0x1f')](_0x5f4bdd),this[_0x3f9f('0x9')][_0x3f9f('0x13')](_0x4714c7,this[_0x3f9f('0x8')]),this[_0x3f9f('0x18')](),this['fire'](_0x3f9f('0x12'));}[_0x3f9f('0x15')](){super[_0x3f9f('0x15')]();const _0x27d172=this[_0x3f9f('0x19')],_0x29f6f0=this[_0x3f9f('0x7')][_0x3f9f('0xd')]['view'];this[_0x3f9f('0x9')][_0x3f9f('0xc')](),_0x29f6f0['detachDomRoot'](_0x27d172['editable'][_0x3f9f('0x0')]),_0x27d172[_0x3f9f('0x15')]();}[_0x3f9f('0x18')](){const _0x5dbd08=this[_0x3f9f('0x19')];_0x5dbd08[_0x3f9f('0x1')]['bind'](_0x3f9f('0x10'))['to'](this[_0x3f9f('0x1e')],_0x3f9f('0x5')),_0x5dbd08[_0x3f9f('0x1')][_0x3f9f('0x4')]=_0x5dbd08[_0x3f9f('0x8')],_0x5dbd08[_0x3f9f('0x1')]['bind'](_0x3f9f('0x11'))['to'](this,_0x3f9f('0x2'),({top:_0xd7d5af})=>_0xd7d5af),_0x5dbd08['toolbar'][_0x3f9f('0xf')](this[_0x3f9f('0x17')],this['componentFactory']),this[_0x3f9f('0x1c')](_0x5dbd08[_0x3f9f('0xe')]);}}
23
+ function _0x200f(){const _0x4a8761=['_elementReplacer','28931920aWoPUc','editing','restore','editable','destroy','3805240VDdTVj','viewportTopOffset','viewportOffset','9184554aJSkkd','toolbar','_view','rootName','name','stickyPanel','componentFactory','element','isFocused','fire','12jRWPlp','bind','isActive','attachDomRoot','_initToolbar','7639656TnAukq','replace','_toolbarConfig','1034588cKHoBY','init','ready','fillFromConfig','config','setEditableElement','detachDomRoot','focusTracker','7zUfkAb','83333qrkccf','getRoot','addToolbar','limiterElement','document','editor','6334850evjKAX','render','12qrUItt','get','view'];_0x200f=function(){return _0x4a8761;};return _0x200f();}const _0x463f1a=_0xf665;(function(_0x247bbc,_0x9f4e8a){const _0x44c663=_0xf665,_0x4198a6=_0x247bbc();while(!![]){try{const _0x476c5d=parseInt(_0x44c663(0xfb))/0x1*(parseInt(_0x44c663(0x103))/0x2)+parseInt(_0x44c663(0x119))/0x3*(parseInt(_0x44c663(0x121))/0x4)+parseInt(_0x44c663(0x101))/0x5+parseInt(_0x44c663(0x11e))/0x6+parseInt(_0x44c663(0xfa))/0x7*(parseInt(_0x44c663(0x10c))/0x8)+-parseInt(_0x44c663(0x10f))/0x9+-parseInt(_0x44c663(0x107))/0xa;if(_0x476c5d===_0x9f4e8a)break;else _0x4198a6['push'](_0x4198a6['shift']());}catch(_0x1b6880){_0x4198a6['push'](_0x4198a6['shift']());}}}(_0x200f,0x9b775));import{EditorUI as _0x1972cc,normalizeToolbarConfig as _0x2cb39f}from'ckeditor5/src/ui.js';import{ElementReplacer as _0xcd3ac5}from'ckeditor5/src/utils.js';function _0xf665(_0x46a5d1,_0x4c606b){const _0x200f83=_0x200f();return _0xf665=function(_0xf665bd,_0x1e38aa){_0xf665bd=_0xf665bd-0xf3;let _0x21916e=_0x200f83[_0xf665bd];return _0x21916e;},_0xf665(_0x46a5d1,_0x4c606b);}export default class ot extends _0x1972cc{get[_0x463f1a(0x105)](){const _0xaf56c3=_0x463f1a;return this[_0xaf56c3(0x111)];}constructor(_0x1656b6,_0x319c99){const _0x18c899=_0x463f1a;super(_0x1656b6),this[_0x18c899(0x111)]=_0x319c99,this[_0x18c899(0x120)]=_0x2cb39f(_0x1656b6[_0x18c899(0xf6)][_0x18c899(0x104)](_0x18c899(0x110))),this[_0x18c899(0x106)]=new _0xcd3ac5();}get[_0x463f1a(0x116)](){const _0x5757ac=_0x463f1a;return this[_0x5757ac(0x105)][_0x5757ac(0x116)];}[_0x463f1a(0xf3)](_0x3c606b){const _0x258729=_0x463f1a,_0x2dfc0a=this[_0x258729(0x100)],_0x46ba76=this[_0x258729(0x105)],_0x2d7d6a=_0x2dfc0a[_0x258729(0x108)][_0x258729(0x105)],_0x33cfc0=_0x46ba76[_0x258729(0x10a)],_0x44eaf9=_0x2d7d6a[_0x258729(0xff)][_0x258729(0xfc)]();_0x33cfc0[_0x258729(0x113)]=_0x44eaf9[_0x258729(0x112)],_0x46ba76[_0x258729(0x102)]();const _0x474422=_0x33cfc0[_0x258729(0x116)];this[_0x258729(0xf7)](_0x33cfc0[_0x258729(0x113)],_0x474422),_0x46ba76[_0x258729(0x10a)][_0x258729(0x11a)](_0x258729(0x117))['to'](this[_0x258729(0xf9)]),_0x2d7d6a[_0x258729(0x11c)](_0x474422),this[_0x258729(0x106)][_0x258729(0x11f)](_0x3c606b,this[_0x258729(0x116)]),this[_0x258729(0x11d)](),this[_0x258729(0x118)](_0x258729(0xf4));}[_0x463f1a(0x10b)](){const _0x7bec36=_0x463f1a;super[_0x7bec36(0x10b)]();const _0x4a4e3d=this[_0x7bec36(0x105)],_0x3ad4b7=this[_0x7bec36(0x100)][_0x7bec36(0x108)][_0x7bec36(0x105)];this[_0x7bec36(0x106)][_0x7bec36(0x109)](),_0x3ad4b7[_0x7bec36(0xf8)](_0x4a4e3d[_0x7bec36(0x10a)][_0x7bec36(0x113)]),_0x4a4e3d[_0x7bec36(0x10b)]();}[_0x463f1a(0x11d)](){const _0x23d23a=_0x463f1a,_0xa01801=this[_0x23d23a(0x105)];_0xa01801[_0x23d23a(0x114)][_0x23d23a(0x11a)](_0x23d23a(0x11b))['to'](this[_0x23d23a(0xf9)],_0x23d23a(0x117)),_0xa01801[_0x23d23a(0x114)][_0x23d23a(0xfe)]=_0xa01801[_0x23d23a(0x116)],_0xa01801[_0x23d23a(0x114)][_0x23d23a(0x11a)](_0x23d23a(0x10d))['to'](this,_0x23d23a(0x10e),({top:_0x377f1})=>_0x377f1),_0xa01801[_0x23d23a(0x110)][_0x23d23a(0xf5)](this[_0x23d23a(0x120)],this[_0x23d23a(0x115)]),this[_0x23d23a(0xfd)](_0xa01801[_0x23d23a(0x110)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2127=['toolbar','render','stickyPanel','editable','content','add','main','_editable','shouldToolbarGroupWhenFull'];(function(_0x5ce6bf,_0x212702){var _0x337ee7=function(_0x39c37d){while(--_0x39c37d){_0x5ce6bf['push'](_0x5ce6bf['shift']());}};_0x337ee7(++_0x212702);}(_0x2127,0x1ea));var _0x337e=function(_0x5ce6bf,_0x212702){_0x5ce6bf=_0x5ce6bf-0x0;var _0x337ee7=_0x2127[_0x5ce6bf];return _0x337ee7;};import{BoxedEditorUIView as _0x265d5e,InlineEditableUIView as _0x5bf5a6,StickyPanelView as _0x49d528,ToolbarView as _0x503878}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';export default class at extends _0x265d5e{get[_0x337e('0x8')](){return this[_0x337e('0x3')];}constructor(_0x3a47e1,_0x18e8f4,_0x1d2159={}){super(_0x3a47e1),this[_0x337e('0x7')]=new _0x49d528(_0x3a47e1),this[_0x337e('0x5')]=new _0x503878(_0x3a47e1,{'shouldGroupWhenFull':_0x1d2159[_0x337e('0x4')]}),this[_0x337e('0x3')]=new _0x5bf5a6(_0x3a47e1,_0x18e8f4);}[_0x337e('0x6')](){super[_0x337e('0x6')](),this[_0x337e('0x7')][_0x337e('0x0')][_0x337e('0x1')](this[_0x337e('0x5')]),this['top'][_0x337e('0x1')](this[_0x337e('0x7')]),this[_0x337e('0x2')][_0x337e('0x1')](this['editable']);}}
23
+ var _0x361e52=_0xa7b9;(function(_0x35fd05,_0x43aa29){var _0x218f40=_0xa7b9,_0x3db64b=_0x35fd05();while(!![]){try{var _0x15a29d=parseInt(_0x218f40(0x160))/0x1+parseInt(_0x218f40(0x165))/0x2*(parseInt(_0x218f40(0x163))/0x3)+-parseInt(_0x218f40(0x15c))/0x4*(-parseInt(_0x218f40(0x15e))/0x5)+-parseInt(_0x218f40(0x158))/0x6+parseInt(_0x218f40(0x15f))/0x7+parseInt(_0x218f40(0x159))/0x8+-parseInt(_0x218f40(0x15d))/0x9;if(_0x15a29d===_0x43aa29)break;else _0x3db64b['push'](_0x3db64b['shift']());}catch(_0x1f903f){_0x3db64b['push'](_0x3db64b['shift']());}}}(_0x2aa7,0xb3d63));import{BoxedEditorUIView as _0x488154,InlineEditableUIView as _0x163c52,StickyPanelView as _0xeb4deb,ToolbarView as _0x2715da}from'ckeditor5/src/ui.js';import'@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';function _0x2aa7(){var _0x2358c0=['7192950aHRDZf','8276360beZzHJ','editable','_editable','188aqkvPH','9030159ZKNCxV','11505fYpBks','6136109DZBzYZ','117490TAnJyJ','stickyPanel','add','2406054mVBZGm','top','2ZKsrJG','main','toolbar','render','shouldToolbarGroupWhenFull','content'];_0x2aa7=function(){return _0x2358c0;};return _0x2aa7();}function _0xa7b9(_0x1cfce8,_0xa8047c){var _0x2aa729=_0x2aa7();return _0xa7b9=function(_0xa7b95f,_0x4570c4){_0xa7b95f=_0xa7b95f-0x153;var _0x4eddc1=_0x2aa729[_0xa7b95f];return _0x4eddc1;},_0xa7b9(_0x1cfce8,_0xa8047c);}export default class at extends _0x488154{get[_0x361e52(0x15a)](){var _0xf30d3=_0x361e52;return this[_0xf30d3(0x15b)];}constructor(_0x335229,_0x28df14,_0x93c728={}){var _0x1a8372=_0x361e52;super(_0x335229),this[_0x1a8372(0x161)]=new _0xeb4deb(_0x335229),this[_0x1a8372(0x154)]=new _0x2715da(_0x335229,{'shouldGroupWhenFull':_0x93c728[_0x1a8372(0x156)]}),this[_0x1a8372(0x15b)]=new _0x163c52(_0x335229,_0x28df14);}[_0x361e52(0x155)](){var _0x319bae=_0x361e52;super[_0x319bae(0x155)](),this[_0x319bae(0x161)][_0x319bae(0x157)][_0x319bae(0x162)](this[_0x319bae(0x154)]),this[_0x319bae(0x164)][_0x319bae(0x162)](this[_0x319bae(0x161)]),this[_0x319bae(0x153)][_0x319bae(0x162)](this[_0x319bae(0x15a)]);}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.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';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';import'./augmentation.js';
23
+ (function(_0x3a2acc,_0x59892d){var _0x2b4f17=_0x5532,_0x71701=_0x3a2acc();while(!![]){try{var _0x4ca1e4=parseInt(_0x2b4f17(0x73))/0x1*(parseInt(_0x2b4f17(0x6e))/0x2)+-parseInt(_0x2b4f17(0x72))/0x3+-parseInt(_0x2b4f17(0x76))/0x4+-parseInt(_0x2b4f17(0x77))/0x5*(-parseInt(_0x2b4f17(0x74))/0x6)+-parseInt(_0x2b4f17(0x78))/0x7*(-parseInt(_0x2b4f17(0x6f))/0x8)+parseInt(_0x2b4f17(0x71))/0x9+parseInt(_0x2b4f17(0x75))/0xa*(-parseInt(_0x2b4f17(0x70))/0xb);if(_0x4ca1e4===_0x59892d)break;else _0x71701['push'](_0x71701['shift']());}catch(_0x1d5d4c){_0x71701['push'](_0x71701['shift']());}}}(_0xb172,0x7f22f));export{default as RevisionHistory}from'./revisionhistory.js';export{default as RevisionsRepository}from'./revisionsrepository.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';function _0xb172(){var _0xc88521=['7680006kIUdlr','103941CpKdRr','49766DJHmae','636UxWuSh','1691590QxplFn','1058596fBeRui','26990urAGPe','944993pUlgdA','26RpURyr','16ZlEWSz','99mJIspl'];_0xb172=function(){return _0xc88521;};return _0xb172();}function _0x5532(_0x40e781,_0x1366dc){var _0xb172e4=_0xb172();return _0x5532=function(_0x553299,_0x28b6e2){_0x553299=_0x553299-0x6e;var _0x5e52b1=_0xb172e4[_0x553299];return _0x5e52b1;},_0x5532(_0x40e781,_0x1366dc);}export{default as RevisionViewer}from'./revisionviewer.js';export{default as RevisionsSidebar}from'./ui/revisionssidebar/revisionssidebar.js';export{default as RevisionViewerUI}from'./ui/revisionviewer/revisionviewerui.js';import'./augmentation.js';
package/src/revision.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42fb=['_update','toJSON','fromVersion','toVersion','set','name','removeAttribute','map','attributes','createdAt','diffData','creator','authors'];(function(_0x2db5d5,_0x42fb3c){const _0x1685e2=function(_0x1e0c03){while(--_0x1e0c03){_0x2db5d5['push'](_0x2db5d5['shift']());}};_0x1685e2(++_0x42fb3c);}(_0x42fb,0x124));const _0x1685=function(_0x2db5d5,_0x42fb3c){_0x2db5d5=_0x2db5d5-0x0;let _0x1685e2=_0x42fb[_0x2db5d5];return _0x1685e2;};import{ObservableMixin as _0x273771,uid as _0x3331a4}from'ckeditor5/src/utils.js';import{cloneDeep as _0xc8dfdb,set as _0x58d3eb,unset as _0x34a349}from'lodash-es';export default class a extends _0x273771(){constructor(_0x4d14dd){super(),this['id']=_0x4d14dd['id']||_0x3331a4(),this[_0x1685('0x5')]=_0x4d14dd[_0x1685('0x5')]||null,this[_0x1685('0x6')]=_0x4d14dd[_0x1685('0x6')]||[],this[_0x1685('0x4')]=_0x4d14dd[_0x1685('0x4')]||null,this['toVersion']=_0x4d14dd[_0x1685('0xa')]||0x0,this[_0x1685('0x9')]=_0x4d14dd[_0x1685('0x9')]||0x0,this[_0x1685('0xb')](_0x1685('0xc'),_0x4d14dd[_0x1685('0xc')]||''),this[_0x1685('0xb')](_0x1685('0x3'),_0x4d14dd[_0x1685('0x3')]||new Date()),this[_0x1685('0xb')](_0x1685('0x2'),_0x4d14dd[_0x1685('0x2')]||{});}['setName'](_0x247197){this['_update']({'name':_0x247197});}['setAttribute'](_0x118f1a,_0x5aea29){const _0x3e47a9=_0xc8dfdb(this[_0x1685('0x2')]);_0x58d3eb(_0x3e47a9,_0x118f1a,_0x5aea29),this['_update']({'attributes':_0x3e47a9});}[_0x1685('0x0')](_0x5845bc){const _0x3244ae=_0xc8dfdb(this[_0x1685('0x2')]);_0x34a349(_0x3244ae,_0x5845bc),this[_0x1685('0x7')]({'attributes':_0x3244ae});}[_0x1685('0x7')](_0x2db02a,_0x1659e0=!0x1){let _0x1d4e62=!0x1;const _0x1f6317={'id':this['id']},_0x233469=[_0x1685('0xc'),_0x1685('0x3'),_0x1685('0x4'),_0x1685('0x6'),'attributes',_0x1685('0xa'),_0x1685('0x9'),'creatorId'];for(const _0x1e6acb of _0x233469){const _0x4f65a9=_0x2db02a[_0x1e6acb];void 0x0!==_0x4f65a9&&_0x4f65a9!==this[_0x1e6acb]&&(this[_0x1e6acb]=_0x4f65a9,_0x1f6317[_0x1e6acb]=_0x4f65a9,_0x1d4e62=!0x0);}_0x1d4e62&&(_0x1f6317[_0x1685('0x6')]&&(_0x1f6317['authorsIds']=_0x1f6317[_0x1685('0x6')][_0x1685('0x1')](_0x15b2a8=>_0x15b2a8['id']),delete _0x1f6317['authors']),this['fire'](_0x1685('0x7'),_0x1f6317,_0x1659e0));}[_0x1685('0x8')](){return{'id':this['id'],'name':this[_0x1685('0xc')],'creatorId':this[_0x1685('0x5')]?this[_0x1685('0x5')]['id']:null,'authorsIds':this['authors'][_0x1685('0x1')](_0x1f0e35=>_0x1f0e35['id']),'diffData':this['diffData'],'createdAt':this[_0x1685('0x3')],'attributes':this[_0x1685('0x2')],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}
23
+ const _0x29d3b2=_0x4bf6;(function(_0x1ebf03,_0x40e28d){const _0x22a040=_0x4bf6,_0x1e2777=_0x1ebf03();while(!![]){try{const _0x4d41a5=-parseInt(_0x22a040(0xcb))/0x1+-parseInt(_0x22a040(0xcf))/0x2+parseInt(_0x22a040(0xce))/0x3+-parseInt(_0x22a040(0xc8))/0x4*(-parseInt(_0x22a040(0xc4))/0x5)+parseInt(_0x22a040(0xbc))/0x6*(parseInt(_0x22a040(0xb9))/0x7)+parseInt(_0x22a040(0xb7))/0x8*(parseInt(_0x22a040(0xba))/0x9)+-parseInt(_0x22a040(0xc1))/0xa;if(_0x4d41a5===_0x40e28d)break;else _0x1e2777['push'](_0x1e2777['shift']());}catch(_0x129e2f){_0x1e2777['push'](_0x1e2777['shift']());}}}(_0x46f5,0x95cad));import{ObservableMixin as _0x21bd6c,uid as _0x24c037}from'ckeditor5/src/utils.js';function _0x46f5(){const _0x2e9b08=['615DjCpyc','set','toJSON','creator','20812czDvbs','creatorId','attributes','395226nOOGOt','_update','setAttribute','3569058uRiNLO','984006Vqeyvj','fromVersion','toVersion','name','8aIIYco','removeAttribute','644hhVPTO','6188607VdkIfT','authorsIds','44298JUfAJp','setName','map','diffData','fire','16957360KuzWmX','authors','createdAt'];_0x46f5=function(){return _0x2e9b08;};return _0x46f5();}function _0x4bf6(_0x154bdd,_0x3f01b6){const _0x46f532=_0x46f5();return _0x4bf6=function(_0x4bf6e6,_0x558528){_0x4bf6e6=_0x4bf6e6-0xb5;let _0x45119b=_0x46f532[_0x4bf6e6];return _0x45119b;},_0x4bf6(_0x154bdd,_0x3f01b6);}import{cloneDeep as _0x544435,set as _0x4f7b7b,unset as _0xa6343c}from'lodash-es';export default class a extends _0x21bd6c(){constructor(_0x2b0ced){const _0xa26cac=_0x4bf6;super(),this['id']=_0x2b0ced['id']||_0x24c037(),this[_0xa26cac(0xc7)]=_0x2b0ced[_0xa26cac(0xc7)]||null,this[_0xa26cac(0xc2)]=_0x2b0ced[_0xa26cac(0xc2)]||[],this[_0xa26cac(0xbf)]=_0x2b0ced[_0xa26cac(0xbf)]||null,this[_0xa26cac(0xb5)]=_0x2b0ced[_0xa26cac(0xb5)]||0x0,this[_0xa26cac(0xd0)]=_0x2b0ced[_0xa26cac(0xd0)]||0x0,this[_0xa26cac(0xc5)](_0xa26cac(0xb6),_0x2b0ced[_0xa26cac(0xb6)]||''),this[_0xa26cac(0xc5)](_0xa26cac(0xc3),_0x2b0ced[_0xa26cac(0xc3)]||new Date()),this[_0xa26cac(0xc5)](_0xa26cac(0xca),_0x2b0ced[_0xa26cac(0xca)]||{});}[_0x29d3b2(0xbd)](_0x24defe){const _0x1f17f6=_0x29d3b2;this[_0x1f17f6(0xcc)]({'name':_0x24defe});}[_0x29d3b2(0xcd)](_0x5e1324,_0x10e2eb){const _0x21053f=_0x29d3b2,_0x36c94a=_0x544435(this[_0x21053f(0xca)]);_0x4f7b7b(_0x36c94a,_0x5e1324,_0x10e2eb),this[_0x21053f(0xcc)]({'attributes':_0x36c94a});}[_0x29d3b2(0xb8)](_0x132136){const _0x4908b9=_0x29d3b2,_0x5b4ede=_0x544435(this[_0x4908b9(0xca)]);_0xa6343c(_0x5b4ede,_0x132136),this[_0x4908b9(0xcc)]({'attributes':_0x5b4ede});}[_0x29d3b2(0xcc)](_0x3a63dd,_0x34f5ff=!0x1){const _0x58e70d=_0x29d3b2;let _0x1e788d=!0x1;const _0x129e05={'id':this['id']},_0x392bb8=[_0x58e70d(0xb6),_0x58e70d(0xc3),_0x58e70d(0xbf),_0x58e70d(0xc2),_0x58e70d(0xca),_0x58e70d(0xb5),_0x58e70d(0xd0),_0x58e70d(0xc9)];for(const _0x16a40e of _0x392bb8){const _0x4e931c=_0x3a63dd[_0x16a40e];void 0x0!==_0x4e931c&&_0x4e931c!==this[_0x16a40e]&&(this[_0x16a40e]=_0x4e931c,_0x129e05[_0x16a40e]=_0x4e931c,_0x1e788d=!0x0);}_0x1e788d&&(_0x129e05[_0x58e70d(0xc2)]&&(_0x129e05[_0x58e70d(0xbb)]=_0x129e05[_0x58e70d(0xc2)][_0x58e70d(0xbe)](_0x342173=>_0x342173['id']),delete _0x129e05[_0x58e70d(0xc2)]),this[_0x58e70d(0xc0)](_0x58e70d(0xcc),_0x129e05,_0x34f5ff));}[_0x29d3b2(0xc6)](){const _0x105055=_0x29d3b2;return{'id':this['id'],'name':this[_0x105055(0xb6)],'creatorId':this[_0x105055(0xc7)]?this[_0x105055(0xc7)]['id']:null,'authorsIds':this[_0x105055(0xc2)][_0x105055(0xbe)](_0xe39a5=>_0xe39a5['id']),'diffData':this[_0x105055(0xbf)],'createdAt':this[_0x105055(0xc3)],'attributes':this[_0x105055(0xca)],'fromVersion':this[_0x105055(0xd0)],'toVersion':this[_0x105055(0xb5)]};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1601=['_setChanges','changes','add','oldRevisionId'];(function(_0x58c6e6,_0x1601bf){const _0x3fb24a=function(_0x25eefd){while(--_0x25eefd){_0x58c6e6['push'](_0x58c6e6['shift']());}};_0x3fb24a(++_0x1601bf);}(_0x1601,0x1d9));const _0x3fb2=function(_0x58c6e6,_0x1601bf){_0x58c6e6=_0x58c6e6-0x0;let _0x3fb24a=_0x1601[_0x58c6e6];return _0x3fb24a;};import{Collection as _0x46d281}from'ckeditor5/src/utils.js';export default class f{constructor(_0xdc6ae2,_0x1d7193){this['newRevisionId']=_0xdc6ae2,this[_0x3fb2('0x2')]=_0x1d7193,this[_0x3fb2('0x0')]=new _0x46d281();}[_0x3fb2('0x3')](_0x3d337a){for(const _0x20566a of _0x3d337a)this[_0x3fb2('0x0')][_0x3fb2('0x1')](_0x20566a);}}
23
+ function _0x5ef6(_0x5e0beb,_0x197961){const _0x4cb53e=_0x4cb5();return _0x5ef6=function(_0x5ef6b5,_0x433cfb){_0x5ef6b5=_0x5ef6b5-0xd0;let _0x54230d=_0x4cb53e[_0x5ef6b5];return _0x54230d;},_0x5ef6(_0x5e0beb,_0x197961);}const _0x31afcf=_0x5ef6;function _0x4cb5(){const _0x5814ba=['add','3852448AQOMwp','249000iSgyYB','86948GUHIuq','1819896CYXyon','13676481LBEmxp','newRevisionId','oldRevisionId','2019220HkIKHO','3005QAjqwZ','6DcotKa','2946OpLIeT','changes','_setChanges'];_0x4cb5=function(){return _0x5814ba;};return _0x4cb5();}(function(_0x4b1faa,_0x2805d6){const _0x5a8719=_0x5ef6,_0x402032=_0x4b1faa();while(!![]){try{const _0x31da09=-parseInt(_0x5a8719(0xd4))/0x1*(parseInt(_0x5a8719(0xdb))/0x2)+-parseInt(_0x5a8719(0xd3))/0x3+-parseInt(_0x5a8719(0xd5))/0x4+-parseInt(_0x5a8719(0xda))/0x5*(-parseInt(_0x5a8719(0xdc))/0x6)+-parseInt(_0x5a8719(0xd9))/0x7+-parseInt(_0x5a8719(0xd2))/0x8+parseInt(_0x5a8719(0xd6))/0x9;if(_0x31da09===_0x2805d6)break;else _0x402032['push'](_0x402032['shift']());}catch(_0x27bd1c){_0x402032['push'](_0x402032['shift']());}}}(_0x4cb5,0x3c06a));import{Collection as _0x1b110a}from'ckeditor5/src/utils.js';export default class f{constructor(_0x257a42,_0xf0e25a){const _0x190e19=_0x5ef6;this[_0x190e19(0xd7)]=_0x257a42,this[_0x190e19(0xd8)]=_0xf0e25a,this[_0x190e19(0xdd)]=new _0x1b110a();}[_0x31afcf(0xd0)](_0x511986){const _0x16d137=_0x31afcf;for(const _0x26c871 of _0x511986)this[_0x16d137(0xdd)][_0x16d137(0xd1)](_0x26c871);}}