@ckeditor/ckeditor5-export-word 43.1.0-alpha.0 → 43.1.0-alpha.2
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
|
+
(_0x5569f8=>{const {vi:{dictionary:_0x347b56,getPluralForm:_0x44e246}}={'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':_0x298b9b=>0x0}};_0x5569f8['vi']||={'dictionary':{},'getPluralForm':null},_0x5569f8['vi']['dictionary']=Object['assign'](_0x5569f8['vi']['dictionary'],_0x347b56),_0x5569f8['vi']['getPluralForm']=_0x44e246;})(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':_0x196007=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58a0df=>{const {'zh-cn':{dictionary:_0x580e52,getPluralForm:_0x4df509}}={'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':_0xdd0e74=>0x0}};_0x58a0df['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x58a0df['zh-cn']['dictionary']=Object['assign'](_0x58a0df['zh-cn']['dictionary'],_0x580e52),_0x58a0df['zh-cn']['getPluralForm']=_0x4df509;})(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':_0x13241f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ad5bd=>{const {zh:{dictionary:_0x2375a8,getPluralForm:_0x41ceb2}}={'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':_0x2e02e8=>0x0}};_0x1ad5bd['zh']||={'dictionary':{},'getPluralForm':null},_0x1ad5bd['zh']['dictionary']=Object['assign'](_0x1ad5bd['zh']['dictionary'],_0x2375a8),_0x1ad5bd['zh']['getPluralForm']=_0x41ceb2;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.2",
|
|
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.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
36
|
-
"ckeditor5": "43.1.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.2",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "43.1.0-alpha.2",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.2",
|
|
36
|
+
"ckeditor5": "43.1.0-alpha.2"
|
|
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
|
-
function
|
|
23
|
+
function _0xa203(_0x92ae2,_0x21528b){const _0x23ad4b=_0x23ad();return _0xa203=function(_0xa203a3,_0x4cf5d7){_0xa203a3=_0xa203a3-0x166;let _0x55bdc0=_0x23ad4b[_0xa203a3];return _0x55bdc0;},_0xa203(_0x92ae2,_0x21528b);}const _0x3b9062=_0xa203;function _0x23ad(){const _0x253286=['plugins','_token','get','commands','config','2URSTGA','add','registerTokenUrl','ExportWord','614088lxoobe','311520QEYKTQ','32fHutnc','520360orUClf','123834DehUpu','284648avjfVL','315743hMmEAX','1244538pNrZqC','then','tokenUrl','editor','exportWord','init','token','requires','CloudServices','100ArjmXb','pluginName'];_0x23ad=function(){return _0x253286;};return _0x23ad();}(function(_0x5de0ab,_0x3e577b){const _0x19af1a=_0xa203,_0x2a88d9=_0x5de0ab();while(!![]){try{const _0x5d0200=-parseInt(_0x19af1a(0x16e))/0x1*(parseInt(_0x19af1a(0x17f))/0x2)+-parseInt(_0x19af1a(0x16c))/0x3*(parseInt(_0x19af1a(0x16a))/0x4)+parseInt(_0x19af1a(0x169))/0x5+parseInt(_0x19af1a(0x16f))/0x6+-parseInt(_0x19af1a(0x16d))/0x7+-parseInt(_0x19af1a(0x16b))/0x8+parseInt(_0x19af1a(0x168))/0x9*(parseInt(_0x19af1a(0x178))/0xa);if(_0x5d0200===_0x3e577b)break;else _0x2a88d9['push'](_0x2a88d9['shift']());}catch(_0x586021){_0x2a88d9['push'](_0x2a88d9['shift']());}}}(_0x23ad,0x30eb3));import{Plugin as _0x272c02}from'ckeditor5/src/core.js';import{Notification as _0x2bc09a}from'ckeditor5/src/ui.js';import _0x449348 from'./exportwordcommand.js';import _0x3ced1b from'./exportwordui.js';export default class s extends _0x272c02{static get[_0x3b9062(0x179)](){const _0x2aa121=_0x3b9062;return _0x2aa121(0x167);}static get[_0x3b9062(0x176)](){const _0x21dcc1=_0x3b9062;return[_0x21dcc1(0x177),_0x2bc09a,_0x3ced1b];}[_0x3b9062(0x174)](){const _0xcecdcd=_0x3b9062,_0x289daa=this[_0xcecdcd(0x172)],_0x33ea7d=_0x289daa[_0xcecdcd(0x17e)][_0xcecdcd(0x17c)](_0xcecdcd(0x173))||{};_0x289daa[_0xcecdcd(0x17d)][_0xcecdcd(0x180)](_0xcecdcd(0x173),new _0x449348(_0x289daa));const _0x350a5b=_0x289daa[_0xcecdcd(0x17a)][_0xcecdcd(0x17c)](_0xcecdcd(0x177));!0x1===_0x33ea7d[_0xcecdcd(0x171)]?this[_0xcecdcd(0x17b)]=null:_0x33ea7d[_0xcecdcd(0x171)]?_0x350a5b[_0xcecdcd(0x166)](_0x33ea7d[_0xcecdcd(0x171)])[_0xcecdcd(0x170)](_0x3abfa4=>{const _0x24098c=_0xcecdcd;this[_0x24098c(0x17b)]=_0x3abfa4;}):this[_0xcecdcd(0x17b)]=_0x350a5b[_0xcecdcd(0x175)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e0d07=_0x4333;(function(_0x5b39c4,_0x3d9d1f){const _0x23d0b9=_0x4333,_0x337048=_0x5b39c4();while(!![]){try{const _0x67e06f=parseInt(_0x23d0b9(0x147))/0x1*(parseInt(_0x23d0b9(0x119))/0x2)+parseInt(_0x23d0b9(0x10f))/0x3+parseInt(_0x23d0b9(0x126))/0x4+parseInt(_0x23d0b9(0x100))/0x5+parseInt(_0x23d0b9(0x115))/0x6+-parseInt(_0x23d0b9(0x145))/0x7+-parseInt(_0x23d0b9(0x109))/0x8;if(_0x67e06f===_0x3d9d1f)break;else _0x337048['push'](_0x337048['shift']());}catch(_0x264842){_0x337048['push'](_0x337048['shift']());}}}(_0x3fa1,0xaaf8c));import{Command as _0x4dcd5c}from'ckeditor5/src/core.js';function _0x3fa1(){const _0x4514f8=['isBusy','refresh','header','href','affectsData','dataCallback','blob','remove','plugins','download','fetch','stylesheets','export-word-v1-api-is-deprecated','value','format','converterUrl','margin_top','finally','6433952uCqgNT','then','4295gZSsbG','announce','EDITOR_STYLES','Word\x20document\x20export\x20failed','auto_pagination','set','version','function','5999820qOBnif','footer','margin_right','application/json','suggestions','margin_bottom','contentLanguageDirection','locale','status','6453784WrVfjV','POST','token','pending','<div\x20class=\x22ck-content\x22\x20dir=\x22','editor','147090ORHEnr','ariaLiveAnnouncer','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','options','orientation','fileName','3362076vCNmiT','converterOptions','assertive','_downloadFile','150VtwJKI','get','stringify','</div>','https://docx-converter.cke-cs.com/v1/convert','data','comments','createElement','click','_token','URL','ExportWord','Word\x20document\x20export\x20successful','1178776mictmk','application/docx','Notification','createObjectURL','https://docx-converter.cke-cs.com/v2/convert/html-docx','config','margin_left','isEnabled','showWarning','execute','Word\x20document\x20export\x20started','catch','document.docx'];_0x3fa1=function(){return _0x4514f8;};return _0x3fa1();}import{logWarning as _0x436e57}from'ckeditor5/src/utils.js';import{getStyles as _0x2d48c7,getConverterOptions as _0x4a5c00,getConverterOptionsV2 as _0x44ea19}from'./utils.js';import{getTranslation as _0x3d9d89}from'./utils/common-translations.js';const h=[_0x5e0d07(0x113),_0x5e0d07(0x143),_0x5e0d07(0x102),_0x5e0d07(0x105),_0x5e0d07(0x12c),_0x5e0d07(0x141),_0x5e0d07(0x135),_0x5e0d07(0x101),_0x5e0d07(0x11f),_0x5e0d07(0x104)];function _0x4333(_0x4b709f,_0x2dec5d){const _0x3fa194=_0x3fa1();return _0x4333=function(_0x43339d,_0x230325){_0x43339d=_0x43339d-0xfe;let _0x3f2d89=_0x3fa194[_0x43339d];return _0x3f2d89;},_0x4333(_0x4b709f,_0x2dec5d);}export default class e extends _0x4dcd5c{constructor(_0x47677f){const _0x20ed22=_0x5e0d07;super(_0x47677f),this[_0x20ed22(0x14c)](_0x20ed22(0x133),!0x1),this[_0x20ed22(0x137)]=!0x1;}[_0x5e0d07(0x134)](){const _0x230600=_0x5e0d07;this[_0x230600(0x12d)]=!this[_0x230600(0x133)],this[_0x230600(0x140)]=this[_0x230600(0x133)]?_0x230600(0x10c):void 0x0;}[_0x5e0d07(0x12f)](_0x687af7={}){const _0x2a3c62=_0x5e0d07,_0x2eb8a9=this[_0x2a3c62(0x10e)],_0x3954b3=_0x687af7[_0x2a3c62(0xfe)]||0x2,_0x345c56=0x1===_0x3954b3,_0x49a599=_0x687af7[_0x2a3c62(0x142)]||(_0x345c56?_0x2a3c62(0x11d):_0x2a3c62(0x12a)),_0x52d3e1=_0x687af7[_0x2a3c62(0x116)]||{},_0x19d76d=_0x2eb8a9[_0x2a3c62(0x13b)][_0x2a3c62(0x11a)](_0x2a3c62(0x124)),_0xf6b31=_0x687af7[_0x2a3c62(0x10b)]||_0x19d76d[_0x2a3c62(0x122)],_0x51271a=!0x0===_0x52d3e1[_0x2a3c62(0x14b)],_0x12da91=_0x687af7[_0x2a3c62(0x138)]||(_0x2de740=>_0x2de740[_0x2a3c62(0x11e)][_0x2a3c62(0x11a)]({'pagination':_0x51271a}));return 0x2===_0x3954b3&&function(_0x123220){for(const _0x53e766 of h)if(void 0x0!==_0x123220[_0x53e766])return!0x0;return!0x1;}(_0x52d3e1)&&_0x436e57(_0x2a3c62(0x13f)),this[_0x2a3c62(0x133)]=!0x0,this[_0x2a3c62(0x134)](),_0x2d48c7(_0x687af7[_0x2a3c62(0x13e)]||[_0x2a3c62(0x149)])[_0x2a3c62(0x146)](async _0x4d30b1=>{const _0xa9a0a7=_0x2a3c62;_0x2eb8a9['ui'][_0xa9a0a7(0x110)][_0xa9a0a7(0x148)](_0x3d9d89(_0x2eb8a9[_0xa9a0a7(0x107)],_0xa9a0a7(0x130)));const _0x4ff797=await _0x12da91(_0x2eb8a9),_0x4002f0={'html':_0xa9a0a7(0x10d)+_0x2eb8a9[_0xa9a0a7(0x107)][_0xa9a0a7(0x106)]+'\x22>'+_0x4ff797+_0xa9a0a7(0x11c),'css':_0x4d30b1,[_0x345c56?_0xa9a0a7(0x112):_0xa9a0a7(0x12b)]:{..._0x52d3e1,..._0x345c56?_0x4a5c00(_0x2eb8a9,_0x52d3e1):_0x44ea19(_0x2eb8a9,_0x52d3e1)}},_0x3f9be7={'method':_0xa9a0a7(0x10a),'headers':{'Content-Type':_0xa9a0a7(0x103),'Accept':_0xa9a0a7(0x127),..._0xf6b31?{'Authorization':_0xf6b31[_0xa9a0a7(0x140)]}:null},'body':JSON[_0xa9a0a7(0x11b)](_0x4002f0)};return window[_0xa9a0a7(0x13d)](_0x49a599,_0x3f9be7)[_0xa9a0a7(0x146)](_0xbe8050=>{const _0x3abcfa=_0xa9a0a7;if(0xc8!==_0xbe8050[_0x3abcfa(0x108)])throw _0xbe8050;return _0xbe8050[_0x3abcfa(0x139)]();})[_0xa9a0a7(0x146)](_0x286f7a=>{const _0x2b00cc=_0xa9a0a7;_0x2eb8a9['ui'][_0x2b00cc(0x110)][_0x2b00cc(0x148)](_0x3d9d89(_0x2eb8a9[_0x2b00cc(0x107)],_0x2b00cc(0x125)));const _0x3093d5=_0x2b00cc(0xff)==typeof _0x687af7[_0x2b00cc(0x114)]?_0x687af7[_0x2b00cc(0x114)]():_0x687af7[_0x2b00cc(0x114)];this[_0x2b00cc(0x118)](_0x286f7a,_0x3093d5||_0x2b00cc(0x132));});})[_0x2a3c62(0x131)](_0x1969c9=>{const _0x45305e=_0x2a3c62,_0x3ec3e8=_0x2eb8a9[_0x45305e(0x13b)][_0x45305e(0x11a)](_0x45305e(0x128));throw _0x2eb8a9['ui'][_0x45305e(0x110)][_0x45305e(0x148)](_0x3d9d89(_0x2eb8a9[_0x45305e(0x107)],_0x45305e(0x14a)),{'politeness':_0x45305e(0x117)}),_0x3ec3e8[_0x45305e(0x12e)](_0x3d9d89(_0x2eb8a9[_0x45305e(0x107)],_0x45305e(0x111))),_0x1969c9;})[_0x2a3c62(0x144)](()=>{const _0x5c13e4=_0x2a3c62;this[_0x5c13e4(0x133)]=!0x1,this[_0x5c13e4(0x134)]();});}[_0x5e0d07(0x118)](_0x96553c,_0x58d183){const _0xfcb197=_0x5e0d07,_0x22c214=document[_0xfcb197(0x120)]('a');_0x22c214[_0xfcb197(0x136)]=window[_0xfcb197(0x123)][_0xfcb197(0x129)](_0x96553c),_0x22c214[_0xfcb197(0x13c)]=_0x58d183,_0x22c214[_0xfcb197(0x121)](),_0x22c214[_0xfcb197(0x13a)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x171f(){const _0x1b6632=['47233YeDKMq','isVisible','execute','Exporting\x20Word\x20document','editor','ExportWordUI','view','21QVHjpP','isOn','listenTo','iconView','set','130jHPMkO','14873188shrjYm','children','exportWord','pluginName','291tStIFA','10kFGYaL','get','isEnabled','commands','Export\x20to\x20Word','init','locale','isBusy','212508PQkslK','config','bind','componentFactory','1294782bhqMpE','add','4231672nkOcWI','label','1221644kNCEja','menuBar:exportWord','editing','focus','_createButton','15004XFwTjN'];_0x171f=function(){return _0x1b6632;};return _0x171f();}const _0x2c9b41=_0x493d;(function(_0x1b99e1,_0x200cd6){const _0x18dba7=_0x493d,_0x3092f0=_0x1b99e1();while(!![]){try{const _0xa84c67=-parseInt(_0x18dba7(0xaa))/0x1+-parseInt(_0x18dba7(0xa9))/0x2*(-parseInt(_0x18dba7(0x93))/0x3)+-parseInt(_0x18dba7(0xa4))/0x4*(-parseInt(_0x18dba7(0x94))/0x5)+-parseInt(_0x18dba7(0xa0))/0x6*(-parseInt(_0x18dba7(0x89))/0x7)+-parseInt(_0x18dba7(0xa2))/0x8+parseInt(_0x18dba7(0x9c))/0x9*(parseInt(_0x18dba7(0x8e))/0xa)+-parseInt(_0x18dba7(0x8f))/0xb;if(_0xa84c67===_0x200cd6)break;else _0x3092f0['push'](_0x3092f0['shift']());}catch(_0x2ba3cb){_0x3092f0['push'](_0x3092f0['shift']());}}}(_0x171f,0x59013));import{Plugin as _0x549363}from'ckeditor5/src/core.js';function _0x493d(_0x54acbb,_0x50020e){const _0x171fa4=_0x171f();return _0x493d=function(_0x493d21,_0x4fdd9c){_0x493d21=_0x493d21-0x83;let _0x719b5b=_0x171fa4[_0x493d21];return _0x719b5b;},_0x493d(_0x54acbb,_0x50020e);}import{ButtonView as _0x325246,MenuBarMenuListItemButtonView as _0x44cbaf,SpinnerView as _0x3e50d3}from'ckeditor5/src/ui.js';import _0x211d2f from'../theme/icons/exportword.svg';import{getTranslation as _0x5d870c}from'./utils/common-translations.js';export default class i extends _0x549363{static get[_0x2c9b41(0x92)](){const _0x1f3154=_0x2c9b41;return _0x1f3154(0x87);}[_0x2c9b41(0x99)](){const _0x1e3ba3=_0x2c9b41,_0x292786=this[_0x1e3ba3(0x86)];_0x292786['ui'][_0x1e3ba3(0x9f)][_0x1e3ba3(0xa1)](_0x1e3ba3(0x91),()=>{const _0x521588=_0x1e3ba3,_0x4b28cf=_0x292786[_0x521588(0x97)][_0x521588(0x95)](_0x521588(0x91)),_0x44b326=this[_0x521588(0xa8)](_0x325246);return _0x44b326[_0x521588(0x8d)]({'tooltip':!0x0}),_0x44b326[_0x521588(0x9e)](_0x521588(0x8a))['to'](_0x4b28cf,_0x521588(0x9b)),_0x44b326;}),_0x292786['ui'][_0x1e3ba3(0x9f)][_0x1e3ba3(0xa1)](_0x1e3ba3(0xa5),()=>this[_0x1e3ba3(0xa8)](_0x44cbaf));}[_0x2c9b41(0xa8)](_0x116cb8){const _0x5f1794=_0x2c9b41,_0x12ca34=this[_0x5f1794(0x86)],_0x719fed=_0x12ca34[_0x5f1794(0x9d)][_0x5f1794(0x95)](_0x5f1794(0x91))||{},_0x33a742=_0x12ca34[_0x5f1794(0x97)][_0x5f1794(0x95)](_0x5f1794(0x91)),_0x4e1aa4=new _0x116cb8(_0x12ca34[_0x5f1794(0x9a)]),_0x159977=new _0x3e50d3();return _0x4e1aa4[_0x5f1794(0x90)][_0x5f1794(0xa1)](_0x159977),_0x159977[_0x5f1794(0x9e)](_0x5f1794(0x83))['to'](_0x33a742,_0x5f1794(0x9b)),_0x4e1aa4[_0x5f1794(0x8c)][_0x5f1794(0x9e)](_0x5f1794(0x83))['to'](_0x33a742,_0x5f1794(0x9b),_0x39a533=>!_0x39a533),_0x4e1aa4[_0x5f1794(0x8d)]({'icon':_0x211d2f}),_0x4e1aa4[_0x5f1794(0x9e)](_0x5f1794(0x96))['to'](_0x33a742,_0x5f1794(0x96)),_0x4e1aa4[_0x5f1794(0x9e)](_0x5f1794(0xa3))['to'](_0x33a742,_0x5f1794(0x9b),_0x90563f=>_0x5d870c(_0x12ca34[_0x5f1794(0x9a)],_0x90563f?_0x5f1794(0x85):_0x5f1794(0x98))),this[_0x5f1794(0x8b)](_0x4e1aa4,_0x5f1794(0x84),()=>{const _0x2cac72=_0x5f1794;_0x12ca34[_0x2cac72(0x84)](_0x2cac72(0x91),_0x719fed),_0x12ca34[_0x2cac72(0xa6)][_0x2cac72(0x88)][_0x2cac72(0xa7)]();}),_0x4e1aa4;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x5dc172,_0x1af47e){var _0x536d27=_0x1796,_0x10e6ee=_0x5dc172();while(!![]){try{var _0x128cd3=-parseInt(_0x536d27(0xa2))/0x1+-parseInt(_0x536d27(0xa3))/0x2*(parseInt(_0x536d27(0xa6))/0x3)+parseInt(_0x536d27(0xa8))/0x4+parseInt(_0x536d27(0xa9))/0x5+-parseInt(_0x536d27(0xab))/0x6+-parseInt(_0x536d27(0xa4))/0x7*(-parseInt(_0x536d27(0xaa))/0x8)+parseInt(_0x536d27(0xa7))/0x9*(-parseInt(_0x536d27(0xa5))/0xa);if(_0x128cd3===_0x1af47e)break;else _0x10e6ee['push'](_0x10e6ee['shift']());}catch(_0x40a08a){_0x10e6ee['push'](_0x10e6ee['shift']());}}}(_0x1036,0x4d8e8));function _0x1036(){var _0x4616b8=['1410NllZXC','63NZNZhf','1986260wnmxrN','2271630rclnhK','48feQXQa','2296788CPSFie','327600LqlEqi','130WNmYTt','347074ncwMGJ','271090qDiZQR'];_0x1036=function(){return _0x4616b8;};return _0x1036();}function _0x1796(_0x59a33f,_0x4ac752){var _0x103679=_0x1036();return _0x1796=function(_0x1796bc,_0x1f28cd){_0x1796bc=_0x1796bc-0xa2;var _0x4cf701=_0x103679[_0x1796bc];return _0x4cf701;},_0x1796(_0x59a33f,_0x4ac752);}export{default as ExportWord}from'./exportword.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x41ee69,_0x49a812){const t=_0x41ee69['t'];switch(_0x49a812){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 _0x49a812;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x424915,_0x52ce82){const _0x46c3ab=_0x5a1d,_0x4448ea=_0x424915();while(!![]){try{const _0x239813=parseInt(_0x46c3ab(0xac))/0x1*(-parseInt(_0x46c3ab(0x6e))/0x2)+-parseInt(_0x46c3ab(0x86))/0x3+parseInt(_0x46c3ab(0x7c))/0x4*(parseInt(_0x46c3ab(0x75))/0x5)+parseInt(_0x46c3ab(0x7f))/0x6*(parseInt(_0x46c3ab(0x96))/0x7)+parseInt(_0x46c3ab(0x9a))/0x8+parseInt(_0x46c3ab(0xa5))/0x9*(-parseInt(_0x46c3ab(0xb7))/0xa)+parseInt(_0x46c3ab(0x9e))/0xb;if(_0x239813===_0x52ce82)break;else _0x4448ea['push'](_0x4448ea['shift']());}catch(_0x2a8f59){_0x4448ea['push'](_0x4448ea['shift']());}}}(_0x2aec,0x4930a));export function getStyles(_0x39ca2c){const _0x1562ec=_0x5a1d;if(!_0x39ca2c)return new Promise(_0x4c5f5f=>_0x4c5f5f(''));const _0xb8b504=[];for(const _0x3dddef of _0x39ca2c)_0x1562ec(0xa0)!==_0x3dddef?_0xb8b504[_0x1562ec(0x73)](window[_0x1562ec(0x6f)](_0x3dddef)[_0x1562ec(0xa9)](_0x31397d=>_0x31397d[_0x1562ec(0x97)]())):_0xb8b504[_0x1562ec(0x73)](f());return Promise[_0x1562ec(0x7a)](_0xb8b504)[_0x1562ec(0xa9)](_0x40360d=>_0x40360d[_0x1562ec(0x90)]('\x20')[_0x1562ec(0xaf)]());}function f(){const _0x2c55da=_0x5a1d,_0x2f5b1d=[],_0xfcb16c=[];for(const _0x4b183f of Array[_0x2c55da(0x79)](document[_0x2c55da(0x84)])){if(_0x4b183f[_0x2c55da(0x95)][_0x2c55da(0x81)](_0x2c55da(0xb8))){for(const _0x1c5e72 of Array[_0x2c55da(0x79)](_0x4b183f[_0x2c55da(0xb5)]))-0x1!==_0x1c5e72[_0x2c55da(0xa2)][_0x2c55da(0xb3)](_0x2c55da(0x7e))?_0x2f5b1d[_0x2c55da(0x73)](_0x1c5e72[_0x2c55da(0xa2)]):-0x1!==_0x1c5e72[_0x2c55da(0xa2)][_0x2c55da(0xb3)](_0x2c55da(0x94))&&_0xfcb16c[_0x2c55da(0x73)](_0x1c5e72[_0x2c55da(0xa2)]);}}return _0x2f5b1d[_0x2c55da(0x91)]||console[_0x2c55da(0xa7)](_0x2c55da(0xae)),[..._0xfcb16c,..._0x2f5b1d][_0x2c55da(0x90)]('\x20')[_0x2c55da(0xaf)]();}export function getConverterOptions(_0x30f2bc,_0x5b8f93={}){const _0x42d413=_0x5a1d,_0x4cd798=_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x9f)](_0x42d413(0x70)),_0x15dc92=_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x9f)](_0x42d413(0x72)),_0x56d40b=_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x9f)](_0x42d413(0x77)),_0x58b74d=_0x5b8f93;if(_0x4cd798&&_0x15dc92){const _0x1e9d1a=getComments(_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x87)](_0x42d413(0x72))[_0x42d413(0x85)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x42d413(0x8d)](_0x1e9d1a)[_0x42d413(0x91)]&&(_0x58b74d[_0x42d413(0xab)]=_0x1e9d1a);}if(_0x4cd798&&_0x56d40b){const _0x58ed85=_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x87)](_0x42d413(0x77)),_0x5b5140=_0x30f2bc[_0x42d413(0x7d)][_0x42d413(0x87)](_0x42d413(0x70)),_0x1fc56b=getSuggestions(_0x58ed85[_0x42d413(0xb1)]({'toJSON':!0x0}),_0x5b5140[_0x42d413(0x93)]);Object[_0x42d413(0x8d)](_0x1fc56b)[_0x42d413(0x91)]&&(_0x58b74d[_0x42d413(0xad)]=_0x1fc56b);}return(_0x58b74d[_0x42d413(0xad)]||_0x58b74d[_0x42d413(0xab)])&&(_0x58b74d[_0x42d413(0xb6)]=new Intl[(_0x42d413(0xa3))]()[_0x42d413(0x89)]()[_0x42d413(0x92)]),_0x58b74d;}export function getComments(_0x56a078){const _0x4ba00f=_0x5a1d,_0x39080c={};if(!_0x56a078[_0x4ba00f(0x91)])return _0x39080c;for(const _0xfc6bc4 of _0x56a078)_0xfc6bc4[_0x4ba00f(0xab)][_0x4ba00f(0x83)](_0x418970=>{const _0x2d898f=_0x4ba00f;void 0x0===_0x39080c[_0xfc6bc4['id']]&&(_0x39080c[_0xfc6bc4['id']]=[]),_0x39080c[_0xfc6bc4['id']][_0x2d898f(0x73)]({'author':_0x418970[_0x2d898f(0xa8)][_0x2d898f(0xa4)],'content':_0x418970[_0x2d898f(0x80)],'created':_0x418970[_0x2d898f(0xa1)],'is_resolved':_0xfc6bc4[_0x2d898f(0x8c)]});});return _0x39080c;}function _0x5a1d(_0x28f870,_0x4ff0ca){const _0x2aec94=_0x2aec();return _0x5a1d=function(_0x5a1d6d,_0x13c061){_0x5a1d6d=_0x5a1d6d-0x6e;let _0x2c6642=_0x2aec94[_0x5a1d6d];return _0x2c6642;},_0x5a1d(_0x28f870,_0x4ff0ca);}export function getSuggestions(_0x55228c,_0x318546){const _0x5f168a=_0x5a1d,_0x8d8030={};if(!_0x55228c[_0x5f168a(0x91)]||!_0x318546[_0x5f168a(0x91)])return _0x8d8030;for(const {id:_0x1e8c65,createdAt:_0x3fc572,authorId:_0x3ec86e,attributes:_0x436304}of _0x55228c){const _0x49858f=_0x436304&&_0x436304[_0x5f168a(0xa6)],_0x920938=_0x49858f?_0x49858f[_0x5f168a(0x8b)]:_0x318546[_0x5f168a(0x87)](_0x3ec86e)[_0x5f168a(0xa4)];_0x8d8030[_0x1e8c65]={'author':_0x920938,'created':_0x3fc572};}return _0x8d8030;}export function getConverterOptionsV2(_0x2d951e,_0x436821={}){const _0x4feafa=_0x5a1d,_0x4d4195=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x9f)](_0x4feafa(0x70)),_0x378a66=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x9f)](_0x4feafa(0x72)),_0x330384=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x9f)](_0x4feafa(0x77)),_0x420130=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x9f)](_0x4feafa(0xaa)),_0x328df9=_0x2d951e[_0x4feafa(0x8a)][_0x4feafa(0x7b)],_0x2abd11=_0x436821,_0x523c57={};if(_0x2abd11[_0x4feafa(0xb0)]=_0x2abd11[_0x4feafa(0xb0)]||{},_0x2abd11[_0x4feafa(0xb0)][_0x4feafa(0x74)]=_0x2abd11[_0x4feafa(0xb0)][_0x4feafa(0x74)]||_0x328df9,_0x4d4195&&_0x378a66){const _0x2c17ec=getCommentsV2(_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x87)](_0x4feafa(0x72))[_0x4feafa(0x85)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x2c17ec[_0x4feafa(0x91)]&&(_0x523c57[_0x4feafa(0x8f)]=_0x2c17ec);}if(_0x4d4195&&_0x330384){const _0x1e19f2=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x87)](_0x4feafa(0x77)),_0x29158c=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x87)](_0x4feafa(0x70)),_0x1b9969=getSuggestionsV2(_0x1e19f2[_0x4feafa(0xb1)]({'toJSON':!0x0}),_0x29158c[_0x4feafa(0x93)]);_0x1b9969[_0x4feafa(0x91)]&&(_0x523c57[_0x4feafa(0xad)]=_0x1b9969);}if(_0x420130){const _0x3c5796=_0x2d951e[_0x4feafa(0x7d)][_0x4feafa(0x87)](_0x4feafa(0xb4)),_0x55f2cd=_0x3c5796[_0x4feafa(0x8e)],{prefix:_0x34cb1a,suffix:_0x2f2d3d}=_0x2d951e[_0x4feafa(0x9b)][_0x4feafa(0x87)](_0x4feafa(0x76));if(_0x2abd11[_0x4feafa(0x98)]={'prefix':_0x34cb1a,'suffix':_0x2f2d3d},_0x4feafa(0x71)!==_0x55f2cd){_0x2abd11[_0x4feafa(0x98)][_0x4feafa(0x78)]={};const _0x162c46=_0x4feafa(0x9d)===_0x55f2cd?_0x3c5796[_0x4feafa(0x9c)]():_0x3c5796[_0x4feafa(0x99)](_0x55f2cd,!0x0);for(const _0x2ef68b of Object[_0x4feafa(0xb2)](_0x162c46)){const [_0x4adbfe,_0x4a1f9f]=_0x2ef68b;_0x2abd11[_0x4feafa(0x98)][_0x4feafa(0x78)][_0x4adbfe]=null!==_0x4a1f9f?_0x4a1f9f:_0x3c5796[_0x4feafa(0x88)](_0x4adbfe);}}}return(_0x523c57[_0x4feafa(0x8f)]||_0x523c57[_0x4feafa(0xad)])&&(_0x2abd11[_0x4feafa(0xb6)]=new Intl[(_0x4feafa(0xa3))]()[_0x4feafa(0x89)]()[_0x4feafa(0x92)],_0x2abd11[_0x4feafa(0x82)]=_0x523c57),_0x2abd11;}export function getCommentsV2(_0x4c48dd){const _0x557e0c=_0x5a1d,_0x40b46e=[];if(!_0x4c48dd[_0x557e0c(0x91)])return _0x40b46e;for(const _0x1710cd of _0x4c48dd){const _0x1e87ab=_0x1710cd[_0x557e0c(0xab)][_0x557e0c(0x83)](_0x32a2e4=>({'author':_0x32a2e4[_0x557e0c(0xa8)][_0x557e0c(0xa4)],'content':_0x32a2e4[_0x557e0c(0x80)],'created_at':_0x32a2e4[_0x557e0c(0xa1)]}));_0x40b46e[_0x557e0c(0x73)]({'thread_id':_0x1710cd['id'],'is_resolved':_0x1710cd[_0x557e0c(0x8c)],'comments':_0x1e87ab});}return _0x40b46e;}function _0x2aec(){const _0x33a4d5=['mergeFields','TrackChanges','data','from','all','contentLanguage','51236JPEnPX','plugins','.ck-content','12VtMdkh','content','hasAttribute','collaboration_features','map','styleSheets','getCommentThreads','750312xPIets','get','getLabel','resolvedOptions','locale','authorName','isResolved','keys','previewMode','comment_threads','join','length','timeZone','users',':root','ownerNode','751436udTmbB','text','merge_fields','getDataSetValues','401600Ojlarw','config','getDefaultValues','$defaultValues','5896968yaMhKc','has','EDITOR_STYLES','createdAt','cssText','DateTimeFormat','name','18027AwtABx','@external','warn','author','then','MergeFields','comments','4392dzUvcX','suggestions','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.','trim','document','getSuggestions','entries','indexOf','MergeFieldsEditing','cssRules','timezone','170puzncq','data-cke','128EAkZDs','fetch','Users','$labels','CommentsRepository','push','language','25Socmzv'];_0x2aec=function(){return _0x33a4d5;};return _0x2aec();}export function getSuggestionsV2(_0x3dee5d,_0x4cd2aa){const _0x30e37d=_0x5a1d;return _0x3dee5d[_0x30e37d(0x91)]&&_0x4cd2aa[_0x30e37d(0x91)]?_0x3dee5d[_0x30e37d(0x83)](({id:_0xe0f804,createdAt:_0x45fe9d,authorId:_0x17ca7e,attributes:_0x155c74})=>{const _0x3535ec=_0x30e37d,_0x3514f4=_0x155c74&&_0x155c74[_0x3535ec(0xa6)];return{'id':_0xe0f804,'author':_0x3514f4?_0x3514f4[_0x3535ec(0x8b)]:_0x4cd2aa[_0x3535ec(0x87)](_0x17ca7e)[_0x3535ec(0xa4)],'created_at':_0x45fe9d};}):[];}
|