@ckeditor/ckeditor5-comments 42.0.1-alpha.1 → 42.0.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-comments",
|
|
3
|
-
"version": "42.0.1-alpha.
|
|
3
|
+
"version": "42.0.1-alpha.3",
|
|
4
4
|
"description": "Collaborative comments feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"CHANGELOG.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"ckeditor5": "42.0.1-alpha.
|
|
49
|
-
"ckeditor5-collaboration": "42.0.1-alpha.
|
|
48
|
+
"ckeditor5": "42.0.1-alpha.3",
|
|
49
|
+
"ckeditor5-collaboration": "42.0.1-alpha.3",
|
|
50
50
|
"lodash-es": "4.17.21"
|
|
51
51
|
},
|
|
52
52
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33a6a7=_0xcbe2;(function(_0x55dfdb,_0x566c68){const _0x2e820e=_0xcbe2,_0x2b40f8=_0x55dfdb();while(!![]){try{const _0x3e4ec6=parseInt(_0x2e820e(0x10e))/0x1+parseInt(_0x2e820e(0x12e))/0x2*(-parseInt(_0x2e820e(0x117))/0x3)+parseInt(_0x2e820e(0x133))/0x4*(parseInt(_0x2e820e(0x130))/0x5)+-parseInt(_0x2e820e(0x142))/0x6*(parseInt(_0x2e820e(0x144))/0x7)+-parseInt(_0x2e820e(0x120))/0x8+parseInt(_0x2e820e(0x141))/0x9*(parseInt(_0x2e820e(0x11c))/0xa)+parseInt(_0x2e820e(0x129))/0xb*(parseInt(_0x2e820e(0x13a))/0xc);if(_0x3e4ec6===_0x566c68)break;else _0x2b40f8['push'](_0x2b40f8['shift']());}catch(_0x152518){_0x2b40f8['push'](_0x2b40f8['shift']());}}}(_0xa951,0xa1049));import{ContextPlugin as _0xfc30bb}from'ckeditor5/src/core.js';import{CKEditorError as _0x426db6}from'ckeditor5/src/utils.js';function _0xcbe2(_0x242238,_0x16c561){const _0xa951e4=_0xa951();return _0xcbe2=function(_0xcbe28a,_0xe5e7f0){_0xcbe28a=_0xcbe28a-0x10d;let _0x579886=_0xa951e4[_0xcbe28a];return _0x579886;},_0xcbe2(_0x242238,_0x16c561);}import _0x2f934c,{bindAnnotationCollections as _0x4ce457}from'./annotationcollection.js';import _0x16ae03 from'./annotations.js';function _0xa951(){const _0x9db65b=['_uis','get','listenTo','detach','953641fKiWZY','activeUIs','refilterAnnotations','_visibleAnnotations','size','change:activeAnnotation','context','switchTo','_activateAnnotation','393RHGjhm','find','annotationsuis-register-already-registered','_assertAnnotationDoesNotBelongToMultipleUIs','setActiveAnnotation','70zmZIsM','type','_uisData','has','3338080UeLOBQ','annotationsuis-missing-ui','register','collection','function','AnnotationsUIs','length','activate','init','6336748sdlqQk','deactivateAll','activeAnnotations','destroy','deactivate','15826LtROWn','stopListening','2238185uasplt','add','hasActive','8ixQuwD','pluginName','from','isActive','_setSelectedAnnotations','_addActiveAnnotation','remove','12aEfFPo','requires','annotationsuis-register-invalid-interface','_deactivateAllAnnotations','delete','_removeActiveAnnotation','set','707166OOmlFu','246174vrSOKW','push','147Rmpymm','attach','filter','plugins','annotationsuis-annotation-mismatch'];_0xa951=function(){return _0x9db65b;};return _0xa951();}export default class j extends _0xfc30bb{static get[_0x33a6a7(0x13b)](){return[_0x16ae03];}static get[_0x33a6a7(0x134)](){const _0xc4635f=_0x33a6a7;return _0xc4635f(0x125);}constructor(_0x105e7a){const _0x1277fa=_0x33a6a7;super(_0x105e7a),this[_0x1277fa(0x10f)]=new Set(),this[_0x1277fa(0x149)]=new Map(),this[_0x1277fa(0x11e)]=new Map();}[_0x33a6a7(0x128)](){const _0x88c6db=_0x33a6a7,_0x13bd7e=this[_0x88c6db(0x114)][_0x88c6db(0x147)][_0x88c6db(0x14a)](_0x16ae03);this[_0x88c6db(0x14b)](_0x13bd7e,_0x88c6db(0x116),(_0x4df8a8,_0x5922f8)=>{const _0x4b7ecd=_0x88c6db;for(const _0x357157 of this[_0x4b7ecd(0x10f)]){const _0x46e1a6=this[_0x4b7ecd(0x149)][_0x4b7ecd(0x14a)](_0x357157);(0x0,this[_0x4b7ecd(0x11e)][_0x4b7ecd(0x14a)](_0x357157)[_0x4b7ecd(0x146)])(_0x5922f8)&&_0x46e1a6[_0x4b7ecd(0x11b)](_0x5922f8);}}),this[_0x88c6db(0x14b)](_0x13bd7e,_0x88c6db(0x13d),()=>{const _0x538af1=_0x88c6db;for(const _0x278ba0 of this[_0x538af1(0x10f)]){this[_0x538af1(0x149)][_0x538af1(0x14a)](_0x278ba0)[_0x538af1(0x11b)](null);}}),this[_0x88c6db(0x14b)](_0x13bd7e[_0x88c6db(0x111)],_0x88c6db(0x131),(_0x2aad2d,_0x596c29)=>{const _0x4d1000=_0x88c6db;this[_0x4d1000(0x11a)](_0x596c29);});}[_0x33a6a7(0x132)](){const _0x5849c5=_0x33a6a7;return this[_0x5849c5(0x10f)][_0x5849c5(0x112)]>0x0;}[_0x33a6a7(0x136)](_0x37efc3){const _0x6937e=_0x33a6a7;return this[_0x6937e(0x10f)][_0x6937e(0x11f)](_0x37efc3);}[_0x33a6a7(0x127)](_0x10f8a8,_0x219e26=()=>!0x0){const _0x23cd77=_0x33a6a7,_0x5d4fdb=this[_0x23cd77(0x114)][_0x23cd77(0x147)][_0x23cd77(0x14a)](_0x16ae03);if(!this[_0x23cd77(0x149)][_0x23cd77(0x11f)](_0x10f8a8))throw new _0x426db6(_0x23cd77(0x121),this,{'uiName':_0x10f8a8});this[_0x23cd77(0x136)](_0x10f8a8)&&this[_0x23cd77(0x12d)](_0x10f8a8),this[_0x23cd77(0x10f)][_0x23cd77(0x131)](_0x10f8a8);const _0x37546b=new _0x2f934c(),_0x106ed7=_0x5d4fdb[_0x23cd77(0x111)];_0x4ce457({'source':_0x106ed7,'target':_0x37546b,'filter':_0x219e26}),this[_0x23cd77(0x11e)][_0x23cd77(0x140)](_0x10f8a8,{'collection':_0x37546b,'filter':_0x219e26});const _0x166983=this[_0x23cd77(0x149)][_0x23cd77(0x14a)](_0x10f8a8);_0x166983[_0x23cd77(0x145)](_0x37546b),this[_0x23cd77(0x14b)](_0x166983,_0x23cd77(0x113),(_0x94115,_0x4620b2,_0x71077a,_0x106ebd)=>{const _0x526e39=_0x23cd77;_0x106ebd&&_0x5d4fdb[_0x526e39(0x13f)](_0x106ebd),_0x71077a&&_0x5d4fdb[_0x526e39(0x138)](_0x71077a);});}[_0x33a6a7(0x12d)](_0x14b71c){const _0x2bf531=_0x33a6a7;if(this[_0x2bf531(0x10f)][_0x2bf531(0x13e)](_0x14b71c),!this[_0x2bf531(0x149)][_0x2bf531(0x11f)](_0x14b71c))throw new _0x426db6(_0x2bf531(0x121),this,{'uiName':_0x14b71c});const _0x36e3c8=this[_0x2bf531(0x149)][_0x2bf531(0x14a)](_0x14b71c);_0x36e3c8[_0x2bf531(0x10d)](),this[_0x2bf531(0x12f)](_0x36e3c8),this[_0x2bf531(0x11e)][_0x2bf531(0x14a)](_0x14b71c)[_0x2bf531(0x123)][_0x2bf531(0x12c)](),this[_0x2bf531(0x11e)][_0x2bf531(0x13e)](_0x14b71c);}[_0x33a6a7(0x115)](_0x1387a3){const _0x5f0e68=_0x33a6a7;if(!this[_0x5f0e68(0x149)][_0x5f0e68(0x11f)](_0x1387a3))throw new _0x426db6(_0x5f0e68(0x121),this,{'uiName':_0x1387a3});const _0x10a0a9=this[_0x5f0e68(0x114)][_0x5f0e68(0x147)][_0x5f0e68(0x14a)](_0x16ae03),_0x2bbd9c=Array[_0x5f0e68(0x135)](_0x10a0a9[_0x5f0e68(0x12b)])[0x0]||null;this[_0x5f0e68(0x12a)](),this[_0x5f0e68(0x127)](_0x1387a3);const _0x3543a0=this[_0x5f0e68(0x149)][_0x5f0e68(0x14a)](_0x1387a3);_0x3543a0[_0x5f0e68(0x11b)](_0x2bbd9c),_0x3543a0[_0x5f0e68(0x137)]&&_0x2bbd9c&&_0x3543a0[_0x5f0e68(0x137)]([_0x2bbd9c]);}[_0x33a6a7(0x12a)](){const _0x52f1fe=_0x33a6a7;for(const _0x27cd93 of this[_0x52f1fe(0x10f)])this[_0x52f1fe(0x12d)](_0x27cd93);}[_0x33a6a7(0x122)](_0x21c33e,_0x41435a){const _0x446a85=_0x33a6a7;if(this[_0x446a85(0x149)][_0x446a85(0x11f)](_0x21c33e))throw new _0x426db6(_0x446a85(0x119));if(_0x446a85(0x124)!=typeof _0x41435a[_0x446a85(0x145)]||_0x446a85(0x124)!=typeof _0x41435a[_0x446a85(0x10d)]||_0x446a85(0x124)!=typeof _0x41435a[_0x446a85(0x11b)])throw new _0x426db6(_0x446a85(0x13c),null);this[_0x446a85(0x149)][_0x446a85(0x140)](_0x21c33e,_0x41435a);}[_0x33a6a7(0x110)](){const _0x88673=_0x33a6a7,_0x370dd3=this[_0x88673(0x114)][_0x88673(0x147)][_0x88673(0x14a)](_0x16ae03)[_0x88673(0x123)],_0x3c4e09=new Map(),_0x471d1d=Array[_0x88673(0x135)](this[_0x88673(0x10f)]);for(const _0x4800d9 of this[_0x88673(0x10f)]){const _0x3284e0=this[_0x88673(0x11e)][_0x88673(0x14a)](_0x4800d9)[_0x88673(0x123)];for(const _0x50e5d4 of _0x3284e0)_0x3c4e09[_0x88673(0x140)](_0x50e5d4,_0x4800d9);}for(const _0x57d6ac of _0x370dd3){const _0xaac927=_0x3c4e09[_0x88673(0x14a)](_0x57d6ac);this[_0x88673(0x11a)](_0x57d6ac);const _0x26fa85=_0x471d1d[_0x88673(0x118)](_0x170c9b=>this[_0x88673(0x11e)][_0x88673(0x14a)](_0x170c9b)[_0x88673(0x146)](_0x57d6ac));_0xaac927!==_0x26fa85&&(_0xaac927&&this[_0x88673(0x11e)][_0x88673(0x14a)](_0xaac927)[_0x88673(0x123)][_0x88673(0x139)](_0x57d6ac),_0x26fa85&&this[_0x88673(0x11e)][_0x88673(0x14a)](_0x26fa85)[_0x88673(0x123)][_0x88673(0x131)](_0x57d6ac));}}[_0x33a6a7(0x12c)](){const _0xe32f23=_0x33a6a7;this[_0xe32f23(0x12a)](),super[_0xe32f23(0x12c)]();}[_0x33a6a7(0x11a)](_0x19ca44){const _0x14e782=_0x33a6a7,_0x2c3091=[];for(const _0x43d58c of this[_0x14e782(0x10f)]){(0x0,this[_0x14e782(0x11e)][_0x14e782(0x14a)](_0x43d58c)[_0x14e782(0x146)])(_0x19ca44)&&_0x2c3091[_0x14e782(0x143)](_0x43d58c);}if(_0x2c3091[_0x14e782(0x126)]>0x1)throw new _0x426db6(_0x14e782(0x148),null,{'matchedUIs':_0x2c3091,'annotationType':_0x19ca44[_0x14e782(0x11d)]});}}
|