添加折叠面板
This commit is contained in:
31
src/index.ts
31
src/index.ts
@@ -1,21 +1,16 @@
|
||||
import { BimEngine } from './bim-engine';
|
||||
// Main Entry
|
||||
export * from './bim-engine';
|
||||
|
||||
// 导出通用组件
|
||||
export { BimButtonGroup } from './components/button-group';
|
||||
export { Toolbar } from './components/button-group/toolbar';
|
||||
// Types - Core
|
||||
export * from './types/component';
|
||||
export * from './types/events';
|
||||
export type { ThemeConfig, ThemeType } from './themes/types';
|
||||
|
||||
// 导出相关类型定义
|
||||
export type { OptButton, ButtonGroup, ButtonGroupOptions, ClickPayload } from './components/button-group/index.type';
|
||||
// Types - Components
|
||||
export type { EngineOptions, ModelLoadOptions } from './components/engine/types';
|
||||
export type { DialogOptions, DialogPosition } from './components/dialog/index.type';
|
||||
export type { ButtonConfig, ButtonGroupOptions } from './components/button-group/index.type';
|
||||
export type { TreeOptions, TreeNodeConfig, TreeNodeCheckState, NodeClickAction } from './components/tree/types';
|
||||
export type { CollapseOptions, CollapseItemConfig } from './components/collapse/types';
|
||||
|
||||
// 导出 RightKey/Menu 组件
|
||||
export type { MenuItemConfig } from './components/menu/item';
|
||||
export { BimMenu } from './components/menu';
|
||||
export { BimRightKey } from './components/right-key';
|
||||
|
||||
// 导出主引擎类
|
||||
export { BimEngine };
|
||||
|
||||
// 导出 3D 引擎相关类型
|
||||
export type { EngineOptions, ModelLoadOptions } from './components/engine';
|
||||
|
||||
export { createEngine } from './bim-engine-sdk.es.js';
|
||||
// Note: Component classes are intentionally NOT exported to enforce Manager pattern usage.
|
||||
|
||||
Reference in New Issue
Block a user