oasis-editor 0.0.17 → 0.0.18

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 (368) hide show
  1. package/dist/app/bootstrap/createOasisEditorApp.d.ts +2 -2
  2. package/dist/app/bootstrap/createOasisEditorContainer.d.ts +2 -2
  3. package/dist/app/client/OasisEditorClient.d.ts +4 -4
  4. package/dist/app/clipboard/htmlClipboardParser.d.ts +1 -1
  5. package/dist/app/controllers/EditorCommandRegistry.d.ts +1 -1
  6. package/dist/app/controllers/EditorCommandsController.d.ts +6 -6
  7. package/dist/app/controllers/createResizeSession.d.ts +4 -4
  8. package/dist/app/controllers/createRotateSession.d.ts +3 -3
  9. package/dist/app/controllers/documentIO/DocumentExporter.d.ts +1 -1
  10. package/dist/app/controllers/documentIO/DocumentImporter.d.ts +3 -3
  11. package/dist/app/controllers/documentIO/ImageInsertionService.d.ts +2 -2
  12. package/dist/app/controllers/tableOpsCellSpanCommands.d.ts +2 -2
  13. package/dist/app/controllers/tableOpsGuards.d.ts +2 -2
  14. package/dist/app/controllers/tableOpsMutationCommands.d.ts +1 -1
  15. package/dist/app/controllers/tableOpsRowColumnCommands.d.ts +1 -1
  16. package/dist/app/controllers/tableOpsSelectionAwareCommands.d.ts +3 -3
  17. package/dist/app/controllers/tableOpsSelectionNavigation.d.ts +1 -1
  18. package/dist/app/controllers/tableOpsSelectionRanges.d.ts +3 -3
  19. package/dist/app/controllers/tableResize/tableResizeApply.d.ts +2 -2
  20. package/dist/app/controllers/tableResize/tableResizeConstraints.d.ts +3 -3
  21. package/dist/app/controllers/tableResize/tableResizeGeometry.d.ts +2 -2
  22. package/dist/app/controllers/tableResize/tableResizeHitTest.d.ts +2 -2
  23. package/dist/app/controllers/tableResize/tableResizeTypes.d.ts +2 -2
  24. package/dist/app/controllers/useEditorClipboard.d.ts +2 -2
  25. package/dist/app/controllers/useEditorDocumentIO.d.ts +4 -4
  26. package/dist/app/controllers/useEditorFindReplace.d.ts +2 -2
  27. package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -3
  28. package/dist/app/controllers/useEditorImageOperations.d.ts +10 -10
  29. package/dist/app/controllers/useEditorKeyboard.d.ts +4 -4
  30. package/dist/app/controllers/useEditorLayout.d.ts +15 -15
  31. package/dist/app/controllers/useEditorNavigation.d.ts +2 -2
  32. package/dist/app/controllers/useEditorPersistence.d.ts +2 -2
  33. package/dist/app/controllers/useEditorRevision.d.ts +3 -3
  34. package/dist/app/controllers/useEditorStyle.d.ts +4 -4
  35. package/dist/app/controllers/useEditorSurfaceEvents.d.ts +2 -2
  36. package/dist/app/controllers/useEditorTableDrag.d.ts +5 -5
  37. package/dist/app/controllers/useEditorTableOperations.d.ts +9 -9
  38. package/dist/app/controllers/useEditorTableResize.d.ts +3 -3
  39. package/dist/app/controllers/useEditorTextBoxOperations.d.ts +4 -4
  40. package/dist/app/controllers/useEditorTextDrag.d.ts +7 -7
  41. package/dist/app/controllers/useEditorTextInput.d.ts +2 -2
  42. package/dist/app/services/FindReplaceService.d.ts +1 -1
  43. package/dist/app/services/PersistenceService.d.ts +1 -1
  44. package/dist/core/Editor.d.ts +4 -4
  45. package/dist/core/cloneState.d.ts +1 -1
  46. package/dist/core/commands/CommandBus.d.ts +2 -2
  47. package/dist/core/commands/CommandRegistry.d.ts +1 -1
  48. package/dist/core/commands/block.d.ts +2 -2
  49. package/dist/core/commands/clipboard.d.ts +1 -1
  50. package/dist/core/commands/floatingLayout.d.ts +1 -1
  51. package/dist/core/commands/footnotes.d.ts +1 -1
  52. package/dist/core/commands/history.d.ts +1 -1
  53. package/dist/core/commands/image.d.ts +3 -3
  54. package/dist/core/commands/link.d.ts +1 -1
  55. package/dist/core/commands/list.d.ts +2 -2
  56. package/dist/core/commands/misc.d.ts +1 -1
  57. package/dist/core/commands/publicCommandTypes.d.ts +3 -3
  58. package/dist/core/commands/selectedObjectRun.d.ts +1 -1
  59. package/dist/core/commands/selection.d.ts +1 -1
  60. package/dist/core/commands/shape.d.ts +1 -1
  61. package/dist/core/commands/table/insertTableCommand.d.ts +1 -1
  62. package/dist/core/commands/table/tableCellStyleCommands.d.ts +1 -1
  63. package/dist/core/commands/table/tableColumnCommands.d.ts +1 -1
  64. package/dist/core/commands/table/tableCommandUtils.d.ts +1 -1
  65. package/dist/core/commands/table/tableRowCommands.d.ts +1 -1
  66. package/dist/core/commands/table/tableStyleCommands.d.ts +1 -1
  67. package/dist/core/commands/table.d.ts +5 -5
  68. package/dist/core/commands/text.d.ts +2 -2
  69. package/dist/core/commands/textBox.d.ts +3 -3
  70. package/dist/core/document/blockReplacement.d.ts +1 -1
  71. package/dist/core/document/bookmarkAnchors.d.ts +1 -1
  72. package/dist/core/document/clone.d.ts +1 -1
  73. package/dist/core/document/imageCaptions.d.ts +1 -1
  74. package/dist/core/document/paragraphRunBuild.d.ts +1 -1
  75. package/dist/core/document/paragraphRunEdit.d.ts +1 -1
  76. package/dist/core/document/paragraphRunQuery.d.ts +1 -1
  77. package/dist/core/document/paragraphRuns.d.ts +3 -3
  78. package/dist/core/editorCommands.d.ts +14 -14
  79. package/dist/core/editorState.d.ts +1 -1
  80. package/dist/core/endnotes.d.ts +1 -1
  81. package/dist/core/engine.d.ts +1 -1
  82. package/dist/core/footnotes.d.ts +1 -1
  83. package/dist/core/headings.d.ts +1 -1
  84. package/dist/core/html/htmlBlockWalker.d.ts +1 -1
  85. package/dist/core/html/htmlStyleParser.d.ts +3 -3
  86. package/dist/core/html/htmlTextSerializer.d.ts +1 -1
  87. package/dist/core/html/inlineImageParser.d.ts +1 -1
  88. package/dist/core/html/inlineStyleParser.d.ts +1 -1
  89. package/dist/core/html/paragraphStyleParser.d.ts +1 -1
  90. package/dist/core/html/styleCss.d.ts +1 -1
  91. package/dist/core/model/assets.d.ts +1 -1
  92. package/dist/core/model/documentIndex.d.ts +3 -3
  93. package/dist/core/model/documentSections.d.ts +1 -1
  94. package/dist/core/model/editingZones.d.ts +3 -3
  95. package/dist/core/model/editorState.d.ts +2 -2
  96. package/dist/core/model/index.d.ts +24 -24
  97. package/dist/core/model/pageGeometry.d.ts +1 -1
  98. package/dist/core/model/paragraphWalker.d.ts +2 -2
  99. package/dist/core/model/queries.d.ts +2 -2
  100. package/dist/core/model/styleDefaults.d.ts +1 -1
  101. package/dist/core/model/styleResolution.d.ts +1 -1
  102. package/dist/core/model/types/document.d.ts +7 -7
  103. package/dist/core/model/types/documentEndnotes.d.ts +1 -1
  104. package/dist/core/model/types/documentFootnotes.d.ts +1 -1
  105. package/dist/core/model/types/layout.d.ts +4 -4
  106. package/dist/core/model/types/nodes.d.ts +2 -2
  107. package/dist/core/model/types/styles.d.ts +1 -1
  108. package/dist/core/model.d.ts +2 -2
  109. package/dist/core/plugin.d.ts +5 -5
  110. package/dist/core/plugins/PluginCollection.d.ts +1 -1
  111. package/dist/core/plugins/PluginUiRegistry.d.ts +1 -1
  112. package/dist/core/selection/navigation.d.ts +1 -1
  113. package/dist/core/selection/rangeEditing.d.ts +2 -2
  114. package/dist/core/selection.d.ts +1 -1
  115. package/dist/core/tableLayout.d.ts +1 -1
  116. package/dist/core/textStyle/textStyleKeys.d.ts +1 -1
  117. package/dist/core/textStyle/textStyleMutations.d.ts +2 -2
  118. package/dist/core/textStyleMappings.d.ts +1 -1
  119. package/dist/export/docx/bookmarksXml.d.ts +1 -1
  120. package/dist/export/docx/borders.d.ts +1 -1
  121. package/dist/export/docx/commentsXml.d.ts +1 -1
  122. package/dist/export/docx/docxTypes.d.ts +3 -3
  123. package/dist/export/docx/endnotesXml.d.ts +2 -2
  124. package/dist/export/docx/exportEditorDocumentToDocx.d.ts +1 -1
  125. package/dist/export/docx/footnotesXml.d.ts +2 -2
  126. package/dist/export/docx/stylesXml.d.ts +1 -1
  127. package/dist/export/docx/tableXml.d.ts +1 -1
  128. package/dist/export/docx/text/blocksXml.d.ts +2 -2
  129. package/dist/export/docx/text/drawingContainerXml.d.ts +2 -2
  130. package/dist/export/docx/text/dropCapXml.d.ts +1 -1
  131. package/dist/export/docx/text/endnoteRunXml.d.ts +2 -2
  132. package/dist/export/docx/text/fieldRunXml.d.ts +1 -1
  133. package/dist/export/docx/text/footnoteRunXml.d.ts +2 -2
  134. package/dist/export/docx/text/hyperlinkXml.d.ts +1 -1
  135. package/dist/export/docx/text/imageRunXml.d.ts +1 -1
  136. package/dist/export/docx/text/paragraphPropertiesXml.d.ts +1 -1
  137. package/dist/export/docx/text/runPropertiesXml.d.ts +1 -1
  138. package/dist/export/docx/text/runXml.d.ts +2 -2
  139. package/dist/export/docx/text/styleMaterialization.d.ts +1 -1
  140. package/dist/export/docx/text/textBoxRunXml.d.ts +2 -2
  141. package/dist/export/docx/textXml.d.ts +1 -1
  142. package/dist/export/pdf/draw/drawBlockList.d.ts +3 -3
  143. package/dist/export/pdf/draw/drawFragment.d.ts +3 -3
  144. package/dist/export/pdf/draw/drawPageBackground.d.ts +1 -1
  145. package/dist/export/pdf/draw/drawParagraph.d.ts +3 -3
  146. package/dist/export/pdf/draw/drawTable.d.ts +3 -3
  147. package/dist/export/pdf/draw/drawTextBoxShape.d.ts +3 -3
  148. package/dist/export/pdf/draw/fragmentGeometry.d.ts +1 -1
  149. package/dist/export/pdf/draw/lists.d.ts +3 -3
  150. package/dist/export/pdf/exportEditorDocumentToPdf.d.ts +1 -1
  151. package/dist/export/pdf/fonts/PdfFontRegistry.d.ts +1 -1
  152. package/dist/export/pdf/fonts/TrueTypePdfFontSubsetter.d.ts +1 -1
  153. package/dist/export/pdf/fonts/collectPdfFontFamilies.d.ts +1 -1
  154. package/dist/export/pdf/images.d.ts +2 -2
  155. package/dist/export/pdf/layout/layoutParagraph.d.ts +2 -2
  156. package/dist/export/pdf/units.d.ts +1 -1
  157. package/dist/i18n/index.d.ts +1 -1
  158. package/dist/import/DocumentFormatImporter.d.ts +1 -1
  159. package/dist/import/documentImporterRegistry.d.ts +1 -1
  160. package/dist/import/docx/assetRegistry.d.ts +1 -1
  161. package/dist/import/docx/bookmarks.d.ts +1 -1
  162. package/dist/import/docx/borders.d.ts +2 -2
  163. package/dist/import/docx/comments.d.ts +1 -1
  164. package/dist/import/docx/docxImporter.d.ts +1 -1
  165. package/dist/import/docx/dropCap.d.ts +3 -3
  166. package/dist/import/docx/endnotes.d.ts +5 -5
  167. package/dist/import/docx/footnotes.d.ts +5 -5
  168. package/dist/import/docx/headerFooter.d.ts +5 -5
  169. package/dist/import/docx/importDocxInWorker.d.ts +2 -2
  170. package/dist/import/docx/importDocxToEditorDocument.d.ts +1 -1
  171. package/dist/import/docx/nestedBlocks.d.ts +6 -6
  172. package/dist/import/docx/numbering.d.ts +2 -2
  173. package/dist/import/docx/paragraphStyle.d.ts +2 -2
  174. package/dist/import/docx/paragraphs.d.ts +6 -6
  175. package/dist/import/docx/relationships.d.ts +1 -1
  176. package/dist/import/docx/runStyle.d.ts +3 -3
  177. package/dist/import/docx/runs/drawingImage.d.ts +4 -4
  178. package/dist/import/docx/runs/fields.d.ts +1 -1
  179. package/dist/import/docx/runs/relationships.d.ts +3 -3
  180. package/dist/import/docx/runs/textBox.d.ts +3 -3
  181. package/dist/import/docx/runs/types.d.ts +2 -2
  182. package/dist/import/docx/runs/vmlImage.d.ts +4 -4
  183. package/dist/import/docx/runs.d.ts +10 -10
  184. package/dist/import/docx/sectionProperties.d.ts +3 -3
  185. package/dist/import/docx/settings.d.ts +1 -1
  186. package/dist/import/docx/styleUtils.d.ts +1 -1
  187. package/dist/import/docx/stylesXml.d.ts +2 -2
  188. package/dist/import/docx/tables.d.ts +6 -6
  189. package/dist/import/docx/theme.d.ts +2 -2
  190. package/dist/import/docx/themeColors.d.ts +1 -1
  191. package/dist/import/docx/themeFonts.d.ts +1 -1
  192. package/dist/import/docx/xmlHelpers.d.ts +1 -1
  193. package/dist/import/html/htmlImporter.d.ts +1 -1
  194. package/dist/import/html/importHtmlToEditorDocument.d.ts +1 -1
  195. package/dist/layoutProjection/blockHeights.d.ts +1 -1
  196. package/dist/layoutProjection/blocksPagination.d.ts +2 -2
  197. package/dist/layoutProjection/constants.d.ts +1 -1
  198. package/dist/layoutProjection/documentLayout.d.ts +2 -2
  199. package/dist/layoutProjection/dropCapExclusion.d.ts +2 -2
  200. package/dist/layoutProjection/endnotePagination.d.ts +1 -1
  201. package/dist/layoutProjection/floatingObjects.d.ts +1 -1
  202. package/dist/layoutProjection/footnotePagination.d.ts +2 -2
  203. package/dist/layoutProjection/headerFooterFootnotes.d.ts +2 -2
  204. package/dist/layoutProjection/headerFooterProjection.d.ts +2 -2
  205. package/dist/layoutProjection/index.d.ts +9 -9
  206. package/dist/layoutProjection/paragraphBorders.d.ts +1 -1
  207. package/dist/layoutProjection/paragraphPagination.d.ts +4 -4
  208. package/dist/layoutProjection/paragraphProjection.d.ts +1 -1
  209. package/dist/layoutProjection/sectionPagination.d.ts +2 -2
  210. package/dist/layoutProjection/tablePagination.d.ts +2 -2
  211. package/dist/layoutProjection/tableProjection.d.ts +1 -1
  212. package/dist/plugins/internal/createEssentialsPlugin.d.ts +3 -3
  213. package/dist/plugins/internal/essentialsCommandBuilders.d.ts +1 -1
  214. package/dist/plugins/internal/essentialsCommandGroups.d.ts +3 -3
  215. package/dist/testing/wordLayoutParity.d.ts +1 -1
  216. package/dist/text/fonts/FontProgramFactory.d.ts +2 -2
  217. package/dist/text/fonts/core/types.d.ts +1 -1
  218. package/dist/text/fonts/decoders/FontDecoderRegistry.d.ts +1 -1
  219. package/dist/text/fonts/decoders/TtfDecoder.d.ts +1 -1
  220. package/dist/text/fonts/decoders/Woff2Decoder.d.ts +3 -3
  221. package/dist/text/fonts/layout/SimpleTextLayouter.d.ts +1 -1
  222. package/dist/text/fonts/preciseFontMetrics.d.ts +1 -1
  223. package/dist/text/fonts/preciseFontMode.d.ts +1 -1
  224. package/dist/text/fonts/sfnt/SfntFontProgram.d.ts +3 -3
  225. package/dist/text/fonts/vendor/woff2/glyf-reconstructor.d.ts +1 -1
  226. package/dist/text/truetype/CmapParser.d.ts +1 -1
  227. package/dist/text/truetype/SfntTableDirectory.d.ts +1 -1
  228. package/dist/text/truetype/TrueTypeFont.d.ts +2 -2
  229. package/dist/text/truetype/tableParsers.d.ts +1 -1
  230. package/dist/ui/OasisEditorApp.d.ts +2 -2
  231. package/dist/ui/OasisEditorAppLazy.d.ts +1 -1
  232. package/dist/ui/OasisEditorAppProps.d.ts +7 -7
  233. package/dist/ui/OasisEditorContainer.d.ts +1 -1
  234. package/dist/ui/OasisEditorEditor.d.ts +6 -6
  235. package/dist/ui/OasisEditorLoading.d.ts +1 -1
  236. package/dist/ui/app/EditorDialogsLayer.d.ts +7 -7
  237. package/dist/ui/app/EditorDragLayers.d.ts +5 -5
  238. package/dist/ui/app/EditorWorkspace.d.ts +9 -9
  239. package/dist/ui/app/buildEditorViewProps.d.ts +9 -9
  240. package/dist/ui/app/createEditorEssentialsPlugin.d.ts +7 -7
  241. package/dist/ui/app/createRuntimeCommandHost.d.ts +7 -7
  242. package/dist/ui/app/fontOptions.d.ts +2 -2
  243. package/dist/ui/app/shouldShowCaret.d.ts +2 -2
  244. package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +3 -3
  245. package/dist/ui/app/useEditorAppState.d.ts +2 -2
  246. package/dist/ui/app/useEditorContextMenuClipboard.d.ts +3 -3
  247. package/dist/ui/app/useEditorDialogs.d.ts +17 -17
  248. package/dist/ui/app/useEditorFocus.d.ts +2 -2
  249. package/dist/ui/app/useEditorFontOptions.d.ts +2 -2
  250. package/dist/ui/app/useEditorInteractionWiring.d.ts +13 -13
  251. package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +3 -3
  252. package/dist/ui/app/useEditorRuntimePlugins.d.ts +3 -3
  253. package/dist/ui/app/useEditorTransactions.d.ts +5 -5
  254. package/dist/ui/app/useEditorUiOptions.d.ts +4 -4
  255. package/dist/ui/app/useFontDialogBridge.d.ts +3 -3
  256. package/dist/ui/app/useParagraphDialogBridge.d.ts +3 -3
  257. package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +2 -2
  258. package/dist/ui/canvas/CanvasCommentGeometry.d.ts +3 -3
  259. package/dist/ui/canvas/CanvasDebug.d.ts +3 -3
  260. package/dist/ui/canvas/CanvasGeometry.d.ts +2 -2
  261. package/dist/ui/canvas/CanvasHitTestService.d.ts +2 -2
  262. package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +3 -3
  263. package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +3 -3
  264. package/dist/ui/canvas/CanvasTableLayout.d.ts +3 -3
  265. package/dist/ui/canvas/canvasBlockPainter.d.ts +1 -1
  266. package/dist/ui/canvas/canvasDropCapPainter.d.ts +1 -1
  267. package/dist/ui/canvas/canvasPageRenderer.d.ts +1 -1
  268. package/dist/ui/canvas/canvasParagraphPainter.d.ts +1 -1
  269. package/dist/ui/canvas/canvasTablePainter.d.ts +1 -1
  270. package/dist/ui/canvas/canvasTextBoxPainter.d.ts +1 -1
  271. package/dist/ui/canvas/imageContour.d.ts +1 -1
  272. package/dist/ui/canvas/listNumbering.d.ts +1 -1
  273. package/dist/ui/canvas/textBoxRenderHeight.d.ts +1 -1
  274. package/dist/ui/canvas/verticalText.d.ts +1 -1
  275. package/dist/ui/components/CanvasEditorSurface.d.ts +3 -3
  276. package/dist/ui/components/CommentHighlightOverlay.d.ts +3 -3
  277. package/dist/ui/components/Dialogs/Dialog.d.ts +1 -1
  278. package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -2
  279. package/dist/ui/components/Dialogs/FontDialogModel.d.ts +2 -2
  280. package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +1 -1
  281. package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +1 -1
  282. package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +1 -1
  283. package/dist/ui/components/Dialogs/font-dialog/FontDialogController.d.ts +2 -2
  284. package/dist/ui/components/Dialogs/font-dialog/FontDialogTypes.d.ts +2 -2
  285. package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +1 -1
  286. package/dist/ui/components/Dialogs/font-dialog/useFontDialogController.d.ts +2 -2
  287. package/dist/ui/components/DropCaret.d.ts +1 -1
  288. package/dist/ui/components/FindReplace/FindReplaceDialog.d.ts +2 -2
  289. package/dist/ui/components/FloatingToolbar/FloatingLayoutOptions.d.ts +2 -2
  290. package/dist/ui/components/FloatingToolbar/FloatingTableToolbar.d.ts +3 -3
  291. package/dist/ui/components/Menubar/Menubar.d.ts +2 -2
  292. package/dist/ui/components/Menubar/defaultMenuItems.d.ts +1 -1
  293. package/dist/ui/components/Menubar/menuRegistry.d.ts +4 -4
  294. package/dist/ui/components/OasisBrandMark.d.ts +1 -1
  295. package/dist/ui/components/Outline/OutlinePanel.d.ts +1 -1
  296. package/dist/ui/components/PluginUi/PluginUiHost.d.ts +2 -2
  297. package/dist/ui/components/RevisionOverlay.d.ts +1 -1
  298. package/dist/ui/components/Ruler/HorizontalRuler.d.ts +3 -3
  299. package/dist/ui/components/Ruler/rulerGeometry.d.ts +1 -1
  300. package/dist/ui/components/Tabs/Tabs.d.ts +1 -1
  301. package/dist/ui/components/TitleBar/TitleBar.d.ts +1 -1
  302. package/dist/ui/components/Toolbar/LineSpacingButton.d.ts +1 -1
  303. package/dist/ui/components/Toolbar/Toolbar.d.ts +4 -4
  304. package/dist/ui/components/Toolbar/ToolbarOverflowManager.d.ts +1 -1
  305. package/dist/ui/components/Toolbar/controls/ListOptionsControl.d.ts +2 -2
  306. package/dist/ui/components/Toolbar/controls/UnderlineControl.d.ts +2 -2
  307. package/dist/ui/components/Toolbar/groups/MetricGroup.d.ts +1 -1
  308. package/dist/ui/components/Toolbar/groups/SectionGroup.d.ts +1 -1
  309. package/dist/ui/components/Toolbar/groups/TableGroup.d.ts +1 -1
  310. package/dist/ui/components/Toolbar/presets/defaultPalette.d.ts +1 -1
  311. package/dist/ui/components/Toolbar/presets/defaultToolbar.d.ts +1 -1
  312. package/dist/ui/components/Toolbar/primitives/Button.d.ts +1 -1
  313. package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +2 -2
  314. package/dist/ui/components/Toolbar/primitives/GridPicker.d.ts +1 -1
  315. package/dist/ui/components/Toolbar/primitives/Menu.d.ts +1 -1
  316. package/dist/ui/components/Toolbar/primitives/Popover.d.ts +2 -2
  317. package/dist/ui/components/Toolbar/primitives/Select.d.ts +1 -1
  318. package/dist/ui/components/Toolbar/primitives/Separator.d.ts +1 -1
  319. package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +1 -1
  320. package/dist/ui/components/Toolbar/primitives/useDismiss.d.ts +1 -1
  321. package/dist/ui/components/Toolbar/primitives/usePopoverPosition.d.ts +1 -1
  322. package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +1 -1
  323. package/dist/ui/components/Toolbar/renderers/ToolbarItemRenderer.d.ts +2 -2
  324. package/dist/ui/components/Toolbar/renderers/renderers.d.ts +2 -2
  325. package/dist/ui/components/Toolbar/ribbon/RibbonGroup.d.ts +2 -2
  326. package/dist/ui/components/Toolbar/ribbon/RibbonPanel.d.ts +2 -2
  327. package/dist/ui/components/Toolbar/ribbon/RibbonRow.d.ts +1 -1
  328. package/dist/ui/components/Toolbar/ribbon/RibbonTabs.d.ts +2 -2
  329. package/dist/ui/components/Toolbar/ribbon/ribbonModel.d.ts +1 -1
  330. package/dist/ui/components/Toolbar/schema/items.d.ts +5 -5
  331. package/dist/ui/components/Toolbar/state/bindItem.d.ts +2 -2
  332. package/dist/ui/components/Toolbar/state/createToolbarApi.d.ts +2 -2
  333. package/dist/ui/components/Toolbar/underlineStyles.d.ts +2 -2
  334. package/dist/ui/editorHistory.d.ts +1 -1
  335. package/dist/ui/editorUiTypes.d.ts +4 -4
  336. package/dist/ui/imageGeometry.d.ts +1 -1
  337. package/dist/ui/layoutIdentity.d.ts +1 -1
  338. package/dist/ui/layoutInvalidation.d.ts +2 -2
  339. package/dist/ui/mount.d.ts +2 -2
  340. package/dist/ui/overlays/ResizeHandlesOverlay.d.ts +1 -1
  341. package/dist/ui/public/Button.d.ts +1 -1
  342. package/dist/ui/public/Checkbox.d.ts +1 -1
  343. package/dist/ui/public/DialogFooter.d.ts +1 -1
  344. package/dist/ui/public/FloatingActionButton.d.ts +1 -1
  345. package/dist/ui/public/IconButton.d.ts +1 -1
  346. package/dist/ui/public/SelectField.d.ts +1 -1
  347. package/dist/ui/public/SidePanel.d.ts +1 -1
  348. package/dist/ui/public/TextField.d.ts +1 -1
  349. package/dist/ui/public/index.d.ts +36 -36
  350. package/dist/ui/shells/BalloonShell.d.ts +1 -1
  351. package/dist/ui/shells/DocumentShell.d.ts +8 -8
  352. package/dist/ui/shells/InlineShell.d.ts +1 -1
  353. package/dist/ui/tableGeometry.d.ts +1 -1
  354. package/dist/ui/tableUiUtils.d.ts +1 -1
  355. package/dist/ui/textMeasurement/alignment.d.ts +1 -1
  356. package/dist/ui/textMeasurement/characterWidth.d.ts +1 -1
  357. package/dist/ui/textMeasurement/composer.d.ts +2 -2
  358. package/dist/ui/textMeasurement/fontMetrics.d.ts +1 -1
  359. package/dist/ui/textMeasurement/indentation.d.ts +1 -1
  360. package/dist/ui/textMeasurement/layoutLine.d.ts +1 -1
  361. package/dist/ui/textMeasurement/paragraphLineHeight.d.ts +1 -1
  362. package/dist/ui/textMeasurement/tabStops.d.ts +2 -2
  363. package/dist/ui/textMeasurement/tokenizer.d.ts +2 -2
  364. package/dist/ui/textMeasurement/types.d.ts +2 -2
  365. package/dist/ui/textMeasurement.d.ts +6 -6
  366. package/dist/ui/toolbarStyleState.d.ts +1 -1
  367. package/dist/ui/utils/customIcons.d.ts +1 -1
  368. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { EditorState, EditorDocument } from '../model.js';
2
- import { CommandRegistry } from '../commands/CommandRegistry.js';
3
- import { PluginUiRegistry } from '../plugins/PluginUiRegistry.js';
4
- import { OasisEditor, OasisPlugin } from '../plugin.js';
1
+ import { EditorState, EditorDocument } from './model.js';
2
+ import { CommandRegistry } from './commands/CommandRegistry.js';
3
+ import { PluginUiRegistry } from './plugins/PluginUiRegistry.js';
4
+ import { OasisEditor, OasisPlugin } from './plugin.js';
5
5
 
6
6
  export interface EditorOptions {
7
7
  doc?: EditorDocument;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorEndnote, EditorEndnotes, EditorFootnote, EditorFootnotes, EditorSection, EditorState } from '../model.js';
1
+ import { EditorBlockNode, EditorEndnote, EditorEndnotes, EditorFootnote, EditorFootnotes, EditorSection, EditorState } from './model.js';
2
2
 
3
3
  export declare function cloneBlock(block: EditorBlockNode): EditorBlockNode;
4
4
  export declare const cloneDocumentBlock: typeof cloneBlock;
@@ -1,5 +1,5 @@
1
- import { CommandState, OasisEditor } from '../../../plugin.js';
2
- import { CommandRef } from '../../CommandRef.js';
1
+ import { CommandState, OasisEditor } from '../plugin.js';
2
+ import { CommandRef } from './CommandRef.js';
3
3
 
4
4
  export interface CommandBus<TState = CommandState> {
5
5
  execute(command: CommandRef, payloadOverride?: unknown): unknown;
@@ -1,4 +1,4 @@
1
- import { CommandState, OasisCommand, OasisCommandContext, OasisCommandRegistry } from '../../../plugin.js';
1
+ import { CommandState, OasisCommand, OasisCommandContext, OasisCommandRegistry } from '../plugin.js';
2
2
 
3
3
  export declare class CommandRegistry implements OasisCommandRegistry {
4
4
  private commands;
@@ -1,5 +1,5 @@
1
- import { EditorParagraphStyle, EditorPosition, EditorState, EditorSection, EditorTabStop } from '../../../model.js';
2
- import { ValueParagraphStyleKey } from '../../../textStyle/textStyleKeys.js';
1
+ import { EditorParagraphStyle, EditorPosition, EditorState, EditorSection, EditorTabStop } from '../model.js';
2
+ import { ValueParagraphStyleKey } from '../textStyle/textStyleKeys.js';
3
3
 
4
4
  export declare function moveBlockToPosition(state: EditorState, blockId: string, targetPosition: EditorPosition): EditorState;
5
5
  export declare function splitBlockAtSelection(state: EditorState): EditorState;
@@ -1,4 +1,4 @@
1
- import { EditorParagraphListStyle, EditorParagraphStyle, EditorState, EditorTextStyle, EditorImageRunData } from '../../../model.js';
1
+ import { EditorParagraphListStyle, EditorParagraphStyle, EditorState, EditorTextStyle, EditorImageRunData } from '../model.js';
2
2
 
3
3
  export interface EditorClipboardParagraphSpec {
4
4
  runs: Array<{
@@ -1,4 +1,4 @@
1
- import { EditorImageFloatingLayout } from '../../../model.js';
1
+ import { EditorImageFloatingLayout } from '../model.js';
2
2
 
3
3
  /**
4
4
  * The text-wrapping presets exposed by the Word-style "Layout Options" popup.
@@ -1,4 +1,4 @@
1
- import { EditorFootnote, EditorState } from '../../../model.js';
1
+ import { EditorFootnote, EditorState } from '../model.js';
2
2
 
3
3
  /**
4
4
  * Insert a footnote at the current selection. The reference marker is placed
@@ -1,4 +1,4 @@
1
- import { EditorState } from '../../../model.js';
1
+ import { EditorState } from '../model.js';
2
2
 
3
3
  export declare function toggleTrackChanges(state: EditorState): EditorState;
4
4
  export declare function acceptRevision(state: EditorState, revisionId: string): EditorState;
@@ -1,6 +1,6 @@
1
- import { EditorPosition, EditorState, EditorImageRunData } from '../../../model.js';
2
- import { SelectedObjectRun } from '../../selectedObjectRun.js';
3
- import { WrapPreset } from '../../floatingLayout.js';
1
+ import { EditorPosition, EditorState, EditorImageRunData } from '../model.js';
2
+ import { SelectedObjectRun } from './selectedObjectRun.js';
3
+ import { WrapPreset } from './floatingLayout.js';
4
4
 
5
5
  export type SelectedImageRun = SelectedObjectRun;
6
6
  export declare function getSelectedImageRun(state: EditorState): SelectedImageRun | null;
@@ -1,4 +1,4 @@
1
- import { EditorState } from '../../../model.js';
1
+ import { EditorState } from '../model.js';
2
2
 
3
3
  export declare function getLinkAtSelection(state: EditorState): string | null;
4
4
  export declare function setLinkAtSelection(state: EditorState, href: string | null): EditorState;
@@ -1,5 +1,5 @@
1
- import { EditorParagraphListStyle, EditorState } from '../../../model.js';
2
- import { ParagraphListKind } from '../../../textStyle/textStyleKeys.js';
1
+ import { EditorParagraphListStyle, EditorState } from '../model.js';
2
+ import { ParagraphListKind } from '../textStyle/textStyleKeys.js';
3
3
 
4
4
  export declare function splitListItemAtSelection(state: EditorState): EditorState;
5
5
  export declare function clearParagraphListAtSelection(state: EditorState): EditorState;
@@ -1,3 +1,3 @@
1
- import { EditorState } from '../../../model.js';
1
+ import { EditorState } from '../model.js';
2
2
 
3
3
  export declare function insertFieldAtSelection(state: EditorState, fieldType: "PAGE" | "NUMPAGES"): EditorState;
@@ -1,6 +1,6 @@
1
- import { CommandRef } from '../../CommandRef.js';
2
- import { EditorPageMargins } from '../../../model.js';
3
- import { TextCaseMode } from '../../text.js';
1
+ import { CommandRef } from './CommandRef.js';
2
+ import { EditorPageMargins } from '../model.js';
3
+ import { TextCaseMode } from './text.js';
4
4
 
5
5
  export interface InsertTablePayload {
6
6
  rows: number;
@@ -1,4 +1,4 @@
1
- import { EditorParagraphNode, EditorState, EditorTextRun } from '../../../model.js';
1
+ import { EditorParagraphNode, EditorState, EditorTextRun } from '../model.js';
2
2
 
3
3
  /**
4
4
  * A run holding an inline object (image or text box) that is the sole content
@@ -1,4 +1,4 @@
1
- import { EditorSelection, EditorState } from '../../../model.js';
1
+ import { EditorSelection, EditorState } from '../model.js';
2
2
 
3
3
  export declare function getSelectedText(state: EditorState): string;
4
4
  export declare function setSelection(state: EditorState, selection: EditorSelection): EditorState;
@@ -1,4 +1,4 @@
1
- import { EditorState } from '../../../model.js';
1
+ import { EditorState } from '../model.js';
2
2
 
3
3
  /**
4
4
  * Inserts a basic shape (`wps:wsp` with preset geometry) at the current
@@ -1,3 +1,3 @@
1
- import { EditorState } from '../../../../../model.js';
1
+ import { EditorState } from '../../model.js';
2
2
 
3
3
  export declare function insertTableAtSelection(state: EditorState, rows: number, cols: number): EditorState;
@@ -1,4 +1,4 @@
1
- import { EditorBorderStyle, EditorState, EditorTableCellStyle } from '../../../../../model.js';
1
+ import { EditorBorderStyle, EditorState, EditorTableCellStyle } from '../../model.js';
2
2
 
3
3
  export declare function setTableCellStyleValue<K extends keyof EditorTableCellStyle>(state: EditorState, key: K, value: EditorTableCellStyle[K] | null): EditorState;
4
4
  export declare function setTableCellWidth(state: EditorState, width: number | string | null): EditorState;
@@ -1,3 +1,3 @@
1
- import { EditorState } from '../../../../../model.js';
1
+ import { EditorState } from '../../model.js';
2
2
 
3
3
  export declare function setTableColumnWidths(state: EditorState, tableId: string, columnWidths: Record<number, number | string>, tableWidth?: number | string, tableIndentLeft?: number | string): EditorState;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorDocument, EditorEditingZone, EditorState, EditorTableNode, TableLocation } from '../../../../../model.js';
1
+ import { EditorBlockNode, EditorDocument, EditorEditingZone, EditorState, EditorTableNode, TableLocation } from '../../model.js';
2
2
 
3
3
  export type StylePatchValue<T, K extends keyof T> = T[K] | null;
4
4
  export interface ActiveTableLocation {
@@ -1,4 +1,4 @@
1
- import { EditorState, EditorTableRowStyle } from '../../../../../model.js';
1
+ import { EditorState, EditorTableRowStyle } from '../../model.js';
2
2
 
3
3
  export declare function setSelectedTableRowStyleValue<K extends keyof EditorTableRowStyle>(state: EditorState, key: K, value: EditorTableRowStyle[K] | null): EditorState;
4
4
  export declare function setSelectedTableRowHeader(state: EditorState, value: boolean | null): EditorState;
@@ -1,4 +1,4 @@
1
- import { EditorState, EditorTableStyle } from '../../../../../model.js';
1
+ import { EditorState, EditorTableStyle } from '../../model.js';
2
2
 
3
3
  export declare function setTableStyleValue<K extends keyof EditorTableStyle>(state: EditorState, key: K, value: EditorTableStyle[K] | null): EditorState;
4
4
  export declare function setActiveTableStyleValue<K extends keyof EditorTableStyle>(state: EditorState, tableId: string, key: K, value: EditorTableStyle[K] | null): EditorState;
@@ -1,5 +1,5 @@
1
- export * from '../../table/tableCellStyleCommands.js';
2
- export * from '../../table/tableStyleCommands.js';
3
- export * from '../../table/tableRowCommands.js';
4
- export * from '../../table/tableColumnCommands.js';
5
- export * from '../../table/insertTableCommand.js';
1
+ export * from './table/tableCellStyleCommands.js';
2
+ export * from './table/tableStyleCommands.js';
3
+ export * from './table/tableRowCommands.js';
4
+ export * from './table/tableColumnCommands.js';
5
+ export * from './table/insertTableCommand.js';
@@ -1,5 +1,5 @@
1
- import { EditorPosition, EditorState, EditorTextStyle } from '../../../model.js';
2
- import { ToggleableTextStyleKey, ValueTextStyleKey } from '../../../textStyle/textStyleKeys.js';
1
+ import { EditorPosition, EditorState, EditorTextStyle } from '../model.js';
2
+ import { ToggleableTextStyleKey, ValueTextStyleKey } from '../textStyle/textStyleKeys.js';
3
3
 
4
4
  export declare function moveOrCopySelectionToPosition(state: EditorState, targetPosition: EditorPosition, options?: {
5
5
  copy?: boolean;
@@ -1,6 +1,6 @@
1
- import { EditorState } from '../../../model.js';
2
- import { SelectedObjectRun } from '../../selectedObjectRun.js';
3
- import { WrapPreset } from '../../floatingLayout.js';
1
+ import { EditorState } from '../model.js';
2
+ import { SelectedObjectRun } from './selectedObjectRun.js';
3
+ import { WrapPreset } from './floatingLayout.js';
4
4
 
5
5
  export type SelectedTextBoxRun = SelectedObjectRun;
6
6
  export declare function getSelectedTextBoxRun(state: EditorState): SelectedTextBoxRun | null;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorParagraphNode, EditorSection, EditorSelection, EditorState, EditorTableCellNode } from '../../../model.js';
1
+ import { EditorBlockNode, EditorParagraphNode, EditorSection, EditorSelection, EditorState, EditorTableCellNode } from '../model.js';
2
2
 
3
3
  export declare function blocksContainTables(nodes: EditorBlockNode[]): boolean;
4
4
  export declare function replaceParagraphsInBlocks(blocks: EditorBlockNode[], newParagraphs: EditorParagraphNode[]): EditorBlockNode[];
@@ -1,4 +1,4 @@
1
- import { EditorBookmarks, EditorParagraphNode } from '../../../model.js';
1
+ import { EditorBookmarks, EditorParagraphNode } from '../model.js';
2
2
 
3
3
  /**
4
4
  * Remap every bookmark anchor that lives in `oldParagraphs` to its new position
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorParagraphListStyle, EditorParagraphNode, EditorTextBoxData, EditorTextRun } from '../../../model.js';
1
+ import { EditorBlockNode, EditorParagraphListStyle, EditorParagraphNode, EditorTextBoxData, EditorTextRun } from '../model.js';
2
2
 
3
3
  export declare function cloneTextBox(textBox: EditorTextBoxData): EditorTextBoxData;
4
4
  export declare function cloneRun(run: EditorTextRun): EditorTextRun;
@@ -1,4 +1,4 @@
1
- import { EditorDocument, EditorParagraphNode } from '../../../model.js';
1
+ import { EditorDocument, EditorParagraphNode } from '../model.js';
2
2
 
3
3
  export declare const IMAGE_CAPTION_STYLE_ID = "Caption";
4
4
  export declare const IMAGE_CAPTION_FIELD_IDENTIFIER = "Figure";
@@ -1,4 +1,4 @@
1
- import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../../../model.js';
1
+ import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../model.js';
2
2
 
3
3
  export declare function normalizeRuns(runs: EditorTextRun[], fallbackStyles?: EditorTextStyle): EditorTextRun[];
4
4
  export declare function buildParagraphFromRuns(paragraph: EditorParagraphNode, runs: EditorTextRun[], fallbackStyles?: EditorTextStyle): EditorParagraphNode;
@@ -1,3 +1,3 @@
1
- import { EditorParagraphNode, EditorTextRun } from '../../../model.js';
1
+ import { EditorParagraphNode, EditorTextRun } from '../model.js';
2
2
 
3
3
  export declare function insertRunsAtOffset(paragraph: EditorParagraphNode, offset: number, textRuns: EditorTextRun[]): EditorParagraphNode;
@@ -1,4 +1,4 @@
1
- import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../../../model.js';
1
+ import { EditorParagraphNode, EditorTextRun, EditorTextStyle } from '../model.js';
2
2
 
3
3
  export declare function getStyleAtOffset(paragraph: EditorParagraphNode, offset: number): EditorTextStyle | undefined;
4
4
  export declare function getRunAtOffset(paragraph: EditorParagraphNode, offset: number): {
@@ -1,3 +1,3 @@
1
- export { buildParagraphFromRuns, clearParagraphList, cloneParagraphWithListLevel, createParagraphFromRuns, createParagraphFromRunsLike, normalizeRuns, } from '../../paragraphRunBuild.js';
2
- export { expandLinkRangeInParagraph, getRunAtOffset, getStyleAtOffset, sliceRuns, } from '../../paragraphRunQuery.js';
3
- export { insertRunsAtOffset } from '../../paragraphRunEdit.js';
1
+ export { buildParagraphFromRuns, clearParagraphList, cloneParagraphWithListLevel, createParagraphFromRuns, createParagraphFromRunsLike, normalizeRuns, } from './paragraphRunBuild.js';
2
+ export { expandLinkRangeInParagraph, getRunAtOffset, getStyleAtOffset, sliceRuns, } from './paragraphRunQuery.js';
3
+ export { insertRunsAtOffset } from './paragraphRunEdit.js';
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * @deprecated Use imports from `src/core/commands/*` instead.
3
3
  */
4
- export * from '../commands/image.js';
5
- export * from '../commands/textBox.js';
6
- export * from '../commands/shape.js';
7
- export * from '../commands/floatingLayout.js';
8
- export * from '../commands/text.js';
9
- export * from '../commands/block.js';
10
- export * from '../commands/list.js';
11
- export * from '../commands/table.js';
12
- export * from '../commands/link.js';
13
- export * from '../commands/history.js';
14
- export * from '../commands/clipboard.js';
15
- export * from '../commands/selection.js';
16
- export * from '../commands/misc.js';
17
- export * from '../commands/footnotes.js';
4
+ export * from './commands/image.js';
5
+ export * from './commands/textBox.js';
6
+ export * from './commands/shape.js';
7
+ export * from './commands/floatingLayout.js';
8
+ export * from './commands/text.js';
9
+ export * from './commands/block.js';
10
+ export * from './commands/list.js';
11
+ export * from './commands/table.js';
12
+ export * from './commands/link.js';
13
+ export * from './commands/history.js';
14
+ export * from './commands/clipboard.js';
15
+ export * from './commands/selection.js';
16
+ export * from './commands/misc.js';
17
+ export * from './commands/footnotes.js';
@@ -1,4 +1,4 @@
1
- import { EditorAsset, EditorBlockNode, EditorDocument, EditorFootnote, EditorPageSettings, EditorParagraphNode, EditorSection, EditorState, EditorTableCellNode, EditorTableNode, EditorTableRowNode, EditorTextRun, EditorTextStyle, EditorTextBoxData, EditorImageRunData, EditorNamedStyle } from '../model.js';
1
+ import { EditorAsset, EditorBlockNode, EditorDocument, EditorFootnote, EditorPageSettings, EditorParagraphNode, EditorSection, EditorState, EditorTableCellNode, EditorTableNode, EditorTableRowNode, EditorTextRun, EditorTextStyle, EditorTextBoxData, EditorImageRunData, EditorNamedStyle } from './model.js';
2
2
 
3
3
  export declare function resetEditorIds(): void;
4
4
  export declare function createEditorBookmarkId(): string;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorDocument, EditorEndnote, EditorEndnotes, EditorParagraphNode, EditorTextRun } from '../model.js';
1
+ import { EditorBlockNode, EditorDocument, EditorEndnote, EditorEndnotes, EditorParagraphNode, EditorTextRun } from './model.js';
2
2
 
3
3
  export declare function resetEndnoteIds(): void;
4
4
  export declare function createEndnoteId(): string;
@@ -1,4 +1,4 @@
1
- import { EditorLayoutLine, EditorLayoutFragment, EditorNamedStyle, EditorParagraphNode, EditorTextStyle } from '../model.js';
1
+ import { EditorLayoutLine, EditorLayoutFragment, EditorNamedStyle, EditorParagraphNode, EditorTextStyle } from './model.js';
2
2
 
3
3
  export interface FloatingExclusionRect {
4
4
  x: number;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode, EditorDocument, EditorFootnote, EditorFootnoteNumberFormat, EditorFootnotes, EditorParagraphNode, EditorTextRun } from '../model.js';
1
+ import { EditorBlockNode, EditorDocument, EditorFootnote, EditorFootnoteNumberFormat, EditorFootnotes, EditorParagraphNode, EditorTextRun } from './model.js';
2
2
 
3
3
  export declare function resetFootnoteIds(): void;
4
4
  export declare function createFootnoteId(): string;
@@ -1,4 +1,4 @@
1
- import { EditorDocument } from '../model.js';
1
+ import { EditorDocument } from './model.js';
2
2
 
3
3
  export interface OutlineItem {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { EditorParagraphListStyle, EditorTextRun, EditorTextStyle } from '../../../model.js';
1
+ import { EditorParagraphListStyle, EditorTextRun, EditorTextStyle } from '../model.js';
2
2
 
3
3
  /**
4
4
  * Recursively collects inline runs from a DOM node, propagating inherited text
@@ -1,3 +1,3 @@
1
- export { parseInlineImage } from '../../inlineImageParser.js';
2
- export { parseInlineStyles } from '../../inlineStyleParser.js';
3
- export { parseParagraphStyle } from '../../paragraphStyleParser.js';
1
+ export { parseInlineImage } from './inlineImageParser.js';
2
+ export { parseInlineStyles } from './inlineStyleParser.js';
3
+ export { parseParagraphStyle } from './paragraphStyleParser.js';
@@ -1,4 +1,4 @@
1
- import { EditorDocument, EditorTextRun } from '../../../model.js';
1
+ import { EditorDocument, EditorTextRun } from '../model.js';
2
2
 
3
3
  export declare function serializeImageRunToHtml(run: EditorTextRun, document?: Pick<EditorDocument, "assets">): string;
4
4
  export declare function serializeTextRunToHtml(run: EditorTextRun, document?: Pick<EditorDocument, "assets">): string;
@@ -1,3 +1,3 @@
1
- import { EditorImageRunData } from '../../../model.js';
1
+ import { EditorImageRunData } from '../model.js';
2
2
 
3
3
  export declare function parseInlineImage(element: Element): EditorImageRunData | undefined;
@@ -1,3 +1,3 @@
1
- import { EditorTextStyle } from '../../../model.js';
1
+ import { EditorTextStyle } from '../model.js';
2
2
 
3
3
  export declare function parseInlineStyles(element: Element): EditorTextStyle | undefined;
@@ -1,3 +1,3 @@
1
- import { EditorParagraphStyle } from '../../../model.js';
1
+ import { EditorParagraphStyle } from '../model.js';
2
2
 
3
3
  export declare function parseParagraphStyle(element: Element): EditorParagraphStyle | undefined;
@@ -1,4 +1,4 @@
1
- import { EditorParagraphStyle, EditorTextStyle } from '../../../model.js';
1
+ import { EditorParagraphStyle, EditorTextStyle } from '../model.js';
2
2
 
3
3
  export declare function textRunStylesToCss(style?: EditorTextStyle): string;
4
4
  export declare function getPrimaryTextLanguage(language: EditorTextStyle["language"]): string | null;
@@ -1,4 +1,4 @@
1
- import { EditorDocument } from '../../types/document.js';
1
+ import { EditorDocument } from './types/document.js';
2
2
 
3
3
  /**
4
4
  * Resolve an `asset:<id>` reference (or pass through any other src) to the
@@ -1,6 +1,6 @@
1
- import { EditorParagraphNode } from '../../types/nodes.js';
2
- import { EditorDocument } from '../../types/document.js';
3
- import { EditorEditingZone } from '../../types/selection.js';
1
+ import { EditorParagraphNode } from './types/nodes.js';
2
+ import { EditorDocument } from './types/document.js';
3
+ import { EditorEditingZone } from './types/selection.js';
4
4
 
5
5
  export interface EditorParagraphLocation {
6
6
  sectionIndex: number;
@@ -1,4 +1,4 @@
1
- import { EditorDocument, EditorSection } from '../../types/document.js';
1
+ import { EditorDocument, EditorSection } from './types/document.js';
2
2
 
3
3
  export declare function getDocumentSectionsCanonical(document: EditorDocument): EditorSection[];
4
4
  export declare function getDocumentSections(document: EditorDocument): EditorSection[];
@@ -1,6 +1,6 @@
1
- import { EditorBlockNode, EditorParagraphNode } from '../../types/nodes.js';
2
- import { EditorState } from '../../editorState.js';
3
- import { EditorEditingZone } from '../../types/selection.js';
1
+ import { EditorBlockNode, EditorParagraphNode } from './types/nodes.js';
2
+ import { EditorState } from './editorState.js';
3
+ import { EditorEditingZone } from './types/selection.js';
4
4
 
5
5
  export declare function getActiveSectionIndex(state: EditorState): number;
6
6
  export declare function getActiveZone(state: EditorState): EditorEditingZone;
@@ -1,5 +1,5 @@
1
- import { EditorDocument } from '../../types/document.js';
2
- import { EditorPosition, EditorSelection, EditorEditingZone } from '../../types/selection.js';
1
+ import { EditorDocument } from './types/document.js';
2
+ import { EditorPosition, EditorSelection, EditorEditingZone } from './types/selection.js';
3
3
 
4
4
  export interface EditorState {
5
5
  document: EditorDocument;
@@ -6,27 +6,27 @@
6
6
  * statements that pointed there continue to work via the barrel
7
7
  * re-export in `src/core/model.ts`.
8
8
  */
9
- export type { EditorUnderlineStyle, EditorLigatures, EditorNumberSpacing, EditorNumberForm, EditorTextLanguage, EditorBorderStyle, EditorTabStop, EditorParagraphListStyle, EditorImageCrop, EditorImageFillMode, EditorImageFloatingPosition, EditorImageFloatingLayout, EditorImageRunData, EditorWrapPolygonPoint, EditorFieldData, EditorFieldChar, EditorFootnoteReferenceData, EditorEndnoteReferenceData, EditorRevision, EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart, EditorDocxWidthValue, EditorTableLayout, EditorTableRowHeightRule, } from '../../types/primitives.js';
10
- export type { EditorTextStyle, EditorParagraphStyle, EditorTableStyle, EditorTableConditionalFormat, EditorConditionalRowStyle, EditorNamedStyle, } from '../../types/styles.js';
11
- export type { EditorTextRun, EditorTextBoxShape, EditorTextBoxBody, EditorTextBoxData, EditorDropCap, EditorParagraphNode, EditorTableCellStyle, EditorTableCellNode, EditorTableRowStyle, EditorTableRowNode, EditorTableNode, EditorBlockNode, } from '../../types/nodes.js';
12
- export type { EditorFootnote } from '../../types/documentFootnotes.js';
13
- export type { EditorEndnote } from '../../types/documentEndnotes.js';
14
- export type { EditorBookmark, EditorBookmarkAnchor, EditorBookmarks, } from '../../types/documentBookmarks.js';
15
- export type { EditorComment, EditorCommentAnchor, EditorComments, } from '../../types/documentComments.js';
16
- export type { EditorPageMargins, EditorPageSettings, EditorSection, EditorFootnoteSettings, EditorFootnotes, EditorEndnoteSettings, EditorEndnotes, EditorDocument, } from '../../types/document.js';
17
- export type { EditorPosition, EditorSelection, EditorEditingZone, } from '../../types/selection.js';
18
- export type { EditorCaretSlot, EditorLayoutFragmentChar, EditorLayoutFragment, EditorLayoutLine, EditorLayoutParagraph, EditorLayoutBlock, TableCellBlockPosition, EditorLayoutPage, EditorLayoutDocument, } from '../../types/layout.js';
19
- export type { EditorState } from '../../editorState.js';
20
- export { EDITOR_ASSET_REF_PREFIX } from '../../types/primitives.js';
21
- export { DEFAULT_TEXT_STYLE, DEFAULT_PARAGRAPH_STYLE, EFFECTIVE_TEXT_STYLE_DEFAULTS, EFFECTIVE_PARAGRAPH_STYLE_DEFAULTS, } from '../../styleDefaults.js';
22
- export { DEFAULT_EDITOR_PAGE_SETTINGS } from '../../pageGeometry.js';
23
- export { getParagraphText, getParagraphLength, getRunIndex, getRunStartOffset, paragraphOffsetToPosition, positionToParagraphOffset, } from '../../queries.js';
24
- export { textStyleMerger, paragraphStyleMerger, mergeTextStyles, mergeParagraphStyles, resolveDefaultParagraphStyleId, resolveNamedTextStyle, resolveNamedParagraphStyle, resolveEffectiveTextStyle, resolveEffectiveTextStyleForParagraph, resolveEffectiveParagraphStyle, } from '../../styleResolution.js';
25
- export type { StyleMerger, Mergeable } from '../../styleResolution.js';
26
- export { resolveImageSrc } from '../../assets.js';
27
- export { normalizePageSettings, getDocumentPageSettings, getPageContentWidth, getPageHeaderZoneTop, getPageBodyTop, getPageFooterReferenceTop, getPageBodyBottom, getPageHeaderZoneHeight, getPageFooterZoneTop, getPageFooterZoneHeight, getPageContentHeight, } from '../../pageGeometry.js';
28
- export { getDocumentSections, getDocumentSectionsCanonical, } from '../../documentSections.js';
29
- export { DocumentIndexBuilder, getDocumentParagraphIndex, getDocumentParagraphs, getDocumentParagraphsCanonical, getParagraphById, findParagraphLocation, findParagraphTableLocation, WeakMapDocumentIndexCache, } from '../../documentIndex.js';
30
- export type { EditorParagraphLocation, TableLocation, DocumentParagraphIndexEntry, DocumentIndexCache, } from '../../documentIndex.js';
31
- export { getBlockParagraphs, collectSectionParagraphs, } from '../../paragraphWalker.js';
32
- export { getActiveSectionIndex, getActiveZone, getEditableBlocksForZone, tryGetEditableBlocksForZone, getActiveSectionBlocks, getParagraphs, } from '../../editingZones.js';
9
+ export type { EditorUnderlineStyle, EditorLigatures, EditorNumberSpacing, EditorNumberForm, EditorTextLanguage, EditorBorderStyle, EditorTabStop, EditorParagraphListStyle, EditorImageCrop, EditorImageFillMode, EditorImageFloatingPosition, EditorImageFloatingLayout, EditorImageRunData, EditorWrapPolygonPoint, EditorFieldData, EditorFieldChar, EditorFootnoteReferenceData, EditorEndnoteReferenceData, EditorRevision, EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart, EditorDocxWidthValue, EditorTableLayout, EditorTableRowHeightRule, } from './types/primitives.js';
10
+ export type { EditorTextStyle, EditorParagraphStyle, EditorTableStyle, EditorTableConditionalFormat, EditorConditionalRowStyle, EditorNamedStyle, } from './types/styles.js';
11
+ export type { EditorTextRun, EditorTextBoxShape, EditorTextBoxBody, EditorTextBoxData, EditorDropCap, EditorParagraphNode, EditorTableCellStyle, EditorTableCellNode, EditorTableRowStyle, EditorTableRowNode, EditorTableNode, EditorBlockNode, } from './types/nodes.js';
12
+ export type { EditorFootnote } from './types/documentFootnotes.js';
13
+ export type { EditorEndnote } from './types/documentEndnotes.js';
14
+ export type { EditorBookmark, EditorBookmarkAnchor, EditorBookmarks, } from './types/documentBookmarks.js';
15
+ export type { EditorComment, EditorCommentAnchor, EditorComments, } from './types/documentComments.js';
16
+ export type { EditorPageMargins, EditorPageSettings, EditorSection, EditorFootnoteSettings, EditorFootnotes, EditorEndnoteSettings, EditorEndnotes, EditorDocument, } from './types/document.js';
17
+ export type { EditorPosition, EditorSelection, EditorEditingZone, } from './types/selection.js';
18
+ export type { EditorCaretSlot, EditorLayoutFragmentChar, EditorLayoutFragment, EditorLayoutLine, EditorLayoutParagraph, EditorLayoutBlock, TableCellBlockPosition, EditorLayoutPage, EditorLayoutDocument, } from './types/layout.js';
19
+ export type { EditorState } from './editorState.js';
20
+ export { EDITOR_ASSET_REF_PREFIX } from './types/primitives.js';
21
+ export { DEFAULT_TEXT_STYLE, DEFAULT_PARAGRAPH_STYLE, EFFECTIVE_TEXT_STYLE_DEFAULTS, EFFECTIVE_PARAGRAPH_STYLE_DEFAULTS, } from './styleDefaults.js';
22
+ export { DEFAULT_EDITOR_PAGE_SETTINGS } from './pageGeometry.js';
23
+ export { getParagraphText, getParagraphLength, getRunIndex, getRunStartOffset, paragraphOffsetToPosition, positionToParagraphOffset, } from './queries.js';
24
+ export { textStyleMerger, paragraphStyleMerger, mergeTextStyles, mergeParagraphStyles, resolveDefaultParagraphStyleId, resolveNamedTextStyle, resolveNamedParagraphStyle, resolveEffectiveTextStyle, resolveEffectiveTextStyleForParagraph, resolveEffectiveParagraphStyle, } from './styleResolution.js';
25
+ export type { StyleMerger, Mergeable } from './styleResolution.js';
26
+ export { resolveImageSrc } from './assets.js';
27
+ export { normalizePageSettings, getDocumentPageSettings, getPageContentWidth, getPageHeaderZoneTop, getPageBodyTop, getPageFooterReferenceTop, getPageBodyBottom, getPageHeaderZoneHeight, getPageFooterZoneTop, getPageFooterZoneHeight, getPageContentHeight, } from './pageGeometry.js';
28
+ export { getDocumentSections, getDocumentSectionsCanonical, } from './documentSections.js';
29
+ export { DocumentIndexBuilder, getDocumentParagraphIndex, getDocumentParagraphs, getDocumentParagraphsCanonical, getParagraphById, findParagraphLocation, findParagraphTableLocation, WeakMapDocumentIndexCache, } from './documentIndex.js';
30
+ export type { EditorParagraphLocation, TableLocation, DocumentParagraphIndexEntry, DocumentIndexCache, } from './documentIndex.js';
31
+ export { getBlockParagraphs, collectSectionParagraphs, } from './paragraphWalker.js';
32
+ export { getActiveSectionIndex, getActiveZone, getEditableBlocksForZone, tryGetEditableBlocksForZone, getActiveSectionBlocks, getParagraphs, } from './editingZones.js';
@@ -1,4 +1,4 @@
1
- import { EditorDocument, EditorPageSettings } from '../../types/document.js';
1
+ import { EditorDocument, EditorPageSettings } from './types/document.js';
2
2
 
3
3
  export declare const DEFAULT_EDITOR_PAGE_SETTINGS: EditorPageSettings;
4
4
  export declare function normalizePageSettings(pageSettings: EditorPageSettings): EditorPageSettings;
@@ -1,5 +1,5 @@
1
- import { EditorBlockNode, EditorParagraphNode } from '../../types/nodes.js';
2
- import { EditorSection } from '../../types/document.js';
1
+ import { EditorBlockNode, EditorParagraphNode } from './types/nodes.js';
2
+ import { EditorSection } from './types/document.js';
3
3
 
4
4
  export declare function getBlockParagraphs(block: EditorBlockNode): EditorParagraphNode[];
5
5
  export declare function collectSectionParagraphs(section: EditorSection): EditorParagraphNode[];
@@ -1,5 +1,5 @@
1
- import { EditorParagraphNode } from '../../types/nodes.js';
2
- import { EditorPosition } from '../../types/selection.js';
1
+ import { EditorParagraphNode } from './types/nodes.js';
2
+ import { EditorPosition } from './types/selection.js';
3
3
 
4
4
  export declare function getParagraphText(paragraph: EditorParagraphNode): string;
5
5
  export declare function getParagraphLength(paragraph: EditorParagraphNode): number;
@@ -1,4 +1,4 @@
1
- import { EditorTextStyle, EditorParagraphStyle } from '../../types/styles.js';
1
+ import { EditorTextStyle, EditorParagraphStyle } from './types/styles.js';
2
2
 
3
3
  export declare const DEFAULT_TEXT_STYLE: Required<EditorTextStyle>;
4
4
  export declare const EFFECTIVE_TEXT_STYLE_DEFAULTS: Required<EditorTextStyle>;
@@ -1,4 +1,4 @@
1
- import { EditorNamedStyle, EditorParagraphStyle, EditorTextStyle } from '../../types/styles.js';
1
+ import { EditorNamedStyle, EditorParagraphStyle, EditorTextStyle } from './types/styles.js';
2
2
 
3
3
  /**
4
4
  * A "mergeable" style is any object whose own enumerable string keys can
@@ -1,10 +1,10 @@
1
- import { EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart } from '../../../primitives.js';
2
- import { EditorBlockNode } from '../../../nodes.js';
3
- import { EditorFootnote } from '../../../documentFootnotes.js';
4
- import { EditorEndnote } from '../../../documentEndnotes.js';
5
- import { EditorBookmarks } from '../../../documentBookmarks.js';
6
- import { EditorComments } from '../../../documentComments.js';
7
- import { EditorNamedStyle } from '../../../styles.js';
1
+ import { EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart } from './primitives.js';
2
+ import { EditorBlockNode } from './nodes.js';
3
+ import { EditorFootnote } from './documentFootnotes.js';
4
+ import { EditorEndnote } from './documentEndnotes.js';
5
+ import { EditorBookmarks } from './documentBookmarks.js';
6
+ import { EditorComments } from './documentComments.js';
7
+ import { EditorNamedStyle } from './styles.js';
8
8
 
9
9
  export interface EditorPageMargins {
10
10
  top: number;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode } from '../../../nodes.js';
1
+ import { EditorBlockNode } from './nodes.js';
2
2
 
3
3
  export interface EditorEndnote {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { EditorBlockNode } from '../../../nodes.js';
1
+ import { EditorBlockNode } from './nodes.js';
2
2
 
3
3
  export interface EditorFootnote {
4
4
  id: string;