mxdraw 0.1.316 → 0.1.317
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mxdraw.d.ts +17 -0
- package/dist/mxdraw.esm.js +1 -1
- package/dist/mxdraw.umd.js +1 -1
- package/package.json +3 -2
package/dist/mxdraw.d.ts
CHANGED
|
@@ -1107,10 +1107,16 @@ declare class MxVueInterface {
|
|
|
1107
1107
|
mTitleButtonBarData: any;
|
|
1108
1108
|
mLayerComboxData: any;
|
|
1109
1109
|
mColorComboxData: any;
|
|
1110
|
+
mRightMenuSnapTypeFun: any;
|
|
1111
|
+
mTsWeb_MxUiVue: any;
|
|
1110
1112
|
mountSetCoordFun: (fun: ((coordTip: string) => void) | undefined) => void;
|
|
1111
1113
|
mountUpdateCursorFun: (fun: ((cursorType: string) => void) | undefined) => void;
|
|
1112
1114
|
mountKeydownEvent: (fun: ((arg0: any) => void) | undefined) => void;
|
|
1113
1115
|
onKeydown: (keyCode: number) => void;
|
|
1116
|
+
mountsetRightMenuSnapTypeFun: (fun: ((type: number) => void) | undefined) => void;
|
|
1117
|
+
setRightMenuOSmodeValue(lOSmode: number): void;
|
|
1118
|
+
executeOperations(lUiOperations: number): void;
|
|
1119
|
+
mountTsWeb_MxUiVue(mxuiVue: any): void;
|
|
1114
1120
|
setTipCoord: (str: any) => void;
|
|
1115
1121
|
getCursorType: () => string;
|
|
1116
1122
|
setCursorType: (curtype: string | number) => void;
|
|
@@ -1132,6 +1138,7 @@ declare class MxVueInterface {
|
|
|
1132
1138
|
[x: string]: any;
|
|
1133
1139
|
}) => void;
|
|
1134
1140
|
mountMxEvent: (name: string | number, call: any) => void;
|
|
1141
|
+
getRightMenuType(isShift: boolean): number;
|
|
1135
1142
|
}
|
|
1136
1143
|
|
|
1137
1144
|
/**
|
|
@@ -1538,6 +1545,14 @@ declare class MxFunClass {
|
|
|
1538
1545
|
* ```
|
|
1539
1546
|
*/
|
|
1540
1547
|
isRunningCommand: () => boolean;
|
|
1548
|
+
/**
|
|
1549
|
+
* 当前正在运行的命令
|
|
1550
|
+
* @return any
|
|
1551
|
+
* @example
|
|
1552
|
+
* ``` typescript
|
|
1553
|
+
* ```
|
|
1554
|
+
*/
|
|
1555
|
+
getRunningCommand: () => any;
|
|
1541
1556
|
/**
|
|
1542
1557
|
* 窗口缩放,把指定的范围内的图形放到视区中
|
|
1543
1558
|
* @param dLBx 矩形框范围的左下角X坐标
|
|
@@ -1800,6 +1815,8 @@ interface iniConfig {
|
|
|
1800
1815
|
EnableCADEntityGripEidt?: number;
|
|
1801
1816
|
/** 是使用图纸中的视区角度设置,默认为true */
|
|
1802
1817
|
EnableDrawingViewAngle?: boolean;
|
|
1818
|
+
/** 是否启用命令与用户交互操作启动右键菜单,默认为false */
|
|
1819
|
+
EnableCommandRightClickMenu?: boolean;
|
|
1803
1820
|
}
|
|
1804
1821
|
type MxFunType = MxFunClass;
|
|
1805
1822
|
|