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.

style: prettify exports

Wenzhao Hu4ce576ebbc91
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 55d6e7a4a9..cb1c206f15 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -22,6 +22,14 @@ export { IConfigService } from './services/config/config.service';
export * from './services/context/context';
export { ContextService, IContextService } from './services/context/context.service';
export { ErrorService, type IError } from './services/error/error.service';
+export type { IOffset, IScale, ISize, ITransformState } from './services/floating-object/floating-object-interfaces';
+export {
+ DEFAULT_DOCUMENT_SUB_COMPONENT_ID,
+ FloatingObjectManagerService,
+ type IFloatingObjectManagerParam,
+ type IFloatingObjectManagerSearchItemParam,
+ IFloatingObjectManagerService,
+} from './services/floating-object/floating-object-manager.service';
export { DocumentType, IUniverInstanceService } from './services/instance/instance.service';
export { LifecycleStages, OnLifecycle } from './services/lifecycle/lifecycle';
export { LifecycleService } from './services/lifecycle/lifecycle.service';
@@ -63,14 +71,6 @@ export { Worksheet } from './sheets/worksheet';
// #endregion
-export type { IOffset, IScale, ISize, ITransformState } from './services/floating-object/floating-object-interfaces';
-export {
- DEFAULT_DOCUMENT_SUB_COMPONENT_ID,
- FloatingObjectManagerService,
- type IFloatingObjectManagerParam,
- type IFloatingObjectManagerSearchItemParam,
- IFloatingObjectManagerService,
-} from './services/floating-object/floating-object-manager.service';
export * from './slides/domain';
export * from './types/const';
export * from './types/enum';