@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240821.0 → 0.0.0-nightly-20240822.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':_0xf001d7=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d2eaa=>{const {zh:{dictionary:_0x1084f5,getPluralForm:_0x315f0c}}={'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':_0x27bc3c=>0x0}};_0x1d2eaa['zh']||={'dictionary':{},'getPluralForm':null},_0x1d2eaa['zh']['dictionary']=Object['assign'](_0x1d2eaa['zh']['dictionary'],_0x1084f5),_0x1d2eaa['zh']['getPluralForm']=_0x315f0c;})(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-20240822.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-20240822.0",
|
|
34
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20240822.0",
|
|
35
|
+
"ckeditor5": "0.0.0-nightly-20240822.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
|
+
const _0x1a1a78=_0x4f5d;(function(_0x2cc62f,_0x251505){const _0x3249cb=_0x4f5d,_0x834837=_0x2cc62f();while(!![]){try{const _0x2038f8=-parseInt(_0x3249cb(0x1a6))/0x1+parseInt(_0x3249cb(0x1a5))/0x2+-parseInt(_0x3249cb(0x19c))/0x3+parseInt(_0x3249cb(0x191))/0x4*(-parseInt(_0x3249cb(0x195))/0x5)+parseInt(_0x3249cb(0x1a1))/0x6+parseInt(_0x3249cb(0x1a3))/0x7*(-parseInt(_0x3249cb(0x19e))/0x8)+parseInt(_0x3249cb(0x19d))/0x9*(parseInt(_0x3249cb(0x19a))/0xa);if(_0x2038f8===_0x251505)break;else _0x834837['push'](_0x834837['shift']());}catch(_0x75df10){_0x834837['push'](_0x834837['shift']());}}}(_0x4749,0x7a2d4));import{Plugin as _0xc7efb5}from'ckeditor5/src/core.js';import{Notification as _0x3d1db1}from'ckeditor5/src/ui.js';import _0x566b70 from'./exportpdfcommand.js';function _0x4f5d(_0x5be14f,_0xd3687e){const _0x47498f=_0x4749();return _0x4f5d=function(_0x4f5d40,_0x109530){_0x4f5d40=_0x4f5d40-0x18c;let _0x57c210=_0x47498f[_0x4f5d40];return _0x57c210;},_0x4f5d(_0x5be14f,_0xd3687e);}import _0x4b2ef8 from'./exportpdfui.js';export default class s extends _0xc7efb5{static get[_0x1a1a78(0x18d)](){const _0x424a1e=_0x1a1a78;return _0x424a1e(0x19b);}static get[_0x1a1a78(0x1a4)](){const _0x5ca6d0=_0x1a1a78;return[_0x5ca6d0(0x18c),_0x3d1db1,_0x4b2ef8];}[_0x1a1a78(0x198)](){const _0x2238b9=_0x1a1a78,_0x2df023=this[_0x2238b9(0x199)],_0x461820=_0x2df023[_0x2238b9(0x194)][_0x2238b9(0x196)](_0x2238b9(0x1a2))||{};_0x2df023[_0x2238b9(0x18e)][_0x2238b9(0x1a0)](_0x2238b9(0x1a2),new _0x566b70(_0x2df023));const _0x185600=_0x2df023[_0x2238b9(0x19f)][_0x2238b9(0x196)](_0x2238b9(0x18c));!0x1===_0x461820[_0x2238b9(0x18f)]?this[_0x2238b9(0x193)]=null:_0x461820[_0x2238b9(0x18f)]?_0x185600[_0x2238b9(0x192)](_0x461820[_0x2238b9(0x18f)])[_0x2238b9(0x190)](_0x1c448a=>{const _0x4667df=_0x2238b9;this[_0x4667df(0x193)]=_0x1c448a;}):this[_0x2238b9(0x193)]=_0x185600[_0x2238b9(0x197)];}}function _0x4749(){const _0x461757=['requires','1697168ihzqMK','320201FrwcTE','CloudServices','pluginName','commands','tokenUrl','then','39068PAlLWZ','registerTokenUrl','_token','config','415Cdvssq','get','token','init','editor','30LYJxIN','ExportPdf','614676qpZAUn','2585727EKAnYv','924712tNzBUh','plugins','add','4221852iKTdeX','exportPdf','35DfbqCv'];_0x4749=function(){return _0x461757;};return _0x4749();}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1595bb=_0x27d0;(function(_0x521b38,_0x157ade){const _0x55edab=_0x27d0,_0x41ed85=_0x521b38();while(!![]){try{const _0x35d23d=parseInt(_0x55edab(0x14d))/0x1+-parseInt(_0x55edab(0x158))/0x2*(parseInt(_0x55edab(0x131))/0x3)+-parseInt(_0x55edab(0x154))/0x4+parseInt(_0x55edab(0x16e))/0x5+-parseInt(_0x55edab(0x160))/0x6*(parseInt(_0x55edab(0x151))/0x7)+parseInt(_0x55edab(0x14b))/0x8*(parseInt(_0x55edab(0x166))/0x9)+parseInt(_0x55edab(0x15b))/0xa*(parseInt(_0x55edab(0x15c))/0xb);if(_0x35d23d===_0x157ade)break;else _0x41ed85['push'](_0x41ed85['shift']());}catch(_0x497ba5){_0x41ed85['push'](_0x41ed85['shift']());}}}(_0x34c1,0x3542d));function _0x27d0(_0x20160c,_0x2daca6){const _0x34c13e=_0x34c1();return _0x27d0=function(_0x27d0c3,_0x588bc0){_0x27d0c3=_0x27d0c3-0x126;let _0x2f01d4=_0x34c13e[_0x27d0c3];return _0x2f01d4;},_0x27d0(_0x20160c,_0x2daca6);}function _0x34c1(){const _0x10ccca=['cke5','application/json','195450hYFeQi','220aGEEtQ','token','createElement','stringify','6oQwlQl','getDataSetValues','finally','getDefaultValues','value','appID','73575wEBAkZ','PDF\x20export\x20started','isEnabled','Notification','PDF\x20export\x20failed','affectsData','PDF\x20export\x20successful','previewMode','1590840hinsmt','converterUrl','document.pdf','$labels','locale','click','announce','application/pdf','fileName','editor','dataCallback','set','blob','refresh','EDITOR_STYLES','createObjectURL','remove','converterOptions','status','ariaLiveAnnouncer','stylesheets','has','123BQlAAS','URL','execute','then','getLabel','https://pdf-converter.cke-cs.com/v1/convert/','$defaultValues','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','config','get','function','download','assertive','MergeFields','<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','MergeFieldsEditing','catch','showWarning','mergeFields','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','href','merge_fields','contentLanguageDirection','_downloadFile','getMergeFieldsIds','isBusy','160OVAlSh','_token','398415fJvymm','entries','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','plugins','2548504hiaJyp','fetch','pending','1391356DSwqQg','POST','data','ExportPdf','16630LkMFpk'];_0x34c1=function(){return _0x10ccca;};return _0x34c1();}import{Command as _0x3040c8}from'ckeditor5/src/core.js';import{getStyles as _0x13e45d}from'./utils.js';import{getTranslation as _0x2c9fbb}from'./utils/common-translations.js';export default class o extends _0x3040c8{constructor(_0xc58b7a){const _0x12830e=_0x27d0;super(_0xc58b7a),this[_0x12830e(0x126)](_0x12830e(0x14a),!0x1),this[_0x12830e(0x16b)]=!0x1;}[_0x1595bb(0x128)](){const _0x1302db=_0x1595bb;this[_0x1302db(0x168)]=!this[_0x1302db(0x14a)],this[_0x1302db(0x164)]=this[_0x1302db(0x14a)]?_0x1302db(0x153):void 0x0;}[_0x1595bb(0x133)](_0x55782d={}){const _0x24bf28=_0x1595bb,_0x568efb=this[_0x24bf28(0x177)],_0x468645=_0x55782d[_0x24bf28(0x16f)]||_0x24bf28(0x136),_0x2d2f07=_0x55782d[_0x24bf28(0x178)]||(_0x4a72d0=>_0x4a72d0[_0x24bf28(0x156)][_0x24bf28(0x13a)]()),_0x12be94=_0x568efb[_0x24bf28(0x150)][_0x24bf28(0x13a)](_0x24bf28(0x157)),_0x11e524=_0x55782d[_0x24bf28(0x15d)]||_0x12be94[_0x24bf28(0x14c)];return this[_0x24bf28(0x14a)]=!0x0,this[_0x24bf28(0x128)](),_0x13e45d(_0x55782d[_0x24bf28(0x12f)]||[_0x24bf28(0x129)])[_0x24bf28(0x134)](async _0x526eaf=>{const _0x5b00be=_0x24bf28;if(_0x568efb['ui'][_0x5b00be(0x12e)][_0x5b00be(0x174)](_0x2c9fbb(_0x568efb[_0x5b00be(0x172)],_0x5b00be(0x167))),_0x568efb[_0x5b00be(0x150)][_0x5b00be(0x130)](_0x5b00be(0x13e))){_0x55782d[_0x5b00be(0x12c)]||(_0x55782d[_0x5b00be(0x12c)]={});const _0x2246b4=_0x568efb[_0x5b00be(0x150)][_0x5b00be(0x13a)](_0x5b00be(0x140)),_0x432d5e=_0x2246b4[_0x5b00be(0x16d)],{prefix:_0x33f105,suffix:_0x56649d}=_0x568efb[_0x5b00be(0x139)][_0x5b00be(0x13a)](_0x5b00be(0x143)),_0x485e66={'prefix':_0x33f105,'suffix':_0x56649d,'data':{}};if(_0x5b00be(0x171)===_0x432d5e){for(const _0x76cfde of _0x2246b4[_0x5b00be(0x149)]())_0x485e66[_0x5b00be(0x156)][_0x76cfde]=_0x33f105+_0x2246b4[_0x5b00be(0x135)](_0x76cfde)+_0x56649d;}else{const _0x19d6bc=_0x5b00be(0x137)===_0x432d5e?_0x2246b4[_0x5b00be(0x163)]():_0x2246b4[_0x5b00be(0x161)](_0x432d5e,!0x0);for(const _0x288cce of Object[_0x5b00be(0x14e)](_0x19d6bc)){const [_0x1fb92c,_0x57e083]=_0x288cce;_0x485e66[_0x5b00be(0x156)][_0x1fb92c]=null!==_0x57e083?_0x57e083:_0x2246b4[_0x5b00be(0x135)](_0x1fb92c);}}_0x55782d[_0x5b00be(0x12c)][_0x5b00be(0x146)]=_0x485e66;}const _0x58af08={'html':_0x5b00be(0x13f)+_0x568efb[_0x5b00be(0x172)][_0x5b00be(0x147)]+_0x5b00be(0x144)+await _0x2d2f07(_0x568efb)+_0x5b00be(0x138),'css':_0x526eaf,'options':_0x55782d[_0x5b00be(0x12c)]},_0x2b2a86={'method':_0x5b00be(0x155),'headers':{'Content-Type':_0x5b00be(0x15a),'Accept':_0x5b00be(0x175),..._0x11e524?{'Authorization':_0x11e524[_0x5b00be(0x164)]}:null,'x-cs-app-id':_0x55782d[_0x5b00be(0x165)]||_0x5b00be(0x159)},'body':JSON[_0x5b00be(0x15f)](_0x58af08)};return window[_0x5b00be(0x152)](_0x468645,_0x2b2a86)[_0x5b00be(0x134)](_0x29bd64=>{const _0x5ee6cc=_0x5b00be;if(0xc8!==_0x29bd64[_0x5ee6cc(0x12d)])throw _0x29bd64;return _0x29bd64[_0x5ee6cc(0x127)]();})[_0x5b00be(0x134)](_0x3a564e=>{const _0x50e60d=_0x5b00be;_0x568efb['ui'][_0x50e60d(0x12e)][_0x50e60d(0x174)](_0x2c9fbb(_0x568efb[_0x50e60d(0x172)],_0x50e60d(0x16c)));const _0x3a739c=_0x50e60d(0x13b)==typeof _0x55782d[_0x50e60d(0x176)]?_0x55782d[_0x50e60d(0x176)]():_0x55782d[_0x50e60d(0x176)];this[_0x50e60d(0x148)](_0x3a564e,_0x3a739c||_0x50e60d(0x170));});})[_0x24bf28(0x141)](_0x42b3e5=>{const _0x4a07f9=_0x24bf28,_0x93f516=_0x568efb[_0x4a07f9(0x150)][_0x4a07f9(0x13a)](_0x4a07f9(0x169));throw _0x568efb['ui'][_0x4a07f9(0x12e)][_0x4a07f9(0x174)](_0x2c9fbb(_0x568efb[_0x4a07f9(0x172)],_0x4a07f9(0x16a)),{'politeness':_0x4a07f9(0x13d)}),_0x93f516[_0x4a07f9(0x142)](_0x2c9fbb(_0x568efb[_0x4a07f9(0x172)],_0x4a07f9(0x14f))),_0x42b3e5;})[_0x24bf28(0x162)](()=>{const _0x3d655f=_0x24bf28;this[_0x3d655f(0x14a)]=!0x1,this[_0x3d655f(0x128)]();});}[_0x1595bb(0x148)](_0x2e95d0,_0x18c527){const _0x2d698b=_0x1595bb,_0x5bac91=document[_0x2d698b(0x15e)]('a');_0x5bac91[_0x2d698b(0x145)]=window[_0x2d698b(0x132)][_0x2d698b(0x12a)](_0x2e95d0),_0x5bac91[_0x2d698b(0x13c)]=_0x18c527,_0x5bac91[_0x2d698b(0x173)](),_0x5bac91[_0x2d698b(0x12b)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2774ad=_0x2476;function _0x2476(_0x309586,_0x498952){const _0x455b5a=_0x455b();return _0x2476=function(_0x247606,_0x31ff9b){_0x247606=_0x247606-0x14c;let _0x437d33=_0x455b5a[_0x247606];return _0x437d33;},_0x2476(_0x309586,_0x498952);}(function(_0x3d3b87,_0x56cf00){const _0x1bbcc7=_0x2476,_0xcfb1be=_0x3d3b87();while(!![]){try{const _0x5e4835=-parseInt(_0x1bbcc7(0x165))/0x1+parseInt(_0x1bbcc7(0x16f))/0x2*(-parseInt(_0x1bbcc7(0x171))/0x3)+parseInt(_0x1bbcc7(0x15a))/0x4*(-parseInt(_0x1bbcc7(0x156))/0x5)+-parseInt(_0x1bbcc7(0x154))/0x6+parseInt(_0x1bbcc7(0x153))/0x7*(parseInt(_0x1bbcc7(0x157))/0x8)+parseInt(_0x1bbcc7(0x155))/0x9+parseInt(_0x1bbcc7(0x159))/0xa;if(_0x5e4835===_0x56cf00)break;else _0xcfb1be['push'](_0xcfb1be['shift']());}catch(_0x21140b){_0xcfb1be['push'](_0xcfb1be['shift']());}}}(_0x455b,0xbbf28));import{Plugin as _0x5ad92a}from'ckeditor5/src/core.js';function _0x455b(){const _0x476c99=['set','focus','init','2758YLAuzL','config','1374pdyKwE','pluginName','view','exportPdf','bind','commands','isEnabled','Exporting\x20PDF\x20document','menuBar:exportPdf','301nMgkhP','3959214UXuGhn','10252521rejjqC','4112985hKsZsC','6680tEhfom','execute','25420210utiiAS','4voAQFH','iconView','_createButton','get','listenTo','componentFactory','isOn','locale','children','editor','ExportPdfUI','833215mDqYZb','editing','add','label','isBusy','Export\x20to\x20PDF','isVisible'];_0x455b=function(){return _0x476c99;};return _0x455b();}import{ButtonView as _0x2e2afe,MenuBarMenuListItemButtonView as _0x384311,SpinnerView as _0x11ec42}from'ckeditor5/src/ui.js';import _0xbb7648 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x3fb516}from'./utils/common-translations.js';export default class i extends _0x5ad92a{static get[_0x2774ad(0x172)](){const _0x4b6bd2=_0x2774ad;return _0x4b6bd2(0x164);}[_0x2774ad(0x16e)](){const _0x30e323=_0x2774ad,_0x4c750c=this[_0x30e323(0x163)];_0x4c750c['ui'][_0x30e323(0x15f)][_0x30e323(0x167)](_0x30e323(0x14d),()=>{const _0x45d674=_0x30e323,_0x91350f=this[_0x45d674(0x15c)](_0x2e2afe),_0x2c3661=_0x4c750c[_0x45d674(0x14f)][_0x45d674(0x15d)](_0x45d674(0x14d));return _0x91350f[_0x45d674(0x16c)]({'tooltip':!0x0}),_0x91350f[_0x45d674(0x14e)](_0x45d674(0x160))['to'](_0x2c3661,_0x45d674(0x169)),_0x91350f;}),_0x4c750c['ui'][_0x30e323(0x15f)][_0x30e323(0x167)](_0x30e323(0x152),()=>this[_0x30e323(0x15c)](_0x384311));}[_0x2774ad(0x15c)](_0x25ab59){const _0x209718=_0x2774ad,_0x1f5db2=this[_0x209718(0x163)],_0x9ebb33=_0x1f5db2[_0x209718(0x170)][_0x209718(0x15d)](_0x209718(0x14d))||{},_0x14a13c=_0x1f5db2[_0x209718(0x14f)][_0x209718(0x15d)](_0x209718(0x14d)),_0x855b7a=new _0x25ab59(_0x1f5db2[_0x209718(0x161)]),_0x61b084=new _0x11ec42();return _0x855b7a[_0x209718(0x162)][_0x209718(0x167)](_0x61b084),_0x61b084[_0x209718(0x14e)](_0x209718(0x16b))['to'](_0x14a13c,_0x209718(0x169)),_0x855b7a[_0x209718(0x15b)][_0x209718(0x14e)](_0x209718(0x16b))['to'](_0x14a13c,_0x209718(0x169),_0x5221f5=>!_0x5221f5),_0x855b7a[_0x209718(0x16c)]({'icon':_0xbb7648}),_0x855b7a[_0x209718(0x14e)](_0x209718(0x150))['to'](_0x14a13c,_0x209718(0x150)),_0x855b7a[_0x209718(0x14e)](_0x209718(0x168))['to'](_0x14a13c,_0x209718(0x169),_0x507bb7=>_0x3fb516(_0x1f5db2[_0x209718(0x161)],_0x507bb7?_0x209718(0x151):_0x209718(0x16a))),this[_0x209718(0x15e)](_0x855b7a,_0x209718(0x158),()=>{const _0x3d2a9b=_0x209718;_0x1f5db2[_0x3d2a9b(0x158)](_0x3d2a9b(0x14d),_0x9ebb33),_0x1f5db2[_0x3d2a9b(0x166)][_0x3d2a9b(0x14c)][_0x3d2a9b(0x16d)]();}),_0x855b7a;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x585be2,_0x41a96b){var _0x2aec3d=_0x9e22,_0x587363=_0x585be2();while(!![]){try{var _0x2004ff=parseInt(_0x2aec3d(0x1f4))/0x1*(-parseInt(_0x2aec3d(0x1f9))/0x2)+-parseInt(_0x2aec3d(0x1fc))/0x3*(-parseInt(_0x2aec3d(0x1f6))/0x4)+-parseInt(_0x2aec3d(0x1fa))/0x5+-parseInt(_0x2aec3d(0x1f3))/0x6*(parseInt(_0x2aec3d(0x1fb))/0x7)+parseInt(_0x2aec3d(0x1f8))/0x8+parseInt(_0x2aec3d(0x1f5))/0x9*(parseInt(_0x2aec3d(0x1f7))/0xa)+parseInt(_0x2aec3d(0x1fd))/0xb;if(_0x2004ff===_0x41a96b)break;else _0x587363['push'](_0x587363['shift']());}catch(_0x406f16){_0x587363['push'](_0x587363['shift']());}}}(_0x211e,0xa436e));function _0x9e22(_0x5073b6,_0x364974){var _0x211ef4=_0x211e();return _0x9e22=function(_0x9e2257,_0x3fe046){_0x9e2257=_0x9e2257-0x1f3;var _0x301e21=_0x211ef4[_0x9e2257];return _0x301e21;},_0x9e22(_0x5073b6,_0x364974);}export{default as ExportPdf}from'./exportpdf.js';function _0x211e(){var _0x2f24e5=['37052jcYxJU','142470hHaXgi','5659128uInxpq','2DuvXwf','1629410VqhGWz','61327ZjsZpn','111QnJoqk','4585075bgrlcX','534CZYmvy','272841HHwbWX','369BPfBuD'];_0x211e=function(){return _0x2f24e5;};return _0x211e();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x27ca8c,_0x32f9c9){const t=_0x27ca8c['t'];switch(_0x32f9c9){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 _0x32f9c9;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x25d7(_0x141f1d,_0x5d4a02){const _0x237822=_0x2378();return _0x25d7=function(_0x25d702,_0x38488b){_0x25d702=_0x25d702-0x1df;let _0xc324aa=_0x237822[_0x25d702];return _0xc324aa;},_0x25d7(_0x141f1d,_0x5d4a02);}(function(_0x462017,_0x57be82){const _0x26ddc1=_0x25d7,_0x399cb8=_0x462017();while(!![]){try{const _0x2ae14a=-parseInt(_0x26ddc1(0x1ed))/0x1+-parseInt(_0x26ddc1(0x1e7))/0x2*(parseInt(_0x26ddc1(0x1f8))/0x3)+parseInt(_0x26ddc1(0x1e0))/0x4+-parseInt(_0x26ddc1(0x1f1))/0x5+-parseInt(_0x26ddc1(0x1fb))/0x6+-parseInt(_0x26ddc1(0x1ee))/0x7+parseInt(_0x26ddc1(0x1f6))/0x8;if(_0x2ae14a===_0x57be82)break;else _0x399cb8['push'](_0x399cb8['shift']());}catch(_0x2b20be){_0x399cb8['push'](_0x399cb8['shift']());}}}(_0x2378,0xcb2f8));export function getStyles(_0x3fa19d){const _0x6def47=_0x25d7;if(!_0x3fa19d)return new Promise(_0x13e806=>_0x13e806(''));const _0xa912e5=[];for(const _0x35da07 of _0x3fa19d)_0x6def47(0x1f9)!==_0x35da07?_0xa912e5[_0x6def47(0x1f3)](window[_0x6def47(0x1e9)](_0x35da07)[_0x6def47(0x1df)](_0x2949f4=>_0x2949f4[_0x6def47(0x1f2)]())):_0xa912e5[_0x6def47(0x1f3)](a());return Promise[_0x6def47(0x1ea)](_0xa912e5)[_0x6def47(0x1df)](_0x2f7ffd=>_0x2f7ffd[_0x6def47(0x1e6)]('\x20')[_0x6def47(0x1f5)]());}function a(){const _0x5dafc4=_0x25d7,_0x373533=[],_0x2f470f=[];for(const _0x4cab0c of Array[_0x5dafc4(0x1e5)](document[_0x5dafc4(0x1f0)])){if(_0x4cab0c[_0x5dafc4(0x1e1)][_0x5dafc4(0x1e2)](_0x5dafc4(0x1eb))){for(const _0x12084c of Array[_0x5dafc4(0x1e5)](_0x4cab0c[_0x5dafc4(0x1ef)]))-0x1!==_0x12084c[_0x5dafc4(0x1e3)][_0x5dafc4(0x1e8)](_0x5dafc4(0x1f7))?_0x373533[_0x5dafc4(0x1f3)](_0x12084c[_0x5dafc4(0x1e3)]):-0x1!==_0x12084c[_0x5dafc4(0x1e3)][_0x5dafc4(0x1e8)](_0x5dafc4(0x1fa))&&_0x2f470f[_0x5dafc4(0x1f3)](_0x12084c[_0x5dafc4(0x1e3)]);}}return _0x373533[_0x5dafc4(0x1f4)]||console[_0x5dafc4(0x1e4)](_0x5dafc4(0x1ec)),[..._0x2f470f,..._0x373533][_0x5dafc4(0x1e6)]('\x20')[_0x5dafc4(0x1f5)]();}function _0x2378(){const _0x4c6fed=['warn','from','join','54jktNkt','indexOf','fetch','all','data-cke','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.','803362rEWJHo','8998745QkQxrn','cssRules','styleSheets','5382875bCwMrX','text','push','length','trim','31690896UNauCT','.ck-content','103758rCHwcC','EDITOR_STYLES',':root','4002780MdLKLw','then','6549240wnpwFX','ownerNode','hasAttribute','cssText'];_0x2378=function(){return _0x4c6fed;};return _0x2378();}
|