@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20250628.0 → 0.0.0-nightly-20250629.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/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +27 -27
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b117b=_0x54f0;(function(_0x5d64e4,_0x574f42){const _0x58e812=_0x54f0,_0x6977d7=_0x5d64e4();while(!![]){try{const _0x159a2f=-parseInt(_0x58e812(0xe9))/0x1*(-parseInt(_0x58e812(0xcc))/0x2)+parseInt(_0x58e812(0xee))/0x3*(parseInt(_0x58e812(0xce))/0x4)+-parseInt(_0x58e812(0xda))/0x5+-parseInt(_0x58e812(0xd7))/0x6*(parseInt(_0x58e812(0xf1))/0x7)+parseInt(_0x58e812(0xc8))/0x8*(-parseInt(_0x58e812(0xe3))/0x9)+-parseInt(_0x58e812(0xd1))/0xa*(parseInt(_0x58e812(0xbc))/0xb)+parseInt(_0x58e812(0xf2))/0xc;if(_0x159a2f===_0x574f42)break;else _0x6977d7['push'](_0x6977d7['shift']());}catch(_0x783965){_0x6977d7['push'](_0x6977d7['shift']());}}}(_0x5361,0xaf0f1));import{BaseSuggestionThreadView as _0x2ade1c}from'./basesuggestionthreadview.js';import{trimHtml as _0x1bedda}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x54f0(_0x165fc6,_0x2dea98){const _0x53616e=_0x5361();return _0x54f0=function(_0x54f0df,_0x2ab981){_0x54f0df=_0x54f0df-0xb9;let _0x29ce6a=_0x53616e[_0x54f0df];return _0x29ce6a;},_0x54f0(_0x165fc6,_0x2dea98);}import{renderDescription as _0x4b8917}from'../../utils/utils.js';function _0x5361(){const _0x446f63=['<p>','ck-suggestion--disabled-comments','isActive','ck-suggestion-wrapper--active','9fgqtkR','ariaLabel','author','delegate','content','div','3229WtwFwW','canAccept','formatDateTime','commentThread','descriptionParts','21CVPXxM','discardSuggestion','SuggestionView','396676ZqbxoV','40866516EorLzP','disableComments','ck-rounded-corners','editorReady','set','11BIcBBU','canDiscard','</p>','bindTemplate','add','_descriptionElement','acceptButton','ariaDescriptionView','ck-suggestion-','ck-suggestion-wrapper','commentThreadInputView','color','9753976JAiGTG','discardButton','focusables','getTemplate','254YMHktA','editorDestroyed','772968aWoiGN','isEnabled','_config','12556570TCncbX','_model','push','setTemplate','type','render','84fnnRHD','suggestionView','description','5915115XkZQHS','commentsListView','acceptSuggestion','bind','listitem'];_0x5361=function(){return _0x446f63;};return _0x5361();}export class SuggestionThreadView extends _0x2ade1c{[_0x3b117b(0xd8)];[_0x3b117b(0xc1)];constructor(_0x314b4e,_0x7576d0,_0x9530ca,_0xd7cc39){const _0x60c4c=_0x3b117b;super(_0x314b4e,_0x7576d0,_0x9530ca,_0xd7cc39),this[_0x60c4c(0xbb)](_0x60c4c(0xd5),''),this[_0x60c4c(0xdd)](_0x60c4c(0xd5))['to'](this,_0x60c4c(0xed),_0x3f60ec=>_0x3f60ec&&_0x3f60ec[0x0]?_0x3f60ec[0x0][_0x60c4c(0xd5)]:''),this[_0x60c4c(0xdd)](_0x60c4c(0xd9))['to'](this,_0x60c4c(0xed),this,_0x60c4c(0xe1),(_0xd30300,_0x805a9c)=>{const _0x11408a=_0x60c4c;let _0x4650a0='';for(const _0x5cf9ad of _0xd30300)_0x4650a0+=_0x11408a(0xdf)+_0x4b8917(_0x5cf9ad[_0x11408a(0xe7)],_0x5cf9ad[_0x11408a(0xc7)])+_0x11408a(0xbe);return _0x805a9c?_0x4650a0:_0x1bedda(_0x4650a0,{'limit':0x8c});}),this[_0x60c4c(0xc1)]=null,this[_0x60c4c(0xd8)]=new _0xd7cc39[(_0x60c4c(0xf0))](_0x314b4e,_0x7576d0,{'formatDateTime':_0xd7cc39[_0x60c4c(0xeb)]}),this[_0x60c4c(0xd8)][_0x60c4c(0xdd)](_0x60c4c(0xd9))['to'](this),this[_0x60c4c(0xd8)][_0x60c4c(0xe6)](_0x60c4c(0xdc),_0x60c4c(0xef))['to'](this),this[_0x60c4c(0xd8)][_0x60c4c(0xc2)][_0x60c4c(0xdd)](_0x60c4c(0xcf))['to'](this,_0x60c4c(0xea)),this[_0x60c4c(0xd8)][_0x60c4c(0xc9)][_0x60c4c(0xdd)](_0x60c4c(0xcf))['to'](this,_0x60c4c(0xbd)),this[_0x60c4c(0xca)][_0x60c4c(0xc0)](this[_0x60c4c(0xd8)]),this[_0x60c4c(0xdb)]&&this[_0x60c4c(0xca)][_0x60c4c(0xc0)](this[_0x60c4c(0xdb)]),this[_0x60c4c(0xc6)]&&this[_0x60c4c(0xca)][_0x60c4c(0xc0)](this[_0x60c4c(0xc6)]),this[_0x60c4c(0xd4)](this[_0x60c4c(0xcb)]());}[_0x3b117b(0xcb)](){const _0x2bfc79=_0x3b117b,_0x47670c=this[_0x2bfc79(0xbf)],_0x49ac6a=[this[_0x2bfc79(0xd8)]];return this[_0x2bfc79(0xdb)]&&_0x49ac6a[_0x2bfc79(0xd3)](this[_0x2bfc79(0xdb)]),this[_0x2bfc79(0xc6)]&&_0x49ac6a[_0x2bfc79(0xd3)](this[_0x2bfc79(0xc6)]),_0x49ac6a[_0x2bfc79(0xd3)](this[_0x2bfc79(0xc3)]),{'tag':_0x2bfc79(0xe8),'attributes':{'class':['ck',_0x2bfc79(0xb9),_0x2bfc79(0xc5),_0x47670c['if'](_0x2bfc79(0xe1),_0x2bfc79(0xe2)),_0x47670c['to'](_0x2bfc79(0xd5),_0x4b6a0f=>_0x2bfc79(0xc4)+_0x4b6a0f),this[_0x2bfc79(0xd0)][_0x2bfc79(0xf3)]&&_0x2bfc79(0xe0)],'data-suggestion-id':this[_0x2bfc79(0xd2)]['id'],'data-thread-id':this[_0x2bfc79(0xd2)][_0x2bfc79(0xec)]['id'],'data-author-id':this[_0x2bfc79(0xd2)][_0x2bfc79(0xe5)]['id'],'tabindex':0x0,'role':_0x2bfc79(0xde),'aria-label':_0x47670c['to'](_0x2bfc79(0xe4)),'aria-describedby':this[_0x2bfc79(0xc3)]['id']},'children':_0x49ac6a};}[_0x3b117b(0xd6)](){const _0x3729cc=_0x3b117b;super[_0x3729cc(0xd6)](),this[_0x3729cc(0xdb)]&&(this[_0x3729cc(0xdb)][_0x3729cc(0xe6)](_0x3729cc(0xba))['to'](this),this[_0x3729cc(0xdb)][_0x3729cc(0xe6)](_0x3729cc(0xcd))['to'](this)),this[_0x3729cc(0xc6)]&&(this[_0x3729cc(0xc6)][_0x3729cc(0xe6)](_0x3729cc(0xba))['to'](this),this[_0x3729cc(0xc6)][_0x3729cc(0xe6)](_0x3729cc(0xcd))['to'](this));}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c3b61,_0x5096a2){const _0xaaffd4=_0xbdb0,_0x1e74a3=_0x3c3b61();while(!![]){try{const _0x431fe7=-parseInt(_0xaaffd4(0x1bc))/0x1+parseInt(_0xaaffd4(0x1c4))/0x2*(-parseInt(_0xaaffd4(0x1b0))/0x3)+parseInt(_0xaaffd4(0x1cd))/0x4*(parseInt(_0xaaffd4(0x1bd))/0x5)+-parseInt(_0xaaffd4(0x1d4))/0x6*(parseInt(_0xaaffd4(0x1be))/0x7)+parseInt(_0xaaffd4(0x1dc))/0x8+-parseInt(_0xaaffd4(0x1d2))/0x9*(-parseInt(_0xaaffd4(0x1b6))/0xa)+parseInt(_0xaaffd4(0x1d7))/0xb*(parseInt(_0xaaffd4(0x1d9))/0xc);if(_0x431fe7===_0x5096a2)break;else _0x1e74a3['push'](_0x1e74a3['shift']());}catch(_0x1b3a81){_0x1e74a3['push'](_0x1e74a3['shift']());}}}(_0x3389,0x8034e));export function normalizeDescription(_0x383604){const _0x1e8600=_0xbdb0;return Array[_0x1e8600(0x1b1)](_0x383604)||(_0x383604=[_0x383604]),_0x383604[_0x1e8600(0x1c7)](_0x228eae=>{const _0x5a04e3=_0x1e8600,_0x640bc1=_0x228eae[_0x5a04e3(0x1e2)][_0x5a04e3(0x1ae)](/\*/g,''),_0x11c2a0=_0x228eae[_0x5a04e3(0x1af)]?_0x5a04e3(0x1c5)+_0x228eae[_0x5a04e3(0x1af)][_0x5a04e3(0x1c0)]+']':'';return'['+_0x228eae[_0x5a04e3(0x1cf)]+']\x20'+_0x640bc1+_0x11c2a0;})[_0x1e8600(0x1e4)](';\x20');}export function renderDescription(_0x30ddb6,_0x373070){const _0x59de21=_0xbdb0;let _0x35adc6='';return _0x35adc6+=_0x30ddb6[_0x59de21(0x1c8)]('*')[_0x59de21(0x1c7)]((_0x24e1d4,_0x1f5e62)=>_0x1f5e62%0x2!=0x0?_0x59de21(0x1c9)+tn(_0x24e1d4)+_0x59de21(0x1dd):tn(_0x24e1d4))[_0x59de21(0x1e4)](''),_0x373070&&(_0x35adc6+=_0x59de21(0x1d6)+_0x373070[_0x59de21(0x1c0)]+_0x59de21(0x1bb)+_0x373070[_0x59de21(0x1e0)]+_0x59de21(0x1b2)),_0x35adc6;}function tn(_0x520473){const _0x2d4b78=_0xbdb0,_0x17dd77=document[_0x2d4b78(0x1cb)](_0x2d4b78(0x1b8));return _0x17dd77[_0x2d4b78(0x1db)]=_0x520473,_0x17dd77[_0x2d4b78(0x1d0)];}function _0x3389(){const _0x2d8403=['change','\x22\x20title=\x22','641183ipDzSF','130WASrSp','7ubZLIS','isInContent','value','sort','from','execute','63884ruBhGU','\x20[color\x20','push','map','split','<span\x20class=\x22ck-suggestion-type\x22>','attribute','createElement','end','59992IeFaxM','isIntersecting','type','innerHTML','start','36KEnHxi','deletion','3957186FMMqUp','isCollapsed','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','23073787RxzovI','createPositionAt','12AMhBBO','next','innerText','2252024pwKFFs','</span>','isTouching','getRanges','title','add','content','splice','join','createPositionBefore','isObject','replace','color','96kNqYSM','isArray','\x22></span>','length','createPositionAfter','isMultiRange','197310yCkCNv','createRange','span','schema'];_0x3389=function(){return _0x2d8403;};return _0x3389();}export function sortSuggestions(_0x25bfec){const _0x4876c7=_0xbdb0;return _0x25bfec[_0x4876c7(0x1c1)]((_0x326478,_0x2f80c6)=>_0x4876c7(0x1ca)===_0x326478[_0x4876c7(0x1cf)]&&_0x4876c7(0x1ca)!==_0x2f80c6[_0x4876c7(0x1cf)]?-0x1:_0x4876c7(0x1ca)!==_0x326478[_0x4876c7(0x1cf)]&&_0x4876c7(0x1ca)===_0x2f80c6[_0x4876c7(0x1cf)]?0x1:_0x4876c7(0x1d3)==_0x326478[_0x4876c7(0x1cf)]&&_0x4876c7(0x1d3)!=_0x2f80c6[_0x4876c7(0x1cf)]?-0x1:_0x4876c7(0x1d3)!=_0x326478[_0x4876c7(0x1cf)]&&_0x4876c7(0x1d3)==_0x2f80c6[_0x4876c7(0x1cf)]?0x1:0x0);}export function getSelectedSuggestions(_0x931cbe,_0x144cc2){const _0x375650=_0xbdb0,_0x39c3be=Array[_0x375650(0x1c2)](_0x931cbe[_0x375650(0x1df)]()),_0x1a02e2=new Set();for(const _0x9159e0 of _0x144cc2)if(_0x9159e0[_0x375650(0x1bf)]){for(const _0x2e68bc of _0x39c3be)for(const _0x27edbb of _0x9159e0[_0x375650(0x1df)]())(_0x2e68bc[_0x375650(0x1ce)](_0x27edbb)||_0x931cbe[_0x375650(0x1d5)]&&!_0x9159e0[_0x375650(0x1b5)]&&_0x9159e0[_0x375650(0x1da)]&&_0x27edbb[_0x375650(0x1cc)][_0x375650(0x1de)](_0x2e68bc[_0x375650(0x1d1)]))&&_0x1a02e2[_0x375650(0x1e1)](_0x9159e0);}return _0x1a02e2;}function _0xbdb0(_0x4fb9fa,_0x29af73){const _0x3389e4=_0x3389();return _0xbdb0=function(_0xbdb064,_0x2d668f){_0xbdb064=_0xbdb064-0x1ac;let _0xad0857=_0x3389e4[_0xbdb064];return _0xad0857;},_0xbdb0(_0x4fb9fa,_0x29af73);}export function getRangesOfBlockGroups(_0x1fe9cd,_0x54a2b0){const _0x5244a4=_0xbdb0;let _0x27dfbb,_0x5a0906=0x0;const _0x391f4c=[],_0xbddecb=_0x54a2b0[_0x5244a4(0x1b9)];for(;_0x5a0906<_0x1fe9cd[_0x5244a4(0x1b3)];){const _0x36c9f3=_0x1fe9cd[_0x5a0906],_0x2f025b=_0x1fe9cd[_0x5a0906+0x1];_0x27dfbb||(_0x27dfbb=_0x54a2b0[_0x5244a4(0x1ac)](_0x36c9f3)),nn(_0x54a2b0,_0x36c9f3,_0x2f025b)||(_0x391f4c[_0x5244a4(0x1c6)](_0x54a2b0[_0x5244a4(0x1b7)](_0x27dfbb,_0xbddecb[_0x5244a4(0x1ad)](_0x36c9f3)?_0x54a2b0[_0x5244a4(0x1b4)](_0x36c9f3):_0x54a2b0[_0x5244a4(0x1d8)](_0x36c9f3,_0x5244a4(0x1cc)))),_0x27dfbb=null),_0x5a0906++;}return _0x391f4c;}function nn(_0xd4978,_0x7a4aec,_0x111090){const _0x3584ea=_0xbdb0;if(!_0x111090)return!0x1;const _0x88cc07=_0xd4978[_0x3584ea(0x1b4)](_0x7a4aec),_0x429392=_0xd4978[_0x3584ea(0x1ac)](_0x111090);return _0x88cc07[_0x3584ea(0x1de)](_0x429392);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x5978d1,_0x288301,_0x5e304e){const _0x3dc57f=_0xbdb0;for(;_0x5e304e[_0x3dc57f(0x1b3)];){const _0x207d5f=_0x5e304e[_0x3dc57f(0x1e3)](0x0,0x64);_0x5978d1[_0x3dc57f(0x1ba)](()=>{const _0x1095b1=_0x3dc57f;for(const _0x5308fa of _0x207d5f)_0x5308fa[_0x1095b1(0x1bf)]&&_0x288301[_0x1095b1(0x1c3)](_0x5308fa['id']);});}}
|