@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.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 _0x331e=['stopPropagation','locale','reset','saveButtonView','_focusables','ck-button-cancel','cancelButtonView','revisionNameInputView','render','element','arrowup','setTemplate','extendTemplate','submit','trim','fieldView','add','set','type','revisionName','_createRevisionNameInput','value','form','cancel','listenTo','focus','revisionNameInputValue','delegate','Cancel','arrowleft','ck-button-save','arrowdown','focusTracker','220','input','shift\x20+\x20tab','arrowright','Name\x20of\x20the\x20revision\x20(optional)','_focusCycler','tab','ck-revision-history-save-revision-form','keystrokes','_createButton'];(function(_0x33839e,_0x331e1d){const _0x176659=function(_0xd80c8f){while(--_0xd80c8f){_0x33839e['push'](_0x33839e['shift']());}};_0x176659(++_0x331e1d);}(_0x331e,0x13c));const _0x1766=function(_0x33839e,_0x331e1d){_0x33839e=_0x33839e-0x0;let _0x176659=_0x331e[_0x33839e];return _0x176659;};import{icons as _0x2a09ff}from'ckeditor5/src/core';import{ButtonView as _0x52fce8,FocusCycler as _0x4ffab1,LabeledFieldView as _0x2f7625,View as _0xa40eb4,ViewCollection as _0x36c622,createLabeledInputText as _0x2325c4,injectCssTransitionDisabler as _0x3a953f,submitHandler as _0x5c7451}from'ckeditor5/src/ui';import{FocusTracker as _0xa21a94,KeystrokeHandler as _0xe314a4}from'ckeditor5/src/utils';import{getTranslation as _0x515c36}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0xa40eb4{constructor(_0x26a573){super(_0x26a573),this[_0x1766('0x11')]=new _0xa21a94(),this[_0x1766('0x1a')]=new _0xe314a4(),this[_0x1766('0x2')]('revisionNameInputValue',''),this[_0x1766('0x23')]=this[_0x1766('0x5')](),this[_0x1766('0x1f')]=this[_0x1766('0x1b')](_0x515c36(_0x26a573,'Save'),_0x2a09ff['check'],_0x1766('0xf')),this[_0x1766('0x1f')][_0x1766('0x3')]=_0x1766('0x29'),this[_0x1766('0x22')]=this['_createButton'](_0x515c36(_0x26a573,_0x1766('0xd')),_0x2a09ff[_0x1766('0x8')],_0x1766('0x21'),_0x1766('0x8')),this['_focusables']=new _0x36c622(),this[_0x1766('0x17')]=new _0x4ffab1({'focusables':this['_focusables'],'focusTracker':this[_0x1766('0x11')],'keystrokeHandler':this[_0x1766('0x1a')],'actions':{'focusPrevious':_0x1766('0x14'),'focusNext':_0x1766('0x18')}}),this[_0x1766('0x27')]({'tag':_0x1766('0x7'),'attributes':{'class':['ck',_0x1766('0x19'),'ck-responsive-form'],'tabindex':'-1'},'children':[this[_0x1766('0x23')],this['saveButtonView'],this['cancelButtonView']]}),_0x3a953f(this);}[_0x1766('0x24')](){super[_0x1766('0x24')](),_0x5c7451({'view':this}),([this['revisionNameInputView'],this[_0x1766('0x1f')],this[_0x1766('0x22')]]['forEach'](_0x4a59c3=>{this[_0x1766('0x20')][_0x1766('0x1')](_0x4a59c3),this['focusTracker'][_0x1766('0x1')](_0x4a59c3[_0x1766('0x25')]);}),this[_0x1766('0x1a')][_0x1766('0x9')](this[_0x1766('0x25')]));const _0x5915ed=_0x3e89cc=>_0x3e89cc[_0x1766('0x1c')]();this[_0x1766('0x1a')][_0x1766('0x2')](_0x1766('0x15'),_0x5915ed),this[_0x1766('0x1a')][_0x1766('0x2')](_0x1766('0xe'),_0x5915ed),this['keystrokes'][_0x1766('0x2')](_0x1766('0x26'),_0x5915ed),this[_0x1766('0x1a')][_0x1766('0x2')](_0x1766('0x10'),_0x5915ed);}[_0x1766('0xa')](){this[_0x1766('0x17')]['focusFirst']();}get[_0x1766('0x4')](){return this[_0x1766('0x23')]['fieldView'][_0x1766('0x25')][_0x1766('0x6')][_0x1766('0x2a')]();}set[_0x1766('0x4')](_0x10e0a0){this[_0x1766('0x23')][_0x1766('0x0')][_0x1766('0x25')][_0x1766('0x6')]=_0x10e0a0['trim']();}[_0x1766('0x1e')](){this[_0x1766('0x23')][_0x1766('0x0')][_0x1766('0x25')][_0x1766('0x6')]='';}[_0x1766('0x5')](){const _0x5f130e=new _0x2f7625(this[_0x1766('0x1d')],_0x2325c4),_0x324fa4=_0x5f130e[_0x1766('0x0')];return _0x324fa4[_0x1766('0x28')]({'attributes':{'maxlength':_0x1766('0x12')}}),_0x5f130e['label']=_0x515c36(this[_0x1766('0x1d')],_0x1766('0x16')),_0x324fa4['on'](_0x1766('0x13'),()=>{this[_0x1766('0xb')]=_0x324fa4[_0x1766('0x25')][_0x1766('0x6')][_0x1766('0x2a')]();}),_0x5f130e;}[_0x1766('0x1b')](_0x74996d,_0x31698a,_0x28d406,_0x22d701){const _0x203848=new _0x52fce8(this[_0x1766('0x1d')]);return _0x203848[_0x1766('0x2')]({'label':_0x74996d,'icon':_0x31698a,'tooltip':!0x0}),_0x203848['extendTemplate']({'attributes':{'class':_0x28d406}}),_0x22d701&&_0x203848[_0x1766('0xc')]('execute')['to'](this,_0x22d701),_0x203848;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc3b3=['pluginName','change:isOpen','Revision\x20history','componentFactory','addMany','view','Save\x20current\x20revision','focus','RevisionHistoryUI','submit','config','execute','length','buttonView','Open\x20revision\x20history','get','set','isReady','saveRevision','editing','bind','isEnabled','panelView','children','items','isReadOnly','reset','editor','add','isOpen','remove','revisionHistory','saveButtonView','showRevisionViewerCallback','revisionName','plugins'];(function(_0x10bde2,_0xc3b361){const _0x2595dc=function(_0x4de354){while(--_0x4de354){_0x10bde2['push'](_0x10bde2['shift']());}};_0x2595dc(++_0xc3b361);}(_0xc3b3,0xaa));const _0x2595=function(_0x10bde2,_0xc3b361){_0x10bde2=_0x10bde2-0x0;let _0x2595dc=_0xc3b3[_0x10bde2];return _0x2595dc;};import{Plugin as _0x35ddc7}from'ckeditor5/src/core';import{ListView as _0x10658b,ListItemView as _0x524484,ButtonView as _0x3dc6b7,createDropdown as _0x5eed45}from'ckeditor5/src/ui';import _0x1166c7 from'../../revisiontracker';import _0x1f51aa from'./revisionhistorysaverevisionformview';import _0x3188d2 from'../../../theme/icons/revision-history.svg';import{getTranslation as _0x14e961}from'../../utils/common-translations';export default class u extends _0x35ddc7{static get[_0x2595('0xa')](){return _0x2595('0x12');}static get['requires'](){return[_0x1166c7];}['init'](){const _0x3f6b73=this[_0x2595('0x1')],_0x54d811=_0x3f6b73[_0x2595('0x9')][_0x2595('0x19')]('RevisionTracker');_0x3f6b73['ui'][_0x2595('0xd')]['add'](_0x2595('0x5'),_0x3e1a0e=>{const _0x387b50=_0x5eed45(_0x3e1a0e),_0x469136=_0x387b50[_0x2595('0x20')][_0x2595('0x21')],_0x3a3c87=new _0x10658b(_0x3e1a0e),_0x122f7e=new _0x524484(_0x3e1a0e),_0xa71f1a=new _0x3dc6b7(_0x3e1a0e),_0x1755cf=new _0x524484(_0x3e1a0e),_0x2b5b46=new _0x3dc6b7(_0x3e1a0e),_0x1d2209=new _0x1f51aa(_0x3e1a0e);function _0x1a5f95(){_0x469136[_0x2595('0x16')]&&_0x469136[_0x2595('0x4')](0x0),_0x469136['add'](_0x3a3c87);}function _0x1f92cd(){_0x387b50[_0x2595('0x3')]=!0x1,_0x3f6b73[_0x2595('0x1d')][_0x2595('0xf')][_0x2595('0x11')]();}return _0x387b50[_0x2595('0x1e')](_0x2595('0x1f'))['to'](_0x54d811,_0x2595('0x1b'),_0x54d811,_0x2595('0x1f'),_0x3f6b73,_0x2595('0x23'),(_0x5c3614,_0xcb548f,_0xf12c4c)=>_0x5c3614&&_0xcb548f&&!_0xf12c4c),_0x387b50[_0x2595('0x17')][_0x2595('0x1a')]({'icon':_0x3188d2,'label':_0x14e961(_0x3e1a0e,_0x2595('0xc')),'tooltip':!0x0}),_0xa71f1a[_0x2595('0x1a')]({'label':_0x14e961(_0x3e1a0e,_0x2595('0x10')),'withText':!0x0}),_0xa71f1a[_0x2595('0x1e')](_0x2595('0x1f'))['to'](_0x54d811,_0x2595('0x1b'),_0x54d811,_0x2595('0x1f'),_0x3f6b73,'isReadOnly',(_0x3cf5c7,_0x3a9196,_0x154981)=>_0x3cf5c7&&_0x3a9196&&!_0x154981),_0xa71f1a['on'](_0x2595('0x15'),()=>function(){_0x469136[_0x2595('0x16')]&&_0x469136['remove'](0x0),(_0x1d2209[_0x2595('0x0')](),_0x469136['add'](_0x1d2209),_0x1d2209[_0x2595('0x11')]());}()),_0x2b5b46[_0x2595('0x1a')]({'label':_0x14e961(_0x3e1a0e,_0x2595('0x18')),'withText':!0x0}),_0x2b5b46[_0x2595('0x1e')](_0x2595('0x1f'))['to'](_0x54d811,_0x2595('0x1b'),_0x3f6b73,_0x2595('0x23'),(_0x272d7b,_0x471052)=>_0x272d7b&&!_0x471052),_0x2b5b46['on']('execute',()=>{_0x3f6b73[_0x2595('0x14')]['get']('revisionHistory')[_0x2595('0x7')](),_0x1f92cd();}),_0x122f7e[_0x2595('0x21')]['add'](_0xa71f1a),_0x1755cf[_0x2595('0x21')][_0x2595('0x2')](_0x2b5b46),_0x3a3c87[_0x2595('0x22')][_0x2595('0xe')]([_0x122f7e,_0x1755cf]),_0x387b50['on'](_0x2595('0xb'),()=>_0x1a5f95()),_0x1d2209[_0x2595('0x6')][_0x2595('0x1e')](_0x2595('0x1f'))['to'](_0x54d811,_0x2595('0x1b'),_0x54d811,_0x2595('0x1f'),_0x3f6b73,'isReadOnly',(_0x599eab,_0x4fb5ae,_0x3693e9)=>_0x599eab&&_0x4fb5ae&&!_0x3693e9),_0x1d2209['on'](_0x2595('0x13'),()=>(_0x3f6b73[_0x2595('0x9')]['get'](_0x1166c7)[_0x2595('0x1c')]({'name':_0x1d2209[_0x2595('0x8')]}),void _0x1f92cd())),_0x1d2209['on']('cancel',()=>_0x1a5f95()),_0x1d2209['render'](),_0x1a5f95(),_0x387b50;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36e9=['restoreRevision','pluginName','data','_handleDiffChange','element','Restore\x20this\x20revision','init','newRevisionId','destroy','restoreRevisionCallback','getRevision','config','assign','_revisionViewer','remove','defaultRevisionActions','availableRevisionActions','focus','action','diff','getRevisionsInDiff','nameRevision','appendChild','_revisionsRepository','_handleRevisionSetName','Compare\x20against\x20selected','isEnabled','_createRevisionActions','selectRevision','getIndex','getLaterVisibleRevision','Name\x20this\x20revision','render','plugins','compareAgainstSelected','setName','name','isReady','_handleEditorDataReady','editor','_revisions','_sidebarView','select','length','string','revisionHistory.revisionActions','fieldView','get','timePeriodViews','highlightRevisions','add','revisionHistory.viewerSidebarContainer','_handleRevisionSelected','getEarlierVisibleRevision','bind','locale','repository','ready','compare','isVisible','revisionHistory','isSelected'];(function(_0x2e390d,_0x36e9d0){const _0x32d343=function(_0x2705ad){while(--_0x2705ad){_0x2e390d['push'](_0x2e390d['shift']());}};_0x32d343(++_0x36e9d0);}(_0x36e9,0x126));const _0x32d3=function(_0x2e390d,_0x36e9d0){_0x2e390d=_0x2e390d-0x0;let _0x32d343=_0x36e9[_0x2e390d];return _0x32d343;};import{Plugin as _0x31a343}from'ckeditor5/src/core';import _0x29d4a5 from'./revisionssidebarview';import _0x4bfec9 from'../../revisionviewer';export default class w extends _0x31a343{static get[_0x32d3('0x11')](){return'RevisionsSidebar';}static get['requires'](){return[_0x4bfec9];}constructor(_0x51b157){super(_0x51b157),this['_revisionViewer']=_0x51b157[_0x32d3('0x31')][_0x32d3('0x1')](_0x4bfec9),this['_revisionsRepository']=this[_0x32d3('0x1d')][_0x32d3('0xa')],this['_sidebarView']=null;}[_0x32d3('0x16')](){const _0x174db5=this['_revisionsRepository'][_0x32d3('0x38')],_0x44f349=this[_0x32d3('0x2b')](),_0x5cca27=this[_0x32d3('0x37')]['config'][_0x32d3('0x1')](_0x32d3('0x5'));this[_0x32d3('0x39')]=new _0x29d4a5(this[_0x32d3('0x37')][_0x32d3('0x9')],_0x174db5,_0x44f349),this['_sidebarView']['on']('revisionSelected',this[_0x32d3('0x6')][_0x32d3('0x8')](this)),this[_0x32d3('0x39')]['on']('revisionSetName',this[_0x32d3('0x28')][_0x32d3('0x8')](this)),this[_0x32d3('0x39')]['bind'](_0x32d3('0x2a'))['to'](this[_0x32d3('0x1d')]),this[_0x32d3('0x39')][_0x32d3('0x2')]['on']('add',(_0x531998,_0x3ec718)=>{_0x3ec718['revisionViews']['on'](_0x32d3('0x4'),(_0x250653,_0x86114e)=>{_0x86114e[_0x32d3('0x8')](_0x32d3('0x2a'),_0x32d3('0x35'))['to'](this[_0x32d3('0x1d')]);});}),this['_sidebarView'][_0x32d3('0x30')](),this['listenTo'](this[_0x32d3('0x37')][_0x32d3('0x12')],_0x32d3('0xb'),this[_0x32d3('0x36')][_0x32d3('0x8')](this)),this['listenTo'](this[_0x32d3('0x1d')],'change:diff',this[_0x32d3('0x13')][_0x32d3('0x8')](this)),_0x5cca27[_0x32d3('0x26')](this['_sidebarView'][_0x32d3('0x14')]);}[_0x32d3('0x18')](){this[_0x32d3('0x39')]['element'][_0x32d3('0x1e')](),this['_sidebarView'][_0x32d3('0x18')]();}[_0x32d3('0x36')](){const _0x386803=this['_revisionsRepository'][_0x32d3('0x1a')](0x0);if(_0x386803){const _0x5a22a9=this['_revisionsRepository'][_0x32d3('0x7')](_0x386803['id']);this[_0x32d3('0x1d')][_0x32d3('0xc')](_0x386803,_0x5a22a9);}}[_0x32d3('0x6')](_0x1a43c8,_0xba0f17){const _0x4525bd=this[_0x32d3('0x27')][_0x32d3('0x1a')](_0xba0f17['id']),_0x4a518d=this['_revisionsRepository'][_0x32d3('0x7')](_0x4525bd['id']);this[_0x32d3('0x1d')][_0x32d3('0xc')](_0x4525bd,_0x4a518d);}[_0x32d3('0x28')](_0x1b4e56,_0x409587){this['_revisionsRepository'][_0x32d3('0x1a')](_0x409587['id'])[_0x32d3('0x33')](_0x409587[_0x32d3('0x34')]);}['_handleDiffChange'](_0x80c753,_0x27136d,_0x3de2eb){const _0x199997=this[_0x32d3('0x27')][_0x32d3('0x24')](_0x3de2eb);_0x199997['length']>0x2?(this[_0x32d3('0x39')][_0x32d3('0x3')](_0x199997),this[_0x32d3('0x39')][_0x32d3('0x2c')](null)):(this['_sidebarView'][_0x32d3('0x3')]([]),this[_0x32d3('0x39')]['selectRevision'](_0x199997[0x0]));}['_createRevisionActions'](){const _0x10b642=this[_0x32d3('0x37')],_0x689b3a=w['availableRevisionActions'],_0x1eb5a7=_0x10b642[_0x32d3('0x1b')][_0x32d3('0x1')](_0x32d3('0x3d'))||w[_0x32d3('0x1f')];if(_0x1eb5a7['length'])return _0x1eb5a7['map'](_0x3a576b=>{const _0x50e4e4=_0x32d3('0x3c')==typeof _0x3a576b?Object[_0x32d3('0x1c')]({},_0x689b3a[_0x3a576b]):_0x3a576b;return _0x50e4e4[_0x32d3('0x22')]=_0x50e4e4['action'][_0x32d3('0x8')](this,_0x10b642),_0x50e4e4[_0x32d3('0xd')]&&(_0x50e4e4[_0x32d3('0xd')]=_0x50e4e4[_0x32d3('0xd')][_0x32d3('0x8')](this,_0x10b642)),_0x50e4e4;});}}w[_0x32d3('0x20')]={'compareAgainstSelected':{'name':_0x32d3('0x29'),'action':({plugins:_0x20b985},_0x293dc8)=>{const _0x3ce63f=_0x20b985[_0x32d3('0x1')](_0x4bfec9),_0x80291=_0x3ce63f['repository'];let _0x4e0047=_0x3ce63f[_0x32d3('0x23')][_0x32d3('0x17')],_0x121b4d=_0x293dc8['id'];_0x80291[_0x32d3('0x2d')](_0x4e0047)>_0x80291[_0x32d3('0x2d')](_0x121b4d)&&([_0x4e0047,_0x121b4d]=[_0x121b4d,_0x4e0047]),_0x3ce63f[_0x32d3('0xc')](_0x4e0047,_0x121b4d);},'isVisible':({plugins:_0x5cda3c},_0x3aaba9)=>{const _0x37b2e9=_0x5cda3c[_0x32d3('0x1')](_0x4bfec9);return!(_0x37b2e9[_0x32d3('0xa')][_0x32d3('0x24')](_0x37b2e9[_0x32d3('0x23')])[_0x32d3('0x3b')]>0x2)&&!_0x3aaba9[_0x32d3('0xf')];}},'restoreRevision':{'name':_0x32d3('0x15'),'action':(_0xfc555,{id:_0x1fd44f})=>{_0xfc555['config'][_0x32d3('0x1')](_0x32d3('0xe'))[_0x32d3('0x19')](_0x1fd44f);},'isVisible':({plugins:_0x1e99e7},_0x1ef8c7)=>!!_0x1e99e7['get'](_0x4bfec9)['repository'][_0x32d3('0x2e')](_0x1ef8c7['id'])},'nameRevision':{'name':_0x32d3('0x2f'),'action':({plugins:_0x4ff090},{id:_0x2f0625,revisionNameView:_0x250d57})=>{const _0x427f2c=_0x4ff090[_0x32d3('0x1')](_0x4bfec9),_0x2a70ed=_0x427f2c[_0x32d3('0xa')][_0x32d3('0x7')](_0x2f0625);_0x427f2c['compare'](_0x2f0625,_0x2a70ed),_0x250d57[_0x32d3('0x21')](),_0x250d57[_0x32d3('0x0')][_0x32d3('0x3a')]();}}},w[_0x32d3('0x1f')]=[_0x32d3('0x32'),_0x32d3('0x10'),_0x32d3('0x25')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e28=['span','content','Revision\x20history','div'];(function(_0x3751ef,_0x4e28b3){const _0x29fd00=function(_0x23ce3d){while(--_0x23ce3d){_0x3751ef['push'](_0x3751ef['shift']());}};_0x29fd00(++_0x4e28b3);}(_0x4e28,0x14c));const _0x29fd=function(_0x3751ef,_0x4e28b3){_0x3751ef=_0x3751ef-0x0;let _0x29fd00=_0x4e28[_0x3751ef];return _0x29fd00;};import{View as _0x328eb0,IconView as _0x5d7924}from'ckeditor5/src/ui';import{getTranslation as _0x5ac397}from'../../utils/common-translations';import _0x39f15c from'../../../theme/icons/revision-history.svg';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class ts extends _0x328eb0{constructor(_0x5df55b){super(_0x5df55b);const _0x422032=new _0x5d7924();_0x422032[_0x29fd('0x1')]=_0x39f15c,this['setTemplate']({'tag':_0x29fd('0x3'),'attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x422032,{'tag':_0x29fd('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x5ac397(_0x5df55b,_0x29fd('0x2'))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c10=['find','addRevision','delegate','locale','select','uiLanguage','localizedPeriodName','ck-revision-history-sidebar__time-period','setTemplate','span','div','startDate','add','ck-revision-history-sidebar__time-period__label','revisionViews','setName','remove','_revisionActions'];(function(_0x53fed6,_0x1c1036){const _0x201977=function(_0x24722c){while(--_0x24722c){_0x53fed6['push'](_0x53fed6['shift']());}};_0x201977(++_0x1c1036);}(_0x1c10,0x1c5));const _0x2019=function(_0x53fed6,_0x1c1036){_0x53fed6=_0x53fed6-0x0;let _0x201977=_0x1c10[_0x53fed6];return _0x201977;};import{View as _0x187188}from'ckeditor5/src/ui';import _0x21f2b6 from'../revision/revisionview';import{getDateTimePeriodInfo as _0x230cb4}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class _i extends _0x187188{constructor(_0x35dad2,_0x441461,_0x425367){super(_0x35dad2);const _0x4deef8=_0x230cb4(_0x441461,this[_0x2019('0x0')][_0x2019('0x2')])[_0x2019('0x3')];this[_0x2019('0x8')]=_0x441461,this[_0x2019('0xb')]=this['createCollection'](),this[_0x2019('0xe')]=_0x425367,this['revisionViews'][_0x2019('0x11')](_0x2019('0x1'))['to'](this),this[_0x2019('0xb')][_0x2019('0x11')](_0x2019('0xc'))['to'](this),this[_0x2019('0x5')]({'tag':_0x2019('0x7'),'attributes':{'class':['ck',_0x2019('0x4')]},'children':[{'tag':_0x2019('0x6'),'attributes':{'class':['ck',_0x2019('0xa')]},'children':[{'text':_0x4deef8}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this[_0x2019('0xb')]}]});}[_0x2019('0x10')](_0x341358){const _0x440539=new _0x21f2b6(this[_0x2019('0x0')],_0x341358,this[_0x2019('0xe')]);this['revisionViews'][_0x2019('0x9')](_0x440539);}['removeRevision'](_0x5d8c70){const _0x372446=this[_0x2019('0xb')][_0x2019('0xf')](_0x3a8779=>_0x3a8779['id']===_0x5d8c70['id']);this['revisionViews'][_0x2019('0xd')](_0x372446);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5757=['delegate','find','createCollection','map','ck-reset','getTime','revisionViews','highlight','fire','removeRevision','deselect','timePeriodViews','unhighlight','_revisionActions','isEnabled','_getTimePeriodViewByStartDate','flat','startDate','createdAt','highlightRevisions','uiLanguage','get','set','addRevision','ck-revision-history-sidebar','ck-revision-history-sidebar__timeline','setName','add','revisionSelected','_revisions','div','_removeRevision','render','locale','remove','_addRevision','revisionSetName','select'];(function(_0x2e1b36,_0x57578){const _0x1c6f7e=function(_0x4c4805){while(--_0x4c4805){_0x2e1b36['push'](_0x2e1b36['shift']());}};_0x1c6f7e(++_0x57578);}(_0x5757,0x125));const _0x1c6f=function(_0x2e1b36,_0x57578){_0x2e1b36=_0x2e1b36-0x0;let _0x1c6f7e=_0x5757[_0x2e1b36];return _0x1c6f7e;};import{View as _0x25df26}from'ckeditor5/src/ui';import _0x35047f from'./revisionssidebartimeperiodview';import _0xe1b6c8 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x129e13}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x25df26{constructor(_0x209268,_0x38ea36,_0x2ad1ea){super(_0x209268);const _0x5da3a2=this['bindTemplate'];this[_0x1c6f('0x16')]=this[_0x1c6f('0xd')](),this[_0x1c6f('0x16')][_0x1c6f('0xb')](_0x1c6f('0xa'))['to'](this),this[_0x1c6f('0x16')]['delegate'](_0x1c6f('0x25'))['to'](this),this[_0x1c6f('0x2')]=_0x38ea36,this[_0x1c6f('0x18')]=_0x2ad1ea,this['on'](_0x1c6f('0xa'),(_0xe2b132,_0x5e9991)=>{this[_0x1c6f('0x13')](_0x1c6f('0x1'),_0x5e9991);}),this['on']('setName',(_0x243b95,_0x11e894)=>{this[_0x1c6f('0x13')](_0x1c6f('0x9'),_0x11e894);}),this[_0x1c6f('0x21')](_0x1c6f('0x19'),!0x1),this['setTemplate']({'tag':_0x1c6f('0x3'),'attributes':{'class':['ck',_0x1c6f('0xf'),'ck-rounded-corners',_0x1c6f('0x23')]},'children':[new _0xe1b6c8(_0x209268),{'tag':_0x1c6f('0x3'),'attributes':{'class':['ck',_0x1c6f('0x24'),_0x5da3a2['if'](_0x1c6f('0x19'),'ck-disabled',_0x1f5314=>!_0x1f5314)]},'children':this[_0x1c6f('0x16')]}]});}[_0x1c6f('0x5')](){super[_0x1c6f('0x5')]();for(const _0x524e82 of this[_0x1c6f('0x2')])this[_0x1c6f('0x8')](_0x524e82);this[_0x1c6f('0x2')]['on'](_0x1c6f('0x0'),(_0x30c5f7,_0x3f4f02)=>{this[_0x1c6f('0x8')](_0x3f4f02);}),this[_0x1c6f('0x2')]['on'](_0x1c6f('0x7'),(_0x17e8a7,_0x29dac5)=>{this[_0x1c6f('0x4')](_0x29dac5);});}get[_0x1c6f('0x11')](){return this[_0x1c6f('0x16')]['map'](_0x121f53=>_0x121f53[_0x1c6f('0x11')][_0x1c6f('0xe')](_0x2afd61=>_0x2afd61))[_0x1c6f('0x1b')]();}['selectRevision'](_0x5c3446){for(const _0x6d6829 of this['revisionViews'])_0x5c3446&&_0x5c3446['id']===_0x6d6829['id']?_0x6d6829['select']():_0x6d6829[_0x1c6f('0x15')]();}[_0x1c6f('0x1e')](_0x52de61){for(const _0x3b9d40 of this[_0x1c6f('0x11')])_0x52de61['some'](({id:_0x22d601})=>_0x22d601===_0x3b9d40['id'])?_0x3b9d40[_0x1c6f('0x12')]():_0x3b9d40[_0x1c6f('0x17')]();}[_0x1c6f('0x8')](_0x5b31e0){const _0xb14ee5=_0x129e13(_0x5b31e0['createdAt'],this['locale'][_0x1c6f('0x1f')])[_0x1c6f('0x1c')];let _0x176006=this[_0x1c6f('0x16')][_0x1c6f('0x20')](0x0);_0x176006&&_0x176006[_0x1c6f('0x1c')][_0x1c6f('0x10')]()===_0xb14ee5['getTime']()||(_0x176006=new _0x35047f(this[_0x1c6f('0x6')],_0xb14ee5,this[_0x1c6f('0x18')]),this[_0x1c6f('0x16')][_0x1c6f('0x0')](_0x176006)),_0x176006[_0x1c6f('0x22')](_0x5b31e0);}[_0x1c6f('0x4')](_0x2e223a){const _0x3bcc3f=_0x129e13(_0x2e223a[_0x1c6f('0x1d')],this[_0x1c6f('0x6')][_0x1c6f('0x1f')])['startDate'];this[_0x1c6f('0x1a')](_0x3bcc3f)[_0x1c6f('0x14')](_0x2e223a);}[_0x1c6f('0x1a')](_0x55a0dc){return this[_0x1c6f('0x16')][_0x1c6f('0xc')](_0x195d00=>_0x195d00[_0x1c6f('0x1c')][_0x1c6f('0x10')]()===_0x55a0dc[_0x1c6f('0x10')]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54b1=['day','startOf','year','minus','week','monthLong','fromJSDate','setLocale','toJSDate','hasSame','local','month','toRelativeCalendar'];(function(_0x5da3a6,_0x54b1c0){const _0x1b0ed6=function(_0x26f338){while(--_0x26f338){_0x5da3a6['push'](_0x5da3a6['shift']());}};_0x1b0ed6(++_0x54b1c0);}(_0x54b1,0x1ed));const _0x1b0e=function(_0x5da3a6,_0x54b1c0){_0x5da3a6=_0x5da3a6-0x0;let _0x1b0ed6=_0x54b1[_0x5da3a6];return _0x1b0ed6;};import{DateTime as _0x33bfb2}from'luxon';export function getDateTimePeriodInfo(_0xd5e56f,_0xadee78){const _0x2dc7be=_0x33bfb2[_0x1b0e('0x7')](_0xd5e56f)[_0x1b0e('0x8')](_0xadee78),_0x1ee51f=_0x33bfb2[_0x1b0e('0xb')](),_0x596910=_0x1ee51f[_0x1b0e('0x4')]({'days':0x1})[_0x1b0e('0x2')](_0x1b0e('0x1'));let _0x11dd96,_0x5778d3;return _0x2dc7be[_0x1b0e('0xa')](_0x1ee51f,_0x1b0e('0x1'))?(_0x11dd96=_0x2dc7be['startOf'](_0x1b0e('0x1'))[_0x1b0e('0x9')](),_0x5778d3=_0x2dc7be[_0x1b0e('0x0')]()):_0x2dc7be[_0x1b0e('0xa')](_0x596910,_0x1b0e('0x1'))?(_0x11dd96=_0x596910[_0x1b0e('0x9')](),_0x5778d3=_0x2dc7be[_0x1b0e('0x0')]()):_0x2dc7be[_0x1b0e('0xa')](_0x1ee51f,_0x1b0e('0x5'))?(_0x11dd96=_0x2dc7be[_0x1b0e('0x2')](_0x1b0e('0x5'))[_0x1b0e('0x9')](),_0x5778d3=_0x2dc7be['weekdayLong']||''):_0x2dc7be[_0x1b0e('0xa')](_0x1ee51f,'year')?(_0x11dd96=_0x2dc7be[_0x1b0e('0x2')](_0x1b0e('0xc'))['toJSDate'](),_0x5778d3=_0x2dc7be[_0x1b0e('0x6')]||''):(_0x11dd96=_0x2dc7be[_0x1b0e('0x2')](_0x1b0e('0x3'))[_0x1b0e('0x9')](),_0x5778d3=String(_0x2dc7be[_0x1b0e('0x3')])),{'startDate':_0x11dd96,'localizedPeriodName':_0x5778d3};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27bb=['isSuggestion','focus','data','ck-revision-change__label','ck-annotation','author','setTemplate','Removed\x20by','type','div','span','name','changeId','add'];(function(_0x3bf3eb,_0x27bba1){const _0x3d080e=function(_0x3729e2){while(--_0x3729e2){_0x3bf3eb['push'](_0x3bf3eb['shift']());}};_0x3d080e(++_0x27bba1);}(_0x27bb,0x160));const _0x3d08=function(_0x3bf3eb,_0x27bba1){_0x3bf3eb=_0x3bf3eb-0x0;let _0x3d080e=_0x27bb[_0x3bf3eb];return _0x3d080e;};import{View as _0x30ad9f}from'ckeditor5/src/ui';import{getTranslation as _0x142a4f}from'../../utils/common-translations';export default class Z extends _0x30ad9f{constructor(_0x30ad02,_0x2525cb){super(_0x30ad02),this['_model']=_0x2525cb,this[_0x3d08('0xa')]=_0x2525cb['id'];const _0x9445cf=this['bindTemplate'],_0x3b86d0=_0x142a4f(_0x30ad02,_0x2525cb[_0x3d08('0x0')][_0x3d08('0xc')]?'Suggested\x20by':_0x3d08('0xb')==_0x2525cb['type']?'Added\x20by':_0x3d08('0x5'));this['set']('type',_0x2525cb['type']),this[_0x3d08('0x4')]({'tag':_0x3d08('0x7'),'attributes':{'class':[_0x3d08('0x2'),'ck-revision-change',_0x9445cf['to'](_0x3d08('0x6'),_0x20de1c=>'ck-revision-change__'+_0x20de1c)],'tabindex':-0x1},'children':[{'tag':_0x3d08('0x8'),'children':[{'tag':_0x3d08('0x8'),'attributes':{'class':[_0x3d08('0x1')]},'children':[{'text':_0x3b86d0}]},{'text':'\x20'+_0x2525cb[_0x3d08('0x3')][_0x3d08('0x9')]}]}]});}[_0x3d08('0xd')](){this['element'][_0x3d08('0xd')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36f8=['ck-revision-history-ui__changes-navigation','isForwardNavigationEnabled','isBackwardNavigationEnabled','isEnabled','isReady','ck-revision-history-ui__changes-navigation__wrapper','ck-hidden','div','numberOfChanges','ck-revision-history-ui','NUMBER_OF_CHANGES','Loading...','isNavigationMode','ck-revision-history-ui__changes-navigation__navigation','set','No\x20changes','_isStatusLabelVisible','EDIT_X_OF_Y_REVISIONS','Show\x20next\x20change','X_OF_Y_CHANGES','Show\x20previous\x20change','bind','currentChangeNumber','execute','fire','ck-revision-history-ui__changes-navigation__label','span','bindTemplate','Total'];(function(_0x3a361d,_0x36f8e0){const _0x5a533d=function(_0x3e4405){while(--_0x3e4405){_0x3a361d['push'](_0x3a361d['shift']());}};_0x5a533d(++_0x36f8e0);}(_0x36f8,0x158));const _0x5a53=function(_0x3a361d,_0x36f8e0){_0x3a361d=_0x3a361d-0x0;let _0x5a533d=_0x36f8[_0x3a361d];return _0x5a533d;};import{View as _0x13eb82,ButtonView as _0x4303e6,ToolbarSeparatorView as _0x46f540}from'ckeditor5/src/ui';import{getTranslation as _0x505cc4}from'../../utils/common-translations';import _0x38d0f9 from'../../../theme/icons/arrow-up.svg';import _0x309bee from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class wi extends _0x13eb82{constructor(_0x5268db){super(_0x5268db);const _0x22771d=this[_0x5a53('0x2')],_0x3de9b6=new _0x4303e6(_0x5268db),_0x47d2c5=new _0x4303e6(_0x5268db);this[_0x5a53('0x12')](_0x5a53('0x10'),!0x1),this['set'](_0x5a53('0x8'),!0x1),this['set'](_0x5a53('0x1a'),0x0),this[_0x5a53('0x12')](_0x5a53('0xc'),0x0),this['set'](_0x5a53('0x5'),!0x1),this['set'](_0x5a53('0x6'),!0x1),this['bind'](_0x5a53('0x14'))['to'](this,_0x5a53('0x8'),this,_0x5a53('0xc'),(_0x1dffb4,_0x2619c2)=>_0x1dffb4&&_0x2619c2>0x0),this[_0x5a53('0x19')]('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,_0x5a53('0xc'),this,_0x5a53('0x10'),(_0x644ad1,_0x7ff1c5,_0x380bdf,_0x196825)=>{if(!_0x644ad1)return _0x505cc4(_0x5268db,_0x5a53('0xf'));if(!_0x380bdf)return _0x505cc4(_0x5268db,_0x5a53('0x13'));const _0x407dfc=_0x505cc4(_0x5268db,_0x5a53('0xe'),_0x380bdf);return _0x196825?_0x505cc4(_0x5268db,_0x5a53('0x17'),[_0x7ff1c5+0x1,_0x380bdf]):_0x407dfc;}),_0x3de9b6[_0x5a53('0x12')]({'label':_0x505cc4(_0x5268db,_0x5a53('0x18')),'tooltip':!0x0,'icon':_0x38d0f9}),_0x47d2c5[_0x5a53('0x12')]({'label':_0x505cc4(_0x5268db,_0x5a53('0x16')),'tooltip':!0x0,'icon':_0x309bee}),_0x3de9b6[_0x5a53('0x19')](_0x5a53('0x7'))['to'](this,_0x5a53('0x6')),_0x47d2c5[_0x5a53('0x19')](_0x5a53('0x7'))['to'](this,'isForwardNavigationEnabled'),_0x3de9b6['on'](_0x5a53('0x1b'),()=>this[_0x5a53('0x1c')](_0x5a53('0x1b'),'backward')),_0x47d2c5['on'](_0x5a53('0x1b'),()=>this[_0x5a53('0x1c')](_0x5a53('0x1b'),'forward')),this['setTemplate']({'tag':_0x5a53('0xb'),'attributes':{'class':['ck',_0x5a53('0xd'),_0x5a53('0x4')]},'children':[{'tag':_0x5a53('0x1'),'attributes':{'class':[_0x5a53('0x9')]},'children':[{'tag':_0x5a53('0x1'),'attributes':{'class':[_0x5a53('0x0'),_0x22771d['if'](_0x5a53('0x14'),_0x5a53('0xa'),_0x530828=>!_0x530828)]},'children':[{'text':_0x22771d['to']('isNavigationMode',_0x2260d1=>_0x2260d1?_0x505cc4(_0x5268db,_0x5a53('0x15'))+':\x20':_0x505cc4(_0x5268db,_0x5a53('0x3'))+':\x20')}]},{'text':_0x22771d['to']('_statusText')}]},new _0x46f540(),{'tag':_0x5a53('0xb'),'attributes':{'class':[_0x5a53('0x11')]},'children':[_0x3de9b6,_0x47d2c5]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bc7=['change','roots','show','document','ck-editor__editable__loading-overlay','addClass','view','editor','RevisionViewerLoadingOverlay','editing'];(function(_0x3c7c23,_0x5bc734){const _0x446d18=function(_0x430b86){while(--_0x430b86){_0x3c7c23['push'](_0x3c7c23['shift']());}};_0x446d18(++_0x5bc734);}(_0x5bc7,0x73));const _0x446d=function(_0x3c7c23,_0x5bc734){_0x3c7c23=_0x3c7c23-0x0;let _0x446d18=_0x5bc7[_0x3c7c23];return _0x446d18;};import{Plugin as _0x11aec3}from'ckeditor5/src/core';const oe=_0x446d('0x9');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x11aec3{static get['pluginName'](){return _0x446d('0x3');}[_0x446d('0x7')](){const _0x29d7ff=this['editor'][_0x446d('0x4')]['view'];_0x29d7ff[_0x446d('0x5')](_0x382b97=>{for(const _0x52cff9 of _0x29d7ff['document'][_0x446d('0x6')])_0x382b97[_0x446d('0x0')](oe,_0x52cff9);});}['hide'](){const _0x309a18=this[_0x446d('0x2')]['editing'][_0x446d('0x1')];_0x309a18[_0x446d('0x5')](_0x2630f5=>{for(const _0x2b9196 of _0x309a18[_0x446d('0x8')]['roots'])_0x2630f5['removeClass'](oe,_0x2b9196);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x377b=['listenTo','show','showNextChange','requires','ck-revision-history-ui__back-to-editing','forward','isForwardNavigationEnabled','componentFactory','change:isReady','set','isEnabled','config','plugins','add','revisionHistory','currentChangeNumber','numberOfChanges','showPreviousChange','closeRevisionViewerCallback','restoreRevision','bind','isNavigationMode','hide','get','isReady','commands','editor','exitToEditing','isBackwardNavigationEnabled','execute'];(function(_0x27bd3f,_0x377b53){const _0x1bf9f5=function(_0x2c8084){while(--_0x2c8084){_0x27bd3f['push'](_0x27bd3f['shift']());}};_0x1bf9f5(++_0x377b53);}(_0x377b,0x10b));const _0x1bf9=function(_0x27bd3f,_0x377b53){_0x27bd3f=_0x27bd3f-0x0;let _0x1bf9f5=_0x377b[_0x27bd3f];return _0x1bf9f5;};import{Plugin as _0x462e1b}from'ckeditor5/src/core';import{ButtonView as _0x1da2da}from'ckeditor5/src/ui';import _0x5b9052 from'./changesnavigationview';import _0x39e841 from'./../../revisionviewer';import _0x97b18d from'./revisionviewerloadingoverlay';import{getTranslation as _0x1a48d5}from'../../utils/common-translations';import _0x40cb44 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x462e1b{static get['pluginName'](){return'RevisionViewerUI';}static get[_0x1bf9('0x6')](){return[_0x39e841,_0x97b18d];}['init'](){const _0x5520b3=this[_0x1bf9('0x1d')],_0x3609c9=_0x5520b3[_0x1bf9('0xf')][_0x1bf9('0x1a')](_0x39e841),_0x41a9a4=_0x5520b3[_0x1bf9('0xf')][_0x1bf9('0x1a')](_0x97b18d);_0x5520b3['ui'][_0x1bf9('0xa')][_0x1bf9('0x10')](_0x1bf9('0x0'),_0x310ec5=>{const _0xe0e60f=new _0x1da2da(_0x310ec5);return _0xe0e60f[_0x1bf9('0xc')]({'label':_0x1a48d5(_0x310ec5,'Back\x20to\x20editing'),'icon':_0x40cb44,'withText':!0x0,'tooltip':!0x0,'class':_0x1bf9('0x7')}),this[_0x1bf9('0x3')](_0xe0e60f,_0x1bf9('0x2'),()=>{_0x5520b3[_0x1bf9('0xe')][_0x1bf9('0x1a')](_0x1bf9('0x11'))[_0x1bf9('0x15')]();}),_0xe0e60f;}),_0x5520b3['ui']['componentFactory']['add']('restoreRevision',_0x23d719=>{const _0x48d565=new _0x1da2da(_0x23d719);return _0x48d565[_0x1bf9('0xc')]({'label':_0x1a48d5(_0x23d719,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x48d565[_0x1bf9('0x17')]('isEnabled')['to'](_0x5520b3[_0x1bf9('0x1c')]['get']('restoreRevision')),this[_0x1bf9('0x3')](_0x48d565,'execute',()=>_0x5520b3['execute'](_0x1bf9('0x16'))),_0x48d565;}),_0x5520b3['ui']['componentFactory'][_0x1bf9('0x10')]('changesNavigation',_0x556322=>{const _0x435b38=new _0x5b9052(_0x556322),_0x524747=_0x5520b3[_0x1bf9('0x1c')]['get'](_0x1bf9('0x14')),_0x95d3a7=_0x5520b3[_0x1bf9('0x1c')][_0x1bf9('0x1a')](_0x1bf9('0x5'));return _0x435b38[_0x1bf9('0x17')](_0x1bf9('0x1'))['to'](_0x524747,'isEnabled'),_0x435b38[_0x1bf9('0x17')](_0x1bf9('0x9'))['to'](_0x95d3a7,_0x1bf9('0xd')),_0x435b38[_0x1bf9('0x17')](_0x1bf9('0x1b'),_0x1bf9('0x12'),_0x1bf9('0x13'),_0x1bf9('0x18'))['to'](_0x3609c9),this['listenTo'](_0x435b38,_0x1bf9('0x2'),(_0x8c7483,_0x4691e3)=>{_0x5520b3[_0x1bf9('0x2')](_0x1bf9('0x8')===_0x4691e3?'showNextChange':_0x1bf9('0x14'));}),_0x435b38;}),_0x41a9a4['show'](),_0x3609c9['on'](_0x1bf9('0xb'),(_0x30abcf,_0x2bc4a9,_0x4537ae)=>{_0x4537ae?_0x41a9a4[_0x1bf9('0x19')]():_0x41a9a4[_0x1bf9('0x4')]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x46616d,_0x144058,_0xd26e75){const t=_0x46616d['t'];switch(_0x144058){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'},_0xd26e75);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xd26e75);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 _0x144058;}}
|