@ckeditor/ckeditor5-track-changes 41.2.1 → 41.3.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/content-index.css +332 -0
  3. package/dist/editor-index.css +312 -0
  4. package/dist/index.css +951 -0
  5. package/dist/translations/ar.d.ts +8 -0
  6. package/dist/translations/ar.js +23 -0
  7. package/dist/translations/az.d.ts +8 -0
  8. package/dist/translations/az.js +23 -0
  9. package/dist/translations/bg.d.ts +8 -0
  10. package/dist/translations/bg.js +23 -0
  11. package/dist/translations/bn.d.ts +8 -0
  12. package/dist/translations/bn.js +23 -0
  13. package/dist/translations/ca.d.ts +8 -0
  14. package/dist/translations/ca.js +23 -0
  15. package/dist/translations/cs.d.ts +8 -0
  16. package/dist/translations/cs.js +23 -0
  17. package/dist/translations/da.d.ts +8 -0
  18. package/dist/translations/da.js +23 -0
  19. package/dist/translations/de.d.ts +8 -0
  20. package/dist/translations/de.js +23 -0
  21. package/dist/translations/el.d.ts +8 -0
  22. package/dist/translations/el.js +23 -0
  23. package/dist/translations/en-au.d.ts +8 -0
  24. package/dist/translations/en-au.js +23 -0
  25. package/dist/translations/en.d.ts +8 -0
  26. package/dist/translations/en.js +23 -0
  27. package/dist/translations/es.d.ts +8 -0
  28. package/dist/translations/es.js +23 -0
  29. package/dist/translations/et.d.ts +8 -0
  30. package/dist/translations/et.js +23 -0
  31. package/dist/translations/fi.d.ts +8 -0
  32. package/dist/translations/fi.js +23 -0
  33. package/dist/translations/fr.d.ts +8 -0
  34. package/dist/translations/fr.js +23 -0
  35. package/dist/translations/gl.d.ts +8 -0
  36. package/dist/translations/gl.js +23 -0
  37. package/dist/translations/he.d.ts +8 -0
  38. package/dist/translations/he.js +23 -0
  39. package/dist/translations/hi.d.ts +8 -0
  40. package/dist/translations/hi.js +23 -0
  41. package/dist/translations/hr.d.ts +8 -0
  42. package/dist/translations/hr.js +23 -0
  43. package/dist/translations/hu.d.ts +8 -0
  44. package/dist/translations/hu.js +23 -0
  45. package/dist/translations/id.d.ts +8 -0
  46. package/dist/translations/id.js +23 -0
  47. package/dist/translations/it.d.ts +8 -0
  48. package/dist/translations/it.js +23 -0
  49. package/dist/translations/ja.d.ts +8 -0
  50. package/dist/translations/ja.js +23 -0
  51. package/dist/translations/ko.d.ts +8 -0
  52. package/dist/translations/ko.js +23 -0
  53. package/dist/translations/lt.d.ts +8 -0
  54. package/dist/translations/lt.js +23 -0
  55. package/dist/translations/lv.d.ts +8 -0
  56. package/dist/translations/lv.js +23 -0
  57. package/dist/translations/ms.d.ts +8 -0
  58. package/dist/translations/ms.js +23 -0
  59. package/dist/translations/nl.d.ts +8 -0
  60. package/dist/translations/nl.js +23 -0
  61. package/dist/translations/no.d.ts +8 -0
  62. package/dist/translations/no.js +23 -0
  63. package/dist/translations/pl.d.ts +8 -0
  64. package/dist/translations/pl.js +23 -0
  65. package/dist/translations/pt-br.d.ts +8 -0
  66. package/dist/translations/pt-br.js +23 -0
  67. package/dist/translations/pt.d.ts +8 -0
  68. package/dist/translations/pt.js +23 -0
  69. package/dist/translations/ro.d.ts +8 -0
  70. package/dist/translations/ro.js +23 -0
  71. package/dist/translations/ru.d.ts +8 -0
  72. package/dist/translations/ru.js +23 -0
  73. package/dist/translations/sk.d.ts +8 -0
  74. package/dist/translations/sk.js +23 -0
  75. package/dist/translations/sq.d.ts +8 -0
  76. package/dist/translations/sq.js +23 -0
  77. package/dist/translations/sr-latn.d.ts +8 -0
  78. package/dist/translations/sr-latn.js +23 -0
  79. package/dist/translations/sr.d.ts +8 -0
  80. package/dist/translations/sr.js +23 -0
  81. package/dist/translations/sv.d.ts +8 -0
  82. package/dist/translations/sv.js +23 -0
  83. package/dist/translations/th.d.ts +8 -0
  84. package/dist/translations/th.js +23 -0
  85. package/dist/translations/tk.d.ts +8 -0
  86. package/dist/translations/tk.js +23 -0
  87. package/dist/translations/tr.d.ts +8 -0
  88. package/dist/translations/tr.js +23 -0
  89. package/dist/translations/tt.d.ts +8 -0
  90. package/dist/translations/tt.js +23 -0
  91. package/dist/translations/uk.d.ts +8 -0
  92. package/dist/translations/uk.js +23 -0
  93. package/dist/translations/ur.d.ts +8 -0
  94. package/dist/translations/ur.js +23 -0
  95. package/dist/translations/vi.d.ts +8 -0
  96. package/dist/translations/vi.js +23 -0
  97. package/dist/translations/zh-cn.d.ts +8 -0
  98. package/dist/translations/zh-cn.js +23 -0
  99. package/dist/translations/zh.d.ts +8 -0
  100. package/dist/translations/zh.js +23 -0
  101. package/dist/types/augmentation.d.ts +44 -0
  102. package/dist/types/commands/acceptsuggestioncommand.d.ts +28 -0
  103. package/dist/types/commands/discardsuggestioncommand.d.ts +28 -0
  104. package/dist/types/commands/executeonallsuggestionscommand.d.ts +28 -0
  105. package/dist/types/commands/executeonselectedsuggestionscommand.d.ts +28 -0
  106. package/dist/types/commands/trackchangescommand.d.ts +30 -0
  107. package/dist/types/index.d.ts +20 -0
  108. package/dist/types/integrations/aiassistant.d.ts +21 -0
  109. package/dist/types/integrations/alignment.d.ts +21 -0
  110. package/dist/types/integrations/basicstyles.d.ts +21 -0
  111. package/dist/types/integrations/blockquote.d.ts +21 -0
  112. package/dist/types/integrations/casechange.d.ts +21 -0
  113. package/dist/types/integrations/ckbox.d.ts +21 -0
  114. package/dist/types/integrations/codeblock.d.ts +21 -0
  115. package/dist/types/integrations/comments.d.ts +18 -0
  116. package/dist/types/integrations/deletecommand.d.ts +21 -0
  117. package/dist/types/integrations/entercommand.d.ts +20 -0
  118. package/dist/types/integrations/findandreplace.d.ts +25 -0
  119. package/dist/types/integrations/font.d.ts +21 -0
  120. package/dist/types/integrations/formatpainter.d.ts +21 -0
  121. package/dist/types/integrations/heading.d.ts +21 -0
  122. package/dist/types/integrations/highlight.d.ts +21 -0
  123. package/dist/types/integrations/horizontalline.d.ts +21 -0
  124. package/dist/types/integrations/htmlembed.d.ts +21 -0
  125. package/dist/types/integrations/image.d.ts +21 -0
  126. package/dist/types/integrations/imagereplace.d.ts +21 -0
  127. package/dist/types/integrations/imagestyle.d.ts +21 -0
  128. package/dist/types/integrations/importword.d.ts +22 -0
  129. package/dist/types/integrations/indent.d.ts +21 -0
  130. package/dist/types/integrations/inputcommand.d.ts +20 -0
  131. package/dist/types/integrations/legacylist.d.ts +21 -0
  132. package/dist/types/integrations/legacylistproperties.d.ts +33 -0
  133. package/dist/types/integrations/link.d.ts +21 -0
  134. package/dist/types/integrations/list.d.ts +21 -0
  135. package/dist/types/integrations/listproperties.d.ts +24 -0
  136. package/dist/types/integrations/mediaembed.d.ts +21 -0
  137. package/dist/types/integrations/mention.d.ts +21 -0
  138. package/dist/types/integrations/pagebreak.d.ts +21 -0
  139. package/dist/types/integrations/paragraph.d.ts +21 -0
  140. package/dist/types/integrations/removeformat.d.ts +21 -0
  141. package/dist/types/integrations/restrictededitingmode.d.ts +21 -0
  142. package/dist/types/integrations/shiftentercommand.d.ts +20 -0
  143. package/dist/types/integrations/standardeditingmode.d.ts +21 -0
  144. package/dist/types/integrations/style.d.ts +21 -0
  145. package/dist/types/integrations/table.d.ts +46 -0
  146. package/dist/types/integrations/tablecaption.d.ts +26 -0
  147. package/dist/types/integrations/tableclipboard.d.ts +23 -0
  148. package/dist/types/integrations/tablecolumnresize.d.ts +30 -0
  149. package/dist/types/integrations/tableheadings.d.ts +26 -0
  150. package/dist/types/integrations/tablemergesplit.d.ts +26 -0
  151. package/dist/types/integrations/tableofcontents.d.ts +21 -0
  152. package/dist/types/integrations/tableproperties.d.ts +31 -0
  153. package/dist/types/integrations/template.d.ts +21 -0
  154. package/dist/types/integrations/title.d.ts +21 -0
  155. package/dist/types/integrations/undo.d.ts +21 -0
  156. package/dist/types/integrations/utils.d.ts +25 -0
  157. package/dist/types/suggestion.d.ts +295 -0
  158. package/dist/types/suggestiondescriptionfactory.d.ts +187 -0
  159. package/dist/types/trackchanges.d.ts +184 -0
  160. package/dist/types/trackchangesconfig.d.ts +82 -0
  161. package/dist/types/trackchangesdata.d.ts +45 -0
  162. package/dist/types/trackchangesediting.d.ts +529 -0
  163. package/dist/types/trackchangesui.d.ts +42 -0
  164. package/dist/types/ui/suggestioncontroller.d.ts +41 -0
  165. package/dist/types/ui/view/basesuggestionthreadview.d.ts +174 -0
  166. package/dist/types/ui/view/suggestionthreadview.d.ts +186 -0
  167. package/dist/types/utils/common-translations.d.ts +13 -0
  168. package/dist/types/utils/utils.d.ts +34 -0
  169. package/package.json +4 -3
  170. package/src/commands/acceptsuggestioncommand.js +1 -1
  171. package/src/commands/discardsuggestioncommand.js +1 -1
  172. package/src/commands/executeonallsuggestionscommand.js +1 -1
  173. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  174. package/src/commands/trackchangescommand.js +1 -1
  175. package/src/index.js +1 -1
  176. package/src/integrations/aiassistant.js +1 -1
  177. package/src/integrations/alignment.js +1 -1
  178. package/src/integrations/basicstyles.js +1 -1
  179. package/src/integrations/blockquote.js +1 -1
  180. package/src/integrations/casechange.js +1 -1
  181. package/src/integrations/ckbox.js +1 -1
  182. package/src/integrations/codeblock.js +1 -1
  183. package/src/integrations/comments.js +1 -1
  184. package/src/integrations/deletecommand.js +1 -1
  185. package/src/integrations/entercommand.js +1 -1
  186. package/src/integrations/findandreplace.js +1 -1
  187. package/src/integrations/font.js +1 -1
  188. package/src/integrations/formatpainter.js +1 -1
  189. package/src/integrations/heading.js +1 -1
  190. package/src/integrations/highlight.js +1 -1
  191. package/src/integrations/horizontalline.js +1 -1
  192. package/src/integrations/htmlembed.js +1 -1
  193. package/src/integrations/image.js +1 -1
  194. package/src/integrations/imagereplace.js +1 -1
  195. package/src/integrations/imagestyle.js +1 -1
  196. package/src/integrations/importword.js +1 -1
  197. package/src/integrations/indent.js +1 -1
  198. package/src/integrations/inputcommand.js +1 -1
  199. package/src/integrations/legacylist.js +1 -1
  200. package/src/integrations/legacylistproperties.js +1 -1
  201. package/src/integrations/link.js +1 -1
  202. package/src/integrations/list.js +1 -1
  203. package/src/integrations/listproperties.js +1 -1
  204. package/src/integrations/mediaembed.js +1 -1
  205. package/src/integrations/mention.js +1 -1
  206. package/src/integrations/pagebreak.js +1 -1
  207. package/src/integrations/paragraph.js +1 -1
  208. package/src/integrations/removeformat.js +1 -1
  209. package/src/integrations/restrictededitingmode.js +1 -1
  210. package/src/integrations/shiftentercommand.js +1 -1
  211. package/src/integrations/standardeditingmode.js +1 -1
  212. package/src/integrations/style.js +1 -1
  213. package/src/integrations/table.js +1 -1
  214. package/src/integrations/tablecaption.js +1 -1
  215. package/src/integrations/tableclipboard.js +1 -1
  216. package/src/integrations/tablecolumnresize.js +1 -1
  217. package/src/integrations/tableheadings.js +1 -1
  218. package/src/integrations/tablemergesplit.js +1 -1
  219. package/src/integrations/tableofcontents.js +1 -1
  220. package/src/integrations/tableproperties.js +1 -1
  221. package/src/integrations/template.js +1 -1
  222. package/src/integrations/title.js +1 -1
  223. package/src/integrations/undo.js +1 -1
  224. package/src/integrations/utils.js +1 -1
  225. package/src/suggestion.js +1 -1
  226. package/src/suggestiondescriptionfactory.js +1 -1
  227. package/src/trackchanges.js +1 -1
  228. package/src/trackchangesdata.js +1 -1
  229. package/src/trackchangesediting.js +1 -1
  230. package/src/trackchangesui.js +1 -1
  231. package/src/ui/suggestioncontroller.js +1 -1
  232. package/src/ui/view/basesuggestionthreadview.js +1 -1
  233. package/src/ui/view/suggestionthreadview.js +1 -1
  234. package/src/utils/common-translations.js +1 -1
  235. package/src/utils/utils.js +1 -1
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/trackchangesui
11
+ */
12
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
13
+ import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
14
+ import TrackChangesEditing from './trackchangesediting.js';
15
+ /**
16
+ * Provides UI for track changes plugin.
17
+ *
18
+ * This plugin displays {@link module:track-changes/suggestion~Suggestion suggestions} as a
19
+ * {@link module:comments/annotations/annotations~Annotations}.
20
+ */
21
+ export default class TrackChangesUI extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): readonly [typeof TrackChangesEditing, typeof Users, "CommentsRepository", "Annotations", "EditorAnnotations"];
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get pluginName(): "TrackChangesUI";
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ constructor(editor: Editor);
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ init(): void;
38
+ /**
39
+ * @inheritDoc
40
+ */
41
+ destroy(): void;
42
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import type { Editor } from 'ckeditor5/src/core.js';
10
+ import type Suggestion from '../suggestion.js';
11
+ import type BaseSuggestionThreadView from './view/basesuggestionthreadview.js';
12
+ import type { CommentThreadController } from '@ckeditor/ckeditor5-comments';
13
+ declare const SuggestionController_base: {
14
+ new (): import("ckeditor5/src/utils.js").Observable;
15
+ prototype: import("ckeditor5/src/utils.js").Observable;
16
+ };
17
+ /**
18
+ * A controller for a suggestion.
19
+ *
20
+ * It takes a suggestion thread view, listens to events fired by that view and based on them performs actions
21
+ * on the provided suggestion model.
22
+ */
23
+ export default class SuggestionController extends SuggestionController_base {
24
+ model: Suggestion;
25
+ view: BaseSuggestionThreadView;
26
+ commentThreadController: CommentThreadController;
27
+ constructor(editor: Editor, model: Suggestion, view: BaseSuggestionThreadView, commentThreadController: CommentThreadController);
28
+ /**
29
+ * Accepts the suggestion that belongs to this controller.
30
+ */
31
+ acceptSuggestion(): void;
32
+ /**
33
+ * Discards the suggestion that belongs to this controller.
34
+ */
35
+ discardSuggestion(): void;
36
+ /**
37
+ * Destroys `SuggestionController` instance.
38
+ */
39
+ destroy(): void;
40
+ }
41
+ export {};
@@ -0,0 +1,174 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/ui/view/basesuggestionthreadview
11
+ * @publicApi
12
+ */
13
+ import { View } from 'ckeditor5/src/ui.js';
14
+ import type { Locale } from 'ckeditor5/src/utils.js';
15
+ import type { EditorConfig } from 'ckeditor5/src/core.js';
16
+ import type Suggestion from '../../suggestion.js';
17
+ import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
18
+ import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
19
+ import type { Description } from '../../suggestiondescriptionfactory.js';
20
+ /**
21
+ * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
22
+ * It provides some behaviors, flags and building blocks to use when creating a custom suggestion thread view class.
23
+ *
24
+ * All events fired by {@link module:comments/comments/ui/view/basecommentview~BaseCommentView}
25
+ * are delegated to {@link module:track-changes/ui/view/basesuggestionthreadview~BaseSuggestionThreadView}.
26
+ * This means that {@link module:track-changes/ui/view/basesuggestionthreadview~BaseSuggestionThreadView} can also fire these
27
+ * events to communicate with CKEditor 5 collaboration features.
28
+ *
29
+ * For the usage examples check the {@glink features/collaboration/annotations/annotations-custom-view
30
+ * Annotations custom view} guide.
31
+ */
32
+ export default abstract class BaseSuggestionThreadView extends View {
33
+ /**
34
+ * The list of comment views. It should be used as a part of the view template when present.
35
+ */
36
+ commentsListView: CommentsListView | null;
37
+ /**
38
+ * The comment input area view. It should be used as a part of the view template when present.
39
+ */
40
+ commentThreadInputView: CommentThreadInputView | null;
41
+ /**
42
+ * A boolean value that informs if the comment thread view is in the active state ("highlighted").
43
+ * A comment thread view is in this state when it is focused or was activated by the user in any different way.
44
+ *
45
+ * @observable
46
+ */
47
+ isActive: boolean;
48
+ /**
49
+ * Suggestion creation date.
50
+ *
51
+ * @observable
52
+ */
53
+ authoredAt: Date | null;
54
+ /**
55
+ * Flag that indicates whether suggestion acceptation is possible.
56
+ *
57
+ * @observable
58
+ */
59
+ canAccept: boolean;
60
+ /**
61
+ * Flag that indicates whether suggestion discarding is possible.
62
+ *
63
+ * @observable
64
+ */
65
+ canDiscard: boolean;
66
+ /**
67
+ * Stores description entries generated for this suggestion that describe what is the suggested change.
68
+ * They are used to create the final description presented in the suggestion view to the user.
69
+ *
70
+ * Note that one suggestion may include multiple changes.
71
+ *
72
+ * Most cases are simple and include just one description item:
73
+ *
74
+ * ```ts
75
+ * [
76
+ * { type: 'insertion', content: '*Insert:* "Foo"' }
77
+ * ]
78
+ * ```
79
+ *
80
+ * This description item represents a suggestion for inserting the "Foo" text. The `type` property describes the performed action
81
+ * while the `content` property contains additional information about the action and is optional.
82
+ *
83
+ * A more complex example is presented below:
84
+ *
85
+ * ```ts
86
+ * [
87
+ * { type: 'insertion', content: '*Insert:* 2 paragraphs' },
88
+ * { type: 'insertion', content: '*Insert:* image' },
89
+ * { type: 'replace', content: '*Replace:* "Foo" *with* "Bar"' }
90
+ * ]
91
+ * ```
92
+ *
93
+ * In this example, there are three description instances (or lines). Two new (empty) paragraphs were added,
94
+ * an image was added and then "Foo" text was replaced by "Bar". The above structure could be rendered as:
95
+ *
96
+ * ```html
97
+ * <p><strong>Insert:</strong> 2 paragraphs</p>
98
+ * <p><strong>Insert:</strong> image</p>
99
+ * <p><strong>Replace:</strong> "Foo" <strong>with</strong> "Bar"</p>
100
+ * ```
101
+ *
102
+ * @observable
103
+ */
104
+ descriptionParts: Array<Description>;
105
+ /**
106
+ * Informs whether the suggestion thread has any changes that have not been saved.
107
+ *
108
+ * @observable
109
+ */
110
+ isDirty: boolean;
111
+ /**
112
+ * Informs whether the suggestion can be accepted or discarded.
113
+ *
114
+ * @observable
115
+ */
116
+ isEnabled: boolean;
117
+ /**
118
+ * The number of items in the view, where the suggestion itself counts as one.
119
+ *
120
+ * In other words, it is equal to the number of comments in the suggestion thread view plus one.
121
+ *
122
+ * @observable
123
+ */
124
+ readonly length: number;
125
+ constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
126
+ /**
127
+ * Focuses the view.
128
+ */
129
+ focus(): void;
130
+ /**
131
+ * @inheritDoc
132
+ */
133
+ destroy(): void;
134
+ }
135
+ /**
136
+ * Fired when a user performed an action that should lead to accepting the suggestion.
137
+ *
138
+ * This event is not fired by default by any component created by `BaseSuggestionThreadView`.
139
+ * If you create a view class extending `BaseSuggestionCommentView`, you should provide
140
+ * a UI element that will fire this event.
141
+ *
142
+ * @eventName ~BaseSuggestionThreadView#acceptSuggestion
143
+ */
144
+ export type AcceptSuggestionEvent = {
145
+ name: 'acceptSuggestion';
146
+ args: [];
147
+ };
148
+ /**
149
+ * Fired when a user performed an action that should lead to discarding the suggestion.
150
+ *
151
+ * This event is not fired by default by any component created by `BaseSuggestionThreadView`.
152
+ * If you create a view class extending `BaseSuggestionCommentView`, you should provide
153
+ * a UI element that will fire this event.
154
+ *
155
+ * @eventName ~BaseSuggestionThreadView#discardSuggestion
156
+ */
157
+ export type DiscardSuggestionEvent = {
158
+ name: 'discardSuggestion';
159
+ args: [];
160
+ };
161
+ /**
162
+ * Config used for suggestion thread views.
163
+ */
164
+ export interface SuggestionThreadConfig {
165
+ disableComments: boolean;
166
+ editorConfig: EditorConfig;
167
+ maxCommentsWhenCollapsed: number;
168
+ maxThreadTotalWeight: number;
169
+ maxCommentCharsWhenCollapsed: number;
170
+ formatDateTime: (date: Date | string) => string;
171
+ CommentView: typeof CommentView;
172
+ CommentsListView: typeof CommentsListView;
173
+ CommentThreadInputView: typeof CommentThreadInputView;
174
+ }
@@ -0,0 +1,186 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
10
+ import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui.js';
11
+ import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
+ import type { Locale } from 'ckeditor5/src/utils.js';
13
+ import type Suggestion from '../../suggestion.js';
14
+ /**
15
+ * The default view for a suggestion thread.
16
+ *
17
+ * This view can be replaced by other view by overwriting the
18
+ * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionThreadView} configuration.
19
+ */
20
+ export default class SuggestionThreadView extends BaseSuggestionThreadView {
21
+ /**
22
+ * The suggestion thread view type.
23
+ *
24
+ * This value is not equal to the suggestion (model) type. It is evaluated based on the type of the first suggestion for
25
+ * the suggestion thread view template purposes.
26
+ *
27
+ * @observable
28
+ */
29
+ type: 'format' | 'replace' | 'deletion' | 'insertion' | '';
30
+ /**
31
+ * A suggestion description explaining what has been changed. To be presented to the user.
32
+ *
33
+ * @observable
34
+ */
35
+ description: string;
36
+ /**
37
+ * A user view for the suggestion author.
38
+ */
39
+ userView: UserView;
40
+ /**
41
+ * A button view for the button that accepts the suggestion.
42
+ */
43
+ acceptButton: ButtonView | null;
44
+ /**
45
+ * A button view for the button that discards the suggestion.
46
+ */
47
+ discardButton: ButtonView | null;
48
+ constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
49
+ /**
50
+ * Returns a template definition that will be passed to {@link module:ui/view~View#setTemplate}.
51
+ *
52
+ * Overwrite this method if you want to set a custom template for the suggestion thread view.
53
+ *
54
+ * The template looks as follows:
55
+ *
56
+ * ```ts
57
+ * {
58
+ * tag: 'div',
59
+ * attributes: {
60
+ * class: [
61
+ * 'ck-suggestion-wrapper',
62
+ * bind.if( 'isActive', 'ck-suggestion-wrapper--active' ),
63
+ * bind.to( 'type', value => `ck-suggestion-${ value }` ),
64
+ * this._config.disableComments && 'ck-suggestion--disabled-comments'
65
+ * ],
66
+ * 'data-suggestion-id': this._model.id,
67
+ * 'data-thread-id': this._model.commentThread.id,
68
+ * 'data-author-id': this._model.author.id,
69
+ * // Needed for managing focus after adding a new comment.
70
+ * tabindex: -1
71
+ * },
72
+ * children: [
73
+ * {
74
+ * tag: 'div',
75
+ *
76
+ * attributes: {
77
+ * class: [
78
+ * 'ck-suggestion',
79
+ * 'ck-annotation'
80
+ * ]
81
+ * },
82
+ *
83
+ * children: [
84
+ * this.userView,
85
+ * {
86
+ * tag: 'div',
87
+ *
88
+ * attributes: {
89
+ * class: [ 'ck-suggestion__main', 'ck-annotation__main' ]
90
+ * },
91
+ *
92
+ * children: [
93
+ * {
94
+ * tag: 'div',
95
+ *
96
+ * attributes: {
97
+ * class: [ 'ck-suggestion__info', 'ck-annotation__info' ]
98
+ * },
99
+ *
100
+ * children: [
101
+ * {
102
+ * tag: 'span',
103
+ *
104
+ * children: [
105
+ * {
106
+ * text: this.userView.name
107
+ * }
108
+ * ],
109
+ *
110
+ * attributes: {
111
+ * class: [ 'ck-suggestion__info-name', 'ck-annotation__info-name' ]
112
+ * }
113
+ * },
114
+ * {
115
+ * tag: 'time',
116
+ *
117
+ * attributes: {
118
+ * datetime: bind.to( 'authoredAt' ),
119
+ * class: [ 'ck-comment__info-time', 'ck-annotation__info-time' ]
120
+ * },
121
+ *
122
+ * children: [
123
+ * {
124
+ * text: bind.to( 'authoredAt', value => this._config.formatDateTime( value ) )
125
+ * }
126
+ * ]
127
+ * }
128
+ * ]
129
+ * },
130
+ * {
131
+ * tag: 'div',
132
+ *
133
+ * attributes: {
134
+ * class: [
135
+ * 'ck-suggestion__actions',
136
+ * 'ck-annotation__actions'
137
+ * ]
138
+ * },
139
+ *
140
+ * children: [
141
+ * this.acceptButton,
142
+ * this.discardButton
143
+ * ]
144
+ * },
145
+ * {
146
+ * tag: 'div',
147
+ *
148
+ * attributes: {
149
+ * class: [ 'ck-annotation__content-wrapper' ]
150
+ * }
151
+ * },
152
+ * {
153
+ * tag: 'div',
154
+ *
155
+ * attributes: {
156
+ * class: [ 'ck-comment__external' ]
157
+ * },
158
+ *
159
+ * children: [ {
160
+ * text: getTranslation( this.locale, 'EXTERNAL_SUGGESTION' )
161
+ * } ]
162
+ * }
163
+ * ]
164
+ * }
165
+ * ]
166
+ * },
167
+ * this.commentsListView,
168
+ * this.commentThreadInputView
169
+ * ]
170
+ * }
171
+ * ```
172
+ */
173
+ getTemplate(): TemplateDefinition;
174
+ /**
175
+ * @inheritDoc
176
+ */
177
+ render(): void;
178
+ /**
179
+ * Gets the translated note which indicates that the suggestion comes from an external source.
180
+ */
181
+ getExternalSuggestionNote(): string;
182
+ /**
183
+ * Gets the translated notification text which indicates that the author name comes from an external source.
184
+ */
185
+ getUserViewNotificationText(): string | null;
186
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/utils/common-translations
11
+ */
12
+ import { type Locale } from 'ckeditor5/src/utils.js';
13
+ export declare function getTranslation(locale: Locale, id: string, values?: number | string | ReadonlyArray<number | string>): string;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+ /**
10
+ * @module track-changes/utils/utils
11
+ */
12
+ import type { Command } from 'ckeditor5/src/core.js';
13
+ import type { DocumentSelection, Model } from 'ckeditor5/src/engine.js';
14
+ import type Suggestion from '../suggestion.js';
15
+ import type { Description } from '../suggestiondescriptionfactory.js';
16
+ /**
17
+ * Used in tests for easy suggestion comparison.
18
+ */
19
+ export declare function normalizeDescription(description: Array<Description> | Description): string;
20
+ export declare function sortSuggestions(suggestions: Array<Suggestion>): Array<Suggestion>;
21
+ /**
22
+ * From the list of passed `suggestions` returns those that are selected by given `selection`.
23
+ */
24
+ export declare function getSelectedSuggestions(selection: DocumentSelection, suggestions: Array<Suggestion>): Set<Suggestion>;
25
+ /**
26
+ * How many suggestion actions should be put into one batch when multiple suggestions are accepted or discarded.
27
+ */
28
+ export declare const MAX_SUGGESTION_ACTIONS_IN_BATCH = 100;
29
+ /**
30
+ * Executes given `command` for given `suggestions`. If there is a lot of suggestions, the command executions is split into batches.
31
+ * There is at most `MAX_SUGGESTION_ACTIONS_IN_BATCH` exeuctions in one batch. As a result, this limits number of actions to be done
32
+ * in one undo step but may create multiple undo steps.
33
+ */
34
+ export declare function executeCommandForSuggestions(model: Model, command: Command, suggestions: Array<Suggestion>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "41.2.1",
3
+ "version": "41.3.0-alpha.3",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -32,6 +32,7 @@
32
32
  "main": "src/index.js",
33
33
  "files": [
34
34
  "build",
35
+ "dist",
35
36
  "lang",
36
37
  "src/**/*.js",
37
38
  "src/**/*.d.ts",
@@ -40,8 +41,8 @@
40
41
  "CHANGELOG.md"
41
42
  ],
42
43
  "dependencies": {
43
- "ckeditor5": "41.2.1",
44
- "ckeditor5-collaboration": "41.2.1",
44
+ "ckeditor5": "41.3.0-alpha.3",
45
+ "ckeditor5-collaboration": "41.3.0-alpha.3",
45
46
  "lodash-es": "4.17.21"
46
47
  },
47
48
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8b56c9=_0x29e7;function _0x277f(){const _0x48be48=['acceptSuggestion','542061XwsLpW','8397864cIVeHB','isEnabled','3nJFMFl','execute','6980IaiSrS','plugins','canEditAt','_suggestions','4898690PWSrQt','_isEnabledBasedOnSelection','track-changes-accept-suggestion-not-found','41866Ocsgrm','getRanges','editor','9HkxaEu','4158552dikoxE','get','model','1615938OUXAee','TrackChangesEditing','refresh','7JMKWcE','4262892enixLI'];_0x277f=function(){return _0x48be48;};return _0x277f();}function _0x29e7(_0x28b2b0,_0xbc405d){const _0x277fb1=_0x277f();return _0x29e7=function(_0x29e767,_0x579a6c){_0x29e767=_0x29e767-0x158;let _0x139e2a=_0x277fb1[_0x29e767];return _0x139e2a;},_0x29e7(_0x28b2b0,_0xbc405d);}(function(_0x1a1cd6,_0xfa907b){const _0x1f6bad=_0x29e7,_0x1cadc0=_0x1a1cd6();while(!![]){try{const _0x1ca7f1=-parseInt(_0x1f6bad(0x167))/0x1+-parseInt(_0x1f6bad(0x161))/0x2+parseInt(_0x1f6bad(0x16a))/0x3*(-parseInt(_0x1f6bad(0x165))/0x4)+parseInt(_0x1f6bad(0x170))/0x5+-parseInt(_0x1f6bad(0x15e))/0x6*(-parseInt(_0x1f6bad(0x164))/0x7)+parseInt(_0x1f6bad(0x168))/0x8*(-parseInt(_0x1f6bad(0x15d))/0x9)+-parseInt(_0x1f6bad(0x16c))/0xa*(-parseInt(_0x1f6bad(0x15a))/0xb);if(_0x1ca7f1===_0xfa907b)break;else _0x1cadc0['push'](_0x1cadc0['shift']());}catch(_0x37e1a6){_0x1cadc0['push'](_0x1cadc0['shift']());}}}(_0x277f,0xd2ebc));import{Command as _0x1e771b}from'ckeditor5/src/core.js';import{CKEditorError as _0x494cb9}from'ckeditor5/src/utils.js';export default class $ extends _0x1e771b{constructor(_0x2c9385,_0x450184){const _0x4fd7fc=_0x29e7;super(_0x2c9385),this[_0x4fd7fc(0x16f)]=_0x450184,this[_0x4fd7fc(0x163)](),this[_0x4fd7fc(0x158)]=!0x1;}[_0x8b56c9(0x163)](){const _0x26e1ad=_0x8b56c9;this[_0x26e1ad(0x169)]=!0x0;}[_0x8b56c9(0x16b)](_0x2cfd3c){const _0x278100=_0x8b56c9,_0x3b6024=this[_0x278100(0x16f)][_0x278100(0x15f)](_0x2cfd3c);if(!_0x3b6024)throw new _0x494cb9(_0x278100(0x159),this);const _0x55938a=_0x3b6024[_0x278100(0x15b)]();this[_0x278100(0x15c)][_0x278100(0x160)][_0x278100(0x16e)](_0x55938a)&&this[_0x278100(0x15c)][_0x278100(0x16d)][_0x278100(0x15f)](_0x278100(0x162))[_0x278100(0x166)](_0x3b6024);}}
23
+ const _0xea2355=_0x4689;(function(_0x2b024a,_0x48aa1a){const _0x25cf52=_0x4689,_0x2acd17=_0x2b024a();while(!![]){try{const _0xab33e=-parseInt(_0x25cf52(0x1df))/0x1*(-parseInt(_0x25cf52(0x1d5))/0x2)+-parseInt(_0x25cf52(0x1ca))/0x3+parseInt(_0x25cf52(0x1db))/0x4*(parseInt(_0x25cf52(0x1d0))/0x5)+parseInt(_0x25cf52(0x1d2))/0x6*(parseInt(_0x25cf52(0x1d9))/0x7)+parseInt(_0x25cf52(0x1c6))/0x8*(-parseInt(_0x25cf52(0x1d7))/0x9)+-parseInt(_0x25cf52(0x1d4))/0xa*(-parseInt(_0x25cf52(0x1c9))/0xb)+parseInt(_0x25cf52(0x1d3))/0xc;if(_0xab33e===_0x48aa1a)break;else _0x2acd17['push'](_0x2acd17['shift']());}catch(_0x42e811){_0x2acd17['push'](_0x2acd17['shift']());}}}(_0x33ae,0xa710d));function _0x33ae(){const _0x3c575e=['5udCWrf','isEnabled','114ibIvXR','3586440liNjVc','310ghXLJF','62DfIfOO','_suggestions','369NrsKtS','getRanges','195874AKLBro','model','2745392JODSBA','TrackChangesEditing','get','track-changes-accept-suggestion-not-found','7779zjHvIv','221896AhbbRP','canEditAt','plugins','325666VadEIx','2562879IQAqnq','refresh','editor','execute','acceptSuggestion','_isEnabledBasedOnSelection'];_0x33ae=function(){return _0x3c575e;};return _0x33ae();}function _0x4689(_0x4c26fd,_0x4b3bb9){const _0x33aefd=_0x33ae();return _0x4689=function(_0x4689d5,_0x1e89a3){_0x4689d5=_0x4689d5-0x1c6;let _0x50314a=_0x33aefd[_0x4689d5];return _0x50314a;},_0x4689(_0x4c26fd,_0x4b3bb9);}import{Command as _0x52cd9d}from'ckeditor5/src/core.js';import{CKEditorError as _0x45c280}from'ckeditor5/src/utils.js';export default class $ extends _0x52cd9d{constructor(_0x407c19,_0x2e7019){const _0x1fd357=_0x4689;super(_0x407c19),this[_0x1fd357(0x1d6)]=_0x2e7019,this[_0x1fd357(0x1cb)](),this[_0x1fd357(0x1cf)]=!0x1;}[_0xea2355(0x1cb)](){const _0xeb957d=_0xea2355;this[_0xeb957d(0x1d1)]=!0x0;}[_0xea2355(0x1cd)](_0x2f7c2e){const _0x1e72fe=_0xea2355,_0x29a1d5=this[_0x1e72fe(0x1d6)][_0x1e72fe(0x1dd)](_0x2f7c2e);if(!_0x29a1d5)throw new _0x45c280(_0x1e72fe(0x1de),this);const _0x45c124=_0x29a1d5[_0x1e72fe(0x1d8)]();this[_0x1e72fe(0x1cc)][_0x1e72fe(0x1da)][_0x1e72fe(0x1c7)](_0x45c124)&&this[_0x1e72fe(0x1cc)][_0x1e72fe(0x1c8)][_0x1e72fe(0x1dd)](_0x1e72fe(0x1dc))[_0x1e72fe(0x1ce)](_0x29a1d5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f440f=_0x129c;(function(_0x573871,_0x35bec2){const _0xf443fe=_0x129c,_0x211925=_0x573871();while(!![]){try{const _0x59d354=-parseInt(_0xf443fe(0x1fa))/0x1*(-parseInt(_0xf443fe(0x1f5))/0x2)+-parseInt(_0xf443fe(0x209))/0x3+-parseInt(_0xf443fe(0x1fb))/0x4*(-parseInt(_0xf443fe(0x201))/0x5)+-parseInt(_0xf443fe(0x200))/0x6*(-parseInt(_0xf443fe(0x207))/0x7)+parseInt(_0xf443fe(0x205))/0x8*(parseInt(_0xf443fe(0x1f3))/0x9)+parseInt(_0xf443fe(0x20a))/0xa+-parseInt(_0xf443fe(0x204))/0xb;if(_0x59d354===_0x35bec2)break;else _0x211925['push'](_0x211925['shift']());}catch(_0xdeda10){_0x211925['push'](_0x211925['shift']());}}}(_0x1db1,0x99dfc));function _0x129c(_0x2329c9,_0x287be0){const _0x1db176=_0x1db1();return _0x129c=function(_0x129ce7,_0x465510){_0x129ce7=_0x129ce7-0x1f2;let _0x43f87b=_0x1db176[_0x129ce7];return _0x43f87b;},_0x129c(_0x2329c9,_0x287be0);}import{Command as _0x4f49d4}from'ckeditor5/src/core.js';function _0x1db1(){const _0x39ea9c=['track-changes-discard-suggestion-not-found','TrackChangesEditing','editor','model','2uCsudw','142764TEnDad','discardSuggestion','canEditAt','refresh','get','1828380SDyBzx','85atACrk','execute','isEnabled','44200849TaBTNn','8049248wgfjeE','plugins','28EBjNAJ','getRanges','773670RpMGVU','11277080GgqjXX','_suggestions','9gZwwAb','_isEnabledBasedOnSelection','946886WSHdUE'];_0x1db1=function(){return _0x39ea9c;};return _0x1db1();}import{CKEditorError as _0x1ffaae}from'ckeditor5/src/utils.js';export default class B extends _0x4f49d4{constructor(_0xe534fc,_0x4a5c99){const _0x5c3990=_0x129c;super(_0xe534fc),this[_0x5c3990(0x1f2)]=_0x4a5c99,this[_0x5c3990(0x1fe)](),this[_0x5c3990(0x1f4)]=!0x1;}[_0x2f440f(0x1fe)](){const _0x1242d8=_0x2f440f;this[_0x1242d8(0x203)]=!0x0;}[_0x2f440f(0x202)](_0x4ff06b){const _0x3c14bb=_0x2f440f,_0x2ca951=this[_0x3c14bb(0x1f2)][_0x3c14bb(0x1ff)](_0x4ff06b);if(!_0x2ca951)throw new _0x1ffaae(_0x3c14bb(0x1f6),this);const _0xfe359e=_0x2ca951[_0x3c14bb(0x208)]();this[_0x3c14bb(0x1f8)][_0x3c14bb(0x1f9)][_0x3c14bb(0x1fd)](_0xfe359e)&&this[_0x3c14bb(0x1f8)][_0x3c14bb(0x206)][_0x3c14bb(0x1ff)](_0x3c14bb(0x1f7))[_0x3c14bb(0x1fc)](_0x2ca951);}}
23
+ function _0x5b74(_0x7db646,_0x23dd08){const _0x429d11=_0x429d();return _0x5b74=function(_0x5b7448,_0x53cf97){_0x5b7448=_0x5b7448-0xc2;let _0x3181a5=_0x429d11[_0x5b7448];return _0x3181a5;},_0x5b74(_0x7db646,_0x23dd08);}const _0x1a2267=_0x5b74;(function(_0x5ad298,_0x34edec){const _0x3ed62d=_0x5b74,_0x59c11e=_0x5ad298();while(!![]){try{const _0x1fd313=parseInt(_0x3ed62d(0xd1))/0x1+parseInt(_0x3ed62d(0xd8))/0x2*(-parseInt(_0x3ed62d(0xd4))/0x3)+-parseInt(_0x3ed62d(0xc2))/0x4+-parseInt(_0x3ed62d(0xcc))/0x5*(-parseInt(_0x3ed62d(0xd3))/0x6)+parseInt(_0x3ed62d(0xce))/0x7*(parseInt(_0x3ed62d(0xd0))/0x8)+parseInt(_0x3ed62d(0xc6))/0x9*(-parseInt(_0x3ed62d(0xc3))/0xa)+-parseInt(_0x3ed62d(0xc7))/0xb;if(_0x1fd313===_0x34edec)break;else _0x59c11e['push'](_0x59c11e['shift']());}catch(_0x2831b8){_0x59c11e['push'](_0x59c11e['shift']());}}}(_0x429d,0x1d16a));import{Command as _0x27ac0d}from'ckeditor5/src/core.js';import{CKEditorError as _0xbb0cc7}from'ckeditor5/src/utils.js';function _0x429d(){const _0x58788c=['editor','2cDDDyZ','get','getRanges','420876VCukeg','10VrXTsj','isEnabled','canEditAt','256689xvSYuq','1105093OnEVUT','TrackChangesEditing','track-changes-discard-suggestion-not-found','plugins','refresh','63030zxeFDs','discardSuggestion','665tvcBmF','execute','18152nUVAlW','84456JoGHQa','_isEnabledBasedOnSelection','78siFKmH','331620dzzYbh','_suggestions','model'];_0x429d=function(){return _0x58788c;};return _0x429d();}export default class B extends _0x27ac0d{constructor(_0x17a1e4,_0x25f096){const _0x597374=_0x5b74;super(_0x17a1e4),this[_0x597374(0xd5)]=_0x25f096,this[_0x597374(0xcb)](),this[_0x597374(0xd2)]=!0x1;}[_0x1a2267(0xcb)](){const _0x112689=_0x1a2267;this[_0x112689(0xc4)]=!0x0;}[_0x1a2267(0xcf)](_0x484c4a){const _0x4312f8=_0x1a2267,_0x38e3ee=this[_0x4312f8(0xd5)][_0x4312f8(0xd9)](_0x484c4a);if(!_0x38e3ee)throw new _0xbb0cc7(_0x4312f8(0xc9),this);const _0x3956f7=_0x38e3ee[_0x4312f8(0xda)]();this[_0x4312f8(0xd7)][_0x4312f8(0xd6)][_0x4312f8(0xc5)](_0x3956f7)&&this[_0x4312f8(0xd7)][_0x4312f8(0xca)][_0x4312f8(0xd9)](_0x4312f8(0xc8))[_0x4312f8(0xcd)](_0x38e3ee);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1161(){const _0x30f009=['_command','model','2jbOsVN','isEnabled','486744rzUrqx','3582kPgltr','values','1186052XNjxwT','isInContent','104874GpoNwS','10HSIgSn','8BBkmhh','getRanges','10852226RzMPbo','refresh','15528lBvlUw','editor','from','canEditAt','execute','_suggestions','952788pkTbCL','some','_isEnabledBasedOnSelection','261528yeRWYc','50UVbPPR'];_0x1161=function(){return _0x30f009;};return _0x1161();}const _0x384712=_0x9d28;(function(_0x2567af,_0xba0157){const _0x142dd9=_0x9d28,_0x5e9c73=_0x2567af();while(!![]){try{const _0x159a20=-parseInt(_0x142dd9(0xa2))/0x1*(-parseInt(_0x142dd9(0x8d))/0x2)+parseInt(_0x142dd9(0x9b))/0x3*(-parseInt(_0x142dd9(0x91))/0x4)+-parseInt(_0x142dd9(0x9f))/0x5*(-parseInt(_0x142dd9(0x9e))/0x6)+-parseInt(_0x142dd9(0x8f))/0x7+parseInt(_0x142dd9(0x95))/0x8*(parseInt(_0x142dd9(0xa5))/0x9)+parseInt(_0x142dd9(0x90))/0xa*(-parseInt(_0x142dd9(0x93))/0xb)+-parseInt(_0x142dd9(0xa4))/0xc;if(_0x159a20===_0xba0157)break;else _0x5e9c73['push'](_0x5e9c73['shift']());}catch(_0x11fac3){_0x5e9c73['push'](_0x5e9c73['shift']());}}}(_0x1161,0xaf15c));import{Command as _0x1abf00}from'ckeditor5/src/core.js';function _0x9d28(_0x537133,_0x238c54){const _0x116196=_0x1161();return _0x9d28=function(_0x9d28b3,_0x46d6e2){_0x9d28b3=_0x9d28b3-0x8d;let _0x179cd9=_0x116196[_0x9d28b3];return _0x179cd9;},_0x9d28(_0x537133,_0x238c54);}import{sortSuggestions as _0x1d5eda,executeCommandForSuggestions as _0x1b5246}from'../utils/utils.js';export default class x extends _0x1abf00{constructor(_0x5b2f61,_0x54bce6,_0x1758ae){const _0x57c5c6=_0x9d28;super(_0x5b2f61),this[_0x57c5c6(0xa0)]=_0x54bce6,this[_0x57c5c6(0x9a)]=_0x1758ae,this[_0x57c5c6(0x94)](),this[_0x57c5c6(0x9d)]=!0x1;}[_0x384712(0x94)](){const _0x40eb5b=_0x384712,_0xf369d=Array[_0x40eb5b(0x97)](this[_0x40eb5b(0x9a)][_0x40eb5b(0xa6)]())[_0x40eb5b(0x9c)](_0x7bc0ef=>_0x7bc0ef[_0x40eb5b(0x8e)]);this[_0x40eb5b(0xa3)]=this[_0x40eb5b(0xa0)][_0x40eb5b(0xa3)]&&_0xf369d;}[_0x384712(0x99)](){const _0x2a154e=_0x384712,_0x296c7a=_0x1d5eda(Array[_0x2a154e(0x97)](this[_0x2a154e(0x9a)][_0x2a154e(0xa6)]()));for(const _0x108787 of _0x296c7a){const _0x4263c7=_0x108787[_0x2a154e(0x92)]();if(!this[_0x2a154e(0x96)][_0x2a154e(0xa1)][_0x2a154e(0x98)](_0x4263c7))return;}_0x1b5246(this[_0x2a154e(0x96)][_0x2a154e(0xa1)],this[_0x2a154e(0xa0)],_0x296c7a);}}
23
+ function _0x1eed(_0x337385,_0x4dda7d){const _0x46f7f0=_0x46f7();return _0x1eed=function(_0x1eedff,_0xf6b7e7){_0x1eedff=_0x1eedff-0xcc;let _0x1043a9=_0x46f7f0[_0x1eedff];return _0x1043a9;},_0x1eed(_0x337385,_0x4dda7d);}const _0x5b7ce3=_0x1eed;function _0x46f7(){const _0xf7523a=['from','222yhpZHK','editor','1725774naGDJX','getRanges','71270kaIIbD','some','_isEnabledBasedOnSelection','values','isInContent','20hWpwsw','_suggestions','10787319UdUygb','model','_command','766000NSvtYG','591350ZgATbM','canEditAt','refresh','192584tWFxCP','execute','119tFmmep','1894902nDfhWk','isEnabled'];_0x46f7=function(){return _0xf7523a;};return _0x46f7();}(function(_0x2f8625,_0x339193){const _0x5173a6=_0x1eed,_0x4606ad=_0x2f8625();while(!![]){try{const _0x42176a=parseInt(_0x5173a6(0xdc))/0x1+parseInt(_0x5173a6(0xcf))/0x2+parseInt(_0x5173a6(0xe2))/0x3+-parseInt(_0x5173a6(0xdb))/0x4+-parseInt(_0x5173a6(0xd1))/0x5*(-parseInt(_0x5173a6(0xcd))/0x6)+parseInt(_0x5173a6(0xe1))/0x7*(parseInt(_0x5173a6(0xdf))/0x8)+parseInt(_0x5173a6(0xd8))/0x9*(-parseInt(_0x5173a6(0xd6))/0xa);if(_0x42176a===_0x339193)break;else _0x4606ad['push'](_0x4606ad['shift']());}catch(_0x430281){_0x4606ad['push'](_0x4606ad['shift']());}}}(_0x46f7,0x69ea4));import{Command as _0x5791a2}from'ckeditor5/src/core.js';import{sortSuggestions as _0x3d7b2f,executeCommandForSuggestions as _0x4944c2}from'../utils/utils.js';export default class x extends _0x5791a2{constructor(_0x2a4e3d,_0x11ca50,_0x54d553){const _0xf7c7e6=_0x1eed;super(_0x2a4e3d),this[_0xf7c7e6(0xda)]=_0x11ca50,this[_0xf7c7e6(0xd7)]=_0x54d553,this[_0xf7c7e6(0xde)](),this[_0xf7c7e6(0xd3)]=!0x1;}[_0x5b7ce3(0xde)](){const _0x26e6f5=_0x5b7ce3,_0x30cdb0=Array[_0x26e6f5(0xcc)](this[_0x26e6f5(0xd7)][_0x26e6f5(0xd4)]())[_0x26e6f5(0xd2)](_0x281f78=>_0x281f78[_0x26e6f5(0xd5)]);this[_0x26e6f5(0xe3)]=this[_0x26e6f5(0xda)][_0x26e6f5(0xe3)]&&_0x30cdb0;}[_0x5b7ce3(0xe0)](){const _0x32a47f=_0x5b7ce3,_0x51f9b0=_0x3d7b2f(Array[_0x32a47f(0xcc)](this[_0x32a47f(0xd7)][_0x32a47f(0xd4)]()));for(const _0xffc393 of _0x51f9b0){const _0x2b5369=_0xffc393[_0x32a47f(0xd0)]();if(!this[_0x32a47f(0xce)][_0x32a47f(0xd9)][_0x32a47f(0xdd)](_0x2b5369))return;}_0x4944c2(this[_0x32a47f(0xce)][_0x32a47f(0xd9)],this[_0x32a47f(0xda)],_0x51f9b0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x260e1b=_0x4620;(function(_0x1e23e2,_0x3e4599){const _0x5a0c23=_0x4620,_0x17fc75=_0x1e23e2();while(!![]){try{const _0x329342=parseInt(_0x5a0c23(0x1d4))/0x1*(-parseInt(_0x5a0c23(0x1e1))/0x2)+parseInt(_0x5a0c23(0x1ea))/0x3*(-parseInt(_0x5a0c23(0x1df))/0x4)+parseInt(_0x5a0c23(0x1ef))/0x5*(parseInt(_0x5a0c23(0x1e5))/0x6)+parseInt(_0x5a0c23(0x1e0))/0x7+parseInt(_0x5a0c23(0x1d5))/0x8*(-parseInt(_0x5a0c23(0x1de))/0x9)+parseInt(_0x5a0c23(0x1eb))/0xa*(parseInt(_0x5a0c23(0x1e3))/0xb)+parseInt(_0x5a0c23(0x1d6))/0xc;if(_0x329342===_0x3e4599)break;else _0x17fc75['push'](_0x17fc75['shift']());}catch(_0x180279){_0x17fc75['push'](_0x17fc75['shift']());}}}(_0x17b7,0x8e7d4));function _0x17b7(){const _0x560a6a=['editor','1650iacWIc','10ojppTV','values','selection','_suggestions','60LXhQms','483413FKLRUt','8998192UWjMDM','11731080audIuk','isEnabled','execute','model','canEditAt','getRanges','_isEnabledBasedOnSelection','refresh','9vZHXje','5332kXdRMy','3069206rHOCXi','2SfnuuM','document','7464567oUfyFa','_selectedSuggestions','415164bZhaVe','size','from','_command'];_0x17b7=function(){return _0x560a6a;};return _0x17b7();}import{Command as _0x143d69}from'ckeditor5/src/core.js';import{sortSuggestions as _0x304b9a,getSelectedSuggestions as _0x54c33b,executeCommandForSuggestions as _0x4abb58}from'../utils/utils.js';function _0x4620(_0x5aa0cd,_0x4504d9){const _0x17b7e3=_0x17b7();return _0x4620=function(_0x462020,_0xeec55a){_0x462020=_0x462020-0x1d4;let _0x29ec0a=_0x17b7e3[_0x462020];return _0x29ec0a;},_0x4620(_0x5aa0cd,_0x4504d9);}export default class R extends _0x143d69{constructor(_0x1b9343,_0x1727ed,_0x1f22ef){const _0x5a83a9=_0x4620;super(_0x1b9343),this[_0x5a83a9(0x1e8)]=_0x1727ed,this[_0x5a83a9(0x1ee)]=_0x1f22ef,this[_0x5a83a9(0x1e4)]=new Set(),this[_0x5a83a9(0x1dd)](),this[_0x5a83a9(0x1dc)]=!0x1;}[_0x260e1b(0x1dd)](){const _0xf2f4b9=_0x260e1b,_0x43150b=this[_0xf2f4b9(0x1e9)][_0xf2f4b9(0x1d9)][_0xf2f4b9(0x1e2)][_0xf2f4b9(0x1ed)],_0xfaa965=Array[_0xf2f4b9(0x1e7)](this[_0xf2f4b9(0x1ee)][_0xf2f4b9(0x1ec)]());this[_0xf2f4b9(0x1e4)]=_0x54c33b(_0x43150b,_0xfaa965),this[_0xf2f4b9(0x1d7)]=this[_0xf2f4b9(0x1e8)][_0xf2f4b9(0x1d7)]&&!!this[_0xf2f4b9(0x1e4)][_0xf2f4b9(0x1e6)];}[_0x260e1b(0x1d8)](){const _0x1505df=_0x260e1b,_0x3ebe61=_0x304b9a(Array[_0x1505df(0x1e7)](this[_0x1505df(0x1e4)]));for(const _0x175db2 of _0x3ebe61){const _0x42a524=_0x175db2[_0x1505df(0x1db)]();if(!this[_0x1505df(0x1e9)][_0x1505df(0x1d9)][_0x1505df(0x1da)](_0x42a524))return;}_0x4abb58(this[_0x1505df(0x1e9)][_0x1505df(0x1d9)],this[_0x1505df(0x1e8)],_0x3ebe61);}}
23
+ function _0xa709(){const _0x5557c5=['799977Hvqlia','getRanges','85YSFWth','3101LPdOiF','execute','_isEnabledBasedOnSelection','isEnabled','_suggestions','canEditAt','size','from','2951937gfPAuK','8CkiXjG','5010GCYrtM','document','11067330qlxrwV','values','editor','1377596vAGsZQ','_command','model','_selectedSuggestions','9422WoUwBW','1298665CyBJFy','refresh','selection'];_0xa709=function(){return _0x5557c5;};return _0xa709();}const _0x47c470=_0x23e7;(function(_0x8e95c9,_0x3126cb){const _0x432a38=_0x23e7,_0x124c9c=_0x8e95c9();while(!![]){try{const _0x254515=parseInt(_0x432a38(0x121))/0x1*(parseInt(_0x432a38(0x11b))/0x2)+parseInt(_0x432a38(0x11f))/0x3+parseInt(_0x432a38(0x131))/0x4+parseInt(_0x432a38(0x11c))/0x5+parseInt(_0x432a38(0x12c))/0x6*(parseInt(_0x432a38(0x122))/0x7)+-parseInt(_0x432a38(0x12b))/0x8*(parseInt(_0x432a38(0x12a))/0x9)+-parseInt(_0x432a38(0x12e))/0xa;if(_0x254515===_0x3126cb)break;else _0x124c9c['push'](_0x124c9c['shift']());}catch(_0x58f8ab){_0x124c9c['push'](_0x124c9c['shift']());}}}(_0xa709,0x32645));import{Command as _0x2a475b}from'ckeditor5/src/core.js';import{sortSuggestions as _0x349751,getSelectedSuggestions as _0x33a8bd,executeCommandForSuggestions as _0x2e1d7b}from'../utils/utils.js';function _0x23e7(_0x240ea0,_0x52bc5e){const _0xa70935=_0xa709();return _0x23e7=function(_0x23e7da,_0x2ed594){_0x23e7da=_0x23e7da-0x119;let _0x216565=_0xa70935[_0x23e7da];return _0x216565;},_0x23e7(_0x240ea0,_0x52bc5e);}export default class R extends _0x2a475b{constructor(_0x42b490,_0x42846f,_0xab5f3){const _0x3bd016=_0x23e7;super(_0x42b490),this[_0x3bd016(0x132)]=_0x42846f,this[_0x3bd016(0x126)]=_0xab5f3,this[_0x3bd016(0x11a)]=new Set(),this[_0x3bd016(0x11d)](),this[_0x3bd016(0x124)]=!0x1;}[_0x47c470(0x11d)](){const _0x3b9b4e=_0x47c470,_0x4c4cf0=this[_0x3b9b4e(0x130)][_0x3b9b4e(0x119)][_0x3b9b4e(0x12d)][_0x3b9b4e(0x11e)],_0x5e7cf4=Array[_0x3b9b4e(0x129)](this[_0x3b9b4e(0x126)][_0x3b9b4e(0x12f)]());this[_0x3b9b4e(0x11a)]=_0x33a8bd(_0x4c4cf0,_0x5e7cf4),this[_0x3b9b4e(0x125)]=this[_0x3b9b4e(0x132)][_0x3b9b4e(0x125)]&&!!this[_0x3b9b4e(0x11a)][_0x3b9b4e(0x128)];}[_0x47c470(0x123)](){const _0x7c9b4a=_0x47c470,_0x168bdc=_0x349751(Array[_0x7c9b4a(0x129)](this[_0x7c9b4a(0x11a)]));for(const _0x42be8a of _0x168bdc){const _0x368ca1=_0x42be8a[_0x7c9b4a(0x120)]();if(!this[_0x7c9b4a(0x130)][_0x7c9b4a(0x119)][_0x7c9b4a(0x127)](_0x368ca1))return;}_0x2e1d7b(this[_0x7c9b4a(0x130)][_0x7c9b4a(0x119)],this[_0x7c9b4a(0x132)],_0x168bdc);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fd92d=_0x1cd5;(function(_0x2b901f,_0x1df41f){const _0x2418ee=_0x1cd5,_0x5c2ddb=_0x2b901f();while(!![]){try{const _0xaa0212=-parseInt(_0x2418ee(0x102))/0x1*(parseInt(_0x2418ee(0xff))/0x2)+-parseInt(_0x2418ee(0x100))/0x3+-parseInt(_0x2418ee(0x115))/0x4*(-parseInt(_0x2418ee(0x101))/0x5)+parseInt(_0x2418ee(0x10c))/0x6*(parseInt(_0x2418ee(0x108))/0x7)+parseInt(_0x2418ee(0x116))/0x8+-parseInt(_0x2418ee(0x112))/0x9*(-parseInt(_0x2418ee(0x113))/0xa)+parseInt(_0x2418ee(0x111))/0xb*(parseInt(_0x2418ee(0x10b))/0xc);if(_0xaa0212===_0x1df41f)break;else _0x5c2ddb['push'](_0x5c2ddb['shift']());}catch(_0x5dfd24){_0x5c2ddb['push'](_0x5c2ddb['shift']());}}}(_0x1b97,0x30f69));function _0x1cd5(_0xb78a2f,_0x40bbee){const _0x1b9758=_0x1b97();return _0x1cd5=function(_0x1cd51a,_0x41364e){_0x1cd51a=_0x1cd51a-0xff;let _0x299f17=_0x1b9758[_0x1cd51a];return _0x299f17;},_0x1cd5(_0xb78a2f,_0x40bbee);}import{Command as _0xcfbf9f}from'ckeditor5/src/core.js';export default class M extends _0xcfbf9f{constructor(_0x175156,_0x431e42){const _0x4e4510=_0x1cd5;super(_0x175156),this[_0x4e4510(0x119)]=_0x431e42,this[_0x4e4510(0x109)]=!0x1,this[_0x4e4510(0x10f)](),this[_0x4e4510(0x106)]=!0x1;}[_0x1fd92d(0x10f)](){const _0x3effdf=_0x1fd92d;this[_0x3effdf(0x10a)]=!0x0;}[_0x1fd92d(0x103)](){const _0x47361f=_0x1fd92d;this[_0x47361f(0x109)]=!this[_0x47361f(0x109)],this[_0x47361f(0x109)]?this[_0x47361f(0x117)]():this[_0x47361f(0x118)]();}[_0x1fd92d(0x117)](){const _0x25552a=_0x1fd92d;for(const _0x177ee2 of this[_0x25552a(0x107)][_0x25552a(0x104)][_0x25552a(0x104)]())_0x177ee2[_0x25552a(0x105)]&&!this[_0x25552a(0x119)][_0x25552a(0x110)](_0x177ee2)&&_0x177ee2[_0x25552a(0x10e)](_0x25552a(0x114));}[_0x1fd92d(0x118)](){const _0x262690=_0x1fd92d;for(const _0x1b9dc4 of this[_0x262690(0x107)][_0x262690(0x104)][_0x262690(0x104)]())_0x1b9dc4[_0x262690(0x105)]&&!this[_0x262690(0x119)][_0x262690(0x110)](_0x1b9dc4)&&_0x1b9dc4[_0x262690(0x10d)](_0x262690(0x114));}}function _0x1b97(){const _0x39b6cc=['8488jIjGzF','2215792ZqsTue','_disableUnsupportedCommands','_enableCommands','_enabledCommands','6QVWMiJ','849429RAwXkG','65ZRsODX','51581sZUQqf','execute','commands','affectsData','_isEnabledBasedOnSelection','editor','18466SIwZtY','value','isEnabled','60LANdEB','306flSVbJ','clearForceDisabled','forceDisabled','refresh','has','359876dKmHxX','29259yzlKmI','110jQTtme','TrackChangesCommand'];_0x1b97=function(){return _0x39b6cc;};return _0x1b97();}
23
+ function _0x29a6(_0x45978d,_0x495869){const _0x1c7193=_0x1c71();return _0x29a6=function(_0x29a655,_0x27219c){_0x29a655=_0x29a655-0xf5;let _0x4b687e=_0x1c7193[_0x29a655];return _0x4b687e;},_0x29a6(_0x45978d,_0x495869);}const _0x649a53=_0x29a6;(function(_0x3ed84f,_0x2993b5){const _0x41def9=_0x29a6,_0x4b5f3b=_0x3ed84f();while(!![]){try{const _0xb42ed=-parseInt(_0x41def9(0x10a))/0x1*(parseInt(_0x41def9(0x10e))/0x2)+-parseInt(_0x41def9(0x10b))/0x3*(-parseInt(_0x41def9(0xf8))/0x4)+parseInt(_0x41def9(0x104))/0x5*(-parseInt(_0x41def9(0xfd))/0x6)+parseInt(_0x41def9(0xfb))/0x7+-parseInt(_0x41def9(0xf5))/0x8+parseInt(_0x41def9(0xfe))/0x9*(-parseInt(_0x41def9(0x102))/0xa)+parseInt(_0x41def9(0xff))/0xb;if(_0xb42ed===_0x2993b5)break;else _0x4b5f3b['push'](_0x4b5f3b['shift']());}catch(_0x45daee){_0x4b5f3b['push'](_0x4b5f3b['shift']());}}}(_0x1c71,0x71bf6));import{Command as _0x63ded6}from'ckeditor5/src/core.js';export default class M extends _0x63ded6{constructor(_0x51a63a,_0x39a066){const _0x4e2f90=_0x29a6;super(_0x51a63a),this[_0x4e2f90(0xfa)]=_0x39a066,this[_0x4e2f90(0x108)]=!0x1,this[_0x4e2f90(0xf9)](),this[_0x4e2f90(0x105)]=!0x1;}[_0x649a53(0xf9)](){const _0x776cb2=_0x649a53;this[_0x776cb2(0xf7)]=!0x0;}[_0x649a53(0x10c)](){const _0x5b0115=_0x649a53;this[_0x5b0115(0x108)]=!this[_0x5b0115(0x108)],this[_0x5b0115(0x108)]?this[_0x5b0115(0x10d)]():this[_0x5b0115(0x109)]();}[_0x649a53(0x10d)](){const _0x56bb28=_0x649a53;for(const _0x127e8b of this[_0x56bb28(0x100)][_0x56bb28(0xfc)][_0x56bb28(0xfc)]())_0x127e8b[_0x56bb28(0x106)]&&!this[_0x56bb28(0xfa)][_0x56bb28(0x103)](_0x127e8b)&&_0x127e8b[_0x56bb28(0xf6)](_0x56bb28(0x107));}[_0x649a53(0x109)](){const _0x312192=_0x649a53;for(const _0x45b3ad of this[_0x312192(0x100)][_0x312192(0xfc)][_0x312192(0xfc)]())_0x45b3ad[_0x312192(0x106)]&&!this[_0x312192(0xfa)][_0x312192(0x103)](_0x45b3ad)&&_0x45b3ad[_0x312192(0x101)](_0x312192(0x107));}}function _0x1c71(){const _0x169c7e=['716260hpOyqB','has','28550cesJng','_isEnabledBasedOnSelection','affectsData','TrackChangesCommand','value','_enableCommands','733PYkUju','219UoUJCT','execute','_disableUnsupportedCommands','1718xQDryT','10832lOcIbA','forceDisabled','isEnabled','35228XjmlEl','refresh','_enabledCommands','2222794QJyJVP','commands','480EGlguW','45xftFbp','10465268fBegBH','editor','clearForceDisabled'];_0x1c71=function(){return _0x169c7e;};return _0x1c71();}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a4a5f,_0x59e96b){var _0x4698ff=_0x49f5,_0x1c988f=_0x2a4a5f();while(!![]){try{var _0x32e378=-parseInt(_0x4698ff(0xde))/0x1*(parseInt(_0x4698ff(0xdd))/0x2)+parseInt(_0x4698ff(0xe0))/0x3*(-parseInt(_0x4698ff(0xe7))/0x4)+parseInt(_0x4698ff(0xe2))/0x5+-parseInt(_0x4698ff(0xe1))/0x6*(-parseInt(_0x4698ff(0xe4))/0x7)+-parseInt(_0x4698ff(0xe6))/0x8*(parseInt(_0x4698ff(0xe5))/0x9)+parseInt(_0x4698ff(0xe3))/0xa+-parseInt(_0x4698ff(0xdf))/0xb;if(_0x32e378===_0x59e96b)break;else _0x1c988f['push'](_0x1c988f['shift']());}catch(_0x38a2bf){_0x1c988f['push'](_0x1c988f['shift']());}}}(_0x4562,0xd105d));function _0x4562(){var _0x3b6074=['3464clNafe','216MEDYAh','178jSgLMi','2290UoKcxR','1704505diraQB','38319txCvhV','6mAyaEz','4659675uBpjUr','12481840XuVovH','1824193KIZTsH','11142cosaVb'];_0x4562=function(){return _0x3b6074;};return _0x4562();}export{default as TrackChanges}from'./trackchanges.js';export{default as TrackChangesData}from'./trackchangesdata.js';export{default as TrackChangesEditing}from'./trackchangesediting.js';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview.js';function _0x49f5(_0x556ced,_0x390876){var _0x45623b=_0x4562();return _0x49f5=function(_0x49f5e9,_0x3bd22b){_0x49f5e9=_0x49f5e9-0xdd;var _0x54d271=_0x45623b[_0x49f5e9];return _0x54d271;},_0x49f5(_0x556ced,_0x390876);}import'./augmentation.js';
23
+ (function(_0x4d2a4f,_0x17b83b){var _0x345a25=_0x1ff4,_0x3f2c05=_0x4d2a4f();while(!![]){try{var _0x4de965=-parseInt(_0x345a25(0x91))/0x1+-parseInt(_0x345a25(0x8e))/0x2*(-parseInt(_0x345a25(0x8b))/0x3)+-parseInt(_0x345a25(0x92))/0x4*(-parseInt(_0x345a25(0x8a))/0x5)+-parseInt(_0x345a25(0x90))/0x6*(-parseInt(_0x345a25(0x8f))/0x7)+-parseInt(_0x345a25(0x89))/0x8+parseInt(_0x345a25(0x8d))/0x9*(-parseInt(_0x345a25(0x93))/0xa)+parseInt(_0x345a25(0x8c))/0xb;if(_0x4de965===_0x17b83b)break;else _0x3f2c05['push'](_0x3f2c05['shift']());}catch(_0x528929){_0x3f2c05['push'](_0x3f2c05['shift']());}}}(_0x316a,0x97056));export{default as TrackChanges}from'./trackchanges.js';function _0x316a(){var _0x2b8b28=['1203515WPztLr','159DuzGVh','2966678vjdjJt','36PFObYl','44158YqsGWw','7vNJlfT','235902WDOKvV','165820niYkaW','8bbLCZn','746020vcPAmB','7022384gYYVLJ'];_0x316a=function(){return _0x2b8b28;};return _0x316a();}function _0x1ff4(_0x47d403,_0x91ced4){var _0x316abf=_0x316a();return _0x1ff4=function(_0x1ff4af,_0x4a6e26){_0x1ff4af=_0x1ff4af-0x89;var _0x3f0f84=_0x316abf[_0x1ff4af];return _0x3f0f84;},_0x1ff4(_0x47d403,_0x91ced4);}export{default as TrackChangesData}from'./trackchangesdata.js';export{default as TrackChangesEditing}from'./trackchangesediting.js';export{default as BaseSuggestionThreadView}from'./ui/view/basesuggestionthreadview.js';import'./augmentation.js';