@ckeditor/ckeditor5-uploadcare 0.0.1 → 44.2.0-alpha.1

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.
Files changed (434) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE.md +10 -6
  3. package/README.md +46 -3
  4. package/build/translations/af.js +1 -0
  5. package/build/translations/ar.js +1 -0
  6. package/build/translations/ast.js +1 -0
  7. package/build/translations/az.js +1 -0
  8. package/build/translations/bg.js +1 -0
  9. package/build/translations/bn.js +1 -0
  10. package/build/translations/bs.js +1 -0
  11. package/build/translations/ca.js +1 -0
  12. package/build/translations/cs.js +1 -0
  13. package/build/translations/da.js +1 -0
  14. package/build/translations/de-ch.js +1 -0
  15. package/build/translations/de.js +1 -0
  16. package/build/translations/el.js +1 -0
  17. package/build/translations/en-au.js +1 -0
  18. package/build/translations/en-gb.js +1 -0
  19. package/build/translations/eo.js +1 -0
  20. package/build/translations/es-co.js +1 -0
  21. package/build/translations/es.js +1 -0
  22. package/build/translations/et.js +1 -0
  23. package/build/translations/eu.js +1 -0
  24. package/build/translations/fa.js +1 -0
  25. package/build/translations/fi.js +1 -0
  26. package/build/translations/fr.js +1 -0
  27. package/build/translations/gl.js +1 -0
  28. package/build/translations/gu.js +1 -0
  29. package/build/translations/he.js +1 -0
  30. package/build/translations/hi.js +1 -0
  31. package/build/translations/hr.js +1 -0
  32. package/build/translations/hu.js +1 -0
  33. package/build/translations/hy.js +1 -0
  34. package/build/translations/id.js +1 -0
  35. package/build/translations/it.js +1 -0
  36. package/build/translations/ja.js +1 -0
  37. package/build/translations/jv.js +1 -0
  38. package/build/translations/kk.js +1 -0
  39. package/build/translations/km.js +1 -0
  40. package/build/translations/kn.js +1 -0
  41. package/build/translations/ko.js +1 -0
  42. package/build/translations/ku.js +1 -0
  43. package/build/translations/lt.js +1 -0
  44. package/build/translations/lv.js +1 -0
  45. package/build/translations/ms.js +1 -0
  46. package/build/translations/nb.js +1 -0
  47. package/build/translations/ne.js +1 -0
  48. package/build/translations/nl.js +1 -0
  49. package/build/translations/no.js +1 -0
  50. package/build/translations/oc.js +1 -0
  51. package/build/translations/pl.js +1 -0
  52. package/build/translations/pt-br.js +1 -0
  53. package/build/translations/pt.js +1 -0
  54. package/build/translations/ro.js +1 -0
  55. package/build/translations/ru.js +1 -0
  56. package/build/translations/si.js +1 -0
  57. package/build/translations/sk.js +1 -0
  58. package/build/translations/sl.js +1 -0
  59. package/build/translations/sq.js +1 -0
  60. package/build/translations/sr-latn.js +1 -0
  61. package/build/translations/sr.js +1 -0
  62. package/build/translations/sv.js +1 -0
  63. package/build/translations/th.js +1 -0
  64. package/build/translations/ti.js +1 -0
  65. package/build/translations/tk.js +1 -0
  66. package/build/translations/tr.js +1 -0
  67. package/build/translations/tt.js +1 -0
  68. package/build/translations/ug.js +1 -0
  69. package/build/translations/uk.js +1 -0
  70. package/build/translations/ur.js +1 -0
  71. package/build/translations/uz.js +1 -0
  72. package/build/translations/vi.js +1 -0
  73. package/build/translations/zh-cn.js +1 -0
  74. package/build/translations/zh.js +1 -0
  75. package/build/uploadcare.js +5 -0
  76. package/ckeditor5-metadata.json +47 -0
  77. package/dist/index-content.css +5 -0
  78. package/dist/index-editor.css +265 -0
  79. package/dist/index.css +315 -0
  80. package/dist/index.js +25 -0
  81. package/dist/translations/af.d.ts +8 -0
  82. package/dist/translations/af.js +23 -0
  83. package/dist/translations/af.umd.js +23 -0
  84. package/dist/translations/ar.d.ts +8 -0
  85. package/dist/translations/ar.js +23 -0
  86. package/dist/translations/ar.umd.js +23 -0
  87. package/dist/translations/ast.d.ts +8 -0
  88. package/dist/translations/ast.js +23 -0
  89. package/dist/translations/ast.umd.js +23 -0
  90. package/dist/translations/az.d.ts +8 -0
  91. package/dist/translations/az.js +23 -0
  92. package/dist/translations/az.umd.js +23 -0
  93. package/dist/translations/bg.d.ts +8 -0
  94. package/dist/translations/bg.js +23 -0
  95. package/dist/translations/bg.umd.js +23 -0
  96. package/dist/translations/bn.d.ts +8 -0
  97. package/dist/translations/bn.js +23 -0
  98. package/dist/translations/bn.umd.js +23 -0
  99. package/dist/translations/bs.d.ts +8 -0
  100. package/dist/translations/bs.js +23 -0
  101. package/dist/translations/bs.umd.js +23 -0
  102. package/dist/translations/ca.d.ts +8 -0
  103. package/dist/translations/ca.js +23 -0
  104. package/dist/translations/ca.umd.js +23 -0
  105. package/dist/translations/cs.d.ts +8 -0
  106. package/dist/translations/cs.js +23 -0
  107. package/dist/translations/cs.umd.js +23 -0
  108. package/dist/translations/da.d.ts +8 -0
  109. package/dist/translations/da.js +23 -0
  110. package/dist/translations/da.umd.js +23 -0
  111. package/dist/translations/de-ch.d.ts +8 -0
  112. package/dist/translations/de-ch.js +23 -0
  113. package/dist/translations/de-ch.umd.js +23 -0
  114. package/dist/translations/de.d.ts +8 -0
  115. package/dist/translations/de.js +23 -0
  116. package/dist/translations/de.umd.js +23 -0
  117. package/dist/translations/el.d.ts +8 -0
  118. package/dist/translations/el.js +23 -0
  119. package/dist/translations/el.umd.js +23 -0
  120. package/dist/translations/en-au.d.ts +8 -0
  121. package/dist/translations/en-au.js +23 -0
  122. package/dist/translations/en-au.umd.js +23 -0
  123. package/dist/translations/en-gb.d.ts +8 -0
  124. package/dist/translations/en-gb.js +23 -0
  125. package/dist/translations/en-gb.umd.js +23 -0
  126. package/dist/translations/en.d.ts +8 -0
  127. package/dist/translations/en.js +23 -0
  128. package/dist/translations/en.umd.js +23 -0
  129. package/dist/translations/eo.d.ts +8 -0
  130. package/dist/translations/eo.js +23 -0
  131. package/dist/translations/eo.umd.js +23 -0
  132. package/dist/translations/es-co.d.ts +8 -0
  133. package/dist/translations/es-co.js +23 -0
  134. package/dist/translations/es-co.umd.js +23 -0
  135. package/dist/translations/es.d.ts +8 -0
  136. package/dist/translations/es.js +23 -0
  137. package/dist/translations/es.umd.js +23 -0
  138. package/dist/translations/et.d.ts +8 -0
  139. package/dist/translations/et.js +23 -0
  140. package/dist/translations/et.umd.js +23 -0
  141. package/dist/translations/eu.d.ts +8 -0
  142. package/dist/translations/eu.js +23 -0
  143. package/dist/translations/eu.umd.js +23 -0
  144. package/dist/translations/fa.d.ts +8 -0
  145. package/dist/translations/fa.js +23 -0
  146. package/dist/translations/fa.umd.js +23 -0
  147. package/dist/translations/fi.d.ts +8 -0
  148. package/dist/translations/fi.js +23 -0
  149. package/dist/translations/fi.umd.js +23 -0
  150. package/dist/translations/fr.d.ts +8 -0
  151. package/dist/translations/fr.js +23 -0
  152. package/dist/translations/fr.umd.js +23 -0
  153. package/dist/translations/gl.d.ts +8 -0
  154. package/dist/translations/gl.js +23 -0
  155. package/dist/translations/gl.umd.js +23 -0
  156. package/dist/translations/gu.d.ts +8 -0
  157. package/dist/translations/gu.js +23 -0
  158. package/dist/translations/gu.umd.js +23 -0
  159. package/dist/translations/he.d.ts +8 -0
  160. package/dist/translations/he.js +23 -0
  161. package/dist/translations/he.umd.js +23 -0
  162. package/dist/translations/hi.d.ts +8 -0
  163. package/dist/translations/hi.js +23 -0
  164. package/dist/translations/hi.umd.js +23 -0
  165. package/dist/translations/hr.d.ts +8 -0
  166. package/dist/translations/hr.js +23 -0
  167. package/dist/translations/hr.umd.js +23 -0
  168. package/dist/translations/hu.d.ts +8 -0
  169. package/dist/translations/hu.js +23 -0
  170. package/dist/translations/hu.umd.js +23 -0
  171. package/dist/translations/hy.d.ts +8 -0
  172. package/dist/translations/hy.js +23 -0
  173. package/dist/translations/hy.umd.js +23 -0
  174. package/dist/translations/id.d.ts +8 -0
  175. package/dist/translations/id.js +23 -0
  176. package/dist/translations/id.umd.js +23 -0
  177. package/dist/translations/it.d.ts +8 -0
  178. package/dist/translations/it.js +23 -0
  179. package/dist/translations/it.umd.js +23 -0
  180. package/dist/translations/ja.d.ts +8 -0
  181. package/dist/translations/ja.js +23 -0
  182. package/dist/translations/ja.umd.js +23 -0
  183. package/dist/translations/jv.d.ts +8 -0
  184. package/dist/translations/jv.js +23 -0
  185. package/dist/translations/jv.umd.js +23 -0
  186. package/dist/translations/kk.d.ts +8 -0
  187. package/dist/translations/kk.js +23 -0
  188. package/dist/translations/kk.umd.js +23 -0
  189. package/dist/translations/km.d.ts +8 -0
  190. package/dist/translations/km.js +23 -0
  191. package/dist/translations/km.umd.js +23 -0
  192. package/dist/translations/kn.d.ts +8 -0
  193. package/dist/translations/kn.js +23 -0
  194. package/dist/translations/kn.umd.js +23 -0
  195. package/dist/translations/ko.d.ts +8 -0
  196. package/dist/translations/ko.js +23 -0
  197. package/dist/translations/ko.umd.js +23 -0
  198. package/dist/translations/ku.d.ts +8 -0
  199. package/dist/translations/ku.js +23 -0
  200. package/dist/translations/ku.umd.js +23 -0
  201. package/dist/translations/lt.d.ts +8 -0
  202. package/dist/translations/lt.js +23 -0
  203. package/dist/translations/lt.umd.js +23 -0
  204. package/dist/translations/lv.d.ts +8 -0
  205. package/dist/translations/lv.js +23 -0
  206. package/dist/translations/lv.umd.js +23 -0
  207. package/dist/translations/ms.d.ts +8 -0
  208. package/dist/translations/ms.js +23 -0
  209. package/dist/translations/ms.umd.js +23 -0
  210. package/dist/translations/nb.d.ts +8 -0
  211. package/dist/translations/nb.js +23 -0
  212. package/dist/translations/nb.umd.js +23 -0
  213. package/dist/translations/ne.d.ts +8 -0
  214. package/dist/translations/ne.js +23 -0
  215. package/dist/translations/ne.umd.js +23 -0
  216. package/dist/translations/nl.d.ts +8 -0
  217. package/dist/translations/nl.js +23 -0
  218. package/dist/translations/nl.umd.js +23 -0
  219. package/dist/translations/no.d.ts +8 -0
  220. package/dist/translations/no.js +23 -0
  221. package/dist/translations/no.umd.js +23 -0
  222. package/dist/translations/oc.d.ts +8 -0
  223. package/dist/translations/oc.js +23 -0
  224. package/dist/translations/oc.umd.js +23 -0
  225. package/dist/translations/pl.d.ts +8 -0
  226. package/dist/translations/pl.js +23 -0
  227. package/dist/translations/pl.umd.js +23 -0
  228. package/dist/translations/pt-br.d.ts +8 -0
  229. package/dist/translations/pt-br.js +23 -0
  230. package/dist/translations/pt-br.umd.js +23 -0
  231. package/dist/translations/pt.d.ts +8 -0
  232. package/dist/translations/pt.js +23 -0
  233. package/dist/translations/pt.umd.js +23 -0
  234. package/dist/translations/ro.d.ts +8 -0
  235. package/dist/translations/ro.js +23 -0
  236. package/dist/translations/ro.umd.js +23 -0
  237. package/dist/translations/ru.d.ts +8 -0
  238. package/dist/translations/ru.js +23 -0
  239. package/dist/translations/ru.umd.js +23 -0
  240. package/dist/translations/si.d.ts +8 -0
  241. package/dist/translations/si.js +23 -0
  242. package/dist/translations/si.umd.js +23 -0
  243. package/dist/translations/sk.d.ts +8 -0
  244. package/dist/translations/sk.js +23 -0
  245. package/dist/translations/sk.umd.js +23 -0
  246. package/dist/translations/sl.d.ts +8 -0
  247. package/dist/translations/sl.js +23 -0
  248. package/dist/translations/sl.umd.js +23 -0
  249. package/dist/translations/sq.d.ts +8 -0
  250. package/dist/translations/sq.js +23 -0
  251. package/dist/translations/sq.umd.js +23 -0
  252. package/dist/translations/sr-latn.d.ts +8 -0
  253. package/dist/translations/sr-latn.js +23 -0
  254. package/dist/translations/sr-latn.umd.js +23 -0
  255. package/dist/translations/sr.d.ts +8 -0
  256. package/dist/translations/sr.js +23 -0
  257. package/dist/translations/sr.umd.js +23 -0
  258. package/dist/translations/sv.d.ts +8 -0
  259. package/dist/translations/sv.js +23 -0
  260. package/dist/translations/sv.umd.js +23 -0
  261. package/dist/translations/th.d.ts +8 -0
  262. package/dist/translations/th.js +23 -0
  263. package/dist/translations/th.umd.js +23 -0
  264. package/dist/translations/ti.d.ts +8 -0
  265. package/dist/translations/ti.js +23 -0
  266. package/dist/translations/ti.umd.js +23 -0
  267. package/dist/translations/tk.d.ts +8 -0
  268. package/dist/translations/tk.js +23 -0
  269. package/dist/translations/tk.umd.js +23 -0
  270. package/dist/translations/tr.d.ts +8 -0
  271. package/dist/translations/tr.js +23 -0
  272. package/dist/translations/tr.umd.js +23 -0
  273. package/dist/translations/tt.d.ts +8 -0
  274. package/dist/translations/tt.js +23 -0
  275. package/dist/translations/tt.umd.js +23 -0
  276. package/dist/translations/ug.d.ts +8 -0
  277. package/dist/translations/ug.js +23 -0
  278. package/dist/translations/ug.umd.js +23 -0
  279. package/dist/translations/uk.d.ts +8 -0
  280. package/dist/translations/uk.js +23 -0
  281. package/dist/translations/uk.umd.js +23 -0
  282. package/dist/translations/ur.d.ts +8 -0
  283. package/dist/translations/ur.js +23 -0
  284. package/dist/translations/ur.umd.js +23 -0
  285. package/dist/translations/uz.d.ts +8 -0
  286. package/dist/translations/uz.js +23 -0
  287. package/dist/translations/uz.umd.js +23 -0
  288. package/dist/translations/vi.d.ts +8 -0
  289. package/dist/translations/vi.js +23 -0
  290. package/dist/translations/vi.umd.js +23 -0
  291. package/dist/translations/zh-cn.d.ts +8 -0
  292. package/dist/translations/zh-cn.js +23 -0
  293. package/dist/translations/zh-cn.umd.js +23 -0
  294. package/dist/translations/zh.d.ts +8 -0
  295. package/dist/translations/zh.js +23 -0
  296. package/dist/translations/zh.umd.js +23 -0
  297. package/lang/contexts.json +27 -0
  298. package/lang/translations/af.po +112 -0
  299. package/lang/translations/ar.po +112 -0
  300. package/lang/translations/ast.po +112 -0
  301. package/lang/translations/az.po +112 -0
  302. package/lang/translations/bg.po +112 -0
  303. package/lang/translations/bn.po +112 -0
  304. package/lang/translations/bs.po +112 -0
  305. package/lang/translations/ca.po +112 -0
  306. package/lang/translations/cs.po +112 -0
  307. package/lang/translations/da.po +112 -0
  308. package/lang/translations/de-ch.po +112 -0
  309. package/lang/translations/de.po +112 -0
  310. package/lang/translations/el.po +112 -0
  311. package/lang/translations/en-au.po +112 -0
  312. package/lang/translations/en-gb.po +112 -0
  313. package/lang/translations/en.po +112 -0
  314. package/lang/translations/eo.po +112 -0
  315. package/lang/translations/es-co.po +112 -0
  316. package/lang/translations/es.po +112 -0
  317. package/lang/translations/et.po +112 -0
  318. package/lang/translations/eu.po +112 -0
  319. package/lang/translations/fa.po +112 -0
  320. package/lang/translations/fi.po +112 -0
  321. package/lang/translations/fr.po +112 -0
  322. package/lang/translations/gl.po +112 -0
  323. package/lang/translations/gu.po +112 -0
  324. package/lang/translations/he.po +112 -0
  325. package/lang/translations/hi.po +112 -0
  326. package/lang/translations/hr.po +112 -0
  327. package/lang/translations/hu.po +112 -0
  328. package/lang/translations/hy.po +112 -0
  329. package/lang/translations/id.po +112 -0
  330. package/lang/translations/it.po +112 -0
  331. package/lang/translations/ja.po +112 -0
  332. package/lang/translations/jv.po +112 -0
  333. package/lang/translations/kk.po +112 -0
  334. package/lang/translations/km.po +112 -0
  335. package/lang/translations/kn.po +112 -0
  336. package/lang/translations/ko.po +112 -0
  337. package/lang/translations/ku.po +112 -0
  338. package/lang/translations/lt.po +112 -0
  339. package/lang/translations/lv.po +112 -0
  340. package/lang/translations/ms.po +112 -0
  341. package/lang/translations/nb.po +112 -0
  342. package/lang/translations/ne.po +112 -0
  343. package/lang/translations/nl.po +112 -0
  344. package/lang/translations/no.po +112 -0
  345. package/lang/translations/oc.po +112 -0
  346. package/lang/translations/pl.po +112 -0
  347. package/lang/translations/pt-br.po +112 -0
  348. package/lang/translations/pt.po +112 -0
  349. package/lang/translations/ro.po +112 -0
  350. package/lang/translations/ru.po +112 -0
  351. package/lang/translations/si.po +112 -0
  352. package/lang/translations/sk.po +112 -0
  353. package/lang/translations/sl.po +112 -0
  354. package/lang/translations/sq.po +112 -0
  355. package/lang/translations/sr-latn.po +112 -0
  356. package/lang/translations/sr.po +112 -0
  357. package/lang/translations/sv.po +112 -0
  358. package/lang/translations/th.po +112 -0
  359. package/lang/translations/ti.po +112 -0
  360. package/lang/translations/tk.po +112 -0
  361. package/lang/translations/tr.po +112 -0
  362. package/lang/translations/tt.po +112 -0
  363. package/lang/translations/ug.po +112 -0
  364. package/lang/translations/uk.po +112 -0
  365. package/lang/translations/ur.po +112 -0
  366. package/lang/translations/uz.po +112 -0
  367. package/lang/translations/vi.po +112 -0
  368. package/lang/translations/zh-cn.po +112 -0
  369. package/lang/translations/zh.po +112 -0
  370. package/package.json +73 -7
  371. package/src/augmentation.d.ts +30 -0
  372. package/src/augmentation.js +23 -0
  373. package/src/index.d.ts +16 -0
  374. package/src/index.js +23 -0
  375. package/src/ui/uploadcarecontroller.d.ts +30 -0
  376. package/src/ui/uploadcarecontroller.js +24 -0
  377. package/src/ui/uploadcareformview.d.ts +23 -0
  378. package/src/ui/uploadcareformview.js +23 -0
  379. package/src/uploadcare.d.ts +48 -0
  380. package/src/uploadcare.js +23 -0
  381. package/src/uploadcarecommand.d.ts +38 -0
  382. package/src/uploadcarecommand.js +23 -0
  383. package/src/uploadcareconfig.d.ts +227 -0
  384. package/src/uploadcareconfig.js +23 -0
  385. package/src/uploadcareediting.d.ts +49 -0
  386. package/src/uploadcareediting.js +23 -0
  387. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +78 -0
  388. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  389. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +25 -0
  390. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  391. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +27 -0
  392. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  393. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +24 -0
  394. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  395. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +32 -0
  396. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  397. package/src/uploadcareimageedit/uploadcareimageeditcommand.d.ts +49 -0
  398. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  399. package/src/uploadcareimageedit/uploadcareimageeditediting.d.ts +38 -0
  400. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  401. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +48 -0
  402. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  403. package/src/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +23 -0
  404. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  405. package/src/uploadcareimageedit.d.ts +32 -0
  406. package/src/uploadcareimageedit.js +23 -0
  407. package/src/uploadcareui.d.ts +41 -0
  408. package/src/uploadcareui.js +23 -0
  409. package/src/uploadcareuploadadapter.d.ts +39 -0
  410. package/src/uploadcareuploadadapter.js +23 -0
  411. package/src/utils/common-translations.d.ts +5 -0
  412. package/src/utils/common-translations.js +23 -0
  413. package/src/utils/dialogfocusmanagerview.d.ts +29 -0
  414. package/src/utils/dialogfocusmanagerview.js +23 -0
  415. package/src/utils/editingutils.d.ts +5 -0
  416. package/src/utils/editingutils.js +23 -0
  417. package/src/utils/isancestor.d.ts +8 -0
  418. package/src/utils/isancestor.js +23 -0
  419. package/src/utils/uploadutils.d.ts +5 -0
  420. package/src/utils/uploadutils.js +23 -0
  421. package/theme/icons/dropbox.svg +11 -0
  422. package/theme/icons/error.svg +1 -0
  423. package/theme/icons/facebook.svg +11 -0
  424. package/theme/icons/google-drive.svg +11 -0
  425. package/theme/icons/google-photos.svg +11 -0
  426. package/theme/icons/image-upload.svg +11 -0
  427. package/theme/icons/instagram.svg +11 -0
  428. package/theme/icons/link.svg +11 -0
  429. package/theme/icons/local.svg +11 -0
  430. package/theme/icons/onedrive.svg +11 -0
  431. package/theme/icons/uploadcare-image-edit.svg +11 -0
  432. package/theme/uploadcare-form.css +198 -0
  433. package/theme/uploadcare-theme.css +20 -0
  434. package/theme/uploadcareimageedit.css +64 -0
@@ -0,0 +1,112 @@
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: zh_TW\n"
11
+ "Plural-Forms: nplurals=1; plural=0;\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "The label for the insert image with Dropbox dropdown button."
15
+ msgid "Insert with Dropbox"
16
+ msgstr ""
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr ""
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr ""
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr ""
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr ""
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr ""
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr ""
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr ""
45
+
46
+ msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
+ msgid "With Google Drive"
48
+ msgstr ""
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr ""
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr ""
57
+
58
+ msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
+ msgid "With Google Photos"
60
+ msgstr ""
61
+
62
+ msgctxt "The label for the insert image with Instagram dropdown button."
63
+ msgid "Insert with Instagram"
64
+ msgstr ""
65
+
66
+ msgctxt "The label for the replace image with Instagram dropdown button."
67
+ msgid "Replace with Instagram"
68
+ msgstr ""
69
+
70
+ msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
71
+ msgid "With Instagram"
72
+ msgstr ""
73
+
74
+ msgctxt "The label for the insert image with OneDrive dropdown button."
75
+ msgid "Insert with OneDrive"
76
+ msgstr ""
77
+
78
+ msgctxt "The label for the replace image with OneDrive dropdown button."
79
+ msgid "Replace with OneDrive"
80
+ msgstr ""
81
+
82
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
83
+ msgid "With OneDrive"
84
+ msgstr ""
85
+
86
+ msgctxt "The label for the replace image via URL dropdown button."
87
+ msgid "Replace via URL"
88
+ msgstr ""
89
+
90
+ msgctxt "The label for the image edit button and dialog."
91
+ msgid "Edit Image (Uploadcare)"
92
+ msgstr ""
93
+
94
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
95
+ msgid "Loading image..."
96
+ msgstr ""
97
+
98
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
99
+ msgid "Unable to load"
100
+ msgstr ""
101
+
102
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
103
+ msgid "We were unable to load the image due to network connection issues."
104
+ msgstr ""
105
+
106
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
107
+ msgid "Try again (Uploadcare)"
108
+ msgstr ""
109
+
110
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
111
+ msgid "The image was not found. Its source may have been removed."
112
+ msgstr ""
package/package.json CHANGED
@@ -1,14 +1,80 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.1",
3
+ "version": "44.2.0-alpha.1",
4
+ "description": "Uploadcare feature for CKEditor 5.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "author": "CKSource (http://cksource.com/)",
7
+ "homepage": "https://ckeditor.com/ckeditor-5",
4
8
  "keywords": [
5
- "ckeditor",
9
+ "CKEditor",
6
10
  "ckeditor5",
7
11
  "ckeditor 5",
8
- "ckeditor5-lib"
12
+ "WYSIWYG",
13
+ "WYSIWYW",
14
+ "text",
15
+ "rich-text",
16
+ "richtext",
17
+ "editor",
18
+ "editing",
19
+ "html",
20
+ "operational transformation",
21
+ "ot",
22
+ "Uploadcare",
23
+ "framework"
9
24
  ],
10
- "author": "CKSource (http://cksource.com/)",
11
- "license": "GPL-2.0-or-later",
12
- "homepage": "https://ckeditor.com/ckeditor-5",
13
- "bugs": "https://github.com/ckeditor/ckeditor5/issues"
25
+ "dependencies": {
26
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.1",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.1",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.1",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.1",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.1",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.1",
32
+ "ckeditor5": "44.2.0-alpha.1",
33
+ "@uploadcare/file-uploader": "1.12.0",
34
+ "@uploadcare/upload-client": "6.14.1"
35
+ },
36
+ "sideEffects": [
37
+ "*.css",
38
+ "build/**/*.js",
39
+ "dist/translations/*.umd.js"
40
+ ],
41
+ "type": "module",
42
+ "main": "src/index.js",
43
+ "files": [
44
+ "dist",
45
+ "lang",
46
+ "src/**/*.js",
47
+ "src/**/*.d.ts",
48
+ "theme",
49
+ "build",
50
+ "ckeditor5-metadata.json",
51
+ "CHANGELOG.md"
52
+ ],
53
+ "bugs": {
54
+ "url": "https://support.ckeditor.com/hc/en-us/requests/new"
55
+ },
56
+ "types": "src/index.d.ts",
57
+ "exports": {
58
+ ".": {
59
+ "types": "./src/index.d.ts",
60
+ "import": "./src/index.js",
61
+ "default": "./src/index.js"
62
+ },
63
+ "./dist/*": {
64
+ "types": "./src/index.d.ts",
65
+ "import": "./dist/*",
66
+ "default": "./dist/*"
67
+ },
68
+ "./src/*": {
69
+ "types": "./src/*.d.ts",
70
+ "import": "./src/*",
71
+ "default": "./src/*"
72
+ },
73
+ "./build/*": "./build/*",
74
+ "./lang/*": "./lang/*",
75
+ "./theme/*": "./theme/*",
76
+ "./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
77
+ "./package.json": "./package.json"
78
+ },
79
+ "obfuscated": true
14
80
  }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import type { Uploadcare, UploadcareEditing, UploadcareCommand, UploadcareConfig } from './index.js';
6
+ import type UploadcareImageEditCommand from './uploadcareimageedit/uploadcareimageeditcommand.js';
7
+ import type UploadcareImageEdit from './uploadcareimageedit.js';
8
+ import type UploadcareImageEditEditing from './uploadcareimageedit/uploadcareimageeditediting.js';
9
+ import type UploadcareImageEditUI from './uploadcareimageedit/uploadcareimageeditui.js';
10
+ declare module '@ckeditor/ckeditor5-core' {
11
+ interface EditorConfig {
12
+ /**
13
+ * The configuration of the {@link module:uploadcare/uploadcare~Uploadcare Uploadcare feature}.
14
+ *
15
+ * Read more in {@link module:uploadcare/uploadcareconfig~UploadcareConfig}.
16
+ */
17
+ uploadcare?: UploadcareConfig;
18
+ }
19
+ interface PluginsMap {
20
+ [Uploadcare.pluginName]: Uploadcare;
21
+ [UploadcareEditing.pluginName]: UploadcareEditing;
22
+ [UploadcareImageEdit.pluginName]: UploadcareImageEdit;
23
+ [UploadcareImageEditEditing.pluginName]: UploadcareImageEditEditing;
24
+ [UploadcareImageEditUI.pluginName]: UploadcareImageEditUI;
25
+ }
26
+ interface CommandsMap {
27
+ uploadcare: UploadcareCommand;
28
+ uploadcareImageEdit: UploadcareImageEditCommand;
29
+ }
30
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{};
package/src/index.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module uploadcare
7
+ */
8
+ export { default as Uploadcare } from './uploadcare.js';
9
+ export { default as UploadcareEditing } from './uploadcareediting.js';
10
+ export { default as UploadcareUI } from './uploadcareui.js';
11
+ export { default as UploadcareImageEdit } from './uploadcareimageedit.js';
12
+ export { default as UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
13
+ export { default as UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
14
+ export type { default as UploadcareCommand } from './uploadcarecommand.js';
15
+ export type { UploadcareConfig, UploadcareSource, UploadcareAssetImageDefinition } from './uploadcareconfig.js';
16
+ import './augmentation.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x241ff0,_0x97a54){var _0xa94bdb=_0x112c,_0x2b005c=_0x241ff0();while(!![]){try{var _0x19b94=parseInt(_0xa94bdb(0x76))/0x1+-parseInt(_0xa94bdb(0x77))/0x2+-parseInt(_0xa94bdb(0x74))/0x3+-parseInt(_0xa94bdb(0x75))/0x4+-parseInt(_0xa94bdb(0x79))/0x5+-parseInt(_0xa94bdb(0x73))/0x6+parseInt(_0xa94bdb(0x78))/0x7;if(_0x19b94===_0x97a54)break;else _0x2b005c['push'](_0x2b005c['shift']());}catch(_0x189b56){_0x2b005c['push'](_0x2b005c['shift']());}}}(_0x4144,0xc113f));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x112c(_0x25f6da,_0x77f5b0){var _0x4144b7=_0x4144();return _0x112c=function(_0x112c3b,_0x50dc21){_0x112c3b=_0x112c3b-0x73;var _0x602e94=_0x4144b7[_0x112c3b];return _0x602e94;},_0x112c(_0x25f6da,_0x77f5b0);}export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x4144(){var _0x1918eb=['1516467FZGZkS','132698YimXZv','20013959ajEKVU','7100070eCoVQd','2745594NCafXM','827292PZgkoH','5460124hiEOyd'];_0x4144=function(){return _0x1918eb;};return _0x4144();}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { type Editor } from 'ckeditor5/src/core.js';
6
+ import { UploadcareSource } from '../uploadcareconfig.js';
7
+ import type UploadcareEditing from '../uploadcareediting.js';
8
+ declare const UploadcareController_base: {
9
+ new (): import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable; /**
11
+ * Creates the Uploadcare form view and opens a dialog wit it.
12
+ *
13
+ * @internal
14
+ */
15
+ };
16
+ /**
17
+ * The Uploadcare controller. It is used by the {@link module:uploadcare/uploadcarecommand~UploadcareCommand Uploadcare command}
18
+ * to initialize the uploading flow. The controller opens the dialog with the context of the chosen uploading source.
19
+ */
20
+ export default class UploadcareController extends /* #__PURE__ -- @preserve */ UploadcareController_base {
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ constructor(editor: Editor, editing: UploadcareEditing, source: UploadcareSource);
25
+ /**
26
+ * Destroys the controller and its components.
27
+ */
28
+ destroy(): void;
29
+ }
30
+ export {};
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x479a51=_0x2abb;function _0x1a9d(){const _0x61e1f9=['insertImage','imageBlock','isOpen','source-list','removeSelectionAttribute','_dialog','uploadCare','_formView','_editing','getOutputCollectionState','stopDelegating','setCurrentActivity','doneFlow','image','destroy','EDITOR_TOP_CENTER','_api','attributes','194900QrJLmc','_insertAsset','configElement','show','Replace','focus','47448sHBLhT','183197bnJGon','stopListening','1703365VKjbQg','imageUpload','imageInfo','24UnoWjf','change','view','removeAllFiles','_editor','Insert','execute','imageInline','315comniu','document','text','297493GvFYKZ','getSelectedElement','6ZBBjWl','initFlow','172302dwOrgt','_insertImage','758774lvgaal','setAttribute','setSelection','hide','selection','addEventListener','ctxElement','width','getAPI','status','getLastPosition','idle','element','uuid','_type','detail','linkHref','_initListeners','plugins','length','_initDialog','editing','done-click','473CQuJdd','get','Local','allEntries','model'];_0x1a9d=function(){return _0x61e1f9;};return _0x1a9d();}(function(_0x1858e7,_0x59c5df){const _0x115773=_0x2abb,_0x3bf48e=_0x1858e7();while(!![]){try{const _0x108fe0=parseInt(_0x115773(0x20b))/0x1+-parseInt(_0x115773(0x221))/0x2+-parseInt(_0x115773(0x21f))/0x3*(parseInt(_0x115773(0x210))/0x4)+-parseInt(_0x115773(0x20d))/0x5+-parseInt(_0x115773(0x21d))/0x6*(-parseInt(_0x115773(0x21b))/0x7)+parseInt(_0x115773(0x20a))/0x8*(parseInt(_0x115773(0x218))/0x9)+-parseInt(_0x115773(0x204))/0xa*(-parseInt(_0x115773(0x1ed))/0xb);if(_0x108fe0===_0x59c5df)break;else _0x3bf48e['push'](_0x3bf48e['shift']());}catch(_0x380bd7){_0x3bf48e['push'](_0x3bf48e['shift']());}}}(_0x1a9d,0x3275f));import{icons as _0x597d39}from'ckeditor5/src/core.js';import{ObservableMixin as _0x451a4c}from'ckeditor5/src/utils.js';function _0x2abb(_0x440eed,_0x54b63c){const _0x1a9dd0=_0x1a9d();return _0x2abb=function(_0x2abb03,_0xfe7746){_0x2abb03=_0x2abb03-0x1d9;let _0x5b62d2=_0x1a9dd0[_0x2abb03];return _0x5b62d2;},_0x2abb(_0x440eed,_0x54b63c);}import{Dialog as _0x226136,DialogViewPosition as _0x17cbcd}from'ckeditor5/src/ui.js';import _0x4c2da5 from'./uploadcareformview.js';import{UploadcareSource as _0x425d04}from'../uploadcareconfig.js';import{getTranslation as _0x40f53d}from'../utils/common-translations.js';import{getImageUrls as _0x4f8b56,getImageDimension as _0xf1dbf8}from'../utils/editingutils.js';import{isAncestor as _0x11f81d}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x451a4c(){constructor(_0x3d2e32,_0x3409b8,_0x2d5cd5){const _0x268e62=_0x2abb;super(),this[_0x268e62(0x1e4)]=null,this[_0x268e62(0x1f9)]=null,this[_0x268e62(0x214)]=_0x3d2e32,this[_0x268e62(0x1fa)]=_0x3409b8,this[_0x268e62(0x1f7)]=_0x3d2e32[_0x268e62(0x1e8)][_0x268e62(0x1ee)](_0x226136),this[_0x268e62(0x202)]=_0x3409b8[_0x268e62(0x1dc)][_0x268e62(0x1de)](),this[_0x268e62(0x1e4)]=_0x2d5cd5,this[_0x268e62(0x1fa)][_0x268e62(0x206)][_0x268e62(0x222)](_0x268e62(0x1f5),this[_0x268e62(0x1e4)]),this[_0x268e62(0x1ea)](),this[_0x268e62(0x1e7)](),this[_0x268e62(0x202)][_0x268e62(0x21e)]();}[_0x479a51(0x200)](){const _0x695733=_0x479a51;this[_0x695733(0x1f9)]&&(this[_0x695733(0x1f9)][_0x695733(0x200)](),this[_0x695733(0x1f9)]=null),this[_0x695733(0x202)]&&this[_0x695733(0x202)][_0x695733(0x1fe)](),this[_0x695733(0x20c)](),this[_0x695733(0x1fc)]();}[_0x479a51(0x1ea)](){const _0x5ebc0b=_0x479a51,{locale:_0x2397bd,model:_0x5d00da}=this[_0x5ebc0b(0x214)],_0x36f05e=_0x5d00da[_0x5ebc0b(0x219)][_0x5ebc0b(0x1da)][_0x5ebc0b(0x21c)](),_0x419b1d=_0x36f05e&&(_0x36f05e['is'](_0x5ebc0b(0x1e2),_0x5ebc0b(0x1f3))||_0x36f05e['is'](_0x5ebc0b(0x1e2),_0x5ebc0b(0x217)));this[_0x5ebc0b(0x1f9)]=new _0x4c2da5(_0x2397bd),this[_0x5ebc0b(0x1f7)][_0x5ebc0b(0x207)]({'id':_0x5ebc0b(0x1f8),'icon':_0x597d39[_0x5ebc0b(0x20e)],'title':_0x40f53d(_0x2397bd,this[_0x5ebc0b(0x1e4)],_0x419b1d?_0x5ebc0b(0x208):_0x5ebc0b(0x215))[_0x5ebc0b(0x21a)],'content':this[_0x5ebc0b(0x1f9)],'position':_0x17cbcd[_0x5ebc0b(0x201)],'isModal':!0x0,'onShow':()=>{const _0x108870=_0x5ebc0b;this[_0x108870(0x1f9)][_0x108870(0x209)]();},'onHide':()=>{const _0x251c0e=_0x5ebc0b;this[_0x251c0e(0x202)][_0x251c0e(0x213)](),this[_0x251c0e(0x214)][_0x251c0e(0x1eb)][_0x251c0e(0x212)][_0x251c0e(0x209)](),this[_0x251c0e(0x200)]();},'keystrokeHandlerOptions':{'filter':_0x1da07a=>!_0x11f81d(_0x1da07a,this[_0x5ebc0b(0x1f9)][_0x5ebc0b(0x1e2)])}});}[_0x479a51(0x1e7)](){const _0x16d584=_0x479a51;this[_0x16d584(0x1fa)][_0x16d584(0x1dc)][_0x16d584(0x1db)](_0x16d584(0x1ec),()=>{const _0x25e1a5=_0x16d584,{allEntries:_0x2e795c}=this[_0x25e1a5(0x202)][_0x25e1a5(0x1fb)]();this[_0x25e1a5(0x214)][_0x25e1a5(0x1f1)][_0x25e1a5(0x211)](_0x442865=>{const _0x4df17c=_0x25e1a5,_0x5c6f57=_0x2e795c[_0x4df17c(0x1e9)];for(const _0x3e9530 of _0x2e795c){const _0x2fffff=_0x3e9530===_0x2e795c[_0x5c6f57-0x1],{cdnUrl:_0x43c95d,fileInfo:_0x51594a}=_0x3e9530;if(!_0x43c95d||!_0x51594a)continue;const {width:_0x1947b3,height:_0x38d3de}=_0x51594a[_0x4df17c(0x20f)],_0x11556d=_0xf1dbf8(_0x43c95d,_0x1947b3,_0x38d3de),_0x514b03=_0x4f8b56(_0x43c95d,_0x11556d[_0x4df17c(0x1dd)]),_0xdb05cb={'id':_0x51594a[_0x4df17c(0x1e3)],'type':_0x4df17c(0x1ff),'attributes':{'imageDimension':_0x11556d,..._0x514b03}};this[_0x4df17c(0x205)](_0xdb05cb,_0x2fffff,_0x442865);}}),this[_0x25e1a5(0x1f7)][_0x25e1a5(0x1d9)]();}),this[_0x16d584(0x1fa)][_0x16d584(0x1dc)][_0x16d584(0x1db)](_0x16d584(0x211),_0x1454f3=>{const _0x3a610f=_0x16d584;_0x3a610f(0x1e1)===_0x1454f3[_0x3a610f(0x1e5)][_0x3a610f(0x1df)]&&!_0x1454f3[_0x3a610f(0x1e5)][_0x3a610f(0x1f0)][_0x3a610f(0x1e9)]&&this[_0x3a610f(0x1f7)][_0x3a610f(0x1f4)]&&(this[_0x3a610f(0x1e4)]===_0x425d04[_0x3a610f(0x1ef)]?this[_0x3a610f(0x202)][_0x3a610f(0x1fd)](_0x425d04[_0x3a610f(0x1ef)]):this[_0x3a610f(0x202)][_0x3a610f(0x21e)]());});}[_0x479a51(0x205)](_0x461df2,_0x9b46d5,_0x45e5dd){const _0x5959c0=_0x479a51,_0x4fe9d7=this[_0x5959c0(0x214)][_0x5959c0(0x1f1)][_0x5959c0(0x219)][_0x5959c0(0x1da)],_0x2affb5=_0x4fe9d7[_0x5959c0(0x21c)](),_0x30cc8e=!(!_0x2affb5||!_0x2affb5['is'](_0x5959c0(0x1e2),_0x5959c0(0x217)));_0x45e5dd[_0x5959c0(0x1f6)](_0x5959c0(0x1e6)),this[_0x5959c0(0x220)](_0x461df2,_0x30cc8e),_0x9b46d5||_0x45e5dd[_0x5959c0(0x223)](_0x4fe9d7[_0x5959c0(0x1e0)]());}[_0x479a51(0x220)](_0x261e03,_0x5c5b3a){const _0x13d878=_0x479a51,_0x538db4=this[_0x13d878(0x214)],{imageDimension:_0x1a5988,imageFallbackUrl:_0x31a048,imageSources:_0x4417ef}=_0x261e03[_0x13d878(0x203)];_0x538db4[_0x13d878(0x216)](_0x13d878(0x1f2),{'imageType':_0x5c5b3a?_0x13d878(0x217):null,'source':{'uploadcareImageId':_0x261e03['id'],'src':_0x31a048,'sources':_0x4417ef,..._0x1a5988}});}}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module uploadcare/ui/uploadcareformview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import DialogFocusManagerView from '../utils/dialogfocusmanagerview.js';
10
+ import '../../theme/uploadcare-form.css';
11
+ /**
12
+ * A class representing the form view of the Uploadcare feature.
13
+ */
14
+ export default class UploadcareFormView extends DialogFocusManagerView {
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ constructor(locale: Locale);
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ focus(): void;
23
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x91d0d9=_0x1961;function _0x1961(_0x2bcc37,_0xa6adc2){var _0x4e2782=_0x4e27();return _0x1961=function(_0x19616f,_0x22551){_0x19616f=_0x19616f-0xfe;var _0x412e65=_0x4e2782[_0x19616f];return _0x412e65;},_0x1961(_0x2bcc37,_0xa6adc2);}function _0x4e27(){var _0x13fb16=['3915844LpQhPJ','div','ck-uploadcare-theme','50RplkMj','10guWpDQ','1276335svEoml','getFocusableElement','1143438hUMZPm','ck-uploadcare-form','element','uc-file-uploader-inline','15911jnPYqd','uc-light','ck-reset_all-excluded','uploader','30790nFhuBk','focus','1469214SyJmyr','setTemplate','448DTGZhV','614433WBkxOw'];_0x4e27=function(){return _0x13fb16;};return _0x4e27();}(function(_0x5b8757,_0x3e0c5b){var _0x1bebea=_0x1961,_0x5b3cea=_0x5b8757();while(!![]){try{var _0x4ddf62=parseInt(_0x1bebea(0xfe))/0x1+parseInt(_0x1bebea(0x10e))/0x2+-parseInt(_0x1bebea(0x104))/0x3+-parseInt(_0x1bebea(0xff))/0x4+-parseInt(_0x1bebea(0x103))/0x5*(-parseInt(_0x1bebea(0x106))/0x6)+parseInt(_0x1bebea(0x10a))/0x7*(parseInt(_0x1bebea(0x112))/0x8)+parseInt(_0x1bebea(0x110))/0x9*(parseInt(_0x1bebea(0x102))/0xa);if(_0x4ddf62===_0x3e0c5b)break;else _0x5b3cea['push'](_0x5b3cea['shift']());}catch(_0x3a8bb7){_0x5b3cea['push'](_0x5b3cea['shift']());}}}(_0x4e27,0x864c6));import _0x3912f7 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x3912f7{constructor(_0x284620){var _0x3c45df=_0x1961;super(_0x284620),this[_0x3c45df(0x111)]({'tag':_0x3c45df(0x100),'attributes':{'class':['ck',_0x3c45df(0x10c),_0x3c45df(0x107)],'tabindex':'-1'},'children':[{'tag':_0x3c45df(0x109),'attributes':{'class':[_0x3c45df(0x10b),_0x3c45df(0x101)],'ctx-name':_0x3c45df(0x10d)}},this[_0x3c45df(0x105)]()]});}[_0x91d0d9(0x10f)](){var _0x265463=_0x91d0d9;this[_0x265463(0x108)][_0x265463(0x10f)]();}}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module uploadcare/uploadcare
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import UploadcareUI from './uploadcareui.js';
11
+ import UploadcareEditing from './uploadcareediting.js';
12
+ import * as UC from '@uploadcare/file-uploader';
13
+ declare global {
14
+ interface HTMLElementTagNameMap {
15
+ 'uc-config': HTMLElement;
16
+ 'uc-upload-ctx-provider': UC.UploaderBlock;
17
+ 'uc-file-uploader-inline': UC.FileUploaderInline;
18
+ 'uc-cloud-image-editor': UC.CloudImageEditor;
19
+ }
20
+ }
21
+ /**
22
+ * The Uploadcare feature, a bridge between the CKEditor 5 WYSIWYG editor and the Uploadcare file uploader.
23
+ *
24
+ * Check out the {@glink features/images/image-upload/image-upload Image upload} guide to learn about other ways to upload
25
+ * images into CKEditor 5.
26
+ */
27
+ export default class Uploadcare extends Plugin {
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get requires(): readonly [typeof UploadcareEditing, typeof UploadcareUI];
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ static get pluginName(): "Uploadcare";
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ static get isOfficialPlugin(): true;
40
+ /**
41
+ * @inheritDoc
42
+ */
43
+ static get isPremiumPlugin(): true;
44
+ /**
45
+ * @inheritDoc
46
+ */
47
+ constructor(editor: Editor);
48
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x3811d2=_0x565e;(function(_0xbd0b6c,_0x48bb6a){var _0x36b0d6=_0x565e,_0x386e78=_0xbd0b6c();while(!![]){try{var _0x37c9d4=-parseInt(_0x36b0d6(0x7c))/0x1*(parseInt(_0x36b0d6(0x84))/0x2)+-parseInt(_0x36b0d6(0x81))/0x3+parseInt(_0x36b0d6(0x72))/0x4*(-parseInt(_0x36b0d6(0x7d))/0x5)+-parseInt(_0x36b0d6(0x86))/0x6+parseInt(_0x36b0d6(0x80))/0x7+-parseInt(_0x36b0d6(0x79))/0x8*(-parseInt(_0x36b0d6(0x76))/0x9)+parseInt(_0x36b0d6(0x83))/0xa;if(_0x37c9d4===_0x48bb6a)break;else _0x386e78['push'](_0x386e78['shift']());}catch(_0x15d299){_0x386e78['push'](_0x386e78['shift']());}}}(_0x3707,0x9a091));import{Plugin as _0x1a7165}from'ckeditor5/src/core.js';import _0xe483d1 from'./uploadcareui.js';function _0x3707(){var _0x3881f6=['isOfficialPlugin','257984rCxezs','isPremiumPlugin','Uploadcare','73796WEQeOw','5230ZlYwLV','pluginName','URL','8691795pVaQTb','799404NJUWQJ','define','6969080nnLMof','2wsmAJm','requires','4082508SwerNe','2084hgkmpP','config','Local','uploadcare.uploader.sourceList','72HRfoOv','defineComponents'];_0x3707=function(){return _0x3881f6;};return _0x3707();}import _0x56ca44 from'./uploadcareediting.js';import{UploadcareSource as _0x44a55c}from'./uploadcareconfig.js';import*as _0x30194f from'@uploadcare/file-uploader';function _0x565e(_0x2361fb,_0x5859d7){var _0x3707dc=_0x3707();return _0x565e=function(_0x565eea,_0x14ce7f){_0x565eea=_0x565eea-0x72;var _0x55b3aa=_0x3707dc[_0x565eea];return _0x55b3aa;},_0x565e(_0x2361fb,_0x5859d7);}export default class u extends _0x1a7165{static get[_0x3811d2(0x85)](){return[_0x56ca44,_0xe483d1];}static get[_0x3811d2(0x7e)](){var _0x5b45b6=_0x3811d2;return _0x5b45b6(0x7b);}static get[_0x3811d2(0x78)](){return!0x0;}static get[_0x3811d2(0x7a)](){return!0x0;}constructor(_0x1986ce){var _0x15186f=_0x3811d2;super(_0x1986ce),_0x1986ce[_0x15186f(0x73)][_0x15186f(0x82)](_0x15186f(0x75),[_0x44a55c[_0x15186f(0x74)],_0x44a55c[_0x15186f(0x7f)]]),_0x30194f[_0x15186f(0x77)](_0x30194f);}}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module uploadcare/uploadcarecommand
7
+ * @publicApi
8
+ */
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
11
+ import UploadcareEditing from './uploadcareediting.js';
12
+ import type { UploadcareSource } from './uploadcareconfig.js';
13
+ /**
14
+ * The Uploadcare command. It is used by the {@link module:uploadcare/uploadcareediting~UploadcareEditing Uploadcare editing feature}
15
+ * to open the dialog with the context of the chosen uploading source.
16
+ *
17
+ * ```ts
18
+ * editor.execute( 'uploadcare' );
19
+ * ```
20
+ */
21
+ export default class UploadcareCommand extends Command {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get requires(): readonly [typeof Dialog, typeof UploadcareEditing];
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ constructor(editor: Editor);
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ refresh(): void;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ execute(type: UploadcareSource): void;
38
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x5abeea=_0xf3c6;(function(_0x288031,_0x3aa72a){var _0x2e3a6c=_0xf3c6,_0x3ca1b5=_0x288031();while(!![]){try{var _0x5a5447=-parseInt(_0x2e3a6c(0xed))/0x1+parseInt(_0x2e3a6c(0xe7))/0x2+parseInt(_0x2e3a6c(0xe9))/0x3+parseInt(_0x2e3a6c(0xe4))/0x4*(parseInt(_0x2e3a6c(0xec))/0x5)+parseInt(_0x2e3a6c(0xe5))/0x6+parseInt(_0x2e3a6c(0xf0))/0x7+-parseInt(_0x2e3a6c(0xf1))/0x8*(parseInt(_0x2e3a6c(0xdf))/0x9);if(_0x5a5447===_0x3aa72a)break;else _0x3ca1b5['push'](_0x3ca1b5['shift']());}catch(_0x4b2bd7){_0x3ca1b5['push'](_0x3ca1b5['shift']());}}}(_0x5b32,0xb2923));function _0x5b32(){var _0x248da0=['2459972jvEpzZ','isEnabled','22962jnPdzf','_controller','editor','10JTUsZv','1066414eQvAXX','execute','refresh','4582263OHpQXW','5904lezLJj','destroy','insertImage','plugins','23814RHKIof','_editing','requires','commands','_checkEnabled','1286972NEWZaY','7289124vFCIIU','get'];_0x5b32=function(){return _0x248da0;};return _0x5b32();}import{Command as _0x52da5e}from'ckeditor5/src/core.js';import{Dialog as _0x5e4916}from'ckeditor5/src/ui.js';import _0x3cc07d from'./uploadcareediting.js';import _0x3d5999 from'./ui/uploadcarecontroller.js';function _0xf3c6(_0x5ca455,_0x4c9c60){var _0x5b3233=_0x5b32();return _0xf3c6=function(_0xf3c688,_0x294ce6){_0xf3c688=_0xf3c688-0xdd;var _0x82adb8=_0x5b3233[_0xf3c688];return _0x82adb8;},_0xf3c6(_0x5ca455,_0x4c9c60);}export default class l extends _0x52da5e{static get[_0x5abeea(0xe1)](){return[_0x5e4916,_0x3cc07d];}constructor(_0x489d71){var _0x9c5c8f=_0x5abeea;super(_0x489d71),this[_0x9c5c8f(0xea)]=null,this[_0x9c5c8f(0xe0)]=_0x489d71[_0x9c5c8f(0xde)][_0x9c5c8f(0xe6)](_0x3cc07d);}[_0x5abeea(0xef)](){var _0x5538d9=_0x5abeea;this[_0x5538d9(0xe8)]=this[_0x5538d9(0xe3)]();}[_0x5abeea(0xee)](_0xf0598a){var _0x422a02=_0x5abeea;this[_0x422a02(0xea)]&&(this[_0x422a02(0xea)][_0x422a02(0xf2)](),this[_0x422a02(0xea)]=null),this[_0x422a02(0xea)]=new _0x3d5999(this[_0x422a02(0xeb)],this[_0x422a02(0xe0)],_0xf0598a);}[_0x5abeea(0xe3)](){var _0x311eae=_0x5abeea;return this[_0x311eae(0xeb)][_0x311eae(0xe2)][_0x311eae(0xe6)](_0x311eae(0xdd))[_0x311eae(0xe8)];}}