@ckeditor/ckeditor5-revision-history 47.4.0-alpha.6 → 47.4.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/dist/index.js +7 -7
- package/package.json +12 -12
- 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 +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- 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/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x6790aa=_0xd473;(function(_0x1ad936,_0x2bb154){const _0x2fd498=_0xd473,_0x2eb839=_0x1ad936();while(!![]){try{const _0x42455d=-parseInt(_0x2fd498(0x132))/0x1*(-parseInt(_0x2fd498(0x11f))/0x2)+parseInt(_0x2fd498(0x12e))/0x3*(-parseInt(_0x2fd498(0x125))/0x4)+-parseInt(_0x2fd498(0x11b))/0x5*(parseInt(_0x2fd498(0x113))/0x6)+parseInt(_0x2fd498(0x12f))/0x7+-parseInt(_0x2fd498(0x124))/0x8+-parseInt(_0x2fd498(0x119))/0x9+parseInt(_0x2fd498(0x123))/0xa;if(_0x42455d===_0x2bb154)break;else _0x2eb839['push'](_0x2eb839['shift']());}catch(_0x4d73bb){_0x2eb839['push'](_0x2eb839['shift']());}}}(_0x3153,0x5e3b2));import{View as _0x562066}from'ckeditor5/src/ui.js';import{getTranslation as _0x2728f8}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x562066{[_0x6790aa(0x130)];[_0x6790aa(0x127)];constructor(_0x4b8db5,_0x25db1f){const _0x5578d4=_0x6790aa;super(_0x4b8db5),this[_0x5578d4(0x127)]=_0x25db1f,this[_0x5578d4(0x130)]=_0x25db1f['id'];const _0x40bce1=this[_0x5578d4(0x121)],_0x460e83=_0x2728f8(_0x4b8db5,_0x25db1f[_0x5578d4(0x131)][_0x5578d4(0x11c)]?_0x5578d4(0x118):_0x5578d4(0x126)==_0x25db1f[_0x5578d4(0x120)]?_0x5578d4(0x122):_0x5578d4(0x12d));this[_0x5578d4(0x11d)](_0x5578d4(0x120),_0x25db1f[_0x5578d4(0x120)]),this[_0x5578d4(0x117)]({'tag':_0x5578d4(0x11a),'attributes':{'class':[_0x5578d4(0x114),_0x5578d4(0x116),_0x40bce1['to'](_0x5578d4(0x120),_0x31d658=>_0x5578d4(0x128)+_0x31d658)],'tabindex':-0x1},'children':[{'tag':_0x5578d4(0x129),'children':[{'tag':_0x5578d4(0x129),'attributes':{'class':[_0x5578d4(0x12a)]},'children':[{'text':_0x460e83}]},{'text':'\x20'+_0x25db1f[_0x5578d4(0x12b)][_0x5578d4(0x11e)]}]}]});}[_0x6790aa(0x12c)](){const _0x2c633a=_0x6790aa;this[_0x2c633a(0x115)][_0x2c633a(0x12c)]();}}function _0xd473(_0x3f2478,_0x55f14d){const _0x31539b=_0x3153();return _0xd473=function(_0xd473c8,_0x40227a){_0xd473c8=_0xd473c8-0x113;let _0x510cf5=_0x31539b[_0xd473c8];return _0x510cf5;},_0xd473(_0x3f2478,_0x55f14d);}function _0x3153(){const _0x3dfa78=['focus','Removed\x20by','189qaqclr','316120YyHAnJ','changeId','data','86881fQBvHS','258438cThWyA','ck-annotation','element','ck-revision-change','setTemplate','Suggested\x20by','5136147gGrhSz','div','50QYzbEl','isSuggestion','set','name','14nNzuBE','type','bindTemplate','Added\x20by','19634150ylqWmx','3686576FUhElW','48796ytJees','add','_model','ck-revision-change__','span','ck-revision-change__label','author'];_0x3153=function(){return _0x3dfa78;};return _0x3153();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2e808b,_0x3e4860){const _0x3fd1ff=_0x558b,_0x275b2e=_0x2e808b();while(!![]){try{const _0x94e890=parseInt(_0x3fd1ff(0x192))/0x1*(parseInt(_0x3fd1ff(0x173))/0x2)+parseInt(_0x3fd1ff(0x178))/0x3*(-parseInt(_0x3fd1ff(0x199))/0x4)+parseInt(_0x3fd1ff(0x17d))/0x5*(parseInt(_0x3fd1ff(0x175))/0x6)+parseInt(_0x3fd1ff(0x18f))/0x7+parseInt(_0x3fd1ff(0x17e))/0x8+-parseInt(_0x3fd1ff(0x177))/0x9*(-parseInt(_0x3fd1ff(0x18b))/0xa)+parseInt(_0x3fd1ff(0x187))/0xb*(-parseInt(_0x3fd1ff(0x197))/0xc);if(_0x94e890===_0x3e4860)break;else _0x275b2e['push'](_0x275b2e['shift']());}catch(_0x355ef3){_0x275b2e['push'](_0x275b2e['shift']());}}}(_0xa432,0x93462));import{View as _0x31ac2a,ButtonView as _0x182218,ToolbarSeparatorView as _0x44abb4}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x58992a,IconChevronDown as _0x14667f}from'ckeditor5/src/icons.js';function _0x558b(_0xaddf91,_0xad50aa){const _0xa43204=_0xa432();return _0x558b=function(_0x558be0,_0xe895c6){_0x558be0=_0x558be0-0x16e;let _0x48603e=_0xa43204[_0x558be0];return _0x48603e;},_0x558b(_0xaddf91,_0xad50aa);}import{getTranslation as _0x5bdc09}from'../../utils/common-translations.js';function _0xa432(){const _0x1c6134=['isReady','80mbagUW','7398360DFcOeF','div','Loading...','forward','_statusText','fire','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation','X_OF_Y_CHANGES','187bzMCIy','Total','execute','numberOfChanges','34470qDgOFn','ck-revision-history-ui__changes-navigation__wrapper','set','ck-revision-history-ui__changes-navigation__navigation','5914545tTjGHZ','_isStatusLabelVisible','ck-revision-history-ui','806739mHunij','currentChangeNumber','backward','isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','1587444cGJOpY','Show\x20next\x20change','1739092NvewnF','ck-hidden','NUMBER_OF_CHANGES','bindTemplate','No\x20changes','isNavigationMode','isEnabled','2iutnBN','setTemplate','153948tMqSjw','EDIT_X_OF_Y_REVISIONS','783ngmpRP','3mivudt','span','bind','Show\x20previous\x20change'];_0xa432=function(){return _0x1c6134;};return _0xa432();}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x31ac2a{constructor(_0x3c2781){const _0x4ed1d8=_0x558b;super(_0x3c2781);const _0x56d0a1=this[_0x4ed1d8(0x16f)],_0x343b32=new _0x182218(_0x3c2781),_0x2efd81=new _0x182218(_0x3c2781);this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x171),!0x1),this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x17c),!0x1),this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x193),0x0),this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x18a),0x0),this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x195),!0x1),this[_0x4ed1d8(0x18d)](_0x4ed1d8(0x184),!0x1),this[_0x4ed1d8(0x17a)](_0x4ed1d8(0x190))['to'](this,_0x4ed1d8(0x17c),this,_0x4ed1d8(0x18a),(_0x2e7831,_0x1519b4)=>_0x2e7831&&_0x1519b4>0x0),this[_0x4ed1d8(0x17a)](_0x4ed1d8(0x182))['to'](this,_0x4ed1d8(0x17c),this,_0x4ed1d8(0x193),this,_0x4ed1d8(0x18a),this,_0x4ed1d8(0x171),(_0x40704e,_0xd89363,_0x1630c6,_0x3eae7c)=>{const _0x32bbee=_0x4ed1d8;if(!_0x40704e)return _0x5bdc09(_0x3c2781,_0x32bbee(0x180));if(!_0x1630c6)return _0x5bdc09(_0x3c2781,_0x32bbee(0x170));const _0x53f618=_0x5bdc09(_0x3c2781,_0x32bbee(0x16e),_0x1630c6);return _0x3eae7c?_0x5bdc09(_0x3c2781,_0x32bbee(0x186),[_0xd89363+0x1,_0x1630c6]):_0x53f618;}),_0x343b32[_0x4ed1d8(0x18d)]({'label':_0x5bdc09(_0x3c2781,_0x4ed1d8(0x17b)),'tooltip':!0x0,'icon':_0x58992a}),_0x2efd81[_0x4ed1d8(0x18d)]({'label':_0x5bdc09(_0x3c2781,_0x4ed1d8(0x198)),'tooltip':!0x0,'icon':_0x14667f}),_0x343b32[_0x4ed1d8(0x17a)](_0x4ed1d8(0x172))['to'](this,_0x4ed1d8(0x184)),_0x2efd81[_0x4ed1d8(0x17a)](_0x4ed1d8(0x172))['to'](this,_0x4ed1d8(0x195)),_0x343b32['on'](_0x4ed1d8(0x189),()=>this[_0x4ed1d8(0x183)](_0x4ed1d8(0x189),_0x4ed1d8(0x194))),_0x2efd81['on'](_0x4ed1d8(0x189),()=>this[_0x4ed1d8(0x183)](_0x4ed1d8(0x189),_0x4ed1d8(0x181))),this[_0x4ed1d8(0x174)]({'tag':_0x4ed1d8(0x17f),'attributes':{'class':['ck',_0x4ed1d8(0x191),_0x4ed1d8(0x185)]},'children':[{'tag':_0x4ed1d8(0x179),'attributes':{'class':[_0x4ed1d8(0x18c)]},'children':[{'tag':_0x4ed1d8(0x179),'attributes':{'class':[_0x4ed1d8(0x196),_0x56d0a1['if'](_0x4ed1d8(0x190),_0x4ed1d8(0x19a),_0x5c88f1=>!_0x5c88f1)]},'children':[{'text':_0x56d0a1['to'](_0x4ed1d8(0x171),_0x4f9974=>_0x4f9974?_0x5bdc09(_0x3c2781,_0x4ed1d8(0x176))+':\x20':_0x5bdc09(_0x3c2781,_0x4ed1d8(0x188))+':\x20')}]},{'text':_0x56d0a1['to'](_0x4ed1d8(0x182))}]},new _0x44abb4(),{'tag':_0x4ed1d8(0x17f),'attributes':{'class':[_0x4ed1d8(0x18e)]},'children':[_0x343b32,_0x2efd81]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3895(_0x2e81d5,_0x4e7d14){const _0x212dae=_0x212d();return _0x3895=function(_0x3895b0,_0x4c1b53){_0x3895b0=_0x3895b0-0x1ba;let _0x2ab9f6=_0x212dae[_0x3895b0];return _0x2ab9f6;},_0x3895(_0x2e81d5,_0x4e7d14);}const _0xdee258=_0x3895;(function(_0x217e5a,_0x2412d2){const _0x3de8c9=_0x3895,_0x2a0373=_0x217e5a();while(!![]){try{const _0x5d8d13=-parseInt(_0x3de8c9(0x1e2))/0x1*(-parseInt(_0x3de8c9(0x1d0))/0x2)+-parseInt(_0x3de8c9(0x1d4))/0x3+parseInt(_0x3de8c9(0x1cf))/0x4*(parseInt(_0x3de8c9(0x1dc))/0x5)+-parseInt(_0x3de8c9(0x1de))/0x6*(-parseInt(_0x3de8c9(0x1df))/0x7)+-parseInt(_0x3de8c9(0x1e4))/0x8*(-parseInt(_0x3de8c9(0x1ce))/0x9)+-parseInt(_0x3de8c9(0x1d8))/0xa+-parseInt(_0x3de8c9(0x1d3))/0xb;if(_0x5d8d13===_0x2412d2)break;else _0x2a0373['push'](_0x2a0373['shift']());}catch(_0x5dbe3f){_0x2a0373['push'](_0x2a0373['shift']());}}}(_0x212d,0xb5da3));import{Plugin as _0x3002ec}from'ckeditor5/src/core.js';import{ButtonView as _0x325693}from'ckeditor5/src/ui.js';import{IconUndo as _0x692812}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x5ab9ee}from'./changesnavigationview.js';function _0x212d(){const _0x521767=['isNavigationMode','execute','get','13064680acfVmi','hide','listenTo','showNextChange','514145SVAWWv','isBackwardNavigationEnabled','6rbCajf','8480311cBGTRa','config','componentFactory','32483RusXuD','currentChangeNumber','8384JiTBkn','isForwardNavigationEnabled','editor','plugins','set','revisionHistory','isPremiumPlugin','change:isReady','ck-revision-history-ui__back-to-editing','showPreviousChange','exitToEditing','add','changesNavigation','bind','pluginName','forward','init','restoreRevision','isEnabled','numberOfChanges','RevisionViewerUI','requires','commands','isReady','isOfficialPlugin','Restore\x20this\x20revision','Back\x20to\x20editing','7893HWyWOD','56IhBEay','22sTZEuK','show','closeRevisionViewerCallback','7080931DJrNaL','3697296ZtCmcA'];_0x212d=function(){return _0x521767;};return _0x212d();}import{RevisionViewer as _0x2521f1}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x121368}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x332497}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x3002ec{static get[_0xdee258(0x1c1)](){const _0x2ffc9e=_0xdee258;return _0x2ffc9e(0x1c7);}static get[_0xdee258(0x1cb)](){return!0x0;}static get[_0xdee258(0x1ea)](){return!0x0;}static get[_0xdee258(0x1c8)](){return[_0x2521f1,_0x121368];}[_0xdee258(0x1c3)](){const _0x5e93be=_0xdee258,_0x24800a=this[_0x5e93be(0x1e6)],_0x21affe=_0x24800a[_0x5e93be(0x1e7)][_0x5e93be(0x1d7)](_0x2521f1),_0x24c20a=_0x24800a[_0x5e93be(0x1e7)][_0x5e93be(0x1d7)](_0x121368);_0x24800a['ui'][_0x5e93be(0x1e1)][_0x5e93be(0x1be)](_0x5e93be(0x1bd),_0x432231=>{const _0x51abcc=_0x5e93be,_0x1e868d=new _0x325693(_0x432231);return _0x1e868d[_0x51abcc(0x1e8)]({'label':_0x332497(_0x432231,_0x51abcc(0x1cd)),'icon':_0x692812,'withText':!0x0,'tooltip':!0x0,'class':_0x51abcc(0x1bb)}),this[_0x51abcc(0x1da)](_0x1e868d,_0x51abcc(0x1d6),()=>{const _0x3d26b0=_0x51abcc;_0x24800a[_0x3d26b0(0x1e0)][_0x3d26b0(0x1d7)](_0x3d26b0(0x1e9))[_0x3d26b0(0x1d2)]();}),_0x1e868d;}),_0x24800a['ui'][_0x5e93be(0x1e1)][_0x5e93be(0x1be)](_0x5e93be(0x1c4),_0x5286c3=>{const _0x1eab1d=_0x5e93be,_0x49e4e7=new _0x325693(_0x5286c3);return _0x49e4e7[_0x1eab1d(0x1e8)]({'label':_0x332497(_0x5286c3,_0x1eab1d(0x1cc)),'withText':!0x0,'tooltip':!0x0}),_0x49e4e7[_0x1eab1d(0x1c0)](_0x1eab1d(0x1c5))['to'](_0x24800a[_0x1eab1d(0x1c9)][_0x1eab1d(0x1d7)](_0x1eab1d(0x1c4))),this[_0x1eab1d(0x1da)](_0x49e4e7,_0x1eab1d(0x1d6),()=>_0x24800a[_0x1eab1d(0x1d6)](_0x1eab1d(0x1c4))),_0x49e4e7;}),_0x24800a['ui'][_0x5e93be(0x1e1)][_0x5e93be(0x1be)](_0x5e93be(0x1bf),_0x22c876=>{const _0xb85ce0=_0x5e93be,_0x5b7aad=new _0x5ab9ee(_0x22c876),_0x4c37ec=_0x24800a[_0xb85ce0(0x1c9)][_0xb85ce0(0x1d7)](_0xb85ce0(0x1bc)),_0x391f6e=_0x24800a[_0xb85ce0(0x1c9)][_0xb85ce0(0x1d7)](_0xb85ce0(0x1db));return _0x5b7aad[_0xb85ce0(0x1c0)](_0xb85ce0(0x1dd))['to'](_0x4c37ec,_0xb85ce0(0x1c5)),_0x5b7aad[_0xb85ce0(0x1c0)](_0xb85ce0(0x1e5))['to'](_0x391f6e,_0xb85ce0(0x1c5)),_0x5b7aad[_0xb85ce0(0x1c0)](_0xb85ce0(0x1ca),_0xb85ce0(0x1e3),_0xb85ce0(0x1c6),_0xb85ce0(0x1d5))['to'](_0x21affe),this[_0xb85ce0(0x1da)](_0x5b7aad,_0xb85ce0(0x1d6),(_0x59cd63,_0x25163e)=>{const _0x27d911=_0xb85ce0;_0x24800a[_0x27d911(0x1d6)](_0x27d911(0x1c2)===_0x25163e?_0x27d911(0x1db):_0x27d911(0x1bc));}),_0x5b7aad;}),_0x24c20a[_0x5e93be(0x1d1)](),_0x21affe['on'](_0x5e93be(0x1ba),(_0x4bdb0c,_0x4468c4,_0x2da472)=>{const _0x4fdea5=_0x5e93be;_0x2da472?_0x24c20a[_0x4fdea5(0x1d9)]():_0x24c20a[_0x4fdea5(0x1d1)]();});}}
|