@ckeditor/ckeditor5-upload 38.2.0-alpha.1 → 39.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -4,7 +4,6 @@ CKEditor 5 file upload feature
4
4
  [![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-upload.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-upload)
5
5
  [![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
6
6
  [![Build Status](https://travis-ci.com/ckeditor/ckeditor5.svg?branch=master)](https://app.travis-ci.com/github/ckeditor/ckeditor5)
7
- ![Dependency Status](https://img.shields.io/librariesio/release/npm/@ckeditor/ckeditor5-upload)
8
7
 
9
8
  This package implements various file upload utilities for CKEditor 5.
10
9
 
@@ -0,0 +1,21 @@
1
+ # Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # !!! IMPORTANT !!!
4
+ #
5
+ # Before you edit this file, please keep in mind that contributing to the project
6
+ # translations is possible ONLY via the Transifex online service.
7
+ #
8
+ # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
+ #
10
+ # To learn more, check out the official contributor's guide:
11
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
+ "Language: ug\n"
17
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
+
19
+ msgctxt "A message that a file upload is in progress."
20
+ msgid "Upload in progress"
21
+ msgstr "يۈكلىنىۋاتىدۇ"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-upload",
3
- "version": "38.2.0-alpha.1",
3
+ "version": "39.0.0",
4
4
  "description": "Upload feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -10,11 +10,10 @@
10
10
  "ckeditor5-dll"
11
11
  ],
12
12
  "main": "src/index.js",
13
- "type": "module",
14
13
  "dependencies": {
15
- "@ckeditor/ckeditor5-core": "38.2.0-alpha.1",
16
- "@ckeditor/ckeditor5-utils": "38.2.0-alpha.1",
17
- "@ckeditor/ckeditor5-ui": "38.2.0-alpha.1"
14
+ "@ckeditor/ckeditor5-core": "39.0.0",
15
+ "@ckeditor/ckeditor5-utils": "39.0.0",
16
+ "@ckeditor/ckeditor5-ui": "39.0.0"
18
17
  },
19
18
  "engines": {
20
19
  "node": ">=16.0.0",
@@ -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.js';
9
+ import FileRepository from '../filerepository';
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.js';
10
+ import FileRepository from '../filerepository';
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.js';
9
+ import FileRepository from '../filerepository';
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.js';
10
+ import FileRepository from '../filerepository';
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
@@ -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.js';
5
+ import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index';
6
6
  declare module '@ckeditor/ckeditor5-core' {
7
7
  interface EditorConfig {
8
8
  /**
@@ -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.js';
10
+ import FileReader from './filereader';
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.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';
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';
package/src/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module upload
7
7
  */
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';
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';