@ckeditor/ckeditor5-import-word 44.0.0-alpha.1 → 44.0.0-alpha.11
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/LICENSE.md +6 -6
- package/README.md +8 -9
- 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/LICENSE.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Software License Agreement
|
|
2
2
|
==========================
|
|
3
3
|
|
|
4
|
-
**CKEditor 5
|
|
4
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
5
5
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
6
6
|
|
|
7
|
-
CKEditor 5
|
|
8
|
-
For more
|
|
7
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law.
|
|
8
|
+
For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
9
9
|
|
|
10
|
-
Sources of Intellectual Property Included in CKEditor 5
|
|
11
|
-
|
|
10
|
+
Sources of Intellectual Property Included in CKEditor 5 Import from Word feature
|
|
11
|
+
-------------------------------------------------------------------------------------
|
|
12
12
|
|
|
13
|
-
Where not otherwise indicated, all CKEditor 5
|
|
13
|
+
Where not otherwise indicated, all CKEditor 5 Import from Word feature content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
|
|
14
14
|
|
|
15
15
|
Trademarks
|
|
16
16
|
----------
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
CKEditor 5
|
|
2
|
-
|
|
1
|
+
CKEditor 5 Import from Word feature
|
|
2
|
+
========================================
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-import-word)
|
|
5
5
|
|
|
@@ -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.
|
|
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
|
|
|
@@ -31,18 +31,17 @@ See the [`@ckeditor/ckeditor5-import-word` package](https://ckeditor.com/docs/ck
|
|
|
31
31
|
|
|
32
32
|
## Getting support
|
|
33
33
|
|
|
34
|
-
CKEditor 5
|
|
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.
|
|
35
35
|
|
|
36
|
-
As a licensed CKEditor 5
|
|
36
|
+
As a licensed CKEditor 5 Import from Word feature user you can report bugs and request features directly through the CKEditor Ecosystem customer dashboard.
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## License
|
|
40
40
|
|
|
41
|
-
**CKEditor 5
|
|
41
|
+
**CKEditor 5 Import from Word feature** (https://ckeditor.com/ckeditor-5/)<br>
|
|
42
42
|
Copyright (c) 2003–2024, [CKSource Holding sp. z o.o.](https://cksource.com) All rights reserved.
|
|
43
43
|
|
|
44
|
-
CKEditor 5
|
|
45
|
-
For more details about available licensing options please contact us at sales@cksource.com.
|
|
44
|
+
CKEditor 5 Import from Word feature is licensed under a commercial license and is protected by copyright law. For more information, see: [https://ckeditor.com/pricing](https://ckeditor.com/pricing).
|
|
46
45
|
|
|
47
46
|
### Trademarks
|
|
48
47
|
|
package/build/import-word.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t){const
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.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,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:()=>b,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-=281]})(t,r)}function a(){const t=["_createButton","iconView","773606gzVQZe","get","editor","ImportWordUI","focus","isVisible","pluginName","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","componentFactory","isPremiumPlugin","Import from Word","execute","7442192yGDJlR","done","32327064hIsPlO","isEnabled","isBusy","init","isOfficialPlugin","editing","1284QMdljy","316RaGTMq","add","children","importWord","tooltip","2390913pZOOfd","menuBar:importWord","Importing Word document","bind","locale","label","commands","set","view","29487BBpyxK","24330bcrhpC","isOn","883921YEWJzC"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(768476===parseInt(r(290))/1+parseInt(r(293))/2+-parseInt(r(287))/3*(-parseInt(r(314))/4)+-parseInt(r(288))/5*(-parseInt(r(313))/6)+parseInt(r(319))/7+parseInt(r(305))/8+-parseInt(r(307))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(299)](){return o(296)}static get[o(311)](){return!0}static get[o(302)](){return!0}[o(310)](){const t=o,e=this[t(295)];e.ui[t(301)][t(315)](t(317),(()=>{const n=t,i=this[n(291)](r.FileDialogButtonView),o=e[n(284)][n(294)](n(317));return i[n(281)](n(289)).to(o,n(309)),i[n(318)]=!0,i})),e.ui[t(301)][t(315)](t(320),(()=>this[t(291)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(291)](t){const e=o,n=this[e(295)],s=n[e(284)][e(294)](e(317)),a=new t(n[e(282)]),c=new r.SpinnerView;return a[e(285)]({acceptedType:e(300)}),a[e(285)]({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(281)](e(308)).to(s),a[e(281)](e(283)).to(s,e(309),(t=>i(n[e(282)],e(t?321:303)))),c[e(281)](e(298)).to(s,e(309)),a[e(292)][e(281)](e(298)).to(s,e(309),(t=>!t)),a[e(316)][e(315)](c),a.on(e(306),((t,r)=>{const i=e;n[i(304)](i(317),r[0],{}),n[i(312)][i(286)][i(297)]()})),a}}var u=e(331),p=e(783),l=e(584);const d=h;function h(t,r){const e=f();return(h=function(t,r){return e[t-=126]})(t,r)}function f(){const t=["merge_fields","aborted","has","editor","formatting","347LTwhyX","getToken","showWarning","converterUrl","_prepareForImport","getFirstPosition","dataInsert","ImportWordEditing","setData","document","finally","plugins","createPositionBefore","setSelection","clipboardInput","html","14264HCTEco","isEnabled","model","headers","isAtEnd","rootName","removeMarker","stopListening","createBatch","getRange","markers","enqueueChange","getSelectedBlocks","_abortController","import-word-plugin-conversion-failed","timeZone","MergeFields","_importMarker","editing","config","importWord","root","split","locale","Authorization","json","import-word-plugin-import-cancelled","then","value","change:range","deleteContent","fire","An error occurred while importing the Word file.","6495948ybxYQT","set","get","view","1150KFqvDQ","addMarker","_undoStepBatch","low","988816ESKzFr","isEmpty","reject","resolve","text/html","schema","_checkEnabled","stringify","refresh","3060064uSWArJ","createPositionAfter","element","1754619RQdjZb","_cleanUpAfterImport","bind","file","$graveyard","resolvedOptions","isBusy","parent","position","importWord:","paragraph","POST","DateTimeFormat","isAtStart","selection","catch","abort","isCollapsed","signal","execute","2802sFToEO","_handleImportResponse","970884QkMGKP","_sendImportRequest","Notification","mergeFields","checkChild","_handleImportFailure"];return(f=function(){return t})()}!function(t){const r=h,e=t();for(;;)try{if(497248===-parseInt(r(130))/1*(-parseInt(r(219))/2)+parseInt(r(199))/3+-parseInt(r(146))/4*(parseInt(r(183))/5)+-parseInt(r(221))/6+-parseInt(r(196))/7+parseInt(r(187))/8+parseInt(r(179))/9)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(180)](r(205),!1),this[r(163)]=null,this[r(185)]=null,this[r(159)]=null,this.on(r(136),((e,n)=>{const i=r,o=new DataTransfer;o[i(138)](i(191),n[i(145)]);const s=this[i(163)][i(155)]();this[i(128)][i(148)][i(157)](this[i(185)],(r=>{const e=i;this[e(163)][e(153)](),r[e(143)](s),t[e(164)][e(182)][e(139)][e(177)](e(144),{dataTransfer:o})}))}),{priority:r(186)})}[d(195)](){const t=d;this[t(147)]=this[t(193)]()}[d(218)](t,r={}){const e=d;if(this[e(205)])return Promise[e(190)]();const n=this[e(128)][e(165)][e(181)](e(166));if(this[e(128)][e(141)][e(127)](e(162))){const{prefix:t,suffix:n}=this[e(128)][e(165)][e(181)](e(224));r[e(227)]={prefix:t,suffix:n}}const i={url:n[e(133)],file:t,serviceConfig:{...r,formatting:n[e(129)],timezone:(new(Intl[e(211)]))[e(204)]()[e(161)]}};return this[e(134)](),this[e(222)](i)[e(173)](this[e(220)][e(201)](this))[e(214)](this[e(226)][e(201)](this))[e(140)](this[e(200)][e(201)](this))}[d(193)](){const t=d;if(this[t(205)])return!1;const r=this[t(128)][t(148)],e=r[t(192)],n=r[t(139)][t(213)],i=(0,l.first)(n[t(158)]());return!!i&&e[t(225)](i[t(206)],t(209))}[d(134)](){const t=d,r=this[t(128)],e=r[t(148)],n=e[t(139)][t(213)];this[t(159)]=new AbortController,this[t(185)]=r[t(148)][t(154)]({isUndoable:!0}),e[t(157)](this[t(185)],(r=>{const i=t;n[i(216)]||e[i(176)](n,{leaveUnmerged:!0});const o=n[i(135)](),s=(0,l.first)(n[i(158)]());let a;a=s.is(i(198),i(209))&&s[i(188)]?o:o[i(212)]?e[i(142)](s):o[i(150)]?e[i(197)](s):r[i(168)](o)[i(207)],this[i(163)]=r[i(184)](i(208)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(163)].on(i(175),(()=>{const t=i;t(203)===this[t(163)][t(155)]()[t(167)][t(151)]&&this[t(159)][t(215)]()}))})),this[t(205)]=!0,this[t(195)]()}[d(200)](){const t=d,r=this[t(128)][t(148)];r[t(156)][t(127)](this[t(163)])&&r[t(157)](this[t(185)],(r=>{const e=t;r[e(152)](this[e(163)])})),this[t(163)]=null,this[t(185)]=null,this[t(159)]=null,this[t(205)]=!1,this[t(195)]()}[d(222)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(128)][n(141)][n(181)](n(137))[n(131)](),o=new FormData;o[n(180)](n(165),JSON[n(194)](e)),o[n(180)](n(202),r);const s={method:n(210),headers:{},body:o,signal:this[n(159)][n(217)]};return i&&(s[n(149)][n(170)]=i[n(174)]),fetch(t,s)}[d(220)](t){const r=d;return t.ok?t[r(171)]()[r(173)]((t=>{const e=r;this[e(128)][e(148)][e(156)][e(127)](this[e(163)])&&e(203)!==this[e(163)][e(155)]()[e(167)][e(151)]&&this[e(177)](e(136),t)})):Promise[r(189)]()}[d(226)](){const t=d;if(this[t(159)][t(217)][t(126)])return void(0,l.logWarning)(t(172));const r=this[t(128)],e=i(r[t(169)],t(178));r[t(141)][t(181)](t(223))[t(132)](e),(0,l.logError)(t(160))}}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=253]})(t,r)}function v(){const t=["tokenUrl","add","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","_token","pluginName","editor","1727340xouJxI","888zGYyWQ","getToken","3456208MDxIdz","config","token","29900Wiyghj","isPremiumPlugin","36YaiOUl","isOfficialPlugin","80WmLQIq","32779241TFJdzN","12cGAstI","registerTokenUrl","ImportWordEditing","cloudServices","inline","get","requires","define","1102048gpSTnL","3961708xPrJIa","12115Gmdiyn","init","3hUuZmB","importWord","plugins","none","CloudServices"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(664914===-parseInt(r(279))/1*(parseInt(r(275))/2)+-parseInt(r(257))/3*(parseInt(r(254))/4)+parseInt(r(255))/5*(-parseInt(r(270))/6)+-parseInt(r(272))/7+parseInt(r(253))/8*(parseInt(r(277))/9)+parseInt(r(269))/10+-parseInt(r(280))/11*(-parseInt(r(281))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(267)](){return g(283)}static get[g(278)](){return!0}static get[g(276)](){return!0}static get[g(287)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(261)]}constructor(t){const r=g;super(t),this[r(266)]=null}async[g(256)](){const t=g,r=this[t(268)];r[t(273)][t(288)](t(258),{converterUrl:t(264),tokenUrl:(r[t(273)][t(286)](t(284))||{})[t(262)],formatting:{resets:t(260),defaults:t(260),styles:t(285)}}),r[t(265)][t(263)](t(258),new m(r));const{tokenUrl:e}=r[t(273)][t(286)](t(258));if(e){const{tokenUrl:n}=r[t(273)][t(286)](t(284))||{};this[t(266)]=e===n?r[t(259)][t(286)](t(261))[t(274)]:await r[t(259)][t(286)](t(261))[t(282)](e)}}[g(271)](){return this[g(266)]}}function y(){var t=["pluginName","ImportWord","394992eqEhXv","79992kxtYQi","isPremiumPlugin","5dOtZTH","957762VOoQZy","isOfficialPlugin","100709RhjDUN","392432TiTdhE","requires","4ucxRdz","40DWgykF","174453UEbqqg","405734FzWwmE"];return(y=function(){return t})()}var W=x;function x(t,r){var e=y();return(x=function(t,r){return e[t-=299]})(t,r)}!function(t){for(var r=x,e=t();;)try{if(132473===-parseInt(r(303))/1+parseInt(r(306))/2*(-parseInt(r(308))/3)+-parseInt(r(304))/4*(parseInt(r(300))/5)+parseInt(r(313))/6+parseInt(r(309))/7+-parseInt(r(312))/8+-parseInt(r(301))/9*(-parseInt(r(307))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(y);class b extends t.Plugin{static get[W(310)](){return W(311)}static get[W(302)](){return!0}static get[W(299)](){return!0}static get[W(305)](){return[w,c]}}function T(){var t=["10TqygyD","460kmDDSB","448904tgTdWq","765320WvfVDK","9529806RYrHXC","21aLxtTn","358Qadyha","2504vsMBdJ","5103834SrgWOl","3453ioWlqV","6463188HSRwxC"];return(T=function(){return t})()}function k(t,r){var e=T();return(k=function(t,r){return e[t-=456]})(t,r)}!function(t){for(var r=k,e=t();;)try{if(433547===parseInt(r(465))/1*(-parseInt(r(466))/2)+-parseInt(r(457))/3*(parseInt(r(460))/4)+-parseInt(r(462))/5+parseInt(r(456))/6+parseInt(r(464))/7*(parseInt(r(461))/8)+-parseInt(r(458))/9*(parseInt(r(459))/10)+parseInt(r(463))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(T)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
|
|
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 o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.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 o(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}}function i(){const t=["add","execute","8YtMhHl","get","pluginName","Importing Word document","editing","13487550roXWvJ","94576tdkweA","importWord","locale","1802910SQJumG","iconView","menuBar:importWord","isBusy","isVisible","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","editor","focus","Import from Word","isOn","_createButton","view","bind","done","360VKeMdZ","tooltip","children","460658jeZcbF","isEnabled","label","init","isOfficialPlugin","1369989fATMzh","commands","1112478igxayJ","ImportWordUI","isPremiumPlugin","14fopBgR","set","componentFactory","370994yXDZDD"];return(i=function(){return t})()}const s=a;function a(t,e){const r=i();return(a=function(t,e){return r[t-=251]})(t,e)}!function(t){const e=a,r=t();for(;;)try{if(413311===-parseInt(e(282))/1+-parseInt(e(269))/2+-parseInt(e(274))/3+-parseInt(e(285))/4*(parseInt(e(252))/5)+parseInt(e(276))/6*(parseInt(e(279))/7)+-parseInt(e(291))/8*(-parseInt(e(266))/9)+parseInt(e(290))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(i);class c extends t.Plugin{static get[s(287)](){return s(277)}static get[s(273)](){return!0}static get[s(278)](){return!0}[s(272)](){const t=s,r=this[t(258)];r.ui[t(281)][t(283)](t(292),(()=>{const n=t,o=this[n(262)](e.FileDialogButtonView),i=r[n(275)][n(286)](n(292));return o[n(264)](n(261)).to(i,n(255)),o[n(267)]=!0,o})),r.ui[t(281)][t(283)](t(254),(()=>this[t(262)](e.MenuBarMenuListItemFileDialogButtonView)))}[s(262)](t){const r=s,n=this[r(258)],i=n[r(275)][r(286)](r(292)),a=new t(n[r(251)]),c=new e.SpinnerView;return a[r(280)]({acceptedType:r(257)}),a[r(280)]({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(264)](r(270)).to(i),a[r(264)](r(271)).to(i,r(255),(t=>o(n[r(251)],r(t?288:260)))),c[r(264)](r(256)).to(i,r(255)),a[r(253)][r(264)](r(256)).to(i,r(255),(t=>!t)),a[r(268)][r(283)](c),a.on(r(265),((t,e)=>{const o=r;n[o(284)](o(292),e[0],{}),n[o(289)][o(263)][o(259)]()})),a}}var u=r(331),p=r(783),l=r(584);function d(t,e){const r=f();return(d=function(t,e){return r[t-=401]})(t,e)}const h=d;function f(){const t=["isAtStart","1985640AaOSaD","POST","Notification","123377BcqYVj","createPositionBefore","aborted","bind","plugins","setSelection","_importMarker","merge_fields","low","ImportWordEditing","getRange","then","89090zAWscW","_abortController","importWord:","split","checkChild","_handleImportFailure","execute","resolvedOptions","importWord","removeMarker","deleteContent","stopListening","42apXcSU","locale","$graveyard","getFirstPosition","abort","showWarning","isAtEnd","_prepareForImport","text/html","get","signal","_cleanUpAfterImport","finally","refresh","4gphcnI","fire","html","getToken","isBusy","isCollapsed","Authorization","reject","catch","isEmpty","9slOIGF","enqueueChange","_undoStepBatch","rootName","document","mergeFields","formatting","dataInsert","editing","change:range","232lVolYI","json","set","setData","55951yazQAV","value","parent","element","converterUrl","stringify","MergeFields","view","addMarker","DateTimeFormat","import-word-plugin-import-cancelled","timeZone","createBatch","has","isEnabled","markers","522172Joioss","createPositionAfter","_sendImportRequest","file","473394nDbxpj","schema","clipboardInput","position","_handleImportResponse","_checkEnabled","import-word-plugin-conversion-failed","headers","79376NEGKxG","editor","resolve","getSelectedBlocks","config","paragraph","model","root","selection","An error occurred while importing the Word file."];return(f=function(){return t})()}!function(t){const e=d,r=t();for(;;)try{if(243842===parseInt(e(468))/1+parseInt(e(442))/2+parseInt(e(446))/3*(parseInt(e(402))/4)+-parseInt(e(480))/5*(-parseInt(e(492))/6)+-parseInt(e(426))/7*(parseInt(e(422))/8)+-parseInt(e(412))/9*(parseInt(e(465))/10)+parseInt(e(454))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(f);class m extends t.Command{constructor(t){const e=d;super(t),this[e(424)](e(406),!1),this[e(474)]=null,this[e(414)]=null,this[e(481)]=null,this.on(e(419),((r,n)=>{const o=e,i=new DataTransfer;i[o(425)](o(500),n[o(404)]);const s=this[o(474)][o(478)]();this[o(455)][o(460)][o(413)](this[o(414)],(e=>{const r=o;this[r(474)][r(491)](),e[r(473)](s),t[r(420)][r(433)][r(416)][r(403)](r(448),{dataTransfer:i})}))}),{priority:e(476)})}[h(401)](){const t=h;this[t(440)]=this[t(451)]()}[h(486)](t,e={}){const r=h;if(this[r(406)])return Promise[r(456)]();const n=this[r(455)][r(458)][r(501)](r(488));if(this[r(455)][r(472)][r(439)](r(432))){const{prefix:t,suffix:n}=this[r(455)][r(458)][r(501)](r(417));e[r(475)]={prefix:t,suffix:n}}const o={url:n[r(430)],file:t,serviceConfig:{...e,formatting:n[r(418)],timezone:(new(Intl[r(435)]))[r(487)]()[r(437)]}};return this[r(499)](),this[r(444)](o)[r(479)](this[r(450)][r(471)](this))[r(410)](this[r(485)][r(471)](this))[r(504)](this[r(503)][r(471)](this))}[h(451)](){const t=h;if(this[t(406)])return!1;const e=this[t(455)][t(460)],r=e[t(447)],n=e[t(416)][t(462)],o=(0,l.first)(n[t(457)]());return!!o&&r[t(484)](o[t(428)],t(459))}[h(499)](){const t=h,e=this[t(455)],r=e[t(460)],n=r[t(416)][t(462)];this[t(481)]=new AbortController,this[t(414)]=e[t(460)][t(438)]({isUndoable:!0}),r[t(413)](this[t(414)],(e=>{const o=t;n[o(407)]||r[o(490)](n,{leaveUnmerged:!0});const i=n[o(495)](),s=(0,l.first)(n[o(457)]());let a;a=s.is(o(429),o(459))&&s[o(411)]?i:i[o(464)]?r[o(469)](s):i[o(498)]?r[o(443)](s):e[o(483)](i)[o(449)],this[o(474)]=e[o(434)](o(482)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[o(474)].on(o(421),(()=>{const t=o;t(494)===this[t(474)][t(478)]()[t(461)][t(415)]&&this[t(481)][t(496)]()}))})),this[t(406)]=!0,this[t(401)]()}[h(503)](){const t=h,e=this[t(455)][t(460)];e[t(441)][t(439)](this[t(474)])&&e[t(413)](this[t(414)],(e=>{const r=t;e[r(489)](this[r(474)])})),this[t(474)]=null,this[t(414)]=null,this[t(481)]=null,this[t(406)]=!1,this[t(401)]()}[h(444)]({url:t,file:e,serviceConfig:r}){const n=h,o=this[n(455)][n(472)][n(501)](n(477))[n(405)](),i=new FormData;i[n(424)](n(458),JSON[n(431)](r)),i[n(424)](n(445),e);const s={method:n(466),headers:{},body:i,signal:this[n(481)][n(502)]};return o&&(s[n(453)][n(408)]=o[n(427)]),fetch(t,s)}[h(450)](t){const e=h;return t.ok?t[e(423)]()[e(479)]((t=>{const r=e;this[r(455)][r(460)][r(441)][r(439)](this[r(474)])&&r(494)!==this[r(474)][r(478)]()[r(461)][r(415)]&&this[r(403)](r(419),t)})):Promise[e(409)]()}[h(485)](){const t=h;if(this[t(481)][t(502)][t(470)])return void(0,l.logWarning)(t(436));const e=this[t(455)],r=o(e[t(493)],t(463));e[t(472)][t(501)](t(467))[t(497)](r),(0,l.logError)(t(452))}}const g=v;function I(){const t=["getToken","init","tokenUrl","token","1379WzLjmj","editor","config","add","importWord","define","isOfficialPlugin","1575PjicJb","_token","52SnrNkg","cloudServices","1542vmtzDy","23163690UToJhl","1245214tPHKkj","requires","commands","327159OYPiWB","ImportWordEditing","isPremiumPlugin","pluginName","53168SVsPMn","266115Ipbnwe","registerTokenUrl","2703426klusRV","none","plugins","inline","CloudServices","get","https://docx-converter.cke-cs.com/v2/convert/docx-html"];return(I=function(){return t})()}function v(t,e){const r=I();return(v=function(t,e){return r[t-=329]})(t,e)}!function(t){const e=v,r=t();for(;;)try{if(699257===parseInt(e(339))/1+-parseInt(e(336))/2+-parseInt(e(346))/3+-parseInt(e(332))/4*(-parseInt(e(344))/5)+-parseInt(e(334))/6*(-parseInt(e(357))/7)+-parseInt(e(343))/8*(parseInt(e(330))/9)+parseInt(e(335))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(I);class w extends t.Plugin{static get[g(342)](){return g(340)}static get[g(329)](){return!0}static get[g(341)](){return!0}static get[g(337)](){const t=g;return[e.Notification,u.ClipboardPipeline,t(350)]}constructor(t){const e=g;super(t),this[e(331)]=null}async[g(354)](){const t=g,e=this[t(358)];e[t(359)][t(362)](t(361),{converterUrl:t(352),tokenUrl:(e[t(359)][t(351)](t(333))||{})[t(355)],formatting:{resets:t(347),defaults:t(347),styles:t(349)}}),e[t(338)][t(360)](t(361),new m(e));const{tokenUrl:r}=e[t(359)][t(351)](t(361));if(r){const{tokenUrl:n}=e[t(359)][t(351)](t(333))||{};this[t(331)]=r===n?e[t(348)][t(351)](t(350))[t(356)]:await e[t(348)][t(351)](t(350))[t(345)](r)}}[g(353)](){return this[g(331)]}}function W(){var t=["1587705cXWaCU","isOfficialPlugin","616fXbWvO","isPremiumPlugin","87WoKoMt","7WBVACQ","15458050rUKboJ","pluginName","34011MGXXQo","ImportWord","requires","1125888VwEWCo","104436kwKFLA","80220kilnbG","3590356phEQWQ"];return(W=function(){return t})()}function b(t,e){var r=W();return(b=function(t,e){return r[t-=121]})(t,e)}var y=b;!function(t){for(var e=b,r=t();;)try{if(425910===-parseInt(e(134))/1*(-parseInt(e(127))/2)+-parseInt(e(133))/3*(-parseInt(e(126))/4)+parseInt(e(129))/5+-parseInt(e(125))/6+parseInt(e(128))/7+parseInt(e(131))/8*(parseInt(e(122))/9)+-parseInt(e(135))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}}(W);class k extends t.Plugin{static get[y(121)](){return y(123)}static get[y(130)](){return!0}static get[y(132)](){return!0}static get[y(124)](){return[w,c]}}function x(t,e){var r=P();return(x=function(t,e){return r[t-=422]})(t,e)}function P(){var t=["2001425ejQFoR","1253184KYcwfo","13034888yHRBkG","5781788anXmGS","1374674BPVVAp","3706MIZkWA","1866TVQEuE","2779770qHnvQy"];return(P=function(){return t})()}!function(t){for(var e=x,r=t();;)try{if(750494===-parseInt(e(429))/1+-parseInt(e(425))/2*(-parseInt(e(426))/3)+-parseInt(e(423))/4+parseInt(e(428))/5+parseInt(e(427))/6+-parseInt(e(424))/7+parseInt(e(422))/8)break;r.push(r.shift())}catch(t){r.push(r.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 _0x10de4e,Command as _0x1e49f4}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x538aac,MenuBarMenuListItemFileDialogButtonView as _0x187148,SpinnerView as _0x197f6c,Notification as _0x1c9b70}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x1231e3}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0xa20092}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5a64fa,uid as _0x54ff4d,logWarning as _0x5b7c92,logError as _0x2a5631}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x107436,_0x2aea7e){const t=_0x107436['t'];switch(_0x2aea7e){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 _0x2aea7e;}}class i extends _0x10de4e{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x150005=this['editor'];_0x150005['ui']['componentFactory']['add']('importWord',()=>{const _0x54208b=this['_createButton'](_0x538aac),_0x109fdf=_0x150005['commands']['get']('importWord');return _0x54208b['bind']('isOn')['to'](_0x109fdf,'isBusy'),_0x54208b['tooltip']=!0x0,_0x54208b;}),_0x150005['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x187148));}['_createButton'](_0x5bd221){const _0x48676e=this['editor'],_0x21af3a=_0x48676e['commands']['get']('importWord'),_0x36903c=new _0x5bd221(_0x48676e['locale']),_0x3f8160=new _0x197f6c();return _0x36903c['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x36903c['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'}),_0x36903c['bind']('isEnabled')['to'](_0x21af3a),_0x36903c['bind']('label')['to'](_0x21af3a,'isBusy',_0x12ad07=>p(_0x48676e['locale'],_0x12ad07?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x3f8160['bind']('isVisible')['to'](_0x21af3a,'isBusy'),_0x36903c['iconView']['bind']('isVisible')['to'](_0x21af3a,'isBusy',_0x5047b4=>!_0x5047b4),_0x36903c['children']['add'](_0x3f8160),_0x36903c['on']('done',(_0x4b49a3,_0x4a6265)=>{_0x48676e['execute']('importWord',_0x4a6265[0x0],{}),_0x48676e['editing']['view']['focus']();}),_0x36903c;}}class d extends _0x1e49f4{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x195301){super(_0x195301),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x109d4e,_0x1ced9a)=>{const _0x825974=new DataTransfer();_0x825974['setData']('text/html',_0x1ced9a['html']);const _0x424024=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3b3dca=>{this['_importMarker']['stopListening'](),_0x3b3dca['setSelection'](_0x424024),_0x195301['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x825974});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2e718c,_0x142493={}){if(this['isBusy'])return Promise['resolve']();const _0xd47cd7=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x5a59fa,suffix:_0x1b00bf}=this['editor']['config']['get']('mergeFields');_0x142493['merge_fields']={'prefix':_0x5a59fa,'suffix':_0x1b00bf};}const _0x4da381={'url':_0xd47cd7['converterUrl'],'file':_0x2e718c,'serviceConfig':{..._0x142493,'formatting':_0xd47cd7['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x4da381)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x247812=this['editor']['model'],_0x42bea0=_0x247812['schema'],_0x1978dc=_0x247812['document']['selection'],_0x1e7c10=_0x5a64fa(_0x1978dc['getSelectedBlocks']());return!!_0x1e7c10&&_0x42bea0['checkChild'](_0x1e7c10['parent'],'paragraph');}['_prepareForImport'](){const _0x43425d=this['editor'],_0x1a8029=_0x43425d['model'],_0x51942a=_0x1a8029['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x43425d['model']['createBatch']({'isUndoable':!0x0}),_0x1a8029['enqueueChange'](this['_undoStepBatch'],_0x27c0f2=>{_0x51942a['isCollapsed']||_0x1a8029['deleteContent'](_0x51942a,{'leaveUnmerged':!0x0});const _0x15b01c=_0x51942a['getFirstPosition'](),_0x4ed090=_0x5a64fa(_0x51942a['getSelectedBlocks']());let _0x354fca;_0x354fca=_0x4ed090['is']('element','paragraph')&&_0x4ed090['isEmpty']?_0x15b01c:_0x15b01c['isAtStart']?_0x1a8029['createPositionBefore'](_0x4ed090):_0x15b01c['isAtEnd']?_0x1a8029['createPositionAfter'](_0x4ed090):_0x27c0f2['split'](_0x15b01c)['position'],this['_importMarker']=_0x27c0f2['addMarker']('importWord:'+_0x54ff4d(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xa20092(_0x354fca)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4c3a35=this['editor']['model'];_0x4c3a35['markers']['has'](this['_importMarker'])&&_0x4c3a35['enqueueChange'](this['_undoStepBatch'],_0xbd11f6=>{_0xbd11f6['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x50b113,file:_0x57f5d8,serviceConfig:_0xe7112d}){const _0x191f55=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x1eded8=new FormData();_0x1eded8['set']('config',JSON['stringify'](_0xe7112d)),_0x1eded8['set']('file',_0x57f5d8);const _0x3dc70f={'method':'POST','headers':{},'body':_0x1eded8,'signal':this['_abortController']['signal']};return _0x191f55&&(_0x3dc70f['headers']['Authorization']=_0x191f55['value']),fetch(_0x50b113,_0x3dc70f);}['_handleImportResponse'](_0x366b89){return _0x366b89['ok']?_0x366b89['json']()['then'](_0xf539ec=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0xf539ec);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5b7c92('import-word-plugin-import-cancelled');const _0xd237b4=this['editor'],_0x4fb4a4=p(_0xd237b4['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0xd237b4['plugins']['get']('Notification')['showWarning'](_0x4fb4a4),_0x2a5631('import-word-plugin-conversion-failed');}}class e extends _0x10de4e{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1c9b70,_0x1231e3,'CloudServices'];}constructor(_0x48219d){super(_0x48219d),this['_token']=null;}async['init'](){const _0x3d6975=this['editor'];_0x3d6975['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x3d6975['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x3d6975['commands']['add']('importWord',new d(_0x3d6975));const {tokenUrl:_0x9698c6}=_0x3d6975['config']['get']('importWord');if(_0x9698c6){const {tokenUrl:_0x289611}=_0x3d6975['config']['get']('cloudServices')||{};this['_token']=_0x9698c6===_0x289611?_0x3d6975['plugins']['get']('CloudServices')['token']:await _0x3d6975['plugins']['get']('CloudServices')['registerTokenUrl'](_0x9698c6);}}['getToken'](){return this['_token'];}}class o extends _0x10de4e{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':_0x132085=>0x1!=_0x132085}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x560c72=>{const {af:{dictionary:_0x5d7fe6,getPluralForm:_0x3e63ed}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x28eac5=>0x1!=_0x28eac5}};_0x560c72['af']||={'dictionary':{},'getPluralForm':null},_0x560c72['af']['dictionary']=Object['assign'](_0x560c72['af']['dictionary'],_0x5d7fe6),_0x560c72['af']['getPluralForm']=_0x3e63ed;})(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':_0xfe0dd2=>0x0==_0xfe0dd2?0x0:0x1==_0xfe0dd2?0x1:0x2==_0xfe0dd2?0x2:_0xfe0dd2%0x64>=0x3&&_0xfe0dd2%0x64<=0xa?0x3:_0xfe0dd2%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x338834=>{const {ar:{dictionary:_0x8ce152,getPluralForm:_0x7df1f0}}={'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':_0x2584d0=>0x0==_0x2584d0?0x0:0x1==_0x2584d0?0x1:0x2==_0x2584d0?0x2:_0x2584d0%0x64>=0x3&&_0x2584d0%0x64<=0xa?0x3:_0x2584d0%0x64>=0xb?0x4:0x5}};_0x338834['ar']||={'dictionary':{},'getPluralForm':null},_0x338834['ar']['dictionary']=Object['assign'](_0x338834['ar']['dictionary'],_0x8ce152),_0x338834['ar']['getPluralForm']=_0x7df1f0;})(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':_0x4aa8ad=>0x1!=_0x4aa8ad}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x8b011b=>{const {ast:{dictionary:_0x4a2329,getPluralForm:_0x4b5cf3}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x55d851=>0x1!=_0x55d851}};_0x8b011b['ast']||={'dictionary':{},'getPluralForm':null},_0x8b011b['ast']['dictionary']=Object['assign'](_0x8b011b['ast']['dictionary'],_0x4a2329),_0x8b011b['ast']['getPluralForm']=_0x4b5cf3;})(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':_0xf7e42d=>0x1!=_0xf7e42d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x8780e6=>{const {az:{dictionary:_0x27d7ca,getPluralForm:_0xda78a9}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x531248=>0x1!=_0x531248}};_0x8780e6['az']||={'dictionary':{},'getPluralForm':null},_0x8780e6['az']['dictionary']=Object['assign'](_0x8780e6['az']['dictionary'],_0x27d7ca),_0x8780e6['az']['getPluralForm']=_0xda78a9;})(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':_0x4114d7=>0x1!=_0x4114d7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ab10d=>{const {bg:{dictionary:_0x31f8c1,getPluralForm:_0x11c9a3}}={'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':_0x1898e6=>0x1!=_0x1898e6}};_0x1ab10d['bg']||={'dictionary':{},'getPluralForm':null},_0x1ab10d['bg']['dictionary']=Object['assign'](_0x1ab10d['bg']['dictionary'],_0x31f8c1),_0x1ab10d['bg']['getPluralForm']=_0x11c9a3;})(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':_0x5bfe24=>0x1!=_0x5bfe24}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5c4878=>{const {bn:{dictionary:_0x4803f8,getPluralForm:_0x4d6c2d}}={'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':_0x3cadbc=>0x1!=_0x3cadbc}};_0x5c4878['bn']||={'dictionary':{},'getPluralForm':null},_0x5c4878['bn']['dictionary']=Object['assign'](_0x5c4878['bn']['dictionary'],_0x4803f8),_0x5c4878['bn']['getPluralForm']=_0x4d6c2d;})(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':_0x1777a8=>_0x1777a8%0xa==0x1&&_0x1777a8%0x64!=0xb?0x0:_0x1777a8%0xa>=0x2&&_0x1777a8%0xa<=0x4&&(_0x1777a8%0x64<0xa||_0x1777a8%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4362d1=>{const {bs:{dictionary:_0x178eaf,getPluralForm:_0x3cf1b8}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1f3230=>_0x1f3230%0xa==0x1&&_0x1f3230%0x64!=0xb?0x0:_0x1f3230%0xa>=0x2&&_0x1f3230%0xa<=0x4&&(_0x1f3230%0x64<0xa||_0x1f3230%0x64>=0x14)?0x1:0x2}};_0x4362d1['bs']||={'dictionary':{},'getPluralForm':null},_0x4362d1['bs']['dictionary']=Object['assign'](_0x4362d1['bs']['dictionary'],_0x178eaf),_0x4362d1['bs']['getPluralForm']=_0x3cf1b8;})(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':_0x5d9686=>0x1!=_0x5d9686}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38d725=>{const {ca:{dictionary:_0x36edf7,getPluralForm:_0x8c51bc}}={'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':_0x2cd70d=>0x1!=_0x2cd70d}};_0x38d725['ca']||={'dictionary':{},'getPluralForm':null},_0x38d725['ca']['dictionary']=Object['assign'](_0x38d725['ca']['dictionary'],_0x36edf7),_0x38d725['ca']['getPluralForm']=_0x8c51bc;})(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':_0x5ed329=>0x1==_0x5ed329?0x0:_0x5ed329>=0x2&&_0x5ed329<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e69bc=>{const {cs:{dictionary:_0x18b8dd,getPluralForm:_0x5a4723}}={'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':_0x89b488=>0x1==_0x89b488?0x0:_0x89b488>=0x2&&_0x89b488<=0x4?0x1:0x2}};_0x2e69bc['cs']||={'dictionary':{},'getPluralForm':null},_0x2e69bc['cs']['dictionary']=Object['assign'](_0x2e69bc['cs']['dictionary'],_0x18b8dd),_0x2e69bc['cs']['getPluralForm']=_0x5a4723;})(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':_0x40ccdc=>0x1!=_0x40ccdc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x575ef7=>{const {da:{dictionary:_0x111b15,getPluralForm:_0x3a7199}}={'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':_0x230b8f=>0x1!=_0x230b8f}};_0x575ef7['da']||={'dictionary':{},'getPluralForm':null},_0x575ef7['da']['dictionary']=Object['assign'](_0x575ef7['da']['dictionary'],_0x111b15),_0x575ef7['da']['getPluralForm']=_0x3a7199;})(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':_0x3cb8a1=>0x1!=_0x3cb8a1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa4f0ac=>{const {'de-ch':{dictionary:_0x34e752,getPluralForm:_0x3d50d5}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x272e40=>0x1!=_0x272e40}};_0xa4f0ac['de-ch']||={'dictionary':{},'getPluralForm':null},_0xa4f0ac['de-ch']['dictionary']=Object['assign'](_0xa4f0ac['de-ch']['dictionary'],_0x34e752),_0xa4f0ac['de-ch']['getPluralForm']=_0x3d50d5;})(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':_0x4c5dfc=>0x1!=_0x4c5dfc}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4dcd42=>{const {de:{dictionary:_0x1c12f6,getPluralForm:_0x45b3c8}}={'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':_0x551b22=>0x1!=_0x551b22}};_0x4dcd42['de']||={'dictionary':{},'getPluralForm':null},_0x4dcd42['de']['dictionary']=Object['assign'](_0x4dcd42['de']['dictionary'],_0x1c12f6),_0x4dcd42['de']['getPluralForm']=_0x45b3c8;})(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':_0x15a990=>0x1!=_0x15a990}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5bb4f2=>{const {el:{dictionary:_0x2dc392,getPluralForm:_0x5cacdf}}={'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':_0x36a9cf=>0x1!=_0x36a9cf}};_0x5bb4f2['el']||={'dictionary':{},'getPluralForm':null},_0x5bb4f2['el']['dictionary']=Object['assign'](_0x5bb4f2['el']['dictionary'],_0x2dc392),_0x5bb4f2['el']['getPluralForm']=_0x5cacdf;})(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':_0x27af93=>0x1!=_0x27af93}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1cd5eb=>{const {'en-au':{dictionary:_0x45f576,getPluralForm:_0x1296c9}}={'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':_0x39a8b1=>0x1!=_0x39a8b1}};_0x1cd5eb['en-au']||={'dictionary':{},'getPluralForm':null},_0x1cd5eb['en-au']['dictionary']=Object['assign'](_0x1cd5eb['en-au']['dictionary'],_0x45f576),_0x1cd5eb['en-au']['getPluralForm']=_0x1296c9;})(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':_0x4d6a55=>0x1!=_0x4d6a55}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x559ff6=>{const {'en-gb':{dictionary:_0x42fdf4,getPluralForm:_0x191273}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x382737=>0x1!=_0x382737}};_0x559ff6['en-gb']||={'dictionary':{},'getPluralForm':null},_0x559ff6['en-gb']['dictionary']=Object['assign'](_0x559ff6['en-gb']['dictionary'],_0x42fdf4),_0x559ff6['en-gb']['getPluralForm']=_0x191273;})(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':_0x56876c=>0x1!=_0x56876c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2d3dc1=>{const {en:{dictionary:_0x4b5e17,getPluralForm:_0x38b4dc}}={'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':_0x529794=>0x1!=_0x529794}};_0x2d3dc1['en']||={'dictionary':{},'getPluralForm':null},_0x2d3dc1['en']['dictionary']=Object['assign'](_0x2d3dc1['en']['dictionary'],_0x4b5e17),_0x2d3dc1['en']['getPluralForm']=_0x38b4dc;})(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':_0xf07c4a=>0x1!=_0xf07c4a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21f92e=>{const {eo:{dictionary:_0x58a960,getPluralForm:_0x2b4f7e}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x5b4bbf=>0x1!=_0x5b4bbf}};_0x21f92e['eo']||={'dictionary':{},'getPluralForm':null},_0x21f92e['eo']['dictionary']=Object['assign'](_0x21f92e['eo']['dictionary'],_0x58a960),_0x21f92e['eo']['getPluralForm']=_0x2b4f7e;})(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':_0x4de0c1=>0x1!=_0x4de0c1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x392afb=>{const {'es-co':{dictionary:_0x71eead,getPluralForm:_0x2497e9}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4f54ba=>0x1!=_0x4f54ba}};_0x392afb['es-co']||={'dictionary':{},'getPluralForm':null},_0x392afb['es-co']['dictionary']=Object['assign'](_0x392afb['es-co']['dictionary'],_0x71eead),_0x392afb['es-co']['getPluralForm']=_0x2497e9;})(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':_0x33af6d=>0x1!=_0x33af6d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x61dc04=>{const {es:{dictionary:_0x1375b0,getPluralForm:_0x56d6fe}}={'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':_0x37a76b=>0x1!=_0x37a76b}};_0x61dc04['es']||={'dictionary':{},'getPluralForm':null},_0x61dc04['es']['dictionary']=Object['assign'](_0x61dc04['es']['dictionary'],_0x1375b0),_0x61dc04['es']['getPluralForm']=_0x56d6fe;})(window['CKEDITOR_TRANSLATIONS']||={});
|