@ckeditor/ckeditor5-export-word 44.1.0-alpha.1 → 44.1.0-alpha.3
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/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.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/uz.js +1 -1
- package/dist/translations/uz.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "44.1.0-alpha.
|
|
3
|
+
"version": "44.1.0-alpha.3",
|
|
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": "44.1.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.
|
|
36
|
-
"ckeditor5": "44.1.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "44.1.0-alpha.3",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.3",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.3",
|
|
36
|
+
"ckeditor5": "44.1.0-alpha.3"
|
|
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 _0x3bbc(){const _0x14321a=['ExportWord','2719341KVjbyZ','pluginName','CloudServices','registerTokenUrl','then','add','15VSFuEZ','editor','50lODZQt','57331jlsMfA','token','config','plugins','exportWord','commands','9269640UjDqTQ','requires','614756lfjHAf','get','isPremiumPlugin','init','50zHEHPF','tokenUrl','9990036HvjcdN','isOfficialPlugin','2383584qVfPdr','5301864GyZyTg','_token'];_0x3bbc=function(){return _0x14321a;};return _0x3bbc();}const _0x216edd=_0x12f1;(function(_0x22727b,_0x1c584f){const _0x168d84=_0x12f1,_0x2aa98e=_0x22727b();while(!![]){try{const _0x3c23b1=parseInt(_0x168d84(0x112))/0x1*(-parseInt(_0x168d84(0x11e))/0x2)+parseInt(_0x168d84(0x122))/0x3+parseInt(_0x168d84(0x11a))/0x4*(parseInt(_0x168d84(0x12c))/0x5)+-parseInt(_0x168d84(0x123))/0x6+parseInt(_0x168d84(0x120))/0x7+-parseInt(_0x168d84(0x118))/0x8+-parseInt(_0x168d84(0x126))/0x9*(-parseInt(_0x168d84(0x111))/0xa);if(_0x3c23b1===_0x1c584f)break;else _0x2aa98e['push'](_0x2aa98e['shift']());}catch(_0x23bfd3){_0x2aa98e['push'](_0x2aa98e['shift']());}}}(_0x3bbc,0xaf428));import{Plugin as _0x2d7ef0}from'ckeditor5/src/core.js';import{Notification as _0x341f50}from'ckeditor5/src/ui.js';import _0x1386db from'./exportwordcommand.js';import _0x3dfc5b from'./exportwordui.js';function _0x12f1(_0x3007c1,_0xe8abd5){const _0x3bbc4b=_0x3bbc();return _0x12f1=function(_0x12f151,_0x1d6b32){_0x12f151=_0x12f151-0x110;let _0x568ebe=_0x3bbc4b[_0x12f151];return _0x568ebe;},_0x12f1(_0x3007c1,_0xe8abd5);}export default class s extends _0x2d7ef0{static get[_0x216edd(0x127)](){const _0x19a687=_0x216edd;return _0x19a687(0x125);}static get[_0x216edd(0x121)](){return!0x0;}static get[_0x216edd(0x11c)](){return!0x0;}static get[_0x216edd(0x119)](){const _0x48f0a4=_0x216edd;return[_0x48f0a4(0x128),_0x341f50,_0x3dfc5b];}[_0x216edd(0x11d)](){const _0x3aa7b5=_0x216edd,_0xf2f8ea=this[_0x3aa7b5(0x110)],_0xe4eacb=_0xf2f8ea[_0x3aa7b5(0x114)][_0x3aa7b5(0x11b)](_0x3aa7b5(0x116))||{};_0xf2f8ea[_0x3aa7b5(0x117)][_0x3aa7b5(0x12b)](_0x3aa7b5(0x116),new _0x1386db(_0xf2f8ea));const _0x5b0ed5=_0xf2f8ea[_0x3aa7b5(0x115)][_0x3aa7b5(0x11b)](_0x3aa7b5(0x128));!0x1===_0xe4eacb[_0x3aa7b5(0x11f)]?this[_0x3aa7b5(0x124)]=null:_0xe4eacb[_0x3aa7b5(0x11f)]?_0x5b0ed5[_0x3aa7b5(0x129)](_0xe4eacb[_0x3aa7b5(0x11f)])[_0x3aa7b5(0x12a)](_0x28995b=>{const _0x1588c9=_0x3aa7b5;this[_0x1588c9(0x124)]=_0x28995b;}):this[_0x3aa7b5(0x124)]=_0x5b0ed5[_0x3aa7b5(0x113)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2bb531=_0x394f;function _0x394f(_0x4a10e3,_0x570b8a){const _0x2b098f=_0x2b09();return _0x394f=function(_0x394f47,_0x4ab4a7){_0x394f47=_0x394f47-0x111;let _0x478ba4=_0x2b098f[_0x394f47];return _0x478ba4;},_0x394f(_0x4a10e3,_0x570b8a);}(function(_0x1b3482,_0x330ec){const _0x10e6de=_0x394f,_0x5bf8a1=_0x1b3482();while(!![]){try{const _0x51137c=parseInt(_0x10e6de(0x14e))/0x1*(parseInt(_0x10e6de(0x161))/0x2)+-parseInt(_0x10e6de(0x128))/0x3+-parseInt(_0x10e6de(0x120))/0x4*(parseInt(_0x10e6de(0x125))/0x5)+parseInt(_0x10e6de(0x157))/0x6+parseInt(_0x10e6de(0x142))/0x7*(parseInt(_0x10e6de(0x12d))/0x8)+parseInt(_0x10e6de(0x145))/0x9+-parseInt(_0x10e6de(0x14d))/0xa;if(_0x51137c===_0x330ec)break;else _0x5bf8a1['push'](_0x5bf8a1['shift']());}catch(_0x1a8af9){_0x5bf8a1['push'](_0x5bf8a1['shift']());}}}(_0x2b09,0x4ce06));import{Command as _0x2e51b7}from'ckeditor5/src/core.js';import{logWarning as _0x2ad159}from'ckeditor5/src/utils.js';import{getStyles as _0x4ccd5e,getConverterOptions as _0x194018,getConverterOptionsV2 as _0x42ee7c}from'./utils.js';function _0x2b09(){const _0x1624e3=['finally','blob','2814804IVEaYZ','affectsData','options','https://docx-converter.cke-cs.com/v2/convert/html-docx','locale','converterUrl','value','then','945270AQcTYp','1jdJojl','assertive','createElement','click','application/docx','token','export-word-v1-api-is-deprecated','isBusy','set','3077820RaIJJb','execute','Word\x20document\x20export\x20failed','application/json','suggestions','refresh','get','margin_left','function','POST','76904xhjHHv','ariaLiveAnnouncer','margin_top','<div\x20class=\x22ck-content\x22\x20dir=\x22','version','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','</div>','auto_pagination','footer','ExportWord','header','pending','comments','document.docx','remove','contentLanguageDirection','364vixgog','URL','createObjectURL','href','_downloadFile','26555JueNfi','download','status','909366zpSxFK','Word\x20document\x20export\x20successful','stringify','converterOptions','margin_bottom','2653264crEgAT','plugins','stylesheets','data','showWarning','announce','https://docx-converter.cke-cs.com/v1/convert','isEnabled','editor','orientation','Word\x20document\x20export\x20started','_token','dataCallback','fetch','catch','margin_right','format','Notification','fileName','EDITOR_STYLES','config','7SiqWSQ'];_0x2b09=function(){return _0x1624e3;};return _0x2b09();}import{getTranslation as _0x5ef5e2}from'./utils/common-translations.js';const h=[_0x2bb531(0x136),_0x2bb531(0x112),_0x2bb531(0x13c),_0x2bb531(0x12c),_0x2bb531(0x15e),_0x2bb531(0x13d),_0x2bb531(0x11a),_0x2bb531(0x118),_0x2bb531(0x11c),_0x2bb531(0x15b)];export default class e extends _0x2e51b7{constructor(_0x5c2f0){const _0x910f48=_0x2bb531;super(_0x5c2f0),this[_0x910f48(0x156)](_0x910f48(0x155),!0x1),this[_0x910f48(0x146)]=!0x1;}[_0x2bb531(0x15c)](){const _0x218123=_0x2bb531;this[_0x218123(0x134)]=!this[_0x218123(0x155)],this[_0x218123(0x14b)]=this[_0x218123(0x155)]?_0x218123(0x11b):void 0x0;}[_0x2bb531(0x158)](_0x4d1679={}){const _0xb84d02=_0x2bb531,_0x476d6d=this[_0xb84d02(0x135)],_0x5c6935=_0x4d1679[_0xb84d02(0x114)]||0x2,_0x4ec1f7=0x1===_0x5c6935,_0x24cd58=_0x4d1679[_0xb84d02(0x14a)]||(_0x4ec1f7?_0xb84d02(0x133):_0xb84d02(0x148)),_0x87471=_0x4d1679[_0xb84d02(0x12b)]||{},_0xc3f418=_0x476d6d[_0xb84d02(0x12e)][_0xb84d02(0x15d)](_0xb84d02(0x119)),_0x4d3ce8=_0x4d1679[_0xb84d02(0x153)]||_0xc3f418[_0xb84d02(0x138)],_0x22f440=!0x0===_0x87471[_0xb84d02(0x117)],_0xdb6b34=_0x4d1679[_0xb84d02(0x139)]||(_0x5ca1c1=>_0x5ca1c1[_0xb84d02(0x130)][_0xb84d02(0x15d)]({'pagination':_0x22f440}));return 0x2===_0x5c6935&&function(_0x3592a9){for(const _0x44230c of h)if(void 0x0!==_0x3592a9[_0x44230c])return!0x0;return!0x1;}(_0x87471)&&_0x2ad159(_0xb84d02(0x154)),this[_0xb84d02(0x155)]=!0x0,this[_0xb84d02(0x15c)](),_0x4ccd5e(_0x4d1679[_0xb84d02(0x12f)]||[_0xb84d02(0x140)])[_0xb84d02(0x14c)](async _0x4bfeec=>{const _0x3707bb=_0xb84d02;_0x476d6d['ui'][_0x3707bb(0x111)][_0x3707bb(0x132)](_0x5ef5e2(_0x476d6d[_0x3707bb(0x149)],_0x3707bb(0x137)));const _0x593ad6=await _0xdb6b34(_0x476d6d),_0x557148={'html':_0x3707bb(0x113)+_0x476d6d[_0x3707bb(0x149)][_0x3707bb(0x11f)]+'\x22>'+_0x593ad6+_0x3707bb(0x116),'css':_0x4bfeec,[_0x4ec1f7?_0x3707bb(0x147):_0x3707bb(0x141)]:{..._0x87471,..._0x4ec1f7?_0x194018(_0x476d6d,_0x87471):_0x42ee7c(_0x476d6d,_0x87471)}},_0x27d301={'method':_0x3707bb(0x160),'headers':{'Content-Type':_0x3707bb(0x15a),'Accept':_0x3707bb(0x152),..._0x4d3ce8?{'Authorization':_0x4d3ce8[_0x3707bb(0x14b)]}:null},'body':JSON[_0x3707bb(0x12a)](_0x557148)};return window[_0x3707bb(0x13a)](_0x24cd58,_0x27d301)[_0x3707bb(0x14c)](_0x22777c=>{const _0x5ee908=_0x3707bb;if(0xc8!==_0x22777c[_0x5ee908(0x127)])throw _0x22777c;return _0x22777c[_0x5ee908(0x144)]();})[_0x3707bb(0x14c)](_0x26e793=>{const _0x5d5a32=_0x3707bb;_0x476d6d['ui'][_0x5d5a32(0x111)][_0x5d5a32(0x132)](_0x5ef5e2(_0x476d6d[_0x5d5a32(0x149)],_0x5d5a32(0x129)));const _0x5b0294=_0x5d5a32(0x15f)==typeof _0x4d1679[_0x5d5a32(0x13f)]?_0x4d1679[_0x5d5a32(0x13f)]():_0x4d1679[_0x5d5a32(0x13f)];this[_0x5d5a32(0x124)](_0x26e793,_0x5b0294||_0x5d5a32(0x11d));});})[_0xb84d02(0x13b)](_0x137ccb=>{const _0x220ba7=_0xb84d02,_0x44b786=_0x476d6d[_0x220ba7(0x12e)][_0x220ba7(0x15d)](_0x220ba7(0x13e));throw _0x476d6d['ui'][_0x220ba7(0x111)][_0x220ba7(0x132)](_0x5ef5e2(_0x476d6d[_0x220ba7(0x149)],_0x220ba7(0x159)),{'politeness':_0x220ba7(0x14f)}),_0x44b786[_0x220ba7(0x131)](_0x5ef5e2(_0x476d6d[_0x220ba7(0x149)],_0x220ba7(0x115))),_0x137ccb;})[_0xb84d02(0x143)](()=>{const _0x15a8cf=_0xb84d02;this[_0x15a8cf(0x155)]=!0x1,this[_0x15a8cf(0x15c)]();});}[_0x2bb531(0x124)](_0x15b074,_0x473359){const _0x2889f6=_0x2bb531,_0x59180e=document[_0x2889f6(0x150)]('a');_0x59180e[_0x2889f6(0x123)]=window[_0x2889f6(0x121)][_0x2889f6(0x122)](_0x15b074),_0x59180e[_0x2889f6(0x126)]=_0x473359,_0x59180e[_0x2889f6(0x151)](),_0x59180e[_0x2889f6(0x11e)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x7d37(){const _0x3e5453=['249585IzGvMx','_createButton','201Bikvhd','ExportWordUI','isPremiumPlugin','listenTo','exportWord','editing','isOfficialPlugin','locale','children','bind','1441741klWmZT','154945DweKOV','isVisible','isBusy','execute','label','951430zfUrQz','isEnabled','focus','componentFactory','9BaLzSx','config','get','init','3070miDrRE','Exporting\x20Word\x20document','Export\x20to\x20Word','pluginName','editor','menuBar:exportWord','6JIiaxH','view','isOn','commands','1915972LgXfyr','add','iconView','set','2026360aumknS'];_0x7d37=function(){return _0x3e5453;};return _0x7d37();}const _0x2647db=_0x29d1;(function(_0x3be08f,_0x163b24){const _0x25df4d=_0x29d1,_0x576014=_0x3be08f();while(!![]){try{const _0x3ddb66=parseInt(_0x25df4d(0x192))/0x1+-parseInt(_0x25df4d(0x1ac))/0x2*(parseInt(_0x25df4d(0x194))/0x3)+parseInt(_0x25df4d(0x18d))/0x4+parseInt(_0x25df4d(0x19f))/0x5+-parseInt(_0x25df4d(0x1b2))/0x6*(parseInt(_0x25df4d(0x19e))/0x7)+-parseInt(_0x25df4d(0x191))/0x8+-parseInt(_0x25df4d(0x1a8))/0x9*(-parseInt(_0x25df4d(0x1a4))/0xa);if(_0x3ddb66===_0x163b24)break;else _0x576014['push'](_0x576014['shift']());}catch(_0x2ccf51){_0x576014['push'](_0x576014['shift']());}}}(_0x7d37,0x476ff));import{Plugin as _0x1d2a08}from'ckeditor5/src/core.js';import{ButtonView as _0x4f65cc,MenuBarMenuListItemButtonView as _0x42572e,SpinnerView as _0x5207d6}from'ckeditor5/src/ui.js';import _0x42e635 from'../theme/icons/exportword.svg';import{getTranslation as _0x1873f6}from'./utils/common-translations.js';function _0x29d1(_0x324f0f,_0x1b9fcb){const _0x7d3774=_0x7d37();return _0x29d1=function(_0x29d10b,_0x5d7caf){_0x29d10b=_0x29d10b-0x18d;let _0x364fc4=_0x7d3774[_0x29d10b];return _0x364fc4;},_0x29d1(_0x324f0f,_0x1b9fcb);}export default class o extends _0x1d2a08{static get[_0x2647db(0x1af)](){const _0x3e830c=_0x2647db;return _0x3e830c(0x195);}static get[_0x2647db(0x19a)](){return!0x0;}static get[_0x2647db(0x196)](){return!0x0;}[_0x2647db(0x1ab)](){const _0x4600d4=_0x2647db,_0x99b5b1=this[_0x4600d4(0x1b0)];_0x99b5b1['ui'][_0x4600d4(0x1a7)][_0x4600d4(0x18e)](_0x4600d4(0x198),()=>{const _0x44ea31=_0x4600d4,_0x123601=_0x99b5b1[_0x44ea31(0x1b5)][_0x44ea31(0x1aa)](_0x44ea31(0x198)),_0x222e7d=this[_0x44ea31(0x193)](_0x4f65cc);return _0x222e7d[_0x44ea31(0x190)]({'tooltip':!0x0}),_0x222e7d[_0x44ea31(0x19d)](_0x44ea31(0x1b4))['to'](_0x123601,_0x44ea31(0x1a1)),_0x222e7d;}),_0x99b5b1['ui'][_0x4600d4(0x1a7)][_0x4600d4(0x18e)](_0x4600d4(0x1b1),()=>this[_0x4600d4(0x193)](_0x42572e));}[_0x2647db(0x193)](_0x58480d){const _0x2420fd=_0x2647db,_0x17f020=this[_0x2420fd(0x1b0)],_0x356c19=_0x17f020[_0x2420fd(0x1a9)][_0x2420fd(0x1aa)](_0x2420fd(0x198))||{},_0x57e544=_0x17f020[_0x2420fd(0x1b5)][_0x2420fd(0x1aa)](_0x2420fd(0x198)),_0x16ebb4=new _0x58480d(_0x17f020[_0x2420fd(0x19b)]),_0x503736=new _0x5207d6();return _0x16ebb4[_0x2420fd(0x19c)][_0x2420fd(0x18e)](_0x503736),_0x503736[_0x2420fd(0x19d)](_0x2420fd(0x1a0))['to'](_0x57e544,_0x2420fd(0x1a1)),_0x16ebb4[_0x2420fd(0x18f)][_0x2420fd(0x19d)](_0x2420fd(0x1a0))['to'](_0x57e544,_0x2420fd(0x1a1),_0x9e0e98=>!_0x9e0e98),_0x16ebb4[_0x2420fd(0x190)]({'icon':_0x42e635}),_0x16ebb4[_0x2420fd(0x19d)](_0x2420fd(0x1a5))['to'](_0x57e544,_0x2420fd(0x1a5)),_0x16ebb4[_0x2420fd(0x19d)](_0x2420fd(0x1a3))['to'](_0x57e544,_0x2420fd(0x1a1),_0x44f35c=>_0x1873f6(_0x17f020[_0x2420fd(0x19b)],_0x44f35c?_0x2420fd(0x1ad):_0x2420fd(0x1ae))),this[_0x2420fd(0x197)](_0x16ebb4,_0x2420fd(0x1a2),()=>{const _0x3d9513=_0x2420fd;_0x17f020[_0x3d9513(0x1a2)](_0x3d9513(0x198),_0x356c19),_0x17f020[_0x3d9513(0x199)][_0x3d9513(0x1b3)][_0x3d9513(0x1a6)]();}),_0x16ebb4;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2dc43f,_0x2aaa82){var _0x423e20=_0xe2f3,_0x7c7047=_0x2dc43f();while(!![]){try{var _0x393348=parseInt(_0x423e20(0x120))/0x1+parseInt(_0x423e20(0x124))/0x2+parseInt(_0x423e20(0x122))/0x3+parseInt(_0x423e20(0x11b))/0x4*(-parseInt(_0x423e20(0x11c))/0x5)+-parseInt(_0x423e20(0x11f))/0x6*(-parseInt(_0x423e20(0x123))/0x7)+-parseInt(_0x423e20(0x121))/0x8*(-parseInt(_0x423e20(0x11a))/0x9)+-parseInt(_0x423e20(0x11e))/0xa*(parseInt(_0x423e20(0x11d))/0xb);if(_0x393348===_0x2aaa82)break;else _0x7c7047['push'](_0x7c7047['shift']());}catch(_0x140d61){_0x7c7047['push'](_0x7c7047['shift']());}}}(_0x3fd8,0x324ff));export{default as ExportWord}from'./exportword.js';function _0x3fd8(){var _0x52ac41=['12arExEl','314518govUls','1540744JNMyNG','1115367UJuSMp','784322MOrQXg','536572VlZHjQ','9DLwwKW','20348ZOAIUe','45eDMqau','88GEjAVI','1399270JLbhdM'];_0x3fd8=function(){return _0x52ac41;};return _0x3fd8();}function _0xe2f3(_0x38b1dc,_0x43c5a7){var _0x3fd8f9=_0x3fd8();return _0xe2f3=function(_0xe2f388,_0x5de533){_0xe2f388=_0xe2f388-0x11a;var _0x149e13=_0x3fd8f9[_0xe2f388];return _0x149e13;},_0xe2f3(_0x38b1dc,_0x43c5a7);}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x177429,_0x4912d6){const t=_0x177429['t'];switch(_0x4912d6){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 _0x4912d6;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x429994,_0x594e30){const _0x3d2625=_0xe801,_0x2b0cff=_0x429994();while(!![]){try{const _0xfa2e46=parseInt(_0x3d2625(0xa1))/0x1*(parseInt(_0x3d2625(0xb6))/0x2)+-parseInt(_0x3d2625(0xd2))/0x3*(parseInt(_0x3d2625(0xa0))/0x4)+-parseInt(_0x3d2625(0xbb))/0x5+parseInt(_0x3d2625(0xda))/0x6+-parseInt(_0x3d2625(0xaf))/0x7*(parseInt(_0x3d2625(0xb9))/0x8)+parseInt(_0x3d2625(0xdc))/0x9+parseInt(_0x3d2625(0xb4))/0xa;if(_0xfa2e46===_0x594e30)break;else _0x2b0cff['push'](_0x2b0cff['shift']());}catch(_0x234e2b){_0x2b0cff['push'](_0x2b0cff['shift']());}}}(_0x17f1,0x44ead));export function getStyles(_0x3c37e5){const _0x34525f=_0xe801;if(!_0x3c37e5)return new Promise(_0x4170bb=>_0x4170bb(''));const _0x359e82=[];for(const _0x464e01 of _0x3c37e5)_0x34525f(0xcb)!==_0x464e01?_0x359e82[_0x34525f(0xd6)](window[_0x34525f(0xbf)](_0x464e01)[_0x34525f(0xd9)](_0x317d52=>_0x317d52[_0x34525f(0xb0)]())):_0x359e82[_0x34525f(0xd6)](f());return Promise[_0x34525f(0xa7)](_0x359e82)[_0x34525f(0xd9)](_0x2d2d75=>_0x2d2d75[_0x34525f(0xb1)]('\x20')[_0x34525f(0xa9)]());}function f(){const _0x55b57e=_0xe801,_0x188782=[],_0x128173=[];for(const _0x128391 of Array[_0x55b57e(0xb3)](document[_0x55b57e(0xa2)])){if(_0x128391[_0x55b57e(0xc2)][_0x55b57e(0xd8)](_0x55b57e(0xad))){for(const _0xbccdf of Array[_0x55b57e(0xb3)](_0x128391[_0x55b57e(0x97)]))-0x1!==_0xbccdf[_0x55b57e(0xc0)][_0x55b57e(0xd1)](_0x55b57e(0x99))?_0x188782[_0x55b57e(0xd6)](_0xbccdf[_0x55b57e(0xc0)]):-0x1!==_0xbccdf[_0x55b57e(0xc0)][_0x55b57e(0xd1)](_0x55b57e(0xdb))&&_0x128173[_0x55b57e(0xd6)](_0xbccdf[_0x55b57e(0xc0)]);}}return _0x188782[_0x55b57e(0xb5)]||console[_0x55b57e(0xaa)](_0x55b57e(0xdf)),[..._0x128173,..._0x188782][_0x55b57e(0xb1)]('\x20')[_0x55b57e(0xa9)]();}export function getConverterOptions(_0x47e3be,_0x450aca={}){const _0x100656=_0xe801,_0x155973=_0x47e3be[_0x100656(0x9c)][_0x100656(0xc5)](_0x100656(0x9e)),_0x2f8fd8=_0x47e3be[_0x100656(0x9c)][_0x100656(0xc5)](_0x100656(0xc9)),_0x6d3422=_0x47e3be[_0x100656(0x9c)][_0x100656(0xc5)](_0x100656(0xa8)),_0x86b163=_0x450aca;if(_0x155973&&_0x2f8fd8){const _0x5e09e2=getComments(_0x47e3be[_0x100656(0x9c)][_0x100656(0xab)](_0x100656(0xc9))[_0x100656(0xc7)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x100656(0xa5)](_0x5e09e2)[_0x100656(0xb5)]&&(_0x86b163[_0x100656(0xe0)]=_0x5e09e2);}if(_0x155973&&_0x6d3422){const _0x4973d0=_0x47e3be[_0x100656(0x9c)][_0x100656(0xab)](_0x100656(0xa8)),_0x1a858c=_0x47e3be[_0x100656(0x9c)][_0x100656(0xab)](_0x100656(0x9e)),_0x3ae589=getSuggestions(_0x4973d0[_0x100656(0xba)]({'toJSON':!0x0}),_0x1a858c[_0x100656(0x98)]);Object[_0x100656(0xa5)](_0x3ae589)[_0x100656(0xb5)]&&(_0x86b163[_0x100656(0xc8)]=_0x3ae589);}return(_0x86b163[_0x100656(0xc8)]||_0x86b163[_0x100656(0xe0)])&&(_0x86b163[_0x100656(0x9a)]=new Intl[(_0x100656(0xa4))]()[_0x100656(0xc4)]()[_0x100656(0xdd)]),_0x86b163;}export function getComments(_0x3d4cbc){const _0x25b9f2=_0xe801,_0x3c5f46={};if(!_0x3d4cbc[_0x25b9f2(0xb5)])return _0x3c5f46;for(const _0x499868 of _0x3d4cbc)_0x499868[_0x25b9f2(0xe0)][_0x25b9f2(0xc3)](_0x46b89c=>{const _0x287881=_0x25b9f2;void 0x0===_0x3c5f46[_0x499868['id']]&&(_0x3c5f46[_0x499868['id']]=[]),_0x3c5f46[_0x499868['id']][_0x287881(0xd6)]({'author':_0x46b89c[_0x287881(0xca)][_0x287881(0xae)],'content':_0x46b89c[_0x287881(0xd4)],'created':_0x46b89c[_0x287881(0xce)],'is_resolved':_0x499868[_0x287881(0x9f)]});});return _0x3c5f46;}export function getSuggestions(_0x5e87c6,_0x584e38){const _0x375c4b=_0xe801,_0x9b5fd1={};if(!_0x5e87c6[_0x375c4b(0xb5)]||!_0x584e38[_0x375c4b(0xb5)])return _0x9b5fd1;for(const {id:_0x5d44d,createdAt:_0x5d27f5,authorId:_0x4e41fe,attributes:_0x536567}of _0x5e87c6){const _0x38a0fa=_0x536567&&_0x536567[_0x375c4b(0xd0)],_0x2d7636=_0x38a0fa?_0x38a0fa[_0x375c4b(0xb8)]:_0x584e38[_0x375c4b(0xab)](_0x4e41fe)[_0x375c4b(0xae)];_0x9b5fd1[_0x5d44d]={'author':_0x2d7636,'created':_0x5d27f5};}return _0x9b5fd1;}function _0x17f1(){const _0x585125=['data','hasAttribute','then','2443590qtIhQS',':root','2179548jNvWFy','timeZone','contentLanguage','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','cssRules','users','.ck-content','timezone','MergeFieldsEditing','plugins','comment_threads','Users','isResolved','436dJCdAS','10EEDqiJ','styleSheets','document','DateTimeFormat','keys','getLabel','all','TrackChanges','trim','warn','get','getDefaultValues','data-cke','name','1329587iLlOuS','text','join','locale','from','5713040cMYXdS','length','6650LuIFgb','merge_fields','authorName','8ShiRBV','getSuggestions','2353395bYvirZ','entries','mergeFields','$labels','fetch','cssText','MergeFields','ownerNode','map','resolvedOptions','has','previewMode','getCommentThreads','suggestions','CommentsRepository','author','EDITOR_STYLES','language','$defaultValues','createdAt','getDataSetValues','@external','indexOf','8562pZmNAr','config','content','collaboration_features','push'];_0x17f1=function(){return _0x585125;};return _0x17f1();}export function getConverterOptionsV2(_0x2bc890,_0x43d6e5={}){const _0x286525=_0xe801,_0x28d1ea=_0x2bc890[_0x286525(0x9c)][_0x286525(0xc5)](_0x286525(0x9e)),_0x241736=_0x2bc890[_0x286525(0x9c)][_0x286525(0xc5)](_0x286525(0xc9)),_0x4cb9c7=_0x2bc890[_0x286525(0x9c)][_0x286525(0xc5)](_0x286525(0xa8)),_0x4ff35a=_0x2bc890[_0x286525(0x9c)][_0x286525(0xc5)](_0x286525(0xc1)),_0x1521ac=_0x2bc890[_0x286525(0xb2)][_0x286525(0xde)],_0x484461=_0x43d6e5,_0x57dbbf={};if(_0x484461[_0x286525(0xa3)]=_0x484461[_0x286525(0xa3)]||{},_0x484461[_0x286525(0xa3)][_0x286525(0xcc)]=_0x484461[_0x286525(0xa3)][_0x286525(0xcc)]||_0x1521ac,_0x28d1ea&&_0x241736){const _0x2d4df6=getCommentsV2(_0x2bc890[_0x286525(0x9c)][_0x286525(0xab)](_0x286525(0xc9))[_0x286525(0xc7)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x2d4df6[_0x286525(0xb5)]&&(_0x57dbbf[_0x286525(0x9d)]=_0x2d4df6);}if(_0x28d1ea&&_0x4cb9c7){const _0x289c96=_0x2bc890[_0x286525(0x9c)][_0x286525(0xab)](_0x286525(0xa8)),_0x4dbd71=_0x2bc890[_0x286525(0x9c)][_0x286525(0xab)](_0x286525(0x9e)),_0x863c87=getSuggestionsV2(_0x289c96[_0x286525(0xba)]({'toJSON':!0x0}),_0x4dbd71[_0x286525(0x98)]);_0x863c87[_0x286525(0xb5)]&&(_0x57dbbf[_0x286525(0xc8)]=_0x863c87);}if(_0x4ff35a){const _0x38aeaa=_0x2bc890[_0x286525(0x9c)][_0x286525(0xab)](_0x286525(0x9b)),_0x5047d7=_0x38aeaa[_0x286525(0xc6)],{prefix:_0x2d7fbb,suffix:_0xbe6bc7}=_0x2bc890[_0x286525(0xd3)][_0x286525(0xab)](_0x286525(0xbd));if(_0x484461[_0x286525(0xb7)]={'prefix':_0x2d7fbb,'suffix':_0xbe6bc7},_0x286525(0xbe)!==_0x5047d7){_0x484461[_0x286525(0xb7)][_0x286525(0xd7)]={};const _0x468e96=_0x286525(0xcd)===_0x5047d7?_0x38aeaa[_0x286525(0xac)]():_0x38aeaa[_0x286525(0xcf)](_0x5047d7,!0x0);for(const _0x34f68f of Object[_0x286525(0xbc)](_0x468e96)){const [_0x5ccac8,_0x429689]=_0x34f68f;_0x484461[_0x286525(0xb7)][_0x286525(0xd7)][_0x5ccac8]=null!==_0x429689?_0x429689:_0x38aeaa[_0x286525(0xa6)](_0x5ccac8);}}}return(_0x57dbbf[_0x286525(0x9d)]||_0x57dbbf[_0x286525(0xc8)])&&(_0x484461[_0x286525(0x9a)]=new Intl[(_0x286525(0xa4))]()[_0x286525(0xc4)]()[_0x286525(0xdd)],_0x484461[_0x286525(0xd5)]=_0x57dbbf),_0x484461;}export function getCommentsV2(_0x4095b1){const _0x260bf2=_0xe801,_0x187ebf=[];if(!_0x4095b1[_0x260bf2(0xb5)])return _0x187ebf;for(const _0x46d7c6 of _0x4095b1){const _0x321547=_0x46d7c6[_0x260bf2(0xe0)][_0x260bf2(0xc3)](_0x151dc4=>({'author':_0x151dc4[_0x260bf2(0xca)][_0x260bf2(0xae)],'content':_0x151dc4[_0x260bf2(0xd4)],'created_at':_0x151dc4[_0x260bf2(0xce)]}));_0x187ebf[_0x260bf2(0xd6)]({'thread_id':_0x46d7c6['id'],'is_resolved':_0x46d7c6[_0x260bf2(0x9f)],'comments':_0x321547});}return _0x187ebf;}function _0xe801(_0x745ba1,_0x1da8d3){const _0x17f134=_0x17f1();return _0xe801=function(_0xe8016e,_0x201f8e){_0xe8016e=_0xe8016e-0x97;let _0x1f5496=_0x17f134[_0xe8016e];return _0x1f5496;},_0xe801(_0x745ba1,_0x1da8d3);}export function getSuggestionsV2(_0x2e91c9,_0x42a5cf){const _0x29e52a=_0xe801;return _0x2e91c9[_0x29e52a(0xb5)]&&_0x42a5cf[_0x29e52a(0xb5)]?_0x2e91c9[_0x29e52a(0xc3)](({id:_0x385eda,createdAt:_0x19ff6f,authorId:_0x2069d8,attributes:_0x488bef})=>{const _0x56b245=_0x29e52a,_0xd71b8e=_0x488bef&&_0x488bef[_0x56b245(0xd0)];return{'id':_0x385eda,'author':_0xd71b8e?_0xd71b8e[_0x56b245(0xb8)]:_0x42a5cf[_0x56b245(0xab)](_0x2069d8)[_0x56b245(0xae)],'created_at':_0x19ff6f};}):[];}
|