@ckeditor/ckeditor5-import-word 44.0.0-alpha.8 → 44.0.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/README.md +2 -2
- package/build/import-word.js +2 -2
- 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/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/package.json +7 -7
- package/src/importword.js +1 -1
- package/src/importwordcommand.js +1 -1
- package/src/importwordediting.js +1 -1
- package/src/importwordui.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This package contains the import from Word feature for CKEditor 5. It allow
|
|
|
7
7
|
|
|
8
8
|
When enabled, this feature sends the selected Word file to the CKEditor Cloud Services Word to HTML converter service. The service then generates the HTML document that is inserted into the editor.
|
|
9
9
|
|
|
10
|
-
This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/
|
|
10
|
+
This is a premium feature. Sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free), or see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing) for more information.
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ npm install ckeditor5-premium-features
|
|
|
19
19
|
|
|
20
20
|
## Create free account
|
|
21
21
|
|
|
22
|
-
If you want to check full CKEditor 5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/
|
|
22
|
+
If you want to check full CKEditor 5 capabilities, sign up for a [free non-commitment 14-day trial](https://portal.ckeditor.com/checkout?plan=free).
|
|
23
23
|
|
|
24
24
|
## Demo
|
|
25
25
|
|
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const r=t.en=t.en||{};r.dictionary=Object.assign(r.dictionary||{},{"An error occurred while importing the Word file.":"An error occurred while importing the Word file.","Import from Word":"Import from Word","Importing Word document":"Importing Word document"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
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={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>k,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=r(782),e=r(311);function i(t,e){const r=t.t;switch(e){case"Import from Word":return r("Import from Word");case"An error occurred while importing the Word file.":return r("An error occurred while importing the Word file.");case"Importing Word document":return r("Importing Word document");default:return e}}const o=s;function s(t,e){const r=a();return(s=function(t,e){return r[t-=344]})(t,e)}function a(){const t=["isOn","init","isEnabled","commands","isPremiumPlugin","913ZqmnwR","done","view","editing","iconView","Importing Word document","set","584CfAmfH","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","1444636ZwPSBW","isOfficialPlugin","bind","pluginName","editor","importWord","add","isBusy","tooltip","label","6zhmtQc","2375645KdlEFU","7977FUrcjN","locale","_createButton","componentFactory","447690hSYJIG","get","2740626boMprt","175834QiUJhh","ImportWordUI","menuBar:importWord","464PpOgbY","focus","Import from Word","execute","188064QXKLNL","isVisible"];return(a=function(){return t})()}!function(t){const e=s,r=t();for(;;)try{if(842537===-parseInt(e(361))/1+parseInt(e(380))/2+-parseInt(e(373))/3*(parseInt(e(358))/4)+parseInt(e(372))/5*(parseInt(e(371))/6)+-parseInt(e(379))/7+-parseInt(e(383))/8*(parseInt(e(344))/9)+-parseInt(e(377))/10*(-parseInt(e(351))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(a);class c extends t.Plugin{static get[o(364)](){return o(381)}static get[o(362)](){return!0}static get[o(350)](){return!0}[o(347)](){const t=o,r=this[t(365)];r.ui[t(376)][t(367)](t(366),(()=>{const n=t,i=this[n(375)](e.FileDialogButtonView),o=r[n(349)][n(378)](n(366));return i[n(363)](n(346)).to(o,n(368)),i[n(369)]=!0,i})),r.ui[t(376)][t(367)](t(382),(()=>this[t(375)](e.MenuBarMenuListItemFileDialogButtonView)))}[o(375)](t){const r=o,n=this[r(365)],s=n[r(349)][r(378)](r(366)),a=new t(n[r(374)]),c=new e.SpinnerView;return a[r(357)]({acceptedType:r(359)}),a[r(357)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><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.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),a[r(363)](r(348)).to(s),a[r(363)](r(370)).to(s,r(368),(t=>i(n[r(374)],r(t?356:385)))),c[r(363)](r(345)).to(s,r(368)),a[r(355)][r(363)](r(345)).to(s,r(368),(t=>!t)),a[r(360)][r(367)](c),a.on(r(352),((t,e)=>{const i=r;n[i(386)](i(366),e[0],{}),n[i(354)][i(353)][i(384)]()})),a}}var p=r(331),u=r(783),l=r(584);const h=f;function d(){const t=["schema","bind","config","root","$graveyard","model","json","merge_fields","fire","MergeFields","text/html","_prepareForImport","deleteContent","resolve","6462988WiHKZh","refresh","editor","isBusy","headers","15799619bgbwMd","reject","ImportWordEditing","signal","parent","position","set","execute","locale","markers","file","10ApaXdc","createPositionAfter","import-word-plugin-import-cancelled","Authorization","dataInsert","resolvedOptions","low","import-word-plugin-conversion-failed","value","14613003LmWLLt","editing","getFirstPosition","isEmpty","html","7615288ZekqAh","isAtEnd","mergeFields","then","36093pqucjL","Notification","_abortController","_importMarker","converterUrl","view","_handleImportResponse","_sendImportRequest","80jJTouW","POST","split","plugins","removeMarker","_handleImportFailure","importWord:","checkChild","isEnabled","paragraph","setSelection","_undoStepBatch","document","getToken","showWarning","isAtStart","importWord","timeZone","12vGpZHk","change:range","getSelectedBlocks","An error occurred while importing the Word file.","clipboardInput","createBatch","2MMjLJr","formatting","enqueueChange","element","1679914Bbmexw","selection","createPositionBefore","setData","281922pqKhoU","finally","getRange","rootName","abort","aborted","has","isCollapsed","stringify","DateTimeFormat","_checkEnabled","stopListening","addMarker","get","_cleanUpAfterImport","115sbeUsy","catch"];return(d=function(){return t})()}function f(t,e){const r=d();return(f=function(t,e){return r[t-=106]})(t,e)}!function(t){const e=f,r=t();for(;;)try{if(998544===parseInt(e(187))/1*(parseInt(e(191))/2)+parseInt(e(155))/3*(parseInt(e(163))/4)+parseInt(e(210))/5*(-parseInt(e(195))/6)+parseInt(e(121))/7+-parseInt(e(151))/8+-parseInt(e(146))/9*(-parseInt(e(137))/10)+parseInt(e(126))/11*(-parseInt(e(181))/12))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(d);class m extends t.Command{constructor(t){const e=f;super(t),this[e(132)](e(124),!1),this[e(158)]=null,this[e(174)]=null,this[e(157)]=null,this.on(e(141),((r,n)=>{const i=e,o=new DataTransfer;o[i(194)](i(117),n[i(150)]);const s=this[i(158)][i(197)]();this[i(123)][i(112)][i(189)](this[i(174)],(e=>{const r=i;this[r(158)][r(206)](),e[r(173)](s),t[r(147)][r(160)][r(175)][r(115)](r(185),{dataTransfer:o})}))}),{priority:e(143)})}[h(122)](){const t=h;this[t(171)]=this[t(205)]()}[h(133)](t,e={}){const r=h;if(this[r(124)])return Promise[r(120)]();const n=this[r(123)][r(109)][r(208)](r(179));if(this[r(123)][r(166)][r(201)](r(116))){const{prefix:t,suffix:n}=this[r(123)][r(109)][r(208)](r(153));e[r(114)]={prefix:t,suffix:n}}const i={url:n[r(159)],file:t,serviceConfig:{...e,formatting:n[r(188)],timezone:(new(Intl[r(204)]))[r(142)]()[r(180)]}};return this[r(118)](),this[r(162)](i)[r(154)](this[r(161)][r(108)](this))[r(106)](this[r(168)][r(108)](this))[r(196)](this[r(209)][r(108)](this))}[h(205)](){const t=h;if(this[t(124)])return!1;const e=this[t(123)][t(112)],r=e[t(107)],n=e[t(175)][t(192)],i=(0,l.first)(n[t(183)]());return!!i&&r[t(170)](i[t(130)],t(172))}[h(118)](){const t=h,e=this[t(123)],r=e[t(112)],n=r[t(175)][t(192)];this[t(157)]=new AbortController,this[t(174)]=e[t(112)][t(186)]({isUndoable:!0}),r[t(189)](this[t(174)],(e=>{const i=t;n[i(202)]||r[i(119)](n,{leaveUnmerged:!0});const o=n[i(148)](),s=(0,l.first)(n[i(183)]());let a;a=s.is(i(190),i(172))&&s[i(149)]?o:o[i(178)]?r[i(193)](s):o[i(152)]?r[i(138)](s):e[i(165)](o)[i(131)],this[i(158)]=e[i(207)](i(169)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(158)].on(i(182),(()=>{const t=i;t(111)===this[t(158)][t(197)]()[t(110)][t(198)]&&this[t(157)][t(199)]()}))})),this[t(124)]=!0,this[t(122)]()}[h(209)](){const t=h,e=this[t(123)][t(112)];e[t(135)][t(201)](this[t(158)])&&e[t(189)](this[t(174)],(e=>{const r=t;e[r(167)](this[r(158)])})),this[t(158)]=null,this[t(174)]=null,this[t(157)]=null,this[t(124)]=!1,this[t(122)]()}[h(162)]({url:t,file:e,serviceConfig:r}){const n=h,i=this[n(123)][n(166)][n(208)](n(128))[n(176)](),o=new FormData;o[n(132)](n(109),JSON[n(203)](r)),o[n(132)](n(136),e);const s={method:n(164),headers:{},body:o,signal:this[n(157)][n(129)]};return i&&(s[n(125)][n(140)]=i[n(145)]),fetch(t,s)}[h(161)](t){const e=h;return t.ok?t[e(113)]()[e(154)]((t=>{const r=e;this[r(123)][r(112)][r(135)][r(201)](this[r(158)])&&r(111)!==this[r(158)][r(197)]()[r(110)][r(198)]&&this[r(115)](r(141),t)})):Promise[e(127)]()}[h(168)](){const t=h;if(this[t(157)][t(129)][t(200)])return void(0,l.logWarning)(t(139));const e=this[t(123)],r=i(e[t(134)],t(184));e[t(166)][t(208)](t(156))[t(177)](r),(0,l.logError)(t(144))}}const g=I;function I(t,e){const r=v();return(I=function(t,e){return r[t-=477]})(t,e)}function v(){const t=["isOfficialPlugin","3083046SFlJHJ","requires","9OCbOmY","429018cvJnVQ","isPremiumPlugin","134992UUhnAh","plugins","add","config","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","getToken","_token","token","1535ggSIhv","4704992ysZmuV","3419510GNmooq","7hyNETW","ImportWordEditing","826884TOrEMj","importWord","628ubJoiN","get","registerTokenUrl","tokenUrl","init","CloudServices","inline","pluginName","cloudServices","none","editor","define"];return(v=function(){return t})()}!function(t){const e=I,r=t();for(;;)try{if(375573===parseInt(e(509))/1+parseInt(e(489))/2+parseInt(e(507))/3+-parseInt(e(491))/4*(parseInt(e(484))/5)+-parseInt(e(504))/6*(parseInt(e(487))/7)+parseInt(e(485))/8*(parseInt(e(506))/9)+-parseInt(e(486))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(v);class w extends t.Plugin{static get[g(498)](){return g(488)}static get[g(503)](){return!0}static get[g(508)](){return!0}static get[g(505)](){const t=g;return[e.Notification,p.ClipboardPipeline,t(496)]}constructor(t){const e=g;super(t),this[e(482)]=null}async[g(495)](){const t=g,e=this[t(501)];e[t(478)][t(502)](t(490),{converterUrl:t(479),tokenUrl:(e[t(478)][t(492)](t(499))||{})[t(494)],formatting:{resets:t(500),defaults:t(500),styles:t(497)}}),e[t(480)][t(477)](t(490),new m(e));const{tokenUrl:r}=e[t(478)][t(492)](t(490));if(r){const{tokenUrl:n}=e[t(478)][t(492)](t(499))||{};this[t(482)]=r===n?e[t(510)][t(492)](t(496))[t(483)]:await e[t(510)][t(492)](t(496))[t(493)](r)}}[g(481)](){return this[g(482)]}}function b(t,e){var r=x();return(b=function(t,e){return r[t-=477]})(t,e)}var W=b;function x(){var t=["pluginName","1261341mIMhYC","24ngInDA","4553339fczXqe","isOfficialPlugin","24lcyinS","1625642xwYkep","80CaSwup","6amPXvT","24508666RzJiTs","isPremiumPlugin","7572cGArRL","requires","37323PDmkRx","ImportWord","2890WmTxQE","3uTnCUg","1008128LVgqtY"];return(x=function(){return t})()}!function(t){for(var e=b,r=t();;)try{if(937698===parseInt(e(481))/1+parseInt(e(492))/2*(-parseInt(e(484))/3)+-parseInt(e(479))/4*(parseInt(e(483))/5)+parseInt(e(494))/6*(-parseInt(e(489))/7)+parseInt(e(488))/8*(parseInt(e(487))/9)+-parseInt(e(493))/10*(parseInt(e(485))/11)+parseInt(e(491))/12*(parseInt(e(477))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(x);class k extends t.Plugin{static get[W(486)](){return W(482)}static get[W(490)](){return!0}static get[W(478)](){return!0}static get[W(480)](){return[w,c]}}function y(){var t=["36dsvZSd","2WjwZgL","254074zJLsEs","23202XMMkNq","7jmbJkb","4124312iexBkT","4275MTwHkD","12iSYHom","172005ZxeuOU","18650424LVkYBb","1020iMkIVL","5894856PeCxgF","1878sfAnWD"];return(y=function(){return t})()}function P(t,e){var r=y();return(P=function(t,e){return r[t-=311]})(t,e)}!function(t){for(var e=P,r=t();;)try{if(382217===-parseInt(e(312))/1*(-parseInt(e(313))/2)+parseInt(e(319))/3*(parseInt(e(311))/4)+-parseInt(e(317))/5*(parseInt(e(323))/6)+parseInt(e(315))/7*(parseInt(e(316))/8)+-parseInt(e(314))/9*(-parseInt(e(321))/10)+parseInt(e(322))/11+-parseInt(e(318))/12*(parseInt(e(320))/13))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(y)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
5
|
+
*/(()=>{var t={331:(t,r,e)=>{t.exports=e(237)("./src/clipboard.js")},782:(t,r,e)=>{t.exports=e(237)("./src/core.js")},783:(t,r,e)=>{t.exports=e(237)("./src/engine.js")},311:(t,r,e)=>{t.exports=e(237)("./src/ui.js")},584:(t,r,e)=>{t.exports=e(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},r={};function e(n){var i=r[n];if(void 0!==i)return i.exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";e.r(n),e.d(n,{ImportWord:()=>W,ImportWordEditing:()=>w,ImportWordUI:()=>c});var t=e(782),r=e(311);function i(t,r){const e=t.t;switch(r){case"Import from Word":return e("Import from Word");case"An error occurred while importing the Word file.":return e("An error occurred while importing the Word file.");case"Importing Word document":return e("Importing Word document");default:return r}}function o(){const t=["Importing Word document","iconView","1570uESsPh","done","758YsqvCc","isVisible","importWord","1101609ftGLUZ","isEnabled","isBusy","init","1515375BFzmaU","Import from Word","add","1417850DZuXGi","bind","componentFactory","focus","set","tooltip","get","children","label","733491UkNvgY","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","295UoyXsD","editing","_createButton","isOn","8OIJunz","ImportWordUI","130596HuJyTq","pluginName","33044QzRgvf","menuBar:importWord","execute","view","editor","isOfficialPlugin","commands","50HdPYlb","isPremiumPlugin","locale"];return(o=function(){return t})()}function s(t,r){const e=o();return(s=function(t,r){return e[t-=372]})(t,r)}const a=s;!function(t){const r=s,e=t();for(;;)try{if(328614===parseInt(r(399))/1*(parseInt(r(401))/2)+-parseInt(r(408))/3+-parseInt(r(387))/4*(parseInt(r(379))/5)+-parseInt(r(385))/6+-parseInt(r(411))/7*(-parseInt(r(383))/8)+-parseInt(r(404))/9*(-parseInt(r(394))/10)+-parseInt(r(377))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(o);class c extends t.Plugin{static get[a(386)](){return a(384)}static get[a(392)](){return!0}static get[a(395)](){return!0}[a(407)](){const t=a,e=this[t(391)];e.ui[t(413)][t(410)](t(403),(()=>{const n=t,i=this[n(381)](r.FileDialogButtonView),o=e[n(393)][n(374)](n(403));return i[n(412)](n(382)).to(o,n(406)),i[n(373)]=!0,i})),e.ui[t(413)][t(410)](t(388),(()=>this[t(381)](r.MenuBarMenuListItemFileDialogButtonView)))}[a(381)](t){const e=a,n=this[e(391)],o=n[e(393)][e(374)](e(403)),s=new t(n[e(396)]),c=new r.SpinnerView;return s[e(372)]({acceptedType:e(378)}),s[e(372)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><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.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),s[e(412)](e(405)).to(o),s[e(412)](e(376)).to(o,e(406),(t=>i(n[e(396)],e(t?397:409)))),c[e(412)](e(402)).to(o,e(406)),s[e(398)][e(412)](e(402)).to(o,e(406),(t=>!t)),s[e(375)][e(410)](c),s.on(e(400),((t,r)=>{const i=e;n[i(389)](i(403),r[0],{}),n[i(380)][i(390)][i(414)]()})),s}}var u=e(331),p=e(783),l=e(584);const d=f;function h(){const t=["10sVPLLx","isCollapsed","rootName","value","import-word-plugin-import-cancelled","low","650995MmvVRH","_handleImportResponse","then","editing","clipboardInput","createPositionAfter","split","signal","paragraph","schema","getFirstPosition","436809eTQhJc","formatting","MergeFields","markers","timeZone","mergeFields","createBatch","POST","document","catch","dataInsert","bind","deleteContent","getRange","merge_fields","4ECwcST","removeMarker","change:range","set","_sendImportRequest","html","enqueueChange","converterUrl","getToken","stopListening","resolvedOptions","resolve","_abortController","locale","An error occurred while importing the Word file.","reject","get","_cleanUpAfterImport","element","$graveyard","abort","843931wrbsob","addMarker","importWord","isBusy","execute","editor","createPositionBefore","_importMarker","showWarning","plugins","finally","root","importWord:","319014NyKKyv","50grmTkZ","isEnabled","config","parent","text/html","selection","view","2133080wEhCBE","_undoStepBatch","refresh","checkChild","isAtStart","ImportWordEditing","has","position","headers","fire","model","import-word-plugin-conversion-failed","Notification","DateTimeFormat","_handleImportFailure","16871XZcgAF","file","json","setData","_checkEnabled","7GFDANv","stringify","Authorization","aborted","getSelectedBlocks","setSelection","isEmpty","_prepareForImport","isAtEnd","117189zOQkwY"];return(h=function(){return t})()}function f(t,r){const e=h();return(f=function(t,r){return e[t-=122]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(163845===-parseInt(r(142))/1*(-parseInt(r(157))/2)+-parseInt(r(174))/3*(parseInt(r(189))/4)+-parseInt(r(163))/5+parseInt(r(223))/6*(-parseInt(r(147))/7)+parseInt(r(127))/8+parseInt(r(156))/9*(parseInt(r(224))/10)+parseInt(r(210))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(h);class m extends t.Command{constructor(t){const r=f;super(t),this[r(192)](r(213),!1),this[r(217)]=null,this[r(128)]=null,this[r(201)]=null,this.on(r(184),((e,n)=>{const i=r,o=new DataTransfer;o[i(145)](i(124),n[i(194)]);const s=this[i(217)][i(187)]();this[i(215)][i(137)][i(195)](this[i(128)],(r=>{const e=i;this[e(217)][e(198)](),r[e(152)](s),t[e(166)][e(126)][e(182)][e(136)](e(167),{dataTransfer:o})}))}),{priority:r(162)})}[d(129)](){const t=d;this[t(225)]=this[t(146)]()}[d(214)](t,r={}){const e=d;if(this[e(213)])return Promise[e(200)]();const n=this[e(215)][e(122)][e(205)](e(212));if(this[e(215)][e(219)][e(133)](e(176))){const{prefix:t,suffix:n}=this[e(215)][e(122)][e(205)](e(179));r[e(188)]={prefix:t,suffix:n}}const i={url:n[e(196)],file:t,serviceConfig:{...r,formatting:n[e(175)],timezone:(new(Intl[e(140)]))[e(199)]()[e(178)]}};return this[e(154)](),this[e(193)](i)[e(165)](this[e(164)][e(185)](this))[e(183)](this[e(141)][e(185)](this))[e(220)](this[e(206)][e(185)](this))}[d(146)](){const t=d;if(this[t(213)])return!1;const r=this[t(215)][t(137)],e=r[t(172)],n=r[t(182)][t(125)],i=(0,l.first)(n[t(151)]());return!!i&&e[t(130)](i[t(123)],t(171))}[d(154)](){const t=d,r=this[t(215)],e=r[t(137)],n=e[t(182)][t(125)];this[t(201)]=new AbortController,this[t(128)]=r[t(137)][t(180)]({isUndoable:!0}),e[t(195)](this[t(128)],(r=>{const i=t;n[i(158)]||e[i(186)](n,{leaveUnmerged:!0});const o=n[i(173)](),s=(0,l.first)(n[i(151)]());let a;a=s.is(i(207),i(171))&&s[i(153)]?o:o[i(131)]?e[i(216)](s):o[i(155)]?e[i(168)](s):r[i(169)](o)[i(134)],this[i(217)]=r[i(211)](i(222)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(217)].on(i(191),(()=>{const t=i;t(208)===this[t(217)][t(187)]()[t(221)][t(159)]&&this[t(201)][t(209)]()}))})),this[t(213)]=!0,this[t(129)]()}[d(206)](){const t=d,r=this[t(215)][t(137)];r[t(177)][t(133)](this[t(217)])&&r[t(195)](this[t(128)],(r=>{const e=t;r[e(190)](this[e(217)])})),this[t(217)]=null,this[t(128)]=null,this[t(201)]=null,this[t(213)]=!1,this[t(129)]()}[d(193)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(215)][n(219)][n(205)](n(132))[n(197)](),o=new FormData;o[n(192)](n(122),JSON[n(148)](e)),o[n(192)](n(143),r);const s={method:n(181),headers:{},body:o,signal:this[n(201)][n(170)]};return i&&(s[n(135)][n(149)]=i[n(160)]),fetch(t,s)}[d(164)](t){const r=d;return t.ok?t[r(144)]()[r(165)]((t=>{const e=r;this[e(215)][e(137)][e(177)][e(133)](this[e(217)])&&e(208)!==this[e(217)][e(187)]()[e(221)][e(159)]&&this[e(136)](e(184),t)})):Promise[r(204)]()}[d(141)](){const t=d;if(this[t(201)][t(170)][t(150)])return void(0,l.logWarning)(t(161));const r=this[t(215)],e=i(r[t(202)],t(203));r[t(219)][t(205)](t(139))[t(218)](e),(0,l.logError)(t(138))}}const g=v;function I(){const t=["356024RbrPph","_token","https://docx-converter.cke-cs.com/v2/convert/docx-html","2308548whkJrM","isPremiumPlugin","1946160DxEjXI","793521vVDEok","190NuZllJ","config","get","inline","editor","CloudServices","2612400MLvooO","4TvdlpN","4687736lNDuBY","define","isOfficialPlugin","pluginName","registerTokenUrl","importWord","getToken","tokenUrl","commands","plugins","token","requires","10bAxHcN","1004654BYsZOX","none","add","init","cloudServices","ImportWordEditing"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=500]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(565543===-parseInt(r(528))/1*(-parseInt(r(508))/2)+-parseInt(r(533))/3+parseInt(r(531))/4+parseInt(r(521))/5*(parseInt(r(507))/6)+parseInt(r(522))/7+parseInt(r(509))/8+-parseInt(r(500))/9*(parseInt(r(501))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(512)](){return g(527)}static get[g(511)](){return!0}static get[g(532)](){return!0}static get[g(520)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(506)]}constructor(t){const r=g;super(t),this[r(529)]=null}async[g(525)](){const t=g,r=this[t(505)];r[t(502)][t(510)](t(514),{converterUrl:t(530),tokenUrl:(r[t(502)][t(503)](t(526))||{})[t(516)],formatting:{resets:t(523),defaults:t(523),styles:t(504)}}),r[t(517)][t(524)](t(514),new m(r));const{tokenUrl:e}=r[t(502)][t(503)](t(514));if(e){const{tokenUrl:n}=r[t(502)][t(503)](t(526))||{};this[t(529)]=e===n?r[t(518)][t(503)](t(506))[t(519)]:await r[t(518)][t(503)](t(506))[t(513)](e)}}[g(515)](){return this[g(529)]}}var b=y;function y(t,r){var e=x();return(y=function(t,r){return e[t-=302]})(t,r)}function x(){var t=["4jyKfKv","597696iFtcjb","3096myfTbR","isPremiumPlugin","pluginName","2114hJovpn","995300UdbwJP","435642CZFwAH","848215LyGgav","isOfficialPlugin","ImportWord","205078YGqqGa","requires","2586GVTqJQ","4216zFDofJ","2DcBsna"];return(x=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(126767===-parseInt(r(306))/1*(-parseInt(r(302))/2)+parseInt(r(314))/3*(-parseInt(r(307))/4)+parseInt(r(315))/5+-parseInt(r(304))/6*(parseInt(r(312))/7)+-parseInt(r(305))/8*(-parseInt(r(309))/9)+-parseInt(r(313))/10+-parseInt(r(308))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(x);class W extends t.Plugin{static get[b(311)](){return b(317)}static get[b(316)](){return!0}static get[b(310)](){return!0}static get[b(303)](){return[w,c]}}function k(){var t=["30bhbBwH","35lOVifu","12nhrQUK","424496dcaCtQ","23000iNmjGY","332664NlEIYa","2210897qfDLxq","13962wdKkwt","11805jqviYp","53jisMPa","2563839lconow","1199bRzNuy","4MaAUzv"];return(k=function(){return t})()}function P(t,r){var e=k();return(P=function(t,r){return e[t-=288]})(t,r)}!function(t){for(var r=P,e=t();;)try{if(209840===-parseInt(r(299))/1*(-parseInt(r(297))/2)+-parseInt(r(295))/3*(parseInt(r(289))/4)+parseInt(r(298))/5*(parseInt(r(290))/6)+-parseInt(r(291))/7*(parseInt(r(293))/8)+parseInt(r(300))/9+parseInt(r(294))/10*(-parseInt(r(288))/11)+-parseInt(r(292))/12*(-parseInt(r(296))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x149d4a,Command as _0x3f7d75}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x401009,MenuBarMenuListItemFileDialogButtonView as _0x5346b1,SpinnerView as _0x5cdb5a,Notification as _0x3ccf20}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x17efab}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5c3eb0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x112616,uid as _0x2b74b0,logWarning as _0x2fe54e,logError as _0x174b43}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x49ee79,_0x40ef59){const t=_0x49ee79['t'];switch(_0x40ef59){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x40ef59;}}class i extends _0x149d4a{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x250df9=this['editor'];_0x250df9['ui']['componentFactory']['add']('importWord',()=>{const _0x151b89=this['_createButton'](_0x401009),_0x3d03b1=_0x250df9['commands']['get']('importWord');return _0x151b89['bind']('isOn')['to'](_0x3d03b1,'isBusy'),_0x151b89['tooltip']=!0x0,_0x151b89;}),_0x250df9['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5346b1));}['_createButton'](_0xa84420){const _0x5b5062=this['editor'],_0x57539d=_0x5b5062['commands']['get']('importWord'),_0x37e22b=new _0xa84420(_0x5b5062['locale']),_0x5d726d=new _0x5cdb5a();return _0x37e22b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x37e22b['set']({'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22m14\x200\x205\x204.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0\x202v3h3.3L14\x202Z\x22/><path\x20d=\x22M10.74\x2018a2.76\x202.76\x200\x200\x201-.469-.5H3V19h9.25v-.374A2.737\x202.737\x200\x200\x201\x2010.74\x2018Z\x22/><path\x20d=\x22M8.5\x206a1.5\x201.5\x200\x200\x201\x201.493\x201.356L10\x207.5v7a1.5\x201.5\x200\x200\x201-1.356\x201.493L8.5\x2016h-7a1.5\x201.5\x200\x200\x201-1.493-1.356L0\x2014.5v-7a1.5\x201.5\x200\x200\x201\x201.356-1.493L1.5\x206h7ZM7.483\x208.795l-.042.088-.986\x202.534-.947-2.528-.043-.092a.601.601\x200\x200\x200-1.042.008l-.042.093-.883\x202.465-.937-2.475-.042-.089a.6.6\x200\x200\x200-1.107.42l.027.093\x201.514\x204\x20.044.092a.6.6\x200\x200\x200\x201.041-.01l.041-.092.88-2.458.925\x202.467.046.096a.602.602\x200\x200\x200\x201.032\x200l.043-.09\x201.554-4\x20.028-.093a.6.6\x200\x200\x200-1.104-.43v.001ZM11.674\x2015.407a.75.75\x200\x201\x200\x201.152.96L14\x2014.96V20h1.5v-5.04l1.174\x201.408a.75.75\x200\x201\x200\x201.152-.96l-2.346-2.816a.95.95\x200\x200\x200-1.46\x200l-2.346\x202.815Z\x22/></svg>\x0a'}),_0x37e22b['bind']('isEnabled')['to'](_0x57539d),_0x37e22b['bind']('label')['to'](_0x57539d,'isBusy',_0x59e7f2=>p(_0x5b5062['locale'],_0x59e7f2?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x5d726d['bind']('isVisible')['to'](_0x57539d,'isBusy'),_0x37e22b['iconView']['bind']('isVisible')['to'](_0x57539d,'isBusy',_0x131ecf=>!_0x131ecf),_0x37e22b['children']['add'](_0x5d726d),_0x37e22b['on']('done',(_0x382571,_0xbed97e)=>{_0x5b5062['execute']('importWord',_0xbed97e[0x0],{}),_0x5b5062['editing']['view']['focus']();}),_0x37e22b;}}class d extends _0x3f7d75{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3880e9){super(_0x3880e9),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x3d5482,_0x3975c0)=>{const _0x3caee4=new DataTransfer();_0x3caee4['setData']('text/html',_0x3975c0['html']);const _0x14a4ee=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x55c892=>{this['_importMarker']['stopListening'](),_0x55c892['setSelection'](_0x14a4ee),_0x3880e9['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x3caee4});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3d002a,_0x1bd011={}){if(this['isBusy'])return Promise['resolve']();const _0x1dfb77=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x345e89,suffix:_0x266114}=this['editor']['config']['get']('mergeFields');_0x1bd011['merge_fields']={'prefix':_0x345e89,'suffix':_0x266114};}const _0x3f2131={'url':_0x1dfb77['converterUrl'],'file':_0x3d002a,'serviceConfig':{..._0x1bd011,'formatting':_0x1dfb77['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x3f2131)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x3e1a12=this['editor']['model'],_0x57b1b2=_0x3e1a12['schema'],_0x500386=_0x3e1a12['document']['selection'],_0x355aa9=_0x112616(_0x500386['getSelectedBlocks']());return!!_0x355aa9&&_0x57b1b2['checkChild'](_0x355aa9['parent'],'paragraph');}['_prepareForImport'](){const _0x394fcb=this['editor'],_0x13c657=_0x394fcb['model'],_0x24c48d=_0x13c657['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x394fcb['model']['createBatch']({'isUndoable':!0x0}),_0x13c657['enqueueChange'](this['_undoStepBatch'],_0x45a4b8=>{_0x24c48d['isCollapsed']||_0x13c657['deleteContent'](_0x24c48d,{'leaveUnmerged':!0x0});const _0x2b1d06=_0x24c48d['getFirstPosition'](),_0x4c184e=_0x112616(_0x24c48d['getSelectedBlocks']());let _0xc2b5ed;_0xc2b5ed=_0x4c184e['is']('element','paragraph')&&_0x4c184e['isEmpty']?_0x2b1d06:_0x2b1d06['isAtStart']?_0x13c657['createPositionBefore'](_0x4c184e):_0x2b1d06['isAtEnd']?_0x13c657['createPositionAfter'](_0x4c184e):_0x45a4b8['split'](_0x2b1d06)['position'],this['_importMarker']=_0x45a4b8['addMarker']('importWord:'+_0x2b74b0(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5c3eb0(_0xc2b5ed)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4bf8d7=this['editor']['model'];_0x4bf8d7['markers']['has'](this['_importMarker'])&&_0x4bf8d7['enqueueChange'](this['_undoStepBatch'],_0x57366c=>{_0x57366c['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x228aa4,file:_0x42e20a,serviceConfig:_0x3dc7ba}){const _0x3d492f=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x47c0e0=new FormData();_0x47c0e0['set']('config',JSON['stringify'](_0x3dc7ba)),_0x47c0e0['set']('file',_0x42e20a);const _0x29d45e={'method':'POST','headers':{},'body':_0x47c0e0,'signal':this['_abortController']['signal']};return _0x3d492f&&(_0x29d45e['headers']['Authorization']=_0x3d492f['value']),fetch(_0x228aa4,_0x29d45e);}['_handleImportResponse'](_0x1419ad){return _0x1419ad['ok']?_0x1419ad['json']()['then'](_0x4dc1ee=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x4dc1ee);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x2fe54e('import-word-plugin-import-cancelled');const _0x39057b=this['editor'],_0x14e986=p(_0x39057b['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x39057b['plugins']['get']('Notification')['showWarning'](_0x14e986),_0x174b43('import-word-plugin-conversion-failed');}}class e extends _0x149d4a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3ccf20,_0x17efab,'CloudServices'];}constructor(_0x7fd15c){super(_0x7fd15c),this['_token']=null;}async['init'](){const _0x5e93df=this['editor'];_0x5e93df['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x5e93df['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x5e93df['commands']['add']('importWord',new d(_0x5e93df));const {tokenUrl:_0x3bb74b}=_0x5e93df['config']['get']('importWord');if(_0x3bb74b){const {tokenUrl:_0x439d78}=_0x5e93df['config']['get']('cloudServices')||{};this['_token']=_0x3bb74b===_0x439d78?_0x5e93df['plugins']['get']('CloudServices')['token']:await _0x5e93df['plugins']['get']('CloudServices')['registerTokenUrl'](_0x3bb74b);}}['getToken'](){return this['_token'];}}class o extends _0x149d4a{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[e,i];}}export{o as ImportWord,e as ImportWordEditing,i as ImportWordUI};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x58a935=>0x1!=_0x58a935}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xde74b0=>{const {af:{dictionary:_0x17ae18,getPluralForm:_0x41c8f8}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f6f9d=>0x1!=_0x2f6f9d}};_0xde74b0['af']||={'dictionary':{},'getPluralForm':null},_0xde74b0['af']['dictionary']=Object['assign'](_0xde74b0['af']['dictionary'],_0x17ae18),_0xde74b0['af']['getPluralForm']=_0x41c8f8;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x4607fa=>0x0==_0x4607fa?0x0:0x1==_0x4607fa?0x1:0x2==_0x4607fa?0x2:_0x4607fa%0x64>=0x3&&_0x4607fa%0x64<=0xa?0x3:_0x4607fa%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4414c3=>{const {ar:{dictionary:_0x3a5857,getPluralForm:_0xc10afe}}={'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.','Importing\x20Word\x20document':'استيراد\x20مستند\x20Word'},'getPluralForm':_0x5a05ea=>0x0==_0x5a05ea?0x0:0x1==_0x5a05ea?0x1:0x2==_0x5a05ea?0x2:_0x5a05ea%0x64>=0x3&&_0x5a05ea%0x64<=0xa?0x3:_0x5a05ea%0x64>=0xb?0x4:0x5}};_0x4414c3['ar']||={'dictionary':{},'getPluralForm':null},_0x4414c3['ar']['dictionary']=Object['assign'](_0x4414c3['ar']['dictionary'],_0x3a5857),_0x4414c3['ar']['getPluralForm']=_0xc10afe;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x347469=>0x1!=_0x347469}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x107b99=>{const {ast:{dictionary:_0x5cf6cd,getPluralForm:_0x3af303}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1156a6=>0x1!=_0x1156a6}};_0x107b99['ast']||={'dictionary':{},'getPluralForm':null},_0x107b99['ast']['dictionary']=Object['assign'](_0x107b99['ast']['dictionary'],_0x5cf6cd),_0x107b99['ast']['getPluralForm']=_0x3af303;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x121200=>0x1!=_0x121200}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1f1f94=>{const {az:{dictionary:_0x67917a,getPluralForm:_0x23fc55}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x316559=>0x1!=_0x316559}};_0x1f1f94['az']||={'dictionary':{},'getPluralForm':null},_0x1f1f94['az']['dictionary']=Object['assign'](_0x1f1f94['az']['dictionary'],_0x67917a),_0x1f1f94['az']['getPluralForm']=_0x23fc55;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x78d20e=>0x1!=_0x78d20e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e6a27=>{const {bg:{dictionary:_0x344d51,getPluralForm:_0x394d4e}}={'bg':{'dictionary':{'Import\x20from\x20Word':'Импортиране\x20от\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Възникна\x20грешка\x20при\x20импортирането\x20на\x20Word\x20файла.','Importing\x20Word\x20document':'Въвеждане\x20на\x20документ\x20в\x20Word'},'getPluralForm':_0x879e55=>0x1!=_0x879e55}};_0x2e6a27['bg']||={'dictionary':{},'getPluralForm':null},_0x2e6a27['bg']['dictionary']=Object['assign'](_0x2e6a27['bg']['dictionary'],_0x344d51),_0x2e6a27['bg']['getPluralForm']=_0x394d4e;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x316472=>0x1!=_0x316472}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43a42e=>{const {bn:{dictionary:_0xc62faa,getPluralForm:_0x278a99}}={'bn':{'dictionary':{'Import\x20from\x20Word':'ওয়ার্ড\x20থেকে\x20ইমপোর্ট\x20করুন','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'ওয়ার্ড\x20ফাইল\x20ইমপোর্ট\x20করার\x20সময়\x20একটি\x20ত্রুটি\x20ঘটেছে।','Importing\x20Word\x20document':'ওয়ার্ড\x20ডকুমেন্ট\x20ইম্পোর্ট\x20করা\x20হচ্ছে'},'getPluralForm':_0x5b8f8e=>0x1!=_0x5b8f8e}};_0x43a42e['bn']||={'dictionary':{},'getPluralForm':null},_0x43a42e['bn']['dictionary']=Object['assign'](_0x43a42e['bn']['dictionary'],_0xc62faa),_0x43a42e['bn']['getPluralForm']=_0x278a99;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x14a9ce=>_0x14a9ce%0xa==0x1&&_0x14a9ce%0x64!=0xb?0x0:_0x14a9ce%0xa>=0x2&&_0x14a9ce%0xa<=0x4&&(_0x14a9ce%0x64<0xa||_0x14a9ce%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x39d5aa=>{const {bs:{dictionary:_0x4c350d,getPluralForm:_0x362fe9}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4dda8d=>_0x4dda8d%0xa==0x1&&_0x4dda8d%0x64!=0xb?0x0:_0x4dda8d%0xa>=0x2&&_0x4dda8d%0xa<=0x4&&(_0x4dda8d%0x64<0xa||_0x4dda8d%0x64>=0x14)?0x1:0x2}};_0x39d5aa['bs']||={'dictionary':{},'getPluralForm':null},_0x39d5aa['bs']['dictionary']=Object['assign'](_0x39d5aa['bs']['dictionary'],_0x4c350d),_0x39d5aa['bs']['getPluralForm']=_0x362fe9;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x1a94f4=>0x1!=_0x1a94f4}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x438496=>{const {ca:{dictionary:_0x4b5c13,getPluralForm:_0x59b184}}={'ca':{'dictionary':{'Import\x20from\x20Word':'Importeu\x20de\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hi\x20ha\x20hagut\x20un\x20error\x20mentre\x20s\x27importava\x20l\x27arxiu\x20de\x20Word.','Importing\x20Word\x20document':'Important\x20document\x20de\x20Word'},'getPluralForm':_0x5ce815=>0x1!=_0x5ce815}};_0x438496['ca']||={'dictionary':{},'getPluralForm':null},_0x438496['ca']['dictionary']=Object['assign'](_0x438496['ca']['dictionary'],_0x4b5c13),_0x438496['ca']['getPluralForm']=_0x59b184;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x521a91=>0x1==_0x521a91?0x0:_0x521a91>=0x2&&_0x521a91<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x565d07=>{const {cs:{dictionary:_0x2c6b5e,getPluralForm:_0xd94864}}={'cs':{'dictionary':{'Import\x20from\x20Word':'Importovat\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Při\x20importu\x20souboru\x20aplikace\x20Word\x20došlo\x20k\x20chybě.','Importing\x20Word\x20document':'Import\x20dokumentu\x20aplikace\x20Word'},'getPluralForm':_0x269294=>0x1==_0x269294?0x0:_0x269294>=0x2&&_0x269294<=0x4?0x1:0x2}};_0x565d07['cs']||={'dictionary':{},'getPluralForm':null},_0x565d07['cs']['dictionary']=Object['assign'](_0x565d07['cs']['dictionary'],_0x2c6b5e),_0x565d07['cs']['getPluralForm']=_0xd94864;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x70b231=>0x1!=_0x70b231}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5cfb5d=>{const {da:{dictionary:_0x28e210,getPluralForm:_0x194b05}}={'da':{'dictionary':{'Import\x20from\x20Word':'Importér\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Der\x20opstod\x20en\x20fejl\x20unde\x20rimporteringen\x20af\x20Word-filen.','Importing\x20Word\x20document':'Import\x20af\x20Word-dokument'},'getPluralForm':_0x3272c7=>0x1!=_0x3272c7}};_0x5cfb5d['da']||={'dictionary':{},'getPluralForm':null},_0x5cfb5d['da']['dictionary']=Object['assign'](_0x5cfb5d['da']['dictionary'],_0x28e210),_0x5cfb5d['da']['getPluralForm']=_0x194b05;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2614bc=>0x1!=_0x2614bc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41c363=>{const {'de-ch':{dictionary:_0x5ac2db,getPluralForm:_0x1d2633}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2f4454=>0x1!=_0x2f4454}};_0x41c363['de-ch']||={'dictionary':{},'getPluralForm':null},_0x41c363['de-ch']['dictionary']=Object['assign'](_0x41c363['de-ch']['dictionary'],_0x5ac2db),_0x41c363['de-ch']['getPluralForm']=_0x1d2633;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x5bd2ca=>0x1!=_0x5bd2ca}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e0bd3=>{const {de:{dictionary:_0x3b970c,getPluralForm:_0xd53b42}}={'de':{'dictionary':{'Import\x20from\x20Word':'Aus\x20Word\x20importieren','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Beim\x20Importieren\x20der\x20Word-Datei\x20ist\x20ein\x20Fehler\x20aufgetreten.','Importing\x20Word\x20document':'Word-Dokument\x20importieren'},'getPluralForm':_0x1743c1=>0x1!=_0x1743c1}};_0x2e0bd3['de']||={'dictionary':{},'getPluralForm':null},_0x2e0bd3['de']['dictionary']=Object['assign'](_0x2e0bd3['de']['dictionary'],_0x3b970c),_0x2e0bd3['de']['getPluralForm']=_0xd53b42;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x17e989=>0x1!=_0x17e989}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x301ab2=>{const {el:{dictionary:_0x47d0b1,getPluralForm:_0x35a9ba}}={'el':{'dictionary':{'Import\x20from\x20Word':'Εισαγωγή\x20από\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Παρουσιάστηκε\x20σφάλμα\x20κατά\x20την\x20εισαγωγή\x20του\x20αρχείου\x20Word.','Importing\x20Word\x20document':'Εισαγωγή\x20εγγράφου\x20Κειμένου'},'getPluralForm':_0x10414b=>0x1!=_0x10414b}};_0x301ab2['el']||={'dictionary':{},'getPluralForm':null},_0x301ab2['el']['dictionary']=Object['assign'](_0x301ab2['el']['dictionary'],_0x47d0b1),_0x301ab2['el']['getPluralForm']=_0x35a9ba;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x2476a2=>0x1!=_0x2476a2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12f66d=>{const {'en-au':{dictionary:_0x3a765a,getPluralForm:_0x126bd0}}={'en-au':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':''},'getPluralForm':_0x20c651=>0x1!=_0x20c651}};_0x12f66d['en-au']||={'dictionary':{},'getPluralForm':null},_0x12f66d['en-au']['dictionary']=Object['assign'](_0x12f66d['en-au']['dictionary'],_0x3a765a),_0x12f66d['en-au']['getPluralForm']=_0x126bd0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x40bedb=>0x1!=_0x40bedb}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d4f99=>{const {'en-gb':{dictionary:_0x3fda18,getPluralForm:_0x1aba64}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x39965d=>0x1!=_0x39965d}};_0x1d4f99['en-gb']||={'dictionary':{},'getPluralForm':null},_0x1d4f99['en-gb']['dictionary']=Object['assign'](_0x1d4f99['en-gb']['dictionary'],_0x3fda18),_0x1d4f99['en-gb']['getPluralForm']=_0x1aba64;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/en.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':
|
|
23
|
+
export default{'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':_0x1d6ea5=>0x1!=_0x1d6ea5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d9f2a=>{const {en:{dictionary:_0x2f1666,getPluralForm:_0x4e3451}}={'en':{'dictionary':{'Import\x20from\x20Word':'Import\x20from\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','Importing\x20Word\x20document':'Importing\x20Word\x20document'},'getPluralForm':_0x1a536b=>0x1!=_0x1a536b}};_0x2d9f2a['en']||={'dictionary':{},'getPluralForm':null},_0x2d9f2a['en']['dictionary']=Object['assign'](_0x2d9f2a['en']['dictionary'],_0x2f1666),_0x2d9f2a['en']['getPluralForm']=_0x4e3451;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x56272e=>0x1!=_0x56272e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5179e7=>{const {eo:{dictionary:_0xe88720,getPluralForm:_0x21bcc0}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x97a19d=>0x1!=_0x97a19d}};_0x5179e7['eo']||={'dictionary':{},'getPluralForm':null},_0x5179e7['eo']['dictionary']=Object['assign'](_0x5179e7['eo']['dictionary'],_0xe88720),_0x5179e7['eo']['getPluralForm']=_0x21bcc0;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x208704=>0x1!=_0x208704}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x204692=>{const {'es-co':{dictionary:_0x29a420,getPluralForm:_0x828bfc}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x386c1d=>0x1!=_0x386c1d}};_0x204692['es-co']||={'dictionary':{},'getPluralForm':null},_0x204692['es-co']['dictionary']=Object['assign'](_0x204692['es-co']['dictionary'],_0x29a420),_0x204692['es-co']['getPluralForm']=_0x828bfc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/es.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x653ba=>0x1!=_0x653ba}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3fd00a=>{const {es:{dictionary:_0x33a0b2,getPluralForm:_0x55196f}}={'es':{'dictionary':{'Import\x20from\x20Word':'Importar\x20desde\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Se\x20ha\x20producido\x20un\x20error\x20al\x20importar\x20el\x20archivo\x20de\x20Word.','Importing\x20Word\x20document':'Importando\x20documento\x20de\x20Word'},'getPluralForm':_0x2ead2e=>0x1!=_0x2ead2e}};_0x3fd00a['es']||={'dictionary':{},'getPluralForm':null},_0x3fd00a['es']['dictionary']=Object['assign'](_0x3fd00a['es']['dictionary'],_0x33a0b2),_0x3fd00a['es']['getPluralForm']=_0x55196f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/et.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':
|
|
23
|
+
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x9a42df=>0x1!=_0x9a42df}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x28827a=>{const {et:{dictionary:_0x39ae2e,getPluralForm:_0x5b1971}}={'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.','Importing\x20Word\x20document':'Word\x20dokumendi\x20importimine'},'getPluralForm':_0x284d85=>0x1!=_0x284d85}};_0x28827a['et']||={'dictionary':{},'getPluralForm':null},_0x28827a['et']['dictionary']=Object['assign'](_0x28827a['et']['dictionary'],_0x39ae2e),_0x28827a['et']['getPluralForm']=_0x5b1971;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/eu.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x3eac03=>0x1!=_0x3eac03}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c44b3=>{const {eu:{dictionary:_0x34a55a,getPluralForm:_0x4a92c6}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5ce912=>0x1!=_0x5ce912}};_0x5c44b3['eu']||={'dictionary':{},'getPluralForm':null},_0x5c44b3['eu']['dictionary']=Object['assign'](_0x5c44b3['eu']['dictionary'],_0x34a55a),_0x5c44b3['eu']['getPluralForm']=_0x4a92c6;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/fa.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':
|
|
23
|
+
export default{'fa':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x292eec=>0x0}};
|