@ckeditor/ckeditor5-revision-history 41.2.1 → 41.3.0-alpha.3

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 (183) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/content-index.css +374 -0
  3. package/dist/editor-index.css +742 -0
  4. package/dist/index.css +1712 -0
  5. package/dist/translations/af.d.ts +8 -0
  6. package/dist/translations/af.js +23 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +23 -0
  9. package/dist/translations/az.d.ts +8 -0
  10. package/dist/translations/az.js +23 -0
  11. package/dist/translations/bg.d.ts +8 -0
  12. package/dist/translations/bg.js +23 -0
  13. package/dist/translations/bn.d.ts +8 -0
  14. package/dist/translations/bn.js +23 -0
  15. package/dist/translations/bs.d.ts +8 -0
  16. package/dist/translations/bs.js +23 -0
  17. package/dist/translations/ca.d.ts +8 -0
  18. package/dist/translations/ca.js +23 -0
  19. package/dist/translations/cs.d.ts +8 -0
  20. package/dist/translations/cs.js +23 -0
  21. package/dist/translations/da.d.ts +8 -0
  22. package/dist/translations/da.js +23 -0
  23. package/dist/translations/de-ch.d.ts +8 -0
  24. package/dist/translations/de-ch.js +23 -0
  25. package/dist/translations/de.d.ts +8 -0
  26. package/dist/translations/de.js +23 -0
  27. package/dist/translations/el.d.ts +8 -0
  28. package/dist/translations/el.js +23 -0
  29. package/dist/translations/en-au.d.ts +8 -0
  30. package/dist/translations/en-au.js +23 -0
  31. package/dist/translations/en-gb.d.ts +8 -0
  32. package/dist/translations/en-gb.js +23 -0
  33. package/dist/translations/en.d.ts +8 -0
  34. package/dist/translations/en.js +23 -0
  35. package/dist/translations/es-co.d.ts +8 -0
  36. package/dist/translations/es-co.js +23 -0
  37. package/dist/translations/es.d.ts +8 -0
  38. package/dist/translations/es.js +23 -0
  39. package/dist/translations/et.d.ts +8 -0
  40. package/dist/translations/et.js +23 -0
  41. package/dist/translations/fa.d.ts +8 -0
  42. package/dist/translations/fa.js +23 -0
  43. package/dist/translations/fi.d.ts +8 -0
  44. package/dist/translations/fi.js +23 -0
  45. package/dist/translations/fr.d.ts +8 -0
  46. package/dist/translations/fr.js +23 -0
  47. package/dist/translations/gl.d.ts +8 -0
  48. package/dist/translations/gl.js +23 -0
  49. package/dist/translations/he.d.ts +8 -0
  50. package/dist/translations/he.js +23 -0
  51. package/dist/translations/hi.d.ts +8 -0
  52. package/dist/translations/hi.js +23 -0
  53. package/dist/translations/hr.d.ts +8 -0
  54. package/dist/translations/hr.js +23 -0
  55. package/dist/translations/hu.d.ts +8 -0
  56. package/dist/translations/hu.js +23 -0
  57. package/dist/translations/id.d.ts +8 -0
  58. package/dist/translations/id.js +23 -0
  59. package/dist/translations/it.d.ts +8 -0
  60. package/dist/translations/it.js +23 -0
  61. package/dist/translations/ja.d.ts +8 -0
  62. package/dist/translations/ja.js +23 -0
  63. package/dist/translations/jv.d.ts +8 -0
  64. package/dist/translations/jv.js +23 -0
  65. package/dist/translations/ko.d.ts +8 -0
  66. package/dist/translations/ko.js +23 -0
  67. package/dist/translations/ku.d.ts +8 -0
  68. package/dist/translations/ku.js +23 -0
  69. package/dist/translations/lt.d.ts +8 -0
  70. package/dist/translations/lt.js +23 -0
  71. package/dist/translations/lv.d.ts +8 -0
  72. package/dist/translations/lv.js +23 -0
  73. package/dist/translations/ms.d.ts +8 -0
  74. package/dist/translations/ms.js +23 -0
  75. package/dist/translations/ne.d.ts +8 -0
  76. package/dist/translations/ne.js +23 -0
  77. package/dist/translations/nl.d.ts +8 -0
  78. package/dist/translations/nl.js +23 -0
  79. package/dist/translations/no.d.ts +8 -0
  80. package/dist/translations/no.js +23 -0
  81. package/dist/translations/pl.d.ts +8 -0
  82. package/dist/translations/pl.js +23 -0
  83. package/dist/translations/pt-br.d.ts +8 -0
  84. package/dist/translations/pt-br.js +23 -0
  85. package/dist/translations/pt.d.ts +8 -0
  86. package/dist/translations/pt.js +23 -0
  87. package/dist/translations/ro.d.ts +8 -0
  88. package/dist/translations/ro.js +23 -0
  89. package/dist/translations/ru.d.ts +8 -0
  90. package/dist/translations/ru.js +23 -0
  91. package/dist/translations/sk.d.ts +8 -0
  92. package/dist/translations/sk.js +23 -0
  93. package/dist/translations/sr-latn.d.ts +8 -0
  94. package/dist/translations/sr-latn.js +23 -0
  95. package/dist/translations/sr.d.ts +8 -0
  96. package/dist/translations/sr.js +23 -0
  97. package/dist/translations/sv.d.ts +8 -0
  98. package/dist/translations/sv.js +23 -0
  99. package/dist/translations/th.d.ts +8 -0
  100. package/dist/translations/th.js +23 -0
  101. package/dist/translations/tk.d.ts +8 -0
  102. package/dist/translations/tk.js +23 -0
  103. package/dist/translations/tr.d.ts +8 -0
  104. package/dist/translations/tr.js +23 -0
  105. package/dist/translations/tt.d.ts +8 -0
  106. package/dist/translations/tt.js +23 -0
  107. package/dist/translations/ug.d.ts +8 -0
  108. package/dist/translations/ug.js +23 -0
  109. package/dist/translations/uk.d.ts +8 -0
  110. package/dist/translations/uk.js +23 -0
  111. package/dist/translations/ur.d.ts +8 -0
  112. package/dist/translations/ur.js +23 -0
  113. package/dist/translations/vi.d.ts +8 -0
  114. package/dist/translations/vi.js +23 -0
  115. package/dist/translations/zh-cn.d.ts +8 -0
  116. package/dist/translations/zh-cn.js +23 -0
  117. package/dist/translations/zh.d.ts +8 -0
  118. package/dist/translations/zh.js +23 -0
  119. package/dist/types/augmentation.d.ts +33 -0
  120. package/dist/types/changeitem.d.ts +62 -0
  121. package/dist/types/editor/revisionviewereditor.d.ts +31 -0
  122. package/dist/types/editor/revisionviewereditorui.d.ts +32 -0
  123. package/dist/types/editor/revisionviewereditoruiview.d.ts +47 -0
  124. package/dist/types/index.d.ts +19 -0
  125. package/dist/types/revision.d.ts +157 -0
  126. package/dist/types/revisiondiff.d.ts +28 -0
  127. package/dist/types/revisionhistory.d.ts +103 -0
  128. package/dist/types/revisionhistoryadapter.d.ts +68 -0
  129. package/dist/types/revisionhistoryconfig.d.ts +75 -0
  130. package/dist/types/revisionsrepository.d.ts +56 -0
  131. package/dist/types/revisiontracker.d.ts +89 -0
  132. package/dist/types/revisionviewer.d.ts +29 -0
  133. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +14 -0
  134. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  135. package/dist/types/ui/revision/revisionnameview.d.ts +9 -0
  136. package/dist/types/ui/revision/revisionview.d.ts +99 -0
  137. package/dist/types/ui/revision/subrevisioncollapserview.d.ts +25 -0
  138. package/dist/types/ui/revision/subrevisionview.d.ts +38 -0
  139. package/dist/types/ui/revision/utils.d.ts +9 -0
  140. package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +85 -0
  141. package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +30 -0
  142. package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +48 -0
  143. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +9 -0
  144. package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +33 -0
  145. package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +48 -0
  146. package/dist/types/ui/revisionssidebar/utils.d.ts +13 -0
  147. package/dist/types/ui/revisionviewer/changedetailsview.d.ts +26 -0
  148. package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +44 -0
  149. package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +30 -0
  150. package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +32 -0
  151. package/dist/types/utils/common-translations.d.ts +15 -0
  152. package/package.json +6 -5
  153. package/src/changeitem.js +1 -1
  154. package/src/editor/revisionviewereditor.js +1 -1
  155. package/src/editor/revisionviewereditorui.js +1 -1
  156. package/src/editor/revisionviewereditoruiview.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/revision.js +1 -1
  159. package/src/revisiondiff.js +1 -1
  160. package/src/revisionhistory.js +1 -1
  161. package/src/revisionsrepository.js +1 -1
  162. package/src/revisiontracker.js +1 -1
  163. package/src/revisionviewer.js +1 -1
  164. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  165. package/src/ui/revision/revisionauthorview.js +1 -1
  166. package/src/ui/revision/revisionnameview.js +1 -1
  167. package/src/ui/revision/revisionview.js +1 -1
  168. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  169. package/src/ui/revision/subrevisionview.js +1 -1
  170. package/src/ui/revision/utils.js +1 -1
  171. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  172. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  176. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  177. package/src/ui/revisionssidebar/utils.js +1 -1
  178. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  179. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  180. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  181. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  182. package/src/utils/common-translations.d.ts +1 -1
  183. package/src/utils/common-translations.js +1 -1
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'tk':{'dictionary':{'Restored':'','Empty\x20document':'','Initial\x20revision':'','Compare\x20against\x20selected':'','Name\x20this\x20revision':'','Revision\x20creator':'','Revision\x20author':'','Revision\x20name':'','Name\x20of\x20the\x20revision':'','optional':'','Save\x20current\x20revision':'','Open\x20revision\x20history':'','Revision\x20history':'','Suggested\x20by':'','Added\x20by':'','Removed\x20by':'','Loading...':'','No\x20changes':'','NUMBER_OF_CHANGES':['',''],'X_OF_Y_CHANGES':'1%-iň\x200%-i','Show\x20previous\x20change':'','Show\x20next\x20change':'','Total':'','EDIT_X_OF_Y_REVISIONS':'Redaktirläň','Back\x20to\x20editing':'','Restore\x20this\x20revision':'','PENDING_ACTION_REVISION_HISTORY':'','Enter\x20the\x20revision\x20name':'','The\x20revision\x20name\x20cannot\x20be\x20empty.':''},'getPluralForm':_0x42a784=>0x1!=_0x42a784}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'tr':{'dictionary':{'Restored':'Geri\x20yüklendi','Empty\x20document':'Boş\x20belge','Initial\x20revision':'İlk\x20revizyon','Compare\x20against\x20selected':'Seçilenlerle\x20karşılaştır','Name\x20this\x20revision':'Bu\x20revizyonu\x20adlandırın','Revision\x20creator':'Revizyonu\x20oluşturan','Revision\x20author':'Revizyon\x20yazarı','Revision\x20name':'Revizyon\x20adı','Name\x20of\x20the\x20revision':'Revizyon\x20adı','optional':'isteğe\x20bağlı','Save\x20current\x20revision':'Geçerli\x20revizyonu\x20kaydet','Open\x20revision\x20history':'Revizyon\x20geçmişini\x20aç','Revision\x20history':'Revizyon\x20Geçmişi','Suggested\x20by':'Tarafından\x20önerildi','Added\x20by':'Tarafından\x20eklendi','Removed\x20by':'Tarafından\x20kaldırıldı','Loading...':'Yükleniyor...','No\x20changes':'Değişiklik\x20yok','NUMBER_OF_CHANGES':['%0\x20değişiklik','%0\x20değişiklik'],'X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'Önceki\x20değişikliği\x20göster','Show\x20next\x20change':'Sonraki\x20değişikliği\x20göster','Total':'Toplam','EDIT_X_OF_Y_REVISIONS':'Düzenle','Back\x20to\x20editing':'Düzenlemeye\x20geri\x20dön','Restore\x20this\x20revision':'Bu\x20revizyonu\x20geri\x20yükle','PENDING_ACTION_REVISION_HISTORY':'Revizyon\x20listesinde\x20kaydedilmemiş\x20değişiklik.','Enter\x20the\x20revision\x20name':'Revizyon\x20adını\x20gir','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Revizyon\x20adı\x20boş\x20olamaz.'},'getPluralForm':_0x1cdc98=>_0x1cdc98>0x1}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'tt':{'dictionary':{'Restored':'','Empty\x20document':'','Initial\x20revision':'','Compare\x20against\x20selected':'','Name\x20this\x20revision':'','Revision\x20creator':'','Revision\x20author':'','Revision\x20name':'','Name\x20of\x20the\x20revision':'','optional':'','Save\x20current\x20revision':'','Open\x20revision\x20history':'','Revision\x20history':'','Suggested\x20by':'','Added\x20by':'','Removed\x20by':'','Loading...':'Йөкләнә...','No\x20changes':'','NUMBER_OF_CHANGES':'','X_OF_Y_CHANGES':'','Show\x20previous\x20change':'','Show\x20next\x20change':'','Total':'','EDIT_X_OF_Y_REVISIONS':'Редакцияләү','Back\x20to\x20editing':'','Restore\x20this\x20revision':'','PENDING_ACTION_REVISION_HISTORY':'','Enter\x20the\x20revision\x20name':'','The\x20revision\x20name\x20cannot\x20be\x20empty.':''},'getPluralForm':_0x4b065a=>0x0}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'ug':{'dictionary':{'Restored':'','Empty\x20document':'','Initial\x20revision':'','Compare\x20against\x20selected':'','Name\x20this\x20revision':'','Revision\x20creator':'','Revision\x20author':'','Revision\x20name':'','Name\x20of\x20the\x20revision':'','optional':'','Save\x20current\x20revision':'','Open\x20revision\x20history':'','Revision\x20history':'','Suggested\x20by':'','Added\x20by':'','Removed\x20by':'','Loading...':'','No\x20changes':'','NUMBER_OF_CHANGES':['',''],'X_OF_Y_CHANGES':'%0\x20/\x20%1','Show\x20previous\x20change':'','Show\x20next\x20change':'','Total':'','EDIT_X_OF_Y_REVISIONS':'تەھرىرلەش','Back\x20to\x20editing':'','Restore\x20this\x20revision':'','PENDING_ACTION_REVISION_HISTORY':'','Enter\x20the\x20revision\x20name':'','The\x20revision\x20name\x20cannot\x20be\x20empty.':''},'getPluralForm':_0x22db32=>0x1!=_0x22db32}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'uk':{'dictionary':{'Restored':'Відновлено','Empty\x20document':'Порожній\x20документ','Initial\x20revision':'Початкова\x20редакція','Compare\x20against\x20selected':'Порівняти\x20з\x20вибраним','Name\x20this\x20revision':'Назвіть\x20цю\x20редакцію','Revision\x20creator':'Створювач\x20редакції','Revision\x20author':'Автор\x20редакції','Revision\x20name':'Назва\x20редакції','Name\x20of\x20the\x20revision':'Назва\x20виправлення','optional':'необов\x27язково','Save\x20current\x20revision':'Зберегти\x20поточну\x20редакцію','Open\x20revision\x20history':'Відкрити\x20історію\x20редакцій','Revision\x20history':'Історія\x20редакцій','Suggested\x20by':'Запропоновано','Added\x20by':'Додано','Removed\x20by':'Видалено','Loading...':'Завантаження...','No\x20changes':'Без\x20змін','NUMBER_OF_CHANGES':['%0\x20зміна','%0\x20зміни','%0\x20змін','%0\x20змін'],'X_OF_Y_CHANGES':'%0\x20із\x20%1','Show\x20previous\x20change':'Показати\x20попередню\x20зміну','Show\x20next\x20change':'Показати\x20наступну\x20зміну','Total':'Всього','EDIT_X_OF_Y_REVISIONS':'Редагувати','Back\x20to\x20editing':'Назад\x20до\x20редагування','Restore\x20this\x20revision':'Відновити\x20цю\x20редакцію','PENDING_ACTION_REVISION_HISTORY':'Незбережена\x20зміна\x20в\x20історії\x20редакцій.','Enter\x20the\x20revision\x20name':'Уведіть\x20назву\x20виправлення','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Назва\x20виправлення\x20не\x20може\x20бути\x20порожньою.'},'getPluralForm':_0x1e0581=>_0x1e0581%0x1==0x0&&_0x1e0581%0xa==0x1&&_0x1e0581%0x64!=0xb?0x0:_0x1e0581%0x1==0x0&&_0x1e0581%0xa>=0x2&&_0x1e0581%0xa<=0x4&&(_0x1e0581%0x64<0xc||_0x1e0581%0x64>0xe)?0x1:_0x1e0581%0x1==0x0&&(_0x1e0581%0xa==0x0||_0x1e0581%0xa>=0x5&&_0x1e0581%0xa<=0x9||_0x1e0581%0x64>=0xb&&_0x1e0581%0x64<=0xe)?0x2:0x3}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'ur':{'dictionary':{'Restored':'','Empty\x20document':'','Initial\x20revision':'','Compare\x20against\x20selected':'','Name\x20this\x20revision':'','Revision\x20creator':'','Revision\x20author':'','Revision\x20name':'','Name\x20of\x20the\x20revision':'','optional':'','Save\x20current\x20revision':'','Open\x20revision\x20history':'','Revision\x20history':'','Suggested\x20by':'','Added\x20by':'','Removed\x20by':'','Loading...':'','No\x20changes':'','NUMBER_OF_CHANGES':['',''],'X_OF_Y_CHANGES':'0%\x20میں\x20سے\x201%','Show\x20previous\x20change':'','Show\x20next\x20change':'','Total':'','EDIT_X_OF_Y_REVISIONS':'ترمیم','Back\x20to\x20editing':'','Restore\x20this\x20revision':'','PENDING_ACTION_REVISION_HISTORY':'','Enter\x20the\x20revision\x20name':'','The\x20revision\x20name\x20cannot\x20be\x20empty.':''},'getPluralForm':_0x2dffc5=>0x1!=_0x2dffc5}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'vi':{'dictionary':{'Restored':'Được\x20khôi\x20phục','Empty\x20document':'Tài\x20liệu\x20trống','Initial\x20revision':'Bản\x20sửa\x20đổi\x20ban\x20đầu','Compare\x20against\x20selected':'So\x20sánh\x20với\x20bản\x20sửa\x20đổi\x20được\x20chọn','Name\x20this\x20revision':'Đặt\x20tên\x20cho\x20bản\x20sửa\x20đổi\x20này','Revision\x20creator':'Người\x20lưu\x20bản\x20sửa\x20đổi','Revision\x20author':'Tác\x20giả\x20bản\x20sửa\x20đổi','Revision\x20name':'Tên\x20bản\x20sửa\x20đổi','Name\x20of\x20the\x20revision':'Tên\x20của\x20bản\x20sửa\x20đổi','optional':'không\x20bắt\x20buộc','Save\x20current\x20revision':'Lưu\x20bản\x20sửa\x20đổi\x20hiện\x20tại','Open\x20revision\x20history':'Mở\x20lịch\x20sử\x20sửa\x20đổi','Revision\x20history':'Lịch\x20sử\x20sửa\x20đổi','Suggested\x20by':'Người\x20đề\x20xuất:','Added\x20by':'Người\x20thêm:','Removed\x20by':'Người\x20xóa:','Loading...':'Đang\x20tải...','No\x20changes':'Không\x20có\x20nội\x20dung\x20thay\x20đổi','NUMBER_OF_CHANGES':'%0\x20nội\x20dung\x20thay\x20đổi','X_OF_Y_CHANGES':'%0\x20đến\x20%1','Show\x20previous\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20trước\x20đó','Show\x20next\x20change':'Hiện\x20nội\x20dung\x20thay\x20đổi\x20tiếp\x20theo','Total':'Tổng','EDIT_X_OF_Y_REVISIONS':'Chỉnh\x20sửa','Back\x20to\x20editing':'Quay\x20lại\x20chỉnh\x20sửa','Restore\x20this\x20revision':'Khôi\x20phục\x20bản\x20sửa\x20đổi','PENDING_ACTION_REVISION_HISTORY':'Nội\x20dung\x20thay\x20đổi\x20chưa\x20lưu\x20trong\x20lịch\x20sử\x20sửa\x20đổi','Enter\x20the\x20revision\x20name':'Nhập\x20tên\x20bản\x20sửa\x20đổi','The\x20revision\x20name\x20cannot\x20be\x20empty.':'Không\x20được\x20để\x20trống\x20tên\x20bản\x20sửa\x20đổi.'},'getPluralForm':_0x52bd77=>0x0}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'zh-cn':{'dictionary':{'Restored':'已恢复','Empty\x20document':'空文档','Initial\x20revision':'初始版本','Compare\x20against\x20selected':'对比选中的文字','Name\x20this\x20revision':'给此版本命名','Revision\x20creator':'版本创建者','Revision\x20author':'版本作者','Revision\x20name':'版本名称','Name\x20of\x20the\x20revision':'修订的名称','optional':'可选的','Save\x20current\x20revision':'保存当前版本','Open\x20revision\x20history':'打开版本历史','Revision\x20history':'版本历史','Suggested\x20by':'建议者','Added\x20by':'添加者','Removed\x20by':'移除者','Loading...':'加载中…','No\x20changes':'无变更','NUMBER_OF_CHANGES':'0%\x20处修改','X_OF_Y_CHANGES':'第\x20%0\x20步,共\x20%1\x20步','Show\x20previous\x20change':'显示上一个变更','Show\x20next\x20change':'显示下一个变更','Total':'总计','EDIT_X_OF_Y_REVISIONS':'编辑','Back\x20to\x20editing':'返回编辑','Restore\x20this\x20revision':'恢复至此版本','PENDING_ACTION_REVISION_HISTORY':'版本历史中有未保存的变更。','Enter\x20the\x20revision\x20name':'输入修订名称','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修订版本名称不能为空。'},'getPluralForm':_0x498a87=>0x0}};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ import type { Translations } from 'ckeditor5';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export default{'zh':{'dictionary':{'Restored':'已復原','Empty\x20document':'空文件','Initial\x20revision':'初始修訂','Compare\x20against\x20selected':'與所選作比較','Name\x20this\x20revision':'命名此修訂','Revision\x20creator':'修訂建立者','Revision\x20author':'修訂作者','Revision\x20name':'修訂名稱','Name\x20of\x20the\x20revision':'修訂名稱','optional':'選擇性','Save\x20current\x20revision':'儲存目前的修訂','Open\x20revision\x20history':'開啟修訂記錄','Revision\x20history':'修訂記錄','Suggested\x20by':'建議者','Added\x20by':'新增者','Removed\x20by':'刪除者','Loading...':'載入中……','No\x20changes':'無變更','NUMBER_OF_CHANGES':'%0\x20變更','X_OF_Y_CHANGES':'%0/%1','Show\x20previous\x20change':'顯示上個變更','Show\x20next\x20change':'顯示下個變更','Total':'總計','EDIT_X_OF_Y_REVISIONS':'編輯','Back\x20to\x20editing':'返回至編輯','Restore\x20this\x20revision':'還原此修訂','PENDING_ACTION_REVISION_HISTORY':'修訂記錄中未儲存的變更','Enter\x20the\x20revision\x20name':'輸入修訂名稱','The\x20revision\x20name\x20cannot\x20be\x20empty.':'修訂名稱不可為空白。'},'getPluralForm':_0x3a6eaf=>0x0}};
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the revision history feature.
14
+ * Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
15
+ */
16
+ revisionHistory?: RevisionHistoryConfig;
17
+ }
18
+ interface PluginsMap {
19
+ [RevisionsRepository.pluginName]: RevisionsRepository;
20
+ [RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
21
+ [RevisionHistoryUI.pluginName]: RevisionHistoryUI;
22
+ [RevisionTracker.pluginName]: RevisionTracker;
23
+ [RevisionViewer.pluginName]: RevisionViewer;
24
+ [RevisionViewer.pluginName]: RevisionViewer;
25
+ [RevisionsSidebar.pluginName]: RevisionsSidebar;
26
+ [RevisionViewerUI.pluginName]: RevisionViewerUI;
27
+ }
28
+ interface CommandsMap {
29
+ restoreRevision: RestoreRevisionCommand;
30
+ showPreviousChange: ShowChangeCommand<'backward'>;
31
+ showNextChange: ShowChangeCommand<'forward'>;
32
+ }
33
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
+ declare const ChangeItem_base: {
11
+ new (): import("ckeditor5/src/utils.js").Observable;
12
+ prototype: import("ckeditor5/src/utils.js").Observable;
13
+ };
14
+ /**
15
+ * Represents a singular change entry in the revision or in the revisions comparison.
16
+ */
17
+ export default class ChangeItem extends ChangeItem_base {
18
+ /**
19
+ * Unique change item id.
20
+ */
21
+ readonly id: string;
22
+ /**
23
+ * User who created the change.
24
+ */
25
+ readonly author: User;
26
+ /**
27
+ * Change type.
28
+ */
29
+ readonly type: string;
30
+ /**
31
+ * Additional details about the change.
32
+ */
33
+ readonly data: Record<string, unknown>;
34
+ /**
35
+ * Name of the root which contains the change.
36
+ */
37
+ readonly rootName: string;
38
+ /**
39
+ * The date when the change was created.
40
+ *
41
+ * @observable
42
+ */
43
+ readonly createdAt: Date;
44
+ constructor(data: ChangeItemInput);
45
+ toJSON(): ChangeItemJSON;
46
+ }
47
+ export interface ChangeItemInput {
48
+ id?: string;
49
+ author: User;
50
+ type: string;
51
+ data: Record<string, unknown>;
52
+ createdAt: Date;
53
+ rootName: string;
54
+ }
55
+ export interface ChangeItemJSON {
56
+ id: string;
57
+ authorId: string;
58
+ type: string;
59
+ data: Record<string, unknown>;
60
+ createdAt: Date;
61
+ }
62
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module revision-history/editor/revisionviewereditor
11
+ */
12
+ import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
13
+ import RevisionViewerEditorUI from './revisionviewereditorui.js';
14
+ declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
15
+ /**
16
+ * Editor class used to show revision comparisons.
17
+ */
18
+ export default class RevisionViewerEditor extends RevisionViewerEditor_base {
19
+ get ui(): RevisionViewerEditorUI;
20
+ /**
21
+ * @param sourceElement Editor source element.
22
+ * @param config Editor configuration.
23
+ */
24
+ constructor(sourceElement: HTMLElement, config?: EditorConfig);
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ destroy(): Promise<unknown>;
29
+ static create(sourceElement: HTMLElement, config?: EditorConfig): Promise<RevisionViewerEditor>;
30
+ }
31
+ export {};
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module revision-history/editor/revisionviewereditorui
11
+ */
12
+ import type { Editor } from 'ckeditor5/src/core.js';
13
+ import { EditorUI } from 'ckeditor5/src/ui.js';
14
+ import type RevisionViewerEditorUIView from './revisionviewereditoruiview.js';
15
+ export default class RevisionViewerEditorUI extends EditorUI {
16
+ get view(): RevisionViewerEditorUIView;
17
+ constructor(editor: Editor, view: RevisionViewerEditorUIView);
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ get element(): HTMLElement | null;
22
+ /**
23
+ * Initializes the UI.
24
+ *
25
+ * @param replacementElement The DOM element that will be the source for the created editor.
26
+ */
27
+ init(replacementElement: HTMLElement): void;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ destroy(): void;
32
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module revision-history/editor/revisionviewereditoruiview
11
+ */
12
+ import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from 'ckeditor5/src/ui.js';
13
+ import type { EditingView } from 'ckeditor5/src/engine.js';
14
+ import type { Locale } from 'ckeditor5/src/utils.js';
15
+ import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
16
+ export default class RevisionViewerEditorUIView extends BoxedEditorUIView {
17
+ /**
18
+ * Sticky panel view instance. This is a parent view of a {@link #toolbar}
19
+ * that makes toolbar sticky.
20
+ */
21
+ readonly stickyPanel: StickyPanelView;
22
+ /**
23
+ * Toolbar view instance.
24
+ */
25
+ readonly toolbar: ToolbarView;
26
+ get editable(): InlineEditableUIView;
27
+ /**
28
+ * Creates an instance of the classic editor UI view.
29
+ *
30
+ * @param locale The {@link module:core/editor/editor~Editor#locale} instance.
31
+ * @param editingView The editing view instance this view is related to.
32
+ * @param options Configuration options for the view instance.
33
+ */
34
+ constructor(locale: Locale, editingView: EditingView, options?: RevisionViewerEditorUIViewOptions);
35
+ /**
36
+ * @inheritDoc
37
+ */
38
+ render(): void;
39
+ }
40
+ export interface RevisionViewerEditorUIViewOptions {
41
+ /**
42
+ * When set `true` enables automatic items grouping
43
+ * in the main {@link module:editor-classic/classiceditoruiview~ClassicEditorUIView#toolbar toolbar}.
44
+ * See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
45
+ */
46
+ shouldToolbarGroupWhenFull?: boolean;
47
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ export { default as RevisionHistory } from './revisionhistory.js';
10
+ export { default as RevisionsRepository } from './revisionsrepository.js';
11
+ export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
12
+ export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
13
+ export { default as RevisionTracker } from './revisiontracker.js';
14
+ export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
15
+ export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
16
+ export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
17
+ export type { RevisionData } from './revision.js';
18
+ export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
19
+ import './augmentation.js';