@ckeditor/ckeditor5-ckbox 0.0.0-nightly-20250604.0 → 0.0.0-nightly-20250606.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ckbox",
3
- "version": "0.0.0-nightly-20250604.0",
3
+ "version": "0.0.0-nightly-20250606.0",
4
4
  "description": "CKBox integration for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,17 +13,17 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20250604.0",
17
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250604.0",
18
- "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250604.0",
19
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250604.0",
20
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250604.0",
21
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250604.0",
22
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250604.0",
23
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250604.0",
24
- "ckeditor5": "0.0.0-nightly-20250604.0",
16
+ "@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20250606.0",
17
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250606.0",
18
+ "@ckeditor/ckeditor5-engine": "0.0.0-nightly-20250606.0",
19
+ "@ckeditor/ckeditor5-icons": "0.0.0-nightly-20250606.0",
20
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250606.0",
21
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250606.0",
22
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250606.0",
23
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250606.0",
24
+ "ckeditor5": "0.0.0-nightly-20250606.0",
25
25
  "blurhash": "2.0.5",
26
- "es-toolkit": "1.32.0"
26
+ "es-toolkit": "1.38.0"
27
27
  },
28
28
  "author": "CKSource (http://cksource.com/)",
29
29
  "license": "SEE LICENSE IN LICENSE.md",
package/src/ckbox.d.ts CHANGED
@@ -6,8 +6,8 @@
6
6
  * @module ckbox/ckbox
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CKBoxUI from './ckboxui.js';
10
- import CKBoxEditing from './ckboxediting.js';
9
+ import { CKBoxUI } from './ckboxui.js';
10
+ import { CKBoxEditing } from './ckboxediting.js';
11
11
  /**
12
12
  * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
13
  *
@@ -21,7 +21,7 @@ import CKBoxEditing from './ckboxediting.js';
21
21
  * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
22
  * images into CKEditor 5.
23
23
  */
24
- export default class CKBox extends Plugin {
24
+ export declare class CKBox extends Plugin {
25
25
  /**
26
26
  * @inheritDoc
27
27
  */
package/src/ckbox.js CHANGED
@@ -6,8 +6,8 @@
6
6
  * @module ckbox/ckbox
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CKBoxUI from './ckboxui.js';
10
- import CKBoxEditing from './ckboxediting.js';
9
+ import { CKBoxUI } from './ckboxui.js';
10
+ import { CKBoxEditing } from './ckboxediting.js';
11
11
  /**
12
12
  * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
13
13
  *
@@ -21,7 +21,7 @@ import CKBoxEditing from './ckboxediting.js';
21
21
  * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
22
22
  * images into CKEditor 5.
23
23
  */
24
- export default class CKBox extends Plugin {
24
+ export class CKBox extends Plugin {
25
25
  /**
26
26
  * @inheritDoc
27
27
  */
@@ -18,7 +18,7 @@ import type { CKBoxAssetDefinition, CKBoxAssetImageAttributesDefinition, CKBoxRa
18
18
  * - To insert links to other files it uses the {@link module:link/linkcommand~LinkCommand 'link'} command from the
19
19
  * {@link module:link/link~Link Link feature}.
20
20
  */
21
- export default class CKBoxCommand extends Command {
21
+ export declare class CKBoxCommand extends Command {
22
22
  value: boolean;
23
23
  /**
24
24
  * A set of all chosen assets. They are stored temporarily and they are automatically removed 1 second after being chosen.
@@ -23,7 +23,7 @@ const ASSET_INSERTION_WAIT_TIMEOUT = 1000;
23
23
  * - To insert links to other files it uses the {@link module:link/linkcommand~LinkCommand 'link'} command from the
24
24
  * {@link module:link/link~Link Link feature}.
25
25
  */
26
- export default class CKBoxCommand extends Command {
26
+ export class CKBoxCommand extends Command {
27
27
  /**
28
28
  * A set of all chosen assets. They are stored temporarily and they are automatically removed 1 second after being chosen.
29
29
  * Chosen assets have to be "remembered" for a while to be able to map the given asset with the element inserted into the model.
@@ -6,13 +6,13 @@
6
6
  * @module ckbox/ckboxediting
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CKBoxUploadAdapter from './ckboxuploadadapter.js';
10
- import CKBoxUtils from './ckboxutils.js';
9
+ import { CKBoxUploadAdapter } from './ckboxuploadadapter.js';
10
+ import { CKBoxUtils } from './ckboxutils.js';
11
11
  /**
12
12
  * The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
13
13
  * {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
14
14
  */
15
- export default class CKBoxEditing extends Plugin {
15
+ export declare class CKBoxEditing extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -8,16 +8,16 @@
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Range } from 'ckeditor5/src/engine.js';
10
10
  import { logError } from 'ckeditor5/src/utils.js';
11
- import CKBoxCommand from './ckboxcommand.js';
12
- import CKBoxUploadAdapter from './ckboxuploadadapter.js';
13
- import CKBoxUtils from './ckboxutils.js';
11
+ import { CKBoxCommand } from './ckboxcommand.js';
12
+ import { CKBoxUploadAdapter } from './ckboxuploadadapter.js';
13
+ import { CKBoxUtils } from './ckboxutils.js';
14
14
  import { sendHttpRequest } from './utils.js';
15
15
  const COMMAND_FORCE_DISABLE_ID = 'NoPermission';
16
16
  /**
17
17
  * The CKBox editing feature. It introduces the {@link module:ckbox/ckboxcommand~CKBoxCommand CKBox command} and
18
18
  * {@link module:ckbox/ckboxuploadadapter~CKBoxUploadAdapter CKBox upload adapter}.
19
19
  */
20
- export default class CKBoxEditing extends Plugin {
20
+ export class CKBoxEditing extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
@@ -11,7 +11,7 @@ import { Command, type Editor } from 'ckeditor5/src/core.js';
11
11
  *
12
12
  * Opens the CKBox dialog for editing the image.
13
13
  */
14
- export default class CKBoxImageEditCommand extends Command {
14
+ export declare class CKBoxImageEditCommand extends Command {
15
15
  /**
16
16
  * Flag indicating whether the command is active, i.e. dialog is open.
17
17
  */
@@ -12,13 +12,13 @@ import { isEqual } from 'es-toolkit/compat';
12
12
  import { sendHttpRequest } from '../utils.js';
13
13
  import { prepareImageAssetAttributes } from '../ckboxcommand.js';
14
14
  import { createEditabilityChecker } from './utils.js';
15
- import CKBoxUtils from '../ckboxutils.js';
15
+ import { CKBoxUtils } from '../ckboxutils.js';
16
16
  /**
17
17
  * The CKBox edit image command.
18
18
  *
19
19
  * Opens the CKBox dialog for editing the image.
20
20
  */
21
- export default class CKBoxImageEditCommand extends Command {
21
+ export class CKBoxImageEditCommand extends Command {
22
22
  /**
23
23
  * The DOM element that acts as a mounting point for the CKBox Edit Image dialog.
24
24
  */
@@ -7,12 +7,12 @@
7
7
  */
8
8
  import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Notification } from 'ckeditor5/src/ui.js';
10
- import CKBoxEditing from '../ckboxediting.js';
11
- import CKBoxUtils from '../ckboxutils.js';
10
+ import { CKBoxEditing } from '../ckboxediting.js';
11
+ import { CKBoxUtils } from '../ckboxutils.js';
12
12
  /**
13
13
  * The CKBox image edit editing plugin.
14
14
  */
15
- export default class CKBoxImageEditEditing extends Plugin {
15
+ export declare class CKBoxImageEditEditing extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -7,13 +7,13 @@
7
7
  */
8
8
  import { PendingActions, Plugin } from 'ckeditor5/src/core.js';
9
9
  import { Notification } from 'ckeditor5/src/ui.js';
10
- import CKBoxImageEditCommand from './ckboximageeditcommand.js';
11
- import CKBoxEditing from '../ckboxediting.js';
12
- import CKBoxUtils from '../ckboxutils.js';
10
+ import { CKBoxImageEditCommand } from './ckboximageeditcommand.js';
11
+ import { CKBoxEditing } from '../ckboxediting.js';
12
+ import { CKBoxUtils } from '../ckboxutils.js';
13
13
  /**
14
14
  * The CKBox image edit editing plugin.
15
15
  */
16
- export default class CKBoxImageEditEditing extends Plugin {
16
+ export class CKBoxImageEditEditing extends Plugin {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
@@ -12,7 +12,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
12
12
  * It registers the `'ckboxImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
13
13
  * that allows you to open the CKBox dialog and edit the image.
14
14
  */
15
- export default class CKBoxImageEditUI extends Plugin {
15
+ export declare class CKBoxImageEditUI extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -14,7 +14,7 @@ import { IconCkboxImageEdit } from 'ckeditor5/src/icons.js';
14
14
  * It registers the `'ckboxImageEdit'` UI button in the editor's {@link module:ui/componentfactory~ComponentFactory component factory}
15
15
  * that allows you to open the CKBox dialog and edit the image.
16
16
  */
17
- export default class CKBoxImageEditUI extends Plugin {
17
+ export class CKBoxImageEditUI extends Plugin {
18
18
  /**
19
19
  * @inheritDoc
20
20
  */
@@ -6,13 +6,13 @@
6
6
  * @module ckbox/ckboximageedit
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
10
- import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.js';
9
+ import { CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
10
+ import { CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
11
11
  import '../theme/ckboximageedit.css';
12
12
  /**
13
13
  * The CKBox image edit feature.
14
14
  */
15
- export default class CKBoxImageEdit extends Plugin {
15
+ export declare class CKBoxImageEdit extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
@@ -6,13 +6,13 @@
6
6
  * @module ckbox/ckboximageedit
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
- import CKBoxImageEditEditing from './ckboximageedit/ckboximageeditediting.js';
10
- import CKBoxImageEditUI from './ckboximageedit/ckboximageeditui.js';
9
+ import { CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
10
+ import { CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
11
11
  import '../theme/ckboximageedit.css';
12
12
  /**
13
13
  * The CKBox image edit feature.
14
14
  */
15
- export default class CKBoxImageEdit extends Plugin {
15
+ export class CKBoxImageEdit extends Plugin {
16
16
  /**
17
17
  * @inheritDoc
18
18
  */
package/src/ckboxui.d.ts CHANGED
@@ -16,7 +16,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
16
16
  *
17
17
  * It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component.
18
18
  */
19
- export default class CKBoxUI extends Plugin {
19
+ export declare class CKBoxUI extends Plugin {
20
20
  /**
21
21
  * @inheritDoc
22
22
  */
package/src/ckboxui.js CHANGED
@@ -18,7 +18,7 @@ import { IconBrowseFiles, IconImageAssetManager } from 'ckeditor5/src/icons.js';
18
18
  *
19
19
  * It also integrates with the `insertImage` toolbar component and `menuBar:insertImage` menu component.
20
20
  */
21
- export default class CKBoxUI extends Plugin {
21
+ export class CKBoxUI extends Plugin {
22
22
  /**
23
23
  * @inheritDoc
24
24
  */
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { FileRepository } from 'ckeditor5/src/upload.js';
10
- import CKBoxEditing from './ckboxediting.js';
10
+ import { CKBoxEditing } from './ckboxediting.js';
11
11
  /**
12
12
  * A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
13
13
  * See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
@@ -17,7 +17,7 @@ import CKBoxEditing from './ckboxediting.js';
17
17
  * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
18
18
  * other ways to upload images into CKEditor 5.
19
19
  */
20
- export default class CKBoxUploadAdapter extends Plugin {
20
+ export declare class CKBoxUploadAdapter extends Plugin {
21
21
  /**
22
22
  * @inheritDoc
23
23
  */
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import { Plugin } from 'ckeditor5/src/core.js';
9
9
  import { FileRepository } from 'ckeditor5/src/upload.js';
10
- import CKBoxEditing from './ckboxediting.js';
10
+ import { CKBoxEditing } from './ckboxediting.js';
11
11
  import { getImageUrls, sendHttpRequest } from './utils.js';
12
- import CKBoxUtils from './ckboxutils.js';
12
+ import { CKBoxUtils } from './ckboxutils.js';
13
13
  /**
14
14
  * A plugin that enables file uploads in CKEditor 5 using the CKBox server–side connector.
15
15
  * See the {@glink features/file-management/ckbox CKBox file manager integration} guide to learn how to configure
@@ -19,7 +19,7 @@ import CKBoxUtils from './ckboxutils.js';
19
19
  * Check out the {@glink features/images/image-upload/image-upload Image upload overview} guide to learn about
20
20
  * other ways to upload images into CKEditor 5.
21
21
  */
22
- export default class CKBoxUploadAdapter extends Plugin {
22
+ export class CKBoxUploadAdapter extends Plugin {
23
23
  /**
24
24
  * @inheritDoc
25
25
  */
@@ -10,7 +10,7 @@ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  /**
11
11
  * The CKBox utilities plugin.
12
12
  */
13
- export default class CKBoxUtils extends Plugin {
13
+ export declare class CKBoxUtils extends Plugin {
14
14
  /**
15
15
  * CKEditor Cloud Services access token.
16
16
  */
package/src/ckboxutils.js CHANGED
@@ -9,7 +9,7 @@ const DEFAULT_CKBOX_THEME_NAME = 'lark';
9
9
  /**
10
10
  * The CKBox utilities plugin.
11
11
  */
12
- export default class CKBoxUtils extends Plugin {
12
+ export class CKBoxUtils extends Plugin {
13
13
  /**
14
14
  * CKEditor Cloud Services access token.
15
15
  */
package/src/index.d.ts CHANGED
@@ -5,13 +5,13 @@
5
5
  /**
6
6
  * @module ckbox
7
7
  */
8
- export { default as CKBox } from './ckbox.js';
9
- export { default as CKBoxEditing } from './ckboxediting.js';
10
- export { default as CKBoxUI } from './ckboxui.js';
11
- export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
12
- export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
13
- export { default as CKBoxImageEdit } from './ckboximageedit.js';
14
- export type { default as CKBoxCommand } from './ckboxcommand.js';
15
- export type { default as CKBoxImageEditCommand } from './ckboximageedit/ckboximageeditcommand.js';
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
16
  export type { CKBoxConfig } from './ckboxconfig.js';
17
17
  import './augmentation.js';
package/src/index.js CHANGED
@@ -5,10 +5,12 @@
5
5
  /**
6
6
  * @module ckbox
7
7
  */
8
- export { default as CKBox } from './ckbox.js';
9
- export { default as CKBoxEditing } from './ckboxediting.js';
10
- export { default as CKBoxUI } from './ckboxui.js';
11
- export { default as CKBoxImageEditEditing } from './ckboximageedit/ckboximageeditediting.js';
12
- export { default as CKBoxImageEditUI } from './ckboximageedit/ckboximageeditui.js';
13
- export { default as CKBoxImageEdit } from './ckboximageedit.js';
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';
14
16
  import './augmentation.js';