@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240716.0 → 0.0.0-nightly-20240717.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/CHANGELOG.md +1 -1
- 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/dist/types/exportpdf.d.ts +5 -0
- package/package.json +2 -2
- package/src/exportpdf.d.ts +5 -0
- 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
|
+
(_0x398a76=>{const {'zh-cn':{dictionary:_0x100b0a,getPluralForm:_0x5ad926}}={'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':_0x40a688=>0x0}};_0x398a76['zh-cn']||={'dictionary':{},'getPluralForm':null},_0x398a76['zh-cn']['dictionary']=Object['assign'](_0x398a76['zh-cn']['dictionary'],_0x100b0a),_0x398a76['zh-cn']['getPluralForm']=_0x5ad926;})(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':_0x3e2a3f=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41f586=>{const {zh:{dictionary:_0x22759d,getPluralForm:_0x5b5880}}={'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':_0x400b9c=>0x0}};_0x41f586['zh']||={'dictionary':{},'getPluralForm':null},_0x41f586['zh']['dictionary']=Object['assign'](_0x41f586['zh']['dictionary'],_0x22759d),_0x41f586['zh']['getPluralForm']=_0x5b5880;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -226,4 +226,9 @@ export type ExportPdfConverterOptions = {
|
|
|
226
226
|
page_orientation?: 'portrait' | 'landscape' | string & Record<never, never>;
|
|
227
227
|
wait_for_network?: boolean;
|
|
228
228
|
wait_time?: number;
|
|
229
|
+
merge_fields?: {
|
|
230
|
+
prefix: string;
|
|
231
|
+
suffix: string;
|
|
232
|
+
data: Record<string, string>;
|
|
233
|
+
};
|
|
229
234
|
};
|
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-20240717.0",
|
|
4
4
|
"description": "Export to PDF feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ckeditor5": "0.0.0-nightly-
|
|
33
|
+
"ckeditor5": "0.0.0-nightly-20240717.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (http://cksource.com/)",
|
package/src/exportpdf.d.ts
CHANGED
|
@@ -222,4 +222,9 @@ export type ExportPdfConverterOptions = {
|
|
|
222
222
|
page_orientation?: 'portrait' | 'landscape' | string & Record<never, never>;
|
|
223
223
|
wait_for_network?: boolean;
|
|
224
224
|
wait_time?: number;
|
|
225
|
+
merge_fields?: {
|
|
226
|
+
prefix: string;
|
|
227
|
+
suffix: string;
|
|
228
|
+
data: Record<string, string>;
|
|
229
|
+
};
|
|
225
230
|
};
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f097e=_0x3869;function _0x4b40(){const _0x5d49c9=['tokenUrl','add','then','exportPdf','config','117zlfCpj','2454108UOgBIa','init','_token','commands','6DXzEhr','ExportPdf','5256455DuQrRz','1186426jTJCrL','requires','2586370mUaUVd','337864VfRzAJ','plugins','1888152bNJsnI','123YALwkY','registerTokenUrl','CloudServices','editor','108140YIykTm','token','pluginName','get'];_0x4b40=function(){return _0x5d49c9;};return _0x4b40();}(function(_0x49be84,_0x2f18b){const _0x922634=_0x3869,_0x703822=_0x49be84();while(!![]){try{const _0x17e573=-parseInt(_0x922634(0x84))/0x1+parseInt(_0x922634(0x7d))/0x2+-parseInt(_0x922634(0x8a))/0x3*(-parseInt(_0x922634(0x8e))/0x4)+parseInt(_0x922634(0x83))/0x5*(-parseInt(_0x922634(0x81))/0x6)+-parseInt(_0x922634(0x89))/0x7+parseInt(_0x922634(0x87))/0x8*(parseInt(_0x922634(0x7c))/0x9)+parseInt(_0x922634(0x86))/0xa;if(_0x17e573===_0x2f18b)break;else _0x703822['push'](_0x703822['shift']());}catch(_0x141fd6){_0x703822['push'](_0x703822['shift']());}}}(_0x4b40,0x9b336));import{Plugin as _0x2c4fe2}from'ckeditor5/src/core.js';function _0x3869(_0x4faf5c,_0x21a178){const _0x4b40de=_0x4b40();return _0x3869=function(_0x386983,_0x698d73){_0x386983=_0x386983-0x7b;let _0x3aafe8=_0x4b40de[_0x386983];return _0x3aafe8;},_0x3869(_0x4faf5c,_0x21a178);}import{Notification as _0x14cb76}from'ckeditor5/src/ui.js';import _0x802c8c from'./exportpdfcommand.js';import _0x17b69c from'./exportpdfui.js';export default class s extends _0x2c4fe2{static get[_0x2f097e(0x90)](){const _0x21fc8e=_0x2f097e;return _0x21fc8e(0x82);}static get[_0x2f097e(0x85)](){const _0x565673=_0x2f097e;return[_0x565673(0x8c),_0x14cb76,_0x17b69c];}[_0x2f097e(0x7e)](){const _0x5810a3=_0x2f097e,_0x38261c=this[_0x5810a3(0x8d)],_0x552146=_0x38261c[_0x5810a3(0x7b)][_0x5810a3(0x91)](_0x5810a3(0x95))||{};_0x38261c[_0x5810a3(0x80)][_0x5810a3(0x93)](_0x5810a3(0x95),new _0x802c8c(_0x38261c));const _0x15db72=_0x38261c[_0x5810a3(0x88)][_0x5810a3(0x91)](_0x5810a3(0x8c));!0x1===_0x552146[_0x5810a3(0x92)]?this[_0x5810a3(0x7f)]=null:_0x552146[_0x5810a3(0x92)]?_0x15db72[_0x5810a3(0x8b)](_0x552146[_0x5810a3(0x92)])[_0x5810a3(0x94)](_0xe9375d=>{const _0x355a21=_0x5810a3;this[_0x355a21(0x7f)]=_0xe9375d;}):this[_0x5810a3(0x7f)]=_0x15db72[_0x5810a3(0x8f)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3c4306=_0x2087;(function(_0x2a658e,_0x46a139){const _0x482301=_0x2087,_0x1e695e=_0x2a658e();while(!![]){try{const _0x2cf3f0=parseInt(_0x482301(0x17a))/0x1*(-parseInt(_0x482301(0x16e))/0x2)+parseInt(_0x482301(0x129))/0x3*(-parseInt(_0x482301(0x14f))/0x4)+-parseInt(_0x482301(0x161))/0x5*(parseInt(_0x482301(0x151))/0x6)+parseInt(_0x482301(0x130))/0x7*(parseInt(_0x482301(0x148))/0x8)+-parseInt(_0x482301(0x146))/0x9+-parseInt(_0x482301(0x16f))/0xa+-parseInt(_0x482301(0x170))/0xb*(-parseInt(_0x482301(0x14a))/0xc);if(_0x2cf3f0===_0x46a139)break;else _0x1e695e['push'](_0x1e695e['shift']());}catch(_0x981fd9){_0x1e695e['push'](_0x1e695e['shift']());}}}(_0x2406,0x63135));import{Command as _0x3891be}from'ckeditor5/src/core.js';import{getStyles as _0x15cde8}from'./utils.js';function _0x2406(){const _0x39e669=['isBusy','23752AQGGOn','converterOptions','12YXusAA','finally','assertive','flattenedMergeFieldDefinitions','has','16xUgoYb','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','6fqUuyd','stylesheets','_token','editor','download','PDF\x20export\x20failed','locale','value','status','PDF\x20export\x20started','POST','token','catch','PDF\x20export\x20successful','refresh','appID','957540ElvnBu','https://pdf-converter.cke-cs.com/v1/convert/','click','ExportPdf','pending','config','announce','MergeFields','createObjectURL','mergeFields','entries','Notification','$labels','8DSURur','1275140iFfhxo','11284636hzVSeN','get','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','isEnabled','contentLanguageDirection','dataCallback','cke5','createElement','<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','43273RWgptA','href','EDITOR_STYLES','52932rXuvve','then','showWarning','getDataSetValues','function','execute','document.pdf','1029RQpgTB','$defaultValues','_downloadFile','merge_fields','application/json','URL','set','MergeFieldsEditing','blob','data','getDefaultValues','plugins','getLabel','stringify','converterUrl','ariaLiveAnnouncer','affectsData','application/pdf','remove','fileName','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','fetch','4444344BYVGPT'];_0x2406=function(){return _0x39e669;};return _0x2406();}import{getTranslation as _0x7c12a9}from'./utils/common-translations.js';function _0x2087(_0x8ff8fd,_0x17c01d){const _0x2406b8=_0x2406();return _0x2087=function(_0x208706,_0x51bafe){_0x208706=_0x208706-0x128;let _0x5b7335=_0x2406b8[_0x208706];return _0x5b7335;},_0x2087(_0x8ff8fd,_0x17c01d);}export default class o extends _0x3891be{constructor(_0xb7183c){const _0x534abb=_0x2087;super(_0xb7183c),this[_0x534abb(0x136)](_0x534abb(0x147),!0x1),this[_0x534abb(0x140)]=!0x1;}[_0x3c4306(0x15f)](){const _0xfd3b80=_0x3c4306;this[_0xfd3b80(0x173)]=!this[_0xfd3b80(0x147)],this[_0xfd3b80(0x158)]=this[_0xfd3b80(0x147)]?_0xfd3b80(0x165):void 0x0;}[_0x3c4306(0x12e)](_0x58fbd3={}){const _0x106812=_0x3c4306,_0x2ed184=this[_0x106812(0x154)],_0xa16a8=_0x58fbd3[_0x106812(0x13e)]||_0x106812(0x162),_0x38ee58=_0x58fbd3[_0x106812(0x175)]||(_0x2a2a98=>_0x2a2a98[_0x106812(0x139)][_0x106812(0x171)]()),_0x3e783d=_0x2ed184[_0x106812(0x13b)][_0x106812(0x171)](_0x106812(0x164)),_0x3186ea=_0x58fbd3[_0x106812(0x15c)]||_0x3e783d[_0x106812(0x153)];return this[_0x106812(0x147)]=!0x0,this[_0x106812(0x15f)](),_0x15cde8(_0x58fbd3[_0x106812(0x152)]||[_0x106812(0x128)])[_0x106812(0x12a)](async _0x3a8527=>{const _0x3ba36a=_0x106812;if(_0x2ed184['ui'][_0x3ba36a(0x13f)][_0x3ba36a(0x167)](_0x7c12a9(_0x2ed184[_0x3ba36a(0x157)],_0x3ba36a(0x15a))),_0x2ed184[_0x3ba36a(0x13b)][_0x3ba36a(0x14e)](_0x3ba36a(0x168))){_0x58fbd3[_0x3ba36a(0x149)]||(_0x58fbd3[_0x3ba36a(0x149)]={});const _0x48d782=_0x2ed184[_0x3ba36a(0x13b)][_0x3ba36a(0x171)](_0x3ba36a(0x168)),_0x13d8fb=_0x2ed184[_0x3ba36a(0x13b)][_0x3ba36a(0x171)](_0x3ba36a(0x137)),_0x1a5306=_0x13d8fb[_0x3ba36a(0x179)],{prefix:_0x455071,suffix:_0x5ca5ee}=_0x2ed184[_0x3ba36a(0x166)][_0x3ba36a(0x171)](_0x3ba36a(0x16a)),_0x462e98={'prefix':_0x455071,'suffix':_0x5ca5ee,'data':{}};if(_0x3ba36a(0x16d)===_0x1a5306){for(const _0x18673e of _0x13d8fb[_0x3ba36a(0x14d)])_0x462e98[_0x3ba36a(0x139)][_0x18673e['id']]=_0x13d8fb[_0x3ba36a(0x13c)](_0x18673e['id']);}else{const _0x27b963=_0x3ba36a(0x131)===_0x1a5306?_0x48d782[_0x3ba36a(0x13a)]():_0x48d782[_0x3ba36a(0x12c)](_0x1a5306,!0x0);for(const _0x19cf04 of Object[_0x3ba36a(0x16b)](_0x27b963)){const [_0x25e765,_0x2d9678]=_0x19cf04;_0x462e98[_0x3ba36a(0x139)][_0x25e765]=null!==_0x2d9678?_0x2d9678:_0x13d8fb[_0x3ba36a(0x13c)](_0x25e765);}}_0x58fbd3[_0x3ba36a(0x149)][_0x3ba36a(0x133)]=_0x462e98;}const _0x47a290={'html':_0x3ba36a(0x178)+_0x2ed184[_0x3ba36a(0x157)][_0x3ba36a(0x174)]+_0x3ba36a(0x172)+await _0x38ee58(_0x2ed184)+_0x3ba36a(0x150),'css':_0x3a8527,'options':_0x58fbd3[_0x3ba36a(0x149)]},_0x56f312={'method':_0x3ba36a(0x15b),'headers':{'Content-Type':_0x3ba36a(0x134),'Accept':_0x3ba36a(0x141),..._0x3186ea?{'Authorization':_0x3186ea[_0x3ba36a(0x158)]}:null,'x-cs-app-id':_0x58fbd3[_0x3ba36a(0x160)]||_0x3ba36a(0x176)},'body':JSON[_0x3ba36a(0x13d)](_0x47a290)};return window[_0x3ba36a(0x145)](_0xa16a8,_0x56f312)[_0x3ba36a(0x12a)](_0x2a0527=>{const _0x5c23dc=_0x3ba36a;if(0xc8!==_0x2a0527[_0x5c23dc(0x159)])throw _0x2a0527;return _0x2a0527[_0x5c23dc(0x138)]();})[_0x3ba36a(0x12a)](_0x3abd9e=>{const _0x13499e=_0x3ba36a;_0x2ed184['ui'][_0x13499e(0x13f)][_0x13499e(0x167)](_0x7c12a9(_0x2ed184[_0x13499e(0x157)],_0x13499e(0x15e)));const _0x28df33=_0x13499e(0x12d)==typeof _0x58fbd3[_0x13499e(0x143)]?_0x58fbd3[_0x13499e(0x143)]():_0x58fbd3[_0x13499e(0x143)];this[_0x13499e(0x132)](_0x3abd9e,_0x28df33||_0x13499e(0x12f));});})[_0x106812(0x15d)](_0x414617=>{const _0x32824c=_0x106812,_0x43de3c=_0x2ed184[_0x32824c(0x13b)][_0x32824c(0x171)](_0x32824c(0x16c));throw _0x2ed184['ui'][_0x32824c(0x13f)][_0x32824c(0x167)](_0x7c12a9(_0x2ed184[_0x32824c(0x157)],_0x32824c(0x156)),{'politeness':_0x32824c(0x14c)}),_0x43de3c[_0x32824c(0x12b)](_0x7c12a9(_0x2ed184[_0x32824c(0x157)],_0x32824c(0x144))),_0x414617;})[_0x106812(0x14b)](()=>{const _0x463fcc=_0x106812;this[_0x463fcc(0x147)]=!0x1,this[_0x463fcc(0x15f)]();});}[_0x3c4306(0x132)](_0x58509e,_0x256982){const _0x1c2ecd=_0x3c4306,_0x484b99=document[_0x1c2ecd(0x177)]('a');_0x484b99[_0x1c2ecd(0x17b)]=window[_0x1c2ecd(0x135)][_0x1c2ecd(0x169)](_0x58509e),_0x484b99[_0x1c2ecd(0x155)]=_0x256982,_0x484b99[_0x1c2ecd(0x163)](),_0x484b99[_0x1c2ecd(0x142)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e0d(){const _0x692655=['isOn','833VQDGor','locale','componentFactory','17181440MBpDQp','view','_createButton','isBusy','focus','9qjSXWb','pluginName','218288coPgBQ','ExportPdfUI','iconView','Export\x20to\x20PDF','editing','isEnabled','get','set','children','isVisible','bind','exportPdf','5719590FRgCEN','listenTo','8959530VGaQQe','add','1PJJEIk','commands','60056eVHHYy','3115670fuhcqN','init','menuBar:exportPdf','editor','config','execute','Exporting\x20PDF\x20document','label','1960590VasUlG'];_0x3e0d=function(){return _0x692655;};return _0x3e0d();}function _0x2726(_0x48b30e,_0x41b06b){const _0x3e0d62=_0x3e0d();return _0x2726=function(_0x2726e6,_0x393707){_0x2726e6=_0x2726e6-0xa1;let _0xb3fd7b=_0x3e0d62[_0x2726e6];return _0xb3fd7b;},_0x2726(_0x48b30e,_0x41b06b);}const _0x21b54c=_0x2726;(function(_0x1244f5,_0x3acef2){const _0x3e120c=_0x2726,_0x4651bf=_0x1244f5();while(!![]){try{const _0x5a7e06=parseInt(_0x3e120c(0xaf))/0x1*(parseInt(_0x3e120c(0xb2))/0x2)+-parseInt(_0x3e120c(0xba))/0x3+-parseInt(_0x3e120c(0xc6))/0x4+parseInt(_0x3e120c(0xab))/0x5+parseInt(_0x3e120c(0xad))/0x6+-parseInt(_0x3e120c(0xbc))/0x7*(parseInt(_0x3e120c(0xb1))/0x8)+parseInt(_0x3e120c(0xc4))/0x9*(-parseInt(_0x3e120c(0xbf))/0xa);if(_0x5a7e06===_0x3acef2)break;else _0x4651bf['push'](_0x4651bf['shift']());}catch(_0x3d167c){_0x4651bf['push'](_0x4651bf['shift']());}}}(_0x3e0d,0xd5ba5));import{Plugin as _0x1e9946}from'ckeditor5/src/core.js';import{ButtonView as _0x6b9ded,MenuBarMenuListItemButtonView as _0x54cffe,SpinnerView as _0x5108c0}from'ckeditor5/src/ui.js';import _0xed8f34 from'../theme/icons/exportpdf.svg';import{getTranslation as _0xb16a2f}from'./utils/common-translations.js';export default class i extends _0x1e9946{static get[_0x21b54c(0xc5)](){const _0x298dad=_0x21b54c;return _0x298dad(0xc7);}[_0x21b54c(0xb3)](){const _0x48cc06=_0x21b54c,_0x5a99da=this[_0x48cc06(0xb5)];_0x5a99da['ui'][_0x48cc06(0xbe)][_0x48cc06(0xae)](_0x48cc06(0xaa),()=>{const _0x555761=_0x48cc06,_0x4217da=this[_0x555761(0xc1)](_0x6b9ded),_0x1e49d9=_0x5a99da[_0x555761(0xb0)][_0x555761(0xa5)](_0x555761(0xaa));return _0x4217da[_0x555761(0xa6)]({'tooltip':!0x0}),_0x4217da[_0x555761(0xa9)](_0x555761(0xbb))['to'](_0x1e49d9,_0x555761(0xc2)),_0x4217da;}),_0x5a99da['ui'][_0x48cc06(0xbe)][_0x48cc06(0xae)](_0x48cc06(0xb4),()=>this[_0x48cc06(0xc1)](_0x54cffe));}[_0x21b54c(0xc1)](_0x3c8e11){const _0xe6732=_0x21b54c,_0xf58410=this[_0xe6732(0xb5)],_0x410029=_0xf58410[_0xe6732(0xb6)][_0xe6732(0xa5)](_0xe6732(0xaa))||{},_0x19f434=_0xf58410[_0xe6732(0xb0)][_0xe6732(0xa5)](_0xe6732(0xaa)),_0x2ca916=new _0x3c8e11(_0xf58410[_0xe6732(0xbd)]),_0x1f8306=new _0x5108c0();return _0x2ca916[_0xe6732(0xa7)][_0xe6732(0xae)](_0x1f8306),_0x1f8306[_0xe6732(0xa9)](_0xe6732(0xa8))['to'](_0x19f434,_0xe6732(0xc2)),_0x2ca916[_0xe6732(0xa1)][_0xe6732(0xa9)](_0xe6732(0xa8))['to'](_0x19f434,_0xe6732(0xc2),_0x1ecff1=>!_0x1ecff1),_0x2ca916[_0xe6732(0xa6)]({'icon':_0xed8f34}),_0x2ca916[_0xe6732(0xa9)](_0xe6732(0xa4))['to'](_0x19f434,_0xe6732(0xa4)),_0x2ca916[_0xe6732(0xa9)](_0xe6732(0xb9))['to'](_0x19f434,_0xe6732(0xc2),_0x1e141b=>_0xb16a2f(_0xf58410[_0xe6732(0xbd)],_0x1e141b?_0xe6732(0xb8):_0xe6732(0xa2))),this[_0xe6732(0xac)](_0x2ca916,_0xe6732(0xb7),()=>{const _0xc3095b=_0xe6732;_0xf58410[_0xc3095b(0xb7)](_0xc3095b(0xaa),_0x410029),_0xf58410[_0xc3095b(0xa3)][_0xc3095b(0xc0)][_0xc3095b(0xc3)]();}),_0x2ca916;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2163(){var _0x191bfb=['751052nMxgYU','470dygFDP','4195737Qrokdb','444pdrRMo','49415DMZywI','1409172EaSQuf','2249800TDMbGK','4254pWVQSi','98271Fbhjme','1046psldWN'];_0x2163=function(){return _0x191bfb;};return _0x2163();}function _0x1021(_0x26e9d5,_0x2a9743){var _0x2163f4=_0x2163();return _0x1021=function(_0x1021cb,_0x205801){_0x1021cb=_0x1021cb-0xf9;var _0x11a9a4=_0x2163f4[_0x1021cb];return _0x11a9a4;},_0x1021(_0x26e9d5,_0x2a9743);}(function(_0x4487c2,_0x587e83){var _0x2fe0f8=_0x1021,_0x2d6068=_0x4487c2();while(!![]){try{var _0x1b51ae=-parseInt(_0x2fe0f8(0xff))/0x1+parseInt(_0x2fe0f8(0xfe))/0x2*(-parseInt(_0x2fe0f8(0xfc))/0x3)+parseInt(_0x2fe0f8(0xfa))/0x4+parseInt(_0x2fe0f8(0xf9))/0x5*(parseInt(_0x2fe0f8(0x102))/0x6)+parseInt(_0x2fe0f8(0x101))/0x7+-parseInt(_0x2fe0f8(0xfb))/0x8+-parseInt(_0x2fe0f8(0xfd))/0x9*(-parseInt(_0x2fe0f8(0x100))/0xa);if(_0x1b51ae===_0x587e83)break;else _0x2d6068['push'](_0x2d6068['shift']());}catch(_0x411b59){_0x2d6068['push'](_0x2d6068['shift']());}}}(_0x2163,0x671b8));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(_0x44a371,_0x2d615e){const t=_0x44a371['t'];switch(_0x2d615e){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 _0x2d615e;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2c81(){const _0x2a7155=['3768079xgUKue','all','cssText','3491352QCIxHs','then','96932IzEMzQ','styleSheets','fetch','3445486ZXvaBq','9lwEvKq','1099778lGgNRx','EDITOR_STYLES','length','data-cke','ownerNode','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.','6fkDclA','push','4248170krdGie','indexOf',':root','hasAttribute','45ByvPIz','from','trim','1slleWG','join','cssRules','text','warn','730596KRaelx','.ck-content'];_0x2c81=function(){return _0x2a7155;};return _0x2c81();}(function(_0x78e300,_0x186ff8){const _0x49beeb=_0xb9ff,_0x5553c0=_0x78e300();while(!![]){try{const _0x27c116=parseInt(_0x49beeb(0x1fd))/0x1*(-parseInt(_0x49beeb(0x1ee))/0x2)+-parseInt(_0x49beeb(0x202))/0x3+parseInt(_0x49beeb(0x1e9))/0x4*(parseInt(_0x49beeb(0x1fa))/0x5)+-parseInt(_0x49beeb(0x1f4))/0x6*(-parseInt(_0x49beeb(0x204))/0x7)+parseInt(_0x49beeb(0x1e7))/0x8+-parseInt(_0x49beeb(0x1ed))/0x9*(parseInt(_0x49beeb(0x1f6))/0xa)+parseInt(_0x49beeb(0x1ec))/0xb;if(_0x27c116===_0x186ff8)break;else _0x5553c0['push'](_0x5553c0['shift']());}catch(_0x13bc57){_0x5553c0['push'](_0x5553c0['shift']());}}}(_0x2c81,0x46439));export function getStyles(_0x35707e){const _0x40ac97=_0xb9ff;if(!_0x35707e)return new Promise(_0x46b516=>_0x46b516(''));const _0x263b41=[];for(const _0x5f974a of _0x35707e)_0x40ac97(0x1ef)!==_0x5f974a?_0x263b41[_0x40ac97(0x1f5)](window[_0x40ac97(0x1eb)](_0x5f974a)[_0x40ac97(0x1e8)](_0x288844=>_0x288844[_0x40ac97(0x200)]())):_0x263b41[_0x40ac97(0x1f5)](a());return Promise[_0x40ac97(0x205)](_0x263b41)[_0x40ac97(0x1e8)](_0x39a872=>_0x39a872[_0x40ac97(0x1fe)]('\x20')[_0x40ac97(0x1fc)]());}function _0xb9ff(_0x476c05,_0x27bf48){const _0x2c8189=_0x2c81();return _0xb9ff=function(_0xb9ff89,_0x3feb21){_0xb9ff89=_0xb9ff89-0x1e7;let _0x687ff8=_0x2c8189[_0xb9ff89];return _0x687ff8;},_0xb9ff(_0x476c05,_0x27bf48);}function a(){const _0x5a56b9=_0xb9ff,_0x86b300=[],_0x5e6fc9=[];for(const _0x2f316f of Array[_0x5a56b9(0x1fb)](document[_0x5a56b9(0x1ea)])){if(_0x2f316f[_0x5a56b9(0x1f2)][_0x5a56b9(0x1f9)](_0x5a56b9(0x1f1))){for(const _0x53073a of Array[_0x5a56b9(0x1fb)](_0x2f316f[_0x5a56b9(0x1ff)]))-0x1!==_0x53073a[_0x5a56b9(0x206)][_0x5a56b9(0x1f7)](_0x5a56b9(0x203))?_0x86b300[_0x5a56b9(0x1f5)](_0x53073a[_0x5a56b9(0x206)]):-0x1!==_0x53073a[_0x5a56b9(0x206)][_0x5a56b9(0x1f7)](_0x5a56b9(0x1f8))&&_0x5e6fc9[_0x5a56b9(0x1f5)](_0x53073a[_0x5a56b9(0x206)]);}}return _0x86b300[_0x5a56b9(0x1f0)]||console[_0x5a56b9(0x201)](_0x5a56b9(0x1f3)),[..._0x5e6fc9,..._0x86b300][_0x5a56b9(0x1fe)]('\x20')[_0x5a56b9(0x1fc)]();}
|