@ckeditor/ckeditor5-revision-history 41.3.0-alpha.4 → 41.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/package.json +5 -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/index.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.d.ts +6 -30
- 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.d.ts +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revisionhistorysaverevisionform.css +4 -11
- package/dist/content-index.css +0 -374
- package/dist/editor-index.css +0 -742
- package/dist/index.css +0 -1712
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en-gb.d.ts +0 -8
- package/dist/translations/en-gb.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/ku.d.ts +0 -8
- package/dist/translations/ku.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/ne.d.ts +0 -8
- package/dist/translations/ne.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/augmentation.d.ts +0 -33
- package/dist/types/changeitem.d.ts +0 -62
- package/dist/types/editor/revisionviewereditor.d.ts +0 -31
- package/dist/types/editor/revisionviewereditorui.d.ts +0 -32
- package/dist/types/editor/revisionviewereditoruiview.d.ts +0 -47
- package/dist/types/index.d.ts +0 -19
- package/dist/types/revision.d.ts +0 -157
- package/dist/types/revisiondiff.d.ts +0 -28
- package/dist/types/revisionhistory.d.ts +0 -103
- package/dist/types/revisionhistoryadapter.d.ts +0 -68
- package/dist/types/revisionhistoryconfig.d.ts +0 -75
- package/dist/types/revisionsrepository.d.ts +0 -56
- package/dist/types/revisiontracker.d.ts +0 -89
- package/dist/types/revisionviewer.d.ts +0 -29
- package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +0 -14
- package/dist/types/ui/revision/revisionauthorview.d.ts +0 -9
- package/dist/types/ui/revision/revisionnameview.d.ts +0 -9
- package/dist/types/ui/revision/revisionview.d.ts +0 -99
- package/dist/types/ui/revision/subrevisioncollapserview.d.ts +0 -25
- package/dist/types/ui/revision/subrevisionview.d.ts +0 -38
- package/dist/types/ui/revision/utils.d.ts +0 -9
- package/dist/types/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +0 -85
- package/dist/types/ui/revisionhistory/revisionhistoryui.d.ts +0 -30
- package/dist/types/ui/revisionssidebar/revisionssidebar.d.ts +0 -48
- package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +0 -9
- package/dist/types/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +0 -33
- package/dist/types/ui/revisionssidebar/revisionssidebarview.d.ts +0 -48
- package/dist/types/ui/revisionssidebar/utils.d.ts +0 -13
- package/dist/types/ui/revisionviewer/changedetailsview.d.ts +0 -26
- package/dist/types/ui/revisionviewer/changesnavigationview.d.ts +0 -44
- package/dist/types/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +0 -30
- package/dist/types/ui/revisionviewer/revisionviewerui.d.ts +0 -32
- package/dist/types/utils/common-translations.d.ts +0 -15
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionhistory/revisionhistorysaverevisionformview
|
|
7
|
+
*/
|
|
8
|
+
import { LabeledFieldView, View, type InputTextView } from 'ckeditor5/src/ui.js';
|
|
9
|
+
import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
|
|
7
10
|
import '../../../theme/revisionhistorysaverevisionform.css';
|
|
8
11
|
import '@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';
|
|
9
12
|
/**
|
|
@@ -24,14 +27,6 @@ export default class RevisionHistorySaveRevisionFormView extends View {
|
|
|
24
27
|
* The revision name input view.
|
|
25
28
|
*/
|
|
26
29
|
revisionNameInputView: LabeledFieldView<InputTextView>;
|
|
27
|
-
/**
|
|
28
|
-
* The Save button view.
|
|
29
|
-
*/
|
|
30
|
-
saveButtonView: ButtonView;
|
|
31
|
-
/**
|
|
32
|
-
* The Cancel button view.
|
|
33
|
-
*/
|
|
34
|
-
cancelButtonView: ButtonView;
|
|
35
30
|
/**
|
|
36
31
|
* The value of the revision name input.
|
|
37
32
|
*
|
|
@@ -44,7 +39,7 @@ export default class RevisionHistorySaveRevisionFormView extends View {
|
|
|
44
39
|
*/
|
|
45
40
|
render(): void;
|
|
46
41
|
/**
|
|
47
|
-
* Focuses the
|
|
42
|
+
* Focuses the {@link #revisionNameInputView}.
|
|
48
43
|
*/
|
|
49
44
|
focus(): void;
|
|
50
45
|
/**
|
|
@@ -60,22 +55,3 @@ export default class RevisionHistorySaveRevisionFormView extends View {
|
|
|
60
55
|
*/
|
|
61
56
|
reset(): void;
|
|
62
57
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Fired when the form view is submitted (when one of the children triggered the submit event),
|
|
65
|
-
* e.g. click on {@link #saveButtonView}.
|
|
66
|
-
*
|
|
67
|
-
* @eventName submit
|
|
68
|
-
*/
|
|
69
|
-
export interface SaveRevisionFormSubmitEvent extends BaseEvent {
|
|
70
|
-
name: 'submit';
|
|
71
|
-
args: [];
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Fired when the form view is canceled, e.g. by a click on {@link #cancelButtonView}.
|
|
75
|
-
*
|
|
76
|
-
* @eventName cancel
|
|
77
|
-
*/
|
|
78
|
-
export interface SaveRevisionFormCancelEvent extends BaseEvent {
|
|
79
|
-
name: 'cancel';
|
|
80
|
-
args: [];
|
|
81
|
-
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ca4a3=_0x5778;(function(_0x526a45,_0x33abbc){const _0x1a03a1=_0x5778,_0x15f15e=_0x526a45();while(!![]){try{const _0xdad1f=parseInt(_0x1a03a1(0x1a9))/0x1+-parseInt(_0x1a03a1(0x1a4))/0x2+-parseInt(_0x1a03a1(0x19a))/0x3+-parseInt(_0x1a03a1(0x199))/0x4*(-parseInt(_0x1a03a1(0x187))/0x5)+parseInt(_0x1a03a1(0x194))/0x6*(-parseInt(_0x1a03a1(0x188))/0x7)+parseInt(_0x1a03a1(0x19f))/0x8*(parseInt(_0x1a03a1(0x191))/0x9)+parseInt(_0x1a03a1(0x1a6))/0xa;if(_0xdad1f===_0x33abbc)break;else _0x15f15e['push'](_0x15f15e['shift']());}catch(_0x5b21bf){_0x15f15e['push'](_0x15f15e['shift']());}}}(_0x4580,0xda802));import{LabeledFieldView as _0x2176e3,View as _0x22ed31,createLabeledInputText as _0xd68a68,injectCssTransitionDisabler as _0x306f80,submitHandler as _0x838577}from'ckeditor5/src/ui.js';import{FocusTracker as _0x515c8f,KeystrokeHandler as _0x33de13}from'ckeditor5/src/utils.js';import{getTranslation as _0x38591a}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';function _0x4580(){const _0x43f9e3=['revisionNameInputValue','add','render','locale','2995XQBpyK','77uislMp','errorText','input','fieldView','revisionName','arrowleft','setTemplate','_createRevisionNameInput','arrowright','756oMihGt','220','ck-revision-history-save-revision-form','815838GigIuj','value','extendTemplate','focus','stopPropagation','1176hnXjdO','1744851EmUojj','revisionNameInputView','reset','listenTo','optional','118960hgAFaC','Name\x20of\x20the\x20revision','label','set','ck-responsive-form','3431854Qgzmhr','form','14773260UrGmJW','element','focusTracker','1785713BVjStS','trim','arrowdown','arrowup','keystrokes'];_0x4580=function(){return _0x43f9e3;};return _0x4580();}function _0x5778(_0x123fe3,_0x3b4c51){const _0x45803e=_0x4580();return _0x5778=function(_0x5778a5,_0x4d1cc0){_0x5778a5=_0x5778a5-0x180;let _0x3ce1aa=_0x45803e[_0x5778a5];return _0x3ce1aa;},_0x5778(_0x123fe3,_0x3b4c51);}export default class ns extends _0x22ed31{constructor(_0x3f5f47,_0x4c2819){const _0x296a94=_0x5778;super(_0x3f5f47),this[_0x296a94(0x1a8)]=new _0x515c8f(),this[_0x296a94(0x182)]=new _0x33de13(),this[_0x296a94(0x1a2)](_0x296a94(0x183),''),this[_0x296a94(0x19b)]=this[_0x296a94(0x18f)](_0x4c2819),this[_0x296a94(0x18e)]({'tag':_0x296a94(0x1a5),'attributes':{'class':['ck',_0x296a94(0x193),_0x296a94(0x1a3)],'tabindex':'-1'},'children':[this[_0x296a94(0x19b)]]}),_0x306f80(this);}[_0x5ca4a3(0x185)](){const _0x2db599=_0x5ca4a3;super[_0x2db599(0x185)](),_0x838577({'view':this}),this[_0x2db599(0x1a8)][_0x2db599(0x184)](this[_0x2db599(0x19b)][_0x2db599(0x1a7)]),this[_0x2db599(0x182)][_0x2db599(0x19d)](this[_0x2db599(0x1a7)]);const _0x27ca93=_0xf8f59e=>_0xf8f59e[_0x2db599(0x198)]();this[_0x2db599(0x182)][_0x2db599(0x1a2)](_0x2db599(0x190),_0x27ca93),this[_0x2db599(0x182)][_0x2db599(0x1a2)](_0x2db599(0x18d),_0x27ca93),this[_0x2db599(0x182)][_0x2db599(0x1a2)](_0x2db599(0x181),_0x27ca93),this[_0x2db599(0x182)][_0x2db599(0x1a2)](_0x2db599(0x180),_0x27ca93);}[_0x5ca4a3(0x197)](){const _0x3a47b4=_0x5ca4a3;this[_0x3a47b4(0x19b)][_0x3a47b4(0x197)]();}get[_0x5ca4a3(0x18c)](){const _0x4f8455=_0x5ca4a3;return this[_0x4f8455(0x19b)][_0x4f8455(0x18b)][_0x4f8455(0x1a7)][_0x4f8455(0x195)][_0x4f8455(0x1aa)]();}set[_0x5ca4a3(0x18c)](_0x29bd46){const _0x3fcedb=_0x5ca4a3;this[_0x3fcedb(0x19b)][_0x3fcedb(0x18b)][_0x3fcedb(0x1a7)][_0x3fcedb(0x195)]=_0x29bd46[_0x3fcedb(0x1aa)]();}[_0x5ca4a3(0x19c)](){const _0x3aa967=_0x5ca4a3;this[_0x3aa967(0x19b)][_0x3aa967(0x18b)][_0x3aa967(0x1a7)][_0x3aa967(0x195)]='',this[_0x3aa967(0x19b)][_0x3aa967(0x189)]=null;}[_0x5ca4a3(0x18f)](_0x3fc815){const _0x1ff8ad=_0x5ca4a3,_0x17bdeb=new _0x2176e3(this[_0x1ff8ad(0x186)],_0xd68a68),_0x46a999=_0x17bdeb[_0x1ff8ad(0x18b)];_0x46a999[_0x1ff8ad(0x196)]({'attributes':{'maxlength':_0x1ff8ad(0x192)}});let _0x3fe85f=_0x38591a(this[_0x1ff8ad(0x186)],_0x1ff8ad(0x1a0));return!_0x3fc815&&(_0x3fe85f+='\x20('+_0x38591a(this[_0x1ff8ad(0x186)],_0x1ff8ad(0x19e))+')'),(_0x17bdeb[_0x1ff8ad(0x1a1)]=_0x3fe85f,_0x46a999['on'](_0x1ff8ad(0x18a),()=>{const _0x2abc67=_0x1ff8ad;this[_0x2abc67(0x183)]=_0x46a999[_0x2abc67(0x1a7)][_0x2abc67(0x195)][_0x2abc67(0x1aa)]();}),_0x17bdeb);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
import{Plugin as _0x2effcb,icons as _0xa8b305}from'ckeditor5/src/core.js';import{createDropdown as _0x130512,ButtonView as _0x115586,ListItemView as _0x1f5657,ListView as te,MenuBarMenuListItemButtonView as _0x2ca954,MenuBarMenuListItemView as _0x35b134,MenuBarMenuListView as _0xb168c,MenuBarMenuView as _0x1f3ce9}from'ckeditor5/src/ui.js';import _0x132678 from'../../revisiontracker.js';import _0x28e128 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0x50d9d1}from'../../utils/common-translations.js';export default class u extends _0x2effcb{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x132678];}['init'](){const _0x972b9d=this['editor'],_0x525ed4=_0x972b9d['plugins']['get']('RevisionTracker');_0x972b9d['ui']['componentFactory']['add']('revisionHistory',_0x1f800b=>{const _0x2f9c96=_0x130512(_0x1f800b),_0x66c0b6=_0x2f9c96['panelView']['children'],_0x4c9897=new te(_0x1f800b),_0x2a9044=new _0x1f5657(_0x1f800b),_0x526c4f=new _0x115586(_0x1f800b),_0x1245f2=new _0x1f5657(_0x1f800b),_0x4f16a7=new _0x115586(_0x1f800b);return _0x2f9c96['bind']('isEnabled')['to'](_0x525ed4,'isReady',_0x525ed4,'isEnabled',_0x972b9d,'isReadOnly',(_0x580b0d,_0x339dde,_0x28d15d)=>_0x580b0d&&_0x339dde&&!_0x28d15d),_0x2f9c96['buttonView']['set']({'icon':_0xa8b305['history'],'label':_0x50d9d1(_0x1f800b,'Revision\x20history'),'tooltip':!0x0}),_0x526c4f['set']({'label':_0x50d9d1(_0x1f800b,'Save\x20current\x20revision'),'withText':!0x0}),_0x526c4f['bind']('isEnabled')['to'](_0x525ed4,'isReady',_0x525ed4,'isEnabled',_0x972b9d,'isReadOnly',(_0x338c3a,_0x177552,_0x4ed6f4)=>_0x338c3a&&_0x177552&&!_0x4ed6f4),_0x526c4f['on']('execute',()=>this['_showDialog']()),_0x4f16a7['set']({'label':_0x50d9d1(_0x1f800b,'Open\x20revision\x20history'),'withText':!0x0}),_0x4f16a7['bind']('isEnabled')['to'](_0x525ed4,'isReady',_0x972b9d,'isReadOnly',(_0x2a9027,_0x4d62cb)=>_0x2a9027&&!_0x4d62cb),_0x4f16a7['on']('execute',()=>{_0x972b9d['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x2f9c96['isOpen']=!0x1,_0x972b9d['editing']['view']['focus']();}),_0x2a9044['children']['add'](_0x526c4f),_0x1245f2['children']['add'](_0x4f16a7),_0x4c9897['items']['addMany']([_0x2a9044,_0x1245f2]),_0x66c0b6['add'](_0x4c9897),_0x2f9c96;}),_0x972b9d['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x39fbb9=this['editor'],_0x141586=_0x39fbb9['locale'],_0x542b98=new _0x1f3ce9(_0x141586),_0x467b2c=new _0xb168c(_0x141586);_0x542b98['buttonView']['set']({'icon':_0xa8b305['history'],'label':_0x50d9d1(_0x141586,'Revision\x20history')});const _0x5b0fd4=new _0x35b134(_0x141586,_0x542b98),_0x539202=new _0x2ca954(_0x141586);_0x539202['set']({'label':_0x50d9d1(_0x141586,'Save\x20current\x20revision')}),_0x539202['delegate']('execute')['to'](_0x542b98),_0x539202['on']('execute',()=>{this['_showDialog']();}),_0x5b0fd4['children']['add'](_0x539202),_0x467b2c['items']['add'](_0x5b0fd4);const _0x27d994=new _0x35b134(_0x141586,_0x542b98),_0x185dc5=new _0x2ca954(_0x141586);return _0x185dc5['set']({'label':_0x50d9d1(_0x141586,'Open\x20revision\x20history')}),_0x185dc5['delegate']('execute')['to'](_0x542b98),_0x185dc5['on']('execute',()=>{_0x39fbb9['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x27d994['children']['add'](_0x185dc5),_0x467b2c['items']['add'](_0x27d994),_0x542b98['panelView']['children']['add'](_0x467b2c),_0x542b98;}['_showDialog'](){const _0x8b0f00=this['editor'],_0x3dfe39=_0x8b0f00['locale'],t=_0x3dfe39['t'],_0x48277e=_0x8b0f00['plugins']['get']('Dialog'),_0x537c4d=_0x8b0f00['plugins']['get']('RevisionTracker');function _0x58f9ab(_0x1e7b41){_0x8b0f00['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1e7b41['revisionName']?_0x1e7b41['revisionNameInputView']['errorText']=_0x50d9d1(_0x3dfe39,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x8b0f00['plugins']['get'](_0x132678)['saveRevision']({'name':_0x1e7b41['revisionName']}),_0x48277e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x58f9ab(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x48277e['show']({'id':'findAndReplace','title':_0x50d9d1(_0x3dfe39,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x48277e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1f0c2b){_0x1f0c2b['bind']('isEnabled')['to'](_0x537c4d,'isReady',_0x537c4d,'isEnabled',_0x8b0f00,'isReadOnly',(_0x307692,_0x5d50ad,_0x1882a8)=>_0x307692&&_0x5d50ad&&!_0x1882a8);},'onExecute':()=>_0x58f9ab(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1b0f0f=this['editor'],_0x191098=_0x1b0f0f['locale'];this['_saveRevisionFormView']=new _0x28e128(_0x191098,_0x1b0f0f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x238b21=_0x178d;(function(_0x4e5b33,_0x29e414){const _0x3d92c2=_0x178d,_0xeaae9b=_0x4e5b33();while(!![]){try{const _0x214dac=-parseInt(_0x3d92c2(0xc3))/0x1+-parseInt(_0x3d92c2(0xeb))/0x2+-parseInt(_0x3d92c2(0xe5))/0x3*(-parseInt(_0x3d92c2(0xe6))/0x4)+parseInt(_0x3d92c2(0x106))/0x5*(-parseInt(_0x3d92c2(0x101))/0x6)+parseInt(_0x3d92c2(0xc2))/0x7*(parseInt(_0x3d92c2(0xe1))/0x8)+-parseInt(_0x3d92c2(0xbe))/0x9+parseInt(_0x3d92c2(0xea))/0xa;if(_0x214dac===_0x29e414)break;else _0xeaae9b['push'](_0xeaae9b['shift']());}catch(_0x40f8d4){_0xeaae9b['push'](_0xeaae9b['shift']());}}}(_0x4679,0x3b0df));import{Plugin as _0x512646}from'ckeditor5/src/core.js';import _0x32d7bc from'./revisionssidebarview.js';import _0xf87109 from'../../revisionviewer.js';function _0x4679(){const _0x10ff4e=['pluginName','bind','length','revisionHistory','Restore\x20this\x20revision','revisionSelected','revisionHistory.requireRevisionName','_handleRevisionSelected','_revisionViewer','compareAgainstSelected','select','compare','restoreRevision','_revisionsRepository','Compare\x20against\x20selected','revisionHistory.viewerSidebarContainer','highlightRevisions','_sidebarView','restoreRevisionCallback','isReady','getRevision','name','change:diff','revisionHistory.revisionActions','isEnabled','add','appendChild','95896ihHowX','isSelected','editor','getRevisionsInDiff','69cBNvQT','48452HVTgrv','listenTo','selectRevision','remove','6532380zFYWtJ','145524MdTXTc','_handleEditorDataReady','setName','fieldView','locale','getLaterVisibleRevision','_revisions','plugins','revisionViews','_handleRevisionSetName','ready','getEarlierVisibleRevision','timePeriodViews','newRevisionId','getIndex','get','data','revisionSetName','init','Name\x20this\x20revision','map','defaultRevisionActions','1758yjJllx','RevisionsSidebar','string','availableRevisionActions','diff','5585yrWqsI','destroy','_handleDiffChange','focus','isVisible','_createRevisionActions','element','render','action','874017Mqpdco','config','assign','requires','63AAsSTo','300677NaqjIz','nameRevision','repository'];_0x4679=function(){return _0x10ff4e;};return _0x4679();}export default class w extends _0x512646{static get[_0x238b21(0xc6)](){const _0x177764=_0x238b21;return _0x177764(0x102);}static get[_0x238b21(0xc1)](){return[_0xf87109];}constructor(_0x2e19f4){const _0x43a2a3=_0x238b21;super(_0x2e19f4),this[_0x43a2a3(0xce)]=_0x2e19f4[_0x43a2a3(0xf2)][_0x43a2a3(0xfa)](_0xf87109),this[_0x43a2a3(0xd3)]=this[_0x43a2a3(0xce)][_0x43a2a3(0xc5)],this[_0x43a2a3(0xd7)]=null;}[_0x238b21(0xfd)](){const _0x18fc9b=_0x238b21,_0x1d0c4b=this[_0x18fc9b(0xd3)][_0x18fc9b(0xf1)],_0x43252f=this[_0x18fc9b(0xba)](),_0x2764e4=this[_0x18fc9b(0xe3)][_0x18fc9b(0xbf)][_0x18fc9b(0xfa)](_0x18fc9b(0xd5));this[_0x18fc9b(0xd7)]=new _0x32d7bc(this[_0x18fc9b(0xe3)][_0x18fc9b(0xef)],_0x1d0c4b,_0x43252f,this[_0x18fc9b(0xe3)][_0x18fc9b(0xbf)][_0x18fc9b(0xfa)](_0x18fc9b(0xcc))),this[_0x18fc9b(0xd7)]['on'](_0x18fc9b(0xcb),this[_0x18fc9b(0xcd)][_0x18fc9b(0xc7)](this)),this[_0x18fc9b(0xd7)]['on'](_0x18fc9b(0xfc),this[_0x18fc9b(0xf4)][_0x18fc9b(0xc7)](this)),this[_0x18fc9b(0xd7)][_0x18fc9b(0xc7)](_0x18fc9b(0xde))['to'](this[_0x18fc9b(0xce)]),this[_0x18fc9b(0xd7)][_0x18fc9b(0xf7)]['on'](_0x18fc9b(0xdf),(_0x1db44e,_0x588105)=>{const _0x260f67=_0x18fc9b;_0x588105[_0x260f67(0xf3)]['on'](_0x260f67(0xdf),(_0x2facb3,_0x297daf)=>{const _0x363e95=_0x260f67;_0x297daf[_0x363e95(0xc7)](_0x363e95(0xde),_0x363e95(0xd9))['to'](this[_0x363e95(0xce)]);});}),this[_0x18fc9b(0xd7)][_0x18fc9b(0xbc)](),this[_0x18fc9b(0xe7)](this[_0x18fc9b(0xe3)][_0x18fc9b(0xfb)],_0x18fc9b(0xf5),this[_0x18fc9b(0xec)][_0x18fc9b(0xc7)](this)),this[_0x18fc9b(0xe7)](this[_0x18fc9b(0xce)],_0x18fc9b(0xdc),this[_0x18fc9b(0xb7)][_0x18fc9b(0xc7)](this)),_0x2764e4[_0x18fc9b(0xe0)](this[_0x18fc9b(0xd7)][_0x18fc9b(0xbb)]);}[_0x238b21(0xb6)](){const _0x4bfa18=_0x238b21;this[_0x4bfa18(0xd7)][_0x4bfa18(0xbb)][_0x4bfa18(0xe9)](),this[_0x4bfa18(0xd7)][_0x4bfa18(0xb6)]();}[_0x238b21(0xec)](){const _0x27fee9=_0x238b21,_0x3f001f=this[_0x27fee9(0xd3)][_0x27fee9(0xda)](0x0);if(_0x3f001f){const _0x2fafee=this[_0x27fee9(0xd3)][_0x27fee9(0xf6)](_0x3f001f['id']);this[_0x27fee9(0xce)][_0x27fee9(0xd1)](_0x3f001f,_0x2fafee);}}[_0x238b21(0xcd)](_0x1fdccd,_0x4533c3){const _0x359fb9=_0x238b21,_0x5c9f5d=this[_0x359fb9(0xd3)][_0x359fb9(0xda)](_0x4533c3['id']),_0x3dc93b=this[_0x359fb9(0xd3)][_0x359fb9(0xf6)](_0x5c9f5d['id']);this[_0x359fb9(0xce)][_0x359fb9(0xd1)](_0x5c9f5d,_0x3dc93b);}[_0x238b21(0xf4)](_0xde8020,_0x3af720){const _0x18a890=_0x238b21;this[_0x18a890(0xd3)][_0x18a890(0xda)](_0x3af720['id'])[_0x18a890(0xed)](_0x3af720[_0x18a890(0xdb)]);}[_0x238b21(0xb7)](_0x3a4d97,_0x5bd7fc,_0x393249){const _0x2bd709=_0x238b21,_0x4bf466=this[_0x2bd709(0xd3)][_0x2bd709(0xe4)](_0x393249);_0x4bf466[_0x2bd709(0xc8)]>0x2?(this[_0x2bd709(0xd7)][_0x2bd709(0xd6)](_0x4bf466),this[_0x2bd709(0xd7)][_0x2bd709(0xe8)](null)):(this[_0x2bd709(0xd7)][_0x2bd709(0xd6)]([]),this[_0x2bd709(0xd7)][_0x2bd709(0xe8)](_0x4bf466[0x0]));}[_0x238b21(0xba)](){const _0x59844d=_0x238b21,_0x3715f6=this[_0x59844d(0xe3)],_0x4a0411=w[_0x59844d(0x104)],_0x5f3d01=_0x3715f6[_0x59844d(0xbf)][_0x59844d(0xfa)](_0x59844d(0xdd))||w[_0x59844d(0x100)];if(_0x5f3d01[_0x59844d(0xc8)])return _0x5f3d01[_0x59844d(0xff)](_0x3227bd=>{const _0xa4bbf5=_0x59844d,_0x208d38=_0xa4bbf5(0x103)==typeof _0x3227bd?Object[_0xa4bbf5(0xc0)]({},_0x4a0411[_0x3227bd]):_0x3227bd;return _0x208d38[_0xa4bbf5(0xbd)]=_0x208d38[_0xa4bbf5(0xbd)][_0xa4bbf5(0xc7)](this,_0x3715f6),_0x208d38[_0xa4bbf5(0xb9)]&&(_0x208d38[_0xa4bbf5(0xb9)]=_0x208d38[_0xa4bbf5(0xb9)][_0xa4bbf5(0xc7)](this,_0x3715f6)),_0x208d38;});}}function _0x178d(_0x15be86,_0x48ee30){const _0x467967=_0x4679();return _0x178d=function(_0x178dbd,_0x3f6b7f){_0x178dbd=_0x178dbd-0xb6;let _0x572a11=_0x467967[_0x178dbd];return _0x572a11;},_0x178d(_0x15be86,_0x48ee30);}w[_0x238b21(0x104)]={'compareAgainstSelected':{'name':_0x238b21(0xd4),'action':({plugins:_0x6584f4},_0x574483)=>{const _0x1a62ec=_0x238b21,_0x39ec20=_0x6584f4[_0x1a62ec(0xfa)](_0xf87109),_0x54b757=_0x39ec20[_0x1a62ec(0xc5)];let _0x25ca27=_0x39ec20[_0x1a62ec(0x105)][_0x1a62ec(0xf8)],_0x521092=_0x574483['id'];_0x54b757[_0x1a62ec(0xf9)](_0x25ca27)>_0x54b757[_0x1a62ec(0xf9)](_0x521092)&&([_0x25ca27,_0x521092]=[_0x521092,_0x25ca27]),_0x39ec20[_0x1a62ec(0xd1)](_0x25ca27,_0x521092);},'isVisible':({plugins:_0x7556c0},_0x4778ec)=>{const _0x16b21a=_0x238b21,_0x3eec56=_0x7556c0[_0x16b21a(0xfa)](_0xf87109);return!(_0x3eec56[_0x16b21a(0xc5)][_0x16b21a(0xe4)](_0x3eec56[_0x16b21a(0x105)])[_0x16b21a(0xc8)]>0x2)&&!_0x4778ec[_0x16b21a(0xe2)];}},'restoreRevision':{'name':_0x238b21(0xca),'action':(_0x181e84,{id:_0x260f17})=>{const _0x36b085=_0x238b21;_0x181e84[_0x36b085(0xbf)][_0x36b085(0xfa)](_0x36b085(0xc9))[_0x36b085(0xd8)](_0x260f17);},'isVisible':({plugins:_0x283c06},_0x263196)=>!!_0x283c06[_0x238b21(0xfa)](_0xf87109)[_0x238b21(0xc5)][_0x238b21(0xf0)](_0x263196['id'])},'nameRevision':{'name':_0x238b21(0xfe),'action':({plugins:_0x55d913},{id:_0xb49480,revisionNameView:_0x47a241})=>{const _0x4d6b78=_0x238b21,_0x40b4b6=_0x55d913[_0x4d6b78(0xfa)](_0xf87109),_0x518e83=_0x40b4b6[_0x4d6b78(0xc5)][_0x4d6b78(0xf6)](_0xb49480);_0x40b4b6[_0x4d6b78(0xd1)](_0xb49480,_0x518e83),_0x47a241[_0x4d6b78(0xb8)](),_0x47a241[_0x4d6b78(0xee)][_0x4d6b78(0xd0)]();}}},w[_0x238b21(0x100)]=[_0x238b21(0xcf),_0x238b21(0xd2),_0x238b21(0xc4)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x26be(){const _0x256c7c=['history','30vOrXkc','1418824coNCjm','1745343CWGmjU','span','Revision\x20history','6027800WendDq','2527228rNrTTa','46255PfbbVN','9024918nQJsIB','content','setTemplate','709830fgHPED','ck-revision-history-sidebar__header','div','ck-reset_all','ck-revision-history-sidebar__header__label'];_0x26be=function(){return _0x256c7c;};return _0x26be();}function _0x1ad1(_0x11f22a,_0x3884fd){const _0x26be63=_0x26be();return _0x1ad1=function(_0x1ad148,_0x328316){_0x1ad148=_0x1ad148-0x99;let _0x537d6c=_0x26be63[_0x1ad148];return _0x537d6c;},_0x1ad1(_0x11f22a,_0x3884fd);}(function(_0x229ad8,_0x4d2a12){const _0x5ce76f=_0x1ad1,_0x34aa15=_0x229ad8();while(!![]){try{const _0x3eaf98=-parseInt(_0x5ce76f(0x9b))/0x1+parseInt(_0x5ce76f(0xa2))/0x2+parseInt(_0x5ce76f(0xa3))/0x3+parseInt(_0x5ce76f(0xa7))/0x4+-parseInt(_0x5ce76f(0xa8))/0x5*(-parseInt(_0x5ce76f(0xa1))/0x6)+-parseInt(_0x5ce76f(0xa9))/0x7+parseInt(_0x5ce76f(0xa6))/0x8;if(_0x3eaf98===_0x4d2a12)break;else _0x34aa15['push'](_0x34aa15['shift']());}catch(_0x30aca0){_0x34aa15['push'](_0x34aa15['shift']());}}}(_0x26be,0xb0aaa));import{View as _0x30ef09,IconView as _0x10705c}from'ckeditor5/src/ui.js';import{getTranslation as _0x32f326}from'../../utils/common-translations.js';import{icons as _0x51ddd7}from'ckeditor5/src/core.js';import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x30ef09{constructor(_0x583bd5){const _0x13fbb0=_0x1ad1;super(_0x583bd5);const _0x4fd771=new _0x10705c();_0x4fd771[_0x13fbb0(0x99)]=_0x51ddd7[_0x13fbb0(0xa0)],this[_0x13fbb0(0x9a)]({'tag':_0x13fbb0(0x9d),'attributes':{'class':['ck',_0x13fbb0(0x9e),_0x13fbb0(0x9c)]},'children':[_0x4fd771,{'tag':_0x13fbb0(0xa4),'attributes':{'class':['ck',_0x13fbb0(0x9f)]},'children':[_0x32f326(_0x583bd5,_0x13fbb0(0xa5))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29dbef=_0x52b7;(function(_0x487bc4,_0x415caa){const _0x3679d7=_0x52b7,_0x5bcda7=_0x487bc4();while(!![]){try{const _0x2ba134=parseInt(_0x3679d7(0x122))/0x1*(parseInt(_0x3679d7(0x11e))/0x2)+parseInt(_0x3679d7(0x11d))/0x3+-parseInt(_0x3679d7(0x12e))/0x4+-parseInt(_0x3679d7(0x121))/0x5+-parseInt(_0x3679d7(0x130))/0x6*(parseInt(_0x3679d7(0x123))/0x7)+-parseInt(_0x3679d7(0x131))/0x8+-parseInt(_0x3679d7(0x12f))/0x9*(-parseInt(_0x3679d7(0x115))/0xa);if(_0x2ba134===_0x415caa)break;else _0x5bcda7['push'](_0x5bcda7['shift']());}catch(_0xa86ec7){_0x5bcda7['push'](_0x5bcda7['shift']());}}}(_0x18c5,0xef34b));import{View as _0x25d2e5}from'ckeditor5/src/ui.js';import _0x61c6ee from'../revision/revisionview.js';function _0x52b7(_0x24858b,_0x343b0a){const _0x18c510=_0x18c5();return _0x52b7=function(_0x52b771,_0x1c4c1b){_0x52b771=_0x52b771-0x115;let _0x252ed3=_0x18c510[_0x52b771];return _0x252ed3;},_0x52b7(_0x24858b,_0x343b0a);}function _0x18c5(){const _0x3ac8b1=['16625XRXVTD','revisionViews','select','addRevision','add','ck-revision-history-sidebar__time-period','delegate','setTemplate','setName','locale','span','5585288SeNhYQ','1012833SdYxXV','1086lhCAyo','4541264lHZezC','localizedPeriodName','ck-revision-history-sidebar__time-period__revisions','ck-revision-history-sidebar__time-period__label','110aNHccM','_revisionActions','uiLanguage','_requireRevisionName','find','removeRevision','remove','createCollection','4880700ajvnXx','34622BPHPtF','div','startDate','3514675ymZycN','70FasGbu'];_0x18c5=function(){return _0x3ac8b1;};return _0x18c5();}import{getDateTimePeriodInfo as _0x43426a}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x25d2e5{constructor(_0x9e130c,_0x2a58a6,_0x15a12a,_0x205389){const _0x35983e=_0x52b7;super(_0x9e130c);const _0x42dc2e=_0x43426a(_0x2a58a6,this[_0x35983e(0x12c)][_0x35983e(0x117)])[_0x35983e(0x132)];this[_0x35983e(0x120)]=_0x2a58a6,this[_0x35983e(0x124)]=this[_0x35983e(0x11c)](),this[_0x35983e(0x116)]=_0x15a12a,this[_0x35983e(0x118)]=_0x205389,this[_0x35983e(0x124)][_0x35983e(0x129)](_0x35983e(0x125))['to'](this),this[_0x35983e(0x124)][_0x35983e(0x129)](_0x35983e(0x12b))['to'](this),this[_0x35983e(0x12a)]({'tag':_0x35983e(0x11f),'attributes':{'class':['ck',_0x35983e(0x128)]},'children':[{'tag':_0x35983e(0x12d),'attributes':{'class':['ck',_0x35983e(0x134)]},'children':[{'text':_0x42dc2e}]},{'tag':_0x35983e(0x11f),'attributes':{'class':['ck',_0x35983e(0x133)]},'children':this[_0x35983e(0x124)]}]});}[_0x29dbef(0x126)](_0x3268fb){const _0x2e15de=_0x29dbef,_0x37e519=new _0x61c6ee(this[_0x2e15de(0x12c)],_0x3268fb,this[_0x2e15de(0x116)],this[_0x2e15de(0x118)]);this[_0x2e15de(0x124)][_0x2e15de(0x127)](_0x37e519);}[_0x29dbef(0x11a)](_0xfc356d){const _0x39c644=_0x29dbef,_0x5bf378=this[_0x39c644(0x124)][_0x39c644(0x119)](_0x682edb=>_0x682edb['id']===_0xfc356d['id']);this[_0x39c644(0x124)][_0x39c644(0x11b)](_0x5bf378);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f2dd=_0x7140;(function(_0x24da80,_0x47d69f){const _0x51e405=_0x7140,_0x254086=_0x24da80();while(!![]){try{const _0x50f014=-parseInt(_0x51e405(0x151))/0x1*(-parseInt(_0x51e405(0x145))/0x2)+-parseInt(_0x51e405(0x138))/0x3+-parseInt(_0x51e405(0x132))/0x4+-parseInt(_0x51e405(0x165))/0x5+parseInt(_0x51e405(0x160))/0x6+-parseInt(_0x51e405(0x14c))/0x7*(-parseInt(_0x51e405(0x14a))/0x8)+-parseInt(_0x51e405(0x158))/0x9;if(_0x50f014===_0x47d69f)break;else _0x254086['push'](_0x254086['shift']());}catch(_0x48b6fc){_0x254086['push'](_0x254086['shift']());}}}(_0x552a,0xa6779));import{View as _0x5cb3b0}from'ckeditor5/src/ui.js';import _0x25c7c6 from'./revisionssidebartimeperiodview.js';import _0x3ade19 from'./revisionssidebarheaderview.js';function _0x7140(_0x1c431f,_0x50a96a){const _0x552aaf=_0x552a();return _0x7140=function(_0x714076,_0x1bbd72){_0x714076=_0x714076-0x132;let _0x14af89=_0x552aaf[_0x714076];return _0x14af89;},_0x7140(_0x1c431f,_0x50a96a);}function _0x552a(){const _0x512d8e=['createdAt','flat','highlight','highlightRevisions','7349679sqeEaH','div','find','revisionSelected','ck-disabled','render','delegate','_getTimePeriodViewByStartDate','7164768dmMtiy','add','revisionSetName','selectRevision','revisionViews','1389450oniSCo','_requireRevisionName','isEnabled','161004qAydDs','_removeRevision','some','locale','removeRevision','startDate','3233979rDsOdR','deselect','remove','uiLanguage','addRevision','ck-rounded-corners','ck-revision-history-sidebar','_addRevision','timePeriodViews','_revisions','map','set','getTime','282TgbBDU','_revisionActions','ck-revision-history-sidebar__timeline','setName','bindTemplate','8ayIIkJ','setTemplate','9462551XlWJtr','get','ck-reset','fire','unhighlight','2473XBPlyA','select','createCollection'];_0x552a=function(){return _0x512d8e;};return _0x552a();}import{getDateTimePeriodInfo as _0x3001a0}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x5cb3b0{constructor(_0xe9bf57,_0x10e75b,_0x526611,_0x22abf2){const _0x279bfb=_0x7140;super(_0xe9bf57);const _0x5c5104=this[_0x279bfb(0x149)];this[_0x279bfb(0x140)]=this[_0x279bfb(0x153)](),this[_0x279bfb(0x140)][_0x279bfb(0x15e)](_0x279bfb(0x152))['to'](this),this[_0x279bfb(0x140)][_0x279bfb(0x15e)](_0x279bfb(0x148))['to'](this),this[_0x279bfb(0x141)]=_0x10e75b,this[_0x279bfb(0x146)]=_0x526611,this[_0x279bfb(0x166)]=_0x22abf2,this['on'](_0x279bfb(0x152),(_0x3594e5,_0x2cf839)=>{const _0x51eaf7=_0x279bfb;this[_0x51eaf7(0x14f)](_0x51eaf7(0x15b),_0x2cf839);}),this['on'](_0x279bfb(0x148),(_0x3f2cdc,_0x326b63)=>{const _0x4b2623=_0x279bfb;this[_0x4b2623(0x14f)](_0x4b2623(0x162),_0x326b63);}),this[_0x279bfb(0x143)](_0x279bfb(0x167),!0x1),this[_0x279bfb(0x14b)]({'tag':_0x279bfb(0x159),'attributes':{'class':['ck',_0x279bfb(0x14e),_0x279bfb(0x13d),_0x279bfb(0x13e)]},'children':[new _0x3ade19(_0xe9bf57),{'tag':_0x279bfb(0x159),'attributes':{'class':['ck',_0x279bfb(0x147),_0x5c5104['if'](_0x279bfb(0x167),_0x279bfb(0x15c),_0x24d73f=>!_0x24d73f)]},'children':this[_0x279bfb(0x140)]}]});}[_0x10f2dd(0x15d)](){const _0x12b059=_0x10f2dd;super[_0x12b059(0x15d)]();for(const _0x2971bc of this[_0x12b059(0x141)])this[_0x12b059(0x13f)](_0x2971bc);this[_0x12b059(0x141)]['on'](_0x12b059(0x161),(_0x60a2c2,_0x43007d)=>{const _0x131a75=_0x12b059;this[_0x131a75(0x13f)](_0x43007d);}),this[_0x12b059(0x141)]['on'](_0x12b059(0x13a),(_0x753ff,_0x1c6c88)=>{const _0x53a2d1=_0x12b059;this[_0x53a2d1(0x133)](_0x1c6c88);});}get[_0x10f2dd(0x164)](){const _0x4ad47d=_0x10f2dd;return this[_0x4ad47d(0x140)][_0x4ad47d(0x142)](_0xa5958e=>_0xa5958e[_0x4ad47d(0x164)][_0x4ad47d(0x142)](_0x5b33fc=>_0x5b33fc))[_0x4ad47d(0x155)]();}[_0x10f2dd(0x163)](_0x48a49b){const _0x2d8d19=_0x10f2dd;for(const _0x381201 of this[_0x2d8d19(0x164)])_0x48a49b&&_0x48a49b['id']===_0x381201['id']?_0x381201[_0x2d8d19(0x152)]():_0x381201[_0x2d8d19(0x139)]();}[_0x10f2dd(0x157)](_0x2ca1dd){const _0x3fae4c=_0x10f2dd;for(const _0x5bb01a of this[_0x3fae4c(0x164)])_0x2ca1dd[_0x3fae4c(0x134)](({id:_0x59488e})=>_0x59488e===_0x5bb01a['id'])?_0x5bb01a[_0x3fae4c(0x156)]():_0x5bb01a[_0x3fae4c(0x150)]();}[_0x10f2dd(0x13f)](_0x3003bd){const _0x4b57a8=_0x10f2dd,_0x46b4f3=_0x3001a0(_0x3003bd[_0x4b57a8(0x154)],this[_0x4b57a8(0x135)][_0x4b57a8(0x13b)])[_0x4b57a8(0x137)];let _0x394eb1=this[_0x4b57a8(0x140)][_0x4b57a8(0x14d)](0x0);_0x394eb1&&_0x394eb1[_0x4b57a8(0x137)][_0x4b57a8(0x144)]()===_0x46b4f3[_0x4b57a8(0x144)]()||(_0x394eb1=new _0x25c7c6(this[_0x4b57a8(0x135)],_0x46b4f3,this[_0x4b57a8(0x146)],this[_0x4b57a8(0x166)]),this[_0x4b57a8(0x140)][_0x4b57a8(0x161)](_0x394eb1)),_0x394eb1[_0x4b57a8(0x13c)](_0x3003bd);}[_0x10f2dd(0x133)](_0x1d5954){const _0x53cc2c=_0x10f2dd,_0x167572=_0x3001a0(_0x1d5954[_0x53cc2c(0x154)],this[_0x53cc2c(0x135)][_0x53cc2c(0x13b)])[_0x53cc2c(0x137)];this[_0x53cc2c(0x15f)](_0x167572)[_0x53cc2c(0x136)](_0x1d5954);}[_0x10f2dd(0x15f)](_0x6be487){const _0x27a098=_0x10f2dd;return this[_0x27a098(0x140)][_0x27a098(0x15a)](_0x3577cc=>_0x3577cc[_0x27a098(0x137)][_0x27a098(0x144)]()===_0x6be487[_0x27a098(0x144)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3441(_0x1ae189,_0x421746){const _0x2cdc3c=_0x2cdc();return _0x3441=function(_0x3441e3,_0x13fcce){_0x3441e3=_0x3441e3-0x194;let _0x9ea543=_0x2cdc3c[_0x3441e3];return _0x9ea543;},_0x3441(_0x1ae189,_0x421746);}function _0x2cdc(){const _0x1cca5c=['1429068gnpFVi','591751wGegcm','setLocale','toJSDate','startOf','415500eZaGED','fromJSDate','minus','weekdayLong','877255FOfOCC','toRelativeCalendar','local','2ijhAby','889182AallLv','month','937440mJBcbT','year','week','day','monthLong','hasSame','2876096TDyrHZ'];_0x2cdc=function(){return _0x1cca5c;};return _0x2cdc();}(function(_0x208895,_0x4b176e){const _0x3a1955=_0x3441,_0x26ddd2=_0x208895();while(!![]){try{const _0x3cc8d9=-parseInt(_0x3a1955(0x1a9))/0x1*(parseInt(_0x3a1955(0x19e))/0x2)+parseInt(_0x3a1955(0x1a8))/0x3+-parseInt(_0x3a1955(0x197))/0x4+parseInt(_0x3a1955(0x19b))/0x5+parseInt(_0x3a1955(0x1a1))/0x6+-parseInt(_0x3a1955(0x19f))/0x7+parseInt(_0x3a1955(0x1a7))/0x8;if(_0x3cc8d9===_0x4b176e)break;else _0x26ddd2['push'](_0x26ddd2['shift']());}catch(_0x5a3761){_0x26ddd2['push'](_0x26ddd2['shift']());}}}(_0x2cdc,0x5434b));import{DateTime as _0x33d5da}from'luxon';export function getDateTimePeriodInfo(_0x426ba7,_0x1307ce){const _0x3030a9=_0x3441,_0x7e7eca=_0x33d5da[_0x3030a9(0x198)](_0x426ba7)[_0x3030a9(0x194)](_0x1307ce),_0x55616e=_0x33d5da[_0x3030a9(0x19d)](),_0x1f0d6a=_0x55616e[_0x3030a9(0x199)]({'days':0x1})[_0x3030a9(0x196)](_0x3030a9(0x1a4));let _0x4b0125,_0x16b35c;return _0x7e7eca[_0x3030a9(0x1a6)](_0x55616e,_0x3030a9(0x1a4))?(_0x4b0125=_0x7e7eca[_0x3030a9(0x196)](_0x3030a9(0x1a4))[_0x3030a9(0x195)](),_0x16b35c=_0x7e7eca[_0x3030a9(0x19c)]()):_0x7e7eca[_0x3030a9(0x1a6)](_0x1f0d6a,_0x3030a9(0x1a4))?(_0x4b0125=_0x1f0d6a[_0x3030a9(0x195)](),_0x16b35c=_0x7e7eca[_0x3030a9(0x19c)]()):_0x7e7eca[_0x3030a9(0x1a6)](_0x55616e,_0x3030a9(0x1a3))?(_0x4b0125=_0x7e7eca[_0x3030a9(0x196)](_0x3030a9(0x1a3))[_0x3030a9(0x195)](),_0x16b35c=_0x7e7eca[_0x3030a9(0x19a)]||''):_0x7e7eca[_0x3030a9(0x1a6)](_0x55616e,_0x3030a9(0x1a2))?(_0x4b0125=_0x7e7eca[_0x3030a9(0x196)](_0x3030a9(0x1a0))[_0x3030a9(0x195)](),_0x16b35c=_0x7e7eca[_0x3030a9(0x1a5)]||''):(_0x4b0125=_0x7e7eca[_0x3030a9(0x196)](_0x3030a9(0x1a2))[_0x3030a9(0x195)](),_0x16b35c=String(_0x7e7eca[_0x3030a9(0x1a2)])),{'startDate':_0x4b0125,'localizedPeriodName':_0x16b35c};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x8437(_0x30dc7b,_0x3bafb6){const _0x389064=_0x3890();return _0x8437=function(_0x843721,_0xf6af8f){_0x843721=_0x843721-0x16f;let _0x414b=_0x389064[_0x843721];return _0x414b;},_0x8437(_0x30dc7b,_0x3bafb6);}function _0x3890(){const _0x365136=['bindTemplate','author','ck-revision-change__','5358445sMWiCP','ck-revision-change','6dLTVPg','_model','8907768hupWMN','23958KqbtTj','Removed\x20by','div','data','3550022DPNeRJ','19755414VTEUSW','element','changeId','ck-annotation','30UKwmdR','4822124LCuKby','Suggested\x20by','ck-revision-change__label','type','focus','202490xtPkHX','set','Added\x20by','add','name','isSuggestion','setTemplate','span'];_0x3890=function(){return _0x365136;};return _0x3890();}const _0x529730=_0x8437;(function(_0x3bddbb,_0x2dfcf2){const _0x2b0000=_0x8437,_0x5879be=_0x3bddbb();while(!![]){try{const _0x507d7e=-parseInt(_0x2b0000(0x186))/0x1+-parseInt(_0x2b0000(0x180))/0x2*(-parseInt(_0x2b0000(0x177))/0x3)+parseInt(_0x2b0000(0x181))/0x4+parseInt(_0x2b0000(0x172))/0x5*(-parseInt(_0x2b0000(0x174))/0x6)+-parseInt(_0x2b0000(0x17b))/0x7+-parseInt(_0x2b0000(0x176))/0x8+parseInt(_0x2b0000(0x17c))/0x9;if(_0x507d7e===_0x2dfcf2)break;else _0x5879be['push'](_0x5879be['shift']());}catch(_0x374b29){_0x5879be['push'](_0x5879be['shift']());}}}(_0x3890,0x98ba3));import{View as _0x1f7992}from'ckeditor5/src/ui.js';import{getTranslation as _0xcbfa16}from'../../utils/common-translations.js';export default class Z extends _0x1f7992{constructor(_0x3f624e,_0x1cd5d5){const _0x2511bf=_0x8437;super(_0x3f624e),this[_0x2511bf(0x175)]=_0x1cd5d5,this[_0x2511bf(0x17e)]=_0x1cd5d5['id'];const _0x5b2ba0=this[_0x2511bf(0x16f)],_0x356a6e=_0xcbfa16(_0x3f624e,_0x1cd5d5[_0x2511bf(0x17a)][_0x2511bf(0x18b)]?_0x2511bf(0x182):_0x2511bf(0x189)==_0x1cd5d5[_0x2511bf(0x184)]?_0x2511bf(0x188):_0x2511bf(0x178));this[_0x2511bf(0x187)](_0x2511bf(0x184),_0x1cd5d5[_0x2511bf(0x184)]),this[_0x2511bf(0x18c)]({'tag':_0x2511bf(0x179),'attributes':{'class':[_0x2511bf(0x17f),_0x2511bf(0x173),_0x5b2ba0['to'](_0x2511bf(0x184),_0x22d3bf=>_0x2511bf(0x171)+_0x22d3bf)],'tabindex':-0x1},'children':[{'tag':_0x2511bf(0x18d),'children':[{'tag':_0x2511bf(0x18d),'attributes':{'class':[_0x2511bf(0x183)]},'children':[{'text':_0x356a6e}]},{'text':'\x20'+_0x1cd5d5[_0x2511bf(0x170)][_0x2511bf(0x18a)]}]}]});}[_0x529730(0x185)](){const _0x5e204e=_0x529730;this[_0x5e204e(0x17d)][_0x5e204e(0x185)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xc6d3(){const _0x980c3c=['459196KKgOqX','fire','5116HeHKiT','execute','ck-revision-history-ui','ck-revision-history-ui__changes-navigation','Loading...','forward','currentChangeNumber','Show\x20next\x20change','No\x20changes','ck-revision-history-ui__changes-navigation__wrapper','isNavigationMode','11KCTvlC','isEnabled','411WmvWlY','819wTVVVp','Total','EDIT_X_OF_Y_REVISIONS','4306545eixRDz','7652040fgyzyn','ck-revision-history-ui__changes-navigation__label','13658730Ixjscm','_statusText','15lDkmdw','isBackwardNavigationEnabled','4352550HRdxBh','52674qBoNyC','ck-revision-history-ui__changes-navigation__navigation','bindTemplate','backward','isReady','div','NUMBER_OF_CHANGES','setTemplate','ck-hidden','span','Show\x20previous\x20change','X_OF_Y_CHANGES','numberOfChanges','set','8qeJiCm','_isStatusLabelVisible','isForwardNavigationEnabled','bind'];_0xc6d3=function(){return _0x980c3c;};return _0xc6d3();}(function(_0x375d1e,_0x37aad7){const _0x3ba8e7=_0x3120,_0xfd9e39=_0x375d1e();while(!![]){try{const _0x2ee007=-parseInt(_0x3ba8e7(0xed))/0x1*(parseInt(_0x3ba8e7(0xe0))/0x2)+parseInt(_0x3ba8e7(0xf8))/0x3+-parseInt(_0x3ba8e7(0xde))/0x4*(parseInt(_0x3ba8e7(0xf6))/0x5)+-parseInt(_0x3ba8e7(0xf9))/0x6*(-parseInt(_0x3ba8e7(0xee))/0x7)+parseInt(_0x3ba8e7(0xda))/0x8*(parseInt(_0x3ba8e7(0xf1))/0x9)+parseInt(_0x3ba8e7(0xf4))/0xa*(-parseInt(_0x3ba8e7(0xeb))/0xb)+parseInt(_0x3ba8e7(0xf2))/0xc;if(_0x2ee007===_0x37aad7)break;else _0xfd9e39['push'](_0xfd9e39['shift']());}catch(_0x5d1362){_0xfd9e39['push'](_0xfd9e39['shift']());}}}(_0xc6d3,0xcb430));function _0x3120(_0x5c0d8b,_0x459716){const _0xc6d32c=_0xc6d3();return _0x3120=function(_0x3120d6,_0x2cace5){_0x3120d6=_0x3120d6-0xd3;let _0x13e294=_0xc6d32c[_0x3120d6];return _0x13e294;},_0x3120(_0x5c0d8b,_0x459716);}import{View as _0xc5f2f1,ButtonView as _0x21ed3f,ToolbarSeparatorView as _0x4fe1fc}from'ckeditor5/src/ui.js';import{getTranslation as _0x5eed03}from'../../utils/common-translations.js';import _0x680216 from'../../../theme/icons/arrow-up.svg';import _0x26ba46 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0xc5f2f1{constructor(_0x5ae54f){const _0x1f4b98=_0x3120;super(_0x5ae54f);const _0x2e83d4=this[_0x1f4b98(0xfb)],_0x3bd550=new _0x21ed3f(_0x5ae54f),_0x445ef3=new _0x21ed3f(_0x5ae54f);this[_0x1f4b98(0xd9)](_0x1f4b98(0xea),!0x1),this[_0x1f4b98(0xd9)](_0x1f4b98(0xfd),!0x1),this[_0x1f4b98(0xd9)](_0x1f4b98(0xe6),0x0),this[_0x1f4b98(0xd9)](_0x1f4b98(0xd8),0x0),this[_0x1f4b98(0xd9)](_0x1f4b98(0xdc),!0x1),this[_0x1f4b98(0xd9)](_0x1f4b98(0xf7),!0x1),this[_0x1f4b98(0xdd)](_0x1f4b98(0xdb))['to'](this,_0x1f4b98(0xfd),this,_0x1f4b98(0xd8),(_0x5d866a,_0x160d03)=>_0x5d866a&&_0x160d03>0x0),this[_0x1f4b98(0xdd)](_0x1f4b98(0xf5))['to'](this,_0x1f4b98(0xfd),this,_0x1f4b98(0xe6),this,_0x1f4b98(0xd8),this,_0x1f4b98(0xea),(_0x106c97,_0x36699d,_0x238097,_0x5a4cac)=>{const _0x1f1157=_0x1f4b98;if(!_0x106c97)return _0x5eed03(_0x5ae54f,_0x1f1157(0xe4));if(!_0x238097)return _0x5eed03(_0x5ae54f,_0x1f1157(0xe8));const _0x4ba6dd=_0x5eed03(_0x5ae54f,_0x1f1157(0xff),_0x238097);return _0x5a4cac?_0x5eed03(_0x5ae54f,_0x1f1157(0xd7),[_0x36699d+0x1,_0x238097]):_0x4ba6dd;}),_0x3bd550[_0x1f4b98(0xd9)]({'label':_0x5eed03(_0x5ae54f,_0x1f4b98(0xd6)),'tooltip':!0x0,'icon':_0x680216}),_0x445ef3[_0x1f4b98(0xd9)]({'label':_0x5eed03(_0x5ae54f,_0x1f4b98(0xe7)),'tooltip':!0x0,'icon':_0x26ba46}),_0x3bd550[_0x1f4b98(0xdd)](_0x1f4b98(0xec))['to'](this,_0x1f4b98(0xf7)),_0x445ef3[_0x1f4b98(0xdd)](_0x1f4b98(0xec))['to'](this,_0x1f4b98(0xdc)),_0x3bd550['on'](_0x1f4b98(0xe1),()=>this[_0x1f4b98(0xdf)](_0x1f4b98(0xe1),_0x1f4b98(0xfc))),_0x445ef3['on'](_0x1f4b98(0xe1),()=>this[_0x1f4b98(0xdf)](_0x1f4b98(0xe1),_0x1f4b98(0xe5))),this[_0x1f4b98(0xd3)]({'tag':_0x1f4b98(0xfe),'attributes':{'class':['ck',_0x1f4b98(0xe2),_0x1f4b98(0xe3)]},'children':[{'tag':_0x1f4b98(0xd5),'attributes':{'class':[_0x1f4b98(0xe9)]},'children':[{'tag':_0x1f4b98(0xd5),'attributes':{'class':[_0x1f4b98(0xf3),_0x2e83d4['if'](_0x1f4b98(0xdb),_0x1f4b98(0xd4),_0x474940=>!_0x474940)]},'children':[{'text':_0x2e83d4['to'](_0x1f4b98(0xea),_0x397c4c=>_0x397c4c?_0x5eed03(_0x5ae54f,_0x1f4b98(0xf0))+':\x20':_0x5eed03(_0x5ae54f,_0x1f4b98(0xef))+':\x20')}]},{'text':_0x2e83d4['to'](_0x1f4b98(0xf5))}]},new _0x4fe1fc(),{'tag':_0x1f4b98(0xfe),'attributes':{'class':[_0x1f4b98(0xfa)]},'children':[_0x3bd550,_0x445ef3]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2fec(_0x9de91,_0x2d5f2f){const _0x12ae2a=_0x12ae();return _0x2fec=function(_0x2fecf0,_0x260cec){_0x2fecf0=_0x2fecf0-0x83;let _0x692d66=_0x12ae2a[_0x2fecf0];return _0x692d66;},_0x2fec(_0x9de91,_0x2d5f2f);}const _0x63fada=_0x2fec;(function(_0x525efb,_0x264b94){const _0x3ce58b=_0x2fec,_0x40ad3a=_0x525efb();while(!![]){try{const _0x516263=-parseInt(_0x3ce58b(0x8d))/0x1+parseInt(_0x3ce58b(0x8a))/0x2+parseInt(_0x3ce58b(0x83))/0x3*(parseInt(_0x3ce58b(0x85))/0x4)+-parseInt(_0x3ce58b(0x88))/0x5*(parseInt(_0x3ce58b(0x8e))/0x6)+parseInt(_0x3ce58b(0x8f))/0x7+parseInt(_0x3ce58b(0x92))/0x8+parseInt(_0x3ce58b(0x97))/0x9*(-parseInt(_0x3ce58b(0x94))/0xa);if(_0x516263===_0x264b94)break;else _0x40ad3a['push'](_0x40ad3a['shift']());}catch(_0x20b301){_0x40ad3a['push'](_0x40ad3a['shift']());}}}(_0x12ae,0x46bdb));import{Plugin as _0x24d3a3}from'ckeditor5/src/core.js';function _0x12ae(){const _0x2ca5cb=['roots','67653uePsJH','6dyQzpt','2923739qWEwoY','removeClass','pluginName','4607608EEiXkK','change','30emxShn','ck-editor__editable__loading-overlay','document','2346633iaTpgz','view','hide','93iUTMuU','addClass','40468fKGzGC','show','editing','1788700uVrpan','RevisionViewerLoadingOverlay','380208IHOFdt','editor'];_0x12ae=function(){return _0x2ca5cb;};return _0x12ae();}const ce=_0x63fada(0x95);import'../../../theme/revisionviewerloadingoverlay.css';export default class de extends _0x24d3a3{static get[_0x63fada(0x91)](){const _0x18433b=_0x63fada;return _0x18433b(0x89);}[_0x63fada(0x86)](){const _0x52b6b7=_0x63fada,_0x37e69a=this[_0x52b6b7(0x8b)][_0x52b6b7(0x87)][_0x52b6b7(0x98)];_0x37e69a[_0x52b6b7(0x93)](_0xb3a32e=>{const _0x3bb0f7=_0x52b6b7;for(const _0x505571 of _0x37e69a[_0x3bb0f7(0x96)][_0x3bb0f7(0x8c)])_0xb3a32e[_0x3bb0f7(0x84)](ce,_0x505571);});}[_0x63fada(0x99)](){const _0xd6563a=_0x63fada,_0x1a7043=this[_0xd6563a(0x8b)][_0xd6563a(0x87)][_0xd6563a(0x98)];_0x1a7043[_0xd6563a(0x93)](_0x38e83f=>{const _0x3a4a86=_0xd6563a;for(const _0x5b2d4a of _0x1a7043[_0x3a4a86(0x96)][_0x3a4a86(0x8c)])_0x38e83f[_0x3a4a86(0x90)](ce,_0x5b2d4a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x283e2b=_0x5ca3;(function(_0x4584c5,_0x53bcf3){const _0x49bad9=_0x5ca3,_0x2d8bd1=_0x4584c5();while(!![]){try{const _0x22986c=parseInt(_0x49bad9(0x1a4))/0x1+-parseInt(_0x49bad9(0x180))/0x2+parseInt(_0x49bad9(0x187))/0x3*(-parseInt(_0x49bad9(0x18e))/0x4)+-parseInt(_0x49bad9(0x191))/0x5+-parseInt(_0x49bad9(0x183))/0x6+parseInt(_0x49bad9(0x194))/0x7*(-parseInt(_0x49bad9(0x18a))/0x8)+-parseInt(_0x49bad9(0x196))/0x9*(-parseInt(_0x49bad9(0x1aa))/0xa);if(_0x22986c===_0x53bcf3)break;else _0x2d8bd1['push'](_0x2d8bd1['shift']());}catch(_0x28db09){_0x2d8bd1['push'](_0x2d8bd1['shift']());}}}(_0x4aee,0xe2a5b));import{icons as _0x5bd4e3,Plugin as _0x55e7d2}from'ckeditor5/src/core.js';import{ButtonView as _0x4efaa9}from'ckeditor5/src/ui.js';import _0x398283 from'./changesnavigationview.js';function _0x4aee(){const _0x2d3552=['forward','currentChangeNumber','ck-revision-history-ui__back-to-editing','requires','RevisionViewerUI','showNextChange','isEnabled','Restore\x20this\x20revision','994897KwdEdl','Back\x20to\x20editing','init','set','isBackwardNavigationEnabled','commands','20AqDdFx','hide','add','plugins','closeRevisionViewerCallback','2045870hrMOOY','exitToEditing','change:isReady','1306410xohIMG','showPreviousChange','isNavigationMode','isForwardNavigationEnabled','5108178KIgaEQ','componentFactory','listenTo','56QRUbrR','show','pluginName','editor','4XpzZIw','revisionHistory','changesNavigation','9143670AxwXXX','numberOfChanges','execute','842982VhbtBv','undo','24968529tnSblr','bind','config','get','isReady','restoreRevision'];_0x4aee=function(){return _0x2d3552;};return _0x4aee();}import _0x1313ff from'./../../revisionviewer.js';import _0x45086a from'./revisionviewerloadingoverlay.js';function _0x5ca3(_0x2c370d,_0x559940){const _0x4aee4c=_0x4aee();return _0x5ca3=function(_0x5ca3ba,_0x1e8c7b){_0x5ca3ba=_0x5ca3ba-0x180;let _0x38e32a=_0x4aee4c[_0x5ca3ba];return _0x38e32a;},_0x5ca3(_0x2c370d,_0x559940);}import{getTranslation as _0x2af276}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x55e7d2{static get[_0x283e2b(0x18c)](){const _0x3ffefd=_0x283e2b;return _0x3ffefd(0x1a0);}static get[_0x283e2b(0x19f)](){return[_0x1313ff,_0x45086a];}[_0x283e2b(0x1a6)](){const _0x581dc1=_0x283e2b,_0x290cf5=this[_0x581dc1(0x18d)],_0x3274fe=_0x290cf5[_0x581dc1(0x1ad)][_0x581dc1(0x199)](_0x1313ff),_0x25227d=_0x290cf5[_0x581dc1(0x1ad)][_0x581dc1(0x199)](_0x45086a);_0x290cf5['ui'][_0x581dc1(0x188)][_0x581dc1(0x1ac)](_0x581dc1(0x181),_0x14847e=>{const _0x77faff=_0x581dc1,_0x2d9e9c=new _0x4efaa9(_0x14847e);return _0x2d9e9c[_0x77faff(0x1a7)]({'label':_0x2af276(_0x14847e,_0x77faff(0x1a5)),'icon':_0x5bd4e3[_0x77faff(0x195)],'withText':!0x0,'tooltip':!0x0,'class':_0x77faff(0x19e)}),this[_0x77faff(0x189)](_0x2d9e9c,_0x77faff(0x193),()=>{const _0xf982b=_0x77faff;_0x290cf5[_0xf982b(0x198)][_0xf982b(0x199)](_0xf982b(0x18f))[_0xf982b(0x1ae)]();}),_0x2d9e9c;}),_0x290cf5['ui'][_0x581dc1(0x188)][_0x581dc1(0x1ac)](_0x581dc1(0x19b),_0x478ba4=>{const _0x3fb0db=_0x581dc1,_0x491d81=new _0x4efaa9(_0x478ba4);return _0x491d81[_0x3fb0db(0x1a7)]({'label':_0x2af276(_0x478ba4,_0x3fb0db(0x1a3)),'withText':!0x0,'tooltip':!0x0}),_0x491d81[_0x3fb0db(0x197)](_0x3fb0db(0x1a2))['to'](_0x290cf5[_0x3fb0db(0x1a9)][_0x3fb0db(0x199)](_0x3fb0db(0x19b))),this[_0x3fb0db(0x189)](_0x491d81,_0x3fb0db(0x193),()=>_0x290cf5[_0x3fb0db(0x193)](_0x3fb0db(0x19b))),_0x491d81;}),_0x290cf5['ui'][_0x581dc1(0x188)][_0x581dc1(0x1ac)](_0x581dc1(0x190),_0x34022d=>{const _0x2515ce=_0x581dc1,_0x1a1843=new _0x398283(_0x34022d),_0x57d16d=_0x290cf5[_0x2515ce(0x1a9)][_0x2515ce(0x199)](_0x2515ce(0x184)),_0x351913=_0x290cf5[_0x2515ce(0x1a9)][_0x2515ce(0x199)](_0x2515ce(0x1a1));return _0x1a1843[_0x2515ce(0x197)](_0x2515ce(0x1a8))['to'](_0x57d16d,_0x2515ce(0x1a2)),_0x1a1843[_0x2515ce(0x197)](_0x2515ce(0x186))['to'](_0x351913,_0x2515ce(0x1a2)),_0x1a1843[_0x2515ce(0x197)](_0x2515ce(0x19a),_0x2515ce(0x19d),_0x2515ce(0x192),_0x2515ce(0x185))['to'](_0x3274fe),this[_0x2515ce(0x189)](_0x1a1843,_0x2515ce(0x193),(_0x3bc33c,_0x3a1b43)=>{const _0x131bd8=_0x2515ce;_0x290cf5[_0x131bd8(0x193)](_0x131bd8(0x19c)===_0x3a1b43?_0x131bd8(0x1a1):_0x131bd8(0x184));}),_0x1a1843;}),_0x25227d[_0x581dc1(0x18b)](),_0x3274fe['on'](_0x581dc1(0x182),(_0x5b0821,_0x4d750c,_0x518b1e)=>{const _0x359028=_0x581dc1;_0x518b1e?_0x25227d[_0x359028(0x1ab)]():_0x25227d[_0x359028(0x18b)]();});}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @module revision-history/utils/common-translations
|
|
7
7
|
*/
|
|
8
|
-
import type
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils.js';
|
|
9
9
|
export declare function getTranslation(locale: Locale, id: string, values?: TranslationValues): string;
|
|
10
10
|
type TranslationValues = number | string | ReadonlyArray<number | string>;
|
|
11
11
|
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xe49eef,_0x42f33a,_0x1113fc){const t=_0xe49eef['t'];switch(_0x42f33a){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'},_0x1113fc);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1113fc);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':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
|
|
@@ -14,24 +14,17 @@
|
|
|
14
14
|
align-items: flex-start;
|
|
15
15
|
flex-direction: row;
|
|
16
16
|
flex-wrap: nowrap;
|
|
17
|
+
width: 400px;
|
|
17
18
|
|
|
18
19
|
& .ck-labeled-field-view {
|
|
19
|
-
|
|
20
|
+
width: 100%;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
& .ck-label {
|
|
23
24
|
display: none;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
& .ck-labeled-field-view {
|
|
30
|
-
flex-basis: 100%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
& .ck-button {
|
|
34
|
-
flex-basis: 50%;
|
|
35
|
-
}
|
|
27
|
+
& .ck-input {
|
|
28
|
+
width: 100%;
|
|
36
29
|
}
|
|
37
30
|
}
|