@ckeditor/ckeditor5-revision-history 41.3.0-alpha.4 → 41.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/package.json +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 _0x53cda2=_0x180a;(function(_0x509baa,_0x52e97f){const _0x34b982=_0x180a,_0x21e059=_0x509baa();while(!![]){try{const _0x3fc6fa=parseInt(_0x34b982(0x1e5))/0x1+-parseInt(_0x34b982(0x1c7))/0x2*(-parseInt(_0x34b982(0x1de))/0x3)+-parseInt(_0x34b982(0x1ca))/0x4*(parseInt(_0x34b982(0x1d4))/0x5)+-parseInt(_0x34b982(0x1e3))/0x6+parseInt(_0x34b982(0x1e2))/0x7+-parseInt(_0x34b982(0x1e6))/0x8+parseInt(_0x34b982(0x1c1))/0x9*(parseInt(_0x34b982(0x1c8))/0xa);if(_0x3fc6fa===_0x52e97f)break;else _0x21e059['push'](_0x21e059['shift']());}catch(_0x3b63c0){_0x21e059['push'](_0x21e059['shift']());}}}(_0x3f62,0x1c89e));import{LabeledFieldView as _0x272345,View as _0x5a23b0,createLabeledInputText as _0x52439d,injectCssTransitionDisabler as _0x45ec16,submitHandler as _0x20993c}from'ckeditor5/src/ui.js';function _0x180a(_0x8eb275,_0x3c3aee){const _0x3f6236=_0x3f62();return _0x180a=function(_0x180a95,_0x4687f8){_0x180a95=_0x180a95-0x1bd;let _0x5a55d9=_0x3f6236[_0x180a95];return _0x5a55d9;},_0x180a(_0x8eb275,_0x3c3aee);}import{FocusTracker as _0x54fcaa,KeystrokeHandler as _0x16bf3f}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a665b}from'../../utils/common-translations.js';import'../../../theme/revisionhistorysaverevisionform.css';function _0x3f62(){const _0x431488=['arrowleft','focusTracker','extendTemplate','arrowup','keystrokes','optional','ck-responsive-form','value','9FQNgQK','_createRevisionNameInput','220','revisionNameInputValue','476378bPyEnB','69708CrYpJw','focus','44959UvGIys','777168MAHyne','revisionNameInputView','reset','locale','trim','input','63UaYoFZ','setTemplate','stopPropagation','form','listenTo','revisionName','15518ucjcnG','155590SdETZn','ck-revision-history-save-revision-form','20NBULHv','label','add','fieldView','errorText','render','Name\x20of\x20the\x20revision','arrowdown','element','arrowright','19545tFYrTu','set'];_0x3f62=function(){return _0x431488;};return _0x3f62();}import'@ckeditor/ckeditor5-ui/theme/components/responsive-form/responsiveform.css';export default class ns extends _0x5a23b0{constructor(_0x1dbc73,_0x85f1ed){const _0x28a433=_0x180a;super(_0x1dbc73),this[_0x28a433(0x1d7)]=new _0x54fcaa(),this[_0x28a433(0x1da)]=new _0x16bf3f(),this[_0x28a433(0x1d5)](_0x28a433(0x1e1),''),this[_0x28a433(0x1e7)]=this[_0x28a433(0x1df)](_0x85f1ed),this[_0x28a433(0x1c2)]({'tag':_0x28a433(0x1c4),'attributes':{'class':['ck',_0x28a433(0x1c9),_0x28a433(0x1dc)],'tabindex':'-1'},'children':[this[_0x28a433(0x1e7)]]}),_0x45ec16(this);}[_0x53cda2(0x1cf)](){const _0x5967d4=_0x53cda2;super[_0x5967d4(0x1cf)](),_0x20993c({'view':this}),this[_0x5967d4(0x1d7)][_0x5967d4(0x1cc)](this[_0x5967d4(0x1e7)][_0x5967d4(0x1d2)]),this[_0x5967d4(0x1da)][_0x5967d4(0x1c5)](this[_0x5967d4(0x1d2)]);const _0x19ecbf=_0x93491b=>_0x93491b[_0x5967d4(0x1c3)]();this[_0x5967d4(0x1da)][_0x5967d4(0x1d5)](_0x5967d4(0x1d3),_0x19ecbf),this[_0x5967d4(0x1da)][_0x5967d4(0x1d5)](_0x5967d4(0x1d6),_0x19ecbf),this[_0x5967d4(0x1da)][_0x5967d4(0x1d5)](_0x5967d4(0x1d9),_0x19ecbf),this[_0x5967d4(0x1da)][_0x5967d4(0x1d5)](_0x5967d4(0x1d1),_0x19ecbf);}[_0x53cda2(0x1e4)](){const _0x721521=_0x53cda2;this[_0x721521(0x1e7)][_0x721521(0x1e4)]();}get[_0x53cda2(0x1c6)](){const _0x50a8ee=_0x53cda2;return this[_0x50a8ee(0x1e7)][_0x50a8ee(0x1cd)][_0x50a8ee(0x1d2)][_0x50a8ee(0x1dd)][_0x50a8ee(0x1bf)]();}set[_0x53cda2(0x1c6)](_0x54ed69){const _0x83f925=_0x53cda2;this[_0x83f925(0x1e7)][_0x83f925(0x1cd)][_0x83f925(0x1d2)][_0x83f925(0x1dd)]=_0x54ed69[_0x83f925(0x1bf)]();}[_0x53cda2(0x1bd)](){const _0x58fd83=_0x53cda2;this[_0x58fd83(0x1e7)][_0x58fd83(0x1cd)][_0x58fd83(0x1d2)][_0x58fd83(0x1dd)]='',this[_0x58fd83(0x1e7)][_0x58fd83(0x1ce)]=null;}[_0x53cda2(0x1df)](_0x40b146){const _0x2da192=_0x53cda2,_0x54ca9d=new _0x272345(this[_0x2da192(0x1be)],_0x52439d),_0x2e3ee4=_0x54ca9d[_0x2da192(0x1cd)];_0x2e3ee4[_0x2da192(0x1d8)]({'attributes':{'maxlength':_0x2da192(0x1e0)}});let _0x53275c=_0x2a665b(this[_0x2da192(0x1be)],_0x2da192(0x1d0));return!_0x40b146&&(_0x53275c+='\x20('+_0x2a665b(this[_0x2da192(0x1be)],_0x2da192(0x1db))+')'),(_0x54ca9d[_0x2da192(0x1cb)]=_0x53275c,_0x2e3ee4['on'](_0x2da192(0x1c0),()=>{const _0x5c0a11=_0x2da192;this[_0x5c0a11(0x1e1)]=_0x2e3ee4[_0x5c0a11(0x1d2)][_0x5c0a11(0x1dd)][_0x5c0a11(0x1bf)]();}),_0x54ca9d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
import{Plugin as _0x4d512a,icons as _0x46d59e}from'ckeditor5/src/core.js';import{createDropdown as _0x45ae6e,ButtonView as _0x5b99c8,ListItemView as _0x50b831,ListView as te,MenuBarMenuListItemButtonView as _0x11ab2e,MenuBarMenuListItemView as _0x228d26,MenuBarMenuListView as _0x22736a,MenuBarMenuView as _0x5f339f}from'ckeditor5/src/ui.js';import _0x1363e8 from'../../revisiontracker.js';import _0x2a0c13 from'./revisionhistorysaverevisionformview.js';import{getTranslation as _0xafc69}from'../../utils/common-translations.js';export default class u extends _0x4d512a{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[_0x1363e8];}['init'](){const _0x471c80=this['editor'],_0x8f5e66=_0x471c80['plugins']['get']('RevisionTracker');_0x471c80['ui']['componentFactory']['add']('revisionHistory',_0x43372c=>{const _0x56373c=_0x45ae6e(_0x43372c),_0x3a7735=_0x56373c['panelView']['children'],_0x3ededf=new te(_0x43372c),_0x252991=new _0x50b831(_0x43372c),_0x21c67f=new _0x5b99c8(_0x43372c),_0x115d0e=new _0x50b831(_0x43372c),_0x5bbcb0=new _0x5b99c8(_0x43372c);return _0x56373c['bind']('isEnabled')['to'](_0x8f5e66,'isReady',_0x8f5e66,'isEnabled',_0x471c80,'isReadOnly',(_0x4e9198,_0x5229ee,_0xb0da18)=>_0x4e9198&&_0x5229ee&&!_0xb0da18),_0x56373c['buttonView']['set']({'icon':_0x46d59e['history'],'label':_0xafc69(_0x43372c,'Revision\x20history'),'tooltip':!0x0}),_0x21c67f['set']({'label':_0xafc69(_0x43372c,'Save\x20current\x20revision'),'withText':!0x0}),_0x21c67f['bind']('isEnabled')['to'](_0x8f5e66,'isReady',_0x8f5e66,'isEnabled',_0x471c80,'isReadOnly',(_0x44e4f8,_0x15866f,_0x3089a9)=>_0x44e4f8&&_0x15866f&&!_0x3089a9),_0x21c67f['on']('execute',()=>this['_showDialog']()),_0x5bbcb0['set']({'label':_0xafc69(_0x43372c,'Open\x20revision\x20history'),'withText':!0x0}),_0x5bbcb0['bind']('isEnabled')['to'](_0x8f5e66,'isReady',_0x471c80,'isReadOnly',(_0x13c200,_0x44f010)=>_0x13c200&&!_0x44f010),_0x5bbcb0['on']('execute',()=>{_0x471c80['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x56373c['isOpen']=!0x1,_0x471c80['editing']['view']['focus']();}),_0x252991['children']['add'](_0x21c67f),_0x115d0e['children']['add'](_0x5bbcb0),_0x3ededf['items']['addMany']([_0x252991,_0x115d0e]),_0x3a7735['add'](_0x3ededf),_0x56373c;}),_0x471c80['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x45c910=this['editor'],_0x4a67a1=_0x45c910['locale'],_0x29a7bd=new _0x5f339f(_0x4a67a1),_0x100667=new _0x22736a(_0x4a67a1);_0x29a7bd['buttonView']['set']({'icon':_0x46d59e['history'],'label':_0xafc69(_0x4a67a1,'Revision\x20history')});const _0x73a446=new _0x228d26(_0x4a67a1,_0x29a7bd),_0x805866=new _0x11ab2e(_0x4a67a1);_0x805866['set']({'label':_0xafc69(_0x4a67a1,'Save\x20current\x20revision')}),_0x805866['delegate']('execute')['to'](_0x29a7bd),_0x805866['on']('execute',()=>{this['_showDialog']();}),_0x73a446['children']['add'](_0x805866),_0x100667['items']['add'](_0x73a446);const _0x13926d=new _0x228d26(_0x4a67a1,_0x29a7bd),_0x4e65aa=new _0x11ab2e(_0x4a67a1);return _0x4e65aa['set']({'label':_0xafc69(_0x4a67a1,'Open\x20revision\x20history')}),_0x4e65aa['delegate']('execute')['to'](_0x29a7bd),_0x4e65aa['on']('execute',()=>{_0x45c910['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x13926d['children']['add'](_0x4e65aa),_0x100667['items']['add'](_0x13926d),_0x29a7bd['panelView']['children']['add'](_0x100667),_0x29a7bd;}['_showDialog'](){const _0x1bcfc6=this['editor'],_0x289562=_0x1bcfc6['locale'],t=_0x289562['t'],_0x16af55=_0x1bcfc6['plugins']['get']('Dialog'),_0x47458b=_0x1bcfc6['plugins']['get']('RevisionTracker');function _0x2ddfe2(_0x5a3377){_0x1bcfc6['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5a3377['revisionName']?_0x5a3377['revisionNameInputView']['errorText']=_0xafc69(_0x289562,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1bcfc6['plugins']['get'](_0x1363e8)['saveRevision']({'name':_0x5a3377['revisionName']}),_0x16af55['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x2ddfe2(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x16af55['show']({'id':'findAndReplace','title':_0xafc69(_0x289562,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x16af55['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x141ede){_0x141ede['bind']('isEnabled')['to'](_0x47458b,'isReady',_0x47458b,'isEnabled',_0x1bcfc6,'isReadOnly',(_0x3d7ffa,_0x29767e,_0x15fa9a)=>_0x3d7ffa&&_0x29767e&&!_0x15fa9a);},'onExecute':()=>_0x2ddfe2(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x98b26=this['editor'],_0x420681=_0x98b26['locale'];this['_saveRevisionFormView']=new _0x2a0c13(_0x420681,_0x98b26['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2289d7=_0x57d0;function _0x57d0(_0x3e6311,_0x486cd7){const _0x47c8c7=_0x47c8();return _0x57d0=function(_0x57d019,_0x39741c){_0x57d019=_0x57d019-0x17e;let _0x478b65=_0x47c8c7[_0x57d019];return _0x478b65;},_0x57d0(_0x3e6311,_0x486cd7);}(function(_0x3f44ec,_0x19a924){const _0x200335=_0x57d0,_0x516ea9=_0x3f44ec();while(!![]){try{const _0xf1d694=parseInt(_0x200335(0x1ab))/0x1*(parseInt(_0x200335(0x17f))/0x2)+-parseInt(_0x200335(0x1c3))/0x3+-parseInt(_0x200335(0x18e))/0x4*(-parseInt(_0x200335(0x186))/0x5)+parseInt(_0x200335(0x19c))/0x6*(-parseInt(_0x200335(0x188))/0x7)+-parseInt(_0x200335(0x1bb))/0x8+-parseInt(_0x200335(0x1ac))/0x9+parseInt(_0x200335(0x192))/0xa;if(_0xf1d694===_0x19a924)break;else _0x516ea9['push'](_0x516ea9['shift']());}catch(_0x218602){_0x516ea9['push'](_0x516ea9['shift']());}}}(_0x47c8,0xea952));import{Plugin as _0x753f1c}from'ckeditor5/src/core.js';import _0x4f6fc1 from'./revisionssidebarview.js';import _0x23d7e2 from'../../revisionviewer.js';export default class w extends _0x753f1c{static get[_0x2289d7(0x1af)](){const _0x19e1e7=_0x2289d7;return _0x19e1e7(0x196);}static get[_0x2289d7(0x1bd)](){return[_0x23d7e2];}constructor(_0x19eb4c){const _0x27be78=_0x2289d7;super(_0x19eb4c),this[_0x27be78(0x19f)]=_0x19eb4c[_0x27be78(0x199)][_0x27be78(0x1b1)](_0x23d7e2),this[_0x27be78(0x1cc)]=this[_0x27be78(0x19f)][_0x27be78(0x1c5)],this[_0x27be78(0x1b4)]=null;}[_0x2289d7(0x19d)](){const _0x3c67d1=_0x2289d7,_0x3a8784=this[_0x3c67d1(0x1cc)][_0x3c67d1(0x193)],_0x4a1156=this[_0x3c67d1(0x17e)](),_0x140c27=this[_0x3c67d1(0x195)][_0x3c67d1(0x19b)][_0x3c67d1(0x1b1)](_0x3c67d1(0x1cb));this[_0x3c67d1(0x1b4)]=new _0x4f6fc1(this[_0x3c67d1(0x195)][_0x3c67d1(0x1a3)],_0x3a8784,_0x4a1156,this[_0x3c67d1(0x195)][_0x3c67d1(0x19b)][_0x3c67d1(0x1b1)](_0x3c67d1(0x1ae))),this[_0x3c67d1(0x1b4)]['on'](_0x3c67d1(0x1b2),this[_0x3c67d1(0x1c0)][_0x3c67d1(0x1a1)](this)),this[_0x3c67d1(0x1b4)]['on'](_0x3c67d1(0x1b7),this[_0x3c67d1(0x1ce)][_0x3c67d1(0x1a1)](this)),this[_0x3c67d1(0x1b4)][_0x3c67d1(0x1a1)](_0x3c67d1(0x180))['to'](this[_0x3c67d1(0x19f)]),this[_0x3c67d1(0x1b4)][_0x3c67d1(0x1c2)]['on'](_0x3c67d1(0x1c8),(_0x3409b3,_0x5c06e8)=>{const _0x10cbd0=_0x3c67d1;_0x5c06e8[_0x10cbd0(0x1a0)]['on'](_0x10cbd0(0x1c8),(_0x323081,_0x3ee92c)=>{const _0x6fe916=_0x10cbd0;_0x3ee92c[_0x6fe916(0x1a1)](_0x6fe916(0x180),_0x6fe916(0x182))['to'](this[_0x6fe916(0x19f)]);});}),this[_0x3c67d1(0x1b4)][_0x3c67d1(0x1ca)](),this[_0x3c67d1(0x197)](this[_0x3c67d1(0x195)][_0x3c67d1(0x198)],_0x3c67d1(0x1c1),this[_0x3c67d1(0x1b9)][_0x3c67d1(0x1a1)](this)),this[_0x3c67d1(0x197)](this[_0x3c67d1(0x19f)],_0x3c67d1(0x1b3),this[_0x3c67d1(0x190)][_0x3c67d1(0x1a1)](this)),_0x140c27[_0x3c67d1(0x1a4)](this[_0x3c67d1(0x1b4)][_0x3c67d1(0x1b0)]);}[_0x2289d7(0x1be)](){const _0x42b98c=_0x2289d7;this[_0x42b98c(0x1b4)][_0x42b98c(0x1b0)][_0x42b98c(0x1b5)](),this[_0x42b98c(0x1b4)][_0x42b98c(0x1be)]();}[_0x2289d7(0x1b9)](){const _0x3bd372=_0x2289d7,_0x1f1d1b=this[_0x3bd372(0x1cc)][_0x3bd372(0x187)](0x0);if(_0x1f1d1b){const _0x26c6b8=this[_0x3bd372(0x1cc)][_0x3bd372(0x183)](_0x1f1d1b['id']);this[_0x3bd372(0x19f)][_0x3bd372(0x1a8)](_0x1f1d1b,_0x26c6b8);}}[_0x2289d7(0x1c0)](_0x4688aa,_0x611b2a){const _0x3c1f34=_0x2289d7,_0x5e4d0d=this[_0x3c1f34(0x1cc)][_0x3c1f34(0x187)](_0x611b2a['id']),_0x553a39=this[_0x3c1f34(0x1cc)][_0x3c1f34(0x183)](_0x5e4d0d['id']);this[_0x3c1f34(0x19f)][_0x3c1f34(0x1a8)](_0x5e4d0d,_0x553a39);}[_0x2289d7(0x1ce)](_0x1f33e8,_0x13ab67){const _0x3de040=_0x2289d7;this[_0x3de040(0x1cc)][_0x3de040(0x187)](_0x13ab67['id'])[_0x3de040(0x1a2)](_0x13ab67[_0x3de040(0x1bf)]);}[_0x2289d7(0x190)](_0x25660c,_0x1a4fac,_0xb92600){const _0x5b0c4e=_0x2289d7,_0x712192=this[_0x5b0c4e(0x1cc)][_0x5b0c4e(0x1c6)](_0xb92600);_0x712192[_0x5b0c4e(0x184)]>0x2?(this[_0x5b0c4e(0x1b4)][_0x5b0c4e(0x1a5)](_0x712192),this[_0x5b0c4e(0x1b4)][_0x5b0c4e(0x1c7)](null)):(this[_0x5b0c4e(0x1b4)][_0x5b0c4e(0x1a5)]([]),this[_0x5b0c4e(0x1b4)][_0x5b0c4e(0x1c7)](_0x712192[0x0]));}[_0x2289d7(0x17e)](){const _0x4a7e16=_0x2289d7,_0x94c5fc=this[_0x4a7e16(0x195)],_0x1434b2=w[_0x4a7e16(0x19a)],_0x492066=_0x94c5fc[_0x4a7e16(0x19b)][_0x4a7e16(0x1b1)](_0x4a7e16(0x1c9))||w[_0x4a7e16(0x189)];if(_0x492066[_0x4a7e16(0x184)])return _0x492066[_0x4a7e16(0x1bc)](_0x4ebf47=>{const _0x194df6=_0x4a7e16,_0x1bcc8b=_0x194df6(0x185)==typeof _0x4ebf47?Object[_0x194df6(0x1cd)]({},_0x1434b2[_0x4ebf47]):_0x4ebf47;return _0x1bcc8b[_0x194df6(0x1ad)]=_0x1bcc8b[_0x194df6(0x1ad)][_0x194df6(0x1a1)](this,_0x94c5fc),_0x1bcc8b[_0x194df6(0x191)]&&(_0x1bcc8b[_0x194df6(0x191)]=_0x1bcc8b[_0x194df6(0x191)][_0x194df6(0x1a1)](this,_0x94c5fc)),_0x1bcc8b;});}}function _0x47c8(){const _0x83bc74=['length','string','1096220GIbikA','getRevision','35ODhBHh','defaultRevisionActions','getLaterVisibleRevision','diff','Restore\x20this\x20revision','restoreRevisionCallback','4ympGBz','fieldView','_handleDiffChange','isVisible','44754030zPyUtD','_revisions','revisionHistory','editor','RevisionsSidebar','listenTo','data','plugins','availableRevisionActions','config','1464546kLDZRA','init','select','_revisionViewer','revisionViews','bind','setName','locale','appendChild','highlightRevisions','Compare\x20against\x20selected','focus','compare','isSelected','getIndex','324551dSyBKJ','8356311VHZARM','action','revisionHistory.requireRevisionName','pluginName','element','get','revisionSelected','change:diff','_sidebarView','remove','Name\x20this\x20revision','revisionSetName','compareAgainstSelected','_handleEditorDataReady','newRevisionId','10912376EXnEfg','map','requires','destroy','name','_handleRevisionSelected','ready','timePeriodViews','1636101MZDYLu','nameRevision','repository','getRevisionsInDiff','selectRevision','add','revisionHistory.revisionActions','render','revisionHistory.viewerSidebarContainer','_revisionsRepository','assign','_handleRevisionSetName','_createRevisionActions','2NDrmdE','isEnabled','restoreRevision','isReady','getEarlierVisibleRevision'];_0x47c8=function(){return _0x83bc74;};return _0x47c8();}w[_0x2289d7(0x19a)]={'compareAgainstSelected':{'name':_0x2289d7(0x1a6),'action':({plugins:_0x3efa7a},_0x40fd67)=>{const _0x2fd12a=_0x2289d7,_0xd344de=_0x3efa7a[_0x2fd12a(0x1b1)](_0x23d7e2),_0x308349=_0xd344de[_0x2fd12a(0x1c5)];let _0x94d9f8=_0xd344de[_0x2fd12a(0x18b)][_0x2fd12a(0x1ba)],_0x1e6ef2=_0x40fd67['id'];_0x308349[_0x2fd12a(0x1aa)](_0x94d9f8)>_0x308349[_0x2fd12a(0x1aa)](_0x1e6ef2)&&([_0x94d9f8,_0x1e6ef2]=[_0x1e6ef2,_0x94d9f8]),_0xd344de[_0x2fd12a(0x1a8)](_0x94d9f8,_0x1e6ef2);},'isVisible':({plugins:_0x2b959b},_0x199a46)=>{const _0x117f5b=_0x2289d7,_0x15691a=_0x2b959b[_0x117f5b(0x1b1)](_0x23d7e2);return!(_0x15691a[_0x117f5b(0x1c5)][_0x117f5b(0x1c6)](_0x15691a[_0x117f5b(0x18b)])[_0x117f5b(0x184)]>0x2)&&!_0x199a46[_0x117f5b(0x1a9)];}},'restoreRevision':{'name':_0x2289d7(0x18c),'action':(_0x475259,{id:_0x461e37})=>{const _0xc29f81=_0x2289d7;_0x475259[_0xc29f81(0x19b)][_0xc29f81(0x1b1)](_0xc29f81(0x194))[_0xc29f81(0x18d)](_0x461e37);},'isVisible':({plugins:_0x51cd1b},_0x5db9ad)=>!!_0x51cd1b[_0x2289d7(0x1b1)](_0x23d7e2)[_0x2289d7(0x1c5)][_0x2289d7(0x18a)](_0x5db9ad['id'])},'nameRevision':{'name':_0x2289d7(0x1b6),'action':({plugins:_0x15c7e4},{id:_0x560946,revisionNameView:_0x28101b})=>{const _0xb4dd64=_0x2289d7,_0x5cfca0=_0x15c7e4[_0xb4dd64(0x1b1)](_0x23d7e2),_0x229f7f=_0x5cfca0[_0xb4dd64(0x1c5)][_0xb4dd64(0x183)](_0x560946);_0x5cfca0[_0xb4dd64(0x1a8)](_0x560946,_0x229f7f),_0x28101b[_0xb4dd64(0x1a7)](),_0x28101b[_0xb4dd64(0x18f)][_0xb4dd64(0x19e)]();}}},w[_0x2289d7(0x189)]=[_0x2289d7(0x1b8),_0x2289d7(0x181),_0x2289d7(0x1c4)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xbffd2f,_0x3e8e54){const _0x40bcf3=_0x22fe,_0xbb6b30=_0xbffd2f();while(!![]){try{const _0x5b91ca=parseInt(_0x40bcf3(0x8c))/0x1*(-parseInt(_0x40bcf3(0x8e))/0x2)+-parseInt(_0x40bcf3(0x91))/0x3+parseInt(_0x40bcf3(0x96))/0x4*(-parseInt(_0x40bcf3(0x9e))/0x5)+parseInt(_0x40bcf3(0x8d))/0x6*(-parseInt(_0x40bcf3(0x95))/0x7)+-parseInt(_0x40bcf3(0x8b))/0x8*(parseInt(_0x40bcf3(0x9d))/0x9)+parseInt(_0x40bcf3(0x99))/0xa+parseInt(_0x40bcf3(0x97))/0xb;if(_0x5b91ca===_0x3e8e54)break;else _0xbb6b30['push'](_0xbb6b30['shift']());}catch(_0x2d5b14){_0xbb6b30['push'](_0xbb6b30['shift']());}}}(_0x23bf,0x8d17d));function _0x22fe(_0x1e782b,_0x10fea5){const _0x23bf27=_0x23bf();return _0x22fe=function(_0x22fe09,_0x18772e){_0x22fe09=_0x22fe09-0x8b;let _0x4b1783=_0x23bf27[_0x22fe09];return _0x4b1783;},_0x22fe(_0x1e782b,_0x10fea5);}import{View as _0x31a124,IconView as _0x234bd5}from'ckeditor5/src/ui.js';import{getTranslation as _0xbc2d43}from'../../utils/common-translations.js';import{icons as _0x58edc1}from'ckeditor5/src/core.js';function _0x23bf(){const _0xc25d3c=['content','49LSCLEq','3305336AnPDIX','45644049iMzTCK','div','451220ZFHdhh','ck-reset_all','ck-revision-history-sidebar__header','span','5702733fenYzr','5dIuNvn','8uKquhJ','1zXrcBj','142878cxQePB','1811234xhXYGu','Revision\x20history','ck-revision-history-sidebar__header__label','3253155tqnayK','setTemplate','history'];_0x23bf=function(){return _0xc25d3c;};return _0x23bf();}import'../../../theme/revisionssidebar/revisionssidebarheader.css';export default class as extends _0x31a124{constructor(_0x46b861){const _0x399eee=_0x22fe;super(_0x46b861);const _0x601a40=new _0x234bd5();_0x601a40[_0x399eee(0x94)]=_0x58edc1[_0x399eee(0x93)],this[_0x399eee(0x92)]({'tag':_0x399eee(0x98),'attributes':{'class':['ck',_0x399eee(0x9a),_0x399eee(0x9b)]},'children':[_0x601a40,{'tag':_0x399eee(0x9c),'attributes':{'class':['ck',_0x399eee(0x90)]},'children':[_0xbc2d43(_0x46b861,_0x399eee(0x8f))]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7d3d70=_0x1be2;(function(_0x9fcdfd,_0x54dadd){const _0x49d71b=_0x1be2,_0xd0214=_0x9fcdfd();while(!![]){try{const _0x226861=parseInt(_0x49d71b(0xe1))/0x1*(parseInt(_0x49d71b(0xde))/0x2)+-parseInt(_0x49d71b(0xe7))/0x3*(parseInt(_0x49d71b(0xe4))/0x4)+-parseInt(_0x49d71b(0xe8))/0x5+-parseInt(_0x49d71b(0xf0))/0x6*(parseInt(_0x49d71b(0xf1))/0x7)+-parseInt(_0x49d71b(0xeb))/0x8*(parseInt(_0x49d71b(0xf2))/0x9)+parseInt(_0x49d71b(0xee))/0xa*(-parseInt(_0x49d71b(0xe3))/0xb)+parseInt(_0x49d71b(0xd5))/0xc;if(_0x226861===_0x54dadd)break;else _0xd0214['push'](_0xd0214['shift']());}catch(_0x489ab4){_0xd0214['push'](_0xd0214['shift']());}}}(_0x5b3d,0x38acb));import{View as _0x4a5755}from'ckeditor5/src/ui.js';function _0x1be2(_0xc44dbe,_0x545ebe){const _0x5b3df7=_0x5b3d();return _0x1be2=function(_0x1be22b,_0xc165a4){_0x1be22b=_0x1be22b-0xd5;let _0x4a29fd=_0x5b3df7[_0x1be22b];return _0x4a29fd;},_0x1be2(_0xc44dbe,_0x545ebe);}function _0x5b3d(){const _0x51536d=['div','setTemplate','addRevision','ck-revision-history-sidebar__time-period__revisions','setName','span','17938fgrUTP','_revisionActions','ck-revision-history-sidebar__time-period','17rLSDEx','locale','88pcwvdj','4pEzEri','removeRevision','add','1165953QokxsJ','2257140aezgPi','find','localizedPeriodName','8YOaEjE','delegate','ck-revision-history-sidebar__time-period__label','398710iZcoZB','startDate','99780epWPHk','126sshnlA','1730097WJQaoy','remove','uiLanguage','_requireRevisionName','createCollection','20763432xpAgNF','revisionViews','select'];_0x5b3d=function(){return _0x51536d;};return _0x5b3d();}import _0x3378fe from'../revision/revisionview.js';import{getDateTimePeriodInfo as _0x43a955}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebartimeperiod.css';export default class mi extends _0x4a5755{constructor(_0x1076d4,_0x412483,_0x31ef41,_0x3bf07b){const _0x183858=_0x1be2;super(_0x1076d4);const _0x18a3d6=_0x43a955(_0x412483,this[_0x183858(0xe2)][_0x183858(0xf4)])[_0x183858(0xea)];this[_0x183858(0xef)]=_0x412483,this[_0x183858(0xd6)]=this[_0x183858(0xf6)](),this[_0x183858(0xdf)]=_0x31ef41,this[_0x183858(0xf5)]=_0x3bf07b,this[_0x183858(0xd6)][_0x183858(0xec)](_0x183858(0xd7))['to'](this),this[_0x183858(0xd6)][_0x183858(0xec)](_0x183858(0xdc))['to'](this),this[_0x183858(0xd9)]({'tag':_0x183858(0xd8),'attributes':{'class':['ck',_0x183858(0xe0)]},'children':[{'tag':_0x183858(0xdd),'attributes':{'class':['ck',_0x183858(0xed)]},'children':[{'text':_0x18a3d6}]},{'tag':_0x183858(0xd8),'attributes':{'class':['ck',_0x183858(0xdb)]},'children':this[_0x183858(0xd6)]}]});}[_0x7d3d70(0xda)](_0x5c2872){const _0xc81b92=_0x7d3d70,_0x118799=new _0x3378fe(this[_0xc81b92(0xe2)],_0x5c2872,this[_0xc81b92(0xdf)],this[_0xc81b92(0xf5)]);this[_0xc81b92(0xd6)][_0xc81b92(0xe6)](_0x118799);}[_0x7d3d70(0xe5)](_0x99516f){const _0x569fce=_0x7d3d70,_0x550f06=this[_0x569fce(0xd6)][_0x569fce(0xe9)](_0x26a684=>_0x26a684['id']===_0x99516f['id']);this[_0x569fce(0xd6)][_0x569fce(0xf3)](_0x550f06);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50b54b=_0xcffd;function _0x3c52(){const _0x2c3311=['_getTimePeriodViewByStartDate','remove','render','setTemplate','306103VJXJrp','48rVcFpB','ck-revision-history-sidebar__timeline','div','bindTemplate','unhighlight','add','_addRevision','10RaGovO','186070eNKrbo','createdAt','addRevision','map','62Eoqxie','some','flat','selectRevision','3719958PnQOLv','ck-rounded-corners','uiLanguage','4209672gSsFyb','timePeriodViews','1193071WjzxGP','select','isEnabled','ck-reset','locale','removeRevision','deselect','setName','fire','13651aGkLgy','revisionViews','_revisionActions','startDate','set','delegate','ck-disabled','find','get','highlightRevisions','revisionSetName','revisionSelected','_revisions','ck-revision-history-sidebar','highlight','132pElQEO','_removeRevision','getTime','207zYrwWZ','_requireRevisionName','701576YFWnCQ','createCollection'];_0x3c52=function(){return _0x2c3311;};return _0x3c52();}(function(_0x59ce07,_0x4f2c16){const _0x58ebb4=_0xcffd,_0x61d2f7=_0x59ce07();while(!![]){try{const _0x3e0573=-parseInt(_0x58ebb4(0x7c))/0x1*(-parseInt(_0x58ebb4(0xa3))/0x2)+-parseInt(_0x58ebb4(0xa7))/0x3+-parseInt(_0x58ebb4(0x90))/0x4*(parseInt(_0x58ebb4(0x9e))/0x5)+-parseInt(_0x58ebb4(0x97))/0x6*(parseInt(_0x58ebb4(0x96))/0x7)+parseInt(_0x58ebb4(0xaa))/0x8+parseInt(_0x58ebb4(0x8e))/0x9*(parseInt(_0x58ebb4(0x9f))/0xa)+parseInt(_0x58ebb4(0xac))/0xb*(parseInt(_0x58ebb4(0x8b))/0xc);if(_0x3e0573===_0x4f2c16)break;else _0x61d2f7['push'](_0x61d2f7['shift']());}catch(_0x1c40ef){_0x61d2f7['push'](_0x61d2f7['shift']());}}}(_0x3c52,0x99c38));import{View as _0x2664cd}from'ckeditor5/src/ui.js';function _0xcffd(_0x4a3d16,_0x2efcfb){const _0x3c526b=_0x3c52();return _0xcffd=function(_0xcffd57,_0x5bf8df){_0xcffd57=_0xcffd57-0x76;let _0x16ff40=_0x3c526b[_0xcffd57];return _0x16ff40;},_0xcffd(_0x4a3d16,_0x2efcfb);}import _0xc7987f from'./revisionssidebartimeperiodview.js';import _0x961a22 from'./revisionssidebarheaderview.js';import{getDateTimePeriodInfo as _0x369180}from'./utils.js';import'../../../theme/revisionssidebar/revisionssidebar.css';export default class ci extends _0x2664cd{constructor(_0x3c07d4,_0x10823e,_0x43f054,_0x34fabc){const _0x21e0b8=_0xcffd;super(_0x3c07d4);const _0x50a40f=this[_0x21e0b8(0x9a)];this[_0x21e0b8(0xab)]=this[_0x21e0b8(0x91)](),this[_0x21e0b8(0xab)][_0x21e0b8(0x81)](_0x21e0b8(0xad))['to'](this),this[_0x21e0b8(0xab)][_0x21e0b8(0x81)](_0x21e0b8(0x7a))['to'](this),this[_0x21e0b8(0x88)]=_0x10823e,this[_0x21e0b8(0x7e)]=_0x43f054,this[_0x21e0b8(0x8f)]=_0x34fabc,this['on'](_0x21e0b8(0xad),(_0x353b33,_0x1df4e7)=>{const _0x20e18e=_0x21e0b8;this[_0x20e18e(0x7b)](_0x20e18e(0x87),_0x1df4e7);}),this['on'](_0x21e0b8(0x7a),(_0x5dfff2,_0x357bd3)=>{const _0x3578c9=_0x21e0b8;this[_0x3578c9(0x7b)](_0x3578c9(0x86),_0x357bd3);}),this[_0x21e0b8(0x80)](_0x21e0b8(0xae),!0x1),this[_0x21e0b8(0x95)]({'tag':_0x21e0b8(0x99),'attributes':{'class':['ck',_0x21e0b8(0x76),_0x21e0b8(0xa8),_0x21e0b8(0x89)]},'children':[new _0x961a22(_0x3c07d4),{'tag':_0x21e0b8(0x99),'attributes':{'class':['ck',_0x21e0b8(0x98),_0x50a40f['if'](_0x21e0b8(0xae),_0x21e0b8(0x82),_0x55de4e=>!_0x55de4e)]},'children':this[_0x21e0b8(0xab)]}]});}[_0x50b54b(0x94)](){const _0x22199c=_0x50b54b;super[_0x22199c(0x94)]();for(const _0x34f750 of this[_0x22199c(0x88)])this[_0x22199c(0x9d)](_0x34f750);this[_0x22199c(0x88)]['on'](_0x22199c(0x9c),(_0x58ffce,_0x4ef6ba)=>{const _0x3f56fc=_0x22199c;this[_0x3f56fc(0x9d)](_0x4ef6ba);}),this[_0x22199c(0x88)]['on'](_0x22199c(0x93),(_0x2afdbd,_0x3f48dc)=>{const _0xa38683=_0x22199c;this[_0xa38683(0x8c)](_0x3f48dc);});}get[_0x50b54b(0x7d)](){const _0x3d831b=_0x50b54b;return this[_0x3d831b(0xab)][_0x3d831b(0xa2)](_0x49c39c=>_0x49c39c[_0x3d831b(0x7d)][_0x3d831b(0xa2)](_0x155185=>_0x155185))[_0x3d831b(0xa5)]();}[_0x50b54b(0xa6)](_0x329f8e){const _0x3217c9=_0x50b54b;for(const _0x2fa9f7 of this[_0x3217c9(0x7d)])_0x329f8e&&_0x329f8e['id']===_0x2fa9f7['id']?_0x2fa9f7[_0x3217c9(0xad)]():_0x2fa9f7[_0x3217c9(0x79)]();}[_0x50b54b(0x85)](_0x5e5198){const _0x1d36f9=_0x50b54b;for(const _0x4150ea of this[_0x1d36f9(0x7d)])_0x5e5198[_0x1d36f9(0xa4)](({id:_0x2c10a2})=>_0x2c10a2===_0x4150ea['id'])?_0x4150ea[_0x1d36f9(0x8a)]():_0x4150ea[_0x1d36f9(0x9b)]();}[_0x50b54b(0x9d)](_0x5694a9){const _0x239496=_0x50b54b,_0x33b9fd=_0x369180(_0x5694a9[_0x239496(0xa0)],this[_0x239496(0x77)][_0x239496(0xa9)])[_0x239496(0x7f)];let _0x4df7fa=this[_0x239496(0xab)][_0x239496(0x84)](0x0);_0x4df7fa&&_0x4df7fa[_0x239496(0x7f)][_0x239496(0x8d)]()===_0x33b9fd[_0x239496(0x8d)]()||(_0x4df7fa=new _0xc7987f(this[_0x239496(0x77)],_0x33b9fd,this[_0x239496(0x7e)],this[_0x239496(0x8f)]),this[_0x239496(0xab)][_0x239496(0x9c)](_0x4df7fa)),_0x4df7fa[_0x239496(0xa1)](_0x5694a9);}[_0x50b54b(0x8c)](_0x2605bd){const _0x4ed85a=_0x50b54b,_0x4bbadf=_0x369180(_0x2605bd[_0x4ed85a(0xa0)],this[_0x4ed85a(0x77)][_0x4ed85a(0xa9)])[_0x4ed85a(0x7f)];this[_0x4ed85a(0x92)](_0x4bbadf)[_0x4ed85a(0x78)](_0x2605bd);}[_0x50b54b(0x92)](_0x4a3412){const _0x4bfcf9=_0x50b54b;return this[_0x4bfcf9(0xab)][_0x4bfcf9(0x83)](_0x59e14e=>_0x59e14e[_0x4bfcf9(0x7f)][_0x4bfcf9(0x8d)]()===_0x4a3412[_0x4bfcf9(0x8d)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x24891f,_0x51600f){const _0x231d70=_0x5e06,_0x1ce880=_0x24891f();while(!![]){try{const _0x1e64da=-parseInt(_0x231d70(0x1ad))/0x1+parseInt(_0x231d70(0x1bf))/0x2+parseInt(_0x231d70(0x1b8))/0x3+parseInt(_0x231d70(0x1be))/0x4+parseInt(_0x231d70(0x1b4))/0x5+-parseInt(_0x231d70(0x1b6))/0x6*(-parseInt(_0x231d70(0x1b1))/0x7)+-parseInt(_0x231d70(0x1b0))/0x8;if(_0x1e64da===_0x51600f)break;else _0x1ce880['push'](_0x1ce880['shift']());}catch(_0x57cb10){_0x1ce880['push'](_0x1ce880['shift']());}}}(_0x2a39,0xda5f3));function _0x2a39(){const _0x303a0b=['startOf','month','5273180aeAokF','1801404vGYBPC','week','weekdayLong','hasSame','1718073ololkI','toJSDate','monthLong','20396768gFHtih','3641673FkzzWL','toRelativeCalendar','local','6199705Ptgfin','day','12KrTvkU','minus','1988112NLdmgx','year','setLocale','fromJSDate'];_0x2a39=function(){return _0x303a0b;};return _0x2a39();}import{DateTime as _0x49bc04}from'luxon';function _0x5e06(_0x5c9046,_0x47936e){const _0x2a394d=_0x2a39();return _0x5e06=function(_0x5e0639,_0x1d76d7){_0x5e0639=_0x5e0639-0x1aa;let _0x563862=_0x2a394d[_0x5e0639];return _0x563862;},_0x5e06(_0x5c9046,_0x47936e);}export function getDateTimePeriodInfo(_0x50da15,_0x35e9ac){const _0x2cfe9b=_0x5e06,_0x3022c4=_0x49bc04[_0x2cfe9b(0x1bb)](_0x50da15)[_0x2cfe9b(0x1ba)](_0x35e9ac),_0xbb054=_0x49bc04[_0x2cfe9b(0x1b3)](),_0x2bc0ac=_0xbb054[_0x2cfe9b(0x1b7)]({'days':0x1})[_0x2cfe9b(0x1bc)](_0x2cfe9b(0x1b5));let _0x18cbb1,_0x3c4947;return _0x3022c4[_0x2cfe9b(0x1ac)](_0xbb054,_0x2cfe9b(0x1b5))?(_0x18cbb1=_0x3022c4[_0x2cfe9b(0x1bc)](_0x2cfe9b(0x1b5))[_0x2cfe9b(0x1ae)](),_0x3c4947=_0x3022c4[_0x2cfe9b(0x1b2)]()):_0x3022c4[_0x2cfe9b(0x1ac)](_0x2bc0ac,_0x2cfe9b(0x1b5))?(_0x18cbb1=_0x2bc0ac[_0x2cfe9b(0x1ae)](),_0x3c4947=_0x3022c4[_0x2cfe9b(0x1b2)]()):_0x3022c4[_0x2cfe9b(0x1ac)](_0xbb054,_0x2cfe9b(0x1aa))?(_0x18cbb1=_0x3022c4[_0x2cfe9b(0x1bc)](_0x2cfe9b(0x1aa))[_0x2cfe9b(0x1ae)](),_0x3c4947=_0x3022c4[_0x2cfe9b(0x1ab)]||''):_0x3022c4[_0x2cfe9b(0x1ac)](_0xbb054,_0x2cfe9b(0x1b9))?(_0x18cbb1=_0x3022c4[_0x2cfe9b(0x1bc)](_0x2cfe9b(0x1bd))[_0x2cfe9b(0x1ae)](),_0x3c4947=_0x3022c4[_0x2cfe9b(0x1af)]||''):(_0x18cbb1=_0x3022c4[_0x2cfe9b(0x1bc)](_0x2cfe9b(0x1b9))[_0x2cfe9b(0x1ae)](),_0x3c4947=String(_0x3022c4[_0x2cfe9b(0x1b9)])),{'startDate':_0x18cbb1,'localizedPeriodName':_0x3c4947};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44494d=_0x1821;(function(_0x3d6894,_0x3a5c0e){const _0x31e042=_0x1821,_0x12230c=_0x3d6894();while(!![]){try{const _0x2f3150=-parseInt(_0x31e042(0x126))/0x1+-parseInt(_0x31e042(0x111))/0x2*(-parseInt(_0x31e042(0x10c))/0x3)+parseInt(_0x31e042(0x120))/0x4*(-parseInt(_0x31e042(0x117))/0x5)+-parseInt(_0x31e042(0x125))/0x6+parseInt(_0x31e042(0x11b))/0x7+-parseInt(_0x31e042(0x12b))/0x8+-parseInt(_0x31e042(0x119))/0x9*(-parseInt(_0x31e042(0x128))/0xa);if(_0x2f3150===_0x3a5c0e)break;else _0x12230c['push'](_0x12230c['shift']());}catch(_0x4339fd){_0x12230c['push'](_0x12230c['shift']());}}}(_0xae71,0x1ca8e));import{View as _0x25ec63}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d28e6}from'../../utils/common-translations.js';function _0x1821(_0x3ba49a,_0x1c7780){const _0xae71e5=_0xae71();return _0x1821=function(_0x182154,_0x408f46){_0x182154=_0x182154-0x10c;let _0x35b206=_0xae71e5[_0x182154];return _0x35b206;},_0x1821(_0x3ba49a,_0x1c7780);}export default class Z extends _0x25ec63{constructor(_0x5a4961,_0x4581e1){const _0x5b27f2=_0x1821;super(_0x5a4961),this[_0x5b27f2(0x10d)]=_0x4581e1,this[_0x5b27f2(0x112)]=_0x4581e1['id'];const _0xab9798=this[_0x5b27f2(0x11a)],_0x4e70b6=_0x5d28e6(_0x5a4961,_0x4581e1[_0x5b27f2(0x12a)][_0x5b27f2(0x11f)]?_0x5b27f2(0x10e):_0x5b27f2(0x127)==_0x4581e1[_0x5b27f2(0x124)]?_0x5b27f2(0x122):_0x5b27f2(0x129));this[_0x5b27f2(0x10f)](_0x5b27f2(0x124),_0x4581e1[_0x5b27f2(0x124)]),this[_0x5b27f2(0x11e)]({'tag':_0x5b27f2(0x118),'attributes':{'class':[_0x5b27f2(0x110),_0x5b27f2(0x121),_0xab9798['to'](_0x5b27f2(0x124),_0x3def29=>_0x5b27f2(0x115)+_0x3def29)],'tabindex':-0x1},'children':[{'tag':_0x5b27f2(0x11c),'children':[{'tag':_0x5b27f2(0x11c),'attributes':{'class':[_0x5b27f2(0x113)]},'children':[{'text':_0x4e70b6}]},{'text':'\x20'+_0x4581e1[_0x5b27f2(0x116)][_0x5b27f2(0x123)]}]}]});}[_0x44494d(0x11d)](){const _0x28c1b9=_0x44494d;this[_0x28c1b9(0x114)][_0x28c1b9(0x11d)]();}}function _0xae71(){const _0x410edd=['_model','Suggested\x20by','set','ck-annotation','2bjAQzn','changeId','ck-revision-change__label','element','ck-revision-change__','author','20XNLkCs','div','18MnDoGR','bindTemplate','1380176NCkYOt','span','focus','setTemplate','isSuggestion','226880PKDskH','ck-revision-change','Added\x20by','name','type','881754tcBdTG','216124KaRsgr','add','2570530eynrQv','Removed\x20by','data','595600kmbydy','211587nULXkK'];_0xae71=function(){return _0x410edd;};return _0xae71();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x29db(){const _0x214b1d=['28zManUZ','No\x20changes','span','Show\x20previous\x20change','currentChangeNumber','backward','Total','_isStatusLabelVisible','971996NxKhPW','NUMBER_OF_CHANGES','bind','set','execute','5pFLZXj','isForwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','isBackwardNavigationEnabled','isReady','fire','ck-hidden','EDIT_X_OF_Y_REVISIONS','forward','X_OF_Y_CHANGES','10rPmnsy','27728921jwXkVN','1797064Pcjyqs','div','ck-revision-history-ui__changes-navigation__wrapper','2qlWRmq','Loading...','isNavigationMode','11984616VIPIAH','bindTemplate','ck-revision-history-ui__changes-navigation','ck-revision-history-ui__changes-navigation__navigation','163680FmWMIg','_statusText','ck-revision-history-ui','numberOfChanges','Show\x20next\x20change','3182820VWQneF','1546302TFkiiB','setTemplate','isEnabled'];_0x29db=function(){return _0x214b1d;};return _0x29db();}function _0x1550(_0x15e0d7,_0x4ae400){const _0x29db45=_0x29db();return _0x1550=function(_0x155093,_0x58bf12){_0x155093=_0x155093-0xdf;let _0x5870f1=_0x29db45[_0x155093];return _0x5870f1;},_0x1550(_0x15e0d7,_0x4ae400);}(function(_0x1b3575,_0x55f650){const _0x1393ca=_0x1550,_0x2543a0=_0x1b3575();while(!![]){try{const _0x1a0a2e=parseInt(_0x1393ca(0xeb))/0x1+parseInt(_0x1393ca(0xe4))/0x2*(parseInt(_0x1393ca(0xf1))/0x3)+-parseInt(_0x1393ca(0xfc))/0x4+-parseInt(_0x1393ca(0x101))/0x5*(-parseInt(_0x1393ca(0xf0))/0x6)+parseInt(_0x1393ca(0xf4))/0x7*(parseInt(_0x1393ca(0xe1))/0x8)+parseInt(_0x1393ca(0xe7))/0x9*(parseInt(_0x1393ca(0xdf))/0xa)+-parseInt(_0x1393ca(0xe0))/0xb;if(_0x1a0a2e===_0x55f650)break;else _0x2543a0['push'](_0x2543a0['shift']());}catch(_0x1c41c9){_0x2543a0['push'](_0x2543a0['shift']());}}}(_0x29db,0xa505a));import{View as _0x14e611,ButtonView as _0x4b7dc4,ToolbarSeparatorView as _0x24bb23}from'ckeditor5/src/ui.js';import{getTranslation as _0x143d01}from'../../utils/common-translations.js';import _0x35fb33 from'../../../theme/icons/arrow-up.svg';import _0x1d1ef9 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class _i extends _0x14e611{constructor(_0x2e6caa){const _0x31839e=_0x1550;super(_0x2e6caa);const _0x4d0ec1=this[_0x31839e(0xe8)],_0x16cfb5=new _0x4b7dc4(_0x2e6caa),_0x407f17=new _0x4b7dc4(_0x2e6caa);this[_0x31839e(0xff)](_0x31839e(0xe6),!0x1),this[_0x31839e(0xff)](_0x31839e(0x105),!0x1),this[_0x31839e(0xff)](_0x31839e(0xf8),0x0),this[_0x31839e(0xff)](_0x31839e(0xee),0x0),this[_0x31839e(0xff)](_0x31839e(0x102),!0x1),this[_0x31839e(0xff)](_0x31839e(0x104),!0x1),this[_0x31839e(0xfe)](_0x31839e(0xfb))['to'](this,_0x31839e(0x105),this,_0x31839e(0xee),(_0x1a2690,_0x3943f7)=>_0x1a2690&&_0x3943f7>0x0),this[_0x31839e(0xfe)](_0x31839e(0xec))['to'](this,_0x31839e(0x105),this,_0x31839e(0xf8),this,_0x31839e(0xee),this,_0x31839e(0xe6),(_0xe7b1ef,_0x587d2c,_0x16efd4,_0x2353dd)=>{const _0x25f2a8=_0x31839e;if(!_0xe7b1ef)return _0x143d01(_0x2e6caa,_0x25f2a8(0xe5));if(!_0x16efd4)return _0x143d01(_0x2e6caa,_0x25f2a8(0xf5));const _0xe1aae4=_0x143d01(_0x2e6caa,_0x25f2a8(0xfd),_0x16efd4);return _0x2353dd?_0x143d01(_0x2e6caa,_0x25f2a8(0x10a),[_0x587d2c+0x1,_0x16efd4]):_0xe1aae4;}),_0x16cfb5[_0x31839e(0xff)]({'label':_0x143d01(_0x2e6caa,_0x31839e(0xf7)),'tooltip':!0x0,'icon':_0x35fb33}),_0x407f17[_0x31839e(0xff)]({'label':_0x143d01(_0x2e6caa,_0x31839e(0xef)),'tooltip':!0x0,'icon':_0x1d1ef9}),_0x16cfb5[_0x31839e(0xfe)](_0x31839e(0xf3))['to'](this,_0x31839e(0x104)),_0x407f17[_0x31839e(0xfe)](_0x31839e(0xf3))['to'](this,_0x31839e(0x102)),_0x16cfb5['on'](_0x31839e(0x100),()=>this[_0x31839e(0x106)](_0x31839e(0x100),_0x31839e(0xf9))),_0x407f17['on'](_0x31839e(0x100),()=>this[_0x31839e(0x106)](_0x31839e(0x100),_0x31839e(0x109))),this[_0x31839e(0xf2)]({'tag':_0x31839e(0xe2),'attributes':{'class':['ck',_0x31839e(0xed),_0x31839e(0xe9)]},'children':[{'tag':_0x31839e(0xf6),'attributes':{'class':[_0x31839e(0xe3)]},'children':[{'tag':_0x31839e(0xf6),'attributes':{'class':[_0x31839e(0x103),_0x4d0ec1['if'](_0x31839e(0xfb),_0x31839e(0x107),_0x57e2a8=>!_0x57e2a8)]},'children':[{'text':_0x4d0ec1['to'](_0x31839e(0xe6),_0x1a3a8c=>_0x1a3a8c?_0x143d01(_0x2e6caa,_0x31839e(0x108))+':\x20':_0x143d01(_0x2e6caa,_0x31839e(0xfa))+':\x20')}]},{'text':_0x4d0ec1['to'](_0x31839e(0xec))}]},new _0x24bb23(),{'tag':_0x31839e(0xe2),'attributes':{'class':[_0x31839e(0xea)]},'children':[_0x16cfb5,_0x407f17]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d86ee=_0x42be;(function(_0x128b83,_0x79bfbd){const _0x27f542=_0x42be,_0x46a4a3=_0x128b83();while(!![]){try{const _0x2e5a60=-parseInt(_0x27f542(0x1eb))/0x1*(-parseInt(_0x27f542(0x1ef))/0x2)+parseInt(_0x27f542(0x1e2))/0x3+-parseInt(_0x27f542(0x1e3))/0x4+parseInt(_0x27f542(0x1e1))/0x5+parseInt(_0x27f542(0x1e4))/0x6+-parseInt(_0x27f542(0x1e8))/0x7*(-parseInt(_0x27f542(0x1f5))/0x8)+-parseInt(_0x27f542(0x1f2))/0x9*(parseInt(_0x27f542(0x1df))/0xa);if(_0x2e5a60===_0x79bfbd)break;else _0x46a4a3['push'](_0x46a4a3['shift']());}catch(_0xab4760){_0x46a4a3['push'](_0x46a4a3['shift']());}}}(_0x222e,0x803b2));function _0x222e(){const _0x3c4956=['removeClass','document','996892zAeHth','hide','editor','189aqAGIp','ck-editor__editable__loading-overlay','view','106448qHMsOT','901390bUysNg','show','4849990bNYPIY','727410qfvEIE','791852RRCvsk','2360700YDnctD','RevisionViewerLoadingOverlay','addClass','roots','7xqUogM','pluginName','change','2NefErL','editing'];_0x222e=function(){return _0x3c4956;};return _0x222e();}import{Plugin as _0x54a536}from'ckeditor5/src/core.js';const ce=_0x5d86ee(0x1f3);import'../../../theme/revisionviewerloadingoverlay.css';function _0x42be(_0x176160,_0x593582){const _0x222e59=_0x222e();return _0x42be=function(_0x42bec8,_0x3a1ccb){_0x42bec8=_0x42bec8-0x1df;let _0x223cca=_0x222e59[_0x42bec8];return _0x223cca;},_0x42be(_0x176160,_0x593582);}export default class de extends _0x54a536{static get[_0x5d86ee(0x1e9)](){const _0x58390c=_0x5d86ee;return _0x58390c(0x1e5);}[_0x5d86ee(0x1e0)](){const _0x1e3d03=_0x5d86ee,_0x4e0533=this[_0x1e3d03(0x1f1)][_0x1e3d03(0x1ec)][_0x1e3d03(0x1f4)];_0x4e0533[_0x1e3d03(0x1ea)](_0x28bfb0=>{const _0x4d951a=_0x1e3d03;for(const _0xbfc747 of _0x4e0533[_0x4d951a(0x1ee)][_0x4d951a(0x1e7)])_0x28bfb0[_0x4d951a(0x1e6)](ce,_0xbfc747);});}[_0x5d86ee(0x1f0)](){const _0x2e2a86=_0x5d86ee,_0x16f9b3=this[_0x2e2a86(0x1f1)][_0x2e2a86(0x1ec)][_0x2e2a86(0x1f4)];_0x16f9b3[_0x2e2a86(0x1ea)](_0x5742c4=>{const _0x7dada5=_0x2e2a86;for(const _0x3cfdae of _0x16f9b3[_0x7dada5(0x1ee)][_0x7dada5(0x1e7)])_0x5742c4[_0x7dada5(0x1ed)](ce,_0x3cfdae);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x282bf7=_0xc3cb;(function(_0x3ab903,_0xcb1f37){const _0x48ad18=_0xc3cb,_0x459e15=_0x3ab903();while(!![]){try{const _0xad7a4d=-parseInt(_0x48ad18(0x7f))/0x1+parseInt(_0x48ad18(0x98))/0x2+parseInt(_0x48ad18(0x85))/0x3+-parseInt(_0x48ad18(0x86))/0x4+-parseInt(_0x48ad18(0xa2))/0x5*(parseInt(_0x48ad18(0x96))/0x6)+-parseInt(_0x48ad18(0x7d))/0x7+parseInt(_0x48ad18(0x92))/0x8*(parseInt(_0x48ad18(0x9e))/0x9);if(_0xad7a4d===_0xcb1f37)break;else _0x459e15['push'](_0x459e15['shift']());}catch(_0x228dd9){_0x459e15['push'](_0x459e15['shift']());}}}(_0x30c1,0xbe2ab));import{icons as _0x6df9f0,Plugin as _0x16ed79}from'ckeditor5/src/core.js';import{ButtonView as _0x5598f4}from'ckeditor5/src/ui.js';import _0x292131 from'./changesnavigationview.js';function _0xc3cb(_0x20d402,_0x1c6104){const _0x30c1e4=_0x30c1();return _0xc3cb=function(_0xc3cb7c,_0x4787b9){_0xc3cb7c=_0xc3cb7c-0x79;let _0x169e38=_0x30c1e4[_0xc3cb7c];return _0x169e38;},_0xc3cb(_0x20d402,_0x1c6104);}import _0x21d232 from'./../../revisionviewer.js';import _0x20c115 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x308995}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class R extends _0x16ed79{static get[_0x282bf7(0x9a)](){const _0x30a87b=_0x282bf7;return _0x30a87b(0x9d);}static get[_0x282bf7(0xa4)](){return[_0x21d232,_0x20c115];}[_0x282bf7(0x7b)](){const _0x3e152b=_0x282bf7,_0x385abe=this[_0x3e152b(0xa5)],_0x59264a=_0x385abe[_0x3e152b(0x91)][_0x3e152b(0x8f)](_0x21d232),_0x2cb014=_0x385abe[_0x3e152b(0x91)][_0x3e152b(0x8f)](_0x20c115);_0x385abe['ui'][_0x3e152b(0xa1)][_0x3e152b(0x83)](_0x3e152b(0x80),_0x570200=>{const _0xed42db=_0x3e152b,_0x29b1e0=new _0x5598f4(_0x570200);return _0x29b1e0[_0xed42db(0x7c)]({'label':_0x308995(_0x570200,_0xed42db(0x79)),'icon':_0x6df9f0[_0xed42db(0x8e)],'withText':!0x0,'tooltip':!0x0,'class':_0xed42db(0x88)}),this[_0xed42db(0x82)](_0x29b1e0,_0xed42db(0x8d),()=>{const _0x215568=_0xed42db;_0x385abe[_0x215568(0xa6)][_0x215568(0x8f)](_0x215568(0x84))[_0x215568(0x89)]();}),_0x29b1e0;}),_0x385abe['ui'][_0x3e152b(0xa1)][_0x3e152b(0x83)](_0x3e152b(0x95),_0x1323ef=>{const _0xf541cf=_0x3e152b,_0x211dda=new _0x5598f4(_0x1323ef);return _0x211dda[_0xf541cf(0x7c)]({'label':_0x308995(_0x1323ef,_0xf541cf(0x99)),'withText':!0x0,'tooltip':!0x0}),_0x211dda[_0xf541cf(0x8b)](_0xf541cf(0x8a))['to'](_0x385abe[_0xf541cf(0x8c)][_0xf541cf(0x8f)](_0xf541cf(0x95))),this[_0xf541cf(0x82)](_0x211dda,_0xf541cf(0x8d),()=>_0x385abe[_0xf541cf(0x8d)](_0xf541cf(0x95))),_0x211dda;}),_0x385abe['ui'][_0x3e152b(0xa1)][_0x3e152b(0x83)](_0x3e152b(0x7e),_0x176f83=>{const _0x443b2d=_0x3e152b,_0x46d70b=new _0x292131(_0x176f83),_0x491eec=_0x385abe[_0x443b2d(0x8c)][_0x443b2d(0x8f)](_0x443b2d(0x90)),_0x509367=_0x385abe[_0x443b2d(0x8c)][_0x443b2d(0x8f)](_0x443b2d(0x81));return _0x46d70b[_0x443b2d(0x8b)](_0x443b2d(0xa3))['to'](_0x491eec,_0x443b2d(0x8a)),_0x46d70b[_0x443b2d(0x8b)](_0x443b2d(0x9c))['to'](_0x509367,_0x443b2d(0x8a)),_0x46d70b[_0x443b2d(0x8b)](_0x443b2d(0x97),_0x443b2d(0x87),_0x443b2d(0xa0),_0x443b2d(0x9b))['to'](_0x59264a),this[_0x443b2d(0x82)](_0x46d70b,_0x443b2d(0x8d),(_0x18b83f,_0x128ebd)=>{const _0x1aa4bf=_0x443b2d;_0x385abe[_0x1aa4bf(0x8d)](_0x1aa4bf(0x93)===_0x128ebd?_0x1aa4bf(0x81):_0x1aa4bf(0x90));}),_0x46d70b;}),_0x2cb014[_0x3e152b(0x7a)](),_0x59264a['on'](_0x3e152b(0x9f),(_0x879356,_0x29adf1,_0x1262d5)=>{const _0xeab80f=_0x3e152b;_0x1262d5?_0x2cb014[_0xeab80f(0x94)]():_0x2cb014[_0xeab80f(0x7a)]();});}}function _0x30c1(){const _0x4daa0f=['RevisionViewerUI','9gvIJRP','change:isReady','numberOfChanges','componentFactory','610570vXTqaB','isBackwardNavigationEnabled','requires','editor','config','Back\x20to\x20editing','show','init','set','3137008wtWCFb','changesNavigation','307134HwVTge','exitToEditing','showNextChange','listenTo','add','revisionHistory','133962HvaTTE','4649500WsQKDo','currentChangeNumber','ck-revision-history-ui__back-to-editing','closeRevisionViewerCallback','isEnabled','bind','commands','execute','undo','get','showPreviousChange','plugins','28623384ljHbDG','forward','hide','restoreRevision','48QmQlNT','isReady','101822rCQnGC','Restore\x20this\x20revision','pluginName','isNavigationMode','isForwardNavigationEnabled'];_0x30c1=function(){return _0x4daa0f;};return _0x30c1();}
|
|
@@ -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(_0x5bf539,_0x163402,_0x1e3633){const t=_0x5bf539['t'];switch(_0x163402){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'},_0x1e3633);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1e3633);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
|
}
|