@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231027.0 → 0.0.0-nightly-20231028.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 _0x4a16=['_createButton','cancel','trim','extendTemplate','form','value','arrowright','cancelButtonView','stopPropagation','element','forEach','setTemplate','_focusCycler','set','execute','revisionNameInputView','shift\x20+\x20tab','ck-revision-history-save-revision-form','locale','220','focusTracker','arrowup','listenTo','keystrokes','saveButtonView','add','fieldView','tab','revisionNameInputValue','arrowleft','render','reset','Cancel','ck-responsive-form','focusFirst','ck-button-save','ck-button-cancel','delegate','input','label','revisionName','_focusables','focus','_createRevisionNameInput'];(function(_0x91433e,_0x4a1667){const _0xbe3eea=function(_0x3770fe){while(--_0x3770fe){_0x91433e['push'](_0x91433e['shift']());}};_0xbe3eea(++_0x4a1667);}(_0x4a16,0x8a));const _0xbe3e=function(_0x91433e,_0x4a1667){_0x91433e=_0x91433e-0x0;let _0xbe3eea=_0x4a16[_0x91433e];return _0xbe3eea;};import{icons as _0x50e45e}from'ckeditor5/src/core';import{ButtonView as _0x3c4b38,FocusCycler as _0x5539dd,LabeledFieldView as _0x1f0030,View as _0x2972a3,ViewCollection as _0x33308d,createLabeledInputText as _0x4b33de,injectCssTransitionDisabler as _0x4d919d,submitHandler as _0x31bb9c}from'ckeditor5/src/ui';import{FocusTracker as _0x17ce1e,KeystrokeHandler as _0x3b0110}from'ckeditor5/src/utils';import{getTranslation as _0x4b274e}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x2972a3{constructor(_0x3f8030){super(_0x3f8030),this[_0xbe3e('0xe')]=new _0x17ce1e(),this[_0xbe3e('0x11')]=new _0x3b0110(),this['set'](_0xbe3e('0x16'),''),this['revisionNameInputView']=this[_0xbe3e('0x25')](),this['saveButtonView']=this[_0xbe3e('0x26')](_0x4b274e(_0x3f8030,'Save'),_0x50e45e['check'],_0xbe3e('0x1d')),this['saveButtonView']['type']='submit',this[_0xbe3e('0x1')]=this['_createButton'](_0x4b274e(_0x3f8030,_0xbe3e('0x1a')),_0x50e45e[_0xbe3e('0x27')],_0xbe3e('0x1e'),_0xbe3e('0x27')),this[_0xbe3e('0x23')]=new _0x33308d(),this[_0xbe3e('0x6')]=new _0x5539dd({'focusables':this['_focusables'],'focusTracker':this[_0xbe3e('0xe')],'keystrokeHandler':this[_0xbe3e('0x11')],'actions':{'focusPrevious':_0xbe3e('0xa'),'focusNext':_0xbe3e('0x15')}}),this[_0xbe3e('0x5')]({'tag':_0xbe3e('0x2a'),'attributes':{'class':['ck',_0xbe3e('0xb'),_0xbe3e('0x1b')],'tabindex':'-1'},'children':[this[_0xbe3e('0x9')],this[_0xbe3e('0x12')],this[_0xbe3e('0x1')]]}),_0x4d919d(this);}[_0xbe3e('0x18')](){super[_0xbe3e('0x18')](),_0x31bb9c({'view':this}),([this['revisionNameInputView'],this[_0xbe3e('0x12')],this['cancelButtonView']][_0xbe3e('0x4')](_0x4cd1f1=>{this[_0xbe3e('0x23')]['add'](_0x4cd1f1),this[_0xbe3e('0xe')][_0xbe3e('0x13')](_0x4cd1f1[_0xbe3e('0x3')]);}),this['keystrokes'][_0xbe3e('0x10')](this['element']));const _0x250aea=_0x19fb95=>_0x19fb95[_0xbe3e('0x2')]();this[_0xbe3e('0x11')][_0xbe3e('0x7')](_0xbe3e('0x0'),_0x250aea),this[_0xbe3e('0x11')][_0xbe3e('0x7')](_0xbe3e('0x17'),_0x250aea),this[_0xbe3e('0x11')][_0xbe3e('0x7')](_0xbe3e('0xf'),_0x250aea),this[_0xbe3e('0x11')][_0xbe3e('0x7')]('arrowdown',_0x250aea);}[_0xbe3e('0x24')](){this['_focusCycler'][_0xbe3e('0x1c')]();}get[_0xbe3e('0x22')](){return this['revisionNameInputView']['fieldView'][_0xbe3e('0x3')][_0xbe3e('0x2b')][_0xbe3e('0x28')]();}set[_0xbe3e('0x22')](_0xc61dd3){this[_0xbe3e('0x9')][_0xbe3e('0x14')]['element'][_0xbe3e('0x2b')]=_0xc61dd3['trim']();}[_0xbe3e('0x19')](){this[_0xbe3e('0x9')]['fieldView'][_0xbe3e('0x3')][_0xbe3e('0x2b')]='';}[_0xbe3e('0x25')](){const _0x2bef30=new _0x1f0030(this[_0xbe3e('0xc')],_0x4b33de),_0x43f1ae=_0x2bef30[_0xbe3e('0x14')];return _0x43f1ae[_0xbe3e('0x29')]({'attributes':{'maxlength':_0xbe3e('0xd')}}),_0x2bef30[_0xbe3e('0x21')]=_0x4b274e(this[_0xbe3e('0xc')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x43f1ae['on'](_0xbe3e('0x20'),()=>{this[_0xbe3e('0x16')]=_0x43f1ae[_0xbe3e('0x3')]['value'][_0xbe3e('0x28')]();}),_0x2bef30;}['_createButton'](_0x37842d,_0x36b451,_0x3386e7,_0x365f90){const _0x57238c=new _0x3c4b38(this[_0xbe3e('0xc')]);return _0x57238c[_0xbe3e('0x7')]({'label':_0x37842d,'icon':_0x36b451,'tooltip':!0x0}),_0x57238c['extendTemplate']({'attributes':{'class':_0x3386e7}}),_0x365f90&&_0x57238c[_0xbe3e('0x1f')](_0xbe3e('0x8'))['to'](this,_0x365f90),_0x57238c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32ff=['editor','isReady','Revision\x20history','RevisionHistoryUI','isEnabled','RevisionTracker','cancel','buttonView','add','bind','editing','isOpen','remove','render','view','addMany','focus','init','saveButtonView','history','revisionName','pluginName','plugins','saveRevision','Save\x20current\x20revision','reset','panelView','isReadOnly','children','execute','set','length','get','items','requires','Open\x20revision\x20history'];(function(_0x409ede,_0x32ff2f){const _0x499c6d=function(_0x556e57){while(--_0x556e57){_0x409ede['push'](_0x409ede['shift']());}};_0x499c6d(++_0x32ff2f);}(_0x32ff,0x74));const _0x499c=function(_0x409ede,_0x32ff2f){_0x409ede=_0x409ede-0x0;let _0x499c6d=_0x32ff[_0x409ede];return _0x499c6d;};import{Plugin as _0x4d64b9,icons as _0x461a3f}from'ckeditor5/src/core';import{ListView as _0x2b3689,ListItemView as _0x4f1ef3,ButtonView as _0x16b860,createDropdown as _0x4c24d1}from'ckeditor5/src/ui';import _0x278a6f from'../../revisiontracker';import _0x4a6ff1 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x2e6a64}from'../../utils/common-translations';export default class u extends _0x4d64b9{static get[_0x499c('0xd')](){return _0x499c('0x1f');}static get[_0x499c('0x1a')](){return[_0x278a6f];}[_0x499c('0x9')](){const _0x66ef32=this[_0x499c('0x1c')],_0xf92265=_0x66ef32[_0x499c('0xe')][_0x499c('0x18')](_0x499c('0x21'));_0x66ef32['ui']['componentFactory'][_0x499c('0x0')]('revisionHistory',_0x25d5f5=>{const _0x19ca91=_0x4c24d1(_0x25d5f5),_0x516589=_0x19ca91[_0x499c('0x12')][_0x499c('0x14')],_0x570b96=new _0x2b3689(_0x25d5f5),_0x1b7b7c=new _0x4f1ef3(_0x25d5f5),_0x5dfda8=new _0x16b860(_0x25d5f5),_0x415412=new _0x4f1ef3(_0x25d5f5),_0x512d5=new _0x16b860(_0x25d5f5),_0x267521=new _0x4a6ff1(_0x25d5f5);function _0x2f3314(){_0x516589[_0x499c('0x17')]&&_0x516589[_0x499c('0x4')](0x0),_0x516589['add'](_0x570b96);}function _0x14fed8(){_0x19ca91[_0x499c('0x3')]=!0x1,_0x66ef32[_0x499c('0x2')][_0x499c('0x6')][_0x499c('0x8')]();}return _0x19ca91['bind']('isEnabled')['to'](_0xf92265,_0x499c('0x1d'),_0xf92265,'isEnabled',_0x66ef32,'isReadOnly',(_0x5bb4ed,_0x4cc57a,_0x564d65)=>_0x5bb4ed&&_0x4cc57a&&!_0x564d65),_0x19ca91[_0x499c('0x23')][_0x499c('0x16')]({'icon':_0x461a3f[_0x499c('0xb')],'label':_0x2e6a64(_0x25d5f5,_0x499c('0x1e')),'tooltip':!0x0}),_0x5dfda8['set']({'label':_0x2e6a64(_0x25d5f5,_0x499c('0x10')),'withText':!0x0}),_0x5dfda8[_0x499c('0x1')](_0x499c('0x20'))['to'](_0xf92265,'isReady',_0xf92265,_0x499c('0x20'),_0x66ef32,_0x499c('0x13'),(_0x3bdb6b,_0x366077,_0x24344f)=>_0x3bdb6b&&_0x366077&&!_0x24344f),_0x5dfda8['on'](_0x499c('0x15'),()=>function(){_0x516589[_0x499c('0x17')]&&_0x516589['remove'](0x0),(_0x267521[_0x499c('0x11')](),_0x516589[_0x499c('0x0')](_0x267521),_0x267521[_0x499c('0x8')]());}()),_0x512d5['set']({'label':_0x2e6a64(_0x25d5f5,_0x499c('0x1b')),'withText':!0x0}),_0x512d5['bind'](_0x499c('0x20'))['to'](_0xf92265,_0x499c('0x1d'),_0x66ef32,_0x499c('0x13'),(_0x525661,_0x19fe38)=>_0x525661&&!_0x19fe38),_0x512d5['on'](_0x499c('0x15'),()=>{_0x66ef32['config'][_0x499c('0x18')]('revisionHistory')['showRevisionViewerCallback'](),_0x14fed8();}),_0x1b7b7c[_0x499c('0x14')][_0x499c('0x0')](_0x5dfda8),_0x415412['children']['add'](_0x512d5),_0x570b96[_0x499c('0x19')][_0x499c('0x7')]([_0x1b7b7c,_0x415412]),_0x19ca91['on']('change:isOpen',()=>_0x2f3314()),_0x267521[_0x499c('0xa')]['bind'](_0x499c('0x20'))['to'](_0xf92265,_0x499c('0x1d'),_0xf92265,_0x499c('0x20'),_0x66ef32,_0x499c('0x13'),(_0x3bfc30,_0x2de5dd,_0x288782)=>_0x3bfc30&&_0x2de5dd&&!_0x288782),_0x267521['on']('submit',()=>(_0x66ef32[_0x499c('0xe')][_0x499c('0x18')](_0x278a6f)[_0x499c('0xf')]({'name':_0x267521[_0x499c('0xc')]}),void _0x14fed8())),_0x267521['on'](_0x499c('0x22'),()=>_0x2f3314()),_0x267521[_0x499c('0x5')](),_0x2f3314(),_0x19ca91;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1420=['name','change:diff','appendChild','getRevisionsInDiff','diff','selectRevision','_createRevisionActions','timePeriodViews','string','Compare\x20against\x20selected','getLaterVisibleRevision','init','revisionHistory.revisionActions','revisionHistory.viewerSidebarContainer','defaultRevisionActions','map','repository','_sidebarView','highlightRevisions','assign','ready','config','_handleRevisionSetName','availableRevisionActions','revisionSelected','action','locale','_revisionsRepository','isEnabled','requires','length','editor','getEarlierVisibleRevision','newRevisionId','element','compare','compareAgainstSelected','_handleEditorDataReady','_handleDiffChange','Restore\x20this\x20revision','_handleRevisionSelected','RevisionsSidebar','add','revisionHistory','destroy','isReady','getRevision','bind','_revisions','select','listenTo','nameRevision','restoreRevisionCallback','isVisible','focus','Name\x20this\x20revision','getIndex','restoreRevision','get','_revisionViewer','data'];(function(_0x55e7bc,_0x142041){const _0x4550df=function(_0x4f96ec){while(--_0x4f96ec){_0x55e7bc['push'](_0x55e7bc['shift']());}};_0x4550df(++_0x142041);}(_0x1420,0x1cd));const _0x4550=function(_0x55e7bc,_0x142041){_0x55e7bc=_0x55e7bc-0x0;let _0x4550df=_0x1420[_0x55e7bc];return _0x4550df;};import{Plugin as _0x554503}from'ckeditor5/src/core';import _0x3f2d4b from'./revisionssidebarview';import _0xcab2d4 from'../../revisionviewer';export default class w extends _0x554503{static get['pluginName'](){return _0x4550('0x7');}static get[_0x4550('0x38')](){return[_0xcab2d4];}constructor(_0x201a54){super(_0x201a54),this[_0x4550('0x19')]=_0x201a54['plugins'][_0x4550('0x18')](_0xcab2d4),this[_0x4550('0x36')]=this[_0x4550('0x19')]['repository'],this[_0x4550('0x2c')]=null;}[_0x4550('0x26')](){const _0x2f0e1e=this[_0x4550('0x36')][_0x4550('0xe')],_0x362e60=this['_createRevisionActions'](),_0x46bf82=this[_0x4550('0x3a')][_0x4550('0x30')][_0x4550('0x18')](_0x4550('0x28'));this[_0x4550('0x2c')]=new _0x3f2d4b(this[_0x4550('0x3a')][_0x4550('0x35')],_0x2f0e1e,_0x362e60),this[_0x4550('0x2c')]['on'](_0x4550('0x33'),this[_0x4550('0x6')][_0x4550('0xd')](this)),this[_0x4550('0x2c')]['on']('revisionSetName',this[_0x4550('0x31')][_0x4550('0xd')](this)),this[_0x4550('0x2c')][_0x4550('0xd')](_0x4550('0x37'))['to'](this[_0x4550('0x19')]),this['_sidebarView'][_0x4550('0x22')]['on'](_0x4550('0x8'),(_0x5584dc,_0x9ff48f)=>{_0x9ff48f['revisionViews']['on'](_0x4550('0x8'),(_0x2e7ae9,_0x3f9822)=>{_0x3f9822[_0x4550('0xd')]('isEnabled',_0x4550('0xb'))['to'](this['_revisionViewer']);});}),this[_0x4550('0x2c')]['render'](),this[_0x4550('0x10')](this['editor'][_0x4550('0x1a')],_0x4550('0x2f'),this[_0x4550('0x3')][_0x4550('0xd')](this)),this[_0x4550('0x10')](this[_0x4550('0x19')],_0x4550('0x1c'),this['_handleDiffChange'][_0x4550('0xd')](this)),_0x46bf82[_0x4550('0x1d')](this[_0x4550('0x2c')]['element']);}[_0x4550('0xa')](){this[_0x4550('0x2c')][_0x4550('0x0')]['remove'](),this[_0x4550('0x2c')]['destroy']();}[_0x4550('0x3')](){const _0x11826e=this[_0x4550('0x36')][_0x4550('0xc')](0x0);if(_0x11826e){const _0x4a2d31=this[_0x4550('0x36')]['getEarlierVisibleRevision'](_0x11826e['id']);this['_revisionViewer'][_0x4550('0x1')](_0x11826e,_0x4a2d31);}}[_0x4550('0x6')](_0x5f5481,_0x36f79e){const _0xce0565=this[_0x4550('0x36')]['getRevision'](_0x36f79e['id']),_0x1900ca=this[_0x4550('0x36')][_0x4550('0x3b')](_0xce0565['id']);this[_0x4550('0x19')][_0x4550('0x1')](_0xce0565,_0x1900ca);}[_0x4550('0x31')](_0xf2851a,_0x4e4b05){this[_0x4550('0x36')]['getRevision'](_0x4e4b05['id'])['setName'](_0x4e4b05[_0x4550('0x1b')]);}[_0x4550('0x4')](_0x38a3a7,_0x4908fe,_0x2ed99e){const _0x363e26=this[_0x4550('0x36')][_0x4550('0x1e')](_0x2ed99e);_0x363e26[_0x4550('0x39')]>0x2?(this[_0x4550('0x2c')][_0x4550('0x2d')](_0x363e26),this[_0x4550('0x2c')][_0x4550('0x20')](null)):(this[_0x4550('0x2c')][_0x4550('0x2d')]([]),this[_0x4550('0x2c')][_0x4550('0x20')](_0x363e26[0x0]));}[_0x4550('0x21')](){const _0x57f8f4=this[_0x4550('0x3a')],_0x15832b=w[_0x4550('0x32')],_0x2e0936=_0x57f8f4['config']['get'](_0x4550('0x27'))||w[_0x4550('0x29')];if(_0x2e0936['length'])return _0x2e0936[_0x4550('0x2a')](_0x3c52a6=>{const _0x2e1454=_0x4550('0x23')==typeof _0x3c52a6?Object[_0x4550('0x2e')]({},_0x15832b[_0x3c52a6]):_0x3c52a6;return _0x2e1454[_0x4550('0x34')]=_0x2e1454[_0x4550('0x34')]['bind'](this,_0x57f8f4),_0x2e1454[_0x4550('0x13')]&&(_0x2e1454[_0x4550('0x13')]=_0x2e1454[_0x4550('0x13')][_0x4550('0xd')](this,_0x57f8f4)),_0x2e1454;});}}w[_0x4550('0x32')]={'compareAgainstSelected':{'name':_0x4550('0x24'),'action':({plugins:_0x366b6f},_0x4621d6)=>{const _0xfb847e=_0x366b6f['get'](_0xcab2d4),_0x1678d0=_0xfb847e[_0x4550('0x2b')];let _0x3a5977=_0xfb847e[_0x4550('0x1f')][_0x4550('0x3c')],_0xf6d1d9=_0x4621d6['id'];_0x1678d0['getIndex'](_0x3a5977)>_0x1678d0[_0x4550('0x16')](_0xf6d1d9)&&([_0x3a5977,_0xf6d1d9]=[_0xf6d1d9,_0x3a5977]),_0xfb847e['compare'](_0x3a5977,_0xf6d1d9);},'isVisible':({plugins:_0x3c9a12},_0x1fa921)=>{const _0x3f370b=_0x3c9a12[_0x4550('0x18')](_0xcab2d4);return!(_0x3f370b[_0x4550('0x2b')][_0x4550('0x1e')](_0x3f370b[_0x4550('0x1f')])['length']>0x2)&&!_0x1fa921['isSelected'];}},'restoreRevision':{'name':_0x4550('0x5'),'action':(_0x3d604f,{id:_0x256a40})=>{_0x3d604f[_0x4550('0x30')][_0x4550('0x18')](_0x4550('0x9'))[_0x4550('0x12')](_0x256a40);},'isVisible':({plugins:_0x23e0fe},_0x11aeea)=>!!_0x23e0fe['get'](_0xcab2d4)[_0x4550('0x2b')][_0x4550('0x25')](_0x11aeea['id'])},'nameRevision':{'name':_0x4550('0x15'),'action':({plugins:_0x4045c0},{id:_0x3b6f50,revisionNameView:_0x2f37e6})=>{const _0x25e3f7=_0x4045c0['get'](_0xcab2d4),_0x12aec8=_0x25e3f7[_0x4550('0x2b')][_0x4550('0x3b')](_0x3b6f50);_0x25e3f7['compare'](_0x3b6f50,_0x12aec8),_0x2f37e6[_0x4550('0x14')](),_0x2f37e6['fieldView'][_0x4550('0xf')]();}}},w[_0x4550('0x29')]=[_0x4550('0x2'),_0x4550('0x17'),_0x4550('0x11')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x77ff=['setTemplate','history','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header','content','Revision\x20history','div','span'];(function(_0x25589d,_0x77ff53){const _0x1f9bc9=function(_0x3103c0){while(--_0x3103c0){_0x25589d['push'](_0x25589d['shift']());}};_0x1f9bc9(++_0x77ff53);}(_0x77ff,0x6d));const _0x1f9b=function(_0x25589d,_0x77ff53){_0x25589d=_0x25589d-0x0;let _0x1f9bc9=_0x77ff[_0x25589d];return _0x1f9bc9;};import{View as _0x1dad62,IconView as _0x12c2dc}from'ckeditor5/src/ui';import{getTranslation as _0x3b39f1}from'../../utils/common-translations';import{icons as _0x4b4b27}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x1dad62{constructor(_0xa03eab){super(_0xa03eab);const _0x192c4e=new _0x12c2dc();_0x192c4e[_0x1f9b('0x7')]=_0x4b4b27[_0x1f9b('0x4')],this[_0x1f9b('0x3')]({'tag':_0x1f9b('0x1'),'attributes':{'class':['ck','ck-reset_all',_0x1f9b('0x6')]},'children':[_0x192c4e,{'tag':_0x1f9b('0x2'),'attributes':{'class':['ck',_0x1f9b('0x5')]},'children':[_0x3b39f1(_0xa03eab,_0x1f9b('0x0'))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1955=['localizedPeriodName','setTemplate','select','ck-revision-history-sidebar__time-period','locale','revisionViews','ck-revision-history-sidebar__time-period__label','add','startDate','_revisionActions','createCollection','delegate','div','uiLanguage','addRevision','removeRevision','find'];(function(_0x43d53f,_0x195555){const _0x526704=function(_0x39051f){while(--_0x39051f){_0x43d53f['push'](_0x43d53f['shift']());}};_0x526704(++_0x195555);}(_0x1955,0x181));const _0x5267=function(_0x43d53f,_0x195555){_0x43d53f=_0x43d53f-0x0;let _0x526704=_0x1955[_0x43d53f];return _0x526704;};import{View as _0x138115}from'ckeditor5/src/ui';import _0x27234e from'../revision/revisionview';import{getDateTimePeriodInfo as _0x164f93}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x138115{constructor(_0x28891a,_0x44a0ec,_0x20b8a8){super(_0x28891a);const _0x3fd01d=_0x164f93(_0x44a0ec,this[_0x5267('0xa')][_0x5267('0x2')])[_0x5267('0x6')];this[_0x5267('0xe')]=_0x44a0ec,this[_0x5267('0xb')]=this[_0x5267('0x10')](),this[_0x5267('0xf')]=_0x20b8a8,this['revisionViews'][_0x5267('0x0')](_0x5267('0x8'))['to'](this),this['revisionViews'][_0x5267('0x0')]('setName')['to'](this),this[_0x5267('0x7')]({'tag':_0x5267('0x1'),'attributes':{'class':['ck',_0x5267('0x9')]},'children':[{'tag':'span','attributes':{'class':['ck',_0x5267('0xc')]},'children':[{'text':_0x3fd01d}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}[_0x5267('0x3')](_0x38e9f3){const _0x3e408b=new _0x27234e(this[_0x5267('0xa')],_0x38e9f3,this[_0x5267('0xf')]);this[_0x5267('0xb')][_0x5267('0xd')](_0x3e408b);}[_0x5267('0x4')](_0x44f48a){const _0x3f4faf=this[_0x5267('0xb')][_0x5267('0x5')](_0x380301=>_0x380301['id']===_0x44f48a['id']);this[_0x5267('0xb')]['remove'](_0x3f4faf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5dc0=['_addRevision','div','getTime','_getTimePeriodViewByStartDate','some','add','deselect','fire','createCollection','ck-revision-history-sidebar','_removeRevision','setTemplate','selectRevision','ck-revision-history-sidebar__timeline','get','_revisions','bindTemplate','_revisionActions','find','flat','delegate','map','isEnabled','render','timePeriodViews','revisionSetName','highlightRevisions','createdAt','highlight','ck-rounded-corners','ck-reset','startDate','select','unhighlight','uiLanguage','locale','revisionViews','addRevision','setName'];(function(_0x24cb41,_0x5dc045){const _0x1c6f1a=function(_0x1ff78d){while(--_0x1ff78d){_0x24cb41['push'](_0x24cb41['shift']());}};_0x1c6f1a(++_0x5dc045);}(_0x5dc0,0xfe));const _0x1c6f=function(_0x24cb41,_0x5dc045){_0x24cb41=_0x24cb41-0x0;let _0x1c6f1a=_0x5dc0[_0x24cb41];return _0x1c6f1a;};import{View as _0x3cead0}from'ckeditor5/src/ui';import _0x53f611 from'./revisionssidebartimeperiodview';import _0x534ed2 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x469916}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x3cead0{constructor(_0x4e82f3,_0x14d029,_0x43badf){super(_0x4e82f3);const _0x1be9ec=this[_0x1c6f('0x23')];this[_0x1c6f('0x4')]=this[_0x1c6f('0x1b')](),this[_0x1c6f('0x4')][_0x1c6f('0x0')]('select')['to'](this),this['timePeriodViews']['delegate'](_0x1c6f('0x12'))['to'](this),this['_revisions']=_0x14d029,this[_0x1c6f('0x24')]=_0x43badf,this['on'](_0x1c6f('0xc'),(_0x5e8c4e,_0x41ebad)=>{this[_0x1c6f('0x1a')]('revisionSelected',_0x41ebad);}),this['on'](_0x1c6f('0x12'),(_0x43319c,_0x509d12)=>{this[_0x1c6f('0x1a')](_0x1c6f('0x5'),_0x509d12);}),this['set'](_0x1c6f('0x2'),!0x1),this[_0x1c6f('0x1e')]({'tag':_0x1c6f('0x14'),'attributes':{'class':['ck',_0x1c6f('0xa'),_0x1c6f('0x9'),_0x1c6f('0x1c')]},'children':[new _0x534ed2(_0x4e82f3),{'tag':_0x1c6f('0x14'),'attributes':{'class':['ck',_0x1c6f('0x20'),_0x1be9ec['if']('isEnabled','ck-disabled',_0x205e84=>!_0x205e84)]},'children':this[_0x1c6f('0x4')]}]});}[_0x1c6f('0x3')](){super['render']();for(const _0x308241 of this['_revisions'])this['_addRevision'](_0x308241);this[_0x1c6f('0x22')]['on'](_0x1c6f('0x18'),(_0x270063,_0x2a9ca1)=>{this[_0x1c6f('0x13')](_0x2a9ca1);}),this[_0x1c6f('0x22')]['on']('remove',(_0x578d34,_0x4dcc17)=>{this['_removeRevision'](_0x4dcc17);});}get[_0x1c6f('0x10')](){return this[_0x1c6f('0x4')][_0x1c6f('0x1')](_0x1d50c3=>_0x1d50c3['revisionViews'][_0x1c6f('0x1')](_0x295292=>_0x295292))[_0x1c6f('0x26')]();}[_0x1c6f('0x1f')](_0x19fc07){for(const _0x38d962 of this[_0x1c6f('0x10')])_0x19fc07&&_0x19fc07['id']===_0x38d962['id']?_0x38d962['select']():_0x38d962[_0x1c6f('0x19')]();}[_0x1c6f('0x6')](_0x339de8){for(const _0x383675 of this['revisionViews'])_0x339de8[_0x1c6f('0x17')](({id:_0x46097f})=>_0x46097f===_0x383675['id'])?_0x383675[_0x1c6f('0x8')]():_0x383675[_0x1c6f('0xd')]();}[_0x1c6f('0x13')](_0x17e431){const _0x4a491c=_0x469916(_0x17e431[_0x1c6f('0x7')],this[_0x1c6f('0xf')]['uiLanguage'])[_0x1c6f('0xb')];let _0x30982a=this[_0x1c6f('0x4')][_0x1c6f('0x21')](0x0);_0x30982a&&_0x30982a[_0x1c6f('0xb')]['getTime']()===_0x4a491c[_0x1c6f('0x15')]()||(_0x30982a=new _0x53f611(this[_0x1c6f('0xf')],_0x4a491c,this['_revisionActions']),this[_0x1c6f('0x4')][_0x1c6f('0x18')](_0x30982a)),_0x30982a[_0x1c6f('0x11')](_0x17e431);}[_0x1c6f('0x1d')](_0x2f8cc2){const _0x2c949e=_0x469916(_0x2f8cc2[_0x1c6f('0x7')],this[_0x1c6f('0xf')][_0x1c6f('0xe')])['startDate'];this[_0x1c6f('0x16')](_0x2c949e)['removeRevision'](_0x2f8cc2);}[_0x1c6f('0x16')](_0x39caae){return this[_0x1c6f('0x4')][_0x1c6f('0x25')](_0xc85a9b=>_0xc85a9b[_0x1c6f('0xb')][_0x1c6f('0x15')]()===_0x39caae[_0x1c6f('0x15')]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a1f=['hasSame','toRelativeCalendar','month','fromJSDate','day','minus','toJSDate','week','local','weekdayLong','year','setLocale','startOf'];(function(_0x1c2491,_0x4a1fc5){const _0x26909c=function(_0x2e94ab){while(--_0x2e94ab){_0x1c2491['push'](_0x1c2491['shift']());}};_0x26909c(++_0x4a1fc5);}(_0x4a1f,0xda));const _0x2690=function(_0x1c2491,_0x4a1fc5){_0x1c2491=_0x1c2491-0x0;let _0x26909c=_0x4a1f[_0x1c2491];return _0x26909c;};import{DateTime as _0x131370}from'luxon';export function getDateTimePeriodInfo(_0xf5a601,_0x10d44b){const _0x5c3c79=_0x131370[_0x2690('0x6')](_0xf5a601)[_0x2690('0x1')](_0x10d44b),_0x448bbb=_0x131370[_0x2690('0xb')](),_0x433230=_0x448bbb[_0x2690('0x8')]({'days':0x1})[_0x2690('0x2')](_0x2690('0x7'));let _0x3e0eb0,_0x11182d;return _0x5c3c79['hasSame'](_0x448bbb,_0x2690('0x7'))?(_0x3e0eb0=_0x5c3c79[_0x2690('0x2')](_0x2690('0x7'))['toJSDate'](),_0x11182d=_0x5c3c79[_0x2690('0x4')]()):_0x5c3c79[_0x2690('0x3')](_0x433230,_0x2690('0x7'))?(_0x3e0eb0=_0x433230[_0x2690('0x9')](),_0x11182d=_0x5c3c79[_0x2690('0x4')]()):_0x5c3c79[_0x2690('0x3')](_0x448bbb,_0x2690('0xa'))?(_0x3e0eb0=_0x5c3c79[_0x2690('0x2')](_0x2690('0xa'))[_0x2690('0x9')](),_0x11182d=_0x5c3c79[_0x2690('0xc')]||''):_0x5c3c79[_0x2690('0x3')](_0x448bbb,_0x2690('0x0'))?(_0x3e0eb0=_0x5c3c79['startOf'](_0x2690('0x5'))['toJSDate'](),_0x11182d=_0x5c3c79['monthLong']||''):(_0x3e0eb0=_0x5c3c79[_0x2690('0x2')](_0x2690('0x0'))['toJSDate'](),_0x11182d=String(_0x5c3c79[_0x2690('0x0')])),{'startDate':_0x3e0eb0,'localizedPeriodName':_0x11182d};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42c3=['name','changeId','type','span','ck-annotation','bindTemplate','set','setTemplate','ck-revision-change__label','Removed\x20by','element','Added\x20by','_model','add','focus','isSuggestion','Suggested\x20by','author'];(function(_0x4c957a,_0x42c34d){const _0x4b43eb=function(_0x55fedd){while(--_0x55fedd){_0x4c957a['push'](_0x4c957a['shift']());}};_0x4b43eb(++_0x42c34d);}(_0x42c3,0x1a6));const _0x4b43=function(_0x4c957a,_0x42c34d){_0x4c957a=_0x4c957a-0x0;let _0x4b43eb=_0x42c3[_0x4c957a];return _0x4b43eb;};import{View as _0x1a5452}from'ckeditor5/src/ui';import{getTranslation as _0x437738}from'../../utils/common-translations';export default class Z extends _0x1a5452{constructor(_0x1fc80b,_0x58fc68){super(_0x1fc80b),this[_0x4b43('0x4')]=_0x58fc68,this[_0x4b43('0xb')]=_0x58fc68['id'];const _0x3caf14=this[_0x4b43('0xf')],_0xe57a35=_0x437738(_0x1fc80b,_0x58fc68['data'][_0x4b43('0x7')]?_0x4b43('0x8'):_0x4b43('0x5')==_0x58fc68[_0x4b43('0xc')]?_0x4b43('0x3'):_0x4b43('0x1'));this[_0x4b43('0x10')](_0x4b43('0xc'),_0x58fc68[_0x4b43('0xc')]),this[_0x4b43('0x11')]({'tag':'div','attributes':{'class':[_0x4b43('0xe'),'ck-revision-change',_0x3caf14['to'](_0x4b43('0xc'),_0x587319=>'ck-revision-change__'+_0x587319)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':_0x4b43('0xd'),'attributes':{'class':[_0x4b43('0x0')]},'children':[{'text':_0xe57a35}]},{'text':'\x20'+_0x58fc68[_0x4b43('0x9')][_0x4b43('0xa')]}]}]});}[_0x4b43('0x6')](){this[_0x4b43('0x2')][_0x4b43('0x6')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f2f=['ck-revision-history-ui','bind','isForwardNavigationEnabled','isBackwardNavigationEnabled','isReady','numberOfChanges','Total','ck-hidden','currentChangeNumber','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','ck-revision-history-ui__changes-navigation__wrapper','forward','No\x20changes','Show\x20previous\x20change','set','div','fire','EDIT_X_OF_Y_REVISIONS','span','ck-revision-history-ui__changes-navigation__label','_statusText','isNavigationMode','backward','execute','X_OF_Y_CHANGES','setTemplate','_isStatusLabelVisible'];(function(_0x14b52f,_0x2f2f9e){const _0xebf9be=function(_0x3b5970){while(--_0x3b5970){_0x14b52f['push'](_0x14b52f['shift']());}};_0xebf9be(++_0x2f2f9e);}(_0x2f2f,0xbb));const _0xebf9=function(_0x14b52f,_0x2f2f9e){_0x14b52f=_0x14b52f-0x0;let _0xebf9be=_0x2f2f[_0x14b52f];return _0xebf9be;};import{View as _0x3605e0,ButtonView as _0x1f9a53,ToolbarSeparatorView as _0x59e7b8}from'ckeditor5/src/ui';import{getTranslation as _0x389774}from'../../utils/common-translations';import _0x1fa4ec from'../../../theme/icons/arrow-up.svg';import _0x2c8437 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x3605e0{constructor(_0x348f53){super(_0x348f53);const _0x39958f=this[_0xebf9('0x13')],_0x5f1654=new _0x1f9a53(_0x348f53),_0x574f9e=new _0x1f9a53(_0x348f53);this[_0xebf9('0x18')](_0xebf9('0x3'),!0x1),this['set'](_0xebf9('0xd'),!0x1),this[_0xebf9('0x18')](_0xebf9('0x11'),0x0),this[_0xebf9('0x18')](_0xebf9('0xe'),0x0),this['set'](_0xebf9('0xb'),!0x1),this[_0xebf9('0x18')](_0xebf9('0xc'),!0x1),this[_0xebf9('0xa')](_0xebf9('0x8'))['to'](this,'isReady',this,'numberOfChanges',(_0x384f77,_0x267499)=>_0x384f77&&_0x267499>0x0),this['bind'](_0xebf9('0x2'))['to'](this,_0xebf9('0xd'),this,'currentChangeNumber',this,_0xebf9('0xe'),this,_0xebf9('0x3'),(_0x4c8217,_0x59ff6d,_0x29157a,_0x291faa)=>{if(!_0x4c8217)return _0x389774(_0x348f53,'Loading...');if(!_0x29157a)return _0x389774(_0x348f53,_0xebf9('0x16'));const _0x5fbce0=_0x389774(_0x348f53,'NUMBER_OF_CHANGES',_0x29157a);return _0x291faa?_0x389774(_0x348f53,_0xebf9('0x6'),[_0x59ff6d+0x1,_0x29157a]):_0x5fbce0;}),_0x5f1654[_0xebf9('0x18')]({'label':_0x389774(_0x348f53,_0xebf9('0x17')),'tooltip':!0x0,'icon':_0x1fa4ec}),_0x574f9e[_0xebf9('0x18')]({'label':_0x389774(_0x348f53,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x2c8437}),_0x5f1654[_0xebf9('0xa')]('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x574f9e[_0xebf9('0xa')]('isEnabled')['to'](this,_0xebf9('0xb')),_0x5f1654['on'](_0xebf9('0x5'),()=>this[_0xebf9('0x1a')](_0xebf9('0x5'),_0xebf9('0x4'))),_0x574f9e['on']('execute',()=>this[_0xebf9('0x1a')]('execute',_0xebf9('0x15'))),this[_0xebf9('0x7')]({'tag':_0xebf9('0x19'),'attributes':{'class':['ck',_0xebf9('0x9'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0xebf9('0x0'),'attributes':{'class':[_0xebf9('0x14')]},'children':[{'tag':_0xebf9('0x0'),'attributes':{'class':[_0xebf9('0x1'),_0x39958f['if']('_isStatusLabelVisible',_0xebf9('0x10'),_0x543352=>!_0x543352)]},'children':[{'text':_0x39958f['to'](_0xebf9('0x3'),_0x359352=>_0x359352?_0x389774(_0x348f53,_0xebf9('0x1b'))+':\x20':_0x389774(_0x348f53,_0xebf9('0xf'))+':\x20')}]},{'text':_0x39958f['to'](_0xebf9('0x2'))}]},new _0x59e7b8(),{'tag':_0xebf9('0x19'),'attributes':{'class':[_0xebf9('0x12')]},'children':[_0x5f1654,_0x574f9e]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1df1=['change','editing','pluginName','editor','document','hide','show','roots','RevisionViewerLoadingOverlay','removeClass','view'];(function(_0x543b07,_0x1df15e){const _0x215acc=function(_0x2db095){while(--_0x2db095){_0x543b07['push'](_0x543b07['shift']());}};_0x215acc(++_0x1df15e);}(_0x1df1,0x1c6));const _0x215a=function(_0x543b07,_0x1df15e){_0x543b07=_0x543b07-0x0;let _0x215acc=_0x1df1[_0x543b07];return _0x215acc;};import{Plugin as _0x44e9d1}from'ckeditor5/src/core';const oe='ck-editor__editable__loading-overlay';import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x44e9d1{static get[_0x215a('0xa')](){return _0x215a('0x5');}[_0x215a('0x3')](){const _0x2c5c99=this[_0x215a('0x0')]['editing'][_0x215a('0x7')];_0x2c5c99[_0x215a('0x8')](_0x308a20=>{for(const _0x4b9c1c of _0x2c5c99[_0x215a('0x1')][_0x215a('0x4')])_0x308a20['addClass'](oe,_0x4b9c1c);});}[_0x215a('0x2')](){const _0xfc442f=this['editor'][_0x215a('0x9')][_0x215a('0x7')];_0xfc442f[_0x215a('0x8')](_0x136d58=>{for(const _0x3a6fd4 of _0xfc442f[_0x215a('0x1')][_0x215a('0x4')])_0x136d58[_0x215a('0x6')](oe,_0x3a6fd4);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dd0=['revisionHistory','isBackwardNavigationEnabled','showPreviousChange','isEnabled','RevisionViewerUI','isReady','changesNavigation','execute','show','exitToEditing','commands','Restore\x20this\x20revision','set','get','componentFactory','plugins','isForwardNavigationEnabled','Back\x20to\x20editing','currentChangeNumber','showNextChange','init','listenTo','bind','forward','add','restoreRevision','config'];(function(_0x2b9505,_0x4dd0c3){const _0x5d09c6=function(_0x347a5b){while(--_0x347a5b){_0x2b9505['push'](_0x2b9505['shift']());}};_0x5d09c6(++_0x4dd0c3);}(_0x4dd0,0x6f));const _0x5d09=function(_0x2b9505,_0x4dd0c3){_0x2b9505=_0x2b9505-0x0;let _0x5d09c6=_0x4dd0[_0x2b9505];return _0x5d09c6;};import{Plugin as _0xe287b1}from'ckeditor5/src/core';import{ButtonView as _0x11d859}from'ckeditor5/src/ui';import _0x4999f6 from'./changesnavigationview';import _0x34dece from'./../../revisionviewer';import _0x2e5f71 from'./revisionviewerloadingoverlay';import{getTranslation as _0x201037}from'../../utils/common-translations';import _0x538cea from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0xe287b1{static get['pluginName'](){return _0x5d09('0x1');}static get['requires'](){return[_0x34dece,_0x2e5f71];}[_0x5d09('0x11')](){const _0x36b193=this['editor'],_0x344628=_0x36b193[_0x5d09('0xc')][_0x5d09('0xa')](_0x34dece),_0x34aeff=_0x36b193[_0x5d09('0xc')][_0x5d09('0xa')](_0x2e5f71);_0x36b193['ui'][_0x5d09('0xb')][_0x5d09('0x15')](_0x5d09('0x6'),_0x27efb3=>{const _0x26099b=new _0x11d859(_0x27efb3);return _0x26099b[_0x5d09('0x9')]({'label':_0x201037(_0x27efb3,_0x5d09('0xe')),'icon':_0x538cea,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x5d09('0x12')](_0x26099b,_0x5d09('0x4'),()=>{_0x36b193[_0x5d09('0x17')][_0x5d09('0xa')](_0x5d09('0x18'))['closeRevisionViewerCallback']();}),_0x26099b;}),_0x36b193['ui']['componentFactory'][_0x5d09('0x15')](_0x5d09('0x16'),_0x2b1cb6=>{const _0x1ebef6=new _0x11d859(_0x2b1cb6);return _0x1ebef6[_0x5d09('0x9')]({'label':_0x201037(_0x2b1cb6,_0x5d09('0x8')),'withText':!0x0,'tooltip':!0x0}),_0x1ebef6[_0x5d09('0x13')](_0x5d09('0x0'))['to'](_0x36b193[_0x5d09('0x7')][_0x5d09('0xa')]('restoreRevision')),this[_0x5d09('0x12')](_0x1ebef6,'execute',()=>_0x36b193[_0x5d09('0x4')](_0x5d09('0x16'))),_0x1ebef6;}),_0x36b193['ui'][_0x5d09('0xb')]['add'](_0x5d09('0x3'),_0x428407=>{const _0x5736e8=new _0x4999f6(_0x428407),_0x24c75e=_0x36b193[_0x5d09('0x7')][_0x5d09('0xa')](_0x5d09('0x1a')),_0x2ef9d8=_0x36b193[_0x5d09('0x7')][_0x5d09('0xa')](_0x5d09('0x10'));return _0x5736e8[_0x5d09('0x13')](_0x5d09('0x19'))['to'](_0x24c75e,'isEnabled'),_0x5736e8[_0x5d09('0x13')](_0x5d09('0xd'))['to'](_0x2ef9d8,'isEnabled'),_0x5736e8['bind'](_0x5d09('0x2'),_0x5d09('0xf'),'numberOfChanges','isNavigationMode')['to'](_0x344628),this[_0x5d09('0x12')](_0x5736e8,_0x5d09('0x4'),(_0x2bf38c,_0x3447aa)=>{_0x36b193[_0x5d09('0x4')](_0x5d09('0x14')===_0x3447aa?_0x5d09('0x10'):_0x5d09('0x1a'));}),_0x5736e8;}),_0x34aeff[_0x5d09('0x5')](),_0x344628['on']('change:isReady',(_0x46e91a,_0xc295a2,_0x3f947e)=>{_0x3f947e?_0x34aeff['hide']():_0x34aeff[_0x5d09('0x5')]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x51adc5,_0x295443,_0x1fb004){const t=_0x51adc5['t'];switch(_0x295443){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'},_0x1fb004);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1fb004);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 _0x295443;}}
|