@ckeditor/ckeditor5-import-word 41.3.0-alpha.4 → 41.3.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.
Files changed (104) hide show
  1. package/build/import-word.js +1 -1
  2. package/package.json +2 -3
  3. package/src/importword.js +1 -1
  4. package/src/importwordcommand.js +1 -1
  5. package/src/importwordediting.js +1 -1
  6. package/src/importwordui.js +1 -1
  7. package/src/index.js +1 -1
  8. package/dist/content-index.css +0 -4
  9. package/dist/editor-index.css +0 -4
  10. package/dist/index.css +0 -4
  11. package/dist/translations/ar.d.ts +0 -8
  12. package/dist/translations/ar.js +0 -23
  13. package/dist/translations/bg.d.ts +0 -8
  14. package/dist/translations/bg.js +0 -23
  15. package/dist/translations/bn.d.ts +0 -8
  16. package/dist/translations/bn.js +0 -23
  17. package/dist/translations/ca.d.ts +0 -8
  18. package/dist/translations/ca.js +0 -23
  19. package/dist/translations/cs.d.ts +0 -8
  20. package/dist/translations/cs.js +0 -23
  21. package/dist/translations/da.d.ts +0 -8
  22. package/dist/translations/da.js +0 -23
  23. package/dist/translations/de.d.ts +0 -8
  24. package/dist/translations/de.js +0 -23
  25. package/dist/translations/el.d.ts +0 -8
  26. package/dist/translations/el.js +0 -23
  27. package/dist/translations/en-au.d.ts +0 -8
  28. package/dist/translations/en-au.js +0 -23
  29. package/dist/translations/en.d.ts +0 -8
  30. package/dist/translations/en.js +0 -23
  31. package/dist/translations/es.d.ts +0 -8
  32. package/dist/translations/es.js +0 -23
  33. package/dist/translations/et.d.ts +0 -8
  34. package/dist/translations/et.js +0 -23
  35. package/dist/translations/fi.d.ts +0 -8
  36. package/dist/translations/fi.js +0 -23
  37. package/dist/translations/fr.d.ts +0 -8
  38. package/dist/translations/fr.js +0 -23
  39. package/dist/translations/gl.d.ts +0 -8
  40. package/dist/translations/gl.js +0 -23
  41. package/dist/translations/he.d.ts +0 -8
  42. package/dist/translations/he.js +0 -23
  43. package/dist/translations/hi.d.ts +0 -8
  44. package/dist/translations/hi.js +0 -23
  45. package/dist/translations/hr.d.ts +0 -8
  46. package/dist/translations/hr.js +0 -23
  47. package/dist/translations/hu.d.ts +0 -8
  48. package/dist/translations/hu.js +0 -23
  49. package/dist/translations/id.d.ts +0 -8
  50. package/dist/translations/id.js +0 -23
  51. package/dist/translations/it.d.ts +0 -8
  52. package/dist/translations/it.js +0 -23
  53. package/dist/translations/ja.d.ts +0 -8
  54. package/dist/translations/ja.js +0 -23
  55. package/dist/translations/ko.d.ts +0 -8
  56. package/dist/translations/ko.js +0 -23
  57. package/dist/translations/lt.d.ts +0 -8
  58. package/dist/translations/lt.js +0 -23
  59. package/dist/translations/lv.d.ts +0 -8
  60. package/dist/translations/lv.js +0 -23
  61. package/dist/translations/ms.d.ts +0 -8
  62. package/dist/translations/ms.js +0 -23
  63. package/dist/translations/nl.d.ts +0 -8
  64. package/dist/translations/nl.js +0 -23
  65. package/dist/translations/no.d.ts +0 -8
  66. package/dist/translations/no.js +0 -23
  67. package/dist/translations/pl.d.ts +0 -8
  68. package/dist/translations/pl.js +0 -23
  69. package/dist/translations/pt-br.d.ts +0 -8
  70. package/dist/translations/pt-br.js +0 -23
  71. package/dist/translations/pt.d.ts +0 -8
  72. package/dist/translations/pt.js +0 -23
  73. package/dist/translations/ro.d.ts +0 -8
  74. package/dist/translations/ro.js +0 -23
  75. package/dist/translations/ru.d.ts +0 -8
  76. package/dist/translations/ru.js +0 -23
  77. package/dist/translations/sk.d.ts +0 -8
  78. package/dist/translations/sk.js +0 -23
  79. package/dist/translations/sr-latn.d.ts +0 -8
  80. package/dist/translations/sr-latn.js +0 -23
  81. package/dist/translations/sr.d.ts +0 -8
  82. package/dist/translations/sr.js +0 -23
  83. package/dist/translations/sv.d.ts +0 -8
  84. package/dist/translations/sv.js +0 -23
  85. package/dist/translations/th.d.ts +0 -8
  86. package/dist/translations/th.js +0 -23
  87. package/dist/translations/tr.d.ts +0 -8
  88. package/dist/translations/tr.js +0 -23
  89. package/dist/translations/ug.d.ts +0 -8
  90. package/dist/translations/ug.js +0 -23
  91. package/dist/translations/uk.d.ts +0 -8
  92. package/dist/translations/uk.js +0 -23
  93. package/dist/translations/vi.d.ts +0 -8
  94. package/dist/translations/vi.js +0 -23
  95. package/dist/translations/zh-cn.d.ts +0 -8
  96. package/dist/translations/zh-cn.js +0 -23
  97. package/dist/translations/zh.d.ts +0 -8
  98. package/dist/translations/zh.js +0 -23
  99. package/dist/types/augmentation.d.ts +0 -27
  100. package/dist/types/importword.d.ts +0 -128
  101. package/dist/types/importwordcommand.d.ts +0 -58
  102. package/dist/types/importwordediting.d.ts +0 -43
  103. package/dist/types/importwordui.d.ts +0 -26
  104. package/dist/types/index.d.ts +0 -16
@@ -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(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{ImportWord:()=>I,ImportWordEditing:()=>h,ImportWordUI:()=>i});var t=r(782),e=r(311),o=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",(n=>{const i=t.commands.get("importWord"),s=new o.FileDialogButtonView(n),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),p=r(584);class c 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 n=new DataTransfer;n.setData("text/html",r.html);const o=this._importMarker.getRange();this.editor.model.enqueueChange(this._undoStepBatch,(e=>{this._importMarker.stopListening(),e.setSelection(o),t.editing.view.document.fire("clipboardInput",{dataTransfer:n})}))}),{priority:"low"})}refresh(){this.isEnabled=this._checkEnabled()}execute(t,e={}){if(this.isBusy)return Promise.resolve();const r=this.editor.config.get("importWord"),n={url:r.converterUrl,file:t,serviceConfig:{...e,formatting:r.formatting}};return this._prepareForImport(),this._sendImportRequest(n).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,n=(0,p.first)(r.getSelectedBlocks());return!!n&&e.checkChild(n.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 n=r.getFirstPosition(),o=(0,p.first)(r.getSelectedBlocks());let i;i=o.is("element","paragraph")&&o.isEmpty?n:n.isAtStart?e.createPositionBefore(o):n.isAtEnd?e.createPositionAfter(o):t.split(n).position,this._importMarker=t.addMarker("importWord:"+(0,p.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 n=this.editor.plugins.get("ImportWordEditing").getToken(),o=new FormData;o.set("config",JSON.stringify(r)),o.set("file",e);const i={method:"POST",headers:{},body:o,signal:this._abortController.signal};return n&&(i.headers.Authorization=n.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,p.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,p.logError)("import-word-plugin-conversion-failed")}}function l(){const t=["1589245XcMgen","9410797HpmOvp","28YVbrLZ","getToken","CloudServices","cloudServices","5sbBiuG","1OxNITj","796214izQaaX","registerTokenUrl","config","3621066kJJuWO","_token","define","9QzKgcy","add","editor","3635512naUAlf","pluginName","importWord","get","none","165327mQQMJf","plugins","ImportWordEditing","inline","commands","https://docx-converter.cke-cs.com/v2/convert/docx-html","tokenUrl","init","requires","4825500PSHYPN","36DxzEmm","token"];return(l=function(){return t})()}const d=u;function u(t,e){const r=l();return(u=function(t,e){return r[t-=235]})(t,e)}!function(t,e){const r=u,n=t();for(;;)try{if(469246===parseInt(r(255))/1*(-parseInt(r(256))/2)+-parseInt(r(236))/3*(parseInt(r(250))/4)+parseInt(r(254))/5*(-parseInt(r(259))/6)+parseInt(r(248))/7+-parseInt(r(265))/8*(parseInt(r(262))/9)+-parseInt(r(245))/10+-parseInt(r(249))/11*(-parseInt(r(246))/12))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(l);class h extends t.Plugin{static get[d(266)](){return d(238)}static get[d(244)](){const t=d;return[e.Notification,s.ClipboardPipeline,t(252)]}constructor(t){const e=d;super(t),this[e(260)]=null}async[d(243)](){const t=d,e=this[t(264)];e[t(258)][t(261)](t(267),{converterUrl:t(241),tokenUrl:(e[t(258)][t(268)](t(253))||{})[t(242)],formatting:{resets:t(235),defaults:t(235),styles:t(239)}}),e[t(240)][t(263)](t(267),new c(e));const{tokenUrl:r}=e[t(258)][t(268)](t(267));if(r){const{tokenUrl:n}=e[t(258)][t(268)](t(253))||{};this[t(260)]=r===n?e[t(237)][t(268)](t(252))[t(247)]:await e[t(237)][t(268)](t(252))[t(257)](r)}}[d(251)](){return this[d(260)]}}var m=g;function f(){var t=["353358roMguv","requires","12mnCAQv","5957304YIoTiH","ImportWord","486206jscOAY","111505EREayS","16809859hTHfao","237090cpEXJU","474862TPvwNa","66mLNVsk","72yeyBCk","3CAVmDW","pluginName"];return(f=function(){return t})()}function g(t,e){var r=f();return(g=function(t,e){return r[t-=262]})(t,e)}!function(t,e){for(var r=g,n=t();;)try{if(401484===parseInt(r(275))/1+-parseInt(r(266))/2*(parseInt(r(264))/3)+-parseInt(r(268))/4*(parseInt(r(272))/5)+-parseInt(r(262))/6*(-parseInt(r(271))/7)+parseInt(r(269))/8+-parseInt(r(263))/9*(-parseInt(r(274))/10)+-parseInt(r(273))/11)break;n.push(n.shift())}catch(t){n.push(n.shift())}}(f);class I extends t.Plugin{static get[m(265)](){return m(270)}static get[m(267)](){return[h,i]}}function v(t,e){var r=b();return(v=function(t,e){return r[t-=303]})(t,e)}function b(){var t=["68040IDqNQM","4934433YEouUW","4051830ZOCOUh","1143hLxqbS","10tBSuAi","5102pizbTN","644948dKLoQT","73eVlIcp","46150247Vnicbr","18wukElO","8010252CyNTBZ"];return(b=function(){return t})()}!function(t,e){for(var r=v,n=t();;)try{if(893654===-parseInt(r(313))/1*(-parseInt(r(311))/2)+-parseInt(r(304))/3*(parseInt(r(312))/4)+-parseInt(r(308))/5+-parseInt(r(305))/6+parseInt(r(307))/7+parseInt(r(306))/8*(-parseInt(r(309))/9)+-parseInt(r(310))/10*(-parseInt(r(303))/11))break;n.push(n.shift())}catch(t){n.push(n.shift())}}(b)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=n})();
5
+ */(()=>{var t={331:(t,e,r)=>{t.exports=r(237)("./src/clipboard.js")},782:(t,e,r)=>{t.exports=r(237)("./src/core.js")},783:(t,e,r)=>{t.exports=r(237)("./src/engine.js")},311:(t,e,r)=>{t.exports=r(237)("./src/ui.js")},584:(t,e,r)=>{t.exports=r(237)("./src/utils.js")},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(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:()=>f,ImportWordEditing:()=>u,ImportWordUI:()=>n});var t=r(782),e=r(311);class n extends t.Plugin{static get pluginName(){return"ImportWordUI"}init(){const t=this.editor;t.ui.componentFactory.add("importWord",(()=>{const r=this._createButton(e.FileDialogButtonView),o=t.commands.get("importWord");return r.bind("isOn").to(o,"isBusy"),r.tooltip=!0,r})),t.ui.componentFactory.add("menuBar:importWord",(()=>this._createButton(e.MenuBarMenuListItemFileDialogButtonView)))}_createButton(t){const r=this.editor,o=r.locale.t,n=r.commands.get("importWord"),i=new t(r.locale),s=new e.SpinnerView;return i.set({acceptedType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template"}),i.set({label:o("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'}),i.bind("isEnabled").to(n),s.bind("isVisible").to(n,"isBusy"),i.iconView.bind("isVisible").to(n,"isBusy",(t=>!t)),i.children.add(s),i.on("done",((t,e)=>{r.execute("importWord",e[0],{}),r.editing.view.focus()})),i}}var i=r(331),s=r(783),a=r(584);class c 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,a.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,a.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,a.uid)(),{usingOperation:!1,affectsData:!1,range:new s.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,a.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,a.logError)("import-word-plugin-conversion-failed")}}const p=d;function l(){const t=["7680726LcpoMS","pluginName","6mrvaKU","519187MGTAuZ","ImportWordEditing","5492100kVuzao","config","token","2PVwsnk","CloudServices","get","none","140776MwvWal","16819VIUWpy","add","inline","init","7630PFclZx","importWord","https://docx-converter.cke-cs.com/v2/convert/docx-html","commands","6947227ATdkbq","6TgLQEA","editor","_token","23737512UbFkAH","8jrTfWc","cloudServices","plugins","requires","registerTokenUrl","define","tokenUrl","getToken"];return(l=function(){return t})()}function d(t,e){const r=l();return(d=function(t,e){return r[t-=440]})(t,e)}!function(t,e){const r=d,o=t();for(;;)try{if(649257===-parseInt(r(460))/1*(-parseInt(r(465))/2)+parseInt(r(445))/3*(-parseInt(r(469))/4)+-parseInt(r(462))/5+parseInt(r(459))/6*(-parseInt(r(444))/7)+-parseInt(r(449))/8*(parseInt(r(457))/9)+-parseInt(r(440))/10*(-parseInt(r(470))/11)+parseInt(r(448))/12)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(l);class u extends t.Plugin{static get[p(458)](){return p(461)}static get[p(452)](){const t=p;return[e.Notification,i.ClipboardPipeline,t(466)]}constructor(t){const e=p;super(t),this[e(447)]=null}async[p(473)](){const t=p,e=this[t(446)];e[t(463)][t(454)](t(441),{converterUrl:t(442),tokenUrl:(e[t(463)][t(467)](t(450))||{})[t(455)],formatting:{resets:t(468),defaults:t(468),styles:t(472)}}),e[t(443)][t(471)](t(441),new c(e));const{tokenUrl:r}=e[t(463)][t(467)](t(441));if(r){const{tokenUrl:o}=e[t(463)][t(467)](t(450))||{};this[t(447)]=r===o?e[t(451)][t(467)](t(466))[t(464)]:await e[t(451)][t(467)](t(466))[t(453)](r)}}[p(456)](){return this[p(447)]}}function h(){var t=["1152422bePpQZ","357387wPmLxh","28563315tLCRPi","30DJoYeF","535105SDPGHk","pluginName","requires","1265661gTNwDx","44mApJVj","ImportWord","1043HcXCSB","2208912KticxT","4LIpsjB","8328yywpvD"];return(h=function(){return t})()}function m(t,e){var r=h();return(m=function(t,e){return r[t-=470]})(t,e)}var g=m;!function(t,e){for(var r=m,o=t();;)try{if(606176===parseInt(r(483))/1+-parseInt(r(481))/2*(-parseInt(r(470))/3)+parseInt(r(477))/4*(parseInt(r(473))/5)+parseInt(r(480))/6+-parseInt(r(479))/7*(parseInt(r(482))/8)+-parseInt(r(476))/9*(-parseInt(r(472))/10)+-parseInt(r(471))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(h);class f extends t.Plugin{static get[g(474)](){return g(478)}static get[g(475)](){return[u,n]}}function I(){var t=["18506213qETZWP","150WGmhZh","984kBJIkb","10377CRLrET","3700BXhctK","24606vGGYlY","6308190hwiHpr","100675YbTarx","70PquJiE","3544TiBdEb","6456840PDzwEg"];return(I=function(){return t})()}function v(t,e){var r=I();return(v=function(t,e){return r[t-=130]})(t,e)}!function(t,e){for(var r=v,o=t();;)try{if(692774===parseInt(r(130))/1*(parseInt(r(134))/2)+parseInt(r(140))/3*(parseInt(r(139))/4)+parseInt(r(133))/5*(-parseInt(r(138))/6)+-parseInt(r(132))/7+-parseInt(r(135))/8*(parseInt(r(131))/9)+parseInt(r(136))/10+parseInt(r(137))/11)break;o.push(o.shift())}catch(t){o.push(o.shift())}}(I)})(),(window.CKEditor5=window.CKEditor5||{}).importWord=o})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-import-word",
3
- "version": "41.3.0-alpha.4",
3
+ "version": "41.3.0",
4
4
  "description": "Import from Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,14 +30,13 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "ckeditor5": "41.3.0-alpha.4"
33
+ "ckeditor5": "41.3.0"
34
34
  },
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "author": "CKSource (https://cksource.com/)",
37
37
  "homepage": "https://ckeditor.com/ckeditor-5",
38
38
  "bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
39
39
  "files": [
40
- "dist",
41
40
  "lang",
42
41
  "src/**/*.js",
43
42
  "src/**/*.d.ts",
package/src/importword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf5ef2a=_0x3275;function _0x24b1(){var _0x130c97=['353358roMguv','requires','12mnCAQv','5957304YIoTiH','ImportWord','486206jscOAY','111505EREayS','16809859hTHfao','237090cpEXJU','474862TPvwNa','66mLNVsk','72yeyBCk','3CAVmDW','pluginName'];_0x24b1=function(){return _0x130c97;};return _0x24b1();}function _0x3275(_0x13cf13,_0x2122c8){var _0x24b197=_0x24b1();return _0x3275=function(_0x3275b6,_0x1f5cef){_0x3275b6=_0x3275b6-0x106;var _0x241ab5=_0x24b197[_0x3275b6];return _0x241ab5;},_0x3275(_0x13cf13,_0x2122c8);}(function(_0x2921d5,_0x1a5adc){var _0x3548f2=_0x3275,_0x4a80a3=_0x2921d5();while(!![]){try{var _0x3acc91=parseInt(_0x3548f2(0x113))/0x1+-parseInt(_0x3548f2(0x10a))/0x2*(parseInt(_0x3548f2(0x108))/0x3)+-parseInt(_0x3548f2(0x10c))/0x4*(parseInt(_0x3548f2(0x110))/0x5)+-parseInt(_0x3548f2(0x106))/0x6*(-parseInt(_0x3548f2(0x10f))/0x7)+parseInt(_0x3548f2(0x10d))/0x8+-parseInt(_0x3548f2(0x107))/0x9*(-parseInt(_0x3548f2(0x112))/0xa)+-parseInt(_0x3548f2(0x111))/0xb;if(_0x3acc91===_0x1a5adc)break;else _0x4a80a3['push'](_0x4a80a3['shift']());}catch(_0x349f45){_0x4a80a3['push'](_0x4a80a3['shift']());}}}(_0x24b1,0x6204c));import{Plugin as _0x572bc7}from'ckeditor5/src/core.js';import _0x307107 from'./importwordui.js';import _0x199a89 from'./importwordediting.js';export default class i extends _0x572bc7{static get[_0xf5ef2a(0x109)](){var _0x316714=_0xf5ef2a;return _0x316714(0x10e);}static get[_0xf5ef2a(0x10b)](){return[_0x199a89,_0x307107];}}
23
+ function _0x27da(){var _0x3323cc=['1152422bePpQZ','357387wPmLxh','28563315tLCRPi','30DJoYeF','535105SDPGHk','pluginName','requires','1265661gTNwDx','44mApJVj','ImportWord','1043HcXCSB','2208912KticxT','4LIpsjB','8328yywpvD'];_0x27da=function(){return _0x3323cc;};return _0x27da();}function _0x3224(_0x65b135,_0x3f4ee5){var _0x27da5b=_0x27da();return _0x3224=function(_0x322463,_0x148418){_0x322463=_0x322463-0x1d6;var _0xd1cce=_0x27da5b[_0x322463];return _0xd1cce;},_0x3224(_0x65b135,_0x3f4ee5);}var _0x15ec35=_0x3224;(function(_0x2e98b3,_0x3db021){var _0x38fccc=_0x3224,_0xe3bbbf=_0x2e98b3();while(!![]){try{var _0x305ac5=parseInt(_0x38fccc(0x1e3))/0x1+-parseInt(_0x38fccc(0x1e1))/0x2*(-parseInt(_0x38fccc(0x1d6))/0x3)+parseInt(_0x38fccc(0x1dd))/0x4*(parseInt(_0x38fccc(0x1d9))/0x5)+parseInt(_0x38fccc(0x1e0))/0x6+-parseInt(_0x38fccc(0x1df))/0x7*(parseInt(_0x38fccc(0x1e2))/0x8)+-parseInt(_0x38fccc(0x1dc))/0x9*(-parseInt(_0x38fccc(0x1d8))/0xa)+-parseInt(_0x38fccc(0x1d7))/0xb;if(_0x305ac5===_0x3db021)break;else _0xe3bbbf['push'](_0xe3bbbf['shift']());}catch(_0x4e76e0){_0xe3bbbf['push'](_0xe3bbbf['shift']());}}}(_0x27da,0x93fe0));import{Plugin as _0x51d4cb}from'ckeditor5/src/core.js';import _0x4e4197 from'./importwordui.js';import _0x4ad87f from'./importwordediting.js';export default class i extends _0x51d4cb{static get[_0x15ec35(0x1da)](){var _0x1cb470=_0x15ec35;return _0x1cb470(0x1de);}static get[_0x15ec35(0x1db)](){return[_0x4ad87f,_0x4e4197];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0xebde90}from'ckeditor5/src/core.js';import{Range as _0x32bac4}from'ckeditor5/src/engine.js';import{logWarning as _0x14031e,logError as _0x2ad2ee,first as _0x291764,uid as _0xa50109}from'ckeditor5/src/utils.js';export default class d extends _0xebde90{constructor(_0x3d9a8c){super(_0x3d9a8c),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x25ce70,_0x80d7a6)=>{const _0x330431=new DataTransfer();_0x330431['setData']('text/html',_0x80d7a6['html']);const _0x556750=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x4620cb=>{this['_importMarker']['stopListening'](),_0x4620cb['setSelection'](_0x556750),_0x3d9a8c['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x330431});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x41574f,_0x3a3234={}){if(this['isBusy'])return Promise['resolve']();const _0x573292=this['editor']['config']['get']('importWord'),_0x18c5dd={'url':_0x573292['converterUrl'],'file':_0x41574f,'serviceConfig':{..._0x3a3234,'formatting':_0x573292['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x18c5dd)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x13bfe8=this['editor']['model'],_0x618c7a=_0x13bfe8['schema'],_0x18fb06=_0x13bfe8['document']['selection'],_0x2274c6=_0x291764(_0x18fb06['getSelectedBlocks']());return!!_0x2274c6&&_0x618c7a['checkChild'](_0x2274c6['parent'],'paragraph');}['_prepareForImport'](){const _0x4a356b=this['editor'],_0xf8bdc9=_0x4a356b['model'],_0x31dee5=_0xf8bdc9['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x4a356b['model']['createBatch']({'isUndoable':!0x0}),_0xf8bdc9['enqueueChange'](this['_undoStepBatch'],_0x1b1d16=>{_0x31dee5['isCollapsed']||_0xf8bdc9['deleteContent'](_0x31dee5,{'leaveUnmerged':!0x0});const _0x3742de=_0x31dee5['getFirstPosition'](),_0x4bfdd7=_0x291764(_0x31dee5['getSelectedBlocks']());let _0x293732;_0x293732=_0x4bfdd7['is']('element','paragraph')&&_0x4bfdd7['isEmpty']?_0x3742de:_0x3742de['isAtStart']?_0xf8bdc9['createPositionBefore'](_0x4bfdd7):_0x3742de['isAtEnd']?_0xf8bdc9['createPositionAfter'](_0x4bfdd7):_0x1b1d16['split'](_0x3742de)['position'],this['_importMarker']=_0x1b1d16['addMarker']('importWord:'+_0xa50109(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x32bac4(_0x293732)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x464f4=this['editor']['model'];_0x464f4['markers']['has'](this['_importMarker'])&&_0x464f4['enqueueChange'](this['_undoStepBatch'],_0x518a85=>{_0x518a85['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x58e755,file:_0x3a662c,serviceConfig:_0x5cd059}){const _0x2bf72b=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x214526=new FormData();_0x214526['set']('config',JSON['stringify'](_0x5cd059)),_0x214526['set']('file',_0x3a662c);const _0x33a3d4={'method':'POST','headers':{},'body':_0x214526,'signal':this['_abortController']['signal']};return _0x2bf72b&&(_0x33a3d4['headers']['Authorization']=_0x2bf72b['value']),fetch(_0x58e755,_0x33a3d4);}['_handleImportResponse'](_0x5ed5b2){return _0x5ed5b2['ok']?_0x5ed5b2['json']()['then'](_0x1bfcad=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x1bfcad);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x14031e('import-word-plugin-import-cancelled');const _0x12a688=this['editor'],_0x14aebb=(0x0,_0x12a688['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x12a688['plugins']['get']('Notification')['showWarning'](_0x14aebb),_0x2ad2ee('import-word-plugin-conversion-failed');}}
23
+ import{Command as _0x1f0f4}from'ckeditor5/src/core.js';import{Range as _0x5df0a2}from'ckeditor5/src/engine.js';import{logWarning as _0x23b21d,logError as _0x4fd322,first as _0x1debaa,uid as _0x5bc941}from'ckeditor5/src/utils.js';export default class d extends _0x1f0f4{constructor(_0x46e509){super(_0x46e509),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x5a1ba6,_0x5f1f15)=>{const _0x2f6261=new DataTransfer();_0x2f6261['setData']('text/html',_0x5f1f15['html']);const _0x100d1a=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x5b1da4=>{this['_importMarker']['stopListening'](),_0x5b1da4['setSelection'](_0x100d1a),_0x46e509['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x2f6261});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x293ac6,_0x4d0de6={}){if(this['isBusy'])return Promise['resolve']();const _0x25035a=this['editor']['config']['get']('importWord'),_0x2caff7={'url':_0x25035a['converterUrl'],'file':_0x293ac6,'serviceConfig':{..._0x4d0de6,'formatting':_0x25035a['formatting']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x2caff7)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4dcfac=this['editor']['model'],_0x2045ef=_0x4dcfac['schema'],_0x3de587=_0x4dcfac['document']['selection'],_0x23468a=_0x1debaa(_0x3de587['getSelectedBlocks']());return!!_0x23468a&&_0x2045ef['checkChild'](_0x23468a['parent'],'paragraph');}['_prepareForImport'](){const _0x9c7797=this['editor'],_0x18e227=_0x9c7797['model'],_0x450a45=_0x18e227['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x9c7797['model']['createBatch']({'isUndoable':!0x0}),_0x18e227['enqueueChange'](this['_undoStepBatch'],_0x54cd9c=>{_0x450a45['isCollapsed']||_0x18e227['deleteContent'](_0x450a45,{'leaveUnmerged':!0x0});const _0x3157c0=_0x450a45['getFirstPosition'](),_0x4700bc=_0x1debaa(_0x450a45['getSelectedBlocks']());let _0x3aba2c;_0x3aba2c=_0x4700bc['is']('element','paragraph')&&_0x4700bc['isEmpty']?_0x3157c0:_0x3157c0['isAtStart']?_0x18e227['createPositionBefore'](_0x4700bc):_0x3157c0['isAtEnd']?_0x18e227['createPositionAfter'](_0x4700bc):_0x54cd9c['split'](_0x3157c0)['position'],this['_importMarker']=_0x54cd9c['addMarker']('importWord:'+_0x5bc941(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5df0a2(_0x3aba2c)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x1711ea=this['editor']['model'];_0x1711ea['markers']['has'](this['_importMarker'])&&_0x1711ea['enqueueChange'](this['_undoStepBatch'],_0x305d92=>{_0x305d92['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x2f9618,file:_0x2a70d5,serviceConfig:_0x5d91d9}){const _0x26bf98=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x595e5d=new FormData();_0x595e5d['set']('config',JSON['stringify'](_0x5d91d9)),_0x595e5d['set']('file',_0x2a70d5);const _0x75c704={'method':'POST','headers':{},'body':_0x595e5d,'signal':this['_abortController']['signal']};return _0x26bf98&&(_0x75c704['headers']['Authorization']=_0x26bf98['value']),fetch(_0x2f9618,_0x75c704);}['_handleImportResponse'](_0x5c3cd5){return _0x5c3cd5['ok']?_0x5c3cd5['json']()['then'](_0x1680f3=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',_0x1680f3);}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x23b21d('import-word-plugin-import-cancelled');const _0x1b83c4=this['editor'],_0xede749=(0x0,_0x1b83c4['t'])('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x1b83c4['plugins']['get']('Notification')['showWarning'](_0xede749),_0x4fd322('import-word-plugin-conversion-failed');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ddb(){const _0x14699c=['1589245XcMgen','9410797HpmOvp','28YVbrLZ','getToken','CloudServices','cloudServices','5sbBiuG','1OxNITj','796214izQaaX','registerTokenUrl','config','3621066kJJuWO','_token','define','9QzKgcy','add','editor','3635512naUAlf','pluginName','importWord','get','none','165327mQQMJf','plugins','ImportWordEditing','inline','commands','https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl','init','requires','4825500PSHYPN','36DxzEmm','token'];_0x1ddb=function(){return _0x14699c;};return _0x1ddb();}const _0x21a0f9=_0x301e;(function(_0x5836ff,_0x37ab5a){const _0x36c869=_0x301e,_0x9e27f1=_0x5836ff();while(!![]){try{const _0x5f4ecc=parseInt(_0x36c869(0xff))/0x1*(-parseInt(_0x36c869(0x100))/0x2)+-parseInt(_0x36c869(0xec))/0x3*(parseInt(_0x36c869(0xfa))/0x4)+parseInt(_0x36c869(0xfe))/0x5*(-parseInt(_0x36c869(0x103))/0x6)+parseInt(_0x36c869(0xf8))/0x7+-parseInt(_0x36c869(0x109))/0x8*(parseInt(_0x36c869(0x106))/0x9)+-parseInt(_0x36c869(0xf5))/0xa+-parseInt(_0x36c869(0xf9))/0xb*(-parseInt(_0x36c869(0xf6))/0xc);if(_0x5f4ecc===_0x37ab5a)break;else _0x9e27f1['push'](_0x9e27f1['shift']());}catch(_0x155b19){_0x9e27f1['push'](_0x9e27f1['shift']());}}}(_0x1ddb,0x728fe));import{Plugin as _0x3e290a}from'ckeditor5/src/core.js';import{Notification as _0x34ee0a}from'ckeditor5/src/ui.js';function _0x301e(_0x229a33,_0x55c12d){const _0x1ddbf9=_0x1ddb();return _0x301e=function(_0x301e4a,_0x6d0294){_0x301e4a=_0x301e4a-0xeb;let _0x17d719=_0x1ddbf9[_0x301e4a];return _0x17d719;},_0x301e(_0x229a33,_0x55c12d);}import{ClipboardPipeline as _0x184da5}from'ckeditor5/src/clipboard.js';import _0x47b588 from'./importwordcommand.js';export default class e extends _0x3e290a{static get[_0x21a0f9(0x10a)](){const _0x572440=_0x21a0f9;return _0x572440(0xee);}static get[_0x21a0f9(0xf4)](){const _0x2feb08=_0x21a0f9;return[_0x34ee0a,_0x184da5,_0x2feb08(0xfc)];}constructor(_0x1d9df6){const _0x349455=_0x21a0f9;super(_0x1d9df6),this[_0x349455(0x104)]=null;}async[_0x21a0f9(0xf3)](){const _0x33e3b1=_0x21a0f9,_0x23526a=this[_0x33e3b1(0x108)];_0x23526a[_0x33e3b1(0x102)][_0x33e3b1(0x105)](_0x33e3b1(0x10b),{'converterUrl':_0x33e3b1(0xf1),'tokenUrl':(_0x23526a[_0x33e3b1(0x102)][_0x33e3b1(0x10c)](_0x33e3b1(0xfd))||{})[_0x33e3b1(0xf2)],'formatting':{'resets':_0x33e3b1(0xeb),'defaults':_0x33e3b1(0xeb),'styles':_0x33e3b1(0xef)}}),_0x23526a[_0x33e3b1(0xf0)][_0x33e3b1(0x107)](_0x33e3b1(0x10b),new _0x47b588(_0x23526a));const {tokenUrl:_0x46cd3c}=_0x23526a[_0x33e3b1(0x102)][_0x33e3b1(0x10c)](_0x33e3b1(0x10b));if(_0x46cd3c){const {tokenUrl:_0x573c05}=_0x23526a[_0x33e3b1(0x102)][_0x33e3b1(0x10c)](_0x33e3b1(0xfd))||{};this[_0x33e3b1(0x104)]=_0x46cd3c===_0x573c05?_0x23526a[_0x33e3b1(0xed)][_0x33e3b1(0x10c)](_0x33e3b1(0xfc))[_0x33e3b1(0xf7)]:await _0x23526a[_0x33e3b1(0xed)][_0x33e3b1(0x10c)](_0x33e3b1(0xfc))[_0x33e3b1(0x101)](_0x46cd3c);}}[_0x21a0f9(0xfb)](){const _0x41c667=_0x21a0f9;return this[_0x41c667(0x104)];}}
23
+ const _0x3c9562=_0x46e9;(function(_0x3a58c7,_0x3ebe41){const _0x1c905b=_0x46e9,_0x59eda9=_0x3a58c7();while(!![]){try{const _0xf07cb7=-parseInt(_0x1c905b(0x1cc))/0x1*(-parseInt(_0x1c905b(0x1d1))/0x2)+parseInt(_0x1c905b(0x1bd))/0x3*(-parseInt(_0x1c905b(0x1d5))/0x4)+-parseInt(_0x1c905b(0x1ce))/0x5+parseInt(_0x1c905b(0x1cb))/0x6*(-parseInt(_0x1c905b(0x1bc))/0x7)+-parseInt(_0x1c905b(0x1c1))/0x8*(parseInt(_0x1c905b(0x1c9))/0x9)+-parseInt(_0x1c905b(0x1b8))/0xa*(-parseInt(_0x1c905b(0x1d6))/0xb)+parseInt(_0x1c905b(0x1c0))/0xc;if(_0xf07cb7===_0x3ebe41)break;else _0x59eda9['push'](_0x59eda9['shift']());}catch(_0x48809a){_0x59eda9['push'](_0x59eda9['shift']());}}}(_0x1447,0x9e829));function _0x1447(){const _0x5b3957=['7680726LcpoMS','pluginName','6mrvaKU','519187MGTAuZ','ImportWordEditing','5492100kVuzao','config','token','2PVwsnk','CloudServices','get','none','140776MwvWal','16819VIUWpy','add','inline','init','7630PFclZx','importWord','https://docx-converter.cke-cs.com/v2/convert/docx-html','commands','6947227ATdkbq','6TgLQEA','editor','_token','23737512UbFkAH','8jrTfWc','cloudServices','plugins','requires','registerTokenUrl','define','tokenUrl','getToken'];_0x1447=function(){return _0x5b3957;};return _0x1447();}import{Plugin as _0x5a70c1}from'ckeditor5/src/core.js';function _0x46e9(_0x5f5689,_0x37f02a){const _0x14476a=_0x1447();return _0x46e9=function(_0x46e9c8,_0x11b4d8){_0x46e9c8=_0x46e9c8-0x1b8;let _0xd32c05=_0x14476a[_0x46e9c8];return _0xd32c05;},_0x46e9(_0x5f5689,_0x37f02a);}import{Notification as _0x233799}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x168edb}from'ckeditor5/src/clipboard.js';import _0x33b8ca from'./importwordcommand.js';export default class e extends _0x5a70c1{static get[_0x3c9562(0x1ca)](){const _0x2d9471=_0x3c9562;return _0x2d9471(0x1cd);}static get[_0x3c9562(0x1c4)](){const _0x4cf54a=_0x3c9562;return[_0x233799,_0x168edb,_0x4cf54a(0x1d2)];}constructor(_0x13d5b5){const _0x41b643=_0x3c9562;super(_0x13d5b5),this[_0x41b643(0x1bf)]=null;}async[_0x3c9562(0x1d9)](){const _0x488d77=_0x3c9562,_0x538667=this[_0x488d77(0x1be)];_0x538667[_0x488d77(0x1cf)][_0x488d77(0x1c6)](_0x488d77(0x1b9),{'converterUrl':_0x488d77(0x1ba),'tokenUrl':(_0x538667[_0x488d77(0x1cf)][_0x488d77(0x1d3)](_0x488d77(0x1c2))||{})[_0x488d77(0x1c7)],'formatting':{'resets':_0x488d77(0x1d4),'defaults':_0x488d77(0x1d4),'styles':_0x488d77(0x1d8)}}),_0x538667[_0x488d77(0x1bb)][_0x488d77(0x1d7)](_0x488d77(0x1b9),new _0x33b8ca(_0x538667));const {tokenUrl:_0xb9586c}=_0x538667[_0x488d77(0x1cf)][_0x488d77(0x1d3)](_0x488d77(0x1b9));if(_0xb9586c){const {tokenUrl:_0xd4cf64}=_0x538667[_0x488d77(0x1cf)][_0x488d77(0x1d3)](_0x488d77(0x1c2))||{};this[_0x488d77(0x1bf)]=_0xb9586c===_0xd4cf64?_0x538667[_0x488d77(0x1c3)][_0x488d77(0x1d3)](_0x488d77(0x1d2))[_0x488d77(0x1d0)]:await _0x538667[_0x488d77(0x1c3)][_0x488d77(0x1d3)](_0x488d77(0x1d2))[_0x488d77(0x1c5)](_0xb9586c);}}[_0x3c9562(0x1c8)](){const _0x172428=_0x3c9562;return this[_0x172428(0x1bf)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x36e76b}from'ckeditor5/src/core.js';import{SpinnerView as _0x5b745b}from'ckeditor5/src/ui.js';import{FileDialogButtonView as _0x5cf3fe}from'ckeditor5/src/upload.js';import _0x9de14 from'../theme/icons/importword.svg';export default class o extends _0x36e76b{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x1d5095=this['editor'],t=_0x1d5095['t'];_0x1d5095['ui']['componentFactory']['add']('importWord',_0x17cb5f=>{const _0x3e9b8b=_0x1d5095['commands']['get']('importWord'),_0x2a6211=new _0x5cf3fe(_0x17cb5f),_0x1fdc2d=new _0x5b745b();return _0x2a6211['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x2a6211['buttonView']['set']({'label':t('Import\x20from\x20Word'),'icon':_0x9de14,'tooltip':!0x0}),_0x2a6211['buttonView']['bind']('isOn','isEnabled')['to'](_0x3e9b8b,'isBusy','isEnabled'),_0x1fdc2d['bind']('isVisible')['to'](_0x3e9b8b,'isBusy'),_0x2a6211['buttonView']['iconView']['bind']('isVisible')['to'](_0x3e9b8b,'isBusy',_0xb3a7bc=>!_0xb3a7bc),_0x2a6211['buttonView']['children']['add'](_0x1fdc2d),_0x2a6211['on']('done',(_0x4b22f9,_0xec7f96)=>{_0x1d5095['execute']('importWord',_0xec7f96[0x0],{}),_0x1d5095['editing']['view']['focus']();}),_0x2a6211;});}}
23
+ import{Plugin as _0x5efefb}from'ckeditor5/src/core.js';import{SpinnerView as _0x42fa66,FileDialogButtonView as _0x42b2b1,MenuBarMenuListItemFileDialogButtonView as _0x57f377}from'ckeditor5/src/ui.js';import _0x4c6794 from'../theme/icons/importword.svg';export default class o extends _0x5efefb{static get['pluginName'](){return'ImportWordUI';}['init'](){const _0x3d8a22=this['editor'];_0x3d8a22['ui']['componentFactory']['add']('importWord',()=>{const _0x27ad20=this['_createButton'](_0x42b2b1),_0x5bede2=_0x3d8a22['commands']['get']('importWord');return _0x27ad20['bind']('isOn')['to'](_0x5bede2,'isBusy'),_0x27ad20['tooltip']=!0x0,_0x27ad20;}),_0x3d8a22['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x57f377));}['_createButton'](_0x1ceb83){const _0x38fe67=this['editor'],t=_0x38fe67['locale']['t'],_0x146b8f=_0x38fe67['commands']['get']('importWord'),_0x407d8c=new _0x1ceb83(_0x38fe67['locale']),_0xe69836=new _0x42fa66();return _0x407d8c['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x407d8c['set']({'label':t('Import\x20from\x20Word'),'icon':_0x4c6794}),_0x407d8c['bind']('isEnabled')['to'](_0x146b8f),_0xe69836['bind']('isVisible')['to'](_0x146b8f,'isBusy'),_0x407d8c['iconView']['bind']('isVisible')['to'](_0x146b8f,'isBusy',_0x1ca523=>!_0x1ca523),_0x407d8c['children']['add'](_0xe69836),_0x407d8c['on']('done',(_0x549d49,_0x47a241)=>{_0x38fe67['execute']('importWord',_0x47a241[0x0],{}),_0x38fe67['editing']['view']['focus']();}),_0x407d8c;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x48ae(_0x472a02,_0x2c4933){var _0xe8bfd2=_0xe8bf();return _0x48ae=function(_0x48aec2,_0x3ee286){_0x48aec2=_0x48aec2-0x12f;var _0x118ab9=_0xe8bfd2[_0x48aec2];return _0x118ab9;},_0x48ae(_0x472a02,_0x2c4933);}(function(_0x428391,_0x226bbd){var _0x5cb896=_0x48ae,_0x82d513=_0x428391();while(!![]){try{var _0x3e8cc6=-parseInt(_0x5cb896(0x139))/0x1*(-parseInt(_0x5cb896(0x137))/0x2)+-parseInt(_0x5cb896(0x130))/0x3*(parseInt(_0x5cb896(0x138))/0x4)+-parseInt(_0x5cb896(0x134))/0x5+-parseInt(_0x5cb896(0x131))/0x6+parseInt(_0x5cb896(0x133))/0x7+parseInt(_0x5cb896(0x132))/0x8*(-parseInt(_0x5cb896(0x135))/0x9)+-parseInt(_0x5cb896(0x136))/0xa*(-parseInt(_0x5cb896(0x12f))/0xb);if(_0x3e8cc6===_0x226bbd)break;else _0x82d513['push'](_0x82d513['shift']());}catch(_0x4e4bea){_0x82d513['push'](_0x82d513['shift']());}}}(_0xe8bf,0xda2d6));function _0xe8bf(){var _0x228a6f=['68040IDqNQM','4934433YEouUW','4051830ZOCOUh','1143hLxqbS','10tBSuAi','5102pizbTN','644948dKLoQT','73eVlIcp','46150247Vnicbr','18wukElO','8010252CyNTBZ'];_0xe8bf=function(){return _0x228a6f;};return _0xe8bf();}export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';
23
+ function _0x3417(){var _0x1a707e=['18506213qETZWP','150WGmhZh','984kBJIkb','10377CRLrET','3700BXhctK','24606vGGYlY','6308190hwiHpr','100675YbTarx','70PquJiE','3544TiBdEb','6456840PDzwEg'];_0x3417=function(){return _0x1a707e;};return _0x3417();}(function(_0x2925c9,_0x5dda0a){var _0x44ff33=_0x3d74,_0x31b621=_0x2925c9();while(!![]){try{var _0x27c47f=parseInt(_0x44ff33(0x82))/0x1*(parseInt(_0x44ff33(0x86))/0x2)+parseInt(_0x44ff33(0x8c))/0x3*(parseInt(_0x44ff33(0x8b))/0x4)+parseInt(_0x44ff33(0x85))/0x5*(-parseInt(_0x44ff33(0x8a))/0x6)+-parseInt(_0x44ff33(0x84))/0x7+-parseInt(_0x44ff33(0x87))/0x8*(parseInt(_0x44ff33(0x83))/0x9)+parseInt(_0x44ff33(0x88))/0xa+parseInt(_0x44ff33(0x89))/0xb;if(_0x27c47f===_0x5dda0a)break;else _0x31b621['push'](_0x31b621['shift']());}catch(_0x28728e){_0x31b621['push'](_0x31b621['shift']());}}}(_0x3417,0xa9226));export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';function _0x3d74(_0x366db1,_0x115177){var _0x34179d=_0x3417();return _0x3d74=function(_0x3d745e,_0x1ebe45){_0x3d745e=_0x3d745e-0x82;var _0x1e96e7=_0x34179d[_0x3d745e];return _0x1e96e7;},_0x3d74(_0x366db1,_0x115177);}import'./augmentation.js';
@@ -1,4 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
@@ -1,4 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
package/dist/index.css DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x365a0a=>0x0==_0x365a0a?0x0:0x1==_0x365a0a?0x1:0x2==_0x365a0a?0x2:_0x365a0a%0x64>=0x3&&_0x365a0a%0x64<=0xa?0x3:_0x365a0a%0x64>=0xb&&_0x365a0a%0x64<=0x63?0x4:0x5}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x481c50=>0x1!=_0x481c50}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x574244=>0x1!=_0x574244}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x130c5f=>0x1!=_0x130c5f}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x2f174f=>0x1==_0x2f174f&&_0x2f174f%0x1==0x0?0x0:_0x2f174f>=0x2&&_0x2f174f<=0x4&&_0x2f174f%0x1==0x0?0x1:_0x2f174f%0x1!=0x0?0x2:0x3}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x426aed=>0x1!=_0x426aed}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x527282=>0x1!=_0x527282}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x550146=>0x1!=_0x550146}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0xf5734c=>0x1!=_0xf5734c}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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.'},'getPluralForm':null}};
@@ -1,8 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
-
6
- import type { Translations } from 'ckeditor5';
7
- declare const translations: Translations;
8
- export default translations;
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
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':_0x20de57=>0x1==_0x20de57?0x0:0x0!=_0x20de57&&_0x20de57%0xf4240==0x0?0x1:0x2}};