@ckeditor/ckeditor5-engine 48.2.0-alpha.7 → 48.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/controller/datacontroller.d.ts +329 -328
  2. package/dist/controller/editingcontroller.d.ts +95 -94
  3. package/dist/conversion/comparemarkers.d.ts +45 -45
  4. package/dist/conversion/conversion.d.ts +474 -474
  5. package/dist/conversion/conversionhelpers.d.ts +21 -21
  6. package/dist/conversion/downcastdispatcher.d.ts +539 -538
  7. package/dist/conversion/downcasthelpers.d.ts +1129 -1129
  8. package/dist/conversion/mapper.d.ts +692 -697
  9. package/dist/conversion/modelconsumable.d.ts +196 -196
  10. package/dist/conversion/upcastdispatcher.d.ts +483 -482
  11. package/dist/conversion/upcasthelpers.d.ts +491 -491
  12. package/dist/conversion/viewconsumable.d.ts +330 -330
  13. package/dist/dataprocessor/basichtmlwriter.d.ts +15 -15
  14. package/dist/dataprocessor/dataprocessor.d.ts +57 -57
  15. package/dist/dataprocessor/htmldataprocessor.d.ts +72 -72
  16. package/dist/dataprocessor/htmlwriter.d.ts +11 -11
  17. package/dist/dataprocessor/xmldataprocessor.d.ts +86 -86
  18. package/dist/dev-utils/model.d.ts +128 -123
  19. package/dist/dev-utils/operationreplayer.d.ts +49 -49
  20. package/dist/dev-utils/utils.d.ts +33 -33
  21. package/dist/dev-utils/view.d.ts +314 -309
  22. package/dist/engineconfig.d.ts +39 -39
  23. package/dist/index.css.map +1 -1
  24. package/dist/index.d.ts +150 -150
  25. package/dist/index.js +34026 -40107
  26. package/dist/index.js.map +1 -1
  27. package/dist/legacyerrors.d.ts +0 -4
  28. package/dist/model/batch.d.ts +86 -86
  29. package/dist/model/differ.d.ts +504 -504
  30. package/dist/model/document.d.ts +265 -268
  31. package/dist/model/documentfragment.d.ts +214 -214
  32. package/dist/model/documentselection.d.ts +406 -410
  33. package/dist/model/element.d.ts +182 -182
  34. package/dist/model/history.d.ts +109 -109
  35. package/dist/model/item.d.ts +9 -9
  36. package/dist/model/liveposition.d.ts +70 -69
  37. package/dist/model/liverange.d.ts +93 -92
  38. package/dist/model/markercollection.d.ts +317 -324
  39. package/dist/model/model.d.ts +889 -909
  40. package/dist/model/node.d.ts +254 -254
  41. package/dist/model/nodelist.d.ts +110 -110
  42. package/dist/model/operation/attributeoperation.d.ts +98 -98
  43. package/dist/model/operation/detachoperation.d.ts +57 -57
  44. package/dist/model/operation/insertoperation.d.ts +85 -85
  45. package/dist/model/operation/markeroperation.d.ts +87 -87
  46. package/dist/model/operation/mergeoperation.d.ts +95 -95
  47. package/dist/model/operation/moveoperation.d.ts +97 -97
  48. package/dist/model/operation/nooperation.d.ts +33 -33
  49. package/dist/model/operation/operation.d.ts +94 -94
  50. package/dist/model/operation/operationfactory.d.ts +14 -14
  51. package/dist/model/operation/renameoperation.d.ts +78 -78
  52. package/dist/model/operation/rootattributeoperation.d.ts +93 -93
  53. package/dist/model/operation/rootoperation.d.ts +71 -71
  54. package/dist/model/operation/splitoperation.d.ts +104 -104
  55. package/dist/model/operation/transform.d.ts +91 -91
  56. package/dist/model/operation/utils.d.ts +58 -58
  57. package/dist/model/position.d.ts +535 -535
  58. package/dist/model/range.d.ts +458 -453
  59. package/dist/model/rootelement.d.ts +55 -55
  60. package/dist/model/schema.d.ts +1325 -1327
  61. package/dist/model/selection.d.ts +452 -471
  62. package/dist/model/text.d.ts +62 -62
  63. package/dist/model/textproxy.d.ts +140 -140
  64. package/dist/model/treewalker.d.ts +190 -190
  65. package/dist/model/typecheckable.d.ts +281 -281
  66. package/dist/model/utils/autoparagraphing.d.ts +29 -29
  67. package/dist/model/utils/deletecontent.d.ts +68 -68
  68. package/dist/model/utils/getselectedcontent.d.ts +27 -27
  69. package/dist/model/utils/insertcontent.d.ts +42 -42
  70. package/dist/model/utils/insertobject.d.ts +41 -41
  71. package/dist/model/utils/modifyselection.d.ts +44 -44
  72. package/dist/model/utils/selection-post-fixer.d.ts +71 -71
  73. package/dist/model/writer.d.ts +854 -854
  74. package/dist/view/attributeelement.d.ts +123 -123
  75. package/dist/view/containerelement.d.ts +49 -49
  76. package/dist/view/datatransfer.d.ts +70 -70
  77. package/dist/view/document.d.ts +175 -177
  78. package/dist/view/documentfragment.d.ts +158 -157
  79. package/dist/view/documentselection.d.ts +308 -307
  80. package/dist/view/domconverter.d.ts +612 -657
  81. package/dist/view/downcastwriter.d.ts +1006 -1006
  82. package/dist/view/editableelement.d.ts +64 -63
  83. package/dist/view/element.d.ts +754 -754
  84. package/dist/view/elementdefinition.d.ts +79 -79
  85. package/dist/view/emptyelement.d.ts +42 -42
  86. package/dist/view/filler.d.ts +75 -75
  87. package/dist/view/item.d.ts +9 -9
  88. package/dist/view/matcher.d.ts +412 -487
  89. package/dist/view/node.d.ts +164 -163
  90. package/dist/view/observer/arrowkeysobserver.d.ts +37 -37
  91. package/dist/view/observer/bubblingemittermixin.d.ts +163 -153
  92. package/dist/view/observer/bubblingeventinfo.d.ts +45 -42
  93. package/dist/view/observer/clickobserver.d.ts +36 -36
  94. package/dist/view/observer/compositionobserver.d.ts +67 -67
  95. package/dist/view/observer/domeventdata.d.ts +46 -46
  96. package/dist/view/observer/domeventobserver.d.ts +77 -74
  97. package/dist/view/observer/fakeselectionobserver.d.ts +42 -42
  98. package/dist/view/observer/focusobserver.d.ts +84 -84
  99. package/dist/view/observer/inputobserver.d.ts +76 -76
  100. package/dist/view/observer/keyobserver.d.ts +53 -53
  101. package/dist/view/observer/mouseobserver.d.ts +73 -73
  102. package/dist/view/observer/mutationobserver.d.ts +101 -101
  103. package/dist/view/observer/observer.d.ts +84 -83
  104. package/dist/view/observer/pointerobserver.d.ts +63 -63
  105. package/dist/view/observer/selectionobserver.d.ts +136 -136
  106. package/dist/view/observer/tabobserver.d.ts +38 -38
  107. package/dist/view/observer/touchobserver.d.ts +60 -60
  108. package/dist/view/placeholder.d.ts +80 -80
  109. package/dist/view/position.d.ts +187 -187
  110. package/dist/view/range.d.ts +282 -282
  111. package/dist/view/rawelement.d.ts +72 -72
  112. package/dist/view/renderer.d.ts +270 -272
  113. package/dist/view/rooteditableelement.d.ts +43 -43
  114. package/dist/view/selection.d.ts +356 -369
  115. package/dist/view/styles/background.d.ts +15 -15
  116. package/dist/view/styles/border.d.ts +27 -27
  117. package/dist/view/styles/margin.d.ts +12 -12
  118. package/dist/view/styles/padding.d.ts +12 -12
  119. package/dist/view/styles/utils.d.ts +72 -72
  120. package/dist/view/stylesmap.d.ts +715 -715
  121. package/dist/view/text.d.ts +75 -75
  122. package/dist/view/textproxy.d.ts +92 -92
  123. package/dist/view/tokenlist.d.ts +104 -104
  124. package/dist/view/treewalker.d.ts +201 -201
  125. package/dist/view/typecheckable.d.ts +445 -445
  126. package/dist/view/uielement.d.ts +93 -93
  127. package/dist/view/upcastwriter.d.ts +412 -412
  128. package/dist/view/view.d.ts +466 -469
  129. package/package.json +2 -2
@@ -1,47 +1,47 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
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
- * @module engine/engineconfig
7
- */
6
+ * @module engine/engineconfig
7
+ */
8
8
  /**
9
- * CKEditor engine configuration options.
10
- *
11
- * This is a base class for {@link module:core/editor/editorconfig~EditorConfig `EditorConfig`}.
12
- */
9
+ * CKEditor engine configuration options.
10
+ *
11
+ * This is a base class for {@link module:core/editor/editorconfig~EditorConfig `EditorConfig`}.
12
+ */
13
13
  export interface EngineConfig {
14
- /**
15
- * Enables specific experimental features in the editor for testing and feedback.
16
- */
17
- experimentalFlags?: ExperimentalFlagsConfig;
14
+ /**
15
+ * Enables specific experimental features in the editor for testing and feedback.
16
+ */
17
+ experimentalFlags?: ExperimentalFlagsConfig;
18
18
  }
19
19
  /**
20
- * The `experimentalFlags` configuration option enables integrators to turn on specific experimental
21
- * or pre-release features in CKEditor 5. These flags are primarily intended for testing and feedback purposes
22
- * during the development of new functionality.
23
- *
24
- * Each key in the `experimentalFlags` object represents a unique experimental feature identifier.
25
- * Setting the flag’s value to true activates the feature, while false (or absence of the key) keeps it disabled.
26
- *
27
- * **Notes:**
28
- * * Use with caution: Experimental features are not guaranteed to be stable and may change or be removed in future releases.
29
- * * No compatibility guarantees: Their APIs, behavior, and configuration may change without notice.
30
- * * Intended audience: This option is mainly for developers testing upcoming features, contributors, or early adopters
31
- * evaluating new editor capabilities.
32
- */
20
+ * The `experimentalFlags` configuration option enables integrators to turn on specific experimental
21
+ * or pre-release features in CKEditor 5. These flags are primarily intended for testing and feedback purposes
22
+ * during the development of new functionality.
23
+ *
24
+ * Each key in the `experimentalFlags` object represents a unique experimental feature identifier.
25
+ * Setting the flag’s value to true activates the feature, while false (or absence of the key) keeps it disabled.
26
+ *
27
+ * **Notes:**
28
+ * * Use with caution: Experimental features are not guaranteed to be stable and may change or be removed in future releases.
29
+ * * No compatibility guarantees: Their APIs, behavior, and configuration may change without notice.
30
+ * * Intended audience: This option is mainly for developers testing upcoming features, contributors, or early adopters
31
+ * evaluating new editor capabilities.
32
+ */
33
33
  export interface ExperimentalFlagsConfig {
34
- /**
35
- * Controls deep schema verification during
36
- * {@link module:engine/model/model~Model#insertContent `model.insertContent()`} operations.
37
- * This ensures that all elements and attributes in the inserted content fully conform to the schema — not just
38
- * at the top level — which helps identify structural inconsistencies early.
39
- *
40
- * This feature is **enabled by default**. Set to `false` only if you need to temporarily opt out.
41
- * This flag is deprecated and will be removed in a future release.
42
- *
43
- * @deprecated This flag is deprecated. Deep schema verification is now enabled by default.
44
- * Set to `false` only as a temporary workaround. The flag will be removed in a future release.
45
- */
46
- modelInsertContentDeepSchemaVerification?: boolean;
34
+ /**
35
+ * Controls deep schema verification during
36
+ * {@link module:engine/model/model~Model#insertContent `model.insertContent()`} operations.
37
+ * This ensures that all elements and attributes in the inserted content fully conform to the schema — not just
38
+ * at the top level — which helps identify structural inconsistencies early.
39
+ *
40
+ * This feature is **enabled by default**. Set to `false` only if you need to temporarily opt out.
41
+ * This flag is deprecated and will be removed in a future release.
42
+ *
43
+ * @deprecated This flag is deprecated. Deep schema verification is now enabled by default.
44
+ * Set to `false` only as a temporary workaround. The flag will be removed in a future release.
45
+ */
46
+ modelInsertContentDeepSchemaVerification?: boolean;
47
47
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../theme/placeholder.css","index.css","../theme/renderer.css"],"names":[],"mappings":"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","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n\n.ck.ck-placeholder, .ck .ck-placeholder {\n\tposition: relative;\n\n\t@media (forced-colors: active) {\n\t\t/*\n\t\t * This is needed for Edge on Windows to use the right color for the placeholder content (::before).\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t */\n\t\tforced-color-adjust: preserve-parent-color;\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\tcursor: text;\n\n\t\t/* See https://github.com/ckeditor/ckeditor5/issues/469. */\n\t\tpointer-events: none;\n\n\t\t/*\n\t\t * Inherit the content styles padding of the placeholder host.\n\t\t * This ensures the placeholder stays at the padding just like the native caret does, and not at the edge of editable.\n\t\t */\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * The padding should not expand element width when some other style set width to 100%.\n\t\t */\n\t\tbox-sizing: border-box;\n\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\n\t\t@media (forced-colors: none) {\n\t\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t\t}\n\n\t\t@media (forced-colors: active) {\n\t\t\t/*\n\t\t\t * In the high contrast mode there is no telling between regular and placeholder text. Using\n\t\t\t * italic text to address that issue. See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t\t */\n\t\t\tfont-style: italic;\n\n\t\t\t/*\n\t\t\t * Without this margin, the caret will not show up and blink when the user puts the selection\n\t\t\t * in the placeholder (Edge on Windows). See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t\t */\n\t\t\tmargin-left: 1px;\n\t\t}\n\t}\n}\n\n/* See https://github.com/ckeditor/ckeditor5/issues/1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n",".ck.ck-placeholder, .ck .ck-placeholder {\n position: relative;\n}\n\n@media (forced-colors: active) {\n .ck.ck-placeholder, .ck .ck-placeholder {\n forced-color-adjust: preserve-parent-color;\n }\n}\n\n:is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n content: attr(data-placeholder);\n cursor: text;\n pointer-events: none;\n padding-left: inherit;\n padding-right: inherit;\n box-sizing: border-box;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: absolute;\n left: 0;\n right: 0;\n overflow: hidden;\n}\n\n@media (forced-colors: none) {\n :is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n color: var(--ck-color-engine-placeholder-text);\n }\n}\n\n@media (forced-colors: active) {\n :is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n margin-left: 1px;\n font-style: italic;\n }\n}\n\n.ck.ck-read-only .ck-placeholder:before {\n display: none;\n}\n\n.ck.ck-reset_all .ck-placeholder {\n position: relative;\n}\n\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n display: none;\n}\n\n/*# sourceMappingURL=index.css.map */","/*\n * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"]}
1
+ {"version":3,"sources":["../theme/placeholder.css","index.css","../theme/renderer.css"],"names":[],"mappings":"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","file":"index.css.map","sourcesContent":["/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n\n.ck.ck-placeholder, .ck .ck-placeholder {\n\tposition: relative;\n\n\t@media (forced-colors: active) {\n\t\t/*\n\t\t * This is needed for Edge on Windows to use the right color for the placeholder content (::before).\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t */\n\t\tforced-color-adjust: preserve-parent-color;\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\tcursor: text;\n\n\t\t/* See https://github.com/ckeditor/ckeditor5/issues/469. */\n\t\tpointer-events: none;\n\n\t\t/*\n\t\t * Inherit the content styles padding of the placeholder host.\n\t\t * This ensures the placeholder stays at the padding just like the native caret does, and not at the edge of editable.\n\t\t */\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * The padding should not expand element width when some other style set width to 100%.\n\t\t */\n\t\tbox-sizing: border-box;\n\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\n\t\t@media (forced-colors: none) {\n\t\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t\t}\n\n\t\t@media (forced-colors: active) {\n\t\t\t/*\n\t\t\t * In the high contrast mode there is no telling between regular and placeholder text. Using\n\t\t\t * italic text to address that issue. See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t\t */\n\t\t\tfont-style: italic;\n\n\t\t\t/*\n\t\t\t * Without this margin, the caret will not show up and blink when the user puts the selection\n\t\t\t * in the placeholder (Edge on Windows). See https://github.com/ckeditor/ckeditor5/issues/14907.\n\t\t\t */\n\t\t\tmargin-left: 1px;\n\t\t}\n\t}\n}\n\n/* See https://github.com/ckeditor/ckeditor5/issues/1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n",".ck.ck-placeholder, .ck .ck-placeholder {\n position: relative;\n}\n\n@media (forced-colors: active) {\n .ck.ck-placeholder, .ck .ck-placeholder {\n forced-color-adjust: preserve-parent-color;\n }\n}\n\n:is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n content: attr(data-placeholder);\n cursor: text;\n pointer-events: none;\n padding-left: inherit;\n padding-right: inherit;\n box-sizing: border-box;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: absolute;\n left: 0;\n right: 0;\n overflow: hidden;\n}\n\n@media (forced-colors: none) {\n :is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n color: var(--ck-color-engine-placeholder-text);\n }\n}\n\n@media (forced-colors: active) {\n :is(.ck.ck-placeholder, .ck .ck-placeholder):before {\n margin-left: 1px;\n font-style: italic;\n }\n}\n\n.ck.ck-read-only .ck-placeholder:before {\n display: none;\n}\n\n.ck.ck-reset_all .ck-placeholder {\n position: relative;\n}\n\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n display: none;\n}\n\n/*# sourceMappingURL=index.css.map */","/*\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -1,152 +1,152 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
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
- * @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 } 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 as ViewDocumentDomEventData } from './view/observer/domeventdata.js';
111
- export { type BubblingEvent, type BubblingEmitter, 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';
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 } 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";