@ckeditor/ckeditor5-revision-history 47.3.0-alpha.3 → 47.3.0-alpha.5
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/revisionssidebar/utils.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 _0x2e66(_0x577105,_0x2ebfea){const _0x2a8eab=_0x2a8e();return _0x2e66=function(_0x2e66b0,_0xbaf8ad){_0x2e66b0=_0x2e66b0-0x199;let _0xdc7651=_0x2a8eab[_0x2e66b0];return _0xdc7651;},_0x2e66(_0x577105,_0x2ebfea);}(function(_0x5db003,_0x5ebc6b){const _0x1b1722=_0x2e66,_0x4c887f=_0x5db003();while(!![]){try{const _0x28396f=-parseInt(_0x1b1722(0x19b))/0x1+-parseInt(_0x1b1722(0x1a3))/0x2*(parseInt(_0x1b1722(0x19a))/0x3)+parseInt(_0x1b1722(0x199))/0x4+-parseInt(_0x1b1722(0x1a0))/0x5+parseInt(_0x1b1722(0x1a1))/0x6+-parseInt(_0x1b1722(0x1a8))/0x7*(-parseInt(_0x1b1722(0x1a7))/0x8)+parseInt(_0x1b1722(0x1a5))/0x9;if(_0x28396f===_0x5ebc6b)break;else _0x4c887f['push'](_0x4c887f['shift']());}catch(_0x18322b){_0x4c887f['push'](_0x4c887f['shift']());}}}(_0x2a8e,0xb2762));import{View as _0x43f3d3,IconView as _0x4cf083}from'ckeditor5/src/ui.js';import{getTranslation as _0x13d0f5}from'../../utils/common-translations.js';import{IconHistory as _0x31f1a1}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x2a8e(){const _0x29960c=['div','498LJxPDm','Revision\x20history','7928019KlWDnk','span','24GLvlPu','507332pcJYNn','ck-revision-history-sidebar__header__label','3053880KEZCtu','5946rgIYAY','333176uHLpnz','ck-revision-history-sidebar__header','setTemplate','content','ck-reset_all','6172620tCklbr','5582442oHvMwb'];_0x2a8e=function(){return _0x29960c;};return _0x2a8e();}export class RevisionsSidebarHeaderView extends _0x43f3d3{constructor(_0x5250e1){const _0x1264bf=_0x2e66;super(_0x5250e1);const _0x8badaf=new _0x4cf083();_0x8badaf[_0x1264bf(0x19e)]=_0x31f1a1,this[_0x1264bf(0x19d)]({'tag':_0x1264bf(0x1a2),'attributes':{'class':['ck',_0x1264bf(0x19f),_0x1264bf(0x19c)]},'children':[_0x8badaf,{'tag':_0x1264bf(0x1a6),'attributes':{'class':['ck',_0x1264bf(0x1a9)]},'children':[_0x13d0f5(_0x5250e1,_0x1264bf(0x1a4))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3838(_0x5d2462,_0x203796){const _0x53fd48=_0x53fd();return _0x3838=function(_0x383837,_0x3e9e48){_0x383837=_0x383837-0x7f;let _0x11ac28=_0x53fd48[_0x383837];return _0x11ac28;},_0x3838(_0x5d2462,_0x203796);}const _0x535ad1=_0x3838;(function(_0x28c8c0,_0x4436a){const _0x949e0d=_0x3838,_0x337c39=_0x28c8c0();while(!![]){try{const _0x1c64e1=-parseInt(_0x949e0d(0x81))/0x1+parseInt(_0x949e0d(0x86))/0x2*(-parseInt(_0x949e0d(0x97))/0x3)+parseInt(_0x949e0d(0x90))/0x4+parseInt(_0x949e0d(0x8b))/0x5+parseInt(_0x949e0d(0x98))/0x6*(-parseInt(_0x949e0d(0x95))/0x7)+-parseInt(_0x949e0d(0x82))/0x8*(parseInt(_0x949e0d(0x9c))/0x9)+parseInt(_0x949e0d(0x84))/0xa;if(_0x1c64e1===_0x4436a)break;else _0x337c39['push'](_0x337c39['shift']());}catch(_0x3b3e2a){_0x337c39['push'](_0x337c39['shift']());}}}(_0x53fd,0xbfd6e));import{View as _0x145c57}from'ckeditor5/src/ui.js';import{RevisionView as _0xd4e015}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x339190}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x145c57{[_0x535ad1(0x93)];[_0x535ad1(0x8e)];[_0x535ad1(0x85)];[_0x535ad1(0x8c)];constructor(_0x52a5d9,_0x4e5e74,_0x3f8401,_0x3ef766){const _0x23fe44=_0x535ad1;super(_0x52a5d9);const _0x5d4b57=_0x339190(_0x4e5e74,this[_0x23fe44(0x9a)][_0x23fe44(0x9b)])[_0x23fe44(0x83)];this[_0x23fe44(0x93)]=_0x4e5e74,this[_0x23fe44(0x8e)]=this[_0x23fe44(0x8d)](),this[_0x23fe44(0x85)]=_0x3f8401,this[_0x23fe44(0x8c)]=_0x3ef766,this[_0x23fe44(0x8e)][_0x23fe44(0x7f)](_0x23fe44(0x92))['to'](this),this[_0x23fe44(0x8e)][_0x23fe44(0x7f)](_0x23fe44(0x91))['to'](this),this[_0x23fe44(0x9d)]({'tag':_0x23fe44(0x99),'attributes':{'class':['ck',_0x23fe44(0x89)]},'children':[{'tag':_0x23fe44(0x88),'attributes':{'class':['ck',_0x23fe44(0x80)]},'children':[{'text':_0x5d4b57}]},{'tag':_0x23fe44(0x99),'attributes':{'class':['ck',_0x23fe44(0x9e)]},'children':this[_0x23fe44(0x8e)]}]});}[_0x535ad1(0x8f)](_0x4b0251){const _0x12019b=_0x535ad1,_0x5f3441=new _0xd4e015(this[_0x12019b(0x9a)],_0x4b0251,this[_0x12019b(0x85)],this[_0x12019b(0x8c)]);this[_0x12019b(0x8e)][_0x12019b(0x94)](_0x5f3441);}[_0x535ad1(0x96)](_0x4379db){const _0x31bd7f=_0x535ad1,_0x537ac9=this[_0x31bd7f(0x8e)][_0x31bd7f(0x8a)](_0x43dffd=>_0x43dffd['id']===_0x4379db['id']);this[_0x31bd7f(0x8e)][_0x31bd7f(0x87)](_0x537ac9);}}function _0x53fd(){const _0xc7f34c=['div','locale','uiLanguage','2547RGHFcd','setTemplate','ck-revision-history-sidebar__time-period__revisions','delegate','ck-revision-history-sidebar__time-period__label','1092782WsPSlS','24824cbmmeX','localizedPeriodName','45968630IzvKhe','_revisionActions','71186sSFHlt','remove','span','ck-revision-history-sidebar__time-period','find','481710JizUTt','_requireRevisionName','createCollection','revisionViews','addRevision','1694244AzSmRj','setName','select','startDate','add','62867aEJjEU','removeRevision','99cFKMSg','792rCiXDy'];_0x53fd=function(){return _0xc7f34c;};return _0x53fd();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x48ed(_0x192e27,_0x12017b){const _0x1ed27f=_0x1ed2();return _0x48ed=function(_0x48ed52,_0x4bd1e4){_0x48ed52=_0x48ed52-0x132;let _0x4411b8=_0x1ed27f[_0x48ed52];return _0x4411b8;},_0x48ed(_0x192e27,_0x12017b);}const _0x2a1cdb=_0x48ed;function _0x1ed2(){const _0x43e024=['uiLanguage','ck-reset','highlightRevisions','timePeriodViews','1986560cVgtGR','_requireRevisionName','get','1825154eWookX','319ehJkUD','ck-revision-history-sidebar__timeline','setName','ck-disabled','find','29682ARTDAg','locale','select','getTime','div','241210HxyDgU','set','removeRevision','2159972iVIIYL','_revisions','render','remove','highlight','setTemplate','_getTimePeriodViewByStartDate','7420jpoYmq','addRevision','createCollection','startDate','fire','_removeRevision','_addRevision','createdAt','revisionSetName','delegate','isEnabled','unhighlight','add','890918JMHJDG','selectRevision','revisionViews','168KppdHl','some','flat','map','3TjdSPA','_revisionActions','ck-rounded-corners','deselect','3090PrzgiU','ck-revision-history-sidebar','revisionSelected','bindTemplate'];_0x1ed2=function(){return _0x43e024;};return _0x1ed2();}(function(_0x349f55,_0x4c230a){const _0x538872=_0x48ed,_0x54c06b=_0x349f55();while(!![]){try{const _0x13d18e=parseInt(_0x538872(0x15d))/0x1+parseInt(_0x538872(0x13b))/0x2*(parseInt(_0x538872(0x164))/0x3)+-parseInt(_0x538872(0x149))/0x4+parseInt(_0x538872(0x138))/0x5+parseInt(_0x538872(0x168))/0x6*(-parseInt(_0x538872(0x150))/0x7)+-parseInt(_0x538872(0x160))/0x8*(-parseInt(_0x538872(0x141))/0x9)+parseInt(_0x538872(0x146))/0xa*(-parseInt(_0x538872(0x13c))/0xb);if(_0x13d18e===_0x4c230a)break;else _0x54c06b['push'](_0x54c06b['shift']());}catch(_0x573c0a){_0x54c06b['push'](_0x54c06b['shift']());}}}(_0x1ed2,0x76537));import{View as _0x1a73fc}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x55a0f9}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x7d1dd0}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x565352}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x1a73fc{[_0x2a1cdb(0x137)];[_0x2a1cdb(0x14a)];[_0x2a1cdb(0x165)];[_0x2a1cdb(0x139)];constructor(_0x4a5240,_0x1e371b,_0x29a54a,_0x40719a){const _0x4b8ed0=_0x2a1cdb;super(_0x4a5240);const _0x5d7426=this[_0x4b8ed0(0x133)];this[_0x4b8ed0(0x137)]=this[_0x4b8ed0(0x152)](),this[_0x4b8ed0(0x137)][_0x4b8ed0(0x159)](_0x4b8ed0(0x143))['to'](this),this[_0x4b8ed0(0x137)][_0x4b8ed0(0x159)](_0x4b8ed0(0x13e))['to'](this),this[_0x4b8ed0(0x14a)]=_0x1e371b,this[_0x4b8ed0(0x165)]=_0x29a54a,this[_0x4b8ed0(0x139)]=_0x40719a,this['on'](_0x4b8ed0(0x143),(_0x2dbe0f,_0x47a9b3)=>{const _0x45f806=_0x4b8ed0;this[_0x45f806(0x154)](_0x45f806(0x132),_0x47a9b3);}),this['on'](_0x4b8ed0(0x13e),(_0x4b908a,_0x57fa0a)=>{const _0x4b9786=_0x4b8ed0;this[_0x4b9786(0x154)](_0x4b9786(0x158),_0x57fa0a);}),this[_0x4b8ed0(0x147)](_0x4b8ed0(0x15a),!0x1),this[_0x4b8ed0(0x14e)]({'tag':_0x4b8ed0(0x145),'attributes':{'class':['ck',_0x4b8ed0(0x135),_0x4b8ed0(0x166),_0x4b8ed0(0x169)]},'children':[new _0x7d1dd0(_0x4a5240),{'tag':_0x4b8ed0(0x145),'attributes':{'class':['ck',_0x4b8ed0(0x13d),_0x5d7426['if'](_0x4b8ed0(0x15a),_0x4b8ed0(0x13f),_0x5e8da0=>!_0x5e8da0)]},'children':this[_0x4b8ed0(0x137)]}]});}[_0x2a1cdb(0x14b)](){const _0x45dabf=_0x2a1cdb;super[_0x45dabf(0x14b)]();for(const _0x4a5f39 of this[_0x45dabf(0x14a)])this[_0x45dabf(0x156)](_0x4a5f39);this[_0x45dabf(0x14a)]['on'](_0x45dabf(0x15c),(_0x4d3b63,_0x4775a1)=>{const _0x2f9d4b=_0x45dabf;this[_0x2f9d4b(0x156)](_0x4775a1);}),this[_0x45dabf(0x14a)]['on'](_0x45dabf(0x14c),(_0x548f00,_0x4b9cb5)=>{const _0x455edd=_0x45dabf;this[_0x455edd(0x155)](_0x4b9cb5);});}get[_0x2a1cdb(0x15f)](){const _0x56e0c7=_0x2a1cdb;return this[_0x56e0c7(0x137)][_0x56e0c7(0x163)](_0x354509=>_0x354509[_0x56e0c7(0x15f)][_0x56e0c7(0x163)](_0x5692f7=>_0x5692f7))[_0x56e0c7(0x162)]();}[_0x2a1cdb(0x15e)](_0x3489ad){const _0x573fb3=_0x2a1cdb;for(const _0x35d676 of this[_0x573fb3(0x15f)])_0x3489ad&&_0x3489ad['id']===_0x35d676['id']?_0x35d676[_0x573fb3(0x143)]():_0x35d676[_0x573fb3(0x167)]();}[_0x2a1cdb(0x136)](_0x2e773c){const _0x537e97=_0x2a1cdb;for(const _0x54560e of this[_0x537e97(0x15f)])_0x2e773c[_0x537e97(0x161)](({id:_0x774f7e})=>_0x774f7e===_0x54560e['id'])?_0x54560e[_0x537e97(0x14d)]():_0x54560e[_0x537e97(0x15b)]();}[_0x2a1cdb(0x156)](_0x299c49){const _0x3719ed=_0x2a1cdb,_0x4126e7=_0x565352(_0x299c49[_0x3719ed(0x157)],this[_0x3719ed(0x142)][_0x3719ed(0x134)])[_0x3719ed(0x153)];let _0x19243b=this[_0x3719ed(0x137)][_0x3719ed(0x13a)](0x0);_0x19243b&&_0x19243b[_0x3719ed(0x153)][_0x3719ed(0x144)]()===_0x4126e7[_0x3719ed(0x144)]()||(_0x19243b=new _0x55a0f9(this[_0x3719ed(0x142)],_0x4126e7,this[_0x3719ed(0x165)],this[_0x3719ed(0x139)]),this[_0x3719ed(0x137)][_0x3719ed(0x15c)](_0x19243b)),_0x19243b[_0x3719ed(0x151)](_0x299c49);}[_0x2a1cdb(0x155)](_0x2d0daa){const _0x4c21b9=_0x2a1cdb,_0x4d49ac=_0x565352(_0x2d0daa[_0x4c21b9(0x157)],this[_0x4c21b9(0x142)][_0x4c21b9(0x134)])[_0x4c21b9(0x153)];this[_0x4c21b9(0x14f)](_0x4d49ac)[_0x4c21b9(0x148)](_0x2d0daa);}[_0x2a1cdb(0x14f)](_0x4921c3){const _0x4ee38c=_0x2a1cdb;return this[_0x4ee38c(0x137)][_0x4ee38c(0x140)](_0x2a09a1=>_0x2a09a1[_0x4ee38c(0x153)][_0x4ee38c(0x144)]()===_0x4921c3[_0x4ee38c(0x144)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5d21(_0x746215,_0x3606cc){const _0x5d73d2=_0x5d73();return _0x5d21=function(_0x5d210f,_0x473297){_0x5d210f=_0x5d210f-0xe8;let _0x41939e=_0x5d73d2[_0x5d210f];return _0x41939e;},_0x5d21(_0x746215,_0x3606cc);}(function(_0x2cccc0,_0x5753da){const _0x41e1e2=_0x5d21,_0x51dd17=_0x2cccc0();while(!![]){try{const _0x2174e6=-parseInt(_0x41e1e2(0xf4))/0x1*(parseInt(_0x41e1e2(0xf7))/0x2)+parseInt(_0x41e1e2(0xeb))/0x3*(parseInt(_0x41e1e2(0xfa))/0x4)+-parseInt(_0x41e1e2(0xf9))/0x5*(parseInt(_0x41e1e2(0xee))/0x6)+parseInt(_0x41e1e2(0xe8))/0x7*(-parseInt(_0x41e1e2(0xef))/0x8)+parseInt(_0x41e1e2(0xec))/0x9+-parseInt(_0x41e1e2(0xfb))/0xa+parseInt(_0x41e1e2(0xf2))/0xb;if(_0x2174e6===_0x5753da)break;else _0x51dd17['push'](_0x51dd17['shift']());}catch(_0x5ef44e){_0x51dd17['push'](_0x51dd17['shift']());}}}(_0x5d73,0x2040b));function _0x5d73(){const _0x4d3e8c=['133544zgzLCz','2391780UctjhH','day','hasSame','minus','setLocale','year','7483QvOula','weekdayLong','toRelativeCalendar','21mSCOKW','2335104UvGPOU','startOf','69540wZRzSR','896JzsseM','week','fromJSDate','1289519rOiHdg','monthLong','14EsLzmy','local','month','2152isqGJe','toJSDate','45dzWrcG'];_0x5d73=function(){return _0x4d3e8c;};return _0x5d73();}import{DateTime as _0xb1568a}from'luxon';export function getDateTimePeriodInfo(_0x51a425,_0x504d87){const _0x56abc1=_0x5d21,_0x1983ed=_0xb1568a[_0x56abc1(0xf1)](_0x51a425)[_0x56abc1(0xff)](_0x504d87),_0x2d87d0=_0xb1568a[_0x56abc1(0xf5)](),_0x2ae545=_0x2d87d0[_0x56abc1(0xfe)]({'days':0x1})[_0x56abc1(0xed)](_0x56abc1(0xfc));let _0x35747b,_0x1c2294;return _0x1983ed[_0x56abc1(0xfd)](_0x2d87d0,_0x56abc1(0xfc))?(_0x35747b=_0x1983ed[_0x56abc1(0xed)](_0x56abc1(0xfc))[_0x56abc1(0xf8)](),_0x1c2294=_0x1983ed[_0x56abc1(0xea)]()):_0x1983ed[_0x56abc1(0xfd)](_0x2ae545,_0x56abc1(0xfc))?(_0x35747b=_0x2ae545[_0x56abc1(0xf8)](),_0x1c2294=_0x1983ed[_0x56abc1(0xea)]()):_0x1983ed[_0x56abc1(0xfd)](_0x2d87d0,_0x56abc1(0xf0))?(_0x35747b=_0x1983ed[_0x56abc1(0xed)](_0x56abc1(0xf0))[_0x56abc1(0xf8)](),_0x1c2294=_0x1983ed[_0x56abc1(0xe9)]||''):_0x1983ed[_0x56abc1(0xfd)](_0x2d87d0,_0x56abc1(0x100))?(_0x35747b=_0x1983ed[_0x56abc1(0xed)](_0x56abc1(0xf6))[_0x56abc1(0xf8)](),_0x1c2294=_0x1983ed[_0x56abc1(0xf3)]||''):(_0x35747b=_0x1983ed[_0x56abc1(0xed)](_0x56abc1(0x100))[_0x56abc1(0xf8)](),_0x1c2294=String(_0x1983ed[_0x56abc1(0x100)])),{'startDate':_0x35747b,'localizedPeriodName':_0x1c2294};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x293772=_0x540c;(function(_0x554f3c,_0x4f5088){const _0x218dfb=_0x540c,_0x25b7c0=_0x554f3c();while(!![]){try{const _0x521750=parseInt(_0x218dfb(0x170))/0x1*(parseInt(_0x218dfb(0x161))/0x2)+parseInt(_0x218dfb(0x158))/0x3+-parseInt(_0x218dfb(0x16f))/0x4+parseInt(_0x218dfb(0x15b))/0x5+-parseInt(_0x218dfb(0x167))/0x6+-parseInt(_0x218dfb(0x16c))/0x7+-parseInt(_0x218dfb(0x159))/0x8*(-parseInt(_0x218dfb(0x163))/0x9);if(_0x521750===_0x4f5088)break;else _0x25b7c0['push'](_0x25b7c0['shift']());}catch(_0xb14087){_0x25b7c0['push'](_0x25b7c0['shift']());}}}(_0x3b4f,0xed45f));import{View as _0x4281ff}from'ckeditor5/src/ui.js';import{getTranslation as _0x514aac}from'../../utils/common-translations.js';function _0x540c(_0x43a005,_0x2ec9e1){const _0x3b4f85=_0x3b4f();return _0x540c=function(_0x540c89,_0x1f8890){_0x540c89=_0x540c89-0x155;let _0x313daa=_0x3b4f85[_0x540c89];return _0x313daa;},_0x540c(_0x43a005,_0x2ec9e1);}export class ChangeDetailsView extends _0x4281ff{[_0x293772(0x162)];[_0x293772(0x173)];constructor(_0x34a616,_0x9e6e4d){const _0x19db37=_0x293772;super(_0x34a616),this[_0x19db37(0x173)]=_0x9e6e4d,this[_0x19db37(0x162)]=_0x9e6e4d['id'];const _0x3d36cc=this[_0x19db37(0x15c)],_0x453b77=_0x514aac(_0x34a616,_0x9e6e4d[_0x19db37(0x16e)][_0x19db37(0x164)]?_0x19db37(0x166):_0x19db37(0x15f)==_0x9e6e4d[_0x19db37(0x155)]?_0x19db37(0x165):_0x19db37(0x156));this[_0x19db37(0x15a)](_0x19db37(0x155),_0x9e6e4d[_0x19db37(0x155)]),this[_0x19db37(0x157)]({'tag':_0x19db37(0x172),'attributes':{'class':[_0x19db37(0x16d),_0x19db37(0x169),_0x3d36cc['to'](_0x19db37(0x155),_0x449f10=>_0x19db37(0x15e)+_0x449f10)],'tabindex':-0x1},'children':[{'tag':_0x19db37(0x171),'children':[{'tag':_0x19db37(0x171),'attributes':{'class':[_0x19db37(0x168)]},'children':[{'text':_0x453b77}]},{'text':'\x20'+_0x9e6e4d[_0x19db37(0x16b)][_0x19db37(0x15d)]}]}]});}[_0x293772(0x16a)](){const _0x10fd16=_0x293772;this[_0x10fd16(0x160)][_0x10fd16(0x16a)]();}}function _0x3b4f(){const _0x1c3de0=['focus','author','10912587EFTIRM','ck-annotation','data','3226012dRxvjh','43257szZdke','span','div','_model','type','Removed\x20by','setTemplate','1160247zodjQi','525744dqcjcy','set','495530tHiDSw','bindTemplate','name','ck-revision-change__','add','element','10MmOTgP','changeId','405pvPDie','isSuggestion','Added\x20by','Suggested\x20by','1932810TElueT','ck-revision-change__label','ck-revision-change'];_0x3b4f=function(){return _0x1c3de0;};return _0x3b4f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x448b(){const _0x519b97=['7692420GncbYj','div','isForwardNavigationEnabled','execute','9214520OlZOEO','1216270pnAgTk','NUMBER_OF_CHANGES','228434loICFl','No\x20changes','4037256MuakhE','2eVlWbw','setTemplate','X_OF_Y_CHANGES','isEnabled','bindTemplate','ck-revision-history-ui__changes-navigation__wrapper','forward','set','currentChangeNumber','ck-revision-history-ui__changes-navigation__navigation','span','isReady','ck-revision-history-ui__changes-navigation','_isStatusLabelVisible','Show\x20next\x20change','isBackwardNavigationEnabled','Total','fire','ck-revision-history-ui__changes-navigation__label','EDIT_X_OF_Y_REVISIONS','backward','Loading...','ck-hidden','1501284jlnjzf','numberOfChanges','_statusText','bind','Show\x20previous\x20change','isNavigationMode','4476199ZrOsPk','ck-revision-history-ui'];_0x448b=function(){return _0x519b97;};return _0x448b();}(function(_0x502588,_0x194096){const _0x10c640=_0x3148,_0x13d3fb=_0x502588();while(!![]){try{const _0x3d9849=-parseInt(_0x10c640(0xd9))/0x1*(-parseInt(_0x10c640(0xdc))/0x2)+-parseInt(_0x10c640(0xf3))/0x3+-parseInt(_0x10c640(0xdb))/0x4+parseInt(_0x10c640(0xd7))/0x5+parseInt(_0x10c640(0xd2))/0x6+-parseInt(_0x10c640(0xd0))/0x7+parseInt(_0x10c640(0xd6))/0x8;if(_0x3d9849===_0x194096)break;else _0x13d3fb['push'](_0x13d3fb['shift']());}catch(_0x4368fd){_0x13d3fb['push'](_0x13d3fb['shift']());}}}(_0x448b,0xb8a96));function _0x3148(_0x493f85,_0x4f346e){const _0x448b64=_0x448b();return _0x3148=function(_0x31488d,_0x33a8b4){_0x31488d=_0x31488d-0xcd;let _0x3f8af3=_0x448b64[_0x31488d];return _0x3f8af3;},_0x3148(_0x493f85,_0x4f346e);}import{View as _0x584da3,ButtonView as _0xdc3947,ToolbarSeparatorView as _0x38194c}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x3f29fc,IconChevronDown as _0x301f73}from'ckeditor5/src/icons.js';import{getTranslation as _0x508286}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x584da3{constructor(_0x444528){const _0x12501a=_0x3148;super(_0x444528);const _0x1205b0=this[_0x12501a(0xe0)],_0xc3aafb=new _0xdc3947(_0x444528),_0x16e804=new _0xdc3947(_0x444528);this[_0x12501a(0xe3)](_0x12501a(0xcf),!0x1),this[_0x12501a(0xe3)](_0x12501a(0xe7),!0x1),this[_0x12501a(0xe3)](_0x12501a(0xe4),0x0),this[_0x12501a(0xe3)](_0x12501a(0xf4),0x0),this[_0x12501a(0xe3)](_0x12501a(0xd4),!0x1),this[_0x12501a(0xe3)](_0x12501a(0xeb),!0x1),this[_0x12501a(0xcd)](_0x12501a(0xe9))['to'](this,_0x12501a(0xe7),this,_0x12501a(0xf4),(_0x712c9a,_0x2499a0)=>_0x712c9a&&_0x2499a0>0x0),this[_0x12501a(0xcd)](_0x12501a(0xf5))['to'](this,_0x12501a(0xe7),this,_0x12501a(0xe4),this,_0x12501a(0xf4),this,_0x12501a(0xcf),(_0x1202fd,_0x20bfd0,_0x4bf995,_0xb933b4)=>{const _0x39de3a=_0x12501a;if(!_0x1202fd)return _0x508286(_0x444528,_0x39de3a(0xf1));if(!_0x4bf995)return _0x508286(_0x444528,_0x39de3a(0xda));const _0x1eb412=_0x508286(_0x444528,_0x39de3a(0xd8),_0x4bf995);return _0xb933b4?_0x508286(_0x444528,_0x39de3a(0xde),[_0x20bfd0+0x1,_0x4bf995]):_0x1eb412;}),_0xc3aafb[_0x12501a(0xe3)]({'label':_0x508286(_0x444528,_0x12501a(0xce)),'tooltip':!0x0,'icon':_0x3f29fc}),_0x16e804[_0x12501a(0xe3)]({'label':_0x508286(_0x444528,_0x12501a(0xea)),'tooltip':!0x0,'icon':_0x301f73}),_0xc3aafb[_0x12501a(0xcd)](_0x12501a(0xdf))['to'](this,_0x12501a(0xeb)),_0x16e804[_0x12501a(0xcd)](_0x12501a(0xdf))['to'](this,_0x12501a(0xd4)),_0xc3aafb['on'](_0x12501a(0xd5),()=>this[_0x12501a(0xed)](_0x12501a(0xd5),_0x12501a(0xf0))),_0x16e804['on'](_0x12501a(0xd5),()=>this[_0x12501a(0xed)](_0x12501a(0xd5),_0x12501a(0xe2))),this[_0x12501a(0xdd)]({'tag':_0x12501a(0xd3),'attributes':{'class':['ck',_0x12501a(0xd1),_0x12501a(0xe8)]},'children':[{'tag':_0x12501a(0xe6),'attributes':{'class':[_0x12501a(0xe1)]},'children':[{'tag':_0x12501a(0xe6),'attributes':{'class':[_0x12501a(0xee),_0x1205b0['if'](_0x12501a(0xe9),_0x12501a(0xf2),_0xbc054f=>!_0xbc054f)]},'children':[{'text':_0x1205b0['to'](_0x12501a(0xcf),_0xb327bc=>_0xb327bc?_0x508286(_0x444528,_0x12501a(0xef))+':\x20':_0x508286(_0x444528,_0x12501a(0xec))+':\x20')}]},{'text':_0x1205b0['to'](_0x12501a(0xf5))}]},new _0x38194c(),{'tag':_0x12501a(0xd3),'attributes':{'class':[_0x12501a(0xe5)]},'children':[_0xc3aafb,_0x16e804]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43cc(){const _0x18ba8e=['Restore\x20this\x20revision','40129eJtCDe','commands','changesNavigation','change:isReady','hide','RevisionViewerUI','forward','componentFactory','515230ODPdZU','show','bind','showNextChange','12068rMdlkI','execute','isNavigationMode','numberOfChanges','isPremiumPlugin','72IMtstx','isEnabled','plugins','354PoIvzy','702922byufoF','421105KQoaEh','isForwardNavigationEnabled','Back\x20to\x20editing','exitToEditing','requires','4syAhDn','get','isOfficialPlugin','ck-revision-history-ui__back-to-editing','restoreRevision','showPreviousChange','add','config','490328ueddeX','768600mjrNcr','isBackwardNavigationEnabled','revisionHistory','init','editor','pluginName','currentChangeNumber','set','listenTo','isReady','closeRevisionViewerCallback','99drHMWG'];_0x43cc=function(){return _0x18ba8e;};return _0x43cc();}const _0x37edec=_0x1100;(function(_0x2e23de,_0x496060){const _0x383887=_0x1100,_0x5bcf75=_0x2e23de();while(!![]){try{const _0x455fb5=-parseInt(_0x383887(0xd4))/0x1+-parseInt(_0x383887(0xe9))/0x2+-parseInt(_0x383887(0xc7))/0x3+parseInt(_0x383887(0xef))/0x4*(parseInt(_0x383887(0xea))/0x5)+-parseInt(_0x383887(0xe8))/0x6*(parseInt(_0x383887(0xe0))/0x7)+parseInt(_0x383887(0xc6))/0x8*(parseInt(_0x383887(0xe5))/0x9)+parseInt(_0x383887(0xdc))/0xa*(parseInt(_0x383887(0xd2))/0xb);if(_0x455fb5===_0x496060)break;else _0x5bcf75['push'](_0x5bcf75['shift']());}catch(_0x2c3c52){_0x5bcf75['push'](_0x5bcf75['shift']());}}}(_0x43cc,0x467ee));import{Plugin as _0x280d2e}from'ckeditor5/src/core.js';function _0x1100(_0x29b87a,_0x169bbc){const _0x43cc56=_0x43cc();return _0x1100=function(_0x110013,_0x3f3618){_0x110013=_0x110013-0xc0;let _0x43e250=_0x43cc56[_0x110013];return _0x43e250;},_0x1100(_0x29b87a,_0x169bbc);}import{ButtonView as _0x3a9e3f}from'ckeditor5/src/ui.js';import{IconUndo as _0xc1ab07}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x24f166}from'./changesnavigationview.js';import{RevisionViewer as _0x1ef1e0}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x20600b}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4d04b0}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x280d2e{static get[_0x37edec(0xcc)](){const _0x37110=_0x37edec;return _0x37110(0xd9);}static get[_0x37edec(0xc0)](){return!0x0;}static get[_0x37edec(0xe4)](){return!0x0;}static get[_0x37edec(0xee)](){return[_0x1ef1e0,_0x20600b];}[_0x37edec(0xca)](){const _0x25f13d=_0x37edec,_0x38a117=this[_0x25f13d(0xcb)],_0x4ade7b=_0x38a117[_0x25f13d(0xe7)][_0x25f13d(0xf0)](_0x1ef1e0),_0x55f75d=_0x38a117[_0x25f13d(0xe7)][_0x25f13d(0xf0)](_0x20600b);_0x38a117['ui'][_0x25f13d(0xdb)][_0x25f13d(0xc4)](_0x25f13d(0xed),_0x179b04=>{const _0x4a3f80=_0x25f13d,_0x1f8800=new _0x3a9e3f(_0x179b04);return _0x1f8800[_0x4a3f80(0xce)]({'label':_0x4d04b0(_0x179b04,_0x4a3f80(0xec)),'icon':_0xc1ab07,'withText':!0x0,'tooltip':!0x0,'class':_0x4a3f80(0xc1)}),this[_0x4a3f80(0xcf)](_0x1f8800,_0x4a3f80(0xe1),()=>{const _0x90edf1=_0x4a3f80;_0x38a117[_0x90edf1(0xc5)][_0x90edf1(0xf0)](_0x90edf1(0xc9))[_0x90edf1(0xd1)]();}),_0x1f8800;}),_0x38a117['ui'][_0x25f13d(0xdb)][_0x25f13d(0xc4)](_0x25f13d(0xc2),_0x8116d2=>{const _0x16a144=_0x25f13d,_0x5e1b17=new _0x3a9e3f(_0x8116d2);return _0x5e1b17[_0x16a144(0xce)]({'label':_0x4d04b0(_0x8116d2,_0x16a144(0xd3)),'withText':!0x0,'tooltip':!0x0}),_0x5e1b17[_0x16a144(0xde)](_0x16a144(0xe6))['to'](_0x38a117[_0x16a144(0xd5)][_0x16a144(0xf0)](_0x16a144(0xc2))),this[_0x16a144(0xcf)](_0x5e1b17,_0x16a144(0xe1),()=>_0x38a117[_0x16a144(0xe1)](_0x16a144(0xc2))),_0x5e1b17;}),_0x38a117['ui'][_0x25f13d(0xdb)][_0x25f13d(0xc4)](_0x25f13d(0xd6),_0xa28f4c=>{const _0x37586c=_0x25f13d,_0x375182=new _0x24f166(_0xa28f4c),_0x581e70=_0x38a117[_0x37586c(0xd5)][_0x37586c(0xf0)](_0x37586c(0xc3)),_0x3c044e=_0x38a117[_0x37586c(0xd5)][_0x37586c(0xf0)](_0x37586c(0xdf));return _0x375182[_0x37586c(0xde)](_0x37586c(0xc8))['to'](_0x581e70,_0x37586c(0xe6)),_0x375182[_0x37586c(0xde)](_0x37586c(0xeb))['to'](_0x3c044e,_0x37586c(0xe6)),_0x375182[_0x37586c(0xde)](_0x37586c(0xd0),_0x37586c(0xcd),_0x37586c(0xe3),_0x37586c(0xe2))['to'](_0x4ade7b),this[_0x37586c(0xcf)](_0x375182,_0x37586c(0xe1),(_0x6ee9eb,_0x21f822)=>{const _0x2c5e5e=_0x37586c;_0x38a117[_0x2c5e5e(0xe1)](_0x2c5e5e(0xda)===_0x21f822?_0x2c5e5e(0xdf):_0x2c5e5e(0xc3));}),_0x375182;}),_0x55f75d[_0x25f13d(0xdd)](),_0x4ade7b['on'](_0x25f13d(0xd7),(_0x52f72e,_0x3e2ad2,_0x200c41)=>{const _0x34fab3=_0x25f13d;_0x200c41?_0x55f75d[_0x34fab3(0xd8)]():_0x55f75d[_0x34fab3(0xdd)]();});}}
|