mxdraw 0.1.316 → 0.1.318
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 +22 -3
- 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坐标
|
|
@@ -1776,7 +1791,7 @@ interface iniConfig {
|
|
|
1776
1791
|
/** 启动O 捕捉功能 */
|
|
1777
1792
|
EnableOsnapFunction?: boolean;
|
|
1778
1793
|
/** 启动夹点编辑 */
|
|
1779
|
-
|
|
1794
|
+
EnableGripEdit?: boolean;
|
|
1780
1795
|
/** 多选 */
|
|
1781
1796
|
multipleSelect?: boolean;
|
|
1782
1797
|
/**自动重置渲染器 */
|
|
@@ -1793,13 +1808,17 @@ interface iniConfig {
|
|
|
1793
1808
|
inputRectWidth?: number;
|
|
1794
1809
|
/** 夹点颜色 */
|
|
1795
1810
|
gripPointColor?: number;
|
|
1796
|
-
/** 1,使用
|
|
1811
|
+
/** 1,使用EnableGripEdit设置,默认值是1
|
|
1797
1812
|
** 2 启用CAD对象夹点编辑
|
|
1798
1813
|
** 0 禁用AD对象夹点编辑
|
|
1799
1814
|
*/
|
|
1800
|
-
|
|
1815
|
+
EnableCADEntityGripEdit?: number;
|
|
1801
1816
|
/** 是使用图纸中的视区角度设置,默认为true */
|
|
1802
1817
|
EnableDrawingViewAngle?: boolean;
|
|
1818
|
+
/** 是否启用命令与用户交互操作启动右键菜单,默认为false */
|
|
1819
|
+
EnableCommandRightClickMenu?: boolean;
|
|
1820
|
+
/** 是否启用触模屏命令交互操作时支持多点触模放大缩小视区,默认为false */
|
|
1821
|
+
MobileCommandOperationSupportsMultipoint?: boolean;
|
|
1803
1822
|
}
|
|
1804
1823
|
type MxFunType = MxFunClass;
|
|
1805
1824
|
|