@univerjs/docs-ui 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607

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.
@@ -22,38 +22,6 @@ export { addCustomDecorationBySelectionFactory, addCustomDecorationFactory, dele
22
22
  export * from './basics/docs-view-key';
23
23
  export { hasParagraphInTable } from './basics/paragraph';
24
24
  export { docDrawingPositionToTransform, transformToDocDrawingPosition } from './basics/transform-position';
25
- export { type IKeyboardEventConfig, useKeyboardEvent, useResize } from './views/rich-text-editor/hooks';
26
- export { type IRichTextEditorProps, RichTextEditor } from './views/rich-text-editor';
27
- export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
28
- export { DocUIController } from './controllers/doc-ui.controller';
29
- export { menuSchema as DocsUIMenuSchema } from './controllers/menu.schema';
30
- export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
31
- export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
32
- export type { IUniverDocsUIConfig } from './controllers/config.schema';
33
- export { UniverDocsUIPlugin } from './plugin';
34
- export * from './services';
35
- export { IDocClipboardService } from './services/clipboard/clipboard.service';
36
- export { DocEventManagerService } from './services/doc-event-manager.service';
37
- export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
38
- export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
39
- export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
40
- export { DocsRenderService } from './services/docs-render.service';
41
- export { Editor } from './services/editor/editor';
42
- export { EditorService, IEditorService } from './services/editor/editor-manager.service';
43
- export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
44
- export { DocPrintInterceptorService, type IDocPrintComponentContext, type IDocPrintContext } from './services/doc-print-interceptor-service';
45
- export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
46
- export { getOneTextSelectionRange } from './services/selection/convert-text-range';
47
- export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
48
- export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
49
- export type { IDocRange } from './services/selection/range-interface';
50
- export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
51
- export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
52
- export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
53
- export { whenDocAndEditorFocused } from './shortcuts/utils';
54
- export { DOC_VERTICAL_PADDING } from './types/const/padding';
55
- export { SwitchDocModeCommand } from './commands/commands/switch-doc-mode.command';
56
- export { HorizontalLineCommand } from './commands/commands/doc-horizontal-line.command';
57
25
  export { AfterSpaceCommand, EnterCommand, type ITabCommandParams, TabCommand } from './commands/commands/auto-format.command';
58
26
  export { BreakLineCommand } from './commands/commands/break-line.command';
59
27
  export { generateParagraphs } from './commands/commands/break-line.command';
@@ -64,17 +32,21 @@ export { getCustomBlockIdsInSelections, getCutActionsFromDocRanges } from './com
64
32
  export { DeleteCommand, EditorInsertTextCommandId, type ICoverCommandParams, type IDeleteCommandParams, type IInsertCommandParams, InsertCommand, type IUpdateCommandParams, UpdateCommand, } from './commands/commands/core-editing.command';
65
33
  export { DeleteCustomBlockCommand, DeleteLeftCommand, DeleteRightCommand, type IDeleteCustomBlockParams, MergeTwoParagraphCommand } from './commands/commands/doc-delete.command';
66
34
  export { getCursorWhenDelete } from './commands/commands/doc-delete.command';
35
+ export { HorizontalLineCommand } from './commands/commands/doc-horizontal-line.command';
36
+ export { DocSelectAllCommand } from './commands/commands/doc-select-all.command';
67
37
  export { type IIMEInputCommandParams, IMEInputCommand } from './commands/commands/ime-input.command';
68
38
  export { ResetInlineFormatTextBackgroundColorCommand, SetInlineFormatBoldCommand, SetInlineFormatCommand, SetInlineFormatFontFamilyCommand, SetInlineFormatFontSizeCommand, SetInlineFormatItalicCommand, SetInlineFormatStrikethroughCommand, SetInlineFormatSubscriptCommand, SetInlineFormatSuperscriptCommand, SetInlineFormatTextBackgroundColorCommand, SetInlineFormatTextColorCommand, SetInlineFormatUnderlineCommand, } from './commands/commands/inline-format.command';
39
+ export { type IInsertCustomRangeCommandParams, InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
69
40
  export { BulletListCommand, ChangeListNestingLevelCommand, ChangeListTypeCommand, CheckListCommand, ListOperationCommand, OrderListCommand, QuickListCommand, ToggleCheckListCommand, } from './commands/commands/list.command';
70
41
  export { ChangeListNestingLevelType } from './commands/commands/list.command';
71
42
  export { AlignCenterCommand, AlignJustifyCommand, AlignLeftCommand, AlignOperationCommand, AlignRightCommand, } from './commands/commands/paragraph-align.command';
72
43
  export { ReplaceTextRunsCommand } from './commands/commands/replace-content.command';
73
44
  export { CoverContentCommand, type IReplaceSelectionCommandParams, type IReplaceSnapshotCommandParams, ReplaceContentCommand, ReplaceSelectionCommand, ReplaceSnapshotCommand } from './commands/commands/replace-content.command';
74
45
  export { SetDocZoomRatioCommand } from './commands/commands/set-doc-zoom-ratio.command';
46
+ export { SetParagraphNamedStyleCommand } from './commands/commands/set-heading.command';
47
+ export { SwitchDocModeCommand } from './commands/commands/switch-doc-mode.command';
75
48
  export { CreateDocTableCommand, type ICreateDocTableCommandParams } from './commands/commands/table/doc-table-create.command';
76
49
  export { DocTableDeleteColumnsCommand, DocTableDeleteRowsCommand, DocTableDeleteTableCommand } from './commands/commands/table/doc-table-delete.command';
77
- export { type IInsertCustomRangeCommandParams, InsertCustomRangeCommand } from './commands/commands/insert-custom-range.command';
78
50
  export type { IDocTableDeleteColumnsCommandParams, IDocTableDeleteRowsCommandParams, IDocTableDeleteTableCommandParams, } from './commands/commands/table/doc-table-delete.command';
79
51
  export type { IDocTableInsertColumnCommandParams, IDocTableInsertColumnLeftCommandParams, IDocTableInsertColumnRightCommandParams, IDocTableInsertRowAboveCommandParams, IDocTableInsertRowBellowCommandParams, IDocTableInsertRowCommandParams, } from './commands/commands/table/doc-table-insert.command';
80
52
  export { DocTableInsertColumnCommand, DocTableInsertColumnLeftCommand, DocTableInsertColumnRightCommand, DocTableInsertRowAboveCommand, DocTableInsertRowBellowCommand, DocTableInsertRowCommand, } from './commands/commands/table/doc-table-insert.command';
@@ -84,7 +56,35 @@ export { genTableSource, getEmptyTableCell, getEmptyTableRow, getTableColumn } f
84
56
  export { DocCreateTableOperation } from './commands/operations/doc-create-table.operation';
85
57
  export { type IMoveCursorOperationParams, MoveSelectionOperation } from './commands/operations/doc-cursor.operation';
86
58
  export { MoveCursorOperation } from './commands/operations/doc-cursor.operation';
87
- export { DocSelectAllCommand } from './commands/commands/doc-select-all.command';
88
59
  export { type ISetDocZoomRatioOperationParams, SetDocZoomRatioOperation } from './commands/operations/set-doc-zoom-ratio.operation';
89
- export { SetParagraphNamedStyleCommand } from './commands/commands/set-heading.command';
60
+ export { getCommandSkeleton, getRichTextEditPath } from './commands/util';
61
+ export type { IUniverDocsUIConfig } from './controllers/config.schema';
62
+ export { DocUIController } from './controllers/doc-ui.controller';
63
+ export { menuSchema as DocsUIMenuSchema } from './controllers/menu.schema';
64
+ export { DocBackScrollRenderController } from './controllers/render-controllers/back-scroll.render-controller';
65
+ export { DocRenderController } from './controllers/render-controllers/doc.render-controller';
66
+ export { UniverDocsUIPlugin } from './plugin';
67
+ export * from './services';
68
+ export { IDocClipboardService } from './services/clipboard/clipboard.service';
90
69
  export { convertBodyToHtml } from './services/clipboard/udm-to-html/convertor';
70
+ export { DocEventManagerService } from './services/doc-event-manager.service';
71
+ export { DocIMEInputManagerService } from './services/doc-ime-input-manager.service';
72
+ export { calcDocRangePositions, DocCanvasPopManagerService } from './services/doc-popup-manager.service';
73
+ export { DocPrintInterceptorService, type IDocPrintComponentContext, type IDocPrintContext } from './services/doc-print-interceptor-service';
74
+ export { DocStateChangeManagerService } from './services/doc-state-change-manager.service';
75
+ export { DocsRenderService } from './services/docs-render.service';
76
+ export { Editor } from './services/editor/editor';
77
+ export { EditorService, IEditorService } from './services/editor/editor-manager.service';
78
+ export { isInSameTableCell, isValidRectRange, NodePositionConvertToRectRange } from './services/selection/convert-rect-range';
79
+ export { NodePositionConvertToCursor } from './services/selection/convert-text-range';
80
+ export { getOneTextSelectionRange } from './services/selection/convert-text-range';
81
+ export type { IEditorInputConfig } from './services/selection/doc-selection-render.service';
82
+ export { DocSelectionRenderService } from './services/selection/doc-selection-render.service';
83
+ export type { IDocRange } from './services/selection/range-interface';
84
+ export { convertPositionsToRectRanges, RectRange } from './services/selection/rect-range';
85
+ export { getCanvasOffsetByEngine } from './services/selection/selection-utils';
86
+ export { getAnchorBounding, getLineBounding, TEXT_RANGE_LAYER_INDEX, TextRange } from './services/selection/text-range';
87
+ export { whenDocAndEditorFocused } from './shortcuts/utils';
88
+ export { DOC_VERTICAL_PADDING } from './types/const/padding';
89
+ export { type IRichTextEditorProps, RichTextEditor } from './views/rich-text-editor';
90
+ export { type IKeyboardEventConfig, useKeyboardEvent, useResize } from './views/rich-text-editor/hooks';