@ckeditor/ckeditor5-export-word 43.3.0 → 43.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/export-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/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": "43.3.
|
|
3
|
+
"version": "43.3.1",
|
|
4
4
|
"description": "Export to Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ckeditor/ckeditor5-core": "43.3.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "43.3.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "43.3.
|
|
36
|
-
"ckeditor5": "43.3.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.3.1",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "43.3.1",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "43.3.1",
|
|
36
|
+
"ckeditor5": "43.3.1"
|
|
37
37
|
},
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"author": "CKSource (https://cksource.com/)",
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x7bb8(){const _0x5b0d96=['380424vlgnuf','requires','4815220ULbYjW','6hirXmx','init','plugins','then','22gGFFtN','editor','config','token','2529615HgvVjS','ExportWord','isOfficialPlugin','CloudServices','1309452pISPIn','add','4TmGVML','249648zTbReu','isPremiumPlugin','commands','117QebKnV','get','pluginName','481096FyLMWb','tokenUrl','registerTokenUrl','_token','272530djeirO','exportWord'];_0x7bb8=function(){return _0x5b0d96;};return _0x7bb8();}const _0x24861a=_0x8943;(function(_0x1c1515,_0x30dbb6){const _0x5acd5a=_0x8943,_0x7736c6=_0x1c1515();while(!![]){try{const _0x5cd908=parseInt(_0x5acd5a(0x1ee))/0x1+-parseInt(_0x5acd5a(0x202))/0x2+parseInt(_0x5acd5a(0x1ff))/0x3*(parseInt(_0x5acd5a(0x201))/0x4)+parseInt(_0x5acd5a(0x1fb))/0x5*(-parseInt(_0x5acd5a(0x1f3))/0x6)+parseInt(_0x5acd5a(0x1ea))/0x7+parseInt(_0x5acd5a(0x1f0))/0x8*(-parseInt(_0x5acd5a(0x1e7))/0x9)+-parseInt(_0x5acd5a(0x1f2))/0xa*(-parseInt(_0x5acd5a(0x1f7))/0xb);if(_0x5cd908===_0x30dbb6)break;else _0x7736c6['push'](_0x7736c6['shift']());}catch(_0x339f22){_0x7736c6['push'](_0x7736c6['shift']());}}}(_0x7bb8,0x7814a));import{Plugin as _0x343983}from'ckeditor5/src/core.js';import{Notification as _0x4e219f}from'ckeditor5/src/ui.js';function _0x8943(_0x62345a,_0xf61c4){const _0x7bb83a=_0x7bb8();return _0x8943=function(_0x8943f3,_0x3e37f0){_0x8943f3=_0x8943f3-0x1e6;let _0x355010=_0x7bb83a[_0x8943f3];return _0x355010;},_0x8943(_0x62345a,_0xf61c4);}import _0x187a83 from'./exportwordcommand.js';import _0x2c10b8 from'./exportwordui.js';export default class s extends _0x343983{static get[_0x24861a(0x1e9)](){const _0x4f9104=_0x24861a;return _0x4f9104(0x1fc);}static get[_0x24861a(0x1fd)](){return!0x0;}static get[_0x24861a(0x203)](){return!0x0;}static get[_0x24861a(0x1f1)](){const _0x3fe21b=_0x24861a;return[_0x3fe21b(0x1fe),_0x4e219f,_0x2c10b8];}[_0x24861a(0x1f4)](){const _0x2c9398=_0x24861a,_0x2bdded=this[_0x2c9398(0x1f8)],_0x44a0e8=_0x2bdded[_0x2c9398(0x1f9)][_0x2c9398(0x1e8)](_0x2c9398(0x1ef))||{};_0x2bdded[_0x2c9398(0x1e6)][_0x2c9398(0x200)](_0x2c9398(0x1ef),new _0x187a83(_0x2bdded));const _0x324e9a=_0x2bdded[_0x2c9398(0x1f5)][_0x2c9398(0x1e8)](_0x2c9398(0x1fe));!0x1===_0x44a0e8[_0x2c9398(0x1eb)]?this[_0x2c9398(0x1ed)]=null:_0x44a0e8[_0x2c9398(0x1eb)]?_0x324e9a[_0x2c9398(0x1ec)](_0x44a0e8[_0x2c9398(0x1eb)])[_0x2c9398(0x1f6)](_0x33203d=>{const _0x32ed59=_0x2c9398;this[_0x32ed59(0x1ed)]=_0x33203d;}):this[_0x2c9398(0x1ed)]=_0x324e9a[_0x2c9398(0x1fa)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x404b3d=_0x3c02;(function(_0x4032ec,_0x450546){const _0x400def=_0x3c02,_0x387eb7=_0x4032ec();while(!![]){try{const _0x252855=parseInt(_0x400def(0x110))/0x1*(-parseInt(_0x400def(0xef))/0x2)+-parseInt(_0x400def(0xe5))/0x3+-parseInt(_0x400def(0x107))/0x4+-parseInt(_0x400def(0x112))/0x5+-parseInt(_0x400def(0x108))/0x6*(-parseInt(_0x400def(0x12c))/0x7)+parseInt(_0x400def(0xee))/0x8*(parseInt(_0x400def(0xff))/0x9)+parseInt(_0x400def(0xf9))/0xa;if(_0x252855===_0x450546)break;else _0x387eb7['push'](_0x387eb7['shift']());}catch(_0x2d9b4e){_0x387eb7['push'](_0x387eb7['shift']());}}}(_0x1c8a,0x48528));import{Command as _0x18c434}from'ckeditor5/src/core.js';function _0x3c02(_0x1df999,_0x438a94){const _0x1c8acd=_0x1c8a();return _0x3c02=function(_0x3c0206,_0x44d07c){_0x3c0206=_0x3c0206-0xdd;let _0x4a470f=_0x1c8acd[_0x3c0206];return _0x4a470f;},_0x3c02(_0x1df999,_0x438a94);}function _0x1c8a(){const _0x3a194f=['value','560565tMZWil','createObjectURL','createElement','Word\x20document\x20export\x20started','token','config','isEnabled','isBusy','948792yJKoVb','354QSLwom','affectsData','EDITOR_STYLES','export-word-v1-api-is-deprecated','header','catch','showWarning','Notification','87374VoUSPM','announce','1641270vUTfCY','data','click','URL','fileName','application/json','ariaLiveAnnouncer','plugins','get','_token','footer','ExportWord','</div>','margin_top','document.docx','finally','version','remove','application/docx','blob','Word\x20document\x20export\x20failed','POST','assertive','https://docx-converter.cke-cs.com/v1/convert','status','download','2905hfafTu','stylesheets','_downloadFile','then','format','options','auto_pagination','margin_bottom','refresh','dataCallback','80226wXGOWV','margin_right','locale','suggestions','set','stringify','editor','Word\x20document\x20export\x20successful','href','40lyyyAl','10NFZBBo','converterUrl','contentLanguageDirection','function','converterOptions','margin_left','orientation','<div\x20class=\x22ck-content\x22\x20dir=\x22','fetch','https://docx-converter.cke-cs.com/v2/convert/html-docx','9893860ytCAVs','pending','execute','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','comments'];_0x1c8a=function(){return _0x3a194f;};return _0x1c8a();}import{logWarning as _0x4b12ae}from'ckeditor5/src/utils.js';import{getStyles as _0x209f43,getConverterOptions as _0x2eea54,getConverterOptionsV2 as _0x273a2d}from'./utils.js';import{getTranslation as _0x5e9f17}from'./utils/common-translations.js';const h=[_0x404b3d(0xf5),_0x404b3d(0x11f),_0x404b3d(0xe6),_0x404b3d(0xe2),_0x404b3d(0xf4),_0x404b3d(0xdf),_0x404b3d(0x10c),_0x404b3d(0x11c),_0x404b3d(0xfd),_0x404b3d(0xe8)];export default class e extends _0x18c434{constructor(_0x1d1836){const _0x5299f2=_0x404b3d;super(_0x1d1836),this[_0x5299f2(0xe9)](_0x5299f2(0x106),!0x1),this[_0x5299f2(0x109)]=!0x1;}[_0x404b3d(0xe3)](){const _0x3d85b0=_0x404b3d;this[_0x3d85b0(0x105)]=!this[_0x3d85b0(0x106)],this[_0x3d85b0(0xfe)]=this[_0x3d85b0(0x106)]?_0x3d85b0(0xfa):void 0x0;}[_0x404b3d(0xfb)](_0x3b4d53={}){const _0x59f232=_0x404b3d,_0x3289e5=this[_0x59f232(0xeb)],_0x22f6d1=_0x3b4d53[_0x59f232(0x122)]||0x2,_0x385a7c=0x1===_0x22f6d1,_0x3caffa=_0x3b4d53[_0x59f232(0xf0)]||(_0x385a7c?_0x59f232(0x129):_0x59f232(0xf8)),_0xd9203c=_0x3b4d53[_0x59f232(0xf3)]||{},_0x23a29a=_0x3289e5[_0x59f232(0x119)][_0x59f232(0x11a)](_0x59f232(0x11d)),_0x7cfcd6=_0x3b4d53[_0x59f232(0x103)]||_0x23a29a[_0x59f232(0x11b)],_0x350936=!0x0===_0xd9203c[_0x59f232(0xe1)],_0x1ebd7b=_0x3b4d53[_0x59f232(0xe4)]||(_0x42261b=>_0x42261b[_0x59f232(0x113)][_0x59f232(0x11a)]({'pagination':_0x350936}));return 0x2===_0x22f6d1&&function(_0x24c9d3){for(const _0x3a3932 of h)if(void 0x0!==_0x24c9d3[_0x3a3932])return!0x0;return!0x1;}(_0xd9203c)&&_0x4b12ae(_0x59f232(0x10b)),this[_0x59f232(0x106)]=!0x0,this[_0x59f232(0xe3)](),_0x209f43(_0x3b4d53[_0x59f232(0x12d)]||[_0x59f232(0x10a)])[_0x59f232(0xde)](async _0x2ecc38=>{const _0x46c4cb=_0x59f232;_0x3289e5['ui'][_0x46c4cb(0x118)][_0x46c4cb(0x111)](_0x5e9f17(_0x3289e5[_0x46c4cb(0xe7)],_0x46c4cb(0x102)));const _0x8e4dc5=await _0x1ebd7b(_0x3289e5),_0x368025={'html':_0x46c4cb(0xf6)+_0x3289e5[_0x46c4cb(0xe7)][_0x46c4cb(0xf1)]+'\x22>'+_0x8e4dc5+_0x46c4cb(0x11e),'css':_0x2ecc38,[_0x385a7c?_0x46c4cb(0xe0):_0x46c4cb(0x104)]:{..._0xd9203c,..._0x385a7c?_0x2eea54(_0x3289e5,_0xd9203c):_0x273a2d(_0x3289e5,_0xd9203c)}},_0x38b79d={'method':_0x46c4cb(0x127),'headers':{'Content-Type':_0x46c4cb(0x117),'Accept':_0x46c4cb(0x124),..._0x7cfcd6?{'Authorization':_0x7cfcd6[_0x46c4cb(0xfe)]}:null},'body':JSON[_0x46c4cb(0xea)](_0x368025)};return window[_0x46c4cb(0xf7)](_0x3caffa,_0x38b79d)[_0x46c4cb(0xde)](_0x212c28=>{const _0x40b047=_0x46c4cb;if(0xc8!==_0x212c28[_0x40b047(0x12a)])throw _0x212c28;return _0x212c28[_0x40b047(0x125)]();})[_0x46c4cb(0xde)](_0xc4cd41=>{const _0x3677da=_0x46c4cb;_0x3289e5['ui'][_0x3677da(0x118)][_0x3677da(0x111)](_0x5e9f17(_0x3289e5[_0x3677da(0xe7)],_0x3677da(0xec)));const _0x506549=_0x3677da(0xf2)==typeof _0x3b4d53[_0x3677da(0x116)]?_0x3b4d53[_0x3677da(0x116)]():_0x3b4d53[_0x3677da(0x116)];this[_0x3677da(0xdd)](_0xc4cd41,_0x506549||_0x3677da(0x120));});})[_0x59f232(0x10d)](_0x47185d=>{const _0x1fcd18=_0x59f232,_0x300f16=_0x3289e5[_0x1fcd18(0x119)][_0x1fcd18(0x11a)](_0x1fcd18(0x10f));throw _0x3289e5['ui'][_0x1fcd18(0x118)][_0x1fcd18(0x111)](_0x5e9f17(_0x3289e5[_0x1fcd18(0xe7)],_0x1fcd18(0x126)),{'politeness':_0x1fcd18(0x128)}),_0x300f16[_0x1fcd18(0x10e)](_0x5e9f17(_0x3289e5[_0x1fcd18(0xe7)],_0x1fcd18(0xfc))),_0x47185d;})[_0x59f232(0x121)](()=>{const _0x296250=_0x59f232;this[_0x296250(0x106)]=!0x1,this[_0x296250(0xe3)]();});}[_0x404b3d(0xdd)](_0x4c2f62,_0x176c3c){const _0x333b79=_0x404b3d,_0x454866=document[_0x333b79(0x101)]('a');_0x454866[_0x333b79(0xed)]=window[_0x333b79(0x115)][_0x333b79(0x100)](_0x4c2f62),_0x454866[_0x333b79(0x12b)]=_0x176c3c,_0x454866[_0x333b79(0x114)](),_0x454866[_0x333b79(0x123)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x143560=_0x4395;function _0x4395(_0x45b0a1,_0x10443a){const _0x4aff28=_0x4aff();return _0x4395=function(_0x4395c8,_0x22bd53){_0x4395c8=_0x4395c8-0x119;let _0x402bd8=_0x4aff28[_0x4395c8];return _0x402bd8;},_0x4395(_0x45b0a1,_0x10443a);}function _0x4aff(){const _0x4b37fd=['21dsoDje','commands','editing','locale','isVisible','view','2728604twNdcR','add','isOn','pluginName','32nAFLjn','isBusy','bind','Exporting\x20Word\x20document','label','1292564ObXwpV','children','listenTo','get','focus','iconView','isPremiumPlugin','329268KSjeXG','Export\x20to\x20Word','3327615KHMPUg','656035SmRFQi','ExportWordUI','_createButton','set','editor','348096cBnSuu','config','isEnabled','menuBar:exportWord','componentFactory','isOfficialPlugin','execute','4459384SfXnyu','init','exportWord'];_0x4aff=function(){return _0x4b37fd;};return _0x4aff();}(function(_0x1f609a,_0x459c94){const _0x34ed10=_0x4395,_0x212890=_0x1f609a();while(!![]){try{const _0x141843=parseInt(_0x34ed10(0x13e))/0x1+-parseInt(_0x34ed10(0x135))/0x2+-parseInt(_0x34ed10(0x11d))/0x3+-parseInt(_0x34ed10(0x139))/0x4*(parseInt(_0x34ed10(0x120))/0x5)+parseInt(_0x34ed10(0x125))/0x6+parseInt(_0x34ed10(0x12f))/0x7*(parseInt(_0x34ed10(0x12c))/0x8)+parseInt(_0x34ed10(0x11f))/0x9;if(_0x141843===_0x459c94)break;else _0x212890['push'](_0x212890['shift']());}catch(_0x42971a){_0x212890['push'](_0x212890['shift']());}}}(_0x4aff,0xd4206));import{Plugin as _0x4056bf}from'ckeditor5/src/core.js';import{ButtonView as _0x200c9f,MenuBarMenuListItemButtonView as _0x2b2f68,SpinnerView as _0x580f78}from'ckeditor5/src/ui.js';import _0x2d4238 from'../theme/icons/exportword.svg';import{getTranslation as _0x45ebb5}from'./utils/common-translations.js';export default class o extends _0x4056bf{static get[_0x143560(0x138)](){const _0x4fb1f7=_0x143560;return _0x4fb1f7(0x121);}static get[_0x143560(0x12a)](){return!0x0;}static get[_0x143560(0x11c)](){return!0x0;}[_0x143560(0x12d)](){const _0x2651cc=_0x143560,_0x4916ee=this[_0x2651cc(0x124)];_0x4916ee['ui'][_0x2651cc(0x129)][_0x2651cc(0x136)](_0x2651cc(0x12e),()=>{const _0x3a088d=_0x2651cc,_0x7ebefb=_0x4916ee[_0x3a088d(0x130)][_0x3a088d(0x119)](_0x3a088d(0x12e)),_0x524b7f=this[_0x3a088d(0x122)](_0x200c9f);return _0x524b7f[_0x3a088d(0x123)]({'tooltip':!0x0}),_0x524b7f[_0x3a088d(0x13b)](_0x3a088d(0x137))['to'](_0x7ebefb,_0x3a088d(0x13a)),_0x524b7f;}),_0x4916ee['ui'][_0x2651cc(0x129)][_0x2651cc(0x136)](_0x2651cc(0x128),()=>this[_0x2651cc(0x122)](_0x2b2f68));}[_0x143560(0x122)](_0x329bfb){const _0xb0ea8e=_0x143560,_0x3ac247=this[_0xb0ea8e(0x124)],_0x2690cf=_0x3ac247[_0xb0ea8e(0x126)][_0xb0ea8e(0x119)](_0xb0ea8e(0x12e))||{},_0x200db5=_0x3ac247[_0xb0ea8e(0x130)][_0xb0ea8e(0x119)](_0xb0ea8e(0x12e)),_0x3c4088=new _0x329bfb(_0x3ac247[_0xb0ea8e(0x132)]),_0x3feecd=new _0x580f78();return _0x3c4088[_0xb0ea8e(0x13f)][_0xb0ea8e(0x136)](_0x3feecd),_0x3feecd[_0xb0ea8e(0x13b)](_0xb0ea8e(0x133))['to'](_0x200db5,_0xb0ea8e(0x13a)),_0x3c4088[_0xb0ea8e(0x11b)][_0xb0ea8e(0x13b)](_0xb0ea8e(0x133))['to'](_0x200db5,_0xb0ea8e(0x13a),_0x54d19e=>!_0x54d19e),_0x3c4088[_0xb0ea8e(0x123)]({'icon':_0x2d4238}),_0x3c4088[_0xb0ea8e(0x13b)](_0xb0ea8e(0x127))['to'](_0x200db5,_0xb0ea8e(0x127)),_0x3c4088[_0xb0ea8e(0x13b)](_0xb0ea8e(0x13d))['to'](_0x200db5,_0xb0ea8e(0x13a),_0x4be038=>_0x45ebb5(_0x3ac247[_0xb0ea8e(0x132)],_0x4be038?_0xb0ea8e(0x13c):_0xb0ea8e(0x11e))),this[_0xb0ea8e(0x140)](_0x3c4088,_0xb0ea8e(0x12b),()=>{const _0x13f88f=_0xb0ea8e;_0x3ac247[_0x13f88f(0x12b)](_0x13f88f(0x12e),_0x2690cf),_0x3ac247[_0x13f88f(0x131)][_0x13f88f(0x134)][_0x13f88f(0x11a)]();}),_0x3c4088;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x243791,_0x267384){var _0x3e3e90=_0x5860,_0x1fd2ef=_0x243791();while(!![]){try{var _0x4075c5=parseInt(_0x3e3e90(0xe2))/0x1+parseInt(_0x3e3e90(0xe0))/0x2+-parseInt(_0x3e3e90(0xe6))/0x3+-parseInt(_0x3e3e90(0xe1))/0x4*(-parseInt(_0x3e3e90(0xdf))/0x5)+parseInt(_0x3e3e90(0xe3))/0x6+parseInt(_0x3e3e90(0xe5))/0x7*(-parseInt(_0x3e3e90(0xe7))/0x8)+-parseInt(_0x3e3e90(0xe4))/0x9*(parseInt(_0x3e3e90(0xde))/0xa);if(_0x4075c5===_0x267384)break;else _0x1fd2ef['push'](_0x1fd2ef['shift']());}catch(_0x2f6b28){_0x1fd2ef['push'](_0x1fd2ef['shift']());}}}(_0x3f84,0x84458));export{default as ExportWord}from'./exportword.js';function _0x3f84(){var _0x1ba7f7=['7332loURiZ','712042ieNVCu','1922988UkibmK','27lrNlVp','7WYjMWr','578313yDKBFV','65120lWtege','2880360AMiQbC','1415kjhOji','111048yzXImL'];_0x3f84=function(){return _0x1ba7f7;};return _0x3f84();}function _0x5860(_0x53a1b5,_0x470aba){var _0x3f84ef=_0x3f84();return _0x5860=function(_0x586079,_0xb829bd){_0x586079=_0x586079-0xde;var _0x3331eb=_0x3f84ef[_0x586079];return _0x3331eb;},_0x5860(_0x53a1b5,_0x470aba);}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3c471e,_0x85f528){const t=_0x3c471e['t'];switch(_0x85f528){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 _0x85f528;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x160dc0,_0x193bac){const _0x11cab9=_0x51b0,_0x52c3ff=_0x160dc0();while(!![]){try{const _0x34fc0a=-parseInt(_0x11cab9(0x17b))/0x1*(-parseInt(_0x11cab9(0x16c))/0x2)+-parseInt(_0x11cab9(0x17a))/0x3+parseInt(_0x11cab9(0x15a))/0x4+-parseInt(_0x11cab9(0x146))/0x5*(-parseInt(_0x11cab9(0x16f))/0x6)+parseInt(_0x11cab9(0x176))/0x7+parseInt(_0x11cab9(0x13b))/0x8+-parseInt(_0x11cab9(0x148))/0x9*(parseInt(_0x11cab9(0x153))/0xa);if(_0x34fc0a===_0x193bac)break;else _0x52c3ff['push'](_0x52c3ff['shift']());}catch(_0x516171){_0x52c3ff['push'](_0x52c3ff['shift']());}}}(_0x341b,0x46c70));function _0x341b(){const _0x38f8d3=['isResolved','has','timeZone','createdAt','indexOf','TrackChanges','merge_fields','text','name','MergeFields','plugins','192718MhLLwh','getDefaultValues','get','16386qUcAcd','push','users','ownerNode','locale','fetch','from','316155WCCqDt','cssRules','comments','suggestions','832263TdLWSA','3SqYMkB','data-cke','mergeFields','getLabel','EDITOR_STYLES','Users','previewMode','CommentsRepository','collaboration_features','entries','1725320EyxJpv','MergeFieldsEditing','warn','trim','resolvedOptions','styleSheets','author','authorName',':root','DateTimeFormat','then','485sfIRcr','.ck-content','1233IVJUoO','$labels','map','getDataSetValues','keys','$defaultValues','document','getSuggestions','all','length','comment_threads','37870dfZlFC','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.','cssText','getCommentThreads','content','hasAttribute','@external','1085320SYHARm','contentLanguage','timezone','data','join','language','config'];_0x341b=function(){return _0x38f8d3;};return _0x341b();}export function getStyles(_0x5ab8f1){const _0x4c3f6c=_0x51b0;if(!_0x5ab8f1)return new Promise(_0x293f64=>_0x293f64(''));const _0x23f7b9=[];for(const _0x3b31b2 of _0x5ab8f1)_0x4c3f6c(0x17f)!==_0x3b31b2?_0x23f7b9[_0x4c3f6c(0x170)](window[_0x4c3f6c(0x174)](_0x3b31b2)[_0x4c3f6c(0x145)](_0x33f388=>_0x33f388[_0x4c3f6c(0x168)]())):_0x23f7b9[_0x4c3f6c(0x170)](f());return Promise[_0x4c3f6c(0x150)](_0x23f7b9)[_0x4c3f6c(0x145)](_0x112661=>_0x112661[_0x4c3f6c(0x15e)]('\x20')[_0x4c3f6c(0x13e)]());}function f(){const _0x17c832=_0x51b0,_0x4c7b1c=[],_0x9390d9=[];for(const _0x364215 of Array[_0x17c832(0x175)](document[_0x17c832(0x140)])){if(_0x364215[_0x17c832(0x172)][_0x17c832(0x158)](_0x17c832(0x17c))){for(const _0x3ece4f of Array[_0x17c832(0x175)](_0x364215[_0x17c832(0x177)]))-0x1!==_0x3ece4f[_0x17c832(0x155)][_0x17c832(0x165)](_0x17c832(0x147))?_0x4c7b1c[_0x17c832(0x170)](_0x3ece4f[_0x17c832(0x155)]):-0x1!==_0x3ece4f[_0x17c832(0x155)][_0x17c832(0x165)](_0x17c832(0x143))&&_0x9390d9[_0x17c832(0x170)](_0x3ece4f[_0x17c832(0x155)]);}}return _0x4c7b1c[_0x17c832(0x151)]||console[_0x17c832(0x13d)](_0x17c832(0x154)),[..._0x9390d9,..._0x4c7b1c][_0x17c832(0x15e)]('\x20')[_0x17c832(0x13e)]();}export function getConverterOptions(_0x5d166c,_0xc81ef2={}){const _0x5589b6=_0x51b0,_0x43669a=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x180)),_0x343464=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x138)),_0x59479d=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x162)](_0x5589b6(0x166)),_0x4e6cb2=_0xc81ef2;if(_0x43669a&&_0x343464){const _0x410ca9=getComments(_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x138))[_0x5589b6(0x156)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x5589b6(0x14c)](_0x410ca9)[_0x5589b6(0x151)]&&(_0x4e6cb2[_0x5589b6(0x178)]=_0x410ca9);}if(_0x43669a&&_0x59479d){const _0x11ee60=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x166)),_0x11772d=_0x5d166c[_0x5589b6(0x16b)][_0x5589b6(0x16e)](_0x5589b6(0x180)),_0xc96a76=getSuggestions(_0x11ee60[_0x5589b6(0x14f)]({'toJSON':!0x0}),_0x11772d[_0x5589b6(0x171)]);Object[_0x5589b6(0x14c)](_0xc96a76)[_0x5589b6(0x151)]&&(_0x4e6cb2[_0x5589b6(0x179)]=_0xc96a76);}return(_0x4e6cb2[_0x5589b6(0x179)]||_0x4e6cb2[_0x5589b6(0x178)])&&(_0x4e6cb2[_0x5589b6(0x15c)]=new Intl[(_0x5589b6(0x144))]()[_0x5589b6(0x13f)]()[_0x5589b6(0x163)]),_0x4e6cb2;}export function getComments(_0x13f701){const _0x2c1e04=_0x51b0,_0x75f699={};if(!_0x13f701[_0x2c1e04(0x151)])return _0x75f699;for(const _0x57c783 of _0x13f701)_0x57c783[_0x2c1e04(0x178)][_0x2c1e04(0x14a)](_0x54ae5c=>{const _0x5d411f=_0x2c1e04;void 0x0===_0x75f699[_0x57c783['id']]&&(_0x75f699[_0x57c783['id']]=[]),_0x75f699[_0x57c783['id']][_0x5d411f(0x170)]({'author':_0x54ae5c[_0x5d411f(0x141)][_0x5d411f(0x169)],'content':_0x54ae5c[_0x5d411f(0x157)],'created':_0x54ae5c[_0x5d411f(0x164)],'is_resolved':_0x57c783[_0x5d411f(0x161)]});});return _0x75f699;}export function getSuggestions(_0x104f63,_0x5f4aaa){const _0x1c2ebb=_0x51b0,_0x267153={};if(!_0x104f63[_0x1c2ebb(0x151)]||!_0x5f4aaa[_0x1c2ebb(0x151)])return _0x267153;for(const {id:_0x3651b2,createdAt:_0x3ef2d7,authorId:_0x18eac8,attributes:_0x2b6ddf}of _0x104f63){const _0x53eb9e=_0x2b6ddf&&_0x2b6ddf[_0x1c2ebb(0x159)],_0x678dd2=_0x53eb9e?_0x53eb9e[_0x1c2ebb(0x142)]:_0x5f4aaa[_0x1c2ebb(0x16e)](_0x18eac8)[_0x1c2ebb(0x169)];_0x267153[_0x3651b2]={'author':_0x678dd2,'created':_0x3ef2d7};}return _0x267153;}function _0x51b0(_0x46cb70,_0x23721f){const _0x341bd8=_0x341b();return _0x51b0=function(_0x51b011,_0x3ebf22){_0x51b011=_0x51b011-0x138;let _0xf8e79d=_0x341bd8[_0x51b011];return _0xf8e79d;},_0x51b0(_0x46cb70,_0x23721f);}export function getConverterOptionsV2(_0x578b5a,_0x5efd4d={}){const _0x4ebc5d=_0x51b0,_0x299f97=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x180)),_0x2b7ef3=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x138)),_0x3dbd47=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x166)),_0x5a362f=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x162)](_0x4ebc5d(0x16a)),_0x5b551b=_0x578b5a[_0x4ebc5d(0x173)][_0x4ebc5d(0x15b)],_0x58b0db=_0x5efd4d,_0x3c47e2={};if(_0x58b0db[_0x4ebc5d(0x14e)]=_0x58b0db[_0x4ebc5d(0x14e)]||{},_0x58b0db[_0x4ebc5d(0x14e)][_0x4ebc5d(0x15f)]=_0x58b0db[_0x4ebc5d(0x14e)][_0x4ebc5d(0x15f)]||_0x5b551b,_0x299f97&&_0x2b7ef3){const _0x13fe22=getCommentsV2(_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x138))[_0x4ebc5d(0x156)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x13fe22[_0x4ebc5d(0x151)]&&(_0x3c47e2[_0x4ebc5d(0x152)]=_0x13fe22);}if(_0x299f97&&_0x3dbd47){const _0x5280d2=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x166)),_0x45080f=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x180)),_0x58e02d=getSuggestionsV2(_0x5280d2[_0x4ebc5d(0x14f)]({'toJSON':!0x0}),_0x45080f[_0x4ebc5d(0x171)]);_0x58e02d[_0x4ebc5d(0x151)]&&(_0x3c47e2[_0x4ebc5d(0x179)]=_0x58e02d);}if(_0x5a362f){const _0x2d2a3d=_0x578b5a[_0x4ebc5d(0x16b)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x13c)),_0x75be3=_0x2d2a3d[_0x4ebc5d(0x181)],{prefix:_0x6a6ce3,suffix:_0x5a7d49}=_0x578b5a[_0x4ebc5d(0x160)][_0x4ebc5d(0x16e)](_0x4ebc5d(0x17d));if(_0x58b0db[_0x4ebc5d(0x167)]={'prefix':_0x6a6ce3,'suffix':_0x5a7d49},_0x4ebc5d(0x149)!==_0x75be3){_0x58b0db[_0x4ebc5d(0x167)][_0x4ebc5d(0x15d)]={};const _0x3e771f=_0x4ebc5d(0x14d)===_0x75be3?_0x2d2a3d[_0x4ebc5d(0x16d)]():_0x2d2a3d[_0x4ebc5d(0x14b)](_0x75be3,!0x0);for(const _0x562a2f of Object[_0x4ebc5d(0x13a)](_0x3e771f)){const [_0xa5c641,_0x153059]=_0x562a2f;_0x58b0db[_0x4ebc5d(0x167)][_0x4ebc5d(0x15d)][_0xa5c641]=null!==_0x153059?_0x153059:_0x2d2a3d[_0x4ebc5d(0x17e)](_0xa5c641);}}}return(_0x3c47e2[_0x4ebc5d(0x152)]||_0x3c47e2[_0x4ebc5d(0x179)])&&(_0x58b0db[_0x4ebc5d(0x15c)]=new Intl[(_0x4ebc5d(0x144))]()[_0x4ebc5d(0x13f)]()[_0x4ebc5d(0x163)],_0x58b0db[_0x4ebc5d(0x139)]=_0x3c47e2),_0x58b0db;}export function getCommentsV2(_0x47d133){const _0x3da550=_0x51b0,_0x6e4ea3=[];if(!_0x47d133[_0x3da550(0x151)])return _0x6e4ea3;for(const _0x558b68 of _0x47d133){const _0x441ec9=_0x558b68[_0x3da550(0x178)][_0x3da550(0x14a)](_0x406aea=>({'author':_0x406aea[_0x3da550(0x141)][_0x3da550(0x169)],'content':_0x406aea[_0x3da550(0x157)],'created_at':_0x406aea[_0x3da550(0x164)]}));_0x6e4ea3[_0x3da550(0x170)]({'thread_id':_0x558b68['id'],'is_resolved':_0x558b68[_0x3da550(0x161)],'comments':_0x441ec9});}return _0x6e4ea3;}export function getSuggestionsV2(_0x1271c5,_0x30f3a4){const _0x25af4f=_0x51b0;return _0x1271c5[_0x25af4f(0x151)]&&_0x30f3a4[_0x25af4f(0x151)]?_0x1271c5[_0x25af4f(0x14a)](({id:_0x4e4f35,createdAt:_0xbf741,authorId:_0x46d729,attributes:_0x56ea2d})=>{const _0x5dbea9=_0x25af4f,_0x2b1edb=_0x56ea2d&&_0x56ea2d[_0x5dbea9(0x159)];return{'id':_0x4e4f35,'author':_0x2b1edb?_0x2b1edb[_0x5dbea9(0x142)]:_0x30f3a4[_0x5dbea9(0x16e)](_0x46d729)[_0x5dbea9(0x169)],'created_at':_0xbf741};}):[];}
|