@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.1 → 44.2.0-alpha.11
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/README.md +1 -1
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/ast.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/en-gb.js +1 -1
- package/build/translations/eo.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/eu.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/gu.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/hy.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/kk.js +1 -1
- package/build/translations/km.js +1 -1
- package/build/translations/kn.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nb.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/oc.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/si.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sl.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/build/uploadcare.js +2 -2
- package/dist/index.js +3 -3
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +0 -3
- package/lang/translations/af.po +0 -12
- package/lang/translations/ar.po +22 -34
- package/lang/translations/ast.po +0 -12
- package/lang/translations/az.po +0 -12
- package/lang/translations/bg.po +22 -34
- package/lang/translations/bn.po +22 -34
- package/lang/translations/bs.po +0 -12
- package/lang/translations/ca.po +22 -34
- package/lang/translations/cs.po +22 -34
- package/lang/translations/da.po +22 -34
- package/lang/translations/de-ch.po +0 -12
- package/lang/translations/de.po +22 -34
- package/lang/translations/el.po +22 -34
- package/lang/translations/en-au.po +0 -12
- package/lang/translations/en-gb.po +0 -12
- package/lang/translations/en.po +0 -12
- package/lang/translations/eo.po +0 -12
- package/lang/translations/es-co.po +0 -12
- package/lang/translations/es.po +22 -34
- package/lang/translations/et.po +22 -34
- package/lang/translations/eu.po +0 -12
- package/lang/translations/fa.po +0 -12
- package/lang/translations/fi.po +22 -34
- package/lang/translations/fr.po +22 -34
- package/lang/translations/gl.po +0 -12
- package/lang/translations/gu.po +0 -12
- package/lang/translations/he.po +22 -34
- package/lang/translations/hi.po +22 -34
- package/lang/translations/hr.po +0 -12
- package/lang/translations/hu.po +22 -34
- package/lang/translations/hy.po +0 -12
- package/lang/translations/id.po +22 -34
- package/lang/translations/it.po +22 -34
- package/lang/translations/ja.po +22 -34
- package/lang/translations/jv.po +0 -12
- package/lang/translations/kk.po +0 -12
- package/lang/translations/km.po +0 -12
- package/lang/translations/kn.po +0 -12
- package/lang/translations/ko.po +22 -34
- package/lang/translations/ku.po +0 -12
- package/lang/translations/lt.po +22 -34
- package/lang/translations/lv.po +22 -34
- package/lang/translations/ms.po +22 -34
- package/lang/translations/nb.po +0 -12
- package/lang/translations/ne.po +0 -12
- package/lang/translations/nl.po +22 -34
- package/lang/translations/no.po +22 -34
- package/lang/translations/oc.po +0 -12
- package/lang/translations/pl.po +22 -34
- package/lang/translations/pt-br.po +22 -34
- package/lang/translations/pt.po +22 -34
- package/lang/translations/ro.po +22 -34
- package/lang/translations/ru.po +22 -34
- package/lang/translations/si.po +0 -12
- package/lang/translations/sk.po +22 -34
- package/lang/translations/sl.po +0 -12
- package/lang/translations/sq.po +0 -12
- package/lang/translations/sr-latn.po +0 -12
- package/lang/translations/sr.po +22 -34
- package/lang/translations/sv.po +22 -34
- package/lang/translations/th.po +22 -34
- package/lang/translations/ti.po +0 -12
- package/lang/translations/tk.po +0 -12
- package/lang/translations/tr.po +22 -34
- package/lang/translations/tt.po +0 -12
- package/lang/translations/ug.po +0 -12
- package/lang/translations/uk.po +22 -34
- package/lang/translations/ur.po +0 -12
- package/lang/translations/uz.po +0 -12
- package/lang/translations/vi.po +22 -34
- package/lang/translations/zh-cn.po +22 -34
- package/lang/translations/zh.po +22 -34
- package/package.json +8 -8
- package/src/index.js +1 -1
- 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.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/instagram.svg +0 -11
package/lang/translations/vi.po
CHANGED
|
@@ -13,100 +13,88 @@ msgstr ""
|
|
|
13
13
|
|
|
14
14
|
msgctxt "The label for the insert image with Dropbox dropdown button."
|
|
15
15
|
msgid "Insert with Dropbox"
|
|
16
|
-
msgstr ""
|
|
16
|
+
msgstr "Chèn bằng Dropbox"
|
|
17
17
|
|
|
18
18
|
msgctxt "The label for the replace image with Dropbox dropdown button."
|
|
19
19
|
msgid "Replace with Dropbox"
|
|
20
|
-
msgstr ""
|
|
20
|
+
msgstr "Thay thế bằng Dropbox"
|
|
21
21
|
|
|
22
22
|
msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
|
|
23
23
|
msgid "With Dropbox"
|
|
24
|
-
msgstr ""
|
|
24
|
+
msgstr "Bằng Dropbox"
|
|
25
25
|
|
|
26
26
|
msgctxt "The label for the insert image with Facebook dropdown button."
|
|
27
27
|
msgid "Insert with Facebook"
|
|
28
|
-
msgstr ""
|
|
28
|
+
msgstr "Chèn bằng Facebook"
|
|
29
29
|
|
|
30
30
|
msgctxt "The label for the replace image with Facebook dropdown button."
|
|
31
31
|
msgid "Replace with Facebook"
|
|
32
|
-
msgstr ""
|
|
32
|
+
msgstr "Thay thế bằng Facebook"
|
|
33
33
|
|
|
34
34
|
msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
|
|
35
35
|
msgid "With Facebook"
|
|
36
|
-
msgstr ""
|
|
36
|
+
msgstr "Bằng Facebook"
|
|
37
37
|
|
|
38
38
|
msgctxt "The label for the insert image with Google Drive dropdown button."
|
|
39
39
|
msgid "Insert with Google Drive"
|
|
40
|
-
msgstr ""
|
|
40
|
+
msgstr "Chèn bằng Google Drive"
|
|
41
41
|
|
|
42
42
|
msgctxt "The label for the replace image with Google Drive dropdown button."
|
|
43
43
|
msgid "Replace with Google Drive"
|
|
44
|
-
msgstr ""
|
|
44
|
+
msgstr "Thay thế bằng Google Drive"
|
|
45
45
|
|
|
46
46
|
msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
|
|
47
47
|
msgid "With Google Drive"
|
|
48
|
-
msgstr ""
|
|
48
|
+
msgstr "Bằng Google Drive"
|
|
49
49
|
|
|
50
50
|
msgctxt "The label for the insert image with Google Photos dropdown button."
|
|
51
51
|
msgid "Insert with Google Photos"
|
|
52
|
-
msgstr ""
|
|
52
|
+
msgstr "Chèn bằng Google Photos"
|
|
53
53
|
|
|
54
54
|
msgctxt "The label for the replace image with Google Photos dropdown button."
|
|
55
55
|
msgid "Replace with Google Photos"
|
|
56
|
-
msgstr ""
|
|
56
|
+
msgstr "Thay thế bằng Google Photos"
|
|
57
57
|
|
|
58
58
|
msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
|
|
59
59
|
msgid "With Google Photos"
|
|
60
|
-
msgstr ""
|
|
61
|
-
|
|
62
|
-
msgctxt "The label for the insert image with Instagram dropdown button."
|
|
63
|
-
msgid "Insert with Instagram"
|
|
64
|
-
msgstr ""
|
|
65
|
-
|
|
66
|
-
msgctxt "The label for the replace image with Instagram dropdown button."
|
|
67
|
-
msgid "Replace with Instagram"
|
|
68
|
-
msgstr ""
|
|
69
|
-
|
|
70
|
-
msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
|
|
71
|
-
msgid "With Instagram"
|
|
72
|
-
msgstr ""
|
|
60
|
+
msgstr "Bằng Google Photos"
|
|
73
61
|
|
|
74
62
|
msgctxt "The label for the insert image with OneDrive dropdown button."
|
|
75
63
|
msgid "Insert with OneDrive"
|
|
76
|
-
msgstr ""
|
|
64
|
+
msgstr "Chèn bằng OneDrive"
|
|
77
65
|
|
|
78
66
|
msgctxt "The label for the replace image with OneDrive dropdown button."
|
|
79
67
|
msgid "Replace with OneDrive"
|
|
80
|
-
msgstr ""
|
|
68
|
+
msgstr "Thay thế bằng OneDrive"
|
|
81
69
|
|
|
82
70
|
msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
|
|
83
71
|
msgid "With OneDrive"
|
|
84
|
-
msgstr ""
|
|
72
|
+
msgstr "Bằng OneDrive"
|
|
85
73
|
|
|
86
74
|
msgctxt "The label for the replace image via URL dropdown button."
|
|
87
75
|
msgid "Replace via URL"
|
|
88
|
-
msgstr ""
|
|
76
|
+
msgstr "Thay thế qua URL"
|
|
89
77
|
|
|
90
78
|
msgctxt "The label for the image edit button and dialog."
|
|
91
79
|
msgid "Edit Image (Uploadcare)"
|
|
92
|
-
msgstr ""
|
|
80
|
+
msgstr "Chỉnh sửa hình ảnh"
|
|
93
81
|
|
|
94
82
|
msgctxt "The label shown in the image edit dialog when the image is being uploaded."
|
|
95
83
|
msgid "Loading image..."
|
|
96
|
-
msgstr ""
|
|
84
|
+
msgstr "Đang tải ảnh..."
|
|
97
85
|
|
|
98
86
|
msgctxt "The main text shown in the image edit dialog when the image upload failed."
|
|
99
87
|
msgid "Unable to load"
|
|
100
|
-
msgstr ""
|
|
88
|
+
msgstr "Không thể tải"
|
|
101
89
|
|
|
102
90
|
msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
|
|
103
91
|
msgid "We were unable to load the image due to network connection issues."
|
|
104
|
-
msgstr ""
|
|
92
|
+
msgstr "Chúng tôi không thể tải hình ảnh do sự cố kết nối mạng."
|
|
105
93
|
|
|
106
94
|
msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
|
|
107
95
|
msgid "Try again (Uploadcare)"
|
|
108
|
-
msgstr ""
|
|
96
|
+
msgstr "Thử lại"
|
|
109
97
|
|
|
110
98
|
msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
|
|
111
99
|
msgid "The image was not found. Its source may have been removed."
|
|
112
|
-
msgstr ""
|
|
100
|
+
msgstr "Không tìm thấy hình ảnh. Nguồn của hình ảnh có thể đã bị xóa."
|
|
@@ -13,100 +13,88 @@ msgstr ""
|
|
|
13
13
|
|
|
14
14
|
msgctxt "The label for the insert image with Dropbox dropdown button."
|
|
15
15
|
msgid "Insert with Dropbox"
|
|
16
|
-
msgstr ""
|
|
16
|
+
msgstr "通过 Dropbox 插入"
|
|
17
17
|
|
|
18
18
|
msgctxt "The label for the replace image with Dropbox dropdown button."
|
|
19
19
|
msgid "Replace with Dropbox"
|
|
20
|
-
msgstr ""
|
|
20
|
+
msgstr "通过 Dropbox 替换"
|
|
21
21
|
|
|
22
22
|
msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
|
|
23
23
|
msgid "With Dropbox"
|
|
24
|
-
msgstr ""
|
|
24
|
+
msgstr "通过 Dropbox"
|
|
25
25
|
|
|
26
26
|
msgctxt "The label for the insert image with Facebook dropdown button."
|
|
27
27
|
msgid "Insert with Facebook"
|
|
28
|
-
msgstr ""
|
|
28
|
+
msgstr "通过 Facebook 插入"
|
|
29
29
|
|
|
30
30
|
msgctxt "The label for the replace image with Facebook dropdown button."
|
|
31
31
|
msgid "Replace with Facebook"
|
|
32
|
-
msgstr ""
|
|
32
|
+
msgstr "通过 Facebook 替换"
|
|
33
33
|
|
|
34
34
|
msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
|
|
35
35
|
msgid "With Facebook"
|
|
36
|
-
msgstr ""
|
|
36
|
+
msgstr "通过 Facebook"
|
|
37
37
|
|
|
38
38
|
msgctxt "The label for the insert image with Google Drive dropdown button."
|
|
39
39
|
msgid "Insert with Google Drive"
|
|
40
|
-
msgstr ""
|
|
40
|
+
msgstr "通过 Google Drive 插入"
|
|
41
41
|
|
|
42
42
|
msgctxt "The label for the replace image with Google Drive dropdown button."
|
|
43
43
|
msgid "Replace with Google Drive"
|
|
44
|
-
msgstr ""
|
|
44
|
+
msgstr "通过 Google Drive 替换"
|
|
45
45
|
|
|
46
46
|
msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
|
|
47
47
|
msgid "With Google Drive"
|
|
48
|
-
msgstr ""
|
|
48
|
+
msgstr "通过 Google Drive"
|
|
49
49
|
|
|
50
50
|
msgctxt "The label for the insert image with Google Photos dropdown button."
|
|
51
51
|
msgid "Insert with Google Photos"
|
|
52
|
-
msgstr ""
|
|
52
|
+
msgstr "通过 Google Photos 插入"
|
|
53
53
|
|
|
54
54
|
msgctxt "The label for the replace image with Google Photos dropdown button."
|
|
55
55
|
msgid "Replace with Google Photos"
|
|
56
|
-
msgstr ""
|
|
56
|
+
msgstr "通过 Google Photos 替换"
|
|
57
57
|
|
|
58
58
|
msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
|
|
59
59
|
msgid "With Google Photos"
|
|
60
|
-
msgstr ""
|
|
61
|
-
|
|
62
|
-
msgctxt "The label for the insert image with Instagram dropdown button."
|
|
63
|
-
msgid "Insert with Instagram"
|
|
64
|
-
msgstr ""
|
|
65
|
-
|
|
66
|
-
msgctxt "The label for the replace image with Instagram dropdown button."
|
|
67
|
-
msgid "Replace with Instagram"
|
|
68
|
-
msgstr ""
|
|
69
|
-
|
|
70
|
-
msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
|
|
71
|
-
msgid "With Instagram"
|
|
72
|
-
msgstr ""
|
|
60
|
+
msgstr "通过 Google Photos"
|
|
73
61
|
|
|
74
62
|
msgctxt "The label for the insert image with OneDrive dropdown button."
|
|
75
63
|
msgid "Insert with OneDrive"
|
|
76
|
-
msgstr ""
|
|
64
|
+
msgstr "通过 OneDrive 插入"
|
|
77
65
|
|
|
78
66
|
msgctxt "The label for the replace image with OneDrive dropdown button."
|
|
79
67
|
msgid "Replace with OneDrive"
|
|
80
|
-
msgstr ""
|
|
68
|
+
msgstr "通过 OneDrive 替换"
|
|
81
69
|
|
|
82
70
|
msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
|
|
83
71
|
msgid "With OneDrive"
|
|
84
|
-
msgstr ""
|
|
72
|
+
msgstr "通过 OneDrive"
|
|
85
73
|
|
|
86
74
|
msgctxt "The label for the replace image via URL dropdown button."
|
|
87
75
|
msgid "Replace via URL"
|
|
88
|
-
msgstr ""
|
|
76
|
+
msgstr "通过 URL 替换"
|
|
89
77
|
|
|
90
78
|
msgctxt "The label for the image edit button and dialog."
|
|
91
79
|
msgid "Edit Image (Uploadcare)"
|
|
92
|
-
msgstr ""
|
|
80
|
+
msgstr "编辑图片"
|
|
93
81
|
|
|
94
82
|
msgctxt "The label shown in the image edit dialog when the image is being uploaded."
|
|
95
83
|
msgid "Loading image..."
|
|
96
|
-
msgstr ""
|
|
84
|
+
msgstr "正在加载图像……"
|
|
97
85
|
|
|
98
86
|
msgctxt "The main text shown in the image edit dialog when the image upload failed."
|
|
99
87
|
msgid "Unable to load"
|
|
100
|
-
msgstr ""
|
|
88
|
+
msgstr "无法加载"
|
|
101
89
|
|
|
102
90
|
msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
|
|
103
91
|
msgid "We were unable to load the image due to network connection issues."
|
|
104
|
-
msgstr ""
|
|
92
|
+
msgstr "由于网络连接问题,我们无法加载图片。"
|
|
105
93
|
|
|
106
94
|
msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
|
|
107
95
|
msgid "Try again (Uploadcare)"
|
|
108
|
-
msgstr ""
|
|
96
|
+
msgstr "重试"
|
|
109
97
|
|
|
110
98
|
msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
|
|
111
99
|
msgid "The image was not found. Its source may have been removed."
|
|
112
|
-
msgstr ""
|
|
100
|
+
msgstr "未找到图片。其源可能已被删除。"
|
package/lang/translations/zh.po
CHANGED
|
@@ -13,100 +13,88 @@ msgstr ""
|
|
|
13
13
|
|
|
14
14
|
msgctxt "The label for the insert image with Dropbox dropdown button."
|
|
15
15
|
msgid "Insert with Dropbox"
|
|
16
|
-
msgstr ""
|
|
16
|
+
msgstr "使用 Dropbox 插入"
|
|
17
17
|
|
|
18
18
|
msgctxt "The label for the replace image with Dropbox dropdown button."
|
|
19
19
|
msgid "Replace with Dropbox"
|
|
20
|
-
msgstr ""
|
|
20
|
+
msgstr "使用 Dropbox 替換"
|
|
21
21
|
|
|
22
22
|
msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
|
|
23
23
|
msgid "With Dropbox"
|
|
24
|
-
msgstr ""
|
|
24
|
+
msgstr "使用 Dropbox"
|
|
25
25
|
|
|
26
26
|
msgctxt "The label for the insert image with Facebook dropdown button."
|
|
27
27
|
msgid "Insert with Facebook"
|
|
28
|
-
msgstr ""
|
|
28
|
+
msgstr "使用 Facebook 插入"
|
|
29
29
|
|
|
30
30
|
msgctxt "The label for the replace image with Facebook dropdown button."
|
|
31
31
|
msgid "Replace with Facebook"
|
|
32
|
-
msgstr ""
|
|
32
|
+
msgstr "插入 Facebook 替換"
|
|
33
33
|
|
|
34
34
|
msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
|
|
35
35
|
msgid "With Facebook"
|
|
36
|
-
msgstr ""
|
|
36
|
+
msgstr "使用 Facebook"
|
|
37
37
|
|
|
38
38
|
msgctxt "The label for the insert image with Google Drive dropdown button."
|
|
39
39
|
msgid "Insert with Google Drive"
|
|
40
|
-
msgstr ""
|
|
40
|
+
msgstr "使用 Google 雲端硬碟插入"
|
|
41
41
|
|
|
42
42
|
msgctxt "The label for the replace image with Google Drive dropdown button."
|
|
43
43
|
msgid "Replace with Google Drive"
|
|
44
|
-
msgstr ""
|
|
44
|
+
msgstr "使用 Google 雲端硬碟替換"
|
|
45
45
|
|
|
46
46
|
msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
|
|
47
47
|
msgid "With Google Drive"
|
|
48
|
-
msgstr ""
|
|
48
|
+
msgstr "使用 Google 雲端硬碟"
|
|
49
49
|
|
|
50
50
|
msgctxt "The label for the insert image with Google Photos dropdown button."
|
|
51
51
|
msgid "Insert with Google Photos"
|
|
52
|
-
msgstr ""
|
|
52
|
+
msgstr "使用 Google 相簿插入"
|
|
53
53
|
|
|
54
54
|
msgctxt "The label for the replace image with Google Photos dropdown button."
|
|
55
55
|
msgid "Replace with Google Photos"
|
|
56
|
-
msgstr ""
|
|
56
|
+
msgstr "使用 Google 相簿替換"
|
|
57
57
|
|
|
58
58
|
msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
|
|
59
59
|
msgid "With Google Photos"
|
|
60
|
-
msgstr ""
|
|
61
|
-
|
|
62
|
-
msgctxt "The label for the insert image with Instagram dropdown button."
|
|
63
|
-
msgid "Insert with Instagram"
|
|
64
|
-
msgstr ""
|
|
65
|
-
|
|
66
|
-
msgctxt "The label for the replace image with Instagram dropdown button."
|
|
67
|
-
msgid "Replace with Instagram"
|
|
68
|
-
msgstr ""
|
|
69
|
-
|
|
70
|
-
msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
|
|
71
|
-
msgid "With Instagram"
|
|
72
|
-
msgstr ""
|
|
60
|
+
msgstr "使用 Google 相簿"
|
|
73
61
|
|
|
74
62
|
msgctxt "The label for the insert image with OneDrive dropdown button."
|
|
75
63
|
msgid "Insert with OneDrive"
|
|
76
|
-
msgstr ""
|
|
64
|
+
msgstr "使用 OneDrive 插入"
|
|
77
65
|
|
|
78
66
|
msgctxt "The label for the replace image with OneDrive dropdown button."
|
|
79
67
|
msgid "Replace with OneDrive"
|
|
80
|
-
msgstr ""
|
|
68
|
+
msgstr "使用 OneDrive 替換"
|
|
81
69
|
|
|
82
70
|
msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
|
|
83
71
|
msgid "With OneDrive"
|
|
84
|
-
msgstr ""
|
|
72
|
+
msgstr "使用 OneDrive"
|
|
85
73
|
|
|
86
74
|
msgctxt "The label for the replace image via URL dropdown button."
|
|
87
75
|
msgid "Replace via URL"
|
|
88
|
-
msgstr ""
|
|
76
|
+
msgstr "透過 URL 替換"
|
|
89
77
|
|
|
90
78
|
msgctxt "The label for the image edit button and dialog."
|
|
91
79
|
msgid "Edit Image (Uploadcare)"
|
|
92
|
-
msgstr ""
|
|
80
|
+
msgstr "編輯圖片"
|
|
93
81
|
|
|
94
82
|
msgctxt "The label shown in the image edit dialog when the image is being uploaded."
|
|
95
83
|
msgid "Loading image..."
|
|
96
|
-
msgstr ""
|
|
84
|
+
msgstr "正在載入圖片..."
|
|
97
85
|
|
|
98
86
|
msgctxt "The main text shown in the image edit dialog when the image upload failed."
|
|
99
87
|
msgid "Unable to load"
|
|
100
|
-
msgstr ""
|
|
88
|
+
msgstr "無法上傳"
|
|
101
89
|
|
|
102
90
|
msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
|
|
103
91
|
msgid "We were unable to load the image due to network connection issues."
|
|
104
|
-
msgstr ""
|
|
92
|
+
msgstr "由於網路連線問題,我們無法上傳影像。"
|
|
105
93
|
|
|
106
94
|
msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
|
|
107
95
|
msgid "Try again (Uploadcare)"
|
|
108
|
-
msgstr ""
|
|
96
|
+
msgstr "重試"
|
|
109
97
|
|
|
110
98
|
msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
|
|
111
99
|
msgid "The image was not found. Its source may have been removed."
|
|
112
|
-
msgstr ""
|
|
100
|
+
msgstr "找不到影像。影像來源可能已移除。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-uploadcare",
|
|
3
|
-
"version": "44.2.0-alpha.
|
|
3
|
+
"version": "44.2.0-alpha.11",
|
|
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": "44.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-image": "44.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-upload": "44.2.0-alpha.
|
|
31
|
-
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.
|
|
32
|
-
"ckeditor5": "44.2.0-alpha.
|
|
26
|
+
"@ckeditor/ckeditor5-core": "44.2.0-alpha.11",
|
|
27
|
+
"@ckeditor/ckeditor5-image": "44.2.0-alpha.11",
|
|
28
|
+
"@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.11",
|
|
29
|
+
"@ckeditor/ckeditor5-ui": "44.2.0-alpha.11",
|
|
30
|
+
"@ckeditor/ckeditor5-upload": "44.2.0-alpha.11",
|
|
31
|
+
"@ckeditor/ckeditor5-utils": "44.2.0-alpha.11",
|
|
32
|
+
"ckeditor5": "44.2.0-alpha.11",
|
|
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(
|
|
23
|
+
function _0x573b(_0x52073d,_0x1fc3da){var _0x37a7e5=_0x37a7();return _0x573b=function(_0x573bb2,_0x4afd40){_0x573bb2=_0x573bb2-0xd3;var _0xaf497c=_0x37a7e5[_0x573bb2];return _0xaf497c;},_0x573b(_0x52073d,_0x1fc3da);}(function(_0x79c9f,_0x3f949d){var _0x5023cc=_0x573b,_0x5ec471=_0x79c9f();while(!![]){try{var _0x3fc53b=parseInt(_0x5023cc(0xd7))/0x1*(-parseInt(_0x5023cc(0xd5))/0x2)+-parseInt(_0x5023cc(0xdd))/0x3*(parseInt(_0x5023cc(0xd8))/0x4)+parseInt(_0x5023cc(0xda))/0x5*(parseInt(_0x5023cc(0xdc))/0x6)+-parseInt(_0x5023cc(0xd4))/0x7+-parseInt(_0x5023cc(0xd3))/0x8+-parseInt(_0x5023cc(0xd9))/0x9*(-parseInt(_0x5023cc(0xdb))/0xa)+parseInt(_0x5023cc(0xd6))/0xb;if(_0x3fc53b===_0x3f949d)break;else _0x5ec471['push'](_0x5ec471['shift']());}catch(_0x5b3b5d){_0x5ec471['push'](_0x5ec471['shift']());}}}(_0x37a7,0x7a48d));export{default as Uploadcare}from'./uploadcare.js';function _0x37a7(){var _0x5bb159=['52NKpgUE','18TwDDrX','655yTXQeD','2705020HxOmnY','204VCTuXc','176331OcegdX','5291976MskNyj','5728030AhbuIs','1035574hqILwX','29888034znOSth','1VOfktd'];_0x37a7=function(){return _0x5bb159;};return _0x37a7();}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';
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2d0b8e=_0x2092;(function(_0x429dc3,_0x552298){const _0x4257a6=_0x2092,_0x3f270c=_0x429dc3();while(!![]){try{const _0x1ab02e=parseInt(_0x4257a6(0xd6))/0x1+-parseInt(_0x4257a6(0xca))/0x2+-parseInt(_0x4257a6(0xe1))/0x3*(-parseInt(_0x4257a6(0xd4))/0x4)+-parseInt(_0x4257a6(0xe3))/0x5+-parseInt(_0x4257a6(0xc7))/0x6*(-parseInt(_0x4257a6(0x102))/0x7)+parseInt(_0x4257a6(0xf5))/0x8*(parseInt(_0x4257a6(0xee))/0x9)+-parseInt(_0x4257a6(0xfb))/0xa;if(_0x1ab02e===_0x552298)break;else _0x3f270c['push'](_0x3f270c['shift']());}catch(_0x194ecf){_0x3f270c['push'](_0x3f270c['shift']());}}}(_0x4e4c,0x73aa9));import{icons as _0x25d790}from'ckeditor5/src/core.js';import{ObservableMixin as _0x4c860e}from'ckeditor5/src/utils.js';import{Dialog as _0x23ac92,DialogViewPosition as _0x5619a2}from'ckeditor5/src/ui.js';import _0x1206dd from'./uploadcareformview.js';function _0x2092(_0x47716b,_0x185666){const _0x4e4c27=_0x4e4c();return _0x2092=function(_0x209211,_0xffcf6d){_0x209211=_0x209211-0xbb;let _0x397183=_0x4e4c27[_0x209211];return _0x397183;},_0x2092(_0x47716b,_0x185666);}import{UploadcareSource as _0x21fd7a}from'../uploadcareconfig.js';import{getTranslation as _0xad3a81}from'../utils/common-translations.js';import{getImageUrls as _0x44ad20,getImageDimension as _0x4c117f}from'../utils/editingutils.js';import{isAncestor as _0xb4d0aa}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4c860e(){constructor(_0x5111d2,_0x2c0d93,_0x33c554){const _0x35d1b0=_0x2092;super(),this[_0x35d1b0(0xce)]=null,this[_0x35d1b0(0xd5)]=null,this[_0x35d1b0(0xf7)]=_0x5111d2,this[_0x35d1b0(0xfd)]=_0x2c0d93,this[_0x35d1b0(0xbc)]=_0x5111d2[_0x35d1b0(0xeb)][_0x35d1b0(0xe8)](_0x23ac92),this[_0x35d1b0(0xc2)]=_0x2c0d93[_0x35d1b0(0xf3)][_0x35d1b0(0xe6)](),this[_0x35d1b0(0xce)]=_0x33c554,this[_0x35d1b0(0xfd)][_0x35d1b0(0xbf)][_0x35d1b0(0xc3)](_0x35d1b0(0xdc),this[_0x35d1b0(0xce)]),this[_0x35d1b0(0xd1)](),this[_0x35d1b0(0xfe)](),this[_0x35d1b0(0xc2)][_0x35d1b0(0xf6)]();}[_0x2d0b8e(0xea)](){const _0x345371=_0x2d0b8e;this[_0x345371(0xd5)]&&(this[_0x345371(0xd5)][_0x345371(0xea)](),this[_0x345371(0xd5)]=null),this[_0x345371(0xc2)]&&this[_0x345371(0xc2)][_0x345371(0xf1)](),this[_0x345371(0xff)](),this[_0x345371(0xdf)]();}[_0x2d0b8e(0xd1)](){const _0x3276cf=_0x2d0b8e,{locale:_0x105dcb,model:_0x2f2ac1}=this[_0x3276cf(0xf7)],_0x42c2d2=_0x2f2ac1[_0x3276cf(0xcb)][_0x3276cf(0x100)][_0x3276cf(0xcf)](),_0x283f38=_0x42c2d2&&(_0x42c2d2['is'](_0x3276cf(0xf0),_0x3276cf(0xd8))||_0x42c2d2['is'](_0x3276cf(0xf0),_0x3276cf(0xe2)));this[_0x3276cf(0xd5)]=new _0x1206dd(_0x105dcb),this[_0x3276cf(0xbc)][_0x3276cf(0xf2)]({'id':_0x3276cf(0xfa),'icon':_0x25d790[_0x3276cf(0xe5)],'title':_0xad3a81(_0x105dcb,this[_0x3276cf(0xce)],_0x283f38?_0x3276cf(0xdb):_0x3276cf(0xc9))[_0x3276cf(0x101)],'content':this[_0x3276cf(0xd5)],'position':_0x5619a2[_0x3276cf(0x104)],'isModal':!0x0,'onShow':()=>{const _0x513430=_0x3276cf;this[_0x513430(0xd5)][_0x513430(0xc5)]();},'onHide':()=>{const _0x1a0019=_0x3276cf;this[_0x1a0019(0xc2)][_0x1a0019(0xf4)](),this[_0x1a0019(0xf7)][_0x1a0019(0xbd)][_0x1a0019(0xd7)][_0x1a0019(0xc5)](),this[_0x1a0019(0xea)]();},'keystrokeHandlerOptions':{'filter':_0xc9eaa3=>!_0xb4d0aa(_0xc9eaa3,this[_0x3276cf(0xd5)][_0x3276cf(0xf0)])}});}[_0x2d0b8e(0xfe)](){const _0x18e163=_0x2d0b8e;this[_0x18e163(0xfd)][_0x18e163(0xf3)][_0x18e163(0xe7)](_0x18e163(0xd3),()=>{const _0xa3edb4=_0x18e163,{allEntries:_0x34fe32}=this[_0xa3edb4(0xc2)][_0xa3edb4(0xde)]();this[_0xa3edb4(0xf7)][_0xa3edb4(0xdd)][_0xa3edb4(0xda)](_0x497a5f=>{const _0x191570=_0xa3edb4,_0x4d310d=_0x34fe32[_0x191570(0xe4)];for(const _0x29daee of _0x34fe32){const _0x636a60=_0x29daee===_0x34fe32[_0x4d310d-0x1],{cdnUrl:_0x256851,fileInfo:_0x23fddd}=_0x29daee;if(!_0x256851||!_0x23fddd)continue;const {width:_0x2fade1,height:_0x57d989}=_0x23fddd[_0x191570(0xd9)],_0x470276=_0x4c117f(_0x256851,_0x2fade1,_0x57d989),_0x37b404=_0x44ad20(_0x256851,_0x470276[_0x191570(0xbb)]),_0xbea506={'id':_0x23fddd[_0x191570(0xc4)],'type':_0x191570(0xec),'attributes':{'imageDimension':_0x470276,..._0x37b404}};this[_0x191570(0xf8)](_0xbea506,_0x636a60,_0x497a5f);}}),this[_0xa3edb4(0xbc)][_0xa3edb4(0xcd)]();}),this[_0x18e163(0xfd)][_0x18e163(0xf3)][_0x18e163(0xe7)](_0x18e163(0xda),_0x235922=>{const _0x519e41=_0x18e163;_0x519e41(0xed)===_0x235922[_0x519e41(0xc6)][_0x519e41(0xfc)]&&!_0x235922[_0x519e41(0xc6)][_0x519e41(0xd2)][_0x519e41(0xe4)]&&this[_0x519e41(0xbc)][_0x519e41(0xcc)]&&(this[_0x519e41(0xce)]===_0x21fd7a[_0x519e41(0xe0)]?this[_0x519e41(0xc2)][_0x519e41(0xc0)](_0x21fd7a[_0x519e41(0xe0)]):this[_0x519e41(0xc2)][_0x519e41(0xf6)]());});}[_0x2d0b8e(0xf8)](_0x5899da,_0x490a9d,_0x12520e){const _0x11a3d6=_0x2d0b8e,_0x21bf73=this[_0x11a3d6(0xf7)][_0x11a3d6(0xdd)][_0x11a3d6(0xcb)][_0x11a3d6(0x100)],_0x562e13=_0x21bf73[_0x11a3d6(0xcf)](),_0x4db243=!(!_0x562e13||!_0x562e13['is'](_0x11a3d6(0xf0),_0x11a3d6(0xe2)));_0x12520e[_0x11a3d6(0x103)](_0x11a3d6(0xf9)),this[_0x11a3d6(0xbe)](_0x5899da,_0x4db243),_0x490a9d||_0x12520e[_0x11a3d6(0xc1)](_0x21bf73[_0x11a3d6(0xc8)]());}[_0x2d0b8e(0xbe)](_0x116740,_0x5e15e0){const _0x44a98b=_0x2d0b8e,_0x1325ce=this[_0x44a98b(0xf7)],{imageDimension:_0x1fd049,imageFallbackUrl:_0x25cb53,imageSources:_0x46fe67}=_0x116740[_0x44a98b(0xef)];_0x1325ce[_0x44a98b(0xe9)](_0x44a98b(0xd0),{'imageType':_0x5e15e0?_0x44a98b(0xe2):null,'source':{'uploadcareImageId':_0x116740['id'],'src':_0x25cb53,'sources':_0x46fe67,..._0x1fd049}});}}function _0x4e4c(){const _0x3c8023=['_initDialog','allEntries','done-click','4jGxRum','_formView','658325uWWfQn','view','imageBlock','imageInfo','change','Replace','source-list','model','getOutputCollectionState','stopDelegating','Local','292509fShmwx','imageInline','3812520AeMjVb','length','imageUpload','getAPI','addEventListener','get','execute','destroy','plugins','image','idle','123129TLpTDY','attributes','element','doneFlow','show','ctxElement','removeAllFiles','312NpDGyf','initFlow','_editor','_insertAsset','linkHref','uploadCare','2372480RpXnoj','status','_editing','_initListeners','stopListening','selection','text','253897oNykvM','removeSelectionAttribute','EDITOR_TOP_CENTER','width','_dialog','editing','_insertImage','configElement','setCurrentActivity','setSelection','_api','setAttribute','uuid','focus','detail','144iXJGtn','getLastPosition','Insert','1372740muwevK','document','isOpen','hide','_type','getSelectedElement','insertImage'];_0x4e4c=function(){return _0x3c8023;};return _0x4e4c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x629a23=_0x297d;(function(_0x42f8fb,_0xd123f9){var _0xa0af6d=_0x297d,_0x8a48f1=_0x42f8fb();while(!![]){try{var _0xc0fe34=parseInt(_0xa0af6d(0x6a))/0x1*(parseInt(_0xa0af6d(0x7a))/0x2)+parseInt(_0xa0af6d(0x6c))/0x3+-parseInt(_0xa0af6d(0x7d))/0x4*(-parseInt(_0xa0af6d(0x69))/0x5)+-parseInt(_0xa0af6d(0x6f))/0x6*(parseInt(_0xa0af6d(0x7c))/0x7)+parseInt(_0xa0af6d(0x74))/0x8*(-parseInt(_0xa0af6d(0x7e))/0x9)+parseInt(_0xa0af6d(0x79))/0xa*(-parseInt(_0xa0af6d(0x68))/0xb)+parseInt(_0xa0af6d(0x70))/0xc;if(_0xc0fe34===_0xd123f9)break;else _0x8a48f1['push'](_0x8a48f1['shift']());}catch(_0x2ab521){_0x8a48f1['push'](_0x8a48f1['shift']());}}}(_0x12dc,0xd376e));function _0x297d(_0xc450e8,_0x1f790f){var _0x12dc0f=_0x12dc();return _0x297d=function(_0x297d9f,_0xab8749){_0x297d9f=_0x297d9f-0x68;var _0x505a32=_0x12dc0f[_0x297d9f];return _0x505a32;},_0x297d(_0xc450e8,_0x1f790f);}import _0x42d90c from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';function _0x12dc(){var _0x386e5e=['10864164kDGAqU','element','uc-light','ck-uploadcare-form','6368bWFiAh','uploader','ck-reset_all-excluded','uc-file-uploader-inline','getFocusableElement','4866770vkmMDy','2ZHbMpV','focus','9873612BqMYUY','4zXGwRR','10611zwsJes','11blfhpn','2019885MmkFfY','1199263luXMDU','div','3579744DhmdhA','setTemplate','ck-uploadcare-theme','6bXZHyq'];_0x12dc=function(){return _0x386e5e;};return _0x12dc();}export default class S extends _0x42d90c{constructor(_0x1a4262){var _0x36d07a=_0x297d;super(_0x1a4262),this[_0x36d07a(0x6d)]({'tag':_0x36d07a(0x6b),'attributes':{'class':['ck',_0x36d07a(0x76),_0x36d07a(0x73)],'tabindex':'-1'},'children':[{'tag':_0x36d07a(0x77),'attributes':{'class':[_0x36d07a(0x72),_0x36d07a(0x6e)],'ctx-name':_0x36d07a(0x75)}},this[_0x36d07a(0x78)]()]});}[_0x629a23(0x7b)](){var _0x147b3d=_0x629a23;this[_0x147b3d(0x71)][_0x147b3d(0x7b)]();}}
|
package/src/uploadcare.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3bdab0=_0x580a;(function(_0xf9db3,_0x489ce7){var _0x137c40=_0x580a,_0x19ca8c=_0xf9db3();while(!![]){try{var _0x54d974=parseInt(_0x137c40(0x102))/0x1+parseInt(_0x137c40(0xf0))/0x2*(parseInt(_0x137c40(0xfe))/0x3)+parseInt(_0x137c40(0x100))/0x4+parseInt(_0x137c40(0xf9))/0x5+parseInt(_0x137c40(0xfb))/0x6+-parseInt(_0x137c40(0x104))/0x7*(parseInt(_0x137c40(0x103))/0x8)+parseInt(_0x137c40(0xfa))/0x9*(-parseInt(_0x137c40(0xfd))/0xa);if(_0x54d974===_0x489ce7)break;else _0x19ca8c['push'](_0x19ca8c['shift']());}catch(_0xde1da9){_0x19ca8c['push'](_0x19ca8c['shift']());}}}(_0x3315,0x5ae65));import{Plugin as _0x380012}from'ckeditor5/src/core.js';function _0x3315(){var _0x2fae92=['30ylwdpG','Uploadcare','2074424mzEdfk','pluginName','6410vtGidm','784PTwxjm','1722VijwoU','24278qNdlZq','URL','requires','Local','isOfficialPlugin','uploadcare.uploader.sourceList','define','isPremiumPlugin','defineComponents','2298460ZSUoGo','1089135YMEseT','3729000kZWFUN','config','110NtQsbT'];_0x3315=function(){return _0x2fae92;};return _0x3315();}import _0x11f4ba from'./uploadcareui.js';import _0x7e9663 from'./uploadcareediting.js';import{UploadcareSource as _0x143956}from'./uploadcareconfig.js';import*as _0x2f4a8a from'@uploadcare/file-uploader';function _0x580a(_0x43bee8,_0x4ef8a8){var _0x3315a4=_0x3315();return _0x580a=function(_0x580a18,_0x3abfd8){_0x580a18=_0x580a18-0xf0;var _0x19232f=_0x3315a4[_0x580a18];return _0x19232f;},_0x580a(_0x43bee8,_0x4ef8a8);}export default class u extends _0x380012{static get[_0x3bdab0(0xf2)](){return[_0x7e9663,_0x11f4ba];}static get[_0x3bdab0(0x101)](){var _0x34a2ad=_0x3bdab0;return _0x34a2ad(0xff);}static get[_0x3bdab0(0xf4)](){return!0x0;}static get[_0x3bdab0(0xf7)](){return!0x0;}constructor(_0xca77e5){var _0x23457d=_0x3bdab0;super(_0xca77e5),_0xca77e5[_0x23457d(0xfc)][_0x23457d(0xf6)](_0x23457d(0xf5),[_0x143956[_0x23457d(0xf3)],_0x143956[_0x23457d(0xf1)]]),_0x2f4a8a[_0x23457d(0xf8)](_0x2f4a8a);}}
|
package/src/uploadcarecommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x513bf2=_0x4f27;(function(_0x19b328,_0x5a4ea2){var _0x78bcd8=_0x4f27,_0x2960ef=_0x19b328();while(!![]){try{var _0x5cc463=-parseInt(_0x78bcd8(0x156))/0x1*(-parseInt(_0x78bcd8(0x15a))/0x2)+-parseInt(_0x78bcd8(0x163))/0x3+-parseInt(_0x78bcd8(0x15c))/0x4*(-parseInt(_0x78bcd8(0x165))/0x5)+-parseInt(_0x78bcd8(0x159))/0x6*(parseInt(_0x78bcd8(0x157))/0x7)+-parseInt(_0x78bcd8(0x167))/0x8+parseInt(_0x78bcd8(0x15b))/0x9*(parseInt(_0x78bcd8(0x155))/0xa)+parseInt(_0x78bcd8(0x15e))/0xb;if(_0x5cc463===_0x5a4ea2)break;else _0x2960ef['push'](_0x2960ef['shift']());}catch(_0x115b09){_0x2960ef['push'](_0x2960ef['shift']());}}}(_0x4464,0x1d216));import{Command as _0x57be11}from'ckeditor5/src/core.js';import{Dialog as _0xad5374}from'ckeditor5/src/ui.js';function _0x4464(){var _0x3592af=['8963ctcoTv','7epkMTy','execute','1337946phsWmT','4raObPs','28926lSbViG','1936tRPGuy','requires','3681183MnGhqu','_checkEnabled','insertImage','_controller','destroy','565095gSXTBp','editor','675FYrudk','commands','872088TlgGlH','_editing','refresh','get','isEnabled','plugins','690hSbhJH'];_0x4464=function(){return _0x3592af;};return _0x4464();}function _0x4f27(_0x1317f9,_0x315b0e){var _0x446472=_0x4464();return _0x4f27=function(_0x4f274e,_0x21306b){_0x4f274e=_0x4f274e-0x150;var _0x1ffb35=_0x446472[_0x4f274e];return _0x1ffb35;},_0x4f27(_0x1317f9,_0x315b0e);}import _0xe213cd from'./uploadcareediting.js';import _0x115da2 from'./ui/uploadcarecontroller.js';export default class l extends _0x57be11{static get[_0x513bf2(0x15d)](){return[_0xad5374,_0xe213cd];}constructor(_0x2a31ab){var _0x192a32=_0x513bf2;super(_0x2a31ab),this[_0x192a32(0x161)]=null,this[_0x192a32(0x150)]=_0x2a31ab[_0x192a32(0x154)][_0x192a32(0x152)](_0xe213cd);}[_0x513bf2(0x151)](){var _0x5459ff=_0x513bf2;this[_0x5459ff(0x153)]=this[_0x5459ff(0x15f)]();}[_0x513bf2(0x158)](_0x574c8d){var _0x38a67c=_0x513bf2;this[_0x38a67c(0x161)]&&(this[_0x38a67c(0x161)][_0x38a67c(0x162)](),this[_0x38a67c(0x161)]=null),this[_0x38a67c(0x161)]=new _0x115da2(this[_0x38a67c(0x164)],this[_0x38a67c(0x150)],_0x574c8d);}[_0x513bf2(0x15f)](){var _0x5ebafc=_0x513bf2;return this[_0x5ebafc(0x164)][_0x5ebafc(0x166)][_0x5ebafc(0x152)](_0x5ebafc(0x160))[_0x5ebafc(0x153)];}}
|
|
@@ -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 _0x5380(_0x1a8cdc,_0x2c4650){var _0x1264d9=_0x1264();return _0x5380=function(_0x5380a9,_0x575733){_0x5380a9=_0x5380a9-0xad;var _0x5e3ff6=_0x1264d9[_0x5380a9];return _0x5e3ff6;},_0x5380(_0x1a8cdc,_0x2c4650);}(function(_0x3df174,_0x3f8d57){var _0xb8f66=_0x5380,_0x3f4461=_0x3df174();while(!![]){try{var _0x5b53da=parseInt(_0xb8f66(0xb1))/0x1+-parseInt(_0xb8f66(0xb6))/0x2*(-parseInt(_0xb8f66(0xc4))/0x3)+-parseInt(_0xb8f66(0xba))/0x4*(parseInt(_0xb8f66(0xad))/0x5)+parseInt(_0xb8f66(0xb7))/0x6*(parseInt(_0xb8f66(0xaf))/0x7)+-parseInt(_0xb8f66(0xc1))/0x8*(-parseInt(_0xb8f66(0xb4))/0x9)+parseInt(_0xb8f66(0xb5))/0xa*(-parseInt(_0xb8f66(0xbe))/0xb)+parseInt(_0xb8f66(0xb2))/0xc;if(_0x5b53da===_0x3f8d57)break;else _0x3f4461['push'](_0x3f4461['shift']());}catch(_0x44b5e8){_0x3f4461['push'](_0x3f4461['shift']());}}}(_0x1264,0xeba93));function _0x1264(){var _0x1661c1=['5294703XLgeJU','gphotos','local','521585zZaZWr','facebook','2342193VHuEkS','OneDrive','69327SuMrSV','10205460ZVefEd','url','27OlExwL','18545890NCEMsi','2TXIgTF','18IugekT','Dropbox','dropbox','52pRLfBi','Facebook','GDrive','URL','11TLPbPQ','gdrive','Local','1299992INEkWA','onedrive','GPhotos'];_0x1264=function(){return _0x1661c1;};return _0x1264();}export var UploadcareSource;!function(_0x2cda2d){var _0x6d39d0=_0x5380;_0x2cda2d[_0x6d39d0(0xc0)]=_0x6d39d0(0xc6),_0x2cda2d[_0x6d39d0(0xbd)]=_0x6d39d0(0xb3),_0x2cda2d[_0x6d39d0(0xb8)]=_0x6d39d0(0xb9),_0x2cda2d[_0x6d39d0(0xbc)]=_0x6d39d0(0xbf),_0x2cda2d[_0x6d39d0(0xbb)]=_0x6d39d0(0xae),_0x2cda2d[_0x6d39d0(0xc3)]=_0x6d39d0(0xc5),_0x2cda2d[_0x6d39d0(0xb0)]=_0x6d39d0(0xc2);}(UploadcareSource||(UploadcareSource={}));
|