@ckeditor/ckeditor5-import-word 0.0.0-nightly-next-20260124.0 → 0.0.0-nightly-20260125.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 +41 -20
- 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-20260125.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-20260125.0",
|
|
34
|
+
"@ckeditor/ckeditor5-cloud-services": "0.0.0-nightly-20260125.0",
|
|
35
|
+
"@ckeditor/ckeditor5-core": "0.0.0-nightly-20260125.0",
|
|
36
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-nightly-20260125.0",
|
|
37
|
+
"@ckeditor/ckeditor5-icons": "0.0.0-nightly-20260125.0",
|
|
38
|
+
"@ckeditor/ckeditor5-merge-fields": "0.0.0-nightly-20260125.0",
|
|
39
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-nightly-20260125.0",
|
|
40
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-nightly-20260125.0",
|
|
41
|
+
"ckeditor5": "0.0.0-nightly-20260125.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
|
+
function _0x112a(_0x50f4d2,_0x1d3833){var _0x1bf5a4=_0x1bf5();return _0x112a=function(_0x112aa7,_0x44a83c){_0x112aa7=_0x112aa7-0xf7;var _0x9e361e=_0x1bf5a4[_0x112aa7];return _0x9e361e;},_0x112a(_0x50f4d2,_0x1d3833);}var _0x2c204a=_0x112a;function _0x1bf5(){var _0x24e2e1=['isOfficialPlugin','requires','45152uxTLhx','13844XbpANf','11930QSrwEE','558756wyNrkU','isPremiumPlugin','16YDlftu','645309KXBiLz','1249920FHgZIC','ImportWord','90XhjluM','5055phDNYg','12hxhcfk','11836IlXoYP','pluginName'];_0x1bf5=function(){return _0x24e2e1;};return _0x1bf5();}(function(_0x5b8d84,_0x542c96){var _0x31075c=_0x112a,_0x5a58e5=_0x5b8d84();while(!![]){try{var _0x5ad216=parseInt(_0x31075c(0xfe))/0x1+parseInt(_0x31075c(0xfd))/0x2+-parseInt(_0x31075c(0xf8))/0x3*(parseInt(_0x31075c(0x100))/0x4)+parseInt(_0x31075c(0xf7))/0x5*(-parseInt(_0x31075c(0x106))/0x6)+-parseInt(_0x31075c(0x104))/0x7+parseInt(_0x31075c(0x102))/0x8*(-parseInt(_0x31075c(0x103))/0x9)+-parseInt(_0x31075c(0xff))/0xa*(-parseInt(_0x31075c(0xf9))/0xb);if(_0x5ad216===_0x542c96)break;else _0x5a58e5['push'](_0x5a58e5['shift']());}catch(_0x4b03b9){_0x5a58e5['push'](_0x5a58e5['shift']());}}}(_0x1bf5,0x6790d));import{Plugin as _0x3eeda9}from'ckeditor5/src/core.js';import{ImportWordUI as _0x338f5a}from'./importwordui.js';import{ImportWordEditing as _0x5849ec}from'./importwordediting.js';export class ImportWord extends _0x3eeda9{static get[_0x2c204a(0xfa)](){var _0x2649b9=_0x2c204a;return _0x2649b9(0x105);}static get[_0x2c204a(0xfb)](){return!0x0;}static get[_0x2c204a(0x101)](){return!0x0;}static get[_0x2c204a(0xfc)](){return[_0x5849ec,_0x338f5a];}}
|
|
@@ -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
|
+
const _0x2a6067=_0x4ef4;(function(_0x3c3696,_0x29b418){const _0xe9b3e4=_0x4ef4,_0x5e528c=_0x3c3696();while(!![]){try{const _0x3437fb=parseInt(_0xe9b3e4(0x14f))/0x1+-parseInt(_0xe9b3e4(0xee))/0x2*(parseInt(_0xe9b3e4(0x12d))/0x3)+parseInt(_0xe9b3e4(0x108))/0x4*(-parseInt(_0xe9b3e4(0x14e))/0x5)+-parseInt(_0xe9b3e4(0x13b))/0x6*(parseInt(_0xe9b3e4(0x11c))/0x7)+parseInt(_0xe9b3e4(0x12c))/0x8+parseInt(_0xe9b3e4(0xfd))/0x9+parseInt(_0xe9b3e4(0xfc))/0xa*(parseInt(_0xe9b3e4(0x119))/0xb);if(_0x3437fb===_0x29b418)break;else _0x5e528c['push'](_0x5e528c['shift']());}catch(_0x37e7c6){_0x5e528c['push'](_0x5e528c['shift']());}}}(_0x155e,0x89c43));import{Command as _0x2e6ab0}from'ckeditor5/src/core.js';import{ModelRange as _0xe952c8}from'ckeditor5/src/engine.js';function _0x155e(){const _0x2baa51=['finally','_prepareForImport','has','importWord:','view','execute','deleteContent','value','html','_undoStepBatch','createPositionBefore','json','fire','headers','editor','createBatch','bind','stopListening','222345qAcJFz','973777PeDnqx','POST','_cleanUpAfterImport','then','editing','config','merge_fields','44qarFYu','stringify','Notification','isAtEnd','isEmpty','resolve','_abortController','isAtStart','_importMarker','$graveyard','importWord','isCollapsed','rootName','_handleImportFailure','45190NFwFFQ','9709497JUZBZJ','enqueueChange','isBusy','split','markers','text/html','paragraph','createPositionAfter','set','clipboardInput','reject','20JAAhDW','MergeFields','resolvedOptions','aborted','document','import-word-plugin-conversion-failed','schema','showWarning','getFirstPosition','timeZone','catch','abort','isEnabled','root','setSelection','model','_checkEnabled','671eVQIIZ','change:range','removeMarker','7gCISIP','setData','ImportWordEditing','position','getToken','getRange','low','_handleImportResponse','addMarker','plugins','checkChild','Authorization','parent','dataInsert','converterUrl','_sendImportRequest','3870656jhMDyV','131883wjhjbC','refresh','locale','file','DateTimeFormat','selection','signal','mergeFields','import-word-plugin-import-cancelled','An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.','get','getSelectedBlocks','formatting','element','6349938eXLATO'];_0x155e=function(){return _0x2baa51;};return _0x155e();}import{logWarning as _0x1e2f2c,logError as _0x3288d7,first as _0x54f299,uid as _0x25cf3a}from'ckeditor5/src/utils.js';import{getTranslation as _0x3b0a38}from'./utils/common-translations.js';function _0x4ef4(_0xcec98a,_0xb5c3b1){const _0x155e14=_0x155e();return _0x4ef4=function(_0x4ef48d,_0x2ce4d1){_0x4ef48d=_0x4ef48d-0xe9;let _0x36e36c=_0x155e14[_0x4ef48d];return _0x36e36c;},_0x4ef4(_0xcec98a,_0xb5c3b1);}export class ImportWordCommand extends _0x2e6ab0{[_0x2a6067(0xf6)];[_0x2a6067(0x145)];[_0x2a6067(0xf4)];constructor(_0x5275bc){const _0x5cc81c=_0x2a6067;super(_0x5275bc),this[_0x5cc81c(0x105)](_0x5cc81c(0xff),!0x1),this[_0x5cc81c(0xf6)]=null,this[_0x5cc81c(0x145)]=null,this[_0x5cc81c(0xf4)]=null,this['on'](_0x5cc81c(0x129),(_0x5a52ba,_0x31d67b)=>{const _0x43fd0a=_0x5cc81c,_0x380a0d=new DataTransfer();_0x380a0d[_0x43fd0a(0x11d)](_0x43fd0a(0x102),_0x31d67b[_0x43fd0a(0x144)]);const _0x1ebdad=this[_0x43fd0a(0xf6)][_0x43fd0a(0x121)]();this[_0x43fd0a(0x14a)][_0x43fd0a(0x117)][_0x43fd0a(0xfe)](this[_0x43fd0a(0x145)],_0x2297cd=>{const _0x55d456=_0x43fd0a;this[_0x55d456(0xf6)][_0x55d456(0x14d)](),_0x2297cd[_0x55d456(0x116)](_0x1ebdad),_0x5275bc[_0x55d456(0xeb)][_0x55d456(0x140)][_0x55d456(0x10c)][_0x55d456(0x148)](_0x55d456(0x106),{'dataTransfer':_0x380a0d});});},{'priority':_0x5cc81c(0x122)});}[_0x2a6067(0x12e)](){const _0x59b9ce=_0x2a6067;this[_0x59b9ce(0x114)]=this[_0x59b9ce(0x118)]();}[_0x2a6067(0x141)](_0xbebde9,_0x5d783a={}){const _0x50e661=_0x2a6067;if(this[_0x50e661(0xff)])return Promise[_0x50e661(0xf3)]();const _0x3a4a9d=this[_0x50e661(0x14a)][_0x50e661(0xec)][_0x50e661(0x137)](_0x50e661(0xf8));if(this[_0x50e661(0x14a)][_0x50e661(0x125)][_0x50e661(0x13e)](_0x50e661(0x109))){const {prefix:_0x5f1218,suffix:_0x37975b}=this[_0x50e661(0x14a)][_0x50e661(0xec)][_0x50e661(0x137)](_0x50e661(0x134));_0x5d783a[_0x50e661(0xed)]={'prefix':_0x5f1218,'suffix':_0x37975b};}const _0x414460={'url':_0x3a4a9d[_0x50e661(0x12a)],'file':_0xbebde9,'serviceConfig':{..._0x5d783a,'formatting':_0x3a4a9d[_0x50e661(0x139)],'timezone':new Intl[(_0x50e661(0x131))]()[_0x50e661(0x10a)]()[_0x50e661(0x111)]}};return this[_0x50e661(0x13d)](),this[_0x50e661(0x12b)](_0x414460)[_0x50e661(0xea)](this[_0x50e661(0x123)][_0x50e661(0x14c)](this))[_0x50e661(0x112)](this[_0x50e661(0xfb)][_0x50e661(0x14c)](this))[_0x50e661(0x13c)](this[_0x50e661(0xe9)][_0x50e661(0x14c)](this));}[_0x2a6067(0x118)](){const _0x24caea=_0x2a6067;if(this[_0x24caea(0xff)])return!0x1;const _0xd86e2f=this[_0x24caea(0x14a)][_0x24caea(0x117)],_0x2ff7d2=_0xd86e2f[_0x24caea(0x10e)],_0x22973b=_0xd86e2f[_0x24caea(0x10c)][_0x24caea(0x132)],_0x50dd7c=_0x54f299(_0x22973b[_0x24caea(0x138)]());return!!_0x50dd7c&&_0x2ff7d2[_0x24caea(0x126)](_0x50dd7c[_0x24caea(0x128)],_0x24caea(0x103));}[_0x2a6067(0x13d)](){const _0x475167=_0x2a6067,_0x3a5dd4=this[_0x475167(0x14a)],_0x18791e=_0x3a5dd4[_0x475167(0x117)],_0x4d863a=_0x18791e[_0x475167(0x10c)][_0x475167(0x132)];this[_0x475167(0xf4)]=new AbortController(),this[_0x475167(0x145)]=_0x3a5dd4[_0x475167(0x117)][_0x475167(0x14b)]({'isUndoable':!0x0}),_0x18791e[_0x475167(0xfe)](this[_0x475167(0x145)],_0x4db2c3=>{const _0x146612=_0x475167;_0x4d863a[_0x146612(0xf9)]||_0x18791e[_0x146612(0x142)](_0x4d863a,{'leaveUnmerged':!0x0});const _0x279d3d=_0x4d863a[_0x146612(0x110)](),_0x498ae7=_0x54f299(_0x4d863a[_0x146612(0x138)]());let _0x33935b;_0x33935b=_0x498ae7['is'](_0x146612(0x13a),_0x146612(0x103))&&_0x498ae7[_0x146612(0xf2)]?_0x279d3d:_0x279d3d[_0x146612(0xf5)]?_0x18791e[_0x146612(0x146)](_0x498ae7):_0x279d3d[_0x146612(0xf1)]?_0x18791e[_0x146612(0x104)](_0x498ae7):_0x4db2c3[_0x146612(0x100)](_0x279d3d)[_0x146612(0x11f)],this[_0x146612(0xf6)]=_0x4db2c3[_0x146612(0x124)](_0x146612(0x13f)+_0x25cf3a(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0xe952c8(_0x33935b)}),this[_0x146612(0xf6)]['on'](_0x146612(0x11a),()=>{const _0x26a55c=_0x146612;_0x26a55c(0xf7)===this[_0x26a55c(0xf6)][_0x26a55c(0x121)]()[_0x26a55c(0x115)][_0x26a55c(0xfa)]&&this[_0x26a55c(0xf4)][_0x26a55c(0x113)]();});}),this[_0x475167(0xff)]=!0x0,this[_0x475167(0x12e)]();}[_0x2a6067(0xe9)](){const _0x52d49a=_0x2a6067,_0x3ce06b=this[_0x52d49a(0x14a)][_0x52d49a(0x117)];_0x3ce06b[_0x52d49a(0x101)][_0x52d49a(0x13e)](this[_0x52d49a(0xf6)])&&_0x3ce06b[_0x52d49a(0xfe)](this[_0x52d49a(0x145)],_0x5ef1e0=>{const _0x55198e=_0x52d49a;_0x5ef1e0[_0x55198e(0x11b)](this[_0x55198e(0xf6)]);}),this[_0x52d49a(0xf6)]=null,this[_0x52d49a(0x145)]=null,this[_0x52d49a(0xf4)]=null,this[_0x52d49a(0xff)]=!0x1,this[_0x52d49a(0x12e)]();}[_0x2a6067(0x12b)]({url:_0x4f1ec5,file:_0x58c77b,serviceConfig:_0x2661c9}){const _0x521ede=_0x2a6067,_0x4e4c04=this[_0x521ede(0x14a)][_0x521ede(0x125)][_0x521ede(0x137)](_0x521ede(0x11e))[_0x521ede(0x120)](),_0x50848e=new FormData();_0x50848e[_0x521ede(0x105)](_0x521ede(0xec),JSON[_0x521ede(0xef)](_0x2661c9)),_0x50848e[_0x521ede(0x105)](_0x521ede(0x130),_0x58c77b);const _0x2321c0={'method':_0x521ede(0x150),'headers':{},'body':_0x50848e,'signal':this[_0x521ede(0xf4)][_0x521ede(0x133)]};return _0x4e4c04&&(_0x2321c0[_0x521ede(0x149)][_0x521ede(0x127)]=_0x4e4c04[_0x521ede(0x143)]),fetch(_0x4f1ec5,_0x2321c0);}[_0x2a6067(0x123)](_0x5d6af9){const _0x3c8686=_0x2a6067;return _0x5d6af9['ok']?_0x5d6af9[_0x3c8686(0x147)]()[_0x3c8686(0xea)](_0x16bd3d=>{const _0x8aaabe=_0x3c8686;if(!this[_0x8aaabe(0x14a)][_0x8aaabe(0x117)][_0x8aaabe(0x101)][_0x8aaabe(0x13e)](this[_0x8aaabe(0xf6)]))return;_0x8aaabe(0xf7)!==this[_0x8aaabe(0xf6)][_0x8aaabe(0x121)]()[_0x8aaabe(0x115)][_0x8aaabe(0xfa)]&&this[_0x8aaabe(0x148)](_0x8aaabe(0x129),{..._0x16bd3d,'undoStepBatch':this[_0x8aaabe(0x145)]});}):Promise[_0x3c8686(0x107)]();}[_0x2a6067(0xfb)](){const _0x214715=_0x2a6067;if(this[_0x214715(0xf4)][_0x214715(0x133)][_0x214715(0x10b)])return void _0x1e2f2c(_0x214715(0x135));const _0x282dd8=this[_0x214715(0x14a)],_0x56452a=_0x3b0a38(_0x282dd8[_0x214715(0x12f)],_0x214715(0x136));_0x282dd8[_0x214715(0x125)][_0x214715(0x137)](_0x214715(0xf0))[_0x214715(0x10f)](_0x56452a),_0x3288d7(_0x214715(0x10d));}}
|
|
@@ -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
|
+
function _0x327b(_0x5477d5,_0x1c36a5){const _0x465048=_0x4650();return _0x327b=function(_0x327b15,_0x45b50d){_0x327b15=_0x327b15-0x150;let _0xd085ba=_0x465048[_0x327b15];return _0xd085ba;},_0x327b(_0x5477d5,_0x1c36a5);}const _0x14106f=_0x327b;(function(_0x25ffab,_0x55621c){const _0x53feed=_0x327b,_0x4f952f=_0x25ffab();while(!![]){try{const _0x331e87=-parseInt(_0x53feed(0x156))/0x1+-parseInt(_0x53feed(0x172))/0x2+-parseInt(_0x53feed(0x16a))/0x3+parseInt(_0x53feed(0x167))/0x4*(-parseInt(_0x53feed(0x158))/0x5)+-parseInt(_0x53feed(0x161))/0x6*(-parseInt(_0x53feed(0x157))/0x7)+-parseInt(_0x53feed(0x152))/0x8*(-parseInt(_0x53feed(0x159))/0x9)+parseInt(_0x53feed(0x163))/0xa*(parseInt(_0x53feed(0x16d))/0xb);if(_0x331e87===_0x55621c)break;else _0x4f952f['push'](_0x4f952f['shift']());}catch(_0xc73fe9){_0x4f952f['push'](_0x4f952f['shift']());}}}(_0x4650,0x2d4aa));function _0x4650(){const _0x5e89a9=['300926ypsOWa','isOfficialPlugin','requires','8eYwOJO','https://docx-converter.cke-cs.com/v2/convert/docx-html','getToken','config','9752dnFozC','21oufUzK','5dCiVfx','2675043lGZWaj','inline','isPremiumPlugin','define','pluginName','get','cloudServices','_token','68868SMWaLh','CloudServices','1344710WkkBtH','plugins','commands','add','95716hRNDnl','token','editor','1096248DCuQYC','none','registerTokenUrl','33kBSqLa','init','importWord','tokenUrl','ImportWordEditing'];_0x4650=function(){return _0x5e89a9;};return _0x4650();}import{Plugin as _0x99fa36}from'ckeditor5/src/core.js';import{Notification as _0x5466c7}from'ckeditor5/src/ui.js';import{ClipboardPipeline as _0x37be8f}from'ckeditor5/src/clipboard.js';import{ImportWordCommand as _0xf693bc}from'./importwordcommand.js';export class ImportWordEditing extends _0x99fa36{[_0x14106f(0x160)];static get[_0x14106f(0x15d)](){const _0x3aaa6d=_0x14106f;return _0x3aaa6d(0x171);}static get[_0x14106f(0x150)](){return!0x0;}static get[_0x14106f(0x15b)](){return!0x0;}static get[_0x14106f(0x151)](){const _0x58366d=_0x14106f;return[_0x5466c7,_0x37be8f,_0x58366d(0x162)];}constructor(_0x4f1670){const _0x3d59a4=_0x14106f;super(_0x4f1670),this[_0x3d59a4(0x160)]=null;}async[_0x14106f(0x16e)](){const _0x20ff48=_0x14106f,_0x489331=this[_0x20ff48(0x169)];_0x489331[_0x20ff48(0x155)][_0x20ff48(0x15c)](_0x20ff48(0x16f),{'converterUrl':_0x20ff48(0x153),'tokenUrl':(_0x489331[_0x20ff48(0x155)][_0x20ff48(0x15e)](_0x20ff48(0x15f))||{})[_0x20ff48(0x170)],'formatting':{'resets':_0x20ff48(0x16b),'defaults':_0x20ff48(0x16b),'styles':_0x20ff48(0x15a)}}),_0x489331[_0x20ff48(0x165)][_0x20ff48(0x166)](_0x20ff48(0x16f),new _0xf693bc(_0x489331));const {tokenUrl:_0x59b336}=_0x489331[_0x20ff48(0x155)][_0x20ff48(0x15e)](_0x20ff48(0x16f));if(_0x59b336){const {tokenUrl:_0x56d039}=_0x489331[_0x20ff48(0x155)][_0x20ff48(0x15e)](_0x20ff48(0x15f))||{};this[_0x20ff48(0x160)]=_0x59b336===_0x56d039?_0x489331[_0x20ff48(0x164)][_0x20ff48(0x15e)](_0x20ff48(0x162))[_0x20ff48(0x168)]:await _0x489331[_0x20ff48(0x164)][_0x20ff48(0x15e)](_0x20ff48(0x162))[_0x20ff48(0x16c)](_0x59b336);}}[_0x14106f(0x154)](){const _0x4bf839=_0x14106f;return this[_0x4bf839(0x160)];}}
|
|
@@ -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 _0x30c4(){const _0x477ddb=['isOfficialPlugin','focus','isPremiumPlugin','children','ImportWordUI','get','10aMpTWh','pluginName','993832uMoiPT','done','isEnabled','2849264DsMmZa','application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template','51903850ewzExG','tooltip','isVisible','importWord','locale','10031vueXuZ','6688701dwqAEw','5768BVfFtZ','iconView','editor','set','menuBar:importWord','isBusy','87jTBdkR','bind','isOn','_createButton','add','93226byGslO','editing','view','Import\x20from\x20Word','commands','Importing\x20Word\x20document','init','componentFactory','label','execute','4794936ehdDpE'];_0x30c4=function(){return _0x477ddb;};return _0x30c4();}const _0x5f2130=_0x4113;(function(_0x537791,_0x759a3a){const _0xf54f1c=_0x4113,_0x5ea83d=_0x537791();while(!![]){try{const _0x515e26=-parseInt(_0xf54f1c(0x160))/0x1+-parseInt(_0xf54f1c(0x14d))/0x2*(parseInt(_0xf54f1c(0x148))/0x3)+-parseInt(_0xf54f1c(0x163))/0x4+parseInt(_0xf54f1c(0x15e))/0x5*(-parseInt(_0xf54f1c(0x157))/0x6)+-parseInt(_0xf54f1c(0x16a))/0x7*(-parseInt(_0xf54f1c(0x16c))/0x8)+-parseInt(_0xf54f1c(0x16b))/0x9+parseInt(_0xf54f1c(0x165))/0xa;if(_0x515e26===_0x759a3a)break;else _0x5ea83d['push'](_0x5ea83d['shift']());}catch(_0x5335aa){_0x5ea83d['push'](_0x5ea83d['shift']());}}}(_0x30c4,0xc9358));function _0x4113(_0x2dec26,_0x5b6f6f){const _0x30c4cc=_0x30c4();return _0x4113=function(_0x411360,_0x267592){_0x411360=_0x411360-0x144;let _0x4e2d65=_0x30c4cc[_0x411360];return _0x4e2d65;},_0x4113(_0x2dec26,_0x5b6f6f);}import{Plugin as _0x11485d}from'ckeditor5/src/core.js';import{IconImportWord as _0x3df0d1}from'ckeditor5/src/icons.js';import{MenuBarMenuListItemFileDialogButtonView as _0x36e241,SpinnerView as _0x181d0a,FileDialogButtonView as _0x40d7c6}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c27de}from'./utils/common-translations.js';export class ImportWordUI extends _0x11485d{static get[_0x5f2130(0x15f)](){const _0x397d36=_0x5f2130;return _0x397d36(0x15c);}static get[_0x5f2130(0x158)](){return!0x0;}static get[_0x5f2130(0x15a)](){return!0x0;}[_0x5f2130(0x153)](){const _0x285e55=_0x5f2130,_0x3e9064=this[_0x285e55(0x144)];_0x3e9064['ui'][_0x285e55(0x154)][_0x285e55(0x14c)](_0x285e55(0x168),()=>{const _0x535234=_0x285e55,_0x4354b6=this[_0x535234(0x14b)](_0x40d7c6),_0x9071a3=_0x3e9064[_0x535234(0x151)][_0x535234(0x15d)](_0x535234(0x168));return _0x4354b6[_0x535234(0x149)](_0x535234(0x14a))['to'](_0x9071a3,_0x535234(0x147)),_0x4354b6[_0x535234(0x166)]=!0x0,_0x4354b6;}),_0x3e9064['ui'][_0x285e55(0x154)][_0x285e55(0x14c)](_0x285e55(0x146),()=>this[_0x285e55(0x14b)](_0x36e241));}[_0x5f2130(0x14b)](_0x2c2a37){const _0x49c6c0=_0x5f2130,_0x2a10ae=this[_0x49c6c0(0x144)],_0x1f69f4=_0x2a10ae[_0x49c6c0(0x151)][_0x49c6c0(0x15d)](_0x49c6c0(0x168)),_0x3e1c86=new _0x2c2a37(_0x2a10ae[_0x49c6c0(0x169)]),_0x2b423a=new _0x181d0a();return _0x3e1c86[_0x49c6c0(0x145)]({'acceptedType':_0x49c6c0(0x164)}),_0x3e1c86[_0x49c6c0(0x145)]({'icon':_0x3df0d1}),_0x3e1c86[_0x49c6c0(0x149)](_0x49c6c0(0x162))['to'](_0x1f69f4),_0x3e1c86[_0x49c6c0(0x149)](_0x49c6c0(0x155))['to'](_0x1f69f4,_0x49c6c0(0x147),_0x51b13d=>_0x2c27de(_0x2a10ae[_0x49c6c0(0x169)],_0x51b13d?_0x49c6c0(0x152):_0x49c6c0(0x150))),_0x2b423a[_0x49c6c0(0x149)](_0x49c6c0(0x167))['to'](_0x1f69f4,_0x49c6c0(0x147)),_0x3e1c86[_0x49c6c0(0x16d)][_0x49c6c0(0x149)](_0x49c6c0(0x167))['to'](_0x1f69f4,_0x49c6c0(0x147),_0x696879=>!_0x696879),_0x3e1c86[_0x49c6c0(0x15b)][_0x49c6c0(0x14c)](_0x2b423a),_0x3e1c86['on'](_0x49c6c0(0x161),(_0x25ede6,_0x89686a)=>{const _0x1d15b0=_0x49c6c0;_0x2a10ae[_0x1d15b0(0x156)](_0x1d15b0(0x168),_0x89686a[0x0],{}),_0x2a10ae[_0x1d15b0(0x14e)][_0x1d15b0(0x14f)][_0x1d15b0(0x159)]();}),_0x3e1c86;}}
|
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(_0x32d646,_0x16f678){var _0x51558d=_0x2d17,_0x315c61=_0x32d646();while(!![]){try{var _0x37e9e6=-parseInt(_0x51558d(0x87))/0x1*(parseInt(_0x51558d(0x89))/0x2)+-parseInt(_0x51558d(0x8e))/0x3*(-parseInt(_0x51558d(0x8a))/0x4)+-parseInt(_0x51558d(0x85))/0x5*(-parseInt(_0x51558d(0x86))/0x6)+-parseInt(_0x51558d(0x83))/0x7*(-parseInt(_0x51558d(0x84))/0x8)+parseInt(_0x51558d(0x88))/0x9*(-parseInt(_0x51558d(0x8d))/0xa)+parseInt(_0x51558d(0x8b))/0xb*(parseInt(_0x51558d(0x8f))/0xc)+parseInt(_0x51558d(0x90))/0xd*(-parseInt(_0x51558d(0x8c))/0xe);if(_0x37e9e6===_0x16f678)break;else _0x315c61['push'](_0x315c61['shift']());}catch(_0x1b562c){_0x315c61['push'](_0x315c61['shift']());}}}(_0x2ed3,0x5827a));function _0x2d17(_0xf14cc1,_0xb869a7){var _0x2ed362=_0x2ed3();return _0x2d17=function(_0x2d1794,_0x468f03){_0x2d1794=_0x2d1794-0x83;var _0x4b97a7=_0x2ed362[_0x2d1794];return _0x4b97a7;},_0x2d17(_0xf14cc1,_0xb869a7);}export{ImportWord}from'./importword.js';export{ImportWordEditing}from'./importwordediting.js';export{ImportWordUI}from'./importwordui.js';export{ImportWordCommand}from'./importwordcommand.js';import'./augmentation.js';function _0x2ed3(){var _0x25a07e=['7611184rkZVtp','160SssLOf','125382CRtTbM','10728PqUkYx','13aOhQRz','469IdBsES','69144ECLVkM','44420wsjqtj','72eZihIv','3TXaMuV','171297IeZRDZ','125958BXeLEq','32lQPmPH','4653dgSEwo'];_0x2ed3=function(){return _0x25a07e;};return _0x2ed3();}
|
|
@@ -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(_0x54fd7a,_0x1478bc){const t=_0x54fd7a['t'];switch(_0x1478bc){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 _0x1478bc;}}
|
|
File without changes
|
/package/{dist → src}/index.d.ts
RENAMED
|
File without changes
|