@ckeditor/ckeditor5-widget 0.0.0-internal-20241017.0 → 0.0.0-internal-20241206.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.
Potentially problematic release.
This version of @ckeditor/ckeditor5-widget might be problematic. Click here for more details.
- package/LICENSE.md +7 -2
- package/README.md +17 -6
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +428 -460
- package/dist/index.js.map +1 -1
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +5 -0
- package/dist/translations/af.umd.js +11 -0
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.d.ts +8 -0
- package/dist/translations/ast.js +5 -0
- package/dist/translations/ast.umd.js +11 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +5 -0
- package/dist/translations/bs.umd.js +11 -0
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/en-gb.d.ts +8 -0
- package/dist/translations/en-gb.js +5 -0
- package/dist/translations/en-gb.umd.js +11 -0
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.d.ts +8 -0
- package/dist/translations/eo.js +5 -0
- package/dist/translations/eo.umd.js +11 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +5 -0
- package/dist/translations/es-co.umd.js +11 -0
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/eu.d.ts +8 -0
- package/dist/translations/eu.js +5 -0
- package/dist/translations/eu.umd.js +11 -0
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gu.d.ts +8 -0
- package/dist/translations/gu.js +5 -0
- package/dist/translations/gu.umd.js +11 -0
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hy.d.ts +8 -0
- package/dist/translations/hy.js +5 -0
- package/dist/translations/hy.umd.js +11 -0
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +5 -0
- package/dist/translations/jv.umd.js +11 -0
- package/dist/translations/kk.d.ts +8 -0
- package/dist/translations/kk.js +5 -0
- package/dist/translations/kk.umd.js +11 -0
- package/dist/translations/km.d.ts +8 -0
- package/dist/translations/km.js +5 -0
- package/dist/translations/km.umd.js +11 -0
- package/dist/translations/kn.d.ts +8 -0
- package/dist/translations/kn.js +5 -0
- package/dist/translations/kn.umd.js +11 -0
- 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/nb.d.ts +8 -0
- package/dist/translations/nb.js +5 -0
- package/dist/translations/nb.umd.js +11 -0
- package/dist/translations/ne.d.ts +8 -0
- package/dist/translations/ne.js +5 -0
- package/dist/translations/ne.umd.js +11 -0
- package/dist/translations/oc.d.ts +8 -0
- package/dist/translations/oc.js +5 -0
- package/dist/translations/oc.umd.js +11 -0
- 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.d.ts +8 -0
- package/dist/translations/si.js +5 -0
- package/dist/translations/si.umd.js +11 -0
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.d.ts +8 -0
- package/dist/translations/sl.js +5 -0
- package/dist/translations/sl.umd.js +11 -0
- 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/ti.d.ts +8 -0
- package/dist/translations/ti.js +5 -0
- package/dist/translations/ti.umd.js +11 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +5 -0
- package/dist/translations/tt.umd.js +11 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +5 -0
- package/dist/translations/ug.umd.js +11 -0
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/lang/translations/af.po +52 -0
- package/lang/translations/ar.po +4 -10
- package/lang/translations/ast.po +52 -0
- package/lang/translations/az.po +3 -9
- package/lang/translations/bg.po +3 -9
- package/lang/translations/bn.po +3 -9
- package/lang/translations/bs.po +52 -0
- package/lang/translations/ca.po +3 -9
- package/lang/translations/cs.po +4 -10
- package/lang/translations/da.po +3 -9
- package/lang/translations/de-ch.po +3 -9
- package/lang/translations/de.po +3 -9
- package/lang/translations/el.po +3 -9
- package/lang/translations/en-au.po +3 -9
- package/lang/translations/en-gb.po +52 -0
- package/lang/translations/en.po +5 -11
- package/lang/translations/eo.po +52 -0
- package/lang/translations/es-co.po +52 -0
- package/lang/translations/es.po +4 -10
- package/lang/translations/et.po +3 -9
- package/lang/translations/eu.po +52 -0
- package/lang/translations/fa.po +4 -10
- package/lang/translations/fi.po +3 -9
- package/lang/translations/fr.po +4 -10
- package/lang/translations/gl.po +3 -9
- package/lang/translations/gu.po +52 -0
- package/lang/translations/he.po +4 -10
- package/lang/translations/hi.po +3 -9
- package/lang/translations/hr.po +4 -10
- package/lang/translations/hu.po +3 -9
- package/lang/translations/hy.po +52 -0
- package/lang/translations/id.po +3 -9
- package/lang/translations/it.po +4 -10
- package/lang/translations/ja.po +3 -9
- package/lang/translations/jv.po +52 -0
- package/lang/translations/kk.po +52 -0
- package/lang/translations/km.po +52 -0
- package/lang/translations/kn.po +52 -0
- package/lang/translations/ko.po +3 -9
- package/lang/translations/ku.po +3 -9
- package/lang/translations/lt.po +4 -10
- package/lang/translations/lv.po +4 -10
- package/lang/translations/ms.po +3 -9
- package/lang/translations/nb.po +52 -0
- package/lang/translations/ne.po +52 -0
- package/lang/translations/nl.po +3 -9
- package/lang/translations/no.po +3 -9
- package/lang/translations/oc.po +52 -0
- package/lang/translations/pl.po +4 -10
- package/lang/translations/pt-br.po +4 -10
- package/lang/translations/pt.po +4 -10
- package/lang/translations/ro.po +4 -10
- package/lang/translations/ru.po +4 -10
- package/lang/translations/si.po +52 -0
- package/lang/translations/sk.po +4 -10
- package/lang/translations/sl.po +52 -0
- package/lang/translations/sq.po +3 -9
- package/lang/translations/sr-latn.po +4 -10
- package/lang/translations/sr.po +4 -10
- package/lang/translations/sv.po +3 -9
- package/lang/translations/th.po +3 -9
- package/lang/translations/ti.po +52 -0
- package/lang/translations/tk.po +3 -9
- package/lang/translations/tr.po +3 -9
- package/lang/translations/tt.po +52 -0
- package/lang/translations/ug.po +52 -0
- package/lang/translations/uk.po +4 -10
- package/lang/translations/ur.po +3 -9
- package/lang/translations/uz.po +4 -10
- package/lang/translations/vi.po +3 -9
- package/lang/translations/zh-cn.po +3 -9
- package/lang/translations/zh.po +3 -9
- package/package.json +27 -9
- package/src/augmentation.d.ts +1 -1
- package/src/augmentation.js +1 -1
- package/src/highlightstack.d.ts +1 -1
- package/src/highlightstack.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/utils.d.ts +1 -1
- package/src/utils.js +1 -1
- package/src/verticalnavigation.d.ts +1 -1
- package/src/verticalnavigation.js +1 -1
- package/src/widget.d.ts +1 -1
- package/src/widget.js +1 -1
- package/src/widgetresize/resizer.d.ts +1 -1
- package/src/widgetresize/resizer.js +1 -1
- package/src/widgetresize/resizerstate.d.ts +1 -1
- package/src/widgetresize/resizerstate.js +1 -1
- package/src/widgetresize/sizeview.d.ts +1 -1
- package/src/widgetresize/sizeview.js +1 -1
- package/src/widgetresize.d.ts +1 -1
- package/src/widgetresize.js +1 -1
- package/src/widgettoolbarrepository.d.ts +1 -1
- package/src/widgettoolbarrepository.js +1 -1
- package/src/widgettypearound/utils.d.ts +1 -1
- package/src/widgettypearound/utils.js +1 -1
- package/src/widgettypearound/widgettypearound.d.ts +1 -1
- package/src/widgettypearound/widgettypearound.js +1 -1
- package/theme/widget.css +1 -1
- package/theme/widgetresize.css +1 -1
- package/theme/widgettypearound.css +1 -1
- package/dist/augmentation.d.ts +0 -17
- package/dist/highlightstack.d.ts +0 -78
- package/dist/index.d.ts +0 -17
- package/dist/utils.d.ts +0 -219
- package/dist/verticalnavigation.d.ts +0 -19
- package/dist/widget.d.ts +0 -111
- package/dist/widgetresize/resizer.d.ts +0 -181
- package/dist/widgetresize/resizerstate.d.ts +0 -129
- package/dist/widgetresize/sizeview.d.ts +0 -59
- package/dist/widgetresize.d.ts +0 -133
- package/dist/widgettoolbarrepository.d.ts +0 -102
- package/dist/widgettypearound/utils.d.ts +0 -42
- package/dist/widgettypearound/widgettypearound.d.ts +0 -237
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-widget",
|
3
|
-
"version": "0.0.0-internal-
|
3
|
+
"version": "0.0.0-internal-20241206.0",
|
4
4
|
"description": "Widget API for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,16 +12,16 @@
|
|
12
12
|
"type": "module",
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"@ckeditor/ckeditor5-core": "0.0.0-internal-
|
16
|
-
"@ckeditor/ckeditor5-engine": "0.0.0-internal-
|
17
|
-
"@ckeditor/ckeditor5-enter": "0.0.0-internal-
|
18
|
-
"@ckeditor/ckeditor5-ui": "0.0.0-internal-
|
19
|
-
"@ckeditor/ckeditor5-utils": "0.0.0-internal-
|
20
|
-
"@ckeditor/ckeditor5-typing": "0.0.0-internal-
|
15
|
+
"@ckeditor/ckeditor5-core": "0.0.0-internal-20241206.0",
|
16
|
+
"@ckeditor/ckeditor5-engine": "0.0.0-internal-20241206.0",
|
17
|
+
"@ckeditor/ckeditor5-enter": "0.0.0-internal-20241206.0",
|
18
|
+
"@ckeditor/ckeditor5-ui": "0.0.0-internal-20241206.0",
|
19
|
+
"@ckeditor/ckeditor5-utils": "0.0.0-internal-20241206.0",
|
20
|
+
"@ckeditor/ckeditor5-typing": "0.0.0-internal-20241206.0",
|
21
21
|
"lodash-es": "4.17.21"
|
22
22
|
},
|
23
23
|
"author": "CKSource (http://cksource.com/)",
|
24
|
-
"license": "
|
24
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
25
25
|
"homepage": "https://ckeditor.com/ckeditor-5",
|
26
26
|
"bugs": "https://github.com/ckeditor/ckeditor5/issues",
|
27
27
|
"repository": {
|
@@ -38,5 +38,23 @@
|
|
38
38
|
"ckeditor5-metadata.json",
|
39
39
|
"CHANGELOG.md"
|
40
40
|
],
|
41
|
-
"types": "src/index.d.ts"
|
41
|
+
"types": "src/index.d.ts",
|
42
|
+
"exports": {
|
43
|
+
".": {
|
44
|
+
"types": "./src/index.d.ts",
|
45
|
+
"import": "./src/index.js"
|
46
|
+
},
|
47
|
+
"./dist/*": {
|
48
|
+
"types": "./src/index.d.ts",
|
49
|
+
"import": "./dist/*"
|
50
|
+
},
|
51
|
+
"./src/*": {
|
52
|
+
"types": "./src/index.d.ts",
|
53
|
+
"import": "./src/*"
|
54
|
+
},
|
55
|
+
"./lang/*": "./lang/*",
|
56
|
+
"./theme/*": "./theme/*",
|
57
|
+
"./ckeditor5-metadata.json": "./ckeditor5-metadata.json",
|
58
|
+
"./package.json": "./package.json"
|
59
|
+
}
|
42
60
|
}
|
package/src/augmentation.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
|
6
6
|
declare module '@ckeditor/ckeditor5-core' {
|
package/src/augmentation.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
export {};
|
package/src/highlightstack.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import type { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
|
6
6
|
declare const HighlightStack_base: {
|
package/src/highlightstack.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/highlightstack
|
package/src/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget
|
package/src/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget
|
package/src/utils.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/utils
|
package/src/utils.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/utils
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/verticalnavigation
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/verticalnavigation
|
package/src/widget.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widget
|
package/src/widget.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widget
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import { Rect, type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
|
6
6
|
import ResizeState from './resizerstate.js';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize/resizer
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import type { ResizerOptions } from '../widgetresize.js';
|
6
6
|
declare const ResizeState_base: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize/resizerstate
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize/sizeview
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize/sizeview
|
package/src/widgetresize.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize
|
package/src/widgetresize.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgetresize
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgettoolbarrepository
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgettoolbarrepository
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
import type { DocumentSelection, DomConverter, Element, Schema, Selection, ViewElement } from '@ckeditor/ckeditor5-engine';
|
6
6
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgettypearound/utils
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/**
|
6
6
|
* @module widget/widgettypearound/widgettypearound
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
/* global DOMParser */
|
6
6
|
/**
|
package/theme/widget.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
|
6
6
|
:root {
|
package/theme/widgetresize.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
|
6
6
|
.ck .ck-widget_with-resizer {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
4
|
*/
|
5
5
|
|
6
6
|
.ck .ck-widget {
|
package/dist/augmentation.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
-
*/
|
9
|
-
import type { Widget, WidgetResize, WidgetToolbarRepository, WidgetTypeAround } from './index.js';
|
10
|
-
declare module '@ckeditor/ckeditor5-core' {
|
11
|
-
interface PluginsMap {
|
12
|
-
[Widget.pluginName]: Widget;
|
13
|
-
[WidgetResize.pluginName]: WidgetResize;
|
14
|
-
[WidgetToolbarRepository.pluginName]: WidgetToolbarRepository;
|
15
|
-
[WidgetTypeAround.pluginName]: WidgetTypeAround;
|
16
|
-
}
|
17
|
-
}
|
package/dist/highlightstack.d.ts
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
-
*/
|
9
|
-
import type { DowncastWriter, HighlightDescriptor } from '@ckeditor/ckeditor5-engine';
|
10
|
-
declare const HighlightStack_base: {
|
11
|
-
new (): import("@ckeditor/ckeditor5-utils").Emitter;
|
12
|
-
prototype: import("@ckeditor/ckeditor5-utils").Emitter;
|
13
|
-
};
|
14
|
-
/**
|
15
|
-
* Class used to handle the correct order of highlights on elements.
|
16
|
-
*
|
17
|
-
* When different highlights are applied to same element the correct order should be preserved:
|
18
|
-
*
|
19
|
-
* * highlight with highest priority should be applied,
|
20
|
-
* * if two highlights have same priority - sort by CSS class provided in
|
21
|
-
* {@link module:engine/conversion/downcasthelpers~HighlightDescriptor}.
|
22
|
-
*
|
23
|
-
* This way, highlight will be applied with the same rules it is applied on texts.
|
24
|
-
*/
|
25
|
-
export default class HighlightStack extends /* #__PURE__ */ HighlightStack_base {
|
26
|
-
private readonly _stack;
|
27
|
-
/**
|
28
|
-
* Adds highlight descriptor to the stack.
|
29
|
-
*
|
30
|
-
* @fires change:top
|
31
|
-
*/
|
32
|
-
add(descriptor: HighlightDescriptor, writer: DowncastWriter): void;
|
33
|
-
/**
|
34
|
-
* Removes highlight descriptor from the stack.
|
35
|
-
*
|
36
|
-
* @fires change:top
|
37
|
-
* @param id Id of the descriptor to remove.
|
38
|
-
*/
|
39
|
-
remove(id: string, writer: DowncastWriter): void;
|
40
|
-
/**
|
41
|
-
* Inserts a given descriptor in correct place in the stack. It also takes care about updating information
|
42
|
-
* when descriptor with same id is already present.
|
43
|
-
*/
|
44
|
-
private _insertDescriptor;
|
45
|
-
/**
|
46
|
-
* Removes descriptor with given id from the stack.
|
47
|
-
*
|
48
|
-
* @param id Descriptor's id.
|
49
|
-
*/
|
50
|
-
private _removeDescriptor;
|
51
|
-
}
|
52
|
-
/**
|
53
|
-
* Fired when top element on {@link module:widget/highlightstack~HighlightStack} has been changed
|
54
|
-
*
|
55
|
-
* @eventName ~HighlightStack#change:top
|
56
|
-
*/
|
57
|
-
export type HighlightStackChangeEvent = {
|
58
|
-
name: 'change' | 'change:top';
|
59
|
-
args: [HighlightStackChangeEventData];
|
60
|
-
};
|
61
|
-
/**
|
62
|
-
* Additional information about the change.
|
63
|
-
*/
|
64
|
-
export type HighlightStackChangeEventData = {
|
65
|
-
/**
|
66
|
-
* Old highlight descriptor. It will be `undefined` when first descriptor is added to the stack.
|
67
|
-
*/
|
68
|
-
oldDescriptor: HighlightDescriptor;
|
69
|
-
/**
|
70
|
-
* New highlight descriptor. It will be `undefined` when last descriptor is removed from the stack.
|
71
|
-
*/
|
72
|
-
newDescriptor: HighlightDescriptor;
|
73
|
-
/**
|
74
|
-
* View writer that can be used to modify element.
|
75
|
-
*/
|
76
|
-
writer: DowncastWriter;
|
77
|
-
};
|
78
|
-
export {};
|
package/dist/index.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
/**
|
6
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
8
|
-
*/
|
9
|
-
/**
|
10
|
-
* @module widget
|
11
|
-
*/
|
12
|
-
export { default as Widget } from './widget.js';
|
13
|
-
export { default as WidgetToolbarRepository } from './widgettoolbarrepository.js';
|
14
|
-
export { default as WidgetResize } from './widgetresize.js';
|
15
|
-
export { default as WidgetTypeAround } from './widgettypearound/widgettypearound.js';
|
16
|
-
export * from './utils.js';
|
17
|
-
import './augmentation.js';
|