oasis-editor 0.0.1 → 0.0.2

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 (363) hide show
  1. package/README.md +388 -1
  2. package/dist/OasisEditorApp-DEnDLTaw.js +45893 -0
  3. package/dist/app/bootstrap/createOasisEditorApp.d.ts +2 -3
  4. package/dist/app/bootstrap/createOasisEditorContainer.d.ts +2 -3
  5. package/dist/app/client/OasisEditorClient.d.ts +97 -0
  6. package/dist/app/controllers/EditorCommandsController.d.ts +1 -1
  7. package/dist/app/controllers/createResizeSession.d.ts +43 -0
  8. package/dist/app/controllers/createRotateSession.d.ts +36 -0
  9. package/dist/app/controllers/documentIO/DocumentImporter.d.ts +1 -1
  10. package/dist/app/controllers/tableResize/tableResizeApply.d.ts +5 -0
  11. package/dist/app/controllers/tableResize/tableResizeConstraints.d.ts +17 -0
  12. package/dist/app/controllers/tableResize/tableResizeDom.d.ts +9 -0
  13. package/dist/app/controllers/tableResize/tableResizeGeometry.d.ts +5 -0
  14. package/dist/app/controllers/tableResize/tableResizeHitTest.d.ts +4 -0
  15. package/dist/app/controllers/tableResize/tableResizeTypes.d.ts +65 -0
  16. package/dist/app/controllers/tableResize/tableResizeUnits.d.ts +6 -0
  17. package/dist/app/controllers/useEditorDocumentIO.d.ts +3 -3
  18. package/dist/app/controllers/useEditorHistoryActions.d.ts +3 -1
  19. package/dist/app/controllers/useEditorImageOperations.d.ts +6 -14
  20. package/dist/app/controllers/useEditorLayout.d.ts +2 -2
  21. package/dist/app/controllers/useEditorStyle.d.ts +1 -1
  22. package/dist/app/controllers/useEditorSurfaceEvents.d.ts +1 -0
  23. package/dist/app/controllers/useEditorTableOperations.d.ts +2 -2
  24. package/dist/app/controllers/useEditorTableResize.d.ts +2 -24
  25. package/dist/app/controllers/useEditorTextBoxOperations.d.ts +24 -0
  26. package/dist/app/services/userPreferences.d.ts +4 -0
  27. package/dist/assets/importDocxWorker-R5rI6JIO.js +12 -0
  28. package/dist/branding/apple-touch-icon.png +0 -0
  29. package/dist/branding/brand-mark.webp +0 -0
  30. package/dist/branding/favicon-16x16.png +0 -0
  31. package/dist/branding/favicon-32x32.png +0 -0
  32. package/dist/branding/favicon.ico +0 -0
  33. package/dist/branding/github-pages-icon.png +0 -0
  34. package/dist/branding/icon-192.png +0 -0
  35. package/dist/branding/icon-512.png +0 -0
  36. package/dist/branding/logo-full.png +0 -0
  37. package/dist/branding/logo-mark-square.png +0 -0
  38. package/dist/branding/social-card.png +0 -0
  39. package/dist/core/Editor.d.ts +4 -5
  40. package/dist/core/cloneState.d.ts +3 -1
  41. package/dist/core/commands/CommandRegistry.d.ts +6 -1
  42. package/dist/core/commands/block.d.ts +1 -1
  43. package/dist/core/commands/builtinCommands.d.ts +2 -0
  44. package/dist/core/commands/floatingLayout.d.ts +29 -0
  45. package/dist/core/commands/image.d.ts +16 -8
  46. package/dist/core/commands/list.d.ts +1 -1
  47. package/dist/core/commands/publicCommandTypes.d.ts +110 -0
  48. package/dist/core/commands/selectedObjectRun.d.ts +20 -0
  49. package/dist/core/commands/table/insertTableCommand.d.ts +3 -0
  50. package/dist/core/commands/table/tableCellStyleCommands.d.ts +5 -0
  51. package/dist/core/commands/table/tableColumnCommands.d.ts +3 -0
  52. package/dist/core/commands/table/tableCommandUtils.d.ts +16 -0
  53. package/dist/core/commands/table/tableRowCommands.d.ts +5 -0
  54. package/dist/core/commands/table/tableStyleCommands.d.ts +4 -0
  55. package/dist/core/commands/table.d.ts +5 -10
  56. package/dist/core/commands/text.d.ts +1 -1
  57. package/dist/core/commands/textBox.d.ts +21 -0
  58. package/dist/core/document/blockReplacement.d.ts +7 -0
  59. package/dist/core/document/bookmarkAnchors.d.ts +8 -0
  60. package/dist/core/document/clone.d.ts +8 -0
  61. package/dist/core/document/paragraphRunBuild.d.ts +14 -0
  62. package/dist/core/document/paragraphRunEdit.d.ts +3 -0
  63. package/dist/core/document/paragraphRunQuery.d.ts +14 -0
  64. package/dist/core/document/paragraphRuns.d.ts +3 -0
  65. package/dist/core/editorCommands.d.ts +2 -0
  66. package/dist/core/editorState.d.ts +5 -3
  67. package/dist/core/endnotes.d.ts +41 -0
  68. package/dist/core/engine.d.ts +18 -3
  69. package/dist/core/html/htmlBlockWalker.d.ts +17 -0
  70. package/dist/core/html/htmlEscape.d.ts +1 -0
  71. package/dist/core/html/htmlStyleParser.d.ts +3 -0
  72. package/dist/core/html/htmlTextSerializer.d.ts +5 -0
  73. package/dist/core/html/inlineImageParser.d.ts +3 -0
  74. package/dist/core/html/inlineStyleParser.d.ts +3 -0
  75. package/dist/core/html/paragraphStyleParser.d.ts +3 -0
  76. package/dist/core/html/styleCss.d.ts +5 -0
  77. package/dist/core/model/assets.d.ts +7 -0
  78. package/dist/core/model/documentIndex.d.ts +58 -0
  79. package/dist/core/model/documentSections.d.ts +4 -0
  80. package/dist/core/model/editingZones.d.ts +26 -0
  81. package/dist/core/model/editorState.d.ts +18 -0
  82. package/dist/core/model/index.d.ts +31 -0
  83. package/dist/core/model/pageGeometry.d.ts +14 -0
  84. package/dist/core/model/paragraphWalker.d.ts +5 -0
  85. package/dist/core/model/queries.d.ts +2 -1
  86. package/dist/core/model/styleDefaults.d.ts +6 -0
  87. package/dist/core/model/styleResolution.d.ts +44 -0
  88. package/dist/core/model/types/document.d.ts +86 -0
  89. package/dist/core/model/types/documentBookmarks.d.ts +49 -0
  90. package/dist/core/model/types/documentEndnotes.d.ts +8 -0
  91. package/dist/core/model/types/documentFootnotes.d.ts +8 -0
  92. package/dist/core/model/types/layout.d.ts +93 -0
  93. package/dist/core/model/types/nodes.d.ts +192 -0
  94. package/dist/core/model/types/primitives.d.ts +140 -0
  95. package/dist/core/model/types/selection.d.ts +14 -0
  96. package/dist/core/model/types/styles.d.ts +149 -0
  97. package/dist/core/model.d.ts +7 -444
  98. package/dist/core/plugin.d.ts +59 -6
  99. package/dist/core/plugins/PluginCollection.d.ts +1 -0
  100. package/dist/core/plugins/PluginUiRegistry.d.ts +20 -0
  101. package/dist/core/selection/navigation.d.ts +5 -0
  102. package/dist/core/selection/rangeEditing.d.ts +13 -0
  103. package/dist/core/textStyle/textStyleKeys.d.ts +6 -0
  104. package/dist/core/textStyle/textStyleMutations.d.ts +8 -0
  105. package/dist/export/docx/bookmarksXml.d.ts +21 -0
  106. package/dist/export/docx/borders.d.ts +25 -0
  107. package/dist/export/docx/docxTypes.d.ts +35 -2
  108. package/dist/export/docx/endnotesXml.d.ts +24 -0
  109. package/dist/export/docx/stylesXml.d.ts +3 -0
  110. package/dist/export/docx/tableXml.d.ts +7 -1
  111. package/dist/export/docx/text/blocksXml.d.ts +7 -0
  112. package/dist/export/docx/text/constants.d.ts +6 -0
  113. package/dist/export/docx/text/drawingContainerXml.d.ts +16 -0
  114. package/dist/export/docx/text/dropCapXml.d.ts +9 -0
  115. package/dist/export/docx/text/endnoteRunXml.d.ts +5 -0
  116. package/dist/export/docx/text/fieldRunXml.d.ts +11 -0
  117. package/dist/export/docx/text/footnoteRunXml.d.ts +5 -0
  118. package/dist/export/docx/text/hyperlinkXml.d.ts +3 -0
  119. package/dist/export/docx/text/imageRunXml.d.ts +3 -0
  120. package/dist/export/docx/text/paragraphPropertiesXml.d.ts +16 -0
  121. package/dist/export/docx/text/runPropertiesXml.d.ts +3 -0
  122. package/dist/export/docx/text/runTextXml.d.ts +1 -0
  123. package/dist/export/docx/text/runXml.d.ts +5 -0
  124. package/dist/export/docx/text/styleMaterialization.d.ts +4 -0
  125. package/dist/export/docx/text/textBoxRunXml.d.ts +4 -0
  126. package/dist/export/docx/textXml.d.ts +1 -6
  127. package/dist/export/pdf/OasisPdfWriter.d.ts +1 -0
  128. package/dist/export/pdf/draw/borderDash.d.ts +11 -0
  129. package/dist/export/pdf/draw/drawFragment.d.ts +1 -0
  130. package/dist/export/pdf/draw/drawParagraph.d.ts +8 -1
  131. package/dist/export/pdf/fonts/TrueTypePdfFontSubsetter.d.ts +5 -0
  132. package/dist/export/pdf/fonts/officeFontAssets.d.ts +24 -0
  133. package/dist/export/pdf/units.d.ts +2 -1
  134. package/dist/i18n/index.d.ts +1 -1
  135. package/dist/i18n/locales/en.d.ts +108 -0
  136. package/dist/i18n/locales/pt-BR.d.ts +108 -0
  137. package/dist/import/DocumentFormatImporter.d.ts +26 -0
  138. package/dist/import/documentImporterRegistry.d.ts +6 -0
  139. package/dist/import/docx/bookmarks.d.ts +8 -0
  140. package/dist/import/docx/borders.d.ts +37 -0
  141. package/dist/import/docx/docxImporter.d.ts +3 -0
  142. package/dist/import/docx/dropCap.d.ts +13 -0
  143. package/dist/import/docx/endnotes.d.ts +17 -0
  144. package/dist/import/docx/footnotes.d.ts +2 -2
  145. package/dist/import/docx/headerFooter.d.ts +2 -2
  146. package/dist/import/docx/nestedBlocks.d.ts +15 -0
  147. package/dist/import/docx/numbering.d.ts +16 -1
  148. package/dist/import/docx/{styles.d.ts → paragraphStyle.d.ts} +2 -8
  149. package/dist/import/docx/paragraphs.d.ts +5 -4
  150. package/dist/import/docx/runStyle.d.ts +6 -0
  151. package/dist/import/docx/runs/drawingImage.d.ts +13 -0
  152. package/dist/import/docx/runs/fields.d.ts +3 -0
  153. package/dist/import/docx/runs/relationships.d.ts +11 -0
  154. package/dist/import/docx/runs/textBox.d.ts +6 -0
  155. package/dist/import/docx/runs/types.d.ts +42 -0
  156. package/dist/import/docx/runs/units.d.ts +11 -0
  157. package/dist/import/docx/runs/vmlImage.d.ts +6 -0
  158. package/dist/import/docx/runs.d.ts +14 -34
  159. package/dist/import/docx/sectionProperties.d.ts +1 -1
  160. package/dist/import/docx/settings.d.ts +1 -0
  161. package/dist/import/docx/styleUtils.d.ts +6 -0
  162. package/dist/import/docx/stylesXml.d.ts +4 -0
  163. package/dist/import/docx/tables.d.ts +2 -2
  164. package/dist/import/docx/theme.d.ts +17 -0
  165. package/dist/import/docx/themeColors.d.ts +37 -0
  166. package/dist/import/docx/themeFonts.d.ts +5 -1
  167. package/dist/import/docx/xmlHelpers.d.ts +3 -1
  168. package/dist/import/html/htmlImporter.d.ts +3 -0
  169. package/dist/import/html/importHtmlToEditorDocument.d.ts +8 -0
  170. package/dist/index-DuS88s1l.js +36810 -0
  171. package/dist/index.d.ts +39 -14
  172. package/dist/layoutProjection/blockHeights.d.ts +1 -1
  173. package/dist/layoutProjection/blocksPagination.d.ts +1 -1
  174. package/dist/layoutProjection/constants.d.ts +9 -1
  175. package/dist/layoutProjection/documentLayout.d.ts +0 -1
  176. package/dist/layoutProjection/dropCapExclusion.d.ts +23 -0
  177. package/dist/layoutProjection/endnotePagination.d.ts +8 -0
  178. package/dist/layoutProjection/floatingObjects.d.ts +45 -0
  179. package/dist/layoutProjection/footnotePagination.d.ts +1 -2
  180. package/dist/layoutProjection/headerFooterFootnotes.d.ts +1 -1
  181. package/dist/layoutProjection/headerFooterProjection.d.ts +3 -3
  182. package/dist/layoutProjection/index.d.ts +9 -7
  183. package/dist/layoutProjection/paragraphBorders.d.ts +14 -0
  184. package/dist/layoutProjection/paragraphPagination.d.ts +23 -9
  185. package/dist/layoutProjection/paragraphProjection.d.ts +1 -1
  186. package/dist/layoutProjection/sectionPagination.d.ts +3 -2
  187. package/dist/layoutProjection/tablePagination.d.ts +3 -2
  188. package/dist/layoutProjection/tableProjection.d.ts +1 -1
  189. package/dist/oasis-editor.css +1 -1
  190. package/dist/oasis-editor.js +52 -80462
  191. package/dist/oasis-editor.umd.cjs +4 -4
  192. package/dist/plugins/internal/createEssentialsPlugin.d.ts +8 -1
  193. package/dist/react.d.ts +12 -0
  194. package/dist/react.js +24 -0
  195. package/dist/testing/wordLayoutParity.d.ts +0 -3
  196. package/dist/text/fonts/FontMetricsProvider.d.ts +38 -0
  197. package/dist/text/fonts/FontProgramFactory.d.ts +6 -0
  198. package/dist/text/fonts/core/types.d.ts +69 -0
  199. package/dist/text/fonts/decoders/Brotli.d.ts +4 -0
  200. package/dist/text/fonts/decoders/FontDecoderRegistry.d.ts +10 -0
  201. package/dist/text/fonts/decoders/TtfDecoder.d.ts +8 -0
  202. package/dist/text/fonts/decoders/Woff2Decoder.d.ts +45 -0
  203. package/dist/text/fonts/layout/SimpleTextLayouter.d.ts +7 -0
  204. package/dist/text/fonts/preciseFontMetrics.d.ts +16 -0
  205. package/dist/text/fonts/preciseFontMode.d.ts +7 -0
  206. package/dist/text/fonts/sfnt/SfntFontProgram.d.ts +29 -0
  207. package/dist/text/fonts/vendor/woff2/buffer.d.ts +24 -0
  208. package/dist/text/fonts/vendor/woff2/glyf-reconstructor.d.ts +55 -0
  209. package/dist/text/fonts/vendor/woff2/hmtx-reconstructor.d.ts +5 -0
  210. package/dist/text/fonts/vendor/woff2/sfnt-builder.d.ts +7 -0
  211. package/dist/text/fonts/vendor/woff2/utils.d.ts +12 -0
  212. package/dist/text/truetype/AdvanceWidthSource.d.ts +19 -0
  213. package/dist/text/truetype/BinaryReader.d.ts +28 -0
  214. package/dist/text/truetype/CmapParser.d.ts +15 -0
  215. package/dist/text/truetype/SfntTableDirectory.d.ts +26 -0
  216. package/dist/text/truetype/TrueTypeFont.d.ts +36 -0
  217. package/dist/text/truetype/TrueTypeParseError.d.ts +11 -0
  218. package/dist/text/truetype/tableParsers.d.ts +45 -0
  219. package/dist/ui/OasisEditorApp.d.ts +1 -1
  220. package/dist/ui/OasisEditorAppLazy.d.ts +16 -0
  221. package/dist/ui/OasisEditorAppProps.d.ts +10 -2
  222. package/dist/ui/OasisEditorEditor.d.ts +17 -8
  223. package/dist/ui/OasisEditorLoading.d.ts +25 -0
  224. package/dist/ui/app/EditorDialogsLayer.d.ts +4 -0
  225. package/dist/ui/app/EditorWorkspace.d.ts +6 -0
  226. package/dist/ui/app/buildEditorViewProps.d.ts +7 -3
  227. package/dist/ui/app/createRuntimeCommandHost.d.ts +2 -1
  228. package/dist/ui/app/localFontAccess.d.ts +33 -0
  229. package/dist/ui/app/useCanvasSurfaceHitResolver.d.ts +2 -2
  230. package/dist/ui/app/useEditorContextMenuClipboard.d.ts +18 -0
  231. package/dist/ui/app/useEditorDialogs.d.ts +18 -0
  232. package/dist/ui/app/useEditorRuntimeBootstrap.d.ts +3 -0
  233. package/dist/ui/app/useEditorRuntimePlugins.d.ts +3 -0
  234. package/dist/ui/app/useEditorUiOptions.d.ts +1 -1
  235. package/dist/ui/app/useParagraphDialogBridge.d.ts +29 -0
  236. package/dist/ui/app/useTablePropertiesDialogBridge.d.ts +30 -0
  237. package/dist/ui/canvas/CanvasHitTestService.d.ts +17 -0
  238. package/dist/ui/canvas/CanvasLayoutSnapshot.d.ts +57 -1
  239. package/dist/ui/canvas/CanvasSelectionGeometry.d.ts +16 -0
  240. package/dist/ui/canvas/CanvasTableLayout.d.ts +3 -1
  241. package/dist/ui/canvas/canvasBlockPainter.d.ts +2 -2
  242. package/dist/ui/canvas/canvasBorders.d.ts +17 -0
  243. package/dist/ui/canvas/canvasDropCapPainter.d.ts +16 -0
  244. package/dist/ui/canvas/canvasParagraphPainter.d.ts +24 -2
  245. package/dist/ui/canvas/canvasTextBoxPainter.d.ts +24 -0
  246. package/dist/ui/canvas/imageContour.d.ts +10 -0
  247. package/dist/ui/canvas/textBoxRenderHeight.d.ts +14 -0
  248. package/dist/ui/canvas/verticalText.d.ts +104 -0
  249. package/dist/ui/components/Dialogs/FontDialog.d.ts +2 -65
  250. package/dist/ui/components/Dialogs/FontDialogModel.d.ts +5 -0
  251. package/dist/ui/components/Dialogs/ParagraphDialog.d.ts +49 -0
  252. package/dist/ui/components/Dialogs/TablePropertiesDialog.d.ts +80 -0
  253. package/dist/ui/components/Dialogs/font-dialog/AdvancedFontTab.d.ts +6 -0
  254. package/dist/ui/components/Dialogs/font-dialog/FontDialogController.d.ts +21 -0
  255. package/dist/ui/components/Dialogs/font-dialog/FontDialogTypes.d.ts +112 -0
  256. package/dist/ui/components/Dialogs/font-dialog/FontPreview.d.ts +6 -0
  257. package/dist/ui/components/Dialogs/font-dialog/FontTab.d.ts +6 -0
  258. package/dist/ui/components/Dialogs/font-dialog/useFontDialogController.d.ts +4 -0
  259. package/dist/ui/components/FloatingToolbar/FloatingLayoutOptions.d.ts +17 -0
  260. package/dist/ui/components/Menubar/Menubar.d.ts +2 -1
  261. package/dist/ui/components/Menubar/builtinMenuIds.d.ts +36 -0
  262. package/dist/ui/components/OasisBrandMark.d.ts +7 -0
  263. package/dist/ui/components/PluginUi/PluginUiHost.d.ts +8 -0
  264. package/dist/ui/components/Ruler/HorizontalRuler.d.ts +11 -0
  265. package/dist/ui/components/Ruler/rulerGeometry.d.ts +63 -0
  266. package/dist/ui/components/Toolbar/Toolbar.d.ts +2 -0
  267. package/dist/ui/components/Toolbar/presets/builtinToolbarIds.d.ts +40 -0
  268. package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +1 -1
  269. package/dist/ui/components/Toolbar/primitives/Separator.d.ts +4 -3
  270. package/dist/ui/components/Toolbar/registry/ToolbarRegistry.d.ts +7 -2
  271. package/dist/ui/components/Toolbar/schema/items.d.ts +1 -1
  272. package/dist/ui/components/WelcomeOverlay.d.ts +13 -0
  273. package/dist/ui/editorLayoutConstants.d.ts +12 -0
  274. package/dist/ui/editorUiTypes.d.ts +35 -4
  275. package/dist/ui/fontSizeUnits.d.ts +15 -0
  276. package/dist/ui/mount.d.ts +2 -1
  277. package/dist/ui/overlays/ResizeHandlesOverlay.d.ts +34 -0
  278. package/dist/ui/public/Button.d.ts +10 -0
  279. package/dist/ui/public/Checkbox.d.ts +9 -0
  280. package/dist/ui/public/DialogFooter.d.ts +6 -0
  281. package/dist/ui/public/FloatingActionButton.d.ts +8 -0
  282. package/dist/ui/public/IconButton.d.ts +10 -0
  283. package/dist/ui/public/SelectField.d.ts +15 -0
  284. package/dist/ui/public/SidePanel.d.ts +12 -0
  285. package/dist/ui/public/TextField.d.ts +9 -0
  286. package/dist/ui/public/index.d.ts +36 -0
  287. package/dist/ui/resizeGeometry.d.ts +28 -0
  288. package/dist/ui/shells/DocumentShell.d.ts +6 -0
  289. package/dist/ui/textMeasurement/alignment.d.ts +3 -0
  290. package/dist/ui/textMeasurement/characterWidth.d.ts +9 -0
  291. package/dist/ui/textMeasurement/composer.d.ts +5 -0
  292. package/dist/ui/textMeasurement/constants.d.ts +4 -0
  293. package/dist/ui/textMeasurement/fontMetrics.d.ts +12 -0
  294. package/dist/ui/textMeasurement/indentation.d.ts +12 -0
  295. package/dist/ui/textMeasurement/layoutLine.d.ts +4 -0
  296. package/dist/ui/textMeasurement/paragraphLineHeight.d.ts +22 -0
  297. package/dist/ui/textMeasurement/tabStops.d.ts +4 -0
  298. package/dist/ui/textMeasurement/tokenizer.d.ts +6 -0
  299. package/dist/ui/textMeasurement/types.d.ts +27 -0
  300. package/dist/ui/textMeasurement.d.ts +5 -11
  301. package/dist/ui/toolbarStyleState.d.ts +15 -2
  302. package/dist/ui/utils/customIcons.d.ts +20 -0
  303. package/dist/ui.d.ts +42 -0
  304. package/dist/ui.js +19 -0
  305. package/dist/utils/imageFormats.d.ts +14 -0
  306. package/dist/utils/throttle.d.ts +1 -1
  307. package/dist/vue.d.ts +9 -0
  308. package/dist/vue.js +33 -0
  309. package/package.json +90 -62
  310. package/dist/__tests__/app/PersistenceService.test.d.ts +0 -1
  311. package/dist/__tests__/app/footnoteUiCommands.test.d.ts +0 -1
  312. package/dist/__tests__/commands/text.test.d.ts +0 -1
  313. package/dist/__tests__/core/editorPluginIntegration.test.d.ts +0 -1
  314. package/dist/__tests__/core/editorState.test.d.ts +0 -1
  315. package/dist/__tests__/core/footnotes.test.d.ts +0 -1
  316. package/dist/__tests__/core/model.test.d.ts +0 -1
  317. package/dist/__tests__/core/pluginCollection.test.d.ts +0 -1
  318. package/dist/__tests__/core/tableCommands.test.d.ts +0 -1
  319. package/dist/__tests__/export/docxExport.test.d.ts +0 -1
  320. package/dist/__tests__/export/footnotesExport.test.d.ts +0 -1
  321. package/dist/__tests__/export/pdfWriter.test.d.ts +0 -1
  322. package/dist/__tests__/export/underlineStyle.test.d.ts +0 -1
  323. package/dist/__tests__/import/docxComplexSmoke.test.d.ts +0 -1
  324. package/dist/__tests__/import/docxImport.test.d.ts +0 -1
  325. package/dist/__tests__/import/footnotesImport.test.d.ts +0 -1
  326. package/dist/__tests__/integration/documentFlow.test.d.ts +0 -1
  327. package/dist/__tests__/ui/CanvasTableLayout.test.d.ts +0 -1
  328. package/dist/__tests__/ui/canvasHitTestService.test.d.ts +0 -1
  329. package/dist/__tests__/ui/canvasLayoutSnapshot.test.d.ts +0 -1
  330. package/dist/__tests__/ui/canvasSelectionGeometry.test.d.ts +0 -1
  331. package/dist/__tests__/ui/canvasTextRendering.test.d.ts +0 -1
  332. package/dist/__tests__/ui/composeMeasuredParagraphLines.test.d.ts +0 -1
  333. package/dist/__tests__/ui/dialog.test.d.ts +0 -1
  334. package/dist/__tests__/ui/fontDialog.test.d.ts +0 -1
  335. package/dist/__tests__/ui/footnotesLayout.test.d.ts +0 -1
  336. package/dist/__tests__/ui/layoutIdentity.test.d.ts +0 -1
  337. package/dist/__tests__/ui/layoutProjection.test.d.ts +0 -1
  338. package/dist/__tests__/ui/registry.test.d.ts +0 -1
  339. package/dist/__tests__/ui/tabs.test.d.ts +0 -1
  340. package/dist/__tests__/ui/textMeasurementAlignment.test.d.ts +0 -1
  341. package/dist/__tests__/word-parity/fixtures/corpus.d.ts +0 -10
  342. package/dist/__tests__/word-parity/fixtures/loremFixtures.d.ts +0 -8
  343. package/dist/__tests__/word-parity/wordLayout.word-parity.d.ts +0 -1
  344. package/dist/assets/Arimo-Bold.ttf +0 -0
  345. package/dist/assets/Arimo-BoldItalic.ttf +0 -0
  346. package/dist/assets/Arimo-Italic.ttf +0 -0
  347. package/dist/assets/Arimo-Regular.ttf +0 -0
  348. package/dist/assets/Carlito-Bold.ttf +0 -0
  349. package/dist/assets/Carlito-BoldItalic.ttf +0 -0
  350. package/dist/assets/Carlito-Italic.ttf +0 -0
  351. package/dist/assets/Carlito-Regular.ttf +0 -0
  352. package/dist/assets/Roboto-Italic.ttf +0 -0
  353. package/dist/assets/Roboto-Medium.ttf +0 -0
  354. package/dist/assets/Roboto-MediumItalic.ttf +0 -0
  355. package/dist/assets/Roboto-Regular.ttf +0 -0
  356. package/dist/assets/Tinos-Bold.ttf +0 -0
  357. package/dist/assets/Tinos-BoldItalic.ttf +0 -0
  358. package/dist/assets/Tinos-Italic.ttf +0 -0
  359. package/dist/assets/Tinos-Regular.ttf +0 -0
  360. package/dist/assets/importDocxWorker-DIQ28Lka.js +0 -12
  361. package/dist/core/commands/utils.d.ts +0 -69
  362. package/dist/demo/OasisSiteApp.d.ts +0 -1
  363. package/dist/main.d.ts +0 -1
@@ -0,0 +1,12 @@
1
+ import { EditorNamedStyle, EditorParagraphNode } from '../../../../core/model.js';
2
+
3
+ export declare function getListIndentPx(paragraph: EditorParagraphNode): number;
4
+ /**
5
+ * Inset where a list label (bullet/number) is painted: the start of the hanging
6
+ * area, i.e. the text indent minus the hanging amount. Used by the canvas and
7
+ * PDF painters so the label sits to the left of the (possibly tab-advanced)
8
+ * first-line text.
9
+ */
10
+ export declare function getListLabelInset(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined): number;
11
+ export declare function getAvailableWidth(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined, contentWidth: number, isFirstLine: boolean): number;
12
+ export declare function getLineStartInset(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined, isFirstLine: boolean): number;
@@ -0,0 +1,4 @@
1
+ import { EditorLayoutLine } from '../../../../core/model.js';
2
+
3
+ export declare function commitLine(lines: EditorLayoutLine[], paragraphId: string, startOffset: number, endOffset: number, slotLefts: number[], top: number, height: number, availableWidth?: number): void;
4
+ export declare function shiftLine(line: EditorLayoutLine, deltaX: number): EditorLayoutLine;
@@ -0,0 +1,22 @@
1
+ import { EditorNamedStyle, EditorParagraphNode, EditorParagraphStyle } from '../../../../core/model.js';
2
+
3
+ interface ResolvedLineSpacing {
4
+ rule: "auto" | "exact" | "atLeast";
5
+ /** Multiplier to use for the natural (single-line) height computation. */
6
+ multiplier: number;
7
+ /** Absolute height in px for exact/atLeast rules (0 for auto). */
8
+ absolutePx: number;
9
+ }
10
+ /**
11
+ * Interprets `lineHeight`/`lineRule`. For `exact`/`atLeast`, `lineHeight` is an
12
+ * absolute px height; otherwise it is a multiplier of single line spacing.
13
+ */
14
+ export declare function resolveLineSpacing(paragraphStyle: EditorParagraphStyle): ResolvedLineSpacing;
15
+ /**
16
+ * Applies the line rule to a naturally-computed line height: `exact` forces the
17
+ * absolute value, `atLeast` grows the natural height to the minimum, `auto`
18
+ * leaves it unchanged.
19
+ */
20
+ export declare function applyLineRule(naturalHeight: number, spacing: ResolvedLineSpacing): number;
21
+ export declare function getParagraphLineHeight(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined, fallbackFontSize: number): number;
22
+ export {};
@@ -0,0 +1,4 @@
1
+ import { EditorNamedStyle, EditorParagraphNode } from '../../../../core/model.js';
2
+ import { MeasuredChar } from '../../types.js';
3
+
4
+ export declare function resolveTabAdvancePx(paragraph: EditorParagraphNode, styles: Record<string, EditorNamedStyle> | undefined, defaultTabStop: number | undefined, lineStartInset: number, lineWidth: number, tabOffset: number, measuredChars: MeasuredChar[]): number;
@@ -0,0 +1,6 @@
1
+ import { EditorLayoutFragment, EditorNamedStyle, EditorParagraphNode } from '../../../../core/model.js';
2
+ import { MeasuredChar, MeasuredToken } from '../../types.js';
3
+
4
+ export declare function buildParagraphFragments(paragraph: EditorParagraphNode): EditorLayoutFragment[];
5
+ export declare function buildMeasuredChars(paragraph: EditorParagraphNode, fragments: EditorLayoutFragment[], styles: Record<string, EditorNamedStyle> | undefined): MeasuredChar[];
6
+ export declare function tokenizeMeasuredChars(chars: MeasuredChar[]): MeasuredToken[];
@@ -0,0 +1,27 @@
1
+ import { EditorLayoutFragment, EditorNamedStyle, EditorParagraphNode } from '../../../../core/model.js';
2
+ import { FloatingExclusionRect } from '../../../../core/engine.js';
3
+
4
+ export interface MeasuredChar {
5
+ char: string;
6
+ offset: number;
7
+ width: number;
8
+ /**
9
+ * Height (px) of the inline object (image/text box) this char stands in for,
10
+ * so the line can grow to fit it. Undefined for normal text and floating
11
+ * objects (which are taken out of flow).
12
+ */
13
+ objectHeight?: number;
14
+ }
15
+ export interface MeasuredToken {
16
+ kind: "text" | "whitespace" | "newline";
17
+ chars: MeasuredChar[];
18
+ width: number;
19
+ }
20
+ export interface TextMeasureOptions {
21
+ paragraph: EditorParagraphNode;
22
+ fragments: EditorLayoutFragment[];
23
+ styles?: Record<string, EditorNamedStyle>;
24
+ contentWidth?: number;
25
+ defaultTabStop?: number;
26
+ exclusions?: FloatingExclusionRect[];
27
+ }
@@ -1,14 +1,8 @@
1
- import { EditorLayoutFragment, EditorLayoutLine, EditorNamedStyle, EditorParagraphNode, EditorTextStyle } from '../../core/model.js';
2
1
  import { ITextMeasurer } from '../../core/engine.js';
3
2
 
4
- export interface TextMeasureOptions {
5
- paragraph: EditorParagraphNode;
6
- fragments: EditorLayoutFragment[];
7
- styles?: Record<string, EditorNamedStyle>;
8
- contentWidth?: number;
9
- layoutMode?: "fast" | "wordParity";
10
- }
11
- export declare function resolveRenderedLineHeightPx(styles: EditorTextStyle | undefined, lineHeightMultiple: number): number;
12
- export declare function measureParagraphMinContentWidthPx(paragraph: EditorParagraphNode, styles?: Record<string, EditorNamedStyle>, layoutMode?: "fast" | "wordParity"): number;
13
- export declare function composeMeasuredParagraphLines(options: TextMeasureOptions): EditorLayoutLine[];
3
+ export { clearTextMeasureCache } from '../textMeasurement/characterWidth.js';
4
+ export { clearNormalLineHeightCache, resolveRenderedLineHeightPx, } from '../textMeasurement/fontMetrics.js';
5
+ export { applyLineRule, resolveLineSpacing, } from '../textMeasurement/paragraphLineHeight.js';
6
+ export { composeMeasuredParagraphLines, measureParagraphMinContentWidthPx, } from '../textMeasurement/composer.js';
7
+ export type { TextMeasureOptions } from '../textMeasurement/types.js';
14
8
  export declare const domTextMeasurer: ITextMeasurer;
@@ -1,7 +1,7 @@
1
1
  import { EditorState } from '../../core/model.js';
2
2
 
3
- export type BooleanStyleKey = "bold" | "italic" | "underline" | "strike" | "doubleStrike" | "superscript" | "subscript" | "smallCaps" | "allCaps" | "hidden" | "contextualAlternates";
4
- export type ValueStyleKey = "fontFamily" | "fontSize" | "color" | "highlight" | "link" | "underlineStyle" | "underlineColor" | "characterScale" | "characterSpacing" | "baselineShift" | "kerningThreshold" | "ligatures" | "numberSpacing" | "numberForm" | "stylisticSet";
3
+ export type BooleanStyleKey = "bold" | "italic" | "underline" | "strike" | "doubleStrike" | "superscript" | "subscript" | "smallCaps" | "allCaps" | "hidden" | "noProof" | "webHidden" | "specVanish" | "contextualAlternates";
4
+ export type ValueStyleKey = "fontFamily" | "fontSize" | "color" | "highlight" | "shading" | "language" | "textEffect" | "link" | "underlineStyle" | "underlineColor" | "characterScale" | "characterSpacing" | "baselineShift" | "kerningThreshold" | "ligatures" | "numberSpacing" | "numberForm" | "stylisticSet";
5
5
  export type ParagraphStyleKey = "styleId" | "align" | "spacingBefore" | "spacingAfter" | "lineHeight" | "indentLeft" | "indentRight" | "indentFirstLine" | "indentHanging" | "shading" | "tabs" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "pageBreakBefore" | "keepWithNext";
6
6
  export interface ToolbarStyleState {
7
7
  bold: boolean;
@@ -16,6 +16,9 @@ export interface ToolbarStyleState {
16
16
  smallCaps: boolean;
17
17
  allCaps: boolean;
18
18
  hidden: boolean;
19
+ noProof: boolean;
20
+ webHidden: boolean;
21
+ specVanish: boolean;
19
22
  characterScale: string;
20
23
  characterSpacing: string;
21
24
  baselineShift: string;
@@ -29,6 +32,8 @@ export interface ToolbarStyleState {
29
32
  fontSize: string;
30
33
  color: string;
31
34
  highlight: string;
35
+ textShading: string;
36
+ textEffect: string;
32
37
  link: string;
33
38
  styleId: string;
34
39
  align: string;
@@ -36,9 +41,17 @@ export interface ToolbarStyleState {
36
41
  spacingBefore: string;
37
42
  spacingAfter: string;
38
43
  indentLeft: string;
44
+ indentRight: string;
39
45
  indentFirstLine: string;
40
46
  indentHanging: string;
41
47
  shading: string;
48
+ borderStyle: string;
49
+ borderWidth: string;
50
+ borderColor: string;
51
+ borderSideTop: boolean;
52
+ borderSideRight: boolean;
53
+ borderSideBottom: boolean;
54
+ borderSideLeft: boolean;
42
55
  listKind: string;
43
56
  pageBreakBefore: boolean;
44
57
  keepWithNext: boolean;
@@ -0,0 +1,20 @@
1
+ import { JSX } from '../../solid-js';
2
+
3
+ /**
4
+ * Custom inline-SVG icons that can't be expressed with lucide's monochrome,
5
+ * path-only icon set (e.g. multi-color glyphs or text). Rendered directly as
6
+ * SVG so they are not picked up by the lucide MutationObserver, which only
7
+ * processes `[data-lucide]` elements.
8
+ *
9
+ * Each renderer mirrors lucide's default svg attributes (24x24 viewBox) so the
10
+ * existing toolbar/menubar icon sizing applies identically.
11
+ */
12
+ export type CustomIconRenderer = () => JSX.Element;
13
+ export declare function getCustomIcon(name?: string): CustomIconRenderer | undefined;
14
+ /**
15
+ * Renders an icon by name: a registered custom inline SVG when available,
16
+ * otherwise a lucide `<i data-lucide>` placeholder resolved by the icon observer.
17
+ */
18
+ export declare function ToolIcon(props: {
19
+ name: string;
20
+ }): JSX.Element;
package/dist/ui.d.ts ADDED
@@ -0,0 +1,42 @@
1
+ export {
2
+ Button,
3
+ Checkbox,
4
+ ColorPicker,
5
+ Dialog,
6
+ DialogFooter,
7
+ GridPicker,
8
+ IconButton,
9
+ Menu,
10
+ Popover,
11
+ Select,
12
+ SelectField,
13
+ Separator,
14
+ SplitButton,
15
+ Tabs,
16
+ TextField,
17
+ ToolbarButton,
18
+ ToolbarColorPicker,
19
+ } from "oasis-editor";
20
+
21
+ export type {
22
+ ButtonProps,
23
+ CheckboxProps,
24
+ ColorPickerKind,
25
+ ColorPickerProps,
26
+ DialogFooterProps,
27
+ DialogProps,
28
+ GridPickerProps,
29
+ IconButtonProps,
30
+ MenuProps,
31
+ PopoverProps,
32
+ PopoverTriggerApi,
33
+ SelectFieldOption,
34
+ SelectFieldProps,
35
+ SeparatorProps,
36
+ SplitButtonProps,
37
+ TabsItem,
38
+ TabsProps,
39
+ TextFieldProps,
40
+ ToolbarButtonProps,
41
+ ToolbarSelectProps,
42
+ } from "oasis-editor";
package/dist/ui.js ADDED
@@ -0,0 +1,19 @@
1
+ export {
2
+ Button,
3
+ Checkbox,
4
+ ColorPicker,
5
+ ColorPicker as ToolbarColorPicker,
6
+ Dialog,
7
+ DialogFooter,
8
+ GridPicker,
9
+ IconButton,
10
+ Menu,
11
+ Popover,
12
+ Select,
13
+ SelectField,
14
+ Separator,
15
+ SplitButton,
16
+ Tabs,
17
+ TextField,
18
+ ToolbarButton,
19
+ } from "oasis-editor";
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Shared mapping between image file extensions and MIME types for the DOCX
3
+ * image pipeline (`word/media/*`). Keeping a single source of truth ensures
4
+ * import (path → MIME) and export (MIME → extension + content type) stay
5
+ * consistent across the supported raster and vector formats.
6
+ *
7
+ * See `docs/ooxml.md` ("Package / OPC", `word/media/*`).
8
+ */
9
+ /** Resolve the MIME type for an image path/filename, or `null` if unknown. */
10
+ export declare function imageMimeFromPath(path: string): string | null;
11
+ /** Resolve the canonical file extension for an image MIME type, or `null`. */
12
+ export declare function imageExtensionFromMime(mime: string): string | null;
13
+ /** Content-type `<Default>` entries for the given set of file extensions. */
14
+ export declare function imageContentTypeDefaults(extensions: Iterable<string>): string;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Debounce: delays execution until `delay` ms have passed since the last call.
3
3
  */
4
- export declare function debounce<T extends (...args: any[]) => void>(fn: T, delay: number): (...args: Parameters<T>) => void;
4
+ export declare function debounce<T extends (...args: never[]) => void>(fn: T, delay: number): (...args: Parameters<T>) => void;
package/dist/vue.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ import type { DefineComponent } from "vue";
2
+ import type { OasisEditorAppProps, OasisEditorClient } from "oasis-editor";
3
+
4
+ export declare const OasisEditor: DefineComponent<{
5
+ config?: OasisEditorAppProps;
6
+ class?: string;
7
+ style?: string | Record<string, unknown>;
8
+ onClient?: (client: OasisEditorClient) => void;
9
+ }>;
package/dist/vue.js ADDED
@@ -0,0 +1,33 @@
1
+ import { defineComponent, onBeforeUnmount, onMounted, ref, h } from "vue";
2
+ import { mount } from "oasis-editor";
3
+
4
+ export const OasisEditor = defineComponent({
5
+ name: "OasisEditor",
6
+ props: {
7
+ config: {
8
+ type: Object,
9
+ default: () => ({}),
10
+ },
11
+ class: String,
12
+ style: [String, Object],
13
+ onClient: Function,
14
+ },
15
+ setup(props) {
16
+ const root = ref(null);
17
+ let instance = null;
18
+
19
+ onMounted(() => {
20
+ if (root.value) {
21
+ instance = mount(root.value, props.config);
22
+ props.onClient?.(instance);
23
+ }
24
+ });
25
+
26
+ onBeforeUnmount(() => {
27
+ instance?.unmount();
28
+ instance = null;
29
+ });
30
+
31
+ return () => h("div", { ref: root, class: props.class, style: props.style });
32
+ },
33
+ });
package/package.json CHANGED
@@ -1,65 +1,93 @@
1
- {
2
- "name": "oasis-editor",
3
- "version": "0.0.1",
4
- "type": "module",
5
- "main": "./dist/oasis-editor.umd.cjs",
6
- "module": "./dist/oasis-editor.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/oasis-editor.js",
12
- "require": "./dist/oasis-editor.umd.cjs"
13
- },
14
- "./style.css": "./dist/oasis-editor.css"
15
- },
16
- "files": [
17
- "dist"
18
- ],
19
- "scripts": {
20
- "dev": "vite",
21
- "build:lib": "vite build --mode lib",
22
- "build:app": "vite build",
1
+ {
2
+ "name": "oasis-editor",
3
+ "version": "0.0.2",
4
+ "type": "module",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/celsowm/oasis-editor.git"
8
+ },
9
+ "main": "./dist/oasis-editor.umd.cjs",
10
+ "module": "./dist/oasis-editor.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/oasis-editor.js",
16
+ "require": "./dist/oasis-editor.umd.cjs"
17
+ },
18
+ "./style.css": "./dist/oasis-editor.css",
19
+ "./ui": {
20
+ "types": "./dist/ui.d.ts",
21
+ "import": "./dist/ui.js"
22
+ },
23
+ "./react": {
24
+ "types": "./dist/react.d.ts",
25
+ "import": "./dist/react.js"
26
+ },
27
+ "./vue": {
28
+ "types": "./dist/vue.d.ts",
29
+ "import": "./dist/vue.js"
30
+ }
31
+ },
32
+ "peerDependencies": {
33
+ "react": ">=18",
34
+ "vue": ">=3"
35
+ },
36
+ "peerDependenciesMeta": {
37
+ "react": {
38
+ "optional": true
39
+ },
40
+ "vue": {
41
+ "optional": true
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "brand:generate": "node ./scripts/generate-brand-assets.mjs",
49
+ "dev": "vite",
50
+ "build:lib": "vite build --mode lib && node ./scripts/build-adapters.mjs",
51
+ "build:app": "vite build",
23
52
  "build": "npm run build:lib && npm run build:app",
24
53
  "prepack": "npm run build:lib",
25
54
  "preview": "vite preview",
26
- "test:perf": "playwright test",
27
- "wasm:build": "wasm-pack build ./rust-core --target web --out-dir ../public/wasm",
28
- "dev:rust": "npm run wasm:build && vite",
29
- "build:all": "npm run wasm:build && npm run build",
30
- "test": "vitest run",
31
- "test:word-parity": "vitest run --config vitest.word-parity.config.js",
32
- "lint": "eslint src --ext .ts",
33
- "format": "prettier --write \"src/**/*.ts\""
34
- },
35
- "devDependencies": {
36
- "@playwright/test": "^1.59.1",
37
- "@types/jszip": "^3.4.0",
38
- "@types/node": "^20.0.0",
39
- "@types/pdfmake": "^0.3.2",
40
- "@types/web": "^0.0.115",
41
- "@typescript-eslint/eslint-plugin": "^7.0.0",
42
- "@typescript-eslint/parser": "^7.0.0",
43
- "eslint": "^8.56.0",
44
- "eslint-config-prettier": "^9.1.0",
45
- "eslint-plugin-prettier": "^5.1.3",
46
- "fake-indexeddb": "^6.2.5",
47
- "jsdom": "^29.0.2",
48
- "prettier": "^3.2.5",
49
- "terser": "^5.46.1",
50
- "ts-morph": "^28.0.0",
51
- "tsx": "^4.22.4",
52
- "typescript": "^5.3.3",
53
- "vite": "^5.4.19",
54
- "vite-plugin-dts": "^3.7.3",
55
- "vite-plugin-solid": "^2.11.12",
56
- "vitest": "^1.3.1"
57
- },
58
- "dependencies": {
59
- "@xmldom/xmldom": "^0.9.10",
60
- "jszip": "^3.10.1",
61
- "lucide": "^1.11.0",
62
- "pdfmake": "^0.3.7",
63
- "solid-js": "^1.9.12"
64
- }
65
- }
55
+ "test:perf": "playwright test",
56
+ "wasm:build": "wasm-pack build ./rust-core --target web --out-dir ../public/wasm",
57
+ "dev:rust": "npm run wasm:build && vite",
58
+ "build:all": "npm run wasm:build && npm run build",
59
+ "test": "vitest run",
60
+ "test:word-parity": "vitest run --config vitest.word-parity.config.js",
61
+ "lint": "eslint src --ext .ts",
62
+ "format": "prettier --write \"src/**/*.ts\""
63
+ },
64
+ "devDependencies": {
65
+ "@playwright/test": "^1.59.1",
66
+ "@types/jszip": "^3.4.0",
67
+ "@types/node": "^20.0.0",
68
+ "@types/web": "^0.0.115",
69
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
70
+ "@typescript-eslint/parser": "^7.0.0",
71
+ "eslint": "^8.56.0",
72
+ "eslint-config-prettier": "^9.1.0",
73
+ "eslint-plugin-prettier": "^5.1.3",
74
+ "fake-indexeddb": "^6.2.5",
75
+ "jsdom": "^29.0.2",
76
+ "prettier": "^3.2.5",
77
+ "terser": "^5.46.1",
78
+ "ts-morph": "^28.0.0",
79
+ "tsx": "^4.22.4",
80
+ "typescript": "^5.3.3",
81
+ "vite": "^5.4.19",
82
+ "vite-plugin-dts": "^3.7.3",
83
+ "vite-plugin-solid": "^2.11.12",
84
+ "vitest": "^1.3.1"
85
+ },
86
+ "dependencies": {
87
+ "@xmldom/xmldom": "^0.9.10",
88
+ "brotli": "^1.3.3",
89
+ "jszip": "^3.10.1",
90
+ "lucide": "^1.11.0",
91
+ "solid-js": "^1.9.12"
92
+ }
93
+ }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,10 +0,0 @@
1
- export interface WordParityCorpusEntry {
2
- id: string;
3
- fileName: string;
4
- category: "baseline-lorem" | "header-footer" | "mixed-fonts" | "tables" | "page-breaks";
5
- }
6
- /**
7
- * Canonical Word parity corpus manifest (Milestone 1, text-first).
8
- * Add production documents here as they are curated.
9
- */
10
- export declare const WORD_PARITY_CORPUS: WordParityCorpusEntry[];
@@ -1,8 +0,0 @@
1
- import { EditorDocument, EditorPageSettings } from '../../../../../../core/model.js';
2
-
3
- export declare const A4_PAGE_SETTINGS: EditorPageSettings;
4
- export declare const CALIBRI_11PX = 14.6667;
5
- export declare const LOREM_PARAGRAPH: string;
6
- export declare function createA4CalibriLoremSinglePageDocument(): EditorDocument;
7
- export declare function createA4CalibriLoremMultipageDocument(): EditorDocument;
8
- export declare function createA4LoremHeaderFooterDocument(): EditorDocument;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file