mxdraw 0.1.315 → 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 +26 -2
- 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坐标
|
|
@@ -1587,9 +1602,8 @@ declare class MxFunClass {
|
|
|
1587
1602
|
*/
|
|
1588
1603
|
getQueryString: (name: string) => string;
|
|
1589
1604
|
/**
|
|
1590
|
-
*
|
|
1605
|
+
* 设置配制参数.
|
|
1591
1606
|
* @param name
|
|
1592
|
-
* @return object 配制参数.
|
|
1593
1607
|
* @example
|
|
1594
1608
|
* ``` typescript
|
|
1595
1609
|
* Mx.MxFun.setIniset({
|
|
@@ -1598,6 +1612,14 @@ declare class MxFunClass {
|
|
|
1598
1612
|
* ```
|
|
1599
1613
|
*/
|
|
1600
1614
|
setIniset: (iniObj: iniConfig) => void;
|
|
1615
|
+
/**
|
|
1616
|
+
* 得到当前配制参数.
|
|
1617
|
+
* @return object 配制参数.
|
|
1618
|
+
* @example
|
|
1619
|
+
* ``` typescript
|
|
1620
|
+
* ```
|
|
1621
|
+
*/
|
|
1622
|
+
getIniSet: () => iniConfig;
|
|
1601
1623
|
/**
|
|
1602
1624
|
* 重新打开cad文件,该函数在控件创建完后,需要再次重新打开文件,调用。
|
|
1603
1625
|
* @param sFile 打的cad文件路径
|
|
@@ -1793,6 +1815,8 @@ interface iniConfig {
|
|
|
1793
1815
|
EnableCADEntityGripEidt?: number;
|
|
1794
1816
|
/** 是使用图纸中的视区角度设置,默认为true */
|
|
1795
1817
|
EnableDrawingViewAngle?: boolean;
|
|
1818
|
+
/** 是否启用命令与用户交互操作启动右键菜单,默认为false */
|
|
1819
|
+
EnableCommandRightClickMenu?: boolean;
|
|
1796
1820
|
}
|
|
1797
1821
|
type MxFunType = MxFunClass;
|
|
1798
1822
|
|