@ckeditor/ckeditor5-export-word 0.0.0-nightly-20240813.0 → 0.0.0-nightly-20240815.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/build/export-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +5 -5
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59d455=>{const {vi:{dictionary:_0x3ccca7,getPluralForm:_0x3962eb}}={'vi':{'dictionary':{'Export\x20to\x20Word':'Xuất\x20ra\x20định\x20dạng\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20tạo\x20tệp\x20Word.','Word\x20document\x20export\x20started':'Đã\x20bắt\x20đầu\x20xuất\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20failed':'Không\x20xuất\x20được\x20tài\x20liệu\x20Word','Word\x20document\x20export\x20successful':'Đã\x20xuất\x20tài\x20liệu\x20Word\x20thành\x20công','Exporting\x20Word\x20document':'Đang\x20xuất\x20tài\x20liệu\x20Word'},'getPluralForm':_0x5b7431=>0x0}};_0x59d455['vi']||={'dictionary':{},'getPluralForm':null},_0x59d455['vi']['dictionary']=Object['assign'](_0x59d455['vi']['dictionary'],_0x3ccca7),_0x59d455['vi']['getPluralForm']=_0x3962eb;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0x51a63d=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x19d134=>{const {'zh-cn':{dictionary:_0x4f9ed0,getPluralForm:_0x3ecb6f}}={'zh-cn':{'dictionary':{'Export\x20to\x20Word':'导出Word文档','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'生成Word文档时发生了异常。','Word\x20document\x20export\x20started':'Word\x20文档导出开始','Word\x20document\x20export\x20failed':'Word\x20文档导出失败','Word\x20document\x20export\x20successful':'Word\x20文档导出成功','Exporting\x20Word\x20document':'正在导出\x20Word\x20文档'},'getPluralForm':_0xbe05f0=>0x0}};_0x19d134['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x19d134['zh-cn']['dictionary']=Object['assign'](_0x19d134['zh-cn']['dictionary'],_0x4f9ed0),_0x19d134['zh-cn']['getPluralForm']=_0x3ecb6f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x35c90a=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x35cf54=>{const {zh:{dictionary:_0x256657,getPluralForm:_0x35bb7d}}={'zh':{'dictionary':{'Export\x20to\x20Word':'匯出到\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'產生\x20Word\x20檔案時出錯。','Word\x20document\x20export\x20started':'Word\x20文件匯出開始','Word\x20document\x20export\x20failed':'Word\x20文件匯出失敗','Word\x20document\x20export\x20successful':'Word\x20文件匯出成功','Exporting\x20Word\x20document':'正在匯出\x20Word\x20文件'},'getPluralForm':_0x5ef9d7=>0x0}};_0x35cf54['zh']||={'dictionary':{},'getPluralForm':null},_0x35cf54['zh']['dictionary']=Object['assign'](_0x35cf54['zh']['dictionary'],_0x256657),_0x35cf54['zh']['getPluralForm']=_0x35bb7d;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240815.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": "0.0.0-nightly-
|
|
34
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
35
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
36
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20240815.0",
|
|
34
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20240815.0",
|
|
35
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240815.0",
|
|
36
|
+
"ckeditor5": "0.0.0-nightly-20240815.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
|
+
function _0x3fbd(){const _0x10c203=['996546oFsnvP','plugins','120916KSHRsc','tokenUrl','add','config','editor','requires','pluginName','1198815JRCXIk','454214hiclOD','init','95tvQsZg','registerTokenUrl','commands','ExportWord','token','391931BkRyoB','get','CloudServices','13047336whDITW','exportWord','then','_token','7eQLIRS','1580464ZBCfBr'];_0x3fbd=function(){return _0x10c203;};return _0x3fbd();}const _0x4cc2c3=_0x2e31;(function(_0x32c2a0,_0x1fcf3f){const _0x1f1546=_0x2e31,_0x10b0a1=_0x32c2a0();while(!![]){try{const _0x15201b=-parseInt(_0x1f1546(0x107))/0x1+-parseInt(_0x1f1546(0x100))/0x2+parseInt(_0x1f1546(0x119))/0x3+-parseInt(_0x1f1546(0x112))/0x4*(parseInt(_0x1f1546(0x102))/0x5)+parseInt(_0x1f1546(0x110))/0x6*(-parseInt(_0x1f1546(0x10e))/0x7)+-parseInt(_0x1f1546(0x10f))/0x8+parseInt(_0x1f1546(0x10a))/0x9;if(_0x15201b===_0x1fcf3f)break;else _0x10b0a1['push'](_0x10b0a1['shift']());}catch(_0x718205){_0x10b0a1['push'](_0x10b0a1['shift']());}}}(_0x3fbd,0x475af));import{Plugin as _0x61f526}from'ckeditor5/src/core.js';import{Notification as _0xdbc7af}from'ckeditor5/src/ui.js';import _0x5b10ee from'./exportwordcommand.js';import _0x2cdabb from'./exportwordui.js';function _0x2e31(_0x2e3905,_0x10f4f9){const _0x3fbd3f=_0x3fbd();return _0x2e31=function(_0x2e316e,_0x286b58){_0x2e316e=_0x2e316e-0x100;let _0x4fa72b=_0x3fbd3f[_0x2e316e];return _0x4fa72b;},_0x2e31(_0x2e3905,_0x10f4f9);}export default class s extends _0x61f526{static get[_0x4cc2c3(0x118)](){const _0x6eeb3b=_0x4cc2c3;return _0x6eeb3b(0x105);}static get[_0x4cc2c3(0x117)](){const _0x1d7cf0=_0x4cc2c3;return[_0x1d7cf0(0x109),_0xdbc7af,_0x2cdabb];}[_0x4cc2c3(0x101)](){const _0x1991bb=_0x4cc2c3,_0x271d2d=this[_0x1991bb(0x116)],_0x3a8189=_0x271d2d[_0x1991bb(0x115)][_0x1991bb(0x108)](_0x1991bb(0x10b))||{};_0x271d2d[_0x1991bb(0x104)][_0x1991bb(0x114)](_0x1991bb(0x10b),new _0x5b10ee(_0x271d2d));const _0x36a035=_0x271d2d[_0x1991bb(0x111)][_0x1991bb(0x108)](_0x1991bb(0x109));!0x1===_0x3a8189[_0x1991bb(0x113)]?this[_0x1991bb(0x10d)]=null:_0x3a8189[_0x1991bb(0x113)]?_0x36a035[_0x1991bb(0x103)](_0x3a8189[_0x1991bb(0x113)])[_0x1991bb(0x10c)](_0x29d734=>{const _0x3c46f1=_0x1991bb;this[_0x3c46f1(0x10d)]=_0x29d734;}):this[_0x1991bb(0x10d)]=_0x36a035[_0x1991bb(0x106)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x486c9c=_0x549a;function _0x549a(_0x530e89,_0x2e410c){const _0x529385=_0x5293();return _0x549a=function(_0x549a2e,_0x5efbe2){_0x549a2e=_0x549a2e-0x123;let _0xba6996=_0x529385[_0x549a2e];return _0xba6996;},_0x549a(_0x530e89,_0x2e410c);}(function(_0x958ad6,_0x3185db){const _0x35aec8=_0x549a,_0x393ac7=_0x958ad6();while(!![]){try{const _0x2ba391=parseInt(_0x35aec8(0x143))/0x1+-parseInt(_0x35aec8(0x158))/0x2*(parseInt(_0x35aec8(0x168))/0x3)+parseInt(_0x35aec8(0x134))/0x4+parseInt(_0x35aec8(0x166))/0x5+parseInt(_0x35aec8(0x154))/0x6+-parseInt(_0x35aec8(0x152))/0x7*(parseInt(_0x35aec8(0x12f))/0x8)+-parseInt(_0x35aec8(0x12d))/0x9*(-parseInt(_0x35aec8(0x133))/0xa);if(_0x2ba391===_0x3185db)break;else _0x393ac7['push'](_0x393ac7['shift']());}catch(_0x35d7e8){_0x393ac7['push'](_0x393ac7['shift']());}}}(_0x5293,0xdf1d7));import{Command as _0x4f5df3}from'ckeditor5/src/core.js';function _0x5293(){const _0x58e149=['https://docx-converter.cke-cs.com/v2/convert/html-docx','converterOptions','comments','click','export-word-v1-api-is-deprecated','Notification','_token','</div>','fetch','showWarning','ariaLiveAnnouncer','Word\x20document\x20export\x20successful','converterUrl','7402572CZpbmH','config','6552WrlsNn','format','margin_bottom','fileName','20DKTIrP','405892dJvvnn','href','finally','stringify','pending','editor','Word\x20document\x20export\x20failed','version','createObjectURL','header','data','function','Word\x20document\x20export\x20started','blob','assertive','1064705wPgjDl','status','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.','footer','contentLanguageDirection','catch','POST','get','execute','createElement','stylesheets','isEnabled','margin_left','auto_pagination','orientation','15344CCWuqA','URL','559836MsojQg','download','<div\x20class=\x22ck-content\x22\x20dir=\x22','_downloadFile','40iawVkP','then','locale','https://docx-converter.cke-cs.com/v1/convert','announce','ExportWord','application/docx','EDITOR_STYLES','document.docx','options','remove','isBusy','plugins','margin_top','3953035fddLar','dataCallback','147897fMEyOx','application/json','token','refresh','set','affectsData','margin_right','suggestions','value'];_0x5293=function(){return _0x58e149;};return _0x5293();}import{logWarning as _0x5719d7}from'ckeditor5/src/utils.js';import{getStyles as _0x2a58a3,getConverterOptions as _0x4012b5,getConverterOptionsV2 as _0xe941b2}from'./utils.js';import{getTranslation as _0x3ccbc1}from'./utils/common-translations.js';const h=[_0x486c9c(0x151),_0x486c9c(0x165),_0x486c9c(0x16e),_0x486c9c(0x131),_0x486c9c(0x14f),_0x486c9c(0x130),_0x486c9c(0x13d),_0x486c9c(0x146),_0x486c9c(0x173),_0x486c9c(0x16f)];export default class e extends _0x4f5df3{constructor(_0x375393){const _0x33c98f=_0x486c9c;super(_0x375393),this[_0x33c98f(0x16c)](_0x33c98f(0x163),!0x1),this[_0x33c98f(0x16d)]=!0x1;}[_0x486c9c(0x16b)](){const _0x31f755=_0x486c9c;this[_0x31f755(0x14e)]=!this[_0x31f755(0x163)],this[_0x31f755(0x170)]=this[_0x31f755(0x163)]?_0x31f755(0x138):void 0x0;}[_0x486c9c(0x14b)](_0xf9d790={}){const _0x4f783d=_0x486c9c,_0x3bf592=this[_0x4f783d(0x139)],_0x1f2648=_0xf9d790[_0x4f783d(0x13b)]||0x2,_0xdfc85d=0x1===_0x1f2648,_0x568df5=_0xf9d790[_0x4f783d(0x12c)]||(_0xdfc85d?_0x4f783d(0x15b):_0x4f783d(0x171)),_0x5d972a=_0xf9d790[_0x4f783d(0x172)]||{},_0x5d1f42=_0x3bf592[_0x4f783d(0x164)][_0x4f783d(0x14a)](_0x4f783d(0x15d)),_0x4c5698=_0xf9d790[_0x4f783d(0x16a)]||_0x5d1f42[_0x4f783d(0x126)],_0x24a4e1=!0x0===_0x5d972a[_0x4f783d(0x150)],_0x1fc34b=_0xf9d790[_0x4f783d(0x167)]||(_0x411b2d=>_0x411b2d[_0x4f783d(0x13e)][_0x4f783d(0x14a)]({'pagination':_0x24a4e1}));return 0x2===_0x1f2648&&function(_0x2632b0){for(const _0x1b2a56 of h)if(void 0x0!==_0x2632b0[_0x1b2a56])return!0x0;return!0x1;}(_0x5d972a)&&_0x5719d7(_0x4f783d(0x124)),this[_0x4f783d(0x163)]=!0x0,this[_0x4f783d(0x16b)](),_0x2a58a3(_0xf9d790[_0x4f783d(0x14d)]||[_0x4f783d(0x15f)])[_0x4f783d(0x159)](async _0x47d4bd=>{const _0x474afc=_0x4f783d;_0x3bf592['ui'][_0x474afc(0x12a)][_0x474afc(0x15c)](_0x3ccbc1(_0x3bf592[_0x474afc(0x15a)],_0x474afc(0x140)));const _0x38a7f3=await _0x1fc34b(_0x3bf592),_0x5a689a={'html':_0x474afc(0x156)+_0x3bf592[_0x474afc(0x15a)][_0x474afc(0x147)]+'\x22>'+_0x38a7f3+_0x474afc(0x127),'css':_0x47d4bd,[_0xdfc85d?_0x474afc(0x161):_0x474afc(0x12e)]:{..._0x5d972a,..._0xdfc85d?_0x4012b5(_0x3bf592,_0x5d972a):_0xe941b2(_0x3bf592,_0x5d972a)}},_0x40b751={'method':_0x474afc(0x149),'headers':{'Content-Type':_0x474afc(0x169),'Accept':_0x474afc(0x15e),..._0x4c5698?{'Authorization':_0x4c5698[_0x474afc(0x170)]}:null},'body':JSON[_0x474afc(0x137)](_0x5a689a)};return window[_0x474afc(0x128)](_0x568df5,_0x40b751)[_0x474afc(0x159)](_0x3acd29=>{const _0x11bcfe=_0x474afc;if(0xc8!==_0x3acd29[_0x11bcfe(0x144)])throw _0x3acd29;return _0x3acd29[_0x11bcfe(0x141)]();})[_0x474afc(0x159)](_0x53dd6f=>{const _0x2651a3=_0x474afc;_0x3bf592['ui'][_0x2651a3(0x12a)][_0x2651a3(0x15c)](_0x3ccbc1(_0x3bf592[_0x2651a3(0x15a)],_0x2651a3(0x12b)));const _0xb6d100=_0x2651a3(0x13f)==typeof _0xf9d790[_0x2651a3(0x132)]?_0xf9d790[_0x2651a3(0x132)]():_0xf9d790[_0x2651a3(0x132)];this[_0x2651a3(0x157)](_0x53dd6f,_0xb6d100||_0x2651a3(0x160));});})[_0x4f783d(0x148)](_0x35c9f9=>{const _0x16001e=_0x4f783d,_0x4528e2=_0x3bf592[_0x16001e(0x164)][_0x16001e(0x14a)](_0x16001e(0x125));throw _0x3bf592['ui'][_0x16001e(0x12a)][_0x16001e(0x15c)](_0x3ccbc1(_0x3bf592[_0x16001e(0x15a)],_0x16001e(0x13a)),{'politeness':_0x16001e(0x142)}),_0x4528e2[_0x16001e(0x129)](_0x3ccbc1(_0x3bf592[_0x16001e(0x15a)],_0x16001e(0x145))),_0x35c9f9;})[_0x4f783d(0x136)](()=>{const _0x5a4136=_0x4f783d;this[_0x5a4136(0x163)]=!0x1,this[_0x5a4136(0x16b)]();});}[_0x486c9c(0x157)](_0x476b1f,_0x162f8d){const _0x5c9729=_0x486c9c,_0x1e2f0a=document[_0x5c9729(0x14c)]('a');_0x1e2f0a[_0x5c9729(0x135)]=window[_0x5c9729(0x153)][_0x5c9729(0x13c)](_0x476b1f),_0x1e2f0a[_0x5c9729(0x155)]=_0x162f8d,_0x1e2f0a[_0x5c9729(0x123)](),_0x1e2f0a[_0x5c9729(0x162)]();}}
|
package/src/exportwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30b4(_0x10388b,_0x26e3aa){const _0x37c0c2=_0x37c0();return _0x30b4=function(_0x30b42d,_0x419a12){_0x30b42d=_0x30b42d-0xcc;let _0x3ee030=_0x37c0c2[_0x30b42d];return _0x3ee030;},_0x30b4(_0x10388b,_0x26e3aa);}const _0x4e75cc=_0x30b4;(function(_0x48570c,_0x29b0b3){const _0x211324=_0x30b4,_0x21392d=_0x48570c();while(!![]){try{const _0x332f8f=parseInt(_0x211324(0xe0))/0x1*(parseInt(_0x211324(0xd9))/0x2)+parseInt(_0x211324(0xd8))/0x3+parseInt(_0x211324(0xe8))/0x4+parseInt(_0x211324(0xce))/0x5+-parseInt(_0x211324(0xf0))/0x6*(parseInt(_0x211324(0xde))/0x7)+-parseInt(_0x211324(0xd6))/0x8+-parseInt(_0x211324(0xe5))/0x9*(parseInt(_0x211324(0xd1))/0xa);if(_0x332f8f===_0x29b0b3)break;else _0x21392d['push'](_0x21392d['shift']());}catch(_0x135178){_0x21392d['push'](_0x21392d['shift']());}}}(_0x37c0,0x5b842));import{Plugin as _0x40bffd}from'ckeditor5/src/core.js';import{ButtonView as _0x357067,MenuBarMenuListItemButtonView as _0x31f8fe,SpinnerView as _0x1d1e63}from'ckeditor5/src/ui.js';import _0x48f3c5 from'../theme/icons/exportword.svg';function _0x37c0(){const _0x1418eb=['1sHSXWm','config','menuBar:exportWord','locale','iconView','495oCyeaB','componentFactory','Export\x20to\x20Word','1261032CMngFi','ExportWordUI','editor','isBusy','children','focus','set','exportWord','47538HXoVLi','init','Exporting\x20Word\x20document','get','_createButton','2056840JrbPkn','isOn','editing','30540VjkMZX','isVisible','listenTo','pluginName','isEnabled','2625888BAIAtt','execute','68712VzDeaS','702586YqooyL','label','bind','commands','add','203wbnuIa','view'];_0x37c0=function(){return _0x1418eb;};return _0x37c0();}import{getTranslation as _0x1fcb91}from'./utils/common-translations.js';export default class i extends _0x40bffd{static get[_0x4e75cc(0xd4)](){const _0x11e1a6=_0x4e75cc;return _0x11e1a6(0xe9);}[_0x4e75cc(0xf1)](){const _0x4267ac=_0x4e75cc,_0x3d15da=this[_0x4267ac(0xea)];_0x3d15da['ui'][_0x4267ac(0xe6)][_0x4267ac(0xdd)](_0x4267ac(0xef),()=>{const _0x993d01=_0x4267ac,_0xfdf74=_0x3d15da[_0x993d01(0xdc)][_0x993d01(0xcc)](_0x993d01(0xef)),_0x254633=this[_0x993d01(0xcd)](_0x357067);return _0x254633[_0x993d01(0xee)]({'tooltip':!0x0}),_0x254633[_0x993d01(0xdb)](_0x993d01(0xcf))['to'](_0xfdf74,_0x993d01(0xeb)),_0x254633;}),_0x3d15da['ui'][_0x4267ac(0xe6)][_0x4267ac(0xdd)](_0x4267ac(0xe2),()=>this[_0x4267ac(0xcd)](_0x31f8fe));}[_0x4e75cc(0xcd)](_0x4c8fd4){const _0x48964b=_0x4e75cc,_0x3cbb56=this[_0x48964b(0xea)],_0x229b48=_0x3cbb56[_0x48964b(0xe1)][_0x48964b(0xcc)](_0x48964b(0xef))||{},_0x38070d=_0x3cbb56[_0x48964b(0xdc)][_0x48964b(0xcc)](_0x48964b(0xef)),_0x191392=new _0x4c8fd4(_0x3cbb56[_0x48964b(0xe3)]),_0x18c8ea=new _0x1d1e63();return _0x191392[_0x48964b(0xec)][_0x48964b(0xdd)](_0x18c8ea),_0x18c8ea[_0x48964b(0xdb)](_0x48964b(0xd2))['to'](_0x38070d,_0x48964b(0xeb)),_0x191392[_0x48964b(0xe4)][_0x48964b(0xdb)](_0x48964b(0xd2))['to'](_0x38070d,_0x48964b(0xeb),_0x10b1a7=>!_0x10b1a7),_0x191392[_0x48964b(0xee)]({'icon':_0x48f3c5}),_0x191392[_0x48964b(0xdb)](_0x48964b(0xd5))['to'](_0x38070d,_0x48964b(0xd5)),_0x191392[_0x48964b(0xdb)](_0x48964b(0xda))['to'](_0x38070d,_0x48964b(0xeb),_0x375851=>_0x1fcb91(_0x3cbb56[_0x48964b(0xe3)],_0x375851?_0x48964b(0xf2):_0x48964b(0xe7))),this[_0x48964b(0xd3)](_0x191392,_0x48964b(0xd7),()=>{const _0x4073d3=_0x48964b;_0x3cbb56[_0x4073d3(0xd7)](_0x4073d3(0xef),_0x229b48),_0x3cbb56[_0x4073d3(0xd0)][_0x4073d3(0xdf)][_0x4073d3(0xed)]();}),_0x191392;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x312b69,_0x3bcf30){var _0x1118e3=_0x3d49,_0x4d75c7=_0x312b69();while(!![]){try{var _0x374750=-parseInt(_0x1118e3(0x121))/0x1+-parseInt(_0x1118e3(0x11d))/0x2*(parseInt(_0x1118e3(0x123))/0x3)+parseInt(_0x1118e3(0x11f))/0x4+-parseInt(_0x1118e3(0x122))/0x5+-parseInt(_0x1118e3(0x124))/0x6*(-parseInt(_0x1118e3(0x120))/0x7)+parseInt(_0x1118e3(0x125))/0x8*(-parseInt(_0x1118e3(0x11e))/0x9)+parseInt(_0x1118e3(0x126))/0xa;if(_0x374750===_0x3bcf30)break;else _0x4d75c7['push'](_0x4d75c7['shift']());}catch(_0x338e72){_0x4d75c7['push'](_0x4d75c7['shift']());}}}(_0x1960,0x3a9d9));export{default as ExportWord}from'./exportword.js';function _0x1960(){var _0x115587=['727536gCGXlv','12ZpBZUi','1670056LbFTim','8765330wQETlf','2pBQOZV','9qSsJux','400780fOkfGi','1513449ElNaUe','398460AxYiOe','1596620COtJyh'];_0x1960=function(){return _0x115587;};return _0x1960();}function _0x3d49(_0x4450d3,_0x500f5a){var _0x19601c=_0x1960();return _0x3d49=function(_0x3d4909,_0x5ca571){_0x3d4909=_0x3d4909-0x11d;var _0x4ff45e=_0x19601c[_0x3d4909];return _0x4ff45e;},_0x3d49(_0x4450d3,_0x500f5a);}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3814f6,_0x1c757d){const t=_0x3814f6['t'];switch(_0x1c757d){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 _0x1c757d;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x189b53,_0x2f8d50){const _0x2e0d4c=_0x2342,_0x31d315=_0x189b53();while(!![]){try{const _0x2bbccf=-parseInt(_0x2e0d4c(0x20f))/0x1*(-parseInt(_0x2e0d4c(0x1e7))/0x2)+-parseInt(_0x2e0d4c(0x206))/0x3*(-parseInt(_0x2e0d4c(0x1e6))/0x4)+-parseInt(_0x2e0d4c(0x211))/0x5*(-parseInt(_0x2e0d4c(0x20d))/0x6)+parseInt(_0x2e0d4c(0x1ce))/0x7*(parseInt(_0x2e0d4c(0x1e2))/0x8)+-parseInt(_0x2e0d4c(0x20b))/0x9*(parseInt(_0x2e0d4c(0x1f5))/0xa)+-parseInt(_0x2e0d4c(0x1da))/0xb+parseInt(_0x2e0d4c(0x1dc))/0xc;if(_0x2bbccf===_0x2f8d50)break;else _0x31d315['push'](_0x31d315['shift']());}catch(_0x37f28b){_0x31d315['push'](_0x31d315['shift']());}}}(_0x286d,0xed343));function _0x286d(){const _0x130bfd=['then','comments','13095790IBckdl','suggestions','plugins','data-cke','timeZone','hasAttribute','getCommentThreads','data','cssText','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.','previewMode','getDataSetValues','merge_fields','comment_threads','join','author','collaboration_features','3JoztLR','content','getLabel','.ck-content',':root','9kzTEag','has','6PgRtRF','getSuggestions','2NTdsPC','$labels','2227915lIirRX','length','createdAt','timezone','get','warn','text','Users','fetch','383649XCVTgz','push','DateTimeFormat','from','all','language','name','MergeFields','getDefaultValues','cssRules','TrackChanges','MergeFieldsEditing','12090188MZpRrQ','config','689328pbUUhS','isResolved','contentLanguage','@external','indexOf','authorName','16ZtUCUR','map','keys','entries','5799300Lvvndd','1317808rEdHON','locale','mergeFields','document','resolvedOptions','$defaultValues','users','EDITOR_STYLES','ownerNode','styleSheets','trim','CommentsRepository'];_0x286d=function(){return _0x130bfd;};return _0x286d();}export function getStyles(_0x8c7449){const _0x374212=_0x2342;if(!_0x8c7449)return new Promise(_0x4a6acd=>_0x4a6acd(''));const _0x4e3ede=[];for(const _0x3a16a5 of _0x8c7449)_0x374212(0x1ee)!==_0x3a16a5?_0x4e3ede[_0x374212(0x1cf)](window[_0x374212(0x1cd)](_0x3a16a5)[_0x374212(0x1f3)](_0x350cce=>_0x350cce[_0x374212(0x1cb)]())):_0x4e3ede[_0x374212(0x1cf)](f());return Promise[_0x374212(0x1d2)](_0x4e3ede)[_0x374212(0x1f3)](_0x41a646=>_0x41a646[_0x374212(0x203)]('\x20')[_0x374212(0x1f1)]());}function f(){const _0x19abd4=_0x2342,_0x3983e1=[],_0x3e0cea=[];for(const _0x943b36 of Array[_0x19abd4(0x1d1)](document[_0x19abd4(0x1f0)])){if(_0x943b36[_0x19abd4(0x1ef)][_0x19abd4(0x1fa)](_0x19abd4(0x1f8))){for(const _0x35b002 of Array[_0x19abd4(0x1d1)](_0x943b36[_0x19abd4(0x1d7)]))-0x1!==_0x35b002[_0x19abd4(0x1fd)][_0x19abd4(0x1e0)](_0x19abd4(0x209))?_0x3983e1[_0x19abd4(0x1cf)](_0x35b002[_0x19abd4(0x1fd)]):-0x1!==_0x35b002[_0x19abd4(0x1fd)][_0x19abd4(0x1e0)](_0x19abd4(0x20a))&&_0x3e0cea[_0x19abd4(0x1cf)](_0x35b002[_0x19abd4(0x1fd)]);}}return _0x3983e1[_0x19abd4(0x212)]||console[_0x19abd4(0x1ca)](_0x19abd4(0x1fe)),[..._0x3e0cea,..._0x3983e1][_0x19abd4(0x203)]('\x20')[_0x19abd4(0x1f1)]();}export function getConverterOptions(_0x409bdc,_0xd7809={}){const _0x25a8f6=_0x2342,_0x13ed55=_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x20c)](_0x25a8f6(0x1cc)),_0x146e0c=_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x20c)](_0x25a8f6(0x1f2)),_0x1d659a=_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x20c)](_0x25a8f6(0x1d8)),_0xfe46b6=_0xd7809;if(_0x13ed55&&_0x146e0c){const _0x2354a9=getComments(_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x215)](_0x25a8f6(0x1f2))[_0x25a8f6(0x1fb)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0x25a8f6(0x1e4)](_0x2354a9)[_0x25a8f6(0x212)]&&(_0xfe46b6[_0x25a8f6(0x1f4)]=_0x2354a9);}if(_0x13ed55&&_0x1d659a){const _0x436451=_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x215)](_0x25a8f6(0x1d8)),_0x15e605=_0x409bdc[_0x25a8f6(0x1f7)][_0x25a8f6(0x215)](_0x25a8f6(0x1cc)),_0x860738=getSuggestions(_0x436451[_0x25a8f6(0x20e)]({'toJSON':!0x0}),_0x15e605[_0x25a8f6(0x1ed)]);Object[_0x25a8f6(0x1e4)](_0x860738)[_0x25a8f6(0x212)]&&(_0xfe46b6[_0x25a8f6(0x1f6)]=_0x860738);}return(_0xfe46b6[_0x25a8f6(0x1f6)]||_0xfe46b6[_0x25a8f6(0x1f4)])&&(_0xfe46b6[_0x25a8f6(0x214)]=new Intl[(_0x25a8f6(0x1d0))]()[_0x25a8f6(0x1eb)]()[_0x25a8f6(0x1f9)]),_0xfe46b6;}function _0x2342(_0x36e847,_0x2e86d8){const _0x286da4=_0x286d();return _0x2342=function(_0x2342ff,_0x34fe04){_0x2342ff=_0x2342ff-0x1ca;let _0x80074f=_0x286da4[_0x2342ff];return _0x80074f;},_0x2342(_0x36e847,_0x2e86d8);}export function getComments(_0x1ff044){const _0xa61f3b=_0x2342,_0x1f4b65={};if(!_0x1ff044[_0xa61f3b(0x212)])return _0x1f4b65;for(const _0x4f4f91 of _0x1ff044)_0x4f4f91[_0xa61f3b(0x1f4)][_0xa61f3b(0x1e3)](_0x456ea7=>{const _0x4dd29e=_0xa61f3b;void 0x0===_0x1f4b65[_0x4f4f91['id']]&&(_0x1f4b65[_0x4f4f91['id']]=[]),_0x1f4b65[_0x4f4f91['id']][_0x4dd29e(0x1cf)]({'author':_0x456ea7[_0x4dd29e(0x204)][_0x4dd29e(0x1d4)],'content':_0x456ea7[_0x4dd29e(0x207)],'created':_0x456ea7[_0x4dd29e(0x213)],'is_resolved':_0x4f4f91[_0x4dd29e(0x1dd)]});});return _0x1f4b65;}export function getSuggestions(_0x290e67,_0x140f36){const _0x21a0f3=_0x2342,_0x48cf75={};if(!_0x290e67[_0x21a0f3(0x212)]||!_0x140f36[_0x21a0f3(0x212)])return _0x48cf75;for(const {id:_0xbc9b4,createdAt:_0x317a04,authorId:_0x498410,attributes:_0x282f35}of _0x290e67){const _0x311743=_0x282f35&&_0x282f35[_0x21a0f3(0x1df)],_0x5811f1=_0x311743?_0x311743[_0x21a0f3(0x1e1)]:_0x140f36[_0x21a0f3(0x215)](_0x498410)[_0x21a0f3(0x1d4)];_0x48cf75[_0xbc9b4]={'author':_0x5811f1,'created':_0x317a04};}return _0x48cf75;}export function getConverterOptionsV2(_0x3f98c2,_0x4afec5={}){const _0x5d3861=_0x2342,_0x2fa7fe=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x20c)](_0x5d3861(0x1cc)),_0x442551=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x20c)](_0x5d3861(0x1f2)),_0x9f3c6c=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x20c)](_0x5d3861(0x1d8)),_0x5ccaf2=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x20c)](_0x5d3861(0x1d5)),_0x479a7c=_0x3f98c2[_0x5d3861(0x1e8)][_0x5d3861(0x1de)],_0x9e7f3=_0x4afec5,_0x2f48de={};if(_0x9e7f3[_0x5d3861(0x1ea)]=_0x9e7f3[_0x5d3861(0x1ea)]||{},_0x9e7f3[_0x5d3861(0x1ea)][_0x5d3861(0x1d3)]=_0x9e7f3[_0x5d3861(0x1ea)][_0x5d3861(0x1d3)]||_0x479a7c,_0x2fa7fe&&_0x442551){const _0x9f69b7=getCommentsV2(_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x215)](_0x5d3861(0x1f2))[_0x5d3861(0x1fb)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x9f69b7[_0x5d3861(0x212)]&&(_0x2f48de[_0x5d3861(0x202)]=_0x9f69b7);}if(_0x2fa7fe&&_0x9f3c6c){const _0xe090a=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x215)](_0x5d3861(0x1d8)),_0x28d9e4=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x215)](_0x5d3861(0x1cc)),_0x1b0568=getSuggestionsV2(_0xe090a[_0x5d3861(0x20e)]({'toJSON':!0x0}),_0x28d9e4[_0x5d3861(0x1ed)]);_0x1b0568[_0x5d3861(0x212)]&&(_0x2f48de[_0x5d3861(0x1f6)]=_0x1b0568);}if(_0x5ccaf2){const _0x1a1024=_0x3f98c2[_0x5d3861(0x1f7)][_0x5d3861(0x215)](_0x5d3861(0x1d9)),_0x116d7f=_0x1a1024[_0x5d3861(0x1ff)],{prefix:_0x58b5db,suffix:_0x39f8fc}=_0x3f98c2[_0x5d3861(0x1db)][_0x5d3861(0x215)](_0x5d3861(0x1e9));if(_0x9e7f3[_0x5d3861(0x201)]={'prefix':_0x58b5db,'suffix':_0x39f8fc},_0x5d3861(0x210)!==_0x116d7f){_0x9e7f3[_0x5d3861(0x201)][_0x5d3861(0x1fc)]={};const _0x5ee01d=_0x5d3861(0x1ec)===_0x116d7f?_0x1a1024[_0x5d3861(0x1d6)]():_0x1a1024[_0x5d3861(0x200)](_0x116d7f,!0x0);for(const _0x51329e of Object[_0x5d3861(0x1e5)](_0x5ee01d)){const [_0x4f9bf1,_0x35a526]=_0x51329e;_0x9e7f3[_0x5d3861(0x201)][_0x5d3861(0x1fc)][_0x4f9bf1]=null!==_0x35a526?_0x35a526:_0x1a1024[_0x5d3861(0x208)](_0x4f9bf1);}}}return(_0x2f48de[_0x5d3861(0x202)]||_0x2f48de[_0x5d3861(0x1f6)])&&(_0x9e7f3[_0x5d3861(0x214)]=new Intl[(_0x5d3861(0x1d0))]()[_0x5d3861(0x1eb)]()[_0x5d3861(0x1f9)],_0x9e7f3[_0x5d3861(0x205)]=_0x2f48de),_0x9e7f3;}export function getCommentsV2(_0xad35c7){const _0x46ec49=_0x2342,_0x1fde7e=[];if(!_0xad35c7[_0x46ec49(0x212)])return _0x1fde7e;for(const _0x3d04ca of _0xad35c7){const _0x310c3d=_0x3d04ca[_0x46ec49(0x1f4)][_0x46ec49(0x1e3)](_0x22d98a=>({'author':_0x22d98a[_0x46ec49(0x204)][_0x46ec49(0x1d4)],'content':_0x22d98a[_0x46ec49(0x207)],'created_at':_0x22d98a[_0x46ec49(0x213)]}));_0x1fde7e[_0x46ec49(0x1cf)]({'thread_id':_0x3d04ca['id'],'is_resolved':_0x3d04ca[_0x46ec49(0x1dd)],'comments':_0x310c3d});}return _0x1fde7e;}export function getSuggestionsV2(_0x576e9a,_0x3e4915){const _0x182b89=_0x2342;return _0x576e9a[_0x182b89(0x212)]&&_0x3e4915[_0x182b89(0x212)]?_0x576e9a[_0x182b89(0x1e3)](({id:_0x23ec09,createdAt:_0x6858f7,authorId:_0x59b3d9,attributes:_0x51f279})=>{const _0x37936a=_0x182b89,_0x4a51dd=_0x51f279&&_0x51f279[_0x37936a(0x1df)];return{'id':_0x23ec09,'author':_0x4a51dd?_0x4a51dd[_0x37936a(0x1e1)]:_0x3e4915[_0x37936a(0x215)](_0x59b3d9)[_0x37936a(0x1d4)],'created_at':_0x6858f7};}):[];}
|