@ckeditor/ckeditor5-upload 41.3.0-alpha.3 → 41.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. package/package.json +3 -5
  2. package/src/index.d.ts +0 -1
  3. package/src/index.js +0 -1
  4. package/dist/content-index.css +0 -4
  5. package/dist/editor-index.css +0 -4
  6. package/dist/index.css +0 -4
  7. package/dist/translations/ar.d.ts +0 -8
  8. package/dist/translations/ar.js +0 -5
  9. package/dist/translations/az.d.ts +0 -8
  10. package/dist/translations/az.js +0 -5
  11. package/dist/translations/bg.d.ts +0 -8
  12. package/dist/translations/bg.js +0 -5
  13. package/dist/translations/bn.d.ts +0 -8
  14. package/dist/translations/bn.js +0 -5
  15. package/dist/translations/ca.d.ts +0 -8
  16. package/dist/translations/ca.js +0 -5
  17. package/dist/translations/cs.d.ts +0 -8
  18. package/dist/translations/cs.js +0 -5
  19. package/dist/translations/da.d.ts +0 -8
  20. package/dist/translations/da.js +0 -5
  21. package/dist/translations/de-ch.d.ts +0 -8
  22. package/dist/translations/de-ch.js +0 -5
  23. package/dist/translations/de.d.ts +0 -8
  24. package/dist/translations/de.js +0 -5
  25. package/dist/translations/el.d.ts +0 -8
  26. package/dist/translations/el.js +0 -5
  27. package/dist/translations/en-au.d.ts +0 -8
  28. package/dist/translations/en-au.js +0 -5
  29. package/dist/translations/en-gb.d.ts +0 -8
  30. package/dist/translations/en-gb.js +0 -5
  31. package/dist/translations/en.d.ts +0 -8
  32. package/dist/translations/en.js +0 -5
  33. package/dist/translations/es-co.d.ts +0 -8
  34. package/dist/translations/es-co.js +0 -5
  35. package/dist/translations/es.d.ts +0 -8
  36. package/dist/translations/es.js +0 -5
  37. package/dist/translations/et.d.ts +0 -8
  38. package/dist/translations/et.js +0 -5
  39. package/dist/translations/fa.d.ts +0 -8
  40. package/dist/translations/fa.js +0 -5
  41. package/dist/translations/fi.d.ts +0 -8
  42. package/dist/translations/fi.js +0 -5
  43. package/dist/translations/fr.d.ts +0 -8
  44. package/dist/translations/fr.js +0 -5
  45. package/dist/translations/gl.d.ts +0 -8
  46. package/dist/translations/gl.js +0 -5
  47. package/dist/translations/he.d.ts +0 -8
  48. package/dist/translations/he.js +0 -5
  49. package/dist/translations/hi.d.ts +0 -8
  50. package/dist/translations/hi.js +0 -5
  51. package/dist/translations/hr.d.ts +0 -8
  52. package/dist/translations/hr.js +0 -5
  53. package/dist/translations/hu.d.ts +0 -8
  54. package/dist/translations/hu.js +0 -5
  55. package/dist/translations/id.d.ts +0 -8
  56. package/dist/translations/id.js +0 -5
  57. package/dist/translations/it.d.ts +0 -8
  58. package/dist/translations/it.js +0 -5
  59. package/dist/translations/ja.d.ts +0 -8
  60. package/dist/translations/ja.js +0 -5
  61. package/dist/translations/ko.d.ts +0 -8
  62. package/dist/translations/ko.js +0 -5
  63. package/dist/translations/ku.d.ts +0 -8
  64. package/dist/translations/ku.js +0 -5
  65. package/dist/translations/lt.d.ts +0 -8
  66. package/dist/translations/lt.js +0 -5
  67. package/dist/translations/lv.d.ts +0 -8
  68. package/dist/translations/lv.js +0 -5
  69. package/dist/translations/ms.d.ts +0 -8
  70. package/dist/translations/ms.js +0 -5
  71. package/dist/translations/nb.d.ts +0 -8
  72. package/dist/translations/nb.js +0 -5
  73. package/dist/translations/ne.d.ts +0 -8
  74. package/dist/translations/ne.js +0 -5
  75. package/dist/translations/nl.d.ts +0 -8
  76. package/dist/translations/nl.js +0 -5
  77. package/dist/translations/no.d.ts +0 -8
  78. package/dist/translations/no.js +0 -5
  79. package/dist/translations/pl.d.ts +0 -8
  80. package/dist/translations/pl.js +0 -5
  81. package/dist/translations/pt-br.d.ts +0 -8
  82. package/dist/translations/pt-br.js +0 -5
  83. package/dist/translations/pt.d.ts +0 -8
  84. package/dist/translations/pt.js +0 -5
  85. package/dist/translations/ro.d.ts +0 -8
  86. package/dist/translations/ro.js +0 -5
  87. package/dist/translations/ru.d.ts +0 -8
  88. package/dist/translations/ru.js +0 -5
  89. package/dist/translations/sk.d.ts +0 -8
  90. package/dist/translations/sk.js +0 -5
  91. package/dist/translations/sq.d.ts +0 -8
  92. package/dist/translations/sq.js +0 -5
  93. package/dist/translations/sr-latn.d.ts +0 -8
  94. package/dist/translations/sr-latn.js +0 -5
  95. package/dist/translations/sr.d.ts +0 -8
  96. package/dist/translations/sr.js +0 -5
  97. package/dist/translations/sv.d.ts +0 -8
  98. package/dist/translations/sv.js +0 -5
  99. package/dist/translations/th.d.ts +0 -8
  100. package/dist/translations/th.js +0 -5
  101. package/dist/translations/tk.d.ts +0 -8
  102. package/dist/translations/tk.js +0 -5
  103. package/dist/translations/tr.d.ts +0 -8
  104. package/dist/translations/tr.js +0 -5
  105. package/dist/translations/ug.d.ts +0 -8
  106. package/dist/translations/ug.js +0 -5
  107. package/dist/translations/uk.d.ts +0 -8
  108. package/dist/translations/uk.js +0 -5
  109. package/dist/translations/ur.d.ts +0 -8
  110. package/dist/translations/ur.js +0 -5
  111. package/dist/translations/uz.d.ts +0 -8
  112. package/dist/translations/uz.js +0 -5
  113. package/dist/translations/vi.d.ts +0 -8
  114. package/dist/translations/vi.js +0 -5
  115. package/dist/translations/zh-cn.d.ts +0 -8
  116. package/dist/translations/zh-cn.js +0 -5
  117. package/dist/translations/zh.d.ts +0 -8
  118. package/dist/translations/zh.js +0 -5
  119. package/dist/types/adapters/base64uploadadapter.d.ts +0 -37
  120. package/dist/types/adapters/simpleuploadadapter.d.ts +0 -52
  121. package/dist/types/augmentation.d.ts +0 -24
  122. package/dist/types/filereader.d.ts +0 -60
  123. package/dist/types/filerepository.d.ts +0 -346
  124. package/dist/types/index.d.ts +0 -17
  125. package/dist/types/ui/filedialogbuttonview.d.ts +0 -87
  126. package/dist/types/uploadconfig.d.ts +0 -94
  127. package/src/ui/filedialogbuttonview.d.ts +0 -83
  128. package/src/ui/filedialogbuttonview.js +0 -102
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"nb":{"dictionary":{"Upload in progress":"Opplasting pågår"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ne":{"dictionary":{"Upload in progress":"अपलोड हुदैछ"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"nl":{"dictionary":{"Upload in progress":"Bezig met uploaden"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"no":{"dictionary":{"Upload in progress":"Laster opp fil"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"pl":{"dictionary":{"Upload in progress":"Trwa przesyłanie"},getPluralForm(n){return (n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"pt-br":{"dictionary":{"Upload in progress":"Enviando dados"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"pt":{"dictionary":{"Upload in progress":"Carregamento em progresso"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ro":{"dictionary":{"Upload in progress":"Încărcare în curs"},getPluralForm(n){return (n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ru":{"dictionary":{"Upload in progress":"Идёт загрузка"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"sk":{"dictionary":{"Upload in progress":"Prebieha nahrávanie"},getPluralForm(n){return (n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"sq":{"dictionary":{"Upload in progress":"Duke ngarkuar"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"sr-latn":{"dictionary":{"Upload in progress":"Postavljanje u toku"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"sr":{"dictionary":{"Upload in progress":"Постављање у току"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"sv":{"dictionary":{"Upload in progress":"Uppladdning pågår"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"th":{"dictionary":{"Upload in progress":"กำลังดำเนินการอัปโหลด"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"tk":{"dictionary":{"Upload in progress":"Ýüklemek dowam edýär"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"tr":{"dictionary":{"Upload in progress":"Yükleme işlemi devam ediyor"},getPluralForm(n){return (n > 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ug":{"dictionary":{"Upload in progress":"يۈكلىنىۋاتىدۇ"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"uk":{"dictionary":{"Upload in progress":"Виконується завантаження"},getPluralForm(n){return (n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"ur":{"dictionary":{"Upload in progress":"آپلوڈ جاری ہے"},getPluralForm(n){return (n != 1);}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"uz":{"dictionary":{"Upload in progress":"Yuklanmoqda"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"vi":{"dictionary":{"Upload in progress":"Đang tải lên"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"zh-cn":{"dictionary":{"Upload in progress":"正在上传"},getPluralForm(n){return 0;}}}
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,5 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- export default {"zh":{"dictionary":{"Upload in progress":"正在上傳"},getPluralForm(n){return 0;}}}
@@ -1,37 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module upload/adapters/base64uploadadapter
11
- */
12
- import { Plugin } from '@ckeditor/ckeditor5-core';
13
- import FileRepository from '../filerepository.js';
14
- /**
15
- * A plugin that converts images inserted into the editor into [Base64 strings](https://en.wikipedia.org/wiki/Base64)
16
- * in the {@glink installation/getting-started/getting-and-setting-data editor output}.
17
- *
18
- * This kind of image upload does not require server processing – images are stored with the rest of the text and
19
- * displayed by the web browser without additional requests.
20
- *
21
- * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn about
22
- * other ways to upload images into CKEditor 5.
23
- */
24
- export default class Base64UploadAdapter extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get requires(): readonly [typeof FileRepository];
29
- /**
30
- * @inheritDoc
31
- */
32
- static get pluginName(): "Base64UploadAdapter";
33
- /**
34
- * @inheritDoc
35
- */
36
- init(): void;
37
- }
@@ -1,52 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- /**
10
- * @module upload/adapters/simpleuploadadapter
11
- */
12
- import { Plugin } from '@ckeditor/ckeditor5-core';
13
- import FileRepository from '../filerepository.js';
14
- /**
15
- * The Simple upload adapter allows uploading images to an application running on your server using
16
- * the [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) API with a
17
- * minimal {@link module:upload/uploadconfig~SimpleUploadConfig editor configuration}.
18
- *
19
- * ```ts
20
- * ClassicEditor
21
- * .create( document.querySelector( '#editor' ), {
22
- * simpleUpload: {
23
- * uploadUrl: 'http://example.com',
24
- * headers: {
25
- * ...
26
- * }
27
- * }
28
- * } )
29
- * .then( ... )
30
- * .catch( ... );
31
- * ```
32
- *
33
- * See the {@glink features/images/image-upload/simple-upload-adapter "Simple upload adapter"} guide to learn how to
34
- * learn more about the feature (configuration, server–side requirements, etc.).
35
- *
36
- * Check out the {@glink features/images/image-upload/image-upload comprehensive "Image upload overview"} to learn about
37
- * other ways to upload images into CKEditor 5.
38
- */
39
- export default class SimpleUploadAdapter extends Plugin {
40
- /**
41
- * @inheritDoc
42
- */
43
- static get requires(): readonly [typeof FileRepository];
44
- /**
45
- * @inheritDoc
46
- */
47
- static get pluginName(): "SimpleUploadAdapter";
48
- /**
49
- * @inheritDoc
50
- */
51
- init(): void;
52
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- import type { SimpleUploadConfig, FileRepository, SimpleUploadAdapter, Base64UploadAdapter } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the {@link module:upload/adapters/simpleuploadadapter~SimpleUploadAdapter simple upload adapter}.
14
- *
15
- * Read more in {@link module:upload/uploadconfig~SimpleUploadConfig}.
16
- */
17
- simpleUpload?: SimpleUploadConfig;
18
- }
19
- interface PluginsMap {
20
- [FileRepository.pluginName]: FileRepository;
21
- [SimpleUploadAdapter.pluginName]: SimpleUploadAdapter;
22
- [Base64UploadAdapter.pluginName]: Base64UploadAdapter;
23
- }
24
- }
@@ -1,60 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
- */
9
- declare const FileReader_base: {
10
- new (): import("@ckeditor/ckeditor5-utils").Observable;
11
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
12
- };
13
- /**
14
- * Wrapper over the native `FileReader`.
15
- */
16
- export default class FileReader extends FileReader_base {
17
- total: number;
18
- /**
19
- * Instance of native FileReader.
20
- */
21
- private readonly _reader;
22
- /**
23
- * Holds the data of an already loaded file. The file must be first loaded
24
- * by using {@link module:upload/filereader~FileReader#read `read()`}.
25
- */
26
- private _data?;
27
- /**
28
- * Number of bytes loaded.
29
- *
30
- * @readonly
31
- * @observable
32
- */
33
- loaded: number;
34
- /**
35
- * Creates an instance of the FileReader.
36
- */
37
- constructor();
38
- /**
39
- * Returns error that occurred during file reading.
40
- */
41
- get error(): DOMException | null;
42
- /**
43
- * Holds the data of an already loaded file. The file must be first loaded
44
- * by using {@link module:upload/filereader~FileReader#read `read()`}.
45
- */
46
- get data(): string | undefined;
47
- /**
48
- * Reads the provided file.
49
- *
50
- * @param file Native File object.
51
- * @returns Returns a promise that will be resolved with file's content.
52
- * The promise will be rejected in case of an error or when the reading process is aborted.
53
- */
54
- read(file: File): Promise<string>;
55
- /**
56
- * Aborts file reader.
57
- */
58
- abort(): void;
59
- }
60
- export {};