@ckeditor/ckeditor5-revision-history 39.0.2 → 40.0.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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/build/revision-history.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/package.json +6 -6
- package/src/augmentation.d.ts +29 -29
- package/src/changeitem.d.ts +58 -58
- package/src/changeitem.js +1 -1
- package/src/editor/revisionviewereditor.d.ts +27 -27
- package/src/editor/revisionviewereditor.js +1 -1
- package/src/editor/revisionviewereditorui.d.ts +28 -28
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.d.ts +43 -43
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.d.ts +15 -15
- package/src/revision.d.ts +153 -153
- package/src/revision.js +1 -1
- package/src/revisiondiff.d.ts +24 -24
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.d.ts +99 -99
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryadapter.d.ts +64 -64
- package/src/revisionhistoryconfig.d.ts +60 -60
- package/src/revisionsrepository.d.ts +52 -52
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.d.ts +81 -81
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.d.ts +25 -25
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.d.ts +10 -10
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.d.ts +5 -5
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.d.ts +5 -5
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.d.ts +95 -95
- package/src/ui/revision/revisionview.js +1 -1
- package/src/ui/revision/subrevisioncollapserview.d.ts +21 -21
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.d.ts +34 -34
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.d.ts +5 -5
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +81 -81
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.d.ts +26 -26
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +5 -5
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +29 -29
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.d.ts +44 -44
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.d.ts +9 -9
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.d.ts +22 -22
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.d.ts +40 -40
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +26 -26
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.d.ts +28 -28
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.d.ts +11 -11
- package/src/utils/common-translations.js +1 -1
- package/theme/changesnavigation.css +9 -0
- package/theme/revision/revision.css +9 -0
- package/theme/revision/revisionactions.css +9 -0
- package/theme/revision/revisionauthor.css +9 -0
- package/theme/revision/revisionname.css +9 -0
- package/theme/revision/subrevision.css +9 -0
- package/theme/revision/subrevisioncollapser.css +9 -0
- package/theme/revisionhistorysaverevisionform.css +5 -1
- package/theme/revisionssidebar/revisionssidebar.css +9 -0
- package/theme/revisionssidebar/revisionssidebarheader.css +9 -0
- package/theme/revisionssidebar/revisionssidebartimeperiod.css +9 -0
- package/theme/revisionviewer.css +9 -0
- package/theme/revisionviewerloadingoverlay.css +9 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revisionviewer/changenaviagationview
|
|
7
|
-
*/
|
|
8
|
-
import { View } from 'ckeditor5/src/ui';
|
|
9
|
-
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
-
import '../../../theme/changesnavigation.css';
|
|
11
|
-
/**
|
|
12
|
-
* TODO
|
|
13
|
-
*/
|
|
14
|
-
export default class ChangesNavigationView extends View {
|
|
15
|
-
/**
|
|
16
|
-
* @observable
|
|
17
|
-
*/
|
|
18
|
-
isNavigationMode: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @observable
|
|
21
|
-
*/
|
|
22
|
-
isReady: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @observable
|
|
25
|
-
*/
|
|
26
|
-
currentChangeNumber: number;
|
|
27
|
-
/**
|
|
28
|
-
* @observable
|
|
29
|
-
*/
|
|
30
|
-
numberOfChanges: number;
|
|
31
|
-
/**
|
|
32
|
-
* @observable
|
|
33
|
-
*/
|
|
34
|
-
isForwardNavigationEnabled: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* @observable
|
|
37
|
-
*/
|
|
38
|
-
isBackwardNavigationEnabled: boolean;
|
|
39
|
-
constructor(locale: Locale);
|
|
40
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionviewer/changenaviagationview
|
|
7
|
+
*/
|
|
8
|
+
import { View } from 'ckeditor5/src/ui';
|
|
9
|
+
import type { Locale } from 'ckeditor5/src/utils';
|
|
10
|
+
import '../../../theme/changesnavigation.css';
|
|
11
|
+
/**
|
|
12
|
+
* TODO
|
|
13
|
+
*/
|
|
14
|
+
export default class ChangesNavigationView extends View {
|
|
15
|
+
/**
|
|
16
|
+
* @observable
|
|
17
|
+
*/
|
|
18
|
+
isNavigationMode: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @observable
|
|
21
|
+
*/
|
|
22
|
+
isReady: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @observable
|
|
25
|
+
*/
|
|
26
|
+
currentChangeNumber: number;
|
|
27
|
+
/**
|
|
28
|
+
* @observable
|
|
29
|
+
*/
|
|
30
|
+
numberOfChanges: number;
|
|
31
|
+
/**
|
|
32
|
+
* @observable
|
|
33
|
+
*/
|
|
34
|
+
isForwardNavigationEnabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @observable
|
|
37
|
+
*/
|
|
38
|
+
isBackwardNavigationEnabled: boolean;
|
|
39
|
+
constructor(locale: Locale);
|
|
40
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4935=['ck-revision-history-ui__changes-navigation__wrapper','Total','currentChangeNumber','_isStatusLabelVisible','ck-hidden','ck-revision-history-ui__changes-navigation__label','bind','span','Show\x20next\x20change','isEnabled','ck-revision-history-ui','isNavigationMode','backward','isReady','Loading...','div','_statusText','numberOfChanges','NUMBER_OF_CHANGES','isForwardNavigationEnabled','forward','X_OF_Y_CHANGES','No\x20changes','EDIT_X_OF_Y_REVISIONS','set','isBackwardNavigationEnabled','execute','setTemplate'];(function(_0x39fbe8,_0x49359c){const _0x56f9e2=function(_0x259977){while(--_0x259977){_0x39fbe8['push'](_0x39fbe8['shift']());}};_0x56f9e2(++_0x49359c);}(_0x4935,0x157));const _0x56f9=function(_0x39fbe8,_0x49359c){_0x39fbe8=_0x39fbe8-0x0;let _0x56f9e2=_0x4935[_0x39fbe8];return _0x56f9e2;};import{View as _0x1ff8b3,ButtonView as _0x604076,ToolbarSeparatorView as _0x2f1b21}from'ckeditor5/src/ui';import{getTranslation as _0x35dad2}from'../../utils/common-translations';import _0x1f036c from'../../../theme/icons/arrow-up.svg';import _0xe992e8 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class ri extends _0x1ff8b3{constructor(_0x342b17){super(_0x342b17);const _0x1a5fa1=this['bindTemplate'],_0x12017e=new _0x604076(_0x342b17),_0x4f18b2=new _0x604076(_0x342b17);this[_0x56f9('0x11')]('isNavigationMode',!0x1),this['set'](_0x56f9('0x6'),!0x1),this[_0x56f9('0x11')](_0x56f9('0x17'),0x0),this[_0x56f9('0x11')](_0x56f9('0xa'),0x0),this['set'](_0x56f9('0xc'),!0x1),this['set'](_0x56f9('0x12'),!0x1),this['bind'](_0x56f9('0x18'))['to'](this,'isReady',this,'numberOfChanges',(_0x3fcfeb,_0x20cf16)=>_0x3fcfeb&&_0x20cf16>0x0),this['bind'](_0x56f9('0x9'))['to'](this,_0x56f9('0x6'),this,_0x56f9('0x17'),this,_0x56f9('0xa'),this,_0x56f9('0x4'),(_0x2f56f8,_0x15362c,_0x2de4e0,_0x2fcc2a)=>{if(!_0x2f56f8)return _0x35dad2(_0x342b17,_0x56f9('0x7'));if(!_0x2de4e0)return _0x35dad2(_0x342b17,_0x56f9('0xf'));const _0x37a444=_0x35dad2(_0x342b17,_0x56f9('0xb'),_0x2de4e0);return _0x2fcc2a?_0x35dad2(_0x342b17,_0x56f9('0xe'),[_0x15362c+0x1,_0x2de4e0]):_0x37a444;}),_0x12017e[_0x56f9('0x11')]({'label':_0x35dad2(_0x342b17,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x1f036c}),_0x4f18b2[_0x56f9('0x11')]({'label':_0x35dad2(_0x342b17,_0x56f9('0x1')),'tooltip':!0x0,'icon':_0xe992e8}),_0x12017e[_0x56f9('0x1b')]('isEnabled')['to'](this,_0x56f9('0x12')),_0x4f18b2[_0x56f9('0x1b')](_0x56f9('0x2'))['to'](this,'isForwardNavigationEnabled'),_0x12017e['on'](_0x56f9('0x13'),()=>this['fire'](_0x56f9('0x13'),_0x56f9('0x5'))),_0x4f18b2['on'](_0x56f9('0x13'),()=>this['fire']('execute',_0x56f9('0xd'))),this[_0x56f9('0x14')]({'tag':_0x56f9('0x8'),'attributes':{'class':['ck',_0x56f9('0x3'),'ck-revision-history-ui__changes-navigation']},'children':[{'tag':_0x56f9('0x0'),'attributes':{'class':[_0x56f9('0x15')]},'children':[{'tag':_0x56f9('0x0'),'attributes':{'class':[_0x56f9('0x1a'),_0x1a5fa1['if']('_isStatusLabelVisible',_0x56f9('0x19'),_0x3973bd=>!_0x3973bd)]},'children':[{'text':_0x1a5fa1['to'](_0x56f9('0x4'),_0x39d699=>_0x39d699?_0x35dad2(_0x342b17,_0x56f9('0x10'))+':\x20':_0x35dad2(_0x342b17,_0x56f9('0x16'))+':\x20')}]},{'text':_0x1a5fa1['to']('_statusText')}]},new _0x2f1b21(),{'tag':_0x56f9('0x8'),'attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x12017e,_0x4f18b2]}]});}}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revisionviewer/revisionviewerloadingoverlay
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import '../../../theme/revisionviewerloadingoverlay.css';
|
|
10
|
-
/**
|
|
11
|
-
* TODO
|
|
12
|
-
*/
|
|
13
|
-
export default class RevisionViewerLoadingOverlay extends Plugin {
|
|
14
|
-
/**
|
|
15
|
-
* @inheritDoc
|
|
16
|
-
*/
|
|
17
|
-
static get pluginName(): "RevisionViewerLoadingOverlay";
|
|
18
|
-
/**
|
|
19
|
-
* TODO
|
|
20
|
-
*/
|
|
21
|
-
show(): void;
|
|
22
|
-
/**
|
|
23
|
-
* TODO
|
|
24
|
-
*/
|
|
25
|
-
hide(): void;
|
|
26
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionviewer/revisionviewerloadingoverlay
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import '../../../theme/revisionviewerloadingoverlay.css';
|
|
10
|
+
/**
|
|
11
|
+
* TODO
|
|
12
|
+
*/
|
|
13
|
+
export default class RevisionViewerLoadingOverlay extends Plugin {
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static get pluginName(): "RevisionViewerLoadingOverlay";
|
|
18
|
+
/**
|
|
19
|
+
* TODO
|
|
20
|
+
*/
|
|
21
|
+
show(): void;
|
|
22
|
+
/**
|
|
23
|
+
* TODO
|
|
24
|
+
*/
|
|
25
|
+
hide(): void;
|
|
26
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x515a=['show','ck-editor__editable__loading-overlay','editing','RevisionViewerLoadingOverlay','change','addClass','editor','roots','document'];(function(_0x6f1a82,_0x515a95){const _0x5a22a1=function(_0x5302fc){while(--_0x5302fc){_0x6f1a82['push'](_0x6f1a82['shift']());}};_0x5a22a1(++_0x515a95);}(_0x515a,0x81));const _0x5a22=function(_0x6f1a82,_0x515a95){_0x6f1a82=_0x6f1a82-0x0;let _0x5a22a1=_0x515a[_0x6f1a82];return _0x5a22a1;};import{Plugin as _0x57e542}from'ckeditor5/src/core';const ee=_0x5a22('0x7');import'../../../theme/revisionviewerloadingoverlay.css';export default class oe extends _0x57e542{static get['pluginName'](){return _0x5a22('0x0');}[_0x5a22('0x6')](){const _0x434c43=this[_0x5a22('0x3')][_0x5a22('0x8')]['view'];_0x434c43[_0x5a22('0x1')](_0x3adb82=>{for(const _0x22d089 of _0x434c43[_0x5a22('0x5')]['roots'])_0x3adb82[_0x5a22('0x2')](ee,_0x22d089);});}['hide'](){const _0xce19e0=this[_0x5a22('0x3')][_0x5a22('0x8')]['view'];_0xce19e0['change'](_0x4b6cd5=>{for(const _0x5b2641 of _0xce19e0[_0x5a22('0x5')][_0x5a22('0x4')])_0x4b6cd5['removeClass'](ee,_0x5b2641);});}}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/ui/revisionviewer/revisionviewerui
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
-
import RevisionViewer from './../../revisionviewer';
|
|
10
|
-
import RevisionViewerLoadingOverlay from './revisionviewerloadingoverlay';
|
|
11
|
-
import '../../../theme/revisionviewer.css';
|
|
12
|
-
/**
|
|
13
|
-
* TODO
|
|
14
|
-
*/
|
|
15
|
-
export default class RevisionViewerUI extends Plugin {
|
|
16
|
-
/**
|
|
17
|
-
* @inheritDoc
|
|
18
|
-
*/
|
|
19
|
-
static get pluginName(): "RevisionViewerUI";
|
|
20
|
-
/**
|
|
21
|
-
* @inheritDoc
|
|
22
|
-
*/
|
|
23
|
-
static get requires(): readonly [typeof RevisionViewer, typeof RevisionViewerLoadingOverlay];
|
|
24
|
-
/**
|
|
25
|
-
* @inheritDoc
|
|
26
|
-
*/
|
|
27
|
-
init(): void;
|
|
28
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/ui/revisionviewer/revisionviewerui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core';
|
|
9
|
+
import RevisionViewer from './../../revisionviewer';
|
|
10
|
+
import RevisionViewerLoadingOverlay from './revisionviewerloadingoverlay';
|
|
11
|
+
import '../../../theme/revisionviewer.css';
|
|
12
|
+
/**
|
|
13
|
+
* TODO
|
|
14
|
+
*/
|
|
15
|
+
export default class RevisionViewerUI extends Plugin {
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "RevisionViewerUI";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get requires(): readonly [typeof RevisionViewer, typeof RevisionViewerLoadingOverlay];
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
init(): void;
|
|
28
|
+
}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x449d=['closeRevisionViewerCallback','componentFactory','init','pluginName','set','isForwardNavigationEnabled','isEnabled','hide','execute','get','commands','restoreRevision','editor','isBackwardNavigationEnabled','requires','add','showPreviousChange','showNextChange','currentChangeNumber','revisionHistory','listenTo','Back\x20to\x20editing','RevisionViewerUI','isNavigationMode','numberOfChanges','bind','changesNavigation','Restore\x20this\x20revision'];(function(_0xedcbe3,_0x449d9e){const _0x5e6429=function(_0x7aa564){while(--_0x7aa564){_0xedcbe3['push'](_0xedcbe3['shift']());}};_0x5e6429(++_0x449d9e);}(_0x449d,0xa2));const _0x5e64=function(_0xedcbe3,_0x449d9e){_0xedcbe3=_0xedcbe3-0x0;let _0x5e6429=_0x449d[_0xedcbe3];return _0x5e6429;};import{Plugin as _0x102761}from'ckeditor5/src/core';import{ButtonView as _0x1755df}from'ckeditor5/src/ui';import _0x292b8e from'./changesnavigationview';import _0x5c4d78 from'./../../revisionviewer';import _0x169df7 from'./revisionviewerloadingoverlay';import{getTranslation as _0x53d364}from'../../utils/common-translations';import _0x24995b from'@ckeditor/ckeditor5-undo/theme/icons/undo.svg';import'../../../theme/revisionviewer.css';export default class R extends _0x102761{static get[_0x5e64('0x9')](){return _0x5e64('0x0');}static get[_0x5e64('0x14')](){return[_0x5c4d78,_0x169df7];}[_0x5e64('0x8')](){const _0x4bced6=this[_0x5e64('0x12')],_0x946e5b=_0x4bced6['plugins']['get'](_0x5c4d78),_0x43f6da=_0x4bced6['plugins']['get'](_0x169df7);_0x4bced6['ui'][_0x5e64('0x7')][_0x5e64('0x15')]('exitToEditing',_0x1cb513=>{const _0x152fdb=new _0x1755df(_0x1cb513);return _0x152fdb['set']({'label':_0x53d364(_0x1cb513,_0x5e64('0x1b')),'icon':_0x24995b,'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this[_0x5e64('0x1a')](_0x152fdb,_0x5e64('0xe'),()=>{_0x4bced6['config'][_0x5e64('0xf')](_0x5e64('0x19'))[_0x5e64('0x6')]();}),_0x152fdb;}),_0x4bced6['ui'][_0x5e64('0x7')][_0x5e64('0x15')]('restoreRevision',_0x8c8297=>{const _0x1ecb98=new _0x1755df(_0x8c8297);return _0x1ecb98[_0x5e64('0xa')]({'label':_0x53d364(_0x8c8297,_0x5e64('0x5')),'withText':!0x0,'tooltip':!0x0}),_0x1ecb98['bind'](_0x5e64('0xc'))['to'](_0x4bced6[_0x5e64('0x10')]['get'](_0x5e64('0x11'))),this[_0x5e64('0x1a')](_0x1ecb98,_0x5e64('0xe'),()=>_0x4bced6['execute'](_0x5e64('0x11'))),_0x1ecb98;}),_0x4bced6['ui']['componentFactory'][_0x5e64('0x15')](_0x5e64('0x4'),_0x2268fe=>{const _0x35202f=new _0x292b8e(_0x2268fe),_0x1ede3a=_0x4bced6[_0x5e64('0x10')][_0x5e64('0xf')](_0x5e64('0x16')),_0x295bd6=_0x4bced6[_0x5e64('0x10')][_0x5e64('0xf')](_0x5e64('0x17'));return _0x35202f[_0x5e64('0x3')](_0x5e64('0x13'))['to'](_0x1ede3a,_0x5e64('0xc')),_0x35202f['bind'](_0x5e64('0xb'))['to'](_0x295bd6,_0x5e64('0xc')),_0x35202f[_0x5e64('0x3')]('isReady',_0x5e64('0x18'),_0x5e64('0x2'),_0x5e64('0x1'))['to'](_0x946e5b),this[_0x5e64('0x1a')](_0x35202f,'execute',(_0x15e6a1,_0x329c45)=>{_0x4bced6[_0x5e64('0xe')]('forward'===_0x329c45?'showNextChange':_0x5e64('0x16'));}),_0x35202f;}),_0x43f6da['show'](),_0x946e5b['on']('change:isReady',(_0x5d0973,_0x19bd45,_0x125dcb)=>{_0x125dcb?_0x43f6da[_0x5e64('0xd')]():_0x43f6da['show']();});}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module revision-history/utils/common-translations
|
|
7
|
-
*/
|
|
8
|
-
import { type Locale } from 'ckeditor5/src/utils';
|
|
9
|
-
export declare function getTranslation(locale: Locale, id: string, values?: TranslationValues): string;
|
|
10
|
-
type TranslationValues = number | string | ReadonlyArray<number | string>;
|
|
11
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module revision-history/utils/common-translations
|
|
7
|
+
*/
|
|
8
|
+
import { type Locale } from 'ckeditor5/src/utils';
|
|
9
|
+
export declare function getTranslation(locale: Locale, id: string, values?: TranslationValues): string;
|
|
10
|
+
type TranslationValues = number | string | ReadonlyArray<number | string>;
|
|
11
|
+
export {};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x9d72bb,_0x5c7cc7,_0x49c6fb){const t=_0x9d72bb['t'];switch(_0x5c7cc7){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'},_0x49c6fb);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x49c6fb);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\x20(optional)':return t('Name\x20of\x20the\x20revision\x20(optional)');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});default:return _0x5c7cc7;}}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation {
|
|
2
11
|
display: flex;
|
|
3
12
|
align-items: center;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-revision-background-color: var(--ck-color-base-background);
|
|
3
12
|
--ck-revision-history-revision-border-color: hsl(213deg 20% 35%);
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
&.ck-revision-history-sidebar__revision {
|
|
3
12
|
& .ck-revision-history-sidebar__revision__actions {
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck.ck-revision-history-sidebar__revision-author {
|
|
2
11
|
display: block;
|
|
3
12
|
position: relative;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck.ck-revision-history-sidebar__revision-name {
|
|
2
11
|
display: block;
|
|
3
12
|
font-size: 1.2em;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-subrevision-connector-background: hsl(0deg 0% 91%);
|
|
3
12
|
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-revision-subrevision-collapser-color: hsl(213deg 20% 35%);
|
|
3
12
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/*
|
|
2
|
-
*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
7
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
8
|
*/
|
|
5
9
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-sidebar-period-background: hsl(14deg 100% 57%);
|
|
3
12
|
--ck-revision-history-sidebar-timeline-padding: var(--ck-spacing-large);
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck.ck-revision-history-sidebar__header {
|
|
2
11
|
--header-height: calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px);
|
|
3
12
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-sidebar-revision-vertical-spacing: calc(2 * var(--ck-spacing-standard));
|
|
3
12
|
}
|
package/theme/revisionviewer.css
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck .ck-revision-change {
|
|
2
11
|
padding: var(--ck-spacing-small) var(--ck-spacing-large);
|
|
3
12
|
border-top-left-radius: var(--ck-border-radius);
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* What you're currently looking at is the source code of a legally protected, proprietary software.
|
|
3
|
+
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
|
|
4
|
+
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
|
|
1
10
|
.ck {
|
|
2
11
|
--ck-revision-history-loading-overlay-transition-duration: .2s;
|
|
3
12
|
--ck-revision-history-loading-overlay-transition-delay: 0s;
|