style(menu): remove default list style bullets from menu
This commit is contained in:
19
dist/index.d.ts
vendored
19
dist/index.d.ts
vendored
@@ -141,12 +141,10 @@ declare class BimDialog implements IBimComponent {
|
||||
export declare class BimEngine extends EventEmitter {
|
||||
private container;
|
||||
private wrapper;
|
||||
private topLeftGroup;
|
||||
toolbar: ToolbarManager | null;
|
||||
buttonGroup: ButtonGroupManager | null;
|
||||
dialog: DialogManager | null;
|
||||
engine: EngineManager | null;
|
||||
rightKey: RightKeyManager | null;
|
||||
get localeManager(): LocaleManager;
|
||||
get themeManager(): ThemeManager;
|
||||
constructor(container: HTMLElement | string, options?: {
|
||||
@@ -160,12 +158,6 @@ export declare class BimEngine extends EventEmitter {
|
||||
setTheme(theme: 'dark' | 'light'): void;
|
||||
setCustomTheme(theme: ThemeConfig): void;
|
||||
private init;
|
||||
/**
|
||||
* 初始化 3D 引擎组件
|
||||
* 注意:只初始化引擎,不加载模型。模型加载在使用层(如 demo.html)进行
|
||||
* @param options 引擎配置选项(可选)
|
||||
*/
|
||||
initEngine(options?: Omit<EngineOptions, 'container'>): boolean;
|
||||
private updateTheme;
|
||||
destroy(): void;
|
||||
}
|
||||
@@ -355,11 +347,11 @@ export declare function createEngine(r) {
|
||||
const e = r.version || "v1";
|
||||
switch (e) {
|
||||
case "v2":
|
||||
return new Bc(r);
|
||||
return new Oc(r);
|
||||
case "v1":
|
||||
return new N_(r);
|
||||
return new U_(r);
|
||||
:
|
||||
return console.warn(`Version '${e}' not found. Falling back to v2.`), new Bc(r);
|
||||
return console.warn(`Version '${e}' not found. Falling back to v2.`), new Oc(r);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -492,6 +484,7 @@ declare class EngineManager extends BimComponent {
|
||||
private container;
|
||||
/** 3D 引擎组件实例 */
|
||||
private engineInstance;
|
||||
rightKey: RightKeyManager | null;
|
||||
/**
|
||||
* 构造函数
|
||||
* @param engine 引擎实例
|
||||
@@ -505,7 +498,7 @@ declare class EngineManager extends BimComponent {
|
||||
*/
|
||||
initialize(options?: Omit<EngineOptions, 'container'>): boolean;
|
||||
/**
|
||||
* 检查 3D 引擎是否已初始化
|
||||
* 检<EFBFBD><EFBFBD><EFBFBD> 3D 引擎是否已初始化
|
||||
*/
|
||||
isInitialized(): boolean;
|
||||
/**
|
||||
@@ -713,7 +706,7 @@ declare class RightKeyManager extends BimComponent {
|
||||
* @param x 屏幕 X 坐标
|
||||
* @param y 屏幕 Y 坐标
|
||||
* @param items 菜单项列表
|
||||
* @param groupOrder 可<EFBFBD><EFBFBD>的分组顺序
|
||||
* @param groupOrder 可选的分组顺序
|
||||
*/
|
||||
showMenu(x: number, y: number, items: MenuItemConfig[], groupOrder?: string[]): void;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user