@ckeditor/ckeditor5-ckbox 48.2.0 → 48.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/augmentation.d.ts +28 -28
- package/dist/ckbox.d.ts +32 -32
- package/dist/ckboxcommand.d.ts +120 -120
- package/dist/ckboxconfig.d.ts +417 -417
- package/dist/ckboxediting.d.ts +58 -58
- package/dist/ckboximageedit/ckboximageeditcommand.d.ts +100 -100
- package/dist/ckboximageedit/ckboximageeditediting.d.ts +28 -28
- package/dist/ckboximageedit/ckboximageeditui.d.ts +23 -23
- package/dist/ckboximageedit/utils.d.ts +8 -8
- package/dist/ckboximageedit.d.ts +23 -23
- package/dist/ckboxui.d.ts +51 -51
- package/dist/ckboxuploadadapter.d.ts +33 -33
- package/dist/ckboxutils.d.ts +54 -54
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +21 -21
- package/dist/index.js +1653 -1763
- package/dist/index.js.map +1 -1
- package/dist/utils.d.ts +58 -58
- package/package.json +10 -10
package/dist/ckboxediting.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
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 { Plugin } from
|
|
9
|
-
import { LinkEditing } from
|
|
10
|
-
import { CKBoxUploadAdapter } from
|
|
11
|
-
import { CKBoxUtils } from
|
|
12
|
-
import { PictureEditing } from
|
|
6
|
+
* @module ckbox/ckboxediting
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { LinkEditing } from "@ckeditor/ckeditor5-link";
|
|
10
|
+
import { CKBoxUploadAdapter } from "./ckboxuploadadapter.js";
|
|
11
|
+
import { CKBoxUtils } from "./ckboxutils.js";
|
|
12
|
+
import { PictureEditing } from "@ckeditor/ckeditor5-image";
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
* The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
|
|
15
|
+
* {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
|
|
16
|
+
*/
|
|
17
17
|
export declare class CKBoxEditing extends Plugin {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get pluginName(): "CKBoxEditing";
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static override get isOfficialPlugin(): true;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get requires(): PluginDependenciesOf<[LinkEditing, PictureEditing, CKBoxUploadAdapter, CKBoxUtils]>;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
init(): void;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
afterInit(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Returns true only when the integrator intentionally wants to use the plugin, i.e. when the `config.ckbox` exists or
|
|
40
|
+
* the CKBox JavaScript library is loaded.
|
|
41
|
+
*/
|
|
42
|
+
private _shouldBeInitialised;
|
|
43
|
+
/**
|
|
44
|
+
* Blocks `uploadImage` and `ckboxImageEdit` commands.
|
|
45
|
+
*/
|
|
46
|
+
private _blockImageCommands;
|
|
47
|
+
/**
|
|
48
|
+
* Checks if at least one image plugin is loaded.
|
|
49
|
+
*/
|
|
50
|
+
private _checkImagePlugins;
|
|
51
|
+
/**
|
|
52
|
+
* Extends the schema to allow the `ckboxImageId` and `ckboxLinkId` attributes for links and images.
|
|
53
|
+
*/
|
|
54
|
+
private _initSchema;
|
|
55
|
+
/**
|
|
56
|
+
* Configures the upcast and downcast conversions for the `ckboxImageId` and `ckboxLinkId` attributes.
|
|
57
|
+
*/
|
|
58
|
+
private _initConversion;
|
|
59
|
+
/**
|
|
60
|
+
* Registers post-fixers that add or remove the `ckboxLinkId` and `ckboxImageId` attributes.
|
|
61
|
+
*/
|
|
62
|
+
private _initFixers;
|
|
63
63
|
}
|
|
@@ -1,105 +1,105 @@
|
|
|
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 { Command, type Editor } from
|
|
6
|
+
* @module ckbox/ckboximageedit/ckboximageeditcommand
|
|
7
|
+
*/
|
|
8
|
+
import { Command, type Editor } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
* The CKBox edit image command.
|
|
11
|
+
*
|
|
12
|
+
* Opens the CKBox dialog for editing the image.
|
|
13
|
+
*/
|
|
14
14
|
export declare class CKBoxImageEditCommand extends Command {
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
15
|
+
/**
|
|
16
|
+
* Flag indicating whether the command is active, i.e. dialog is open.
|
|
17
|
+
*/
|
|
18
|
+
value: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The DOM element that acts as a mounting point for the CKBox Edit Image dialog.
|
|
21
|
+
*/
|
|
22
|
+
private _wrapper;
|
|
23
|
+
/**
|
|
24
|
+
* The states of image processing in progress.
|
|
25
|
+
*/
|
|
26
|
+
private _processInProgress;
|
|
27
|
+
/**
|
|
28
|
+
* Determines if the element can be edited.
|
|
29
|
+
*/
|
|
30
|
+
private _canEdit;
|
|
31
|
+
/**
|
|
32
|
+
* A wrapper function to prepare mount options. Ensures that at most one preparation is in-flight.
|
|
33
|
+
*/
|
|
34
|
+
private _prepareOptions;
|
|
35
|
+
/**
|
|
36
|
+
* CKBox's onClose function runs before the final cleanup, potentially causing
|
|
37
|
+
* page layout changes after it finishes. To address this, we use a setTimeout hack
|
|
38
|
+
* to ensure that floating elements on the page maintain their correct position.
|
|
39
|
+
*
|
|
40
|
+
* See: https://github.com/ckeditor/ckeditor5/issues/16153.
|
|
41
|
+
*/
|
|
42
|
+
private _updateUiDelayed;
|
|
43
|
+
/**
|
|
44
|
+
* @inheritDoc
|
|
45
|
+
*/
|
|
46
|
+
constructor(editor: Editor);
|
|
47
|
+
/**
|
|
48
|
+
* @inheritDoc
|
|
49
|
+
*/
|
|
50
|
+
override refresh(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Opens the CKBox Image Editor dialog for editing the image.
|
|
53
|
+
*/
|
|
54
|
+
override execute(): void;
|
|
55
|
+
/**
|
|
56
|
+
* @inheritDoc
|
|
57
|
+
*/
|
|
58
|
+
override destroy(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Indicates if the CKBox Image Editor dialog is already opened.
|
|
61
|
+
*/
|
|
62
|
+
private _getValue;
|
|
63
|
+
/**
|
|
64
|
+
* Creates the options object for the CKBox Image Editor dialog.
|
|
65
|
+
*/
|
|
66
|
+
private _prepareOptionsAbortable;
|
|
67
|
+
/**
|
|
68
|
+
* Initializes event lister for an event of removing an image.
|
|
69
|
+
*/
|
|
70
|
+
private _prepareListeners;
|
|
71
|
+
/**
|
|
72
|
+
* Gets processing states of images that have been deleted in the mean time.
|
|
73
|
+
*/
|
|
74
|
+
private _getProcessingStatesOfDeletedImages;
|
|
75
|
+
private _checkIfElementIsBeingProcessed;
|
|
76
|
+
/**
|
|
77
|
+
* Closes the CKBox Image Editor dialog.
|
|
78
|
+
*/
|
|
79
|
+
private _handleImageEditorClose;
|
|
80
|
+
/**
|
|
81
|
+
* Save edited image. In case server respond with "success" replace with edited image,
|
|
82
|
+
* otherwise show notification error.
|
|
83
|
+
*/
|
|
84
|
+
private _handleImageEditorSave;
|
|
85
|
+
/**
|
|
86
|
+
* Get asset's status on server. If server responds with "success" status then
|
|
87
|
+
* image is already proceeded and ready for saving.
|
|
88
|
+
*/
|
|
89
|
+
private _getAssetStatusFromServer;
|
|
90
|
+
/**
|
|
91
|
+
* Waits for an asset to be processed.
|
|
92
|
+
* It retries retrieving asset status from the server in case of failure.
|
|
93
|
+
*/
|
|
94
|
+
private _waitForAssetProcessed;
|
|
95
|
+
/**
|
|
96
|
+
* Shows processing indicator while image is processing.
|
|
97
|
+
*
|
|
98
|
+
* @param asset Data about certain asset.
|
|
99
|
+
*/
|
|
100
|
+
private _showImageProcessingIndicator;
|
|
101
|
+
/**
|
|
102
|
+
* Replace the edited image with the new one.
|
|
103
|
+
*/
|
|
104
|
+
private _replaceImage;
|
|
105
105
|
}
|
|
@@ -1,33 +1,33 @@
|
|
|
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 { PendingActions, Plugin } from
|
|
9
|
-
import { Notification } from
|
|
10
|
-
import { ImageEditing, ImageUtils } from
|
|
11
|
-
import { CKBoxEditing } from
|
|
12
|
-
import { CKBoxUtils } from
|
|
6
|
+
* @module ckbox/ckboximageedit/ckboximageeditediting
|
|
7
|
+
*/
|
|
8
|
+
import { PendingActions, Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { Notification } from "@ckeditor/ckeditor5-ui";
|
|
10
|
+
import { ImageEditing, ImageUtils } from "@ckeditor/ckeditor5-image";
|
|
11
|
+
import { CKBoxEditing } from "../ckboxediting.js";
|
|
12
|
+
import { CKBoxUtils } from "../ckboxutils.js";
|
|
13
13
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
* The CKBox image edit editing plugin.
|
|
15
|
+
*/
|
|
16
16
|
export declare class CKBoxImageEditEditing extends Plugin {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
17
|
+
/**
|
|
18
|
+
* @inheritDoc
|
|
19
|
+
*/
|
|
20
|
+
static get pluginName(): "CKBoxImageEditEditing";
|
|
21
|
+
/**
|
|
22
|
+
* @inheritDoc
|
|
23
|
+
*/
|
|
24
|
+
static override get isOfficialPlugin(): true;
|
|
25
|
+
/**
|
|
26
|
+
* @inheritDoc
|
|
27
|
+
*/
|
|
28
|
+
static get requires(): PluginDependenciesOf<[CKBoxEditing, CKBoxUtils, PendingActions, Notification, ImageUtils, ImageEditing]>;
|
|
29
|
+
/**
|
|
30
|
+
* @inheritDoc
|
|
31
|
+
*/
|
|
32
|
+
init(): void;
|
|
33
33
|
}
|
|
@@ -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 { Plugin } from
|
|
6
|
+
* @module ckbox/ckboximageedit/ckboximageeditui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
* The UI plugin of the CKBox image edit feature.
|
|
11
|
+
*
|
|
12
|
+
* It registers the `'ckboxImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
|
|
13
|
+
* that allows you to open the CKBox dialog and edit the image.
|
|
14
|
+
*/
|
|
15
15
|
export declare class CKBoxImageEditUI extends Plugin {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "CKBoxImageEditUI";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static override get isOfficialPlugin(): true;
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
init(): void;
|
|
28
28
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import type { ModelElement } from
|
|
6
|
-
import type { CKBoxConfig } from
|
|
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 { ModelElement } from "@ckeditor/ckeditor5-engine";
|
|
6
|
+
import type { CKBoxConfig } from "../ckboxconfig.js";
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare function createEditabilityChecker(allowExternalImagesEditing: CKBoxConfig[
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare function createEditabilityChecker(allowExternalImagesEditing: CKBoxConfig["allowExternalImagesEditing"]): (element: ModelElement) => boolean;
|
package/dist/ckboximageedit.d.ts
CHANGED
|
@@ -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 { Plugin } from
|
|
9
|
-
import { CKBoxImageEditEditing } from
|
|
10
|
-
import { CKBoxImageEditUI } from
|
|
11
|
-
import
|
|
6
|
+
* @module ckbox/ckboximageedit
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { CKBoxImageEditEditing } from "./ckboximageedit/ckboximageeditediting.js";
|
|
10
|
+
import { CKBoxImageEditUI } from "./ckboximageedit/ckboximageeditui.js";
|
|
11
|
+
import "../theme/ckboximageedit.css";
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
* The CKBox image edit feature.
|
|
14
|
+
*/
|
|
15
15
|
export declare class CKBoxImageEdit extends Plugin {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "CKBoxImageEdit";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static override get isOfficialPlugin(): true;
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static get requires(): PluginDependenciesOf<[CKBoxImageEditEditing, CKBoxImageEditUI]>;
|
|
28
28
|
}
|
package/dist/ckboxui.d.ts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
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 { Plugin } from
|
|
6
|
+
* @module ckbox/ckboxui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
* Introduces UI components for the `CKBox` plugin.
|
|
11
|
+
*
|
|
12
|
+
* The plugin introduces two UI components to the {@link module:ui/componentfactory~ComponentFactory UI component factory}:
|
|
13
|
+
*
|
|
14
|
+
* * the `'ckbox'` toolbar button,
|
|
15
|
+
* * the `'menuBar:ckbox'` menu bar component, which is by default added to the `'Insert'` menu.
|
|
16
|
+
*
|
|
17
|
+
* It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component.
|
|
18
|
+
*/
|
|
19
19
|
export declare class CKBoxUI extends Plugin {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static get pluginName(): "CKBoxUI";
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static override get isOfficialPlugin(): true;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
afterInit(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Creates the base for various kinds of the button component provided by this feature.
|
|
34
|
+
*/
|
|
35
|
+
private _createButton;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a simple toolbar button for files management, with an icon and a tooltip.
|
|
38
|
+
*/
|
|
39
|
+
private _createFileToolbarButton;
|
|
40
|
+
/**
|
|
41
|
+
* Creates a simple toolbar button for images management, with an icon and a tooltip.
|
|
42
|
+
*/
|
|
43
|
+
private _createImageToolbarButton;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a button for images management for the dropdown view, with an icon, text and no tooltip.
|
|
46
|
+
*/
|
|
47
|
+
private _createImageDropdownButton;
|
|
48
|
+
/**
|
|
49
|
+
* Creates a button for files management for the menu bar.
|
|
50
|
+
*/
|
|
51
|
+
private _createFileMenuBarButton;
|
|
52
|
+
/**
|
|
53
|
+
* Creates a button for images management for the menu bar.
|
|
54
|
+
*/
|
|
55
|
+
private _createImageMenuBarButton;
|
|
56
56
|
}
|