@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250212.0 → 0.0.0-nightly-20250213.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 (391) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +16 -5
  3. package/build/translations/af.js +1 -0
  4. package/build/translations/ar.js +1 -0
  5. package/build/translations/ast.js +1 -0
  6. package/build/translations/az.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/build/uploadcare.js +2 -1
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.d.ts +8 -0
  77. package/dist/translations/af.js +23 -0
  78. package/dist/translations/af.umd.js +23 -0
  79. package/dist/translations/ar.d.ts +8 -0
  80. package/dist/translations/ar.js +23 -0
  81. package/dist/translations/ar.umd.js +23 -0
  82. package/dist/translations/ast.d.ts +8 -0
  83. package/dist/translations/ast.js +23 -0
  84. package/dist/translations/ast.umd.js +23 -0
  85. package/dist/translations/az.d.ts +8 -0
  86. package/dist/translations/az.js +23 -0
  87. package/dist/translations/az.umd.js +23 -0
  88. package/dist/translations/bg.d.ts +8 -0
  89. package/dist/translations/bg.js +23 -0
  90. package/dist/translations/bg.umd.js +23 -0
  91. package/dist/translations/bn.d.ts +8 -0
  92. package/dist/translations/bn.js +23 -0
  93. package/dist/translations/bn.umd.js +23 -0
  94. package/dist/translations/bs.d.ts +8 -0
  95. package/dist/translations/bs.js +23 -0
  96. package/dist/translations/bs.umd.js +23 -0
  97. package/dist/translations/ca.d.ts +8 -0
  98. package/dist/translations/ca.js +23 -0
  99. package/dist/translations/ca.umd.js +23 -0
  100. package/dist/translations/cs.d.ts +8 -0
  101. package/dist/translations/cs.js +23 -0
  102. package/dist/translations/cs.umd.js +23 -0
  103. package/dist/translations/da.d.ts +8 -0
  104. package/dist/translations/da.js +23 -0
  105. package/dist/translations/da.umd.js +23 -0
  106. package/dist/translations/de-ch.d.ts +8 -0
  107. package/dist/translations/de-ch.js +23 -0
  108. package/dist/translations/de-ch.umd.js +23 -0
  109. package/dist/translations/de.d.ts +8 -0
  110. package/dist/translations/de.js +23 -0
  111. package/dist/translations/de.umd.js +23 -0
  112. package/dist/translations/el.d.ts +8 -0
  113. package/dist/translations/el.js +23 -0
  114. package/dist/translations/el.umd.js +23 -0
  115. package/dist/translations/en-au.d.ts +8 -0
  116. package/dist/translations/en-au.js +23 -0
  117. package/dist/translations/en-au.umd.js +23 -0
  118. package/dist/translations/en-gb.d.ts +8 -0
  119. package/dist/translations/en-gb.js +23 -0
  120. package/dist/translations/en-gb.umd.js +23 -0
  121. package/dist/translations/en.d.ts +8 -0
  122. package/dist/translations/en.js +23 -0
  123. package/dist/translations/en.umd.js +23 -0
  124. package/dist/translations/eo.d.ts +8 -0
  125. package/dist/translations/eo.js +23 -0
  126. package/dist/translations/eo.umd.js +23 -0
  127. package/dist/translations/es-co.d.ts +8 -0
  128. package/dist/translations/es-co.js +23 -0
  129. package/dist/translations/es-co.umd.js +23 -0
  130. package/dist/translations/es.d.ts +8 -0
  131. package/dist/translations/es.js +23 -0
  132. package/dist/translations/es.umd.js +23 -0
  133. package/dist/translations/et.d.ts +8 -0
  134. package/dist/translations/et.js +23 -0
  135. package/dist/translations/et.umd.js +23 -0
  136. package/dist/translations/eu.d.ts +8 -0
  137. package/dist/translations/eu.js +23 -0
  138. package/dist/translations/eu.umd.js +23 -0
  139. package/dist/translations/fa.d.ts +8 -0
  140. package/dist/translations/fa.js +23 -0
  141. package/dist/translations/fa.umd.js +23 -0
  142. package/dist/translations/fi.d.ts +8 -0
  143. package/dist/translations/fi.js +23 -0
  144. package/dist/translations/fi.umd.js +23 -0
  145. package/dist/translations/fr.d.ts +8 -0
  146. package/dist/translations/fr.js +23 -0
  147. package/dist/translations/fr.umd.js +23 -0
  148. package/dist/translations/gl.d.ts +8 -0
  149. package/dist/translations/gl.js +23 -0
  150. package/dist/translations/gl.umd.js +23 -0
  151. package/dist/translations/gu.d.ts +8 -0
  152. package/dist/translations/gu.js +23 -0
  153. package/dist/translations/gu.umd.js +23 -0
  154. package/dist/translations/he.d.ts +8 -0
  155. package/dist/translations/he.js +23 -0
  156. package/dist/translations/he.umd.js +23 -0
  157. package/dist/translations/hi.d.ts +8 -0
  158. package/dist/translations/hi.js +23 -0
  159. package/dist/translations/hi.umd.js +23 -0
  160. package/dist/translations/hr.d.ts +8 -0
  161. package/dist/translations/hr.js +23 -0
  162. package/dist/translations/hr.umd.js +23 -0
  163. package/dist/translations/hu.d.ts +8 -0
  164. package/dist/translations/hu.js +23 -0
  165. package/dist/translations/hu.umd.js +23 -0
  166. package/dist/translations/hy.d.ts +8 -0
  167. package/dist/translations/hy.js +23 -0
  168. package/dist/translations/hy.umd.js +23 -0
  169. package/dist/translations/id.d.ts +8 -0
  170. package/dist/translations/id.js +23 -0
  171. package/dist/translations/id.umd.js +23 -0
  172. package/dist/translations/it.d.ts +8 -0
  173. package/dist/translations/it.js +23 -0
  174. package/dist/translations/it.umd.js +23 -0
  175. package/dist/translations/ja.d.ts +8 -0
  176. package/dist/translations/ja.js +23 -0
  177. package/dist/translations/ja.umd.js +23 -0
  178. package/dist/translations/jv.d.ts +8 -0
  179. package/dist/translations/jv.js +23 -0
  180. package/dist/translations/jv.umd.js +23 -0
  181. package/dist/translations/kk.d.ts +8 -0
  182. package/dist/translations/kk.js +23 -0
  183. package/dist/translations/kk.umd.js +23 -0
  184. package/dist/translations/km.d.ts +8 -0
  185. package/dist/translations/km.js +23 -0
  186. package/dist/translations/km.umd.js +23 -0
  187. package/dist/translations/kn.d.ts +8 -0
  188. package/dist/translations/kn.js +23 -0
  189. package/dist/translations/kn.umd.js +23 -0
  190. package/dist/translations/ko.d.ts +8 -0
  191. package/dist/translations/ko.js +23 -0
  192. package/dist/translations/ko.umd.js +23 -0
  193. package/dist/translations/ku.d.ts +8 -0
  194. package/dist/translations/ku.js +23 -0
  195. package/dist/translations/ku.umd.js +23 -0
  196. package/dist/translations/lt.d.ts +8 -0
  197. package/dist/translations/lt.js +23 -0
  198. package/dist/translations/lt.umd.js +23 -0
  199. package/dist/translations/lv.d.ts +8 -0
  200. package/dist/translations/lv.js +23 -0
  201. package/dist/translations/lv.umd.js +23 -0
  202. package/dist/translations/ms.d.ts +8 -0
  203. package/dist/translations/ms.js +23 -0
  204. package/dist/translations/ms.umd.js +23 -0
  205. package/dist/translations/nb.d.ts +8 -0
  206. package/dist/translations/nb.js +23 -0
  207. package/dist/translations/nb.umd.js +23 -0
  208. package/dist/translations/ne.d.ts +8 -0
  209. package/dist/translations/ne.js +23 -0
  210. package/dist/translations/ne.umd.js +23 -0
  211. package/dist/translations/nl.d.ts +8 -0
  212. package/dist/translations/nl.js +23 -0
  213. package/dist/translations/nl.umd.js +23 -0
  214. package/dist/translations/no.d.ts +8 -0
  215. package/dist/translations/no.js +23 -0
  216. package/dist/translations/no.umd.js +23 -0
  217. package/dist/translations/oc.d.ts +8 -0
  218. package/dist/translations/oc.js +23 -0
  219. package/dist/translations/oc.umd.js +23 -0
  220. package/dist/translations/pl.d.ts +8 -0
  221. package/dist/translations/pl.js +23 -0
  222. package/dist/translations/pl.umd.js +23 -0
  223. package/dist/translations/pt-br.d.ts +8 -0
  224. package/dist/translations/pt-br.js +23 -0
  225. package/dist/translations/pt-br.umd.js +23 -0
  226. package/dist/translations/pt.d.ts +8 -0
  227. package/dist/translations/pt.js +23 -0
  228. package/dist/translations/pt.umd.js +23 -0
  229. package/dist/translations/ro.d.ts +8 -0
  230. package/dist/translations/ro.js +23 -0
  231. package/dist/translations/ro.umd.js +23 -0
  232. package/dist/translations/ru.d.ts +8 -0
  233. package/dist/translations/ru.js +23 -0
  234. package/dist/translations/ru.umd.js +23 -0
  235. package/dist/translations/si.d.ts +8 -0
  236. package/dist/translations/si.js +23 -0
  237. package/dist/translations/si.umd.js +23 -0
  238. package/dist/translations/sk.d.ts +8 -0
  239. package/dist/translations/sk.js +23 -0
  240. package/dist/translations/sk.umd.js +23 -0
  241. package/dist/translations/sl.d.ts +8 -0
  242. package/dist/translations/sl.js +23 -0
  243. package/dist/translations/sl.umd.js +23 -0
  244. package/dist/translations/sq.d.ts +8 -0
  245. package/dist/translations/sq.js +23 -0
  246. package/dist/translations/sq.umd.js +23 -0
  247. package/dist/translations/sr-latn.d.ts +8 -0
  248. package/dist/translations/sr-latn.js +23 -0
  249. package/dist/translations/sr-latn.umd.js +23 -0
  250. package/dist/translations/sr.d.ts +8 -0
  251. package/dist/translations/sr.js +23 -0
  252. package/dist/translations/sr.umd.js +23 -0
  253. package/dist/translations/sv.d.ts +8 -0
  254. package/dist/translations/sv.js +23 -0
  255. package/dist/translations/sv.umd.js +23 -0
  256. package/dist/translations/th.d.ts +8 -0
  257. package/dist/translations/th.js +23 -0
  258. package/dist/translations/th.umd.js +23 -0
  259. package/dist/translations/ti.d.ts +8 -0
  260. package/dist/translations/ti.js +23 -0
  261. package/dist/translations/ti.umd.js +23 -0
  262. package/dist/translations/tk.d.ts +8 -0
  263. package/dist/translations/tk.js +23 -0
  264. package/dist/translations/tk.umd.js +23 -0
  265. package/dist/translations/tr.d.ts +8 -0
  266. package/dist/translations/tr.js +23 -0
  267. package/dist/translations/tr.umd.js +23 -0
  268. package/dist/translations/tt.d.ts +8 -0
  269. package/dist/translations/tt.js +23 -0
  270. package/dist/translations/tt.umd.js +23 -0
  271. package/dist/translations/ug.d.ts +8 -0
  272. package/dist/translations/ug.js +23 -0
  273. package/dist/translations/ug.umd.js +23 -0
  274. package/dist/translations/uk.d.ts +8 -0
  275. package/dist/translations/uk.js +23 -0
  276. package/dist/translations/uk.umd.js +23 -0
  277. package/dist/translations/ur.d.ts +8 -0
  278. package/dist/translations/ur.js +23 -0
  279. package/dist/translations/ur.umd.js +23 -0
  280. package/dist/translations/uz.d.ts +8 -0
  281. package/dist/translations/uz.js +23 -0
  282. package/dist/translations/uz.umd.js +23 -0
  283. package/dist/translations/vi.d.ts +8 -0
  284. package/dist/translations/vi.js +23 -0
  285. package/dist/translations/vi.umd.js +23 -0
  286. package/dist/translations/zh-cn.d.ts +8 -0
  287. package/dist/translations/zh-cn.js +23 -0
  288. package/dist/translations/zh-cn.umd.js +23 -0
  289. package/dist/translations/zh.d.ts +8 -0
  290. package/dist/translations/zh.js +23 -0
  291. package/dist/translations/zh.umd.js +23 -0
  292. package/lang/contexts.json +0 -3
  293. package/lang/translations/af.po +100 -0
  294. package/lang/translations/ar.po +100 -0
  295. package/lang/translations/ast.po +100 -0
  296. package/lang/translations/az.po +100 -0
  297. package/lang/translations/bg.po +100 -0
  298. package/lang/translations/bn.po +100 -0
  299. package/lang/translations/bs.po +100 -0
  300. package/lang/translations/ca.po +100 -0
  301. package/lang/translations/cs.po +100 -0
  302. package/lang/translations/da.po +100 -0
  303. package/lang/translations/de-ch.po +100 -0
  304. package/lang/translations/de.po +100 -0
  305. package/lang/translations/el.po +100 -0
  306. package/lang/translations/en-au.po +100 -0
  307. package/lang/translations/en-gb.po +100 -0
  308. package/lang/translations/en.po +100 -0
  309. package/lang/translations/eo.po +100 -0
  310. package/lang/translations/es-co.po +100 -0
  311. package/lang/translations/es.po +100 -0
  312. package/lang/translations/et.po +100 -0
  313. package/lang/translations/eu.po +100 -0
  314. package/lang/translations/fa.po +100 -0
  315. package/lang/translations/fi.po +100 -0
  316. package/lang/translations/fr.po +100 -0
  317. package/lang/translations/gl.po +100 -0
  318. package/lang/translations/gu.po +100 -0
  319. package/lang/translations/he.po +100 -0
  320. package/lang/translations/hi.po +100 -0
  321. package/lang/translations/hr.po +100 -0
  322. package/lang/translations/hu.po +100 -0
  323. package/lang/translations/hy.po +100 -0
  324. package/lang/translations/id.po +100 -0
  325. package/lang/translations/it.po +100 -0
  326. package/lang/translations/ja.po +100 -0
  327. package/lang/translations/jv.po +100 -0
  328. package/lang/translations/kk.po +100 -0
  329. package/lang/translations/km.po +100 -0
  330. package/lang/translations/kn.po +100 -0
  331. package/lang/translations/ko.po +100 -0
  332. package/lang/translations/ku.po +100 -0
  333. package/lang/translations/lt.po +100 -0
  334. package/lang/translations/lv.po +100 -0
  335. package/lang/translations/ms.po +100 -0
  336. package/lang/translations/nb.po +100 -0
  337. package/lang/translations/ne.po +100 -0
  338. package/lang/translations/nl.po +100 -0
  339. package/lang/translations/no.po +100 -0
  340. package/lang/translations/oc.po +100 -0
  341. package/lang/translations/pl.po +100 -0
  342. package/lang/translations/pt-br.po +100 -0
  343. package/lang/translations/pt.po +100 -0
  344. package/lang/translations/ro.po +100 -0
  345. package/lang/translations/ru.po +100 -0
  346. package/lang/translations/si.po +100 -0
  347. package/lang/translations/sk.po +100 -0
  348. package/lang/translations/sl.po +100 -0
  349. package/lang/translations/sq.po +100 -0
  350. package/lang/translations/sr-latn.po +100 -0
  351. package/lang/translations/sr.po +100 -0
  352. package/lang/translations/sv.po +100 -0
  353. package/lang/translations/th.po +100 -0
  354. package/lang/translations/ti.po +100 -0
  355. package/lang/translations/tk.po +100 -0
  356. package/lang/translations/tr.po +100 -0
  357. package/lang/translations/tt.po +100 -0
  358. package/lang/translations/ug.po +100 -0
  359. package/lang/translations/uk.po +100 -0
  360. package/lang/translations/ur.po +100 -0
  361. package/lang/translations/uz.po +100 -0
  362. package/lang/translations/vi.po +100 -0
  363. package/lang/translations/zh-cn.po +100 -0
  364. package/lang/translations/zh.po +100 -0
  365. package/package.json +8 -8
  366. package/src/index.js +1 -1
  367. package/src/ui/uploadcarecontroller.js +2 -2
  368. package/src/ui/uploadcareformview.js +1 -1
  369. package/src/uploadcare.js +1 -1
  370. package/src/uploadcarecommand.js +1 -1
  371. package/src/uploadcareconfig.d.ts +9 -8
  372. package/src/uploadcareconfig.js +1 -1
  373. package/src/uploadcareediting.js +1 -1
  374. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  375. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  376. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  377. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  378. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  379. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  380. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  381. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  382. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  383. package/src/uploadcareimageedit.js +1 -1
  384. package/src/uploadcareui.js +1 -1
  385. package/src/uploadcareuploadadapter.js +1 -1
  386. package/src/utils/common-translations.js +1 -1
  387. package/src/utils/dialogfocusmanagerview.js +1 -1
  388. package/src/utils/editingutils.js +1 -1
  389. package/src/utils/isancestor.js +1 -1
  390. package/src/utils/uploadutils.js +1 -1
  391. package/theme/icons/instagram.svg +0 -11
@@ -0,0 +1,100 @@
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: uz\n"
11
+ "Plural-Forms: nplurals=2; plural=(n > 1);\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 OneDrive dropdown button."
63
+ msgid "Insert with OneDrive"
64
+ msgstr ""
65
+
66
+ msgctxt "The label for the replace image with OneDrive dropdown button."
67
+ msgid "Replace with OneDrive"
68
+ msgstr ""
69
+
70
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
+ msgid "With OneDrive"
72
+ msgstr ""
73
+
74
+ msgctxt "The label for the replace image via URL dropdown button."
75
+ msgid "Replace via URL"
76
+ msgstr ""
77
+
78
+ msgctxt "The label for the image edit button and dialog."
79
+ msgid "Edit Image (Uploadcare)"
80
+ msgstr ""
81
+
82
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
+ msgid "Loading image..."
84
+ msgstr ""
85
+
86
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
+ msgid "Unable to load"
88
+ msgstr ""
89
+
90
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
+ msgid "We were unable to load the image due to network connection issues."
92
+ msgstr ""
93
+
94
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
+ msgid "Try again (Uploadcare)"
96
+ msgstr ""
97
+
98
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
+ msgid "The image was not found. Its source may have been removed."
100
+ msgstr ""
@@ -0,0 +1,100 @@
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: vi\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 "Chèn bằng Dropbox"
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr "Thay thế bằng Dropbox"
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr "Bằng Dropbox"
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr "Chèn bằng Facebook"
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr "Thay thế bằng Facebook"
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr "Bằng Facebook"
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr "Chèn bằng Google Drive"
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr "Thay thế bằng Google Drive"
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 "Bằng Google Drive"
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr "Chèn bằng Google Photos"
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr "Thay thế bằng Google Photos"
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 "Bằng Google Photos"
61
+
62
+ msgctxt "The label for the insert image with OneDrive dropdown button."
63
+ msgid "Insert with OneDrive"
64
+ msgstr "Chèn bằng OneDrive"
65
+
66
+ msgctxt "The label for the replace image with OneDrive dropdown button."
67
+ msgid "Replace with OneDrive"
68
+ msgstr "Thay thế bằng OneDrive"
69
+
70
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
+ msgid "With OneDrive"
72
+ msgstr "Bằng OneDrive"
73
+
74
+ msgctxt "The label for the replace image via URL dropdown button."
75
+ msgid "Replace via URL"
76
+ msgstr "Thay thế qua URL"
77
+
78
+ msgctxt "The label for the image edit button and dialog."
79
+ msgid "Edit Image (Uploadcare)"
80
+ msgstr "Chỉnh sửa hình ảnh"
81
+
82
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
+ msgid "Loading image..."
84
+ msgstr "Đang tải ảnh..."
85
+
86
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
+ msgid "Unable to load"
88
+ msgstr "Không thể tải"
89
+
90
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
+ msgid "We were unable to load the image due to network connection issues."
92
+ msgstr "Chúng tôi không thể tải hình ảnh do sự cố kết nối mạng."
93
+
94
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
+ msgid "Try again (Uploadcare)"
96
+ msgstr "Thử lại"
97
+
98
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
+ msgid "The image was not found. Its source may have been removed."
100
+ msgstr "Không tìm thấy hình ảnh. Nguồn của hình ảnh có thể đã bị xóa."
@@ -0,0 +1,100 @@
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_CN\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 "通过 Dropbox 插入"
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr "通过 Dropbox 替换"
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr "通过 Dropbox"
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr "通过 Facebook 插入"
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr "通过 Facebook 替换"
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr "通过 Facebook"
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr "通过 Google Drive 插入"
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr "通过 Google Drive 替换"
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 "通过 Google Drive"
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr "通过 Google Photos 插入"
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr "通过 Google Photos 替换"
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 "通过 Google Photos"
61
+
62
+ msgctxt "The label for the insert image with OneDrive dropdown button."
63
+ msgid "Insert with OneDrive"
64
+ msgstr "通过 OneDrive 插入"
65
+
66
+ msgctxt "The label for the replace image with OneDrive dropdown button."
67
+ msgid "Replace with OneDrive"
68
+ msgstr "通过 OneDrive 替换"
69
+
70
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
+ msgid "With OneDrive"
72
+ msgstr "通过 OneDrive"
73
+
74
+ msgctxt "The label for the replace image via URL dropdown button."
75
+ msgid "Replace via URL"
76
+ msgstr "通过 URL 替换"
77
+
78
+ msgctxt "The label for the image edit button and dialog."
79
+ msgid "Edit Image (Uploadcare)"
80
+ msgstr "编辑图片"
81
+
82
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
+ msgid "Loading image..."
84
+ msgstr "正在加载图像……"
85
+
86
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
+ msgid "Unable to load"
88
+ msgstr "无法加载"
89
+
90
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
+ msgid "We were unable to load the image due to network connection issues."
92
+ msgstr "由于网络连接问题,我们无法加载图片。"
93
+
94
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
+ msgid "Try again (Uploadcare)"
96
+ msgstr "重试"
97
+
98
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
+ msgid "The image was not found. Its source may have been removed."
100
+ msgstr "未找到图片。其源可能已被删除。"
@@ -0,0 +1,100 @@
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 "使用 Dropbox 插入"
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr "使用 Dropbox 替換"
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr "使用 Dropbox"
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr "使用 Facebook 插入"
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr "插入 Facebook 替換"
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr "使用 Facebook"
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr "使用 Google 雲端硬碟插入"
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr "使用 Google 雲端硬碟替換"
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 "使用 Google 雲端硬碟"
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr "使用 Google 相簿插入"
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr "使用 Google 相簿替換"
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 "使用 Google 相簿"
61
+
62
+ msgctxt "The label for the insert image with OneDrive dropdown button."
63
+ msgid "Insert with OneDrive"
64
+ msgstr "使用 OneDrive 插入"
65
+
66
+ msgctxt "The label for the replace image with OneDrive dropdown button."
67
+ msgid "Replace with OneDrive"
68
+ msgstr "使用 OneDrive 替換"
69
+
70
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
+ msgid "With OneDrive"
72
+ msgstr "使用 OneDrive"
73
+
74
+ msgctxt "The label for the replace image via URL dropdown button."
75
+ msgid "Replace via URL"
76
+ msgstr "透過 URL 替換"
77
+
78
+ msgctxt "The label for the image edit button and dialog."
79
+ msgid "Edit Image (Uploadcare)"
80
+ msgstr "編輯圖片"
81
+
82
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
+ msgid "Loading image..."
84
+ msgstr "正在載入圖片..."
85
+
86
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
+ msgid "Unable to load"
88
+ msgstr "無法上傳"
89
+
90
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
+ msgid "We were unable to load the image due to network connection issues."
92
+ msgstr "由於網路連線問題,我們無法上傳影像。"
93
+
94
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
+ msgid "Try again (Uploadcare)"
96
+ msgstr "重試"
97
+
98
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
+ msgid "The image was not found. Its source may have been removed."
100
+ msgstr "找不到影像。影像來源可能已移除。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.0-nightly-20250212.0",
3
+ "version": "0.0.0-nightly-20250213.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,13 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250212.0",
27
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250212.0",
28
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250212.0",
29
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250212.0",
30
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250212.0",
31
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250212.0",
32
- "ckeditor5": "0.0.0-nightly-20250212.0",
26
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250213.0",
27
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250213.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250213.0",
29
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250213.0",
30
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250213.0",
31
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250213.0",
32
+ "ckeditor5": "0.0.0-nightly-20250213.0",
33
33
  "@uploadcare/file-uploader": "1.12.0",
34
34
  "@uploadcare/upload-client": "6.14.1"
35
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e99(){var _0x1becd4=['360796EkGqaf','15320jlvein','85ioKlnQ','232QWPPqJ','62035SymMMv','9798468teggTW','171MDgIDa','2702043OmuIxF','31604620KBPwmb','232743iAzKYB'];_0x4e99=function(){return _0x1becd4;};return _0x4e99();}(function(_0x178098,_0x2377bf){var _0x1a0d0d=_0x2644,_0x36d0e9=_0x178098();while(!![]){try{var _0x5a1eb6=parseInt(_0x1a0d0d(0x94))/0x1+parseInt(_0x1a0d0d(0x91))/0x2*(-parseInt(_0x1a0d0d(0x8c))/0x3)+parseInt(_0x1a0d0d(0x90))/0x4*(parseInt(_0x1a0d0d(0x92))/0x5)+parseInt(_0x1a0d0d(0x8b))/0x6+-parseInt(_0x1a0d0d(0x8f))/0x7*(-parseInt(_0x1a0d0d(0x93))/0x8)+parseInt(_0x1a0d0d(0x8d))/0x9+-parseInt(_0x1a0d0d(0x8e))/0xa;if(_0x5a1eb6===_0x2377bf)break;else _0x36d0e9['push'](_0x36d0e9['shift']());}catch(_0x16a7c0){_0x36d0e9['push'](_0x36d0e9['shift']());}}}(_0x4e99,0xdab76));export{default as Uploadcare}from'./uploadcare.js';function _0x2644(_0x1739c0,_0x37d10b){var _0x4e99d9=_0x4e99();return _0x2644=function(_0x2644a7,_0xd894d4){_0x2644a7=_0x2644a7-0x8b;var _0x42b65e=_0x4e99d9[_0x2644a7];return _0x42b65e;},_0x2644(_0x1739c0,_0x37d10b);}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';import'./augmentation.js';
23
+ (function(_0x24e61b,_0x55ce40){var _0x351030=_0x59a8,_0x1c4b59=_0x24e61b();while(!![]){try{var _0x1528ab=parseInt(_0x351030(0xfb))/0x1*(parseInt(_0x351030(0xfd))/0x2)+-parseInt(_0x351030(0xf8))/0x3*(parseInt(_0x351030(0xfc))/0x4)+-parseInt(_0x351030(0x100))/0x5+-parseInt(_0x351030(0xf9))/0x6+-parseInt(_0x351030(0x101))/0x7*(-parseInt(_0x351030(0xf7))/0x8)+parseInt(_0x351030(0xff))/0x9*(parseInt(_0x351030(0xfe))/0xa)+parseInt(_0x351030(0xfa))/0xb;if(_0x1528ab===_0x55ce40)break;else _0x1c4b59['push'](_0x1c4b59['shift']());}catch(_0x2f59c9){_0x1c4b59['push'](_0x1c4b59['shift']());}}}(_0x3126,0xed980));export{default as Uploadcare}from'./uploadcare.js';function _0x59a8(_0x5a28eb,_0x4d0705){var _0x3126e9=_0x3126();return _0x59a8=function(_0x59a838,_0x4b7535){_0x59a838=_0x59a838-0xf7;var _0x5d4f40=_0x3126e9[_0x59a838];return _0x5d4f40;},_0x59a8(_0x5a28eb,_0x4d0705);}export{default as UploadcareEditing}from'./uploadcareediting.js';function _0x3126(){var _0x41f9f9=['324117opamJE','6443865bgPzsk','238WUgmLg','94312kJHMRE','726861JryEDy','10303590qDKBfe','22791043sbyUTA','354841TzdVWO','4thRYPi','6lpKmon','190kcNMBr'];_0x3126=function(){return _0x41f9f9;};return _0x3126();}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';import'./augmentation.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36be(){const _0x11534c=['26XqmsGm','1213960UZielw','218574heJmzV','imageUpload','ctxElement','8686560PBcQUA','element','doneFlow','_insertAsset','1706193OrHVQh','linkHref','get','image','imageBlock','_dialog','getSelectedElement','uploadCare','length','model','change','width','addEventListener','getLastPosition','Insert','hide','source-list','document','_formView','stopListening','removeAllFiles','setSelection','plugins','initFlow','stopDelegating','getOutputCollectionState','isOpen','46696iPDLmV','attributes','Replace','detail','80409jGUXTH','Local','allEntries','idle','_type','execute','configElement','259COZPeE','setCurrentActivity','focus','_api','text','_initListeners','54174LFmwnt','done-click','imageInfo','85jPmQqd','show','_editing','uuid','imageInline','destroy','_initDialog','selection','_editor','view','status','getAPI','setAttribute','removeSelectionAttribute','EDITOR_TOP_CENTER','_insertImage','insertImage','editing'];_0x36be=function(){return _0x11534c;};return _0x36be();}const _0x2d1748=_0x131b;(function(_0x55c3d7,_0x5398d7){const _0x4ef9ec=_0x131b,_0x2aee53=_0x55c3d7();while(!![]){try{const _0x2623ab=-parseInt(_0x4ef9ec(0x162))/0x1+-parseInt(_0x4ef9ec(0x160))/0x2*(parseInt(_0x4ef9ec(0x13e))/0x3)+-parseInt(_0x4ef9ec(0x161))/0x4+parseInt(_0x4ef9ec(0x14e))/0x5*(parseInt(_0x4ef9ec(0x14b))/0x6)+-parseInt(_0x4ef9ec(0x145))/0x7*(-parseInt(_0x4ef9ec(0x13a))/0x8)+-parseInt(_0x4ef9ec(0x169))/0x9+parseInt(_0x4ef9ec(0x165))/0xa;if(_0x2623ab===_0x5398d7)break;else _0x2aee53['push'](_0x2aee53['shift']());}catch(_0x3cbd2b){_0x2aee53['push'](_0x2aee53['shift']());}}}(_0x36be,0x2b776));import{icons as _0x1fc305}from'ckeditor5/src/core.js';import{ObservableMixin as _0x218b74}from'ckeditor5/src/utils.js';import{Dialog as _0x3ebc64,DialogViewPosition as _0x40bcaf}from'ckeditor5/src/ui.js';import _0x30fe69 from'./uploadcareformview.js';import{UploadcareSource as _0xe0b153}from'../uploadcareconfig.js';function _0x131b(_0x37d571,_0x436222){const _0x36beef=_0x36be();return _0x131b=function(_0x131bc1,_0x51a8e5){_0x131bc1=_0x131bc1-0x12a;let _0x44780b=_0x36beef[_0x131bc1];return _0x44780b;},_0x131b(_0x37d571,_0x436222);}import{getTranslation as _0x190449}from'../utils/common-translations.js';import{getImageUrls as _0x4bbd09,getImageDimension as _0x1939f4}from'../utils/editingutils.js';import{isAncestor as _0x5b7609}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x218b74(){constructor(_0x313949,_0x42fd92,_0x2973b4){const _0x9608be=_0x131b;super(),this[_0x9608be(0x142)]=null,this[_0x9608be(0x131)]=null,this[_0x9608be(0x156)]=_0x313949,this[_0x9608be(0x150)]=_0x42fd92,this[_0x9608be(0x16e)]=_0x313949[_0x9608be(0x135)][_0x9608be(0x16b)](_0x3ebc64),this[_0x9608be(0x148)]=_0x42fd92[_0x9608be(0x164)][_0x9608be(0x159)](),this[_0x9608be(0x142)]=_0x2973b4,this[_0x9608be(0x150)][_0x9608be(0x144)][_0x9608be(0x15a)](_0x9608be(0x12f),this[_0x9608be(0x142)]),this[_0x9608be(0x154)](),this[_0x9608be(0x14a)](),this[_0x9608be(0x148)][_0x9608be(0x136)]();}[_0x2d1748(0x153)](){const _0x2806b0=_0x2d1748;this[_0x2806b0(0x131)]&&(this[_0x2806b0(0x131)][_0x2806b0(0x153)](),this[_0x2806b0(0x131)]=null),this[_0x2806b0(0x148)]&&this[_0x2806b0(0x148)][_0x2806b0(0x167)](),this[_0x2806b0(0x132)](),this[_0x2806b0(0x137)]();}[_0x2d1748(0x154)](){const _0x2a7ead=_0x2d1748,{locale:_0x1eb20b,model:_0x47efcb}=this[_0x2a7ead(0x156)],_0x46455c=_0x47efcb[_0x2a7ead(0x130)][_0x2a7ead(0x155)][_0x2a7ead(0x16f)](),_0x112160=_0x46455c&&(_0x46455c['is'](_0x2a7ead(0x166),_0x2a7ead(0x16d))||_0x46455c['is'](_0x2a7ead(0x166),_0x2a7ead(0x152)));this[_0x2a7ead(0x131)]=new _0x30fe69(_0x1eb20b),this[_0x2a7ead(0x16e)][_0x2a7ead(0x14f)]({'id':_0x2a7ead(0x170),'icon':_0x1fc305[_0x2a7ead(0x163)],'title':_0x190449(_0x1eb20b,this[_0x2a7ead(0x142)],_0x112160?_0x2a7ead(0x13c):_0x2a7ead(0x12d))[_0x2a7ead(0x149)],'content':this[_0x2a7ead(0x131)],'position':_0x40bcaf[_0x2a7ead(0x15c)],'isModal':!0x0,'onShow':()=>{const _0x358654=_0x2a7ead;this[_0x358654(0x131)][_0x358654(0x147)]();},'onHide':()=>{const _0x1375dd=_0x2a7ead;this[_0x1375dd(0x148)][_0x1375dd(0x133)](),this[_0x1375dd(0x156)][_0x1375dd(0x15f)][_0x1375dd(0x157)][_0x1375dd(0x147)](),this[_0x1375dd(0x153)]();},'keystrokeHandlerOptions':{'filter':_0x317e9a=>!_0x5b7609(_0x317e9a,this[_0x2a7ead(0x131)][_0x2a7ead(0x166)])}});}[_0x2d1748(0x14a)](){const _0x4321db=_0x2d1748;this[_0x4321db(0x150)][_0x4321db(0x164)][_0x4321db(0x12b)](_0x4321db(0x14c),()=>{const _0x44a958=_0x4321db,{allEntries:_0x3474c9}=this[_0x44a958(0x148)][_0x44a958(0x138)]();this[_0x44a958(0x156)][_0x44a958(0x172)][_0x44a958(0x173)](_0x33b8b1=>{const _0x598ad2=_0x44a958,_0x2afaaf=_0x3474c9[_0x598ad2(0x171)];for(const _0x472036 of _0x3474c9){const _0x4514e6=_0x472036===_0x3474c9[_0x2afaaf-0x1],{cdnUrl:_0x586cfc,fileInfo:_0x51f19a}=_0x472036;if(!_0x586cfc||!_0x51f19a)continue;const {width:_0x25761a,height:_0x214f96}=_0x51f19a[_0x598ad2(0x14d)],_0x1b0872=_0x1939f4(_0x586cfc,_0x25761a,_0x214f96),_0x4858c6=_0x4bbd09(_0x586cfc,_0x1b0872[_0x598ad2(0x12a)]),_0x4b4a55={'id':_0x51f19a[_0x598ad2(0x151)],'type':_0x598ad2(0x16c),'attributes':{'imageDimension':_0x1b0872,..._0x4858c6}};this[_0x598ad2(0x168)](_0x4b4a55,_0x4514e6,_0x33b8b1);}}),this[_0x44a958(0x16e)][_0x44a958(0x12e)]();}),this[_0x4321db(0x150)][_0x4321db(0x164)][_0x4321db(0x12b)](_0x4321db(0x173),_0x5ac579=>{const _0x4d0927=_0x4321db;_0x4d0927(0x141)===_0x5ac579[_0x4d0927(0x13d)][_0x4d0927(0x158)]&&!_0x5ac579[_0x4d0927(0x13d)][_0x4d0927(0x140)][_0x4d0927(0x171)]&&this[_0x4d0927(0x16e)][_0x4d0927(0x139)]&&(this[_0x4d0927(0x142)]===_0xe0b153[_0x4d0927(0x13f)]?this[_0x4d0927(0x148)][_0x4d0927(0x146)](_0xe0b153[_0x4d0927(0x13f)]):this[_0x4d0927(0x148)][_0x4d0927(0x136)]());});}[_0x2d1748(0x168)](_0x1fc6d2,_0x214ad4,_0x33b488){const _0x30feb2=_0x2d1748,_0x213d94=this[_0x30feb2(0x156)][_0x30feb2(0x172)][_0x30feb2(0x130)][_0x30feb2(0x155)],_0x5930ea=_0x213d94[_0x30feb2(0x16f)](),_0x2d423f=!(!_0x5930ea||!_0x5930ea['is'](_0x30feb2(0x166),_0x30feb2(0x152)));_0x33b488[_0x30feb2(0x15b)](_0x30feb2(0x16a)),this[_0x30feb2(0x15d)](_0x1fc6d2,_0x2d423f),_0x214ad4||_0x33b488[_0x30feb2(0x134)](_0x213d94[_0x30feb2(0x12c)]());}[_0x2d1748(0x15d)](_0x6c3c25,_0x463692){const _0x1ef84c=_0x2d1748,_0x4525de=this[_0x1ef84c(0x156)],{imageDimension:_0x23a41d,imageFallbackUrl:_0x28a9ed,imageSources:_0x188829}=_0x6c3c25[_0x1ef84c(0x13b)];_0x4525de[_0x1ef84c(0x143)](_0x1ef84c(0x15e),{'imageType':_0x463692?_0x1ef84c(0x152):null,'source':{'uploadcareImageId':_0x6c3c25['id'],'src':_0x28a9ed,'sources':_0x188829,..._0x23a41d}});}}
23
+ const _0x5488c6=_0x115d;(function(_0x5b9fff,_0x165cae){const _0x35fae2=_0x115d,_0x2fdbb3=_0x5b9fff();while(!![]){try{const _0x543a18=parseInt(_0x35fae2(0xcb))/0x1*(-parseInt(_0x35fae2(0xc4))/0x2)+parseInt(_0x35fae2(0xad))/0x3*(parseInt(_0x35fae2(0xba))/0x4)+parseInt(_0x35fae2(0x8a))/0x5+parseInt(_0x35fae2(0x98))/0x6*(parseInt(_0x35fae2(0xa7))/0x7)+parseInt(_0x35fae2(0xbc))/0x8+-parseInt(_0x35fae2(0x97))/0x9*(parseInt(_0x35fae2(0xbf))/0xa)+parseInt(_0x35fae2(0x9f))/0xb;if(_0x543a18===_0x165cae)break;else _0x2fdbb3['push'](_0x2fdbb3['shift']());}catch(_0x1c9d7c){_0x2fdbb3['push'](_0x2fdbb3['shift']());}}}(_0x57d2,0x57e5d));import{icons as _0x5b4bf4}from'ckeditor5/src/core.js';import{ObservableMixin as _0x517118}from'ckeditor5/src/utils.js';import{Dialog as _0x21624e,DialogViewPosition as _0x577a69}from'ckeditor5/src/ui.js';import _0x540fe0 from'./uploadcareformview.js';import{UploadcareSource as _0x1f33da}from'../uploadcareconfig.js';function _0x115d(_0x17cf16,_0x53b06e){const _0x57d2a3=_0x57d2();return _0x115d=function(_0x115d24,_0x3d0914){_0x115d24=_0x115d24-0x82;let _0x3b132=_0x57d2a3[_0x115d24];return _0x3b132;},_0x115d(_0x17cf16,_0x53b06e);}import{getTranslation as _0x1a7115}from'../utils/common-translations.js';import{getImageUrls as _0x27c769,getImageDimension as _0x4cd47f}from'../utils/editingutils.js';import{isAncestor as _0x18d526}from'../utils/isancestor.js';function _0x57d2(){const _0x5cc094=['editing','71342lmVVJF','getAPI','show','model','width','image','_initListeners','_api','allEntries','destroy','220405RWlFmA','configElement','selection','change','_insertAsset','imageInline','stopListening','text','view','_initDialog','_formView','getOutputCollectionState','uuid','10575ytJJuM','810AqJVgH','execute','focus','EDITOR_TOP_CENTER','ctxElement','imageInfo','addEventListener','5139673aFtYdi','isOpen','attributes','linkHref','source-list','setCurrentActivity','_dialog','_editor','7903mrDMGG','Local','uploadCare','_type','removeSelectionAttribute','stopDelegating','818877iwEPVa','status','imageUpload','removeAllFiles','done-click','element','Replace','imageBlock','_insertImage','idle','setAttribute','get','insertImage','4lYQSzb','getLastPosition','3580936niKzpO','Insert','length','3860sTuNdA','_editing','plugins','getSelectedElement','doneFlow','16KxFNhG','setSelection','detail','document','initFlow','hide'];_0x57d2=function(){return _0x5cc094;};return _0x57d2();}export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x517118(){constructor(_0x525372,_0x41811d,_0x316491){const _0x8bead4=_0x115d;super(),this[_0x8bead4(0xaa)]=null,this[_0x8bead4(0x94)]=null,this[_0x8bead4(0xa6)]=_0x525372,this[_0x8bead4(0xc0)]=_0x41811d,this[_0x8bead4(0xa5)]=_0x525372[_0x8bead4(0xc1)][_0x8bead4(0xb8)](_0x21624e),this[_0x8bead4(0x87)]=_0x41811d[_0x8bead4(0x9c)][_0x8bead4(0xcc)](),this[_0x8bead4(0xaa)]=_0x316491,this[_0x8bead4(0xc0)][_0x8bead4(0x8b)][_0x8bead4(0xb7)](_0x8bead4(0xa3),this[_0x8bead4(0xaa)]),this[_0x8bead4(0x93)](),this[_0x8bead4(0x86)](),this[_0x8bead4(0x87)][_0x8bead4(0xc8)]();}[_0x5488c6(0x89)](){const _0x217039=_0x5488c6;this[_0x217039(0x94)]&&(this[_0x217039(0x94)][_0x217039(0x89)](),this[_0x217039(0x94)]=null),this[_0x217039(0x87)]&&this[_0x217039(0x87)][_0x217039(0xc3)](),this[_0x217039(0x90)](),this[_0x217039(0xac)]();}[_0x5488c6(0x93)](){const _0x30e303=_0x5488c6,{locale:_0x533bcc,model:_0x281624}=this[_0x30e303(0xa6)],_0x330190=_0x281624[_0x30e303(0xc7)][_0x30e303(0x8c)][_0x30e303(0xc2)](),_0x4cc177=_0x330190&&(_0x330190['is'](_0x30e303(0xb2),_0x30e303(0xb4))||_0x330190['is'](_0x30e303(0xb2),_0x30e303(0x8f)));this[_0x30e303(0x94)]=new _0x540fe0(_0x533bcc),this[_0x30e303(0xa5)][_0x30e303(0x82)]({'id':_0x30e303(0xa9),'icon':_0x5b4bf4[_0x30e303(0xaf)],'title':_0x1a7115(_0x533bcc,this[_0x30e303(0xaa)],_0x4cc177?_0x30e303(0xb3):_0x30e303(0xbd))[_0x30e303(0x91)],'content':this[_0x30e303(0x94)],'position':_0x577a69[_0x30e303(0x9b)],'isModal':!0x0,'onShow':()=>{const _0x44581d=_0x30e303;this[_0x44581d(0x94)][_0x44581d(0x9a)]();},'onHide':()=>{const _0x3fd696=_0x30e303;this[_0x3fd696(0x87)][_0x3fd696(0xb0)](),this[_0x3fd696(0xa6)][_0x3fd696(0xca)][_0x3fd696(0x92)][_0x3fd696(0x9a)](),this[_0x3fd696(0x89)]();},'keystrokeHandlerOptions':{'filter':_0x4dbb2c=>!_0x18d526(_0x4dbb2c,this[_0x30e303(0x94)][_0x30e303(0xb2)])}});}[_0x5488c6(0x86)](){const _0xb97494=_0x5488c6;this[_0xb97494(0xc0)][_0xb97494(0x9c)][_0xb97494(0x9e)](_0xb97494(0xb1),()=>{const _0x14cc89=_0xb97494,{allEntries:_0x4613d0}=this[_0x14cc89(0x87)][_0x14cc89(0x95)]();this[_0x14cc89(0xa6)][_0x14cc89(0x83)][_0x14cc89(0x8d)](_0x2ee069=>{const _0x36c681=_0x14cc89,_0x50c0a3=_0x4613d0[_0x36c681(0xbe)];for(const _0x163d78 of _0x4613d0){const _0x1ae02b=_0x163d78===_0x4613d0[_0x50c0a3-0x1],{cdnUrl:_0x183276,fileInfo:_0x16994a}=_0x163d78;if(!_0x183276||!_0x16994a)continue;const {width:_0x465ef3,height:_0xd63892}=_0x16994a[_0x36c681(0x9d)],_0x66fd36=_0x4cd47f(_0x183276,_0x465ef3,_0xd63892),_0xa846e1=_0x27c769(_0x183276,_0x66fd36[_0x36c681(0x84)]),_0x182b1f={'id':_0x16994a[_0x36c681(0x96)],'type':_0x36c681(0x85),'attributes':{'imageDimension':_0x66fd36,..._0xa846e1}};this[_0x36c681(0x8e)](_0x182b1f,_0x1ae02b,_0x2ee069);}}),this[_0x14cc89(0xa5)][_0x14cc89(0xc9)]();}),this[_0xb97494(0xc0)][_0xb97494(0x9c)][_0xb97494(0x9e)](_0xb97494(0x8d),_0x4fe70d=>{const _0x368b8d=_0xb97494;_0x368b8d(0xb6)===_0x4fe70d[_0x368b8d(0xc6)][_0x368b8d(0xae)]&&!_0x4fe70d[_0x368b8d(0xc6)][_0x368b8d(0x88)][_0x368b8d(0xbe)]&&this[_0x368b8d(0xa5)][_0x368b8d(0xa0)]&&(this[_0x368b8d(0xaa)]===_0x1f33da[_0x368b8d(0xa8)]?this[_0x368b8d(0x87)][_0x368b8d(0xa4)](_0x1f33da[_0x368b8d(0xa8)]):this[_0x368b8d(0x87)][_0x368b8d(0xc8)]());});}[_0x5488c6(0x8e)](_0x56af9e,_0x5b1aed,_0x1eb483){const _0x3138e3=_0x5488c6,_0x56a73c=this[_0x3138e3(0xa6)][_0x3138e3(0x83)][_0x3138e3(0xc7)][_0x3138e3(0x8c)],_0x5dcf87=_0x56a73c[_0x3138e3(0xc2)](),_0x5224e1=!(!_0x5dcf87||!_0x5dcf87['is'](_0x3138e3(0xb2),_0x3138e3(0x8f)));_0x1eb483[_0x3138e3(0xab)](_0x3138e3(0xa2)),this[_0x3138e3(0xb5)](_0x56af9e,_0x5224e1),_0x5b1aed||_0x1eb483[_0x3138e3(0xc5)](_0x56a73c[_0x3138e3(0xbb)]());}[_0x5488c6(0xb5)](_0x1329a9,_0xd49688){const _0x21da41=_0x5488c6,_0x19dbd3=this[_0x21da41(0xa6)],{imageDimension:_0x6ac1e6,imageFallbackUrl:_0xe0ebd6,imageSources:_0x4732f7}=_0x1329a9[_0x21da41(0xa1)];_0x19dbd3[_0x21da41(0x99)](_0x21da41(0xb9),{'imageType':_0xd49688?_0x21da41(0x8f):null,'source':{'uploadcareImageId':_0x1329a9['id'],'src':_0xe0ebd6,'sources':_0x4732f7,..._0x6ac1e6}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3bc2f1=_0x568c;function _0x568c(_0x32b4f7,_0x483d6e){var _0x472549=_0x4725();return _0x568c=function(_0x568c50,_0x2e1a1b){_0x568c50=_0x568c50-0x1bb;var _0x4d4394=_0x472549[_0x568c50];return _0x4d4394;},_0x568c(_0x32b4f7,_0x483d6e);}(function(_0x1f7233,_0x29600f){var _0xeb2a5e=_0x568c,_0x11539e=_0x1f7233();while(!![]){try{var _0x3be7ba=-parseInt(_0xeb2a5e(0x1c3))/0x1*(parseInt(_0xeb2a5e(0x1c6))/0x2)+-parseInt(_0xeb2a5e(0x1c1))/0x3+parseInt(_0xeb2a5e(0x1ca))/0x4*(-parseInt(_0xeb2a5e(0x1be))/0x5)+-parseInt(_0xeb2a5e(0x1bd))/0x6+-parseInt(_0xeb2a5e(0x1c7))/0x7+-parseInt(_0xeb2a5e(0x1c4))/0x8*(parseInt(_0xeb2a5e(0x1bb))/0x9)+parseInt(_0xeb2a5e(0x1cd))/0xa;if(_0x3be7ba===_0x29600f)break;else _0x11539e['push'](_0x11539e['shift']());}catch(_0x356d70){_0x11539e['push'](_0x11539e['shift']());}}}(_0x4725,0xd035b));function _0x4725(){var _0x3ab3a0=['ck-uploadcare-form','uc-light','5391SOvEsk','uploader','8903454rnzkXA','2440bQqtkq','setTemplate','ck-uploadcare-theme','4445073UdYvPR','uc-file-uploader-inline','35431bYHnHg','12848fRlNNp','element','24LaTxkR','5440820sTrOVf','focus','getFocusableElement','1648MRsJKI','ck-reset_all-excluded','div','61839090fAsjAX'];_0x4725=function(){return _0x3ab3a0;};return _0x4725();}import _0x9f5c93 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x9f5c93{constructor(_0x255c74){var _0x45f988=_0x568c;super(_0x255c74),this[_0x45f988(0x1bf)]({'tag':_0x45f988(0x1cc),'attributes':{'class':['ck',_0x45f988(0x1cb),_0x45f988(0x1ce)],'tabindex':'-1'},'children':[{'tag':_0x45f988(0x1c2),'attributes':{'class':[_0x45f988(0x1cf),_0x45f988(0x1c0)],'ctx-name':_0x45f988(0x1bc)}},this[_0x45f988(0x1c9)]()]});}[_0x3bc2f1(0x1c8)](){var _0x167bc2=_0x3bc2f1;this[_0x167bc2(0x1c5)][_0x167bc2(0x1c8)]();}}
23
+ var _0x469071=_0x34e5;(function(_0x55bf10,_0x15c9ce){var _0x5853f2=_0x34e5,_0x267bca=_0x55bf10();while(!![]){try{var _0x96f512=-parseInt(_0x5853f2(0x1b9))/0x1+-parseInt(_0x5853f2(0x1ab))/0x2*(parseInt(_0x5853f2(0x1ba))/0x3)+parseInt(_0x5853f2(0x1bc))/0x4+-parseInt(_0x5853f2(0x1b2))/0x5*(parseInt(_0x5853f2(0x1b3))/0x6)+parseInt(_0x5853f2(0x1b4))/0x7*(parseInt(_0x5853f2(0x1b8))/0x8)+-parseInt(_0x5853f2(0x1bb))/0x9+parseInt(_0x5853f2(0x1ac))/0xa*(parseInt(_0x5853f2(0x1ae))/0xb);if(_0x96f512===_0x15c9ce)break;else _0x267bca['push'](_0x267bca['shift']());}catch(_0x5c5a93){_0x267bca['push'](_0x267bca['shift']());}}}(_0x49c0,0x40f36));import _0x1fcdaf from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x1fcdaf{constructor(_0xfa9cea){var _0x53dadc=_0x34e5;super(_0xfa9cea),this[_0x53dadc(0x1b0)]({'tag':_0x53dadc(0x1af),'attributes':{'class':['ck',_0x53dadc(0x1b7),_0x53dadc(0x1c0)],'tabindex':'-1'},'children':[{'tag':_0x53dadc(0x1bd),'attributes':{'class':[_0x53dadc(0x1be),_0x53dadc(0x1ad)],'ctx-name':_0x53dadc(0x1b1)}},this[_0x53dadc(0x1bf)]()]});}[_0x469071(0x1b6)](){var _0x403b22=_0x469071;this[_0x403b22(0x1b5)][_0x403b22(0x1b6)]();}}function _0x34e5(_0x102813,_0x368b27){var _0x49c0fd=_0x49c0();return _0x34e5=function(_0x34e5bc,_0x3e2cf1){_0x34e5bc=_0x34e5bc-0x1ab;var _0x5e2531=_0x49c0fd[_0x34e5bc];return _0x5e2531;},_0x34e5(_0x102813,_0x368b27);}function _0x49c0(){var _0x49a8c9=['56755MdYxzg','222XsVbcN','798133kUYAtk','element','focus','ck-reset_all-excluded','8ZLglwD','175624pYQKvQ','17607mAvRLz','3310110jVcvzp','1282160xmcZOc','uc-file-uploader-inline','uc-light','getFocusableElement','ck-uploadcare-form','102FbEkBi','125770bFXgLI','ck-uploadcare-theme','957INUZsR','div','setTemplate','uploader'];_0x49c0=function(){return _0x49a8c9;};return _0x49c0();}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37d824=_0x174e;function _0x174e(_0xb081b9,_0x5bfc3f){var _0x1e4a60=_0x1e4a();return _0x174e=function(_0x174ea0,_0x419a34){_0x174ea0=_0x174ea0-0x73;var _0x4acda0=_0x1e4a60[_0x174ea0];return _0x4acda0;},_0x174e(_0xb081b9,_0x5bfc3f);}(function(_0x46e39b,_0x1039dd){var _0x309498=_0x174e,_0x3c60e7=_0x46e39b();while(!![]){try{var _0x4c6ef1=-parseInt(_0x309498(0x77))/0x1*(-parseInt(_0x309498(0x81))/0x2)+-parseInt(_0x309498(0x82))/0x3*(-parseInt(_0x309498(0x7b))/0x4)+parseInt(_0x309498(0x74))/0x5*(parseInt(_0x309498(0x76))/0x6)+parseInt(_0x309498(0x7f))/0x7*(parseInt(_0x309498(0x88))/0x8)+parseInt(_0x309498(0x7a))/0x9*(parseInt(_0x309498(0x86))/0xa)+-parseInt(_0x309498(0x83))/0xb*(parseInt(_0x309498(0x78))/0xc)+-parseInt(_0x309498(0x7c))/0xd;if(_0x4c6ef1===_0x1039dd)break;else _0x3c60e7['push'](_0x3c60e7['shift']());}catch(_0x13bae7){_0x3c60e7['push'](_0x3c60e7['shift']());}}}(_0x1e4a,0x4d8d7));import{Plugin as _0x155b70}from'ckeditor5/src/core.js';import _0x26e036 from'./uploadcareui.js';function _0x1e4a(){var _0xa3e1d=['pluginName','118307TlKjgh','config','2SrXxBy','402zoDUDw','121649iwsEVq','requires','Uploadcare','870laIMaR','define','200llIASS','uploadcare.uploader.sourceList','defineComponents','isOfficialPlugin','405XQsOMt','isPremiumPlugin','23442MNyHnW','322726nqXwjH','60PdLifc','URL','65331HtfTTe','12820ACRJnw','22747023GAPTmb','Local'];_0x1e4a=function(){return _0xa3e1d;};return _0x1e4a();}import _0x369142 from'./uploadcareediting.js';import{UploadcareSource as _0x2a49b2}from'./uploadcareconfig.js';import*as _0x3436c1 from'@uploadcare/file-uploader';export default class u extends _0x155b70{static get[_0x37d824(0x84)](){return[_0x369142,_0x26e036];}static get[_0x37d824(0x7e)](){var _0x3adad2=_0x37d824;return _0x3adad2(0x85);}static get[_0x37d824(0x73)](){return!0x0;}static get[_0x37d824(0x75)](){return!0x0;}constructor(_0x1a444b){var _0x15839d=_0x37d824;super(_0x1a444b),_0x1a444b[_0x15839d(0x80)][_0x15839d(0x87)](_0x15839d(0x89),[_0x2a49b2[_0x15839d(0x7d)],_0x2a49b2[_0x15839d(0x79)]]),_0x3436c1[_0x15839d(0x8a)](_0x3436c1);}}
23
+ var _0x35995f=_0x2ed6;function _0x2502(){var _0x1d1a52=['pluginName','250296saAiTK','31176LCsWym','defineComponents','3310FLWVCN','70KOqXsJ','818825nwSJbD','2463978Ieqpef','uploadcare.uploader.sourceList','isPremiumPlugin','145623FWjBhi','URL','config','3888550LiIXnU','Uploadcare','Local','968dSWoKa','137paUzlb','requires','isOfficialPlugin','define','4tYgNCZ'];_0x2502=function(){return _0x1d1a52;};return _0x2502();}(function(_0x5053f0,_0x693d86){var _0x21426e=_0x2ed6,_0x3d8c04=_0x5053f0();while(!![]){try{var _0x395744=parseInt(_0x21426e(0xe0))/0x1*(parseInt(_0x21426e(0xd3))/0x2)+parseInt(_0x21426e(0xd9))/0x3*(parseInt(_0x21426e(0xce))/0x4)+parseInt(_0x21426e(0xd5))/0x5+-parseInt(_0x21426e(0xd0))/0x6*(-parseInt(_0x21426e(0xd4))/0x7)+parseInt(_0x21426e(0xdf))/0x8*(-parseInt(_0x21426e(0xd1))/0x9)+-parseInt(_0x21426e(0xdc))/0xa+parseInt(_0x21426e(0xd6))/0xb;if(_0x395744===_0x693d86)break;else _0x3d8c04['push'](_0x3d8c04['shift']());}catch(_0x371281){_0x3d8c04['push'](_0x3d8c04['shift']());}}}(_0x2502,0x42748));import{Plugin as _0xb9d433}from'ckeditor5/src/core.js';import _0x3f3135 from'./uploadcareui.js';function _0x2ed6(_0x122fb2,_0x5c250f){var _0x25026e=_0x2502();return _0x2ed6=function(_0x2ed6cd,_0x5e4f38){_0x2ed6cd=_0x2ed6cd-0xcc;var _0x1da556=_0x25026e[_0x2ed6cd];return _0x1da556;},_0x2ed6(_0x122fb2,_0x5c250f);}import _0x5ab1b6 from'./uploadcareediting.js';import{UploadcareSource as _0xe96b01}from'./uploadcareconfig.js';import*as _0x4e8624 from'@uploadcare/file-uploader';export default class u extends _0xb9d433{static get[_0x35995f(0xe1)](){return[_0x5ab1b6,_0x3f3135];}static get[_0x35995f(0xcf)](){var _0x236ffa=_0x35995f;return _0x236ffa(0xdd);}static get[_0x35995f(0xcc)](){return!0x0;}static get[_0x35995f(0xd8)](){return!0x0;}constructor(_0x3a04d6){var _0x42861e=_0x35995f;super(_0x3a04d6),_0x3a04d6[_0x42861e(0xdb)][_0x42861e(0xcd)](_0x42861e(0xd7),[_0xe96b01[_0x42861e(0xde)],_0xe96b01[_0x42861e(0xda)]]),_0x4e8624[_0x42861e(0xd2)](_0x4e8624);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x37d2b5=_0x4251;(function(_0x206208,_0x1e78ff){var _0x362141=_0x4251,_0x38d0c1=_0x206208();while(!![]){try{var _0x5a6cf9=parseInt(_0x362141(0xcb))/0x1+-parseInt(_0x362141(0xde))/0x2*(parseInt(_0x362141(0xd5))/0x3)+parseInt(_0x362141(0xd1))/0x4+-parseInt(_0x362141(0xd6))/0x5+parseInt(_0x362141(0xd8))/0x6+-parseInt(_0x362141(0xc9))/0x7*(parseInt(_0x362141(0xd3))/0x8)+-parseInt(_0x362141(0xd7))/0x9;if(_0x5a6cf9===_0x1e78ff)break;else _0x38d0c1['push'](_0x38d0c1['shift']());}catch(_0x435cda){_0x38d0c1['push'](_0x38d0c1['shift']());}}}(_0x12c0,0x57d0f));import{Command as _0x391065}from'ckeditor5/src/core.js';import{Dialog as _0x4e47b5}from'ckeditor5/src/ui.js';import _0x41e327 from'./uploadcareediting.js';function _0x4251(_0x3868e7,_0x55794b){var _0x12c038=_0x12c0();return _0x4251=function(_0x425137,_0x5d927c){_0x425137=_0x425137-0xc9;var _0x21f0b7=_0x12c038[_0x425137];return _0x21f0b7;},_0x4251(_0x3868e7,_0x55794b);}import _0x50aa91 from'./ui/uploadcarecontroller.js';function _0x12c0(){var _0x2d9b42=['editor','2922smviOA','156955JTLKvy','128880kNJBRx','3402828RnoNWW','destroy','_editing','get','refresh','_controller','344MpWkJw','4405667LnnzDk','_checkEnabled','19204NDCEmk','execute','commands','isEnabled','plugins','requires','2463892lMmYGH','insertImage','8rthTdE'];_0x12c0=function(){return _0x2d9b42;};return _0x12c0();}export default class l extends _0x391065{static get[_0x37d2b5(0xd0)](){return[_0x4e47b5,_0x41e327];}constructor(_0x15000c){var _0xfe6e58=_0x37d2b5;super(_0x15000c),this[_0xfe6e58(0xdd)]=null,this[_0xfe6e58(0xda)]=_0x15000c[_0xfe6e58(0xcf)][_0xfe6e58(0xdb)](_0x41e327);}[_0x37d2b5(0xdc)](){var _0x3414cd=_0x37d2b5;this[_0x3414cd(0xce)]=this[_0x3414cd(0xca)]();}[_0x37d2b5(0xcc)](_0x296000){var _0x3cacd4=_0x37d2b5;this[_0x3cacd4(0xdd)]&&(this[_0x3cacd4(0xdd)][_0x3cacd4(0xd9)](),this[_0x3cacd4(0xdd)]=null),this[_0x3cacd4(0xdd)]=new _0x50aa91(this[_0x3cacd4(0xd4)],this[_0x3cacd4(0xda)],_0x296000);}[_0x37d2b5(0xca)](){var _0x4fb794=_0x37d2b5;return this[_0x4fb794(0xd4)][_0x4fb794(0xcd)][_0x4fb794(0xdb)](_0x4fb794(0xd2))[_0x4fb794(0xce)];}}
23
+ var _0x5b137e=_0x5727;function _0x458d(){var _0x2dc78a=['7550796DhBPiz','154VPuIAM','get','190758vEGwEs','isEnabled','plugins','427460AoZZZB','execute','80466sQAlaI','commands','139530oRuxZd','248tAkqgS','refresh','4353qnPLmR','_controller','_editing','9tofUjg','7tkLyjU','editor','insertImage','1114832QRYRov','destroy','_checkEnabled','1OTmmDQ','requires'];_0x458d=function(){return _0x2dc78a;};return _0x458d();}(function(_0x3116af,_0x3e11f0){var _0x31a632=_0x5727,_0x3bf931=_0x3116af();while(!![]){try{var _0x2a346a=-parseInt(_0x31a632(0x111))/0x1*(parseInt(_0x31a632(0x11b))/0x2)+-parseInt(_0x31a632(0x120))/0x3*(parseInt(_0x31a632(0x11e))/0x4)+-parseInt(_0x31a632(0x119))/0x5+-parseInt(_0x31a632(0x116))/0x6*(-parseInt(_0x31a632(0x124))/0x7)+parseInt(_0x31a632(0x127))/0x8*(-parseInt(_0x31a632(0x123))/0x9)+-parseInt(_0x31a632(0x11d))/0xa*(parseInt(_0x31a632(0x114))/0xb)+parseInt(_0x31a632(0x113))/0xc;if(_0x2a346a===_0x3e11f0)break;else _0x3bf931['push'](_0x3bf931['shift']());}catch(_0x2a6cad){_0x3bf931['push'](_0x3bf931['shift']());}}}(_0x458d,0x1b033));import{Command as _0x28adb7}from'ckeditor5/src/core.js';import{Dialog as _0x2b990d}from'ckeditor5/src/ui.js';import _0xf3e04f from'./uploadcareediting.js';function _0x5727(_0x5c2934,_0x429371){var _0x458d02=_0x458d();return _0x5727=function(_0x5727fc,_0x3a61f2){_0x5727fc=_0x5727fc-0x110;var _0x2a5743=_0x458d02[_0x5727fc];return _0x2a5743;},_0x5727(_0x5c2934,_0x429371);}import _0x6eb693 from'./ui/uploadcarecontroller.js';export default class l extends _0x28adb7{static get[_0x5b137e(0x112)](){return[_0x2b990d,_0xf3e04f];}constructor(_0x26445f){var _0x316f01=_0x5b137e;super(_0x26445f),this[_0x316f01(0x121)]=null,this[_0x316f01(0x122)]=_0x26445f[_0x316f01(0x118)][_0x316f01(0x115)](_0xf3e04f);}[_0x5b137e(0x11f)](){var _0x30bdaa=_0x5b137e;this[_0x30bdaa(0x117)]=this[_0x30bdaa(0x110)]();}[_0x5b137e(0x11a)](_0x5cdfd2){var _0x530e42=_0x5b137e;this[_0x530e42(0x121)]&&(this[_0x530e42(0x121)][_0x530e42(0x128)](),this[_0x530e42(0x121)]=null),this[_0x530e42(0x121)]=new _0x6eb693(this[_0x530e42(0x125)],this[_0x530e42(0x122)],_0x5cdfd2);}[_0x5b137e(0x110)](){var _0x1ce5ed=_0x5b137e;return this[_0x1ce5ed(0x125)][_0x1ce5ed(0x11c)][_0x1ce5ed(0x115)](_0x1ce5ed(0x126))[_0x1ce5ed(0x117)];}}
@@ -35,7 +35,6 @@ import type { ConfigType } from '@uploadcare/file-uploader';
35
35
  * sourceList: [
36
36
  * 'local',
37
37
  * 'url',
38
- * 'instagram',
39
38
  * 'gdrive'
40
39
  * ],
41
40
  * },
@@ -48,7 +47,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
48
47
  *
49
48
  * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
50
49
  */
51
- export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
50
+ export interface UploadcareConfig {
52
51
  /**
53
52
  * The public key used for communication with the Uploadcare services.
54
53
  *
@@ -67,7 +66,6 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
67
66
  * * 'gdrive'
68
67
  * * 'facebook'
69
68
  * * 'gphotos'
70
- * * 'instagram'
71
69
  * * 'onedrive'
72
70
  *
73
71
  * Additionally, below options are not supported:
@@ -81,7 +79,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
81
79
  *
82
80
  * All other options documented in the Uploadcare documentation are supported.
83
81
  */
84
- uploader: UploadcareUploaderConfig;
82
+ uploader?: UploadcareUploaderConfig;
85
83
  /**
86
84
  * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
87
85
  *
@@ -91,7 +89,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
91
89
  * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
92
90
  * are not supported in the config options.
93
91
  */
94
- editor: UploadcareEditorConfig;
92
+ editor?: UploadcareEditorConfig;
95
93
  /**
96
94
  * Allows editing images that are not hosted in Uploadcare service.
97
95
  *
@@ -116,13 +114,13 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
116
114
  *
117
115
  * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
118
116
  */
119
- export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
117
+ export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
120
118
  /**
121
119
  * Comma-separated list of file sources.
122
120
  *
123
121
  * @default [ 'local', 'url' ]
124
122
  */
125
- sourceList?: Array<UploadcareSource>;
123
+ sourceList?: Array<UploadcareSourceValue>;
126
124
  }
127
125
  /**
128
126
  * Configuration for the Uploadcare Image Editor component.
@@ -148,9 +146,12 @@ export declare enum UploadcareSource {
148
146
  GDrive = "gdrive",
149
147
  Facebook = "facebook",
150
148
  GPhotos = "gphotos",
151
- Instagram = "instagram",
152
149
  OneDrive = "onedrive"
153
150
  }
151
+ /**
152
+ * Values for all available upload sources.
153
+ */
154
+ export type UploadcareSourceValue = `${UploadcareSource}`;
154
155
  /**
155
156
  * Image asset definition.
156
157
  *