@mlightcad/cad-simple-viewer 1.4.13 → 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 +16972 -11328
- package/dist/index.umd.cjs +158 -34
- package/dist/libredwg-parser-worker.js +4828 -4464
- package/dist/mtext-renderer-worker.js +3587 -3534
- package/lib/app/AcApDocManager.d.ts +14 -5
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +62 -19
- 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/{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/{AcApConvertToPngCmd.d.ts → convert/AcApConvertToPngCmd.d.ts} +23 -5
- package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -0
- package/lib/command/{AcApConvertToPngCmd.js → convert/AcApConvertToPngCmd.js} +88 -15
- 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/{AcApPngConvertor.d.ts → convert/AcApPngConvertor.d.ts} +20 -35
- package/lib/command/convert/AcApPngConvertor.d.ts.map +1 -0
- package/lib/command/{AcApPngConvertor.js → convert/AcApPngConvertor.js} +99 -71
- 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} +793 -12
- package/lib/command/draw/AcApArcCmd.js.map +1 -0
- package/lib/command/{AcApCircleCmd.d.ts → draw/AcApCircleCmd.d.ts} +2 -2
- package/lib/command/draw/AcApCircleCmd.d.ts.map +1 -0
- package/lib/command/{AcApCircleCmd.js → draw/AcApCircleCmd.js} +3 -3
- 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/{AcApEllipseCmd.d.ts → draw/AcApEllipseCmd.d.ts} +2 -2
- package/lib/command/draw/AcApEllipseCmd.d.ts.map +1 -0
- package/lib/command/{AcApEllipseCmd.js → draw/AcApEllipseCmd.js} +3 -3
- package/lib/command/draw/AcApEllipseCmd.js.map +1 -0
- package/lib/command/{AcApHatchCmd.d.ts → draw/AcApHatchCmd.d.ts} +54 -17
- package/lib/command/draw/AcApHatchCmd.d.ts.map +1 -0
- package/lib/command/{AcApHatchCmd.js → draw/AcApHatchCmd.js} +122 -30
- package/lib/command/draw/AcApHatchCmd.js.map +1 -0
- package/lib/command/{AcApLineCmd.d.ts → draw/AcApLineCmd.d.ts} +2 -2
- package/lib/command/draw/AcApLineCmd.d.ts.map +1 -0
- package/lib/command/{AcApLineCmd.js → draw/AcApLineCmd.js} +3 -3
- 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/draw/AcApPointCmd.js +98 -0
- package/lib/command/draw/AcApPointCmd.js.map +1 -0
- package/lib/command/{AcApPolygonCmd.d.ts → draw/AcApPolygonCmd.d.ts} +2 -2
- package/lib/command/draw/AcApPolygonCmd.d.ts.map +1 -0
- package/lib/command/{AcApPolygonCmd.js → draw/AcApPolygonCmd.js} +3 -3
- 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/draw/AcApRayCmd.js +145 -0
- package/lib/command/draw/AcApRayCmd.js.map +1 -0
- package/lib/command/{AcApRectCmd.d.ts → draw/AcApRectCmd.d.ts} +2 -2
- package/lib/command/draw/AcApRectCmd.d.ts.map +1 -0
- package/lib/command/{AcApRectCmd.js → draw/AcApRectCmd.js} +3 -3
- package/lib/command/draw/AcApRectCmd.js.map +1 -0
- package/lib/command/{AcApSplineCmd.d.ts → draw/AcApSplineCmd.d.ts} +2 -2
- package/lib/command/draw/AcApSplineCmd.d.ts.map +1 -0
- package/lib/command/{AcApSplineCmd.js → draw/AcApSplineCmd.js} +3 -3
- 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 -32
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +6 -32
- 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/layer/AcApLayerCloseCmd.js +86 -0
- package/lib/command/layer/AcApLayerCloseCmd.js.map +1 -0
- package/lib/command/{AcApLayerCmd.d.ts → layer/AcApLayerCmd.d.ts} +3 -5
- package/lib/command/layer/AcApLayerCmd.d.ts.map +1 -0
- package/lib/command/{AcApLayerCmd.js → layer/AcApLayerCmd.js} +5 -8
- 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} +3 -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/{AcApMoveCmd.d.ts → modify/AcApMoveCmd.d.ts} +2 -2
- package/lib/command/modify/AcApMoveCmd.d.ts.map +1 -0
- package/lib/command/{AcApMoveCmd.js → modify/AcApMoveCmd.js} +3 -4
- 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/{AcApRevCircleCmd.d.ts → review/AcApRevCircleCmd.d.ts} +1 -1
- package/lib/command/review/AcApRevCircleCmd.d.ts.map +1 -0
- package/lib/command/{AcApRevCircleCmd.js → review/AcApRevCircleCmd.js} +4 -4
- 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/{AcApRevRectCmd.d.ts → review/AcApRevRectCmd.d.ts} +1 -1
- package/lib/command/review/AcApRevRectCmd.d.ts.map +1 -0
- package/lib/command/{AcApRevRectCmd.js → review/AcApRevRectCmd.js} +3 -3
- 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/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/AcEditor.d.ts +17 -0
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +23 -0
- package/lib/editor/input/AcEditor.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/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/ui/AcEdCommandLine.d.ts +25 -23
- package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.js +101 -43
- package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +4 -2
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.d.ts +21 -0
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.js +34 -4
- 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/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 +135 -15
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +144 -24
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +571 -212
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +661 -302
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +135 -15
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +145 -25
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +571 -212
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +660 -301
- package/lib/i18n/zh/jig.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/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 -0
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +225 -100
- package/lib/view/AcTrView2d.js.map +1 -1
- package/package.json +6 -6
- 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.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/AcApConvertToPngCmd.d.ts.map +0 -1
- package/lib/command/AcApConvertToPngCmd.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/AcApEllipseCmd.d.ts.map +0 -1
- package/lib/command/AcApEllipseCmd.js.map +0 -1
- package/lib/command/AcApEraseCmd.d.ts.map +0 -1
- package/lib/command/AcApEraseCmd.js.map +0 -1
- package/lib/command/AcApHatchCmd.d.ts.map +0 -1
- package/lib/command/AcApHatchCmd.js.map +0 -1
- package/lib/command/AcApLayerCmd.d.ts.map +0 -1
- package/lib/command/AcApLayerCmd.js.map +0 -1
- 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/AcApMoveCmd.d.ts.map +0 -1
- package/lib/command/AcApMoveCmd.js.map +0 -1
- package/lib/command/AcApPngConvertor.d.ts.map +0 -1
- package/lib/command/AcApPngConvertor.js.map +0 -1
- package/lib/command/AcApPolygonCmd.d.ts.map +0 -1
- package/lib/command/AcApPolygonCmd.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.map +0 -1
- package/lib/command/AcApRectCmd.js.map +0 -1
- package/lib/command/AcApRevCircleCmd.d.ts.map +0 -1
- 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.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.map +0 -1
- 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/{AcApDxfConvertor.d.ts → convert/AcApDxfConvertor.d.ts} +0 -0
- /package/lib/command/{AcApSvgConvertor.d.ts → convert/AcApSvgConvertor.d.ts} +0 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
26
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
27
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
28
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29
|
+
function step(op) {
|
|
30
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
31
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
32
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
33
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
34
|
+
switch (op[0]) {
|
|
35
|
+
case 0: case 1: t = op; break;
|
|
36
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
37
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
38
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
39
|
+
default:
|
|
40
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
41
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
42
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
43
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
44
|
+
if (t[2]) _.ops.pop();
|
|
45
|
+
_.trys.pop(); continue;
|
|
46
|
+
}
|
|
47
|
+
op = body.call(thisArg, _);
|
|
48
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
49
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
var __values = (this && this.__values) || function(o) {
|
|
53
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
54
|
+
if (m) return m.call(o);
|
|
55
|
+
if (o && typeof o.length === "number") return {
|
|
56
|
+
next: function () {
|
|
57
|
+
if (o && i >= o.length) o = void 0;
|
|
58
|
+
return { value: o && o[i++], done: !o };
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
62
|
+
};
|
|
63
|
+
import { AcApDocManager } from '../../app';
|
|
64
|
+
import { AcEdCommand, AcEdOpenMode } from '../../editor';
|
|
65
|
+
import { AcApI18n } from '../../i18n';
|
|
66
|
+
import { AcApLayerIsoState } from './AcApLayerIsoState';
|
|
67
|
+
/**
|
|
68
|
+
* AutoCAD-like `LAYUNISO` command.
|
|
69
|
+
*
|
|
70
|
+
* The command restores the layer state captured by the previous `LAYISO`.
|
|
71
|
+
* It only reverts properties that still match the value applied by `LAYISO`,
|
|
72
|
+
* so layer edits made after isolation are retained.
|
|
73
|
+
*/
|
|
74
|
+
var AcApLayerUnisoCmd = /** @class */ (function (_super) {
|
|
75
|
+
__extends(AcApLayerUnisoCmd, _super);
|
|
76
|
+
/**
|
|
77
|
+
* Creates a write-enabled `LAYUNISO` command instance.
|
|
78
|
+
*/
|
|
79
|
+
function AcApLayerUnisoCmd() {
|
|
80
|
+
var _this = _super.call(this) || this;
|
|
81
|
+
_this.mode = AcEdOpenMode.Write;
|
|
82
|
+
return _this;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Restores the previous `LAYISO` layer state when available.
|
|
86
|
+
*
|
|
87
|
+
* @param context - Active application context used to update layer states.
|
|
88
|
+
* @returns Resolves after restoration is attempted.
|
|
89
|
+
*/
|
|
90
|
+
AcApLayerUnisoCmd.prototype.execute = function (context) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
92
|
+
var snapshot, db, table, restoredLayers, _a, _b, entry, layer;
|
|
93
|
+
var e_1, _c;
|
|
94
|
+
return __generator(this, function (_d) {
|
|
95
|
+
snapshot = AcApLayerIsoState.consume();
|
|
96
|
+
if (!snapshot) {
|
|
97
|
+
this.notify(AcApI18n.t('jig.layuniso.noPrevious'), 'warning');
|
|
98
|
+
return [2 /*return*/];
|
|
99
|
+
}
|
|
100
|
+
db = context.doc.database;
|
|
101
|
+
table = db.tables.layerTable;
|
|
102
|
+
restoredLayers = 0;
|
|
103
|
+
try {
|
|
104
|
+
for (_a = __values(snapshot.layers), _b = _a.next(); !_b.done; _b = _a.next()) {
|
|
105
|
+
entry = _b.value;
|
|
106
|
+
layer = table.getAt(entry.name);
|
|
107
|
+
if (!layer) {
|
|
108
|
+
this.notify("".concat(AcApI18n.t('jig.layuniso.layerNotFound'), ": ").concat(entry.name), 'warning');
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if (this.restoreLayerIfUnchanged(layer, entry)) {
|
|
112
|
+
restoredLayers++;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
117
|
+
finally {
|
|
118
|
+
try {
|
|
119
|
+
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
|
|
120
|
+
}
|
|
121
|
+
finally { if (e_1) throw e_1.error; }
|
|
122
|
+
}
|
|
123
|
+
if (db.clayer === snapshot.currentLayerAfter &&
|
|
124
|
+
snapshot.currentLayerBefore !== snapshot.currentLayerAfter &&
|
|
125
|
+
table.getAt(snapshot.currentLayerBefore)) {
|
|
126
|
+
db.clayer = snapshot.currentLayerBefore;
|
|
127
|
+
}
|
|
128
|
+
context.view.selectionSet.clear();
|
|
129
|
+
if (restoredLayers === 0) {
|
|
130
|
+
this.notify(AcApI18n.t('jig.layuniso.nothingRestored'));
|
|
131
|
+
return [2 /*return*/];
|
|
132
|
+
}
|
|
133
|
+
this.notify("".concat(AcApI18n.t('jig.layuniso.restored'), ": ").concat(restoredLayers), 'success');
|
|
134
|
+
return [2 /*return*/];
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Restores tracked layer flags that were not changed after `LAYISO`.
|
|
140
|
+
*
|
|
141
|
+
* @param layer - Layer to restore.
|
|
142
|
+
* @param snapshot - Before/after state captured for this layer by `LAYISO`.
|
|
143
|
+
* @returns `true` if any tracked flag was restored.
|
|
144
|
+
*/
|
|
145
|
+
AcApLayerUnisoCmd.prototype.restoreLayerIfUnchanged = function (layer, snapshot) {
|
|
146
|
+
var restored = false;
|
|
147
|
+
if (layer.isOff === snapshot.isolated.isOff &&
|
|
148
|
+
layer.isOff !== snapshot.before.isOff) {
|
|
149
|
+
layer.isOff = snapshot.before.isOff;
|
|
150
|
+
restored = true;
|
|
151
|
+
}
|
|
152
|
+
if (layer.isFrozen === snapshot.isolated.isFrozen &&
|
|
153
|
+
layer.isFrozen !== snapshot.before.isFrozen) {
|
|
154
|
+
this.setLayerFrozen(layer, snapshot.before.isFrozen);
|
|
155
|
+
restored = true;
|
|
156
|
+
}
|
|
157
|
+
if (layer.isLocked === snapshot.isolated.isLocked &&
|
|
158
|
+
layer.isLocked !== snapshot.before.isLocked) {
|
|
159
|
+
this.setLayerLocked(layer, snapshot.before.isLocked);
|
|
160
|
+
restored = true;
|
|
161
|
+
}
|
|
162
|
+
return restored;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Sets or clears the frozen bit while preserving other layer flags.
|
|
166
|
+
*
|
|
167
|
+
* @param layer - Target layer table record.
|
|
168
|
+
* @param frozen - Whether the layer should be marked frozen.
|
|
169
|
+
*/
|
|
170
|
+
AcApLayerUnisoCmd.prototype.setLayerFrozen = function (layer, frozen) {
|
|
171
|
+
var _a;
|
|
172
|
+
var flags = (_a = layer.standardFlags) !== null && _a !== void 0 ? _a : 0;
|
|
173
|
+
layer.standardFlags = frozen ? flags | 0x01 : flags & ~0x01;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Sets or clears the locked bit while preserving other layer flags.
|
|
177
|
+
*
|
|
178
|
+
* @param layer - Target layer table record.
|
|
179
|
+
* @param locked - Whether the layer should be marked locked.
|
|
180
|
+
*/
|
|
181
|
+
AcApLayerUnisoCmd.prototype.setLayerLocked = function (layer, locked) {
|
|
182
|
+
var _a;
|
|
183
|
+
var flags = (_a = layer.standardFlags) !== null && _a !== void 0 ? _a : 0;
|
|
184
|
+
layer.standardFlags = locked ? flags | 0x04 : flags & ~0x04;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Sends a localized status message through the command-line output.
|
|
188
|
+
*
|
|
189
|
+
* @param message - Text to display to the user.
|
|
190
|
+
* @param type - Visual severity mapped to command-line message styles.
|
|
191
|
+
*/
|
|
192
|
+
AcApLayerUnisoCmd.prototype.notify = function (message, type) {
|
|
193
|
+
if (type === void 0) { type = 'info'; }
|
|
194
|
+
AcApDocManager.instance.editor.showMessage(message, type);
|
|
195
|
+
};
|
|
196
|
+
return AcApLayerUnisoCmd;
|
|
197
|
+
}(AcEdCommand));
|
|
198
|
+
export { AcApLayerUnisoCmd };
|
|
199
|
+
//# sourceMappingURL=AcApLayerUnisoCmd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApLayerUnisoCmd.js","sourceRoot":"","sources":["../../../src/command/layer/AcApLayerUnisoCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAe,cAAc,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,WAAW,EAAmB,YAAY,EAAE,MAAM,cAAc,CAAA;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAEL,iBAAiB,EAClB,MAAM,qBAAqB,CAAA;AAE5B;;;;;;GAMG;AACH;IAAuC,qCAAW;IAChD;;OAEG;IACH;QACE,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,IAAI,GAAG,YAAY,CAAC,KAAK,CAAA;;IAChC,CAAC;IAED;;;;;OAKG;IACG,mCAAO,GAAb,UAAc,OAAoB;;;;;gBAC1B,QAAQ,GAAG,iBAAiB,CAAC,OAAO,EAAE,CAAA;gBAC5C,IAAI,CAAC,QA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M,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,CAAA;IAC7D,CAAC;IAED;;;;;OAKG;IACK,0CAAc,GAAtB,UAAuB,KAA2B,EAAE,MAAe;;QACjE,IAAM,KAAK,GAAG,MAAA,KAAK,CAAC,aAAa,mCAAI,CAAC,CAAA;QACtC,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,IAAI,CAAA;IAC7D,CAAC;IAED;;;;;OAKG;IACK,kCAAM,GAAd,UAAe,OAAe,EAAE,IAA8B;QAA9B,qBAAA,EAAA,aAA8B;QAC5D,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;IAC3D,CAAC;IACH,wBAAC;AAAD,CAAC,AArID,CAAuC,WAAW,GAqIjD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { AcApContext } from '../../app';
|
|
2
|
+
import { AcEdCommand } from '../../editor';
|
|
3
|
+
/**
|
|
4
|
+
* AutoCAD-like `LAYULK` command.
|
|
5
|
+
*
|
|
6
|
+
* The command repeatedly asks the user to pick an entity and unlocks the
|
|
7
|
+
* corresponding layer. It intentionally works by selection instead of layer
|
|
8
|
+
* name entry, matching AutoCAD's `LAYULK` workflow.
|
|
9
|
+
*/
|
|
10
|
+
export declare class AcApLayerUnlockCmd extends AcEdCommand {
|
|
11
|
+
/**
|
|
12
|
+
* Creates a write-enabled `LAYULK` command instance.
|
|
13
|
+
*/
|
|
14
|
+
constructor();
|
|
15
|
+
/**
|
|
16
|
+
* Runs the interactive unlock-layer workflow until the user cancels.
|
|
17
|
+
*
|
|
18
|
+
* @param context - Active application context used to read and update the current drawing.
|
|
19
|
+
* @returns Resolves when the command loop ends.
|
|
20
|
+
*/
|
|
21
|
+
execute(context: AcApContext): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Prompts for one entity whose layer should be unlocked.
|
|
24
|
+
*
|
|
25
|
+
* @returns Picked entity identifier, or `undefined` when the user cancels.
|
|
26
|
+
*/
|
|
27
|
+
private promptSelection;
|
|
28
|
+
/**
|
|
29
|
+
* Sets or clears the locked bit in `standardFlags`.
|
|
30
|
+
*
|
|
31
|
+
* @param layer - Target layer table record.
|
|
32
|
+
* @param locked - `true` to lock, `false` to unlock.
|
|
33
|
+
*/
|
|
34
|
+
private setLayerLocked;
|
|
35
|
+
/**
|
|
36
|
+
* Resolves the picked entity's layer and unlocks it when needed.
|
|
37
|
+
*
|
|
38
|
+
* @param context - Active application context containing the current database and view.
|
|
39
|
+
* @param objectId - Identifier of the entity selected by the user.
|
|
40
|
+
*/
|
|
41
|
+
private unlockEntityLayer;
|
|
42
|
+
/**
|
|
43
|
+
* Sends a localized status message through the command-line output.
|
|
44
|
+
*
|
|
45
|
+
* @param message - Text to display to the user.
|
|
46
|
+
* @param type - Visual severity mapped to command-line message styles.
|
|
47
|
+
*/
|
|
48
|
+
private notify;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=AcApLayerUnlockCmd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApLayerUnlockCmd.d.ts","sourceRoot":"","sources":["../../../src/command/layer/AcApLayerUnlockCmd.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAkB,MAAM,WAAW,CAAA;AACvD,OAAO,EACL,WAAW,EAKZ,MAAM,cAAc,CAAA;AAGrB;;;;;;GAMG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;;IAMH;;;;;OAKG;IACG,OAAO,CAAC,OAAO,EAAE,WAAW;IASlC;;;;OAIG;YACW,eAAe;IAc7B;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAKtB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAmCzB;;;;;OAKG;IACH,OAAO,CAAC,MAAM;CAGf"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
26
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
27
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
28
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
29
|
+
function step(op) {
|
|
30
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
31
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
32
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
33
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
34
|
+
switch (op[0]) {
|
|
35
|
+
case 0: case 1: t = op; break;
|
|
36
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
37
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
38
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
39
|
+
default:
|
|
40
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
41
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
42
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
43
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
44
|
+
if (t[2]) _.ops.pop();
|
|
45
|
+
_.trys.pop(); continue;
|
|
46
|
+
}
|
|
47
|
+
op = body.call(thisArg, _);
|
|
48
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
49
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
import { AcApDocManager } from '../../app';
|
|
53
|
+
import { AcEdCommand, AcEdOpenMode, AcEdPromptEntityOptions, AcEdPromptStatus } from '../../editor';
|
|
54
|
+
import { AcApI18n } from '../../i18n';
|
|
55
|
+
/**
|
|
56
|
+
* AutoCAD-like `LAYULK` command.
|
|
57
|
+
*
|
|
58
|
+
* The command repeatedly asks the user to pick an entity and unlocks the
|
|
59
|
+
* corresponding layer. It intentionally works by selection instead of layer
|
|
60
|
+
* name entry, matching AutoCAD's `LAYULK` workflow.
|
|
61
|
+
*/
|
|
62
|
+
var AcApLayerUnlockCmd = /** @class */ (function (_super) {
|
|
63
|
+
__extends(AcApLayerUnlockCmd, _super);
|
|
64
|
+
/**
|
|
65
|
+
* Creates a write-enabled `LAYULK` command instance.
|
|
66
|
+
*/
|
|
67
|
+
function AcApLayerUnlockCmd() {
|
|
68
|
+
var _this = _super.call(this) || this;
|
|
69
|
+
_this.mode = AcEdOpenMode.Write;
|
|
70
|
+
return _this;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Runs the interactive unlock-layer workflow until the user cancels.
|
|
74
|
+
*
|
|
75
|
+
* @param context - Active application context used to read and update the current drawing.
|
|
76
|
+
* @returns Resolves when the command loop ends.
|
|
77
|
+
*/
|
|
78
|
+
AcApLayerUnlockCmd.prototype.execute = function (context) {
|
|
79
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
80
|
+
var objectId;
|
|
81
|
+
return __generator(this, function (_a) {
|
|
82
|
+
switch (_a.label) {
|
|
83
|
+
case 0:
|
|
84
|
+
if (!true) return [3 /*break*/, 2];
|
|
85
|
+
return [4 /*yield*/, this.promptSelection()];
|
|
86
|
+
case 1:
|
|
87
|
+
objectId = _a.sent();
|
|
88
|
+
if (!objectId)
|
|
89
|
+
return [2 /*return*/];
|
|
90
|
+
this.unlockEntityLayer(context, objectId);
|
|
91
|
+
return [3 /*break*/, 0];
|
|
92
|
+
case 2: return [2 /*return*/];
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Prompts for one entity whose layer should be unlocked.
|
|
99
|
+
*
|
|
100
|
+
* @returns Picked entity identifier, or `undefined` when the user cancels.
|
|
101
|
+
*/
|
|
102
|
+
AcApLayerUnlockCmd.prototype.promptSelection = function () {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
104
|
+
var prompt, result;
|
|
105
|
+
return __generator(this, function (_a) {
|
|
106
|
+
switch (_a.label) {
|
|
107
|
+
case 0:
|
|
108
|
+
prompt = new AcEdPromptEntityOptions(AcApI18n.t('jig.layulk.prompt'));
|
|
109
|
+
prompt.allowNone = true;
|
|
110
|
+
prompt.allowObjectOnLockedLayer = true;
|
|
111
|
+
prompt.setRejectMessage(AcApI18n.t('jig.layulk.invalidSelection'));
|
|
112
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getEntity(prompt)];
|
|
113
|
+
case 1:
|
|
114
|
+
result = _a.sent();
|
|
115
|
+
if (result.status === AcEdPromptStatus.OK && result.objectId) {
|
|
116
|
+
return [2 /*return*/, result.objectId];
|
|
117
|
+
}
|
|
118
|
+
return [2 /*return*/, undefined];
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Sets or clears the locked bit in `standardFlags`.
|
|
125
|
+
*
|
|
126
|
+
* @param layer - Target layer table record.
|
|
127
|
+
* @param locked - `true` to lock, `false` to unlock.
|
|
128
|
+
*/
|
|
129
|
+
AcApLayerUnlockCmd.prototype.setLayerLocked = function (layer, locked) {
|
|
130
|
+
var _a;
|
|
131
|
+
var flags = (_a = layer.standardFlags) !== null && _a !== void 0 ? _a : 0;
|
|
132
|
+
layer.standardFlags = locked ? flags | 0x04 : flags & ~0x04;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* Resolves the picked entity's layer and unlocks it when needed.
|
|
136
|
+
*
|
|
137
|
+
* @param context - Active application context containing the current database and view.
|
|
138
|
+
* @param objectId - Identifier of the entity selected by the user.
|
|
139
|
+
*/
|
|
140
|
+
AcApLayerUnlockCmd.prototype.unlockEntityLayer = function (context, objectId) {
|
|
141
|
+
var _a;
|
|
142
|
+
var db = context.doc.database;
|
|
143
|
+
var entity = db.tables.blockTable.getEntityById(objectId);
|
|
144
|
+
var layerName = (_a = entity === null || entity === void 0 ? void 0 : entity.layer) === null || _a === void 0 ? void 0 : _a.trim();
|
|
145
|
+
if (!layerName) {
|
|
146
|
+
this.notify(AcApI18n.t('jig.layulk.invalidSelection'), 'warning');
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
var layer = db.tables.layerTable.getAt(layerName);
|
|
150
|
+
if (!layer) {
|
|
151
|
+
this.notify("".concat(AcApI18n.t('jig.layulk.layerNotFound'), ": ").concat(layerName), 'warning');
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
if (!layer.isLocked) {
|
|
155
|
+
this.notify("".concat(AcApI18n.t('jig.layulk.alreadyUnlocked'), ": ").concat(layer.name), 'info');
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
this.setLayerLocked(layer, false);
|
|
159
|
+
context.view.selectionSet.clear();
|
|
160
|
+
this.notify("".concat(AcApI18n.t('jig.layulk.unlocked'), ": ").concat(layer.name), 'success');
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* Sends a localized status message through the command-line output.
|
|
164
|
+
*
|
|
165
|
+
* @param message - Text to display to the user.
|
|
166
|
+
* @param type - Visual severity mapped to command-line message styles.
|
|
167
|
+
*/
|
|
168
|
+
AcApLayerUnlockCmd.prototype.notify = function (message, type) {
|
|
169
|
+
if (type === void 0) { type = 'info'; }
|
|
170
|
+
AcApDocManager.instance.editor.showMessage(message, type);
|
|
171
|
+
};
|
|
172
|
+
return AcApLayerUnlockCmd;
|
|
173
|
+
}(AcEdCommand));
|
|
174
|
+
export { AcApLayerUnlockCmd };
|
|
175
|
+
//# sourceMappingURL=AcApLayerUnlockCmd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApLayerUnlockCmd.js","sourceRoot":"","sources":["../../../src/command/layer/AcApLayerUnlockCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;QACjC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAA;QACjC,IAAI,CAAC,MAAM,CACT,UAAG,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,eAAK,KAAK,CAAC,IAAI,CAAE,EACrD,SAAS,CACV,CAAA;IACH,CAAC;IAED;;;;;OAKG;IACK,mCAAM,GAAd,UAAe,OAAe,EAAE,IAA8B;QAA9B,qBAAA,EAAA,aAA8B;QAC5D,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;IAC3D,CAAC;IACH,yBAAC;AAAD,CAAC,AAxGD,CAAwC,WAAW,GAwGlD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './AcApLayerDelCmd';
|
|
2
|
+
export * from './AcApLayerCurCmd';
|
|
3
|
+
export * from './AcApLayerFreezeCmd';
|
|
4
|
+
export * from './AcApLayerIsoCmd';
|
|
5
|
+
export * from './AcApLayerLockCmd';
|
|
6
|
+
export * from './AcApLayerOnCmd';
|
|
7
|
+
export * from './AcApLayerOffCmd';
|
|
8
|
+
export * from './AcApLayerPCmd';
|
|
9
|
+
export * from './AcApLayerThawCmd';
|
|
10
|
+
export * from './AcApLayerUnisoCmd';
|
|
11
|
+
export * from './AcApLayerUnlockCmd';
|
|
12
|
+
export * from './AcApLayerCloseCmd';
|
|
13
|
+
export * from './AcApLayerCmd';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/command/layer/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './AcApLayerDelCmd';
|
|
2
|
+
export * from './AcApLayerCurCmd';
|
|
3
|
+
export * from './AcApLayerFreezeCmd';
|
|
4
|
+
export * from './AcApLayerIsoCmd';
|
|
5
|
+
export * from './AcApLayerLockCmd';
|
|
6
|
+
export * from './AcApLayerOnCmd';
|
|
7
|
+
export * from './AcApLayerOffCmd';
|
|
8
|
+
export * from './AcApLayerPCmd';
|
|
9
|
+
export * from './AcApLayerThawCmd';
|
|
10
|
+
export * from './AcApLayerUnisoCmd';
|
|
11
|
+
export * from './AcApLayerUnlockCmd';
|
|
12
|
+
export * from './AcApLayerCloseCmd';
|
|
13
|
+
export * from './AcApLayerCmd';
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/command/layer/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AcApContext } from '
|
|
2
|
-
import { AcEdCommand } from '
|
|
1
|
+
import { AcApContext } from '../../app';
|
|
2
|
+
import { AcEdCommand } from '../../editor';
|
|
3
3
|
/**
|
|
4
4
|
* Registers a cleanup function to be called when the Clear Measurements command
|
|
5
5
|
* runs. Used for CAD transient entities, canvas overlays, and viewChanged
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApClearMeasurementsCmd.d.ts","sourceRoot":"","sources":["../../../src/command/measure/AcApClearMeasurementsCmd.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,WAAW,EAAgB,MAAM,cAAc,CAAA;AAMxD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,EAAE,EAAE,MAAM,IAAI,GAAG,IAAI,CAE/D;AAED,qBAAa,wBAAyB,SAAQ,WAAW;;IAMjD,OAAO,CAAC,OAAO,EAAE,WAAW;CAQnC"}
|
|
@@ -49,7 +49,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
49
49
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
import { AcEdCommand, AcEdOpenMode } from '
|
|
52
|
+
import { AcEdCommand, AcEdOpenMode } from '../../editor';
|
|
53
53
|
/** Cleanup callbacks registered by measurement commands. */
|
|
54
54
|
var cleanups = [];
|
|
55
55
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApClearMeasurementsCmd.js","sourceRoot":"","sources":["../../../src/command/measure/AcApClearMeasurementsCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAGxD,4DAA4D;AAC5D,IAAM,QAAQ,GAAmB,EAAE,CAAA;AAEnC;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,EAAc;IACvD,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACnB,CAAC;AAED;IAA8C,4CAAW;IACvD;QACE,YAAA,MAAK,WAAE,SAAA;QACP,KAAI,CAAC,IAAI,GAAG,YAAY,CAAC,IAAI,CAAA;;IAC/B,CAAC;IAEK,0CAAO,GAAb,UAAc,OAAoB;;;gBAChC,uEAAuE;gBACvE,QAAQ,CAAC,OAAO,CAAC,UAAA,EAAE,IAAI,OAAA,EAAE,EAAE,EAAJ,CAAI,CAAC,CAAA;gBAC5B,QAAQ,CAAC,MAAM,GAAG,CAAC,CAGlB;gBAAC,OAAO,CAAC,IAAmB,CAAC,oBAAoB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;;;;KACxE;IACH,+BAAC;AAAD,CAAC,AAdD,CAA8C,WAAW,GAcxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApMeasureAngleCmd.d.ts","sourceRoot":"","sources":["../../../src/command/measure/AcApMeasureAngleCmd.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAEL,WAAW,EAOZ,MAAM,cAAc,CAAA;AAkOrB;;;;;;;GAOG;AACH,qBAAa,mBAAoB,SAAQ,WAAW;;IAM5C,OAAO,CAAC,OAAO,EAAE,WAAW;CAoKnC"}
|
|
@@ -50,9 +50,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
import { AcDbLine, AcGiLineWeight } from '@mlightcad/data-model';
|
|
53
|
-
import { AcEdCommand, AcEdCorsorType, AcEdOpenMode, AcEdPreviewJig, AcEdPromptPointOptions, AcEdPromptStatus, AcEdViewMode } from '
|
|
54
|
-
import { AcApI18n } from '
|
|
55
|
-
import { cssColor, makeBadge, makeDot, makeLiveBadge, makeOverlayCanvas, measurementColor } from '
|
|
53
|
+
import { AcEdCommand, AcEdCorsorType, AcEdOpenMode, AcEdPreviewJig, AcEdPromptPointOptions, AcEdPromptStatus, AcEdViewMode } from '../../editor';
|
|
54
|
+
import { AcApI18n } from '../../i18n';
|
|
55
|
+
import { cssColor, makeBadge, makeDot, makeLiveBadge, makeOverlayCanvas, measurementColor } from '../../util';
|
|
56
56
|
import { registerMeasurementCleanup } from './AcApClearMeasurementsCmd';
|
|
57
57
|
/** Returns the angle in degrees between two arms sharing a common vertex. */
|
|
58
58
|
function calcAngleDeg(vertex, arm1, arm2) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApMeasureAngleCmd.js","sourceRoot":"","sources":["../../../src/command/measure/AcApMeasureAngleCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAEL,QAAQ,EAER,cAAc,EACf,MAAM,uBAAuB,CAAA;AAG9B,OAAO,EAEL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,YAAY,EACb,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAA;AAEvE,6EAA6E;AAC7E,SAAS,YAAY,CACnB,MAAuB,EACvB,IAAqB,EACrB,IAAqB;IAErB,IAAM,GAAG,GAAG,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAC7B,IAAM,GAAG,GAAG,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAC7B,IAAM,GAAG,GAAG,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAC7B,IAAM,GAAG,GAAG,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAC7B,IAAM,GAAG,GA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tB,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA;oDAClE,SAAS,CAAC,MAAM,CAAC,UAAG,EAAE,UAAO,CAAC,CAAA;oDAC9B,SAAS,CAAC,MAAM,CAAC,UAAG,EAAE,UAAO,CAAC,CAAA;oDAC9B,SAAS,CAAC,MAAM,CAAC,UAAG,EAAE,UAAO,CAAC,CAAA;oDAC9B,SAAS,CAAC,MAAM,CAAC,UAAG,EAAE,WAAQ,CAAC,CAAA;gDACjC,CAAC,CAAC,CAAA;;;;qCACH,CAAC;4BA5JF,CA4JE,CACH,EAAA;;wBA9JD,SA8JC,CAAA;;;;;KACF;IACH,0BAAC;AAAD,CAAC,AA1KD,CAAyC,WAAW,GA0KnD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApMeasureArcCmd.d.ts","sourceRoot":"","sources":["../../../src/command/measure/AcApMeasureArcCmd.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAEL,WAAW,EAOZ,MAAM,cAAc,CAAA;AAwQrB;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;;IAM1C,OAAO,CAAC,OAAO,EAAE,WAAW;CAsJnC"}
|
|
@@ -61,9 +61,9 @@ var __values = (this && this.__values) || function(o) {
|
|
|
61
61
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
62
62
|
};
|
|
63
63
|
import { AcDbArc, AcDbCircle, AcDbLine } from '@mlightcad/data-model';
|
|
64
|
-
import { AcEdCommand, AcEdCorsorType, AcEdOpenMode, AcEdPreviewJig, AcEdPromptPointOptions, AcEdPromptStatus, AcEdViewMode } from '
|
|
65
|
-
import { AcApI18n } from '
|
|
66
|
-
import { cssColor, makeBadge, makeDot, makeLiveBadge, makeLiveDot, makeOverlayCanvas, makeSnapIndicator, measurementColor } from '
|
|
64
|
+
import { AcEdCommand, AcEdCorsorType, AcEdOpenMode, AcEdPreviewJig, AcEdPromptPointOptions, AcEdPromptStatus, AcEdViewMode } from '../../editor';
|
|
65
|
+
import { AcApI18n } from '../../i18n';
|
|
66
|
+
import { cssColor, makeBadge, makeDot, makeLiveBadge, makeLiveDot, makeOverlayCanvas, makeSnapIndicator, measurementColor } from '../../util';
|
|
67
67
|
import { registerMeasurementCleanup } from './AcApClearMeasurementsCmd';
|
|
68
68
|
/** Returns the world point snapped to the nearest point on the circle circumference */
|
|
69
69
|
function snapToCircle(p, g) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcApMeasureArcCmd.js","sourceRoot":"","sources":["../../../src/command/measure/AcApMeasureArcCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAEL,OAAO,EACP,UAAU,EACV,QAAQ,EAET,MAAM,uBAAuB,CAAA;AAG9B,OAAO,EAEL,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,YAAY,EACb,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EACP,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,YAAY,CAAA;AAEnB,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAA;AAQvE,uFAAuF;AACvF,SAAS,YAAY,CACnB,CAAkB,EAClB,CAAa;IAEb,IAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAA;IAChD,OAAO;QACL,CAAC,EA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