@ckeditor/ckeditor5-ckbox 41.3.1 → 41.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. package/dist/index-content.css +4 -0
  2. package/dist/index-editor.css +31 -0
  3. package/dist/index.css +55 -0
  4. package/dist/index.css.map +1 -0
  5. package/dist/index.js +1545 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/translations/ar.d.ts +8 -0
  8. package/dist/translations/ar.js +5 -0
  9. package/dist/translations/ar.umd.js +11 -0
  10. package/dist/translations/az.d.ts +8 -0
  11. package/dist/translations/az.js +5 -0
  12. package/dist/translations/az.umd.js +11 -0
  13. package/dist/translations/bg.d.ts +8 -0
  14. package/dist/translations/bg.js +5 -0
  15. package/dist/translations/bg.umd.js +11 -0
  16. package/dist/translations/bn.d.ts +8 -0
  17. package/dist/translations/bn.js +5 -0
  18. package/dist/translations/bn.umd.js +11 -0
  19. package/dist/translations/ca.d.ts +8 -0
  20. package/dist/translations/ca.js +5 -0
  21. package/dist/translations/ca.umd.js +11 -0
  22. package/dist/translations/cs.d.ts +8 -0
  23. package/dist/translations/cs.js +5 -0
  24. package/dist/translations/cs.umd.js +11 -0
  25. package/dist/translations/da.d.ts +8 -0
  26. package/dist/translations/da.js +5 -0
  27. package/dist/translations/da.umd.js +11 -0
  28. package/dist/translations/de.d.ts +8 -0
  29. package/dist/translations/de.js +5 -0
  30. package/dist/translations/de.umd.js +11 -0
  31. package/dist/translations/el.d.ts +8 -0
  32. package/dist/translations/el.js +5 -0
  33. package/dist/translations/el.umd.js +11 -0
  34. package/dist/translations/en-au.d.ts +8 -0
  35. package/dist/translations/en-au.js +5 -0
  36. package/dist/translations/en-au.umd.js +11 -0
  37. package/dist/translations/en.d.ts +8 -0
  38. package/dist/translations/en.js +5 -0
  39. package/dist/translations/en.umd.js +11 -0
  40. package/dist/translations/es-co.d.ts +8 -0
  41. package/dist/translations/es-co.js +5 -0
  42. package/dist/translations/es-co.umd.js +11 -0
  43. package/dist/translations/es.d.ts +8 -0
  44. package/dist/translations/es.js +5 -0
  45. package/dist/translations/es.umd.js +11 -0
  46. package/dist/translations/et.d.ts +8 -0
  47. package/dist/translations/et.js +5 -0
  48. package/dist/translations/et.umd.js +11 -0
  49. package/dist/translations/fa.d.ts +8 -0
  50. package/dist/translations/fa.js +5 -0
  51. package/dist/translations/fa.umd.js +11 -0
  52. package/dist/translations/fi.d.ts +8 -0
  53. package/dist/translations/fi.js +5 -0
  54. package/dist/translations/fi.umd.js +11 -0
  55. package/dist/translations/fr.d.ts +8 -0
  56. package/dist/translations/fr.js +5 -0
  57. package/dist/translations/fr.umd.js +11 -0
  58. package/dist/translations/gl.d.ts +8 -0
  59. package/dist/translations/gl.js +5 -0
  60. package/dist/translations/gl.umd.js +11 -0
  61. package/dist/translations/he.d.ts +8 -0
  62. package/dist/translations/he.js +5 -0
  63. package/dist/translations/he.umd.js +11 -0
  64. package/dist/translations/hi.d.ts +8 -0
  65. package/dist/translations/hi.js +5 -0
  66. package/dist/translations/hi.umd.js +11 -0
  67. package/dist/translations/hr.d.ts +8 -0
  68. package/dist/translations/hr.js +5 -0
  69. package/dist/translations/hr.umd.js +11 -0
  70. package/dist/translations/hu.d.ts +8 -0
  71. package/dist/translations/hu.js +5 -0
  72. package/dist/translations/hu.umd.js +11 -0
  73. package/dist/translations/id.d.ts +8 -0
  74. package/dist/translations/id.js +5 -0
  75. package/dist/translations/id.umd.js +11 -0
  76. package/dist/translations/it.d.ts +8 -0
  77. package/dist/translations/it.js +5 -0
  78. package/dist/translations/it.umd.js +11 -0
  79. package/dist/translations/ja.d.ts +8 -0
  80. package/dist/translations/ja.js +5 -0
  81. package/dist/translations/ja.umd.js +11 -0
  82. package/dist/translations/ko.d.ts +8 -0
  83. package/dist/translations/ko.js +5 -0
  84. package/dist/translations/ko.umd.js +11 -0
  85. package/dist/translations/lt.d.ts +8 -0
  86. package/dist/translations/lt.js +5 -0
  87. package/dist/translations/lt.umd.js +11 -0
  88. package/dist/translations/lv.d.ts +8 -0
  89. package/dist/translations/lv.js +5 -0
  90. package/dist/translations/lv.umd.js +11 -0
  91. package/dist/translations/ms.d.ts +8 -0
  92. package/dist/translations/ms.js +5 -0
  93. package/dist/translations/ms.umd.js +11 -0
  94. package/dist/translations/nl.d.ts +8 -0
  95. package/dist/translations/nl.js +5 -0
  96. package/dist/translations/nl.umd.js +11 -0
  97. package/dist/translations/no.d.ts +8 -0
  98. package/dist/translations/no.js +5 -0
  99. package/dist/translations/no.umd.js +11 -0
  100. package/dist/translations/pl.d.ts +8 -0
  101. package/dist/translations/pl.js +5 -0
  102. package/dist/translations/pl.umd.js +11 -0
  103. package/dist/translations/pt-br.d.ts +8 -0
  104. package/dist/translations/pt-br.js +5 -0
  105. package/dist/translations/pt-br.umd.js +11 -0
  106. package/dist/translations/pt.d.ts +8 -0
  107. package/dist/translations/pt.js +5 -0
  108. package/dist/translations/pt.umd.js +11 -0
  109. package/dist/translations/ro.d.ts +8 -0
  110. package/dist/translations/ro.js +5 -0
  111. package/dist/translations/ro.umd.js +11 -0
  112. package/dist/translations/ru.d.ts +8 -0
  113. package/dist/translations/ru.js +5 -0
  114. package/dist/translations/ru.umd.js +11 -0
  115. package/dist/translations/sk.d.ts +8 -0
  116. package/dist/translations/sk.js +5 -0
  117. package/dist/translations/sk.umd.js +11 -0
  118. package/dist/translations/sq.d.ts +8 -0
  119. package/dist/translations/sq.js +5 -0
  120. package/dist/translations/sq.umd.js +11 -0
  121. package/dist/translations/sr-latn.d.ts +8 -0
  122. package/dist/translations/sr-latn.js +5 -0
  123. package/dist/translations/sr-latn.umd.js +11 -0
  124. package/dist/translations/sr.d.ts +8 -0
  125. package/dist/translations/sr.js +5 -0
  126. package/dist/translations/sr.umd.js +11 -0
  127. package/dist/translations/sv.d.ts +8 -0
  128. package/dist/translations/sv.js +5 -0
  129. package/dist/translations/sv.umd.js +11 -0
  130. package/dist/translations/th.d.ts +8 -0
  131. package/dist/translations/th.js +5 -0
  132. package/dist/translations/th.umd.js +11 -0
  133. package/dist/translations/tr.d.ts +8 -0
  134. package/dist/translations/tr.js +5 -0
  135. package/dist/translations/tr.umd.js +11 -0
  136. package/dist/translations/ug.d.ts +8 -0
  137. package/dist/translations/ug.js +5 -0
  138. package/dist/translations/ug.umd.js +11 -0
  139. package/dist/translations/uk.d.ts +8 -0
  140. package/dist/translations/uk.js +5 -0
  141. package/dist/translations/uk.umd.js +11 -0
  142. package/dist/translations/ur.d.ts +8 -0
  143. package/dist/translations/ur.js +5 -0
  144. package/dist/translations/ur.umd.js +11 -0
  145. package/dist/translations/uz.d.ts +8 -0
  146. package/dist/translations/uz.js +5 -0
  147. package/dist/translations/uz.umd.js +11 -0
  148. package/dist/translations/vi.d.ts +8 -0
  149. package/dist/translations/vi.js +5 -0
  150. package/dist/translations/vi.umd.js +11 -0
  151. package/dist/translations/zh-cn.d.ts +8 -0
  152. package/dist/translations/zh-cn.js +5 -0
  153. package/dist/translations/zh-cn.umd.js +11 -0
  154. package/dist/translations/zh.d.ts +8 -0
  155. package/dist/translations/zh.js +5 -0
  156. package/dist/translations/zh.umd.js +11 -0
  157. package/dist/types/augmentation.d.ts +36 -0
  158. package/dist/types/ckbox.d.ts +37 -0
  159. package/dist/types/ckboxcommand.d.ts +118 -0
  160. package/dist/types/ckboxconfig.d.ts +329 -0
  161. package/dist/types/ckboxediting.d.ts +58 -0
  162. package/dist/types/ckboximageedit/ckboximageeditcommand.d.ts +101 -0
  163. package/dist/types/ckboximageedit/ckboximageeditediting.d.ts +32 -0
  164. package/dist/types/ckboximageedit/ckboximageeditui.d.ts +28 -0
  165. package/dist/types/ckboximageedit/utils.d.ts +14 -0
  166. package/dist/types/ckboximageedit.d.ts +28 -0
  167. package/dist/types/ckboxui.d.ts +29 -0
  168. package/dist/types/ckboxuploadadapter.d.ts +37 -0
  169. package/dist/types/ckboxutils.d.ts +54 -0
  170. package/dist/types/index.d.ts +21 -0
  171. package/dist/types/utils.d.ts +67 -0
  172. package/package.json +3 -2
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Hap menaxhuesin e skedarëve","Cannot determine a category for the uploaded file.":"Nuk mund të përcaktohet kategori për skedarin e ngarkuar.","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'sq' ]: { dictionary, getPluralForm } } = {"sq":{"dictionary":{"Open file manager":"Hap menaxhuesin e skedarëve","Cannot determine a category for the uploaded file.":"Nuk mund të përcaktohet kategori për skedarin e ngarkuar.","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}};
8
+ e[ 'sq' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'sq' ].dictionary = Object.assign( e[ 'sq' ].dictionary, dictionary );
10
+ e[ 'sq' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Otvori upravljač datotekama","Cannot determine a category for the uploaded file.":"Nije moguće odrediti kategoriju za otpremljenu datoteku.","Cannot access default workspace.":"Nije moguće pristupiti podrazumevanom radnom prostoru.","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'sr-latn' ]: { dictionary, getPluralForm } } = {"sr-latn":{"dictionary":{"Open file manager":"Otvori upravljač datotekama","Cannot determine a category for the uploaded file.":"Nije moguće odrediti kategoriju za otpremljenu datoteku.","Cannot access default workspace.":"Nije moguće pristupiti podrazumevanom radnom prostoru.","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}};
8
+ e[ 'sr-latn' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'sr-latn' ].dictionary = Object.assign( e[ 'sr-latn' ].dictionary, dictionary );
10
+ e[ 'sr-latn' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Oтвори управљач датотекама.","Cannot determine a category for the uploaded file.":"Није могуће одредити категорију за отпремлјену датотеку.","Cannot access default workspace.":"Nije moguće pristupiti podrazumevanom radnom prostoru.","Edit image":"Uredi sliku","Processing the edited image.":"Obrađivanje uređene slike.","Server failed to process the image.":"Server nije uspeo da obradi sliku.","Failed to determine category of edited image.":"Određivanje kategorije uređene slike nije uspelo."},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'sr' ]: { dictionary, getPluralForm } } = {"sr":{"dictionary":{"Open file manager":"Oтвори управљач датотекама.","Cannot determine a category for the uploaded file.":"Није могуће одредити категорију за отпремлјену датотеку.","Cannot access default workspace.":"Nije moguće pristupiti podrazumevanom radnom prostoru.","Edit image":"Uredi sliku","Processing the edited image.":"Obrađivanje uređene slike.","Server failed to process the image.":"Server nije uspeo da obradi sliku.","Failed to determine category of edited image.":"Određivanje kategorije uređene slike nije uspelo."},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}};
8
+ e[ 'sr' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'sr' ].dictionary = Object.assign( e[ 'sr' ].dictionary, dictionary );
10
+ e[ 'sr' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Öppna filhanterare","Cannot determine a category for the uploaded file.":"Kan inte avgöra kategorin på den uppladdade filen.","Cannot access default workspace.":"Kan inte komma åt standardarbetsytan.","Edit image":"Redigera bild","Processing the edited image.":"Bearbetar den redigerade bilden.","Server failed to process the image.":"Servern kunde inte bearbeta bilden.","Failed to determine category of edited image.":"Kunde inte fastställa den redigerade bildens kategori."},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'sv' ]: { dictionary, getPluralForm } } = {"sv":{"dictionary":{"Open file manager":"Öppna filhanterare","Cannot determine a category for the uploaded file.":"Kan inte avgöra kategorin på den uppladdade filen.","Cannot access default workspace.":"Kan inte komma åt standardarbetsytan.","Edit image":"Redigera bild","Processing the edited image.":"Bearbetar den redigerade bilden.","Server failed to process the image.":"Servern kunde inte bearbeta bilden.","Failed to determine category of edited image.":"Kunde inte fastställa den redigerade bildens kategori."},getPluralForm(n){return (n != 1);}}};
8
+ e[ 'sv' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'sv' ].dictionary = Object.assign( e[ 'sv' ].dictionary, dictionary );
10
+ e[ 'sv' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"เปิดเครื่องมือจัดการไฟล์","Cannot determine a category for the uploaded file.":"ไม่สามารถกำหนดหมวดหมู่สำหรับไฟล์ที่อัปโหลด","Cannot access default workspace.":"ไม่สามารถเข้าถึงพื้นที่ทำงานเริ่มต้น","Edit image":"แก้ไขภาพ","Processing the edited image.":"กำลังประมวลผลภาพที่แก้ไข","Server failed to process the image.":"เซิร์ฟเวอร์ประมวลผลภาพไม่สำเร็จ","Failed to determine category of edited image.":"ระบุหมวดหมู่ของภาพที่แก้ไขไม่สำเร็จ"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'th' ]: { dictionary, getPluralForm } } = {"th":{"dictionary":{"Open file manager":"เปิดเครื่องมือจัดการไฟล์","Cannot determine a category for the uploaded file.":"ไม่สามารถกำหนดหมวดหมู่สำหรับไฟล์ที่อัปโหลด","Cannot access default workspace.":"ไม่สามารถเข้าถึงพื้นที่ทำงานเริ่มต้น","Edit image":"แก้ไขภาพ","Processing the edited image.":"กำลังประมวลผลภาพที่แก้ไข","Server failed to process the image.":"เซิร์ฟเวอร์ประมวลผลภาพไม่สำเร็จ","Failed to determine category of edited image.":"ระบุหมวดหมู่ของภาพที่แก้ไขไม่สำเร็จ"},getPluralForm(n){return 0;}}};
8
+ e[ 'th' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'th' ].dictionary = Object.assign( e[ 'th' ].dictionary, dictionary );
10
+ e[ 'th' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Dosya yöneticisini aç","Cannot determine a category for the uploaded file.":"Yüklenen dosya için bir kategori belirlenemiyor.","Cannot access default workspace.":"Varsayılan çalışma alanına erişilemiyor.","Edit image":"Görüntüyü düzenle","Processing the edited image.":"Düzenlenen görüntü işleniyor.","Server failed to process the image.":"Sunucu görüntüyü işlemede başarısız oldu.","Failed to determine category of edited image.":"Düzenlenen görselin kategorisinin belirlenmesi başarısız oldu."},getPluralForm(n){return (n > 1);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'tr' ]: { dictionary, getPluralForm } } = {"tr":{"dictionary":{"Open file manager":"Dosya yöneticisini aç","Cannot determine a category for the uploaded file.":"Yüklenen dosya için bir kategori belirlenemiyor.","Cannot access default workspace.":"Varsayılan çalışma alanına erişilemiyor.","Edit image":"Görüntüyü düzenle","Processing the edited image.":"Düzenlenen görüntü işleniyor.","Server failed to process the image.":"Sunucu görüntüyü işlemede başarısız oldu.","Failed to determine category of edited image.":"Düzenlenen görselin kategorisinin belirlenmesi başarısız oldu."},getPluralForm(n){return (n > 1);}}};
8
+ e[ 'tr' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'tr' ].dictionary = Object.assign( e[ 'tr' ].dictionary, dictionary );
10
+ e[ 'tr' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"ھۆججەت باشقۇرغۇچنى ئاچ","Cannot determine a category for the uploaded file.":"يۈكلەيدىغان ھۆججەتنىڭ تۈرىنى جەزملىيەلمىدى.","Cannot access default workspace.":"كۆڭۈلدىكى خىزمەت بوشلۇقىنى زىيارەت قىلالمايدۇ","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"Open file manager":"ھۆججەت باشقۇرغۇچنى ئاچ","Cannot determine a category for the uploaded file.":"يۈكلەيدىغان ھۆججەتنىڭ تۈرىنى جەزملىيەلمىدى.","Cannot access default workspace.":"كۆڭۈلدىكى خىزمەت بوشلۇقىنى زىيارەت قىلالمايدۇ","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}};
8
+ e[ 'ug' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'ug' ].dictionary = Object.assign( e[ 'ug' ].dictionary, dictionary );
10
+ e[ 'ug' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Відкрити менеджер файлів","Cannot determine a category for the uploaded file.":"Не вдається визначити категорію для завантаженого файлу.","Cannot access default workspace.":"Немає доступу до робочого простору за замовчуванням.","Edit image":"Редагувати зображення","Processing the edited image.":"Обробка відредагованого зображення.","Server failed to process the image.":"Серверу не вдалося обробити зображення.","Failed to determine category of edited image.":"Не вдалося визначити категорію відредагованого зображення."},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);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'uk' ]: { dictionary, getPluralForm } } = {"uk":{"dictionary":{"Open file manager":"Відкрити менеджер файлів","Cannot determine a category for the uploaded file.":"Не вдається визначити категорію для завантаженого файлу.","Cannot access default workspace.":"Немає доступу до робочого простору за замовчуванням.","Edit image":"Редагувати зображення","Processing the edited image.":"Обробка відредагованого зображення.","Server failed to process the image.":"Серверу не вдалося обробити зображення.","Failed to determine category of edited image.":"Не вдалося визначити категорію відредагованого зображення."},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);}}};
8
+ e[ 'uk' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'uk' ].dictionary = Object.assign( e[ 'uk' ].dictionary, dictionary );
10
+ e[ 'uk' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"فائل مینیجر کھولیں","Cannot determine a category for the uploaded file.":"اپلوڈ کی گئی فائل کا ذمرے کا تعین نہیں ہو سکا","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'ur' ]: { dictionary, getPluralForm } } = {"ur":{"dictionary":{"Open file manager":"فائل مینیجر کھولیں","Cannot determine a category for the uploaded file.":"اپلوڈ کی گئی فائل کا ذمرے کا تعین نہیں ہو سکا","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return (n != 1);}}};
8
+ e[ 'ur' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'ur' ].dictionary = Object.assign( e[ 'ur' ].dictionary, dictionary );
10
+ e[ 'ur' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Fayl menejerini ochish","Cannot determine a category for the uploaded file.":"Yuklangan fayl uchun toifani aniqlab bo‘lmadi.","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"Open file manager":"Fayl menejerini ochish","Cannot determine a category for the uploaded file.":"Yuklangan fayl uchun toifani aniqlab bo‘lmadi.","Cannot access default workspace.":"","Edit image":"","Processing the edited image.":"","Server failed to process the image.":"","Failed to determine category of edited image.":""},getPluralForm(n){return 0;}}};
8
+ e[ 'uz' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, dictionary );
10
+ e[ 'uz' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"Mở trình quản lý tệp","Cannot determine a category for the uploaded file.":"Không thể xác định danh mục cho tệp được tải lên.","Cannot access default workspace.":"Không thể truy cập vào không gian làm việc mặc định.","Edit image":"Chỉnh sửa hình ảnh","Processing the edited image.":"Xử lý hình ảnh đã chỉnh sửa.","Server failed to process the image.":"Máy chủ không thể xử lý hình ảnh.","Failed to determine category of edited image.":"Không thể xác định danh mục hình ảnh đã chỉnh sửa."},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"Open file manager":"Mở trình quản lý tệp","Cannot determine a category for the uploaded file.":"Không thể xác định danh mục cho tệp được tải lên.","Cannot access default workspace.":"Không thể truy cập vào không gian làm việc mặc định.","Edit image":"Chỉnh sửa hình ảnh","Processing the edited image.":"Xử lý hình ảnh đã chỉnh sửa.","Server failed to process the image.":"Máy chủ không thể xử lý hình ảnh.","Failed to determine category of edited image.":"Không thể xác định danh mục hình ảnh đã chỉnh sửa."},getPluralForm(n){return 0;}}};
8
+ e[ 'vi' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, dictionary );
10
+ e[ 'vi' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"打开文件管理器","Cannot determine a category for the uploaded file.":"无法确定上传文件的类别。","Cannot access default workspace.":"无法访问默认工作区","Edit image":"编辑图片","Processing the edited image.":"正在处理已编辑的图片。","Server failed to process the image.":"服务器未能处理图片。","Failed to determine category of edited image.":"未能确定已编辑图片的类别。"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"Open file manager":"打开文件管理器","Cannot determine a category for the uploaded file.":"无法确定上传文件的类别。","Cannot access default workspace.":"无法访问默认工作区","Edit image":"编辑图片","Processing the edited image.":"正在处理已编辑的图片。","Server failed to process the image.":"服务器未能处理图片。","Failed to determine category of edited image.":"未能确定已编辑图片的类别。"},getPluralForm(n){return 0;}}};
8
+ e[ 'zh-cn' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, dictionary );
10
+ e[ 'zh-cn' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,8 @@
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;
@@ -0,0 +1,5 @@
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":{"Open file manager":"開啟檔案管理程式","Cannot determine a category for the uploaded file.":"無法確定上傳檔案的分類。","Cannot access default workspace.":"無法存取預設工作區。","Edit image":"編輯圖片","Processing the edited image.":"正在處理已編輯的圖片。","Server failed to process the image.":"伺服器無法處理該圖片。","Failed to determine category of edited image.":"無法判斷已編輯圖片的類別。"},getPluralForm(n){return 0;}}}
@@ -0,0 +1,11 @@
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
+ ( e => {
7
+ const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"Open file manager":"開啟檔案管理程式","Cannot determine a category for the uploaded file.":"無法確定上傳檔案的分類。","Cannot access default workspace.":"無法存取預設工作區。","Edit image":"編輯圖片","Processing the edited image.":"正在處理已編輯的圖片。","Server failed to process the image.":"伺服器無法處理該圖片。","Failed to determine category of edited image.":"無法判斷已編輯圖片的類別。"},getPluralForm(n){return 0;}}};
8
+ e[ 'zh' ] ||= { dictionary: {}, getPluralForm: null };
9
+ e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, dictionary );
10
+ e[ 'zh' ].getPluralForm = getPluralForm;
11
+ } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -0,0 +1,36 @@
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 { CKBox, CKBoxCommand, CKBoxConfig, CKBoxEditing, CKBoxImageEdit, CKBoxImageEditEditing, CKBoxImageEditCommand, CKBoxImageEditUI } from './index.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the {@link module:ckbox/ckbox~CKBox CKBox feature}.
14
+ *
15
+ * Read more in {@link module:ckbox/ckboxconfig~CKBoxConfig}.
16
+ */
17
+ ckbox?: CKBoxConfig;
18
+ }
19
+ interface PluginsMap {
20
+ [CKBox.pluginName]: CKBox;
21
+ [CKBoxEditing.pluginName]: CKBoxEditing;
22
+ [CKBoxImageEdit.pluginName]: CKBoxImageEdit;
23
+ [CKBoxImageEditEditing.pluginName]: CKBoxImageEditEditing;
24
+ [CKBoxImageEditUI.pluginName]: CKBoxImageEditUI;
25
+ }
26
+ interface CommandsMap {
27
+ ckbox: CKBoxCommand;
28
+ ckboxImageEdit: CKBoxImageEditCommand;
29
+ }
30
+ }
31
+ declare global {
32
+ var CKBox: {
33
+ mount(wrapper: Element, options: Record<string, unknown>): void;
34
+ mountImageEditor(wrapper: Element, options: Record<string, unknown>): void;
35
+ };
36
+ }
@@ -0,0 +1,37 @@
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 ckbox/ckbox
11
+ */
12
+ import { Plugin } from 'ckeditor5/src/core.js';
13
+ import CKBoxUI from './ckboxui.js';
14
+ import CKBoxEditing from './ckboxediting.js';
15
+ /**
16
+ * The CKBox feature, a bridge between the CKEditor 5 WYSIWYG editor and the CKBox file manager and uploader.
17
+ *
18
+ * This is a "glue" plugin which enables:
19
+ *
20
+ * * {@link module:ckbox/ckboxediting~CKBoxEditing},
21
+ * * {@link module:ckbox/ckboxui~CKBoxUI},
22
+ *
23
+ * See the {@glink features/file-management/ckbox CKBox integration} guide to learn how to configure and use this feature.
24
+ *
25
+ * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
26
+ * images into CKEditor 5.
27
+ */
28
+ export default class CKBox extends Plugin {
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get pluginName(): "CKBox";
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ static get requires(): readonly [typeof CKBoxEditing, typeof CKBoxUI];
37
+ }
@@ -0,0 +1,118 @@
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 { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import type { CKBoxAssetDefinition, CKBoxAssetImageAttributesDefinition, CKBoxRawAssetDefinition } from './ckboxconfig.js';
11
+ /**
12
+ * The CKBox command. It is used by the {@link module:ckbox/ckboxediting~CKBoxEditing CKBox editing feature} to open the CKBox file manager.
13
+ * The file manager allows inserting an image or a link to a file into the editor content.
14
+ *
15
+ * ```ts
16
+ * editor.execute( 'ckbox' );
17
+ * ```
18
+ *
19
+ * **Note:** This command uses other features to perform the following tasks:
20
+ * - To insert images it uses the {@link module:image/image/insertimagecommand~InsertImageCommand 'insertImage'} command from the
21
+ * {@link module:image/image~Image Image feature}.
22
+ * - To insert links to other files it uses the {@link module:link/linkcommand~LinkCommand 'link'} command from the
23
+ * {@link module:link/link~Link Link feature}.
24
+ */
25
+ export default class CKBoxCommand extends Command {
26
+ value: boolean;
27
+ /**
28
+ * A set of all chosen assets. They are stored temporarily and they are automatically removed 1 second after being chosen.
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.
30
+ * This association map is then used to set the ID on the model element.
31
+ *
32
+ * All chosen assets are automatically removed after the timeout, because (theoretically) it may happen that they will never be
33
+ * inserted into the model, even if the {@link module:link/linkcommand~LinkCommand `'link'`} command or the
34
+ * {@link module:image/image/insertimagecommand~InsertImageCommand `'insertImage'`} command is enabled. Such a case may arise when
35
+ * another plugin blocks the command execution. Then, in order not to keep the chosen (but not inserted) assets forever, we delete
36
+ * them automatically to prevent memory leakage. The 1 second timeout is enough to insert the asset into the model and extract the
37
+ * ID from the chosen asset.
38
+ *
39
+ * The assets are stored only if
40
+ * the {@link module:ckbox/ckboxconfig~CKBoxConfig#ignoreDataId `config.ckbox.ignoreDataId`} option is set to `false` (by default).
41
+ *
42
+ * @internal
43
+ */
44
+ readonly _chosenAssets: Set<CKBoxAssetDefinition>;
45
+ /**
46
+ * The DOM element that acts as a mounting point for the CKBox dialog.
47
+ */
48
+ private _wrapper;
49
+ /**
50
+ * @inheritDoc
51
+ */
52
+ constructor(editor: Editor);
53
+ /**
54
+ * @inheritDoc
55
+ */
56
+ refresh(): void;
57
+ /**
58
+ * @inheritDoc
59
+ */
60
+ execute(): void;
61
+ /**
62
+ * Indicates if the CKBox dialog is already opened.
63
+ *
64
+ * @protected
65
+ * @returns {Boolean}
66
+ */
67
+ private _getValue;
68
+ /**
69
+ * Checks whether the command can be enabled in the current context.
70
+ */
71
+ private _checkEnabled;
72
+ /**
73
+ * Creates the options object for the CKBox dialog.
74
+ *
75
+ * @returns The object with properties:
76
+ * - theme The theme for CKBox dialog.
77
+ * - language The language for CKBox dialog.
78
+ * - tokenUrl The token endpoint URL.
79
+ * - serviceOrigin The base URL of the API service.
80
+ * - forceDemoLabel Whether to force "Powered by CKBox" link.
81
+ * - dialog.onClose The callback function invoked after closing the CKBox dialog.
82
+ * - assets.onChoose The callback function invoked after choosing the assets.
83
+ */
84
+ private _prepareOptions;
85
+ /**
86
+ * Initializes various event listeners for the `ckbox:*` events, because all functionality of the `ckbox` command is event-based.
87
+ */
88
+ private _initListeners;
89
+ /**
90
+ * Inserts the asset into the model.
91
+ *
92
+ * @param asset The asset to be inserted.
93
+ * @param isLastAsset Indicates if the current asset is the last one from the chosen set.
94
+ * @param writer An instance of the model writer.
95
+ * @param isSingleAsset It's true when only one asset is processed.
96
+ */
97
+ private _insertAsset;
98
+ /**
99
+ * Inserts the image by calling the `insertImage` command.
100
+ *
101
+ * @param asset The asset to be inserted.
102
+ */
103
+ private _insertImage;
104
+ /**
105
+ * Inserts the link to the asset by calling the `link` command.
106
+ *
107
+ * @param asset The asset to be inserted.
108
+ * @param writer An instance of the model writer.
109
+ * @param isSingleAsset It's true when only one asset is processed.
110
+ */
111
+ private _insertLink;
112
+ }
113
+ /**
114
+ * Parses the assets attributes into the internal data format.
115
+ *
116
+ * @internal
117
+ */
118
+ export declare function prepareImageAssetAttributes(asset: CKBoxRawAssetDefinition): CKBoxAssetImageAttributesDefinition;