@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231029.0 → 0.0.0-nightly-20231031.0
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/package.json +6 -6
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/revision.js +1 -1
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.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 +1 -1
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- 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/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bb7=['ck-button-save','_createButton','Name\x20of\x20the\x20revision\x20(optional)','trim','set','revisionName','ck-revision-history-save-revision-form','saveButtonView','cancelButtonView','fieldView','form','setTemplate','check','shift\x20+\x20tab','locale','_focusables','extendTemplate','tab','input','keystrokes','ck-responsive-form','listenTo','_focusCycler','focus','arrowup','revisionNameInputValue','forEach','arrowdown','220','type','ck-button-cancel','element','revisionNameInputView','add','render','arrowright','reset','label','focusFirst','focusTracker','_createRevisionNameInput','value','stopPropagation','cancel'];(function(_0x1697c7,_0x5bb789){const _0x39b9cb=function(_0x3541e4){while(--_0x3541e4){_0x1697c7['push'](_0x1697c7['shift']());}};_0x39b9cb(++_0x5bb789);}(_0x5bb7,0xc2));const _0x39b9=function(_0x1697c7,_0x5bb789){_0x1697c7=_0x1697c7-0x0;let _0x39b9cb=_0x5bb7[_0x1697c7];return _0x39b9cb;};import{icons as _0x5108c6}from'ckeditor5/src/core';import{ButtonView as _0x2d8032,FocusCycler as _0x2c94ac,LabeledFieldView as _0x145fd6,View as _0x4a5f2c,ViewCollection as _0x1aa701,createLabeledInputText as _0xa59985,injectCssTransitionDisabler as _0x524750,submitHandler as _0x27858e}from'ckeditor5/src/ui';import{FocusTracker as _0x57f331,KeystrokeHandler as _0x5bf669}from'ckeditor5/src/utils';import{getTranslation as _0x4e5c56}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x4a5f2c{constructor(_0x2e4d40){super(_0x2e4d40),this[_0x39b9('0x15')]=new _0x57f331(),this[_0x39b9('0x1')]=new _0x5bf669(),this['set'](_0x39b9('0x7'),''),this[_0x39b9('0xe')]=this[_0x39b9('0x16')](),this[_0x39b9('0x21')]=this[_0x39b9('0x1b')](_0x4e5c56(_0x2e4d40,'Save'),_0x5108c6[_0x39b9('0x26')],_0x39b9('0x1a')),this[_0x39b9('0x21')][_0x39b9('0xb')]='submit',this['cancelButtonView']=this['_createButton'](_0x4e5c56(_0x2e4d40,'Cancel'),_0x5108c6[_0x39b9('0x19')],_0x39b9('0xc'),'cancel'),this[_0x39b9('0x29')]=new _0x1aa701(),this[_0x39b9('0x4')]=new _0x2c94ac({'focusables':this['_focusables'],'focusTracker':this[_0x39b9('0x15')],'keystrokeHandler':this[_0x39b9('0x1')],'actions':{'focusPrevious':_0x39b9('0x27'),'focusNext':_0x39b9('0x2b')}}),this[_0x39b9('0x25')]({'tag':_0x39b9('0x24'),'attributes':{'class':['ck',_0x39b9('0x20'),_0x39b9('0x2')],'tabindex':'-1'},'children':[this[_0x39b9('0xe')],this[_0x39b9('0x21')],this[_0x39b9('0x22')]]}),_0x524750(this);}[_0x39b9('0x10')](){super[_0x39b9('0x10')](),_0x27858e({'view':this}),([this['revisionNameInputView'],this[_0x39b9('0x21')],this[_0x39b9('0x22')]][_0x39b9('0x8')](_0x24b968=>{this['_focusables'][_0x39b9('0xf')](_0x24b968),this[_0x39b9('0x15')][_0x39b9('0xf')](_0x24b968[_0x39b9('0xd')]);}),this[_0x39b9('0x1')][_0x39b9('0x3')](this[_0x39b9('0xd')]));const _0x23fecb=_0x2861c7=>_0x2861c7[_0x39b9('0x18')]();this[_0x39b9('0x1')]['set'](_0x39b9('0x11'),_0x23fecb),this[_0x39b9('0x1')]['set']('arrowleft',_0x23fecb),this[_0x39b9('0x1')][_0x39b9('0x1e')](_0x39b9('0x6'),_0x23fecb),this[_0x39b9('0x1')][_0x39b9('0x1e')](_0x39b9('0x9'),_0x23fecb);}[_0x39b9('0x5')](){this['_focusCycler'][_0x39b9('0x14')]();}get[_0x39b9('0x1f')](){return this[_0x39b9('0xe')][_0x39b9('0x23')][_0x39b9('0xd')][_0x39b9('0x17')]['trim']();}set[_0x39b9('0x1f')](_0x4bae11){this[_0x39b9('0xe')]['fieldView'][_0x39b9('0xd')][_0x39b9('0x17')]=_0x4bae11['trim']();}[_0x39b9('0x12')](){this[_0x39b9('0xe')]['fieldView']['element'][_0x39b9('0x17')]='';}['_createRevisionNameInput'](){const _0x61e597=new _0x145fd6(this[_0x39b9('0x28')],_0xa59985),_0xac25a5=_0x61e597[_0x39b9('0x23')];return _0xac25a5['extendTemplate']({'attributes':{'maxlength':_0x39b9('0xa')}}),_0x61e597[_0x39b9('0x13')]=_0x4e5c56(this['locale'],_0x39b9('0x1c')),_0xac25a5['on'](_0x39b9('0x0'),()=>{this[_0x39b9('0x7')]=_0xac25a5[_0x39b9('0xd')][_0x39b9('0x17')][_0x39b9('0x1d')]();}),_0x61e597;}[_0x39b9('0x1b')](_0x49edb7,_0x1116c1,_0x1f82ca,_0x1a7274){const _0x59443b=new _0x2d8032(this[_0x39b9('0x28')]);return _0x59443b[_0x39b9('0x1e')]({'label':_0x49edb7,'icon':_0x1116c1,'tooltip':!0x0}),_0x59443b[_0x39b9('0x2a')]({'attributes':{'class':_0x1f82ca}}),_0x1a7274&&_0x59443b['delegate']('execute')['to'](this,_0x1a7274),_0x59443b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x330b=['isEnabled','componentFactory','addMany','showRevisionViewerCallback','init','focus','saveRevision','config','isOpen','RevisionTracker','buttonView','change:isOpen','add','length','children','saveButtonView','Revision\x20history','RevisionHistoryUI','editor','set','render','revisionHistory','remove','isReady','submit','requires','execute','view','editing','Open\x20revision\x20history','reset','plugins','history','bind','isReadOnly','cancel','get','items'];(function(_0x6050fe,_0x330b41){const _0xad4a73=function(_0x5632d6){while(--_0x5632d6){_0x6050fe['push'](_0x6050fe['shift']());}};_0xad4a73(++_0x330b41);}(_0x330b,0x7d));const _0xad4a=function(_0x6050fe,_0x330b41){_0x6050fe=_0x6050fe-0x0;let _0xad4a73=_0x330b[_0x6050fe];return _0xad4a73;};import{Plugin as _0x23302a,icons as _0x5d7ab0}from'ckeditor5/src/core';import{ListView as _0x5cb763,ListItemView as _0xf49cb8,ButtonView as _0x5de73b,createDropdown as _0x1372ff}from'ckeditor5/src/ui';import _0x1af8c1 from'../../revisiontracker';import _0xb1d151 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x1e7935}from'../../utils/common-translations';export default class u extends _0x23302a{static get['pluginName'](){return _0xad4a('0x6');}static get[_0xad4a('0xe')](){return[_0x1af8c1];}[_0xad4a('0x1f')](){const _0x13daaf=this[_0xad4a('0x7')],_0x4d2b08=_0x13daaf[_0xad4a('0x14')][_0xad4a('0x19')](_0xad4a('0x24'));_0x13daaf['ui'][_0xad4a('0x1c')]['add'](_0xad4a('0xa'),_0x3c5e16=>{const _0x889af3=_0x1372ff(_0x3c5e16),_0x7c58dc=_0x889af3['panelView'][_0xad4a('0x3')],_0x459cc0=new _0x5cb763(_0x3c5e16),_0x45af0c=new _0xf49cb8(_0x3c5e16),_0x38151f=new _0x5de73b(_0x3c5e16),_0x3c90e2=new _0xf49cb8(_0x3c5e16),_0xd1f6e3=new _0x5de73b(_0x3c5e16),_0x20e5e8=new _0xb1d151(_0x3c5e16);function _0x1bfa9b(){_0x7c58dc[_0xad4a('0x2')]&&_0x7c58dc[_0xad4a('0xb')](0x0),_0x7c58dc[_0xad4a('0x1')](_0x459cc0);}function _0xc5b1ed(){_0x889af3[_0xad4a('0x23')]=!0x1,_0x13daaf[_0xad4a('0x11')][_0xad4a('0x10')][_0xad4a('0x20')]();}return _0x889af3[_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,'isEnabled',_0x13daaf,_0xad4a('0x17'),(_0x46bfb8,_0x590b5e,_0x43c92f)=>_0x46bfb8&&_0x590b5e&&!_0x43c92f),_0x889af3[_0xad4a('0x25')][_0xad4a('0x8')]({'icon':_0x5d7ab0[_0xad4a('0x15')],'label':_0x1e7935(_0x3c5e16,_0xad4a('0x5')),'tooltip':!0x0}),_0x38151f[_0xad4a('0x8')]({'label':_0x1e7935(_0x3c5e16,'Save\x20current\x20revision'),'withText':!0x0}),_0x38151f[_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,_0xad4a('0x1b'),_0x13daaf,_0xad4a('0x17'),(_0x25311d,_0x536a03,_0xf0f5c)=>_0x25311d&&_0x536a03&&!_0xf0f5c),_0x38151f['on'](_0xad4a('0xf'),()=>function(){_0x7c58dc['length']&&_0x7c58dc[_0xad4a('0xb')](0x0),(_0x20e5e8[_0xad4a('0x13')](),_0x7c58dc[_0xad4a('0x1')](_0x20e5e8),_0x20e5e8[_0xad4a('0x20')]());}()),_0xd1f6e3[_0xad4a('0x8')]({'label':_0x1e7935(_0x3c5e16,_0xad4a('0x12')),'withText':!0x0}),_0xd1f6e3[_0xad4a('0x16')](_0xad4a('0x1b'))['to'](_0x4d2b08,_0xad4a('0xc'),_0x13daaf,_0xad4a('0x17'),(_0x4520a4,_0x3322fd)=>_0x4520a4&&!_0x3322fd),_0xd1f6e3['on']('execute',()=>{_0x13daaf[_0xad4a('0x22')]['get']('revisionHistory')[_0xad4a('0x1e')](),_0xc5b1ed();}),_0x45af0c[_0xad4a('0x3')][_0xad4a('0x1')](_0x38151f),_0x3c90e2[_0xad4a('0x3')]['add'](_0xd1f6e3),_0x459cc0[_0xad4a('0x1a')][_0xad4a('0x1d')]([_0x45af0c,_0x3c90e2]),_0x889af3['on'](_0xad4a('0x0'),()=>_0x1bfa9b()),_0x20e5e8[_0xad4a('0x4')][_0xad4a('0x16')]('isEnabled')['to'](_0x4d2b08,_0xad4a('0xc'),_0x4d2b08,_0xad4a('0x1b'),_0x13daaf,'isReadOnly',(_0x2f06cd,_0x5724dc,_0x482766)=>_0x2f06cd&&_0x5724dc&&!_0x482766),_0x20e5e8['on'](_0xad4a('0xd'),()=>(_0x13daaf[_0xad4a('0x14')]['get'](_0x1af8c1)[_0xad4a('0x21')]({'name':_0x20e5e8['revisionName']}),void _0xc5b1ed())),_0x20e5e8['on'](_0xad4a('0x18'),()=>_0x1bfa9b()),_0x20e5e8[_0xad4a('0x9')](),_0x1bfa9b(),_0x889af3;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4258=['assign','availableRevisionActions','revisionHistory.revisionActions','change:diff','restoreRevision','restoreRevisionCallback','get','requires','isEnabled','destroy','selectRevision','_createRevisionActions','_sidebarView','ready','init','revisionSetName','_revisionsRepository','listenTo','timePeriodViews','pluginName','repository','isVisible','add','_revisionViewer','diff','_revisions','fieldView','compare','getRevisionsInDiff','setName','_handleRevisionSelected','revisionViews','bind','isSelected','highlightRevisions','_handleDiffChange','nameRevision','RevisionsSidebar','data','getRevision','string','action','name','locale','_handleRevisionSetName','getLaterVisibleRevision','length','element','getIndex','defaultRevisionActions','getEarlierVisibleRevision','_handleEditorDataReady','plugins','appendChild','Name\x20this\x20revision','isReady','editor','render','config'];(function(_0x75c891,_0x4258cf){const _0x17cc79=function(_0xb3e64b){while(--_0xb3e64b){_0x75c891['push'](_0x75c891['shift']());}};_0x17cc79(++_0x4258cf);}(_0x4258,0x82));const _0x17cc=function(_0x75c891,_0x4258cf){_0x75c891=_0x75c891-0x0;let _0x17cc79=_0x4258[_0x75c891];return _0x17cc79;};import{Plugin as _0x54fb36}from'ckeditor5/src/core';import _0x3ff7fd from'./revisionssidebarview';import _0x232b2c from'../../revisionviewer';export default class w extends _0x54fb36{static get[_0x17cc('0x7')](){return _0x17cc('0x19');}static get[_0x17cc('0x36')](){return[_0x232b2c];}constructor(_0x549826){super(_0x549826),this['_revisionViewer']=_0x549826[_0x17cc('0x28')][_0x17cc('0x35')](_0x232b2c),this[_0x17cc('0x4')]=this[_0x17cc('0xb')][_0x17cc('0x8')],this[_0x17cc('0x0')]=null;}[_0x17cc('0x2')](){const _0x58bbf7=this['_revisionsRepository'][_0x17cc('0xd')],_0x113116=this[_0x17cc('0x3a')](),_0x51e79b=this[_0x17cc('0x2c')][_0x17cc('0x2e')][_0x17cc('0x35')]('revisionHistory.viewerSidebarContainer');this[_0x17cc('0x0')]=new _0x3ff7fd(this['editor'][_0x17cc('0x1f')],_0x58bbf7,_0x113116),this['_sidebarView']['on']('revisionSelected',this[_0x17cc('0x12')][_0x17cc('0x14')](this)),this[_0x17cc('0x0')]['on'](_0x17cc('0x3'),this[_0x17cc('0x20')][_0x17cc('0x14')](this)),this[_0x17cc('0x0')]['bind'](_0x17cc('0x37'))['to'](this[_0x17cc('0xb')]),this[_0x17cc('0x0')][_0x17cc('0x6')]['on'](_0x17cc('0xa'),(_0x5de8b8,_0x42ef96)=>{_0x42ef96[_0x17cc('0x13')]['on'](_0x17cc('0xa'),(_0x2ca422,_0x18f4b2)=>{_0x18f4b2[_0x17cc('0x14')](_0x17cc('0x37'),_0x17cc('0x2b'))['to'](this[_0x17cc('0xb')]);});}),this[_0x17cc('0x0')][_0x17cc('0x2d')](),this['listenTo'](this[_0x17cc('0x2c')][_0x17cc('0x1a')],_0x17cc('0x1'),this['_handleEditorDataReady'][_0x17cc('0x14')](this)),this[_0x17cc('0x5')](this[_0x17cc('0xb')],_0x17cc('0x32'),this[_0x17cc('0x17')][_0x17cc('0x14')](this)),_0x51e79b[_0x17cc('0x29')](this[_0x17cc('0x0')][_0x17cc('0x23')]);}[_0x17cc('0x38')](){this[_0x17cc('0x0')][_0x17cc('0x23')]['remove'](),this[_0x17cc('0x0')][_0x17cc('0x38')]();}[_0x17cc('0x27')](){const _0x281255=this['_revisionsRepository']['getRevision'](0x0);if(_0x281255){const _0x52c374=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x281255['id']);this[_0x17cc('0xb')][_0x17cc('0xf')](_0x281255,_0x52c374);}}[_0x17cc('0x12')](_0x15d861,_0x1f9156){const _0xcd30bf=this[_0x17cc('0x4')][_0x17cc('0x1b')](_0x1f9156['id']),_0x6fb67=this[_0x17cc('0x4')][_0x17cc('0x26')](_0xcd30bf['id']);this['_revisionViewer']['compare'](_0xcd30bf,_0x6fb67);}[_0x17cc('0x20')](_0x414177,_0x193d3d){this[_0x17cc('0x4')][_0x17cc('0x1b')](_0x193d3d['id'])[_0x17cc('0x11')](_0x193d3d[_0x17cc('0x1e')]);}[_0x17cc('0x17')](_0xe578a7,_0x3d393c,_0x3c938c){const _0x1d9aa7=this[_0x17cc('0x4')][_0x17cc('0x10')](_0x3c938c);_0x1d9aa7['length']>0x2?(this['_sidebarView'][_0x17cc('0x16')](_0x1d9aa7),this[_0x17cc('0x0')][_0x17cc('0x39')](null)):(this[_0x17cc('0x0')][_0x17cc('0x16')]([]),this[_0x17cc('0x0')]['selectRevision'](_0x1d9aa7[0x0]));}[_0x17cc('0x3a')](){const _0x3b1b3e=this['editor'],_0x29a708=w[_0x17cc('0x30')],_0xc157e7=_0x3b1b3e[_0x17cc('0x2e')][_0x17cc('0x35')](_0x17cc('0x31'))||w[_0x17cc('0x25')];if(_0xc157e7[_0x17cc('0x22')])return _0xc157e7['map'](_0x558d09=>{const _0x37bd8f=_0x17cc('0x1c')==typeof _0x558d09?Object[_0x17cc('0x2f')]({},_0x29a708[_0x558d09]):_0x558d09;return _0x37bd8f[_0x17cc('0x1d')]=_0x37bd8f['action']['bind'](this,_0x3b1b3e),_0x37bd8f[_0x17cc('0x9')]&&(_0x37bd8f[_0x17cc('0x9')]=_0x37bd8f[_0x17cc('0x9')][_0x17cc('0x14')](this,_0x3b1b3e)),_0x37bd8f;});}}w[_0x17cc('0x30')]={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x563a3b},_0x479b93)=>{const _0x2bc18a=_0x563a3b['get'](_0x232b2c),_0x117c7e=_0x2bc18a['repository'];let _0x47ba32=_0x2bc18a[_0x17cc('0xc')]['newRevisionId'],_0x4e42df=_0x479b93['id'];_0x117c7e[_0x17cc('0x24')](_0x47ba32)>_0x117c7e['getIndex'](_0x4e42df)&&([_0x47ba32,_0x4e42df]=[_0x4e42df,_0x47ba32]),_0x2bc18a[_0x17cc('0xf')](_0x47ba32,_0x4e42df);},'isVisible':({plugins:_0x33ec48},_0x6ead7e)=>{const _0x54064b=_0x33ec48[_0x17cc('0x35')](_0x232b2c);return!(_0x54064b[_0x17cc('0x8')][_0x17cc('0x10')](_0x54064b[_0x17cc('0xc')])[_0x17cc('0x22')]>0x2)&&!_0x6ead7e[_0x17cc('0x15')];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x459f08,{id:_0x24f994})=>{_0x459f08[_0x17cc('0x2e')][_0x17cc('0x35')]('revisionHistory')[_0x17cc('0x34')](_0x24f994);},'isVisible':({plugins:_0x3f4c78},_0x2581f4)=>!!_0x3f4c78[_0x17cc('0x35')](_0x232b2c)[_0x17cc('0x8')][_0x17cc('0x21')](_0x2581f4['id'])},'nameRevision':{'name':_0x17cc('0x2a'),'action':({plugins:_0x541f4d},{id:_0x25f26e,revisionNameView:_0x5e845a})=>{const _0xb8bd54=_0x541f4d[_0x17cc('0x35')](_0x232b2c),_0x2e9b4f=_0xb8bd54[_0x17cc('0x8')][_0x17cc('0x26')](_0x25f26e);_0xb8bd54[_0x17cc('0xf')](_0x25f26e,_0x2e9b4f),_0x5e845a['focus'](),_0x5e845a[_0x17cc('0xe')]['select']();}}},w[_0x17cc('0x25')]=['compareAgainstSelected',_0x17cc('0x33'),_0x17cc('0x18')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2757=['Revision\x20history','ck-revision-history-sidebar__header','ck-revision-history-sidebar__header__label','history','ck-reset_all','span','div'];(function(_0x23ddf2,_0x27571a){const _0x4fd107=function(_0x3d59b6){while(--_0x3d59b6){_0x23ddf2['push'](_0x23ddf2['shift']());}};_0x4fd107(++_0x27571a);}(_0x2757,0xfa));const _0x4fd1=function(_0x23ddf2,_0x27571a){_0x23ddf2=_0x23ddf2-0x0;let _0x4fd107=_0x2757[_0x23ddf2];return _0x4fd107;};import{View as _0x7bbef6,IconView as _0x3ad2ab}from'ckeditor5/src/ui';import{getTranslation as _0x3f71cc}from'../../utils/common-translations';import{icons as _0x42b368}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x7bbef6{constructor(_0x114bf9){super(_0x114bf9);const _0xc0f134=new _0x3ad2ab();_0xc0f134['content']=_0x42b368[_0x4fd1('0x5')],this['setTemplate']({'tag':_0x4fd1('0x1'),'attributes':{'class':['ck',_0x4fd1('0x6'),_0x4fd1('0x3')]},'children':[_0xc0f134,{'tag':_0x4fd1('0x0'),'attributes':{'class':['ck',_0x4fd1('0x4')]},'children':[_0x3f71cc(_0x114bf9,_0x4fd1('0x2'))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18c1=['removeRevision','startDate','localizedPeriodName','div','ck-revision-history-sidebar__time-period','_revisionActions','createCollection','select','locale','setName','uiLanguage','ck-revision-history-sidebar__time-period__revisions','remove','addRevision','delegate','ck-revision-history-sidebar__time-period__label','revisionViews'];(function(_0xdbf4d0,_0x18c101){const _0x4bc6c7=function(_0x4bbbc6){while(--_0x4bbbc6){_0xdbf4d0['push'](_0xdbf4d0['shift']());}};_0x4bc6c7(++_0x18c101);}(_0x18c1,0x9d));const _0x4bc6=function(_0xdbf4d0,_0x18c101){_0xdbf4d0=_0xdbf4d0-0x0;let _0x4bc6c7=_0x18c1[_0xdbf4d0];return _0x4bc6c7;};import{View as _0x46aafc}from'ckeditor5/src/ui';import _0x4e5a1a from'../revision/revisionview';import{getDateTimePeriodInfo as _0xb841f8}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x46aafc{constructor(_0x3897ab,_0x38358b,_0x934f35){super(_0x3897ab);const _0x4292d0=_0xb841f8(_0x38358b,this[_0x4bc6('0x4')][_0x4bc6('0x6')])[_0x4bc6('0xf')];this[_0x4bc6('0xe')]=_0x38358b,this[_0x4bc6('0xc')]=this[_0x4bc6('0x2')](),this[_0x4bc6('0x1')]=_0x934f35,this[_0x4bc6('0xc')]['delegate'](_0x4bc6('0x3'))['to'](this),this[_0x4bc6('0xc')][_0x4bc6('0xa')](_0x4bc6('0x5'))['to'](this),this['setTemplate']({'tag':_0x4bc6('0x10'),'attributes':{'class':['ck',_0x4bc6('0x0')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x4bc6('0xb')]},'children':[{'text':_0x4292d0}]},{'tag':_0x4bc6('0x10'),'attributes':{'class':['ck',_0x4bc6('0x7')]},'children':this[_0x4bc6('0xc')]}]});}[_0x4bc6('0x9')](_0x42cb38){const _0x5bfcc1=new _0x4e5a1a(this['locale'],_0x42cb38,this[_0x4bc6('0x1')]);this[_0x4bc6('0xc')]['add'](_0x5bfcc1);}[_0x4bc6('0xd')](_0x144d18){const _0xe9a41=this['revisionViews']['find'](_0x18221e=>_0x18221e['id']===_0x144d18['id']);this['revisionViews'][_0x4bc6('0x8')](_0xe9a41);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x65d3=['some','revisionSetName','ck-revision-history-sidebar','getTime','ck-disabled','_getTimePeriodViewByStartDate','_revisions','removeRevision','ck-reset','setTemplate','highlight','_addRevision','get','delegate','createdAt','_removeRevision','ck-rounded-corners','timePeriodViews','locale','deselect','render','map','ck-revision-history-sidebar__timeline','highlightRevisions','remove','createCollection','_revisionActions','setName','set','add','select','div','isEnabled','startDate','revisionViews','selectRevision','uiLanguage','addRevision','fire'];(function(_0x3db4a5,_0x65d3eb){const _0x434b2=function(_0x573add){while(--_0x573add){_0x3db4a5['push'](_0x3db4a5['shift']());}};_0x434b2(++_0x65d3eb);}(_0x65d3,0x167));const _0x434b=function(_0x3db4a5,_0x65d3eb){_0x3db4a5=_0x3db4a5-0x0;let _0x434b2=_0x65d3[_0x3db4a5];return _0x434b2;};import{View as _0x1fdd4c}from'ckeditor5/src/ui';import _0x3a2131 from'./revisionssidebartimeperiodview';import _0x3f7325 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x4ecbaa}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x1fdd4c{constructor(_0x158364,_0x10d662,_0xf370d){super(_0x158364);const _0x59a4ac=this['bindTemplate'];this['timePeriodViews']=this[_0x434b('0x11')](),this[_0x434b('0x9')][_0x434b('0x5')]('select')['to'](this),this[_0x434b('0x9')][_0x434b('0x5')]('setName')['to'](this),this[_0x434b('0x25')]=_0x10d662,this['_revisionActions']=_0xf370d,this['on'](_0x434b('0x16'),(_0x34bc2f,_0x7649ea)=>{this[_0x434b('0x1e')]('revisionSelected',_0x7649ea);}),this['on'](_0x434b('0x13'),(_0xf3ee80,_0x10fb9b)=>{this[_0x434b('0x1e')](_0x434b('0x20'),_0x10fb9b);}),this[_0x434b('0x14')](_0x434b('0x18'),!0x1),this[_0x434b('0x1')]({'tag':'div','attributes':{'class':['ck',_0x434b('0x0'),_0x434b('0x8'),_0x434b('0x21')]},'children':[new _0x3f7325(_0x158364),{'tag':_0x434b('0x17'),'attributes':{'class':['ck',_0x434b('0xe'),_0x59a4ac['if'](_0x434b('0x18'),_0x434b('0x23'),_0x3ee4a6=>!_0x3ee4a6)]},'children':this[_0x434b('0x9')]}]});}[_0x434b('0xc')](){super['render']();for(const _0x479bb1 of this[_0x434b('0x25')])this[_0x434b('0x3')](_0x479bb1);this['_revisions']['on'](_0x434b('0x15'),(_0x1ddf6e,_0x123d54)=>{this[_0x434b('0x3')](_0x123d54);}),this[_0x434b('0x25')]['on'](_0x434b('0x10'),(_0x3e6f3e,_0x4f2614)=>{this[_0x434b('0x7')](_0x4f2614);});}get[_0x434b('0x1a')](){return this[_0x434b('0x9')]['map'](_0x408351=>_0x408351[_0x434b('0x1a')][_0x434b('0xd')](_0x10dceb=>_0x10dceb))['flat']();}[_0x434b('0x1b')](_0x557a7){for(const _0x4c1bb3 of this[_0x434b('0x1a')])_0x557a7&&_0x557a7['id']===_0x4c1bb3['id']?_0x4c1bb3[_0x434b('0x16')]():_0x4c1bb3[_0x434b('0xb')]();}[_0x434b('0xf')](_0x7dad3b){for(const _0x452e9f of this[_0x434b('0x1a')])_0x7dad3b[_0x434b('0x1f')](({id:_0x23a400})=>_0x23a400===_0x452e9f['id'])?_0x452e9f[_0x434b('0x2')]():_0x452e9f['unhighlight']();}['_addRevision'](_0x3687e6){const _0x2520ac=_0x4ecbaa(_0x3687e6[_0x434b('0x6')],this['locale'][_0x434b('0x1c')])[_0x434b('0x19')];let _0x367fb8=this['timePeriodViews'][_0x434b('0x4')](0x0);_0x367fb8&&_0x367fb8[_0x434b('0x19')][_0x434b('0x22')]()===_0x2520ac[_0x434b('0x22')]()||(_0x367fb8=new _0x3a2131(this['locale'],_0x2520ac,this[_0x434b('0x12')]),this[_0x434b('0x9')]['add'](_0x367fb8)),_0x367fb8[_0x434b('0x1d')](_0x3687e6);}['_removeRevision'](_0x570df1){const _0x46bb6b=_0x4ecbaa(_0x570df1[_0x434b('0x6')],this[_0x434b('0xa')][_0x434b('0x1c')])[_0x434b('0x19')];this[_0x434b('0x24')](_0x46bb6b)[_0x434b('0x26')](_0x570df1);}[_0x434b('0x24')](_0x21ba50){return this[_0x434b('0x9')]['find'](_0x309eb7=>_0x309eb7['startDate'][_0x434b('0x22')]()===_0x21ba50['getTime']());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4029=['year','toRelativeCalendar','toJSDate','hasSame','weekdayLong','week','month','fromJSDate','startOf','day','setLocale','monthLong'];(function(_0x42dd56,_0x40291e){const _0x257adc=function(_0x13aa25){while(--_0x13aa25){_0x42dd56['push'](_0x42dd56['shift']());}};_0x257adc(++_0x40291e);}(_0x4029,0x17d));const _0x257a=function(_0x42dd56,_0x40291e){_0x42dd56=_0x42dd56-0x0;let _0x257adc=_0x4029[_0x42dd56];return _0x257adc;};import{DateTime as _0x311369}from'luxon';export function getDateTimePeriodInfo(_0x8f0ec4,_0x5357b5){const _0x14cf26=_0x311369[_0x257a('0xa')](_0x8f0ec4)[_0x257a('0x1')](_0x5357b5),_0x38a5ac=_0x311369['local'](),_0x5864be=_0x38a5ac['minus']({'days':0x1})['startOf'](_0x257a('0x0'));let _0x14b96c,_0xb2b509;return _0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x0'))?(_0x14b96c=_0x14cf26['startOf'](_0x257a('0x0'))['toJSDate'](),_0xb2b509=_0x14cf26[_0x257a('0x4')]()):_0x14cf26[_0x257a('0x6')](_0x5864be,'day')?(_0x14b96c=_0x5864be[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x4')]()):_0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x8'))?(_0x14b96c=_0x14cf26['startOf'](_0x257a('0x8'))[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x7')]||''):_0x14cf26[_0x257a('0x6')](_0x38a5ac,_0x257a('0x3'))?(_0x14b96c=_0x14cf26[_0x257a('0xb')](_0x257a('0x9'))[_0x257a('0x5')](),_0xb2b509=_0x14cf26[_0x257a('0x2')]||''):(_0x14b96c=_0x14cf26[_0x257a('0xb')](_0x257a('0x3'))[_0x257a('0x5')](),_0xb2b509=String(_0x14cf26[_0x257a('0x3')])),{'startDate':_0x14b96c,'localizedPeriodName':_0xb2b509};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5618=['bindTemplate','Removed\x20by','set','author','setTemplate','add','name','isSuggestion','Suggested\x20by','data','focus','ck-revision-change','type','span','ck-revision-change__label','ck-annotation','div'];(function(_0x49f590,_0x5618dd){const _0x521279=function(_0x2a20c0){while(--_0x2a20c0){_0x49f590['push'](_0x49f590['shift']());}};_0x521279(++_0x5618dd);}(_0x5618,0x19a));const _0x5212=function(_0x49f590,_0x5618dd){_0x49f590=_0x49f590-0x0;let _0x521279=_0x5618[_0x49f590];return _0x521279;};import{View as _0x24abd5}from'ckeditor5/src/ui';import{getTranslation as _0x3ebc20}from'../../utils/common-translations';export default class Z extends _0x24abd5{constructor(_0x562f3b,_0x7ae782){super(_0x562f3b),this['_model']=_0x7ae782,this['changeId']=_0x7ae782['id'];const _0x30d3a8=this[_0x5212('0xf')],_0x463c5b=_0x3ebc20(_0x562f3b,_0x7ae782[_0x5212('0x7')][_0x5212('0x5')]?_0x5212('0x6'):_0x5212('0x3')==_0x7ae782[_0x5212('0xa')]?'Added\x20by':_0x5212('0x10'));this[_0x5212('0x0')](_0x5212('0xa'),_0x7ae782[_0x5212('0xa')]),this[_0x5212('0x2')]({'tag':_0x5212('0xe'),'attributes':{'class':[_0x5212('0xd'),_0x5212('0x9'),_0x30d3a8['to']('type',_0x10064e=>'ck-revision-change__'+_0x10064e)],'tabindex':-0x1},'children':[{'tag':_0x5212('0xb'),'children':[{'tag':'span','attributes':{'class':[_0x5212('0xc')]},'children':[{'text':_0x463c5b}]},{'text':'\x20'+_0x7ae782[_0x5212('0x1')][_0x5212('0x4')]}]}]});}[_0x5212('0x8')](){this['element'][_0x5212('0x8')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x344c=['fire','isBackwardNavigationEnabled','backward','isForwardNavigationEnabled','isReady','isNavigationMode','div','Loading...','Total','numberOfChanges','_statusText','set','No\x20changes','X_OF_Y_CHANGES','isEnabled','execute','Show\x20previous\x20change','Show\x20next\x20change','bindTemplate','currentChangeNumber','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation','bind','ck-revision-history-ui__changes-navigation__navigation','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui','span'];(function(_0x52c789,_0x344cf9){const _0x23c11a=function(_0x5c4c3e){while(--_0x5c4c3e){_0x52c789['push'](_0x52c789['shift']());}};_0x23c11a(++_0x344cf9);}(_0x344c,0x1c0));const _0x23c1=function(_0x52c789,_0x344cf9){_0x52c789=_0x52c789-0x0;let _0x23c11a=_0x344c[_0x52c789];return _0x23c11a;};import{View as _0x487f18,ButtonView as _0x304ec8,ToolbarSeparatorView as _0x4d443c}from'ckeditor5/src/ui';import{getTranslation as _0x3b0b5b}from'../../utils/common-translations';import _0x56ff4 from'../../../theme/icons/arrow-up.svg';import _0x1cc724 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x487f18{constructor(_0x573572){super(_0x573572);const _0x1885c3=this[_0x23c1('0x2')],_0x5a5083=new _0x304ec8(_0x573572),_0x47f6bc=new _0x304ec8(_0x573572);this[_0x23c1('0x16')](_0x23c1('0x10'),!0x1),this[_0x23c1('0x16')](_0x23c1('0xf'),!0x1),this[_0x23c1('0x16')](_0x23c1('0x3'),0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this[_0x23c1('0x16')](_0x23c1('0xc'),!0x1),this[_0x23c1('0x6')](_0x23c1('0x4'))['to'](this,_0x23c1('0xf'),this,_0x23c1('0x14'),(_0x342fd0,_0x5681d2)=>_0x342fd0&&_0x5681d2>0x0),this['bind'](_0x23c1('0x15'))['to'](this,_0x23c1('0xf'),this,_0x23c1('0x3'),this,_0x23c1('0x14'),this,_0x23c1('0x10'),(_0x2f1d76,_0x53f1d2,_0x50aefd,_0xc115e0)=>{if(!_0x2f1d76)return _0x3b0b5b(_0x573572,_0x23c1('0x12'));if(!_0x50aefd)return _0x3b0b5b(_0x573572,_0x23c1('0x17'));const _0x15735c=_0x3b0b5b(_0x573572,'NUMBER_OF_CHANGES',_0x50aefd);return _0xc115e0?_0x3b0b5b(_0x573572,_0x23c1('0x18'),[_0x53f1d2+0x1,_0x50aefd]):_0x15735c;}),_0x5a5083['set']({'label':_0x3b0b5b(_0x573572,_0x23c1('0x0')),'tooltip':!0x0,'icon':_0x56ff4}),_0x47f6bc[_0x23c1('0x16')]({'label':_0x3b0b5b(_0x573572,_0x23c1('0x1')),'tooltip':!0x0,'icon':_0x1cc724}),_0x5a5083[_0x23c1('0x6')](_0x23c1('0x19'))['to'](this,'isBackwardNavigationEnabled'),_0x47f6bc[_0x23c1('0x6')](_0x23c1('0x19'))['to'](this,_0x23c1('0xe')),_0x5a5083['on'](_0x23c1('0x1a'),()=>this[_0x23c1('0xb')](_0x23c1('0x1a'),_0x23c1('0xd'))),_0x47f6bc['on'](_0x23c1('0x1a'),()=>this[_0x23c1('0xb')](_0x23c1('0x1a'),'forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x23c1('0x9'),_0x23c1('0x5')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':_0x23c1('0xa'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x1885c3['if'](_0x23c1('0x4'),'ck-hidden',_0x513221=>!_0x513221)]},'children':[{'text':_0x1885c3['to'](_0x23c1('0x10'),_0x5a026d=>_0x5a026d?_0x3b0b5b(_0x573572,_0x23c1('0x8'))+':\x20':_0x3b0b5b(_0x573572,_0x23c1('0x13'))+':\x20')}]},{'text':_0x1885c3['to'](_0x23c1('0x15'))}]},new _0x4d443c(),{'tag':_0x23c1('0x11'),'attributes':{'class':[_0x23c1('0x7')]},'children':[_0x5a5083,_0x47f6bc]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40aa=['pluginName','ck-editor__editable__loading-overlay','change','roots','editing','RevisionViewerLoadingOverlay','hide','addClass','editor','document','view'];(function(_0x323533,_0x40aa6b){const _0x27aca8=function(_0x572b95){while(--_0x572b95){_0x323533['push'](_0x323533['shift']());}};_0x27aca8(++_0x40aa6b);}(_0x40aa,0x137));const _0x27ac=function(_0x323533,_0x40aa6b){_0x323533=_0x323533-0x0;let _0x27aca8=_0x40aa[_0x323533];return _0x27aca8;};import{Plugin as _0x4e37d5}from'ckeditor5/src/core';const oe=_0x27ac('0x9');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4e37d5{static get[_0x27ac('0x8')](){return _0x27ac('0x2');}['show'](){const _0x423968=this[_0x27ac('0x5')][_0x27ac('0x1')]['view'];_0x423968['change'](_0x1ad78d=>{for(const _0x5e221b of _0x423968[_0x27ac('0x6')][_0x27ac('0x0')])_0x1ad78d[_0x27ac('0x4')](oe,_0x5e221b);});}[_0x27ac('0x3')](){const _0x248e8c=this['editor'][_0x27ac('0x1')][_0x27ac('0x7')];_0x248e8c[_0x27ac('0xa')](_0x41ad1e=>{for(const _0x2b61fc of _0x248e8c[_0x27ac('0x6')][_0x27ac('0x0')])_0x41ad1e['removeClass'](oe,_0x2b61fc);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fe8=['componentFactory','revisionHistory','forward','showNextChange','change:isReady','plugins','requires','showPreviousChange','commands','isEnabled','ck-revision-history-ui__back-to-editing','bind','isForwardNavigationEnabled','get','init','execute','numberOfChanges','changesNavigation','listenTo','hide','editor','RevisionViewerUI','config','isNavigationMode','isReady','set','show','exitToEditing','add'];(function(_0x3584f5,_0x2fe89d){const _0x3c5ad1=function(_0x3854b6){while(--_0x3854b6){_0x3584f5['push'](_0x3584f5['shift']());}};_0x3c5ad1(++_0x2fe89d);}(_0x2fe8,0x145));const _0x3c5a=function(_0x3584f5,_0x2fe89d){_0x3584f5=_0x3584f5-0x0;let _0x3c5ad1=_0x2fe8[_0x3584f5];return _0x3c5ad1;};import{Plugin as _0x1362ec}from'ckeditor5/src/core';import{ButtonView as _0x2ef211}from'ckeditor5/src/ui';import _0x252577 from'./changesnavigationview';import _0x5ec261 from'./../../revisionviewer';import _0x4958e0 from'./revisionviewerloadingoverlay';import{getTranslation as _0x1b12ce}from'../../utils/common-translations';import _0x5a4b25 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x1362ec{static get['pluginName'](){return _0x3c5a('0xf');}static get[_0x3c5a('0x0')](){return[_0x5ec261,_0x4958e0];}[_0x3c5a('0x8')](){const _0x142036=this[_0x3c5a('0xe')],_0x258dbb=_0x142036[_0x3c5a('0x1c')]['get'](_0x5ec261),_0x13ec3a=_0x142036[_0x3c5a('0x1c')][_0x3c5a('0x7')](_0x4958e0);_0x142036['ui']['componentFactory']['add'](_0x3c5a('0x15'),_0x17983d=>{const _0x570699=new _0x2ef211(_0x17983d);return _0x570699[_0x3c5a('0x13')]({'label':_0x1b12ce(_0x17983d,'Back\x20to\x20editing'),'icon':_0x5a4b25,'withText':!0x0,'tooltip':!0x0,'class':_0x3c5a('0x4')}),this['listenTo'](_0x570699,_0x3c5a('0x9'),()=>{_0x142036[_0x3c5a('0x10')][_0x3c5a('0x7')](_0x3c5a('0x18'))['closeRevisionViewerCallback']();}),_0x570699;}),_0x142036['ui'][_0x3c5a('0x17')][_0x3c5a('0x16')]('restoreRevision',_0x424a6b=>{const _0x294979=new _0x2ef211(_0x424a6b);return _0x294979[_0x3c5a('0x13')]({'label':_0x1b12ce(_0x424a6b,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x294979[_0x3c5a('0x5')](_0x3c5a('0x3'))['to'](_0x142036[_0x3c5a('0x2')][_0x3c5a('0x7')]('restoreRevision')),this['listenTo'](_0x294979,_0x3c5a('0x9'),()=>_0x142036[_0x3c5a('0x9')]('restoreRevision')),_0x294979;}),_0x142036['ui'][_0x3c5a('0x17')][_0x3c5a('0x16')](_0x3c5a('0xb'),_0x4a805a=>{const _0x114659=new _0x252577(_0x4a805a),_0x555105=_0x142036[_0x3c5a('0x2')][_0x3c5a('0x7')](_0x3c5a('0x1')),_0x39e88d=_0x142036['commands'][_0x3c5a('0x7')](_0x3c5a('0x1a'));return _0x114659[_0x3c5a('0x5')]('isBackwardNavigationEnabled')['to'](_0x555105,_0x3c5a('0x3')),_0x114659[_0x3c5a('0x5')](_0x3c5a('0x6'))['to'](_0x39e88d,'isEnabled'),_0x114659[_0x3c5a('0x5')](_0x3c5a('0x12'),'currentChangeNumber',_0x3c5a('0xa'),_0x3c5a('0x11'))['to'](_0x258dbb),this[_0x3c5a('0xc')](_0x114659,_0x3c5a('0x9'),(_0x116c20,_0xecd8b8)=>{_0x142036[_0x3c5a('0x9')](_0x3c5a('0x19')===_0xecd8b8?'showNextChange':'showPreviousChange');}),_0x114659;}),_0x13ec3a[_0x3c5a('0x14')](),_0x258dbb['on'](_0x3c5a('0x1b'),(_0x2132c8,_0x15cfd0,_0x39378f)=>{_0x39378f?_0x13ec3a[_0x3c5a('0xd')]():_0x13ec3a['show']();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1377cc,_0x278b77,_0x2e04f8){const t=_0x1377cc['t'];switch(_0x278b77){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2e04f8);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e04f8);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x278b77;}}
|