Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

feat(viewport): export func (#6521)

VicKun975cdff46b30
diff --git a/packages/sheets-ui/src/index.ts b/packages/sheets-ui/src/index.ts
index b3a8231e4f..0e1a77f0fa 100644
--- a/packages/sheets-ui/src/index.ts
+++ b/packages/sheets-ui/src/index.ts
@@ -89,7 +89,7 @@ export { SheetPermissionOpenDialogOperation } from './commands/operations/sheet-
export { SheetPermissionOpenPanelOperation } from './commands/operations/sheet-permission-open-panel.operation';
export { SidebarDefinedNameOperation } from './commands/operations/sidebar-defined-name.operation';
export { EMBEDDING_FORMULA_EDITOR_COMPONENT_KEY, RANGE_SELECTOR_COMPONENT_KEY, SHEET_VIEW_KEY } from './common/keys';
-export { getCellRealRange } from './common/utils';
+export { getCellRealRange, getViewportByCell } from './common/utils';
export { useActiveWorkbook, useActiveWorksheet, useWorkbooks } from './components/hook';
export { UNIVER_SHEET_PERMISSION_USER_PART } from './consts/permission';
export { SHEET_UI_PLUGIN_NAME } from './consts/plugin-name';