fixing error

This commit is contained in:
hanif salafi 2025-07-21 15:36:50 +07:00
parent 47c2fc55df
commit 09a27f3807
329 changed files with 13393 additions and 6187 deletions

10565
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,6 @@
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^7.0.0",
"@dnd-kit/sortable": "^8.0.0",
"@dschoon/react-waves": "^4.0.3",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@fullcalendar/core": "^6.1.15",

View File

@ -2,7 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then

View File

@ -2,7 +2,11 @@
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
export declare const DEFAULT_GROUP_ID: "common";
/**
* A common namespace for various accessibility features of the editor.

View File

@ -6,7 +6,7 @@
* @module core/command
*/
import { type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
declare const Command_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Command from '@ckeditor/ckeditor5-core/src/command.js';
import type Command from './command.js';
/**
* Collection of commands. Its instance is available in {@link module:core/editor/editor~Editor#commands `editor.commands`}.
*/

View File

@ -6,10 +6,10 @@
* @module core/context
*/
import { Config, Collection, Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { LoadedPlugins, PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import PluginCollection from './plugincollection.js';
import type Editor from './editor/editor.js';
import type { LoadedPlugins, PluginConstructor } from './plugin.js';
import type { EditorConfig } from './editor/editorconfig.js';
/**
* Provides a common, higher-level environment for solutions that use multiple {@link module:core/editor/editor~Editor editors}
* or plugins that work outside the editor. Use it instead of {@link module:core/editor/editor~Editor.create `Editor.create()`}

View File

@ -6,11 +6,11 @@
* @module core/contextplugin
*/
import { type Collection, type Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import type Context from '@ckeditor/ckeditor5-core/src/context.js';
import type { PluginDependencies, PluginInterface } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import type Editor from './editor/editor.js';
import type { EditorConfig } from './editor/editorconfig.js';
import type Context from './context.js';
import type { PluginDependencies, PluginInterface } from './plugin.js';
import type PluginCollection from './plugincollection.js';
declare const ContextPlugin_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,7 +6,7 @@
* @module core/editingkeystrokehandler
*/
import { KeystrokeHandler, type PriorityString } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
/**
* A keystroke handler for editor editing. Its instance is available
* in {@link module:core/editor/editor~Editor#keystrokes} so plugins

View File

@ -8,13 +8,13 @@
import { Config, type Locale, type LocaleTranslate } from '@ckeditor/ckeditor5-utils';
import { Conversion, DataController, EditingController, Model } from '@ckeditor/ckeditor5-engine';
import type { EditorUI } from '@ckeditor/ckeditor5-ui';
import Context from '@ckeditor/ckeditor5-core/src/context.js';
import PluginCollection from '@ckeditor/ckeditor5-core/src/plugincollection.js';
import CommandCollection, { type CommandsMap } from '@ckeditor/ckeditor5-core/src/commandcollection.js';
import EditingKeystrokeHandler from '@ckeditor/ckeditor5-core/src/editingkeystrokehandler.js';
import Accessibility from '@ckeditor/ckeditor5-core/src/accessibility.js';
import type { LoadedPlugins, PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { EditorConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
import Context from '../context.js';
import PluginCollection from '../plugincollection.js';
import CommandCollection, { type CommandsMap } from '../commandcollection.js';
import EditingKeystrokeHandler from '../editingkeystrokehandler.js';
import Accessibility from '../accessibility.js';
import type { LoadedPlugins, PluginConstructor } from '../plugin.js';
import type { EditorConfig } from './editorconfig.js';
declare const Editor_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,9 +6,9 @@
* @module core/editor/editorconfig
*/
import type { ArrayOrItem, Translations } from '@ckeditor/ckeditor5-utils';
import type Context from '@ckeditor/ckeditor5-core/src/context.js';
import type { PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Context from '../context.js';
import type { PluginConstructor } from '../plugin.js';
import type Editor from './editor.js';
import type { MenuBarConfig } from '@ckeditor/ckeditor5-ui';
/**
* CKEditor configuration options.

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { default as Editor } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { ElementApi } from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin.js';
import type { default as Editor } from '../editor.js';
import type { ElementApi } from './elementapimixin.js';
/**
* Checks if the editor is initialized on a `<textarea>` element that belongs to a form. If yes, it updates the editor's element
* content before submitting the form.

View File

@ -5,7 +5,7 @@
/**
* @module core/editor/utils/dataapimixin
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from '../editor.js';
import type { Constructor } from '@ckeditor/ckeditor5-utils';
/**
* Implementation of the {@link module:core/editor/utils/dataapimixin~DataApi}.

View File

@ -6,7 +6,7 @@
* @module core/editor/utils/elementapimixin
*/
import { type Constructor, type Mixed } from '@ckeditor/ckeditor5-utils';
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from '../editor.js';
/**
* Implementation of the {@link module:core/editor/utils/elementapimixin~ElementApi}.
*/

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { default as Editor } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type { default as Editor } from '../editor.js';
/**
* Marks the source element on which the editor was initialized. This prevents other editor instances from using this element.
*

View File

@ -5,23 +5,23 @@
/**
* @module core
*/
export { default as Plugin, type PluginDependencies, type PluginConstructor } from '@ckeditor/ckeditor5-core/src/plugin.js';
export { default as Command, type CommandExecuteEvent } from '@ckeditor/ckeditor5-core/src/command.js';
export { default as MultiCommand } from '@ckeditor/ckeditor5-core/src/multicommand.js';
export type { CommandsMap } from '@ckeditor/ckeditor5-core/src/commandcollection.js';
export type { PluginsMap, default as PluginCollection } from '@ckeditor/ckeditor5-core/src/plugincollection.js';
export { default as Context, type ContextConfig } from '@ckeditor/ckeditor5-core/src/context.js';
export { default as ContextPlugin, type ContextPluginDependencies } from '@ckeditor/ckeditor5-core/src/contextplugin.js';
export { type EditingKeystrokeCallback } from '@ckeditor/ckeditor5-core/src/editingkeystrokehandler.js';
export type { PartialBy, NonEmptyArray } from '@ckeditor/ckeditor5-core/src/typings.js';
export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from '@ckeditor/ckeditor5-core/src/editor/editor.js';
export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from '@ckeditor/ckeditor5-core/src/editor/editorconfig.js';
export { default as attachToForm } from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform.js';
export { default as DataApiMixin, type DataApi } from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin.js';
export { default as ElementApiMixin, type ElementApi } from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin.js';
export { default as secureSourceElement } from '@ckeditor/ckeditor5-core/src/editor/utils/securesourceelement.js';
export { default as PendingActions, type PendingAction } from '@ckeditor/ckeditor5-core/src/pendingactions.js';
export type { KeystrokeInfos as KeystrokeInfoDefinitions, KeystrokeInfoGroup as KeystrokeInfoGroupDefinition, KeystrokeInfoCategory as KeystrokeInfoCategoryDefinition, KeystrokeInfoDefinition as KeystrokeInfoDefinition } from '@ckeditor/ckeditor5-core/src/accessibility.js';
export { default as Plugin, type PluginDependencies, type PluginConstructor } from './plugin.js';
export { default as Command, type CommandExecuteEvent } from './command.js';
export { default as MultiCommand } from './multicommand.js';
export type { CommandsMap } from './commandcollection.js';
export type { PluginsMap, default as PluginCollection } from './plugincollection.js';
export { default as Context, type ContextConfig } from './context.js';
export { default as ContextPlugin, type ContextPluginDependencies } from './contextplugin.js';
export { type EditingKeystrokeCallback } from './editingkeystrokehandler.js';
export type { PartialBy, NonEmptyArray } from './typings.js';
export { default as Editor, type EditorReadyEvent, type EditorDestroyEvent } from './editor/editor.js';
export type { EditorConfig, LanguageConfig, ToolbarConfig, ToolbarConfigItem, UiConfig } from './editor/editorconfig.js';
export { default as attachToForm } from './editor/utils/attachtoform.js';
export { default as DataApiMixin, type DataApi } from './editor/utils/dataapimixin.js';
export { default as ElementApiMixin, type ElementApi } from './editor/utils/elementapimixin.js';
export { default as secureSourceElement } from './editor/utils/securesourceelement.js';
export { default as PendingActions, type PendingAction } from './pendingactions.js';
export type { KeystrokeInfos as KeystrokeInfoDefinitions, KeystrokeInfoGroup as KeystrokeInfoGroupDefinition, KeystrokeInfoCategory as KeystrokeInfoCategoryDefinition, KeystrokeInfoDefinition as KeystrokeInfoDefinition } from './accessibility.js';
export declare const icons: {
bold: string;
cancel: string;
@ -86,4 +86,4 @@ export declare const icons: {
outdent: string;
table: string;
};
import '@ckeditor/ckeditor5-core/src/augmentation.js';
import './augmentation.js';

View File

@ -5,7 +5,7 @@
/**
* @module core/multicommand
*/
import Command from '@ckeditor/ckeditor5-core/src/command.js';
import Command from './command.js';
import { type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* A CKEditor command that aggregates other commands.

View File

@ -5,7 +5,7 @@
/**
* @module core/pendingactions
*/
import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin.js';
import ContextPlugin from './contextplugin.js';
import { type CollectionAddEvent, type CollectionRemoveEvent, type Observable } from '@ckeditor/ckeditor5-utils';
/**
* The list of pending editor actions.

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Editor from '@ckeditor/ckeditor5-core/src/editor/editor.js';
import type Editor from './editor/editor.js';
declare const Plugin_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from '@ckeditor/ckeditor5-core/src/plugin.js';
import type { LoadedPlugins, PluginClassConstructor, PluginConstructor, PluginInterface } from './plugin.js';
declare const PluginCollection_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -2,21 +2,21 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import UpcastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import ViewDocument from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type { StylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type Model from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type { SchemaContextDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type { BatchType } from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import HtmlDataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js';
import type DataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
import Mapper from '../conversion/mapper.js';
import DowncastDispatcher from '../conversion/downcastdispatcher.js';
import UpcastDispatcher from '../conversion/upcastdispatcher.js';
import ViewDocumentFragment from '../view/documentfragment.js';
import ViewDocument from '../view/document.js';
import type ViewElement from '../view/element.js';
import type { StylesProcessor } from '../view/stylesmap.js';
import type { MatcherPattern } from '../view/matcher.js';
import type Model from '../model/model.js';
import type ModelElement from '../model/element.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type { SchemaContextDefinition } from '../model/schema.js';
import type { BatchType } from '../model/batch.js';
import HtmlDataProcessor from '../dataprocessor/htmldataprocessor.js';
import type DataProcessor from '../dataprocessor/dataprocessor.js';
declare const DataController_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -2,13 +2,13 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ModelItem from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type { StylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import View from '../view/view.js';
import Mapper from '../conversion/mapper.js';
import DowncastDispatcher from '../conversion/downcastdispatcher.js';
import type { default as Model } from '../model/model.js';
import type ModelItem from '../model/item.js';
import type { Marker } from '../model/markercollection.js';
import type { StylesProcessor } from '../view/stylesmap.js';
declare const EditingController_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -6,12 +6,12 @@
* @module engine/conversion/conversion
*/
import { type ArrayOrItem, type PriorityString } from '@ckeditor/ckeditor5-utils';
import UpcastHelpers from '@ckeditor/ckeditor5-engine/src/conversion/upcasthelpers.js';
import DowncastHelpers, { type AttributeCreatorFunction, type AttributeDescriptor } from '@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers.js';
import type DowncastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type UpcastDispatcher from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import type ElementDefinition from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import UpcastHelpers from './upcasthelpers.js';
import DowncastHelpers, { type AttributeCreatorFunction, type AttributeDescriptor } from './downcasthelpers.js';
import type DowncastDispatcher from './downcastdispatcher.js';
import type UpcastDispatcher from './upcastdispatcher.js';
import type ElementDefinition from '../view/elementdefinition.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* A utility class that helps add converters to upcast and downcast dispatchers.
*

View File

@ -5,19 +5,19 @@
/**
* @module engine/conversion/downcastdispatcher
*/
import Consumable from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type { default as Differ, DiffItem } from '@ckeditor/ckeditor5-engine/src/model/differ.js';
import type { default as MarkerCollection } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type DowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Schema from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import Consumable from './modelconsumable.js';
import Range from '../model/range.js';
import type { default as Differ, DiffItem } from '../model/differ.js';
import type { default as MarkerCollection } from '../model/markercollection.js';
import type DocumentSelection from '../model/documentselection.js';
import type DowncastWriter from '../view/downcastwriter.js';
import type Element from '../model/element.js';
import type Item from '../model/item.js';
import type Mapper from './mapper.js';
import type Position from '../model/position.js';
import type Schema from '../model/schema.js';
import type Selection from '../model/selection.js';
import type ViewElement from '../view/element.js';
declare const DowncastDispatcher_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -7,23 +7,23 @@
*
* @module engine/conversion/downcasthelpers
*/
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ModelSelection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import ModelDocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import ViewAttributeElement from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
import ConversionHelpers from '@ckeditor/ckeditor5-engine/src/conversion/conversionhelpers.js';
import type { default as DowncastDispatcher, DowncastConversionApi } from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
import type ModelConsumable from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
import type ModelNode from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type ModelItem from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type ModelTextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type ModelText from '@ckeditor/ckeditor5-engine/src/model/text.js';
import type DowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
import type ElementDefinition from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
import type UIElement from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import ModelRange from '../model/range.js';
import ModelSelection from '../model/selection.js';
import ModelDocumentSelection from '../model/documentselection.js';
import ModelElement from '../model/element.js';
import ModelPosition from '../model/position.js';
import ViewAttributeElement from '../view/attributeelement.js';
import ConversionHelpers from './conversionhelpers.js';
import type { default as DowncastDispatcher, DowncastConversionApi } from './downcastdispatcher.js';
import type ModelConsumable from './modelconsumable.js';
import type ModelNode from '../model/node.js';
import type ModelItem from '../model/item.js';
import type ModelTextProxy from '../model/textproxy.js';
import type ModelText from '../model/text.js';
import type DowncastWriter from '../view/downcastwriter.js';
import type ElementDefinition from '../view/elementdefinition.js';
import type UIElement from '../view/uielement.js';
import type ViewElement from '../view/element.js';
import { type EventInfo, type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* Downcast conversion helper functions.

View File

@ -5,15 +5,15 @@
/**
* @module engine/conversion/mapper
*/
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ViewPosition from '@ckeditor/ckeditor5-engine/src/view/position.js';
import ViewRange from '@ckeditor/ckeditor5-engine/src/view/range.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type ViewNode from '@ckeditor/ckeditor5-engine/src/view/node.js';
import ModelPosition from '../model/position.js';
import ModelRange from '../model/range.js';
import ViewPosition from '../view/position.js';
import ViewRange from '../view/range.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type ViewElement from '../view/element.js';
import type ModelElement from '../model/element.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type ViewNode from '../view/node.js';
declare const Mapper_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,11 +5,11 @@
/**
* @module engine/conversion/modelconsumable
*/
import TextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TextProxy from '../model/textproxy.js';
import type Item from '../model/item.js';
import type Selection from '../model/selection.js';
import type DocumentSelection from '../model/documentselection.js';
import type Range from '../model/range.js';
/**
* Manages a list of consumable values for the {@link module:engine/model/item~Item model items}.
*

View File

@ -5,18 +5,18 @@
/**
* @module engine/conversion/upcastdispatcher
*/
import ViewConsumable from '@ckeditor/ckeditor5-engine/src/conversion/viewconsumable.js';
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ModelPosition from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type ModelNode from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type ViewText from '@ckeditor/ckeditor5-engine/src/view/text.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type { default as Schema, SchemaContextDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import type ModelWriter from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import type ViewItem from '@ckeditor/ckeditor5-engine/src/view/item.js';
import ViewConsumable from './viewconsumable.js';
import ModelRange from '../model/range.js';
import ModelPosition from '../model/position.js';
import type ModelElement from '../model/element.js';
import type ModelNode from '../model/node.js';
import type ViewElement from '../view/element.js';
import type ViewText from '../view/text.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type ModelDocumentFragment from '../model/documentfragment.js';
import type { default as Schema, SchemaContextDefinition } from '../model/schema.js';
import type ModelWriter from '../model/writer.js';
import type ViewItem from '../view/item.js';
declare const UpcastDispatcher_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -2,15 +2,15 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import { type ClassPatterns, type MatcherPattern, type PropertyPatterns } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import ConversionHelpers from '@ckeditor/ckeditor5-engine/src/conversion/conversionhelpers.js';
import type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData } from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type { ViewDocumentFragment, ViewElement, ViewText } from '@ckeditor/ckeditor5-engine';
import type Mapper from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
import type Model from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type ViewSelection from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import type ViewDocumentSelection from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
import { type ClassPatterns, type MatcherPattern, type PropertyPatterns } from '../view/matcher.js';
import ConversionHelpers from './conversionhelpers.js';
import type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData } from './upcastdispatcher.js';
import type ModelElement from '../model/element.js';
import type { ViewDocumentFragment, ViewElement, ViewText } from '../index.js';
import type Mapper from './mapper.js';
import type Model from '../model/model.js';
import type ViewSelection from '../view/selection.js';
import type ViewDocumentSelection from '../view/documentselection.js';
import { type EventInfo, type PriorityString } from '@ckeditor/ckeditor5-utils';
/**
* Contains the {@link module:engine/view/view view} to {@link module:engine/model/model model} converters for

View File

@ -2,11 +2,11 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Text from '@ckeditor/ckeditor5-engine/src/view/text.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { Match } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type Element from '../view/element.js';
import type Node from '../view/node.js';
import type Text from '../view/text.js';
import type DocumentFragment from '../view/documentfragment.js';
import type { Match } from '../view/matcher.js';
/**
* Class used for handling consumption of view {@link module:engine/view/element~Element elements},
* {@link module:engine/view/text~Text text nodes} and {@link module:engine/view/documentfragment~DocumentFragment document fragments}.

View File

@ -5,8 +5,8 @@
/**
* @module engine/dataprocessor/dataprocessor
*/
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* The data processor interface. It should be implemented by actual data processors.
*

View File

@ -2,12 +2,12 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import DomConverter from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
import type DataProcessor from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
import type HtmlWriter from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmlwriter.js';
import type ViewDocument from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type { MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import DomConverter from '../view/domconverter.js';
import type DataProcessor from './dataprocessor.js';
import type HtmlWriter from './htmlwriter.js';
import type ViewDocument from '../view/document.js';
import type ViewDocumentFragment from '../view/documentfragment.js';
import type { MatcherPattern } from '../view/matcher.js';
/**
* The HTML data processor class.
* This data processor implementation uses HTML as input and output data.

View File

@ -5,109 +5,109 @@
/**
* @module engine
*/
export * from '@ckeditor/ckeditor5-engine/src/view/placeholder.js';
export { default as EditingController } from '@ckeditor/ckeditor5-engine/src/controller/editingcontroller.js';
export { default as DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent } from '@ckeditor/ckeditor5-engine/src/controller/datacontroller.js';
export { default as Conversion } from '@ckeditor/ckeditor5-engine/src/conversion/conversion.js';
export type { default as DowncastDispatcher, DowncastAddMarkerEvent, DowncastAttributeEvent, DowncastConversionApi, DowncastInsertEvent, DowncastRemoveEvent, DowncastRemoveMarkerEvent, DowncastSelectionEvent } from '@ckeditor/ckeditor5-engine/src/conversion/downcastdispatcher.js';
export type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData, UpcastElementEvent, UpcastTextEvent } from '@ckeditor/ckeditor5-engine/src/conversion/upcastdispatcher.js';
export type { AddHighlightCallback, AttributeDescriptor, ElementCreatorFunction, HighlightDescriptor, RemoveHighlightCallback, MarkerElementCreatorFunction, SlotFilter } from '@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers.js';
export type { default as Mapper, MapperModelToViewPositionEvent, MapperViewToModelPositionEvent } from '@ckeditor/ckeditor5-engine/src/conversion/mapper.js';
export type { default as ModelConsumable } from '@ckeditor/ckeditor5-engine/src/conversion/modelconsumable.js';
export type { Consumables, default as ViewConsumable } from '@ckeditor/ckeditor5-engine/src/conversion/viewconsumable.js';
export type { default as DataProcessor } from '@ckeditor/ckeditor5-engine/src/dataprocessor/dataprocessor.js';
export { default as HtmlDataProcessor } from '@ckeditor/ckeditor5-engine/src/dataprocessor/htmldataprocessor.js';
export type { default as Operation } from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
export { default as InsertOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/insertoperation.js';
export { default as MoveOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/moveoperation.js';
export { default as MergeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/mergeoperation.js';
export { default as SplitOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/splitoperation.js';
export { default as MarkerOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/markeroperation.js';
export { default as OperationFactory } from '@ckeditor/ckeditor5-engine/src/model/operation/operationfactory.js';
export { default as AttributeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/attributeoperation.js';
export { default as RenameOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/renameoperation.js';
export { default as RootAttributeOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/rootattributeoperation.js';
export { default as RootOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/rootoperation.js';
export { default as NoOperation } from '@ckeditor/ckeditor5-engine/src/model/operation/nooperation.js';
export { transformSets } from '@ckeditor/ckeditor5-engine/src/model/operation/transform.js';
export { default as DocumentSelection, type DocumentSelectionChangeRangeEvent, type DocumentSelectionChangeMarkerEvent, type DocumentSelectionChangeAttributeEvent } from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
export { default as Range } from '@ckeditor/ckeditor5-engine/src/model/range.js';
export { default as LiveRange, type LiveRangeChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/liverange.js';
export { default as LivePosition } from '@ckeditor/ckeditor5-engine/src/model/liveposition.js';
export { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
export { default as TreeWalker, type TreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/model/treewalker.js';
export { default as Element } from '@ckeditor/ckeditor5-engine/src/model/element.js';
export { default as Position, type PositionOffset } from '@ckeditor/ckeditor5-engine/src/model/position.js';
export { default as DocumentFragment } from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
export { default as History } from '@ckeditor/ckeditor5-engine/src/model/history.js';
export { default as Text } from '@ckeditor/ckeditor5-engine/src/model/text.js';
export { default as TextProxy } from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
export type { default as Document, ModelPostFixer } from '@ckeditor/ckeditor5-engine/src/model/document.js';
export type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
export type { default as Batch } from '@ckeditor/ckeditor5-engine/src/model/batch.js';
export type { default as Differ, DiffItem, DiffItemAttribute, DiffItemInsert, DiffItemRemove } from '@ckeditor/ckeditor5-engine/src/model/differ.js';
export type { default as Item } from '@ckeditor/ckeditor5-engine/src/model/item.js';
export type { default as Node, NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
export type { default as RootElement } from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
export type { default as Schema, SchemaAttributeCheckCallback, SchemaChildCheckCallback, AttributeProperties, SchemaItemDefinition } from '@ckeditor/ckeditor5-engine/src/model/schema.js';
export type { default as Selection, Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
export type { default as TypeCheckable } from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
export type { default as Writer } from '@ckeditor/ckeditor5-engine/src/model/writer.js';
export type { DocumentChangeEvent } from '@ckeditor/ckeditor5-engine/src/model/document.js';
export type { DocumentSelectionChangeEvent } from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from '@ckeditor/ckeditor5-engine/src/model/model.js';
export type { SelectionChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
export { default as DataTransfer } from '@ckeditor/ckeditor5-engine/src/view/datatransfer.js';
export { default as DomConverter } from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
export { default as Renderer } from '@ckeditor/ckeditor5-engine/src/view/renderer.js';
export { default as EditingView } from '@ckeditor/ckeditor5-engine/src/view/view.js';
export { default as ViewDocument } from '@ckeditor/ckeditor5-engine/src/view/document.js';
export { default as ViewText } from '@ckeditor/ckeditor5-engine/src/view/text.js';
export { default as ViewElement, type ElementAttributes as ViewElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
export { default as ViewContainerElement } from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
export { default as ViewEditableElement } from '@ckeditor/ckeditor5-engine/src/view/editableelement.js';
export { default as ViewRootEditableElement } from '@ckeditor/ckeditor5-engine/src/view/rooteditableelement.js';
export { default as ViewAttributeElement } from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
export { default as ViewEmptyElement } from '@ckeditor/ckeditor5-engine/src/view/emptyelement.js';
export { default as ViewRawElement } from '@ckeditor/ckeditor5-engine/src/view/rawelement.js';
export { default as ViewUIElement } from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
export { default as ViewDocumentFragment } from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
export { default as ViewTreeWalker, type TreeWalkerValue as ViewTreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/view/treewalker.js';
export type { default as ViewElementDefinition, ElementObjectDefinition } from '@ckeditor/ckeditor5-engine/src/view/elementdefinition.js';
export type { default as ViewDocumentSelection } from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
export { default as AttributeElement } from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
export type { default as ViewItem } from '@ckeditor/ckeditor5-engine/src/view/item.js';
export type { default as ViewNode } from '@ckeditor/ckeditor5-engine/src/view/node.js';
export type { default as ViewPosition, PositionOffset as ViewPositionOffset } from '@ckeditor/ckeditor5-engine/src/view/position.js';
export type { default as ViewRange } from '@ckeditor/ckeditor5-engine/src/view/range.js';
export type { default as ViewSelection, ViewSelectionChangeEvent, Selectable as ViewSelectable } from '@ckeditor/ckeditor5-engine/src/view/selection.js';
export type { default as ViewTypeCheckable } from '@ckeditor/ckeditor5-engine/src/view/typecheckable.js';
export { getFillerOffset } from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
export { default as Observer } from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
export { default as ClickObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver.js';
export { default as DomEventObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
export { default as MouseObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver.js';
export { default as TabObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/tabobserver.js';
export { default as FocusObserver } from '@ckeditor/ckeditor5-engine/src/view/observer/focusobserver.js';
export { default as DowncastWriter } from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
export { default as UpcastWriter } from '@ckeditor/ckeditor5-engine/src/view/upcastwriter.js';
export { default as Matcher, type MatcherPattern, type MatcherObjectPattern, type Match, type MatchResult } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
export { default as BubblingEventInfo } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingeventinfo.js';
export { default as DomEventData } from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
export type { BubblingEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingemittermixin.js';
export type { ViewDocumentArrowKeyEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/arrowkeysobserver.js';
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/compositionobserver.js';
export type { ViewDocumentInputEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/inputobserver.js';
export type { ViewDocumentKeyDownEvent, ViewDocumentKeyUpEvent, KeyEventData } from '@ckeditor/ckeditor5-engine/src/view/observer/keyobserver.js';
export type { ViewDocumentLayoutChangedEvent } from '@ckeditor/ckeditor5-engine/src/view/document.js';
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/mouseobserver.js';
export type { ViewDocumentTabEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/tabobserver.js';
export type { ViewDocumentClickEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/clickobserver.js';
export type { ViewDocumentSelectionChangeEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/selectionobserver.js';
export type { ViewRenderEvent, ViewScrollToTheSelectionEvent } from '@ckeditor/ckeditor5-engine/src/view/view.js';
export { default as StylesMap, StylesProcessor, type BoxSides } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/background.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/border.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/margin.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/padding.js';
export * from '@ckeditor/ckeditor5-engine/src/view/styles/utils.js';
export * from './view/placeholder.js';
export { default as EditingController } from './controller/editingcontroller.js';
export { default as DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent } from './controller/datacontroller.js';
export { default as Conversion } from './conversion/conversion.js';
export type { default as DowncastDispatcher, DowncastAddMarkerEvent, DowncastAttributeEvent, DowncastConversionApi, DowncastInsertEvent, DowncastRemoveEvent, DowncastRemoveMarkerEvent, DowncastSelectionEvent } from './conversion/downcastdispatcher.js';
export type { default as UpcastDispatcher, UpcastConversionApi, UpcastConversionData, UpcastElementEvent, UpcastTextEvent } from './conversion/upcastdispatcher.js';
export type { AddHighlightCallback, AttributeDescriptor, ElementCreatorFunction, HighlightDescriptor, RemoveHighlightCallback, MarkerElementCreatorFunction, SlotFilter } from './conversion/downcasthelpers.js';
export type { default as Mapper, MapperModelToViewPositionEvent, MapperViewToModelPositionEvent } from './conversion/mapper.js';
export type { default as ModelConsumable } from './conversion/modelconsumable.js';
export type { Consumables, default as ViewConsumable } from './conversion/viewconsumable.js';
export type { default as DataProcessor } from './dataprocessor/dataprocessor.js';
export { default as HtmlDataProcessor } from './dataprocessor/htmldataprocessor.js';
export type { default as Operation } from './model/operation/operation.js';
export { default as InsertOperation } from './model/operation/insertoperation.js';
export { default as MoveOperation } from './model/operation/moveoperation.js';
export { default as MergeOperation } from './model/operation/mergeoperation.js';
export { default as SplitOperation } from './model/operation/splitoperation.js';
export { default as MarkerOperation } from './model/operation/markeroperation.js';
export { default as OperationFactory } from './model/operation/operationfactory.js';
export { default as AttributeOperation } from './model/operation/attributeoperation.js';
export { default as RenameOperation } from './model/operation/renameoperation.js';
export { default as RootAttributeOperation } from './model/operation/rootattributeoperation.js';
export { default as RootOperation } from './model/operation/rootoperation.js';
export { default as NoOperation } from './model/operation/nooperation.js';
export { transformSets } from './model/operation/transform.js';
export { default as DocumentSelection, type DocumentSelectionChangeRangeEvent, type DocumentSelectionChangeMarkerEvent, type DocumentSelectionChangeAttributeEvent } from './model/documentselection.js';
export { default as Range } from './model/range.js';
export { default as LiveRange, type LiveRangeChangeRangeEvent } from './model/liverange.js';
export { default as LivePosition } from './model/liveposition.js';
export { default as Model } from './model/model.js';
export { default as TreeWalker, type TreeWalkerValue } from './model/treewalker.js';
export { default as Element } from './model/element.js';
export { default as Position, type PositionOffset } from './model/position.js';
export { default as DocumentFragment } from './model/documentfragment.js';
export { default as History } from './model/history.js';
export { default as Text } from './model/text.js';
export { default as TextProxy } from './model/textproxy.js';
export type { default as Document, ModelPostFixer } from './model/document.js';
export type { Marker } from './model/markercollection.js';
export type { default as Batch } from './model/batch.js';
export type { default as Differ, DiffItem, DiffItemAttribute, DiffItemInsert, DiffItemRemove } from './model/differ.js';
export type { default as Item } from './model/item.js';
export type { default as Node, NodeAttributes } from './model/node.js';
export type { default as RootElement } from './model/rootelement.js';
export type { default as Schema, SchemaAttributeCheckCallback, SchemaChildCheckCallback, AttributeProperties, SchemaItemDefinition } from './model/schema.js';
export type { default as Selection, Selectable } from './model/selection.js';
export type { default as TypeCheckable } from './model/typecheckable.js';
export type { default as Writer } from './model/writer.js';
export type { DocumentChangeEvent } from './model/document.js';
export type { DocumentSelectionChangeEvent } from './model/documentselection.js';
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from './model/model.js';
export type { SelectionChangeRangeEvent } from './model/selection.js';
export { default as DataTransfer } from './view/datatransfer.js';
export { default as DomConverter } from './view/domconverter.js';
export { default as Renderer } from './view/renderer.js';
export { default as EditingView } from './view/view.js';
export { default as ViewDocument } from './view/document.js';
export { default as ViewText } from './view/text.js';
export { default as ViewElement, type ElementAttributes as ViewElementAttributes } from './view/element.js';
export { default as ViewContainerElement } from './view/containerelement.js';
export { default as ViewEditableElement } from './view/editableelement.js';
export { default as ViewRootEditableElement } from './view/rooteditableelement.js';
export { default as ViewAttributeElement } from './view/attributeelement.js';
export { default as ViewEmptyElement } from './view/emptyelement.js';
export { default as ViewRawElement } from './view/rawelement.js';
export { default as ViewUIElement } from './view/uielement.js';
export { default as ViewDocumentFragment } from './view/documentfragment.js';
export { default as ViewTreeWalker, type TreeWalkerValue as ViewTreeWalkerValue } from './view/treewalker.js';
export type { default as ViewElementDefinition, ElementObjectDefinition } from './view/elementdefinition.js';
export type { default as ViewDocumentSelection } from './view/documentselection.js';
export { default as AttributeElement } from './view/attributeelement.js';
export type { default as ViewItem } from './view/item.js';
export type { default as ViewNode } from './view/node.js';
export type { default as ViewPosition, PositionOffset as ViewPositionOffset } from './view/position.js';
export type { default as ViewRange } from './view/range.js';
export type { default as ViewSelection, ViewSelectionChangeEvent, Selectable as ViewSelectable } from './view/selection.js';
export type { default as ViewTypeCheckable } from './view/typecheckable.js';
export { getFillerOffset } from './view/containerelement.js';
export { default as Observer } from './view/observer/observer.js';
export { default as ClickObserver } from './view/observer/clickobserver.js';
export { default as DomEventObserver } from './view/observer/domeventobserver.js';
export { default as MouseObserver } from './view/observer/mouseobserver.js';
export { default as TabObserver } from './view/observer/tabobserver.js';
export { default as FocusObserver } from './view/observer/focusobserver.js';
export { default as DowncastWriter } from './view/downcastwriter.js';
export { default as UpcastWriter } from './view/upcastwriter.js';
export { default as Matcher, type MatcherPattern, type MatcherObjectPattern, type Match, type MatchResult } from './view/matcher.js';
export { default as BubblingEventInfo } from './view/observer/bubblingeventinfo.js';
export { default as DomEventData } from './view/observer/domeventdata.js';
export type { BubblingEvent } from './view/observer/bubblingemittermixin.js';
export type { ViewDocumentArrowKeyEvent } from './view/observer/arrowkeysobserver.js';
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from './view/observer/compositionobserver.js';
export type { ViewDocumentInputEvent } from './view/observer/inputobserver.js';
export type { ViewDocumentKeyDownEvent, ViewDocumentKeyUpEvent, KeyEventData } from './view/observer/keyobserver.js';
export type { ViewDocumentLayoutChangedEvent } from './view/document.js';
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from './view/observer/mouseobserver.js';
export type { ViewDocumentTabEvent } from './view/observer/tabobserver.js';
export type { ViewDocumentClickEvent } from './view/observer/clickobserver.js';
export type { ViewDocumentSelectionChangeEvent } from './view/observer/selectionobserver.js';
export type { ViewRenderEvent, ViewScrollToTheSelectionEvent } from './view/view.js';
export { default as StylesMap, StylesProcessor, type BoxSides } from './view/stylesmap.js';
export * from './view/styles/background.js';
export * from './view/styles/border.js';
export * from './view/styles/margin.js';
export * from './view/styles/padding.js';
export * from './view/styles/utils.js';

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Operation from './operation/operation.js';
/**
* A batch instance groups model changes ({@link module:engine/model/operation/operation~Operation operations}). All operations
* grouped in a single batch can be reverted together, so you can also think about a batch as of a single undo step. If you want

View File

@ -5,13 +5,13 @@
/**
* @module engine/model/differ
*/
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type { default as MarkerCollection, MarkerData } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from './position.js';
import Range from './range.js';
import type { default as MarkerCollection, MarkerData } from './markercollection.js';
import type Element from './element.js';
import type Item from './item.js';
import type RootElement from './rootelement.js';
import type Operation from './operation/operation.js';
/**
* Calculates the difference between two model states.
*

View File

@ -5,14 +5,14 @@
/**
* @module engine/model/document
*/
import Differ from '@ckeditor/ckeditor5-engine/src/model/differ.js';
import DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import History from '@ckeditor/ckeditor5-engine/src/model/history.js';
import RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type { default as Model } from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type Batch from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Writer from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import Differ from './differ.js';
import DocumentSelection from './documentselection.js';
import History from './history.js';
import RootElement from './rootelement.js';
import type { default as Model } from './model.js';
import type Batch from './batch.js';
import type Range from './range.js';
import type Writer from './writer.js';
import { Collection } from '@ckeditor/ckeditor5-utils';
declare const Document_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/documentfragment
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TypeCheckable from './typecheckable.js';
import type Item from './item.js';
import type Node from './node.js';
import type Range from './range.js';
/**
* DocumentFragment represents a part of model which does not have a common root but its top-level nodes
* can be seen as siblings. In other words, it is a detached part of model tree, without a root.

View File

@ -5,14 +5,14 @@
/**
* @module engine/model/documentselection
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import Selection, { type SelectionChangeAttributeEvent, type SelectionChangeRangeEvent } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type { default as Document } from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type { default as Position, PositionOffset } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TypeCheckable from './typecheckable.js';
import Selection, { type SelectionChangeAttributeEvent, type SelectionChangeRangeEvent } from './selection.js';
import type { default as Document } from './document.js';
import type { Marker } from './markercollection.js';
import type Element from './element.js';
import type Item from './item.js';
import type { default as Position, PositionOffset } from './position.js';
import type Range from './range.js';
import { Collection } from '@ckeditor/ckeditor5-utils';
declare const DocumentSelection_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**

View File

@ -5,8 +5,8 @@
/**
* @module engine/model/element
*/
import Node, { type NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import Node, { type NodeAttributes } from './node.js';
import type Item from './item.js';
/**
* Model element. Type of {@link module:engine/model/node~Node node} that has a {@link module:engine/model/element~Element#name name} and
* {@link module:engine/model/element~Element#getChildren child nodes}.

View File

@ -2,7 +2,7 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Operation from './operation/operation.js';
/**
* @module engine/model/history
*/

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type TextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type Node from './node.js';
import type TextProxy from './textproxy.js';
/**
* @module engine/model/item
*/

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/liveposition
*/
import Position, { type PositionOffset, type PositionStickiness } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import Position, { type PositionOffset, type PositionStickiness } from './position.js';
import type DocumentFragment from './documentfragment.js';
import type Item from './item.js';
import type RootElement from './rootelement.js';
declare const LivePosition_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Position, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* `LivePosition` is a type of {@link module:engine/model/position~Position Position}

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/liverange
*/
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from './range.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import type Item from './item.js';
import type Position from './position.js';
declare const LiveRange_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Range, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* `LiveRange` is a type of {@link module:engine/model/range~Range Range}

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/markercollection
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import LiveRange, { type LiveRangeChangeContentEvent, type LiveRangeChangeRangeEvent, type LiveRangeChangeEvent } from '@ckeditor/ckeditor5-engine/src/model/liverange.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import TypeCheckable from './typecheckable.js';
import LiveRange, { type LiveRangeChangeContentEvent, type LiveRangeChangeRangeEvent, type LiveRangeChangeEvent } from './liverange.js';
import type Position from './position.js';
import type Range from './range.js';
declare const MarkerCollection_base: {
new (): import("@ckeditor/ckeditor5-utils").Emitter;
prototype: import("@ckeditor/ckeditor5-utils").Emitter;

View File

@ -5,20 +5,20 @@
/**
* @module engine/model/model
*/
import Batch, { type BatchType } from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import MarkerCollection from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import ModelPosition, { type PositionOffset, type PositionStickiness } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import ModelRange from '@ckeditor/ckeditor5-engine/src/model/range.js';
import ModelSelection, { type PlaceOrOffset, type Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import Schema from '@ckeditor/ckeditor5-engine/src/model/schema.js';
import Writer from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type ModelDocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type ModelElement from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Batch, { type BatchType } from './batch.js';
import Document from './document.js';
import MarkerCollection from './markercollection.js';
import ModelPosition, { type PositionOffset, type PositionStickiness } from './position.js';
import ModelRange from './range.js';
import ModelSelection, { type PlaceOrOffset, type Selectable } from './selection.js';
import DocumentSelection from './documentselection.js';
import Schema from './schema.js';
import Writer from './writer.js';
import Node from './node.js';
import type ModelDocumentFragment from './documentfragment.js';
import type Item from './item.js';
import type ModelElement from './element.js';
import type Operation from './operation/operation.js';
import { type DecoratedMethodEvent } from '@ckeditor/ckeditor5-utils';
declare const Model_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/node
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import TypeCheckable from './typecheckable.js';
import type Document from './document.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import '@ckeditor/ckeditor5-utils/src/version.js';
/**
* Model node. Most basic structure of model tree.

View File

@ -5,7 +5,7 @@
/**
* @module engine/model/nodelist
*/
import Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import Node from './node.js';
/**
* Provides an interface to operate on a list of {@link module:engine/model/node~Node nodes}. `NodeList` is used internally
* in classes like {@link module:engine/model/element~Element Element}

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/operation/attributeoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import Range from '../range.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Operation to change nodes' attribute.
*

View File

@ -5,12 +5,12 @@
/**
* @module engine/model/operation/insertoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import NodeList from '@ckeditor/ckeditor5-engine/src/model/nodelist.js';
import { type NodeSet } from '@ckeditor/ckeditor5-engine/src/model/operation/utils.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import Operation from './operation.js';
import Position from '../position.js';
import NodeList from '../nodelist.js';
import { type NodeSet } from './utils.js';
import type { Selectable } from '../selection.js';
import type Document from '../document.js';
/**
* Operation to insert one or more nodes at given position in the model.
*/

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/operation/markeroperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type MarkerCollection from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import Range from '../range.js';
import type Document from '../document.js';
import type MarkerCollection from '../markercollection.js';
import type { Selectable } from '../selection.js';
export default class MarkerOperation extends Operation {
/**
* Marker name.

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/operation/mergeoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import Position from '../position.js';
import Range from '../range.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Operation to merge two {@link module:engine/model/element~Element elements}.
*

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/operation/moveoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import Operation from './operation.js';
import Position from '../position.js';
import type { Selectable } from '../selection.js';
import type Document from '../document.js';
/**
* Operation to move a range of {@link module:engine/model/item~Item model items}
* to given {@link module:engine/model/position~Position target position}.

View File

@ -5,8 +5,8 @@
/**
* @module engine/model/operation/nooperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import type { Selectable } from '../selection.js';
/**
* Operation which is doing nothing ("empty operation", "do-nothing operation", "noop"). This is an operation,
* which when executed does not change the tree model. It still has some parameters defined for transformation purposes.

View File

@ -5,9 +5,9 @@
/**
* @module engine/model/operation/operation
*/
import type Batch from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Batch from '../batch.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Abstract base operation class.
*/

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import Operation from './operation.js';
import type Document from '../document.js';
/**
* A factory class for creating operations.
*/

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/operation/renameoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import Position from '../position.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Operation to change element's name.
*

View File

@ -5,10 +5,10 @@
/**
* @module engine/model/operation/rootattributeoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import type Document from '../document.js';
import type RootElement from '../rootelement.js';
import type { Selectable } from '../selection.js';
/**
* Operation to change root element's attribute. Using this class you can add, remove or change value of the attribute.
*

View File

@ -5,9 +5,9 @@
/**
* @module engine/model/operation/rootoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Operation that creates (or attaches) or detaches a root element.
*/

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/operation/splitoperation
*/
import Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type { Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import Operation from './operation.js';
import Position from '../position.js';
import Range from '../range.js';
import type Document from '../document.js';
import type { Selectable } from '../selection.js';
/**
* Operation to split {@link module:engine/model/element~Element an element} at given
* {@link module:engine/model/operation/splitoperation~SplitOperation#splitPosition split position} into two elements,

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type Operation from './operation.js';
import type Document from '../document.js';
/**
* Transforms operation `a` by operation `b`.
*

View File

@ -5,12 +5,12 @@
/**
* @module engine/model/operation/utils
*/
import Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type NodeList from '@ckeditor/ckeditor5-engine/src/model/nodelist.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Node from '../node.js';
import Range from '../range.js';
import type DocumentFragment from '../documentfragment.js';
import type Item from '../item.js';
import type NodeList from '../nodelist.js';
import type Position from '../position.js';
/**
* Inserts given nodes at given position.
*

View File

@ -5,19 +5,19 @@
/**
* @module engine/model/position
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import { type TreeWalkerOptions, type TreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/model/treewalker.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type InsertOperation from '@ckeditor/ckeditor5-engine/src/model/operation/insertoperation.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type MergeOperation from '@ckeditor/ckeditor5-engine/src/model/operation/mergeoperation.js';
import type MoveOperation from '@ckeditor/ckeditor5-engine/src/model/operation/moveoperation.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type SplitOperation from '@ckeditor/ckeditor5-engine/src/model/operation/splitoperation.js';
import type Text from '@ckeditor/ckeditor5-engine/src/model/text.js';
import TypeCheckable from './typecheckable.js';
import { type TreeWalkerOptions, type TreeWalkerValue } from './treewalker.js';
import type Document from './document.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import type InsertOperation from './operation/insertoperation.js';
import type Item from './item.js';
import type MergeOperation from './operation/mergeoperation.js';
import type MoveOperation from './operation/moveoperation.js';
import type Node from './node.js';
import type Operation from './operation/operation.js';
import type SplitOperation from './operation/splitoperation.js';
import type Text from './text.js';
import '@ckeditor/ckeditor5-utils/src/version.js';
/**
* Represents a position in the model tree.

View File

@ -5,18 +5,18 @@
/**
* @module engine/model/range
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import TreeWalker, { type TreeWalkerOptions, type TreeWalkerValue } from '@ckeditor/ckeditor5-engine/src/model/treewalker.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type InsertOperation from '@ckeditor/ckeditor5-engine/src/model/operation/insertoperation.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type MergeOperation from '@ckeditor/ckeditor5-engine/src/model/operation/mergeoperation.js';
import type MoveOperation from '@ckeditor/ckeditor5-engine/src/model/operation/moveoperation.js';
import type Operation from '@ckeditor/ckeditor5-engine/src/model/operation/operation.js';
import type SplitOperation from '@ckeditor/ckeditor5-engine/src/model/operation/splitoperation.js';
import TypeCheckable from './typecheckable.js';
import Position from './position.js';
import TreeWalker, { type TreeWalkerOptions, type TreeWalkerValue } from './treewalker.js';
import type Document from './document.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import type InsertOperation from './operation/insertoperation.js';
import type Item from './item.js';
import type MergeOperation from './operation/mergeoperation.js';
import type MoveOperation from './operation/moveoperation.js';
import type Operation from './operation/operation.js';
import type SplitOperation from './operation/splitoperation.js';
/**
* Represents a range in the model tree.
*

View File

@ -5,8 +5,8 @@
/**
* @module engine/model/rootelement
*/
import Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Document from '@ckeditor/ckeditor5-engine/src/model/document.js';
import Element from './element.js';
import type Document from './document.js';
/**
* Type of {@link module:engine/model/element~Element} that is a root of a model tree.
*/

View File

@ -5,15 +5,15 @@
/**
* @module engine/model/schema
*/
import Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Writer from '@ckeditor/ckeditor5-engine/src/model/writer.js';
import Element from './element.js';
import Position from './position.js';
import Range from './range.js';
import type DocumentFragment from './documentfragment.js';
import type DocumentSelection from './documentselection.js';
import type Item from './item.js';
import type Node from './node.js';
import type Selection from './selection.js';
import type Writer from './writer.js';
declare const Schema_base: {
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -5,13 +5,13 @@
/**
* @module engine/model/selection
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import Position, { type PositionOffset } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import TypeCheckable from './typecheckable.js';
import Node from './node.js';
import Position, { type PositionOffset } from './position.js';
import Range from './range.js';
import type DocumentSelection from './documentselection.js';
import type Element from './element.js';
import type Item from './item.js';
declare const Selection_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* Selection is a set of {@link module:engine/model/range~Range ranges}. It has a direction specified by its

View File

@ -5,7 +5,7 @@
/**
* @module engine/model/text
*/
import Node, { type NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
import Node, { type NodeAttributes } from './node.js';
/**
* Model text node. Type of {@link module:engine/model/node~Node node} that contains {@link module:engine/model/text~Text#data text data}.
*

View File

@ -5,11 +5,11 @@
/**
* @module engine/model/textproxy
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/model/typecheckable.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Text from '@ckeditor/ckeditor5-engine/src/model/text.js';
import TypeCheckable from './typecheckable.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
import type Node from './node.js';
import type Text from './text.js';
/**
* `TextProxy` represents a part of {@link module:engine/model/text~Text text node}.
*

View File

@ -2,9 +2,9 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import { default as Position } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import { default as Position } from './position.js';
import type Item from './item.js';
import type Range from './range.js';
/**
* Position iterator class. It allows to iterate forward and backward over the document.
*/

View File

@ -5,19 +5,19 @@
/**
* @module engine/model/typecheckable
*/
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/model/documentselection.js';
import type Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import type LivePosition from '@ckeditor/ckeditor5-engine/src/model/liveposition.js';
import type LiveRange from '@ckeditor/ckeditor5-engine/src/model/liverange.js';
import type Node from '@ckeditor/ckeditor5-engine/src/model/node.js';
import type Position from '@ckeditor/ckeditor5-engine/src/model/position.js';
import type Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import type RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Text from '@ckeditor/ckeditor5-engine/src/model/text.js';
import type TextProxy from '@ckeditor/ckeditor5-engine/src/model/textproxy.js';
import type { Marker } from './markercollection.js';
import type DocumentFragment from './documentfragment.js';
import type DocumentSelection from './documentselection.js';
import type Element from './element.js';
import type LivePosition from './liveposition.js';
import type LiveRange from './liverange.js';
import type Node from './node.js';
import type Position from './position.js';
import type Range from './range.js';
import type RootElement from './rootelement.js';
import type Selection from './selection.js';
import type Text from './text.js';
import type TextProxy from './textproxy.js';
export default abstract class TypeCheckable {
/**
* Checks whether the object is of type {@link module:engine/model/node~Node} or its subclass.

View File

@ -2,18 +2,18 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import DocumentFragment from '@ckeditor/ckeditor5-engine/src/model/documentfragment.js';
import Element from '@ckeditor/ckeditor5-engine/src/model/element.js';
import Position, { type PositionOffset, type PositionStickiness } from '@ckeditor/ckeditor5-engine/src/model/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/model/range.js';
import RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement.js';
import Text from '@ckeditor/ckeditor5-engine/src/model/text.js';
import type { Marker } from '@ckeditor/ckeditor5-engine/src/model/markercollection.js';
import type { default as Selection, PlaceOrOffset, Selectable } from '@ckeditor/ckeditor5-engine/src/model/selection.js';
import type Batch from '@ckeditor/ckeditor5-engine/src/model/batch.js';
import type Item from '@ckeditor/ckeditor5-engine/src/model/item.js';
import type Model from '@ckeditor/ckeditor5-engine/src/model/model.js';
import type { default as Node, NodeAttributes } from '@ckeditor/ckeditor5-engine/src/model/node.js';
import DocumentFragment from './documentfragment.js';
import Element from './element.js';
import Position, { type PositionOffset, type PositionStickiness } from './position.js';
import Range from './range.js';
import RootElement from './rootelement.js';
import Text from './text.js';
import type { Marker } from './markercollection.js';
import type { default as Selection, PlaceOrOffset, Selectable } from './selection.js';
import type Batch from './batch.js';
import type Item from './item.js';
import type Model from './model.js';
import type { default as Node, NodeAttributes } from './node.js';
/**
* The model can only be modified by using the writer. It should be used whenever you want to create a node, modify
* child nodes, attributes or text, set the selection's position and its attributes.

View File

@ -5,9 +5,9 @@
/**
* @module engine/view/attributeelement
*/
import Element, { type ElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import Element, { type ElementAttributes } from './element.js';
import type Document from './document.js';
import type Node from './node.js';
/**
* Attribute elements are used to represent formatting elements in the view (think `<b>`, `<span style="font-size: 2em">`, etc.).
* Most often they are created when downcasting model text attributes.

View File

@ -5,9 +5,9 @@
/**
* @module engine/view/containerelement
*/
import Element, { type ElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import Element, { type ElementAttributes } from './element.js';
import type Document from './document.js';
import type Node from './node.js';
/**
* Containers are elements which define document structure. They define boundaries for
* {@link module:engine/view/attributeelement~AttributeElement attributes}. They are mostly used for block elements like `<p>` or `<div>`.

View File

@ -5,11 +5,11 @@
/**
* @module engine/view/document
*/
import DocumentSelection from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
import DocumentSelection from './documentselection.js';
import { Collection } from '@ckeditor/ckeditor5-utils';
import type { StylesProcessor } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import type RootEditableElement from '@ckeditor/ckeditor5-engine/src/view/rooteditableelement.js';
import type DowncastWriter from '@ckeditor/ckeditor5-engine/src/view/downcastwriter.js';
import type { StylesProcessor } from './stylesmap.js';
import type RootEditableElement from './rooteditableelement.js';
import type DowncastWriter from './downcastwriter.js';
declare const Document_base: import("@ckeditor/ckeditor5-utils").Mixed<{
new (): import("@ckeditor/ckeditor5-utils").Observable;
prototype: import("@ckeditor/ckeditor5-utils").Observable;

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/documentfragment
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/view/typecheckable.js';
import type { default as Document, ChangeType } from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Item from '@ckeditor/ckeditor5-engine/src/view/item.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import TypeCheckable from './typecheckable.js';
import type { default as Document, ChangeType } from './document.js';
import type Item from './item.js';
import type Node from './node.js';
declare const DocumentFragment_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* Document fragment.

View File

@ -5,14 +5,14 @@
/**
* @module engine/view/documentselection
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/view/typecheckable.js';
import Selection, { type PlaceOrOffset, type Selectable, type SelectionOptions, type ViewSelectionChangeEvent } from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import type EditableElement from '@ckeditor/ckeditor5-engine/src/view/editableelement.js';
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Item from '@ckeditor/ckeditor5-engine/src/view/item.js';
import type { default as Position, PositionOffset } from '@ckeditor/ckeditor5-engine/src/view/position.js';
import type Range from '@ckeditor/ckeditor5-engine/src/view/range.js';
import TypeCheckable from './typecheckable.js';
import Selection, { type PlaceOrOffset, type Selectable, type SelectionOptions, type ViewSelectionChangeEvent } from './selection.js';
import type EditableElement from './editableelement.js';
import type Element from './element.js';
import type Node from './node.js';
import type Item from './item.js';
import type { default as Position, PositionOffset } from './position.js';
import type Range from './range.js';
declare const DocumentSelection_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* Class representing the document selection in the view.

View File

@ -5,19 +5,19 @@
/**
* @module engine/view/domconverter
*/
import ViewText from '@ckeditor/ckeditor5-engine/src/view/text.js';
import ViewElement from '@ckeditor/ckeditor5-engine/src/view/element.js';
import ViewUIElement from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
import ViewPosition from '@ckeditor/ckeditor5-engine/src/view/position.js';
import ViewRange from '@ckeditor/ckeditor5-engine/src/view/range.js';
import ViewSelection from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import ViewDocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import { type MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import type ViewNode from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
import type EditableElement from '@ckeditor/ckeditor5-engine/src/view/editableelement.js';
import type ViewRawElement from '@ckeditor/ckeditor5-engine/src/view/rawelement.js';
import ViewText from './text.js';
import ViewElement from './element.js';
import ViewUIElement from './uielement.js';
import ViewPosition from './position.js';
import ViewRange from './range.js';
import ViewSelection from './selection.js';
import ViewDocumentFragment from './documentfragment.js';
import { type MatcherPattern } from './matcher.js';
import type ViewNode from './node.js';
import type Document from './document.js';
import type DocumentSelection from './documentselection.js';
import type EditableElement from './editableelement.js';
import type ViewRawElement from './rawelement.js';
type DomNode = globalThis.Node;
type DomElement = globalThis.HTMLElement;
type DomDocumentFragment = globalThis.DocumentFragment;

View File

@ -5,23 +5,23 @@
/**
* @module engine/view/downcastwriter
*/
import Position, { type PositionOffset } from '@ckeditor/ckeditor5-engine/src/view/position.js';
import Range from '@ckeditor/ckeditor5-engine/src/view/range.js';
import Selection, { type PlaceOrOffset, type Selectable, type SelectionOptions } from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import ContainerElement from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
import AttributeElement from '@ckeditor/ckeditor5-engine/src/view/attributeelement.js';
import EmptyElement from '@ckeditor/ckeditor5-engine/src/view/emptyelement.js';
import UIElement from '@ckeditor/ckeditor5-engine/src/view/uielement.js';
import RawElement from '@ckeditor/ckeditor5-engine/src/view/rawelement.js';
import DocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import Text from '@ckeditor/ckeditor5-engine/src/view/text.js';
import EditableElement from '@ckeditor/ckeditor5-engine/src/view/editableelement.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type { default as Element, ElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type DomConverter from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
import type Item from '@ckeditor/ckeditor5-engine/src/view/item.js';
import type { SlotFilter } from '@ckeditor/ckeditor5-engine/src/conversion/downcasthelpers.js';
import Position, { type PositionOffset } from './position.js';
import Range from './range.js';
import Selection, { type PlaceOrOffset, type Selectable, type SelectionOptions } from './selection.js';
import ContainerElement from './containerelement.js';
import AttributeElement from './attributeelement.js';
import EmptyElement from './emptyelement.js';
import UIElement from './uielement.js';
import RawElement from './rawelement.js';
import DocumentFragment from './documentfragment.js';
import Text from './text.js';
import EditableElement from './editableelement.js';
import type Document from './document.js';
import type Node from './node.js';
import type { default as Element, ElementAttributes } from './element.js';
import type DomConverter from './domconverter.js';
import type Item from './item.js';
import type { SlotFilter } from '../conversion/downcasthelpers.js';
type DomDocument = globalThis.Document;
type DomElement = globalThis.HTMLElement;
/**

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/editableelement
*/
import ContainerElement from '@ckeditor/ckeditor5-engine/src/view/containerelement.js';
import type { ElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import ContainerElement from './containerelement.js';
import type { ElementAttributes } from './element.js';
import type Document from './document.js';
import type Node from './node.js';
declare const EditableElement_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof ContainerElement, import("@ckeditor/ckeditor5-utils").Observable>;
/**
* Editable element which can be a {@link module:engine/view/rooteditableelement~RootEditableElement root}

View File

@ -5,12 +5,12 @@
/**
* @module engine/view/element
*/
import Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import Node from './node.js';
import { type ArrayOrItem } from '@ckeditor/ckeditor5-utils';
import { type MatcherPattern } from '@ckeditor/ckeditor5-engine/src/view/matcher.js';
import { type StyleValue } from '@ckeditor/ckeditor5-engine/src/view/stylesmap.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Item from '@ckeditor/ckeditor5-engine/src/view/item.js';
import { type MatcherPattern } from './matcher.js';
import { type StyleValue } from './stylesmap.js';
import type Document from './document.js';
import type Item from './item.js';
/**
* View element.
*

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/emptyelement
*/
import Element, { type ElementAttributes } from '@ckeditor/ckeditor5-engine/src/view/element.js';
import Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Item from '@ckeditor/ckeditor5-engine/src/view/item.js';
import Element, { type ElementAttributes } from './element.js';
import Node from './node.js';
import type Document from './document.js';
import type Item from './item.js';
/**
* Empty element class. It is used to represent elements that cannot contain any child nodes (for example `<img>` elements).
*

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type TextProxy from '@ckeditor/ckeditor5-engine/src/view/textproxy.js';
import type Node from './node.js';
import type TextProxy from './textproxy.js';
/**
* @module engine/view/item
*/

View File

@ -5,7 +5,7 @@
/**
* @module engine/view/matcher
*/
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type Element from './element.js';
/**
* View matcher class.
* Instance of this class can be used to find {@link module:engine/view/element~Element elements} that match given pattern.

View File

@ -5,11 +5,11 @@
/**
* @module engine/view/node
*/
import TypeCheckable from '@ckeditor/ckeditor5-engine/src/view/typecheckable.js';
import TypeCheckable from './typecheckable.js';
import '@ckeditor/ckeditor5-utils/src/version.js';
import type { default as Document, ChangeType } from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type DocumentFragment from '@ckeditor/ckeditor5-engine/src/view/documentfragment.js';
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type { default as Document, ChangeType } from './document.js';
import type DocumentFragment from './documentfragment.js';
import type Element from './element.js';
declare const Node_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof TypeCheckable, import("@ckeditor/ckeditor5-utils").Emitter>;
/**
* Abstract view node class.

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/observer/arrowkeysobserver
*/
import Observer from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import type { KeyEventData } from '@ckeditor/ckeditor5-engine/src/view/observer/keyobserver.js';
import type { BubblingEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingemittermixin.js';
import Observer from './observer.js';
import type View from '../view.js';
import type { KeyEventData } from './keyobserver.js';
import type { BubblingEvent } from './bubblingemittermixin.js';
/**
* Arrow keys observer introduces the {@link module:engine/view/document~Document#event:arrowKey `Document#arrowKey`} event.
*

View File

@ -6,8 +6,8 @@
* @module engine/view/observer/bubblingemittermixin
*/
import { type ArrayOrItem, type Emitter, type BaseEvent, type CallbackOptions, type Constructor, type Mixed } from '@ckeditor/ckeditor5-utils';
import BubblingEventInfo from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingeventinfo.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import BubblingEventInfo from './bubblingeventinfo.js';
import type Node from '../node.js';
/**
* Bubbling emitter mixin for the view document as described in the {@link ~BubblingEmitter} interface.
*

View File

@ -6,9 +6,9 @@
* @module engine/view/observer/bubblingeventinfo
*/
import { EventInfo } from '@ckeditor/ckeditor5-utils';
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Node from '@ckeditor/ckeditor5-engine/src/view/node.js';
import type Range from '@ckeditor/ckeditor5-engine/src/view/range.js';
import type Document from '../document.js';
import type Node from '../node.js';
import type Range from '../range.js';
/**
* The event object passed to bubbling event callbacks. It is used to provide information about the event as well as a tool to
* manipulate it.

View File

@ -5,9 +5,9 @@
/**
* @module engine/view/observer/clickobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import type { BubblingEvent } from '@ckeditor/ckeditor5-engine/src/view/observer/bubblingemittermixin.js';
import DomEventObserver from './domeventobserver.js';
import type DomEventData from './domeventdata.js';
import type { BubblingEvent } from './bubblingemittermixin.js';
/**
* {@link module:engine/view/document~Document#event:click Click} event observer.
*

View File

@ -5,9 +5,9 @@
/**
* @module engine/view/observer/compositionobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import DomEventObserver from './domeventobserver.js';
import type View from '../view.js';
import type DomEventData from './domeventdata.js';
/**
* {@link module:engine/view/document~Document#event:compositionstart Compositionstart},
* {@link module:engine/view/document~Document#event:compositionupdate compositionupdate} and

View File

@ -2,9 +2,9 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type Element from '@ckeditor/ckeditor5-engine/src/view/element.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import type Document from '../document.js';
import type Element from '../element.js';
import type View from '../view.js';
/**
* Information about a DOM event in context of the {@link module:engine/view/document~Document}.
* It wraps the native event, which usually should not be used as the wrapper contains

View File

@ -5,7 +5,7 @@
/**
* @module engine/view/observer/domeventobserver
*/
import Observer from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
import Observer from './observer.js';
import type { EventInfo } from '@ckeditor/ckeditor5-utils';
/**
* Base class for DOM event observers. This class handles

View File

@ -5,8 +5,8 @@
/**
* @module engine/view/observer/fakeselectionobserver
*/
import Observer from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import Observer from './observer.js';
import type View from '../view.js';
/**
* Fake selection observer class. If view selection is fake it is placed in dummy DOM container. This observer listens
* on {@link module:engine/view/document~Document#event:keydown keydown} events and handles moving fake view selection to the correct place

View File

@ -5,9 +5,9 @@
/**
* @module engine/view/observer/focusobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import DomEventObserver from './domeventobserver.js';
import type DomEventData from './domeventdata.js';
import type View from '../view.js';
/**
* {@link module:engine/view/document~Document#event:focus Focus}
* and {@link module:engine/view/document~Document#event:blur blur} events observer.

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/observer/inputobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import type ViewRange from '@ckeditor/ckeditor5-engine/src/view/range.js';
import DataTransfer from '@ckeditor/ckeditor5-engine/src/view/datatransfer.js';
import DomEventObserver from './domeventobserver.js';
import type DomEventData from './domeventdata.js';
import type ViewRange from '../range.js';
import DataTransfer from '../datatransfer.js';
/**
* Observer for events connected with data input.
*

View File

@ -5,8 +5,8 @@
/**
* @module engine/view/observer/keyobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import DomEventObserver from './domeventobserver.js';
import type DomEventData from './domeventdata.js';
import { type KeystrokeInfo } from '@ckeditor/ckeditor5-utils';
/**
* Observer for events connected with pressing keyboard keys.

View File

@ -5,8 +5,8 @@
/**
* @module engine/view/observer/mouseobserver
*/
import DomEventObserver from '@ckeditor/ckeditor5-engine/src/view/observer/domeventobserver.js';
import type DomEventData from '@ckeditor/ckeditor5-engine/src/view/observer/domeventdata.js';
import DomEventObserver from './domeventobserver.js';
import type DomEventData from './domeventdata.js';
/**
* Mouse events observer.
*

View File

@ -5,10 +5,10 @@
/**
* @module engine/view/observer/mutationobserver
*/
import Observer from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
import type DomConverter from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
import type Renderer from '@ckeditor/ckeditor5-engine/src/view/renderer.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import Observer from './observer.js';
import type DomConverter from '../domconverter.js';
import type Renderer from '../renderer.js';
import type View from '../view.js';
/**
* Mutation observer's role is to watch for any DOM changes inside the editor that weren't
* done by the editor's {@link module:engine/view/renderer~Renderer} itself and reverting these changes.

View File

@ -2,8 +2,8 @@
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type Document from '@ckeditor/ckeditor5-engine/src/view/document.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import type Document from '../document.js';
import type View from '../view.js';
declare const Observer_base: {
new (): import("@ckeditor/ckeditor5-utils").DomEmitter;
prototype: import("@ckeditor/ckeditor5-utils").DomEmitter;

View File

@ -5,13 +5,13 @@
/**
* @module engine/view/observer/selectionobserver
*/
import Observer from '@ckeditor/ckeditor5-engine/src/view/observer/observer.js';
import MutationObserver from '@ckeditor/ckeditor5-engine/src/view/observer/mutationobserver.js';
import type View from '@ckeditor/ckeditor5-engine/src/view/view.js';
import type DocumentSelection from '@ckeditor/ckeditor5-engine/src/view/documentselection.js';
import type DomConverter from '@ckeditor/ckeditor5-engine/src/view/domconverter.js';
import type Selection from '@ckeditor/ckeditor5-engine/src/view/selection.js';
import FocusObserver from '@ckeditor/ckeditor5-engine/src/view/observer/focusobserver.js';
import Observer from './observer.js';
import MutationObserver from './mutationobserver.js';
import type View from '../view.js';
import type DocumentSelection from '../documentselection.js';
import type DomConverter from '../domconverter.js';
import type Selection from '../selection.js';
import FocusObserver from './focusobserver.js';
type DomSelection = globalThis.Selection;
/**
* Selection observer class observes selection changes in the document. If a selection changes on the document this

Some files were not shown because too many files have changed in this diff Show More