@ckeditor/ckeditor5-import-word 41.3.0-alpha.2 → 41.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/package.json +2 -2
- 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/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,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")},260:(t,e,r)=>{t.exports=r(237)("./src/upload.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>I,ImportWordEditing:()=>h,ImportWordUI:()=>i});var t=r(782),e=r(311),n=r(260);class i extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor,r=t.t;t.ui.componentFactory.add("importWord",(o=>{const i=t.commands.get("importWord"),s=new n.FileDialogButtonView(o),a=new e.SpinnerView;return s.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),s.buttonView.set({label:r("Import from Word"),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',tooltip:!0}),s.buttonView.bind("isOn","isEnabled").to(i,"isBusy","isEnabled"),a.bind("isVisible").to(i,"isBusy"),s.buttonView.iconView.bind("isVisible").to(i,"isBusy",(t=>!t)),s.buttonView.children.add(a),s.on("done",((e,r)=>{t.execute("importWord",r[0],{}),t.editing.view.focus()})),s}))}}var s=r(331),a=r(783),
|
|
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")},260:(t,e,r)=>{t.exports=r(237)("./src/upload.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},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 o={};(()=>{"use strict";r.r(o),r.d(o,{ImportWord:()=>I,ImportWordEditing:()=>h,ImportWordUI:()=>i});var t=r(782),e=r(311),n=r(260);class i extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor,r=t.t;t.ui.componentFactory.add("importWord",(o=>{const i=t.commands.get("importWord"),s=new n.FileDialogButtonView(o),a=new e.SpinnerView;return s.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),s.buttonView.set({label:r("Import from Word"),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',tooltip:!0}),s.buttonView.bind("isOn","isEnabled").to(i,"isBusy","isEnabled"),a.bind("isVisible").to(i,"isBusy"),s.buttonView.iconView.bind("isVisible").to(i,"isBusy",(t=>!t)),s.buttonView.children.add(a),s.on("done",((e,r)=>{t.execute("importWord",r[0],{}),t.editing.view.focus()})),s}))}}var s=r(331),a=r(783),c=r(584);class l extends t.Command{constructor(t){super(t),this.set("isBusy",!1),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.on("dataInsert",((e,r)=>{const o=new DataTransfer;o.setData("text/html",r.html);const n=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(n),t.editing.view.document.fire("clipboardInput",{dataTransfer:o})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),o={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(o).then(this._handleImportResponse.bind(this)).catch(this._handleImportFailure.bind(this)).finally(this._cleanUpAfterImport.bind(this))}_checkEnabled(){if(this.isBusy)return!1;const t=this.editor.model,e=t.schema,r=t.document.selection,o=(0,c.first)(r.getSelectedBlocks());return!!o&&e.checkChild(o.parent,"paragraph")}_prepareForImport(){const t=this.editor,e=t.model,r=e.document.selection;this._abortController=new AbortController,this._undoStepBatch=t.model.createBatch({isUndoable:!0}),e.enqueueChange(this._undoStepBatch,(t=>{r.isCollapsed||e.deleteContent(r,{leaveUnmerged:!0});const o=r.getFirstPosition(),n=(0,c.first)(r.getSelectedBlocks());let i;i=n.is("element","paragraph")&&n.isEmpty?o:o.isAtStart?e.createPositionBefore(n):o.isAtEnd?e.createPositionAfter(n):t.split(o).position,this._importMarker=t.addMarker("importWord:"+(0,c.uid)(),{usingOperation:!1,affectsData:!1,range:new a.Range(i)}),this._importMarker.on("change:range",(()=>{"$graveyard"===this._importMarker.getRange().root.rootName&&this._abortController.abort()}))})),this.isBusy=!0,this.refresh()}_cleanUpAfterImport(){const t=this.editor.model;t.markers.has(this._importMarker)&&t.enqueueChange(this._undoStepBatch,(t=>{t.removeMarker(this._importMarker)})),this._importMarker=null,this._undoStepBatch=null,this._abortController=null,this.isBusy=!1,this.refresh()}_sendImportRequest({url:t,file:e,serviceConfig:r}){const o=this.editor.plugins.get("ImportWordEditing").getToken(),n=new FormData;n.set("config",JSON.stringify(r)),n.set("file",e);const i={method:"POST",headers:{},body:n,signal:this._abortController.signal};return o&&(i.headers.Authorization=o.value),fetch(t,i)}_handleImportResponse(t){return t.ok?t.json().then((t=>{this.editor.model.markers.has(this._importMarker)&&"$graveyard"!==this._importMarker.getRange().root.rootName&&this.fire("dataInsert",t)})):Promise.reject()}_handleImportFailure(){if(this._abortController.signal.aborted)return void(0,c.logWarning)("import-word-plugin-import-cancelled");const t=this.editor,e=(0,t.t)("An error occurred while importing the Word file.");t.plugins.get("Notification").showWarning(e),(0,c.logError)("import-word-plugin-conversion-failed")}}function p(){const t=["610828SRcftr","7HZdykz","get","registerTokenUrl","3610876qPsxNT","token","config","plugins","none","commands","editor","importWord","define","getToken","cloudServices","CloudServices","add","init","4094970ibzKUr","7381144mdUdmn","tokenUrl","279UxWMNi","5DnGDTo","2376120HcZJzA","_token","pluginName","requires","ImportWordEditing","https://docx-converter.cke-cs.com/v2/convert/docx-html","75130GErGiR","825915kvfqAj","inline"];return(p=function(){return t})()}function d(t,e){const r=p();return(d=function(t,e){return r[t-=228]})(t,e)}const u=d;!function(t,e){const r=d,o=t();for(;;)try{if(556185===-parseInt(r(251))/1+-parseInt(r(253))/2+parseInt(r(244))/3+-parseInt(r(257))/4*(-parseInt(r(243))/5)+parseInt(r(239))/6+parseInt(r(254))/7*(-parseInt(r(240))/8)+-parseInt(r(242))/9*(-parseInt(r(250))/10))break;o.push(o.shift())}catch(t){o.push(o.shift())}}(p);class h extends t.Plugin{static get[u(246)](){return u(248)}static get[u(247)](){const t=u;return[e.Notification,s.ClipboardPipeline,t(236)]}constructor(t){const e=u;super(t),this[e(245)]=null}async[u(238)](){const t=u,e=this[t(231)];e[t(259)][t(233)](t(232),{converterUrl:t(249),tokenUrl:(e[t(259)][t(255)](t(235))||{})[t(241)],formatting:{resets:t(229),defaults:t(229),styles:t(252)}}),e[t(230)][t(237)](t(232),new l(e));const{tokenUrl:r}=e[t(259)][t(255)](t(232));if(r){const{tokenUrl:o}=e[t(259)][t(255)](t(235))||{};this[t(245)]=r===o?e[t(228)][t(255)](t(236))[t(258)]:await e[t(228)][t(255)](t(236))[t(256)](r)}}[u(234)](){return this[u(245)]}}function m(t,e){var r=g();return(m=function(t,e){return r[t-=317]})(t,e)}var f=m;function g(){var t=["626250hSrzrF","7PisxVX","94LHBDBC","3723040OefQFC","pluginName","ImportWord","279lTIbsc","requires","520TVwrTI","1782636wGbogL","2212PJaHMi","3229120ClcElG","1005738AEZgbg"];return(g=function(){return t})()}!function(t,e){for(var r=m,o=t();;)try{if(602049===-parseInt(r(322))/1*(-parseInt(r(327))/2)+-parseInt(r(324))/3+parseInt(r(328))/4+-parseInt(r(325))/5+-parseInt(r(321))/6*(parseInt(r(326))/7)+-parseInt(r(320))/8*(-parseInt(r(318))/9)+parseInt(r(323))/10)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(g);class I extends t.Plugin{static get[f(329)](){return f(317)}static get[f(319)](){return[h,i]}}function v(t,e){var r=b();return(v=function(t,e){return r[t-=358]})(t,e)}function b(){var t=["618688jhHVzw","36741576gchNQM","965411eWmubu","5409066JfjGOi","1614936cnowxM","7693343lPeiYl","4509550BFggTU","8SHpOBP"];return(b=function(){return t})()}!function(t,e){for(var r=v,o=t();;)try{if(661152===parseInt(r(361))/1+parseInt(r(359))/2+-parseInt(r(363))/3*(-parseInt(r(358))/4)+parseInt(r(365))/5+parseInt(r(362))/6+parseInt(r(364))/7+-parseInt(r(360))/8)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(b)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
|
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.'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Import\x20from\x20Word':'استيراد\x20من\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'حدث\x20خطأ\x20أثناء\x20استيراد\x20ملف\x20Word.'},'getPluralForm':_0x4a4c12=>0x0==_0x4a4c12?0x0:0x1==_0x4a4c12?0x1:0x2==_0x4a4c12?0x2:_0x4a4c12%0x64>=0x3&&_0x4a4c12%0x64<=0xa?0x3:_0x4a4c12%0x64>=0xb&&_0x4a4c12%0x64<=0x63?0x4:0x5}};
|
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файла.'},'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файла.'},'getPluralForm':_0x4688c4=>0x1!=_0x4688c4}};
|
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ঘটেছে।'},'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ঘটেছে।'},'getPluralForm':_0x11fa17=>0x1!=_0x11fa17}};
|
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.'},'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.'},'getPluralForm':_0x2d1c56=>0x1!=_0x2d1c56}};
|
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ě.'},'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ě.'},'getPluralForm':_0x5008b6=>0x1==_0x5008b6&&_0x5008b6%0x1==0x0?0x0:_0x5008b6>=0x2&&_0x5008b6<=0x4&&_0x5008b6%0x1==0x0?0x1:_0x5008b6%0x1!=0x0?0x2:0x3}};
|
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.'},'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.'},'getPluralForm':_0x53cc74=>0x1!=_0x53cc74}};
|
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.'},'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.'},'getPluralForm':_0x409f9e=>0x1!=_0x409f9e}};
|
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.'},'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.'},'getPluralForm':_0x1da9d4=>0x1!=_0x1da9d4}};
|
|
@@ -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.'},'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.'},'getPluralForm':_0x26a1a7=>0x1!=_0x26a1a7}};
|
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.'},'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.'},'getPluralForm':_0x4a13ff=>0x1==_0x4a13ff?0x0:0x0!=_0x4a13ff&&_0x4a13ff%0xf4240==0x0?0x1:0x2}};
|
package/dist/translations/et.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.'},'getPluralForm':
|
|
23
|
+
export default{'et':{'dictionary':{'Import\x20from\x20Word':'Wordist\x20importimine','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordi\x20faili\x20importimisel\x20tekkis\x20viga.'},'getPluralForm':_0x3e3649=>0x1!=_0x3e3649}};
|
package/dist/translations/fi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.'},'getPluralForm':
|
|
23
|
+
export default{'fi':{'dictionary':{'Import\x20from\x20Word':'Tuo\x20Wordista','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word-tiedoston\x20tuomisessa\x20tapahtui\x20virhe.'},'getPluralForm':_0x382644=>0x1!=_0x382644}};
|
package/dist/translations/fr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'fr':{'dictionary':{'Import\x20from\x20Word':'Importer\x20depuis\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Une\x20erreur\x20s\x27est\x20produite\x20lors\x20de\x20l\x27importation\x20du\x20fichier\x20Word.'},'getPluralForm':_0x1c7022=>0x0==_0x1c7022||0x1==_0x1c7022?0x0:0x0!=_0x1c7022&&_0x1c7022%0xf4240==0x0?0x1:0x2}};
|
package/dist/translations/gl.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'gl':{'dictionary':{'Import\x20from\x20Word':'Importar\x20dende\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Produciuse\x20un\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20de\x20Word.'},'getPluralForm':_0x48e781=>0x1!=_0x48e781}};
|
package/dist/translations/he.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.'},'getPluralForm':
|
|
23
|
+
export default{'he':{'dictionary':{'Import\x20from\x20Word':'ייבוא\x20מ-Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'אירעה\x20שגיאה\x20בעת\x20ייבוא\x20קובץ\x20ה-Word.'},'getPluralForm':_0x398d22=>0x1==_0x398d22&&_0x398d22%0x1==0x0?0x0:0x2==_0x398d22&&_0x398d22%0x1==0x0?0x1:0x2}};
|
package/dist/translations/hi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'hi':{'dictionary':{'Import\x20from\x20Word':'वर्ड\x20से\x20इंपोर्ट\x20करें','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'वर्ड\x20फाइल\x20इंपोर्ट\x20करते\x20वक्त\x20एरर\x20हो\x20गया'},'getPluralForm':
|
|
23
|
+
export default{'hi':{'dictionary':{'Import\x20from\x20Word':'वर्ड\x20से\x20इंपोर्ट\x20करें','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'वर्ड\x20फाइल\x20इंपोर्ट\x20करते\x20वक्त\x20एरर\x20हो\x20गया'},'getPluralForm':_0x438d61=>0x1!=_0x438d61}};
|
package/dist/translations/hr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'hr':{'dictionary':{'Import\x20from\x20Word':'Uvoz\x20iz\x20Worda','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Dogodila\x20se\x20greška\x20prilikom\x20uvoza\x20iz\x20Worda'},'getPluralForm':
|
|
23
|
+
export default{'hr':{'dictionary':{'Import\x20from\x20Word':'Uvoz\x20iz\x20Worda','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Dogodila\x20se\x20greška\x20prilikom\x20uvoza\x20iz\x20Worda'},'getPluralForm':_0x259c7f=>_0x259c7f%0xa==0x1&&_0x259c7f%0x64!=0xb?0x0:_0x259c7f%0xa>=0x2&&_0x259c7f%0xa<=0x4&&(_0x259c7f%0x64<0xa||_0x259c7f%0x64>=0x14)?0x1:0x2}};
|
package/dist/translations/hu.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'hu':{'dictionary':{'Import\x20from\x20Word':'Importálás\x20Word\x20dokumentumból','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hiba\x20történt\x20a\x20Word\x20fájl\x20importálása\x20közben.'},'getPluralForm':
|
|
23
|
+
export default{'hu':{'dictionary':{'Import\x20from\x20Word':'Importálás\x20Word\x20dokumentumból','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Hiba\x20történt\x20a\x20Word\x20fájl\x20importálása\x20közben.'},'getPluralForm':_0x49bd4c=>0x1!=_0x49bd4c}};
|
package/dist/translations/id.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'id':{'dictionary':{'Import\x20from\x20Word':'Impor\x20dari\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Terjadi\x20kesalahan\x20saat\x20mengimpor\x20file\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'id':{'dictionary':{'Import\x20from\x20Word':'Impor\x20dari\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Terjadi\x20kesalahan\x20saat\x20mengimpor\x20file\x20Word.'},'getPluralForm':_0x55a970=>0x0}};
|
package/dist/translations/it.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'it':{'dictionary':{'Import\x20from\x20Word':'Importa\x20da\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Si\x20è\x20verificato\x20un\x20errore\x20durante\x20l\x27importazione\x20del\x20file\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'it':{'dictionary':{'Import\x20from\x20Word':'Importa\x20da\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Si\x20è\x20verificato\x20un\x20errore\x20durante\x20l\x27importazione\x20del\x20file\x20Word.'},'getPluralForm':_0x1a0f2e=>0x1==_0x1a0f2e?0x0:0x0!=_0x1a0f2e&&_0x1a0f2e%0xf4240==0x0?0x1:0x2}};
|
package/dist/translations/ja.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ja':{'dictionary':{'Import\x20from\x20Word':'Wordからインポート','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordフィアルのインポート中にエラーが発生しました'},'getPluralForm':
|
|
23
|
+
export default{'ja':{'dictionary':{'Import\x20from\x20Word':'Wordからインポート','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Wordフィアルのインポート中にエラーが発生しました'},'getPluralForm':_0x1cfd8e=>0x0}};
|
package/dist/translations/ko.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ko':{'dictionary':{'Import\x20from\x20Word':'Word에서\x20가져오기','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20파일을\x20가져오는\x20중\x20오류가\x20발생했습니다.'},'getPluralForm':
|
|
23
|
+
export default{'ko':{'dictionary':{'Import\x20from\x20Word':'Word에서\x20가져오기','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20파일을\x20가져오는\x20중\x20오류가\x20발생했습니다.'},'getPluralForm':_0x140405=>0x0}};
|
package/dist/translations/lt.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'lt':{'dictionary':{'Import\x20from\x20Word':'Importuoti\x20iš\x20,,Word\x27\x27','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Įvyko\x20klaida\x20importuojant\x20,,Word\x22\x20failą.'},'getPluralForm':
|
|
23
|
+
export default{'lt':{'dictionary':{'Import\x20from\x20Word':'Importuoti\x20iš\x20,,Word\x27\x27','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Įvyko\x20klaida\x20importuojant\x20,,Word\x22\x20failą.'},'getPluralForm':_0x14538b=>_0x14538b%0xa==0x1&&(_0x14538b%0x64>0x13||_0x14538b%0x64<0xb)?0x0:_0x14538b%0xa>=0x2&&_0x14538b%0xa<=0x9&&(_0x14538b%0x64>0x13||_0x14538b%0x64<0xb)?0x1:_0x14538b%0x1!=0x0?0x2:0x3}};
|
package/dist/translations/lv.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'lv':{'dictionary':{'Import\x20from\x20Word':'Importēt\x20no\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Importējot\x20Word\x20failu,\x20radās\x20kļūda'},'getPluralForm':
|
|
23
|
+
export default{'lv':{'dictionary':{'Import\x20from\x20Word':'Importēt\x20no\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Importējot\x20Word\x20failu,\x20radās\x20kļūda'},'getPluralForm':_0x1d66ce=>_0x1d66ce%0xa==0x1&&_0x1d66ce%0x64!=0xb?0x0:0x0!=_0x1d66ce?0x1:0x2}};
|
package/dist/translations/ms.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ms':{'dictionary':{'Import\x20from\x20Word':'Import\x20daripada\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ralat\x20berlaku\x20semasa\x20mengimport\x20fail\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'ms':{'dictionary':{'Import\x20from\x20Word':'Import\x20daripada\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ralat\x20berlaku\x20semasa\x20mengimport\x20fail\x20Word.'},'getPluralForm':_0x35b597=>0x0}};
|
package/dist/translations/nl.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'nl':{'dictionary':{'Import\x20from\x20Word':'Importeer\x20vanuit\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Er\x20is\x20een\x20fout\x20opgetreden\x20bij\x20het\x20importeren\x20van\x20het\x20Word-bestand.'},'getPluralForm':
|
|
23
|
+
export default{'nl':{'dictionary':{'Import\x20from\x20Word':'Importeer\x20vanuit\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Er\x20is\x20een\x20fout\x20opgetreden\x20bij\x20het\x20importeren\x20van\x20het\x20Word-bestand.'},'getPluralForm':_0x832c59=>0x1!=_0x832c59}};
|
package/dist/translations/no.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'no':{'dictionary':{'Import\x20from\x20Word':'Importer\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Det\x20oppstod\x20en\x20feil\x20ved\x20importering\x20av\x20Word-filen.'},'getPluralForm':
|
|
23
|
+
export default{'no':{'dictionary':{'Import\x20from\x20Word':'Importer\x20fra\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Det\x20oppstod\x20en\x20feil\x20ved\x20importering\x20av\x20Word-filen.'},'getPluralForm':_0x5bdee1=>0x1!=_0x5bdee1}};
|
package/dist/translations/pl.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'pl':{'dictionary':{'Import\x20from\x20Word':'Importuj\x20z\x20programu\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Podczas\x20importowania\x20pliku\x20z\x20programu\x20Word\x20wystąpił\x20błąd.'},'getPluralForm':
|
|
23
|
+
export default{'pl':{'dictionary':{'Import\x20from\x20Word':'Importuj\x20z\x20programu\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Podczas\x20importowania\x20pliku\x20z\x20programu\x20Word\x20wystąpił\x20błąd.'},'getPluralForm':_0x139a07=>0x1==_0x139a07?0x0:_0x139a07%0xa>=0x2&&_0x139a07%0xa<=0x4&&(_0x139a07%0x64<0xc||_0x139a07%0x64>0xe)?0x1:0x1!=_0x139a07&&_0x139a07%0xa>=0x0&&_0x139a07%0xa<=0x1||_0x139a07%0xa>=0x5&&_0x139a07%0xa<=0x9||_0x139a07%0x64>=0xc&&_0x139a07%0x64<=0xe?0x2:0x3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'pt-br':{'dictionary':{'Import\x20from\x20Word':'Importar\x20do\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ocorreu\x20um\x20erro\x20ao\x20importar\x20o\x20arquivo\x20do\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'pt-br':{'dictionary':{'Import\x20from\x20Word':'Importar\x20do\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ocorreu\x20um\x20erro\x20ao\x20importar\x20o\x20arquivo\x20do\x20Word.'},'getPluralForm':_0x4449b5=>0x0==_0x4449b5||0x1==_0x4449b5?0x0:0x0!=_0x4449b5&&_0x4449b5%0xf4240==0x0?0x1:0x2}};
|
package/dist/translations/pt.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'pt':{'dictionary':{'Import\x20from\x20Word':'Importar\x20do\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ocorreu\x20um\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'pt':{'dictionary':{'Import\x20from\x20Word':'Importar\x20do\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ocorreu\x20um\x20erro\x20ao\x20importar\x20o\x20ficheiro\x20Word.'},'getPluralForm':_0x4fdcdd=>0x0==_0x4fdcdd||0x1==_0x4fdcdd?0x0:0x0!=_0x4fdcdd&&_0x4fdcdd%0xf4240==0x0?0x1:0x2}};
|
package/dist/translations/ro.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ro':{'dictionary':{'Import\x20from\x20Word':'Importați\x20din\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'A\x20apărut\x20o\x20eroare\x20în\x20timpul\x20importării\x20fișierului\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'ro':{'dictionary':{'Import\x20from\x20Word':'Importați\x20din\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'A\x20apărut\x20o\x20eroare\x20în\x20timpul\x20importării\x20fișierului\x20Word.'},'getPluralForm':_0x124ac1=>0x1==_0x124ac1?0x0:_0x124ac1%0x64>0x13||_0x124ac1%0x64==0x0&&0x0!=_0x124ac1?0x2:0x1}};
|
package/dist/translations/ru.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ru':{'dictionary':{'Import\x20from\x20Word':'Импорт\x20из\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'При\x20импорте\x20файла\x20Word\x20произошла\x20ошибка.'},'getPluralForm':
|
|
23
|
+
export default{'ru':{'dictionary':{'Import\x20from\x20Word':'Импорт\x20из\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'При\x20импорте\x20файла\x20Word\x20произошла\x20ошибка.'},'getPluralForm':_0x2c3c44=>_0x2c3c44%0xa==0x1&&_0x2c3c44%0x64!=0xb?0x0:_0x2c3c44%0xa>=0x2&&_0x2c3c44%0xa<=0x4&&(_0x2c3c44%0x64<0xc||_0x2c3c44%0x64>0xe)?0x1:_0x2c3c44%0xa==0x0||_0x2c3c44%0xa>=0x5&&_0x2c3c44%0xa<=0x9||_0x2c3c44%0x64>=0xb&&_0x2c3c44%0x64<=0xe?0x2:0x3}};
|
package/dist/translations/sk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sk':{'dictionary':{'Import\x20from\x20Word':'Importovať\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Pri\x20importovaní\x20súboru\x20programu\x20Word\x20sa\x20vyskytla\x20chyba.'},'getPluralForm':
|
|
23
|
+
export default{'sk':{'dictionary':{'Import\x20from\x20Word':'Importovať\x20z\x20Wordu','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Pri\x20importovaní\x20súboru\x20programu\x20Word\x20sa\x20vyskytla\x20chyba.'},'getPluralForm':_0xae3ff4=>_0xae3ff4%0x1==0x0&&0x1==_0xae3ff4?0x0:_0xae3ff4%0x1==0x0&&_0xae3ff4>=0x2&&_0xae3ff4<=0x4?0x1:_0xae3ff4%0x1!=0x0?0x2:0x3}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr-latn':{'dictionary':{'Import\x20from\x20Word':'Uvezi\x20iz\x20word-a','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Došlo\x20je\x20do\x20greške\x20pri\x20uvozu\x20Word\x20datoteke.'},'getPluralForm':
|
|
23
|
+
export default{'sr-latn':{'dictionary':{'Import\x20from\x20Word':'Uvezi\x20iz\x20word-a','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Došlo\x20je\x20do\x20greške\x20pri\x20uvozu\x20Word\x20datoteke.'},'getPluralForm':_0x5dfc08=>_0x5dfc08%0xa==0x1&&_0x5dfc08%0x64!=0xb?0x0:_0x5dfc08%0xa>=0x2&&_0x5dfc08%0xa<=0x4&&(_0x5dfc08%0x64<0xa||_0x5dfc08%0x64>=0x14)?0x1:0x2}};
|
package/dist/translations/sr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sr':{'dictionary':{'Import\x20from\x20Word':'Увези\x20из\x20Ворд-а','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Дошло\x20је\x20до\x20грешке\x20при\x20увозу\x20Ворд\x20датотеке'},'getPluralForm':
|
|
23
|
+
export default{'sr':{'dictionary':{'Import\x20from\x20Word':'Увези\x20из\x20Ворд-а','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Дошло\x20је\x20до\x20грешке\x20при\x20увозу\x20Ворд\x20датотеке'},'getPluralForm':_0x5a52ce=>_0x5a52ce%0xa==0x1&&_0x5a52ce%0x64!=0xb?0x0:_0x5a52ce%0xa>=0x2&&_0x5a52ce%0xa<=0x4&&(_0x5a52ce%0x64<0xa||_0x5a52ce%0x64>=0x14)?0x1:0x2}};
|
package/dist/translations/sv.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'sv':{'dictionary':{'Import\x20from\x20Word':'Importera\x20från\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ett\x20fel\x20inträffade\x20vid\x20import\x20av\x20Word-filen.'},'getPluralForm':
|
|
23
|
+
export default{'sv':{'dictionary':{'Import\x20from\x20Word':'Importera\x20från\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Ett\x20fel\x20inträffade\x20vid\x20import\x20av\x20Word-filen.'},'getPluralForm':_0x15e079=>0x1!=_0x15e079}};
|
package/dist/translations/th.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'th':{'dictionary':{'Import\x20from\x20Word':'นำเข้าจาก\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'เกิดข้อผิดพลาดขณะนำเข้าไฟล์\x20Word'},'getPluralForm':
|
|
23
|
+
export default{'th':{'dictionary':{'Import\x20from\x20Word':'นำเข้าจาก\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'เกิดข้อผิดพลาดขณะนำเข้าไฟล์\x20Word'},'getPluralForm':_0x62b450=>0x0}};
|
package/dist/translations/tr.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'tr':{'dictionary':{'Import\x20from\x20Word':'Word\x27den\x20içe\x20aktar','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20dosyası\x20içe\x20aktarılırken\x20bir\x20hata\x20oluştu.'},'getPluralForm':
|
|
23
|
+
export default{'tr':{'dictionary':{'Import\x20from\x20Word':'Word\x27den\x20içe\x20aktar','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20dosyası\x20içe\x20aktarılırken\x20bir\x20hata\x20oluştu.'},'getPluralForm':_0x24079e=>_0x24079e>0x1}};
|
package/dist/translations/ug.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ug':{'dictionary':{'Import\x20from\x20Word':'Word\x20تىن\x20ئەكىر','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20ھۆججەتتىن\x20ئەكىرىۋاتقاندا\x20بىر\x20خاتالىق\x20كۆرۈلدى.'},'getPluralForm':
|
|
23
|
+
export default{'ug':{'dictionary':{'Import\x20from\x20Word':'Word\x20تىن\x20ئەكىر','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Word\x20ھۆججەتتىن\x20ئەكىرىۋاتقاندا\x20بىر\x20خاتالىق\x20كۆرۈلدى.'},'getPluralForm':_0x48f16c=>0x1!=_0x48f16c}};
|
package/dist/translations/uk.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'uk':{'dictionary':{'Import\x20from\x20Word':'Імпортувати\x20з\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Під\x20час\x20імпортування\x20файлу\x20Word\x20сталася\x20помилка.'},'getPluralForm':
|
|
23
|
+
export default{'uk':{'dictionary':{'Import\x20from\x20Word':'Імпортувати\x20з\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Під\x20час\x20імпортування\x20файлу\x20Word\x20сталася\x20помилка.'},'getPluralForm':_0x4bb0af=>_0x4bb0af%0x1==0x0&&_0x4bb0af%0xa==0x1&&_0x4bb0af%0x64!=0xb?0x0:_0x4bb0af%0x1==0x0&&_0x4bb0af%0xa>=0x2&&_0x4bb0af%0xa<=0x4&&(_0x4bb0af%0x64<0xc||_0x4bb0af%0x64>0xe)?0x1:_0x4bb0af%0x1==0x0&&(_0x4bb0af%0xa==0x0||_0x4bb0af%0xa>=0x5&&_0x4bb0af%0xa<=0x9||_0x4bb0af%0x64>=0xb&&_0x4bb0af%0x64<=0xe)?0x2:0x3}};
|
package/dist/translations/vi.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.'},'getPluralForm':
|
|
23
|
+
export default{'vi':{'dictionary':{'Import\x20from\x20Word':'Nhập\x20từ\x20Word','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'Đã\x20xảy\x20ra\x20lỗi\x20khi\x20nhập\x20tệp\x20Word.'},'getPluralForm':_0x136449=>0x0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。'},'getPluralForm':
|
|
23
|
+
export default{'zh-cn':{'dictionary':{'Import\x20from\x20Word':'从\x20Word\x20导入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'导入\x20Word\x20文件时出错了。'},'getPluralForm':_0x45d354=>0x0}};
|
package/dist/translations/zh.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。'},'getPluralForm':
|
|
23
|
+
export default{'zh':{'dictionary':{'Import\x20from\x20Word':'從\x20Word\x20匯入','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':'匯入\x20Word\x20檔時發生錯誤。'},'getPluralForm':_0x5ef405=>0x0}};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-import-word",
|
|
3
|
-
"version": "41.3.0-alpha.
|
|
3
|
+
"version": "41.3.0-alpha.3",
|
|
4
4
|
"description": "Import from Word feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "src/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ckeditor5": "41.3.0-alpha.
|
|
33
|
+
"ckeditor5": "41.3.0-alpha.3"
|
|
34
34
|
},
|
|
35
35
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
36
36
|
"author": "CKSource (https://cksource.com/)",
|
package/src/importword.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58f7(_0x51d084,_0x12dbd3){var _0x1620a8=_0x1620();return _0x58f7=function(_0x58f71c,_0x48b115){_0x58f71c=_0x58f71c-0x13d;var _0x3af2ed=_0x1620a8[_0x58f71c];return _0x3af2ed;},_0x58f7(_0x51d084,_0x12dbd3);}var _0x26f626=_0x58f7;function _0x1620(){var _0xc92da3=['626250hSrzrF','7PisxVX','94LHBDBC','3723040OefQFC','pluginName','ImportWord','279lTIbsc','requires','520TVwrTI','1782636wGbogL','2212PJaHMi','3229120ClcElG','1005738AEZgbg'];_0x1620=function(){return _0xc92da3;};return _0x1620();}(function(_0xc0369c,_0x535d0a){var _0x1b2b0e=_0x58f7,_0x580166=_0xc0369c();while(!![]){try{var _0x201a5d=-parseInt(_0x1b2b0e(0x142))/0x1*(-parseInt(_0x1b2b0e(0x147))/0x2)+-parseInt(_0x1b2b0e(0x144))/0x3+parseInt(_0x1b2b0e(0x148))/0x4+-parseInt(_0x1b2b0e(0x145))/0x5+-parseInt(_0x1b2b0e(0x141))/0x6*(parseInt(_0x1b2b0e(0x146))/0x7)+-parseInt(_0x1b2b0e(0x140))/0x8*(-parseInt(_0x1b2b0e(0x13e))/0x9)+parseInt(_0x1b2b0e(0x143))/0xa;if(_0x201a5d===_0x535d0a)break;else _0x580166['push'](_0x580166['shift']());}catch(_0x57b56b){_0x580166['push'](_0x580166['shift']());}}}(_0x1620,0x92fc1));import{Plugin as _0x570bab}from'ckeditor5/src/core.js';import _0x5c98cc from'./importwordui.js';import _0xb8a1c0 from'./importwordediting.js';export default class i extends _0x570bab{static get[_0x26f626(0x149)](){var _0x309bc2=_0x26f626;return _0x309bc2(0x13d);}static get[_0x26f626(0x13f)](){return[_0xb8a1c0,_0x5c98cc];}}
|
package/src/importwordcommand.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as
|
|
23
|
+
import{Command as _0x56cb66}from'ckeditor5/src/core.js';import{Range as _0x5d76c0}from'ckeditor5/src/engine.js';import{logWarning as _0x157af2,logError as _0x384010,first as _0x5b912d,uid as _0x1daf1b}from'ckeditor5/src/utils.js';export default class d extends _0x56cb66{constructor(_0x5a7a1d){super(_0x5a7a1d),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x589f3f,_0x5c0c82)=>{const _0x430a5e=new DataTransfer();_0x430a5e['setData']('text/html',_0x5c0c82['html']);const _0x155aa9=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x44d3f8=>{this['_importMarker']['stopListening'](),_0x44d3f8['setSelection'](_0x155aa9),_0x5a7a1d['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x430a5e});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x2f870b,_0x229f0f={}){if(this['isBusy'])return Promise['resolve']();const _0x1ac84b=this['editor']['config']['get']('importWord'),_0x161aeb={'url':_0x1ac84b['converterUrl'],'file':_0x2f870b,'serviceConfig':{..._0x229f0f,'formatting':_0x1ac84b['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x161aeb)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x2ce570=this['editor']['model'],_0x30a616=_0x2ce570['schema'],_0x235e1d=_0x2ce570['document']['selection'],_0x3d6802=_0x5b912d(_0x235e1d['getSelectedBlocks']());return!!_0x3d6802&&_0x30a616['checkChild'](_0x3d6802['parent'],'paragraph');}['_prepareForImport'](){const _0x331fb1=this['editor'],_0x327b68=_0x331fb1['model'],_0x5cc501=_0x327b68['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x331fb1['model']['createBatch']({'isUndoable':!0x0}),_0x327b68['enqueueChange'](this['_undoStepBatch'],_0x42136d=>{_0x5cc501['isCollapsed']||_0x327b68['deleteContent'](_0x5cc501,{'leaveUnmerged':!0x0});const _0x318519=_0x5cc501['getFirstPosition'](),_0x46c2ab=_0x5b912d(_0x5cc501['getSelectedBlocks']());let _0x577b76;_0x577b76=_0x46c2ab['is']('element','paragraph')&&_0x46c2ab['isEmpty']?_0x318519:_0x318519['isAtStart']?_0x327b68['createPositionBefore'](_0x46c2ab):_0x318519['isAtEnd']?_0x327b68['createPositionAfter'](_0x46c2ab):_0x42136d['split'](_0x318519)['position'],this['_importMarker']=_0x42136d['addMarker']('importWord:'+_0x1daf1b(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5d76c0(_0x577b76)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x183478=this['editor']['model'];_0x183478['markers']['has'](this['_importMarker'])&&_0x183478['enqueueChange'](this['_undoStepBatch'],_0x381260=>{_0x381260['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x3e3d4c,file:_0x4307d2,serviceConfig:_0x2446e2}){const _0x18dc02=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0xbb41c8=new FormData();_0xbb41c8['set']('config',JSON['stringify'](_0x2446e2)),_0xbb41c8['set']('file',_0x4307d2);const _0x44bf9a={'method':'POST','headers':{},'body':_0xbb41c8,'signal':this['_abortController']['signal']};return _0x18dc02&&(_0x44bf9a['headers']['Authorization']=_0x18dc02['value']),fetch(_0x3e3d4c,_0x44bf9a);}['_handleImportResponse'](_0x30da08){return _0x30da08['ok']?_0x30da08['json']()['then'](_0x12ee69=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x12ee69);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x157af2('import-word-plugin-import-cancelled');const _0x702a5c=this['editor'],_0xd876e9=(0x0,_0x702a5c['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x702a5c['plugins']['get']('Notification')['showWarning'](_0xd876e9),_0x384010('import-word-plugin-conversion-failed');}}
|
package/src/importwordediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1d03(){const _0x12dfa4=['610828SRcftr','7HZdykz','get','registerTokenUrl','3610876qPsxNT','token','config','plugins','none','commands','editor','importWord','define','getToken','cloudServices','CloudServices','add','init','4094970ibzKUr','7381144mdUdmn','tokenUrl','279UxWMNi','5DnGDTo','2376120HcZJzA','_token','pluginName','requires','ImportWordEditing','https://docx-converter.cke-cs.com/v2/convert/docx-html','75130GErGiR','825915kvfqAj','inline'];_0x1d03=function(){return _0x12dfa4;};return _0x1d03();}function _0x18da(_0x1d811f,_0x34174a){const _0x1d039c=_0x1d03();return _0x18da=function(_0x18da4f,_0x2caae3){_0x18da4f=_0x18da4f-0xe4;let _0x496876=_0x1d039c[_0x18da4f];return _0x496876;},_0x18da(_0x1d811f,_0x34174a);}const _0x24a930=_0x18da;(function(_0x3e3f97,_0x47d5c1){const _0x44a426=_0x18da,_0x1b2403=_0x3e3f97();while(!![]){try{const _0x4b1112=-parseInt(_0x44a426(0xfb))/0x1+-parseInt(_0x44a426(0xfd))/0x2+parseInt(_0x44a426(0xf4))/0x3+-parseInt(_0x44a426(0x101))/0x4*(-parseInt(_0x44a426(0xf3))/0x5)+parseInt(_0x44a426(0xef))/0x6+parseInt(_0x44a426(0xfe))/0x7*(-parseInt(_0x44a426(0xf0))/0x8)+-parseInt(_0x44a426(0xf2))/0x9*(-parseInt(_0x44a426(0xfa))/0xa);if(_0x4b1112===_0x47d5c1)break;else _0x1b2403['push'](_0x1b2403['shift']());}catch(_0x554504){_0x1b2403['push'](_0x1b2403['shift']());}}}(_0x1d03,0x87c99));import{Plugin as _0x5ef3b5}from'ckeditor5/src/core.js';import{Notification as _0x1cb302}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0xc1cd56}from'ckeditor5/src/clipboard.js';import _0x411f5c from'./importwordcommand.js';export default class e extends _0x5ef3b5{static get[_0x24a930(0xf6)](){const _0x1aa0a5=_0x24a930;return _0x1aa0a5(0xf8);}static get[_0x24a930(0xf7)](){const _0x4ec28a=_0x24a930;return[_0x1cb302,_0xc1cd56,_0x4ec28a(0xec)];}constructor(_0x1a4da6){const _0x1ee21b=_0x24a930;super(_0x1a4da6),this[_0x1ee21b(0xf5)]=null;}async[_0x24a930(0xee)](){const _0x11443e=_0x24a930,_0x130dc9=this[_0x11443e(0xe7)];_0x130dc9[_0x11443e(0x103)][_0x11443e(0xe9)](_0x11443e(0xe8),{'converterUrl':_0x11443e(0xf9),'tokenUrl':(_0x130dc9[_0x11443e(0x103)][_0x11443e(0xff)](_0x11443e(0xeb))||{})[_0x11443e(0xf1)],'formatting':{'resets':_0x11443e(0xe5),'defaults':_0x11443e(0xe5),'styles':_0x11443e(0xfc)}}),_0x130dc9[_0x11443e(0xe6)][_0x11443e(0xed)](_0x11443e(0xe8),new _0x411f5c(_0x130dc9));const {tokenUrl:_0x32fbc7}=_0x130dc9[_0x11443e(0x103)][_0x11443e(0xff)](_0x11443e(0xe8));if(_0x32fbc7){const {tokenUrl:_0x5df02a}=_0x130dc9[_0x11443e(0x103)][_0x11443e(0xff)](_0x11443e(0xeb))||{};this[_0x11443e(0xf5)]=_0x32fbc7===_0x5df02a?_0x130dc9[_0x11443e(0xe4)][_0x11443e(0xff)](_0x11443e(0xec))[_0x11443e(0x102)]:await _0x130dc9[_0x11443e(0xe4)][_0x11443e(0xff)](_0x11443e(0xec))[_0x11443e(0x100)](_0x32fbc7);}}[_0x24a930(0xea)](){const _0x5f069a=_0x24a930;return this[_0x5f069a(0xf5)];}}
|
package/src/importwordui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as
|
|
23
|
+
import{Plugin as _0x23837e}from'ckeditor5/src/core.js';import{SpinnerView as _0x5c40a1}from'ckeditor5/src/ui.js';import{FileDialogButtonView as _0xa49926}from'ckeditor5/src/upload.js';import _0x56d8e6 from'../theme/icons/importword.svg';export default class o extends _0x23837e{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x2476a4=this['editor'],t=_0x2476a4['t'];_0x2476a4['ui']['componentFactory']['add']('importWord',_0x1809c7=>{const _0x39effa=_0x2476a4['commands']['get']('importWord'),_0x23039d=new _0xa49926(_0x1809c7),_0x1424d3=new _0x5c40a1();return _0x23039d['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x23039d['buttonView']['set']({'label':t('Import\x20from\x20Word'),'icon':_0x56d8e6,'tooltip':!0x0}),_0x23039d['buttonView']['bind']('isOn','isEnabled')['to'](_0x39effa,'isBusy','isEnabled'),_0x1424d3['bind']('isVisible')['to'](_0x39effa,'isBusy'),_0x23039d['buttonView']['iconView']['bind']('isVisible')['to'](_0x39effa,'isBusy',_0x4bb9f5=>!_0x4bb9f5),_0x23039d['buttonView']['children']['add'](_0x1424d3),_0x23039d['on']('done',(_0x91658b,_0x597160)=>{_0x2476a4['execute']('importWord',_0x597160[0x0],{}),_0x2476a4['editing']['view']['focus']();}),_0x23039d;});}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x348867,_0x3355d5){var _0x333285=_0x5011,_0x547bd3=_0x348867();while(!![]){try{var _0x4ef70c=parseInt(_0x333285(0x169))/0x1+parseInt(_0x333285(0x167))/0x2+-parseInt(_0x333285(0x16b))/0x3*(-parseInt(_0x333285(0x166))/0x4)+parseInt(_0x333285(0x16d))/0x5+parseInt(_0x333285(0x16a))/0x6+parseInt(_0x333285(0x16c))/0x7+-parseInt(_0x333285(0x168))/0x8;if(_0x4ef70c===_0x3355d5)break;else _0x547bd3['push'](_0x547bd3['shift']());}catch(_0x4f0881){_0x547bd3['push'](_0x547bd3['shift']());}}}(_0x4c5e,0xa16a0));function _0x5011(_0x815b3d,_0x371c36){var _0x4c5eff=_0x4c5e();return _0x5011=function(_0x5011fc,_0x59e922){_0x5011fc=_0x5011fc-0x166;var _0x1bf966=_0x4c5eff[_0x5011fc];return _0x1bf966;},_0x5011(_0x815b3d,_0x371c36);}export{default as ImportWord}from'./importword.js';function _0x4c5e(){var _0x42b222=['618688jhHVzw','36741576gchNQM','965411eWmubu','5409066JfjGOi','1614936cnowxM','7693343lPeiYl','4509550BFggTU','8SHpOBP'];_0x4c5e=function(){return _0x42b222;};return _0x4c5e();}export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';
|