@ckeditor/ckeditor5-export-pdf 43.1.0-alpha.5 → 43.1.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-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':_0xb83f15=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xb1b8fd=>{const {zh:{dictionary:_0x31cfc1,getPluralForm:_0x54ceca}}={'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':_0x5ed00f=>0x0}};_0xb1b8fd['zh']||={'dictionary':{},'getPluralForm':null},_0xb1b8fd['zh']['dictionary']=Object['assign'](_0xb1b8fd['zh']['dictionary'],_0x31cfc1),_0xb1b8fd['zh']['getPluralForm']=_0x54ceca;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-pdf",
|
|
3
|
-
"version": "43.1.0-alpha.
|
|
3
|
+
"version": "43.1.0-alpha.6",
|
|
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": "43.1.0-alpha.
|
|
34
|
-
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.
|
|
35
|
-
"ckeditor5": "43.1.0-alpha.
|
|
33
|
+
"@ckeditor/ckeditor5-core": "43.1.0-alpha.6",
|
|
34
|
+
"@ckeditor/ckeditor5-ui": "43.1.0-alpha.6",
|
|
35
|
+
"ckeditor5": "43.1.0-alpha.6"
|
|
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 _0x3488(){const _0x1f177a=['plugins','181866Wrqjpc','1975644ZcaQTt','get','requires','2482962NJGgBQ','560096RvAnDS','config','commands','6374800kZNkyV','then','34KLcIYL','registerTokenUrl','add','token','ExportPdf','init','pluginName','_token','tokenUrl','exportPdf','editor','8BEuQng','CloudServices','9564289ydEQso','225476zdVoPA'];_0x3488=function(){return _0x1f177a;};return _0x3488();}const _0x37d16f=_0xd741;(function(_0x142f90,_0x1449d9){const _0xcf8b76=_0xd741,_0x272e53=_0x142f90();while(!![]){try{const _0x22d537=-parseInt(_0xcf8b76(0xfa))/0x1+-parseInt(_0xcf8b76(0x106))/0x2*(-parseInt(_0xcf8b76(0xfc))/0x3)+-parseInt(_0xcf8b76(0x101))/0x4+parseInt(_0xcf8b76(0x104))/0x5+parseInt(_0xcf8b76(0x100))/0x6+-parseInt(_0xcf8b76(0xf9))/0x7*(parseInt(_0xcf8b76(0xf7))/0x8)+-parseInt(_0xcf8b76(0xfd))/0x9;if(_0x22d537===_0x1449d9)break;else _0x272e53['push'](_0x272e53['shift']());}catch(_0xf1a64c){_0x272e53['push'](_0x272e53['shift']());}}}(_0x3488,0xbb812));import{Plugin as _0x1f65de}from'ckeditor5/src/core.js';import{Notification as _0x119178}from'ckeditor5/src/ui.js';function _0xd741(_0x186278,_0x331275){const _0x348812=_0x3488();return _0xd741=function(_0xd741fb,_0x25e015){_0xd741fb=_0xd741fb-0xf6;let _0xd7ee63=_0x348812[_0xd741fb];return _0xd7ee63;},_0xd741(_0x186278,_0x331275);}import _0x6fa26 from'./exportpdfcommand.js';import _0x5a7a27 from'./exportpdfui.js';export default class s extends _0x1f65de{static get[_0x37d16f(0x10c)](){const _0x21ed5e=_0x37d16f;return _0x21ed5e(0x10a);}static get[_0x37d16f(0xff)](){const _0x4683ee=_0x37d16f;return[_0x4683ee(0xf8),_0x119178,_0x5a7a27];}[_0x37d16f(0x10b)](){const _0x471fdf=_0x37d16f,_0x6223b6=this[_0x471fdf(0xf6)],_0x2c8e5d=_0x6223b6[_0x471fdf(0x102)][_0x471fdf(0xfe)](_0x471fdf(0x10f))||{};_0x6223b6[_0x471fdf(0x103)][_0x471fdf(0x108)](_0x471fdf(0x10f),new _0x6fa26(_0x6223b6));const _0x40da41=_0x6223b6[_0x471fdf(0xfb)][_0x471fdf(0xfe)](_0x471fdf(0xf8));!0x1===_0x2c8e5d[_0x471fdf(0x10e)]?this[_0x471fdf(0x10d)]=null:_0x2c8e5d[_0x471fdf(0x10e)]?_0x40da41[_0x471fdf(0x107)](_0x2c8e5d[_0x471fdf(0x10e)])[_0x471fdf(0x105)](_0x4afadb=>{const _0x591d4c=_0x471fdf;this[_0x591d4c(0x10d)]=_0x4afadb;}):this[_0x471fdf(0x10d)]=_0x40da41[_0x471fdf(0x109)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3050ac=_0x4280;(function(_0x499592,_0x55df18){const _0x55f132=_0x4280,_0x29d690=_0x499592();while(!![]){try{const _0x7eef5c=parseInt(_0x55f132(0x7f))/0x1+-parseInt(_0x55f132(0xac))/0x2+parseInt(_0x55f132(0x9f))/0x3*(parseInt(_0x55f132(0xb0))/0x4)+-parseInt(_0x55f132(0x70))/0x5+-parseInt(_0x55f132(0x83))/0x6*(parseInt(_0x55f132(0x87))/0x7)+parseInt(_0x55f132(0x96))/0x8+parseInt(_0x55f132(0x86))/0x9;if(_0x7eef5c===_0x55df18)break;else _0x29d690['push'](_0x29d690['shift']());}catch(_0x1cca48){_0x29d690['push'](_0x29d690['shift']());}}}(_0x5332,0x692d0));import{Command as _0x4b8fca}from'ckeditor5/src/core.js';import{getStyles as _0x3af93e}from'./utils.js';import{getTranslation as _0x346d8a}from'./utils/common-translations.js';function _0x4280(_0x277aa5,_0xf7bd42){const _0x533254=_0x5332();return _0x4280=function(_0x428000,_0x491388){_0x428000=_0x428000-0x66;let _0x116e68=_0x533254[_0x428000];return _0x116e68;},_0x4280(_0x277aa5,_0xf7bd42);}export default class o extends _0x4b8fca{constructor(_0x242a87){const _0x3a65e0=_0x4280;super(_0x242a87),this[_0x3a65e0(0x99)](_0x3a65e0(0x6e),!0x1),this[_0x3a65e0(0xa0)]=!0x1;}[_0x3050ac(0xa3)](){const _0x19e34b=_0x3050ac;this[_0x19e34b(0x9c)]=!this[_0x19e34b(0x6e)],this[_0x19e34b(0x77)]=this[_0x19e34b(0x6e)]?_0x19e34b(0x7a):void 0x0;}[_0x3050ac(0x6c)](_0xfac6fe={}){const _0x5be211=_0x3050ac,_0x8fdb9a=this[_0x5be211(0x7d)],_0x9ad992=_0xfac6fe[_0x5be211(0x73)]||_0x5be211(0x76),_0x295acf=_0xfac6fe[_0x5be211(0x67)]||(_0x4d0ac5=>_0x4d0ac5[_0x5be211(0xa6)][_0x5be211(0xb5)]()),_0x41556d=_0x8fdb9a[_0x5be211(0x82)][_0x5be211(0xb5)](_0x5be211(0x8e)),_0x1b050b=_0xfac6fe[_0x5be211(0xb3)]||_0x41556d[_0x5be211(0x7c)];return this[_0x5be211(0x6e)]=!0x0,this[_0x5be211(0xa3)](),_0x3af93e(_0xfac6fe[_0x5be211(0x79)]||[_0x5be211(0x6f)])[_0x5be211(0xb6)](async _0x160009=>{const _0x785480=_0x5be211;if(_0x8fdb9a['ui'][_0x785480(0x71)][_0x785480(0xab)](_0x346d8a(_0x8fdb9a[_0x785480(0x84)],_0x785480(0x7e))),_0x8fdb9a[_0x785480(0x82)][_0x785480(0xaf)](_0x785480(0x78))){_0xfac6fe[_0x785480(0xad)]||(_0xfac6fe[_0x785480(0xad)]={});const _0xcf0ac0=_0x8fdb9a[_0x785480(0x82)][_0x785480(0xb5)](_0x785480(0xa8)),_0x19e08e=_0xcf0ac0[_0x785480(0x94)],{prefix:_0x5792fc,suffix:_0x590beb}=_0x8fdb9a[_0x785480(0x89)][_0x785480(0xb5)](_0x785480(0x98)),_0x15652f={'prefix':_0x5792fc,'suffix':_0x590beb,'data':{}};if(_0x785480(0x9b)===_0x19e08e){for(const _0x297900 of _0xcf0ac0[_0x785480(0x6d)]())_0x15652f[_0x785480(0xa6)][_0x297900]=_0x5792fc+_0xcf0ac0[_0x785480(0xa7)](_0x297900)+_0x590beb;}else{const _0x276e8f=_0x785480(0x9a)===_0x19e08e?_0xcf0ac0[_0x785480(0x95)]():_0xcf0ac0[_0x785480(0x85)](_0x19e08e,!0x0);for(const _0x59e67d of Object[_0x785480(0x7b)](_0x276e8f)){const [_0x41d8ed,_0x562536]=_0x59e67d;_0x15652f[_0x785480(0xa6)][_0x41d8ed]=null!==_0x562536?_0x562536:_0xcf0ac0[_0x785480(0xa7)](_0x41d8ed);}}_0xfac6fe[_0x785480(0xad)][_0x785480(0x8d)]=_0x15652f;}const _0x4750bd={'html':_0x785480(0x75)+_0x8fdb9a[_0x785480(0x84)][_0x785480(0x90)]+_0x785480(0x9d)+await _0x295acf(_0x8fdb9a)+_0x785480(0xa9),'css':_0x160009,'options':_0xfac6fe[_0x785480(0xad)]},_0x4f353e={'method':_0x785480(0xae),'headers':{'Content-Type':_0x785480(0x69),'Accept':_0x785480(0xa1),..._0x1b050b?{'Authorization':_0x1b050b[_0x785480(0x77)]}:null,'x-cs-app-id':_0xfac6fe[_0x785480(0xa2)]||_0x785480(0x6b)},'body':JSON[_0x785480(0x97)](_0x4750bd)};return window[_0x785480(0x8a)](_0x9ad992,_0x4f353e)[_0x785480(0xb6)](_0x46926c=>{const _0x387a73=_0x785480;if(0xc8!==_0x46926c[_0x387a73(0x80)])throw _0x46926c;return _0x46926c[_0x387a73(0xa5)]();})[_0x785480(0xb6)](_0x4c9e0e=>{const _0xe3c81a=_0x785480;_0x8fdb9a['ui'][_0xe3c81a(0x71)][_0xe3c81a(0xab)](_0x346d8a(_0x8fdb9a[_0xe3c81a(0x84)],_0xe3c81a(0x9e)));const _0x36f39e=_0xe3c81a(0x93)==typeof _0xfac6fe[_0xe3c81a(0xb1)]?_0xfac6fe[_0xe3c81a(0xb1)]():_0xfac6fe[_0xe3c81a(0xb1)];this[_0xe3c81a(0x88)](_0x4c9e0e,_0x36f39e||_0xe3c81a(0x91));});})[_0x5be211(0xa4)](_0x3968ef=>{const _0x2a4f78=_0x5be211,_0x1d6ae6=_0x8fdb9a[_0x2a4f78(0x82)][_0x2a4f78(0xb5)](_0x2a4f78(0x66));throw _0x8fdb9a['ui'][_0x2a4f78(0x71)][_0x2a4f78(0xab)](_0x346d8a(_0x8fdb9a[_0x2a4f78(0x84)],_0x2a4f78(0x72)),{'politeness':_0x2a4f78(0x8f)}),_0x1d6ae6[_0x2a4f78(0x74)](_0x346d8a(_0x8fdb9a[_0x2a4f78(0x84)],_0x2a4f78(0x92))),_0x3968ef;})[_0x5be211(0x8c)](()=>{const _0x4c71d6=_0x5be211;this[_0x4c71d6(0x6e)]=!0x1,this[_0x4c71d6(0xa3)]();});}[_0x3050ac(0x88)](_0x1d6613,_0x10f29b){const _0x5c0bf9=_0x3050ac,_0x24628a=document[_0x5c0bf9(0x6a)]('a');_0x24628a[_0x5c0bf9(0xb4)]=window[_0x5c0bf9(0x8b)][_0x5c0bf9(0xaa)](_0x1d6613),_0x24628a[_0x5c0bf9(0xb2)]=_0x10f29b,_0x24628a[_0x5c0bf9(0x68)](),_0x24628a[_0x5c0bf9(0x81)]();}}function _0x5332(){const _0x500758=['locale','getDataSetValues','3885777RWNvym','791yfJNqy','_downloadFile','config','fetch','URL','finally','merge_fields','ExportPdf','assertive','contentLanguageDirection','document.pdf','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','function','previewMode','getDefaultValues','2317192cIDvFp','stringify','mergeFields','set','$defaultValues','$labels','isEnabled','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','PDF\x20export\x20successful','12iUlLNQ','affectsData','application/pdf','appID','refresh','catch','blob','data','getLabel','MergeFieldsEditing','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','createObjectURL','announce','1694520gDOmoD','converterOptions','POST','has','761924VTbLud','fileName','download','token','href','get','then','Notification','dataCallback','click','application/json','createElement','cke5','execute','getMergeFieldsIds','isBusy','EDITOR_STYLES','4036520MtzBeo','ariaLiveAnnouncer','PDF\x20export\x20failed','converterUrl','showWarning','<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','https://pdf-converter.cke-cs.com/v1/convert/','value','MergeFields','stylesheets','pending','entries','_token','editor','PDF\x20export\x20started','704529sUqFgs','status','remove','plugins','5442ZQIvkU'];_0x5332=function(){return _0x500758;};return _0x5332();}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d2b90=_0x190f;function _0x4461(){const _0x370510=['isEnabled','isOn','init','52390dYkgSC','78iGSOyK','2065191zROJun','children','2267376MMBPDS','label','execute','editing','componentFactory','focus','commands','Export\x20to\x20PDF','ExportPdfUI','isVisible','menuBar:exportPdf','pluginName','10jJOfqd','listenTo','7698woOyQT','view','4139004LxBBtq','Exporting\x20PDF\x20document','isBusy','4383SrkkVV','get','_createButton','iconView','config','bind','locale','122073rApHxu','exportPdf','editor','set','4414544JbAXbp','add'];_0x4461=function(){return _0x370510;};return _0x4461();}function _0x190f(_0x5dea84,_0x58d9b2){const _0x446133=_0x4461();return _0x190f=function(_0x190fbc,_0x16d06b){_0x190fbc=_0x190fbc-0xfb;let _0x3d296c=_0x446133[_0x190fbc];return _0x3d296c;},_0x190f(_0x5dea84,_0x58d9b2);}(function(_0x40ae59,_0x1b9c97){const _0x2a3731=_0x190f,_0x2e7ef3=_0x40ae59();while(!![]){try{const _0x3beafe=parseInt(_0x2a3731(0x105))/0x1*(parseInt(_0x2a3731(0x116))/0x2)+parseInt(_0x2a3731(0x106))/0x3+parseInt(_0x2a3731(0x118))/0x4+-parseInt(_0x2a3731(0x114))/0x5*(-parseInt(_0x2a3731(0x108))/0x6)+parseInt(_0x2a3731(0xfb))/0x7+parseInt(_0x2a3731(0xff))/0x8+parseInt(_0x2a3731(0x11b))/0x9*(-parseInt(_0x2a3731(0x104))/0xa);if(_0x3beafe===_0x1b9c97)break;else _0x2e7ef3['push'](_0x2e7ef3['shift']());}catch(_0x740464){_0x2e7ef3['push'](_0x2e7ef3['shift']());}}}(_0x4461,0xc2962));import{Plugin as _0x20e5cc}from'ckeditor5/src/core.js';import{ButtonView as _0x549e5a,MenuBarMenuListItemButtonView as _0x4b6ac8,SpinnerView as _0x3294db}from'ckeditor5/src/ui.js';import _0x3ba5a5 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x495497}from'./utils/common-translations.js';export default class i extends _0x20e5cc{static get[_0x1d2b90(0x113)](){const _0x274178=_0x1d2b90;return _0x274178(0x110);}[_0x1d2b90(0x103)](){const _0x2d4a00=_0x1d2b90,_0x4f2494=this[_0x2d4a00(0xfd)];_0x4f2494['ui'][_0x2d4a00(0x10c)][_0x2d4a00(0x100)](_0x2d4a00(0xfc),()=>{const _0x42dd0f=_0x2d4a00,_0x542565=this[_0x42dd0f(0x11d)](_0x549e5a),_0x44b7b9=_0x4f2494[_0x42dd0f(0x10e)][_0x42dd0f(0x11c)](_0x42dd0f(0xfc));return _0x542565[_0x42dd0f(0xfe)]({'tooltip':!0x0}),_0x542565[_0x42dd0f(0x120)](_0x42dd0f(0x102))['to'](_0x44b7b9,_0x42dd0f(0x11a)),_0x542565;}),_0x4f2494['ui'][_0x2d4a00(0x10c)][_0x2d4a00(0x100)](_0x2d4a00(0x112),()=>this[_0x2d4a00(0x11d)](_0x4b6ac8));}[_0x1d2b90(0x11d)](_0x2ba4f4){const _0x2ce58d=_0x1d2b90,_0x1b2d1c=this[_0x2ce58d(0xfd)],_0x50f832=_0x1b2d1c[_0x2ce58d(0x11f)][_0x2ce58d(0x11c)](_0x2ce58d(0xfc))||{},_0x3c0172=_0x1b2d1c[_0x2ce58d(0x10e)][_0x2ce58d(0x11c)](_0x2ce58d(0xfc)),_0x26edba=new _0x2ba4f4(_0x1b2d1c[_0x2ce58d(0x121)]),_0x954a8d=new _0x3294db();return _0x26edba[_0x2ce58d(0x107)][_0x2ce58d(0x100)](_0x954a8d),_0x954a8d[_0x2ce58d(0x120)](_0x2ce58d(0x111))['to'](_0x3c0172,_0x2ce58d(0x11a)),_0x26edba[_0x2ce58d(0x11e)][_0x2ce58d(0x120)](_0x2ce58d(0x111))['to'](_0x3c0172,_0x2ce58d(0x11a),_0x2ec55e=>!_0x2ec55e),_0x26edba[_0x2ce58d(0xfe)]({'icon':_0x3ba5a5}),_0x26edba[_0x2ce58d(0x120)](_0x2ce58d(0x101))['to'](_0x3c0172,_0x2ce58d(0x101)),_0x26edba[_0x2ce58d(0x120)](_0x2ce58d(0x109))['to'](_0x3c0172,_0x2ce58d(0x11a),_0x592361=>_0x495497(_0x1b2d1c[_0x2ce58d(0x121)],_0x592361?_0x2ce58d(0x119):_0x2ce58d(0x10f))),this[_0x2ce58d(0x115)](_0x26edba,_0x2ce58d(0x10a),()=>{const _0x1fe7ab=_0x2ce58d;_0x1b2d1c[_0x1fe7ab(0x10a)](_0x1fe7ab(0xfc),_0x50f832),_0x1b2d1c[_0x1fe7ab(0x10b)][_0x1fe7ab(0x117)][_0x1fe7ab(0x10d)]();}),_0x26edba;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4044(){var _0x47ff43=['1034100YFozxE','38560jrZQoc','3596625vAzoed','358624tkbDMr','140KBUMqB','1421609GsTDka','7386UbJBmh','44GAEvON','5804XSzlhR'];_0x4044=function(){return _0x47ff43;};return _0x4044();}(function(_0x353182,_0x4f617e){var _0xa1a8c4=_0x58a6,_0x3b1dc0=_0x353182();while(!![]){try{var _0x5d50ea=parseInt(_0xa1a8c4(0xaa))/0x1+-parseInt(_0xa1a8c4(0xa9))/0x2*(parseInt(_0xa1a8c4(0xa8))/0x3)+-parseInt(_0xa1a8c4(0xa6))/0x4*(-parseInt(_0xa1a8c4(0xac))/0x5)+parseInt(_0xa1a8c4(0xab))/0x6+parseInt(_0xa1a8c4(0xa7))/0x7+-parseInt(_0xa1a8c4(0xa5))/0x8+-parseInt(_0xa1a8c4(0xad))/0x9;if(_0x5d50ea===_0x4f617e)break;else _0x3b1dc0['push'](_0x3b1dc0['shift']());}catch(_0x297dca){_0x3b1dc0['push'](_0x3b1dc0['shift']());}}}(_0x4044,0x253e0));function _0x58a6(_0x572f37,_0x3a714d){var _0x40449a=_0x4044();return _0x58a6=function(_0x58a66e,_0x2957b5){_0x58a66e=_0x58a66e-0xa5;var _0x5a3c5f=_0x40449a[_0x58a66e];return _0x5a3c5f;},_0x58a6(_0x572f37,_0x3a714d);}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(_0x2e6eed,_0x27e50d){const t=_0x2e6eed['t'];switch(_0x27e50d){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 _0x27e50d;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x55cf(_0x36fe61,_0x2b2853){const _0x3a9c34=_0x3a9c();return _0x55cf=function(_0x55cf5d,_0x3fb2f1){_0x55cf5d=_0x55cf5d-0x13b;let _0x29bf73=_0x3a9c34[_0x55cf5d];return _0x29bf73;},_0x55cf(_0x36fe61,_0x2b2853);}(function(_0x4e31c7,_0x51617f){const _0x1ff495=_0x55cf,_0x492bc2=_0x4e31c7();while(!![]){try{const _0x430f75=parseInt(_0x1ff495(0x14c))/0x1*(parseInt(_0x1ff495(0x154))/0x2)+-parseInt(_0x1ff495(0x145))/0x3*(parseInt(_0x1ff495(0x143))/0x4)+-parseInt(_0x1ff495(0x13c))/0x5+parseInt(_0x1ff495(0x14b))/0x6*(-parseInt(_0x1ff495(0x158))/0x7)+-parseInt(_0x1ff495(0x147))/0x8+-parseInt(_0x1ff495(0x14e))/0x9+parseInt(_0x1ff495(0x13e))/0xa*(parseInt(_0x1ff495(0x148))/0xb);if(_0x430f75===_0x51617f)break;else _0x492bc2['push'](_0x492bc2['shift']());}catch(_0x189d33){_0x492bc2['push'](_0x492bc2['shift']());}}}(_0x3a9c,0x43e90));function _0x3a9c(){const _0x353a11=['ownerNode','warn','all','34083nlJyKM','length','styleSheets',':root','1618940MiNrpc','data-cke','20xXFlri','indexOf','text','join','from','6292vxwOjX','hasAttribute','60bMnGBq','cssRules','1043352HxiYys','5069273UzxhOK','cssText','fetch','42JZhPLL','481RdhdWt','EDITOR_STYLES','2659437JfXPku','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.','push','.ck-content','trim','then','714wagFAQ'];_0x3a9c=function(){return _0x353a11;};return _0x3a9c();}export function getStyles(_0x5981d9){const _0x4b1b49=_0x55cf;if(!_0x5981d9)return new Promise(_0x284370=>_0x284370(''));const _0xdf9945=[];for(const _0x56b2ce of _0x5981d9)_0x4b1b49(0x14d)!==_0x56b2ce?_0xdf9945[_0x4b1b49(0x150)](window[_0x4b1b49(0x14a)](_0x56b2ce)[_0x4b1b49(0x153)](_0x154fc3=>_0x154fc3[_0x4b1b49(0x140)]())):_0xdf9945[_0x4b1b49(0x150)](a());return Promise[_0x4b1b49(0x157)](_0xdf9945)[_0x4b1b49(0x153)](_0x3c5c78=>_0x3c5c78[_0x4b1b49(0x141)]('\x20')[_0x4b1b49(0x152)]());}function a(){const _0x5ab058=_0x55cf,_0x1d365e=[],_0x453fc7=[];for(const _0x253afe of Array[_0x5ab058(0x142)](document[_0x5ab058(0x15a)])){if(_0x253afe[_0x5ab058(0x155)][_0x5ab058(0x144)](_0x5ab058(0x13d))){for(const _0xe9b83d of Array[_0x5ab058(0x142)](_0x253afe[_0x5ab058(0x146)]))-0x1!==_0xe9b83d[_0x5ab058(0x149)][_0x5ab058(0x13f)](_0x5ab058(0x151))?_0x1d365e[_0x5ab058(0x150)](_0xe9b83d[_0x5ab058(0x149)]):-0x1!==_0xe9b83d[_0x5ab058(0x149)][_0x5ab058(0x13f)](_0x5ab058(0x13b))&&_0x453fc7[_0x5ab058(0x150)](_0xe9b83d[_0x5ab058(0x149)]);}}return _0x1d365e[_0x5ab058(0x159)]||console[_0x5ab058(0x156)](_0x5ab058(0x14f)),[..._0x453fc7,..._0x1d365e][_0x5ab058(0x141)]('\x20')[_0x5ab058(0x152)]();}
|