@ckeditor/ckeditor5-revision-history 46.1.1-alpha.2 → 46.1.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/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(_0x9493a,_0x49c03d){const _0xfe3f4f=_0x5e7a,_0xa4fbb3=_0x9493a();while(!![]){try{const _0x5bc1b7=-parseInt(_0xfe3f4f(0xa4))/0x1*(-parseInt(_0xfe3f4f(0xa7))/0x2)+parseInt(_0xfe3f4f(0xb0))/0x3+-parseInt(_0xfe3f4f(0xa0))/0x4*(-parseInt(_0xfe3f4f(0xaf))/0x5)+parseInt(_0xfe3f4f(0xa8))/0x6+-parseInt(_0xfe3f4f(0xaa))/0x7*(-parseInt(_0xfe3f4f(0xa9))/0x8)+-parseInt(_0xfe3f4f(0xb2))/0x9+-parseInt(_0xfe3f4f(0xa5))/0xa*(parseInt(_0xfe3f4f(0xa2))/0xb);if(_0x5bc1b7===_0x49c03d)break;else _0xa4fbb3['push'](_0xa4fbb3['shift']());}catch(_0x4f077f){_0xa4fbb3['push'](_0xa4fbb3['shift']());}}}(_0x286e,0xe7dd0));import{View as _0x5aab64,IconView as _0x117702}from'ckeditor5/src/ui.js';import{getTranslation as _0x16d163}from'../../utils/common-translations.js';function _0x286e(){const _0x1df987=['4033416FXrwVx','div','5456934HXVzuJ','4aAIrAV','setTemplate','2942676hZPlji','ck-revision-history-sidebar__header','1393tFBIZU','100IMPKUw','Revision\x20history','1874NvCPUW','1263462NiKtsx','30136sAvVbD','2107DsQmQl','ck-revision-history-sidebar__header__label','ck-reset_all','content','span','1185205MXzobk'];_0x286e=function(){return _0x1df987;};return _0x286e();}import{IconHistory as _0x18ee20}from'ckeditor5/src/icons.js';function _0x5e7a(_0x23c43c,_0x5cbc4e){const _0x286ea5=_0x286e();return _0x5e7a=function(_0x5e7a68,_0x41fbaa){_0x5e7a68=_0x5e7a68-0xa0;let _0x5f1ca8=_0x286ea5[_0x5e7a68];return _0x5f1ca8;},_0x5e7a(_0x23c43c,_0x5cbc4e);}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x5aab64{constructor(_0x25d5b9){const _0x3fbb32=_0x5e7a;super(_0x25d5b9);const _0x453bfe=new _0x117702();_0x453bfe[_0x3fbb32(0xad)]=_0x18ee20,this[_0x3fbb32(0xa1)]({'tag':_0x3fbb32(0xb1),'attributes':{'class':['ck',_0x3fbb32(0xac),_0x3fbb32(0xa3)]},'children':[_0x453bfe,{'tag':_0x3fbb32(0xae),'attributes':{'class':['ck',_0x3fbb32(0xab)]},'children':[_0x16d163(_0x25d5b9,_0x3fbb32(0xa6))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52e25b=_0x5bff;(function(_0x40371c,_0x428f55){const _0x199232=_0x5bff,_0x47e6ff=_0x40371c();while(!![]){try{const _0x388ae3=-parseInt(_0x199232(0xe0))/0x1*(-parseInt(_0x199232(0xeb))/0x2)+-parseInt(_0x199232(0xe7))/0x3*(parseInt(_0x199232(0xf2))/0x4)+-parseInt(_0x199232(0xdd))/0x5+-parseInt(_0x199232(0xe8))/0x6+-parseInt(_0x199232(0xf4))/0x7+-parseInt(_0x199232(0xf1))/0x8+-parseInt(_0x199232(0xf8))/0x9*(-parseInt(_0x199232(0xe2))/0xa);if(_0x388ae3===_0x428f55)break;else _0x47e6ff['push'](_0x47e6ff['shift']());}catch(_0x472425){_0x47e6ff['push'](_0x47e6ff['shift']());}}}(_0x7f2c,0xdaf8b));import{View as _0x6c8ce1}from'ckeditor5/src/ui.js';function _0x7f2c(){const _0xb99cae=['find','ck-revision-history-sidebar__time-period__label','setName','span','7128quysix','9825936dEVtBg','createCollection','localizedPeriodName','987218OetiGY','addRevision','remove','ck-revision-history-sidebar__time-period','revisionViews','div','12095264nuKFgn','960xMSoXh','startDate','5852728NeuUrO','select','ck-revision-history-sidebar__time-period__revisions','_revisionActions','147051bfypFe','delegate','removeRevision','setTemplate','_requireRevisionName','5873985UNzDMN','add','locale','3ogHfnv','uiLanguage','3150DMpHQX'];_0x7f2c=function(){return _0xb99cae;};return _0x7f2c();}function _0x5bff(_0x3038b6,_0x3c5442){const _0x7f2c75=_0x7f2c();return _0x5bff=function(_0x5bff0c,_0x4abe5d){_0x5bff0c=_0x5bff0c-0xdb;let _0x5b9cd8=_0x7f2c75[_0x5bff0c];return _0x5b9cd8;},_0x5bff(_0x3038b6,_0x3c5442);}import{RevisionView as _0x395f72}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x56dcd1}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x6c8ce1{[_0x52e25b(0xf3)];[_0x52e25b(0xef)];[_0x52e25b(0xf7)];[_0x52e25b(0xdc)];constructor(_0x59c9f2,_0x429f51,_0xd3d069,_0x511afc){const _0x480436=_0x52e25b;super(_0x59c9f2);const _0xc95133=_0x56dcd1(_0x429f51,this[_0x480436(0xdf)][_0x480436(0xe1)])[_0x480436(0xea)];this[_0x480436(0xf3)]=_0x429f51,this[_0x480436(0xef)]=this[_0x480436(0xe9)](),this[_0x480436(0xf7)]=_0xd3d069,this[_0x480436(0xdc)]=_0x511afc,this[_0x480436(0xef)][_0x480436(0xf9)](_0x480436(0xf5))['to'](this),this[_0x480436(0xef)][_0x480436(0xf9)](_0x480436(0xe5))['to'](this),this[_0x480436(0xdb)]({'tag':_0x480436(0xf0),'attributes':{'class':['ck',_0x480436(0xee)]},'children':[{'tag':_0x480436(0xe6),'attributes':{'class':['ck',_0x480436(0xe4)]},'children':[{'text':_0xc95133}]},{'tag':_0x480436(0xf0),'attributes':{'class':['ck',_0x480436(0xf6)]},'children':this[_0x480436(0xef)]}]});}[_0x52e25b(0xec)](_0x555837){const _0x4f4450=_0x52e25b,_0x10ac1a=new _0x395f72(this[_0x4f4450(0xdf)],_0x555837,this[_0x4f4450(0xf7)],this[_0x4f4450(0xdc)]);this[_0x4f4450(0xef)][_0x4f4450(0xde)](_0x10ac1a);}[_0x52e25b(0xfa)](_0x5c85d2){const _0x2ae56e=_0x52e25b,_0x42ec1b=this[_0x2ae56e(0xef)][_0x2ae56e(0xe3)](_0x4a784d=>_0x4a784d['id']===_0x5c85d2['id']);this[_0x2ae56e(0xef)][_0x2ae56e(0xed)](_0x42ec1b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42a96c=_0x549b;(function(_0x4fcec4,_0x366652){const _0x992be2=_0x549b,_0x1a07b0=_0x4fcec4();while(!![]){try{const _0x237aae=-parseInt(_0x992be2(0x1e2))/0x1+-parseInt(_0x992be2(0x1ff))/0x2*(parseInt(_0x992be2(0x1da))/0x3)+-parseInt(_0x992be2(0x1dc))/0x4*(-parseInt(_0x992be2(0x203))/0x5)+-parseInt(_0x992be2(0x1e7))/0x6*(parseInt(_0x992be2(0x1eb))/0x7)+-parseInt(_0x992be2(0x202))/0x8+parseInt(_0x992be2(0x1fc))/0x9+parseInt(_0x992be2(0x1f8))/0xa;if(_0x237aae===_0x366652)break;else _0x1a07b0['push'](_0x1a07b0['shift']());}catch(_0x267a39){_0x1a07b0['push'](_0x1a07b0['shift']());}}}(_0x342f,0x6aa67));import{View as _0x22ca12}from'ckeditor5/src/ui.js';function _0x342f(){const _0x1f2377=['fire','removeRevision','div','startDate','ck-reset','render','_requireRevisionName','75ncUZRq','_addRevision','1592qqYoPP','revisionSetName','revisionViews','delegate','ck-revision-history-sidebar','ck-disabled','459550pyPUrf','setName','setTemplate','deselect','highlightRevisions','5141100hTQzAo','add','selectRevision','timePeriodViews','7mXbufB','revisionSelected','bindTemplate','ck-rounded-corners','_removeRevision','map','addRevision','_revisionActions','select','find','isEnabled','ck-revision-history-sidebar__timeline','uiLanguage','12418270NUwJeK','unhighlight','highlight','some','1485216RGOrHP','get','set','10310XzpoNa','createdAt','createCollection','2209288IKTYbi','9440PphuNX','_getTimePeriodViewByStartDate','getTime','locale','remove','flat','_revisions'];_0x342f=function(){return _0x1f2377;};return _0x342f();}function _0x549b(_0x1b8c64,_0x4541aa){const _0x342f67=_0x342f();return _0x549b=function(_0x549bdc,_0x48687b){_0x549bdc=_0x549bdc-0x1d4;let _0x3c11dc=_0x342f67[_0x549bdc];return _0x3c11dc;},_0x549b(_0x1b8c64,_0x4541aa);}import{RevisionsSidebarTimePeriodView as _0x54fa06}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x496483}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x1ff933}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x22ca12{[_0x42a96c(0x1ea)];[_0x42a96c(0x209)];[_0x42a96c(0x1f2)];[_0x42a96c(0x1d9)];constructor(_0x4379e5,_0x3add79,_0x1885be,_0x5a39f6){const _0x172c1f=_0x42a96c;super(_0x4379e5);const _0x4c2716=this[_0x172c1f(0x1ed)];this[_0x172c1f(0x1ea)]=this[_0x172c1f(0x201)](),this[_0x172c1f(0x1ea)][_0x172c1f(0x1df)](_0x172c1f(0x1f3))['to'](this),this[_0x172c1f(0x1ea)][_0x172c1f(0x1df)](_0x172c1f(0x1e3))['to'](this),this[_0x172c1f(0x209)]=_0x3add79,this[_0x172c1f(0x1f2)]=_0x1885be,this[_0x172c1f(0x1d9)]=_0x5a39f6,this['on'](_0x172c1f(0x1f3),(_0x2d0801,_0x1ea6b9)=>{const _0x16c8fb=_0x172c1f;this[_0x16c8fb(0x20a)](_0x16c8fb(0x1ec),_0x1ea6b9);}),this['on'](_0x172c1f(0x1e3),(_0x9b49ba,_0x393da3)=>{const _0xf92b68=_0x172c1f;this[_0xf92b68(0x20a)](_0xf92b68(0x1dd),_0x393da3);}),this[_0x172c1f(0x1fe)](_0x172c1f(0x1f5),!0x1),this[_0x172c1f(0x1e4)]({'tag':_0x172c1f(0x1d5),'attributes':{'class':['ck',_0x172c1f(0x1d7),_0x172c1f(0x1ee),_0x172c1f(0x1e0)]},'children':[new _0x496483(_0x4379e5),{'tag':_0x172c1f(0x1d5),'attributes':{'class':['ck',_0x172c1f(0x1f6),_0x4c2716['if'](_0x172c1f(0x1f5),_0x172c1f(0x1e1),_0x46429d=>!_0x46429d)]},'children':this[_0x172c1f(0x1ea)]}]});}[_0x42a96c(0x1d8)](){const _0x4327f1=_0x42a96c;super[_0x4327f1(0x1d8)]();for(const _0x4a7e05 of this[_0x4327f1(0x209)])this[_0x4327f1(0x1db)](_0x4a7e05);this[_0x4327f1(0x209)]['on'](_0x4327f1(0x1e8),(_0x180b86,_0x110ea3)=>{const _0x84377b=_0x4327f1;this[_0x84377b(0x1db)](_0x110ea3);}),this[_0x4327f1(0x209)]['on'](_0x4327f1(0x207),(_0x15ddcd,_0x4e9792)=>{const _0x5251e0=_0x4327f1;this[_0x5251e0(0x1ef)](_0x4e9792);});}get[_0x42a96c(0x1de)](){const _0x44cfc2=_0x42a96c;return this[_0x44cfc2(0x1ea)][_0x44cfc2(0x1f0)](_0x1c1576=>_0x1c1576[_0x44cfc2(0x1de)][_0x44cfc2(0x1f0)](_0xbbf09d=>_0xbbf09d))[_0x44cfc2(0x208)]();}[_0x42a96c(0x1e9)](_0x2dcaa5){const _0x42ade0=_0x42a96c;for(const _0x29fac3 of this[_0x42ade0(0x1de)])_0x2dcaa5&&_0x2dcaa5['id']===_0x29fac3['id']?_0x29fac3[_0x42ade0(0x1f3)]():_0x29fac3[_0x42ade0(0x1e5)]();}[_0x42a96c(0x1e6)](_0x4d0e4d){const _0x3f27a8=_0x42a96c;for(const _0x4d4697 of this[_0x3f27a8(0x1de)])_0x4d0e4d[_0x3f27a8(0x1fb)](({id:_0x227791})=>_0x227791===_0x4d4697['id'])?_0x4d4697[_0x3f27a8(0x1fa)]():_0x4d4697[_0x3f27a8(0x1f9)]();}[_0x42a96c(0x1db)](_0x2b73b5){const _0x3587f5=_0x42a96c,_0x3b0fd1=_0x1ff933(_0x2b73b5[_0x3587f5(0x200)],this[_0x3587f5(0x206)][_0x3587f5(0x1f7)])[_0x3587f5(0x1d6)];let _0x45f74c=this[_0x3587f5(0x1ea)][_0x3587f5(0x1fd)](0x0);_0x45f74c&&_0x45f74c[_0x3587f5(0x1d6)][_0x3587f5(0x205)]()===_0x3b0fd1[_0x3587f5(0x205)]()||(_0x45f74c=new _0x54fa06(this[_0x3587f5(0x206)],_0x3b0fd1,this[_0x3587f5(0x1f2)],this[_0x3587f5(0x1d9)]),this[_0x3587f5(0x1ea)][_0x3587f5(0x1e8)](_0x45f74c)),_0x45f74c[_0x3587f5(0x1f1)](_0x2b73b5);}[_0x42a96c(0x1ef)](_0x56e883){const _0x12a0d0=_0x42a96c,_0x18e5c7=_0x1ff933(_0x56e883[_0x12a0d0(0x200)],this[_0x12a0d0(0x206)][_0x12a0d0(0x1f7)])[_0x12a0d0(0x1d6)];this[_0x12a0d0(0x204)](_0x18e5c7)[_0x12a0d0(0x1d4)](_0x56e883);}[_0x42a96c(0x204)](_0x133570){const _0x256635=_0x42a96c;return this[_0x256635(0x1ea)][_0x256635(0x1f4)](_0x398790=>_0x398790[_0x256635(0x1d6)][_0x256635(0x205)]()===_0x133570[_0x256635(0x205)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x545f48=_0x494e;function _0x4f33(){const _0x49515a=['Added\x20by','6791830JkVNIG','ck-revision-change__label','_model','660OHgPzU','author','5829920lkMoaM','Suggested\x20by','112PtCXFE','ck-annotation','type','focus','set','div','data','name','ck-revision-change__','setTemplate','27jdjVwa','ck-revision-change','86298zKGEDT','bindTemplate','64204hWzYLt','isSuggestion','2687688hOOcXu','1467229bfHXbv','Removed\x20by','changeId','span','1022004sZeSAy','add','element'];_0x4f33=function(){return _0x49515a;};return _0x4f33();}(function(_0x1894c1,_0x3d6d74){const _0x176150=_0x494e,_0x3ac8a4=_0x1894c1();while(!![]){try{const _0x17dff6=parseInt(_0x176150(0x144))/0x1+-parseInt(_0x176150(0x13f))/0x2*(parseInt(_0x176150(0x13d))/0x3)+parseInt(_0x176150(0x143))/0x4+parseInt(_0x176150(0x131))/0x5+-parseInt(_0x176150(0x14f))/0x6*(parseInt(_0x176150(0x141))/0x7)+-parseInt(_0x176150(0x133))/0x8*(parseInt(_0x176150(0x148))/0x9)+parseInt(_0x176150(0x14c))/0xa;if(_0x17dff6===_0x3d6d74)break;else _0x3ac8a4['push'](_0x3ac8a4['shift']());}catch(_0x2ecaa0){_0x3ac8a4['push'](_0x3ac8a4['shift']());}}}(_0x4f33,0xf3799));import{View as _0x7128a2}from'ckeditor5/src/ui.js';function _0x494e(_0x28c8ef,_0x5e1320){const _0x4f33de=_0x4f33();return _0x494e=function(_0x494e13,_0x427af6){_0x494e13=_0x494e13-0x130;let _0x5932e9=_0x4f33de[_0x494e13];return _0x5932e9;},_0x494e(_0x28c8ef,_0x5e1320);}import{getTranslation as _0x1d4591}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x7128a2{[_0x545f48(0x146)];[_0x545f48(0x14e)];constructor(_0x4ec6a2,_0x20a1d1){const _0x32257c=_0x545f48;super(_0x4ec6a2),this[_0x32257c(0x14e)]=_0x20a1d1,this[_0x32257c(0x146)]=_0x20a1d1['id'];const _0x5be053=this[_0x32257c(0x140)],_0x5f5add=_0x1d4591(_0x4ec6a2,_0x20a1d1[_0x32257c(0x139)][_0x32257c(0x142)]?_0x32257c(0x132):_0x32257c(0x149)==_0x20a1d1[_0x32257c(0x135)]?_0x32257c(0x14b):_0x32257c(0x145));this[_0x32257c(0x137)](_0x32257c(0x135),_0x20a1d1[_0x32257c(0x135)]),this[_0x32257c(0x13c)]({'tag':_0x32257c(0x138),'attributes':{'class':[_0x32257c(0x134),_0x32257c(0x13e),_0x5be053['to'](_0x32257c(0x135),_0xfb53d6=>_0x32257c(0x13b)+_0xfb53d6)],'tabindex':-0x1},'children':[{'tag':_0x32257c(0x147),'children':[{'tag':_0x32257c(0x147),'attributes':{'class':[_0x32257c(0x14d)]},'children':[{'text':_0x5f5add}]},{'text':'\x20'+_0x20a1d1[_0x32257c(0x130)][_0x32257c(0x13a)]}]}]});}[_0x545f48(0x136)](){const _0x1dd50a=_0x545f48;this[_0x1dd50a(0x14a)][_0x1dd50a(0x136)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4cdc5f,_0x2ec830){const _0x4dce42=_0xbb68,_0x1b45e9=_0x4cdc5f();while(!![]){try{const _0x6d3ce3=parseInt(_0x4dce42(0x177))/0x1+parseInt(_0x4dce42(0x17a))/0x2*(parseInt(_0x4dce42(0x16f))/0x3)+parseInt(_0x4dce42(0x168))/0x4+-parseInt(_0x4dce42(0x163))/0x5+-parseInt(_0x4dce42(0x188))/0x6*(parseInt(_0x4dce42(0x170))/0x7)+-parseInt(_0x4dce42(0x182))/0x8*(parseInt(_0x4dce42(0x17c))/0x9)+parseInt(_0x4dce42(0x175))/0xa*(-parseInt(_0x4dce42(0x167))/0xb);if(_0x6d3ce3===_0x2ec830)break;else _0x1b45e9['push'](_0x1b45e9['shift']());}catch(_0x15f100){_0x1b45e9['push'](_0x1b45e9['shift']());}}}(_0x56ae,0x2861a));import{View as _0xeb309e,ButtonView as _0x44fe6a,ToolbarSeparatorView as _0x2e70cb}from'ckeditor5/src/ui.js';function _0xbb68(_0x379352,_0x3aa28f){const _0x56ae60=_0x56ae();return _0xbb68=function(_0xbb6891,_0x3d3938){_0xbb6891=_0xbb6891-0x15d;let _0x496888=_0x56ae60[_0xbb6891];return _0x496888;},_0xbb68(_0x379352,_0x3aa28f);}import{IconChevronUp as _0xd0a834,IconChevronDown as _0x1c1f6c}from'ckeditor5/src/icons.js';import{getTranslation as _0x65a344}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0xeb309e{constructor(_0x3f35c5){const _0x215c81=_0xbb68;super(_0x3f35c5);const _0x428a4e=this[_0x215c81(0x176)],_0x3b34e5=new _0x44fe6a(_0x3f35c5),_0x3ed12f=new _0x44fe6a(_0x3f35c5);this[_0x215c81(0x172)](_0x215c81(0x173),!0x1),this[_0x215c81(0x172)](_0x215c81(0x184),!0x1),this[_0x215c81(0x172)](_0x215c81(0x169),0x0),this[_0x215c81(0x172)](_0x215c81(0x162),0x0),this[_0x215c81(0x172)](_0x215c81(0x17d),!0x1),this[_0x215c81(0x172)](_0x215c81(0x178),!0x1),this[_0x215c81(0x166)](_0x215c81(0x171))['to'](this,_0x215c81(0x184),this,_0x215c81(0x162),(_0x3c2ecd,_0x85a21f)=>_0x3c2ecd&&_0x85a21f>0x0),this[_0x215c81(0x166)](_0x215c81(0x187))['to'](this,_0x215c81(0x184),this,_0x215c81(0x169),this,_0x215c81(0x162),this,_0x215c81(0x173),(_0x21a295,_0xa5508c,_0x34f37a,_0x4920c3)=>{const _0x4fdc49=_0x215c81;if(!_0x21a295)return _0x65a344(_0x3f35c5,_0x4fdc49(0x164));if(!_0x34f37a)return _0x65a344(_0x3f35c5,_0x4fdc49(0x17f));const _0x2331db=_0x65a344(_0x3f35c5,_0x4fdc49(0x165),_0x34f37a);return _0x4920c3?_0x65a344(_0x3f35c5,_0x4fdc49(0x186),[_0xa5508c+0x1,_0x34f37a]):_0x2331db;}),_0x3b34e5[_0x215c81(0x172)]({'label':_0x65a344(_0x3f35c5,_0x215c81(0x17e)),'tooltip':!0x0,'icon':_0xd0a834}),_0x3ed12f[_0x215c81(0x172)]({'label':_0x65a344(_0x3f35c5,_0x215c81(0x160)),'tooltip':!0x0,'icon':_0x1c1f6c}),_0x3b34e5[_0x215c81(0x166)](_0x215c81(0x16e))['to'](this,_0x215c81(0x178)),_0x3ed12f[_0x215c81(0x166)](_0x215c81(0x16e))['to'](this,_0x215c81(0x17d)),_0x3b34e5['on'](_0x215c81(0x183),()=>this[_0x215c81(0x174)](_0x215c81(0x183),_0x215c81(0x17b))),_0x3ed12f['on'](_0x215c81(0x183),()=>this[_0x215c81(0x174)](_0x215c81(0x183),_0x215c81(0x15e))),this[_0x215c81(0x161)]({'tag':_0x215c81(0x16b),'attributes':{'class':['ck',_0x215c81(0x16a),_0x215c81(0x180)]},'children':[{'tag':_0x215c81(0x15f),'attributes':{'class':[_0x215c81(0x16d)]},'children':[{'tag':_0x215c81(0x15f),'attributes':{'class':[_0x215c81(0x179),_0x428a4e['if'](_0x215c81(0x171),_0x215c81(0x16c),_0x5a47f6=>!_0x5a47f6)]},'children':[{'text':_0x428a4e['to'](_0x215c81(0x173),_0x476bfd=>_0x476bfd?_0x65a344(_0x3f35c5,_0x215c81(0x181))+':\x20':_0x65a344(_0x3f35c5,_0x215c81(0x185))+':\x20')}]},{'text':_0x428a4e['to'](_0x215c81(0x187))}]},new _0x2e70cb(),{'tag':_0x215c81(0x16b),'attributes':{'class':[_0x215c81(0x15d)]},'children':[_0x3b34e5,_0x3ed12f]}]});}}function _0x56ae(){const _0x121a92=['isForwardNavigationEnabled','Show\x20previous\x20change','No\x20changes','ck-revision-history-ui__changes-navigation','EDIT_X_OF_Y_REVISIONS','122896nIoFPz','execute','isReady','Total','X_OF_Y_CHANGES','_statusText','281382KCnfFu','ck-revision-history-ui__changes-navigation__navigation','forward','span','Show\x20next\x20change','setTemplate','numberOfChanges','920360OIdzJZ','Loading...','NUMBER_OF_CHANGES','bind','518353pNZpPW','511228aIqTUX','currentChangeNumber','ck-revision-history-ui','div','ck-hidden','ck-revision-history-ui__changes-navigation__wrapper','isEnabled','66iqxIxe','28LzhCGX','_isStatusLabelVisible','set','isNavigationMode','fire','10oWcfuQ','bindTemplate','268494nXtjvJ','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','21270ASTiVF','backward','27dfnedA'];_0x56ae=function(){return _0x121a92;};return _0x56ae();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x53af(){const _0x13221e=['435JKpysp','pluginName','11631347CtwPDS','commands','numberOfChanges','13380060XObcKZ','hide','currentChangeNumber','restoreRevision','49nSfgkA','11LbsTAE','isEnabled','forward','RevisionViewerUI','11694OXpDzC','801610OhklNt','execute','editor','closeRevisionViewerCallback','show','bind','change:isReady','isPremiumPlugin','12uPtJEi','isNavigationMode','listenTo','changesNavigation','1917424WOHyNm','config','isOfficialPlugin','set','add','isForwardNavigationEnabled','63ZwJYAF','Back\x20to\x20editing','get','54318vwbOKL','isBackwardNavigationEnabled','componentFactory','Restore\x20this\x20revision','1565775pHErYo','exitToEditing','plugins','revisionHistory','131bnTJnJ','init','showNextChange','isReady','requires','ck-revision-history-ui__back-to-editing','showPreviousChange'];_0x53af=function(){return _0x13221e;};return _0x53af();}const _0x1f5887=_0x17bf;(function(_0x158287,_0x5500b6){const _0x3c5cd7=_0x17bf,_0x3dd21c=_0x158287();while(!![]){try{const _0x3900b3=parseInt(_0x3c5cd7(0x205))/0x1*(-parseInt(_0x3c5cd7(0x1e7))/0x2)+-parseInt(_0x3c5cd7(0x201))/0x3*(-parseInt(_0x3c5cd7(0x1f0))/0x4)+-parseInt(_0x3c5cd7(0x20c))/0x5*(parseInt(_0x3c5cd7(0x1fd))/0x6)+-parseInt(_0x3c5cd7(0x215))/0x7*(-parseInt(_0x3c5cd7(0x1f4))/0x8)+parseInt(_0x3c5cd7(0x1fa))/0x9*(-parseInt(_0x3c5cd7(0x1e8))/0xa)+-parseInt(_0x3c5cd7(0x216))/0xb*(parseInt(_0x3c5cd7(0x211))/0xc)+parseInt(_0x3c5cd7(0x20e))/0xd;if(_0x3900b3===_0x5500b6)break;else _0x3dd21c['push'](_0x3dd21c['shift']());}catch(_0x598299){_0x3dd21c['push'](_0x3dd21c['shift']());}}}(_0x53af,0xddcfc));function _0x17bf(_0x292327,_0x41b45d){const _0x53af6d=_0x53af();return _0x17bf=function(_0x17bf9a,_0x17f281){_0x17bf9a=_0x17bf9a-0x1e5;let _0x4d5714=_0x53af6d[_0x17bf9a];return _0x4d5714;},_0x17bf(_0x292327,_0x41b45d);}import{Plugin as _0x46a8ff}from'ckeditor5/src/core.js';import{ButtonView as _0xd1ab65}from'ckeditor5/src/ui.js';import{IconUndo as _0x2247e9}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x40b58d}from'./changesnavigationview.js';import{RevisionViewer as _0x5eabd4}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x2d8edf}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x2f23dc}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x46a8ff{static get[_0x1f5887(0x20d)](){const _0x21476e=_0x1f5887;return _0x21476e(0x1e6);}static get[_0x1f5887(0x1f6)](){return!0x0;}static get[_0x1f5887(0x1ef)](){return!0x0;}static get[_0x1f5887(0x209)](){return[_0x5eabd4,_0x2d8edf];}[_0x1f5887(0x206)](){const _0x4c5572=_0x1f5887,_0x40b4a7=this[_0x4c5572(0x1ea)],_0x12559b=_0x40b4a7[_0x4c5572(0x203)][_0x4c5572(0x1fc)](_0x5eabd4),_0x5f3282=_0x40b4a7[_0x4c5572(0x203)][_0x4c5572(0x1fc)](_0x2d8edf);_0x40b4a7['ui'][_0x4c5572(0x1ff)][_0x4c5572(0x1f8)](_0x4c5572(0x202),_0x4b6655=>{const _0x48e690=_0x4c5572,_0x169ee5=new _0xd1ab65(_0x4b6655);return _0x169ee5[_0x48e690(0x1f7)]({'label':_0x2f23dc(_0x4b6655,_0x48e690(0x1fb)),'icon':_0x2247e9,'withText':!0x0,'tooltip':!0x0,'class':_0x48e690(0x20a)}),this[_0x48e690(0x1f2)](_0x169ee5,_0x48e690(0x1e9),()=>{const _0x1a15e5=_0x48e690;_0x40b4a7[_0x1a15e5(0x1f5)][_0x1a15e5(0x1fc)](_0x1a15e5(0x204))[_0x1a15e5(0x1eb)]();}),_0x169ee5;}),_0x40b4a7['ui'][_0x4c5572(0x1ff)][_0x4c5572(0x1f8)](_0x4c5572(0x214),_0x45da69=>{const _0x1e8ba8=_0x4c5572,_0x45118d=new _0xd1ab65(_0x45da69);return _0x45118d[_0x1e8ba8(0x1f7)]({'label':_0x2f23dc(_0x45da69,_0x1e8ba8(0x200)),'withText':!0x0,'tooltip':!0x0}),_0x45118d[_0x1e8ba8(0x1ed)](_0x1e8ba8(0x217))['to'](_0x40b4a7[_0x1e8ba8(0x20f)][_0x1e8ba8(0x1fc)](_0x1e8ba8(0x214))),this[_0x1e8ba8(0x1f2)](_0x45118d,_0x1e8ba8(0x1e9),()=>_0x40b4a7[_0x1e8ba8(0x1e9)](_0x1e8ba8(0x214))),_0x45118d;}),_0x40b4a7['ui'][_0x4c5572(0x1ff)][_0x4c5572(0x1f8)](_0x4c5572(0x1f3),_0x28ab19=>{const _0x3071ae=_0x4c5572,_0x39cbaa=new _0x40b58d(_0x28ab19),_0x5627b4=_0x40b4a7[_0x3071ae(0x20f)][_0x3071ae(0x1fc)](_0x3071ae(0x20b)),_0x14447e=_0x40b4a7[_0x3071ae(0x20f)][_0x3071ae(0x1fc)](_0x3071ae(0x207));return _0x39cbaa[_0x3071ae(0x1ed)](_0x3071ae(0x1fe))['to'](_0x5627b4,_0x3071ae(0x217)),_0x39cbaa[_0x3071ae(0x1ed)](_0x3071ae(0x1f9))['to'](_0x14447e,_0x3071ae(0x217)),_0x39cbaa[_0x3071ae(0x1ed)](_0x3071ae(0x208),_0x3071ae(0x213),_0x3071ae(0x210),_0x3071ae(0x1f1))['to'](_0x12559b),this[_0x3071ae(0x1f2)](_0x39cbaa,_0x3071ae(0x1e9),(_0x59caff,_0x3986ee)=>{const _0x509a17=_0x3071ae;_0x40b4a7[_0x509a17(0x1e9)](_0x509a17(0x1e5)===_0x3986ee?_0x509a17(0x207):_0x509a17(0x20b));}),_0x39cbaa;}),_0x5f3282[_0x4c5572(0x1ec)](),_0x12559b['on'](_0x4c5572(0x1ee),(_0x3bc827,_0x1e2196,_0x40dd47)=>{const _0x3c4e16=_0x4c5572;_0x40dd47?_0x5f3282[_0x3c4e16(0x212)]():_0x5f3282[_0x3c4e16(0x1ec)]();});}}
|