@ckeditor/ckeditor5-export-word 43.0.0-alpha.3 → 43.0.0-alpha.5
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
|
+
(_0x4519d0=>{const {vi:{dictionary:_0x3ecac9,getPluralForm:_0x15dc34}}={'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':_0x5b09a2=>0x0}};_0x4519d0['vi']||={'dictionary':{},'getPluralForm':null},_0x4519d0['vi']['dictionary']=Object['assign'](_0x4519d0['vi']['dictionary'],_0x3ecac9),_0x4519d0['vi']['getPluralForm']=_0x15dc34;})(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':_0x22d1f5=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59792f=>{const {'zh-cn':{dictionary:_0x347c07,getPluralForm:_0xa43677}}={'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':_0x4c413e=>0x0}};_0x59792f['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x59792f['zh-cn']['dictionary']=Object['assign'](_0x59792f['zh-cn']['dictionary'],_0x347c07),_0x59792f['zh-cn']['getPluralForm']=_0xa43677;})(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':_0x116658=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x460c6b=>{const {zh:{dictionary:_0x413309,getPluralForm:_0x13f835}}={'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':_0x12816a=>0x0}};_0x460c6b['zh']||={'dictionary':{},'getPluralForm':null},_0x460c6b['zh']['dictionary']=Object['assign'](_0x460c6b['zh']['dictionary'],_0x413309),_0x460c6b['zh']['getPluralForm']=_0x13f835;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "43.0.0-alpha.
|
|
3
|
+
"version": "43.0.0-alpha.5",
|
|
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.0.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.
|
|
36
|
-
"ckeditor5": "43.0.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.0.0-alpha.5",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "43.0.0-alpha.5",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "43.0.0-alpha.5",
|
|
36
|
+
"ckeditor5": "43.0.0-alpha.5"
|
|
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 _0x343190=_0x10b0;(function(_0x51d982,_0x5659e1){const _0x331bb9=_0x10b0,_0x1a118a=_0x51d982();while(!![]){try{const _0xc0650e=-parseInt(_0x331bb9(0x1a5))/0x1*(parseInt(_0x331bb9(0x18f))/0x2)+parseInt(_0x331bb9(0x1a2))/0x3*(-parseInt(_0x331bb9(0x1a3))/0x4)+parseInt(_0x331bb9(0x19f))/0x5+parseInt(_0x331bb9(0x19c))/0x6*(-parseInt(_0x331bb9(0x190))/0x7)+parseInt(_0x331bb9(0x196))/0x8+parseInt(_0x331bb9(0x197))/0x9+-parseInt(_0x331bb9(0x19e))/0xa;if(_0xc0650e===_0x5659e1)break;else _0x1a118a['push'](_0x1a118a['shift']());}catch(_0x20a96b){_0x1a118a['push'](_0x1a118a['shift']());}}}(_0xaa89,0xda786));import{Plugin as _0x24bd92}from'ckeditor5/src/core.js';function _0xaa89(){const _0x2fe381=['8hxHdee','add','1ItoJCd','pluginName','config','commands','_token','930710SOQQBO','203yrSomF','requires','token','then','tokenUrl','exportWord','9395408HnaFzg','10472751wYLbfN','get','ExportWord','init','registerTokenUrl','82782rTusMr','editor','472100XDoxPU','1936555ICKeea','CloudServices','plugins','1376766JVvOsT'];_0xaa89=function(){return _0x2fe381;};return _0xaa89();}import{Notification as _0x29202d}from'ckeditor5/src/ui.js';import _0x5dbb34 from'./exportwordcommand.js';import _0x2fed41 from'./exportwordui.js';function _0x10b0(_0x17c0ea,_0x1a857c){const _0xaa8949=_0xaa89();return _0x10b0=function(_0x10b077,_0x3cf962){_0x10b077=_0x10b077-0x18c;let _0x4c04a7=_0xaa8949[_0x10b077];return _0x4c04a7;},_0x10b0(_0x17c0ea,_0x1a857c);}export default class s extends _0x24bd92{static get[_0x343190(0x1a6)](){const _0x2720db=_0x343190;return _0x2720db(0x199);}static get[_0x343190(0x191)](){const _0x591667=_0x343190;return[_0x591667(0x1a0),_0x29202d,_0x2fed41];}[_0x343190(0x19a)](){const _0x1e4265=_0x343190,_0x3e7293=this[_0x1e4265(0x19d)],_0x4ab5bd=_0x3e7293[_0x1e4265(0x18c)][_0x1e4265(0x198)](_0x1e4265(0x195))||{};_0x3e7293[_0x1e4265(0x18d)][_0x1e4265(0x1a4)](_0x1e4265(0x195),new _0x5dbb34(_0x3e7293));const _0x156269=_0x3e7293[_0x1e4265(0x1a1)][_0x1e4265(0x198)](_0x1e4265(0x1a0));!0x1===_0x4ab5bd[_0x1e4265(0x194)]?this[_0x1e4265(0x18e)]=null:_0x4ab5bd[_0x1e4265(0x194)]?_0x156269[_0x1e4265(0x19b)](_0x4ab5bd[_0x1e4265(0x194)])[_0x1e4265(0x193)](_0x144aee=>{const _0x3499af=_0x1e4265;this[_0x3499af(0x18e)]=_0x144aee;}):this[_0x1e4265(0x18e)]=_0x156269[_0x1e4265(0x192)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x66929c=_0x33bf;function _0x33bf(_0x32cd39,_0x1f6e31){const _0x1ca2e9=_0x1ca2();return _0x33bf=function(_0x33bf6e,_0xfd0fee){_0x33bf6e=_0x33bf6e-0x1c7;let _0x4d1c42=_0x1ca2e9[_0x33bf6e];return _0x4d1c42;},_0x33bf(_0x32cd39,_0x1f6e31);}(function(_0x56552d,_0x11973b){const _0x1da34a=_0x33bf,_0x3a55bf=_0x56552d();while(!![]){try{const _0x55b88e=parseInt(_0x1da34a(0x1cb))/0x1*(-parseInt(_0x1da34a(0x1cc))/0x2)+parseInt(_0x1da34a(0x1d0))/0x3+parseInt(_0x1da34a(0x1e7))/0x4*(-parseInt(_0x1da34a(0x1e5))/0x5)+-parseInt(_0x1da34a(0x1f4))/0x6+parseInt(_0x1da34a(0x1ee))/0x7*(parseInt(_0x1da34a(0x1d5))/0x8)+parseInt(_0x1da34a(0x1ca))/0x9*(parseInt(_0x1da34a(0x1e8))/0xa)+parseInt(_0x1da34a(0x211))/0xb;if(_0x55b88e===_0x11973b)break;else _0x3a55bf['push'](_0x3a55bf['shift']());}catch(_0x9360ba){_0x3a55bf['push'](_0x3a55bf['shift']());}}}(_0x1ca2,0x2aec7));function _0x1ca2(){const _0xdd83c2=['17073mhLSnq','2283tzLOVD','70MmWqDq','execute','URL','function','387552WXwmmh','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','announce','https://docx-converter.cke-cs.com/v2/convert/html-docx','status','8IMxZfd','version','remove','then','download','application/docx','EDITOR_STYLES','assertive','isBusy','_token','set','margin_left','Word\x20document\x20export\x20successful','catch','POST','fetch','88510MKpgYo','converterOptions','16PxUAsn','610XxfYQI','finally','suggestions','createObjectURL','</div>','value','1123367wAhuIc','converterUrl','editor','contentLanguageDirection','fileName','auto_pagination','763590IxJWnn','data','isEnabled','plugins','blob','margin_right','format','document.docx','createElement','application/json','margin_top','dataCallback','export-word-v1-api-is-deprecated','affectsData','pending','https://docx-converter.cke-cs.com/v1/convert','Word\x20document\x20export\x20started','refresh','ariaLiveAnnouncer','orientation','header','Word\x20document\x20export\x20failed','<div\x20class=\x22ck-content\x22\x20dir=\x22','showWarning','stringify','footer','stylesheets','click','token','532521JGRMnY','comments','options','margin_bottom','get','locale','config','_downloadFile','ExportWord','href','Notification'];_0x1ca2=function(){return _0xdd83c2;};return _0x1ca2();}import{Command as _0x7235ef}from'ckeditor5/src/core.js';import{logWarning as _0x23dd7f}from'ckeditor5/src/utils.js';import{getStyles as _0x30c02d,getConverterOptions as _0x1f129b,getConverterOptionsV2 as _0x1b8e2f}from'./utils.js';import{getTranslation as _0x58a48b}from'./utils/common-translations.js';const h=[_0x66929c(0x207),_0x66929c(0x1fe),_0x66929c(0x1f9),_0x66929c(0x214),_0x66929c(0x1e0),_0x66929c(0x1fa),_0x66929c(0x208),_0x66929c(0x20d),_0x66929c(0x212),_0x66929c(0x1ea)];export default class e extends _0x7235ef{constructor(_0xe7031b){const _0x3f8afd=_0x66929c;super(_0xe7031b),this[_0x3f8afd(0x1df)](_0x3f8afd(0x1dd),!0x1),this[_0x3f8afd(0x201)]=!0x1;}[_0x66929c(0x205)](){const _0x408460=_0x66929c;this[_0x408460(0x1f6)]=!this[_0x408460(0x1dd)],this[_0x408460(0x1ed)]=this[_0x408460(0x1dd)]?_0x408460(0x202):void 0x0;}[_0x66929c(0x1cd)](_0x39d1c4={}){const _0x699e33=_0x66929c,_0x6278b7=this[_0x699e33(0x1f0)],_0x1983b2=_0x39d1c4[_0x699e33(0x1d6)]||0x2,_0x5f20e3=0x1===_0x1983b2,_0x446596=_0x39d1c4[_0x699e33(0x1ef)]||(_0x5f20e3?_0x699e33(0x203):_0x699e33(0x1d3)),_0x5cc49a=_0x39d1c4[_0x699e33(0x1e6)]||{},_0x5d8711=_0x6278b7[_0x699e33(0x1f7)][_0x699e33(0x215)](_0x699e33(0x1c7)),_0x2be6ea=_0x39d1c4[_0x699e33(0x210)]||_0x5d8711[_0x699e33(0x1de)],_0x57463b=!0x0===_0x5cc49a[_0x699e33(0x1f3)],_0x51eafd=_0x39d1c4[_0x699e33(0x1ff)]||(_0x55e541=>_0x55e541[_0x699e33(0x1f5)][_0x699e33(0x215)]({'pagination':_0x57463b}));return 0x2===_0x1983b2&&function(_0x39e848){for(const _0x1b51c4 of h)if(void 0x0!==_0x39e848[_0x1b51c4])return!0x0;return!0x1;}(_0x5cc49a)&&_0x23dd7f(_0x699e33(0x200)),this[_0x699e33(0x1dd)]=!0x0,this[_0x699e33(0x205)](),_0x30c02d(_0x39d1c4[_0x699e33(0x20e)]||[_0x699e33(0x1db)])[_0x699e33(0x1d8)](async _0x36d14a=>{const _0x56f922=_0x699e33;_0x6278b7['ui'][_0x56f922(0x206)][_0x56f922(0x1d2)](_0x58a48b(_0x6278b7[_0x56f922(0x216)],_0x56f922(0x204)));const _0x5390f2=await _0x51eafd(_0x6278b7),_0x5207c4={'html':_0x56f922(0x20a)+_0x6278b7[_0x56f922(0x216)][_0x56f922(0x1f1)]+'\x22>'+_0x5390f2+_0x56f922(0x1ec),'css':_0x36d14a,[_0x5f20e3?_0x56f922(0x213):_0x56f922(0x217)]:{..._0x5cc49a,..._0x5f20e3?_0x1f129b(_0x6278b7,_0x5cc49a):_0x1b8e2f(_0x6278b7,_0x5cc49a)}},_0x3f3060={'method':_0x56f922(0x1e3),'headers':{'Content-Type':_0x56f922(0x1fd),'Accept':_0x56f922(0x1da),..._0x2be6ea?{'Authorization':_0x2be6ea[_0x56f922(0x1ed)]}:null},'body':JSON[_0x56f922(0x20c)](_0x5207c4)};return window[_0x56f922(0x1e4)](_0x446596,_0x3f3060)[_0x56f922(0x1d8)](_0x44995a=>{const _0x3d5727=_0x56f922;if(0xc8!==_0x44995a[_0x3d5727(0x1d4)])throw _0x44995a;return _0x44995a[_0x3d5727(0x1f8)]();})[_0x56f922(0x1d8)](_0x48bd5c=>{const _0xbbd35e=_0x56f922;_0x6278b7['ui'][_0xbbd35e(0x206)][_0xbbd35e(0x1d2)](_0x58a48b(_0x6278b7[_0xbbd35e(0x216)],_0xbbd35e(0x1e1)));const _0x1c3f21=_0xbbd35e(0x1cf)==typeof _0x39d1c4[_0xbbd35e(0x1f2)]?_0x39d1c4[_0xbbd35e(0x1f2)]():_0x39d1c4[_0xbbd35e(0x1f2)];this[_0xbbd35e(0x218)](_0x48bd5c,_0x1c3f21||_0xbbd35e(0x1fb));});})[_0x699e33(0x1e2)](_0x5b7f71=>{const _0x5411f9=_0x699e33,_0x93a351=_0x6278b7[_0x5411f9(0x1f7)][_0x5411f9(0x215)](_0x5411f9(0x1c9));throw _0x6278b7['ui'][_0x5411f9(0x206)][_0x5411f9(0x1d2)](_0x58a48b(_0x6278b7[_0x5411f9(0x216)],_0x5411f9(0x209)),{'politeness':_0x5411f9(0x1dc)}),_0x93a351[_0x5411f9(0x20b)](_0x58a48b(_0x6278b7[_0x5411f9(0x216)],_0x5411f9(0x1d1))),_0x5b7f71;})[_0x699e33(0x1e9)](()=>{const _0x4af9dd=_0x699e33;this[_0x4af9dd(0x1dd)]=!0x1,this[_0x4af9dd(0x205)]();});}[_0x66929c(0x218)](_0x34f0e2,_0x5117cc){const _0x483695=_0x66929c,_0x203285=document[_0x483695(0x1fc)]('a');_0x203285[_0x483695(0x1c8)]=window[_0x483695(0x1ce)][_0x483695(0x1eb)](_0x34f0e2),_0x203285[_0x483695(0x1d9)]=_0x5117cc,_0x203285[_0x483695(0x20f)](),_0x203285[_0x483695(0x1d7)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x490f2b=_0x59b7;function _0x1e05(){const _0x524805=['Export\x20to\x20Word','3633665MHkFkm','set','3432810aNPBjF','pluginName','listenTo','exportWord','165636pwDgNt','3666552tycZIF','Exporting\x20Word\x20document','isVisible','focus','iconView','config','menuBar:exportWord','_createButton','1027957sHcMmY','children','label','add','init','isBusy','get','editing','commands','execute','1984SNYylf','bind','ExportWordUI','489988ARbOEx','view','componentFactory','locale','isOn','isEnabled','8590757VneYzE','6mhvXQu','editor'];_0x1e05=function(){return _0x524805;};return _0x1e05();}(function(_0x8f388b,_0x5e6dad){const _0x391e9f=_0x59b7,_0x40cd1c=_0x8f388b();while(!![]){try{const _0x3ad605=parseInt(_0x391e9f(0xaa))/0x1+parseInt(_0x391e9f(0x9d))/0x2+-parseInt(_0x391e9f(0x98))/0x3*(-parseInt(_0x391e9f(0xb7))/0x4)+parseInt(_0x391e9f(0x9b))/0x5+parseInt(_0x391e9f(0xa2))/0x6+parseInt(_0x391e9f(0x97))/0x7+parseInt(_0x391e9f(0xb4))/0x8*(-parseInt(_0x391e9f(0xa1))/0x9);if(_0x3ad605===_0x5e6dad)break;else _0x40cd1c['push'](_0x40cd1c['shift']());}catch(_0x333718){_0x40cd1c['push'](_0x40cd1c['shift']());}}}(_0x1e05,0xf1c20));import{Plugin as _0x3f926e}from'ckeditor5/src/core.js';function _0x59b7(_0x1d0912,_0x2e5053){const _0x1e052e=_0x1e05();return _0x59b7=function(_0x59b780,_0x4a38d6){_0x59b780=_0x59b780-0x96;let _0xa832dc=_0x1e052e[_0x59b780];return _0xa832dc;},_0x59b7(_0x1d0912,_0x2e5053);}import{ButtonView as _0x149880,MenuBarMenuListItemButtonView as _0x5d1a2f,SpinnerView as _0x18ba7c}from'ckeditor5/src/ui.js';import _0x2f4fdd from'../theme/icons/exportword.svg';import{getTranslation as _0x17131f}from'./utils/common-translations.js';export default class i extends _0x3f926e{static get[_0x490f2b(0x9e)](){const _0x36af72=_0x490f2b;return _0x36af72(0xb6);}[_0x490f2b(0xae)](){const _0x207f33=_0x490f2b,_0x5f10e8=this[_0x207f33(0x99)];_0x5f10e8['ui'][_0x207f33(0xb9)][_0x207f33(0xad)](_0x207f33(0xa0),()=>{const _0x72525c=_0x207f33,_0x2cbb7c=_0x5f10e8[_0x72525c(0xb2)][_0x72525c(0xb0)](_0x72525c(0xa0)),_0x4e8568=this[_0x72525c(0xa9)](_0x149880);return _0x4e8568[_0x72525c(0x9c)]({'tooltip':!0x0}),_0x4e8568[_0x72525c(0xb5)](_0x72525c(0xbb))['to'](_0x2cbb7c,_0x72525c(0xaf)),_0x4e8568;}),_0x5f10e8['ui'][_0x207f33(0xb9)][_0x207f33(0xad)](_0x207f33(0xa8),()=>this[_0x207f33(0xa9)](_0x5d1a2f));}[_0x490f2b(0xa9)](_0xf93dad){const _0x57b0a3=_0x490f2b,_0x2d4289=this[_0x57b0a3(0x99)],_0x44488d=_0x2d4289[_0x57b0a3(0xa7)][_0x57b0a3(0xb0)](_0x57b0a3(0xa0))||{},_0x106394=_0x2d4289[_0x57b0a3(0xb2)][_0x57b0a3(0xb0)](_0x57b0a3(0xa0)),_0x57b104=new _0xf93dad(_0x2d4289[_0x57b0a3(0xba)]),_0x4b18de=new _0x18ba7c();return _0x57b104[_0x57b0a3(0xab)][_0x57b0a3(0xad)](_0x4b18de),_0x4b18de[_0x57b0a3(0xb5)](_0x57b0a3(0xa4))['to'](_0x106394,_0x57b0a3(0xaf)),_0x57b104[_0x57b0a3(0xa6)][_0x57b0a3(0xb5)](_0x57b0a3(0xa4))['to'](_0x106394,_0x57b0a3(0xaf),_0x403102=>!_0x403102),_0x57b104[_0x57b0a3(0x9c)]({'icon':_0x2f4fdd}),_0x57b104[_0x57b0a3(0xb5)](_0x57b0a3(0x96))['to'](_0x106394,_0x57b0a3(0x96)),_0x57b104[_0x57b0a3(0xb5)](_0x57b0a3(0xac))['to'](_0x106394,_0x57b0a3(0xaf),_0xa7c34a=>_0x17131f(_0x2d4289[_0x57b0a3(0xba)],_0xa7c34a?_0x57b0a3(0xa3):_0x57b0a3(0x9a))),this[_0x57b0a3(0x9f)](_0x57b104,_0x57b0a3(0xb3),()=>{const _0x4f4893=_0x57b0a3;_0x2d4289[_0x4f4893(0xb3)](_0x4f4893(0xa0),_0x44488d),_0x2d4289[_0x4f4893(0xb1)][_0x4f4893(0xb8)][_0x4f4893(0xa5)]();}),_0x57b104;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4e99(){var _0x5c249a=['27252CqrZId','2623936nPvAwE','804OWiFOE','192dZcMeh','46UJOJuI','2248EweAxL','60687OxTJrk','610hqUDsa','25885WnfNav','4468EuAhAn','186dZBJBE','2963196mHbCuO'];_0x4e99=function(){return _0x5c249a;};return _0x4e99();}(function(_0x4ce758,_0x1ff4fc){var _0x43471b=_0x5b09,_0x4026e8=_0x4ce758();while(!![]){try{var _0x2533fa=-parseInt(_0x43471b(0xf9))/0x1*(parseInt(_0x43471b(0xf2))/0x2)+-parseInt(_0x43471b(0xf7))/0x3*(parseInt(_0x43471b(0xee))/0x4)+-parseInt(_0x43471b(0xf1))/0x5*(-parseInt(_0x43471b(0xf3))/0x6)+-parseInt(_0x43471b(0xf6))/0x7+-parseInt(_0x43471b(0xf8))/0x8*(-parseInt(_0x43471b(0xf5))/0x9)+-parseInt(_0x43471b(0xf0))/0xa*(-parseInt(_0x43471b(0xef))/0xb)+parseInt(_0x43471b(0xf4))/0xc;if(_0x2533fa===_0x1ff4fc)break;else _0x4026e8['push'](_0x4026e8['shift']());}catch(_0x4aa4a3){_0x4026e8['push'](_0x4026e8['shift']());}}}(_0x4e99,0x2dff1));export{default as ExportWord}from'./exportword.js';function _0x5b09(_0x48fb62,_0x53ee3a){var _0x4e99de=_0x4e99();return _0x5b09=function(_0x5b0992,_0x51f970){_0x5b0992=_0x5b0992-0xee;var _0x32325f=_0x4e99de[_0x5b0992];return _0x32325f;},_0x5b09(_0x48fb62,_0x53ee3a);}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5a7d9f,_0x17f76a){const t=_0x5a7d9f['t'];switch(_0x17f76a){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 _0x17f76a;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x32c108,_0x342d55){const _0x5d8684=_0x327b,_0x92f52=_0x32c108();while(!![]){try{const _0x3e6b18=parseInt(_0x5d8684(0x11b))/0x1+-parseInt(_0x5d8684(0x13b))/0x2*(-parseInt(_0x5d8684(0x117))/0x3)+parseInt(_0x5d8684(0x13f))/0x4+parseInt(_0x5d8684(0x147))/0x5+-parseInt(_0x5d8684(0x14d))/0x6*(-parseInt(_0x5d8684(0x129))/0x7)+parseInt(_0x5d8684(0x11d))/0x8*(-parseInt(_0x5d8684(0x15d))/0x9)+-parseInt(_0x5d8684(0x12e))/0xa*(parseInt(_0x5d8684(0x11e))/0xb);if(_0x3e6b18===_0x342d55)break;else _0x92f52['push'](_0x92f52['shift']());}catch(_0x2666cc){_0x92f52['push'](_0x92f52['shift']());}}}(_0x9d7f,0x2e235));export function getStyles(_0x2dec13){const _0x222e14=_0x327b;if(!_0x2dec13)return new Promise(_0x3a0c54=>_0x3a0c54(''));const _0xbd11b7=[];for(const _0x5c1e28 of _0x2dec13)_0x222e14(0x116)!==_0x5c1e28?_0xbd11b7[_0x222e14(0x14a)](window[_0x222e14(0x12a)](_0x5c1e28)[_0x222e14(0x141)](_0x49490d=>_0x49490d[_0x222e14(0x125)]())):_0xbd11b7[_0x222e14(0x14a)](f());return Promise[_0x222e14(0x131)](_0xbd11b7)[_0x222e14(0x141)](_0x4403d7=>_0x4403d7[_0x222e14(0x12d)]('\x20')[_0x222e14(0x15e)]());}function f(){const _0x5edb17=_0x327b,_0x4352ed=[],_0x4dc886=[];for(const _0x1e9330 of Array[_0x5edb17(0x148)](document[_0x5edb17(0x12c)])){if(_0x1e9330[_0x5edb17(0x152)][_0x5edb17(0x120)](_0x5edb17(0x144))){for(const _0x2d7e1e of Array[_0x5edb17(0x148)](_0x1e9330[_0x5edb17(0x140)]))-0x1!==_0x2d7e1e[_0x5edb17(0x122)][_0x5edb17(0x12b)](_0x5edb17(0x14c))?_0x4352ed[_0x5edb17(0x14a)](_0x2d7e1e[_0x5edb17(0x122)]):-0x1!==_0x2d7e1e[_0x5edb17(0x122)][_0x5edb17(0x12b)](_0x5edb17(0x139))&&_0x4dc886[_0x5edb17(0x14a)](_0x2d7e1e[_0x5edb17(0x122)]);}}return _0x4352ed[_0x5edb17(0x14f)]||console[_0x5edb17(0x132)](_0x5edb17(0x118)),[..._0x4dc886,..._0x4352ed][_0x5edb17(0x12d)]('\x20')[_0x5edb17(0x15e)]();}export function getConverterOptions(_0x4e366b,_0x5ecbce={}){const _0x2a0c30=_0x327b,_0x2d54ad=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x138)),_0x3478b2=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x143)),_0x5b00a6=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x11a)](_0x2a0c30(0x149)),_0x2cfb9c=_0x5ecbce;if(_0x2d54ad&&_0x3478b2){const _0xeded72=getComments(_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x143))[_0x2a0c30(0x13d)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x2a0c30(0x15c)](_0xeded72)[_0x2a0c30(0x14f)]&&(_0x2cfb9c[_0x2a0c30(0x119)]=_0xeded72);}if(_0x2d54ad&&_0x5b00a6){const _0x4fc41b=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x149)),_0x101092=_0x4e366b[_0x2a0c30(0x13a)][_0x2a0c30(0x145)](_0x2a0c30(0x138)),_0x2c6f6b=getSuggestions(_0x4fc41b[_0x2a0c30(0x121)]({'toJSON':!0x0}),_0x101092[_0x2a0c30(0x134)]);Object[_0x2a0c30(0x15c)](_0x2c6f6b)[_0x2a0c30(0x14f)]&&(_0x2cfb9c[_0x2a0c30(0x128)]=_0x2c6f6b);}return(_0x2cfb9c[_0x2a0c30(0x128)]||_0x2cfb9c[_0x2a0c30(0x119)])&&(_0x2cfb9c[_0x2a0c30(0x157)]=new Intl[(_0x2a0c30(0x11c))]()[_0x2a0c30(0x133)]()[_0x2a0c30(0x114)]),_0x2cfb9c;}export function getComments(_0x1de89b){const _0x4596c3=_0x327b,_0x76a84b={};if(!_0x1de89b[_0x4596c3(0x14f)])return _0x76a84b;for(const _0x4811a9 of _0x1de89b)_0x4811a9[_0x4596c3(0x119)][_0x4596c3(0x136)](_0x4216d9=>{const _0x261266=_0x4596c3;void 0x0===_0x76a84b[_0x4811a9['id']]&&(_0x76a84b[_0x4811a9['id']]=[]),_0x76a84b[_0x4811a9['id']][_0x261266(0x14a)]({'author':_0x4216d9[_0x261266(0x124)][_0x261266(0x14e)],'content':_0x4216d9[_0x261266(0x156)],'created':_0x4216d9[_0x261266(0x151)],'is_resolved':_0x4811a9[_0x261266(0x13c)]});});return _0x76a84b;}export function getSuggestions(_0x2c57ac,_0x3ac06a){const _0x5a1bd1=_0x327b,_0x4b2e62={};if(!_0x2c57ac[_0x5a1bd1(0x14f)]||!_0x3ac06a[_0x5a1bd1(0x14f)])return _0x4b2e62;for(const {id:_0xd8cd76,createdAt:_0x463f9d,authorId:_0x5f07e3,attributes:_0xdee2d}of _0x2c57ac){const _0x4463c1=_0xdee2d&&_0xdee2d[_0x5a1bd1(0x115)],_0x26b92e=_0x4463c1?_0x4463c1[_0x5a1bd1(0x12f)]:_0x3ac06a[_0x5a1bd1(0x145)](_0x5f07e3)[_0x5a1bd1(0x14e)];_0x4b2e62[_0xd8cd76]={'author':_0x26b92e,'created':_0x463f9d};}return _0x4b2e62;}export function getConverterOptionsV2(_0x22372a,_0x31d4c1={}){const _0x58e1a3=_0x327b,_0x1559a8=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x138)),_0x4fbc90=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x143)),_0x5b93b1=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x149)),_0x3a906d=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x11a)](_0x58e1a3(0x14b)),_0x2c9819=_0x22372a[_0x58e1a3(0x11f)][_0x58e1a3(0x154)],_0x36f777=_0x31d4c1,_0x1dc7f3={};if(_0x36f777[_0x58e1a3(0x137)]=_0x36f777[_0x58e1a3(0x137)]||{},_0x36f777[_0x58e1a3(0x137)][_0x58e1a3(0x15a)]=_0x36f777[_0x58e1a3(0x137)][_0x58e1a3(0x15a)]||_0x2c9819,_0x1559a8&&_0x4fbc90){const _0x4038df=getCommentsV2(_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x143))[_0x58e1a3(0x13d)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x4038df[_0x58e1a3(0x14f)]&&(_0x1dc7f3[_0x58e1a3(0x158)]=_0x4038df);}if(_0x1559a8&&_0x5b93b1){const _0x99f119=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x149)),_0xdd3378=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x138)),_0x5da9bb=getSuggestionsV2(_0x99f119[_0x58e1a3(0x121)]({'toJSON':!0x0}),_0xdd3378[_0x58e1a3(0x134)]);_0x5da9bb[_0x58e1a3(0x14f)]&&(_0x1dc7f3[_0x58e1a3(0x128)]=_0x5da9bb);}if(_0x3a906d){const _0x2900c3=_0x22372a[_0x58e1a3(0x13a)][_0x58e1a3(0x145)](_0x58e1a3(0x159)),_0x7b1020=_0x2900c3[_0x58e1a3(0x127)],{prefix:_0x53e84e,suffix:_0x125907}=_0x22372a[_0x58e1a3(0x135)][_0x58e1a3(0x145)](_0x58e1a3(0x142));if(_0x36f777[_0x58e1a3(0x153)]={'prefix':_0x53e84e,'suffix':_0x125907},_0x58e1a3(0x15b)!==_0x7b1020){_0x36f777[_0x58e1a3(0x153)][_0x58e1a3(0x13e)]={};const _0x3fca98=_0x58e1a3(0x123)===_0x7b1020?_0x2900c3[_0x58e1a3(0x130)]():_0x2900c3[_0x58e1a3(0x126)](_0x7b1020,!0x0);for(const _0x12c03c of Object[_0x58e1a3(0x146)](_0x3fca98)){const [_0xee6830,_0x392d77]=_0x12c03c;_0x36f777[_0x58e1a3(0x153)][_0x58e1a3(0x13e)][_0xee6830]=null!==_0x392d77?_0x392d77:_0x2900c3[_0x58e1a3(0x155)](_0xee6830);}}}return(_0x1dc7f3[_0x58e1a3(0x158)]||_0x1dc7f3[_0x58e1a3(0x128)])&&(_0x36f777[_0x58e1a3(0x157)]=new Intl[(_0x58e1a3(0x11c))]()[_0x58e1a3(0x133)]()[_0x58e1a3(0x114)],_0x36f777[_0x58e1a3(0x150)]=_0x1dc7f3),_0x36f777;}function _0x327b(_0x7c7b9c,_0x307ba6){const _0x9d7f8c=_0x9d7f();return _0x327b=function(_0x327b91,_0x5c0d96){_0x327b91=_0x327b91-0x114;let _0x232467=_0x9d7f8c[_0x327b91];return _0x232467;},_0x327b(_0x7c7b9c,_0x307ba6);}export function getCommentsV2(_0x546319){const _0x1c9584=_0x327b,_0xdc5714=[];if(!_0x546319[_0x1c9584(0x14f)])return _0xdc5714;for(const _0x28a868 of _0x546319){const _0x428b7d=_0x28a868[_0x1c9584(0x119)][_0x1c9584(0x136)](_0x440ce8=>({'author':_0x440ce8[_0x1c9584(0x124)][_0x1c9584(0x14e)],'content':_0x440ce8[_0x1c9584(0x156)],'created_at':_0x440ce8[_0x1c9584(0x151)]}));_0xdc5714[_0x1c9584(0x14a)]({'thread_id':_0x28a868['id'],'is_resolved':_0x28a868[_0x1c9584(0x13c)],'comments':_0x428b7d});}return _0xdc5714;}export function getSuggestionsV2(_0x2f4f01,_0x2c8965){const _0x5f2efa=_0x327b;return _0x2f4f01[_0x5f2efa(0x14f)]&&_0x2c8965[_0x5f2efa(0x14f)]?_0x2f4f01[_0x5f2efa(0x136)](({id:_0x585d5b,createdAt:_0x161168,authorId:_0x59ee86,attributes:_0x144c54})=>{const _0x507d63=_0x5f2efa,_0x39168b=_0x144c54&&_0x144c54[_0x507d63(0x115)];return{'id':_0x585d5b,'author':_0x39168b?_0x39168b[_0x507d63(0x12f)]:_0x2c8965[_0x507d63(0x145)](_0x59ee86)[_0x507d63(0x14e)],'created_at':_0x161168};}):[];}function _0x9d7f(){const _0x127325=['push','MergeFields','.ck-content','42KMrQZl','name','length','collaboration_features','createdAt','ownerNode','merge_fields','contentLanguage','getLabel','content','timezone','comment_threads','MergeFieldsEditing','language','$labels','keys','9bkCQBI','trim','timeZone','@external','EDITOR_STYLES','335397GgXVxf','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.','comments','has','99498tKwOkw','DateTimeFormat','2419432kPsLnX','22wuNavB','locale','hasAttribute','getSuggestions','cssText','$defaultValues','author','text','getDataSetValues','previewMode','suggestions','162211eLwiso','fetch','indexOf','styleSheets','join','1411210yNiveB','authorName','getDefaultValues','all','warn','resolvedOptions','users','config','map','document','Users',':root','plugins','2DwmrTc','isResolved','getCommentThreads','data','228884PwooJV','cssRules','then','mergeFields','CommentsRepository','data-cke','get','entries','1714615WzDgfI','from','TrackChanges'];_0x9d7f=function(){return _0x127325;};return _0x9d7f();}
|