@ckeditor/ckeditor5-ui 40.1.0 → 41.0.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/CHANGELOG.md +34 -34
- package/LICENSE.md +1 -1
- package/lang/contexts.json +3 -1
- package/lang/translations/ar.po +9 -1
- package/lang/translations/ast.po +9 -1
- package/lang/translations/az.po +9 -1
- package/lang/translations/bg.po +9 -1
- package/lang/translations/bn.po +9 -1
- package/lang/translations/ca.po +9 -1
- package/lang/translations/cs.po +9 -1
- package/lang/translations/da.po +9 -1
- package/lang/translations/de-ch.po +9 -1
- package/lang/translations/de.po +9 -1
- package/lang/translations/el.po +9 -1
- package/lang/translations/en-au.po +9 -1
- package/lang/translations/en-gb.po +9 -1
- package/lang/translations/en.po +9 -1
- package/lang/translations/eo.po +9 -1
- package/lang/translations/es.po +14 -6
- package/lang/translations/et.po +9 -1
- package/lang/translations/eu.po +9 -1
- package/lang/translations/fa.po +9 -1
- package/lang/translations/fi.po +9 -1
- package/lang/translations/fr.po +9 -1
- package/lang/translations/gl.po +12 -4
- package/lang/translations/he.po +9 -1
- package/lang/translations/hi.po +9 -1
- package/lang/translations/hr.po +9 -1
- package/lang/translations/hu.po +9 -1
- package/lang/translations/id.po +9 -1
- package/lang/translations/it.po +9 -1
- package/lang/translations/ja.po +9 -1
- package/lang/translations/km.po +9 -1
- package/lang/translations/kn.po +9 -1
- package/lang/translations/ko.po +9 -1
- package/lang/translations/ku.po +9 -1
- package/lang/translations/lt.po +9 -1
- package/lang/translations/lv.po +9 -1
- package/lang/translations/ms.po +9 -1
- package/lang/translations/nb.po +9 -1
- package/lang/translations/ne.po +9 -1
- package/lang/translations/nl.po +9 -1
- package/lang/translations/no.po +9 -1
- package/lang/translations/pl.po +9 -1
- package/lang/translations/pt-br.po +9 -1
- package/lang/translations/pt.po +9 -1
- package/lang/translations/ro.po +9 -1
- package/lang/translations/ru.po +9 -1
- package/lang/translations/sk.po +9 -1
- package/lang/translations/sl.po +9 -1
- package/lang/translations/sq.po +9 -1
- package/lang/translations/sr-latn.po +14 -6
- package/lang/translations/sr.po +9 -1
- package/lang/translations/sv.po +9 -1
- package/lang/translations/th.po +9 -1
- package/lang/translations/tk.po +9 -1
- package/lang/translations/tr.po +9 -1
- package/lang/translations/tt.po +9 -1
- package/lang/translations/ug.po +9 -1
- package/lang/translations/uk.po +9 -1
- package/lang/translations/ur.po +9 -1
- package/lang/translations/uz.po +9 -1
- package/lang/translations/vi.po +9 -1
- package/lang/translations/zh-cn.po +9 -1
- package/lang/translations/zh.po +9 -1
- package/package.json +4 -3
- package/src/arialiveannouncer.d.ts +14 -10
- package/src/arialiveannouncer.js +11 -8
- package/src/augmentation.d.ts +3 -2
- package/src/augmentation.js +1 -1
- package/src/autocomplete/autocompleteview.d.ts +4 -4
- package/src/autocomplete/autocompleteview.js +4 -3
- package/src/bindings/addkeyboardhandlingforgrid.d.ts +2 -2
- package/src/bindings/addkeyboardhandlingforgrid.js +1 -1
- package/src/bindings/clickoutsidehandler.d.ts +1 -1
- package/src/bindings/clickoutsidehandler.js +1 -1
- package/src/bindings/csstransitiondisablermixin.d.ts +2 -2
- package/src/bindings/csstransitiondisablermixin.js +1 -1
- package/src/bindings/draggableviewmixin.d.ts +46 -0
- package/src/bindings/draggableviewmixin.js +144 -0
- package/src/bindings/injectcsstransitiondisabler.d.ts +2 -2
- package/src/bindings/injectcsstransitiondisabler.js +1 -1
- package/src/bindings/preventdefault.d.ts +3 -3
- package/src/bindings/preventdefault.js +1 -1
- package/src/bindings/submithandler.d.ts +2 -2
- package/src/bindings/submithandler.js +1 -1
- package/src/button/button.d.ts +1 -1
- package/src/button/button.js +1 -1
- package/src/button/buttonlabel.d.ts +2 -2
- package/src/button/buttonlabel.js +1 -1
- package/src/button/buttonlabelview.d.ts +3 -3
- package/src/button/buttonlabelview.js +2 -2
- package/src/button/buttonview.d.ts +6 -6
- package/src/button/buttonview.js +4 -4
- package/src/button/switchbuttonview.d.ts +3 -3
- package/src/button/switchbuttonview.js +3 -3
- package/src/collapsible/collapsibleview.d.ts +70 -0
- package/src/collapsible/collapsibleview.js +95 -0
- package/src/colorgrid/colorgridview.d.ts +5 -5
- package/src/colorgrid/colorgridview.js +4 -4
- package/src/colorgrid/colortileview.d.ts +2 -2
- package/src/colorgrid/colortileview.js +2 -2
- package/src/colorgrid/utils.d.ts +1 -1
- package/src/colorgrid/utils.js +1 -1
- package/src/colorpicker/colorpickerview.d.ts +4 -4
- package/src/colorpicker/colorpickerview.js +5 -5
- package/src/colorpicker/utils.d.ts +1 -1
- package/src/colorpicker/utils.js +1 -1
- package/src/colorselector/colorgridsfragmentview.d.ts +9 -8
- package/src/colorselector/colorgridsfragmentview.js +10 -10
- package/src/colorselector/colorpickerfragmentview.d.ts +9 -8
- package/src/colorselector/colorpickerfragmentview.js +7 -8
- package/src/colorselector/colorselectorview.d.ts +9 -9
- package/src/colorselector/colorselectorview.js +6 -6
- package/src/colorselector/documentcolorcollection.d.ts +2 -2
- package/src/colorselector/documentcolorcollection.js +1 -1
- package/src/componentfactory.d.ts +2 -2
- package/src/componentfactory.js +1 -1
- package/src/dialog/dialog.d.ts +273 -0
- package/src/dialog/dialog.js +261 -0
- package/src/dialog/dialogactionsview.d.ts +69 -0
- package/src/dialog/dialogactionsview.js +98 -0
- package/src/dialog/dialogcontentview.d.ts +27 -0
- package/src/dialog/dialogcontentview.js +35 -0
- package/src/dialog/dialogview.d.ts +256 -0
- package/src/dialog/dialogview.js +466 -0
- package/src/dropdown/button/dropdownbutton.d.ts +3 -3
- package/src/dropdown/button/dropdownbutton.js +1 -1
- package/src/dropdown/button/dropdownbuttonview.d.ts +4 -4
- package/src/dropdown/button/dropdownbuttonview.js +3 -3
- package/src/dropdown/button/splitbuttonview.d.ts +8 -7
- package/src/dropdown/button/splitbuttonview.js +10 -8
- package/src/dropdown/dropdownpanelfocusable.d.ts +1 -1
- package/src/dropdown/dropdownpanelfocusable.js +1 -1
- package/src/dropdown/dropdownpanelview.d.ts +4 -4
- package/src/dropdown/dropdownpanelview.js +2 -2
- package/src/dropdown/dropdownview.d.ts +8 -8
- package/src/dropdown/dropdownview.js +5 -4
- package/src/dropdown/utils.d.ts +11 -11
- package/src/dropdown/utils.js +18 -18
- package/src/editableui/editableuiview.d.ts +3 -3
- package/src/editableui/editableuiview.js +2 -2
- package/src/editableui/inline/inlineeditableuiview.d.ts +4 -4
- package/src/editableui/inline/inlineeditableuiview.js +2 -2
- package/src/editorui/bodycollection.d.ts +3 -3
- package/src/editorui/bodycollection.js +3 -3
- package/src/editorui/boxed/boxededitoruiview.d.ts +3 -3
- package/src/editorui/boxed/boxededitoruiview.js +3 -3
- package/src/editorui/editorui.d.ts +7 -7
- package/src/editorui/editorui.js +5 -5
- package/src/editorui/editoruiview.d.ts +4 -4
- package/src/editorui/editoruiview.js +3 -3
- package/src/editorui/poweredby.d.ts +1 -1
- package/src/editorui/poweredby.js +4 -4
- package/src/focuscycler.d.ts +27 -8
- package/src/focuscycler.js +44 -15
- package/src/formheader/formheaderview.d.ts +4 -4
- package/src/formheader/formheaderview.js +3 -3
- package/src/highlightedtext/highlightedtextview.d.ts +2 -2
- package/src/highlightedtext/highlightedtextview.js +2 -2
- package/src/icon/iconview.d.ts +2 -2
- package/src/icon/iconview.js +4 -3
- package/src/iframe/iframeview.d.ts +2 -2
- package/src/iframe/iframeview.js +2 -2
- package/src/index.d.ts +67 -67
- package/src/index.js +63 -64
- package/src/input/inputbase.d.ts +2 -2
- package/src/input/inputbase.js +2 -2
- package/src/input/inputview.d.ts +2 -2
- package/src/input/inputview.js +2 -2
- package/src/inputnumber/inputnumberview.d.ts +2 -2
- package/src/inputnumber/inputnumberview.js +2 -2
- package/src/inputtext/inputtextview.d.ts +2 -2
- package/src/inputtext/inputtextview.js +2 -2
- package/src/label/labelview.d.ts +2 -2
- package/src/label/labelview.js +2 -2
- package/src/labeledfield/labeledfieldview.d.ts +5 -5
- package/src/labeledfield/labeledfieldview.js +3 -3
- package/src/labeledfield/utils.d.ts +14 -14
- package/src/labeledfield/utils.js +13 -13
- package/src/labeledinput/labeledinputview.d.ts +4 -4
- package/src/labeledinput/labeledinputview.js +3 -3
- package/src/list/listitemgroupview.d.ts +6 -6
- package/src/list/listitemgroupview.js +11 -7
- package/src/list/listitemview.d.ts +4 -4
- package/src/list/listitemview.js +2 -2
- package/src/list/listseparatorview.d.ts +2 -2
- package/src/list/listseparatorview.js +2 -2
- package/src/list/listview.d.ts +10 -8
- package/src/list/listview.js +7 -6
- package/src/model.d.ts +1 -1
- package/src/model.js +1 -1
- package/src/notification/notification.d.ts +1 -1
- package/src/notification/notification.js +1 -1
- package/src/panel/balloon/balloonpanelview.d.ts +4 -4
- package/src/panel/balloon/balloonpanelview.js +5 -4
- package/src/panel/balloon/contextualballoon.d.ts +5 -5
- package/src/panel/balloon/contextualballoon.js +7 -9
- package/src/panel/sticky/stickypanelview.d.ts +9 -9
- package/src/panel/sticky/stickypanelview.js +7 -7
- package/src/search/filteredview.d.ts +2 -2
- package/src/search/filteredview.js +1 -1
- package/src/search/searchinfoview.d.ts +3 -3
- package/src/search/searchinfoview.js +2 -2
- package/src/search/searchresultsview.d.ts +5 -5
- package/src/search/searchresultsview.js +3 -3
- package/src/search/text/searchtextqueryview.d.ts +5 -5
- package/src/search/text/searchtextqueryview.js +5 -5
- package/src/search/text/searchtextview.d.ts +12 -12
- package/src/search/text/searchtextview.js +6 -6
- package/src/spinner/spinnerview.d.ts +2 -2
- package/src/spinner/spinnerview.js +2 -2
- package/src/template.d.ts +3 -3
- package/src/template.js +3 -3
- package/src/textarea/textareaview.d.ts +18 -2
- package/src/textarea/textareaview.js +46 -6
- package/src/toolbar/balloon/balloontoolbar.d.ts +3 -3
- package/src/toolbar/balloon/balloontoolbar.js +5 -5
- package/src/toolbar/block/blockbuttonview.d.ts +2 -2
- package/src/toolbar/block/blockbuttonview.js +2 -2
- package/src/toolbar/block/blocktoolbar.d.ts +4 -4
- package/src/toolbar/block/blocktoolbar.js +6 -6
- package/src/toolbar/normalizetoolbarconfig.d.ts +1 -1
- package/src/toolbar/normalizetoolbarconfig.js +1 -1
- package/src/toolbar/toolbarlinebreakview.d.ts +2 -2
- package/src/toolbar/toolbarlinebreakview.js +2 -2
- package/src/toolbar/toolbarseparatorview.d.ts +2 -2
- package/src/toolbar/toolbarseparatorview.js +2 -2
- package/src/toolbar/toolbarview.d.ts +7 -6
- package/src/toolbar/toolbarview.js +17 -15
- package/src/tooltipmanager.d.ts +3 -3
- package/src/tooltipmanager.js +5 -4
- package/src/view.d.ts +3 -3
- package/src/view.js +3 -3
- package/src/viewcollection.d.ts +2 -2
- package/src/viewcollection.js +1 -1
- package/theme/components/arialiveannouncer/arialiveannouncer.css +1 -1
- package/theme/components/autocomplete/autocomplete.css +2 -2
- package/theme/components/button/button.css +1 -1
- package/theme/components/button/switchbutton.css +1 -1
- package/theme/components/collapsible/collapsible.css +10 -0
- package/theme/components/colorgrid/colorgrid.css +1 -1
- package/theme/components/colorpicker/colorpicker.css +1 -1
- package/theme/components/colorselector/colorselector.css +1 -1
- package/theme/components/dialog/dialog.css +39 -0
- package/theme/components/dialog/dialogactions.css +11 -0
- package/theme/components/dropdown/dropdown.css +3 -3
- package/theme/components/dropdown/listdropdown.css +1 -1
- package/theme/components/dropdown/splitbutton.css +1 -1
- package/theme/components/dropdown/toolbardropdown.css +1 -1
- package/theme/components/editorui/editorui.css +1 -1
- package/theme/components/formheader/formheader.css +1 -1
- package/theme/components/highlightedtext/highlightedtext.css +1 -1
- package/theme/components/icon/icon.css +1 -1
- package/theme/components/input/input.css +1 -1
- package/theme/components/label/label.css +1 -1
- package/theme/components/labeledfield/labeledfieldview.css +1 -1
- package/theme/components/labeledinput/labeledinput.css +1 -1
- package/theme/components/list/list.css +1 -1
- package/theme/components/panel/balloonpanel.css +2 -2
- package/theme/components/panel/balloonrotator.css +1 -1
- package/theme/components/panel/fakepanel.css +2 -2
- package/theme/components/panel/stickypanel.css +2 -2
- package/theme/components/responsive-form/responsiveform.css +1 -1
- package/theme/components/search/search.css +1 -1
- package/theme/components/spinner/spinner.css +1 -1
- package/theme/components/textarea/textarea.css +1 -1
- package/theme/components/toolbar/blocktoolbar.css +1 -1
- package/theme/components/toolbar/toolbar.css +1 -1
- package/theme/components/tooltip/tooltip.css +2 -2
- package/theme/globals/_hidden.css +1 -1
- package/theme/globals/_poweredby.css +2 -2
- package/theme/globals/_reset.css +1 -1
- package/theme/globals/_transition.css +1 -1
- package/theme/globals/_zindex.css +3 -2
- package/theme/globals/globals.css +1 -1
- package/theme/mixins/_dir.css +1 -1
- package/theme/mixins/_rwd.css +1 -1
- package/theme/mixins/_unselectable.css +1 -1
- package/theme/icons/color-palette.svg +0 -1
- package/theme/icons/next-arrow.svg +0 -1
- package/theme/icons/previous-arrow.svg +0 -1
package/src/focuscycler.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -94,7 +94,7 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
94
94
|
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
95
95
|
*/
|
|
96
96
|
get first() {
|
|
97
|
-
return (this.focusables.find(
|
|
97
|
+
return (this.focusables.find(isDomFocusable) || null);
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* Returns the last focusable view in {@link #focusables}.
|
|
@@ -103,7 +103,7 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
103
103
|
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
104
104
|
*/
|
|
105
105
|
get last() {
|
|
106
|
-
return (this.focusables.filter(
|
|
106
|
+
return (this.focusables.filter(isDomFocusable).slice(-1)[0] || null);
|
|
107
107
|
}
|
|
108
108
|
/**
|
|
109
109
|
* Returns the next focusable view in {@link #focusables} based on {@link #current}.
|
|
@@ -112,7 +112,7 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
112
112
|
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
113
113
|
*/
|
|
114
114
|
get next() {
|
|
115
|
-
return this.
|
|
115
|
+
return this._getDomFocusableItem(1);
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
118
|
* Returns the previous focusable view in {@link #focusables} based on {@link #current}.
|
|
@@ -121,7 +121,7 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
121
121
|
* **Note**: Hidden views (e.g. with `display: none`) are ignored.
|
|
122
122
|
*/
|
|
123
123
|
get previous() {
|
|
124
|
-
return this.
|
|
124
|
+
return this._getDomFocusableItem(-1);
|
|
125
125
|
}
|
|
126
126
|
/**
|
|
127
127
|
* An index of the view in the {@link #focusables} which is focused according
|
|
@@ -165,7 +165,12 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
165
165
|
*/
|
|
166
166
|
focusNext() {
|
|
167
167
|
const next = this.next;
|
|
168
|
+
// If there's only one focusable item, we need to let the outside world know
|
|
169
|
+
// that the next cycle is about to happen. This may be useful
|
|
170
|
+
// e.g. if you want to move the focus to the parent focus cycler.
|
|
171
|
+
// Note that the focus is not actually moved in this case.
|
|
168
172
|
if (next && this.focusables.getIndex(next) === this.current) {
|
|
173
|
+
this.fire('forwardCycle');
|
|
169
174
|
return;
|
|
170
175
|
}
|
|
171
176
|
if (next === this.first) {
|
|
@@ -183,6 +188,7 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
183
188
|
focusPrevious() {
|
|
184
189
|
const previous = this.previous;
|
|
185
190
|
if (previous && this.focusables.getIndex(previous) === this.current) {
|
|
191
|
+
this.fire('backwardCycle');
|
|
186
192
|
return;
|
|
187
193
|
}
|
|
188
194
|
if (previous === this.last) {
|
|
@@ -200,7 +206,11 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
200
206
|
* @returns
|
|
201
207
|
*/
|
|
202
208
|
_focus(view, direction) {
|
|
203
|
-
if
|
|
209
|
+
// Don't fire focus events if the view is already focused.
|
|
210
|
+
// Such attempt may occur when cycling with only one focusable item:
|
|
211
|
+
// even though `focusNext()` method returns without changing focus,
|
|
212
|
+
// the `forwardCycle` event is fired, triggering the `focusFirst()` method.
|
|
213
|
+
if (view && this.focusTracker.focusedElement !== view.element) {
|
|
204
214
|
view.focus(direction);
|
|
205
215
|
}
|
|
206
216
|
}
|
|
@@ -210,36 +220,55 @@ export default class FocusCycler extends EmitterMixin() {
|
|
|
210
220
|
*
|
|
211
221
|
* @param step Either `1` for checking forward from {@link #current} or `-1` for checking backwards.
|
|
212
222
|
*/
|
|
213
|
-
|
|
223
|
+
_getDomFocusableItem(step) {
|
|
214
224
|
// Cache for speed.
|
|
215
|
-
const current = this.current;
|
|
216
225
|
const collectionLength = this.focusables.length;
|
|
217
226
|
if (!collectionLength) {
|
|
218
227
|
return null;
|
|
219
228
|
}
|
|
229
|
+
const current = this.current;
|
|
220
230
|
// Start from the beginning if no view is focused.
|
|
221
231
|
// https://github.com/ckeditor/ckeditor5-ui/issues/206
|
|
222
232
|
if (current === null) {
|
|
223
233
|
return this[step === 1 ? 'first' : 'last'];
|
|
224
234
|
}
|
|
235
|
+
// Note: If current is the only focusable view, it will also be returned for the given step.
|
|
236
|
+
let focusableItem = this.focusables.get(current);
|
|
225
237
|
// Cycle in both directions.
|
|
226
238
|
let index = (current + collectionLength + step) % collectionLength;
|
|
227
239
|
do {
|
|
228
|
-
const
|
|
229
|
-
if (
|
|
230
|
-
|
|
240
|
+
const focusableItemCandidate = this.focusables.get(index);
|
|
241
|
+
if (isDomFocusable(focusableItemCandidate)) {
|
|
242
|
+
focusableItem = focusableItemCandidate;
|
|
243
|
+
break;
|
|
231
244
|
}
|
|
232
245
|
// Cycle in both directions.
|
|
233
246
|
index = (index + collectionLength + step) % collectionLength;
|
|
234
247
|
} while (index !== current);
|
|
235
|
-
return
|
|
248
|
+
return focusableItem;
|
|
236
249
|
}
|
|
237
250
|
}
|
|
238
251
|
/**
|
|
239
|
-
* Checks whether a view is
|
|
252
|
+
* Checks whether a view can be focused (has `focus()` method and is visible).
|
|
253
|
+
*
|
|
254
|
+
* @param view A view to be checked.
|
|
255
|
+
*/
|
|
256
|
+
function isDomFocusable(view) {
|
|
257
|
+
return isFocusable(view) && isVisible(view.element);
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Checks whether a view is {@link ~FocusableView}.
|
|
261
|
+
*
|
|
262
|
+
* @param view A view to be checked.
|
|
263
|
+
*/
|
|
264
|
+
export function isFocusable(view) {
|
|
265
|
+
return !!('focus' in view && typeof view.focus == 'function');
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* Checks whether a view is an instance of {@link ~ViewWithFocusCycler}.
|
|
240
269
|
*
|
|
241
270
|
* @param view A view to be checked.
|
|
242
271
|
*/
|
|
243
|
-
function
|
|
244
|
-
return
|
|
272
|
+
export function isViewWithFocusCycler(view) {
|
|
273
|
+
return isFocusable(view) && 'focusCycler' in view && view.focusCycler instanceof FocusCycler;
|
|
245
274
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/formheader/formheaderview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
9
|
-
import type ViewCollection from '../viewcollection';
|
|
10
|
-
import IconView from '../icon/iconview';
|
|
8
|
+
import View from '../view.js';
|
|
9
|
+
import type ViewCollection from '../viewcollection.js';
|
|
10
|
+
import IconView from '../icon/iconview.js';
|
|
11
11
|
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
12
12
|
import '../../theme/components/formheader/formheader.css';
|
|
13
13
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/formheader/formheaderview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
9
|
-
import IconView from '../icon/iconview';
|
|
8
|
+
import View from '../view.js';
|
|
9
|
+
import IconView from '../icon/iconview.js';
|
|
10
10
|
import '../../theme/components/formheader/formheader.css';
|
|
11
11
|
/**
|
|
12
12
|
* The class component representing a form header view. It should be used in more advanced forms to
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/highlightedtext/highlightedtextview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import '../../theme/components/highlightedtext/highlightedtext.css';
|
|
10
10
|
/**
|
|
11
11
|
* A class representing a view that displays a text which subset can be highlighted using the
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/highlightedtext/highlightedtextview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import { escape } from 'lodash-es';
|
|
10
10
|
import '../../theme/components/highlightedtext/highlightedtext.css';
|
|
11
11
|
/**
|
package/src/icon/iconview.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/icon/iconview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import '../../theme/components/icon/icon.css';
|
|
10
10
|
/**
|
|
11
11
|
* The icon view class.
|
package/src/icon/iconview.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/* global DOMParser */
|
|
6
6
|
/**
|
|
7
7
|
* @module ui/icon/iconview
|
|
8
8
|
*/
|
|
9
|
-
import View from '../view';
|
|
9
|
+
import View from '../view.js';
|
|
10
10
|
import '../../theme/components/icon/icon.css';
|
|
11
11
|
/**
|
|
12
12
|
* The icon view class.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
class IconView extends View {
|
|
15
15
|
/**
|
|
16
16
|
* @inheritDoc
|
|
17
17
|
*/
|
|
@@ -112,3 +112,4 @@ IconView.presentationalAttributeNames = [
|
|
|
112
112
|
'text-anchor', 'text-decoration', 'text-overflow', 'text-rendering', 'transform', 'unicode-bidi', 'vector-effect',
|
|
113
113
|
'visibility', 'white-space', 'word-spacing', 'writing-mode'
|
|
114
114
|
];
|
|
115
|
+
export default IconView;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/iframe/iframeview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import type { Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* The iframe view class.
|
package/src/iframe/iframeview.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/iframe/iframeview
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
/**
|
|
10
10
|
* The iframe view class.
|
|
11
11
|
*
|
package/src/index.d.ts
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui
|
|
7
7
|
*/
|
|
8
|
-
export { default as clickOutsideHandler } from './bindings/clickoutsidehandler';
|
|
9
|
-
export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler';
|
|
10
|
-
export { default as CssTransitionDisablerMixin, type ViewWithCssTransitionDisabler } from './bindings/csstransitiondisablermixin';
|
|
11
|
-
export { default as submitHandler } from './bindings/submithandler';
|
|
12
|
-
export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid';
|
|
13
|
-
export { default as BodyCollection } from './editorui/bodycollection';
|
|
14
|
-
export { type ButtonExecuteEvent } from './button/button';
|
|
15
|
-
export {
|
|
16
|
-
export { default as ButtonView } from './button/buttonview';
|
|
17
|
-
export { default as ButtonLabelView } from './button/buttonlabelview';
|
|
18
|
-
export { default as SwitchButtonView } from './button/switchbuttonview';
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export { default as
|
|
22
|
-
export { default as
|
|
23
|
-
export
|
|
24
|
-
export {
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export { default as
|
|
28
|
-
export { default as
|
|
29
|
-
export { default as
|
|
30
|
-
export
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as
|
|
37
|
-
export { default as
|
|
38
|
-
export { default as
|
|
39
|
-
export { default as
|
|
40
|
-
export { default as
|
|
41
|
-
export { default as
|
|
42
|
-
export { default as
|
|
43
|
-
export { default as
|
|
44
|
-
export {
|
|
45
|
-
export
|
|
46
|
-
export { default as
|
|
47
|
-
export { default as
|
|
48
|
-
export
|
|
49
|
-
export { default as
|
|
50
|
-
export { default as
|
|
51
|
-
export { default as
|
|
52
|
-
export { default as
|
|
53
|
-
export { default as
|
|
54
|
-
export { default as
|
|
55
|
-
export { default as
|
|
56
|
-
export { default as
|
|
57
|
-
export { default as
|
|
58
|
-
export { default as
|
|
59
|
-
export { default as
|
|
60
|
-
export { default as
|
|
61
|
-
export { default as
|
|
62
|
-
export { default as
|
|
63
|
-
export { default as
|
|
64
|
-
export { default as
|
|
65
|
-
export { default as
|
|
66
|
-
export { default as
|
|
67
|
-
export { default as
|
|
68
|
-
export { default as
|
|
69
|
-
export { default as
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
};
|
|
73
|
-
import './augmentation';
|
|
8
|
+
export { default as clickOutsideHandler } from './bindings/clickoutsidehandler.js';
|
|
9
|
+
export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler.js';
|
|
10
|
+
export { default as CssTransitionDisablerMixin, type ViewWithCssTransitionDisabler } from './bindings/csstransitiondisablermixin.js';
|
|
11
|
+
export { default as submitHandler } from './bindings/submithandler.js';
|
|
12
|
+
export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid.js';
|
|
13
|
+
export { default as BodyCollection } from './editorui/bodycollection.js';
|
|
14
|
+
export { type ButtonExecuteEvent } from './button/button.js';
|
|
15
|
+
export type { default as ButtonLabel } from './button/buttonlabel.js';
|
|
16
|
+
export { default as ButtonView } from './button/buttonview.js';
|
|
17
|
+
export { default as ButtonLabelView } from './button/buttonlabelview.js';
|
|
18
|
+
export { default as SwitchButtonView } from './button/switchbuttonview.js';
|
|
19
|
+
export { default as CollapsibleView } from './collapsible/collapsibleview.js';
|
|
20
|
+
export * from './colorgrid/utils.js';
|
|
21
|
+
export { default as ColorGridView, type ColorDefinition } from './colorgrid/colorgridview.js';
|
|
22
|
+
export { default as ColorTileView } from './colorgrid/colortileview.js';
|
|
23
|
+
export { default as ColorPickerView } from './colorpicker/colorpickerview.js';
|
|
24
|
+
export type { ColorPickerConfig, ColorPickerViewConfig, ColorPickerOutputFormat } from './colorpicker/utils.js';
|
|
25
|
+
export { default as ColorSelectorView, type ColorSelectorExecuteEvent, type ColorSelectorColorPickerCancelEvent, type ColorSelectorColorPickerShowEvent } from './colorselector/colorselectorview.js';
|
|
26
|
+
export { default as ComponentFactory } from './componentfactory.js';
|
|
27
|
+
export { default as Dialog } from './dialog/dialog.js';
|
|
28
|
+
export { default as DialogView, DialogViewPosition, type DialogViewMoveToEvent } from './dialog/dialogview.js';
|
|
29
|
+
export { default as DropdownView } from './dropdown/dropdownview.js';
|
|
30
|
+
export { default as DropdownPanelView } from './dropdown/dropdownpanelview.js';
|
|
31
|
+
export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview.js';
|
|
32
|
+
export { default as SplitButtonView } from './dropdown/button/splitbuttonview.js';
|
|
33
|
+
export * from './dropdown/utils.js';
|
|
34
|
+
export { default as EditorUI, type EditorUIReadyEvent, type EditorUIUpdateEvent } from './editorui/editorui.js';
|
|
35
|
+
export { default as EditorUIView } from './editorui/editoruiview.js';
|
|
36
|
+
export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview.js';
|
|
37
|
+
export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview.js';
|
|
38
|
+
export { default as FormHeaderView } from './formheader/formheaderview.js';
|
|
39
|
+
export { default as FocusCycler, type FocusableView, type ViewWithFocusCycler, type FocusCyclerForwardCycleEvent, type FocusCyclerBackwardCycleEvent, isViewWithFocusCycler, isFocusable } from './focuscycler.js';
|
|
40
|
+
export { default as IconView } from './icon/iconview.js';
|
|
41
|
+
export { default as InputView } from './input/inputview.js';
|
|
42
|
+
export { default as InputTextView } from './inputtext/inputtextview.js';
|
|
43
|
+
export { default as InputNumberView } from './inputnumber/inputnumberview.js';
|
|
44
|
+
export { default as TextareaView, type TextareaViewUpdateEvent } from './textarea/textareaview.js';
|
|
45
|
+
export { default as IframeView } from './iframe/iframeview.js';
|
|
46
|
+
export { default as LabelView } from './label/labelview.js';
|
|
47
|
+
export { type LabeledFieldViewCreator, default as LabeledFieldView } from './labeledfield/labeledfieldview.js';
|
|
48
|
+
export * from './labeledfield/utils.js';
|
|
49
|
+
export { default as ListItemGroupView } from './list/listitemgroupview.js';
|
|
50
|
+
export { default as ListItemView } from './list/listitemview.js';
|
|
51
|
+
export { default as ListView } from './list/listview.js';
|
|
52
|
+
export { default as Notification } from './notification/notification.js';
|
|
53
|
+
export { default as ViewModel } from './model.js';
|
|
54
|
+
export { default as BalloonPanelView } from './panel/balloon/balloonpanelview.js';
|
|
55
|
+
export { default as ContextualBalloon } from './panel/balloon/contextualballoon.js';
|
|
56
|
+
export { default as StickyPanelView } from './panel/sticky/stickypanelview.js';
|
|
57
|
+
export { default as AutocompleteView, type AutocompleteViewConfig, type AutocompleteResultsView } from './autocomplete/autocompleteview.js';
|
|
58
|
+
export { default as SearchTextView, type SearchTextViewSearchEvent, type SearchTextViewConfig } from './search/text/searchtextview.js';
|
|
59
|
+
export { default as SearchInfoView } from './search/searchinfoview.js';
|
|
60
|
+
export { default as FilteredView, type FilteredViewExecuteEvent } from './search/filteredview.js';
|
|
61
|
+
export { default as HighlightedTextView } from './highlightedtext/highlightedtextview.js';
|
|
62
|
+
export { default as TooltipManager } from './tooltipmanager.js';
|
|
63
|
+
export { default as Template, type TemplateDefinition } from './template.js';
|
|
64
|
+
export { default as SpinnerView } from './spinner/spinnerview.js';
|
|
65
|
+
export { default as ToolbarView } from './toolbar/toolbarview.js';
|
|
66
|
+
export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview.js';
|
|
67
|
+
export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview.js';
|
|
68
|
+
export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig.js';
|
|
69
|
+
export { default as BalloonToolbar, type BalloonToolbarShowEvent } from './toolbar/balloon/balloontoolbar.js';
|
|
70
|
+
export { default as BlockToolbar } from './toolbar/block/blocktoolbar.js';
|
|
71
|
+
export { default as View, type UIViewRenderEvent } from './view.js';
|
|
72
|
+
export { default as ViewCollection } from './viewcollection.js';
|
|
73
|
+
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -1,70 +1,69 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui
|
|
7
7
|
*/
|
|
8
|
-
export { default as clickOutsideHandler } from './bindings/clickoutsidehandler';
|
|
9
|
-
export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler';
|
|
10
|
-
export { default as CssTransitionDisablerMixin } from './bindings/csstransitiondisablermixin';
|
|
11
|
-
export { default as submitHandler } from './bindings/submithandler';
|
|
12
|
-
export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid';
|
|
13
|
-
export { default as BodyCollection } from './editorui/bodycollection';
|
|
14
|
-
export { default as ButtonView } from './button/buttonview';
|
|
15
|
-
export { default as ButtonLabelView } from './button/buttonlabelview';
|
|
16
|
-
export { default as SwitchButtonView } from './button/switchbuttonview';
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
22
|
-
export { default as
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as
|
|
26
|
-
export { default as
|
|
27
|
-
export
|
|
28
|
-
export { default as
|
|
29
|
-
export { default as
|
|
30
|
-
export
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as
|
|
37
|
-
export { default as
|
|
38
|
-
export { default as
|
|
39
|
-
export { default as
|
|
40
|
-
export { default as
|
|
41
|
-
export { default as
|
|
42
|
-
export
|
|
43
|
-
export { default as
|
|
44
|
-
export { default as
|
|
45
|
-
export
|
|
46
|
-
export { default as
|
|
47
|
-
export { default as
|
|
48
|
-
export { default as
|
|
49
|
-
export { default as
|
|
50
|
-
export { default as
|
|
51
|
-
export { default as
|
|
52
|
-
export { default as
|
|
53
|
-
export { default as
|
|
54
|
-
export { default as
|
|
55
|
-
export { default as
|
|
56
|
-
export { default as
|
|
57
|
-
export { default as
|
|
58
|
-
export { default as
|
|
59
|
-
export { default as
|
|
60
|
-
export { default as
|
|
61
|
-
export { default as
|
|
62
|
-
export { default as
|
|
63
|
-
export { default as
|
|
64
|
-
export { default as
|
|
65
|
-
export { default as
|
|
66
|
-
|
|
67
|
-
export
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
import './augmentation';
|
|
8
|
+
export { default as clickOutsideHandler } from './bindings/clickoutsidehandler.js';
|
|
9
|
+
export { default as injectCssTransitionDisabler } from './bindings/injectcsstransitiondisabler.js';
|
|
10
|
+
export { default as CssTransitionDisablerMixin } from './bindings/csstransitiondisablermixin.js';
|
|
11
|
+
export { default as submitHandler } from './bindings/submithandler.js';
|
|
12
|
+
export { default as addKeyboardHandlingForGrid } from './bindings/addkeyboardhandlingforgrid.js';
|
|
13
|
+
export { default as BodyCollection } from './editorui/bodycollection.js';
|
|
14
|
+
export { default as ButtonView } from './button/buttonview.js';
|
|
15
|
+
export { default as ButtonLabelView } from './button/buttonlabelview.js';
|
|
16
|
+
export { default as SwitchButtonView } from './button/switchbuttonview.js';
|
|
17
|
+
export { default as CollapsibleView } from './collapsible/collapsibleview.js';
|
|
18
|
+
export * from './colorgrid/utils.js';
|
|
19
|
+
export { default as ColorGridView } from './colorgrid/colorgridview.js';
|
|
20
|
+
export { default as ColorTileView } from './colorgrid/colortileview.js';
|
|
21
|
+
export { default as ColorPickerView } from './colorpicker/colorpickerview.js';
|
|
22
|
+
export { default as ColorSelectorView } from './colorselector/colorselectorview.js';
|
|
23
|
+
export { default as ComponentFactory } from './componentfactory.js';
|
|
24
|
+
export { default as Dialog } from './dialog/dialog.js';
|
|
25
|
+
export { default as DialogView, DialogViewPosition } from './dialog/dialogview.js';
|
|
26
|
+
export { default as DropdownView } from './dropdown/dropdownview.js';
|
|
27
|
+
export { default as DropdownPanelView } from './dropdown/dropdownpanelview.js';
|
|
28
|
+
export { default as DropdownButtonView } from './dropdown/button/dropdownbuttonview.js';
|
|
29
|
+
export { default as SplitButtonView } from './dropdown/button/splitbuttonview.js';
|
|
30
|
+
export * from './dropdown/utils.js';
|
|
31
|
+
export { default as EditorUI } from './editorui/editorui.js';
|
|
32
|
+
export { default as EditorUIView } from './editorui/editoruiview.js';
|
|
33
|
+
export { default as BoxedEditorUIView } from './editorui/boxed/boxededitoruiview.js';
|
|
34
|
+
export { default as InlineEditableUIView } from './editableui/inline/inlineeditableuiview.js';
|
|
35
|
+
export { default as FormHeaderView } from './formheader/formheaderview.js';
|
|
36
|
+
export { default as FocusCycler, isViewWithFocusCycler, isFocusable } from './focuscycler.js';
|
|
37
|
+
export { default as IconView } from './icon/iconview.js';
|
|
38
|
+
export { default as InputView } from './input/inputview.js';
|
|
39
|
+
export { default as InputTextView } from './inputtext/inputtextview.js';
|
|
40
|
+
export { default as InputNumberView } from './inputnumber/inputnumberview.js';
|
|
41
|
+
export { default as TextareaView } from './textarea/textareaview.js';
|
|
42
|
+
export { default as IframeView } from './iframe/iframeview.js';
|
|
43
|
+
export { default as LabelView } from './label/labelview.js';
|
|
44
|
+
export { default as LabeledFieldView } from './labeledfield/labeledfieldview.js';
|
|
45
|
+
export * from './labeledfield/utils.js';
|
|
46
|
+
export { default as ListItemGroupView } from './list/listitemgroupview.js';
|
|
47
|
+
export { default as ListItemView } from './list/listitemview.js';
|
|
48
|
+
export { default as ListView } from './list/listview.js';
|
|
49
|
+
export { default as Notification } from './notification/notification.js';
|
|
50
|
+
export { default as ViewModel } from './model.js';
|
|
51
|
+
export { default as BalloonPanelView } from './panel/balloon/balloonpanelview.js';
|
|
52
|
+
export { default as ContextualBalloon } from './panel/balloon/contextualballoon.js';
|
|
53
|
+
export { default as StickyPanelView } from './panel/sticky/stickypanelview.js';
|
|
54
|
+
export { default as AutocompleteView } from './autocomplete/autocompleteview.js';
|
|
55
|
+
export { default as SearchTextView } from './search/text/searchtextview.js';
|
|
56
|
+
export { default as SearchInfoView } from './search/searchinfoview.js';
|
|
57
|
+
export { default as HighlightedTextView } from './highlightedtext/highlightedtextview.js';
|
|
58
|
+
export { default as TooltipManager } from './tooltipmanager.js';
|
|
59
|
+
export { default as Template } from './template.js';
|
|
60
|
+
export { default as SpinnerView } from './spinner/spinnerview.js';
|
|
61
|
+
export { default as ToolbarView } from './toolbar/toolbarview.js';
|
|
62
|
+
export { default as ToolbarLineBreakView } from './toolbar/toolbarlinebreakview.js';
|
|
63
|
+
export { default as ToolbarSeparatorView } from './toolbar/toolbarseparatorview.js';
|
|
64
|
+
export { default as normalizeToolbarConfig } from './toolbar/normalizetoolbarconfig.js';
|
|
65
|
+
export { default as BalloonToolbar } from './toolbar/balloon/balloontoolbar.js';
|
|
66
|
+
export { default as BlockToolbar } from './toolbar/block/blocktoolbar.js';
|
|
67
|
+
export { default as View } from './view.js';
|
|
68
|
+
export { default as ViewCollection } from './viewcollection.js';
|
|
69
|
+
import './augmentation.js';
|
package/src/input/inputbase.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/input/inputbase
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import { FocusTracker, type Locale } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* The base input view class.
|
package/src/input/inputbase.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/input/inputbase
|
|
7
7
|
*/
|
|
8
|
-
import View from '../view';
|
|
8
|
+
import View from '../view.js';
|
|
9
9
|
import { FocusTracker } from '@ckeditor/ckeditor5-utils';
|
|
10
10
|
/**
|
|
11
11
|
* The base input view class.
|
package/src/input/inputview.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Copyright (c) 2003-
|
|
2
|
+
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module ui/input/inputview
|
|
7
7
|
*/
|
|
8
8
|
import { type Locale } from '@ckeditor/ckeditor5-utils';
|
|
9
|
-
import InputBase from './inputbase';
|
|
9
|
+
import InputBase from './inputbase.js';
|
|
10
10
|
import '../../theme/components/input/input.css';
|
|
11
11
|
/**
|
|
12
12
|
* The input view class.
|