@ckeditor/ckeditor5-track-changes 35.0.1 → 35.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 (153) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -0
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -0
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -1
  49. package/lang/translations/ar.po +4 -0
  50. package/lang/translations/az.po +4 -0
  51. package/lang/translations/bg.po +4 -0
  52. package/lang/translations/bn.po +4 -0
  53. package/lang/translations/ca.po +4 -0
  54. package/lang/translations/cs.po +4 -0
  55. package/lang/translations/da.po +4 -0
  56. package/lang/translations/de.po +4 -0
  57. package/lang/translations/el.po +4 -0
  58. package/lang/translations/en-au.po +4 -0
  59. package/lang/translations/en.po +4 -0
  60. package/lang/translations/es.po +4 -0
  61. package/lang/translations/et.po +4 -0
  62. package/lang/translations/fi.po +4 -0
  63. package/lang/translations/fr.po +4 -0
  64. package/lang/translations/gl.po +4 -0
  65. package/lang/translations/he.po +4 -0
  66. package/lang/translations/hi.po +4 -0
  67. package/lang/translations/hr.po +4 -0
  68. package/lang/translations/hu.po +4 -0
  69. package/lang/translations/id.po +4 -0
  70. package/lang/translations/it.po +4 -0
  71. package/lang/translations/ja.po +4 -0
  72. package/lang/translations/ko.po +27 -23
  73. package/lang/translations/lt.po +4 -0
  74. package/lang/translations/lv.po +4 -0
  75. package/lang/translations/ms.po +4 -0
  76. package/lang/translations/nl.po +4 -0
  77. package/lang/translations/no.po +4 -0
  78. package/lang/translations/pl.po +4 -0
  79. package/lang/translations/pt-br.po +4 -0
  80. package/lang/translations/pt.po +4 -0
  81. package/lang/translations/ro.po +4 -0
  82. package/lang/translations/ru.po +4 -0
  83. package/lang/translations/sk.po +4 -0
  84. package/lang/translations/sr-latn.po +4 -0
  85. package/lang/translations/sr.po +4 -0
  86. package/lang/translations/sv.po +4 -0
  87. package/lang/translations/th.po +4 -0
  88. package/lang/translations/tk.po +4 -0
  89. package/lang/translations/tr.po +4 -0
  90. package/lang/translations/tt.po +383 -0
  91. package/lang/translations/uk.po +4 -0
  92. package/lang/translations/ur.po +401 -0
  93. package/lang/translations/vi.po +4 -0
  94. package/lang/translations/zh-cn.po +4 -0
  95. package/lang/translations/zh.po +4 -0
  96. package/package.json +4 -4
  97. package/src/commands/acceptallsuggestionscommand.js +1 -1
  98. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardallsuggestionscommand.js +1 -1
  101. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/entercommand.js +1 -1
  112. package/src/integrations/font.js +1 -1
  113. package/src/integrations/heading.js +1 -1
  114. package/src/integrations/highlight.js +1 -1
  115. package/src/integrations/horizontalline.js +1 -1
  116. package/src/integrations/htmlembed.js +1 -1
  117. package/src/integrations/image.js +1 -1
  118. package/src/integrations/importword.js +23 -0
  119. package/src/integrations/indent.js +1 -1
  120. package/src/integrations/inputcommand.js +1 -1
  121. package/src/integrations/link.js +1 -1
  122. package/src/integrations/list.js +1 -1
  123. package/src/integrations/mediaembed.js +1 -1
  124. package/src/integrations/mention.js +1 -1
  125. package/src/integrations/pagebreak.js +1 -1
  126. package/src/integrations/paragraph.js +1 -1
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.js +1 -1
  129. package/src/integrations/shiftentercommand.js +1 -1
  130. package/src/integrations/standardeditingmode.js +1 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tableclipboard.js +1 -1
  134. package/src/integrations/tableheadings.js +1 -1
  135. package/src/integrations/tablemergesplit.js +1 -1
  136. package/src/integrations/title.js +1 -1
  137. package/src/integrations/undo.js +1 -1
  138. package/src/integrations/utils.js +1 -1
  139. package/src/suggestion.js +1 -1
  140. package/src/suggestiondescriptionfactory.js +1 -1
  141. package/src/trackchanges.js +1 -1
  142. package/src/trackchangesdata.js +1 -1
  143. package/src/trackchangesediting.js +1 -1
  144. package/src/trackchangesui.js +1 -1
  145. package/src/ui/suggestioncontroller.js +1 -1
  146. package/src/ui/view/basesuggestionthreadview.js +1 -1
  147. package/src/ui/view/suggestionthreadview.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
  149. package/src/utils/getrangesofblockgroups.js +1 -1
  150. package/src/utils/getselectedsuggestions.js +1 -1
  151. package/src/utils/hashobject.js +1 -1
  152. package/src/utils/normalizedescription.js +1 -1
  153. package/src/utils/sortsuggestions.js +1 -1
@@ -0,0 +1,401 @@
1
+ # Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Urdu (https://www.transifex.com/ckeditor/teams/11143/ur/)\n"
16
+ "Language: ur\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A suggestion for changing an item to the provided one."
20
+ msgid "*Change to:* %0"
21
+ msgstr ""
22
+
23
+ msgctxt "A suggestion for changing a content of a widget."
24
+ msgid "*Change %0 content*"
25
+ msgstr ""
26
+
27
+ msgctxt "A suggestion for checking a to-do list item."
28
+ msgid "*Check item*"
29
+ msgstr ""
30
+
31
+ msgctxt "A suggestion for setting inline formatting."
32
+ msgid "*Format:* %0"
33
+ msgstr ""
34
+
35
+ msgctxt "A suggestion for indenting an item."
36
+ msgid "*Indent:* %0"
37
+ msgstr ""
38
+
39
+ msgctxt "A suggestion for inserting an item."
40
+ msgid "*Insert:* %0"
41
+ msgstr ""
42
+
43
+ msgctxt "A suggestion for merging cells."
44
+ msgid "*Merge cells*"
45
+ msgstr ""
46
+
47
+ msgctxt "A suggestion for merging items."
48
+ msgid "*Merge:* %0"
49
+ msgstr ""
50
+
51
+ msgctxt "A suggestion for outdenting an item."
52
+ msgid "*Outdent:* %0"
53
+ msgstr ""
54
+
55
+ msgctxt "A suggestion for removing all formatting."
56
+ msgid "*Remove all formatting*"
57
+ msgstr ""
58
+
59
+ msgctxt "A suggestion for removing an inline format."
60
+ msgid "*Remove format:* %0"
61
+ msgstr ""
62
+
63
+ msgctxt "A suggestion for removing the highlight."
64
+ msgid "*Remove highlight*"
65
+ msgstr ""
66
+
67
+ msgctxt "A suggestion for removing image text alternative."
68
+ msgid "*Remove image text alternative*"
69
+ msgstr ""
70
+
71
+ msgctxt "A suggestion for removing the link."
72
+ msgid "*Remove link*"
73
+ msgstr ""
74
+
75
+ msgctxt "A suggestion for removing an item."
76
+ msgid "*Remove:* %0"
77
+ msgstr ""
78
+
79
+ msgctxt "A suggestion for replacing table cells (table pasting)."
80
+ msgid "*Replace table cells*"
81
+ msgstr ""
82
+
83
+ msgctxt "A suggestion for resetting the font background color."
84
+ msgid "*Reset font background color*"
85
+ msgstr ""
86
+
87
+ msgctxt "A suggestion for resetting the font color."
88
+ msgid "*Reset font color*"
89
+ msgstr ""
90
+
91
+ msgctxt "A suggestion for resetting the font family."
92
+ msgid "*Reset font family*"
93
+ msgstr ""
94
+
95
+ msgctxt "A suggestion for resetting the font size."
96
+ msgid "*Reset font size*"
97
+ msgstr ""
98
+
99
+ msgctxt "A suggestion for resetting image width."
100
+ msgid "*Reset image width*"
101
+ msgstr ""
102
+
103
+ msgctxt "A suggestion for setting the font background color to %0."
104
+ msgid "*Set font background color:* %0"
105
+ msgstr ""
106
+
107
+ msgctxt "A suggestion for setting the font color to %0."
108
+ msgid "*Set font color:* %0"
109
+ msgstr ""
110
+
111
+ msgctxt "A suggestion for setting the font family to %0."
112
+ msgid "*Set font family:* %0"
113
+ msgstr ""
114
+
115
+ msgctxt "A suggestion for setting the font size to %0."
116
+ msgid "*Set font size:* %0"
117
+ msgstr ""
118
+
119
+ msgctxt "A suggestion for highlighting text."
120
+ msgid "*Set highlight:* %0"
121
+ msgstr ""
122
+
123
+ msgctxt "A suggestion for setting image text alternative to %0."
124
+ msgid "*Set image text alternative:* %0"
125
+ msgstr ""
126
+
127
+ msgctxt "A suggestion for setting the image width to %0."
128
+ msgid "*Set image width:* %0"
129
+ msgstr ""
130
+
131
+ msgctxt "A suggestion for setting the link URL."
132
+ msgid "*Set link:* %0"
133
+ msgstr ""
134
+
135
+ msgctxt "A suggestion for splitting cells horizontally."
136
+ msgid "*Split cell:* horizontally"
137
+ msgstr ""
138
+
139
+ msgctxt "A suggestion for splitting cells vertically."
140
+ msgid "*Split cell:* vertically"
141
+ msgstr ""
142
+
143
+ msgctxt "A suggestion for splitting the item."
144
+ msgid "*Split:* %0"
145
+ msgstr ""
146
+
147
+ msgctxt "A suggestion for unchecking a to-do list item."
148
+ msgid "*Uncheck item*"
149
+ msgstr ""
150
+
151
+ msgctxt "The label for the button which accepts all selected suggestions."
152
+ msgid "Accept all selected suggestions"
153
+ msgstr ""
154
+
155
+ msgctxt "The label for the button which accepts all suggestions."
156
+ msgid "Accept all suggestions"
157
+ msgstr ""
158
+
159
+ msgctxt "The label for the accept suggestion button."
160
+ msgid "Accept suggestion"
161
+ msgstr ""
162
+
163
+ msgctxt "The label for the button which discards all selected suggestions."
164
+ msgid "Discard all selected suggestions"
165
+ msgstr ""
166
+
167
+ msgctxt "The label for the button which discards all suggestions."
168
+ msgid "Discard all suggestions"
169
+ msgstr ""
170
+
171
+ msgctxt "The label for the discard suggestion button."
172
+ msgid "Discard suggestion"
173
+ msgstr ""
174
+
175
+ msgctxt "The block quote element name displayed in the suggestion."
176
+ msgid "ELEMENT_BLOCK_QUOTE"
177
+ msgstr "کوڈ خانہ"
178
+
179
+ msgctxt "The bulleted list element name displayed in the suggestion."
180
+ msgid "ELEMENT_BULLETED_LIST"
181
+ msgstr ""
182
+
183
+ msgctxt "The caption element name displayed in the suggestion."
184
+ msgid "ELEMENT_CAPTION"
185
+ msgstr ""
186
+
187
+ msgctxt "The code block element name displayed in the suggestion."
188
+ msgid "ELEMENT_CODE_BLOCK"
189
+ msgid_plural "%0 code blocks"
190
+ msgstr[0] "کوڈ خانہ"
191
+ msgstr[1] "%0 کوڈ خانے"
192
+
193
+ msgctxt "The heading element name displayed in the suggestion."
194
+ msgid "ELEMENT_HEADING"
195
+ msgid_plural "%0 headings (level %1)"
196
+ msgstr[0] ""
197
+ msgstr[1] ""
198
+
199
+ msgctxt "The heading element name displayed in the suggestion with a custom title."
200
+ msgid "ELEMENT_HEADING_CUSTOM"
201
+ msgid_plural "%0 headings (%1)"
202
+ msgstr[0] ""
203
+ msgstr[1] ""
204
+
205
+ msgctxt "The horizontal line element name displayed in the suggestion."
206
+ msgid "ELEMENT_HORIZONTAL_LINE"
207
+ msgid_plural "%0 horizontal lines"
208
+ msgstr[0] ""
209
+ msgstr[1] ""
210
+
211
+ msgctxt "The HTML embed element name displayed in the suggestion."
212
+ msgid "ELEMENT_HTML_EMBED"
213
+ msgid_plural "%0 HTML embeds"
214
+ msgstr[0] ""
215
+ msgstr[1] ""
216
+
217
+ msgctxt "The image element name displayed in the suggestion."
218
+ msgid "ELEMENT_IMAGE"
219
+ msgid_plural "%0 images"
220
+ msgstr[0] ""
221
+ msgstr[1] ""
222
+
223
+ msgctxt "The inline image element name displayed in the suggestion."
224
+ msgid "ELEMENT_INLINE_IMAGE"
225
+ msgid_plural "%0 images"
226
+ msgstr[0] ""
227
+ msgstr[1] ""
228
+
229
+ msgctxt "The line break element name displayed in the suggestion."
230
+ msgid "ELEMENT_LINE_BREAK"
231
+ msgid_plural "%0 line breaks"
232
+ msgstr[0] ""
233
+ msgstr[1] ""
234
+
235
+ msgctxt "The list item element name displayed in the suggestion."
236
+ msgid "ELEMENT_LIST_ITEM"
237
+ msgid_plural "%0 list items"
238
+ msgstr[0] ""
239
+ msgstr[1] ""
240
+
241
+ msgctxt "The media element name displayed in the suggestion."
242
+ msgid "ELEMENT_MEDIA"
243
+ msgid_plural "%0 media items"
244
+ msgstr[0] ""
245
+ msgstr[1] ""
246
+
247
+ msgctxt "The numbered list element name displayed in the suggestion."
248
+ msgid "ELEMENT_NUMBERED_LIST"
249
+ msgstr ""
250
+
251
+ msgctxt "The page break element name displayed in the suggestion."
252
+ msgid "ELEMENT_PAGE_BREAK"
253
+ msgid_plural "%0 page breaks"
254
+ msgstr[0] ""
255
+ msgstr[1] ""
256
+
257
+ msgctxt "The paragraph element name displayed in the suggestion."
258
+ msgid "ELEMENT_PARAGRAPH"
259
+ msgid_plural "%0 paragraphs"
260
+ msgstr[0] ""
261
+ msgstr[1] ""
262
+
263
+ msgctxt "The space element name displayed in the suggestion."
264
+ msgid "ELEMENT_SPACE"
265
+ msgid_plural "%0 spaces"
266
+ msgstr[0] ""
267
+ msgstr[1] ""
268
+
269
+ msgctxt "The table element name displayed in the suggestion."
270
+ msgid "ELEMENT_TABLE"
271
+ msgid_plural "%0 tables"
272
+ msgstr[0] ""
273
+ msgstr[1] ""
274
+
275
+ msgctxt "The table column element name displayed in the suggestion."
276
+ msgid "ELEMENT_TABLE_COLUMN"
277
+ msgid_plural "%0 table columns"
278
+ msgstr[0] ""
279
+ msgstr[1] ""
280
+
281
+ msgctxt "The table column with text element name displayed in the suggestion."
282
+ msgid "ELEMENT_TABLE_COLUMN_WITH_TEXT"
283
+ msgid_plural "%0 table columns *with text* %1"
284
+ msgstr[0] ""
285
+ msgstr[1] ""
286
+
287
+ msgctxt "The table row element name displayed in the suggestion."
288
+ msgid "ELEMENT_TABLE_ROW"
289
+ msgid_plural "%0 table rows"
290
+ msgstr[0] ""
291
+ msgstr[1] ""
292
+
293
+ msgctxt "The table row with text element name displayed in the suggestion."
294
+ msgid "ELEMENT_TABLE_ROW_WITH_TEXT"
295
+ msgid_plural "%0 table rows *with text* %1"
296
+ msgstr[0] ""
297
+ msgstr[1] ""
298
+
299
+ msgctxt "The table with text element name displayed in the suggestion."
300
+ msgid "ELEMENT_TABLE_WITH_TEXT"
301
+ msgstr ""
302
+
303
+ msgctxt "The title element name displayed in the suggestion."
304
+ msgid "ELEMENT_TITLE"
305
+ msgstr ""
306
+
307
+ msgctxt "The to-do list element name displayed in the suggestion."
308
+ msgid "ELEMENT_TODO_LIST"
309
+ msgstr ""
310
+
311
+ msgctxt "The align to center format name displayed in a format suggestion."
312
+ msgid "FORMAT_ALIGN_TO_CENTER"
313
+ msgstr ""
314
+
315
+ msgctxt "The align to left format name displayed in a format suggestion."
316
+ msgid "FORMAT_ALIGN_TO_LEFT"
317
+ msgstr ""
318
+
319
+ msgctxt "The align to right format name displayed in a format suggestion."
320
+ msgid "FORMAT_ALIGN_TO_RIGHT"
321
+ msgstr ""
322
+
323
+ msgctxt "The bold format name displayed in a format suggestion."
324
+ msgid "FORMAT_BOLD"
325
+ msgstr ""
326
+
327
+ msgctxt "The code format name displayed in a format suggestion."
328
+ msgid "FORMAT_CODE"
329
+ msgstr ""
330
+
331
+ msgctxt "The header column format name displayed in a format suggestion."
332
+ msgid "FORMAT_HEADER_COLUMN"
333
+ msgstr ""
334
+
335
+ msgctxt "The header row format name displayed in a format suggestion."
336
+ msgid "FORMAT_HEADER_ROW"
337
+ msgstr ""
338
+
339
+ msgctxt "The highlight format name displayed in a format suggestion."
340
+ msgid "FORMAT_HIGHLIGHT"
341
+ msgstr ""
342
+
343
+ msgctxt "The italic format name displayed in a format suggestion."
344
+ msgid "FORMAT_ITALIC"
345
+ msgstr ""
346
+
347
+ msgctxt "The justify text format name displayed in a format suggestion."
348
+ msgid "FORMAT_JUSTIFY_TEXT"
349
+ msgstr ""
350
+
351
+ msgctxt "The regular column format name displayed in a format suggestion."
352
+ msgid "FORMAT_REGULAR_COLUMN"
353
+ msgstr ""
354
+
355
+ msgctxt "The regular row format name displayed in a format suggestion."
356
+ msgid "FORMAT_REGULAR_ROW"
357
+ msgstr ""
358
+
359
+ msgctxt "The label for area disabled in restricted editing area in a format suggestion."
360
+ msgid "FORMAT_RESTRICTED_DISABLED"
361
+ msgstr ""
362
+
363
+ msgctxt "The label for area enabled in restricted editing area in a format suggestion."
364
+ msgid "FORMAT_RESTRICTED_ENABLED"
365
+ msgstr ""
366
+
367
+ msgctxt "The side image format name displayed in a format suggestion."
368
+ msgid "FORMAT_SIDE_IMAGE"
369
+ msgstr ""
370
+
371
+ msgctxt "The strikethrough format name displayed in a format suggestion."
372
+ msgid "FORMAT_STRIKETHROUGH"
373
+ msgstr ""
374
+
375
+ msgctxt "The subscript format name displayed in a format suggestion."
376
+ msgid "FORMAT_SUBSCRIPT"
377
+ msgstr ""
378
+
379
+ msgctxt "The superscript format name displayed in a format suggestion."
380
+ msgid "FORMAT_SUPERSCRIPT"
381
+ msgstr ""
382
+
383
+ msgctxt "The underline format name displayed in a format suggestion."
384
+ msgid "FORMAT_UNDERLINE"
385
+ msgstr ""
386
+
387
+ msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
388
+ msgid "PENDING_ACTION_SUGGESTION"
389
+ msgstr ""
390
+
391
+ msgctxt "A suggestion for replacing one text with another."
392
+ msgid "REPLACE_TEXT"
393
+ msgstr ""
394
+
395
+ msgctxt "The label for the dropdown containing some options related to track changes."
396
+ msgid "Track changes"
397
+ msgstr ""
398
+
399
+ msgctxt "The additional information that suggestion comes from external source."
400
+ msgid "EXTERNAL_SUGGESTION"
401
+ msgstr ""
@@ -377,3 +377,7 @@ msgstr "*Thay thế:* %0 *bằng* %1"
377
377
  msgctxt "The label for the dropdown containing some options related to track changes."
378
378
  msgid "Track changes"
379
379
  msgstr "Theo dõi nội dung thay đổi"
380
+
381
+ msgctxt "The additional information that suggestion comes from external source."
382
+ msgid "EXTERNAL_SUGGESTION"
383
+ msgstr "Đề xuất này đến từ một nguồn bên ngoài."
@@ -377,3 +377,7 @@ msgstr "*用* %1 *替换:* %0 "
377
377
  msgctxt "The label for the dropdown containing some options related to track changes."
378
378
  msgid "Track changes"
379
379
  msgstr "跟踪更改"
380
+
381
+ msgctxt "The additional information that suggestion comes from external source."
382
+ msgid "EXTERNAL_SUGGESTION"
383
+ msgstr "此建议来自外部来源。"
@@ -377,3 +377,7 @@ msgstr "*取代:*%0 *變更為* %1"
377
377
  msgctxt "The label for the dropdown containing some options related to track changes."
378
378
  msgid "Track changes"
379
379
  msgstr "追蹤變更"
380
+
381
+ msgctxt "The additional information that suggestion comes from external source."
382
+ msgid "EXTERNAL_SUGGESTION"
383
+ msgstr "此建議來自外部來源。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "35.0.1",
3
+ "version": "35.2.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -27,9 +27,9 @@
27
27
  ],
28
28
  "main": "src/index.js",
29
29
  "dependencies": {
30
- "ckeditor5": "^35.0.1",
31
- "ckeditor5-collaboration": "^35.0.1",
30
+ "ckeditor5": "^35.2.0",
31
+ "ckeditor5-collaboration": "^35.2.0",
32
32
  "lodash-es": "^4.17.11",
33
- "@ckeditor/ckeditor5-style": "^35.0.1"
33
+ "@ckeditor/ckeditor5-style": "^35.2.0"
34
34
  }
35
35
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe89f=['some','isInContent','_acceptSuggestionCommand','from','isEnabled','editor','execute','model','_suggestions','values','refresh'];(function(_0x3b6782,_0xe89fe6){const _0x527053=function(_0x23dc7c){while(--_0x23dc7c){_0x3b6782['push'](_0x3b6782['shift']());}};_0x527053(++_0xe89fe6);}(_0xe89f,0x15d));const _0x5270=function(_0x3b6782,_0xe89fe6){_0x3b6782=_0x3b6782-0x0;let _0x527053=_0xe89f[_0x3b6782];return _0x527053;};import{Command as _0x14377b}from'ckeditor5/src/core';import _0xeb1157 from'../utils/sortsuggestions';export default class R extends _0x14377b{constructor(_0x461e6a,_0x55c9b0,_0x3521eb){super(_0x461e6a),this[_0x5270('0x5')]=_0x55c9b0,this[_0x5270('0x0')]=_0x3521eb,this[_0x5270('0x2')]();}['refresh'](){const _0x2857ef=this[_0x5270('0x5')];this[_0x5270('0x7')]=_0x2857ef['isEnabled']&&Array['from'](this['_suggestions'][_0x5270('0x1')]())[_0x5270('0x3')](_0x262dec=>_0x262dec[_0x5270('0x4')]);}[_0x5270('0x9')](){this[_0x5270('0x8')][_0x5270('0xa')]['change'](()=>{const _0x134cfc=_0xeb1157(Array[_0x5270('0x6')](this[_0x5270('0x0')]['values']()));for(const _0x3b3f4d of _0x134cfc)_0x3b3f4d[_0x5270('0x4')]&&this[_0x5270('0x5')]['execute'](_0x3b3f4d['id']);});}}
23
+ const _0x338d=['execute','_suggestions','isInContent','from','refresh','model','_acceptSuggestionCommand','values','change','some','isEnabled'];(function(_0x16c3f3,_0x338dc5){const _0x2cf65d=function(_0x21780b){while(--_0x21780b){_0x16c3f3['push'](_0x16c3f3['shift']());}};_0x2cf65d(++_0x338dc5);}(_0x338d,0xc3));const _0x2cf6=function(_0x16c3f3,_0x338dc5){_0x16c3f3=_0x16c3f3-0x0;let _0x2cf65d=_0x338d[_0x16c3f3];return _0x2cf65d;};import{Command as _0x4d2abd}from'ckeditor5/src/core';import _0x3a06b8 from'../utils/sortsuggestions';export default class R extends _0x4d2abd{constructor(_0x536c78,_0x34ee3c,_0xbda61){super(_0x536c78),this[_0x2cf6('0x9')]=_0x34ee3c,this[_0x2cf6('0x4')]=_0xbda61,this[_0x2cf6('0x7')]();}[_0x2cf6('0x7')](){const _0x39270f=this[_0x2cf6('0x9')];this[_0x2cf6('0x2')]=_0x39270f[_0x2cf6('0x2')]&&Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]())[_0x2cf6('0x1')](_0x387e03=>_0x387e03[_0x2cf6('0x5')]);}['execute'](){this['editor'][_0x2cf6('0x8')][_0x2cf6('0x0')](()=>{const _0x1a60b3=_0x3a06b8(Array[_0x2cf6('0x6')](this[_0x2cf6('0x4')][_0x2cf6('0xa')]()));for(const _0x3dcf75 of _0x1a60b3)_0x3dcf75[_0x2cf6('0x5')]&&this['_acceptSuggestionCommand'][_0x2cf6('0x3')](_0x3dcf75['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x473c=['execute','editor','from','selection','_selectedSuggestions','refresh','change','isEnabled','_acceptSuggestionCommand','model'];(function(_0x357581,_0x473cce){const _0x6cafe3=function(_0x5cc5fc){while(--_0x5cc5fc){_0x357581['push'](_0x357581['shift']());}};_0x6cafe3(++_0x473cce);}(_0x473c,0x72));const _0x6caf=function(_0x357581,_0x473cce){_0x357581=_0x357581-0x0;let _0x6cafe3=_0x473c[_0x357581];return _0x6cafe3;};import{Command as _0x4cb2e5}from'ckeditor5/src/core';import _0xc647de from'../utils/sortsuggestions';import _0x21f6e2 from'../utils/getselectedsuggestions';export default class j extends _0x4cb2e5{constructor(_0xd0b186,_0x1e9a67,_0x5b6fe8){super(_0xd0b186),this[_0x6caf('0x4')]=_0x1e9a67,this['_suggestions']=_0x5b6fe8,this[_0x6caf('0x0')]=new Set(),this[_0x6caf('0x1')]();}[_0x6caf('0x1')](){const _0x11e402=this[_0x6caf('0x4')],_0x2cb33f=this[_0x6caf('0x7')][_0x6caf('0x5')]['document'][_0x6caf('0x9')],_0x3c16e0=Array[_0x6caf('0x8')](this['_suggestions']['values']());this[_0x6caf('0x0')]=_0x21f6e2(_0x2cb33f,_0x3c16e0),this[_0x6caf('0x3')]=_0x11e402[_0x6caf('0x3')]&&!!this[_0x6caf('0x0')]['size'];}[_0x6caf('0x6')](){this[_0x6caf('0x7')]['model'][_0x6caf('0x2')](()=>{const _0x4c2e5e=_0xc647de(Array[_0x6caf('0x8')](this[_0x6caf('0x0')]));for(const _0x4f4b75 of _0x4c2e5e)this[_0x6caf('0x4')]['execute'](_0x4f4b75['id']);});}}
23
+ const _0x33f0=['_selectedSuggestions','change','document','isEnabled','values','model','editor','selection','execute','refresh','_suggestions','from','_acceptSuggestionCommand'];(function(_0x43f91f,_0x33f00e){const _0x3caefc=function(_0x14dd8f){while(--_0x14dd8f){_0x43f91f['push'](_0x43f91f['shift']());}};_0x3caefc(++_0x33f00e);}(_0x33f0,0x181));const _0x3cae=function(_0x43f91f,_0x33f00e){_0x43f91f=_0x43f91f-0x0;let _0x3caefc=_0x33f0[_0x43f91f];return _0x3caefc;};import{Command as _0xe736be}from'ckeditor5/src/core';import _0x140236 from'../utils/sortsuggestions';import _0x2d947e from'../utils/getselectedsuggestions';export default class j extends _0xe736be{constructor(_0x115456,_0x132123,_0x328311){super(_0x115456),this[_0x3cae('0x4')]=_0x132123,this[_0x3cae('0x2')]=_0x328311,this[_0x3cae('0x5')]=new Set(),this['refresh']();}[_0x3cae('0x1')](){const _0x118343=this[_0x3cae('0x4')],_0x262b2e=this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x7')][_0x3cae('0xc')],_0x4e63eb=Array[_0x3cae('0x3')](this[_0x3cae('0x2')][_0x3cae('0x9')]());this[_0x3cae('0x5')]=_0x2d947e(_0x262b2e,_0x4e63eb),this[_0x3cae('0x8')]=_0x118343['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){this[_0x3cae('0xb')][_0x3cae('0xa')][_0x3cae('0x6')](()=>{const _0x59b4e9=_0x140236(Array[_0x3cae('0x3')](this['_selectedSuggestions']));for(const _0x1d7f03 of _0x59b4e9)this[_0x3cae('0x4')][_0x3cae('0x0')](_0x1d7f03['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41f1=['track-changes-accept-suggestion-not-found','_suggestions','TrackChangesEditing','editor','acceptSuggestion','isEnabled','get','refresh'];(function(_0x400269,_0x41f1ab){const _0x32acaa=function(_0x1f31b0){while(--_0x1f31b0){_0x400269['push'](_0x400269['shift']());}};_0x32acaa(++_0x41f1ab);}(_0x41f1,0x74));const _0x32ac=function(_0x400269,_0x41f1ab){_0x400269=_0x400269-0x0;let _0x32acaa=_0x41f1[_0x400269];return _0x32acaa;};import{Command as _0x32666a}from'ckeditor5/src/core';import{CKEditorError as _0x2c28ef}from'ckeditor5/src/utils';export default class $ extends _0x32666a{constructor(_0x1dd577,_0x32e5cf){super(_0x1dd577),this[_0x32ac('0x5')]=_0x32e5cf,this[_0x32ac('0x3')]();}[_0x32ac('0x3')](){this[_0x32ac('0x1')]=!0x0;}['execute'](_0x49ee4d){const _0x547141=this[_0x32ac('0x5')][_0x32ac('0x2')](_0x49ee4d);if(!_0x547141)throw new _0x2c28ef(_0x32ac('0x4'),this);this[_0x32ac('0x7')]['plugins'][_0x32ac('0x2')](_0x32ac('0x6'))[_0x32ac('0x0')](_0x547141);}}
23
+ const _0x2669=['TrackChangesEditing','_suggestions','get','refresh','execute','track-changes-accept-suggestion-not-found','plugins','isEnabled','editor'];(function(_0x2828f3,_0x266940){const _0x2e1299=function(_0x2c6ecd){while(--_0x2c6ecd){_0x2828f3['push'](_0x2828f3['shift']());}};_0x2e1299(++_0x266940);}(_0x2669,0x10c));const _0x2e12=function(_0x2828f3,_0x266940){_0x2828f3=_0x2828f3-0x0;let _0x2e1299=_0x2669[_0x2828f3];return _0x2e1299;};import{Command as _0x366cbd}from'ckeditor5/src/core';import{CKEditorError as _0xfa25d5}from'ckeditor5/src/utils';export default class $ extends _0x366cbd{constructor(_0x5a5276,_0x4ad431){super(_0x5a5276),this[_0x2e12('0x3')]=_0x4ad431,this[_0x2e12('0x5')]();}[_0x2e12('0x5')](){this[_0x2e12('0x0')]=!0x0;}[_0x2e12('0x6')](_0x239829){const _0x5ea631=this[_0x2e12('0x3')]['get'](_0x239829);if(!_0x5ea631)throw new _0xfa25d5(_0x2e12('0x7'),this);this[_0x2e12('0x1')][_0x2e12('0x8')][_0x2e12('0x4')](_0x2e12('0x2'))['acceptSuggestion'](_0x5ea631);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19c8=['_suggestions','model','isEnabled','from','change','some','execute','refresh','values','isInContent','editor','_discardSuggestionCommand'];(function(_0x462aa6,_0x19c8cf){const _0x1b2edb=function(_0x278f8b){while(--_0x278f8b){_0x462aa6['push'](_0x462aa6['shift']());}};_0x1b2edb(++_0x19c8cf);}(_0x19c8,0x18b));const _0x1b2e=function(_0x462aa6,_0x19c8cf){_0x462aa6=_0x462aa6-0x0;let _0x1b2edb=_0x19c8[_0x462aa6];return _0x1b2edb;};import{Command as _0x1c5f83}from'ckeditor5/src/core';export default class U extends _0x1c5f83{constructor(_0x3a2b73,_0x575429,_0x1154c){super(_0x3a2b73),this[_0x1b2e('0x0')]=_0x575429,this[_0x1b2e('0x1')]=_0x1154c,this['refresh']();}[_0x1b2e('0x8')](){const _0x535b5c=this[_0x1b2e('0x0')];this[_0x1b2e('0x3')]=_0x535b5c[_0x1b2e('0x3')]&&Array[_0x1b2e('0x4')](this['_suggestions'][_0x1b2e('0x9')]())[_0x1b2e('0x6')](_0x341055=>_0x341055[_0x1b2e('0xa')]);}[_0x1b2e('0x7')](){this[_0x1b2e('0xb')][_0x1b2e('0x2')][_0x1b2e('0x5')](()=>{for(const _0x159b3e of this[_0x1b2e('0x1')][_0x1b2e('0x9')]())_0x159b3e['isInContent']&&this['_discardSuggestionCommand'][_0x1b2e('0x7')](_0x159b3e['id']);});}}
23
+ const _0x13a8=['execute','model','refresh','_suggestions','_discardSuggestionCommand','isEnabled','from','change','values','isInContent','some'];(function(_0x2ff4df,_0x13a8a3){const _0x209ac0=function(_0x908c64){while(--_0x908c64){_0x2ff4df['push'](_0x2ff4df['shift']());}};_0x209ac0(++_0x13a8a3);}(_0x13a8,0x12d));const _0x209a=function(_0x2ff4df,_0x13a8a3){_0x2ff4df=_0x2ff4df-0x0;let _0x209ac0=_0x13a8[_0x2ff4df];return _0x209ac0;};import{Command as _0x850f45}from'ckeditor5/src/core';export default class x extends _0x850f45{constructor(_0x5bcb42,_0x3a1419,_0xa52f34){super(_0x5bcb42),this['_discardSuggestionCommand']=_0x3a1419,this[_0x209a('0xa')]=_0xa52f34,this[_0x209a('0x9')]();}[_0x209a('0x9')](){const _0x4a7d7e=this['_discardSuggestionCommand'];this[_0x209a('0x1')]=_0x4a7d7e['isEnabled']&&Array[_0x209a('0x2')](this[_0x209a('0xa')][_0x209a('0x4')]())[_0x209a('0x6')](_0x5f11d7=>_0x5f11d7[_0x209a('0x5')]);}[_0x209a('0x7')](){this['editor'][_0x209a('0x8')][_0x209a('0x3')](()=>{for(const _0x5ade1b of this['_suggestions'][_0x209a('0x4')]())_0x5ade1b[_0x209a('0x5')]&&this[_0x209a('0x0')][_0x209a('0x7')](_0x5ade1b['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1edc=['_suggestions','_discardSuggestionCommand','editor','selection','_selectedSuggestions','from','refresh','model','execute','change','values','isEnabled'];(function(_0x128abe,_0x1edc5e){const _0x69cea2=function(_0x1b1a8b){while(--_0x1b1a8b){_0x128abe['push'](_0x128abe['shift']());}};_0x69cea2(++_0x1edc5e);}(_0x1edc,0xb1));const _0x69ce=function(_0x128abe,_0x1edc5e){_0x128abe=_0x128abe-0x0;let _0x69cea2=_0x1edc[_0x128abe];return _0x69cea2;};import{Command as _0x2b1f3a}from'ckeditor5/src/core';import _0x1bc42c from'../utils/getselectedsuggestions';export default class x extends _0x2b1f3a{constructor(_0x568a60,_0x3e2518,_0x485a48){super(_0x568a60),this[_0x69ce('0x4')]=_0x3e2518,this[_0x69ce('0x3')]=_0x485a48,this[_0x69ce('0x7')]=new Set(),this[_0x69ce('0x9')]();}[_0x69ce('0x9')](){const _0x20f1ec=this[_0x69ce('0x4')],_0xa21b30=this[_0x69ce('0x5')][_0x69ce('0xa')]['document'][_0x69ce('0x6')],_0x2337d4=Array[_0x69ce('0x8')](this[_0x69ce('0x3')][_0x69ce('0x1')]());this['_selectedSuggestions']=_0x1bc42c(_0xa21b30,_0x2337d4),this[_0x69ce('0x2')]=_0x20f1ec[_0x69ce('0x2')]&&!!this[_0x69ce('0x7')]['size'];}[_0x69ce('0xb')](){this[_0x69ce('0x5')][_0x69ce('0xa')][_0x69ce('0x0')](()=>{for(const _0x221d2b of this[_0x69ce('0x7')])this['_discardSuggestionCommand']['execute'](_0x221d2b['id']);});}}
23
+ const _0x138f=['_suggestions','refresh','from','size','model','isEnabled','_discardSuggestionCommand','document','selection','execute','editor','change','values','_selectedSuggestions'];(function(_0x42c06c,_0x138f8d){const _0xcb676e=function(_0x3e86c3){while(--_0x3e86c3){_0x42c06c['push'](_0x42c06c['shift']());}};_0xcb676e(++_0x138f8d);}(_0x138f,0x17c));const _0xcb67=function(_0x42c06c,_0x138f8d){_0x42c06c=_0x42c06c-0x0;let _0xcb676e=_0x138f[_0x42c06c];return _0xcb676e;};import{Command as _0x491943}from'ckeditor5/src/core';import _0x534b83 from'../utils/getselectedsuggestions';export default class U extends _0x491943{constructor(_0x2e37d7,_0x32d712,_0x5a2687){super(_0x2e37d7),this[_0xcb67('0x4')]=_0x32d712,this[_0xcb67('0xc')]=_0x5a2687,this[_0xcb67('0xb')]=new Set(),this[_0xcb67('0xd')]();}['refresh'](){const _0x304145=this[_0xcb67('0x4')],_0x54b9bb=this[_0xcb67('0x8')]['model'][_0xcb67('0x5')][_0xcb67('0x6')],_0x5cf057=Array[_0xcb67('0x0')](this[_0xcb67('0xc')][_0xcb67('0xa')]());this['_selectedSuggestions']=_0x534b83(_0x54b9bb,_0x5cf057),this['isEnabled']=_0x304145[_0xcb67('0x3')]&&!!this['_selectedSuggestions'][_0xcb67('0x1')];}[_0xcb67('0x7')](){this['editor'][_0xcb67('0x2')][_0xcb67('0x9')](()=>{for(const _0x228615 of this['_selectedSuggestions'])this[_0xcb67('0x4')]['execute'](_0x228615['id']);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1020=['TrackChangesEditing','refresh','isEnabled','_suggestions','execute','get','track-changes-discard-suggestion-not-found','editor','discardSuggestion','plugins'];(function(_0x468d8c,_0x1020c0){const _0x44c70f=function(_0x52babb){while(--_0x52babb){_0x468d8c['push'](_0x468d8c['shift']());}};_0x44c70f(++_0x1020c0);}(_0x1020,0x18c));const _0x44c7=function(_0x468d8c,_0x1020c0){_0x468d8c=_0x468d8c-0x0;let _0x44c70f=_0x1020[_0x468d8c];return _0x44c70f;};import{Command as _0x414f67}from'ckeditor5/src/core';import{CKEditorError as _0x11aa8a}from'ckeditor5/src/utils';export default class N extends _0x414f67{constructor(_0x45fe6b,_0x58229e){super(_0x45fe6b),this[_0x44c7('0x7')]=_0x58229e,this[_0x44c7('0x5')]();}['refresh'](){this[_0x44c7('0x6')]=!0x0;}[_0x44c7('0x8')](_0x11db10){const _0x143c07=this[_0x44c7('0x7')][_0x44c7('0x9')](_0x11db10);if(!_0x143c07)throw new _0x11aa8a(_0x44c7('0x0'),this);this[_0x44c7('0x1')][_0x44c7('0x3')][_0x44c7('0x9')](_0x44c7('0x4'))[_0x44c7('0x2')](_0x143c07);}}
23
+ const _0x21e3=['execute','plugins','discardSuggestion','get','track-changes-discard-suggestion-not-found','TrackChangesEditing','_suggestions','refresh'];(function(_0x22bb28,_0x21e3e0){const _0x31d186=function(_0x810f3f){while(--_0x810f3f){_0x22bb28['push'](_0x22bb28['shift']());}};_0x31d186(++_0x21e3e0);}(_0x21e3,0xf6));const _0x31d1=function(_0x22bb28,_0x21e3e0){_0x22bb28=_0x22bb28-0x0;let _0x31d186=_0x21e3[_0x22bb28];return _0x31d186;};import{Command as _0x530d4f}from'ckeditor5/src/core';import{CKEditorError as _0x1494af}from'ckeditor5/src/utils';export default class N extends _0x530d4f{constructor(_0x67aaff,_0x31da6f){super(_0x67aaff),this[_0x31d1('0x0')]=_0x31da6f,this[_0x31d1('0x1')]();}[_0x31d1('0x1')](){this['isEnabled']=!0x0;}[_0x31d1('0x2')](_0xbfc46){const _0x4eebab=this['_suggestions']['get'](_0xbfc46);if(!_0x4eebab)throw new _0x1494af(_0x31d1('0x6'),this);this['editor'][_0x31d1('0x3')][_0x31d1('0x5')](_0x31d1('0x7'))[_0x31d1('0x4')](_0x4eebab);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57d8=['refresh','_disableUnsupportedCommands','isEnabled','affectsData','commands','has','editor','TrackChangesCommand','value','_enabledCommands','execute','_enableCommands','clearForceDisabled'];(function(_0x336dc1,_0x57d81e){const _0x658c8f=function(_0x1ae107){while(--_0x1ae107){_0x336dc1['push'](_0x336dc1['shift']());}};_0x658c8f(++_0x57d81e);}(_0x57d8,0x13c));const _0x658c=function(_0x336dc1,_0x57d81e){_0x336dc1=_0x336dc1-0x0;let _0x658c8f=_0x57d8[_0x336dc1];return _0x658c8f;};import{Command as _0x3d3f2f}from'ckeditor5/src/core';export default class M extends _0x3d3f2f{constructor(_0x540d93,_0x584fe9){super(_0x540d93),this[_0x658c('0x5')]=_0x584fe9,this[_0x658c('0x4')]=!0x1,this[_0x658c('0x9')]();}[_0x658c('0x9')](){this[_0x658c('0xb')]=!0x0;}[_0x658c('0x6')](){this[_0x658c('0x4')]=!this[_0x658c('0x4')],this['value']?this[_0x658c('0xa')]():this['_enableCommands']();}[_0x658c('0xa')](){for(const _0x499a6b of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x499a6b[_0x658c('0xc')]&&!this[_0x658c('0x5')][_0x658c('0x1')](_0x499a6b)&&_0x499a6b['forceDisabled'](_0x658c('0x3'));}[_0x658c('0x7')](){for(const _0x4ea576 of this[_0x658c('0x2')][_0x658c('0x0')][_0x658c('0x0')]())_0x4ea576[_0x658c('0xc')]&&!this[_0x658c('0x5')]['has'](_0x4ea576)&&_0x4ea576[_0x658c('0x8')](_0x658c('0x3'));}}
23
+ const _0x1dd5=['_enableCommands','commands','value','affectsData','forceDisabled','editor','has','_disableUnsupportedCommands','TrackChangesCommand','clearForceDisabled','refresh','_enabledCommands'];(function(_0x2b44d9,_0x1dd518){const _0xa48519=function(_0x3722f9){while(--_0x3722f9){_0x2b44d9['push'](_0x2b44d9['shift']());}};_0xa48519(++_0x1dd518);}(_0x1dd5,0x119));const _0xa485=function(_0x2b44d9,_0x1dd518){_0x2b44d9=_0x2b44d9-0x0;let _0xa48519=_0x1dd5[_0x2b44d9];return _0xa48519;};import{Command as _0x5f30e5}from'ckeditor5/src/core';export default class M extends _0x5f30e5{constructor(_0x565747,_0x1bc42b){super(_0x565747),this[_0xa485('0x6')]=_0x1bc42b,this[_0xa485('0x9')]=!0x1,this[_0xa485('0x5')]();}[_0xa485('0x5')](){this['isEnabled']=!0x0;}['execute'](){this['value']=!this[_0xa485('0x9')],this['value']?this[_0xa485('0x2')]():this[_0xa485('0x7')]();}[_0xa485('0x2')](){for(const _0x2cf23b of this[_0xa485('0x0')][_0xa485('0x8')]['commands']())_0x2cf23b[_0xa485('0xa')]&&!this[_0xa485('0x6')][_0xa485('0x1')](_0x2cf23b)&&_0x2cf23b[_0xa485('0xb')](_0xa485('0x3'));}[_0xa485('0x7')](){for(const _0x46392c of this[_0xa485('0x0')][_0xa485('0x8')][_0xa485('0x8')]())_0x46392c[_0xa485('0xa')]&&!this['_enabledCommands']['has'](_0x46392c)&&_0x46392c[_0xa485('0x4')](_0xa485('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x256d=['model','from','ltr','justify','change','locale','document','selection','FORMAT_ALIGN_TO_LEFT','FORMAT_ALIGN_TO_RIGHT','getSelectedBlocks','AlignmentEditing','left','center','alignment','editor','FORMAT_ALIGN_TO_CENTER','contentLanguageDirection','enableCommand','plugins','registerDescriptionCallback','*Format:*\x20%0','right','afterInit','has','schema','checkAttribute','value','filter','commandParams','_descriptionFactory','TrackChangesEditing'];(function(_0x53102c,_0x256dcc){const _0x1778eb=function(_0x4b0e72){while(--_0x4b0e72){_0x53102c['push'](_0x53102c['shift']());}};_0x1778eb(++_0x256dcc);}(_0x256d,0x1c1));const _0x1778=function(_0x53102c,_0x256dcc){_0x53102c=_0x53102c-0x0;let _0x1778eb=_0x256d[_0x53102c];return _0x1778eb;};import{Plugin as _0x52351f}from'ckeditor5/src/core';import{getTranslation as _0x289a4d}from'../utils/common-translations';export default class E extends _0x52351f{[_0x1778('0x16')](){const _0xf8ba44=this[_0x1778('0xe')],_0x49eff1=_0xf8ba44[_0x1778('0x4')];if(!_0xf8ba44[_0x1778('0x12')][_0x1778('0x17')](_0x1778('0xa')))return;const _0x1727b1=_0xf8ba44[_0x1778('0x12')]['get'](_0x1778('0x1e'));_0x1727b1[_0x1778('0x11')](_0x1778('0xd'),(_0x2068b5,_0xf1e223={})=>{let _0x544e5d=_0xf1e223['value'];_0xf1e223[_0x1778('0x1a')]||(_0x544e5d=_0x1778('0x1')===_0xf8ba44[_0x1778('0x4')][_0x1778('0x10')]?_0x1778('0xb'):_0x1778('0x15'));const _0x36974e=Array[_0x1778('0x0')](this['editor'][_0x1778('0x1f')][_0x1778('0x5')][_0x1778('0x6')][_0x1778('0x9')]())[_0x1778('0x1b')](_0x194978=>function(_0x206f30,_0x504f94,_0x5d9b43){const _0xb5e52=_0x206f30['getAttribute'](_0x1778('0xd'))||null;return _0x504f94[_0x1778('0x19')](_0x206f30,_0x1778('0xd'))&&_0x5d9b43!=_0xb5e52;}(_0x194978,this[_0x1778('0xe')][_0x1778('0x1f')][_0x1778('0x18')],_0x544e5d));_0xf8ba44[_0x1778('0x1f')][_0x1778('0x3')](()=>{for(const _0x14c9a0 of _0x36974e)_0x1727b1['markBlockFormat'](_0x14c9a0,{'commandName':'alignment','commandParams':[{'value':_0x544e5d}]});});}),_0x1727b1[_0x1778('0x1d')][_0x1778('0x13')](_0x17194b=>{const {data:_0x13d024}=_0x17194b;if(_0x13d024&&_0x1778('0xd')==_0x13d024['commandName']){const _0x596fbf=_0x13d024[_0x1778('0x1c')][0x0]['value'];return{'type':'format','content':_0x289a4d(_0x49eff1,_0x1778('0x14'),function(_0x28efd6){switch(_0x28efd6){case'left':return _0x289a4d(_0x49eff1,_0x1778('0x7'));case _0x1778('0x15'):return _0x289a4d(_0x49eff1,_0x1778('0x8'));case _0x1778('0xc'):return _0x289a4d(_0x49eff1,_0x1778('0xf'));case _0x1778('0x2'):return _0x289a4d(_0x49eff1,'FORMAT_JUSTIFY_TEXT');}}(_0x596fbf))};}});}}
23
+ const _0x5054=['contentLanguageDirection','afterInit','format','center','registerDescriptionCallback','FORMAT_ALIGN_TO_LEFT','*Format:*\x20%0','has','markBlockFormat','locale','FORMAT_ALIGN_TO_RIGHT','plugins','_descriptionFactory','alignment','change','value','AlignmentEditing','model','editor','checkAttribute','commandName','enableCommand','TrackChangesEditing','right','FORMAT_ALIGN_TO_CENTER','commandParams','document','left'];(function(_0x5883f8,_0x5054b4){const _0x8e1bc4=function(_0x5a01f9){while(--_0x5a01f9){_0x5883f8['push'](_0x5883f8['shift']());}};_0x8e1bc4(++_0x5054b4);}(_0x5054,0x1d8));const _0x8e1b=function(_0x5883f8,_0x5054b4){_0x5883f8=_0x5883f8-0x0;let _0x8e1bc4=_0x5054[_0x5883f8];return _0x8e1bc4;};import{Plugin as _0x28ad39}from'ckeditor5/src/core';import{getTranslation as _0xb02b29}from'../utils/common-translations';export default class E extends _0x28ad39{[_0x8e1b('0x5')](){const _0x17c9d2=this[_0x8e1b('0x16')],_0x4436fb=_0x17c9d2[_0x8e1b('0xd')];if(!_0x17c9d2[_0x8e1b('0xf')][_0x8e1b('0xb')](_0x8e1b('0x14')))return;const _0x295da7=_0x17c9d2[_0x8e1b('0xf')]['get'](_0x8e1b('0x1a'));_0x295da7[_0x8e1b('0x19')]('alignment',(_0x35e756,_0xff9e54={})=>{let _0x3ac341=_0xff9e54[_0x8e1b('0x13')];_0xff9e54[_0x8e1b('0x13')]||(_0x3ac341='ltr'===_0x17c9d2[_0x8e1b('0xd')][_0x8e1b('0x4')]?'left':_0x8e1b('0x1b'));const _0x2a226b=Array['from'](this[_0x8e1b('0x16')][_0x8e1b('0x15')][_0x8e1b('0x2')]['selection']['getSelectedBlocks']())['filter'](_0x35f435=>function(_0xb91517,_0x5d6e39,_0x329ea4){const _0x49ba35=_0xb91517['getAttribute'](_0x8e1b('0x11'))||null;return _0x5d6e39[_0x8e1b('0x17')](_0xb91517,_0x8e1b('0x11'))&&_0x329ea4!=_0x49ba35;}(_0x35f435,this[_0x8e1b('0x16')][_0x8e1b('0x15')]['schema'],_0x3ac341));_0x17c9d2['model'][_0x8e1b('0x12')](()=>{for(const _0x1206ae of _0x2a226b)_0x295da7[_0x8e1b('0xc')](_0x1206ae,{'commandName':_0x8e1b('0x11'),'commandParams':[{'value':_0x3ac341}]});});}),_0x295da7[_0x8e1b('0x10')][_0x8e1b('0x8')](_0x2c56c1=>{const {data:_0x358329}=_0x2c56c1;if(_0x358329&&_0x8e1b('0x11')==_0x358329[_0x8e1b('0x18')]){const _0x4b95e1=_0x358329[_0x8e1b('0x1')][0x0]['value'];return{'type':_0x8e1b('0x6'),'content':_0xb02b29(_0x4436fb,_0x8e1b('0xa'),function(_0x4e2d3a){switch(_0x4e2d3a){case _0x8e1b('0x3'):return _0xb02b29(_0x4436fb,_0x8e1b('0x9'));case _0x8e1b('0x1b'):return _0xb02b29(_0x4436fb,_0x8e1b('0xe'));case _0x8e1b('0x7'):return _0xb02b29(_0x4436fb,_0x8e1b('0x0'));case'justify':return _0xb02b29(_0x4436fb,'FORMAT_JUSTIFY_TEXT');}}(_0x4b95e1))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1232=['markInlineFormat','editor','FORMAT_STRIKETHROUGH','FORMAT_SUBSCRIPT','UnderlineEditing','locale','slice','italic','bold','enableCommand','has','change','*Remove\x20format:*\x20%0','FORMAT_UNDERLINE','underline','FORMAT_CODE','FORMAT_BOLD','registerDescriptionCallback','FORMAT_ITALIC','format','*Format:*\x20%0','superscript','selection','TrackChangesEditing','get','plugins','SubscriptEditing','strikethrough','afterInit','SuperscriptEditing','isCollapsed','value','toLowerCase','forceValue','model','commands','commandParams'];(function(_0x2221f9,_0x12327b){const _0x391fea=function(_0x4ca88c){while(--_0x4ca88c){_0x2221f9['push'](_0x2221f9['shift']());}};_0x391fea(++_0x12327b);}(_0x1232,0xf3));const _0x391f=function(_0x2221f9,_0x12327b){_0x2221f9=_0x2221f9-0x0;let _0x391fea=_0x1232[_0x2221f9];return _0x391fea;};import{Plugin as _0x4f04a4}from'ckeditor5/src/core';import{getTranslation as _0x2394d5}from'../utils/common-translations';import{getRangesWithAttribute as _0x4c622c}from'./utils';const Ft=['BoldEditing','ItalicEditing',_0x391f('0x14'),'CodeEditing','StrikethroughEditing',_0x391f('0x5'),_0x391f('0x8')];export default class O extends _0x4f04a4{[_0x391f('0x7')](){const _0x77cf93=this[_0x391f('0x11')],_0x277508=_0x77cf93[_0x391f('0xd')],_0xc454d3=_0x77cf93[_0x391f('0x4')][_0x391f('0x3')](_0x391f('0x2')),_0xf137e6=_0x77cf93[_0x391f('0x15')];for(const _0x76153d of Ft){if(!_0x77cf93['plugins'][_0x391f('0x1a')](_0x76153d))continue;const _0x820bf=_0x76153d[_0x391f('0x16')](0x0,-0x7)[_0x391f('0xb')](),_0x299e09=_0x77cf93[_0x391f('0xe')][_0x391f('0x3')](_0x820bf);_0xc454d3[_0x391f('0x19')](_0x820bf,(_0x17a4dc,_0x3ae679={})=>{const _0x5707cd=_0x277508['document'][_0x391f('0x1')];if(_0x5707cd[_0x391f('0x9')])return void _0x17a4dc(_0x3ae679);const _0x5caf49=void 0x0!==_0x3ae679[_0x391f('0xc')]?_0x3ae679[_0x391f('0xc')]:!_0x299e09[_0x391f('0xa')];_0x277508[_0x391f('0x1b')](()=>{const _0x3f4feb=Array['from'](_0x5707cd['getRanges']());for(const _0x3b731a of _0x3f4feb){const _0x3a6353=_0x5caf49?[_0x3b731a]:_0x4c622c(_0x820bf,_0x3b731a,_0x277508);for(const _0x4cd839 of _0x3a6353)_0xc454d3[_0x391f('0x10')](_0x4cd839,{'commandName':_0x820bf,'commandParams':[{'forceValue':_0x5caf49}]});}});});}function _0x5112b9(_0x396c87,_0x38dd10){_0xc454d3['_descriptionFactory'][_0x391f('0x21')](_0x1a4327=>{const {data:_0x34e0e6}=_0x1a4327;if(_0x34e0e6&&_0x34e0e6['commandName']===_0x396c87)return _0x34e0e6[_0x391f('0xf')][0x0][_0x391f('0xc')]?{'type':_0x391f('0x23'),'content':_0x2394d5(_0xf137e6,_0x391f('0x24'),_0x38dd10)}:{'type':'format','content':_0x2394d5(_0xf137e6,_0x391f('0x1c'),_0x38dd10)};});}_0x5112b9(_0x391f('0x18'),_0x2394d5(_0xf137e6,_0x391f('0x20'))),_0x5112b9(_0x391f('0x17'),_0x2394d5(_0xf137e6,_0x391f('0x22'))),_0x5112b9(_0x391f('0x1e'),_0x2394d5(_0xf137e6,_0x391f('0x1d'))),_0x5112b9('code',_0x2394d5(_0xf137e6,_0x391f('0x1f'))),_0x5112b9(_0x391f('0x6'),_0x2394d5(_0xf137e6,_0x391f('0x12'))),_0x5112b9('subscript',_0x2394d5(_0xf137e6,_0x391f('0x13'))),_0x5112b9(_0x391f('0x0'),_0x2394d5(_0xf137e6,'FORMAT_SUPERSCRIPT'));}}
23
+ const _0x145c=['_descriptionFactory','italic','value','has','selection','from','getRanges','CodeEditing','superscript','forceValue','enableCommand','registerDescriptionCallback','SubscriptEditing','underline','isCollapsed','SuperscriptEditing','locale','TrackChangesEditing','format','commandName','bold','subscript','afterInit','FORMAT_SUPERSCRIPT','FORMAT_UNDERLINE','FORMAT_STRIKETHROUGH','plugins','BoldEditing','*Format:*\x20%0','FORMAT_ITALIC','*Remove\x20format:*\x20%0','get','UnderlineEditing','StrikethroughEditing'];(function(_0x22562a,_0x145c22){const _0xf0918c=function(_0x30ae92){while(--_0x30ae92){_0x22562a['push'](_0x22562a['shift']());}};_0xf0918c(++_0x145c22);}(_0x145c,0xf4));const _0xf091=function(_0x22562a,_0x145c22){_0x22562a=_0x22562a-0x0;let _0xf0918c=_0x145c[_0x22562a];return _0xf0918c;};import{Plugin as _0x527ab0}from'ckeditor5/src/core';import{getTranslation as _0x165dd9}from'../utils/common-translations';import{getRangesWithAttribute as _0x341ced}from'./utils';const Ft=[_0xf091('0x15'),'ItalicEditing',_0xf091('0x1a'),_0xf091('0x1'),_0xf091('0x1b'),_0xf091('0x6'),_0xf091('0x9')];export default class O extends _0x527ab0{[_0xf091('0x10')](){const _0x313233=this['editor'],_0x5e36d9=_0x313233['model'],_0x4dee9e=_0x313233[_0xf091('0x14')][_0xf091('0x19')](_0xf091('0xb')),_0x2fbc22=_0x313233[_0xf091('0xa')];for(const _0x2eac9c of Ft){if(!_0x313233[_0xf091('0x14')][_0xf091('0x1f')](_0x2eac9c))continue;const _0x25dd01=_0x2eac9c['slice'](0x0,-0x7)['toLowerCase'](),_0x26cc7c=_0x313233['commands']['get'](_0x25dd01);_0x4dee9e[_0xf091('0x4')](_0x25dd01,(_0x3aa381,_0xd03c88={})=>{const _0x1e5b6c=_0x5e36d9['document'][_0xf091('0x20')];if(_0x1e5b6c[_0xf091('0x8')])return void _0x3aa381(_0xd03c88);const _0x51cea3=void 0x0!==_0xd03c88['forceValue']?_0xd03c88[_0xf091('0x3')]:!_0x26cc7c[_0xf091('0x1e')];_0x5e36d9['change'](()=>{const _0x3c886a=Array[_0xf091('0x21')](_0x1e5b6c[_0xf091('0x0')]());for(const _0x55be1b of _0x3c886a){const _0x54e8bc=_0x51cea3?[_0x55be1b]:_0x341ced(_0x25dd01,_0x55be1b,_0x5e36d9);for(const _0x28d772 of _0x54e8bc)_0x4dee9e['markInlineFormat'](_0x28d772,{'commandName':_0x25dd01,'commandParams':[{'forceValue':_0x51cea3}]});}});});}function _0x40e1c7(_0x45bd7d,_0x3334d1){_0x4dee9e[_0xf091('0x1c')][_0xf091('0x5')](_0x1bb579=>{const {data:_0x1eaab7}=_0x1bb579;if(_0x1eaab7&&_0x1eaab7[_0xf091('0xd')]===_0x45bd7d)return _0x1eaab7['commandParams'][0x0][_0xf091('0x3')]?{'type':'format','content':_0x165dd9(_0x2fbc22,_0xf091('0x16'),_0x3334d1)}:{'type':_0xf091('0xc'),'content':_0x165dd9(_0x2fbc22,_0xf091('0x18'),_0x3334d1)};});}_0x40e1c7(_0xf091('0xe'),_0x165dd9(_0x2fbc22,'FORMAT_BOLD')),_0x40e1c7(_0xf091('0x1d'),_0x165dd9(_0x2fbc22,_0xf091('0x17'))),_0x40e1c7(_0xf091('0x7'),_0x165dd9(_0x2fbc22,_0xf091('0x12'))),_0x40e1c7('code',_0x165dd9(_0x2fbc22,'FORMAT_CODE')),_0x40e1c7('strikethrough',_0x165dd9(_0x2fbc22,_0xf091('0x13'))),_0x40e1c7(_0xf091('0xf'),_0x165dd9(_0x2fbc22,'FORMAT_SUBSCRIPT')),_0x40e1c7(_0xf091('0x2'),_0x165dd9(_0x2fbc22,_0xf091('0x11')));}}