@ckeditor/ckeditor5-import-word 0.0.0-nightly-20240507.0 → 0.0.0-nightly-20240509.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/build/import-word.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.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.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.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/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/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.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/nl.js +1 -1
- package/build/translations/no.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/sk.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/tr.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.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/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.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/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.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.js +1 -1
- package/dist/translations/en.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/tr.js +1 -1
- package/dist/translations/tr.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/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 +2 -1
- package/lang/translations/ar.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +4 -0
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/ug.po +4 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +2 -2
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0xf7e585=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x105812=>{const {vi:{dictionary:_0x141b3c,getPluralForm:_0x404b54}}={'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.','Importing\x20Word\x20document':''},'getPluralForm':_0x136ec4=>0x0}};_0x105812['vi']||={'dictionary':{},'getPluralForm':null},_0x105812['vi']['dictionary']=Object['assign'](_0x105812['vi']['dictionary'],_0x141b3c),_0x105812['vi']['getPluralForm']=_0x404b54;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。','Importing\x20Word\x20document':''},'getPluralForm':_0x47608d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x49b46b=>{const {'zh-cn':{dictionary:_0x1da433,getPluralForm:_0x3a8a86}}={'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。','Importing\x20Word\x20document':''},'getPluralForm':_0x5d711d=>0x0}};_0x49b46b['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x49b46b['zh-cn']['dictionary']=Object['assign'](_0x49b46b['zh-cn']['dictionary'],_0x1da433),_0x49b46b['zh-cn']['getPluralForm']=_0x3a8a86;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。','Importing\x20Word\x20document':''},'getPluralForm':_0x11e770=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18cc64=>{const {zh:{dictionary:_0x271f4e,getPluralForm:_0x31c550}}={'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。','Importing\x20Word\x20document':''},'getPluralForm':_0x227e77=>0x0}};_0x18cc64['zh']||={'dictionary':{},'getPluralForm':null},_0x18cc64['zh']['dictionary']=Object['assign'](_0x18cc64['zh']['dictionary'],_0x271f4e),_0x18cc64['zh']['getPluralForm']=_0x31c550;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/lang/contexts.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"Import from Word": "A toolbar button tooltip for the import from Word feature.",
|
|
3
|
-
"An error occurred while importing the Word file.": "An error message shown to the user when an error occurred while importing the Word file."
|
|
3
|
+
"An error occurred while importing the Word file.": "An error message shown to the user when an error occurred while importing the Word file.",
|
|
4
|
+
"Importing Word document": "Aria label set on Import from Word button while importing Word document."
|
|
4
5
|
}
|
package/lang/translations/ar.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "استيراد من Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "حدث خطأ أثناء استيراد ملف Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/bg.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Импортиране от Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Възникна грешка при импортирането на Word файла."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/bn.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "ওয়ার্ড থেকে ইমপোর্ট করুন"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "ওয়ার্ড ফাইল ইমপোর্ট করার সময় একটি ত্রুটি ঘটেছে।"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ca.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importeu de Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Hi ha hagut un error mentre s'importava l'arxiu de Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/cs.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importovat z Wordu"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Při importu souboru aplikace Word došlo k chybě."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/da.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importér fra Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Der opstod en fejl unde rimporteringen af Word-filen."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/de.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Aus Word importieren"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Beim Importieren der Word-Datei ist ein Fehler aufgetreten."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/el.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Εισαγωγή από Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή του αρχείου Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
|
@@ -24,3 +24,7 @@ msgstr "Import from Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "An error occurred while importing the Word file."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/en.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Import from Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "An error occurred while importing the Word file."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr "Importing Word document"
|
package/lang/translations/es.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importar desde Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Se ha producido un error al importar el archivo de Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/et.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Wordist importimine"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Wordi faili importimisel tekkis viga."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/fi.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Tuo Wordista"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Word-tiedoston tuomisessa tapahtui virhe."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/fr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importer depuis Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Une erreur s'est produite lors de l'importation du fichier Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/gl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importar dende Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Produciuse un erro ao importar o ficheiro de Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/he.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "ייבוא מ-Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "אירעה שגיאה בעת ייבוא קובץ ה-Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/hi.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "वर्ड से इंपोर्ट करें"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "वर्ड फाइल इंपोर्ट करते वक्त एरर हो गया"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/hr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Uvoz iz Worda"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Dogodila se greška prilikom uvoza iz Worda"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/hu.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importálás Word dokumentumból"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Hiba történt a Word fájl importálása közben."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/id.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Impor dari Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Terjadi kesalahan saat mengimpor file Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/it.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importa da Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Si è verificato un errore durante l'importazione del file Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ja.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Wordからインポート"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Wordフィアルのインポート中にエラーが発生しました"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ko.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Word에서 가져오기"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Word 파일을 가져오는 중 오류가 발생했습니다."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/lt.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importuoti iš ,,Word''"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Įvyko klaida importuojant ,,Word\" failą."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/lv.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importēt no Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Importējot Word failu, radās kļūda"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ms.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Import daripada Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Ralat berlaku semasa mengimport fail Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/nl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importeer vanuit Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Er is een fout opgetreden bij het importeren van het Word-bestand."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/no.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importer fra Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Det oppstod en feil ved importering av Word-filen."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/pl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importuj z programu Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Podczas importowania pliku z programu Word wystąpił błąd."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
|
@@ -24,3 +24,7 @@ msgstr "Importar do Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Ocorreu um erro ao importar o arquivo do Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/pt.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importar do Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Ocorreu um erro ao importar o ficheiro Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ro.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importați din Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "A apărut o eroare în timpul importării fișierului Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ru.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Импорт из Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "При импорте файла Word произошла ошибка."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/sk.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importovať z Wordu"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Pri importovaní súboru programu Word sa vyskytla chyba."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
|
@@ -24,3 +24,7 @@ msgstr "Uvezi iz word-a"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Došlo je do greške pri uvozu Word datoteke."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/sr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Увези из Ворд-а"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Дошло је до грешке при увозу Ворд датотеке"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/sv.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Importera från Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Ett fel inträffade vid import av Word-filen."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/th.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "นำเข้าจาก Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "เกิดข้อผิดพลาดขณะนำเข้าไฟล์ Word"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/tr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Word'den içe aktar"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Word dosyası içe aktarılırken bir hata oluştu."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ug.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Word تىن ئەكىر"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Word ھۆججەتتىن ئەكىرىۋاتقاندا بىر خاتالىق كۆرۈلدى."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/uk.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Імпортувати з Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Під час імпортування файлу Word сталася помилка."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Nhập từ Word"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "Đã xảy ra lỗi khi nhập tệp Word."
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
|
@@ -24,3 +24,7 @@ msgstr "从 Word 导入"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "导入 Word 文件时出错了。"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/lang/translations/zh.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "從 Word 匯入"
|
|
|
24
24
|
msgctxt "An error message shown to the user when an error occurred while importing the Word file."
|
|
25
25
|
msgid "An error occurred while importing the Word file."
|
|
26
26
|
msgstr "匯入 Word 檔時發生錯誤。"
|
|
27
|
+
|
|
28
|
+
msgctxt "Aria label set on Import from Word button while importing Word document."
|
|
29
|
+
msgid "Importing Word document"
|
|
30
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-import-word",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240509.0",
|
|
4
4
|
"description": "Import from Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"ckeditor5": "0.0.0-nightly-20240509.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (https://cksource.com/)",
|
package/src/importword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x57e7(_0x486748,_0x285e34){var _0x408036=_0x4080();return _0x57e7=function(_0x57e738,_0x3e8731){_0x57e738=_0x57e738-0x1a0;var _0x506048=_0x408036[_0x57e738];return _0x506048;},_0x57e7(_0x486748,_0x285e34);}var _0x523ae4=_0x57e7;(function(_0x32e558,_0x452b3c){var _0x161d39=_0x57e7,_0xc78aca=_0x32e558();while(!![]){try{var _0x22e008=-parseInt(_0x161d39(0x1a0))/0x1+-parseInt(_0x161d39(0x1a5))/0x2+parseInt(_0x161d39(0x1a7))/0x3+parseInt(_0x161d39(0x1a8))/0x4*(-parseInt(_0x161d39(0x1a4))/0x5)+-parseInt(_0x161d39(0x1aa))/0x6+-parseInt(_0x161d39(0x1a1))/0x7*(-parseInt(_0x161d39(0x1ac))/0x8)+-parseInt(_0x161d39(0x1a6))/0x9*(-parseInt(_0x161d39(0x1a3))/0xa);if(_0x22e008===_0x452b3c)break;else _0xc78aca['push'](_0xc78aca['shift']());}catch(_0x2f8320){_0xc78aca['push'](_0xc78aca['shift']());}}}(_0x4080,0x76e7f));import{Plugin as _0x215104}from'ckeditor5/src/core.js';import _0x1ded96 from'./importwordui.js';import _0xde638b from'./importwordediting.js';export default class i extends _0x215104{static get[_0x523ae4(0x1a2)](){var _0x355af5=_0x523ae4;return _0x355af5(0x1ab);}static get[_0x523ae4(0x1a9)](){return[_0xde638b,_0x1ded96];}}function _0x4080(){var _0x23f253=['390qVhzqo','787626vVDZja','1899sAeQHb','1175370UKvJpp','31660RUOFSV','requires','3206580YjKwEu','ImportWord','169552vDeulv','283765APoXgl','70xeAAYA','pluginName','81170SOnmdy'];_0x4080=function(){return _0x23f253;};return _0x4080();}
|
package/src/importwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x1b9c91}from'ckeditor5/src/core.js';import{Range as _0x418425}from'ckeditor5/src/engine.js';import{logWarning as _0x4bdad9,logError as _0x19b2ac,first as _0x149ddb,uid as _0x5daa58}from'ckeditor5/src/utils.js';export default class d extends _0x1b9c91{constructor(_0xc627e2){super(_0xc627e2),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x501596,_0x44450d)=>{const _0x2431b4=new DataTransfer();_0x2431b4['setData']('text/html',_0x44450d['html']);const _0x3bc6b8=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x51fd69=>{this['_importMarker']['stopListening'](),_0x51fd69['setSelection'](_0x3bc6b8),_0xc627e2['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2431b4});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x30f5c3,_0x5abf28={}){if(this['isBusy'])return Promise['resolve']();const _0x2da6a2=this['editor']['config']['get']('importWord'),_0x5e6ed5={'url':_0x2da6a2['converterUrl'],'file':_0x30f5c3,'serviceConfig':{..._0x5abf28,'formatting':_0x2da6a2['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x5e6ed5)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x88f148=this['editor']['model'],_0x4bfb99=_0x88f148['schema'],_0x198a16=_0x88f148['document']['selection'],_0x7a215=_0x149ddb(_0x198a16['getSelectedBlocks']());return!!_0x7a215&&_0x4bfb99['checkChild'](_0x7a215['parent'],'paragraph');}['_prepareForImport'](){const _0x370cbf=this['editor'],_0x467364=_0x370cbf['model'],_0x331569=_0x467364['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x370cbf['model']['createBatch']({'isUndoable':!0x0}),_0x467364['enqueueChange'](this['_undoStepBatch'],_0x1de81e=>{_0x331569['isCollapsed']||_0x467364['deleteContent'](_0x331569,{'leaveUnmerged':!0x0});const _0xd2d226=_0x331569['getFirstPosition'](),_0x28bfc7=_0x149ddb(_0x331569['getSelectedBlocks']());let _0x58ad11;_0x58ad11=_0x28bfc7['is']('element','paragraph')&&_0x28bfc7['isEmpty']?_0xd2d226:_0xd2d226['isAtStart']?_0x467364['createPositionBefore'](_0x28bfc7):_0xd2d226['isAtEnd']?_0x467364['createPositionAfter'](_0x28bfc7):_0x1de81e['split'](_0xd2d226)['position'],this['_importMarker']=_0x1de81e['addMarker']('importWord:'+_0x5daa58(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x418425(_0x58ad11)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x29324f=this['editor']['model'];_0x29324f['markers']['has'](this['_importMarker'])&&_0x29324f['enqueueChange'](this['_undoStepBatch'],_0x1bf752=>{_0x1bf752['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x337584,file:_0x54d5d7,serviceConfig:_0xedf78b}){const _0x104772=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4ecb15=new FormData();_0x4ecb15['set']('config',JSON['stringify'](_0xedf78b)),_0x4ecb15['set']('file',_0x54d5d7);const _0x7d82dc={'method':'POST','headers':{},'body':_0x4ecb15,'signal':this['_abortController']['signal']};return _0x104772&&(_0x7d82dc['headers']['Authorization']=_0x104772['value']),fetch(_0x337584,_0x7d82dc);}['_handleImportResponse'](_0x44d56f){return _0x44d56f['ok']?_0x44d56f['json']()['then'](_0x45b255=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x45b255);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x4bdad9('import-word-plugin-import-cancelled');const _0x206686=this['editor'],_0x1f79b9=(0x0,_0x206686['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x206686['plugins']['get']('Notification')['showWarning'](_0x1f79b9),_0x19b2ac('import-word-plugin-conversion-failed');}}
|
package/src/importwordediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x28c60a=_0x2b74;(function(_0x592cb2,_0x4f8123){const _0x5e6aa9=_0x2b74,_0x3f6d86=_0x592cb2();while(!![]){try{const _0x5aedb3=-parseInt(_0x5e6aa9(0x131))/0x1+-parseInt(_0x5e6aa9(0x122))/0x2*(parseInt(_0x5e6aa9(0x126))/0x3)+-parseInt(_0x5e6aa9(0x137))/0x4*(-parseInt(_0x5e6aa9(0x132))/0x5)+parseInt(_0x5e6aa9(0x135))/0x6*(parseInt(_0x5e6aa9(0x125))/0x7)+-parseInt(_0x5e6aa9(0x118))/0x8*(parseInt(_0x5e6aa9(0x11c))/0x9)+parseInt(_0x5e6aa9(0x120))/0xa+parseInt(_0x5e6aa9(0x12b))/0xb;if(_0x5aedb3===_0x4f8123)break;else _0x3f6d86['push'](_0x3f6d86['shift']());}catch(_0x261d6d){_0x3f6d86['push'](_0x3f6d86['shift']());}}}(_0x40e8,0xbca81));function _0x40e8(){const _0x523228=['add','getToken','token','_token','2769602mEsFiY','cloudServices','plugins','importWord','requires','inline','279146xYpLPj','6135XKlEPw','get','config','4317024iLTaRh','editor','2488AyLfnH','registerTokenUrl','8IgihEp','init','https://docx-converter.cke-cs.com/v2/convert/docx-html','commands','11506329RSlBaV','ImportWordEditing','none','CloudServices','7563920UHuDma','pluginName','2Fyrhds','tokenUrl','define','7MdjxeM','481524DEpYjF'];_0x40e8=function(){return _0x523228;};return _0x40e8();}import{Plugin as _0x4670b4}from'ckeditor5/src/core.js';import{Notification as _0x4aea9a}from'ckeditor5/src/ui.js';function _0x2b74(_0x270f4e,_0x197da5){const _0x40e869=_0x40e8();return _0x2b74=function(_0x2b742a,_0x217532){_0x2b742a=_0x2b742a-0x118;let _0x59aa74=_0x40e869[_0x2b742a];return _0x59aa74;},_0x2b74(_0x270f4e,_0x197da5);}import{ClipboardPipeline as _0xa7c3d1}from'ckeditor5/src/clipboard.js';import _0x2f217e from'./importwordcommand.js';export default class e extends _0x4670b4{static get[_0x28c60a(0x121)](){const _0x2a6576=_0x28c60a;return _0x2a6576(0x11d);}static get[_0x28c60a(0x12f)](){const _0x8f018e=_0x28c60a;return[_0x4aea9a,_0xa7c3d1,_0x8f018e(0x11f)];}constructor(_0x3d18db){const _0x3ce432=_0x28c60a;super(_0x3d18db),this[_0x3ce432(0x12a)]=null;}async[_0x28c60a(0x119)](){const _0x1f683d=_0x28c60a,_0x203232=this[_0x1f683d(0x136)];_0x203232[_0x1f683d(0x134)][_0x1f683d(0x124)](_0x1f683d(0x12e),{'converterUrl':_0x1f683d(0x11a),'tokenUrl':(_0x203232[_0x1f683d(0x134)][_0x1f683d(0x133)](_0x1f683d(0x12c))||{})[_0x1f683d(0x123)],'formatting':{'resets':_0x1f683d(0x11e),'defaults':_0x1f683d(0x11e),'styles':_0x1f683d(0x130)}}),_0x203232[_0x1f683d(0x11b)][_0x1f683d(0x127)](_0x1f683d(0x12e),new _0x2f217e(_0x203232));const {tokenUrl:_0x32119e}=_0x203232[_0x1f683d(0x134)][_0x1f683d(0x133)](_0x1f683d(0x12e));if(_0x32119e){const {tokenUrl:_0x27be6a}=_0x203232[_0x1f683d(0x134)][_0x1f683d(0x133)](_0x1f683d(0x12c))||{};this[_0x1f683d(0x12a)]=_0x32119e===_0x27be6a?_0x203232[_0x1f683d(0x12d)][_0x1f683d(0x133)](_0x1f683d(0x11f))[_0x1f683d(0x129)]:await _0x203232[_0x1f683d(0x12d)][_0x1f683d(0x133)](_0x1f683d(0x11f))[_0x1f683d(0x138)](_0x32119e);}}[_0x28c60a(0x128)](){const _0x23f03f=_0x28c60a;return this[_0x23f03f(0x12a)];}}
|
package/src/importwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x41df77}from'ckeditor5/src/core.js';import{SpinnerView as _0x215c96,FileDialogButtonView as _0x3e1170,MenuBarMenuListItemFileDialogButtonView as _0x5b78ee}from'ckeditor5/src/ui.js';import _0x4ffd2e from'../theme/icons/importword.svg';export default class o extends _0x41df77{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0xf043=this['editor'];_0xf043['ui']['componentFactory']['add']('importWord',()=>{const _0x2d79a5=this['_createButton'](_0x3e1170),_0x595590=_0xf043['commands']['get']('importWord');return _0x2d79a5['bind']('isOn')['to'](_0x595590,'isBusy'),_0x2d79a5['tooltip']=!0x0,_0x2d79a5;}),_0xf043['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5b78ee));}['_createButton'](_0x2405bb){const _0x41dd6d=this['editor'],t=_0x41dd6d['locale']['t'],_0x476be9=_0x41dd6d['commands']['get']('importWord'),_0x37ad0b=new _0x2405bb(_0x41dd6d['locale']),_0x143802=new _0x215c96();return _0x37ad0b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x37ad0b['set']({'icon':_0x4ffd2e}),_0x37ad0b['bind']('isEnabled')['to'](_0x476be9),_0x37ad0b['bind']('label')['to'](_0x476be9,'isBusy',_0x4a3461=>t(_0x4a3461?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x143802['bind']('isVisible')['to'](_0x476be9,'isBusy'),_0x37ad0b['iconView']['bind']('isVisible')['to'](_0x476be9,'isBusy',_0x3f4b50=>!_0x3f4b50),_0x37ad0b['children']['add'](_0x143802),_0x37ad0b['on']('done',(_0x20bf89,_0x3a68e3)=>{_0x41dd6d['execute']('importWord',_0x3a68e3[0x0],{}),_0x41dd6d['editing']['view']['focus']();}),_0x37ad0b;}}
|