初始化版本库,可用
This commit is contained in:
2
types/Common/ActiveElementWatch.d.ts
vendored
Normal file
2
types/Common/ActiveElementWatch.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function ActiveElementsWatch(): void;
|
||||
//# sourceMappingURL=ActiveElementWatch.d.ts.map
|
1
types/Common/ActiveElementWatch.d.ts.map
Normal file
1
types/Common/ActiveElementWatch.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ActiveElementWatch.d.ts","sourceRoot":"","sources":["../../../src/Common/ActiveElementWatch.ts"],"names":[],"mappings":"AACA,wBAAgB,mBAAmB,SAoClC"}
|
5
types/Common/AddEntityDrawObject.d.ts
vendored
Normal file
5
types/Common/AddEntityDrawObject.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Object3D } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { RenderType } from "../GraphicsSystem/RenderType";
|
||||
export declare function AddEntityDrawObject(obj: Object3D, embedEntity: Entity, renderType?: RenderType): void;
|
||||
//# sourceMappingURL=AddEntityDrawObject.d.ts.map
|
1
types/Common/AddEntityDrawObject.d.ts.map
Normal file
1
types/Common/AddEntityDrawObject.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AddEntityDrawObject.d.ts","sourceRoot":"","sources":["../../../src/Common/AddEntityDrawObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG1D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,GAAE,UAAiC,QAOpH"}
|
11
types/Common/AppCache.d.ts
vendored
Normal file
11
types/Common/AppCache.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
declare class Appcache {
|
||||
private _cacheMap;
|
||||
has(key: string): boolean;
|
||||
get(key: string): any | undefined;
|
||||
set<T>(key: string, value: T): void;
|
||||
clear(): void;
|
||||
delete(k: string): void;
|
||||
}
|
||||
export declare const appCache: Appcache;
|
||||
export {};
|
||||
//# sourceMappingURL=AppCache.d.ts.map
|
1
types/Common/AppCache.d.ts.map
Normal file
1
types/Common/AppCache.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppCache.d.ts","sourceRoot":"","sources":["../../../src/Common/AppCache.ts"],"names":[],"mappings":"AAEA,cAAM,QAAQ;IAEV,OAAO,CAAC,SAAS,CAA+B;IAChD,GAAG,CAAC,GAAG,EAAE,MAAM;IAIf,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,SAAS;IAcjC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAI5B,KAAK;IAIL,MAAM,CAAC,CAAC,EAAE,MAAM;CAInB;AAED,eAAO,MAAM,QAAQ,UAAiB,CAAC"}
|
44
types/Common/ArrayExt.d.ts
vendored
Normal file
44
types/Common/ArrayExt.d.ts
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* 删除数组中指定的元素,返回数组本身
|
||||
* @param {Array<any>} arr 需要操作的数组
|
||||
* @param {*} el 需要移除的元素
|
||||
*/
|
||||
export declare function arrayRemove<T>(arr: Array<T>, el: T): Array<T>;
|
||||
export declare function arrayRemoveOnce<T>(arr: Array<T>, el: T): Array<T>;
|
||||
/**
|
||||
* 删除通过函数校验的元素
|
||||
* @param {(e: T) => boolean} checkFuntion 校验函数
|
||||
*/
|
||||
export declare function arrayRemoveIf<T>(arr: Array<T>, checkFuntion: (e: T) => boolean): Array<T>;
|
||||
export declare function arrayFirst<T>(arr: Array<T>): T;
|
||||
export declare function arrayLast<T>(arr: {
|
||||
[key: number]: T;
|
||||
length: number;
|
||||
}): T;
|
||||
/**
|
||||
* 根据数值从小到大排序数组
|
||||
* @param {Array<T>} arr
|
||||
* @returns {Array<T>} 返回自身
|
||||
*/
|
||||
export declare function arraySortByNumber<T>(arr: Array<T>): Array<T>;
|
||||
/**
|
||||
* 对排序好的数组进行去重操作
|
||||
* @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数
|
||||
* @returns {Array<T>} 返回自身
|
||||
*/
|
||||
export declare function arrayRemoveDuplicateBySort<T>(arr: Array<T>, checkFuction?: (e1: T, e2: T) => boolean): Array<T>;
|
||||
export declare function arrayMap<T>(arr: Array<T>, mapFunc: (v: T) => T): Array<T>;
|
||||
declare function checkEqual(e1: any, e2: any): boolean;
|
||||
/**
|
||||
* 改变数组的值顺序
|
||||
* @param arr 需要改变初始值位置的数组
|
||||
* @param index //将index位置以后的值放到起始位置
|
||||
*/
|
||||
export declare function changeArrayStartIndex<T>(arr: T[], index: number): T[];
|
||||
export declare function equalArray<T>(a: T[], b: T[], checkF?: typeof checkEqual): boolean;
|
||||
export declare function arrayClone<T>(arr: T[]): T[];
|
||||
export declare function arrayPushArray<T>(arr1: T[], arr2: T[]): T[];
|
||||
export declare function arraySum(arr: number[]): number;
|
||||
export declare function FilterSet<T>(s: Set<T>, fn: (el: T) => boolean): Set<T>;
|
||||
export {};
|
||||
//# sourceMappingURL=ArrayExt.d.ts.map
|
1
types/Common/ArrayExt.d.ts.map
Normal file
1
types/Common/ArrayExt.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ArrayExt.d.ts","sourceRoot":"","sources":["../../../src/Common/ArrayExt.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAa7D;AAGD,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAA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,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,oBAAa,WAOhE;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAG3C;AAGD,wBAAgB,cAAc,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAS3D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,UAKrC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,OAAO,GAAG,GAAG,CAAC,CAAC,CAAC,CAStE"}
|
32
types/Common/BoardKeyList.d.ts
vendored
Normal file
32
types/Common/BoardKeyList.d.ts
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
/**统一板件属性key的命名,修改值会导致无法 .xxx该属性 */
|
||||
export declare enum EBoardKeyList {
|
||||
Height = "height",
|
||||
Width = "width",
|
||||
Thick = "thickness",
|
||||
RoomName = "roomName",
|
||||
CabinetName = "cabinetName",
|
||||
BrMat = "boardName",
|
||||
Mat = "material",
|
||||
Color = "color",
|
||||
Lines = "lines",
|
||||
ProcessGroup = "ProcessGroup",
|
||||
BigHole = "bigHoleDir",
|
||||
/**
|
||||
* 排钻类型,当没有定义每个边的排钻数据时,使用统一的排钻类型
|
||||
*/
|
||||
DrillType = "drillType",
|
||||
ComposingFace = "composingFace",
|
||||
/**
|
||||
* 封边数组,定义每个边的封边信息
|
||||
*/
|
||||
HighSealed = "highSealed",
|
||||
UpSealed = "sealedUp",
|
||||
DownSealed = "sealedDown",
|
||||
LeftSealed = "sealedLeft",
|
||||
RightSealed = "sealedRight",
|
||||
KnifeRad = "knifeRadius",
|
||||
SpliteHeight = "spliteHeight",
|
||||
SpliteWidth = "spliteWidth",
|
||||
SpliteThickness = "spliteThickness"
|
||||
}
|
||||
//# sourceMappingURL=BoardKeyList.d.ts.map
|
1
types/Common/BoardKeyList.d.ts.map
Normal file
1
types/Common/BoardKeyList.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoardKeyList.d.ts","sourceRoot":"","sources":["../../../src/Common/BoardKeyList.ts"],"names":[],"mappings":"AACA,mCAAmC;AACnC,oBAAY,aAAa;IAErB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,cAAc;IACnB,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,KAAK,cAAc;IACnB,GAAG,aAAa;IAChB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,YAAY,iBAAiB;IAC7B,OAAO,eAAe;IACtB;;OAEG;IACH,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B;;OAEG;IACH,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,WAAW,gBAAgB;IAC3B,QAAQ,gBAAgB;IACxB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;CACtC"}
|
7
types/Common/BoardUtil.d.ts
vendored
Normal file
7
types/Common/BoardUtil.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Matrix4, Vector3 } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { Box3Ext } from "../Geometry/Box";
|
||||
/**分析不同柜体 */
|
||||
export declare function ParseBoardList(borads: Entity[], ocsInv?: Matrix4): Map<Box3Ext, Entity[]>;
|
||||
export declare function MirrorEntitys(ens: Entity[], p1: Vector3, v: Vector3, nor: Vector3): void;
|
||||
//# sourceMappingURL=BoardUtil.d.ts.map
|
1
types/Common/BoardUtil.d.ts.map
Normal file
1
types/Common/BoardUtil.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BoardUtil.d.ts","sourceRoot":"","sources":["../../../src/Common/BoardUtil.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,YAAY;AACZ,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,OAAO,0BA2ChE;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,QAYjF"}
|
34
types/Common/CheckoutVaildValue.d.ts
vendored
Normal file
34
types/Common/CheckoutVaildValue.d.ts
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
export declare enum CheckObjectType {
|
||||
BR = "board",
|
||||
DR = "drill",
|
||||
AR = "array",
|
||||
Do = "door",
|
||||
RC = "referenceCutting",
|
||||
WR = "winerack",
|
||||
Lat = "lattice",
|
||||
RLB = "rotateLayerBoard",
|
||||
BBC = "boardbatchcurtail",
|
||||
BBS = "lookoverboardinfos",
|
||||
R2B = "rec2br",
|
||||
OnlyNumber = "onlyNum",
|
||||
None = "none",
|
||||
SmoothEdge = "smoothEdge",
|
||||
/**大于0的数字 */
|
||||
GT0Num = "gt0num"
|
||||
}
|
||||
export declare namespace CheckoutValid {
|
||||
function HasInvailValue(obj: Object, objType: CheckObjectType): boolean;
|
||||
function CheckOption(type: CheckObjectType, k: string, v: string): string;
|
||||
function CheckoutBoardOption(k: string, v: string): string;
|
||||
function CheckoutDrillOption(k: string, v: string | boolean): string;
|
||||
function CheckoutRec2BrOption(k: string, v: string): string;
|
||||
function CheckoutArrayOption(k: string, v: string): string;
|
||||
function CheckoutDoorOption(k: string, v: string): string;
|
||||
function CheckoutRotateLayerBoardOption(k: string, v: string): string;
|
||||
function CheckBoardBatchCurtail(k: string, v: string): string;
|
||||
function CheckLookOverBoardInfos(k: string, v: string): string;
|
||||
function CheckOutReferenceCuttingOption(k: string, v: string): string;
|
||||
function CheckoutWineRackOption(k: string, v: string): string;
|
||||
function CheckoutLatticeOption(k: string, v: string): string;
|
||||
}
|
||||
//# sourceMappingURL=CheckoutVaildValue.d.ts.map
|
1
types/Common/CheckoutVaildValue.d.ts.map
Normal file
1
types/Common/CheckoutVaildValue.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CheckoutVaildValue.d.ts","sourceRoot":"","sources":["../../../src/Common/CheckoutVaildValue.ts"],"names":[],"mappings":"AAIA,oBAAY,eAAe;IAEvB,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,UAAU;IACZ,EAAE,SAAS;IACX,EAAE,qBAAqB;IACvB,EAAE,aAAa;IACf,GAAG,YAAY;IACf,GAAG,qBAAqB;IACxB,GAAG,sBAAsB;IACzB,GAAG,uBAAuB;IAC1B,GAAG,WAAW;IACd,UAAU,YAAY;IACtB,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,YAAY;IACZ,MAAM,WAAW;CACpB;AAED,yBAAiB,aAAa,CAC9B;IACI,SAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,WAmDnE;IACD,SAAgB,WAAW,CAAC,IAAI,EAAE,eAAe,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UA6CtE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAmFhE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAmE1E;IACD,SAAgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAoDjE;IACD,SAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAsChE;IACD,SAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CA2D/D;IACD,SAAgB,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAgB3E;IACD,SAAgB,sBAAsB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAanE;IACD,SAAgB,uBAAuB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBpE;IACD,SAAgB,8BAA8B,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAU3E;IACD,SAAgB,sBAAsB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CA+BnE;IACD,SAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CA4BlE;CACJ"}
|
28
types/Common/ColorPalette.d.ts
vendored
Normal file
28
types/Common/ColorPalette.d.ts
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import { Color, LineBasicMaterial, LineDashedMaterial, MeshBasicMaterial, ShaderMaterial } from 'three';
|
||||
import { LineMaterial } from 'three/examples/jsm/lines/LineMaterial';
|
||||
export declare const LINE_WIDTH = 2;
|
||||
export declare class ColorMaterial {
|
||||
private constructor();
|
||||
private static _LineMaterialMap;
|
||||
private static _BasicMaterialMap;
|
||||
static GetLineMaterial(color: number): LineBasicMaterial;
|
||||
static GetBasicMaterial(color: number): MeshBasicMaterial;
|
||||
private static _BasicDoubleSideMaterialMap;
|
||||
static GetBasicMaterialDoubleSide(color: number): MeshBasicMaterial;
|
||||
private static _ConceptualMaterial;
|
||||
static GetConceptualMaterial(color: number): ShaderMaterial;
|
||||
private static _printConceptualMaterial;
|
||||
static GetPrintConceptualMaterial(): ShaderMaterial;
|
||||
private static _BasicTransparentMaterialMap;
|
||||
static GetBasicMaterialTransparent(color: number, opacity: number): MeshBasicMaterial;
|
||||
private static _BasicTransparentMaterialMap2;
|
||||
static GetBasicMaterialTransparent2(color: number, opacity: number): MeshBasicMaterial;
|
||||
static GetColor(color: number): Color;
|
||||
static RubberBandMaterial: LineDashedMaterial;
|
||||
static SnapAxisMaterial: LineDashedMaterial;
|
||||
static PrintLineMatrial: LineMaterial;
|
||||
static GrayTransparentMeshMaterial: MeshBasicMaterial;
|
||||
static TransparentMeshMaterial: MeshBasicMaterial;
|
||||
static TransparentLineMaterial: MeshBasicMaterial;
|
||||
}
|
||||
//# sourceMappingURL=ColorPalette.d.ts.map
|
1
types/Common/ColorPalette.d.ts.map
Normal file
1
types/Common/ColorPalette.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ColorPalette.d.ts","sourceRoot":"","sources":["../../../src/Common/ColorPalette.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAc,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAoB,MAAM,OAAO,CAAC;AAEtI,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AA2QrE,eAAO,MAAM,UAAU,IAAI,CAAC;AAG5B,qBAAa,aAAa;IAEtB,OAAO;IACP,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAwC;IACvE,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAwC;IACxE,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IASxD,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IASzD,OAAO,CAAC,MAAM,CAAC,2BAA2B,CAAwC;IAClF,MAAM,CAAC,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,iBAAiB;IASnE,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAA0C;IAC5E,MAAM,CAAC,qBAAqB,CAAC,KAAK,EAAE,MAAM;IAY1C,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAiB;IACxD,MAAM,CAAC,0BAA0B;IAkBjC,OAAO,CAAC,MAAM,CAAC,4BAA4B,CAA6C;IACxF,MAAM,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAUjE,OAAO,CAAC,MAAM,CAAC,6BAA6B,CAA6C;IACzF,MAAM,CAAC,4BAA4B,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAUlE,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM;IAW7B,MAAM,CAAC,kBAAkB,qBAItB;IAGH,MAAM,CAAC,gBAAgB,qBAIpB;IACH,MAAM,CAAC,gBAAgB,eAKpB;IACH,MAAM,CAAC,2BAA2B,oBAI/B;IACH,MAAM,CAAC,uBAAuB,oBAG3B;IACH,MAAM,CAAC,uBAAuB,oBAG3B;CACN"}
|
196
types/Common/CommandNames.d.ts
vendored
Normal file
196
types/Common/CommandNames.d.ts
vendored
Normal file
@@ -0,0 +1,196 @@
|
||||
export declare enum CommandNames {
|
||||
Puge = "PUGE",
|
||||
KJLExport = "KJLEXPORT",
|
||||
Group = "GROUP",
|
||||
DXFImport = "DXF",
|
||||
Insert = "INSERT",
|
||||
Line = "LINE",
|
||||
XLine = "XLINE",
|
||||
Undo = "UNDO",
|
||||
Redo = "REDO",
|
||||
RECTANG = "RECTANG",
|
||||
Circle = "CIRCLE",
|
||||
Ellipse = "ELLIPSE",
|
||||
Spline = "SPLINE",
|
||||
Polyline = "POLYLINE",
|
||||
Arc = "ARC",
|
||||
Reg = "REGION",
|
||||
Scale = "SCALE",
|
||||
Convert2Polyline = "CONVERT2POLYLINE",
|
||||
Move = "MOVE",
|
||||
Rotate = "ROTATE",
|
||||
RotateRefer = "ROTATEREFER",
|
||||
Revolve = "REVOLVE",
|
||||
Sphere = "Sphere",
|
||||
SpliteTemplate = "SPLITETEMPLATE",
|
||||
SwitchCamera = "SWITCHCAMERA",
|
||||
Erase = "ERASE",
|
||||
Break = "BREAK",
|
||||
Stretch = "STRETCH",
|
||||
SelectStretch = "SELECTSTRETCH",
|
||||
FS = "TOPVIEW",
|
||||
QS = "FRONTVIEW",
|
||||
YS = "RIGHTVIEW",
|
||||
ZS = "LEFTVIEW",
|
||||
BackView = "BACKVIEW",
|
||||
BottomView = "BOTTOMVIEW",
|
||||
Swiso = "SWISO",
|
||||
HideSelect = "HIDESELECT",
|
||||
HideUnSelect = "HIDEUNSELECT",
|
||||
Show = "SHOW",
|
||||
Save = "SAVE",
|
||||
SaveAs = "SAVEAS",
|
||||
New = "NEW",
|
||||
Open = "OPEN",
|
||||
CustomUCS = "UCS",
|
||||
Copy = "COPY",
|
||||
Reverse = "REVERSE",
|
||||
Extend = "EXTEND",
|
||||
Trim = "TRIM",
|
||||
Fillet = "FILLET",
|
||||
Offset = "OFFSET",
|
||||
PointLight = "POINTLIGHT",
|
||||
PointLight2 = "POINTLIGHT2",
|
||||
SpotLight = "SPOTLIGHT",
|
||||
SpotLight2 = "SPOTLIGHT2",
|
||||
RectLight = "RECTLIGHT",
|
||||
Divide = "DIVIDE",
|
||||
Point = "POINT",
|
||||
AlignDim = "ALGINDIMEN",
|
||||
LinearDim = "LINEARDIMEN",
|
||||
AngleDim = "ANGLEDIM",
|
||||
DimContinue = "CONTINUEDIM",
|
||||
RadiusDim = "RADIUSDIM",
|
||||
DiaDim = "DIAMETERDIMEN",
|
||||
Text = "TEXT",
|
||||
Intersect = "INTERSECT",
|
||||
Union = "UNION",
|
||||
Substract = "SUBSTRACT",
|
||||
Pedit = "PEDIT",
|
||||
Join = "JOIN",
|
||||
Sweep = "SWEEP",
|
||||
Cylineder = "CYLINEDER",
|
||||
LRBoard = "LEFTRIGHTBOARD",
|
||||
TBBoard = "TOPBOTTOMBOARD",
|
||||
BehindBoard = "BEHINDBOARD",
|
||||
LayerBoard = "LAYERBOARD",
|
||||
VertialBoard = "VERTIALBOARD",
|
||||
SingleBoard = "SINGLEBOARD",
|
||||
CloseStrip = "CLOSESTRIP",
|
||||
Door = "DOOR",
|
||||
DrillConfig = "DRILLCONFIG",
|
||||
Hole = "DRAWHOLE",
|
||||
YiXing = "YIXING",
|
||||
YXLK = "YIXINGCONTOUR",
|
||||
LinearCutting = "LINEARCUTTING",
|
||||
NonAssociativeCutting = "NONASSOCIATIVECUTTING",
|
||||
ReferenceCutting = "REFERENCECUTTING",
|
||||
AddPtOnBoard = "ADDPTONBOARD",
|
||||
DeletePtOnBoard = "DELETEPTONBOARD",
|
||||
BoardFindModify = "BOARDFINDMODIFY",
|
||||
LookOverBoardInfos = "LOOKOVERBOARDINFOS",
|
||||
BoardBatchCurtail = "BOARDBATCHCURTAIL",
|
||||
AutoDimBrs = "AUTODIMBRS",
|
||||
FastDimBrs = "FASTDIMBRS",
|
||||
DeleteDim = "DELETEDIM",
|
||||
RotateLayerBoard = "ROTATELAYERBOARD",
|
||||
Drawer = "DRAWER",
|
||||
DeleteHole = "DELETEHOLE",
|
||||
ReverseDrillFace = "REVERSEDRILLFACE",
|
||||
ActicityLayerBoard = "ACTICITYLAYERBOARD",
|
||||
TestFb = "TESTFENGBIAN",
|
||||
TestModeling = "TESTMODELING",
|
||||
Mirror = "MIRROR",
|
||||
Topline = "TOPLINE",
|
||||
Winerack = "WINERACK",
|
||||
Lattice = "LATTICE",
|
||||
Array = "ARRAY",
|
||||
ComanPanel = "COMMANDPANEL",
|
||||
Config = "CONFIG",
|
||||
Esc = "ESC",
|
||||
Wireframe = "WIREFRAME",
|
||||
Conceptual = "CONCEPTUAL",
|
||||
Physical = "PHYSICAL",
|
||||
Physical2 = "PHYSICAL2",
|
||||
PrintType = "PRINTTYPE",
|
||||
DownloadHoleOption = "DOWNHOLECONFIG",
|
||||
UploadHoleConfig = "UPLOADHOLECONFIG",
|
||||
ChaiDan = "CHAIDAN",
|
||||
ChaiDanJB = "CHAIDANJIABEI",
|
||||
ShowYouhua = "SHOWYOUHUA",
|
||||
Decompose = "DECOMPOSE",
|
||||
BatchModify = "BATCHMODIFY",
|
||||
AutoHoleFaceSetting = "AUTOHOLEFACESETTING",
|
||||
Combine = "COMBINE",
|
||||
Template = "TEMPLATE",
|
||||
TemplateDesign = "TEMPLATEDESIGN",
|
||||
TemplateSearch = "TEMPLATESEARCH",
|
||||
TemplateDelete = "TEMPLATEDELETE",
|
||||
TemplateCheck = "TEMPLATECHECK",
|
||||
RotateTemplate = "ROTATETEMP",
|
||||
Print = "PRINT",
|
||||
Extrude = "EXTRUDE",
|
||||
HoleTemplate = "HOLETEMPLATE",
|
||||
CheckModeling = "CHECKMODELING",
|
||||
ExportData = "EXPORTDATA",
|
||||
ExportView = "EXPORTVIEW",
|
||||
EnableSyncData = "ENABLESYNCDATA",
|
||||
DisableSyncData = "DISABLESYNCDATA",
|
||||
ToggleSyncData = "TOGGLESYNCDATA",
|
||||
ShowProcessingGroupModal2 = "SHOWPROCESSINGGROUPMODAL2",
|
||||
DrawVSBOX = "DRAWVSBOX",
|
||||
Align = "ALIGN",
|
||||
BuyMaterial = "BUYMATERIAL",
|
||||
Interfere = "INTERFERE",
|
||||
ShowDoor = "SHOWDOOR",
|
||||
HideDoor = "HIDEDOOR",
|
||||
Curve2Rect = "CURVE2RECT",
|
||||
Pl2Br = "RECT2BOARD",
|
||||
Curve2VSBox = "CURVE2VSBOX",
|
||||
SetSmoothEdge = "SETSMOOTHEDGE",
|
||||
ClearRef = "CLEARRELEVANCE",
|
||||
ExportObj = "EXPORTOBJ",
|
||||
ExportObj2 = "EXPORTOBJ2",
|
||||
ExportSTL = "EXPORTSTL",
|
||||
UpdateBoardInfos = "UPDATEBOARDINFOS",
|
||||
ToggleUI = "TOGGLEUI",
|
||||
BoardReplaceTempate = "BOARDREPLACETEMPLATE",
|
||||
Dist = "DIST",
|
||||
Explode = "EXPLODE",
|
||||
Explosion = "EXPLOSIONMAP",
|
||||
CopyClip = "COPYCLIP",
|
||||
PasteClip = "PASTECLIP",
|
||||
Text2Curve = "TEXT2CURVE",
|
||||
R2b = "RECT2BOARD",
|
||||
RecyleBin = "RECYCLEBIN",
|
||||
ChangeColorByMaterial = "CHANGECOLORBYMATERIAL",
|
||||
RestoreColor = "RESTORECOLOR",
|
||||
SelectAll = "SELECTALL",
|
||||
CheckHoles = "CHECKHOLES",
|
||||
CombinatAttributeBrush = "COMBINATATTRIBUTEBRUSH",
|
||||
Rect2Winerack = "RECT2WINERACK",
|
||||
MView = "MVIEW",
|
||||
MView4 = "MVIEW4",
|
||||
MView2 = "MVIEW2",
|
||||
MView3 = "MVIEW3",
|
||||
ShowFrame = "SHOWFRAME",
|
||||
UnGroup = "UNGROUP",
|
||||
OneKeyLayout = "ONEKEYLAYOUT",
|
||||
SwitchLines = "SWITCHLINES",
|
||||
OneKeyPrint = "ONEKEYPRINT",
|
||||
SetHoleNoneType = "SETHOLENONETYPE",
|
||||
FindMaxSizeBoard = "FINDMAXSIZEBOARDS",
|
||||
FindMinSizeBoard = "FINDMINSIZEBOARDS",
|
||||
CheckNoHoleBoard = "CHECKNOHOLEBOARD",
|
||||
CheckDrawHole = "CHECKDRAWHOLE",
|
||||
FindModelKnifeRadius = "FINDMODELKNIFERADIUS",
|
||||
EditorBBS = "EDITORBBS",
|
||||
CuttingFace = "CUTTINGFACE",
|
||||
DrawTempByImport = "DRAWTEMPBYIMPORT",
|
||||
CheckEdge = "CHECKEDGE",
|
||||
Knife = "KNIFES",
|
||||
R2B2 = "RECT2BOARD2",
|
||||
FixIntSelfContour = "FIXINTSELFCONTOUR",
|
||||
ParseHinge = "PARSEHINGE"
|
||||
}
|
||||
//# sourceMappingURL=CommandNames.d.ts.map
|
1
types/Common/CommandNames.d.ts.map
Normal file
1
types/Common/CommandNames.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommandNames.d.ts","sourceRoot":"","sources":["../../../src/Common/CommandNames.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IAEpB,IAAI,SAAS;IACb,SAAS,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AU,eAAe;CAC5B"}
|
15
types/Common/CommonSelectOption.d.ts
vendored
Normal file
15
types/Common/CommonSelectOption.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { ComposingType, LinesType, FaceDirection } from "../UI/Store/BoardInterface";
|
||||
/**排版面选择项 */
|
||||
export declare const ComposingFaceSelectOption: {
|
||||
label: string;
|
||||
value: ComposingType;
|
||||
}[];
|
||||
export declare const LineTypeSelectOption: {
|
||||
label: string;
|
||||
value: LinesType;
|
||||
}[];
|
||||
export declare const BigFaceSelectOption: {
|
||||
label: string;
|
||||
value: FaceDirection;
|
||||
}[];
|
||||
//# sourceMappingURL=CommonSelectOption.d.ts.map
|
1
types/Common/CommonSelectOption.d.ts.map
Normal file
1
types/Common/CommonSelectOption.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CommonSelectOption.d.ts","sourceRoot":"","sources":["../../../src/Common/CommonSelectOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAErF,YAAY;AACZ,eAAO,MAAM,yBAAyB;;;GAarC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;GAIhC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;GAEc,CAAC"}
|
63
types/Common/CurveUtils.d.ts
vendored
Normal file
63
types/Common/CurveUtils.d.ts
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
import { Box3, Matrix3, Matrix4, Vec2, Vector2, Vector3 } from 'three';
|
||||
import { Arc } from '../DatabaseServices/Entity/Arc';
|
||||
import { Circle } from '../DatabaseServices/Entity/Circle';
|
||||
import { Curve } from '../DatabaseServices/Entity/Curve';
|
||||
import { Ellipse } from '../DatabaseServices/Entity/Ellipse';
|
||||
import { Line } from '../DatabaseServices/Entity/Line';
|
||||
import { Polyline } from '../DatabaseServices/Entity/Polyline';
|
||||
import { Vec3 } from '../Geometry/IVec3';
|
||||
import { IntersectResult } from '../GraphicsSystem/IntersectWith';
|
||||
export declare function getCircleCenter(pt1: Vector3, pt2: Vector3, pt3: Vector3): Vector3;
|
||||
export declare function getCirAngleByChordAndTangent(chord: Vector3, tangentLine: Vector3): number;
|
||||
export declare function getDeterminantFor2V(v1: Vector2, v2: Vector2): number;
|
||||
export declare function getDeterminantFor3V(v1: Vector3, v2: Vector3, v3: Vector3): number;
|
||||
/**
|
||||
* 曲线根据连接来分组,每组都是一条首尾相连的曲线表.
|
||||
*
|
||||
* @export
|
||||
* @param {Curve[]} cus 传入的分组的曲线表
|
||||
* @returns {Array<Array<Curve>>} 返回如下
|
||||
* [
|
||||
* [c1,c2,c3...],//后面的曲线的起点总是等于上一个曲线的终点
|
||||
* [c1,c2,c3...],
|
||||
* ]
|
||||
*/
|
||||
export declare function curveLinkGroup(cus: Curve[]): Array<Array<Curve>>;
|
||||
export declare function equalCurve(cu1: Curve, cu2: Curve, tolerance?: number): boolean;
|
||||
/**
|
||||
* 计算点在曲线前进方向的方位,左边或者右边
|
||||
*
|
||||
* @param {Curve} cu
|
||||
* @param {Vector3} pt
|
||||
* @returns {boolean} 左边为-1,右边为1
|
||||
*/
|
||||
export declare function GetPointAtCurveDir(cu: Curve, pt: Vector3): number;
|
||||
export declare function ConverCircleToPolyline(cir: Circle): Polyline;
|
||||
export declare function GetTanPtsOnArcOrCircle(cu: Arc | Circle, lastPoint?: Vector3): Vector3[];
|
||||
export declare function CircleInternalTangentLines(cir0: Circle, cir1: Circle): Line[];
|
||||
export declare function CircleOuterTangentLines(circle0: Circle, circle1: Circle): Line[];
|
||||
export declare function getArcOrCirNearPts(cu: Circle | Arc | Ellipse, pickPoint: Vector3, viewXform: Matrix3): Vector3[];
|
||||
export declare function getTanPtsOnEllipse(cu: Ellipse, lastPoint: Vector3): any[];
|
||||
export interface IRectInfo {
|
||||
isRect: boolean;
|
||||
size?: Vector3;
|
||||
box?: Box3;
|
||||
OCS?: Matrix4;
|
||||
}
|
||||
export declare function IsRect(cu: Curve): IRectInfo;
|
||||
/**用4个矩形点构造矩形 */
|
||||
export declare function getRectFrom4Pts(pts: Vector3[]): Polyline;
|
||||
export declare function MergeCurvelist(cus: Curve[]): Curve[];
|
||||
export declare function SwapParam(res: IntersectResult[]): IntersectResult[];
|
||||
export declare function ComputerCurvesNormalOCS(curves: Curve[], allowAutoCalc?: boolean): Matrix4 | undefined;
|
||||
export declare function Pts2Polyline(pts: (Vec3 | Vec2)[], isClose: boolean): Polyline;
|
||||
/**获取矩形信息 */
|
||||
export declare function GetRectData(cu: Curve): {
|
||||
isRect: boolean;
|
||||
size?: Vector3;
|
||||
box?: Box3;
|
||||
OCS?: Matrix4;
|
||||
};
|
||||
/**封闭多段线 分割成矩形 */
|
||||
export declare function PolylineSpliteRect(outline: Polyline): Polyline[];
|
||||
//# sourceMappingURL=CurveUtils.d.ts.map
|
1
types/Common/CurveUtils.d.ts.map
Normal file
1
types/Common/CurveUtils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"CurveUtils.d.ts","sourceRoot":"","sources":["../../../src/Common/CurveUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAS,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAK/D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAmB,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAOnF,wBAAgB,eAA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SAGjE;AAED,MAAM,WAAW,SAAS;IAEtB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,GAAG,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EAAE,EAAE,KAAK,GAAG,SAAS,CA4C3C;AAED,gBAAgB;AAChB,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,YAgB7C;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,KAAK,EAAE,WAwB1C;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE,CAKnE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,aAAa,GAAE,OAAc,GAAG,OAAO,GAAG,SAAS,CAwD3G;AAGD,wBAAgB,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,GAAG,QAAQ,CA+B7E;AAED,YAAY;AACZ,wBAAgB,WAAW,CAAC,EAAE,EAAE,KAAK,GAAG;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;CAAE,CA8GtG;AAGD,iBAAiB;AACjB,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,QAAQ,GAAG,QAAQ,EAAE,CA6EhE"}
|
5
types/Common/DataAdapter.d.ts
vendored
Normal file
5
types/Common/DataAdapter.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { IUiOption } from "../UI/Store/BoardInterface";
|
||||
export declare class DataAdapter {
|
||||
static ConvertUIData<T extends Object>(obj: T, isobser?: boolean): IUiOption<T>;
|
||||
}
|
||||
//# sourceMappingURL=DataAdapter.d.ts.map
|
1
types/Common/DataAdapter.d.ts.map
Normal file
1
types/Common/DataAdapter.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"DataAdapter.d.ts","sourceRoot":"","sources":["../../../src/Common/DataAdapter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEvD,qBAAa,WAAW;IAEpB,MAAM,CAAC,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,GAAE,OAAc,GAAG,SAAS,CAAC,CAAC,CAAC;CAiBxF"}
|
3
types/Common/Deving.d.ts
vendored
Normal file
3
types/Common/Deving.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare function IsDev(): boolean;
|
||||
export declare function IsTest(): boolean;
|
||||
//# sourceMappingURL=Deving.d.ts.map
|
1
types/Common/Deving.d.ts.map
Normal file
1
types/Common/Deving.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Deving.d.ts","sourceRoot":"","sources":["../../../src/Common/Deving.ts"],"names":[],"mappings":"AACA,wBAAgB,KAAK,YAGpB;AAED,wBAAgB,MAAM,YAGrB"}
|
7
types/Common/Dispose.d.ts
vendored
Normal file
7
types/Common/Dispose.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Object3D } from "three";
|
||||
/**
|
||||
* 销毁Object对象的Geometry,并不会销毁材质(新版本销毁材质,好像问题不大?)
|
||||
*/
|
||||
export declare function DisposeThreeObj(obj: Object3D): Object3D;
|
||||
export declare function Object3DRemoveAll(obj: Object3D): Object3D;
|
||||
//# sourceMappingURL=Dispose.d.ts.map
|
1
types/Common/Dispose.d.ts.map
Normal file
1
types/Common/Dispose.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Dispose.d.ts","sourceRoot":"","sources":["../../../src/Common/Dispose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC;;GAEG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,QAAQ,YA6B5C;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,QAAQ,YAS9C"}
|
5
types/Common/ErrorMonitoring.d.ts
vendored
Normal file
5
types/Common/ErrorMonitoring.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export declare class ErrorMonitoring {
|
||||
constructor();
|
||||
}
|
||||
export declare function ReportError(stack: any, msg?: string): Promise<void>;
|
||||
//# sourceMappingURL=ErrorMonitoring.d.ts.map
|
1
types/Common/ErrorMonitoring.d.ts.map
Normal file
1
types/Common/ErrorMonitoring.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ErrorMonitoring.d.ts","sourceRoot":"","sources":["../../../src/Common/ErrorMonitoring.ts"],"names":[],"mappings":"AAkBA,qBAAa,eAAe;;CAa3B;AAID,wBAAsB,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,GAAE,MAAkB,iBA2CpE"}
|
176
types/Common/FileSystem.d.ts
vendored
Normal file
176
types/Common/FileSystem.d.ts
vendored
Normal file
@@ -0,0 +1,176 @@
|
||||
export declare function ReadFileAsArrayBuffer(file: File): Promise<ArrayBuffer | undefined>;
|
||||
/**
|
||||
* FileSystem is used to read and write files using nunuStudio.
|
||||
*
|
||||
* Some operations are platform specific and might not work everywhere.
|
||||
*/
|
||||
export declare class FileSystem {
|
||||
static fs: any;
|
||||
/**
|
||||
* Read file content as text.
|
||||
*
|
||||
* @method readFile
|
||||
* @param {String} fname URL to the file.
|
||||
* @param {boolean} sync If true the file will be read in sync.
|
||||
* @param {Function} onLoad onLoad callback.
|
||||
* @param {Function} onProgress onProgress callback.
|
||||
* @return {String} File content as a string, null if reading async.
|
||||
*/
|
||||
static readFile: (fname: any, sync: any, onLoad: any, onProgress: any) => any;
|
||||
/**
|
||||
* Read file as arraybuffer data.
|
||||
*
|
||||
* @method readFileArrayBuffer
|
||||
* @param {String} fname Name of the file
|
||||
* @param {boolean} sync If true the file will be read in sync.
|
||||
* @param {Function} onLoad onLoad callback.
|
||||
* @param {Function} onProgress onProgress callback.
|
||||
* @return {ArrayBuffer} File data as array buffer, null on error
|
||||
*/
|
||||
static readFileArrayBuffer: (fname: any, sync?: any, onLoad?: any, onProgress?: any) => ArrayBuffer;
|
||||
/**
|
||||
* Read file as base64 data.
|
||||
*
|
||||
* @method readFileBase64
|
||||
* @param {String} fname Name of the file
|
||||
* @param {boolean} sync If true the file will be read in sync.
|
||||
* @param {Function} onLoad onLoad callback.
|
||||
* @param {Function} onProgress onProgress callback.
|
||||
* @return {String} File data in base64, null on error
|
||||
*/
|
||||
static readFileBase64: (fname: any, sync?: any, onLoad?: any, onProgress?: any) => string;
|
||||
static ReadFileAsText(file: File): Promise<string>;
|
||||
/**
|
||||
* Write text file.
|
||||
* When running without NWJS it writes file as a blob and auto downloads it.
|
||||
*
|
||||
* @method writeFile
|
||||
* @param {String} fname File name.
|
||||
* @param {String} data Text to be written to the file.
|
||||
*/
|
||||
static WriteFile(fname: string, data: BlobPart): void;
|
||||
/**
|
||||
* Write binary file using base64 data.
|
||||
*
|
||||
* @method writeFileBase64
|
||||
* @param {String} fname
|
||||
* @param {String} data
|
||||
*/
|
||||
static writeFileBase64: (fname: any, data: any) => void;
|
||||
/**
|
||||
* Write binary file using arraybuffer data.
|
||||
*
|
||||
* @method writeFileArrayBuffer
|
||||
* @param {String} fname
|
||||
* @param {String} data
|
||||
*/
|
||||
static writeFileArrayBuffer(fname: any, data: any): void;
|
||||
static chooserInput: HTMLInputElement;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
static ChooseFile({ filter, multiple, callback }: {
|
||||
filter?: string;
|
||||
multiple?: boolean;
|
||||
callback: (filelist: FileList) => void;
|
||||
}): void;
|
||||
/**
|
||||
* Used as an alternative to chooseFile for saving files in the browser.
|
||||
*
|
||||
* Uses a prompt to question the user the file name.
|
||||
*
|
||||
* @method chooseFileName
|
||||
* @param {Function} onLoad onLoad callback
|
||||
* @param {String} saveas File extension
|
||||
*/
|
||||
static chooseFileName: (onLoad: any, saveas: any, name: any) => void;
|
||||
/**
|
||||
* Copy file (cannot be used to copy folders).
|
||||
*
|
||||
* Only works when running inside NWJS.
|
||||
*
|
||||
* @method copyFile
|
||||
* @param {String} src
|
||||
* @param {String} dst
|
||||
*/
|
||||
static copyFile: (src: any, dst: any) => void;
|
||||
/**
|
||||
* Make a directory (dont trow exeption if directory already exists).
|
||||
*
|
||||
* Only works when running inside NWJS.
|
||||
*
|
||||
* @method makeDirectory
|
||||
* @param {String} dir
|
||||
*/
|
||||
static makeDirectory: (dir: any) => void;
|
||||
/**
|
||||
* Returns files in directory (returns empty array in case of error).
|
||||
*
|
||||
* Only works when running inside NWJS.
|
||||
*
|
||||
* @method getFilesDirectory
|
||||
* @return {Array} Files in the directory
|
||||
*/
|
||||
static getFilesDirectory: (dir: any) => any;
|
||||
/**
|
||||
* Copy folder and all its files (includes symbolic links).
|
||||
*
|
||||
* Only works when running inside NWJS.
|
||||
*
|
||||
* @method copyFolder
|
||||
* @param {String} src
|
||||
* @param {String} dst
|
||||
*/
|
||||
static copyFolder: (src: any, dst: any) => void;
|
||||
/**
|
||||
* Check if a file exists.
|
||||
*
|
||||
* Only works inside of NWJS. When running inside the browser always returns false.
|
||||
*
|
||||
* @method fileExists
|
||||
* @param {String} file File path
|
||||
* @return {boolean} True is file exists
|
||||
*/
|
||||
static fileExists: (file: any) => any;
|
||||
/**
|
||||
* Get file name without extension from file path string.
|
||||
*
|
||||
* If input is a/b/c/abc.d output is abc.
|
||||
*
|
||||
* @method getFileName
|
||||
* @param {String} file File path
|
||||
* @return {String} File name without path and extension
|
||||
*/
|
||||
static getFileName: (file: any) => any;
|
||||
/**
|
||||
* Get file name without extension.
|
||||
*
|
||||
* If input is a/b/c/abc.d output is a/b/c/abc.
|
||||
*
|
||||
* @method getNameWithoutExtension
|
||||
* @param {String} file File path
|
||||
* @return {String}
|
||||
*/
|
||||
static getNameWithoutExtension: (file: any) => any;
|
||||
/**
|
||||
* Get file directoty.
|
||||
*
|
||||
* If input is a/b/c/abc.d output is a/b/c/
|
||||
*
|
||||
* @method getFilePath
|
||||
* @param {String} file File path
|
||||
* @return {String}
|
||||
*/
|
||||
static getFilePath: (file: any) => any;
|
||||
/**
|
||||
* Get file extension from file path string (always in lowercase).
|
||||
*
|
||||
* If input is a/b/c/abc.d output is d.
|
||||
*
|
||||
* @method getFileExtension
|
||||
* @param {String} file File path
|
||||
* @return {String}
|
||||
*/
|
||||
static getFileExtension: (file: any) => any;
|
||||
}
|
||||
//# sourceMappingURL=FileSystem.d.ts.map
|
1
types/Common/FileSystem.d.ts.map
Normal file
1
types/Common/FileSystem.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"FileSystem.d.ts","sourceRoot":"","sources":["../../../src/Common/FileSystem.ts"],"names":[],"mappings":"AAIA,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CASxF;AAED;;;;GAIG;AACH,qBAAa,UAAU;IAEnB,MAAM,CAAC,EAAE,MAAC;IACV;;;;;;;;;MASE;IACF,MAAM,CAAC,QAAQ,+DA6Db;IAEF;;;;;;;;;OASG;IACH,MAAM,CAAC,mBAAmB,0EAyExB;IAEF;;;;;;;;;OASG;IACH,MAAM,CAAC,cAAc,qEAuDnB;WAEW,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;IAWxD;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ;IA0B9C;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,kCA2BpB;IAEF;;;;;;OAMG;IACH,MAAM,CAAC,oBAAoB,CAAC,KAAK,KAAA,EAAE,IAAI,KAAA;IA2BvC,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC;IACtC;;OAEG;IACH,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,QAAgB,EAAE,QAAQ,EAAE,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;KAAE;IAoB1I;;;;;;;;OAQG;IACH,MAAM,CAAC,cAAc,gDAgBnB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,QAAQ,+BASb;IAEF;;;;;;;OAOG;IACH,MAAM,CAAC,aAAa,qBAOlB;IAEF;;;;;;;OAOG;IACH,MAAM,CAAC,iBAAiB,oBAiBtB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,UAAU,+BAiCf;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,UAAU,qBAUf;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,WAAW,qBAWhB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,uBAAuB,qBAQ5B;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,WAAW,qBAWhB;IAEF;;;;;;;;OAQG;IACH,MAAM,CAAC,gBAAgB,qBAQrB;CAEL"}
|
108
types/Common/HostUrl.d.ts
vendored
Normal file
108
types/Common/HostUrl.d.ts
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
export declare const CURRENT_HOST: string;
|
||||
export declare const SignUrl: {
|
||||
login: string;
|
||||
loginOut: string;
|
||||
heart: string;
|
||||
regist: string;
|
||||
SMSCode: string;
|
||||
LoginStatus: string;
|
||||
checkRegUser: string;
|
||||
findPsw: string;
|
||||
};
|
||||
export declare const ImgsUrl: {
|
||||
get: string;
|
||||
upload: string;
|
||||
delete: string;
|
||||
logo: string;
|
||||
};
|
||||
export declare const DirUrl: {
|
||||
query: string;
|
||||
create: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
};
|
||||
export declare const MaterialUrls: {
|
||||
query: string;
|
||||
create: string;
|
||||
get: string;
|
||||
detail: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
buy: string;
|
||||
publishDetail: string;
|
||||
};
|
||||
export declare const ShopUrls: {
|
||||
get: string;
|
||||
};
|
||||
export declare const ResourcesCDN_HOST = "https://cdn.qicad.com/";
|
||||
export declare const ToplineUrls: {
|
||||
create: string;
|
||||
get: string;
|
||||
detail: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
};
|
||||
export declare const FileUrls: {
|
||||
create: string;
|
||||
delete: string;
|
||||
detail: string;
|
||||
list: string;
|
||||
update: string;
|
||||
move: string;
|
||||
copy: string;
|
||||
preDetail: string;
|
||||
};
|
||||
export declare const TemplateUrls: {
|
||||
create: string;
|
||||
delete: string;
|
||||
detail: string;
|
||||
list: string;
|
||||
update: string;
|
||||
search: string;
|
||||
move: string;
|
||||
check: string;
|
||||
};
|
||||
export declare const ConfigUrls: {
|
||||
Get: string;
|
||||
Edit: string;
|
||||
GetList: string;
|
||||
};
|
||||
export declare const CloudUrl: {
|
||||
Get: string;
|
||||
Buy: string;
|
||||
};
|
||||
/**cad渲染端 */
|
||||
export declare const RenderUrl: {
|
||||
CheckRender: string;
|
||||
Buy: string;
|
||||
};
|
||||
/**购买cad包月服务 */
|
||||
export declare const BuyCadUrl: string;
|
||||
/**请求这些接口将更新云盘信息 */
|
||||
export declare const ChangeZoneUrls: string[];
|
||||
/**发布模块 */
|
||||
export declare const PublishTemplateUrl: string;
|
||||
export declare const PublishMaterialUrl: string;
|
||||
export declare const SendTemplateUrl: string;
|
||||
export declare const KJLExportUrls: string;
|
||||
export declare const CF_LOGO: string;
|
||||
export declare const Buy2To3: string;
|
||||
export declare const BuyZengZhiBao: string;
|
||||
export declare const KJLUrls: {
|
||||
importOld: string;
|
||||
import: string;
|
||||
importv2: string;
|
||||
clear: string;
|
||||
};
|
||||
export declare const RecycleBinUrls: {
|
||||
List: string;
|
||||
Re: string;
|
||||
Delete: string;
|
||||
};
|
||||
export declare const ErrorReportUrl: string;
|
||||
export declare let FileHistoryUrl: string;
|
||||
export declare let FileHistoryFilesUrl: string;
|
||||
//# sourceMappingURL=HostUrl.d.ts.map
|
1
types/Common/HostUrl.d.ts.map
Normal file
1
types/Common/HostUrl.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"HostUrl.d.ts","sourceRoot":"","sources":["../../../src/Common/HostUrl.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY,QAAe,CAAC;AAEzC,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC;AACF,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AACF,eAAO,MAAM,MAAM;;;;;;CAMlB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;CAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ;;CAEpB,CAAC;AAEF,eAAO,MAAM,iBAAiB,2BAA2B,CAAC;AAC1D,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;CASpB,CAAC;AACF,eAAO,MAAM,YAAY;;;;;;;;;CASxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;CAItB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,YAAY;AACZ,eAAO,MAAM,SAAS;;;CAGrB,CAAC;AAEF,eAAe;AACf,eAAO,MAAM,SAAS,QAAmC,CAAC;AAE1D,mBAAmB;AACnB,eAAO,MAAM,cAAc,UAK1B,CAAC;AAEF,UAAU;AACV,eAAO,MAAM,kBAAkB,QAAqD,CAAC;AACrF,eAAO,MAAM,kBAAkB,QAAwD,CAAC;AAExF,eAAO,MAAM,eAAe,QAA2C,CAAC;AAExE,eAAO,MAAM,aAAa,QAAqC,CAAC;AAEhE,eAAO,MAAM,OAAO,QAAgC,CAAC;AAErD,eAAO,MAAM,OAAO,QAAuC,CAAC;AAC5D,eAAO,MAAM,aAAa,QAAqC,CAAC;AAEhE,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAGF,eAAO,MAAM,cAAc,QAAqC,CAAC;AAOjE,eAAO,IAAI,cAAc,QAAkC,CAAC;AAC5D,eAAO,IAAI,mBAAmB,QAAqC,CAAC"}
|
24
types/Common/InputState.d.ts
vendored
Normal file
24
types/Common/InputState.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* 控制器的状态,按位表示.
|
||||
* @enum {number}
|
||||
*/
|
||||
export declare enum InputState {
|
||||
None = 0,
|
||||
SelectIng = 1,
|
||||
Select = 2,
|
||||
GetPoint = 4,
|
||||
GetDist = 8,
|
||||
Entsel = 16,
|
||||
GetKeyWord = 32,
|
||||
GetRect = 64,
|
||||
GetString = 128,
|
||||
All = 255
|
||||
}
|
||||
export interface KeyWord {
|
||||
msg: string;
|
||||
key: string;
|
||||
disable?: boolean;
|
||||
children?: KeyWord[];
|
||||
}
|
||||
export declare const MenuDividerKWD: KeyWord;
|
||||
//# sourceMappingURL=InputState.d.ts.map
|
1
types/Common/InputState.d.ts.map
Normal file
1
types/Common/InputState.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InputState.d.ts","sourceRoot":"","sources":["../../../src/Common/InputState.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,oBAAY,UAAU;IAElB,IAAI,IAAI;IACR,SAAS,IAAI;IACb,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,MAAM,KAAK;IACX,UAAU,KAAK;IACf,OAAO,KAAK;IACZ,SAAS,MAAM;IACf,GAAG,MAAa;CACnB;AAID,MAAM,WAAW,OAAO;IAEpB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,OAAqC,CAAC"}
|
24
types/Common/InterfereUtil.d.ts
vendored
Normal file
24
types/Common/InterfereUtil.d.ts
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Box3, Geometry, Mesh } from "three";
|
||||
import { CSG } from "../csg/core/CSG";
|
||||
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
|
||||
import { SweepSolid } from "../DatabaseServices/3DSolid/SweepSolid";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { ExtrudeSolid } from "../DatabaseServices/Entity/Extrude";
|
||||
import { HardwareCompositeEntity } from "../DatabaseServices/Hardware/HardwareCompositeEntity";
|
||||
import { OBB } from "../Geometry/OBB/obb";
|
||||
export declare type Solid3D = ExtrudeSolid | SweepSolid | ExtrudeHole;
|
||||
export declare class CheckInterfereTool {
|
||||
entitySet: Set<Solid3D>;
|
||||
objMap: Map<Mesh, [Solid3D, Solid3D]>;
|
||||
GetEntitys(selectEnts: (HardwareCompositeEntity | ExtrudeSolid | SweepSolid)[]): Solid3D[];
|
||||
IsSkipEntity(en: Entity): boolean;
|
||||
Check(selectEnts: (HardwareCompositeEntity | ExtrudeSolid | SweepSolid)[], progressCallBack?: (index: number, all: number) => void): Promise<Map<Mesh<Geometry | import("three").BufferGeometry, import("three").Material | import("three").Material[]>, [Solid3D, Solid3D]>>;
|
||||
csgCache: Map<Entity, CSG>;
|
||||
private GetCSG;
|
||||
obbCache: Map<Entity, OBB>;
|
||||
private GetOBB;
|
||||
boxCache: Map<Entity, Box3>;
|
||||
private GetBox;
|
||||
}
|
||||
export declare const checkInterfereTool: CheckInterfereTool;
|
||||
//# sourceMappingURL=InterfereUtil.d.ts.map
|
1
types/Common/InterfereUtil.d.ts.map
Normal file
1
types/Common/InterfereUtil.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"InterfereUtil.d.ts","sourceRoot":"","sources":["../../../src/Common/InterfereUtil.ts"],"names":[],"mappings":"AAAA,OAA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,0 +1,4 @@
|
||||
import { Matrix4, Vector3 } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare function JigMoveEntity(entitys: Entity[], pos?: Vector3): Promise<Matrix4 | undefined>;
|
||||
//# sourceMappingURL=JigMove.d.ts.map
|
1
types/Common/JigMove.d.ts.map
Normal file
1
types/Common/JigMove.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"JigMove.d.ts","sourceRoot":"","sources":["../../../src/Common/JigMove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,wBAAsB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,GAAG,UAAc,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CA0CtG"}
|
297
types/Common/KeyEnum.d.ts
vendored
Normal file
297
types/Common/KeyEnum.d.ts
vendored
Normal file
@@ -0,0 +1,297 @@
|
||||
export declare enum MouseKey {
|
||||
Left = 0,
|
||||
Middle = 1,
|
||||
Right = 2
|
||||
}
|
||||
export declare enum KeyBoard {
|
||||
Digit1 = 49,
|
||||
Digit2 = 50,
|
||||
Digit3 = 51,
|
||||
Digit4 = 52,
|
||||
Digit5 = 53,
|
||||
Digit6 = 54,
|
||||
Digit7 = 55,
|
||||
Digit8 = 56,
|
||||
Digit9 = 57,
|
||||
Digit0 = 58,
|
||||
KeyA = 65,
|
||||
KeyB = 66,
|
||||
KeyC = 67,
|
||||
KeyD = 68,
|
||||
KeyE = 69,
|
||||
KeyF = 70,
|
||||
KeyG = 71,
|
||||
KeyH = 72,
|
||||
KeyI = 73,
|
||||
KeyJ = 74,
|
||||
KeyK = 75,
|
||||
KeyL = 76,
|
||||
KeyM = 77,
|
||||
KeyN = 78,
|
||||
KeyO = 79,
|
||||
KeyP = 80,
|
||||
KeyQ = 81,
|
||||
KeyR = 82,
|
||||
KeyS = 83,
|
||||
KeyT = 84,
|
||||
KeyU = 85,
|
||||
KeyV = 86,
|
||||
KeyW = 87,
|
||||
KeyX = 88,
|
||||
KeyY = 89,
|
||||
KeyZ = 90,
|
||||
/**
|
||||
* 逗号
|
||||
*/
|
||||
Comma = 188,
|
||||
CommaChrome = 229,
|
||||
/**
|
||||
* 句号
|
||||
*/
|
||||
Period = 190,
|
||||
/**
|
||||
* 分号
|
||||
*/
|
||||
Semicolon = 186,
|
||||
/**
|
||||
* 引号
|
||||
*/
|
||||
Quote = 222,
|
||||
/**
|
||||
* 左括号
|
||||
*/
|
||||
BracketLeft = 219,
|
||||
/**
|
||||
* 右括号
|
||||
*/
|
||||
BracketRight = 220,
|
||||
/**
|
||||
* 反引号
|
||||
*/
|
||||
Backquote = 192,
|
||||
/**
|
||||
* 反斜杠
|
||||
*/
|
||||
Backslash = 220,
|
||||
/**
|
||||
* 减号
|
||||
*/
|
||||
Minus = 189,
|
||||
/**
|
||||
* 等号
|
||||
*/
|
||||
Equal = 187,
|
||||
IntlRo = 193,
|
||||
IntlYen = 255,
|
||||
Alt = 18,
|
||||
/**
|
||||
* 大写锁定
|
||||
*/
|
||||
CapsLock = 20,
|
||||
Control = 17,
|
||||
/**
|
||||
* win左键
|
||||
*/
|
||||
OSLeft = 91,
|
||||
/**
|
||||
* win右键
|
||||
*/
|
||||
OSRight = 92,
|
||||
Shift = 16,
|
||||
ContextMenu = 93,
|
||||
Enter = 13,
|
||||
Space = 32,
|
||||
Backspace = 8,
|
||||
Tab = 9,
|
||||
Delete = 46,
|
||||
End = 35,
|
||||
Home = 36,
|
||||
Insert = 45,
|
||||
PageDown = 34,
|
||||
PageUp = 33,
|
||||
ArrowDown = 40,
|
||||
ArrowLeft = 37,
|
||||
ArrowRight = 39,
|
||||
ArrowUp = 38,
|
||||
Escape = 27,
|
||||
PrintScreen = 44,
|
||||
ScrollLock = 145,
|
||||
Pause = 19,
|
||||
F1 = 112,
|
||||
F2 = 113,
|
||||
F3 = 114,
|
||||
F5 = 116,
|
||||
F6 = 117,
|
||||
F7 = 118,
|
||||
F8 = 119,
|
||||
F9 = 120,
|
||||
F10 = 121,
|
||||
F11 = 122,
|
||||
F12 = 123,
|
||||
NumLock = 114,
|
||||
Numpad0 = 96,
|
||||
Numpad1 = 97,
|
||||
Numpad2 = 98,
|
||||
Numpad3 = 99,
|
||||
Numpad4 = 100,
|
||||
Numpad5 = 101,
|
||||
Numpad6 = 102,
|
||||
Numpad7 = 103,
|
||||
Numpad8 = 104,
|
||||
Numpad9 = 105,
|
||||
NumpadAdd = 107,
|
||||
NumpadDivide = 111,
|
||||
NumpadEqual = 12,
|
||||
NumpadMultiply = 106,
|
||||
NumpadSubtract = 109,
|
||||
NumpadDot = 110,
|
||||
NumpadDot1 = 190
|
||||
}
|
||||
export declare enum KeyCode {
|
||||
Digit1 = "Digit1",
|
||||
Digit2 = "Digit2",
|
||||
Digit3 = "Digit3",
|
||||
Digit4 = "Digit4",
|
||||
Digit5 = "Digit5",
|
||||
Digit6 = "Digit6",
|
||||
Digit7 = "Digit7",
|
||||
Digit8 = "Digit8",
|
||||
Digit9 = "Digit9",
|
||||
Digit0 = "Digit0",
|
||||
KeyA = "KeyA",
|
||||
KeyB = "KeyB",
|
||||
KeyC = "KeyC",
|
||||
KeyD = "KeyD",
|
||||
KeyE = "KeyE",
|
||||
KeyF = "KeyF",
|
||||
KeyG = "KeyG",
|
||||
KeyH = "KeyH",
|
||||
KeyI = "KeyI",
|
||||
KeyJ = "KeyJ",
|
||||
KeyK = "KeyK",
|
||||
KeyL = "KeyL",
|
||||
KeyM = "KeyM",
|
||||
KeyN = "KeyN",
|
||||
KeyO = "KeyO",
|
||||
KeyP = "KeyP",
|
||||
KeyQ = "KeyQ",
|
||||
KeyR = "KeyR",
|
||||
KeyS = "KeyS",
|
||||
KeyT = "KeyT",
|
||||
KeyU = "KeyU",
|
||||
KeyV = "KeyV",
|
||||
KeyW = "KeyW",
|
||||
KeyX = "KeyX",
|
||||
KeyY = "KeyY",
|
||||
KeyZ = "KeyZ",
|
||||
/**
|
||||
* 逗号
|
||||
*/
|
||||
Comma = "Comma",
|
||||
CommaChrome = "CommaChrome",
|
||||
/**
|
||||
* 句号
|
||||
*/
|
||||
Period = "Period",
|
||||
/**
|
||||
* 分号
|
||||
*/
|
||||
Semicolon = "Semicolon",
|
||||
/**
|
||||
* 引号
|
||||
*/
|
||||
Quote = "Quote",
|
||||
/**
|
||||
* 左括号
|
||||
*/
|
||||
BracketLeft = "BracketLeft",
|
||||
/**
|
||||
* 右括号
|
||||
*/
|
||||
BracketRight = "BracketRight",
|
||||
/**
|
||||
* 反引号
|
||||
*/
|
||||
Backquote = "Backquote",
|
||||
/**
|
||||
* 反斜杠
|
||||
*/
|
||||
Backslash = "Backslash",
|
||||
/**
|
||||
* 减号
|
||||
*/
|
||||
Minus = "Minus",
|
||||
/**
|
||||
* 等号
|
||||
*/
|
||||
Equal = "Equal",
|
||||
IntlRo = "IntlRo",
|
||||
IntlYen = "IntlYen",
|
||||
Alt = "Alt",
|
||||
AltLeft = "AltLeft",
|
||||
/**
|
||||
* 大写锁定
|
||||
*/
|
||||
CapsLock = "CapsLock",
|
||||
Control = "Control",
|
||||
ControlLeft = "ControlLeft",
|
||||
/**
|
||||
* win左键
|
||||
*/
|
||||
OSLeft = "OSLeft",
|
||||
/**
|
||||
* win右键
|
||||
*/
|
||||
OSRight = "OSRight",
|
||||
Shift = "Shift",
|
||||
ShiftLeft = "ShiftLeft",
|
||||
ContextMenu = "ContextMenu",
|
||||
Enter = "Enter",
|
||||
Space = "Space",
|
||||
Backspace = "Backspace",
|
||||
Tab = "Tab",
|
||||
Delete = "Delete",
|
||||
End = "End",
|
||||
Home = "Home",
|
||||
Insert = "Insert",
|
||||
PageDown = "PageDown",
|
||||
PageUp = "PageUp",
|
||||
ArrowDown = "ArrowDown",
|
||||
ArrowLeft = "ArrowLeft",
|
||||
ArrowRight = "ArrowRight",
|
||||
ArrowUp = "ArrowUp",
|
||||
Escape = "Escape",
|
||||
PrintScreen = "PrintScreen",
|
||||
ScrollLock = "ScrollLock",
|
||||
Pause = "Pause",
|
||||
F1 = "F1",
|
||||
F2 = "F2",
|
||||
F3 = "F3",
|
||||
F5 = "F5",
|
||||
F6 = "F6",
|
||||
F7 = "F7",
|
||||
F8 = "F8",
|
||||
F9 = "F9",
|
||||
F10 = "F10",
|
||||
F11 = "F11",
|
||||
F12 = "F12",
|
||||
NumLock = "NumLock",
|
||||
Numpad0 = "Numpad0",
|
||||
Numpad1 = "Numpad1",
|
||||
Numpad2 = "Numpad2",
|
||||
Numpad3 = "Numpad3",
|
||||
Numpad4 = "Numpad4",
|
||||
Numpad5 = "Numpad5",
|
||||
Numpad6 = "Numpad6",
|
||||
Numpad7 = "Numpad7",
|
||||
Numpad8 = "Numpad8",
|
||||
Numpad9 = "Numpad9",
|
||||
NumpadAdd = "NumpadAdd",
|
||||
NumpadDivide = "NumpadDivide",
|
||||
NumpadEqual = "NumpadEqual",
|
||||
NumpadMultiply = "NumpadMultiply",
|
||||
NumpadSubtract = "NumpadSubtract",
|
||||
NumpadDot = "NumpadDot",
|
||||
NumpadDot1 = "NumpadDot1"
|
||||
}
|
||||
//# sourceMappingURL=KeyEnum.d.ts.map
|
1
types/Common/KeyEnum.d.ts.map
Normal file
1
types/Common/KeyEnum.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"KeyEnum.d.ts","sourceRoot":"","sources":["../../../src/Common/KeyEnum.ts"],"names":[],"mappings":"AACA,oBAAY,QAAQ;IAEhB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,KAAK,IAAI;CACZ;AAED,oBAAY,QAAQ;IAGhB,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IACX,MAAM,KAAK;IAEX,IAAI,KAAK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,cAAc;IACvB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,SAAS,cAAc;IACvB,UAAU,eAAe;CAC5B"}
|
3
types/Common/LightUtils.d.ts
vendored
Normal file
3
types/Common/LightUtils.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { DirectionalLight } from "../DatabaseServices/Lights/DirectionalLight";
|
||||
export declare function DirLightShadowArea(light: DirectionalLight): void;
|
||||
//# sourceMappingURL=LightUtils.d.ts.map
|
1
types/Common/LightUtils.d.ts.map
Normal file
1
types/Common/LightUtils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"LightUtils.d.ts","sourceRoot":"","sources":["../../../src/Common/LightUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAO/E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gBAAgB,QAsBzD"}
|
8
types/Common/Log.d.ts
vendored
Normal file
8
types/Common/Log.d.ts
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
declare type LogFunction = (message?: any, ...optionalParams: any[]) => void;
|
||||
export declare const _LogInjectFunctions: LogFunction[];
|
||||
export declare function Log(message?: any, ...optionalParams: any[]): void;
|
||||
export declare const LogEnable: {
|
||||
Display: boolean;
|
||||
};
|
||||
export {};
|
||||
//# sourceMappingURL=Log.d.ts.map
|
1
types/Common/Log.d.ts.map
Normal file
1
types/Common/Log.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Log.d.ts","sourceRoot":"","sources":["../../../src/Common/Log.ts"],"names":[],"mappings":"AACA,aAAK,WAAW,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;AAErE,eAAO,MAAM,mBAAmB,EAAE,WAAW,EAAO,CAAC;AAErD,wBAAgB,GAAG,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,GAAG,EAAE,GAAG,IAAI,CAIjE;AAED,eAAO,MAAM,SAAS;;CAErB,CAAC"}
|
4
types/Common/Material.d.ts
vendored
Normal file
4
types/Common/Material.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare function guiScene(gui: any, scene: any, renderer: any, ambientLight: any): void;
|
||||
export declare function guiMaterial(gui: any, mesh: any, material: any, geometry: any): void;
|
||||
export declare function guiMeshBasicMaterial(gui: any, mesh: any, material: any, geometry: any): void;
|
||||
//# sourceMappingURL=Material.d.ts.map
|
1
types/Common/Material.d.ts.map
Normal file
1
types/Common/Material.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Material.d.ts","sourceRoot":"","sources":["../../../src/Common/Material.ts"],"names":[],"mappings":"AA0PA,wBAAgB,QAAQ,CAAC,GAAG,KAAA,EAAE,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,YAAY,KAAA,QA0B1D;AAqCD,wBAAgB,WAAW,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA,QAqBxD;AAED,wBAAgB,oBAAoB,CAAC,GAAG,KAAA,EAAE,IAAI,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA,QA6BjE"}
|
49
types/Common/Matrix4Utils.d.ts
vendored
Normal file
49
types/Common/Matrix4Utils.d.ts
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
import { Matrix4, Vector2, Vector3 } from 'three';
|
||||
/**
|
||||
* 设置矩阵的某列的向量
|
||||
* @param {Matrix4} mat 矩阵
|
||||
* @param {number} col 列索引,0x 1y 2z 3org
|
||||
* @param {Vector3} v 向量或点
|
||||
*/
|
||||
export declare function matrixSetVector(mat: Matrix4, col: number, v: Vector3): void;
|
||||
/**
|
||||
* 返回矩阵,该坐标系将坐标系与原点的坐标系映射为坐标系,
|
||||
* 并将坐标系与X轴坐标系,
|
||||
* Y轴坐标轴以及Z轴坐标系统之间的坐标系统坐标系统的原点坐标系和原点坐标系统坐标轴的坐标系分别设置为XAxis,YAxis和ZAxis
|
||||
* @returns {Matrix4} 返回新的矩阵
|
||||
*/
|
||||
export declare function matrixAlignCoordSys(matrixFrom: Matrix4, matrixTo: Matrix4): Matrix4;
|
||||
/**
|
||||
* 判断2个矩形共面
|
||||
* @param {Matrix4} matrixFrom
|
||||
* @param {Matrix4} matrixTo
|
||||
* @returns {boolean} 2个矩阵共面
|
||||
*/
|
||||
export declare function matrixIsCoplane(matrixFrom: Matrix4, matrixTo: Matrix4, fuzz?: number): boolean;
|
||||
export declare function matrixScale(scale: number, center?: Vector3): Matrix4;
|
||||
/**
|
||||
* 设置旋转矩阵,不改变矩阵的基点
|
||||
*/
|
||||
export declare function setRotationOnAxis(mtx: Matrix4, axis: Vector3, ro: number): Matrix4;
|
||||
/**
|
||||
* 修正镜像后矩阵
|
||||
*/
|
||||
export declare function reviseMirrorMatrix(mtx: Matrix4): Matrix4;
|
||||
export declare function Vector2ApplyMatrix4(mtx: Matrix4, vec: Vector2): void;
|
||||
export declare function GetMirrorMat(v: Vector3): Matrix4;
|
||||
export declare function ApplyMatrix4IgnorePosition(vec: {
|
||||
x: number;
|
||||
y: number;
|
||||
z: number;
|
||||
}, m: Matrix4): {
|
||||
x: number;
|
||||
y: number;
|
||||
z: number;
|
||||
};
|
||||
/**
|
||||
* 把变换矩阵展平成2d矩阵,避免出现三维坐标.
|
||||
*/
|
||||
export declare function MatrixPlanarizere(mtx: Matrix4, z0?: boolean): Matrix4;
|
||||
export declare const tempMatrix1: Matrix4;
|
||||
export declare const ZMirrorMatrix: Matrix4;
|
||||
//# sourceMappingURL=Matrix4Utils.d.ts.map
|
1
types/Common/Matrix4Utils.d.ts.map
Normal file
1
types/Common/Matrix4Utils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Matrix4Utils.d.ts","sourceRoot":"","sources":["../../../src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alAdjustment.d.ts
vendored
Normal file
2
types/Common/NumberDecimalAdjustment.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function round10(value: number, exp: number): number;
|
||||
//# sourceMappingURL=NumberDecimalAdjustment.d.ts.map
|
1
types/Common/NumberDecimalAdjustment.d.ts.map
Normal file
1
types/Common/NumberDecimalAdjustment.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"NumberDecimalAdjustment.d.ts","sourceRoot":"","sources":["../../../src/Common/NumberDecimalAdjustment.ts"],"names":[],"mappings":"AA+BA,wBAAgB,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAG1D"}
|
3
types/Common/Report.d.ts
vendored
Normal file
3
types/Common/Report.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export declare const ReportFunctionList: ((msg: string) => void)[];
|
||||
export declare function SendReport(msg: string): void;
|
||||
//# sourceMappingURL=Report.d.ts.map
|
1
types/Common/Report.d.ts.map
Normal file
1
types/Common/Report.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../../src/Common/Report.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,EAAO,CAAC;AAEhE,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,QAIrC"}
|
36
types/Common/Request.d.ts
vendored
Normal file
36
types/Common/Request.d.ts
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
export declare enum DirectoryId {
|
||||
None = "",
|
||||
FileDir = "1",
|
||||
MaterialDir = "2",
|
||||
ImgDir = "3",
|
||||
ToplineDir = "4",
|
||||
TemplateDir = "5",
|
||||
DrillingDir = "6",
|
||||
KnifePathDir = "7",
|
||||
Frame = "8"
|
||||
}
|
||||
export declare enum RequestStatus {
|
||||
NoLogin = 88888,
|
||||
Ok = 0,
|
||||
NoPermission = 102,
|
||||
DeleteWarn1 = 401,
|
||||
DeleteWarn2 = 402,
|
||||
NoBuy = 3298,
|
||||
NoBuy1 = 3299,
|
||||
NoBuy2 = 3300,
|
||||
NoBuy3 = 3301,
|
||||
NoBuy4 = 3412,
|
||||
None = -1,
|
||||
OffLine = 44444,
|
||||
NoToken = 6600
|
||||
}
|
||||
export interface IResponseData {
|
||||
err_code: RequestStatus;
|
||||
err_msg: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export declare function PostJson<T = object>(url: string, body: Exclude<T, BodyInit>, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function Post(url: string, body?: BodyInit, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function FetchGet(url: string): Promise<any>;
|
||||
export declare function uploadLogo(blob: Blob): Promise<string>;
|
||||
//# sourceMappingURL=Request.d.ts.map
|
1
types/Common/Request.d.ts.map
Normal file
1
types/Common/Request.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../src/Common/Request.ts"],"names":[],"mappings":"AAMA,oBAAY,WAAW;IAEnB,IAAI,KAAK;IACT,OAAO,MAAM;IACb,WAAW,MAAM;IACjB,MAAM,MAAM;IACZ,UAAU,MAAM;IAChB,WAAW,MAAM;IACjB,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,KAAK,MAAM;CACd;AAED,oBAAY,aAAa;IAErB,OAAO,QAAQ;IACf,EAAE,IAAI;IACN,YAAY,MAAM;IAClB,WAAW,MAAM;IACjB,WAAW,MAAM;IACjB,KAAK,OAAO;IACZ,MAAM,OAAO;IACb,MAAM,OAAO;IACb,MAAM,OAAO;IACb,MAAM,OAAO;IACb,IAAI,KAAK;IACT,OAAO,QAAQ;IACf,OAAO,OAAO;CACjB;AACD,MAAM,WAAW,aAAa;IAE1B,QAAQ,EAAE,aAAa,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,wBAAsB,QAAQ,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,YAAY,UAAO,0BAGtG;AAED,wBAAsB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,EAAE,YAAY,UAAO,GAAG,OAAO,CAAC,aAAa,CAAC,CAsDpG;AAED,wBAAsB,QAAQ,CAAC,GAAG,EAAE,MAAM,gBAYzC;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,IAAI,mBAc1C"}
|
30
types/Common/SerializeMaterial.d.ts
vendored
Normal file
30
types/Common/SerializeMaterial.d.ts
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { Vector3 } from "three";
|
||||
import { Database } from "../DatabaseServices/Database";
|
||||
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
|
||||
import { Polyline } from "../DatabaseServices/Entity/Polyline";
|
||||
import { TemplateRecord } from "../DatabaseServices/Template/TemplateRecord";
|
||||
import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
|
||||
export declare function MaterialOut(material: PhysicalMaterialRecord): string;
|
||||
export declare function MaterialIn(fileData: Object[]): PhysicalMaterialRecord;
|
||||
export declare function TemplateOut(template: TemplateRecord, tempDb?: Database): string;
|
||||
export declare function TemplateIn(fileData: Object[]): TemplateRecord;
|
||||
export declare function TemplateParamsOut(params: TemplateParam[]): string;
|
||||
export declare function TemplateParamsIn(paramsData: Object[][]): TemplateParam[];
|
||||
/**反序列化材质并加入图纸*/
|
||||
export declare function MaterialInAndAppendAppData(fileData: Object[], name?: string): PhysicalMaterialRecord;
|
||||
export declare function deflate(data: string): string;
|
||||
export declare function inflate(base64: string): string;
|
||||
export declare function dataURItoBlob(dataURI: string): Blob;
|
||||
export declare function toplineFileIn(json: string): Polyline;
|
||||
export declare function getPolylineSVG(en: Polyline): string;
|
||||
/**
|
||||
* 获取当前图纸的缩略图(预览图)
|
||||
*/
|
||||
export declare function GetCurrentViewPreViewImage(restore?: boolean): Blob;
|
||||
export declare function ExtrudeDrillFileIn(data: any[]): ExtrudeHole;
|
||||
export declare function GetEntitysLogo(ens: Entity[], isConceptual?: boolean, dir?: Vector3): Promise<string>;
|
||||
export declare function GroupOut(ens: Entity[]): string;
|
||||
export declare function GroupFileIn(fileData: Object[]): Entity[];
|
||||
//# sourceMappingURL=SerializeMaterial.d.ts.map
|
1
types/Common/SerializeMaterial.d.ts.map
Normal file
1
types/Common/SerializeMaterial.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SerializeMaterial.d.ts","sourceRoot":"","sources":["../../../src/Common/SerializeMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,OAAO,EAAsB,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAI/D,OAAO,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAKtE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CAUpE;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,sBAAsB,CAKrE;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,cAAc,EAAE,MAAM,WAAmC,UAa9F;AACD,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,cAAc,CAK7D;AACD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,aAAa,EAAE,UAUxD;AACD,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,mBAWtD;AAED,gBAAgB;AAChB,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,sBAAsB,CAWpG;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,UAKnC;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,UAKrC;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,QAyB5C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,YAOzC;AAED,wBAAgB,cAAc,CAAC,EAAE,EAAE,QAAQ,UA0B1C;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,UAAO,GAAG,IAAI,CAY/D;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,eAM7C;AAED,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,YAAY,UAAQ,EAAE,GAAG,UAAwB,mBAgDpG;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,UAUrC;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAWxD"}
|
3
types/Common/SetMaterial.d.ts
vendored
Normal file
3
types/Common/SetMaterial.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import * as THREE from 'three';
|
||||
export declare function SetMaterial(obj: THREE.Object3D, material: THREE.Material): void;
|
||||
//# sourceMappingURL=SetMaterial.d.ts.map
|
1
types/Common/SetMaterial.d.ts.map
Normal file
1
types/Common/SetMaterial.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SetMaterial.d.ts","sourceRoot":"","sources":["../../../src/Common/SetMaterial.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,wBAAgB,WAAW,CAAC,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,QAexE"}
|
5
types/Common/ShowSelectObjects.d.ts
vendored
Normal file
5
types/Common/ShowSelectObjects.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Object3D } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
export declare const ShowObjectsFunctionList: ((ens: (Entity[]) | Object3D[]) => void)[];
|
||||
export declare function ShowSelectObjects(ens: (Entity[]) | Object3D[]): void;
|
||||
//# sourceMappingURL=ShowSelectObjects.d.ts.map
|
1
types/Common/ShowSelectObjects.d.ts.map
Normal file
1
types/Common/ShowSelectObjects.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ShowSelectObjects.d.ts","sourceRoot":"","sources":["../../../src/Common/ShowSelectObjects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,KAAK,IAAI,CAAC,EAAO,CAAC;AAEtF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,CAAC,MAAM,EAAE,CAAC,GAAG,QAAQ,EAAE,QAI7D"}
|
12
types/Common/Singleton.d.ts
vendored
Normal file
12
types/Common/Singleton.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* 构造单例类的静态类.
|
||||
* # Example:
|
||||
* class A extends Singleton(){};
|
||||
* //获得单例
|
||||
* let a = A.GetInstance();
|
||||
*/
|
||||
export declare class Singleton {
|
||||
protected constructor();
|
||||
static GetInstance<T = any>(): T;
|
||||
}
|
||||
//# sourceMappingURL=Singleton.d.ts.map
|
1
types/Common/Singleton.d.ts.map
Normal file
1
types/Common/Singleton.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Singleton.d.ts","sourceRoot":"","sources":["../../../src/Common/Singleton.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,qBAAa,SAAS;IAElB,SAAS;IAGT,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC;CASnC"}
|
2
types/Common/Sleep.d.ts
vendored
Normal file
2
types/Common/Sleep.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function Sleep(time: number): Promise<unknown>;
|
||||
//# sourceMappingURL=Sleep.d.ts.map
|
1
types/Common/Sleep.d.ts.map
Normal file
1
types/Common/Sleep.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Sleep.d.ts","sourceRoot":"","sources":["../../../src/Common/Sleep.ts"],"names":[],"mappings":"AAAA,wBAAsB,KAAK,CAAC,IAAI,EAAE,MAAM,oBAMvC"}
|
23
types/Common/Status.d.ts
vendored
Normal file
23
types/Common/Status.d.ts
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
export declare enum Status {
|
||||
False = 0,
|
||||
True = 1,
|
||||
Canel = -1,
|
||||
ConverToCircle = 101,
|
||||
DuplicateRecordName = 102
|
||||
}
|
||||
export declare enum UpdateDraw {
|
||||
None = 0,
|
||||
Matrix = 1,
|
||||
Geometry = 2,
|
||||
Material = 4,
|
||||
All = 63
|
||||
}
|
||||
/**
|
||||
* WblockClne时,遇到重复记录的操作方式
|
||||
*/
|
||||
export declare enum DuplicateRecordCloning {
|
||||
Ignore = 1,
|
||||
Replace = 2,
|
||||
Rename = 3
|
||||
}
|
||||
//# sourceMappingURL=Status.d.ts.map
|
1
types/Common/Status.d.ts.map
Normal file
1
types/Common/Status.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../src/Common/Status.ts"],"names":[],"mappings":"AAGA,oBAAY,MAAM;IAEd,KAAK,IAAI;IACT,IAAI,IAAI;IACR,KAAK,KAAK;IAEV,cAAc,MAAM;IAEpB,mBAAmB,MAAM;CAC5B;AAED,oBAAY,UAAU;IAElB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,GAAG,KAAa;CACnB;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAE9B,MAAM,IAAI;IACV,OAAO,IAAI;IACX,MAAM,IAAI;CACb"}
|
19
types/Common/StoreageKeys.d.ts
vendored
Normal file
19
types/Common/StoreageKeys.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
export declare enum StoreageKeys {
|
||||
IsLogin = "isLogin",
|
||||
PlatSession = "platSession",
|
||||
PlatToken = "platToken",
|
||||
UserName = "userName",
|
||||
UserPhone = "userPhone",
|
||||
RenderType = "renderType",
|
||||
ExactDrill = "openExactDrill",
|
||||
ConfigName = "configName_",
|
||||
IsNewErp = "isNewErp",
|
||||
RoomName = "roomName",
|
||||
LastOpenFileId = "lastfid",
|
||||
Uid = "uid",
|
||||
Goods = "Goods_",
|
||||
DrillTemp = "drilltemp_",
|
||||
DrillReactor = "drillRreactor",
|
||||
kjlConfig = "kjl"
|
||||
}
|
||||
//# sourceMappingURL=StoreageKeys.d.ts.map
|
1
types/Common/StoreageKeys.d.ts.map
Normal file
1
types/Common/StoreageKeys.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"StoreageKeys.d.ts","sourceRoot":"","sources":["../../../src/Common/StoreageKeys.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IAEpB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,UAAU,mBAAmB;IAC7B,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,cAAc,YAAY;IAC1B,GAAG,QAAQ;IACX,KAAK,WAAW;IAChB,SAAS,eAAe;IACxB,YAAY,kBAAkB;IAC9B,SAAS,QAAQ;CACpB"}
|
11
types/Common/StretchParse.d.ts
vendored
Normal file
11
types/Common/StretchParse.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { SelectSet } from "../Editor/SelectSet";
|
||||
export interface StretchData {
|
||||
moveEntityList: Entity[];
|
||||
stretchEntityMap: {
|
||||
ent: Entity;
|
||||
indexs: Array<number>;
|
||||
}[];
|
||||
}
|
||||
export declare function StretchParse(ss: SelectSet): StretchData;
|
||||
//# sourceMappingURL=StretchParse.d.ts.map
|
1
types/Common/StretchParse.d.ts.map
Normal file
1
types/Common/StretchParse.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"StretchParse.d.ts","sourceRoot":"","sources":["../../../src/Common/StretchParse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,MAAM,WAAW,WAAW;IAExB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,gBAAgB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAAE,EAAE,CAAC;CAC/D;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,SAAS,GAAG,WAAW,CA4CvD"}
|
14
types/Common/SystemEnum.d.ts
vendored
Normal file
14
types/Common/SystemEnum.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export declare enum AAType {
|
||||
FXAA = 0,
|
||||
SMAA = 1
|
||||
}
|
||||
export declare enum ViewDirType {
|
||||
FS = 0,
|
||||
YAS = 1,
|
||||
ZS = 2,
|
||||
YS = 3,
|
||||
QS = 4,
|
||||
HS = 5,
|
||||
XN = 6
|
||||
}
|
||||
//# sourceMappingURL=SystemEnum.d.ts.map
|
1
types/Common/SystemEnum.d.ts.map
Normal file
1
types/Common/SystemEnum.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"SystemEnum.d.ts","sourceRoot":"","sources":["../../../src/Common/SystemEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAEd,IAAI,IAAI;IACR,IAAI,IAAI;CACX;AAED,oBAAY,WAAW;IAEnB,EAAE,IAAI;IACN,GAAG,IAAI;IACP,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;IACN,EAAE,IAAI;CACT"}
|
3
types/Common/TempVar.d.ts
vendored
Normal file
3
types/Common/TempVar.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import { CADFiler } from "../DatabaseServices/CADFiler";
|
||||
export declare const TempCADFiler: CADFiler;
|
||||
//# sourceMappingURL=TempVar.d.ts.map
|
1
types/Common/TempVar.d.ts.map
Normal file
1
types/Common/TempVar.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TempVar.d.ts","sourceRoot":"","sources":["../../../src/Common/TempVar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,eAAO,MAAM,YAAY,UAAiB,CAAC"}
|
18
types/Common/Toaster.d.ts
vendored
Normal file
18
types/Common/Toaster.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export declare enum Intent {
|
||||
NONE = "none",
|
||||
PRIMARY = "primary",
|
||||
SUCCESS = "success",
|
||||
WARNING = "warning",
|
||||
DANGER = "danger"
|
||||
}
|
||||
export interface IToasterOption {
|
||||
message: string | string[];
|
||||
timeout: number;
|
||||
intent: Intent;
|
||||
key?: string;
|
||||
}
|
||||
declare type ToasterFunction = (option: IToasterOption) => void;
|
||||
export declare const ToasterInjectFunctions: ToasterFunction[];
|
||||
export declare function Toaster(option: IToasterOption): void;
|
||||
export {};
|
||||
//# sourceMappingURL=Toaster.d.ts.map
|
1
types/Common/Toaster.d.ts.map
Normal file
1
types/Common/Toaster.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Toaster.d.ts","sourceRoot":"","sources":["../../../src/Common/Toaster.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAEd,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;CACpB;AAED,MAAM,WAAW,cAAc;IAE3B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAGD,aAAK,eAAe,GAAG,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;AAExD,eAAO,MAAM,sBAAsB,EAAE,eAAe,EAAO,CAAC;AAE5D,wBAAgB,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAIpD"}
|
9
types/Common/TypeOperator.d.ts
vendored
Normal file
9
types/Common/TypeOperator.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 继承+重写+拓展
|
||||
*/
|
||||
export declare type Merge<T, R> = Pick<T, Exclude<keyof T, keyof R>> & R;
|
||||
/**
|
||||
* 继承+重写,不能拓展
|
||||
*/
|
||||
export declare type Modify<T, R> = Pick<T, Exclude<keyof T, keyof R>> & Pick<R, Extract<keyof R, keyof T>>;
|
||||
//# sourceMappingURL=TypeOperator.d.ts.map
|
1
types/Common/TypeOperator.d.ts.map
Normal file
1
types/Common/TypeOperator.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"TypeOperator.d.ts","sourceRoot":"","sources":["../../../src/Common/TypeOperator.ts"],"names":[],"mappings":"AAMA;;EAEE;AACF,oBAAY,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAEjE;;GAEG;AACH,oBAAY,MAAM,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC"}
|
51
types/Common/Utils.d.ts
vendored
Normal file
51
types/Common/Utils.d.ts
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
import { Object3D } from "three";
|
||||
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||
import { ObjectId } from "../DatabaseServices/ObjectId";
|
||||
export declare const digitStrReg: RegExp;
|
||||
export declare const commandReg: RegExp;
|
||||
export declare const onlyEnExpReg: RegExp;
|
||||
/**替换收口条柜名后缀 */
|
||||
export declare const ClosingStripReg: RegExp;
|
||||
export declare const FileFormatReg: RegExp;
|
||||
/**扣除封边是否相连和连接共用精度 */
|
||||
export declare const LINK_FUZZ = 0.001;
|
||||
export declare function IsNumber(keyCode: number): boolean;
|
||||
export declare function IsChar(keyCode: number): boolean;
|
||||
export declare function isLetter(s: string): boolean;
|
||||
export declare function isNum(s: string): boolean;
|
||||
export declare function clamp(value: number, min: number, max: number): number;
|
||||
export declare function FixIndex(index: number, arr: Array<any> | number): number;
|
||||
export declare function formateDate(date: Date, fmt: string): string;
|
||||
export declare function isBetweenNums(v1: number, v2: number, v: number, fuzz?: number): boolean;
|
||||
export declare function sliceDeep(arr: object[], start?: number, end?: number): object[];
|
||||
export declare function copyTextToClipboard(text: string): Promise<void>;
|
||||
/**
|
||||
* 读取剪切板的字符串
|
||||
*/
|
||||
export declare function readClipboardText(): Promise<string>;
|
||||
export declare function FixedNotZero(v: number | string, fractionDigits?: number): string;
|
||||
/**
|
||||
* To fixed
|
||||
* @param v
|
||||
* @param [fractionDigits]
|
||||
* @returns
|
||||
*/
|
||||
export declare function ToFixed(v: number, fractionDigits?: number): string;
|
||||
export declare function GetEntity(obj: Object3D): Entity | undefined;
|
||||
export declare function IsEntity(obj: Object3D): boolean;
|
||||
export declare function IsNoErase(id: ObjectId): boolean;
|
||||
/**
|
||||
* 原图地址转换为对应缩略图地址
|
||||
*/
|
||||
export declare function getThumbsUrl(url: string): string;
|
||||
/**
|
||||
* 快速判断a是不是被修改了
|
||||
*/
|
||||
export declare function equalObject(a: Object, b: Object): boolean;
|
||||
export declare function cloneObject<T>(a: T): T;
|
||||
export declare function Uint8ArrayToBase64(bytes: Uint8Array): string;
|
||||
/**转换服务端获取的文件大小 */
|
||||
export declare function getFileSize(size: number): string;
|
||||
export declare function GetIndexDBID(id: string): string;
|
||||
export declare function FixDigits(v: number, fractionDigits?: number): number;
|
||||
//# sourceMappingURL=Utils.d.ts.map
|
1
types/Common/Utils.d.ts.map
Normal file
1
types/Common/Utils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../src/Common/Utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAI3D,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGxD,eAAO,MAAM,WAAW,QAAoB,CAAC;AAC7C,eAAO,MAAM,UAAU,QAAkB,CAAC;AAE1C,eAAO,MAAM,YAAY,QAAe,CAAC;AACzC,eAAe;AACf,eAAO,MAAM,eAAe,QAAkB,CAAC;AAC/C,eAAO,MAAM,aAAa,QAAsC,CAAC;AAEjE,qBAAqB;AACrB,eAAO,MAAM,SAAS,Q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C;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,UAGvC;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,WAS/C;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAGtC;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,UAAU,UAOnD;AAED,kBAAkB;AAClB,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,UAUvC;AAED,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,UAGtC;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,SAAI,UAGtD"}
|
17
types/Common/ZIndex.d.ts
vendored
Normal file
17
types/Common/ZIndex.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
export declare enum ZINDEX {
|
||||
Modal = "33",
|
||||
RightPanel = "29",
|
||||
HighMasking = "30",
|
||||
Common = "20",
|
||||
MainContent = "35",
|
||||
ToolBar = "2",
|
||||
RightMenu = "31",
|
||||
Portal = "37",
|
||||
ToolsBlock_small = "32",
|
||||
CommandInput = "28",
|
||||
TransparentTerminal = "0",
|
||||
SpeechBox = "27",
|
||||
CamCtrlBtn = "21",
|
||||
SelectMarquee = "32"
|
||||
}
|
||||
//# sourceMappingURL=ZIndex.d.ts.map
|
1
types/Common/ZIndex.d.ts.map
Normal file
1
types/Common/ZIndex.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ZIndex.d.ts","sourceRoot":"","sources":["../../../src/Common/ZIndex.ts"],"names":[],"mappings":"AAAA,oBAAY,MAAM;IAEd,KAAK,OAAO;IACZ,UAAU,OAAO;IACjB,WAAW,OAAO;IAClB,MAAM,OAAO;IACb,WAAW,OAAO;IAClB,OAAO,MAAM;IACb,SAAS,OAAO;IAChB,MAAM,OAAO;IACb,gBAAgB,OAAO;IACvB,YAAY,OAAO;IACnB,mBAAmB,MAAM;IACzB,SAAS,OAAO;IAChB,UAAU,OAAO;IACjB,aAAa,OAAO;CACvB"}
|
30
types/Common/binary/ArraybufferUtils.d.ts
vendored
Normal file
30
types/Common/binary/ArraybufferUtils.d.ts
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* ArraybufferUtils contains methods to convert from and to ArrayBuffer binary format
|
||||
*/
|
||||
export declare class ArraybufferUtils {
|
||||
/**
|
||||
* Create arraybuffer from binary string
|
||||
*
|
||||
* @method fromBinaryString
|
||||
* @param {String} str
|
||||
* @return {Arraybuffer} data
|
||||
*/
|
||||
static fromBinaryString(str: any): ArrayBuffer;
|
||||
/**
|
||||
* Create arraybuffer from base64 string
|
||||
*
|
||||
* @method fromBase64
|
||||
* @param {String} base64
|
||||
* @return {Arraybuffer} data
|
||||
*/
|
||||
static fromBase64(str: any): ArrayBuffer;
|
||||
/**
|
||||
* Create arraybuffer from Nodejs buffer
|
||||
*
|
||||
* @method fromBuffer
|
||||
* @param {Buffer} buffer
|
||||
* @return {Arraybuffer} data
|
||||
*/
|
||||
static fromBuffer(buffer: any): ArrayBuffer;
|
||||
}
|
||||
//# sourceMappingURL=ArraybufferUtils.d.ts.map
|
1
types/Common/binary/ArraybufferUtils.d.ts.map
Normal file
1
types/Common/binary/ArraybufferUtils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ArraybufferUtils.d.ts","sourceRoot":"","sources":["../../../../src/Common/binary/ArraybufferUtils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,qBAAa,gBAAgB;IAE5B;;;;;;OAMG;IACA,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAA;IAc9B;;;;;;OAMG;IACA,MAAM,CAAC,UAAU,CAAC,GAAG,KAAA;IA8BxB;;;;;;OAMG;IACA,MAAM,CAAC,UAAU,CAAC,MAAM,KAAA;CAa3B"}
|
49
types/Common/binary/Base64Utils.d.ts
vendored
Normal file
49
types/Common/binary/Base64Utils.d.ts
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Base64Utils contains methods to convert from and to Base64 binary format.
|
||||
* @static
|
||||
*
|
||||
*/
|
||||
export declare class Base64Utils {
|
||||
/**
|
||||
* Charset used to encode binary data.
|
||||
*
|
||||
* @attribute encoding
|
||||
* @type {String}
|
||||
*/
|
||||
static encoding: string;
|
||||
/**
|
||||
* Remove base64 header from data.
|
||||
*
|
||||
* Usefull for removing the heander from image, audio, video, etc.
|
||||
*
|
||||
* @method removeHeader
|
||||
* @param {String} base64
|
||||
* @return {String} base64
|
||||
*/
|
||||
static removeHeader: (data: any) => any;
|
||||
/**
|
||||
* Get the file format present in the base64 string.
|
||||
*
|
||||
* @method getFileFormat
|
||||
* @param {String} data Base64 data.
|
||||
* @return {String} File format present in the JSON data.
|
||||
*/
|
||||
static getFileFormat: (data: any) => any;
|
||||
/**
|
||||
* Create base64 string from arraybuffer.
|
||||
*
|
||||
* @method fromArraybuffer
|
||||
* @param {Arraybuffer} arraybuffer
|
||||
* @return {String} base64
|
||||
*/
|
||||
static fromArraybuffer: (arraybuffer: any) => string;
|
||||
/**
|
||||
* Create base64 string from binary string.
|
||||
*
|
||||
* @method fromBinaryString
|
||||
* @param {String} str
|
||||
* @return {String} base64
|
||||
*/
|
||||
static fromBinaryString: (str: any) => string;
|
||||
}
|
||||
//# sourceMappingURL=Base64Utils.d.ts.map
|
1
types/Common/binary/Base64Utils.d.ts.map
Normal file
1
types/Common/binary/Base64Utils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Base64Utils.d.ts","sourceRoot":"","sources":["../../../../src/Common/binary/Base64Utils.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,qBAAa,WAAW;IAEvB;;;;;OAKG;IACA,MAAM,CAAC,QAAQ,SAAsE;IAExF;;;;;;;;OAQG;IACA,MAAM,CAAC,YAAY,qBAGjB;IAEL;;;;;;OAMG;IACA,MAAM,CAAC,aAAa,qBAMlB;IAEL;;;;;;OAMG;IACA,MAAM,CAAC,eAAe,+BA8CpB;IAEL;;;;;;OAMG;IACA,MAAM,CAAC,gBAAgB,uBAwCrB;CACL"}
|
15
types/Common/binary/BufferUtils.d.ts
vendored
Normal file
15
types/Common/binary/BufferUtils.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/// <reference types="node" />
|
||||
/**
|
||||
* BufferUtils contains methods to convert from and to Node.js Buffer binary format
|
||||
*/
|
||||
export declare class BufferUtils {
|
||||
/**
|
||||
* Create nodejs buffer from arraybuffer
|
||||
*
|
||||
* @method fromArrayBuffer
|
||||
* @param {Arraybuffer} array
|
||||
* @return {Buffer} buffer
|
||||
*/
|
||||
static fromArrayBuffer: (array: any) => Buffer;
|
||||
}
|
||||
//# sourceMappingURL=BufferUtils.d.ts.map
|
1
types/Common/binary/BufferUtils.d.ts.map
Normal file
1
types/Common/binary/BufferUtils.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"BufferUtils.d.ts","sourceRoot":"","sources":["../../../../src/Common/binary/BufferUtils.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,qBAAa,WAAW;IAEvB;;;;;;OAMM;IACH,MAAM,CAAC,eAAe,yBAWpB;CAEL"}
|
16
types/Common/eval.d.ts
vendored
Normal file
16
types/Common/eval.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* eval2("+10", { L: 100 }, "L")
|
||||
* @param expr
|
||||
* @param [params]
|
||||
* @param [defaultParam] 当输入 +10 这样的表达式时,设置默认的操作变量
|
||||
* @returns 计算结果
|
||||
*/
|
||||
export declare function eval2(expr: string, params?: {}, defaultParam?: string): number;
|
||||
export declare function safeEval(expr: string, params?: {}, defaultParam?: string): number;
|
||||
export declare function CheckExpr(expr: string, params: any): {
|
||||
res: any;
|
||||
error: any;
|
||||
};
|
||||
/**解析大括号内的 */
|
||||
export declare function ParseExpr(expr: string, params?: {}): string;
|
||||
//# sourceMappingURL=eval.d.ts.map
|
1
types/Common/eval.d.ts.map
Normal file
1
types/Common/eval.d.ts.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"eval.d.ts","sourceRoot":"","sources":["../../../src/Common/eval.ts"],"names":[],"mappings":"AAmDA;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAsB9E;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAUjF;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG;;;EAYlD;AAGD,aAAa;AACb,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,EAAE,UAOlD"}
|
Reference in New Issue
Block a user