@ckeditor/ckeditor5-import-word 0.0.0-nightly-next-20260121.0 → 0.0.0-nightly-20260122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/import-word.js +5 -0
- package/build/translations/af.js +1 -0
- package/build/translations/ar.js +1 -0
- package/build/translations/ast.js +1 -0
- package/build/translations/az.js +1 -0
- package/build/translations/be.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/bs.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/da.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/el.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/en-gb.js +1 -0
- package/build/translations/eo.js +1 -0
- package/build/translations/es-co.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/et.js +1 -0
- package/build/translations/eu.js +1 -0
- package/build/translations/fa.js +1 -0
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/gu.js +1 -0
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/hy.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/ja.js +1 -0
- package/build/translations/jv.js +1 -0
- package/build/translations/kk.js +1 -0
- package/build/translations/km.js +1 -0
- package/build/translations/kn.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/ku.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -0
- package/build/translations/ms.js +1 -0
- package/build/translations/nb.js +1 -0
- package/build/translations/ne.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/no.js +1 -0
- package/build/translations/oc.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/si.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sq.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/ti.js +1 -0
- package/build/translations/tk.js +1 -0
- package/build/translations/tr.js +1 -0
- package/build/translations/tt.js +1 -0
- package/build/translations/ug.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/ur.js +1 -0
- package/build/translations/uz.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/build/translations/zh.js +1 -0
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/lang/translations/af.po +24 -0
- package/lang/translations/ar.po +24 -0
- package/lang/translations/ast.po +24 -0
- package/lang/translations/az.po +24 -0
- package/lang/translations/be.po +24 -0
- package/lang/translations/bg.po +24 -0
- package/lang/translations/bn.po +24 -0
- package/lang/translations/bs.po +24 -0
- package/lang/translations/ca.po +24 -0
- package/lang/translations/cs.po +24 -0
- package/lang/translations/da.po +24 -0
- package/lang/translations/de-ch.po +24 -0
- package/lang/translations/de.po +24 -0
- package/lang/translations/el.po +24 -0
- package/lang/translations/en-au.po +24 -0
- package/lang/translations/en-gb.po +24 -0
- package/lang/translations/en.po +24 -0
- package/lang/translations/eo.po +24 -0
- package/lang/translations/es-co.po +24 -0
- package/lang/translations/es.po +24 -0
- package/lang/translations/et.po +24 -0
- package/lang/translations/eu.po +24 -0
- package/lang/translations/fa.po +24 -0
- package/lang/translations/fi.po +24 -0
- package/lang/translations/fr.po +24 -0
- package/lang/translations/gl.po +24 -0
- package/lang/translations/gu.po +24 -0
- package/lang/translations/he.po +24 -0
- package/lang/translations/hi.po +24 -0
- package/lang/translations/hr.po +24 -0
- package/lang/translations/hu.po +24 -0
- package/lang/translations/hy.po +24 -0
- package/lang/translations/id.po +24 -0
- package/lang/translations/it.po +24 -0
- package/lang/translations/ja.po +24 -0
- package/lang/translations/jv.po +24 -0
- package/lang/translations/kk.po +24 -0
- package/lang/translations/km.po +24 -0
- package/lang/translations/kn.po +24 -0
- package/lang/translations/ko.po +24 -0
- package/lang/translations/ku.po +24 -0
- package/lang/translations/lt.po +24 -0
- package/lang/translations/lv.po +24 -0
- package/lang/translations/ms.po +24 -0
- package/lang/translations/nb.po +24 -0
- package/lang/translations/ne.po +24 -0
- package/lang/translations/nl.po +24 -0
- package/lang/translations/no.po +24 -0
- package/lang/translations/oc.po +24 -0
- package/lang/translations/pl.po +24 -0
- package/lang/translations/pt-br.po +24 -0
- package/lang/translations/pt.po +24 -0
- package/lang/translations/ro.po +24 -0
- package/lang/translations/ru.po +24 -0
- package/lang/translations/si.po +24 -0
- package/lang/translations/sk.po +24 -0
- package/lang/translations/sl.po +24 -0
- package/lang/translations/sq.po +24 -0
- package/lang/translations/sr-latn.po +24 -0
- package/lang/translations/sr.po +24 -0
- package/lang/translations/sv.po +24 -0
- package/lang/translations/th.po +24 -0
- package/lang/translations/ti.po +24 -0
- package/lang/translations/tk.po +24 -0
- package/lang/translations/tr.po +24 -0
- package/lang/translations/tt.po +24 -0
- package/lang/translations/ug.po +24 -0
- package/lang/translations/uk.po +24 -0
- package/lang/translations/ur.po +24 -0
- package/lang/translations/uz.po +24 -0
- package/lang/translations/vi.po +24 -0
- package/lang/translations/zh-cn.po +24 -0
- package/lang/translations/zh.po +24 -0
- package/package.json +42 -21
- package/src/augmentation.js +23 -0
- package/{dist → src}/importword.d.ts +1 -1
- package/src/importword.js +23 -0
- package/{dist → src}/importwordcommand.d.ts +2 -2
- package/src/importwordcommand.js +23 -0
- package/{dist → src}/importwordediting.d.ts +3 -3
- package/src/importwordediting.js +23 -0
- package/{dist → src}/importwordui.d.ts +1 -1
- package/src/importwordui.js +23 -0
- package/src/index.js +23 -0
- package/{dist → src}/utils/common-translations.d.ts +1 -1
- package/src/utils/common-translations.js +23 -0
- /package/{dist → src}/augmentation.d.ts +0 -0
- /package/{dist → src}/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-import-word",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20260122.0",
|
|
4
4
|
"description": "Import from Word feature for CKEditor 5.",
|
|
5
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"author": "CKSource (https://cksource.com/)",
|
|
7
|
-
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
8
|
-
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
9
5
|
"keywords": [
|
|
10
6
|
"ckeditor",
|
|
11
7
|
"ckeditor5",
|
|
@@ -32,27 +28,52 @@
|
|
|
32
28
|
"Word to HTML"
|
|
33
29
|
],
|
|
34
30
|
"type": "module",
|
|
35
|
-
"main": "
|
|
36
|
-
"exports": {
|
|
37
|
-
".": "./dist/index.js",
|
|
38
|
-
"./dist/*": "./dist/*",
|
|
39
|
-
"./package.json": "./package.json"
|
|
40
|
-
},
|
|
31
|
+
"main": "src/index.js",
|
|
41
32
|
"dependencies": {
|
|
42
|
-
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-
|
|
43
|
-
"@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-
|
|
44
|
-
"@ckeditor/ckeditor5-core": "0.0.0-nightly-
|
|
45
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-
|
|
46
|
-
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-
|
|
47
|
-
"@ckeditor/ckeditor5-merge-fields": "0.0.0-nightly-
|
|
48
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-
|
|
49
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-
|
|
33
|
+
"@ckeditor/ckeditor5-clipboard": "0.0.0-nightly-20260122.0",
|
|
34
|
+
"@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20260122.0",
|
|
35
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20260122.0",
|
|
36
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260122.0",
|
|
37
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260122.0",
|
|
38
|
+
"@ckeditor/ckeditor5-merge-fields": "0.0.0-nightly-20260122.0",
|
|
39
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260122.0",
|
|
40
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260122.0",
|
|
41
|
+
"ckeditor5": "0.0.0-nightly-20260122.0"
|
|
50
42
|
},
|
|
43
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
|
+
"author": "CKSource (https://cksource.com/)",
|
|
45
|
+
"homepage": "https://ckeditor.com/ckeditor-5",
|
|
46
|
+
"bugs": "https://support.ckeditor.com/hc/en-us/requests/new",
|
|
51
47
|
"files": [
|
|
52
48
|
"dist",
|
|
49
|
+
"lang",
|
|
50
|
+
"src/**/*.js",
|
|
51
|
+
"src/**/*.d.ts",
|
|
52
|
+
"build",
|
|
53
53
|
"ckeditor5-metadata.json",
|
|
54
54
|
"CHANGELOG.md"
|
|
55
55
|
],
|
|
56
|
-
"types": "
|
|
56
|
+
"types": "src/index.d.ts",
|
|
57
|
+
"exports": {
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./src/index.d.ts",
|
|
60
|
+
"import": "./src/index.js",
|
|
61
|
+
"default": "./src/index.js"
|
|
62
|
+
},
|
|
63
|
+
"./dist/*": {
|
|
64
|
+
"types": "./src/index.d.ts",
|
|
65
|
+
"import": "./dist/*",
|
|
66
|
+
"default": "./dist/*"
|
|
67
|
+
},
|
|
68
|
+
"./src/*": {
|
|
69
|
+
"types": "./src/*.d.ts",
|
|
70
|
+
"import": "./src/*",
|
|
71
|
+
"default": "./src/*"
|
|
72
|
+
},
|
|
73
|
+
"./build/*": "./build/*",
|
|
74
|
+
"./lang/*": "./lang/*",
|
|
75
|
+
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
|
76
|
+
"./package.json": "./package.json"
|
|
77
|
+
},
|
|
57
78
|
"obfuscated": true
|
|
58
|
-
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export{};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @module import-word/importword
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin } from '
|
|
9
|
+
import { Plugin } from 'ckeditor5/src/core.js';
|
|
10
10
|
import type { TokenUrl } from '@ckeditor/ckeditor5-cloud-services';
|
|
11
11
|
import { ImportWordUI } from './importwordui.js';
|
|
12
12
|
import { ImportWordEditing } from './importwordediting.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
var _0x3e7a1e=_0x215a;function _0x5d1b(){var _0x4f2418=['3088689uWtTnd','428960ismZSq','ImportWord','575844LaUvqt','requires','2wiNJAD','isOfficialPlugin','pluginName','2784136ZZRciq','isPremiumPlugin','5NuTtCD','245966VJkCAL','885004pubOHD','5698476RTQhnG'];_0x5d1b=function(){return _0x4f2418;};return _0x5d1b();}(function(_0x180fdb,_0x3c42b0){var _0x2cf4a1=_0x215a,_0x5bc3a9=_0x180fdb();while(!![]){try{var _0x579eab=-parseInt(_0x2cf4a1(0x1cc))/0x1+parseInt(_0x2cf4a1(0x1c2))/0x2*(parseInt(_0x2cf4a1(0x1cb))/0x3)+parseInt(_0x2cf4a1(0x1c9))/0x4*(-parseInt(_0x2cf4a1(0x1c7))/0x5)+-parseInt(_0x2cf4a1(0x1c0))/0x6+parseInt(_0x2cf4a1(0x1c8))/0x7+-parseInt(_0x2cf4a1(0x1c5))/0x8+parseInt(_0x2cf4a1(0x1ca))/0x9;if(_0x579eab===_0x3c42b0)break;else _0x5bc3a9['push'](_0x5bc3a9['shift']());}catch(_0xea9c4b){_0x5bc3a9['push'](_0x5bc3a9['shift']());}}}(_0x5d1b,0x9360f));import{Plugin as _0x398c71}from'ckeditor5/src/core.js';function _0x215a(_0x2d0d3b,_0x2b2e73){var _0x5d1b30=_0x5d1b();return _0x215a=function(_0x215a76,_0x14c6e3){_0x215a76=_0x215a76-0x1c0;var _0x20221e=_0x5d1b30[_0x215a76];return _0x20221e;},_0x215a(_0x2d0d3b,_0x2b2e73);}import{ImportWordUI as _0x3861ee}from'./importwordui.js';import{ImportWordEditing as _0x5b429e}from'./importwordediting.js';export class ImportWord extends _0x398c71{static get[_0x3e7a1e(0x1c4)](){var _0x5b0adb=_0x3e7a1e;return _0x5b0adb(0x1cd);}static get[_0x3e7a1e(0x1c3)](){return!0x0;}static get[_0x3e7a1e(0x1c6)](){return!0x0;}static get[_0x3e7a1e(0x1c1)](){return[_0x5b429e,_0x3861ee];}}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* @module import-word/importwordcommand
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Command, type Editor } from '
|
|
10
|
-
import { type Batch } from '
|
|
9
|
+
import { Command, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { type Batch } from 'ckeditor5/src/engine.js';
|
|
11
11
|
/**
|
|
12
12
|
* The import from Word command.
|
|
13
13
|
*
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0xeadf(_0x52ef67,_0x356445){const _0x1d11f7=_0x1d11();return _0xeadf=function(_0xeadf3d,_0x59bd95){_0xeadf3d=_0xeadf3d-0x180;let _0x4ce105=_0x1d11f7[_0xeadf3d];return _0x4ce105;},_0xeadf(_0x52ef67,_0x356445);}const _0x1f692a=_0xeadf;(function(_0x2a0f9d,_0x46c8ce){const _0x20eda5=_0xeadf,_0x2a7493=_0x2a0f9d();while(!![]){try{const _0x17ea41=-parseInt(_0x20eda5(0x1c9))/0x1+parseInt(_0x20eda5(0x1e4))/0x2+parseInt(_0x20eda5(0x1c0))/0x3*(parseInt(_0x20eda5(0x1cc))/0x4)+-parseInt(_0x20eda5(0x19e))/0x5+parseInt(_0x20eda5(0x196))/0x6+-parseInt(_0x20eda5(0x1e5))/0x7*(parseInt(_0x20eda5(0x1e2))/0x8)+-parseInt(_0x20eda5(0x1a0))/0x9*(parseInt(_0x20eda5(0x1e3))/0xa);if(_0x17ea41===_0x46c8ce)break;else _0x2a7493['push'](_0x2a7493['shift']());}catch(_0x1aaba5){_0x2a7493['push'](_0x2a7493['shift']());}}}(_0x1d11,0x636de));function _0x1d11(){const _0x4d15fc=['locale','_cleanUpAfterImport','model','fire','setSelection','view','timeZone','rootName','value','_undoStepBatch','signal','json','1105101CjaFWd','isEnabled','stringify','text/html','converterUrl','MergeFields','formatting','selection','getRange','317486ZBphyO','execute','importWord:','4ZkcXkk','change:range','bind','DateTimeFormat','mergeFields','_sendImportRequest','dataInsert','addMarker','isEmpty','POST','has','document','finally','editing','_prepareForImport','ImportWordEditing','isAtStart','Authorization','refresh','getSelectedBlocks','element','$graveyard','68296UprYlK','590czHOdP','585326HcbeIi','91YZThqp','getFirstPosition','isBusy','import-word-plugin-import-cancelled','_importMarker','resolve','low','_handleImportFailure','merge_fields','createPositionAfter','markers','import-word-plugin-conversion-failed','isAtEnd','parent','schema','createPositionBefore','resolvedOptions','checkChild','paragraph','_abortController','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','removeMarker','stopListening','catch','4668900SvaDmi','showWarning','_checkEnabled','enqueueChange','getToken','editor','setData','deleteContent','1592700ewhAEE','abort','43461ihJeGc','headers','file','Notification','reject','set','get','split','_handleImportResponse','html','isCollapsed','then','root','aborted','config','clipboardInput','createBatch','plugins','position','importWord'];_0x1d11=function(){return _0x4d15fc;};return _0x1d11();}import{Command as _0x441ad0}from'ckeditor5/src/core.js';import{ModelRange as _0x52c5de}from'ckeditor5/src/engine.js';import{logWarning as _0x36e697,logError as _0x299c9c,first as _0x5164d6,uid as _0x481afd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5566bc}from'./utils/common-translations.js';export class ImportWordCommand extends _0x441ad0{[_0x1f692a(0x182)];[_0x1f692a(0x1bd)];[_0x1f692a(0x191)];constructor(_0x236d19){const _0x3d7031=_0x1f692a;super(_0x236d19),this[_0x3d7031(0x1a5)](_0x3d7031(0x180),!0x1),this[_0x3d7031(0x182)]=null,this[_0x3d7031(0x1bd)]=null,this[_0x3d7031(0x191)]=null,this['on'](_0x3d7031(0x1d2),(_0x2ecd2a,_0x4073da)=>{const _0x2d5492=_0x3d7031,_0x3b2519=new DataTransfer();_0x3b2519[_0x2d5492(0x19c)](_0x2d5492(0x1c3),_0x4073da[_0x2d5492(0x1a9)]);const _0x3871c1=this[_0x2d5492(0x182)][_0x2d5492(0x1c8)]();this[_0x2d5492(0x19b)][_0x2d5492(0x1b6)][_0x2d5492(0x199)](this[_0x2d5492(0x1bd)],_0x3c2b9e=>{const _0x55387a=_0x2d5492;this[_0x55387a(0x182)][_0x55387a(0x194)](),_0x3c2b9e[_0x55387a(0x1b8)](_0x3871c1),_0x236d19[_0x55387a(0x1d9)][_0x55387a(0x1b9)][_0x55387a(0x1d7)][_0x55387a(0x1b7)](_0x55387a(0x1af),{'dataTransfer':_0x3b2519});});},{'priority':_0x3d7031(0x184)});}[_0x1f692a(0x1de)](){const _0x5910fa=_0x1f692a;this[_0x5910fa(0x1c1)]=this[_0x5910fa(0x198)]();}[_0x1f692a(0x1ca)](_0x43a35e,_0x3ec397={}){const _0x2383b5=_0x1f692a;if(this[_0x2383b5(0x180)])return Promise[_0x2383b5(0x183)]();const _0x181d27=this[_0x2383b5(0x19b)][_0x2383b5(0x1ae)][_0x2383b5(0x1a6)](_0x2383b5(0x1b3));if(this[_0x2383b5(0x19b)][_0x2383b5(0x1b1)][_0x2383b5(0x1d6)](_0x2383b5(0x1c5))){const {prefix:_0x4063d9,suffix:_0x4e1734}=this[_0x2383b5(0x19b)][_0x2383b5(0x1ae)][_0x2383b5(0x1a6)](_0x2383b5(0x1d0));_0x3ec397[_0x2383b5(0x186)]={'prefix':_0x4063d9,'suffix':_0x4e1734};}const _0x10b6b6={'url':_0x181d27[_0x2383b5(0x1c4)],'file':_0x43a35e,'serviceConfig':{..._0x3ec397,'formatting':_0x181d27[_0x2383b5(0x1c6)],'timezone':new Intl[(_0x2383b5(0x1cf))]()[_0x2383b5(0x18e)]()[_0x2383b5(0x1ba)]}};return this[_0x2383b5(0x1da)](),this[_0x2383b5(0x1d1)](_0x10b6b6)[_0x2383b5(0x1ab)](this[_0x2383b5(0x1a8)][_0x2383b5(0x1ce)](this))[_0x2383b5(0x195)](this[_0x2383b5(0x185)][_0x2383b5(0x1ce)](this))[_0x2383b5(0x1d8)](this[_0x2383b5(0x1b5)][_0x2383b5(0x1ce)](this));}[_0x1f692a(0x198)](){const _0x4d19da=_0x1f692a;if(this[_0x4d19da(0x180)])return!0x1;const _0x3870f9=this[_0x4d19da(0x19b)][_0x4d19da(0x1b6)],_0x521eec=_0x3870f9[_0x4d19da(0x18c)],_0x5168cf=_0x3870f9[_0x4d19da(0x1d7)][_0x4d19da(0x1c7)],_0x52b690=_0x5164d6(_0x5168cf[_0x4d19da(0x1df)]());return!!_0x52b690&&_0x521eec[_0x4d19da(0x18f)](_0x52b690[_0x4d19da(0x18b)],_0x4d19da(0x190));}[_0x1f692a(0x1da)](){const _0x24cc6f=_0x1f692a,_0x2bae31=this[_0x24cc6f(0x19b)],_0x32e2fb=_0x2bae31[_0x24cc6f(0x1b6)],_0x4a98d3=_0x32e2fb[_0x24cc6f(0x1d7)][_0x24cc6f(0x1c7)];this[_0x24cc6f(0x191)]=new AbortController(),this[_0x24cc6f(0x1bd)]=_0x2bae31[_0x24cc6f(0x1b6)][_0x24cc6f(0x1b0)]({'isUndoable':!0x0}),_0x32e2fb[_0x24cc6f(0x199)](this[_0x24cc6f(0x1bd)],_0x186f9e=>{const _0x1da2eb=_0x24cc6f;_0x4a98d3[_0x1da2eb(0x1aa)]||_0x32e2fb[_0x1da2eb(0x19d)](_0x4a98d3,{'leaveUnmerged':!0x0});const _0x28a3e5=_0x4a98d3[_0x1da2eb(0x1e6)](),_0x24a902=_0x5164d6(_0x4a98d3[_0x1da2eb(0x1df)]());let _0x1f1114;_0x1f1114=_0x24a902['is'](_0x1da2eb(0x1e0),_0x1da2eb(0x190))&&_0x24a902[_0x1da2eb(0x1d4)]?_0x28a3e5:_0x28a3e5[_0x1da2eb(0x1dc)]?_0x32e2fb[_0x1da2eb(0x18d)](_0x24a902):_0x28a3e5[_0x1da2eb(0x18a)]?_0x32e2fb[_0x1da2eb(0x187)](_0x24a902):_0x186f9e[_0x1da2eb(0x1a7)](_0x28a3e5)[_0x1da2eb(0x1b2)],this[_0x1da2eb(0x182)]=_0x186f9e[_0x1da2eb(0x1d3)](_0x1da2eb(0x1cb)+_0x481afd(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x52c5de(_0x1f1114)}),this[_0x1da2eb(0x182)]['on'](_0x1da2eb(0x1cd),()=>{const _0x8d7a3a=_0x1da2eb;_0x8d7a3a(0x1e1)===this[_0x8d7a3a(0x182)][_0x8d7a3a(0x1c8)]()[_0x8d7a3a(0x1ac)][_0x8d7a3a(0x1bb)]&&this[_0x8d7a3a(0x191)][_0x8d7a3a(0x19f)]();});}),this[_0x24cc6f(0x180)]=!0x0,this[_0x24cc6f(0x1de)]();}[_0x1f692a(0x1b5)](){const _0x3c0a77=_0x1f692a,_0x2dfb28=this[_0x3c0a77(0x19b)][_0x3c0a77(0x1b6)];_0x2dfb28[_0x3c0a77(0x188)][_0x3c0a77(0x1d6)](this[_0x3c0a77(0x182)])&&_0x2dfb28[_0x3c0a77(0x199)](this[_0x3c0a77(0x1bd)],_0x190b4b=>{const _0x15e87b=_0x3c0a77;_0x190b4b[_0x15e87b(0x193)](this[_0x15e87b(0x182)]);}),this[_0x3c0a77(0x182)]=null,this[_0x3c0a77(0x1bd)]=null,this[_0x3c0a77(0x191)]=null,this[_0x3c0a77(0x180)]=!0x1,this[_0x3c0a77(0x1de)]();}[_0x1f692a(0x1d1)]({url:_0x2c3cf5,file:_0x56f21e,serviceConfig:_0x2a3fe8}){const _0x45a3bf=_0x1f692a,_0x8b265a=this[_0x45a3bf(0x19b)][_0x45a3bf(0x1b1)][_0x45a3bf(0x1a6)](_0x45a3bf(0x1db))[_0x45a3bf(0x19a)](),_0x144118=new FormData();_0x144118[_0x45a3bf(0x1a5)](_0x45a3bf(0x1ae),JSON[_0x45a3bf(0x1c2)](_0x2a3fe8)),_0x144118[_0x45a3bf(0x1a5)](_0x45a3bf(0x1a2),_0x56f21e);const _0x552c28={'method':_0x45a3bf(0x1d5),'headers':{},'body':_0x144118,'signal':this[_0x45a3bf(0x191)][_0x45a3bf(0x1be)]};return _0x8b265a&&(_0x552c28[_0x45a3bf(0x1a1)][_0x45a3bf(0x1dd)]=_0x8b265a[_0x45a3bf(0x1bc)]),fetch(_0x2c3cf5,_0x552c28);}[_0x1f692a(0x1a8)](_0x306f6c){const _0x3e04ed=_0x1f692a;return _0x306f6c['ok']?_0x306f6c[_0x3e04ed(0x1bf)]()[_0x3e04ed(0x1ab)](_0x4b1972=>{const _0x454df5=_0x3e04ed;if(!this[_0x454df5(0x19b)][_0x454df5(0x1b6)][_0x454df5(0x188)][_0x454df5(0x1d6)](this[_0x454df5(0x182)]))return;_0x454df5(0x1e1)!==this[_0x454df5(0x182)][_0x454df5(0x1c8)]()[_0x454df5(0x1ac)][_0x454df5(0x1bb)]&&this[_0x454df5(0x1b7)](_0x454df5(0x1d2),{..._0x4b1972,'undoStepBatch':this[_0x454df5(0x1bd)]});}):Promise[_0x3e04ed(0x1a4)]();}[_0x1f692a(0x185)](){const _0x384ae6=_0x1f692a;if(this[_0x384ae6(0x191)][_0x384ae6(0x1be)][_0x384ae6(0x1ad)])return void _0x36e697(_0x384ae6(0x181));const _0x26d9e1=this[_0x384ae6(0x19b)],_0x1bc839=_0x5566bc(_0x26d9e1[_0x384ae6(0x1b4)],_0x384ae6(0x192));_0x26d9e1[_0x384ae6(0x1b1)][_0x384ae6(0x1a6)](_0x384ae6(0x1a3))[_0x384ae6(0x197)](_0x1bc839),_0x299c9c(_0x384ae6(0x189));}}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* @module import-word/importwordediting
|
|
7
7
|
* @publicApi
|
|
8
8
|
*/
|
|
9
|
-
import { Plugin, type Editor } from '
|
|
10
|
-
import { Notification } from '
|
|
11
|
-
import { ClipboardPipeline } from '
|
|
9
|
+
import { Plugin, type Editor } from 'ckeditor5/src/core.js';
|
|
10
|
+
import { Notification } from 'ckeditor5/src/ui.js';
|
|
11
|
+
import { ClipboardPipeline } from 'ckeditor5/src/clipboard.js';
|
|
12
12
|
import type { InitializedToken } from '@ckeditor/ckeditor5-cloud-services';
|
|
13
13
|
/**
|
|
14
14
|
* The editing part of the import from Word feature.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x1135ef=_0xe9f1;(function(_0x23c5ff,_0x2f57e0){const _0x5296ea=_0xe9f1,_0x51c5da=_0x23c5ff();while(!![]){try{const _0x1cb0ce=parseInt(_0x5296ea(0x181))/0x1*(parseInt(_0x5296ea(0x190))/0x2)+-parseInt(_0x5296ea(0x180))/0x3+-parseInt(_0x5296ea(0x17d))/0x4+-parseInt(_0x5296ea(0x171))/0x5+-parseInt(_0x5296ea(0x188))/0x6*(parseInt(_0x5296ea(0x18d))/0x7)+-parseInt(_0x5296ea(0x17c))/0x8*(-parseInt(_0x5296ea(0x17b))/0x9)+parseInt(_0x5296ea(0x179))/0xa;if(_0x1cb0ce===_0x2f57e0)break;else _0x51c5da['push'](_0x51c5da['shift']());}catch(_0x3e083e){_0x51c5da['push'](_0x51c5da['shift']());}}}(_0x2537,0x3e125));function _0x2537(){const _0x2f7c96=['plugins','tokenUrl','3479TUzvrz','define','registerTokenUrl','921956qjZxwz','_token','init','770245FYADtu','importWord','none','get','ImportWordEditing','editor','https://docx-converter.cke-cs.com/v2/convert/docx-html','CloudServices','7299160fJHMfY','config','2233629COhyZx','8jgMgKD','1442884mBueZl','inline','isPremiumPlugin','1248279nesigX','1sRMace','token','getToken','requires','add','cloudServices','commands','3066LclsLL','pluginName','isOfficialPlugin'];_0x2537=function(){return _0x2f7c96;};return _0x2537();}function _0xe9f1(_0x379b8a,_0x526de2){const _0x2537d=_0x2537();return _0xe9f1=function(_0xe9f13e,_0x3fe06e){_0xe9f13e=_0xe9f13e-0x171;let _0x102c75=_0x2537d[_0xe9f13e];return _0x102c75;},_0xe9f1(_0x379b8a,_0x526de2);}import{Plugin as _0x45ec15}from'ckeditor5/src/core.js';import{Notification as _0x4d55a5}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x2961d2}from'ckeditor5/src/clipboard.js';import{ImportWordCommand as _0xc4023}from'./importwordcommand.js';export class ImportWordEditing extends _0x45ec15{[_0x1135ef(0x191)];static get[_0x1135ef(0x189)](){const _0x401ad8=_0x1135ef;return _0x401ad8(0x175);}static get[_0x1135ef(0x18a)](){return!0x0;}static get[_0x1135ef(0x17f)](){return!0x0;}static get[_0x1135ef(0x184)](){const _0x12fb4e=_0x1135ef;return[_0x4d55a5,_0x2961d2,_0x12fb4e(0x178)];}constructor(_0x8e22e5){const _0x9f5423=_0x1135ef;super(_0x8e22e5),this[_0x9f5423(0x191)]=null;}async[_0x1135ef(0x192)](){const _0x54ffa9=_0x1135ef,_0x480109=this[_0x54ffa9(0x176)];_0x480109[_0x54ffa9(0x17a)][_0x54ffa9(0x18e)](_0x54ffa9(0x172),{'converterUrl':_0x54ffa9(0x177),'tokenUrl':(_0x480109[_0x54ffa9(0x17a)][_0x54ffa9(0x174)](_0x54ffa9(0x186))||{})[_0x54ffa9(0x18c)],'formatting':{'resets':_0x54ffa9(0x173),'defaults':_0x54ffa9(0x173),'styles':_0x54ffa9(0x17e)}}),_0x480109[_0x54ffa9(0x187)][_0x54ffa9(0x185)](_0x54ffa9(0x172),new _0xc4023(_0x480109));const {tokenUrl:_0x161a23}=_0x480109[_0x54ffa9(0x17a)][_0x54ffa9(0x174)](_0x54ffa9(0x172));if(_0x161a23){const {tokenUrl:_0x14cb03}=_0x480109[_0x54ffa9(0x17a)][_0x54ffa9(0x174)](_0x54ffa9(0x186))||{};this[_0x54ffa9(0x191)]=_0x161a23===_0x14cb03?_0x480109[_0x54ffa9(0x18b)][_0x54ffa9(0x174)](_0x54ffa9(0x178))[_0x54ffa9(0x182)]:await _0x480109[_0x54ffa9(0x18b)][_0x54ffa9(0x174)](_0x54ffa9(0x178))[_0x54ffa9(0x18f)](_0x161a23);}}[_0x1135ef(0x183)](){const _0x12a376=_0x1135ef;return this[_0x12a376(0x191)];}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x2dda06=_0xb3dd;(function(_0x734f2d,_0x426d88){const _0x57277e=_0xb3dd,_0x498f77=_0x734f2d();while(!![]){try{const _0x395372=parseInt(_0x57277e(0xe9))/0x1*(parseInt(_0x57277e(0xf8))/0x2)+parseInt(_0x57277e(0xdb))/0x3*(-parseInt(_0x57277e(0xf7))/0x4)+-parseInt(_0x57277e(0x100))/0x5+parseInt(_0x57277e(0xf6))/0x6+-parseInt(_0x57277e(0xec))/0x7+-parseInt(_0x57277e(0xe4))/0x8+parseInt(_0x57277e(0xd9))/0x9*(parseInt(_0x57277e(0xdf))/0xa);if(_0x395372===_0x426d88)break;else _0x498f77['push'](_0x498f77['shift']());}catch(_0x285cab){_0x498f77['push'](_0x498f77['shift']());}}}(_0x29fc,0x5f6d6));function _0xb3dd(_0x3b185d,_0x35b491){const _0x29fced=_0x29fc();return _0xb3dd=function(_0xb3dd7f,_0x45be57){_0xb3dd7f=_0xb3dd7f-0xd9;let _0x34b7f8=_0x29fced[_0xb3dd7f];return _0x34b7f8;},_0xb3dd(_0x3b185d,_0x35b491);}function _0x29fc(){const _0x514762=['editing','isPremiumPlugin','1sAnZjK','focus','locale','4428018jMpcov','isOn','bind','isVisible','importWord','isBusy','Import\x20from\x20Word','isOfficialPlugin','ImportWordUI','commands','4660938YDAJMn','4rZwLlg','1555592tNECvX','label','add','done','tooltip','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','pluginName','view','1179905BtvnrI','menuBar:importWord','get','9EKhPkF','iconView','2343fqWZMl','_createButton','children','execute','20450ZIHdUH','editor','Importing\x20Word\x20document','init','set','2371664kaBNeU','isEnabled','componentFactory'];_0x29fc=function(){return _0x514762;};return _0x29fc();}import{Plugin as _0x3e189a}from'ckeditor5/src/core.js';import{IconImportWord as _0x21a105}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemFileDialogButtonView as _0x4a5a5a,SpinnerView as _0x3e3e0e,FileDialogButtonView as _0x2e237a}from'ckeditor5/src/ui.js';import{getTranslation as _0x227cc0}from'./utils/common-translations.js';export class ImportWordUI extends _0x3e189a{static get[_0x2dda06(0xfe)](){const _0x420813=_0x2dda06;return _0x420813(0xf4);}static get[_0x2dda06(0xf3)](){return!0x0;}static get[_0x2dda06(0xe8)](){return!0x0;}[_0x2dda06(0xe2)](){const _0x3cc49c=_0x2dda06,_0x5dba9c=this[_0x3cc49c(0xe0)];_0x5dba9c['ui'][_0x3cc49c(0xe6)][_0x3cc49c(0xfa)](_0x3cc49c(0xf0),()=>{const _0x1fa163=_0x3cc49c,_0x26328a=this[_0x1fa163(0xdc)](_0x2e237a),_0x82feb4=_0x5dba9c[_0x1fa163(0xf5)][_0x1fa163(0x102)](_0x1fa163(0xf0));return _0x26328a[_0x1fa163(0xee)](_0x1fa163(0xed))['to'](_0x82feb4,_0x1fa163(0xf1)),_0x26328a[_0x1fa163(0xfc)]=!0x0,_0x26328a;}),_0x5dba9c['ui'][_0x3cc49c(0xe6)][_0x3cc49c(0xfa)](_0x3cc49c(0x101),()=>this[_0x3cc49c(0xdc)](_0x4a5a5a));}[_0x2dda06(0xdc)](_0x1b69be){const _0x5b2c17=_0x2dda06,_0x559b9e=this[_0x5b2c17(0xe0)],_0x58c224=_0x559b9e[_0x5b2c17(0xf5)][_0x5b2c17(0x102)](_0x5b2c17(0xf0)),_0x1e0816=new _0x1b69be(_0x559b9e[_0x5b2c17(0xeb)]),_0x42e113=new _0x3e3e0e();return _0x1e0816[_0x5b2c17(0xe3)]({'acceptedType':_0x5b2c17(0xfd)}),_0x1e0816[_0x5b2c17(0xe3)]({'icon':_0x21a105}),_0x1e0816[_0x5b2c17(0xee)](_0x5b2c17(0xe5))['to'](_0x58c224),_0x1e0816[_0x5b2c17(0xee)](_0x5b2c17(0xf9))['to'](_0x58c224,_0x5b2c17(0xf1),_0x2489c4=>_0x227cc0(_0x559b9e[_0x5b2c17(0xeb)],_0x2489c4?_0x5b2c17(0xe1):_0x5b2c17(0xf2))),_0x42e113[_0x5b2c17(0xee)](_0x5b2c17(0xef))['to'](_0x58c224,_0x5b2c17(0xf1)),_0x1e0816[_0x5b2c17(0xda)][_0x5b2c17(0xee)](_0x5b2c17(0xef))['to'](_0x58c224,_0x5b2c17(0xf1),_0x1ea992=>!_0x1ea992),_0x1e0816[_0x5b2c17(0xdd)][_0x5b2c17(0xfa)](_0x42e113),_0x1e0816['on'](_0x5b2c17(0xfb),(_0x23fe8e,_0x3e9c42)=>{const _0x557668=_0x5b2c17;_0x559b9e[_0x557668(0xde)](_0x557668(0xf0),_0x3e9c42[0x0],{}),_0x559b9e[_0x557668(0xe7)][_0x557668(0xff)][_0x557668(0xea)]();}),_0x1e0816;}}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0x38e7(_0x5d5c6c,_0x2895a6){var _0x3afe2d=_0x3afe();return _0x38e7=function(_0x38e7ab,_0x23eb75){_0x38e7ab=_0x38e7ab-0x145;var _0x460ba5=_0x3afe2d[_0x38e7ab];return _0x460ba5;},_0x38e7(_0x5d5c6c,_0x2895a6);}(function(_0x1c2498,_0x1d3b86){var _0x237c6c=_0x38e7,_0x32b148=_0x1c2498();while(!![]){try{var _0x374dd9=parseInt(_0x237c6c(0x151))/0x1*(parseInt(_0x237c6c(0x14b))/0x2)+parseInt(_0x237c6c(0x147))/0x3*(-parseInt(_0x237c6c(0x149))/0x4)+-parseInt(_0x237c6c(0x14a))/0x5+parseInt(_0x237c6c(0x146))/0x6*(-parseInt(_0x237c6c(0x14e))/0x7)+-parseInt(_0x237c6c(0x148))/0x8*(-parseInt(_0x237c6c(0x14d))/0x9)+-parseInt(_0x237c6c(0x14c))/0xa*(-parseInt(_0x237c6c(0x14f))/0xb)+-parseInt(_0x237c6c(0x150))/0xc*(-parseInt(_0x237c6c(0x145))/0xd);if(_0x374dd9===_0x1d3b86)break;else _0x32b148['push'](_0x32b148['shift']());}catch(_0x1345b7){_0x32b148['push'](_0x32b148['shift']());}}}(_0x3afe,0xb8125));export{ImportWord}from'./importword.js';export{ImportWordEditing}from'./importwordediting.js';function _0x3afe(){var _0x1a129f=['1223610CUOJik','2130993dXuLyS','1838249ipkWWM','99tHfnPx','60cRRMAQ','6mmaLdE','3318393hPBHTM','24RCWfPc','227373ERXJem','8SSnJbI','48YcCXpL','1675860pWCjDJ','144906DFdYJO'];_0x3afe=function(){return _0x1a129f;};return _0x3afe();}export{ImportWordUI}from'./importwordui.js';export{ImportWordCommand}from'./importwordcommand.js';import'./augmentation.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export function getTranslation(_0x76783c,_0x4887ed){const t=_0x76783c['t'];switch(_0x4887ed){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 _0x4887ed;}}
|
|
File without changes
|
/package/{dist → src}/index.d.ts
RENAMED
|
File without changes
|