@ckeditor/ckeditor5-revision-history 46.0.1-alpha.4 → 46.0.1-alpha.5
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/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/revisionviewerui.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xaa7238,_0x3b845f){const _0x41beff=_0x16b1,_0x48181f=_0xaa7238();while(!![]){try{const _0xe5f444=parseInt(_0x41beff(0xdf))/0x1+parseInt(_0x41beff(0xe7))/0x2*(parseInt(_0x41beff(0xe2))/0x3)+parseInt(_0x41beff(0xed))/0x4*(parseInt(_0x41beff(0xe0))/0x5)+parseInt(_0x41beff(0xee))/0x6*(-parseInt(_0x41beff(0xe6))/0x7)+-parseInt(_0x41beff(0xf0))/0x8*(-parseInt(_0x41beff(0xe4))/0x9)+-parseInt(_0x41beff(0xe8))/0xa*(-parseInt(_0x41beff(0xe9))/0xb)+-parseInt(_0x41beff(0xdd))/0xc;if(_0xe5f444===_0x3b845f)break;else _0x48181f['push'](_0x48181f['shift']());}catch(_0xd20668){_0x48181f['push'](_0x48181f['shift']());}}}(_0x1a2a,0x5d3c5));function _0x1a2a(){const _0x460892=['ck-revision-history-sidebar__header','content','4xZwViX','137010DXBLxa','Revision\x20history','712NxRMNR','20368188GHNrmg','setTemplate','65131ZpvpPR','3749405wzFPZU','ck-revision-history-sidebar__header__label','3NmqXzp','ck-reset_all','56178QhaUdH','div','7OjWEJT','1160222GkUnKq','30EMhqui','555192diBKCn','span'];_0x1a2a=function(){return _0x460892;};return _0x1a2a();}import{View as _0xbdf70f,IconView as _0x3bab54}from'ckeditor5/src/ui.js';function _0x16b1(_0xcc15d3,_0x170740){const _0x1a2a36=_0x1a2a();return _0x16b1=function(_0x16b1d2,_0x5d70c2){_0x16b1d2=_0x16b1d2-0xdd;let _0x5509a7=_0x1a2a36[_0x16b1d2];return _0x5509a7;},_0x16b1(_0xcc15d3,_0x170740);}import{getTranslation as _0x4c14b9}from'../../utils/common-translations.js';import{IconHistory as _0x301af8}from'ckeditor5/src/icons.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export class RevisionsSidebarHeaderView extends _0xbdf70f{constructor(_0x11d330){const _0x2dc835=_0x16b1;super(_0x11d330);const _0x41d132=new _0x3bab54();_0x41d132[_0x2dc835(0xec)]=_0x301af8,this[_0x2dc835(0xde)]({'tag':_0x2dc835(0xe5),'attributes':{'class':['ck',_0x2dc835(0xe3),_0x2dc835(0xeb)]},'children':[_0x41d132,{'tag':_0x2dc835(0xea),'attributes':{'class':['ck',_0x2dc835(0xe1)]},'children':[_0x4c14b9(_0x11d330,_0x2dc835(0xef))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc5f32f=_0x59c4;(function(_0x19da8c,_0x310b0d){const _0x493fe7=_0x59c4,_0x541c71=_0x19da8c();while(!![]){try{const _0x4e8172=parseInt(_0x493fe7(0x107))/0x1+parseInt(_0x493fe7(0xff))/0x2+-parseInt(_0x493fe7(0x10e))/0x3*(-parseInt(_0x493fe7(0xfe))/0x4)+parseInt(_0x493fe7(0x114))/0x5+-parseInt(_0x493fe7(0x105))/0x6*(-parseInt(_0x493fe7(0x110))/0x7)+-parseInt(_0x493fe7(0x109))/0x8+-parseInt(_0x493fe7(0xf9))/0x9;if(_0x4e8172===_0x310b0d)break;else _0x541c71['push'](_0x541c71['shift']());}catch(_0x3c16d9){_0x541c71['push'](_0x541c71['shift']());}}}(_0x1e37,0x8a49f));import{View as _0x38014c}from'ckeditor5/src/ui.js';function _0x1e37(){const _0x4f0d16=['createCollection','removeRevision','span','uiLanguage','474932TCEVMg','736970QNWaFs','select','div','_revisionActions','add','addRevision','23442rvEbJu','localizedPeriodName','792672bqrIDx','ck-revision-history-sidebar__time-period__label','4881800jNyXgD','revisionViews','_requireRevisionName','delegate','locale','3gyIqJE','setName','1694ojiYHl','ck-revision-history-sidebar__time-period__revisions','remove','find','3336370qFVXpw','startDate','setTemplate','ck-revision-history-sidebar__time-period','15444018jTtGac'];_0x1e37=function(){return _0x4f0d16;};return _0x1e37();}import{RevisionView as _0x13dbe4}from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x40a387}from'./utils.js';function _0x59c4(_0x540fa3,_0x5ac5f2){const _0x1e37c8=_0x1e37();return _0x59c4=function(_0x59c4de,_0x26f805){_0x59c4de=_0x59c4de-0xf6;let _0x5d63af=_0x1e37c8[_0x59c4de];return _0x5d63af;},_0x59c4(_0x540fa3,_0x5ac5f2);}import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export class RevisionsSidebarTimePeriodView extends _0x38014c{[_0xc5f32f(0xf6)];[_0xc5f32f(0x10a)];[_0xc5f32f(0x102)];[_0xc5f32f(0x10b)];constructor(_0x5e184d,_0x58629a,_0x10ef3e,_0x1ada19){const _0x4319c5=_0xc5f32f;super(_0x5e184d);const _0x22bce8=_0x40a387(_0x58629a,this[_0x4319c5(0x10d)][_0x4319c5(0xfd)])[_0x4319c5(0x106)];this[_0x4319c5(0xf6)]=_0x58629a,this[_0x4319c5(0x10a)]=this[_0x4319c5(0xfa)](),this[_0x4319c5(0x102)]=_0x10ef3e,this[_0x4319c5(0x10b)]=_0x1ada19,this[_0x4319c5(0x10a)][_0x4319c5(0x10c)](_0x4319c5(0x100))['to'](this),this[_0x4319c5(0x10a)][_0x4319c5(0x10c)](_0x4319c5(0x10f))['to'](this),this[_0x4319c5(0xf7)]({'tag':_0x4319c5(0x101),'attributes':{'class':['ck',_0x4319c5(0xf8)]},'children':[{'tag':_0x4319c5(0xfc),'attributes':{'class':['ck',_0x4319c5(0x108)]},'children':[{'text':_0x22bce8}]},{'tag':_0x4319c5(0x101),'attributes':{'class':['ck',_0x4319c5(0x111)]},'children':this[_0x4319c5(0x10a)]}]});}[_0xc5f32f(0x104)](_0x2d2f04){const _0x5c6001=_0xc5f32f,_0x20062f=new _0x13dbe4(this[_0x5c6001(0x10d)],_0x2d2f04,this[_0x5c6001(0x102)],this[_0x5c6001(0x10b)]);this[_0x5c6001(0x10a)][_0x5c6001(0x103)](_0x20062f);}[_0xc5f32f(0xfb)](_0x57769d){const _0x589b3e=_0xc5f32f,_0x169692=this[_0x589b3e(0x10a)][_0x589b3e(0x113)](_0x2e3a38=>_0x2e3a38['id']===_0x57769d['id']);this[_0x589b3e(0x10a)][_0x589b3e(0x112)](_0x169692);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xefb9dc=_0x4d98;function _0x4d98(_0x360e4a,_0x5990e7){const _0x12aebe=_0x12ae();return _0x4d98=function(_0x4d98e9,_0xf58e44){_0x4d98e9=_0x4d98e9-0x1c9;let _0x4c4f22=_0x12aebe[_0x4d98e9];return _0x4c4f22;},_0x4d98(_0x360e4a,_0x5990e7);}(function(_0x2d1744,_0x4a80eb){const _0x18e62a=_0x4d98,_0x26e8ec=_0x2d1744();while(!![]){try{const _0x37ca90=-parseInt(_0x18e62a(0x1fa))/0x1+parseInt(_0x18e62a(0x1e5))/0x2*(-parseInt(_0x18e62a(0x1d4))/0x3)+parseInt(_0x18e62a(0x1e6))/0x4+parseInt(_0x18e62a(0x1d9))/0x5+parseInt(_0x18e62a(0x1e1))/0x6*(-parseInt(_0x18e62a(0x1de))/0x7)+-parseInt(_0x18e62a(0x1f8))/0x8+parseInt(_0x18e62a(0x1e2))/0x9;if(_0x37ca90===_0x4a80eb)break;else _0x26e8ec['push'](_0x26e8ec['shift']());}catch(_0x244f5c){_0x26e8ec['push'](_0x26e8ec['shift']());}}}(_0x12ae,0x791ed));import{View as _0x22ad6c}from'ckeditor5/src/ui.js';function _0x12ae(){const _0x124040=['setName','ck-revision-history-sidebar__timeline','1150280xbYMTm','deselect','render','uiLanguage','ck-rounded-corners','49EWmXAc','getTime','ck-reset','587148GldCHp','14580864aOjOWX','flat','setTemplate','38mppSeG','2627676bOlKQH','some','div','_requireRevisionName','get','delegate','find','revisionSetName','ck-disabled','locale','unhighlight','removeRevision','highlightRevisions','_revisions','_addRevision','highlight','bindTemplate','isEnabled','5297720aArwQJ','set','557227jWAhJO','_getTimePeriodViewByStartDate','startDate','_removeRevision','createdAt','add','_revisionActions','createCollection','fire','revisionViews','remove','select','addRevision','selectRevision','map','timePeriodViews','16818pnrdcf','revisionSelected','ck-revision-history-sidebar'];_0x12ae=function(){return _0x124040;};return _0x12ae();}import{RevisionsSidebarTimePeriodView as _0x5cc2fe}from'./revisionssidebartimeperiodview.js';import{RevisionsSidebarHeaderView as _0x1ed471}from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x1ac561}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export class RevisionsSidebarView extends _0x22ad6c{[_0xefb9dc(0x1d3)];[_0xefb9dc(0x1f3)];[_0xefb9dc(0x1ca)];[_0xefb9dc(0x1e9)];constructor(_0x33adad,_0x3d2487,_0x5ee446,_0x433dcd){const _0x103c6b=_0xefb9dc;super(_0x33adad);const _0x56d03e=this[_0x103c6b(0x1f6)];this[_0x103c6b(0x1d3)]=this[_0x103c6b(0x1cb)](),this[_0x103c6b(0x1d3)][_0x103c6b(0x1eb)](_0x103c6b(0x1cf))['to'](this),this[_0x103c6b(0x1d3)][_0x103c6b(0x1eb)](_0x103c6b(0x1d7))['to'](this),this[_0x103c6b(0x1f3)]=_0x3d2487,this[_0x103c6b(0x1ca)]=_0x5ee446,this[_0x103c6b(0x1e9)]=_0x433dcd,this['on'](_0x103c6b(0x1cf),(_0x44f70e,_0x272d9d)=>{const _0x4df3cc=_0x103c6b;this[_0x4df3cc(0x1cc)](_0x4df3cc(0x1d5),_0x272d9d);}),this['on'](_0x103c6b(0x1d7),(_0x15ea84,_0x2b07a9)=>{const _0x3789ae=_0x103c6b;this[_0x3789ae(0x1cc)](_0x3789ae(0x1ed),_0x2b07a9);}),this[_0x103c6b(0x1f9)](_0x103c6b(0x1f7),!0x1),this[_0x103c6b(0x1e4)]({'tag':_0x103c6b(0x1e8),'attributes':{'class':['ck',_0x103c6b(0x1e0),_0x103c6b(0x1dd),_0x103c6b(0x1d6)]},'children':[new _0x1ed471(_0x33adad),{'tag':_0x103c6b(0x1e8),'attributes':{'class':['ck',_0x103c6b(0x1d8),_0x56d03e['if'](_0x103c6b(0x1f7),_0x103c6b(0x1ee),_0x24a6a4=>!_0x24a6a4)]},'children':this[_0x103c6b(0x1d3)]}]});}[_0xefb9dc(0x1db)](){const _0xc97b96=_0xefb9dc;super[_0xc97b96(0x1db)]();for(const _0x293aab of this[_0xc97b96(0x1f3)])this[_0xc97b96(0x1f4)](_0x293aab);this[_0xc97b96(0x1f3)]['on'](_0xc97b96(0x1c9),(_0x326824,_0x418197)=>{const _0x20ff80=_0xc97b96;this[_0x20ff80(0x1f4)](_0x418197);}),this[_0xc97b96(0x1f3)]['on'](_0xc97b96(0x1ce),(_0x21de5d,_0x28063c)=>{const _0x5dfcb5=_0xc97b96;this[_0x5dfcb5(0x1fd)](_0x28063c);});}get[_0xefb9dc(0x1cd)](){const _0x2121cc=_0xefb9dc;return this[_0x2121cc(0x1d3)][_0x2121cc(0x1d2)](_0x94d5a7=>_0x94d5a7[_0x2121cc(0x1cd)][_0x2121cc(0x1d2)](_0x91e752=>_0x91e752))[_0x2121cc(0x1e3)]();}[_0xefb9dc(0x1d1)](_0x4025b2){const _0x1306ce=_0xefb9dc;for(const _0x4a0604 of this[_0x1306ce(0x1cd)])_0x4025b2&&_0x4025b2['id']===_0x4a0604['id']?_0x4a0604[_0x1306ce(0x1cf)]():_0x4a0604[_0x1306ce(0x1da)]();}[_0xefb9dc(0x1f2)](_0x2ffb8f){const _0x174e31=_0xefb9dc;for(const _0x211f39 of this[_0x174e31(0x1cd)])_0x2ffb8f[_0x174e31(0x1e7)](({id:_0x4a360b})=>_0x4a360b===_0x211f39['id'])?_0x211f39[_0x174e31(0x1f5)]():_0x211f39[_0x174e31(0x1f0)]();}[_0xefb9dc(0x1f4)](_0x1d56a6){const _0x9919d1=_0xefb9dc,_0x4b8168=_0x1ac561(_0x1d56a6[_0x9919d1(0x1fe)],this[_0x9919d1(0x1ef)][_0x9919d1(0x1dc)])[_0x9919d1(0x1fc)];let _0x2bc7ea=this[_0x9919d1(0x1d3)][_0x9919d1(0x1ea)](0x0);_0x2bc7ea&&_0x2bc7ea[_0x9919d1(0x1fc)][_0x9919d1(0x1df)]()===_0x4b8168[_0x9919d1(0x1df)]()||(_0x2bc7ea=new _0x5cc2fe(this[_0x9919d1(0x1ef)],_0x4b8168,this[_0x9919d1(0x1ca)],this[_0x9919d1(0x1e9)]),this[_0x9919d1(0x1d3)][_0x9919d1(0x1c9)](_0x2bc7ea)),_0x2bc7ea[_0x9919d1(0x1d0)](_0x1d56a6);}[_0xefb9dc(0x1fd)](_0x24d63e){const _0x2ecc04=_0xefb9dc,_0x5980aa=_0x1ac561(_0x24d63e[_0x2ecc04(0x1fe)],this[_0x2ecc04(0x1ef)][_0x2ecc04(0x1dc)])[_0x2ecc04(0x1fc)];this[_0x2ecc04(0x1fb)](_0x5980aa)[_0x2ecc04(0x1f1)](_0x24d63e);}[_0xefb9dc(0x1fb)](_0x2264db){const _0x2a9088=_0xefb9dc;return this[_0x2a9088(0x1d3)][_0x2a9088(0x1ec)](_0x22ae0c=>_0x22ae0c[_0x2a9088(0x1fc)][_0x2a9088(0x1df)]()===_0x2264db[_0x2a9088(0x1df)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3b80(){const _0x575636=['202598bPIgtm','weekdayLong','3243338YZtzFD','90mAoXDJ','hasSame','228kErdUi','monthLong','toRelativeCalendar','startOf','setLocale','57UxcCAj','minus','year','35656WHnvnL','fromJSDate','11939472RhnAMy','942094fdfobr','local','164070tTVotR','toJSDate','week','12CssyxI','day','21265WyZlph','1356UkzXyY','month'];_0x3b80=function(){return _0x575636;};return _0x3b80();}function _0x1eca(_0x28dec6,_0x1e6820){const _0x3b80fc=_0x3b80();return _0x1eca=function(_0x1eca36,_0x14acf4){_0x1eca36=_0x1eca36-0xcb;let _0x321124=_0x3b80fc[_0x1eca36];return _0x321124;},_0x1eca(_0x28dec6,_0x1e6820);}(function(_0x352328,_0x282a01){const _0x26a43a=_0x1eca,_0x43bf68=_0x352328();while(!![]){try{const _0x2c68a1=-parseInt(_0x26a43a(0xd2))/0x1+-parseInt(_0x26a43a(0xcf))/0x2*(-parseInt(_0x26a43a(0xcc))/0x3)+-parseInt(_0x26a43a(0xe1))/0x4*(parseInt(_0x26a43a(0xd9))/0x5)+-parseInt(_0x26a43a(0xd7))/0x6*(-parseInt(_0x26a43a(0xde))/0x7)+-parseInt(_0x26a43a(0xd1))/0x8+-parseInt(_0x26a43a(0xdf))/0x9*(-parseInt(_0x26a43a(0xd4))/0xa)+-parseInt(_0x26a43a(0xdc))/0xb*(-parseInt(_0x26a43a(0xda))/0xc);if(_0x2c68a1===_0x282a01)break;else _0x43bf68['push'](_0x43bf68['shift']());}catch(_0x3c3a62){_0x43bf68['push'](_0x43bf68['shift']());}}}(_0x3b80,0xcb8db));import{DateTime as _0x2fe2b6}from'luxon';export function getDateTimePeriodInfo(_0xd08888,_0x507fa9){const _0x5e0d6b=_0x1eca,_0xe88fe0=_0x2fe2b6[_0x5e0d6b(0xd0)](_0xd08888)[_0x5e0d6b(0xcb)](_0x507fa9),_0x59bdd2=_0x2fe2b6[_0x5e0d6b(0xd3)](),_0x1b5424=_0x59bdd2[_0x5e0d6b(0xcd)]({'days':0x1})[_0x5e0d6b(0xe4)](_0x5e0d6b(0xd8));let _0x378315,_0x4df7d7;return _0xe88fe0[_0x5e0d6b(0xe0)](_0x59bdd2,_0x5e0d6b(0xd8))?(_0x378315=_0xe88fe0[_0x5e0d6b(0xe4)](_0x5e0d6b(0xd8))[_0x5e0d6b(0xd5)](),_0x4df7d7=_0xe88fe0[_0x5e0d6b(0xe3)]()):_0xe88fe0[_0x5e0d6b(0xe0)](_0x1b5424,_0x5e0d6b(0xd8))?(_0x378315=_0x1b5424[_0x5e0d6b(0xd5)](),_0x4df7d7=_0xe88fe0[_0x5e0d6b(0xe3)]()):_0xe88fe0[_0x5e0d6b(0xe0)](_0x59bdd2,_0x5e0d6b(0xd6))?(_0x378315=_0xe88fe0[_0x5e0d6b(0xe4)](_0x5e0d6b(0xd6))[_0x5e0d6b(0xd5)](),_0x4df7d7=_0xe88fe0[_0x5e0d6b(0xdd)]||''):_0xe88fe0[_0x5e0d6b(0xe0)](_0x59bdd2,_0x5e0d6b(0xce))?(_0x378315=_0xe88fe0[_0x5e0d6b(0xe4)](_0x5e0d6b(0xdb))[_0x5e0d6b(0xd5)](),_0x4df7d7=_0xe88fe0[_0x5e0d6b(0xe2)]||''):(_0x378315=_0xe88fe0[_0x5e0d6b(0xe4)](_0x5e0d6b(0xce))[_0x5e0d6b(0xd5)](),_0x4df7d7=String(_0xe88fe0[_0x5e0d6b(0xce)])),{'startDate':_0x378315,'localizedPeriodName':_0x4df7d7};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x483728=_0xc127;function _0x1027(){const _0x2e5c4f=['8827KLErfi','4lItndA','setTemplate','set','element','10LwBYMk','Added\x20by','focus','ck-annotation','div','380996uVMIZJ','Removed\x20by','changeId','83485FPCfCW','bindTemplate','ck-revision-change__label','86JhECkH','author','name','6168yeFFsF','Suggested\x20by','356317OmuZqR','2704110BCqkib','_model','624MjvVvn','2758njWgvV','data','96lZrXel','add','isSuggestion','ck-revision-change','3582036fxeygU','span','ck-revision-change__','5453xWmQuv','type'];_0x1027=function(){return _0x2e5c4f;};return _0x1027();}(function(_0x2df926,_0x51c07f){const _0x4dc010=_0xc127,_0x25f3f9=_0x2df926();while(!![]){try{const _0x4cb6a4=parseInt(_0x4dc010(0x194))/0x1*(-parseInt(_0x4dc010(0x182))/0x2)+-parseInt(_0x4dc010(0x188))/0x3*(parseInt(_0x4dc010(0x197))/0x4)+parseInt(_0x4dc010(0x17f))/0x5*(-parseInt(_0x4dc010(0x18a))/0x6)+-parseInt(_0x4dc010(0x196))/0x7*(parseInt(_0x4dc010(0x185))/0x8)+-parseInt(_0x4dc010(0x191))/0x9*(parseInt(_0x4dc010(0x19b))/0xa)+-parseInt(_0x4dc010(0x17c))/0xb*(parseInt(_0x4dc010(0x18d))/0xc)+parseInt(_0x4dc010(0x187))/0xd*(parseInt(_0x4dc010(0x18b))/0xe);if(_0x4cb6a4===_0x51c07f)break;else _0x25f3f9['push'](_0x25f3f9['shift']());}catch(_0x52589f){_0x25f3f9['push'](_0x25f3f9['shift']());}}}(_0x1027,0xd6d29));import{View as _0x5cc23a}from'ckeditor5/src/ui.js';import{getTranslation as _0x2a0282}from'../../utils/common-translations.js';function _0xc127(_0x39c721,_0x50e175){const _0x1027c2=_0x1027();return _0xc127=function(_0xc127d0,_0x24d572){_0xc127d0=_0xc127d0-0x17c;let _0x14095b=_0x1027c2[_0xc127d0];return _0x14095b;},_0xc127(_0x39c721,_0x50e175);}export class ChangeDetailsView extends _0x5cc23a{[_0x483728(0x17e)];[_0x483728(0x189)];constructor(_0x267583,_0x20a5e0){const _0x47bf77=_0x483728;super(_0x267583),this[_0x47bf77(0x189)]=_0x20a5e0,this[_0x47bf77(0x17e)]=_0x20a5e0['id'];const _0x4b5bce=this[_0x47bf77(0x180)],_0x1a9fcf=_0x2a0282(_0x267583,_0x20a5e0[_0x47bf77(0x18c)][_0x47bf77(0x18f)]?_0x47bf77(0x186):_0x47bf77(0x18e)==_0x20a5e0[_0x47bf77(0x195)]?_0x47bf77(0x19c):_0x47bf77(0x17d));this[_0x47bf77(0x199)](_0x47bf77(0x195),_0x20a5e0[_0x47bf77(0x195)]),this[_0x47bf77(0x198)]({'tag':_0x47bf77(0x19f),'attributes':{'class':[_0x47bf77(0x19e),_0x47bf77(0x190),_0x4b5bce['to'](_0x47bf77(0x195),_0x1f068c=>_0x47bf77(0x193)+_0x1f068c)],'tabindex':-0x1},'children':[{'tag':_0x47bf77(0x192),'children':[{'tag':_0x47bf77(0x192),'attributes':{'class':[_0x47bf77(0x181)]},'children':[{'text':_0x1a9fcf}]},{'text':'\x20'+_0x20a5e0[_0x47bf77(0x183)][_0x47bf77(0x184)]}]}]});}[_0x483728(0x19d)](){const _0x248491=_0x483728;this[_0x248491(0x19a)][_0x248491(0x19d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf3d7(){const _0x56df51=['currentChangeNumber','numberOfChanges','set','EDIT_X_OF_Y_REVISIONS','4574770wregaW','Show\x20previous\x20change','6497528jBStbV','ck-revision-history-ui','ck-hidden','67172gNUpRx','isReady','span','_statusText','isNavigationMode','11ZJpAHN','21690639ZYVTpg','bind','ck-revision-history-ui__changes-navigation__label','_isStatusLabelVisible','356512CyvJQk','execute','isForwardNavigationEnabled','6wMyOoU','X_OF_Y_CHANGES','div','fire','Show\x20next\x20change','ck-revision-history-ui__changes-navigation','NUMBER_OF_CHANGES','ck-revision-history-ui__changes-navigation__wrapper','7042jFXuju','2159367NuKJKK','Loading...','ck-revision-history-ui__changes-navigation__navigation','Total','isEnabled','isBackwardNavigationEnabled','backward','setTemplate','forward','No\x20changes','bindTemplate'];_0xf3d7=function(){return _0x56df51;};return _0xf3d7();}(function(_0x422fbb,_0x17b0cd){const _0x1cd2b7=_0x34ac,_0x528569=_0x422fbb();while(!![]){try{const _0xfbe839=-parseInt(_0x1cd2b7(0x200))/0x1*(-parseInt(_0x1cd2b7(0x1fb))/0x2)+parseInt(_0x1cd2b7(0x1e7))/0x3+parseInt(_0x1cd2b7(0x1db))/0x4+parseInt(_0x1cd2b7(0x1f6))/0x5+-parseInt(_0x1cd2b7(0x1de))/0x6*(-parseInt(_0x1cd2b7(0x1e6))/0x7)+parseInt(_0x1cd2b7(0x1f8))/0x8+-parseInt(_0x1cd2b7(0x201))/0x9;if(_0xfbe839===_0x17b0cd)break;else _0x528569['push'](_0x528569['shift']());}catch(_0x29a5d3){_0x528569['push'](_0x528569['shift']());}}}(_0xf3d7,0x7933b));import{View as _0x46e4c8,ButtonView as _0x4783d2,ToolbarSeparatorView as _0x287b4a}from'ckeditor5/src/ui.js';import{IconChevronUp as _0x2d6816,IconChevronDown as _0x444c90}from'ckeditor5/src/icons.js';import{getTranslation as _0x12f107}from'../../utils/common-translations.js';function _0x34ac(_0x597343,_0x25f673){const _0xf3d71d=_0xf3d7();return _0x34ac=function(_0x34ac71,_0x483a93){_0x34ac71=_0x34ac71-0x1da;let _0x60fb5e=_0xf3d71d[_0x34ac71];return _0x60fb5e;},_0x34ac(_0x597343,_0x25f673);}import'../../../theme/changesnavigation.css';export class ChangesNavigationView extends _0x46e4c8{constructor(_0x39036f){const _0x424121=_0x34ac;super(_0x39036f);const _0x32cdd7=this[_0x424121(0x1f1)],_0x2b70ba=new _0x4783d2(_0x39036f),_0x241810=new _0x4783d2(_0x39036f);this[_0x424121(0x1f4)](_0x424121(0x1ff),!0x1),this[_0x424121(0x1f4)](_0x424121(0x1fc),!0x1),this[_0x424121(0x1f4)](_0x424121(0x1f2),0x0),this[_0x424121(0x1f4)](_0x424121(0x1f3),0x0),this[_0x424121(0x1f4)](_0x424121(0x1dd),!0x1),this[_0x424121(0x1f4)](_0x424121(0x1ec),!0x1),this[_0x424121(0x202)](_0x424121(0x1da))['to'](this,_0x424121(0x1fc),this,_0x424121(0x1f3),(_0x312818,_0x15bdf1)=>_0x312818&&_0x15bdf1>0x0),this[_0x424121(0x202)](_0x424121(0x1fe))['to'](this,_0x424121(0x1fc),this,_0x424121(0x1f2),this,_0x424121(0x1f3),this,_0x424121(0x1ff),(_0x3e29ae,_0x139232,_0x6090d7,_0x4c4a8e)=>{const _0x1e5728=_0x424121;if(!_0x3e29ae)return _0x12f107(_0x39036f,_0x1e5728(0x1e8));if(!_0x6090d7)return _0x12f107(_0x39036f,_0x1e5728(0x1f0));const _0x5ecf95=_0x12f107(_0x39036f,_0x1e5728(0x1e4),_0x6090d7);return _0x4c4a8e?_0x12f107(_0x39036f,_0x1e5728(0x1df),[_0x139232+0x1,_0x6090d7]):_0x5ecf95;}),_0x2b70ba[_0x424121(0x1f4)]({'label':_0x12f107(_0x39036f,_0x424121(0x1f7)),'tooltip':!0x0,'icon':_0x2d6816}),_0x241810[_0x424121(0x1f4)]({'label':_0x12f107(_0x39036f,_0x424121(0x1e2)),'tooltip':!0x0,'icon':_0x444c90}),_0x2b70ba[_0x424121(0x202)](_0x424121(0x1eb))['to'](this,_0x424121(0x1ec)),_0x241810[_0x424121(0x202)](_0x424121(0x1eb))['to'](this,_0x424121(0x1dd)),_0x2b70ba['on'](_0x424121(0x1dc),()=>this[_0x424121(0x1e1)](_0x424121(0x1dc),_0x424121(0x1ed))),_0x241810['on'](_0x424121(0x1dc),()=>this[_0x424121(0x1e1)](_0x424121(0x1dc),_0x424121(0x1ef))),this[_0x424121(0x1ee)]({'tag':_0x424121(0x1e0),'attributes':{'class':['ck',_0x424121(0x1f9),_0x424121(0x1e3)]},'children':[{'tag':_0x424121(0x1fd),'attributes':{'class':[_0x424121(0x1e5)]},'children':[{'tag':_0x424121(0x1fd),'attributes':{'class':[_0x424121(0x203),_0x32cdd7['if'](_0x424121(0x1da),_0x424121(0x1fa),_0x2854b2=>!_0x2854b2)]},'children':[{'text':_0x32cdd7['to'](_0x424121(0x1ff),_0x39ede5=>_0x39ede5?_0x12f107(_0x39036f,_0x424121(0x1f5))+':\x20':_0x12f107(_0x39036f,_0x424121(0x1ea))+':\x20')}]},{'text':_0x32cdd7['to'](_0x424121(0x1fe))}]},new _0x287b4a(),{'tag':_0x424121(0x1e0),'attributes':{'class':[_0x424121(0x1e9)]},'children':[_0x2b70ba,_0x241810]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7be1e0=_0xc6a7;(function(_0x5a3826,_0x398f6a){const _0x43e7cf=_0xc6a7,_0x85fc6c=_0x5a3826();while(!![]){try{const _0x168508=parseInt(_0x43e7cf(0x1a6))/0x1*(-parseInt(_0x43e7cf(0x1b1))/0x2)+-parseInt(_0x43e7cf(0x1b5))/0x3+parseInt(_0x43e7cf(0x1a2))/0x4*(parseInt(_0x43e7cf(0x19c))/0x5)+-parseInt(_0x43e7cf(0x19a))/0x6+parseInt(_0x43e7cf(0x19d))/0x7+parseInt(_0x43e7cf(0x196))/0x8+-parseInt(_0x43e7cf(0x1b0))/0x9*(-parseInt(_0x43e7cf(0x195))/0xa);if(_0x168508===_0x398f6a)break;else _0x85fc6c['push'](_0x85fc6c['shift']());}catch(_0x5e274d){_0x85fc6c['push'](_0x85fc6c['shift']());}}}(_0x2d17,0xb7914));import{Plugin as _0x5d0411}from'ckeditor5/src/core.js';function _0x2d17(){const _0x461ef4=['show','bind','isEnabled','2082825zPIinv','382QBHqNW','set','add','isReady','2247387DAKgnB','numberOfChanges','init','componentFactory','showPreviousChange','ck-revision-history-ui__back-to-editing','isForwardNavigationEnabled','commands','Restore\x20this\x20revision','requires','hide','config','revisionHistory','isNavigationMode','RevisionViewerUI','isOfficialPlugin','110ZhHMWU','672352wsnjiv','listenTo','change:isReady','execute','451326EYkjyl','exitToEditing','60YiwuRZ','1082732OrOGnu','showNextChange','Back\x20to\x20editing','restoreRevision','get','63768IpJVdX','isPremiumPlugin','pluginName','isBackwardNavigationEnabled','7327ivBWwD','forward','closeRevisionViewerCallback','plugins','editor','changesNavigation','currentChangeNumber'];_0x2d17=function(){return _0x461ef4;};return _0x2d17();}import{ButtonView as _0x38a2be}from'ckeditor5/src/ui.js';function _0xc6a7(_0x298986,_0x469a4a){const _0x2d17a6=_0x2d17();return _0xc6a7=function(_0xc6a7a6,_0x26507d){_0xc6a7a6=_0xc6a7a6-0x18c;let _0x2ab25a=_0x2d17a6[_0xc6a7a6];return _0x2ab25a;},_0xc6a7(_0x298986,_0x469a4a);}import{IconUndo as _0x4cf0c2}from'ckeditor5/src/icons.js';import{ChangesNavigationView as _0x4a649f}from'./changesnavigationview.js';import{RevisionViewer as _0x205ddb}from'./../../revisionviewer.js';import{RevisionViewerLoadingOverlay as _0x13075a}from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x578f80}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export class RevisionViewerUI extends _0x5d0411{static get[_0x7be1e0(0x1a4)](){const _0x3bb927=_0x7be1e0;return _0x3bb927(0x193);}static get[_0x7be1e0(0x194)](){return!0x0;}static get[_0x7be1e0(0x1a3)](){return!0x0;}static get[_0x7be1e0(0x18e)](){return[_0x205ddb,_0x13075a];}[_0x7be1e0(0x1b7)](){const _0x42b4c5=_0x7be1e0,_0x46b8f4=this[_0x42b4c5(0x1aa)],_0x3724e8=_0x46b8f4[_0x42b4c5(0x1a9)][_0x42b4c5(0x1a1)](_0x205ddb),_0x46ec74=_0x46b8f4[_0x42b4c5(0x1a9)][_0x42b4c5(0x1a1)](_0x13075a);_0x46b8f4['ui'][_0x42b4c5(0x1b8)][_0x42b4c5(0x1b3)](_0x42b4c5(0x19b),_0x30215e=>{const _0x1795ac=_0x42b4c5,_0x59ebb5=new _0x38a2be(_0x30215e);return _0x59ebb5[_0x1795ac(0x1b2)]({'label':_0x578f80(_0x30215e,_0x1795ac(0x19f)),'icon':_0x4cf0c2,'withText':!0x0,'tooltip':!0x0,'class':_0x1795ac(0x1ba)}),this[_0x1795ac(0x197)](_0x59ebb5,_0x1795ac(0x199),()=>{const _0x12ed99=_0x1795ac;_0x46b8f4[_0x12ed99(0x190)][_0x12ed99(0x1a1)](_0x12ed99(0x191))[_0x12ed99(0x1a8)]();}),_0x59ebb5;}),_0x46b8f4['ui'][_0x42b4c5(0x1b8)][_0x42b4c5(0x1b3)](_0x42b4c5(0x1a0),_0x53366b=>{const _0x3f0438=_0x42b4c5,_0xab7a0a=new _0x38a2be(_0x53366b);return _0xab7a0a[_0x3f0438(0x1b2)]({'label':_0x578f80(_0x53366b,_0x3f0438(0x18d)),'withText':!0x0,'tooltip':!0x0}),_0xab7a0a[_0x3f0438(0x1ae)](_0x3f0438(0x1af))['to'](_0x46b8f4[_0x3f0438(0x18c)][_0x3f0438(0x1a1)](_0x3f0438(0x1a0))),this[_0x3f0438(0x197)](_0xab7a0a,_0x3f0438(0x199),()=>_0x46b8f4[_0x3f0438(0x199)](_0x3f0438(0x1a0))),_0xab7a0a;}),_0x46b8f4['ui'][_0x42b4c5(0x1b8)][_0x42b4c5(0x1b3)](_0x42b4c5(0x1ab),_0x388620=>{const _0x46d53=_0x42b4c5,_0x89016=new _0x4a649f(_0x388620),_0x41f175=_0x46b8f4[_0x46d53(0x18c)][_0x46d53(0x1a1)](_0x46d53(0x1b9)),_0x53c6a2=_0x46b8f4[_0x46d53(0x18c)][_0x46d53(0x1a1)](_0x46d53(0x19e));return _0x89016[_0x46d53(0x1ae)](_0x46d53(0x1a5))['to'](_0x41f175,_0x46d53(0x1af)),_0x89016[_0x46d53(0x1ae)](_0x46d53(0x1bb))['to'](_0x53c6a2,_0x46d53(0x1af)),_0x89016[_0x46d53(0x1ae)](_0x46d53(0x1b4),_0x46d53(0x1ac),_0x46d53(0x1b6),_0x46d53(0x192))['to'](_0x3724e8),this[_0x46d53(0x197)](_0x89016,_0x46d53(0x199),(_0x33b602,_0x11137b)=>{const _0x116b0a=_0x46d53;_0x46b8f4[_0x116b0a(0x199)](_0x116b0a(0x1a7)===_0x11137b?_0x116b0a(0x19e):_0x116b0a(0x1b9));}),_0x89016;}),_0x46ec74[_0x42b4c5(0x1ad)](),_0x3724e8['on'](_0x42b4c5(0x198),(_0x36282b,_0x405937,_0x161bf5)=>{const _0x34c77c=_0x42b4c5;_0x161bf5?_0x46ec74[_0x34c77c(0x18f)]():_0x46ec74[_0x34c77c(0x1ad)]();});}}
|