This commit is contained in:
xiefan
2020-09-24 11:04:12 +08:00
commit b654ca8c7f
1633 changed files with 86830 additions and 0 deletions

18
types/UI/JsPlugin/Dialog.d.ts vendored Normal file
View File

@@ -0,0 +1,18 @@
export declare class Dialog {
m_root: HTMLElement;
m_caption: Element;
m_bMoveIng: boolean;
constructor(id: string);
registerResize(): void;
origin: any;
originLocation: any;
registerMove(): void;
dialogMouseMoveHandler: (e: MouseEvent) => void;
}
export declare class WinManager {
constructor();
moveHandler: any;
onMouseMove: (e: MouseEvent) => void;
onMouseDown: (e: MouseEvent) => void;
}
//# sourceMappingURL=Dialog.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/UI/JsPlugin/Dialog.ts"],"names":[],"mappings":"AAkBA,qBAAa,MAAM;IAEf,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IAEnB,UAAU,EAAE,OAAO,CAAS;gBAEhB,EAAE,EAAE,MAAM;IAiBtB,cAAc;IAuFd,MAAM,MAAC;IACP,cAAc,MAAC;IACf,YAAY;IAwBZ,sBAAsB,MAAO,UAAU,UAMrC;CACL;AAED,qBAAa,UAAU;;IASnB,WAAW,MAAa;IACxB,WAAW,MAAO,UAAU,UAM1B;IACF,WAAW,MAAO,UAAU,UAE1B;CACL"}

13
types/UI/JsPlugin/InputAutoSize.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/**
* 自适应input的输入框大小,请设置好样式,并加入到dom节点后在调用该函数,如果样式更新,请重新注册.
* @param element input元素
* @param [options]
* @returns
*/
export declare function AutoReSize(element: HTMLInputElement, options?: {
minWidth: number;
}): {
updateWidth: () => string;
removeEvent: () => void;
};
//# sourceMappingURL=InputAutoSize.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"InputAutoSize.d.ts","sourceRoot":"","sources":["../../../../../src/UI/JsPlugin/InputAutoSize.ts"],"names":[],"mappings":"AA+BA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE;IAAE,QAAQ,EAAE,MAAM,CAAC;CAAE;;;EAqEpF"}

23
types/UI/JsPlugin/SelectMarquee.d.ts vendored Normal file
View File

@@ -0,0 +1,23 @@
import { Vector2 } from "three";
import { SelectType } from "../../Editor/SelectBox";
import { Viewer } from "../../GraphicsSystem/Viewer";
export declare class SelectMarquee {
rightColor: string;
leftColor: string;
rightBorder: string;
leftBorder: string;
start: Vector2;
end: Vector2;
dom: HTMLElement;
width: number;
height: number;
viewer: Viewer;
selectType: SelectType;
constructor(view: Viewer);
Show(): void;
Hide(): void;
Update(): void;
SetStart(x: number, y: number): void;
SetEnd(x: number, y: number): void;
}
//# sourceMappingURL=SelectMarquee.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"SelectMarquee.d.ts","sourceRoot":"","sources":["../../../../../src/UI/JsPlugin/SelectMarquee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAGrD,qBAAa,aAAa;IAEtB,UAAU,SAA4B;IACtC,SAAS,SAA2B;IACpC,WAAW,SAAmC;IAC9C,UAAU,SAAkC;IAC5C,KAAK,EAAE,OAAO,CAAiB;IAC/B,GAAG,EAAE,OAAO,CAAiB;IAC7B,GAAG,EAAE,WAAW,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAmB;gBAE7B,IAAI,EAAE,MAAM;IAqBxB,IAAI;IAKJ,IAAI;IAKJ,MAAM;IA+BN,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAK7B,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;CAM9B"}

30
types/UI/JsPlugin/Symbol.d.ts vendored Normal file
View File

@@ -0,0 +1,30 @@
import './Symbol.css';
export declare class Symbol {
m_symbol: HTMLElement;
constructor(container: HTMLElement, type: string);
Destroy(): void;
}
export declare enum SymbolType {
Copy = "bp3-icon-duplicate",
Delete = "bp3-icon-trash",
Replace = "bp3-icon-swap-horizontal",
Overturn = "bp3-icon-exchange",
Collection = "bp3-icon-star-empty",
Info = "bp3-icon-info-sign",
UnCollection = "bp3-icon-star",
translate = "bp3-icon-move",
world = "bp3-icon-zoom-to-fit",
rotate = "bp3-icon-refresh",
local = "bp3-icon-exchange"
}
export declare class SymbolManage {
private m_symbolContainer;
private m_symbolList;
constructor();
get Container(): HTMLElement;
get SymbolList(): Symbol[];
AddSymbol(type: string): void;
setPosition(x: number, y: number): void;
Clear(): void;
}
//# sourceMappingURL=Symbol.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Symbol.d.ts","sourceRoot":"","sources":["../../../../../src/UI/JsPlugin/Symbol.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAGtB,qBAAa,MAAM;IAEf,QAAQ,EAAE,WAAW,CAAC;gBACV,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM;IAQhD,OAAO;CAIV;AAED,oBAAY,UAAU;IAElB,IAAI,uBAAuB;IAC3B,MAAM,mBAAmB;IACzB,OAAO,6BAA6B;IACpC,QAAQ,sBAAsB;IAC9B,UAAU,wBAAwB;IAClC,IAAI,uBAAuB;IAC3B,YAAY,kBAAkB;IAC9B,SAAS,kBAAkB;IAC3B,KAAK,yBAAyB;IAC9B,MAAM,qBAAqB;IAC3B,KAAK,sBAAsB;CAG9B;AACD,qBAAa,YAAY;IAErB,OAAO,CAAC,iBAAiB,CAAc;IACvC,OAAO,CAAC,YAAY,CAAgB;;IAWpC,IAAI,SAAS,gBAGZ;IACD,IAAI,UAAU,aAGb;IACD,SAAS,CAAC,IAAI,EAAE,MAAM;IAKtB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAKhC,KAAK;CAWR"}