@ckeditor/ckeditor5-export-pdf 44.3.0 → 45.0.0-alpha.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/build/translations/be.js +1 -0
- package/ckeditor5-metadata.json +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/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.d.ts +8 -0
- package/dist/translations/be.js +23 -0
- package/dist/translations/be.umd.js +23 -0
- 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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.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/uz.js +1 -1
- package/dist/translations/uz.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/lang/translations/be.po +36 -0
- package/package.json +8 -9
- 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/theme/icons/exportpdf.svg +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
+
#
|
|
5
|
+
# Check out the official contributor's guide:
|
|
6
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
+
#
|
|
8
|
+
msgid ""
|
|
9
|
+
msgstr ""
|
|
10
|
+
"Language: be\n"
|
|
11
|
+
"Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
|
|
12
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
+
|
|
14
|
+
msgctxt "A toolbar button tooltip for a PDF export feature."
|
|
15
|
+
msgid "Export to PDF"
|
|
16
|
+
msgstr ""
|
|
17
|
+
|
|
18
|
+
msgctxt "An error message shown to the user when an error occurred during the generation of the PDF file."
|
|
19
|
+
msgid "An error occurred while generating the PDF."
|
|
20
|
+
msgstr ""
|
|
21
|
+
|
|
22
|
+
msgctxt "Aria status message indicating start of PDF document export. Example: 'PDF export started'."
|
|
23
|
+
msgid "PDF export started"
|
|
24
|
+
msgstr ""
|
|
25
|
+
|
|
26
|
+
msgctxt "Aria status message indicating failed PDF document export. Example: 'PDF export failed'."
|
|
27
|
+
msgid "PDF export failed"
|
|
28
|
+
msgstr ""
|
|
29
|
+
|
|
30
|
+
msgctxt "Aria status message indicating successful PDF document export. Example: 'PDF export successful'."
|
|
31
|
+
msgid "PDF export successful"
|
|
32
|
+
msgstr ""
|
|
33
|
+
|
|
34
|
+
msgctxt "Aria label set on Export to PDF button while exporting a PDF document."
|
|
35
|
+
msgid "Exporting PDF document"
|
|
36
|
+
msgstr ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-pdf",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "45.0.0-alpha.0",
|
|
4
4
|
"description": "Export to PDF feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,12 +30,13 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ckeditor/ckeditor5-core": "
|
|
34
|
-
"@ckeditor/ckeditor5-cloud-services": "
|
|
35
|
-
"@ckeditor/ckeditor5-
|
|
36
|
-
"@ckeditor/ckeditor5-
|
|
37
|
-
"@ckeditor/ckeditor5-
|
|
38
|
-
"ckeditor5": "
|
|
33
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.0",
|
|
34
|
+
"@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.0",
|
|
35
|
+
"@ckeditor/ckeditor5-icons": "45.0.0-alpha.0",
|
|
36
|
+
"@ckeditor/ckeditor5-merge-fields": "45.0.0-alpha.0",
|
|
37
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.0",
|
|
38
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.0",
|
|
39
|
+
"ckeditor5": "45.0.0-alpha.0"
|
|
39
40
|
},
|
|
40
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
41
42
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -46,7 +47,6 @@
|
|
|
46
47
|
"lang",
|
|
47
48
|
"src/**/*.js",
|
|
48
49
|
"src/**/*.d.ts",
|
|
49
|
-
"theme",
|
|
50
50
|
"build",
|
|
51
51
|
"ckeditor5-metadata.json",
|
|
52
52
|
"CHANGELOG.md"
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
},
|
|
71
71
|
"./build/*": "./build/*",
|
|
72
72
|
"./lang/*": "./lang/*",
|
|
73
|
-
"./theme/*": "./theme/*",
|
|
74
73
|
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
75
74
|
"./package.json": "./package.json"
|
|
76
75
|
},
|
package/src/exportpdf.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x388d65=_0xe019;(function(_0x375b6f,_0x37511b){const _0x5cd9c9=_0xe019,_0x1fa54e=_0x375b6f();while(!![]){try{const _0x51a58d=parseInt(_0x5cd9c9(0x12c))/0x1*(-parseInt(_0x5cd9c9(0x13b))/0x2)+parseInt(_0x5cd9c9(0x129))/0x3+parseInt(_0x5cd9c9(0x139))/0x4+-parseInt(_0x5cd9c9(0x12e))/0x5+-parseInt(_0x5cd9c9(0x12f))/0x6+parseInt(_0x5cd9c9(0x13d))/0x7+-parseInt(_0x5cd9c9(0x134))/0x8*(parseInt(_0x5cd9c9(0x131))/0x9);if(_0x51a58d===_0x37511b)break;else _0x1fa54e['push'](_0x1fa54e['shift']());}catch(_0xea523a){_0x1fa54e['push'](_0x1fa54e['shift']());}}}(_0x4fa1,0x2b3c0));function _0x4fa1(){const _0xf397d9=['isOfficialPlugin','649524XhPtJS','CloudServices','19194uUZZto','requires','1982820uoTQAN','init','get','pluginName','commands','then','registerTokenUrl','ExportPdf','677658BjtxWf','_token','exportPdf','3rITewx','plugins','193900WlhfxA','1794018pqMzWA','config','1150785WstJaq','editor','isPremiumPlugin','8WZnXcd','tokenUrl','token','add'];_0x4fa1=function(){return _0xf397d9;};return _0x4fa1();}import{Plugin as _0x48c95c}from'ckeditor5/src/core.js';import{Notification as _0x4cc1df}from'ckeditor5/src/ui.js';function _0xe019(_0x221773,_0x1f30f4){const _0x4fa10b=_0x4fa1();return _0xe019=function(_0xe0195,_0x4985db){_0xe0195=_0xe0195-0x128;let _0x2eca86=_0x4fa10b[_0xe0195];return _0x2eca86;},_0xe019(_0x221773,_0x1f30f4);}import _0xf75bfb from'./exportpdfcommand.js';import _0x469caf from'./exportpdfui.js';export default class o extends _0x48c95c{[_0x388d65(0x12a)];static get[_0x388d65(0x140)](){const _0x4327bd=_0x388d65;return _0x4327bd(0x128);}static get[_0x388d65(0x138)](){return!0x0;}static get[_0x388d65(0x133)](){return!0x0;}static get[_0x388d65(0x13c)](){const _0x4b9ef4=_0x388d65;return[_0x4b9ef4(0x13a),_0x4cc1df,_0x469caf];}[_0x388d65(0x13e)](){const _0x286ae9=_0x388d65,_0x35f8cd=this[_0x286ae9(0x132)],_0x1017f6=_0x35f8cd[_0x286ae9(0x130)][_0x286ae9(0x13f)](_0x286ae9(0x12b))||{};_0x35f8cd[_0x286ae9(0x141)][_0x286ae9(0x137)](_0x286ae9(0x12b),new _0xf75bfb(_0x35f8cd));const _0x22204f=_0x35f8cd[_0x286ae9(0x12d)][_0x286ae9(0x13f)](_0x286ae9(0x13a));!0x1===_0x1017f6[_0x286ae9(0x135)]?this[_0x286ae9(0x12a)]=null:_0x1017f6[_0x286ae9(0x135)]?_0x22204f[_0x286ae9(0x143)](_0x1017f6[_0x286ae9(0x135)])[_0x286ae9(0x142)](_0x33af84=>{const _0x507c44=_0x286ae9;this[_0x507c44(0x12a)]=_0x33af84;}):this[_0x286ae9(0x12a)]=_0x22204f[_0x286ae9(0x136)];}}
|
package/src/exportpdfcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xb3d88b=_0x220d;(function(_0x4d1abe,_0x26329d){const _0x26ea73=_0x220d,_0x3d7083=_0x4d1abe();while(!![]){try{const _0x4d0a3a=parseInt(_0x26ea73(0x8b))/0x1*(-parseInt(_0x26ea73(0xb8))/0x2)+parseInt(_0x26ea73(0xcd))/0x3*(parseInt(_0x26ea73(0xb0))/0x4)+-parseInt(_0x26ea73(0xc3))/0x5+parseInt(_0x26ea73(0xd9))/0x6*(-parseInt(_0x26ea73(0xca))/0x7)+-parseInt(_0x26ea73(0xc5))/0x8+parseInt(_0x26ea73(0xa8))/0x9+parseInt(_0x26ea73(0xa0))/0xa*(parseInt(_0x26ea73(0xd0))/0xb);if(_0x4d0a3a===_0x26329d)break;else _0x3d7083['push'](_0x3d7083['shift']());}catch(_0x2c0f91){_0x3d7083['push'](_0x3d7083['shift']());}}}(_0x2260,0x5581a));import{Command as _0x4f1119}from'ckeditor5/src/core.js';import{collectStylesheets as _0x82e980}from'ckeditor5/src/utils.js';function _0x220d(_0x5279bb,_0x5e2c6c){const _0x22608c=_0x2260();return _0x220d=function(_0x220dc5,_0x169348){_0x220dc5=_0x220dc5-0x86;let _0x2d4827=_0x22608c[_0x220dc5];return _0x2d4827;},_0x220d(_0x5279bb,_0x5e2c6c);}import{getTranslation as _0x4b6d78}from'./utils/common-translations.js';function _0x2260(){const _0x3a6f1e=['showWarning','previewMode','ariaLiveAnnouncer','_downloadFile','MergeFields','click','converterOptions','5688693ySAqRl','getMergeFieldType','$defaultValues','appID','https://pdf-converter.cke-cs.com/v1/convert/','ExportPdf','announce','createElement','8fxhXjx','wrapInAffixes','locale','stringify','application/pdf','then','PDF\x20export\x20started','_token','291292cyqEvv','EDITOR_STYLES','$labels','getMergeFieldsIds','editor','fetch','get','An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.','converterUrl','has','execute','3427730VSIKyj','entries','5556736IlwYsk','remove','download','token','isEnabled','7MBsahN','value','fileName','708189UuaZOO','document.pdf','contentLanguageDirection','12646535GvZKMK','\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>','\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09','application/json','getDataSetValues','status','pending','Notification','affectsData','519468rxiDSg','data','isBusy','createObjectURL','assertive','cke5','data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=','href','PDF\x20export\x20failed','3Pfblkb','set','dataCallback','finally','getLabel','getDefaultValues','config','URL','blob','POST','catch','mergeFields','refresh','PDF\x20export\x20successful','<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','image','plugins','MergeFieldsEditing','merge_fields','function','stylesheets','10gZOQna'];_0x2260=function(){return _0x3a6f1e;};return _0x2260();}export default class i extends _0x4f1119{constructor(_0x347903){const _0x4d27aa=_0x220d;super(_0x347903),this[_0x4d27aa(0x8c)](_0x4d27aa(0xdb),!0x1),this[_0x4d27aa(0xd8)]=!0x1;}[_0xb3d88b(0x97)](){const _0x2fe024=_0xb3d88b;this[_0x2fe024(0xc9)]=!this[_0x2fe024(0xdb)],this[_0x2fe024(0xcb)]=this[_0x2fe024(0xdb)]?_0x2fe024(0xd6):void 0x0;}[_0xb3d88b(0xc2)](_0x3d437c={}){const _0x31fd26=_0xb3d88b,_0x500bd4=this[_0x31fd26(0xbc)],_0x274dc4=_0x3d437c[_0x31fd26(0xc0)]||_0x31fd26(0xac),_0x203e9c=_0x3d437c[_0x31fd26(0x8d)]||(_0x2cd6fe=>_0x2cd6fe[_0x31fd26(0xda)][_0x31fd26(0xbe)]()),_0x1ba3e0=_0x500bd4[_0x31fd26(0x9b)][_0x31fd26(0xbe)](_0x31fd26(0xad)),_0x495bc6=_0x3d437c[_0x31fd26(0xc8)]||_0x1ba3e0[_0x31fd26(0xb7)];return this[_0x31fd26(0xdb)]=!0x0,this[_0x31fd26(0x97)](),_0x82e980(_0x3d437c[_0x31fd26(0x9f)]||[_0x31fd26(0xb9)])[_0x31fd26(0xb5)](async _0x3bcfb4=>{const _0x181fbd=_0x31fd26;if(_0x500bd4['ui'][_0x181fbd(0xa3)][_0x181fbd(0xae)](_0x4b6d78(_0x500bd4[_0x181fbd(0xb2)],_0x181fbd(0xb6))),_0x500bd4[_0x181fbd(0x9b)][_0x181fbd(0xc1)](_0x181fbd(0xa5))){_0x3d437c[_0x181fbd(0xa7)]||(_0x3d437c[_0x181fbd(0xa7)]={});const _0x236f66=_0x500bd4[_0x181fbd(0x9b)][_0x181fbd(0xbe)](_0x181fbd(0x9c)),_0x4b3bf6=_0x236f66[_0x181fbd(0xa2)],{prefix:_0x11bcd0,suffix:_0x4e6737}=_0x500bd4[_0x181fbd(0x91)][_0x181fbd(0xbe)](_0x181fbd(0x96)),_0x5f08ff=_0x181fbd(0x88),_0x412e78={'prefix':_0x11bcd0,'suffix':_0x4e6737,'data':{}};if(_0x181fbd(0xba)===_0x4b3bf6){for(const _0x2255f6 of _0x236f66[_0x181fbd(0xbb)]())_0x181fbd(0x9a)===_0x236f66[_0x181fbd(0xa9)](_0x2255f6)?_0x412e78[_0x181fbd(0xda)][_0x2255f6]=_0x5f08ff:_0x412e78[_0x181fbd(0xda)][_0x2255f6]=_0x236f66[_0x181fbd(0xb1)](_0x236f66[_0x181fbd(0x8f)](_0x2255f6)||_0x2255f6);}else{const _0x4b92d7=_0x181fbd(0xaa)===_0x4b3bf6?_0x236f66[_0x181fbd(0x90)]():_0x236f66[_0x181fbd(0xd4)](_0x4b3bf6,!0x0);for(const _0x29a077 of Object[_0x181fbd(0xc4)](_0x4b92d7)){const [_0x3829b4,_0x297b3c]=_0x29a077;_0x181fbd(0x9a)===_0x236f66[_0x181fbd(0xa9)](_0x3829b4)?_0x412e78[_0x181fbd(0xda)][_0x3829b4]=null!==_0x297b3c?_0x297b3c:_0x5f08ff:_0x412e78[_0x181fbd(0xda)][_0x3829b4]=null!==_0x297b3c?_0x297b3c:_0x236f66[_0x181fbd(0x8f)](_0x3829b4)||_0x3829b4;}}_0x3d437c[_0x181fbd(0xa7)][_0x181fbd(0x9d)]=_0x412e78;}const _0x514846={'html':_0x181fbd(0x99)+_0x500bd4[_0x181fbd(0xb2)][_0x181fbd(0xcf)]+_0x181fbd(0xd2)+await _0x203e9c(_0x500bd4)+_0x181fbd(0xd1),'css':_0x3bcfb4,'options':_0x3d437c[_0x181fbd(0xa7)]},_0x284871={'method':_0x181fbd(0x94),'headers':{'Content-Type':_0x181fbd(0xd3),'Accept':_0x181fbd(0xb4),..._0x495bc6?{'Authorization':_0x495bc6[_0x181fbd(0xcb)]}:null,'x-cs-app-id':_0x3d437c[_0x181fbd(0xab)]||_0x181fbd(0x87)},'body':JSON[_0x181fbd(0xb3)](_0x514846)};return window[_0x181fbd(0xbd)](_0x274dc4,_0x284871)[_0x181fbd(0xb5)](_0x3dfb61=>{const _0x526926=_0x181fbd;if(0xc8!==_0x3dfb61[_0x526926(0xd5)])throw _0x3dfb61;return _0x3dfb61[_0x526926(0x93)]();})[_0x181fbd(0xb5)](_0x303e34=>{const _0x256298=_0x181fbd;_0x500bd4['ui'][_0x256298(0xa3)][_0x256298(0xae)](_0x4b6d78(_0x500bd4[_0x256298(0xb2)],_0x256298(0x98)));const _0x945f26=_0x256298(0x9e)==typeof _0x3d437c[_0x256298(0xcc)]?_0x3d437c[_0x256298(0xcc)]():_0x3d437c[_0x256298(0xcc)];this[_0x256298(0xa4)](_0x303e34,_0x945f26||_0x256298(0xce));});})[_0x31fd26(0x95)](_0xe0c39a=>{const _0x101ea0=_0x31fd26,_0xd244f6=_0x500bd4[_0x101ea0(0x9b)][_0x101ea0(0xbe)](_0x101ea0(0xd7));throw _0x500bd4['ui'][_0x101ea0(0xa3)][_0x101ea0(0xae)](_0x4b6d78(_0x500bd4[_0x101ea0(0xb2)],_0x101ea0(0x8a)),{'politeness':_0x101ea0(0x86)}),_0xd244f6[_0x101ea0(0xa1)](_0x4b6d78(_0x500bd4[_0x101ea0(0xb2)],_0x101ea0(0xbf))),_0xe0c39a;})[_0x31fd26(0x8e)](()=>{const _0x12060b=_0x31fd26;this[_0x12060b(0xdb)]=!0x1,this[_0x12060b(0x97)]();});}[_0xb3d88b(0xa4)](_0x5c0816,_0x3a0bf2){const _0x4e5556=_0xb3d88b,_0x532a50=document[_0x4e5556(0xaf)]('a');_0x532a50[_0x4e5556(0x89)]=window[_0x4e5556(0x92)][_0x4e5556(0xdc)](_0x5c0816),_0x532a50[_0x4e5556(0xc7)]=_0x3a0bf2,_0x532a50[_0x4e5556(0xa6)](),_0x532a50[_0x4e5556(0xc6)]();}}
|
package/src/exportpdfui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c9384=_0xeb9b;function _0xeb9b(_0xe0374e,_0xc8fda5){const _0x44cb22=_0x44cb();return _0xeb9b=function(_0xeb9b13,_0x3e51dd){_0xeb9b13=_0xeb9b13-0x107;let _0x5e4400=_0x44cb22[_0xeb9b13];return _0x5e4400;},_0xeb9b(_0xe0374e,_0xc8fda5);}(function(_0xf55c0c,_0x4e8dec){const _0x32f25b=_0xeb9b,_0x339e8f=_0xf55c0c();while(!![]){try{const _0x388d66=-parseInt(_0x32f25b(0x112))/0x1*(parseInt(_0x32f25b(0x111))/0x2)+parseInt(_0x32f25b(0x127))/0x3*(parseInt(_0x32f25b(0x11f))/0x4)+-parseInt(_0x32f25b(0x11c))/0x5+-parseInt(_0x32f25b(0x125))/0x6*(-parseInt(_0x32f25b(0x11a))/0x7)+-parseInt(_0x32f25b(0x10b))/0x8*(parseInt(_0x32f25b(0x12e))/0x9)+parseInt(_0x32f25b(0x10d))/0xa+parseInt(_0x32f25b(0x10e))/0xb;if(_0x388d66===_0x4e8dec)break;else _0x339e8f['push'](_0x339e8f['shift']());}catch(_0x536030){_0x339e8f['push'](_0x339e8f['shift']());}}}(_0x44cb,0xa768b));import{Plugin as _0x5558e9}from'ckeditor5/src/core.js';import{IconExportPdf as _0xe2efff}from'ckeditor5/src/icons.js';function _0x44cb(){const _0x3d5486=['componentFactory','ExportPdfUI','set','children','174VUcLVo','isOfficialPlugin','1538763KaqYtZ','Export\x20to\x20PDF','pluginName','editor','config','_createButton','view','2296791AsXFDW','bind','isOn','Exporting\x20PDF\x20document','commands','execute','isEnabled','8SiYbDp','isVisible','8031740WYKSJj','7512593wKcmoq','get','exportPdf','6vjqHXx','382297nkGKvn','isPremiumPlugin','focus','init','listenTo','iconView','menuBar:exportPdf','add','156198APieJb','editing','5356440LOhomE','isBusy','locale','8IjOVdT','label'];_0x44cb=function(){return _0x3d5486;};return _0x44cb();}import{ButtonView as _0x770f9f,MenuBarMenuListItemButtonView as _0x47f41d,SpinnerView as _0x22d832}from'ckeditor5/src/ui.js';import{getTranslation as _0x543574}from'./utils/common-translations.js';export default class s extends _0x5558e9{static get[_0x4c9384(0x129)](){const _0x5a1441=_0x4c9384;return _0x5a1441(0x122);}static get[_0x4c9384(0x126)](){return!0x0;}static get[_0x4c9384(0x113)](){return!0x0;}[_0x4c9384(0x115)](){const _0x54df70=_0x4c9384,_0x249345=this[_0x54df70(0x12a)];_0x249345['ui'][_0x54df70(0x121)][_0x54df70(0x119)](_0x54df70(0x110),()=>{const _0x5137c2=_0x54df70,_0x19dd43=this[_0x5137c2(0x12c)](_0x770f9f),_0x32b12c=_0x249345[_0x5137c2(0x108)][_0x5137c2(0x10f)](_0x5137c2(0x110));return _0x19dd43[_0x5137c2(0x123)]({'tooltip':!0x0}),_0x19dd43[_0x5137c2(0x12f)](_0x5137c2(0x130))['to'](_0x32b12c,_0x5137c2(0x11d)),_0x19dd43;}),_0x249345['ui'][_0x54df70(0x121)][_0x54df70(0x119)](_0x54df70(0x118),()=>this[_0x54df70(0x12c)](_0x47f41d));}[_0x4c9384(0x12c)](_0x4516af){const _0x46c1a4=_0x4c9384,_0x27f7e4=this[_0x46c1a4(0x12a)],_0x3c0b72=_0x27f7e4[_0x46c1a4(0x12b)][_0x46c1a4(0x10f)](_0x46c1a4(0x110))||{},_0x5437dd=_0x27f7e4[_0x46c1a4(0x108)][_0x46c1a4(0x10f)](_0x46c1a4(0x110)),_0x59978c=new _0x4516af(_0x27f7e4[_0x46c1a4(0x11e)]),_0x5acf7d=new _0x22d832();return _0x59978c[_0x46c1a4(0x124)][_0x46c1a4(0x119)](_0x5acf7d),_0x5acf7d[_0x46c1a4(0x12f)](_0x46c1a4(0x10c))['to'](_0x5437dd,_0x46c1a4(0x11d)),_0x59978c[_0x46c1a4(0x117)][_0x46c1a4(0x12f)](_0x46c1a4(0x10c))['to'](_0x5437dd,_0x46c1a4(0x11d),_0x4fc745=>!_0x4fc745),_0x59978c[_0x46c1a4(0x123)]({'icon':_0xe2efff}),_0x59978c[_0x46c1a4(0x12f)](_0x46c1a4(0x10a))['to'](_0x5437dd,_0x46c1a4(0x10a)),_0x59978c[_0x46c1a4(0x12f)](_0x46c1a4(0x120))['to'](_0x5437dd,_0x46c1a4(0x11d),_0x567903=>_0x543574(_0x27f7e4[_0x46c1a4(0x11e)],_0x567903?_0x46c1a4(0x107):_0x46c1a4(0x128))),this[_0x46c1a4(0x116)](_0x59978c,_0x46c1a4(0x109),()=>{const _0x578290=_0x46c1a4;_0x27f7e4[_0x578290(0x109)](_0x578290(0x110),_0x3c0b72),_0x27f7e4[_0x578290(0x11b)][_0x578290(0x12d)][_0x578290(0x114)]();}),_0x59978c;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6be0(){var _0x3228a2=['4Izarhn','930912pOCKNV','58329ofsMrR','3905937DGyQmC','49ueMfRe','1414498HQVpjQ','2541690CJvLXF','501369vTHPcK','1635290PfiBoI'];_0x6be0=function(){return _0x3228a2;};return _0x6be0();}(function(_0xb04d2e,_0x16afd7){var _0x41d1b2=_0x4f51,_0x8eebaf=_0xb04d2e();while(!![]){try{var _0x4cee36=-parseInt(_0x41d1b2(0x1e8))/0x1+-parseInt(_0x41d1b2(0x1eb))/0x2+-parseInt(_0x41d1b2(0x1ed))/0x3+-parseInt(_0x41d1b2(0x1e6))/0x4*(parseInt(_0x41d1b2(0x1ee))/0x5)+parseInt(_0x41d1b2(0x1ec))/0x6+parseInt(_0x41d1b2(0x1ea))/0x7*(parseInt(_0x41d1b2(0x1e7))/0x8)+parseInt(_0x41d1b2(0x1e9))/0x9;if(_0x4cee36===_0x16afd7)break;else _0x8eebaf['push'](_0x8eebaf['shift']());}catch(_0xcdc0cd){_0x8eebaf['push'](_0x8eebaf['shift']());}}}(_0x6be0,0x64aed));function _0x4f51(_0x52c411,_0x4453fd){var _0x6be095=_0x6be0();return _0x4f51=function(_0x4f51fd,_0x14445c){_0x4f51fd=_0x4f51fd-0x1e6;var _0x4807de=_0x6be095[_0x4f51fd];return _0x4807de;},_0x4f51(_0x52c411,_0x4453fd);}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(_0x4075d6,_0x2fe5c9){const t=_0x4075d6['t'];switch(_0x2fe5c9){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 _0x2fe5c9;}}
|
|
@@ -1 +0,0 @@
|
|
|
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>
|