@ckeditor/ckeditor5-import-word 43.2.0-alpha.7 → 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-alpha.7",
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-alpha.7",
34
- "@ckeditor/ckeditor5-core": "43.2.0-alpha.7",
35
- "@ckeditor/ckeditor5-engine": "43.2.0-alpha.7",
36
- "@ckeditor/ckeditor5-ui": "43.2.0-alpha.7",
37
- "@ckeditor/ckeditor5-utils": "43.2.0-alpha.7",
38
- "ckeditor5": "43.2.0-alpha.7"
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
- function _0x24ec(_0x1cfa0f,_0x4b183f){var _0x3279f8=_0x3279();return _0x24ec=function(_0x24ec0e,_0x2375ee){_0x24ec0e=_0x24ec0e-0x85;var _0x2d5033=_0x3279f8[_0x24ec0e];return _0x2d5033;},_0x24ec(_0x1cfa0f,_0x4b183f);}var _0x49a216=_0x24ec;(function(_0x20e14a,_0xeef502){var _0x2b576e=_0x24ec,_0xc269a6=_0x20e14a();while(!![]){try{var _0x43afc8=parseInt(_0x2b576e(0x8f))/0x1*(-parseInt(_0x2b576e(0x89))/0x2)+parseInt(_0x2b576e(0x86))/0x3+parseInt(_0x2b576e(0x85))/0x4+parseInt(_0x2b576e(0x8b))/0x5*(parseInt(_0x2b576e(0x8c))/0x6)+parseInt(_0x2b576e(0x8d))/0x7*(parseInt(_0x2b576e(0x8e))/0x8)+parseInt(_0x2b576e(0x91))/0x9+parseInt(_0x2b576e(0x90))/0xa*(-parseInt(_0x2b576e(0x8a))/0xb);if(_0x43afc8===_0xeef502)break;else _0xc269a6['push'](_0xc269a6['shift']());}catch(_0x4d2465){_0xc269a6['push'](_0xc269a6['shift']());}}}(_0x3279,0x564e9));import{Plugin as _0x357b42}from'ckeditor5/src/core.js';import _0x279564 from'./importwordui.js';function _0x3279(){var _0x371d59=['361746GOtHCM','requires','283656QjfxvO','203835oYVIaS','ImportWord','pluginName','91874YIXtFV','247643GusueR','1696330anUmbx','12ODwhDG','4753dNCJeR','8248OEYUIC','12WscIGJ','290FcuyrR'];_0x3279=function(){return _0x371d59;};return _0x3279();}import _0x41d336 from'./importwordediting.js';export default class i extends _0x357b42{static get[_0x49a216(0x88)](){var _0x21876b=_0x49a216;return _0x21876b(0x87);}static get[_0x49a216(0x92)](){return[_0x41d336,_0x279564];}}
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 _0x4b2f71=_0x2f67;(function(_0x24480b,_0x49ddae){const _0x388986=_0x2f67,_0x8e8663=_0x24480b();while(!![]){try{const _0x5c1f8b=parseInt(_0x388986(0x244))/0x1*(-parseInt(_0x388986(0x250))/0x2)+parseInt(_0x388986(0x1f9))/0x3*(parseInt(_0x388986(0x24a))/0x4)+parseInt(_0x388986(0x1ff))/0x5*(-parseInt(_0x388986(0x21a))/0x6)+-parseInt(_0x388986(0x201))/0x7*(-parseInt(_0x388986(0x233))/0x8)+-parseInt(_0x388986(0x24e))/0x9*(parseInt(_0x388986(0x230))/0xa)+-parseInt(_0x388986(0x22c))/0xb*(parseInt(_0x388986(0x23e))/0xc)+parseInt(_0x388986(0x204))/0xd;if(_0x5c1f8b===_0x49ddae)break;else _0x8e8663['push'](_0x8e8663['shift']());}catch(_0x23293a){_0x8e8663['push'](_0x8e8663['shift']());}}}(_0x4342,0x6d136));import{Command as _0x44c420}from'ckeditor5/src/core.js';import{Range as _0x2efa19}from'ckeditor5/src/engine.js';import{logWarning as _0x201de7,logError as _0x550691,first as _0x12f288,uid as _0x1952be}from'ckeditor5/src/utils.js';function _0x2f67(_0x592f8e,_0xe74ab7){const _0x434202=_0x4342();return _0x2f67=function(_0x2f6719,_0x777dc8){_0x2f6719=_0x2f6719-0x1f4;let _0x4c8100=_0x434202[_0x2f6719];return _0x4c8100;},_0x2f67(_0x592f8e,_0xe74ab7);}function _0x4342(){const _0x36784d=['_checkEnabled','9ebQBMB','root','import-word-plugin-import-cancelled','signal','bind','_sendImportRequest','3085515zUzOYc','stringify','35707FyIXCF','json','importWord:','30602104KbDyrs','value','schema','createPositionBefore','dataInsert','getToken','_cleanUpAfterImport','model','view','converterUrl','import-word-plugin-conversion-failed','rootName','getRange','low','_prepareForImport','set','get','importWord','isEnabled','parent','refresh','_undoStepBatch','6sXFuKj','fire','enqueueChange','aborted','_abortController','getFirstPosition','selection','_importMarker','isCollapsed','clipboardInput','DateTimeFormat','resolvedOptions','createBatch','catch','timeZone','_handleImportFailure','POST','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','11cOhtvE','split','isBusy','file','10BNoFRC','abort','formatting','232McyOYi','Notification','isAtEnd','reject','Authorization','editing','then','paragraph','resolve','execute','setData','3182916xWlbSU','isEmpty','config','stopListening','addMarker','merge_fields','7eNLHSO','markers','createPositionAfter','_handleImportResponse','removeMarker','headers','249628juQixI','element','showWarning','mergeFields','5519754yvNMAI','ImportWordEditing','213352EmhaKK','text/html','document','position','getSelectedBlocks','$graveyard','html','change:range','editor','MergeFields','checkChild','plugins','locale','deleteContent','isAtStart','finally','setSelection','has'];_0x4342=function(){return _0x36784d;};return _0x4342();}import{getTranslation as _0x1a6be1}from'./utils/common-translations.js';export default class d extends _0x44c420{constructor(_0x41bf96){const _0x272da3=_0x2f67;super(_0x41bf96),this[_0x272da3(0x213)](_0x272da3(0x22e),!0x1),this[_0x272da3(0x221)]=null,this[_0x272da3(0x219)]=null,this[_0x272da3(0x21e)]=null,this['on'](_0x272da3(0x208),(_0x3f0618,_0xf6815e)=>{const _0x5e68c3=_0x272da3,_0x2bd15a=new DataTransfer();_0x2bd15a[_0x5e68c3(0x23d)](_0x5e68c3(0x251),_0xf6815e[_0x5e68c3(0x256)]);const _0x5402db=this[_0x5e68c3(0x221)][_0x5e68c3(0x210)]();this[_0x5e68c3(0x258)][_0x5e68c3(0x20b)][_0x5e68c3(0x21c)](this[_0x5e68c3(0x219)],_0x131864=>{const _0x15be88=_0x5e68c3;this[_0x15be88(0x221)][_0x15be88(0x241)](),_0x131864[_0x15be88(0x1f6)](_0x5402db),_0x41bf96[_0x15be88(0x238)][_0x15be88(0x20c)][_0x15be88(0x252)][_0x15be88(0x21b)](_0x15be88(0x223),{'dataTransfer':_0x2bd15a});});},{'priority':_0x272da3(0x211)});}[_0x4b2f71(0x218)](){const _0x19f983=_0x4b2f71;this[_0x19f983(0x216)]=this[_0x19f983(0x1f8)]();}[_0x4b2f71(0x23c)](_0x17f92c,_0x609302={}){const _0x15e9e7=_0x4b2f71;if(this[_0x15e9e7(0x22e)])return Promise[_0x15e9e7(0x23b)]();const _0x12d5f1=this[_0x15e9e7(0x258)][_0x15e9e7(0x240)][_0x15e9e7(0x214)](_0x15e9e7(0x215));if(this[_0x15e9e7(0x258)][_0x15e9e7(0x25b)][_0x15e9e7(0x1f7)](_0x15e9e7(0x259))){const {prefix:_0x57c992,suffix:_0xa8d612}=this[_0x15e9e7(0x258)][_0x15e9e7(0x240)][_0x15e9e7(0x214)](_0x15e9e7(0x24d));_0x609302[_0x15e9e7(0x243)]={'prefix':_0x57c992,'suffix':_0xa8d612};}const _0x386caa={'url':_0x12d5f1[_0x15e9e7(0x20d)],'file':_0x17f92c,'serviceConfig':{..._0x609302,'formatting':_0x12d5f1[_0x15e9e7(0x232)],'timezone':new Intl[(_0x15e9e7(0x224))]()[_0x15e9e7(0x225)]()[_0x15e9e7(0x228)]}};return this[_0x15e9e7(0x212)](),this[_0x15e9e7(0x1fe)](_0x386caa)[_0x15e9e7(0x239)](this[_0x15e9e7(0x247)][_0x15e9e7(0x1fd)](this))[_0x15e9e7(0x227)](this[_0x15e9e7(0x229)][_0x15e9e7(0x1fd)](this))[_0x15e9e7(0x1f5)](this[_0x15e9e7(0x20a)][_0x15e9e7(0x1fd)](this));}[_0x4b2f71(0x1f8)](){const _0x5aafd0=_0x4b2f71;if(this[_0x5aafd0(0x22e)])return!0x1;const _0x5f02a8=this[_0x5aafd0(0x258)][_0x5aafd0(0x20b)],_0x2531b0=_0x5f02a8[_0x5aafd0(0x206)],_0x2c88cf=_0x5f02a8[_0x5aafd0(0x252)][_0x5aafd0(0x220)],_0x62d4fc=_0x12f288(_0x2c88cf[_0x5aafd0(0x254)]());return!!_0x62d4fc&&_0x2531b0[_0x5aafd0(0x25a)](_0x62d4fc[_0x5aafd0(0x217)],_0x5aafd0(0x23a));}[_0x4b2f71(0x212)](){const _0x2a6b53=_0x4b2f71,_0x2f742b=this[_0x2a6b53(0x258)],_0x3fe37c=_0x2f742b[_0x2a6b53(0x20b)],_0xad7a1c=_0x3fe37c[_0x2a6b53(0x252)][_0x2a6b53(0x220)];this[_0x2a6b53(0x21e)]=new AbortController(),this[_0x2a6b53(0x219)]=_0x2f742b[_0x2a6b53(0x20b)][_0x2a6b53(0x226)]({'isUndoable':!0x0}),_0x3fe37c[_0x2a6b53(0x21c)](this[_0x2a6b53(0x219)],_0x246cb4=>{const _0x1fdce4=_0x2a6b53;_0xad7a1c[_0x1fdce4(0x222)]||_0x3fe37c[_0x1fdce4(0x25d)](_0xad7a1c,{'leaveUnmerged':!0x0});const _0x29d04d=_0xad7a1c[_0x1fdce4(0x21f)](),_0x209c73=_0x12f288(_0xad7a1c[_0x1fdce4(0x254)]());let _0xd58b99;_0xd58b99=_0x209c73['is'](_0x1fdce4(0x24b),_0x1fdce4(0x23a))&&_0x209c73[_0x1fdce4(0x23f)]?_0x29d04d:_0x29d04d[_0x1fdce4(0x1f4)]?_0x3fe37c[_0x1fdce4(0x207)](_0x209c73):_0x29d04d[_0x1fdce4(0x235)]?_0x3fe37c[_0x1fdce4(0x246)](_0x209c73):_0x246cb4[_0x1fdce4(0x22d)](_0x29d04d)[_0x1fdce4(0x253)],this[_0x1fdce4(0x221)]=_0x246cb4[_0x1fdce4(0x242)](_0x1fdce4(0x203)+_0x1952be(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x2efa19(_0xd58b99)}),this[_0x1fdce4(0x221)]['on'](_0x1fdce4(0x257),()=>{const _0x57d497=_0x1fdce4;_0x57d497(0x255)===this[_0x57d497(0x221)][_0x57d497(0x210)]()[_0x57d497(0x1fa)][_0x57d497(0x20f)]&&this[_0x57d497(0x21e)][_0x57d497(0x231)]();});}),this[_0x2a6b53(0x22e)]=!0x0,this[_0x2a6b53(0x218)]();}[_0x4b2f71(0x20a)](){const _0x320fc7=_0x4b2f71,_0x465f34=this[_0x320fc7(0x258)][_0x320fc7(0x20b)];_0x465f34[_0x320fc7(0x245)][_0x320fc7(0x1f7)](this[_0x320fc7(0x221)])&&_0x465f34[_0x320fc7(0x21c)](this[_0x320fc7(0x219)],_0x10a872=>{const _0x33235f=_0x320fc7;_0x10a872[_0x33235f(0x248)](this[_0x33235f(0x221)]);}),this[_0x320fc7(0x221)]=null,this[_0x320fc7(0x219)]=null,this[_0x320fc7(0x21e)]=null,this[_0x320fc7(0x22e)]=!0x1,this[_0x320fc7(0x218)]();}[_0x4b2f71(0x1fe)]({url:_0x1ea48d,file:_0x2c2bd1,serviceConfig:_0x21aaf0}){const _0x3ee7ba=_0x4b2f71,_0x415b4d=this[_0x3ee7ba(0x258)][_0x3ee7ba(0x25b)][_0x3ee7ba(0x214)](_0x3ee7ba(0x24f))[_0x3ee7ba(0x209)](),_0x4d995e=new FormData();_0x4d995e[_0x3ee7ba(0x213)](_0x3ee7ba(0x240),JSON[_0x3ee7ba(0x200)](_0x21aaf0)),_0x4d995e[_0x3ee7ba(0x213)](_0x3ee7ba(0x22f),_0x2c2bd1);const _0x45b086={'method':_0x3ee7ba(0x22a),'headers':{},'body':_0x4d995e,'signal':this[_0x3ee7ba(0x21e)][_0x3ee7ba(0x1fc)]};return _0x415b4d&&(_0x45b086[_0x3ee7ba(0x249)][_0x3ee7ba(0x237)]=_0x415b4d[_0x3ee7ba(0x205)]),fetch(_0x1ea48d,_0x45b086);}[_0x4b2f71(0x247)](_0xe8fda8){const _0x5e529d=_0x4b2f71;return _0xe8fda8['ok']?_0xe8fda8[_0x5e529d(0x202)]()[_0x5e529d(0x239)](_0x15cd6f=>{const _0x359fec=_0x5e529d;if(!this[_0x359fec(0x258)][_0x359fec(0x20b)][_0x359fec(0x245)][_0x359fec(0x1f7)](this[_0x359fec(0x221)]))return;_0x359fec(0x255)!==this[_0x359fec(0x221)][_0x359fec(0x210)]()[_0x359fec(0x1fa)][_0x359fec(0x20f)]&&this[_0x359fec(0x21b)](_0x359fec(0x208),_0x15cd6f);}):Promise[_0x5e529d(0x236)]();}[_0x4b2f71(0x229)](){const _0x431f33=_0x4b2f71;if(this[_0x431f33(0x21e)][_0x431f33(0x1fc)][_0x431f33(0x21d)])return void _0x201de7(_0x431f33(0x1fb));const _0x723831=this[_0x431f33(0x258)],_0x10f54c=_0x1a6be1(_0x723831[_0x431f33(0x25c)],_0x431f33(0x22b));_0x723831[_0x431f33(0x25b)][_0x431f33(0x214)](_0x431f33(0x234))[_0x431f33(0x24c)](_0x10f54c),_0x550691(_0x431f33(0x20e));}}
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
- const _0x256836=_0x2260;(function(_0x418362,_0x24b006){const _0x5488ec=_0x2260,_0x4f6ac0=_0x418362();while(!![]){try{const _0x39936b=-parseInt(_0x5488ec(0x1ae))/0x1+-parseInt(_0x5488ec(0x1b8))/0x2+-parseInt(_0x5488ec(0x1ab))/0x3*(parseInt(_0x5488ec(0x19d))/0x4)+parseInt(_0x5488ec(0x1b6))/0x5*(parseInt(_0x5488ec(0x1a7))/0x6)+parseInt(_0x5488ec(0x1ac))/0x7*(parseInt(_0x5488ec(0x1ad))/0x8)+parseInt(_0x5488ec(0x1a4))/0x9+parseInt(_0x5488ec(0x1aa))/0xa;if(_0x39936b===_0x24b006)break;else _0x4f6ac0['push'](_0x4f6ac0['shift']());}catch(_0x1cb387){_0x4f6ac0['push'](_0x4f6ac0['shift']());}}}(_0x1002,0x95ff4));import{Plugin as _0x1d1dff}from'ckeditor5/src/core.js';import{Notification as _0x559622}from'ckeditor5/src/ui.js';function _0x2260(_0x186e51,_0x49395c){const _0x100266=_0x1002();return _0x2260=function(_0x2260ad,_0x5af554){_0x2260ad=_0x2260ad-0x19a;let _0xfbfb14=_0x100266[_0x2260ad];return _0xfbfb14;},_0x2260(_0x186e51,_0x49395c);}import{ClipboardPipeline as _0x23beea}from'ckeditor5/src/clipboard.js';import _0xf01551 from'./importwordcommand.js';export default class e extends _0x1d1dff{static get[_0x256836(0x1af)](){const _0x57e3c2=_0x256836;return _0x57e3c2(0x19c);}static get[_0x256836(0x19a)](){const _0x501301=_0x256836;return[_0x559622,_0x23beea,_0x501301(0x1b9)];}constructor(_0x918d71){const _0x562e44=_0x256836;super(_0x918d71),this[_0x562e44(0x1b3)]=null;}async[_0x256836(0x1b1)](){const _0x4bf8c0=_0x256836,_0x7e8f32=this[_0x4bf8c0(0x1b4)];_0x7e8f32[_0x4bf8c0(0x1a1)][_0x4bf8c0(0x1b5)](_0x4bf8c0(0x1a8),{'converterUrl':_0x4bf8c0(0x1a9),'tokenUrl':(_0x7e8f32[_0x4bf8c0(0x1a1)][_0x4bf8c0(0x19f)](_0x4bf8c0(0x19b))||{})[_0x4bf8c0(0x1a5)],'formatting':{'resets':_0x4bf8c0(0x1a6),'defaults':_0x4bf8c0(0x1a6),'styles':_0x4bf8c0(0x1a0)}}),_0x7e8f32[_0x4bf8c0(0x1a3)][_0x4bf8c0(0x1b7)](_0x4bf8c0(0x1a8),new _0xf01551(_0x7e8f32));const {tokenUrl:_0x547473}=_0x7e8f32[_0x4bf8c0(0x1a1)][_0x4bf8c0(0x19f)](_0x4bf8c0(0x1a8));if(_0x547473){const {tokenUrl:_0x4fd4fb}=_0x7e8f32[_0x4bf8c0(0x1a1)][_0x4bf8c0(0x19f)](_0x4bf8c0(0x19b))||{};this[_0x4bf8c0(0x1b3)]=_0x547473===_0x4fd4fb?_0x7e8f32[_0x4bf8c0(0x1b0)][_0x4bf8c0(0x19f)](_0x4bf8c0(0x1b9))[_0x4bf8c0(0x1b2)]:await _0x7e8f32[_0x4bf8c0(0x1b0)][_0x4bf8c0(0x19f)](_0x4bf8c0(0x1b9))[_0x4bf8c0(0x19e)](_0x547473);}}[_0x256836(0x1a2)](){const _0x37026f=_0x256836;return this[_0x37026f(0x1b3)];}}function _0x1002(){const _0x5d8fa0=['ImportWordEditing','4tcXTnf','registerTokenUrl','get','inline','config','getToken','commands','1147689WlxPzM','tokenUrl','none','3217008ZBNXxu','importWord','https://docx-converter.cke-cs.com/v2/convert/docx-html','4179010ZZQYOF','2747607EFWQRJ','306481YeyxuB','40ACyjle','32194ySaLkc','pluginName','plugins','init','token','_token','editor','define','10STGKSv','add','548444SjUdUw','CloudServices','requires','cloudServices'];_0x1002=function(){return _0x5d8fa0;};return _0x1002();}
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
- const _0x54a113=_0x39ab;function _0x4810(){const _0x5f2b74=['add','view','ImportWordUI','bind','413082SUqiwB','isOn','iconView','isVisible','execute','focus','locale','774208rmavML','init','menuBar:importWord','isEnabled','9HTQtPN','4482709wXzbqY','editing','isBusy','done','label','pluginName','importWord','Importing\x20Word\x20document','7677966aPpgXx','editor','commands','176TQDEBJ','children','1313800uXqrDN','_createButton','2256045bqYRdW','tooltip','set','Import\x20from\x20Word','get','componentFactory','60104PBKuKZ','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'];_0x4810=function(){return _0x5f2b74;};return _0x4810();}function _0x39ab(_0x2f4559,_0x18c029){const _0x4810fa=_0x4810();return _0x39ab=function(_0x39abf5,_0x1c45c4){_0x39abf5=_0x39abf5-0x11b;let _0x5ea8b6=_0x4810fa[_0x39abf5];return _0x5ea8b6;},_0x39ab(_0x2f4559,_0x18c029);}(function(_0x496171,_0x1582f){const _0x4609ad=_0x39ab,_0x2611a6=_0x496171();while(!![]){try{const _0x50b190=parseInt(_0x4609ad(0x13b))/0x1+-parseInt(_0x4609ad(0x11c))/0x2+parseInt(_0x4609ad(0x12d))/0x3*(parseInt(_0x4609ad(0x129))/0x4)+parseInt(_0x4609ad(0x13d))/0x5+-parseInt(_0x4609ad(0x136))/0x6+parseInt(_0x4609ad(0x12e))/0x7+parseInt(_0x4609ad(0x139))/0x8*(-parseInt(_0x4609ad(0x122))/0x9);if(_0x50b190===_0x1582f)break;else _0x2611a6['push'](_0x2611a6['shift']());}catch(_0x43b926){_0x2611a6['push'](_0x2611a6['shift']());}}}(_0x4810,0xa2bd7));import{Plugin as _0x180e9a}from'ckeditor5/src/core.js';import{MenuBarMenuListItemFileDialogButtonView as _0x7056f6,SpinnerView as _0x3471fb,FileDialogButtonView as _0x1de139}from'ckeditor5/src/ui.js';import _0x3d7e79 from'../theme/icons/importword.svg';import{getTranslation as _0x491c24}from'./utils/common-translations.js';export default class o extends _0x180e9a{static get[_0x54a113(0x133)](){const _0x1e9eeb=_0x54a113;return _0x1e9eeb(0x120);}[_0x54a113(0x12a)](){const _0xfc18cb=_0x54a113,_0x1be213=this[_0xfc18cb(0x137)];_0x1be213['ui'][_0xfc18cb(0x11b)][_0xfc18cb(0x11e)](_0xfc18cb(0x134),()=>{const _0x8a87a=_0xfc18cb,_0x2f4b3c=this[_0x8a87a(0x13c)](_0x1de139),_0xe5614e=_0x1be213[_0x8a87a(0x138)][_0x8a87a(0x141)](_0x8a87a(0x134));return _0x2f4b3c[_0x8a87a(0x121)](_0x8a87a(0x123))['to'](_0xe5614e,_0x8a87a(0x130)),_0x2f4b3c[_0x8a87a(0x13e)]=!0x0,_0x2f4b3c;}),_0x1be213['ui'][_0xfc18cb(0x11b)][_0xfc18cb(0x11e)](_0xfc18cb(0x12b),()=>this[_0xfc18cb(0x13c)](_0x7056f6));}[_0x54a113(0x13c)](_0x49a197){const _0x5e7246=_0x54a113,_0x384979=this[_0x5e7246(0x137)],_0x16317a=_0x384979[_0x5e7246(0x138)][_0x5e7246(0x141)](_0x5e7246(0x134)),_0x349cff=new _0x49a197(_0x384979[_0x5e7246(0x128)]),_0x397b8e=new _0x3471fb();return _0x349cff[_0x5e7246(0x13f)]({'acceptedType':_0x5e7246(0x11d)}),_0x349cff[_0x5e7246(0x13f)]({'icon':_0x3d7e79}),_0x349cff[_0x5e7246(0x121)](_0x5e7246(0x12c))['to'](_0x16317a),_0x349cff[_0x5e7246(0x121)](_0x5e7246(0x132))['to'](_0x16317a,_0x5e7246(0x130),_0x26cc51=>_0x491c24(_0x384979[_0x5e7246(0x128)],_0x26cc51?_0x5e7246(0x135):_0x5e7246(0x140))),_0x397b8e[_0x5e7246(0x121)](_0x5e7246(0x125))['to'](_0x16317a,_0x5e7246(0x130)),_0x349cff[_0x5e7246(0x124)][_0x5e7246(0x121)](_0x5e7246(0x125))['to'](_0x16317a,_0x5e7246(0x130),_0xcdd7b9=>!_0xcdd7b9),_0x349cff[_0x5e7246(0x13a)][_0x5e7246(0x11e)](_0x397b8e),_0x349cff['on'](_0x5e7246(0x131),(_0x2ca084,_0x4b7984)=>{const _0x54ae7a=_0x5e7246;_0x384979[_0x54ae7a(0x126)](_0x54ae7a(0x134),_0x4b7984[0x0],{}),_0x384979[_0x54ae7a(0x12f)][_0x54ae7a(0x11f)][_0x54ae7a(0x127)]();}),_0x349cff;}}
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(_0x3c23e7,_0x1d8516){var _0x4a5449=_0x18d8,_0x3e9c83=_0x3c23e7();while(!![]){try{var _0x359dae=-parseInt(_0x4a5449(0xff))/0x1+parseInt(_0x4a5449(0x101))/0x2*(parseInt(_0x4a5449(0x100))/0x3)+parseInt(_0x4a5449(0xfa))/0x4*(parseInt(_0x4a5449(0xfe))/0x5)+parseInt(_0x4a5449(0xfb))/0x6*(-parseInt(_0x4a5449(0x102))/0x7)+-parseInt(_0x4a5449(0xf9))/0x8*(-parseInt(_0x4a5449(0xfc))/0x9)+-parseInt(_0x4a5449(0xfd))/0xa+parseInt(_0x4a5449(0x103))/0xb;if(_0x359dae===_0x1d8516)break;else _0x3e9c83['push'](_0x3e9c83['shift']());}catch(_0x4b1fbd){_0x3e9c83['push'](_0x3e9c83['shift']());}}}(_0xdf2b,0x32d04));export{default as ImportWord}from'./importword.js';function _0x18d8(_0x3f3d3f,_0x22160f){var _0xdf2bf5=_0xdf2b();return _0x18d8=function(_0x18d8c6,_0x356d4b){_0x18d8c6=_0x18d8c6-0xf9;var _0x2563c1=_0xdf2bf5[_0x18d8c6];return _0x2563c1;},_0x18d8(_0x3f3d3f,_0x22160f);}export{default as ImportWordEditing}from'./importwordediting.js';export{default as ImportWordUI}from'./importwordui.js';function _0xdf2b(){var _0x4369bd=['7lfLAPm','1990329vKFARr','736bZeYSb','4XIdSru','1805238SVSBAL','15219qLmZGv','538010TFenSW','342010IPINQz','30538DUiLHn','3rcuamr','376862mQWllA'];_0xdf2b=function(){return _0x4369bd;};return _0xdf2b();}import'./augmentation.js';
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(_0x473bae,_0x1c22c3){const t=_0x473bae['t'];switch(_0x1c22c3){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 _0x1c22c3;}}
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;}}