@ckeditor/ckeditor5-engine 48.8.1-alpha.4 → 49.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/dist/controller/datacontroller.d.ts +329 -314
- package/dist/controller/editingcontroller.d.ts +95 -94
- package/dist/conversion/comparemarkers.d.ts +45 -45
- package/dist/conversion/conversion.d.ts +474 -474
- package/dist/conversion/conversionhelpers.d.ts +21 -21
- package/dist/conversion/downcastdispatcher.d.ts +539 -538
- package/dist/conversion/downcasthelpers.d.ts +1129 -1129
- package/dist/conversion/mapper.d.ts +692 -697
- package/dist/conversion/modelconsumable.d.ts +196 -196
- package/dist/conversion/upcastdispatcher.d.ts +483 -475
- package/dist/conversion/upcasthelpers.d.ts +491 -491
- package/dist/conversion/viewconsumable.d.ts +330 -330
- package/dist/dataprocessor/basichtmlwriter.d.ts +15 -15
- package/dist/dataprocessor/dataprocessor.d.ts +57 -57
- package/dist/dataprocessor/htmldataprocessor.d.ts +72 -72
- package/dist/dataprocessor/htmlwriter.d.ts +11 -11
- package/dist/dataprocessor/xmldataprocessor.d.ts +86 -86
- package/dist/dev-utils/model.d.ts +128 -116
- package/dist/dev-utils/operationreplayer.d.ts +49 -49
- package/dist/dev-utils/utils.d.ts +33 -33
- package/dist/dev-utils/view.d.ts +314 -309
- package/dist/engineconfig.d.ts +39 -39
- package/dist/index-content.css +3 -0
- package/dist/index-content.css.map +1 -0
- package/dist/index-editor.css +33 -29
- package/dist/index-editor.css.map +1 -0
- package/dist/index.css +26 -24
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +152 -150
- package/dist/index.js +34246 -40050
- package/dist/index.js.map +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/model/batch.d.ts +86 -86
- package/dist/model/differ.d.ts +504 -504
- package/dist/model/document.d.ts +265 -262
- package/dist/model/documentfragment.d.ts +214 -214
- package/dist/model/documentselection.d.ts +412 -410
- package/dist/model/element.d.ts +182 -182
- package/dist/model/history.d.ts +109 -109
- package/dist/model/item.d.ts +9 -9
- package/dist/model/liveposition.d.ts +81 -69
- package/dist/model/liverange.d.ts +118 -92
- package/dist/model/markercollection.d.ts +317 -324
- package/dist/model/model.d.ts +889 -909
- package/dist/model/node.d.ts +254 -254
- package/dist/model/nodelist.d.ts +110 -110
- package/dist/model/operation/attributeoperation.d.ts +98 -98
- package/dist/model/operation/detachoperation.d.ts +57 -57
- package/dist/model/operation/insertoperation.d.ts +85 -85
- package/dist/model/operation/markeroperation.d.ts +87 -87
- package/dist/model/operation/mergeoperation.d.ts +95 -95
- package/dist/model/operation/moveoperation.d.ts +97 -91
- package/dist/model/operation/nooperation.d.ts +33 -33
- package/dist/model/operation/operation.d.ts +94 -94
- package/dist/model/operation/operationfactory.d.ts +14 -14
- package/dist/model/operation/renameoperation.d.ts +78 -78
- package/dist/model/operation/rootattributeoperation.d.ts +93 -93
- package/dist/model/operation/rootoperation.d.ts +71 -71
- package/dist/model/operation/splitoperation.d.ts +104 -104
- package/dist/model/operation/transform.d.ts +91 -91
- package/dist/model/operation/utils.d.ts +58 -58
- package/dist/model/position.d.ts +542 -535
- package/dist/model/range.d.ts +467 -453
- package/dist/model/rootelement.d.ts +55 -55
- package/dist/model/schema.d.ts +1325 -1327
- package/dist/model/selection.d.ts +452 -471
- package/dist/model/text.d.ts +62 -62
- package/dist/model/textproxy.d.ts +140 -140
- package/dist/model/treewalker.d.ts +190 -190
- package/dist/model/typecheckable.d.ts +281 -281
- package/dist/model/utils/autoparagraphing.d.ts +29 -29
- package/dist/model/utils/deletecontent.d.ts +68 -68
- package/dist/model/utils/getselectedcontent.d.ts +27 -27
- package/dist/model/utils/insertcontent.d.ts +42 -42
- package/dist/model/utils/insertobject.d.ts +41 -41
- package/dist/model/utils/modifyselection.d.ts +44 -44
- package/dist/model/utils/selection-post-fixer.d.ts +71 -71
- package/dist/model/writer.d.ts +857 -848
- package/dist/view/attributeelement.d.ts +123 -123
- package/dist/view/containerelement.d.ts +49 -49
- package/dist/view/datatransfer.d.ts +70 -70
- package/dist/view/document.d.ts +175 -177
- package/dist/view/documentfragment.d.ts +158 -157
- package/dist/view/documentselection.d.ts +308 -307
- package/dist/view/domconverter.d.ts +614 -658
- package/dist/view/downcastwriter.d.ts +1012 -1006
- package/dist/view/editableelement.d.ts +64 -63
- package/dist/view/element.d.ts +754 -754
- package/dist/view/elementdefinition.d.ts +79 -79
- package/dist/view/emptyelement.d.ts +42 -42
- package/dist/view/filler.d.ts +75 -75
- package/dist/view/item.d.ts +9 -9
- package/dist/view/matcher.d.ts +412 -487
- package/dist/view/node.d.ts +164 -163
- package/dist/view/observer/arrowkeysobserver.d.ts +37 -37
- package/dist/view/observer/bubblingemittermixin.d.ts +163 -153
- package/dist/view/observer/bubblingeventinfo.d.ts +45 -42
- package/dist/view/observer/clickobserver.d.ts +36 -36
- package/dist/view/observer/compositionobserver.d.ts +67 -67
- package/dist/view/observer/domeventdata.d.ts +46 -46
- package/dist/view/observer/domeventobserver.d.ts +77 -74
- package/dist/view/observer/fakeselectionobserver.d.ts +42 -42
- package/dist/view/observer/focusobserver.d.ts +84 -84
- package/dist/view/observer/inputobserver.d.ts +76 -76
- package/dist/view/observer/keyobserver.d.ts +53 -53
- package/dist/view/observer/mouseobserver.d.ts +73 -73
- package/dist/view/observer/mutationobserver.d.ts +101 -101
- package/dist/view/observer/observer.d.ts +84 -83
- package/dist/view/observer/pointerobserver.d.ts +63 -63
- package/dist/view/observer/selectionobserver.d.ts +141 -137
- package/dist/view/observer/tabobserver.d.ts +38 -38
- package/dist/view/observer/touchobserver.d.ts +60 -60
- package/dist/view/placeholder.d.ts +77 -81
- package/dist/view/position.d.ts +187 -187
- package/dist/view/range.d.ts +282 -282
- package/dist/view/rawelement.d.ts +72 -72
- package/dist/view/renderer.d.ts +282 -273
- package/dist/view/rooteditableelement.d.ts +43 -43
- package/dist/view/selection.d.ts +356 -369
- package/dist/view/styles/background.d.ts +15 -15
- package/dist/view/styles/border.d.ts +27 -27
- package/dist/view/styles/margin.d.ts +12 -12
- package/dist/view/styles/padding.d.ts +12 -12
- package/dist/view/styles/utils.d.ts +72 -72
- package/dist/view/stylesmap.d.ts +715 -715
- package/dist/view/text.d.ts +75 -75
- package/dist/view/textproxy.d.ts +92 -92
- package/dist/view/tokenlist.d.ts +104 -104
- package/dist/view/treewalker.d.ts +201 -201
- package/dist/view/typecheckable.d.ts +445 -445
- package/dist/view/uielement.d.ts +93 -93
- package/dist/view/upcastwriter.d.ts +412 -412
- package/dist/view/view.d.ts +466 -468
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,152 +1,154 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export type { EngineConfig, ExperimentalFlagsConfig } from
|
|
9
|
-
export { type PlaceholderableViewElement, disableViewPlaceholder, enableViewPlaceholder, hideViewPlaceholder, needsViewPlaceholder, showViewPlaceholder } from
|
|
10
|
-
export { EditingController } from
|
|
11
|
-
export { DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent, type DataControllerReadyEvent, type DataControllerGetEvent } from
|
|
12
|
-
export { Conversion, type ConversionType } from
|
|
13
|
-
export { ConversionHelpers } from
|
|
14
|
-
export { DowncastDispatcher, type DowncastDispatcherEventMap, type DowncastAddMarkerEvent, type DowncastAttributeEvent, type DowncastConversionApi, type DowncastInsertEvent, type DowncastRemoveEvent, type DowncastRemoveMarkerEvent, type DowncastSelectionEvent, type DowncastReduceChangesEvent, type DowncastReduceChangesEventData, type DowncastEvent, type DowncastCleanSelectionEvent } from
|
|
15
|
-
export { UpcastDispatcher, type UpcastConversionApi, type UpcastConversionData, type UpcastElementEvent, type UpcastTextEvent, type UpcastViewCleanupEvent, type UpcastEvent, type UpcastDocumentFragmentEvent } from
|
|
16
|
-
export { UpcastHelpers } from
|
|
17
|
-
export { DowncastHelpers, type DowncastStructureCreatorFunction, type DowncastAttributeElementCreatorFunction, type DowncastElementCreatorFunction, type DowncastHighlightDescriptor, type DowncastSlotFilter, type DowncastAttributeDescriptor, type DowncastMarkerElementCreatorFunction, type DowncastAddHighlightCallback, type DowncastHighlightDescriptorCreatorFunction, type DowncastRemoveHighlightCallback, type DowncastMarkerDataCreatorFunction, type DowncastAttributeCreatorFunction } from
|
|
18
|
-
export type { UpcastElementCreatorFunction, UpcastAttributeCreatorFunction, UpcastMarkerFromElementCreatorFunction, UpcastMarkerFromAttributeCreatorFunction } from
|
|
19
|
-
export { Mapper, type MapperModelToViewPositionEvent, type MapperViewToModelPositionEvent, type MapperModelToViewPositionEventData, type MapperViewToModelPositionEventData } from
|
|
20
|
-
export { ModelConsumable } from
|
|
21
|
-
export { type Consumables, ViewConsumable } from
|
|
22
|
-
export type { DataProcessor } from
|
|
23
|
-
export type { DataProcessorHtmlWriter } from
|
|
24
|
-
export { HtmlDataProcessor } from
|
|
25
|
-
export { XmlDataProcessor } from
|
|
26
|
-
export { Operation } from
|
|
27
|
-
export { InsertOperation } from
|
|
28
|
-
export { MoveOperation } from
|
|
29
|
-
export { MergeOperation } from
|
|
30
|
-
export { SplitOperation } from
|
|
31
|
-
export { MarkerOperation } from
|
|
32
|
-
export { OperationFactory } from
|
|
33
|
-
export { AttributeOperation } from
|
|
34
|
-
export { RenameOperation } from
|
|
35
|
-
export { RootAttributeOperation } from
|
|
36
|
-
export { RootOperation } from
|
|
37
|
-
export { NoOperation } from
|
|
38
|
-
export { transformOperationSets, type TransformOperationSetsResult } from
|
|
39
|
-
export { ModelDocumentSelection, type ModelDocumentSelectionChangeRangeEvent, type ModelDocumentSelectionChangeMarkerEvent, type ModelDocumentSelectionChangeAttributeEvent } from
|
|
40
|
-
export { ModelRange } from
|
|
41
|
-
export { ModelLiveRange, type ModelLiveRangeChangeRangeEvent, type ModelLiveRangeChangeContentEvent, type ModelLiveRangeChangeEvent } from
|
|
42
|
-
export { ModelLivePosition, type ModelLivePositionChangeEvent } from
|
|
43
|
-
export { Model } from
|
|
44
|
-
export { ModelTreeWalker, type ModelTreeWalkerValue, type ModelTreeWalkerValueType, type ModelTreeWalkerDirection, type ModelTreeWalkerOptions } from
|
|
45
|
-
export { ModelElement } from
|
|
46
|
-
export { ModelPosition, type ModelPositionOffset, type ModelPositionRelation, type ModelPositionStickiness } from
|
|
47
|
-
export { ModelDocumentFragment } from
|
|
48
|
-
export { ModelDocument, type ModelPostFixer } from
|
|
49
|
-
export { History } from
|
|
50
|
-
export { ModelText } from
|
|
51
|
-
export { ModelTextProxy } from
|
|
52
|
-
export { MarkerCollection, Marker, type MarkerData, type MarkerChangeRangeEvent, type MarkerCollectionChangeContentEvent, type MarkerChangeEvent, type MarkerCollectionUpdateEvent } from
|
|
53
|
-
export { Batch, type BatchType } from
|
|
54
|
-
export { Differ, type DifferItem, type DifferItemAttribute, type DifferItemInsert, type DifferItemRemove, type DifferItemAction, type DifferItemReinsert, type DifferItemRoot } from
|
|
55
|
-
export type { ModelItem } from
|
|
56
|
-
export { ModelNode, type ModelNodeAttributes } from
|
|
57
|
-
export { ModelNodeList } from
|
|
58
|
-
export { ModelRootElement } from
|
|
59
|
-
export { ModelSchema, ModelSchemaContext, type ModelSchemaCheckChildEvent, type ModelSchemaCheckAttributeEvent, type ModelSchemaAttributeCheckCallback, type ModelSchemaChildCheckCallback, type ModelAttributeProperties, type ModelSchemaItemDefinition, type ModelSchemaCompiledItemDefinition, type ModelSchemaContextDefinition, type ModelSchemaContextItem, type ModelBlockAlignmentAttributesMapping } from
|
|
60
|
-
export { ModelSelection, type ModelSelectionChangeEvent, type ModelSelectionChangeRangeEvent, type ModelSelectionChangeAttributeEvent, type ModelSelectable, type ModelPlaceOrOffset } from
|
|
61
|
-
export { ModelTypeCheckable } from
|
|
62
|
-
export { ModelWriter } from
|
|
63
|
-
export type { ModelDocumentChangeEvent } from
|
|
64
|
-
export type { ModelDocumentSelectionChangeEvent } from
|
|
65
|
-
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from
|
|
66
|
-
export { ViewDataTransfer, type ViewDropEffect, type ViewEffectAllowed } from
|
|
67
|
-
export { ViewDomConverter, type ViewBlockFillerMode } from
|
|
68
|
-
export { ViewRenderer } from
|
|
69
|
-
export { EditingView, type ViewRenderEvent, type ViewScrollToTheSelectionEvent, type ViewScrollToTheSelectionEventData, type AlwaysRegisteredViewObservers } from
|
|
70
|
-
export { ViewDocument, type ViewDocumentPostFixer, type ViewDocumentChangeType } from
|
|
71
|
-
export { ViewText } from
|
|
72
|
-
export { ViewTextProxy } from
|
|
73
|
-
export { ViewTokenList } from
|
|
74
|
-
export { ViewElement, type ViewElementAttributes, type ViewElementAttributeValue, type ViewNormalizedConsumables } from
|
|
75
|
-
export { ViewContainerElement, getViewFillerOffset } from
|
|
76
|
-
export { ViewEditableElement } from
|
|
77
|
-
export { ViewRootEditableElement } from
|
|
78
|
-
export { ViewAttributeElement } from
|
|
79
|
-
export { ViewEmptyElement } from
|
|
80
|
-
export { ViewRawElement } from
|
|
81
|
-
export { ViewUIElement } from
|
|
82
|
-
export { ViewDocumentFragment } from
|
|
83
|
-
export type { ViewElementDefinition, ViewElementObjectDefinition } from
|
|
84
|
-
export { ViewDocumentSelection, type ViewDocumentSelectionChangeEvent } from
|
|
85
|
-
export type { ViewItem } from
|
|
86
|
-
export { ViewNode, type ViewNodeChangeEvent } from
|
|
87
|
-
export { ViewPosition, type ViewPositionOffset, type ViewPositionRelation } from
|
|
88
|
-
export { ViewRange } from
|
|
89
|
-
export { ViewSelection, type ViewSelectionChangeEvent, type ViewSelectable, type ViewSelectionOptions, type ViewPlaceOrOffset } from
|
|
90
|
-
export { ViewTreeWalker, type ViewTreeWalkerValueType, type ViewTreeWalkerValue, type ViewTreeWalkerDirection, type ViewTreeWalkerOptions } from
|
|
91
|
-
export { ViewTypeCheckable } from
|
|
92
|
-
export { Observer, type ObserverConstructor } from
|
|
93
|
-
export { ClickObserver } from
|
|
94
|
-
export { DomEventObserver } from
|
|
95
|
-
export { MouseObserver } from
|
|
96
|
-
export { TabObserver } from
|
|
97
|
-
export { TouchObserver } from
|
|
98
|
-
export { PointerObserver } from
|
|
99
|
-
export { FakeSelectionObserver } from
|
|
100
|
-
export { KeyObserver, type ViewDocumentKeyDownEvent, type ViewDocumentKeyUpEvent, type ViewDocumentKeyEventData } from
|
|
101
|
-
export { MutationObserver, type ViewDocumentMutationEventData, type ObserverMutationData } from
|
|
102
|
-
export { SelectionObserver, type ViewDocumentObserverSelectionEventData } from
|
|
103
|
-
export { CompositionObserver, type ViewDocumentCompositionEventData } from
|
|
104
|
-
export { InputObserver, type ViewDocumentInputEventData, type ViewDocumentInputEvent } from
|
|
105
|
-
export { FocusObserver, type ViewDocumentBlurEvent, type ViewDocumentFocusEvent } from
|
|
106
|
-
export { ViewDowncastWriter } from
|
|
107
|
-
export { ViewUpcastWriter, ViewUpcastWriter as UpcastWriter } from
|
|
108
|
-
export { Matcher, type MatcherPattern, type MatcherObjectPattern, type MatcherFunctionPattern, type Match, type MatchResult, type MatchPropertyPatterns, type MatchAttributePatterns, type MatchStylePatterns, type MatchClassPatterns } from
|
|
109
|
-
export { BubblingEventInfo, type BubblingEventPhase } from
|
|
110
|
-
export { ViewDocumentDomEventData
|
|
111
|
-
export { type BubblingEvent, type BubblingEmitter, type BubblingEventContextFunction, type BubblingCallbackOptions, BubblingEmitterMixin } from
|
|
112
|
-
export type { ViewDocumentArrowKeyEvent } from
|
|
113
|
-
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from
|
|
114
|
-
export type { ViewDocumentMutationsEvent } from
|
|
115
|
-
export type { ViewDocumentLayoutChangedEvent } from
|
|
116
|
-
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from
|
|
117
|
-
export type { ViewDocumentTouchEndEvent, ViewDocumentTouchMoveEvent, ViewDocumentTouchStartEvent } from
|
|
118
|
-
export type { ViewDocumentPointerDownEvent, ViewDocumentPointerMoveEvent, ViewDocumentPointerUpEvent } from
|
|
119
|
-
export type { ViewDocumentTabEvent } from
|
|
120
|
-
export type { ViewDocumentClickEvent } from
|
|
121
|
-
export type { ViewDocumentObserverSelectionChangeEvent, ViewDocumentObserverSelectionChangeDoneEvent } from
|
|
122
|
-
export { StylesMap, StylesProcessor, type StyleValue, type StylesNormalizer, type StylesExtractor, type StylesReducer, type Styles, type BoxStyleSides, type StylePropertyDescriptor } from
|
|
123
|
-
export { addBackgroundStylesRules } from
|
|
124
|
-
export { addBorderStylesRules } from
|
|
125
|
-
export { addMarginStylesRules } from
|
|
126
|
-
export { addPaddingStylesRules } from
|
|
127
|
-
export { isColorStyleValue, isLineStyleValue, isLengthStyleValue, isPercentageStyleValue, isRepeatStyleValue, isPositionStyleValue, isAttachmentStyleValue, isURLStyleValue, getBoxSidesStyleValues, getBoxSidesStyleValueReducer, getBoxSidesStyleShorthandValue, getPositionStyleShorthandNormalizer, getShorthandStylesValues } from
|
|
128
|
-
export { _getModelData, _setModelData, _parseModel, _stringifyModel } from
|
|
129
|
-
export { _getViewData, _setViewData, _parseView, _stringifyView } from
|
|
130
|
-
export { convertMapToTags as _convertMapToTags, convertMapToStringifiedObject as _convertMapToStringifiedObject, dumpTrees as _dumpTrees, initDocumentDumping as _initDocumentDumping, logDocument as _logDocument } from
|
|
131
|
-
export { insertText as _downcastInsertText, insertAttributesAndChildren as _downcastInsertAttributesAndChildren, remove as _downcastRemove, createViewElementFromDowncastHighlightDescriptor as _downcastCreateViewElementFromDowncastHighlightDescriptor, convertRangeSelection as _downcastConvertRangeSelection, convertCollapsedSelection as _downcastConvertCollapsedSelection, cleanSelection as _downcastCleanSelection, wrap as _downcastWrap, insertElement as _downcastInsertElement, insertStructure as _downcastInsertStructure, insertUIElement as _downcastInsertUIElement, type ConsumerFunction as _DowncastConsumerFunction } from
|
|
132
|
-
export { MapperCache as _MapperCache } from
|
|
133
|
-
export { convertToModelFragment as _upcastConvertToModelFragment, convertText as _upcastConvertText, convertSelectionChange as _upcastConvertSelectionChange } from
|
|
134
|
-
export { ViewElementConsumables as _ViewElementConversionConsumables, normalizeConsumables as _normalizeConversionConsumables } from
|
|
135
|
-
export { BasicHtmlWriter as _DataProcessorBasicHtmlWriter } from
|
|
136
|
-
export { OperationReplayer as _OperationReplayer } from
|
|
137
|
-
export type { DifferSnapshot as _DifferSnapshot } from
|
|
138
|
-
export type { BeforeChangesEvent as _ModelBeforeChangesEvent, AfterChangesEvent as _ModelAfterChangesEvent } from
|
|
139
|
-
export { DetachOperation as _DetachOperation } from
|
|
140
|
-
export { transform as _operationTransform, type TransformationContext as _OperationTransformationContext } from
|
|
141
|
-
export { _insert as _insertIntoModelNodeList, _remove as _removeFromModelNodeList, _move as _moveInModelNodeList, _setAttribute as _setAttributeInModelNodeList, _normalizeNodes as _normalizeInModelNodeList, type ModelNodeSet } from
|
|
142
|
-
export { getTextNodeAtPosition as _getModelTextNodeAtPosition, getNodeAfterPosition as _getModelNodeAfterPosition, getNodeBeforePosition as _getModelNodeBeforePosition } from
|
|
143
|
-
export { autoParagraphEmptyRoots as _autoParagraphEmptyModelRoots, isParagraphable as _isParagraphableModelNode, wrapInParagraph as _wrapInModelParagraph } from
|
|
144
|
-
export { deleteContent as _deleteModelContent } from
|
|
145
|
-
export { getSelectedContent as _getSelectedModelContent } from
|
|
146
|
-
export { insertContent as _insertModelContent } from
|
|
147
|
-
export { insertObject as _insertModelObject } from
|
|
148
|
-
export { modifySelection as _modifyModelSelection } from
|
|
149
|
-
export { injectSelectionPostFixer as _injectModelSelectionPostFixer, tryFixingRange as _tryFixingModelRange, mergeIntersectingRanges as _mergeIntersectingModelRanges } from
|
|
150
|
-
export { NBSP_FILLER as _VIEW_NBSP_FILLER, MARKED_NBSP_FILLER as _VIEW_MARKED_NBSP_FILLER, BR_FILLER as _VIEW_BR_FILLER, INLINE_FILLER_LENGTH as _VIEW_INLINE_FILLER_LENGTH, INLINE_FILLER as _VIEW_INLINE_FILLER, startsWithFiller as _startsWithViewFiller, isInlineFiller as _isInlineViewFiller, getDataWithoutFiller as _getDataWithoutViewFiller, injectQuirksHandling as _injectViewQuirksHandling } from
|
|
151
|
-
export { isPatternMatched as _isViewPatternMatched, type NormalizedPropertyPattern as _NormalizedViewPropertyPattern } from
|
|
152
|
-
export { injectUiElementHandling as _injectViewUIElementHandling } from
|
|
6
|
+
* @module engine
|
|
7
|
+
*/
|
|
8
|
+
export type { EngineConfig, ExperimentalFlagsConfig } from "./engineconfig.js";
|
|
9
|
+
export { type PlaceholderableViewElement, disableViewPlaceholder, enableViewPlaceholder, hideViewPlaceholder, needsViewPlaceholder, showViewPlaceholder } from "./view/placeholder.js";
|
|
10
|
+
export { EditingController } from "./controller/editingcontroller.js";
|
|
11
|
+
export { DataController, type DataControllerInitEvent, type DataControllerSetEvent, type DataControllerToModelEvent, type DataControllerToViewEvent, type DataControllerReadyEvent, type DataControllerGetEvent } from "./controller/datacontroller.js";
|
|
12
|
+
export { Conversion, type ConversionType } from "./conversion/conversion.js";
|
|
13
|
+
export { ConversionHelpers } from "./conversion/conversionhelpers.js";
|
|
14
|
+
export { DowncastDispatcher, type DowncastDispatcherEventMap, type DowncastAddMarkerEvent, type DowncastAttributeEvent, type DowncastConversionApi, type DowncastInsertEvent, type DowncastRemoveEvent, type DowncastRemoveMarkerEvent, type DowncastSelectionEvent, type DowncastReduceChangesEvent, type DowncastReduceChangesEventData, type DowncastEvent, type DowncastCleanSelectionEvent } from "./conversion/downcastdispatcher.js";
|
|
15
|
+
export { UpcastDispatcher, type UpcastConversionApi, type UpcastConversionData, type UpcastElementEvent, type UpcastTextEvent, type UpcastViewCleanupEvent, type UpcastEvent, type UpcastDocumentFragmentEvent } from "./conversion/upcastdispatcher.js";
|
|
16
|
+
export { UpcastHelpers } from "./conversion/upcasthelpers.js";
|
|
17
|
+
export { DowncastHelpers, type DowncastStructureCreatorFunction, type DowncastAttributeElementCreatorFunction, type DowncastElementCreatorFunction, type DowncastHighlightDescriptor, type DowncastSlotFilter, type DowncastAttributeDescriptor, type DowncastMarkerElementCreatorFunction, type DowncastAddHighlightCallback, type DowncastHighlightDescriptorCreatorFunction, type DowncastRemoveHighlightCallback, type DowncastMarkerDataCreatorFunction, type DowncastAttributeCreatorFunction } from "./conversion/downcasthelpers.js";
|
|
18
|
+
export type { UpcastElementCreatorFunction, UpcastAttributeCreatorFunction, UpcastMarkerFromElementCreatorFunction, UpcastMarkerFromAttributeCreatorFunction } from "./conversion/upcasthelpers.js";
|
|
19
|
+
export { Mapper, type MapperModelToViewPositionEvent, type MapperViewToModelPositionEvent, type MapperModelToViewPositionEventData, type MapperViewToModelPositionEventData } from "./conversion/mapper.js";
|
|
20
|
+
export { ModelConsumable } from "./conversion/modelconsumable.js";
|
|
21
|
+
export { type Consumables, ViewConsumable } from "./conversion/viewconsumable.js";
|
|
22
|
+
export type { DataProcessor } from "./dataprocessor/dataprocessor.js";
|
|
23
|
+
export type { DataProcessorHtmlWriter } from "./dataprocessor/htmlwriter.js";
|
|
24
|
+
export { HtmlDataProcessor } from "./dataprocessor/htmldataprocessor.js";
|
|
25
|
+
export { XmlDataProcessor } from "./dataprocessor/xmldataprocessor.js";
|
|
26
|
+
export { Operation } from "./model/operation/operation.js";
|
|
27
|
+
export { InsertOperation } from "./model/operation/insertoperation.js";
|
|
28
|
+
export { MoveOperation } from "./model/operation/moveoperation.js";
|
|
29
|
+
export { MergeOperation } from "./model/operation/mergeoperation.js";
|
|
30
|
+
export { SplitOperation } from "./model/operation/splitoperation.js";
|
|
31
|
+
export { MarkerOperation } from "./model/operation/markeroperation.js";
|
|
32
|
+
export { OperationFactory } from "./model/operation/operationfactory.js";
|
|
33
|
+
export { AttributeOperation } from "./model/operation/attributeoperation.js";
|
|
34
|
+
export { RenameOperation } from "./model/operation/renameoperation.js";
|
|
35
|
+
export { RootAttributeOperation } from "./model/operation/rootattributeoperation.js";
|
|
36
|
+
export { RootOperation } from "./model/operation/rootoperation.js";
|
|
37
|
+
export { NoOperation } from "./model/operation/nooperation.js";
|
|
38
|
+
export { transformOperationSets, type TransformOperationSetsResult } from "./model/operation/transform.js";
|
|
39
|
+
export { ModelDocumentSelection, type ModelDocumentSelectionChangeRangeEvent, type ModelDocumentSelectionChangeMarkerEvent, type ModelDocumentSelectionChangeAttributeEvent } from "./model/documentselection.js";
|
|
40
|
+
export { ModelRange } from "./model/range.js";
|
|
41
|
+
export { ModelLiveRange, type ModelLiveRangeChangeRangeEvent, type ModelLiveRangeChangeContentEvent, type ModelLiveRangeChangeEvent, type ModelLiveRangeChangeDropEvent } from "./model/liverange.js";
|
|
42
|
+
export { ModelLivePosition, type ModelLivePositionChangeEvent } from "./model/liveposition.js";
|
|
43
|
+
export { Model } from "./model/model.js";
|
|
44
|
+
export { ModelTreeWalker, type ModelTreeWalkerValue, type ModelTreeWalkerValueType, type ModelTreeWalkerDirection, type ModelTreeWalkerOptions } from "./model/treewalker.js";
|
|
45
|
+
export { ModelElement } from "./model/element.js";
|
|
46
|
+
export { ModelPosition, type ModelPositionOffset, type ModelPositionRelation, type ModelPositionStickiness } from "./model/position.js";
|
|
47
|
+
export { ModelDocumentFragment } from "./model/documentfragment.js";
|
|
48
|
+
export { ModelDocument, type ModelPostFixer } from "./model/document.js";
|
|
49
|
+
export { History } from "./model/history.js";
|
|
50
|
+
export { ModelText } from "./model/text.js";
|
|
51
|
+
export { ModelTextProxy } from "./model/textproxy.js";
|
|
52
|
+
export { MarkerCollection, Marker, type MarkerData, type MarkerChangeRangeEvent, type MarkerCollectionChangeContentEvent, type MarkerChangeEvent, type MarkerCollectionUpdateEvent } from "./model/markercollection.js";
|
|
53
|
+
export { Batch, type BatchType } from "./model/batch.js";
|
|
54
|
+
export { Differ, type DifferItem, type DifferItemAttribute, type DifferItemInsert, type DifferItemRemove, type DifferItemAction, type DifferItemReinsert, type DifferItemRoot } from "./model/differ.js";
|
|
55
|
+
export type { ModelItem } from "./model/item.js";
|
|
56
|
+
export { ModelNode, type ModelNodeAttributes } from "./model/node.js";
|
|
57
|
+
export { ModelNodeList } from "./model/nodelist.js";
|
|
58
|
+
export { ModelRootElement } from "./model/rootelement.js";
|
|
59
|
+
export { ModelSchema, ModelSchemaContext, type ModelSchemaCheckChildEvent, type ModelSchemaCheckAttributeEvent, type ModelSchemaAttributeCheckCallback, type ModelSchemaChildCheckCallback, type ModelAttributeProperties, type ModelSchemaItemDefinition, type ModelSchemaCompiledItemDefinition, type ModelSchemaContextDefinition, type ModelSchemaContextItem, type ModelBlockAlignmentAttributesMapping } from "./model/schema.js";
|
|
60
|
+
export { ModelSelection, type ModelSelectionChangeEvent, type ModelSelectionChangeRangeEvent, type ModelSelectionChangeAttributeEvent, type ModelSelectable, type ModelPlaceOrOffset } from "./model/selection.js";
|
|
61
|
+
export { ModelTypeCheckable } from "./model/typecheckable.js";
|
|
62
|
+
export { ModelWriter } from "./model/writer.js";
|
|
63
|
+
export type { ModelDocumentChangeEvent } from "./model/document.js";
|
|
64
|
+
export type { ModelDocumentSelectionChangeEvent } from "./model/documentselection.js";
|
|
65
|
+
export type { ModelApplyOperationEvent, ModelDeleteContentEvent, ModelGetSelectedContentEvent, ModelInsertContentEvent, ModelInsertObjectEvent, ModelModifySelectionEvent, ModelCanEditAtEvent } from "./model/model.js";
|
|
66
|
+
export { ViewDataTransfer, type ViewDropEffect, type ViewEffectAllowed } from "./view/datatransfer.js";
|
|
67
|
+
export { ViewDomConverter, type ViewBlockFillerMode } from "./view/domconverter.js";
|
|
68
|
+
export { ViewRenderer } from "./view/renderer.js";
|
|
69
|
+
export { EditingView, type ViewRenderEvent, type ViewScrollToTheSelectionEvent, type ViewScrollToTheSelectionEventData, type AlwaysRegisteredViewObservers } from "./view/view.js";
|
|
70
|
+
export { ViewDocument, type ViewDocumentPostFixer, type ViewDocumentChangeType } from "./view/document.js";
|
|
71
|
+
export { ViewText } from "./view/text.js";
|
|
72
|
+
export { ViewTextProxy } from "./view/textproxy.js";
|
|
73
|
+
export { ViewTokenList } from "./view/tokenlist.js";
|
|
74
|
+
export { ViewElement, type ViewElementAttributes, type ViewElementAttributeValue, type ViewNormalizedConsumables } from "./view/element.js";
|
|
75
|
+
export { ViewContainerElement, getViewFillerOffset } from "./view/containerelement.js";
|
|
76
|
+
export { ViewEditableElement } from "./view/editableelement.js";
|
|
77
|
+
export { ViewRootEditableElement } from "./view/rooteditableelement.js";
|
|
78
|
+
export { ViewAttributeElement } from "./view/attributeelement.js";
|
|
79
|
+
export { ViewEmptyElement } from "./view/emptyelement.js";
|
|
80
|
+
export { ViewRawElement } from "./view/rawelement.js";
|
|
81
|
+
export { ViewUIElement } from "./view/uielement.js";
|
|
82
|
+
export { ViewDocumentFragment } from "./view/documentfragment.js";
|
|
83
|
+
export type { ViewElementDefinition, ViewElementObjectDefinition } from "./view/elementdefinition.js";
|
|
84
|
+
export { ViewDocumentSelection, type ViewDocumentSelectionChangeEvent } from "./view/documentselection.js";
|
|
85
|
+
export type { ViewItem } from "./view/item.js";
|
|
86
|
+
export { ViewNode, type ViewNodeChangeEvent } from "./view/node.js";
|
|
87
|
+
export { ViewPosition, type ViewPositionOffset, type ViewPositionRelation } from "./view/position.js";
|
|
88
|
+
export { ViewRange } from "./view/range.js";
|
|
89
|
+
export { ViewSelection, type ViewSelectionChangeEvent, type ViewSelectable, type ViewSelectionOptions, type ViewPlaceOrOffset } from "./view/selection.js";
|
|
90
|
+
export { ViewTreeWalker, type ViewTreeWalkerValueType, type ViewTreeWalkerValue, type ViewTreeWalkerDirection, type ViewTreeWalkerOptions } from "./view/treewalker.js";
|
|
91
|
+
export { ViewTypeCheckable } from "./view/typecheckable.js";
|
|
92
|
+
export { Observer, type ObserverConstructor } from "./view/observer/observer.js";
|
|
93
|
+
export { ClickObserver } from "./view/observer/clickobserver.js";
|
|
94
|
+
export { DomEventObserver } from "./view/observer/domeventobserver.js";
|
|
95
|
+
export { MouseObserver } from "./view/observer/mouseobserver.js";
|
|
96
|
+
export { TabObserver } from "./view/observer/tabobserver.js";
|
|
97
|
+
export { TouchObserver } from "./view/observer/touchobserver.js";
|
|
98
|
+
export { PointerObserver } from "./view/observer/pointerobserver.js";
|
|
99
|
+
export { FakeSelectionObserver } from "./view/observer/fakeselectionobserver.js";
|
|
100
|
+
export { KeyObserver, type ViewDocumentKeyDownEvent, type ViewDocumentKeyUpEvent, type ViewDocumentKeyEventData } from "./view/observer/keyobserver.js";
|
|
101
|
+
export { MutationObserver, type ViewDocumentMutationEventData, type ObserverMutationData } from "./view/observer/mutationobserver.js";
|
|
102
|
+
export { SelectionObserver, type ViewDocumentObserverSelectionEventData } from "./view/observer/selectionobserver.js";
|
|
103
|
+
export { CompositionObserver, type ViewDocumentCompositionEventData } from "./view/observer/compositionobserver.js";
|
|
104
|
+
export { InputObserver, type ViewDocumentInputEventData, type ViewDocumentInputEvent } from "./view/observer/inputobserver.js";
|
|
105
|
+
export { FocusObserver, type ViewDocumentBlurEvent, type ViewDocumentFocusEvent } from "./view/observer/focusobserver.js";
|
|
106
|
+
export { ViewDowncastWriter } from "./view/downcastwriter.js";
|
|
107
|
+
export { ViewUpcastWriter, ViewUpcastWriter as UpcastWriter } from "./view/upcastwriter.js";
|
|
108
|
+
export { Matcher, type MatcherPattern, type MatcherObjectPattern, type MatcherFunctionPattern, type Match, type MatchResult, type MatchPropertyPatterns, type MatchAttributePatterns, type MatchStylePatterns, type MatchClassPatterns } from "./view/matcher.js";
|
|
109
|
+
export { BubblingEventInfo, type BubblingEventPhase } from "./view/observer/bubblingeventinfo.js";
|
|
110
|
+
export { ViewDocumentDomEventData } from "./view/observer/domeventdata.js";
|
|
111
|
+
export { type BubblingEvent, type BubblingEmitter, type BubblingEmitterMixinConstructor, type BubblingEventContextFunction, type BubblingCallbackOptions, BubblingEmitterMixin } from "./view/observer/bubblingemittermixin.js";
|
|
112
|
+
export type { ViewDocumentArrowKeyEvent } from "./view/observer/arrowkeysobserver.js";
|
|
113
|
+
export type { ViewDocumentCompositionStartEvent, ViewDocumentCompositionUpdateEvent, ViewDocumentCompositionEndEvent } from "./view/observer/compositionobserver.js";
|
|
114
|
+
export type { ViewDocumentMutationsEvent } from "./view/observer/mutationobserver.js";
|
|
115
|
+
export type { ViewDocumentLayoutChangedEvent } from "./view/document.js";
|
|
116
|
+
export type { ViewDocumentMouseDownEvent, ViewDocumentMouseUpEvent, ViewDocumentMouseOverEvent, ViewDocumentMouseOutEvent } from "./view/observer/mouseobserver.js";
|
|
117
|
+
export type { ViewDocumentTouchEndEvent, ViewDocumentTouchMoveEvent, ViewDocumentTouchStartEvent } from "./view/observer/touchobserver.js";
|
|
118
|
+
export type { ViewDocumentPointerDownEvent, ViewDocumentPointerMoveEvent, ViewDocumentPointerUpEvent } from "./view/observer/pointerobserver.js";
|
|
119
|
+
export type { ViewDocumentTabEvent } from "./view/observer/tabobserver.js";
|
|
120
|
+
export type { ViewDocumentClickEvent } from "./view/observer/clickobserver.js";
|
|
121
|
+
export type { ViewDocumentObserverSelectionChangeEvent, ViewDocumentObserverSelectionChangeDoneEvent } from "./view/observer/selectionobserver.js";
|
|
122
|
+
export { StylesMap, StylesProcessor, type StyleValue, type StylesNormalizer, type StylesExtractor, type StylesReducer, type Styles, type BoxStyleSides, type StylePropertyDescriptor } from "./view/stylesmap.js";
|
|
123
|
+
export { addBackgroundStylesRules } from "./view/styles/background.js";
|
|
124
|
+
export { addBorderStylesRules } from "./view/styles/border.js";
|
|
125
|
+
export { addMarginStylesRules } from "./view/styles/margin.js";
|
|
126
|
+
export { addPaddingStylesRules } from "./view/styles/padding.js";
|
|
127
|
+
export { isColorStyleValue, isLineStyleValue, isLengthStyleValue, isPercentageStyleValue, isRepeatStyleValue, isPositionStyleValue, isAttachmentStyleValue, isURLStyleValue, getBoxSidesStyleValues, getBoxSidesStyleValueReducer, getBoxSidesStyleShorthandValue, getPositionStyleShorthandNormalizer, getShorthandStylesValues } from "./view/styles/utils.js";
|
|
128
|
+
export { _getModelData, _setModelData, _parseModel, _stringifyModel } from "./dev-utils/model.js";
|
|
129
|
+
export { _getViewData, _setViewData, _parseView, _stringifyView } from "./dev-utils/view.js";
|
|
130
|
+
export { convertMapToTags as _convertMapToTags, convertMapToStringifiedObject as _convertMapToStringifiedObject, dumpTrees as _dumpTrees, initDocumentDumping as _initDocumentDumping, logDocument as _logDocument } from "./dev-utils/utils.js";
|
|
131
|
+
export { insertText as _downcastInsertText, insertAttributesAndChildren as _downcastInsertAttributesAndChildren, remove as _downcastRemove, createViewElementFromDowncastHighlightDescriptor as _downcastCreateViewElementFromDowncastHighlightDescriptor, convertRangeSelection as _downcastConvertRangeSelection, convertCollapsedSelection as _downcastConvertCollapsedSelection, cleanSelection as _downcastCleanSelection, wrap as _downcastWrap, insertElement as _downcastInsertElement, insertStructure as _downcastInsertStructure, insertUIElement as _downcastInsertUIElement, type ConsumerFunction as _DowncastConsumerFunction } from "./conversion/downcasthelpers.js";
|
|
132
|
+
export { MapperCache as _MapperCache } from "./conversion/mapper.js";
|
|
133
|
+
export { convertToModelFragment as _upcastConvertToModelFragment, convertText as _upcastConvertText, convertSelectionChange as _upcastConvertSelectionChange } from "./conversion/upcasthelpers.js";
|
|
134
|
+
export { ViewElementConsumables as _ViewElementConversionConsumables, normalizeConsumables as _normalizeConversionConsumables } from "./conversion/viewconsumable.js";
|
|
135
|
+
export { BasicHtmlWriter as _DataProcessorBasicHtmlWriter } from "./dataprocessor/basichtmlwriter.js";
|
|
136
|
+
export { OperationReplayer as _OperationReplayer } from "./dev-utils/operationreplayer.js";
|
|
137
|
+
export type { DifferSnapshot as _DifferSnapshot } from "./model/differ.js";
|
|
138
|
+
export type { BeforeChangesEvent as _ModelBeforeChangesEvent, AfterChangesEvent as _ModelAfterChangesEvent } from "./model/model.js";
|
|
139
|
+
export { DetachOperation as _DetachOperation } from "./model/operation/detachoperation.js";
|
|
140
|
+
export { transform as _operationTransform, type TransformationContext as _OperationTransformationContext } from "./model/operation/transform.js";
|
|
141
|
+
export { _insert as _insertIntoModelNodeList, _remove as _removeFromModelNodeList, _move as _moveInModelNodeList, _setAttribute as _setAttributeInModelNodeList, _normalizeNodes as _normalizeInModelNodeList, type ModelNodeSet } from "./model/operation/utils.js";
|
|
142
|
+
export { getTextNodeAtPosition as _getModelTextNodeAtPosition, getNodeAfterPosition as _getModelNodeAfterPosition, getNodeBeforePosition as _getModelNodeBeforePosition } from "./model/position.js";
|
|
143
|
+
export { autoParagraphEmptyRoots as _autoParagraphEmptyModelRoots, isParagraphable as _isParagraphableModelNode, wrapInParagraph as _wrapInModelParagraph } from "./model/utils/autoparagraphing.js";
|
|
144
|
+
export { deleteContent as _deleteModelContent } from "./model/utils/deletecontent.js";
|
|
145
|
+
export { getSelectedContent as _getSelectedModelContent } from "./model/utils/getselectedcontent.js";
|
|
146
|
+
export { insertContent as _insertModelContent } from "./model/utils/insertcontent.js";
|
|
147
|
+
export { insertObject as _insertModelObject } from "./model/utils/insertobject.js";
|
|
148
|
+
export { modifySelection as _modifyModelSelection } from "./model/utils/modifyselection.js";
|
|
149
|
+
export { injectSelectionPostFixer as _injectModelSelectionPostFixer, tryFixingRange as _tryFixingModelRange, mergeIntersectingRanges as _mergeIntersectingModelRanges } from "./model/utils/selection-post-fixer.js";
|
|
150
|
+
export { NBSP_FILLER as _VIEW_NBSP_FILLER, MARKED_NBSP_FILLER as _VIEW_MARKED_NBSP_FILLER, BR_FILLER as _VIEW_BR_FILLER, INLINE_FILLER_LENGTH as _VIEW_INLINE_FILLER_LENGTH, INLINE_FILLER as _VIEW_INLINE_FILLER, startsWithFiller as _startsWithViewFiller, isInlineFiller as _isInlineViewFiller, getDataWithoutFiller as _getDataWithoutViewFiller, injectQuirksHandling as _injectViewQuirksHandling } from "./view/filler.js";
|
|
151
|
+
export { isPatternMatched as _isViewPatternMatched, type NormalizedPropertyPattern as _NormalizedViewPropertyPattern } from "./view/matcher.js";
|
|
152
|
+
export { injectUiElementHandling as _injectViewUIElementHandling } from "./view/uielement.js";
|
|
153
|
+
import "../theme/index-editor.css";
|
|
154
|
+
import "../theme/index-content.css";
|