@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
|
@@ -1,38 +1,38 @@
|
|
|
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 { FileRepository } from
|
|
10
|
-
import { ImageUploadEditing, ImageUploadProgress } from
|
|
11
|
-
import { CKBoxEditing } from
|
|
6
|
+
* @module ckbox/ckboxuploadadapter
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { FileRepository } from "@ckeditor/ckeditor5-upload";
|
|
10
|
+
import { ImageUploadEditing, ImageUploadProgress } from "@ckeditor/ckeditor5-image";
|
|
11
|
+
import { CKBoxEditing } from "./ckboxediting.js";
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
* A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
|
|
14
|
+
* See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
|
|
15
|
+
* and use this feature as well as find out more about the full integration with the file manager
|
|
16
|
+
* provided by the {@link module:ckbox/ckbox~CKBox} plugin.
|
|
17
|
+
*
|
|
18
|
+
* Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
|
|
19
|
+
* other ways to upload images into CKEditor 5.
|
|
20
|
+
*/
|
|
21
21
|
export declare class CKBoxUploadAdapter extends Plugin {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static get requires(): PluginDependenciesOf<[ImageUploadEditing, ImageUploadProgress, FileRepository, CKBoxEditing]>;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get pluginName(): "CKBoxUploadAdapter";
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
static override get isOfficialPlugin(): true;
|
|
34
|
+
/**
|
|
35
|
+
* @inheritDoc
|
|
36
|
+
*/
|
|
37
|
+
afterInit(): Promise<void>;
|
|
38
38
|
}
|
package/dist/ckboxutils.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
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 { CloudServices, type InitializedToken } from
|
|
9
|
-
import { Plugin } from
|
|
6
|
+
* @module ckbox/ckboxutils
|
|
7
|
+
*/
|
|
8
|
+
import { CloudServices, type InitializedToken } from "@ckeditor/ckeditor5-cloud-services";
|
|
9
|
+
import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
* The CKBox utilities plugin.
|
|
12
|
+
*/
|
|
13
13
|
export declare class CKBoxUtils extends Plugin {
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
14
|
+
/**
|
|
15
|
+
* CKEditor Cloud Services access token.
|
|
16
|
+
*/
|
|
17
|
+
private _token;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static get pluginName(): "CKBoxUtils";
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
static override get isOfficialPlugin(): true;
|
|
26
|
+
/**
|
|
27
|
+
* @inheritDoc
|
|
28
|
+
*/
|
|
29
|
+
static get requires(): PluginDependenciesOf<[CloudServices]>;
|
|
30
|
+
/**
|
|
31
|
+
* @inheritDoc
|
|
32
|
+
*/
|
|
33
|
+
init(): void;
|
|
34
|
+
/**
|
|
35
|
+
* Returns a token used by the CKBox plugin for communication with the CKBox service.
|
|
36
|
+
*/
|
|
37
|
+
getToken(): Promise<InitializedToken>;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of workspace to use when uploading an image.
|
|
40
|
+
*/
|
|
41
|
+
getWorkspaceId(): Promise<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Resolves a promise with an object containing a category with which the uploaded file is associated or an error code.
|
|
44
|
+
*/
|
|
45
|
+
getCategoryIdForFile(fileOrUrl: File | string, options: {
|
|
46
|
+
signal: AbortSignal;
|
|
47
|
+
}): Promise<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Resolves a promise with an array containing available categories with which the uploaded file can be associated.
|
|
50
|
+
*
|
|
51
|
+
* If the API returns limited results, the method will collect all items.
|
|
52
|
+
*/
|
|
53
|
+
private _getAvailableCategories;
|
|
54
|
+
/**
|
|
55
|
+
* Authorize private categories access to the CKBox service. Request sets cookie for the current domain,
|
|
56
|
+
* that allows user to preview images from private categories.
|
|
57
|
+
*/
|
|
58
|
+
private _authorizePrivateCategoriesAccess;
|
|
59
59
|
}
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/ckboximageedit.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;AAChD,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KA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ADiBL,CAAA,CAAA,IAAA,CAAA,CAAA,CAAA;ACfH;;AAEA,CAAC,EAAE,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;ADoBpD,CAAA,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA;AClBA;;AAEA,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;AACzC,CAAC,CAAC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;;AAEF,CAAC,CAAC,GAAG,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n",":root {\n --ck-image-processing-highlight-color: #f9fafa;\n --ck-image-processing-background-color: #e3e5e8;\n}\n\n.ck.ck-editor__editable .image.image-processing {\n position: relative;\n}\n\n.ck.ck-editor__editable .image.image-processing:before {\n content: \"\";\n z-index: 1;\n background: linear-gradient(90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color));\n background-size: 200% 100%;\n width: 100%;\n height: 100%;\n animation: 2s linear infinite ck-image-processing-animation;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.ck.ck-editor__editable .image.image-processing img {\n height: 100%;\n}\n\n@keyframes ck-image-processing-animation {\n 0% {\n background-position: 200% 0;\n }\n\n 100% {\n background-position: -200% 0;\n }\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
|
1
|
+
{"version":3,"sources":["../theme/ckboximageedit.css","index.css"],"names":[],"mappings":";;;;AAKA,CAAA,IAAA,CAAA;ACJA,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;AAChD,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM;AACjD;;ADUE,CAAA,EAAA,CAAA,EAAA,CAAA,gBAAA,CAAA,CAAA,KAAA,CAAA,KAAA,CAAA,UAAA,CAAA;AC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AA,CAAA,MAAA,CAAA,CAAA,GAAA,CAAA;AClBA;;AAEA,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC;AACzC,CAAC,CAAC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/B,CAAC,CAAC;;AAEF,CAAC,CAAC,GAAG,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC;AACF;;AAEA,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"index.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n",":root {\n --ck-image-processing-highlight-color: #f9fafa;\n --ck-image-processing-background-color: #e3e5e8;\n}\n\n.ck.ck-editor__editable .image.image-processing {\n position: relative;\n}\n\n.ck.ck-editor__editable .image.image-processing:before {\n content: \"\";\n z-index: 1;\n background: linear-gradient(90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color));\n background-size: 200% 100%;\n width: 100%;\n height: 100%;\n animation: 2s linear infinite ck-image-processing-animation;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.ck.ck-editor__editable .image.image-processing img {\n height: 100%;\n}\n\n@keyframes ck-image-processing-animation {\n 0% {\n background-position: 200% 0;\n }\n\n 100% {\n background-position: -200% 0;\n }\n}\n\n/*# sourceMappingURL=index.css.map */"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
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 { CKBox } from
|
|
9
|
-
export { CKBoxEditing } from
|
|
10
|
-
export { CKBoxUI } from
|
|
11
|
-
export { CKBoxImageEditEditing } from
|
|
12
|
-
export { CKBoxImageEditUI } from
|
|
13
|
-
export { CKBoxImageEdit } from
|
|
14
|
-
export { CKBoxCommand } from
|
|
15
|
-
export { CKBoxImageEditCommand } from
|
|
16
|
-
export { CKBoxUploadAdapter } from
|
|
17
|
-
export { CKBoxUtils } from
|
|
18
|
-
export type { CKBoxConfig, CKBoxDialogConfig, CKBoxCategoriesConfig, CKBoxViewConfig, CKBoxUploadConfig, CKBoxImageUrls, CKBoxRawAssetDefinition, CKBoxRawAssetDataDefinition, CKBoxRawAssetMetadataDefinition } from
|
|
19
|
-
export { getImageUrls as _getCKBoxImageUrls, getWorkspaceId as _getCKBoxWorkspaceId, blurHashToDataUrl as _ckboxBlurHashToDataUrl, sendHttpRequest as _sendCKBoxHttpRequest, convertMimeTypeToExtension as _ckBoxConvertMimeTypeToExtension, getContentTypeOfUrl as _getCKBoxContentTypeOfUrl, getFileExtension as _getCKBoxFileExtension } from
|
|
20
|
-
export type { CKBoxAssetDefinition as _CKBoxAssetDefinition, CKBoxAssetImageDefinition as _CKBoxAssetImageDefinition, CKBoxAssetLinkDefinition as _CKBoxAssetLinkDefinition, CKBoxAssetImageAttributesDefinition as _CKBoxAssetImageAttributesDefinition, CKBoxAssetLinkAttributesDefinition as _CKBoxAssetLinkAttributesDefinition } from
|
|
21
|
-
export { createEditabilityChecker as _createCKBoxEditabilityChecker } from
|
|
22
|
-
export { prepareImageAssetAttributes as _prepareCKBoxImageAssetAttributes } from
|
|
23
|
-
import
|
|
6
|
+
* @module ckbox
|
|
7
|
+
*/
|
|
8
|
+
export { CKBox } from "./ckbox.js";
|
|
9
|
+
export { CKBoxEditing } from "./ckboxediting.js";
|
|
10
|
+
export { CKBoxUI } from "./ckboxui.js";
|
|
11
|
+
export { CKBoxImageEditEditing } from "./ckboximageedit/ckboximageeditediting.js";
|
|
12
|
+
export { CKBoxImageEditUI } from "./ckboximageedit/ckboximageeditui.js";
|
|
13
|
+
export { CKBoxImageEdit } from "./ckboximageedit.js";
|
|
14
|
+
export { CKBoxCommand } from "./ckboxcommand.js";
|
|
15
|
+
export { CKBoxImageEditCommand } from "./ckboximageedit/ckboximageeditcommand.js";
|
|
16
|
+
export { CKBoxUploadAdapter } from "./ckboxuploadadapter.js";
|
|
17
|
+
export { CKBoxUtils } from "./ckboxutils.js";
|
|
18
|
+
export type { CKBoxConfig, CKBoxDialogConfig, CKBoxCategoriesConfig, CKBoxViewConfig, CKBoxUploadConfig, CKBoxImageUrls, CKBoxRawAssetDefinition, CKBoxRawAssetDataDefinition, CKBoxRawAssetMetadataDefinition } from "./ckboxconfig.js";
|
|
19
|
+
export { getImageUrls as _getCKBoxImageUrls, getWorkspaceId as _getCKBoxWorkspaceId, blurHashToDataUrl as _ckboxBlurHashToDataUrl, sendHttpRequest as _sendCKBoxHttpRequest, convertMimeTypeToExtension as _ckBoxConvertMimeTypeToExtension, getContentTypeOfUrl as _getCKBoxContentTypeOfUrl, getFileExtension as _getCKBoxFileExtension } from "./utils.js";
|
|
20
|
+
export type { CKBoxAssetDefinition as _CKBoxAssetDefinition, CKBoxAssetImageDefinition as _CKBoxAssetImageDefinition, CKBoxAssetLinkDefinition as _CKBoxAssetLinkDefinition, CKBoxAssetImageAttributesDefinition as _CKBoxAssetImageAttributesDefinition, CKBoxAssetLinkAttributesDefinition as _CKBoxAssetLinkAttributesDefinition } from "./ckboxconfig.js";
|
|
21
|
+
export { createEditabilityChecker as _createCKBoxEditabilityChecker } from "./ckboximageedit/utils.js";
|
|
22
|
+
export { prepareImageAssetAttributes as _prepareCKBoxImageAssetAttributes } from "./ckboxcommand.js";
|
|
23
|
+
import "./augmentation.js";
|