@ckeditor/ckeditor5-export-word 44.0.0-alpha.8 → 44.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- 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.0.0
|
|
3
|
+
"version": "44.0.0",
|
|
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.0.0
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "44.0.0
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "44.0.0
|
|
36
|
-
"ckeditor5": "44.0.0
|
|
33
|
+
"@ckeditor/ckeditor5-core": "44.0.0",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "44.0.0",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "44.0.0",
|
|
36
|
+
"ckeditor5": "44.0.0"
|
|
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
|
-
|
|
23
|
+
const _0x46f789=_0x959c;(function(_0x3a1edb,_0x546e65){const _0x5db014=_0x959c,_0x1b40f5=_0x3a1edb();while(!![]){try{const _0x3a04af=parseInt(_0x5db014(0x129))/0x1+parseInt(_0x5db014(0x131))/0x2*(parseInt(_0x5db014(0x132))/0x3)+-parseInt(_0x5db014(0x11c))/0x4+-parseInt(_0x5db014(0x12d))/0x5*(parseInt(_0x5db014(0x11e))/0x6)+parseInt(_0x5db014(0x11b))/0x7*(parseInt(_0x5db014(0x11f))/0x8)+parseInt(_0x5db014(0x127))/0x9*(parseInt(_0x5db014(0x133))/0xa)+-parseInt(_0x5db014(0x12a))/0xb;if(_0x3a04af===_0x546e65)break;else _0x1b40f5['push'](_0x1b40f5['shift']());}catch(_0x561d4c){_0x1b40f5['push'](_0x1b40f5['shift']());}}}(_0x288f,0xb121a));import{Plugin as _0xe4a450}from'ckeditor5/src/core.js';import{Notification as _0x105aa2}from'ckeditor5/src/ui.js';import _0x55087b from'./exportwordcommand.js';function _0x959c(_0x22ccf3,_0x48aad6){const _0x288f6e=_0x288f();return _0x959c=function(_0x959cd8,_0x275329){_0x959cd8=_0x959cd8-0x116;let _0x9b0f67=_0x288f6e[_0x959cd8];return _0x9b0f67;},_0x959c(_0x22ccf3,_0x48aad6);}import _0x4026cb from'./exportwordui.js';export default class s extends _0xe4a450{static get[_0x46f789(0x12e)](){const _0x43b626=_0x46f789;return _0x43b626(0x11d);}static get[_0x46f789(0x124)](){return!0x0;}static get[_0x46f789(0x120)](){return!0x0;}static get[_0x46f789(0x117)](){const _0x1422fd=_0x46f789;return[_0x1422fd(0x116),_0x105aa2,_0x4026cb];}[_0x46f789(0x119)](){const _0x3b2650=_0x46f789,_0x4d54fc=this[_0x3b2650(0x126)],_0x6534=_0x4d54fc[_0x3b2650(0x12b)][_0x3b2650(0x125)](_0x3b2650(0x12c))||{};_0x4d54fc[_0x3b2650(0x11a)][_0x3b2650(0x122)](_0x3b2650(0x12c),new _0x55087b(_0x4d54fc));const _0x17eb58=_0x4d54fc[_0x3b2650(0x130)][_0x3b2650(0x125)](_0x3b2650(0x116));!0x1===_0x6534[_0x3b2650(0x121)]?this[_0x3b2650(0x128)]=null:_0x6534[_0x3b2650(0x121)]?_0x17eb58[_0x3b2650(0x12f)](_0x6534[_0x3b2650(0x121)])[_0x3b2650(0x123)](_0x354b67=>{const _0x198075=_0x3b2650;this[_0x198075(0x128)]=_0x354b67;}):this[_0x3b2650(0x128)]=_0x17eb58[_0x3b2650(0x118)];}}function _0x288f(){const _0x5ed2ed=['CloudServices','requires','token','init','commands','1673GWRVLG','1609644SayLbn','ExportWord','1182UzXnCd','808RYEehC','isPremiumPlugin','tokenUrl','add','then','isOfficialPlugin','get','editor','6768kIpIyD','_token','1055200PhOgpI','10729224tJLSgA','config','exportWord','15745NuTBcg','pluginName','registerTokenUrl','plugins','766zAAkea','2295fhBvSf','17970DZGNTT'];_0x288f=function(){return _0x5ed2ed;};return _0x288f();}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2eea53=_0x4003;(function(_0x3c758b,_0x1f6497){const _0x2b6f77=_0x4003,_0x4a953b=_0x3c758b();while(!![]){try{const _0x26cfbd=parseInt(_0x2b6f77(0xa3))/0x1+parseInt(_0x2b6f77(0x99))/0x2+-parseInt(_0x2b6f77(0x80))/0x3+-parseInt(_0x2b6f77(0x8b))/0x4*(parseInt(_0x2b6f77(0xa9))/0x5)+parseInt(_0x2b6f77(0xb8))/0x6+-parseInt(_0x2b6f77(0xab))/0x7*(parseInt(_0x2b6f77(0x89))/0x8)+parseInt(_0x2b6f77(0xac))/0x9;if(_0x26cfbd===_0x1f6497)break;else _0x4a953b['push'](_0x4a953b['shift']());}catch(_0x115b59){_0x4a953b['push'](_0x4a953b['shift']());}}}(_0xd197,0x20261));function _0xd197(){const _0xea928a=['status','URL','editor','isEnabled','Word\x20document\x20export\x20failed','pending','application/docx','execute','Word\x20document\x20export\x20started','fileName','then','converterUrl','plugins','refresh','announce','POST','fetch','catch','function','config','700104HBRhVD','export-word-v1-api-is-deprecated','https://docx-converter.cke-cs.com/v2/convert/html-docx','converterOptions','click','format','_downloadFile','stringify','margin_left','8QMjFyI','EDITOR_STYLES','242428OPiwab','options','margin_right','footer','blob','createElement','suggestions','download','dataCallback','value','header','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','data','assertive','141808RJKzTG','margin_top','contentLanguageDirection','showWarning','affectsData','stylesheets','isBusy','get','version','comments','72844KJnVTG','href','_token','margin_bottom','orientation','Word\x20document\x20export\x20successful','5xLAftm','ExportWord','1600060PkNQQD','3815928gLFxvn','Notification','ariaLiveAnnouncer','remove','set','<div\x20class=\x22ck-content\x22\x20dir=\x22','application/json','locale','auto_pagination','createObjectURL','finally','</div>','518976pMNIqR','https://docx-converter.cke-cs.com/v1/convert','token','document.docx'];_0xd197=function(){return _0xea928a;};return _0xd197();}import{Command as _0xf96811}from'ckeditor5/src/core.js';import{logWarning as _0xd6da87}from'ckeditor5/src/utils.js';function _0x4003(_0x763afd,_0x5d3fb6){const _0xd1972c=_0xd197();return _0x4003=function(_0x400343,_0x6761d6){_0x400343=_0x400343-0x75;let _0x355dd2=_0xd1972c[_0x400343];return _0x355dd2;},_0x4003(_0x763afd,_0x5d3fb6);}import{getStyles as _0xca924d,getConverterOptions as _0x1922ea,getConverterOptionsV2 as _0x5e0551}from'./utils.js';import{getTranslation as _0x1d8638}from'./utils/common-translations.js';const h=[_0x2eea53(0xa7),_0x2eea53(0x9a),_0x2eea53(0x8d),_0x2eea53(0xa6),_0x2eea53(0x88),_0x2eea53(0x85),_0x2eea53(0x95),_0x2eea53(0x8e),_0x2eea53(0xa2),_0x2eea53(0x91)];export default class e extends _0xf96811{constructor(_0x550131){const _0x5d8220=_0x2eea53;super(_0x550131),this[_0x5d8220(0xb0)](_0x5d8220(0x9f),!0x1),this[_0x5d8220(0x9d)]=!0x1;}[_0x2eea53(0x79)](){const _0x10fd86=_0x2eea53;this[_0x10fd86(0xbf)]=!this[_0x10fd86(0x9f)],this[_0x10fd86(0x94)]=this[_0x10fd86(0x9f)]?_0x10fd86(0xc1):void 0x0;}[_0x2eea53(0xc3)](_0x482d91={}){const _0x5f4097=_0x2eea53,_0x1fce5b=this[_0x5f4097(0xbe)],_0x19c2c3=_0x482d91[_0x5f4097(0xa1)]||0x2,_0x3c9c8f=0x1===_0x19c2c3,_0x50552e=_0x482d91[_0x5f4097(0x77)]||(_0x3c9c8f?_0x5f4097(0xb9):_0x5f4097(0x82)),_0x21342d=_0x482d91[_0x5f4097(0x83)]||{},_0x39a009=_0x1fce5b[_0x5f4097(0x78)][_0x5f4097(0xa0)](_0x5f4097(0xaa)),_0x28821e=_0x482d91[_0x5f4097(0xba)]||_0x39a009[_0x5f4097(0xa5)],_0x19fb99=!0x0===_0x21342d[_0x5f4097(0xb4)],_0x138cc7=_0x482d91[_0x5f4097(0x93)]||(_0x1a4b4e=>_0x1a4b4e[_0x5f4097(0x97)][_0x5f4097(0xa0)]({'pagination':_0x19fb99}));return 0x2===_0x19c2c3&&function(_0x547b6e){for(const _0x425dca of h)if(void 0x0!==_0x547b6e[_0x425dca])return!0x0;return!0x1;}(_0x21342d)&&_0xd6da87(_0x5f4097(0x81)),this[_0x5f4097(0x9f)]=!0x0,this[_0x5f4097(0x79)](),_0xca924d(_0x482d91[_0x5f4097(0x9e)]||[_0x5f4097(0x8a)])[_0x5f4097(0x76)](async _0x18cb09=>{const _0x2a6e5f=_0x5f4097;_0x1fce5b['ui'][_0x2a6e5f(0xae)][_0x2a6e5f(0x7a)](_0x1d8638(_0x1fce5b[_0x2a6e5f(0xb3)],_0x2a6e5f(0xc4)));const _0x5f1c31=await _0x138cc7(_0x1fce5b),_0x28f573={'html':_0x2a6e5f(0xb1)+_0x1fce5b[_0x2a6e5f(0xb3)][_0x2a6e5f(0x9b)]+'\x22>'+_0x5f1c31+_0x2a6e5f(0xb7),'css':_0x18cb09,[_0x3c9c8f?_0x2a6e5f(0x8c):_0x2a6e5f(0x7f)]:{..._0x21342d,..._0x3c9c8f?_0x1922ea(_0x1fce5b,_0x21342d):_0x5e0551(_0x1fce5b,_0x21342d)}},_0x1c659d={'method':_0x2a6e5f(0x7b),'headers':{'Content-Type':_0x2a6e5f(0xb2),'Accept':_0x2a6e5f(0xc2),..._0x28821e?{'Authorization':_0x28821e[_0x2a6e5f(0x94)]}:null},'body':JSON[_0x2a6e5f(0x87)](_0x28f573)};return window[_0x2a6e5f(0x7c)](_0x50552e,_0x1c659d)[_0x2a6e5f(0x76)](_0x945cf7=>{const _0x7ef285=_0x2a6e5f;if(0xc8!==_0x945cf7[_0x7ef285(0xbc)])throw _0x945cf7;return _0x945cf7[_0x7ef285(0x8f)]();})[_0x2a6e5f(0x76)](_0x437c59=>{const _0x42ca25=_0x2a6e5f;_0x1fce5b['ui'][_0x42ca25(0xae)][_0x42ca25(0x7a)](_0x1d8638(_0x1fce5b[_0x42ca25(0xb3)],_0x42ca25(0xa8)));const _0x52a28d=_0x42ca25(0x7e)==typeof _0x482d91[_0x42ca25(0x75)]?_0x482d91[_0x42ca25(0x75)]():_0x482d91[_0x42ca25(0x75)];this[_0x42ca25(0x86)](_0x437c59,_0x52a28d||_0x42ca25(0xbb));});})[_0x5f4097(0x7d)](_0x776bfe=>{const _0x378144=_0x5f4097,_0x50dc27=_0x1fce5b[_0x378144(0x78)][_0x378144(0xa0)](_0x378144(0xad));throw _0x1fce5b['ui'][_0x378144(0xae)][_0x378144(0x7a)](_0x1d8638(_0x1fce5b[_0x378144(0xb3)],_0x378144(0xc0)),{'politeness':_0x378144(0x98)}),_0x50dc27[_0x378144(0x9c)](_0x1d8638(_0x1fce5b[_0x378144(0xb3)],_0x378144(0x96))),_0x776bfe;})[_0x5f4097(0xb6)](()=>{const _0x5f3cdf=_0x5f4097;this[_0x5f3cdf(0x9f)]=!0x1,this[_0x5f3cdf(0x79)]();});}[_0x2eea53(0x86)](_0x44542a,_0x2b37a4){const _0xd83ce3=_0x2eea53,_0x5e53d2=document[_0xd83ce3(0x90)]('a');_0x5e53d2[_0xd83ce3(0xa4)]=window[_0xd83ce3(0xbd)][_0xd83ce3(0xb5)](_0x44542a),_0x5e53d2[_0xd83ce3(0x92)]=_0x2b37a4,_0x5e53d2[_0xd83ce3(0x84)](),_0x5e53d2[_0xd83ce3(0xaf)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36df59=_0x5556;function _0x5556(_0x41b069,_0x25ed75){const _0x89c9a7=_0x89c9();return _0x5556=function(_0x555651,_0x103a2e){_0x555651=_0x555651-0xc7;let _0x5b7b66=_0x89c9a7[_0x555651];return _0x5b7b66;},_0x5556(_0x41b069,_0x25ed75);}(function(_0x43480b,_0xbb1ec9){const _0x2063e5=_0x5556,_0x198c15=_0x43480b();while(!![]){try{const _0x44fad4=parseInt(_0x2063e5(0xe6))/0x1*(parseInt(_0x2063e5(0xeb))/0x2)+parseInt(_0x2063e5(0xcd))/0x3*(-parseInt(_0x2063e5(0xe9))/0x4)+-parseInt(_0x2063e5(0xd5))/0x5+parseInt(_0x2063e5(0xdd))/0x6+parseInt(_0x2063e5(0xef))/0x7*(-parseInt(_0x2063e5(0xde))/0x8)+-parseInt(_0x2063e5(0xc9))/0x9+-parseInt(_0x2063e5(0xc8))/0xa*(-parseInt(_0x2063e5(0xd9))/0xb);if(_0x44fad4===_0xbb1ec9)break;else _0x198c15['push'](_0x198c15['shift']());}catch(_0x38a06e){_0x198c15['push'](_0x198c15['shift']());}}}(_0x89c9,0x1bc35));import{Plugin as _0x24c87b}from'ckeditor5/src/core.js';import{ButtonView as _0x307615,MenuBarMenuListItemButtonView as _0x4af5b4,SpinnerView as _0x25d88e}from'ckeditor5/src/ui.js';import _0x10b71c from'../theme/icons/exportword.svg';function _0x89c9(){const _0x8db7bd=['add','isBusy','isPremiumPlugin','213933pqrgfJ','view','bind','Export\x20to\x20Word','set','isOn','config','isOfficialPlugin','1030320gCjKai','Exporting\x20Word\x20document','label','get','22XcBxQJ','isVisible','exportWord','isEnabled','338154rJWwRM','2936aLKUks','componentFactory','editing','_createButton','focus','locale','iconView','editor','11mcAmLZ','menuBar:exportWord','execute','8UiGJeJ','init','7064PgpXjA','pluginName','listenTo','children','2247wVTTxH','commands','ExportWordUI','2883330DioEvH','825003ZPbFqJ'];_0x89c9=function(){return _0x8db7bd;};return _0x89c9();}import{getTranslation as _0x195927}from'./utils/common-translations.js';export default class o extends _0x24c87b{static get[_0x36df59(0xec)](){const _0x47c554=_0x36df59;return _0x47c554(0xc7);}static get[_0x36df59(0xd4)](){return!0x0;}static get[_0x36df59(0xcc)](){return!0x0;}[_0x36df59(0xea)](){const _0x23b168=_0x36df59,_0x55e8ff=this[_0x23b168(0xe5)];_0x55e8ff['ui'][_0x23b168(0xdf)][_0x23b168(0xca)](_0x23b168(0xdb),()=>{const _0x2437eb=_0x23b168,_0x2ba5cb=_0x55e8ff[_0x2437eb(0xf0)][_0x2437eb(0xd8)](_0x2437eb(0xdb)),_0x132987=this[_0x2437eb(0xe1)](_0x307615);return _0x132987[_0x2437eb(0xd1)]({'tooltip':!0x0}),_0x132987[_0x2437eb(0xcf)](_0x2437eb(0xd2))['to'](_0x2ba5cb,_0x2437eb(0xcb)),_0x132987;}),_0x55e8ff['ui'][_0x23b168(0xdf)][_0x23b168(0xca)](_0x23b168(0xe7),()=>this[_0x23b168(0xe1)](_0x4af5b4));}[_0x36df59(0xe1)](_0xb20c8b){const _0x566509=_0x36df59,_0x17f9b0=this[_0x566509(0xe5)],_0x2b7d60=_0x17f9b0[_0x566509(0xd3)][_0x566509(0xd8)](_0x566509(0xdb))||{},_0x12df8f=_0x17f9b0[_0x566509(0xf0)][_0x566509(0xd8)](_0x566509(0xdb)),_0xe5c6a9=new _0xb20c8b(_0x17f9b0[_0x566509(0xe3)]),_0x492886=new _0x25d88e();return _0xe5c6a9[_0x566509(0xee)][_0x566509(0xca)](_0x492886),_0x492886[_0x566509(0xcf)](_0x566509(0xda))['to'](_0x12df8f,_0x566509(0xcb)),_0xe5c6a9[_0x566509(0xe4)][_0x566509(0xcf)](_0x566509(0xda))['to'](_0x12df8f,_0x566509(0xcb),_0x441303=>!_0x441303),_0xe5c6a9[_0x566509(0xd1)]({'icon':_0x10b71c}),_0xe5c6a9[_0x566509(0xcf)](_0x566509(0xdc))['to'](_0x12df8f,_0x566509(0xdc)),_0xe5c6a9[_0x566509(0xcf)](_0x566509(0xd7))['to'](_0x12df8f,_0x566509(0xcb),_0x22160f=>_0x195927(_0x17f9b0[_0x566509(0xe3)],_0x22160f?_0x566509(0xd6):_0x566509(0xd0))),this[_0x566509(0xed)](_0xe5c6a9,_0x566509(0xe8),()=>{const _0xaef0bb=_0x566509;_0x17f9b0[_0xaef0bb(0xe8)](_0xaef0bb(0xdb),_0x2b7d60),_0x17f9b0[_0xaef0bb(0xe0)][_0xaef0bb(0xce)][_0xaef0bb(0xe2)]();}),_0xe5c6a9;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x5d57(){var _0x45b7fe=['472521Mquxze','1565772DaZCLo','42FUjOMy','4313472GnAluV','4mwAlVy','188862ckwltM','1126656oRlWvK','1312074OtvORY','2354995HCdGmk'];_0x5d57=function(){return _0x45b7fe;};return _0x5d57();}(function(_0x1ae00b,_0x5e7517){var _0x1379ce=_0x2fde,_0x3ddc38=_0x1ae00b();while(!![]){try{var _0x1721b9=parseInt(_0x1379ce(0x1ac))/0x1+-parseInt(_0x1379ce(0x1a9))/0x2+-parseInt(_0x1379ce(0x1a4))/0x3+-parseInt(_0x1379ce(0x1a7))/0x4*(-parseInt(_0x1379ce(0x1ab))/0x5)+-parseInt(_0x1379ce(0x1a8))/0x6*(-parseInt(_0x1379ce(0x1a5))/0x7)+parseInt(_0x1379ce(0x1a6))/0x8+-parseInt(_0x1379ce(0x1aa))/0x9;if(_0x1721b9===_0x5e7517)break;else _0x3ddc38['push'](_0x3ddc38['shift']());}catch(_0x28923e){_0x3ddc38['push'](_0x3ddc38['shift']());}}}(_0x5d57,0x6b8d0));export{default as ExportWord}from'./exportword.js';function _0x2fde(_0x15385c,_0x404ba9){var _0x5d57d5=_0x5d57();return _0x2fde=function(_0x2fde42,_0x546b27){_0x2fde42=_0x2fde42-0x1a4;var _0x559379=_0x5d57d5[_0x2fde42];return _0x559379;},_0x2fde(_0x15385c,_0x404ba9);}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x223f84,_0x2b4b2e){const t=_0x223f84['t'];switch(_0x2b4b2e){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 _0x2b4b2e;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3fc14a,_0x2cd919){const _0x311ab7=_0x43da,_0x15a727=_0x3fc14a();while(!![]){try{const _0x421636=-parseInt(_0x311ab7(0x14d))/0x1*(-parseInt(_0x311ab7(0x166))/0x2)+-parseInt(_0x311ab7(0x15e))/0x3*(-parseInt(_0x311ab7(0x147))/0x4)+parseInt(_0x311ab7(0x126))/0x5*(parseInt(_0x311ab7(0x14f))/0x6)+-parseInt(_0x311ab7(0x14b))/0x7+-parseInt(_0x311ab7(0x153))/0x8*(-parseInt(_0x311ab7(0x158))/0x9)+parseInt(_0x311ab7(0x150))/0xa*(-parseInt(_0x311ab7(0x144))/0xb)+parseInt(_0x311ab7(0x152))/0xc;if(_0x421636===_0x2cd919)break;else _0x15a727['push'](_0x15a727['shift']());}catch(_0x1a323f){_0x15a727['push'](_0x15a727['shift']());}}}(_0x5eee,0xb4a53));export function getStyles(_0x1825a4){const _0x1dc91f=_0x43da;if(!_0x1825a4)return new Promise(_0x5913f=>_0x5913f(''));const _0x31fc28=[];for(const _0x6a0729 of _0x1825a4)_0x1dc91f(0x129)!==_0x6a0729?_0x31fc28[_0x1dc91f(0x14c)](window[_0x1dc91f(0x122)](_0x6a0729)[_0x1dc91f(0x159)](_0x565fd0=>_0x565fd0[_0x1dc91f(0x136)]())):_0x31fc28[_0x1dc91f(0x14c)](f());return Promise[_0x1dc91f(0x12f)](_0x31fc28)[_0x1dc91f(0x159)](_0x154e3f=>_0x154e3f[_0x1dc91f(0x143)]('\x20')[_0x1dc91f(0x13d)]());}function f(){const _0x383371=_0x43da,_0x3d4544=[],_0x1e0820=[];for(const _0x3f073e of Array[_0x383371(0x135)](document[_0x383371(0x11e)])){if(_0x3f073e[_0x383371(0x155)][_0x383371(0x13f)](_0x383371(0x139))){for(const _0x2ba1ad of Array[_0x383371(0x135)](_0x3f073e[_0x383371(0x151)]))-0x1!==_0x2ba1ad[_0x383371(0x140)][_0x383371(0x164)](_0x383371(0x121))?_0x3d4544[_0x383371(0x14c)](_0x2ba1ad[_0x383371(0x140)]):-0x1!==_0x2ba1ad[_0x383371(0x140)][_0x383371(0x164)](_0x383371(0x138))&&_0x1e0820[_0x383371(0x14c)](_0x2ba1ad[_0x383371(0x140)]);}}return _0x3d4544[_0x383371(0x11b)]||console[_0x383371(0x14e)](_0x383371(0x127)),[..._0x1e0820,..._0x3d4544][_0x383371(0x143)]('\x20')[_0x383371(0x13d)]();}export function getConverterOptions(_0x2ff37e,_0x1e0c00={}){const _0x25fc34=_0x43da,_0x22e5d3=_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x160)](_0x25fc34(0x125)),_0x797610=_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x160)](_0x25fc34(0x123)),_0x3534e7=_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x160)](_0x25fc34(0x163)),_0x5e013b=_0x1e0c00;if(_0x22e5d3&&_0x797610){const _0x2423b1=getComments(_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x14a)](_0x25fc34(0x123))[_0x25fc34(0x137)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x25fc34(0x156)](_0x2423b1)[_0x25fc34(0x11b)]&&(_0x5e013b[_0x25fc34(0x130)]=_0x2423b1);}if(_0x22e5d3&&_0x3534e7){const _0x29f81f=_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x14a)](_0x25fc34(0x163)),_0x22adfc=_0x2ff37e[_0x25fc34(0x12d)][_0x25fc34(0x14a)](_0x25fc34(0x125)),_0x43036f=getSuggestions(_0x29f81f[_0x25fc34(0x15d)]({'toJSON':!0x0}),_0x22adfc[_0x25fc34(0x15f)]);Object[_0x25fc34(0x156)](_0x43036f)[_0x25fc34(0x11b)]&&(_0x5e013b[_0x25fc34(0x128)]=_0x43036f);}return(_0x5e013b[_0x25fc34(0x128)]||_0x5e013b[_0x25fc34(0x130)])&&(_0x5e013b[_0x25fc34(0x146)]=new Intl[(_0x25fc34(0x15a))]()[_0x25fc34(0x165)]()[_0x25fc34(0x120)]),_0x5e013b;}export function getComments(_0x547395){const _0x42666b=_0x43da,_0x55966c={};if(!_0x547395[_0x42666b(0x11b)])return _0x55966c;for(const _0x259610 of _0x547395)_0x259610[_0x42666b(0x130)][_0x42666b(0x161)](_0x4cdd81=>{const _0x31b272=_0x42666b;void 0x0===_0x55966c[_0x259610['id']]&&(_0x55966c[_0x259610['id']]=[]),_0x55966c[_0x259610['id']][_0x31b272(0x14c)]({'author':_0x4cdd81[_0x31b272(0x11c)][_0x31b272(0x12e)],'content':_0x4cdd81[_0x31b272(0x149)],'created':_0x4cdd81[_0x31b272(0x145)],'is_resolved':_0x259610[_0x31b272(0x12a)]});});return _0x55966c;}export function getSuggestions(_0x21f449,_0xb07ee6){const _0x474c15=_0x43da,_0x447d8b={};if(!_0x21f449[_0x474c15(0x11b)]||!_0xb07ee6[_0x474c15(0x11b)])return _0x447d8b;for(const {id:_0x17053a,createdAt:_0x5b4dde,authorId:_0xf6ee9f,attributes:_0x25ac35}of _0x21f449){const _0x16647c=_0x25ac35&&_0x25ac35[_0x474c15(0x13b)],_0x56bcd4=_0x16647c?_0x16647c[_0x474c15(0x15b)]:_0xb07ee6[_0x474c15(0x14a)](_0xf6ee9f)[_0x474c15(0x12e)];_0x447d8b[_0x17053a]={'author':_0x56bcd4,'created':_0x5b4dde};}return _0x447d8b;}export function getConverterOptionsV2(_0x5e5ddd,_0xc7352a={}){const _0xbe41f0=_0x43da,_0x1497dd=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x160)](_0xbe41f0(0x125)),_0x304a88=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x160)](_0xbe41f0(0x123)),_0x327aab=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x160)](_0xbe41f0(0x163)),_0x1f0a27=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x160)](_0xbe41f0(0x12b)),_0x172e7c=_0x5e5ddd[_0xbe41f0(0x13e)][_0xbe41f0(0x124)],_0x6495b7=_0xc7352a,_0x349a53={};if(_0x6495b7[_0xbe41f0(0x162)]=_0x6495b7[_0xbe41f0(0x162)]||{},_0x6495b7[_0xbe41f0(0x162)][_0xbe41f0(0x142)]=_0x6495b7[_0xbe41f0(0x162)][_0xbe41f0(0x142)]||_0x172e7c,_0x1497dd&&_0x304a88){const _0x399d07=getCommentsV2(_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x14a)](_0xbe41f0(0x123))[_0xbe41f0(0x137)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x399d07[_0xbe41f0(0x11b)]&&(_0x349a53[_0xbe41f0(0x141)]=_0x399d07);}if(_0x1497dd&&_0x327aab){const _0x2b46f2=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x14a)](_0xbe41f0(0x163)),_0x1e35a5=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x14a)](_0xbe41f0(0x125)),_0x576460=getSuggestionsV2(_0x2b46f2[_0xbe41f0(0x15d)]({'toJSON':!0x0}),_0x1e35a5[_0xbe41f0(0x15f)]);_0x576460[_0xbe41f0(0x11b)]&&(_0x349a53[_0xbe41f0(0x128)]=_0x576460);}if(_0x1f0a27){const _0xecfc3b=_0x5e5ddd[_0xbe41f0(0x12d)][_0xbe41f0(0x14a)](_0xbe41f0(0x12c)),_0x22c1cf=_0xecfc3b[_0xbe41f0(0x13c)],{prefix:_0x54d217,suffix:_0x163a2f}=_0x5e5ddd[_0xbe41f0(0x15c)][_0xbe41f0(0x14a)](_0xbe41f0(0x132));if(_0x6495b7[_0xbe41f0(0x11f)]={'prefix':_0x54d217,'suffix':_0x163a2f},_0xbe41f0(0x154)!==_0x22c1cf){_0x6495b7[_0xbe41f0(0x11f)][_0xbe41f0(0x148)]={};const _0x303d0b=_0xbe41f0(0x131)===_0x22c1cf?_0xecfc3b[_0xbe41f0(0x157)]():_0xecfc3b[_0xbe41f0(0x133)](_0x22c1cf,!0x0);for(const _0x71aa95 of Object[_0xbe41f0(0x11d)](_0x303d0b)){const [_0x24aa7a,_0x17fe1e]=_0x71aa95;_0x6495b7[_0xbe41f0(0x11f)][_0xbe41f0(0x148)][_0x24aa7a]=null!==_0x17fe1e?_0x17fe1e:_0xecfc3b[_0xbe41f0(0x13a)](_0x24aa7a);}}}return(_0x349a53[_0xbe41f0(0x141)]||_0x349a53[_0xbe41f0(0x128)])&&(_0x6495b7[_0xbe41f0(0x146)]=new Intl[(_0xbe41f0(0x15a))]()[_0xbe41f0(0x165)]()[_0xbe41f0(0x120)],_0x6495b7[_0xbe41f0(0x134)]=_0x349a53),_0x6495b7;}function _0x43da(_0x13dd72,_0x1dd111){const _0x5eeeaf=_0x5eee();return _0x43da=function(_0x43da70,_0x51363e){_0x43da70=_0x43da70-0x11b;let _0x715f6c=_0x5eeeaf[_0x43da70];return _0x715f6c;},_0x43da(_0x13dd72,_0x1dd111);}export function getCommentsV2(_0x497dac){const _0x13b0b4=_0x43da,_0x352d6c=[];if(!_0x497dac[_0x13b0b4(0x11b)])return _0x352d6c;for(const _0x42f2aa of _0x497dac){const _0x11b5fa=_0x42f2aa[_0x13b0b4(0x130)][_0x13b0b4(0x161)](_0x2b1743=>({'author':_0x2b1743[_0x13b0b4(0x11c)][_0x13b0b4(0x12e)],'content':_0x2b1743[_0x13b0b4(0x149)],'created_at':_0x2b1743[_0x13b0b4(0x145)]}));_0x352d6c[_0x13b0b4(0x14c)]({'thread_id':_0x42f2aa['id'],'is_resolved':_0x42f2aa[_0x13b0b4(0x12a)],'comments':_0x11b5fa});}return _0x352d6c;}export function getSuggestionsV2(_0xfc35ee,_0x417c0d){const _0x659090=_0x43da;return _0xfc35ee[_0x659090(0x11b)]&&_0x417c0d[_0x659090(0x11b)]?_0xfc35ee[_0x659090(0x161)](({id:_0x23ac2e,createdAt:_0x2152bb,authorId:_0xc9cd08,attributes:_0x250e0d})=>{const _0x128e7f=_0x659090,_0x29b3ca=_0x250e0d&&_0x250e0d[_0x128e7f(0x13b)];return{'id':_0x23ac2e,'author':_0x29b3ca?_0x29b3ca[_0x128e7f(0x15b)]:_0x417c0d[_0x128e7f(0x14a)](_0xc9cd08)[_0x128e7f(0x12e)],'created_at':_0x2152bb};}):[];}function _0x5eee(){const _0x59bc84=['author','entries','styleSheets','merge_fields','timeZone','.ck-content','fetch','CommentsRepository','contentLanguage','Users','3941765xSJvLI','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.','suggestions','EDITOR_STYLES','isResolved','MergeFields','MergeFieldsEditing','plugins','name','all','comments','$defaultValues','mergeFields','getDataSetValues','collaboration_features','from','text','getCommentThreads',':root','data-cke','getLabel','@external','previewMode','trim','locale','hasAttribute','cssText','comment_threads','language','join','11jACdcV','createdAt','timezone','32116llTnOj','data','content','get','5541648yFvLSX','push','519lZdMQn','warn','6wWfPZx','2124190ItFxRd','cssRules','3807144ZwOAvU','570632hdPdZx','$labels','ownerNode','keys','getDefaultValues','63JVCdvd','then','DateTimeFormat','authorName','config','getSuggestions','51NavfLJ','users','has','map','document','TrackChanges','indexOf','resolvedOptions','10ktkSiM','length'];_0x5eee=function(){return _0x59bc84;};return _0x5eee();}
|