@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250217.0 → 0.0.0-nightly-20250218.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.
- package/LICENSE.md +5 -0
- package/README.md +16 -5
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/build/uploadcare.js +2 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +23 -0
- package/dist/translations/ast.umd.js +23 -0
- package/dist/translations/az.d.ts +8 -0
- package/dist/translations/az.js +23 -0
- package/dist/translations/az.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/bs.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de-ch.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +23 -0
- package/dist/translations/en-gb.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +23 -0
- package/dist/translations/eo.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +23 -0
- package/dist/translations/eu.umd.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fa.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +23 -0
- package/dist/translations/gu.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +23 -0
- package/dist/translations/hy.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +23 -0
- package/dist/translations/kk.umd.js +23 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +23 -0
- package/dist/translations/km.umd.js +23 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +23 -0
- package/dist/translations/kn.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/ku.d.ts +8 -0
- package/dist/translations/ku.js +23 -0
- package/dist/translations/ku.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nb.d.ts +8 -0
- package/dist/translations/nb.js +23 -0
- package/dist/translations/nb.umd.js +23 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +23 -0
- package/dist/translations/ne.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +23 -0
- package/dist/translations/oc.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/si.d.ts +8 -0
- package/dist/translations/si.js +23 -0
- package/dist/translations/si.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +23 -0
- package/dist/translations/sl.umd.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sq.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/ti.d.ts +8 -0
- package/dist/translations/ti.js +23 -0
- package/dist/translations/ti.umd.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tk.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/tt.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/uz.d.ts +8 -0
- package/dist/translations/uz.js +23 -0
- package/dist/translations/uz.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/lang/contexts.json +0 -3
- package/lang/translations/af.po +100 -0
- package/lang/translations/ar.po +100 -0
- package/lang/translations/ast.po +100 -0
- package/lang/translations/az.po +100 -0
- package/lang/translations/bg.po +100 -0
- package/lang/translations/bn.po +100 -0
- package/lang/translations/bs.po +100 -0
- package/lang/translations/ca.po +100 -0
- package/lang/translations/cs.po +100 -0
- package/lang/translations/da.po +100 -0
- package/lang/translations/de-ch.po +100 -0
- package/lang/translations/de.po +100 -0
- package/lang/translations/el.po +100 -0
- package/lang/translations/en-au.po +100 -0
- package/lang/translations/en-gb.po +100 -0
- package/lang/translations/en.po +100 -0
- package/lang/translations/eo.po +100 -0
- package/lang/translations/es-co.po +100 -0
- package/lang/translations/es.po +100 -0
- package/lang/translations/et.po +100 -0
- package/lang/translations/eu.po +100 -0
- package/lang/translations/fa.po +100 -0
- package/lang/translations/fi.po +100 -0
- package/lang/translations/fr.po +100 -0
- package/lang/translations/gl.po +100 -0
- package/lang/translations/gu.po +100 -0
- package/lang/translations/he.po +100 -0
- package/lang/translations/hi.po +100 -0
- package/lang/translations/hr.po +100 -0
- package/lang/translations/hu.po +100 -0
- package/lang/translations/hy.po +100 -0
- package/lang/translations/id.po +100 -0
- package/lang/translations/it.po +100 -0
- package/lang/translations/ja.po +100 -0
- package/lang/translations/jv.po +100 -0
- package/lang/translations/kk.po +100 -0
- package/lang/translations/km.po +100 -0
- package/lang/translations/kn.po +100 -0
- package/lang/translations/ko.po +100 -0
- package/lang/translations/ku.po +100 -0
- package/lang/translations/lt.po +100 -0
- package/lang/translations/lv.po +100 -0
- package/lang/translations/ms.po +100 -0
- package/lang/translations/nb.po +100 -0
- package/lang/translations/ne.po +100 -0
- package/lang/translations/nl.po +100 -0
- package/lang/translations/no.po +100 -0
- package/lang/translations/oc.po +100 -0
- package/lang/translations/pl.po +100 -0
- package/lang/translations/pt-br.po +100 -0
- package/lang/translations/pt.po +100 -0
- package/lang/translations/ro.po +100 -0
- package/lang/translations/ru.po +100 -0
- package/lang/translations/si.po +100 -0
- package/lang/translations/sk.po +100 -0
- package/lang/translations/sl.po +100 -0
- package/lang/translations/sq.po +100 -0
- package/lang/translations/sr-latn.po +100 -0
- package/lang/translations/sr.po +100 -0
- package/lang/translations/sv.po +100 -0
- package/lang/translations/th.po +100 -0
- package/lang/translations/ti.po +100 -0
- package/lang/translations/tk.po +100 -0
- package/lang/translations/tr.po +100 -0
- package/lang/translations/tt.po +100 -0
- package/lang/translations/ug.po +100 -0
- package/lang/translations/uk.po +100 -0
- package/lang/translations/ur.po +100 -0
- package/lang/translations/uz.po +100 -0
- package/lang/translations/vi.po +100 -0
- package/lang/translations/zh-cn.po +100 -0
- package/lang/translations/zh.po +100 -0
- package/package.json +8 -9
- package/src/index.js +1 -1
- package/src/ui/uploadcarecontroller.d.ts +6 -2
- package/src/ui/uploadcarecontroller.js +2 -2
- package/src/ui/uploadcareformview.js +1 -1
- package/src/uploadcare.js +1 -1
- package/src/uploadcarecommand.js +1 -1
- package/src/uploadcareconfig.d.ts +9 -8
- package/src/uploadcareconfig.js +1 -1
- package/src/uploadcareediting.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
- package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
- package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
- package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
- package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
- package/src/uploadcareimageedit.js +1 -1
- package/src/uploadcareui.js +1 -1
- package/src/uploadcareuploadadapter.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/dialogfocusmanagerview.js +1 -1
- package/src/utils/editingutils.js +1 -1
- package/src/utils/isancestor.js +1 -1
- package/src/utils/uploadutils.js +1 -1
- package/theme/icons/dropbox.svg +11 -0
- package/theme/icons/error.svg +1 -0
- package/theme/icons/facebook.svg +11 -0
- package/theme/icons/google-drive.svg +11 -0
- package/theme/icons/google-photos.svg +11 -0
- package/theme/icons/image-upload.svg +11 -0
- package/theme/icons/link.svg +11 -0
- package/theme/icons/local.svg +11 -0
- package/theme/icons/onedrive.svg +11 -0
- package/theme/icons/uploadcare-image-edit.svg +11 -0
|
@@ -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-
|
|
3
|
+
"version": "0.0.0-nightly-20250218.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,14 +23,13 @@
|
|
|
23
23
|
"framework"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
27
|
-
"@ckeditor/ckeditor5-
|
|
28
|
-
"@ckeditor/ckeditor5-
|
|
29
|
-
"@ckeditor/ckeditor5-
|
|
30
|
-
"@ckeditor/ckeditor5-
|
|
31
|
-
"@ckeditor/ckeditor5-
|
|
32
|
-
"
|
|
33
|
-
"ckeditor5": "0.0.0-nightly-next-20250217.0",
|
|
26
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20250218.0",
|
|
27
|
+
"@ckeditor/ckeditor5-image": "0.0.0-nightly-20250218.0",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250218.0",
|
|
29
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250218.0",
|
|
30
|
+
"@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250218.0",
|
|
31
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250218.0",
|
|
32
|
+
"ckeditor5": "0.0.0-nightly-20250218.0",
|
|
34
33
|
"@uploadcare/file-uploader": "1.12.0",
|
|
35
34
|
"@uploadcare/upload-client": "6.14.1"
|
|
36
35
|
},
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54b09f,_0x387cfb){var _0x244946=_0x25c9,_0x5c7f95=_0x54b09f();while(!![]){try{var _0x1dd746=-parseInt(_0x244946(0xeb))/0x1+-parseInt(_0x244946(0xe4))/0x2*(parseInt(_0x244946(0xe5))/0x3)+parseInt(_0x244946(0xe9))/0x4*(-parseInt(_0x244946(0xec))/0x5)+parseInt(_0x244946(0xed))/0x6*(parseInt(_0x244946(0xea))/0x7)+parseInt(_0x244946(0xe3))/0x8*(-parseInt(_0x244946(0xe6))/0x9)+-parseInt(_0x244946(0xe7))/0xa+parseInt(_0x244946(0xe8))/0xb;if(_0x1dd746===_0x387cfb)break;else _0x5c7f95['push'](_0x5c7f95['shift']());}catch(_0xd041b4){_0x5c7f95['push'](_0x5c7f95['shift']());}}}(_0x447c,0x1eb51));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x25c9(_0x11a07c,_0x5f18ce){var _0x447c14=_0x447c();return _0x25c9=function(_0x25c921,_0x4b0120){_0x25c921=_0x25c921-0xe3;var _0x1802de=_0x447c14[_0x25c921];return _0x1802de;},_0x25c9(_0x11a07c,_0x5f18ce);}export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x447c(){var _0x265074=['17486UdfSsE','50840XDFmWj','870dAiynl','24rCntYl','8KDMxuo','502AaJNHO','1779adVZkz','407817kkIGNj','989670syXdkA','5694590NBIyNM','1332cRRknI'];_0x447c=function(){return _0x265074;};return _0x447c();}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
|
-
import type
|
|
5
|
+
import { type Editor } from 'ckeditor5/src/core.js';
|
|
6
6
|
import { UploadcareSource } from '../uploadcareconfig.js';
|
|
7
7
|
import type UploadcareEditing from '../uploadcareediting.js';
|
|
8
8
|
declare const UploadcareController_base: {
|
|
9
9
|
new (): import("ckeditor5/src/utils.js").Observable;
|
|
10
|
-
prototype: 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
|
+
*/
|
|
11
15
|
};
|
|
12
16
|
/**
|
|
13
17
|
* The Uploadcare controller. It is used by the {@link module:uploadcare/uploadcarecommand~UploadcareCommand Uploadcare command}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1ab1dd=_0x30b2;(function(_0x28d278,_0x2f352b){const _0x5f04f4=_0x30b2,_0x2b05da=_0x28d278();while(!![]){try{const _0x384e10=parseInt(_0x5f04f4(0x19b))/0x1+parseInt(_0x5f04f4(0x1d5))/0x2*(parseInt(_0x5f04f4(0x1a0))/0x3)+parseInt(_0x5f04f4(0x1bc))/0x4*(parseInt(_0x5f04f4(0x1be))/0x5)+parseInt(_0x5f04f4(0x1af))/0x6*(parseInt(_0x5f04f4(0x1b7))/0x7)+-parseInt(_0x5f04f4(0x1de))/0x8*(-parseInt(_0x5f04f4(0x1a8))/0x9)+-parseInt(_0x5f04f4(0x1b2))/0xa+-parseInt(_0x5f04f4(0x1a9))/0xb;if(_0x384e10===_0x2f352b)break;else _0x2b05da['push'](_0x2b05da['shift']());}catch(_0x2e830c){_0x2b05da['push'](_0x2b05da['shift']());}}}(_0x59ed,0x95f76));import{icons as _0x1c345f}from'ckeditor5/src/core.js';import{ObservableMixin as _0x1d72ac}from'ckeditor5/src/utils.js';import{Dialog as _0x16a874,DialogViewPosition as _0x581225}from'ckeditor5/src/ui.js';import _0x4182b3 from'./uploadcareformview.js';function _0x30b2(_0x548f51,_0x440f8e){const _0x59ed87=_0x59ed();return _0x30b2=function(_0x30b230,_0x2254e3){_0x30b230=_0x30b230-0x19a;let _0x29a1d6=_0x59ed87[_0x30b230];return _0x29a1d6;},_0x30b2(_0x548f51,_0x440f8e);}import{UploadcareSource as _0x46969d}from'../uploadcareconfig.js';import{getTranslation as _0x138baa}from'../utils/common-translations.js';function _0x59ed(){const _0x2b5c33=['addEventListener','focus','getLastPosition','setSelection','image','destroy','imageInfo','plugins','length','selection','text','Insert','source-list','get','change','Replace','_editor','2txInxx','status','removeSelectionAttribute','linkHref','imageBlock','attributes','editing','view','insertImage','2920lVdMBE','_insertAsset','setAttribute','done-click','execute','_initDialog','hide','Local','121903tesDGQ','_formView','getAPI','_api','_dialog','3445521exTLKB','stopDelegating','doneFlow','model','_insertImage','configElement','document','EDITOR_TOP_CENTER','25308YmYWRj','28895834gojcyu','allEntries','_editing','uuid','imageUpload','removeAllFiles','48FKzAXD','uploadCare','_initListeners','11194210MLsjLX','_type','initFlow','element','isOpen','822962YdltxT','show','getOutputCollectionState','detail','ctxElement','32324atsAzz','idle','695Dsdbqg','getSelectedElement','width','stopListening','imageInline','setCurrentActivity'];_0x59ed=function(){return _0x2b5c33;};return _0x59ed();}import{getImageUrls as _0x135c51,getImageDimension as _0x356105}from'../utils/editingutils.js';import{isAncestor as _0x2aa95e}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d72ac(){constructor(_0x375cd4,_0xbc71d1,_0x496639){const _0x29bab6=_0x30b2;super(),this[_0x29bab6(0x1b3)]=null,this[_0x29bab6(0x19c)]=null,this[_0x29bab6(0x1d4)]=_0x375cd4,this[_0x29bab6(0x1ab)]=_0xbc71d1,this[_0x29bab6(0x19f)]=_0x375cd4[_0x29bab6(0x1cb)][_0x29bab6(0x1d1)](_0x16a874),this[_0x29bab6(0x19e)]=_0xbc71d1[_0x29bab6(0x1bb)][_0x29bab6(0x19d)](),this[_0x29bab6(0x1b3)]=_0x496639,this[_0x29bab6(0x1ab)][_0x29bab6(0x1a5)][_0x29bab6(0x1e0)](_0x29bab6(0x1d0),this[_0x29bab6(0x1b3)]),this[_0x29bab6(0x1e3)](),this[_0x29bab6(0x1b1)](),this[_0x29bab6(0x19e)][_0x29bab6(0x1b4)]();}[_0x1ab1dd(0x1c9)](){const _0x1189d6=_0x1ab1dd;this[_0x1189d6(0x19c)]&&(this[_0x1189d6(0x19c)][_0x1189d6(0x1c9)](),this[_0x1189d6(0x19c)]=null),this[_0x1189d6(0x19e)]&&this[_0x1189d6(0x19e)][_0x1189d6(0x1a2)](),this[_0x1189d6(0x1c1)](),this[_0x1189d6(0x1a1)]();}[_0x1ab1dd(0x1e3)](){const _0x59a9c0=_0x1ab1dd,{locale:_0xf36933,model:_0x2711c3}=this[_0x59a9c0(0x1d4)],_0x48b5cd=_0x2711c3[_0x59a9c0(0x1a6)][_0x59a9c0(0x1cd)][_0x59a9c0(0x1bf)](),_0xc408db=_0x48b5cd&&(_0x48b5cd['is'](_0x59a9c0(0x1b5),_0x59a9c0(0x1d9))||_0x48b5cd['is'](_0x59a9c0(0x1b5),_0x59a9c0(0x1c2)));this[_0x59a9c0(0x19c)]=new _0x4182b3(_0xf36933),this[_0x59a9c0(0x19f)][_0x59a9c0(0x1b8)]({'id':_0x59a9c0(0x1b0),'icon':_0x1c345f[_0x59a9c0(0x1ad)],'title':_0x138baa(_0xf36933,this[_0x59a9c0(0x1b3)],_0xc408db?_0x59a9c0(0x1d3):_0x59a9c0(0x1cf))[_0x59a9c0(0x1ce)],'content':this[_0x59a9c0(0x19c)],'position':_0x581225[_0x59a9c0(0x1a7)],'isModal':!0x0,'onShow':()=>{const _0x2249cc=_0x59a9c0;this[_0x2249cc(0x19c)][_0x2249cc(0x1c5)]();},'onHide':()=>{const _0x158732=_0x59a9c0;this[_0x158732(0x19e)][_0x158732(0x1ae)](),this[_0x158732(0x1d4)][_0x158732(0x1db)][_0x158732(0x1dc)][_0x158732(0x1c5)](),this[_0x158732(0x1c9)]();},'keystrokeHandlerOptions':{'filter':_0x1ae77f=>!_0x2aa95e(_0x1ae77f,this[_0x59a9c0(0x19c)][_0x59a9c0(0x1b5)])}});}[_0x1ab1dd(0x1b1)](){const _0x504be6=_0x1ab1dd;this[_0x504be6(0x1ab)][_0x504be6(0x1bb)][_0x504be6(0x1c4)](_0x504be6(0x1e1),()=>{const _0x44df15=_0x504be6,{allEntries:_0x20e18e}=this[_0x44df15(0x19e)][_0x44df15(0x1b9)]();this[_0x44df15(0x1d4)][_0x44df15(0x1a3)][_0x44df15(0x1d2)](_0x15d16c=>{const _0x12ff2f=_0x44df15,_0x4cb490=_0x20e18e[_0x12ff2f(0x1cc)];for(const _0x3098c3 of _0x20e18e){const _0x53a2e4=_0x3098c3===_0x20e18e[_0x4cb490-0x1],{cdnUrl:_0x18e09b,fileInfo:_0x153496}=_0x3098c3;if(!_0x18e09b||!_0x153496)continue;const {width:_0x2d737c,height:_0x1b4330}=_0x153496[_0x12ff2f(0x1ca)],_0x13e9fa=_0x356105(_0x18e09b,_0x2d737c,_0x1b4330),_0x3d19f7=_0x135c51(_0x18e09b,_0x13e9fa[_0x12ff2f(0x1c0)]),_0x2ffc27={'id':_0x153496[_0x12ff2f(0x1ac)],'type':_0x12ff2f(0x1c8),'attributes':{'imageDimension':_0x13e9fa,..._0x3d19f7}};this[_0x12ff2f(0x1df)](_0x2ffc27,_0x53a2e4,_0x15d16c);}}),this[_0x44df15(0x19f)][_0x44df15(0x1e4)]();}),this[_0x504be6(0x1ab)][_0x504be6(0x1bb)][_0x504be6(0x1c4)](_0x504be6(0x1d2),_0x3771eb=>{const _0x5418b0=_0x504be6;_0x5418b0(0x1bd)===_0x3771eb[_0x5418b0(0x1ba)][_0x5418b0(0x1d6)]&&!_0x3771eb[_0x5418b0(0x1ba)][_0x5418b0(0x1aa)][_0x5418b0(0x1cc)]&&this[_0x5418b0(0x19f)][_0x5418b0(0x1b6)]&&(this[_0x5418b0(0x1b3)]===_0x46969d[_0x5418b0(0x19a)]?this[_0x5418b0(0x19e)][_0x5418b0(0x1c3)](_0x46969d[_0x5418b0(0x19a)]):this[_0x5418b0(0x19e)][_0x5418b0(0x1b4)]());});}[_0x1ab1dd(0x1df)](_0x123cae,_0x413d95,_0x267326){const _0x21136d=_0x1ab1dd,_0x41a883=this[_0x21136d(0x1d4)][_0x21136d(0x1a3)][_0x21136d(0x1a6)][_0x21136d(0x1cd)],_0xdf4c3e=_0x41a883[_0x21136d(0x1bf)](),_0xd6e1b4=!(!_0xdf4c3e||!_0xdf4c3e['is'](_0x21136d(0x1b5),_0x21136d(0x1c2)));_0x267326[_0x21136d(0x1d7)](_0x21136d(0x1d8)),this[_0x21136d(0x1a4)](_0x123cae,_0xd6e1b4),_0x413d95||_0x267326[_0x21136d(0x1c7)](_0x41a883[_0x21136d(0x1c6)]());}[_0x1ab1dd(0x1a4)](_0x5e5988,_0x1afaec){const _0x2b647b=_0x1ab1dd,_0x5cf532=this[_0x2b647b(0x1d4)],{imageDimension:_0x45f8d5,imageFallbackUrl:_0x3948bb,imageSources:_0x155c95}=_0x5e5988[_0x2b647b(0x1da)];_0x5cf532[_0x2b647b(0x1e2)](_0x2b647b(0x1dd),{'imageType':_0x1afaec?_0x2b647b(0x1c2):null,'source':{'uploadcareImageId':_0x5e5988['id'],'src':_0x3948bb,'sources':_0x155c95,..._0x45f8d5}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1d3174=_0x42fa;function _0x42fa(_0x1ed9bc,_0x5b1698){var _0x94e1ba=_0x94e1();return _0x42fa=function(_0x42fa25,_0x52aa8b){_0x42fa25=_0x42fa25-0x1e2;var _0x237c40=_0x94e1ba[_0x42fa25];return _0x237c40;},_0x42fa(_0x1ed9bc,_0x5b1698);}(function(_0x4cd301,_0x31cfa4){var _0x4ecc9e=_0x42fa,_0x3e5d01=_0x4cd301();while(!![]){try{var _0x1802ce=-parseInt(_0x4ecc9e(0x1eb))/0x1*(-parseInt(_0x4ecc9e(0x1e9))/0x2)+-parseInt(_0x4ecc9e(0x1e7))/0x3*(-parseInt(_0x4ecc9e(0x1f6))/0x4)+-parseInt(_0x4ecc9e(0x1e5))/0x5*(parseInt(_0x4ecc9e(0x1f5))/0x6)+-parseInt(_0x4ecc9e(0x1f4))/0x7+-parseInt(_0x4ecc9e(0x1f0))/0x8*(parseInt(_0x4ecc9e(0x1ea))/0x9)+parseInt(_0x4ecc9e(0x1f7))/0xa+parseInt(_0x4ecc9e(0x1e6))/0xb;if(_0x1802ce===_0x31cfa4)break;else _0x3e5d01['push'](_0x3e5d01['shift']());}catch(_0x3fb9e7){_0x3e5d01['push'](_0x3e5d01['shift']());}}}(_0x94e1,0x93e8f));import _0x2a2545 from'../utils/dialogfocusmanagerview.js';function _0x94e1(){var _0x388c33=['81PATtbK','495036ABSgGe','ck-uploadcare-form','ck-uploadcare-theme','div','setTemplate','702672inYdaW','getFocusableElement','uploader','ck-reset_all-excluded','5622393SrlqbE','6sRfZXr','32NmELdj','10642260MOhdkg','focus','element','uc-light','2863550KLUvnj','4322252ZSkIIk','121884ORivIb','uc-file-uploader-inline','4hrEyoJ'];_0x94e1=function(){return _0x388c33;};return _0x94e1();}import'../../theme/uploadcare-form.css';export default class S extends _0x2a2545{constructor(_0xd28017){var _0x2263aa=_0x42fa;super(_0xd28017),this[_0x2263aa(0x1ef)]({'tag':_0x2263aa(0x1ee),'attributes':{'class':['ck',_0x2263aa(0x1f3),_0x2263aa(0x1ec)],'tabindex':'-1'},'children':[{'tag':_0x2263aa(0x1e8),'attributes':{'class':[_0x2263aa(0x1e4),_0x2263aa(0x1ed)],'ctx-name':_0x2263aa(0x1f2)}},this[_0x2263aa(0x1f1)]()]});}[_0x1d3174(0x1e2)](){var _0x56dcbf=_0x1d3174;this[_0x56dcbf(0x1e3)][_0x56dcbf(0x1e2)]();}}
|
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x532b7c=_0x3984;(function(_0x2e5d45,_0x47af69){var _0x444725=_0x3984,_0x2c5f24=_0x2e5d45();while(!![]){try{var _0x96f850=-parseInt(_0x444725(0x6f))/0x1+-parseInt(_0x444725(0x78))/0x2+parseInt(_0x444725(0x76))/0x3+parseInt(_0x444725(0x73))/0x4*(-parseInt(_0x444725(0x80))/0x5)+parseInt(_0x444725(0x75))/0x6+-parseInt(_0x444725(0x70))/0x7+-parseInt(_0x444725(0x7e))/0x8*(-parseInt(_0x444725(0x79))/0x9);if(_0x96f850===_0x47af69)break;else _0x2c5f24['push'](_0x2c5f24['shift']());}catch(_0x4289df){_0x2c5f24['push'](_0x2c5f24['shift']());}}}(_0x54dc,0x7feea));import{Plugin as _0x19d935}from'ckeditor5/src/core.js';import _0x1e3f5d from'./uploadcareui.js';import _0x2d7822 from'./uploadcareediting.js';import{UploadcareSource as _0x176b14}from'./uploadcareconfig.js';function _0x3984(_0x2b2776,_0x3b6d23){var _0x54dc62=_0x54dc();return _0x3984=function(_0x39849d,_0x2a0c33){_0x39849d=_0x39849d-0x6e;var _0x2e8561=_0x54dc62[_0x39849d];return _0x2e8561;},_0x3984(_0x2b2776,_0x3b6d23);}function _0x54dc(){var _0x4d9017=['pluginName','16762544rinUQc','defineComponents','35330dwXUOs','isPremiumPlugin','config','639786NEGijY','1048971uxfHpu','requires','Uploadcare','148BMuSts','URL','1144938ocPApL','624417rApZNy','uploadcare.uploader.sourceList','1838378KOGHjk','9oMlQXL','define','isOfficialPlugin','Local'];_0x54dc=function(){return _0x4d9017;};return _0x54dc();}import*as _0x526bb9 from'@uploadcare/file-uploader';export default class u extends _0x19d935{static get[_0x532b7c(0x71)](){return[_0x2d7822,_0x1e3f5d];}static get[_0x532b7c(0x7d)](){var _0x2f7c25=_0x532b7c;return _0x2f7c25(0x72);}static get[_0x532b7c(0x7b)](){return!0x0;}static get[_0x532b7c(0x81)](){return!0x0;}constructor(_0x128959){var _0x2d83cb=_0x532b7c;super(_0x128959),_0x128959[_0x2d83cb(0x6e)][_0x2d83cb(0x7a)](_0x2d83cb(0x77),[_0x176b14[_0x2d83cb(0x7c)],_0x176b14[_0x2d83cb(0x74)]]),_0x526bb9[_0x2d83cb(0x7f)](_0x526bb9);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x221c(_0x2f6f75,_0x1cfc9f){var _0x4d1058=_0x4d10();return _0x221c=function(_0x221ca0,_0x68300c){_0x221ca0=_0x221ca0-0x1b0;var _0x154df4=_0x4d1058[_0x221ca0];return _0x154df4;},_0x221c(_0x2f6f75,_0x1cfc9f);}var _0xde864e=_0x221c;(function(_0x4878d8,_0x10aaa5){var _0x409e22=_0x221c,_0x1c0b3b=_0x4878d8();while(!![]){try{var _0x18acf2=parseInt(_0x409e22(0x1b1))/0x1+parseInt(_0x409e22(0x1bb))/0x2*(parseInt(_0x409e22(0x1c5))/0x3)+-parseInt(_0x409e22(0x1ba))/0x4+-parseInt(_0x409e22(0x1c3))/0x5+parseInt(_0x409e22(0x1c2))/0x6*(parseInt(_0x409e22(0x1b7))/0x7)+parseInt(_0x409e22(0x1b6))/0x8+-parseInt(_0x409e22(0x1bd))/0x9;if(_0x18acf2===_0x10aaa5)break;else _0x1c0b3b['push'](_0x1c0b3b['shift']());}catch(_0x5498ab){_0x1c0b3b['push'](_0x1c0b3b['shift']());}}}(_0x4d10,0x6e5dc));function _0x4d10(){var _0x7527f4=['get','_editing','plugins','_checkEnabled','111144gWcITQ','154bWgGsZ','isEnabled','insertImage','2930760NXUUkk','6SwZavV','editor','4024143FVfySU','_controller','refresh','requires','execute','122052LTjmeA','848290SLSniF','commands','590130VSXltA','destroy','749988qfrRpi'];_0x4d10=function(){return _0x7527f4;};return _0x4d10();}import{Command as _0x379d95}from'ckeditor5/src/core.js';import{Dialog as _0x50b266}from'ckeditor5/src/ui.js';import _0x2f3496 from'./uploadcareediting.js';import _0x4f7fb7 from'./ui/uploadcarecontroller.js';export default class l extends _0x379d95{static get[_0xde864e(0x1c0)](){return[_0x50b266,_0x2f3496];}constructor(_0x5779bf){var _0x1a8aae=_0xde864e;super(_0x5779bf),this[_0x1a8aae(0x1be)]=null,this[_0x1a8aae(0x1b3)]=_0x5779bf[_0x1a8aae(0x1b4)][_0x1a8aae(0x1b2)](_0x2f3496);}[_0xde864e(0x1bf)](){var _0x2ddc90=_0xde864e;this[_0x2ddc90(0x1b8)]=this[_0x2ddc90(0x1b5)]();}[_0xde864e(0x1c1)](_0x2b9d37){var _0x18043b=_0xde864e;this[_0x18043b(0x1be)]&&(this[_0x18043b(0x1be)][_0x18043b(0x1b0)](),this[_0x18043b(0x1be)]=null),this[_0x18043b(0x1be)]=new _0x4f7fb7(this[_0x18043b(0x1bc)],this[_0x18043b(0x1b3)],_0x2b9d37);}[_0xde864e(0x1b5)](){var _0x2a05d7=_0xde864e;return this[_0x2a05d7(0x1bc)][_0x2a05d7(0x1c4)][_0x2a05d7(0x1b2)](_0x2a05d7(0x1b9))[_0x2a05d7(0x1b8)];}}
|
|
@@ -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
|
|
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
|
|
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
|
|
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<
|
|
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
|
*
|
package/src/uploadcareconfig.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x49f4(){var _0x43c8bd=['700485oBnSmX','gphotos','474330IvePeF','OneDrive','url','Facebook','2vmyPhn','115080NfTLwe','24309QriNWj','URL','gdrive','dropbox','facebook','Dropbox','onedrive','Local','468TPJKEY','10961946JgUlCQ','8mDWHCz','GPhotos','GDrive','89406PuEYjd','3074216APGrPu','local','22ZkiLRi'];_0x49f4=function(){return _0x43c8bd;};return _0x49f4();}(function(_0x20aa08,_0x25bf1b){var _0x2d8b1d=_0x28e4,_0x27e09b=_0x20aa08();while(!![]){try{var _0x22c7fc=-parseInt(_0x2d8b1d(0x82))/0x1*(-parseInt(_0x2d8b1d(0x91))/0x2)+-parseInt(_0x2d8b1d(0x84))/0x3+parseInt(_0x2d8b1d(0x79))/0x4+-parseInt(_0x2d8b1d(0x7c))/0x5+parseInt(_0x2d8b1d(0x8c))/0x6*(-parseInt(_0x2d8b1d(0x83))/0x7)+parseInt(_0x2d8b1d(0x8e))/0x8*(parseInt(_0x2d8b1d(0x8d))/0x9)+-parseInt(_0x2d8b1d(0x7e))/0xa*(-parseInt(_0x2d8b1d(0x7b))/0xb);if(_0x22c7fc===_0x25bf1b)break;else _0x27e09b['push'](_0x27e09b['shift']());}catch(_0x139d87){_0x27e09b['push'](_0x27e09b['shift']());}}}(_0x49f4,0xb4bcc));function _0x28e4(_0x53c090,_0x1e95d4){var _0x49f436=_0x49f4();return _0x28e4=function(_0x28e45a,_0xdece37){_0x28e45a=_0x28e45a-0x79;var _0xcdb6a4=_0x49f436[_0x28e45a];return _0xcdb6a4;},_0x28e4(_0x53c090,_0x1e95d4);}export var UploadcareSource;!function(_0x1fa777){var _0x2306a7=_0x28e4;_0x1fa777[_0x2306a7(0x8b)]=_0x2306a7(0x7a),_0x1fa777[_0x2306a7(0x85)]=_0x2306a7(0x80),_0x1fa777[_0x2306a7(0x89)]=_0x2306a7(0x87),_0x1fa777[_0x2306a7(0x90)]=_0x2306a7(0x86),_0x1fa777[_0x2306a7(0x81)]=_0x2306a7(0x88),_0x1fa777[_0x2306a7(0x8f)]=_0x2306a7(0x7d),_0x1fa777[_0x2306a7(0x7f)]=_0x2306a7(0x8a);}(UploadcareSource||(UploadcareSource={}));
|