@ckeditor/ckeditor5-widget 47.6.1 → 48.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/index-editor.css +484 -122
- package/dist/index.css +479 -187
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +26 -46
- package/lang/contexts.json +0 -12
- package/lang/translations/af.po +0 -52
- package/lang/translations/ar.po +0 -52
- package/lang/translations/ast.po +0 -52
- package/lang/translations/az.po +0 -52
- package/lang/translations/be.po +0 -52
- package/lang/translations/bg.po +0 -52
- package/lang/translations/bn.po +0 -52
- package/lang/translations/bs.po +0 -52
- package/lang/translations/ca.po +0 -52
- package/lang/translations/cs.po +0 -52
- package/lang/translations/da.po +0 -52
- package/lang/translations/de-ch.po +0 -52
- package/lang/translations/de.po +0 -52
- package/lang/translations/el.po +0 -52
- package/lang/translations/en-au.po +0 -52
- package/lang/translations/en-gb.po +0 -52
- package/lang/translations/en.po +0 -52
- package/lang/translations/eo.po +0 -52
- package/lang/translations/es-co.po +0 -52
- package/lang/translations/es.po +0 -52
- package/lang/translations/et.po +0 -52
- package/lang/translations/eu.po +0 -52
- package/lang/translations/fa.po +0 -52
- package/lang/translations/fi.po +0 -52
- package/lang/translations/fr.po +0 -52
- package/lang/translations/gl.po +0 -52
- package/lang/translations/gu.po +0 -52
- package/lang/translations/he.po +0 -52
- package/lang/translations/hi.po +0 -52
- package/lang/translations/hr.po +0 -52
- package/lang/translations/hu.po +0 -52
- package/lang/translations/hy.po +0 -52
- package/lang/translations/id.po +0 -52
- package/lang/translations/it.po +0 -52
- package/lang/translations/ja.po +0 -52
- package/lang/translations/jv.po +0 -52
- package/lang/translations/kk.po +0 -52
- package/lang/translations/km.po +0 -52
- package/lang/translations/kn.po +0 -52
- package/lang/translations/ko.po +0 -52
- package/lang/translations/ku.po +0 -52
- package/lang/translations/lt.po +0 -52
- package/lang/translations/lv.po +0 -52
- package/lang/translations/ms.po +0 -52
- package/lang/translations/nb.po +0 -52
- package/lang/translations/ne.po +0 -52
- package/lang/translations/nl.po +0 -52
- package/lang/translations/no.po +0 -52
- package/lang/translations/oc.po +0 -52
- package/lang/translations/pl.po +0 -52
- package/lang/translations/pt-br.po +0 -52
- package/lang/translations/pt.po +0 -52
- package/lang/translations/ro.po +0 -52
- package/lang/translations/ru.po +0 -52
- package/lang/translations/si.po +0 -52
- package/lang/translations/sk.po +0 -52
- package/lang/translations/sl.po +0 -52
- package/lang/translations/sq.po +0 -52
- package/lang/translations/sr-latn.po +0 -52
- package/lang/translations/sr.po +0 -52
- package/lang/translations/sv.po +0 -52
- package/lang/translations/th.po +0 -52
- package/lang/translations/ti.po +0 -52
- package/lang/translations/tk.po +0 -52
- package/lang/translations/tr.po +0 -52
- package/lang/translations/tt.po +0 -52
- package/lang/translations/ug.po +0 -52
- package/lang/translations/uk.po +0 -52
- package/lang/translations/ur.po +0 -52
- package/lang/translations/uz.po +0 -52
- package/lang/translations/vi.po +0 -52
- package/lang/translations/zh-cn.po +0 -52
- package/lang/translations/zh.po +0 -52
- package/src/augmentation.js +0 -5
- package/src/highlightstack.js +0 -126
- package/src/index.js +0 -19
- package/src/utils.js +0 -414
- package/src/verticalnavigation.js +0 -185
- package/src/widget.js +0 -727
- package/src/widgetresize/resizer.js +0 -390
- package/src/widgetresize/resizerstate.js +0 -165
- package/src/widgetresize/sizeview.js +0 -65
- package/src/widgetresize.js +0 -193
- package/src/widgettoolbarrepository.js +0 -274
- package/src/widgettypearound/utils.js +0 -60
- package/src/widgettypearound/widgettypearound.js +0 -778
- package/theme/widget.css +0 -91
- package/theme/widgetresize.css +0 -43
- package/theme/widgettypearound.css +0 -119
- /package/{src → dist}/augmentation.d.ts +0 -0
- /package/{src → dist}/highlightstack.d.ts +0 -0
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/utils.d.ts +0 -0
- /package/{src → dist}/verticalnavigation.d.ts +0 -0
- /package/{src → dist}/widget.d.ts +0 -0
- /package/{src → dist}/widgetresize/resizer.d.ts +0 -0
- /package/{src → dist}/widgetresize/resizerstate.d.ts +0 -0
- /package/{src → dist}/widgetresize/sizeview.d.ts +0 -0
- /package/{src → dist}/widgetresize.d.ts +0 -0
- /package/{src → dist}/widgettoolbarrepository.d.ts +0 -0
- /package/{src → dist}/widgettypearound/utils.d.ts +0 -0
- /package/{src → dist}/widgettypearound/widgettypearound.d.ts +0 -0
package/lang/translations/vi.po
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: vi\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
|
15
|
-
msgid "Widget toolbar"
|
|
16
|
-
msgstr "Thanh công cụ tiện ích"
|
|
17
|
-
|
|
18
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
|
19
|
-
msgid "Insert paragraph before block"
|
|
20
|
-
msgstr "Chèn đoạn trước khối"
|
|
21
|
-
|
|
22
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
|
23
|
-
msgid "Insert paragraph after block"
|
|
24
|
-
msgstr "Chèn đoạn sau khối"
|
|
25
|
-
|
|
26
|
-
msgctxt "Information to be read by screen reader about shortcuts to type around a widget."
|
|
27
|
-
msgid "Press Enter to type after or press Shift + Enter to type before the widget"
|
|
28
|
-
msgstr "Nhấn Enter để nhập vào sau hoặc nhấn Shift + Enter để nhập vào trước tiện ích"
|
|
29
|
-
|
|
30
|
-
msgctxt "Accessibility help dialog section title for widget plugin keystrokes."
|
|
31
|
-
msgid "Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"
|
|
32
|
-
msgstr "Tổ hợp phím mà bạn có thể dùng khi một tiện ích được chọn (ví dụ: hình ảnh, bảng, v.v.)"
|
|
33
|
-
|
|
34
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph after a widget."
|
|
35
|
-
msgid "Insert a new paragraph directly after a widget"
|
|
36
|
-
msgstr "Chèn đoạn văn mới ngay sau tiện ích"
|
|
37
|
-
|
|
38
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph before a widget."
|
|
39
|
-
msgid "Insert a new paragraph directly before a widget"
|
|
40
|
-
msgstr "Chèn đoạn văn mới ngay trước tiện ích"
|
|
41
|
-
|
|
42
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret before a widget."
|
|
43
|
-
msgid "Move the caret to allow typing directly before a widget"
|
|
44
|
-
msgstr "Di chuyển dấu sót để cho phép nhập ngay trước một tiện ích"
|
|
45
|
-
|
|
46
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret after a widget."
|
|
47
|
-
msgid "Move the caret to allow typing directly after a widget"
|
|
48
|
-
msgstr "Di chuyển dấu sót để cho phép nhập ngay sau một tiện ích"
|
|
49
|
-
|
|
50
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves selection from a nested editable area back to the parent widget."
|
|
51
|
-
msgid "Move focus from an editable area back to the parent widget"
|
|
52
|
-
msgstr "Di chuyển tiêu điểm từ vùng có thể chỉnh sửa trở lại tiện ích gốc"
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_CN\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
|
15
|
-
msgid "Widget toolbar"
|
|
16
|
-
msgstr "小部件工具栏"
|
|
17
|
-
|
|
18
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
|
19
|
-
msgid "Insert paragraph before block"
|
|
20
|
-
msgstr "在前面插入段落"
|
|
21
|
-
|
|
22
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
|
23
|
-
msgid "Insert paragraph after block"
|
|
24
|
-
msgstr "在后面插入段落"
|
|
25
|
-
|
|
26
|
-
msgctxt "Information to be read by screen reader about shortcuts to type around a widget."
|
|
27
|
-
msgid "Press Enter to type after or press Shift + Enter to type before the widget"
|
|
28
|
-
msgstr "按下“Enter”键,在小组件后输入;按下“Shift+Enter”键,在小组件前输入"
|
|
29
|
-
|
|
30
|
-
msgctxt "Accessibility help dialog section title for widget plugin keystrokes."
|
|
31
|
-
msgid "Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"
|
|
32
|
-
msgstr "当小组件被选中时(例如:图片、表格等)可以使用的按键"
|
|
33
|
-
|
|
34
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph after a widget."
|
|
35
|
-
msgid "Insert a new paragraph directly after a widget"
|
|
36
|
-
msgstr "直接在小组件之后插入新段落"
|
|
37
|
-
|
|
38
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph before a widget."
|
|
39
|
-
msgid "Insert a new paragraph directly before a widget"
|
|
40
|
-
msgstr "直接在小组件之前插入新段落"
|
|
41
|
-
|
|
42
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret before a widget."
|
|
43
|
-
msgid "Move the caret to allow typing directly before a widget"
|
|
44
|
-
msgstr "移动插入符,以允许在小组件之前直接输入文字"
|
|
45
|
-
|
|
46
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret after a widget."
|
|
47
|
-
msgid "Move the caret to allow typing directly after a widget"
|
|
48
|
-
msgstr "移动插入符,以允许在小组件之后直接输入文字"
|
|
49
|
-
|
|
50
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves selection from a nested editable area back to the parent widget."
|
|
51
|
-
msgid "Move focus from an editable area back to the parent widget"
|
|
52
|
-
msgstr "将焦点从可编辑区域移回父窗口小组件"
|
package/lang/translations/zh.po
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
2
|
-
#
|
|
3
|
-
# Want to contribute to this file? Submit your changes via a GitHub Pull Request.
|
|
4
|
-
#
|
|
5
|
-
# Check out the official contributor's guide:
|
|
6
|
-
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
7
|
-
#
|
|
8
|
-
msgid ""
|
|
9
|
-
msgstr ""
|
|
10
|
-
"Language: zh_TW\n"
|
|
11
|
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
|
12
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
|
13
|
-
|
|
14
|
-
msgctxt "The label used by assistive technologies describing a toolbar attached to a widget."
|
|
15
|
-
msgid "Widget toolbar"
|
|
16
|
-
msgstr "小工具"
|
|
17
|
-
|
|
18
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph before a block."
|
|
19
|
-
msgid "Insert paragraph before block"
|
|
20
|
-
msgstr "在這個區塊前面插入一個段落"
|
|
21
|
-
|
|
22
|
-
msgctxt "The title displayed when a mouse is over a button that inserts a paragraph after a block."
|
|
23
|
-
msgid "Insert paragraph after block"
|
|
24
|
-
msgstr "在這個區塊後面插入一個段落"
|
|
25
|
-
|
|
26
|
-
msgctxt "Information to be read by screen reader about shortcuts to type around a widget."
|
|
27
|
-
msgid "Press Enter to type after or press Shift + Enter to type before the widget"
|
|
28
|
-
msgstr "按下 Enter 在小工具後輸入,或按下 Shift + Enter 在小工具前輸入"
|
|
29
|
-
|
|
30
|
-
msgctxt "Accessibility help dialog section title for widget plugin keystrokes."
|
|
31
|
-
msgid "Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"
|
|
32
|
-
msgstr "小工具選取時可使用的按鍵(例如:圖片、表格等)"
|
|
33
|
-
|
|
34
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph after a widget."
|
|
35
|
-
msgid "Insert a new paragraph directly after a widget"
|
|
36
|
-
msgstr "在小工具後直接插入新段落"
|
|
37
|
-
|
|
38
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that inserts a paragraph before a widget."
|
|
39
|
-
msgid "Insert a new paragraph directly before a widget"
|
|
40
|
-
msgstr "在小工具前直接插入新段落"
|
|
41
|
-
|
|
42
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret before a widget."
|
|
43
|
-
msgid "Move the caret to allow typing directly before a widget"
|
|
44
|
-
msgstr "移動插入符號,以便在小工具前直接輸入"
|
|
45
|
-
|
|
46
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves the caret after a widget."
|
|
47
|
-
msgid "Move the caret to allow typing directly after a widget"
|
|
48
|
-
msgstr "移動插入符號,以便在小工具後直接輸入"
|
|
49
|
-
|
|
50
|
-
msgctxt "Accessibility help dialog entry explaining the meaning of the keystroke that moves selection from a nested editable area back to the parent widget."
|
|
51
|
-
msgid "Move focus from an editable area back to the parent widget"
|
|
52
|
-
msgstr "將焦點從可編輯區域移回上層小工具"
|
package/src/augmentation.js
DELETED
package/src/highlightstack.js
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module widget/highlightstack
|
|
7
|
-
*/
|
|
8
|
-
import { EmitterMixin } from '@ckeditor/ckeditor5-utils';
|
|
9
|
-
/**
|
|
10
|
-
* Class used to handle the correct order of highlights on elements.
|
|
11
|
-
*
|
|
12
|
-
* When different highlights are applied to same element the correct order should be preserved:
|
|
13
|
-
*
|
|
14
|
-
* * highlight with highest priority should be applied,
|
|
15
|
-
* * if two highlights have same priority - sort by CSS class provided in
|
|
16
|
-
* {@link module:engine/conversion/downcasthelpers~DowncastHighlightDescriptor}.
|
|
17
|
-
*
|
|
18
|
-
* This way, highlight will be applied with the same rules it is applied on texts.
|
|
19
|
-
*/
|
|
20
|
-
export class WidgetHighlightStack extends /* #__PURE__ */ EmitterMixin() {
|
|
21
|
-
_stack = [];
|
|
22
|
-
/**
|
|
23
|
-
* Adds highlight descriptor to the stack.
|
|
24
|
-
*
|
|
25
|
-
* @fires change:top
|
|
26
|
-
*/
|
|
27
|
-
add(descriptor, writer) {
|
|
28
|
-
const stack = this._stack;
|
|
29
|
-
// Save top descriptor and insert new one. If top is changed - fire event.
|
|
30
|
-
const oldTop = stack[0];
|
|
31
|
-
this._insertDescriptor(descriptor);
|
|
32
|
-
const newTop = stack[0];
|
|
33
|
-
// When new object is at the top and stores different information.
|
|
34
|
-
if (oldTop !== newTop && !compareDescriptors(oldTop, newTop)) {
|
|
35
|
-
this.fire('change:top', {
|
|
36
|
-
oldDescriptor: oldTop,
|
|
37
|
-
newDescriptor: newTop,
|
|
38
|
-
writer
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Removes highlight descriptor from the stack.
|
|
44
|
-
*
|
|
45
|
-
* @fires change:top
|
|
46
|
-
* @param id Id of the descriptor to remove.
|
|
47
|
-
*/
|
|
48
|
-
remove(id, writer) {
|
|
49
|
-
const stack = this._stack;
|
|
50
|
-
const oldTop = stack[0];
|
|
51
|
-
this._removeDescriptor(id);
|
|
52
|
-
const newTop = stack[0];
|
|
53
|
-
// When new object is at the top and stores different information.
|
|
54
|
-
if (oldTop !== newTop && !compareDescriptors(oldTop, newTop)) {
|
|
55
|
-
this.fire('change:top', {
|
|
56
|
-
oldDescriptor: oldTop,
|
|
57
|
-
newDescriptor: newTop,
|
|
58
|
-
writer
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Inserts a given descriptor in correct place in the stack. It also takes care about updating information
|
|
64
|
-
* when descriptor with same id is already present.
|
|
65
|
-
*/
|
|
66
|
-
_insertDescriptor(descriptor) {
|
|
67
|
-
const stack = this._stack;
|
|
68
|
-
const index = stack.findIndex(item => item.id === descriptor.id);
|
|
69
|
-
// Inserting exact same descriptor - do nothing.
|
|
70
|
-
if (compareDescriptors(descriptor, stack[index])) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
// If descriptor with same id but with different information is on the stack - remove it.
|
|
74
|
-
if (index > -1) {
|
|
75
|
-
stack.splice(index, 1);
|
|
76
|
-
}
|
|
77
|
-
// Find correct place to insert descriptor in the stack.
|
|
78
|
-
// It has different information (for example priority) so it must be re-inserted in correct place.
|
|
79
|
-
let i = 0;
|
|
80
|
-
while (stack[i] && shouldABeBeforeB(stack[i], descriptor)) {
|
|
81
|
-
i++;
|
|
82
|
-
}
|
|
83
|
-
stack.splice(i, 0, descriptor);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Removes descriptor with given id from the stack.
|
|
87
|
-
*
|
|
88
|
-
* @param id Descriptor's id.
|
|
89
|
-
*/
|
|
90
|
-
_removeDescriptor(id) {
|
|
91
|
-
const stack = this._stack;
|
|
92
|
-
const index = stack.findIndex(item => item.id === id);
|
|
93
|
-
// If descriptor with same id is on the list - remove it.
|
|
94
|
-
if (index > -1) {
|
|
95
|
-
stack.splice(index, 1);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Compares two descriptors by checking their priority and class list.
|
|
101
|
-
*
|
|
102
|
-
* @returns Returns true if both descriptors are defined and have same priority and classes.
|
|
103
|
-
*/
|
|
104
|
-
function compareDescriptors(a, b) {
|
|
105
|
-
return a && b && a.priority == b.priority && classesToString(a.classes) == classesToString(b.classes);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Checks whenever first descriptor should be placed in the stack before second one.
|
|
109
|
-
*/
|
|
110
|
-
function shouldABeBeforeB(a, b) {
|
|
111
|
-
if (a.priority > b.priority) {
|
|
112
|
-
return true;
|
|
113
|
-
}
|
|
114
|
-
else if (a.priority < b.priority) {
|
|
115
|
-
return false;
|
|
116
|
-
}
|
|
117
|
-
// When priorities are equal and names are different - use classes to compare.
|
|
118
|
-
return classesToString(a.classes) > classesToString(b.classes);
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Converts CSS classes passed with {@link module:engine/conversion/downcasthelpers~DowncastHighlightDescriptor} to
|
|
122
|
-
* sorted string.
|
|
123
|
-
*/
|
|
124
|
-
function classesToString(classes) {
|
|
125
|
-
return Array.isArray(classes) ? classes.sort().join(',') : classes;
|
|
126
|
-
}
|
package/src/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @module widget
|
|
7
|
-
*/
|
|
8
|
-
export { Widget } from './widget.js';
|
|
9
|
-
export { WidgetToolbarRepository } from './widgettoolbarrepository.js';
|
|
10
|
-
export { WidgetResize } from './widgetresize.js';
|
|
11
|
-
export { WidgetTypeAround } from './widgettypearound/widgettypearound.js';
|
|
12
|
-
export { WIDGET_CLASS_NAME, WIDGET_SELECTED_CLASS_NAME, isWidget, toWidget, setHighlightHandling, setLabel, getLabel, toWidgetEditable, findOptimalInsertionRange, viewToModelPositionOutsideModelElement, calculateResizeHostAncestorWidth, calculateResizeHostPercentageWidth } from './utils.js';
|
|
13
|
-
export { WidgetHighlightStack } from './highlightstack.js';
|
|
14
|
-
export { verticalWidgetNavigationHandler } from './verticalnavigation.js';
|
|
15
|
-
export { WidgetResizeState } from './widgetresize/resizerstate.js';
|
|
16
|
-
export { WidgetResizer } from './widgetresize/resizer.js';
|
|
17
|
-
export { SizeView as _WidgetSizeView } from './widgetresize/sizeview.js';
|
|
18
|
-
export { TYPE_AROUND_SELECTION_ATTRIBUTE as _WIDGET_TYPE_AROUND_SELECTION_ATTRIBUTE, getClosestTypeAroundDomButton as _getClosestWidgetTypeAroundDomButton, getTypeAroundButtonPosition as _getWidgetTypeAroundButtonPosition, getClosestWidgetViewElement as _getClosestWidgetViewElement, getTypeAroundFakeCaretPosition as _getWidgetTypeAroundFakeCaretPosition, isTypeAroundWidget } from './widgettypearound/utils.js';
|
|
19
|
-
import './augmentation.js';
|