@ckeditor/ckeditor5-track-changes 47.7.2-alpha.0 → 47.7.2
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-track-changes",
|
|
3
|
-
"version": "47.7.2
|
|
3
|
+
"version": "47.7.2",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -41,31 +41,31 @@
|
|
|
41
41
|
"CHANGELOG.md"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ckeditor/ckeditor5-clipboard": "47.7.2
|
|
45
|
-
"@ckeditor/ckeditor5-code-block": "47.7.2
|
|
46
|
-
"@ckeditor/ckeditor5-comments": "47.7.2
|
|
47
|
-
"@ckeditor/ckeditor5-core": "47.7.2
|
|
48
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.7.2
|
|
49
|
-
"@ckeditor/ckeditor5-engine": "47.7.2
|
|
50
|
-
"@ckeditor/ckeditor5-enter": "47.7.2
|
|
51
|
-
"@ckeditor/ckeditor5-find-and-replace": "47.7.2
|
|
52
|
-
"@ckeditor/ckeditor5-font": "47.7.2
|
|
53
|
-
"@ckeditor/ckeditor5-heading": "47.7.2
|
|
54
|
-
"@ckeditor/ckeditor5-highlight": "47.7.2
|
|
55
|
-
"@ckeditor/ckeditor5-icons": "47.7.2
|
|
56
|
-
"@ckeditor/ckeditor5-image": "47.7.2
|
|
57
|
-
"@ckeditor/ckeditor5-link": "47.7.2
|
|
58
|
-
"@ckeditor/ckeditor5-list": "47.7.2
|
|
59
|
-
"@ckeditor/ckeditor5-media-embed": "47.7.2
|
|
60
|
-
"@ckeditor/ckeditor5-merge-fields": "47.7.2
|
|
61
|
-
"@ckeditor/ckeditor5-restricted-editing": "47.7.2
|
|
62
|
-
"@ckeditor/ckeditor5-style": "47.7.2
|
|
63
|
-
"@ckeditor/ckeditor5-table": "47.7.2
|
|
64
|
-
"@ckeditor/ckeditor5-typing": "47.7.2
|
|
65
|
-
"@ckeditor/ckeditor5-ui": "47.7.2
|
|
66
|
-
"@ckeditor/ckeditor5-utils": "47.7.2
|
|
67
|
-
"ckeditor5": "47.7.2
|
|
68
|
-
"ckeditor5-collaboration": "47.7.2
|
|
44
|
+
"@ckeditor/ckeditor5-clipboard": "47.7.2",
|
|
45
|
+
"@ckeditor/ckeditor5-code-block": "47.7.2",
|
|
46
|
+
"@ckeditor/ckeditor5-comments": "47.7.2",
|
|
47
|
+
"@ckeditor/ckeditor5-core": "47.7.2",
|
|
48
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.7.2",
|
|
49
|
+
"@ckeditor/ckeditor5-engine": "47.7.2",
|
|
50
|
+
"@ckeditor/ckeditor5-enter": "47.7.2",
|
|
51
|
+
"@ckeditor/ckeditor5-find-and-replace": "47.7.2",
|
|
52
|
+
"@ckeditor/ckeditor5-font": "47.7.2",
|
|
53
|
+
"@ckeditor/ckeditor5-heading": "47.7.2",
|
|
54
|
+
"@ckeditor/ckeditor5-highlight": "47.7.2",
|
|
55
|
+
"@ckeditor/ckeditor5-icons": "47.7.2",
|
|
56
|
+
"@ckeditor/ckeditor5-image": "47.7.2",
|
|
57
|
+
"@ckeditor/ckeditor5-link": "47.7.2",
|
|
58
|
+
"@ckeditor/ckeditor5-list": "47.7.2",
|
|
59
|
+
"@ckeditor/ckeditor5-media-embed": "47.7.2",
|
|
60
|
+
"@ckeditor/ckeditor5-merge-fields": "47.7.2",
|
|
61
|
+
"@ckeditor/ckeditor5-restricted-editing": "47.7.2",
|
|
62
|
+
"@ckeditor/ckeditor5-style": "47.7.2",
|
|
63
|
+
"@ckeditor/ckeditor5-table": "47.7.2",
|
|
64
|
+
"@ckeditor/ckeditor5-typing": "47.7.2",
|
|
65
|
+
"@ckeditor/ckeditor5-ui": "47.7.2",
|
|
66
|
+
"@ckeditor/ckeditor5-utils": "47.7.2",
|
|
67
|
+
"ckeditor5": "47.7.2",
|
|
68
|
+
"ckeditor5-collaboration": "47.7.2",
|
|
69
69
|
"es-toolkit": "1.39.5"
|
|
70
70
|
},
|
|
71
71
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1bb390=_0x3283;(function(_0x4f4a8e,_0x3898f7){const _0x5a3bd1=_0x3283,_0x344983=_0x4f4a8e();while(!![]){try{const _0x5d0102=-parseInt(_0x5a3bd1(0x1dd))/0x1+parseInt(_0x5a3bd1(0x1f0))/0x2*(parseInt(_0x5a3bd1(0x1c4))/0x3)+-parseInt(_0x5a3bd1(0x1be))/0x4*(parseInt(_0x5a3bd1(0x1ca))/0x5)+parseInt(_0x5a3bd1(0x1e4))/0x6+parseInt(_0x5a3bd1(0x1ce))/0x7+-parseInt(_0x5a3bd1(0x1ee))/0x8+parseInt(_0x5a3bd1(0x1c5))/0x9*(parseInt(_0x5a3bd1(0x1e5))/0xa);if(_0x5d0102===_0x3898f7)break;else _0x344983['push'](_0x344983['shift']());}catch(_0x1cf86f){_0x344983['push'](_0x344983['shift']());}}}(_0x4769,0xb6301));import{Plugin as _0x421402}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x116a5d}from'./utils.js';function _0x3283(_0x49aa07,_0x1daebc){const _0x4769a0=_0x4769();return _0x3283=function(_0x3283ff,_0x575855){_0x3283ff=_0x3283ff-0x1be;let _0x3ca85a=_0x4769a0[_0x3283ff];return _0x3ca85a;},_0x3283(_0x49aa07,_0x1daebc);}import{getTranslation as _0x4c8aa1}from'../utils/common-translations.js';function _0x4769(){const _0x3a649b=['editor','markBlockFormat','checkChild','899135SMuxCM','get','commandName','value','createContext','formatInline','map','307380JSxwGL','10HODFwT','name','format','getSelectedBlocks','parent','_enableEditingExceptionBlockCommand','descriptionFactory','StandardEditingModeEditing','registerDescriptionCallback','11367312FAHIoa','plugins','380szcjJy','formatBlock','_enableEditingExceptionCommand','push','findAncestor','FORMAT_RESTRICTED_DISABLED','84740GlvIXV','isCollapsed','type','afterInit','restrictedEditingExceptionAuto','has','21579qBSrmB','12817215rNUrrk','TrackChangesEditing','restrictedEditingExceptionBlock','locale','model','195AHXLyh','getRanges','commandParams','schema','7353290qOhTHN','FORMAT_RESTRICTED_ENABLED','enableCommand','selection','from','restrictedEditingException','change','commands','filter','markInlineFormat','document','forceValue'];_0x4769=function(){return _0x3a649b;};return _0x4769();}import{getRangesOfBlockGroups as _0x2df85f}from'../utils/utils.js';export class TrackChangesStandardEditingMode extends _0x421402{[_0x1bb390(0x1c1)](){const _0x28bc6f=_0x1bb390,_0x4c67=this[_0x28bc6f(0x1da)],_0x116651=_0x4c67[_0x28bc6f(0x1ef)][_0x28bc6f(0x1de)](_0x28bc6f(0x1c6));_0x4c67[_0x28bc6f(0x1ef)][_0x28bc6f(0x1c3)](_0x28bc6f(0x1ec))&&(this[_0x28bc6f(0x1f2)](),this[_0x28bc6f(0x1ea)](),_0x116651[_0x28bc6f(0x1d0)](_0x28bc6f(0x1c2)));}[_0x1bb390(0x1f2)](){const _0x4ee111=_0x1bb390,_0x11704c=this[_0x4ee111(0x1da)],_0x334c60=_0x11704c[_0x4ee111(0x1c9)],_0x45c503=_0x11704c[_0x4ee111(0x1c8)],_0x5479c8=_0x11704c[_0x4ee111(0x1ef)][_0x4ee111(0x1de)](_0x4ee111(0x1c6)),_0x2a1959=_0x4ee111(0x1d3),_0x932368=_0x11704c[_0x4ee111(0x1d5)][_0x4ee111(0x1de)](_0x2a1959);_0x5479c8[_0x4ee111(0x1d0)](_0x2a1959,(_0x10ec4c,_0x22b1a7={})=>{const _0x44d91e=_0x4ee111,_0x39b0e8=_0x334c60[_0x44d91e(0x1d8)][_0x44d91e(0x1d1)];if(_0x39b0e8[_0x44d91e(0x1bf)])return void _0x10ec4c(_0x22b1a7);const _0x35eaec=void 0x0!==_0x22b1a7[_0x44d91e(0x1d9)]?_0x22b1a7[_0x44d91e(0x1d9)]:!_0x932368[_0x44d91e(0x1e0)];_0x334c60[_0x44d91e(0x1d4)](()=>{const _0x99b769=_0x44d91e,_0x3e38fc=Array[_0x99b769(0x1d2)](_0x39b0e8[_0x99b769(0x1cb)]());for(const _0x256bfd of _0x3e38fc){const _0x57fe36=_0x35eaec?[_0x256bfd]:_0x116a5d(_0x2a1959,_0x256bfd,_0x334c60);for(const _0x5ca33b of _0x57fe36)_0x5479c8[_0x99b769(0x1d7)](_0x5ca33b,{'commandName':_0x2a1959,'commandParams':[{'forceValue':_0x35eaec}]});}});}),_0x5479c8[_0x4ee111(0x1eb)][_0x4ee111(0x1ed)](_0x3e74bb=>{const _0x8118ce=_0x4ee111;if(_0x8118ce(0x1f1)!=_0x3e74bb[_0x8118ce(0x1c0)]&&_0x8118ce(0x1e2)!=_0x3e74bb[_0x8118ce(0x1c0)])return;const {data:_0x23f9f2}=_0x3e74bb;return _0x23f9f2&&_0x23f9f2[_0x8118ce(0x1df)]==_0x2a1959?_0x23f9f2[_0x8118ce(0x1cc)][0x0][_0x8118ce(0x1d9)]?{'type':_0x8118ce(0x1e7),'content':_0x4c8aa1(_0x45c503,_0x8118ce(0x1cf))}:{'type':_0x8118ce(0x1e7),'content':_0x4c8aa1(_0x45c503,_0x8118ce(0x1f5))}:void 0x0;});}[_0x1bb390(0x1ea)](){const _0x1d5e40=_0x1bb390,_0x5bf610=this[_0x1d5e40(0x1da)],_0x3ade28=_0x5bf610[_0x1d5e40(0x1c8)],_0x1c9fb2=_0x5bf610[_0x1d5e40(0x1ef)][_0x1d5e40(0x1de)](_0x1d5e40(0x1c6)),_0x3e8d49=_0x1d5e40(0x1c7),_0x48f16a=this[_0x1d5e40(0x1da)][_0x1d5e40(0x1d5)][_0x1d5e40(0x1de)](_0x3e8d49);_0x1c9fb2[_0x1d5e40(0x1d0)](_0x3e8d49,(_0x42e131,_0x322820={})=>{const _0x2c0766=_0x1d5e40,_0x2be317=this[_0x2c0766(0x1da)][_0x2c0766(0x1c9)][_0x2c0766(0x1d8)][_0x2c0766(0x1d1)],_0x507c70=_0x322820&&void 0x0!==_0x322820[_0x2c0766(0x1d9)]?_0x322820[_0x2c0766(0x1d9)]:!_0x48f16a[_0x2c0766(0x1e0)];let _0x28c510=[];if(_0x507c70){const _0x59e0ee=Array[_0x2c0766(0x1d2)](_0x2be317[_0x2c0766(0x1e8)]())[_0x2c0766(0x1d6)](_0x1136dd=>function(_0x46229a){const _0x5e4c82=_0x2c0766;return!!_0x46229a[_0x5e4c82(0x1f4)](_0x5e4c82(0x1d3),{'includeSelf':!0x0});}(_0x1136dd)||function(_0x4b49d0,_0x4e2fcc){const _0x299c97=_0x2c0766,_0x3ee3b2=_0x4e2fcc[_0x299c97(0x1e1)](_0x4b49d0[_0x299c97(0x1e9)]);if(!_0x4e2fcc[_0x299c97(0x1dc)](_0x3ee3b2,_0x299c97(0x1d3)))return!0x1;if(!_0x4e2fcc[_0x299c97(0x1dc)](_0x3ee3b2[_0x299c97(0x1f3)](_0x299c97(0x1d3)),_0x4b49d0))return!0x1;return!0x0;}(_0x1136dd,this[_0x2c0766(0x1da)][_0x2c0766(0x1c9)][_0x2c0766(0x1cd)]));_0x28c510=_0x2df85f(_0x59e0ee,_0x5bf610[_0x2c0766(0x1c9)]);}else{const _0x486044=Array[_0x2c0766(0x1d2)](_0x2be317[_0x2c0766(0x1e8)]())[_0x2c0766(0x1e3)](_0x5b5caf=>function(_0x27cded){const _0x37cf04=_0x2c0766;let _0x58a1c5=_0x27cded;for(;_0x58a1c5[_0x37cf04(0x1e9)];){if(_0x37cf04(0x1d3)==_0x58a1c5[_0x37cf04(0x1e9)][_0x37cf04(0x1e6)])return _0x58a1c5;_0x58a1c5=_0x58a1c5[_0x37cf04(0x1e9)];}return null;}(_0x5b5caf))[_0x2c0766(0x1d6)](_0x5617d6=>!!_0x5617d6);_0x28c510=_0x2df85f(_0x486044,_0x5bf610[_0x2c0766(0x1c9)]);}_0x5bf610[_0x2c0766(0x1c9)][_0x2c0766(0x1d4)](()=>{const _0x4e3be6=_0x2c0766;for(const _0x3c7064 of _0x28c510)_0x1c9fb2[_0x4e3be6(0x1db)](_0x3c7064,{'commandName':_0x3e8d49,'commandParams':[{'forceValue':_0x507c70}]});});}),_0x1c9fb2[_0x1d5e40(0x1eb)][_0x1d5e40(0x1ed)](_0x42792e=>{const _0x3cacb7=_0x1d5e40,{data:_0x54260f}=_0x42792e;if(_0x54260f&&_0x54260f[_0x3cacb7(0x1df)]==_0x3e8d49)return _0x54260f[_0x3cacb7(0x1cc)][0x0][_0x3cacb7(0x1d9)]?{'type':_0x3cacb7(0x1e7),'content':_0x4c8aa1(_0x3ade28,_0x3cacb7(0x1cf))}:{'type':_0x3cacb7(0x1e7),'content':_0x4c8aa1(_0x3ade28,_0x3cacb7(0x1f5))};});}}
|