@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20231114.0 → 0.0.0-nightly-20231116.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 _0x34ad=['ck-button-save','submit','element','cancelButtonView','ck-responsive-form','_focusCycler','reset','render','cancel','revisionNameInputValue','ck-revision-history-save-revision-form','220','label','check','locale','arrowright','input','Save','revisionNameInputView','keystrokes','revisionName','_focusables','saveButtonView','_createRevisionNameInput','arrowdown','setTemplate','value','fieldView','_createButton','delegate','form','set','trim','tab','focusTracker','listenTo','extendTemplate','arrowleft','focus'];(function(_0x2dbe71,_0x34ad3e){const _0x21d409=function(_0x57f0ab){while(--_0x57f0ab){_0x2dbe71['push'](_0x2dbe71['shift']());}};_0x21d409(++_0x34ad3e);}(_0x34ad,0x124));const _0x21d4=function(_0x2dbe71,_0x34ad3e){_0x2dbe71=_0x2dbe71-0x0;let _0x21d409=_0x34ad[_0x2dbe71];return _0x21d409;};import{icons as _0xb2918c}from'ckeditor5/src/core';import{ButtonView as _0xfcb609,FocusCycler as _0x423fe8,LabeledFieldView as _0x4fe90c,View as _0x43eabc,ViewCollection as _0x23e527,createLabeledInputText as _0x8c76f7,injectCssTransitionDisabler as _0xe85082,submitHandler as _0x3b28cd}from'ckeditor5/src/ui';import{FocusTracker as _0x19772c,KeystrokeHandler as _0x50ef32}from'ckeditor5/src/utils';import{getTranslation as _0x225a04}from'../../utils/common-translations';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class Nt extends _0x43eabc{constructor(_0x3e5bc9){super(_0x3e5bc9),this[_0x21d4('0xf')]=new _0x19772c(),this[_0x21d4('0x0')]=new _0x50ef32(),this[_0x21d4('0xc')](_0x21d4('0x1d'),''),this[_0x21d4('0x26')]=this[_0x21d4('0x4')](),this[_0x21d4('0x3')]=this['_createButton'](_0x225a04(_0x3e5bc9,_0x21d4('0x25')),_0xb2918c[_0x21d4('0x21')],_0x21d4('0x14')),this['saveButtonView']['type']=_0x21d4('0x15'),this[_0x21d4('0x17')]=this[_0x21d4('0x9')](_0x225a04(_0x3e5bc9,'Cancel'),_0xb2918c[_0x21d4('0x1c')],'ck-button-cancel',_0x21d4('0x1c')),this[_0x21d4('0x2')]=new _0x23e527(),this['_focusCycler']=new _0x423fe8({'focusables':this[_0x21d4('0x2')],'focusTracker':this[_0x21d4('0xf')],'keystrokeHandler':this[_0x21d4('0x0')],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':_0x21d4('0xe')}}),this[_0x21d4('0x6')]({'tag':_0x21d4('0xb'),'attributes':{'class':['ck',_0x21d4('0x1e'),_0x21d4('0x18')],'tabindex':'-1'},'children':[this[_0x21d4('0x26')],this[_0x21d4('0x3')],this['cancelButtonView']]}),_0xe85082(this);}['render'](){super[_0x21d4('0x1b')](),_0x3b28cd({'view':this}),([this['revisionNameInputView'],this[_0x21d4('0x3')],this['cancelButtonView']]['forEach'](_0x114f99=>{this[_0x21d4('0x2')]['add'](_0x114f99),this['focusTracker']['add'](_0x114f99['element']);}),this['keystrokes'][_0x21d4('0x10')](this['element']));const _0x49e547=_0xebb999=>_0xebb999['stopPropagation']();this[_0x21d4('0x0')][_0x21d4('0xc')](_0x21d4('0x23'),_0x49e547),this['keystrokes'][_0x21d4('0xc')](_0x21d4('0x12'),_0x49e547),this['keystrokes']['set']('arrowup',_0x49e547),this['keystrokes'][_0x21d4('0xc')](_0x21d4('0x5'),_0x49e547);}[_0x21d4('0x13')](){this[_0x21d4('0x19')]['focusFirst']();}get[_0x21d4('0x1')](){return this[_0x21d4('0x26')]['fieldView']['element'][_0x21d4('0x7')][_0x21d4('0xd')]();}set[_0x21d4('0x1')](_0x14b91b){this['revisionNameInputView'][_0x21d4('0x8')][_0x21d4('0x16')][_0x21d4('0x7')]=_0x14b91b[_0x21d4('0xd')]();}[_0x21d4('0x1a')](){this[_0x21d4('0x26')][_0x21d4('0x8')][_0x21d4('0x16')][_0x21d4('0x7')]='';}[_0x21d4('0x4')](){const _0x3b3a5e=new _0x4fe90c(this[_0x21d4('0x22')],_0x8c76f7),_0x1edb42=_0x3b3a5e[_0x21d4('0x8')];return _0x1edb42[_0x21d4('0x11')]({'attributes':{'maxlength':_0x21d4('0x1f')}}),_0x3b3a5e[_0x21d4('0x20')]=_0x225a04(this[_0x21d4('0x22')],'Name\x20of\x20the\x20revision\x20(optional)'),_0x1edb42['on'](_0x21d4('0x24'),()=>{this[_0x21d4('0x1d')]=_0x1edb42[_0x21d4('0x16')][_0x21d4('0x7')][_0x21d4('0xd')]();}),_0x3b3a5e;}[_0x21d4('0x9')](_0x5c1627,_0x1fc006,_0x1a0560,_0xb8f7f3){const _0x441d80=new _0xfcb609(this[_0x21d4('0x22')]);return _0x441d80[_0x21d4('0xc')]({'label':_0x5c1627,'icon':_0x1fc006,'tooltip':!0x0}),_0x441d80[_0x21d4('0x11')]({'attributes':{'class':_0x1a0560}}),_0xb8f7f3&&_0x441d80[_0x21d4('0xa')]('execute')['to'](this,_0xb8f7f3),_0x441d80;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30cb=['execute','editor','change:isOpen','bind','showRevisionViewerCallback','addMany','init','children','editing','isReady','items','saveButtonView','Open\x20revision\x20history','revisionHistory','isOpen','componentFactory','Revision\x20history','submit','saveRevision','isReadOnly','cancel','buttonView','set','RevisionTracker','history','remove','render','reset','config','plugins','isEnabled','requires','get','add','pluginName','Save\x20current\x20revision','length'];(function(_0x123e35,_0x30cb76){const _0x5c4851=function(_0x441d60){while(--_0x441d60){_0x123e35['push'](_0x123e35['shift']());}};_0x5c4851(++_0x30cb76);}(_0x30cb,0xb0));const _0x5c48=function(_0x123e35,_0x30cb76){_0x123e35=_0x123e35-0x0;let _0x5c4851=_0x30cb[_0x123e35];return _0x5c4851;};import{Plugin as _0x53cf74,icons as _0x568b6a}from'ckeditor5/src/core';import{ListView as _0x52bf41,ListItemView as _0x24330d,ButtonView as _0x2ad36f,createDropdown as _0x38d952}from'ckeditor5/src/ui';import _0x46c8b8 from'../../revisiontracker';import _0x308e65 from'./revisionhistorysaverevisionformview';import{getTranslation as _0x2b42ec}from'../../utils/common-translations';export default class u extends _0x53cf74{static get[_0x5c48('0x6')](){return'RevisionHistoryUI';}static get[_0x5c48('0x3')](){return[_0x46c8b8];}[_0x5c48('0xf')](){const _0xbc7d2b=this[_0x5c48('0xa')],_0xb0cfa5=_0xbc7d2b[_0x5c48('0x1')][_0x5c48('0x4')](_0x5c48('0x20'));_0xbc7d2b['ui'][_0x5c48('0x18')][_0x5c48('0x5')](_0x5c48('0x16'),_0x5e8761=>{const _0x21cf29=_0x38d952(_0x5e8761),_0xfe9189=_0x21cf29['panelView']['children'],_0x15b633=new _0x52bf41(_0x5e8761),_0x4e091d=new _0x24330d(_0x5e8761),_0x5c63ba=new _0x2ad36f(_0x5e8761),_0x164d0e=new _0x24330d(_0x5e8761),_0x5471db=new _0x2ad36f(_0x5e8761),_0x12961e=new _0x308e65(_0x5e8761);function _0x1c8f15(){_0xfe9189[_0x5c48('0x8')]&&_0xfe9189[_0x5c48('0x22')](0x0),_0xfe9189[_0x5c48('0x5')](_0x15b633);}function _0x2bb818(){_0x21cf29[_0x5c48('0x17')]=!0x1,_0xbc7d2b[_0x5c48('0x11')]['view']['focus']();}return _0x21cf29['bind'](_0x5c48('0x2'))['to'](_0xb0cfa5,_0x5c48('0x12'),_0xb0cfa5,_0x5c48('0x2'),_0xbc7d2b,'isReadOnly',(_0x3da375,_0x27f5a2,_0x1001bd)=>_0x3da375&&_0x27f5a2&&!_0x1001bd),_0x21cf29[_0x5c48('0x1e')]['set']({'icon':_0x568b6a[_0x5c48('0x21')],'label':_0x2b42ec(_0x5e8761,_0x5c48('0x19')),'tooltip':!0x0}),_0x5c63ba['set']({'label':_0x2b42ec(_0x5e8761,_0x5c48('0x7')),'withText':!0x0}),_0x5c63ba[_0x5c48('0xc')](_0x5c48('0x2'))['to'](_0xb0cfa5,_0x5c48('0x12'),_0xb0cfa5,_0x5c48('0x2'),_0xbc7d2b,_0x5c48('0x1c'),(_0x489c9e,_0x487cc0,_0x2cf341)=>_0x489c9e&&_0x487cc0&&!_0x2cf341),_0x5c63ba['on']('execute',()=>function(){_0xfe9189[_0x5c48('0x8')]&&_0xfe9189[_0x5c48('0x22')](0x0),(_0x12961e[_0x5c48('0x24')](),_0xfe9189['add'](_0x12961e),_0x12961e['focus']());}()),_0x5471db[_0x5c48('0x1f')]({'label':_0x2b42ec(_0x5e8761,_0x5c48('0x15')),'withText':!0x0}),_0x5471db['bind']('isEnabled')['to'](_0xb0cfa5,_0x5c48('0x12'),_0xbc7d2b,_0x5c48('0x1c'),(_0x22d5cc,_0x5d92b2)=>_0x22d5cc&&!_0x5d92b2),_0x5471db['on'](_0x5c48('0x9'),()=>{_0xbc7d2b[_0x5c48('0x0')][_0x5c48('0x4')](_0x5c48('0x16'))[_0x5c48('0xd')](),_0x2bb818();}),_0x4e091d[_0x5c48('0x10')][_0x5c48('0x5')](_0x5c63ba),_0x164d0e[_0x5c48('0x10')][_0x5c48('0x5')](_0x5471db),_0x15b633[_0x5c48('0x13')][_0x5c48('0xe')]([_0x4e091d,_0x164d0e]),_0x21cf29['on'](_0x5c48('0xb'),()=>_0x1c8f15()),_0x12961e[_0x5c48('0x14')][_0x5c48('0xc')]('isEnabled')['to'](_0xb0cfa5,_0x5c48('0x12'),_0xb0cfa5,_0x5c48('0x2'),_0xbc7d2b,_0x5c48('0x1c'),(_0x15ee93,_0xfac56e,_0x274e07)=>_0x15ee93&&_0xfac56e&&!_0x274e07),_0x12961e['on'](_0x5c48('0x1a'),()=>(_0xbc7d2b[_0x5c48('0x1')][_0x5c48('0x4')](_0x46c8b8)[_0x5c48('0x1b')]({'name':_0x12961e['revisionName']}),void _0x2bb818())),_0x12961e['on'](_0x5c48('0x1d'),()=>_0x1c8f15()),_0x12961e[_0x5c48('0x23')](),_0x1c8f15(),_0x21cf29;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30ce=['action','plugins','setName','isVisible','_sidebarView','element','isEnabled','add','change:diff','map','init','Compare\x20against\x20selected','editor','getIndex','restoreRevisionCallback','data','_handleDiffChange','length','config','assign','pluginName','nameRevision','locale','compare','repository','name','Name\x20this\x20revision','_handleRevisionSetName','getRevision','_handleRevisionSelected','getLaterVisibleRevision','revisionSetName','_revisions','destroy','_handleEditorDataReady','_createRevisionActions','select','revisionViews','defaultRevisionActions','Restore\x20this\x20revision','_revisionsRepository','bind','diff','requires','selectRevision','string','highlightRevisions','isReady','availableRevisionActions','restoreRevision','_revisionViewer','get','getRevisionsInDiff','RevisionsSidebar','isSelected','ready','render','remove','getEarlierVisibleRevision','appendChild','newRevisionId','compareAgainstSelected'];(function(_0xf77e5c,_0x30ce70){const _0x2aab14=function(_0x7e755e){while(--_0x7e755e){_0xf77e5c['push'](_0xf77e5c['shift']());}};_0x2aab14(++_0x30ce70);}(_0x30ce,0xa5));const _0x2aab=function(_0xf77e5c,_0x30ce70){_0xf77e5c=_0xf77e5c-0x0;let _0x2aab14=_0x30ce[_0xf77e5c];return _0x2aab14;};import{Plugin as _0x1c6c60}from'ckeditor5/src/core';import _0x3cc537 from'./revisionssidebarview';import _0x932325 from'../../revisionviewer';export default class w extends _0x1c6c60{static get[_0x2aab('0x29')](){return _0x2aab('0xc');}static get[_0x2aab('0x2')](){return[_0x932325];}constructor(_0x32a33e){super(_0x32a33e),this['_revisionViewer']=_0x32a33e[_0x2aab('0x16')]['get'](_0x932325),this['_revisionsRepository']=this['_revisionViewer']['repository'],this[_0x2aab('0x19')]=null;}[_0x2aab('0x1f')](){const _0x51b5f5=this[_0x2aab('0x3d')][_0x2aab('0x35')],_0x27bcad=this[_0x2aab('0x38')](),_0x43ac10=this[_0x2aab('0x21')]['config']['get']('revisionHistory.viewerSidebarContainer');this[_0x2aab('0x19')]=new _0x3cc537(this[_0x2aab('0x21')][_0x2aab('0x2b')],_0x51b5f5,_0x27bcad),this[_0x2aab('0x19')]['on']('revisionSelected',this[_0x2aab('0x32')][_0x2aab('0x0')](this)),this[_0x2aab('0x19')]['on'](_0x2aab('0x34'),this[_0x2aab('0x30')][_0x2aab('0x0')](this)),this[_0x2aab('0x19')][_0x2aab('0x0')](_0x2aab('0x1b'))['to'](this[_0x2aab('0x9')]),this[_0x2aab('0x19')]['timePeriodViews']['on'](_0x2aab('0x1c'),(_0x1f1d56,_0x38237f)=>{_0x38237f[_0x2aab('0x3a')]['on'](_0x2aab('0x1c'),(_0x5129d6,_0x33fa31)=>{_0x33fa31[_0x2aab('0x0')](_0x2aab('0x1b'),_0x2aab('0x6'))['to'](this['_revisionViewer']);});}),this[_0x2aab('0x19')][_0x2aab('0xf')](),this['listenTo'](this[_0x2aab('0x21')][_0x2aab('0x24')],_0x2aab('0xe'),this[_0x2aab('0x37')][_0x2aab('0x0')](this)),this['listenTo'](this['_revisionViewer'],_0x2aab('0x1d'),this[_0x2aab('0x25')][_0x2aab('0x0')](this)),_0x43ac10[_0x2aab('0x12')](this[_0x2aab('0x19')]['element']);}[_0x2aab('0x36')](){this[_0x2aab('0x19')][_0x2aab('0x1a')][_0x2aab('0x10')](),this[_0x2aab('0x19')][_0x2aab('0x36')]();}['_handleEditorDataReady'](){const _0x2b8358=this[_0x2aab('0x3d')][_0x2aab('0x31')](0x0);if(_0x2b8358){const _0x237168=this[_0x2aab('0x3d')][_0x2aab('0x11')](_0x2b8358['id']);this['_revisionViewer'][_0x2aab('0x2c')](_0x2b8358,_0x237168);}}[_0x2aab('0x32')](_0x4701f3,_0x5836d2){const _0x2bfd53=this[_0x2aab('0x3d')][_0x2aab('0x31')](_0x5836d2['id']),_0x23c7bc=this['_revisionsRepository'][_0x2aab('0x11')](_0x2bfd53['id']);this[_0x2aab('0x9')][_0x2aab('0x2c')](_0x2bfd53,_0x23c7bc);}[_0x2aab('0x30')](_0x450f6b,_0x5e187e){this[_0x2aab('0x3d')][_0x2aab('0x31')](_0x5e187e['id'])[_0x2aab('0x17')](_0x5e187e[_0x2aab('0x2e')]);}[_0x2aab('0x25')](_0x4624a8,_0x151a1d,_0x53c82b){const _0x53304d=this['_revisionsRepository'][_0x2aab('0xb')](_0x53c82b);_0x53304d['length']>0x2?(this[_0x2aab('0x19')][_0x2aab('0x5')](_0x53304d),this[_0x2aab('0x19')][_0x2aab('0x3')](null)):(this[_0x2aab('0x19')][_0x2aab('0x5')]([]),this['_sidebarView'][_0x2aab('0x3')](_0x53304d[0x0]));}[_0x2aab('0x38')](){const _0x1ec800=this[_0x2aab('0x21')],_0x3c6744=w[_0x2aab('0x7')],_0x13281b=_0x1ec800[_0x2aab('0x27')][_0x2aab('0xa')]('revisionHistory.revisionActions')||w[_0x2aab('0x3b')];if(_0x13281b['length'])return _0x13281b[_0x2aab('0x1e')](_0x19d370=>{const _0x39027d=_0x2aab('0x4')==typeof _0x19d370?Object[_0x2aab('0x28')]({},_0x3c6744[_0x19d370]):_0x19d370;return _0x39027d[_0x2aab('0x15')]=_0x39027d['action'][_0x2aab('0x0')](this,_0x1ec800),_0x39027d[_0x2aab('0x18')]&&(_0x39027d[_0x2aab('0x18')]=_0x39027d[_0x2aab('0x18')]['bind'](this,_0x1ec800)),_0x39027d;});}}w['availableRevisionActions']={'compareAgainstSelected':{'name':_0x2aab('0x20'),'action':({plugins:_0x3837a8},_0x1ba4f2)=>{const _0x3ebe1a=_0x3837a8['get'](_0x932325),_0x4ed34d=_0x3ebe1a['repository'];let _0x8aa963=_0x3ebe1a[_0x2aab('0x1')][_0x2aab('0x13')],_0x3133ae=_0x1ba4f2['id'];_0x4ed34d[_0x2aab('0x22')](_0x8aa963)>_0x4ed34d[_0x2aab('0x22')](_0x3133ae)&&([_0x8aa963,_0x3133ae]=[_0x3133ae,_0x8aa963]),_0x3ebe1a[_0x2aab('0x2c')](_0x8aa963,_0x3133ae);},'isVisible':({plugins:_0x58c7a8},_0xe4c08)=>{const _0x43efa1=_0x58c7a8[_0x2aab('0xa')](_0x932325);return!(_0x43efa1['repository'][_0x2aab('0xb')](_0x43efa1[_0x2aab('0x1')])[_0x2aab('0x26')]>0x2)&&!_0xe4c08[_0x2aab('0xd')];}},'restoreRevision':{'name':_0x2aab('0x3c'),'action':(_0x4e46a7,{id:_0x45f3c1})=>{_0x4e46a7[_0x2aab('0x27')][_0x2aab('0xa')]('revisionHistory')[_0x2aab('0x23')](_0x45f3c1);},'isVisible':({plugins:_0x34a2e3},_0x147518)=>!!_0x34a2e3[_0x2aab('0xa')](_0x932325)[_0x2aab('0x2d')][_0x2aab('0x33')](_0x147518['id'])},'nameRevision':{'name':_0x2aab('0x2f'),'action':({plugins:_0x4dd3a5},{id:_0x562cfd,revisionNameView:_0x276a65})=>{const _0x382f5b=_0x4dd3a5[_0x2aab('0xa')](_0x932325),_0x1a92e4=_0x382f5b[_0x2aab('0x2d')][_0x2aab('0x11')](_0x562cfd);_0x382f5b['compare'](_0x562cfd,_0x1a92e4),_0x276a65['focus'](),_0x276a65['fieldView'][_0x2aab('0x39')]();}}},w[_0x2aab('0x3b')]=[_0x2aab('0x14'),_0x2aab('0x8'),_0x2aab('0x2a')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5845=['Revision\x20history','span','content','setTemplate','history','ck-reset_all','div'];(function(_0x596f90,_0x5845b8){const _0xb11f3b=function(_0x44e3e7){while(--_0x44e3e7){_0x596f90['push'](_0x596f90['shift']());}};_0xb11f3b(++_0x5845b8);}(_0x5845,0x1dc));const _0xb11f=function(_0x596f90,_0x5845b8){_0x596f90=_0x596f90-0x0;let _0xb11f3b=_0x5845[_0x596f90];return _0xb11f3b;};import{View as _0x32f5d1,IconView as _0x26ce00}from'ckeditor5/src/ui';import{getTranslation as _0x1fa20b}from'../../utils/common-translations';import{icons as _0x583360}from'ckeditor5/src/core';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class rr extends _0x32f5d1{constructor(_0x5d7fc7){super(_0x5d7fc7);const _0x12463e=new _0x26ce00();_0x12463e[_0xb11f('0x2')]=_0x583360[_0xb11f('0x4')],this[_0xb11f('0x3')]({'tag':_0xb11f('0x6'),'attributes':{'class':['ck',_0xb11f('0x5'),'ck-revision-history-sidebar__header']},'children':[_0x12463e,{'tag':_0xb11f('0x1'),'attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x1fa20b(_0x5d7fc7,_0xb11f('0x0'))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c53=['span','removeRevision','createCollection','_revisionActions','ck-revision-history-sidebar__time-period__revisions','locale','ck-revision-history-sidebar__time-period__label','select','add','setTemplate','div','setName','delegate','remove','revisionViews','uiLanguage','startDate','addRevision'];(function(_0x2781ba,_0x5c535e){const _0x3c1f5b=function(_0x4b2cca){while(--_0x4b2cca){_0x2781ba['push'](_0x2781ba['shift']());}};_0x3c1f5b(++_0x5c535e);}(_0x5c53,0x10a));const _0x3c1f=function(_0x2781ba,_0x5c535e){_0x2781ba=_0x2781ba-0x0;let _0x3c1f5b=_0x5c53[_0x2781ba];return _0x3c1f5b;};import{View as _0x47a87d}from'ckeditor5/src/ui';import _0x58910e from'../revision/revisionview';import{getDateTimePeriodInfo as _0x27507e}from'./utils';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class pi extends _0x47a87d{constructor(_0x31077f,_0x3d987c,_0x51e3){super(_0x31077f);const _0x4822e0=_0x27507e(_0x3d987c,this[_0x3c1f('0x9')][_0x3c1f('0x1')])['localizedPeriodName'];this[_0x3c1f('0x2')]=_0x3d987c,this[_0x3c1f('0x0')]=this[_0x3c1f('0x6')](),this[_0x3c1f('0x7')]=_0x51e3,this[_0x3c1f('0x0')][_0x3c1f('0x10')](_0x3c1f('0xb'))['to'](this),this[_0x3c1f('0x0')]['delegate'](_0x3c1f('0xf'))['to'](this),this[_0x3c1f('0xd')]({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':_0x3c1f('0x4'),'attributes':{'class':['ck',_0x3c1f('0xa')]},'children':[{'text':_0x4822e0}]},{'tag':_0x3c1f('0xe'),'attributes':{'class':['ck',_0x3c1f('0x8')]},'children':this[_0x3c1f('0x0')]}]});}[_0x3c1f('0x3')](_0x2937d0){const _0x23b820=new _0x58910e(this[_0x3c1f('0x9')],_0x2937d0,this[_0x3c1f('0x7')]);this[_0x3c1f('0x0')][_0x3c1f('0xc')](_0x23b820);}[_0x3c1f('0x5')](_0x415888){const _0x4bf30d=this[_0x3c1f('0x0')]['find'](_0xa90849=>_0xa90849['id']===_0x415888['id']);this[_0x3c1f('0x0')][_0x3c1f('0x11')](_0x4bf30d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49c0=['select','render','bindTemplate','timePeriodViews','find','add','_removeRevision','_addRevision','_revisions','startDate','highlight','highlightRevisions','setName','get','delegate','ck-rounded-corners','_getTimePeriodViewByStartDate','revisionViews','_revisionActions','deselect','div','ck-revision-history-sidebar','uiLanguage','createCollection','flat','selectRevision','createdAt','removeRevision','map','fire','setTemplate','revisionSelected','set','locale','ck-reset','isEnabled','ck-disabled','getTime','remove','ck-revision-history-sidebar__timeline','some'];(function(_0x5d3ba0,_0x49c013){const _0x180bde=function(_0x16fc75){while(--_0x16fc75){_0x5d3ba0['push'](_0x5d3ba0['shift']());}};_0x180bde(++_0x49c013);}(_0x49c0,0x1ec));const _0x180b=function(_0x5d3ba0,_0x49c013){_0x5d3ba0=_0x5d3ba0-0x0;let _0x180bde=_0x49c0[_0x5d3ba0];return _0x180bde;};import{View as _0x5a3dbc}from'ckeditor5/src/ui';import _0x1d4b45 from'./revisionssidebartimeperiodview';import _0x519e35 from'./revisionssidebarheaderview';import{getDateTimePeriodInfo as _0x1dde3b}from'./utils';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class vi extends _0x5a3dbc{constructor(_0x1c188e,_0x13937f,_0x1be31b){super(_0x1c188e);const _0x98c2d6=this[_0x180b('0x2')];this[_0x180b('0x3')]=this[_0x180b('0x17')](),this['timePeriodViews']['delegate']('select')['to'](this),this[_0x180b('0x3')][_0x180b('0xe')](_0x180b('0xc'))['to'](this),this[_0x180b('0x8')]=_0x13937f,this[_0x180b('0x12')]=_0x1be31b,this['on'](_0x180b('0x0'),(_0xeedf3e,_0x52fa69)=>{this[_0x180b('0x1d')](_0x180b('0x1f'),_0x52fa69);}),this['on'](_0x180b('0xc'),(_0x29d64c,_0x46d460)=>{this['fire']('revisionSetName',_0x46d460);}),this[_0x180b('0x20')](_0x180b('0x23'),!0x1),this[_0x180b('0x1e')]({'tag':_0x180b('0x14'),'attributes':{'class':['ck',_0x180b('0x22'),_0x180b('0xf'),_0x180b('0x15')]},'children':[new _0x519e35(_0x1c188e),{'tag':_0x180b('0x14'),'attributes':{'class':['ck',_0x180b('0x27'),_0x98c2d6['if'](_0x180b('0x23'),_0x180b('0x24'),_0x2e019f=>!_0x2e019f)]},'children':this[_0x180b('0x3')]}]});}[_0x180b('0x1')](){super[_0x180b('0x1')]();for(const _0xe5718d of this[_0x180b('0x8')])this['_addRevision'](_0xe5718d);this[_0x180b('0x8')]['on'](_0x180b('0x5'),(_0x3d710c,_0x533900)=>{this[_0x180b('0x7')](_0x533900);}),this[_0x180b('0x8')]['on'](_0x180b('0x26'),(_0x134edc,_0x54f408)=>{this[_0x180b('0x6')](_0x54f408);});}get['revisionViews'](){return this[_0x180b('0x3')][_0x180b('0x1c')](_0x2ca3af=>_0x2ca3af['revisionViews'][_0x180b('0x1c')](_0x7bee28=>_0x7bee28))[_0x180b('0x18')]();}[_0x180b('0x19')](_0xcb7ac2){for(const _0x200774 of this[_0x180b('0x11')])_0xcb7ac2&&_0xcb7ac2['id']===_0x200774['id']?_0x200774['select']():_0x200774[_0x180b('0x13')]();}[_0x180b('0xb')](_0x38044c){for(const _0x41f8f0 of this[_0x180b('0x11')])_0x38044c[_0x180b('0x28')](({id:_0x169164})=>_0x169164===_0x41f8f0['id'])?_0x41f8f0[_0x180b('0xa')]():_0x41f8f0['unhighlight']();}[_0x180b('0x7')](_0x3dd660){const _0x249bf6=_0x1dde3b(_0x3dd660[_0x180b('0x1a')],this[_0x180b('0x21')][_0x180b('0x16')])[_0x180b('0x9')];let _0x2011db=this[_0x180b('0x3')][_0x180b('0xd')](0x0);_0x2011db&&_0x2011db[_0x180b('0x9')][_0x180b('0x25')]()===_0x249bf6[_0x180b('0x25')]()||(_0x2011db=new _0x1d4b45(this['locale'],_0x249bf6,this[_0x180b('0x12')]),this[_0x180b('0x3')][_0x180b('0x5')](_0x2011db)),_0x2011db['addRevision'](_0x3dd660);}['_removeRevision'](_0x3c5f3f){const _0x2177a2=_0x1dde3b(_0x3c5f3f[_0x180b('0x1a')],this[_0x180b('0x21')][_0x180b('0x16')])[_0x180b('0x9')];this[_0x180b('0x10')](_0x2177a2)[_0x180b('0x1b')](_0x3c5f3f);}['_getTimePeriodViewByStartDate'](_0x2b380f){return this['timePeriodViews'][_0x180b('0x4')](_0x4f2c34=>_0x4f2c34['startDate'][_0x180b('0x25')]()===_0x2b380f[_0x180b('0x25')]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x93a3=['day','year','toJSDate','week','hasSame','toRelativeCalendar','monthLong','month','startOf','fromJSDate','local','weekdayLong','minus'];(function(_0x416682,_0x93a3e1){const _0x1ff36e=function(_0x38169a){while(--_0x38169a){_0x416682['push'](_0x416682['shift']());}};_0x1ff36e(++_0x93a3e1);}(_0x93a3,0x176));const _0x1ff3=function(_0x416682,_0x93a3e1){_0x416682=_0x416682-0x0;let _0x1ff36e=_0x93a3[_0x416682];return _0x1ff36e;};import{DateTime as _0x5dd2e0}from'luxon';export function getDateTimePeriodInfo(_0x3457f3,_0x1548d4){const _0x5d622f=_0x5dd2e0[_0x1ff3('0xc')](_0x3457f3)['setLocale'](_0x1548d4),_0x44d40e=_0x5dd2e0[_0x1ff3('0x0')](),_0x4620bc=_0x44d40e[_0x1ff3('0x2')]({'days':0x1})[_0x1ff3('0xb')]('day');let _0x32187d,_0x5033d8;return _0x5d622f[_0x1ff3('0x7')](_0x44d40e,_0x1ff3('0x3'))?(_0x32187d=_0x5d622f[_0x1ff3('0xb')](_0x1ff3('0x3'))[_0x1ff3('0x5')](),_0x5033d8=_0x5d622f['toRelativeCalendar']()):_0x5d622f['hasSame'](_0x4620bc,_0x1ff3('0x3'))?(_0x32187d=_0x4620bc['toJSDate'](),_0x5033d8=_0x5d622f[_0x1ff3('0x8')]()):_0x5d622f['hasSame'](_0x44d40e,'week')?(_0x32187d=_0x5d622f[_0x1ff3('0xb')](_0x1ff3('0x6'))['toJSDate'](),_0x5033d8=_0x5d622f[_0x1ff3('0x1')]||''):_0x5d622f['hasSame'](_0x44d40e,'year')?(_0x32187d=_0x5d622f[_0x1ff3('0xb')](_0x1ff3('0xa'))[_0x1ff3('0x5')](),_0x5033d8=_0x5d622f[_0x1ff3('0x9')]||''):(_0x32187d=_0x5d622f[_0x1ff3('0xb')]('year')[_0x1ff3('0x5')](),_0x5033d8=String(_0x5d622f[_0x1ff3('0x4')])),{'startDate':_0x32187d,'localizedPeriodName':_0x5033d8};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3427=['ck-revision-change__','changeId','Removed\x20by','ck-annotation','data','element','isSuggestion','type','focus','Added\x20by','set','_model','div','bindTemplate','ck-revision-change__label','add','setTemplate','ck-revision-change'];(function(_0x3267c2,_0x3427cb){const _0x2b3d5d=function(_0x46f60f){while(--_0x46f60f){_0x3267c2['push'](_0x3267c2['shift']());}};_0x2b3d5d(++_0x3427cb);}(_0x3427,0x137));const _0x2b3d=function(_0x3267c2,_0x3427cb){_0x3267c2=_0x3267c2-0x0;let _0x2b3d5d=_0x3427[_0x3267c2];return _0x2b3d5d;};import{View as _0x25a828}from'ckeditor5/src/ui';import{getTranslation as _0xe398e8}from'../../utils/common-translations';export default class Z extends _0x25a828{constructor(_0x3d0f9c,_0xeb304a){super(_0x3d0f9c),this[_0x2b3d('0x6')]=_0xeb304a,this[_0x2b3d('0xe')]=_0xeb304a['id'];const _0x124926=this[_0x2b3d('0x8')],_0x43db24=_0xe398e8(_0x3d0f9c,_0xeb304a[_0x2b3d('0x11')][_0x2b3d('0x1')]?'Suggested\x20by':_0x2b3d('0xa')==_0xeb304a[_0x2b3d('0x2')]?_0x2b3d('0x4'):_0x2b3d('0xf'));this[_0x2b3d('0x5')](_0x2b3d('0x2'),_0xeb304a[_0x2b3d('0x2')]),this[_0x2b3d('0xb')]({'tag':_0x2b3d('0x7'),'attributes':{'class':[_0x2b3d('0x10'),_0x2b3d('0xc'),_0x124926['to']('type',_0x43b118=>_0x2b3d('0xd')+_0x43b118)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':[_0x2b3d('0x9')]},'children':[{'text':_0x43db24}]},{'text':'\x20'+_0xeb304a['author']['name']}]}]});}[_0x2b3d('0x3')](){this[_0x2b3d('0x0')][_0x2b3d('0x3')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x342a=['isEnabled','bind','ck-revision-history-ui__changes-navigation','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','ck-revision-history-ui','isBackwardNavigationEnabled','fire','set','EDIT_X_OF_Y_REVISIONS','forward','ck-revision-history-ui__changes-navigation__label','isNavigationMode','isForwardNavigationEnabled','ck-hidden','_isStatusLabelVisible','backward','setTemplate','span','No\x20changes','Total','isReady','_statusText','numberOfChanges','Show\x20next\x20change','currentChangeNumber','div','X_OF_Y_CHANGES','execute','ck-revision-history-ui__changes-navigation__wrapper'];(function(_0x23b4b9,_0x342a05){const _0x2db319=function(_0x5e7307){while(--_0x5e7307){_0x23b4b9['push'](_0x23b4b9['shift']());}};_0x2db319(++_0x342a05);}(_0x342a,0xfa));const _0x2db3=function(_0x23b4b9,_0x342a05){_0x23b4b9=_0x23b4b9-0x0;let _0x2db319=_0x342a[_0x23b4b9];return _0x2db319;};import{View as _0x392e43,ButtonView as _0x43c7ce,ToolbarSeparatorView as _0x5eacaa}from'ckeditor5/src/ui';import{getTranslation as _0xac0744}from'../../utils/common-translations';import _0x2d6abd from'../../../theme/icons/arrow-up.svg';import _0x51a13f from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class bi extends _0x392e43{constructor(_0x579f2d){super(_0x579f2d);const _0xb3380d=this[_0x2db3('0x18')],_0x23c5c5=new _0x43c7ce(_0x579f2d),_0x54529f=new _0x43c7ce(_0x579f2d);this[_0x2db3('0x1c')]('isNavigationMode',!0x1),this[_0x2db3('0x1c')](_0x2db3('0xb'),!0x1),this[_0x2db3('0x1c')]('currentChangeNumber',0x0),this['set'](_0x2db3('0xd'),0x0),this['set'](_0x2db3('0x3'),!0x1),this['set'](_0x2db3('0x1a'),!0x1),this[_0x2db3('0x15')](_0x2db3('0x5'))['to'](this,_0x2db3('0xb'),this,_0x2db3('0xd'),(_0x569b52,_0x2c223d)=>_0x569b52&&_0x2c223d>0x0),this['bind'](_0x2db3('0xc'))['to'](this,_0x2db3('0xb'),this,_0x2db3('0xf'),this,'numberOfChanges',this,_0x2db3('0x2'),(_0x5b4ff0,_0x101b8d,_0x4be160,_0x367e15)=>{if(!_0x5b4ff0)return _0xac0744(_0x579f2d,'Loading...');if(!_0x4be160)return _0xac0744(_0x579f2d,_0x2db3('0x9'));const _0x2284ad=_0xac0744(_0x579f2d,'NUMBER_OF_CHANGES',_0x4be160);return _0x367e15?_0xac0744(_0x579f2d,_0x2db3('0x11'),[_0x101b8d+0x1,_0x4be160]):_0x2284ad;}),_0x23c5c5[_0x2db3('0x1c')]({'label':_0xac0744(_0x579f2d,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x2d6abd}),_0x54529f[_0x2db3('0x1c')]({'label':_0xac0744(_0x579f2d,_0x2db3('0xe')),'tooltip':!0x0,'icon':_0x51a13f}),_0x23c5c5[_0x2db3('0x15')](_0x2db3('0x14'))['to'](this,_0x2db3('0x1a')),_0x54529f[_0x2db3('0x15')](_0x2db3('0x14'))['to'](this,_0x2db3('0x3')),_0x23c5c5['on']('execute',()=>this[_0x2db3('0x1b')]('execute',_0x2db3('0x6'))),_0x54529f['on'](_0x2db3('0x12'),()=>this[_0x2db3('0x1b')](_0x2db3('0x12'),_0x2db3('0x0'))),this[_0x2db3('0x7')]({'tag':_0x2db3('0x10'),'attributes':{'class':['ck',_0x2db3('0x19'),_0x2db3('0x16')]},'children':[{'tag':_0x2db3('0x8'),'attributes':{'class':[_0x2db3('0x13')]},'children':[{'tag':_0x2db3('0x8'),'attributes':{'class':[_0x2db3('0x1'),_0xb3380d['if'](_0x2db3('0x5'),_0x2db3('0x4'),_0x3ebc2d=>!_0x3ebc2d)]},'children':[{'text':_0xb3380d['to'](_0x2db3('0x2'),_0x285115=>_0x285115?_0xac0744(_0x579f2d,_0x2db3('0x1d'))+':\x20':_0xac0744(_0x579f2d,_0x2db3('0xa'))+':\x20')}]},{'text':_0xb3380d['to'](_0x2db3('0xc'))}]},new _0x5eacaa(),{'tag':_0x2db3('0x10'),'attributes':{'class':[_0x2db3('0x17')]},'children':[_0x23c5c5,_0x54529f]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x324b=['removeClass','view','ck-editor__editable__loading-overlay','editor','addClass','pluginName','RevisionViewerLoadingOverlay','roots','change','editing','show'];(function(_0x2f1e7f,_0x324bcf){const _0x22b5a2=function(_0x509f21){while(--_0x509f21){_0x2f1e7f['push'](_0x2f1e7f['shift']());}};_0x22b5a2(++_0x324bcf);}(_0x324b,0x12a));const _0x22b5=function(_0x2f1e7f,_0x324bcf){_0x2f1e7f=_0x2f1e7f-0x0;let _0x22b5a2=_0x324b[_0x2f1e7f];return _0x22b5a2;};import{Plugin as _0x5df57b}from'ckeditor5/src/core';const oe=_0x22b5('0x1');import'../../../theme/revisionviewerloadingoverlay.css';export default class te extends _0x5df57b{static get[_0x22b5('0x4')](){return _0x22b5('0x5');}[_0x22b5('0x9')](){const _0x46a690=this[_0x22b5('0x2')]['editing'][_0x22b5('0x0')];_0x46a690[_0x22b5('0x7')](_0x100de5=>{for(const _0x248d7c of _0x46a690['document'][_0x22b5('0x6')])_0x100de5[_0x22b5('0x3')](oe,_0x248d7c);});}['hide'](){const _0x2736a9=this[_0x22b5('0x2')][_0x22b5('0x8')][_0x22b5('0x0')];_0x2736a9[_0x22b5('0x7')](_0x3e28f8=>{for(const _0x472a51 of _0x2736a9['document'][_0x22b5('0x6')])_0x3e28f8[_0x22b5('0xa')](oe,_0x472a51);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57cc=['isEnabled','hide','execute','showPreviousChange','set','get','restoreRevision','isForwardNavigationEnabled','add','revisionHistory','pluginName','RevisionViewerUI','change:isReady','closeRevisionViewerCallback','show','forward','bind','showNextChange','listenTo','Back\x20to\x20editing','commands','exitToEditing','componentFactory','isNavigationMode','plugins','isBackwardNavigationEnabled'];(function(_0x33a6c3,_0x57cc8a){const _0x45bfae=function(_0x264ce1){while(--_0x264ce1){_0x33a6c3['push'](_0x33a6c3['shift']());}};_0x45bfae(++_0x57cc8a);}(_0x57cc,0x13d));const _0x45bf=function(_0x33a6c3,_0x57cc8a){_0x33a6c3=_0x33a6c3-0x0;let _0x45bfae=_0x57cc[_0x33a6c3];return _0x45bfae;};import{Plugin as _0x440a4a}from'ckeditor5/src/core';import{ButtonView as _0x401df2}from'ckeditor5/src/ui';import _0x3b517c from'./changesnavigationview';import _0x4bb4b0 from'./../../revisionviewer';import _0x2a3b09 from'./revisionviewerloadingoverlay';import{getTranslation as _0x33e199}from'../../utils/common-translations';import _0x2833f6 from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x440a4a{static get[_0x45bf('0x5')](){return _0x45bf('0x6');}static get['requires'](){return[_0x4bb4b0,_0x2a3b09];}['init'](){const _0x50bcab=this['editor'],_0x45dffb=_0x50bcab[_0x45bf('0x13')][_0x45bf('0x0')](_0x4bb4b0),_0x13b836=_0x50bcab[_0x45bf('0x13')][_0x45bf('0x0')](_0x2a3b09);_0x50bcab['ui'][_0x45bf('0x11')][_0x45bf('0x3')](_0x45bf('0x10'),_0xb90e71=>{const _0x54ba78=new _0x401df2(_0xb90e71);return _0x54ba78[_0x45bf('0x19')]({'label':_0x33e199(_0xb90e71,_0x45bf('0xe')),'icon':_0x2833f6,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x45bf('0xd')](_0x54ba78,_0x45bf('0x17'),()=>{_0x50bcab['config'][_0x45bf('0x0')](_0x45bf('0x4'))[_0x45bf('0x8')]();}),_0x54ba78;}),_0x50bcab['ui'][_0x45bf('0x11')]['add'](_0x45bf('0x1'),_0x28e7bd=>{const _0x83b01f=new _0x401df2(_0x28e7bd);return _0x83b01f['set']({'label':_0x33e199(_0x28e7bd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x83b01f['bind']('isEnabled')['to'](_0x50bcab[_0x45bf('0xf')][_0x45bf('0x0')](_0x45bf('0x1'))),this[_0x45bf('0xd')](_0x83b01f,_0x45bf('0x17'),()=>_0x50bcab[_0x45bf('0x17')](_0x45bf('0x1'))),_0x83b01f;}),_0x50bcab['ui']['componentFactory'][_0x45bf('0x3')]('changesNavigation',_0x247236=>{const _0x228500=new _0x3b517c(_0x247236),_0x216f69=_0x50bcab[_0x45bf('0xf')]['get'](_0x45bf('0x18')),_0x325f4c=_0x50bcab[_0x45bf('0xf')][_0x45bf('0x0')](_0x45bf('0xc'));return _0x228500[_0x45bf('0xb')](_0x45bf('0x14'))['to'](_0x216f69,_0x45bf('0x15')),_0x228500['bind'](_0x45bf('0x2'))['to'](_0x325f4c,'isEnabled'),_0x228500[_0x45bf('0xb')]('isReady','currentChangeNumber','numberOfChanges',_0x45bf('0x12'))['to'](_0x45dffb),this[_0x45bf('0xd')](_0x228500,_0x45bf('0x17'),(_0x102be0,_0x3ebc26)=>{_0x50bcab['execute'](_0x45bf('0xa')===_0x3ebc26?_0x45bf('0xc'):_0x45bf('0x18'));}),_0x228500;}),_0x13b836['show'](),_0x45dffb['on'](_0x45bf('0x7'),(_0x2e0b43,_0x22d4c2,_0x15528b)=>{_0x15528b?_0x13b836[_0x45bf('0x16')]():_0x13b836[_0x45bf('0x9')]();});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x131605,_0x20a4a7,_0x5d813e){const t=_0x131605['t'];switch(_0x20a4a7){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'},_0x5d813e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5d813e);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 _0x20a4a7;}}
|