@ckeditor/ckeditor5-export-word 44.0.0-alpha.5 → 44.0.0-alpha.6
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.0.0-alpha.
|
|
3
|
+
"version": "44.0.0-alpha.6",
|
|
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-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.
|
|
36
|
-
"ckeditor5": "44.0.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "44.0.0-alpha.6",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "44.0.0-alpha.6",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "44.0.0-alpha.6",
|
|
36
|
+
"ckeditor5": "44.0.0-alpha.6"
|
|
37
37
|
},
|
|
38
38
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
39
39
|
"author": "CKSource (https://cksource.com/)",
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xa881(_0x254ae2,_0x263c07){const _0x2f724f=_0x2f72();return _0xa881=function(_0xa8819e,_0x3a96aa){_0xa8819e=_0xa8819e-0x186;let _0x17532a=_0x2f724f[_0xa8819e];return _0x17532a;},_0xa881(_0x254ae2,_0x263c07);}const _0x129f8b=_0xa881;(function(_0x13c963,_0x546b57){const _0x30fbb5=_0xa881,_0x5ecee3=_0x13c963();while(!![]){try{const _0x136b95=-parseInt(_0x30fbb5(0x18b))/0x1*(-parseInt(_0x30fbb5(0x1a2))/0x2)+-parseInt(_0x30fbb5(0x18f))/0x3*(parseInt(_0x30fbb5(0x19a))/0x4)+-parseInt(_0x30fbb5(0x19d))/0x5*(-parseInt(_0x30fbb5(0x1a0))/0x6)+-parseInt(_0x30fbb5(0x18a))/0x7+parseInt(_0x30fbb5(0x1a3))/0x8*(parseInt(_0x30fbb5(0x18e))/0x9)+-parseInt(_0x30fbb5(0x191))/0xa+parseInt(_0x30fbb5(0x194))/0xb;if(_0x136b95===_0x546b57)break;else _0x5ecee3['push'](_0x5ecee3['shift']());}catch(_0x3546a6){_0x5ecee3['push'](_0x5ecee3['shift']());}}}(_0x2f72,0xcb802));import{Plugin as _0x589ded}from'ckeditor5/src/core.js';import{Notification as _0x2e878b}from'ckeditor5/src/ui.js';import _0x14a8d3 from'./exportwordcommand.js';import _0x4a3237 from'./exportwordui.js';function _0x2f72(){const _0xb58ac6=['isPremiumPlugin','commands','1077246uGNmnI','ExportWord','401150AJRbLx','349256XBvzRm','registerTokenUrl','pluginName','requires','exportWord','10487778UDHVjE','1qMyMNz','isOfficialPlugin','add','117lmBZeY','8973QibgNz','CloudServices','6975350hQNNzO','config','token','32338284oeLpfx','_token','tokenUrl','editor','get','init','1868ETFuOm','plugins','then','20LMwRNl'];_0x2f72=function(){return _0xb58ac6;};return _0x2f72();}export default class s extends _0x589ded{static get[_0x129f8b(0x187)](){const _0x354477=_0x129f8b;return _0x354477(0x1a1);}static get[_0x129f8b(0x18c)](){return!0x0;}static get[_0x129f8b(0x19e)](){return!0x0;}static get[_0x129f8b(0x188)](){const _0x2a9993=_0x129f8b;return[_0x2a9993(0x190),_0x2e878b,_0x4a3237];}[_0x129f8b(0x199)](){const _0x38a1a8=_0x129f8b,_0x349655=this[_0x38a1a8(0x197)],_0xd523e7=_0x349655[_0x38a1a8(0x192)][_0x38a1a8(0x198)](_0x38a1a8(0x189))||{};_0x349655[_0x38a1a8(0x19f)][_0x38a1a8(0x18d)](_0x38a1a8(0x189),new _0x14a8d3(_0x349655));const _0x3a9d16=_0x349655[_0x38a1a8(0x19b)][_0x38a1a8(0x198)](_0x38a1a8(0x190));!0x1===_0xd523e7[_0x38a1a8(0x196)]?this[_0x38a1a8(0x195)]=null:_0xd523e7[_0x38a1a8(0x196)]?_0x3a9d16[_0x38a1a8(0x186)](_0xd523e7[_0x38a1a8(0x196)])[_0x38a1a8(0x19c)](_0x3dc917=>{const _0x593743=_0x38a1a8;this[_0x593743(0x195)]=_0x3dc917;}):this[_0x38a1a8(0x195)]=_0x3a9d16[_0x38a1a8(0x193)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1d99(){const _0x1c6335=['1400707ayXzOY','stylesheets','fileName','margin_right','createElement','execute','1606728FLzJSy','affectsData','Word\x20document\x20export\x20started','24TtGCbK','plugins','click','margin_bottom','EDITOR_STYLES','margin_top','converterUrl','editor','then','826882SHmEKX','https://docx-converter.cke-cs.com/v1/convert','download','header','stringify','isEnabled','</div>','href','application/json','application/docx','options','createObjectURL','154358IPqdLO','10pbHdMj','comments','<div\x20class=\x22ck-content\x22\x20dir=\x22','dataCallback','ariaLiveAnnouncer','locale','remove','pending','auto_pagination','announce','footer','ExportWord','Word\x20document\x20export\x20successful','981540dfgklz','_token','margin_left','suggestions','1370376bnOgss','Notification','POST','status','57815xnokXW','format','Word\x20document\x20export\x20failed','3fWYFxz','get','https://docx-converter.cke-cs.com/v2/convert/html-docx','document.docx','token','function','converterOptions','finally','export-word-v1-api-is-deprecated','catch','contentLanguageDirection','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','data','value','URL','5nlYobT','refresh','orientation','set','_downloadFile','fetch','version','config','assertive','blob','showWarning','isBusy'];_0x1d99=function(){return _0x1c6335;};return _0x1d99();}const _0x119b72=_0x25d7;(function(_0x23473b,_0xde98f2){const _0x4adc11=_0x25d7,_0x3f9f17=_0x23473b();while(!![]){try{const _0x308f88=parseInt(_0x4adc11(0x10d))/0x1+-parseInt(_0x4adc11(0xf7))/0x2*(-parseInt(_0x4adc11(0x110))/0x3)+-parseInt(_0x4adc11(0x109))/0x4+parseInt(_0x4adc11(0x11f))/0x5*(parseInt(_0x4adc11(0x131))/0x6)+parseInt(_0x4adc11(0x13d))/0x7*(parseInt(_0x4adc11(0x134))/0x8)+-parseInt(_0x4adc11(0x105))/0x9+-parseInt(_0x4adc11(0xf8))/0xa*(parseInt(_0x4adc11(0x12b))/0xb);if(_0x308f88===_0xde98f2)break;else _0x3f9f17['push'](_0x3f9f17['shift']());}catch(_0x3a93db){_0x3f9f17['push'](_0x3f9f17['shift']());}}}(_0x1d99,0x2b7f9));function _0x25d7(_0x40c6f1,_0x24011a){const _0x1d999f=_0x1d99();return _0x25d7=function(_0x25d720,_0x2b89af){_0x25d720=_0x25d720-0xf5;let _0x49d2dc=_0x1d999f[_0x25d720];return _0x49d2dc;},_0x25d7(_0x40c6f1,_0x24011a);}import{Command as _0x389345}from'ckeditor5/src/core.js';import{logWarning as _0x1d96ee}from'ckeditor5/src/utils.js';import{getStyles as _0x2f582c,getConverterOptions as _0xbc45ae,getConverterOptionsV2 as _0x4f358b}from'./utils.js';import{getTranslation as _0x1980cd}from'./utils/common-translations.js';const h=[_0x119b72(0x121),_0x119b72(0x139),_0x119b72(0x12e),_0x119b72(0x137),_0x119b72(0x107),_0x119b72(0x10e),_0x119b72(0x140),_0x119b72(0x102),_0x119b72(0xf9),_0x119b72(0x108)];export default class e extends _0x389345{constructor(_0x55b1fb){const _0x5e33dd=_0x119b72;super(_0x55b1fb),this[_0x5e33dd(0x122)](_0x5e33dd(0x12a),!0x1),this[_0x5e33dd(0x132)]=!0x1;}[_0x119b72(0x120)](){const _0xb60d0a=_0x119b72;this[_0xb60d0a(0x142)]=!this[_0xb60d0a(0x12a)],this[_0xb60d0a(0x11d)]=this[_0xb60d0a(0x12a)]?_0xb60d0a(0xff):void 0x0;}[_0x119b72(0x130)](_0x3a7d31={}){const _0x2d8457=_0x119b72,_0xf0061c=this[_0x2d8457(0x13b)],_0x41abeb=_0x3a7d31[_0x2d8457(0x125)]||0x2,_0xf825bf=0x1===_0x41abeb,_0x11d3d1=_0x3a7d31[_0x2d8457(0x13a)]||(_0xf825bf?_0x2d8457(0x13e):_0x2d8457(0x112)),_0x37a246=_0x3a7d31[_0x2d8457(0x116)]||{},_0x5e8a0f=_0xf0061c[_0x2d8457(0x135)][_0x2d8457(0x111)](_0x2d8457(0x103)),_0x47e669=_0x3a7d31[_0x2d8457(0x114)]||_0x5e8a0f[_0x2d8457(0x106)],_0x35230a=!0x0===_0x37a246[_0x2d8457(0x100)],_0x553ca3=_0x3a7d31[_0x2d8457(0xfb)]||(_0x28119c=>_0x28119c[_0x2d8457(0x11c)][_0x2d8457(0x111)]({'pagination':_0x35230a}));return 0x2===_0x41abeb&&function(_0x4de86e){for(const _0x5ac1aa of h)if(void 0x0!==_0x4de86e[_0x5ac1aa])return!0x0;return!0x1;}(_0x37a246)&&_0x1d96ee(_0x2d8457(0x118)),this[_0x2d8457(0x12a)]=!0x0,this[_0x2d8457(0x120)](),_0x2f582c(_0x3a7d31[_0x2d8457(0x12c)]||[_0x2d8457(0x138)])[_0x2d8457(0x13c)](async _0x345b3b=>{const _0x2624a0=_0x2d8457;_0xf0061c['ui'][_0x2624a0(0xfc)][_0x2624a0(0x101)](_0x1980cd(_0xf0061c[_0x2624a0(0xfd)],_0x2624a0(0x133)));const _0x8e1aef=await _0x553ca3(_0xf0061c),_0x91bd80={'html':_0x2624a0(0xfa)+_0xf0061c[_0x2624a0(0xfd)][_0x2624a0(0x11a)]+'\x22>'+_0x8e1aef+_0x2624a0(0x143),'css':_0x345b3b,[_0xf825bf?_0x2624a0(0xf5):_0x2624a0(0x126)]:{..._0x37a246,..._0xf825bf?_0xbc45ae(_0xf0061c,_0x37a246):_0x4f358b(_0xf0061c,_0x37a246)}},_0x1b7e7d={'method':_0x2624a0(0x10b),'headers':{'Content-Type':_0x2624a0(0x145),'Accept':_0x2624a0(0x146),..._0x47e669?{'Authorization':_0x47e669[_0x2624a0(0x11d)]}:null},'body':JSON[_0x2624a0(0x141)](_0x91bd80)};return window[_0x2624a0(0x124)](_0x11d3d1,_0x1b7e7d)[_0x2624a0(0x13c)](_0x25cd83=>{const _0xf99fc8=_0x2624a0;if(0xc8!==_0x25cd83[_0xf99fc8(0x10c)])throw _0x25cd83;return _0x25cd83[_0xf99fc8(0x128)]();})[_0x2624a0(0x13c)](_0x7ed064=>{const _0x28e097=_0x2624a0;_0xf0061c['ui'][_0x28e097(0xfc)][_0x28e097(0x101)](_0x1980cd(_0xf0061c[_0x28e097(0xfd)],_0x28e097(0x104)));const _0x3713e5=_0x28e097(0x115)==typeof _0x3a7d31[_0x28e097(0x12d)]?_0x3a7d31[_0x28e097(0x12d)]():_0x3a7d31[_0x28e097(0x12d)];this[_0x28e097(0x123)](_0x7ed064,_0x3713e5||_0x28e097(0x113));});})[_0x2d8457(0x119)](_0x6d7975=>{const _0x5ed746=_0x2d8457,_0x3178df=_0xf0061c[_0x5ed746(0x135)][_0x5ed746(0x111)](_0x5ed746(0x10a));throw _0xf0061c['ui'][_0x5ed746(0xfc)][_0x5ed746(0x101)](_0x1980cd(_0xf0061c[_0x5ed746(0xfd)],_0x5ed746(0x10f)),{'politeness':_0x5ed746(0x127)}),_0x3178df[_0x5ed746(0x129)](_0x1980cd(_0xf0061c[_0x5ed746(0xfd)],_0x5ed746(0x11b))),_0x6d7975;})[_0x2d8457(0x117)](()=>{const _0x501f9c=_0x2d8457;this[_0x501f9c(0x12a)]=!0x1,this[_0x501f9c(0x120)]();});}[_0x119b72(0x123)](_0xa62769,_0x4f3cad){const _0x621fef=_0x119b72,_0xf5ff6c=document[_0x621fef(0x12f)]('a');_0xf5ff6c[_0x621fef(0x144)]=window[_0x621fef(0x11e)][_0x621fef(0xf6)](_0xa62769),_0xf5ff6c[_0x621fef(0x13f)]=_0x4f3cad,_0xf5ff6c[_0x621fef(0x136)](),_0xf5ff6c[_0x621fef(0xfe)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x477141=_0x2ac8;(function(_0xff34b9,_0x1338a9){const _0x51e7e0=_0x2ac8,_0x540856=_0xff34b9();while(!![]){try{const _0x33a733=-parseInt(_0x51e7e0(0x198))/0x1+-parseInt(_0x51e7e0(0x18d))/0x2*(-parseInt(_0x51e7e0(0x193))/0x3)+-parseInt(_0x51e7e0(0x1a2))/0x4+-parseInt(_0x51e7e0(0x192))/0x5+-parseInt(_0x51e7e0(0x184))/0x6*(parseInt(_0x51e7e0(0x1ab))/0x7)+-parseInt(_0x51e7e0(0x19b))/0x8+-parseInt(_0x51e7e0(0x1a4))/0x9*(-parseInt(_0x51e7e0(0x18e))/0xa);if(_0x33a733===_0x1338a9)break;else _0x540856['push'](_0x540856['shift']());}catch(_0x3f592d){_0x540856['push'](_0x540856['shift']());}}}(_0x3c3e,0xb8401));import{Plugin as _0x3483b2}from'ckeditor5/src/core.js';function _0x2ac8(_0x54758a,_0x5f17ff){const _0x3c3e78=_0x3c3e();return _0x2ac8=function(_0x2ac83a,_0x3f31d1){_0x2ac83a=_0x2ac83a-0x183;let _0xe362c0=_0x3c3e78[_0x2ac83a];return _0xe362c0;},_0x2ac8(_0x54758a,_0x5f17ff);}function _0x3c3e(){const _0x3ce4d6=['pluginName','set','368158RZlVSY','isOfficialPlugin','66UpBezk','get','init','menuBar:exportWord','label','isEnabled','editing','execute','bind','2SkUSAQ','10GHxMIf','ExportWordUI','commands','_createButton','5993315cQkYhE','352152pgkGkb','isBusy','editor','Exporting\x20Word\x20document','exportWord','753689fAjyig','componentFactory','view','3867336NuubMf','listenTo','add','config','children','locale','Export\x20to\x20Word','2684204SYvYDE','isVisible','38903931rryduu','isPremiumPlugin','isOn','iconView','focus'];_0x3c3e=function(){return _0x3ce4d6;};return _0x3c3e();}import{ButtonView as _0x358379,MenuBarMenuListItemButtonView as _0x2872fb,SpinnerView as _0x3540ed}from'ckeditor5/src/ui.js';import _0x82de8 from'../theme/icons/exportword.svg';import{getTranslation as _0x37ccfc}from'./utils/common-translations.js';export default class o extends _0x3483b2{static get[_0x477141(0x1a9)](){const _0x599115=_0x477141;return _0x599115(0x18f);}static get[_0x477141(0x183)](){return!0x0;}static get[_0x477141(0x1a5)](){return!0x0;}[_0x477141(0x186)](){const _0x107a75=_0x477141,_0x45117b=this[_0x107a75(0x195)];_0x45117b['ui'][_0x107a75(0x199)][_0x107a75(0x19d)](_0x107a75(0x197),()=>{const _0xe7ca1=_0x107a75,_0x4f49b0=_0x45117b[_0xe7ca1(0x190)][_0xe7ca1(0x185)](_0xe7ca1(0x197)),_0x447e99=this[_0xe7ca1(0x191)](_0x358379);return _0x447e99[_0xe7ca1(0x1aa)]({'tooltip':!0x0}),_0x447e99[_0xe7ca1(0x18c)](_0xe7ca1(0x1a6))['to'](_0x4f49b0,_0xe7ca1(0x194)),_0x447e99;}),_0x45117b['ui'][_0x107a75(0x199)][_0x107a75(0x19d)](_0x107a75(0x187),()=>this[_0x107a75(0x191)](_0x2872fb));}[_0x477141(0x191)](_0x18002f){const _0x849a1a=_0x477141,_0x3768cb=this[_0x849a1a(0x195)],_0x154de9=_0x3768cb[_0x849a1a(0x19e)][_0x849a1a(0x185)](_0x849a1a(0x197))||{},_0x2d6a65=_0x3768cb[_0x849a1a(0x190)][_0x849a1a(0x185)](_0x849a1a(0x197)),_0xea7fed=new _0x18002f(_0x3768cb[_0x849a1a(0x1a0)]),_0x36844b=new _0x3540ed();return _0xea7fed[_0x849a1a(0x19f)][_0x849a1a(0x19d)](_0x36844b),_0x36844b[_0x849a1a(0x18c)](_0x849a1a(0x1a3))['to'](_0x2d6a65,_0x849a1a(0x194)),_0xea7fed[_0x849a1a(0x1a7)][_0x849a1a(0x18c)](_0x849a1a(0x1a3))['to'](_0x2d6a65,_0x849a1a(0x194),_0x847acd=>!_0x847acd),_0xea7fed[_0x849a1a(0x1aa)]({'icon':_0x82de8}),_0xea7fed[_0x849a1a(0x18c)](_0x849a1a(0x189))['to'](_0x2d6a65,_0x849a1a(0x189)),_0xea7fed[_0x849a1a(0x18c)](_0x849a1a(0x188))['to'](_0x2d6a65,_0x849a1a(0x194),_0x2cecee=>_0x37ccfc(_0x3768cb[_0x849a1a(0x1a0)],_0x2cecee?_0x849a1a(0x196):_0x849a1a(0x1a1))),this[_0x849a1a(0x19c)](_0xea7fed,_0x849a1a(0x18b),()=>{const _0x397104=_0x849a1a;_0x3768cb[_0x397104(0x18b)](_0x397104(0x197),_0x154de9),_0x3768cb[_0x397104(0x18a)][_0x397104(0x19a)][_0x397104(0x1a8)]();}),_0xea7fed;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49e361,_0x16082f){var _0x153ed3=_0x587d,_0x2601a7=_0x49e361();while(!![]){try{var _0x23e31c=-parseInt(_0x153ed3(0x1da))/0x1*(-parseInt(_0x153ed3(0x1d7))/0x2)+-parseInt(_0x153ed3(0x1d9))/0x3+-parseInt(_0x153ed3(0x1de))/0x4+-parseInt(_0x153ed3(0x1db))/0x5+parseInt(_0x153ed3(0x1e0))/0x6*(parseInt(_0x153ed3(0x1dd))/0x7)+parseInt(_0x153ed3(0x1df))/0x8+parseInt(_0x153ed3(0x1dc))/0x9*(parseInt(_0x153ed3(0x1d8))/0xa);if(_0x23e31c===_0x16082f)break;else _0x2601a7['push'](_0x2601a7['shift']());}catch(_0x3d9f41){_0x2601a7['push'](_0x2601a7['shift']());}}}(_0x4f49,0xacf24));function _0x587d(_0xe8093d,_0x7518bf){var _0x4f49b2=_0x4f49();return _0x587d=function(_0x587dd7,_0x1c49dc){_0x587dd7=_0x587dd7-0x1d7;var _0x21dace=_0x4f49b2[_0x587dd7];return _0x21dace;},_0x587d(_0xe8093d,_0x7518bf);}function _0x4f49(){var _0x17c285=['14833ORpOXk','3164088NWLhYn','2439288BChJlH','3018yHnswd','5608NaxmAD','10JpNKvN','4022892fqzmFJ','467vPCcBn','4320405HupYmS','9217971ZhcRNn'];_0x4f49=function(){return _0x17c285;};return _0x4f49();}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(_0xa24cd6,_0x4bd8d8){const t=_0xa24cd6['t'];switch(_0x4bd8d8){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 _0x4bd8d8;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x47c5da,_0x790026){const _0x5c5fe6=_0x3649,_0x429137=_0x47c5da();while(!![]){try{const _0x37979c=-parseInt(_0x5c5fe6(0x1f2))/0x1*(parseInt(_0x5c5fe6(0x218))/0x2)+-parseInt(_0x5c5fe6(0x236))/0x3*(-parseInt(_0x5c5fe6(0x237))/0x4)+-parseInt(_0x5c5fe6(0x210))/0x5+parseInt(_0x5c5fe6(0x21b))/0x6+-parseInt(_0x5c5fe6(0x209))/0x7*(-parseInt(_0x5c5fe6(0x202))/0x8)+parseInt(_0x5c5fe6(0x221))/0x9+parseInt(_0x5c5fe6(0x230))/0xa*(-parseInt(_0x5c5fe6(0x203))/0xb);if(_0x37979c===_0x790026)break;else _0x429137['push'](_0x429137['shift']());}catch(_0xd2ffd3){_0x429137['push'](_0x429137['shift']());}}}(_0x1497,0x6f940));function _0x3649(_0x499d63,_0x1bb6f3){const _0x14978a=_0x1497();return _0x3649=function(_0x36491f,_0x15cff7){_0x36491f=_0x36491f-0x1f1;let _0x536899=_0x14978a[_0x36491f];return _0x536899;},_0x3649(_0x499d63,_0x1bb6f3);}export function getStyles(_0x3e4e6f){const _0x32d442=_0x3649;if(!_0x3e4e6f)return new Promise(_0x1724c5=>_0x1724c5(''));const _0x470cd1=[];for(const _0x3c34c9 of _0x3e4e6f)_0x32d442(0x1ff)!==_0x3c34c9?_0x470cd1[_0x32d442(0x22e)](window[_0x32d442(0x1f9)](_0x3c34c9)[_0x32d442(0x216)](_0x10acb3=>_0x10acb3[_0x32d442(0x22d)]())):_0x470cd1[_0x32d442(0x22e)](f());return Promise[_0x32d442(0x20e)](_0x470cd1)[_0x32d442(0x216)](_0x2aa2dd=>_0x2aa2dd[_0x32d442(0x1f4)]('\x20')[_0x32d442(0x219)]());}function f(){const _0x340fff=_0x3649,_0x44d519=[],_0x221edd=[];for(const _0x1d862a of Array[_0x340fff(0x212)](document[_0x340fff(0x21e)])){if(_0x1d862a[_0x340fff(0x1fe)][_0x340fff(0x224)](_0x340fff(0x1fb))){for(const _0xcc4511 of Array[_0x340fff(0x212)](_0x1d862a[_0x340fff(0x1f3)]))-0x1!==_0xcc4511[_0x340fff(0x223)][_0x340fff(0x233)](_0x340fff(0x21c))?_0x44d519[_0x340fff(0x22e)](_0xcc4511[_0x340fff(0x223)]):-0x1!==_0xcc4511[_0x340fff(0x223)][_0x340fff(0x233)](_0x340fff(0x225))&&_0x221edd[_0x340fff(0x22e)](_0xcc4511[_0x340fff(0x223)]);}}return _0x44d519[_0x340fff(0x1f8)]||console[_0x340fff(0x22a)](_0x340fff(0x222)),[..._0x221edd,..._0x44d519][_0x340fff(0x1f4)]('\x20')[_0x340fff(0x219)]();}function _0x1497(){const _0x3ad329=['comments','5567457wgdoRm','plugins','has','getLabel','timeZone','all','$labels','3254575lXVczX','contentLanguage','from','document','isResolved','config','then','getDataSetValues','180718KfLsuZ','trim','locale','2184606xjXyBt','.ck-content','MergeFields','styleSheets','suggestions','TrackChanges','1257138NKJaVR','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','hasAttribute',':root','author','get','authorName','comment_threads','warn','users','@external','text','push','collaboration_features','47380pYJwzE','merge_fields','getDefaultValues','indexOf','keys','map','2719959apWUcz','4avtAjk','$defaultValues','mergeFields','getSuggestions','previewMode','language','10bBQZsi','cssRules','join','name','CommentsRepository','data','length','fetch','DateTimeFormat','data-cke','content','getCommentThreads','ownerNode','EDITOR_STYLES','timezone','MergeFieldsEditing','8WfLgMy','451pEGIMa','Users','resolvedOptions','createdAt','entries'];_0x1497=function(){return _0x3ad329;};return _0x1497();}export function getConverterOptions(_0x537fcd,_0x4d7c40={}){const _0x4e176f=_0x3649,_0x22e764=_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x20b)](_0x4e176f(0x204)),_0xaf5252=_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x20b)](_0x4e176f(0x1f6)),_0x5046df=_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x20b)](_0x4e176f(0x220)),_0x56775f=_0x4d7c40;if(_0x22e764&&_0xaf5252){const _0x202181=getComments(_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x227)](_0x4e176f(0x1f6))[_0x4e176f(0x1fd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x4e176f(0x234)](_0x202181)[_0x4e176f(0x1f8)]&&(_0x56775f[_0x4e176f(0x208)]=_0x202181);}if(_0x22e764&&_0x5046df){const _0x566388=_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x227)](_0x4e176f(0x220)),_0x7bfb37=_0x537fcd[_0x4e176f(0x20a)][_0x4e176f(0x227)](_0x4e176f(0x204)),_0x1742e4=getSuggestions(_0x566388[_0x4e176f(0x23a)]({'toJSON':!0x0}),_0x7bfb37[_0x4e176f(0x22b)]);Object[_0x4e176f(0x234)](_0x1742e4)[_0x4e176f(0x1f8)]&&(_0x56775f[_0x4e176f(0x21f)]=_0x1742e4);}return(_0x56775f[_0x4e176f(0x21f)]||_0x56775f[_0x4e176f(0x208)])&&(_0x56775f[_0x4e176f(0x200)]=new Intl[(_0x4e176f(0x1fa))]()[_0x4e176f(0x205)]()[_0x4e176f(0x20d)]),_0x56775f;}export function getComments(_0x4148c5){const _0x19b928=_0x3649,_0xf873fa={};if(!_0x4148c5[_0x19b928(0x1f8)])return _0xf873fa;for(const _0x5de318 of _0x4148c5)_0x5de318[_0x19b928(0x208)][_0x19b928(0x235)](_0x3805e8=>{const _0xeee034=_0x19b928;void 0x0===_0xf873fa[_0x5de318['id']]&&(_0xf873fa[_0x5de318['id']]=[]),_0xf873fa[_0x5de318['id']][_0xeee034(0x22e)]({'author':_0x3805e8[_0xeee034(0x226)][_0xeee034(0x1f5)],'content':_0x3805e8[_0xeee034(0x1fc)],'created':_0x3805e8[_0xeee034(0x206)],'is_resolved':_0x5de318[_0xeee034(0x214)]});});return _0xf873fa;}export function getSuggestions(_0x3da973,_0x430d48){const _0x901227=_0x3649,_0x5900fc={};if(!_0x3da973[_0x901227(0x1f8)]||!_0x430d48[_0x901227(0x1f8)])return _0x5900fc;for(const {id:_0x3943a7,createdAt:_0x164893,authorId:_0x5b644b,attributes:_0x196887}of _0x3da973){const _0x5e1b19=_0x196887&&_0x196887[_0x901227(0x22c)],_0x1eedc8=_0x5e1b19?_0x5e1b19[_0x901227(0x228)]:_0x430d48[_0x901227(0x227)](_0x5b644b)[_0x901227(0x1f5)];_0x5900fc[_0x3943a7]={'author':_0x1eedc8,'created':_0x164893};}return _0x5900fc;}export function getConverterOptionsV2(_0x232a47,_0x4c3e1b={}){const _0xff26fd=_0x3649,_0x58ff47=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x20b)](_0xff26fd(0x204)),_0x1ed21e=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x20b)](_0xff26fd(0x1f6)),_0x3d3fc5=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x20b)](_0xff26fd(0x220)),_0x2aefd4=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x20b)](_0xff26fd(0x21d)),_0x1c42ff=_0x232a47[_0xff26fd(0x21a)][_0xff26fd(0x211)],_0x8c5183=_0x4c3e1b,_0x3a0bcb={};if(_0x8c5183[_0xff26fd(0x213)]=_0x8c5183[_0xff26fd(0x213)]||{},_0x8c5183[_0xff26fd(0x213)][_0xff26fd(0x1f1)]=_0x8c5183[_0xff26fd(0x213)][_0xff26fd(0x1f1)]||_0x1c42ff,_0x58ff47&&_0x1ed21e){const _0x3ced33=getCommentsV2(_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x227)](_0xff26fd(0x1f6))[_0xff26fd(0x1fd)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x3ced33[_0xff26fd(0x1f8)]&&(_0x3a0bcb[_0xff26fd(0x229)]=_0x3ced33);}if(_0x58ff47&&_0x3d3fc5){const _0xbefd26=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x227)](_0xff26fd(0x220)),_0x139a25=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x227)](_0xff26fd(0x204)),_0x29aaec=getSuggestionsV2(_0xbefd26[_0xff26fd(0x23a)]({'toJSON':!0x0}),_0x139a25[_0xff26fd(0x22b)]);_0x29aaec[_0xff26fd(0x1f8)]&&(_0x3a0bcb[_0xff26fd(0x21f)]=_0x29aaec);}if(_0x2aefd4){const _0x41d743=_0x232a47[_0xff26fd(0x20a)][_0xff26fd(0x227)](_0xff26fd(0x201)),_0x29a82b=_0x41d743[_0xff26fd(0x23b)],{prefix:_0x4e905c,suffix:_0x46e95c}=_0x232a47[_0xff26fd(0x215)][_0xff26fd(0x227)](_0xff26fd(0x239));if(_0x8c5183[_0xff26fd(0x231)]={'prefix':_0x4e905c,'suffix':_0x46e95c},_0xff26fd(0x20f)!==_0x29a82b){_0x8c5183[_0xff26fd(0x231)][_0xff26fd(0x1f7)]={};const _0x32e90d=_0xff26fd(0x238)===_0x29a82b?_0x41d743[_0xff26fd(0x232)]():_0x41d743[_0xff26fd(0x217)](_0x29a82b,!0x0);for(const _0x5b0de8 of Object[_0xff26fd(0x207)](_0x32e90d)){const [_0x3e4f4d,_0x3670af]=_0x5b0de8;_0x8c5183[_0xff26fd(0x231)][_0xff26fd(0x1f7)][_0x3e4f4d]=null!==_0x3670af?_0x3670af:_0x41d743[_0xff26fd(0x20c)](_0x3e4f4d);}}}return(_0x3a0bcb[_0xff26fd(0x229)]||_0x3a0bcb[_0xff26fd(0x21f)])&&(_0x8c5183[_0xff26fd(0x200)]=new Intl[(_0xff26fd(0x1fa))]()[_0xff26fd(0x205)]()[_0xff26fd(0x20d)],_0x8c5183[_0xff26fd(0x22f)]=_0x3a0bcb),_0x8c5183;}export function getCommentsV2(_0x45f816){const _0x214749=_0x3649,_0x323ea9=[];if(!_0x45f816[_0x214749(0x1f8)])return _0x323ea9;for(const _0x5ad719 of _0x45f816){const _0x367aae=_0x5ad719[_0x214749(0x208)][_0x214749(0x235)](_0x286600=>({'author':_0x286600[_0x214749(0x226)][_0x214749(0x1f5)],'content':_0x286600[_0x214749(0x1fc)],'created_at':_0x286600[_0x214749(0x206)]}));_0x323ea9[_0x214749(0x22e)]({'thread_id':_0x5ad719['id'],'is_resolved':_0x5ad719[_0x214749(0x214)],'comments':_0x367aae});}return _0x323ea9;}export function getSuggestionsV2(_0x33e64b,_0x4f70fa){const _0x271d18=_0x3649;return _0x33e64b[_0x271d18(0x1f8)]&&_0x4f70fa[_0x271d18(0x1f8)]?_0x33e64b[_0x271d18(0x235)](({id:_0x2e80a1,createdAt:_0x10852d,authorId:_0x33e94c,attributes:_0x407e60})=>{const _0x141146=_0x271d18,_0x431ebf=_0x407e60&&_0x407e60[_0x141146(0x22c)];return{'id':_0x2e80a1,'author':_0x431ebf?_0x431ebf[_0x141146(0x228)]:_0x4f70fa[_0x141146(0x227)](_0x33e94c)[_0x141146(0x1f5)],'created_at':_0x10852d};}):[];}
|