platejs 54.0.0-beta.3 → 54.0.0-beta.4

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 (150) hide show
  1. package/dist/{AIChatRequestContext-DY104TqL.d.ts → AIChatRequestContext-DrUahdTc.d.ts} +2 -2
  2. package/dist/{BaseSuggestionPlugin-Deo6n6Fs.d.ts → BaseSuggestionPlugin-_7Ka6nY3.d.ts} +4 -4
  3. package/dist/{PlateStatic-CJX5bKuv.d.ts → PlateStatic-D3Cb-QwH.d.ts} +3 -3
  4. package/dist/ai/index.d.ts +1 -1
  5. package/dist/ai/react/index.d.ts +9 -9
  6. package/dist/authored/index.d.ts +3 -3
  7. package/dist/code-block/codemirror/index.d.ts +1 -1
  8. package/dist/{combobox-DAOYWuvC.d.ts → combobox-Dr0OYZIE.d.ts} +2 -2
  9. package/dist/{comparison-types-Dt-unJZY-DCddmbSD.d.ts → comparison-types-DdwE6mYq-BogsHoUO.d.ts} +1 -1
  10. package/dist/compiler/index.d.ts +2 -2
  11. package/dist/{core-ClHasORr.d.ts → core-BqR-fEDp.d.ts} +65 -26
  12. package/dist/diff/index.d.ts +2 -2
  13. package/dist/docs/api/core/plate-controller.md +1 -1
  14. package/dist/docs/api/core.md +45 -5
  15. package/dist/docs/api/dom.md +4 -7
  16. package/dist/docs/api/react-hooks.md +40 -22
  17. package/dist/docs/authored-changes.md +4 -2
  18. package/dist/docs/block-placeholder.md +4 -2
  19. package/dist/docs/board.md +57 -4
  20. package/dist/docs/comment.md +2 -2
  21. package/dist/docs/document-model.md +15 -3
  22. package/dist/docs/editor.md +50 -4
  23. package/dist/docs/llms.txt +1 -1
  24. package/dist/docs/markdown.md +97 -9
  25. package/dist/docs/plugin-input-rules.md +62 -3
  26. package/dist/docx/export/index.d.ts +3 -3
  27. package/dist/docx/export/lib/exportDocx.js +18 -13
  28. package/dist/docx/export/lib/internal/xml-builder.js +11 -16
  29. package/dist/docx/export/lib/reviewProjection.js +43 -3
  30. package/dist/docx/import/index.d.ts +4 -4
  31. package/dist/docx/paste/index.d.ts +4 -4
  32. package/dist/dom/index.d.ts +1 -1
  33. package/dist/excalidraw/index.d.ts +3 -3
  34. package/dist/excalidraw/react/index.d.ts +3 -3
  35. package/dist/facade.js +2 -2
  36. package/dist/features/board/index.d.ts +1 -1
  37. package/dist/features/callout/index.d.ts +3 -3
  38. package/dist/features/combobox/index.d.ts +2 -2
  39. package/dist/features/comments/BaseCommentsPlugin.js +33 -17
  40. package/dist/features/comments/index.d.ts +1 -1
  41. package/dist/features/date/index.d.ts +3 -3
  42. package/dist/features/details/index.d.ts +3 -3
  43. package/dist/features/details/lib/BaseDetailsPlugin.js +15 -2
  44. package/dist/features/field/index.d.ts +2 -2
  45. package/dist/features/field/index.js +4 -2
  46. package/dist/features/field/lib/BaseFieldPlugin.js +51 -105
  47. package/dist/features/field/lib/applyFieldValues.js +188 -0
  48. package/dist/features/field/lib/fieldRules.internal.js +169 -7
  49. package/dist/features/find/index.d.ts +3 -3
  50. package/dist/features/footnote/index.d.ts +1 -1
  51. package/dist/features/ink/index.d.ts +1 -1
  52. package/dist/features/ink/lib/inkGone.internal.js +6 -6
  53. package/dist/features/ink/lib/inkPlaces.internal.js +8 -9
  54. package/dist/features/layout/index.d.ts +1 -1
  55. package/dist/features/lint/index.d.ts +3 -3
  56. package/dist/features/media/index.d.ts +2 -2
  57. package/dist/features/media/index.js +2 -2
  58. package/dist/features/media/lib/media-embed/BaseMediaEmbedPlugin.js +200 -2
  59. package/dist/features/mention/index.d.ts +5 -5
  60. package/dist/features/suggestion/index.d.ts +1 -1
  61. package/dist/features/table/index.d.ts +1 -1
  62. package/dist/features/table/lib/BaseTablePlugin.js +50 -7
  63. package/dist/features/toc/index.d.ts +1 -1
  64. package/dist/features/upload/index.d.ts +1 -1
  65. package/dist/history/index.d.ts +2 -2
  66. package/dist/html/index.d.ts +3 -3
  67. package/dist/html/server/index.d.ts +1 -1
  68. package/dist/{htmlTypes-cg_cWsaN.d.ts → htmlTypes-eT2ZGDAj.d.ts} +1 -1
  69. package/dist/hyperscript/index.d.ts +1 -1
  70. package/dist/{index-D3-2iM1b.d.ts → index-B33E1CRJ.d.ts} +291 -4
  71. package/dist/{index-DKOFvteF.d.ts → index-B7moSod7.d.ts} +1 -1
  72. package/dist/{index-C9DiGDVj.d.ts → index-B8-5Sr7I.d.ts} +2 -2
  73. package/dist/{index-CzLwBZpY.d.ts → index-B8QJDAmG.d.ts} +2 -2
  74. package/dist/{index-Cmuluh6f.d.ts → index-BTx5oK7k.d.ts} +1 -1
  75. package/dist/{index-DPWyk3lG-DOYwohXO.d.ts → index-BWPcE4ac-Cto_IsNs.d.ts} +7 -1
  76. package/dist/{index-DpltOCot-A2b3p3Eb.d.ts → index-BXjLmx1n-CXk17buG.d.ts} +75 -27
  77. package/dist/{index-C6ql9pKw.d.ts → index-BXwU9QH6.d.ts} +2 -2
  78. package/dist/{index-CLsEe3LY.d.ts → index-BkwR-5hH.d.ts} +3 -3
  79. package/dist/{index-BZWFoUXt.d.ts → index-BsV2McRr.d.ts} +5 -5
  80. package/dist/{index-DQnjqtQa.d.ts → index-C9Fu-P4E.d.ts} +116 -21
  81. package/dist/{index-oIJAZxc2.d.ts → index-Ca48r1ng.d.ts} +3 -3
  82. package/dist/{index-Do9pj1GK.d.ts → index-Cob_iBdu.d.ts} +47 -6
  83. package/dist/{index-C1_JIhL4.d.ts → index-CpY7Xnxw.d.ts} +4 -4
  84. package/dist/{index-baQOK89E.d.ts → index-DNQXzU-X.d.ts} +1 -1
  85. package/dist/{index-8WO2vI0U.d.ts → index-DPowErHa.d.ts} +18 -20
  86. package/dist/{index-B5mYEawV.d.ts → index-DShbzec2.d.ts} +5 -6
  87. package/dist/{index-C35V_hj0.d.ts → index-DYdObeFQ.d.ts} +3 -3
  88. package/dist/{index-HPYawTae-BCUQLEWF.d.ts → index-Dq3Jlj8O-BJ6NxZm0.d.ts} +1 -1
  89. package/dist/{index-CdOLsPaW.d.ts → index-DwWQVwQt.d.ts} +3 -5
  90. package/dist/{index-r7yb77Wy.d.ts → index-JWgwL5l3.d.ts} +5 -3
  91. package/dist/{index-CktYvOgk.d.ts → index-M781pyx9.d.ts} +4 -4
  92. package/dist/{index-C0POz7rg.d.ts → index-d7io3MzC.d.ts} +3 -3
  93. package/dist/index.d.ts +4 -4
  94. package/dist/lib/plugins/element-id/ElementIdPlugin.js +6 -16
  95. package/dist/lib/plugins/input-rules/InputRulesPlugin.js +73 -14
  96. package/dist/markdown/index.d.ts +2 -2
  97. package/dist/markdown/index.js +2 -1
  98. package/dist/markdown/lib/MarkdownPlugin.js +8 -12
  99. package/dist/markdown/lib/RawHtmlPlugin.js +4 -2
  100. package/dist/markdown/lib/internal/markdownConversion.js +7 -4
  101. package/dist/markdown/lib/internal/markdownFootnoteWriter.js +35 -0
  102. package/dist/markdown/lib/internal/markdownRawHtml.js +40 -1
  103. package/dist/markdown/lib/internal/markdownTags.js +7 -1
  104. package/dist/math/index.d.ts +3 -3
  105. package/dist/math/react/index.d.ts +4 -4
  106. package/dist/migrations/index.d.ts +3 -3
  107. package/dist/migrations/migratePlateV54.js +4 -6
  108. package/dist/migrations/migratePlateV54RetiredMarks.internal.js +23 -8
  109. package/dist/migrations/migratePlateV54Suggestions.internal.js +2 -2
  110. package/dist/migrations/v53-manifest.internal.js +4 -0
  111. package/dist/pagination/index.d.ts +1 -1
  112. package/dist/pagination/react/index.d.ts +2 -2
  113. package/dist/react/components/EditorContentView.internal.js +26 -16
  114. package/dist/react/components/Plate.js +13 -20
  115. package/dist/react/features/board/boardExport.internal.js +470 -0
  116. package/dist/react/features/board/boardPictureStyles.internal.js +415 -0
  117. package/dist/react/features/board/boardView.internal.js +11 -6
  118. package/dist/react/features/board/index.d.ts +50 -6
  119. package/dist/react/features/callout/index.d.ts +3 -3
  120. package/dist/react/features/combobox/index.d.ts +5 -5
  121. package/dist/react/features/comments/index.d.ts +6 -6
  122. package/dist/react/features/date/index.d.ts +4 -4
  123. package/dist/react/features/details/index.d.ts +4 -4
  124. package/dist/react/features/field/FieldPlugin.js +5 -4
  125. package/dist/react/features/field/index.d.ts +19 -16
  126. package/dist/react/features/footnote/index.d.ts +7 -7
  127. package/dist/react/features/format-painter/index.d.ts +4 -4
  128. package/dist/react/features/ink/index.d.ts +5 -9
  129. package/dist/react/features/ink/inkPlacement.internal.js +2 -1
  130. package/dist/react/features/layout/index.d.ts +5 -5
  131. package/dist/react/features/media/index.d.ts +5 -5
  132. package/dist/react/features/mention/index.d.ts +6 -6
  133. package/dist/react/features/suggestion/index.d.ts +6 -6
  134. package/dist/react/features/table/index.d.ts +7 -6
  135. package/dist/react/features/table/useTableResize.js +10 -1
  136. package/dist/react/features/toc/index.d.ts +2 -2
  137. package/dist/react/features/upload/index.d.ts +5 -5
  138. package/dist/react/index.d.ts +6 -6
  139. package/dist/react/internal/plate-context.js +20 -11
  140. package/dist/react/stores/plate/useEditorSelector.js +22 -9
  141. package/dist/react/utils/BlockPlaceholderPlugin.js +5 -2
  142. package/dist/react/virtualized.d.ts +2 -2
  143. package/dist/{source-aUwpNnAw.d.ts → source-BGohy8vH.d.ts} +3 -3
  144. package/dist/static/index.d.ts +5 -5
  145. package/dist/tabbable/index.d.ts +1 -1
  146. package/dist/tabbable/react/index.d.ts +3 -3
  147. package/dist/testing/index.d.ts +2 -2
  148. package/dist/yjs/index.d.ts +1 -1
  149. package/dist/yjs/react/index.d.ts +5 -5
  150. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
- import { Ki as Location, ru as Value, us as Range, x as BaseRange } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import "./htmlTypes-cg_cWsaN.js";
3
- import { _ as BasePlugin } from "./core-ClHasORr.js";
4
- import { r as AnnotationChange } from "./index-DPWyk3lG-DOYwohXO.js";
1
+ import { Ji as Location, ps as Range, su as Value, x as BaseRange } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import "./htmlTypes-eT2ZGDAj.js";
3
+ import { _ as BasePlugin } from "./core-BqR-fEDp.js";
4
+ import { r as AnnotationChange } from "./index-BWPcE4ac-Cto_IsNs.js";
5
5
  type CommentUser = Readonly<{
6
6
  id: string;
7
7
  name: string;
@@ -1,4 +1,4 @@
1
- import { D as CarriedRun, Et as EditorEffect, Io as PluginTypeProvider, J as DocumentChange, Mc as Selection, Mi as HistoryApi, Rn as EditorSchemaIdentity, Tu as encodeEditorSelection, Y as Editor, bs as RootFactsJson, eu as TxDeclaredMethod, nu as TxOnlyMethod, ro as Plugin, ru as Value, wu as encodeEditorEffect } from "./index-DpltOCot-A2b3p3Eb.js";
1
+ import { Au as encodeEditorSelection, Cs as RootFactsJson, D as CarriedRun, Et as EditorEffect, Fc as Selection, J as DocumentChange, Pi as HistoryApi, Y as Editor, iu as TxDeclaredMethod, ku as encodeEditorEffect, oo as Plugin, ou as TxOnlyMethod, su as Value, zn as EditorSchemaIdentity, zo as PluginTypeProvider } from "./index-BXjLmx1n-CXk17buG.js";
2
2
  interface Batch<_V extends Value = Value> {
3
3
  /** Canonical change to apply when this batch is consumed. */
4
4
  readonly change: DocumentChange;
@@ -1,9 +1,9 @@
1
- import { F as DecorationAttributes, Fl as TransferInput, I as DecorationRefresh, Ia as NodeSetNodesOptions, Jt as EditorNodeChangeContext, Ki as Location, Lo as PluginTypeProviderOf, Lr as EditorTransactionChangeContext, Mc as Selection, Ml as TransferCheck, Mo as PluginReference, Ni as HistoryOutcome, Or as EditorTextChangeContext, P as Decoration, Pa as NodeSelection, Ps as SchemaContentRule, Qn as EditorSchemaSourceProvider, Qo as PropertyJsonDescriptor, R as DefinitionOf, Ra as NodeTarget, Si as Element$1, To as PluginPortal$1, Tt as EditorDocumentValue, Ul as TransferPlugin, Uo as PluginsOf, Vo as PluginWitnessFor, Vt as EditorJsonValue, Wl as TransferRead, Ws as SchemaElementPropertyDefinition, Y as Editor$3, Yo as PropertyBooleanDescriptor, Za as Path, Zn as EditorSchemaSource, Zo as PropertyEnumDescriptor, _l as TextInsertFragmentOptions, _o as PluginDependencyReferenceFor, al as StateFieldValueInput, ci as EditorUpdatePolicy, cl as Text, da as NodeEntry, dr as EditorStateField, dt as EditorCommit, es as PropertyNumberDescriptor, eu as TxDeclaredMethod, f as AnyEditor, ho as PluginDependencyContractReference, is as PropertyStringDescriptor, iu as ValueOf, jl as TransferApi, ki as ElementOf, ls as PropertyValueOptions, mt as EditorCommitContext, na as NamedRootKey, oi as EditorUpdateContext, rc as SchemaNodeTypeProvider, ro as Plugin$1, ru as Value, tu as TxMethodDeclarations, us as Range, v as BaseElement, wr as EditorStateView, ws as SchemaContentDefault, xa as NodeKey, xi as EditorViewOptions, xl as TextOf, xs as RootKey, zl as TransferOutcome } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import { h as EditorApplicationSchema } from "./htmlTypes-cg_cWsaN.js";
3
- import { $ as PluginContributionCompatibility, $t as UpsertLinkOptions, A as DefinePluginFormats, Ai as AutoScrollOptions, An as CapturedFormat, Ao as PluginSelectorMethods, Ba as AnyBasePluginDefinition, Bt as OutdentListOptions, Co as PluginSchemaContext, Ct as PluginTransaction, D as ConfiguredPluginDescriptor, Di as AutoScrollApi, Er as RenderTextProps$1, Et as CorePlugins, Fa as ElementWith, G as PluginShortcutInput, Ga as DefinitionOf$1, Go as AnyObject, Ha as BasePluginDefinition, Ho as InferPluginSchema, Ht as ToggleListOptions, Ii as ScrollMode, Io as SelectionRules, Ja as GetInjectNodePropsOptions, Jt as CreateLinkNodeOptions, Ko as UnknownObject, Lt as ListStyle, Mo as PluginSelectors, Na as HandlerReturnType, Or as RenderLeafProps$1, Po as PluginViewStore, Q as PluginCompatibilityArguments, Qa as InferDependencies, Qn as HeadingLevel, Qt as UnwrapLinkOptions, Rt as ListType, Tt as CoreEditorApi, Ua as BaseTransformOptions, Uo as InferPluginSchemaContribution, V as InternalBasePluginRuntimeExtension, Va as BaseInjectProps, Vo as InferPluginNodeTypeProvider, Wo as Nullable, Wt as isListLevels, Xa as InferApi, Ya as GetInjectNodePropsReturnType, Yt as LinkAttributes, Z as MergePluginDefinitions, Za as InferConflicts, _ as BasePlugin, _n as Alignment, _o as PluginBaseContext, aa as BasePluginInstalledCapabilityWitness, ao as InferPluginStoreState, at as RuntimePluginsFromTuple, b as BasePluginDefinitionInput, bo as PluginPortalContext, bt as PluginReadCapability, co as InferRead, ct as BlockInsertOptions, do as InferUpdate, dt as InferEditorRuntimePlugins, ea as PluginInitialStateInput, en as WrapLinkOptions, er as ToggleHeadingOptions, f as InternalBaseEditorWithInstalledPlugins, ft as InferRuntimePlugins, g as AnyPluginBase, gn as HighlightResult, gr as GetFragmentPropOptions, gt as MergeInstalledPluginDefinitions, h as AnyBasePluginPortal, ho as NormalizePluginState, ht as InternalInstalledSchemaMutationProvider, ia as BasePluginDependencyReferences, it as PlatePluginsFromTuple, j as EditorShortcut, ja as RenderElementProps$1, ji as AutoScrollUpdate, jo as PluginSelectorReturn, ko as PluginSelectorArgs, lo as InferSelectors, lt as BlockUpsertOptions, m as AnyBasePluginContext, mo as NormalizePluginSelectors, na as BasePluginDependencyDescriptors, nt as EditorOptions, oa as LowerBasePlugin, on as isNonNegativeSafeInteger, p as AnyBasePlugin, po as NodeComponent, pt as InternalEditorMutationProvider, qa as EditOnlyConfig, qo as GeneratedEditorMutations, rn as IndentChangeOptions, rt as EditorValueInput, sa as NormalizeBasePluginInput, so as InferPluginViewState, st as BasePluginInput, ta as RequiredPluginState, u as Editor$4, v as BasePluginConfiguration, vo as PluginDefinitionWitness, vt as PluginDirectUpdate, wo as PluginSchemaDeclaration, xo as PluginReference$1, xt as PluginReadState, yo as PluginDependency, za as InternalPluginDefinitionOf, zo as WithAnyName } from "./core-ClHasORr.js";
4
- import { I as ScrollIntoViewOptions, T as DataTransferDiagnostic, a as DOMCoverageBoundary, c as DOMCoverageMaterializeReason, d as DOMEditor, h as DOMPluginTypes, i as DOMClipboardApi, j as DropIndicator, l as DOMCoverageReason, m as DOMPlugin, o as DOMCoverageCopyPolicy, r as DOMApi, s as DOMCoverageMaterializeRangeRole, u as DOMCoverageSelectionPolicy } from "./index-B5mYEawV.js";
5
- import { a as AnnotationSnapshot, d as ViewSourceErrorSink, l as ResolvedAnnotation, o as AnnotationStore, t as Annotation } from "./index-DPWyk3lG-DOYwohXO.js";
6
- import { n as EditorStaticProps } from "./PlateStatic-CJX5bKuv.js";
1
+ import { $a as Path, $n as EditorSchemaSourceProvider, Ba as NodeTarget, Bo as PluginTypeProviderOf, Ca as NodeKey, Ci as Element$1, Ds as SchemaContentDefault, F as DecorationAttributes, Fc as Selection, Fi as HistoryOutcome, Fl as TransferApi, Fo as PluginReference, Ht as EditorJsonValue, I as DecorationRefresh, Ia as NodeSelection, Il as TransferCheck, Ji as Location, Jl as TransferRead, Ko as PluginsOf, Ls as SchemaContentRule, Oo as PluginPortal$1, P as Decoration, Qn as EditorSchemaSource, Qo as PropertyBooleanDescriptor, R as DefinitionOf, Ra as NodeSetNodesOptions, Rr as EditorTransactionChangeContext, Si as EditorViewOptions, Tr as EditorStateView, Tt as EditorDocumentValue, Ul as TransferOutcome, Wo as PluginWitnessFor, Y as Editor$3, Yt as EditorNodeChangeContext, au as TxMethodDeclarations, bl as TextInsertFragmentOptions, bo as PluginDependencyReferenceFor, cl as StateFieldValueInput, cu as ValueOf, dl as Text, dt as EditorCommit, es as PropertyEnumDescriptor, f as AnyEditor, fr as EditorStateField, fs as PropertyValueOptions, ia as NamedRootKey, iu as TxDeclaredMethod, ji as ElementOf, kr as EditorTextChangeContext, li as EditorUpdatePolicy, mt as EditorCommitContext, oc as SchemaNodeTypeProvider, oo as Plugin$1, pa as NodeEntry, ps as Range, ql as TransferPlugin, qs as SchemaElementPropertyDefinition, rs as PropertyNumberDescriptor, si as EditorUpdateContext, ss as PropertyStringDescriptor, su as Value, ts as PropertyJsonDescriptor, v as BaseElement, vo as PluginDependencyContractReference, wl as TextOf, ws as RootKey, zl as TransferInput } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import { h as EditorApplicationSchema } from "./htmlTypes-eT2ZGDAj.js";
3
+ import { $ as PluginContributionCompatibility, $a as InferConflicts, $t as UpsertLinkOptions, A as DefinePluginFormats, An as CapturedFormat, Bt as OutdentListOptions, Co as PluginReference$1, Ct as PluginTransaction, D as ConfiguredPluginDescriptor, Eo as PluginSchemaDeclaration, Er as RenderTextProps$1, Et as CorePlugins, Fa as HandlerReturnType, G as PluginShortcutInput, Ga as BaseTransformOptions, Go as InferPluginSchemaContribution, Ha as AnyBasePluginDefinition, Ht as ToggleListOptions, Io as PluginViewStore, Jo as UnknownObject, Jt as CreateLinkNodeOptions, Ko as Nullable, La as ElementWith, Lt as ListStyle, Mi as AutoScrollOptions, Mo as PluginSelectorMethods, Na as RenderElementProps$1, Ni as AutoScrollUpdate, No as PluginSelectorReturn, Or as RenderLeafProps$1, Po as PluginSelectors, Q as PluginCompatibilityArguments, Qa as InferApi, Qn as HeadingLevel, Qt as UnwrapLinkOptions, Ri as ScrollMode, Ro as SelectionRules, Rt as ListType, So as PluginPortalContext, To as PluginSchemaContext, Tt as CoreEditorApi, Ua as BaseInjectProps, Uo as InferPluginNodeTypeProvider, V as InternalBasePluginRuntimeExtension, Va as InternalPluginDefinitionOf, Vo as WithAnyName, Wa as BasePluginDefinition, Wo as InferPluginSchema, Wt as isListLevels, Xa as GetInjectNodePropsOptions, Ya as EditOnlyConfig, Yo as GeneratedEditorMutations, Yt as LinkAttributes, Z as MergePluginDefinitions, Za as GetInjectNodePropsReturnType, _ as BasePlugin, _n as Alignment, _o as NormalizePluginState, at as RuntimePluginsFromTuple, b as BasePluginDefinitionInput, bo as PluginDefinitionWitness, bt as PluginReadCapability, ca as LowerBasePlugin, ct as BlockInsertOptions, do as InferSelectors, dt as InferEditorRuntimePlugins, en as WrapLinkOptions, eo as InferDependencies, er as ToggleHeadingOptions, f as InternalBaseEditorWithInstalledPlugins, ft as InferRuntimePlugins, g as AnyPluginBase, gn as HighlightResult, go as NormalizePluginSelectors, gr as GetFragmentPropOptions, gt as MergeInstalledPluginDefinitions, h as AnyBasePluginPortal, ho as NodeComponent, ht as InternalInstalledSchemaMutationProvider, ia as BasePluginDependencyDescriptors, it as PlatePluginsFromTuple, j as EditorShortcut, jo as PluginSelectorArgs, ki as AutoScrollApi, la as NormalizeBasePluginInput, lo as InferPluginViewState, lt as BlockUpsertOptions, m as AnyBasePluginContext, na as PluginInitialStateInput, nt as EditorOptions, oa as BasePluginDependencyReferences, on as isNonNegativeSafeInteger, p as AnyBasePlugin, po as InferUpdate, pt as InternalEditorMutationProvider, qa as DefinitionOf$1, qo as AnyObject, ra as RequiredPluginState, rn as IndentChangeOptions, rt as EditorValueInput, sa as BasePluginInstalledCapabilityWitness, so as InferPluginStoreState, st as BasePluginInput, u as Editor$4, uo as InferRead, v as BasePluginConfiguration, vt as PluginDirectUpdate, xo as PluginDependency, xt as PluginReadState, yo as PluginBaseContext } from "./core-BqR-fEDp.js";
4
+ import { I as ScrollIntoViewOptions, T as DataTransferDiagnostic, a as DOMCoverageBoundary, c as DOMCoverageMaterializeReason, d as DOMEditor, h as DOMPluginTypes, i as DOMClipboardApi, j as DropIndicator, l as DOMCoverageReason, m as DOMPlugin, o as DOMCoverageCopyPolicy, r as DOMApi, s as DOMCoverageMaterializeRangeRole, u as DOMCoverageSelectionPolicy } from "./index-DShbzec2.js";
5
+ import { a as AnnotationSnapshot, d as ViewSourceErrorSink, l as ResolvedAnnotation, o as AnnotationStore, t as Annotation } from "./index-BWPcE4ac-Cto_IsNs.js";
6
+ import { n as EditorStaticProps } from "./PlateStatic-D3Cb-QwH.js";
7
7
  import React$1, { CSSProperties, HTMLAttributes, KeyboardEvent as KeyboardEvent$1, MouseEventHandler, ReactNode, Ref, RefObject, TextareaHTMLAttributes } from "react";
8
8
  import "lodash";
9
9
  /** An immutable rectangle in viewport coordinates. */
@@ -822,15 +822,12 @@ type UseRootEditorOptions = {
822
822
  * It obeys the read-only state and the authored view of the mounted view that
823
823
  * shows its root, and of the view around the hook while none shows it. Inside
824
824
  * a view, that mounted view is the one this view mounts for the root, such as
825
- * its own board when two editing areas show the same board. While its
826
- * `EditorRoot` is writable, shows no editing area and the caret is in its
827
- * root, it follows the editing area that holds the caret, for that area's DOM
828
- * and the read-only state of that area's `EditorRoot`. It keeps its own
829
- * `EditorRoot`'s authored view there, and a write that places the caret, even
830
- * where the caret already is, moves the caret into its own `EditorRoot`, which
831
- * ends the follow. Use it for root-specific toolbar/sidebar commands. Pass
832
- * `readOnly: true` when UI only needs read APIs. Exact plugin capability comes
833
- * from `editor.plugin(Plugin)`.
825
+ * its own board when two editing areas show the same board. It acts only
826
+ * under its own `EditorRoot`, so while that `EditorRoot` shows no editing
827
+ * area for its root, `api.dom.editable()` returns `null`, even when an
828
+ * editing area in another `EditorRoot` holds the caret. Use it for
829
+ * root-specific toolbar/sidebar commands. Pass `readOnly: true` when UI only
830
+ * needs read APIs. Exact plugin capability comes from `editor.plugin(Plugin)`.
834
831
  */
835
832
  declare function useRootEditor<const TRoot extends RootKey = RootKey>(root?: NamedRootKey<TRoot>, options?: UseRootEditorOptions): Editor$2;
836
833
  /** Identifies the exact mounted Editable used to resolve selection geometry. */
@@ -1946,11 +1943,12 @@ declare function useEditorHistory<const TRoot extends RootKey = RootKey>(options
1946
1943
  type UseEditorSelectorOptions<T> = EditorRuntimeStateSelectorOptions<T, Editor>;
1947
1944
  /**
1948
1945
  * Subscribe to a value derived from the selected editor. A selector that
1949
- * keeps its identity between renders runs at most once per commit, and once
1950
- * more when the selected editor changes, such as when the caret moves to
1951
- * another root. A selector written inline gets a new identity each render, so
1952
- * it also runs on every render of its component. A change that leaves the
1953
- * value equal renders nothing.
1946
+ * keeps its identity between renders runs at most once per commit, once more
1947
+ * when the selected editor changes, such as when the caret moves to another
1948
+ * root, and once more when the editor shows a different review preview than
1949
+ * the selector last read. A selector written inline gets a new identity each
1950
+ * render, so it also runs on every render of its component. A change that
1951
+ * leaves the value equal renders nothing.
1954
1952
  */
1955
1953
  declare const useEditorSelector: <T>(selector: (editor: Editor) => T, options?: UseEditorSelectorOptions<T>) => T;
1956
1954
  type PluginStoreDescriptor = Readonly<{
@@ -1,4 +1,4 @@
1
- import { H as Descendant, Pc as SelectionAssociation, Si as Element$1, Wo as Point, Y as Editor, Za as Path, ac as SchemaProperty, f as AnyEditor, j as ContentSlice, ra as Node$1, ro as Plugin, ru as Value, tt as EditorCommand, us as Range$1, vt as EditorCoreStateView, xa as NodeKey, xs as RootKey } from "./index-DpltOCot-A2b3p3Eb.js";
1
+ import { $a as Path, Ca as NodeKey, Ci as Element$1, H as Descendant, Lc as SelectionAssociation, Y as Editor, aa as Node$1, cc as SchemaProperty, f as AnyEditor, j as ContentSlice, oo as Plugin, ps as Range$1, qo as Point, su as Value, tt as EditorCommand, vt as EditorCoreStateView, ws as RootKey } from "./index-BXjLmx1n-CXk17buG.js";
2
2
  import { StandardBehaviorOptions } from "scroll-into-view-if-needed";
3
3
  /**
4
4
  * Types.
@@ -229,11 +229,10 @@ interface DOMApi {
229
229
  /**
230
230
  * The DOM document or shadow root holding the Editable of the view this
231
231
  * editor's calls run in. A view's own editor runs in its own view. A
232
- * `useRootEditor` editor runs in a view of its root from its `EditorRoot`.
233
- * While that `EditorRoot` shows no editing area and the caret is in the
234
- * editor's root, it runs in the view that holds the caret. The editor
235
- * `createEditor` returns runs in a view of the selection's root,
236
- * else of main. When the caret was placed in that root from an
232
+ * `useRootEditor` editor runs in a view of its root from its `EditorRoot`,
233
+ * and gets null while that `EditorRoot` shows no editing area for its root.
234
+ * The editor `createEditor` returns runs in a view of the selection's
235
+ * root, else of main. When the caret was placed in that root from an
237
236
  * `EditorRoot`, only that `EditorRoot`'s views of the root count, even
238
237
  * after this editor moves the caret within it. Of the views that count, it
239
238
  * takes the only one, else the one that holds focus, through iframes and
@@ -1,6 +1,6 @@
1
- import { Tt as EditorDocumentValue } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import { d as HtmlSerializeResult, l as HtmlParseOptions, r as HtmlDocumentParseResult, u as HtmlSerializeOptions } from "./htmlTypes-cg_cWsaN.js";
3
- import "./core-ClHasORr.js";
1
+ import { Tt as EditorDocumentValue } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import { d as HtmlSerializeResult, l as HtmlParseOptions, r as HtmlDocumentParseResult, u as HtmlSerializeOptions } from "./htmlTypes-eT2ZGDAj.js";
3
+ import "./core-BqR-fEDp.js";
4
4
  declare const parseHtml: (source: string, options: HtmlParseOptions) => HtmlDocumentParseResult;
5
5
  declare const serializeHtml: (document: EditorDocumentValue, options: HtmlSerializeOptions) => HtmlSerializeResult;
6
6
  export { serializeHtml as n, parseHtml as t };
@@ -1,4 +1,4 @@
1
- import { Cl as TextSelection, H as Descendant, Mc as Selection, Si as Element, Y as Editor, Za as Path, cl as Text } from "./index-DpltOCot-A2b3p3Eb.js";
1
+ import { $a as Path, Ci as Element, El as TextSelection, Fc as Selection, H as Descendant, Y as Editor, dl as Text } from "./index-BXjLmx1n-CXk17buG.js";
2
2
  /**
3
3
  * All tokens inherit from a single constructor for `instanceof` checking.
4
4
  */
@@ -1,6 +1,6 @@
1
- import { Ws as SchemaElementPropertyDefinition, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ro as Plugin, xa as NodeKey } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import "./htmlTypes-cg_cWsaN.js";
3
- import { _ as BasePlugin, ra as BasePluginDependencyReferenceFor, wi as ElementIdEntry, xo as PluginReference, yo as PluginDependency } from "./core-ClHasORr.js";
1
+ import { Ca as NodeKey, iu as TxDeclaredMethod, oo as Plugin, qs as SchemaElementPropertyDefinition, ss as PropertyStringDescriptor } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import "./htmlTypes-eT2ZGDAj.js";
3
+ import { Co as PluginReference, _ as BasePlugin, aa as BasePluginDependencyReferenceFor, xo as PluginDependency } from "./core-BqR-fEDp.js";
4
4
  /** Which way a mark's text runs. */
5
5
  type InkDirection = 'ltr' | 'rtl';
6
6
  /**
@@ -194,7 +194,6 @@ declare const BaseInkPlugin: BasePlugin<Readonly<{
194
194
  value: string;
195
195
  }>;
196
196
  }> & Readonly<Record<"read", {
197
- readonly entry: (id: string) => ElementIdEntry | undefined;
198
197
  readonly id: (key: NodeKey) => string | undefined;
199
198
  }>> & Readonly<Record<"schema", {
200
199
  readonly properties: {
@@ -239,7 +238,6 @@ declare const BaseInkPlugin: BasePlugin<Readonly<{
239
238
  readonly generateId: () => string;
240
239
  };
241
240
  readonly read: {
242
- readonly entry: (id: string) => ElementIdEntry | undefined;
243
241
  readonly id: (key: NodeKey) => string | undefined;
244
242
  };
245
243
  }>> & Readonly<Record<never, never>>, "~schema.plugins">];
@@ -1,6 +1,6 @@
1
- import { Pa as NodeSelection, Ps as SchemaContentRule, Qo as PropertyJsonDescriptor, Ra as NodeTarget, Vt as EditorJsonValue, Yo as PropertyBooleanDescriptor, es as PropertyNumberDescriptor, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ki as ElementOf, ls as PropertyValueOptions, na as NamedRootKey, wi as ElementEntry, ws as SchemaContentDefault, xa as NodeKey } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import "./htmlTypes-cg_cWsaN.js";
3
- import { Ga as DefinitionOf, _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, xo as PluginReference, yo as PluginDependency } from "./core-ClHasORr.js";
1
+ import { Ba as NodeTarget, Ca as NodeKey, Ds as SchemaContentDefault, Ht as EditorJsonValue, Ia as NodeSelection, Ls as SchemaContentRule, Qo as PropertyBooleanDescriptor, Ti as ElementEntry, fs as PropertyValueOptions, ia as NamedRootKey, iu as TxDeclaredMethod, ji as ElementOf, rs as PropertyNumberDescriptor, ss as PropertyStringDescriptor, ts as PropertyJsonDescriptor } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import "./htmlTypes-eT2ZGDAj.js";
3
+ import { Co as PluginReference, _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, qa as DefinitionOf, xo as PluginDependency } from "./core-BqR-fEDp.js";
4
4
  type TableCellBorder = Readonly<{
5
5
  color?: string;
6
6
  style?: string;
@@ -2588,6 +2588,8 @@ declare const BaseTablePlugin: BasePlugin<Readonly<{
2588
2588
  * Interior boundaries preserve the adjacent columns' combined width.
2589
2589
  * The left boundary exchanges first-column width for table indentation.
2590
2590
  * Commit the result with `update.resize`; previews never change the editor.
2591
+ * Throws a `RangeError` for a column edge while the table holds a pending
2592
+ * column width change.
2591
2593
  */
2592
2594
  readonly createResize: (table: TableElement, target: TableResizeTarget) => (delta: number) => TableResize;
2593
2595
  };
@@ -1,7 +1,7 @@
1
- import { ro as Plugin } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import "./htmlTypes-cg_cWsaN.js";
3
- import { V as InternalBasePluginRuntimeExtension, _ as BasePlugin, ra as BasePluginDependencyReferenceFor, za as InternalPluginDefinitionOf } from "./core-ClHasORr.js";
4
- import { _ as AuthoredPlugin$1 } from "./index-C9DiGDVj.js";
1
+ import { oo as Plugin } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import "./htmlTypes-eT2ZGDAj.js";
3
+ import { V as InternalBasePluginRuntimeExtension, Va as InternalPluginDefinitionOf, _ as BasePlugin, aa as BasePluginDependencyReferenceFor } from "./core-BqR-fEDp.js";
4
+ import { _ as AuthoredPlugin$1 } from "./index-B8-5Sr7I.js";
5
5
  declare const BaseAuthoredPlugin: BasePlugin<Readonly<{}> & Readonly<{
6
6
  name: "authored";
7
7
  }> & Readonly<{
@@ -1,6 +1,6 @@
1
- import { Ki as Location, Pa as NodeSelection, Ps as SchemaContentRule, Ra as NodeTarget, Si as Element, Vt as EditorJsonValue, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ki as ElementOf, ws as SchemaContentDefault } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import "./htmlTypes-cg_cWsaN.js";
3
- import { Ga as DefinitionOf, _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, xo as PluginReference, yo as PluginDependency } from "./core-ClHasORr.js";
1
+ import { Ba as NodeTarget, Ci as Element, Ds as SchemaContentDefault, Ht as EditorJsonValue, Ia as NodeSelection, Ji as Location, Ls as SchemaContentRule, iu as TxDeclaredMethod, ji as ElementOf, ss as PropertyStringDescriptor } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import "./htmlTypes-eT2ZGDAj.js";
3
+ import { Co as PluginReference, _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, qa as DefinitionOf, xo as PluginDependency } from "./core-BqR-fEDp.js";
4
4
  type SetColumnsOptions = {
5
5
  /** Column group location. */
6
6
  at?: NodeTarget<Element>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as EditorBreakExitOptions, $a as PathApi, $c as SpanApi, $i as MoveSelectionCommand, $l as TransferWrap, $n as EditorSchemaStructureProperty, $o as PropertyJsonOptions, $r as EditorTransactionTagsApi, $s as SchemaGroup, $t as EditorNodeUnsetOptions, $u as transfer, A as CompatibleEditorCommand, Aa as NodeOf, Ac as SchemaValueFromPlugins, Ai as ElementOrTextIn, Al as TransferAdoptInput, An as EditorSchemaDefinition, Ao as PluginReadMiddlewareFactory, Ar as EditorToggleBlockOptions, As as SchemaContentRootInput, At as EditorEffectCollabTransport, B as DeleteFragmentCommand, Ba as NodeTextRangeMatch, Bc as SelectionSetPointOptions, Bi as InsertTextCommand, Bl as TransferPatch, Bn as EditorSchemaOverride, Bo as PluginUpdateFactoryContext, Br as EditorTransactionChangesApi, Bs as SchemaElementInput, Bt as EditorIsEditorOptions, C as BlockDuplicateOptions, Ca as NodeLiftNodesOptions, Cc as SchemaTextProperties, Ci as ElementApi, Cl as TextSelection, Cn as EditorSchemaContractContentProgram, Co as PluginMigrationContext, Cr as EditorStateValueApi, Cs as SchemaContent, Ct as EditorDocumentRange, Cu as editorReads, Da as NodeMoveNodesOptions, Dc as SchemaTextPropertyOptions, Di as ElementInterface, Dl as ToggleMarkCommand, Dn as EditorSchemaContractRoot, Do as PluginReadContext, Dr as EditorTargetRuntime, Ds as SchemaContentPrefixSlot, Dt as EditorEffectCollabDecodeContext, Du as getEditorRuntimeOwner, E as BooleanMarksOf, Ea as NodeMergeNodesOptions, Ec as SchemaTextPropertyKeys, Ei as ElementIn, El as ToggleBlockCommand, En as EditorSchemaContractElement, Eo as PluginPublicationError, Es as SchemaContentOptions, Et as EditorEffect, F as DecorationAttributes, Fa as NodeSelectionMode, Fc as SelectionCollapseOptions, Fi as HistorySettlement, Fl as TransferInput, Fn as EditorSchemaElementOverrideInput, Fo as PluginSlotValue, Fr as EditorTransactionBlocksApi, Fs as SchemaDescendant, Ft as EditorFragmentReadOptions, Fu as isEditor, G as DescendantEntryOf, Ga as NodeTypeSelector, Gc as SetNodesCommand, Gi as LeafPosition, Gl as TransferRefusalReason, Gn as EditorSchemaPropertyOverride, Go as PointApi, Gr as EditorTransactionNodesApi, Gs as SchemaElementPropertyKeys, Gt as EditorMarks, Gu as schema$1, H as Descendant, Ha as NodeTextRangeRoot, Hc as SerializedEditorEffect, Hi as JsonEditorValue, Hl as TransferPayload, Hn as EditorSchemaPlugin, Ho as PluginsFromOptions, Hr as EditorTransactionEffectsApi, Hs as SchemaElementPropertiesFor, Ht as EditorLevelsOptions, Hu as readEditorSchemaContract, I as DecorationRefresh, Ia as NodeSetNodesOptions, Ic as SelectionEdge, Ii as InitialValue, Il as TransferIntent, In as EditorSchemaElementStructure, Io as PluginTypeProvider, Ir as EditorTransactionBreakApi, Is as SchemaElement, Iu as locateAt, J as DocumentChange, Ja as NodeWrapNodesOptions, Jc as SliceLandingInput, Ji as LocationInterface, Jl as TransferSideInput, Jn as EditorSchemaPropertyReadOptions, Jo as ProjectedRangeSegment, Jr as EditorTransactionRemoved, Js as SchemaElementShapeFor, Jt as EditorNodeChangeContext, K as DescendantIn, Ka as NodeUnsetNodesOptions, Kc as SetSelectionCommand, Ki as Location, Kl as TransferRelation, Kn as EditorSchemaPropertyOverrideInput, Ko as PointEntry, Kr as EditorTransactionPluginsApi, Ks as SchemaElementPropertyOptions, Kt as EditorMarksOf, Ku as screenReaderAnnouncementEffect, L as DecorationSource, La as NodeSplitNodesOptions, Lc as SelectionMode, Li as InsertBreakCommand, Ll as TransferLandingInput, Ln as EditorSchemaGetProperty, Lr as EditorTransactionChangeContext, Ls as SchemaElementConstructionPropertiesFor, Lt as EditorInstalledApiGroups, Lu as mapEffect, Ma as NodeRemoveNodesOptions, Mc as Selection, Mi as HistoryApi, Ml as TransferCheck, Mn as EditorSchemaDerivedDefinition, Mr as EditorTransactionAnchor, Ms as SchemaContentRootSlotsFor, Mt as EditorEffectType, N as DebugValueScrubber, Na as NodeReplaceChildrenOptions, Nc as SelectionApi, Ni as HistoryOutcome, Nl as TransferDiagnostic, Nn as EditorSchemaElement, No as PluginSlot, Nr as EditorTransactionAnchorApi, Ns as SchemaContentRootStructure, Nt as EditorElementBehavior, Nu as invertEffect, O as ChildOf, Oa as NodeMutationMethods, Oc as SchemaTypesTarget, Oi as ElementIsElementOptions, Ol as TopLevelRuntimeRange, On as EditorSchemaContribution, Oo as PluginReadFactory, Or as EditorTextChangeContext, Os as SchemaContentRoot, Ot as EditorEffectCollabEncodeContext, P as Decoration, Pa as NodeSelection, Pc as SelectionAssociation, Pi as HistoryResult, Pl as TransferEdge, Pn as EditorSchemaElementOverride, Po as PluginSlotLike, Pr as EditorTransactionAnnotationsApi, Ps as SchemaContentRule, Pt as EditorFragmentDeletionOptions, Q as EditorBlockToggleOptions, Qa as PathAncestorsOptions, Qc as Span, Qi as MaximizeMode, Ql as TransferVetoInput, Qo as PropertyJsonDescriptor, Qr as EditorTransactionSpecBuilder, Qs as SchemaElementTypes, Qu as target, Ra as NodeTarget, Rc as SelectionMoveOptions, Ri as InsertNodesCommand, Rl as TransferLandingTarget, Rn as EditorSchemaIdentity, Ro as PluginTypes, Rr as EditorTransactionChangeHandler, Rs as SchemaElementFor, Rt as EditorInstalledReadGroups, S as BaseText, Sa as NodeLevelsOptions, Sc as SchemaTextBlockOptions, Si as Element, Sl as TextRemoveTextOptions, Sn as EditorSchemaContractChangeKind, Sr as EditorStateUniqueApi, Ss as SchemaBuiltInGroupName, Su as editorCommands, T as BooleanMarkKeysOf, Ta as NodeMatchPredicate, Tc as SchemaTextPropertyDefinition, Ti as ElementEntryOf, Tl as TextUnitAdjustment, Tn as EditorSchemaContractDiff, Tr as EditorStateViewApi, Ts as SchemaContentInput, Tt as EditorDocumentValue, U as DescendantEntry, Ua as NodeTextRangeView, Uc as SerializedEditorSelection, Ui as JsonNode, Uo as PluginsOf, Ur as EditorTransactionFragmentApi, Us as SchemaElementProperty, Ut as EditorLifecycleError, V as DerivedEditorSchemaIdentity, Va as NodeTextRangeQuery, Vc as SelectionValue, Vl as TransferPatchProperties, Vn as EditorSchemaOverrideInput, Vr as EditorTransactionDocumentChangeKind, Vs as SchemaElementProperties, Vt as EditorJsonValue, Vu as property, W as DescendantEntryIn, Wa as NodeTextsOptions, Wc as SerializedEditorValue, Wi as LeafEdge, Wl as TransferRead, Wn as EditorSchemaProperty, Wo as Point, Wr as EditorTransactionMarksApi, Ws as SchemaElementPropertyDefinition, Wt as EditorLifecycleErrorSink, Wu as restoreEditorSchemaContract, X as EditorAboveOptions, Xa as NodeWriteVetoInput, Xc as SnapshotIndex, Xi as MarksIn, Xl as TransferTarget, Xn as EditorSchemaRepairCode, Xo as PropertyBuilderApi, Xr as EditorTransactionSelectionApi, Xs as SchemaElementStructure, Xt as EditorNodeChangeKind, Xu as setEditorViewing, Ya as NodeWriteVeto, Yc as SliceLandingTarget, Yi as MarkKeysOf, Yl as TransferSourceInput, Yn as EditorSchemaReadProperty, Yo as PropertyBooleanDescriptor, Yr as EditorTransactionRootsApi, Ys as SchemaElementSlicePolicy, Yt as EditorNodeChangeHandler, Yu as setEditorReadOnly, Z as EditorBlockOptions, Za as Path, Zc as SnapshotInput, Zi as MarksOf, Zl as TransferVeto, Zn as EditorSchemaSource, Zo as PropertyEnumDescriptor, Zr as EditorTransactionSliceApi, Zs as SchemaElementTarget, Zt as EditorNodeGetOptions, _ as AuthoredVeto, _a as NodeInsertNodesOptions, _c as SchemaPropertyTypeChangePolicy, _i as EditorValueFromPlugins, _l as TextInsertFragmentOptions, _n as EditorRootOwner, _r as EditorStateRuntimeApi, _s as RemoveMarkCommand, _t as EditorCommitRuntimeChangeKind, _u as defineUpdateAnnotation, a as AncestorIn, aa as NodeApi, ac as SchemaProperty, ad as valueCodecs, ai as EditorUpdateAnnotation, al as StateFieldValueInput, an as EditorReadAroundHandler, ao as PluginApiFactory, ar as EditorSchemaVocabulary, as as PropertyValidation, at as EditorCommandDispatch, b as BasePoint, ba as NodeIsNodeOptions, bc as SchemaTarget, bi as EditorView, bl as TextMutationMethods, bn as EditorSchemaContract, br as EditorStateSliceApi, bt as EditorCoreUpdateTransaction, bu as diffEditorSchemaContracts, c as AnchorAssociation, ca as NodeDescendantsOptions, cc as SchemaPropertyExclusiveGroup, ci as EditorUpdatePolicy, cl as Text, cn as EditorReadInput, co as PluginCandidateEditor, cr as EditorSelectionTargetOptions, cs as PropertyValueOf, ct as EditorCommandPlace, cu as compileEditorSchemaContract, d as AnchorValue, da as NodeEntry, dc as SchemaPropertyIds, di as EditorUpdateTagInput, dl as TextDirection, dn as EditorReadMethods, do as PluginContribution, dr as EditorStateField, ds as RangeAnchorAssociation, dt as EditorCommit, du as defineCommand$1, ea as MoveUnit, ec as SchemaGroupNames, ed as transferVeto, ei as EditorTransactionTextApi, el as SpanInterface, en as EditorNodesOptions, eo as PathInterface, er as EditorSchemaUnknownPolicy, es as PropertyNumberDescriptor, et as EditorCanonicalUpdateTag, eu as TxDeclaredMethod, fa as NodeEntryIn, fc as SchemaPropertyKey, fi as EditorUpdateTransaction, fl as TextEntry, fn as EditorReadRegistration, fo as PluginContributionInput, fr as EditorStateFragmentApi, fs as RangeApi, ft as EditorCommitChangeKind, fu as defineEditorSchema, g as AuthoredTouch, ga as NodeIn, gc as SchemaPropertySplitPolicy, gi as EditorValueFromOptions, gl as TextIn, gn as EditorRootEntry, go as PluginDependencyReference, gr as EditorStateRangesApi, gs as RangeMode, gt as EditorCommitListener, gu as defineStateField, ha as NodeHasPropsOptions, hc as SchemaPropertyRole, hi as EditorUpdateValueFromPlugin, hl as TextEqualsOptions, hn as EditorReplaceNodeOptions, hr as EditorStatePointsApi, hs as RangeInterface, ht as EditorCommitHandler, hu as definePluginSlot, i as AncestorEntryOf, ia as NodeAncestorsOptions, ic as SchemaPluginsOf, ii as EditorUpdate, il as StateFieldInitial, in as EditorRead, io as PluginActivationContext, ir as EditorSchemaValidationPropertyContext, is as PropertyStringDescriptor, it as EditorCommandDescriptor, iu as ValueOf, j as ContentSlice, ja as NodeProps, jc as SelectCommand, ji as ElementOrTextOf, jl as TransferApi, jn as EditorSchemaDelta, jo as PluginReconfigureOptions, jr as EditorToggleMarkOptions, js as SchemaContentRootOwnership, jt as EditorEffectHistoryReplayResult, k as CollapseSelectionCommand, ka as NodeNodesOptions, kc as SchemaValue, ki as ElementOf, kl as TransactionSpec, kn as EditorSchemaDeclaration, ko as PluginReadFactoryContext, kr as EditorTextChangeHandler, ks as SchemaContentRootContribution, kt as EditorEffectCollabReplay, ku as getSelection, l as AnchorDeletionPolicy, la as NodeDuplicateOptions, lc as SchemaPropertyHandle, li as EditorUpdatePolicyFor, ll as TextApi, ln as EditorReadMethodRecord, lo as PluginCapabilities, lr as EditorSliceReadOptions, ls as PropertyValueOptions, lt as EditorCommandResult, lu as createEditorView, m as AuthoredProjectionDiagnostic, ma as NodeFindTextRangesOptions, mc as SchemaPropertyReferences, ml as TextEntryOf, mn as EditorReplaceChildrenOptions, mr as EditorStateNodesApi, ms as RangeEdgesOptions, mt as EditorCommitContext, mu as definePluginPoint, n as Ancestor, na as NamedRootKey, nc as SchemaKeyPrefix, nd as txOnly, ni as EditorTransactionValueApi, nl as StateFieldDescriptor, nn as EditorParentOptions, no as PersistedDocumentInput, nr as EditorSchemaValidationDiagnostic, ns as PropertySetDescriptor, nt as EditorCommandAroundHandler, nu as TxOnlyMethod, o as AncestorOf, oa as NodeChildEntry, oc as SchemaPropertyCopyPolicy, oi as EditorUpdateContext, on as EditorReadContext, oo as PluginApiFactoryContext, or as EditorSelection, os as PropertyValueDescriptor, ot as EditorCommandHandler, ou as authoredVeto, p as AuthoredDocumentProjection, pa as NodeEntryOf, pc as SchemaPropertyLandingPolicy, pl as TextEntryIn, pn as EditorReadResult, po as PluginDefinition, pr as EditorStateMarksApi, ps as RangeDirection, pt as EditorCommitChanged, pu as defineEffect, q as DescendantOf, qa as NodeUnwrapNodesOptions, qc as SliceLanding, qi as LocationApi, ql as TransferSide, qn as EditorSchemaPropertyQuery, qo as PointInterface, qr as EditorTransactionRecordsApi, qs as SchemaElementPropertyValue, qt as EditorNextOptions, qu as setDebugValueScrubber, r as AncestorEntry, ra as Node, rd as txSelection, ri as EditorUniqueHolder, rl as StateFieldHistoryPolicy, rn as EditorPreviousOptions, rr as EditorSchemaValidationError, rs as PropertySetOptions, rt as EditorCommandContinuation, ru as Value, s as Anchor, sa as NodeChildrenOptions, sc as SchemaPropertyDefinition, si as EditorUpdateMethods, sl as TargetFreshnessRequest, sn as EditorReadDescriptor, so as PluginCandidateContext, sr as EditorSelectionBlockOptions, ss as PropertyValueKind, st as EditorCommandInput, t as AddMarkCommand, ta as NamedEditorSchemaIdentity, tc as SchemaGroupOptions, td as txLocate, ti as EditorTransactionTopLevelRange, tl as StateFieldCollabPolicy, tn as EditorNodesReadOptions, to as PathLevelsOptions, tr as EditorSchemaValidationCode, ts as PropertyOptionsOf, tt as EditorCommand, tu as TxMethodDeclarations, u as AnchorOptions, ua as NodeElementsOptions, uc as SchemaPropertyHandleValue, ui as EditorUpdateTag, ul as TextDeleteOptions, un as EditorReadMethodTree, uo as PluginCleanupContext, ur as EditorSnapshot, us as Range, ut as EditorCommands, uu as decodeEditorEffect, v as BaseElement, va as NodeInsertSplitOptions, vc as SchemaRecordSet, vi as EditorValuePersistence, vl as TextInsertTextOptions, vn as EditorSchemaContent, vr as EditorStateSchemaApi, vs as RemoveNodesCommand, vt as EditorCoreStateView, wa as NodeMatch, wc as SchemaTextProperty, wi as ElementEntry, wl as TextUnit, wn as EditorSchemaContractContentRoot, wo as PluginPoint, wr as EditorStateView, ws as SchemaContentDefault, wt as EditorDocumentRecords, wu as encodeEditorEffect, x as BaseRange, xa as NodeKey, xc as SchemaText, xi as EditorViewOptions, xl as TextOf, xn as EditorSchemaContractChange, xo as PluginInput, xr as EditorStateTextApi, xs as RootKey, xt as EditorDirectCommandDispatch, xu as documentReplacement, y as BaseNode, ya as NodeInterface, yc as SchemaRootNames, yl as TextInterface, yn as EditorSchemaContentRoot, yr as EditorStateSelectionApi, ys as ReplaceSliceCommand, yt as EditorCoreUpdateMethods, z as DeleteCommand, za as NodeTextRangeEntry, zc as SelectionMutationMethods, zi as InsertSoftBreakCommand, zl as TransferOutcome, zn as EditorSchemaNamedDefinition, zo as PluginUpdateFactory, zr as EditorTransactionChanged, zs as SchemaElementHandle, zt as EditorInstalledUpdateGroups, zu as nodeWriteVeto } from "./index-DpltOCot-A2b3p3Eb.js";
2
- import { h as EditorApplicationSchema } from "./htmlTypes-cg_cWsaN.js";
3
- import { $a as InferEnabled, $i as definePlugin, $n as HeadingRules, $r as InputRulesDefinition, $t as UpsertLinkOptions, Aa as RenderElementFn, Ai as AutoScrollOptions, An as CapturedFormat, Ao as PluginSelectorMethods, Ar as BaseParagraphDefinition, At as PlainTextSerializeResult, B as InjectNodeProps, Bi as DebugPlugin, Bn as BaseStrikethroughPlugin, Bo as WithRequiredName, Br as HtmlPlugin, Bt as OutdentListOptions, C as BasePluginOn, Ca as MarkdownTagNode, Ci as ElementStatePlugin, Cn as BaseTextAlignPlugin, Co as PluginSchemaContext, Cr as RenderTextFn, Ct as PluginTransaction, Da as PluginFormatRegistry, Di as AutoScrollApi, Dn as TextIndentDefinition, Do as PluginSchemaReferences, Dr as RenderLeafFn, Dt as PlainTextDiagnostic, E as ConfiguredBasePlugin, Ea as PluginFormatModelView, Ei as ElementIdPluginState, En as TextAlignDefinition, Eo as PluginSchemaMark, Er as RenderTextProps, F as HtmlMatchValue, Fa as ElementWith, Fi as ScrollIntoViewTarget, Fn as BaseCodePlugin, Fo as RuleDecision, Fr as createBlockStartInputRule, Ft as BulletedListRules, G as PluginShortcutInput, Ga as DefinitionOf, Gi as AffinityEdgeNodes, Gn as ItalicRules, Go as AnyObject, Gr as BlockStartInputRuleConfig, Gt as BaseLinkDefinition, H as LeafStaticProps, Ha as BasePluginDefinition, Hi as EditorError, Hn as BoldRules, Hr as BaseInputRule, Ht as ToggleListOptions, I as HtmlMatcher, Ia as PluginFormatNode, Ii as ScrollMode, In as BaseHighlightPlugin, Io as SelectionRules, Ir as createMarkInputRule, It as ListElement, J as RenderStaticNodeWrapperProps, Ja as GetInjectNodePropsOptions, Ji as TransferDefinition, Jn as ScriptValue, Jr as InputRule, Jt as CreateLinkNodeOptions, K as RenderStaticNodeWrapper, Ka as DeleteRules, Ki as AffinityPlugin, Kn as MarkComboRules, Ko as UnknownObject, Kr as BlockStartInputRuleMatch, Kt as BaseLinkPlugin, L as HtmlNodeSpec, La as TextWith, Li as DebugApi, Ln as BaseItalicPlugin, Lo as StructuralRuleContext, Lr as createTextSubstitutionInputRule, Lt as ListStyle, M as HtmlAttributes, Ma as RenderElementSlots, Mi as DomApi, Mn as FormattingContribution, Mo as PluginSelectors, Mr as inputRuleVeto, Mt as BULLETED_LIST_STYLES, N as HtmlContentToken, Na as HandlerReturnType, Ni as DomPluginState, Nn as formatting, No as PluginStore, Nr as defineInputRule, Nt as BaseListDefinition, O as DeclaredPluginShortcutInput, Oa as PluginFormatSchemaView, Oi as AutoScrollChangeKind, On as TextIndentPluginState, Oo as PluginSelector, Or as RenderLeafProps, Ot as PlainTextDocumentOptions, P as HtmlElementPatch, Pa as DocxNodeMapping, Pi as DomPluginUpdate, Pn as BaseBoldPlugin, Pr as createBlockFenceInputRule, Pt as BaseListPlugin, Qa as InferDependencies, Qi as HistoryPluginState, Qn as HeadingLevel, Qr as InputRulesConfig, Qt as UnwrapLinkOptions, R as HtmlPrepareDiagnosticInput, Ra as nanoid, Ri as DebugDefinition, Rn as BaseKbdPlugin, Ro as StructuralRuleEditor, Rr as matchBlockStart, Rt as ListType, S as BasePluginImplementationContext, Sa as MarkdownTagAttributeView, Si as ElementStateDefinition, Sn as BaseLineHeightPlugin, So as PluginSchema, Sr as EditableProps, St as PluginState, T as BasePluginPortal, Ta as PluginFormatContext, Ti as ElementIdPlugin, Tn as LineHeightDefinition, To as PluginSchemaElement, Tr as RenderTextPieceProps, U as NodeStaticProps, Ui as LogLevel, Un as CodeRules, Ur as BlockFenceInputRuleConfig, Ut as isOrderedList, Va as BaseInjectProps, Vi as DebugPluginState, Vn as BaseUnderlinePlugin, Vt as TaskListRules, W as PartialBasePlugin, Wa as BreakRules, Wi as AffinityDefinition, Wn as HighlightRules, Wo as Nullable, Wr as BlockFenceInputRuleMatch, X as TransformOptions, Xa as InferApi, Xi as HistoryDefinition, Xn as UnderlineRules, Xr as InputRuleInsertTextOptions, Xt as LinkElement, Y as TextStaticProps, Ya as GetInjectNodePropsReturnType, Yi as TransferPlugin, Yn as StrikethroughRules, Yr as InputRuleEditor, Yt as LinkAttributes, Za as InferConflicts, Zi as HistoryPlugin, Zn as BaseHeadingPlugin, Zr as InputRuleTarget, Zt as LinkRules, _ as BasePlugin, _a as MarkdownNodeKinds, _i as TextSubstitutionInputRuleConfig, _n as Alignment, _o as PluginBaseContext, _r as getFragmentProp, _t as NodeInsertOptions, a as SingleLinePlugin, ai as InsertDataInputRuleReadContext, an as IndentPluginState, ao as InferPluginStoreState, ar as getPluginNodeClass, b as BasePluginDefinitionInput, ba as MarkdownPluginRegistry, bi as TransformInputRuleContext, bn as BaseFontFamilyPlugin, br as ApplyDeepToNodesOptions, c as PLUGINS, ca as PlainTextEncodeContext, ci as InsertTextInputRuleReadContext, cn as BaseCodeBlockPlugin, co as InferRead, cr as mergeDeepToNodes, ct as BlockInsertOptions, da as MarkdownDecodeContext, di as MatchBlockFenceOptions, dn as CodeBlockElement, do as InferUpdate, dr as Hotkeys, ei as InsertBreakInputRule, en as WrapLinkOptions, eo as InferName, er as ToggleHeadingOptions, et as CreateEditorOptions, fa as MarkdownEncodeContext, fi as MatchBlockStartOptions, fn as CodeHighlightDefinition, fo as MergeRules, fr as createHotkey, ga as MarkdownNodeKind, gi as SelectionInputRuleContext, gn as HighlightResult, go as NormalizeRules, gr as GetFragmentPropOptions, ha as MarkdownMarks, hi as ResolvedInputRulesMeta, hn as HighlightNode, hr as FragmentPropMode, i as TrailingBlockPluginState, ii as InsertDataInputRuleContext, in as IndentDefinition, io as InferPluginReadGroups, ir as HorizontalRuleRules, j as EditorShortcut, ja as RenderElementProps, ji as AutoScrollUpdate, jn as FormattingBlockEntry, jo as PluginSelectorReturn, jr as BaseParagraphPlugin, jt as serializePlainText, k as Decorate, ka as ElementContentRootSlot, ki as AutoScrollChangesMap, kn as BaseFormattingPlugin, ko as PluginSelectorArgs, kr as StaticRenderLeafProps, kt as PlainTextEditorOptions, l as PluginName, la as PlainTextNodeMapping, li as MarkInputRuleConfig, ln as BaseCodeHighlightPlugin, lo as InferSelectors, lr as isUrl, lt as BlockUpsertOptions, ma as MarkdownMarkWrapper, mi as ResolvedInputRule, mn as CodeHighlightPluginState, mr as getInjectMatch, n as TrailingBlockDefinition, ni as InsertBreakInputRuleReadContext, nn as BaseIndentPlugin, no as InferOwnRead, nr as BaseHorizontalRulePlugin, o as SingleBlockPlugin, oi as InsertTextInputRule, oo as InferPluginUpdateGroups, or as isPluginElementClass, ot as createEditor, pa as MarkdownMarkWrapContext, pi as MatchDelimitedInlineOptions, pn as CodeHighlightLowlight, po as NodeComponent, pr as isHotkey, q as RenderStaticNodeWrapperFunction, qa as EditOnlyConfig, qi as AffinityPluginUpdate, qn as ScriptRules, qr as DelimitedInlineInputRuleMatch, qt as BaseLinkPluginState, r as TrailingBlockPlugin, ri as InsertDataInputRule, rn as IndentChangeOptions, ro as InferOwnUpdate, rr as BlockquoteRules, rt as EditorValueInput, s as ExitBreakPlugin, si as InsertTextInputRuleContext, sn as CodeBlockRules, sr as isPluginNodeClass, st as BasePluginInput, t as isNominalPluginDescriptor, ti as InsertBreakInputRuleContext, tn as getLinkHref, to as InferOwnApi, tr as BaseBlockquotePlugin, u as Editor, ua as PlainTextNodeMappingInput, ui as MarkInputRuleMatch, un as CodeBlockDefinition, uo as InferTargetPlugins, ur as isDefined, v as BasePluginConfiguration, va as MarkdownNodeMapping, vi as TextSubstitutionMatch, vn as BaseFontBackgroundColorPlugin, vr as IS_APPLE, w as BasePluginOverride, wa as HtmlMappingDiagnosticInput, wi as ElementIdEntry, wn as BaseTextIndentPlugin, wo as PluginSchemaDeclaration, wr as RenderTextHostProps, wt as PluginUpdate, x as BasePluginExtendInput, xa as MarkdownRefusal, xi as ElementStateApi, xn as BaseFontSizePlugin, xo as PluginReference, xr as applyDeepToNodes, xt as PluginReadState, y as BasePluginContext, ya as MarkdownNodeMappingInput, yi as TextSubstitutionPattern, yn as BaseFontColorPlugin, yo as PluginDependency, yr as defaultsDeepToNodes, yt as PluginOwnUpdate, z as HtmlWrapperSpec, zi as DebugErrorType, zn as BaseScriptPlugin, zo as WithAnyName, zr as matchDelimitedInline, zt as OrderedListRules } from "./core-ClHasORr.js";
4
- export { type AddMarkCommand, AffinityDefinition, AffinityEdgeNodes, AffinityPlugin, AffinityPluginUpdate, Alignment, Ancestor, AncestorEntry, AncestorEntryOf, AncestorIn, AncestorOf, type Anchor, type AnchorAssociation, type AnchorDeletionPolicy, type AnchorOptions, type AnchorValue, type AnyObject, ApplyDeepToNodesOptions, type AuthoredDocumentProjection, type AuthoredProjectionDiagnostic, type AuthoredTouch, type AuthoredVeto, type AutoScrollApi, type AutoScrollChangeKind, type AutoScrollChangesMap, type AutoScrollOptions, type AutoScrollUpdate, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseElement, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, type BaseInjectProps, BaseInputRule, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkDefinition, BaseLinkPlugin, BaseLinkPluginState, BaseListDefinition, BaseListPlugin, BaseNode, BaseParagraphDefinition, BaseParagraphPlugin, type BasePlugin, type BasePlugin as Plugin, type BasePluginConfiguration, type BasePluginContext, type BasePluginDefinition, type BasePluginDefinitionInput, type BasePluginDefinitionInput as PluginDefinitionInput, type BasePluginExtendInput, type BasePluginImplementationContext, type BasePluginInput, type BasePluginOn, type BasePluginOverride, type BasePluginPortal, type BasePluginPortal as PluginPortal, BasePoint, BaseRange, BaseScriptPlugin, BaseStrikethroughPlugin, BaseText, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, type BlockDuplicateOptions, BlockFenceInputRuleConfig, BlockFenceInputRuleMatch, type BlockInsertOptions, BlockStartInputRuleConfig, BlockStartInputRuleMatch, type BlockUpsertOptions, BlockquoteRules, BoldRules, BooleanMarkKeysOf, BooleanMarksOf, type BreakRules, BulletedListRules, CapturedFormat, ChildOf, CodeBlockDefinition, CodeBlockElement, CodeBlockRules, CodeHighlightDefinition, CodeHighlightLowlight, CodeHighlightPluginState, CodeRules, type CollapseSelectionCommand, type CompatibleEditorCommand, type ConfiguredBasePlugin, ContentSlice, type CreateEditorOptions, CreateLinkNodeOptions, DebugApi, DebugDefinition, DebugErrorType, DebugPlugin, DebugPluginState, type DebugValueScrubber, type DeclaredPluginShortcutInput, type Decorate, type Decoration, type DecorationAttributes, type DecorationRefresh, type DecorationSource, type DefinitionOf, type DeleteCommand, type DeleteFragmentCommand, type DeleteRules, DelimitedInlineInputRuleMatch, type DerivedEditorSchemaIdentity, Descendant, DescendantEntry, DescendantEntryIn, DescendantEntryOf, DescendantIn, DescendantOf, DocumentChange, type DocxNodeMapping, type DomApi, type DomPluginState, type DomPluginUpdate, type EditOnlyConfig, type EditableProps, type Editor, type EditorAboveOptions, type EditorApplicationSchema, type EditorBlockOptions, type EditorBlockToggleOptions, type EditorBreakExitOptions, type EditorCanonicalUpdateTag, type EditorCommand, type EditorCommandAroundHandler, type EditorCommandContinuation, type EditorCommandDescriptor, type EditorCommandDispatch, type EditorCommandHandler, type EditorCommandInput, type EditorCommandPlace, type EditorCommandResult, type EditorCommands, type EditorCommit, type EditorCommitChangeKind, type EditorCommitChanged, type EditorCommitContext, type EditorCommitHandler, type EditorCommitListener, type EditorCommitRuntimeChangeKind, type EditorCoreStateView, type EditorCoreUpdateMethods, type EditorCoreUpdateTransaction, type EditorDirectCommandDispatch, type EditorDocumentRange, type EditorDocumentRecords, type EditorDocumentValue, type EditorEffect, type EditorEffectCollabDecodeContext, type EditorEffectCollabEncodeContext, type EditorEffectCollabReplay, type EditorEffectCollabTransport, type EditorEffectHistoryReplayResult, type EditorEffectType, type EditorElementBehavior, EditorError, type EditorFragmentDeletionOptions, type EditorFragmentReadOptions, type EditorInstalledApiGroups, type EditorInstalledReadGroups, type EditorInstalledUpdateGroups, type EditorIsEditorOptions, type EditorJsonValue, type EditorLevelsOptions, type EditorLifecycleError, type EditorLifecycleErrorSink, type EditorMarks, type EditorMarksOf, type EditorNextOptions, type EditorNodeChangeContext, type EditorNodeChangeHandler, type EditorNodeChangeKind, type EditorNodeGetOptions, type EditorNodeUnsetOptions, type EditorNodesOptions, type EditorNodesReadOptions, type EditorParentOptions, type EditorPreviousOptions, type EditorRead, type EditorReadAroundHandler, type EditorReadContext, type EditorReadDescriptor, type EditorReadInput, type EditorReadMethodRecord, type EditorReadMethodTree, type EditorReadMethods, type EditorReadRegistration, type EditorReadResult, type EditorReplaceChildrenOptions, type EditorReplaceNodeOptions, type EditorRootEntry, type EditorRootOwner, type EditorSchemaContent, type EditorSchemaContentRoot, type EditorSchemaContract, type EditorSchemaContractChange, type EditorSchemaContractChangeKind, type EditorSchemaContractContentProgram, type EditorSchemaContractContentRoot, type EditorSchemaContractDiff, type EditorSchemaContractElement, type EditorSchemaContractRoot, type EditorSchemaContribution, type EditorSchemaDeclaration, type EditorSchemaDefinition, type EditorSchemaDelta, type EditorSchemaDerivedDefinition, type EditorSchemaElement, type EditorSchemaElementOverride, type EditorSchemaElementOverrideInput, type EditorSchemaElementStructure, type EditorSchemaGetProperty, type EditorSchemaIdentity, type EditorSchemaNamedDefinition, type EditorSchemaOverride, type EditorSchemaOverrideInput, type EditorSchemaPlugin, type EditorSchemaProperty, type EditorSchemaPropertyOverride, type EditorSchemaPropertyOverrideInput, type EditorSchemaPropertyQuery, type EditorSchemaPropertyReadOptions, type EditorSchemaReadProperty, type EditorSchemaRepairCode, type EditorSchemaSource, type EditorSchemaStructureProperty, type EditorSchemaUnknownPolicy, type EditorSchemaValidationCode, type EditorSchemaValidationDiagnostic, EditorSchemaValidationError, type EditorSchemaValidationPropertyContext, type EditorSchemaVocabulary, EditorSelection, type EditorSelectionBlockOptions, type EditorSelectionTargetOptions, type EditorShortcut, type EditorSliceReadOptions, type EditorSnapshot, type EditorStateField, type EditorStateFragmentApi, type EditorStateMarksApi, type EditorStateNodesApi, type EditorStatePointsApi, type EditorStateRangesApi, type EditorStateRuntimeApi, type EditorStateSchemaApi, type EditorStateSelectionApi, type EditorStateSliceApi, type EditorStateTextApi, type EditorStateUniqueApi, type EditorStateValueApi, type EditorStateView, type EditorStateViewApi, type EditorTargetRuntime, type EditorTextChangeContext, type EditorTextChangeHandler, type EditorToggleBlockOptions, type EditorToggleMarkOptions, type EditorTransactionAnchor, type EditorTransactionAnchorApi, type EditorTransactionAnnotationsApi, type EditorTransactionBlocksApi, type EditorTransactionBreakApi, type EditorTransactionChangeContext, type EditorTransactionChangeHandler, type EditorTransactionChanged, type EditorTransactionChangesApi, type EditorTransactionDocumentChangeKind, type EditorTransactionEffectsApi, type EditorTransactionFragmentApi, type EditorTransactionMarksApi, type EditorTransactionNodesApi, type EditorTransactionPluginsApi, type EditorTransactionRecordsApi, type EditorTransactionRemoved, type EditorTransactionRootsApi, type EditorTransactionSelectionApi, type EditorTransactionSliceApi, type EditorTransactionSpecBuilder, type EditorTransactionTagsApi, type EditorTransactionTextApi, type EditorTransactionTopLevelRange, type EditorTransactionValueApi, type EditorUniqueHolder, type EditorUpdate, type EditorUpdateAnnotation, type EditorUpdateContext, type EditorUpdateMethods, type EditorUpdatePolicy, type EditorUpdatePolicyFor, type EditorUpdateTag, type EditorUpdateTagInput, type EditorUpdateTransaction, type EditorUpdateValueFromPlugin, type EditorValueFromOptions, type EditorValueFromPlugins, type EditorValueInput, type EditorValuePersistence, type EditorView, type EditorViewOptions, Element, ElementApi, type ElementContentRootSlot, ElementEntry, ElementEntryOf, ElementIdEntry, ElementIdPlugin, ElementIdPluginState, ElementIn, ElementInterface, ElementIsElementOptions, ElementOf, ElementOrTextIn, ElementOrTextOf, ElementStateApi, ElementStateDefinition, ElementStatePlugin, type ElementWith, ExitBreakPlugin, FormattingBlockEntry, FormattingContribution, FragmentPropMode, GetFragmentPropOptions, type GetInjectNodePropsOptions, type GetInjectNodePropsReturnType, type HandlerReturnType, HeadingLevel, HeadingRules, HighlightNode, HighlightResult, HighlightRules, type HistoryApi, HistoryDefinition, type HistoryOutcome, HistoryPlugin, HistoryPluginState, type HistoryResult, type HistorySettlement, HorizontalRuleRules, Hotkeys, type HtmlAttributes, type HtmlContentToken, type HtmlElementPatch, type HtmlMappingDiagnosticInput, type HtmlMatchValue, type HtmlMatcher, type HtmlNodeSpec, HtmlPlugin, type HtmlPrepareDiagnosticInput, type HtmlWrapperSpec, IS_APPLE, IndentChangeOptions, IndentDefinition, IndentPluginState, type InferApi, type InferConflicts, type InferDependencies, type InferEnabled, type InferName, type InferOwnApi, type InferOwnRead, type InferOwnUpdate, type InferPluginReadGroups, type InferPluginStoreState, type InferPluginUpdateGroups, type InferRead, type InferSelectors, type InferTargetPlugins, type InferUpdate, type InitialValue, type InjectNodeProps, InputRule, InputRuleEditor, InputRuleInsertTextOptions, InputRuleTarget, InputRulesConfig, InputRulesDefinition, type InsertBreakCommand, InsertBreakInputRule, InsertBreakInputRuleContext, InsertBreakInputRuleReadContext, InsertDataInputRule, InsertDataInputRuleContext, InsertDataInputRuleReadContext, type InsertNodesCommand, type InsertSoftBreakCommand, type InsertTextCommand, InsertTextInputRule, InsertTextInputRuleContext, InsertTextInputRuleReadContext, ItalicRules, type JsonEditorValue, type JsonNode, type LeafEdge, LeafPosition, type LeafStaticProps, LineHeightDefinition, LinkAttributes, LinkElement, LinkRules, ListElement, ListStyle, ListType, Location, LocationApi, LocationInterface, LogLevel, MarkComboRules, MarkInputRuleConfig, MarkInputRuleMatch, MarkKeysOf, type MarkdownDecodeContext, type MarkdownEncodeContext, type MarkdownMarkWrapContext, type MarkdownMarkWrapper, type MarkdownMarks, type MarkdownNodeKind, type MarkdownNodeKinds, type MarkdownNodeMapping, type MarkdownNodeMappingInput, type MarkdownPluginRegistry, type MarkdownRefusal, type MarkdownTagAttributeView, type MarkdownTagNode, MarksIn, MarksOf, MatchBlockFenceOptions, MatchBlockStartOptions, MatchDelimitedInlineOptions, type MaximizeMode, type MergeRules, type MoveSelectionCommand, type MoveUnit, type NamedEditorSchemaIdentity, type NamedRootKey, Node, NodeAncestorsOptions, NodeApi, NodeChildEntry, NodeChildrenOptions, type NodeComponent, NodeDescendantsOptions, type NodeDuplicateOptions, NodeElementsOptions, NodeEntry, NodeEntryIn, NodeEntryOf, NodeFindTextRangesOptions, NodeHasPropsOptions, NodeIn, type NodeInsertNodesOptions, type NodeInsertOptions, type NodeInsertSplitOptions, NodeInterface, NodeIsNodeOptions, type NodeKey, NodeLevelsOptions, type NodeLiftNodesOptions, NodeMatch, NodeMatchPredicate, type NodeMergeNodesOptions, type NodeMoveNodesOptions, type NodeMutationMethods, NodeNodesOptions, NodeOf, NodeProps, type NodeRemoveNodesOptions, type NodeReplaceChildrenOptions, NodeSelection, NodeSelectionMode, type NodeSetNodesOptions, type NodeSplitNodesOptions, type NodeStaticProps, type NodeTarget, NodeTextRangeEntry, NodeTextRangeMatch, NodeTextRangeQuery, NodeTextRangeRoot, NodeTextRangeView, NodeTextsOptions, NodeTypeSelector, type NodeUnsetNodesOptions, type NodeUnwrapNodesOptions, type NodeWrapNodesOptions, type NodeWriteVeto, type NodeWriteVetoInput, type NormalizeRules, type Nullable, OrderedListRules, OutdentListOptions, PLUGINS, type PartialBasePlugin, Path, PathAncestorsOptions, PathApi, PathInterface, PathLevelsOptions, type PersistedDocumentInput, PlainTextDiagnostic, PlainTextDocumentOptions, PlainTextEditorOptions, type PlainTextEncodeContext, type PlainTextNodeMapping, type PlainTextNodeMappingInput, PlainTextSerializeResult, type PluginActivationContext, type PluginApiFactory, type PluginApiFactoryContext, type PluginBaseContext, type PluginCandidateContext, type PluginCandidateEditor, type PluginCapabilities, type PluginCleanupContext, type PluginContribution, type PluginContributionInput, type PluginDefinition, type PluginDependency, type PluginDependencyReference, type PluginFormatContext, type PluginFormatModelView, type PluginFormatNode, type PluginFormatRegistry, type PluginFormatSchemaView, type PluginInput, type PluginMigrationContext, PluginName, type PluginOwnUpdate, type PluginPoint, PluginPublicationError, type PluginReadContext, type PluginReadFactory, type PluginReadFactoryContext, type PluginReadMiddlewareFactory, type PluginReadState, type PluginReconfigureOptions, type PluginReference, type PluginSchema, type PluginSchemaContext, type PluginSchemaDeclaration, type PluginSchemaElement, type PluginSchemaMark, type PluginSchemaReferences, type PluginSelector, type PluginSelectorArgs, type PluginSelectorMethods, type PluginSelectorReturn, type PluginSelectors, type PluginShortcutInput, type PluginSlot, type PluginSlotLike, type PluginSlotValue, type PluginState, type PluginStore, type PluginTransaction, type PluginTypeProvider, type PluginTypes, type PluginUpdate, type PluginUpdateFactory, type PluginUpdateFactoryContext, type PluginsFromOptions, type PluginsOf, Point, PointApi, PointEntry, PointInterface, type ProjectedRangeSegment, type PropertyBooleanDescriptor, type PropertyBuilderApi, type PropertyEnumDescriptor, type PropertyJsonDescriptor, type PropertyJsonOptions, type PropertyNumberDescriptor, type PropertyOptionsOf, type PropertySetDescriptor, type PropertySetOptions, type PropertyStringDescriptor, type PropertyValidation, type PropertyValueDescriptor, type PropertyValueKind, type PropertyValueOf, type PropertyValueOptions, Range, type RangeAnchorAssociation, RangeApi, type RangeDirection, RangeEdgesOptions, RangeInterface, type RangeMode, type RemoveMarkCommand, type RemoveNodesCommand, type RenderElementFn, type RenderElementProps, type RenderElementSlots, type RenderLeafFn, type RenderLeafProps, type RenderStaticNodeWrapper, type RenderStaticNodeWrapperFunction, type RenderStaticNodeWrapperProps, type RenderTextFn, type RenderTextHostProps, type RenderTextPieceProps, type RenderTextProps, type ReplaceSliceCommand, ResolvedInputRule, ResolvedInputRulesMeta, type RootKey, type RuleDecision, type SchemaBuiltInGroupName, type SchemaContent, type SchemaContentDefault, type SchemaContentInput, type SchemaContentOptions, type SchemaContentPrefixSlot, type SchemaContentRoot, type SchemaContentRootContribution, type SchemaContentRootInput, type SchemaContentRootOwnership, type SchemaContentRootSlotsFor, type SchemaContentRootStructure, type SchemaContentRule, type SchemaDescendant, type SchemaElement, type SchemaElementConstructionPropertiesFor, type SchemaElementFor, type SchemaElementHandle, type SchemaElementInput, type SchemaElementProperties, type SchemaElementPropertiesFor, type SchemaElementProperty, type SchemaElementPropertyDefinition, type SchemaElementPropertyKeys, type SchemaElementPropertyOptions, type SchemaElementPropertyValue, type SchemaElementShapeFor, type SchemaElementSlicePolicy, type SchemaElementStructure, type SchemaElementTarget, type SchemaElementTypes, type SchemaGroup, type SchemaGroupNames, type SchemaGroupOptions, type SchemaKeyPrefix, type SchemaPluginsOf, type SchemaProperty, type SchemaPropertyCopyPolicy, type SchemaPropertyDefinition, type SchemaPropertyExclusiveGroup, type SchemaPropertyHandle, type SchemaPropertyHandleValue, type SchemaPropertyIds, type SchemaPropertyKey, type SchemaPropertyLandingPolicy, type SchemaPropertyReferences, type SchemaPropertyRole, type SchemaPropertySplitPolicy, type SchemaPropertyTypeChangePolicy, type SchemaRecordSet, type SchemaRootNames, type SchemaTarget, type SchemaText, type SchemaTextBlockOptions, type SchemaTextProperties, type SchemaTextProperty, type SchemaTextPropertyDefinition, type SchemaTextPropertyKeys, type SchemaTextPropertyOptions, type SchemaTypesTarget, type SchemaValue, type SchemaValueFromPlugins, ScriptRules, ScriptValue, type ScrollIntoViewTarget, type ScrollMode, type SelectCommand, Selection, SelectionApi, SelectionAssociation, type SelectionCollapseOptions, type SelectionEdge, SelectionInputRuleContext, type SelectionMode, type SelectionMoveOptions, type SelectionMutationMethods, type SelectionRules, type SelectionSetPointOptions, SelectionValue, type SerializedEditorEffect, type SerializedEditorSelection, type SerializedEditorValue, type SetNodesCommand, type SetSelectionCommand, SingleBlockPlugin, SingleLinePlugin, type SliceLanding, type SliceLandingInput, type SliceLandingTarget, type SnapshotIndex, type SnapshotInput, Span, SpanApi, SpanInterface, type StateFieldCollabPolicy, type StateFieldDescriptor, type StateFieldHistoryPolicy, type StateFieldInitial, type StateFieldValueInput, type StaticRenderLeafProps, StrikethroughRules, type StructuralRuleContext, type StructuralRuleEditor, type TargetFreshnessRequest, TaskListRules, Text, TextAlignDefinition, TextApi, type TextDeleteOptions, type TextDirection, TextEntry, TextEntryIn, TextEntryOf, TextEqualsOptions, TextIn, TextIndentDefinition, TextIndentPluginState, type TextInsertFragmentOptions, type TextInsertTextOptions, TextInterface, type TextMutationMethods, TextOf, type TextRemoveTextOptions, TextSelection, type TextStaticProps, TextSubstitutionInputRuleConfig, TextSubstitutionMatch, TextSubstitutionPattern, type TextUnit, type TextUnitAdjustment, type TextWith, type ToggleBlockCommand, ToggleHeadingOptions, ToggleListOptions, type ToggleMarkCommand, type TopLevelRuntimeRange, TrailingBlockDefinition, TrailingBlockPlugin, TrailingBlockPluginState, type TransactionSpec, type TransferAdoptInput, type TransferApi, type TransferCheck, type TransferDefinition, type TransferDiagnostic, type TransferEdge, type TransferInput, type TransferIntent, type TransferLandingInput, type TransferLandingTarget, type TransferOutcome, type TransferPatch, type TransferPatchProperties, type TransferPayload, TransferPlugin, type TransferRead, type TransferRefusalReason, type TransferRelation, type TransferSide, type TransferSideInput, type TransferSourceInput, type TransferTarget, type TransferVeto, type TransferVetoInput, type TransferWrap, TransformInputRuleContext, type TransformOptions, type TxDeclaredMethod, type TxMethodDeclarations, type TxOnlyMethod, UnderlineRules, type UnknownObject, UnwrapLinkOptions, UpsertLinkOptions, type Value, type ValueOf, type WithAnyName, type WithRequiredName, WrapLinkOptions, applyDeepToNodes, authoredVeto, compileEditorSchemaContract, createBlockFenceInputRule, createBlockStartInputRule, createEditor, createEditorView, createHotkey, createMarkInputRule, createTextSubstitutionInputRule, decodeEditorEffect, defaultsDeepToNodes, defineCommand$1 as defineCommand, defineEditorSchema, defineEffect, defineInputRule, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, formatting, getEditorRuntimeOwner, getFragmentProp, getInjectMatch, getLinkHref, getPluginNodeClass, inputRuleVeto, invertEffect, isDefined, isEditor, isHotkey, isNominalPluginDescriptor, isOrderedList, isPluginElementClass, isPluginNodeClass, isUrl, locateAt, mapEffect, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, nodeWriteVeto, property, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema$1 as schema, screenReaderAnnouncementEffect, serializePlainText, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, transfer, transferVeto, txLocate, txOnly, txSelection, valueCodecs };
1
+ import { $ as EditorBreakExitOptions, $a as Path, $c as SnapshotIndex, $i as MarksOf, $l as TransferSourceInput, $o as PropertyBuilderApi, $r as EditorTransactionSpecBuilder, $s as SchemaElementStructure, A as CompatibleEditorCommand, Aa as NodeMutationMethods, Ac as SchemaTextPropertyOptions, Ai as ElementIsElementOptions, Al as ToggleBlockCommand, An as EditorSchemaDeclaration, Ao as PluginReadContext, Ar as EditorTextChangeHandler, As as SchemaContentPrefixSlot, At as EditorEffectCollabTransport, B as DeleteFragmentCommand, Ba as NodeTarget, Bc as SelectionMode, Bi as InsertNodesCommand, Bl as TransferIntent, Bn as EditorSchemaNamedDefinition, Br as EditorTransactionChanged, Bs as SchemaElementConstructionPropertiesFor, Bt as EditorInstalledUpdateGroups, Bu as isEditor, C as BlockDuplicateOptions, Ca as NodeKey, Cc as SchemaTarget, Ci as Element, Cl as TextMutationMethods, Cn as EditorSchemaContractChangeKind, Cr as EditorStateUniqueApi, Ct as EditorDocumentRange, Da as NodeMatchPredicate, Dc as SchemaTextProperty, Di as ElementIdTarget, Dl as TextTarget, Dn as EditorSchemaContractElement, Do as PluginPoint, Ds as SchemaContentDefault, Dt as EditorEffectCollabDecodeContext, Du as editorCommands, E as BooleanMarksOf, Ea as NodeMatch, Ec as SchemaTextProperties, Ei as ElementEntryOf, El as TextSelection, En as EditorSchemaContractDiff, Eo as PluginMigrationContext, Er as EditorStateViewApi, Es as SchemaContent, Et as EditorEffect, Eu as documentReplacement, F as DecorationAttributes, Fa as NodeReplaceChildrenOptions, Fc as Selection, Fi as HistoryOutcome, Fl as TransferApi, Fn as EditorSchemaElementOverride, Fr as EditorTransactionAnnotationsApi, Fs as SchemaContentRootSlotsFor, Ft as EditorFragmentDeletionOptions, G as DescendantEntryOf, Ga as NodeTextRangeView, Gc as SerializedEditorEffect, Gi as JsonNode, Gl as TransferPatchProperties, Gn as EditorSchemaProperty, Go as PluginsFromOptions, Gr as EditorTransactionMarksApi, Gs as SchemaElementPropertiesFor, Gt as EditorLifecycleErrorSink, H as Descendant, Ha as NodeTextRangeMatch, Hc as SelectionMutationMethods, Hi as InsertTextCommand, Hl as TransferLandingTarget, Hn as EditorSchemaOverrideInput, Ho as PluginUpdateFactory, Hr as EditorTransactionDocumentChangeKind, Hs as SchemaElementHandle, Ht as EditorJsonValue, Hu as mapEffect, I as DecorationRefresh, Ia as NodeSelection, Ic as SelectionApi, Ii as HistoryResult, Il as TransferCheck, In as EditorSchemaElementOverrideInput, Io as PluginSlot, Ir as EditorTransactionBlocksApi, Is as SchemaContentRootStructure, It as EditorFragmentReadOptions, J as DocumentChange, Ja as NodeUnsetNodesOptions, Jc as SetNodesCommand, Ji as Location, Jl as TransferRead, Jn as EditorSchemaPropertyQuery, Jo as PointApi, Jr as EditorTransactionRecordsApi, Js as SchemaElementPropertyKeys, Jt as EditorNextOptions, K as DescendantIn, Ka as NodeTextsOptions, Kc as SerializedEditorSelection, Ki as LeafEdge, Kl as TransferPayload, Kn as EditorSchemaPropertyOverride, Ko as PluginsOf, Kr as EditorTransactionNodesApi, Ks as SchemaElementProperty, Kt as EditorMarks, Ku as property, L as DecorationSource, La as NodeSelectionMode, Lc as SelectionAssociation, Li as HistorySettlement, Ll as TransferDiagnostic, Ln as EditorSchemaElementStructure, Lo as PluginSlotLike, Lr as EditorTransactionBreakApi, Ls as SchemaContentRule, Ma as NodeOf, Mc as SchemaValue, Mi as ElementOrTextIn, Ml as TopLevelRuntimeRange, Mn as EditorSchemaDelta, Mo as PluginReadFactoryContext, Mr as EditorToggleMarkOptions, Ms as SchemaContentRootContribution, Mt as EditorEffectType, Mu as getEditorRuntimeOwner, N as DebugValueScrubber, Na as NodeProps, Nc as SchemaValueFromPlugins, Ni as ElementOrTextOf, Nl as TransactionSpec, Nn as EditorSchemaDerivedDefinition, No as PluginReadMiddlewareFactory, Nr as EditorTransactionAnchor, Ns as SchemaContentRootInput, Nt as EditorElementBehavior, O as ChildOf, Oa as NodeMergeNodesOptions, Oc as SchemaTextPropertyDefinition, Oi as ElementIn, Ol as TextUnit, On as EditorSchemaContractRoot, Or as EditorTargetRuntime, Os as SchemaContentInput, Ot as EditorEffectCollabEncodeContext, Ou as editorReads, P as Decoration, Pa as NodeRemoveNodesOptions, Pc as SelectCommand, Pi as HistoryApi, Pl as TransferAdoptInput, Pn as EditorSchemaElement, Po as PluginReconfigureOptions, Pr as EditorTransactionAnchorApi, Ps as SchemaContentRootOwnership, Pt as EditorElementEntry, Pu as getSelection, Q as EditorBlockToggleOptions, Qa as NodeWriteVetoInput, Qc as SliceLandingTarget, Qi as MarksIn, Ql as TransferSideInput, Qn as EditorSchemaSource, Qo as PropertyBooleanDescriptor, Qr as EditorTransactionSliceApi, Qs as SchemaElementSlicePolicy, Qt as EditorNodeGetOptions, Qu as setDebugValueScrubber, Ra as NodeSetNodesOptions, Rc as SelectionCollapseOptions, Ri as InitialValue, Rl as TransferEdge, Rn as EditorSchemaGetProperty, Ro as PluginSlotValue, Rr as EditorTransactionChangeContext, Rs as SchemaDescendant, Rt as EditorInstalledApiGroups, Ru as invertEffect, S as BaseText, Sa as NodeIsNodeOptions, Sc as SchemaRootNames, Si as EditorViewOptions, Sl as TextInterface, Sn as EditorSchemaContractChange, Sr as EditorStateTextApi, Ss as ReplaceSliceCommand, Su as defineUpdateAnnotation, T as BooleanMarkKeysOf, Ta as NodeLiftNodesOptions, Tc as SchemaTextBlockOptions, Ti as ElementEntry, Tl as TextRemoveTextOptions, Tn as EditorSchemaContractContentRoot, Tr as EditorStateView, Ts as SchemaBuiltInGroupName, Tt as EditorDocumentValue, Tu as diffEditorSchemaContracts, U as DescendantEntry, Ua as NodeTextRangeQuery, Uc as SelectionSetPointOptions, Ul as TransferOutcome, Un as EditorSchemaPlugin, Uo as PluginUpdateFactoryContext, Ur as EditorTransactionEffectsApi, Us as SchemaElementInput, Ut as EditorLevelsOptions, V as DerivedEditorSchemaIdentity, Va as NodeTextRangeEntry, Vc as SelectionMoveOptions, Vi as InsertSoftBreakCommand, Vl as TransferLandingInput, Vn as EditorSchemaOverride, Vo as PluginTypes, Vr as EditorTransactionChangesApi, Vs as SchemaElementFor, Vt as EditorIsEditorOptions, Vu as locateAt, W as DescendantEntryIn, Wa as NodeTextRangeRoot, Wc as SelectionValue, Wi as JsonEditorValue, Wl as TransferPatch, Wr as EditorTransactionFragmentApi, Ws as SchemaElementProperties, Wt as EditorLifecycleError, Wu as nodeWriteVeto, X as EditorAboveOptions, Xa as NodeWrapNodesOptions, Xc as SliceLanding, Xi as LocationInterface, Xl as TransferRelation, Xn as EditorSchemaReadProperty, Xo as PointInterface, Xr as EditorTransactionRootsApi, Xs as SchemaElementPropertyValue, Xt as EditorNodeChangeHandler, Xu as schema$1, Ya as NodeUnwrapNodesOptions, Yc as SetSelectionCommand, Yi as LocationApi, Yl as TransferRefusalReason, Yn as EditorSchemaPropertyReadOptions, Yo as PointEntry, Yr as EditorTransactionRemoved, Ys as SchemaElementPropertyOptions, Yt as EditorNodeChangeContext, Yu as restoreEditorSchemaContract, Z as EditorBlockOptions, Za as NodeWriteVeto, Zc as SliceLandingInput, Zi as MarkKeysOf, Zl as TransferSide, Zn as EditorSchemaRepairCode, Zo as ProjectedRangeSegment, Zr as EditorTransactionSelectionApi, Zs as SchemaElementShapeFor, Zt as EditorNodeChangeKind, Zu as screenReaderAnnouncementEffect, _ as AuthoredVeto, _a as NodeHasPropsOptions, _c as SchemaPropertyReferences, _i as EditorValueFromOptions, _l as TextEntryOf, _n as EditorRootEntry, _r as EditorStateRangesApi, _s as RangeEdgesOptions, _t as EditorCommitRuntimeChangeKind, _u as defineEditorSchema, a as AncestorIn, aa as Node, ac as SchemaKeyPrefix, ad as transferVeto, ai as EditorUpdate, al as StateFieldDescriptor, an as EditorRead, ao as PlacedTarget, ar as EditorSchemaValidationPropertyContext, as as PropertySetDescriptor, at as EditorCommandDispatch, au as TxMethodDeclarations, b as BasePoint, ba as NodeInsertSplitOptions, bc as SchemaPropertyTypeChangePolicy, bl as TextInsertFragmentOptions, bn as EditorSchemaContentRoot, br as EditorStateSelectionApi, bs as RemoveMarkCommand, bt as EditorCoreUpdateTransaction, bu as definePluginSlot, c as AnchorAssociation, ca as NodeChildEntry, cc as SchemaProperty, cd as txSelection, ci as EditorUpdateMethods, cl as StateFieldValueInput, cn as EditorReadDescriptor, co as PluginApiFactory, cr as EditorSelectionBlockOptions, cs as PropertyValidation, ct as EditorCommandPlace, cu as ValueOf, d as AnchorValue, da as NodeDuplicateOptions, dc as SchemaPropertyExclusiveGroup, di as EditorUpdateTag, dl as Text, dn as EditorReadMethodTree, do as PluginCandidateEditor, dr as EditorSnapshot, ds as PropertyValueOf, dt as EditorCommit, du as authoredVeto, ea as MaximizeMode, ec as SchemaElementTarget, ed as setEditorReadOnly, ei as EditorTransactionTagsApi, el as SnapshotInput, en as EditorNodeUnsetOptions, eo as PathAncestorsOptions, er as EditorSchemaStructureProperty, es as PropertyEnumDescriptor, et as EditorCanonicalUpdateTag, eu as TransferTarget, fa as NodeElementsOptions, fc as SchemaPropertyHandle, fi as EditorUpdateTagInput, fl as TextApi, fn as EditorReadMethods, fo as PluginCapabilities, fr as EditorStateField, fs as PropertyValueOptions, ft as EditorCommitChangeKind, g as AuthoredTouch, ga as NodeFindTextRangesOptions, gc as SchemaPropertyLandingPolicy, gi as EditorUpdateValueFromPlugin, gl as TextEntryIn, gn as EditorReplaceNodeOptions, go as PluginDefinition, gr as EditorStatePointsApi, gs as RangeDirection, gt as EditorCommitListener, gu as defineCommand$1, ha as NodeEntryOf, hc as SchemaPropertyKey, hl as TextEntry, hn as EditorReplaceChildrenOptions, ho as PluginContributionInput, hr as EditorStateNodesApi, hs as RangeApi, ht as EditorCommitHandler, hu as decodeEditorEffect, i as AncestorEntryOf, ia as NamedRootKey, ic as SchemaGroupOptions, id as transfer, ii as EditorUniqueHolder, il as StateFieldCollabPolicy, in as EditorPreviousOptions, io as PersistedDocumentInput, ir as EditorSchemaValidationError, is as PropertyOptionsOf, it as EditorCommandDescriptor, iu as TxDeclaredMethod, j as ContentSlice, ja as NodeNodesOptions, jc as SchemaTypesTarget, ji as ElementOf, jl as ToggleMarkCommand, jn as EditorSchemaDefinition, jo as PluginReadFactory, jr as EditorToggleBlockOptions, js as SchemaContentRoot, jt as EditorEffectHistoryReplayResult, k as CollapseSelectionCommand, ka as NodeMoveNodesOptions, kc as SchemaTextPropertyKeys, ki as ElementInterface, kl as TextUnitAdjustment, kn as EditorSchemaContribution, ko as PluginPublicationError, kr as EditorTextChangeContext, ks as SchemaContentOptions, kt as EditorEffectCollabReplay, ku as encodeEditorEffect, l as AnchorDeletionPolicy, la as NodeChildrenOptions, lc as SchemaPropertyCopyPolicy, li as EditorUpdatePolicy, ln as EditorReadInput, lo as PluginApiFactoryContext, lr as EditorSelectionTargetOptions, ls as PropertyValueDescriptor, lt as EditorCommandResult, lu as WithNodeTarget, m as AuthoredProjectionDiagnostic, ma as NodeEntryIn, mc as SchemaPropertyIds, ml as TextDirection, mn as EditorReadResult, mo as PluginContribution, mr as EditorStateMarksApi, ms as RangeAnchorAssociation, mt as EditorCommitContext, mu as createEditorView, n as Ancestor, na as MoveUnit, nc as SchemaGroup, ni as EditorTransactionTopLevelRange, nl as SpanApi, nn as EditorNodesReadOptions, no as PathInterface, nr as EditorSchemaValidationCode, ns as PropertyJsonOptions, nt as EditorCommandAroundHandler, nu as TransferVetoInput, o as AncestorOf, oa as NodeAncestorsOptions, od as txLocate, oi as EditorUpdateAnnotation, ol as StateFieldHistoryPolicy, on as EditorReadAroundHandler, or as EditorSchemaVocabulary, os as PropertySetOptions, ot as EditorCommandHandler, ou as TxOnlyMethod, p as AuthoredDocumentProjection, pa as NodeEntry, pc as SchemaPropertyHandleValue, pi as EditorUpdateTransaction, pl as TextDeleteOptions, pn as EditorReadRegistration, po as PluginCleanupContext, pr as EditorStateFragmentApi, ps as Range, pt as EditorCommitChanged, pu as compileEditorSchemaContract, q as DescendantOf, qa as NodeTypeSelector, qc as SerializedEditorValue, qi as LeafPosition, qn as EditorSchemaPropertyOverrideInput, qo as Point, qr as EditorTransactionPluginsApi, qs as SchemaElementPropertyDefinition, qt as EditorMarksOf, qu as readEditorSchemaContract, r as AncestorEntry, ra as NamedEditorSchemaIdentity, rc as SchemaGroupNames, rd as target, ri as EditorTransactionValueApi, rl as SpanInterface, rn as EditorParentOptions, ro as PathLevelsOptions, rr as EditorSchemaValidationDiagnostic, rs as PropertyNumberDescriptor, rt as EditorCommandContinuation, ru as TransferWrap, s as Anchor, sa as NodeApi, sc as SchemaPluginsOf, sd as txOnly, si as EditorUpdateContext, sl as StateFieldInitial, sn as EditorReadContext, so as PluginActivationContext, sr as EditorSelection, ss as PropertyStringDescriptor, st as EditorCommandInput, su as Value, t as AddMarkCommand, ta as MoveSelectionCommand, tc as SchemaElementTypes, td as setEditorViewing, ti as EditorTransactionTextApi, tl as Span, tn as EditorNodesOptions, to as PathApi, tr as EditorSchemaUnknownPolicy, ts as PropertyJsonDescriptor, tt as EditorCommand, tu as TransferVeto, u as AnchorOptions, ua as NodeDescendantsOptions, uc as SchemaPropertyDefinition, ud as valueCodecs, ui as EditorUpdatePolicyFor, ul as TargetFreshnessRequest, un as EditorReadMethodRecord, uo as PluginCandidateContext, ur as EditorSliceReadOptions, us as PropertyValueKind, ut as EditorCommands, v as BaseElement, va as NodeIn, vc as SchemaPropertyRole, vi as EditorValueFromPlugins, vl as TextEqualsOptions, vn as EditorRootOwner, vr as EditorStateRuntimeApi, vs as RangeInterface, vt as EditorCoreStateView, vu as defineEffect, wa as NodeLevelsOptions, wc as SchemaText, wi as ElementApi, wl as TextOf, wn as EditorSchemaContractContentProgram, wo as PluginInput, wr as EditorStateValueApi, ws as RootKey, wt as EditorDocumentRecords, x as BaseRange, xa as NodeInterface, xc as SchemaRecordSet, xi as EditorView, xl as TextInsertTextOptions, xn as EditorSchemaContract, xr as EditorStateSliceApi, xs as RemoveNodesCommand, xt as EditorDirectCommandDispatch, xu as defineStateField, y as BaseNode, ya as NodeInsertNodesOptions, yc as SchemaPropertySplitPolicy, yi as EditorValuePersistence, yl as TextIn, yn as EditorSchemaContent, yo as PluginDependencyReference, yr as EditorStateSchemaApi, ys as RangeMode, yt as EditorCoreUpdateMethods, yu as definePluginPoint, z as DeleteCommand, za as NodeSplitNodesOptions, zc as SelectionEdge, zi as InsertBreakCommand, zl as TransferInput, zn as EditorSchemaIdentity, zo as PluginTypeProvider, zr as EditorTransactionChangeHandler, zs as SchemaElement, zt as EditorInstalledReadGroups } from "./index-BXjLmx1n-CXk17buG.js";
2
+ import { h as EditorApplicationSchema } from "./htmlTypes-eT2ZGDAj.js";
3
+ import { $a as InferConflicts, $i as HistoryPlugin, $n as HeadingRules, $r as InputRulesConfig, $t as UpsertLinkOptions, Aa as PluginFormatSchemaView, Ai as AutoScrollChangeKind, An as CapturedFormat, Ao as PluginSelector, Ar as BaseParagraphDefinition, At as PlainTextSerializeResult, B as InjectNodeProps, Ba as nanoid, Bi as DebugDefinition, Bn as BaseStrikethroughPlugin, Bo as StructuralRuleEditor, Br as HtmlPlugin, Bt as OutdentListOptions, C as BasePluginOn, Ca as MarkdownRefusal, Ci as TransformInputRuleContext, Cn as BaseTextAlignPlugin, Co as PluginReference, Cr as RenderTextFn, Ct as PluginTransaction, Da as PluginFormatContext, Di as ElementIdPlugin, Dn as TextIndentDefinition, Do as PluginSchemaElement, Dr as RenderLeafFn, Dt as PlainTextDiagnostic, E as ConfiguredBasePlugin, Ea as HtmlMappingDiagnosticInput, Ei as ElementStatePlugin, En as TextAlignDefinition, Eo as PluginSchemaDeclaration, Er as RenderTextProps, F as HtmlMatchValue, Fa as HandlerReturnType, Fi as DomPluginState, Fn as BaseCodePlugin, Fo as PluginStore, Fr as createBlockStartInputRule, Ft as BulletedListRules, G as PluginShortcutInput, Gi as LogLevel, Gn as ItalicRules, Gr as BlockStartInputRuleConfig, Gt as BaseLinkDefinition, H as LeafStaticProps, Hi as DebugPlugin, Hn as BoldRules, Ho as WithRequiredName, Hr as BaseInputRule, Ht as ToggleListOptions, I as HtmlMatcher, Ia as DocxNodeMapping, Ii as DomPluginUpdate, In as BaseHighlightPlugin, Ir as createMarkInputRule, It as ListElement, J as RenderStaticNodeWrapperProps, Ja as DeleteRules, Ji as AffinityPlugin, Jn as ScriptValue, Jo as UnknownObject, Jr as DelimitedInlineInputRuleMatch, Jt as CreateLinkNodeOptions, K as RenderStaticNodeWrapper, Ka as BreakRules, Ki as AffinityDefinition, Kn as MarkComboRules, Ko as Nullable, Kr as BlockStartInputRuleMatch, Kt as BaseLinkPlugin, L as HtmlNodeSpec, La as ElementWith, Li as ScrollIntoViewTarget, Ln as BaseItalicPlugin, Lo as RuleDecision, Lr as createTextSubstitutionInputRule, Lt as ListStyle, M as HtmlAttributes, Ma as RenderElementFn, Mi as AutoScrollOptions, Mn as FormattingContribution, Mo as PluginSelectorMethods, Mr as inputRuleVeto, Mt as BULLETED_LIST_STYLES, N as HtmlContentToken, Na as RenderElementProps, Ni as AutoScrollUpdate, Nn as formatting, No as PluginSelectorReturn, Nr as defineInputRule, Nt as BaseListDefinition, O as DeclaredPluginShortcutInput, Oa as PluginFormatModelView, Oi as ElementIdPluginState, On as TextIndentPluginState, Oo as PluginSchemaMark, Or as RenderLeafProps, Ot as PlainTextDocumentOptions, P as HtmlElementPatch, Pa as RenderElementSlots, Pi as DomApi, Pn as BaseBoldPlugin, Po as PluginSelectors, Pr as createBlockFenceInputRule, Pt as BaseListPlugin, Qa as InferApi, Qi as HistoryDefinition, Qn as HeadingLevel, Qr as InputRuleTarget, Qt as UnwrapLinkOptions, R as HtmlPrepareDiagnosticInput, Ra as PluginFormatNode, Ri as ScrollMode, Rn as BaseKbdPlugin, Ro as SelectionRules, Rr as matchBlockStart, Rt as ListType, S as BasePluginImplementationContext, Sa as MarkdownPluginRegistry, Si as TextSubstitutionPattern, Sn as BaseLineHeightPlugin, Sr as EditableProps, St as PluginState, T as BasePluginPortal, Ta as MarkdownTagNode, Ti as ElementStateDefinition, Tn as LineHeightDefinition, To as PluginSchemaContext, Tr as RenderTextPieceProps, U as NodeStaticProps, Ua as BaseInjectProps, Ui as DebugPluginState, Un as CodeRules, Ur as BlockFenceInputRuleConfig, Ut as isOrderedList, Vi as DebugErrorType, Vn as BaseUnderlinePlugin, Vo as WithAnyName, Vt as TaskListRules, W as PartialBasePlugin, Wa as BasePluginDefinition, Wi as EditorError, Wn as HighlightRules, Wr as BlockFenceInputRuleMatch, X as TransformOptions, Xa as GetInjectNodePropsOptions, Xi as TransferDefinition, Xn as UnderlineRules, Xr as InputRuleEditor, Xt as LinkElement, Y as TextStaticProps, Ya as EditOnlyConfig, Yi as AffinityPluginUpdate, Yn as StrikethroughRules, Yr as InputRule, Yt as LinkAttributes, Za as GetInjectNodePropsReturnType, Zi as TransferPlugin, Zn as BaseHeadingPlugin, Zr as InputRuleInsertTextOptions, Zt as LinkRules, _ as BasePlugin, _a as MarkdownMarks, _i as ResolvedInputRule, _n as Alignment, _r as getFragmentProp, _t as NodeInsertOptions, a as SingleLinePlugin, ai as InsertDataFollowUpInputRule, an as IndentPluginState, ao as InferOwnUpdate, ar as getPluginNodeClass, b as BasePluginDefinitionInput, ba as MarkdownNodeMapping, bi as TextSubstitutionInputRuleConfig, bn as BaseFontFamilyPlugin, br as ApplyDeepToNodesOptions, c as PLUGINS, ci as InsertDataInputRuleReadContext, cn as BaseCodeBlockPlugin, co as InferPluginUpdateGroups, cr as mergeDeepToNodes, ct as BlockInsertOptions, da as PlainTextNodeMapping, di as InsertTextInputRuleReadContext, dn as CodeBlockElement, do as InferSelectors, dr as Hotkeys, ea as HistoryPluginState, ei as InputRulesDefinition, en as WrapLinkOptions, eo as InferDependencies, er as ToggleHeadingOptions, et as CreateEditorOptions, fa as PlainTextNodeMappingInput, fi as MarkInputRuleConfig, fn as CodeHighlightDefinition, fo as InferTargetPlugins, fr as createHotkey, ga as MarkdownMarkWrapper, gi as MatchDelimitedInlineOptions, gn as HighlightResult, gr as GetFragmentPropOptions, ha as MarkdownMarkWrapContext, hi as MatchBlockStartOptions, hn as HighlightNode, ho as NodeComponent, hr as FragmentPropMode, i as TrailingBlockPluginState, ii as InsertDataFollowUpContext, in as IndentDefinition, io as InferOwnRead, ir as HorizontalRuleRules, j as EditorShortcut, ja as ElementContentRootSlot, ji as AutoScrollChangesMap, jn as FormattingBlockEntry, jo as PluginSelectorArgs, jr as BaseParagraphPlugin, jt as serializePlainText, k as Decorate, ka as PluginFormatRegistry, ki as AutoScrollApi, kn as BaseFormattingPlugin, ko as PluginSchemaReferences, kr as StaticRenderLeafProps, kt as PlainTextEditorOptions, l as PluginName, li as InsertTextInputRule, ln as BaseCodeHighlightPlugin, lr as isUrl, lt as BlockUpsertOptions, ma as MarkdownEncodeContext, mi as MatchBlockFenceOptions, mn as CodeHighlightPluginState, mo as MergeRules, mr as getInjectMatch, n as TrailingBlockDefinition, ni as InsertBreakInputRuleContext, nn as BaseIndentPlugin, no as InferName, nr as BaseHorizontalRulePlugin, o as SingleBlockPlugin, oi as InsertDataInputRule, oo as InferPluginReadGroups, or as isPluginElementClass, ot as createEditor, pa as MarkdownDecodeContext, pi as MarkInputRuleMatch, pn as CodeHighlightLowlight, po as InferUpdate, pr as isHotkey, q as RenderStaticNodeWrapperFunction, qa as DefinitionOf, qi as AffinityEdgeNodes, qn as ScriptRules, qo as AnyObject, qr as DefinedInsertDataFollowUpInputRule, qt as BaseLinkPluginState, r as TrailingBlockPlugin, ri as InsertBreakInputRuleReadContext, rn as IndentChangeOptions, ro as InferOwnApi, rr as BlockquoteRules, rt as EditorValueInput, s as ExitBreakPlugin, si as InsertDataInputRuleContext, sn as CodeBlockRules, so as InferPluginStoreState, sr as isPluginNodeClass, st as BasePluginInput, t as isNominalPluginDescriptor, ta as definePlugin, ti as InsertBreakInputRule, tn as getLinkHref, to as InferEnabled, tr as BaseBlockquotePlugin, u as Editor, ua as PlainTextEncodeContext, ui as InsertTextInputRuleContext, un as CodeBlockDefinition, uo as InferRead, ur as isDefined, v as BasePluginConfiguration, va as MarkdownNodeKind, vi as ResolvedInputRulesMeta, vn as BaseFontBackgroundColorPlugin, vo as NormalizeRules, vr as IS_APPLE, w as BasePluginOverride, wa as MarkdownTagAttributeView, wi as ElementStateApi, wn as BaseTextIndentPlugin, wo as PluginSchema, wr as RenderTextHostProps, wt as PluginUpdate, x as BasePluginExtendInput, xa as MarkdownNodeMappingInput, xi as TextSubstitutionMatch, xn as BaseFontSizePlugin, xo as PluginDependency, xr as applyDeepToNodes, xt as PluginReadState, y as BasePluginContext, ya as MarkdownNodeKinds, yi as SelectionInputRuleContext, yn as BaseFontColorPlugin, yo as PluginBaseContext, yr as defaultsDeepToNodes, yt as PluginOwnUpdate, z as HtmlWrapperSpec, za as TextWith, zi as DebugApi, zn as BaseScriptPlugin, zo as StructuralRuleContext, zr as matchDelimitedInline, zt as OrderedListRules } from "./core-BqR-fEDp.js";
4
+ export { type AddMarkCommand, AffinityDefinition, AffinityEdgeNodes, AffinityPlugin, AffinityPluginUpdate, Alignment, Ancestor, AncestorEntry, AncestorEntryOf, AncestorIn, AncestorOf, type Anchor, type AnchorAssociation, type AnchorDeletionPolicy, type AnchorOptions, type AnchorValue, type AnyObject, ApplyDeepToNodesOptions, type AuthoredDocumentProjection, type AuthoredProjectionDiagnostic, type AuthoredTouch, type AuthoredVeto, type AutoScrollApi, type AutoScrollChangeKind, type AutoScrollChangesMap, type AutoScrollOptions, type AutoScrollUpdate, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseElement, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, type BaseInjectProps, BaseInputRule, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkDefinition, BaseLinkPlugin, BaseLinkPluginState, BaseListDefinition, BaseListPlugin, BaseNode, BaseParagraphDefinition, BaseParagraphPlugin, type BasePlugin, type BasePlugin as Plugin, type BasePluginConfiguration, type BasePluginContext, type BasePluginDefinition, type BasePluginDefinitionInput, type BasePluginDefinitionInput as PluginDefinitionInput, type BasePluginExtendInput, type BasePluginImplementationContext, type BasePluginInput, type BasePluginOn, type BasePluginOverride, type BasePluginPortal, type BasePluginPortal as PluginPortal, BasePoint, BaseRange, BaseScriptPlugin, BaseStrikethroughPlugin, BaseText, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, type BlockDuplicateOptions, BlockFenceInputRuleConfig, BlockFenceInputRuleMatch, type BlockInsertOptions, BlockStartInputRuleConfig, BlockStartInputRuleMatch, type BlockUpsertOptions, BlockquoteRules, BoldRules, BooleanMarkKeysOf, BooleanMarksOf, type BreakRules, BulletedListRules, CapturedFormat, ChildOf, CodeBlockDefinition, CodeBlockElement, CodeBlockRules, CodeHighlightDefinition, CodeHighlightLowlight, CodeHighlightPluginState, CodeRules, type CollapseSelectionCommand, type CompatibleEditorCommand, type ConfiguredBasePlugin, ContentSlice, type CreateEditorOptions, CreateLinkNodeOptions, DebugApi, DebugDefinition, DebugErrorType, DebugPlugin, DebugPluginState, type DebugValueScrubber, type DeclaredPluginShortcutInput, type Decorate, type Decoration, type DecorationAttributes, type DecorationRefresh, type DecorationSource, DefinedInsertDataFollowUpInputRule, type DefinitionOf, type DeleteCommand, type DeleteFragmentCommand, type DeleteRules, DelimitedInlineInputRuleMatch, type DerivedEditorSchemaIdentity, Descendant, DescendantEntry, DescendantEntryIn, DescendantEntryOf, DescendantIn, DescendantOf, DocumentChange, type DocxNodeMapping, type DomApi, type DomPluginState, type DomPluginUpdate, type EditOnlyConfig, type EditableProps, type Editor, type EditorAboveOptions, type EditorApplicationSchema, type EditorBlockOptions, type EditorBlockToggleOptions, type EditorBreakExitOptions, type EditorCanonicalUpdateTag, type EditorCommand, type EditorCommandAroundHandler, type EditorCommandContinuation, type EditorCommandDescriptor, type EditorCommandDispatch, type EditorCommandHandler, type EditorCommandInput, type EditorCommandPlace, type EditorCommandResult, type EditorCommands, type EditorCommit, type EditorCommitChangeKind, type EditorCommitChanged, type EditorCommitContext, type EditorCommitHandler, type EditorCommitListener, type EditorCommitRuntimeChangeKind, type EditorCoreStateView, type EditorCoreUpdateMethods, type EditorCoreUpdateTransaction, type EditorDirectCommandDispatch, type EditorDocumentRange, type EditorDocumentRecords, type EditorDocumentValue, type EditorEffect, type EditorEffectCollabDecodeContext, type EditorEffectCollabEncodeContext, type EditorEffectCollabReplay, type EditorEffectCollabTransport, type EditorEffectHistoryReplayResult, type EditorEffectType, type EditorElementBehavior, type EditorElementEntry, EditorError, type EditorFragmentDeletionOptions, type EditorFragmentReadOptions, type EditorInstalledApiGroups, type EditorInstalledReadGroups, type EditorInstalledUpdateGroups, type EditorIsEditorOptions, type EditorJsonValue, type EditorLevelsOptions, type EditorLifecycleError, type EditorLifecycleErrorSink, type EditorMarks, type EditorMarksOf, type EditorNextOptions, type EditorNodeChangeContext, type EditorNodeChangeHandler, type EditorNodeChangeKind, type EditorNodeGetOptions, type EditorNodeUnsetOptions, type EditorNodesOptions, type EditorNodesReadOptions, type EditorParentOptions, type EditorPreviousOptions, type EditorRead, type EditorReadAroundHandler, type EditorReadContext, type EditorReadDescriptor, type EditorReadInput, type EditorReadMethodRecord, type EditorReadMethodTree, type EditorReadMethods, type EditorReadRegistration, type EditorReadResult, type EditorReplaceChildrenOptions, type EditorReplaceNodeOptions, type EditorRootEntry, type EditorRootOwner, type EditorSchemaContent, type EditorSchemaContentRoot, type EditorSchemaContract, type EditorSchemaContractChange, type EditorSchemaContractChangeKind, type EditorSchemaContractContentProgram, type EditorSchemaContractContentRoot, type EditorSchemaContractDiff, type EditorSchemaContractElement, type EditorSchemaContractRoot, type EditorSchemaContribution, type EditorSchemaDeclaration, type EditorSchemaDefinition, type EditorSchemaDelta, type EditorSchemaDerivedDefinition, type EditorSchemaElement, type EditorSchemaElementOverride, type EditorSchemaElementOverrideInput, type EditorSchemaElementStructure, type EditorSchemaGetProperty, type EditorSchemaIdentity, type EditorSchemaNamedDefinition, type EditorSchemaOverride, type EditorSchemaOverrideInput, type EditorSchemaPlugin, type EditorSchemaProperty, type EditorSchemaPropertyOverride, type EditorSchemaPropertyOverrideInput, type EditorSchemaPropertyQuery, type EditorSchemaPropertyReadOptions, type EditorSchemaReadProperty, type EditorSchemaRepairCode, type EditorSchemaSource, type EditorSchemaStructureProperty, type EditorSchemaUnknownPolicy, type EditorSchemaValidationCode, type EditorSchemaValidationDiagnostic, EditorSchemaValidationError, type EditorSchemaValidationPropertyContext, type EditorSchemaVocabulary, EditorSelection, type EditorSelectionBlockOptions, type EditorSelectionTargetOptions, type EditorShortcut, type EditorSliceReadOptions, type EditorSnapshot, type EditorStateField, type EditorStateFragmentApi, type EditorStateMarksApi, type EditorStateNodesApi, type EditorStatePointsApi, type EditorStateRangesApi, type EditorStateRuntimeApi, type EditorStateSchemaApi, type EditorStateSelectionApi, type EditorStateSliceApi, type EditorStateTextApi, type EditorStateUniqueApi, type EditorStateValueApi, type EditorStateView, type EditorStateViewApi, type EditorTargetRuntime, type EditorTextChangeContext, type EditorTextChangeHandler, type EditorToggleBlockOptions, type EditorToggleMarkOptions, type EditorTransactionAnchor, type EditorTransactionAnchorApi, type EditorTransactionAnnotationsApi, type EditorTransactionBlocksApi, type EditorTransactionBreakApi, type EditorTransactionChangeContext, type EditorTransactionChangeHandler, type EditorTransactionChanged, type EditorTransactionChangesApi, type EditorTransactionDocumentChangeKind, type EditorTransactionEffectsApi, type EditorTransactionFragmentApi, type EditorTransactionMarksApi, type EditorTransactionNodesApi, type EditorTransactionPluginsApi, type EditorTransactionRecordsApi, type EditorTransactionRemoved, type EditorTransactionRootsApi, type EditorTransactionSelectionApi, type EditorTransactionSliceApi, type EditorTransactionSpecBuilder, type EditorTransactionTagsApi, type EditorTransactionTextApi, type EditorTransactionTopLevelRange, type EditorTransactionValueApi, type EditorUniqueHolder, type EditorUpdate, type EditorUpdateAnnotation, type EditorUpdateContext, type EditorUpdateMethods, type EditorUpdatePolicy, type EditorUpdatePolicyFor, type EditorUpdateTag, type EditorUpdateTagInput, type EditorUpdateTransaction, type EditorUpdateValueFromPlugin, type EditorValueFromOptions, type EditorValueFromPlugins, type EditorValueInput, type EditorValuePersistence, type EditorView, type EditorViewOptions, Element, ElementApi, type ElementContentRootSlot, ElementEntry, ElementEntryOf, ElementIdPlugin, ElementIdPluginState, type ElementIdTarget, ElementIn, ElementInterface, ElementIsElementOptions, ElementOf, ElementOrTextIn, ElementOrTextOf, ElementStateApi, ElementStateDefinition, ElementStatePlugin, type ElementWith, ExitBreakPlugin, FormattingBlockEntry, FormattingContribution, FragmentPropMode, GetFragmentPropOptions, type GetInjectNodePropsOptions, type GetInjectNodePropsReturnType, type HandlerReturnType, HeadingLevel, HeadingRules, HighlightNode, HighlightResult, HighlightRules, type HistoryApi, HistoryDefinition, type HistoryOutcome, HistoryPlugin, HistoryPluginState, type HistoryResult, type HistorySettlement, HorizontalRuleRules, Hotkeys, type HtmlAttributes, type HtmlContentToken, type HtmlElementPatch, type HtmlMappingDiagnosticInput, type HtmlMatchValue, type HtmlMatcher, type HtmlNodeSpec, HtmlPlugin, type HtmlPrepareDiagnosticInput, type HtmlWrapperSpec, IS_APPLE, IndentChangeOptions, IndentDefinition, IndentPluginState, type InferApi, type InferConflicts, type InferDependencies, type InferEnabled, type InferName, type InferOwnApi, type InferOwnRead, type InferOwnUpdate, type InferPluginReadGroups, type InferPluginStoreState, type InferPluginUpdateGroups, type InferRead, type InferSelectors, type InferTargetPlugins, type InferUpdate, type InitialValue, type InjectNodeProps, InputRule, InputRuleEditor, InputRuleInsertTextOptions, InputRuleTarget, InputRulesConfig, InputRulesDefinition, type InsertBreakCommand, InsertBreakInputRule, InsertBreakInputRuleContext, InsertBreakInputRuleReadContext, InsertDataFollowUpContext, InsertDataFollowUpInputRule, InsertDataInputRule, InsertDataInputRuleContext, InsertDataInputRuleReadContext, type InsertNodesCommand, type InsertSoftBreakCommand, type InsertTextCommand, InsertTextInputRule, InsertTextInputRuleContext, InsertTextInputRuleReadContext, ItalicRules, type JsonEditorValue, type JsonNode, type LeafEdge, LeafPosition, type LeafStaticProps, LineHeightDefinition, LinkAttributes, LinkElement, LinkRules, ListElement, ListStyle, ListType, Location, LocationApi, LocationInterface, LogLevel, MarkComboRules, MarkInputRuleConfig, MarkInputRuleMatch, MarkKeysOf, type MarkdownDecodeContext, type MarkdownEncodeContext, type MarkdownMarkWrapContext, type MarkdownMarkWrapper, type MarkdownMarks, type MarkdownNodeKind, type MarkdownNodeKinds, type MarkdownNodeMapping, type MarkdownNodeMappingInput, type MarkdownPluginRegistry, type MarkdownRefusal, type MarkdownTagAttributeView, type MarkdownTagNode, MarksIn, MarksOf, MatchBlockFenceOptions, MatchBlockStartOptions, MatchDelimitedInlineOptions, type MaximizeMode, type MergeRules, type MoveSelectionCommand, type MoveUnit, type NamedEditorSchemaIdentity, type NamedRootKey, Node, NodeAncestorsOptions, NodeApi, NodeChildEntry, NodeChildrenOptions, type NodeComponent, NodeDescendantsOptions, type NodeDuplicateOptions, NodeElementsOptions, NodeEntry, NodeEntryIn, NodeEntryOf, NodeFindTextRangesOptions, NodeHasPropsOptions, NodeIn, type NodeInsertNodesOptions, type NodeInsertOptions, type NodeInsertSplitOptions, NodeInterface, NodeIsNodeOptions, type NodeKey, NodeLevelsOptions, type NodeLiftNodesOptions, NodeMatch, NodeMatchPredicate, type NodeMergeNodesOptions, type NodeMoveNodesOptions, type NodeMutationMethods, NodeNodesOptions, NodeOf, NodeProps, type NodeRemoveNodesOptions, type NodeReplaceChildrenOptions, NodeSelection, NodeSelectionMode, type NodeSetNodesOptions, type NodeSplitNodesOptions, type NodeStaticProps, type NodeTarget, NodeTextRangeEntry, NodeTextRangeMatch, NodeTextRangeQuery, NodeTextRangeRoot, NodeTextRangeView, NodeTextsOptions, NodeTypeSelector, type NodeUnsetNodesOptions, type NodeUnwrapNodesOptions, type NodeWrapNodesOptions, type NodeWriteVeto, type NodeWriteVetoInput, type NormalizeRules, type Nullable, OrderedListRules, OutdentListOptions, PLUGINS, type PartialBasePlugin, Path, PathAncestorsOptions, PathApi, PathInterface, PathLevelsOptions, type PersistedDocumentInput, type PlacedTarget, PlainTextDiagnostic, PlainTextDocumentOptions, PlainTextEditorOptions, type PlainTextEncodeContext, type PlainTextNodeMapping, type PlainTextNodeMappingInput, PlainTextSerializeResult, type PluginActivationContext, type PluginApiFactory, type PluginApiFactoryContext, type PluginBaseContext, type PluginCandidateContext, type PluginCandidateEditor, type PluginCapabilities, type PluginCleanupContext, type PluginContribution, type PluginContributionInput, type PluginDefinition, type PluginDependency, type PluginDependencyReference, type PluginFormatContext, type PluginFormatModelView, type PluginFormatNode, type PluginFormatRegistry, type PluginFormatSchemaView, type PluginInput, type PluginMigrationContext, PluginName, type PluginOwnUpdate, type PluginPoint, PluginPublicationError, type PluginReadContext, type PluginReadFactory, type PluginReadFactoryContext, type PluginReadMiddlewareFactory, type PluginReadState, type PluginReconfigureOptions, type PluginReference, type PluginSchema, type PluginSchemaContext, type PluginSchemaDeclaration, type PluginSchemaElement, type PluginSchemaMark, type PluginSchemaReferences, type PluginSelector, type PluginSelectorArgs, type PluginSelectorMethods, type PluginSelectorReturn, type PluginSelectors, type PluginShortcutInput, type PluginSlot, type PluginSlotLike, type PluginSlotValue, type PluginState, type PluginStore, type PluginTransaction, type PluginTypeProvider, type PluginTypes, type PluginUpdate, type PluginUpdateFactory, type PluginUpdateFactoryContext, type PluginsFromOptions, type PluginsOf, Point, PointApi, PointEntry, PointInterface, type ProjectedRangeSegment, type PropertyBooleanDescriptor, type PropertyBuilderApi, type PropertyEnumDescriptor, type PropertyJsonDescriptor, type PropertyJsonOptions, type PropertyNumberDescriptor, type PropertyOptionsOf, type PropertySetDescriptor, type PropertySetOptions, type PropertyStringDescriptor, type PropertyValidation, type PropertyValueDescriptor, type PropertyValueKind, type PropertyValueOf, type PropertyValueOptions, Range, type RangeAnchorAssociation, RangeApi, type RangeDirection, RangeEdgesOptions, RangeInterface, type RangeMode, type RemoveMarkCommand, type RemoveNodesCommand, type RenderElementFn, type RenderElementProps, type RenderElementSlots, type RenderLeafFn, type RenderLeafProps, type RenderStaticNodeWrapper, type RenderStaticNodeWrapperFunction, type RenderStaticNodeWrapperProps, type RenderTextFn, type RenderTextHostProps, type RenderTextPieceProps, type RenderTextProps, type ReplaceSliceCommand, ResolvedInputRule, ResolvedInputRulesMeta, type RootKey, type RuleDecision, type SchemaBuiltInGroupName, type SchemaContent, type SchemaContentDefault, type SchemaContentInput, type SchemaContentOptions, type SchemaContentPrefixSlot, type SchemaContentRoot, type SchemaContentRootContribution, type SchemaContentRootInput, type SchemaContentRootOwnership, type SchemaContentRootSlotsFor, type SchemaContentRootStructure, type SchemaContentRule, type SchemaDescendant, type SchemaElement, type SchemaElementConstructionPropertiesFor, type SchemaElementFor, type SchemaElementHandle, type SchemaElementInput, type SchemaElementProperties, type SchemaElementPropertiesFor, type SchemaElementProperty, type SchemaElementPropertyDefinition, type SchemaElementPropertyKeys, type SchemaElementPropertyOptions, type SchemaElementPropertyValue, type SchemaElementShapeFor, type SchemaElementSlicePolicy, type SchemaElementStructure, type SchemaElementTarget, type SchemaElementTypes, type SchemaGroup, type SchemaGroupNames, type SchemaGroupOptions, type SchemaKeyPrefix, type SchemaPluginsOf, type SchemaProperty, type SchemaPropertyCopyPolicy, type SchemaPropertyDefinition, type SchemaPropertyExclusiveGroup, type SchemaPropertyHandle, type SchemaPropertyHandleValue, type SchemaPropertyIds, type SchemaPropertyKey, type SchemaPropertyLandingPolicy, type SchemaPropertyReferences, type SchemaPropertyRole, type SchemaPropertySplitPolicy, type SchemaPropertyTypeChangePolicy, type SchemaRecordSet, type SchemaRootNames, type SchemaTarget, type SchemaText, type SchemaTextBlockOptions, type SchemaTextProperties, type SchemaTextProperty, type SchemaTextPropertyDefinition, type SchemaTextPropertyKeys, type SchemaTextPropertyOptions, type SchemaTypesTarget, type SchemaValue, type SchemaValueFromPlugins, ScriptRules, ScriptValue, type ScrollIntoViewTarget, type ScrollMode, type SelectCommand, Selection, SelectionApi, SelectionAssociation, type SelectionCollapseOptions, type SelectionEdge, SelectionInputRuleContext, type SelectionMode, type SelectionMoveOptions, type SelectionMutationMethods, type SelectionRules, type SelectionSetPointOptions, SelectionValue, type SerializedEditorEffect, type SerializedEditorSelection, type SerializedEditorValue, type SetNodesCommand, type SetSelectionCommand, SingleBlockPlugin, SingleLinePlugin, type SliceLanding, type SliceLandingInput, type SliceLandingTarget, type SnapshotIndex, type SnapshotInput, Span, SpanApi, SpanInterface, type StateFieldCollabPolicy, type StateFieldDescriptor, type StateFieldHistoryPolicy, type StateFieldInitial, type StateFieldValueInput, type StaticRenderLeafProps, StrikethroughRules, type StructuralRuleContext, type StructuralRuleEditor, type TargetFreshnessRequest, TaskListRules, Text, TextAlignDefinition, TextApi, type TextDeleteOptions, type TextDirection, TextEntry, TextEntryIn, TextEntryOf, TextEqualsOptions, TextIn, TextIndentDefinition, TextIndentPluginState, type TextInsertFragmentOptions, type TextInsertTextOptions, TextInterface, type TextMutationMethods, TextOf, type TextRemoveTextOptions, TextSelection, type TextStaticProps, TextSubstitutionInputRuleConfig, TextSubstitutionMatch, TextSubstitutionPattern, type TextTarget, type TextUnit, type TextUnitAdjustment, type TextWith, type ToggleBlockCommand, ToggleHeadingOptions, ToggleListOptions, type ToggleMarkCommand, type TopLevelRuntimeRange, TrailingBlockDefinition, TrailingBlockPlugin, TrailingBlockPluginState, type TransactionSpec, type TransferAdoptInput, type TransferApi, type TransferCheck, type TransferDefinition, type TransferDiagnostic, type TransferEdge, type TransferInput, type TransferIntent, type TransferLandingInput, type TransferLandingTarget, type TransferOutcome, type TransferPatch, type TransferPatchProperties, type TransferPayload, TransferPlugin, type TransferRead, type TransferRefusalReason, type TransferRelation, type TransferSide, type TransferSideInput, type TransferSourceInput, type TransferTarget, type TransferVeto, type TransferVetoInput, type TransferWrap, TransformInputRuleContext, type TransformOptions, type TxDeclaredMethod, type TxMethodDeclarations, type TxOnlyMethod, UnderlineRules, type UnknownObject, UnwrapLinkOptions, UpsertLinkOptions, type Value, type ValueOf, type WithAnyName, type WithNodeTarget, type WithRequiredName, WrapLinkOptions, applyDeepToNodes, authoredVeto, compileEditorSchemaContract, createBlockFenceInputRule, createBlockStartInputRule, createEditor, createEditorView, createHotkey, createMarkInputRule, createTextSubstitutionInputRule, decodeEditorEffect, defaultsDeepToNodes, defineCommand$1 as defineCommand, defineEditorSchema, defineEffect, defineInputRule, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, formatting, getEditorRuntimeOwner, getFragmentProp, getInjectMatch, getLinkHref, getPluginNodeClass, inputRuleVeto, invertEffect, isDefined, isEditor, isHotkey, isNominalPluginDescriptor, isOrderedList, isPluginElementClass, isPluginNodeClass, isUrl, locateAt, mapEffect, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, nodeWriteVeto, property, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema$1 as schema, screenReaderAnnouncementEffect, serializePlainText, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, transfer, transferVeto, txLocate, txOnly, txSelection, valueCodecs };
@@ -1,4 +1,4 @@
1
- import { ElementApi, MAIN_ROOT_KEY, getEditorCommitNode, property, registerEditorTransactionGuard, schema, target } from "../../../facade.js";
1
+ import { ElementApi, MAIN_ROOT_KEY, getEditorCommitNode, property, readElementById, registerEditorTransactionGuard, schema, target } from "../../../facade.js";
2
2
  import { definePlugin } from "../../plugin/definePlugin.js";
3
3
  import { assertElementId, elementIdDocumentRoots } from "./elementIdAdmission.internal.js";
4
4
  import { nanoid } from "nanoid";
@@ -32,21 +32,11 @@ const ElementIdPlugin = definePlugin("elementId", {
32
32
  }
33
33
  }));
34
34
  },
35
- read: ({ state }) => ({
36
- entry(id) {
37
- const holder = state.unique.holder("id", id);
38
- const node = holder && state.nodes.get(holder.key)?.[0];
39
- return holder && ElementApi.isElement(node) ? Object.freeze({
40
- ...holder,
41
- node
42
- }) : void 0;
43
- },
44
- id(key) {
45
- const node = state.nodes.get(key)?.[0];
46
- const id = ElementApi.isElement(node) && state.schema.getProperty(node, idProperty);
47
- return typeof id === "string" && state.unique.holder("id", id)?.key === key ? id : void 0;
48
- }
49
- })
35
+ read: ({ state }) => ({ id(key) {
36
+ const node = state.nodes.get(key)?.[0];
37
+ const id = ElementApi.isElement(node) && state.schema.getProperty(node, idProperty);
38
+ return typeof id === "string" && readElementById(state.nodes, id)?.key === key ? id : void 0;
39
+ } })
50
40
  };
51
41
  });
52
42
  //#endregion