@ckeditor/ckeditor5-import-word 0.0.0-nightly-20240424.0 → 0.0.0-nightly-20240426.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 +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +23 -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
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x49f4c8=>{const {ru:{dictionary:_0x186968,getPluralForm:_0x35a04a}}={'ru':{'dictionary':{'Import\x20from\x20Word':'Импорт\x20из\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'При\x20импорте\x20файла\x20Word\x20произошла\x20ошибка.'},'getPluralForm':_0x564d1d=>_0x564d1d%0xa==0x1&&_0x564d1d%0x64!=0xb?0x0:_0x564d1d%0xa>=0x2&&_0x564d1d%0xa<=0x4&&(_0x564d1d%0x64<0xc||_0x564d1d%0x64>0xe)?0x1:_0x564d1d%0xa==0x0||_0x564d1d%0xa>=0x5&&_0x564d1d%0xa<=0x9||_0x564d1d%0x64>=0xb&&_0x564d1d%0x64<=0xe?0x2:0x3}};_0x49f4c8['ru']||={'dictionary':{},'getPluralForm':null},_0x49f4c8['ru']['dictionary']=Object['assign'](_0x49f4c8['ru']['dictionary'],_0x186968),_0x49f4c8['ru']['getPluralForm']=_0x35a04a;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/sk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sk':{'dictionary':{'Import\x20from\x20Word':'Importovať\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Pri\x20importovaní\x20súboru\x20programu\x20Word\x20sa\x20vyskytla\x20chyba.'},'getPluralForm':
|
|
23
|
+
export default{'sk':{'dictionary':{'Import\x20from\x20Word':'Importovať\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Pri\x20importovaní\x20súboru\x20programu\x20Word\x20sa\x20vyskytla\x20chyba.'},'getPluralForm':_0x4d143e=>_0x4d143e%0x1==0x0&&0x1==_0x4d143e?0x0:_0x4d143e%0x1==0x0&&_0x4d143e>=0x2&&_0x4d143e<=0x4?0x1:_0x4d143e%0x1!=0x0?0x2:0x3}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x4b7d9b=>{const {sk:{dictionary:_0x34ab79,getPluralForm:_0x20ee37}}={'sk':{'dictionary':{'Import\x20from\x20Word':'Importovať\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Pri\x20importovaní\x20súboru\x20programu\x20Word\x20sa\x20vyskytla\x20chyba.'},'getPluralForm':_0x23703c=>_0x23703c%0x1==0x0&&0x1==_0x23703c?0x0:_0x23703c%0x1==0x0&&_0x23703c>=0x2&&_0x23703c<=0x4?0x1:_0x23703c%0x1!=0x0?0x2:0x3}};_0x4b7d9b['sk']||={'dictionary':{},'getPluralForm':null},_0x4b7d9b['sk']['dictionary']=Object['assign'](_0x4b7d9b['sk']['dictionary'],_0x34ab79),_0x4b7d9b['sk']['getPluralForm']=_0x20ee37;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr-latn':{'dictionary':{'Import\x20from\x20Word':'Uvezi\x20iz\x20word-a','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Došlo\x20je\x20do\x20greške\x20pri\x20uvozu\x20Word\x20datoteke.'},'getPluralForm':
|
|
23
|
+
export default{'sr-latn':{'dictionary':{'Import\x20from\x20Word':'Uvezi\x20iz\x20word-a','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Došlo\x20je\x20do\x20greške\x20pri\x20uvozu\x20Word\x20datoteke.'},'getPluralForm':_0x4c30f9=>_0x4c30f9%0xa==0x1&&_0x4c30f9%0x64!=0xb?0x0:_0x4c30f9%0xa>=0x2&&_0x4c30f9%0xa<=0x4&&(_0x4c30f9%0x64<0xa||_0x4c30f9%0x64>=0x14)?0x1:0x2}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x47c292=>{const {'sr-latn':{dictionary:_0x34a91a,getPluralForm:_0x480011}}={'sr-latn':{'dictionary':{'Import\x20from\x20Word':'Uvezi\x20iz\x20word-a','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Došlo\x20je\x20do\x20greške\x20pri\x20uvozu\x20Word\x20datoteke.'},'getPluralForm':_0x193032=>_0x193032%0xa==0x1&&_0x193032%0x64!=0xb?0x0:_0x193032%0xa>=0x2&&_0x193032%0xa<=0x4&&(_0x193032%0x64<0xa||_0x193032%0x64>=0x14)?0x1:0x2}};_0x47c292['sr-latn']||={'dictionary':{},'getPluralForm':null},_0x47c292['sr-latn']['dictionary']=Object['assign'](_0x47c292['sr-latn']['dictionary'],_0x34a91a),_0x47c292['sr-latn']['getPluralForm']=_0x480011;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/sr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr':{'dictionary':{'Import\x20from\x20Word':'Увези\x20из\x20Ворд-а','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Дошло\x20је\x20до\x20грешке\x20при\x20увозу\x20Ворд\x20датотеке'},'getPluralForm':
|
|
23
|
+
export default{'sr':{'dictionary':{'Import\x20from\x20Word':'Увези\x20из\x20Ворд-а','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Дошло\x20је\x20до\x20грешке\x20при\x20увозу\x20Ворд\x20датотеке'},'getPluralForm':_0x2da6a5=>_0x2da6a5%0xa==0x1&&_0x2da6a5%0x64!=0xb?0x0:_0x2da6a5%0xa>=0x2&&_0x2da6a5%0xa<=0x4&&(_0x2da6a5%0x64<0xa||_0x2da6a5%0x64>=0x14)?0x1:0x2}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x3df9cc=>{const {sr:{dictionary:_0x388f5e,getPluralForm:_0x4e5ea4}}={'sr':{'dictionary':{'Import\x20from\x20Word':'Увези\x20из\x20Ворд-а','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Дошло\x20је\x20до\x20грешке\x20при\x20увозу\x20Ворд\x20датотеке'},'getPluralForm':_0x1b7abf=>_0x1b7abf%0xa==0x1&&_0x1b7abf%0x64!=0xb?0x0:_0x1b7abf%0xa>=0x2&&_0x1b7abf%0xa<=0x4&&(_0x1b7abf%0x64<0xa||_0x1b7abf%0x64>=0x14)?0x1:0x2}};_0x3df9cc['sr']||={'dictionary':{},'getPluralForm':null},_0x3df9cc['sr']['dictionary']=Object['assign'](_0x3df9cc['sr']['dictionary'],_0x388f5e),_0x3df9cc['sr']['getPluralForm']=_0x4e5ea4;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/sv.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sv':{'dictionary':{'Import\x20from\x20Word':'Importera\x20från\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ett\x20fel\x20inträffade\x20vid\x20import\x20av\x20Word-filen.'},'getPluralForm':
|
|
23
|
+
export default{'sv':{'dictionary':{'Import\x20from\x20Word':'Importera\x20från\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ett\x20fel\x20inträffade\x20vid\x20import\x20av\x20Word-filen.'},'getPluralForm':_0x5aeec8=>0x1!=_0x5aeec8}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x5e3ceb=>{const {sv:{dictionary:_0x30d828,getPluralForm:_0x410708}}={'sv':{'dictionary':{'Import\x20from\x20Word':'Importera\x20från\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ett\x20fel\x20inträffade\x20vid\x20import\x20av\x20Word-filen.'},'getPluralForm':_0x341321=>0x1!=_0x341321}};_0x5e3ceb['sv']||={'dictionary':{},'getPluralForm':null},_0x5e3ceb['sv']['dictionary']=Object['assign'](_0x5e3ceb['sv']['dictionary'],_0x30d828),_0x5e3ceb['sv']['getPluralForm']=_0x410708;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/th.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'th':{'dictionary':{'Import\x20from\x20Word':'นำเข้าจาก\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'เกิดข้อผิดพลาดขณะนำเข้าไฟล์\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'th':{'dictionary':{'Import\x20from\x20Word':'นำเข้าจาก\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'เกิดข้อผิดพลาดขณะนำเข้าไฟล์\x20Word'},'getPluralForm':_0x898acf=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x596f04=>{const {th:{dictionary:_0x555bb2,getPluralForm:_0x3ed390}}={'th':{'dictionary':{'Import\x20from\x20Word':'นำเข้าจาก\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'เกิดข้อผิดพลาดขณะนำเข้าไฟล์\x20Word'},'getPluralForm':_0x331a3a=>0x0}};_0x596f04['th']||={'dictionary':{},'getPluralForm':null},_0x596f04['th']['dictionary']=Object['assign'](_0x596f04['th']['dictionary'],_0x555bb2),_0x596f04['th']['getPluralForm']=_0x3ed390;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/tr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'tr':{'dictionary':{'Import\x20from\x20Word':'Word\x27den\x20içe\x20aktar','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20dosyası\x20içe\x20aktarılırken\x20bir\x20hata\x20oluştu.'},'getPluralForm':
|
|
23
|
+
export default{'tr':{'dictionary':{'Import\x20from\x20Word':'Word\x27den\x20içe\x20aktar','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20dosyası\x20içe\x20aktarılırken\x20bir\x20hata\x20oluştu.'},'getPluralForm':_0x1e693c=>_0x1e693c>0x1}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x41a258=>{const {tr:{dictionary:_0x5350bd,getPluralForm:_0x27eda5}}={'tr':{'dictionary':{'Import\x20from\x20Word':'Word\x27den\x20içe\x20aktar','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20dosyası\x20içe\x20aktarılırken\x20bir\x20hata\x20oluştu.'},'getPluralForm':_0x23de8d=>_0x23de8d>0x1}};_0x41a258['tr']||={'dictionary':{},'getPluralForm':null},_0x41a258['tr']['dictionary']=Object['assign'](_0x41a258['tr']['dictionary'],_0x5350bd),_0x41a258['tr']['getPluralForm']=_0x27eda5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ug.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ug':{'dictionary':{'Import\x20from\x20Word':'Word\x20تىن\x20ئەكىر','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20ھۆججەتتىن\x20ئەكىرىۋاتقاندا\x20بىر\x20خاتالىق\x20كۆرۈلدى.'},'getPluralForm':
|
|
23
|
+
export default{'ug':{'dictionary':{'Import\x20from\x20Word':'Word\x20تىن\x20ئەكىر','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20ھۆججەتتىن\x20ئەكىرىۋاتقاندا\x20بىر\x20خاتالىق\x20كۆرۈلدى.'},'getPluralForm':_0x4fdb06=>0x1!=_0x4fdb06}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0xd80581=>{const {ug:{dictionary:_0x2d91dd,getPluralForm:_0x470429}}={'ug':{'dictionary':{'Import\x20from\x20Word':'Word\x20تىن\x20ئەكىر','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20ھۆججەتتىن\x20ئەكىرىۋاتقاندا\x20بىر\x20خاتالىق\x20كۆرۈلدى.'},'getPluralForm':_0x47be5d=>0x1!=_0x47be5d}};_0xd80581['ug']||={'dictionary':{},'getPluralForm':null},_0xd80581['ug']['dictionary']=Object['assign'](_0xd80581['ug']['dictionary'],_0x2d91dd),_0xd80581['ug']['getPluralForm']=_0x470429;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/uk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Import\x20from\x20Word':'Імпортувати\x20з\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Під\x20час\x20імпортування\x20файлу\x20Word\x20сталася\x20помилка.'},'getPluralForm':
|
|
23
|
+
export default{'uk':{'dictionary':{'Import\x20from\x20Word':'Імпортувати\x20з\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Під\x20час\x20імпортування\x20файлу\x20Word\x20сталася\x20помилка.'},'getPluralForm':_0x24fc30=>_0x24fc30%0x1==0x0&&_0x24fc30%0xa==0x1&&_0x24fc30%0x64!=0xb?0x0:_0x24fc30%0x1==0x0&&_0x24fc30%0xa>=0x2&&_0x24fc30%0xa<=0x4&&(_0x24fc30%0x64<0xc||_0x24fc30%0x64>0xe)?0x1:_0x24fc30%0x1==0x0&&(_0x24fc30%0xa==0x0||_0x24fc30%0xa>=0x5&&_0x24fc30%0xa<=0x9||_0x24fc30%0x64>=0xb&&_0x24fc30%0x64<=0xe)?0x2:0x3}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x2d96e2=>{const {uk:{dictionary:_0x547c6d,getPluralForm:_0x372104}}={'uk':{'dictionary':{'Import\x20from\x20Word':'Імпортувати\x20з\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Під\x20час\x20імпортування\x20файлу\x20Word\x20сталася\x20помилка.'},'getPluralForm':_0x34e076=>_0x34e076%0x1==0x0&&_0x34e076%0xa==0x1&&_0x34e076%0x64!=0xb?0x0:_0x34e076%0x1==0x0&&_0x34e076%0xa>=0x2&&_0x34e076%0xa<=0x4&&(_0x34e076%0x64<0xc||_0x34e076%0x64>0xe)?0x1:_0x34e076%0x1==0x0&&(_0x34e076%0xa==0x0||_0x34e076%0xa>=0x5&&_0x34e076%0xa<=0x9||_0x34e076%0x64>=0xb&&_0x34e076%0x64<=0xe)?0x2:0x3}};_0x2d96e2['uk']||={'dictionary':{},'getPluralForm':null},_0x2d96e2['uk']['dictionary']=Object['assign'](_0x2d96e2['uk']['dictionary'],_0x547c6d),_0x2d96e2['uk']['getPluralForm']=_0x372104;})(window['CKEDITOR_TRANSLATIONS']||={});
|
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.'},'getPluralForm':_0x5f07d1=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x4b9690=>{const {vi:{dictionary:_0x13d520,getPluralForm:_0x2149e5}}={'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':_0x50a600=>0x0}};_0x4b9690['vi']||={'dictionary':{},'getPluralForm':null},_0x4b9690['vi']['dictionary']=Object['assign'](_0x4b9690['vi']['dictionary'],_0x13d520),_0x4b9690['vi']['getPluralForm']=_0x2149e5;})(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文件时出错了。'},'getPluralForm':_0x532fd0=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x5daf8f=>{const {'zh-cn':{dictionary:_0x118150,getPluralForm:_0x4712f4}}={'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。'},'getPluralForm':_0x5a760d=>0x0}};_0x5daf8f['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5daf8f['zh-cn']['dictionary']=Object['assign'](_0x5daf8f['zh-cn']['dictionary'],_0x118150),_0x5daf8f['zh-cn']['getPluralForm']=_0x4712f4;})(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檔時發生錯誤。'},'getPluralForm':_0x47b9e0=>0x0}};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
(_0x4d622e=>{const {zh:{dictionary:_0x488d62,getPluralForm:_0x3e6aea}}={'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。'},'getPluralForm':_0x42f3f5=>0x0}};_0x4d622e['zh']||={'dictionary':{},'getPluralForm':null},_0x4d622e['zh']['dictionary']=Object['assign'](_0x4d622e['zh']['dictionary'],_0x488d62),_0x4d622e['zh']['getPluralForm']=_0x3e6aea;})(window['CKEDITOR_TRANSLATIONS']||={});
|
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-20240426.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-20240426.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
|
-
function
|
|
23
|
+
function _0x55ec(){var _0x326738=['ImportWord','478944bHgGBz','236731BHaHrG','6EDlyhI','60210REtNTz','2120195DhsBHu','pluginName','1059961IcJxeM','2575170yKufPY','2qkfuNJ','requires','144BmQcih','1506028UHuBOI'];_0x55ec=function(){return _0x326738;};return _0x55ec();}var _0x4951ab=_0xc015;(function(_0x19c988,_0x18db74){var _0x245da=_0xc015,_0x53d062=_0x19c988();while(!![]){try{var _0x2e5448=parseInt(_0x245da(0x1d9))/0x1*(parseInt(_0x245da(0x1d3))/0x2)+parseInt(_0x245da(0x1d8))/0x3+-parseInt(_0x245da(0x1d6))/0x4+parseInt(_0x245da(0x1dc))/0x5+parseInt(_0x245da(0x1da))/0x6*(parseInt(_0x245da(0x1de))/0x7)+parseInt(_0x245da(0x1d5))/0x8*(-parseInt(_0x245da(0x1db))/0x9)+-parseInt(_0x245da(0x1d2))/0xa;if(_0x2e5448===_0x18db74)break;else _0x53d062['push'](_0x53d062['shift']());}catch(_0x566fe3){_0x53d062['push'](_0x53d062['shift']());}}}(_0x55ec,0x35135));function _0xc015(_0x20ad15,_0x469ef5){var _0x55ec18=_0x55ec();return _0xc015=function(_0xc01590,_0x4de8f1){_0xc01590=_0xc01590-0x1d2;var _0x2d59fc=_0x55ec18[_0xc01590];return _0x2d59fc;},_0xc015(_0x20ad15,_0x469ef5);}import{Plugin as _0x266e7d}from'ckeditor5/src/core.js';import _0xb1e727 from'./importwordui.js';import _0xe5e84e from'./importwordediting.js';export default class i extends _0x266e7d{static get[_0x4951ab(0x1dd)](){var _0x1717e4=_0x4951ab;return _0x1717e4(0x1d7);}static get[_0x4951ab(0x1d4)](){return[_0xe5e84e,_0xb1e727];}}
|
package/src/importwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x520466}from'ckeditor5/src/core.js';import{Range as _0xfb438b}from'ckeditor5/src/engine.js';import{logWarning as _0x2cc48a,logError as _0x7d2f8c,first as _0x346e7d,uid as _0xbb97ed}from'ckeditor5/src/utils.js';export default class d extends _0x520466{constructor(_0x1aa7c7){super(_0x1aa7c7),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x19dcef,_0x495a3c)=>{const _0x48c7b1=new DataTransfer();_0x48c7b1['setData']('text/html',_0x495a3c['html']);const _0x1feab0=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5b7678=>{this['_importMarker']['stopListening'](),_0x5b7678['setSelection'](_0x1feab0),_0x1aa7c7['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x48c7b1});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5e2b29,_0x2200d0={}){if(this['isBusy'])return Promise['resolve']();const _0x5a9bb0=this['editor']['config']['get']('importWord'),_0x565aad={'url':_0x5a9bb0['converterUrl'],'file':_0x5e2b29,'serviceConfig':{..._0x2200d0,'formatting':_0x5a9bb0['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x565aad)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x352241=this['editor']['model'],_0x451a00=_0x352241['schema'],_0x4aa66a=_0x352241['document']['selection'],_0x583c94=_0x346e7d(_0x4aa66a['getSelectedBlocks']());return!!_0x583c94&&_0x451a00['checkChild'](_0x583c94['parent'],'paragraph');}['_prepareForImport'](){const _0x20e6ff=this['editor'],_0x429888=_0x20e6ff['model'],_0x3962db=_0x429888['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x20e6ff['model']['createBatch']({'isUndoable':!0x0}),_0x429888['enqueueChange'](this['_undoStepBatch'],_0x3f110b=>{_0x3962db['isCollapsed']||_0x429888['deleteContent'](_0x3962db,{'leaveUnmerged':!0x0});const _0x10cd98=_0x3962db['getFirstPosition'](),_0x41f4fe=_0x346e7d(_0x3962db['getSelectedBlocks']());let _0x5db7fa;_0x5db7fa=_0x41f4fe['is']('element','paragraph')&&_0x41f4fe['isEmpty']?_0x10cd98:_0x10cd98['isAtStart']?_0x429888['createPositionBefore'](_0x41f4fe):_0x10cd98['isAtEnd']?_0x429888['createPositionAfter'](_0x41f4fe):_0x3f110b['split'](_0x10cd98)['position'],this['_importMarker']=_0x3f110b['addMarker']('importWord:'+_0xbb97ed(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xfb438b(_0x5db7fa)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x100429=this['editor']['model'];_0x100429['markers']['has'](this['_importMarker'])&&_0x100429['enqueueChange'](this['_undoStepBatch'],_0x57e8c9=>{_0x57e8c9['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5eb747,file:_0x44938e,serviceConfig:_0x17fc82}){const _0x1f5d10=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x19023e=new FormData();_0x19023e['set']('config',JSON['stringify'](_0x17fc82)),_0x19023e['set']('file',_0x44938e);const _0x15813c={'method':'POST','headers':{},'body':_0x19023e,'signal':this['_abortController']['signal']};return _0x1f5d10&&(_0x15813c['headers']['Authorization']=_0x1f5d10['value']),fetch(_0x5eb747,_0x15813c);}['_handleImportResponse'](_0x3c7a56){return _0x3c7a56['ok']?_0x3c7a56['json']()['then'](_0x2c0bf3=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x2c0bf3);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2cc48a('import-word-plugin-import-cancelled');const _0x5839a5=this['editor'],_0x5cc841=(0x0,_0x5839a5['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x5839a5['plugins']['get']('Notification')['showWarning'](_0x5cc841),_0x7d2f8c('import-word-plugin-conversion-failed');}}
|
package/src/importwordediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x594782=_0x5918;(function(_0x8e3173,_0x3178f3){const _0x4cb7a1=_0x5918,_0x5cd76c=_0x8e3173();while(!![]){try{const _0x3340d0=-parseInt(_0x4cb7a1(0x191))/0x1*(-parseInt(_0x4cb7a1(0x1a6))/0x2)+-parseInt(_0x4cb7a1(0x18a))/0x3*(parseInt(_0x4cb7a1(0x1a5))/0x4)+-parseInt(_0x4cb7a1(0x18b))/0x5+parseInt(_0x4cb7a1(0x198))/0x6+parseInt(_0x4cb7a1(0x193))/0x7+parseInt(_0x4cb7a1(0x1a1))/0x8*(-parseInt(_0x4cb7a1(0x19b))/0x9)+parseInt(_0x4cb7a1(0x18d))/0xa*(-parseInt(_0x4cb7a1(0x199))/0xb);if(_0x3340d0===_0x3178f3)break;else _0x5cd76c['push'](_0x5cd76c['shift']());}catch(_0x562083){_0x5cd76c['push'](_0x5cd76c['shift']());}}}(_0x44dc,0x699e4));import{Plugin as _0x320426}from'ckeditor5/src/core.js';import{Notification as _0x5e39ac}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0xd290d3}from'ckeditor5/src/clipboard.js';function _0x44dc(){const _0x49c24b=['inline','define','827bGlTiV','requires','3675567DntNTX','https://docx-converter.cke-cs.com/v2/convert/docx-html','plugins','importWord','tokenUrl','3067836rjnIBB','2203465QWvywr','init','3149163wAYruI','registerTokenUrl','_token','cloudServices','getToken','none','8efRxTE','commands','token','CloudServices','1973756xRtEDp','1790XadlSr','editor','config','pluginName','get','3mVFrUR','1501395zYObkU','add','10DIIpDl','ImportWordEditing'];_0x44dc=function(){return _0x49c24b;};return _0x44dc();}function _0x5918(_0x531272,_0x312ebe){const _0x44dc99=_0x44dc();return _0x5918=function(_0x591890,_0x3a11a9){_0x591890=_0x591890-0x189;let _0x5f4392=_0x44dc99[_0x591890];return _0x5f4392;},_0x5918(_0x531272,_0x312ebe);}import _0x51d207 from'./importwordcommand.js';export default class e extends _0x320426{static get[_0x594782(0x1a9)](){const _0x90fce9=_0x594782;return _0x90fce9(0x18e);}static get[_0x594782(0x192)](){const _0x4d4ac2=_0x594782;return[_0x5e39ac,_0xd290d3,_0x4d4ac2(0x1a4)];}constructor(_0x131ea8){const _0x170d48=_0x594782;super(_0x131ea8),this[_0x170d48(0x19d)]=null;}async[_0x594782(0x19a)](){const _0x26e6ee=_0x594782,_0x41b003=this[_0x26e6ee(0x1a7)];_0x41b003[_0x26e6ee(0x1a8)][_0x26e6ee(0x190)](_0x26e6ee(0x196),{'converterUrl':_0x26e6ee(0x194),'tokenUrl':(_0x41b003[_0x26e6ee(0x1a8)][_0x26e6ee(0x189)](_0x26e6ee(0x19e))||{})[_0x26e6ee(0x197)],'formatting':{'resets':_0x26e6ee(0x1a0),'defaults':_0x26e6ee(0x1a0),'styles':_0x26e6ee(0x18f)}}),_0x41b003[_0x26e6ee(0x1a2)][_0x26e6ee(0x18c)](_0x26e6ee(0x196),new _0x51d207(_0x41b003));const {tokenUrl:_0x32ff5d}=_0x41b003[_0x26e6ee(0x1a8)][_0x26e6ee(0x189)](_0x26e6ee(0x196));if(_0x32ff5d){const {tokenUrl:_0x46916a}=_0x41b003[_0x26e6ee(0x1a8)][_0x26e6ee(0x189)](_0x26e6ee(0x19e))||{};this[_0x26e6ee(0x19d)]=_0x32ff5d===_0x46916a?_0x41b003[_0x26e6ee(0x195)][_0x26e6ee(0x189)](_0x26e6ee(0x1a4))[_0x26e6ee(0x1a3)]:await _0x41b003[_0x26e6ee(0x195)][_0x26e6ee(0x189)](_0x26e6ee(0x1a4))[_0x26e6ee(0x19c)](_0x32ff5d);}}[_0x594782(0x19f)](){const _0x588500=_0x594782;return this[_0x588500(0x19d)];}}
|
package/src/importwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x23fb73}from'ckeditor5/src/core.js';import{SpinnerView as _0x3b19a6,FileDialogButtonView as _0x2ec697,MenuBarMenuListItemFileDialogButtonView as _0x185ccb}from'ckeditor5/src/ui.js';import _0x29a9c6 from'../theme/icons/importword.svg';export default class o extends _0x23fb73{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x6dd02a=this['editor'];_0x6dd02a['ui']['componentFactory']['add']('importWord',()=>{const _0x50e571=this['_createButton'](_0x2ec697),_0x4394a4=_0x6dd02a['commands']['get']('importWord');return _0x50e571['bind']('isOn')['to'](_0x4394a4,'isBusy'),_0x50e571['tooltip']=!0x0,_0x50e571;}),_0x6dd02a['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x185ccb));}['_createButton'](_0x3f9981){const _0x15c532=this['editor'],t=_0x15c532['locale']['t'],_0x43a88a=_0x15c532['commands']['get']('importWord'),_0x1523d3=new _0x3f9981(_0x15c532['locale']),_0x31956f=new _0x3b19a6();return _0x1523d3['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x1523d3['set']({'label':t('Import\x20from\x20Word'),'icon':_0x29a9c6}),_0x1523d3['bind']('isEnabled')['to'](_0x43a88a),_0x31956f['bind']('isVisible')['to'](_0x43a88a,'isBusy'),_0x1523d3['iconView']['bind']('isVisible')['to'](_0x43a88a,'isBusy',_0x5b5404=>!_0x5b5404),_0x1523d3['children']['add'](_0x31956f),_0x1523d3['on']('done',(_0x5ccbb9,_0x1574ee)=>{_0x15c532['execute']('importWord',_0x1574ee[0x0],{}),_0x15c532['editing']['view']['focus']();}),_0x1523d3;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5f3b03,_0x3bda4f){var _0xc17b80=_0x5068,_0x1f2fd5=_0x5f3b03();while(!![]){try{var _0x78027b=parseInt(_0xc17b80(0x110))/0x1*(-parseInt(_0xc17b80(0x113))/0x2)+parseInt(_0xc17b80(0x116))/0x3+parseInt(_0xc17b80(0x111))/0x4+parseInt(_0xc17b80(0x118))/0x5*(-parseInt(_0xc17b80(0x114))/0x6)+parseInt(_0xc17b80(0x115))/0x7*(-parseInt(_0xc17b80(0x112))/0x8)+-parseInt(_0xc17b80(0x119))/0x9*(-parseInt(_0xc17b80(0x117))/0xa)+parseInt(_0xc17b80(0x10f))/0xb*(-parseInt(_0xc17b80(0x11a))/0xc);if(_0x78027b===_0x3bda4f)break;else _0x1f2fd5['push'](_0x1f2fd5['shift']());}catch(_0x17bf50){_0x1f2fd5['push'](_0x1f2fd5['shift']());}}}(_0x12b9,0x33a2d));export{default as ImportWord}from'./importword.js';function _0x12b9(){var _0x155bc5=['239570zWqKMN','709245uajNQW','2532312ZgTsYO','22ALZmQg','797tmbJHX','1250372QVfDPk','162488bGHuYh','388KLEajY','12YDOCaI','28uHxGlj','1248705eHEVJy','30BiBjLB'];_0x12b9=function(){return _0x155bc5;};return _0x12b9();}function _0x5068(_0x7ceacc,_0x2aa8fa){var _0x12b9c5=_0x12b9();return _0x5068=function(_0x506853,_0x36db71){_0x506853=_0x506853-0x10f;var _0x2d590b=_0x12b9c5[_0x506853];return _0x2d590b;},_0x5068(_0x7ceacc,_0x2aa8fa);}export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';
|