@ckeditor/ckeditor5-import-word 43.2.0 → 43.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/build/import-word.js +1 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/bs.js +1 -0
  6. package/build/translations/de-ch.js +1 -0
  7. package/build/translations/en-gb.js +1 -0
  8. package/build/translations/eo.js +1 -0
  9. package/build/translations/es-co.js +1 -0
  10. package/build/translations/eu.js +1 -0
  11. package/build/translations/fa.js +1 -0
  12. package/build/translations/gu.js +1 -0
  13. package/build/translations/hy.js +1 -0
  14. package/build/translations/jv.js +1 -0
  15. package/build/translations/kk.js +1 -0
  16. package/build/translations/km.js +1 -0
  17. package/build/translations/kn.js +1 -0
  18. package/build/translations/ku.js +1 -0
  19. package/build/translations/nb.js +1 -0
  20. package/build/translations/ne.js +1 -0
  21. package/build/translations/oc.js +1 -0
  22. package/build/translations/si.js +1 -0
  23. package/build/translations/sl.js +1 -0
  24. package/build/translations/sq.js +1 -0
  25. package/build/translations/ti.js +1 -0
  26. package/build/translations/tk.js +1 -0
  27. package/build/translations/tt.js +1 -0
  28. package/build/translations/ur.js +1 -0
  29. package/build/translations/uz.js +1 -0
  30. package/dist/importword.d.ts +8 -0
  31. package/dist/importwordediting.d.ts +8 -0
  32. package/dist/importwordui.d.ts +8 -0
  33. package/dist/index.js +1 -1
  34. package/dist/translations/af.d.ts +8 -0
  35. package/dist/translations/af.js +23 -0
  36. package/dist/translations/af.umd.js +23 -0
  37. package/dist/translations/ar.js +1 -1
  38. package/dist/translations/ar.umd.js +1 -1
  39. package/dist/translations/ast.d.ts +8 -0
  40. package/dist/translations/ast.js +23 -0
  41. package/dist/translations/ast.umd.js +23 -0
  42. package/dist/translations/az.d.ts +8 -0
  43. package/dist/translations/az.js +23 -0
  44. package/dist/translations/az.umd.js +23 -0
  45. package/dist/translations/bg.js +1 -1
  46. package/dist/translations/bg.umd.js +1 -1
  47. package/dist/translations/bn.js +1 -1
  48. package/dist/translations/bn.umd.js +1 -1
  49. package/dist/translations/bs.d.ts +8 -0
  50. package/dist/translations/bs.js +23 -0
  51. package/dist/translations/bs.umd.js +23 -0
  52. package/dist/translations/ca.js +1 -1
  53. package/dist/translations/ca.umd.js +1 -1
  54. package/dist/translations/cs.js +1 -1
  55. package/dist/translations/cs.umd.js +1 -1
  56. package/dist/translations/da.js +1 -1
  57. package/dist/translations/da.umd.js +1 -1
  58. package/dist/translations/de-ch.d.ts +8 -0
  59. package/dist/translations/de-ch.js +23 -0
  60. package/dist/translations/de-ch.umd.js +23 -0
  61. package/dist/translations/de.js +1 -1
  62. package/dist/translations/de.umd.js +1 -1
  63. package/dist/translations/el.js +1 -1
  64. package/dist/translations/el.umd.js +1 -1
  65. package/dist/translations/en-au.js +1 -1
  66. package/dist/translations/en-au.umd.js +1 -1
  67. package/dist/translations/en-gb.d.ts +8 -0
  68. package/dist/translations/en-gb.js +23 -0
  69. package/dist/translations/en-gb.umd.js +23 -0
  70. package/dist/translations/en.js +1 -1
  71. package/dist/translations/en.umd.js +1 -1
  72. package/dist/translations/eo.d.ts +8 -0
  73. package/dist/translations/eo.js +23 -0
  74. package/dist/translations/eo.umd.js +23 -0
  75. package/dist/translations/es-co.d.ts +8 -0
  76. package/dist/translations/es-co.js +23 -0
  77. package/dist/translations/es-co.umd.js +23 -0
  78. package/dist/translations/es.js +1 -1
  79. package/dist/translations/es.umd.js +1 -1
  80. package/dist/translations/et.js +1 -1
  81. package/dist/translations/et.umd.js +1 -1
  82. package/dist/translations/eu.d.ts +8 -0
  83. package/dist/translations/eu.js +23 -0
  84. package/dist/translations/eu.umd.js +23 -0
  85. package/dist/translations/fa.d.ts +8 -0
  86. package/dist/translations/fa.js +23 -0
  87. package/dist/translations/fa.umd.js +23 -0
  88. package/dist/translations/fi.js +1 -1
  89. package/dist/translations/fi.umd.js +1 -1
  90. package/dist/translations/fr.js +1 -1
  91. package/dist/translations/fr.umd.js +1 -1
  92. package/dist/translations/gl.js +1 -1
  93. package/dist/translations/gl.umd.js +1 -1
  94. package/dist/translations/gu.d.ts +8 -0
  95. package/dist/translations/gu.js +23 -0
  96. package/dist/translations/gu.umd.js +23 -0
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.d.ts +8 -0
  106. package/dist/translations/hy.js +23 -0
  107. package/dist/translations/hy.umd.js +23 -0
  108. package/dist/translations/id.js +1 -1
  109. package/dist/translations/id.umd.js +1 -1
  110. package/dist/translations/it.js +1 -1
  111. package/dist/translations/it.umd.js +1 -1
  112. package/dist/translations/ja.js +1 -1
  113. package/dist/translations/ja.umd.js +1 -1
  114. package/dist/translations/jv.d.ts +8 -0
  115. package/dist/translations/jv.js +23 -0
  116. package/dist/translations/jv.umd.js +23 -0
  117. package/dist/translations/kk.d.ts +8 -0
  118. package/dist/translations/kk.js +23 -0
  119. package/dist/translations/kk.umd.js +23 -0
  120. package/dist/translations/km.d.ts +8 -0
  121. package/dist/translations/km.js +23 -0
  122. package/dist/translations/km.umd.js +23 -0
  123. package/dist/translations/kn.d.ts +8 -0
  124. package/dist/translations/kn.js +23 -0
  125. package/dist/translations/kn.umd.js +23 -0
  126. package/dist/translations/ko.js +1 -1
  127. package/dist/translations/ko.umd.js +1 -1
  128. package/dist/translations/ku.d.ts +8 -0
  129. package/dist/translations/ku.js +23 -0
  130. package/dist/translations/ku.umd.js +23 -0
  131. package/dist/translations/lt.js +1 -1
  132. package/dist/translations/lt.umd.js +1 -1
  133. package/dist/translations/lv.js +1 -1
  134. package/dist/translations/lv.umd.js +1 -1
  135. package/dist/translations/ms.js +1 -1
  136. package/dist/translations/ms.umd.js +1 -1
  137. package/dist/translations/nb.d.ts +8 -0
  138. package/dist/translations/nb.js +23 -0
  139. package/dist/translations/nb.umd.js +23 -0
  140. package/dist/translations/ne.d.ts +8 -0
  141. package/dist/translations/ne.js +23 -0
  142. package/dist/translations/ne.umd.js +23 -0
  143. package/dist/translations/nl.js +1 -1
  144. package/dist/translations/nl.umd.js +1 -1
  145. package/dist/translations/no.js +1 -1
  146. package/dist/translations/no.umd.js +1 -1
  147. package/dist/translations/oc.d.ts +8 -0
  148. package/dist/translations/oc.js +23 -0
  149. package/dist/translations/oc.umd.js +23 -0
  150. package/dist/translations/pl.js +1 -1
  151. package/dist/translations/pl.umd.js +1 -1
  152. package/dist/translations/pt-br.js +1 -1
  153. package/dist/translations/pt-br.umd.js +1 -1
  154. package/dist/translations/pt.js +1 -1
  155. package/dist/translations/pt.umd.js +1 -1
  156. package/dist/translations/ro.js +1 -1
  157. package/dist/translations/ro.umd.js +1 -1
  158. package/dist/translations/ru.js +1 -1
  159. package/dist/translations/ru.umd.js +1 -1
  160. package/dist/translations/si.d.ts +8 -0
  161. package/dist/translations/si.js +23 -0
  162. package/dist/translations/si.umd.js +23 -0
  163. package/dist/translations/sk.js +1 -1
  164. package/dist/translations/sk.umd.js +1 -1
  165. package/dist/translations/sl.d.ts +8 -0
  166. package/dist/translations/sl.js +23 -0
  167. package/dist/translations/sl.umd.js +23 -0
  168. package/dist/translations/sq.d.ts +8 -0
  169. package/dist/translations/sq.js +23 -0
  170. package/dist/translations/sq.umd.js +23 -0
  171. package/dist/translations/sr-latn.js +1 -1
  172. package/dist/translations/sr-latn.umd.js +1 -1
  173. package/dist/translations/sr.js +1 -1
  174. package/dist/translations/sr.umd.js +1 -1
  175. package/dist/translations/sv.js +1 -1
  176. package/dist/translations/sv.umd.js +1 -1
  177. package/dist/translations/th.js +1 -1
  178. package/dist/translations/th.umd.js +1 -1
  179. package/dist/translations/ti.d.ts +8 -0
  180. package/dist/translations/ti.js +23 -0
  181. package/dist/translations/ti.umd.js +23 -0
  182. package/dist/translations/tk.d.ts +8 -0
  183. package/dist/translations/tk.js +23 -0
  184. package/dist/translations/tk.umd.js +23 -0
  185. package/dist/translations/tr.js +1 -1
  186. package/dist/translations/tr.umd.js +1 -1
  187. package/dist/translations/tt.d.ts +8 -0
  188. package/dist/translations/tt.js +23 -0
  189. package/dist/translations/tt.umd.js +23 -0
  190. package/dist/translations/ug.js +1 -1
  191. package/dist/translations/ug.umd.js +1 -1
  192. package/dist/translations/uk.js +1 -1
  193. package/dist/translations/uk.umd.js +1 -1
  194. package/dist/translations/ur.d.ts +8 -0
  195. package/dist/translations/ur.js +23 -0
  196. package/dist/translations/ur.umd.js +23 -0
  197. package/dist/translations/uz.d.ts +8 -0
  198. package/dist/translations/uz.js +23 -0
  199. package/dist/translations/uz.umd.js +23 -0
  200. package/dist/translations/vi.js +1 -1
  201. package/dist/translations/vi.umd.js +1 -1
  202. package/dist/translations/zh-cn.js +1 -1
  203. package/dist/translations/zh-cn.umd.js +1 -1
  204. package/dist/translations/zh.js +1 -1
  205. package/dist/translations/zh.umd.js +1 -1
  206. package/lang/translations/af.po +24 -0
  207. package/lang/translations/ar.po +4 -10
  208. package/lang/translations/ast.po +24 -0
  209. package/lang/translations/az.po +24 -0
  210. package/lang/translations/bg.po +3 -9
  211. package/lang/translations/bn.po +3 -9
  212. package/lang/translations/bs.po +24 -0
  213. package/lang/translations/ca.po +3 -9
  214. package/lang/translations/cs.po +4 -10
  215. package/lang/translations/da.po +3 -9
  216. package/lang/translations/de-ch.po +24 -0
  217. package/lang/translations/de.po +3 -9
  218. package/lang/translations/el.po +3 -9
  219. package/lang/translations/en-au.po +3 -9
  220. package/lang/translations/en-gb.po +24 -0
  221. package/lang/translations/en.po +5 -11
  222. package/lang/translations/eo.po +24 -0
  223. package/lang/translations/es-co.po +24 -0
  224. package/lang/translations/es.po +4 -10
  225. package/lang/translations/et.po +3 -9
  226. package/lang/translations/eu.po +24 -0
  227. package/lang/translations/fa.po +24 -0
  228. package/lang/translations/fi.po +3 -9
  229. package/lang/translations/fr.po +4 -10
  230. package/lang/translations/gl.po +3 -9
  231. package/lang/translations/gu.po +24 -0
  232. package/lang/translations/he.po +4 -10
  233. package/lang/translations/hi.po +3 -9
  234. package/lang/translations/hr.po +4 -10
  235. package/lang/translations/hu.po +3 -9
  236. package/lang/translations/hy.po +24 -0
  237. package/lang/translations/id.po +3 -9
  238. package/lang/translations/it.po +4 -10
  239. package/lang/translations/ja.po +3 -9
  240. package/lang/translations/jv.po +24 -0
  241. package/lang/translations/kk.po +24 -0
  242. package/lang/translations/km.po +24 -0
  243. package/lang/translations/kn.po +24 -0
  244. package/lang/translations/ko.po +3 -9
  245. package/lang/translations/ku.po +24 -0
  246. package/lang/translations/lt.po +4 -10
  247. package/lang/translations/lv.po +4 -10
  248. package/lang/translations/ms.po +3 -9
  249. package/lang/translations/nb.po +24 -0
  250. package/lang/translations/ne.po +24 -0
  251. package/lang/translations/nl.po +3 -9
  252. package/lang/translations/no.po +3 -9
  253. package/lang/translations/oc.po +24 -0
  254. package/lang/translations/pl.po +4 -10
  255. package/lang/translations/pt-br.po +4 -10
  256. package/lang/translations/pt.po +4 -10
  257. package/lang/translations/ro.po +4 -10
  258. package/lang/translations/ru.po +4 -10
  259. package/lang/translations/si.po +24 -0
  260. package/lang/translations/sk.po +4 -10
  261. package/lang/translations/sl.po +24 -0
  262. package/lang/translations/sq.po +24 -0
  263. package/lang/translations/sr-latn.po +4 -10
  264. package/lang/translations/sr.po +4 -10
  265. package/lang/translations/sv.po +3 -9
  266. package/lang/translations/th.po +3 -9
  267. package/lang/translations/ti.po +24 -0
  268. package/lang/translations/tk.po +24 -0
  269. package/lang/translations/tr.po +3 -9
  270. package/lang/translations/tt.po +24 -0
  271. package/lang/translations/ug.po +4 -10
  272. package/lang/translations/uk.po +4 -10
  273. package/lang/translations/ur.po +24 -0
  274. package/lang/translations/uz.po +24 -0
  275. package/lang/translations/vi.po +3 -9
  276. package/lang/translations/zh-cn.po +3 -9
  277. package/lang/translations/zh.po +3 -9
  278. package/package.json +7 -7
  279. package/src/importword.d.ts +8 -0
  280. package/src/importword.js +1 -1
  281. package/src/importwordcommand.js +1 -1
  282. package/src/importwordediting.d.ts +8 -0
  283. package/src/importwordediting.js +1 -1
  284. package/src/importwordui.d.ts +8 -0
  285. package/src/importwordui.js +1 -1
  286. package/src/index.js +1 -1
  287. package/src/utils/common-translations.js +1 -1
@@ -1,20 +1,14 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
16
10
  "Language: sr\n"
17
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
11
+ "Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
19
13
 
20
14
  msgctxt "A toolbar button tooltip for the import from Word feature."
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
16
10
  "Language: sv\n"
17
11
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Thai (https://app.transifex.com/ckeditor/teams/11143/th/)\n"
16
10
  "Language: th\n"
17
11
  "Plural-Forms: nplurals=1; plural=0;\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: ti\n"
11
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "A toolbar button tooltip for the import from Word feature."
15
+ msgid "Import from Word"
16
+ msgstr ""
17
+
18
+ msgctxt "An error message shown to the user when an error occurred while importing the Word file."
19
+ msgid "An error occurred while importing the Word file."
20
+ msgstr ""
21
+
22
+ msgctxt "Aria label set on Import from Word button while importing Word document."
23
+ msgid "Importing Word document"
24
+ msgstr ""
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: tk\n"
11
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "A toolbar button tooltip for the import from Word feature."
15
+ msgid "Import from Word"
16
+ msgstr ""
17
+
18
+ msgctxt "An error message shown to the user when an error occurred while importing the Word file."
19
+ msgid "An error occurred while importing the Word file."
20
+ msgstr ""
21
+
22
+ msgctxt "Aria label set on Import from Word button while importing Word document."
23
+ msgid "Importing Word document"
24
+ msgstr ""
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
16
10
  "Language: tr\n"
17
11
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: tt\n"
11
+ "Plural-Forms: nplurals=1; plural=0;\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "A toolbar button tooltip for the import from Word feature."
15
+ msgid "Import from Word"
16
+ msgstr ""
17
+
18
+ msgctxt "An error message shown to the user when an error occurred while importing the Word file."
19
+ msgid "An error occurred while importing the Word file."
20
+ msgstr ""
21
+
22
+ msgctxt "Aria label set on Import from Word button while importing Word document."
23
+ msgid "Importing Word document"
24
+ msgstr ""
@@ -1,20 +1,14 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
16
10
  "Language: ug\n"
17
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
11
+ "Plural-Forms: nplurals=1; plural=0;\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
19
13
 
20
14
  msgctxt "A toolbar button tooltip for the import from Word feature."
@@ -1,20 +1,14 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
16
10
  "Language: uk\n"
17
- "Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
11
+ "Plural-Forms: nplurals=3; plural=(n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
19
13
 
20
14
  msgctxt "A toolbar button tooltip for the import from Word feature."
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: ur\n"
11
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "A toolbar button tooltip for the import from Word feature."
15
+ msgid "Import from Word"
16
+ msgstr ""
17
+
18
+ msgctxt "An error message shown to the user when an error occurred while importing the Word file."
19
+ msgid "An error occurred while importing the Word file."
20
+ msgstr ""
21
+
22
+ msgctxt "Aria label set on Import from Word button while importing Word document."
23
+ msgid "Importing Word document"
24
+ msgstr ""
@@ -0,0 +1,24 @@
1
+ # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: uz\n"
11
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "A toolbar button tooltip for the import from Word feature."
15
+ msgid "Import from Word"
16
+ msgstr ""
17
+
18
+ msgctxt "An error message shown to the user when an error occurred while importing the Word file."
19
+ msgid "An error occurred while importing the Word file."
20
+ msgstr ""
21
+
22
+ msgctxt "Aria label set on Import from Word button while importing Word document."
23
+ msgid "Importing Word document"
24
+ msgstr ""
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
16
10
  "Language: vi\n"
17
11
  "Plural-Forms: nplurals=1; plural=0;\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
16
10
  "Language: zh_CN\n"
17
11
  "Plural-Forms: nplurals=1; plural=0;\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -1,18 +1,12 @@
1
1
  # Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
2
  #
3
- # !!! IMPORTANT !!!
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
4
  #
5
- # Before you edit this file, please keep in mind that contributing to the project
6
- # translations is possible ONLY via the Transifex online service.
7
- #
8
- # To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
9
- #
10
- # To learn more, check out the official contributor's guide:
11
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
12
7
  #
13
8
  msgid ""
14
9
  msgstr ""
15
- "Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
16
10
  "Language: zh_TW\n"
17
11
  "Plural-Forms: nplurals=1; plural=0;\n"
18
12
  "Content-Type: text/plain; charset=UTF-8\n"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-import-word",
3
- "version": "43.2.0",
3
+ "version": "43.3.0-alpha.0",
4
4
  "description": "Import from Word feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -30,12 +30,12 @@
30
30
  "type": "module",
31
31
  "main": "src/index.js",
32
32
  "dependencies": {
33
- "@ckeditor/ckeditor5-clipboard": "43.2.0",
34
- "@ckeditor/ckeditor5-core": "43.2.0",
35
- "@ckeditor/ckeditor5-engine": "43.2.0",
36
- "@ckeditor/ckeditor5-ui": "43.2.0",
37
- "@ckeditor/ckeditor5-utils": "43.2.0",
38
- "ckeditor5": "43.2.0"
33
+ "@ckeditor/ckeditor5-clipboard": "43.3.0-alpha.0",
34
+ "@ckeditor/ckeditor5-core": "43.3.0-alpha.0",
35
+ "@ckeditor/ckeditor5-engine": "43.3.0-alpha.0",
36
+ "@ckeditor/ckeditor5-ui": "43.3.0-alpha.0",
37
+ "@ckeditor/ckeditor5-utils": "43.3.0-alpha.0",
38
+ "ckeditor5": "43.3.0-alpha.0"
39
39
  },
40
40
  "license": "SEE LICENSE IN LICENSE.md",
41
41
  "author": "CKSource (https://cksource.com/)",
@@ -27,6 +27,14 @@ export default class ImportWord extends Plugin {
27
27
  * @inheritDoc
28
28
  */
29
29
  static get pluginName(): "ImportWord";
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ static get isOfficialPlugin(): true;
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ static get isPremiumPlugin(): true;
30
38
  /**
31
39
  * @inheritDoc
32
40
  */
package/src/importword.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3880c3=_0x64c2;(function(_0x19597a,_0x1b4744){var _0x39ce23=_0x64c2,_0x424471=_0x19597a();while(!![]){try{var _0x476da7=parseInt(_0x39ce23(0x1e1))/0x1*(parseInt(_0x39ce23(0x1e7))/0x2)+-parseInt(_0x39ce23(0x1ec))/0x3*(parseInt(_0x39ce23(0x1e6))/0x4)+-parseInt(_0x39ce23(0x1e4))/0x5*(parseInt(_0x39ce23(0x1e5))/0x6)+-parseInt(_0x39ce23(0x1e8))/0x7+parseInt(_0x39ce23(0x1e3))/0x8+-parseInt(_0x39ce23(0x1e2))/0x9+parseInt(_0x39ce23(0x1e9))/0xa;if(_0x476da7===_0x1b4744)break;else _0x424471['push'](_0x424471['shift']());}catch(_0x1e60e0){_0x424471['push'](_0x424471['shift']());}}}(_0x1341,0xd6ac8));import{Plugin as _0x3b95ca}from'ckeditor5/src/core.js';function _0x64c2(_0x241786,_0x35c28a){var _0x1341dd=_0x1341();return _0x64c2=function(_0x64c2ee,_0x287f97){_0x64c2ee=_0x64c2ee-0x1e1;var _0x3acde1=_0x1341dd[_0x64c2ee];return _0x3acde1;},_0x64c2(_0x241786,_0x35c28a);}import _0x357284 from'./importwordui.js';import _0x415e6e from'./importwordediting.js';function _0x1341(){var _0x2c8cd0=['14385852MYxbyb','12420272DNHCGE','4653115pNpODc','6VtKOCJ','412SSHHEP','7422AwUFPH','1860075OEwSlh','21767160WbpxmB','pluginName','requires','6687iUfKoi','ImportWord','47coEEUN'];_0x1341=function(){return _0x2c8cd0;};return _0x1341();}export default class i extends _0x3b95ca{static get[_0x3880c3(0x1ea)](){var _0x3d3c6b=_0x3880c3;return _0x3d3c6b(0x1ed);}static get[_0x3880c3(0x1eb)](){return[_0x415e6e,_0x357284];}}
23
+ var _0x418e71=_0x5a13;(function(_0x5a53db,_0x510db2){var _0x301a0f=_0x5a13,_0x32ad7e=_0x5a53db();while(!![]){try{var _0x2373e4=parseInt(_0x301a0f(0x180))/0x1*(-parseInt(_0x301a0f(0x17d))/0x2)+parseInt(_0x301a0f(0x17e))/0x3+parseInt(_0x301a0f(0x176))/0x4*(parseInt(_0x301a0f(0x17b))/0x5)+parseInt(_0x301a0f(0x17f))/0x6+parseInt(_0x301a0f(0x175))/0x7*(parseInt(_0x301a0f(0x183))/0x8)+-parseInt(_0x301a0f(0x181))/0x9+-parseInt(_0x301a0f(0x184))/0xa*(parseInt(_0x301a0f(0x182))/0xb);if(_0x2373e4===_0x510db2)break;else _0x32ad7e['push'](_0x32ad7e['shift']());}catch(_0x224b94){_0x32ad7e['push'](_0x32ad7e['shift']());}}}(_0x51eb,0xdb695));import{Plugin as _0x4d6815}from'ckeditor5/src/core.js';import _0x147306 from'./importwordui.js';function _0x5a13(_0x1139d6,_0x25d84c){var _0x51eb39=_0x51eb();return _0x5a13=function(_0x5a133c,_0x3bb06b){_0x5a133c=_0x5a133c-0x175;var _0x2ab708=_0x51eb39[_0x5a133c];return _0x2ab708;},_0x5a13(_0x1139d6,_0x25d84c);}import _0x34a55b from'./importwordediting.js';export default class o extends _0x4d6815{static get[_0x418e71(0x179)](){var _0x55d1bb=_0x418e71;return _0x55d1bb(0x17a);}static get[_0x418e71(0x178)](){return!0x0;}static get[_0x418e71(0x17c)](){return!0x0;}static get[_0x418e71(0x177)](){return[_0x34a55b,_0x147306];}}function _0x51eb(){var _0x5cdf63=['4152666CdtgbV','5754252cKyXSN','1nbrHLW','7483842sbQBLT','22784322gvTntR','792NBTFAl','10yCCcBn','78099lQKXJv','455944pjLRtg','requires','isOfficialPlugin','pluginName','ImportWord','20gUPvNl','isPremiumPlugin','204404kJVJTH'];_0x51eb=function(){return _0x5cdf63;};return _0x51eb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55b272=_0x51da;function _0x51da(_0x2487a9,_0x161437){const _0x2ff444=_0x2ff4();return _0x51da=function(_0x51da4f,_0x54463d){_0x51da4f=_0x51da4f-0xaa;let _0x548098=_0x2ff444[_0x51da4f];return _0x548098;},_0x51da(_0x2487a9,_0x161437);}function _0x2ff4(){const _0x31b791=['locale','document','get','setData','623950BTfDFX','showWarning','text/html','headers','Authorization','checkChild','mergeFields','change:range','getRange','_cleanUpAfterImport','_abortController','markers','2071864siOpyC','_sendImportRequest','MergeFields','clipboardInput','importWord:','addMarker','getSelectedBlocks','position','finally','ImportWordEditing','reject','68wzfoeU','abort','signal','stringify','createPositionBefore','model','_prepareForImport','merge_fields','html','formatting','isAtEnd','_undoStepBatch','json','root','import-word-plugin-import-cancelled','46761djjUhW','$graveyard','fire','_checkEnabled','Notification','converterUrl','isEnabled','then','bind','schema','getToken','setSelection','1mTUPrq','isAtStart','parent','4548vuHHNW','resolve','set','POST','createBatch','102965SeJJlg','getFirstPosition','isEmpty','isBusy','_importMarker','editor','file','deleteContent','removeMarker','resolvedOptions','refresh','createPositionAfter','config','enqueueChange','low','execute','catch','split','editing','has','timeZone','plugins','isCollapsed','importWord','paragraph','dataInsert','stopListening','DateTimeFormat','import-word-plugin-conversion-failed','6lGsiMQ','view','5128221JGXHDl','_handleImportFailure','3736670IoJwpG','452949riofSN','aborted','rootName','_handleImportResponse','selection','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','element','value','9pKQYdO'];_0x2ff4=function(){return _0x31b791;};return _0x2ff4();}(function(_0x7626a7,_0x5e1238){const _0x3a1263=_0x51da,_0x61405f=_0x7626a7();while(!![]){try{const _0x2320dd=parseInt(_0x3a1263(0xb7))/0x1*(-parseInt(_0x3a1263(0xee))/0x2)+parseInt(_0x3a1263(0xe1))/0x3+parseInt(_0x3a1263(0x105))/0x4*(-parseInt(_0x3a1263(0xbf))/0x5)+parseInt(_0x3a1263(0xdc))/0x6*(-parseInt(_0x3a1263(0xde))/0x7)+parseInt(_0x3a1263(0xfa))/0x8*(-parseInt(_0x3a1263(0xe9))/0x9)+parseInt(_0x3a1263(0xe0))/0xa+parseInt(_0x3a1263(0xab))/0xb*(parseInt(_0x3a1263(0xba))/0xc);if(_0x2320dd===_0x5e1238)break;else _0x61405f['push'](_0x61405f['shift']());}catch(_0x2c025b){_0x61405f['push'](_0x61405f['shift']());}}}(_0x2ff4,0x75b59));import{Command as _0x4d39ae}from'ckeditor5/src/core.js';import{Range as _0x3b88df}from'ckeditor5/src/engine.js';import{logWarning as _0x36fce7,logError as _0x2037fb,first as _0xfd053f,uid as _0x3a448a}from'ckeditor5/src/utils.js';import{getTranslation as _0x271145}from'./utils/common-translations.js';export default class d extends _0x4d39ae{constructor(_0x3d9e56){const _0x3e8770=_0x51da;super(_0x3d9e56),this[_0x3e8770(0xbc)](_0x3e8770(0xc2),!0x1),this[_0x3e8770(0xc3)]=null,this[_0x3e8770(0x110)]=null,this[_0x3e8770(0xf8)]=null,this['on'](_0x3e8770(0xd8),(_0x114fc8,_0x37c2c5)=>{const _0x3f9e8a=_0x3e8770,_0x1bf3ed=new DataTransfer();_0x1bf3ed[_0x3f9e8a(0xed)](_0x3f9e8a(0xf0),_0x37c2c5[_0x3f9e8a(0x10d)]);const _0x530ec8=this[_0x3f9e8a(0xc3)][_0x3f9e8a(0xf6)]();this[_0x3f9e8a(0xc4)][_0x3f9e8a(0x10a)][_0x3f9e8a(0xcc)](this[_0x3f9e8a(0x110)],_0x26d4a2=>{const _0x42321b=_0x3f9e8a;this[_0x42321b(0xc3)][_0x42321b(0xd9)](),_0x26d4a2[_0x42321b(0xb6)](_0x530ec8),_0x3d9e56[_0x42321b(0xd1)][_0x42321b(0xdd)][_0x42321b(0xeb)][_0x42321b(0xad)](_0x42321b(0xfd),{'dataTransfer':_0x1bf3ed});});},{'priority':_0x3e8770(0xcd)});}[_0x55b272(0xc9)](){const _0x324df7=_0x55b272;this[_0x324df7(0xb1)]=this[_0x324df7(0xae)]();}[_0x55b272(0xce)](_0x332c69,_0x19fbb2={}){const _0x7cf19d=_0x55b272;if(this[_0x7cf19d(0xc2)])return Promise[_0x7cf19d(0xbb)]();const _0x1ffb6a=this[_0x7cf19d(0xc4)][_0x7cf19d(0xcb)][_0x7cf19d(0xec)](_0x7cf19d(0xd6));if(this[_0x7cf19d(0xc4)][_0x7cf19d(0xd4)][_0x7cf19d(0xd2)](_0x7cf19d(0xfc))){const {prefix:_0xe0ea8b,suffix:_0x26816f}=this[_0x7cf19d(0xc4)][_0x7cf19d(0xcb)][_0x7cf19d(0xec)](_0x7cf19d(0xf4));_0x19fbb2[_0x7cf19d(0x10c)]={'prefix':_0xe0ea8b,'suffix':_0x26816f};}const _0x51e753={'url':_0x1ffb6a[_0x7cf19d(0xb0)],'file':_0x332c69,'serviceConfig':{..._0x19fbb2,'formatting':_0x1ffb6a[_0x7cf19d(0x10e)],'timezone':new Intl[(_0x7cf19d(0xda))]()[_0x7cf19d(0xc8)]()[_0x7cf19d(0xd3)]}};return this[_0x7cf19d(0x10b)](),this[_0x7cf19d(0xfb)](_0x51e753)[_0x7cf19d(0xb2)](this[_0x7cf19d(0xe4)][_0x7cf19d(0xb3)](this))[_0x7cf19d(0xcf)](this[_0x7cf19d(0xdf)][_0x7cf19d(0xb3)](this))[_0x7cf19d(0x102)](this[_0x7cf19d(0xf7)][_0x7cf19d(0xb3)](this));}[_0x55b272(0xae)](){const _0x4501b1=_0x55b272;if(this[_0x4501b1(0xc2)])return!0x1;const _0x1954db=this[_0x4501b1(0xc4)][_0x4501b1(0x10a)],_0x2def61=_0x1954db[_0x4501b1(0xb4)],_0x41f7e1=_0x1954db[_0x4501b1(0xeb)][_0x4501b1(0xe5)],_0x280e50=_0xfd053f(_0x41f7e1[_0x4501b1(0x100)]());return!!_0x280e50&&_0x2def61[_0x4501b1(0xf3)](_0x280e50[_0x4501b1(0xb9)],_0x4501b1(0xd7));}[_0x55b272(0x10b)](){const _0x2a072b=_0x55b272,_0x3ac23a=this[_0x2a072b(0xc4)],_0x5dd48f=_0x3ac23a[_0x2a072b(0x10a)],_0x5139af=_0x5dd48f[_0x2a072b(0xeb)][_0x2a072b(0xe5)];this[_0x2a072b(0xf8)]=new AbortController(),this[_0x2a072b(0x110)]=_0x3ac23a[_0x2a072b(0x10a)][_0x2a072b(0xbe)]({'isUndoable':!0x0}),_0x5dd48f[_0x2a072b(0xcc)](this[_0x2a072b(0x110)],_0x4a9bd1=>{const _0x18d718=_0x2a072b;_0x5139af[_0x18d718(0xd5)]||_0x5dd48f[_0x18d718(0xc6)](_0x5139af,{'leaveUnmerged':!0x0});const _0x5a4578=_0x5139af[_0x18d718(0xc0)](),_0x2d6e5d=_0xfd053f(_0x5139af[_0x18d718(0x100)]());let _0x10ae3a;_0x10ae3a=_0x2d6e5d['is'](_0x18d718(0xe7),_0x18d718(0xd7))&&_0x2d6e5d[_0x18d718(0xc1)]?_0x5a4578:_0x5a4578[_0x18d718(0xb8)]?_0x5dd48f[_0x18d718(0x109)](_0x2d6e5d):_0x5a4578[_0x18d718(0x10f)]?_0x5dd48f[_0x18d718(0xca)](_0x2d6e5d):_0x4a9bd1[_0x18d718(0xd0)](_0x5a4578)[_0x18d718(0x101)],this[_0x18d718(0xc3)]=_0x4a9bd1[_0x18d718(0xff)](_0x18d718(0xfe)+_0x3a448a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x3b88df(_0x10ae3a)}),this[_0x18d718(0xc3)]['on'](_0x18d718(0xf5),()=>{const _0x336b23=_0x18d718;_0x336b23(0xac)===this[_0x336b23(0xc3)][_0x336b23(0xf6)]()[_0x336b23(0x112)][_0x336b23(0xe3)]&&this[_0x336b23(0xf8)][_0x336b23(0x106)]();});}),this[_0x2a072b(0xc2)]=!0x0,this[_0x2a072b(0xc9)]();}[_0x55b272(0xf7)](){const _0x32a65e=_0x55b272,_0x15cfe0=this[_0x32a65e(0xc4)][_0x32a65e(0x10a)];_0x15cfe0[_0x32a65e(0xf9)][_0x32a65e(0xd2)](this[_0x32a65e(0xc3)])&&_0x15cfe0[_0x32a65e(0xcc)](this[_0x32a65e(0x110)],_0x169f69=>{const _0x27d769=_0x32a65e;_0x169f69[_0x27d769(0xc7)](this[_0x27d769(0xc3)]);}),this[_0x32a65e(0xc3)]=null,this[_0x32a65e(0x110)]=null,this[_0x32a65e(0xf8)]=null,this[_0x32a65e(0xc2)]=!0x1,this[_0x32a65e(0xc9)]();}[_0x55b272(0xfb)]({url:_0xd89806,file:_0x471f5,serviceConfig:_0x9231a}){const _0x217646=_0x55b272,_0x44067c=this[_0x217646(0xc4)][_0x217646(0xd4)][_0x217646(0xec)](_0x217646(0x103))[_0x217646(0xb5)](),_0xbc534e=new FormData();_0xbc534e[_0x217646(0xbc)](_0x217646(0xcb),JSON[_0x217646(0x108)](_0x9231a)),_0xbc534e[_0x217646(0xbc)](_0x217646(0xc5),_0x471f5);const _0x345aae={'method':_0x217646(0xbd),'headers':{},'body':_0xbc534e,'signal':this[_0x217646(0xf8)][_0x217646(0x107)]};return _0x44067c&&(_0x345aae[_0x217646(0xf1)][_0x217646(0xf2)]=_0x44067c[_0x217646(0xe8)]),fetch(_0xd89806,_0x345aae);}[_0x55b272(0xe4)](_0x1efe89){const _0x1c78b9=_0x55b272;return _0x1efe89['ok']?_0x1efe89[_0x1c78b9(0x111)]()[_0x1c78b9(0xb2)](_0x3a823e=>{const _0x25a703=_0x1c78b9;if(!this[_0x25a703(0xc4)][_0x25a703(0x10a)][_0x25a703(0xf9)][_0x25a703(0xd2)](this[_0x25a703(0xc3)]))return;_0x25a703(0xac)!==this[_0x25a703(0xc3)][_0x25a703(0xf6)]()[_0x25a703(0x112)][_0x25a703(0xe3)]&&this[_0x25a703(0xad)](_0x25a703(0xd8),_0x3a823e);}):Promise[_0x1c78b9(0x104)]();}[_0x55b272(0xdf)](){const _0xf6db8e=_0x55b272;if(this[_0xf6db8e(0xf8)][_0xf6db8e(0x107)][_0xf6db8e(0xe2)])return void _0x36fce7(_0xf6db8e(0xaa));const _0x45f52e=this[_0xf6db8e(0xc4)],_0x3f0016=_0x271145(_0x45f52e[_0xf6db8e(0xea)],_0xf6db8e(0xe6));_0x45f52e[_0xf6db8e(0xd4)][_0xf6db8e(0xec)](_0xf6db8e(0xaf))[_0xf6db8e(0xef)](_0x3f0016),_0x2037fb(_0xf6db8e(0xdb));}}
23
+ const _0xaf2500=_0x5b05;function _0x2c05(){const _0x229379=['parent','selection','_cleanUpAfterImport','rootName','createBatch','50MsrEyv','isAtEnd','clipboardInput','isEmpty','enqueueChange','_prepareForImport','has','checkChild','split','1935882wSjYiA','_checkEnabled','then','schema','position','element','refresh','createPositionBefore','config','bind','showWarning','catch','text/html','Authorization','_handleImportFailure','_handleImportResponse','markers','document','headers','_abortController','getRange','getToken','2wsrmLA','resolve','createPositionAfter','_importMarker','editing','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','1185403rCOZSk','isBusy','_undoStepBatch','removeMarker','76KZUnjo','381549lKKLIZ','setData','file','import-word-plugin-conversion-failed','ImportWordEditing','$graveyard','isCollapsed','Notification','merge_fields','120Tdfhji','dataInsert','DateTimeFormat','198FQqnAL','MergeFields','execute','plugins','1362504IKoVdT','getSelectedBlocks','aborted','json','importWord','paragraph','reject','timeZone','view','resolvedOptions','isEnabled','mergeFields','low','POST','_sendImportRequest','editor','get','setSelection','addMarker','set','import-word-plugin-import-cancelled','stringify','abort','2733RPMSIW','locale','change:range','getFirstPosition','finally','root','deleteContent','importWord:','value','formatting','122856CNwDqT','converterUrl','stopListening','signal','model','303900SCcpzE','isAtStart','html','fire'];_0x2c05=function(){return _0x229379;};return _0x2c05();}(function(_0x385d50,_0xbb905b){const _0x2c1796=_0x5b05,_0x32e321=_0x385d50();while(!![]){try{const _0x2252dd=parseInt(_0x2c1796(0xee))/0x1*(-parseInt(_0x2c1796(0xe8))/0x2)+parseInt(_0x2c1796(0x11a))/0x3*(parseInt(_0x2c1796(0xf2))/0x4)+-parseInt(_0x2c1796(0x129))/0x5+parseInt(_0x2c1796(0x103))/0x6+-parseInt(_0x2c1796(0xf3))/0x7*(-parseInt(_0x2c1796(0xfc))/0x8)+parseInt(_0x2c1796(0xd2))/0x9*(parseInt(_0x2c1796(0xc9))/0xa)+-parseInt(_0x2c1796(0xff))/0xb*(parseInt(_0x2c1796(0x124))/0xc);if(_0x2252dd===_0xbb905b)break;else _0x32e321['push'](_0x32e321['shift']());}catch(_0x446fed){_0x32e321['push'](_0x32e321['shift']());}}}(_0x2c05,0xac9cd));function _0x5b05(_0xac9b5c,_0x20b203){const _0x2c05a2=_0x2c05();return _0x5b05=function(_0x5b0519,_0x2c1ffc){_0x5b0519=_0x5b0519-0xc5;let _0x57ae7b=_0x2c05a2[_0x5b0519];return _0x57ae7b;},_0x5b05(_0xac9b5c,_0x20b203);}import{Command as _0x36f502}from'ckeditor5/src/core.js';import{Range as _0xdb286d}from'ckeditor5/src/engine.js';import{logWarning as _0x4a6ada,logError as _0xd0f29b,first as _0x10df42,uid as _0x1ab270}from'ckeditor5/src/utils.js';import{getTranslation as _0x1c30df}from'./utils/common-translations.js';export default class d extends _0x36f502{constructor(_0x3636b3){const _0x5dba79=_0x5b05;super(_0x3636b3),this[_0x5dba79(0x116)](_0x5dba79(0xef),!0x1),this[_0x5dba79(0xeb)]=null,this[_0x5dba79(0xf0)]=null,this[_0x5dba79(0xe5)]=null,this['on'](_0x5dba79(0xfd),(_0x5fb306,_0x1ce0b7)=>{const _0x1a5178=_0x5dba79,_0x8d1aa7=new DataTransfer();_0x8d1aa7[_0x1a5178(0xf4)](_0x1a5178(0xde),_0x1ce0b7[_0x1a5178(0x12b)]);const _0x184a24=this[_0x1a5178(0xeb)][_0x1a5178(0xe6)]();this[_0x1a5178(0x112)][_0x1a5178(0x128)][_0x1a5178(0xcd)](this[_0x1a5178(0xf0)],_0x5b4075=>{const _0x409ac1=_0x1a5178;this[_0x409ac1(0xeb)][_0x409ac1(0x126)](),_0x5b4075[_0x409ac1(0x114)](_0x184a24),_0x3636b3[_0x409ac1(0xec)][_0x409ac1(0x10b)][_0x409ac1(0xe3)][_0x409ac1(0x12c)](_0x409ac1(0xcb),{'dataTransfer':_0x8d1aa7});});},{'priority':_0x5dba79(0x10f)});}[_0xaf2500(0xd8)](){const _0x51e242=_0xaf2500;this[_0x51e242(0x10d)]=this[_0x51e242(0xd3)]();}[_0xaf2500(0x101)](_0x271735,_0x246f8f={}){const _0x229720=_0xaf2500;if(this[_0x229720(0xef)])return Promise[_0x229720(0xe9)]();const _0x353b73=this[_0x229720(0x112)][_0x229720(0xda)][_0x229720(0x113)](_0x229720(0x107));if(this[_0x229720(0x112)][_0x229720(0x102)][_0x229720(0xcf)](_0x229720(0x100))){const {prefix:_0x4e9080,suffix:_0x411dff}=this[_0x229720(0x112)][_0x229720(0xda)][_0x229720(0x113)](_0x229720(0x10e));_0x246f8f[_0x229720(0xfb)]={'prefix':_0x4e9080,'suffix':_0x411dff};}const _0x432624={'url':_0x353b73[_0x229720(0x125)],'file':_0x271735,'serviceConfig':{..._0x246f8f,'formatting':_0x353b73[_0x229720(0x123)],'timezone':new Intl[(_0x229720(0xfe))]()[_0x229720(0x10c)]()[_0x229720(0x10a)]}};return this[_0x229720(0xce)](),this[_0x229720(0x111)](_0x432624)[_0x229720(0xd4)](this[_0x229720(0xe1)][_0x229720(0xdb)](this))[_0x229720(0xdd)](this[_0x229720(0xe0)][_0x229720(0xdb)](this))[_0x229720(0x11e)](this[_0x229720(0xc6)][_0x229720(0xdb)](this));}[_0xaf2500(0xd3)](){const _0x5725a0=_0xaf2500;if(this[_0x5725a0(0xef)])return!0x1;const _0x47f75d=this[_0x5725a0(0x112)][_0x5725a0(0x128)],_0xc22530=_0x47f75d[_0x5725a0(0xd5)],_0x3029fa=_0x47f75d[_0x5725a0(0xe3)][_0x5725a0(0xc5)],_0x10cf7a=_0x10df42(_0x3029fa[_0x5725a0(0x104)]());return!!_0x10cf7a&&_0xc22530[_0x5725a0(0xd0)](_0x10cf7a[_0x5725a0(0x12d)],_0x5725a0(0x108));}[_0xaf2500(0xce)](){const _0x4c9a77=_0xaf2500,_0x4099b9=this[_0x4c9a77(0x112)],_0x3edcc2=_0x4099b9[_0x4c9a77(0x128)],_0x1545d2=_0x3edcc2[_0x4c9a77(0xe3)][_0x4c9a77(0xc5)];this[_0x4c9a77(0xe5)]=new AbortController(),this[_0x4c9a77(0xf0)]=_0x4099b9[_0x4c9a77(0x128)][_0x4c9a77(0xc8)]({'isUndoable':!0x0}),_0x3edcc2[_0x4c9a77(0xcd)](this[_0x4c9a77(0xf0)],_0x556879=>{const _0x30aee5=_0x4c9a77;_0x1545d2[_0x30aee5(0xf9)]||_0x3edcc2[_0x30aee5(0x120)](_0x1545d2,{'leaveUnmerged':!0x0});const _0x4493a9=_0x1545d2[_0x30aee5(0x11d)](),_0x3ea207=_0x10df42(_0x1545d2[_0x30aee5(0x104)]());let _0x12bd38;_0x12bd38=_0x3ea207['is'](_0x30aee5(0xd7),_0x30aee5(0x108))&&_0x3ea207[_0x30aee5(0xcc)]?_0x4493a9:_0x4493a9[_0x30aee5(0x12a)]?_0x3edcc2[_0x30aee5(0xd9)](_0x3ea207):_0x4493a9[_0x30aee5(0xca)]?_0x3edcc2[_0x30aee5(0xea)](_0x3ea207):_0x556879[_0x30aee5(0xd1)](_0x4493a9)[_0x30aee5(0xd6)],this[_0x30aee5(0xeb)]=_0x556879[_0x30aee5(0x115)](_0x30aee5(0x121)+_0x1ab270(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xdb286d(_0x12bd38)}),this[_0x30aee5(0xeb)]['on'](_0x30aee5(0x11c),()=>{const _0x798ef=_0x30aee5;_0x798ef(0xf8)===this[_0x798ef(0xeb)][_0x798ef(0xe6)]()[_0x798ef(0x11f)][_0x798ef(0xc7)]&&this[_0x798ef(0xe5)][_0x798ef(0x119)]();});}),this[_0x4c9a77(0xef)]=!0x0,this[_0x4c9a77(0xd8)]();}[_0xaf2500(0xc6)](){const _0xcaaedf=_0xaf2500,_0x9d6f17=this[_0xcaaedf(0x112)][_0xcaaedf(0x128)];_0x9d6f17[_0xcaaedf(0xe2)][_0xcaaedf(0xcf)](this[_0xcaaedf(0xeb)])&&_0x9d6f17[_0xcaaedf(0xcd)](this[_0xcaaedf(0xf0)],_0x37180f=>{const _0x43357d=_0xcaaedf;_0x37180f[_0x43357d(0xf1)](this[_0x43357d(0xeb)]);}),this[_0xcaaedf(0xeb)]=null,this[_0xcaaedf(0xf0)]=null,this[_0xcaaedf(0xe5)]=null,this[_0xcaaedf(0xef)]=!0x1,this[_0xcaaedf(0xd8)]();}[_0xaf2500(0x111)]({url:_0x2daed0,file:_0x3900ed,serviceConfig:_0x3e6095}){const _0x4f7ef1=_0xaf2500,_0x46ffe9=this[_0x4f7ef1(0x112)][_0x4f7ef1(0x102)][_0x4f7ef1(0x113)](_0x4f7ef1(0xf7))[_0x4f7ef1(0xe7)](),_0x2075e6=new FormData();_0x2075e6[_0x4f7ef1(0x116)](_0x4f7ef1(0xda),JSON[_0x4f7ef1(0x118)](_0x3e6095)),_0x2075e6[_0x4f7ef1(0x116)](_0x4f7ef1(0xf5),_0x3900ed);const _0x356cd7={'method':_0x4f7ef1(0x110),'headers':{},'body':_0x2075e6,'signal':this[_0x4f7ef1(0xe5)][_0x4f7ef1(0x127)]};return _0x46ffe9&&(_0x356cd7[_0x4f7ef1(0xe4)][_0x4f7ef1(0xdf)]=_0x46ffe9[_0x4f7ef1(0x122)]),fetch(_0x2daed0,_0x356cd7);}[_0xaf2500(0xe1)](_0x1d0259){const _0x55e4b9=_0xaf2500;return _0x1d0259['ok']?_0x1d0259[_0x55e4b9(0x106)]()[_0x55e4b9(0xd4)](_0x1db193=>{const _0x3edcf6=_0x55e4b9;if(!this[_0x3edcf6(0x112)][_0x3edcf6(0x128)][_0x3edcf6(0xe2)][_0x3edcf6(0xcf)](this[_0x3edcf6(0xeb)]))return;_0x3edcf6(0xf8)!==this[_0x3edcf6(0xeb)][_0x3edcf6(0xe6)]()[_0x3edcf6(0x11f)][_0x3edcf6(0xc7)]&&this[_0x3edcf6(0x12c)](_0x3edcf6(0xfd),_0x1db193);}):Promise[_0x55e4b9(0x109)]();}[_0xaf2500(0xe0)](){const _0x25dba8=_0xaf2500;if(this[_0x25dba8(0xe5)][_0x25dba8(0x127)][_0x25dba8(0x105)])return void _0x4a6ada(_0x25dba8(0x117));const _0x51790e=this[_0x25dba8(0x112)],_0xa2058c=_0x1c30df(_0x51790e[_0x25dba8(0x11b)],_0x25dba8(0xed));_0x51790e[_0x25dba8(0x102)][_0x25dba8(0x113)](_0x25dba8(0xfa))[_0x25dba8(0xdc)](_0xa2058c),_0xd0f29b(_0x25dba8(0xf6));}}
@@ -20,6 +20,14 @@ export default class ImportWordEditing extends Plugin {
20
20
  * @inheritDoc
21
21
  */
22
22
  static get pluginName(): "ImportWordEditing";
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ static get isOfficialPlugin(): true;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ static get isPremiumPlugin(): true;
23
31
  /**
24
32
  * @inheritDoc
25
33
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5dd5(_0x34ce68,_0x16ea78){const _0x55770c=_0x5577();return _0x5dd5=function(_0x5dd594,_0x3eb797){_0x5dd594=_0x5dd594-0xd1;let _0x490e3d=_0x55770c[_0x5dd594];return _0x490e3d;},_0x5dd5(_0x34ce68,_0x16ea78);}const _0x723a9e=_0x5dd5;(function(_0x1437be,_0x330c58){const _0x54b4c4=_0x5dd5,_0x213717=_0x1437be();while(!![]){try{const _0x28b769=parseInt(_0x54b4c4(0xf0))/0x1+parseInt(_0x54b4c4(0xd8))/0x2+-parseInt(_0x54b4c4(0xde))/0x3+-parseInt(_0x54b4c4(0xdc))/0x4*(-parseInt(_0x54b4c4(0xe6))/0x5)+-parseInt(_0x54b4c4(0xd4))/0x6*(parseInt(_0x54b4c4(0xd1))/0x7)+-parseInt(_0x54b4c4(0xec))/0x8*(parseInt(_0x54b4c4(0xe2))/0x9)+parseInt(_0x54b4c4(0xd3))/0xa;if(_0x28b769===_0x330c58)break;else _0x213717['push'](_0x213717['shift']());}catch(_0x295f27){_0x213717['push'](_0x213717['shift']());}}}(_0x5577,0x56c0b));import{Plugin as _0x22b9dd}from'ckeditor5/src/core.js';import{Notification as _0x45fd56}from'ckeditor5/src/ui.js';function _0x5577(){const _0x44069b=['607934qEekhM','112rOYVZz','none','3771020JPxGmz','44922EGQeLm','ImportWordEditing','https://docx-converter.cke-cs.com/v2/convert/docx-html','define','147164kcYqma','requires','init','tokenUrl','16724AcWCvS','getToken','2127144vLMiHn','cloudServices','plugins','inline','43128coabWc','get','CloudServices','importWord','345BzXCbA','token','pluginName','commands','config','_token','272gNNMQF','editor','registerTokenUrl','add'];_0x5577=function(){return _0x44069b;};return _0x5577();}import{ClipboardPipeline as _0xdbc18c}from'ckeditor5/src/clipboard.js';import _0xeb6619 from'./importwordcommand.js';export default class e extends _0x22b9dd{static get[_0x723a9e(0xe8)](){const _0x39e890=_0x723a9e;return _0x39e890(0xd5);}static get[_0x723a9e(0xd9)](){const _0x4cfd6c=_0x723a9e;return[_0x45fd56,_0xdbc18c,_0x4cfd6c(0xe4)];}constructor(_0x2e42e1){const _0x1b6b7f=_0x723a9e;super(_0x2e42e1),this[_0x1b6b7f(0xeb)]=null;}async[_0x723a9e(0xda)](){const _0x170186=_0x723a9e,_0x442c31=this[_0x170186(0xed)];_0x442c31[_0x170186(0xea)][_0x170186(0xd7)](_0x170186(0xe5),{'converterUrl':_0x170186(0xd6),'tokenUrl':(_0x442c31[_0x170186(0xea)][_0x170186(0xe3)](_0x170186(0xdf))||{})[_0x170186(0xdb)],'formatting':{'resets':_0x170186(0xd2),'defaults':_0x170186(0xd2),'styles':_0x170186(0xe1)}}),_0x442c31[_0x170186(0xe9)][_0x170186(0xef)](_0x170186(0xe5),new _0xeb6619(_0x442c31));const {tokenUrl:_0x13d6b1}=_0x442c31[_0x170186(0xea)][_0x170186(0xe3)](_0x170186(0xe5));if(_0x13d6b1){const {tokenUrl:_0x1420ff}=_0x442c31[_0x170186(0xea)][_0x170186(0xe3)](_0x170186(0xdf))||{};this[_0x170186(0xeb)]=_0x13d6b1===_0x1420ff?_0x442c31[_0x170186(0xe0)][_0x170186(0xe3)](_0x170186(0xe4))[_0x170186(0xe7)]:await _0x442c31[_0x170186(0xe0)][_0x170186(0xe3)](_0x170186(0xe4))[_0x170186(0xee)](_0x13d6b1);}}[_0x723a9e(0xdd)](){const _0x402952=_0x723a9e;return this[_0x402952(0xeb)];}}
23
+ function _0x257e(){const _0x2c973d=['7983GlyGOO','config','init','ImportWordEditing','isOfficialPlugin','5373bEYBmV','isPremiumPlugin','970PkvGUq','tokenUrl','470ObjOsx','define','CloudServices','get','9875310yqDPfG','commands','_token','190afhaeL','getToken','https://docx-converter.cke-cs.com/v2/convert/docx-html','none','2413096pcBLuI','importWord','48724511tcqQoi','cloudServices','21jysuLv','1111469lcvMyR','registerTokenUrl','requires','add','73704JAxFPk','inline','token','plugins','editor','pluginName'];_0x257e=function(){return _0x2c973d;};return _0x257e();}const _0x1f7d88=_0x3aeb;(function(_0x3a27ee,_0x12bf7f){const _0xbcfe9f=_0x3aeb,_0x3ce53f=_0x3a27ee();while(!![]){try{const _0x344118=-parseInt(_0xbcfe9f(0x137))/0x1+parseInt(_0xbcfe9f(0x125))/0x2*(parseInt(_0xbcfe9f(0x123))/0x3)+parseInt(_0xbcfe9f(0x13b))/0x4*(-parseInt(_0xbcfe9f(0x12e))/0x5)+-parseInt(_0xbcfe9f(0x12b))/0x6+parseInt(_0xbcfe9f(0x136))/0x7*(-parseInt(_0xbcfe9f(0x132))/0x8)+-parseInt(_0xbcfe9f(0x11e))/0x9*(parseInt(_0xbcfe9f(0x127))/0xa)+parseInt(_0xbcfe9f(0x134))/0xb;if(_0x344118===_0x12bf7f)break;else _0x3ce53f['push'](_0x3ce53f['shift']());}catch(_0xf69286){_0x3ce53f['push'](_0x3ce53f['shift']());}}}(_0x257e,0xda42a));function _0x3aeb(_0x64480e,_0x402524){const _0x257ed7=_0x257e();return _0x3aeb=function(_0x3aeb7c,_0x1e4f47){_0x3aeb7c=_0x3aeb7c-0x11e;let _0x2d6db7=_0x257ed7[_0x3aeb7c];return _0x2d6db7;},_0x3aeb(_0x64480e,_0x402524);}import{Plugin as _0x5a4da8}from'ckeditor5/src/core.js';import{Notification as _0x15733d}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x34869e}from'ckeditor5/src/clipboard.js';import _0x8b3015 from'./importwordcommand.js';export default class e extends _0x5a4da8{static get[_0x1f7d88(0x140)](){const _0x1b2fdb=_0x1f7d88;return _0x1b2fdb(0x121);}static get[_0x1f7d88(0x122)](){return!0x0;}static get[_0x1f7d88(0x124)](){return!0x0;}static get[_0x1f7d88(0x139)](){const _0x1985ba=_0x1f7d88;return[_0x15733d,_0x34869e,_0x1985ba(0x129)];}constructor(_0xdd8e05){const _0x5ce5ab=_0x1f7d88;super(_0xdd8e05),this[_0x5ce5ab(0x12d)]=null;}async[_0x1f7d88(0x120)](){const _0x1a9b6c=_0x1f7d88,_0x10a996=this[_0x1a9b6c(0x13f)];_0x10a996[_0x1a9b6c(0x11f)][_0x1a9b6c(0x128)](_0x1a9b6c(0x133),{'converterUrl':_0x1a9b6c(0x130),'tokenUrl':(_0x10a996[_0x1a9b6c(0x11f)][_0x1a9b6c(0x12a)](_0x1a9b6c(0x135))||{})[_0x1a9b6c(0x126)],'formatting':{'resets':_0x1a9b6c(0x131),'defaults':_0x1a9b6c(0x131),'styles':_0x1a9b6c(0x13c)}}),_0x10a996[_0x1a9b6c(0x12c)][_0x1a9b6c(0x13a)](_0x1a9b6c(0x133),new _0x8b3015(_0x10a996));const {tokenUrl:_0x59404d}=_0x10a996[_0x1a9b6c(0x11f)][_0x1a9b6c(0x12a)](_0x1a9b6c(0x133));if(_0x59404d){const {tokenUrl:_0x502374}=_0x10a996[_0x1a9b6c(0x11f)][_0x1a9b6c(0x12a)](_0x1a9b6c(0x135))||{};this[_0x1a9b6c(0x12d)]=_0x59404d===_0x502374?_0x10a996[_0x1a9b6c(0x13e)][_0x1a9b6c(0x12a)](_0x1a9b6c(0x129))[_0x1a9b6c(0x13d)]:await _0x10a996[_0x1a9b6c(0x13e)][_0x1a9b6c(0x12a)](_0x1a9b6c(0x129))[_0x1a9b6c(0x138)](_0x59404d);}}[_0x1f7d88(0x12f)](){const _0x51c319=_0x1f7d88;return this[_0x51c319(0x12d)];}}
@@ -15,6 +15,14 @@ export default class ImportWordUI extends Plugin {
15
15
  * @inheritDoc
16
16
  */
17
17
  static get pluginName(): "ImportWordUI";
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get isOfficialPlugin(): true;
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isPremiumPlugin(): true;
18
26
  /**
19
27
  * @inheritDoc
20
28
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2037(){const _0x38825c=['children','add','importWord','iconView','113xrdpqA','commands','editor','1662mjnRdN','bind','set','init','focus','view','3856QyPwnC','editing','ImportWordUI','32lUrQDc','8141QzrpcB','menuBar:importWord','145098ZizXkG','isVisible','1624430mLluLL','label','isOn','isEnabled','101485DTXfxD','227187CozsjD','_createButton','componentFactory','get','isBusy','Importing\x20Word\x20document','pluginName','locale','32qdqYFU','55DBwFtx','1493892wJJaoP','Import\x20from\x20Word','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','execute','done','tooltip'];_0x2037=function(){return _0x38825c;};return _0x2037();}function _0x3850(_0x243d65,_0x1073be){const _0x20374a=_0x2037();return _0x3850=function(_0x3850bf,_0x506268){_0x3850bf=_0x3850bf-0x145;let _0x4cb445=_0x20374a[_0x3850bf];return _0x4cb445;},_0x3850(_0x243d65,_0x1073be);}const _0x168793=_0x3850;(function(_0x78075b,_0x4b3f72){const _0x5d6d28=_0x3850,_0x3f516e=_0x78075b();while(!![]){try{const _0x4cf899=parseInt(_0x5d6d28(0x14c))/0x1*(-parseInt(_0x5d6d28(0x155))/0x2)+parseInt(_0x5d6d28(0x15b))/0x3*(parseInt(_0x5d6d28(0x158))/0x4)+parseInt(_0x5d6d28(0x161))/0x5+parseInt(_0x5d6d28(0x14f))/0x6*(-parseInt(_0x5d6d28(0x159))/0x7)+parseInt(_0x5d6d28(0x16a))/0x8*(-parseInt(_0x5d6d28(0x162))/0x9)+-parseInt(_0x5d6d28(0x15d))/0xa+parseInt(_0x5d6d28(0x16b))/0xb*(parseInt(_0x5d6d28(0x16c))/0xc);if(_0x4cf899===_0x4b3f72)break;else _0x3f516e['push'](_0x3f516e['shift']());}catch(_0x54e5b8){_0x3f516e['push'](_0x3f516e['shift']());}}}(_0x2037,0x373ca));import{Plugin as _0x17000d}from'ckeditor5/src/core.js';import{MenuBarMenuListItemFileDialogButtonView as _0xf82b93,SpinnerView as _0x330b51,FileDialogButtonView as _0x7733da}from'ckeditor5/src/ui.js';import _0x57836c from'../theme/icons/importword.svg';import{getTranslation as _0x27d9c9}from'./utils/common-translations.js';export default class o extends _0x17000d{static get[_0x168793(0x168)](){const _0x26c5ab=_0x168793;return _0x26c5ab(0x157);}[_0x168793(0x152)](){const _0xbeaf26=_0x168793,_0x4cee53=this[_0xbeaf26(0x14e)];_0x4cee53['ui'][_0xbeaf26(0x164)][_0xbeaf26(0x149)](_0xbeaf26(0x14a),()=>{const _0x12afc8=_0xbeaf26,_0xe5f2ad=this[_0x12afc8(0x163)](_0x7733da),_0x2e3f0a=_0x4cee53[_0x12afc8(0x14d)][_0x12afc8(0x165)](_0x12afc8(0x14a));return _0xe5f2ad[_0x12afc8(0x150)](_0x12afc8(0x15f))['to'](_0x2e3f0a,_0x12afc8(0x166)),_0xe5f2ad[_0x12afc8(0x147)]=!0x0,_0xe5f2ad;}),_0x4cee53['ui'][_0xbeaf26(0x164)][_0xbeaf26(0x149)](_0xbeaf26(0x15a),()=>this[_0xbeaf26(0x163)](_0xf82b93));}[_0x168793(0x163)](_0x5f48d5){const _0x143cb5=_0x168793,_0x5c0171=this[_0x143cb5(0x14e)],_0x12b65e=_0x5c0171[_0x143cb5(0x14d)][_0x143cb5(0x165)](_0x143cb5(0x14a)),_0x4610dd=new _0x5f48d5(_0x5c0171[_0x143cb5(0x169)]),_0x4d4033=new _0x330b51();return _0x4610dd[_0x143cb5(0x151)]({'acceptedType':_0x143cb5(0x16e)}),_0x4610dd[_0x143cb5(0x151)]({'icon':_0x57836c}),_0x4610dd[_0x143cb5(0x150)](_0x143cb5(0x160))['to'](_0x12b65e),_0x4610dd[_0x143cb5(0x150)](_0x143cb5(0x15e))['to'](_0x12b65e,_0x143cb5(0x166),_0x1a5db7=>_0x27d9c9(_0x5c0171[_0x143cb5(0x169)],_0x1a5db7?_0x143cb5(0x167):_0x143cb5(0x16d))),_0x4d4033[_0x143cb5(0x150)](_0x143cb5(0x15c))['to'](_0x12b65e,_0x143cb5(0x166)),_0x4610dd[_0x143cb5(0x14b)][_0x143cb5(0x150)](_0x143cb5(0x15c))['to'](_0x12b65e,_0x143cb5(0x166),_0xce6195=>!_0xce6195),_0x4610dd[_0x143cb5(0x148)][_0x143cb5(0x149)](_0x4d4033),_0x4610dd['on'](_0x143cb5(0x146),(_0x340cc0,_0x4e7c07)=>{const _0x556371=_0x143cb5;_0x5c0171[_0x556371(0x145)](_0x556371(0x14a),_0x4e7c07[0x0],{}),_0x5c0171[_0x556371(0x156)][_0x556371(0x154)][_0x556371(0x153)]();}),_0x4610dd;}}
23
+ const _0x219353=_0x4d49;(function(_0x5b1de9,_0x38165e){const _0x52676e=_0x4d49,_0x5f4145=_0x5b1de9();while(!![]){try{const _0x2a93bc=-parseInt(_0x52676e(0x80))/0x1*(-parseInt(_0x52676e(0xa6))/0x2)+-parseInt(_0x52676e(0x9c))/0x3*(parseInt(_0x52676e(0x9a))/0x4)+-parseInt(_0x52676e(0xa7))/0x5*(parseInt(_0x52676e(0x7d))/0x6)+parseInt(_0x52676e(0x8c))/0x7+parseInt(_0x52676e(0xa9))/0x8*(-parseInt(_0x52676e(0x85))/0x9)+-parseInt(_0x52676e(0x8a))/0xa*(parseInt(_0x52676e(0x98))/0xb)+parseInt(_0x52676e(0xa8))/0xc*(parseInt(_0x52676e(0x8f))/0xd);if(_0x2a93bc===_0x38165e)break;else _0x5f4145['push'](_0x5f4145['shift']());}catch(_0x23d838){_0x5f4145['push'](_0x5f4145['shift']());}}}(_0x3093,0x731a3));function _0x3093(){const _0x579d7f=['label','ImportWordUI','200oqQBTv','importWord','isOfficialPlugin','componentFactory','Import\x20from\x20Word','4494573JiuilH','iconView','isEnabled','execute','view','595980JLwmFz','get','1465240xQdGsL','editing','add','689DRcTGm','tooltip','_createButton','children','editor','Importing\x20Word\x20document','done','commands','locale','88qprgvd','pluginName','4SywICI','init','1590558EfKXNS','isPremiumPlugin','isOn','isVisible','set','isBusy','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','menuBar:importWord','bind','focus','2462pdATPp','2178895MLKmpu','443340sUQoTs','8uzZjId','6znLBsT'];_0x3093=function(){return _0x579d7f;};return _0x3093();}import{Plugin as _0x4bf5bf}from'ckeditor5/src/core.js';function _0x4d49(_0x518ce3,_0x4da7be){const _0x30936f=_0x3093();return _0x4d49=function(_0x4d49b2,_0x53c02e){_0x4d49b2=_0x4d49b2-0x7d;let _0x24bc6d=_0x30936f[_0x4d49b2];return _0x24bc6d;},_0x4d49(_0x518ce3,_0x4da7be);}import{MenuBarMenuListItemFileDialogButtonView as _0x46950e,SpinnerView as _0x3e9b6f,FileDialogButtonView as _0x1475ab}from'ckeditor5/src/ui.js';import _0x515635 from'../theme/icons/importword.svg';import{getTranslation as _0x147cea}from'./utils/common-translations.js';export default class i extends _0x4bf5bf{static get[_0x219353(0x99)](){const _0x589c85=_0x219353;return _0x589c85(0x7f);}static get[_0x219353(0x82)](){return!0x0;}static get[_0x219353(0x9d)](){return!0x0;}[_0x219353(0x9b)](){const _0x31ddc5=_0x219353,_0x2fc312=this[_0x31ddc5(0x93)];_0x2fc312['ui'][_0x31ddc5(0x83)][_0x31ddc5(0x8e)](_0x31ddc5(0x81),()=>{const _0x43c0de=_0x31ddc5,_0x558e0d=this[_0x43c0de(0x91)](_0x1475ab),_0x221a25=_0x2fc312[_0x43c0de(0x96)][_0x43c0de(0x8b)](_0x43c0de(0x81));return _0x558e0d[_0x43c0de(0xa4)](_0x43c0de(0x9e))['to'](_0x221a25,_0x43c0de(0xa1)),_0x558e0d[_0x43c0de(0x90)]=!0x0,_0x558e0d;}),_0x2fc312['ui'][_0x31ddc5(0x83)][_0x31ddc5(0x8e)](_0x31ddc5(0xa3),()=>this[_0x31ddc5(0x91)](_0x46950e));}[_0x219353(0x91)](_0x476145){const _0x137850=_0x219353,_0x349892=this[_0x137850(0x93)],_0x50060c=_0x349892[_0x137850(0x96)][_0x137850(0x8b)](_0x137850(0x81)),_0x4d5e7a=new _0x476145(_0x349892[_0x137850(0x97)]),_0x16e953=new _0x3e9b6f();return _0x4d5e7a[_0x137850(0xa0)]({'acceptedType':_0x137850(0xa2)}),_0x4d5e7a[_0x137850(0xa0)]({'icon':_0x515635}),_0x4d5e7a[_0x137850(0xa4)](_0x137850(0x87))['to'](_0x50060c),_0x4d5e7a[_0x137850(0xa4)](_0x137850(0x7e))['to'](_0x50060c,_0x137850(0xa1),_0x5af717=>_0x147cea(_0x349892[_0x137850(0x97)],_0x5af717?_0x137850(0x94):_0x137850(0x84))),_0x16e953[_0x137850(0xa4)](_0x137850(0x9f))['to'](_0x50060c,_0x137850(0xa1)),_0x4d5e7a[_0x137850(0x86)][_0x137850(0xa4)](_0x137850(0x9f))['to'](_0x50060c,_0x137850(0xa1),_0x1f7993=>!_0x1f7993),_0x4d5e7a[_0x137850(0x92)][_0x137850(0x8e)](_0x16e953),_0x4d5e7a['on'](_0x137850(0x95),(_0x46f817,_0x29ab4b)=>{const _0x4f6a6e=_0x137850;_0x349892[_0x4f6a6e(0x88)](_0x4f6a6e(0x81),_0x29ab4b[0x0],{}),_0x349892[_0x4f6a6e(0x8d)][_0x4f6a6e(0x89)][_0x4f6a6e(0xa5)]();}),_0x4d5e7a;}}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c52f7,_0x301058){var _0x21bb61=_0x2108,_0xbee079=_0x2c52f7();while(!![]){try{var _0x28d164=parseInt(_0x21bb61(0x17c))/0x1*(parseInt(_0x21bb61(0x183))/0x2)+parseInt(_0x21bb61(0x17b))/0x3+parseInt(_0x21bb61(0x180))/0x4+parseInt(_0x21bb61(0x17e))/0x5*(-parseInt(_0x21bb61(0x181))/0x6)+-parseInt(_0x21bb61(0x17a))/0x7*(-parseInt(_0x21bb61(0x182))/0x8)+-parseInt(_0x21bb61(0x17d))/0x9+-parseInt(_0x21bb61(0x17f))/0xa;if(_0x28d164===_0x301058)break;else _0xbee079['push'](_0xbee079['shift']());}catch(_0x186b8a){_0xbee079['push'](_0xbee079['shift']());}}}(_0x1fbf,0xa52dc));function _0x2108(_0x4d3d3b,_0x344fce){var _0x1fbfa3=_0x1fbf();return _0x2108=function(_0x21085e,_0x263e2e){_0x21085e=_0x21085e-0x17a;var _0x2c66b3=_0x1fbfa3[_0x21085e];return _0x2c66b3;},_0x2108(_0x4d3d3b,_0x344fce);}export{default as ImportWord}from'./importword.js';export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';import'./augmentation.js';function _0x1fbf(){var _0x93d7ac=['11YJyXnv','6930657VCbvZl','5UXCFEc','6667950shxghz','2524796DpElgb','1656852SZdKrq','16496jbkifn','230998AHVQic','553NFoKxs','974988XYoBzY'];_0x1fbf=function(){return _0x93d7ac;};return _0x1fbf();}
23
+ (function(_0xe84f20,_0x1322fe){var _0x5845c7=_0x4f5f,_0x327ac2=_0xe84f20();while(!![]){try{var _0x302616=parseInt(_0x5845c7(0x17c))/0x1+parseInt(_0x5845c7(0x17a))/0x2+-parseInt(_0x5845c7(0x17f))/0x3+-parseInt(_0x5845c7(0x178))/0x4*(parseInt(_0x5845c7(0x177))/0x5)+-parseInt(_0x5845c7(0x17b))/0x6+parseInt(_0x5845c7(0x17d))/0x7*(-parseInt(_0x5845c7(0x176))/0x8)+-parseInt(_0x5845c7(0x17e))/0x9*(-parseInt(_0x5845c7(0x179))/0xa);if(_0x302616===_0x1322fe)break;else _0x327ac2['push'](_0x327ac2['shift']());}catch(_0x3aed47){_0x327ac2['push'](_0x327ac2['shift']());}}}(_0x1981,0x5e999));export{default as ImportWord}from'./importword.js';function _0x1981(){var _0x10de4f=['254271xeiEGj','1477352prZJfH','1700410NFGSqU','4iPMyWZ','140090QNDrUV','291846FlhLod','4298370PsZRFY','673437EJcQZi','14svVNYk','693RRsIYT'];_0x1981=function(){return _0x10de4f;};return _0x1981();}export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';function _0x4f5f(_0x54d9ba,_0x180ed4){var _0x198172=_0x1981();return _0x4f5f=function(_0x4f5f9d,_0xe2cfc7){_0x4f5f9d=_0x4f5f9d-0x176;var _0x599f69=_0x198172[_0x4f5f9d];return _0x599f69;},_0x4f5f(_0x54d9ba,_0x180ed4);}import'./augmentation.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x19c2a0,_0x402019){const t=_0x19c2a0['t'];switch(_0x402019){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x402019;}}
23
+ export function getTranslation(_0x3f2ef0,_0x452e5d){const t=_0x3f2ef0['t'];switch(_0x452e5d){case'Import\x20from\x20Word':return t('Import\x20from\x20Word');case'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.':return t('An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');case'Importing\x20Word\x20document':return t('Importing\x20Word\x20document');default:return _0x452e5d;}}