@ckeditor/ckeditor5-export-word 43.1.0-alpha.8 → 43.1.1
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/export-word.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.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/jv.js +1 -1
- package/dist/translations/jv.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/ur.js +1 -1
- package/dist/translations/ur.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/package.json +5 -5
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d071a=>{const {vi:{dictionary:_0x1c2e99,getPluralForm:_0x28157b}}={'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x3e1548=>0x0}};_0x1d071a['vi']||={'dictionary':{},'getPluralForm':null},_0x1d071a['vi']['dictionary']=Object['assign'](_0x1d071a['vi']['dictionary'],_0x1c2e99),_0x1d071a['vi']['getPluralForm']=_0x28157b;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x3a78f0=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5784f8=>{const {'zh-cn':{dictionary:_0x56fcac,getPluralForm:_0x262248}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x16e297=>0x0}};_0x5784f8['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x5784f8['zh-cn']['dictionary']=Object['assign'](_0x5784f8['zh-cn']['dictionary'],_0x56fcac),_0x5784f8['zh-cn']['getPluralForm']=_0x262248;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x17fc73=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ab229=>{const {zh:{dictionary:_0x307835,getPluralForm:_0xd5e017}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x83888e=>0x0}};_0x4ab229['zh']||={'dictionary':{},'getPluralForm':null},_0x4ab229['zh']['dictionary']=Object['assign'](_0x4ab229['zh']['dictionary'],_0x307835),_0x4ab229['zh']['getPluralForm']=_0xd5e017;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "43.1.
|
|
3
|
+
"version": "43.1.1",
|
|
4
4
|
"description": "Export to Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ckeditor/ckeditor5-core": "43.1.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "43.1.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "43.1.
|
|
36
|
-
"ckeditor5": "43.1.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.1.1",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "43.1.1",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "43.1.1",
|
|
36
|
+
"ckeditor5": "43.1.1"
|
|
37
37
|
},
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"author": "CKSource (https://cksource.com/)",
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20318f=_0x682f;(function(_0x5ba048,_0x4152e1){const _0x5c4f75=_0x682f,_0x259bcd=_0x5ba048();while(!![]){try{const _0x20f920=parseInt(_0x5c4f75(0x8c))/0x1+-parseInt(_0x5c4f75(0x92))/0x2+-parseInt(_0x5c4f75(0x88))/0x3+-parseInt(_0x5c4f75(0x80))/0x4+-parseInt(_0x5c4f75(0x83))/0x5+-parseInt(_0x5c4f75(0x95))/0x6+parseInt(_0x5c4f75(0x81))/0x7*(parseInt(_0x5c4f75(0x8f))/0x8);if(_0x20f920===_0x4152e1)break;else _0x259bcd['push'](_0x259bcd['shift']());}catch(_0x23663c){_0x259bcd['push'](_0x259bcd['shift']());}}}(_0x5e11,0x4b4ab));function _0x5e11(){const _0x47d844=['488720GlqYtA','editor','plugins','56wXxvxz','config','commands','845002JLevZm','_token','token','103758bBJZQs','pluginName','CloudServices','tokenUrl','1579060xdwVjp','1344973FwYFGi','ExportWord','2723635bgeTau','then','requires','get','registerTokenUrl','438036HuKrGS','init','add','exportWord'];_0x5e11=function(){return _0x47d844;};return _0x5e11();}import{Plugin as _0x2b3fe6}from'ckeditor5/src/core.js';import{Notification as _0x840512}from'ckeditor5/src/ui.js';import _0x140a80 from'./exportwordcommand.js';import _0x3e9dc2 from'./exportwordui.js';function _0x682f(_0x5eca3b,_0x1536c1){const _0x5e118d=_0x5e11();return _0x682f=function(_0x682fbd,_0x55d074){_0x682fbd=_0x682fbd-0x7f;let _0x3ee6a1=_0x5e118d[_0x682fbd];return _0x3ee6a1;},_0x682f(_0x5eca3b,_0x1536c1);}export default class s extends _0x2b3fe6{static get[_0x20318f(0x96)](){const _0x182f7b=_0x20318f;return _0x182f7b(0x82);}static get[_0x20318f(0x85)](){const _0x51101f=_0x20318f;return[_0x51101f(0x97),_0x840512,_0x3e9dc2];}[_0x20318f(0x89)](){const _0x58cb00=_0x20318f,_0x17433c=this[_0x58cb00(0x8d)],_0x3f2e56=_0x17433c[_0x58cb00(0x90)][_0x58cb00(0x86)](_0x58cb00(0x8b))||{};_0x17433c[_0x58cb00(0x91)][_0x58cb00(0x8a)](_0x58cb00(0x8b),new _0x140a80(_0x17433c));const _0x69e832=_0x17433c[_0x58cb00(0x8e)][_0x58cb00(0x86)](_0x58cb00(0x97));!0x1===_0x3f2e56[_0x58cb00(0x7f)]?this[_0x58cb00(0x93)]=null:_0x3f2e56[_0x58cb00(0x7f)]?_0x69e832[_0x58cb00(0x87)](_0x3f2e56[_0x58cb00(0x7f)])[_0x58cb00(0x84)](_0x2fcf11=>{const _0x4c23c5=_0x58cb00;this[_0x4c23c5(0x93)]=_0x2fcf11;}):this[_0x58cb00(0x93)]=_0x69e832[_0x58cb00(0x94)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27c2c5=_0x1e34;(function(_0x374648,_0x2eeb71){const _0x1a5ea6=_0x1e34,_0x1df7b6=_0x374648();while(!![]){try{const _0x3005be=-parseInt(_0x1a5ea6(0xe9))/0x1*(parseInt(_0x1a5ea6(0xbe))/0x2)+parseInt(_0x1a5ea6(0xce))/0x3*(parseInt(_0x1a5ea6(0xe6))/0x4)+parseInt(_0x1a5ea6(0xc8))/0x5*(parseInt(_0x1a5ea6(0xf1))/0x6)+parseInt(_0x1a5ea6(0xf5))/0x7+parseInt(_0x1a5ea6(0xd4))/0x8*(parseInt(_0x1a5ea6(0xef))/0x9)+parseInt(_0x1a5ea6(0xfa))/0xa+-parseInt(_0x1a5ea6(0xd3))/0xb*(parseInt(_0x1a5ea6(0xaa))/0xc);if(_0x3005be===_0x2eeb71)break;else _0x1df7b6['push'](_0x1df7b6['shift']());}catch(_0x45f4f0){_0x1df7b6['push'](_0x1df7b6['shift']());}}}(_0x45fa,0x81ab8));import{Command as _0x5b1251}from'ckeditor5/src/core.js';function _0x45fa(){const _0xa6c71c=['version','footer','format','showWarning','19776ArjIfi','suggestions','application/json','config','stylesheets','5137qOIzYk','24ZnxLlL','createObjectURL','converterUrl','plugins','https://docx-converter.cke-cs.com/v2/convert/html-docx','Word\x20document\x20export\x20failed','assertive','status','then','dataCallback','POST','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','pending','execute','URL','contentLanguageDirection','token','comments','176yAJzBZ','blob','isBusy','1965ZvWVNe','refresh','orientation','announce','EDITOR_STYLES','function','1502910wxyOBG','options','862020RtJrfr','fileName','set','converterOptions','5250777ZSPwuk','fetch','_downloadFile','margin_bottom','value','5036480gKBhZG','header','application/docx','38244riddpH','data','<div\x20class=\x22ck-content\x22\x20dir=\x22','createElement','_token','finally','href','margin_top','Notification','catch','margin_right','download','export-word-v1-api-is-deprecated','https://docx-converter.cke-cs.com/v1/convert','ExportWord','get','</div>','isEnabled','ariaLiveAnnouncer','auto_pagination','172aTaUtC','remove','margin_left','affectsData','document.docx','locale','click','Word\x20document\x20export\x20successful','editor','stringify','5NHkpYN','Word\x20document\x20export\x20started'];_0x45fa=function(){return _0xa6c71c;};return _0x45fa();}import{logWarning as _0x241232}from'ckeditor5/src/utils.js';import{getStyles as _0x43c70d,getConverterOptions as _0x101caa,getConverterOptionsV2 as _0x12c566}from'./utils.js';import{getTranslation as _0x40d814}from'./utils/common-translations.js';const h=[_0x27c2c5(0xeb),_0x27c2c5(0xb1),_0x27c2c5(0xb4),_0x27c2c5(0xf8),_0x27c2c5(0xc0),_0x27c2c5(0xcc),_0x27c2c5(0xa8),_0x27c2c5(0xcb),_0x27c2c5(0xe5),_0x27c2c5(0xcf)];function _0x1e34(_0x3f6d03,_0x2b689f){const _0x45fa84=_0x45fa();return _0x1e34=function(_0x1e34b5,_0x446978){_0x1e34b5=_0x1e34b5-0xa8;let _0x496538=_0x45fa84[_0x1e34b5];return _0x496538;},_0x1e34(_0x3f6d03,_0x2b689f);}export default class e extends _0x5b1251{constructor(_0x360a47){const _0x50cde7=_0x27c2c5;super(_0x360a47),this[_0x50cde7(0xf3)](_0x50cde7(0xe8),!0x1),this[_0x50cde7(0xc1)]=!0x1;}[_0x27c2c5(0xea)](){const _0x1b452b=_0x27c2c5;this[_0x1b452b(0xbb)]=!this[_0x1b452b(0xe8)],this[_0x1b452b(0xf9)]=this[_0x1b452b(0xe8)]?_0x1b452b(0xe0):void 0x0;}[_0x27c2c5(0xe1)](_0x19d1fb={}){const _0x519995=_0x27c2c5,_0x4ccd49=this[_0x519995(0xc6)],_0x4f9eb3=_0x19d1fb[_0x519995(0xca)]||0x2,_0x56ed42=0x1===_0x4f9eb3,_0x599044=_0x19d1fb[_0x519995(0xd6)]||(_0x56ed42?_0x519995(0xb7):_0x519995(0xd8)),_0x52b155=_0x19d1fb[_0x519995(0xf4)]||{},_0x26124d=_0x4ccd49[_0x519995(0xd7)][_0x519995(0xb9)](_0x519995(0xb8)),_0x330ec5=_0x19d1fb[_0x519995(0xe4)]||_0x26124d[_0x519995(0xae)],_0xc1349b=!0x0===_0x52b155[_0x519995(0xbd)],_0x484187=_0x19d1fb[_0x519995(0xdd)]||(_0x565eec=>_0x565eec[_0x519995(0xab)][_0x519995(0xb9)]({'pagination':_0xc1349b}));return 0x2===_0x4f9eb3&&function(_0x50fced){for(const _0x431516 of h)if(void 0x0!==_0x50fced[_0x431516])return!0x0;return!0x1;}(_0x52b155)&&_0x241232(_0x519995(0xb6)),this[_0x519995(0xe8)]=!0x0,this[_0x519995(0xea)](),_0x43c70d(_0x19d1fb[_0x519995(0xd2)]||[_0x519995(0xed)])[_0x519995(0xdc)](async _0x103da3=>{const _0x101946=_0x519995;_0x4ccd49['ui'][_0x101946(0xbc)][_0x101946(0xec)](_0x40d814(_0x4ccd49[_0x101946(0xc3)],_0x101946(0xc9)));const _0x1d4ce0=await _0x484187(_0x4ccd49),_0x267190={'html':_0x101946(0xac)+_0x4ccd49[_0x101946(0xc3)][_0x101946(0xe3)]+'\x22>'+_0x1d4ce0+_0x101946(0xba),'css':_0x103da3,[_0x56ed42?_0x101946(0xf0):_0x101946(0xd1)]:{..._0x52b155,..._0x56ed42?_0x101caa(_0x4ccd49,_0x52b155):_0x12c566(_0x4ccd49,_0x52b155)}},_0xa78b78={'method':_0x101946(0xde),'headers':{'Content-Type':_0x101946(0xd0),'Accept':_0x101946(0xa9),..._0x330ec5?{'Authorization':_0x330ec5[_0x101946(0xf9)]}:null},'body':JSON[_0x101946(0xc7)](_0x267190)};return window[_0x101946(0xf6)](_0x599044,_0xa78b78)[_0x101946(0xdc)](_0x2d0480=>{const _0x5acd2f=_0x101946;if(0xc8!==_0x2d0480[_0x5acd2f(0xdb)])throw _0x2d0480;return _0x2d0480[_0x5acd2f(0xe7)]();})[_0x101946(0xdc)](_0x3facf1=>{const _0x494f6e=_0x101946;_0x4ccd49['ui'][_0x494f6e(0xbc)][_0x494f6e(0xec)](_0x40d814(_0x4ccd49[_0x494f6e(0xc3)],_0x494f6e(0xc5)));const _0x5b21d2=_0x494f6e(0xee)==typeof _0x19d1fb[_0x494f6e(0xf2)]?_0x19d1fb[_0x494f6e(0xf2)]():_0x19d1fb[_0x494f6e(0xf2)];this[_0x494f6e(0xf7)](_0x3facf1,_0x5b21d2||_0x494f6e(0xc2));});})[_0x519995(0xb3)](_0x2e465f=>{const _0x3dc0a6=_0x519995,_0x444611=_0x4ccd49[_0x3dc0a6(0xd7)][_0x3dc0a6(0xb9)](_0x3dc0a6(0xb2));throw _0x4ccd49['ui'][_0x3dc0a6(0xbc)][_0x3dc0a6(0xec)](_0x40d814(_0x4ccd49[_0x3dc0a6(0xc3)],_0x3dc0a6(0xd9)),{'politeness':_0x3dc0a6(0xda)}),_0x444611[_0x3dc0a6(0xcd)](_0x40d814(_0x4ccd49[_0x3dc0a6(0xc3)],_0x3dc0a6(0xdf))),_0x2e465f;})[_0x519995(0xaf)](()=>{const _0x377b62=_0x519995;this[_0x377b62(0xe8)]=!0x1,this[_0x377b62(0xea)]();});}[_0x27c2c5(0xf7)](_0x417ff6,_0x48161a){const _0x29fd7c=_0x27c2c5,_0x5dd764=document[_0x29fd7c(0xad)]('a');_0x5dd764[_0x29fd7c(0xb0)]=window[_0x29fd7c(0xe2)][_0x29fd7c(0xd5)](_0x417ff6),_0x5dd764[_0x29fd7c(0xb5)]=_0x48161a,_0x5dd764[_0x29fd7c(0xc4)](),_0x5dd764[_0x29fd7c(0xbf)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5a1508=_0x4e39;(function(_0xe41b72,_0xae0c1c){const _0x378d54=_0x4e39,_0xb7a0ef=_0xe41b72();while(!![]){try{const _0x42b958=-parseInt(_0x378d54(0x7e))/0x1+parseInt(_0x378d54(0x79))/0x2+-parseInt(_0x378d54(0x8c))/0x3*(parseInt(_0x378d54(0x78))/0x4)+parseInt(_0x378d54(0x8b))/0x5*(-parseInt(_0x378d54(0x7f))/0x6)+parseInt(_0x378d54(0x6d))/0x7+-parseInt(_0x378d54(0x6e))/0x8*(-parseInt(_0x378d54(0x72))/0x9)+parseInt(_0x378d54(0x82))/0xa;if(_0x42b958===_0xae0c1c)break;else _0xb7a0ef['push'](_0xb7a0ef['shift']());}catch(_0xaaba60){_0xb7a0ef['push'](_0xb7a0ef['shift']());}}}(_0xe5e0,0xb14ee));function _0xe5e0(){const _0x152c43=['90339MvhvwG','commands','pluginName','Exporting\x20Word\x20document','execute','config','locale','init','4317334dbGOJF','44696dPpGSQ','menuBar:exportWord','_createButton','iconView','909gGveIT','isVisible','view','editor','ExportWordUI','focus','132AGyDgl','1118854ohFkaB','componentFactory','editing','isOn','Export\x20to\x20Word','1492tTpAXy','6scYQAx','isBusy','add','6137900nvqyhq','bind','exportWord','get','label','isEnabled','set','listenTo','children','3163955WBOxwk'];_0xe5e0=function(){return _0x152c43;};return _0xe5e0();}import{Plugin as _0x90adda}from'ckeditor5/src/core.js';import{ButtonView as _0x132d1b,MenuBarMenuListItemButtonView as _0x566682,SpinnerView as _0x4f3891}from'ckeditor5/src/ui.js';import _0x516188 from'../theme/icons/exportword.svg';import{getTranslation as _0x3f7529}from'./utils/common-translations.js';function _0x4e39(_0x1a628c,_0x5738a3){const _0xe5e0e7=_0xe5e0();return _0x4e39=function(_0x4e395a,_0xf6b00a){_0x4e395a=_0x4e395a-0x66;let _0x1a9543=_0xe5e0e7[_0x4e395a];return _0x1a9543;},_0x4e39(_0x1a628c,_0x5738a3);}export default class i extends _0x90adda{static get[_0x5a1508(0x67)](){const _0x4938ee=_0x5a1508;return _0x4938ee(0x76);}[_0x5a1508(0x6c)](){const _0x1218ad=_0x5a1508,_0x26858a=this[_0x1218ad(0x75)];_0x26858a['ui'][_0x1218ad(0x7a)][_0x1218ad(0x81)](_0x1218ad(0x84),()=>{const _0x1c65df=_0x1218ad,_0x14de26=_0x26858a[_0x1c65df(0x66)][_0x1c65df(0x85)](_0x1c65df(0x84)),_0x45b7fb=this[_0x1c65df(0x70)](_0x132d1b);return _0x45b7fb[_0x1c65df(0x88)]({'tooltip':!0x0}),_0x45b7fb[_0x1c65df(0x83)](_0x1c65df(0x7c))['to'](_0x14de26,_0x1c65df(0x80)),_0x45b7fb;}),_0x26858a['ui'][_0x1218ad(0x7a)][_0x1218ad(0x81)](_0x1218ad(0x6f),()=>this[_0x1218ad(0x70)](_0x566682));}[_0x5a1508(0x70)](_0x2eccd2){const _0x4cdcbd=_0x5a1508,_0xbf2a7a=this[_0x4cdcbd(0x75)],_0x51e274=_0xbf2a7a[_0x4cdcbd(0x6a)][_0x4cdcbd(0x85)](_0x4cdcbd(0x84))||{},_0x1f5007=_0xbf2a7a[_0x4cdcbd(0x66)][_0x4cdcbd(0x85)](_0x4cdcbd(0x84)),_0x2e6b2b=new _0x2eccd2(_0xbf2a7a[_0x4cdcbd(0x6b)]),_0x3bf7f5=new _0x4f3891();return _0x2e6b2b[_0x4cdcbd(0x8a)][_0x4cdcbd(0x81)](_0x3bf7f5),_0x3bf7f5[_0x4cdcbd(0x83)](_0x4cdcbd(0x73))['to'](_0x1f5007,_0x4cdcbd(0x80)),_0x2e6b2b[_0x4cdcbd(0x71)][_0x4cdcbd(0x83)](_0x4cdcbd(0x73))['to'](_0x1f5007,_0x4cdcbd(0x80),_0x3b9517=>!_0x3b9517),_0x2e6b2b[_0x4cdcbd(0x88)]({'icon':_0x516188}),_0x2e6b2b[_0x4cdcbd(0x83)](_0x4cdcbd(0x87))['to'](_0x1f5007,_0x4cdcbd(0x87)),_0x2e6b2b[_0x4cdcbd(0x83)](_0x4cdcbd(0x86))['to'](_0x1f5007,_0x4cdcbd(0x80),_0x5e8d3b=>_0x3f7529(_0xbf2a7a[_0x4cdcbd(0x6b)],_0x5e8d3b?_0x4cdcbd(0x68):_0x4cdcbd(0x7d))),this[_0x4cdcbd(0x89)](_0x2e6b2b,_0x4cdcbd(0x69),()=>{const _0x407762=_0x4cdcbd;_0xbf2a7a[_0x407762(0x69)](_0x407762(0x84),_0x51e274),_0xbf2a7a[_0x407762(0x7b)][_0x407762(0x74)][_0x407762(0x77)]();}),_0x2e6b2b;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5e3b5d,_0x1af7b9){var _0xf7f30e=_0x51bd,_0x3d10c1=_0x5e3b5d();while(!![]){try{var _0x44edac=parseInt(_0xf7f30e(0x99))/0x1*(parseInt(_0xf7f30e(0x9c))/0x2)+-parseInt(_0xf7f30e(0x9f))/0x3+parseInt(_0xf7f30e(0x9d))/0x4*(-parseInt(_0xf7f30e(0x9b))/0x5)+parseInt(_0xf7f30e(0x9e))/0x6+-parseInt(_0xf7f30e(0xa0))/0x7*(-parseInt(_0xf7f30e(0xa1))/0x8)+parseInt(_0xf7f30e(0x98))/0x9+parseInt(_0xf7f30e(0x9a))/0xa;if(_0x44edac===_0x1af7b9)break;else _0x3d10c1['push'](_0x3d10c1['shift']());}catch(_0x5f25ff){_0x3d10c1['push'](_0x3d10c1['shift']());}}}(_0x59fc,0x446f8));export{default as ExportWord}from'./exportword.js';function _0x51bd(_0x144143,_0x451604){var _0x59fc70=_0x59fc();return _0x51bd=function(_0x51bdc1,_0x21ba06){_0x51bdc1=_0x51bdc1-0x98;var _0x1664a1=_0x59fc70[_0x51bdc1];return _0x1664a1;},_0x51bd(_0x144143,_0x451604);}import'./augmentation.js';function _0x59fc(){var _0x4714de=['45rmcVnQ','4174LCNTyt','157476AVzpbF','1044822nGiXra','859773ScmIpB','111419mEUYDf','24DuyTUE','1717371rzOTpd','70DqeaNR','3624270fsUVyC'];_0x59fc=function(){return _0x4714de;};return _0x59fc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x25074b,_0x2ccec9){const t=_0x25074b['t'];switch(_0x2ccec9){case'Export\x20to\x20Word':return t('Export\x20to\x20Word');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.');case'Word\x20document\x20export\x20started':return t('Word\x20document\x20export\x20started');case'Word\x20document\x20export\x20failed':return t('Word\x20document\x20export\x20failed');case'Word\x20document\x20export\x20successful':return t('Word\x20document\x20export\x20successful');case'Exporting\x20Word\x20document':return t('Exporting\x20Word\x20document');default:return _0x2ccec9;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2e9e7c,_0x59684d){const _0x555a8a=_0x5c64,_0x493c15=_0x2e9e7c();while(!![]){try{const _0x5eafbc=-parseInt(_0x555a8a(0xcf))/0x1*(parseInt(_0x555a8a(0xe9))/0x2)+-parseInt(_0x555a8a(0xdf))/0x3+parseInt(_0x555a8a(0xc2))/0x4+-parseInt(_0x555a8a(0xef))/0x5+parseInt(_0x555a8a(0xbd))/0x6+-parseInt(_0x555a8a(0xc8))/0x7+-parseInt(_0x555a8a(0xf4))/0x8*(-parseInt(_0x555a8a(0xee))/0x9);if(_0x5eafbc===_0x59684d)break;else _0x493c15['push'](_0x493c15['shift']());}catch(_0x57172f){_0x493c15['push'](_0x493c15['shift']());}}}(_0x38e0,0x242b8));export function getStyles(_0x37c648){const _0x414e0f=_0x5c64;if(!_0x37c648)return new Promise(_0xa7e873=>_0xa7e873(''));const _0x2c6b60=[];for(const _0x482b1f of _0x37c648)_0x414e0f(0xb4)!==_0x482b1f?_0x2c6b60[_0x414e0f(0xda)](window[_0x414e0f(0xed)](_0x482b1f)[_0x414e0f(0xb7)](_0x2710f8=>_0x2710f8[_0x414e0f(0xe5)]())):_0x2c6b60[_0x414e0f(0xda)](f());return Promise[_0x414e0f(0xc3)](_0x2c6b60)[_0x414e0f(0xb7)](_0x3e490e=>_0x3e490e[_0x414e0f(0xe0)]('\x20')[_0x414e0f(0xdb)]());}function f(){const _0x35f4b2=_0x5c64,_0x20a23b=[],_0x4457b5=[];for(const _0x1aeaec of Array[_0x35f4b2(0xd0)](document[_0x35f4b2(0xc4)])){if(_0x1aeaec[_0x35f4b2(0xb6)][_0x35f4b2(0xe8)](_0x35f4b2(0xc0))){for(const _0x9f7248 of Array[_0x35f4b2(0xd0)](_0x1aeaec[_0x35f4b2(0xce)]))-0x1!==_0x9f7248[_0x35f4b2(0xd7)][_0x35f4b2(0xb2)](_0x35f4b2(0xad))?_0x20a23b[_0x35f4b2(0xda)](_0x9f7248[_0x35f4b2(0xd7)]):-0x1!==_0x9f7248[_0x35f4b2(0xd7)][_0x35f4b2(0xb2)](_0x35f4b2(0xb8))&&_0x4457b5[_0x35f4b2(0xda)](_0x9f7248[_0x35f4b2(0xd7)]);}}return _0x20a23b[_0x35f4b2(0xc1)]||console[_0x35f4b2(0xd8)](_0x35f4b2(0xae)),[..._0x4457b5,..._0x20a23b][_0x35f4b2(0xe0)]('\x20')[_0x35f4b2(0xdb)]();}export function getConverterOptions(_0x3664ad,_0x5276fd={}){const _0x3224e9=_0x5c64,_0xd1d6d0=_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xe3)](_0x3224e9(0xd4)),_0x2e193f=_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xe3)](_0x3224e9(0xdd)),_0x45dce4=_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xe3)](_0x3224e9(0xc9)),_0x44eece=_0x5276fd;if(_0xd1d6d0&&_0x2e193f){const _0x2f10c1=getComments(_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xcb)](_0x3224e9(0xdd))[_0x3224e9(0xc6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x3224e9(0xd3)](_0x2f10c1)[_0x3224e9(0xc1)]&&(_0x44eece[_0x3224e9(0xbe)]=_0x2f10c1);}if(_0xd1d6d0&&_0x45dce4){const _0x19b23f=_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xcb)](_0x3224e9(0xc9)),_0x352dc8=_0x3664ad[_0x3224e9(0xf3)][_0x3224e9(0xcb)](_0x3224e9(0xd4)),_0x4649b7=getSuggestions(_0x19b23f[_0x3224e9(0xeb)]({'toJSON':!0x0}),_0x352dc8[_0x3224e9(0xf2)]);Object[_0x3224e9(0xd3)](_0x4649b7)[_0x3224e9(0xc1)]&&(_0x44eece[_0x3224e9(0xf5)]=_0x4649b7);}return(_0x44eece[_0x3224e9(0xf5)]||_0x44eece[_0x3224e9(0xbe)])&&(_0x44eece[_0x3224e9(0xdc)]=new Intl[(_0x3224e9(0xea))]()[_0x3224e9(0xbb)]()[_0x3224e9(0xcc)]),_0x44eece;}function _0x5c64(_0x23d3e7,_0x5100dc){const _0x38e09e=_0x38e0();return _0x5c64=function(_0x5c6403,_0x31b357){_0x5c6403=_0x5c6403-0xad;let _0x51b4f9=_0x38e09e[_0x5c6403];return _0x51b4f9;},_0x5c64(_0x23d3e7,_0x5100dc);}export function getComments(_0x4075c2){const _0x1a82fc=_0x5c64,_0x1af38b={};if(!_0x4075c2[_0x1a82fc(0xc1)])return _0x1af38b;for(const _0x1de8e3 of _0x4075c2)_0x1de8e3[_0x1a82fc(0xbe)][_0x1a82fc(0xba)](_0x3ad705=>{const _0x5189dc=_0x1a82fc;void 0x0===_0x1af38b[_0x1de8e3['id']]&&(_0x1af38b[_0x1de8e3['id']]=[]),_0x1af38b[_0x1de8e3['id']][_0x5189dc(0xda)]({'author':_0x3ad705[_0x5189dc(0xaf)][_0x5189dc(0xc5)],'content':_0x3ad705[_0x5189dc(0xb3)],'created':_0x3ad705[_0x5189dc(0xbf)],'is_resolved':_0x1de8e3[_0x5189dc(0xd9)]});});return _0x1af38b;}export function getSuggestions(_0x536db1,_0x5ea09e){const _0x283a53=_0x5c64,_0x4ca6cf={};if(!_0x536db1[_0x283a53(0xc1)]||!_0x5ea09e[_0x283a53(0xc1)])return _0x4ca6cf;for(const {id:_0x11aeb5,createdAt:_0x43b4d6,authorId:_0x12a48f,attributes:_0x3e9149}of _0x536db1){const _0x10f600=_0x3e9149&&_0x3e9149[_0x283a53(0xe1)],_0x3cb26b=_0x10f600?_0x10f600[_0x283a53(0xd6)]:_0x5ea09e[_0x283a53(0xcb)](_0x12a48f)[_0x283a53(0xc5)];_0x4ca6cf[_0x11aeb5]={'author':_0x3cb26b,'created':_0x43b4d6};}return _0x4ca6cf;}function _0x38e0(){const _0x577806=['push','trim','timezone','CommentsRepository','getLabel','506640oISFZJ','join','@external','$defaultValues','has','MergeFields','text','locale','data','hasAttribute','2nkWulf','DateTimeFormat','getSuggestions','previewMode','fetch','63ekyiDv','954180fJZYBQ','comment_threads','merge_fields','users','plugins','495736FAalLn','suggestions','.ck-content','The\x20editor\x20stylesheet\x20could\x20not\x20be\x20found\x20in\x20the\x20document.\x20Check\x20your\x20webpack\x20config\x20–\x20style-loader\x20should\x20use\x20data-cke=true\x20attribute\x20for\x20the\x20editor\x20stylesheet.','author','contentLanguage','entries','indexOf','content','EDITOR_STYLES','MergeFieldsEditing','ownerNode','then',':root','config','map','resolvedOptions','$labels','1298106aJMtkm','comments','createdAt','data-cke','length','895644RIWIMP','all','styleSheets','name','getCommentThreads','getDefaultValues','1252118vqeDVB','TrackChanges','document','get','timeZone','mergeFields','cssRules','187289Wvphaf','from','getDataSetValues','collaboration_features','keys','Users','language','authorName','cssText','warn','isResolved'];_0x38e0=function(){return _0x577806;};return _0x38e0();}export function getConverterOptionsV2(_0x12c570,_0x39e151={}){const _0x9a53b9=_0x5c64,_0x586e09=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xe3)](_0x9a53b9(0xd4)),_0x502829=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xe3)](_0x9a53b9(0xdd)),_0x2c026c=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xe3)](_0x9a53b9(0xc9)),_0x29260f=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xe3)](_0x9a53b9(0xe4)),_0x163ed5=_0x12c570[_0x9a53b9(0xe6)][_0x9a53b9(0xb0)],_0x143c12=_0x39e151,_0x1d60f9={};if(_0x143c12[_0x9a53b9(0xca)]=_0x143c12[_0x9a53b9(0xca)]||{},_0x143c12[_0x9a53b9(0xca)][_0x9a53b9(0xd5)]=_0x143c12[_0x9a53b9(0xca)][_0x9a53b9(0xd5)]||_0x163ed5,_0x586e09&&_0x502829){const _0x5a6623=getCommentsV2(_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xcb)](_0x9a53b9(0xdd))[_0x9a53b9(0xc6)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x5a6623[_0x9a53b9(0xc1)]&&(_0x1d60f9[_0x9a53b9(0xf0)]=_0x5a6623);}if(_0x586e09&&_0x2c026c){const _0x5d828a=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xcb)](_0x9a53b9(0xc9)),_0x1b0ba7=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xcb)](_0x9a53b9(0xd4)),_0x375284=getSuggestionsV2(_0x5d828a[_0x9a53b9(0xeb)]({'toJSON':!0x0}),_0x1b0ba7[_0x9a53b9(0xf2)]);_0x375284[_0x9a53b9(0xc1)]&&(_0x1d60f9[_0x9a53b9(0xf5)]=_0x375284);}if(_0x29260f){const _0x2b3a8e=_0x12c570[_0x9a53b9(0xf3)][_0x9a53b9(0xcb)](_0x9a53b9(0xb5)),_0x2a9aba=_0x2b3a8e[_0x9a53b9(0xec)],{prefix:_0x20c0b5,suffix:_0x17b28a}=_0x12c570[_0x9a53b9(0xb9)][_0x9a53b9(0xcb)](_0x9a53b9(0xcd));if(_0x143c12[_0x9a53b9(0xf1)]={'prefix':_0x20c0b5,'suffix':_0x17b28a},_0x9a53b9(0xbc)!==_0x2a9aba){_0x143c12[_0x9a53b9(0xf1)][_0x9a53b9(0xe7)]={};const _0x4f8ffc=_0x9a53b9(0xe2)===_0x2a9aba?_0x2b3a8e[_0x9a53b9(0xc7)]():_0x2b3a8e[_0x9a53b9(0xd1)](_0x2a9aba,!0x0);for(const _0x1a8bc3 of Object[_0x9a53b9(0xb1)](_0x4f8ffc)){const [_0x58c59e,_0x2682f5]=_0x1a8bc3;_0x143c12[_0x9a53b9(0xf1)][_0x9a53b9(0xe7)][_0x58c59e]=null!==_0x2682f5?_0x2682f5:_0x2b3a8e[_0x9a53b9(0xde)](_0x58c59e);}}}return(_0x1d60f9[_0x9a53b9(0xf0)]||_0x1d60f9[_0x9a53b9(0xf5)])&&(_0x143c12[_0x9a53b9(0xdc)]=new Intl[(_0x9a53b9(0xea))]()[_0x9a53b9(0xbb)]()[_0x9a53b9(0xcc)],_0x143c12[_0x9a53b9(0xd2)]=_0x1d60f9),_0x143c12;}export function getCommentsV2(_0x2534fe){const _0x20f859=_0x5c64,_0xd9c6eb=[];if(!_0x2534fe[_0x20f859(0xc1)])return _0xd9c6eb;for(const _0x26ca23 of _0x2534fe){const _0xb4433d=_0x26ca23[_0x20f859(0xbe)][_0x20f859(0xba)](_0x4fbc29=>({'author':_0x4fbc29[_0x20f859(0xaf)][_0x20f859(0xc5)],'content':_0x4fbc29[_0x20f859(0xb3)],'created_at':_0x4fbc29[_0x20f859(0xbf)]}));_0xd9c6eb[_0x20f859(0xda)]({'thread_id':_0x26ca23['id'],'is_resolved':_0x26ca23[_0x20f859(0xd9)],'comments':_0xb4433d});}return _0xd9c6eb;}export function getSuggestionsV2(_0x3e51f1,_0x39a2c8){const _0x195e96=_0x5c64;return _0x3e51f1[_0x195e96(0xc1)]&&_0x39a2c8[_0x195e96(0xc1)]?_0x3e51f1[_0x195e96(0xba)](({id:_0x155e69,createdAt:_0x594baa,authorId:_0x5e4b9c,attributes:_0x182b60})=>{const _0x39da1a=_0x195e96,_0x3d9c31=_0x182b60&&_0x182b60[_0x39da1a(0xe1)];return{'id':_0x155e69,'author':_0x3d9c31?_0x3d9c31[_0x39da1a(0xd6)]:_0x39a2c8[_0x39da1a(0xcb)](_0x5e4b9c)[_0x39da1a(0xc5)],'created_at':_0x594baa};}):[];}
|