@ckeditor/ckeditor5-revision-history 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/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/package.json +11 -11
- package/src/revisionsrepository.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37038a,_0x2c35c4){const _0x32c4e3=_0x4c3f,_0x3edf1a=_0x37038a();while(!![]){try{const _0x750184=parseInt(_0x32c4e3(0x1c0))/0x1*(-parseInt(_0x32c4e3(0x1c7))/0x2)+parseInt(_0x32c4e3(0x1c4))/0x3+parseInt(_0x32c4e3(0x1c6))/0x4*(parseInt(_0x32c4e3(0x1c9))/0x5)+-parseInt(_0x32c4e3(0x1c5))/0x6*(parseInt(_0x32c4e3(0x1c1))/0x7)+-parseInt(_0x32c4e3(0x1be))/0x8*(parseInt(_0x32c4e3(0x1cd))/0x9)+parseInt(_0x32c4e3(0x1bd))/0xa*(-parseInt(_0x32c4e3(0x1bf))/0xb)+parseInt(_0x32c4e3(0x1bb))/0xc*(parseInt(_0x32c4e3(0x1ca))/0xd);if(_0x750184===_0x2c35c4)break;else _0x3edf1a['push'](_0x3edf1a['shift']());}catch(_0x3fc5ce){_0x3edf1a['push'](_0x3edf1a['shift']());}}}(_0x333f,0x602a1));import{View as _0x24a7fa,IconView as _0x3775a2}from'ckeditor5/src/ui.js';function _0x4c3f(_0x5f03cf,_0x1d5b30){const _0x333f80=_0x333f();return _0x4c3f=function(_0x4c3fab,_0x3cd460){_0x4c3fab=_0x4c3fab-0x1bb;let _0x56199f=_0x333f80[_0x4c3fab];return _0x56199f;},_0x4c3f(_0x5f03cf,_0x1d5b30);}import{getTranslation as _0x1103c8}from'../../utils/common-translations.js';import{IconHistory as _0x3b08b0}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x333f(){const _0x2908ca=['3754058zHIgJX','ck-revision-history-sidebar__header__label','ck-reset_all','1548867akVVPQ','6yoiZLs','266460yUxOrB','83702zmWHCD','div','20vMzoqc','26CdSGsF','ck-revision-history-sidebar__header','span','3755952eHwFQo','Revision\x20history','content','7029096PkWyvi','setTemplate','70EubCaH','8eqeaUS','756173zXnAgp','3MCtaQb'];_0x333f=function(){return _0x2908ca;};return _0x333f();}export class RevisionsSidebarHeaderView extends _0x24a7fa{constructor(_0x395302){const _0x50749b=_0x4c3f;super(_0x395302);const _0x1d6fe6=new _0x3775a2();_0x1d6fe6[_0x50749b(0x1cf)]=_0x3b08b0,this[_0x50749b(0x1bc)]({'tag':_0x50749b(0x1c8),'attributes':{'class':['ck',_0x50749b(0x1c3),_0x50749b(0x1cb)]},'children':[_0x1d6fe6,{'tag':_0x50749b(0x1cc),'attributes':{'class':['ck',_0x50749b(0x1c2)]},'children':[_0x1103c8(_0x395302,_0x50749b(0x1ce))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x372c(_0x2dec04,_0x2f769e){const _0xa579f5=_0xa579();return _0x372c=function(_0x372ca2,_0x4f62e8){_0x372ca2=_0x372ca2-0x121;let _0xae2036=_0xa579f5[_0x372ca2];return _0xae2036;},_0x372c(_0x2dec04,_0x2f769e);}function _0xa579(){const _0x17f3aa=['ck-revision-history-sidebar__time-period','5146672fqWvVy','localizedPeriodName','div','uiLanguage','select','span','ck-revision-history-sidebar__time-period__label','445613XRvBzc','setTemplate','delegate','remove','14894McNboa','260118wUYxdv','_revisionActions','1312826eiaCGp','72NjwknB','52270YEjXWj','6097445JySyKF','startDate','add','setName','8nPADic','addRevision','_requireRevisionName','createCollection','ck-revision-history-sidebar__time-period__revisions','6810120EBEyAX','revisionViews','locale','find','removeRevision','22eQLOUQ'];_0xa579=function(){return _0x17f3aa;};return _0xa579();}const _0x5287f0=_0x372c;(function(_0x5ce0bb,_0x214ab2){const _0x57af4d=_0x372c,_0x3fbd0d=_0x5ce0bb();while(!![]){try{const _0x76c079=-parseInt(_0x57af4d(0x122))/0x1+-parseInt(_0x57af4d(0x133))/0x2*(parseInt(_0x57af4d(0x141))/0x3)+-parseInt(_0x57af4d(0x135))/0x4+-parseInt(_0x57af4d(0x125))/0x5+parseInt(_0x57af4d(0x123))/0x6*(-parseInt(_0x57af4d(0x13c))/0x7)+-parseInt(_0x57af4d(0x129))/0x8*(parseInt(_0x57af4d(0x12e))/0x9)+parseInt(_0x57af4d(0x124))/0xa*(parseInt(_0x57af4d(0x140))/0xb);if(_0x76c079===_0x214ab2)break;else _0x3fbd0d['push'](_0x3fbd0d['shift']());}catch(_0x355d52){_0x3fbd0d['push'](_0x3fbd0d['shift']());}}}(_0xa579,0xbf695));import{View as _0x35dd9d}from'ckeditor5/src/ui.js';import{RevisionView as _0x203b72}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x21ac08}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x35dd9d{[_0x5287f0(0x126)];[_0x5287f0(0x12f)];[_0x5287f0(0x121)];[_0x5287f0(0x12b)];constructor(_0xdd3c84,_0x10d69f,_0x278abf,_0x97101f){const _0x457069=_0x5287f0;super(_0xdd3c84);const _0x41f9db=_0x21ac08(_0x10d69f,this[_0x457069(0x130)][_0x457069(0x138)])[_0x457069(0x136)];this[_0x457069(0x126)]=_0x10d69f,this[_0x457069(0x12f)]=this[_0x457069(0x12c)](),this[_0x457069(0x121)]=_0x278abf,this[_0x457069(0x12b)]=_0x97101f,this[_0x457069(0x12f)][_0x457069(0x13e)](_0x457069(0x139))['to'](this),this[_0x457069(0x12f)][_0x457069(0x13e)](_0x457069(0x128))['to'](this),this[_0x457069(0x13d)]({'tag':_0x457069(0x137),'attributes':{'class':['ck',_0x457069(0x134)]},'children':[{'tag':_0x457069(0x13a),'attributes':{'class':['ck',_0x457069(0x13b)]},'children':[{'text':_0x41f9db}]},{'tag':_0x457069(0x137),'attributes':{'class':['ck',_0x457069(0x12d)]},'children':this[_0x457069(0x12f)]}]});}[_0x5287f0(0x12a)](_0x5812be){const _0x562ff1=_0x5287f0,_0x35d8f4=new _0x203b72(this[_0x562ff1(0x130)],_0x5812be,this[_0x562ff1(0x121)],this[_0x562ff1(0x12b)]);this[_0x562ff1(0x12f)][_0x562ff1(0x127)](_0x35d8f4);}[_0x5287f0(0x132)](_0x5f1145){const _0x7b74b6=_0x5287f0,_0x2f4240=this[_0x7b74b6(0x12f)][_0x7b74b6(0x131)](_0x2e67cb=>_0x2e67cb['id']===_0x5f1145['id']);this[_0x7b74b6(0x12f)][_0x7b74b6(0x13f)](_0x2f4240);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31a416=_0x2434;(function(_0x1d549d,_0x44af23){const _0xc51280=_0x2434,_0x36dac5=_0x1d549d();while(!![]){try{const _0x3cc9ed=-parseInt(_0xc51280(0x12c))/0x1*(parseInt(_0xc51280(0x108))/0x2)+-parseInt(_0xc51280(0x115))/0x3+-parseInt(_0xc51280(0x112))/0x4*(parseInt(_0xc51280(0x12a))/0x5)+parseInt(_0xc51280(0x10d))/0x6+-parseInt(_0xc51280(0x117))/0x7*(parseInt(_0xc51280(0x136))/0x8)+parseInt(_0xc51280(0x11b))/0x9+parseInt(_0xc51280(0x132))/0xa;if(_0x3cc9ed===_0x44af23)break;else _0x36dac5['push'](_0x36dac5['shift']());}catch(_0x49b562){_0x36dac5['push'](_0x36dac5['shift']());}}}(_0x4882,0x5abaa));import{View as _0x90647e}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x45145b}from'./revisionssidebartimeperiodview.js';function _0x2434(_0x69c7bd,_0x1b0444){const _0x488265=_0x4882();return _0x2434=function(_0x2434bf,_0x241cfc){_0x2434bf=_0x2434bf-0x102;let _0x55236b=_0x488265[_0x2434bf];return _0x55236b;},_0x2434(_0x69c7bd,_0x1b0444);}import{RevisionsSidebarHeaderView as _0x3d4b73}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x346cf0}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x90647e{[_0x31a416(0x129)];[_0x31a416(0x123)];[_0x31a416(0x133)];[_0x31a416(0x10a)];constructor(_0x33d408,_0x2bb852,_0x5c795b,_0x33b084){const _0x231a6a=_0x31a416;super(_0x33d408);const _0x4246c6=this[_0x231a6a(0x138)];this[_0x231a6a(0x129)]=this[_0x231a6a(0x110)](),this[_0x231a6a(0x129)][_0x231a6a(0x10c)](_0x231a6a(0x11e))['to'](this),this[_0x231a6a(0x129)][_0x231a6a(0x10c)](_0x231a6a(0x12e))['to'](this),this[_0x231a6a(0x123)]=_0x2bb852,this[_0x231a6a(0x133)]=_0x5c795b,this[_0x231a6a(0x10a)]=_0x33b084,this['on'](_0x231a6a(0x11e),(_0xdd9c46,_0x2957a0)=>{const _0x21679d=_0x231a6a;this[_0x21679d(0x121)](_0x21679d(0x12f),_0x2957a0);}),this['on'](_0x231a6a(0x12e),(_0x392ae4,_0x51f35a)=>{const _0x38d01c=_0x231a6a;this[_0x38d01c(0x121)](_0x38d01c(0x137),_0x51f35a);}),this[_0x231a6a(0x131)](_0x231a6a(0x11a),!0x1),this[_0x231a6a(0x102)]({'tag':_0x231a6a(0x125),'attributes':{'class':['ck',_0x231a6a(0x130),_0x231a6a(0x116),_0x231a6a(0x118)]},'children':[new _0x3d4b73(_0x33d408),{'tag':_0x231a6a(0x125),'attributes':{'class':['ck',_0x231a6a(0x122),_0x4246c6['if'](_0x231a6a(0x11a),_0x231a6a(0x107),_0x54bffd=>!_0x54bffd)]},'children':this[_0x231a6a(0x129)]}]});}[_0x31a416(0x12b)](){const _0x4fc9f1=_0x31a416;super[_0x4fc9f1(0x12b)]();for(const _0x109e63 of this[_0x4fc9f1(0x123)])this[_0x4fc9f1(0x106)](_0x109e63);this[_0x4fc9f1(0x123)]['on'](_0x4fc9f1(0x109),(_0x125271,_0x134d55)=>{const _0x1a527c=_0x4fc9f1;this[_0x1a527c(0x106)](_0x134d55);}),this[_0x4fc9f1(0x123)]['on'](_0x4fc9f1(0x124),(_0x35b262,_0x5b219f)=>{const _0x2d4c79=_0x4fc9f1;this[_0x2d4c79(0x127)](_0x5b219f);});}get[_0x31a416(0x10b)](){const _0x380ac9=_0x31a416;return this[_0x380ac9(0x129)][_0x380ac9(0x103)](_0x4ce421=>_0x4ce421[_0x380ac9(0x10b)][_0x380ac9(0x103)](_0x1d792e=>_0x1d792e))[_0x380ac9(0x11d)]();}[_0x31a416(0x11f)](_0x51d18c){const _0x3b3ab9=_0x31a416;for(const _0x5d49ca of this[_0x3b3ab9(0x10b)])_0x51d18c&&_0x51d18c['id']===_0x5d49ca['id']?_0x5d49ca[_0x3b3ab9(0x11e)]():_0x5d49ca[_0x3b3ab9(0x120)]();}[_0x31a416(0x134)](_0x5b84e9){const _0xeea8ed=_0x31a416;for(const _0x2074ad of this[_0xeea8ed(0x10b)])_0x5b84e9[_0xeea8ed(0x135)](({id:_0x52bca6})=>_0x52bca6===_0x2074ad['id'])?_0x2074ad[_0xeea8ed(0x128)]():_0x2074ad[_0xeea8ed(0x113)]();}[_0x31a416(0x106)](_0x17bdf8){const _0x37d85f=_0x31a416,_0x1a909e=_0x346cf0(_0x17bdf8[_0x37d85f(0x10f)],this[_0x37d85f(0x104)][_0x37d85f(0x119)])[_0x37d85f(0x11c)];let _0x5433b1=this[_0x37d85f(0x129)][_0x37d85f(0x126)](0x0);_0x5433b1&&_0x5433b1[_0x37d85f(0x11c)][_0x37d85f(0x105)]()===_0x1a909e[_0x37d85f(0x105)]()||(_0x5433b1=new _0x45145b(this[_0x37d85f(0x104)],_0x1a909e,this[_0x37d85f(0x133)],this[_0x37d85f(0x10a)]),this[_0x37d85f(0x129)][_0x37d85f(0x109)](_0x5433b1)),_0x5433b1[_0x37d85f(0x114)](_0x17bdf8);}[_0x31a416(0x127)](_0x29283e){const _0x19e37c=_0x31a416,_0x25bf66=_0x346cf0(_0x29283e[_0x19e37c(0x10f)],this[_0x19e37c(0x104)][_0x19e37c(0x119)])[_0x19e37c(0x11c)];this[_0x19e37c(0x12d)](_0x25bf66)[_0x19e37c(0x10e)](_0x29283e);}[_0x31a416(0x12d)](_0x5c46a5){const _0x379c46=_0x31a416;return this[_0x379c46(0x129)][_0x379c46(0x111)](_0x3ecaf3=>_0x3ecaf3[_0x379c46(0x11c)][_0x379c46(0x105)]()===_0x5c46a5[_0x379c46(0x105)]());}}function _0x4882(){const _0x3ee45f=['166050Pzaedd','ck-rounded-corners','551516wguxvL','ck-revision-history-sidebar','uiLanguage','isEnabled','967302yssSvk','startDate','flat','select','selectRevision','deselect','fire','ck-revision-history-sidebar__timeline','_revisions','remove','div','get','_removeRevision','highlight','timePeriodViews','230uWOaMk','render','564181rHfnaw','_getTimePeriodViewByStartDate','setName','revisionSelected','ck-reset','set','12037730VCjVxu','_revisionActions','highlightRevisions','some','8qcaykQ','revisionSetName','bindTemplate','setTemplate','map','locale','getTime','_addRevision','ck-disabled','2pXXsDf','add','_requireRevisionName','revisionViews','delegate','841032XeJiIZ','removeRevision','createdAt','createCollection','find','33172tmBFlp','unhighlight','addRevision'];_0x4882=function(){return _0x3ee45f;};return _0x4882();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5bad07=_0x4db7;function _0x4a1e(){const _0x502fd0=['element','6hvRyrf','setTemplate','Removed\x20by','add','div','ck-revision-change__label','2861630Cskjxd','442206vyKlId','bindTemplate','span','104zAwpPK','ck-annotation','_model','1651615AAYeog','875859wyJKdf','Added\x20by','859240vEWGnm','name','65241EEhRPU','isSuggestion','focus','data','ck-revision-change__','changeId','376277KMnnmi','Suggested\x20by','set','ck-revision-change','author','type'];_0x4a1e=function(){return _0x502fd0;};return _0x4a1e();}(function(_0x5dcd1a,_0x55515a){const _0x59818c=_0x4db7,_0x36b71c=_0x5dcd1a();while(!![]){try{const _0x17bede=parseInt(_0x59818c(0xf4))/0x1+-parseInt(_0x59818c(0xe3))/0x2+parseInt(_0x59818c(0xea))/0x3+parseInt(_0x59818c(0xec))/0x4+-parseInt(_0x59818c(0xe2))/0x5+-parseInt(_0x59818c(0xfb))/0x6*(-parseInt(_0x59818c(0xe9))/0x7)+-parseInt(_0x59818c(0xe6))/0x8*(-parseInt(_0x59818c(0xee))/0x9);if(_0x17bede===_0x55515a)break;else _0x36b71c['push'](_0x36b71c['shift']());}catch(_0x570128){_0x36b71c['push'](_0x36b71c['shift']());}}}(_0x4a1e,0x667d1));import{View as _0x555a59}from'ckeditor5/src/ui.js';function _0x4db7(_0x388857,_0x45715a){const _0x4a1ece=_0x4a1e();return _0x4db7=function(_0x4db7f9,_0x1a3d58){_0x4db7f9=_0x4db7f9-0xde;let _0x5ce0bf=_0x4a1ece[_0x4db7f9];return _0x5ce0bf;},_0x4db7(_0x388857,_0x45715a);}import{getTranslation as _0x19e2b8}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x555a59{[_0x5bad07(0xf3)];[_0x5bad07(0xe8)];constructor(_0x5f3933,_0x444490){const _0x45c826=_0x5bad07;super(_0x5f3933),this[_0x45c826(0xe8)]=_0x444490,this[_0x45c826(0xf3)]=_0x444490['id'];const _0x1c1588=this[_0x45c826(0xe4)],_0x2c02bf=_0x19e2b8(_0x5f3933,_0x444490[_0x45c826(0xf1)][_0x45c826(0xef)]?_0x45c826(0xf5):_0x45c826(0xdf)==_0x444490[_0x45c826(0xf9)]?_0x45c826(0xeb):_0x45c826(0xde));this[_0x45c826(0xf6)](_0x45c826(0xf9),_0x444490[_0x45c826(0xf9)]),this[_0x45c826(0xfc)]({'tag':_0x45c826(0xe0),'attributes':{'class':[_0x45c826(0xe7),_0x45c826(0xf7),_0x1c1588['to'](_0x45c826(0xf9),_0x2b7589=>_0x45c826(0xf2)+_0x2b7589)],'tabindex':-0x1},'children':[{'tag':_0x45c826(0xe5),'children':[{'tag':_0x45c826(0xe5),'attributes':{'class':[_0x45c826(0xe1)]},'children':[{'text':_0x2c02bf}]},{'text':'\x20'+_0x444490[_0x45c826(0xf8)][_0x45c826(0xed)]}]}]});}[_0x5bad07(0xf0)](){const _0x12eaba=_0x5bad07;this[_0x12eaba(0xfa)][_0x12eaba(0xf0)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54e7a5,_0x410621){const _0x4b7349=_0x37e1,_0x24d0c4=_0x54e7a5();while(!![]){try{const _0x8e2b30=-parseInt(_0x4b7349(0x1e4))/0x1*(-parseInt(_0x4b7349(0x1c5))/0x2)+-parseInt(_0x4b7349(0x1ce))/0x3*(parseInt(_0x4b7349(0x1d3))/0x4)+parseInt(_0x4b7349(0x1cf))/0x5+-parseInt(_0x4b7349(0x1e0))/0x6*(-parseInt(_0x4b7349(0x1ec))/0x7)+-parseInt(_0x4b7349(0x1c3))/0x8*(parseInt(_0x4b7349(0x1ea))/0x9)+parseInt(_0x4b7349(0x1d0))/0xa*(parseInt(_0x4b7349(0x1de))/0xb)+-parseInt(_0x4b7349(0x1ed))/0xc*(parseInt(_0x4b7349(0x1e9))/0xd);if(_0x8e2b30===_0x410621)break;else _0x24d0c4['push'](_0x24d0c4['shift']());}catch(_0x37e44e){_0x24d0c4['push'](_0x24d0c4['shift']());}}}(_0x351b,0xe4f66));import{View as _0x27f1c9,ButtonView as _0x320e92,ToolbarSeparatorView as _0x4fb171}from'ckeditor5/src/ui.js';function _0x351b(){const _0x4f4f81=['Show\x20next\x20change','div','203096ZSSeAp','ck-revision-history-ui__changes-navigation','isEnabled','ck-revision-history-ui','Show\x20previous\x20change','ck-revision-history-ui__changes-navigation__wrapper','execute','currentChangeNumber','set','_isStatusLabelVisible','EDIT_X_OF_Y_REVISIONS','869EuFHoK','forward','8970060mWGRRI','bindTemplate','Total','numberOfChanges','42280GAnadC','X_OF_Y_CHANGES','fire','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__navigation','13syqIOS','110547AZnDkW','isForwardNavigationEnabled','7oTkTap','40954764oGHUXi','setTemplate','isBackwardNavigationEnabled','ck-hidden','136PDxEGw','backward','20dTdiOQ','_statusText','isReady','span','No\x20changes','Loading...','isNavigationMode','ck-revision-history-ui__changes-navigation__label','bind','9uqBtTt','4882485YHqall','230070dWvRGn'];_0x351b=function(){return _0x4f4f81;};return _0x351b();}import{IconChevronUp as _0x51e07d,IconChevronDown as _0x1d4a37}from'ckeditor5/src/icons.js';import{getTranslation as _0x4c0e5c}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x37e1(_0x423ca5,_0x104550){const _0x351bd9=_0x351b();return _0x37e1=function(_0x37e1f2,_0x3ca78c){_0x37e1f2=_0x37e1f2-0x1c1;let _0x443212=_0x351bd9[_0x37e1f2];return _0x443212;},_0x37e1(_0x423ca5,_0x104550);}export class ChangesNavigationView extends _0x27f1c9{constructor(_0x1718d5){const _0x539e9a=_0x37e1;super(_0x1718d5);const _0x13f07d=this[_0x539e9a(0x1e1)],_0x463c2f=new _0x320e92(_0x1718d5),_0x25a76e=new _0x320e92(_0x1718d5);this[_0x539e9a(0x1db)](_0x539e9a(0x1cb),!0x1),this[_0x539e9a(0x1db)](_0x539e9a(0x1c7),!0x1),this[_0x539e9a(0x1db)](_0x539e9a(0x1da),0x0),this[_0x539e9a(0x1db)](_0x539e9a(0x1e3),0x0),this[_0x539e9a(0x1db)](_0x539e9a(0x1eb),!0x1),this[_0x539e9a(0x1db)](_0x539e9a(0x1c1),!0x1),this[_0x539e9a(0x1cd)](_0x539e9a(0x1dc))['to'](this,_0x539e9a(0x1c7),this,_0x539e9a(0x1e3),(_0x4f53fc,_0x37e49a)=>_0x4f53fc&&_0x37e49a>0x0),this[_0x539e9a(0x1cd)](_0x539e9a(0x1c6))['to'](this,_0x539e9a(0x1c7),this,_0x539e9a(0x1da),this,_0x539e9a(0x1e3),this,_0x539e9a(0x1cb),(_0x1bf14e,_0x2437c8,_0x4e2065,_0x584c73)=>{const _0x25ab2f=_0x539e9a;if(!_0x1bf14e)return _0x4c0e5c(_0x1718d5,_0x25ab2f(0x1ca));if(!_0x4e2065)return _0x4c0e5c(_0x1718d5,_0x25ab2f(0x1c9));const _0x39f38a=_0x4c0e5c(_0x1718d5,_0x25ab2f(0x1e7),_0x4e2065);return _0x584c73?_0x4c0e5c(_0x1718d5,_0x25ab2f(0x1e5),[_0x2437c8+0x1,_0x4e2065]):_0x39f38a;}),_0x463c2f[_0x539e9a(0x1db)]({'label':_0x4c0e5c(_0x1718d5,_0x539e9a(0x1d7)),'tooltip':!0x0,'icon':_0x51e07d}),_0x25a76e[_0x539e9a(0x1db)]({'label':_0x4c0e5c(_0x1718d5,_0x539e9a(0x1d1)),'tooltip':!0x0,'icon':_0x1d4a37}),_0x463c2f[_0x539e9a(0x1cd)](_0x539e9a(0x1d5))['to'](this,_0x539e9a(0x1c1)),_0x25a76e[_0x539e9a(0x1cd)](_0x539e9a(0x1d5))['to'](this,_0x539e9a(0x1eb)),_0x463c2f['on'](_0x539e9a(0x1d9),()=>this[_0x539e9a(0x1e6)](_0x539e9a(0x1d9),_0x539e9a(0x1c4))),_0x25a76e['on'](_0x539e9a(0x1d9),()=>this[_0x539e9a(0x1e6)](_0x539e9a(0x1d9),_0x539e9a(0x1df))),this[_0x539e9a(0x1ee)]({'tag':_0x539e9a(0x1d2),'attributes':{'class':['ck',_0x539e9a(0x1d6),_0x539e9a(0x1d4)]},'children':[{'tag':_0x539e9a(0x1c8),'attributes':{'class':[_0x539e9a(0x1d8)]},'children':[{'tag':_0x539e9a(0x1c8),'attributes':{'class':[_0x539e9a(0x1cc),_0x13f07d['if'](_0x539e9a(0x1dc),_0x539e9a(0x1c2),_0xbf564e=>!_0xbf564e)]},'children':[{'text':_0x13f07d['to'](_0x539e9a(0x1cb),_0x44c00b=>_0x44c00b?_0x4c0e5c(_0x1718d5,_0x539e9a(0x1dd))+':\x20':_0x4c0e5c(_0x1718d5,_0x539e9a(0x1e2))+':\x20')}]},{'text':_0x13f07d['to'](_0x539e9a(0x1c6))}]},new _0x4fb171(),{'tag':_0x539e9a(0x1d2),'attributes':{'class':[_0x539e9a(0x1e8)]},'children':[_0x463c2f,_0x25a76e]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2cc6(){const _0x5afbbb=['bind','set','commands','isBackwardNavigationEnabled','hide','266783YPqHbx','listenTo','forward','RevisionViewerUI','currentChangeNumber','showNextChange','isReady','add','changesNavigation','pluginName','show','editor','change:isReady','isForwardNavigationEnabled','isNavigationMode','16qfydGo','componentFactory','ck-revision-history-ui__back-to-editing','config','590478BezYla','closeRevisionViewerCallback','plugins','10ffelrG','numberOfChanges','Restore\x20this\x20revision','30POMOTT','1869728xYoaEq','restoreRevision','Back\x20to\x20editing','20NKtTqB','execute','228eikYxe','init','get','65418TYEuXk','isPremiumPlugin','requires','isOfficialPlugin','isEnabled','1702269eeAoXC','revisionHistory','exitToEditing','407076QfiRUp','showPreviousChange','2437674zcjVFk'];_0x2cc6=function(){return _0x5afbbb;};return _0x2cc6();}const _0x252f58=_0x4b62;function _0x4b62(_0x14d905,_0x167469){const _0x2cc6dd=_0x2cc6();return _0x4b62=function(_0x4b624c,_0x2df811){_0x4b624c=_0x4b624c-0x86;let _0x5ad77b=_0x2cc6dd[_0x4b624c];return _0x5ad77b;},_0x4b62(_0x14d905,_0x167469);}(function(_0x21c111,_0x56b06c){const _0xe896b6=_0x4b62,_0xe4c0d2=_0x21c111();while(!![]){try{const _0x15ecc0=parseInt(_0xe896b6(0x95))/0x1+parseInt(_0xe896b6(0x98))/0x2*(-parseInt(_0xe896b6(0xa4))/0x3)+-parseInt(_0xe896b6(0xac))/0x4*(parseInt(_0xe896b6(0x9f))/0x5)+-parseInt(_0xe896b6(0xae))/0x6+-parseInt(_0xe896b6(0x9c))/0x7*(-parseInt(_0xe896b6(0x91))/0x8)+-parseInt(_0xe896b6(0xa9))/0x9*(-parseInt(_0xe896b6(0x9b))/0xa)+-parseInt(_0xe896b6(0xb4))/0xb*(parseInt(_0xe896b6(0xa1))/0xc);if(_0x15ecc0===_0x56b06c)break;else _0xe4c0d2['push'](_0xe4c0d2['shift']());}catch(_0x5c6d6d){_0xe4c0d2['push'](_0xe4c0d2['shift']());}}}(_0x2cc6,0x4b6b5));import{Plugin as _0x1e4806}from'ckeditor5/src/core.js';import{ButtonView as _0x525be8}from'ckeditor5/src/ui.js';import{IconUndo as _0x1c59c7}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x2d2f46}from'./changesnavigationview.js';import{RevisionViewer as _0xcea859}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x96c575}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3dcb42}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x1e4806{static get[_0x252f58(0x8b)](){const _0x15a5e5=_0x252f58;return _0x15a5e5(0xb7);}static get[_0x252f58(0xa7)](){return!0x0;}static get[_0x252f58(0xa5)](){return!0x0;}static get[_0x252f58(0xa6)](){return[_0xcea859,_0x96c575];}[_0x252f58(0xa2)](){const _0x4323c3=_0x252f58,_0x17991e=this[_0x4323c3(0x8d)],_0x3ef3c6=_0x17991e[_0x4323c3(0x97)][_0x4323c3(0xa3)](_0xcea859),_0x5b43dd=_0x17991e[_0x4323c3(0x97)][_0x4323c3(0xa3)](_0x96c575);_0x17991e['ui'][_0x4323c3(0x92)][_0x4323c3(0x89)](_0x4323c3(0xab),_0x5b77d6=>{const _0x4b73cd=_0x4323c3,_0x2e1a27=new _0x525be8(_0x5b77d6);return _0x2e1a27[_0x4b73cd(0xb0)]({'label':_0x3dcb42(_0x5b77d6,_0x4b73cd(0x9e)),'icon':_0x1c59c7,'withText':!0x0,'tooltip':!0x0,'class':_0x4b73cd(0x93)}),this[_0x4b73cd(0xb5)](_0x2e1a27,_0x4b73cd(0xa0),()=>{const _0x42ec25=_0x4b73cd;_0x17991e[_0x42ec25(0x94)][_0x42ec25(0xa3)](_0x42ec25(0xaa))[_0x42ec25(0x96)]();}),_0x2e1a27;}),_0x17991e['ui'][_0x4323c3(0x92)][_0x4323c3(0x89)](_0x4323c3(0x9d),_0x2c7d63=>{const _0xa7c59c=_0x4323c3,_0x26ab1e=new _0x525be8(_0x2c7d63);return _0x26ab1e[_0xa7c59c(0xb0)]({'label':_0x3dcb42(_0x2c7d63,_0xa7c59c(0x9a)),'withText':!0x0,'tooltip':!0x0}),_0x26ab1e[_0xa7c59c(0xaf)](_0xa7c59c(0xa8))['to'](_0x17991e[_0xa7c59c(0xb1)][_0xa7c59c(0xa3)](_0xa7c59c(0x9d))),this[_0xa7c59c(0xb5)](_0x26ab1e,_0xa7c59c(0xa0),()=>_0x17991e[_0xa7c59c(0xa0)](_0xa7c59c(0x9d))),_0x26ab1e;}),_0x17991e['ui'][_0x4323c3(0x92)][_0x4323c3(0x89)](_0x4323c3(0x8a),_0xf07c99=>{const _0x1a82a3=_0x4323c3,_0x2d1811=new _0x2d2f46(_0xf07c99),_0x4d5098=_0x17991e[_0x1a82a3(0xb1)][_0x1a82a3(0xa3)](_0x1a82a3(0xad)),_0xee60e=_0x17991e[_0x1a82a3(0xb1)][_0x1a82a3(0xa3)](_0x1a82a3(0x87));return _0x2d1811[_0x1a82a3(0xaf)](_0x1a82a3(0xb2))['to'](_0x4d5098,_0x1a82a3(0xa8)),_0x2d1811[_0x1a82a3(0xaf)](_0x1a82a3(0x8f))['to'](_0xee60e,_0x1a82a3(0xa8)),_0x2d1811[_0x1a82a3(0xaf)](_0x1a82a3(0x88),_0x1a82a3(0x86),_0x1a82a3(0x99),_0x1a82a3(0x90))['to'](_0x3ef3c6),this[_0x1a82a3(0xb5)](_0x2d1811,_0x1a82a3(0xa0),(_0x424c2e,_0x10eba8)=>{const _0x56e324=_0x1a82a3;_0x17991e[_0x56e324(0xa0)](_0x56e324(0xb6)===_0x10eba8?_0x56e324(0x87):_0x56e324(0xad));}),_0x2d1811;}),_0x5b43dd[_0x4323c3(0x8c)](),_0x3ef3c6['on'](_0x4323c3(0x8e),(_0xf3587b,_0x23ad5a,_0x570e99)=>{const _0x5b0f95=_0x4323c3;_0x570e99?_0x5b43dd[_0x5b0f95(0xb3)]():_0x5b43dd[_0x5b0f95(0x8c)]();});}}
|