打包
This commit is contained in:
parent
3214ef1cc4
commit
2a2a4ce488
2
lib/core/GraphicStore.d.ts
vendored
2
lib/core/GraphicStore.d.ts
vendored
@ -52,6 +52,7 @@ export interface GraphicQueryStore {
|
|||||||
* @param type
|
* @param type
|
||||||
*/
|
*/
|
||||||
queryByCodeAndTypeAmbiguous<T extends JlGraphic>(code: string, type: string): T[];
|
queryByCodeAndTypeAmbiguous<T extends JlGraphic>(code: string, type: string): T[];
|
||||||
|
checkIdExist(v: number): boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 图形存储
|
* 图形存储
|
||||||
@ -87,4 +88,5 @@ export declare class GraphicStore implements GraphicQueryStore {
|
|||||||
* 清空
|
* 清空
|
||||||
*/
|
*/
|
||||||
clear(): void;
|
clear(): void;
|
||||||
|
checkIdExist(id: number): boolean;
|
||||||
}
|
}
|
||||||
|
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -1,4 +1,4 @@
|
|||||||
/// <reference path="../global.d.ts" />
|
/// <reference types="global" />
|
||||||
export * as GraphicsExtras from '@pixi/graphics-extras';
|
export * as GraphicsExtras from '@pixi/graphics-extras';
|
||||||
export * from './app';
|
export * from './app';
|
||||||
export * from './core';
|
export * from './core';
|
||||||
|
@ -4446,6 +4446,9 @@ class GraphicStore {
|
|||||||
this.relationManage.clear();
|
this.relationManage.clear();
|
||||||
this.store.clear();
|
this.store.clear();
|
||||||
}
|
}
|
||||||
|
checkIdExist(id) {
|
||||||
|
return this.store.has(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//基础图形对象扩展
|
//基础图形对象扩展
|
||||||
|
Loading…
Reference in New Issue
Block a user