@ckeditor/ckeditor5-revision-history 48.2.0 → 48.3.0-alpha.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/dist/augmentation.d.ts +28 -28
- package/dist/changeitem.d.ts +51 -50
- package/dist/editor/revisionviewereditor.d.ts +22 -22
- package/dist/editor/revisionviewereditorui.d.ts +24 -24
- package/dist/editor/revisionviewereditoruiview.d.ts +36 -36
- package/dist/index.d.ts +20 -20
- package/dist/index.js +7 -7
- package/dist/revision.d.ts +144 -142
- package/dist/revisiondiff.d.ts +17 -17
- package/dist/revisionhistory.d.ts +85 -85
- package/dist/revisionhistoryadapter.d.ts +59 -59
- package/dist/revisionhistoryconfig.d.ts +67 -67
- package/dist/revisionhistoryutils.d.ts +70 -70
- package/dist/revisionsrepository.d.ts +55 -55
- package/dist/revisiontracker.d.ts +131 -131
- package/dist/revisionviewer.d.ts +122 -142
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/revision/createrevisionactionsdropdown.d.ts +9 -9
- package/dist/ui/revision/revisionauthorview.d.ts +10 -10
- package/dist/ui/revision/revisionnameview.d.ts +26 -26
- package/dist/ui/revision/revisionview.d.ts +85 -84
- package/dist/ui/revision/subrevisioncollapserview.d.ts +17 -17
- package/dist/ui/revision/subrevisionview.d.ts +29 -29
- package/dist/ui/revision/utils.d.ts +0 -4
- package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +53 -53
- package/dist/ui/revisionhistory/revisionhistoryui.d.ts +29 -29
- package/dist/ui/revisionssidebar/revisionssidebar.d.ts +45 -45
- package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +12 -12
- package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +24 -24
- package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +39 -39
- package/dist/ui/revisionssidebar/utils.d.ts +5 -5
- package/dist/ui/revisionviewer/changedetailsview.d.ts +18 -18
- package/dist/ui/revisionviewer/changesnavigationview.d.ts +35 -35
- package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +29 -29
- package/dist/ui/revisionviewer/revisionviewerui.d.ts +31 -31
- package/dist/utils/common-translations.d.ts +6 -6
- package/package.json +10 -10
package/dist/augmentation.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionHistoryUtils, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from
|
|
6
|
-
declare module
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionHistoryUtils, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from "./index.js";
|
|
6
|
+
declare module "@ckeditor/ckeditor5-core" {
|
|
7
|
+
interface EditorConfig {
|
|
8
|
+
/**
|
|
9
|
+
* The configuration of the revision history feature.
|
|
10
|
+
* Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
|
|
11
|
+
*/
|
|
12
|
+
revisionHistory?: RevisionHistoryConfig;
|
|
13
|
+
}
|
|
14
|
+
interface PluginsMap {
|
|
15
|
+
[RevisionHistory.pluginName]: RevisionHistory;
|
|
16
|
+
[RevisionsRepository.pluginName]: RevisionsRepository;
|
|
17
|
+
[RevisionHistoryUtils.pluginName]: RevisionHistoryUtils;
|
|
18
|
+
[RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
|
|
19
|
+
[RevisionHistoryUI.pluginName]: RevisionHistoryUI;
|
|
20
|
+
[RevisionTracker.pluginName]: RevisionTracker;
|
|
21
|
+
[RevisionViewer.pluginName]: RevisionViewer;
|
|
22
|
+
[RevisionsSidebar.pluginName]: RevisionsSidebar;
|
|
23
|
+
[RevisionViewerUI.pluginName]: RevisionViewerUI;
|
|
24
|
+
}
|
|
25
|
+
interface CommandsMap {
|
|
26
|
+
restoreRevision: RestoreRevisionCommand;
|
|
27
|
+
showPreviousChange: ShowChangeCommand<"backward">;
|
|
28
|
+
showNextChange: ShowChangeCommand<"forward">;
|
|
29
|
+
}
|
|
30
30
|
}
|
package/dist/changeitem.d.ts
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { User } from '@ckeditor/ckeditor5-collaboration-core';
|
|
6
|
-
declare const ChangeItem_base: {
|
|
7
|
-
new (): import("@ckeditor/ckeditor5-utils").Observable;
|
|
8
|
-
prototype: import("@ckeditor/ckeditor5-utils").Observable;
|
|
9
|
-
};
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
10
5
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
6
|
+
* @module revision-history/changeitem
|
|
7
|
+
*/
|
|
8
|
+
import { type ObservableMixinConstructor } from "@ckeditor/ckeditor5-utils";
|
|
9
|
+
import type { User } from "@ckeditor/ckeditor5-collaboration-core";
|
|
10
|
+
declare const ChangeItemBase: ObservableMixinConstructor;
|
|
11
|
+
/**
|
|
12
|
+
* Represents a singular change entry in the revision or in the revisions comparison.
|
|
13
|
+
*/
|
|
14
|
+
export declare class ChangeItem extends ChangeItemBase {
|
|
15
|
+
/**
|
|
16
|
+
* Unique change item id.
|
|
17
|
+
*/
|
|
18
|
+
readonly id: string;
|
|
19
|
+
/**
|
|
20
|
+
* User who created the change.
|
|
21
|
+
*/
|
|
22
|
+
readonly author: User;
|
|
23
|
+
/**
|
|
24
|
+
* Change type.
|
|
25
|
+
*/
|
|
26
|
+
readonly type: string;
|
|
27
|
+
/**
|
|
28
|
+
* Additional details about the change.
|
|
29
|
+
*/
|
|
30
|
+
readonly data: Record<string, unknown>;
|
|
31
|
+
/**
|
|
32
|
+
* Name of the root which contains the change.
|
|
33
|
+
*/
|
|
34
|
+
readonly rootName: string;
|
|
35
|
+
/**
|
|
36
|
+
* The date when the change was created.
|
|
37
|
+
*
|
|
38
|
+
* @observable
|
|
39
|
+
*/
|
|
40
|
+
readonly createdAt: Date;
|
|
41
|
+
constructor(data: ChangeItemInput);
|
|
42
|
+
toJSON(): ChangeItemJSON;
|
|
42
43
|
}
|
|
43
44
|
export interface ChangeItemInput {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
id?: string;
|
|
46
|
+
author: User;
|
|
47
|
+
type: string;
|
|
48
|
+
data: Record<string, unknown>;
|
|
49
|
+
createdAt: Date;
|
|
50
|
+
rootName: string;
|
|
50
51
|
}
|
|
51
52
|
export interface ChangeItemJSON {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
id: string;
|
|
54
|
+
authorId: string;
|
|
55
|
+
type: string;
|
|
56
|
+
data: Record<string, unknown>;
|
|
57
|
+
createdAt: Date;
|
|
57
58
|
}
|
|
58
59
|
export {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Editor, type EditorConfig } from
|
|
9
|
-
import { RevisionViewerEditorUI } from
|
|
10
|
-
declare const
|
|
6
|
+
* @module revision-history/editor/revisionviewereditor
|
|
7
|
+
*/
|
|
8
|
+
import { Editor, type EditorConfig, type ElementApiMixinConstructor } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { RevisionViewerEditorUI } from "./revisionviewereditorui.js";
|
|
10
|
+
declare const RevisionViewerEditorBase: ElementApiMixinConstructor<typeof Editor>;
|
|
11
11
|
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare class RevisionViewerEditor extends
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
12
|
+
* Editor class used to show revision comparisons.
|
|
13
|
+
*/
|
|
14
|
+
export declare class RevisionViewerEditor extends RevisionViewerEditorBase {
|
|
15
|
+
get ui(): RevisionViewerEditorUI;
|
|
16
|
+
/**
|
|
17
|
+
* @param sourceElement Editor source element.
|
|
18
|
+
* @param config Editor configuration.
|
|
19
|
+
*/
|
|
20
|
+
constructor(sourceElement: HTMLElement, config?: EditorConfig);
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
override destroy(): Promise<unknown>;
|
|
25
|
+
static override create(sourceElement: HTMLElement, config?: EditorConfig): Promise<RevisionViewerEditor>;
|
|
26
26
|
}
|
|
27
27
|
export {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import type { Editor } from
|
|
9
|
-
import { EditorUI } from
|
|
10
|
-
import { type RevisionViewerEditorUIView } from
|
|
6
|
+
* @module revision-history/editor/revisionviewereditorui
|
|
7
|
+
*/
|
|
8
|
+
import type { Editor } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { EditorUI } from "@ckeditor/ckeditor5-ui";
|
|
10
|
+
import { type RevisionViewerEditorUIView } from "./revisionviewereditoruiview.js";
|
|
11
11
|
export declare class RevisionViewerEditorUI extends EditorUI {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
get view(): RevisionViewerEditorUIView;
|
|
13
|
+
constructor(editor: Editor, view: RevisionViewerEditorUIView);
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
override get element(): HTMLElement | null;
|
|
18
|
+
/**
|
|
19
|
+
* Initializes the UI.
|
|
20
|
+
*
|
|
21
|
+
* @param replacementElement The DOM element that will be the source for the created editor.
|
|
22
|
+
*/
|
|
23
|
+
init(replacementElement: HTMLElement): void;
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
override destroy(): void;
|
|
28
28
|
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from
|
|
9
|
-
import type { EditingView } from
|
|
10
|
-
import type { Locale } from
|
|
6
|
+
* @module revision-history/editor/revisionviewereditoruiview
|
|
7
|
+
*/
|
|
8
|
+
import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from "@ckeditor/ckeditor5-ui";
|
|
9
|
+
import type { EditingView } from "@ckeditor/ckeditor5-engine";
|
|
10
|
+
import type { Locale } from "@ckeditor/ckeditor5-utils";
|
|
11
11
|
export declare class RevisionViewerEditorUIView extends BoxedEditorUIView {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Sticky panel view instance. This is a parent view of a {@link #toolbar}
|
|
14
|
+
* that makes toolbar sticky.
|
|
15
|
+
*/
|
|
16
|
+
readonly stickyPanel: StickyPanelView;
|
|
17
|
+
/**
|
|
18
|
+
* Toolbar view instance.
|
|
19
|
+
*/
|
|
20
|
+
override readonly toolbar: ToolbarView;
|
|
21
|
+
get editable(): InlineEditableUIView;
|
|
22
|
+
/**
|
|
23
|
+
* Creates an instance of the classic editor UI view.
|
|
24
|
+
*
|
|
25
|
+
* @param locale The {@link module:core/editor/editor~Editor#locale} instance.
|
|
26
|
+
* @param editingView The editing view instance this view is related to.
|
|
27
|
+
* @param options Configuration options for the view instance.
|
|
28
|
+
*/
|
|
29
|
+
constructor(locale: Locale, editingView: EditingView, options?: RevisionViewerEditorUIViewOptions);
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
override render(): void;
|
|
34
34
|
}
|
|
35
35
|
export interface RevisionViewerEditorUIViewOptions {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
/**
|
|
37
|
+
* When set `true` enables automatic items grouping
|
|
38
|
+
* in the main {@link module:editor-classic/classiceditoruiview~ClassicEditorUIView#toolbar toolbar}.
|
|
39
|
+
* See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
|
|
40
|
+
*/
|
|
41
|
+
shouldToolbarGroupWhenFull?: boolean;
|
|
42
42
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { Revision, type RevisionUpdateEvent, type RevisionJSON } from
|
|
9
|
-
export { RevisionHistory, RevisionViewerIntegration } from
|
|
10
|
-
export { RevisionsRepository } from
|
|
11
|
-
export { RevisionHistoryUtils } from
|
|
12
|
-
export { RevisionViewerLoadingOverlay } from
|
|
13
|
-
export { RevisionHistoryUI } from
|
|
14
|
-
export { RevisionTracker } from
|
|
15
|
-
export { RevisionViewer, RestoreRevisionCommand, ShowChangeCommand } from
|
|
16
|
-
export { RevisionsSidebar } from
|
|
17
|
-
export { RevisionViewerUI } from
|
|
18
|
-
export { RevisionViewerEditor } from
|
|
19
|
-
export type { RevisionData } from
|
|
20
|
-
export type { RevisionHistoryConfig } from
|
|
21
|
-
export type { RevisionHistoryAdapter } from
|
|
22
|
-
import
|
|
6
|
+
* @module revision-history
|
|
7
|
+
*/
|
|
8
|
+
export { Revision, type RevisionUpdateEvent, type RevisionJSON } from "./revision.js";
|
|
9
|
+
export { RevisionHistory, RevisionViewerIntegration } from "./revisionhistory.js";
|
|
10
|
+
export { RevisionsRepository } from "./revisionsrepository.js";
|
|
11
|
+
export { RevisionHistoryUtils } from "./revisionhistoryutils.js";
|
|
12
|
+
export { RevisionViewerLoadingOverlay } from "./ui/revisionviewer/revisionviewerloadingoverlay.js";
|
|
13
|
+
export { RevisionHistoryUI } from "./ui/revisionhistory/revisionhistoryui.js";
|
|
14
|
+
export { RevisionTracker } from "./revisiontracker.js";
|
|
15
|
+
export { RevisionViewer, RestoreRevisionCommand, ShowChangeCommand } from "./revisionviewer.js";
|
|
16
|
+
export { RevisionsSidebar } from "./ui/revisionssidebar/revisionssidebar.js";
|
|
17
|
+
export { RevisionViewerUI } from "./ui/revisionviewer/revisionviewerui.js";
|
|
18
|
+
export { RevisionViewerEditor } from "./editor/revisionviewereditor.js";
|
|
19
|
+
export type { RevisionData } from "./revision.js";
|
|
20
|
+
export type { RevisionHistoryConfig } from "./revisionhistoryconfig.js";
|
|
21
|
+
export type { RevisionHistoryAdapter } from "./revisionhistoryadapter.js";
|
|
22
|
+
import "./augmentation.js";
|