@ckeditor/ckeditor5-real-time-collaboration 31.1.0 → 32.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/LICENSE.md +2 -2
- package/README.md +2 -2
- package/lang/translations/cs.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +6 -6
- package/lang/translations/ko.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +7 -7
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +10 -9
- package/src/presencelist/presencelistui.js +2 -2
- package/src/presencelist/view/presencecounterview.js +2 -2
- package/src/presencelist/view/presencedropdownlistitemview.js +2 -2
- package/src/presencelist/view/presencedropdownlistview.js +2 -2
- package/src/presencelist/view/presenceinlinelistitemview.js +2 -2
- package/src/presencelist/view/presenceinlinelistview.js +2 -2
- package/src/presencelist/view/presencelistview.js +2 -2
- package/src/presencelist/view/tooltipview.js +2 -2
- package/src/presencelist.js +2 -2
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.js +2 -2
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +23 -0
- package/src/realtimecollaborativerevisionhistory.js +23 -0
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +2 -2
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
package/LICENSE.md
CHANGED
|
@@ -2,7 +2,7 @@ Software License Agreement
|
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
4
|
**CKEditor 5 real-time collaboration** (https://ckeditor.com/collaboration/real-time/)<br>
|
|
5
|
-
Copyright (c) 2003-2021, [CKSource](http://cksource.com)
|
|
5
|
+
Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
|
|
6
6
|
|
|
7
7
|
CKEditor 5 real-time collaboration features are licensed under a commercial license and are protected by copyright law.
|
|
8
8
|
For more details about available licensing options please contact us at sales@cksource.com.
|
|
@@ -26,4 +26,4 @@ The following libraries are included in CKEditor 5 operations compressor under t
|
|
|
26
26
|
Trademarks
|
|
27
27
|
----------
|
|
28
28
|
|
|
29
|
-
**CKEditor** is a trademark of [CKSource](http://cksource.com)
|
|
29
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/README.md
CHANGED
|
@@ -23,11 +23,11 @@ As a licensed CKEditor 5 real-time collaboration user you can report bugs and re
|
|
|
23
23
|
## License
|
|
24
24
|
|
|
25
25
|
**CKEditor 5 real-time collaboration features** (https://ckeditor.com/collaboration/real-time/)<br>
|
|
26
|
-
Copyright (c) 2003-2021, [CKSource](http://cksource.com)
|
|
26
|
+
Copyright (c) 2003-2021, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
|
|
27
27
|
|
|
28
28
|
CKEditor 5 real-time collaboration is licensed under a commercial license and is protected by copyright law.
|
|
29
29
|
For more details about available licensing options please contact us at sales@cksource.com.
|
|
30
30
|
|
|
31
31
|
### Trademarks
|
|
32
32
|
|
|
33
|
-
**CKEditor** is a trademark of [CKSource](http://cksource.com)
|
|
33
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/lang/translations/cs.po
CHANGED
package/lang/translations/de.po
CHANGED
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
package/lang/translations/et.po
CHANGED
package/lang/translations/fr.po
CHANGED
package/lang/translations/gl.po
CHANGED
package/lang/translations/hi.po
CHANGED
package/lang/translations/hr.po
CHANGED
package/lang/translations/hu.po
CHANGED
package/lang/translations/id.po
CHANGED
package/lang/translations/it.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -28,20 +28,20 @@ msgstr "Invio dei dati al server in corso."
|
|
|
28
28
|
|
|
29
29
|
msgctxt "The label for the synchronization issue message"
|
|
30
30
|
msgid "Synchronization issue"
|
|
31
|
-
msgstr ""
|
|
31
|
+
msgstr "Problema di sincronizzazione"
|
|
32
32
|
|
|
33
33
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
34
34
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "Il documento non può essere ricollegato al server. Per non perdere il contenuto, salvarlo in locale e aggiornare l'editor."
|
|
36
36
|
|
|
37
37
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
38
38
|
msgid "The document details could not be taken during the reconnection. To not lose your content save it locally and refresh the editor."
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "Non è stato possibile ottenere i dettagli del documento durante la riconnessione. Per non perdere il contenuto, salvarlo in locale e aggiornare l'editor."
|
|
40
40
|
|
|
41
41
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
42
42
|
msgid "The last saved version of the document does not match the local version. To not lose your content save it locally and refresh the editor."
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "L'ultima versione del documento salvata non corrisponde alla versione locale. Per non perdere il contenuto, salvarlo in locale e aggiornare l'editor."
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The local document and server document differ and merging them can cause unexpected behavior. To not lose your content save it locally and refresh the editor."
|
|
47
|
-
msgstr ""
|
|
47
|
+
msgstr "Il documento locale e il documento del server sono diversi e la loro unione può causare comportamenti imprevisti. Per non perdere il contenuto, salvarlo in locale e aggiornare l'editor."
|
package/lang/translations/ko.po
CHANGED
package/lang/translations/nl.po
CHANGED
package/lang/translations/no.po
CHANGED
package/lang/translations/pl.po
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (c) 2003-
|
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# !!! IMPORTANT !!!
|
|
4
4
|
#
|
|
@@ -19,7 +19,7 @@ msgstr ""
|
|
|
19
19
|
msgctxt "The label for 1 or more connected users"
|
|
20
20
|
msgid "CONNECTED_USERS"
|
|
21
21
|
msgid_plural "%0 connected users"
|
|
22
|
-
msgstr[0] "1 usuário conectado"
|
|
22
|
+
msgstr[0] "1 usuário conectado (eu)"
|
|
23
23
|
msgstr[1] "%0 usuários conectados"
|
|
24
24
|
|
|
25
25
|
msgctxt "The label for an alert shown when closing th editor with data not send to the server "
|
|
@@ -28,20 +28,20 @@ msgstr "Enviando dados para o servidor"
|
|
|
28
28
|
|
|
29
29
|
msgctxt "The label for the synchronization issue message"
|
|
30
30
|
msgid "Synchronization issue"
|
|
31
|
-
msgstr ""
|
|
31
|
+
msgstr "Problema de sicronização"
|
|
32
32
|
|
|
33
33
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
34
34
|
msgid "The document cannot be connected back to the server. To not lose your content save it locally and refresh the editor."
|
|
35
|
-
msgstr ""
|
|
35
|
+
msgstr "O documento não pode ser conectado de volta ao servidor. Para não perder seu conteúdo salve-o localmente e atualize o editor."
|
|
36
36
|
|
|
37
37
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
38
38
|
msgid "The document details could not be taken during the reconnection. To not lose your content save it locally and refresh the editor."
|
|
39
|
-
msgstr ""
|
|
39
|
+
msgstr "Os detalhes do documento não puderam ser obtidos durante a reconexão. Para não perder seu conteúdo salve-o localmente e atualize o editor."
|
|
40
40
|
|
|
41
41
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
42
42
|
msgid "The last saved version of the document does not match the local version. To not lose your content save it locally and refresh the editor."
|
|
43
|
-
msgstr ""
|
|
43
|
+
msgstr "A última versão salva deste documento não confere com a versão local. Para não perder seu conteúdo salve-o localmente e atualize o editor."
|
|
44
44
|
|
|
45
45
|
msgctxt "The message shown when the client cannot rejoin the collaboration session"
|
|
46
46
|
msgid "The local document and server document differ and merging them can cause unexpected behavior. To not lose your content save it locally and refresh the editor."
|
|
47
|
-
msgstr ""
|
|
47
|
+
msgstr "O documento local e o documento do servidor diferem e mesclá-los pode causar um comportamento inesperado. Para não perder seu conteúdo salve-o localmente e atualize o editor."
|
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/tk.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.0",
|
|
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/)",
|
|
@@ -26,14 +26,15 @@
|
|
|
26
26
|
"framework"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ckeditor/ckeditor-cloud-services-collaboration": "^
|
|
30
|
-
"@ckeditor/ckeditor5-collaboration-core": "^
|
|
31
|
-
"@ckeditor/ckeditor5-cloud-services": "^
|
|
32
|
-
"@ckeditor/ckeditor5-comments": "^
|
|
33
|
-
"@ckeditor/ckeditor5-engine": "^
|
|
34
|
-
"@ckeditor/ckeditor5-operations-compressor": "^
|
|
35
|
-
"@ckeditor/ckeditor5-track-changes": "^
|
|
36
|
-
"ckeditor5": "^
|
|
29
|
+
"@ckeditor/ckeditor-cloud-services-collaboration": "^28.0.0",
|
|
30
|
+
"@ckeditor/ckeditor5-collaboration-core": "^32.0.0",
|
|
31
|
+
"@ckeditor/ckeditor5-cloud-services": "^32.0.0",
|
|
32
|
+
"@ckeditor/ckeditor5-comments": "^32.0.0",
|
|
33
|
+
"@ckeditor/ckeditor5-engine": "^32.0.0",
|
|
34
|
+
"@ckeditor/ckeditor5-operations-compressor": "^32.0.0",
|
|
35
|
+
"@ckeditor/ckeditor5-track-changes": "^32.0.0",
|
|
36
|
+
"@ckeditor/ckeditor5-revision-history": "^32.0.0",
|
|
37
|
+
"ckeditor5": "^32.0.0",
|
|
37
38
|
"lodash-es": "^4.17.11"
|
|
38
39
|
}
|
|
39
40
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11fd=['render','isVisible','_handleUserAdd','bindTo','context','lastConnectedUsers','define','bind','presencelist-missing-container','presenceDropdownView','set','locale','destroy','get','presenceList.container','remove','class','content','_allConnectedUsers','counterView','init','items','detachFromDom','requires','presenceList','isRendered','bodyCollection','element','showDropdown','balloonPanelView','view','hideDropdown','inlineListView','allConnectedUsers','execute','_handleUserRemove','presencelist-collapseat-invalid-format','length','config','onClick','from','using','listenTo','presenceList.collapseAt','add','usersCount'];(function(_0x145f04,_0x11fdab){const _0x2963f6=function(_0x4ebc02){while(--_0x4ebc02){_0x145f04['push'](_0x145f04['shift']());}};_0x2963f6(++_0x11fdab);}(_0x11fd,0xb9));const _0x2963=function(_0x145f04,_0x11fdab){_0x145f04=_0x145f04-0x0;let _0x2963f6=_0x11fd[_0x145f04];return _0x2963f6;};import{ContextPlugin as _0x5ab993}from'ckeditor5/src/core';import{CKEditorError as _0x1e10bb,Collection as _0x1acac4}from'ckeditor5/src/utils';import{clickOutsideHandler as _0x32a4dc,BodyCollection as _0x1ba666,BalloonPanelView as _0x427f79}from'ckeditor5/src/ui';import{isElement as _0xdc51a5}from'lodash-es';import _0x23034b from'../realtimecollaborativeediting/sessions';import _0xac8ef3 from'./view/presencelistview';import _0x23b5e5 from'./view/presencedropdownlistview';import _0x37b870 from'./view/presencedropdownlistitemview';import _0x45004f from'./view/presenceinlinelistitemview';export default class i extends _0x5ab993{constructor(_0x3ce565){super(_0x3ce565),_0x3ce565[_0x2963('0x25')][_0x2963('0x5')](_0x2963('0x17'),{'collapseAt':0x6});const _0x5aa34e=_0x3ce565[_0x2963('0x25')][_0x2963('0xc')](_0x2963('0x2a'));if('number'!=typeof _0x5aa34e)throw new _0x1e10bb(_0x2963('0x23'),this);if(_0x5aa34e<0x1)throw new _0x1e10bb(_0x2963('0x23'),this);}static get[_0x2963('0x16')](){return[_0x23034b];}[_0x2963('0x13')](){const _0x1928c2=this[_0x2963('0x3')];this[_0x2963('0x11')]=_0x1928c2['plugins']['get'](_0x23034b)[_0x2963('0x20')],this[_0x2963('0x9')]('usersCount',0x0),this[_0x2963('0x4')]=new _0x1acac4(),this['balloonPanelView']=new _0x427f79(),this[_0x2963('0x1c')][_0x2963('0xf')]='ck\x20ck-presence-list__balloon',this[_0x2963('0x1d')]=this['_createView'](),this['presenceDropdownView']=void 0x0;for(const _0x19b460 of this[_0x2963('0x11')])this[_0x2963('0x1')](_0x19b460);this['listenTo'](this[_0x2963('0x11')],_0x2963('0x2b'),(_0x4f9437,_0x39a18d)=>{this['_handleUserAdd'](_0x39a18d);}),this[_0x2963('0x29')](this['_allConnectedUsers'],_0x2963('0xe'),(_0x4e367f,_0x520179)=>{this[_0x2963('0x22')](_0x520179);});}['_createView'](){const _0x5ee4f4=this[_0x2963('0x3')],_0x79a386=new _0xac8ef3(this['context'][_0x2963('0xa')]),_0xfb4c75=this[_0x2963('0x1c')];if(!_0xdc51a5(_0x5ee4f4[_0x2963('0x25')]['get'](_0x2963('0xd'))))throw new _0x1e10bb(_0x2963('0x7'),this);return _0x79a386['counterView']['bind']('usersCount')['to'](this),_0x79a386[_0x2963('0x6')]('isCollapsed')['to'](this,_0x2963('0x2c'),_0x1369d6=>{const _0x171caf=_0x1369d6>=_0x5ee4f4['config'][_0x2963('0xc')](_0x2963('0x2a'));return _0x79a386[_0x2963('0x12')]['isHidden']=!(0x1==_0x1369d6||_0x171caf),_0x171caf||this[_0x2963('0x1e')](),_0x171caf;}),_0x79a386['inlineListView'][_0x2963('0x14')][_0x2963('0x2')](this[_0x2963('0x4')])[_0x2963('0x28')](_0x420773=>{const _0x1cd6a4=_0x5ee4f4[_0x2963('0x25')][_0x2963('0xc')](_0x2963('0x17')),_0x3a638f=new _0x45004f(_0x5ee4f4[_0x2963('0xa')],_0x420773,_0x1cd6a4[_0x2963('0x26')]);return _0x1cd6a4[_0x2963('0x26')]&&this['listenTo'](_0x3a638f,_0x2963('0x21'),()=>{this[_0x2963('0x1d')]['isCollapsed']||_0x1cd6a4['onClick'](_0x420773,_0x3a638f[_0x2963('0x1a')]);}),_0x3a638f;}),this[_0x2963('0x29')](_0x79a386[_0x2963('0x1f')],_0x2963('0x21'),()=>{this[_0x2963('0x8')]?this[_0x2963('0x1e')]():this['view']['isCollapsed']&&this['showDropdown']();}),_0x79a386[_0x2963('0x2d')](),_0xfb4c75[_0x2963('0x2d')](),_0x32a4dc({'emitter':_0x79a386,'activator':()=>_0xfb4c75[_0x2963('0x0')],'contextElements':[_0xfb4c75['element'],_0x79a386['inlineListView']['element']],'callback':()=>this[_0x2963('0x1e')]()}),_0x5ee4f4[_0x2963('0x25')][_0x2963('0xc')](_0x2963('0xd'))['appendChild'](_0x79a386['element']),this[_0x2963('0x19')]=new _0x1ba666(this[_0x2963('0x3')][_0x2963('0xa')]),this['bodyCollection']['attachToDom'](),this[_0x2963('0x19')]['add'](_0xfb4c75),_0x79a386;}[_0x2963('0x1')](_0x4de184){this['usersCount']++,0x5==this[_0x2963('0x4')][_0x2963('0x24')]&&this['lastConnectedUsers'][_0x2963('0xe')](0x0),this[_0x2963('0x4')][_0x2963('0x2b')](_0x4de184);}[_0x2963('0x22')](_0x420b07){if(this[_0x2963('0x2c')]--,this['lastConnectedUsers'][_0x2963('0xc')](_0x420b07['id'])&&(this['lastConnectedUsers'][_0x2963('0xe')](_0x420b07['id']),this['lastConnectedUsers'][_0x2963('0x24')]<this[_0x2963('0x2c')]))for(const _0x4fd51b of Array[_0x2963('0x27')](this[_0x2963('0x11')])['reverse']())if(!this['lastConnectedUsers']['get'](_0x4fd51b['id']))return void this['lastConnectedUsers'][_0x2963('0x2b')](_0x4fd51b,0x0);}[_0x2963('0x1b')](){if(this['presenceDropdownView'])return;this[_0x2963('0x8')]=new _0x23b5e5();const _0x5bcd7b=this[_0x2963('0x3')]['config'][_0x2963('0xc')](_0x2963('0x17'));this[_0x2963('0x8')][_0x2963('0x14')][_0x2963('0x2')](this[_0x2963('0x11')])[_0x2963('0x28')](_0xee205b=>{const _0x9b1d18=new _0x37b870(this['context'][_0x2963('0xa')],_0xee205b,!!_0x5bcd7b[_0x2963('0x26')]);return _0x5bcd7b['onClick']&&this[_0x2963('0x29')](_0x9b1d18,_0x2963('0x21'),()=>{_0x5bcd7b[_0x2963('0x26')](_0xee205b,_0x9b1d18[_0x2963('0x1a')]);}),_0x9b1d18;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this[_0x2963('0x1c')]['pin']({'target':this[_0x2963('0x1d')][_0x2963('0x1f')][_0x2963('0x1a')]});}[_0x2963('0x1e')](){this[_0x2963('0x8')]&&(this['balloonPanelView']['unpin'](),this[_0x2963('0x1c')][_0x2963('0x10')]['remove'](this[_0x2963('0x8')]),this[_0x2963('0x8')][_0x2963('0xb')](),this[_0x2963('0x8')]=void 0x0);}[_0x2963('0xb')](){super[_0x2963('0xb')](),this['view']&&this['view'][_0x2963('0x18')]&&this[_0x2963('0x1d')]['destroy'](),this[_0x2963('0x19')]&&this[_0x2963('0x19')][_0x2963('0x15')]();}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{View as
|
|
23
|
+
import{View as _0x2682c1}from'ckeditor5/src/ui';export default class ce extends _0x2682c1{constructor(_0x2e8bee){super(_0x2e8bee);const {t:t}=_0x2e8bee,_0x4eed4f=this['bindTemplate'];this['set']('usersCount',0x0),this['set']('isHidden',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__counter',_0x4eed4f['if']('isHidden','ck-presence-list__counter--hidden')]},'children':[{'text':_0x4eed4f['to']('usersCount',_0x5850bc=>t({'string':'1\x20connected\x20user\x20(me)','plural':'%0\x20connected\x20users','id':'CONNECTED_USERS'},_0x5850bc))}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf20e=['span','fire','ck-user__full-name','setTemplate','tag','userView','name','color','true','getBackgroundColorClass','ck-presence-list__dropdown-list-item','bindTemplate'];(function(_0x1c081b,_0xf20ebe){const _0x1838b5=function(_0x26b3af){while(--_0x26b3af){_0x1c081b['push'](_0x1c081b['shift']());}};_0x1838b5(++_0xf20ebe);}(_0xf20e,0xd9));const _0x1838=function(_0x1c081b,_0xf20ebe){_0x1c081b=_0x1c081b-0x0;let _0x1838b5=_0xf20e[_0x1c081b];return _0x1838b5;};import{View as _0x19451f}from'ckeditor5/src/ui';import _0x153329 from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';export default class U extends _0x19451f{constructor(_0x246efe,_0x2a7435,_0x32ecfe){super(_0x246efe);const _0x4a0867=this[_0x1838('0xa')];this[_0x1838('0x4')]=new _0x153329(_0x246efe,_0x2a7435);const _0x2504fc={'tag':'div','attributes':{'class':['ck',_0x1838('0x9')]},'children':[this[_0x1838('0x4')],{'tag':_0x1838('0xb'),'attributes':{'class':['ck',_0x1838('0x1')]},'children':[{'text':_0x2a7435[_0x1838('0x5')]}]},{'tag':_0x1838('0xb'),'attributes':{'class':['ck','ck-presence-list__marker',_0x2a7435[_0x1838('0x6')][_0x1838('0x8')]()],'aria-hidden':_0x1838('0x7')}}]};_0x32ecfe&&(_0x2504fc[_0x1838('0x3')]='button',_0x2504fc['on']={'click':_0x4a0867['to'](()=>this[_0x1838('0x0')]('execute'))}),this[_0x1838('0x2')](_0x2504fc);}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x491c=['ck-presence-list__dropdown-list-wrapper','items','div'];(function(_0xd50b67,_0x491c0b){var _0x580c7c=function(_0x137ae3){while(--_0x137ae3){_0xd50b67['push'](_0xd50b67['shift']());}};_0x580c7c(++_0x491c0b);}(_0x491c,0x9b));var _0x580c=function(_0xd50b67,_0x491c0b){_0xd50b67=_0xd50b67-0x0;var _0x580c7c=_0x491c[_0xd50b67];return _0x580c7c;};import{View as _0x126990}from'ckeditor5/src/ui';export default class D extends _0x126990{constructor(_0x3bd5d9){super(_0x3bd5d9),this[_0x580c('0x2')]=this['createCollection'](),this['setTemplate']({'tag':_0x580c('0x0'),'attributes':{'class':['ck','ck-presence-list__dropdown-list']},'children':[{'tag':_0x580c('0x0'),'attributes':{'class':['ck',_0x580c('0x1')]},'children':this[_0x580c('0x2')]}]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23cc=['setTemplate','name','userView','fire','ck-presence-list__marker','tooltipView','span','bindTemplate','execute','getBackgroundColorClass','markerView','true','button','color'];(function(_0x5b1181,_0x23cca1){const _0x57c784=function(_0xe63268){while(--_0xe63268){_0x5b1181['push'](_0x5b1181['shift']());}};_0x57c784(++_0x23cca1);}(_0x23cc,0x1e2));const _0x57c7=function(_0x5b1181,_0x23cca1){_0x5b1181=_0x5b1181-0x0;let _0x57c784=_0x23cc[_0x5b1181];return _0x57c784;};import{View as _0x2c7208}from'ckeditor5/src/ui';import _0xb46055 from'./tooltipview';import _0x3b19d8 from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';export default class q extends _0x2c7208{constructor(_0x146d7d,_0x5a87e9,_0x4e96e8){super(_0x146d7d);const _0x563373=this[_0x57c7('0x1')];this[_0x57c7('0xa')]=new _0x3b19d8(_0x146d7d,_0x5a87e9),this[_0x57c7('0x4')]=new ot(_0x146d7d,_0x5a87e9),this[_0x57c7('0xd')]=new _0xb46055(_0x146d7d),this[_0x57c7('0xd')]['text']=this[_0x57c7('0xa')][_0x57c7('0x9')];const _0x429b37={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item']},'children':[this[_0x57c7('0xa')],this[_0x57c7('0x4')],this[_0x57c7('0xd')]]};_0x4e96e8&&(_0x429b37['tag']=_0x57c7('0x6'),_0x429b37['on']={'click':_0x563373['to'](()=>this[_0x57c7('0xb')](_0x57c7('0x2')))}),this[_0x57c7('0x8')](_0x429b37);}}class ot extends _0x2c7208{constructor(_0x3838bb,_0x2d0f71){super(_0x3838bb),this['setTemplate']({'tag':_0x57c7('0x0'),'attributes':{'class':['ck',_0x57c7('0xc'),_0x2d0f71[_0x57c7('0x7')][_0x57c7('0x3')]()],'aria-hidden':_0x57c7('0x5')}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x17a7=['items','setTemplate','div','ck-presence-list__list'];(function(_0x3bef76,_0x17a765){const _0x5be0e7=function(_0x12d59f){while(--_0x12d59f){_0x3bef76['push'](_0x3bef76['shift']());}};_0x5be0e7(++_0x17a765);}(_0x17a7,0x160));const _0x5be0=function(_0x3bef76,_0x17a765){_0x3bef76=_0x3bef76-0x0;let _0x5be0e7=_0x17a7[_0x3bef76];return _0x5be0e7;};import{View as _0x15713d}from'ckeditor5/src/ui';export default class ht extends _0x15713d{constructor(_0xeeb5f6){super(_0xeeb5f6),this[_0x5be0('0x0')]=this['createCollection']();const _0x2ec5b8=this['bindTemplate'];this[_0x5be0('0x1')]({'tag':_0x5be0('0x2'),'attributes':{'class':['ck',_0x5be0('0x3')]},'children':this['items'],'on':{'click':_0x2ec5b8['to'](()=>this['fire']('execute'))}});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x150a=['setTemplate','ck-presence-list--collapsed','inlineListView','isCollapsed','ck-reset','counterView','bindTemplate','ck-presence-list','set','ck-rounded-corners','div','locale'];(function(_0x316856,_0x150a15){const _0x2a71fa=function(_0x2470f0){while(--_0x2470f0){_0x316856['push'](_0x316856['shift']());}};_0x2a71fa(++_0x150a15);}(_0x150a,0x133));const _0x2a71=function(_0x316856,_0x150a15){_0x316856=_0x316856-0x0;let _0x2a71fa=_0x150a[_0x316856];return _0x2a71fa;};import{View as _0x10f4a2}from'ckeditor5/src/ui';import _0x516f90 from'./presencecounterview';import _0x5c7ffe from'./presenceinlinelistview';import'../../../theme/presencelist.css';export default class y extends _0x10f4a2{constructor(_0x336c1d){super(_0x336c1d);const _0x572fde=this[_0x2a71('0xb')];this[_0x2a71('0x1')](_0x2a71('0x8'),!0x0),this[_0x2a71('0xa')]=new _0x516f90(this[_0x2a71('0x4')]),this[_0x2a71('0x7')]=new _0x5c7ffe(_0x336c1d),this[_0x2a71('0x5')]({'tag':_0x2a71('0x3'),'attributes':{'class':['ck',_0x2a71('0x0'),_0x2a71('0x9'),_0x2a71('0x2'),_0x572fde['if']('isCollapsed',_0x2a71('0x6'))]},'children':[this['counterView'],this['inlineListView']]});}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x355e=['bindTemplate','ck-tooltip','ck-tooltip_','span','ck-tooltip__text__inner','text'];(function(_0x56ea99,_0x355e0a){const _0xe9306=function(_0x20c8ab){while(--_0x20c8ab){_0x56ea99['push'](_0x56ea99['shift']());}};_0xe9306(++_0x355e0a);}(_0x355e,0x1d1));const _0xe930=function(_0x56ea99,_0x355e0a){_0x56ea99=_0x56ea99-0x0;let _0xe9306=_0x355e[_0x56ea99];return _0xe9306;};import{TooltipView as _0x3c80a2}from'ckeditor5/src/ui';export default class ct extends _0x3c80a2{constructor(_0x3a226d){super(_0x3a226d);const _0x309783=this[_0xe930('0x3')];this['setTemplate']({'tag':'span','attributes':{'class':['ck',_0xe930('0x4'),_0x309783['to']('position',_0x225d17=>_0xe930('0x5')+_0x225d17)]},'children':[{'tag':_0xe930('0x0'),'attributes':{'class':['ck-tooltip__text']},'children':[{'tag':_0xe930('0x0'),'class':[_0xe930('0x1')],'children':[{'text':_0x309783['to'](_0xe930('0x2'))}]}]}]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) 2016 -
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
*
|
|
5
5
|
*
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4316=['requires','PresenceList','pluginName'];(function(_0x4970c1,_0x43167d){var _0x39ae6a=function(_0x25caa7){while(--_0x25caa7){_0x4970c1['push'](_0x4970c1['shift']());}};_0x39ae6a(++_0x43167d);}(_0x4316,0x198));var _0x39ae=function(_0x4970c1,_0x43167d){_0x4970c1=_0x4970c1-0x0;var _0x39ae6a=_0x4316[_0x4970c1];return _0x39ae6a;};import{ContextPlugin as _0x2b5f15}from'ckeditor5/src/core';import _0x519678 from'./realtimecollaborativeediting/sessions';import _0x26617c from'./presencelist/presencelistui';export default class s extends _0x2b5f15{static get[_0x39ae('0x0')](){return[_0x519678,_0x26617c];}static get[_0x39ae('0x2')](){return _0x39ae('0x1');}}
|