mxdraw 0.1.249 → 0.1.250

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 CHANGED
@@ -1154,6 +1154,15 @@ declare function createMxObject(this: MxFunType, { canvasId, cadFile, callback,
1154
1154
  }): void;
1155
1155
 
1156
1156
  declare let mxUiData: MxVueInterface;
1157
+ interface MxFunClass {
1158
+ /** mxdraw引入初始化(一般用于在这个阶段注册命令) */
1159
+ on(name: "init"): void;
1160
+ /**
1161
+ * 注册一个系统事件的监听
1162
+ * init 事件会在模块加载完成后触发。
1163
+ * */
1164
+ on(eventName: string, call: any): void;
1165
+ }
1157
1166
  /**
1158
1167
  * MxFun 模块
1159
1168
  * 导出库时已实例化,只需要调用实例方法 例如:
@@ -1673,11 +1682,6 @@ declare class MxFunClass {
1673
1682
  * ```
1674
1683
  */
1675
1684
  getCurrentMousePostion(): THREE.Vector3;
1676
- /**
1677
- * 注册一个系统事件的监听
1678
- * init 事件会在模块加载完成后触发。
1679
- * */
1680
- on: (eventName: string, call: any) => void;
1681
1685
  /**
1682
1686
  * 触发一个系统事件的调用
1683
1687
  * */
@@ -3352,48 +3356,88 @@ declare enum MrxDbgUiPrBaseReturn {
3352
3356
 
3353
3357
  /** @module MrxDbgUiPrPointClass */
3354
3358
 
3359
+ /** 鼠标样式类型 */
3355
3360
  declare enum MxCursorType {
3361
+ /** 正常 */
3356
3362
  kNormal = 0,
3363
+ /** 矩形 */
3357
3364
  kRect = 1,
3365
+ /**十字 */
3358
3366
  kCross = 2
3359
3367
  }
3368
+ /** 动态输入显示类型 */
3360
3369
  declare enum DynamicInputType {
3370
+ /** 不进行动态显示 */
3361
3371
  kNoInput = 0,
3372
+ /** X,Y坐标输入 */
3362
3373
  kXYCoordInput = 1,
3374
+ /** 输入与前一个点的距离和与水平的夹角,并能动态跟踪. */
3363
3375
  kDistanceInput = 2,
3376
+ /** 仅显示提示 */
3364
3377
  kDynTip = 3,
3378
+ /** 自动确定输入类型. */
3365
3379
  kAutoInput = 4,
3380
+ /** 输入与前一个点的距离和与水平的夹角 */
3366
3381
  kAngleInput = 5
3367
3382
  }
3383
+ /** 当前交互操作返回值类型 */
3368
3384
  declare enum DetailedResult {
3385
+ /** 未知操作 */
3369
3386
  kUnknown = 1,
3387
+ /** 移动触摸按下 */
3370
3388
  kTouchDownIn = 2,
3389
+ /** 移动触摸抬起 */
3371
3390
  kTouchUpIn = 3,
3391
+ /** 鼠标左键输入。 */
3372
3392
  kMouseLeftIn = 4,
3393
+ /** 鼠标左键输入抬起。 */
3373
3394
  kMouseLeftUpIn = 5,
3395
+ /** 鼠标右键输入 */
3374
3396
  kMouseRightIn = 6,
3397
+ /** 命令行输入有效内容退出,比如输入了关键字 */
3375
3398
  kKeyIn = 7,
3399
+ /** 坐标输入(文字提示输入对应数字也行) */
3376
3400
  kCoordIn = 8,
3401
+ /** 空回车输入 */
3377
3402
  kNullEnterIn = 9,
3403
+ /** 空回空格输入 */
3378
3404
  kNullSpaceIn = 10,
3405
+ /** ESC输入 */
3379
3406
  kEcsIn = 11,
3407
+ /** 新命令,使用当前命令退出. */
3380
3408
  kNewCommadIn = 12
3381
3409
  }
3410
+ /** 用户输入函数控制操作符 */
3382
3411
  declare enum UserInputControls {
3412
+ /** 由正射模式控制 */
3383
3413
  kGovernedByOrthoMode = 1,
3414
+ /** 接受用户空输入 */
3384
3415
  kNullResponseAccepted = 2,
3416
+ /** 不回显Ctrl c的取消 */
3385
3417
  kDontEchoCancelForCtrlC = 4,
3418
+ /** 不更新最后一点 */
3386
3419
  kDontUpdateLastPoint = 8,
3420
+ /** 无图纸限制检查 */
3387
3421
  kNoDwgLimitsChecking = 16,
3422
+ /** 不接受0输入 */
3388
3423
  kNoZeroResponseAccepted = 32,
3424
+ /** 不接受负数输入 */
3389
3425
  kNoNegativeResponseAccepted = 64,
3426
+ /** 接受3d坐标 */
3390
3427
  kAccept3dCoordinates = 128,
3428
+ /** 接受鼠标向上移动作为指针 */
3391
3429
  kAcceptMouseUpAsPoint = 256,
3430
+ /** 任何空格都会终止输入 */
3392
3431
  kAnyBlankTerminatesInput = 512,
3432
+ /** 首字母空格终止输入 */
3393
3433
  kInitialBlankTerminatesInput = 1024,
3434
+ /** 接受其他输入字符串 */
3394
3435
  kAcceptOtherInputString = 2048,
3436
+ /** 由UCS检测控制 */
3395
3437
  kGovernedByUCSDetect = 4096,
3438
+ /** 无z方向正交 */
3396
3439
  kNoZDirectionOrtho = 8192,
3440
+ /** 接受空格输入 */
3397
3441
  kSpacesInAccepted = 16384
3398
3442
  }
3399
3443
  declare class MrxDbgUiPrBase {