@ckeditor/ckeditor5-revision-history 47.4.0-alpha.5 → 47.4.0-alpha.6
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 +12 -12
- 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 _0x379a(){const _0x23e63b=['930rJzBsx','2881522dicPUc','85vldaqL','290PtKBAj','Revision\x20history','ck-revision-history-sidebar__header__label','16SRAMjr','div','195484XqjXTK','setTemplate','content','2220912ivUuQC','343002nvRyKl','297286XxJCoA','1915653nvZTKN','ck-revision-history-sidebar__header','span','ck-reset_all','6553wBrsxR'];_0x379a=function(){return _0x23e63b;};return _0x379a();}(function(_0x568d8d,_0x554850){const _0x4cc973=_0x20f3,_0x10db4a=_0x568d8d();while(!![]){try{const _0x4782e3=-parseInt(_0x4cc973(0x127))/0x1*(parseInt(_0x4cc973(0x118))/0x2)+-parseInt(_0x4cc973(0x123))/0x3+parseInt(_0x4cc973(0x11d))/0x4*(-parseInt(_0x4cc973(0x12a))/0x5)+-parseInt(_0x4cc973(0x121))/0x6+-parseInt(_0x4cc973(0x129))/0x7*(-parseInt(_0x4cc973(0x11b))/0x8)+-parseInt(_0x4cc973(0x120))/0x9+-parseInt(_0x4cc973(0x128))/0xa*(-parseInt(_0x4cc973(0x122))/0xb);if(_0x4782e3===_0x554850)break;else _0x10db4a['push'](_0x10db4a['shift']());}catch(_0x2487df){_0x10db4a['push'](_0x10db4a['shift']());}}}(_0x379a,0x95b70));import{View as _0x177cc6,IconView as _0x5a382d}from'ckeditor5/src/ui.js';import{getTranslation as _0x49ac0b}from'../../utils/common-translations.js';import{IconHistory as _0x2617b0}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x20f3(_0x3a779d,_0x3f81c4){const _0x379a52=_0x379a();return _0x20f3=function(_0x20f3a0,_0x412850){_0x20f3a0=_0x20f3a0-0x118;let _0x45d82d=_0x379a52[_0x20f3a0];return _0x45d82d;},_0x20f3(_0x3a779d,_0x3f81c4);}export class RevisionsSidebarHeaderView extends _0x177cc6{constructor(_0x38f6d0){const _0x4b0041=_0x20f3;super(_0x38f6d0);const _0x242da9=new _0x5a382d();_0x242da9[_0x4b0041(0x11f)]=_0x2617b0,this[_0x4b0041(0x11e)]({'tag':_0x4b0041(0x11c),'attributes':{'class':['ck',_0x4b0041(0x126),_0x4b0041(0x124)]},'children':[_0x242da9,{'tag':_0x4b0041(0x125),'attributes':{'class':['ck',_0x4b0041(0x11a)]},'children':[_0x49ac0b(_0x38f6d0,_0x4b0041(0x119))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x57dd23=_0x38e1;(function(_0x2a80b1,_0x1d5d79){const _0x449ccb=_0x38e1,_0x24e58d=_0x2a80b1();while(!![]){try{const _0x15fba5=parseInt(_0x449ccb(0x154))/0x1*(-parseInt(_0x449ccb(0x152))/0x2)+-parseInt(_0x449ccb(0x159))/0x3+-parseInt(_0x449ccb(0x14c))/0x4+-parseInt(_0x449ccb(0x14d))/0x5*(parseInt(_0x449ccb(0x140))/0x6)+parseInt(_0x449ccb(0x153))/0x7*(-parseInt(_0x449ccb(0x14b))/0x8)+parseInt(_0x449ccb(0x161))/0x9*(parseInt(_0x449ccb(0x160))/0xa)+-parseInt(_0x449ccb(0x14e))/0xb*(-parseInt(_0x449ccb(0x14f))/0xc);if(_0x15fba5===_0x1d5d79)break;else _0x24e58d['push'](_0x24e58d['shift']());}catch(_0x2402a2){_0x24e58d['push'](_0x24e58d['shift']());}}}(_0x4110,0x7d717));function _0x4110(){const _0x49d57e=['233653OhPcbN','removeRevision','find','startDate','ck-revision-history-sidebar__time-period__revisions','997428IBGtgf','ck-revision-history-sidebar__time-period__label','select','div','setTemplate','localizedPeriodName','span','39170TMBdjy','1413toSjkA','69864pPIEYS','createCollection','remove','revisionViews','locale','delegate','add','uiLanguage','_revisionActions','_requireRevisionName','addRevision','1346160yxZvPS','3252644IZoPzV','60tnWTKj','9053OCENrE','36348hMPSaf','ck-revision-history-sidebar__time-period','setName','4DVDwNl','35dctMvm'];_0x4110=function(){return _0x49d57e;};return _0x4110();}import{View as _0x59e6a6}from'ckeditor5/src/ui.js';import{RevisionView as _0x1c802f}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x1d7c91}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';function _0x38e1(_0x59fd3b,_0x4190d1){const _0x4110f2=_0x4110();return _0x38e1=function(_0x38e191,_0x57341a){_0x38e191=_0x38e191-0x140;let _0xa9389=_0x4110f2[_0x38e191];return _0xa9389;},_0x38e1(_0x59fd3b,_0x4190d1);}export class RevisionsSidebarTimePeriodView extends _0x59e6a6{[_0x57dd23(0x157)];[_0x57dd23(0x143)];[_0x57dd23(0x148)];[_0x57dd23(0x149)];constructor(_0x569e19,_0xb82be5,_0x5b2e3c,_0x9fd5fc){const _0x30c767=_0x57dd23;super(_0x569e19);const _0x2d4554=_0x1d7c91(_0xb82be5,this[_0x30c767(0x144)][_0x30c767(0x147)])[_0x30c767(0x15e)];this[_0x30c767(0x157)]=_0xb82be5,this[_0x30c767(0x143)]=this[_0x30c767(0x141)](),this[_0x30c767(0x148)]=_0x5b2e3c,this[_0x30c767(0x149)]=_0x9fd5fc,this[_0x30c767(0x143)][_0x30c767(0x145)](_0x30c767(0x15b))['to'](this),this[_0x30c767(0x143)][_0x30c767(0x145)](_0x30c767(0x151))['to'](this),this[_0x30c767(0x15d)]({'tag':_0x30c767(0x15c),'attributes':{'class':['ck',_0x30c767(0x150)]},'children':[{'tag':_0x30c767(0x15f),'attributes':{'class':['ck',_0x30c767(0x15a)]},'children':[{'text':_0x2d4554}]},{'tag':_0x30c767(0x15c),'attributes':{'class':['ck',_0x30c767(0x158)]},'children':this[_0x30c767(0x143)]}]});}[_0x57dd23(0x14a)](_0xf21fcc){const _0x31bd84=_0x57dd23,_0x1b242e=new _0x1c802f(this[_0x31bd84(0x144)],_0xf21fcc,this[_0x31bd84(0x148)],this[_0x31bd84(0x149)]);this[_0x31bd84(0x143)][_0x31bd84(0x146)](_0x1b242e);}[_0x57dd23(0x155)](_0xf95176){const _0x275ec0=_0x57dd23,_0x4e49bd=this[_0x275ec0(0x143)][_0x275ec0(0x156)](_0xc87234=>_0xc87234['id']===_0xf95176['id']);this[_0x275ec0(0x143)][_0x275ec0(0x142)](_0x4e49bd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2a10(_0x34509b,_0x3b1f8d){const _0x25360d=_0x2536();return _0x2a10=function(_0x2a108f,_0x15639e){_0x2a108f=_0x2a108f-0x1ee;let _0x475856=_0x25360d[_0x2a108f];return _0x475856;},_0x2a10(_0x34509b,_0x3b1f8d);}const _0x1f562f=_0x2a10;(function(_0x3a4178,_0x46a950){const _0x4169ad=_0x2a10,_0x3160c1=_0x3a4178();while(!![]){try{const _0x2f100f=-parseInt(_0x4169ad(0x204))/0x1*(parseInt(_0x4169ad(0x223))/0x2)+parseInt(_0x4169ad(0x20d))/0x3+-parseInt(_0x4169ad(0x1f6))/0x4+-parseInt(_0x4169ad(0x1fc))/0x5*(parseInt(_0x4169ad(0x1ef))/0x6)+-parseInt(_0x4169ad(0x21a))/0x7+-parseInt(_0x4169ad(0x1f8))/0x8*(-parseInt(_0x4169ad(0x213))/0x9)+-parseInt(_0x4169ad(0x20b))/0xa*(-parseInt(_0x4169ad(0x1f9))/0xb);if(_0x2f100f===_0x46a950)break;else _0x3160c1['push'](_0x3160c1['shift']());}catch(_0x1771c8){_0x3160c1['push'](_0x3160c1['shift']());}}}(_0x2536,0xc63dd));import{View as _0x201141}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x328f07}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x57a74b}from'./revisionssidebarheaderview.js';function _0x2536(){const _0x2d8c1c=['isEnabled','uiLanguage','96005ixlwLF','get','highlightRevisions','_removeRevision','timePeriodViews','setName','map','find','add','178vCCDAZ','_revisionActions','some','revisionSelected','5983182FswoRr','revisionSetName','remove','unhighlight','set','revisionViews','delegate','4137120ZYQqiO','startDate','40KCYMzt','859496FhvRGZ','render','fire','5LvZwrP','createdAt','ck-disabled','_requireRevisionName','_addRevision','div','ck-revision-history-sidebar','setTemplate','3575VqSoXb','addRevision','_revisions','ck-reset','selectRevision','createCollection','removeRevision','40lvzPqX','_getTimePeriodViewByStartDate','4254495PSQHqd','locale','ck-rounded-corners','flat','ck-revision-history-sidebar__timeline','getTime','2600379AQarXW','highlight','select','deselect','bindTemplate'];_0x2536=function(){return _0x2d8c1c;};return _0x2536();}import{getDateTimePeriodInfo as _0xc97ee1}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x201141{[_0x1f562f(0x21e)];[_0x1f562f(0x206)];[_0x1f562f(0x224)];[_0x1f562f(0x1ff)];constructor(_0x4da220,_0x6c000b,_0x277ce2,_0xeab3fd){const _0x2d1534=_0x1f562f;super(_0x4da220);const _0x145959=this[_0x2d1534(0x217)];this[_0x2d1534(0x21e)]=this[_0x2d1534(0x209)](),this[_0x2d1534(0x21e)][_0x2d1534(0x1f5)](_0x2d1534(0x215))['to'](this),this[_0x2d1534(0x21e)][_0x2d1534(0x1f5)](_0x2d1534(0x21f))['to'](this),this[_0x2d1534(0x206)]=_0x6c000b,this[_0x2d1534(0x224)]=_0x277ce2,this[_0x2d1534(0x1ff)]=_0xeab3fd,this['on'](_0x2d1534(0x215),(_0x383077,_0x13580a)=>{const _0x1b077b=_0x2d1534;this[_0x1b077b(0x1fb)](_0x1b077b(0x1ee),_0x13580a);}),this['on'](_0x2d1534(0x21f),(_0x4c33eb,_0x34e60b)=>{const _0x57994a=_0x2d1534;this[_0x57994a(0x1fb)](_0x57994a(0x1f0),_0x34e60b);}),this[_0x2d1534(0x1f3)](_0x2d1534(0x218),!0x1),this[_0x2d1534(0x203)]({'tag':_0x2d1534(0x201),'attributes':{'class':['ck',_0x2d1534(0x207),_0x2d1534(0x20f),_0x2d1534(0x202)]},'children':[new _0x57a74b(_0x4da220),{'tag':_0x2d1534(0x201),'attributes':{'class':['ck',_0x2d1534(0x211),_0x145959['if'](_0x2d1534(0x218),_0x2d1534(0x1fe),_0x378c5b=>!_0x378c5b)]},'children':this[_0x2d1534(0x21e)]}]});}[_0x1f562f(0x1fa)](){const _0x3e6d8a=_0x1f562f;super[_0x3e6d8a(0x1fa)]();for(const _0x3d14b3 of this[_0x3e6d8a(0x206)])this[_0x3e6d8a(0x200)](_0x3d14b3);this[_0x3e6d8a(0x206)]['on'](_0x3e6d8a(0x222),(_0x14a217,_0x582be4)=>{const _0x1b8ab3=_0x3e6d8a;this[_0x1b8ab3(0x200)](_0x582be4);}),this[_0x3e6d8a(0x206)]['on'](_0x3e6d8a(0x1f1),(_0x2cbb28,_0xd76fc7)=>{const _0x38516a=_0x3e6d8a;this[_0x38516a(0x21d)](_0xd76fc7);});}get[_0x1f562f(0x1f4)](){const _0x15b564=_0x1f562f;return this[_0x15b564(0x21e)][_0x15b564(0x220)](_0x592e84=>_0x592e84[_0x15b564(0x1f4)][_0x15b564(0x220)](_0x16cbea=>_0x16cbea))[_0x15b564(0x210)]();}[_0x1f562f(0x208)](_0x1edf5a){const _0x3fefca=_0x1f562f;for(const _0x411318 of this[_0x3fefca(0x1f4)])_0x1edf5a&&_0x1edf5a['id']===_0x411318['id']?_0x411318[_0x3fefca(0x215)]():_0x411318[_0x3fefca(0x216)]();}[_0x1f562f(0x21c)](_0x43cec1){const _0x28d5cf=_0x1f562f;for(const _0x51359f of this[_0x28d5cf(0x1f4)])_0x43cec1[_0x28d5cf(0x225)](({id:_0xaec412})=>_0xaec412===_0x51359f['id'])?_0x51359f[_0x28d5cf(0x214)]():_0x51359f[_0x28d5cf(0x1f2)]();}[_0x1f562f(0x200)](_0x1b4305){const _0x18a0a9=_0x1f562f,_0x5cdd0b=_0xc97ee1(_0x1b4305[_0x18a0a9(0x1fd)],this[_0x18a0a9(0x20e)][_0x18a0a9(0x219)])[_0x18a0a9(0x1f7)];let _0x42ea09=this[_0x18a0a9(0x21e)][_0x18a0a9(0x21b)](0x0);_0x42ea09&&_0x42ea09[_0x18a0a9(0x1f7)][_0x18a0a9(0x212)]()===_0x5cdd0b[_0x18a0a9(0x212)]()||(_0x42ea09=new _0x328f07(this[_0x18a0a9(0x20e)],_0x5cdd0b,this[_0x18a0a9(0x224)],this[_0x18a0a9(0x1ff)]),this[_0x18a0a9(0x21e)][_0x18a0a9(0x222)](_0x42ea09)),_0x42ea09[_0x18a0a9(0x205)](_0x1b4305);}[_0x1f562f(0x21d)](_0x5d8e74){const _0xd5c92d=_0x1f562f,_0x528c43=_0xc97ee1(_0x5d8e74[_0xd5c92d(0x1fd)],this[_0xd5c92d(0x20e)][_0xd5c92d(0x219)])[_0xd5c92d(0x1f7)];this[_0xd5c92d(0x20c)](_0x528c43)[_0xd5c92d(0x20a)](_0x5d8e74);}[_0x1f562f(0x20c)](_0x406acb){const _0x172519=_0x1f562f;return this[_0x172519(0x21e)][_0x172519(0x221)](_0x2061af=>_0x2061af[_0x172519(0x1f7)][_0x172519(0x212)]()===_0x406acb[_0x172519(0x212)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4538(_0x41cbaa,_0x4c159f){const _0x54e29d=_0x54e2();return _0x4538=function(_0x45385d,_0x43bab8){_0x45385d=_0x45385d-0x106;let _0x1305ff=_0x54e29d[_0x45385d];return _0x1305ff;},_0x4538(_0x41cbaa,_0x4c159f);}const _0x51d6e4=_0x4538;(function(_0x968dd4,_0x307f9f){const _0xb22f76=_0x4538,_0x3b18e0=_0x968dd4();while(!![]){try{const _0x4aaaa2=-parseInt(_0xb22f76(0x110))/0x1+parseInt(_0xb22f76(0x122))/0x2+parseInt(_0xb22f76(0x10a))/0x3+-parseInt(_0xb22f76(0x11b))/0x4*(parseInt(_0xb22f76(0x107))/0x5)+parseInt(_0xb22f76(0x113))/0x6*(parseInt(_0xb22f76(0x11d))/0x7)+parseInt(_0xb22f76(0x118))/0x8+-parseInt(_0xb22f76(0x10e))/0x9*(parseInt(_0xb22f76(0x121))/0xa);if(_0x4aaaa2===_0x307f9f)break;else _0x3b18e0['push'](_0x3b18e0['shift']());}catch(_0x50813a){_0x3b18e0['push'](_0x3b18e0['shift']());}}}(_0x54e2,0xb1c21));import{View as _0x4bcca7}from'ckeditor5/src/ui.js';import{getTranslation as _0xd6b849}from'../../utils/common-translations.js';function _0x54e2(){const _0x81323c=['_model','element','Removed\x20by','19755RQPFUe','span','Suggested\x20by','2340225fXGnFq','setTemplate','focus','name','2507067ONBOCs','data','580702xDimst','ck-revision-change__','type','906RqQKYG','Added\x20by','div','changeId','author','11075624OncpDZ','ck-revision-change','set','232DrzJSn','ck-annotation','60305JTRHHu','bindTemplate','add','ck-revision-change__label','80vVMBlz','602136GQGVgm','isSuggestion'];_0x54e2=function(){return _0x81323c;};return _0x54e2();}export class ChangeDetailsView extends _0x4bcca7{[_0x51d6e4(0x116)];[_0x51d6e4(0x124)];constructor(_0x56f3b5,_0xc20d72){const _0x1a8ed4=_0x51d6e4;super(_0x56f3b5),this[_0x1a8ed4(0x124)]=_0xc20d72,this[_0x1a8ed4(0x116)]=_0xc20d72['id'];const _0x474a49=this[_0x1a8ed4(0x11e)],_0x49d907=_0xd6b849(_0x56f3b5,_0xc20d72[_0x1a8ed4(0x10f)][_0x1a8ed4(0x123)]?_0x1a8ed4(0x109):_0x1a8ed4(0x11f)==_0xc20d72[_0x1a8ed4(0x112)]?_0x1a8ed4(0x114):_0x1a8ed4(0x106));this[_0x1a8ed4(0x11a)](_0x1a8ed4(0x112),_0xc20d72[_0x1a8ed4(0x112)]),this[_0x1a8ed4(0x10b)]({'tag':_0x1a8ed4(0x115),'attributes':{'class':[_0x1a8ed4(0x11c),_0x1a8ed4(0x119),_0x474a49['to'](_0x1a8ed4(0x112),_0x55d516=>_0x1a8ed4(0x111)+_0x55d516)],'tabindex':-0x1},'children':[{'tag':_0x1a8ed4(0x108),'children':[{'tag':_0x1a8ed4(0x108),'attributes':{'class':[_0x1a8ed4(0x120)]},'children':[{'text':_0x49d907}]},{'text':'\x20'+_0xc20d72[_0x1a8ed4(0x117)][_0x1a8ed4(0x10d)]}]}]});}[_0x51d6e4(0x10c)](){const _0x5c1030=_0x51d6e4;this[_0x5c1030(0x125)][_0x5c1030(0x10c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x25e5d2,_0x4d26d7){const _0x1b7b09=_0x4571,_0x4063d7=_0x25e5d2();while(!![]){try{const _0x49190e=-parseInt(_0x1b7b09(0xde))/0x1*(parseInt(_0x1b7b09(0xdc))/0x2)+-parseInt(_0x1b7b09(0xc7))/0x3*(-parseInt(_0x1b7b09(0xdd))/0x4)+parseInt(_0x1b7b09(0xe2))/0x5*(-parseInt(_0x1b7b09(0xc5))/0x6)+-parseInt(_0x1b7b09(0xd4))/0x7+-parseInt(_0x1b7b09(0xbe))/0x8*(-parseInt(_0x1b7b09(0xdb))/0x9)+-parseInt(_0x1b7b09(0xc1))/0xa*(parseInt(_0x1b7b09(0xea))/0xb)+parseInt(_0x1b7b09(0xbf))/0xc;if(_0x49190e===_0x4d26d7)break;else _0x4063d7['push'](_0x4063d7['shift']());}catch(_0xc28ce8){_0x4063d7['push'](_0x4063d7['shift']());}}}(_0x524f,0x3d434));import{View as _0x5dcdb9,ButtonView as _0x570b79,ToolbarSeparatorView as _0x384985}from'ckeditor5/src/ui.js';function _0x524f(){const _0x21898f=['766256NjfyjF','54794lJFnzG','isEnabled','fire','currentChangeNumber','896785KVnAAg','numberOfChanges','ck-revision-history-ui__changes-navigation__label','bind','isBackwardNavigationEnabled','NUMBER_OF_CHANGES','isNavigationMode','setTemplate','2827PkgPPx','16pxRmes','3712020qqGGJD','X_OF_Y_CHANGES','1950uZQPye','No\x20changes','div','span','6yXqjxm','execute','3fWglEo','Total','ck-revision-history-ui__changes-navigation','forward','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','Loading...','isForwardNavigationEnabled','_statusText','set','_isStatusLabelVisible','isReady','Show\x20previous\x20change','103397SXGEtc','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','backward','ck-hidden','Show\x20next\x20change','467388cyJjxy','4VILcxl'];_0x524f=function(){return _0x21898f;};return _0x524f();}import{IconChevronUp as _0x32d41e,IconChevronDown as _0x5ac2b6}from'ckeditor5/src/icons.js';import{getTranslation as _0x3258f0}from'../../utils/common-translations.js';function _0x4571(_0x4b5066,_0x2a3927){const _0x524f6f=_0x524f();return _0x4571=function(_0x4571a6,_0x5b63a1){_0x4571a6=_0x4571a6-0xbe;let _0x16b297=_0x524f6f[_0x4571a6];return _0x16b297;},_0x4571(_0x4b5066,_0x2a3927);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x5dcdb9{constructor(_0x20d829){const _0x428278=_0x4571;super(_0x20d829);const _0x36ff19=this[_0x428278(0xcc)],_0x20b8a6=new _0x570b79(_0x20d829),_0x57779=new _0x570b79(_0x20d829);this[_0x428278(0xd0)](_0x428278(0xe8),!0x1),this[_0x428278(0xd0)](_0x428278(0xd2),!0x1),this[_0x428278(0xd0)](_0x428278(0xe1),0x0),this[_0x428278(0xd0)](_0x428278(0xe3),0x0),this[_0x428278(0xd0)](_0x428278(0xce),!0x1),this[_0x428278(0xd0)](_0x428278(0xe6),!0x1),this[_0x428278(0xe5)](_0x428278(0xd1))['to'](this,_0x428278(0xd2),this,_0x428278(0xe3),(_0x27aca4,_0x2edee4)=>_0x27aca4&&_0x2edee4>0x0),this[_0x428278(0xe5)](_0x428278(0xcf))['to'](this,_0x428278(0xd2),this,_0x428278(0xe1),this,_0x428278(0xe3),this,_0x428278(0xe8),(_0x17be62,_0x44c21c,_0x459426,_0x342711)=>{const _0x12bce5=_0x428278;if(!_0x17be62)return _0x3258f0(_0x20d829,_0x12bce5(0xcd));if(!_0x459426)return _0x3258f0(_0x20d829,_0x12bce5(0xc2));const _0x3d06c6=_0x3258f0(_0x20d829,_0x12bce5(0xe7),_0x459426);return _0x342711?_0x3258f0(_0x20d829,_0x12bce5(0xc0),[_0x44c21c+0x1,_0x459426]):_0x3d06c6;}),_0x20b8a6[_0x428278(0xd0)]({'label':_0x3258f0(_0x20d829,_0x428278(0xd3)),'tooltip':!0x0,'icon':_0x32d41e}),_0x57779[_0x428278(0xd0)]({'label':_0x3258f0(_0x20d829,_0x428278(0xda)),'tooltip':!0x0,'icon':_0x5ac2b6}),_0x20b8a6[_0x428278(0xe5)](_0x428278(0xdf))['to'](this,_0x428278(0xe6)),_0x57779[_0x428278(0xe5)](_0x428278(0xdf))['to'](this,_0x428278(0xce)),_0x20b8a6['on'](_0x428278(0xc6),()=>this[_0x428278(0xe0)](_0x428278(0xc6),_0x428278(0xd8))),_0x57779['on'](_0x428278(0xc6),()=>this[_0x428278(0xe0)](_0x428278(0xc6),_0x428278(0xca))),this[_0x428278(0xe9)]({'tag':_0x428278(0xc3),'attributes':{'class':['ck',_0x428278(0xd5),_0x428278(0xc9)]},'children':[{'tag':_0x428278(0xc4),'attributes':{'class':[_0x428278(0xcb)]},'children':[{'tag':_0x428278(0xc4),'attributes':{'class':[_0x428278(0xe4),_0x36ff19['if'](_0x428278(0xd1),_0x428278(0xd9),_0x2394d4=>!_0x2394d4)]},'children':[{'text':_0x36ff19['to'](_0x428278(0xe8),_0x36b1ab=>_0x36b1ab?_0x3258f0(_0x20d829,_0x428278(0xd7))+':\x20':_0x3258f0(_0x20d829,_0x428278(0xc8))+':\x20')}]},{'text':_0x36ff19['to'](_0x428278(0xcf))}]},new _0x384985(),{'tag':_0x428278(0xc3),'attributes':{'class':[_0x428278(0xd6)]},'children':[_0x20b8a6,_0x57779]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x43155b=_0x3eb8;(function(_0x4e8152,_0x1d562b){const _0x1dc02b=_0x3eb8,_0x1389f=_0x4e8152();while(!![]){try{const _0xc414be=parseInt(_0x1dc02b(0x74))/0x1*(-parseInt(_0x1dc02b(0x9e))/0x2)+-parseInt(_0x1dc02b(0x7f))/0x3+-parseInt(_0x1dc02b(0x73))/0x4+parseInt(_0x1dc02b(0x8a))/0x5*(-parseInt(_0x1dc02b(0x71))/0x6)+parseInt(_0x1dc02b(0x8c))/0x7+-parseInt(_0x1dc02b(0x83))/0x8+-parseInt(_0x1dc02b(0x89))/0x9*(-parseInt(_0x1dc02b(0x78))/0xa);if(_0xc414be===_0x1d562b)break;else _0x1389f['push'](_0x1389f['shift']());}catch(_0x25a5d8){_0x1389f['push'](_0x1389f['shift']());}}}(_0x3105,0x4777c));import{Plugin as _0x1f3e5d}from'ckeditor5/src/core.js';import{ButtonView as _0x2d4245}from'ckeditor5/src/ui.js';import{IconUndo as _0xfc1251}from'ckeditor5/src/icons.js';function _0x3105(){const _0x2b761e=['showPreviousChange','isOfficialPlugin','currentChangeNumber','3032696rcCVsv','changesNavigation','isPremiumPlugin','isForwardNavigationEnabled','ck-revision-history-ui__back-to-editing','componentFactory','7613820hYaUZp','5CxTyda','RevisionViewerUI','171717HvcstY','forward','commands','bind','isNavigationMode','isReady','Restore\x20this\x20revision','show','isEnabled','numberOfChanges','listenTo','plugins','get','revisionHistory','set','closeRevisionViewerCallback','hide','execute','7792rChhPu','showNextChange','exitToEditing','1349226hzZYNa','Back\x20to\x20editing','160512ygcIFv','80hjXwWb','pluginName','change:isReady','restoreRevision','20uDEdwr','editor','init','requires','add','config','isBackwardNavigationEnabled','1403979vjqCMj'];_0x3105=function(){return _0x2b761e;};return _0x3105();}import{ChangesNavigationView as _0x3fcea8}from'./changesnavigationview.js';import{RevisionViewer as _0x357c15}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x2e1002}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3ee160}from'../../utils/common-translations.js';function _0x3eb8(_0x1512eb,_0xc9fc28){const _0x310535=_0x3105();return _0x3eb8=function(_0x3eb888,_0x51f870){_0x3eb888=_0x3eb888-0x6f;let _0x241694=_0x310535[_0x3eb888];return _0x241694;},_0x3eb8(_0x1512eb,_0xc9fc28);}import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x1f3e5d{static get[_0x43155b(0x75)](){const _0x340c23=_0x43155b;return _0x340c23(0x8b);}static get[_0x43155b(0x81)](){return!0x0;}static get[_0x43155b(0x85)](){return!0x0;}static get[_0x43155b(0x7b)](){return[_0x357c15,_0x2e1002];}[_0x43155b(0x7a)](){const _0x648f1d=_0x43155b,_0xd52d1e=this[_0x648f1d(0x79)],_0x1df14f=_0xd52d1e[_0x648f1d(0x97)][_0x648f1d(0x98)](_0x357c15),_0x10d069=_0xd52d1e[_0x648f1d(0x97)][_0x648f1d(0x98)](_0x2e1002);_0xd52d1e['ui'][_0x648f1d(0x88)][_0x648f1d(0x7c)](_0x648f1d(0x70),_0x13fe6b=>{const _0x2d6109=_0x648f1d,_0x2f20f0=new _0x2d4245(_0x13fe6b);return _0x2f20f0[_0x2d6109(0x9a)]({'label':_0x3ee160(_0x13fe6b,_0x2d6109(0x72)),'icon':_0xfc1251,'withText':!0x0,'tooltip':!0x0,'class':_0x2d6109(0x87)}),this[_0x2d6109(0x96)](_0x2f20f0,_0x2d6109(0x9d),()=>{const _0x429e63=_0x2d6109;_0xd52d1e[_0x429e63(0x7d)][_0x429e63(0x98)](_0x429e63(0x99))[_0x429e63(0x9b)]();}),_0x2f20f0;}),_0xd52d1e['ui'][_0x648f1d(0x88)][_0x648f1d(0x7c)](_0x648f1d(0x77),_0x2cf061=>{const _0xadd24b=_0x648f1d,_0xdc192=new _0x2d4245(_0x2cf061);return _0xdc192[_0xadd24b(0x9a)]({'label':_0x3ee160(_0x2cf061,_0xadd24b(0x92)),'withText':!0x0,'tooltip':!0x0}),_0xdc192[_0xadd24b(0x8f)](_0xadd24b(0x94))['to'](_0xd52d1e[_0xadd24b(0x8e)][_0xadd24b(0x98)](_0xadd24b(0x77))),this[_0xadd24b(0x96)](_0xdc192,_0xadd24b(0x9d),()=>_0xd52d1e[_0xadd24b(0x9d)](_0xadd24b(0x77))),_0xdc192;}),_0xd52d1e['ui'][_0x648f1d(0x88)][_0x648f1d(0x7c)](_0x648f1d(0x84),_0x2c7d57=>{const _0x19b7b0=_0x648f1d,_0x2edf4f=new _0x3fcea8(_0x2c7d57),_0x29d43c=_0xd52d1e[_0x19b7b0(0x8e)][_0x19b7b0(0x98)](_0x19b7b0(0x80)),_0x2ae3a6=_0xd52d1e[_0x19b7b0(0x8e)][_0x19b7b0(0x98)](_0x19b7b0(0x6f));return _0x2edf4f[_0x19b7b0(0x8f)](_0x19b7b0(0x7e))['to'](_0x29d43c,_0x19b7b0(0x94)),_0x2edf4f[_0x19b7b0(0x8f)](_0x19b7b0(0x86))['to'](_0x2ae3a6,_0x19b7b0(0x94)),_0x2edf4f[_0x19b7b0(0x8f)](_0x19b7b0(0x91),_0x19b7b0(0x82),_0x19b7b0(0x95),_0x19b7b0(0x90))['to'](_0x1df14f),this[_0x19b7b0(0x96)](_0x2edf4f,_0x19b7b0(0x9d),(_0x3af2a5,_0x356ade)=>{const _0x24a949=_0x19b7b0;_0xd52d1e[_0x24a949(0x9d)](_0x24a949(0x8d)===_0x356ade?_0x24a949(0x6f):_0x24a949(0x80));}),_0x2edf4f;}),_0x10d069[_0x648f1d(0x93)](),_0x1df14f['on'](_0x648f1d(0x76),(_0x5857c4,_0xb3ebfa,_0x2efcfe)=>{const _0x3ed0c3=_0x648f1d;_0x2efcfe?_0x10d069[_0x3ed0c3(0x9c)]():_0x10d069[_0x3ed0c3(0x93)]();});}}
|