@mlightcad/cad-simple-viewer 1.4.12 → 1.5.0
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/index.js +35505 -24550
- package/dist/index.umd.cjs +180 -49
- package/dist/libredwg-parser-worker.js +4874 -4548
- package/dist/mtext-renderer-worker.js +3587 -3534
- package/lib/app/AcApDocManager.d.ts +73 -8
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +216 -46
- package/lib/app/AcApDocManager.js.map +1 -1
- package/lib/command/AcApLogCmd.d.ts +1 -1
- package/lib/command/AcApLogCmd.d.ts.map +1 -1
- package/lib/command/AcApLogCmd.js +1 -1
- package/lib/command/AcApLogCmd.js.map +1 -1
- package/lib/command/AcApOpenCmd.d.ts +1 -1
- package/lib/command/AcApOpenCmd.d.ts.map +1 -1
- package/lib/command/AcApOpenCmd.js +1 -2
- package/lib/command/AcApOpenCmd.js.map +1 -1
- package/lib/command/AcApPanCmd.d.ts +1 -1
- package/lib/command/AcApPanCmd.d.ts.map +1 -1
- package/lib/command/AcApPanCmd.js +1 -2
- package/lib/command/AcApPanCmd.js.map +1 -1
- package/lib/command/AcApQNewCmd.d.ts +1 -1
- package/lib/command/AcApQNewCmd.d.ts.map +1 -1
- package/lib/command/AcApQNewCmd.js +1 -1
- package/lib/command/AcApQNewCmd.js.map +1 -1
- package/lib/command/AcApRegenCmd.d.ts +1 -1
- package/lib/command/AcApRegenCmd.d.ts.map +1 -1
- package/lib/command/AcApRegenCmd.js +1 -1
- package/lib/command/AcApRegenCmd.js.map +1 -1
- package/lib/command/AcApSelectCmd.d.ts +1 -1
- package/lib/command/AcApSelectCmd.d.ts.map +1 -1
- package/lib/command/AcApSelectCmd.js +1 -2
- package/lib/command/AcApSelectCmd.js.map +1 -1
- package/lib/command/AcApZoomCmd.d.ts +91 -20
- package/lib/command/AcApZoomCmd.d.ts.map +1 -1
- package/lib/command/AcApZoomCmd.js +288 -23
- package/lib/command/AcApZoomCmd.js.map +1 -1
- package/lib/command/{AcApConvertToDxfCmd.d.ts → convert/AcApConvertToDxfCmd.d.ts} +2 -2
- package/lib/command/convert/AcApConvertToDxfCmd.d.ts.map +1 -0
- package/lib/command/{AcApConvertToDxfCmd.js → convert/AcApConvertToDxfCmd.js} +1 -1
- package/lib/command/convert/AcApConvertToDxfCmd.js.map +1 -0
- package/lib/command/convert/AcApConvertToPngCmd.d.ts +53 -0
- package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -0
- package/lib/command/convert/AcApConvertToPngCmd.js +200 -0
- package/lib/command/convert/AcApConvertToPngCmd.js.map +1 -0
- package/lib/command/{AcApConvertToSvgCmd.d.ts → convert/AcApConvertToSvgCmd.d.ts} +2 -2
- package/lib/command/convert/AcApConvertToSvgCmd.d.ts.map +1 -0
- package/lib/command/{AcApConvertToSvgCmd.js → convert/AcApConvertToSvgCmd.js} +1 -1
- package/lib/command/convert/AcApConvertToSvgCmd.js.map +1 -0
- package/lib/command/convert/AcApDxfConvertor.d.ts.map +1 -0
- package/lib/command/{AcApDxfConvertor.js → convert/AcApDxfConvertor.js} +1 -1
- package/lib/command/convert/AcApDxfConvertor.js.map +1 -0
- package/lib/command/convert/AcApPngConvertor.d.ts +80 -0
- package/lib/command/convert/AcApPngConvertor.d.ts.map +1 -0
- package/lib/command/convert/AcApPngConvertor.js +233 -0
- package/lib/command/convert/AcApPngConvertor.js.map +1 -0
- package/lib/command/convert/AcApSvgConvertor.d.ts.map +1 -0
- package/lib/command/{AcApSvgConvertor.js → convert/AcApSvgConvertor.js} +1 -1
- package/lib/command/convert/AcApSvgConvertor.js.map +1 -0
- package/lib/command/convert/index.d.ts +6 -0
- package/lib/command/convert/index.d.ts.map +1 -0
- package/lib/command/convert/index.js +6 -0
- package/lib/command/convert/index.js.map +1 -0
- package/lib/command/draw/AcApArcCmd.d.ts +297 -0
- package/lib/command/draw/AcApArcCmd.d.ts.map +1 -0
- package/lib/command/{AcApArcCmd.js → draw/AcApArcCmd.js} +794 -13
- package/lib/command/draw/AcApArcCmd.js.map +1 -0
- package/lib/command/draw/AcApCircleCmd.d.ts +81 -0
- package/lib/command/draw/AcApCircleCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApCircleCmd.js +594 -0
- package/lib/command/draw/AcApCircleCmd.js.map +1 -0
- package/lib/command/{AcApDimLinearCmd.d.ts → draw/AcApDimLinearCmd.d.ts} +2 -2
- package/lib/command/draw/AcApDimLinearCmd.d.ts.map +1 -0
- package/lib/command/{AcApDimLinearCmd.js → draw/AcApDimLinearCmd.js} +3 -3
- package/lib/command/draw/AcApDimLinearCmd.js.map +1 -0
- package/lib/command/draw/AcApEllipseCmd.d.ts +87 -0
- package/lib/command/draw/AcApEllipseCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApEllipseCmd.js +583 -0
- package/lib/command/draw/AcApEllipseCmd.js.map +1 -0
- package/lib/command/draw/AcApHatchCmd.d.ts +247 -0
- package/lib/command/draw/AcApHatchCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApHatchCmd.js +900 -0
- package/lib/command/draw/AcApHatchCmd.js.map +1 -0
- package/lib/command/draw/AcApLineCmd.d.ts +57 -0
- package/lib/command/draw/AcApLineCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApLineCmd.js +263 -0
- package/lib/command/draw/AcApLineCmd.js.map +1 -0
- package/lib/command/draw/AcApMLineCmd.d.ts +31 -0
- package/lib/command/draw/AcApMLineCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApMLineCmd.js +531 -0
- package/lib/command/draw/AcApMLineCmd.js.map +1 -0
- package/lib/command/{AcApMTextCmd.d.ts → draw/AcApMTextCmd.d.ts} +2 -2
- package/lib/command/draw/AcApMTextCmd.d.ts.map +1 -0
- package/lib/command/{AcApMTextCmd.js → draw/AcApMTextCmd.js} +3 -3
- package/lib/command/draw/AcApMTextCmd.js.map +1 -0
- package/lib/command/draw/AcApPointCmd.d.ts +16 -0
- package/lib/command/draw/AcApPointCmd.d.ts.map +1 -0
- package/lib/command/{AcApZoomToBoxCmd.js → draw/AcApPointCmd.js} +32 -37
- package/lib/command/draw/AcApPointCmd.js.map +1 -0
- package/lib/command/draw/AcApPolygonCmd.d.ts +69 -0
- package/lib/command/draw/AcApPolygonCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApPolygonCmd.js +422 -0
- package/lib/command/draw/AcApPolygonCmd.js.map +1 -0
- package/lib/command/{AcApPolylineCmd.d.ts → draw/AcApPolylineCmd.d.ts} +2 -2
- package/lib/command/draw/AcApPolylineCmd.d.ts.map +1 -0
- package/lib/command/{AcApPolylineCmd.js → draw/AcApPolylineCmd.js} +3 -3
- package/lib/command/draw/AcApPolylineCmd.js.map +1 -0
- package/lib/command/draw/AcApRayCmd.d.ts +10 -0
- package/lib/command/draw/AcApRayCmd.d.ts.map +1 -0
- package/lib/command/{AcApLineCmd.js → draw/AcApRayCmd.js} +63 -44
- package/lib/command/draw/AcApRayCmd.js.map +1 -0
- package/lib/command/draw/AcApRectCmd.d.ts +168 -0
- package/lib/command/draw/AcApRectCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApRectCmd.js +822 -0
- package/lib/command/draw/AcApRectCmd.js.map +1 -0
- package/lib/command/draw/AcApSplineCmd.d.ts +85 -0
- package/lib/command/draw/AcApSplineCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApSplineCmd.js +620 -0
- package/lib/command/draw/AcApSplineCmd.js.map +1 -0
- package/lib/command/draw/AcApXLineCmd.d.ts +25 -0
- package/lib/command/draw/AcApXLineCmd.d.ts.map +1 -0
- package/lib/command/draw/AcApXLineCmd.js +210 -0
- package/lib/command/draw/AcApXLineCmd.js.map +1 -0
- package/lib/command/draw/index.d.ts +16 -0
- package/lib/command/draw/index.d.ts.map +1 -0
- package/lib/command/draw/index.js +16 -0
- package/lib/command/draw/index.js.map +1 -0
- package/lib/command/index.d.ts +6 -26
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +6 -26
- package/lib/command/index.js.map +1 -1
- package/lib/command/layer/AcApLayerCloseCmd.d.ts +23 -0
- package/lib/command/layer/AcApLayerCloseCmd.d.ts.map +1 -0
- package/lib/command/{AcApRevRectCmd.js → layer/AcApLayerCloseCmd.js} +27 -24
- package/lib/command/layer/AcApLayerCloseCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerCmd.d.ts +215 -0
- package/lib/command/layer/AcApLayerCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerCmd.js +765 -0
- package/lib/command/layer/AcApLayerCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerCurCmd.d.ts +43 -0
- package/lib/command/layer/AcApLayerCurCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerCurCmd.js +183 -0
- package/lib/command/layer/AcApLayerCurCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerDelCmd.d.ts +112 -0
- package/lib/command/layer/AcApLayerDelCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerDelCmd.js +446 -0
- package/lib/command/layer/AcApLayerDelCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerFreezeCmd.d.ts +103 -0
- package/lib/command/layer/AcApLayerFreezeCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerFreezeCmd.js +398 -0
- package/lib/command/layer/AcApLayerFreezeCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerIsoCmd.d.ts +99 -0
- package/lib/command/layer/AcApLayerIsoCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerIsoCmd.js +485 -0
- package/lib/command/layer/AcApLayerIsoCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerIsoState.d.ts +68 -0
- package/lib/command/layer/AcApLayerIsoState.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerIsoState.js +53 -0
- package/lib/command/layer/AcApLayerIsoState.js.map +1 -0
- package/lib/command/layer/AcApLayerLockCmd.d.ts +50 -0
- package/lib/command/layer/AcApLayerLockCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerLockCmd.js +175 -0
- package/lib/command/layer/AcApLayerLockCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerOffCmd.d.ts +95 -0
- package/lib/command/layer/AcApLayerOffCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerOffCmd.js +384 -0
- package/lib/command/layer/AcApLayerOffCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerOnCmd.d.ts +30 -0
- package/lib/command/layer/AcApLayerOnCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerOnCmd.js +138 -0
- package/lib/command/layer/AcApLayerOnCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerPCmd.d.ts +83 -0
- package/lib/command/layer/AcApLayerPCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerPCmd.js +241 -0
- package/lib/command/layer/AcApLayerPCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerThawCmd.d.ts +37 -0
- package/lib/command/layer/AcApLayerThawCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerThawCmd.js +150 -0
- package/lib/command/layer/AcApLayerThawCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerUnisoCmd.d.ts +52 -0
- package/lib/command/layer/AcApLayerUnisoCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerUnisoCmd.js +199 -0
- package/lib/command/layer/AcApLayerUnisoCmd.js.map +1 -0
- package/lib/command/layer/AcApLayerUnlockCmd.d.ts +50 -0
- package/lib/command/layer/AcApLayerUnlockCmd.d.ts.map +1 -0
- package/lib/command/layer/AcApLayerUnlockCmd.js +175 -0
- package/lib/command/layer/AcApLayerUnlockCmd.js.map +1 -0
- package/lib/command/layer/index.d.ts +14 -0
- package/lib/command/layer/index.d.ts.map +1 -0
- package/lib/command/layer/index.js +14 -0
- package/lib/command/layer/index.js.map +1 -0
- package/lib/command/{AcApClearMeasurementsCmd.d.ts → measure/AcApClearMeasurementsCmd.d.ts} +2 -2
- package/lib/command/measure/AcApClearMeasurementsCmd.d.ts.map +1 -0
- package/lib/command/{AcApClearMeasurementsCmd.js → measure/AcApClearMeasurementsCmd.js} +1 -1
- package/lib/command/measure/AcApClearMeasurementsCmd.js.map +1 -0
- package/lib/command/{AcApMeasureAngleCmd.d.ts → measure/AcApMeasureAngleCmd.d.ts} +2 -2
- package/lib/command/measure/AcApMeasureAngleCmd.d.ts.map +1 -0
- package/lib/command/{AcApMeasureAngleCmd.js → measure/AcApMeasureAngleCmd.js} +3 -3
- package/lib/command/measure/AcApMeasureAngleCmd.js.map +1 -0
- package/lib/command/{AcApMeasureArcCmd.d.ts → measure/AcApMeasureArcCmd.d.ts} +2 -2
- package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -0
- package/lib/command/{AcApMeasureArcCmd.js → measure/AcApMeasureArcCmd.js} +3 -3
- package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -0
- package/lib/command/{AcApMeasureAreaCmd.d.ts → measure/AcApMeasureAreaCmd.d.ts} +2 -2
- package/lib/command/measure/AcApMeasureAreaCmd.d.ts.map +1 -0
- package/lib/command/{AcApMeasureAreaCmd.js → measure/AcApMeasureAreaCmd.js} +6 -3
- package/lib/command/measure/AcApMeasureAreaCmd.js.map +1 -0
- package/lib/command/{AcApMeasureDistanceCmd.d.ts → measure/AcApMeasureDistanceCmd.d.ts} +2 -2
- package/lib/command/measure/AcApMeasureDistanceCmd.d.ts.map +1 -0
- package/lib/command/{AcApMeasureDistanceCmd.js → measure/AcApMeasureDistanceCmd.js} +3 -3
- package/lib/command/measure/AcApMeasureDistanceCmd.js.map +1 -0
- package/lib/command/measure/index.d.ts +6 -0
- package/lib/command/measure/index.d.ts.map +1 -0
- package/lib/command/measure/index.js +6 -0
- package/lib/command/measure/index.js.map +1 -0
- package/lib/command/modify/AcApCopyCmd.d.ts +94 -0
- package/lib/command/modify/AcApCopyCmd.d.ts.map +1 -0
- package/lib/command/modify/AcApCopyCmd.js +549 -0
- package/lib/command/modify/AcApCopyCmd.js.map +1 -0
- package/lib/command/{AcApEraseCmd.d.ts → modify/AcApEraseCmd.d.ts} +2 -2
- package/lib/command/modify/AcApEraseCmd.d.ts.map +1 -0
- package/lib/command/{AcApEraseCmd.js → modify/AcApEraseCmd.js} +3 -5
- package/lib/command/modify/AcApEraseCmd.js.map +1 -0
- package/lib/command/modify/AcApMoveCmd.d.ts +16 -0
- package/lib/command/modify/AcApMoveCmd.d.ts.map +1 -0
- package/lib/command/modify/AcApMoveCmd.js +277 -0
- package/lib/command/modify/AcApMoveCmd.js.map +1 -0
- package/lib/command/modify/AcApRotateCmd.d.ts +81 -0
- package/lib/command/modify/AcApRotateCmd.d.ts.map +1 -0
- package/lib/command/modify/AcApRotateCmd.js +487 -0
- package/lib/command/modify/AcApRotateCmd.js.map +1 -0
- package/lib/command/modify/index.d.ts +5 -0
- package/lib/command/modify/index.d.ts.map +1 -0
- package/lib/command/modify/index.js +5 -0
- package/lib/command/modify/index.js.map +1 -0
- package/lib/command/{AcApBaseRevCmd.d.ts → review/AcApBaseRevCmd.d.ts} +2 -2
- package/lib/command/review/AcApBaseRevCmd.d.ts.map +1 -0
- package/lib/command/{AcApBaseRevCmd.js → review/AcApBaseRevCmd.js} +2 -2
- package/lib/command/review/AcApBaseRevCmd.js.map +1 -0
- package/lib/command/review/AcApRevCircleCmd.d.ts +18 -0
- package/lib/command/review/AcApRevCircleCmd.d.ts.map +1 -0
- package/lib/command/{AcApCircleCmd.js → review/AcApRevCircleCmd.js} +26 -42
- package/lib/command/review/AcApRevCircleCmd.js.map +1 -0
- package/lib/command/{AcApRevCloudCmd.d.ts → review/AcApRevCloudCmd.d.ts} +2 -2
- package/lib/command/review/AcApRevCloudCmd.d.ts.map +1 -0
- package/lib/command/{AcApRevCloudCmd.js → review/AcApRevCloudCmd.js} +3 -3
- package/lib/command/review/AcApRevCloudCmd.js.map +1 -0
- package/lib/command/review/AcApRevRectCmd.d.ts +18 -0
- package/lib/command/review/AcApRevRectCmd.d.ts.map +1 -0
- package/lib/command/{AcApRectCmd.js → review/AcApRevRectCmd.js} +43 -28
- package/lib/command/review/AcApRevRectCmd.js.map +1 -0
- package/lib/command/{AcApRevVisibilityCmd.d.ts → review/AcApRevVisibilityCmd.d.ts} +1 -1
- package/lib/command/review/AcApRevVisibilityCmd.d.ts.map +1 -0
- package/lib/command/{AcApRevVisibilityCmd.js → review/AcApRevVisibilityCmd.js} +2 -2
- package/lib/command/review/AcApRevVisibilityCmd.js.map +1 -0
- package/lib/command/{AcApSketchCmd.d.ts → review/AcApSketchCmd.d.ts} +2 -2
- package/lib/command/review/AcApSketchCmd.d.ts.map +1 -0
- package/lib/command/{AcApSketchCmd.js → review/AcApSketchCmd.js} +3 -3
- package/lib/command/review/AcApSketchCmd.js.map +1 -0
- package/lib/command/review/index.d.ts +7 -0
- package/lib/command/review/index.d.ts.map +1 -0
- package/lib/command/review/index.js +7 -0
- package/lib/command/review/index.js.map +1 -0
- package/lib/editor/command/AcEdCommandStack.d.ts +54 -1
- package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommandStack.js +207 -25
- package/lib/editor/command/AcEdCommandStack.js.map +1 -1
- package/lib/editor/global/eventBus.d.ts +4 -6
- package/lib/editor/global/eventBus.d.ts.map +1 -1
- package/lib/editor/global/eventBus.js.map +1 -1
- package/lib/editor/input/AcEdSelectionFilter.d.ts +79 -0
- package/lib/editor/input/AcEdSelectionFilter.d.ts.map +1 -0
- package/lib/editor/input/AcEdSelectionFilter.js +231 -0
- package/lib/editor/input/AcEdSelectionFilter.js.map +1 -0
- package/lib/editor/input/AcEditor.d.ts +37 -2
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +89 -0
- package/lib/editor/input/AcEditor.js.map +1 -1
- package/lib/editor/input/index.d.ts +1 -0
- package/lib/editor/input/index.d.ts.map +1 -1
- package/lib/editor/input/index.js +1 -0
- package/lib/editor/input/index.js.map +1 -1
- package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts +47 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdKeywordCollection.js +19 -0
- package/lib/editor/input/prompt/AcEdKeywordCollection.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts +7 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js +17 -0
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptBoxOptions.d.ts +6 -0
- package/lib/editor/input/prompt/AcEdPromptBoxOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptBoxOptions.js +16 -0
- package/lib/editor/input/prompt/AcEdPromptBoxOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts +17 -0
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js +30 -3
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts +6 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.js +7 -0
- package/lib/editor/input/prompt/AcEdPromptOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +6 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js +16 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.d.ts +65 -0
- package/lib/editor/input/session/AcEdKeywordSession.d.ts.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.js +71 -0
- package/lib/editor/input/session/AcEdKeywordSession.js.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.d.ts +29 -4
- package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.js +118 -24
- package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts +1 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +12 -4
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts +23 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js +32 -9
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +28 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.d.ts +377 -16
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.js +994 -529
- package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
- package/lib/editor/input/ui/AcEdMessageType.d.ts +10 -0
- package/lib/editor/input/ui/AcEdMessageType.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMessageType.js +2 -0
- package/lib/editor/input/ui/AcEdMessageType.js.map +1 -0
- package/lib/editor/input/ui/AcEdRubberBand.d.ts +15 -1
- package/lib/editor/input/ui/AcEdRubberBand.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdRubberBand.js +42 -10
- package/lib/editor/input/ui/AcEdRubberBand.js.map +1 -1
- package/lib/editor/input/ui/index.d.ts +1 -0
- package/lib/editor/input/ui/index.d.ts.map +1 -1
- package/lib/editor/input/ui/index.js +1 -0
- package/lib/editor/input/ui/index.js.map +1 -1
- package/lib/editor/view/AcEdBaseView.d.ts +3 -8
- package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
- package/lib/editor/view/AcEdBaseView.js +3 -5
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/editor/view/AcEdHoverController.d.ts +2 -3
- package/lib/editor/view/AcEdHoverController.d.ts.map +1 -1
- package/lib/editor/view/AcEdHoverController.js +7 -0
- package/lib/editor/view/AcEdHoverController.js.map +1 -1
- package/lib/editor/view/AcEdSelectionAction.d.ts +108 -0
- package/lib/editor/view/AcEdSelectionAction.d.ts.map +1 -0
- package/lib/editor/view/AcEdSelectionAction.js +74 -0
- package/lib/editor/view/AcEdSelectionAction.js.map +1 -0
- package/lib/editor/view/index.d.ts +1 -0
- package/lib/editor/view/index.d.ts.map +1 -1
- package/lib/editor/view/index.js +1 -0
- package/lib/editor/view/index.js.map +1 -1
- package/lib/i18n/en/command.d.ts +148 -10
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +153 -15
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +838 -36
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +827 -25
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +148 -10
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +155 -17
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +851 -49
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +829 -27
- package/lib/i18n/zh/jig.js.map +1 -1
- package/lib/plugin/AcApPluginManager.d.ts.map +1 -1
- package/lib/plugin/AcApPluginManager.js.map +1 -1
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts +136 -2
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts.map +1 -1
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js +154 -16
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js.map +1 -1
- package/lib/view/AcTrLayer.d.ts.map +1 -1
- package/lib/view/AcTrLayer.js +5 -3
- package/lib/view/AcTrLayer.js.map +1 -1
- package/lib/view/AcTrLayout.d.ts +17 -0
- package/lib/view/AcTrLayout.d.ts.map +1 -1
- package/lib/view/AcTrLayout.js +34 -2
- package/lib/view/AcTrLayout.js.map +1 -1
- package/lib/view/AcTrPickResultUtil.d.ts +4 -0
- package/lib/view/AcTrPickResultUtil.d.ts.map +1 -0
- package/lib/view/AcTrPickResultUtil.js +54 -0
- package/lib/view/AcTrPickResultUtil.js.map +1 -0
- package/lib/view/AcTrView2d.d.ts +25 -1
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +242 -104
- package/lib/view/AcTrView2d.js.map +1 -1
- package/package.json +11 -9
- package/lib/command/AcApArcCmd.d.ts +0 -140
- package/lib/command/AcApArcCmd.d.ts.map +0 -1
- package/lib/command/AcApArcCmd.js.map +0 -1
- package/lib/command/AcApBaseRevCmd.d.ts.map +0 -1
- package/lib/command/AcApBaseRevCmd.js.map +0 -1
- package/lib/command/AcApCircleCmd.d.ts +0 -22
- package/lib/command/AcApCircleCmd.d.ts.map +0 -1
- package/lib/command/AcApCircleCmd.js.map +0 -1
- package/lib/command/AcApClearMeasurementsCmd.d.ts.map +0 -1
- package/lib/command/AcApClearMeasurementsCmd.js.map +0 -1
- package/lib/command/AcApConvertToDxfCmd.d.ts.map +0 -1
- package/lib/command/AcApConvertToDxfCmd.js.map +0 -1
- package/lib/command/AcApConvertToSvgCmd.d.ts.map +0 -1
- package/lib/command/AcApConvertToSvgCmd.js.map +0 -1
- package/lib/command/AcApDimLinearCmd.d.ts.map +0 -1
- package/lib/command/AcApDimLinearCmd.js.map +0 -1
- package/lib/command/AcApDxfConvertor.d.ts.map +0 -1
- package/lib/command/AcApDxfConvertor.js.map +0 -1
- package/lib/command/AcApEraseCmd.d.ts.map +0 -1
- package/lib/command/AcApEraseCmd.js.map +0 -1
- package/lib/command/AcApLineCmd.d.ts +0 -22
- package/lib/command/AcApLineCmd.d.ts.map +0 -1
- package/lib/command/AcApLineCmd.js.map +0 -1
- package/lib/command/AcApMTextCmd.d.ts.map +0 -1
- package/lib/command/AcApMTextCmd.js.map +0 -1
- package/lib/command/AcApMeasureAngleCmd.d.ts.map +0 -1
- package/lib/command/AcApMeasureAngleCmd.js.map +0 -1
- package/lib/command/AcApMeasureArcCmd.d.ts.map +0 -1
- package/lib/command/AcApMeasureArcCmd.js.map +0 -1
- package/lib/command/AcApMeasureAreaCmd.d.ts.map +0 -1
- package/lib/command/AcApMeasureAreaCmd.js.map +0 -1
- package/lib/command/AcApMeasureDistanceCmd.d.ts.map +0 -1
- package/lib/command/AcApMeasureDistanceCmd.js.map +0 -1
- package/lib/command/AcApPolylineCmd.d.ts.map +0 -1
- package/lib/command/AcApPolylineCmd.js.map +0 -1
- package/lib/command/AcApRectCmd.d.ts +0 -23
- package/lib/command/AcApRectCmd.d.ts.map +0 -1
- package/lib/command/AcApRectCmd.js.map +0 -1
- package/lib/command/AcApRevCircleCmd.d.ts +0 -10
- package/lib/command/AcApRevCircleCmd.d.ts.map +0 -1
- package/lib/command/AcApRevCircleCmd.js +0 -83
- package/lib/command/AcApRevCircleCmd.js.map +0 -1
- package/lib/command/AcApRevCloudCmd.d.ts.map +0 -1
- package/lib/command/AcApRevCloudCmd.js.map +0 -1
- package/lib/command/AcApRevRectCmd.d.ts +0 -10
- package/lib/command/AcApRevRectCmd.d.ts.map +0 -1
- package/lib/command/AcApRevRectCmd.js.map +0 -1
- package/lib/command/AcApRevVisibilityCmd.d.ts.map +0 -1
- package/lib/command/AcApRevVisibilityCmd.js.map +0 -1
- package/lib/command/AcApSketchCmd.d.ts.map +0 -1
- package/lib/command/AcApSketchCmd.js.map +0 -1
- package/lib/command/AcApSplineCmd.d.ts +0 -20
- package/lib/command/AcApSplineCmd.d.ts.map +0 -1
- package/lib/command/AcApSplineCmd.js +0 -213
- package/lib/command/AcApSplineCmd.js.map +0 -1
- package/lib/command/AcApSvgConvertor.d.ts.map +0 -1
- package/lib/command/AcApSvgConvertor.js.map +0 -1
- package/lib/command/AcApZoomToBoxCmd.d.ts +0 -29
- package/lib/command/AcApZoomToBoxCmd.d.ts.map +0 -1
- package/lib/command/AcApZoomToBoxCmd.js.map +0 -1
- /package/lib/command/{AcApDxfConvertor.d.ts → convert/AcApDxfConvertor.d.ts} +0 -0
- /package/lib/command/{AcApSvgConvertor.d.ts → convert/AcApSvgConvertor.d.ts} +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes how a new selection result should be applied to the current
|
|
3
|
+
* selection set.
|
|
4
|
+
*
|
|
5
|
+
* - `'replace'`: clear the current selection set, then add the new ids.
|
|
6
|
+
* - `'add'`: keep the current selection set and append any new ids.
|
|
7
|
+
* - `'remove'`: remove matching ids from the current selection set.
|
|
8
|
+
*
|
|
9
|
+
* This type is used by the view layer to unify click selection, box
|
|
10
|
+
* selection, and command-driven selection behavior.
|
|
11
|
+
*/
|
|
12
|
+
export type AcEdSelectionAction = 'replace' | 'add' | 'remove';
|
|
13
|
+
/**
|
|
14
|
+
* Minimal modifier-key snapshot needed to resolve selection behavior from a
|
|
15
|
+
* mouse or pointer event.
|
|
16
|
+
*
|
|
17
|
+
* The full DOM {@link MouseEvent} object is intentionally not required here so
|
|
18
|
+
* the resolver can stay lightweight, reusable, and easy to test in isolation.
|
|
19
|
+
*/
|
|
20
|
+
export interface AcEdSelectionModifierState {
|
|
21
|
+
/**
|
|
22
|
+
* Whether the Shift key was pressed when the selection event occurred.
|
|
23
|
+
*
|
|
24
|
+
* In this viewer, Shift has the highest priority and maps to
|
|
25
|
+
* {@link AcEdSelectionAction | `'remove'`}.
|
|
26
|
+
*/
|
|
27
|
+
shiftKey: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the Control key was pressed when the selection event occurred.
|
|
30
|
+
*
|
|
31
|
+
* When `true` and {@link shiftKey} is `false`, the selection resolves to
|
|
32
|
+
* {@link AcEdSelectionAction | `'add'`}.
|
|
33
|
+
*/
|
|
34
|
+
ctrlKey: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the Meta/Command key was pressed when the selection event
|
|
37
|
+
* occurred.
|
|
38
|
+
*
|
|
39
|
+
* This provides macOS-friendly additive selection behavior equivalent to
|
|
40
|
+
* {@link ctrlKey}.
|
|
41
|
+
*/
|
|
42
|
+
metaKey: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Resolves the selection action implied by the current modifier-key state.
|
|
46
|
+
*
|
|
47
|
+
* Precedence is evaluated in the following order:
|
|
48
|
+
* 1. `Shift` returns `'remove'`.
|
|
49
|
+
* 2. `Ctrl` or `Meta` returns `'add'`.
|
|
50
|
+
* 3. If no modifier is active, `defaultAction` is returned.
|
|
51
|
+
*
|
|
52
|
+
* This lets different call sites share the same modifier semantics while still
|
|
53
|
+
* choosing their own non-modified default, such as `'replace'` for generic
|
|
54
|
+
* selection flows or `'add'` for pointer interactions that should preserve the
|
|
55
|
+
* existing selection set.
|
|
56
|
+
*
|
|
57
|
+
* @param e - Modifier-key state captured from the triggering input event.
|
|
58
|
+
* @param defaultAction - Action to use when no supported modifier key is
|
|
59
|
+
* active. Defaults to `'replace'`.
|
|
60
|
+
* @returns The normalized selection action to apply.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* resolveSelectionActionFromEvent(
|
|
65
|
+
* { shiftKey: false, ctrlKey: false, metaKey: false },
|
|
66
|
+
* 'replace'
|
|
67
|
+
* )
|
|
68
|
+
* // => 'replace'
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```ts
|
|
73
|
+
* resolveSelectionActionFromEvent({
|
|
74
|
+
* shiftKey: true,
|
|
75
|
+
* ctrlKey: false,
|
|
76
|
+
* metaKey: false
|
|
77
|
+
* })
|
|
78
|
+
* // => 'remove'
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export declare function resolveSelectionActionFromEvent(e: AcEdSelectionModifierState, defaultAction?: AcEdSelectionAction): AcEdSelectionAction;
|
|
82
|
+
/**
|
|
83
|
+
* Resolves the default action for direct pointer-based selection in the 2D
|
|
84
|
+
* viewer.
|
|
85
|
+
*
|
|
86
|
+
* Unlike the generic resolver, pointer selection without modifiers defaults to
|
|
87
|
+
* `'add'` so repeated clicks or drag selections preserve the existing
|
|
88
|
+
* selection set instead of replacing it.
|
|
89
|
+
*
|
|
90
|
+
* Modifier precedence remains the same as
|
|
91
|
+
* {@link resolveSelectionActionFromEvent}:
|
|
92
|
+
* `Shift` removes, while `Ctrl`/`Meta` adds.
|
|
93
|
+
*
|
|
94
|
+
* @param e - Modifier-key state captured from the pointer event.
|
|
95
|
+
* @returns The selection action that should be used for pointer selection.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* resolvePointerSelectionAction({
|
|
100
|
+
* shiftKey: false,
|
|
101
|
+
* ctrlKey: false,
|
|
102
|
+
* metaKey: false
|
|
103
|
+
* })
|
|
104
|
+
* // => 'add'
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
export declare function resolvePointerSelectionAction(e: AcEdSelectionModifierState): AcEdSelectionAction;
|
|
108
|
+
//# sourceMappingURL=AcEdSelectionAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSelectionAction.d.ts","sourceRoot":"","sources":["../../../src/editor/view/AcEdSelectionAction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,CAAA;AAE9D;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;;;;;OAMG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,+BAA+B,CAC7C,CAAC,EAAE,0BAA0B,EAC7B,aAAa,GAAE,mBAA+B,GAC7C,mBAAmB,CAIrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,6BAA6B,CAC3C,CAAC,EAAE,0BAA0B,GAC5B,mBAAmB,CAErB"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves the selection action implied by the current modifier-key state.
|
|
3
|
+
*
|
|
4
|
+
* Precedence is evaluated in the following order:
|
|
5
|
+
* 1. `Shift` returns `'remove'`.
|
|
6
|
+
* 2. `Ctrl` or `Meta` returns `'add'`.
|
|
7
|
+
* 3. If no modifier is active, `defaultAction` is returned.
|
|
8
|
+
*
|
|
9
|
+
* This lets different call sites share the same modifier semantics while still
|
|
10
|
+
* choosing their own non-modified default, such as `'replace'` for generic
|
|
11
|
+
* selection flows or `'add'` for pointer interactions that should preserve the
|
|
12
|
+
* existing selection set.
|
|
13
|
+
*
|
|
14
|
+
* @param e - Modifier-key state captured from the triggering input event.
|
|
15
|
+
* @param defaultAction - Action to use when no supported modifier key is
|
|
16
|
+
* active. Defaults to `'replace'`.
|
|
17
|
+
* @returns The normalized selection action to apply.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* resolveSelectionActionFromEvent(
|
|
22
|
+
* { shiftKey: false, ctrlKey: false, metaKey: false },
|
|
23
|
+
* 'replace'
|
|
24
|
+
* )
|
|
25
|
+
* // => 'replace'
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* resolveSelectionActionFromEvent({
|
|
31
|
+
* shiftKey: true,
|
|
32
|
+
* ctrlKey: false,
|
|
33
|
+
* metaKey: false
|
|
34
|
+
* })
|
|
35
|
+
* // => 'remove'
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export function resolveSelectionActionFromEvent(e, defaultAction) {
|
|
39
|
+
if (defaultAction === void 0) { defaultAction = 'replace'; }
|
|
40
|
+
if (e.shiftKey)
|
|
41
|
+
return 'remove';
|
|
42
|
+
if (e.ctrlKey || e.metaKey)
|
|
43
|
+
return 'add';
|
|
44
|
+
return defaultAction;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Resolves the default action for direct pointer-based selection in the 2D
|
|
48
|
+
* viewer.
|
|
49
|
+
*
|
|
50
|
+
* Unlike the generic resolver, pointer selection without modifiers defaults to
|
|
51
|
+
* `'add'` so repeated clicks or drag selections preserve the existing
|
|
52
|
+
* selection set instead of replacing it.
|
|
53
|
+
*
|
|
54
|
+
* Modifier precedence remains the same as
|
|
55
|
+
* {@link resolveSelectionActionFromEvent}:
|
|
56
|
+
* `Shift` removes, while `Ctrl`/`Meta` adds.
|
|
57
|
+
*
|
|
58
|
+
* @param e - Modifier-key state captured from the pointer event.
|
|
59
|
+
* @returns The selection action that should be used for pointer selection.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* resolvePointerSelectionAction({
|
|
64
|
+
* shiftKey: false,
|
|
65
|
+
* ctrlKey: false,
|
|
66
|
+
* metaKey: false
|
|
67
|
+
* })
|
|
68
|
+
* // => 'add'
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export function resolvePointerSelectionAction(e) {
|
|
72
|
+
return resolveSelectionActionFromEvent(e, 'add');
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=AcEdSelectionAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSelectionAction.js","sourceRoot":"","sources":["../../../src/editor/view/AcEdSelectionAction.ts"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,UAAU,+BAA+B,CAC7C,CAA6B,EAC7B,aAA8C;IAA9C,8BAAA,EAAA,yBAA8C;IAE9C,IAAI,CAAC,CAAC,QAAQ;QAAE,OAAO,QAAQ,CAAA;IAC/B,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO;QAAE,OAAO,KAAK,CAAA;IACxC,OAAO,aAAa,CAAA;AACtB,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,6BAA6B,CAC3C,CAA6B;IAE7B,OAAO,+BAA+B,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;AAClD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA"}
|
package/lib/editor/view/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA"}
|
package/lib/i18n/en/command.d.ts
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
ACAD: {
|
|
3
|
+
'-hatch': {
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
'-layer': {
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
3
9
|
arc: {
|
|
4
10
|
description: string;
|
|
5
11
|
};
|
|
12
|
+
cdxf: {
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
6
15
|
cecolor: {
|
|
7
16
|
description: string;
|
|
8
17
|
};
|
|
@@ -12,17 +21,27 @@ declare const _default: {
|
|
|
12
21
|
celweight: {
|
|
13
22
|
description: string;
|
|
14
23
|
};
|
|
24
|
+
circle: {
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
15
27
|
clayer: {
|
|
16
28
|
description: string;
|
|
17
29
|
};
|
|
18
|
-
|
|
30
|
+
cmleaderstyle: {
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
cmlscale: {
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
cmlstyle: {
|
|
19
37
|
description: string;
|
|
20
38
|
};
|
|
21
39
|
colortheme: {
|
|
22
40
|
description: string;
|
|
23
41
|
};
|
|
24
|
-
|
|
42
|
+
copy: {
|
|
25
43
|
description: string;
|
|
44
|
+
prompt: string;
|
|
26
45
|
};
|
|
27
46
|
csvg: {
|
|
28
47
|
description: string;
|
|
@@ -30,28 +49,125 @@ declare const _default: {
|
|
|
30
49
|
dimlinear: {
|
|
31
50
|
description: string;
|
|
32
51
|
};
|
|
52
|
+
measurearea: {
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
measureangle: {
|
|
56
|
+
description: string;
|
|
57
|
+
};
|
|
58
|
+
measurearc: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
measuredistance: {
|
|
62
|
+
description: string;
|
|
63
|
+
};
|
|
64
|
+
measurementcolor: {
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
ellipse: {
|
|
68
|
+
description: string;
|
|
69
|
+
};
|
|
33
70
|
erase: {
|
|
34
71
|
description: string;
|
|
35
72
|
prompt: string;
|
|
36
73
|
};
|
|
37
|
-
|
|
74
|
+
hatch: {
|
|
38
75
|
description: string;
|
|
39
76
|
};
|
|
40
|
-
|
|
77
|
+
hpang: {
|
|
41
78
|
description: string;
|
|
42
79
|
};
|
|
43
|
-
|
|
80
|
+
hpassoc: {
|
|
44
81
|
description: string;
|
|
45
82
|
};
|
|
46
|
-
|
|
83
|
+
hpbackgroundcolor: {
|
|
47
84
|
description: string;
|
|
48
85
|
};
|
|
49
|
-
|
|
86
|
+
hpcolor: {
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
hpdouble: {
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
hpislanddetection: {
|
|
93
|
+
description: string;
|
|
94
|
+
};
|
|
95
|
+
hplayer: {
|
|
96
|
+
description: string;
|
|
97
|
+
};
|
|
98
|
+
hpname: {
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
hpscale: {
|
|
102
|
+
description: string;
|
|
103
|
+
};
|
|
104
|
+
hpseparate: {
|
|
105
|
+
description: string;
|
|
106
|
+
};
|
|
107
|
+
hptransparency: {
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
laycur: {
|
|
111
|
+
description: string;
|
|
112
|
+
prompt: string;
|
|
113
|
+
};
|
|
114
|
+
laydel: {
|
|
115
|
+
description: string;
|
|
116
|
+
};
|
|
117
|
+
layerclose: {
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
layerp: {
|
|
121
|
+
description: string;
|
|
122
|
+
};
|
|
123
|
+
layfrz: {
|
|
124
|
+
description: string;
|
|
125
|
+
prompt: string;
|
|
126
|
+
};
|
|
127
|
+
layiso: {
|
|
128
|
+
description: string;
|
|
129
|
+
prompt: string;
|
|
130
|
+
};
|
|
131
|
+
laylck: {
|
|
132
|
+
description: string;
|
|
133
|
+
prompt: string;
|
|
134
|
+
};
|
|
135
|
+
layoff: {
|
|
136
|
+
description: string;
|
|
137
|
+
prompt: string;
|
|
138
|
+
};
|
|
139
|
+
layon: {
|
|
140
|
+
description: string;
|
|
141
|
+
};
|
|
142
|
+
laythw: {
|
|
143
|
+
description: string;
|
|
144
|
+
};
|
|
145
|
+
layulk: {
|
|
146
|
+
description: string;
|
|
147
|
+
prompt: string;
|
|
148
|
+
};
|
|
149
|
+
layuniso: {
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
152
|
+
line: {
|
|
50
153
|
description: string;
|
|
51
154
|
};
|
|
52
155
|
log: {
|
|
53
156
|
description: string;
|
|
54
157
|
};
|
|
158
|
+
lwdisplay: {
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
mline: {
|
|
162
|
+
description: string;
|
|
163
|
+
};
|
|
164
|
+
move: {
|
|
165
|
+
description: string;
|
|
166
|
+
prompt: string;
|
|
167
|
+
};
|
|
168
|
+
mtext: {
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
55
171
|
open: {
|
|
56
172
|
description: string;
|
|
57
173
|
};
|
|
@@ -61,10 +177,25 @@ declare const _default: {
|
|
|
61
177
|
pickbox: {
|
|
62
178
|
description: string;
|
|
63
179
|
};
|
|
180
|
+
pline: {
|
|
181
|
+
description: string;
|
|
182
|
+
};
|
|
183
|
+
pngout: {
|
|
184
|
+
description: string;
|
|
185
|
+
};
|
|
186
|
+
point: {
|
|
187
|
+
description: string;
|
|
188
|
+
};
|
|
189
|
+
polygon: {
|
|
190
|
+
description: string;
|
|
191
|
+
};
|
|
64
192
|
qnew: {
|
|
65
193
|
description: string;
|
|
66
194
|
};
|
|
67
|
-
|
|
195
|
+
ray: {
|
|
196
|
+
description: string;
|
|
197
|
+
};
|
|
198
|
+
rectang: {
|
|
68
199
|
description: string;
|
|
69
200
|
};
|
|
70
201
|
regen: {
|
|
@@ -73,19 +204,26 @@ declare const _default: {
|
|
|
73
204
|
revcloud: {
|
|
74
205
|
description: string;
|
|
75
206
|
};
|
|
207
|
+
rotate: {
|
|
208
|
+
description: string;
|
|
209
|
+
prompt: string;
|
|
210
|
+
};
|
|
76
211
|
select: {
|
|
77
212
|
description: string;
|
|
78
213
|
};
|
|
79
214
|
sketch: {
|
|
80
215
|
description: string;
|
|
81
216
|
};
|
|
217
|
+
spline: {
|
|
218
|
+
description: string;
|
|
219
|
+
};
|
|
82
220
|
whitebkcolor: {
|
|
83
221
|
description: string;
|
|
84
222
|
};
|
|
85
|
-
|
|
223
|
+
xline: {
|
|
86
224
|
description: string;
|
|
87
225
|
};
|
|
88
|
-
|
|
226
|
+
zoom: {
|
|
89
227
|
description: string;
|
|
90
228
|
};
|
|
91
229
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4PC"}
|
package/lib/i18n/en/command.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
ACAD: {
|
|
3
|
+
'-hatch': {
|
|
4
|
+
description: 'Creates hatch fills through command-line options without the ribbon UI'
|
|
5
|
+
},
|
|
6
|
+
'-layer': {
|
|
7
|
+
description: 'Manages layers through command-line options'
|
|
8
|
+
},
|
|
3
9
|
arc: {
|
|
4
10
|
description: 'Creates an arc'
|
|
5
11
|
},
|
|
12
|
+
cdxf: {
|
|
13
|
+
description: 'Exports current drawing to DXF'
|
|
14
|
+
},
|
|
6
15
|
cecolor: {
|
|
7
16
|
description: 'Sets the current default color for newly created objects'
|
|
8
17
|
},
|
|
@@ -12,17 +21,27 @@ export default {
|
|
|
12
21
|
celweight: {
|
|
13
22
|
description: 'Sets the default lineweight for newly created objects'
|
|
14
23
|
},
|
|
24
|
+
circle: {
|
|
25
|
+
description: 'Creates one circle by center and radius'
|
|
26
|
+
},
|
|
15
27
|
clayer: {
|
|
16
28
|
description: 'Sets the current layer for new objects and editing operations'
|
|
17
29
|
},
|
|
18
|
-
|
|
19
|
-
description: '
|
|
30
|
+
cmleaderstyle: {
|
|
31
|
+
description: 'Sets the name of the current multileader style'
|
|
32
|
+
},
|
|
33
|
+
cmlscale: {
|
|
34
|
+
description: 'Controls the overall width of a multiline'
|
|
35
|
+
},
|
|
36
|
+
cmlstyle: {
|
|
37
|
+
description: 'Sets the name of the current multiline style'
|
|
20
38
|
},
|
|
21
39
|
colortheme: {
|
|
22
40
|
description: 'Controls the color theme of the user interface (dark or light)'
|
|
23
41
|
},
|
|
24
|
-
|
|
25
|
-
description: '
|
|
42
|
+
copy: {
|
|
43
|
+
description: 'Copies selected entities by cloning them to new positions',
|
|
44
|
+
prompt: 'Select entities'
|
|
26
45
|
},
|
|
27
46
|
csvg: {
|
|
28
47
|
description: 'Converts current drawing to SVG'
|
|
@@ -30,28 +49,125 @@ export default {
|
|
|
30
49
|
dimlinear: {
|
|
31
50
|
description: 'Creates linear dimensions'
|
|
32
51
|
},
|
|
52
|
+
measurearea: {
|
|
53
|
+
description: 'Calculates the area and perimeter of selected objects or points'
|
|
54
|
+
},
|
|
55
|
+
measureangle: {
|
|
56
|
+
description: 'Measures the angle between two lines or three points'
|
|
57
|
+
},
|
|
58
|
+
measurearc: {
|
|
59
|
+
description: 'Measures the length of an arc segment'
|
|
60
|
+
},
|
|
61
|
+
measuredistance: {
|
|
62
|
+
description: 'Measures the distance and delta values between two points'
|
|
63
|
+
},
|
|
64
|
+
measurementcolor: {
|
|
65
|
+
description: 'Sets the color used for measurement overlays'
|
|
66
|
+
},
|
|
67
|
+
ellipse: {
|
|
68
|
+
description: 'Creates an ellipse or elliptical arc by axis endpoints or center'
|
|
69
|
+
},
|
|
33
70
|
erase: {
|
|
34
71
|
description: 'Deletes selected entities from the drawing',
|
|
35
72
|
prompt: 'Select entities'
|
|
36
73
|
},
|
|
74
|
+
hatch: {
|
|
75
|
+
description: 'Fills an enclosed area or selected objects with a hatch pattern'
|
|
76
|
+
},
|
|
77
|
+
hpang: {
|
|
78
|
+
description: 'Sets the default angle, in radians, for newly created hatch patterns'
|
|
79
|
+
},
|
|
80
|
+
hpassoc: {
|
|
81
|
+
description: 'Controls whether newly created hatches are associative'
|
|
82
|
+
},
|
|
83
|
+
hpbackgroundcolor: {
|
|
84
|
+
description: 'Sets the default background color for newly created hatch patterns'
|
|
85
|
+
},
|
|
86
|
+
hpcolor: {
|
|
87
|
+
description: 'Sets the default color for newly created hatches'
|
|
88
|
+
},
|
|
89
|
+
hpdouble: {
|
|
90
|
+
description: 'Controls whether user-defined hatch patterns are doubled'
|
|
91
|
+
},
|
|
92
|
+
hpislanddetection: {
|
|
93
|
+
description: 'Controls how islands within newly created hatch boundaries are treated'
|
|
94
|
+
},
|
|
95
|
+
hplayer: {
|
|
96
|
+
description: 'Sets the default layer for newly created hatches and fills'
|
|
97
|
+
},
|
|
98
|
+
hpname: {
|
|
99
|
+
description: 'Sets the default pattern name for newly created hatches in this session'
|
|
100
|
+
},
|
|
101
|
+
hpscale: {
|
|
102
|
+
description: 'Sets the default scale factor for newly created hatch patterns'
|
|
103
|
+
},
|
|
104
|
+
hpseparate: {
|
|
105
|
+
description: 'Controls whether one or separate hatch objects are created for multiple boundaries'
|
|
106
|
+
},
|
|
107
|
+
hptransparency: {
|
|
108
|
+
description: 'Sets the default transparency for newly created hatches and fills'
|
|
109
|
+
},
|
|
110
|
+
laycur: {
|
|
111
|
+
description: 'Changes the layer property of selected objects to the current layer',
|
|
112
|
+
prompt: 'Select objects to be changed to the current layer'
|
|
113
|
+
},
|
|
114
|
+
laydel: {
|
|
115
|
+
description: 'Deletes a layer and all objects on that layer'
|
|
116
|
+
},
|
|
117
|
+
layerclose: {
|
|
118
|
+
description: 'Closes the Layer Properties Manager'
|
|
119
|
+
},
|
|
120
|
+
layerp: {
|
|
121
|
+
description: 'Undoes the last change or set of changes made to layer settings'
|
|
122
|
+
},
|
|
123
|
+
layfrz: {
|
|
124
|
+
description: 'Freezes the layer of selected objects',
|
|
125
|
+
prompt: 'Select object on layer to freeze'
|
|
126
|
+
},
|
|
127
|
+
layiso: {
|
|
128
|
+
description: 'Isolates the layers of selected objects',
|
|
129
|
+
prompt: 'Select objects on layers to isolate'
|
|
130
|
+
},
|
|
131
|
+
laylck: {
|
|
132
|
+
description: 'Locks the layer of selected objects',
|
|
133
|
+
prompt: 'Select object on layer to lock'
|
|
134
|
+
},
|
|
135
|
+
layoff: {
|
|
136
|
+
description: 'Turns off the layer of selected objects',
|
|
137
|
+
prompt: 'Select object on layer to turn off'
|
|
138
|
+
},
|
|
139
|
+
layon: {
|
|
140
|
+
description: 'Turns on all layers in the drawing'
|
|
141
|
+
},
|
|
142
|
+
laythw: {
|
|
143
|
+
description: 'Thaws all frozen layers in the drawing'
|
|
144
|
+
},
|
|
145
|
+
layulk: {
|
|
146
|
+
description: 'Unlocks the layer of selected objects',
|
|
147
|
+
prompt: 'Select object on layer to unlock'
|
|
148
|
+
},
|
|
149
|
+
layuniso: {
|
|
150
|
+
description: 'Restores layers hidden or locked by LAYISO'
|
|
151
|
+
},
|
|
37
152
|
line: {
|
|
38
153
|
description: 'Draws straight line segments between points'
|
|
39
154
|
},
|
|
155
|
+
log: {
|
|
156
|
+
description: 'Logs debug information in console'
|
|
157
|
+
},
|
|
40
158
|
lwdisplay: {
|
|
41
159
|
description: 'Controls whether lineweights are displayed in the drawing'
|
|
42
160
|
},
|
|
43
|
-
|
|
44
|
-
description: 'Creates
|
|
161
|
+
mline: {
|
|
162
|
+
description: 'Creates multiple parallel lines as one multiline object'
|
|
45
163
|
},
|
|
46
|
-
|
|
47
|
-
description: '
|
|
164
|
+
move: {
|
|
165
|
+
description: 'Moves selected entities by a displacement vector',
|
|
166
|
+
prompt: 'Select entities'
|
|
48
167
|
},
|
|
49
168
|
mtext: {
|
|
50
169
|
description: 'Creates one mtext entity'
|
|
51
170
|
},
|
|
52
|
-
log: {
|
|
53
|
-
description: 'Logs debug information in console'
|
|
54
|
-
},
|
|
55
171
|
open: {
|
|
56
172
|
description: 'Opens an existing drawing file'
|
|
57
173
|
},
|
|
@@ -61,10 +177,25 @@ export default {
|
|
|
61
177
|
pickbox: {
|
|
62
178
|
description: 'Sets the size (in pixels) of the selection box used to pick objects'
|
|
63
179
|
},
|
|
180
|
+
pline: {
|
|
181
|
+
description: 'Creates a polyline by specifying multiple points'
|
|
182
|
+
},
|
|
183
|
+
pngout: {
|
|
184
|
+
description: 'Exports to PNG'
|
|
185
|
+
},
|
|
186
|
+
point: {
|
|
187
|
+
description: 'Creates points'
|
|
188
|
+
},
|
|
189
|
+
polygon: {
|
|
190
|
+
description: 'Creates a regular polygon by center/radius or by one polygon edge'
|
|
191
|
+
},
|
|
64
192
|
qnew: {
|
|
65
193
|
description: 'Starts a new drawing'
|
|
66
194
|
},
|
|
67
|
-
|
|
195
|
+
ray: {
|
|
196
|
+
description: 'Creates a ray that starts at a point and extends to infinity'
|
|
197
|
+
},
|
|
198
|
+
rectang: {
|
|
68
199
|
description: 'Creates a rectangle by specifying two opposite corners'
|
|
69
200
|
},
|
|
70
201
|
regen: {
|
|
@@ -73,20 +204,27 @@ export default {
|
|
|
73
204
|
revcloud: {
|
|
74
205
|
description: 'Creates a revision cloud (cloud line) in rectangular shape'
|
|
75
206
|
},
|
|
207
|
+
rotate: {
|
|
208
|
+
description: 'Rotates selected entities around a base point',
|
|
209
|
+
prompt: 'Select entities'
|
|
210
|
+
},
|
|
76
211
|
select: {
|
|
77
212
|
description: 'Selects entities'
|
|
78
213
|
},
|
|
79
214
|
sketch: {
|
|
80
215
|
description: 'Creates a sketch line using polyline that tracks mouse movement'
|
|
81
216
|
},
|
|
217
|
+
spline: {
|
|
218
|
+
description: 'Creates a smooth spline curve by specifying control points'
|
|
219
|
+
},
|
|
82
220
|
whitebkcolor: {
|
|
83
221
|
description: 'Toggles the drawing area background between white and black'
|
|
84
222
|
},
|
|
223
|
+
xline: {
|
|
224
|
+
description: 'Creates a construction line that extends infinitely in both directions'
|
|
225
|
+
},
|
|
85
226
|
zoom: {
|
|
86
227
|
description: 'Zooms to display the maximum extents of all entities'
|
|
87
|
-
},
|
|
88
|
-
zoomw: {
|
|
89
|
-
description: 'Zooms to display an area specified by a rectangular window'
|
|
90
228
|
}
|
|
91
229
|
},
|
|
92
230
|
USER: {}
|