@ckeditor/ckeditor5-revision-history 46.1.1-alpha.1 → 46.1.1-alpha.2
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(_0x514f2a,_0x2ee872){const _0x24b3c6=_0x55c5,_0x2614b4=_0x514f2a();while(!![]){try{const _0x55478d=parseInt(_0x24b3c6(0x1fa))/0x1*(-parseInt(_0x24b3c6(0x1eb))/0x2)+-parseInt(_0x24b3c6(0x1fb))/0x3+-parseInt(_0x24b3c6(0x1ee))/0x4*(parseInt(_0x24b3c6(0x1f0))/0x5)+-parseInt(_0x24b3c6(0x1f9))/0x6*(-parseInt(_0x24b3c6(0x1ef))/0x7)+-parseInt(_0x24b3c6(0x1fc))/0x8+-parseInt(_0x24b3c6(0x1ed))/0x9+parseInt(_0x24b3c6(0x1f2))/0xa;if(_0x55478d===_0x2ee872)break;else _0x2614b4['push'](_0x2614b4['shift']());}catch(_0xa5fee){_0x2614b4['push'](_0x2614b4['shift']());}}}(_0x45b9,0xa330c));function _0x55c5(_0x4210d,_0x55b356){const _0x45b9bb=_0x45b9();return _0x55c5=function(_0x55c5d1,_0x3af2ca){_0x55c5d1=_0x55c5d1-0x1eb;let _0x8b792b=_0x45b9bb[_0x55c5d1];return _0x8b792b;},_0x55c5(_0x4210d,_0x55b356);}import{View as _0x1c6c8d,IconView as _0x1a0550}from'ckeditor5/src/ui.js';import{getTranslation as _0x2aa8fa}from'../../utils/common-translations.js';import{IconHistory as _0x5734a5}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';function _0x45b9(){const _0xd47ead=['16410HNKqbc','318058gPqRDc','826575IpGJsF','4525800uGfXog','4evGISL','ck-revision-history-sidebar__header','6691050BAJzAR','11764DQdoPv','1946JRNees','1825xoLzOm','ck-reset_all','32023790udFIfo','content','span','div','ck-revision-history-sidebar__header__label','setTemplate','Revision\x20history'];_0x45b9=function(){return _0xd47ead;};return _0x45b9();}export class RevisionsSidebarHeaderView extends _0x1c6c8d{constructor(_0x1a551c){const _0x3aec28=_0x55c5;super(_0x1a551c);const _0x2d1b00=new _0x1a0550();_0x2d1b00[_0x3aec28(0x1f3)]=_0x5734a5,this[_0x3aec28(0x1f7)]({'tag':_0x3aec28(0x1f5),'attributes':{'class':['ck',_0x3aec28(0x1f1),_0x3aec28(0x1ec)]},'children':[_0x2d1b00,{'tag':_0x3aec28(0x1f4),'attributes':{'class':['ck',_0x3aec28(0x1f6)]},'children':[_0x2aa8fa(_0x1a551c,_0x3aec28(0x1f8))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38b8f4=_0x1612;function _0x3183(){const _0x4337bb=['find','1880212vgtkTc','_requireRevisionName','addRevision','span','1051496hiNzfa','33085bRlzyg','remove','12389616LWyHIm','div','ck-revision-history-sidebar__time-period','delegate','3835029yDvNiN','_revisionActions','2StwfDV','localizedPeriodName','setName','startDate','select','revisionViews','setTemplate','ck-revision-history-sidebar__time-period__revisions','add','removeRevision','35VKkSCa','1060143LeDtzG','locale','190rVogYn','uiLanguage','1716qyLUUD','1826395QyExip','createCollection','ck-revision-history-sidebar__time-period__label'];_0x3183=function(){return _0x4337bb;};return _0x3183();}function _0x1612(_0x5e91a6,_0x498167){const _0x3183f5=_0x3183();return _0x1612=function(_0x161214,_0x54675a){_0x161214=_0x161214-0xc6;let _0x187ce5=_0x3183f5[_0x161214];return _0x187ce5;},_0x1612(_0x5e91a6,_0x498167);}(function(_0x3c59a6,_0x2ca944){const _0x1ff076=_0x1612,_0x2b460d=_0x3c59a6();while(!![]){try{const _0x2e6870=-parseInt(_0x1ff076(0xd4))/0x1+-parseInt(_0x1ff076(0xe5))/0x2*(parseInt(_0x1ff076(0xcf))/0x3)+parseInt(_0x1ff076(0xd8))/0x4+-parseInt(_0x1ff076(0xdd))/0x5*(parseInt(_0x1ff076(0xd3))/0x6)+-parseInt(_0x1ff076(0xce))/0x7*(parseInt(_0x1ff076(0xdc))/0x8)+-parseInt(_0x1ff076(0xdf))/0x9+-parseInt(_0x1ff076(0xd1))/0xa*(-parseInt(_0x1ff076(0xe3))/0xb);if(_0x2e6870===_0x2ca944)break;else _0x2b460d['push'](_0x2b460d['shift']());}catch(_0x327716){_0x2b460d['push'](_0x2b460d['shift']());}}}(_0x3183,0xf13f3));import{View as _0x495b4b}from'ckeditor5/src/ui.js';import{RevisionView as _0x16859f}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x7631ec}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x495b4b{[_0x38b8f4(0xc7)];[_0x38b8f4(0xc9)];[_0x38b8f4(0xe4)];[_0x38b8f4(0xd9)];constructor(_0x52ad16,_0x265586,_0xec3263,_0x350dc6){const _0x37559b=_0x38b8f4;super(_0x52ad16);const _0x55b276=_0x7631ec(_0x265586,this[_0x37559b(0xd0)][_0x37559b(0xd2)])[_0x37559b(0xe6)];this[_0x37559b(0xc7)]=_0x265586,this[_0x37559b(0xc9)]=this[_0x37559b(0xd5)](),this[_0x37559b(0xe4)]=_0xec3263,this[_0x37559b(0xd9)]=_0x350dc6,this[_0x37559b(0xc9)][_0x37559b(0xe2)](_0x37559b(0xc8))['to'](this),this[_0x37559b(0xc9)][_0x37559b(0xe2)](_0x37559b(0xc6))['to'](this),this[_0x37559b(0xca)]({'tag':_0x37559b(0xe0),'attributes':{'class':['ck',_0x37559b(0xe1)]},'children':[{'tag':_0x37559b(0xdb),'attributes':{'class':['ck',_0x37559b(0xd6)]},'children':[{'text':_0x55b276}]},{'tag':_0x37559b(0xe0),'attributes':{'class':['ck',_0x37559b(0xcb)]},'children':this[_0x37559b(0xc9)]}]});}[_0x38b8f4(0xda)](_0x23a12e){const _0x59671f=_0x38b8f4,_0x2b6609=new _0x16859f(this[_0x59671f(0xd0)],_0x23a12e,this[_0x59671f(0xe4)],this[_0x59671f(0xd9)]);this[_0x59671f(0xc9)][_0x59671f(0xcc)](_0x2b6609);}[_0x38b8f4(0xcd)](_0x3c3cc6){const _0x1b12e4=_0x38b8f4,_0x370575=this[_0x1b12e4(0xc9)][_0x1b12e4(0xd7)](_0x5e0028=>_0x5e0028['id']===_0x3c3cc6['id']);this[_0x1b12e4(0xc9)][_0x1b12e4(0xde)](_0x370575);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1dd5(_0x5c2508,_0x22e070){const _0x2bdd7b=_0x2bdd();return _0x1dd5=function(_0x1dd5b1,_0xf07160){_0x1dd5b1=_0x1dd5b1-0x179;let _0x273bae=_0x2bdd7b[_0x1dd5b1];return _0x273bae;},_0x1dd5(_0x5c2508,_0x22e070);}const _0x4163b3=_0x1dd5;(function(_0x506496,_0xc00919){const _0x472e30=_0x1dd5,_0x5de4f8=_0x506496();while(!![]){try{const _0x2b6e06=parseInt(_0x472e30(0x19b))/0x1+-parseInt(_0x472e30(0x18c))/0x2+parseInt(_0x472e30(0x190))/0x3+-parseInt(_0x472e30(0x1a8))/0x4+-parseInt(_0x472e30(0x187))/0x5+-parseInt(_0x472e30(0x1ad))/0x6*(-parseInt(_0x472e30(0x17f))/0x7)+parseInt(_0x472e30(0x18b))/0x8;if(_0x2b6e06===_0xc00919)break;else _0x5de4f8['push'](_0x5de4f8['shift']());}catch(_0x3f51a2){_0x5de4f8['push'](_0x5de4f8['shift']());}}}(_0x2bdd,0x6a262));function _0x2bdd(){const _0x30ff30=['locale','4837ndDxCX','timePeriodViews','revisionViews','revisionSelected','ck-disabled','flat','map','startDate','3320905nDCTYl','div','select','add','2572680smjjIi','180250mUfytK','fire','setTemplate','addRevision','1340421hOisLU','_revisions','unhighlight','render','delegate','_addRevision','highlightRevisions','selectRevision','_requireRevisionName','ck-rounded-corners','removeRevision','332160OKdhdD','createdAt','ck-reset','_removeRevision','revisionSetName','find','_getTimePeriodViewByStartDate','uiLanguage','some','ck-revision-history-sidebar__timeline','remove','set','ck-revision-history-sidebar','1472844xCGMwo','deselect','_revisionActions','get','bindTemplate','3966aHJaxf','isEnabled','setName','getTime','highlight','createCollection'];_0x2bdd=function(){return _0x30ff30;};return _0x2bdd();}import{View as _0x2a6832}from'ckeditor5/src/ui.js';import{RevisionsSidebarTimePeriodView as _0x272899}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x3fa771}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3a45dc}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x2a6832{[_0x4163b3(0x180)];[_0x4163b3(0x191)];[_0x4163b3(0x1aa)];[_0x4163b3(0x198)];constructor(_0x20b760,_0x4f5762,_0x32b59a,_0x18139d){const _0x1dab09=_0x4163b3;super(_0x20b760);const _0x1ad42f=this[_0x1dab09(0x1ac)];this[_0x1dab09(0x180)]=this[_0x1dab09(0x17d)](),this[_0x1dab09(0x180)][_0x1dab09(0x194)](_0x1dab09(0x189))['to'](this),this[_0x1dab09(0x180)][_0x1dab09(0x194)](_0x1dab09(0x17a))['to'](this),this[_0x1dab09(0x191)]=_0x4f5762,this[_0x1dab09(0x1aa)]=_0x32b59a,this[_0x1dab09(0x198)]=_0x18139d,this['on'](_0x1dab09(0x189),(_0x4aec15,_0x12b705)=>{const _0x3da5c3=_0x1dab09;this[_0x3da5c3(0x18d)](_0x3da5c3(0x182),_0x12b705);}),this['on'](_0x1dab09(0x17a),(_0x4fdfca,_0x376a10)=>{const _0x531383=_0x1dab09;this[_0x531383(0x18d)](_0x531383(0x19f),_0x376a10);}),this[_0x1dab09(0x1a6)](_0x1dab09(0x179),!0x1),this[_0x1dab09(0x18e)]({'tag':_0x1dab09(0x188),'attributes':{'class':['ck',_0x1dab09(0x19d),_0x1dab09(0x199),_0x1dab09(0x1a7)]},'children':[new _0x3fa771(_0x20b760),{'tag':_0x1dab09(0x188),'attributes':{'class':['ck',_0x1dab09(0x1a4),_0x1ad42f['if'](_0x1dab09(0x179),_0x1dab09(0x183),_0x34dac6=>!_0x34dac6)]},'children':this[_0x1dab09(0x180)]}]});}[_0x4163b3(0x193)](){const _0x1c339c=_0x4163b3;super[_0x1c339c(0x193)]();for(const _0x10bff0 of this[_0x1c339c(0x191)])this[_0x1c339c(0x195)](_0x10bff0);this[_0x1c339c(0x191)]['on'](_0x1c339c(0x18a),(_0xea24c2,_0x46e0ca)=>{const _0x2f406d=_0x1c339c;this[_0x2f406d(0x195)](_0x46e0ca);}),this[_0x1c339c(0x191)]['on'](_0x1c339c(0x1a5),(_0x4d8c73,_0x40c5e8)=>{const _0x2f37cb=_0x1c339c;this[_0x2f37cb(0x19e)](_0x40c5e8);});}get[_0x4163b3(0x181)](){const _0x172900=_0x4163b3;return this[_0x172900(0x180)][_0x172900(0x185)](_0x2d43b7=>_0x2d43b7[_0x172900(0x181)][_0x172900(0x185)](_0x7ddeaa=>_0x7ddeaa))[_0x172900(0x184)]();}[_0x4163b3(0x197)](_0x58f0d9){const _0x551a5a=_0x4163b3;for(const _0x1fb19c of this[_0x551a5a(0x181)])_0x58f0d9&&_0x58f0d9['id']===_0x1fb19c['id']?_0x1fb19c[_0x551a5a(0x189)]():_0x1fb19c[_0x551a5a(0x1a9)]();}[_0x4163b3(0x196)](_0xe1f639){const _0x284ecf=_0x4163b3;for(const _0xa1782b of this[_0x284ecf(0x181)])_0xe1f639[_0x284ecf(0x1a3)](({id:_0xe1b23f})=>_0xe1b23f===_0xa1782b['id'])?_0xa1782b[_0x284ecf(0x17c)]():_0xa1782b[_0x284ecf(0x192)]();}[_0x4163b3(0x195)](_0x3633c4){const _0x4cfd29=_0x4163b3,_0x4c63f8=_0x3a45dc(_0x3633c4[_0x4cfd29(0x19c)],this[_0x4cfd29(0x17e)][_0x4cfd29(0x1a2)])[_0x4cfd29(0x186)];let _0x491078=this[_0x4cfd29(0x180)][_0x4cfd29(0x1ab)](0x0);_0x491078&&_0x491078[_0x4cfd29(0x186)][_0x4cfd29(0x17b)]()===_0x4c63f8[_0x4cfd29(0x17b)]()||(_0x491078=new _0x272899(this[_0x4cfd29(0x17e)],_0x4c63f8,this[_0x4cfd29(0x1aa)],this[_0x4cfd29(0x198)]),this[_0x4cfd29(0x180)][_0x4cfd29(0x18a)](_0x491078)),_0x491078[_0x4cfd29(0x18f)](_0x3633c4);}[_0x4163b3(0x19e)](_0x5a2494){const _0x23dc9f=_0x4163b3,_0x2ef01b=_0x3a45dc(_0x5a2494[_0x23dc9f(0x19c)],this[_0x23dc9f(0x17e)][_0x23dc9f(0x1a2)])[_0x23dc9f(0x186)];this[_0x23dc9f(0x1a1)](_0x2ef01b)[_0x23dc9f(0x19a)](_0x5a2494);}[_0x4163b3(0x1a1)](_0xebe0ab){const _0x351893=_0x4163b3;return this[_0x351893(0x180)][_0x351893(0x1a0)](_0x4922c1=>_0x4922c1[_0x351893(0x186)][_0x351893(0x17b)]()===_0xebe0ab[_0x351893(0x17b)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb47ced=_0x3d12;(function(_0x1e3a79,_0x18ddfc){const _0x148d03=_0x3d12,_0x10e4a5=_0x1e3a79();while(!![]){try{const _0x33ae60=parseInt(_0x148d03(0xa9))/0x1*(parseInt(_0x148d03(0xa5))/0x2)+parseInt(_0x148d03(0x9d))/0x3*(parseInt(_0x148d03(0x9b))/0x4)+-parseInt(_0x148d03(0xaf))/0x5+parseInt(_0x148d03(0xb1))/0x6*(parseInt(_0x148d03(0xb0))/0x7)+-parseInt(_0x148d03(0xa8))/0x8+parseInt(_0x148d03(0x9e))/0x9*(parseInt(_0x148d03(0xab))/0xa)+parseInt(_0x148d03(0xb2))/0xb*(parseInt(_0x148d03(0xa4))/0xc);if(_0x33ae60===_0x18ddfc)break;else _0x10e4a5['push'](_0x10e4a5['shift']());}catch(_0x35b185){_0x10e4a5['push'](_0x10e4a5['shift']());}}}(_0x534c,0x3d6ef));function _0x534c(){const _0x48ef37=['data','name','div','ck-revision-change__label','type','isSuggestion','_model','247324nmLqkh','span','3saKQVb','119997neULwL','ck-revision-change__','add','changeId','Suggested\x20by','author','2280vjuGNA','2gWowUg','ck-annotation','element','1938744PnZYYv','182186EAWmDL','setTemplate','70EqHznt','focus','bindTemplate','ck-revision-change','2430360VMIrzI','42Grnbgw','458778PiPyOb','10648kGmNNy','Added\x20by','set','Removed\x20by'];_0x534c=function(){return _0x48ef37;};return _0x534c();}import{View as _0x1f1387}from'ckeditor5/src/ui.js';import{getTranslation as _0x30132d}from'../../utils/common-translations.js';function _0x3d12(_0x1624ff,_0x4c1897){const _0x534c81=_0x534c();return _0x3d12=function(_0x3d12e8,_0x28716a){_0x3d12e8=_0x3d12e8-0x94;let _0x4c7842=_0x534c81[_0x3d12e8];return _0x4c7842;},_0x3d12(_0x1624ff,_0x4c1897);}export class ChangeDetailsView extends _0x1f1387{[_0xb47ced(0xa1)];[_0xb47ced(0x9a)];constructor(_0x57d3bb,_0x5784db){const _0xb9d7e4=_0xb47ced;super(_0x57d3bb),this[_0xb9d7e4(0x9a)]=_0x5784db,this[_0xb9d7e4(0xa1)]=_0x5784db['id'];const _0x119c7b=this[_0xb9d7e4(0xad)],_0x33d4d8=_0x30132d(_0x57d3bb,_0x5784db[_0xb9d7e4(0x94)][_0xb9d7e4(0x99)]?_0xb9d7e4(0xa2):_0xb9d7e4(0xa0)==_0x5784db[_0xb9d7e4(0x98)]?_0xb9d7e4(0xb3):_0xb9d7e4(0xb5));this[_0xb9d7e4(0xb4)](_0xb9d7e4(0x98),_0x5784db[_0xb9d7e4(0x98)]),this[_0xb9d7e4(0xaa)]({'tag':_0xb9d7e4(0x96),'attributes':{'class':[_0xb9d7e4(0xa6),_0xb9d7e4(0xae),_0x119c7b['to'](_0xb9d7e4(0x98),_0x4720e7=>_0xb9d7e4(0x9f)+_0x4720e7)],'tabindex':-0x1},'children':[{'tag':_0xb9d7e4(0x9c),'children':[{'tag':_0xb9d7e4(0x9c),'attributes':{'class':[_0xb9d7e4(0x97)]},'children':[{'text':_0x33d4d8}]},{'text':'\x20'+_0x5784db[_0xb9d7e4(0xa3)][_0xb9d7e4(0x95)]}]}]});}[_0xb47ced(0xac)](){const _0x16264a=_0xb47ced;this[_0x16264a(0xa7)][_0x16264a(0xac)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5a3f(_0x4cab71,_0x5597cd){const _0x4edc89=_0x4edc();return _0x5a3f=function(_0x5a3fb8,_0x15ee95){_0x5a3fb8=_0x5a3fb8-0x9a;let _0x595c1d=_0x4edc89[_0x5a3fb8];return _0x595c1d;},_0x5a3f(_0x4cab71,_0x5597cd);}(function(_0x2a56cd,_0x1d9146){const _0x5d65fd=_0x5a3f,_0x1b656f=_0x2a56cd();while(!![]){try{const _0x8517cf=-parseInt(_0x5d65fd(0xa4))/0x1*(-parseInt(_0x5d65fd(0xc2))/0x2)+parseInt(_0x5d65fd(0xb6))/0x3+-parseInt(_0x5d65fd(0xab))/0x4*(-parseInt(_0x5d65fd(0xbd))/0x5)+parseInt(_0x5d65fd(0xa5))/0x6*(-parseInt(_0x5d65fd(0xad))/0x7)+parseInt(_0x5d65fd(0xb8))/0x8*(parseInt(_0x5d65fd(0x9f))/0x9)+-parseInt(_0x5d65fd(0x9a))/0xa*(-parseInt(_0x5d65fd(0xb5))/0xb)+-parseInt(_0x5d65fd(0xa9))/0xc;if(_0x8517cf===_0x1d9146)break;else _0x1b656f['push'](_0x1b656f['shift']());}catch(_0x4b4d67){_0x1b656f['push'](_0x1b656f['shift']());}}}(_0x4edc,0xc93b1));import{View as _0x195b57,ButtonView as _0x12c245,ToolbarSeparatorView as _0x557c8c}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x12578e,IconChevronDown as _0x22974a}from'ckeditor5/src/icons.js';import{getTranslation as _0x4fce0e}from'../../utils/common-translations.js';function _0x4edc(){const _0x45b614=['Total','bindTemplate','Show\x20previous\x20change','790022dAvihS','42ztXQfx','NUMBER_OF_CHANGES','currentChangeNumber','forward','17054448ImNCTl','ck-revision-history-ui__changes-navigation__wrapper','8cMFgZw','X_OF_Y_CHANGES','1276947GzJSlr','span','execute','ck-revision-history-ui__changes-navigation__navigation','_statusText','ck-revision-history-ui__changes-navigation__label','div','Loading...','11Srxybk','2233557VYjlOJ','isReady','167224uZKRkK','numberOfChanges','isBackwardNavigationEnabled','setTemplate','isNavigationMode','892690axUmYz','isEnabled','ck-revision-history-ui__changes-navigation','fire','bind','4KComyt','backward','isForwardNavigationEnabled','set','Show\x20next\x20change','5690140VOIBlb','ck-hidden','EDIT_X_OF_Y_REVISIONS','No\x20changes','_isStatusLabelVisible','117fUGNFd','ck-revision-history-ui'];_0x4edc=function(){return _0x45b614;};return _0x4edc();}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x195b57{constructor(_0x1f1444){const _0x64f345=_0x5a3f;super(_0x1f1444);const _0x4e3a25=this[_0x64f345(0xa2)],_0x535387=new _0x12c245(_0x1f1444),_0x311861=new _0x12c245(_0x1f1444);this[_0x64f345(0xc5)](_0x64f345(0xbc),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xb7),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xa7),0x0),this[_0x64f345(0xc5)](_0x64f345(0xb9),0x0),this[_0x64f345(0xc5)](_0x64f345(0xc4),!0x1),this[_0x64f345(0xc5)](_0x64f345(0xba),!0x1),this[_0x64f345(0xc1)](_0x64f345(0x9e))['to'](this,_0x64f345(0xb7),this,_0x64f345(0xb9),(_0x416c83,_0x37a18d)=>_0x416c83&&_0x37a18d>0x0),this[_0x64f345(0xc1)](_0x64f345(0xb1))['to'](this,_0x64f345(0xb7),this,_0x64f345(0xa7),this,_0x64f345(0xb9),this,_0x64f345(0xbc),(_0x597c56,_0x1fff07,_0x1b660e,_0x5b594e)=>{const _0x58629d=_0x64f345;if(!_0x597c56)return _0x4fce0e(_0x1f1444,_0x58629d(0xb4));if(!_0x1b660e)return _0x4fce0e(_0x1f1444,_0x58629d(0x9d));const _0x5f356e=_0x4fce0e(_0x1f1444,_0x58629d(0xa6),_0x1b660e);return _0x5b594e?_0x4fce0e(_0x1f1444,_0x58629d(0xac),[_0x1fff07+0x1,_0x1b660e]):_0x5f356e;}),_0x535387[_0x64f345(0xc5)]({'label':_0x4fce0e(_0x1f1444,_0x64f345(0xa3)),'tooltip':!0x0,'icon':_0x12578e}),_0x311861[_0x64f345(0xc5)]({'label':_0x4fce0e(_0x1f1444,_0x64f345(0xc6)),'tooltip':!0x0,'icon':_0x22974a}),_0x535387[_0x64f345(0xc1)](_0x64f345(0xbe))['to'](this,_0x64f345(0xba)),_0x311861[_0x64f345(0xc1)](_0x64f345(0xbe))['to'](this,_0x64f345(0xc4)),_0x535387['on'](_0x64f345(0xaf),()=>this[_0x64f345(0xc0)](_0x64f345(0xaf),_0x64f345(0xc3))),_0x311861['on'](_0x64f345(0xaf),()=>this[_0x64f345(0xc0)](_0x64f345(0xaf),_0x64f345(0xa8))),this[_0x64f345(0xbb)]({'tag':_0x64f345(0xb3),'attributes':{'class':['ck',_0x64f345(0xa0),_0x64f345(0xbf)]},'children':[{'tag':_0x64f345(0xae),'attributes':{'class':[_0x64f345(0xaa)]},'children':[{'tag':_0x64f345(0xae),'attributes':{'class':[_0x64f345(0xb2),_0x4e3a25['if'](_0x64f345(0x9e),_0x64f345(0x9b),_0x342305=>!_0x342305)]},'children':[{'text':_0x4e3a25['to'](_0x64f345(0xbc),_0x58175e=>_0x58175e?_0x4fce0e(_0x1f1444,_0x64f345(0x9c))+':\x20':_0x4fce0e(_0x1f1444,_0x64f345(0xa1))+':\x20')}]},{'text':_0x4e3a25['to'](_0x64f345(0xb1))}]},new _0x557c8c(),{'tag':_0x64f345(0xb3),'attributes':{'class':[_0x64f345(0xb0)]},'children':[_0x535387,_0x311861]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b14cf=_0x4acc;function _0x3400(){const _0x1762c7=['plugins','execute','60nfgWRd','hide','commands','changesNavigation','126842VsmNdT','ck-revision-history-ui__back-to-editing','restoreRevision','editor','requires','158925zCFdgh','exitToEditing','init','get','change:isReady','componentFactory','530184ZdQBSs','1095291ATwFGW','isBackwardNavigationEnabled','currentChangeNumber','showNextChange','listenTo','set','showPreviousChange','config','816620OiPMMm','closeRevisionViewerCallback','RevisionViewerUI','3setels','revisionHistory','pluginName','Restore\x20this\x20revision','Back\x20to\x20editing','bind','isNavigationMode','numberOfChanges','forward','isOfficialPlugin','isEnabled','isPremiumPlugin','isForwardNavigationEnabled','show','isReady','68586AeIrYj','1974184wGJzdt','add'];_0x3400=function(){return _0x1762c7;};return _0x3400();}(function(_0xdc9418,_0x300e1f){const _0x2fe974=_0x4acc,_0x6c77a8=_0xdc9418();while(!![]){try{const _0x26a09b=-parseInt(_0x2fe974(0x182))/0x1*(-parseInt(_0x2fe974(0x19a))/0x2)+-parseInt(_0x2fe974(0x176))/0x3+parseInt(_0x2fe974(0x17f))/0x4+parseInt(_0x2fe974(0x19f))/0x5*(parseInt(_0x2fe974(0x196))/0x6)+parseInt(_0x2fe974(0x191))/0x7+-parseInt(_0x2fe974(0x192))/0x8+-parseInt(_0x2fe974(0x177))/0x9;if(_0x26a09b===_0x300e1f)break;else _0x6c77a8['push'](_0x6c77a8['shift']());}catch(_0x2d50ff){_0x6c77a8['push'](_0x6c77a8['shift']());}}}(_0x3400,0x2b2e2));import{Plugin as _0x2d47cc}from'ckeditor5/src/core.js';function _0x4acc(_0x1b5ab5,_0x497464){const _0x34007c=_0x3400();return _0x4acc=function(_0x4acc95,_0x107111){_0x4acc95=_0x4acc95-0x171;let _0x4643c7=_0x34007c[_0x4acc95];return _0x4643c7;},_0x4acc(_0x1b5ab5,_0x497464);}import{ButtonView as _0x2fcff6}from'ckeditor5/src/ui.js';import{IconUndo as _0x53dbe7}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x5647fa}from'./changesnavigationview.js';import{RevisionViewer as _0x42130b}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x90835a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x333c3e}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x2d47cc{static get[_0x2b14cf(0x184)](){const _0x301b68=_0x2b14cf;return _0x301b68(0x181);}static get[_0x2b14cf(0x18b)](){return!0x0;}static get[_0x2b14cf(0x18d)](){return!0x0;}static get[_0x2b14cf(0x19e)](){return[_0x42130b,_0x90835a];}[_0x2b14cf(0x172)](){const _0x4b5bda=_0x2b14cf,_0x4400a1=this[_0x4b5bda(0x19d)],_0x485b10=_0x4400a1[_0x4b5bda(0x194)][_0x4b5bda(0x173)](_0x42130b),_0x1a76eb=_0x4400a1[_0x4b5bda(0x194)][_0x4b5bda(0x173)](_0x90835a);_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x171),_0x41703b=>{const _0x3a680c=_0x4b5bda,_0x138060=new _0x2fcff6(_0x41703b);return _0x138060[_0x3a680c(0x17c)]({'label':_0x333c3e(_0x41703b,_0x3a680c(0x186)),'icon':_0x53dbe7,'withText':!0x0,'tooltip':!0x0,'class':_0x3a680c(0x19b)}),this[_0x3a680c(0x17b)](_0x138060,_0x3a680c(0x195),()=>{const _0x58d3e4=_0x3a680c;_0x4400a1[_0x58d3e4(0x17e)][_0x58d3e4(0x173)](_0x58d3e4(0x183))[_0x58d3e4(0x180)]();}),_0x138060;}),_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x19c),_0x592d2a=>{const _0x537192=_0x4b5bda,_0x3acf11=new _0x2fcff6(_0x592d2a);return _0x3acf11[_0x537192(0x17c)]({'label':_0x333c3e(_0x592d2a,_0x537192(0x185)),'withText':!0x0,'tooltip':!0x0}),_0x3acf11[_0x537192(0x187)](_0x537192(0x18c))['to'](_0x4400a1[_0x537192(0x198)][_0x537192(0x173)](_0x537192(0x19c))),this[_0x537192(0x17b)](_0x3acf11,_0x537192(0x195),()=>_0x4400a1[_0x537192(0x195)](_0x537192(0x19c))),_0x3acf11;}),_0x4400a1['ui'][_0x4b5bda(0x175)][_0x4b5bda(0x193)](_0x4b5bda(0x199),_0x54dc7a=>{const _0x32016f=_0x4b5bda,_0x3d2323=new _0x5647fa(_0x54dc7a),_0x2d6178=_0x4400a1[_0x32016f(0x198)][_0x32016f(0x173)](_0x32016f(0x17d)),_0x56884b=_0x4400a1[_0x32016f(0x198)][_0x32016f(0x173)](_0x32016f(0x17a));return _0x3d2323[_0x32016f(0x187)](_0x32016f(0x178))['to'](_0x2d6178,_0x32016f(0x18c)),_0x3d2323[_0x32016f(0x187)](_0x32016f(0x18e))['to'](_0x56884b,_0x32016f(0x18c)),_0x3d2323[_0x32016f(0x187)](_0x32016f(0x190),_0x32016f(0x179),_0x32016f(0x189),_0x32016f(0x188))['to'](_0x485b10),this[_0x32016f(0x17b)](_0x3d2323,_0x32016f(0x195),(_0x6ebbb9,_0x585765)=>{const _0x45bd51=_0x32016f;_0x4400a1[_0x45bd51(0x195)](_0x45bd51(0x18a)===_0x585765?_0x45bd51(0x17a):_0x45bd51(0x17d));}),_0x3d2323;}),_0x1a76eb[_0x4b5bda(0x18f)](),_0x485b10['on'](_0x4b5bda(0x174),(_0x5414eb,_0x337d20,_0x4fcf72)=>{const _0x62d6f3=_0x4b5bda;_0x4fcf72?_0x1a76eb[_0x62d6f3(0x197)]():_0x1a76eb[_0x62d6f3(0x18f)]();});}}
|