@ckeditor/ckeditor5-revision-history 47.4.0-alpha.3 → 47.4.0-alpha.4
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 _0x38ab(_0x290a58,_0x579790){const _0x46d2fe=_0x46d2();return _0x38ab=function(_0x38ab5e,_0x4ec7c3){_0x38ab5e=_0x38ab5e-0x132;let _0x5c982d=_0x46d2fe[_0x38ab5e];return _0x5c982d;},_0x38ab(_0x290a58,_0x579790);}(function(_0x45e369,_0xe02d32){const _0x24ea73=_0x38ab,_0x41379f=_0x45e369();while(!![]){try{const _0x324d5c=-parseInt(_0x24ea73(0x139))/0x1*(parseInt(_0x24ea73(0x134))/0x2)+-parseInt(_0x24ea73(0x135))/0x3*(-parseInt(_0x24ea73(0x13c))/0x4)+-parseInt(_0x24ea73(0x133))/0x5+parseInt(_0x24ea73(0x136))/0x6+parseInt(_0x24ea73(0x13e))/0x7*(-parseInt(_0x24ea73(0x13b))/0x8)+-parseInt(_0x24ea73(0x132))/0x9*(-parseInt(_0x24ea73(0x144))/0xa)+parseInt(_0x24ea73(0x140))/0xb;if(_0x324d5c===_0xe02d32)break;else _0x41379f['push'](_0x41379f['shift']());}catch(_0xccb1c3){_0x41379f['push'](_0x41379f['shift']());}}}(_0x46d2,0x21514));import{View as _0x47a323,IconView as _0x1f600f}from'ckeditor5/src/ui.js';import{getTranslation as _0x488df7}from'../../utils/common-translations.js';import{IconHistory as _0x4d364d}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x47a323{constructor(_0x2b6267){const _0x55e863=_0x38ab;super(_0x2b6267);const _0x13b8e8=new _0x1f600f();_0x13b8e8[_0x55e863(0x13a)]=_0x4d364d,this[_0x55e863(0x142)]({'tag':_0x55e863(0x13d),'attributes':{'class':['ck',_0x55e863(0x141),_0x55e863(0x137)]},'children':[_0x13b8e8,{'tag':_0x55e863(0x138),'attributes':{'class':['ck',_0x55e863(0x143)]},'children':[_0x488df7(_0x2b6267,_0x55e863(0x13f))]}]});}}function _0x46d2(){const _0x2824ad=['span','2FKWOCn','content','3264TrBayW','827760OIrRQJ','div','2331yIKxPq','Revision\x20history','2197305YcIAfz','ck-reset_all','setTemplate','ck-revision-history-sidebar__header__label','70EdxNrT','115029SGoPPx','747255cTsDok','224166WVAnWv','3pPIyOK','898722VJWaaB','ck-revision-history-sidebar__header'];_0x46d2=function(){return _0x2824ad;};return _0x46d2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x10489e=_0x1a1d;(function(_0x2df46b,_0x2f2850){const _0x2ded27=_0x1a1d,_0x4fb202=_0x2df46b();while(!![]){try{const _0x4afdec=-parseInt(_0x2ded27(0x156))/0x1*(-parseInt(_0x2ded27(0x155))/0x2)+-parseInt(_0x2ded27(0x14b))/0x3*(parseInt(_0x2ded27(0x14e))/0x4)+-parseInt(_0x2ded27(0x153))/0x5*(parseInt(_0x2ded27(0x15a))/0x6)+-parseInt(_0x2ded27(0x159))/0x7*(parseInt(_0x2ded27(0x167))/0x8)+parseInt(_0x2ded27(0x157))/0x9+-parseInt(_0x2ded27(0x162))/0xa*(-parseInt(_0x2ded27(0x14d))/0xb)+parseInt(_0x2ded27(0x169))/0xc;if(_0x4afdec===_0x2f2850)break;else _0x4fb202['push'](_0x4fb202['shift']());}catch(_0xf1d218){_0x4fb202['push'](_0x4fb202['shift']());}}}(_0x161a,0xb85a1));function _0x161a(){const _0x1a06f3=['16hIhyQu','removeRevision','22030560FaIQnQ','setName','span','uiLanguage','24696qsUxxo','find','33hbJJDN','452VCQwJg','div','select','localizedPeriodName','_revisionActions','764155mVQSaY','createCollection','609164fBOPpC','4dIpwEO','3818835sZSHJf','locale','2776067TRwNbL','42SIQIpx','delegate','ck-revision-history-sidebar__time-period__revisions','revisionViews','remove','setTemplate','_requireRevisionName','add','232590NkqeeO','ck-revision-history-sidebar__time-period__label','addRevision','startDate','ck-revision-history-sidebar__time-period'];_0x161a=function(){return _0x1a06f3;};return _0x161a();}import{View as _0x595db3}from'ckeditor5/src/ui.js';import{RevisionView as _0x1276e5}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x2fc5ba}from'./utils.js';function _0x1a1d(_0x469e55,_0x1c13e8){const _0x161a1b=_0x161a();return _0x1a1d=function(_0x1a1dcd,_0x50c88b){_0x1a1dcd=_0x1a1dcd-0x14a;let _0x276d17=_0x161a1b[_0x1a1dcd];return _0x276d17;},_0x1a1d(_0x469e55,_0x1c13e8);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x595db3{[_0x10489e(0x165)];[_0x10489e(0x15d)];[_0x10489e(0x152)];[_0x10489e(0x160)];constructor(_0x51853c,_0x2227c9,_0x2aaa6b,_0x555836){const _0x2d747f=_0x10489e;super(_0x51853c);const _0x38b5cf=_0x2fc5ba(_0x2227c9,this[_0x2d747f(0x158)][_0x2d747f(0x14a)])[_0x2d747f(0x151)];this[_0x2d747f(0x165)]=_0x2227c9,this[_0x2d747f(0x15d)]=this[_0x2d747f(0x154)](),this[_0x2d747f(0x152)]=_0x2aaa6b,this[_0x2d747f(0x160)]=_0x555836,this[_0x2d747f(0x15d)][_0x2d747f(0x15b)](_0x2d747f(0x150))['to'](this),this[_0x2d747f(0x15d)][_0x2d747f(0x15b)](_0x2d747f(0x16a))['to'](this),this[_0x2d747f(0x15f)]({'tag':_0x2d747f(0x14f),'attributes':{'class':['ck',_0x2d747f(0x166)]},'children':[{'tag':_0x2d747f(0x16b),'attributes':{'class':['ck',_0x2d747f(0x163)]},'children':[{'text':_0x38b5cf}]},{'tag':_0x2d747f(0x14f),'attributes':{'class':['ck',_0x2d747f(0x15c)]},'children':this[_0x2d747f(0x15d)]}]});}[_0x10489e(0x164)](_0x4cdf57){const _0x2266cd=_0x10489e,_0x4d908b=new _0x1276e5(this[_0x2266cd(0x158)],_0x4cdf57,this[_0x2266cd(0x152)],this[_0x2266cd(0x160)]);this[_0x2266cd(0x15d)][_0x2266cd(0x161)](_0x4d908b);}[_0x10489e(0x168)](_0x3e9410){const _0x21ed8f=_0x10489e,_0x15e178=this[_0x21ed8f(0x15d)][_0x21ed8f(0x14c)](_0x1b5abb=>_0x1b5abb['id']===_0x3e9410['id']);this[_0x21ed8f(0x15d)][_0x21ed8f(0x15e)](_0x15e178);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27b8e0=_0x5a01;function _0x5a01(_0x222e7b,_0x5bd832){const _0x2ce9bb=_0x2ce9();return _0x5a01=function(_0x5a01de,_0x188afe){_0x5a01de=_0x5a01de-0xbc;let _0x52846f=_0x2ce9bb[_0x5a01de];return _0x52846f;},_0x5a01(_0x222e7b,_0x5bd832);}function _0x2ce9(){const _0x1be606=['uiLanguage','add','selectRevision','remove','15mGmqfm','some','unhighlight','startDate','select','ck-disabled','_requireRevisionName','createdAt','ck-rounded-corners','2614LAdLhj','1777167TilUHk','fire','flat','delegate','_removeRevision','highlightRevisions','1237wSOuEs','div','6843900QLlXIT','bindTemplate','locale','revisionViews','ck-revision-history-sidebar','ck-reset','find','10530909TvwcQM','deselect','highlight','1817838zWTkHc','setName','removeRevision','getTime','addRevision','_revisionActions','map','set','createCollection','_revisions','ck-revision-history-sidebar__timeline','revisionSelected','_addRevision','render','revisionSetName','_getTimePeriodViewByStartDate','30GDParl','3613104spjePa','isEnabled','4904469xwsjWZ','setTemplate','get','timePeriodViews'];_0x2ce9=function(){return _0x1be606;};return _0x2ce9();}(function(_0x35ce06,_0x2312c1){const _0x42f6dc=_0x5a01,_0x314fc3=_0x35ce06();while(!![]){try{const _0x6a2a45=-parseInt(_0x42f6dc(0xd9))/0x1*(parseInt(_0x42f6dc(0xd2))/0x2)+-parseInt(_0x42f6dc(0xc1))/0x3+parseInt(_0x42f6dc(0xdb))/0x4+parseInt(_0x42f6dc(0xc9))/0x5*(-parseInt(_0x42f6dc(0xe5))/0x6)+parseInt(_0x42f6dc(0xd3))/0x7+-parseInt(_0x42f6dc(0xbf))/0x8+parseInt(_0x42f6dc(0xe2))/0x9*(parseInt(_0x42f6dc(0xbe))/0xa);if(_0x6a2a45===_0x2312c1)break;else _0x314fc3['push'](_0x314fc3['shift']());}catch(_0x4f2f63){_0x314fc3['push'](_0x314fc3['shift']());}}}(_0x2ce9,0xd2b2c));import{View as _0x28771c}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x3a790a}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x452b1e}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0xb5ac67}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x28771c{[_0x27b8e0(0xc4)];[_0x27b8e0(0xee)];[_0x27b8e0(0xea)];[_0x27b8e0(0xcf)];constructor(_0x5eaadf,_0x1cfde1,_0x846c96,_0x19e07d){const _0x2f3aec=_0x27b8e0;super(_0x5eaadf);const _0x5b522b=this[_0x2f3aec(0xdc)];this[_0x2f3aec(0xc4)]=this[_0x2f3aec(0xed)](),this[_0x2f3aec(0xc4)][_0x2f3aec(0xd6)](_0x2f3aec(0xcd))['to'](this),this[_0x2f3aec(0xc4)][_0x2f3aec(0xd6)](_0x2f3aec(0xe6))['to'](this),this[_0x2f3aec(0xee)]=_0x1cfde1,this[_0x2f3aec(0xea)]=_0x846c96,this[_0x2f3aec(0xcf)]=_0x19e07d,this['on'](_0x2f3aec(0xcd),(_0x550fda,_0x33bc50)=>{const _0xcc60f4=_0x2f3aec;this[_0xcc60f4(0xd4)](_0xcc60f4(0xf0),_0x33bc50);}),this['on'](_0x2f3aec(0xe6),(_0x4ae84c,_0x44f66a)=>{const _0x36d8cb=_0x2f3aec;this[_0x36d8cb(0xd4)](_0x36d8cb(0xbc),_0x44f66a);}),this[_0x2f3aec(0xec)](_0x2f3aec(0xc0),!0x1),this[_0x2f3aec(0xc2)]({'tag':_0x2f3aec(0xda),'attributes':{'class':['ck',_0x2f3aec(0xe0),_0x2f3aec(0xd1),_0x2f3aec(0xdf)]},'children':[new _0x452b1e(_0x5eaadf),{'tag':_0x2f3aec(0xda),'attributes':{'class':['ck',_0x2f3aec(0xef),_0x5b522b['if'](_0x2f3aec(0xc0),_0x2f3aec(0xce),_0x4af437=>!_0x4af437)]},'children':this[_0x2f3aec(0xc4)]}]});}[_0x27b8e0(0xf2)](){const _0x4b0898=_0x27b8e0;super[_0x4b0898(0xf2)]();for(const _0x8ceee1 of this[_0x4b0898(0xee)])this[_0x4b0898(0xf1)](_0x8ceee1);this[_0x4b0898(0xee)]['on'](_0x4b0898(0xc6),(_0x58b23d,_0x3b3863)=>{const _0x18d714=_0x4b0898;this[_0x18d714(0xf1)](_0x3b3863);}),this[_0x4b0898(0xee)]['on'](_0x4b0898(0xc8),(_0x539f3e,_0x54dddf)=>{const _0x5735fe=_0x4b0898;this[_0x5735fe(0xd7)](_0x54dddf);});}get[_0x27b8e0(0xde)](){const _0x13d077=_0x27b8e0;return this[_0x13d077(0xc4)][_0x13d077(0xeb)](_0x304171=>_0x304171[_0x13d077(0xde)][_0x13d077(0xeb)](_0x781e52=>_0x781e52))[_0x13d077(0xd5)]();}[_0x27b8e0(0xc7)](_0x51ebfc){const _0x521e0a=_0x27b8e0;for(const _0x568e6d of this[_0x521e0a(0xde)])_0x51ebfc&&_0x51ebfc['id']===_0x568e6d['id']?_0x568e6d[_0x521e0a(0xcd)]():_0x568e6d[_0x521e0a(0xe3)]();}[_0x27b8e0(0xd8)](_0x585fa8){const _0x518447=_0x27b8e0;for(const _0x50894c of this[_0x518447(0xde)])_0x585fa8[_0x518447(0xca)](({id:_0x5a5966})=>_0x5a5966===_0x50894c['id'])?_0x50894c[_0x518447(0xe4)]():_0x50894c[_0x518447(0xcb)]();}[_0x27b8e0(0xf1)](_0x2dc731){const _0x58d0a6=_0x27b8e0,_0x1f5364=_0xb5ac67(_0x2dc731[_0x58d0a6(0xd0)],this[_0x58d0a6(0xdd)][_0x58d0a6(0xc5)])[_0x58d0a6(0xcc)];let _0x304744=this[_0x58d0a6(0xc4)][_0x58d0a6(0xc3)](0x0);_0x304744&&_0x304744[_0x58d0a6(0xcc)][_0x58d0a6(0xe8)]()===_0x1f5364[_0x58d0a6(0xe8)]()||(_0x304744=new _0x3a790a(this[_0x58d0a6(0xdd)],_0x1f5364,this[_0x58d0a6(0xea)],this[_0x58d0a6(0xcf)]),this[_0x58d0a6(0xc4)][_0x58d0a6(0xc6)](_0x304744)),_0x304744[_0x58d0a6(0xe9)](_0x2dc731);}[_0x27b8e0(0xd7)](_0x126028){const _0xf15e44=_0x27b8e0,_0x269de4=_0xb5ac67(_0x126028[_0xf15e44(0xd0)],this[_0xf15e44(0xdd)][_0xf15e44(0xc5)])[_0xf15e44(0xcc)];this[_0xf15e44(0xbd)](_0x269de4)[_0xf15e44(0xe7)](_0x126028);}[_0x27b8e0(0xbd)](_0x480b4e){const _0x37a41b=_0x27b8e0;return this[_0x37a41b(0xc4)][_0x37a41b(0xe1)](_0x477a9e=>_0x477a9e[_0x37a41b(0xcc)][_0x37a41b(0xe8)]()===_0x480b4e[_0x37a41b(0xe8)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4413(_0x39f182,_0x4066ad){const _0x2fed8d=_0x2fed();return _0x4413=function(_0x441360,_0x2c1acd){_0x441360=_0x441360-0x175;let _0x446e60=_0x2fed8d[_0x441360];return _0x446e60;},_0x4413(_0x39f182,_0x4066ad);}function _0x2fed(){const _0x95f1b4=['type','data','ck-revision-change','element','span','8311737SaExoA','_model','bindTemplate','445806LFOCtG','ck-revision-change__label','214650pmULEt','3511395xRjFLz','1202096taAdLD','name','Suggested\x20by','1552TdjKFY','div','setTemplate','1665sjMDTO','set','ck-revision-change__','ck-annotation','focus','8585168cyAcRt','changeId','50lEFJGF','718eajvBQ','isSuggestion','add','Added\x20by','Removed\x20by','author'];_0x2fed=function(){return _0x95f1b4;};return _0x2fed();}const _0x34e3cc=_0x4413;(function(_0x313a0b,_0x10f00c){const _0x57e443=_0x4413,_0x2ace76=_0x313a0b();while(!![]){try{const _0x482653=parseInt(_0x57e443(0x18b))/0x1*(parseInt(_0x57e443(0x180))/0x2)+-parseInt(_0x57e443(0x17c))/0x3+parseInt(_0x57e443(0x17d))/0x4+-parseInt(_0x57e443(0x18a))/0x5*(parseInt(_0x57e443(0x179))/0x6)+-parseInt(_0x57e443(0x176))/0x7+-parseInt(_0x57e443(0x188))/0x8+-parseInt(_0x57e443(0x183))/0x9*(-parseInt(_0x57e443(0x17b))/0xa);if(_0x482653===_0x10f00c)break;else _0x2ace76['push'](_0x2ace76['shift']());}catch(_0x5479e4){_0x2ace76['push'](_0x2ace76['shift']());}}}(_0x2fed,0x9fd71));import{View as _0x2b93f2}from'ckeditor5/src/ui.js';import{getTranslation as _0x25f28f}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x2b93f2{[_0x34e3cc(0x189)];[_0x34e3cc(0x177)];constructor(_0x46c2d5,_0x302ecb){const _0x5ce4b8=_0x34e3cc;super(_0x46c2d5),this[_0x5ce4b8(0x177)]=_0x302ecb,this[_0x5ce4b8(0x189)]=_0x302ecb['id'];const _0x1bcf92=this[_0x5ce4b8(0x178)],_0x267f26=_0x25f28f(_0x46c2d5,_0x302ecb[_0x5ce4b8(0x192)][_0x5ce4b8(0x18c)]?_0x5ce4b8(0x17f):_0x5ce4b8(0x18d)==_0x302ecb[_0x5ce4b8(0x191)]?_0x5ce4b8(0x18e):_0x5ce4b8(0x18f));this[_0x5ce4b8(0x184)](_0x5ce4b8(0x191),_0x302ecb[_0x5ce4b8(0x191)]),this[_0x5ce4b8(0x182)]({'tag':_0x5ce4b8(0x181),'attributes':{'class':[_0x5ce4b8(0x186),_0x5ce4b8(0x193),_0x1bcf92['to'](_0x5ce4b8(0x191),_0x57fe1f=>_0x5ce4b8(0x185)+_0x57fe1f)],'tabindex':-0x1},'children':[{'tag':_0x5ce4b8(0x175),'children':[{'tag':_0x5ce4b8(0x175),'attributes':{'class':[_0x5ce4b8(0x17a)]},'children':[{'text':_0x267f26}]},{'text':'\x20'+_0x302ecb[_0x5ce4b8(0x190)][_0x5ce4b8(0x17e)]}]}]});}[_0x34e3cc(0x187)](){const _0x32d132=_0x34e3cc;this[_0x32d132(0x194)][_0x32d132(0x187)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1600ca,_0x3d9931){const _0x392b2f=_0x2ec1,_0x1ba05b=_0x1600ca();while(!![]){try{const _0x50dfcc=-parseInt(_0x392b2f(0x18b))/0x1*(-parseInt(_0x392b2f(0x17f))/0x2)+parseInt(_0x392b2f(0x186))/0x3+parseInt(_0x392b2f(0x170))/0x4+-parseInt(_0x392b2f(0x18a))/0x5*(-parseInt(_0x392b2f(0x184))/0x6)+-parseInt(_0x392b2f(0x182))/0x7+parseInt(_0x392b2f(0x183))/0x8*(parseInt(_0x392b2f(0x16f))/0x9)+-parseInt(_0x392b2f(0x189))/0xa;if(_0x50dfcc===_0x3d9931)break;else _0x1ba05b['push'](_0x1ba05b['shift']());}catch(_0x41916a){_0x1ba05b['push'](_0x1ba05b['shift']());}}}(_0x33b0,0x4d9e3));function _0x2ec1(_0x288f91,_0x5c10df){const _0x33b009=_0x33b0();return _0x2ec1=function(_0x2ec172,_0x375800){_0x2ec172=_0x2ec172-0x165;let _0x569991=_0x33b009[_0x2ec172];return _0x569991;},_0x2ec1(_0x288f91,_0x5c10df);}function _0x33b0(){const _0x10cd28=['1001670EdgmIQ','isForwardNavigationEnabled','isReady','3605329RvjYDS','131048Gybfdq','420bfeVAP','forward','1840080PdOALG','ck-revision-history-ui','ck-revision-history-ui__changes-navigation__label','11927940qFDVJs','8145sWUkWB','1JZEnsw','backward','setTemplate','set','span','_isStatusLabelVisible','isEnabled','_statusText','NUMBER_OF_CHANGES','div','No\x20changes','isBackwardNavigationEnabled','fire','ck-revision-history-ui__changes-navigation','Total','333KfBWXv','765768KnMZnB','isNavigationMode','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','ck-revision-history-ui__changes-navigation__navigation','Show\x20previous\x20change','Show\x20next\x20change','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','numberOfChanges','execute','ck-hidden','bind','Loading...','X_OF_Y_CHANGES'];_0x33b0=function(){return _0x10cd28;};return _0x33b0();}import{View as _0x1bb14c,ButtonView as _0x58565d,ToolbarSeparatorView as _0x21727d}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2a092f,IconChevronDown as _0x18c076}from'ckeditor5/src/icons.js';import{getTranslation as _0x442e9c}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x1bb14c{constructor(_0x28c53e){const _0x483f52=_0x2ec1;super(_0x28c53e);const _0x2828d3=this[_0x483f52(0x173)],_0x3ff242=new _0x58565d(_0x28c53e),_0x18c03d=new _0x58565d(_0x28c53e);this[_0x483f52(0x18e)](_0x483f52(0x171),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x181),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x177),0x0),this[_0x483f52(0x18e)](_0x483f52(0x179),0x0),this[_0x483f52(0x18e)](_0x483f52(0x180),!0x1),this[_0x483f52(0x18e)](_0x483f52(0x16b),!0x1),this[_0x483f52(0x17c)](_0x483f52(0x165))['to'](this,_0x483f52(0x181),this,_0x483f52(0x179),(_0x286633,_0x22e07b)=>_0x286633&&_0x22e07b>0x0),this[_0x483f52(0x17c)](_0x483f52(0x167))['to'](this,_0x483f52(0x181),this,_0x483f52(0x177),this,_0x483f52(0x179),this,_0x483f52(0x171),(_0x33de05,_0xc2795e,_0x23bb3c,_0x360597)=>{const _0x39e92f=_0x483f52;if(!_0x33de05)return _0x442e9c(_0x28c53e,_0x39e92f(0x17d));if(!_0x23bb3c)return _0x442e9c(_0x28c53e,_0x39e92f(0x16a));const _0x59b54e=_0x442e9c(_0x28c53e,_0x39e92f(0x168),_0x23bb3c);return _0x360597?_0x442e9c(_0x28c53e,_0x39e92f(0x17e),[_0xc2795e+0x1,_0x23bb3c]):_0x59b54e;}),_0x3ff242[_0x483f52(0x18e)]({'label':_0x442e9c(_0x28c53e,_0x483f52(0x175)),'tooltip':!0x0,'icon':_0x2a092f}),_0x18c03d[_0x483f52(0x18e)]({'label':_0x442e9c(_0x28c53e,_0x483f52(0x176)),'tooltip':!0x0,'icon':_0x18c076}),_0x3ff242[_0x483f52(0x17c)](_0x483f52(0x166))['to'](this,_0x483f52(0x16b)),_0x18c03d[_0x483f52(0x17c)](_0x483f52(0x166))['to'](this,_0x483f52(0x180)),_0x3ff242['on'](_0x483f52(0x17a),()=>this[_0x483f52(0x16c)](_0x483f52(0x17a),_0x483f52(0x18c))),_0x18c03d['on'](_0x483f52(0x17a),()=>this[_0x483f52(0x16c)](_0x483f52(0x17a),_0x483f52(0x185))),this[_0x483f52(0x18d)]({'tag':_0x483f52(0x169),'attributes':{'class':['ck',_0x483f52(0x187),_0x483f52(0x16d)]},'children':[{'tag':_0x483f52(0x18f),'attributes':{'class':[_0x483f52(0x172)]},'children':[{'tag':_0x483f52(0x18f),'attributes':{'class':[_0x483f52(0x188),_0x2828d3['if'](_0x483f52(0x165),_0x483f52(0x17b),_0x55ab69=>!_0x55ab69)]},'children':[{'text':_0x2828d3['to'](_0x483f52(0x171),_0x5082cb=>_0x5082cb?_0x442e9c(_0x28c53e,_0x483f52(0x178))+':\x20':_0x442e9c(_0x28c53e,_0x483f52(0x16e))+':\x20')}]},{'text':_0x2828d3['to'](_0x483f52(0x167))}]},new _0x21727d(),{'tag':_0x483f52(0x169),'attributes':{'class':[_0x483f52(0x174)]},'children':[_0x3ff242,_0x18c03d]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317a24=_0x5488;(function(_0x4ed574,_0x48e770){const _0x247683=_0x5488,_0x34b196=_0x4ed574();while(!![]){try{const _0x561634=-parseInt(_0x247683(0x14c))/0x1+-parseInt(_0x247683(0x15c))/0x2*(-parseInt(_0x247683(0x133))/0x3)+parseInt(_0x247683(0x151))/0x4+-parseInt(_0x247683(0x15d))/0x5*(-parseInt(_0x247683(0x155))/0x6)+-parseInt(_0x247683(0x154))/0x7*(parseInt(_0x247683(0x132))/0x8)+-parseInt(_0x247683(0x13f))/0x9+parseInt(_0x247683(0x134))/0xa*(-parseInt(_0x247683(0x131))/0xb);if(_0x561634===_0x48e770)break;else _0x34b196['push'](_0x34b196['shift']());}catch(_0x146b2a){_0x34b196['push'](_0x34b196['shift']());}}}(_0x8c1c,0xc7619));import{Plugin as _0x43eaf7}from'ckeditor5/src/core.js';function _0x8c1c(){const _0x2ea743=['plugins','isPremiumPlugin','isNavigationMode','73923zAhybc','numberOfChanges','set','hide','get','566396xneXvY','add','revisionHistory','7CbCVRD','173028pzmpFz','editor','isReady','isEnabled','isBackwardNavigationEnabled','commands','forward','2bslsLF','275nErDwy','Back\x20to\x20editing','bind','componentFactory','execute','11oeJDJg','2709488KihJgX','3957405xINqcO','2363170SNLcGy','currentChangeNumber','showNextChange','isOfficialPlugin','change:isReady','closeRevisionViewerCallback','pluginName','requires','showPreviousChange','RevisionViewerUI','show','14231097hRlGoI','Restore\x20this\x20revision','exitToEditing','ck-revision-history-ui__back-to-editing','listenTo','restoreRevision','config','init','changesNavigation','isForwardNavigationEnabled'];_0x8c1c=function(){return _0x2ea743;};return _0x8c1c();}import{ButtonView as _0x30177d}from'ckeditor5/src/ui.js';import{IconUndo as _0x22cd0c}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x51809e}from'./changesnavigationview.js';import{RevisionViewer as _0x45f820}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x5710ab}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0xeec7e2}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x5488(_0x71fc80,_0x477f99){const _0x8c1c73=_0x8c1c();return _0x5488=function(_0x5488bc,_0x404cdb){_0x5488bc=_0x5488bc-0x130;let _0x5bd91a=_0x8c1c73[_0x5488bc];return _0x5bd91a;},_0x5488(_0x71fc80,_0x477f99);}export class RevisionViewerUI extends _0x43eaf7{static get[_0x317a24(0x13a)](){const _0x2e0176=_0x317a24;return _0x2e0176(0x13d);}static get[_0x317a24(0x137)](){return!0x0;}static get[_0x317a24(0x14a)](){return!0x0;}static get[_0x317a24(0x13b)](){return[_0x45f820,_0x5710ab];}[_0x317a24(0x146)](){const _0x95386d=_0x317a24,_0x30346c=this[_0x95386d(0x156)],_0x172479=_0x30346c[_0x95386d(0x149)][_0x95386d(0x150)](_0x45f820),_0x2479d3=_0x30346c[_0x95386d(0x149)][_0x95386d(0x150)](_0x5710ab);_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x141),_0x7c23c1=>{const _0x41d617=_0x95386d,_0x5d3bf7=new _0x30177d(_0x7c23c1);return _0x5d3bf7[_0x41d617(0x14e)]({'label':_0xeec7e2(_0x7c23c1,_0x41d617(0x15e)),'icon':_0x22cd0c,'withText':!0x0,'tooltip':!0x0,'class':_0x41d617(0x142)}),this[_0x41d617(0x143)](_0x5d3bf7,_0x41d617(0x130),()=>{const _0x40d5fa=_0x41d617;_0x30346c[_0x40d5fa(0x145)][_0x40d5fa(0x150)](_0x40d5fa(0x153))[_0x40d5fa(0x139)]();}),_0x5d3bf7;}),_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x144),_0x1c158d=>{const _0x595e7c=_0x95386d,_0x40e53b=new _0x30177d(_0x1c158d);return _0x40e53b[_0x595e7c(0x14e)]({'label':_0xeec7e2(_0x1c158d,_0x595e7c(0x140)),'withText':!0x0,'tooltip':!0x0}),_0x40e53b[_0x595e7c(0x15f)](_0x595e7c(0x158))['to'](_0x30346c[_0x595e7c(0x15a)][_0x595e7c(0x150)](_0x595e7c(0x144))),this[_0x595e7c(0x143)](_0x40e53b,_0x595e7c(0x130),()=>_0x30346c[_0x595e7c(0x130)](_0x595e7c(0x144))),_0x40e53b;}),_0x30346c['ui'][_0x95386d(0x160)][_0x95386d(0x152)](_0x95386d(0x147),_0x4056b8=>{const _0x18cf32=_0x95386d,_0x61f748=new _0x51809e(_0x4056b8),_0x1a8966=_0x30346c[_0x18cf32(0x15a)][_0x18cf32(0x150)](_0x18cf32(0x13c)),_0x4ee683=_0x30346c[_0x18cf32(0x15a)][_0x18cf32(0x150)](_0x18cf32(0x136));return _0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x159))['to'](_0x1a8966,_0x18cf32(0x158)),_0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x148))['to'](_0x4ee683,_0x18cf32(0x158)),_0x61f748[_0x18cf32(0x15f)](_0x18cf32(0x157),_0x18cf32(0x135),_0x18cf32(0x14d),_0x18cf32(0x14b))['to'](_0x172479),this[_0x18cf32(0x143)](_0x61f748,_0x18cf32(0x130),(_0x38a1e3,_0x59138d)=>{const _0x3b61d2=_0x18cf32;_0x30346c[_0x3b61d2(0x130)](_0x3b61d2(0x15b)===_0x59138d?_0x3b61d2(0x136):_0x3b61d2(0x13c));}),_0x61f748;}),_0x2479d3[_0x95386d(0x13e)](),_0x172479['on'](_0x95386d(0x138),(_0x3a37d5,_0x2b015e,_0x9cd764)=>{const _0x1b18c7=_0x95386d;_0x9cd764?_0x2479d3[_0x1b18c7(0x14f)]():_0x2479d3[_0x1b18c7(0x13e)]();});}}
|