@ckeditor/ckeditor5-import-word 43.3.1 → 44.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -6
- package/build/import-word.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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
|
@@ -9,6 +9,18 @@ When enabled, this feature sends the selected Word file to the CKEditor Cloud Se
|
|
|
9
9
|
|
|
10
10
|
This is a premium feature. Please [contact us](https://ckeditor.com/contact/) if you would like to purchase a license. Let us know if you have any feedback or questions!
|
|
11
11
|
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
This plugin is part of the `ckeditor5-premium-features` package. Install the whole package to use it.
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install ckeditor5-premium-features
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Create free account
|
|
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/signup).
|
|
23
|
+
|
|
12
24
|
## Demo
|
|
13
25
|
|
|
14
26
|
Check out the [demo in the import from Word feature](https://ckeditor.com/docs/ckeditor5/latest/features/converters/import-word/import-word/import-word.html#demo) guide.
|
|
@@ -17,12 +29,6 @@ Check out the [demo in the import from Word feature](https://ckeditor.com/docs/c
|
|
|
17
29
|
|
|
18
30
|
See the [`@ckeditor/ckeditor5-import-word` package](https://ckeditor.com/docs/ckeditor5/latest/api/import-word.html) page in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/) as well as the [import from Word](https://ckeditor.com/docs/ckeditor5/latest/features/converters/import-word/import-word/import-word.html) feature guide.
|
|
19
31
|
|
|
20
|
-
## Installation
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
npm install ckeditor5-premium-features
|
|
24
|
-
```
|
|
25
|
-
|
|
26
32
|
## Getting support
|
|
27
33
|
|
|
28
34
|
CKEditor 5 import from Word feature comes with outstanding support from a dedicated team of customer care specialists, QA engineers and CKEditor 5 developers. The team will gladly assist you in all aspects from setting up your account to integrating CKEditor 5 import from Word feature with your application.
|
package/build/import-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={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:()=>x,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}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=429]})(t,r)}function a(){const t=["826500QzzBti","focus","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","273704cmgFaB","5650cFSwRG","_createButton","1097634IiWMZT","commands","4869018JwzeaT","iconView","Importing Word document","editing","1514723UtqZZc","Import from Word","menuBar:importWord","isPremiumPlugin","40NeMyiN","isBusy","importWord","view","bind","isOfficialPlugin","27lCXFfX","label","1855128FlgWXx","done","1SCfVIY","tooltip","isOn","locale","init","children","execute","componentFactory","isEnabled","isVisible","pluginName","editor","add","set","get","ImportWordUI","1312irByYN"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(443559===parseInt(r(458))/1*(-parseInt(r(435))/2)+parseInt(r(432))/3+-parseInt(r(431))/4*(parseInt(r(436))/5)+-parseInt(r(438))/6+-parseInt(r(444))/7+parseInt(r(456))/8*(-parseInt(r(454))/9)+parseInt(r(448))/10*(parseInt(r(440))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(468)](){return o(430)}static get[o(453)](){return!0}static get[o(447)](){return!0}[o(462)](){const t=o,e=this[t(469)];e.ui[t(465)][t(470)](t(450),(()=>{const n=t,i=this[n(437)](r.FileDialogButtonView),o=e[n(439)][n(429)](n(450));return i[n(452)](n(460)).to(o,n(449)),i[n(459)]=!0,i})),e.ui[t(465)][t(470)](t(446),(()=>this[t(437)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(437)](t){const e=o,n=this[e(469)],s=n[e(439)][e(429)](e(450)),a=new t(n[e(461)]),c=new r.SpinnerView;return a[e(471)]({acceptedType:e(434)}),a[e(471)]({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[e(452)](e(466)).to(s),a[e(452)](e(455)).to(s,e(449),(t=>i(n[e(461)],e(t?442:445)))),c[e(452)](e(467)).to(s,e(449)),a[e(441)][e(452)](e(467)).to(s,e(449),(t=>!t)),a[e(463)][e(470)](c),a.on(e(457),((t,r)=>{const i=e;n[i(464)](i(450),r[0],{}),n[i(443)][i(451)][i(433)]()})),a}}var p=e(331),u=e(783),l=e(584);function h(t,r){const e=f();return(h=function(t,r){return e[t-=186]})(t,r)}const d=h;function f(){const t=["isBusy","ImportWordEditing","resolve","bind","plugins","then","formatting","showWarning","file","setSelection","split","deleteContent","editor","element","removeMarker","MergeFields","_handleImportResponse","catch","createBatch","paragraph","checkChild","editing","low","selection","position","importWord:","model","Authorization","57765fcUJMw","_abortController","_cleanUpAfterImport","_checkEnabled","document","5MvjVHV","createPositionAfter","$graveyard","10800AebJVL","headers","clipboardInput","16OLJRGi","signal","abort","631694QoldAp","execute","text/html","isAtEnd","mergeFields","_handleImportFailure","setData","POST","getToken","json","fire","set","_importMarker","20880ACOXLt","has","resolvedOptions","html","18720CkSDER","Notification","reject","isEnabled","DateTimeFormat","finally","get","createPositionBefore","2967309HUAmAS","_undoStepBatch","71cyTxHJ","_prepareForImport","An error occurred while importing the Word file.","value","isCollapsed","getSelectedBlocks","view","_sendImportRequest","2826384IDqDoG","stopListening","6UrerMP","importWord","aborted","locale","merge_fields","import-word-plugin-conversion-failed","12280ECJFDh","timeZone","rootName","getFirstPosition","change:range","refresh","dataInsert","3223odzJAC","addMarker","config","converterUrl","markers","parent","root","getRange","import-word-plugin-import-cancelled","schema","enqueueChange","isAtStart","isEmpty","stringify"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(355339===parseInt(r(237))/1*(-parseInt(r(253))/2)+parseInt(r(196))/3+parseInt(r(245))/4*(parseInt(r(201))/5)+-parseInt(r(247))/6*(-parseInt(r(210))/7)+-parseInt(r(207))/8*(-parseInt(r(235))/9)+parseInt(r(223))/10*(parseInt(r(260))/11)+parseInt(r(204))/12*(-parseInt(r(227))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(f);class m extends t.Command{constructor(t){const r=h;super(t),this[r(221)](r(274),!1),this[r(222)]=null,this[r(236)]=null,this[r(197)]=null,this.on(r(259),((e,n)=>{const i=r,o=new DataTransfer;o[i(216)](i(212),n[i(226)]);const s=this[i(222)][i(267)]();this[i(286)][i(194)][i(270)](this[i(236)],(r=>{const e=i;this[e(222)][e(246)](),r[e(283)](s),t[e(189)][e(243)][e(200)][e(220)](e(206),{dataTransfer:o})}))}),{priority:r(190)})}[d(258)](){const t=d;this[t(230)]=this[t(199)]()}[d(211)](t,r={}){const e=d;if(this[e(274)])return Promise[e(276)]();const n=this[e(286)][e(262)][e(233)](e(248));if(this[e(286)][e(278)][e(224)](e(289))){const{prefix:t,suffix:n}=this[e(286)][e(262)][e(233)](e(214));r[e(251)]={prefix:t,suffix:n}}const i={url:n[e(263)],file:t,serviceConfig:{...r,formatting:n[e(280)],timezone:(new(Intl[e(231)]))[e(225)]()[e(254)]}};return this[e(238)](),this[e(244)](i)[e(279)](this[e(290)][e(277)](this))[e(291)](this[e(215)][e(277)](this))[e(232)](this[e(198)][e(277)](this))}[d(199)](){const t=d;if(this[t(274)])return!1;const r=this[t(286)][t(194)],e=r[t(269)],n=r[t(200)][t(191)],i=(0,l.first)(n[t(242)]());return!!i&&e[t(188)](i[t(265)],t(187))}[d(238)](){const t=d,r=this[t(286)],e=r[t(194)],n=e[t(200)][t(191)];this[t(197)]=new AbortController,this[t(236)]=r[t(194)][t(186)]({isUndoable:!0}),e[t(270)](this[t(236)],(r=>{const i=t;n[i(241)]||e[i(285)](n,{leaveUnmerged:!0});const o=n[i(256)](),s=(0,l.first)(n[i(242)]());let a;a=s.is(i(287),i(187))&&s[i(272)]?o:o[i(271)]?e[i(234)](s):o[i(213)]?e[i(202)](s):r[i(284)](o)[i(192)],this[i(222)]=r[i(261)](i(193)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new u.Range(a)}),this[i(222)].on(i(257),(()=>{const t=i;t(203)===this[t(222)][t(267)]()[t(266)][t(255)]&&this[t(197)][t(209)]()}))})),this[t(274)]=!0,this[t(258)]()}[d(198)](){const t=d,r=this[t(286)][t(194)];r[t(264)][t(224)](this[t(222)])&&r[t(270)](this[t(236)],(r=>{const e=t;r[e(288)](this[e(222)])})),this[t(222)]=null,this[t(236)]=null,this[t(197)]=null,this[t(274)]=!1,this[t(258)]()}[d(244)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(286)][n(278)][n(233)](n(275))[n(218)](),o=new FormData;o[n(221)](n(262),JSON[n(273)](e)),o[n(221)](n(282),r);const s={method:n(217),headers:{},body:o,signal:this[n(197)][n(208)]};return i&&(s[n(205)][n(195)]=i[n(240)]),fetch(t,s)}[d(290)](t){const r=d;return t.ok?t[r(219)]()[r(279)]((t=>{const e=r;this[e(286)][e(194)][e(264)][e(224)](this[e(222)])&&e(203)!==this[e(222)][e(267)]()[e(266)][e(255)]&&this[e(220)](e(259),t)})):Promise[r(229)]()}[d(215)](){const t=d;if(this[t(197)][t(208)][t(249)])return void(0,l.logWarning)(t(268));const r=this[t(286)],e=i(r[t(250)],t(239));r[t(278)][t(233)](t(228))[t(281)](e),(0,l.logError)(t(252))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=461]})(t,r)}function v(){const t=["10073714qhnhAG","requires","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","64112pcTyxN","255332kNkAWN","88TSTnCh","2270RyTkEr","init","cloudServices","editor","token","inline","isOfficialPlugin","65wTdEbw","tokenUrl","pluginName","CloudServices","importWord","get","63327OXFErZ","plugins","726ubdmAq","registerTokenUrl","commands","getToken","_token","130869KqMKhA","config","isPremiumPlugin","3042082ukIHgm","define","624aqOuix","none","add"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(772924===parseInt(r(489))/1+-parseInt(r(480))/2+-parseInt(r(470))/3*(parseInt(r(491))/4)+parseInt(r(464))/5*(-parseInt(r(472))/6)+-parseInt(r(485))/7+-parseInt(r(482))/8*(parseInt(r(477))/9)+-parseInt(r(492))/10*(-parseInt(r(490))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(466)](){return g(488)}static get[g(463)](){return!0}static get[g(479)](){return!0}static get[g(486)](){const t=g;return[r.Notification,p.ClipboardPipeline,t(467)]}constructor(t){const r=g;super(t),this[r(476)]=null}async[g(493)](){const t=g,r=this[t(495)];r[t(478)][t(481)](t(468),{converterUrl:t(487),tokenUrl:(r[t(478)][t(469)](t(494))||{})[t(465)],formatting:{resets:t(483),defaults:t(483),styles:t(462)}}),r[t(474)][t(484)](t(468),new m(r));const{tokenUrl:e}=r[t(478)][t(469)](t(468));if(e){const{tokenUrl:n}=r[t(478)][t(469)](t(494))||{};this[t(476)]=e===n?r[t(471)][t(469)](t(467))[t(461)]:await r[t(471)][t(469)](t(467))[t(473)](e)}}[g(475)](){return this[g(476)]}}function y(){var t=["288942gFVwoO","isOfficialPlugin","pluginName","ImportWord","8QByUli","5mZlvfa","requires","isPremiumPlugin","34033910hPAvcv","4012176LlInhk","8kjqBYx","1687068HEcQXF","5582934wNpnwE","606603lkkXzw","455680CshRCl"];return(y=function(){return t})()}var k=b;function b(t,r){var e=y();return(b=function(t,r){return e[t-=326]})(t,r)}!function(t){for(var r=b,e=t();;)try{if(458124===-parseInt(r(336))/1+-parseInt(r(333))/2+-parseInt(r(335))/3*(parseInt(r(326))/4)+parseInt(r(327))/5*(-parseInt(r(337))/6)+-parseInt(r(331))/7+parseInt(r(332))/8*(-parseInt(r(334))/9)+parseInt(r(330))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class x extends t.Plugin{static get[k(339)](){return k(340)}static get[k(338)](){return!0}static get[k(329)](){return!0}static get[k(328)](){return[w,c]}}function W(){var t=["852nCwmTZ","7607724EMBuiy","1zYGmkZ","14492TcsoDn","2291316BJxKjf","984Dpjpht","7966990VovREK","9946002TkBReo","9uSUikx","1276234IhAccG","39hTjOqb","26446RrpNLy","5QcHjfU"];return(W=function(){return t})()}function A(t,r){var e=W();return(A=function(t,r){return e[t-=430]})(t,r)}!function(t){for(var r=A,e=t();;)try{if(557053===parseInt(r(431))/1*(parseInt(r(438))/2)+parseInt(r(442))/3*(-parseInt(r(432))/4)+parseInt(r(441))/5*(-parseInt(r(433))/6)+parseInt(r(440))/7*(-parseInt(r(434))/8)+-parseInt(r(437))/9*(-parseInt(r(435))/10)+-parseInt(r(436))/11+-parseInt(r(430))/12*(-parseInt(r(439))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(W)})(),(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}}const o=s;function s(t,r){const e=a();return(s=function(t,r){return e[t-=188]})(t,r)}function a(){const t=["isEnabled","editing","pluginName","label","set","13sTaxFF","locale","add","168QNMxmc","_createButton","editor","view","647916WMTFhX","isBusy","done","commands","168252KKtwvB","focus","2020OLrWIs","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","iconView","Import from Word","children","bind","285538LWFLvd","3eVQinO","init","isOfficialPlugin","Importing Word document","componentFactory","execute","695ubkMFv","menuBar:importWord","13977uCPFAr","ImportWordUI","isVisible","147496SwsePn","importWord","isOn","4kHsAZw","tooltip","get","isPremiumPlugin","15094308qfwDlk","5586IEKAJx"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(223689===-parseInt(r(212))/1*(parseInt(r(190))/2)+parseInt(r(221))/3*(parseInt(r(208))/4)+parseInt(r(227))/5*(-parseInt(r(195))/6)+parseInt(r(204))/7*(-parseInt(r(232))/8)+-parseInt(r(229))/9*(parseInt(r(214))/10)+parseInt(r(220))/11+-parseInt(r(194))/12*(-parseInt(r(201))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(198)](){return o(230)}static get[o(223)](){return!0}static get[o(193)](){return!0}[o(222)](){const t=o,e=this[t(206)];e.ui[t(225)][t(203)](t(188),(()=>{const n=t,i=this[n(205)](r.FileDialogButtonView),o=e[n(211)][n(192)](n(188));return i[n(219)](n(189)).to(o,n(209)),i[n(191)]=!0,i})),e.ui[t(225)][t(203)](t(228),(()=>this[t(205)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(205)](t){const e=o,n=this[e(206)],s=n[e(211)][e(192)](e(188)),a=new t(n[e(202)]),c=new r.SpinnerView;return a[e(200)]({acceptedType:e(215)}),a[e(200)]({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[e(219)](e(196)).to(s),a[e(219)](e(199)).to(s,e(209),(t=>i(n[e(202)],e(t?224:217)))),c[e(219)](e(231)).to(s,e(209)),a[e(216)][e(219)](e(231)).to(s,e(209),(t=>!t)),a[e(218)][e(203)](c),a.on(e(210),((t,r)=>{const i=e;n[i(226)](i(188),r[0],{}),n[i(197)][i(207)][i(213)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=m();return(h=function(t,r){return e[t-=106]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(713591===-parseInt(r(182))/1+parseInt(r(124))/2+-parseInt(r(197))/3+-parseInt(r(113))/4*(-parseInt(r(155))/5)+parseInt(r(195))/6*(parseInt(r(208))/7)+parseInt(r(173))/8+-parseInt(r(152))/9*(parseInt(r(115))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(m);class f extends t.Command{constructor(t){const r=h;super(t),this[r(116)](r(185),!1),this[r(202)]=null,this[r(201)]=null,this[r(172)]=null,this.on(r(141),((e,n)=>{const i=r,o=new DataTransfer;o[i(118)](i(200),n[i(170)]);const s=this[i(202)][i(119)]();this[i(203)][i(106)][i(193)](this[i(201)],(r=>{const e=i;this[e(202)][e(175)](),r[e(168)](s),t[e(177)][e(112)][e(207)][e(121)](e(154),{dataTransfer:o})}))}),{priority:r(157)})}[d(161)](){const t=d;this[t(187)]=this[t(142)]()}[d(180)](t,r={}){const e=d;if(this[e(185)])return Promise[e(190)]();const n=this[e(203)][e(146)][e(131)](e(126));if(this[e(203)][e(204)][e(166)](e(125))){const{prefix:t,suffix:n}=this[e(203)][e(146)][e(131)](e(148));r[e(109)]={prefix:t,suffix:n}}const i={url:n[e(147)],file:t,serviceConfig:{...r,formatting:n[e(139)],timezone:(new(Intl[e(135)]))[e(127)]()[e(198)]}};return this[e(179)](),this[e(151)](i)[e(156)](this[e(184)][e(178)](this))[e(129)](this[e(194)][e(178)](this))[e(130)](this[e(171)][e(178)](this))}[d(142)](){const t=d;if(this[t(185)])return!1;const r=this[t(203)][t(106)],e=r[t(114)],n=r[t(207)][t(117)],i=(0,l.first)(n[t(133)]());return!!i&&e[t(176)](i[t(122)],t(128))}[d(179)](){const t=d,r=this[t(203)],e=r[t(106)],n=e[t(207)][t(117)];this[t(172)]=new AbortController,this[t(201)]=r[t(106)][t(143)]({isUndoable:!0}),e[t(193)](this[t(201)],(r=>{const i=t;n[i(189)]||e[i(107)](n,{leaveUnmerged:!0});const o=n[i(167)](),s=(0,l.first)(n[i(133)]());let a;a=s.is(i(158),i(128))&&s[i(199)]?o:o[i(183)]?e[i(159)](s):o[i(206)]?e[i(164)](s):r[i(191)](o)[i(138)],this[i(202)]=r[i(153)](i(145)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(202)].on(i(186),(()=>{const t=i;t(188)===this[t(202)][t(119)]()[t(160)][t(174)]&&this[t(172)][t(136)]()}))})),this[t(185)]=!0,this[t(161)]()}[d(171)](){const t=d,r=this[t(203)][t(106)];r[t(110)][t(166)](this[t(202)])&&r[t(193)](this[t(201)],(r=>{const e=t;r[e(132)](this[e(202)])})),this[t(202)]=null,this[t(201)]=null,this[t(172)]=null,this[t(185)]=!1,this[t(161)]()}[d(151)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(203)][n(204)][n(131)](n(111))[n(192)](),o=new FormData;o[n(116)](n(146),JSON[n(150)](e)),o[n(116)](n(205),r);const s={method:n(123),headers:{},body:o,signal:this[n(172)][n(140)]};return i&&(s[n(137)][n(108)]=i[n(165)]),fetch(t,s)}[d(184)](t){const r=d;return t.ok?t[r(120)]()[r(156)]((t=>{const e=r;this[e(203)][e(106)][e(110)][e(166)](this[e(202)])&&e(188)!==this[e(202)][e(119)]()[e(160)][e(174)]&&this[e(121)](e(141),t)})):Promise[r(163)]()}[d(194)](){const t=d;if(this[t(172)][t(140)][t(169)])return void(0,l.logWarning)(t(196));const r=this[t(203)],e=i(r[t(181)],t(162));r[t(204)][t(131)](t(144))[t(134)](e),(0,l.logError)(t(149))}}function m(){const t=["config","converterUrl","mergeFields","import-word-plugin-conversion-failed","stringify","_sendImportRequest","12704463LwyRsK","addMarker","clipboardInput","5KRkCNr","then","low","element","createPositionBefore","root","refresh","An error occurred while importing the Word file.","reject","createPositionAfter","value","has","getFirstPosition","setSelection","aborted","html","_cleanUpAfterImport","_abortController","9102528yrHnVY","rootName","stopListening","checkChild","editing","bind","_prepareForImport","execute","locale","487572QvFFlv","isAtStart","_handleImportResponse","isBusy","change:range","isEnabled","$graveyard","isCollapsed","resolve","split","getToken","enqueueChange","_handleImportFailure","6zFxzyf","import-word-plugin-import-cancelled","753981EhsHpI","timeZone","isEmpty","text/html","_undoStepBatch","_importMarker","editor","plugins","file","isAtEnd","document","8610406IjBkFN","model","deleteContent","Authorization","merge_fields","markers","ImportWordEditing","view","358548Ohjymw","schema","10xZmAAm","set","selection","setData","getRange","json","fire","parent","POST","813172ifliCz","MergeFields","importWord","resolvedOptions","paragraph","catch","finally","get","removeMarker","getSelectedBlocks","showWarning","DateTimeFormat","abort","headers","position","formatting","signal","dataInsert","_checkEnabled","createBatch","Notification","importWord:"];return(m=function(){return t})()}const g=v;function I(){const t=["_token","cloudServices","getToken","config","isOfficialPlugin","CloudServices","508jCLUrG","token","init","registerTokenUrl","requires","tokenUrl","7xABEEi","1278427GCiKor","2994285xRHntu","2205344zmpVPJ","37175OdBGpv","commands","ImportWordEditing","4762650FdJume","596820SRseTX","pluginName","https://docx-converter.cke-cs.com/v2/convert/docx-html","add","plugins","get","inline","isPremiumPlugin","6000471IhIUAI","define","importWord","none","editor"];return(I=function(){return t})()}function v(t,r){const e=I();return(v=function(t,r){return e[t-=144]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(702295===-parseInt(r(163))/1+parseInt(r(170))/2+-parseInt(r(164))/3+parseInt(r(156))/4*(parseInt(r(166))/5)+parseInt(r(169))/6+-parseInt(r(162))/7*(-parseInt(r(165))/8)+parseInt(r(145))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(I);class w extends t.Plugin{static get[g(171)](){return g(168)}static get[g(154)](){return!0}static get[g(144)](){return!0}static get[g(160)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(155)]}constructor(t){const r=g;super(t),this[r(150)]=null}async[g(158)](){const t=g,r=this[t(149)];r[t(153)][t(146)](t(147),{converterUrl:t(172),tokenUrl:(r[t(153)][t(175)](t(151))||{})[t(161)],formatting:{resets:t(148),defaults:t(148),styles:t(176)}}),r[t(167)][t(173)](t(147),new f(r));const{tokenUrl:e}=r[t(153)][t(175)](t(147));if(e){const{tokenUrl:n}=r[t(153)][t(175)](t(151))||{};this[t(150)]=e===n?r[t(174)][t(175)](t(155))[t(157)]:await r[t(174)][t(175)](t(155))[t(159)](e)}}[g(152)](){return this[g(150)]}}function y(t,r){var e=b();return(y=function(t,r){return e[t-=244]})(t,r)}var x=y;function b(){var t=["pluginName","ImportWord","isPremiumPlugin","23235xUkfsR","requires","143532AXKAKe","157746lShwoj","419740zOZRDN","1852662XBzPUy","246DnSCUI","186672KOFocQ","2260408shgFru","isOfficialPlugin"];return(b=function(){return t})()}!function(t){for(var r=y,e=t();;)try{if(160380===parseInt(r(244))/1+parseInt(r(245))/2+parseInt(r(256))/3+-parseInt(r(248))/4+parseInt(r(254))/5*(-parseInt(r(247))/6)+parseInt(r(246))/7+-parseInt(r(249))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class W extends t.Plugin{static get[x(251)](){return x(252)}static get[x(250)](){return!0}static get[x(253)](){return!0}static get[x(255)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=220]})(t,r)}function P(){var t=["7866657VyiKII","3wvHhLM","266420fLHZiP","6gtibRs","2985725MMFdDH","10619847quIzfQ","1917060MZsivq","490yEpbJs","8uYXnqm","1190020SQOsDb","538540yKszDD"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(774752===-parseInt(r(225))/1+parseInt(r(222))/2+-parseInt(r(228))/3*(parseInt(r(226))/4)+parseInt(r(220))/5*(parseInt(r(230))/6)+-parseInt(r(221))/7+-parseInt(r(224))/8*(-parseInt(r(227))/9)+-parseInt(r(223))/10*(-parseInt(r(229))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(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 _0x32c066,Command as _0x12a85}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x49dd15,MenuBarMenuListItemFileDialogButtonView as _0x36d935,SpinnerView as _0x305495,Notification as _0x4cb09a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x29019d}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x5a6cf4}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x2a9626,uid as _0x1ea32b,logWarning as _0x138698,logError as _0x568c96}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x36132c,_0x4a30f1){const t=_0x36132c['t'];switch(_0x4a30f1){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 _0x4a30f1;}}class i extends _0x32c066{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1d07cb=this['editor'];_0x1d07cb['ui']['componentFactory']['add']('importWord',()=>{const _0x52424b=this['_createButton'](_0x49dd15),_0x1e1243=_0x1d07cb['commands']['get']('importWord');return _0x52424b['bind']('isOn')['to'](_0x1e1243,'isBusy'),_0x52424b['tooltip']=!0x0,_0x52424b;}),_0x1d07cb['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x36d935));}['_createButton'](_0x12f133){const _0x5c2f59=this['editor'],_0x5de8c9=_0x5c2f59['commands']['get']('importWord'),_0x532474=new _0x12f133(_0x5c2f59['locale']),_0x20d3e0=new _0x305495();return _0x532474['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x532474['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'}),_0x532474['bind']('isEnabled')['to'](_0x5de8c9),_0x532474['bind']('label')['to'](_0x5de8c9,'isBusy',_0x3acb85=>p(_0x5c2f59['locale'],_0x3acb85?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x20d3e0['bind']('isVisible')['to'](_0x5de8c9,'isBusy'),_0x532474['iconView']['bind']('isVisible')['to'](_0x5de8c9,'isBusy',_0x17145c=>!_0x17145c),_0x532474['children']['add'](_0x20d3e0),_0x532474['on']('done',(_0x98b22,_0x27d201)=>{_0x5c2f59['execute']('importWord',_0x27d201[0x0],{}),_0x5c2f59['editing']['view']['focus']();}),_0x532474;}}class d extends _0x12a85{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x350792){super(_0x350792),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x2b4c27,_0x44eab7)=>{const _0x225fad=new DataTransfer();_0x225fad['setData']('text/html',_0x44eab7['html']);const _0x1e2f61=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x368acd=>{this['_importMarker']['stopListening'](),_0x368acd['setSelection'](_0x1e2f61),_0x350792['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x225fad});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1f6672,_0x3f6aa9={}){if(this['isBusy'])return Promise['resolve']();const _0x451b8d=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0xfdcd64,suffix:_0x1a6d4e}=this['editor']['config']['get']('mergeFields');_0x3f6aa9['merge_fields']={'prefix':_0xfdcd64,'suffix':_0x1a6d4e};}const _0x546cb1={'url':_0x451b8d['converterUrl'],'file':_0x1f6672,'serviceConfig':{..._0x3f6aa9,'formatting':_0x451b8d['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x546cb1)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x5c2524=this['editor']['model'],_0x51770f=_0x5c2524['schema'],_0x467606=_0x5c2524['document']['selection'],_0x3fe4c3=_0x2a9626(_0x467606['getSelectedBlocks']());return!!_0x3fe4c3&&_0x51770f['checkChild'](_0x3fe4c3['parent'],'paragraph');}['_prepareForImport'](){const _0x53e5cf=this['editor'],_0x2657df=_0x53e5cf['model'],_0x3a1a5e=_0x2657df['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x53e5cf['model']['createBatch']({'isUndoable':!0x0}),_0x2657df['enqueueChange'](this['_undoStepBatch'],_0x4d4e25=>{_0x3a1a5e['isCollapsed']||_0x2657df['deleteContent'](_0x3a1a5e,{'leaveUnmerged':!0x0});const _0x5a4543=_0x3a1a5e['getFirstPosition'](),_0x40a426=_0x2a9626(_0x3a1a5e['getSelectedBlocks']());let _0x11aa84;_0x11aa84=_0x40a426['is']('element','paragraph')&&_0x40a426['isEmpty']?_0x5a4543:_0x5a4543['isAtStart']?_0x2657df['createPositionBefore'](_0x40a426):_0x5a4543['isAtEnd']?_0x2657df['createPositionAfter'](_0x40a426):_0x4d4e25['split'](_0x5a4543)['position'],this['_importMarker']=_0x4d4e25['addMarker']('importWord:'+_0x1ea32b(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5a6cf4(_0x11aa84)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x3d544e=this['editor']['model'];_0x3d544e['markers']['has'](this['_importMarker'])&&_0x3d544e['enqueueChange'](this['_undoStepBatch'],_0x1dde9e=>{_0x1dde9e['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x2d931c,file:_0x1a3ea8,serviceConfig:_0x15d3bd}){const _0x4fc3d0=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x4fca50=new FormData();_0x4fca50['set']('config',JSON['stringify'](_0x15d3bd)),_0x4fca50['set']('file',_0x1a3ea8);const _0x4f6be1={'method':'POST','headers':{},'body':_0x4fca50,'signal':this['_abortController']['signal']};return _0x4fc3d0&&(_0x4f6be1['headers']['Authorization']=_0x4fc3d0['value']),fetch(_0x2d931c,_0x4f6be1);}['_handleImportResponse'](_0x49e723){return _0x49e723['ok']?_0x49e723['json']()['then'](_0x90a088=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x90a088);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x138698('import-word-plugin-import-cancelled');const _0x581256=this['editor'],_0x48b635=p(_0x581256['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x581256['plugins']['get']('Notification')['showWarning'](_0x48b635),_0x568c96('import-word-plugin-conversion-failed');}}class e extends _0x32c066{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4cb09a,_0x29019d,'CloudServices'];}constructor(_0x16bac2){super(_0x16bac2),this['_token']=null;}async['init'](){const _0x336f38=this['editor'];_0x336f38['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x336f38['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x336f38['commands']['add']('importWord',new d(_0x336f38));const {tokenUrl:_0x1ac760}=_0x336f38['config']['get']('importWord');if(_0x1ac760){const {tokenUrl:_0x5be70d}=_0x336f38['config']['get']('cloudServices')||{};this['_token']=_0x1ac760===_0x5be70d?_0x336f38['plugins']['get']('CloudServices')['token']:await _0x336f38['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1ac760);}}['getToken'](){return this['_token'];}}class o extends _0x32c066{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':_0x13549a=>0x1!=_0x13549a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29dd8e=>{const {af:{dictionary:_0x592821,getPluralForm:_0x4bd23e}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x664eea=>0x1!=_0x664eea}};_0x29dd8e['af']||={'dictionary':{},'getPluralForm':null},_0x29dd8e['af']['dictionary']=Object['assign'](_0x29dd8e['af']['dictionary'],_0x592821),_0x29dd8e['af']['getPluralForm']=_0x4bd23e;})(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':_0x49967b=>0x0==_0x49967b?0x0:0x1==_0x49967b?0x1:0x2==_0x49967b?0x2:_0x49967b%0x64>=0x3&&_0x49967b%0x64<=0xa?0x3:_0x49967b%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x18f8cc=>{const {ar:{dictionary:_0x5dfc6d,getPluralForm:_0x1c4c49}}={'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':_0x51e9b3=>0x0==_0x51e9b3?0x0:0x1==_0x51e9b3?0x1:0x2==_0x51e9b3?0x2:_0x51e9b3%0x64>=0x3&&_0x51e9b3%0x64<=0xa?0x3:_0x51e9b3%0x64>=0xb?0x4:0x5}};_0x18f8cc['ar']||={'dictionary':{},'getPluralForm':null},_0x18f8cc['ar']['dictionary']=Object['assign'](_0x18f8cc['ar']['dictionary'],_0x5dfc6d),_0x18f8cc['ar']['getPluralForm']=_0x1c4c49;})(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':_0x27799d=>0x1!=_0x27799d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3b17bc=>{const {ast:{dictionary:_0x170ac9,getPluralForm:_0x237992}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x383ff4=>0x1!=_0x383ff4}};_0x3b17bc['ast']||={'dictionary':{},'getPluralForm':null},_0x3b17bc['ast']['dictionary']=Object['assign'](_0x3b17bc['ast']['dictionary'],_0x170ac9),_0x3b17bc['ast']['getPluralForm']=_0x237992;})(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':_0x8960c2=>0x1!=_0x8960c2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x467f83=>{const {az:{dictionary:_0x26d365,getPluralForm:_0x3dd388}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x15a781=>0x1!=_0x15a781}};_0x467f83['az']||={'dictionary':{},'getPluralForm':null},_0x467f83['az']['dictionary']=Object['assign'](_0x467f83['az']['dictionary'],_0x26d365),_0x467f83['az']['getPluralForm']=_0x3dd388;})(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':_0x8d29ad=>0x1!=_0x8d29ad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1320ca=>{const {bg:{dictionary:_0x43995d,getPluralForm:_0x220b70}}={'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':_0x38db16=>0x1!=_0x38db16}};_0x1320ca['bg']||={'dictionary':{},'getPluralForm':null},_0x1320ca['bg']['dictionary']=Object['assign'](_0x1320ca['bg']['dictionary'],_0x43995d),_0x1320ca['bg']['getPluralForm']=_0x220b70;})(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':_0x2f52f3=>0x1!=_0x2f52f3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x242e8e=>{const {bn:{dictionary:_0x5af769,getPluralForm:_0x48dad0}}={'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':_0x471ff0=>0x1!=_0x471ff0}};_0x242e8e['bn']||={'dictionary':{},'getPluralForm':null},_0x242e8e['bn']['dictionary']=Object['assign'](_0x242e8e['bn']['dictionary'],_0x5af769),_0x242e8e['bn']['getPluralForm']=_0x48dad0;})(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':_0xd9153d=>_0xd9153d%0xa==0x1&&_0xd9153d%0x64!=0xb?0x0:_0xd9153d%0xa>=0x2&&_0xd9153d%0xa<=0x4&&(_0xd9153d%0x64<0xa||_0xd9153d%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ec1e0=>{const {bs:{dictionary:_0xe260fa,getPluralForm:_0x3dd06d}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xb3538=>_0xb3538%0xa==0x1&&_0xb3538%0x64!=0xb?0x0:_0xb3538%0xa>=0x2&&_0xb3538%0xa<=0x4&&(_0xb3538%0x64<0xa||_0xb3538%0x64>=0x14)?0x1:0x2}};_0x1ec1e0['bs']||={'dictionary':{},'getPluralForm':null},_0x1ec1e0['bs']['dictionary']=Object['assign'](_0x1ec1e0['bs']['dictionary'],_0xe260fa),_0x1ec1e0['bs']['getPluralForm']=_0x3dd06d;})(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':_0x5da954=>0x1!=_0x5da954}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x376f21=>{const {ca:{dictionary:_0x5097d8,getPluralForm:_0x575907}}={'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':_0xfc404=>0x1!=_0xfc404}};_0x376f21['ca']||={'dictionary':{},'getPluralForm':null},_0x376f21['ca']['dictionary']=Object['assign'](_0x376f21['ca']['dictionary'],_0x5097d8),_0x376f21['ca']['getPluralForm']=_0x575907;})(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':_0x250a4a=>0x1==_0x250a4a?0x0:_0x250a4a>=0x2&&_0x250a4a<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17679e=>{const {cs:{dictionary:_0x100c3e,getPluralForm:_0x181e22}}={'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':_0x2a64e9=>0x1==_0x2a64e9?0x0:_0x2a64e9>=0x2&&_0x2a64e9<=0x4?0x1:0x2}};_0x17679e['cs']||={'dictionary':{},'getPluralForm':null},_0x17679e['cs']['dictionary']=Object['assign'](_0x17679e['cs']['dictionary'],_0x100c3e),_0x17679e['cs']['getPluralForm']=_0x181e22;})(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':_0x466e4d=>0x1!=_0x466e4d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xc1a376=>{const {da:{dictionary:_0xeb8ff5,getPluralForm:_0x2c339e}}={'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':_0xbb9545=>0x1!=_0xbb9545}};_0xc1a376['da']||={'dictionary':{},'getPluralForm':null},_0xc1a376['da']['dictionary']=Object['assign'](_0xc1a376['da']['dictionary'],_0xeb8ff5),_0xc1a376['da']['getPluralForm']=_0x2c339e;})(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':_0x55634a=>0x1!=_0x55634a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d4f5b=>{const {'de-ch':{dictionary:_0x5141e0,getPluralForm:_0x347ce9}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x23e422=>0x1!=_0x23e422}};_0x2d4f5b['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2d4f5b['de-ch']['dictionary']=Object['assign'](_0x2d4f5b['de-ch']['dictionary'],_0x5141e0),_0x2d4f5b['de-ch']['getPluralForm']=_0x347ce9;})(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':_0x368a15=>0x1!=_0x368a15}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14d4e1=>{const {de:{dictionary:_0x12981d,getPluralForm:_0x27e5b1}}={'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':_0x345da2=>0x1!=_0x345da2}};_0x14d4e1['de']||={'dictionary':{},'getPluralForm':null},_0x14d4e1['de']['dictionary']=Object['assign'](_0x14d4e1['de']['dictionary'],_0x12981d),_0x14d4e1['de']['getPluralForm']=_0x27e5b1;})(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':_0x1ce2d1=>0x1!=_0x1ce2d1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5b3cc4=>{const {el:{dictionary:_0x496bf9,getPluralForm:_0x28f16a}}={'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':_0x546869=>0x1!=_0x546869}};_0x5b3cc4['el']||={'dictionary':{},'getPluralForm':null},_0x5b3cc4['el']['dictionary']=Object['assign'](_0x5b3cc4['el']['dictionary'],_0x496bf9),_0x5b3cc4['el']['getPluralForm']=_0x28f16a;})(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':_0x57944e=>0x1!=_0x57944e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33697c=>{const {'en-au':{dictionary:_0x4629c7,getPluralForm:_0x178745}}={'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':_0x31905a=>0x1!=_0x31905a}};_0x33697c['en-au']||={'dictionary':{},'getPluralForm':null},_0x33697c['en-au']['dictionary']=Object['assign'](_0x33697c['en-au']['dictionary'],_0x4629c7),_0x33697c['en-au']['getPluralForm']=_0x178745;})(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':_0x4e782a=>0x1!=_0x4e782a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x43315e=>{const {'en-gb':{dictionary:_0x1f1b80,getPluralForm:_0xfc4ee5}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x531a29=>0x1!=_0x531a29}};_0x43315e['en-gb']||={'dictionary':{},'getPluralForm':null},_0x43315e['en-gb']['dictionary']=Object['assign'](_0x43315e['en-gb']['dictionary'],_0x1f1b80),_0x43315e['en-gb']['getPluralForm']=_0xfc4ee5;})(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':_0x525523=>0x1!=_0x525523}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x23729b=>{const {en:{dictionary:_0x52d44b,getPluralForm:_0x4b3d01}}={'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':_0x12b41d=>0x1!=_0x12b41d}};_0x23729b['en']||={'dictionary':{},'getPluralForm':null},_0x23729b['en']['dictionary']=Object['assign'](_0x23729b['en']['dictionary'],_0x52d44b),_0x23729b['en']['getPluralForm']=_0x4b3d01;})(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':_0x362c96=>0x1!=_0x362c96}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32d77c=>{const {eo:{dictionary:_0xbc3d9b,getPluralForm:_0x4d90c3}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2216fe=>0x1!=_0x2216fe}};_0x32d77c['eo']||={'dictionary':{},'getPluralForm':null},_0x32d77c['eo']['dictionary']=Object['assign'](_0x32d77c['eo']['dictionary'],_0xbc3d9b),_0x32d77c['eo']['getPluralForm']=_0x4d90c3;})(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':_0x485810=>0x1!=_0x485810}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29e63b=>{const {'es-co':{dictionary:_0x559689,getPluralForm:_0x1b097f}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x2ce15a=>0x1!=_0x2ce15a}};_0x29e63b['es-co']||={'dictionary':{},'getPluralForm':null},_0x29e63b['es-co']['dictionary']=Object['assign'](_0x29e63b['es-co']['dictionary'],_0x559689),_0x29e63b['es-co']['getPluralForm']=_0x1b097f;})(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':_0x7dec04=>0x1!=_0x7dec04}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x56b40a=>{const {es:{dictionary:_0x3b3550,getPluralForm:_0x3e0384}}={'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':_0x26e11c=>0x1!=_0x26e11c}};_0x56b40a['es']||={'dictionary':{},'getPluralForm':null},_0x56b40a['es']['dictionary']=Object['assign'](_0x56b40a['es']['dictionary'],_0x3b3550),_0x56b40a['es']['getPluralForm']=_0x3e0384;})(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':_0x4cd18e=>0x1!=_0x4cd18e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x45d142=>{const {et:{dictionary:_0x2fb81a,getPluralForm:_0x487b94}}={'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':_0x1b5b32=>0x1!=_0x1b5b32}};_0x45d142['et']||={'dictionary':{},'getPluralForm':null},_0x45d142['et']['dictionary']=Object['assign'](_0x45d142['et']['dictionary'],_0x2fb81a),_0x45d142['et']['getPluralForm']=_0x487b94;})(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':_0x3772df=>0x1!=_0x3772df}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17a40c=>{const {eu:{dictionary:_0x4e7763,getPluralForm:_0x49b798}}={'eu':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x22027e=>0x1!=_0x22027e}};_0x17a40c['eu']||={'dictionary':{},'getPluralForm':null},_0x17a40c['eu']['dictionary']=Object['assign'](_0x17a40c['eu']['dictionary'],_0x4e7763),_0x17a40c['eu']['getPluralForm']=_0x49b798;})(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':_0x91bd72=>0x0}};
|