@ckeditor/ckeditor5-upload 0.0.0-nightly-20231215.0 → 0.0.0-nightly-20231217.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 +5 -4
- package/src/adapters/base64uploadadapter.d.ts +1 -1
- package/src/adapters/base64uploadadapter.js +1 -1
- package/src/adapters/simpleuploadadapter.d.ts +1 -1
- package/src/adapters/simpleuploadadapter.js +1 -1
- package/src/augmentation.d.ts +1 -1
- package/src/filerepository.js +1 -1
- package/src/index.d.ts +6 -6
- package/src/index.js +5 -5
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-upload",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20231217.0",
|
4
4
|
"description": "Upload feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,11 +9,12 @@
|
|
9
9
|
"ckeditor5-lib",
|
10
10
|
"ckeditor5-dll"
|
11
11
|
],
|
12
|
+
"type": "module",
|
12
13
|
"main": "src/index.js",
|
13
14
|
"dependencies": {
|
14
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
15
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
16
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
15
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20231217.0",
|
16
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20231217.0",
|
17
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20231217.0"
|
17
18
|
},
|
18
19
|
"author": "CKSource (http://cksource.com/)",
|
19
20
|
"license": "GPL-2.0-or-later",
|
@@ -6,7 +6,7 @@
|
|
6
6
|
* @module upload/adapters/base64uploadadapter
|
7
7
|
*/
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
9
|
-
import FileRepository from '../filerepository';
|
9
|
+
import FileRepository from '../filerepository.js';
|
10
10
|
/**
|
11
11
|
* A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
|
12
12
|
* in the {@glink installation/getting-started/getting-and-setting-data editor output}.
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
/* globals window */
|
9
9
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
10
|
-
import FileRepository from '../filerepository';
|
10
|
+
import FileRepository from '../filerepository.js';
|
11
11
|
/**
|
12
12
|
* A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
|
13
13
|
* in the {@glink installation/getting-started/getting-and-setting-data editor output}.
|
@@ -6,7 +6,7 @@
|
|
6
6
|
* @module upload/adapters/simpleuploadadapter
|
7
7
|
*/
|
8
8
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
9
|
-
import FileRepository from '../filerepository';
|
9
|
+
import FileRepository from '../filerepository.js';
|
10
10
|
/**
|
11
11
|
* The Simple upload adapter allows uploading images to an application running on your server using
|
12
12
|
* the [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) API with a
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
/* globals XMLHttpRequest, FormData */
|
9
9
|
import { Plugin } from '@ckeditor/ckeditor5-core';
|
10
|
-
import FileRepository from '../filerepository';
|
10
|
+
import FileRepository from '../filerepository.js';
|
11
11
|
import { logWarning } from '@ckeditor/ckeditor5-utils';
|
12
12
|
/**
|
13
13
|
* The Simple upload adapter allows uploading images to an application running on your server using
|
package/src/augmentation.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
|
-
import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index';
|
5
|
+
import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index.js';
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
7
7
|
interface EditorConfig {
|
8
8
|
/**
|
package/src/filerepository.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { Plugin, PendingActions } from '@ckeditor/ckeditor5-core';
|
9
9
|
import { CKEditorError, Collection, ObservableMixin, logWarning, uid } from '@ckeditor/ckeditor5-utils';
|
10
|
-
import FileReader from './filereader';
|
10
|
+
import FileReader from './filereader.js';
|
11
11
|
/**
|
12
12
|
* File repository plugin. A central point for managing file upload.
|
13
13
|
*
|
package/src/index.d.ts
CHANGED
@@ -5,9 +5,9 @@
|
|
5
5
|
/**
|
6
6
|
* @module upload
|
7
7
|
*/
|
8
|
-
export { default as FileRepository, type UploadAdapter, type UploadResponse, type FileLoader } from './filerepository';
|
9
|
-
export { default as FileDialogButtonView } from './ui/filedialogbuttonview';
|
10
|
-
export { default as Base64UploadAdapter } from './adapters/base64uploadadapter';
|
11
|
-
export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter';
|
12
|
-
export type { SimpleUploadConfig } from './uploadconfig';
|
13
|
-
import './augmentation';
|
8
|
+
export { default as FileRepository, type UploadAdapter, type UploadResponse, type FileLoader } from './filerepository.js';
|
9
|
+
export { default as FileDialogButtonView } from './ui/filedialogbuttonview.js';
|
10
|
+
export { default as Base64UploadAdapter } from './adapters/base64uploadadapter.js';
|
11
|
+
export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter.js';
|
12
|
+
export type { SimpleUploadConfig } from './uploadconfig.js';
|
13
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
/**
|
6
6
|
* @module upload
|
7
7
|
*/
|
8
|
-
export { default as FileRepository } from './filerepository';
|
9
|
-
export { default as FileDialogButtonView } from './ui/filedialogbuttonview';
|
10
|
-
export { default as Base64UploadAdapter } from './adapters/base64uploadadapter';
|
11
|
-
export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter';
|
12
|
-
import './augmentation';
|
8
|
+
export { default as FileRepository } from './filerepository.js';
|
9
|
+
export { default as FileDialogButtonView } from './ui/filedialogbuttonview.js';
|
10
|
+
export { default as Base64UploadAdapter } from './adapters/base64uploadadapter.js';
|
11
|
+
export { default as SimpleUploadAdapter } from './adapters/simpleuploadadapter.js';
|
12
|
+
import './augmentation.js';
|