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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (434) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE.md +5 -6
  3. package/README.md +35 -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.0",
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.0",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.0",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.0",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
32
+ "ckeditor5": "44.2.0-alpha.0",
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(_0x1aec71,_0x107044){var _0x521cc3=_0x1147,_0xdf06f8=_0x1aec71();while(!![]){try{var _0x229df1=parseInt(_0x521cc3(0xe8))/0x1+-parseInt(_0x521cc3(0xe7))/0x2*(parseInt(_0x521cc3(0xe5))/0x3)+-parseInt(_0x521cc3(0xe6))/0x4+parseInt(_0x521cc3(0xe3))/0x5+parseInt(_0x521cc3(0xe9))/0x6+parseInt(_0x521cc3(0xea))/0x7*(-parseInt(_0x521cc3(0xe4))/0x8)+parseInt(_0x521cc3(0xeb))/0x9*(parseInt(_0x521cc3(0xe2))/0xa);if(_0x229df1===_0x107044)break;else _0xdf06f8['push'](_0xdf06f8['shift']());}catch(_0x2065cb){_0xdf06f8['push'](_0xdf06f8['shift']());}}}(_0x5076,0x49bec));function _0x1147(_0x2c8f69,_0x4515da){var _0x50766b=_0x5076();return _0x1147=function(_0x11475f,_0x363a35){_0x11475f=_0x11475f-0xe2;var _0x21b656=_0x50766b[_0x11475f];return _0x21b656;},_0x1147(_0x2c8f69,_0x4515da);}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';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5076(){var _0x357d3b=['38TbtWbh','143985fTANRh','3455148JZVTEk','574TkmQYm','118863vEecXt','40vNUCfl','1193860yMXioP','44152lfzjWI','35958yofuuS','116364qqvrVS'];_0x5076=function(){return _0x357d3b;};return _0x5076();}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 _0x24cb1a=_0x4ec6;(function(_0x1ae193,_0x30247b){const _0x596316=_0x4ec6,_0x14e85f=_0x1ae193();while(!![]){try{const _0x4f9397=-parseInt(_0x596316(0xea))/0x1+-parseInt(_0x596316(0x103))/0x2+parseInt(_0x596316(0xe3))/0x3+-parseInt(_0x596316(0xe2))/0x4+parseInt(_0x596316(0x11d))/0x5*(-parseInt(_0x596316(0x102))/0x6)+-parseInt(_0x596316(0xe8))/0x7*(parseInt(_0x596316(0x106))/0x8)+parseInt(_0x596316(0x10c))/0x9;if(_0x4f9397===_0x30247b)break;else _0x14e85f['push'](_0x14e85f['shift']());}catch(_0x4461b7){_0x14e85f['push'](_0x14e85f['shift']());}}}(_0x3b0d,0xea8e0));function _0x4ec6(_0x24e69f,_0xfae002){const _0x3b0d7d=_0x3b0d();return _0x4ec6=function(_0x4ec6d0,_0xc09dfc){_0x4ec6d0=_0x4ec6d0-0xe0;let _0x68232f=_0x3b0d7d[_0x4ec6d0];return _0x68232f;},_0x4ec6(_0x24e69f,_0xfae002);}import{icons as _0x29e8ff}from'ckeditor5/src/core.js';import{ObservableMixin as _0x46d8b7}from'ckeditor5/src/utils.js';import{Dialog as _0x92bbdc,DialogViewPosition as _0x37951c}from'ckeditor5/src/ui.js';import _0x13020b from'./uploadcareformview.js';import{UploadcareSource as _0x4bd164}from'../uploadcareconfig.js';import{getTranslation as _0x41834b}from'../utils/common-translations.js';function _0x3b0d(){const _0x3f18f7=['doneFlow','change','14QUZqVq','destroy','580862LvSymz','allEntries','done-click','width','focus','_initDialog','Insert','attributes','image','_editor','Local','_formView','ctxElement','selection','setCurrentActivity','setAttribute','removeAllFiles','Replace','linkHref','_dialog','model','element','hide','configElement','60qfJxLz','2512752iiUiPu','length','editing','7422064JqOZkY','imageBlock','get','text','execute','status','51648939wZtSiu','plugins','document','stopDelegating','isOpen','uuid','uploadCare','initFlow','EDITOR_TOP_CENTER','addEventListener','_insertAsset','getSelectedElement','detail','_editing','getAPI','show','_api','4615VNrJQe','stopListening','_type','_initListeners','insertImage','setSelection','view','source-list','_insertImage','imageInline','idle','imageUpload','getOutputCollectionState','imageInfo','6629804XzpsLm','1744200XKUjIQ','getLastPosition','removeSelectionAttribute'];_0x3b0d=function(){return _0x3f18f7;};return _0x3b0d();}import{getImageUrls as _0x3cd251,getImageDimension as _0x9cba0c}from'../utils/editingutils.js';import{isAncestor as _0x4494fd}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x46d8b7(){constructor(_0x3b4080,_0x5599c3,_0x21c313){const _0x134b6b=_0x4ec6;super(),this[_0x134b6b(0x11f)]=null,this[_0x134b6b(0xf5)]=null,this[_0x134b6b(0xf3)]=_0x3b4080,this[_0x134b6b(0x119)]=_0x5599c3,this[_0x134b6b(0xfd)]=_0x3b4080[_0x134b6b(0x10d)][_0x134b6b(0x108)](_0x92bbdc),this[_0x134b6b(0x11c)]=_0x5599c3[_0x134b6b(0xf6)][_0x134b6b(0x11a)](),this[_0x134b6b(0x11f)]=_0x21c313,this[_0x134b6b(0x119)][_0x134b6b(0x101)][_0x134b6b(0xf9)](_0x134b6b(0x124),this[_0x134b6b(0x11f)]),this[_0x134b6b(0xef)](),this[_0x134b6b(0x120)](),this[_0x134b6b(0x11c)][_0x134b6b(0x113)]();}[_0x24cb1a(0xe9)](){const _0x146029=_0x24cb1a;this[_0x146029(0xf5)]&&(this[_0x146029(0xf5)][_0x146029(0xe9)](),this[_0x146029(0xf5)]=null),this[_0x146029(0x11c)]&&this[_0x146029(0x11c)][_0x146029(0xe6)](),this[_0x146029(0x11e)](),this[_0x146029(0x10f)]();}[_0x24cb1a(0xef)](){const _0x1ba7e9=_0x24cb1a,{locale:_0x26de2e,model:_0x51d637}=this[_0x1ba7e9(0xf3)],_0x1c232=_0x51d637[_0x1ba7e9(0x10e)][_0x1ba7e9(0xf7)][_0x1ba7e9(0x117)](),_0x7338e5=_0x1c232&&(_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x107))||_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x126)));this[_0x1ba7e9(0xf5)]=new _0x13020b(_0x26de2e),this[_0x1ba7e9(0xfd)][_0x1ba7e9(0x11b)]({'id':_0x1ba7e9(0x112),'icon':_0x29e8ff[_0x1ba7e9(0x128)],'title':_0x41834b(_0x26de2e,this[_0x1ba7e9(0x11f)],_0x7338e5?_0x1ba7e9(0xfb):_0x1ba7e9(0xf0))[_0x1ba7e9(0x109)],'content':this[_0x1ba7e9(0xf5)],'position':_0x37951c[_0x1ba7e9(0x114)],'isModal':!0x0,'onShow':()=>{const _0x4d5773=_0x1ba7e9;this[_0x4d5773(0xf5)][_0x4d5773(0xee)]();},'onHide':()=>{const _0x3c101e=_0x1ba7e9;this[_0x3c101e(0x11c)][_0x3c101e(0xfa)](),this[_0x3c101e(0xf3)][_0x3c101e(0x105)][_0x3c101e(0x123)][_0x3c101e(0xee)](),this[_0x3c101e(0xe9)]();},'keystrokeHandlerOptions':{'filter':_0xd65055=>!_0x4494fd(_0xd65055,this[_0x1ba7e9(0xf5)][_0x1ba7e9(0xff)])}});}[_0x24cb1a(0x120)](){const _0x5668ec=_0x24cb1a;this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xec),()=>{const _0x2bdae8=_0x5668ec,{allEntries:_0x1a967f}=this[_0x2bdae8(0x11c)][_0x2bdae8(0xe0)]();this[_0x2bdae8(0xf3)][_0x2bdae8(0xfe)][_0x2bdae8(0xe7)](_0x3587f0=>{const _0x235c7b=_0x2bdae8,_0x423801=_0x1a967f[_0x235c7b(0x104)];for(const _0x13f57c of _0x1a967f){const _0x3ecedd=_0x13f57c===_0x1a967f[_0x423801-0x1],{cdnUrl:_0x44bf02,fileInfo:_0x56d139}=_0x13f57c;if(!_0x44bf02||!_0x56d139)continue;const {width:_0x35b9d6,height:_0x2c6d0b}=_0x56d139[_0x235c7b(0xe1)],_0x4337e7=_0x9cba0c(_0x44bf02,_0x35b9d6,_0x2c6d0b),_0xb48557=_0x3cd251(_0x44bf02,_0x4337e7[_0x235c7b(0xed)]),_0x183698={'id':_0x56d139[_0x235c7b(0x111)],'type':_0x235c7b(0xf2),'attributes':{'imageDimension':_0x4337e7,..._0xb48557}};this[_0x235c7b(0x116)](_0x183698,_0x3ecedd,_0x3587f0);}}),this[_0x2bdae8(0xfd)][_0x2bdae8(0x100)]();}),this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xe7),_0x1aca5f=>{const _0x310b99=_0x5668ec;_0x310b99(0x127)===_0x1aca5f[_0x310b99(0x118)][_0x310b99(0x10b)]&&!_0x1aca5f[_0x310b99(0x118)][_0x310b99(0xeb)][_0x310b99(0x104)]&&this[_0x310b99(0xfd)][_0x310b99(0x110)]&&(this[_0x310b99(0x11f)]===_0x4bd164[_0x310b99(0xf4)]?this[_0x310b99(0x11c)][_0x310b99(0xf8)](_0x4bd164[_0x310b99(0xf4)]):this[_0x310b99(0x11c)][_0x310b99(0x113)]());});}[_0x24cb1a(0x116)](_0x44ad7b,_0x2c37e9,_0x2ede66){const _0x771a61=_0x24cb1a,_0x170273=this[_0x771a61(0xf3)][_0x771a61(0xfe)][_0x771a61(0x10e)][_0x771a61(0xf7)],_0x1d6e6b=_0x170273[_0x771a61(0x117)](),_0x3954cd=!(!_0x1d6e6b||!_0x1d6e6b['is'](_0x771a61(0xff),_0x771a61(0x126)));_0x2ede66[_0x771a61(0xe5)](_0x771a61(0xfc)),this[_0x771a61(0x125)](_0x44ad7b,_0x3954cd),_0x2c37e9||_0x2ede66[_0x771a61(0x122)](_0x170273[_0x771a61(0xe4)]());}[_0x24cb1a(0x125)](_0x18de84,_0x3d7f70){const _0x2c6c8e=_0x24cb1a,_0x110fa7=this[_0x2c6c8e(0xf3)],{imageDimension:_0x3c3358,imageFallbackUrl:_0x26eb58,imageSources:_0x301551}=_0x18de84[_0x2c6c8e(0xf1)];_0x110fa7[_0x2c6c8e(0x10a)](_0x2c6c8e(0x121),{'imageType':_0x3d7f70?_0x2c6c8e(0x126):null,'source':{'uploadcareImageId':_0x18de84['id'],'src':_0x26eb58,'sources':_0x301551,..._0x3c3358}});}}
@@ -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 _0x534ab3=_0x329f;function _0x329f(_0x38cecf,_0x12184a){var _0x1ec8e6=_0x1ec8();return _0x329f=function(_0x329f0f,_0x4dc44b){_0x329f0f=_0x329f0f-0x14e;var _0xe6f582=_0x1ec8e6[_0x329f0f];return _0xe6f582;},_0x329f(_0x38cecf,_0x12184a);}function _0x1ec8(){var _0xb9a60c=['div','1011790yIaPJa','200575KKrfdm','uploader','4563152wrMYGt','element','39880eJEnzd','focus','uc-light','uc-file-uploader-inline','16749pvLVrV','25akiylI','1183vIMtxI','979977zKKIcf','48yfQSFK','1215822LWHiuY','ck-reset_all-excluded','setTemplate','ck-uploadcare-theme','8WmBoID','ck-uploadcare-form','5890ghKZkz','getFocusableElement'];_0x1ec8=function(){return _0xb9a60c;};return _0x1ec8();}(function(_0x373018,_0x5861e2){var _0x14ba3a=_0x329f,_0x164b65=_0x373018();while(!![]){try{var _0x530c9e=-parseInt(_0x14ba3a(0x157))/0x1+parseInt(_0x14ba3a(0x156))/0x2+-parseInt(_0x14ba3a(0x162))/0x3*(parseInt(_0x14ba3a(0x151))/0x4)+-parseInt(_0x14ba3a(0x160))/0x5*(parseInt(_0x14ba3a(0x164))/0x6)+-parseInt(_0x14ba3a(0x161))/0x7*(parseInt(_0x14ba3a(0x15b))/0x8)+parseInt(_0x14ba3a(0x15f))/0x9*(parseInt(_0x14ba3a(0x153))/0xa)+parseInt(_0x14ba3a(0x159))/0xb*(parseInt(_0x14ba3a(0x163))/0xc);if(_0x530c9e===_0x5861e2)break;else _0x164b65['push'](_0x164b65['shift']());}catch(_0x20f980){_0x164b65['push'](_0x164b65['shift']());}}}(_0x1ec8,0x86b81));import _0xfe4316 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0xfe4316{constructor(_0x5c1386){var _0x3882c8=_0x329f;super(_0x5c1386),this[_0x3882c8(0x14f)]({'tag':_0x3882c8(0x155),'attributes':{'class':['ck',_0x3882c8(0x14e),_0x3882c8(0x152)],'tabindex':'-1'},'children':[{'tag':_0x3882c8(0x15e),'attributes':{'class':[_0x3882c8(0x15d),_0x3882c8(0x150)],'ctx-name':_0x3882c8(0x158)}},this[_0x3882c8(0x154)]()]});}[_0x534ab3(0x15c)](){var _0x21489d=_0x534ab3;this[_0x21489d(0x15a)][_0x21489d(0x15c)]();}}
@@ -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 _0x219dcc=_0x485a;(function(_0x3a84d6,_0x16bfcc){var _0x2151f9=_0x485a,_0x1b95dc=_0x3a84d6();while(!![]){try{var _0x3645df=-parseInt(_0x2151f9(0xb1))/0x1+-parseInt(_0x2151f9(0xad))/0x2+parseInt(_0x2151f9(0xbb))/0x3+parseInt(_0x2151f9(0xaf))/0x4*(parseInt(_0x2151f9(0xb4))/0x5)+parseInt(_0x2151f9(0xae))/0x6+-parseInt(_0x2151f9(0xac))/0x7+parseInt(_0x2151f9(0xb0))/0x8;if(_0x3645df===_0x16bfcc)break;else _0x1b95dc['push'](_0x1b95dc['shift']());}catch(_0x1a97fc){_0x1b95dc['push'](_0x1b95dc['shift']());}}}(_0x424d,0xc2be7));import{Plugin as _0x5f272b}from'ckeditor5/src/core.js';function _0x485a(_0x534eb7,_0x4c6afa){var _0x424d61=_0x424d();return _0x485a=function(_0x485a68,_0x5e0e34){_0x485a68=_0x485a68-0xaa;var _0x2380ac=_0x424d61[_0x485a68];return _0x2380ac;},_0x485a(_0x534eb7,_0x4c6afa);}function _0x424d(){var _0x18ce50=['define','Uploadcare','2500257IAYGnQ','isPremiumPlugin','isOfficialPlugin','uploadcare.uploader.sourceList','3163762zmTWEC','1630616ufOGfy','1925628GKNlAL','12mMvHvC','7187936omvyit','799578pWndau','requires','Local','1352790tTozQA','defineComponents','config','URL','pluginName'];_0x424d=function(){return _0x18ce50;};return _0x424d();}import _0x386113 from'./uploadcareui.js';import _0x2b911f from'./uploadcareediting.js';import{UploadcareSource as _0x50afed}from'./uploadcareconfig.js';import*as _0x35c770 from'@uploadcare/file-uploader';export default class u extends _0x5f272b{static get[_0x219dcc(0xb2)](){return[_0x2b911f,_0x386113];}static get[_0x219dcc(0xb8)](){var _0x3a0dde=_0x219dcc;return _0x3a0dde(0xba);}static get[_0x219dcc(0xaa)](){return!0x0;}static get[_0x219dcc(0xbc)](){return!0x0;}constructor(_0x22f00d){var _0x421d64=_0x219dcc;super(_0x22f00d),_0x22f00d[_0x421d64(0xb6)][_0x421d64(0xb9)](_0x421d64(0xab),[_0x50afed[_0x421d64(0xb3)],_0x50afed[_0x421d64(0xb7)]]),_0x35c770[_0x421d64(0xb5)](_0x35c770);}}
@@ -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 _0x1287b6=_0x486e;(function(_0x1a545d,_0x3fa815){var _0x7a0c3d=_0x486e,_0x2abea3=_0x1a545d();while(!![]){try{var _0x57a56c=parseInt(_0x7a0c3d(0xeb))/0x1*(parseInt(_0x7a0c3d(0xe1))/0x2)+-parseInt(_0x7a0c3d(0xea))/0x3*(parseInt(_0x7a0c3d(0xda))/0x4)+parseInt(_0x7a0c3d(0xe4))/0x5*(-parseInt(_0x7a0c3d(0xee))/0x6)+parseInt(_0x7a0c3d(0xef))/0x7*(-parseInt(_0x7a0c3d(0xe0))/0x8)+parseInt(_0x7a0c3d(0xdf))/0x9*(parseInt(_0x7a0c3d(0xdc))/0xa)+parseInt(_0x7a0c3d(0xe5))/0xb+parseInt(_0x7a0c3d(0xf1))/0xc*(-parseInt(_0x7a0c3d(0xdb))/0xd);if(_0x57a56c===_0x3fa815)break;else _0x2abea3['push'](_0x2abea3['shift']());}catch(_0x240f2b){_0x2abea3['push'](_0x2abea3['shift']());}}}(_0x199e,0x97fa9));function _0x486e(_0x2a06ee,_0x3cf866){var _0x199e30=_0x199e();return _0x486e=function(_0x486eb3,_0x3cce95){_0x486eb3=_0x486eb3-0xd9;var _0x3a3a20=_0x199e30[_0x486eb3];return _0x3a3a20;},_0x486e(_0x2a06ee,_0x3cf866);}import{Command as _0x1ac256}from'ckeditor5/src/core.js';function _0x199e(){var _0xc64fed=['commands','insertImage','_controller','destroy','3jXieSU','6xVAqcX','get','_checkEnabled','30ctfFgN','14OgJZiS','_editing','3872472AZMIeX','refresh','editor','1696544cjSCRL','26WFhiOx','90yWJKam','plugins','isEnabled','1037583MCBzvJ','1486744JkocMJ','5730FxvgCc','execute','requires','63425RuHGOA','11796301HKMKeh'];_0x199e=function(){return _0xc64fed;};return _0x199e();}import{Dialog as _0x2228bb}from'ckeditor5/src/ui.js';import _0x541d86 from'./uploadcareediting.js';import _0x12c695 from'./ui/uploadcarecontroller.js';export default class l extends _0x1ac256{static get[_0x1287b6(0xe3)](){return[_0x2228bb,_0x541d86];}constructor(_0x2ea3f4){var _0x39afc1=_0x1287b6;super(_0x2ea3f4),this[_0x39afc1(0xe8)]=null,this[_0x39afc1(0xf0)]=_0x2ea3f4[_0x39afc1(0xdd)][_0x39afc1(0xec)](_0x541d86);}[_0x1287b6(0xf2)](){var _0x1ce7f6=_0x1287b6;this[_0x1ce7f6(0xde)]=this[_0x1ce7f6(0xed)]();}[_0x1287b6(0xe2)](_0x1259e4){var _0x114236=_0x1287b6;this[_0x114236(0xe8)]&&(this[_0x114236(0xe8)][_0x114236(0xe9)](),this[_0x114236(0xe8)]=null),this[_0x114236(0xe8)]=new _0x12c695(this[_0x114236(0xd9)],this[_0x114236(0xf0)],_0x1259e4);}[_0x1287b6(0xed)](){var _0xd3adeb=_0x1287b6;return this[_0xd3adeb(0xd9)][_0xd3adeb(0xe6)][_0xd3adeb(0xec)](_0xd3adeb(0xe7))[_0xd3adeb(0xde)];}}