@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240624.0 → 0.0.0-nightly-20240625.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/dist/types/utils/common-translations.d.ts +13 -0
- package/package.json +2 -2
- 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.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils.js +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @module export-pdf/utils/common-translations
|
|
11
|
+
*/
|
|
12
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
13
|
+
export declare function getTranslation(locale: Locale, id: string): string;
|
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-20240625.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-20240625.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (http://cksource.com/)",
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52e375=_0x234e;(function(_0x1f7c3c,_0x21ac28){const _0x1f0db3=_0x234e,_0x456492=_0x1f7c3c();while(!![]){try{const _0x4ecbcf=parseInt(_0x1f0db3(0x1f3))/0x1+-parseInt(_0x1f0db3(0x1e2))/0x2*(-parseInt(_0x1f0db3(0x1f4))/0x3)+parseInt(_0x1f0db3(0x1ec))/0x4+-parseInt(_0x1f0db3(0x1e6))/0x5*(-parseInt(_0x1f0db3(0x1dd))/0x6)+-parseInt(_0x1f0db3(0x1db))/0x7+parseInt(_0x1f0db3(0x1eb))/0x8+-parseInt(_0x1f0db3(0x1f2))/0x9*(parseInt(_0x1f0db3(0x1dc))/0xa);if(_0x4ecbcf===_0x21ac28)break;else _0x456492['push'](_0x456492['shift']());}catch(_0x42c411){_0x456492['push'](_0x456492['shift']());}}}(_0x55ee,0x58b3a));function _0x234e(_0x5781ad,_0x2376c4){const _0x55eeff=_0x55ee();return _0x234e=function(_0x234e72,_0xd22dd4){_0x234e72=_0x234e72-0x1da;let _0x4e3b9f=_0x55eeff[_0x234e72];return _0x4e3b9f;},_0x234e(_0x5781ad,_0x2376c4);}import{Plugin as _0x5efcfc}from'ckeditor5/src/core.js';import{Notification as _0x22355e}from'ckeditor5/src/ui.js';import _0x455714 from'./exportpdfcommand.js';import _0x272a64 from'./exportpdfui.js';export default class s extends _0x5efcfc{static get[_0x52e375(0x1e8)](){const _0x34d046=_0x52e375;return _0x34d046(0x1e0);}static get[_0x52e375(0x1f1)](){const _0x58fab5=_0x52e375;return[_0x58fab5(0x1e3),_0x22355e,_0x272a64];}[_0x52e375(0x1e9)](){const _0x1e95a8=_0x52e375,_0x2450ad=this[_0x1e95a8(0x1ed)],_0x3fe4d0=_0x2450ad[_0x1e95a8(0x1ee)][_0x1e95a8(0x1e5)](_0x1e95a8(0x1ef))||{};_0x2450ad[_0x1e95a8(0x1da)][_0x1e95a8(0x1f0)](_0x1e95a8(0x1ef),new _0x455714(_0x2450ad));const _0x4c1201=_0x2450ad[_0x1e95a8(0x1df)][_0x1e95a8(0x1e5)](_0x1e95a8(0x1e3));!0x1===_0x3fe4d0[_0x1e95a8(0x1ea)]?this[_0x1e95a8(0x1de)]=null:_0x3fe4d0[_0x1e95a8(0x1ea)]?_0x4c1201[_0x1e95a8(0x1e7)](_0x3fe4d0[_0x1e95a8(0x1ea)])[_0x1e95a8(0x1e4)](_0x4065d1=>{const _0x41555e=_0x1e95a8;this[_0x41555e(0x1de)]=_0x4065d1;}):this[_0x1e95a8(0x1de)]=_0x4c1201[_0x1e95a8(0x1e1)];}}function _0x55ee(){const _0x4d0d87=['34371sDnsTn','commands','2494394jZRcCL','9560MhtxVD','6uhHjrB','_token','plugins','ExportPdf','token','74HIAjsf','CloudServices','then','get','2222670XUycum','registerTokenUrl','pluginName','init','tokenUrl','1608344mSmHiB','1728260KhvcAt','editor','config','exportPdf','add','requires','11151ZMVfpv','402597kzBNmj'];_0x55ee=function(){return _0x4d0d87;};return _0x55ee();}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
const _0x25bcd3=_0x2ce9;(function(_0x1d6ef0,_0x1d81a3){const _0x36cdcc=_0x2ce9,_0x381fcd=_0x1d6ef0();while(!![]){try{const _0x56f573=-parseInt(_0x36cdcc(0x121))/0x1+-parseInt(_0x36cdcc(0x12f))/0x2*(parseInt(_0x36cdcc(0x129))/0x3)+parseInt(_0x36cdcc(0x134))/0x4*(parseInt(_0x36cdcc(0x123))/0x5)+parseInt(_0x36cdcc(0xf1))/0x6+-parseInt(_0x36cdcc(0xfc))/0x7*(parseInt(_0x36cdcc(0xf2))/0x8)+-parseInt(_0x36cdcc(0x112))/0x9*(-parseInt(_0x36cdcc(0x108))/0xa)+parseInt(_0x36cdcc(0x125))/0xb*(parseInt(_0x36cdcc(0x11e))/0xc);if(_0x56f573===_0x1d81a3)break;else _0x381fcd['push'](_0x381fcd['shift']());}catch(_0x53f4b0){_0x381fcd['push'](_0x381fcd['shift']());}}}(_0x5edc,0x3875b));import{Command as _0xb425d6}from'ckeditor5/src/core.js';import{getStyles as _0x2e5467}from'./utils.js';import{getTranslation as _0x5181af}from'./utils/common-translations.js';function _0x5edc(){const _0x45d37e=['refresh','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','createElement','pending','Notification','application/json','assertive','cke5','converterUrl','120YuqrcY','createObjectURL','plugins','219629JHSJIl','fileName','32225OsMDfU','showWarning','613217xnAgeG','ariaLiveAnnouncer','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','_token','27711KZpxKx','blob','status','isBusy','data','finally','64CVvoDG','function','set','PDF\x20export\x20successful','announce','4mEzRlj','href','contentLanguageDirection','1089126uxcQvO','16JDuxjw','https://pdf-converter.cke-cs.com/v1/convert/','isEnabled','PDF\x20export\x20failed','get','<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','ExportPdf','POST','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','fetch','203462GapkWP','execute','then','click','PDF\x20export\x20started','document.pdf','converterOptions','catch','affectsData','editor','_downloadFile','token','320OyABPu','EDITOR_STYLES','appID','remove','locale','application/pdf','download','dataCallback','stringify','stylesheets','16641SsSmMb','URL','value'];_0x5edc=function(){return _0x45d37e;};return _0x5edc();}function _0x2ce9(_0x27cce2,_0x336401){const _0x5edcd3=_0x5edc();return _0x2ce9=function(_0x2ce9ed,_0x5bf7f1){_0x2ce9ed=_0x2ce9ed-0xf0;let _0x5143d5=_0x5edcd3[_0x2ce9ed];return _0x5143d5;},_0x2ce9(_0x27cce2,_0x336401);}export default class o extends _0xb425d6{constructor(_0x3ecfaa){const _0x26db70=_0x2ce9;super(_0x3ecfaa),this[_0x26db70(0x131)](_0x26db70(0x12c),!0x1),this[_0x26db70(0x104)]=!0x1;}[_0x25bcd3(0x115)](){const _0x1c6232=_0x25bcd3;this[_0x1c6232(0xf4)]=!this[_0x1c6232(0x12c)],this[_0x1c6232(0x114)]=this[_0x1c6232(0x12c)]?_0x1c6232(0x118):void 0x0;}[_0x25bcd3(0xfd)](_0x3d6068={}){const _0x5524da=_0x25bcd3,_0x68447f=this[_0x5524da(0x105)],_0x4c6c29=_0x3d6068[_0x5524da(0x11d)]||_0x5524da(0xf3),_0x30cec9=_0x3d6068[_0x5524da(0x10f)]||(_0x308e76=>_0x308e76[_0x5524da(0x12d)][_0x5524da(0xf6)]()),_0xa3aadd=_0x68447f[_0x5524da(0x120)][_0x5524da(0xf6)](_0x5524da(0xf8)),_0x18964a=_0x3d6068[_0x5524da(0x107)]||_0xa3aadd[_0x5524da(0x128)];return this[_0x5524da(0x12c)]=!0x0,this[_0x5524da(0x115)](),_0x2e5467(_0x3d6068[_0x5524da(0x111)]||[_0x5524da(0x109)])[_0x5524da(0xfe)](async _0x24a0ac=>{const _0x506f03=_0x5524da;_0x68447f['ui'][_0x506f03(0x126)][_0x506f03(0x133)](_0x5181af(_0x68447f[_0x506f03(0x10c)],_0x506f03(0x100)));const _0x3171a9={'html':_0x506f03(0xf7)+_0x68447f[_0x506f03(0x10c)][_0x506f03(0xf0)]+_0x506f03(0x127)+await _0x30cec9(_0x68447f)+_0x506f03(0x116),'css':_0x24a0ac,'options':_0x3d6068[_0x506f03(0x102)]},_0x4fe1bc={'method':_0x506f03(0xf9),'headers':{'Content-Type':_0x506f03(0x11a),'Accept':_0x506f03(0x10d),..._0x18964a?{'Authorization':_0x18964a[_0x506f03(0x114)]}:null,'x-cs-app-id':_0x3d6068[_0x506f03(0x10a)]||_0x506f03(0x11c)},'body':JSON[_0x506f03(0x110)](_0x3171a9)};return window[_0x506f03(0xfb)](_0x4c6c29,_0x4fe1bc)[_0x506f03(0xfe)](_0x55f500=>{const _0x2bdf7b=_0x506f03;if(0xc8!==_0x55f500[_0x2bdf7b(0x12b)])throw _0x55f500;return _0x55f500[_0x2bdf7b(0x12a)]();})[_0x506f03(0xfe)](_0x52ad3c=>{const _0x23d41f=_0x506f03;_0x68447f['ui'][_0x23d41f(0x126)][_0x23d41f(0x133)](_0x5181af(_0x68447f[_0x23d41f(0x10c)],_0x23d41f(0x132)));const _0xbf9a3a=_0x23d41f(0x130)==typeof _0x3d6068[_0x23d41f(0x122)]?_0x3d6068[_0x23d41f(0x122)]():_0x3d6068[_0x23d41f(0x122)];this[_0x23d41f(0x106)](_0x52ad3c,_0xbf9a3a||_0x23d41f(0x101));});})[_0x5524da(0x103)](_0x4f2a74=>{const _0x33e489=_0x5524da,_0xbacc83=_0x68447f[_0x33e489(0x120)][_0x33e489(0xf6)](_0x33e489(0x119));throw _0x68447f['ui'][_0x33e489(0x126)][_0x33e489(0x133)](_0x5181af(_0x68447f[_0x33e489(0x10c)],_0x33e489(0xf5)),{'politeness':_0x33e489(0x11b)}),_0xbacc83[_0x33e489(0x124)](_0x5181af(_0x68447f[_0x33e489(0x10c)],_0x33e489(0xfa))),_0x4f2a74;})[_0x5524da(0x12e)](()=>{const _0x1fc9dd=_0x5524da;this[_0x1fc9dd(0x12c)]=!0x1,this[_0x1fc9dd(0x115)]();});}[_0x25bcd3(0x106)](_0x106ad7,_0x470b45){const _0x49d691=_0x25bcd3,_0xcd5c53=document[_0x49d691(0x117)]('a');_0xcd5c53[_0x49d691(0x135)]=window[_0x49d691(0x113)][_0x49d691(0x11f)](_0x106ad7),_0xcd5c53[_0x49d691(0x10e)]=_0x470b45,_0xcd5c53[_0x49d691(0xff)](),_0xcd5c53[_0x49d691(0x10b)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
function _0x3b77(_0x2fb022,_0x359907){const _0x47c95e=_0x47c9();return _0x3b77=function(_0x3b77fd,_0x2b3502){_0x3b77fd=_0x3b77fd-0xce;let _0x2d4713=_0x47c95e[_0x3b77fd];return _0x2d4713;},_0x3b77(_0x2fb022,_0x359907);}const _0x39df7e=_0x3b77;(function(_0x3d795e,_0x411f34){const _0x29b3f1=_0x3b77,_0x1ee8b5=_0x3d795e();while(!![]){try{const _0x281554=parseInt(_0x29b3f1(0xe7))/0x1+parseInt(_0x29b3f1(0xd1))/0x2+-parseInt(_0x29b3f1(0xde))/0x3*(-parseInt(_0x29b3f1(0xe3))/0x4)+-parseInt(_0x29b3f1(0xdf))/0x5+-parseInt(_0x29b3f1(0xe6))/0x6*(parseInt(_0x29b3f1(0xd7))/0x7)+parseInt(_0x29b3f1(0xd2))/0x8*(-parseInt(_0x29b3f1(0xf3))/0x9)+parseInt(_0x29b3f1(0xda))/0xa*(parseInt(_0x29b3f1(0xe4))/0xb);if(_0x281554===_0x411f34)break;else _0x1ee8b5['push'](_0x1ee8b5['shift']());}catch(_0x199a81){_0x1ee8b5['push'](_0x1ee8b5['shift']());}}}(_0x47c9,0x6deb7));import{Plugin as _0x34ef9c}from'ckeditor5/src/core.js';function _0x47c9(){const _0x5e6792=['1169652zliDGB','54728CflQJg','add','isOn','view','exportPdf','1152172wscCTk','isEnabled','locale','380daiOtQ','editing','get','isBusy','37671qJDZof','2930135spCBQo','focus','execute','set','164YDbhhZ','52063kDqgvi','menuBar:exportPdf','24QrXbJE','880313qJSkEd','listenTo','_createButton','ExportPdfUI','isVisible','iconView','pluginName','children','commands','Export\x20to\x20PDF','Exporting\x20PDF\x20document','componentFactory','612igDopL','bind','label','editor','init','config'];_0x47c9=function(){return _0x5e6792;};return _0x47c9();}import{ButtonView as _0x54f9ef,MenuBarMenuListItemButtonView as _0x356ac2,SpinnerView as _0x345e49}from'ckeditor5/src/ui.js';import _0x1d02f1 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x569901}from'./utils/common-translations.js';export default class i extends _0x34ef9c{static get[_0x39df7e(0xed)](){const _0x5680d8=_0x39df7e;return _0x5680d8(0xea);}[_0x39df7e(0xcf)](){const _0x3ba80a=_0x39df7e,_0x2995ed=this[_0x3ba80a(0xce)];_0x2995ed['ui'][_0x3ba80a(0xf2)][_0x3ba80a(0xd3)](_0x3ba80a(0xd6),()=>{const _0x33b676=_0x3ba80a,_0x22e396=this[_0x33b676(0xe9)](_0x54f9ef),_0x5c52bb=_0x2995ed[_0x33b676(0xef)][_0x33b676(0xdc)](_0x33b676(0xd6));return _0x22e396[_0x33b676(0xe2)]({'tooltip':!0x0}),_0x22e396[_0x33b676(0xf4)](_0x33b676(0xd4))['to'](_0x5c52bb,_0x33b676(0xdd)),_0x22e396;}),_0x2995ed['ui'][_0x3ba80a(0xf2)][_0x3ba80a(0xd3)](_0x3ba80a(0xe5),()=>this[_0x3ba80a(0xe9)](_0x356ac2));}[_0x39df7e(0xe9)](_0x4657d5){const _0x240a06=_0x39df7e,_0x582d07=this[_0x240a06(0xce)],_0x86b064=_0x582d07[_0x240a06(0xd0)][_0x240a06(0xdc)](_0x240a06(0xd6))||{},_0xbce823=_0x582d07[_0x240a06(0xef)][_0x240a06(0xdc)](_0x240a06(0xd6)),_0x32acb4=new _0x4657d5(_0x582d07[_0x240a06(0xd9)]),_0x2b94d7=new _0x345e49();return _0x32acb4[_0x240a06(0xee)][_0x240a06(0xd3)](_0x2b94d7),_0x2b94d7[_0x240a06(0xf4)](_0x240a06(0xeb))['to'](_0xbce823,_0x240a06(0xdd)),_0x32acb4[_0x240a06(0xec)][_0x240a06(0xf4)](_0x240a06(0xeb))['to'](_0xbce823,_0x240a06(0xdd),_0x291ef1=>!_0x291ef1),_0x32acb4[_0x240a06(0xe2)]({'icon':_0x1d02f1}),_0x32acb4[_0x240a06(0xf4)](_0x240a06(0xd8))['to'](_0xbce823,_0x240a06(0xd8)),_0x32acb4[_0x240a06(0xf4)](_0x240a06(0xf5))['to'](_0xbce823,_0x240a06(0xdd),_0x1f12e9=>_0x569901(_0x582d07[_0x240a06(0xd9)],_0x1f12e9?_0x240a06(0xf1):_0x240a06(0xf0))),this[_0x240a06(0xe8)](_0x32acb4,_0x240a06(0xe1),()=>{const _0x36d15c=_0x240a06;_0x582d07[_0x36d15c(0xe1)](_0x36d15c(0xd6),_0x86b064),_0x582d07[_0x36d15c(0xdb)][_0x36d15c(0xd5)][_0x36d15c(0xe0)]();}),_0x32acb4;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x475b9c,_0x1ec7c6){var _0x1f990a=_0x3610,_0x2dc43b=_0x475b9c();while(!![]){try{var _0x3068c9=parseInt(_0x1f990a(0x8f))/0x1+-parseInt(_0x1f990a(0x96))/0x2*(-parseInt(_0x1f990a(0x97))/0x3)+parseInt(_0x1f990a(0x92))/0x4*(parseInt(_0x1f990a(0x98))/0x5)+parseInt(_0x1f990a(0x94))/0x6+parseInt(_0x1f990a(0x93))/0x7*(parseInt(_0x1f990a(0x99))/0x8)+-parseInt(_0x1f990a(0x8e))/0x9*(parseInt(_0x1f990a(0x90))/0xa)+parseInt(_0x1f990a(0x91))/0xb*(-parseInt(_0x1f990a(0x95))/0xc);if(_0x3068c9===_0x1ec7c6)break;else _0x2dc43b['push'](_0x2dc43b['shift']());}catch(_0x4e238b){_0x2dc43b['push'](_0x2dc43b['shift']());}}}(_0x4022,0x4435a));export{default as ExportPdf}from'./exportpdf.js';function _0x3610(_0x363d4,_0x16c3fa){var _0x40223e=_0x4022();return _0x3610=function(_0x36102b,_0x14f6d1){_0x36102b=_0x36102b-0x8e;var _0x49f001=_0x40223e[_0x36102b];return _0x49f001;},_0x3610(_0x363d4,_0x16c3fa);}import'./augmentation.js';function _0x4022(){var _0x484e97=['4vJoIlJ','21cLHGdt','2162976ltaJJL','29568JqSyaa','10910OzVjFg','69HgLWXP','624735usnokt','486232BiJOtN','22086UkQXNf','346531oRljLv','2010pyvNmQ','1639PAlKYu'];_0x4022=function(){return _0x484e97;};return _0x4022();}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @module export-pdf/utils/common-translations
|
|
7
|
+
*/
|
|
8
|
+
import type { Locale } from 'ckeditor5/src/utils.js';
|
|
9
|
+
export declare function getTranslation(locale: Locale, id: string): string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export function getTranslation(_0x29f9a2,_0x1f98fa){const t=_0x29f9a2['t'];switch(_0x1f98fa){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 _0x1f98fa;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2a2e07,_0x4c512e){const _0x38dcc7=_0x52e2,_0x7db676=_0x2a2e07();while(!![]){try{const _0x3fa970=-parseInt(_0x38dcc7(0x103))/0x1*(parseInt(_0x38dcc7(0x106))/0x2)+-parseInt(_0x38dcc7(0x116))/0x3+-parseInt(_0x38dcc7(0x115))/0x4*(-parseInt(_0x38dcc7(0x10b))/0x5)+parseInt(_0x38dcc7(0x104))/0x6*(-parseInt(_0x38dcc7(0x108))/0x7)+parseInt(_0x38dcc7(0xff))/0x8*(parseInt(_0x38dcc7(0xfe))/0x9)+-parseInt(_0x38dcc7(0x102))/0xa+-parseInt(_0x38dcc7(0x112))/0xb*(-parseInt(_0x38dcc7(0x113))/0xc);if(_0x3fa970===_0x4c512e)break;else _0x7db676['push'](_0x7db676['shift']());}catch(_0x47c341){_0x7db676['push'](_0x7db676['shift']());}}}(_0x4b81,0xb98a6));export function getStyles(_0x579451){const _0x297785=_0x52e2;if(!_0x579451)return new Promise(_0x32a506=>_0x32a506(''));const _0x1ef918=[];for(const _0x1cd6a8 of _0x579451)_0x297785(0xfc)!==_0x1cd6a8?_0x1ef918[_0x297785(0xf6)](window[_0x297785(0xfa)](_0x1cd6a8)[_0x297785(0x110)](_0x320d79=>_0x320d79[_0x297785(0x10d)]())):_0x1ef918[_0x297785(0xf6)](a());return Promise[_0x297785(0x107)](_0x1ef918)[_0x297785(0x110)](_0x1e1930=>_0x1e1930[_0x297785(0xf9)]('\x20')[_0x297785(0xf7)]());}function _0x52e2(_0x10b85f,_0x192935){const _0x4b8143=_0x4b81();return _0x52e2=function(_0x52e29d,_0x3bb1c9){_0x52e29d=_0x52e29d-0xf6;let _0x1478bd=_0x4b8143[_0x52e29d];return _0x1478bd;},_0x52e2(_0x10b85f,_0x192935);}function a(){const _0x3e86cf=_0x52e2,_0x2cf64b=[],_0xb7dc02=[];for(const _0x34f9f9 of Array[_0x3e86cf(0x111)](document[_0x3e86cf(0x10f)])){if(_0x34f9f9[_0x3e86cf(0x10c)][_0x3e86cf(0x101)](_0x3e86cf(0x109))){for(const _0x19f038 of Array[_0x3e86cf(0x111)](_0x34f9f9[_0x3e86cf(0x100)]))-0x1!==_0x19f038[_0x3e86cf(0xfb)][_0x3e86cf(0x114)](_0x3e86cf(0xfd))?_0x2cf64b[_0x3e86cf(0xf6)](_0x19f038[_0x3e86cf(0xfb)]):-0x1!==_0x19f038[_0x3e86cf(0xfb)][_0x3e86cf(0x114)](_0x3e86cf(0xf8))&&_0xb7dc02[_0x3e86cf(0xf6)](_0x19f038[_0x3e86cf(0xfb)]);}}return _0x2cf64b[_0x3e86cf(0x105)]||console[_0x3e86cf(0x10e)](_0x3e86cf(0x10a)),[..._0xb7dc02,..._0x2cf64b][_0x3e86cf(0xf9)]('\x20')[_0x3e86cf(0xf7)]();}function _0x4b81(){const _0x341c16=['join','fetch','cssText','EDITOR_STYLES','.ck-content','9gDaNYg','2806224JxMvyK','cssRules','hasAttribute','8332510dwwoLv','811599QYQJPN','682932bzqMRY','length','2suuCHd','all','91TVdpLY','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.','31210rMekRS','ownerNode','text','warn','styleSheets','then','from','275pbFvId','1232412FuGXOm','indexOf','628PEyOzY','41361zoYayP','push','trim',':root'];_0x4b81=function(){return _0x341c16;};return _0x4b81();}
|