@ckeditor/ckeditor5-real-time-collaboration 38.1.1 → 38.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/package.json +7 -6
- package/src/augmentation.d.ts +61 -61
- package/src/common-translations.d.ts +5 -5
- package/src/common-translations.js +1 -1
- package/src/config.d.ts +33 -33
- package/src/index.d.ts +10 -10
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.d.ts +39 -39
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.d.ts +7 -7
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +7 -7
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.d.ts +6 -6
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +14 -14
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.d.ts +7 -7
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.d.ts +11 -11
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.d.ts +24 -24
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +44 -44
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.d.ts +32 -32
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +123 -123
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.d.ts +114 -114
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.d.ts +32 -32
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +51 -51
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.d.ts +22 -22
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +41 -41
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.d.ts +25 -25
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +35 -35
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.d.ts +23 -23
- package/src/realtimecollaborativetrackchanges.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "38.
|
|
3
|
+
"version": "38.2.0-alpha.1",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
"framework"
|
|
30
30
|
],
|
|
31
31
|
"main": "src/index.js",
|
|
32
|
+
"type": "module",
|
|
32
33
|
"files": [
|
|
33
34
|
"build",
|
|
34
35
|
"lang",
|
|
@@ -39,11 +40,11 @@
|
|
|
39
40
|
"CHANGELOG.md"
|
|
40
41
|
],
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-cloud-services": "38.
|
|
43
|
-
"@ckeditor/ckeditor-cloud-services-collaboration": "50.0.0",
|
|
44
|
-
"@ckeditor/ckeditor5-operations-compressor": "38.
|
|
45
|
-
"ckeditor5": "38.
|
|
46
|
-
"ckeditor5-collaboration": "38.
|
|
43
|
+
"@ckeditor/ckeditor5-cloud-services": "38.2.0-alpha.1",
|
|
44
|
+
"@ckeditor/ckeditor-cloud-services-collaboration": "50.1.0-alpha.0",
|
|
45
|
+
"@ckeditor/ckeditor5-operations-compressor": "38.2.0-alpha.1",
|
|
46
|
+
"ckeditor5": "38.2.0-alpha.1",
|
|
47
|
+
"ckeditor5-collaboration": "38.2.0-alpha.1",
|
|
47
48
|
"lodash-es": "^4.17.11"
|
|
48
49
|
},
|
|
49
50
|
"engines": {
|
package/src/augmentation.d.ts
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import '@ckeditor/ckeditor5-cloud-services';
|
|
2
|
-
import type { PresenceListConfig } from './config';
|
|
3
|
-
import type { RealTimeCollaborationClient } from './index';
|
|
4
|
-
declare module '@ckeditor/ckeditor5-core' {
|
|
5
|
-
interface EditorConfig {
|
|
6
|
-
presenceList?: PresenceListConfig;
|
|
7
|
-
}
|
|
8
|
-
interface PluginsMap {
|
|
9
|
-
[RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
declare module '@ckeditor/ckeditor5-cloud-services' {
|
|
13
|
-
interface CloudServicesConfig {
|
|
14
|
-
/**
|
|
15
|
-
* The timeout (in seconds) for the connection. Defaults to 10.
|
|
16
|
-
*
|
|
17
|
-
* If the connection will not be established after the specified number of second passes, the editor will throw an error.
|
|
18
|
-
*
|
|
19
|
-
* Raise this value if you are experiencing connection timeout problems.
|
|
20
|
-
*
|
|
21
|
-
* ```ts
|
|
22
|
-
* ClassicEditor
|
|
23
|
-
* .create( {
|
|
24
|
-
* cloudServices: {
|
|
25
|
-
* connectionTimeout: 20,
|
|
26
|
-
* // ...
|
|
27
|
-
* }
|
|
28
|
-
* } )
|
|
29
|
-
* .then( ... )
|
|
30
|
-
* .catch( ... );
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
connectionTimeout?: number;
|
|
34
|
-
/**
|
|
35
|
-
* The timeout (in seconds) for each request send to the Cloud Services. Defaults to 20.
|
|
36
|
-
*
|
|
37
|
-
* If the request is not finished after the specified number of second passes, the editor will throw an error.
|
|
38
|
-
*
|
|
39
|
-
* Raise this value if you expect that your requests will be big
|
|
40
|
-
* (e.g. mostly concerns the document data and the initial request).
|
|
41
|
-
*
|
|
42
|
-
* ```ts
|
|
43
|
-
* ClassicEditor
|
|
44
|
-
* .create( {
|
|
45
|
-
* cloudServices: {
|
|
46
|
-
* requestTimeout: 40,
|
|
47
|
-
* // ...
|
|
48
|
-
* }
|
|
49
|
-
* } )
|
|
50
|
-
* .then( ... )
|
|
51
|
-
* .catch( ... );
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
requestTimeout?: number;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
declare module 'ckeditor5-collaboration
|
|
58
|
-
interface User {
|
|
59
|
-
orderNumber?: number;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
1
|
+
import '@ckeditor/ckeditor5-cloud-services';
|
|
2
|
+
import type { PresenceListConfig } from './config.js';
|
|
3
|
+
import type { RealTimeCollaborationClient } from './index.js';
|
|
4
|
+
declare module '@ckeditor/ckeditor5-core' {
|
|
5
|
+
interface EditorConfig {
|
|
6
|
+
presenceList?: PresenceListConfig;
|
|
7
|
+
}
|
|
8
|
+
interface PluginsMap {
|
|
9
|
+
[RealTimeCollaborationClient.pluginName]: RealTimeCollaborationClient;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
declare module '@ckeditor/ckeditor5-cloud-services' {
|
|
13
|
+
interface CloudServicesConfig {
|
|
14
|
+
/**
|
|
15
|
+
* The timeout (in seconds) for the connection. Defaults to 10.
|
|
16
|
+
*
|
|
17
|
+
* If the connection will not be established after the specified number of second passes, the editor will throw an error.
|
|
18
|
+
*
|
|
19
|
+
* Raise this value if you are experiencing connection timeout problems.
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* ClassicEditor
|
|
23
|
+
* .create( {
|
|
24
|
+
* cloudServices: {
|
|
25
|
+
* connectionTimeout: 20,
|
|
26
|
+
* // ...
|
|
27
|
+
* }
|
|
28
|
+
* } )
|
|
29
|
+
* .then( ... )
|
|
30
|
+
* .catch( ... );
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
connectionTimeout?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The timeout (in seconds) for each request send to the Cloud Services. Defaults to 20.
|
|
36
|
+
*
|
|
37
|
+
* If the request is not finished after the specified number of second passes, the editor will throw an error.
|
|
38
|
+
*
|
|
39
|
+
* Raise this value if you expect that your requests will be big
|
|
40
|
+
* (e.g. mostly concerns the document data and the initial request).
|
|
41
|
+
*
|
|
42
|
+
* ```ts
|
|
43
|
+
* ClassicEditor
|
|
44
|
+
* .create( {
|
|
45
|
+
* cloudServices: {
|
|
46
|
+
* requestTimeout: 40,
|
|
47
|
+
* // ...
|
|
48
|
+
* }
|
|
49
|
+
* } )
|
|
50
|
+
* .then( ... )
|
|
51
|
+
* .catch( ... );
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
requestTimeout?: number;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
declare module 'ckeditor5-collaboration' {
|
|
58
|
+
interface User {
|
|
59
|
+
orderNumber?: number;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module real-time-collaboration/common-translations
|
|
3
|
-
*/
|
|
4
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
5
|
-
export declare function getTranslation(locale: Locale, id: string, values?: Array<string> | number): string;
|
|
1
|
+
/**
|
|
2
|
+
* @module real-time-collaboration/common-translations
|
|
3
|
+
*/
|
|
4
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
5
|
+
export declare function getTranslation(locale: Locale, id: string, values?: Array<string> | number): string;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x44ebb7,_0x235b90,_0x58fd4a){const t=_0x44ebb7['t'];switch(_0x235b90){case'PENDING_ACTION_SENDING_DATA':return t({'string':'Sending\x20data\x20to\x20the\x20server.','id':'PENDING_ACTION_SENDING_DATA'});case'The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.':return t('The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.');case'Synchronization\x20issue':return t('Synchronization\x20issue');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'CONNECTED_USERS':return t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x58fd4a);default:return'';}}
|
package/src/config.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import type { User } from 'ckeditor5-collaboration
|
|
2
|
-
/**
|
|
3
|
-
* @module real-time-collaboration/config
|
|
4
|
-
* @publicApi
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* The configuration of the real-time collaboration features.
|
|
8
|
-
*
|
|
9
|
-
* ```ts
|
|
10
|
-
* ClassicEditor
|
|
11
|
-
* .create( {
|
|
12
|
-
* presenceList: ... // Collaboration presence list configuration.
|
|
13
|
-
* } )
|
|
14
|
-
* .then( ... )
|
|
15
|
-
* .catch( ... );
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
19
|
-
*/
|
|
20
|
-
export interface PresenceListConfig {
|
|
21
|
-
/**
|
|
22
|
-
* The number of users that need to be connected in order to switch the presence list to the dropdown view.
|
|
23
|
-
*/
|
|
24
|
-
collapseAt?: number;
|
|
25
|
-
/**
|
|
26
|
-
* DOM element that will hold the feature’s UI.
|
|
27
|
-
*/
|
|
28
|
-
container?: HTMLElement;
|
|
29
|
-
/**
|
|
30
|
-
* Callback function that will be invoked after a click on a presence list member.
|
|
31
|
-
*/
|
|
32
|
-
onClick?: (user: User, element: HTMLElement) => void;
|
|
33
|
-
}
|
|
1
|
+
import type { User } from 'ckeditor5-collaboration';
|
|
2
|
+
/**
|
|
3
|
+
* @module real-time-collaboration/config
|
|
4
|
+
* @publicApi
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The configuration of the real-time collaboration features.
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* ClassicEditor
|
|
11
|
+
* .create( {
|
|
12
|
+
* presenceList: ... // Collaboration presence list configuration.
|
|
13
|
+
* } )
|
|
14
|
+
* .then( ... )
|
|
15
|
+
* .catch( ... );
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
|
|
19
|
+
*/
|
|
20
|
+
export interface PresenceListConfig {
|
|
21
|
+
/**
|
|
22
|
+
* The number of users that need to be connected in order to switch the presence list to the dropdown view.
|
|
23
|
+
*/
|
|
24
|
+
collapseAt?: number;
|
|
25
|
+
/**
|
|
26
|
+
* DOM element that will hold the feature’s UI.
|
|
27
|
+
*/
|
|
28
|
+
container?: HTMLElement;
|
|
29
|
+
/**
|
|
30
|
+
* Callback function that will be invoked after a click on a presence list member.
|
|
31
|
+
*/
|
|
32
|
+
onClick?: (user: User, element: HTMLElement) => void;
|
|
33
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting';
|
|
2
|
-
export { default as RealTimeCollaborativeTrackChanges } from './realtimecollaborativetrackchanges';
|
|
3
|
-
export { default as RealTimeCollaborativeComments } from './realtimecollaborativecomments';
|
|
4
|
-
export { default as RealTimeCollaborativeRevisionHistory } from './realtimecollaborativerevisionhistory';
|
|
5
|
-
export { default as CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter';
|
|
6
|
-
export { default as CloudServicesTrackChangesAdapter } from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';
|
|
7
|
-
export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';
|
|
8
|
-
export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient';
|
|
9
|
-
export { default as PresenceList } from './presencelist';
|
|
10
|
-
import './augmentation';
|
|
1
|
+
export { default as RealTimeCollaborativeEditing } from './realtimecollaborativeediting.js';
|
|
2
|
+
export { default as RealTimeCollaborativeTrackChanges } from './realtimecollaborativetrackchanges.js';
|
|
3
|
+
export { default as RealTimeCollaborativeComments } from './realtimecollaborativecomments.js';
|
|
4
|
+
export { default as RealTimeCollaborativeRevisionHistory } from './realtimecollaborativerevisionhistory.js';
|
|
5
|
+
export { default as CloudServicesCommentsAdapter } from './realtimecollaborativecomments/cloudservicescommentsadapter.js';
|
|
6
|
+
export { default as CloudServicesTrackChangesAdapter } from './realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';
|
|
7
|
+
export { default as CloudServicesRevisionHistoryAdapter } from './realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';
|
|
8
|
+
export { default as RealTimeCollaborationClient } from './realtimecollaborativeediting/realtimecollaborationclient.js';
|
|
9
|
+
export { default as PresenceList } from './presencelist.js';
|
|
10
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient';export{default as PresenceList}from'./presencelist';import'./augmentation';
|
|
23
|
+
export{default as RealTimeCollaborativeEditing}from'./realtimecollaborativeediting.js';export{default as RealTimeCollaborativeTrackChanges}from'./realtimecollaborativetrackchanges.js';export{default as RealTimeCollaborativeComments}from'./realtimecollaborativecomments.js';export{default as RealTimeCollaborativeRevisionHistory}from'./realtimecollaborativerevisionhistory.js';export{default as CloudServicesCommentsAdapter}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';export{default as CloudServicesTrackChangesAdapter}from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';export{default as CloudServicesRevisionHistoryAdapter}from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';export{default as RealTimeCollaborationClient}from'./realtimecollaborativeediting/realtimecollaborationclient.js';export{default as PresenceList}from'./presencelist.js';import'./augmentation.js';
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core';
|
|
2
|
-
import { Collection } from 'ckeditor5/src/utils';
|
|
3
|
-
import { BodyCollection, BalloonPanelView } from 'ckeditor5/src/ui';
|
|
4
|
-
import Sessions from '../realtimecollaborativeediting/sessions';
|
|
5
|
-
import PresenceListView from './view/presencelistview';
|
|
6
|
-
import PresenceDropdownListView from './view/presencedropdownlistview';
|
|
7
|
-
import type { User } from 'ckeditor5-collaboration
|
|
8
|
-
export default class PresenceListUI extends ContextPlugin {
|
|
9
|
-
usersCount: number;
|
|
10
|
-
lastConnectedUsers: Collection<User>;
|
|
11
|
-
balloonPanelView: BalloonPanelView;
|
|
12
|
-
view: PresenceListView;
|
|
13
|
-
presenceDropdownView: PresenceDropdownListView | undefined;
|
|
14
|
-
bodyCollection: BodyCollection;
|
|
15
|
-
/**
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
constructor(context: Context | Editor);
|
|
19
|
-
/**
|
|
20
|
-
* @inheritDoc
|
|
21
|
-
*/
|
|
22
|
-
static get requires(): readonly [typeof Sessions];
|
|
23
|
-
/**
|
|
24
|
-
* @inheritDoc
|
|
25
|
-
*/
|
|
26
|
-
init(): void;
|
|
27
|
-
/**
|
|
28
|
-
* Creates and shows dropdown list with all connected users.
|
|
29
|
-
*/
|
|
30
|
-
showDropdown(): void;
|
|
31
|
-
/**
|
|
32
|
-
* Hides and destroys dropdown list with all connected users.
|
|
33
|
-
*/
|
|
34
|
-
hideDropdown(): void;
|
|
35
|
-
/**
|
|
36
|
-
* @inheritDoc
|
|
37
|
-
*/
|
|
38
|
-
destroy(): void;
|
|
39
|
-
}
|
|
1
|
+
import { ContextPlugin, type Context, type Editor } from 'ckeditor5/src/core.js';
|
|
2
|
+
import { Collection } from 'ckeditor5/src/utils.js';
|
|
3
|
+
import { BodyCollection, BalloonPanelView } from 'ckeditor5/src/ui.js';
|
|
4
|
+
import Sessions from '../realtimecollaborativeediting/sessions.js';
|
|
5
|
+
import PresenceListView from './view/presencelistview.js';
|
|
6
|
+
import PresenceDropdownListView from './view/presencedropdownlistview.js';
|
|
7
|
+
import type { User } from 'ckeditor5-collaboration';
|
|
8
|
+
export default class PresenceListUI extends ContextPlugin {
|
|
9
|
+
usersCount: number;
|
|
10
|
+
lastConnectedUsers: Collection<User>;
|
|
11
|
+
balloonPanelView: BalloonPanelView;
|
|
12
|
+
view: PresenceListView;
|
|
13
|
+
presenceDropdownView: PresenceDropdownListView | undefined;
|
|
14
|
+
bodyCollection: BodyCollection;
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
constructor(context: Context | Editor);
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get requires(): readonly [typeof Sessions];
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
init(): void;
|
|
27
|
+
/**
|
|
28
|
+
* Creates and shows dropdown list with all connected users.
|
|
29
|
+
*/
|
|
30
|
+
showDropdown(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Hides and destroys dropdown list with all connected users.
|
|
33
|
+
*/
|
|
34
|
+
hideDropdown(): void;
|
|
35
|
+
/**
|
|
36
|
+
* @inheritDoc
|
|
37
|
+
*/
|
|
38
|
+
destroy(): void;
|
|
39
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17d0=['onClick','isRendered','remove','reverse','showDropdown','bind','inlineListView','usersCount','bodyCollection','detachFromDom','isCollapsed','bindTo','presencelist-collapseat-invalid-format','context','locale','plugins','allConnectedUsers','presencelist-missing-container','_allConnectedUsers','appendChild','items','get','pin','_createView','_handleUserRemove','presenceDropdownView','element','presenceList.collapseAt','listenTo','hideDropdown','execute','attachToDom','add','balloonPanelView','render','requires','content','using','config','view','number','presenceList.container','length','_handleUserAdd','isVisible','set','lastConnectedUsers','define','destroy'];(function(_0x25c763,_0x17d030){const _0x11d65e=function(_0x2c0c62){while(--_0x2c0c62){_0x25c763['push'](_0x25c763['shift']());}};_0x11d65e(++_0x17d030);}(_0x17d0,0x102));const _0x11d6=function(_0x25c763,_0x17d030){_0x25c763=_0x25c763-0x0;let _0x11d65e=_0x17d0[_0x25c763];return _0x11d65e;};import{ContextPlugin as _0x2f8e2b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3f8533,Collection as _0x5991f2}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x460a41,BodyCollection as _0x247b54,BalloonPanelView as _0x245594}from'ckeditor5/src/ui.js';import{isElement as _0x3d8b4d}from'lodash-es';import _0xabf03 from'../realtimecollaborativeediting/sessions.js';import _0x53749d from'./view/presencelistview.js';import _0x477481 from'./view/presencedropdownlistview.js';import _0x23225f from'./view/presencedropdownlistitemview.js';import _0x58e09e from'./view/presenceinlinelistitemview.js';export default class s extends _0x2f8e2b{constructor(_0x5f5100){super(_0x5f5100),this[_0x11d6('0x0')][_0x11d6('0x19')][_0x11d6('0x22')]('presenceList',{'collapseAt':0x6});const _0x2458d2=_0x5f5100['config'][_0x11d6('0x8')](_0x11d6('0xe'));if(_0x11d6('0x1b')!=typeof _0x2458d2)throw new _0x3f8533('presencelist-collapseat-invalid-format',this);if(_0x2458d2<0x1)throw new _0x3f8533(_0x11d6('0x30'),this);this['_allConnectedUsers']=this[_0x11d6('0x0')][_0x11d6('0x2')]['get'](_0xabf03)[_0x11d6('0x3')],this[_0x11d6('0x20')](_0x11d6('0x2b'),0x0),this[_0x11d6('0x21')]=new _0x5991f2(),this[_0x11d6('0x14')]=new _0x245594(),this[_0x11d6('0x14')]['class']='ck\x20ck-presence-list__balloon',this[_0x11d6('0x1a')]=this['_createView'](),this[_0x11d6('0xc')]=void 0x0;}static get[_0x11d6('0x16')](){return[_0xabf03];}['init'](){for(const _0x3b1851 of this[_0x11d6('0x5')])this[_0x11d6('0x1e')](_0x3b1851);this[_0x11d6('0xf')](this[_0x11d6('0x5')],_0x11d6('0x13'),(_0x30c997,_0x267d14)=>{this[_0x11d6('0x1e')](_0x267d14);}),this[_0x11d6('0xf')](this['_allConnectedUsers'],_0x11d6('0x26'),(_0x48c1fc,_0x212b01)=>{this[_0x11d6('0xb')](_0x212b01);});}[_0x11d6('0xa')](){const _0x31789f=this['context'],_0x635995=new _0x53749d(this[_0x11d6('0x0')]['locale']),_0x207322=this[_0x11d6('0x14')];if(!_0x3d8b4d(_0x31789f[_0x11d6('0x19')][_0x11d6('0x8')](_0x11d6('0x1c'))))throw new _0x3f8533(_0x11d6('0x4'),this);return _0x635995['counterView']['bind'](_0x11d6('0x2b'))['to'](this),_0x635995['bind'](_0x11d6('0x2e'))['to'](this,_0x11d6('0x2b'),_0x3ca09e=>{const _0x20cd1a=_0x3ca09e>=_0x31789f[_0x11d6('0x19')][_0x11d6('0x8')](_0x11d6('0xe'));return _0x635995['counterView']['isHidden']=!(0x1==_0x3ca09e||_0x20cd1a),_0x20cd1a||this[_0x11d6('0x10')](),_0x20cd1a;}),_0x635995['inlineListView'][_0x11d6('0x7')]['bindTo'](this['lastConnectedUsers'])[_0x11d6('0x18')](_0x5a03ca=>{const _0x37a2f2=_0x31789f['config'][_0x11d6('0x8')]('presenceList'),_0x12cca8=new _0x58e09e(_0x31789f['locale'],_0x5a03ca,!!_0x37a2f2[_0x11d6('0x24')]);return _0x12cca8[_0x11d6('0x29')]('hasTooltip')['to'](_0x635995,_0x11d6('0x2e'),_0x4aa2a1=>!_0x4aa2a1),_0x37a2f2[_0x11d6('0x24')]&&this[_0x11d6('0xf')](_0x12cca8,'execute',()=>{this[_0x11d6('0x1a')][_0x11d6('0x2e')]||_0x37a2f2[_0x11d6('0x24')](_0x5a03ca,_0x12cca8['element']);}),_0x12cca8;}),this[_0x11d6('0xf')](_0x635995['inlineListView'],_0x11d6('0x11'),()=>{this['presenceDropdownView']?this['hideDropdown']():this[_0x11d6('0x1a')][_0x11d6('0x2e')]&&this[_0x11d6('0x28')]();}),_0x635995[_0x11d6('0x15')](),_0x207322[_0x11d6('0x15')](),_0x460a41({'emitter':_0x635995,'activator':()=>_0x207322[_0x11d6('0x1f')],'contextElements':[_0x207322[_0x11d6('0xd')],_0x635995['inlineListView'][_0x11d6('0xd')]],'callback':()=>this[_0x11d6('0x10')]()}),_0x31789f['config'][_0x11d6('0x8')]('presenceList.container')[_0x11d6('0x6')](_0x635995[_0x11d6('0xd')]),this['bodyCollection']=new _0x247b54(this[_0x11d6('0x0')]['locale']),this['bodyCollection'][_0x11d6('0x12')](),this['bodyCollection'][_0x11d6('0x13')](_0x207322),_0x635995;}[_0x11d6('0x1e')](_0x15a530){this[_0x11d6('0x2b')]++,0x5==this['lastConnectedUsers']['length']&&this['lastConnectedUsers']['remove'](0x0),this['lastConnectedUsers'][_0x11d6('0x13')](_0x15a530);}[_0x11d6('0xb')](_0x4b5c17){if(this[_0x11d6('0x2b')]--,this[_0x11d6('0x21')][_0x11d6('0x8')](_0x4b5c17['id'])&&(this[_0x11d6('0x21')][_0x11d6('0x26')](_0x4b5c17['id']),this['lastConnectedUsers'][_0x11d6('0x1d')]<this[_0x11d6('0x2b')]))for(const _0x380e8e of Array['from'](this['_allConnectedUsers'])[_0x11d6('0x27')]())if(!this['lastConnectedUsers'][_0x11d6('0x8')](_0x380e8e['id']))return void this[_0x11d6('0x21')][_0x11d6('0x13')](_0x380e8e,0x0);}['showDropdown'](){if(this[_0x11d6('0xc')])return;this[_0x11d6('0xc')]=new _0x477481(this[_0x11d6('0x0')]['locale']);const _0x2bc970=this[_0x11d6('0x0')][_0x11d6('0x19')][_0x11d6('0x8')]('presenceList');this['presenceDropdownView'][_0x11d6('0x7')][_0x11d6('0x2f')](this[_0x11d6('0x5')])[_0x11d6('0x18')](_0x3f44fb=>{const _0x446c77=new _0x23225f(this[_0x11d6('0x0')][_0x11d6('0x1')],_0x3f44fb,!!_0x2bc970[_0x11d6('0x24')]);return _0x2bc970[_0x11d6('0x24')]&&this[_0x11d6('0xf')](_0x446c77,_0x11d6('0x11'),()=>{_0x2bc970[_0x11d6('0x24')](_0x3f44fb,_0x446c77[_0x11d6('0xd')]);}),_0x446c77;}),this[_0x11d6('0x14')]['content'][_0x11d6('0x13')](this['presenceDropdownView']),this[_0x11d6('0x14')][_0x11d6('0x9')]({'target':this[_0x11d6('0x1a')][_0x11d6('0x2a')][_0x11d6('0xd')]});}[_0x11d6('0x10')](){this[_0x11d6('0xc')]&&(this[_0x11d6('0x14')]['unpin'](),this[_0x11d6('0x14')][_0x11d6('0x17')][_0x11d6('0x26')](this[_0x11d6('0xc')]),this[_0x11d6('0xc')][_0x11d6('0x23')](),this['presenceDropdownView']=void 0x0);}[_0x11d6('0x23')](){super['destroy'](),this[_0x11d6('0x1a')]&&this['view'][_0x11d6('0x25')]&&this[_0x11d6('0x1a')][_0x11d6('0x23')](),this['bodyCollection']&&this[_0x11d6('0x2c')][_0x11d6('0x2d')]();}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { View } from 'ckeditor5/src/ui';
|
|
2
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
3
|
-
export default class PresenceCounterView extends View {
|
|
4
|
-
usersCount: number;
|
|
5
|
-
isHidden: boolean;
|
|
6
|
-
constructor(locale: Locale);
|
|
7
|
-
}
|
|
1
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
2
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
3
|
+
export default class PresenceCounterView extends View {
|
|
4
|
+
usersCount: number;
|
|
5
|
+
isHidden: boolean;
|
|
6
|
+
constructor(locale: Locale);
|
|
7
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5449=['ck-presence-list__counter--hidden','isHidden','setTemplate','set','usersCount','div','ck-presence-list__counter'];(function(_0xec88b2,_0x544930){const _0x1a28c6=function(_0x108441){while(--_0x108441){_0xec88b2['push'](_0xec88b2['shift']());}};_0x1a28c6(++_0x544930);}(_0x5449,0xa2));const _0x1a28=function(_0xec88b2,_0x544930){_0xec88b2=_0xec88b2-0x0;let _0x1a28c6=_0x5449[_0xec88b2];return _0x1a28c6;};import{View as _0x4570cd}from'ckeditor5/src/ui.js';import{getTranslation as _0xd18fa7}from'../../common-translations.js';export default class ts extends _0x4570cd{constructor(_0x38b08){super(_0x38b08);const _0x4bd2d6=this['bindTemplate'];this[_0x1a28('0x2')](_0x1a28('0x3'),0x0),this['set']('isHidden',!0x0),this[_0x1a28('0x1')]({'tag':_0x1a28('0x4'),'attributes':{'class':['ck',_0x1a28('0x5'),_0x4bd2d6['if'](_0x1a28('0x0'),_0x1a28('0x6'))]},'children':[{'text':_0x4bd2d6['to'](_0x1a28('0x3'),_0x5f0a5d=>_0xd18fa7(_0x38b08,'CONNECTED_USERS',_0x5f0a5d))}]});}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { View } from 'ckeditor5/src/ui';
|
|
2
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
3
|
-
import { UserView, type User } from 'ckeditor5-collaboration
|
|
4
|
-
export default class PresenceDropdownListItemView extends View {
|
|
5
|
-
userView: UserView;
|
|
6
|
-
constructor(locale: Locale, user: User, isButton: boolean);
|
|
7
|
-
}
|
|
1
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
2
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
3
|
+
import { UserView, type User } from 'ckeditor5-collaboration';
|
|
4
|
+
export default class PresenceDropdownListItemView extends View {
|
|
5
|
+
userView: UserView;
|
|
6
|
+
constructor(locale: Locale, user: User, isButton: boolean);
|
|
7
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5189=['ck-user__full-name','bindTemplate','getBackgroundColorClass','setTemplate','execute','name','div','span','fire','button','true','tag','color','userView','ck-presence-list__marker'];(function(_0x43b514,_0x51894f){const _0x1606f0=function(_0x40be0b){while(--_0x40be0b){_0x43b514['push'](_0x43b514['shift']());}};_0x1606f0(++_0x51894f);}(_0x5189,0x180));const _0x1606=function(_0x43b514,_0x51894f){_0x43b514=_0x43b514-0x0;let _0x1606f0=_0x5189[_0x43b514];return _0x1606f0;};import{View as _0x499339}from'ckeditor5/src/ui.js';import{UserView as _0x4a6e27}from'ckeditor5-collaboration';export default class A extends _0x499339{constructor(_0x5f36d2,_0x343523,_0x558fdb){super(_0x5f36d2);const _0x389ec5=this[_0x1606('0x7')];this[_0x1606('0x4')]=new _0x4a6e27(_0x5f36d2,_0x343523);const _0x3cff21={'tag':_0x1606('0xc'),'attributes':{'class':['ck','ck-presence-list__dropdown-list-item']},'children':[this[_0x1606('0x4')],{'tag':_0x1606('0xd'),'attributes':{'class':['ck',_0x1606('0x6')]},'children':[{'text':_0x343523[_0x1606('0xb')]}]},{'tag':_0x1606('0xd'),'attributes':{'class':['ck',_0x1606('0x5'),_0x343523[_0x1606('0x3')][_0x1606('0x8')]()],'aria-hidden':_0x1606('0x1')}}]};_0x558fdb&&(_0x3cff21[_0x1606('0x2')]=_0x1606('0x0'),_0x3cff21['on']={'click':_0x389ec5['to'](()=>this[_0x1606('0xe')](_0x1606('0xa')))}),this[_0x1606('0x9')](_0x3cff21);}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui';
|
|
2
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
3
|
-
export default class PresenceDropdownListView extends View {
|
|
4
|
-
items: ViewCollection;
|
|
5
|
-
constructor(locale: Locale);
|
|
6
|
-
}
|
|
1
|
+
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
2
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
3
|
+
export default class PresenceDropdownListView extends View {
|
|
4
|
+
items: ViewCollection;
|
|
5
|
+
constructor(locale: Locale);
|
|
6
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3521=['setTemplate','ck-presence-list__dropdown-list-wrapper','items','createCollection','div'];(function(_0xd20a97,_0x35217e){var _0x39d3cd=function(_0x365d84){while(--_0x365d84){_0xd20a97['push'](_0xd20a97['shift']());}};_0x39d3cd(++_0x35217e);}(_0x3521,0x9b));var _0x39d3=function(_0xd20a97,_0x35217e){_0xd20a97=_0xd20a97-0x0;var _0x39d3cd=_0x3521[_0xd20a97];return _0x39d3cd;};import{View as _0x10ccf0}from'ckeditor5/src/ui.js';export default class x extends _0x10ccf0{constructor(_0x5a7e0a){super(_0x5a7e0a),this['items']=this[_0x39d3('0x3')](),this[_0x39d3('0x0')]({'tag':_0x39d3('0x4'),'attributes':{'class':['ck','ck-presence-list__dropdown-list']},'children':[{'tag':_0x39d3('0x4'),'attributes':{'class':['ck',_0x39d3('0x1')]},'children':this[_0x39d3('0x2')]}]});}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { View } from 'ckeditor5/src/ui';
|
|
2
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
3
|
-
import { UserView, type User } from 'ckeditor5-collaboration
|
|
4
|
-
export default class PresenceInlineListItemView extends View {
|
|
5
|
-
hasTooltip: boolean;
|
|
6
|
-
tooltipPosition: string;
|
|
7
|
-
userView: UserView;
|
|
8
|
-
markerView: MarkerView;
|
|
9
|
-
constructor(locale: Locale, user: User, isButton: boolean);
|
|
10
|
-
}
|
|
11
|
-
declare class MarkerView extends View {
|
|
12
|
-
constructor(locale: Locale, user: User);
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
1
|
+
import { View } from 'ckeditor5/src/ui.js';
|
|
2
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
3
|
+
import { UserView, type User } from 'ckeditor5-collaboration';
|
|
4
|
+
export default class PresenceInlineListItemView extends View {
|
|
5
|
+
hasTooltip: boolean;
|
|
6
|
+
tooltipPosition: string;
|
|
7
|
+
userView: UserView;
|
|
8
|
+
markerView: MarkerView;
|
|
9
|
+
constructor(locale: Locale, user: User, isButton: boolean);
|
|
10
|
+
}
|
|
11
|
+
declare class MarkerView extends View {
|
|
12
|
+
constructor(locale: Locale, user: User);
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xeda1=['ck-presence-list__list-item__tooltip','execute','div','ck-presence-list__list-item','userView','button','tag','color','hasTooltip','setTemplate','name','fire','getBackgroundColorClass','true','tooltipPosition','span','bindTemplate'];(function(_0x4da66e,_0xeda112){const _0x54c32a=function(_0x3b63e1){while(--_0x3b63e1){_0x4da66e['push'](_0x4da66e['shift']());}};_0x54c32a(++_0xeda112);}(_0xeda1,0x1aa));const _0x54c3=function(_0x4da66e,_0xeda112){_0x4da66e=_0x4da66e-0x0;let _0x54c32a=_0xeda1[_0x4da66e];return _0x54c32a;};import{View as _0x5971eb}from'ckeditor5/src/ui.js';import{UserView as _0x54d591}from'ckeditor5-collaboration';export default class C extends _0x5971eb{constructor(_0x27bdc4,_0x4957d2,_0x2d4d8a){super(_0x27bdc4);const _0x5df8b5=this[_0x54c3('0xf')];this['set'](_0x54c3('0x7'),!0x0),this['set'](_0x54c3('0xd'),''),this[_0x54c3('0x3')]=new _0x54d591(_0x27bdc4,_0x4957d2),this['markerView']=new ot(_0x27bdc4,_0x4957d2);const _0x538554={'tag':_0x54c3('0x1'),'attributes':{'class':['ck',_0x54c3('0x2')],'data-cke-tooltip-text':this['userView'][_0x54c3('0x9')],'data-cke-tooltip-position':_0x5df8b5['to'](_0x54c3('0xd')),'data-cke-tooltip-disabled':_0x5df8b5['to'](_0x54c3('0x7'),_0x10a945=>!_0x10a945),'data-cke-tooltip-class':_0x54c3('0x10')},'children':[this['userView'],this['markerView']]};_0x2d4d8a&&(_0x538554[_0x54c3('0x5')]=_0x54c3('0x4'),_0x538554['on']={'click':_0x5df8b5['to'](()=>this[_0x54c3('0xa')](_0x54c3('0x0')))}),this[_0x54c3('0x8')](_0x538554);}}class ot extends _0x5971eb{constructor(_0x3559a8,_0x301173){super(_0x3559a8),this[_0x54c3('0x8')]({'tag':_0x54c3('0xe'),'attributes':{'class':['ck','ck-presence-list__marker',_0x301173[_0x54c3('0x6')][_0x54c3('0xb')]()],'aria-hidden':_0x54c3('0xc')}});}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { View, type ViewCollection } from 'ckeditor5/src/ui';
|
|
2
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
3
|
-
import type PresenceInlineListItemView from './presenceinlinelistitemview';
|
|
4
|
-
export default class PresenceInlineListView extends View {
|
|
5
|
-
items: ViewCollection<PresenceInlineListItemView>;
|
|
6
|
-
constructor(locale: Locale);
|
|
7
|
-
}
|
|
1
|
+
import { View, type ViewCollection } from 'ckeditor5/src/ui.js';
|
|
2
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
3
|
+
import type PresenceInlineListItemView from './presenceinlinelistitemview.js';
|
|
4
|
+
export default class PresenceInlineListView extends View {
|
|
5
|
+
items: ViewCollection<PresenceInlineListItemView>;
|
|
6
|
+
constructor(locale: Locale);
|
|
7
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x270f=['fire','setTemplate','items','execute','bindTemplate','ck-presence-list__list','div'];(function(_0x2e9303,_0x270fb6){const _0x128e7a=function(_0x339184){while(--_0x339184){_0x2e9303['push'](_0x2e9303['shift']());}};_0x128e7a(++_0x270fb6);}(_0x270f,0x127));const _0x128e=function(_0x2e9303,_0x270fb6){_0x2e9303=_0x2e9303-0x0;let _0x128e7a=_0x270f[_0x2e9303];return _0x128e7a;};import{View as _0x6c4bd0}from'ckeditor5/src/ui.js';export default class rt extends _0x6c4bd0{constructor(_0x45636e){super(_0x45636e),this[_0x128e('0x1')]=this['createCollection']();const _0x36a4b9=this[_0x128e('0x3')];this[_0x128e('0x0')]({'tag':_0x128e('0x5'),'attributes':{'class':['ck',_0x128e('0x4')]},'children':this['items'],'on':{'click':_0x36a4b9['to'](()=>this[_0x128e('0x6')](_0x128e('0x2')))}});}}
|