@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231103.0 → 0.0.0-nightly-20231105.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/LICENSE.md +3 -3
- 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 _0x2284=['render','ck-revision-history-save-revision-form','stopPropagation','locale','input','revisionName','delegate','revisionNameInputView','fieldView','value','_focusables','ck-responsive-form','execute','saveButtonView','add','Save','ck-button-cancel','ck-button-save','set','arrowdown','submit','form','cancelButtonView','type','Name\x20of\x20the\x20revision\x20(optional)','220','forEach','element','setTemplate','keystrokes','_createRevisionNameInput','label','focus','cancel','extendTemplate','_focusCycler','revisionNameInputValue','tab','focusTracker','trim','arrowright','shift\x20+\x20tab','arrowup','check'];(function(_0x550085,_0x2284a6){const _0x3494cc=function(_0x2c4ca2){while(--_0x2c4ca2){_0x550085['push'](_0x550085['shift']());}};_0x3494cc(++_0x2284a6);}(_0x2284,0x1c9));const _0x3494=function(_0x550085,_0x2284a6){_0x550085=_0x550085-0x0;let _0x3494cc=_0x2284[_0x550085];return _0x3494cc;};import{icons as _0xf8e636}from'ckeditor5/src/core';import{ButtonView as _0x14c379,FocusCycler as _0x38276f,LabeledFieldView as _0x553b43,View as _0xbc1026,ViewCollection as _0x4e0183,createLabeledInputText as _0x203115,injectCssTransitionDisabler as _0x20906a,submitHandler as _0x26ef6a}from'ckeditor5/src/ui';import{FocusTracker as _0x2703a6,KeystrokeHandler as _0x7f55f0}from'ckeditor5/src/utils';import{getTranslation as _0x37cbc0}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0xbc1026{constructor(_0x339b1c){super(_0x339b1c),this[_0x3494('0x15')]=new _0x2703a6(),this[_0x3494('0xc')]=new _0x7f55f0(),this['set'](_0x3494('0x13'),''),this[_0x3494('0x22')]=this['_createRevisionNameInput'](),this[_0x3494('0x28')]=this['_createButton'](_0x37cbc0(_0x339b1c,_0x3494('0x2a')),_0xf8e636[_0x3494('0x1a')],_0x3494('0x0')),this['saveButtonView'][_0x3494('0x6')]=_0x3494('0x3'),this[_0x3494('0x5')]=this['_createButton'](_0x37cbc0(_0x339b1c,'Cancel'),_0xf8e636[_0x3494('0x10')],_0x3494('0x2b'),_0x3494('0x10')),this[_0x3494('0x25')]=new _0x4e0183(),this[_0x3494('0x12')]=new _0x38276f({'focusables':this[_0x3494('0x25')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x3494('0xc')],'actions':{'focusPrevious':_0x3494('0x18'),'focusNext':_0x3494('0x14')}}),this[_0x3494('0xb')]({'tag':_0x3494('0x4'),'attributes':{'class':['ck',_0x3494('0x1c'),_0x3494('0x26')],'tabindex':'-1'},'children':[this[_0x3494('0x22')],this[_0x3494('0x28')],this[_0x3494('0x5')]]}),_0x20906a(this);}[_0x3494('0x1b')](){super[_0x3494('0x1b')](),_0x26ef6a({'view':this}),([this[_0x3494('0x22')],this[_0x3494('0x28')],this['cancelButtonView']][_0x3494('0x9')](_0x1897c8=>{this[_0x3494('0x25')][_0x3494('0x29')](_0x1897c8),this[_0x3494('0x15')]['add'](_0x1897c8[_0x3494('0xa')]);}),this[_0x3494('0xc')]['listenTo'](this[_0x3494('0xa')]));const _0xc21ed6=_0xf8881a=>_0xf8881a[_0x3494('0x1d')]();this[_0x3494('0xc')][_0x3494('0x1')](_0x3494('0x17'),_0xc21ed6),this[_0x3494('0xc')][_0x3494('0x1')]('arrowleft',_0xc21ed6),this[_0x3494('0xc')][_0x3494('0x1')](_0x3494('0x19'),_0xc21ed6),this['keystrokes'][_0x3494('0x1')](_0x3494('0x2'),_0xc21ed6);}[_0x3494('0xf')](){this[_0x3494('0x12')]['focusFirst']();}get['revisionName'](){return this[_0x3494('0x22')][_0x3494('0x23')][_0x3494('0xa')][_0x3494('0x24')][_0x3494('0x16')]();}set[_0x3494('0x20')](_0x15481d){this['revisionNameInputView'][_0x3494('0x23')][_0x3494('0xa')][_0x3494('0x24')]=_0x15481d[_0x3494('0x16')]();}['reset'](){this[_0x3494('0x22')][_0x3494('0x23')]['element'][_0x3494('0x24')]='';}[_0x3494('0xd')](){const _0xacac3e=new _0x553b43(this[_0x3494('0x1e')],_0x203115),_0x2d929b=_0xacac3e[_0x3494('0x23')];return _0x2d929b[_0x3494('0x11')]({'attributes':{'maxlength':_0x3494('0x8')}}),_0xacac3e[_0x3494('0xe')]=_0x37cbc0(this[_0x3494('0x1e')],_0x3494('0x7')),_0x2d929b['on'](_0x3494('0x1f'),()=>{this[_0x3494('0x13')]=_0x2d929b[_0x3494('0xa')][_0x3494('0x24')]['trim']();}),_0xacac3e;}['_createButton'](_0x324857,_0x58da3a,_0x2f72ec,_0x3e5ef3){const _0x25723e=new _0x14c379(this[_0x3494('0x1e')]);return _0x25723e['set']({'label':_0x324857,'icon':_0x58da3a,'tooltip':!0x0}),_0x25723e[_0x3494('0x11')]({'attributes':{'class':_0x2f72ec}}),_0x3e5ef3&&_0x25723e[_0x3494('0x21')](_0x3494('0x27'))['to'](this,_0x3e5ef3),_0x25723e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x475a=['revisionHistory','isReady','cancel','execute','children','focus','Save\x20current\x20revision','saveRevision','length','config','componentFactory','isReadOnly','revisionName','addMany','Open\x20revision\x20history','RevisionTracker','init','requires','set','bind','submit','editing','items','isEnabled','reset','saveButtonView','history','editor','get','RevisionHistoryUI','plugins','add','pluginName','render','Revision\x20history','panelView','showRevisionViewerCallback'];(function(_0x5b0f9f,_0x475a6b){const _0xd74ccf=function(_0x9b56a){while(--_0x9b56a){_0x5b0f9f['push'](_0x5b0f9f['shift']());}};_0xd74ccf(++_0x475a6b);}(_0x475a,0x1e2));const _0xd74c=function(_0x5b0f9f,_0x475a6b){_0x5b0f9f=_0x5b0f9f-0x0;let _0xd74ccf=_0x475a[_0x5b0f9f];return _0xd74ccf;};import{Plugin as _0x2588a5,icons as _0x2fa85f}from'ckeditor5/src/core';import{ListView as _0x4aa5ae,ListItemView as _0x223797,ButtonView as _0x4b44b3,createDropdown as _0x12ec82}from'ckeditor5/src/ui';import _0x507f62 from'../../revisiontracker';import _0x36607b from'./revisionhistorysaverevisionformview';import{getTranslation as _0x18ee85}from'../../utils/common-translations';export default class u extends _0x2588a5{static get[_0xd74c('0x1f')](){return _0xd74c('0x1c');}static get[_0xd74c('0x10')](){return[_0x507f62];}[_0xd74c('0xf')](){const _0x57c62a=this[_0xd74c('0x1a')],_0x55694a=_0x57c62a[_0xd74c('0x1d')][_0xd74c('0x1b')](_0xd74c('0xe'));_0x57c62a['ui'][_0xd74c('0x9')]['add'](_0xd74c('0x24'),_0xea9609=>{const _0x2908b9=_0x12ec82(_0xea9609),_0x45f4ed=_0x2908b9[_0xd74c('0x22')][_0xd74c('0x3')],_0x5c454e=new _0x4aa5ae(_0xea9609),_0x3f7783=new _0x223797(_0xea9609),_0x55fd2c=new _0x4b44b3(_0xea9609),_0x2fd79c=new _0x223797(_0xea9609),_0x3ae7a2=new _0x4b44b3(_0xea9609),_0x5e4be8=new _0x36607b(_0xea9609);function _0x1acf77(){_0x45f4ed[_0xd74c('0x7')]&&_0x45f4ed['remove'](0x0),_0x45f4ed[_0xd74c('0x1e')](_0x5c454e);}function _0x539d8b(){_0x2908b9['isOpen']=!0x1,_0x57c62a[_0xd74c('0x14')]['view'][_0xd74c('0x4')]();}return _0x2908b9[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,'isReady',_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0x3cc177,_0x409862,_0x35e62f)=>_0x3cc177&&_0x409862&&!_0x35e62f),_0x2908b9['buttonView'][_0xd74c('0x11')]({'icon':_0x2fa85f[_0xd74c('0x19')],'label':_0x18ee85(_0xea9609,_0xd74c('0x21')),'tooltip':!0x0}),_0x55fd2c['set']({'label':_0x18ee85(_0xea9609,_0xd74c('0x5')),'withText':!0x0}),_0x55fd2c[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,_0xd74c('0x0'),_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0x2d966d,_0x554940,_0x523e4f)=>_0x2d966d&&_0x554940&&!_0x523e4f),_0x55fd2c['on'](_0xd74c('0x2'),()=>function(){_0x45f4ed[_0xd74c('0x7')]&&_0x45f4ed['remove'](0x0),(_0x5e4be8[_0xd74c('0x17')](),_0x45f4ed[_0xd74c('0x1e')](_0x5e4be8),_0x5e4be8[_0xd74c('0x4')]());}()),_0x3ae7a2[_0xd74c('0x11')]({'label':_0x18ee85(_0xea9609,_0xd74c('0xd')),'withText':!0x0}),_0x3ae7a2[_0xd74c('0x12')](_0xd74c('0x16'))['to'](_0x55694a,'isReady',_0x57c62a,'isReadOnly',(_0x9a3208,_0x1f5711)=>_0x9a3208&&!_0x1f5711),_0x3ae7a2['on']('execute',()=>{_0x57c62a[_0xd74c('0x8')][_0xd74c('0x1b')](_0xd74c('0x24'))[_0xd74c('0x23')](),_0x539d8b();}),_0x3f7783[_0xd74c('0x3')][_0xd74c('0x1e')](_0x55fd2c),_0x2fd79c[_0xd74c('0x3')][_0xd74c('0x1e')](_0x3ae7a2),_0x5c454e[_0xd74c('0x15')][_0xd74c('0xc')]([_0x3f7783,_0x2fd79c]),_0x2908b9['on']('change:isOpen',()=>_0x1acf77()),_0x5e4be8[_0xd74c('0x18')]['bind'](_0xd74c('0x16'))['to'](_0x55694a,_0xd74c('0x0'),_0x55694a,_0xd74c('0x16'),_0x57c62a,_0xd74c('0xa'),(_0xbcf4a1,_0x2c2f3c,_0xfb26e2)=>_0xbcf4a1&&_0x2c2f3c&&!_0xfb26e2),_0x5e4be8['on'](_0xd74c('0x13'),()=>(_0x57c62a['plugins'][_0xd74c('0x1b')](_0x507f62)[_0xd74c('0x6')]({'name':_0x5e4be8[_0xd74c('0xb')]}),void _0x539d8b())),_0x5e4be8['on'](_0xd74c('0x1'),()=>_0x1acf77()),_0x5e4be8[_0xd74c('0x20')](),_0x1acf77(),_0x2908b9;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20da=['_handleDiffChange','getRevision','render','isVisible','revisionHistory.viewerSidebarContainer','repository','map','appendChild','_revisionsRepository','Restore\x20this\x20revision','revisionSelected','isSelected','change:diff','compare','highlightRevisions','newRevisionId','getRevisionsInDiff','revisionHistory','add','revisionSetName','getEarlierVisibleRevision','focus','_handleRevisionSelected','revisionHistory.revisionActions','getLaterVisibleRevision','destroy','compareAgainstSelected','string','remove','getIndex','timePeriodViews','isReady','selectRevision','assign','_handleEditorDataReady','_revisionViewer','ready','availableRevisionActions','setName','_handleRevisionSetName','listenTo','revisionViews','locale','isEnabled','defaultRevisionActions','config','fieldView','Compare\x20against\x20selected','name','diff','_sidebarView','plugins','init','bind','select','_revisions','nameRevision','_createRevisionActions','pluginName','action','editor','element','get'];(function(_0x4445ea,_0x20da18){const _0x296c0e=function(_0x484bde){while(--_0x484bde){_0x4445ea['push'](_0x4445ea['shift']());}};_0x296c0e(++_0x20da18);}(_0x20da,0x183));const _0x296c=function(_0x4445ea,_0x20da18){_0x4445ea=_0x4445ea-0x0;let _0x296c0e=_0x20da[_0x4445ea];return _0x296c0e;};import{Plugin as _0x5b3a95}from'ckeditor5/src/core';import _0x33a3b7 from'./revisionssidebarview';import _0x52a7c8 from'../../revisionviewer';export default class w extends _0x5b3a95{static get[_0x296c('0x31')](){return'RevisionsSidebar';}static get['requires'](){return[_0x52a7c8];}constructor(_0x19b2e1){super(_0x19b2e1),this[_0x296c('0x1a')]=_0x19b2e1[_0x296c('0x2a')][_0x296c('0x35')](_0x52a7c8),this['_revisionsRepository']=this[_0x296c('0x1a')]['repository'],this['_sidebarView']=null;}[_0x296c('0x2b')](){const _0x30a1ee=this['_revisionsRepository'][_0x296c('0x2e')],_0x2467b1=this[_0x296c('0x30')](),_0x1f3f09=this[_0x296c('0x33')][_0x296c('0x24')][_0x296c('0x35')](_0x296c('0x3a'));this[_0x296c('0x29')]=new _0x33a3b7(this['editor'][_0x296c('0x21')],_0x30a1ee,_0x2467b1),this['_sidebarView']['on'](_0x296c('0x1'),this[_0x296c('0xd')]['bind'](this)),this[_0x296c('0x29')]['on'](_0x296c('0xa'),this[_0x296c('0x1e')]['bind'](this)),this[_0x296c('0x29')]['bind'](_0x296c('0x22'))['to'](this[_0x296c('0x1a')]),this['_sidebarView'][_0x296c('0x15')]['on']('add',(_0x51f3dd,_0x2bbb01)=>{_0x2bbb01[_0x296c('0x20')]['on'](_0x296c('0x9'),(_0x496657,_0x30c858)=>{_0x30c858[_0x296c('0x2c')](_0x296c('0x22'),_0x296c('0x16'))['to'](this[_0x296c('0x1a')]);});}),this[_0x296c('0x29')][_0x296c('0x38')](),this[_0x296c('0x1f')](this[_0x296c('0x33')]['data'],_0x296c('0x1b'),this[_0x296c('0x19')]['bind'](this)),this[_0x296c('0x1f')](this[_0x296c('0x1a')],_0x296c('0x3'),this['_handleDiffChange'][_0x296c('0x2c')](this)),_0x1f3f09[_0x296c('0x3d')](this[_0x296c('0x29')][_0x296c('0x34')]);}[_0x296c('0x10')](){this[_0x296c('0x29')][_0x296c('0x34')][_0x296c('0x13')](),this['_sidebarView'][_0x296c('0x10')]();}[_0x296c('0x19')](){const _0x4f640d=this['_revisionsRepository']['getRevision'](0x0);if(_0x4f640d){const _0x54e582=this[_0x296c('0x3e')][_0x296c('0xb')](_0x4f640d['id']);this[_0x296c('0x1a')][_0x296c('0x4')](_0x4f640d,_0x54e582);}}[_0x296c('0xd')](_0x41fa72,_0x596c35){const _0x5aa666=this[_0x296c('0x3e')][_0x296c('0x37')](_0x596c35['id']),_0x2d9cd8=this[_0x296c('0x3e')][_0x296c('0xb')](_0x5aa666['id']);this[_0x296c('0x1a')]['compare'](_0x5aa666,_0x2d9cd8);}[_0x296c('0x1e')](_0x304b20,_0xf471e7){this[_0x296c('0x3e')][_0x296c('0x37')](_0xf471e7['id'])[_0x296c('0x1d')](_0xf471e7[_0x296c('0x27')]);}[_0x296c('0x36')](_0x1614f1,_0x1a73eb,_0x1773dc){const _0x3ed703=this[_0x296c('0x3e')][_0x296c('0x7')](_0x1773dc);_0x3ed703['length']>0x2?(this['_sidebarView'][_0x296c('0x5')](_0x3ed703),this['_sidebarView'][_0x296c('0x17')](null)):(this[_0x296c('0x29')][_0x296c('0x5')]([]),this[_0x296c('0x29')][_0x296c('0x17')](_0x3ed703[0x0]));}['_createRevisionActions'](){const _0x4f2091=this[_0x296c('0x33')],_0x3342ed=w[_0x296c('0x1c')],_0xf1977=_0x4f2091[_0x296c('0x24')][_0x296c('0x35')](_0x296c('0xe'))||w[_0x296c('0x23')];if(_0xf1977['length'])return _0xf1977[_0x296c('0x3c')](_0x24f67b=>{const _0x3e1ff3=_0x296c('0x12')==typeof _0x24f67b?Object[_0x296c('0x18')]({},_0x3342ed[_0x24f67b]):_0x24f67b;return _0x3e1ff3[_0x296c('0x32')]=_0x3e1ff3[_0x296c('0x32')]['bind'](this,_0x4f2091),_0x3e1ff3[_0x296c('0x39')]&&(_0x3e1ff3[_0x296c('0x39')]=_0x3e1ff3[_0x296c('0x39')]['bind'](this,_0x4f2091)),_0x3e1ff3;});}}w[_0x296c('0x1c')]={'compareAgainstSelected':{'name':_0x296c('0x26'),'action':({plugins:_0x2754a4},_0x23cf0f)=>{const _0x5be6ae=_0x2754a4[_0x296c('0x35')](_0x52a7c8),_0x386090=_0x5be6ae[_0x296c('0x3b')];let _0x42a648=_0x5be6ae[_0x296c('0x28')][_0x296c('0x6')],_0xa88a32=_0x23cf0f['id'];_0x386090[_0x296c('0x14')](_0x42a648)>_0x386090[_0x296c('0x14')](_0xa88a32)&&([_0x42a648,_0xa88a32]=[_0xa88a32,_0x42a648]),_0x5be6ae['compare'](_0x42a648,_0xa88a32);},'isVisible':({plugins:_0x3b21ec},_0x2d0f80)=>{const _0x34f411=_0x3b21ec[_0x296c('0x35')](_0x52a7c8);return!(_0x34f411[_0x296c('0x3b')][_0x296c('0x7')](_0x34f411[_0x296c('0x28')])['length']>0x2)&&!_0x2d0f80[_0x296c('0x2')];}},'restoreRevision':{'name':_0x296c('0x0'),'action':(_0x4397d0,{id:_0x2d691c})=>{_0x4397d0[_0x296c('0x24')][_0x296c('0x35')](_0x296c('0x8'))['restoreRevisionCallback'](_0x2d691c);},'isVisible':({plugins:_0xab0246},_0x4c6462)=>!!_0xab0246[_0x296c('0x35')](_0x52a7c8)['repository'][_0x296c('0xf')](_0x4c6462['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3c2d16},{id:_0x4153e3,revisionNameView:_0x340c6a})=>{const _0xbc6dc2=_0x3c2d16[_0x296c('0x35')](_0x52a7c8),_0x520ae5=_0xbc6dc2[_0x296c('0x3b')]['getEarlierVisibleRevision'](_0x4153e3);_0xbc6dc2['compare'](_0x4153e3,_0x520ae5),_0x340c6a[_0x296c('0xc')](),_0x340c6a[_0x296c('0x25')][_0x296c('0x2d')]();}}},w[_0x296c('0x23')]=[_0x296c('0x11'),'restoreRevision',_0x296c('0x2f')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14ab=['ck-revision-history-sidebar__header__label','ck-reset_all','history','content','setTemplate','span'];(function(_0x9247ae,_0x14ab7e){const _0x51a4ef=function(_0x262184){while(--_0x262184){_0x9247ae['push'](_0x9247ae['shift']());}};_0x51a4ef(++_0x14ab7e);}(_0x14ab,0x8a));const _0x51a4=function(_0x9247ae,_0x14ab7e){_0x9247ae=_0x9247ae-0x0;let _0x51a4ef=_0x14ab[_0x9247ae];return _0x51a4ef;};import{View as _0x34a778,IconView as _0x1cda1f}from'ckeditor5/src/ui';import{getTranslation as _0xadc531}from'../../utils/common-translations';import{icons as _0x37a275}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x34a778{constructor(_0x189efd){super(_0x189efd);const _0x429a79=new _0x1cda1f();_0x429a79[_0x51a4('0x3')]=_0x37a275[_0x51a4('0x2')],this[_0x51a4('0x4')]({'tag':'div','attributes':{'class':['ck',_0x51a4('0x1'),'ck-revision-history-sidebar__header']},'children':[_0x429a79,{'tag':_0x51a4('0x5'),'attributes':{'class':['ck',_0x51a4('0x0')]},'children':[_0xadc531(_0x189efd,'Revision\x20history')]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a3e=['startDate','locale','ck-revision-history-sidebar__time-period','localizedPeriodName','addRevision','_revisionActions','ck-revision-history-sidebar__time-period__label','select','div','uiLanguage','revisionViews','find','setTemplate','createCollection'];(function(_0x3b8bdd,_0x1a3ebd){const _0xe736c1=function(_0x3ef2a6){while(--_0x3ef2a6){_0x3b8bdd['push'](_0x3b8bdd['shift']());}};_0xe736c1(++_0x1a3ebd);}(_0x1a3e,0x15e));const _0xe736=function(_0x3b8bdd,_0x1a3ebd){_0x3b8bdd=_0x3b8bdd-0x0;let _0xe736c1=_0x1a3e[_0x3b8bdd];return _0xe736c1;};import{View as _0x11a73c}from'ckeditor5/src/ui';import _0x4419c1 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x442fdb}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x11a73c{constructor(_0x57aba0,_0x595b4a,_0x548b87){super(_0x57aba0);const _0x188e11=_0x442fdb(_0x595b4a,this[_0xe736('0x1')][_0xe736('0x9')])[_0xe736('0x3')];this[_0xe736('0x0')]=_0x595b4a,this[_0xe736('0xa')]=this[_0xe736('0xd')](),this['_revisionActions']=_0x548b87,this['revisionViews']['delegate'](_0xe736('0x7'))['to'](this),this[_0xe736('0xa')]['delegate']('setName')['to'](this),this[_0xe736('0xc')]({'tag':_0xe736('0x8'),'attributes':{'class':['ck',_0xe736('0x2')]},'children':[{'tag':'span','attributes':{'class':['ck',_0xe736('0x6')]},'children':[{'text':_0x188e11}]},{'tag':_0xe736('0x8'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0xe736('0xa')]}]});}[_0xe736('0x4')](_0x2a3875){const _0x45d297=new _0x4419c1(this[_0xe736('0x1')],_0x2a3875,this[_0xe736('0x5')]);this[_0xe736('0xa')]['add'](_0x45d297);}['removeRevision'](_0x1fda82){const _0x1069d9=this['revisionViews'][_0xe736('0xb')](_0x144511=>_0x144511['id']===_0x1fda82['id']);this[_0xe736('0xa')]['remove'](_0x1069d9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x453b=['add','selectRevision','isEnabled','setName','div','render','getTime','_removeRevision','setTemplate','locale','fire','get','bindTemplate','startDate','_revisionActions','set','_getTimePeriodViewByStartDate','ck-rounded-corners','addRevision','deselect','some','map','createdAt','createCollection','_addRevision','ck-revision-history-sidebar','revisionViews','delegate','ck-revision-history-sidebar__timeline','ck-reset','_revisions','uiLanguage','revisionSelected','find','select','timePeriodViews','flat','remove'];(function(_0x1f41dd,_0x453b9c){const _0x2f5ad7=function(_0x2362a7){while(--_0x2362a7){_0x1f41dd['push'](_0x1f41dd['shift']());}};_0x2f5ad7(++_0x453b9c);}(_0x453b,0xe7));const _0x2f5a=function(_0x1f41dd,_0x453b9c){_0x1f41dd=_0x1f41dd-0x0;let _0x2f5ad7=_0x453b[_0x1f41dd];return _0x2f5ad7;};import{View as _0x423e58}from'ckeditor5/src/ui';import _0x292962 from'./revisionssidebartimeperiodview';import _0x1bce6c from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x46ef32}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x423e58{constructor(_0x4517c1,_0x5e6fcd,_0x1991ba){super(_0x4517c1);const _0x2e99fa=this[_0x2f5a('0x9')];this[_0x2f5a('0x20')]=this[_0x2f5a('0x14')](),this[_0x2f5a('0x20')]['delegate']('select')['to'](this),this[_0x2f5a('0x20')][_0x2f5a('0x18')](_0x2f5a('0x0'))['to'](this),this[_0x2f5a('0x1b')]=_0x5e6fcd,this[_0x2f5a('0xb')]=_0x1991ba,this['on'](_0x2f5a('0x1f'),(_0x114f23,_0x374170)=>{this[_0x2f5a('0x7')](_0x2f5a('0x1d'),_0x374170);}),this['on'](_0x2f5a('0x0'),(_0x2ad0f6,_0x2fc9fd)=>{this[_0x2f5a('0x7')]('revisionSetName',_0x2fc9fd);}),this[_0x2f5a('0xc')](_0x2f5a('0x25'),!0x1),this[_0x2f5a('0x5')]({'tag':_0x2f5a('0x1'),'attributes':{'class':['ck',_0x2f5a('0x1a'),_0x2f5a('0xe'),_0x2f5a('0x16')]},'children':[new _0x1bce6c(_0x4517c1),{'tag':_0x2f5a('0x1'),'attributes':{'class':['ck',_0x2f5a('0x19'),_0x2e99fa['if'](_0x2f5a('0x25'),'ck-disabled',_0x26d79f=>!_0x26d79f)]},'children':this[_0x2f5a('0x20')]}]});}[_0x2f5a('0x2')](){super[_0x2f5a('0x2')]();for(const _0x272a99 of this['_revisions'])this[_0x2f5a('0x15')](_0x272a99);this['_revisions']['on'](_0x2f5a('0x23'),(_0x3cc5f2,_0x392ee0)=>{this[_0x2f5a('0x15')](_0x392ee0);}),this['_revisions']['on'](_0x2f5a('0x22'),(_0xf6cfcb,_0x2aad25)=>{this['_removeRevision'](_0x2aad25);});}get['revisionViews'](){return this[_0x2f5a('0x20')][_0x2f5a('0x12')](_0x44fb57=>_0x44fb57[_0x2f5a('0x17')][_0x2f5a('0x12')](_0x43fbf8=>_0x43fbf8))[_0x2f5a('0x21')]();}[_0x2f5a('0x24')](_0x12c89c){for(const _0x2aee49 of this[_0x2f5a('0x17')])_0x12c89c&&_0x12c89c['id']===_0x2aee49['id']?_0x2aee49[_0x2f5a('0x1f')]():_0x2aee49[_0x2f5a('0x10')]();}['highlightRevisions'](_0x2185de){for(const _0x5dff3e of this[_0x2f5a('0x17')])_0x2185de[_0x2f5a('0x11')](({id:_0x29e2bc})=>_0x29e2bc===_0x5dff3e['id'])?_0x5dff3e['highlight']():_0x5dff3e['unhighlight']();}[_0x2f5a('0x15')](_0x1195fe){const _0x3892ff=_0x46ef32(_0x1195fe[_0x2f5a('0x13')],this[_0x2f5a('0x6')]['uiLanguage'])[_0x2f5a('0xa')];let _0x5d96c6=this[_0x2f5a('0x20')][_0x2f5a('0x8')](0x0);_0x5d96c6&&_0x5d96c6['startDate']['getTime']()===_0x3892ff[_0x2f5a('0x3')]()||(_0x5d96c6=new _0x292962(this[_0x2f5a('0x6')],_0x3892ff,this['_revisionActions']),this['timePeriodViews'][_0x2f5a('0x23')](_0x5d96c6)),_0x5d96c6[_0x2f5a('0xf')](_0x1195fe);}[_0x2f5a('0x4')](_0x392f1e){const _0xf58c1c=_0x46ef32(_0x392f1e['createdAt'],this[_0x2f5a('0x6')][_0x2f5a('0x1c')])[_0x2f5a('0xa')];this[_0x2f5a('0xd')](_0xf58c1c)['removeRevision'](_0x392f1e);}['_getTimePeriodViewByStartDate'](_0x3eb660){return this['timePeriodViews'][_0x2f5a('0x1e')](_0x6dd832=>_0x6dd832[_0x2f5a('0xa')][_0x2f5a('0x3')]()===_0x3eb660[_0x2f5a('0x3')]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c4e=['monthLong','hasSame','day','minus','weekdayLong','local','startOf','fromJSDate','year','toJSDate','toRelativeCalendar','week','month'];(function(_0x4eef60,_0x3c4e77){const _0x5af71a=function(_0x254311){while(--_0x254311){_0x4eef60['push'](_0x4eef60['shift']());}};_0x5af71a(++_0x3c4e77);}(_0x3c4e,0x1af));const _0x5af7=function(_0x4eef60,_0x3c4e77){_0x4eef60=_0x4eef60-0x0;let _0x5af71a=_0x3c4e[_0x4eef60];return _0x5af71a;};import{DateTime as _0x37e84d}from'luxon';export function getDateTimePeriodInfo(_0x136d5d,_0x6d88d4){const _0x154245=_0x37e84d[_0x5af7('0x5')](_0x136d5d)['setLocale'](_0x6d88d4),_0x4840d3=_0x37e84d[_0x5af7('0x3')](),_0x30a1a0=_0x4840d3[_0x5af7('0x1')]({'days':0x1})[_0x5af7('0x4')](_0x5af7('0x0'));let _0x4054ee,_0x52dfa8;return _0x154245[_0x5af7('0xc')](_0x4840d3,'day')?(_0x4054ee=_0x154245['startOf'](_0x5af7('0x0'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x8')]()):_0x154245[_0x5af7('0xc')](_0x30a1a0,_0x5af7('0x0'))?(_0x4054ee=_0x30a1a0[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x8')]()):_0x154245[_0x5af7('0xc')](_0x4840d3,'week')?(_0x4054ee=_0x154245[_0x5af7('0x4')](_0x5af7('0x9'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0x2')]||''):_0x154245[_0x5af7('0xc')](_0x4840d3,_0x5af7('0x6'))?(_0x4054ee=_0x154245['startOf'](_0x5af7('0xa'))[_0x5af7('0x7')](),_0x52dfa8=_0x154245[_0x5af7('0xb')]||''):(_0x4054ee=_0x154245[_0x5af7('0x4')](_0x5af7('0x6'))[_0x5af7('0x7')](),_0x52dfa8=String(_0x154245[_0x5af7('0x6')])),{'startDate':_0x4054ee,'localizedPeriodName':_0x52dfa8};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5534=['Suggested\x20by','ck-revision-change__label','changeId','div','author','set','setTemplate','add','bindTemplate','type','isSuggestion','ck-annotation','data','ck-revision-change__','name','_model'];(function(_0x55e3b3,_0x5534f6){const _0x721e74=function(_0x498b0b){while(--_0x498b0b){_0x55e3b3['push'](_0x55e3b3['shift']());}};_0x721e74(++_0x5534f6);}(_0x5534,0x1cd));const _0x721e=function(_0x55e3b3,_0x5534f6){_0x55e3b3=_0x55e3b3-0x0;let _0x721e74=_0x5534[_0x55e3b3];return _0x721e74;};import{View as _0x19925b}from'ckeditor5/src/ui';import{getTranslation as _0x2747ef}from'../../utils/common-translations';export default class Z extends _0x19925b{constructor(_0x1f128e,_0x52415c){super(_0x1f128e),this[_0x721e('0x2')]=_0x52415c,this[_0x721e('0x5')]=_0x52415c['id'];const _0x1e73b1=this[_0x721e('0xb')],_0x2e81c4=_0x2747ef(_0x1f128e,_0x52415c[_0x721e('0xf')][_0x721e('0xd')]?_0x721e('0x3'):_0x721e('0xa')==_0x52415c[_0x721e('0xc')]?'Added\x20by':'Removed\x20by');this[_0x721e('0x8')](_0x721e('0xc'),_0x52415c['type']),this[_0x721e('0x9')]({'tag':_0x721e('0x6'),'attributes':{'class':[_0x721e('0xe'),'ck-revision-change',_0x1e73b1['to']('type',_0x15d370=>_0x721e('0x0')+_0x15d370)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':[_0x721e('0x4')]},'children':[{'text':_0x2e81c4}]},{'text':'\x20'+_0x52415c[_0x721e('0x7')][_0x721e('0x1')]}]}]});}['focus'](){this['element']['focus']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xed6c=['ck-revision-history-ui__changes-navigation__navigation','fire','_statusText','numberOfChanges','Show\x20next\x20change','div','set','Total','NUMBER_OF_CHANGES','Show\x20previous\x20change','No\x20changes','span','bind','forward','ck-revision-history-ui__changes-navigation','execute','X_OF_Y_CHANGES','isReady','currentChangeNumber','backward','ck-revision-history-ui','Loading...','EDIT_X_OF_Y_REVISIONS','ck-revision-history-ui__changes-navigation__wrapper','bindTemplate','isNavigationMode','isEnabled','isForwardNavigationEnabled','_isStatusLabelVisible'];(function(_0x1ec3cc,_0xed6cc8){const _0x279d3e=function(_0x222f5a){while(--_0x222f5a){_0x1ec3cc['push'](_0x1ec3cc['shift']());}};_0x279d3e(++_0xed6cc8);}(_0xed6c,0xe5));const _0x279d=function(_0x1ec3cc,_0xed6cc8){_0x1ec3cc=_0x1ec3cc-0x0;let _0x279d3e=_0xed6c[_0x1ec3cc];return _0x279d3e;};import{View as _0x4787f2,ButtonView as _0xb02393,ToolbarSeparatorView as _0x18630b}from'ckeditor5/src/ui';import{getTranslation as _0x5158bf}from'../../utils/common-translations';import _0x46dea1 from'../../../theme/icons/arrow-up.svg';import _0x2df9af from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x4787f2{constructor(_0x9b265){super(_0x9b265);const _0x50c772=this[_0x279d('0x1b')],_0x17ca0a=new _0xb02393(_0x9b265),_0xfbaa03=new _0xb02393(_0x9b265);this['set'](_0x279d('0x1c'),!0x1),this[_0x279d('0x9')]('isReady',!0x1),this[_0x279d('0x9')](_0x279d('0x15'),0x0),this[_0x279d('0x9')](_0x279d('0x6'),0x0),this[_0x279d('0x9')](_0x279d('0x1'),!0x1),this[_0x279d('0x9')]('isBackwardNavigationEnabled',!0x1),this[_0x279d('0xf')](_0x279d('0x2'))['to'](this,_0x279d('0x14'),this,_0x279d('0x6'),(_0x5f46aa,_0x2e732e)=>_0x5f46aa&&_0x2e732e>0x0),this[_0x279d('0xf')](_0x279d('0x5'))['to'](this,_0x279d('0x14'),this,_0x279d('0x15'),this,_0x279d('0x6'),this,_0x279d('0x1c'),(_0x53cbf4,_0x4bd9a8,_0xb39cc1,_0x4db830)=>{if(!_0x53cbf4)return _0x5158bf(_0x9b265,_0x279d('0x18'));if(!_0xb39cc1)return _0x5158bf(_0x9b265,_0x279d('0xd'));const _0x4861ed=_0x5158bf(_0x9b265,_0x279d('0xb'),_0xb39cc1);return _0x4db830?_0x5158bf(_0x9b265,_0x279d('0x13'),[_0x4bd9a8+0x1,_0xb39cc1]):_0x4861ed;}),_0x17ca0a['set']({'label':_0x5158bf(_0x9b265,_0x279d('0xc')),'tooltip':!0x0,'icon':_0x46dea1}),_0xfbaa03[_0x279d('0x9')]({'label':_0x5158bf(_0x9b265,_0x279d('0x7')),'tooltip':!0x0,'icon':_0x2df9af}),_0x17ca0a[_0x279d('0xf')](_0x279d('0x0'))['to'](this,'isBackwardNavigationEnabled'),_0xfbaa03[_0x279d('0xf')](_0x279d('0x0'))['to'](this,'isForwardNavigationEnabled'),_0x17ca0a['on']('execute',()=>this[_0x279d('0x4')](_0x279d('0x12'),_0x279d('0x16'))),_0xfbaa03['on'](_0x279d('0x12'),()=>this[_0x279d('0x4')](_0x279d('0x12'),_0x279d('0x10'))),this['setTemplate']({'tag':_0x279d('0x8'),'attributes':{'class':['ck',_0x279d('0x17'),_0x279d('0x11')]},'children':[{'tag':_0x279d('0xe'),'attributes':{'class':[_0x279d('0x1a')]},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x50c772['if'](_0x279d('0x2'),'ck-hidden',_0x3e89fc=>!_0x3e89fc)]},'children':[{'text':_0x50c772['to']('isNavigationMode',_0x3beda9=>_0x3beda9?_0x5158bf(_0x9b265,_0x279d('0x19'))+':\x20':_0x5158bf(_0x9b265,_0x279d('0xa'))+':\x20')}]},{'text':_0x50c772['to']('_statusText')}]},new _0x18630b(),{'tag':_0x279d('0x8'),'attributes':{'class':[_0x279d('0x3')]},'children':[_0x17ca0a,_0xfbaa03]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x451f=['change','editor','RevisionViewerLoadingOverlay','addClass','document','show','ck-editor__editable__loading-overlay','view','pluginName','editing','roots'];(function(_0x1330eb,_0x451f21){const _0x537b00=function(_0x3f6c88){while(--_0x3f6c88){_0x1330eb['push'](_0x1330eb['shift']());}};_0x537b00(++_0x451f21);}(_0x451f,0xb4));const _0x537b=function(_0x1330eb,_0x451f21){_0x1330eb=_0x1330eb-0x0;let _0x537b00=_0x451f[_0x1330eb];return _0x537b00;};import{Plugin as _0x320309}from'ckeditor5/src/core';const oe=_0x537b('0x2');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x320309{static get[_0x537b('0x4')](){return _0x537b('0x9');}[_0x537b('0x1')](){const _0x32ecdc=this[_0x537b('0x8')][_0x537b('0x5')][_0x537b('0x3')];_0x32ecdc['change'](_0x26576c=>{for(const _0x531dfa of _0x32ecdc[_0x537b('0x0')][_0x537b('0x6')])_0x26576c[_0x537b('0xa')](oe,_0x531dfa);});}['hide'](){const _0x289114=this[_0x537b('0x8')][_0x537b('0x5')][_0x537b('0x3')];_0x289114[_0x537b('0x7')](_0x131e5a=>{for(const _0x1ddfce of _0x289114[_0x537b('0x0')]['roots'])_0x131e5a['removeClass'](oe,_0x1ddfce);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x183e=['showPreviousChange','exitToEditing','revisionHistory','config','execute','restoreRevision','plugins','get','isEnabled','hide','closeRevisionViewerCallback','isNavigationMode','init','set','RevisionViewerUI','componentFactory','editor','bind','commands','show','pluginName','add','showNextChange','listenTo','Restore\x20this\x20revision','isBackwardNavigationEnabled','ck-revision-history-ui__back-to-editing','forward','change:isReady'];(function(_0x29d46f,_0x183e35){const _0x53129d=function(_0x17d6fe){while(--_0x17d6fe){_0x29d46f['push'](_0x29d46f['shift']());}};_0x53129d(++_0x183e35);}(_0x183e,0x113));const _0x5312=function(_0x29d46f,_0x183e35){_0x29d46f=_0x29d46f-0x0;let _0x53129d=_0x183e[_0x29d46f];return _0x53129d;};import{Plugin as _0x2a54da}from'ckeditor5/src/core';import{ButtonView as _0x3cf6e8}from'ckeditor5/src/ui';import _0x45b87f from'./changesnavigationview';import _0x603801 from'./../../revisionviewer';import _0x1e9c5e from'./revisionviewerloadingoverlay';import{getTranslation as _0x3b0d87}from'../../utils/common-translations';import _0x4d86cf from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x2a54da{static get[_0x5312('0x6')](){return _0x5312('0x0');}static get['requires'](){return[_0x603801,_0x1e9c5e];}[_0x5312('0x1b')](){const _0x342578=this[_0x5312('0x2')],_0xe5faa2=_0x342578[_0x5312('0x15')][_0x5312('0x16')](_0x603801),_0x4f28c8=_0x342578['plugins'][_0x5312('0x16')](_0x1e9c5e);_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')](_0x5312('0x10'),_0x594d1e=>{const _0x1e7952=new _0x3cf6e8(_0x594d1e);return _0x1e7952['set']({'label':_0x3b0d87(_0x594d1e,'Back\x20to\x20editing'),'icon':_0x4d86cf,'withText':!0x0,'tooltip':!0x0,'class':_0x5312('0xc')}),this['listenTo'](_0x1e7952,_0x5312('0x13'),()=>{_0x342578[_0x5312('0x12')]['get'](_0x5312('0x11'))[_0x5312('0x19')]();}),_0x1e7952;}),_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')](_0x5312('0x14'),_0x30f5d2=>{const _0x52540b=new _0x3cf6e8(_0x30f5d2);return _0x52540b[_0x5312('0x1c')]({'label':_0x3b0d87(_0x30f5d2,_0x5312('0xa')),'withText':!0x0,'tooltip':!0x0}),_0x52540b[_0x5312('0x3')](_0x5312('0x17'))['to'](_0x342578[_0x5312('0x4')][_0x5312('0x16')](_0x5312('0x14'))),this[_0x5312('0x9')](_0x52540b,_0x5312('0x13'),()=>_0x342578[_0x5312('0x13')](_0x5312('0x14'))),_0x52540b;}),_0x342578['ui'][_0x5312('0x1')][_0x5312('0x7')]('changesNavigation',_0x36f6d9=>{const _0x632b6a=new _0x45b87f(_0x36f6d9),_0x5efa98=_0x342578[_0x5312('0x4')][_0x5312('0x16')]('showPreviousChange'),_0x50f7b5=_0x342578['commands']['get'](_0x5312('0x8'));return _0x632b6a[_0x5312('0x3')](_0x5312('0xb'))['to'](_0x5efa98,_0x5312('0x17')),_0x632b6a[_0x5312('0x3')]('isForwardNavigationEnabled')['to'](_0x50f7b5,_0x5312('0x17')),_0x632b6a[_0x5312('0x3')]('isReady','currentChangeNumber','numberOfChanges',_0x5312('0x1a'))['to'](_0xe5faa2),this[_0x5312('0x9')](_0x632b6a,_0x5312('0x13'),(_0x53c2c1,_0x22b81f)=>{_0x342578[_0x5312('0x13')](_0x5312('0xd')===_0x22b81f?'showNextChange':_0x5312('0xf'));}),_0x632b6a;}),_0x4f28c8[_0x5312('0x5')](),_0xe5faa2['on'](_0x5312('0xe'),(_0x320497,_0x72a5b3,_0x27029d)=>{_0x27029d?_0x4f28c8[_0x5312('0x18')]():_0x4f28c8[_0x5312('0x5')]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4a1b88,_0x1e1641,_0x2e2ac0){const t=_0x4a1b88['t'];switch(_0x1e1641){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'},_0x2e2ac0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2e2ac0);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 _0x1e1641;}}
|