@ckeditor/ckeditor5-comments 39.0.1 → 40.0.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/CHANGELOG.md +2 -2
- package/LICENSE.md +6 -6
- package/README.md +14 -14
- package/build/comments.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/lang/translations/af.po +1 -0
- package/lang/translations/ar.po +1 -0
- package/lang/translations/bg.po +1 -0
- package/lang/translations/bn.po +1 -0
- package/lang/translations/bs.po +1 -0
- package/lang/translations/ca.po +1 -0
- package/lang/translations/cs.po +1 -0
- package/lang/translations/da.po +1 -0
- package/lang/translations/de-ch.po +1 -0
- package/lang/translations/de.po +1 -0
- package/lang/translations/el.po +1 -0
- package/lang/translations/en-au.po +1 -0
- package/lang/translations/en.po +1 -0
- package/lang/translations/es-co.po +1 -0
- package/lang/translations/es.po +1 -0
- package/lang/translations/et.po +1 -0
- package/lang/translations/fa.po +10 -9
- package/lang/translations/fi.po +1 -0
- package/lang/translations/fr.po +1 -0
- package/lang/translations/gl.po +1 -0
- package/lang/translations/he.po +1 -0
- package/lang/translations/hi.po +1 -0
- package/lang/translations/hr.po +1 -0
- package/lang/translations/hu.po +1 -0
- package/lang/translations/id.po +1 -0
- package/lang/translations/it.po +1 -0
- package/lang/translations/ja.po +1 -0
- package/lang/translations/jv.po +1 -0
- package/lang/translations/ko.po +1 -0
- package/lang/translations/lt.po +1 -0
- package/lang/translations/lv.po +1 -0
- package/lang/translations/ms.po +1 -0
- package/lang/translations/nl.po +1 -0
- package/lang/translations/no.po +1 -0
- package/lang/translations/pl.po +1 -0
- package/lang/translations/pt-br.po +4 -3
- package/lang/translations/pt.po +1 -0
- package/lang/translations/ro.po +1 -0
- package/lang/translations/ru.po +1 -0
- package/lang/translations/sk.po +1 -0
- package/lang/translations/sq.po +1 -0
- package/lang/translations/sr-latn.po +1 -0
- package/lang/translations/sr.po +1 -0
- package/lang/translations/sv.po +1 -0
- package/lang/translations/th.po +1 -0
- package/lang/translations/tk.po +1 -0
- package/lang/translations/tr.po +1 -0
- package/lang/translations/tt.po +1 -0
- package/lang/translations/ug.po +1 -0
- package/lang/translations/uk.po +1 -0
- package/lang/translations/ur.po +1 -0
- package/lang/translations/vi.po +1 -0
- package/lang/translations/zh-cn.po +1 -0
- package/lang/translations/zh.po +1 -0
- package/package.json +3 -7
- package/src/annotations/annotation.d.ts +90 -90
- package/src/annotations/annotation.js +1 -1
- package/src/annotations/annotationcollection.d.ts +98 -98
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.d.ts +154 -154
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.d.ts +232 -232
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.d.ts +67 -67
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.d.ts +90 -90
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.d.ts +85 -85
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.d.ts +100 -100
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.d.ts +29 -29
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.d.ts +90 -90
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.d.ts +55 -55
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.d.ts +32 -32
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.d.ts +77 -77
- package/src/annotations/widesidebar.js +1 -1
- package/src/augmentation.d.ts +52 -52
- package/src/comments/addcommentthreadcommand.d.ts +35 -35
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.d.ts +31 -31
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.d.ts +38 -38
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.d.ts +79 -79
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.d.ts +1129 -1105
- package/src/comments/commentsrepository.js +1 -1
- package/src/comments/commentsui.d.ts +33 -33
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.d.ts +17 -17
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.d.ts +21 -21
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditor.js +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.d.ts +31 -31
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.d.ts +36 -36
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.d.ts +64 -64
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- package/src/comments/ui/view/basecommentthreadview.d.ts +119 -112
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.d.ts +112 -112
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.d.ts +13 -13
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.d.ts +14 -14
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.d.ts +86 -86
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.d.ts +38 -38
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.d.ts +100 -100
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.d.ts +50 -50
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.d.ts +41 -41
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.d.ts +118 -117
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.d.ts +243 -243
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.d.ts +35 -35
- package/src/comments.js +1 -1
- package/src/commentsonly.d.ts +33 -33
- package/src/commentsonly.js +1 -1
- package/src/config.d.ts +176 -176
- package/src/index.d.ts +24 -24
- package/src/utils/common-translations.d.ts +9 -9
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.d.ts +14 -14
- package/src/utils/createmutationobserver.js +1 -1
- package/theme/annotation-inline.css +2 -1
- package/theme/annotation.css +2 -3
- package/theme/comment.css +39 -38
- package/theme/commentinput.css +2 -1
- package/theme/commentmarker.css +7 -6
- package/theme/commentsarchive.css +2 -1
- package/theme/commentthread.css +68 -57
- package/theme/icons/add-comment.svg +1 -1
- package/theme/icons/comments-archive.svg +1 -1
- package/theme/icons/edit-comment.svg +1 -1
- package/theme/icons/remove-comment.svg +1 -1
- package/theme/sidebar-narrow.css +4 -3
- package/theme/sidebar.css +13 -12
|
@@ -1,112 +1,119 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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
|
-
* @module comments/comments/ui/view/basecommentthreadview
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { View } from 'ckeditor5/src/ui';
|
|
10
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
11
|
-
import CommentThreadInputView from './commentthreadinputview';
|
|
12
|
-
import CommentsListView from './commentslistview';
|
|
13
|
-
import CommentThreadHeaderView from './commentthreadheaderview';
|
|
14
|
-
import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
|
|
15
|
-
import type { CommentThread } from '../../commentsrepository';
|
|
16
|
-
import type { CommentThreadConfig } from '../../../config';
|
|
17
|
-
/**
|
|
18
|
-
* An abstract comment thread view class that should be used as a base for comment thread view implementations.
|
|
19
|
-
* It provides some behaviors, flags and building blocks to use when creating a custom comment thread view class.
|
|
20
|
-
*
|
|
21
|
-
* For the usage examples check the {@glink features/collaboration/annotations/annotations-custom-view Custom annotation view} guide.
|
|
22
|
-
*/
|
|
23
|
-
export default class BaseCommentThreadView extends View {
|
|
24
|
-
locale: Locale;
|
|
25
|
-
/**
|
|
26
|
-
* Informs whether the comment thread view is in active state ("highlighted").
|
|
27
|
-
* A comment thread view is in this state when it is focused or was activated by the user in any other way.
|
|
28
|
-
*
|
|
29
|
-
* @observable
|
|
30
|
-
*/
|
|
31
|
-
isActive: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Informs whether the comment thread
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @readonly
|
|
55
|
-
*/
|
|
56
|
-
readonly
|
|
57
|
-
/**
|
|
58
|
-
* The comment
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
*
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
* @module comments/comments/ui/view/basecommentthreadview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { View } from 'ckeditor5/src/ui';
|
|
10
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
11
|
+
import CommentThreadInputView from './commentthreadinputview';
|
|
12
|
+
import CommentsListView from './commentslistview';
|
|
13
|
+
import CommentThreadHeaderView from './commentthreadheaderview';
|
|
14
|
+
import type { User } from 'ckeditor5-collaboration/src/collaboration-core';
|
|
15
|
+
import type { CommentThread } from '../../commentsrepository';
|
|
16
|
+
import type { CommentThreadConfig } from '../../../config';
|
|
17
|
+
/**
|
|
18
|
+
* An abstract comment thread view class that should be used as a base for comment thread view implementations.
|
|
19
|
+
* It provides some behaviors, flags and building blocks to use when creating a custom comment thread view class.
|
|
20
|
+
*
|
|
21
|
+
* For the usage examples check the {@glink features/collaboration/annotations/annotations-custom-view Custom annotation view} guide.
|
|
22
|
+
*/
|
|
23
|
+
export default class BaseCommentThreadView extends View {
|
|
24
|
+
locale: Locale;
|
|
25
|
+
/**
|
|
26
|
+
* Informs whether the comment thread view is in active state ("highlighted").
|
|
27
|
+
* A comment thread view is in this state when it is focused or was activated by the user in any other way.
|
|
28
|
+
*
|
|
29
|
+
* @observable
|
|
30
|
+
*/
|
|
31
|
+
isActive: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Informs whether the comment thread view is in unlinked state.
|
|
34
|
+
* A comment thread view is in this state when its corresponding target has been removed from the content.
|
|
35
|
+
*
|
|
36
|
+
* @observable
|
|
37
|
+
*/
|
|
38
|
+
isUnlinked: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Informs whether the comment thread has any changes that have not been saved.
|
|
41
|
+
*
|
|
42
|
+
* @observable
|
|
43
|
+
*/
|
|
44
|
+
isDirty: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The number of comments.
|
|
47
|
+
*
|
|
48
|
+
* @observable
|
|
49
|
+
*/
|
|
50
|
+
readonly length: number;
|
|
51
|
+
/**
|
|
52
|
+
* The list of comment views. It should be used as a part of the view template.
|
|
53
|
+
*
|
|
54
|
+
* @readonly
|
|
55
|
+
*/
|
|
56
|
+
readonly commentsListView: CommentsListView;
|
|
57
|
+
/**
|
|
58
|
+
* The comment thread header. It should be used as a part of the view template.
|
|
59
|
+
* This header is used only for resolved comment threads.
|
|
60
|
+
*
|
|
61
|
+
* @readonly
|
|
62
|
+
*/
|
|
63
|
+
readonly commentThreadHeaderView: CommentThreadHeaderView;
|
|
64
|
+
/**
|
|
65
|
+
* The comment input area view. It should be used as a part of the view template.
|
|
66
|
+
*
|
|
67
|
+
* @readonly
|
|
68
|
+
*/
|
|
69
|
+
readonly commentThreadInputView: CommentThreadInputView;
|
|
70
|
+
/**
|
|
71
|
+
* @param locale The localization service instance.
|
|
72
|
+
* @param model The model on which the view will base.
|
|
73
|
+
* @param localUser The current local user.
|
|
74
|
+
* @param config Additional view configuration.
|
|
75
|
+
*/
|
|
76
|
+
constructor(locale: Locale, model: CommentThread, localUser: User, config: CommentThreadConfig);
|
|
77
|
+
/**
|
|
78
|
+
* Focuses the view.
|
|
79
|
+
*/
|
|
80
|
+
focus(): void;
|
|
81
|
+
/**
|
|
82
|
+
* @inheritDoc
|
|
83
|
+
*/
|
|
84
|
+
destroy(): Promise<void>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Fired when a user created a first comment in the comment thread. Then the comment thread is submitted and saved.
|
|
88
|
+
*
|
|
89
|
+
* @eventName ~BaseCommentThreadView#submitCommentThread
|
|
90
|
+
*/
|
|
91
|
+
export type UISubmitCommentThreadEvent = {
|
|
92
|
+
name: 'submitCommentThread';
|
|
93
|
+
args: [];
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Fired when a user performed an action that should lead to removing the comment thread.
|
|
97
|
+
*
|
|
98
|
+
* This event is not fired by default by any component created by `BaseCommentThreadView`.
|
|
99
|
+
* If you create a view class extending `BaseCommentThreadView`, you should provide
|
|
100
|
+
* a UI element that will fire this event.
|
|
101
|
+
*
|
|
102
|
+
* This event is fired by default when an empty comment thread view (with no comments)
|
|
103
|
+
* loses focus.
|
|
104
|
+
*
|
|
105
|
+
* @eventName ~BaseCommentThreadView#removeCommentThread
|
|
106
|
+
*/
|
|
107
|
+
export type UIRemoveCommentThreadEvent = {
|
|
108
|
+
name: 'removeCommentThread';
|
|
109
|
+
args: [];
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Fired when a user performed an action that should lead to resolve the comment thread.
|
|
113
|
+
*
|
|
114
|
+
* @eventName ~BaseCommentThreadView#resolveCommentThread
|
|
115
|
+
*/
|
|
116
|
+
export type UIResolveCommentThreadEvent = {
|
|
117
|
+
name: 'resolveCommentThread';
|
|
118
|
+
args: [id: string];
|
|
119
|
+
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b6c=['_createCommentThreadInputView','Comment','showInput','resolveCommentThread','isActive','removeCommentThread','focus','editorConfig','listenTo','reopenCommentThread','addComment','bind','placeholder','length','stop','locale','editorReady','isReadOnly','canComment','Reply','fire','unlinkedAt','submitLabel','_config','Write\x20a\x20comment...','CommentView','isResolvable','Reply\x20to\x20reopen\x20discussion...','hasDirtyComment','set','_localUser','commentThreadHeaderView','value','editorDestroyed','_model','disabledSubmit','commentThreadInputView','element','delegate','commentsListView','archivedAt','change:isActive','isDirty','commentInputView','removeComment','destroy','cancel','isUnlinked'];(function(_0xee3074,_0x1b6cb9){const _0x5c2374=function(_0xdbab66){while(--_0xdbab66){_0xee3074['push'](_0xee3074['shift']());}};_0x5c2374(++_0x1b6cb9);}(_0x1b6c,0xa2));const _0x5c23=function(_0xee3074,_0x1b6cb9){_0xee3074=_0xee3074-0x0;let _0x5c2374=_0x1b6c[_0xee3074];return _0x5c2374;};import{View as _0x4044a1}from'ckeditor5/src/ui';import _0x47a6fe from'./commentthreadinputview';import _0x19ac68 from'./commentslistview';import _0x1bf516 from'./commentthreadheaderview';import{getTranslation as _0x3a447b}from'../../../utils/common-translations';export default class Tt extends _0x4044a1{constructor(_0x303ac1,_0x10e5c0,_0x53e414,_0x42f783){super(_0x303ac1),this[_0x5c23('0xb')](_0x5c23('0x22'),!0x1),this[_0x5c23('0xb')]('isDirty',!0x1),this['_model']=_0x10e5c0,this['_localUser']=_0x53e414,this[_0x5c23('0x5')]=_0x42f783,this[_0x5c23('0xd')]=new _0x1bf516(_0x303ac1,_0x10e5c0),this['commentThreadHeaderView']['delegate'](_0x5c23('0x27'))['to'](this),this[_0x5c23('0x26')](this,_0x5c23('0x27'),()=>{this[_0x5c23('0x24')]();}),this[_0x5c23('0x15')]=new _0x19ac68(_0x303ac1,_0x10e5c0,Object['assign']({'CommentView':this[_0x5c23('0x5')][_0x5c23('0x7')]},_0x42f783)),this['commentsListView'][_0x5c23('0x14')](_0x5c23('0x1a'))['to'](this),this['commentsListView'][_0x5c23('0x14')]('updateComment')['to'](this),this['commentsListView'][_0x5c23('0x14')](_0x5c23('0x21'))['to'](this),this[_0x5c23('0x15')][_0x5c23('0x14')](_0x5c23('0x2e'))['to'](this),this['commentsListView']['delegate'](_0x5c23('0xf'))['to'](this),this[_0x5c23('0x15')][_0x5c23('0x29')](_0x5c23('0x22'))['to'](this),this[_0x5c23('0x26')](this,_0x5c23('0x21'),()=>{this[_0x5c23('0x24')]();}),this[_0x5c23('0xb')](_0x5c23('0x2b'),this[_0x5c23('0x15')]['length']),this[_0x5c23('0x29')]('length')['to'](this[_0x5c23('0x15')],_0x5c23('0x2b')),this[_0x5c23('0x12')]=this[_0x5c23('0x1e')](),this[_0x5c23('0x12')]['delegate']('editorReady')['to'](this),this['commentThreadInputView'][_0x5c23('0x14')](_0x5c23('0xf'))['to'](this),this['on']('removeComment',()=>this[_0x5c23('0x24')]()),this[_0x5c23('0x29')]('isDirty')['to'](this[_0x5c23('0x15')],_0x5c23('0xa'),this['commentThreadInputView'][_0x5c23('0x19')],_0x5c23('0xe'),(_0x3e7135,_0x2a95e8)=>_0x3e7135||!!_0x2a95e8),this[_0x5c23('0x29')](_0x5c23('0x1d'))['to'](_0x10e5c0,_0x5c23('0x3'),_0x26fe4c=>!!_0x26fe4c);}[_0x5c23('0x24')](){this[_0x5c23('0x13')][_0x5c23('0x24')]();}async['destroy'](){this[_0x5c23('0x18')]=!0x1,this[_0x5c23('0x15')][_0x5c23('0x1b')](),await this['commentThreadInputView'][_0x5c23('0x1b')](),super[_0x5c23('0x1b')]();}[_0x5c23('0x1e')](){const _0x51bebd=new _0x47a6fe(this[_0x5c23('0x2d')],this[_0x5c23('0xc')],this[_0x5c23('0x5')][_0x5c23('0x25')]),_0x536da3=_0x51bebd[_0x5c23('0x19')];return _0x51bebd[_0x5c23('0x29')](_0x5c23('0x20'))['to'](this,_0x5c23('0x22'),this[_0x5c23('0x10')],_0x5c23('0x2f'),this[_0x5c23('0x10')],_0x5c23('0x0'),this['_model'],_0x5c23('0x16'),_0x536da3,'value',(_0x5d2cc6,_0x5a42bd,_0x45ee1a,_0x5e91ce,_0x3c40b0)=>!!_0x3c40b0||!!_0x5e91ce&&_0x45ee1a&&!_0x5a42bd||_0x5d2cc6&&_0x45ee1a&&!_0x5a42bd),_0x536da3[_0x5c23('0x29')](_0x5c23('0x2a'))['to'](this,_0x5c23('0x2b'),this['_model'],_0x5c23('0x8'),this[_0x5c23('0x10')],'isResolved',(_0x1b4b8d,_0x4b26f1,_0x107fc6)=>{let _0x3a446a;return _0x3a446a=_0x107fc6&&_0x4b26f1?_0x5c23('0x9'):_0x1b4b8d?'Reply...':_0x5c23('0x6'),_0x3a447b(this[_0x5c23('0x2d')],_0x3a446a);}),_0x536da3[_0x5c23('0x29')](_0x5c23('0x4'))['to'](this,_0x5c23('0x2b'),_0x5ed5c=>_0x3a447b(this[_0x5c23('0x2d')],_0x5ed5c?_0x5c23('0x1'):_0x5c23('0x1f'))),_0x536da3['on']('submit',(_0x5876fa,_0x15b011)=>{this['fire'](_0x5c23('0x28'),_0x15b011),this['_model']['isResolved']&&this[_0x5c23('0x10')]['isResolvable']&&this[_0x5c23('0x2')]('reopenCommentThread',this['_model']['id']),this[_0x5c23('0x10')]['isSubmitted']||this[_0x5c23('0x2')]('submitCommentThread');}),_0x536da3['on'](_0x5c23('0x1c'),()=>{this[_0x5c23('0x24')]();}),_0x536da3[_0x5c23('0x29')](_0x5c23('0x11'))['to'](this[_0x5c23('0x10')],'isReadOnly'),_0x536da3['on'](_0x5c23('0x1c'),_0x1423f5=>{0x0==this[_0x5c23('0x2b')]&&(this[_0x5c23('0x2')](_0x5c23('0x23')),_0x1423f5[_0x5c23('0x2c')]());}),this['on'](_0x5c23('0x17'),(_0x410219,_0x5e1c38,_0x529346)=>{_0x529346||this[_0x5c23('0x2b')]||_0x536da3['value']||this['fire'](_0x5c23('0x23'));}),_0x51bebd;}}
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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
|
-
* @module comments/comments/ui/view/basecommentview
|
|
7
|
-
* @publicApi
|
|
8
|
-
*/
|
|
9
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui';
|
|
10
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
11
|
-
import type { Comment } from '../../commentsrepository';
|
|
12
|
-
import type { CommentViewConfig } from '../../../config';
|
|
13
|
-
/**
|
|
14
|
-
* An abstract comment view class that should be used as a base for comment view implementations.
|
|
15
|
-
*
|
|
16
|
-
* It provides some behaviors, flags and building blocks to use when creating a custom comment view class.
|
|
17
|
-
*/
|
|
18
|
-
export default class BaseCommentView extends View {
|
|
19
|
-
locale: Locale;
|
|
20
|
-
/**
|
|
21
|
-
* Informs whether the comment view is in the editing mode.
|
|
22
|
-
*
|
|
23
|
-
* @observable
|
|
24
|
-
*/
|
|
25
|
-
isEditMode: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Flag indicating whether the comment view displays an actual comment (`false`) or is a system message (`true`).
|
|
28
|
-
* System message comment should not include any UI elements which allow for editing the comment as it is not an actual comment.
|
|
29
|
-
*
|
|
30
|
-
* @readonly
|
|
31
|
-
*/
|
|
32
|
-
isSystemComment: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Stores the currently displayed sub-view.
|
|
35
|
-
*
|
|
36
|
-
* This is a collection that always includes one view: comment content view or comment input view.
|
|
37
|
-
* Depending whether the comment is in editing mode or not, one of the views is in the collection.
|
|
38
|
-
* When the comment mode changes, the content of this collection also changes.
|
|
39
|
-
*
|
|
40
|
-
* By default, the comment is in the "content mode" and this view collection stores the comment content view.
|
|
41
|
-
*/
|
|
42
|
-
readonly visibleView: ViewCollection;
|
|
43
|
-
/**
|
|
44
|
-
* @param locale The localization service instance.
|
|
45
|
-
* @param model The model on which the view will base.
|
|
46
|
-
* @param config Additional view configuration.
|
|
47
|
-
*/
|
|
48
|
-
constructor(locale: Locale, model: Comment, config: CommentViewConfig);
|
|
49
|
-
/**
|
|
50
|
-
* Expands the view.
|
|
51
|
-
*/
|
|
52
|
-
expand(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Collapses the view.
|
|
55
|
-
*/
|
|
56
|
-
collapse(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Focuses the view.
|
|
59
|
-
*/
|
|
60
|
-
focus(): void;
|
|
61
|
-
/**
|
|
62
|
-
* @inheritDoc
|
|
63
|
-
*/
|
|
64
|
-
destroy(): Promise<void>;
|
|
65
|
-
/**
|
|
66
|
-
* Switches the comment to the editing mode.
|
|
67
|
-
*/
|
|
68
|
-
switchToEditMode(): void;
|
|
69
|
-
/**
|
|
70
|
-
* Switches the comment back from the editing mode to the content display mode.
|
|
71
|
-
*/
|
|
72
|
-
switchToDisplayMode(): void;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Fired when a user performed an action that should lead to creating a new comment in the comment thread.
|
|
76
|
-
*
|
|
77
|
-
* This event is fired by default when the comment input field of the comment thread is submitted.
|
|
78
|
-
*
|
|
79
|
-
* @eventName ~BaseCommentView#addComment
|
|
80
|
-
* @param content The content of the new comment.
|
|
81
|
-
*/
|
|
82
|
-
export type UIAddCommentEvent = {
|
|
83
|
-
name: 'addComment';
|
|
84
|
-
args: [content: string];
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Fired when a user performed an action that should lead to updating the comment content.
|
|
88
|
-
*
|
|
89
|
-
* This event is fired by default when the comment input field of a comment is submitted.
|
|
90
|
-
*
|
|
91
|
-
* @param commentId The ID of the updated comment.
|
|
92
|
-
* @param commentContent The updated comment content.
|
|
93
|
-
* @eventName ~BaseCommentView#updateComment
|
|
94
|
-
*/
|
|
95
|
-
export type UIUpdateCommentEvent = {
|
|
96
|
-
name: 'updateComment';
|
|
97
|
-
args: [commentId: string, commentContent: string];
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Fired when a user performed an action that should lead to removing a comment.
|
|
101
|
-
*
|
|
102
|
-
* This event is not fired by default by any component created by {@link module:comments/comments/ui/view/basecommentview~BaseCommentView}.
|
|
103
|
-
* If you create a view class extending {@link module:comments/comments/ui/view/basecommentview~BaseCommentView} you should provide
|
|
104
|
-
* a UI element that will fire this event.
|
|
105
|
-
*
|
|
106
|
-
* @param commentId The ID of the removed comment.
|
|
107
|
-
* @eventName ~BaseCommentView#removeComment
|
|
108
|
-
*/
|
|
109
|
-
export type UIRemoveCommentEvent = {
|
|
110
|
-
name: 'removeComment';
|
|
111
|
-
args: [commentId: string];
|
|
112
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
* @module comments/comments/ui/view/basecommentview
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { View, type ViewCollection } from 'ckeditor5/src/ui';
|
|
10
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
11
|
+
import type { Comment } from '../../commentsrepository';
|
|
12
|
+
import type { CommentViewConfig } from '../../../config';
|
|
13
|
+
/**
|
|
14
|
+
* An abstract comment view class that should be used as a base for comment view implementations.
|
|
15
|
+
*
|
|
16
|
+
* It provides some behaviors, flags and building blocks to use when creating a custom comment view class.
|
|
17
|
+
*/
|
|
18
|
+
export default class BaseCommentView extends View {
|
|
19
|
+
locale: Locale;
|
|
20
|
+
/**
|
|
21
|
+
* Informs whether the comment view is in the editing mode.
|
|
22
|
+
*
|
|
23
|
+
* @observable
|
|
24
|
+
*/
|
|
25
|
+
isEditMode: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Flag indicating whether the comment view displays an actual comment (`false`) or is a system message (`true`).
|
|
28
|
+
* System message comment should not include any UI elements which allow for editing the comment as it is not an actual comment.
|
|
29
|
+
*
|
|
30
|
+
* @readonly
|
|
31
|
+
*/
|
|
32
|
+
isSystemComment: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Stores the currently displayed sub-view.
|
|
35
|
+
*
|
|
36
|
+
* This is a collection that always includes one view: comment content view or comment input view.
|
|
37
|
+
* Depending whether the comment is in editing mode or not, one of the views is in the collection.
|
|
38
|
+
* When the comment mode changes, the content of this collection also changes.
|
|
39
|
+
*
|
|
40
|
+
* By default, the comment is in the "content mode" and this view collection stores the comment content view.
|
|
41
|
+
*/
|
|
42
|
+
readonly visibleView: ViewCollection;
|
|
43
|
+
/**
|
|
44
|
+
* @param locale The localization service instance.
|
|
45
|
+
* @param model The model on which the view will base.
|
|
46
|
+
* @param config Additional view configuration.
|
|
47
|
+
*/
|
|
48
|
+
constructor(locale: Locale, model: Comment, config: CommentViewConfig);
|
|
49
|
+
/**
|
|
50
|
+
* Expands the view.
|
|
51
|
+
*/
|
|
52
|
+
expand(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Collapses the view.
|
|
55
|
+
*/
|
|
56
|
+
collapse(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Focuses the view.
|
|
59
|
+
*/
|
|
60
|
+
focus(): void;
|
|
61
|
+
/**
|
|
62
|
+
* @inheritDoc
|
|
63
|
+
*/
|
|
64
|
+
destroy(): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Switches the comment to the editing mode.
|
|
67
|
+
*/
|
|
68
|
+
switchToEditMode(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Switches the comment back from the editing mode to the content display mode.
|
|
71
|
+
*/
|
|
72
|
+
switchToDisplayMode(): void;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Fired when a user performed an action that should lead to creating a new comment in the comment thread.
|
|
76
|
+
*
|
|
77
|
+
* This event is fired by default when the comment input field of the comment thread is submitted.
|
|
78
|
+
*
|
|
79
|
+
* @eventName ~BaseCommentView#addComment
|
|
80
|
+
* @param content The content of the new comment.
|
|
81
|
+
*/
|
|
82
|
+
export type UIAddCommentEvent = {
|
|
83
|
+
name: 'addComment';
|
|
84
|
+
args: [content: string];
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Fired when a user performed an action that should lead to updating the comment content.
|
|
88
|
+
*
|
|
89
|
+
* This event is fired by default when the comment input field of a comment is submitted.
|
|
90
|
+
*
|
|
91
|
+
* @param commentId The ID of the updated comment.
|
|
92
|
+
* @param commentContent The updated comment content.
|
|
93
|
+
* @eventName ~BaseCommentView#updateComment
|
|
94
|
+
*/
|
|
95
|
+
export type UIUpdateCommentEvent = {
|
|
96
|
+
name: 'updateComment';
|
|
97
|
+
args: [commentId: string, commentContent: string];
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Fired when a user performed an action that should lead to removing a comment.
|
|
101
|
+
*
|
|
102
|
+
* This event is not fired by default by any component created by {@link module:comments/comments/ui/view/basecommentview~BaseCommentView}.
|
|
103
|
+
* If you create a view class extending {@link module:comments/comments/ui/view/basecommentview~BaseCommentView} you should provide
|
|
104
|
+
* a UI element that will fire this event.
|
|
105
|
+
*
|
|
106
|
+
* @param commentId The ID of the removed comment.
|
|
107
|
+
* @eventName ~BaseCommentView#removeComment
|
|
108
|
+
*/
|
|
109
|
+
export type UIRemoveCommentEvent = {
|
|
110
|
+
name: 'removeComment';
|
|
111
|
+
args: [commentId: string];
|
|
112
|
+
};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b9d=['content','destroy','visibleView','add','focus','locale','editorDestroyed','set','isReadOnly','_model','createCollection','updateComment','collapse','submit','isEditMode','editorReady','_config','cancel','value','isCollapsed','isSystemComment','bind','fire','editorConfig','get','_createCommentInputView','switchToEditMode','createEditor','disabledSubmit','maxCommentCharsWhenCollapsed','delegate','element','_createCommentContentView','remove','Save','switchToDisplayMode','expand'];(function(_0x59c774,_0x5b9de8){const _0x238a3e=function(_0x4b86d8){while(--_0x4b86d8){_0x59c774['push'](_0x59c774['shift']());}};_0x238a3e(++_0x5b9de8);}(_0x5b9d,0x1dd));const _0x238a=function(_0x59c774,_0x5b9de8){_0x59c774=_0x59c774-0x0;let _0x238a3e=_0x5b9d[_0x59c774];return _0x238a3e;};import{View as _0x3b0ed9}from'ckeditor5/src/ui';import{trimHtml as _0x21531d}from'ckeditor5-collaboration/src/collaboration-core';import _0x31fb72 from'./commentcontentview';import _0x2dc584 from'./commentinputview';import{getTranslation as _0x49642d}from'../../../utils/common-translations';export default class Yt extends _0x3b0ed9{constructor(_0x4552f8,_0x3f88ed,_0x21c089){super(_0x4552f8),this[_0x238a('0xd')]=_0x3f88ed,this[_0x238a('0x14')]=_0x21c089,this[_0x238a('0x18')]=!!this[_0x238a('0x14')]['isSystemComment'],this[_0x238a('0xb')]('isEditMode',!0x1),this[_0x238a('0xb')]('isCollapsed',!0x0),this['visibleView']=this[_0x238a('0xe')](),this['visibleView'][_0x238a('0x7')](this[_0x238a('0x24')]());}[_0x238a('0x3')](){this[_0x238a('0x17')]=!0x1;}[_0x238a('0x10')](){this['isEditMode']||(this['isCollapsed']=!0x0);}[_0x238a('0x8')](){this[_0x238a('0x23')][_0x238a('0x8')]();}async[_0x238a('0x5')](){await this[_0x238a('0x6')][_0x238a('0x1c')](0x0)[_0x238a('0x5')](),super[_0x238a('0x5')]();}[_0x238a('0x1e')](){this[_0x238a('0x12')]||(this['isEditMode']=!0x0,this[_0x238a('0x6')][_0x238a('0x0')](0x0)[_0x238a('0x5')](),this[_0x238a('0x6')][_0x238a('0x7')](this[_0x238a('0x1d')]()));}[_0x238a('0x2')](){this['isEditMode']&&(this[_0x238a('0x12')]=!0x1,this[_0x238a('0x6')][_0x238a('0x0')](0x0)[_0x238a('0x5')](),this[_0x238a('0x6')][_0x238a('0x7')](this[_0x238a('0x24')]()));}[_0x238a('0x24')](){const _0x5ec9d0=new _0x31fb72(this[_0x238a('0x9')]);return _0x5ec9d0[_0x238a('0x19')](_0x238a('0x4'))['to'](this[_0x238a('0xd')],_0x238a('0x4'),this,'isCollapsed',(_0x11acaf,_0x39e40a)=>_0x39e40a?_0x21531d(_0x11acaf,{'limit':this[_0x238a('0x14')][_0x238a('0x21')]}):_0x11acaf),_0x5ec9d0;}[_0x238a('0x1d')](){this['_config'][_0x238a('0x1b')]||(this['_config'][_0x238a('0x1b')]={}),this['_config'][_0x238a('0x1b')]['initialData']=this[_0x238a('0xd')][_0x238a('0x4')];const _0x59f1c0=new _0x2dc584(this[_0x238a('0x9')],this[_0x238a('0x14')][_0x238a('0x1b')]);return _0x59f1c0[_0x238a('0x16')]=this[_0x238a('0xd')][_0x238a('0x4')],_0x59f1c0[_0x238a('0x19')](_0x238a('0x20'))['to'](this[_0x238a('0xd')],_0x238a('0xc')),_0x59f1c0['submitLabel']=_0x49642d(this['locale'],_0x238a('0x1')),_0x59f1c0['on'](_0x238a('0x11'),(_0x2e0233,_0x48e319)=>{this[_0x238a('0x1a')](_0x238a('0xf'),this['_model']['id'],_0x48e319),this[_0x238a('0x2')](),this[_0x238a('0x8')]();}),_0x59f1c0['on'](_0x238a('0x15'),()=>{this[_0x238a('0x2')](),this[_0x238a('0x8')]();}),_0x59f1c0['once'](_0x238a('0x13'),()=>{_0x59f1c0[_0x238a('0x8')]();}),_0x59f1c0[_0x238a('0x1f')](),_0x59f1c0['delegate'](_0x238a('0x13'))['to'](this),_0x59f1c0[_0x238a('0x22')](_0x238a('0xa'))['to'](this),_0x59f1c0;}}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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
|
-
* @module comments/comments/ui/view/collapsedcommentsview
|
|
7
|
-
*/
|
|
8
|
-
import { View } from 'ckeditor5/src/ui';
|
|
9
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
export default class CollapsedCommentsView extends View {
|
|
11
|
-
count: number | undefined;
|
|
12
|
-
constructor(locale: Locale);
|
|
13
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
* @module comments/comments/ui/view/collapsedcommentsview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
export default class CollapsedCommentsView extends View {
|
|
11
|
+
count: number | undefined;
|
|
12
|
+
constructor(locale: Locale);
|
|
13
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1099=['ck-thread__comment-count','set','count','bindTemplate'];(function(_0x1bedd6,_0x10996b){const _0xba9f1a=function(_0x3bd25f){while(--_0x3bd25f){_0x1bedd6['push'](_0x1bedd6['shift']());}};_0xba9f1a(++_0x10996b);}(_0x1099,0xd9));const _0xba9f=function(_0x1bedd6,_0x10996b){_0x1bedd6=_0x1bedd6-0x0;let _0xba9f1a=_0x1099[_0x1bedd6];return _0xba9f1a;};import{View as _0x42856c}from'ckeditor5/src/ui';import{getTranslation as _0x1d556f}from'../../../utils/common-translations';export default class Zt extends _0x42856c{constructor(_0xd158e2){super(_0xd158e2);const _0x4633aa=this[_0xba9f('0x2')];this[_0xba9f('0x0')](_0xba9f('0x1'),void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':_0xba9f('0x3')},'children':[{'text':_0x4633aa['to'](_0xba9f('0x1'),_0x4604a7=>_0x1d556f(_0xd158e2,'NUMBER_OF_COMMENTS',_0x4604a7))}]});}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, 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
|
-
* @module comments/comments/ui/view/commentcontentview
|
|
7
|
-
*/
|
|
8
|
-
import { View } from 'ckeditor5/src/ui';
|
|
9
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
export default class CommentContentView extends View {
|
|
11
|
-
content: string;
|
|
12
|
-
constructor(locale: Locale);
|
|
13
|
-
render(): void;
|
|
14
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, 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
|
+
* @module comments/comments/ui/view/commentcontentview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
export default class CommentContentView extends View {
|
|
11
|
+
content: string;
|
|
12
|
+
constructor(locale: Locale);
|
|
13
|
+
render(): void;
|
|
14
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x49a9=['render','set','content','innerHTML','ck-comment__content','setTemplate','change:content','element','ck-annotation__content'];(function(_0x5caf58,_0x49a96a){var _0x3fe726=function(_0x3eede3){while(--_0x3eede3){_0x5caf58['push'](_0x5caf58['shift']());}};_0x3fe726(++_0x49a96a);}(_0x49a9,0x1e9));var _0x3fe7=function(_0x5caf58,_0x49a96a){_0x5caf58=_0x5caf58-0x0;var _0x3fe726=_0x49a9[_0x5caf58];return _0x3fe726;};import{View as _0x2120c4}from'ckeditor5/src/ui';export default class Ut extends _0x2120c4{constructor(_0x150bbe){super(_0x150bbe),this[_0x3fe7('0x7')](_0x3fe7('0x8'),''),this[_0x3fe7('0x2')]({'tag':'div','attributes':{'class':[_0x3fe7('0x1'),_0x3fe7('0x5')]}});}['render'](){super[_0x3fe7('0x6')](),this['on'](_0x3fe7('0x3'),(_0x1bf29f,_0x91ac6e,_0xff661)=>{this[_0x3fe7('0x4')][_0x3fe7('0x0')]=_0xff661;}),this[_0x3fe7('0x4')]['innerHTML']=this[_0x3fe7('0x8')];}}
|