@ckeditor/ckeditor5-collaboration-core
Advanced tools
Comparing version 17.0.0 to 18.0.0
Changelog | ||
========= | ||
## 18.0.0 (2020-03-19) | ||
Internal changes only (updated dependencies, documentation, etc.). | ||
## 17.0.0 (2020-02-20) | ||
@@ -5,0 +10,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-collaboration-core", | ||
"version": "17.0.0", | ||
"version": "18.0.0", | ||
"description": "Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich-text editor.", | ||
@@ -30,6 +30,6 @@ "license": "SEE LICENSE IN LICENSE.md", | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^17.0.0", | ||
"@ckeditor/ckeditor5-ui": "^17.0.0", | ||
"@ckeditor/ckeditor5-utils": "^17.0.0" | ||
"@ckeditor/ckeditor5-core": "^18.0.0", | ||
"@ckeditor/ckeditor5-ui": "^18.0.0", | ||
"@ckeditor/ckeditor5-utils": "^18.0.0" | ||
} | ||
} |
@@ -5,4 +5,8 @@ # CKEditor 5 collaboration core | ||
For more information about collaboration visit [CKEditor 5 collaboration overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html). | ||
## Documentation | ||
For more information about collaboration features visit [CKEditor 5 collaboration features overview documentation](https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/collaboration.html). | ||
Also, make sure you visit the [CKEditor 5 collaboration features changelog](https://ckeditor.com/collaboration/changelog/) whenever a new version of the package is released. | ||
## Getting support | ||
@@ -9,0 +13,0 @@ |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x1be4=['string','invalid-license-key:\x20Invalid\x20license\x20key.\x20Please\x20contact\x20our\x20customer\x20support\x20at\x20https://ckeditor.com/contact/.','slice','trial-license-key-reached-limit:\x20You\x20have\x20exhausted\x20the\x20trial\x20usage\x20limit.\x20You\x20need\x20to\x20restart\x20the\x20editor\x20now.\x20Please\x20contact\x20our\x20customer\x20support\x20to\x20get\x20a\x20full\x20access\x20at\x20https://ckeditor.com/contact/.','users.colorsCount','addUser','Users','decorate','charAt','color','users','avatar','destroy','Anonymous','map','licenseKeyInvalid','split','add','toUpperCase','name','getUser','ck-user__bg-color--','has','licenseKey','licenseKeyTrial','assign','getOperationAuthor','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','get','defineMe','context','initials','licenseKeyValid','config','users-add-duplicated-id:\x20User\x20with\x20a\x20given\x20id\x20is\x20already\x20added.'];(function(_0x29c1b9,_0x4c95a0){const _0x41aa24=function(_0x1b2247){while(--_0x1b2247){_0x29c1b9['push'](_0x29c1b9['shift']());}};_0x41aa24(++_0x4c95a0);}(_0x1be4,0x136));const _0x1658=function(_0x29c1b9,_0x4c95a0){_0x29c1b9=_0x29c1b9-0x0;let _0x41aa24=_0x1be4[_0x29c1b9];return _0x41aa24;};import _0x5adf52 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x40a099 from'@ckeditor/ckeditor5-utils/src/collection';import'../theme/usercolors.css';import _0x12cdef,{attachLinkToDocumentation as _0x3308b2}from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class n extends _0x5adf52{static get['pluginName'](){return _0x1658('0xb');}constructor(_0x2c7386){super(_0x2c7386),this['i']=null,this[_0x1658('0xc')](_0x1658('0x1f')),this['s']=_0x2c7386[_0x1658('0x3')]['get'](_0x1658('0x9'))||0x8;}['init'](){const _0x34974c=this[_0x1658('0x0')];this[_0x1658('0xf')]=new _0x40a099(),this['o']=0x0,this[_0x1658('0x1c')]=_0x34974c[_0x1658('0x3')][_0x1658('0x21')](_0x1658('0x1c')),this['i']=setInterval(()=>{let _0x3eb11c;for(const _0x43e97c in _0x34974c){const _0xcf14fa=_0x34974c[_0x43e97c];if(_0x1658('0x1d')===_0xcf14fa||_0x1658('0x14')===_0xcf14fa||'licenseKeyValid'===_0xcf14fa||'licenseKeyTrialLimit'==_0xcf14fa){delete _0x34974c[_0x43e97c],_0x3eb11c=_0xcf14fa;break;}}if('licenseKeyInvalid'===_0x3eb11c)throw clearInterval(this['i']),new _0x12cdef(_0x1658('0x6'),null);if(_0x1658('0x1d')===_0x3eb11c&&console['info'](_0x1658('0x20')),'licenseKeyTrialLimit'===_0x3eb11c)throw clearInterval(this['i']),new _0x12cdef(_0x1658('0x8'),null);_0x1658('0x2')===_0x3eb11c&&clearInterval(this['i']);},0x3e8);}[_0x1658('0xa')](_0x7da835){if(!(_0x7da835=Object[_0x1658('0x1e')]({},_0x7da835,{'color':this['l']()}))['id']||_0x1658('0x5')!=typeof _0x7da835['id'])throw new _0x12cdef('users-add-invalid-id:\x20The\x20id\x20must\x20be\x20a\x20string.');if(this[_0x1658('0xf')][_0x1658('0x1b')](_0x7da835['id']))throw new _0x12cdef(_0x1658('0x4'),null,{'id':_0x7da835['id']});const _0x15b92a=new o(_0x7da835);return this[_0x1658('0xf')][_0x1658('0x16')](_0x15b92a),_0x15b92a;}[_0x1658('0x19')](_0x5739a9){return this[_0x1658('0xf')][_0x1658('0x21')](_0x5739a9);}[_0x1658('0x22')](_0x56bf6c){if(this['u'])throw new _0x12cdef('users-me-already-defined:\x20Cannot\x20add\x20a\x20local\x20user\x20more\x20than\x20once.',null);if(!this[_0x1658('0x19')](_0x56bf6c))throw new _0x12cdef('users-me-missing-user:\x20Cannot\x20add\x20an\x20undefined\x20user\x20as\x20a\x20local\x20user.',null);this['u']=_0x56bf6c;}get['me'](){if(!this['u']){console['warn'](_0x3308b2('users-me-not-defined:\x20Local\x20user\x20is\x20not\x20defined.'));const _0x1547f0='anonymous-user';this[_0x1658('0xa')]({'name':'','id':_0x1547f0}),this['defineMe'](_0x1547f0);}return this['getUser'](this['u']);}[_0x1658('0x1f')](){return this['me'];}['l'](){return this['o']>=this['s']&&(this['o']=0x0),new l(this['o']++);}['destroy'](){super[_0x1658('0x11')](),clearInterval(this['i']);}}class o{constructor(_0x1b8d2a){this['id']=_0x1b8d2a['id'],this[_0x1658('0xe')]=_0x1b8d2a[_0x1658('0xe')],this[_0x1658('0x18')]=function(_0x17e1c3=''){if(0x0===_0x17e1c3['trim']()['length'])return _0x1658('0x12');return _0x17e1c3['trim']();}(_0x1b8d2a[_0x1658('0x18')]),this['avatar']=_0x1b8d2a[_0x1658('0x10')];}get['isAnonymous'](){return _0x1658('0x12')==this['name'];}get[_0x1658('0x1')](){return this[_0x1658('0x18')][_0x1658('0x15')]('\x20')[_0x1658('0x13')](_0x57f444=>_0x57f444[_0x1658('0xd')](0x0))[_0x1658('0x7')](0x0,0x2)['join']('')[_0x1658('0x17')]();}}class l{constructor(_0x1e3ab0){this['h']=_0x1e3ab0;}['getBackgroundColorClass'](){return _0x1658('0x1a')+this['h'];}['getSelectionClass'](){return'ck-user__selection--'+this['h'];}['getMarkerClass'](){return'ck-user__marker--'+this['h'];}} | ||
const _0x3672=['destroy','assign','trim','string','licenseKeyTrial','config','getOperationAuthor','charAt','avatar','add','users-me-already-defined:\x20Cannot\x20add\x20a\x20local\x20user\x20more\x20than\x20once.','color','context','licenseKeyTrialLimit','trial-license-key-reached-limit:\x20You\x20have\x20exhausted\x20the\x20trial\x20usage\x20limit.\x20You\x20need\x20to\x20restart\x20the\x20editor\x20now.\x20Please\x20contact\x20our\x20customer\x20support\x20to\x20get\x20a\x20full\x20access\x20at\x20https://ckeditor.com/contact/.','licenseKeyValid','initials','users.colorsCount','addUser','split','getMarkerClass','getSelectionClass','Users','invalid-license-key:\x20Invalid\x20license\x20key.\x20Please\x20contact\x20our\x20customer\x20support\x20at\x20https://ckeditor.com/contact/.','ck-user__marker--','licenseKey','anonymous-user','Anonymous','getUser','users-me-not-defined:\x20Local\x20user\x20is\x20not\x20defined.','init','has','users-add-duplicated-id:\x20User\x20with\x20a\x20given\x20id\x20is\x20already\x20added.','pluginName','name','You\x20are\x20using\x20the\x20trial\x20version\x20of\x20CKEditor\x205\x20collaboration\x20plugin\x20with\x20limited\x20usage.\x20Make\x20sure\x20you\x20will\x20not\x20use\x20it\x20in\x20the\x20production\x20environment.','get','join','warn','decorate','length','licenseKeyInvalid','users','isAnonymous','ck-user__selection--','ck-user__bg-color--','getBackgroundColorClass'];(function(_0x30b596,_0x41f1ad){const _0x1d6f65=function(_0x2b15ae){while(--_0x2b15ae){_0x30b596['push'](_0x30b596['shift']());}};_0x1d6f65(++_0x41f1ad);}(_0x3672,0x1bf));const _0x17af=function(_0x30b596,_0x41f1ad){_0x30b596=_0x30b596-0x0;let _0x1d6f65=_0x3672[_0x30b596];return _0x1d6f65;};import _0x7b0c25 from'@ckeditor/ckeditor5-core/src/contextplugin';import _0x2dff10 from'@ckeditor/ckeditor5-utils/src/collection';import'../theme/usercolors.css';import _0xf648cb,{attachLinkToDocumentation as _0x591169}from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default class n extends _0x7b0c25{static get[_0x17af('0x9')](){return _0x17af('0x2d');}constructor(_0x13927d){super(_0x13927d),this['i']=null,this[_0x17af('0xf')](_0x17af('0x1d')),this['s']=_0x13927d[_0x17af('0x1c')][_0x17af('0xc')](_0x17af('0x28'))||0x8;}[_0x17af('0x6')](){const _0x4a66db=this[_0x17af('0x23')];this[_0x17af('0x12')]=new _0x2dff10(),this['o']=0x0,this[_0x17af('0x1')]=_0x4a66db['config'][_0x17af('0xc')](_0x17af('0x1')),this['i']=setInterval(()=>{let _0x193cd7;for(const _0x55a863 in _0x4a66db){const _0x8f7575=_0x4a66db[_0x55a863];if(_0x17af('0x1b')===_0x8f7575||_0x17af('0x11')===_0x8f7575||_0x17af('0x26')===_0x8f7575||_0x17af('0x24')==_0x8f7575){delete _0x4a66db[_0x55a863],_0x193cd7=_0x8f7575;break;}}if(_0x17af('0x11')===_0x193cd7)throw clearInterval(this['i']),new _0xf648cb(_0x17af('0x2e'),null);if('licenseKeyTrial'===_0x193cd7&&console['info'](_0x17af('0xb')),_0x17af('0x24')===_0x193cd7)throw clearInterval(this['i']),new _0xf648cb(_0x17af('0x25'),null);_0x17af('0x26')===_0x193cd7&&clearInterval(this['i']);},0x3e8);}[_0x17af('0x29')](_0x227803){if(!(_0x227803=Object[_0x17af('0x18')]({},_0x227803,{'color':this['l']()}))['id']||_0x17af('0x1a')!=typeof _0x227803['id'])throw new _0xf648cb('users-add-invalid-id:\x20The\x20id\x20must\x20be\x20a\x20string.');if(this['users'][_0x17af('0x7')](_0x227803['id']))throw new _0xf648cb(_0x17af('0x8'),null,{'id':_0x227803['id']});const _0x13ed63=new o(_0x227803);return this[_0x17af('0x12')][_0x17af('0x20')](_0x13ed63),_0x13ed63;}[_0x17af('0x4')](_0x3a115d){return this['users']['get'](_0x3a115d);}['defineMe'](_0x378e9c){if(this['u'])throw new _0xf648cb(_0x17af('0x21'),null);if(!this['getUser'](_0x378e9c))throw new _0xf648cb('users-me-missing-user:\x20Cannot\x20add\x20an\x20undefined\x20user\x20as\x20a\x20local\x20user.',null);this['u']=_0x378e9c;}get['me'](){if(!this['u']){console[_0x17af('0xe')](_0x591169(_0x17af('0x5')));const _0x8e74a2=_0x17af('0x2');this['addUser']({'name':'','id':_0x8e74a2}),this['defineMe'](_0x8e74a2);}return this[_0x17af('0x4')](this['u']);}[_0x17af('0x1d')](){return this['me'];}['l'](){return this['o']>=this['s']&&(this['o']=0x0),new l(this['o']++);}[_0x17af('0x17')](){super['destroy'](),clearInterval(this['i']);}}class o{constructor(_0x39044e){this['id']=_0x39044e['id'],this['color']=_0x39044e[_0x17af('0x22')],this[_0x17af('0xa')]=function(_0x40f21d=''){if(0x0===_0x40f21d[_0x17af('0x19')]()[_0x17af('0x10')])return _0x17af('0x3');return _0x40f21d[_0x17af('0x19')]();}(_0x39044e[_0x17af('0xa')]),this[_0x17af('0x1f')]=_0x39044e[_0x17af('0x1f')];}get[_0x17af('0x13')](){return'Anonymous'==this[_0x17af('0xa')];}get[_0x17af('0x27')](){return this[_0x17af('0xa')][_0x17af('0x2a')]('\x20')['map'](_0x7d6075=>_0x7d6075[_0x17af('0x1e')](0x0))['slice'](0x0,0x2)[_0x17af('0xd')]('')['toUpperCase']();}}class l{constructor(_0x50f566){this['h']=_0x50f566;}[_0x17af('0x16')](){return _0x17af('0x15')+this['h'];}[_0x17af('0x2c')](){return _0x17af('0x14')+this['h'];}[_0x17af('0x2b')](){return _0x17af('0x0')+this['h'];}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
const _0x2cd0=['div','isAnonymous','initials','push','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__avatar','avatar','name','url(\x27','ck-user__img','ck-user','ck\x20ck-user__name','setTemplate'];(function(_0x435e0f,_0x29455e){const _0x193232=function(_0x25c40f){while(--_0x25c40f){_0x435e0f['push'](_0x435e0f['shift']());}};_0x193232(++_0x29455e);}(_0x2cd0,0xc5));const _0x55c8=function(_0x435e0f,_0x29455e){_0x435e0f=_0x435e0f-0x0;let _0x193232=_0x2cd0[_0x435e0f];return _0x193232;};import _0x8b6aa8 from'@ckeditor/ckeditor5-ui/src/view';import'../../../theme/users.css';export default class a extends _0x8b6aa8{constructor(_0x55a404,_0x560743){super(_0x55a404),this[_0x55c8('0x5')]=_0x560743[_0x55c8('0x5')];const _0x9710be=['ck',_0x55c8('0x7')];_0x560743[_0x55c8('0xc')]&&_0x9710be[_0x55c8('0x1')]('ck-user__anonymous'),_0x560743[_0x55c8('0x4')]&&_0x9710be[_0x55c8('0x1')](_0x55c8('0x3')),this[_0x55c8('0xa')]({'tag':_0x55c8('0xb'),'attributes':{'class':['ck',_0x55c8('0x8')],'data-user-id':_0x560743['id']},'children':[{'tag':_0x55c8('0xb'),'attributes':{'class':_0x9710be,'style':{'background-image':_0x560743[_0x55c8('0x4')]?_0x55c8('0x6')+_0x560743[_0x55c8('0x4')]+'\x27)':''}}},{'tag':_0x55c8('0xb'),'attributes':{'class':_0x560743['avatar']?_0x55c8('0x2'):_0x55c8('0x9')},'children':[{'text':_0x560743[_0x55c8('0x0')]}]}]});}} | ||
const _0x562d=['setTemplate','avatar','push','ck-user','initials','isAnonymous','ck-user__avatar','name','url(\x27','ck\x20ck-user__name\x20ck-user__name--hidden','ck-user__anonymous','div'];(function(_0x2c8916,_0x1e015a){const _0x227899=function(_0x5aa994){while(--_0x5aa994){_0x2c8916['push'](_0x2c8916['shift']());}};_0x227899(++_0x1e015a);}(_0x562d,0xd5));const _0x301e=function(_0x2c8916,_0x1e015a){_0x2c8916=_0x2c8916-0x0;let _0x227899=_0x562d[_0x2c8916];return _0x227899;};import _0x374918 from'@ckeditor/ckeditor5-ui/src/view';import'../../../theme/users.css';export default class a extends _0x374918{constructor(_0x590987,_0x1547df){super(_0x590987),this[_0x301e('0xa')]=_0x1547df[_0x301e('0xa')];const _0x1012c4=['ck','ck-user__img'];_0x1547df[_0x301e('0x8')]&&_0x1012c4['push'](_0x301e('0x1')),_0x1547df[_0x301e('0x4')]&&_0x1012c4[_0x301e('0x5')](_0x301e('0x9')),this[_0x301e('0x3')]({'tag':'div','attributes':{'class':['ck',_0x301e('0x6')],'data-user-id':_0x1547df['id']},'children':[{'tag':_0x301e('0x2'),'attributes':{'class':_0x1012c4,'style':{'background-image':_0x1547df[_0x301e('0x4')]?_0x301e('0xb')+_0x1547df[_0x301e('0x4')]+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x1547df[_0x301e('0x4')]?_0x301e('0x0'):'ck\x20ck-user__name'},'children':[{'text':_0x1547df[_0x301e('0x7')]}]}]});}} |
@@ -23,2 +23,2 @@ /* | ||
*/ | ||
var _0x1149=['cloudServices-documentId-deprecated:\x20This\x20configuration\x20option\x20has\x20been\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.','warn','cloudServices.documentId','get'];(function(_0x3b276b,_0x1ad523){var _0x1fccb0=function(_0x3da3c5){while(--_0x3da3c5){_0x3b276b['push'](_0x3b276b['shift']());}};_0x1fccb0(++_0x1ad523);}(_0x1149,0x9e));var _0x4052=function(_0x3b276b,_0x1ad523){_0x3b276b=_0x3b276b-0x0;var _0x1fccb0=_0x1149[_0x3b276b];return _0x1fccb0;};import{attachLinkToDocumentation as _0x5d3f13}from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default function d(_0x388603){return _0x388603[_0x4052('0x1')](_0x4052('0x0'))?(console[_0x4052('0x3')](_0x5d3f13(_0x4052('0x2'))),_0x388603[_0x4052('0x1')](_0x4052('0x0'))):_0x388603['get']('collaboration.channelId');} | ||
var _0x4ba7=['collaboration.channelId','warn','cloudServices-documentId-deprecated:\x20This\x20configuration\x20option\x20has\x20been\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.','get','cloudServices.documentId'];(function(_0x536625,_0xb953f0){var _0x53a28a=function(_0x3cef05){while(--_0x3cef05){_0x536625['push'](_0x536625['shift']());}};_0x53a28a(++_0xb953f0);}(_0x4ba7,0x183));var _0x26c0=function(_0x536625,_0xb953f0){_0x536625=_0x536625-0x0;var _0x53a28a=_0x4ba7[_0x536625];return _0x53a28a;};import{attachLinkToDocumentation as _0x5eec37}from'@ckeditor/ckeditor5-utils/src/ckeditorerror';export default function d(_0x49f06e){return _0x49f06e[_0x26c0('0x1')]('cloudServices.documentId')?(console[_0x26c0('0x4')](_0x5eec37(_0x26c0('0x0'))),_0x49f06e[_0x26c0('0x1')](_0x26c0('0x2'))):_0x49f06e[_0x26c0('0x1')](_0x26c0('0x3'));} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21189
28
+ Added@ckeditor/ckeditor5-core@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@18.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@18.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@17.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@17.0.0(transitive)