@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240205.0 → 0.0.0-nightly-20240207.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 +5 -5
- 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 _0x1eba=['render','reset','cancel','ck-button-cancel','_focusCycler','revisionNameInputView','arrowleft','focusTracker','focusFirst','_createRevisionNameInput','revisionName','trim','stopPropagation','delegate','_createButton','ck-responsive-form','focus','_focusables','Name\x20of\x20the\x20revision\x20(optional)','revisionNameInputValue','setTemplate','saveButtonView','Save','set','label','arrowdown','tab','execute','keystrokes','cancelButtonView','add','extendTemplate','element','submit','fieldView','220','locale','forEach','type','shift\x20+\x20tab','ck-button-save','form','listenTo','input','check'];(function(_0x54624d,_0x1ebaa3){const _0x47d576=function(_0x414281){while(--_0x414281){_0x54624d['push'](_0x54624d['shift']());}};_0x47d576(++_0x1ebaa3);}(_0x1eba,0x1c6));const _0x47d5=function(_0x54624d,_0x1ebaa3){_0x54624d=_0x54624d-0x0;let _0x47d576=_0x1eba[_0x54624d];return _0x47d576;};import{icons as _0x45e6ae}from'ckeditor5/src/core.js';import{ButtonView as _0x27c17b,FocusCycler as _0x1d651b,LabeledFieldView as _0xa5187b,View as _0x295758,ViewCollection as _0x7bc0c5,createLabeledInputText as _0x152eeb,injectCssTransitionDisabler as _0x4fa1ed,submitHandler as _0x129b81}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b5c04,KeystrokeHandler as _0x161c71}from'ckeditor5/src/utils.js';import{getTranslation as _0x18cd14}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x295758{constructor(_0x3dbc5b){super(_0x3dbc5b),this[_0x47d5('0x3')]=new _0x5b5c04(),this[_0x47d5('0x18')]=new _0x161c71(),this[_0x47d5('0x13')](_0x47d5('0xf'),''),this[_0x47d5('0x1')]=this[_0x47d5('0x5')](),this['saveButtonView']=this[_0x47d5('0xa')](_0x18cd14(_0x3dbc5b,_0x47d5('0x12')),_0x45e6ae[_0x47d5('0x28')],_0x47d5('0x24')),this['saveButtonView'][_0x47d5('0x22')]=_0x47d5('0x1d'),this['cancelButtonView']=this[_0x47d5('0xa')](_0x18cd14(_0x3dbc5b,'Cancel'),_0x45e6ae[_0x47d5('0x2b')],_0x47d5('0x2c'),_0x47d5('0x2b')),this[_0x47d5('0xd')]=new _0x7bc0c5(),this[_0x47d5('0x0')]=new _0x1d651b({'focusables':this[_0x47d5('0xd')],'focusTracker':this['focusTracker'],'keystrokeHandler':this[_0x47d5('0x18')],'actions':{'focusPrevious':_0x47d5('0x23'),'focusNext':_0x47d5('0x16')}}),this[_0x47d5('0x10')]({'tag':_0x47d5('0x25'),'attributes':{'class':['ck','ck-revision-history-save-revision-form',_0x47d5('0xb')],'tabindex':'-1'},'children':[this[_0x47d5('0x1')],this[_0x47d5('0x11')],this[_0x47d5('0x19')]]}),_0x4fa1ed(this);}[_0x47d5('0x29')](){super['render'](),_0x129b81({'view':this}),([this['revisionNameInputView'],this['saveButtonView'],this[_0x47d5('0x19')]][_0x47d5('0x21')](_0x30481b=>{this[_0x47d5('0xd')][_0x47d5('0x1a')](_0x30481b),this[_0x47d5('0x3')][_0x47d5('0x1a')](_0x30481b[_0x47d5('0x1c')]);}),this[_0x47d5('0x18')][_0x47d5('0x26')](this[_0x47d5('0x1c')]));const _0x9fe40b=_0x2ec0c1=>_0x2ec0c1[_0x47d5('0x8')]();this[_0x47d5('0x18')]['set']('arrowright',_0x9fe40b),this[_0x47d5('0x18')][_0x47d5('0x13')](_0x47d5('0x2'),_0x9fe40b),this[_0x47d5('0x18')]['set']('arrowup',_0x9fe40b),this[_0x47d5('0x18')][_0x47d5('0x13')](_0x47d5('0x15'),_0x9fe40b);}[_0x47d5('0xc')](){this[_0x47d5('0x0')][_0x47d5('0x4')]();}get[_0x47d5('0x6')](){return this[_0x47d5('0x1')][_0x47d5('0x1e')][_0x47d5('0x1c')]['value'][_0x47d5('0x7')]();}set[_0x47d5('0x6')](_0x14eb9a){this['revisionNameInputView']['fieldView']['element']['value']=_0x14eb9a[_0x47d5('0x7')]();}[_0x47d5('0x2a')](){this['revisionNameInputView'][_0x47d5('0x1e')][_0x47d5('0x1c')]['value']='';}[_0x47d5('0x5')](){const _0x2f8f9e=new _0xa5187b(this['locale'],_0x152eeb),_0x345a78=_0x2f8f9e[_0x47d5('0x1e')];return _0x345a78[_0x47d5('0x1b')]({'attributes':{'maxlength':_0x47d5('0x1f')}}),_0x2f8f9e[_0x47d5('0x14')]=_0x18cd14(this[_0x47d5('0x20')],_0x47d5('0xe')),_0x345a78['on'](_0x47d5('0x27'),()=>{this[_0x47d5('0xf')]=_0x345a78[_0x47d5('0x1c')]['value'][_0x47d5('0x7')]();}),_0x2f8f9e;}[_0x47d5('0xa')](_0x4a0dc7,_0x1808d6,_0x397c9c,_0x2ca119){const _0x3941b7=new _0x27c17b(this[_0x47d5('0x20')]);return _0x3941b7[_0x47d5('0x13')]({'label':_0x4a0dc7,'icon':_0x1808d6,'tooltip':!0x0}),_0x3941b7[_0x47d5('0x1b')]({'attributes':{'class':_0x397c9c}}),_0x2ca119&&_0x3941b7[_0x47d5('0x9')](_0x47d5('0x17'))['to'](this,_0x2ca119),_0x3941b7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3167=['view','isEnabled','isOpen','Revision\x20history','editing','set','isReady','focus','addMany','revisionName','init','requires','get','children','revisionHistory','render','length','saveButtonView','execute','change:isOpen','history','config','reset','remove','items','RevisionHistoryUI','plugins','add','editor','bind','Open\x20revision\x20history','isReadOnly','cancel'];(function(_0x2a3aba,_0x316751){const _0x31e3d1=function(_0x5b01f9){while(--_0x5b01f9){_0x2a3aba['push'](_0x2a3aba['shift']());}};_0x31e3d1(++_0x316751);}(_0x3167,0x115));const _0x31e3=function(_0x2a3aba,_0x316751){_0x2a3aba=_0x2a3aba-0x0;let _0x31e3d1=_0x3167[_0x2a3aba];return _0x31e3d1;};import{Plugin as _0x4d1572,icons as _0x4553af}from'ckeditor5/src/core.js';import{ListView as _0xa07c60,ListItemView as _0x17cef3,ButtonView as _0x326399,createDropdown as _0x1e3c54}from'ckeditor5/src/ui.js';import _0x55d68f from'../../revisiontracker.js';import _0x2ffee0 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x28cb07}from'../../utils/common-translations.js';export default class u extends _0x4d1572{static get['pluginName'](){return _0x31e3('0xc');}static get[_0x31e3('0x1f')](){return[_0x55d68f];}[_0x31e3('0x1e')](){const _0x332586=this[_0x31e3('0xf')],_0x27bfa0=_0x332586[_0x31e3('0xd')][_0x31e3('0x20')]('RevisionTracker');_0x332586['ui']['componentFactory'][_0x31e3('0xe')](_0x31e3('0x1'),_0x2d3b55=>{const _0x1bd6f5=_0x1e3c54(_0x2d3b55),_0x5a747b=_0x1bd6f5['panelView'][_0x31e3('0x0')],_0x15f359=new _0xa07c60(_0x2d3b55),_0x599dad=new _0x17cef3(_0x2d3b55),_0x41e191=new _0x326399(_0x2d3b55),_0x12b971=new _0x17cef3(_0x2d3b55),_0x55be1f=new _0x326399(_0x2d3b55),_0x1b556e=new _0x2ffee0(_0x2d3b55);function _0x5e3a63(){_0x5a747b[_0x31e3('0x3')]&&_0x5a747b[_0x31e3('0xa')](0x0),_0x5a747b[_0x31e3('0xe')](_0x15f359);}function _0x9b44d8(){_0x1bd6f5[_0x31e3('0x16')]=!0x1,_0x332586[_0x31e3('0x18')][_0x31e3('0x14')]['focus']();}return _0x1bd6f5[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x161711,_0x14c908,_0x1925b8)=>_0x161711&&_0x14c908&&!_0x1925b8),_0x1bd6f5['buttonView'][_0x31e3('0x19')]({'icon':_0x4553af[_0x31e3('0x7')],'label':_0x28cb07(_0x2d3b55,_0x31e3('0x17')),'tooltip':!0x0}),_0x41e191[_0x31e3('0x19')]({'label':_0x28cb07(_0x2d3b55,'Save\x20current\x20revision'),'withText':!0x0}),_0x41e191[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x5594fd,_0x36e750,_0x5060c9)=>_0x5594fd&&_0x36e750&&!_0x5060c9),_0x41e191['on'](_0x31e3('0x5'),()=>function(){_0x5a747b[_0x31e3('0x3')]&&_0x5a747b[_0x31e3('0xa')](0x0),(_0x1b556e[_0x31e3('0x9')](),_0x5a747b['add'](_0x1b556e),_0x1b556e[_0x31e3('0x1b')]());}()),_0x55be1f[_0x31e3('0x19')]({'label':_0x28cb07(_0x2d3b55,_0x31e3('0x11')),'withText':!0x0}),_0x55be1f[_0x31e3('0x10')](_0x31e3('0x15'))['to'](_0x27bfa0,'isReady',_0x332586,_0x31e3('0x12'),(_0x5b315d,_0x4fa9fd)=>_0x5b315d&&!_0x4fa9fd),_0x55be1f['on'](_0x31e3('0x5'),()=>{_0x332586[_0x31e3('0x8')][_0x31e3('0x20')](_0x31e3('0x1'))['showRevisionViewerCallback'](),_0x9b44d8();}),_0x599dad[_0x31e3('0x0')][_0x31e3('0xe')](_0x41e191),_0x12b971['children'][_0x31e3('0xe')](_0x55be1f),_0x15f359[_0x31e3('0xb')][_0x31e3('0x1c')]([_0x599dad,_0x12b971]),_0x1bd6f5['on'](_0x31e3('0x6'),()=>_0x5e3a63()),_0x1b556e[_0x31e3('0x4')][_0x31e3('0x10')]('isEnabled')['to'](_0x27bfa0,_0x31e3('0x1a'),_0x27bfa0,_0x31e3('0x15'),_0x332586,_0x31e3('0x12'),(_0x374274,_0x2ea271,_0xa33364)=>_0x374274&&_0x2ea271&&!_0xa33364),_0x1b556e['on']('submit',()=>(_0x332586[_0x31e3('0xd')][_0x31e3('0x20')](_0x55d68f)['saveRevision']({'name':_0x1b556e[_0x31e3('0x1d')]}),void _0x9b44d8())),_0x1b556e['on'](_0x31e3('0x13'),()=>_0x5e3a63()),_0x1b556e[_0x31e3('0x2')](),_0x5e3a63(),_0x1bd6f5;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1480=['isReady','name','Restore\x20this\x20revision','repository','revisionHistory.viewerSidebarContainer','select','destroy','data','revisionHistory','_handleDiffChange','isVisible','editor','_handleRevisionSetName','map','getIndex','highlightRevisions','compareAgainstSelected','compare','_handleRevisionSelected','_revisionsRepository','defaultRevisionActions','RevisionsSidebar','listenTo','render','element','getLaterVisibleRevision','getEarlierVisibleRevision','get','requires','restoreRevision','revisionSetName','action','selectRevision','init','setName','add','_createRevisionActions','change:diff','getRevision','revisionSelected','remove','getRevisionsInDiff','restoreRevisionCallback','isEnabled','isSelected','assign','_sidebarView','revisionViews','_revisionViewer','focus','fieldView','_revisions','length','config','Name\x20this\x20revision','plugins','diff','bind'];(function(_0x4d3c8a,_0x1480f6){const _0x26f034=function(_0x3087f9){while(--_0x3087f9){_0x4d3c8a['push'](_0x4d3c8a['shift']());}};_0x26f034(++_0x1480f6);}(_0x1480,0x1a8));const _0x26f0=function(_0x4d3c8a,_0x1480f6){_0x4d3c8a=_0x4d3c8a-0x0;let _0x26f034=_0x1480[_0x4d3c8a];return _0x26f034;};import{Plugin as _0x23c18e}from'ckeditor5/src/core.js';import _0x182bb5 from'./revisionssidebarview.js';import _0x3211b9 from'../../revisionviewer.js';export default class w extends _0x23c18e{static get['pluginName'](){return _0x26f0('0x3');}static get[_0x26f0('0xa')](){return[_0x3211b9];}constructor(_0x2a1fc0){super(_0x2a1fc0),this[_0x26f0('0x1e')]=_0x2a1fc0[_0x26f0('0x25')][_0x26f0('0x9')](_0x3211b9),this[_0x26f0('0x1')]=this['_revisionViewer'][_0x26f0('0x2b')],this[_0x26f0('0x1c')]=null;}[_0x26f0('0xf')](){const _0xa0bdaf=this[_0x26f0('0x1')][_0x26f0('0x21')],_0x1780b3=this[_0x26f0('0x12')](),_0x4a8084=this[_0x26f0('0x33')][_0x26f0('0x23')][_0x26f0('0x9')](_0x26f0('0x2c'));this[_0x26f0('0x1c')]=new _0x182bb5(this['editor']['locale'],_0xa0bdaf,_0x1780b3),this[_0x26f0('0x1c')]['on'](_0x26f0('0x15'),this[_0x26f0('0x0')][_0x26f0('0x27')](this)),this[_0x26f0('0x1c')]['on'](_0x26f0('0xc'),this[_0x26f0('0x34')]['bind'](this)),this[_0x26f0('0x1c')][_0x26f0('0x27')](_0x26f0('0x19'))['to'](this[_0x26f0('0x1e')]),this[_0x26f0('0x1c')]['timePeriodViews']['on'](_0x26f0('0x11'),(_0x564d4a,_0x233568)=>{_0x233568[_0x26f0('0x1d')]['on']('add',(_0x65d169,_0x1d4d4b)=>{_0x1d4d4b[_0x26f0('0x27')](_0x26f0('0x19'),_0x26f0('0x28'))['to'](this[_0x26f0('0x1e')]);});}),this[_0x26f0('0x1c')][_0x26f0('0x5')](),this[_0x26f0('0x4')](this[_0x26f0('0x33')][_0x26f0('0x2f')],'ready',this['_handleEditorDataReady']['bind'](this)),this[_0x26f0('0x4')](this['_revisionViewer'],_0x26f0('0x13'),this['_handleDiffChange']['bind'](this)),_0x4a8084['appendChild'](this['_sidebarView'][_0x26f0('0x6')]);}['destroy'](){this['_sidebarView']['element'][_0x26f0('0x16')](),this['_sidebarView'][_0x26f0('0x2e')]();}['_handleEditorDataReady'](){const _0x5b1aa8=this[_0x26f0('0x1')][_0x26f0('0x14')](0x0);if(_0x5b1aa8){const _0x335d51=this['_revisionsRepository'][_0x26f0('0x8')](_0x5b1aa8['id']);this[_0x26f0('0x1e')][_0x26f0('0x39')](_0x5b1aa8,_0x335d51);}}[_0x26f0('0x0')](_0x895b53,_0x3c8730){const _0x270441=this[_0x26f0('0x1')]['getRevision'](_0x3c8730['id']),_0x2ff929=this[_0x26f0('0x1')][_0x26f0('0x8')](_0x270441['id']);this['_revisionViewer']['compare'](_0x270441,_0x2ff929);}['_handleRevisionSetName'](_0x108277,_0x2b6102){this[_0x26f0('0x1')]['getRevision'](_0x2b6102['id'])[_0x26f0('0x10')](_0x2b6102[_0x26f0('0x29')]);}[_0x26f0('0x31')](_0x1356dc,_0x330e63,_0x4edce0){const _0x396397=this[_0x26f0('0x1')][_0x26f0('0x17')](_0x4edce0);_0x396397[_0x26f0('0x22')]>0x2?(this[_0x26f0('0x1c')]['highlightRevisions'](_0x396397),this[_0x26f0('0x1c')][_0x26f0('0xe')](null)):(this[_0x26f0('0x1c')][_0x26f0('0x37')]([]),this['_sidebarView'][_0x26f0('0xe')](_0x396397[0x0]));}['_createRevisionActions'](){const _0x1c638d=this[_0x26f0('0x33')],_0xdd05b0=w['availableRevisionActions'],_0x33345d=_0x1c638d[_0x26f0('0x23')][_0x26f0('0x9')]('revisionHistory.revisionActions')||w[_0x26f0('0x2')];if(_0x33345d[_0x26f0('0x22')])return _0x33345d[_0x26f0('0x35')](_0x31d15f=>{const _0x4b3e55='string'==typeof _0x31d15f?Object[_0x26f0('0x1b')]({},_0xdd05b0[_0x31d15f]):_0x31d15f;return _0x4b3e55[_0x26f0('0xd')]=_0x4b3e55[_0x26f0('0xd')][_0x26f0('0x27')](this,_0x1c638d),_0x4b3e55[_0x26f0('0x32')]&&(_0x4b3e55[_0x26f0('0x32')]=_0x4b3e55['isVisible'][_0x26f0('0x27')](this,_0x1c638d)),_0x4b3e55;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x479136},_0x3b4978)=>{const _0x27a23a=_0x479136[_0x26f0('0x9')](_0x3211b9),_0x1a2bd8=_0x27a23a['repository'];let _0x105e60=_0x27a23a[_0x26f0('0x26')]['newRevisionId'],_0x3e7e62=_0x3b4978['id'];_0x1a2bd8['getIndex'](_0x105e60)>_0x1a2bd8[_0x26f0('0x36')](_0x3e7e62)&&([_0x105e60,_0x3e7e62]=[_0x3e7e62,_0x105e60]),_0x27a23a[_0x26f0('0x39')](_0x105e60,_0x3e7e62);},'isVisible':({plugins:_0x12ca3d},_0x4aefab)=>{const _0x369250=_0x12ca3d[_0x26f0('0x9')](_0x3211b9);return!(_0x369250[_0x26f0('0x2b')]['getRevisionsInDiff'](_0x369250[_0x26f0('0x26')])[_0x26f0('0x22')]>0x2)&&!_0x4aefab[_0x26f0('0x1a')];}},'restoreRevision':{'name':_0x26f0('0x2a'),'action':(_0x52650f,{id:_0x55a943})=>{_0x52650f[_0x26f0('0x23')][_0x26f0('0x9')](_0x26f0('0x30'))[_0x26f0('0x18')](_0x55a943);},'isVisible':({plugins:_0x2d6e5f},_0x360b88)=>!!_0x2d6e5f['get'](_0x3211b9)['repository'][_0x26f0('0x7')](_0x360b88['id'])},'nameRevision':{'name':_0x26f0('0x24'),'action':({plugins:_0x297209},{id:_0x4673c6,revisionNameView:_0x522e40})=>{const _0x252fcb=_0x297209[_0x26f0('0x9')](_0x3211b9),_0x4cd78c=_0x252fcb[_0x26f0('0x2b')][_0x26f0('0x8')](_0x4673c6);_0x252fcb[_0x26f0('0x39')](_0x4673c6,_0x4cd78c),_0x522e40[_0x26f0('0x1f')](),_0x522e40[_0x26f0('0x20')][_0x26f0('0x2d')]();}}},w[_0x26f0('0x2')]=[_0x26f0('0x38'),_0x26f0('0xb'),'nameRevision'];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x684f=['Revision\x20history','content','setTemplate','history','ck-reset_all','div','span','ck-revision-history-sidebar__header__label','ck-revision-history-sidebar__header'];(function(_0x1b062f,_0x684f5c){const _0x575032=function(_0x57bbe0){while(--_0x57bbe0){_0x1b062f['push'](_0x1b062f['shift']());}};_0x575032(++_0x684f5c);}(_0x684f,0xd5));const _0x5750=function(_0x1b062f,_0x684f5c){_0x1b062f=_0x1b062f-0x0;let _0x575032=_0x684f[_0x1b062f];return _0x575032;};import{View as _0x3ef257,IconView as _0x351d68}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e41a7}from'../../utils/common-translations.js';import{icons as _0x208849}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rs extends _0x3ef257{constructor(_0x331527){super(_0x331527);const _0x470854=new _0x351d68();_0x470854[_0x5750('0x4')]=_0x208849[_0x5750('0x6')],this[_0x5750('0x5')]({'tag':_0x5750('0x8'),'attributes':{'class':['ck',_0x5750('0x7'),_0x5750('0x2')]},'children':[_0x470854,{'tag':_0x5750('0x0'),'attributes':{'class':['ck',_0x5750('0x1')]},'children':[_0x2e41a7(_0x331527,_0x5750('0x3'))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfabb=['uiLanguage','div','_revisionActions','locale','remove','revisionViews','span','ck-revision-history-sidebar__time-period','add','setName','ck-revision-history-sidebar__time-period__revisions','removeRevision','setTemplate','startDate','createCollection','find','addRevision','select'];(function(_0x7bffdb,_0xfabb50){const _0x5308dc=function(_0x2747b0){while(--_0x2747b0){_0x7bffdb['push'](_0x7bffdb['shift']());}};_0x5308dc(++_0xfabb50);}(_0xfabb,0x84));const _0x5308=function(_0x7bffdb,_0xfabb50){_0x7bffdb=_0x7bffdb-0x0;let _0x5308dc=_0xfabb[_0x7bffdb];return _0x5308dc;};import{View as _0x314068}from'ckeditor5/src/ui.js';import _0x3e94d6 from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x55d008}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class vi extends _0x314068{constructor(_0x14b4ed,_0x5c8ef4,_0x5dd465){super(_0x14b4ed);const _0xa16ad4=_0x55d008(_0x5c8ef4,this['locale'][_0x5308('0xc')])['localizedPeriodName'];this[_0x5308('0x7')]=_0x5c8ef4,this[_0x5308('0x11')]=this[_0x5308('0x8')](),this[_0x5308('0xe')]=_0x5dd465,this[_0x5308('0x11')]['delegate'](_0x5308('0xb'))['to'](this),this[_0x5308('0x11')]['delegate'](_0x5308('0x3'))['to'](this),this[_0x5308('0x6')]({'tag':_0x5308('0xd'),'attributes':{'class':['ck',_0x5308('0x1')]},'children':[{'tag':_0x5308('0x0'),'attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0xa16ad4}]},{'tag':_0x5308('0xd'),'attributes':{'class':['ck',_0x5308('0x4')]},'children':this[_0x5308('0x11')]}]});}[_0x5308('0xa')](_0x5385e8){const _0x47ad9a=new _0x3e94d6(this[_0x5308('0xf')],_0x5385e8,this[_0x5308('0xe')]);this[_0x5308('0x11')][_0x5308('0x2')](_0x47ad9a);}[_0x5308('0x5')](_0x180138){const _0x1ff8bd=this[_0x5308('0x11')][_0x5308('0x9')](_0x4a3824=>_0x4a3824['id']===_0x180138['id']);this[_0x5308('0x11')][_0x5308('0x10')](_0x1ff8bd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ee6=['_addRevision','ck-revision-history-sidebar','createdAt','addRevision','setName','flat','_getTimePeriodViewByStartDate','div','unhighlight','deselect','add','delegate','render','timePeriodViews','ck-disabled','createCollection','getTime','ck-revision-history-sidebar__timeline','_removeRevision','revisionViews','isEnabled','highlightRevisions','startDate','fire','_revisions','ck-reset','locale','revisionSelected','map','uiLanguage','revisionSetName','some','removeRevision','select','setTemplate','selectRevision','get','_revisionActions'];(function(_0x1970b9,_0x1ee663){const _0x4930e4=function(_0x30ee44){while(--_0x30ee44){_0x1970b9['push'](_0x1970b9['shift']());}};_0x4930e4(++_0x1ee663);}(_0x1ee6,0xce));const _0x4930=function(_0x1970b9,_0x1ee663){_0x1970b9=_0x1970b9-0x0;let _0x4930e4=_0x1ee6[_0x1970b9];return _0x4930e4;};import{View as _0x4e08df}from'ckeditor5/src/ui.js';import _0x3b13d8 from'./revisionssidebartimeperiodview.js';import _0x6a1c83 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x3e6dae}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class di extends _0x4e08df{constructor(_0x57054d,_0x35c47c,_0x17c89a){super(_0x57054d);const _0x4e6bff=this['bindTemplate'];this[_0x4930('0x23')]=this[_0x4930('0x25')](),this['timePeriodViews']['delegate']('select')['to'](this),this[_0x4930('0x23')][_0x4930('0x21')](_0x4930('0x1a'))['to'](this),this[_0x4930('0x8')]=_0x35c47c,this[_0x4930('0x15')]=_0x17c89a,this['on'](_0x4930('0x11'),(_0x5627fe,_0x4c8069)=>{this[_0x4930('0x7')](_0x4930('0xb'),_0x4c8069);}),this['on'](_0x4930('0x1a'),(_0x172002,_0x3398c6)=>{this[_0x4930('0x7')](_0x4930('0xe'),_0x3398c6);}),this['set'](_0x4930('0x4'),!0x1),this[_0x4930('0x12')]({'tag':'div','attributes':{'class':['ck',_0x4930('0x9'),'ck-rounded-corners',_0x4930('0x17')]},'children':[new _0x6a1c83(_0x57054d),{'tag':_0x4930('0x1d'),'attributes':{'class':['ck',_0x4930('0x1'),_0x4e6bff['if'](_0x4930('0x4'),_0x4930('0x24'),_0x1321c5=>!_0x1321c5)]},'children':this['timePeriodViews']}]});}[_0x4930('0x22')](){super[_0x4930('0x22')]();for(const _0x3089e4 of this[_0x4930('0x8')])this['_addRevision'](_0x3089e4);this[_0x4930('0x8')]['on'](_0x4930('0x20'),(_0x1abd20,_0x246ea8)=>{this[_0x4930('0x16')](_0x246ea8);}),this[_0x4930('0x8')]['on']('remove',(_0x3d42eb,_0x43c08f)=>{this[_0x4930('0x2')](_0x43c08f);});}get['revisionViews'](){return this[_0x4930('0x23')][_0x4930('0xc')](_0x13c74e=>_0x13c74e['revisionViews'][_0x4930('0xc')](_0x15bf7e=>_0x15bf7e))[_0x4930('0x1b')]();}[_0x4930('0x13')](_0x45b061){for(const _0x29bf43 of this[_0x4930('0x3')])_0x45b061&&_0x45b061['id']===_0x29bf43['id']?_0x29bf43['select']():_0x29bf43[_0x4930('0x1f')]();}[_0x4930('0x5')](_0xb80f99){for(const _0x5e6261 of this[_0x4930('0x3')])_0xb80f99[_0x4930('0xf')](({id:_0x4de69a})=>_0x4de69a===_0x5e6261['id'])?_0x5e6261['highlight']():_0x5e6261[_0x4930('0x1e')]();}[_0x4930('0x16')](_0x5b3c3f){const _0x19174d=_0x3e6dae(_0x5b3c3f[_0x4930('0x18')],this['locale']['uiLanguage'])['startDate'];let _0x24e46b=this[_0x4930('0x23')][_0x4930('0x14')](0x0);_0x24e46b&&_0x24e46b[_0x4930('0x6')][_0x4930('0x0')]()===_0x19174d[_0x4930('0x0')]()||(_0x24e46b=new _0x3b13d8(this['locale'],_0x19174d,this[_0x4930('0x15')]),this[_0x4930('0x23')][_0x4930('0x20')](_0x24e46b)),_0x24e46b[_0x4930('0x19')](_0x5b3c3f);}[_0x4930('0x2')](_0x115b19){const _0x3ff90f=_0x3e6dae(_0x115b19['createdAt'],this[_0x4930('0xa')][_0x4930('0xd')])[_0x4930('0x6')];this['_getTimePeriodViewByStartDate'](_0x3ff90f)[_0x4930('0x10')](_0x115b19);}[_0x4930('0x1c')](_0x103c2d){return this[_0x4930('0x23')]['find'](_0x408329=>_0x408329[_0x4930('0x6')][_0x4930('0x0')]()===_0x103c2d[_0x4930('0x0')]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c36=['hasSame','minus','local','weekdayLong','day','fromJSDate','monthLong','setLocale','year','week','toJSDate','toRelativeCalendar','startOf'];(function(_0x5d7c77,_0x5c36fa){const _0x55245c=function(_0x2f5d7c){while(--_0x2f5d7c){_0x5d7c77['push'](_0x5d7c77['shift']());}};_0x55245c(++_0x5c36fa);}(_0x5c36,0x1ed));const _0x5524=function(_0x5d7c77,_0x5c36fa){_0x5d7c77=_0x5d7c77-0x0;let _0x55245c=_0x5c36[_0x5d7c77];return _0x55245c;};import{DateTime as _0x16efe0}from'luxon';export function getDateTimePeriodInfo(_0x2aff5a,_0x143d2d){const _0x24a69e=_0x16efe0[_0x5524('0x6')](_0x2aff5a)[_0x5524('0x8')](_0x143d2d),_0x533930=_0x16efe0[_0x5524('0x3')](),_0x4ee777=_0x533930[_0x5524('0x2')]({'days':0x1})[_0x5524('0x0')]('day');let _0x414422,_0x29a857;return _0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0x5'))?(_0x414422=_0x24a69e['startOf'](_0x5524('0x5'))[_0x5524('0xb')](),_0x29a857=_0x24a69e[_0x5524('0xc')]()):_0x24a69e[_0x5524('0x1')](_0x4ee777,_0x5524('0x5'))?(_0x414422=_0x4ee777[_0x5524('0xb')](),_0x29a857=_0x24a69e['toRelativeCalendar']()):_0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0xa'))?(_0x414422=_0x24a69e[_0x5524('0x0')](_0x5524('0xa'))[_0x5524('0xb')](),_0x29a857=_0x24a69e[_0x5524('0x4')]||''):_0x24a69e[_0x5524('0x1')](_0x533930,_0x5524('0x9'))?(_0x414422=_0x24a69e['startOf']('month')['toJSDate'](),_0x29a857=_0x24a69e[_0x5524('0x7')]||''):(_0x414422=_0x24a69e['startOf'](_0x5524('0x9'))[_0x5524('0xb')](),_0x29a857=String(_0x24a69e[_0x5524('0x9')])),{'startDate':_0x414422,'localizedPeriodName':_0x29a857};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50e7=['changeId','Removed\x20by','focus','setTemplate','ck-revision-change__label','ck-revision-change','name','Added\x20by','ck-annotation','set','bindTemplate','span','type','data'];(function(_0x29f1d2,_0x50e746){const _0x2a7b0b=function(_0x4ed0b1){while(--_0x4ed0b1){_0x29f1d2['push'](_0x29f1d2['shift']());}};_0x2a7b0b(++_0x50e746);}(_0x50e7,0x114));const _0x2a7b=function(_0x29f1d2,_0x50e746){_0x29f1d2=_0x29f1d2-0x0;let _0x2a7b0b=_0x50e7[_0x29f1d2];return _0x2a7b0b;};import{View as _0x56c332}from'ckeditor5/src/ui.js';import{getTranslation as _0x31ff30}from'../../utils/common-translations.js';export default class Z extends _0x56c332{constructor(_0x207754,_0xa385e2){super(_0x207754),this['_model']=_0xa385e2,this[_0x2a7b('0x4')]=_0xa385e2['id'];const _0x450d5a=this[_0x2a7b('0x0')],_0x1fac54=_0x31ff30(_0x207754,_0xa385e2[_0x2a7b('0x3')]['isSuggestion']?'Suggested\x20by':'add'==_0xa385e2[_0x2a7b('0x2')]?_0x2a7b('0xb'):_0x2a7b('0x5'));this[_0x2a7b('0xd')]('type',_0xa385e2[_0x2a7b('0x2')]),this[_0x2a7b('0x7')]({'tag':'div','attributes':{'class':[_0x2a7b('0xc'),_0x2a7b('0x9'),_0x450d5a['to'](_0x2a7b('0x2'),_0x2b607a=>'ck-revision-change__'+_0x2b607a)],'tabindex':-0x1},'children':[{'tag':_0x2a7b('0x1'),'children':[{'tag':'span','attributes':{'class':[_0x2a7b('0x8')]},'children':[{'text':_0x1fac54}]},{'text':'\x20'+_0xa385e2['author'][_0x2a7b('0xa')]}]}]});}['focus'](){this['element'][_0x2a7b('0x6')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d4d=['Total','bindTemplate','isReady','No\x20changes','ck-revision-history-ui','set','isNavigationMode','div','ck-revision-history-ui__changes-navigation__navigation','isEnabled','ck-revision-history-ui__changes-navigation__label','isForwardNavigationEnabled','forward','numberOfChanges','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation','Loading...','NUMBER_OF_CHANGES','setTemplate','currentChangeNumber','EDIT_X_OF_Y_REVISIONS','span','_statusText','ck-revision-history-ui__changes-navigation__wrapper','fire','_isStatusLabelVisible','bind','Show\x20next\x20change','execute','isBackwardNavigationEnabled','Show\x20previous\x20change','backward'];(function(_0xef012c,_0x1d4d4b){const _0x1bcaaa=function(_0x203a8b){while(--_0x203a8b){_0xef012c['push'](_0xef012c['shift']());}};_0x1bcaaa(++_0x1d4d4b);}(_0x1d4d,0xa2));const _0x1bca=function(_0xef012c,_0x1d4d4b){_0xef012c=_0xef012c-0x0;let _0x1bcaaa=_0x1d4d[_0xef012c];return _0x1bcaaa;};import{View as _0x3556c7,ButtonView as _0x4fda9f,ToolbarSeparatorView as _0x4916c5}from'ckeditor5/src/ui.js';import{getTranslation as _0x456232}from'../../utils/common-translations.js';import _0x5c648d from'../../../theme/icons/arrow-up.svg';import _0x406a18 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x3556c7{constructor(_0x2bc464){super(_0x2bc464);const _0x59446c=this[_0x1bca('0x1f')],_0x24237c=new _0x4fda9f(_0x2bc464),_0x453768=new _0x4fda9f(_0x2bc464);this[_0x1bca('0x3')](_0x1bca('0x4'),!0x1),this['set'](_0x1bca('0x0'),!0x1),this['set'](_0x1bca('0x11'),0x0),this[_0x1bca('0x3')](_0x1bca('0xb'),0x0),this[_0x1bca('0x3')](_0x1bca('0x9'),!0x1),this[_0x1bca('0x3')](_0x1bca('0x1b'),!0x1),this[_0x1bca('0x18')](_0x1bca('0x17'))['to'](this,_0x1bca('0x0'),this,_0x1bca('0xb'),(_0x3469c1,_0x19592d)=>_0x3469c1&&_0x19592d>0x0),this['bind'](_0x1bca('0x14'))['to'](this,_0x1bca('0x0'),this,_0x1bca('0x11'),this,_0x1bca('0xb'),this,'isNavigationMode',(_0x969d36,_0x4b0cf0,_0x2b7494,_0x492b60)=>{if(!_0x969d36)return _0x456232(_0x2bc464,_0x1bca('0xe'));if(!_0x2b7494)return _0x456232(_0x2bc464,_0x1bca('0x1'));const _0x5eb412=_0x456232(_0x2bc464,_0x1bca('0xf'),_0x2b7494);return _0x492b60?_0x456232(_0x2bc464,_0x1bca('0xc'),[_0x4b0cf0+0x1,_0x2b7494]):_0x5eb412;}),_0x24237c[_0x1bca('0x3')]({'label':_0x456232(_0x2bc464,_0x1bca('0x1c')),'tooltip':!0x0,'icon':_0x5c648d}),_0x453768[_0x1bca('0x3')]({'label':_0x456232(_0x2bc464,_0x1bca('0x19')),'tooltip':!0x0,'icon':_0x406a18}),_0x24237c['bind'](_0x1bca('0x7'))['to'](this,_0x1bca('0x1b')),_0x453768['bind']('isEnabled')['to'](this,_0x1bca('0x9')),_0x24237c['on'](_0x1bca('0x1a'),()=>this[_0x1bca('0x16')](_0x1bca('0x1a'),_0x1bca('0x1d'))),_0x453768['on'](_0x1bca('0x1a'),()=>this['fire']('execute',_0x1bca('0xa'))),this[_0x1bca('0x10')]({'tag':'div','attributes':{'class':['ck',_0x1bca('0x2'),_0x1bca('0xd')]},'children':[{'tag':_0x1bca('0x13'),'attributes':{'class':[_0x1bca('0x15')]},'children':[{'tag':_0x1bca('0x13'),'attributes':{'class':[_0x1bca('0x8'),_0x59446c['if'](_0x1bca('0x17'),'ck-hidden',_0x17f9f5=>!_0x17f9f5)]},'children':[{'text':_0x59446c['to'](_0x1bca('0x4'),_0x329eca=>_0x329eca?_0x456232(_0x2bc464,_0x1bca('0x12'))+':\x20':_0x456232(_0x2bc464,_0x1bca('0x1e'))+':\x20')}]},{'text':_0x59446c['to'](_0x1bca('0x14'))}]},new _0x4916c5(),{'tag':_0x1bca('0x5'),'attributes':{'class':[_0x1bca('0x6')]},'children':[_0x24237c,_0x453768]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4585=['document','change','ck-editor__editable__loading-overlay','pluginName','view','RevisionViewerLoadingOverlay','editing','hide','roots','editor'];(function(_0x186285,_0x45852b){const _0x4b79ef=function(_0x4d501a){while(--_0x4d501a){_0x186285['push'](_0x186285['shift']());}};_0x4b79ef(++_0x45852b);}(_0x4585,0xca));const _0x4b79=function(_0x186285,_0x45852b){_0x186285=_0x186285-0x0;let _0x4b79ef=_0x4585[_0x186285];return _0x4b79ef;};import{Plugin as _0x4053ad}from'ckeditor5/src/core.js';const oe=_0x4b79('0x0');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x4053ad{static get[_0x4b79('0x1')](){return _0x4b79('0x3');}['show'](){const _0x2c969b=this[_0x4b79('0x7')][_0x4b79('0x4')][_0x4b79('0x2')];_0x2c969b[_0x4b79('0x9')](_0x3f8226=>{for(const _0x169b08 of _0x2c969b['document'][_0x4b79('0x6')])_0x3f8226['addClass'](oe,_0x169b08);});}[_0x4b79('0x5')](){const _0x10f210=this[_0x4b79('0x7')]['editing'][_0x4b79('0x2')];_0x10f210[_0x4b79('0x9')](_0x2d6235=>{for(const _0xad4edf of _0x10f210[_0x4b79('0x8')][_0x4b79('0x6')])_0x2d6235['removeClass'](oe,_0xad4edf);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e33=['showNextChange','isBackwardNavigationEnabled','requires','set','isNavigationMode','isForwardNavigationEnabled','revisionHistory','componentFactory','plugins','show','pluginName','ck-revision-history-ui__back-to-editing','listenTo','Restore\x20this\x20revision','closeRevisionViewerCallback','bind','exitToEditing','isEnabled','commands','changesNavigation','get','numberOfChanges','showPreviousChange','currentChangeNumber','execute','forward','restoreRevision','add','isReady'];(function(_0x1e1c20,_0x4e3327){const _0x252348=function(_0x10a2d6){while(--_0x10a2d6){_0x1e1c20['push'](_0x1e1c20['shift']());}};_0x252348(++_0x4e3327);}(_0x4e33,0xe2));const _0x2523=function(_0x1e1c20,_0x4e3327){_0x1e1c20=_0x1e1c20-0x0;let _0x252348=_0x4e33[_0x1e1c20];return _0x252348;};import{icons as _0x22817c,Plugin as _0x4aee7d}from'ckeditor5/src/core.js';import{ButtonView as _0x55153b}from'ckeditor5/src/ui.js';import _0x4fa1db from'./changesnavigationview.js';import _0x5340ed from'./../../revisionviewer.js';import _0x3d1c28 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x508190}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x4aee7d{static get[_0x2523('0x10')](){return'RevisionViewerUI';}static get[_0x2523('0x8')](){return[_0x5340ed,_0x3d1c28];}['init'](){const _0x51689a=this['editor'],_0x3009f9=_0x51689a[_0x2523('0xe')][_0x2523('0x1a')](_0x5340ed),_0x4bbecf=_0x51689a['plugins'][_0x2523('0x1a')](_0x3d1c28);_0x51689a['ui'][_0x2523('0xd')][_0x2523('0x4')](_0x2523('0x16'),_0x285e84=>{const _0x46926d=new _0x55153b(_0x285e84);return _0x46926d[_0x2523('0x9')]({'label':_0x508190(_0x285e84,'Back\x20to\x20editing'),'icon':_0x22817c['undo'],'withText':!0x0,'tooltip':!0x0,'class':_0x2523('0x11')}),this[_0x2523('0x12')](_0x46926d,_0x2523('0x1'),()=>{_0x51689a['config']['get'](_0x2523('0xc'))[_0x2523('0x14')]();}),_0x46926d;}),_0x51689a['ui'][_0x2523('0xd')][_0x2523('0x4')](_0x2523('0x3'),_0x484466=>{const _0x5cce07=new _0x55153b(_0x484466);return _0x5cce07[_0x2523('0x9')]({'label':_0x508190(_0x484466,_0x2523('0x13')),'withText':!0x0,'tooltip':!0x0}),_0x5cce07[_0x2523('0x15')](_0x2523('0x17'))['to'](_0x51689a[_0x2523('0x18')][_0x2523('0x1a')](_0x2523('0x3'))),this[_0x2523('0x12')](_0x5cce07,_0x2523('0x1'),()=>_0x51689a[_0x2523('0x1')](_0x2523('0x3'))),_0x5cce07;}),_0x51689a['ui'][_0x2523('0xd')]['add'](_0x2523('0x19'),_0x5b64d7=>{const _0x147cff=new _0x4fa1db(_0x5b64d7),_0x2de86a=_0x51689a[_0x2523('0x18')][_0x2523('0x1a')](_0x2523('0x1c')),_0x3e18c9=_0x51689a[_0x2523('0x18')]['get'](_0x2523('0x6'));return _0x147cff[_0x2523('0x15')](_0x2523('0x7'))['to'](_0x2de86a,_0x2523('0x17')),_0x147cff[_0x2523('0x15')](_0x2523('0xb'))['to'](_0x3e18c9,_0x2523('0x17')),_0x147cff[_0x2523('0x15')](_0x2523('0x5'),_0x2523('0x0'),_0x2523('0x1b'),_0x2523('0xa'))['to'](_0x3009f9),this[_0x2523('0x12')](_0x147cff,_0x2523('0x1'),(_0x25291e,_0x32f8db)=>{_0x51689a[_0x2523('0x1')](_0x2523('0x2')===_0x32f8db?_0x2523('0x6'):_0x2523('0x1c'));}),_0x147cff;}),_0x4bbecf[_0x2523('0xf')](),_0x3009f9['on']('change:isReady',(_0x4b8edc,_0x3ac452,_0x1012b4)=>{_0x1012b4?_0x4bbecf['hide']():_0x4bbecf[_0x2523('0xf')]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x193b73,_0x18bc59,_0x3796de){const t=_0x193b73['t'];switch(_0x18bc59){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'},_0x3796de);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3796de);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 _0x18bc59;}}
|