@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240814.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-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
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':_0x4dd4c4=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa12468=>{const {zh:{dictionary:_0xb3f6d8,getPluralForm:_0x2c877a}}={'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':_0x4c33b6=>0x0}};_0xa12468['zh']||={'dictionary':{},'getPluralForm':null},_0xa12468['zh']['dictionary']=Object['assign'](_0xa12468['zh']['dictionary'],_0xb3f6d8),_0xa12468['zh']['getPluralForm']=_0x2c877a;})(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-20240815.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-20240815.0",
|
|
34
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240815.0",
|
|
35
|
+
"ckeditor5": "0.0.0-nightly-20240815.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
|
-
const
|
|
23
|
+
function _0x4c18(){const _0x1d205c=['tokenUrl','pluginName','387410kgKnSV','editor','42IbMOfX','633Ubqrfw','requires','513423rGWOGL','plugins','commands','token','add','40THvUQg','74220DFqzqs','registerTokenUrl','22165247sYutwZ','ExportPdf','4ZkZwth','get','then','init','6404GabdHM','exportPdf','425856zXYAHZ','229965WfFIrZ','1254qpkQaP','_token','config','CloudServices','30tobnTr'];_0x4c18=function(){return _0x1d205c;};return _0x4c18();}const _0x5667f8=_0x19cd;(function(_0x1e9715,_0x2e541e){const _0x272a36=_0x19cd,_0x479803=_0x1e9715();while(!![]){try{const _0x30b6b6=parseInt(_0x272a36(0x181))/0x1*(-parseInt(_0x272a36(0x172))/0x2)+-parseInt(_0x272a36(0x184))/0x3*(-parseInt(_0x272a36(0x176))/0x4)+-parseInt(_0x272a36(0x179))/0x5*(parseInt(_0x272a36(0x17e))/0x6)+parseInt(_0x272a36(0x183))/0x7*(parseInt(_0x272a36(0x178))/0x8)+parseInt(_0x272a36(0x186))/0x9*(-parseInt(_0x272a36(0x16d))/0xa)+parseInt(_0x272a36(0x17a))/0xb*(-parseInt(_0x272a36(0x16e))/0xc)+parseInt(_0x272a36(0x170))/0xd;if(_0x30b6b6===_0x2e541e)break;else _0x479803['push'](_0x479803['shift']());}catch(_0x52bad3){_0x479803['push'](_0x479803['shift']());}}}(_0x4c18,0x678df));import{Plugin as _0x7a71f2}from'ckeditor5/src/core.js';import{Notification as _0x2ed8b4}from'ckeditor5/src/ui.js';import _0x498149 from'./exportpdfcommand.js';import _0x3a8881 from'./exportpdfui.js';function _0x19cd(_0x5f52b4,_0x279b04){const _0x4c18d6=_0x4c18();return _0x19cd=function(_0x19cd77,_0x2f63fb){_0x19cd77=_0x19cd77-0x16d;let _0x4606e3=_0x4c18d6[_0x19cd77];return _0x4606e3;},_0x19cd(_0x5f52b4,_0x279b04);}export default class s extends _0x7a71f2{static get[_0x5667f8(0x180)](){const _0x3dc131=_0x5667f8;return _0x3dc131(0x171);}static get[_0x5667f8(0x185)](){const _0x57cc5c=_0x5667f8;return[_0x57cc5c(0x17d),_0x2ed8b4,_0x3a8881];}[_0x5667f8(0x175)](){const _0x186a5f=_0x5667f8,_0x391599=this[_0x186a5f(0x182)],_0xbbf391=_0x391599[_0x186a5f(0x17c)][_0x186a5f(0x173)](_0x186a5f(0x177))||{};_0x391599[_0x186a5f(0x188)][_0x186a5f(0x18a)](_0x186a5f(0x177),new _0x498149(_0x391599));const _0x2af305=_0x391599[_0x186a5f(0x187)][_0x186a5f(0x173)](_0x186a5f(0x17d));!0x1===_0xbbf391[_0x186a5f(0x17f)]?this[_0x186a5f(0x17b)]=null:_0xbbf391[_0x186a5f(0x17f)]?_0x2af305[_0x186a5f(0x16f)](_0xbbf391[_0x186a5f(0x17f)])[_0x186a5f(0x174)](_0x1d0130=>{const _0x58ff71=_0x186a5f;this[_0x58ff71(0x17b)]=_0x1d0130;}):this[_0x186a5f(0x17b)]=_0x2af305[_0x186a5f(0x189)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15ffef=_0x1bff;function _0x1bff(_0x4632e4,_0x21d345){const _0x554e39=_0x554e();return _0x1bff=function(_0x1bffdb,_0x328158){_0x1bffdb=_0x1bffdb-0x87;let _0x1d6974=_0x554e39[_0x1bffdb];return _0x1d6974;},_0x1bff(_0x4632e4,_0x21d345);}(function(_0x5ba51d,_0x1c7626){const _0x14d2f8=_0x1bff,_0x320c35=_0x5ba51d();while(!![]){try{const _0x4688bc=parseInt(_0x14d2f8(0xd7))/0x1*(parseInt(_0x14d2f8(0xa6))/0x2)+-parseInt(_0x14d2f8(0xa8))/0x3+-parseInt(_0x14d2f8(0xaf))/0x4*(parseInt(_0x14d2f8(0xb0))/0x5)+-parseInt(_0x14d2f8(0x9b))/0x6*(parseInt(_0x14d2f8(0xce))/0x7)+parseInt(_0x14d2f8(0xd9))/0x8+parseInt(_0x14d2f8(0xc3))/0x9+-parseInt(_0x14d2f8(0xcb))/0xa*(-parseInt(_0x14d2f8(0xd3))/0xb);if(_0x4688bc===_0x1c7626)break;else _0x320c35['push'](_0x320c35['shift']());}catch(_0x439fa5){_0x320c35['push'](_0x320c35['shift']());}}}(_0x554e,0x36ba0));import{Command as _0x3b8d28}from'ckeditor5/src/core.js';import{getStyles as _0x37b05d}from'./utils.js';import{getTranslation as _0x16dfba}from'./utils/common-translations.js';function _0x554e(){const _0x25817f=['entries','has','click','execute','editor','4cLyrWg','755bySuSV','PDF\x20export\x20successful','stylesheets','plugins','MergeFieldsEditing','function','config','blob','_token','application/json','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','href','assertive','ariaLiveAnnouncer','merge_fields','$defaultValues','Notification','getLabel','download','3677472xPmcVX','_downloadFile','cke5','set','finally','isEnabled','mergeFields','PDF\x20export\x20failed','10bKNXpM','https://pdf-converter.cke-cs.com/v1/convert/','ExportPdf','62993jDzYZO','PDF\x20export\x20started','<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','previewMode','converterUrl','494637UbywOD','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','contentLanguageDirection','stringify','64Immczv','data','1657672NznMOG','EDITOR_STYLES','getDataSetValues','value','getMergeFieldsIds','isBusy','remove','get','getDefaultValues','dataCallback','affectsData','application/pdf','URL','document.pdf','createObjectURL','fileName','fetch','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','pending','MergeFields','converterOptions','84gRVEkE','createElement','catch','status','showWarning','then','locale','$labels','refresh','appID','token','502iIiXLs','POST','979653Eotwhz','announce'];_0x554e=function(){return _0x25817f;};return _0x554e();}export default class o extends _0x3b8d28{constructor(_0x7fec40){const _0x3f69e1=_0x1bff;super(_0x7fec40),this[_0x3f69e1(0xc6)](_0x3f69e1(0x8b),!0x1),this[_0x3f69e1(0x90)]=!0x1;}[_0x15ffef(0xa3)](){const _0x1bda06=_0x15ffef;this[_0x1bda06(0xc8)]=!this[_0x1bda06(0x8b)],this[_0x1bda06(0x89)]=this[_0x1bda06(0x8b)]?_0x1bda06(0x98):void 0x0;}[_0x15ffef(0xad)](_0x36734b={}){const _0x402ab5=_0x15ffef,_0xd8c1a7=this[_0x402ab5(0xae)],_0xebbaf6=_0x36734b[_0x402ab5(0xd2)]||_0x402ab5(0xcc),_0x1f8f9a=_0x36734b[_0x402ab5(0x8f)]||(_0x94bd98=>_0x94bd98[_0x402ab5(0xd8)][_0x402ab5(0x8d)]()),_0x388548=_0xd8c1a7[_0x402ab5(0xb3)][_0x402ab5(0x8d)](_0x402ab5(0xcd)),_0x2557da=_0x36734b[_0x402ab5(0xa5)]||_0x388548[_0x402ab5(0xb8)];return this[_0x402ab5(0x8b)]=!0x0,this[_0x402ab5(0xa3)](),_0x37b05d(_0x36734b[_0x402ab5(0xb2)]||[_0x402ab5(0x87)])[_0x402ab5(0xa0)](async _0x2d55cb=>{const _0x29329e=_0x402ab5;if(_0xd8c1a7['ui'][_0x29329e(0xbd)][_0x29329e(0xa9)](_0x16dfba(_0xd8c1a7[_0x29329e(0xa1)],_0x29329e(0xcf))),_0xd8c1a7[_0x29329e(0xb3)][_0x29329e(0xab)](_0x29329e(0x99))){_0x36734b[_0x29329e(0x9a)]||(_0x36734b[_0x29329e(0x9a)]={});const _0x32c50e=_0xd8c1a7[_0x29329e(0xb3)][_0x29329e(0x8d)](_0x29329e(0xb4)),_0x361b5d=_0x32c50e[_0x29329e(0xd1)],{prefix:_0x385567,suffix:_0xf9a729}=_0xd8c1a7[_0x29329e(0xb6)][_0x29329e(0x8d)](_0x29329e(0xc9)),_0x91c9f8={'prefix':_0x385567,'suffix':_0xf9a729,'data':{}};if(_0x29329e(0xa2)===_0x361b5d){for(const _0x4bbd12 of _0x32c50e[_0x29329e(0x8a)]())_0x91c9f8[_0x29329e(0xd8)][_0x4bbd12]=_0x385567+_0x32c50e[_0x29329e(0xc1)](_0x4bbd12)+_0xf9a729;}else{const _0x3a0af6=_0x29329e(0xbf)===_0x361b5d?_0x32c50e[_0x29329e(0x8e)]():_0x32c50e[_0x29329e(0x88)](_0x361b5d,!0x0);for(const _0x153eef of Object[_0x29329e(0xaa)](_0x3a0af6)){const [_0xa63294,_0x2bee02]=_0x153eef;_0x91c9f8[_0x29329e(0xd8)][_0xa63294]=null!==_0x2bee02?_0x2bee02:_0x32c50e[_0x29329e(0xc1)](_0xa63294);}}_0x36734b[_0x29329e(0x9a)][_0x29329e(0xbe)]=_0x91c9f8;}const _0x1bdfe9={'html':_0x29329e(0xd0)+_0xd8c1a7[_0x29329e(0xa1)][_0x29329e(0xd5)]+_0x29329e(0x97)+await _0x1f8f9a(_0xd8c1a7)+_0x29329e(0xba),'css':_0x2d55cb,'options':_0x36734b[_0x29329e(0x9a)]},_0x562ed4={'method':_0x29329e(0xa7),'headers':{'Content-Type':_0x29329e(0xb9),'Accept':_0x29329e(0x91),..._0x2557da?{'Authorization':_0x2557da[_0x29329e(0x89)]}:null,'x-cs-app-id':_0x36734b[_0x29329e(0xa4)]||_0x29329e(0xc5)},'body':JSON[_0x29329e(0xd6)](_0x1bdfe9)};return window[_0x29329e(0x96)](_0xebbaf6,_0x562ed4)[_0x29329e(0xa0)](_0x2de52a=>{const _0x581aa0=_0x29329e;if(0xc8!==_0x2de52a[_0x581aa0(0x9e)])throw _0x2de52a;return _0x2de52a[_0x581aa0(0xb7)]();})[_0x29329e(0xa0)](_0x2040bd=>{const _0x33831e=_0x29329e;_0xd8c1a7['ui'][_0x33831e(0xbd)][_0x33831e(0xa9)](_0x16dfba(_0xd8c1a7[_0x33831e(0xa1)],_0x33831e(0xb1)));const _0x352db5=_0x33831e(0xb5)==typeof _0x36734b[_0x33831e(0x95)]?_0x36734b[_0x33831e(0x95)]():_0x36734b[_0x33831e(0x95)];this[_0x33831e(0xc4)](_0x2040bd,_0x352db5||_0x33831e(0x93));});})[_0x402ab5(0x9d)](_0xa8acb4=>{const _0x9efb31=_0x402ab5,_0x1c8b54=_0xd8c1a7[_0x9efb31(0xb3)][_0x9efb31(0x8d)](_0x9efb31(0xc0));throw _0xd8c1a7['ui'][_0x9efb31(0xbd)][_0x9efb31(0xa9)](_0x16dfba(_0xd8c1a7[_0x9efb31(0xa1)],_0x9efb31(0xca)),{'politeness':_0x9efb31(0xbc)}),_0x1c8b54[_0x9efb31(0x9f)](_0x16dfba(_0xd8c1a7[_0x9efb31(0xa1)],_0x9efb31(0xd4))),_0xa8acb4;})[_0x402ab5(0xc7)](()=>{const _0x4eb749=_0x402ab5;this[_0x4eb749(0x8b)]=!0x1,this[_0x4eb749(0xa3)]();});}[_0x15ffef(0xc4)](_0x417fa0,_0x3a9739){const _0x6db8b4=_0x15ffef,_0x11babd=document[_0x6db8b4(0x9c)]('a');_0x11babd[_0x6db8b4(0xbb)]=window[_0x6db8b4(0x92)][_0x6db8b4(0x94)](_0x417fa0),_0x11babd[_0x6db8b4(0xc2)]=_0x3a9739,_0x11babd[_0x6db8b4(0xac)](),_0x11babd[_0x6db8b4(0x8c)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x323ea0=_0x4cb9;(function(_0x996e44,_0x3bcd76){const _0x7c054d=_0x4cb9,_0x5e1d1a=_0x996e44();while(!![]){try{const _0x102a31=parseInt(_0x7c054d(0x10a))/0x1*(-parseInt(_0x7c054d(0xec))/0x2)+-parseInt(_0x7c054d(0x108))/0x3*(parseInt(_0x7c054d(0x101))/0x4)+parseInt(_0x7c054d(0x10e))/0x5+-parseInt(_0x7c054d(0xf3))/0x6*(-parseInt(_0x7c054d(0x107))/0x7)+-parseInt(_0x7c054d(0xeb))/0x8+parseInt(_0x7c054d(0x10f))/0x9+-parseInt(_0x7c054d(0xfa))/0xa*(-parseInt(_0x7c054d(0x104))/0xb);if(_0x102a31===_0x3bcd76)break;else _0x5e1d1a['push'](_0x5e1d1a['shift']());}catch(_0x508eb0){_0x5e1d1a['push'](_0x5e1d1a['shift']());}}}(_0x30cf,0xcec99));import{Plugin as _0x208cb4}from'ckeditor5/src/core.js';function _0x4cb9(_0x82c71e,_0x1a2414){const _0x30cf8b=_0x30cf();return _0x4cb9=function(_0x4cb993,_0x18259f){_0x4cb993=_0x4cb993-0xe9;let _0x43b746=_0x30cf8b[_0x4cb993];return _0x43b746;},_0x4cb9(_0x82c71e,_0x1a2414);}function _0x30cf(){const _0x54d25b=['exportPdf','isBusy','11SnFybp','Exporting\x20PDF\x20document','config','4387012NlivSU','3vpQtnl','iconView','33QvwHEo','children','ExportPdfUI','Export\x20to\x20PDF','5115190StGTEg','11127843xagIjF','editing','isOn','editor','5323496YArArZ','68222iOqxPb','componentFactory','pluginName','label','_createButton','view','isEnabled','6MwwGZx','commands','bind','isVisible','menuBar:exportPdf','init','get','6855830VtQreD','execute','set','locale','focus','add','listenTo','3734652rHtHML'];_0x30cf=function(){return _0x54d25b;};return _0x30cf();}import{ButtonView as _0xf8841b,MenuBarMenuListItemButtonView as _0x1295eb,SpinnerView as _0x86784c}from'ckeditor5/src/ui.js';import _0x47dd3a from'../theme/icons/exportpdf.svg';import{getTranslation as _0x3e726d}from'./utils/common-translations.js';export default class i extends _0x208cb4{static get[_0x323ea0(0xee)](){const _0x66174d=_0x323ea0;return _0x66174d(0x10c);}[_0x323ea0(0xf8)](){const _0x2998ef=_0x323ea0,_0x40f249=this[_0x2998ef(0xea)];_0x40f249['ui'][_0x2998ef(0xed)][_0x2998ef(0xff)](_0x2998ef(0x102),()=>{const _0x3edeb1=_0x2998ef,_0xf3f7d0=this[_0x3edeb1(0xf0)](_0xf8841b),_0x26ee04=_0x40f249[_0x3edeb1(0xf4)][_0x3edeb1(0xf9)](_0x3edeb1(0x102));return _0xf3f7d0[_0x3edeb1(0xfc)]({'tooltip':!0x0}),_0xf3f7d0[_0x3edeb1(0xf5)](_0x3edeb1(0xe9))['to'](_0x26ee04,_0x3edeb1(0x103)),_0xf3f7d0;}),_0x40f249['ui'][_0x2998ef(0xed)][_0x2998ef(0xff)](_0x2998ef(0xf7),()=>this[_0x2998ef(0xf0)](_0x1295eb));}[_0x323ea0(0xf0)](_0x234c92){const _0xe8d1e9=_0x323ea0,_0x5c6699=this[_0xe8d1e9(0xea)],_0x3707e2=_0x5c6699[_0xe8d1e9(0x106)][_0xe8d1e9(0xf9)](_0xe8d1e9(0x102))||{},_0x2ddee1=_0x5c6699[_0xe8d1e9(0xf4)][_0xe8d1e9(0xf9)](_0xe8d1e9(0x102)),_0x345d86=new _0x234c92(_0x5c6699[_0xe8d1e9(0xfd)]),_0x19e9df=new _0x86784c();return _0x345d86[_0xe8d1e9(0x10b)][_0xe8d1e9(0xff)](_0x19e9df),_0x19e9df[_0xe8d1e9(0xf5)](_0xe8d1e9(0xf6))['to'](_0x2ddee1,_0xe8d1e9(0x103)),_0x345d86[_0xe8d1e9(0x109)][_0xe8d1e9(0xf5)](_0xe8d1e9(0xf6))['to'](_0x2ddee1,_0xe8d1e9(0x103),_0x1e2710=>!_0x1e2710),_0x345d86[_0xe8d1e9(0xfc)]({'icon':_0x47dd3a}),_0x345d86[_0xe8d1e9(0xf5)](_0xe8d1e9(0xf2))['to'](_0x2ddee1,_0xe8d1e9(0xf2)),_0x345d86[_0xe8d1e9(0xf5)](_0xe8d1e9(0xef))['to'](_0x2ddee1,_0xe8d1e9(0x103),_0x21aa03=>_0x3e726d(_0x5c6699[_0xe8d1e9(0xfd)],_0x21aa03?_0xe8d1e9(0x105):_0xe8d1e9(0x10d))),this[_0xe8d1e9(0x100)](_0x345d86,_0xe8d1e9(0xfb),()=>{const _0x3fe921=_0xe8d1e9;_0x5c6699[_0x3fe921(0xfb)](_0x3fe921(0x102),_0x3707e2),_0x5c6699[_0x3fe921(0x110)][_0x3fe921(0xf1)][_0x3fe921(0xfe)]();}),_0x345d86;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5a71(){var _0x3f2cc1=['288GjolhE','2138585VqGOXU','1171iZpynp','32283jKXrbi','1346UzySLw','4610543JwgrLP','479560iwoNVI','2849640VvXPEW','2220834UwzsKJ'];_0x5a71=function(){return _0x3f2cc1;};return _0x5a71();}(function(_0x2aab56,_0x459f52){var _0x16f54b=_0x2d39,_0x2e1163=_0x2aab56();while(!![]){try{var _0x1ad977=parseInt(_0x16f54b(0x199))/0x1*(-parseInt(_0x16f54b(0x19b))/0x2)+parseInt(_0x16f54b(0x196))/0x3+-parseInt(_0x16f54b(0x19d))/0x4+parseInt(_0x16f54b(0x198))/0x5+-parseInt(_0x16f54b(0x19e))/0x6+parseInt(_0x16f54b(0x19c))/0x7+parseInt(_0x16f54b(0x197))/0x8*(parseInt(_0x16f54b(0x19a))/0x9);if(_0x1ad977===_0x459f52)break;else _0x2e1163['push'](_0x2e1163['shift']());}catch(_0x4965a4){_0x2e1163['push'](_0x2e1163['shift']());}}}(_0x5a71,0x8bdbf));function _0x2d39(_0x3de960,_0x97e61){var _0x5a718d=_0x5a71();return _0x2d39=function(_0x2d398c,_0x45c8e4){_0x2d398c=_0x2d398c-0x196;var _0xa0b77b=_0x5a718d[_0x2d398c];return _0xa0b77b;},_0x2d39(_0x3de960,_0x97e61);}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(_0x38b215,_0x4663f1){const t=_0x38b215['t'];switch(_0x4663f1){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 _0x4663f1;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1b8da2,_0xbb37bd){const _0x19d85f=_0x10dc,_0x40cba1=_0x1b8da2();while(!![]){try{const _0x963b3d=parseInt(_0x19d85f(0xc9))/0x1+parseInt(_0x19d85f(0xb7))/0x2*(-parseInt(_0x19d85f(0xc8))/0x3)+-parseInt(_0x19d85f(0xc4))/0x4*(-parseInt(_0x19d85f(0xcd))/0x5)+-parseInt(_0x19d85f(0xca))/0x6*(parseInt(_0x19d85f(0xb9))/0x7)+-parseInt(_0x19d85f(0xb6))/0x8+parseInt(_0x19d85f(0xb8))/0x9+parseInt(_0x19d85f(0xc2))/0xa;if(_0x963b3d===_0xbb37bd)break;else _0x40cba1['push'](_0x40cba1['shift']());}catch(_0x50df80){_0x40cba1['push'](_0x40cba1['shift']());}}}(_0x2309,0x8508c));function _0x10dc(_0x55d4ab,_0x3e2309){const _0x2309fb=_0x2309();return _0x10dc=function(_0x10dca1,_0xc5bd80){_0x10dca1=_0x10dca1-0xb4;let _0x35eedf=_0x2309fb[_0x10dca1];return _0x35eedf;},_0x10dc(_0x55d4ab,_0x3e2309);}export function getStyles(_0x2a9e2a){const _0x2bce37=_0x10dc;if(!_0x2a9e2a)return new Promise(_0x53c88c=>_0x53c88c(''));const _0x1ab1a9=[];for(const _0xfbedae of _0x2a9e2a)_0x2bce37(0xcf)!==_0xfbedae?_0x1ab1a9[_0x2bce37(0xd1)](window[_0x2bce37(0xb5)](_0xfbedae)[_0x2bce37(0xc5)](_0x298522=>_0x298522[_0x2bce37(0xbd)]())):_0x1ab1a9[_0x2bce37(0xd1)](a());return Promise[_0x2bce37(0xbe)](_0x1ab1a9)[_0x2bce37(0xc5)](_0xb3748=>_0xb3748[_0x2bce37(0xd2)]('\x20')[_0x2bce37(0xd0)]());}function a(){const _0x4cb465=_0x10dc,_0x801d68=[],_0x36880b=[];for(const _0x58c544 of Array[_0x4cb465(0xbc)](document[_0x4cb465(0xc3)])){if(_0x58c544[_0x4cb465(0xc0)][_0x4cb465(0xc7)](_0x4cb465(0xbf))){for(const _0x22f8a0 of Array[_0x4cb465(0xbc)](_0x58c544[_0x4cb465(0xcc)]))-0x1!==_0x22f8a0[_0x4cb465(0xc6)][_0x4cb465(0xce)](_0x4cb465(0xc1))?_0x801d68[_0x4cb465(0xd1)](_0x22f8a0[_0x4cb465(0xc6)]):-0x1!==_0x22f8a0[_0x4cb465(0xc6)][_0x4cb465(0xce)](_0x4cb465(0xb4))&&_0x36880b[_0x4cb465(0xd1)](_0x22f8a0[_0x4cb465(0xc6)]);}}return _0x801d68[_0x4cb465(0xcb)]||console[_0x4cb465(0xba)](_0x4cb465(0xbb)),[..._0x36880b,..._0x801d68][_0x4cb465(0xd2)]('\x20')[_0x4cb465(0xd0)]();}function _0x2309(){const _0x58a953=['EDITOR_STYLES','trim','push','join',':root','fetch','8103408xdxsRI','18482nXMVyA','7258716ClRerb','136773lpKzEF','warn','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.','from','text','all','data-cke','ownerNode','.ck-content','10046330VJCuBR','styleSheets','1074268tuvMLl','then','cssText','hasAttribute','336LfUsYD','645273EuBrqG','288dTtCTS','length','cssRules','20LYOvbG','indexOf'];_0x2309=function(){return _0x58a953;};return _0x2309();}
|