@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231114.0 → 0.0.0-nightly-20231116.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.
- package/build/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +3 -3
- package/lang/translations/ar.po +19 -19
- package/lang/translations/bg.po +19 -19
- package/lang/translations/bn.po +19 -19
- package/lang/translations/ca.po +19 -19
- package/lang/translations/cs.po +19 -19
- package/lang/translations/da.po +19 -19
- package/lang/translations/de.po +19 -19
- package/lang/translations/el.po +19 -19
- package/lang/translations/es.po +19 -19
- package/lang/translations/et.po +19 -19
- package/lang/translations/fi.po +19 -19
- package/lang/translations/fr.po +19 -19
- package/lang/translations/he.po +19 -19
- package/lang/translations/hi.po +19 -19
- package/lang/translations/hu.po +19 -19
- package/lang/translations/id.po +19 -19
- package/lang/translations/it.po +19 -19
- package/lang/translations/ja.po +19 -19
- package/lang/translations/ko.po +19 -19
- package/lang/translations/lt.po +19 -19
- package/lang/translations/lv.po +19 -19
- package/lang/translations/ms.po +19 -19
- package/lang/translations/nl.po +19 -19
- package/lang/translations/no.po +19 -19
- package/lang/translations/pl.po +19 -19
- package/lang/translations/pt-br.po +19 -19
- package/lang/translations/pt.po +19 -19
- package/lang/translations/ro.po +19 -19
- package/lang/translations/ru.po +19 -19
- package/lang/translations/sk.po +19 -19
- package/lang/translations/sr.po +19 -19
- package/lang/translations/sv.po +19 -19
- package/lang/translations/th.po +19 -19
- package/lang/translations/tr.po +19 -19
- package/lang/translations/uk.po +19 -19
- package/lang/translations/vi.po +19 -19
- package/lang/translations/zh-cn.po +19 -19
- package/lang/translations/zh.po +19 -19
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.d.ts +0 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.d.ts +7 -4
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.d.ts +0 -67
- package/src/trackchanges.js +1 -1
- package/src/trackchangesconfig.d.ts +22 -19
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +14 -23
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -155,7 +155,7 @@ msgstr "*设置字号:* %0"
|
|
|
155
155
|
|
|
156
156
|
msgctxt "A suggestion for setting multiple inline formatting %0"
|
|
157
157
|
msgid "*Set format:* %0"
|
|
158
|
-
msgstr ""
|
|
158
|
+
msgstr "*设置格式:* %0"
|
|
159
159
|
|
|
160
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
161
161
|
msgid "*Set format to:* %0"
|
|
@@ -219,27 +219,27 @@ msgstr "放弃建议"
|
|
|
219
219
|
|
|
220
220
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
221
|
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
-
msgstr ""
|
|
222
|
+
msgstr "离开插入建议。"
|
|
223
223
|
|
|
224
224
|
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
225
|
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
-
msgstr ""
|
|
226
|
+
msgstr "进入插入建议。"
|
|
227
227
|
|
|
228
228
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
229
|
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
-
msgstr ""
|
|
230
|
+
msgstr "离开删除建议。"
|
|
231
231
|
|
|
232
232
|
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
233
|
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
-
msgstr ""
|
|
234
|
+
msgstr "进入删除建议。"
|
|
235
235
|
|
|
236
236
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
237
|
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
-
msgstr ""
|
|
238
|
+
msgstr "离开格式建议。"
|
|
239
239
|
|
|
240
240
|
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
241
|
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
-
msgstr ""
|
|
242
|
+
msgstr "进入格式建议。"
|
|
243
243
|
|
|
244
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
245
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
@@ -251,7 +251,7 @@ msgstr "项目符号列表"
|
|
|
251
251
|
|
|
252
252
|
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
253
|
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
-
msgstr ""
|
|
254
|
+
msgstr "项目符号列表(默认)"
|
|
255
255
|
|
|
256
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
257
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
@@ -325,7 +325,7 @@ msgstr "项目编号列表"
|
|
|
325
325
|
|
|
326
326
|
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
327
327
|
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
328
|
-
msgstr ""
|
|
328
|
+
msgstr "编号列表(默认)"
|
|
329
329
|
|
|
330
330
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
331
331
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
@@ -410,7 +410,7 @@ msgstr "待办事项列表"
|
|
|
410
410
|
|
|
411
411
|
msgctxt "The alignment format name displayed in a format suggestion."
|
|
412
412
|
msgid "FORMAT_ALIGNMENT"
|
|
413
|
-
msgstr ""
|
|
413
|
+
msgstr "对齐"
|
|
414
414
|
|
|
415
415
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
416
416
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
@@ -490,39 +490,39 @@ msgstr "下划线"
|
|
|
490
490
|
|
|
491
491
|
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
492
492
|
msgid "FORMAT_INDENT"
|
|
493
|
-
msgstr ""
|
|
493
|
+
msgstr "缩进"
|
|
494
494
|
|
|
495
495
|
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
496
496
|
msgid "FORMAT_LIST_REVERSED"
|
|
497
|
-
msgstr ""
|
|
497
|
+
msgstr "列表反转"
|
|
498
498
|
|
|
499
499
|
msgctxt "The list start format name displayed in a format suggestion."
|
|
500
500
|
msgid "FORMAT_LIST_START"
|
|
501
|
-
msgstr ""
|
|
501
|
+
msgstr "列表开始"
|
|
502
502
|
|
|
503
503
|
msgctxt "The font size format name displayed in a format suggestion."
|
|
504
504
|
msgid "FORMAT_FONT_SIZE"
|
|
505
|
-
msgstr ""
|
|
505
|
+
msgstr "字体大小"
|
|
506
506
|
|
|
507
507
|
msgctxt "The font family format name displayed in a format suggestion."
|
|
508
508
|
msgid "FORMAT_FONT_FAMILY"
|
|
509
|
-
msgstr ""
|
|
509
|
+
msgstr "字体类型"
|
|
510
510
|
|
|
511
511
|
msgctxt "The font color format name displayed in a format suggestion."
|
|
512
512
|
msgid "FORMAT_FONT_COLOR"
|
|
513
|
-
msgstr ""
|
|
513
|
+
msgstr "字体颜色"
|
|
514
514
|
|
|
515
515
|
msgctxt "The font background color format name displayed in a format suggestion."
|
|
516
516
|
msgid "FORMAT_FONT_BACKGROUND"
|
|
517
|
-
msgstr ""
|
|
517
|
+
msgstr "字体背景颜色"
|
|
518
518
|
|
|
519
519
|
msgctxt "The image width change format name displayed in a format suggestion."
|
|
520
520
|
msgid "FORMAT_IMAGE_WIDTH"
|
|
521
|
-
msgstr ""
|
|
521
|
+
msgstr "图片大小"
|
|
522
522
|
|
|
523
523
|
msgctxt "The style format name displayed in a format suggestion."
|
|
524
524
|
msgid "FORMAT_STYLE"
|
|
525
|
-
msgstr ""
|
|
525
|
+
msgstr "样式"
|
|
526
526
|
|
|
527
527
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
528
528
|
msgid "PENDING_ACTION_SUGGESTION"
|
package/lang/translations/zh.po
CHANGED
|
@@ -155,7 +155,7 @@ msgstr "*設定字型大小:*%0"
|
|
|
155
155
|
|
|
156
156
|
msgctxt "A suggestion for setting multiple inline formatting %0"
|
|
157
157
|
msgid "*Set format:* %0"
|
|
158
|
-
msgstr ""
|
|
158
|
+
msgstr "*設定格式:* %0"
|
|
159
159
|
|
|
160
160
|
msgctxt "A suggestion for setting multiple inline formatting to %0"
|
|
161
161
|
msgid "*Set format to:* %0"
|
|
@@ -219,27 +219,27 @@ msgstr "捨棄建議"
|
|
|
219
219
|
|
|
220
220
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves an insertion suggestion."
|
|
221
221
|
msgid "LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
222
|
-
msgstr ""
|
|
222
|
+
msgstr "正在離開插入建議。"
|
|
223
223
|
|
|
224
224
|
msgctxt "A message read out by assistive technologies the moment the user selection enters an insertion suggestion."
|
|
225
225
|
msgid "ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT"
|
|
226
|
-
msgstr ""
|
|
226
|
+
msgstr "正在進入插入建議。"
|
|
227
227
|
|
|
228
228
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves a deletion suggestion."
|
|
229
229
|
msgid "LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
230
|
-
msgstr ""
|
|
230
|
+
msgstr "正在離開刪除建議。"
|
|
231
231
|
|
|
232
232
|
msgctxt "A message read out by assistive technologies the moment the user selection enters a deletion suggestion."
|
|
233
233
|
msgid "ENTER_DELETION_SUGGESTION_ANNOUNCEMENT"
|
|
234
|
-
msgstr ""
|
|
234
|
+
msgstr "正在進入刪除建議。"
|
|
235
235
|
|
|
236
236
|
msgctxt "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion."
|
|
237
237
|
msgid "LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
238
|
-
msgstr ""
|
|
238
|
+
msgstr "正在離開格式建議。"
|
|
239
239
|
|
|
240
240
|
msgctxt "A message read out by assistive technologies the moment the user selection enters a formatting suggestion."
|
|
241
241
|
msgid "ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT"
|
|
242
|
-
msgstr ""
|
|
242
|
+
msgstr "正在進入格式建議。"
|
|
243
243
|
|
|
244
244
|
msgctxt "The block quote element name displayed in the suggestion."
|
|
245
245
|
msgid "ELEMENT_BLOCK_QUOTE"
|
|
@@ -251,7 +251,7 @@ msgstr "項目符號清單"
|
|
|
251
251
|
|
|
252
252
|
msgctxt "The default styled bulleted list element name displayed in the suggestion."
|
|
253
253
|
msgid "ELEMENT_BULLETED_LIST_DEFAULT"
|
|
254
|
-
msgstr ""
|
|
254
|
+
msgstr "項目符號清單(預設)"
|
|
255
255
|
|
|
256
256
|
msgctxt "The circle styled bulleted list element name displayed in the suggestion."
|
|
257
257
|
msgid "ELEMENT_BULLETED_LIST_CIRCLE"
|
|
@@ -325,7 +325,7 @@ msgstr "編號清單"
|
|
|
325
325
|
|
|
326
326
|
msgctxt "The default styled numbered list element name displayed in the suggestion."
|
|
327
327
|
msgid "ELEMENT_NUMBERED_LIST_DEFAULT"
|
|
328
|
-
msgstr ""
|
|
328
|
+
msgstr "編號清單(預設)"
|
|
329
329
|
|
|
330
330
|
msgctxt "The decimal styled numbered list element name displayed in the suggestion."
|
|
331
331
|
msgid "ELEMENT_NUMBERED_LIST_DECIMAL"
|
|
@@ -410,7 +410,7 @@ msgstr "待辦事項清單"
|
|
|
410
410
|
|
|
411
411
|
msgctxt "The alignment format name displayed in a format suggestion."
|
|
412
412
|
msgid "FORMAT_ALIGNMENT"
|
|
413
|
-
msgstr ""
|
|
413
|
+
msgstr "對齊"
|
|
414
414
|
|
|
415
415
|
msgctxt "The align to center format name displayed in a format suggestion."
|
|
416
416
|
msgid "FORMAT_ALIGN_TO_CENTER"
|
|
@@ -490,39 +490,39 @@ msgstr "底線"
|
|
|
490
490
|
|
|
491
491
|
msgctxt "The list or block indent format name displayed in a format suggestion."
|
|
492
492
|
msgid "FORMAT_INDENT"
|
|
493
|
-
msgstr ""
|
|
493
|
+
msgstr "縮排"
|
|
494
494
|
|
|
495
495
|
msgctxt "The list reversed format name displayed in a format suggestion."
|
|
496
496
|
msgid "FORMAT_LIST_REVERSED"
|
|
497
|
-
msgstr ""
|
|
497
|
+
msgstr "清單反轉"
|
|
498
498
|
|
|
499
499
|
msgctxt "The list start format name displayed in a format suggestion."
|
|
500
500
|
msgid "FORMAT_LIST_START"
|
|
501
|
-
msgstr ""
|
|
501
|
+
msgstr "清單起始"
|
|
502
502
|
|
|
503
503
|
msgctxt "The font size format name displayed in a format suggestion."
|
|
504
504
|
msgid "FORMAT_FONT_SIZE"
|
|
505
|
-
msgstr ""
|
|
505
|
+
msgstr "字型大小"
|
|
506
506
|
|
|
507
507
|
msgctxt "The font family format name displayed in a format suggestion."
|
|
508
508
|
msgid "FORMAT_FONT_FAMILY"
|
|
509
|
-
msgstr ""
|
|
509
|
+
msgstr "字型家族"
|
|
510
510
|
|
|
511
511
|
msgctxt "The font color format name displayed in a format suggestion."
|
|
512
512
|
msgid "FORMAT_FONT_COLOR"
|
|
513
|
-
msgstr ""
|
|
513
|
+
msgstr "字型顏色"
|
|
514
514
|
|
|
515
515
|
msgctxt "The font background color format name displayed in a format suggestion."
|
|
516
516
|
msgid "FORMAT_FONT_BACKGROUND"
|
|
517
|
-
msgstr ""
|
|
517
|
+
msgstr "字型背景顏色"
|
|
518
518
|
|
|
519
519
|
msgctxt "The image width change format name displayed in a format suggestion."
|
|
520
520
|
msgid "FORMAT_IMAGE_WIDTH"
|
|
521
|
-
msgstr ""
|
|
521
|
+
msgstr "圖片大小"
|
|
522
522
|
|
|
523
523
|
msgctxt "The style format name displayed in a format suggestion."
|
|
524
524
|
msgid "FORMAT_STYLE"
|
|
525
|
-
msgstr ""
|
|
525
|
+
msgstr "樣式"
|
|
526
526
|
|
|
527
527
|
msgctxt "The label for the alert shown when closing the editor with an unsaved track changes change."
|
|
528
528
|
msgid "PENDING_ACTION_SUGGESTION"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20231116.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231116.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231116.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca1=['plugins','_suggestions','acceptSuggestion','TrackChangesEditing','isEnabled','get','refresh','execute','_isEnabledBasedOnSelection','canEditAt','editor'];(function(_0x3bc73a,_0x3ca174){const _0xc23dfc=function(_0x4cd1ca){while(--_0x4cd1ca){_0x3bc73a['push'](_0x3bc73a['shift']());}};_0xc23dfc(++_0x3ca174);}(_0x3ca1,0x15f));const _0xc23d=function(_0x3bc73a,_0x3ca174){_0x3bc73a=_0x3bc73a-0x0;let _0xc23dfc=_0x3ca1[_0x3bc73a];return _0xc23dfc;};import{Command as _0x10103a}from'ckeditor5/src/core';import{CKEditorError as _0x29954a}from'ckeditor5/src/utils';export default class B extends _0x10103a{constructor(_0x27b7b3,_0x5a7f0d){super(_0x27b7b3),this[_0xc23d('0x2')]=_0x5a7f0d,this['refresh'](),this[_0xc23d('0x9')]=!0x1;}[_0xc23d('0x7')](){this[_0xc23d('0x5')]=!0x0;}[_0xc23d('0x8')](_0x3cebfa){const _0x13e839=this[_0xc23d('0x2')][_0xc23d('0x6')](_0x3cebfa);if(!_0x13e839)throw new _0x29954a('track-changes-accept-suggestion-not-found',this);const _0x4f6994=_0x13e839['getRanges']();this[_0xc23d('0x0')]['model'][_0xc23d('0xa')](_0x4f6994)&&this[_0xc23d('0x0')][_0xc23d('0x1')][_0xc23d('0x6')](_0xc23d('0x4'))[_0xc23d('0x3')](_0x13e839);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32a6=['canEditAt','get','refresh','editor','track-changes-discard-suggestion-not-found','TrackChangesEditing','isEnabled','execute','_isEnabledBasedOnSelection','_suggestions','plugins','getRanges'];(function(_0x2acb59,_0x32a630){const _0x96b1b=function(_0x15c791){while(--_0x15c791){_0x2acb59['push'](_0x2acb59['shift']());}};_0x96b1b(++_0x32a630);}(_0x32a6,0x117));const _0x96b1=function(_0x2acb59,_0x32a630){_0x2acb59=_0x2acb59-0x0;let _0x96b1b=_0x32a6[_0x2acb59];return _0x96b1b;};import{Command as _0x587d93}from'ckeditor5/src/core';import{CKEditorError as _0x35c2e0}from'ckeditor5/src/utils';export default class x extends _0x587d93{constructor(_0x3c38f9,_0x396601){super(_0x3c38f9),this['_suggestions']=_0x396601,this[_0x96b1('0xb')](),this[_0x96b1('0x5')]=!0x1;}[_0x96b1('0xb')](){this[_0x96b1('0x3')]=!0x0;}[_0x96b1('0x4')](_0x343a83){const _0x1ab2e9=this[_0x96b1('0x6')][_0x96b1('0xa')](_0x343a83);if(!_0x1ab2e9)throw new _0x35c2e0(_0x96b1('0x1'),this);const _0x9f8367=_0x1ab2e9[_0x96b1('0x8')]();this['editor']['model'][_0x96b1('0x9')](_0x9f8367)&&this[_0x96b1('0x0')][_0x96b1('0x7')][_0x96b1('0xa')](_0x96b1('0x2'))['discardSuggestion'](_0x1ab2e9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7a9c=['model','from','editor','_command','refresh','_isEnabledBasedOnSelection','_suggestions','isInContent','some','isEnabled','getRanges','values'];(function(_0x67be21,_0x7a9cf1){const _0x4b4bd7=function(_0x3a512e){while(--_0x3a512e){_0x67be21['push'](_0x67be21['shift']());}};_0x4b4bd7(++_0x7a9cf1);}(_0x7a9c,0x7f));const _0x4b4b=function(_0x67be21,_0x7a9cf1){_0x67be21=_0x67be21-0x0;let _0x4b4bd7=_0x7a9c[_0x67be21];return _0x4b4bd7;};import{Command as _0xdb144}from'ckeditor5/src/core';import{sortSuggestions as _0x545e3b,executeCommandForSuggestions as _0x23cfd6}from'../utils/utils';export default class E extends _0xdb144{constructor(_0x423f03,_0x2c68b1,_0x117023){super(_0x423f03),this[_0x4b4b('0x8')]=_0x2c68b1,this['_suggestions']=_0x117023,this['refresh'](),this[_0x4b4b('0xa')]=!0x1;}[_0x4b4b('0x9')](){const _0xf8a356=Array[_0x4b4b('0x6')](this['_suggestions'][_0x4b4b('0x4')]())[_0x4b4b('0x1')](_0x4736d8=>_0x4736d8[_0x4b4b('0x0')]);this[_0x4b4b('0x2')]=this[_0x4b4b('0x8')][_0x4b4b('0x2')]&&_0xf8a356;}['execute'](){const _0x18f542=_0x545e3b(Array[_0x4b4b('0x6')](this[_0x4b4b('0xb')][_0x4b4b('0x4')]()));for(const _0x514c6a of _0x18f542){const _0x22d1d3=_0x514c6a[_0x4b4b('0x3')]();if(!this[_0x4b4b('0x7')][_0x4b4b('0x5')]['canEditAt'](_0x22d1d3))return;}_0x23cfd6(this[_0x4b4b('0x7')]['model'],this[_0x4b4b('0x8')],_0x18f542);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53dd=['isEnabled','canEditAt','_selectedSuggestions','_suggestions','values','_command','getRanges','editor','document','execute','size','refresh','from','model','selection'];(function(_0x5a9238,_0x53dd3b){const _0x18df2c=function(_0x482cda){while(--_0x482cda){_0x5a9238['push'](_0x5a9238['shift']());}};_0x18df2c(++_0x53dd3b);}(_0x53dd,0x1e0));const _0x18df=function(_0x5a9238,_0x53dd3b){_0x5a9238=_0x5a9238-0x0;let _0x18df2c=_0x53dd[_0x5a9238];return _0x18df2c;};import{Command as _0x5d8a44}from'ckeditor5/src/core';import{sortSuggestions as _0x1db9ff,getSelectedSuggestions as _0x26880b,executeCommandForSuggestions as _0x57be17}from'../utils/utils';export default class R extends _0x5d8a44{constructor(_0x26ee66,_0x11b2ea,_0x28b27d){super(_0x26ee66),this[_0x18df('0x5')]=_0x11b2ea,this[_0x18df('0x3')]=_0x28b27d,this[_0x18df('0x2')]=new Set(),this[_0x18df('0xb')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x18df('0xb')](){const _0x1cffe8=this[_0x18df('0x7')]['model'][_0x18df('0x8')][_0x18df('0xe')],_0x5961c3=Array[_0x18df('0xc')](this['_suggestions'][_0x18df('0x4')]());this['_selectedSuggestions']=_0x26880b(_0x1cffe8,_0x5961c3),this[_0x18df('0x0')]=this[_0x18df('0x5')]['isEnabled']&&!!this[_0x18df('0x2')][_0x18df('0xa')];}[_0x18df('0x9')](){const _0xdba85d=_0x1db9ff(Array[_0x18df('0xc')](this['_selectedSuggestions']));for(const _0x55385c of _0xdba85d){const _0x25f65e=_0x55385c[_0x18df('0x6')]();if(!this[_0x18df('0x7')][_0x18df('0xd')][_0x18df('0x1')](_0x25f65e))return;}_0x57be17(this[_0x18df('0x7')]['model'],this[_0x18df('0x5')],_0xdba85d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18e2=['_isEnabledBasedOnSelection','commands','_enableCommands','execute','clearForceDisabled','refresh','editor','_enabledCommands','forceDisabled','value'];(function(_0x2a3629,_0x18e2c1){const _0x4ed3f2=function(_0x392c48){while(--_0x392c48){_0x2a3629['push'](_0x2a3629['shift']());}};_0x4ed3f2(++_0x18e2c1);}(_0x18e2,0x115));const _0x4ed3=function(_0x2a3629,_0x18e2c1){_0x2a3629=_0x2a3629-0x0;let _0x4ed3f2=_0x18e2[_0x2a3629];return _0x4ed3f2;};import{Command as _0x39934d}from'ckeditor5/src/core';export default class $ extends _0x39934d{constructor(_0x5e1c47,_0x11adcd){super(_0x5e1c47),this[_0x4ed3('0x0')]=_0x11adcd,this[_0x4ed3('0x2')]=!0x1,this['refresh'](),this[_0x4ed3('0x3')]=!0x1;}[_0x4ed3('0x8')](){this['isEnabled']=!0x0;}[_0x4ed3('0x6')](){this[_0x4ed3('0x2')]=!this[_0x4ed3('0x2')],this[_0x4ed3('0x2')]?this['_disableUnsupportedCommands']():this[_0x4ed3('0x5')]();}['_disableUnsupportedCommands'](){for(const _0xdf0cc5 of this[_0x4ed3('0x9')][_0x4ed3('0x4')][_0x4ed3('0x4')]())_0xdf0cc5['affectsData']&&!this[_0x4ed3('0x0')]['has'](_0xdf0cc5)&&_0xdf0cc5[_0x4ed3('0x1')]('TrackChangesCommand');}[_0x4ed3('0x5')](){for(const _0xcb65cf of this['editor'][_0x4ed3('0x4')][_0x4ed3('0x4')]())_0xcb65cf['affectsData']&&!this[_0x4ed3('0x0')]['has'](_0xcb65cf)&&_0xcb65cf[_0x4ed3('0x7')]('TrackChangesCommand');}}
|
package/src/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
export { default as TrackChanges, type SuggestionData } from './trackchanges';
|
|
5
|
+
export { default as TrackChanges, type SuggestionData, type TrackChangesAdapter } from './trackchanges';
|
|
6
6
|
export { default as TrackChangesData } from './trackchangesdata';
|
|
7
7
|
export { default as TrackChangesEditing } from './trackchangesediting';
|
|
8
8
|
export type { SuggestionJSON } from './suggestion';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30a4=['get','plugins','TrackChangesEditing','editor','showAIAssistant','commands'];(function(_0x6de8d0,_0x30a48b){const _0x2e99f4=function(_0x343f06){while(--_0x343f06){_0x6de8d0['push'](_0x6de8d0['shift']());}};_0x2e99f4(++_0x30a48b);}(_0x30a4,0x80));const _0x2e99=function(_0x6de8d0,_0x30a48b){_0x6de8d0=_0x6de8d0-0x0;let _0x2e99f4=_0x30a4[_0x6de8d0];return _0x2e99f4;};import{Plugin as _0x3a8f43}from'ckeditor5/src/core';export default class j extends _0x3a8f43{['afterInit'](){const _0x24d1c4=this[_0x2e99('0x1')],_0x160bc7=_0x24d1c4[_0x2e99('0x5')][_0x2e99('0x4')](_0x2e99('0x0'));_0x24d1c4[_0x2e99('0x3')][_0x2e99('0x4')](_0x2e99('0x2'))&&_0x160bc7['enableCommand']('showAIAssistant');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3567=['justify','locale','right','type','center','_registerLegacyDescription','TrackChangesEditing','afterInit','*Format:*\x20%0','editor','AlignmentEditing','commandName','get','has','commandParams','_descriptionFactory','registerDescriptionCallback','FORMAT_ALIGN_TO_RIGHT','plugins','FORMAT_JUSTIFY_TEXT','FORMAT_ALIGN_TO_CENTER','registerAttributeLabel','FORMAT_ALIGN_TO_LEFT','alignment','value','left','format'];(function(_0x42b046,_0x3567b0){const _0x445420=function(_0x158fb2){while(--_0x158fb2){_0x42b046['push'](_0x42b046['shift']());}};_0x445420(++_0x3567b0);}(_0x3567,0x17c));const _0x4454=function(_0x42b046,_0x3567b0){_0x42b046=_0x42b046-0x0;let _0x445420=_0x3567[_0x42b046];return _0x445420;};import{Plugin as _0xee05ff}from'ckeditor5/src/core';import{getTranslation as _0x1de5e0}from'../utils/common-translations';export default class U extends _0xee05ff{[_0x4454('0x5')](){const _0x35343e=this['editor'],_0x54db66=_0x35343e['locale'];if(!_0x35343e[_0x4454('0x10')][_0x4454('0xb')](_0x4454('0x8')))return;const _0x49dda4=_0x35343e[_0x4454('0x10')][_0x4454('0xa')](_0x4454('0x4'));_0x49dda4['_enableDefaultAttributesIntegration'](_0x4454('0x15'),[],[_0x4454('0x15')]),_0x49dda4[_0x4454('0xd')][_0x4454('0x13')](_0x4454('0x15'),_0x1de5e0(_0x54db66,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}[_0x4454('0x3')](){const _0x325033=this[_0x4454('0x7')],_0x5854ba=_0x325033[_0x4454('0x1a')];_0x325033[_0x4454('0x10')][_0x4454('0xa')](_0x4454('0x4'))[_0x4454('0xd')][_0x4454('0xe')](_0x12b5f3=>{if('formatBlock'!=_0x12b5f3[_0x4454('0x1')])return;const {data:_0x15bbd2}=_0x12b5f3;if(_0x15bbd2&&_0x4454('0x15')==_0x15bbd2[_0x4454('0x9')]){const _0x4e4ee6=_0x15bbd2[_0x4454('0xc')][0x0][_0x4454('0x16')];return{'type':_0x4454('0x18'),'content':_0x1de5e0(_0x5854ba,_0x4454('0x6'),function(_0x5bec23){switch(_0x5bec23){case _0x4454('0x17'):return _0x1de5e0(_0x5854ba,_0x4454('0x14'));case _0x4454('0x0'):return _0x1de5e0(_0x5854ba,_0x4454('0xf'));case _0x4454('0x2'):return _0x1de5e0(_0x5854ba,_0x4454('0x12'));case _0x4454('0x19'):return _0x1de5e0(_0x5854ba,_0x4454('0x11'));}}(_0x4e4ee6))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44b2=['afterInit','italic','SubscriptEditing','FORMAT_CODE','editor','format','_enableDefaultAttributesIntegration','FORMAT_SUBSCRIPT','toUpperCase','registerAttributeLabel','FORMAT_','CodeEditing','UnderlineEditing','commandName','get','toLowerCase','_registerLegacyDescription','locale','has','slice','_descriptionFactory','superscript','bold','BoldEditing','underline','TrackChangesEditing','FORMAT_SUPERSCRIPT','plugins','*Format:*\x20%0','FORMAT_STRIKETHROUGH','registerDescriptionCallback','ItalicEditing','FORMAT_BOLD','FORMAT_UNDERLINE','formatInline','subscript'];(function(_0x3a8649,_0x44b211){const _0x485b59=function(_0x10a617){while(--_0x10a617){_0x3a8649['push'](_0x3a8649['shift']());}};_0x485b59(++_0x44b211);}(_0x44b2,0x15a));const _0x485b=function(_0x3a8649,_0x44b211){_0x3a8649=_0x3a8649-0x0;let _0x485b59=_0x44b2[_0x3a8649];return _0x485b59;};import{Plugin as _0x475a12}from'ckeditor5/src/core';import{getTranslation as _0x253c4d}from'../utils/common-translations';const ti=[_0x485b('0x1'),_0x485b('0x9'),_0x485b('0x1a'),_0x485b('0x19'),'StrikethroughEditing',_0x485b('0x10'),'SuperscriptEditing'];export default class O extends _0x475a12{[_0x485b('0xe')](){const _0x481a95=this[_0x485b('0x12')],_0x3e58d8=_0x481a95[_0x485b('0x5')][_0x485b('0x1c')](_0x485b('0x3')),_0x10b616=_0x481a95[_0x485b('0x1f')];for(const _0x3c338b of ti){if(!_0x481a95[_0x485b('0x5')][_0x485b('0x20')](_0x3c338b))continue;const _0x291fcd=_0x3c338b[_0x485b('0x21')](0x0,-0x7)[_0x485b('0x1d')](),_0x239963=_0x485b('0x18')+_0x291fcd[_0x485b('0x16')]();_0x3e58d8[_0x485b('0x14')](_0x291fcd,[_0x291fcd]),_0x3e58d8[_0x485b('0x22')][_0x485b('0x17')](_0x291fcd,_0x253c4d(_0x10b616,_0x239963));}this[_0x485b('0x1e')]();}[_0x485b('0x1e')](){const _0x49c839=this[_0x485b('0x12')],_0x5dc2a9=_0x49c839[_0x485b('0x1f')],_0xf5b154=_0x49c839[_0x485b('0x5')]['get']('TrackChangesEditing');function _0x1bd2a2(_0x4c4338,_0x3e9b1d){_0xf5b154[_0x485b('0x22')][_0x485b('0x8')](_0x1e25bc=>{if(_0x485b('0xc')!=_0x1e25bc['type'])return;const {data:_0x33e1d1}=_0x1e25bc;return _0x33e1d1&&_0x33e1d1[_0x485b('0x1b')]===_0x4c4338?_0x33e1d1['commandParams'][0x0]['forceValue']?{'type':_0x485b('0x13'),'content':_0x253c4d(_0x5dc2a9,_0x485b('0x6'),_0x3e9b1d)}:{'type':_0x485b('0x13'),'content':_0x253c4d(_0x5dc2a9,'*Remove\x20format:*\x20%0',_0x3e9b1d)}:void 0x0;});}_0x1bd2a2(_0x485b('0x0'),_0x253c4d(_0x5dc2a9,_0x485b('0xa'))),_0x1bd2a2(_0x485b('0xf'),_0x253c4d(_0x5dc2a9,'FORMAT_ITALIC')),_0x1bd2a2(_0x485b('0x2'),_0x253c4d(_0x5dc2a9,_0x485b('0xb'))),_0x1bd2a2('code',_0x253c4d(_0x5dc2a9,_0x485b('0x11'))),_0x1bd2a2('strikethrough',_0x253c4d(_0x5dc2a9,_0x485b('0x7'))),_0x1bd2a2(_0x485b('0xd'),_0x253c4d(_0x5dc2a9,_0x485b('0x15'))),_0x1bd2a2(_0x485b('0x23'),_0x253c4d(_0x5dc2a9,_0x485b('0x4')));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5105=['filter','selection','get','name','commandName','from','locale','ELEMENT_BLOCK_QUOTE','model','document','value','blockQuote','markBlockFormat','$root','change','schema','parent','_descriptionFactory','forceValue','afterInit','plugins','editor','*Remove\x20format:*\x20%0','enableCommand','BlockQuoteEditing','has','TrackChangesEditing','commandParams','format','commands','getSelectedBlocks'];(function(_0x19c8e5,_0x5105c8){const _0x174853=function(_0x3dda00){while(--_0x3dda00){_0x19c8e5['push'](_0x19c8e5['shift']());}};_0x174853(++_0x5105c8);}(_0x5105,0xd0));const _0x1748=function(_0x19c8e5,_0x5105c8){_0x19c8e5=_0x19c8e5-0x0;let _0x174853=_0x5105[_0x19c8e5];return _0x174853;};import{Plugin as _0x4f4a08}from'ckeditor5/src/core';import{getTranslation as _0x28b425}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x437495}from'../utils/utils';export default class V extends _0x4f4a08{[_0x1748('0x1c')](){const _0x2b42a4=this[_0x1748('0x1e')],_0x3eaa18=_0x2b42a4[_0x1748('0xf')];if(!_0x2b42a4[_0x1748('0x1d')][_0x1748('0x3')](_0x1748('0x2')))return;const _0x5325b9=_0x2b42a4[_0x1748('0x1d')][_0x1748('0xb')](_0x1748('0x4')),_0x59c88e=this[_0x1748('0x1e')][_0x1748('0x7')][_0x1748('0xb')]('blockQuote');_0x5325b9[_0x1748('0x1')](_0x1748('0x14'),(_0x53d7ef,_0x60d8f1={})=>{const _0x1ebb78=this[_0x1748('0x1e')][_0x1748('0x11')][_0x1748('0x12')][_0x1748('0xa')],_0xe6eaeb=_0x60d8f1&&void 0x0!==_0x60d8f1['forceValue']?_0x60d8f1[_0x1748('0x1b')]:!_0x59c88e[_0x1748('0x13')];let _0x4dd13e=[];if(_0xe6eaeb){const _0x56cc22=Array[_0x1748('0xe')](_0x1ebb78[_0x1748('0x8')]())[_0x1748('0x9')](_0x95d422=>oo(_0x95d422)||function(_0x376b0a,_0x5cdf7d){const _0xf51015=_0x5cdf7d['checkChild'](_0x376b0a[_0x1748('0x19')],_0x1748('0x14')),_0x5b89d9=_0x5cdf7d['checkChild']([_0x1748('0x16'),'blockQuote'],_0x376b0a);return _0xf51015&&_0x5b89d9;}(_0x95d422,this[_0x1748('0x1e')][_0x1748('0x11')][_0x1748('0x18')]));_0x4dd13e=_0x437495(_0x56cc22,_0x2b42a4['model']);}else{const _0x2d368c=Array[_0x1748('0xe')](_0x1ebb78[_0x1748('0x8')]())[_0x1748('0x9')](_0x3e21cf=>oo(_0x3e21cf));_0x4dd13e=_0x437495(_0x2d368c,_0x2b42a4['model']);}_0x2b42a4[_0x1748('0x11')][_0x1748('0x17')](()=>{for(const _0x30a2f2 of _0x4dd13e)_0x5325b9[_0x1748('0x15')](_0x30a2f2,{'commandName':_0x1748('0x14'),'commandParams':[{'forceValue':_0xe6eaeb}]});});}),_0x5325b9[_0x1748('0x1a')]['registerDescriptionCallback'](_0x12e6a7=>{const {data:_0x48e780}=_0x12e6a7;if(_0x48e780&&_0x1748('0x14')==_0x48e780[_0x1748('0xd')]){const _0x57eb90=_0x28b425(_0x3eaa18,_0x1748('0x10'));return _0x48e780[_0x1748('0x5')][0x0][_0x1748('0x1b')]?{'type':'format','content':_0x28b425(_0x3eaa18,'*Set\x20format:*\x20%0',_0x57eb90)}:{'type':_0x1748('0x6'),'content':_0x28b425(_0x3eaa18,_0x1748('0x0'),_0x57eb90)};}});}}function oo(_0x54d7fd){return'blockQuote'==_0x54d7fd[_0x1748('0x19')][_0x1748('0xc')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59ed=['commands','editor','enableCommand','ckbox','get','TrackChangesEditing','afterInit'];(function(_0x4db988,_0x59ed99){const _0x3e2564=function(_0x32f1cc){while(--_0x32f1cc){_0x4db988['push'](_0x4db988['shift']());}};_0x3e2564(++_0x59ed99);}(_0x59ed,0x1aa));const _0x3e25=function(_0x4db988,_0x59ed99){_0x4db988=_0x4db988-0x0;let _0x3e2564=_0x59ed[_0x4db988];return _0x3e2564;};import{Plugin as _0xb262aa}from'ckeditor5/src/core';export default class F extends _0xb262aa{[_0x3e25('0x0')](){const _0x171faf=this[_0x3e25('0x2')];_0x171faf[_0x3e25('0x1')][_0x3e25('0x5')](_0x3e25('0x4'))&&_0x171faf['plugins'][_0x3e25('0x5')](_0x3e25('0x6'))[_0x3e25('0x3')](_0x3e25('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x326a=['codeBlock','forceValue','getSelectedBlocks','selection','enableCommand','formatBlock','toLowerCase','isLimit','change','type','document','schema','_descriptionFactory','name','registerDescriptionCallback','label','indentCodeBlock','outdentCodeBlock','ELEMENT_CODE_BLOCK','commandName','get','filter','has','checkChild','registerElementLabel','locale','language','format','model','CodeBlock','commandParams','config','*Remove\x20format:*\x20%0','blockName','markBlockFormat','parent','editor','languages','plugins','find','from'];(function(_0x17b951,_0x326a20){const _0x507d89=function(_0x5975ec){while(--_0x5975ec){_0x17b951['push'](_0x17b951['shift']());}};_0x507d89(++_0x326a20);}(_0x326a,0xc7));const _0x507d=function(_0x17b951,_0x326a20){_0x17b951=_0x17b951-0x0;let _0x507d89=_0x326a[_0x17b951];return _0x507d89;};import{Plugin as _0x3affc2}from'ckeditor5/src/core';import{getTranslation as _0x257e01}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x494d49}from'../utils/utils';export default class G extends _0x3affc2{['afterInit'](){const _0x2a27bd=this[_0x507d('0x1')];if(!_0x2a27bd[_0x507d('0x3')][_0x507d('0x1c')](_0x507d('0x23')))return;const _0x42a60b=_0x2a27bd[_0x507d('0x3')][_0x507d('0x1a')]('TrackChangesEditing'),_0xa65c1b=_0x2a27bd[_0x507d('0x1f')],_0x8462c0=_0x2a27bd[_0x507d('0x25')]['get'](_0x507d('0x6'))[_0x507d('0x2')],_0xbfdf58=_0x2a27bd['commands']['get']('codeBlock');_0x42a60b[_0x507d('0xa')](_0x507d('0x16')),_0x42a60b[_0x507d('0xa')](_0x507d('0x17')),_0x42a60b[_0x507d('0xa')](_0x507d('0x6'),(_0x28100a,_0x27a762={})=>{const _0x16dc5d=_0x2a27bd[_0x507d('0x22')],_0x4e06a1=_0x2a27bd['model'][_0x507d('0x10')][_0x507d('0x9')],_0x2bef40=_0x27a762&&void 0x0!==_0x27a762['forceValue']?_0x27a762[_0x507d('0x7')]:!_0xbfdf58['value'];let _0x306d00;_0x27a762[_0x507d('0x20')]||(_0x27a762[_0x507d('0x20')]=_0x8462c0[0x0][_0x507d('0x20')]),_0x306d00=_0x2bef40?Array[_0x507d('0x5')](_0x4e06a1[_0x507d('0x8')]())[_0x507d('0x1b')](_0x3e0fcb=>eo(_0x3e0fcb)||function(_0xfdd3e8,_0xb06e9b){if(_0xfdd3e8['is']('rootElement')||_0xb06e9b[_0x507d('0xd')](_0xfdd3e8))return!0x1;return _0xb06e9b[_0x507d('0x1d')](_0xfdd3e8[_0x507d('0x0')],_0x507d('0x6'));}(_0x3e0fcb,_0x16dc5d[_0x507d('0x11')])):Array[_0x507d('0x5')](_0x4e06a1['getSelectedBlocks']())['filter'](_0x452057=>eo(_0x452057));const _0x302de7=_0x494d49(_0x306d00,_0x16dc5d);_0x16dc5d[_0x507d('0xe')](()=>{for(const _0x201f21 of _0x302de7)_0x42a60b[_0x507d('0x28')](_0x201f21,{'commandName':_0x507d('0x6'),'commandParams':[{..._0x27a762,'forceValue':_0x2bef40}],'formatGroupId':_0x507d('0x27')});});}),(_0x42a60b['_descriptionFactory'][_0x507d('0x1e')](_0x507d('0x6'),_0x3e17fd=>_0x257e01(_0xa65c1b,_0x507d('0x18'),_0x3e17fd)),_0x42a60b[_0x507d('0x12')][_0x507d('0x14')](_0x2a3801=>{if(_0x507d('0xb')!=_0x2a3801[_0x507d('0xf')])return;const _0x1d6115=_0xa65c1b['t'],{data:_0x101c3b}=_0x2a3801;if(!_0x101c3b||_0x507d('0x6')!=_0x101c3b[_0x507d('0x19')])return;const _0x570744=_0x101c3b[_0x507d('0x24')][0x0]['language'],_0x1e070d=_0x1d6115(_0x8462c0[_0x507d('0x4')](_0x4d6a36=>_0x4d6a36['language']===_0x570744)[_0x507d('0x15')])[_0x507d('0xc')]();return _0x101c3b[_0x507d('0x24')][0x0][_0x507d('0x7')]?{'type':'format','content':_0x257e01(_0xa65c1b,'*Set\x20format:*\x20%0',_0x257e01(_0xa65c1b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x1e070d+')')}:{'type':_0x507d('0x21'),'content':_0x257e01(_0xa65c1b,_0x507d('0x26'),_0x257e01(_0xa65c1b,_0x507d('0x18'),0x1))};}));}}function eo(_0x363aad){return _0x507d('0x6')==_0x363aad[_0x507d('0x13')];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1df5=['addCommentThread','has','TrackChangesEditing','enableCommand','afterInit','plugins'];(function(_0xdd9fb8,_0x1df50a){const _0x488c2e=function(_0x2412fd){while(--_0x2412fd){_0xdd9fb8['push'](_0xdd9fb8['shift']());}};_0x488c2e(++_0x1df50a);}(_0x1df5,0x9e));const _0x488c=function(_0xdd9fb8,_0x1df50a){_0xdd9fb8=_0xdd9fb8-0x0;let _0x488c2e=_0x1df5[_0xdd9fb8];return _0x488c2e;};import{Plugin as _0x2f0c41}from'ckeditor5/src/core';export default class L extends _0x2f0c41{[_0x488c('0x2')](){const _0xcca782=this['editor'];if(!_0xcca782[_0x488c('0x3')][_0x488c('0x5')]('CommentsEditing'))return;_0xcca782['plugins']['get'](_0x488c('0x0'))[_0x488c('0x1')](_0x488c('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1105=['deleteForward','showSuggestionHighlights','high','merge','fromRange','lock','root','enqueueChange','selection','isCollapsed','mapper','detach','remove','batch','buffer','unbindElementFromMarkerName','addMarker:suggestion:deletion','document','downcastDispatcher','get','setSelection','editing','$graveyard','plugins','bind','createRange','createSelection','TrackChangesEditing','uiElement','unit','model','delete','unlock','modifySelection','editor','options','markerName','writer','start','data','getFirstRange','end','rootName'];(function(_0x4f5864,_0x1105de){const _0x354bbb=function(_0x121a0f){while(--_0x121a0f){_0x4f5864['push'](_0x4f5864['shift']());}};_0x354bbb(++_0x1105de);}(_0x1105,0x1b1));const _0x354b=function(_0x4f5864,_0x1105de){_0x4f5864=_0x4f5864-0x0;let _0x354bbb=_0x1105[_0x4f5864];return _0x354bbb;};import{Plugin as _0x27d720}from'ckeditor5/src/core';import{LiveRange as _0x1455b9}from'ckeditor5/src/engine';import{Delete as _0x558161}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x114195}from'./utils';export default class H extends _0x27d720{static get['requires'](){return[_0x558161];}['init'](){const _0x125c71=this[_0x354b('0x1f')],_0x37b04a=_0x125c71[_0x354b('0x14')][_0x354b('0x10')](_0x354b('0x18'));_0x37b04a['enableCommand'](_0x354b('0x1c'));const _0x405c7a=_0x125c71['commands'][_0x354b('0x10')]('deleteForward');_0x37b04a['enableCommand'](_0x354b('0x28'),(_0x15a591,_0x46d3fa={})=>{const _0xb4c6d4=_0x125c71['model'][_0x354b('0x17')](_0x125c71[_0x354b('0x1b')][_0x354b('0xe')][_0x354b('0x5')]);_0xb4c6d4[_0x354b('0x6')]&&_0x125c71[_0x354b('0x1b')][_0x354b('0x1e')](_0xb4c6d4,{'direction':'forward','unit':_0x46d3fa[_0x354b('0x1a')]});const _0x5ebe81=_0xb4c6d4[_0x354b('0x25')](),_0x2f2b4f=_0x1455b9[_0x354b('0x1')](_0x5ebe81);let _0x3f9287;_0x15a591(_0x46d3fa),_0x3f9287=_0x354b('0x13')==_0x2f2b4f[_0x354b('0x3')][_0x354b('0x27')]?_0x125c71[_0x354b('0x1b')][_0x354b('0x16')](_0x5ebe81[_0x354b('0x23')]):_0x125c71[_0x354b('0x1b')]['createRange'](_0x2f2b4f[_0x354b('0x23')],_0x2f2b4f[_0x354b('0x26')]),_0x2f2b4f[_0x354b('0x8')](),_0x125c71['model'][_0x354b('0x4')](_0x405c7a[_0x354b('0xb')][_0x354b('0xa')],_0x1c56cd=>{_0x405c7a[_0x354b('0xb')][_0x354b('0x2')](),_0x1c56cd[_0x354b('0x11')](_0x1c56cd[_0x354b('0x16')](_0x3f9287[_0x354b('0x26')])),_0x405c7a[_0x354b('0xb')][_0x354b('0x1d')]();});}),_0x125c71[_0x354b('0x12')][_0x354b('0xf')]['on']('addMarker:suggestion:deletion',_0x114195(_0x125c71,_0x354b('0x0')),{'priority':_0x354b('0x2a')}),_0x125c71[_0x354b('0x24')]['downcastDispatcher']['on'](_0x354b('0xd'),(_0x4b78d8,_0x22258c,_0x2673cf)=>{_0x2673cf[_0x354b('0x20')][_0x354b('0x29')]&&_0x114195(_0x125c71,_0x354b('0x0'),{'showActiveMarker':!0x1})[_0x354b('0x15')](this)(_0x4b78d8,_0x22258c,_0x2673cf);},{'priority':_0x354b('0x2a')}),_0x125c71[_0x354b('0x12')][_0x354b('0xf')]['on']('removeMarker:suggestion:deletion',(_0x4c8075,_0x41160c,_0x46159f)=>{const _0x285bab=_0x46159f[_0x354b('0x7')]['markerNameToElements'](_0x41160c[_0x354b('0x21')]);if(_0x285bab)for(const _0x30d54a of _0x285bab)_0x30d54a['is'](_0x354b('0x19'))&&(_0x46159f[_0x354b('0x7')][_0x354b('0xc')](_0x30d54a,_0x41160c[_0x354b('0x21')]),_0x46159f[_0x354b('0x22')][_0x354b('0x9')](_0x30d54a));},{'priority':_0x354b('0x2a')});}}
|