@ckeditor/ckeditor5-export-pdf 0.0.0-nightly-20240624.0 → 0.0.0-nightly-20240626.1
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
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':_0x493c52=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5edb90=>{const {zh:{dictionary:_0x1d5e82,getPluralForm:_0x1072d7}}={'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':_0x97b810=>0x0}};_0x5edb90['zh']||={'dictionary':{},'getPluralForm':null},_0x5edb90['zh']['dictionary']=Object['assign'](_0x5edb90['zh']['dictionary'],_0x1d5e82),_0x5edb90['zh']['getPluralForm']=_0x1072d7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -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-20240626.1",
|
|
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-20240626.1"
|
|
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 _0x2b4edd=_0xcb37;function _0xcb37(_0x2436c7,_0x46c953){const _0x3f6ffd=_0x3f6f();return _0xcb37=function(_0xcb372b,_0x40bfe3){_0xcb372b=_0xcb372b-0x167;let _0x49c64f=_0x3f6ffd[_0xcb372b];return _0x49c64f;},_0xcb37(_0x2436c7,_0x46c953);}(function(_0x33b952,_0x181e5d){const _0xe1773=_0xcb37,_0x5130cf=_0x33b952();while(!![]){try{const _0x1a7d0a=parseInt(_0xe1773(0x179))/0x1+-parseInt(_0xe1773(0x16f))/0x2+parseInt(_0xe1773(0x170))/0x3+-parseInt(_0xe1773(0x180))/0x4*(parseInt(_0xe1773(0x169))/0x5)+parseInt(_0xe1773(0x16c))/0x6+parseInt(_0xe1773(0x17b))/0x7+parseInt(_0xe1773(0x16a))/0x8*(-parseInt(_0xe1773(0x171))/0x9);if(_0x1a7d0a===_0x181e5d)break;else _0x5130cf['push'](_0x5130cf['shift']());}catch(_0x5b8db7){_0x5130cf['push'](_0x5130cf['shift']());}}}(_0x3f6f,0x70dc7));import{Plugin as _0x12debb}from'ckeditor5/src/core.js';import{Notification as _0x2ad842}from'ckeditor5/src/ui.js';import _0x82c501 from'./exportpdfcommand.js';import _0x495d24 from'./exportpdfui.js';function _0x3f6f(){const _0x5cd1de=['4264925MWSpGA','editor','init','pluginName','tokenUrl','84aFJKef','token','registerTokenUrl','182365gaKPwY','450632NMOMVO','config','2199894QpGgui','then','exportPdf','947650vJBPND','2311965cjKcfM','153iIOsmc','CloudServices','get','requires','commands','add','plugins','ExportPdf','913051yjJgjm','_token'];_0x3f6f=function(){return _0x5cd1de;};return _0x3f6f();}export default class s extends _0x12debb{static get[_0x2b4edd(0x17e)](){const _0x122dd5=_0x2b4edd;return _0x122dd5(0x178);}static get[_0x2b4edd(0x174)](){const _0x52a8f6=_0x2b4edd;return[_0x52a8f6(0x172),_0x2ad842,_0x495d24];}[_0x2b4edd(0x17d)](){const _0x38312d=_0x2b4edd,_0xf31755=this[_0x38312d(0x17c)],_0x334a98=_0xf31755[_0x38312d(0x16b)][_0x38312d(0x173)](_0x38312d(0x16e))||{};_0xf31755[_0x38312d(0x175)][_0x38312d(0x176)](_0x38312d(0x16e),new _0x82c501(_0xf31755));const _0x33dc8b=_0xf31755[_0x38312d(0x177)][_0x38312d(0x173)](_0x38312d(0x172));!0x1===_0x334a98[_0x38312d(0x17f)]?this[_0x38312d(0x17a)]=null:_0x334a98[_0x38312d(0x17f)]?_0x33dc8b[_0x38312d(0x168)](_0x334a98[_0x38312d(0x17f)])[_0x38312d(0x16d)](_0x53effb=>{const _0x29ba2a=_0x38312d;this[_0x29ba2a(0x17a)]=_0x53effb;}):this[_0x38312d(0x17a)]=_0x33dc8b[_0x38312d(0x167)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x570c3f=_0x3c7d;(function(_0x257a3e,_0x443e49){const _0xf0aeca=_0x3c7d,_0x4f16ba=_0x257a3e();while(!![]){try{const _0xe66eb8=parseInt(_0xf0aeca(0x74))/0x1*(-parseInt(_0xf0aeca(0xa3))/0x2)+parseInt(_0xf0aeca(0x7b))/0x3+parseInt(_0xf0aeca(0x9b))/0x4*(parseInt(_0xf0aeca(0x7e))/0x5)+-parseInt(_0xf0aeca(0x9a))/0x6+parseInt(_0xf0aeca(0x8c))/0x7+parseInt(_0xf0aeca(0xac))/0x8*(parseInt(_0xf0aeca(0x94))/0x9)+-parseInt(_0xf0aeca(0x99))/0xa;if(_0xe66eb8===_0x443e49)break;else _0x4f16ba['push'](_0x4f16ba['shift']());}catch(_0x55b148){_0x4f16ba['push'](_0x4f16ba['shift']());}}}(_0x30d5,0xb922f));import{Command as _0x553bd0}from'ckeditor5/src/core.js';function _0x3c7d(_0x31463b,_0x873018){const _0x30d55d=_0x30d5();return _0x3c7d=function(_0x3c7d9e,_0x4fccd6){_0x3c7d9e=_0x3c7d9e-0x6e;let _0x41267b=_0x30d55d[_0x3c7d9e];return _0x41267b;},_0x3c7d(_0x31463b,_0x873018);}function _0x30d5(){const _0x1df9d5=['4446816Kkmggp','affectsData','fetch','260DNRSNA','refresh','data','ariaLiveAnnouncer','click','contentLanguageDirection','document.pdf','PDF\x20export\x20started','isEnabled','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','application/json','get','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','status','9894626dohgvl','EDITOR_STYLES','<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','value','pending','_token','isBusy','PDF\x20export\x20failed','5238yIMRxC','editor','dataCallback','createElement','application/pdf','19566120yrwHrq','2163906xQCsYo','19820TfToDa','stringify','showWarning','href','download','locale','POST','function','8122YPwLvi','converterOptions','PDF\x20export\x20successful','then','stylesheets','fileName','blob','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','https://pdf-converter.cke-cs.com/v1/convert/','1944lGZUFp','URL','Notification','finally','ExportPdf','catch','set','assertive','createObjectURL','converterUrl','remove','plugins','54CEXPLI','cke5','_downloadFile','token','appID','announce','execute'];_0x30d5=function(){return _0x1df9d5;};return _0x30d5();}import{getStyles as _0x11e72f}from'./utils.js';import{getTranslation as _0xabf209}from'./utils/common-translations.js';export default class o extends _0x553bd0{constructor(_0x101609){const _0x3f83a4=_0x3c7d;super(_0x101609),this[_0x3f83a4(0x6e)](_0x3f83a4(0x92),!0x1),this[_0x3f83a4(0x7c)]=!0x1;}[_0x570c3f(0x7f)](){const _0x31886c=_0x570c3f;this[_0x31886c(0x86)]=!this[_0x31886c(0x92)],this[_0x31886c(0x8f)]=this[_0x31886c(0x92)]?_0x31886c(0x90):void 0x0;}[_0x570c3f(0x7a)](_0x3c3827={}){const _0x1bb23b=_0x570c3f,_0x13f2e2=this[_0x1bb23b(0x95)],_0x45d02b=_0x3c3827[_0x1bb23b(0x71)]||_0x1bb23b(0xab),_0x375617=_0x3c3827[_0x1bb23b(0x96)]||(_0x58b9b0=>_0x58b9b0[_0x1bb23b(0x80)][_0x1bb23b(0x89)]()),_0x2c016b=_0x13f2e2[_0x1bb23b(0x73)][_0x1bb23b(0x89)](_0x1bb23b(0xb0)),_0x40b1ce=_0x3c3827[_0x1bb23b(0x77)]||_0x2c016b[_0x1bb23b(0x91)];return this[_0x1bb23b(0x92)]=!0x0,this[_0x1bb23b(0x7f)](),_0x11e72f(_0x3c3827[_0x1bb23b(0xa7)]||[_0x1bb23b(0x8d)])[_0x1bb23b(0xa6)](async _0x99f0ec=>{const _0x338733=_0x1bb23b;_0x13f2e2['ui'][_0x338733(0x81)][_0x338733(0x79)](_0xabf209(_0x13f2e2[_0x338733(0xa0)],_0x338733(0x85)));const _0x5ba3c0={'html':_0x338733(0x8e)+_0x13f2e2[_0x338733(0xa0)][_0x338733(0x83)]+_0x338733(0xaa)+await _0x375617(_0x13f2e2)+_0x338733(0x8a),'css':_0x99f0ec,'options':_0x3c3827[_0x338733(0xa4)]},_0x223d63={'method':_0x338733(0xa1),'headers':{'Content-Type':_0x338733(0x88),'Accept':_0x338733(0x98),..._0x40b1ce?{'Authorization':_0x40b1ce[_0x338733(0x8f)]}:null,'x-cs-app-id':_0x3c3827[_0x338733(0x78)]||_0x338733(0x75)},'body':JSON[_0x338733(0x9c)](_0x5ba3c0)};return window[_0x338733(0x7d)](_0x45d02b,_0x223d63)[_0x338733(0xa6)](_0x7f3aa0=>{const _0x14be1e=_0x338733;if(0xc8!==_0x7f3aa0[_0x14be1e(0x8b)])throw _0x7f3aa0;return _0x7f3aa0[_0x14be1e(0xa9)]();})[_0x338733(0xa6)](_0x4030f2=>{const _0x1c458a=_0x338733;_0x13f2e2['ui'][_0x1c458a(0x81)][_0x1c458a(0x79)](_0xabf209(_0x13f2e2[_0x1c458a(0xa0)],_0x1c458a(0xa5)));const _0x588380=_0x1c458a(0xa2)==typeof _0x3c3827[_0x1c458a(0xa8)]?_0x3c3827[_0x1c458a(0xa8)]():_0x3c3827[_0x1c458a(0xa8)];this[_0x1c458a(0x76)](_0x4030f2,_0x588380||_0x1c458a(0x84));});})[_0x1bb23b(0xb1)](_0x37c1b6=>{const _0x4afa75=_0x1bb23b,_0x1cae86=_0x13f2e2[_0x4afa75(0x73)][_0x4afa75(0x89)](_0x4afa75(0xae));throw _0x13f2e2['ui'][_0x4afa75(0x81)][_0x4afa75(0x79)](_0xabf209(_0x13f2e2[_0x4afa75(0xa0)],_0x4afa75(0x93)),{'politeness':_0x4afa75(0x6f)}),_0x1cae86[_0x4afa75(0x9d)](_0xabf209(_0x13f2e2[_0x4afa75(0xa0)],_0x4afa75(0x87))),_0x37c1b6;})[_0x1bb23b(0xaf)](()=>{const _0x40a325=_0x1bb23b;this[_0x40a325(0x92)]=!0x1,this[_0x40a325(0x7f)]();});}[_0x570c3f(0x76)](_0x29d9eb,_0x202d0d){const _0x394279=_0x570c3f,_0x21ab8c=document[_0x394279(0x97)]('a');_0x21ab8c[_0x394279(0x9e)]=window[_0x394279(0xad)][_0x394279(0x70)](_0x29d9eb),_0x21ab8c[_0x394279(0x9f)]=_0x202d0d,_0x21ab8c[_0x394279(0x82)](),_0x21ab8c[_0x394279(0x72)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
function _0x431e(){const _0x3c6372=['view','1845351pzzfwu','9BraRre','locale','ExportPdfUI','set','listenTo','execute','_createButton','isEnabled','pluginName','isOn','23033384XYjyta','6095496KVCGFH','menuBar:exportPdf','6730860tRtNZo','componentFactory','commands','iconView','bind','2621198vNPGEX','14ihRvvz','get','Exporting\x20PDF\x20document','add','Export\x20to\x20PDF','focus','1771816gOxWQU','isBusy','editing','1iNrNAk','178768lFBfCQ','children','85etmstw','config','isVisible','init','exportPdf','editor','label'];_0x431e=function(){return _0x3c6372;};return _0x431e();}const _0x43ab1c=_0xb141;(function(_0x49775c,_0x3c4aaf){const _0x6b4274=_0xb141,_0x269bad=_0x49775c();while(!![]){try{const _0x44358d=parseInt(_0x6b4274(0x123))/0x1*(parseInt(_0x6b4274(0x119))/0x2)+parseInt(_0x6b4274(0x12e))/0x3+parseInt(_0x6b4274(0x124))/0x4*(parseInt(_0x6b4274(0x126))/0x5)+-parseInt(_0x6b4274(0x112))/0x6+-parseInt(_0x6b4274(0x11a))/0x7*(-parseInt(_0x6b4274(0x120))/0x8)+parseInt(_0x6b4274(0x12f))/0x9*(parseInt(_0x6b4274(0x114))/0xa)+-parseInt(_0x6b4274(0x139))/0xb;if(_0x44358d===_0x3c4aaf)break;else _0x269bad['push'](_0x269bad['shift']());}catch(_0x38ccb2){_0x269bad['push'](_0x269bad['shift']());}}}(_0x431e,0xa8dcc));import{Plugin as _0x7629f5}from'ckeditor5/src/core.js';import{ButtonView as _0x4568ef,MenuBarMenuListItemButtonView as _0x636c35,SpinnerView as _0x17b3f4}from'ckeditor5/src/ui.js';import _0x244943 from'../theme/icons/exportpdf.svg';import{getTranslation as _0x4fe54c}from'./utils/common-translations.js';function _0xb141(_0x14f6f9,_0x5883ef){const _0x431ec4=_0x431e();return _0xb141=function(_0xb14141,_0x263587){_0xb14141=_0xb14141-0x112;let _0x551ad2=_0x431ec4[_0xb14141];return _0x551ad2;},_0xb141(_0x14f6f9,_0x5883ef);}export default class i extends _0x7629f5{static get[_0x43ab1c(0x137)](){const _0x132f86=_0x43ab1c;return _0x132f86(0x131);}[_0x43ab1c(0x129)](){const _0xd17b6b=_0x43ab1c,_0x19fa5a=this[_0xd17b6b(0x12b)];_0x19fa5a['ui'][_0xd17b6b(0x115)][_0xd17b6b(0x11d)](_0xd17b6b(0x12a),()=>{const _0x3aadf3=_0xd17b6b,_0x307a0b=this[_0x3aadf3(0x135)](_0x4568ef),_0x3d0cb8=_0x19fa5a[_0x3aadf3(0x116)][_0x3aadf3(0x11b)](_0x3aadf3(0x12a));return _0x307a0b[_0x3aadf3(0x132)]({'tooltip':!0x0}),_0x307a0b[_0x3aadf3(0x118)](_0x3aadf3(0x138))['to'](_0x3d0cb8,_0x3aadf3(0x121)),_0x307a0b;}),_0x19fa5a['ui'][_0xd17b6b(0x115)][_0xd17b6b(0x11d)](_0xd17b6b(0x113),()=>this[_0xd17b6b(0x135)](_0x636c35));}[_0x43ab1c(0x135)](_0x89f03e){const _0x4d45b9=_0x43ab1c,_0x1f6aef=this[_0x4d45b9(0x12b)],_0xbeee26=_0x1f6aef[_0x4d45b9(0x127)][_0x4d45b9(0x11b)](_0x4d45b9(0x12a))||{},_0x2af799=_0x1f6aef[_0x4d45b9(0x116)][_0x4d45b9(0x11b)](_0x4d45b9(0x12a)),_0xf4206c=new _0x89f03e(_0x1f6aef[_0x4d45b9(0x130)]),_0x314e9a=new _0x17b3f4();return _0xf4206c[_0x4d45b9(0x125)][_0x4d45b9(0x11d)](_0x314e9a),_0x314e9a[_0x4d45b9(0x118)](_0x4d45b9(0x128))['to'](_0x2af799,_0x4d45b9(0x121)),_0xf4206c[_0x4d45b9(0x117)][_0x4d45b9(0x118)](_0x4d45b9(0x128))['to'](_0x2af799,_0x4d45b9(0x121),_0x5e64c4=>!_0x5e64c4),_0xf4206c[_0x4d45b9(0x132)]({'icon':_0x244943}),_0xf4206c[_0x4d45b9(0x118)](_0x4d45b9(0x136))['to'](_0x2af799,_0x4d45b9(0x136)),_0xf4206c[_0x4d45b9(0x118)](_0x4d45b9(0x12c))['to'](_0x2af799,_0x4d45b9(0x121),_0x870afd=>_0x4fe54c(_0x1f6aef[_0x4d45b9(0x130)],_0x870afd?_0x4d45b9(0x11c):_0x4d45b9(0x11e))),this[_0x4d45b9(0x133)](_0xf4206c,_0x4d45b9(0x134),()=>{const _0x2ab94b=_0x4d45b9;_0x1f6aef[_0x2ab94b(0x134)](_0x2ab94b(0x12a),_0xbeee26),_0x1f6aef[_0x2ab94b(0x122)][_0x2ab94b(0x12d)][_0x2ab94b(0x11f)]();}),_0xf4206c;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3a69f3,_0x4914d4){var _0x4e1ece=_0x17de,_0xd5597c=_0x3a69f3();while(!![]){try{var _0x3cf131=parseInt(_0x4e1ece(0x178))/0x1+-parseInt(_0x4e1ece(0x17b))/0x2*(parseInt(_0x4e1ece(0x179))/0x3)+parseInt(_0x4e1ece(0x17f))/0x4*(-parseInt(_0x4e1ece(0x180))/0x5)+-parseInt(_0x4e1ece(0x17e))/0x6*(parseInt(_0x4e1ece(0x17a))/0x7)+parseInt(_0x4e1ece(0x177))/0x8*(parseInt(_0x4e1ece(0x17c))/0x9)+parseInt(_0x4e1ece(0x17d))/0xa+parseInt(_0x4e1ece(0x181))/0xb;if(_0x3cf131===_0x4914d4)break;else _0xd5597c['push'](_0xd5597c['shift']());}catch(_0x47ce11){_0xd5597c['push'](_0xd5597c['shift']());}}}(_0x1033,0x6fd11));function _0x17de(_0x1e65fe,_0x338cd2){var _0x103361=_0x1033();return _0x17de=function(_0x17de76,_0x34873a){_0x17de76=_0x17de76-0x177;var _0x135745=_0x103361[_0x17de76];return _0x135745;},_0x17de(_0x1e65fe,_0x338cd2);}export{default as ExportPdf}from'./exportpdf.js';function _0x1033(){var _0x5a08db=['5662rPDeRc','16884DwaQnH','3731240EqlNfS','66fWRwfv','4TnbkZx','2806845XHsijK','10812692vBArvy','2688rVNdny','290298GeEnIz','804LTNbLw','317324BgWesz'];_0x1033=function(){return _0x5a08db;};return _0x1033();}import'./augmentation.js';
|
|
@@ -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(_0x6d317e,_0x5dcda5){const t=_0x6d317e['t'];switch(_0x5dcda5){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 _0x5dcda5;}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1406(_0x110486,_0x16e4d6){const _0x3e1583=_0x3e15();return _0x1406=function(_0x140652,_0x540105){_0x140652=_0x140652-0x1ba;let _0x25f16b=_0x3e1583[_0x140652];return _0x25f16b;},_0x1406(_0x110486,_0x16e4d6);}(function(_0x195d6c,_0x4899e8){const _0x116448=_0x1406,_0x5427e4=_0x195d6c();while(!![]){try{const _0x21891b=-parseInt(_0x116448(0x1bc))/0x1*(-parseInt(_0x116448(0x1d1))/0x2)+-parseInt(_0x116448(0x1ba))/0x3+parseInt(_0x116448(0x1c7))/0x4+-parseInt(_0x116448(0x1c0))/0x5*(-parseInt(_0x116448(0x1cc))/0x6)+parseInt(_0x116448(0x1cd))/0x7+parseInt(_0x116448(0x1d4))/0x8+-parseInt(_0x116448(0x1c8))/0x9;if(_0x21891b===_0x4899e8)break;else _0x5427e4['push'](_0x5427e4['shift']());}catch(_0x1a3088){_0x5427e4['push'](_0x5427e4['shift']());}}}(_0x3e15,0xe9c61));export function getStyles(_0x51e90e){const _0x4856e8=_0x1406;if(!_0x51e90e)return new Promise(_0x38c822=>_0x38c822(''));const _0x250a18=[];for(const _0x531e95 of _0x51e90e)_0x4856e8(0x1c9)!==_0x531e95?_0x250a18[_0x4856e8(0x1be)](window[_0x4856e8(0x1ce)](_0x531e95)[_0x4856e8(0x1d0)](_0x4f636c=>_0x4f636c[_0x4856e8(0x1d2)]())):_0x250a18[_0x4856e8(0x1be)](a());return Promise[_0x4856e8(0x1c5)](_0x250a18)[_0x4856e8(0x1d0)](_0xa22da4=>_0xa22da4[_0x4856e8(0x1d5)]('\x20')[_0x4856e8(0x1c1)]());}function a(){const _0xb5e648=_0x1406,_0x454407=[],_0x4012f5=[];for(const _0x228a85 of Array[_0xb5e648(0x1bb)](document[_0xb5e648(0x1c6)])){if(_0x228a85[_0xb5e648(0x1d3)][_0xb5e648(0x1c2)](_0xb5e648(0x1bd))){for(const _0x21749b of Array[_0xb5e648(0x1bb)](_0x228a85[_0xb5e648(0x1c3)]))-0x1!==_0x21749b[_0xb5e648(0x1ca)][_0xb5e648(0x1cb)](_0xb5e648(0x1d6))?_0x454407[_0xb5e648(0x1be)](_0x21749b[_0xb5e648(0x1ca)]):-0x1!==_0x21749b[_0xb5e648(0x1ca)][_0xb5e648(0x1cb)](_0xb5e648(0x1cf))&&_0x4012f5[_0xb5e648(0x1be)](_0x21749b[_0xb5e648(0x1ca)]);}}return _0x454407[_0xb5e648(0x1d7)]||console[_0xb5e648(0x1c4)](_0xb5e648(0x1bf)),[..._0x4012f5,..._0x454407][_0xb5e648(0x1d5)]('\x20')[_0xb5e648(0x1c1)]();}function _0x3e15(){const _0x5c3343=['4038300GEspQE','from','279301YqhaOR','data-cke','push','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.','355QFFWJr','trim','hasAttribute','cssRules','warn','all','styleSheets','7153644ZHtenQ','30488292rSsAvd','EDITOR_STYLES','cssText','indexOf','32646RKCSin','7583660vYNLmQ','fetch',':root','then','6ZCJvDI','text','ownerNode','12761760neYMFy','join','.ck-content','length'];_0x3e15=function(){return _0x5c3343;};return _0x3e15();}
|