@ckeditor/ckeditor5-export-pdf 0.0.0-internal-20241017.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 +4 -0
- package/LICENSE.md +18 -0
- package/README.md +44 -0
- package/build/export-pdf.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +21 -0
- package/dist/augmentation.d.ts +25 -0
- package/dist/exportpdf.d.ts +242 -0
- package/dist/exportpdfcommand.d.ts +43 -0
- package/dist/exportpdfui.d.ts +35 -0
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +4 -0
- package/dist/index.css +4 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/af.umd.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/ar.umd.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bg.umd.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bn.umd.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/ca.umd.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/cs.umd.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/da.umd.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/de.umd.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/el.umd.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en-au.umd.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/en.umd.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es-co.umd.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/es.umd.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/et.umd.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fi.umd.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/fr.umd.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/gl.umd.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/he.umd.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hi.umd.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hr.umd.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/hu.umd.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/id.umd.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/it.umd.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/ja.umd.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/jv.umd.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/ko.umd.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lt.umd.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/lv.umd.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/ms.umd.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/nl.umd.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/no.umd.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pl.umd.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt-br.umd.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/pt.umd.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ro.umd.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/ru.umd.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sk.umd.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr-latn.umd.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sr.umd.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/sv.umd.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/th.umd.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tr.umd.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/ug.umd.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/uk.umd.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/ur.umd.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/vi.umd.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh-cn.umd.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/translations/zh.umd.js +23 -0
- package/dist/utils/common-translations.d.ts +13 -0
- package/dist/utils.d.ts +14 -0
- package/lang/contexts.json +8 -0
- package/lang/translations/af.po +42 -0
- package/lang/translations/ar.po +42 -0
- package/lang/translations/bg.po +42 -0
- package/lang/translations/bn.po +42 -0
- package/lang/translations/ca.po +42 -0
- package/lang/translations/cs.po +42 -0
- package/lang/translations/da.po +42 -0
- package/lang/translations/de.po +42 -0
- package/lang/translations/el.po +42 -0
- package/lang/translations/en-au.po +42 -0
- package/lang/translations/en.po +42 -0
- package/lang/translations/es-co.po +42 -0
- package/lang/translations/es.po +42 -0
- package/lang/translations/et.po +42 -0
- package/lang/translations/fi.po +42 -0
- package/lang/translations/fr.po +42 -0
- package/lang/translations/gl.po +42 -0
- package/lang/translations/he.po +42 -0
- package/lang/translations/hi.po +42 -0
- package/lang/translations/hr.po +42 -0
- package/lang/translations/hu.po +42 -0
- package/lang/translations/id.po +42 -0
- package/lang/translations/it.po +42 -0
- package/lang/translations/ja.po +42 -0
- package/lang/translations/jv.po +42 -0
- package/lang/translations/ko.po +42 -0
- package/lang/translations/lt.po +42 -0
- package/lang/translations/lv.po +42 -0
- package/lang/translations/ms.po +42 -0
- package/lang/translations/nl.po +42 -0
- package/lang/translations/no.po +42 -0
- package/lang/translations/pl.po +42 -0
- package/lang/translations/pt-br.po +42 -0
- package/lang/translations/pt.po +42 -0
- package/lang/translations/ro.po +42 -0
- package/lang/translations/ru.po +42 -0
- package/lang/translations/sk.po +42 -0
- package/lang/translations/sr-latn.po +42 -0
- package/lang/translations/sr.po +42 -0
- package/lang/translations/sv.po +42 -0
- package/lang/translations/th.po +42 -0
- package/lang/translations/tr.po +42 -0
- package/lang/translations/ug.po +42 -0
- package/lang/translations/uk.po +42 -0
- package/lang/translations/ur.po +42 -0
- package/lang/translations/vi.po +42 -0
- package/lang/translations/zh-cn.po +42 -0
- package/lang/translations/zh.po +42 -0
- package/package.json +53 -0
- package/src/augmentation.d.ts +21 -0
- package/src/augmentation.js +23 -0
- package/src/exportpdf.d.ts +238 -0
- package/src/exportpdf.js +23 -0
- package/src/exportpdfcommand.d.ts +39 -0
- package/src/exportpdfcommand.js +23 -0
- package/src/exportpdfui.d.ts +31 -0
- package/src/exportpdfui.js +23 -0
- package/src/index.d.ts +10 -0
- package/src/index.js +23 -0
- package/src/utils/common-translations.d.ts +9 -0
- package/src/utils/common-translations.js +23 -0
- package/src/utils.d.ts +10 -0
- package/src/utils.js +23 -0
- package/theme/icons/exportpdf.svg +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
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/exportpdfui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* The export to PDF UI feature.
|
|
11
|
+
*
|
|
12
|
+
* It introduces 'Export to PDF' button in toolbar and menu bar.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExportPdfUI extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get pluginName(): "ExportPdfUI";
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
static get isOfficialPlugin(): true;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
static get isPremiumPlugin(): true;
|
|
27
|
+
/**
|
|
28
|
+
* @inheritDoc
|
|
29
|
+
*/
|
|
30
|
+
init(): void;
|
|
31
|
+
}
|
|
@@ -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
|
+
const _0x2de356=_0x98ec;(function(_0x1be154,_0x57a12d){const _0x318caf=_0x98ec,_0x2249d9=_0x1be154();while(!![]){try{const _0x17a307=parseInt(_0x318caf(0x19c))/0x1*(-parseInt(_0x318caf(0x18e))/0x2)+parseInt(_0x318caf(0x19e))/0x3+parseInt(_0x318caf(0x194))/0x4+parseInt(_0x318caf(0x1a1))/0x5*(-parseInt(_0x318caf(0x196))/0x6)+parseInt(_0x318caf(0x1a8))/0x7*(-parseInt(_0x318caf(0x1a7))/0x8)+parseInt(_0x318caf(0x183))/0x9+parseInt(_0x318caf(0x189))/0xa*(parseInt(_0x318caf(0x192))/0xb);if(_0x17a307===_0x57a12d)break;else _0x2249d9['push'](_0x2249d9['shift']());}catch(_0x3b59ac){_0x2249d9['push'](_0x2249d9['shift']());}}}(_0x196a,0x2140d));import{Plugin as _0x204902}from'ckeditor5/src/core.js';import{ButtonView as _0x471ea8,MenuBarMenuListItemButtonView as _0x1d5e0b,SpinnerView as _0x1c67de}from'ckeditor5/src/ui.js';import _0x59ad8f from'../theme/icons/exportpdf.svg';import{getTranslation as _0x48aa47}from'./utils/common-translations.js';function _0x98ec(_0x4bb118,_0x4bc2f8){const _0x196aa6=_0x196a();return _0x98ec=function(_0x98ec38,_0x1308b3){_0x98ec38=_0x98ec38-0x181;let _0x25ba05=_0x196aa6[_0x98ec38];return _0x25ba05;},_0x98ec(_0x4bb118,_0x4bc2f8);}function _0x196a(){const _0x3f3b7b=['children','isOfficialPlugin','config','isOn','922005uUUpSn','componentFactory','get','pluginName','exportPdf','add','740lZANgL','_createButton','ExportPdfUI','Export\x20to\x20PDF','menuBar:exportPdf','352EtANIW','bind','init','isPremiumPlugin','13684GVLQmc','isBusy','799808oufdJA','isEnabled','330BjGpTa','label','commands','focus','isVisible','iconView','1016kIzCsw','listenTo','99063MPXPXV','set','editing','5mVvWYG','locale','execute','view','Exporting\x20PDF\x20document','editor','149864ceiorc','42FZPLvJ'];_0x196a=function(){return _0x3f3b7b;};return _0x196a();}export default class s extends _0x204902{static get[_0x2de356(0x186)](){const _0x5592a3=_0x2de356;return _0x5592a3(0x18b);}static get[_0x2de356(0x1aa)](){return!0x0;}static get[_0x2de356(0x191)](){return!0x0;}[_0x2de356(0x190)](){const _0x2e708f=_0x2de356,_0x956b44=this[_0x2e708f(0x1a6)];_0x956b44['ui'][_0x2e708f(0x184)][_0x2e708f(0x188)](_0x2e708f(0x187),()=>{const _0x4fd52a=_0x2e708f,_0x3f84eb=this[_0x4fd52a(0x18a)](_0x471ea8),_0x3cb36=_0x956b44[_0x4fd52a(0x198)][_0x4fd52a(0x185)](_0x4fd52a(0x187));return _0x3f84eb[_0x4fd52a(0x19f)]({'tooltip':!0x0}),_0x3f84eb[_0x4fd52a(0x18f)](_0x4fd52a(0x182))['to'](_0x3cb36,_0x4fd52a(0x193)),_0x3f84eb;}),_0x956b44['ui'][_0x2e708f(0x184)][_0x2e708f(0x188)](_0x2e708f(0x18d),()=>this[_0x2e708f(0x18a)](_0x1d5e0b));}[_0x2de356(0x18a)](_0x1e1bed){const _0x793951=_0x2de356,_0x391b05=this[_0x793951(0x1a6)],_0xa4fb5=_0x391b05[_0x793951(0x181)][_0x793951(0x185)](_0x793951(0x187))||{},_0x544819=_0x391b05[_0x793951(0x198)][_0x793951(0x185)](_0x793951(0x187)),_0x5c8669=new _0x1e1bed(_0x391b05[_0x793951(0x1a2)]),_0x17c200=new _0x1c67de();return _0x5c8669[_0x793951(0x1a9)][_0x793951(0x188)](_0x17c200),_0x17c200[_0x793951(0x18f)](_0x793951(0x19a))['to'](_0x544819,_0x793951(0x193)),_0x5c8669[_0x793951(0x19b)][_0x793951(0x18f)](_0x793951(0x19a))['to'](_0x544819,_0x793951(0x193),_0x479e0d=>!_0x479e0d),_0x5c8669[_0x793951(0x19f)]({'icon':_0x59ad8f}),_0x5c8669[_0x793951(0x18f)](_0x793951(0x195))['to'](_0x544819,_0x793951(0x195)),_0x5c8669[_0x793951(0x18f)](_0x793951(0x197))['to'](_0x544819,_0x793951(0x193),_0x391742=>_0x48aa47(_0x391b05[_0x793951(0x1a2)],_0x391742?_0x793951(0x1a5):_0x793951(0x18c))),this[_0x793951(0x19d)](_0x5c8669,_0x793951(0x1a3),()=>{const _0x34333a=_0x793951;_0x391b05[_0x34333a(0x1a3)](_0x34333a(0x187),_0xa4fb5),_0x391b05[_0x34333a(0x1a0)][_0x34333a(0x1a4)][_0x34333a(0x199)]();}),_0x5c8669;}}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
7
|
+
*/
|
|
8
|
+
export { default as ExportPdf, type ExportPdfConfig } from './exportpdf.js';
|
|
9
|
+
export type { default as ExportPdfCommand } from './exportpdfcommand.js';
|
|
10
|
+
import './augmentation.js';
|
package/src/index.js
ADDED
|
@@ -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
|
+
(function(_0x33320c,_0x1bbfa2){var _0x1bb244=_0x6790,_0x2b33fd=_0x33320c();while(!![]){try{var _0x210c3e=-parseInt(_0x1bb244(0x153))/0x1*(-parseInt(_0x1bb244(0x155))/0x2)+parseInt(_0x1bb244(0x15a))/0x3+-parseInt(_0x1bb244(0x156))/0x4+parseInt(_0x1bb244(0x158))/0x5+-parseInt(_0x1bb244(0x159))/0x6*(parseInt(_0x1bb244(0x15c))/0x7)+-parseInt(_0x1bb244(0x154))/0x8*(-parseInt(_0x1bb244(0x157))/0x9)+-parseInt(_0x1bb244(0x15b))/0xa;if(_0x210c3e===_0x1bbfa2)break;else _0x2b33fd['push'](_0x2b33fd['shift']());}catch(_0xf516ab){_0x2b33fd['push'](_0x2b33fd['shift']());}}}(_0x4e69,0xcfbf6));export{default as ExportPdf}from'./exportpdf.js';function _0x6790(_0x50f083,_0x1b5507){var _0x4e6988=_0x4e69();return _0x6790=function(_0x67901c,_0x20eabb){_0x67901c=_0x67901c-0x153;var _0x7066c6=_0x4e6988[_0x67901c];return _0x7066c6;},_0x6790(_0x50f083,_0x1b5507);}function _0x4e69(){var _0x49e166=['8aeBIme','3333794PDCGCM','4972744xOvDdG','10900467lBVeaC','4234000ibEbvM','81966SsyCQs','1539147ztfHGn','9552820ChBGcp','609kJGMHb','1ObhDpe'];_0x4e69=function(){return _0x49e166;};return _0x4e69();}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(_0x64da07,_0x1eba26){const t=_0x64da07['t'];switch(_0x1eba26){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 _0x1eba26;}}
|
package/src/utils.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
* A helper function for getting concatenated CSS rules from external stylesheets and the editor.
|
|
7
|
+
*
|
|
8
|
+
* @param stylesheets An array of stylesheet paths delivered by the user through the plugin configuration.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getStyles(stylesheets?: Array<string>): Promise<string>;
|
package/src/utils.js
ADDED
|
@@ -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
|
+
function _0x2b62(_0x5dd22f,_0x50d175){const _0x2e55dc=_0x2e55();return _0x2b62=function(_0x2b6265,_0x297287){_0x2b6265=_0x2b6265-0xeb;let _0x18db3c=_0x2e55dc[_0x2b6265];return _0x18db3c;},_0x2b62(_0x5dd22f,_0x50d175);}(function(_0x58e0d3,_0x2ccdde){const _0x233cff=_0x2b62,_0x4530e7=_0x58e0d3();while(!![]){try{const _0x42a2ae=parseInt(_0x233cff(0xff))/0x1+parseInt(_0x233cff(0x10a))/0x2*(-parseInt(_0x233cff(0x10b))/0x3)+-parseInt(_0x233cff(0xf7))/0x4*(parseInt(_0x233cff(0xfe))/0x5)+parseInt(_0x233cff(0xf4))/0x6*(parseInt(_0x233cff(0xfa))/0x7)+parseInt(_0x233cff(0xfc))/0x8*(parseInt(_0x233cff(0xf1))/0x9)+-parseInt(_0x233cff(0x107))/0xa*(-parseInt(_0x233cff(0xeb))/0xb)+-parseInt(_0x233cff(0x109))/0xc;if(_0x42a2ae===_0x2ccdde)break;else _0x4530e7['push'](_0x4530e7['shift']());}catch(_0x3910f2){_0x4530e7['push'](_0x4530e7['shift']());}}}(_0x2e55,0x720d3));function _0x2e55(){const _0x206124=['96WGpkhf','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.','trim','76979hhmZgI','fetch','48mzMJYY','cssText','21215IiOqIx','825612XAKzkn','from','styleSheets','cssRules','.ck-content','text','ownerNode','warn','100WmHaaR','all','5544744DLLQjC','616xPjyvW','4056IhfaWx','492283IHrxtp','data-cke','EDITOR_STYLES','indexOf',':root','length','47043TWUffe','hasAttribute','then','78FlACSA','push','join'];_0x2e55=function(){return _0x206124;};return _0x2e55();}export function getStyles(_0x1a14c6){const _0x1d085e=_0x2b62;if(!_0x1a14c6)return new Promise(_0x14e993=>_0x14e993(''));const _0x56c79d=[];for(const _0x247926 of _0x1a14c6)_0x1d085e(0xed)!==_0x247926?_0x56c79d[_0x1d085e(0xf5)](window[_0x1d085e(0xfb)](_0x247926)[_0x1d085e(0xf3)](_0x25af7b=>_0x25af7b[_0x1d085e(0x104)]())):_0x56c79d[_0x1d085e(0xf5)](a());return Promise[_0x1d085e(0x108)](_0x56c79d)[_0x1d085e(0xf3)](_0x259bb3=>_0x259bb3[_0x1d085e(0xf6)]('\x20')[_0x1d085e(0xf9)]());}function a(){const _0x5227df=_0x2b62,_0x4b0345=[],_0x5c6730=[];for(const _0x14ee9d of Array[_0x5227df(0x100)](document[_0x5227df(0x101)])){if(_0x14ee9d[_0x5227df(0x105)][_0x5227df(0xf2)](_0x5227df(0xec))){for(const _0x3c51ea of Array[_0x5227df(0x100)](_0x14ee9d[_0x5227df(0x102)]))-0x1!==_0x3c51ea[_0x5227df(0xfd)][_0x5227df(0xee)](_0x5227df(0x103))?_0x4b0345[_0x5227df(0xf5)](_0x3c51ea[_0x5227df(0xfd)]):-0x1!==_0x3c51ea[_0x5227df(0xfd)][_0x5227df(0xee)](_0x5227df(0xef))&&_0x5c6730[_0x5227df(0xf5)](_0x3c51ea[_0x5227df(0xfd)]);}}return _0x4b0345[_0x5227df(0xf0)]||console[_0x5227df(0x106)](_0x5227df(0xf8)),[..._0x5c6730,..._0x4b0345][_0x5227df(0xf6)]('\x20')[_0x5227df(0xf9)]();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4.5 14 0H3v6.5h1.5v-5h8v5h5V11H19V4.5ZM14 2l3.3 3H14V2Z"/><path d="m12.452 18.5 1.25 1.5H3v-3h1.5v1.5h7.952Z"/><path d="M19.826 16.843a.75.75 0 1 0-1.152-.96L17.5 17.29V13H16v4.29l-1.174-1.408a.75.75 0 1 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Z"/><path d="M1.63 14.24V12.3h.88c.66 0 1.14-.15 1.46-.45.32-.3.48-.71.48-1.24 0-.52-.15-.91-.44-1.2C3.7 9.15 3.28 9 2.69 9H0v5.24h1.63Zm.4-3h-.4v-1.17h.46c.3 0 .5.05.62.17.1.11.16.25.16.42 0 .16-.06.3-.19.41-.13.11-.34.16-.66.16l.01.01Zm5.7 3c.28 0 .6-.05.96-.14.26-.07.5-.21.73-.42.22-.2.4-.47.53-.77.12-.31.19-.75.19-1.3 0-.37-.04-.7-.13-1.02a2.3 2.3 0 0 0-.42-.84c-.19-.24-.43-.43-.72-.56C8.57 9.06 8.2 9 7.72 9h-2.4v5.24H7.73Zm-.4-1.19h-.4v-2.86h.4c.43 0 .73.1.91.3.18.2.27.59.27 1.14 0 .42-.04.73-.12.91a.76.76 0 0 1-.34.4c-.14.07-.38.11-.72.11Zm5.3 1.2V12.1h2.02v-1.06h-2.03v-.91H15V9h-4v5.24h1.62l.01.01Z"/></svg>
|