@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240729.0 → 0.0.0-nightly-20240731.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 +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/view/basesuggestionthreadview.d.ts +32 -3
- package/dist/ui/view/suggestionthreadview.d.ts +16 -9
- package/dist/utils/utils.d.ts +7 -0
- package/lang/contexts.json +2 -0
- package/package.json +10 -10
- 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 -0
- package/src/index.js +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/casechange.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/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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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/mergefields.js +1 -1
- package/src/integrations/multilevellist.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.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 +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- package/src/ui/view/basesuggestionthreadview.d.ts +32 -3
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.d.ts +16 -9
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.d.ts +7 -0
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x205fb5=>{const {zh:{dictionary:_0x335e9e,getPluralForm:_0x1921c8}}={'zh':{'dictionary':{'*Change\x20to:*\x20%0':'*更改成:*%0','*Change\x20%0\x20content*':'*變更\x20%0\x20內容*','*Check\x20item*':'*勾選項目*','*Format:*\x20%0':'*格式:*%0','*Indent:*\x20%0':'*縮排:*%0','*Insert:*\x20%0':'*插入:*%0','*Format:*\x20change\x20table\x20properties':'*格式:*變更表格屬性','*Format:*\x20change\x20table\x20cell\x20properties':'*格式:*變更表格的儲存格屬性','*Format:*\x20insert\x20into\x20%0':'*格式:*插入\x20%0','*Format:*\x20remove\x20from\x20%0':'*格式:*從\x20%0\x20移除','*Replace\x20image\x20URL*':'*替換圖片網址*','*Format:*\x20resize\x20table':'*格式:*調整表格大小','*Format:*\x20set\x20order\x20to\x20reversed':'*格式:*反向排序','*Format:*\x20set\x20order\x20to\x20regular':'*格式:*依標準排序','*Format:*\x20set\x20start\x20index\x20to\x20%0':'*格式:*將起始索引設定為\x20%0','*Merge\x20cells*':'*合併儲存格*','*Merge:*\x20%0':'*合併:*%0','*Outdent:*\x20%0':'*凸排:*%0','*Remove\x20all\x20formatting*':'*清除格式設定*','*Remove\x20format:*\x20%0':'*移除格式:*%0','*Remove\x20highlight*':'*刪除亮顯*','*Remove\x20image\x20text\x20alternative*':'*移除圖片替代文字*','*Remove\x20link*':'*移除連結*','*Remove:*\x20%0':'*移除:*%0','*Replace\x20table\x20cells*':'*取代儲存格*','*Reset\x20font\x20background\x20color*':'*重設文字背景顏色*','*Reset\x20font\x20color*':'*重設文字顏色*','*Reset\x20font\x20family*':'*重設字型*','*Reset\x20font\x20size*':'*重設字體大小*','*Reset\x20image\x20width*':'*重設圖片寬度*','*Set\x20font\x20background\x20color:*\x20%0':'*設定文字背景顏色:*%0','*Set\x20font\x20color:*\x20%0':'*設定字型顏色:*\x20%0','*Set\x20font\x20family:*\x20%0':'*設定字型家族:*%0','*Set\x20font\x20size:*\x20%0':'*設定字型大小:*%0','*Set\x20format:*\x20%0':'*設定格式:*\x20%0','*Set\x20format\x20to:*\x20%0':'*設定格式為:*%0','*Set\x20highlight:*\x20%0':'*設定亮顯:*%0','*Set\x20image\x20text\x20alternative:*\x20%0':'*設定影像替代文字:*%0','*Set\x20image\x20width:*\x20%0':'*設定影像寬度:*%0','*Set\x20link:*\x20%0':'*設定連結:*%0','*Split\x20cell:*\x20horizontally':'*分割儲存格:*\x20水平','*Split\x20cell:*\x20vertically':'*分割儲存格:*\x20垂直','*Split:*\x20%0':'*分割:*%0','*Uncheck\x20item*':'*取消勾選項目*','Accept\x20all\x20selected\x20suggestions':'接受所有已選取的建議','Accept\x20all\x20suggestions':'接受所有建議','Accept\x20suggestion':'接受建議','Discard\x20all\x20selected\x20suggestions':'捨棄所有選取的建議','Discard\x20all\x20suggestions':'捨棄所有建議','Discard\x20suggestion':'捨棄建議','LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':'正在離開插入建議。','ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':'正在進入插入建議。','LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':'正在離開刪除建議。','ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':'正在進入刪除建議。','LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':'正在離開格式建議。','ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':'正在進入格式建議。','ELEMENT_BLOCK_QUOTE':'區塊引述','ELEMENT_DEFAULT_LIST_DEFAULT':'預設清單樣式','ELEMENT_BULLETED_LIST':'項目符號清單','ELEMENT_BULLETED_LIST_DEFAULT':'項目符號清單(預設)','ELEMENT_BULLETED_LIST_CIRCLE':'項目符號列表(空心圓)','ELEMENT_BULLETED_LIST_DISC':'項目符號列表(實心圓)','ELEMENT_BULLETED_LIST_SQUARE':'項目符號列表(方塊)','ELEMENT_CAPTION':'標號','ELEMENT_CODE_BLOCK':'代碼區塊','ELEMENT_HEADING':'標題(層級\x20%1)','ELEMENT_HEADING_CUSTOM':'標題\x20(%1)','ELEMENT_HORIZONTAL_LINE':'水平線','ELEMENT_HTML_EMBED':'HTML\x20內嵌','ELEMENT_IMAGE':'影像','ELEMENT_INLINE_IMAGE':'影像','ELEMENT_LINE_BREAK':'分行符號','ELEMENT_LIST_ITEM':'清單項目','ELEMENT_MEDIA':'媒體項目','ELEMENT_NUMBERED_LIST':'編號清單','ELEMENT_NUMBERED_LIST_DEFAULT':'編號清單(預設)','ELEMENT_NUMBERED_LIST_DECIMAL':'編號列表(阿拉伯數字)','ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':'編號列表(零開頭的阿拉伯數字)','ELEMENT_NUMBERED_LIST_LOWER_LATIN':'編號列表(小寫拉丁字元)','ELEMENT_NUMBERED_LIST_LOWER_ROMAN':'編號列表(小寫羅馬數字)','ELEMENT_NUMBERED_LIST_UPPER_LATIN':'編號列表(大寫拉丁字元)','ELEMENT_NUMBERED_LIST_UPPER_ROMAN':'編號列表(大寫羅馬數字)','ELEMENT_PAGE_BREAK':'分頁符號','ELEMENT_PARAGRAPH':'段落','ELEMENT_SPACE':'間距','ELEMENT_TABLE':'表格','ELEMENT_TABLE_COLUMN':'表格行','ELEMENT_TABLE_COLUMN_WITH_TEXT':'表格行*帶文字*\x20%1','ELEMENT_TABLE_OF_CONTENTS':'內容目錄','ELEMENT_TABLE_ROW':'表格列','ELEMENT_TABLE_ROW_WITH_TEXT':'表格列*帶文字*\x20%1','ELEMENT_TABLE_WITH_TEXT':'表格*帶文字*\x20%0','ELEMENT_TITLE':'大標題','ELEMENT_TODO_LIST':'待辦事項清單','ELEMENT_MULTI_LEVEL_LIST':'多層次清單','FORMAT_ALIGNMENT':'對齊','FORMAT_ALIGN_TO_CENTER':'置中','FORMAT_ALIGN_TO_LEFT':'靠左對齊','FORMAT_ALIGN_TO_RIGHT':'靠右對齊','FORMAT_BOLD':'粗體','FORMAT_CODE':'代碼','FORMAT_HEADER_COLUMN':'標題行','FORMAT_HEADER_ROW':'標題列','FORMAT_HIGHLIGHT':'亮顯','FORMAT_ITALIC':'斜體','FORMAT_JUSTIFY_TEXT':'左右對齊','FORMAT_REGULAR_COLUMN':'標準行','FORMAT_REGULAR_ROW':'標準列','FORMAT_RESTRICTED_DISABLED':'*在受限編輯模式下禁用*','FORMAT_RESTRICTED_ENABLED':'*在受限編輯模式下啟用*','FORMAT_SIDE_IMAGE':'側邊影像','FORMAT_STRIKETHROUGH':'刪除線','FORMAT_SUBSCRIPT':'下標','FORMAT_SUPERSCRIPT':'上標','FORMAT_UNDERLINE':'底線','FORMAT_INDENT':'縮排','FORMAT_LIST_REVERSED':'清單反轉','FORMAT_LIST_START':'清單起始','FORMAT_FONT_SIZE':'字型大小','FORMAT_FONT_FAMILY':'字型家族','FORMAT_FONT_COLOR':'字型顏色','FORMAT_FONT_BACKGROUND':'字型背景顏色','FORMAT_IMAGE_SIZE':'圖片大小','FORMAT_STYLE':'樣式','PENDING_ACTION_SUGGESTION':'建議中未儲存的變更。','REPLACE_TEXT':'*取代:*%0\x20*變更為*\x20%1','Track\x20changes':'追蹤變更','EXTERNAL_SUGGESTION':'此建議來自外部來源。','EXTERNAL_IMPORT_WORD_SUGGESTION':'此建議來自匯入的\x20Word\x20檔案。'},'getPluralForm':_0x1bb728=>0x0}};_0x205fb5['zh']||={'dictionary':{},'getPluralForm':null},_0x205fb5['zh']['dictionary']=Object['assign'](_0x205fb5['zh']['dictionary'],_0x335e9e),_0x205fb5['zh']['getPluralForm']=_0x1921c8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* @module track-changes/ui/view/basesuggestionthreadview
|
|
11
11
|
* @publicApi
|
|
12
12
|
*/
|
|
13
|
-
import { View } from 'ckeditor5/src/ui.js';
|
|
14
|
-
import type
|
|
13
|
+
import { FocusCycler, View, ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
|
|
14
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
15
15
|
import type { EditorConfig } from 'ckeditor5/src/core.js';
|
|
16
16
|
import type Suggestion from '../../suggestion.js';
|
|
17
17
|
import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
|
|
18
|
-
import type
|
|
18
|
+
import { AriaDescriptionView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
19
19
|
import type { Description } from '../../suggestiondescriptionfactory.js';
|
|
20
20
|
/**
|
|
21
21
|
* An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
|
|
@@ -38,6 +38,11 @@ export default abstract class BaseSuggestionThreadView extends View {
|
|
|
38
38
|
* The comment input area view. It should be used as a part of the view template when present.
|
|
39
39
|
*/
|
|
40
40
|
commentThreadInputView: CommentThreadInputView | null;
|
|
41
|
+
/**
|
|
42
|
+
* A helper view that provides an ARIA description for the comment thread used by
|
|
43
|
+
* assistive technologies.
|
|
44
|
+
*/
|
|
45
|
+
readonly ariaDescriptionView: AriaDescriptionView;
|
|
41
46
|
/**
|
|
42
47
|
* A boolean value that informs if the comment thread view is in the active state ("highlighted").
|
|
43
48
|
* A comment thread view is in this state when it is focused or was activated by the user in any different way.
|
|
@@ -122,7 +127,31 @@ export default abstract class BaseSuggestionThreadView extends View {
|
|
|
122
127
|
* @observable
|
|
123
128
|
*/
|
|
124
129
|
readonly length: number;
|
|
130
|
+
/**
|
|
131
|
+
* An accessible thread label text exposed to assistive technologies.
|
|
132
|
+
*/
|
|
133
|
+
ariaLabel: string;
|
|
134
|
+
/**
|
|
135
|
+
* A collection of focusable child views.
|
|
136
|
+
*/
|
|
137
|
+
readonly focusables: ViewCollection<FocusableView>;
|
|
138
|
+
/**
|
|
139
|
+
* Tracks information about DOM focus in the thread.
|
|
140
|
+
*/
|
|
141
|
+
readonly focusTracker: FocusTracker;
|
|
142
|
+
/**
|
|
143
|
+
* Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
|
|
144
|
+
*/
|
|
145
|
+
readonly keystrokes: KeystrokeHandler;
|
|
146
|
+
/**
|
|
147
|
+
* Helps cycling over focusable views in the thread.
|
|
148
|
+
*/
|
|
149
|
+
readonly focusCycler: FocusCycler;
|
|
125
150
|
constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
|
|
151
|
+
/**
|
|
152
|
+
* @inheritDoc
|
|
153
|
+
*/
|
|
154
|
+
render(): void;
|
|
126
155
|
/**
|
|
127
156
|
* Focuses the view.
|
|
128
157
|
*/
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
8
|
*/
|
|
9
9
|
import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
|
|
10
|
-
import {
|
|
11
|
-
import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
-
import type
|
|
10
|
+
import { type TemplateDefinition, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
|
|
11
|
+
import { LateFocusButtonView, UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
|
|
12
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
13
13
|
import type Suggestion from '../../suggestion.js';
|
|
14
14
|
/**
|
|
15
15
|
* The default view for a suggestion thread.
|
|
@@ -17,7 +17,7 @@ import type Suggestion from '../../suggestion.js';
|
|
|
17
17
|
* This view can be replaced by other view by overwriting the
|
|
18
18
|
* {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionThreadView} configuration.
|
|
19
19
|
*/
|
|
20
|
-
export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
20
|
+
export default class SuggestionThreadView extends BaseSuggestionThreadView implements ViewWithFocusCycler {
|
|
21
21
|
/**
|
|
22
22
|
* The suggestion thread view type.
|
|
23
23
|
*
|
|
@@ -40,11 +40,11 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
|
40
40
|
/**
|
|
41
41
|
* A button view for the button that accepts the suggestion.
|
|
42
42
|
*/
|
|
43
|
-
acceptButton:
|
|
43
|
+
acceptButton: LateFocusButtonView | null;
|
|
44
44
|
/**
|
|
45
45
|
* A button view for the button that discards the suggestion.
|
|
46
46
|
*/
|
|
47
|
-
discardButton:
|
|
47
|
+
discardButton: LateFocusButtonView | null;
|
|
48
48
|
constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
|
|
49
49
|
/**
|
|
50
50
|
* Returns a template definition that will be passed to {@link module:ui/view~View#setTemplate}.
|
|
@@ -58,6 +58,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
|
58
58
|
* tag: 'div',
|
|
59
59
|
* attributes: {
|
|
60
60
|
* class: [
|
|
61
|
+
* 'ck',
|
|
62
|
+
* 'ck-rounded-corners',
|
|
61
63
|
* 'ck-suggestion-wrapper',
|
|
62
64
|
* bind.if( 'isActive', 'ck-suggestion-wrapper--active' ),
|
|
63
65
|
* bind.to( 'type', value => `ck-suggestion-${ value }` ),
|
|
@@ -67,7 +69,10 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
|
67
69
|
* 'data-thread-id': this._model.commentThread.id,
|
|
68
70
|
* 'data-author-id': this._model.author.id,
|
|
69
71
|
* // Needed for managing focus after adding a new comment.
|
|
70
|
-
* tabindex:
|
|
72
|
+
* tabindex: 0,
|
|
73
|
+
* role: 'listitem',
|
|
74
|
+
* 'aria-label': bind.to( 'ariaLabel' ),
|
|
75
|
+
* 'aria-describedby': this.ariaDescriptionView.id
|
|
71
76
|
* },
|
|
72
77
|
* children: [
|
|
73
78
|
* {
|
|
@@ -86,7 +91,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
|
86
91
|
* tag: 'div',
|
|
87
92
|
*
|
|
88
93
|
* attributes: {
|
|
89
|
-
* class: [ 'ck-suggestion__main', 'ck-annotation__main' ]
|
|
94
|
+
* class: [ 'ck-suggestion__main', 'ck-annotation__main' ],
|
|
95
|
+
* role: 'presentation'
|
|
90
96
|
* },
|
|
91
97
|
*
|
|
92
98
|
* children: [
|
|
@@ -161,7 +167,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
|
|
|
161
167
|
* } ]
|
|
162
168
|
* }
|
|
163
169
|
* ]
|
|
164
|
-
* }
|
|
170
|
+
* },
|
|
171
|
+
* this.ariaDescriptionView
|
|
165
172
|
* ]
|
|
166
173
|
* },
|
|
167
174
|
* this.commentsListView,
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ import type { Description } from '../suggestiondescriptionfactory.js';
|
|
|
17
17
|
* Used in tests for easy suggestion comparison.
|
|
18
18
|
*/
|
|
19
19
|
export declare function normalizeDescription(description: Array<Description> | Description): string;
|
|
20
|
+
/**
|
|
21
|
+
* Renders a rich HTML description out of primitive description string.
|
|
22
|
+
*/
|
|
23
|
+
export declare function renderDescription(description: string, color?: {
|
|
24
|
+
value: string;
|
|
25
|
+
title: string;
|
|
26
|
+
}): string;
|
|
20
27
|
export declare function sortSuggestions(suggestions: Array<Suggestion>): Array<Suggestion>;
|
|
21
28
|
/**
|
|
22
29
|
* From the list of passed `suggestions` returns those that are selected by given `selection`.
|
package/lang/contexts.json
CHANGED
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
"ENTER_DELETION_SUGGESTION_ANNOUNCEMENT": "A message read out by assistive technologies the moment the user selection enters a deletion suggestion.",
|
|
56
56
|
"LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT": "A message read out by assistive technologies the moment the user selection leaves a formatting suggestion.",
|
|
57
57
|
"ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT": "A message read out by assistive technologies the moment the user selection enters a formatting suggestion.",
|
|
58
|
+
"SUGGESTION_THREAD_ARIA_LABEL": "A text label for assistive technologies describing the suggestion thread.",
|
|
59
|
+
"SUGGESTION_THREAD_DESCRIPTION": "A text label for assistive technologies providing additional information about navigation in the suggestion thread.",
|
|
58
60
|
"ELEMENT_BLOCK_QUOTE": "The block quote element name displayed in the suggestion.",
|
|
59
61
|
"ELEMENT_DEFAULT_LIST_DEFAULT": "The default styled list element name displayed in the suggestion.",
|
|
60
62
|
"ELEMENT_BULLETED_LIST": "The bulleted list element name displayed in the 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-20240731.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"CHANGELOG.md"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
50
|
-
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-
|
|
51
|
-
"ckeditor5": "0.0.0-nightly-
|
|
52
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
44
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20240731.0",
|
|
45
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20240731.0",
|
|
46
|
+
"@ckeditor/ckeditor5-enter": "0.0.0-nightly-20240731.0",
|
|
47
|
+
"@ckeditor/ckeditor5-typing": "0.0.0-nightly-20240731.0",
|
|
48
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240731.0",
|
|
49
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240731.0",
|
|
50
|
+
"@ckeditor/ckeditor5-widget": "0.0.0-nightly-20240731.0",
|
|
51
|
+
"ckeditor5": "0.0.0-nightly-20240731.0",
|
|
52
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240731.0",
|
|
53
53
|
"lodash-es": "4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x380b98=_0x302c;function _0x302c(_0x3e3417,_0x52c0c9){const _0x27f3cc=_0x27f3();return _0x302c=function(_0x302c08,_0x457a0e){_0x302c08=_0x302c08-0xb4;let _0x80fed9=_0x27f3cc[_0x302c08];return _0x80fed9;},_0x302c(_0x3e3417,_0x52c0c9);}function _0x27f3(){const _0x5a0245=['8kJspkI','4891761FhmPkg','getRanges','59855DTkHkh','TrackChangesEditing','execute','acceptSuggestion','82330FVUXjf','_suggestions','refresh','isEnabled','canEditAt','get','editor','6OjyNJC','model','2300414RfuCKV','plugins','11ncDfcf','222KPnOVI','2025500GHthvl','171VtKZjm','_isEnabledBasedOnSelection','track-changes-accept-suggestion-not-found','11003748IXupDi','881122jGDJjR'];_0x27f3=function(){return _0x5a0245;};return _0x27f3();}(function(_0x1d1130,_0xd952c){const _0x17bda4=_0x302c,_0x3b85f3=_0x1d1130();while(!![]){try{const _0x18e06a=-parseInt(_0x17bda4(0xb9))/0x1+parseInt(_0x17bda4(0xca))/0x2+-parseInt(_0x17bda4(0xc8))/0x3*(parseInt(_0x17bda4(0xb4))/0x4)+-parseInt(_0x17bda4(0xbd))/0x5*(parseInt(_0x17bda4(0xcd))/0x6)+parseInt(_0x17bda4(0xbb))/0x7*(parseInt(_0x17bda4(0xba))/0x8)+parseInt(_0x17bda4(0xb5))/0x9*(parseInt(_0x17bda4(0xc1))/0xa)+parseInt(_0x17bda4(0xcc))/0xb*(parseInt(_0x17bda4(0xb8))/0xc);if(_0x18e06a===_0xd952c)break;else _0x3b85f3['push'](_0x3b85f3['shift']());}catch(_0x2544ac){_0x3b85f3['push'](_0x3b85f3['shift']());}}}(_0x27f3,0x8efa5));import{Command as _0x4ce7fd}from'ckeditor5/src/core.js';import{CKEditorError as _0x1e3b17}from'ckeditor5/src/utils.js';export default class x extends _0x4ce7fd{constructor(_0x18bc63,_0x309d30){const _0xcbfcad=_0x302c;super(_0x18bc63),this[_0xcbfcad(0xc2)]=_0x309d30,this[_0xcbfcad(0xc3)](),this[_0xcbfcad(0xb6)]=!0x1;}[_0x380b98(0xc3)](){const _0x5c1e81=_0x380b98;this[_0x5c1e81(0xc4)]=!0x0;}[_0x380b98(0xbf)](_0x2a4bbf){const _0x135175=_0x380b98,_0x250456=this[_0x135175(0xc2)][_0x135175(0xc6)](_0x2a4bbf);if(!_0x250456)throw new _0x1e3b17(_0x135175(0xb7),this);const _0x3a9c20=_0x250456[_0x135175(0xbc)]();this[_0x135175(0xc7)][_0x135175(0xc9)][_0x135175(0xc5)](_0x3a9c20)&&this[_0x135175(0xc7)][_0x135175(0xcb)][_0x135175(0xc6)](_0x135175(0xbe))[_0x135175(0xc0)](_0x250456);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5096(_0x397eb3,_0x51cddf){const _0x5e658f=_0x5e65();return _0x5096=function(_0x50965e,_0x317e95){_0x50965e=_0x50965e-0x79;let _0x453326=_0x5e658f[_0x50965e];return _0x453326;},_0x5096(_0x397eb3,_0x51cddf);}const _0x1d3d04=_0x5096;(function(_0x1c44aa,_0x2143b9){const _0x48826b=_0x5096,_0x4388de=_0x1c44aa();while(!![]){try{const _0x744719=parseInt(_0x48826b(0x8b))/0x1+parseInt(_0x48826b(0x80))/0x2+-parseInt(_0x48826b(0x8a))/0x3+parseInt(_0x48826b(0x7d))/0x4+parseInt(_0x48826b(0x83))/0x5+-parseInt(_0x48826b(0x85))/0x6+parseInt(_0x48826b(0x79))/0x7;if(_0x744719===_0x2143b9)break;else _0x4388de['push'](_0x4388de['shift']());}catch(_0x1425fa){_0x4388de['push'](_0x4388de['shift']());}}}(_0x5e65,0xcc835));function _0x5e65(){const _0x208e64=['_isEnabledBasedOnSelection','501224hwNkEy','track-changes-discard-suggestion-not-found','canEditAt','969934EVEHDw','editor','execute','2542005ZZszuq','refresh','5848080azDXWS','isEnabled','get','plugins','_suggestions','1034427woKQzf','64160tkNOXd','model','TrackChangesEditing','6820380gMiSDX','discardSuggestion','getRanges'];_0x5e65=function(){return _0x208e64;};return _0x5e65();}import{Command as _0x36da54}from'ckeditor5/src/core.js';import{CKEditorError as _0x36fbd0}from'ckeditor5/src/utils.js';export default class R extends _0x36da54{constructor(_0x396414,_0x46e7e1){const _0x2dfc23=_0x5096;super(_0x396414),this[_0x2dfc23(0x89)]=_0x46e7e1,this[_0x2dfc23(0x84)](),this[_0x2dfc23(0x7c)]=!0x1;}[_0x1d3d04(0x84)](){const _0x315cb3=_0x1d3d04;this[_0x315cb3(0x86)]=!0x0;}[_0x1d3d04(0x82)](_0x221058){const _0x3027e8=_0x1d3d04,_0x54ade=this[_0x3027e8(0x89)][_0x3027e8(0x87)](_0x221058);if(!_0x54ade)throw new _0x36fbd0(_0x3027e8(0x7e),this);const _0x34faea=_0x54ade[_0x3027e8(0x7b)]();this[_0x3027e8(0x81)][_0x3027e8(0x8c)][_0x3027e8(0x7f)](_0x34faea)&&this[_0x3027e8(0x81)][_0x3027e8(0x88)][_0x3027e8(0x87)](_0x3027e8(0x8d))[_0x3027e8(0x7a)](_0x54ade);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x439d10=_0x13c4;(function(_0x4be413,_0x49863a){const _0x347eaa=_0x13c4,_0x285b71=_0x4be413();while(!![]){try{const _0x311b55=-parseInt(_0x347eaa(0xf0))/0x1*(-parseInt(_0x347eaa(0xe6))/0x2)+-parseInt(_0x347eaa(0xdf))/0x3*(-parseInt(_0x347eaa(0xf3))/0x4)+parseInt(_0x347eaa(0xe0))/0x5*(-parseInt(_0x347eaa(0xe9))/0x6)+parseInt(_0x347eaa(0xe2))/0x7*(parseInt(_0x347eaa(0xef))/0x8)+parseInt(_0x347eaa(0xe4))/0x9*(parseInt(_0x347eaa(0xf6))/0xa)+-parseInt(_0x347eaa(0xe3))/0xb+-parseInt(_0x347eaa(0xf7))/0xc*(parseInt(_0x347eaa(0xe1))/0xd);if(_0x311b55===_0x49863a)break;else _0x285b71['push'](_0x285b71['shift']());}catch(_0x4037ba){_0x285b71['push'](_0x285b71['shift']());}}}(_0x34ac,0x2fd15));import{Command as _0xd92e15}from'ckeditor5/src/core.js';function _0x13c4(_0x4b016c,_0x258c46){const _0x34accf=_0x34ac();return _0x13c4=function(_0x13c479,_0x33bc38){_0x13c479=_0x13c479-0xdd;let _0x2e58ec=_0x34accf[_0x13c479];return _0x2e58ec;},_0x13c4(_0x4b016c,_0x258c46);}import{sortSuggestions as _0x3b3a02,executeCommandForSuggestions as _0x544354}from'../utils/utils.js';export default class E extends _0xd92e15{constructor(_0x32ede3,_0x1956cb,_0x31b222){const _0x5d2a4b=_0x13c4;super(_0x32ede3),this[_0x5d2a4b(0xeb)]=_0x1956cb,this[_0x5d2a4b(0xf5)]=_0x31b222,this[_0x5d2a4b(0xe7)](),this[_0x5d2a4b(0xf2)]=!0x1;}[_0x439d10(0xe7)](){const _0x2f0a92=_0x439d10,_0x2b8b37=Array[_0x2f0a92(0xec)](this[_0x2f0a92(0xf5)][_0x2f0a92(0xe8)]())[_0x2f0a92(0xed)](_0x5da444=>_0x5da444[_0x2f0a92(0xf1)]);this[_0x2f0a92(0xea)]=this[_0x2f0a92(0xeb)][_0x2f0a92(0xea)]&&_0x2b8b37;}[_0x439d10(0xdd)](){const _0x2c2d90=_0x439d10,_0x355eba=_0x3b3a02(Array[_0x2c2d90(0xec)](this[_0x2c2d90(0xf5)][_0x2c2d90(0xe8)]()));for(const _0x463121 of _0x355eba){const _0x5a3690=_0x463121[_0x2c2d90(0xf4)]();if(!this[_0x2c2d90(0xee)][_0x2c2d90(0xde)][_0x2c2d90(0xe5)](_0x5a3690))return;}_0x544354(this[_0x2c2d90(0xee)][_0x2c2d90(0xde)],this[_0x2c2d90(0xeb)],_0x355eba);}}function _0x34ac(){const _0x3f0870=['206IDsrWx','refresh','values','858dAHfrl','isEnabled','_command','from','some','editor','2107672VRMJpV','1013PRrpvz','isInContent','_isEnabledBasedOnSelection','4ysoDaB','getRanges','_suggestions','30ZLiaZe','1371972GsrNJX','execute','model','1122117ZzRGje','10145zhPRSo','26OSWNII','7WuLVAI','1331671Ogljsf','281682XHgcLh','canEditAt'];_0x34ac=function(){return _0x3f0870;};return _0x34ac();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4f45(_0x4aba76,_0x23b101){const _0x2c809b=_0x2c80();return _0x4f45=function(_0x4f4510,_0x7cbcec){_0x4f4510=_0x4f4510-0x153;let _0x5b48be=_0x2c809b[_0x4f4510];return _0x5b48be;},_0x4f45(_0x4aba76,_0x23b101);}const _0x1780c9=_0x4f45;(function(_0x5d28b2,_0x317618){const _0x16432e=_0x4f45,_0xb04b07=_0x5d28b2();while(!![]){try{const _0x370405=parseInt(_0x16432e(0x168))/0x1*(-parseInt(_0x16432e(0x16d))/0x2)+-parseInt(_0x16432e(0x16a))/0x3*(parseInt(_0x16432e(0x15b))/0x4)+-parseInt(_0x16432e(0x158))/0x5+parseInt(_0x16432e(0x160))/0x6+parseInt(_0x16432e(0x167))/0x7+parseInt(_0x16432e(0x164))/0x8*(parseInt(_0x16432e(0x154))/0x9)+parseInt(_0x16432e(0x165))/0xa*(parseInt(_0x16432e(0x15c))/0xb);if(_0x370405===_0x317618)break;else _0xb04b07['push'](_0xb04b07['shift']());}catch(_0x2388ab){_0xb04b07['push'](_0xb04b07['shift']());}}}(_0x2c80,0x7c644));import{Command as _0x17f872}from'ckeditor5/src/core.js';import{sortSuggestions as _0x1194a3,getSelectedSuggestions as _0x281361,executeCommandForSuggestions as _0x37e4f7}from'../utils/utils.js';export default class O extends _0x17f872{constructor(_0x57b6f3,_0x4643cc,_0x537e34){const _0x134d01=_0x4f45;super(_0x57b6f3),this[_0x134d01(0x169)]=_0x4643cc,this[_0x134d01(0x157)]=_0x537e34,this[_0x134d01(0x15e)]=new Set(),this[_0x134d01(0x155)](),this[_0x134d01(0x15f)]=!0x1;}[_0x1780c9(0x155)](){const _0x5c030a=_0x1780c9,_0x1902c5=this[_0x5c030a(0x16b)][_0x5c030a(0x15d)][_0x5c030a(0x16c)][_0x5c030a(0x163)],_0x178cd5=Array[_0x5c030a(0x159)](this[_0x5c030a(0x157)][_0x5c030a(0x153)]());this[_0x5c030a(0x15e)]=_0x281361(_0x1902c5,_0x178cd5),this[_0x5c030a(0x15a)]=this[_0x5c030a(0x169)][_0x5c030a(0x15a)]&&!!this[_0x5c030a(0x15e)][_0x5c030a(0x161)];}[_0x1780c9(0x162)](){const _0x20b6d8=_0x1780c9,_0x4e198a=_0x1194a3(Array[_0x20b6d8(0x159)](this[_0x20b6d8(0x15e)]));for(const _0x1e53a1 of _0x4e198a){const _0x594731=_0x1e53a1[_0x20b6d8(0x156)]();if(!this[_0x20b6d8(0x16b)][_0x20b6d8(0x15d)][_0x20b6d8(0x166)](_0x594731))return;}_0x37e4f7(this[_0x20b6d8(0x16b)][_0x20b6d8(0x15d)],this[_0x20b6d8(0x169)],_0x4e198a);}}function _0x2c80(){const _0x5c8bee=['5354724XVvEJZ','size','execute','selection','24RRFrme','10ohIScI','canEditAt','455791SnUxSq','3XMyQCh','_command','1812RQsAWe','editor','document','673186bKlNHT','values','1436067Tinmfp','refresh','getRanges','_suggestions','4462830GKMFIZ','from','isEnabled','3532oPBwyu','16598219vQpheS','model','_selectedSuggestions','_isEnabledBasedOnSelection'];_0x2c80=function(){return _0x5c8bee;};return _0x2c80();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2a68(){const _0x15c725=['778757TrtSEb','execute','forceDisabled','_enabledCommands','TrackChangesCommand','2695445NJMgEL','isEnabled','1487562doOkMj','refresh','commands','_enableCommands','36DGxzad','affectsData','value','5225200wEaYpW','_isEnabledBasedOnSelection','8AKtKrQ','425904ZoilFp','clearForceDisabled','339516VZcJXh','editor','has','_disableUnsupportedCommands','1872032vVXvIA','1qxDJpu'];_0x2a68=function(){return _0x15c725;};return _0x2a68();}const _0x3e7a89=_0x3b30;(function(_0x52f6ab,_0x3a3f31){const _0x1d964e=_0x3b30,_0x3e42a9=_0x52f6ab();while(!![]){try{const _0x44b29b=parseInt(_0x1d964e(0xbf))/0x1*(-parseInt(_0x1d964e(0xb8))/0x2)+-parseInt(_0x1d964e(0xba))/0x3+-parseInt(_0x1d964e(0xbe))/0x4+-parseInt(_0x1d964e(0xac))/0x5+-parseInt(_0x1d964e(0xae))/0x6+parseInt(_0x1d964e(0xc0))/0x7*(-parseInt(_0x1d964e(0xb7))/0x8)+parseInt(_0x1d964e(0xb2))/0x9*(parseInt(_0x1d964e(0xb5))/0xa);if(_0x44b29b===_0x3a3f31)break;else _0x3e42a9['push'](_0x3e42a9['shift']());}catch(_0x311e04){_0x3e42a9['push'](_0x3e42a9['shift']());}}}(_0x2a68,0x61171));import{Command as _0x342adf}from'ckeditor5/src/core.js';function _0x3b30(_0x5cafbd,_0xadb20a){const _0x2a6880=_0x2a68();return _0x3b30=function(_0x3b3069,_0x172dcf){_0x3b3069=_0x3b3069-0xac;let _0x3de360=_0x2a6880[_0x3b3069];return _0x3de360;},_0x3b30(_0x5cafbd,_0xadb20a);}export default class B extends _0x342adf{constructor(_0x1c6347,_0x2a6a85){const _0x2697cf=_0x3b30;super(_0x1c6347),this[_0x2697cf(0xc3)]=_0x2a6a85,this[_0x2697cf(0xb4)]=!0x1,this[_0x2697cf(0xaf)](),this[_0x2697cf(0xb6)]=!0x1;}[_0x3e7a89(0xaf)](){const _0x3f2124=_0x3e7a89;this[_0x3f2124(0xad)]=!0x0;}[_0x3e7a89(0xc1)](){const _0x11d17d=_0x3e7a89;this[_0x11d17d(0xb4)]=!this[_0x11d17d(0xb4)],this[_0x11d17d(0xb4)]?this[_0x11d17d(0xbd)]():this[_0x11d17d(0xb1)]();}[_0x3e7a89(0xbd)](){const _0x337ff2=_0x3e7a89;for(const _0x3b49b6 of this[_0x337ff2(0xbb)][_0x337ff2(0xb0)][_0x337ff2(0xb0)]())_0x3b49b6[_0x337ff2(0xb3)]&&!this[_0x337ff2(0xc3)][_0x337ff2(0xbc)](_0x3b49b6)&&_0x3b49b6[_0x337ff2(0xc2)](_0x337ff2(0xc4));}[_0x3e7a89(0xb1)](){const _0x3717aa=_0x3e7a89;for(const _0x5bde53 of this[_0x3717aa(0xbb)][_0x3717aa(0xb0)][_0x3717aa(0xb0)]())_0x5bde53[_0x3717aa(0xb3)]&&!this[_0x3717aa(0xc3)][_0x3717aa(0xbc)](_0x5bde53)&&_0x5bde53[_0x3717aa(0xb9)](_0x3717aa(0xc4));}}
|
package/src/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { default as TrackChangesData } from './trackchangesdata.js';
|
|
|
7
7
|
export { default as TrackChangesEditing } from './trackchangesediting.js';
|
|
8
8
|
export type { SuggestionJSON } from './suggestion.js';
|
|
9
9
|
export { default as BaseSuggestionThreadView } from './ui/view/basesuggestionthreadview.js';
|
|
10
|
+
export { default as SuggestionThreadView } from './ui/view/suggestionthreadview.js';
|
|
10
11
|
export type { TrackChangesConfig } from './trackchangesconfig.js';
|
|
11
12
|
export type { default as AcceptSuggestionCommand } from './commands/acceptsuggestioncommand.js';
|
|
12
13
|
export type { default as DiscardSuggestionCommand } from './commands/discardsuggestioncommand.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x30c3(_0x27cd1f,_0x5dff0c){var _0x553d0b=_0x553d();return _0x30c3=function(_0x30c327,_0x29b577){_0x30c327=_0x30c327-0x11e;var _0x20a3dd=_0x553d0b[_0x30c327];return _0x20a3dd;},_0x30c3(_0x27cd1f,_0x5dff0c);}(function(_0x5f15c3,_0x31a6bf){var _0x2f3c01=_0x30c3,_0x2a1a4c=_0x5f15c3();while(!![]){try{var _0x1b7e7f=-parseInt(_0x2f3c01(0x127))/0x1+-parseInt(_0x2f3c01(0x124))/0x2*(parseInt(_0x2f3c01(0x122))/0x3)+-parseInt(_0x2f3c01(0x126))/0x4*(parseInt(_0x2f3c01(0x120))/0x5)+-parseInt(_0x2f3c01(0x121))/0x6+parseInt(_0x2f3c01(0x123))/0x7+parseInt(_0x2f3c01(0x125))/0x8*(parseInt(_0x2f3c01(0x128))/0x9)+parseInt(_0x2f3c01(0x11f))/0xa*(parseInt(_0x2f3c01(0x11e))/0xb);if(_0x1b7e7f===_0x31a6bf)break;else _0x2a1a4c['push'](_0x2a1a4c['shift']());}catch(_0x4d04a9){_0x2a1a4c['push'](_0x2a1a4c['shift']());}}}(_0x553d,0xdb262));export{default as TrackChanges}from'./trackchanges.js';export{default as TrackChangesData}from'./trackchangesdata.js';export{default as TrackChangesEditing}from'./trackchangesediting.js';function _0x553d(){var _0x23301c=['9RUfpyH','9186373OwOWSJ','943538ILvjIr','8vEIHuR','2772496utWwNO','899334eHhUSF','6129054njAIty','33556721qzcQni','10xxBkQl','10kZOgvc','2672598YilUjP'];_0x553d=function(){return _0x23301c;};return _0x553d();}export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview.js';export{default as SuggestionThreadView}from'./ui/view/suggestionthreadview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13eaba=_0x2061;function _0x2061(_0x1fc0a1,_0x52861e){const _0x2e6cb1=_0x2e6c();return _0x2061=function(_0x2061ba,_0x438827){_0x2061ba=_0x2061ba-0x16b;let _0x2f0432=_0x2e6cb1[_0x2061ba];return _0x2f0432;},_0x2061(_0x1fc0a1,_0x52861e);}(function(_0x47f8dd,_0x7a1f4f){const _0x21b8d6=_0x2061,_0x51cbf3=_0x47f8dd();while(!![]){try{const _0x7c58f1=-parseInt(_0x21b8d6(0x17b))/0x1+parseInt(_0x21b8d6(0x17d))/0x2*(parseInt(_0x21b8d6(0x179))/0x3)+parseInt(_0x21b8d6(0x176))/0x4*(-parseInt(_0x21b8d6(0x16b))/0x5)+parseInt(_0x21b8d6(0x174))/0x6*(parseInt(_0x21b8d6(0x17c))/0x7)+parseInt(_0x21b8d6(0x170))/0x8+-parseInt(_0x21b8d6(0x172))/0x9+-parseInt(_0x21b8d6(0x16e))/0xa*(-parseInt(_0x21b8d6(0x178))/0xb);if(_0x7c58f1===_0x7a1f4f)break;else _0x51cbf3['push'](_0x51cbf3['shift']());}catch(_0x4ea913){_0x51cbf3['push'](_0x51cbf3['shift']());}}}(_0x2e6c,0x53ce7));import{Plugin as _0x23f876}from'ckeditor5/src/core.js';function _0x2e6c(){const _0x2ca530=['TrackChangesEditing','6296wATapP','2667yvCsPo','4McfQgG','10zXFITb','afterInit','plugins','32870NXUEYd','showAIAssistant','2284136JgIsFq','commands','3793581oMHoRH','enableCommand','7092uaQdYm','get','693380gIwEhG','editor','715IJBuFj','252378vUjYGL'];_0x2e6c=function(){return _0x2ca530;};return _0x2e6c();}export default class V extends _0x23f876{[_0x13eaba(0x16c)](){const _0x5767f6=_0x13eaba,_0x5b0e43=this[_0x5767f6(0x177)],_0x4a2c9f=_0x5b0e43[_0x5767f6(0x16d)][_0x5767f6(0x175)](_0x5767f6(0x17a));_0x5b0e43[_0x5767f6(0x171)][_0x5767f6(0x175)](_0x5767f6(0x16f))&&_0x4a2c9f[_0x5767f6(0x173)](_0x5767f6(0x16f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4b43(){const _0x1d8c01=['has','FORMAT_ALIGN_TO_RIGHT','FORMAT_JUSTIFY_TEXT','TrackChangesEditing','FORMAT_ALIGN_TO_CENTER','afterInit','editor','registerDescriptionCallback','6HTqCkm','value','get','2448PxYPLB','2269592hxauKZ','formatBlock','18515AxqXUK','justify','AlignmentEditing','FORMAT_ALIGNMENT','format','plugins','center','enableDefaultAttributesIntegration','commandName','781SHONGr','registerAttributeLabel','FORMAT_ALIGN_TO_LEFT','5958kFwywK','36812JiFlqL','right','commandParams','type','21339XCWnKZ','_registerLegacyDescription','*Format:*\x20%0','128472WQcxXt','489RtXYwW','locale','7825LpdymU','alignment','242551ojQWse','registerBlockAttribute','descriptionFactory','20uRpGbi','left'];_0x4b43=function(){return _0x1d8c01;};return _0x4b43();}function _0x5e15(_0x3c901e,_0x4b71c5){const _0x4b43b7=_0x4b43();return _0x5e15=function(_0x5e150f,_0x253658){_0x5e150f=_0x5e150f-0x153;let _0x53354c=_0x4b43b7[_0x5e150f];return _0x53354c;},_0x5e15(_0x3c901e,_0x4b71c5);}const _0x591c55=_0x5e15;(function(_0x32659e,_0x55a2a1){const _0x48865e=_0x5e15,_0x292687=_0x32659e();while(!![]){try{const _0x128699=-parseInt(_0x48865e(0x16d))/0x1*(-parseInt(_0x48865e(0x17a))/0x2)+-parseInt(_0x48865e(0x169))/0x3*(-parseInt(_0x48865e(0x161))/0x4)+-parseInt(_0x48865e(0x16b))/0x5*(parseInt(_0x48865e(0x160))/0x6)+parseInt(_0x48865e(0x154))/0x7*(-parseInt(_0x48865e(0x17d))/0x8)+parseInt(_0x48865e(0x165))/0x9*(-parseInt(_0x48865e(0x170))/0xa)+-parseInt(_0x48865e(0x15d))/0xb*(-parseInt(_0x48865e(0x168))/0xc)+parseInt(_0x48865e(0x17e))/0xd;if(_0x128699===_0x55a2a1)break;else _0x292687['push'](_0x292687['shift']());}catch(_0xe6505f){_0x292687['push'](_0x292687['shift']());}}}(_0x4b43,0xc1eb7));import{Plugin as _0x280691}from'ckeditor5/src/core.js';import{getTranslation as _0x2c2d4e}from'../utils/common-translations.js';export default class U extends _0x280691{[_0x591c55(0x177)](){const _0x30faa1=_0x591c55,_0x3880e6=this[_0x30faa1(0x178)],_0x13fe9e=_0x3880e6[_0x30faa1(0x16a)];if(!_0x3880e6[_0x30faa1(0x159)][_0x30faa1(0x172)](_0x30faa1(0x156)))return;const _0x4a26a8=_0x3880e6[_0x30faa1(0x159)][_0x30faa1(0x17c)](_0x30faa1(0x175));_0x4a26a8[_0x30faa1(0x15b)](_0x30faa1(0x16c)),_0x4a26a8[_0x30faa1(0x16e)](_0x30faa1(0x16c)),_0x4a26a8[_0x30faa1(0x16f)][_0x30faa1(0x15e)](_0x30faa1(0x16c),_0x2c2d4e(_0x13fe9e,_0x30faa1(0x157))),this[_0x30faa1(0x166)]();}[_0x591c55(0x166)](){const _0x5961b6=_0x591c55,_0x37af71=this[_0x5961b6(0x178)],_0x283566=_0x37af71[_0x5961b6(0x16a)];_0x37af71[_0x5961b6(0x159)][_0x5961b6(0x17c)](_0x5961b6(0x175))[_0x5961b6(0x16f)][_0x5961b6(0x179)](_0x12ab4c=>{const _0x1d299d=_0x5961b6;if(_0x1d299d(0x153)!=_0x12ab4c[_0x1d299d(0x164)])return;const {data:_0x28af26}=_0x12ab4c;if(_0x28af26&&_0x1d299d(0x16c)==_0x28af26[_0x1d299d(0x15c)]){const _0x34d9d4=_0x28af26[_0x1d299d(0x163)][0x0][_0x1d299d(0x17b)];return{'type':_0x1d299d(0x158),'content':_0x2c2d4e(_0x283566,_0x1d299d(0x167),function(_0x30d4e0){const _0xd123a6=_0x1d299d;switch(_0x30d4e0){case _0xd123a6(0x171):return _0x2c2d4e(_0x283566,_0xd123a6(0x15f));case _0xd123a6(0x162):return _0x2c2d4e(_0x283566,_0xd123a6(0x173));case _0xd123a6(0x15a):return _0x2c2d4e(_0x283566,_0xd123a6(0x176));case _0xd123a6(0x155):return _0x2c2d4e(_0x283566,_0xd123a6(0x174));}}(_0x34d9d4))};}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x469a71=_0x135d;(function(_0x2bc3f0,_0x4f5e92){const _0x2aff56=_0x135d,_0x23bf81=_0x2bc3f0();while(!![]){try{const _0x5cff7b=parseInt(_0x2aff56(0x1dd))/0x1*(parseInt(_0x2aff56(0x1e3))/0x2)+parseInt(_0x2aff56(0x1cb))/0x3+parseInt(_0x2aff56(0x1ef))/0x4*(-parseInt(_0x2aff56(0x1d9))/0x5)+-parseInt(_0x2aff56(0x1f9))/0x6*(parseInt(_0x2aff56(0x1eb))/0x7)+-parseInt(_0x2aff56(0x1d2))/0x8*(parseInt(_0x2aff56(0x1c9))/0x9)+-parseInt(_0x2aff56(0x1e8))/0xa*(parseInt(_0x2aff56(0x1f1))/0xb)+parseInt(_0x2aff56(0x1fa))/0xc;if(_0x5cff7b===_0x4f5e92)break;else _0x23bf81['push'](_0x23bf81['shift']());}catch(_0x45f430){_0x23bf81['push'](_0x23bf81['shift']());}}}(_0x4ccd,0x4fdfe));import{Plugin as _0x2eb71b}from'ckeditor5/src/core.js';import{getTranslation as _0x435069}from'../utils/common-translations.js';function _0x135d(_0x56ab1a,_0x4c85a4){const _0x4ccd7a=_0x4ccd();return _0x135d=function(_0x135dea,_0x21f56a){_0x135dea=_0x135dea-0x1c9;let _0x1ebf6f=_0x4ccd7a[_0x135dea];return _0x1ebf6f;},_0x135d(_0x56ab1a,_0x4c85a4);}const ti=[_0x469a71(0x1ff),_0x469a71(0x1d4),_0x469a71(0x1e9),_0x469a71(0x1df),_0x469a71(0x1f7),_0x469a71(0x1ea),_0x469a71(0x1de)];function _0x4ccd(){const _0x4dbf5a=['afterInit','bold','8230dMybtB','UnderlineEditing','SubscriptEditing','366569OMByMx','toLowerCase','format','plugins','28oPAQKW','get','5896VHLIDz','forceValue','strikethrough','registerAttributeLabel','registerDescriptionCallback','slice','StrikethroughEditing','italic','12SUBIjM','8276448kmCeBa','enableDefaultAttributesIntegration','FORMAT_','toUpperCase','registerInlineAttribute','BoldEditing','editor','code','superscript','126beHDNx','*Remove\x20format:*\x20%0','782535RDWqwY','FORMAT_STRIKETHROUGH','FORMAT_UNDERLINE','FORMAT_SUPERSCRIPT','formatInline','commandName','descriptionFactory','28488LwVLiV','subscript','ItalicEditing','underline','type','*Format:*\x20%0','commandParams','385020zmYEPE','TrackChangesEditing','FORMAT_SUBSCRIPT','FORMAT_CODE','1nqRRYC','SuperscriptEditing','CodeEditing','FORMAT_BOLD','locale','FORMAT_ITALIC','1022722NyHPHZ','has','_registerLegacyDescription'];_0x4ccd=function(){return _0x4dbf5a;};return _0x4ccd();}export default class G extends _0x2eb71b{[_0x469a71(0x1e6)](){const _0x27cd59=_0x469a71,_0x2929b4=this[_0x27cd59(0x200)],_0x5a0b81=_0x2929b4[_0x27cd59(0x1ee)][_0x27cd59(0x1f0)](_0x27cd59(0x1da)),_0x4365c8=_0x2929b4[_0x27cd59(0x1e1)];for(const _0x59d0f0 of ti){if(!_0x2929b4[_0x27cd59(0x1ee)][_0x27cd59(0x1e4)](_0x59d0f0))continue;const _0x371a70=_0x59d0f0[_0x27cd59(0x1f6)](0x0,-0x7)[_0x27cd59(0x1ec)](),_0x39eefe=_0x27cd59(0x1fc)+_0x371a70[_0x27cd59(0x1fd)]();_0x5a0b81[_0x27cd59(0x1fb)](_0x371a70),_0x5a0b81[_0x27cd59(0x1fe)](_0x371a70),_0x5a0b81[_0x27cd59(0x1d1)][_0x27cd59(0x1f4)](_0x371a70,_0x435069(_0x4365c8,_0x39eefe));}this[_0x27cd59(0x1e5)]();}[_0x469a71(0x1e5)](){const _0x1cba40=_0x469a71,_0x4981ab=this[_0x1cba40(0x200)],_0x59c410=_0x4981ab[_0x1cba40(0x1e1)],_0x3569b3=_0x4981ab[_0x1cba40(0x1ee)][_0x1cba40(0x1f0)](_0x1cba40(0x1da));function _0x2fdb64(_0x839684,_0x5f80bf){const _0xd5c507=_0x1cba40;_0x3569b3[_0xd5c507(0x1d1)][_0xd5c507(0x1f5)](_0x47408b=>{const _0x482b67=_0xd5c507;if(_0x482b67(0x1cf)!=_0x47408b[_0x482b67(0x1d6)])return;const {data:_0x4b77f0}=_0x47408b;return _0x4b77f0&&_0x4b77f0[_0x482b67(0x1d0)]===_0x839684?_0x4b77f0[_0x482b67(0x1d8)][0x0][_0x482b67(0x1f2)]?{'type':_0x482b67(0x1ed),'content':_0x435069(_0x59c410,_0x482b67(0x1d7),_0x5f80bf)}:{'type':_0x482b67(0x1ed),'content':_0x435069(_0x59c410,_0x482b67(0x1ca),_0x5f80bf)}:void 0x0;});}_0x2fdb64(_0x1cba40(0x1e7),_0x435069(_0x59c410,_0x1cba40(0x1e0))),_0x2fdb64(_0x1cba40(0x1f8),_0x435069(_0x59c410,_0x1cba40(0x1e2))),_0x2fdb64(_0x1cba40(0x1d5),_0x435069(_0x59c410,_0x1cba40(0x1cd))),_0x2fdb64(_0x1cba40(0x201),_0x435069(_0x59c410,_0x1cba40(0x1dc))),_0x2fdb64(_0x1cba40(0x1f3),_0x435069(_0x59c410,_0x1cba40(0x1cc))),_0x2fdb64(_0x1cba40(0x1d3),_0x435069(_0x59c410,_0x1cba40(0x1db))),_0x2fdb64(_0x1cba40(0x202),_0x435069(_0x59c410,_0x1cba40(0x1ce)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51e991=_0x3d8d;(function(_0xc29106,_0x253c2f){const _0x57a748=_0x3d8d,_0x2a23c0=_0xc29106();while(!![]){try{const _0x19c2e0=parseInt(_0x57a748(0x182))/0x1*(-parseInt(_0x57a748(0x16b))/0x2)+parseInt(_0x57a748(0x16a))/0x3+parseInt(_0x57a748(0x18c))/0x4*(-parseInt(_0x57a748(0x183))/0x5)+-parseInt(_0x57a748(0x188))/0x6*(parseInt(_0x57a748(0x177))/0x7)+-parseInt(_0x57a748(0x18d))/0x8+parseInt(_0x57a748(0x17b))/0x9+parseInt(_0x57a748(0x18b))/0xa;if(_0x19c2e0===_0x253c2f)break;else _0x2a23c0['push'](_0x2a23c0['shift']());}catch(_0x11c067){_0x2a23c0['push'](_0x2a23c0['shift']());}}}(_0x44ef,0xbb782));function _0x3d8d(_0x24c973,_0x1f2493){const _0x44ef01=_0x44ef();return _0x3d8d=function(_0x3d8d48,_0x21ed70){_0x3d8d48=_0x3d8d48-0x168;let _0x49f71f=_0x44ef01[_0x3d8d48];return _0x49f71f;},_0x3d8d(_0x24c973,_0x1f2493);}import{Plugin as _0x767bc8}from'ckeditor5/src/core.js';import{getTranslation as _0x2e97ec}from'../utils/common-translations.js';function _0x44ef(){const _0x57211b=['selection','*Set\x20format:*\x20%0','enableCommand','plugins','1907964KSLXeu','4vJclWw','locale','getSelectedBlocks','name','BlockQuoteEditing','schema','model','commands','value','has','blockQuote','checkChild','742UsxYTC','editor','commandName','TrackChangesEditing','9525609DyGVwz','change','markBlockFormat','afterInit','*Remove\x20format:*\x20%0','descriptionFactory','parent','499584BiEyaq','5LkOUOD','get','commandParams','$root','registerDescriptionCallback','65346AXSrOX','forceValue','document','30285350jkGiWS','5539444bZvmrJ','3332600wtqInm','format','from','ELEMENT_BLOCK_QUOTE','filter'];_0x44ef=function(){return _0x57211b;};return _0x44ef();}import{getRangesOfBlockGroups as _0x20c77e}from'../utils/utils.js';export default class F extends _0x767bc8{[_0x51e991(0x17e)](){const _0x2f7599=_0x51e991,_0x5a1af1=this[_0x2f7599(0x178)],_0x55d925=_0x5a1af1[_0x2f7599(0x16c)];if(!_0x5a1af1[_0x2f7599(0x169)][_0x2f7599(0x174)](_0x2f7599(0x16f)))return;const _0x2dbcd0=_0x5a1af1[_0x2f7599(0x169)][_0x2f7599(0x184)](_0x2f7599(0x17a)),_0x9fb866=this[_0x2f7599(0x178)][_0x2f7599(0x172)][_0x2f7599(0x184)](_0x2f7599(0x175));_0x2dbcd0[_0x2f7599(0x168)](_0x2f7599(0x175),(_0x26566c,_0x1bcefb={})=>{const _0x30dffe=_0x2f7599,_0x27e5b1=this[_0x30dffe(0x178)][_0x30dffe(0x171)][_0x30dffe(0x18a)][_0x30dffe(0x192)],_0x6fd66d=_0x1bcefb&&void 0x0!==_0x1bcefb[_0x30dffe(0x189)]?_0x1bcefb[_0x30dffe(0x189)]:!_0x9fb866[_0x30dffe(0x173)];let _0x2521ca=[];if(_0x6fd66d){const _0x3d10b7=Array[_0x30dffe(0x18f)](_0x27e5b1[_0x30dffe(0x16d)]())[_0x30dffe(0x191)](_0x5707ec=>oo(_0x5707ec)||function(_0x75c1e,_0x36d333){const _0x39d4fb=_0x30dffe,_0x23bc74=_0x36d333[_0x39d4fb(0x176)](_0x75c1e[_0x39d4fb(0x181)],_0x39d4fb(0x175)),_0x15896c=_0x36d333[_0x39d4fb(0x176)]([_0x39d4fb(0x186),_0x39d4fb(0x175)],_0x75c1e);return _0x23bc74&&_0x15896c;}(_0x5707ec,this[_0x30dffe(0x178)][_0x30dffe(0x171)][_0x30dffe(0x170)]));_0x2521ca=_0x20c77e(_0x3d10b7,_0x5a1af1[_0x30dffe(0x171)]);}else{const _0x42157f=Array[_0x30dffe(0x18f)](_0x27e5b1[_0x30dffe(0x16d)]())[_0x30dffe(0x191)](_0x393a52=>oo(_0x393a52));_0x2521ca=_0x20c77e(_0x42157f,_0x5a1af1[_0x30dffe(0x171)]);}_0x5a1af1[_0x30dffe(0x171)][_0x30dffe(0x17c)](()=>{const _0x1c6662=_0x30dffe;for(const _0x2ca38c of _0x2521ca)_0x2dbcd0[_0x1c6662(0x17d)](_0x2ca38c,{'commandName':_0x1c6662(0x175),'commandParams':[{'forceValue':_0x6fd66d}]});});}),_0x2dbcd0[_0x2f7599(0x180)][_0x2f7599(0x187)](_0xd5b80e=>{const _0x440794=_0x2f7599,{data:_0x2bb098}=_0xd5b80e;if(_0x2bb098&&_0x440794(0x175)==_0x2bb098[_0x440794(0x179)]){const _0x4d0e6e=_0x2e97ec(_0x55d925,_0x440794(0x190));return _0x2bb098[_0x440794(0x185)][0x0][_0x440794(0x189)]?{'type':_0x440794(0x18e),'content':_0x2e97ec(_0x55d925,_0x440794(0x193),_0x4d0e6e)}:{'type':_0x440794(0x18e),'content':_0x2e97ec(_0x55d925,_0x440794(0x17f),_0x4d0e6e)};}});}}function oo(_0x187b30){const _0x32e6d3=_0x51e991;return _0x32e6d3(0x175)==_0x187b30[_0x32e6d3(0x181)][_0x32e6d3(0x16e)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf20867=_0x486f;function _0x4e97(){const _0x4c7bad=['changeCaseUpper','62069uCAvzx','15fZzBXo','1395OUfCVd','10rcEDQV','106781MdbbzA','changeCaseLower','CaseChange','8682273XSLSwk','enableCommand','get','has','editor','7498248MQetvM','changeCaseTitle','plugins','2632638iUJgHF','18610537dYnXBF','afterInit','4496JhVebp','2ZQaxDw','TrackChangesEditing'];_0x4e97=function(){return _0x4c7bad;};return _0x4e97();}(function(_0x37d419,_0x297b7e){const _0x54676d=_0x486f,_0x64f2d=_0x37d419();while(!![]){try{const _0x33ec3f=parseInt(_0x54676d(0x1be))/0x1*(-parseInt(_0x54676d(0x1cd))/0x2)+-parseInt(_0x54676d(0x1bc))/0x3*(-parseInt(_0x54676d(0x1cc))/0x4)+-parseInt(_0x54676d(0x1bb))/0x5*(parseInt(_0x54676d(0x1c9))/0x6)+-parseInt(_0x54676d(0x1ba))/0x7+parseInt(_0x54676d(0x1c6))/0x8+-parseInt(_0x54676d(0x1c1))/0x9+parseInt(_0x54676d(0x1bd))/0xa*(parseInt(_0x54676d(0x1ca))/0xb);if(_0x33ec3f===_0x297b7e)break;else _0x64f2d['push'](_0x64f2d['shift']());}catch(_0x19bd44){_0x64f2d['push'](_0x64f2d['shift']());}}}(_0x4e97,0xb85c8));function _0x486f(_0x5404f8,_0x347f21){const _0x4e97a2=_0x4e97();return _0x486f=function(_0x486f84,_0x4d09dc){_0x486f84=_0x486f84-0x1ba;let _0x568f66=_0x4e97a2[_0x486f84];return _0x568f66;},_0x486f(_0x5404f8,_0x347f21);}import{Plugin as _0x4f86f5}from'ckeditor5/src/core.js';export default class L extends _0x4f86f5{[_0xf20867(0x1cb)](){const _0x2baafa=_0xf20867,_0x40b2cc=this[_0x2baafa(0x1c5)];_0x40b2cc[_0x2baafa(0x1c8)][_0x2baafa(0x1c4)](_0x2baafa(0x1c0))&&(_0x40b2cc[_0x2baafa(0x1c8)][_0x2baafa(0x1c3)](_0x2baafa(0x1ce))[_0x2baafa(0x1c2)](_0x2baafa(0x1cf)),_0x40b2cc[_0x2baafa(0x1c8)][_0x2baafa(0x1c3)](_0x2baafa(0x1ce))[_0x2baafa(0x1c2)](_0x2baafa(0x1bf)),_0x40b2cc[_0x2baafa(0x1c8)][_0x2baafa(0x1c3)](_0x2baafa(0x1ce))[_0x2baafa(0x1c2)](_0x2baafa(0x1c7)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1732(_0x2c6d83,_0x27b851){const _0x2dafde=_0x2daf();return _0x1732=function(_0x1732bf,_0x49ed23){_0x1732bf=_0x1732bf-0x141;let _0x2a834c=_0x2dafde[_0x1732bf];return _0x2a834c;},_0x1732(_0x2c6d83,_0x27b851);}function _0x2daf(){const _0x2276d2=['get','708116LgWhzZ','22uSLNkF','commands','230277yGtZvv','35SfaLpt','128886jpPtBy','enableCommand','54kGlOmB','567096NsVPDx','42458746ETaJhp','plugins','584330bUQtTo','TrackChangesEditing','976654FCfjak','afterInit','editor','ckbox','175sdJjpt'];_0x2daf=function(){return _0x2276d2;};return _0x2daf();}const _0x4a3805=_0x1732;(function(_0x1029df,_0x1c7230){const _0x701fd0=_0x1732,_0x44398b=_0x1029df();while(!![]){try{const _0x28b94c=-parseInt(_0x701fd0(0x14f))/0x1+parseInt(_0x701fd0(0x143))/0x2*(-parseInt(_0x701fd0(0x145))/0x3)+parseInt(_0x701fd0(0x142))/0x4*(-parseInt(_0x701fd0(0x146))/0x5)+parseInt(_0x701fd0(0x147))/0x6*(parseInt(_0x701fd0(0x153))/0x7)+parseInt(_0x701fd0(0x14a))/0x8*(-parseInt(_0x701fd0(0x149))/0x9)+parseInt(_0x701fd0(0x14d))/0xa+parseInt(_0x701fd0(0x14b))/0xb;if(_0x28b94c===_0x1c7230)break;else _0x44398b['push'](_0x44398b['shift']());}catch(_0xa3cff4){_0x44398b['push'](_0x44398b['shift']());}}}(_0x2daf,0xecc58));import{Plugin as _0xb0c622}from'ckeditor5/src/core.js';export default class H extends _0xb0c622{[_0x4a3805(0x150)](){const _0x197bd2=_0x4a3805,_0x1431b9=this[_0x197bd2(0x151)];_0x1431b9[_0x197bd2(0x144)][_0x197bd2(0x141)](_0x197bd2(0x152))&&_0x1431b9[_0x197bd2(0x14c)][_0x197bd2(0x141)](_0x197bd2(0x14e))[_0x197bd2(0x148)](_0x197bd2(0x152));}}
|