@ckeditor/ckeditor5-export-word 41.3.0-alpha.4 → 41.3.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-word.js +1 -1
- package/package.json +2 -3
- package/src/exportword.d.ts +2 -1
- package/src/exportword.js +1 -1
- package/src/exportwordcommand.js +1 -1
- package/src/exportwordui.d.ts +23 -0
- package/src/exportwordui.js +23 -0
- package/src/index.js +1 -1
- package/src/utils.js +1 -1
- package/dist/content-index.css +0 -4
- package/dist/editor-index.css +0 -4
- package/dist/index.css +0 -4
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/augmentation.d.ts +0 -25
- package/dist/types/exportword.d.ts +0 -235
- package/dist/types/exportwordcommand.d.ts +0 -40
- package/dist/types/index.d.ts +0 -14
- package/dist/types/utils.d.ts +0 -40
package/build/export-word.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,n),s.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{ExportWord:()=>
|
|
5
|
+
*/(()=>{var t={782:(t,e,n)=>{t.exports=n(237)("./src/core.js")},311:(t,e,n)=>{t.exports=n(237)("./src/ui.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,n),s.exports}n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";n.r(o),n.d(o,{ExportWord:()=>h});var t=n(782),e=n(311);function r(){const t=["1014765HMnLWn","data-cke","2360192jdTtNC","users","author","comments","content","1637977yXmhWa","text","plugins",".ck-content","12zvfAGU",":root","9witnma","getCommentThreads","from","has","1JpIIty","all","160744TKaRhT","DateTimeFormat","name","391946PBwuPp","push","hasAttribute","ownerNode","cssRules","authorId","join","fetch","2658621SoWoXw","map","67005QsUvCI","The editor stylesheet could not be found in the document. Check your webpack config – style-loader should use data-cke=true attribute for the editor stylesheet.","EDITOR_STYLES","then","keys","Users","get","6XXcZwW","createdAt","CommentsRepository","timezone","cssText","getSuggestions","TrackChanges","resolvedOptions","styleSheets","length","suggestions","indexOf","isResolved","warn","510uNkniX","trim","timeZone"];return(r=function(){return t})()}function s(){const t=i,e=[],n=[];for(const o of Array[t(364)](document[t(396)]))if(o[t(374)][t(373)](t(350)))for(const r of Array[t(364)](o[t(375)]))-1!==r[t(392)][t(399)](t(359))?e[t(372)](r[t(392)]):-1!==r[t(392)][t(399)](t(361))&&n[t(372)](r[t(392)]);return e[t(397)]||console[t(401)](t(382)),[...n,...e][t(377)](" ")[t(403)]()}function i(t,e){const n=r();return(i=function(t,e){return n[t-=350]})(t,e)}function a(t){const e=i,n=t[e(358)][e(365)](e(386)),o=t[e(358)][e(365)](e(390)),r=t[e(358)][e(365)](e(394)),s={};if(n&&o){const n=function(t){const e=i,n={};if(!t[e(397)])return n;for(const o of t)o[e(354)][e(380)]((t=>{const r=e;void 0===n[o.id]&&(n[o.id]=[]),n[o.id][r(372)]({author:t[r(353)][r(370)],content:t[r(355)],created:t[r(389)],is_resolved:o[r(400)]})}));return n}(t[e(358)][e(387)](e(390))[e(363)]({skipNotAttached:!0,skipEmpty:!0}));Object[e(385)](n)[e(397)]&&(s[e(354)]=n)}if(n&&r){const n=t[e(358)][e(387)](e(394)),o=t[e(358)][e(387)](e(386)),r=function(t,e){const n=i,o={};if(!t[n(397)]||!e[n(397)])return o;for(const r of t)o[r.id]={author:e[n(387)](r[n(376)])[n(370)],created:r[n(389)]};return o}(n[e(393)]({toJSON:!0}),o[e(352)]);Object[e(385)](r)[e(397)]&&(s[e(398)]=r)}return(s[e(398)]||s[e(354)])&&(s[e(391)]=(new(Intl[e(369)]))[e(395)]()[e(404)]),s}!function(t,e){const n=i,o=t();for(;;)try{if(335013===parseInt(n(366))/1*(-parseInt(n(371))/2)+parseInt(n(362))/3*(parseInt(n(368))/4)+-parseInt(n(405))/5+parseInt(n(388))/6*(parseInt(n(379))/7)+-parseInt(n(351))/8+parseInt(n(381))/9*(parseInt(n(402))/10)+parseInt(n(356))/11*(parseInt(n(360))/12))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(r);class c extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this.affectsData=!1}refresh(){this.isEnabled=!this.isBusy,this.value=this.isBusy?"pending":void 0}execute(t={}){const e=this.editor,n=e.t,o=t.converterUrl||"https://docx-converter.cke-cs.com/v1/convert",r=t.converterOptions||{},c=e.plugins.get("ExportWord"),u=t.token||c._token,d=!1!==r.auto_pagination,p=t.dataCallback||(t=>t.data.get({pagination:d}));return this.isBusy=!0,this.refresh(),function(t){const e=i;if(!t)return new Promise((t=>t("")));const n=[];for(const o of t)e(383)!==o?n[e(372)](window[e(378)](o)[e(384)]((t=>t[e(357)]()))):n[e(372)](s());return Promise[e(367)](n)[e(384)]((t=>t[e(377)](" ")[e(403)]()))}(t.stylesheets||["EDITOR_STYLES"]).then((async n=>{const s=await p(e),i={html:'<div class="ck-content" dir="'+e.locale.contentLanguageDirection+'">'+s+"</div>",css:n,options:{...r,...a(e)}},c={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/docx",...u?{Authorization:u.value}:null},body:JSON.stringify(i)};return window.fetch(o,c).then((t=>{if(200!==t.status)throw t;return t.blob()})).then((e=>{const n="function"==typeof t.fileName?t.fileName():t.fileName;this._downloadFile(e,n||"document.docx")}))})).catch((t=>{throw e.plugins.get("Notification").showWarning(n("An error occurred while generating the Word file.")),t})).finally((()=>{this.isBusy=!1,this.refresh()}))}_downloadFile(t,e){const n=document.createElement("a");n.href=window.URL.createObjectURL(t),n.download=e,n.click(),n.remove()}}class u extends t.Plugin{static get pluginName(){return"ExportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("exportWord",(()=>{const n=t.commands.get("exportWord"),o=this._createButton(e.ButtonView);return o.set({tooltip:!0}),o.bind("isOn").to(n,"isBusy"),o})),t.ui.componentFactory.add("menuBar:exportWord",(()=>this._createButton(e.MenuBarMenuListItemButtonView)))}_createButton(t){const n=this.editor,o=n.config.get("exportWord")||{},r=n.locale.t,s=n.commands.get("exportWord"),i=new t(n.locale),a=new e.SpinnerView;return i.children.add(a),a.bind("isVisible").to(s,"isBusy"),i.iconView.bind("isVisible").to(s,"isBusy",(t=>!t)),i.set({label:r("Export to Word"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.826 16.843a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Z"/><path d="m14 0 5 4.5v9.741a2.737 2.737 0 0 0-1.5-.617V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M3 17.5h6.746c.1.22.23.429.391.623l.731.877H3v-1.5Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.6.6 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001Z"/></svg>\n'}),i.bind("isEnabled").to(s,"isEnabled"),this.listenTo(i,"execute",(()=>{n.execute("exportWord",o),n.editing.view.focus()})),i}}function d(t,e){const n=l();return(d=function(t,e){return n[t-=199]})(t,e)}const p=d;function l(){const t=["requires","registerTokenUrl","1080605NtoQXu","CloudServices","plugins","config","1601633wrQOUy","429SvFKSR","109608oHVosd","add","tokenUrl","get","6GoUprh","24DUGjoU","pluginName","10xFGADe","token","init","then","ExportWord","exportWord","640423VOXvbP","3270249cStrUz","_token","editor","2704RWTCCG","2194650KzOyYE","commands"];return(l=function(){return t})()}!function(t,e){const n=d,o=t();for(;;)try{if(213113===-parseInt(n(208))/1*(parseInt(n(204))/2)+-parseInt(n(203))/3*(parseInt(n(221))/4)+parseInt(n(226))/5+parseInt(n(222))/6+parseInt(n(217))/7*(parseInt(n(209))/8)+parseInt(n(218))/9*(-parseInt(n(211))/10)+parseInt(n(202))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(l);class h extends t.Plugin{static get[p(210)](){return p(215)}static get[p(224)](){return[p(199),e.Notification,u]}[p(213)](){const t=p,e=this[t(220)],n=e[t(201)][t(207)](t(216))||{};e[t(223)][t(205)](t(216),new c(e));const o=e[t(200)][t(207)](t(199));!1===n[t(206)]?this[t(219)]=null:n[t(206)]?o[t(225)](n[t(206)])[t(214)]((e=>{this[t(219)]=e})):this[t(219)]=o[t(212)]}}function f(t,e){var n=g();return(f=function(t,e){return n[t-=260]})(t,e)}function g(){var t=["3199150yMENMY","81450tnzSNk","495464xWkpYY","55QesRYE","4546615vvAZTx","287slghTd","828796nsdZGi","3294736xZhyKr","153FyorqS","6pKmusN","785538VUouET"];return(g=function(){return t})()}!function(t,e){for(var n=f,o=t();;)try{if(567166===-parseInt(n(267))/1+-parseInt(n(270))/2*(parseInt(n(260))/3)+-parseInt(n(268))/4+parseInt(n(265))/5+parseInt(n(262))/6*(-parseInt(n(266))/7)+parseInt(n(263))/8*(parseInt(n(269))/9)+-parseInt(n(261))/10*(-parseInt(n(264))/11))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(g)})(),(window.CKEditor5=window.CKEditor5||{}).exportWord=o})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-export-word",
|
|
3
|
-
"version": "41.3.0
|
|
3
|
+
"version": "41.3.0",
|
|
4
4
|
"description": "Export to Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,14 +30,13 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ckeditor5": "41.3.0
|
|
33
|
+
"ckeditor5": "41.3.0"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (https://cksource.com/)",
|
|
37
37
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
38
38
|
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
39
39
|
"files": [
|
|
40
|
-
"dist",
|
|
41
40
|
"lang",
|
|
42
41
|
"src/**/*.js",
|
|
43
42
|
"src/**/*.d.ts",
|
package/src/exportword.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
10
10
|
import { Notification } from 'ckeditor5/src/ui.js';
|
|
11
11
|
import type { InitializedToken, TokenUrl } from '@ckeditor/ckeditor5-cloud-services';
|
|
12
|
+
import ExportWordUI from './exportwordui.js';
|
|
12
13
|
/**
|
|
13
14
|
* The export to Word feature.
|
|
14
15
|
*
|
|
@@ -24,7 +25,7 @@ export default class ExportWord extends Plugin {
|
|
|
24
25
|
/**
|
|
25
26
|
* @inheritDoc
|
|
26
27
|
*/
|
|
27
|
-
static get requires(): readonly ["CloudServices", typeof Notification];
|
|
28
|
+
static get requires(): readonly ["CloudServices", typeof Notification, typeof ExportWordUI];
|
|
28
29
|
/**
|
|
29
30
|
* @inheritDoc
|
|
30
31
|
*/
|
package/src/exportword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xc3e1(_0xc3ceb5,_0x350d25){const _0x14986b=_0x1498();return _0xc3e1=function(_0xc3e1f7,_0x25c69d){_0xc3e1f7=_0xc3e1f7-0xc7;let _0x1fc40a=_0x14986b[_0xc3e1f7];return _0x1fc40a;},_0xc3e1(_0xc3ceb5,_0x350d25);}const _0x54e269=_0xc3e1;function _0x1498(){const _0x2d2dbd=['requires','registerTokenUrl','1080605NtoQXu','CloudServices','plugins','config','1601633wrQOUy','429SvFKSR','109608oHVosd','add','tokenUrl','get','6GoUprh','24DUGjoU','pluginName','10xFGADe','token','init','then','ExportWord','exportWord','640423VOXvbP','3270249cStrUz','_token','editor','2704RWTCCG','2194650KzOyYE','commands'];_0x1498=function(){return _0x2d2dbd;};return _0x1498();}(function(_0x86e73e,_0x598f4c){const _0xbe4c98=_0xc3e1,_0x39c34d=_0x86e73e();while(!![]){try{const _0x52d27b=-parseInt(_0xbe4c98(0xd0))/0x1*(parseInt(_0xbe4c98(0xcc))/0x2)+-parseInt(_0xbe4c98(0xcb))/0x3*(parseInt(_0xbe4c98(0xdd))/0x4)+parseInt(_0xbe4c98(0xe2))/0x5+parseInt(_0xbe4c98(0xde))/0x6+parseInt(_0xbe4c98(0xd9))/0x7*(parseInt(_0xbe4c98(0xd1))/0x8)+parseInt(_0xbe4c98(0xda))/0x9*(-parseInt(_0xbe4c98(0xd3))/0xa)+parseInt(_0xbe4c98(0xca))/0xb;if(_0x52d27b===_0x598f4c)break;else _0x39c34d['push'](_0x39c34d['shift']());}catch(_0x4cd2e3){_0x39c34d['push'](_0x39c34d['shift']());}}}(_0x1498,0x34079));import{Plugin as _0x3bd120}from'ckeditor5/src/core.js';import{Notification as _0x13ed4b}from'ckeditor5/src/ui.js';import _0x26ea76 from'./exportwordcommand.js';import _0xf6160b from'./exportwordui.js';export default class s extends _0x3bd120{static get[_0x54e269(0xd2)](){const _0x12fb02=_0x54e269;return _0x12fb02(0xd7);}static get[_0x54e269(0xe0)](){const _0x3fb57c=_0x54e269;return[_0x3fb57c(0xc7),_0x13ed4b,_0xf6160b];}[_0x54e269(0xd5)](){const _0x466a9c=_0x54e269,_0x538b4f=this[_0x466a9c(0xdc)],_0x28d9fa=_0x538b4f[_0x466a9c(0xc9)][_0x466a9c(0xcf)](_0x466a9c(0xd8))||{};_0x538b4f[_0x466a9c(0xdf)][_0x466a9c(0xcd)](_0x466a9c(0xd8),new _0x26ea76(_0x538b4f));const _0x28cef8=_0x538b4f[_0x466a9c(0xc8)][_0x466a9c(0xcf)](_0x466a9c(0xc7));!0x1===_0x28d9fa[_0x466a9c(0xce)]?this[_0x466a9c(0xdb)]=null:_0x28d9fa[_0x466a9c(0xce)]?_0x28cef8[_0x466a9c(0xe1)](_0x28d9fa[_0x466a9c(0xce)])[_0x466a9c(0xd6)](_0xa348e=>{const _0x1da8ad=_0x466a9c;this[_0x1da8ad(0xdb)]=_0xa348e;}):this[_0x466a9c(0xdb)]=_0x28cef8[_0x466a9c(0xd4)];}}
|
package/src/exportwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x2618c1}from'ckeditor5/src/core.js';import{getStyles as _0x45fe63,getConverterOptions as _0x4dc8a7}from'./utils.js';export default class e extends _0x2618c1{constructor(_0x10c5ed){super(_0x10c5ed),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x599af7={}){const _0x102a46=this['editor'],t=_0x102a46['t'],_0x3dcd9b=_0x599af7['converterUrl']||'https://docx-converter.cke-cs.com/v1/convert',_0x16559d=_0x599af7['converterOptions']||{},_0x28d18e=_0x102a46['plugins']['get']('ExportWord'),_0x435eda=_0x599af7['token']||_0x28d18e['_token'],_0x5c500f=!0x1!==_0x16559d['auto_pagination'],_0x5dfe7f=_0x599af7['dataCallback']||(_0x4d509c=>_0x4d509c['data']['get']({'pagination':_0x5c500f}));return this['isBusy']=!0x0,this['refresh'](),_0x45fe63(_0x599af7['stylesheets']||['EDITOR_STYLES'])['then'](async _0xbb67a5=>{const _0x5c7d4a=await _0x5dfe7f(_0x102a46),_0x2b1327={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x102a46['locale']['contentLanguageDirection']+'\x22>'+_0x5c7d4a+'</div>','css':_0xbb67a5,'options':{..._0x16559d,..._0x4dc8a7(_0x102a46)}},_0x51ee3f={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x435eda?{'Authorization':_0x435eda['value']}:null},'body':JSON['stringify'](_0x2b1327)};return window['fetch'](_0x3dcd9b,_0x51ee3f)['then'](_0x9a3b28=>{if(0xc8!==_0x9a3b28['status'])throw _0x9a3b28;return _0x9a3b28['blob']();})['then'](_0x5a7ac6=>{const _0xc675e0='function'==typeof _0x599af7['fileName']?_0x599af7['fileName']():_0x599af7['fileName'];this['_downloadFile'](_0x5a7ac6,_0xc675e0||'document.docx');});})['catch'](_0xaf12b4=>{throw _0x102a46['plugins']['get']('Notification')['showWarning'](t('An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0xaf12b4;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x5cdf90,_0x32177a){const _0x3b8c21=document['createElement']('a');_0x3b8c21['href']=window['URL']['createObjectURL'](_0x5cdf90),_0x3b8c21['download']=_0x32177a,_0x3b8c21['click'](),_0x3b8c21['remove']();}}
|
|
@@ -0,0 +1,23 @@
|
|
|
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-word/exportwordui
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
9
|
+
/**
|
|
10
|
+
* The export to Word UI feature.
|
|
11
|
+
*
|
|
12
|
+
* It introduces 'Export to Word' button in toolbar and menu bar.
|
|
13
|
+
*/
|
|
14
|
+
export default class ExportWordUI extends Plugin {
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
static get pluginName(): "ExportWordUI";
|
|
19
|
+
/**
|
|
20
|
+
* @inheritDoc
|
|
21
|
+
*/
|
|
22
|
+
init(): void;
|
|
23
|
+
}
|
|
@@ -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
|
+
import{Plugin as _0x7036af}from'ckeditor5/src/core.js';import{ButtonView as _0x9796b8,MenuBarMenuListItemButtonView as _0x52668c,SpinnerView as _0x11a5af}from'ckeditor5/src/ui.js';import _0x5983bf from'../theme/icons/exportword.svg';export default class i extends _0x7036af{static get['pluginName'](){return'ExportWordUI';}['init'](){const _0x3f7c05=this['editor'];_0x3f7c05['ui']['componentFactory']['add']('exportWord',()=>{const _0x3ff933=_0x3f7c05['commands']['get']('exportWord'),_0x3cea88=this['_createButton'](_0x9796b8);return _0x3cea88['set']({'tooltip':!0x0}),_0x3cea88['bind']('isOn')['to'](_0x3ff933,'isBusy'),_0x3cea88;}),_0x3f7c05['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x52668c));}['_createButton'](_0x406359){const _0x31be74=this['editor'],_0x2694ef=_0x31be74['config']['get']('exportWord')||{},t=_0x31be74['locale']['t'],_0x5cc7d4=_0x31be74['commands']['get']('exportWord'),_0x4338f8=new _0x406359(_0x31be74['locale']),_0x4c1177=new _0x11a5af();return _0x4338f8['children']['add'](_0x4c1177),_0x4c1177['bind']('isVisible')['to'](_0x5cc7d4,'isBusy'),_0x4338f8['iconView']['bind']('isVisible')['to'](_0x5cc7d4,'isBusy',_0x50e177=>!_0x50e177),_0x4338f8['set']({'label':t('Export\x20to\x20Word'),'icon':_0x5983bf}),_0x4338f8['bind']('isEnabled')['to'](_0x5cc7d4,'isEnabled'),this['listenTo'](_0x4338f8,'execute',()=>{_0x31be74['execute']('exportWord',_0x2694ef),_0x31be74['editing']['view']['focus']();}),_0x4338f8;}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x556741,_0x3f3e05){var _0x500b92=_0x3024,_0x2e7f8a=_0x556741();while(!![]){try{var _0x5cee83=-parseInt(_0x500b92(0x10b))/0x1+-parseInt(_0x500b92(0x10e))/0x2*(parseInt(_0x500b92(0x104))/0x3)+-parseInt(_0x500b92(0x10c))/0x4+parseInt(_0x500b92(0x109))/0x5+parseInt(_0x500b92(0x106))/0x6*(-parseInt(_0x500b92(0x10a))/0x7)+parseInt(_0x500b92(0x107))/0x8*(parseInt(_0x500b92(0x10d))/0x9)+-parseInt(_0x500b92(0x105))/0xa*(-parseInt(_0x500b92(0x108))/0xb);if(_0x5cee83===_0x3f3e05)break;else _0x2e7f8a['push'](_0x2e7f8a['shift']());}catch(_0x418771){_0x2e7f8a['push'](_0x2e7f8a['shift']());}}}(_0x3c96,0x8a77e));export{default as ExportWord}from'./exportword.js';function _0x3024(_0x1d3478,_0x5323d8){var _0x3c969f=_0x3c96();return _0x3024=function(_0x302417,_0x236fcf){_0x302417=_0x302417-0x104;var _0x250a79=_0x3c969f[_0x302417];return _0x250a79;},_0x3024(_0x1d3478,_0x5323d8);}function _0x3c96(){var _0x1dc76c=['3199150yMENMY','81450tnzSNk','495464xWkpYY','55QesRYE','4546615vvAZTx','287slghTd','828796nsdZGi','3294736xZhyKr','153FyorqS','6pKmusN','785538VUouET'];_0x3c96=function(){return _0x1dc76c;};return _0x3c96();}import'./augmentation.js';
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x6f46(){const _0x23189c=['1014765HMnLWn','data-cke','2360192jdTtNC','users','author','comments','content','1637977yXmhWa','text','plugins','.ck-content','12zvfAGU',':root','9witnma','getCommentThreads','from','has','1JpIIty','all','160744TKaRhT','DateTimeFormat','name','391946PBwuPp','push','hasAttribute','ownerNode','cssRules','authorId','join','fetch','2658621SoWoXw','map','67005QsUvCI','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.','EDITOR_STYLES','then','keys','Users','get','6XXcZwW','createdAt','CommentsRepository','timezone','cssText','getSuggestions','TrackChanges','resolvedOptions','styleSheets','length','suggestions','indexOf','isResolved','warn','510uNkniX','trim','timeZone'];_0x6f46=function(){return _0x23189c;};return _0x6f46();}(function(_0x49ea1a,_0x532144){const _0x34d460=_0xc196,_0x2ed028=_0x49ea1a();while(!![]){try{const _0x1ef593=parseInt(_0x34d460(0x16e))/0x1*(-parseInt(_0x34d460(0x173))/0x2)+parseInt(_0x34d460(0x16a))/0x3*(parseInt(_0x34d460(0x170))/0x4)+-parseInt(_0x34d460(0x195))/0x5+parseInt(_0x34d460(0x184))/0x6*(parseInt(_0x34d460(0x17b))/0x7)+-parseInt(_0x34d460(0x15f))/0x8+parseInt(_0x34d460(0x17d))/0x9*(parseInt(_0x34d460(0x192))/0xa)+parseInt(_0x34d460(0x164))/0xb*(parseInt(_0x34d460(0x168))/0xc);if(_0x1ef593===_0x532144)break;else _0x2ed028['push'](_0x2ed028['shift']());}catch(_0xbd0855){_0x2ed028['push'](_0x2ed028['shift']());}}}(_0x6f46,0x51ca5));export function getStyles(_0x3e6fa9){const _0x3d6a21=_0xc196;if(!_0x3e6fa9)return new Promise(_0x2dd4e6=>_0x2dd4e6(''));const _0x2a0475=[];for(const _0x235166 of _0x3e6fa9)_0x3d6a21(0x17f)!==_0x235166?_0x2a0475[_0x3d6a21(0x174)](window[_0x3d6a21(0x17a)](_0x235166)[_0x3d6a21(0x180)](_0x51f486=>_0x51f486[_0x3d6a21(0x165)]())):_0x2a0475[_0x3d6a21(0x174)](f());return Promise[_0x3d6a21(0x16f)](_0x2a0475)[_0x3d6a21(0x180)](_0x4c62d3=>_0x4c62d3[_0x3d6a21(0x179)]('\x20')[_0x3d6a21(0x193)]());}function f(){const _0xc1f4d2=_0xc196,_0x6a61ea=[],_0x683909=[];for(const _0x4b276f of Array[_0xc1f4d2(0x16c)](document[_0xc1f4d2(0x18c)])){if(_0x4b276f[_0xc1f4d2(0x176)][_0xc1f4d2(0x175)](_0xc1f4d2(0x15e))){for(const _0x1ec4e6 of Array[_0xc1f4d2(0x16c)](_0x4b276f[_0xc1f4d2(0x177)]))-0x1!==_0x1ec4e6[_0xc1f4d2(0x188)][_0xc1f4d2(0x18f)](_0xc1f4d2(0x167))?_0x6a61ea[_0xc1f4d2(0x174)](_0x1ec4e6[_0xc1f4d2(0x188)]):-0x1!==_0x1ec4e6[_0xc1f4d2(0x188)][_0xc1f4d2(0x18f)](_0xc1f4d2(0x169))&&_0x683909[_0xc1f4d2(0x174)](_0x1ec4e6[_0xc1f4d2(0x188)]);}}return _0x6a61ea[_0xc1f4d2(0x18d)]||console[_0xc1f4d2(0x191)](_0xc1f4d2(0x17e)),[..._0x683909,..._0x6a61ea][_0xc1f4d2(0x179)]('\x20')[_0xc1f4d2(0x193)]();}function _0xc196(_0x2979b7,_0x12b5c2){const _0x6f4690=_0x6f46();return _0xc196=function(_0xc19696,_0x26d764){_0xc19696=_0xc19696-0x15e;let _0x471962=_0x6f4690[_0xc19696];return _0x471962;},_0xc196(_0x2979b7,_0x12b5c2);}export function getConverterOptions(_0x496d3b){const _0xea0567=_0xc196,_0x4c1cea=_0x496d3b[_0xea0567(0x166)][_0xea0567(0x16d)](_0xea0567(0x182)),_0x46d561=_0x496d3b[_0xea0567(0x166)][_0xea0567(0x16d)](_0xea0567(0x186)),_0x57b081=_0x496d3b[_0xea0567(0x166)][_0xea0567(0x16d)](_0xea0567(0x18a)),_0xb920ff={};if(_0x4c1cea&&_0x46d561){const _0x4ed0f9=getComments(_0x496d3b[_0xea0567(0x166)][_0xea0567(0x183)](_0xea0567(0x186))[_0xea0567(0x16b)]({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object[_0xea0567(0x181)](_0x4ed0f9)[_0xea0567(0x18d)]&&(_0xb920ff[_0xea0567(0x162)]=_0x4ed0f9);}if(_0x4c1cea&&_0x57b081){const _0xb546ce=_0x496d3b[_0xea0567(0x166)][_0xea0567(0x183)](_0xea0567(0x18a)),_0x4c6741=_0x496d3b[_0xea0567(0x166)][_0xea0567(0x183)](_0xea0567(0x182)),_0x1bbba6=getSuggestions(_0xb546ce[_0xea0567(0x189)]({'toJSON':!0x0}),_0x4c6741[_0xea0567(0x160)]);Object[_0xea0567(0x181)](_0x1bbba6)[_0xea0567(0x18d)]&&(_0xb920ff[_0xea0567(0x18e)]=_0x1bbba6);}return(_0xb920ff[_0xea0567(0x18e)]||_0xb920ff[_0xea0567(0x162)])&&(_0xb920ff[_0xea0567(0x187)]=new Intl[(_0xea0567(0x171))]()[_0xea0567(0x18b)]()[_0xea0567(0x194)]),_0xb920ff;}export function getComments(_0x520a80){const _0x257ebc=_0xc196,_0x433a67={};if(!_0x520a80[_0x257ebc(0x18d)])return _0x433a67;for(const _0x1e527b of _0x520a80)_0x1e527b[_0x257ebc(0x162)][_0x257ebc(0x17c)](_0x4ff871=>{const _0x4bfefa=_0x257ebc;void 0x0===_0x433a67[_0x1e527b['id']]&&(_0x433a67[_0x1e527b['id']]=[]),_0x433a67[_0x1e527b['id']][_0x4bfefa(0x174)]({'author':_0x4ff871[_0x4bfefa(0x161)][_0x4bfefa(0x172)],'content':_0x4ff871[_0x4bfefa(0x163)],'created':_0x4ff871[_0x4bfefa(0x185)],'is_resolved':_0x1e527b[_0x4bfefa(0x190)]});});return _0x433a67;}export function getSuggestions(_0x4dc39d,_0x355176){const _0x17c1d4=_0xc196,_0x4ed13b={};if(!_0x4dc39d[_0x17c1d4(0x18d)]||!_0x355176[_0x17c1d4(0x18d)])return _0x4ed13b;for(const _0x459e7e of _0x4dc39d)_0x4ed13b[_0x459e7e['id']]={'author':_0x355176[_0x17c1d4(0x183)](_0x459e7e[_0x17c1d4(0x178)])[_0x17c1d4(0x172)],'created':_0x459e7e[_0x17c1d4(0x185)]};return _0x4ed13b;}
|
package/dist/content-index.css
DELETED
package/dist/editor-index.css
DELETED
package/dist/index.css
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ar.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'ar':{'dictionary':{'Export\x20to\x20Word':'تصدير\x20إلى\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'حدث\x20خطأ\x20ما،\x20أثناء\x20استخراج\x20ملف\x20Word.'},'getPluralForm':_0x2272f7=>0x0==_0x2272f7?0x0:0x1==_0x2272f7?0x1:0x2==_0x2272f7?0x2:_0x2272f7%0x64>=0x3&&_0x2272f7%0x64<=0xa?0x3:_0x2272f7%0x64>=0xb&&_0x2272f7%0x64<=0x63?0x4:0x5}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/bg.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'bg':{'dictionary':{'Export\x20to\x20Word':'Експорт\x20към\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20генериране\x20на\x20файл\x20в\x20Word.'},'getPluralForm':_0x52eb76=>0x1!=_0x52eb76}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/bn.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'bn':{'dictionary':{'Export\x20to\x20Word':'Word\x20এ\x20রপ্তানি\x20করুন','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Word\x20এ\x20ফাইল\x20তৈরি\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20হয়েছে।'},'getPluralForm':_0x5d4adc=>0x1!=_0x5d4adc}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ca.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'ca':{'dictionary':{'Export\x20to\x20Word':'Exportar\x20a\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'S\x27ha\x20produït\x20un\x20error\x20en\x20generar\x20el\x20fitxer\x20de\x20Word.'},'getPluralForm':_0x5680a5=>0x1!=_0x5680a5}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/cs.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'cs':{'dictionary':{'Export\x20to\x20Word':'Exportovat\x20do\x20Wordu','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Při\x20generování\x20souboru\x20pro\x20Word\x20se\x20vyskytla\x20chyba.'},'getPluralForm':_0x51cc79=>0x1==_0x51cc79&&_0x51cc79%0x1==0x0?0x0:_0x51cc79>=0x2&&_0x51cc79<=0x4&&_0x51cc79%0x1==0x0?0x1:_0x51cc79%0x1!=0x0?0x2:0x3}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/da.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'da':{'dictionary':{'Export\x20to\x20Word':'Eksporter\x20til\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20under\x20oprettelse\x20af\x20Word-filen.'},'getPluralForm':_0x3659c9=>0x1!=_0x3659c9}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/de.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'de':{'dictionary':{'Export\x20to\x20Word':'Als\x20Word-Datei\x20exportieren','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Beim\x20Erstellen\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.'},'getPluralForm':_0x5e1d39=>0x1!=_0x5e1d39}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/el.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'el':{'dictionary':{'Export\x20to\x20Word':'Εξαγωγή\x20σε\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20τη\x20δημιουργία\x20του\x20αρχείου\x20Word.'},'getPluralForm':_0x36f068=>0x1!=_0x36f068}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
|
@@ -1,23 +0,0 @@
|
|
|
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 default{'en-au':{'dictionary':{'Export\x20to\x20Word':'Export\x20to\x20Word','An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.'},'getPluralForm':_0xb1c175=>0x1!=_0xb1c175}};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|