@ckeditor/ckeditor5-track-changes 39.0.0 → 39.0.2

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 (116) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardsuggestioncommand.js +1 -1
  56. package/src/commands/executeonallsuggestionscommand.js +1 -1
  57. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/integrations/alignment.js +1 -1
  60. package/src/integrations/basicstyles.js +1 -1
  61. package/src/integrations/blockquote.js +1 -1
  62. package/src/integrations/ckbox.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/documentlist.js +1 -1
  67. package/src/integrations/documentlistproperties.js +1 -1
  68. package/src/integrations/entercommand.js +1 -1
  69. package/src/integrations/findandreplace.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/formatpainter.js +1 -1
  72. package/src/integrations/heading.js +1 -1
  73. package/src/integrations/highlight.js +1 -1
  74. package/src/integrations/horizontalline.js +1 -1
  75. package/src/integrations/htmlembed.js +1 -1
  76. package/src/integrations/image.js +1 -1
  77. package/src/integrations/imagereplace.js +1 -1
  78. package/src/integrations/importword.js +1 -1
  79. package/src/integrations/indent.js +1 -1
  80. package/src/integrations/inputcommand.js +1 -1
  81. package/src/integrations/link.js +1 -1
  82. package/src/integrations/list.js +1 -1
  83. package/src/integrations/listproperties.js +1 -1
  84. package/src/integrations/mediaembed.js +1 -1
  85. package/src/integrations/mention.js +1 -1
  86. package/src/integrations/pagebreak.js +1 -1
  87. package/src/integrations/paragraph.js +1 -1
  88. package/src/integrations/removeformat.js +1 -1
  89. package/src/integrations/restrictededitingmode.js +1 -1
  90. package/src/integrations/shiftentercommand.js +1 -1
  91. package/src/integrations/standardeditingmode.js +1 -1
  92. package/src/integrations/style.js +1 -1
  93. package/src/integrations/table.js +1 -1
  94. package/src/integrations/tablecaption.js +1 -1
  95. package/src/integrations/tableclipboard.js +1 -1
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.js +1 -1
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.js +1 -1
  100. package/src/integrations/tableproperties.js +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.js +1 -1
  104. package/src/integrations/utils.js +1 -1
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.js +1 -1
  107. package/src/trackchanges.js +1 -1
  108. package/src/trackchangesdata.js +1 -1
  109. package/src/trackchangesediting.d.ts +29 -1
  110. package/src/trackchangesediting.js +1 -1
  111. package/src/trackchangesui.js +1 -1
  112. package/src/ui/suggestioncontroller.js +1 -1
  113. package/src/ui/view/basesuggestionthreadview.js +1 -1
  114. package/src/ui/view/suggestionthreadview.js +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/utils.js +1 -1
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
16
16
  "Language: ar\n"
17
17
  "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
16
16
  "Language: az\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
16
16
  "Language: bg\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
16
16
  "Language: bn\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
16
16
  "Language: ca\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
16
16
  "Language: cs\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
16
16
  "Language: da\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
16
16
  "Language: de\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
16
16
  "Language: el\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
16
16
  "Language: en_AU\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language: \n"
16
16
  "Language-Team: \n"
17
17
  "Plural-Forms: \n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
16
16
  "Language: es\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
16
16
  "Language: et\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
16
16
  "Language: fi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
16
16
  "Language: fr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
16
16
  "Language: gl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
16
16
  "Language: he\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
16
16
  "Language: hi\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
16
16
  "Language: hr\n"
17
17
  "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
16
16
  "Language: hu\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
16
16
  "Language: id\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
16
16
  "Language: it\n"
17
17
  "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
16
16
  "Language: ja\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Korean (https://app.transifex.com/ckeditor/teams/11143/ko/)\n"
16
16
  "Language: ko\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
16
16
  "Language: lt\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
16
16
  "Language: lv\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Malay (https://app.transifex.com/ckeditor/teams/11143/ms/)\n"
16
16
  "Language: ms\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
16
16
  "Language: nl\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
16
16
  "Language: no\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
16
16
  "Language: pl\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
16
16
  "Language: pt_BR\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
16
16
  "Language: pt\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
16
16
  "Language: ro\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
16
16
  "Language: ru\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
16
16
  "Language: sk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
16
16
  "Language: sq\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
16
16
  "Language: sr@latin\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
16
  "Language: sr\n"
17
17
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
16
  "Language: sv\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
16
  "Language: th\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
16
16
  "Language: tk\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
16
  "Language: tr\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Tatar (https://app.transifex.com/ckeditor/teams/11143/tt/)\n"
16
16
  "Language: tt\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
16
  "Language: uk\n"
17
17
  "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
16
16
  "Language: ur\n"
17
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
16
  "Language: vi\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
16
  "Language: zh_CN\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
@@ -15,6 +15,7 @@ msgstr ""
15
15
  "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
16
  "Language: zh_TW\n"
17
17
  "Plural-Forms: nplurals=1; plural=0;\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
18
19
 
19
20
  msgctxt "A suggestion for changing an item to the provided one."
20
21
  msgid "*Change to:* %0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "39.0.0",
3
+ "version": "39.0.2",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -39,14 +39,10 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "ckeditor5": "39.0.0",
43
- "ckeditor5-collaboration": "39.0.0",
42
+ "ckeditor5": "39.0.2",
43
+ "ckeditor5-collaboration": "39.0.2",
44
44
  "lodash-es": "4.17.21"
45
45
  },
46
- "engines": {
47
- "node": ">=16.0.0",
48
- "npm": ">=5.7.1"
49
- },
50
46
  "types": "src/index.d.ts",
51
47
  "obfuscated": true
52
48
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x390b=['refresh','execute','get','editor','acceptSuggestion','getRanges','model','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','isEnabled','TrackChangesEditing','plugins','_suggestions'];(function(_0x41b1db,_0x390b93){const _0x3c581f=function(_0x48d5c7){while(--_0x48d5c7){_0x41b1db['push'](_0x41b1db['shift']());}};_0x3c581f(++_0x390b93);}(_0x390b,0x178));const _0x3c58=function(_0x41b1db,_0x390b93){_0x41b1db=_0x41b1db-0x0;let _0x3c581f=_0x390b[_0x41b1db];return _0x3c581f;};import{Command as _0xea54b7}from'ckeditor5/src/core';import{CKEditorError as _0x2c2fc8}from'ckeditor5/src/utils';export default class M extends _0xea54b7{constructor(_0x4e2291,_0x3768c6){super(_0x4e2291),this[_0x3c58('0x0')]=_0x3768c6,this[_0x3c58('0x1')](),this[_0x3c58('0x9')]=!0x1;}['refresh'](){this[_0x3c58('0xa')]=!0x0;}[_0x3c58('0x2')](_0xe8f83){const _0x16e847=this['_suggestions'][_0x3c58('0x3')](_0xe8f83);if(!_0x16e847)throw new _0x2c2fc8(_0x3c58('0x8'),this);const _0x36de0b=_0x16e847[_0x3c58('0x6')]();this[_0x3c58('0x4')][_0x3c58('0x7')]['canEditAt'](_0x36de0b)&&this[_0x3c58('0x4')][_0x3c58('0xc')][_0x3c58('0x3')](_0x3c58('0xb'))[_0x3c58('0x5')](_0x16e847);}}
23
+ const _0x5059=['_suggestions','acceptSuggestion','_isEnabledBasedOnSelection','isEnabled','refresh','execute','editor','get','getRanges','track-changes-accept-suggestion-not-found','TrackChangesEditing'];(function(_0x24f610,_0x5059d0){const _0x2080f3=function(_0x2ff65e){while(--_0x2ff65e){_0x24f610['push'](_0x24f610['shift']());}};_0x2080f3(++_0x5059d0);}(_0x5059,0xff));const _0x2080=function(_0x24f610,_0x5059d0){_0x24f610=_0x24f610-0x0;let _0x2080f3=_0x5059[_0x24f610];return _0x2080f3;};import{Command as _0x43adc0}from'ckeditor5/src/core';import{CKEditorError as _0x22860d}from'ckeditor5/src/utils';export default class M extends _0x43adc0{constructor(_0x55a88b,_0x3dd9f3){super(_0x55a88b),this[_0x2080('0x9')]=_0x3dd9f3,this[_0x2080('0x2')](),this[_0x2080('0x0')]=!0x1;}['refresh'](){this[_0x2080('0x1')]=!0x0;}[_0x2080('0x3')](_0x3b0040){const _0x19c236=this[_0x2080('0x9')][_0x2080('0x5')](_0x3b0040);if(!_0x19c236)throw new _0x22860d(_0x2080('0x7'),this);const _0xd66c7b=_0x19c236[_0x2080('0x6')]();this['editor']['model']['canEditAt'](_0xd66c7b)&&this[_0x2080('0x4')]['plugins'][_0x2080('0x5')](_0x2080('0x8'))[_0x2080('0xa')](_0x19c236);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1905=['editor','_isEnabledBasedOnSelection','TrackChangesEditing','execute','refresh','get','_suggestions','getRanges'];(function(_0x597918,_0x1905d9){const _0x2b9422=function(_0x7b4fa5){while(--_0x7b4fa5){_0x597918['push'](_0x597918['shift']());}};_0x2b9422(++_0x1905d9);}(_0x1905,0x1dc));const _0x2b94=function(_0x597918,_0x1905d9){_0x597918=_0x597918-0x0;let _0x2b9422=_0x1905[_0x597918];return _0x2b9422;};import{Command as _0x54a139}from'ckeditor5/src/core';import{CKEditorError as _0x191005}from'ckeditor5/src/utils';export default class $ extends _0x54a139{constructor(_0xa1acba,_0x3d2147){super(_0xa1acba),this['_suggestions']=_0x3d2147,this['refresh'](),this[_0x2b94('0x5')]=!0x1;}[_0x2b94('0x0')](){this['isEnabled']=!0x0;}[_0x2b94('0x7')](_0x401858){const _0x1e2695=this[_0x2b94('0x2')][_0x2b94('0x1')](_0x401858);if(!_0x1e2695)throw new _0x191005('track-changes-discard-suggestion-not-found',this);const _0xe04452=_0x1e2695[_0x2b94('0x3')]();this[_0x2b94('0x4')]['model']['canEditAt'](_0xe04452)&&this['editor']['plugins'][_0x2b94('0x1')](_0x2b94('0x6'))['discardSuggestion'](_0x1e2695);}}
23
+ const _0x1a3e=['discardSuggestion','_isEnabledBasedOnSelection','refresh','canEditAt','isEnabled','_suggestions','track-changes-discard-suggestion-not-found','execute','model','editor','get'];(function(_0x2d0f0d,_0x1a3e98){const _0xa1d8b0=function(_0x408805){while(--_0x408805){_0x2d0f0d['push'](_0x2d0f0d['shift']());}};_0xa1d8b0(++_0x1a3e98);}(_0x1a3e,0x121));const _0xa1d8=function(_0x2d0f0d,_0x1a3e98){_0x2d0f0d=_0x2d0f0d-0x0;let _0xa1d8b0=_0x1a3e[_0x2d0f0d];return _0xa1d8b0;};import{Command as _0x4a7b0a}from'ckeditor5/src/core';import{CKEditorError as _0x1fea4e}from'ckeditor5/src/utils';export default class $ extends _0x4a7b0a{constructor(_0x12d0fd,_0x50576e){super(_0x12d0fd),this[_0xa1d8('0x2')]=_0x50576e,this[_0xa1d8('0xa')](),this[_0xa1d8('0x9')]=!0x1;}[_0xa1d8('0xa')](){this[_0xa1d8('0x1')]=!0x0;}[_0xa1d8('0x4')](_0x3c745e){const _0x3ec63f=this[_0xa1d8('0x2')][_0xa1d8('0x7')](_0x3c745e);if(!_0x3ec63f)throw new _0x1fea4e(_0xa1d8('0x3'),this);const _0x179d79=_0x3ec63f['getRanges']();this[_0xa1d8('0x6')][_0xa1d8('0x5')][_0xa1d8('0x0')](_0x179d79)&&this[_0xa1d8('0x6')]['plugins'][_0xa1d8('0x7')]('TrackChangesEditing')[_0xa1d8('0x8')](_0x3ec63f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55e6=['values','_command','some','getRanges','isEnabled','editor','_isEnabledBasedOnSelection','isInContent','model','from','canEditAt','_suggestions'];(function(_0x4b9bf6,_0x55e6bb){const _0x2c40c2=function(_0x3d7b89){while(--_0x3d7b89){_0x4b9bf6['push'](_0x4b9bf6['shift']());}};_0x2c40c2(++_0x55e6bb);}(_0x55e6,0x1a1));const _0x2c40=function(_0x4b9bf6,_0x55e6bb){_0x4b9bf6=_0x4b9bf6-0x0;let _0x2c40c2=_0x55e6[_0x4b9bf6];return _0x2c40c2;};import{Command as _0x7ee9a9}from'ckeditor5/src/core';import{sortSuggestions as _0x5e7e13,executeCommandForSuggestions as _0x3de26f}from'../utils/utils';export default class N extends _0x7ee9a9{constructor(_0x2dd820,_0x345e2d,_0x20332e){super(_0x2dd820),this[_0x2c40('0x4')]=_0x345e2d,this[_0x2c40('0x2')]=_0x20332e,this['refresh'](),this[_0x2c40('0x9')]=!0x1;}['refresh'](){const _0x43840b=Array[_0x2c40('0x0')](this[_0x2c40('0x2')]['values']())[_0x2c40('0x5')](_0x5dc094=>_0x5dc094[_0x2c40('0xa')]);this[_0x2c40('0x7')]=this[_0x2c40('0x4')]['isEnabled']&&_0x43840b;}['execute'](){const _0x57a458=_0x5e7e13(Array[_0x2c40('0x0')](this[_0x2c40('0x2')][_0x2c40('0x3')]()));for(const _0x513925 of _0x57a458){const _0x343e4a=_0x513925[_0x2c40('0x6')]();if(!this['editor'][_0x2c40('0xb')][_0x2c40('0x1')](_0x343e4a))return;}_0x3de26f(this[_0x2c40('0x8')][_0x2c40('0xb')],this[_0x2c40('0x4')],_0x57a458);}}
23
+ const _0x2699=['refresh','canEditAt','from','getRanges','some','_isEnabledBasedOnSelection','_suggestions','isInContent','_command','values','editor','model','isEnabled'];(function(_0x4be917,_0x269985){const _0x3b5de0=function(_0xbcd2a9){while(--_0xbcd2a9){_0x4be917['push'](_0x4be917['shift']());}};_0x3b5de0(++_0x269985);}(_0x2699,0x1a3));const _0x3b5d=function(_0x4be917,_0x269985){_0x4be917=_0x4be917-0x0;let _0x3b5de0=_0x2699[_0x4be917];return _0x3b5de0;};import{Command as _0xfe1a07}from'ckeditor5/src/core';import{sortSuggestions as _0x1d5b17,executeCommandForSuggestions as _0x5bcca3}from'../utils/utils';export default class N extends _0xfe1a07{constructor(_0x378731,_0x33edce,_0x10b5a1){super(_0x378731),this[_0x3b5d('0x5')]=_0x33edce,this[_0x3b5d('0x3')]=_0x10b5a1,this[_0x3b5d('0xa')](),this[_0x3b5d('0x2')]=!0x1;}[_0x3b5d('0xa')](){const _0x3aea3c=Array[_0x3b5d('0xc')](this[_0x3b5d('0x3')][_0x3b5d('0x6')]())[_0x3b5d('0x1')](_0x4be91c=>_0x4be91c[_0x3b5d('0x4')]);this[_0x3b5d('0x9')]=this[_0x3b5d('0x5')]['isEnabled']&&_0x3aea3c;}['execute'](){const _0x4eba7c=_0x1d5b17(Array[_0x3b5d('0xc')](this[_0x3b5d('0x3')][_0x3b5d('0x6')]()));for(const _0x3d01c0 of _0x4eba7c){const _0x3b5664=_0x3d01c0[_0x3b5d('0x0')]();if(!this['editor'][_0x3b5d('0x8')][_0x3b5d('0xb')](_0x3b5664))return;}_0x5bcca3(this[_0x3b5d('0x7')][_0x3b5d('0x8')],this[_0x3b5d('0x5')],_0x4eba7c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x412c=['_command','document','isEnabled','_selectedSuggestions','_suggestions','editor','model','selection','values','getRanges','canEditAt','_isEnabledBasedOnSelection','size','refresh'];(function(_0x61b157,_0x412c98){const _0x196aa5=function(_0x1b8b66){while(--_0x1b8b66){_0x61b157['push'](_0x61b157['shift']());}};_0x196aa5(++_0x412c98);}(_0x412c,0x7d));const _0x196a=function(_0x61b157,_0x412c98){_0x61b157=_0x61b157-0x0;let _0x196aa5=_0x412c[_0x61b157];return _0x196aa5;};import{Command as _0x47827b}from'ckeditor5/src/core';import{sortSuggestions as _0xefdf91,getSelectedSuggestions as _0x1f5699,executeCommandForSuggestions as _0x432630}from'../utils/utils';export default class R extends _0x47827b{constructor(_0x50e210,_0x2cc510,_0x53b09d){super(_0x50e210),this[_0x196a('0x1')]=_0x2cc510,this[_0x196a('0x5')]=_0x53b09d,this['_selectedSuggestions']=new Set(),this[_0x196a('0x0')](),this[_0x196a('0xc')]=!0x1;}[_0x196a('0x0')](){const _0x3afbb4=this[_0x196a('0x6')]['model'][_0x196a('0x2')][_0x196a('0x8')],_0x4ae3a3=Array['from'](this[_0x196a('0x5')][_0x196a('0x9')]());this[_0x196a('0x4')]=_0x1f5699(_0x3afbb4,_0x4ae3a3),this['isEnabled']=this[_0x196a('0x1')][_0x196a('0x3')]&&!!this[_0x196a('0x4')][_0x196a('0xd')];}['execute'](){const _0x4ca4c8=_0xefdf91(Array['from'](this[_0x196a('0x4')]));for(const _0x7f5f46 of _0x4ca4c8){const _0x29d2b3=_0x7f5f46[_0x196a('0xa')]();if(!this['editor'][_0x196a('0x7')][_0x196a('0xb')](_0x29d2b3))return;}_0x432630(this[_0x196a('0x6')][_0x196a('0x7')],this[_0x196a('0x1')],_0x4ca4c8);}}
23
+ const _0x3731=['execute','document','isEnabled','_command','getRanges','values','canEditAt','_suggestions','from','_selectedSuggestions','model','refresh'];(function(_0x272171,_0x373127){const _0x5b8e5a=function(_0x3a2f95){while(--_0x3a2f95){_0x272171['push'](_0x272171['shift']());}};_0x5b8e5a(++_0x373127);}(_0x3731,0x108));const _0x5b8e=function(_0x272171,_0x373127){_0x272171=_0x272171-0x0;let _0x5b8e5a=_0x3731[_0x272171];return _0x5b8e5a;};import{Command as _0x2f63f2}from'ckeditor5/src/core';import{sortSuggestions as _0x32d791,getSelectedSuggestions as _0x25fc28,executeCommandForSuggestions as _0xfbc984}from'../utils/utils';export default class R extends _0x2f63f2{constructor(_0x2dc74a,_0x372e2f,_0x17bb27){super(_0x2dc74a),this[_0x5b8e('0x3')]=_0x372e2f,this[_0x5b8e('0x7')]=_0x17bb27,this['_selectedSuggestions']=new Set(),this[_0x5b8e('0xb')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x5b8e('0xb')](){const _0x5525d=this['editor']['model'][_0x5b8e('0x1')]['selection'],_0x3cedea=Array['from'](this[_0x5b8e('0x7')][_0x5b8e('0x5')]());this[_0x5b8e('0x9')]=_0x25fc28(_0x5525d,_0x3cedea),this[_0x5b8e('0x2')]=this['_command']['isEnabled']&&!!this[_0x5b8e('0x9')]['size'];}[_0x5b8e('0x0')](){const _0x3701b8=_0x32d791(Array[_0x5b8e('0x8')](this[_0x5b8e('0x9')]));for(const _0xc4102c of _0x3701b8){const _0x5e75b2=_0xc4102c[_0x5b8e('0x4')]();if(!this['editor'][_0x5b8e('0xa')][_0x5b8e('0x6')](_0x5e75b2))return;}_0xfbc984(this['editor'][_0x5b8e('0xa')],this['_command'],_0x3701b8);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e29=['execute','TrackChangesCommand','_enabledCommands','_isEnabledBasedOnSelection','_enableCommands','refresh','has','value','affectsData','_disableUnsupportedCommands','commands','editor','isEnabled','clearForceDisabled'];(function(_0x5a25ed,_0x1e298d){const _0x219c6f=function(_0x1d7e37){while(--_0x1d7e37){_0x5a25ed['push'](_0x5a25ed['shift']());}};_0x219c6f(++_0x1e298d);}(_0x1e29,0x1df));const _0x219c=function(_0x5a25ed,_0x1e298d){_0x5a25ed=_0x5a25ed-0x0;let _0x219c6f=_0x1e29[_0x5a25ed];return _0x219c6f;};import{Command as _0x80d1a2}from'ckeditor5/src/core';export default class _ extends _0x80d1a2{constructor(_0x4a4a6f,_0x163b04){super(_0x4a4a6f),this[_0x219c('0xd')]=_0x163b04,this['value']=!0x1,this[_0x219c('0x2')](),this[_0x219c('0x0')]=!0x1;}['refresh'](){this[_0x219c('0x9')]=!0x0;}[_0x219c('0xb')](){this[_0x219c('0x4')]=!this['value'],this[_0x219c('0x4')]?this[_0x219c('0x6')]():this[_0x219c('0x1')]();}['_disableUnsupportedCommands'](){for(const _0x103a00 of this[_0x219c('0x8')][_0x219c('0x7')][_0x219c('0x7')]())_0x103a00[_0x219c('0x5')]&&!this[_0x219c('0xd')][_0x219c('0x3')](_0x103a00)&&_0x103a00['forceDisabled'](_0x219c('0xc'));}[_0x219c('0x1')](){for(const _0x20c922 of this[_0x219c('0x8')][_0x219c('0x7')][_0x219c('0x7')]())_0x20c922['affectsData']&&!this[_0x219c('0xd')][_0x219c('0x3')](_0x20c922)&&_0x20c922[_0x219c('0xa')](_0x219c('0xc'));}}
23
+ const _0x20ef=['_enableCommands','value','has','TrackChangesCommand','_enabledCommands','forceDisabled','affectsData','refresh','_disableUnsupportedCommands','editor','commands','isEnabled'];(function(_0x59228c,_0x20ef40){const _0x3ff206=function(_0x3f607d){while(--_0x3f607d){_0x59228c['push'](_0x59228c['shift']());}};_0x3ff206(++_0x20ef40);}(_0x20ef,0x1da));const _0x3ff2=function(_0x59228c,_0x20ef40){_0x59228c=_0x59228c-0x0;let _0x3ff206=_0x20ef[_0x59228c];return _0x3ff206;};import{Command as _0x47bf0a}from'ckeditor5/src/core';export default class _ extends _0x47bf0a{constructor(_0x4ea771,_0x424329){super(_0x4ea771),this[_0x3ff2('0xa')]=_0x424329,this[_0x3ff2('0x7')]=!0x1,this[_0x3ff2('0x1')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x3ff2('0x1')](){this[_0x3ff2('0x5')]=!0x0;}['execute'](){this[_0x3ff2('0x7')]=!this[_0x3ff2('0x7')],this[_0x3ff2('0x7')]?this[_0x3ff2('0x2')]():this[_0x3ff2('0x6')]();}['_disableUnsupportedCommands'](){for(const _0x24d28d of this[_0x3ff2('0x3')]['commands'][_0x3ff2('0x4')]())_0x24d28d[_0x3ff2('0x0')]&&!this[_0x3ff2('0xa')][_0x3ff2('0x8')](_0x24d28d)&&_0x24d28d[_0x3ff2('0xb')](_0x3ff2('0x9'));}[_0x3ff2('0x6')](){for(const _0x50ac4d of this[_0x3ff2('0x3')][_0x3ff2('0x4')][_0x3ff2('0x4')]())_0x50ac4d[_0x3ff2('0x0')]&&!this[_0x3ff2('0xa')][_0x3ff2('0x8')](_0x50ac4d)&&_0x50ac4d['clearForceDisabled'](_0x3ff2('0x9'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf2b8=['model','schema','document','center','enableCommand','editor','AlignmentEditing','FORMAT_ALIGN_TO_CENTER','plugins','TrackChangesEditing','getAttribute','change','from','getSelectedBlocks','alignment','right','locale','value','justify','afterInit','FORMAT_ALIGN_TO_RIGHT','registerDescriptionCallback','contentLanguageDirection','get','commandName','left','selection','checkAttribute','markBlockFormat'];(function(_0xe4f6ed,_0xf2b8f5){const _0x1df4ce=function(_0x57c845){while(--_0x57c845){_0xe4f6ed['push'](_0xe4f6ed['shift']());}};_0x1df4ce(++_0xf2b8f5);}(_0xf2b8,0xa0));const _0x1df4=function(_0xe4f6ed,_0xf2b8f5){_0xe4f6ed=_0xe4f6ed-0x0;let _0x1df4ce=_0xf2b8[_0xe4f6ed];return _0x1df4ce;};import{Plugin as _0x718a47}from'ckeditor5/src/core';import{getTranslation as _0x31e88d}from'../utils/common-translations';export default class x extends _0x718a47{[_0x1df4('0x4')](){const _0x52469c=this[_0x1df4('0x13')],_0x5b0569=_0x52469c['locale'];if(!_0x52469c['plugins']['has'](_0x1df4('0x14')))return;const _0x332e7a=_0x52469c[_0x1df4('0x16')][_0x1df4('0x8')](_0x1df4('0x17'));_0x332e7a[_0x1df4('0x12')](_0x1df4('0x1c'),(_0x586499,_0x19db20={})=>{let _0x12bebc=_0x19db20['value'];_0x19db20[_0x1df4('0x2')]||(_0x12bebc='ltr'===_0x52469c[_0x1df4('0x1')][_0x1df4('0x7')]?'left':_0x1df4('0x0'));const _0x496fb=Array[_0x1df4('0x1a')](this[_0x1df4('0x13')][_0x1df4('0xe')][_0x1df4('0x10')][_0x1df4('0xb')][_0x1df4('0x1b')]())['filter'](_0x2926be=>function(_0x5a790f,_0x2e8165,_0x5e7751){const _0x49a342=_0x5a790f[_0x1df4('0x18')](_0x1df4('0x1c'))||null;return _0x2e8165[_0x1df4('0xc')](_0x5a790f,'alignment')&&_0x5e7751!=_0x49a342;}(_0x2926be,this[_0x1df4('0x13')][_0x1df4('0xe')][_0x1df4('0xf')],_0x12bebc));_0x52469c[_0x1df4('0xe')][_0x1df4('0x19')](()=>{for(const _0xd8768f of _0x496fb)_0x332e7a[_0x1df4('0xd')](_0xd8768f,{'commandName':'alignment','commandParams':[{'value':_0x12bebc}]});});}),_0x332e7a['_descriptionFactory'][_0x1df4('0x6')](_0x33272c=>{const {data:_0x58d3a8}=_0x33272c;if(_0x58d3a8&&_0x1df4('0x1c')==_0x58d3a8[_0x1df4('0x9')]){const _0x2e848e=_0x58d3a8['commandParams'][0x0][_0x1df4('0x2')];return{'type':'format','content':_0x31e88d(_0x5b0569,'*Format:*\x20%0',function(_0x431424){switch(_0x431424){case _0x1df4('0xa'):return _0x31e88d(_0x5b0569,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x31e88d(_0x5b0569,_0x1df4('0x5'));case _0x1df4('0x11'):return _0x31e88d(_0x5b0569,_0x1df4('0x15'));case _0x1df4('0x3'):return _0x31e88d(_0x5b0569,'FORMAT_JUSTIFY_TEXT');}}(_0x2e848e))};}});}}
23
+ const _0x3e3f=['_descriptionFactory','from','document','FORMAT_JUSTIFY_TEXT','selection','commandParams','markBlockFormat','right','format','value','change','commandName','editor','getSelectedBlocks','getAttribute','checkAttribute','plugins','schema','*Format:*\x20%0','AlignmentEditing','get','FORMAT_ALIGN_TO_LEFT','ltr','contentLanguageDirection','filter','TrackChangesEditing','model','left','alignment'];(function(_0x422c5d,_0x3e3f97){const _0x749ba1=function(_0x32d9e0){while(--_0x32d9e0){_0x422c5d['push'](_0x422c5d['shift']());}};_0x749ba1(++_0x3e3f97);}(_0x3e3f,0x17a));const _0x749b=function(_0x422c5d,_0x3e3f97){_0x422c5d=_0x422c5d-0x0;let _0x749ba1=_0x3e3f[_0x422c5d];return _0x749ba1;};import{Plugin as _0x1b353d}from'ckeditor5/src/core';import{getTranslation as _0x5c5951}from'../utils/common-translations';export default class j extends _0x1b353d{['afterInit'](){const _0x4d3161=this[_0x749b('0xb')],_0x1778e2=_0x4d3161['locale'];if(!_0x4d3161[_0x749b('0xf')]['has'](_0x749b('0x12')))return;const _0x57190a=_0x4d3161[_0x749b('0xf')][_0x749b('0x13')](_0x749b('0x18'));_0x57190a['enableCommand']('alignment',(_0x163dec,_0xa9a126={})=>{let _0x526fba=_0xa9a126[_0x749b('0x8')];_0xa9a126[_0x749b('0x8')]||(_0x526fba=_0x749b('0x15')===_0x4d3161['locale'][_0x749b('0x16')]?_0x749b('0x1a'):_0x749b('0x6'));const _0x4f5f1e=Array[_0x749b('0x0')](this[_0x749b('0xb')]['model'][_0x749b('0x1')][_0x749b('0x3')][_0x749b('0xc')]())[_0x749b('0x17')](_0x2eb075=>function(_0x26b19a,_0x35baba,_0x1c7afc){const _0x46b88f=_0x26b19a[_0x749b('0xd')](_0x749b('0x1b'))||null;return _0x35baba[_0x749b('0xe')](_0x26b19a,_0x749b('0x1b'))&&_0x1c7afc!=_0x46b88f;}(_0x2eb075,this[_0x749b('0xb')][_0x749b('0x19')][_0x749b('0x10')],_0x526fba));_0x4d3161[_0x749b('0x19')][_0x749b('0x9')](()=>{for(const _0x19a656 of _0x4f5f1e)_0x57190a[_0x749b('0x5')](_0x19a656,{'commandName':_0x749b('0x1b'),'commandParams':[{'value':_0x526fba}]});});}),_0x57190a[_0x749b('0x1c')]['registerDescriptionCallback'](_0xfffeab=>{const {data:_0x4597c7}=_0xfffeab;if(_0x4597c7&&_0x749b('0x1b')==_0x4597c7[_0x749b('0xa')]){const _0x451f56=_0x4597c7[_0x749b('0x4')][0x0][_0x749b('0x8')];return{'type':_0x749b('0x7'),'content':_0x5c5951(_0x1778e2,_0x749b('0x11'),function(_0x32da0e){switch(_0x32da0e){case _0x749b('0x1a'):return _0x5c5951(_0x1778e2,_0x749b('0x14'));case _0x749b('0x6'):return _0x5c5951(_0x1778e2,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x5c5951(_0x1778e2,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x5c5951(_0x1778e2,_0x749b('0x2'));}}(_0x451f56))};}});}}