@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240819.0 → 0.0.0-nightly-20240821.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-pdf.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/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-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/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 +4 -4
- package/src/exportpdf.js +1 -1
- package/src/exportpdfcommand.js +1 -1
- package/src/exportpdfui.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
|
+
(_0x22a893=>{const {'zh-cn':{dictionary:_0x1f8e5c,getPluralForm:_0x261926}}={'zh-cn':{'dictionary':{'Export\x20to\x20PDF':'导出为PDF','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':'生成PDF时发生了异常。','PDF\x20export\x20started':'PDF\x20导出开始','PDF\x20export\x20failed':'PDF\x20导出失败','PDF\x20export\x20successful':'PDF\x20导出成功','Exporting\x20PDF\x20document':'正在导出\x20PDF\x20文档'},'getPluralForm':_0x5b5ad6=>0x0}};_0x22a893['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x22a893['zh-cn']['dictionary']=Object['assign'](_0x22a893['zh-cn']['dictionary'],_0x1f8e5c),_0x22a893['zh-cn']['getPluralForm']=_0x261926;})(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\x20PDF':'匯出為\x20PDF','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':'產生\x20PDF\x20時發生錯誤。','PDF\x20export\x20started':'PDF\x20匯出開始','PDF\x20export\x20failed':'PDF\x20匯出失敗','PDF\x20export\x20successful':'PDF\x20匯出成功','Exporting\x20PDF\x20document':'正在匯出\x20PDF\x20文件'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Export\x20to\x20PDF':'匯出為\x20PDF','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':'產生\x20PDF\x20時發生錯誤。','PDF\x20export\x20started':'PDF\x20匯出開始','PDF\x20export\x20failed':'PDF\x20匯出失敗','PDF\x20export\x20successful':'PDF\x20匯出成功','Exporting\x20PDF\x20document':'正在匯出\x20PDF\x20文件'},'getPluralForm':_0x2d1aaa=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43b2d7=>{const {zh:{dictionary:_0x4d2fc6,getPluralForm:_0x5c47a1}}={'zh':{'dictionary':{'Export\x20to\x20PDF':'匯出為\x20PDF','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':'產生\x20PDF\x20時發生錯誤。','PDF\x20export\x20started':'PDF\x20匯出開始','PDF\x20export\x20failed':'PDF\x20匯出失敗','PDF\x20export\x20successful':'PDF\x20匯出成功','Exporting\x20PDF\x20document':'正在匯出\x20PDF\x20文件'},'getPluralForm':_0x49ea4a=>0x0}};_0x43b2d7['zh']||={'dictionary':{},'getPluralForm':null},_0x43b2d7['zh']['dictionary']=Object['assign'](_0x43b2d7['zh']['dictionary'],_0x4d2fc6),_0x43b2d7['zh']['getPluralForm']=_0x5c47a1;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-pdf",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20240821.0",
|
|
4
4
|
"description": "Export to PDF feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
34
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
35
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20240821.0",
|
|
34
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240821.0",
|
|
35
|
+
"ckeditor5": "0.0.0-nightly-20240821.0"
|
|
36
36
|
},
|
|
37
37
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
38
38
|
"author": "CKSource (http://cksource.com/)",
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x20ce3a=_0x551c;(function(_0x492dec,_0x25ea20){const _0x49a214=_0x551c,_0x369d58=_0x492dec();while(!![]){try{const _0x20cbec=parseInt(_0x49a214(0x199))/0x1*(parseInt(_0x49a214(0x1a8))/0x2)+parseInt(_0x49a214(0x1b1))/0x3+-parseInt(_0x49a214(0x1aa))/0x4*(parseInt(_0x49a214(0x19d))/0x5)+parseInt(_0x49a214(0x1b2))/0x6+-parseInt(_0x49a214(0x1a4))/0x7*(parseInt(_0x49a214(0x19f))/0x8)+-parseInt(_0x49a214(0x1a2))/0x9+parseInt(_0x49a214(0x1a1))/0xa*(parseInt(_0x49a214(0x1a0))/0xb);if(_0x20cbec===_0x25ea20)break;else _0x369d58['push'](_0x369d58['shift']());}catch(_0x3e752c){_0x369d58['push'](_0x369d58['shift']());}}}(_0x2868,0x3722c));import{Plugin as _0xd28f25}from'ckeditor5/src/core.js';import{Notification as _0x8d8109}from'ckeditor5/src/ui.js';function _0x2868(){const _0x45b550=['config','exportPdf','ExportPdf','add','tokenUrl','887979vhnXDc','748044iNTRig','editor','get','1fZzmsR','token','init','then','410170TEorCf','requires','632KIvkOb','5137cqxyvM','2830jvtYQb','2995848VEOPYA','commands','8162bVolqq','plugins','registerTokenUrl','_token','524124HISwtE','CloudServices','8NVGbzM','pluginName'];_0x2868=function(){return _0x45b550;};return _0x2868();}import _0x406ab1 from'./exportpdfcommand.js';import _0x318b77 from'./exportpdfui.js';function _0x551c(_0x2ecb82,_0x28c517){const _0x286835=_0x2868();return _0x551c=function(_0x551c6b,_0x588ae4){_0x551c6b=_0x551c6b-0x197;let _0xa652e9=_0x286835[_0x551c6b];return _0xa652e9;},_0x551c(_0x2ecb82,_0x28c517);}export default class s extends _0xd28f25{static get[_0x20ce3a(0x1ab)](){const _0x246a06=_0x20ce3a;return _0x246a06(0x1ae);}static get[_0x20ce3a(0x19e)](){const _0x2db627=_0x20ce3a;return[_0x2db627(0x1a9),_0x8d8109,_0x318b77];}[_0x20ce3a(0x19b)](){const _0x3da92c=_0x20ce3a,_0x21877a=this[_0x3da92c(0x197)],_0x1e3ebc=_0x21877a[_0x3da92c(0x1ac)][_0x3da92c(0x198)](_0x3da92c(0x1ad))||{};_0x21877a[_0x3da92c(0x1a3)][_0x3da92c(0x1af)](_0x3da92c(0x1ad),new _0x406ab1(_0x21877a));const _0x15c154=_0x21877a[_0x3da92c(0x1a5)][_0x3da92c(0x198)](_0x3da92c(0x1a9));!0x1===_0x1e3ebc[_0x3da92c(0x1b0)]?this[_0x3da92c(0x1a7)]=null:_0x1e3ebc[_0x3da92c(0x1b0)]?_0x15c154[_0x3da92c(0x1a6)](_0x1e3ebc[_0x3da92c(0x1b0)])[_0x3da92c(0x19c)](_0x2fa41c=>{const _0x195029=_0x3da92c;this[_0x195029(0x1a7)]=_0x2fa41c;}):this[_0x3da92c(0x1a7)]=_0x15c154[_0x3da92c(0x19a)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x509549=_0x22d3;(function(_0x55bf2a,_0x405276){const _0xa24d22=_0x22d3,_0x3496a4=_0x55bf2a();while(!![]){try{const _0x4ac494=parseInt(_0xa24d22(0x1fe))/0x1*(-parseInt(_0xa24d22(0x21b))/0x2)+parseInt(_0xa24d22(0x212))/0x3+parseInt(_0xa24d22(0x225))/0x4*(-parseInt(_0xa24d22(0x209))/0x5)+parseInt(_0xa24d22(0x1e3))/0x6*(-parseInt(_0xa24d22(0x21c))/0x7)+parseInt(_0xa24d22(0x1ed))/0x8*(-parseInt(_0xa24d22(0x218))/0x9)+-parseInt(_0xa24d22(0x204))/0xa+parseInt(_0xa24d22(0x1e7))/0xb;if(_0x4ac494===_0x405276)break;else _0x3496a4['push'](_0x3496a4['shift']());}catch(_0x3d7442){_0x3496a4['push'](_0x3496a4['shift']());}}}(_0x45e2,0x3c0a0));import{Command as _0x5e3df7}from'ckeditor5/src/core.js';import{getStyles as _0xa1ad6}from'./utils.js';function _0x45e2(){const _0x2aff4f=['click','isBusy','function','value','Notification','getDataSetValues','<html>\x0a\x09\x09\x09\x09\x09\x09<head>\x0a\x09\x09\x09\x09\x09\x09\x09<title>CKEditor\x205\x20PDF\x20document</title>\x0a\x09\x09\x09\x09\x09\x09\x09<meta\x20charset=\x22utf-8\x22>\x0a\x09\x09\x09\x09\x09\x09</head>\x0a\x09\x09\x09\x09\x09\x09<body>\x0a\x09\x09\x09\x09\x09\x09\x09<div\x20class=\x22ck-content\x22\x20dir=\x22','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','stylesheets','announce','getLabel','_token','converterUrl','63761nGQkiR','execute','remove','blob','href','previewMode','139590ZrtgrO','appID','finally','assertive','entries','45955sYdTPH','PDF\x20export\x20successful','catch','status','affectsData','URL','getDefaultValues','token','createElement','885090qFvzKY','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','PDF\x20export\x20failed','MergeFieldsEditing','pending','then','25524iQRYYg','stringify','contentLanguageDirection','2pFHyae','665336RWfhGp','https://pdf-converter.cke-cs.com/v1/convert/','has','$defaultValues','config','editor','plugins','PDF\x20export\x20started','dataCallback','52gIqxAc','showWarning','_downloadFile','mergeFields','data','download','EDITOR_STYLES','locale','refresh','cke5','merge_fields','isEnabled','$labels','ExportPdf','get','set','createObjectURL','30myTsxh','fileName','POST','converterOptions','7823739CyJpEk','fetch','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','MergeFields','document.pdf','application/json','248NOqMYr','application/pdf','ariaLiveAnnouncer','getMergeFieldsIds'];_0x45e2=function(){return _0x2aff4f;};return _0x45e2();}import{getTranslation as _0x2f6506}from'./utils/common-translations.js';function _0x22d3(_0x65a845,_0x1b5c3c){const _0x45e275=_0x45e2();return _0x22d3=function(_0x22d332,_0x4ea5e2){_0x22d332=_0x22d332-0x1dc;let _0x51bf40=_0x45e275[_0x22d332];return _0x51bf40;},_0x22d3(_0x65a845,_0x1b5c3c);}export default class o extends _0x5e3df7{constructor(_0x4e9c7f){const _0x4c7b70=_0x22d3;super(_0x4e9c7f),this[_0x4c7b70(0x1e1)](_0x4c7b70(0x1f2),!0x1),this[_0x4c7b70(0x20d)]=!0x1;}[_0x509549(0x22d)](){const _0x24dae2=_0x509549;this[_0x24dae2(0x1dd)]=!this[_0x24dae2(0x1f2)],this[_0x24dae2(0x1f4)]=this[_0x24dae2(0x1f2)]?_0x24dae2(0x216):void 0x0;}[_0x509549(0x1ff)](_0x3954bc={}){const _0x596d52=_0x509549,_0x4b7284=this[_0x596d52(0x221)],_0x4352ad=_0x3954bc[_0x596d52(0x1fd)]||_0x596d52(0x21d),_0x335742=_0x3954bc[_0x596d52(0x224)]||(_0x1a18d2=>_0x1a18d2[_0x596d52(0x229)][_0x596d52(0x1e0)]()),_0x24b35d=_0x4b7284[_0x596d52(0x222)][_0x596d52(0x1e0)](_0x596d52(0x1df)),_0xc46e8e=_0x3954bc[_0x596d52(0x210)]||_0x24b35d[_0x596d52(0x1fc)];return this[_0x596d52(0x1f2)]=!0x0,this[_0x596d52(0x22d)](),_0xa1ad6(_0x3954bc[_0x596d52(0x1f9)]||[_0x596d52(0x22b)])[_0x596d52(0x217)](async _0x5c6d67=>{const _0x5604d8=_0x596d52;if(_0x4b7284['ui'][_0x5604d8(0x1ef)][_0x5604d8(0x1fa)](_0x2f6506(_0x4b7284[_0x5604d8(0x22c)],_0x5604d8(0x223))),_0x4b7284[_0x5604d8(0x222)][_0x5604d8(0x21e)](_0x5604d8(0x1ea))){_0x3954bc[_0x5604d8(0x1e6)]||(_0x3954bc[_0x5604d8(0x1e6)]={});const _0x10fa07=_0x4b7284[_0x5604d8(0x222)][_0x5604d8(0x1e0)](_0x5604d8(0x215)),_0x19256a=_0x10fa07[_0x5604d8(0x203)],{prefix:_0x3b4f7c,suffix:_0x4a2ac1}=_0x4b7284[_0x5604d8(0x220)][_0x5604d8(0x1e0)](_0x5604d8(0x228)),_0x10e12f={'prefix':_0x3b4f7c,'suffix':_0x4a2ac1,'data':{}};if(_0x5604d8(0x1de)===_0x19256a){for(const _0x95d59 of _0x10fa07[_0x5604d8(0x1f0)]())_0x10e12f[_0x5604d8(0x229)][_0x95d59]=_0x3b4f7c+_0x10fa07[_0x5604d8(0x1fb)](_0x95d59)+_0x4a2ac1;}else{const _0x4e605e=_0x5604d8(0x21f)===_0x19256a?_0x10fa07[_0x5604d8(0x20f)]():_0x10fa07[_0x5604d8(0x1f6)](_0x19256a,!0x0);for(const _0x2fd2a5 of Object[_0x5604d8(0x208)](_0x4e605e)){const [_0x13f2f4,_0x58def9]=_0x2fd2a5;_0x10e12f[_0x5604d8(0x229)][_0x13f2f4]=null!==_0x58def9?_0x58def9:_0x10fa07[_0x5604d8(0x1fb)](_0x13f2f4);}}_0x3954bc[_0x5604d8(0x1e6)][_0x5604d8(0x1dc)]=_0x10e12f;}const _0x479c29={'html':_0x5604d8(0x1f7)+_0x4b7284[_0x5604d8(0x22c)][_0x5604d8(0x21a)]+_0x5604d8(0x1f8)+await _0x335742(_0x4b7284)+_0x5604d8(0x213),'css':_0x5c6d67,'options':_0x3954bc[_0x5604d8(0x1e6)]},_0x71af0c={'method':_0x5604d8(0x1e5),'headers':{'Content-Type':_0x5604d8(0x1ec),'Accept':_0x5604d8(0x1ee),..._0xc46e8e?{'Authorization':_0xc46e8e[_0x5604d8(0x1f4)]}:null,'x-cs-app-id':_0x3954bc[_0x5604d8(0x205)]||_0x5604d8(0x22e)},'body':JSON[_0x5604d8(0x219)](_0x479c29)};return window[_0x5604d8(0x1e8)](_0x4352ad,_0x71af0c)[_0x5604d8(0x217)](_0x3d1273=>{const _0x16ef7d=_0x5604d8;if(0xc8!==_0x3d1273[_0x16ef7d(0x20c)])throw _0x3d1273;return _0x3d1273[_0x16ef7d(0x201)]();})[_0x5604d8(0x217)](_0x2632a2=>{const _0x5b4550=_0x5604d8;_0x4b7284['ui'][_0x5b4550(0x1ef)][_0x5b4550(0x1fa)](_0x2f6506(_0x4b7284[_0x5b4550(0x22c)],_0x5b4550(0x20a)));const _0x40c77b=_0x5b4550(0x1f3)==typeof _0x3954bc[_0x5b4550(0x1e4)]?_0x3954bc[_0x5b4550(0x1e4)]():_0x3954bc[_0x5b4550(0x1e4)];this[_0x5b4550(0x227)](_0x2632a2,_0x40c77b||_0x5b4550(0x1eb));});})[_0x596d52(0x20b)](_0x476303=>{const _0x327f81=_0x596d52,_0x4bb8da=_0x4b7284[_0x327f81(0x222)][_0x327f81(0x1e0)](_0x327f81(0x1f5));throw _0x4b7284['ui'][_0x327f81(0x1ef)][_0x327f81(0x1fa)](_0x2f6506(_0x4b7284[_0x327f81(0x22c)],_0x327f81(0x214)),{'politeness':_0x327f81(0x207)}),_0x4bb8da[_0x327f81(0x226)](_0x2f6506(_0x4b7284[_0x327f81(0x22c)],_0x327f81(0x1e9))),_0x476303;})[_0x596d52(0x206)](()=>{const _0x4c728b=_0x596d52;this[_0x4c728b(0x1f2)]=!0x1,this[_0x4c728b(0x22d)]();});}[_0x509549(0x227)](_0x5a7f17,_0x3384e4){const _0x1473cc=_0x509549,_0xc22864=document[_0x1473cc(0x211)]('a');_0xc22864[_0x1473cc(0x202)]=window[_0x1473cc(0x20e)][_0x1473cc(0x1e2)](_0x5a7f17),_0xc22864[_0x1473cc(0x22a)]=_0x3384e4,_0xc22864[_0x1473cc(0x1f1)](),_0xc22864[_0x1473cc(0x200)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfc305f=_0xe36b;(function(_0x4b0d15,_0x2b493f){const _0x4278ca=_0xe36b,_0x30c79d=_0x4b0d15();while(!![]){try{const _0x331c5e=-parseInt(_0x4278ca(0x123))/0x1+-parseInt(_0x4278ca(0x129))/0x2*(parseInt(_0x4278ca(0x141))/0x3)+parseInt(_0x4278ca(0x137))/0x4+parseInt(_0x4278ca(0x13b))/0x5*(parseInt(_0x4278ca(0x13c))/0x6)+-parseInt(_0x4278ca(0x132))/0x7*(-parseInt(_0x4278ca(0x127))/0x8)+-parseInt(_0x4278ca(0x13d))/0x9+parseInt(_0x4278ca(0x12e))/0xa*(parseInt(_0x4278ca(0x125))/0xb);if(_0x331c5e===_0x2b493f)break;else _0x30c79d['push'](_0x30c79d['shift']());}catch(_0x2c2c35){_0x30c79d['push'](_0x30c79d['shift']());}}}(_0x4fd1,0x983ce));import{Plugin as _0x3139ca}from'ckeditor5/src/core.js';import{ButtonView as _0x32074c,MenuBarMenuListItemButtonView as _0x44c19c,SpinnerView as _0x233b77}from'ckeditor5/src/ui.js';import _0x7f5041 from'../theme/icons/exportpdf.svg';import{getTranslation as _0xce9dc1}from'./utils/common-translations.js';function _0xe36b(_0x459646,_0x2c761a){const _0x4fd14b=_0x4fd1();return _0xe36b=function(_0xe36bb8,_0xef4c88){_0xe36bb8=_0xe36bb8-0x11c;let _0x1387ae=_0x4fd14b[_0xe36bb8];return _0x1387ae;},_0xe36b(_0x459646,_0x2c761a);}export default class i extends _0x3139ca{static get[_0xfc305f(0x139)](){const _0x318197=_0xfc305f;return _0x318197(0x124);}[_0xfc305f(0x11d)](){const _0x5b8af6=_0xfc305f,_0x36f39e=this[_0x5b8af6(0x135)];_0x36f39e['ui'][_0x5b8af6(0x13a)][_0x5b8af6(0x13e)](_0x5b8af6(0x133),()=>{const _0x55b125=_0x5b8af6,_0x511c69=this[_0x55b125(0x134)](_0x32074c),_0x487fac=_0x36f39e[_0x55b125(0x13f)][_0x55b125(0x11f)](_0x55b125(0x133));return _0x511c69[_0x55b125(0x128)]({'tooltip':!0x0}),_0x511c69[_0x55b125(0x136)](_0x55b125(0x12d))['to'](_0x487fac,_0x55b125(0x140)),_0x511c69;}),_0x36f39e['ui'][_0x5b8af6(0x13a)][_0x5b8af6(0x13e)](_0x5b8af6(0x131),()=>this[_0x5b8af6(0x134)](_0x44c19c));}[_0xfc305f(0x134)](_0x54deb4){const _0x55df0e=_0xfc305f,_0x2d8b8f=this[_0x55df0e(0x135)],_0x376456=_0x2d8b8f[_0x55df0e(0x120)][_0x55df0e(0x11f)](_0x55df0e(0x133))||{},_0xf22885=_0x2d8b8f[_0x55df0e(0x13f)][_0x55df0e(0x11f)](_0x55df0e(0x133)),_0x1ec14d=new _0x54deb4(_0x2d8b8f[_0x55df0e(0x11c)]),_0xd132c8=new _0x233b77();return _0x1ec14d[_0x55df0e(0x12b)][_0x55df0e(0x13e)](_0xd132c8),_0xd132c8[_0x55df0e(0x136)](_0x55df0e(0x138))['to'](_0xf22885,_0x55df0e(0x140)),_0x1ec14d[_0x55df0e(0x142)][_0x55df0e(0x136)](_0x55df0e(0x138))['to'](_0xf22885,_0x55df0e(0x140),_0x1b4a79=>!_0x1b4a79),_0x1ec14d[_0x55df0e(0x128)]({'icon':_0x7f5041}),_0x1ec14d[_0x55df0e(0x136)](_0x55df0e(0x12f))['to'](_0xf22885,_0x55df0e(0x12f)),_0x1ec14d[_0x55df0e(0x136)](_0x55df0e(0x130))['to'](_0xf22885,_0x55df0e(0x140),_0x329d9a=>_0xce9dc1(_0x2d8b8f[_0x55df0e(0x11c)],_0x329d9a?_0x55df0e(0x11e):_0x55df0e(0x121))),this[_0x55df0e(0x122)](_0x1ec14d,_0x55df0e(0x126),()=>{const _0x265337=_0x55df0e;_0x2d8b8f[_0x265337(0x126)](_0x265337(0x133),_0x376456),_0x2d8b8f[_0x265337(0x12a)][_0x265337(0x143)][_0x265337(0x12c)]();}),_0x1ec14d;}}function _0x4fd1(){const _0x511f53=['1464984nNUuvF','isVisible','pluginName','componentFactory','5BsGfoo','7074294yFuRjU','647856cDBxmw','add','commands','isBusy','1167309yqbkGd','iconView','view','locale','init','Exporting\x20PDF\x20document','get','config','Export\x20to\x20PDF','listenTo','421769ZaMAUc','ExportPdfUI','40040QeLpky','execute','116952FlHAVn','set','6HGLtdx','editing','children','focus','isOn','1750pquakV','isEnabled','label','menuBar:exportPdf','49ArcOEM','exportPdf','_createButton','editor','bind'];_0x4fd1=function(){return _0x511f53;};return _0x4fd1();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x47d4(){var _0x17c641=['45KuUhrp','322865cdyPKL','2QksDAE','12702tCkkMQ','1500075SDPwBd','682611kIZMmY','3152210zUbGWI','160504dkcZrC','777FXuxDY','942948IZjxre'];_0x47d4=function(){return _0x17c641;};return _0x47d4();}function _0x405d(_0x285b0d,_0x40bedb){var _0x47d4a7=_0x47d4();return _0x405d=function(_0x405ddd,_0x3c5a11){_0x405ddd=_0x405ddd-0x152;var _0x2b2d8d=_0x47d4a7[_0x405ddd];return _0x2b2d8d;},_0x405d(_0x285b0d,_0x40bedb);}(function(_0x35e225,_0x220f73){var _0x5d32b7=_0x405d,_0x2f185a=_0x35e225();while(!![]){try{var _0x4259a6=parseInt(_0x5d32b7(0x158))/0x1+parseInt(_0x5d32b7(0x159))/0x2*(-parseInt(_0x5d32b7(0x152))/0x3)+parseInt(_0x5d32b7(0x156))/0x4+parseInt(_0x5d32b7(0x15b))/0x5+parseInt(_0x5d32b7(0x15a))/0x6*(-parseInt(_0x5d32b7(0x155))/0x7)+-parseInt(_0x5d32b7(0x154))/0x8*(-parseInt(_0x5d32b7(0x157))/0x9)+-parseInt(_0x5d32b7(0x153))/0xa;if(_0x4259a6===_0x220f73)break;else _0x2f185a['push'](_0x2f185a['shift']());}catch(_0x52f38b){_0x2f185a['push'](_0x2f185a['shift']());}}}(_0x47d4,0x2c3c3));export{default as ExportPdf}from'./exportpdf.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2f7e7b,_0x53d5e5){const t=_0x2f7e7b['t'];switch(_0x53d5e5){case'Export\x20to\x20PDF':return t('Export\x20to\x20PDF');case'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.':return t('An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.');case'PDF\x20export\x20started':return t('PDF\x20export\x20started');case'PDF\x20export\x20failed':return t('PDF\x20export\x20failed');case'PDF\x20export\x20successful':return t('PDF\x20export\x20successful');case'Exporting\x20PDF\x20document':return t('Exporting\x20PDF\x20document');default:return _0x53d5e5;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ab2a7,_0x5af4ef){const _0x1592d7=_0x50cd,_0x5a5b64=_0x5ab2a7();while(!![]){try{const _0x5ab269=parseInt(_0x1592d7(0x8a))/0x1*(parseInt(_0x1592d7(0x94))/0x2)+-parseInt(_0x1592d7(0x9f))/0x3+-parseInt(_0x1592d7(0x9b))/0x4+-parseInt(_0x1592d7(0x98))/0x5*(parseInt(_0x1592d7(0x85))/0x6)+-parseInt(_0x1592d7(0x96))/0x7+parseInt(_0x1592d7(0x91))/0x8*(parseInt(_0x1592d7(0x86))/0x9)+parseInt(_0x1592d7(0x95))/0xa*(parseInt(_0x1592d7(0x9e))/0xb);if(_0x5ab269===_0x5af4ef)break;else _0x5a5b64['push'](_0x5a5b64['shift']());}catch(_0x1d2ae6){_0x5a5b64['push'](_0x5a5b64['shift']());}}}(_0x5e84,0x75398));export function getStyles(_0x11c5b2){const _0x5a8540=_0x50cd;if(!_0x11c5b2)return new Promise(_0x1bf9e0=>_0x1bf9e0(''));const _0xf31261=[];for(const _0x492f2a of _0x11c5b2)_0x5a8540(0x9c)!==_0x492f2a?_0xf31261[_0x5a8540(0x8d)](window[_0x5a8540(0xa0)](_0x492f2a)[_0x5a8540(0x9a)](_0x3fc5ee=>_0x3fc5ee[_0x5a8540(0x92)]())):_0xf31261[_0x5a8540(0x8d)](a());return Promise[_0x5a8540(0x8e)](_0xf31261)[_0x5a8540(0x9a)](_0x4b1b27=>_0x4b1b27[_0x5a8540(0x9d)]('\x20')[_0x5a8540(0xa1)]());}function a(){const _0x3a1088=_0x50cd,_0x16764f=[],_0x92c52a=[];for(const _0x4aa718 of Array[_0x3a1088(0x87)](document[_0x3a1088(0x93)])){if(_0x4aa718[_0x3a1088(0x84)][_0x3a1088(0x97)](_0x3a1088(0x8c))){for(const _0x12407c of Array[_0x3a1088(0x87)](_0x4aa718[_0x3a1088(0x88)]))-0x1!==_0x12407c[_0x3a1088(0x83)][_0x3a1088(0x90)](_0x3a1088(0x8f))?_0x16764f[_0x3a1088(0x8d)](_0x12407c[_0x3a1088(0x83)]):-0x1!==_0x12407c[_0x3a1088(0x83)][_0x3a1088(0x90)](_0x3a1088(0x8b))&&_0x92c52a[_0x3a1088(0x8d)](_0x12407c[_0x3a1088(0x83)]);}}return _0x16764f[_0x3a1088(0x99)]||console[_0x3a1088(0x82)](_0x3a1088(0x89)),[..._0x92c52a,..._0x16764f][_0x3a1088(0x9d)]('\x20')[_0x3a1088(0xa1)]();}function _0x50cd(_0x49c289,_0x2b25cb){const _0x5e846a=_0x5e84();return _0x50cd=function(_0x50cd3e,_0x56f8cc){_0x50cd3e=_0x50cd3e-0x82;let _0x2d469f=_0x5e846a[_0x50cd3e];return _0x2d469f;},_0x50cd(_0x49c289,_0x2b25cb);}function _0x5e84(){const _0x40ce4d=['all','.ck-content','indexOf','8DBztaX','text','styleSheets','882506GyTrXW','5351380DBydEB','150521zuKxaP','hasAttribute','4915arwHRZ','length','then','1208776dnyxFi','EDITOR_STYLES','join','22pJVzqE','1674753iGeOGj','fetch','trim','warn','cssText','ownerNode','4764WQhuly','5679657yTRLtj','from','cssRules','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.','1XVepMm',':root','data-cke','push'];_0x5e84=function(){return _0x40ce4d;};return _0x5e84();}
|