@ckeditor/ckeditor5-import-word 0.0.0-nightly-20241201.0 → 0.0.0-nightly-20241203.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/LICENSE.md +6 -6
- package/README.md +8 -9
- 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/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
|
@@ -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:()=>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}}function o(t,r){const e=s();return(o=function(t,r){return e[t-=290]})(t,r)}function s(){const t=["pluginName","540390GKfdEU","iconView","importWord","Importing Word document","menuBar:importWord","label","767114VcyOpZ","set","isVisible","130479JryhHB","done","commands","isOn","isBusy","270700LZFTPZ","focus","281288JskmET","2770OHTrVC","isEnabled","get","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","61056TwthEj","locale","componentFactory","_createButton","140mPyqvA","tooltip","editing","execute","editor","Import from Word","init","bind","view","add","isOfficialPlugin","1266924lKumsz","children","isPremiumPlugin","25UivHCE","ImportWordUI"];return(s=function(){return t})()}const a=o;!function(t){const r=o,e=t();for(;;)try{if(450079===parseInt(r(298))/1+parseInt(r(306))/2+-parseInt(r(301))/3+parseInt(r(328))/4+-parseInt(r(331))/5*(-parseInt(r(292))/6)+parseInt(r(317))/7*(parseInt(r(308))/8)+-parseInt(r(313))/9*(parseInt(r(309))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(s);class c extends t.Plugin{static get[a(291)](){return a(290)}static get[a(327)](){return!0}static get[a(330)](){return!0}[a(323)](){const t=a,e=this[t(321)];e.ui[t(315)][t(326)](t(294),(()=>{const n=t,i=this[n(316)](r.FileDialogButtonView),o=e[n(303)][n(311)](n(294));return i[n(324)](n(304)).to(o,n(305)),i[n(318)]=!0,i})),e.ui[t(315)][t(326)](t(296),(()=>this[t(316)](r.MenuBarMenuListItemFileDialogButtonView)))}[a(316)](t){const e=a,n=this[e(321)],o=n[e(303)][e(311)](e(294)),s=new t(n[e(314)]),c=new r.SpinnerView;return s[e(299)]({acceptedType:e(312)}),s[e(299)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14 0 5 4.5v8.892l-1.5-1.8V6.5h-5v-5h-8v3H3V0h11Zm0 2v3h3.3L14 2Z"/><path d="M10.74 18a2.76 2.76 0 0 1-.469-.5H3V19h9.25v-.374A2.737 2.737 0 0 1 10.74 18Z"/><path d="M8.5 6a1.5 1.5 0 0 1 1.493 1.356L10 7.5v7a1.5 1.5 0 0 1-1.356 1.493L8.5 16h-7a1.5 1.5 0 0 1-1.493-1.356L0 14.5v-7a1.5 1.5 0 0 1 1.356-1.493L1.5 6h7ZM7.483 8.795l-.042.088-.986 2.534-.947-2.528-.043-.092a.601.601 0 0 0-1.042.008l-.042.093-.883 2.465-.937-2.475-.042-.089a.6.6 0 0 0-1.107.42l.027.093 1.514 4 .044.092a.6.6 0 0 0 1.041-.01l.041-.092.88-2.458.925 2.467.046.096a.602.602 0 0 0 1.032 0l.043-.09 1.554-4 .028-.093a.6.6 0 0 0-1.104-.43v.001ZM11.674 15.407a.75.75 0 1 0 1.152.96L14 14.96V20h1.5v-5.04l1.174 1.408a.75.75 0 1 0 1.152-.96l-2.346-2.816a.95.95 0 0 0-1.46 0l-2.346 2.815Z"/></svg>\n'}),s[e(324)](e(310)).to(o),s[e(324)](e(297)).to(o,e(305),(t=>i(n[e(314)],e(t?295:322)))),c[e(324)](e(300)).to(o,e(305)),s[e(293)][e(324)](e(300)).to(o,e(305),(t=>!t)),s[e(329)][e(326)](c),s.on(e(302),((t,r)=>{const i=e;n[i(320)](i(294),r[0],{}),n[i(319)][i(325)][i(307)]()})),s}}var u=e(331),p=e(783),l=e(584);function d(){const t=["119603prfNlf","setSelection","fire","editor","root","Notification","catch","getSelectedBlocks","dataInsert","converterUrl","isEmpty","has","_prepareForImport","schema","isEnabled","getToken","_abortController","An error occurred while importing the Word file.","checkChild","config","showWarning","isCollapsed","resolvedOptions","getFirstPosition","_cleanUpAfterImport","isAtStart","deleteContent","set","MergeFields","createBatch","model","ImportWordEditing","isBusy","abort","POST","file","formatting","document","locale","isAtEnd","selection","56205BSvauX","768rpdTFY","importWord","addMarker","importWord:","DateTimeFormat","_handleImportFailure","22UiPswq","rootName","16210wbNOzK","value","setData","_importMarker","markers","$graveyard","_sendImportRequest","1640RzrEhG","27559LFxqxM","change:range","json","plugins","stopListening","low","_handleImportResponse","element","30sIZdtf","then","311200hMOhZn","getRange","enqueueChange","editing","text/html","html","Authorization","bind","refresh","position","createPositionBefore","reject","createPositionAfter","resolve","_checkEnabled","mergeFields","split","merge_fields","timeZone","import-word-plugin-import-cancelled","_undoStepBatch","4374216RjsJLk","signal","view","314616pzVgxR","execute","finally","headers","get","stringify","clipboardInput","removeMarker","paragraph","import-word-plugin-conversion-failed","parent","2529WYjfax","aborted"];return(d=function(){return t})()}const h=f;function f(t,r){const e=d();return(f=function(t,r){return e[t-=243]})(t,r)}!function(t){const r=f,e=t();for(;;)try{if(424465===parseInt(r(277))/1*(-parseInt(r(284))/2)+parseInt(r(302))/3*(parseInt(r(328))/4)+-parseInt(r(304))/5+-parseInt(r(325))/6+parseInt(r(294))/7*(parseInt(r(293))/8)+-parseInt(r(339))/9*(parseInt(r(286))/10)+parseInt(r(341))/11*(parseInt(r(278))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(d);class m extends t.Command{constructor(t){const r=f;super(t),this[r(263)](r(268),!1),this[r(289)]=null,this[r(324)]=null,this[r(252)]=null,this.on(r(244),((e,n)=>{const i=r,o=new DataTransfer;o[i(288)](i(308),n[i(309)]);const s=this[i(289)][i(305)]();this[i(344)][i(266)][i(306)](this[i(324)],(r=>{const e=i;this[e(289)][e(298)](),r[e(342)](s),t[e(307)][e(327)][e(273)][e(343)](e(334),{dataTransfer:o})}))}),{priority:r(299)})}[h(312)](){const t=h;this[t(250)]=this[t(318)]()}[h(329)](t,r={}){const e=h;if(this[e(268)])return Promise[e(317)]();const n=this[e(344)][e(255)][e(332)](e(279));if(this[e(344)][e(297)][e(247)](e(264))){const{prefix:t,suffix:n}=this[e(344)][e(255)][e(332)](e(319));r[e(321)]={prefix:t,suffix:n}}const i={url:n[e(245)],file:t,serviceConfig:{...r,formatting:n[e(272)],timezone:(new(Intl[e(282)]))[e(258)]()[e(322)]}};return this[e(248)](),this[e(292)](i)[e(303)](this[e(300)][e(311)](this))[e(347)](this[e(283)][e(311)](this))[e(330)](this[e(260)][e(311)](this))}[h(318)](){const t=h;if(this[t(268)])return!1;const r=this[t(344)][t(266)],e=r[t(249)],n=r[t(273)][t(276)],i=(0,l.first)(n[t(243)]());return!!i&&e[t(254)](i[t(338)],t(336))}[h(248)](){const t=h,r=this[t(344)],e=r[t(266)],n=e[t(273)][t(276)];this[t(252)]=new AbortController,this[t(324)]=r[t(266)][t(265)]({isUndoable:!0}),e[t(306)](this[t(324)],(r=>{const i=t;n[i(257)]||e[i(262)](n,{leaveUnmerged:!0});const o=n[i(259)](),s=(0,l.first)(n[i(243)]());let a;a=s.is(i(301),i(336))&&s[i(246)]?o:o[i(261)]?e[i(314)](s):o[i(275)]?e[i(316)](s):r[i(320)](o)[i(313)],this[i(289)]=r[i(280)](i(281)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(289)].on(i(295),(()=>{const t=i;t(291)===this[t(289)][t(305)]()[t(345)][t(285)]&&this[t(252)][t(269)]()}))})),this[t(268)]=!0,this[t(312)]()}[h(260)](){const t=h,r=this[t(344)][t(266)];r[t(290)][t(247)](this[t(289)])&&r[t(306)](this[t(324)],(r=>{const e=t;r[e(335)](this[e(289)])})),this[t(289)]=null,this[t(324)]=null,this[t(252)]=null,this[t(268)]=!1,this[t(312)]()}[h(292)]({url:t,file:r,serviceConfig:e}){const n=h,i=this[n(344)][n(297)][n(332)](n(267))[n(251)](),o=new FormData;o[n(263)](n(255),JSON[n(333)](e)),o[n(263)](n(271),r);const s={method:n(270),headers:{},body:o,signal:this[n(252)][n(326)]};return i&&(s[n(331)][n(310)]=i[n(287)]),fetch(t,s)}[h(300)](t){const r=h;return t.ok?t[r(296)]()[r(303)]((t=>{const e=r;this[e(344)][e(266)][e(290)][e(247)](this[e(289)])&&e(291)!==this[e(289)][e(305)]()[e(345)][e(285)]&&this[e(343)](e(244),t)})):Promise[r(315)]()}[h(283)](){const t=h;if(this[t(252)][t(326)][t(340)])return void(0,l.logWarning)(t(323));const r=this[t(344)],e=i(r[t(274)],t(253));r[t(297)][t(332)](t(346))[t(256)](e),(0,l.logError)(t(337))}}function g(){const t=["tokenUrl","https://docx-converter.cke-cs.com/v2/convert/docx-html","ImportWordEditing","isPremiumPlugin","add","init","get","commands","2586507PakFSk","pluginName","getToken","4HxDLBD","registerTokenUrl","none","4530230NVecup","plugins","isOfficialPlugin","token","inline","5kOxYAT","importWord","config","requires","CloudServices","2226276MInoue","cloudServices","1418684SJipKs","8zHuDEX","_token","9598dokgAP","define","editor","235107sIyPCb","957132knWrgi"];return(g=function(){return t})()}const I=v;function v(t,r){const e=g();return(v=function(t,r){return e[t-=227]})(t,r)}!function(t){const r=v,e=t();for(;;)try{if(226074===parseInt(r(258))/1*(-parseInt(r(240))/2)+parseInt(r(228))/3+parseInt(r(255))/4+-parseInt(r(248))/5*(parseInt(r(253))/6)+parseInt(r(237))/7+parseInt(r(256))/8*(parseInt(r(227))/9)+-parseInt(r(243))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(g);class w extends t.Plugin{static get[I(238)](){return I(231)}static get[I(245)](){return!0}static get[I(232)](){return!0}static get[I(251)](){const t=I;return[r.Notification,u.ClipboardPipeline,t(252)]}constructor(t){const r=I;super(t),this[r(257)]=null}async[I(234)](){const t=I,r=this[t(260)];r[t(250)][t(259)](t(249),{converterUrl:t(230),tokenUrl:(r[t(250)][t(235)](t(254))||{})[t(229)],formatting:{resets:t(242),defaults:t(242),styles:t(247)}}),r[t(236)][t(233)](t(249),new m(r));const{tokenUrl:e}=r[t(250)][t(235)](t(249));if(e){const{tokenUrl:n}=r[t(250)][t(235)](t(254))||{};this[t(257)]=e===n?r[t(244)][t(235)](t(252))[t(246)]:await r[t(244)][t(235)](t(252))[t(241)](e)}}[I(239)](){return this[I(257)]}}var x=y;!function(t){for(var r=y,e=t();;)try{if(589229===-parseInt(r(161))/1*(parseInt(r(159))/2)+-parseInt(r(154))/3*(-parseInt(r(157))/4)+parseInt(r(156))/5+parseInt(r(149))/6*(-parseInt(r(151))/7)+parseInt(r(150))/8+parseInt(r(148))/9+parseInt(r(153))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(k);class b extends t.Plugin{static get[x(162)](){return x(155)}static get[x(160)](){return!0}static get[x(152)](){return!0}static get[x(158)](){return[w,c]}}function y(t,r){var e=k();return(y=function(t,r){return e[t-=148]})(t,r)}function k(){var t=["1335432qDYHSE","requires","769180RMzJdr","isOfficialPlugin","3ukOhOV","pluginName","1631754NwrJVP","1458qZVxpx","7037904UaelAp","13265bgLxjH","isPremiumPlugin","3733300RrNdXf","6iIoEwk","ImportWord","506970EXhOCa"];return(k=function(){return t})()}function W(t,r){var e=P();return(W=function(t,r){return e[t-=249]})(t,r)}function P(){var t=["8197731JJYzJk","8697776vdEWrC","12bfTKxM","65226yKdPCk","10bjRoGL","875lUNVmj","4DhyiGA","7337583VEdQqj","2921535FlHFya","321340rUnRuE","973efGJMS","2780raORBq"];return(P=function(){return t})()}!function(t){for(var r=W,e=t();;)try{if(845790===-parseInt(r(257))/1*(-parseInt(r(251))/2)+-parseInt(r(260))/3+parseInt(r(258))/4*(-parseInt(r(249))/5)+parseInt(r(255))/6*(parseInt(r(250))/7)+-parseInt(r(253))/8+-parseInt(r(252))/9*(-parseInt(r(256))/10)+-parseInt(r(259))/11*(parseInt(r(254))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(P)})(),(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:()=>y,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-=183]})(t,r)}function a(){const t=["2naWVlL","iconView","44HiRANu","focus","application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template","children","isBusy","isVisible","componentFactory","commands","Importing Word document","bind","1742328pVgTrf","add","label","view","get","Import from Word","13848UVtalr","5274qJJrCu","importWord","init","10cKNivE","isPremiumPlugin","isOn","set","pluginName","done","editing","menuBar:importWord","ImportWordUI","isOfficialPlugin","2498289JZbNnd","tooltip","isEnabled","4ZDVmeu","8530210uusxzn","execute","_createButton","locale","editor","5318082HjZdcr","3822444LAMJzQ","680045MaLCLO"];return(a=function(){return t})()}!function(t){const r=s,e=t();for(;;)try{if(619471===-parseInt(r(193))/1*(-parseInt(r(194))/2)+parseInt(r(226))/3*(-parseInt(r(185))/4)+parseInt(r(216))/5*(-parseInt(r(206))/6)+parseInt(r(191))/7+parseInt(r(212))/8*(parseInt(r(213))/9)+parseInt(r(186))/10+-parseInt(r(196))/11*(parseInt(r(192))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(a);class c extends t.Plugin{static get[o(220)](){return o(224)}static get[o(225)](){return!0}static get[o(217)](){return!0}[o(215)](){const t=o,e=this[t(190)];e.ui[t(202)][t(207)](t(214),(()=>{const n=t,i=this[n(188)](r.FileDialogButtonView),o=e[n(203)][n(210)](n(214));return i[n(205)](n(218)).to(o,n(200)),i[n(183)]=!0,i})),e.ui[t(202)][t(207)](t(223),(()=>this[t(188)](r.MenuBarMenuListItemFileDialogButtonView)))}[o(188)](t){const e=o,n=this[e(190)],s=n[e(203)][e(210)](e(214)),a=new t(n[e(189)]),c=new r.SpinnerView;return a[e(219)]({acceptedType:e(198)}),a[e(219)]({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(205)](e(184)).to(s),a[e(205)](e(208)).to(s,e(200),(t=>i(n[e(189)],e(t?204:211)))),c[e(205)](e(201)).to(s,e(200)),a[e(195)][e(205)](e(201)).to(s,e(200),(t=>!t)),a[e(199)][e(207)](c),a.on(e(221),((t,r)=>{const i=e;n[i(187)](i(214),r[0],{}),n[i(222)][i(209)][i(197)]()})),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-=116]})(t,r)}!function(t){const r=h,e=t();for(;;)try{if(883643===parseInt(r(190))/1+parseInt(r(187))/2+parseInt(r(122))/3*(parseInt(r(213))/4)+parseInt(r(192))/5+-parseInt(r(171))/6+-parseInt(r(134))/7*(parseInt(r(195))/8)+-parseInt(r(180))/9)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(137)](r(151),!1),this[r(204)]=null,this[r(126)]=null,this[r(179)]=null,this.on(r(153),((e,n)=>{const i=r,o=new DataTransfer;o[i(217)](i(176),n[i(165)]);const s=this[i(204)][i(209)]();this[i(145)][i(161)][i(136)](this[i(126)],(r=>{const e=i;this[e(204)][e(166)](),r[e(132)](s),t[e(211)][e(172)][e(127)][e(139)](e(188),{dataTransfer:o})}))}),{priority:r(194)})}[d(160)](){const t=d;this[t(123)]=this[t(169)]()}[d(157)](t,r={}){const e=d;if(this[e(151)])return Promise[e(117)]();const n=this[e(145)][e(193)][e(197)](e(129));if(this[e(145)][e(147)][e(199)](e(154))){const{prefix:t,suffix:n}=this[e(145)][e(193)][e(197)](e(215));r[e(142)]={prefix:t,suffix:n}}const i={url:n[e(133)],file:t,serviceConfig:{...r,formatting:n[e(198)],timezone:(new(Intl[e(214)]))[e(189)]()[e(200)]}};return this[e(140)](),this[e(184)](i)[e(146)](this[e(138)][e(203)](this))[e(158)](this[e(207)][e(203)](this))[e(168)](this[e(186)][e(203)](this))}[d(169)](){const t=d;if(this[t(151)])return!1;const r=this[t(145)][t(161)],e=r[t(191)],n=r[t(127)][t(175)],i=(0,l.first)(n[t(202)]());return!!i&&e[t(120)](i[t(178)],t(205))}[d(140)](){const t=d,r=this[t(145)],e=r[t(161)],n=e[t(127)][t(175)];this[t(179)]=new AbortController,this[t(126)]=r[t(161)][t(167)]({isUndoable:!0}),e[t(136)](this[t(126)],(r=>{const i=t;n[i(159)]||e[i(201)](n,{leaveUnmerged:!0});const o=n[i(164)](),s=(0,l.first)(n[i(202)]());let a;a=s.is(i(143),i(205))&&s[i(185)]?o:o[i(130)]?e[i(181)](s):o[i(116)]?e[i(208)](s):r[i(135)](o)[i(196)],this[i(204)]=r[i(173)](i(210)+(0,l.uid)(),{usingOperation:!1,affectsData:!1,range:new p.Range(a)}),this[i(204)].on(i(182),(()=>{const t=i;t(216)===this[t(204)][t(209)]()[t(206)][t(121)]&&this[t(179)][t(150)]()}))})),this[t(151)]=!0,this[t(160)]()}[d(186)](){const t=d,r=this[t(145)][t(161)];r[t(183)][t(199)](this[t(204)])&&r[t(136)](this[t(126)],(r=>{const e=t;r[e(141)](this[e(204)])})),this[t(204)]=null,this[t(126)]=null,this[t(179)]=null,this[t(151)]=!1,this[t(160)]()}[d(184)]({url:t,file:r,serviceConfig:e}){const n=d,i=this[n(145)][n(147)][n(197)](n(163))[n(119)](),o=new FormData;o[n(137)](n(193),JSON[n(128)](e)),o[n(137)](n(118),r);const s={method:n(131),headers:{},body:o,signal:this[n(179)][n(156)]};return i&&(s[n(144)][n(148)]=i[n(155)]),fetch(t,s)}[d(138)](t){const r=d;return t.ok?t[r(124)]()[r(146)]((t=>{const e=r;this[e(145)][e(161)][e(183)][e(199)](this[e(204)])&&e(216)!==this[e(204)][e(209)]()[e(206)][e(121)]&&this[e(139)](e(153),t)})):Promise[r(152)]()}[d(207)](){const t=d;if(this[t(179)][t(156)][t(174)])return void(0,l.logWarning)(t(149));const r=this[t(145)],e=i(r[t(177)],t(162));r[t(147)][t(197)](t(212))[t(170)](e),(0,l.logError)(t(125))}}function m(){const t=["_cleanUpAfterImport","14150VdlYSY","clipboardInput","resolvedOptions","1622378GowrHc","schema","8218055YhFbUE","config","low","9471416vNNvDz","position","get","formatting","has","timeZone","deleteContent","getSelectedBlocks","bind","_importMarker","paragraph","root","_handleImportFailure","createPositionAfter","getRange","importWord:","editing","Notification","251248XezRjB","DateTimeFormat","mergeFields","$graveyard","setData","isAtEnd","resolve","file","getToken","checkChild","rootName","21arZMwN","isEnabled","json","import-word-plugin-conversion-failed","_undoStepBatch","document","stringify","importWord","isAtStart","POST","setSelection","converterUrl","7VuTjgY","split","enqueueChange","set","_handleImportResponse","fire","_prepareForImport","removeMarker","merge_fields","element","headers","editor","then","plugins","Authorization","import-word-plugin-import-cancelled","abort","isBusy","reject","dataInsert","MergeFields","value","signal","execute","catch","isCollapsed","refresh","model","An error occurred while importing the Word file.","ImportWordEditing","getFirstPosition","html","stopListening","createBatch","finally","_checkEnabled","showWarning","3861030QkfGzr","view","addMarker","aborted","selection","text/html","locale","parent","_abortController","9015057CaZnTp","createPositionBefore","change:range","markers","_sendImportRequest","isEmpty"];return(m=function(){return t})()}const g=I;function I(t,r){const e=v();return(I=function(t,r){return e[t-=381]})(t,r)}function v(){const t=["tokenUrl","19612mjVClW","CloudServices","init","cloudServices","1199997OxRNfu","token","define","editor","requires","32759628EeTlsT","https://docx-converter.cke-cs.com/v2/convert/docx-html","pluginName","inline","16iKzxRW","add","468YdsEVb","8433456ZJUaRU","610UghkGt","plugins","187137melmlJ","5163403ExjBfq","none","commands","_token","importWord","registerTokenUrl","16eiBKXp","config","isOfficialPlugin","ImportWordEditing","1370ClHmmu","getToken","isPremiumPlugin","get"];return(v=function(){return t})()}!function(t){const r=I,e=t();for(;;)try{if(867251===-parseInt(r(385))/1+-parseInt(r(394))/2*(-parseInt(r(400))/3)+-parseInt(r(381))/4*(parseInt(r(411))/5)+parseInt(r(397))/6+-parseInt(r(401))/7*(parseInt(r(407))/8)+parseInt(r(396))/9*(parseInt(r(398))/10)+parseInt(r(390))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(v);class w extends t.Plugin{static get[g(392)](){return g(410)}static get[g(409)](){return!0}static get[g(413)](){return!0}static get[g(389)](){const t=g;return[r.Notification,u.ClipboardPipeline,t(382)]}constructor(t){const r=g;super(t),this[r(404)]=null}async[g(383)](){const t=g,r=this[t(388)];r[t(408)][t(387)](t(405),{converterUrl:t(391),tokenUrl:(r[t(408)][t(414)](t(384))||{})[t(415)],formatting:{resets:t(402),defaults:t(402),styles:t(393)}}),r[t(403)][t(395)](t(405),new f(r));const{tokenUrl:e}=r[t(408)][t(414)](t(405));if(e){const{tokenUrl:n}=r[t(408)][t(414)](t(384))||{};this[t(404)]=e===n?r[t(399)][t(414)](t(382))[t(386)]:await r[t(399)][t(414)](t(382))[t(406)](e)}}[g(412)](){return this[g(404)]}}function b(){var t=["6813992uYJdtw","ImportWord","15102LGhIRd","1737694CSZynl","345800HbTUiQ","isOfficialPlugin","requires","1959450prrkbK","172gjJDKO","pluginName","2915750qXZLAv","isPremiumPlugin","1229050DybPfv"];return(b=function(){return t})()}var W=x;function x(t,r){var e=b();return(x=function(t,r){return e[t-=275]})(t,r)}!function(t){for(var r=x,e=t();;)try{if(336445===-parseInt(r(279))/1+-parseInt(r(287))/2+parseInt(r(277))/3*(-parseInt(r(283))/4)+parseInt(r(285))/5+parseInt(r(282))/6+-parseInt(r(278))/7+parseInt(r(275))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(b);class y extends t.Plugin{static get[W(284)](){return W(276)}static get[W(280)](){return!0}static get[W(286)](){return!0}static get[W(281)](){return[w,c]}}function k(t,r){var e=P();return(k=function(t,r){return e[t-=290]})(t,r)}function P(){var t=["542516mSkjWt","1160GyNKBB","5604828bzqsNs","1142710AyFQLs","195HJGbwb","88QlkZQb","47206665QPtvng","17282XQdYjF","589771hGRGTF","4OxzdUP","135873uiGDZQ"];return(P=function(){return t})()}!function(t){for(var r=k,e=t();;)try{if(927033===-parseInt(r(290))/1+parseInt(r(297))/2*(parseInt(r(294))/3)+-parseInt(r(299))/4*(-parseInt(r(293))/5)+-parseInt(r(292))/6+-parseInt(r(298))/7*(parseInt(r(295))/8)+parseInt(r(300))/9*(-parseInt(r(291))/10)+parseInt(r(296))/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 _0x12c12a,Command as _0x49e77f}from'@ckeditor/ckeditor5-core/dist/index.js';import{FileDialogButtonView as _0x311ea4,MenuBarMenuListItemFileDialogButtonView as _0x4cbe88,SpinnerView as _0x22c5db,Notification as _0x374c9c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{ClipboardPipeline as _0x1396fb}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{Range as _0x1becfb}from'@ckeditor/ckeditor5-engine/dist/index.js';import{first as _0x5da077,uid as _0x33b0e0,logWarning as _0x54382a,logError as _0x414880}from'@ckeditor/ckeditor5-utils/dist/index.js';function p(_0x3bb0a8,_0x35d7e9){const t=_0x3bb0a8['t'];switch(_0x35d7e9){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 _0x35d7e9;}}class i extends _0x12c12a{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d9fec=this['editor'];_0x3d9fec['ui']['componentFactory']['add']('importWord',()=>{const _0x4b44de=this['_createButton'](_0x311ea4),_0x560c36=_0x3d9fec['commands']['get']('importWord');return _0x4b44de['bind']('isOn')['to'](_0x560c36,'isBusy'),_0x4b44de['tooltip']=!0x0,_0x4b44de;}),_0x3d9fec['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x4cbe88));}['_createButton'](_0x222861){const _0xce1fc6=this['editor'],_0xa9661f=_0xce1fc6['commands']['get']('importWord'),_0x861b28=new _0x222861(_0xce1fc6['locale']),_0x1188a8=new _0x22c5db();return _0x861b28['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x861b28['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'}),_0x861b28['bind']('isEnabled')['to'](_0xa9661f),_0x861b28['bind']('label')['to'](_0xa9661f,'isBusy',_0x20a48f=>p(_0xce1fc6['locale'],_0x20a48f?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x1188a8['bind']('isVisible')['to'](_0xa9661f,'isBusy'),_0x861b28['iconView']['bind']('isVisible')['to'](_0xa9661f,'isBusy',_0x16bbbe=>!_0x16bbbe),_0x861b28['children']['add'](_0x1188a8),_0x861b28['on']('done',(_0x40e8c3,_0x1de633)=>{_0xce1fc6['execute']('importWord',_0x1de633[0x0],{}),_0xce1fc6['editing']['view']['focus']();}),_0x861b28;}}class d extends _0x49e77f{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x4cbbe2){super(_0x4cbbe2),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x6b8e29,_0x1f7f65)=>{const _0x1e20fe=new DataTransfer();_0x1e20fe['setData']('text/html',_0x1f7f65['html']);const _0x6a74c2=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x481574=>{this['_importMarker']['stopListening'](),_0x481574['setSelection'](_0x6a74c2),_0x4cbbe2['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1e20fe});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x1fb14a,_0x25c66b={}){if(this['isBusy'])return Promise['resolve']();const _0x40332e=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x322942,suffix:_0x4d2dd1}=this['editor']['config']['get']('mergeFields');_0x25c66b['merge_fields']={'prefix':_0x322942,'suffix':_0x4d2dd1};}const _0xbb1c2b={'url':_0x40332e['converterUrl'],'file':_0x1fb14a,'serviceConfig':{..._0x25c66b,'formatting':_0x40332e['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0xbb1c2b)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x38cad4=this['editor']['model'],_0x1e180c=_0x38cad4['schema'],_0x2977bd=_0x38cad4['document']['selection'],_0x3cc6c4=_0x5da077(_0x2977bd['getSelectedBlocks']());return!!_0x3cc6c4&&_0x1e180c['checkChild'](_0x3cc6c4['parent'],'paragraph');}['_prepareForImport'](){const _0x372b2a=this['editor'],_0x3098d9=_0x372b2a['model'],_0x38c025=_0x3098d9['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x372b2a['model']['createBatch']({'isUndoable':!0x0}),_0x3098d9['enqueueChange'](this['_undoStepBatch'],_0x3e40f9=>{_0x38c025['isCollapsed']||_0x3098d9['deleteContent'](_0x38c025,{'leaveUnmerged':!0x0});const _0x4817f8=_0x38c025['getFirstPosition'](),_0x208988=_0x5da077(_0x38c025['getSelectedBlocks']());let _0xf5f695;_0xf5f695=_0x208988['is']('element','paragraph')&&_0x208988['isEmpty']?_0x4817f8:_0x4817f8['isAtStart']?_0x3098d9['createPositionBefore'](_0x208988):_0x4817f8['isAtEnd']?_0x3098d9['createPositionAfter'](_0x208988):_0x3e40f9['split'](_0x4817f8)['position'],this['_importMarker']=_0x3e40f9['addMarker']('importWord:'+_0x33b0e0(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x1becfb(_0xf5f695)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x180fd4=this['editor']['model'];_0x180fd4['markers']['has'](this['_importMarker'])&&_0x180fd4['enqueueChange'](this['_undoStepBatch'],_0x46ac3c=>{_0x46ac3c['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x45e914,file:_0x8dfbb9,serviceConfig:_0xee9b4f}){const _0x3262de=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x841ea7=new FormData();_0x841ea7['set']('config',JSON['stringify'](_0xee9b4f)),_0x841ea7['set']('file',_0x8dfbb9);const _0x1d6699={'method':'POST','headers':{},'body':_0x841ea7,'signal':this['_abortController']['signal']};return _0x3262de&&(_0x1d6699['headers']['Authorization']=_0x3262de['value']),fetch(_0x45e914,_0x1d6699);}['_handleImportResponse'](_0x26d337){return _0x26d337['ok']?_0x26d337['json']()['then'](_0x397a73=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x397a73);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x54382a('import-word-plugin-import-cancelled');const _0x569a9d=this['editor'],_0x63b4a7=p(_0x569a9d['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x569a9d['plugins']['get']('Notification')['showWarning'](_0x63b4a7),_0x414880('import-word-plugin-conversion-failed');}}class e extends _0x12c12a{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x374c9c,_0x1396fb,'CloudServices'];}constructor(_0x218be2){super(_0x218be2),this['_token']=null;}async['init'](){const _0x11b4ab=this['editor'];_0x11b4ab['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x11b4ab['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x11b4ab['commands']['add']('importWord',new d(_0x11b4ab));const {tokenUrl:_0x1a84be}=_0x11b4ab['config']['get']('importWord');if(_0x1a84be){const {tokenUrl:_0x5a61fd}=_0x11b4ab['config']['get']('cloudServices')||{};this['_token']=_0x1a84be===_0x5a61fd?_0x11b4ab['plugins']['get']('CloudServices')['token']:await _0x11b4ab['plugins']['get']('CloudServices')['registerTokenUrl'](_0x1a84be);}}['getToken'](){return this['_token'];}}class o extends _0x12c12a{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':_0x1efa38=>0x1!=_0x1efa38}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x27127d=>{const {af:{dictionary:_0x1a6f69,getPluralForm:_0x2e580a}}={'af':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1ba726=>0x1!=_0x1ba726}};_0x27127d['af']||={'dictionary':{},'getPluralForm':null},_0x27127d['af']['dictionary']=Object['assign'](_0x27127d['af']['dictionary'],_0x1a6f69),_0x27127d['af']['getPluralForm']=_0x2e580a;})(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':_0x194b81=>0x0==_0x194b81?0x0:0x1==_0x194b81?0x1:0x2==_0x194b81?0x2:_0x194b81%0x64>=0x3&&_0x194b81%0x64<=0xa?0x3:_0x194b81%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1129f5=>{const {ar:{dictionary:_0x519b87,getPluralForm:_0x5b1f80}}={'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':_0x1484ac=>0x0==_0x1484ac?0x0:0x1==_0x1484ac?0x1:0x2==_0x1484ac?0x2:_0x1484ac%0x64>=0x3&&_0x1484ac%0x64<=0xa?0x3:_0x1484ac%0x64>=0xb?0x4:0x5}};_0x1129f5['ar']||={'dictionary':{},'getPluralForm':null},_0x1129f5['ar']['dictionary']=Object['assign'](_0x1129f5['ar']['dictionary'],_0x519b87),_0x1129f5['ar']['getPluralForm']=_0x5b1f80;})(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':_0x3937c7=>0x1!=_0x3937c7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x258620=>{const {ast:{dictionary:_0x15b5bc,getPluralForm:_0x4b4d22}}={'ast':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x1f1636=>0x1!=_0x1f1636}};_0x258620['ast']||={'dictionary':{},'getPluralForm':null},_0x258620['ast']['dictionary']=Object['assign'](_0x258620['ast']['dictionary'],_0x15b5bc),_0x258620['ast']['getPluralForm']=_0x4b4d22;})(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':_0xfa8bc0=>0x1!=_0xfa8bc0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e9697=>{const {az:{dictionary:_0x2dcd15,getPluralForm:_0xe7a4fc}}={'az':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x40813c=>0x1!=_0x40813c}};_0x1e9697['az']||={'dictionary':{},'getPluralForm':null},_0x1e9697['az']['dictionary']=Object['assign'](_0x1e9697['az']['dictionary'],_0x2dcd15),_0x1e9697['az']['getPluralForm']=_0xe7a4fc;})(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':_0x24f977=>0x1!=_0x24f977}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xa724cb=>{const {bg:{dictionary:_0x281fe3,getPluralForm:_0x23f48d}}={'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':_0x5cbe05=>0x1!=_0x5cbe05}};_0xa724cb['bg']||={'dictionary':{},'getPluralForm':null},_0xa724cb['bg']['dictionary']=Object['assign'](_0xa724cb['bg']['dictionary'],_0x281fe3),_0xa724cb['bg']['getPluralForm']=_0x23f48d;})(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':_0x30d5e9=>0x1!=_0x30d5e9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x29a1e8=>{const {bn:{dictionary:_0x293734,getPluralForm:_0x37cd0e}}={'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':_0x2a0d41=>0x1!=_0x2a0d41}};_0x29a1e8['bn']||={'dictionary':{},'getPluralForm':null},_0x29a1e8['bn']['dictionary']=Object['assign'](_0x29a1e8['bn']['dictionary'],_0x293734),_0x29a1e8['bn']['getPluralForm']=_0x37cd0e;})(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':_0x1cf887=>_0x1cf887%0xa==0x1&&_0x1cf887%0x64!=0xb?0x0:_0x1cf887%0xa>=0x2&&_0x1cf887%0xa<=0x4&&(_0x1cf887%0x64<0xa||_0x1cf887%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1e7cb7=>{const {bs:{dictionary:_0x16ab70,getPluralForm:_0xf1480e}}={'bs':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x411846=>_0x411846%0xa==0x1&&_0x411846%0x64!=0xb?0x0:_0x411846%0xa>=0x2&&_0x411846%0xa<=0x4&&(_0x411846%0x64<0xa||_0x411846%0x64>=0x14)?0x1:0x2}};_0x1e7cb7['bs']||={'dictionary':{},'getPluralForm':null},_0x1e7cb7['bs']['dictionary']=Object['assign'](_0x1e7cb7['bs']['dictionary'],_0x16ab70),_0x1e7cb7['bs']['getPluralForm']=_0xf1480e;})(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':_0x55357b=>0x1!=_0x55357b}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe1678e=>{const {ca:{dictionary:_0x3bdb0c,getPluralForm:_0x11338d}}={'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':_0x4ad969=>0x1!=_0x4ad969}};_0xe1678e['ca']||={'dictionary':{},'getPluralForm':null},_0xe1678e['ca']['dictionary']=Object['assign'](_0xe1678e['ca']['dictionary'],_0x3bdb0c),_0xe1678e['ca']['getPluralForm']=_0x11338d;})(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':_0x8f62ad=>0x1==_0x8f62ad?0x0:_0x8f62ad>=0x2&&_0x8f62ad<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2e11ed=>{const {cs:{dictionary:_0x3ace6e,getPluralForm:_0x44a7be}}={'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':_0x20a57e=>0x1==_0x20a57e?0x0:_0x20a57e>=0x2&&_0x20a57e<=0x4?0x1:0x2}};_0x2e11ed['cs']||={'dictionary':{},'getPluralForm':null},_0x2e11ed['cs']['dictionary']=Object['assign'](_0x2e11ed['cs']['dictionary'],_0x3ace6e),_0x2e11ed['cs']['getPluralForm']=_0x44a7be;})(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':_0x13cbec=>0x1!=_0x13cbec}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x452626=>{const {da:{dictionary:_0x2e929c,getPluralForm:_0x4ff5c0}}={'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':_0x4611f3=>0x1!=_0x4611f3}};_0x452626['da']||={'dictionary':{},'getPluralForm':null},_0x452626['da']['dictionary']=Object['assign'](_0x452626['da']['dictionary'],_0x2e929c),_0x452626['da']['getPluralForm']=_0x4ff5c0;})(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':_0x429984=>0x1!=_0x429984}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e7e9a=>{const {'de-ch':{dictionary:_0x76717a,getPluralForm:_0x4a6c6b}}={'de-ch':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x139330=>0x1!=_0x139330}};_0x3e7e9a['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3e7e9a['de-ch']['dictionary']=Object['assign'](_0x3e7e9a['de-ch']['dictionary'],_0x76717a),_0x3e7e9a['de-ch']['getPluralForm']=_0x4a6c6b;})(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':_0x110dc1=>0x1!=_0x110dc1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d1c41=>{const {de:{dictionary:_0x15f3a8,getPluralForm:_0x59d047}}={'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':_0xf05753=>0x1!=_0xf05753}};_0x1d1c41['de']||={'dictionary':{},'getPluralForm':null},_0x1d1c41['de']['dictionary']=Object['assign'](_0x1d1c41['de']['dictionary'],_0x15f3a8),_0x1d1c41['de']['getPluralForm']=_0x59d047;})(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':_0x4e9908=>0x1!=_0x4e9908}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41d1d0=>{const {el:{dictionary:_0x5cda31,getPluralForm:_0x275b91}}={'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':_0x1006f9=>0x1!=_0x1006f9}};_0x41d1d0['el']||={'dictionary':{},'getPluralForm':null},_0x41d1d0['el']['dictionary']=Object['assign'](_0x41d1d0['el']['dictionary'],_0x5cda31),_0x41d1d0['el']['getPluralForm']=_0x275b91;})(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':_0x14b1c9=>0x1!=_0x14b1c9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4621ad=>{const {'en-au':{dictionary:_0x45550a,getPluralForm:_0x13bd3d}}={'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':_0x43a704=>0x1!=_0x43a704}};_0x4621ad['en-au']||={'dictionary':{},'getPluralForm':null},_0x4621ad['en-au']['dictionary']=Object['assign'](_0x4621ad['en-au']['dictionary'],_0x45550a),_0x4621ad['en-au']['getPluralForm']=_0x13bd3d;})(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':_0x4a4804=>0x1!=_0x4a4804}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x167f8e=>{const {'en-gb':{dictionary:_0x284b4c,getPluralForm:_0x2dff38}}={'en-gb':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x443064=>0x1!=_0x443064}};_0x167f8e['en-gb']||={'dictionary':{},'getPluralForm':null},_0x167f8e['en-gb']['dictionary']=Object['assign'](_0x167f8e['en-gb']['dictionary'],_0x284b4c),_0x167f8e['en-gb']['getPluralForm']=_0x2dff38;})(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':_0x4db7b5=>0x1!=_0x4db7b5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x32ae42=>{const {en:{dictionary:_0x11e127,getPluralForm:_0x5d400c}}={'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':_0x52320b=>0x1!=_0x52320b}};_0x32ae42['en']||={'dictionary':{},'getPluralForm':null},_0x32ae42['en']['dictionary']=Object['assign'](_0x32ae42['en']['dictionary'],_0x11e127),_0x32ae42['en']['getPluralForm']=_0x5d400c;})(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':_0x5b1646=>0x1!=_0x5b1646}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x44b7e0=>{const {eo:{dictionary:_0x1f1278,getPluralForm:_0x5e5c11}}={'eo':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0x4944d3=>0x1!=_0x4944d3}};_0x44b7e0['eo']||={'dictionary':{},'getPluralForm':null},_0x44b7e0['eo']['dictionary']=Object['assign'](_0x44b7e0['eo']['dictionary'],_0x1f1278),_0x44b7e0['eo']['getPluralForm']=_0x5e5c11;})(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':_0x595711=>0x1!=_0x595711}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x484742=>{const {'es-co':{dictionary:_0x5dd7c9,getPluralForm:_0x5d796b}}={'es-co':{'dictionary':{'Import\x20from\x20Word':'','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'','Importing\x20Word\x20document':''},'getPluralForm':_0xddf810=>0x1!=_0xddf810}};_0x484742['es-co']||={'dictionary':{},'getPluralForm':null},_0x484742['es-co']['dictionary']=Object['assign'](_0x484742['es-co']['dictionary'],_0x5dd7c9),_0x484742['es-co']['getPluralForm']=_0x5d796b;})(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':_0x5f0de1=>0x1!=_0x5f0de1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1d95f0=>{const {es:{dictionary:_0x172376,getPluralForm:_0x212dda}}={'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':_0x38c4fb=>0x1!=_0x38c4fb}};_0x1d95f0['es']||={'dictionary':{},'getPluralForm':null},_0x1d95f0['es']['dictionary']=Object['assign'](_0x1d95f0['es']['dictionary'],_0x172376),_0x1d95f0['es']['getPluralForm']=_0x212dda;})(window['CKEDITOR_TRANSLATIONS']||={});
|