@ckeditor/ckeditor5-revision-history 46.0.0-alpha.7 → 46.0.0-alpha.8
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 +11 -11
- package/src/revisionsrepository.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 +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
|
-
(function(
|
|
23
|
+
(function(_0x42459c,_0x217ba8){const _0x48d6bf=_0x2d35,_0x3ed94c=_0x42459c();while(!![]){try{const _0x1554a2=-parseInt(_0x48d6bf(0x6c))/0x1+-parseInt(_0x48d6bf(0x76))/0x2*(parseInt(_0x48d6bf(0x73))/0x3)+parseInt(_0x48d6bf(0x79))/0x4+-parseInt(_0x48d6bf(0x6a))/0x5*(-parseInt(_0x48d6bf(0x6f))/0x6)+-parseInt(_0x48d6bf(0x77))/0x7*(parseInt(_0x48d6bf(0x6d))/0x8)+parseInt(_0x48d6bf(0x78))/0x9*(-parseInt(_0x48d6bf(0x75))/0xa)+parseInt(_0x48d6bf(0x72))/0xb*(parseInt(_0x48d6bf(0x66))/0xc);if(_0x1554a2===_0x217ba8)break;else _0x3ed94c['push'](_0x3ed94c['shift']());}catch(_0x2bf50c){_0x3ed94c['push'](_0x3ed94c['shift']());}}}(_0x56c9,0xc5e88));function _0x2d35(_0x1dbcf8,_0x34d591){const _0x56c94e=_0x56c9();return _0x2d35=function(_0x2d35f1,_0x4cb4d4){_0x2d35f1=_0x2d35f1-0x66;let _0x2873d7=_0x56c94e[_0x2d35f1];return _0x2873d7;},_0x2d35(_0x1dbcf8,_0x34d591);}import{View as _0x54929a,IconView as _0x52e168}from'ckeditor5/src/ui.js';function _0x56c9(){const _0x8aedf9=['1995iKiQBa','ck-revision-history-sidebar__header','63590GiEnaa','256Jldjvm','3241zyCXij','1296dkGOJC','574580oRjRoU','60ppxFHB','content','div','span','1102205htRkav','Revision\x20history','976011JqpezQ','26072WyiGFx','setTemplate','36QrYdaB','ck-reset_all','ck-revision-history-sidebar__header__label','6226187KoNNEl'];_0x56c9=function(){return _0x8aedf9;};return _0x56c9();}import{getTranslation as _0x23d5c5}from'../../utils/common-translations.js';import{IconHistory as _0x2fb288}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0x54929a{constructor(_0x45995e){const _0x4aac64=_0x2d35;super(_0x45995e);const _0x1ec2f6=new _0x52e168();_0x1ec2f6[_0x4aac64(0x67)]=_0x2fb288,this[_0x4aac64(0x6e)]({'tag':_0x4aac64(0x68),'attributes':{'class':['ck',_0x4aac64(0x70),_0x4aac64(0x74)]},'children':[_0x1ec2f6,{'tag':_0x4aac64(0x69),'attributes':{'class':['ck',_0x4aac64(0x71)]},'children':[_0x23d5c5(_0x45995e,_0x4aac64(0x6b))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x276e4c=_0x5163;function _0x5163(_0x4ecb5c,_0x555dc2){const _0x250c1d=_0x250c();return _0x5163=function(_0x51635b,_0x2b411d){_0x51635b=_0x51635b-0x105;let _0x4e1fa4=_0x250c1d[_0x51635b];return _0x4e1fa4;},_0x5163(_0x4ecb5c,_0x555dc2);}(function(_0x5b09b5,_0x582af6){const _0x1a42c1=_0x5163,_0x2d4ca7=_0x5b09b5();while(!![]){try{const _0x350a82=-parseInt(_0x1a42c1(0x108))/0x1+parseInt(_0x1a42c1(0x113))/0x2+-parseInt(_0x1a42c1(0x11c))/0x3+parseInt(_0x1a42c1(0x115))/0x4+parseInt(_0x1a42c1(0x123))/0x5+-parseInt(_0x1a42c1(0x117))/0x6*(-parseInt(_0x1a42c1(0x120))/0x7)+-parseInt(_0x1a42c1(0x105))/0x8*(-parseInt(_0x1a42c1(0x116))/0x9);if(_0x350a82===_0x582af6)break;else _0x2d4ca7['push'](_0x2d4ca7['shift']());}catch(_0x420ea8){_0x2d4ca7['push'](_0x2d4ca7['shift']());}}}(_0x250c,0xf1dcb));import{View as _0x2f8f1b}from'ckeditor5/src/ui.js';function _0x250c(){const _0x431859=['1552329ykFjCD','ck-revision-history-sidebar__time-period__revisions','span','_requireRevisionName','82803DZNhgX','setTemplate','select','261655HdSfgl','5800PgfSoa','locale','remove','1383459lBERBk','setName','createCollection','div','localizedPeriodName','uiLanguage','_revisionActions','ck-revision-history-sidebar__time-period','startDate','delegate','ck-revision-history-sidebar__time-period__label','1060328IrgEgN','addRevision','7120972nTLndl','4509URjjfE','84fFOAOF','removeRevision','find','add','revisionViews'];_0x250c=function(){return _0x431859;};return _0x250c();}import{RevisionView as _0x4ea1ab}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x20720f}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x2f8f1b{[_0x276e4c(0x110)];[_0x276e4c(0x11b)];[_0x276e4c(0x10e)];[_0x276e4c(0x11f)];constructor(_0x512672,_0x17dae1,_0x206db3,_0x158ae0){const _0xcf9255=_0x276e4c;super(_0x512672);const _0x314b41=_0x20720f(_0x17dae1,this[_0xcf9255(0x106)][_0xcf9255(0x10d)])[_0xcf9255(0x10c)];this[_0xcf9255(0x110)]=_0x17dae1,this[_0xcf9255(0x11b)]=this[_0xcf9255(0x10a)](),this[_0xcf9255(0x10e)]=_0x206db3,this[_0xcf9255(0x11f)]=_0x158ae0,this[_0xcf9255(0x11b)][_0xcf9255(0x111)](_0xcf9255(0x122))['to'](this),this[_0xcf9255(0x11b)][_0xcf9255(0x111)](_0xcf9255(0x109))['to'](this),this[_0xcf9255(0x121)]({'tag':_0xcf9255(0x10b),'attributes':{'class':['ck',_0xcf9255(0x10f)]},'children':[{'tag':_0xcf9255(0x11e),'attributes':{'class':['ck',_0xcf9255(0x112)]},'children':[{'text':_0x314b41}]},{'tag':_0xcf9255(0x10b),'attributes':{'class':['ck',_0xcf9255(0x11d)]},'children':this[_0xcf9255(0x11b)]}]});}[_0x276e4c(0x114)](_0x482bf4){const _0x4341d6=_0x276e4c,_0x1d962d=new _0x4ea1ab(this[_0x4341d6(0x106)],_0x482bf4,this[_0x4341d6(0x10e)],this[_0x4341d6(0x11f)]);this[_0x4341d6(0x11b)][_0x4341d6(0x11a)](_0x1d962d);}[_0x276e4c(0x118)](_0x46ce26){const _0x1a49a9=_0x276e4c,_0x561747=this[_0x1a49a9(0x11b)][_0x1a49a9(0x119)](_0x5dddb7=>_0x5dddb7['id']===_0x46ce26['id']);this[_0x1a49a9(0x11b)][_0x1a49a9(0x107)](_0x561747);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8daf44=_0x3750;(function(_0x2e7b46,_0x3f8739){const _0x5ea3b3=_0x3750,_0x297bb5=_0x2e7b46();while(!![]){try{const _0x544ae6=-parseInt(_0x5ea3b3(0x1a8))/0x1*(-parseInt(_0x5ea3b3(0x1af))/0x2)+parseInt(_0x5ea3b3(0x1da))/0x3+-parseInt(_0x5ea3b3(0x1ca))/0x4*(parseInt(_0x5ea3b3(0x1b5))/0x5)+-parseInt(_0x5ea3b3(0x1b2))/0x6*(-parseInt(_0x5ea3b3(0x1b9))/0x7)+parseInt(_0x5ea3b3(0x1c6))/0x8+parseInt(_0x5ea3b3(0x1ce))/0x9+-parseInt(_0x5ea3b3(0x1b0))/0xa*(parseInt(_0x5ea3b3(0x1a9))/0xb);if(_0x544ae6===_0x3f8739)break;else _0x297bb5['push'](_0x297bb5['shift']());}catch(_0x51bd3e){_0x297bb5['push'](_0x297bb5['shift']());}}}(_0x4c90,0xa6c8b));import{View as _0x293643}from'ckeditor5/src/ui.js';function _0x3750(_0x44a090,_0x24d22e){const _0x4c9006=_0x4c90();return _0x3750=function(_0x3750a2,_0x15428b){_0x3750a2=_0x3750a2-0x1a8;let _0x4240b1=_0x4c9006[_0x3750a2];return _0x4240b1;},_0x3750(_0x44a090,_0x24d22e);}import{RevisionsSidebarTimePeriodView as _0xdc4b43}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x45cb74}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0xdfb56c}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';function _0x4c90(){const _0x4ccd7f=['deselect','revisionViews','flat','isEnabled','removeRevision','1172821NMSDcp','31871939sGyccL','ck-disabled','select','some','selectRevision','timePeriodViews','2kRgVhS','10BiKDnW','_requireRevisionName','5712342SlTdiN','_removeRevision','map','5EIlnwW','setTemplate','render','ck-revision-history-sidebar__timeline','7MphXKd','createdAt','delegate','div','remove','setName','addRevision','_revisionActions','ck-revision-history-sidebar','startDate','fire','find','ck-reset','4753544ljCGAJ','getTime','createCollection','_getTimePeriodViewByStartDate','783800QhcGkc','add','unhighlight','bindTemplate','1669959vtawor','get','revisionSetName','ck-rounded-corners','highlight','_addRevision','_revisions','set','highlightRevisions','uiLanguage','locale','revisionSelected','2615772NCiUuN'];_0x4c90=function(){return _0x4ccd7f;};return _0x4c90();}export class RevisionsSidebarView extends _0x293643{[_0x8daf44(0x1ae)];[_0x8daf44(0x1d4)];[_0x8daf44(0x1c0)];[_0x8daf44(0x1b1)];constructor(_0x5bb7db,_0x5e5bf9,_0x340cd7,_0x147cb9){const _0x35e1c4=_0x8daf44;super(_0x5bb7db);const _0x4a4fa7=this[_0x35e1c4(0x1cd)];this[_0x35e1c4(0x1ae)]=this[_0x35e1c4(0x1c8)](),this[_0x35e1c4(0x1ae)][_0x35e1c4(0x1bb)](_0x35e1c4(0x1ab))['to'](this),this[_0x35e1c4(0x1ae)][_0x35e1c4(0x1bb)](_0x35e1c4(0x1be))['to'](this),this[_0x35e1c4(0x1d4)]=_0x5e5bf9,this[_0x35e1c4(0x1c0)]=_0x340cd7,this[_0x35e1c4(0x1b1)]=_0x147cb9,this['on'](_0x35e1c4(0x1ab),(_0x16e2c5,_0x3bfe42)=>{const _0x2844b2=_0x35e1c4;this[_0x2844b2(0x1c3)](_0x2844b2(0x1d9),_0x3bfe42);}),this['on'](_0x35e1c4(0x1be),(_0x12e9d8,_0x2914c4)=>{const _0x1db599=_0x35e1c4;this[_0x1db599(0x1c3)](_0x1db599(0x1d0),_0x2914c4);}),this[_0x35e1c4(0x1d5)](_0x35e1c4(0x1de),!0x1),this[_0x35e1c4(0x1b6)]({'tag':_0x35e1c4(0x1bc),'attributes':{'class':['ck',_0x35e1c4(0x1c5),_0x35e1c4(0x1d1),_0x35e1c4(0x1c1)]},'children':[new _0x45cb74(_0x5bb7db),{'tag':_0x35e1c4(0x1bc),'attributes':{'class':['ck',_0x35e1c4(0x1b8),_0x4a4fa7['if'](_0x35e1c4(0x1de),_0x35e1c4(0x1aa),_0x3fc687=>!_0x3fc687)]},'children':this[_0x35e1c4(0x1ae)]}]});}[_0x8daf44(0x1b7)](){const _0x434c76=_0x8daf44;super[_0x434c76(0x1b7)]();for(const _0x578002 of this[_0x434c76(0x1d4)])this[_0x434c76(0x1d3)](_0x578002);this[_0x434c76(0x1d4)]['on'](_0x434c76(0x1cb),(_0x3ac974,_0x200dc4)=>{const _0x109649=_0x434c76;this[_0x109649(0x1d3)](_0x200dc4);}),this[_0x434c76(0x1d4)]['on'](_0x434c76(0x1bd),(_0x4c4f0b,_0x1a4ad7)=>{const _0x2edf07=_0x434c76;this[_0x2edf07(0x1b3)](_0x1a4ad7);});}get[_0x8daf44(0x1dc)](){const _0x3eebc2=_0x8daf44;return this[_0x3eebc2(0x1ae)][_0x3eebc2(0x1b4)](_0x311c5e=>_0x311c5e[_0x3eebc2(0x1dc)][_0x3eebc2(0x1b4)](_0x578003=>_0x578003))[_0x3eebc2(0x1dd)]();}[_0x8daf44(0x1ad)](_0x4deb4e){const _0x1156ab=_0x8daf44;for(const _0x34f3e7 of this[_0x1156ab(0x1dc)])_0x4deb4e&&_0x4deb4e['id']===_0x34f3e7['id']?_0x34f3e7[_0x1156ab(0x1ab)]():_0x34f3e7[_0x1156ab(0x1db)]();}[_0x8daf44(0x1d6)](_0x2469f9){const _0x53e41f=_0x8daf44;for(const _0xbe5e1a of this[_0x53e41f(0x1dc)])_0x2469f9[_0x53e41f(0x1ac)](({id:_0x3b7ac6})=>_0x3b7ac6===_0xbe5e1a['id'])?_0xbe5e1a[_0x53e41f(0x1d2)]():_0xbe5e1a[_0x53e41f(0x1cc)]();}[_0x8daf44(0x1d3)](_0x2fd7c4){const _0x179691=_0x8daf44,_0x38ba8d=_0xdfb56c(_0x2fd7c4[_0x179691(0x1ba)],this[_0x179691(0x1d8)][_0x179691(0x1d7)])[_0x179691(0x1c2)];let _0x1459b2=this[_0x179691(0x1ae)][_0x179691(0x1cf)](0x0);_0x1459b2&&_0x1459b2[_0x179691(0x1c2)][_0x179691(0x1c7)]()===_0x38ba8d[_0x179691(0x1c7)]()||(_0x1459b2=new _0xdc4b43(this[_0x179691(0x1d8)],_0x38ba8d,this[_0x179691(0x1c0)],this[_0x179691(0x1b1)]),this[_0x179691(0x1ae)][_0x179691(0x1cb)](_0x1459b2)),_0x1459b2[_0x179691(0x1bf)](_0x2fd7c4);}[_0x8daf44(0x1b3)](_0x547b50){const _0x4403db=_0x8daf44,_0x780278=_0xdfb56c(_0x547b50[_0x4403db(0x1ba)],this[_0x4403db(0x1d8)][_0x4403db(0x1d7)])[_0x4403db(0x1c2)];this[_0x4403db(0x1c9)](_0x780278)[_0x4403db(0x1df)](_0x547b50);}[_0x8daf44(0x1c9)](_0x359cad){const _0x59d009=_0x8daf44;return this[_0x59d009(0x1ae)][_0x59d009(0x1c4)](_0x2e6060=>_0x2e6060[_0x59d009(0x1c2)][_0x59d009(0x1c7)]()===_0x359cad[_0x59d009(0x1c7)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2b91(_0x36a7c8,_0x19fbe4){const _0x668d84=_0x668d();return _0x2b91=function(_0x2b9101,_0x3976c9){_0x2b9101=_0x2b9101-0x1be;let _0x50e3cb=_0x668d84[_0x2b9101];return _0x50e3cb;},_0x2b91(_0x36a7c8,_0x19fbe4);}const _0x26b430=_0x2b91;(function(_0x173983,_0x350bdb){const _0x5886e0=_0x2b91,_0x44798f=_0x173983();while(!![]){try{const _0x3d9e18=-parseInt(_0x5886e0(0x1cd))/0x1*(-parseInt(_0x5886e0(0x1ce))/0x2)+parseInt(_0x5886e0(0x1be))/0x3+parseInt(_0x5886e0(0x1d1))/0x4*(-parseInt(_0x5886e0(0x1c9))/0x5)+-parseInt(_0x5886e0(0x1db))/0x6*(-parseInt(_0x5886e0(0x1d2))/0x7)+parseInt(_0x5886e0(0x1cf))/0x8+-parseInt(_0x5886e0(0x1bf))/0x9*(parseInt(_0x5886e0(0x1de))/0xa)+-parseInt(_0x5886e0(0x1cc))/0xb;if(_0x3d9e18===_0x350bdb)break;else _0x44798f['push'](_0x44798f['shift']());}catch(_0x201821){_0x44798f['push'](_0x44798f['shift']());}}}(_0x668d,0x4988d));import{View as _0x8081ef}from'ckeditor5/src/ui.js';function _0x668d(){const _0xe899a9=['type','Removed\x20by','958182isDjvV','ck-revision-change','span','460eEkgAz','114465GTgdlH','82953enkZny','isSuggestion','data','set','element','_model','ck-revision-change__label','Added\x20by','author','focus','20sWiZqi','setTemplate','div','4229280XPEkmC','89lsRykf','9368RuCJuM','4295512rIQsGj','name','42008YacHiX','7uGKXDM','add','ck-annotation','Suggested\x20by','bindTemplate','ck-revision-change__','changeId'];_0x668d=function(){return _0xe899a9;};return _0x668d();}import{getTranslation as _0x44675b}from'../../utils/common-translations.js';export class ChangeDetailsView extends _0x8081ef{[_0x26b430(0x1d8)];[_0x26b430(0x1c4)];constructor(_0x369008,_0x357d0f){const _0x279f98=_0x26b430;super(_0x369008),this[_0x279f98(0x1c4)]=_0x357d0f,this[_0x279f98(0x1d8)]=_0x357d0f['id'];const _0x2162ff=this[_0x279f98(0x1d6)],_0x365d1f=_0x44675b(_0x369008,_0x357d0f[_0x279f98(0x1c1)][_0x279f98(0x1c0)]?_0x279f98(0x1d5):_0x279f98(0x1d3)==_0x357d0f[_0x279f98(0x1d9)]?_0x279f98(0x1c6):_0x279f98(0x1da));this[_0x279f98(0x1c2)](_0x279f98(0x1d9),_0x357d0f[_0x279f98(0x1d9)]),this[_0x279f98(0x1ca)]({'tag':_0x279f98(0x1cb),'attributes':{'class':[_0x279f98(0x1d4),_0x279f98(0x1dc),_0x2162ff['to'](_0x279f98(0x1d9),_0x48178c=>_0x279f98(0x1d7)+_0x48178c)],'tabindex':-0x1},'children':[{'tag':_0x279f98(0x1dd),'children':[{'tag':_0x279f98(0x1dd),'attributes':{'class':[_0x279f98(0x1c5)]},'children':[{'text':_0x365d1f}]},{'text':'\x20'+_0x357d0f[_0x279f98(0x1c7)][_0x279f98(0x1d0)]}]}]});}[_0x26b430(0x1c8)](){const _0x2c2a7c=_0x26b430;this[_0x2c2a7c(0x1c3)][_0x2c2a7c(0x1c8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1541e8,_0x3eb02a){const _0x1c7b14=_0x3983,_0x48736c=_0x1541e8();while(!![]){try{const _0x5cce1b=parseInt(_0x1c7b14(0x1f1))/0x1*(-parseInt(_0x1c7b14(0x1f5))/0x2)+parseInt(_0x1c7b14(0x1df))/0x3+-parseInt(_0x1c7b14(0x1ea))/0x4+-parseInt(_0x1c7b14(0x1f7))/0x5*(-parseInt(_0x1c7b14(0x1d5))/0x6)+parseInt(_0x1c7b14(0x1f2))/0x7+-parseInt(_0x1c7b14(0x1f9))/0x8*(parseInt(_0x1c7b14(0x1ed))/0x9)+-parseInt(_0x1c7b14(0x1d9))/0xa;if(_0x5cce1b===_0x3eb02a)break;else _0x48736c['push'](_0x48736c['shift']());}catch(_0xf32401){_0x48736c['push'](_0x48736c['shift']());}}}(_0x430d,0x75da2));import{View as _0x4b4325,ButtonView as _0x356894,ToolbarSeparatorView as _0x1ffcb4}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x201eb6,IconChevronDown as _0x1d4b3d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4bc145}from'../../utils/common-translations.js';import'../../../theme/changesnavigation.css';function _0x3983(_0x27cfc4,_0x181473){const _0x430d13=_0x430d();return _0x3983=function(_0x398345,_0x46c2ee){_0x398345=_0x398345-0x1cf;let _0x95fc78=_0x430d13[_0x398345];return _0x95fc78;},_0x3983(_0x27cfc4,_0x181473);}export class ChangesNavigationView extends _0x4b4325{constructor(_0x158f34){const _0x2ab760=_0x3983;super(_0x158f34);const _0x54a8b3=this[_0x2ab760(0x1f0)],_0x13edf8=new _0x356894(_0x158f34),_0x4372ba=new _0x356894(_0x158f34);this[_0x2ab760(0x1da)](_0x2ab760(0x1f4),!0x1),this[_0x2ab760(0x1da)](_0x2ab760(0x1d8),!0x1),this[_0x2ab760(0x1da)](_0x2ab760(0x1e2),0x0),this[_0x2ab760(0x1da)](_0x2ab760(0x1d2),0x0),this[_0x2ab760(0x1da)](_0x2ab760(0x1dc),!0x1),this[_0x2ab760(0x1da)](_0x2ab760(0x1eb),!0x1),this[_0x2ab760(0x1e9)](_0x2ab760(0x1e6))['to'](this,_0x2ab760(0x1d8),this,_0x2ab760(0x1d2),(_0x5d8bfb,_0x3aa986)=>_0x5d8bfb&&_0x3aa986>0x0),this[_0x2ab760(0x1e9)](_0x2ab760(0x1cf))['to'](this,_0x2ab760(0x1d8),this,_0x2ab760(0x1e2),this,_0x2ab760(0x1d2),this,_0x2ab760(0x1f4),(_0x458b65,_0x35213d,_0x189717,_0x4e9ed2)=>{const _0x1f3e0d=_0x2ab760;if(!_0x458b65)return _0x4bc145(_0x158f34,_0x1f3e0d(0x1d4));if(!_0x189717)return _0x4bc145(_0x158f34,_0x1f3e0d(0x1e5));const _0x2d161c=_0x4bc145(_0x158f34,_0x1f3e0d(0x1ee),_0x189717);return _0x4e9ed2?_0x4bc145(_0x158f34,_0x1f3e0d(0x1de),[_0x35213d+0x1,_0x189717]):_0x2d161c;}),_0x13edf8[_0x2ab760(0x1da)]({'label':_0x4bc145(_0x158f34,_0x2ab760(0x1d0)),'tooltip':!0x0,'icon':_0x201eb6}),_0x4372ba[_0x2ab760(0x1da)]({'label':_0x4bc145(_0x158f34,_0x2ab760(0x1d6)),'tooltip':!0x0,'icon':_0x1d4b3d}),_0x13edf8[_0x2ab760(0x1e9)](_0x2ab760(0x1e1))['to'](this,_0x2ab760(0x1eb)),_0x4372ba[_0x2ab760(0x1e9)](_0x2ab760(0x1e1))['to'](this,_0x2ab760(0x1dc)),_0x13edf8['on'](_0x2ab760(0x1e0),()=>this[_0x2ab760(0x1e8)](_0x2ab760(0x1e0),_0x2ab760(0x1f6))),_0x4372ba['on'](_0x2ab760(0x1e0),()=>this[_0x2ab760(0x1e8)](_0x2ab760(0x1e0),_0x2ab760(0x1f8))),this[_0x2ab760(0x1dd)]({'tag':_0x2ab760(0x1d1),'attributes':{'class':['ck',_0x2ab760(0x1d7),_0x2ab760(0x1f3)]},'children':[{'tag':_0x2ab760(0x1e4),'attributes':{'class':[_0x2ab760(0x1ec)]},'children':[{'tag':_0x2ab760(0x1e4),'attributes':{'class':[_0x2ab760(0x1e7),_0x54a8b3['if'](_0x2ab760(0x1e6),_0x2ab760(0x1ef),_0x9eac75=>!_0x9eac75)]},'children':[{'text':_0x54a8b3['to'](_0x2ab760(0x1f4),_0x3da024=>_0x3da024?_0x4bc145(_0x158f34,_0x2ab760(0x1db))+':\x20':_0x4bc145(_0x158f34,_0x2ab760(0x1d3))+':\x20')}]},{'text':_0x54a8b3['to'](_0x2ab760(0x1cf))}]},new _0x1ffcb4(),{'tag':_0x2ab760(0x1d1),'attributes':{'class':[_0x2ab760(0x1e3)]},'children':[_0x13edf8,_0x4372ba]}]});}}function _0x430d(){const _0x2f31cf=['ck-revision-history-ui','isReady','8217590SUmSti','set','EDIT_X_OF_Y_REVISIONS','isForwardNavigationEnabled','setTemplate','X_OF_Y_CHANGES','1169490XFCAcu','execute','isEnabled','currentChangeNumber','ck-revision-history-ui__changes-navigation__navigation','span','No\x20changes','_isStatusLabelVisible','ck-revision-history-ui__changes-navigation__label','fire','bind','56836KxKrwK','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__wrapper','72aKCJPU','NUMBER_OF_CHANGES','ck-hidden','bindTemplate','13lKAfhx','6622567hfvuZX','ck-revision-history-ui__changes-navigation','isNavigationMode','41070qKtUoH','backward','1070gSrlAT','forward','698072OlHEEw','_statusText','Show\x20previous\x20change','div','numberOfChanges','Total','Loading...','26574AutuBI','Show\x20next\x20change'];_0x430d=function(){return _0x2f31cf;};return _0x430d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39b467=_0x5247;(function(_0x3e0b0d,_0x3f38ee){const _0x1f8fd6=_0x5247,_0x324481=_0x3e0b0d();while(!![]){try{const _0x515f95=-parseInt(_0x1f8fd6(0x1b8))/0x1*(-parseInt(_0x1f8fd6(0x1ab))/0x2)+parseInt(_0x1f8fd6(0x1b9))/0x3*(parseInt(_0x1f8fd6(0x1cb))/0x4)+-parseInt(_0x1f8fd6(0x1b1))/0x5+parseInt(_0x1f8fd6(0x1bf))/0x6+parseInt(_0x1f8fd6(0x1c7))/0x7+-parseInt(_0x1f8fd6(0x1c8))/0x8*(-parseInt(_0x1f8fd6(0x1a3))/0x9)+-parseInt(_0x1f8fd6(0x1c5))/0xa*(parseInt(_0x1f8fd6(0x1c0))/0xb);if(_0x515f95===_0x3f38ee)break;else _0x324481['push'](_0x324481['shift']());}catch(_0x27b969){_0x324481['push'](_0x324481['shift']());}}}(_0x1f9d,0x54927));function _0x5247(_0x2bed20,_0x60c73b){const _0x1f9d54=_0x1f9d();return _0x5247=function(_0x524725,_0x31e8c5){_0x524725=_0x524725-0x1a0;let _0x46194c=_0x1f9d54[_0x524725];return _0x46194c;},_0x5247(_0x2bed20,_0x60c73b);}import{Plugin as _0x494d84}from'ckeditor5/src/core.js';function _0x1f9d(){const _0x50143e=['33tZyFxQ','editor','add','get','showNextChange','5240790HQMxUa','revisionHistory','3512474WhXPsE','40UxINiI','init','config','40wpnErq','showPreviousChange','numberOfChanges','isBackwardNavigationEnabled','isForwardNavigationEnabled','Restore\x20this\x20revision','isPremiumPlugin','changesNavigation','componentFactory','640890XSAiZD','exitToEditing','show','bind','change:isReady','forward','RevisionViewerUI','pluginName','2CUapxm','hide','ck-revision-history-ui__back-to-editing','isOfficialPlugin','commands','plugins','2733870hVeqBO','execute','currentChangeNumber','Back\x20to\x20editing','isReady','set','isNavigationMode','594302ycXBfX','109029AHEJFV','listenTo','isEnabled','restoreRevision','closeRevisionViewerCallback','requires','3899124HgklsR'];_0x1f9d=function(){return _0x50143e;};return _0x1f9d();}import{ButtonView as _0x456f6c}from'ckeditor5/src/ui.js';import{IconUndo as _0x49338c}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x125eca}from'./changesnavigationview.js';import{RevisionViewer as _0x36499e}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x2ebe5d}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x4162ea}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x494d84{static get[_0x39b467(0x1aa)](){const _0x2eac4b=_0x39b467;return _0x2eac4b(0x1a9);}static get[_0x39b467(0x1ae)](){return!0x0;}static get[_0x39b467(0x1a0)](){return!0x0;}static get[_0x39b467(0x1be)](){return[_0x36499e,_0x2ebe5d];}[_0x39b467(0x1c9)](){const _0x1531fb=_0x39b467,_0x845c1e=this[_0x1531fb(0x1c1)],_0x46f1d9=_0x845c1e[_0x1531fb(0x1b0)][_0x1531fb(0x1c3)](_0x36499e),_0x12f76f=_0x845c1e[_0x1531fb(0x1b0)][_0x1531fb(0x1c3)](_0x2ebe5d);_0x845c1e['ui'][_0x1531fb(0x1a2)][_0x1531fb(0x1c2)](_0x1531fb(0x1a4),_0x5373f1=>{const _0x7d8626=_0x1531fb,_0x545ca6=new _0x456f6c(_0x5373f1);return _0x545ca6[_0x7d8626(0x1b6)]({'label':_0x4162ea(_0x5373f1,_0x7d8626(0x1b4)),'icon':_0x49338c,'withText':!0x0,'tooltip':!0x0,'class':_0x7d8626(0x1ad)}),this[_0x7d8626(0x1ba)](_0x545ca6,_0x7d8626(0x1b2),()=>{const _0x3ef78f=_0x7d8626;_0x845c1e[_0x3ef78f(0x1ca)][_0x3ef78f(0x1c3)](_0x3ef78f(0x1c6))[_0x3ef78f(0x1bd)]();}),_0x545ca6;}),_0x845c1e['ui'][_0x1531fb(0x1a2)][_0x1531fb(0x1c2)](_0x1531fb(0x1bc),_0xa3ea60=>{const _0x109c06=_0x1531fb,_0x1c6b45=new _0x456f6c(_0xa3ea60);return _0x1c6b45[_0x109c06(0x1b6)]({'label':_0x4162ea(_0xa3ea60,_0x109c06(0x1d0)),'withText':!0x0,'tooltip':!0x0}),_0x1c6b45[_0x109c06(0x1a6)](_0x109c06(0x1bb))['to'](_0x845c1e[_0x109c06(0x1af)][_0x109c06(0x1c3)](_0x109c06(0x1bc))),this[_0x109c06(0x1ba)](_0x1c6b45,_0x109c06(0x1b2),()=>_0x845c1e[_0x109c06(0x1b2)](_0x109c06(0x1bc))),_0x1c6b45;}),_0x845c1e['ui'][_0x1531fb(0x1a2)][_0x1531fb(0x1c2)](_0x1531fb(0x1a1),_0x26ceb1=>{const _0x3c9e7f=_0x1531fb,_0x3ac424=new _0x125eca(_0x26ceb1),_0x3440a9=_0x845c1e[_0x3c9e7f(0x1af)][_0x3c9e7f(0x1c3)](_0x3c9e7f(0x1cc)),_0x1f9574=_0x845c1e[_0x3c9e7f(0x1af)][_0x3c9e7f(0x1c3)](_0x3c9e7f(0x1c4));return _0x3ac424[_0x3c9e7f(0x1a6)](_0x3c9e7f(0x1ce))['to'](_0x3440a9,_0x3c9e7f(0x1bb)),_0x3ac424[_0x3c9e7f(0x1a6)](_0x3c9e7f(0x1cf))['to'](_0x1f9574,_0x3c9e7f(0x1bb)),_0x3ac424[_0x3c9e7f(0x1a6)](_0x3c9e7f(0x1b5),_0x3c9e7f(0x1b3),_0x3c9e7f(0x1cd),_0x3c9e7f(0x1b7))['to'](_0x46f1d9),this[_0x3c9e7f(0x1ba)](_0x3ac424,_0x3c9e7f(0x1b2),(_0x4288ed,_0x2cc6ac)=>{const _0x1f401e=_0x3c9e7f;_0x845c1e[_0x1f401e(0x1b2)](_0x1f401e(0x1a8)===_0x2cc6ac?_0x1f401e(0x1c4):_0x1f401e(0x1cc));}),_0x3ac424;}),_0x12f76f[_0x1531fb(0x1a5)](),_0x46f1d9['on'](_0x1531fb(0x1a7),(_0x4bb196,_0x289945,_0x2e836e)=>{const _0x1d3129=_0x1531fb;_0x2e836e?_0x12f76f[_0x1d3129(0x1ac)]():_0x12f76f[_0x1d3129(0x1a5)]();});}}
|