@mlightcad/cad-simple-viewer 1.4.11 → 1.4.13
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 +20139 -12511
- package/dist/index.umd.cjs +102 -94
- package/dist/libredwg-parser-worker.js +6958 -12596
- package/lib/app/AcApAnnotation.d.ts.map +1 -1
- package/lib/app/AcApAnnotation.js +3 -3
- package/lib/app/AcApAnnotation.js.map +1 -1
- package/lib/app/AcApDocManager.d.ts +61 -4
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +162 -29
- package/lib/app/AcApDocManager.js.map +1 -1
- package/lib/app/AcApDocument.d.ts +6 -0
- package/lib/app/AcApDocument.d.ts.map +1 -1
- package/lib/app/AcApDocument.js +12 -0
- package/lib/app/AcApDocument.js.map +1 -1
- package/lib/app/AcApProgress.d.ts.map +1 -1
- package/lib/app/AcApProgress.js +3 -3
- package/lib/app/AcApProgress.js.map +1 -1
- package/lib/app/AcApSettingManager.d.ts.map +1 -1
- package/lib/app/AcApSettingManager.js +3 -1
- package/lib/app/AcApSettingManager.js.map +1 -1
- package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +1 -1
- package/lib/command/AcApArcCmd.d.ts +140 -0
- package/lib/command/AcApArcCmd.d.ts.map +1 -0
- package/lib/command/AcApArcCmd.js +1009 -0
- package/lib/command/AcApArcCmd.js.map +1 -0
- package/lib/command/AcApCircleCmd.d.ts +59 -0
- package/lib/command/AcApCircleCmd.d.ts.map +1 -1
- package/lib/command/AcApCircleCmd.js +490 -13
- package/lib/command/AcApCircleCmd.js.map +1 -1
- package/lib/command/AcApClearMeasurementsCmd.d.ts +1 -1
- package/lib/command/AcApClearMeasurementsCmd.d.ts.map +1 -1
- package/lib/command/AcApClearMeasurementsCmd.js +2 -4
- package/lib/command/AcApClearMeasurementsCmd.js.map +1 -1
- package/lib/command/AcApConvertToDxfCmd.d.ts +9 -0
- package/lib/command/AcApConvertToDxfCmd.d.ts.map +1 -0
- package/lib/command/{AcApZoomToBoxCmd.js → AcApConvertToDxfCmd.js} +14 -40
- package/lib/command/AcApConvertToDxfCmd.js.map +1 -0
- package/lib/command/AcApConvertToPngCmd.d.ts +35 -0
- package/lib/command/AcApConvertToPngCmd.d.ts.map +1 -0
- package/lib/command/AcApConvertToPngCmd.js +127 -0
- package/lib/command/AcApConvertToPngCmd.js.map +1 -0
- package/lib/command/AcApDimLinearCmd.d.ts.map +1 -1
- package/lib/command/AcApDimLinearCmd.js +14 -5
- package/lib/command/AcApDimLinearCmd.js.map +1 -1
- package/lib/command/AcApDxfConvertor.d.ts +12 -0
- package/lib/command/AcApDxfConvertor.d.ts.map +1 -0
- package/lib/command/AcApDxfConvertor.js +37 -0
- package/lib/command/AcApDxfConvertor.js.map +1 -0
- package/lib/command/AcApEllipseCmd.d.ts +87 -0
- package/lib/command/AcApEllipseCmd.d.ts.map +1 -0
- package/lib/command/AcApEllipseCmd.js +583 -0
- package/lib/command/AcApEllipseCmd.js.map +1 -0
- package/lib/command/AcApEraseCmd.d.ts.map +1 -1
- package/lib/command/AcApEraseCmd.js +10 -6
- package/lib/command/AcApEraseCmd.js.map +1 -1
- package/lib/command/AcApHatchCmd.d.ts +210 -0
- package/lib/command/AcApHatchCmd.d.ts.map +1 -0
- package/lib/command/AcApHatchCmd.js +808 -0
- package/lib/command/AcApHatchCmd.js.map +1 -0
- package/lib/command/AcApLayerCmd.d.ts +217 -0
- package/lib/command/AcApLayerCmd.d.ts.map +1 -0
- package/lib/command/AcApLayerCmd.js +768 -0
- package/lib/command/AcApLayerCmd.js.map +1 -0
- package/lib/command/AcApLineCmd.d.ts +36 -1
- package/lib/command/AcApLineCmd.d.ts.map +1 -1
- package/lib/command/AcApLineCmd.js +159 -16
- package/lib/command/AcApLineCmd.js.map +1 -1
- package/lib/command/AcApMTextCmd.d.ts.map +1 -1
- package/lib/command/AcApMTextCmd.js +6 -3
- package/lib/command/AcApMTextCmd.js.map +1 -1
- package/lib/command/AcApMeasureAngleCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureAngleCmd.js +134 -123
- package/lib/command/AcApMeasureAngleCmd.js.map +1 -1
- package/lib/command/AcApMeasureArcCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureArcCmd.js +165 -147
- package/lib/command/AcApMeasureArcCmd.js.map +1 -1
- package/lib/command/AcApMeasureAreaCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureAreaCmd.js +186 -175
- package/lib/command/AcApMeasureAreaCmd.js.map +1 -1
- package/lib/command/AcApMeasureDistanceCmd.d.ts.map +1 -1
- package/lib/command/AcApMeasureDistanceCmd.js +51 -39
- package/lib/command/AcApMeasureDistanceCmd.js.map +1 -1
- package/lib/command/AcApMoveCmd.d.ts +16 -0
- package/lib/command/AcApMoveCmd.d.ts.map +1 -0
- package/lib/command/AcApMoveCmd.js +278 -0
- package/lib/command/AcApMoveCmd.js.map +1 -0
- package/lib/command/AcApPngConvertor.d.ts +95 -0
- package/lib/command/AcApPngConvertor.d.ts.map +1 -0
- package/lib/command/AcApPngConvertor.js +205 -0
- package/lib/command/AcApPngConvertor.js.map +1 -0
- package/lib/command/AcApPolygonCmd.d.ts +69 -0
- package/lib/command/AcApPolygonCmd.d.ts.map +1 -0
- package/lib/command/AcApPolygonCmd.js +422 -0
- package/lib/command/AcApPolygonCmd.js.map +1 -0
- package/lib/command/AcApPolylineCmd.d.ts +71 -0
- package/lib/command/AcApPolylineCmd.d.ts.map +1 -0
- package/lib/command/AcApPolylineCmd.js +569 -0
- package/lib/command/AcApPolylineCmd.js.map +1 -0
- package/lib/command/AcApRectCmd.d.ts +149 -4
- package/lib/command/AcApRectCmd.d.ts.map +1 -1
- package/lib/command/AcApRectCmd.js +717 -29
- package/lib/command/AcApRectCmd.js.map +1 -1
- package/lib/command/AcApRevCircleCmd.d.ts +8 -0
- package/lib/command/AcApRevCircleCmd.d.ts.map +1 -1
- package/lib/command/AcApRevCircleCmd.js +30 -6
- package/lib/command/AcApRevCircleCmd.js.map +1 -1
- package/lib/command/AcApRevCloudCmd.d.ts.map +1 -1
- package/lib/command/AcApRevCloudCmd.js +10 -4
- package/lib/command/AcApRevCloudCmd.js.map +1 -1
- package/lib/command/AcApRevRectCmd.d.ts +8 -0
- package/lib/command/AcApRevRectCmd.d.ts.map +1 -1
- package/lib/command/AcApRevRectCmd.js +78 -6
- package/lib/command/AcApRevRectCmd.js.map +1 -1
- package/lib/command/AcApSketchCmd.d.ts.map +1 -1
- package/lib/command/AcApSketchCmd.js +11 -7
- package/lib/command/AcApSketchCmd.js.map +1 -1
- package/lib/command/AcApSplineCmd.d.ts +85 -0
- package/lib/command/AcApSplineCmd.d.ts.map +1 -0
- package/lib/command/AcApSplineCmd.js +620 -0
- package/lib/command/AcApSplineCmd.js.map +1 -0
- package/lib/command/AcApSysVarCmd.d.ts.map +1 -1
- package/lib/command/AcApSysVarCmd.js +6 -3
- package/lib/command/AcApSysVarCmd.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/index.d.ts +12 -1
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +12 -1
- package/lib/command/index.js.map +1 -1
- package/lib/editor/command/AcEdCommandIterator.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommandIterator.js.map +1 -1
- 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/AcEdUiTheme.d.ts +4 -0
- package/lib/editor/global/AcEdUiTheme.d.ts.map +1 -0
- package/lib/editor/global/AcEdUiTheme.js +44 -0
- package/lib/editor/global/AcEdUiTheme.js.map +1 -0
- package/lib/editor/global/index.d.ts +1 -0
- package/lib/editor/global/index.d.ts.map +1 -1
- package/lib/editor/global/index.js +1 -0
- package/lib/editor/global/index.js.map +1 -1
- package/lib/editor/input/AcEdCursorManager.d.ts +10 -0
- package/lib/editor/input/AcEdCursorManager.d.ts.map +1 -1
- package/lib/editor/input/AcEdCursorManager.js +24 -4
- package/lib/editor/input/AcEdCursorManager.js.map +1 -1
- package/lib/editor/input/AcEdInputModifiers.d.ts +39 -0
- package/lib/editor/input/AcEdInputModifiers.d.ts.map +1 -0
- package/lib/editor/input/AcEdInputModifiers.js +2 -0
- package/lib/editor/input/AcEdInputModifiers.js.map +1 -0
- package/lib/editor/input/AcEdInputToggles.d.ts +24 -0
- package/lib/editor/input/AcEdInputToggles.d.ts.map +1 -0
- package/lib/editor/input/AcEdInputToggles.js +2 -0
- package/lib/editor/input/AcEdInputToggles.js.map +1 -0
- package/lib/editor/input/AcEdPromptStateMachine.d.ts +110 -0
- package/lib/editor/input/AcEdPromptStateMachine.d.ts.map +1 -0
- package/lib/editor/input/AcEdPromptStateMachine.js +147 -0
- package/lib/editor/input/AcEdPromptStateMachine.js.map +1 -0
- 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 +77 -10
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +162 -1
- package/lib/editor/input/AcEditor.js.map +1 -1
- package/lib/editor/input/index.d.ts +4 -0
- package/lib/editor/input/index.d.ts.map +1 -1
- package/lib/editor/input/index.js +4 -0
- package/lib/editor/input/index.js.map +1 -1
- package/lib/editor/input/marker/AcEdMarker.d.ts.map +1 -1
- package/lib/editor/input/marker/AcEdMarker.js +3 -3
- package/lib/editor/input/marker/AcEdMarker.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 +30 -4
- package/lib/editor/input/prompt/AcEdKeywordCollection.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts +8 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js +19 -2
- package/lib/editor/input/prompt/AcEdPromptAngleOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptBoxResult.d.ts +12 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.js +30 -0
- package/lib/editor/input/prompt/AcEdPromptBoxResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.d.ts +9 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.js +28 -0
- package/lib/editor/input/prompt/AcEdPromptDoubleResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts +18 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js +32 -5
- package/lib/editor/input/prompt/AcEdPromptEntityOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptEntityResult.d.ts +14 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.js +31 -0
- package/lib/editor/input/prompt/AcEdPromptEntityResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.d.ts +9 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.js +28 -0
- package/lib/editor/input/prompt/AcEdPromptIntegerResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptKeywordOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptNumericalOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts +9 -3
- package/lib/editor/input/prompt/AcEdPromptOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptOptions.js +22 -4
- package/lib/editor/input/prompt/AcEdPromptOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointResult.d.ts +3 -3
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptSelectionOptions.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.d.ts +12 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.d.ts.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.js +30 -0
- package/lib/editor/input/prompt/AcEdPromptSelectionResult.js.map +1 -0
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts +1 -1
- package/lib/editor/input/prompt/AcEdPromptStringOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js +2 -2
- package/lib/editor/input/prompt/AcEdPromptStringOptions.js.map +1 -1
- package/lib/editor/input/prompt/index.d.ts +9 -0
- package/lib/editor/input/prompt/index.d.ts.map +1 -1
- package/lib/editor/input/prompt/index.js +9 -0
- package/lib/editor/input/prompt/index.js.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.d.ts +67 -1
- package/lib/editor/input/session/AcEdKeywordSession.d.ts.map +1 -1
- package/lib/editor/input/session/AcEdKeywordSession.js +78 -1
- package/lib/editor/input/session/AcEdKeywordSession.js.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.d.ts +27 -1
- package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdCommandLine.js +75 -10
- package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts +24 -1
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +147 -27
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts +2 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBox.js +4 -0
- package/lib/editor/input/ui/AcEdFloatingInputBox.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts +30 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js +46 -15
- package/lib/editor/input/ui/AcEdFloatingInputBoxes.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +33 -0
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.d.ts +12 -0
- package/lib/editor/input/ui/AcEdFloatingMessage.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.js +61 -2
- package/lib/editor/input/ui/AcEdFloatingMessage.js.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.d.ts +403 -29
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.js +1313 -414
- package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
- 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 +43 -11
- package/lib/editor/input/ui/AcEdRubberBand.js.map +1 -1
- package/lib/editor/view/AcEdBaseView.d.ts +66 -0
- package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
- package/lib/editor/view/AcEdBaseView.js +170 -0
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/editor/view/AcEdSpatialQueryResult.d.ts.map +1 -1
- package/lib/i18n/en/command.d.ts +36 -3
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +36 -3
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +553 -0
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +557 -4
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +36 -3
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +36 -3
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +553 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +557 -4
- 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/util/AcApMeasurementElementGenerator.d.ts +36 -0
- package/lib/util/AcApMeasurementElementGenerator.d.ts.map +1 -0
- package/lib/util/AcApMeasurementElementGenerator.js +92 -0
- package/lib/util/AcApMeasurementElementGenerator.js.map +1 -0
- package/lib/util/index.d.ts +1 -1
- package/lib/util/index.d.ts.map +1 -1
- package/lib/util/index.js +1 -1
- package/lib/util/index.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/AcTrLayoutView.d.ts +6 -0
- package/lib/view/AcTrLayoutView.d.ts.map +1 -1
- package/lib/view/AcTrLayoutView.js +20 -0
- package/lib/view/AcTrLayoutView.js.map +1 -1
- package/lib/view/AcTrView2d.d.ts +0 -1
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +103 -50
- package/lib/view/AcTrView2d.js.map +1 -1
- package/package.json +15 -13
- 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/util/AcApMeasurementUtils.d.ts +0 -12
- package/lib/util/AcApMeasurementUtils.d.ts.map +0 -1
- package/lib/util/AcApMeasurementUtils.js +0 -36
- package/lib/util/AcApMeasurementUtils.js.map +0 -1
|
@@ -51,7 +51,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
51
51
|
};
|
|
52
52
|
import { AcDbSysVarManager } from '@mlightcad/data-model';
|
|
53
53
|
import { AcApDocManager } from '../app';
|
|
54
|
-
import { AcEdCommand, AcEdOpenMode, AcEdPromptStringOptions } from '../editor';
|
|
54
|
+
import { AcEdCommand, AcEdOpenMode, AcEdPromptStatus, AcEdPromptStringOptions } from '../editor';
|
|
55
55
|
import { AcApI18n } from '../i18n';
|
|
56
56
|
/**
|
|
57
57
|
* Command for modifying value of one system variable. All of system variables share
|
|
@@ -71,7 +71,7 @@ var AcApSysVarCmd = /** @class */ (function (_super) {
|
|
|
71
71
|
*/
|
|
72
72
|
AcApSysVarCmd.prototype.execute = function (context) {
|
|
73
73
|
return __awaiter(this, void 0, void 0, function () {
|
|
74
|
-
var sysVarManager, currentValue, basePrompt, match, colon, promptCore, suffix, promptMessage, prompt, value, sysVar;
|
|
74
|
+
var sysVarManager, currentValue, basePrompt, match, colon, promptCore, suffix, promptMessage, prompt, result, value, sysVar;
|
|
75
75
|
var _a;
|
|
76
76
|
return __generator(this, function (_b) {
|
|
77
77
|
switch (_b.label) {
|
|
@@ -89,7 +89,10 @@ var AcApSysVarCmd = /** @class */ (function (_super) {
|
|
|
89
89
|
prompt = new AcEdPromptStringOptions(promptMessage);
|
|
90
90
|
return [4 /*yield*/, AcApDocManager.instance.editor.getString(prompt)];
|
|
91
91
|
case 1:
|
|
92
|
-
|
|
92
|
+
result = _b.sent();
|
|
93
|
+
if (result.status !== AcEdPromptStatus.OK || !result.stringResult)
|
|
94
|
+
return [2 /*return*/];
|
|
95
|
+
value = result.stringResult;
|
|
93
96
|
sysVar = sysVarManager.getDescriptor(this.globalName);
|
|
94
97
|
if (sysVar) {
|
|
95
98
|
sysVarManager.setVar(this.globalName, value, context.doc.database);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcApSysVarCmd.js","sourceRoot":"","sources":["../../src/command/AcApSysVarCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAAe,cAAc,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"AcApSysVarCmd.js","sourceRoot":"","sources":["../../src/command/AcApSysVarCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,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AAM,CAAC,EAAA;;wBAA/D,MAAM,GAAG,SAAsD;wBACrE,IAAI,MAAM,CAAC,MAAM,KAAK,gBAAgB,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY;4BAAE,sBAAM;wBACnE,KAAK,GAAG,MAAM,CAAC,YAAY,CAAA;wBAC3B,MAAM,GAAG,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;wBAC3D,IAAI,MAAM,EAAE,CAAC;4BACX,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;wBACpE,CAAC;;;;;KACF;IACH,oBAAC;AAAD,CAAC,AAnCD,CAAmC,WAAW,GAmC7C"}
|
|
@@ -1,34 +1,105 @@
|
|
|
1
1
|
import { AcApContext } from '../app';
|
|
2
|
-
import { AcEdCommand } from '../
|
|
2
|
+
import { AcEdCommand } from '../editor';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* AutoCAD-style ZOOM command with keyword-driven branches in a single command.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Supported flows:
|
|
7
|
+
* - Press Enter: zoom extents.
|
|
8
|
+
* - Pick first corner: zoom window.
|
|
9
|
+
* - Keywords:
|
|
10
|
+
* - `All` / `Extents`: zoom extents.
|
|
11
|
+
* - `Window`: prompt two corners and zoom to that box.
|
|
12
|
+
* - `Center`: prompt center + height/scale factor.
|
|
13
|
+
* - `Scale`: scale relative to current view (`n`, `nX`, `nXP`).
|
|
14
|
+
* - `Previous`: restore previous zoom box.
|
|
10
15
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
16
|
+
* This command intentionally keeps all zoom branches in one implementation so
|
|
17
|
+
* callers can use script-style command input such as:
|
|
13
18
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* zoomCommand.globalName = 'ZOOM';
|
|
18
|
-
* zoomCommand.localName = 'Zoom to Fit';
|
|
19
|
-
*
|
|
20
|
-
* // Execute the command to fit all entities in view
|
|
21
|
-
* zoomCommand.trigger(docManager.context);
|
|
19
|
+
* ```text
|
|
20
|
+
* zoom
|
|
21
|
+
* window
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
export declare class AcApZoomCmd extends AcEdCommand {
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Stores the last view box before a zoom operation so `Previous` can restore it.
|
|
27
|
+
*/
|
|
28
|
+
private static previousViewBox?;
|
|
29
|
+
/**
|
|
30
|
+
* Captures current visible world box from the viewport corners.
|
|
31
|
+
*
|
|
32
|
+
* @param context - Current command context.
|
|
33
|
+
* @returns Current view box in world coordinates.
|
|
34
|
+
*/
|
|
35
|
+
private captureCurrentViewBox;
|
|
36
|
+
/**
|
|
37
|
+
* Saves current view box before executing a zoom branch.
|
|
38
|
+
*
|
|
39
|
+
* @param context - Current command context.
|
|
40
|
+
*/
|
|
41
|
+
private rememberViewBeforeZoom;
|
|
42
|
+
/**
|
|
43
|
+
* Executes extents-like zoom and records previous view for rollback.
|
|
44
|
+
*
|
|
45
|
+
* @param context - Current command context.
|
|
46
|
+
*/
|
|
47
|
+
private zoomToExtents;
|
|
48
|
+
/**
|
|
49
|
+
* Executes window zoom from two corner points.
|
|
50
|
+
*
|
|
51
|
+
* @param context - Current command context.
|
|
52
|
+
* @param first - First corner in WCS.
|
|
53
|
+
* @param second - Opposite corner in WCS.
|
|
54
|
+
*/
|
|
55
|
+
private zoomToWindow;
|
|
56
|
+
/**
|
|
57
|
+
* Prompts second corner from a known first corner, then performs window zoom.
|
|
58
|
+
*
|
|
59
|
+
* @param context - Current command context.
|
|
60
|
+
* @param firstCorner - First window corner in WCS.
|
|
61
|
+
*/
|
|
62
|
+
private promptAndZoomWindowFromFirstCorner;
|
|
63
|
+
/**
|
|
64
|
+
* Prompts a window box using editor `getBox`, then zooms to that box.
|
|
65
|
+
*
|
|
66
|
+
* @param context - Current command context.
|
|
67
|
+
*/
|
|
68
|
+
private promptAndZoomWindowByBox;
|
|
69
|
+
/**
|
|
70
|
+
* Handles `Center` branch:
|
|
71
|
+
* - pick center point
|
|
72
|
+
* - input height or scale factor
|
|
73
|
+
*
|
|
74
|
+
* @param context - Current command context.
|
|
75
|
+
*/
|
|
76
|
+
private runCenter;
|
|
77
|
+
/**
|
|
78
|
+
* Parses scale factor text from AutoCAD-like inputs:
|
|
79
|
+
* - `2` / `2x` / `2xp`
|
|
27
80
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
81
|
+
* @param raw - Raw user input.
|
|
82
|
+
* @returns Positive scale factor, or `undefined` when invalid.
|
|
83
|
+
*/
|
|
84
|
+
private parseScaleFactor;
|
|
85
|
+
/**
|
|
86
|
+
* Applies relative zoom around the specified center (or current view center).
|
|
87
|
+
*
|
|
88
|
+
* @param context - Current command context.
|
|
89
|
+
* @param factor - Relative zoom factor (> 0).
|
|
90
|
+
* @param centerPoint - Optional explicit zoom center in WCS.
|
|
91
|
+
*/
|
|
92
|
+
private applyRelativeScale;
|
|
93
|
+
/**
|
|
94
|
+
* Restores previous view box if one exists and swaps buffers to allow toggling.
|
|
95
|
+
*
|
|
96
|
+
* @param context - Current command context.
|
|
97
|
+
*/
|
|
98
|
+
private runPrevious;
|
|
99
|
+
/**
|
|
100
|
+
* Runs zoom interaction with keyword-capable branching.
|
|
30
101
|
*
|
|
31
|
-
* @param context -
|
|
102
|
+
* @param context - Current command context.
|
|
32
103
|
*/
|
|
33
104
|
execute(context: AcApContext): Promise<void>;
|
|
34
105
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcApZoomCmd.d.ts","sourceRoot":"","sources":["../../src/command/AcApZoomCmd.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AcApZoomCmd.d.ts","sourceRoot":"","sources":["../../src/command/AcApZoomCmd.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAkB,MAAM,QAAQ,CAAA;AACpD,OAAO,EACL,WAAW,EAKZ,MAAM,WAAW,CAAA;AAGlB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,CAAW;IAE1C;;;;;OAKG;IACH,OAAO,CAAC,qBAAqB;IAU7B;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAI9B;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAKrB;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;IAUpB;;;;;OAKG;YACW,kCAAkC;IAkBhD;;;;OAIG;YACW,wBAAwB;IAWtC;;;;;;OAMG;YACW,SAAS;IA4CvB;;;;;;OAMG;IACH,OAAO,CAAC,gBAAgB;IAkBxB;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB;IAuB1B;;;;OAIG;IACH,OAAO,CAAC,WAAW;IAOnB;;;;OAIG;IACG,OAAO,CAAC,OAAO,EAAE,WAAW;CAmFnC"}
|
|
@@ -49,26 +49,29 @@ 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 {
|
|
52
|
+
import { AcGeBox2d, AcGePoint3d } from '@mlightcad/data-model';
|
|
53
|
+
import { AcApDocManager } from '../app';
|
|
54
|
+
import { AcEdCommand, AcEdPromptBoxOptions, AcEdPromptPointOptions, AcEdPromptStatus, AcEdPromptStringOptions } from '../editor';
|
|
55
|
+
import { AcApI18n } from '../i18n';
|
|
53
56
|
/**
|
|
54
|
-
*
|
|
57
|
+
* AutoCAD-style ZOOM command with keyword-driven branches in a single command.
|
|
55
58
|
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
59
|
+
* Supported flows:
|
|
60
|
+
* - Press Enter: zoom extents.
|
|
61
|
+
* - Pick first corner: zoom window.
|
|
62
|
+
* - Keywords:
|
|
63
|
+
* - `All` / `Extents`: zoom extents.
|
|
64
|
+
* - `Window`: prompt two corners and zoom to that box.
|
|
65
|
+
* - `Center`: prompt center + height/scale factor.
|
|
66
|
+
* - `Scale`: scale relative to current view (`n`, `nX`, `nXP`).
|
|
67
|
+
* - `Previous`: restore previous zoom box.
|
|
60
68
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
69
|
+
* This command intentionally keeps all zoom branches in one implementation so
|
|
70
|
+
* callers can use script-style command input such as:
|
|
63
71
|
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* zoomCommand.globalName = 'ZOOM';
|
|
68
|
-
* zoomCommand.localName = 'Zoom to Fit';
|
|
69
|
-
*
|
|
70
|
-
* // Execute the command to fit all entities in view
|
|
71
|
-
* zoomCommand.trigger(docManager.context);
|
|
72
|
+
* ```text
|
|
73
|
+
* zoom
|
|
74
|
+
* window
|
|
72
75
|
* ```
|
|
73
76
|
*/
|
|
74
77
|
var AcApZoomCmd = /** @class */ (function (_super) {
|
|
@@ -77,18 +80,280 @@ var AcApZoomCmd = /** @class */ (function (_super) {
|
|
|
77
80
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
78
81
|
}
|
|
79
82
|
/**
|
|
80
|
-
*
|
|
83
|
+
* Captures current visible world box from the viewport corners.
|
|
81
84
|
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
85
|
+
* @param context - Current command context.
|
|
86
|
+
* @returns Current view box in world coordinates.
|
|
87
|
+
*/
|
|
88
|
+
AcApZoomCmd.prototype.captureCurrentViewBox = function (context) {
|
|
89
|
+
var topLeft = context.view.screenToWorld({ x: 0, y: 0 });
|
|
90
|
+
var bottomRight = context.view.screenToWorld({
|
|
91
|
+
x: context.view.width,
|
|
92
|
+
y: context.view.height
|
|
93
|
+
});
|
|
94
|
+
return new AcGeBox2d().expandByPoint(topLeft).expandByPoint(bottomRight);
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Saves current view box before executing a zoom branch.
|
|
84
98
|
*
|
|
85
|
-
* @param context -
|
|
99
|
+
* @param context - Current command context.
|
|
86
100
|
*/
|
|
87
|
-
AcApZoomCmd.prototype.
|
|
101
|
+
AcApZoomCmd.prototype.rememberViewBeforeZoom = function (context) {
|
|
102
|
+
AcApZoomCmd.previousViewBox = this.captureCurrentViewBox(context);
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Executes extents-like zoom and records previous view for rollback.
|
|
106
|
+
*
|
|
107
|
+
* @param context - Current command context.
|
|
108
|
+
*/
|
|
109
|
+
AcApZoomCmd.prototype.zoomToExtents = function (context) {
|
|
110
|
+
this.rememberViewBeforeZoom(context);
|
|
111
|
+
context.view.zoomToFitDrawing();
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Executes window zoom from two corner points.
|
|
115
|
+
*
|
|
116
|
+
* @param context - Current command context.
|
|
117
|
+
* @param first - First corner in WCS.
|
|
118
|
+
* @param second - Opposite corner in WCS.
|
|
119
|
+
*/
|
|
120
|
+
AcApZoomCmd.prototype.zoomToWindow = function (context, first, second) {
|
|
121
|
+
var box = new AcGeBox2d().expandByPoint(first).expandByPoint(second);
|
|
122
|
+
this.rememberViewBeforeZoom(context);
|
|
123
|
+
context.view.zoomTo(box, 1);
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Prompts second corner from a known first corner, then performs window zoom.
|
|
127
|
+
*
|
|
128
|
+
* @param context - Current command context.
|
|
129
|
+
* @param firstCorner - First window corner in WCS.
|
|
130
|
+
*/
|
|
131
|
+
AcApZoomCmd.prototype.promptAndZoomWindowFromFirstCorner = function (context, firstCorner) {
|
|
132
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
133
|
+
var secondPrompt, secondResult;
|
|
134
|
+
return __generator(this, function (_a) {
|
|
135
|
+
switch (_a.label) {
|
|
136
|
+
case 0:
|
|
137
|
+
secondPrompt = new AcEdPromptPointOptions(AcApI18n.t('jig.zoom.secondCorner'));
|
|
138
|
+
secondPrompt.useBasePoint = true;
|
|
139
|
+
secondPrompt.basePoint = new AcGePoint3d(firstCorner);
|
|
140
|
+
secondPrompt.useDashedLine = true;
|
|
141
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getPoint(secondPrompt)];
|
|
142
|
+
case 1:
|
|
143
|
+
secondResult = _a.sent();
|
|
144
|
+
if (secondResult.status !== AcEdPromptStatus.OK || !secondResult.value)
|
|
145
|
+
return [2 /*return*/];
|
|
146
|
+
this.zoomToWindow(context, firstCorner, secondResult.value);
|
|
147
|
+
return [2 /*return*/];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Prompts a window box using editor `getBox`, then zooms to that box.
|
|
154
|
+
*
|
|
155
|
+
* @param context - Current command context.
|
|
156
|
+
*/
|
|
157
|
+
AcApZoomCmd.prototype.promptAndZoomWindowByBox = function (context) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
159
|
+
var boxOptions, boxResult;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
boxOptions = new AcEdPromptBoxOptions(AcApI18n.t('jig.zoom.firstCorner'), AcApI18n.t('jig.zoom.secondCorner'));
|
|
164
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getBox(boxOptions)];
|
|
165
|
+
case 1:
|
|
166
|
+
boxResult = _a.sent();
|
|
167
|
+
if (boxResult.status !== AcEdPromptStatus.OK || !boxResult.value)
|
|
168
|
+
return [2 /*return*/];
|
|
169
|
+
this.rememberViewBeforeZoom(context);
|
|
170
|
+
context.view.zoomTo(boxResult.value, 1);
|
|
171
|
+
return [2 /*return*/];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Handles `Center` branch:
|
|
178
|
+
* - pick center point
|
|
179
|
+
* - input height or scale factor
|
|
180
|
+
*
|
|
181
|
+
* @param context - Current command context.
|
|
182
|
+
*/
|
|
183
|
+
AcApZoomCmd.prototype.runCenter = function (context) {
|
|
88
184
|
return __awaiter(this, void 0, void 0, function () {
|
|
185
|
+
var centerPrompt, centerResult, heightPrompt, heightResult, parsedScale, viewHeight, aspect, halfHeight, halfWidth, box;
|
|
89
186
|
return __generator(this, function (_a) {
|
|
90
|
-
|
|
91
|
-
|
|
187
|
+
switch (_a.label) {
|
|
188
|
+
case 0:
|
|
189
|
+
centerPrompt = new AcEdPromptPointOptions(AcApI18n.t('jig.zoom.centerPoint'));
|
|
190
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getPoint(centerPrompt)];
|
|
191
|
+
case 1:
|
|
192
|
+
centerResult = _a.sent();
|
|
193
|
+
if (centerResult.status !== AcEdPromptStatus.OK || !centerResult.value)
|
|
194
|
+
return [2 /*return*/];
|
|
195
|
+
heightPrompt = new AcEdPromptStringOptions(AcApI18n.t('jig.zoom.heightOrScale'));
|
|
196
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getString(heightPrompt)];
|
|
197
|
+
case 2:
|
|
198
|
+
heightResult = _a.sent();
|
|
199
|
+
if (heightResult.status !== AcEdPromptStatus.OK ||
|
|
200
|
+
!heightResult.stringResult)
|
|
201
|
+
return [2 /*return*/];
|
|
202
|
+
parsedScale = this.parseScaleFactor(heightResult.stringResult);
|
|
203
|
+
if (parsedScale != null) {
|
|
204
|
+
this.applyRelativeScale(context, parsedScale, centerResult.value);
|
|
205
|
+
return [2 /*return*/];
|
|
206
|
+
}
|
|
207
|
+
viewHeight = Number(heightResult.stringResult);
|
|
208
|
+
if (!Number.isFinite(viewHeight) || viewHeight <= 0)
|
|
209
|
+
return [2 /*return*/];
|
|
210
|
+
aspect = context.view.width / Math.max(context.view.height, 1);
|
|
211
|
+
halfHeight = viewHeight / 2;
|
|
212
|
+
halfWidth = (viewHeight * aspect) / 2;
|
|
213
|
+
box = new AcGeBox2d()
|
|
214
|
+
.expandByPoint({
|
|
215
|
+
x: centerResult.value.x - halfWidth,
|
|
216
|
+
y: centerResult.value.y - halfHeight
|
|
217
|
+
})
|
|
218
|
+
.expandByPoint({
|
|
219
|
+
x: centerResult.value.x + halfWidth,
|
|
220
|
+
y: centerResult.value.y + halfHeight
|
|
221
|
+
});
|
|
222
|
+
this.rememberViewBeforeZoom(context);
|
|
223
|
+
context.view.zoomTo(box, 1);
|
|
224
|
+
return [2 /*return*/];
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
});
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Parses scale factor text from AutoCAD-like inputs:
|
|
231
|
+
* - `2` / `2x` / `2xp`
|
|
232
|
+
*
|
|
233
|
+
* @param raw - Raw user input.
|
|
234
|
+
* @returns Positive scale factor, or `undefined` when invalid.
|
|
235
|
+
*/
|
|
236
|
+
AcApZoomCmd.prototype.parseScaleFactor = function (raw) {
|
|
237
|
+
var text = raw.trim().toLowerCase();
|
|
238
|
+
if (!text)
|
|
239
|
+
return undefined;
|
|
240
|
+
if (text.endsWith('xp')) {
|
|
241
|
+
var value_1 = Number(text.slice(0, -2));
|
|
242
|
+
return Number.isFinite(value_1) && value_1 > 0 ? value_1 : undefined;
|
|
243
|
+
}
|
|
244
|
+
if (text.endsWith('x')) {
|
|
245
|
+
var value_2 = Number(text.slice(0, -1));
|
|
246
|
+
return Number.isFinite(value_2) && value_2 > 0 ? value_2 : undefined;
|
|
247
|
+
}
|
|
248
|
+
var value = Number(text);
|
|
249
|
+
return Number.isFinite(value) && value > 0 ? value : undefined;
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Applies relative zoom around the specified center (or current view center).
|
|
253
|
+
*
|
|
254
|
+
* @param context - Current command context.
|
|
255
|
+
* @param factor - Relative zoom factor (> 0).
|
|
256
|
+
* @param centerPoint - Optional explicit zoom center in WCS.
|
|
257
|
+
*/
|
|
258
|
+
AcApZoomCmd.prototype.applyRelativeScale = function (context, factor, centerPoint) {
|
|
259
|
+
var current = this.captureCurrentViewBox(context);
|
|
260
|
+
var width = Math.max(current.max.x - current.min.x, 1e-9);
|
|
261
|
+
var height = Math.max(current.max.y - current.min.y, 1e-9);
|
|
262
|
+
var halfWidth = width / (2 * factor);
|
|
263
|
+
var halfHeight = height / (2 * factor);
|
|
264
|
+
var center = centerPoint !== null && centerPoint !== void 0 ? centerPoint : {
|
|
265
|
+
x: (current.min.x + current.max.x) / 2,
|
|
266
|
+
y: (current.min.y + current.max.y) / 2
|
|
267
|
+
};
|
|
268
|
+
var target = new AcGeBox2d()
|
|
269
|
+
.expandByPoint({ x: center.x - halfWidth, y: center.y - halfHeight })
|
|
270
|
+
.expandByPoint({ x: center.x + halfWidth, y: center.y + halfHeight });
|
|
271
|
+
this.rememberViewBeforeZoom(context);
|
|
272
|
+
context.view.zoomTo(target, 1);
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Restores previous view box if one exists and swaps buffers to allow toggling.
|
|
276
|
+
*
|
|
277
|
+
* @param context - Current command context.
|
|
278
|
+
*/
|
|
279
|
+
AcApZoomCmd.prototype.runPrevious = function (context) {
|
|
280
|
+
if (!AcApZoomCmd.previousViewBox)
|
|
281
|
+
return;
|
|
282
|
+
var current = this.captureCurrentViewBox(context);
|
|
283
|
+
context.view.zoomTo(AcApZoomCmd.previousViewBox, 1);
|
|
284
|
+
AcApZoomCmd.previousViewBox = current;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Runs zoom interaction with keyword-capable branching.
|
|
288
|
+
*
|
|
289
|
+
* @param context - Current command context.
|
|
290
|
+
*/
|
|
291
|
+
AcApZoomCmd.prototype.execute = function (context) {
|
|
292
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
293
|
+
var firstPrompt, firstResult, keyword, scalePrompt, scaleResult, factor;
|
|
294
|
+
var _a;
|
|
295
|
+
return __generator(this, function (_b) {
|
|
296
|
+
switch (_b.label) {
|
|
297
|
+
case 0:
|
|
298
|
+
firstPrompt = new AcEdPromptPointOptions(AcApI18n.t('jig.zoom.mainPrompt'));
|
|
299
|
+
firstPrompt.allowNone = true;
|
|
300
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.all.display'), AcApI18n.t('jig.zoom.keywords.all.global'), AcApI18n.t('jig.zoom.keywords.all.local'));
|
|
301
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.center.display'), AcApI18n.t('jig.zoom.keywords.center.global'), AcApI18n.t('jig.zoom.keywords.center.local'));
|
|
302
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.extents.display'), AcApI18n.t('jig.zoom.keywords.extents.global'), AcApI18n.t('jig.zoom.keywords.extents.local'));
|
|
303
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.previous.display'), AcApI18n.t('jig.zoom.keywords.previous.global'), AcApI18n.t('jig.zoom.keywords.previous.local'));
|
|
304
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.scale.display'), AcApI18n.t('jig.zoom.keywords.scale.global'), AcApI18n.t('jig.zoom.keywords.scale.local'));
|
|
305
|
+
firstPrompt.keywords.add(AcApI18n.t('jig.zoom.keywords.window.display'), AcApI18n.t('jig.zoom.keywords.window.global'), AcApI18n.t('jig.zoom.keywords.window.local'));
|
|
306
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getPoint(firstPrompt)];
|
|
307
|
+
case 1:
|
|
308
|
+
firstResult = _b.sent();
|
|
309
|
+
if (firstResult.status === AcEdPromptStatus.None) {
|
|
310
|
+
this.zoomToExtents(context);
|
|
311
|
+
return [2 /*return*/];
|
|
312
|
+
}
|
|
313
|
+
if (!(firstResult.status === AcEdPromptStatus.OK && firstResult.value)) return [3 /*break*/, 3];
|
|
314
|
+
return [4 /*yield*/, this.promptAndZoomWindowFromFirstCorner(context, firstResult.value)];
|
|
315
|
+
case 2:
|
|
316
|
+
_b.sent();
|
|
317
|
+
return [2 /*return*/];
|
|
318
|
+
case 3:
|
|
319
|
+
if (firstResult.status !== AcEdPromptStatus.Keyword)
|
|
320
|
+
return [2 /*return*/];
|
|
321
|
+
keyword = (_a = firstResult.stringResult) !== null && _a !== void 0 ? _a : '';
|
|
322
|
+
if (keyword === 'All' || keyword === 'Extents') {
|
|
323
|
+
this.zoomToExtents(context);
|
|
324
|
+
return [2 /*return*/];
|
|
325
|
+
}
|
|
326
|
+
if (!(keyword === 'Window')) return [3 /*break*/, 5];
|
|
327
|
+
return [4 /*yield*/, this.promptAndZoomWindowByBox(context)];
|
|
328
|
+
case 4:
|
|
329
|
+
_b.sent();
|
|
330
|
+
return [2 /*return*/];
|
|
331
|
+
case 5:
|
|
332
|
+
if (!(keyword === 'Center')) return [3 /*break*/, 7];
|
|
333
|
+
return [4 /*yield*/, this.runCenter(context)];
|
|
334
|
+
case 6:
|
|
335
|
+
_b.sent();
|
|
336
|
+
return [2 /*return*/];
|
|
337
|
+
case 7:
|
|
338
|
+
if (!(keyword === 'Scale')) return [3 /*break*/, 9];
|
|
339
|
+
scalePrompt = new AcEdPromptStringOptions(AcApI18n.t('jig.zoom.scaleFactor'));
|
|
340
|
+
return [4 /*yield*/, AcApDocManager.instance.editor.getString(scalePrompt)];
|
|
341
|
+
case 8:
|
|
342
|
+
scaleResult = _b.sent();
|
|
343
|
+
if (scaleResult.status !== AcEdPromptStatus.OK ||
|
|
344
|
+
!scaleResult.stringResult)
|
|
345
|
+
return [2 /*return*/];
|
|
346
|
+
factor = this.parseScaleFactor(scaleResult.stringResult);
|
|
347
|
+
if (factor == null)
|
|
348
|
+
return [2 /*return*/];
|
|
349
|
+
this.applyRelativeScale(context, factor);
|
|
350
|
+
return [2 /*return*/];
|
|
351
|
+
case 9:
|
|
352
|
+
if (keyword === 'Previous') {
|
|
353
|
+
this.runPrevious(context);
|
|
354
|
+
}
|
|
355
|
+
return [2 /*return*/];
|
|
356
|
+
}
|
|
92
357
|
});
|
|
93
358
|
});
|
|
94
359
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcApZoomCmd.js","sourceRoot":"","sources":["../../src/command/AcApZoomCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AcApZoomCmd.js","sourceRoot":"","sources":["../../src/command/AcApZoomCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAmB,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAE/E,OAAO,EAAe,cAAc,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAAiC,+BAAW;IAA5C;;IAgTA,CAAC;IA1SC;;;;;OAKG;IACK,2CAAqB,GAA7B,UAA8B,OAAoB;QAChD,IAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAA;QAC1D,IAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC;YAC7C,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK;YACrB,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM;SACvB,CAAC,CAAA;QAEF,OAAO,IAAI,SAAS,EAAE,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,WAAW,CAAC,CAAA;IAC1E,CAAC;IAED;;;;OAIG;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AC7C,QAAQ,CAAC,CAAC,CAAC,sBAAsB,CAAC,CACnC,CAAA;wBAEC,qBAAM,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,EAAA;;wBADvD,WAAW,GACf,SAA2D;wBAC7D,IACE,WAAW,CAAC,MAAM,KAAK,gBAAgB,CAAC,EAAE;4BAC1C,CAAC,WAAW,CAAC,YAAY;4BAEzB,sBAAM;wBACF,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAA;wBAC9D,IAAI,MAAM,IAAI,IAAI;4BAAE,sBAAM;wBAC1B,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAA;wBACxC,sBAAM;;wBAER,IAAI,OAAO,KAAK,UAAU,EAAE,CAAC;4BAC3B,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;wBAC3B,CAAC;;;;;KACF;IACH,kBAAC;AAAD,CAAC,AAhTD,CAAiC,WAAW,GAgT3C"}
|
package/lib/command/index.d.ts
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
export * from '../editor/command/AcEdCommand';
|
|
2
2
|
export * from '../editor/command/AcEdCommandStack';
|
|
3
|
+
export * from './AcApArcCmd';
|
|
3
4
|
export * from './AcApBaseRevCmd';
|
|
4
5
|
export * from './AcApCircleCmd';
|
|
6
|
+
export * from './AcApConvertToDxfCmd';
|
|
7
|
+
export * from './AcApConvertToPngCmd';
|
|
8
|
+
export * from './AcApPngConvertor';
|
|
5
9
|
export * from './AcApConvertToSvgCmd';
|
|
6
10
|
export * from './AcApDimLinearCmd';
|
|
11
|
+
export * from './AcApDxfConvertor';
|
|
12
|
+
export * from './AcApEllipseCmd';
|
|
7
13
|
export * from './AcApClearMeasurementsCmd';
|
|
8
14
|
export * from './AcApMeasureAngleCmd';
|
|
9
15
|
export * from './AcApMeasureAreaCmd';
|
|
10
16
|
export * from './AcApMeasureArcCmd';
|
|
11
17
|
export * from './AcApMeasureDistanceCmd';
|
|
12
18
|
export * from './AcApEraseCmd';
|
|
19
|
+
export * from './AcApHatchCmd';
|
|
13
20
|
export * from './AcApLineCmd';
|
|
14
21
|
export * from './AcApLogCmd';
|
|
15
22
|
export * from './AcApMTextCmd';
|
|
23
|
+
export * from './AcApMoveCmd';
|
|
24
|
+
export * from './AcApLayerCmd';
|
|
16
25
|
export * from './AcApOpenCmd';
|
|
17
26
|
export * from './AcApQNewCmd';
|
|
18
27
|
export * from './AcApRectCmd';
|
|
@@ -26,6 +35,8 @@ export * from './AcApSketchCmd';
|
|
|
26
35
|
export * from './AcApSysVarCmd';
|
|
27
36
|
export * from './AcApSwitchBgCmd';
|
|
28
37
|
export * from './AcApZoomCmd';
|
|
29
|
-
export * from './AcApZoomToBoxCmd';
|
|
30
38
|
export * from './AcApPanCmd';
|
|
39
|
+
export * from './AcApPolygonCmd';
|
|
40
|
+
export * from './AcApPolylineCmd';
|
|
41
|
+
export * from './AcApSplineCmd';
|
|
31
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/command/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oCAAoC,CAAA;AAClD,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAA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AA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA"}
|
package/lib/command/index.js
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
export * from '../editor/command/AcEdCommand';
|
|
2
2
|
export * from '../editor/command/AcEdCommandStack';
|
|
3
|
+
export * from './AcApArcCmd';
|
|
3
4
|
export * from './AcApBaseRevCmd';
|
|
4
5
|
export * from './AcApCircleCmd';
|
|
6
|
+
export * from './AcApConvertToDxfCmd';
|
|
7
|
+
export * from './AcApConvertToPngCmd';
|
|
8
|
+
export * from './AcApPngConvertor';
|
|
5
9
|
export * from './AcApConvertToSvgCmd';
|
|
6
10
|
export * from './AcApDimLinearCmd';
|
|
11
|
+
export * from './AcApDxfConvertor';
|
|
12
|
+
export * from './AcApEllipseCmd';
|
|
7
13
|
export * from './AcApClearMeasurementsCmd';
|
|
8
14
|
export * from './AcApMeasureAngleCmd';
|
|
9
15
|
export * from './AcApMeasureAreaCmd';
|
|
10
16
|
export * from './AcApMeasureArcCmd';
|
|
11
17
|
export * from './AcApMeasureDistanceCmd';
|
|
12
18
|
export * from './AcApEraseCmd';
|
|
19
|
+
export * from './AcApHatchCmd';
|
|
13
20
|
export * from './AcApLineCmd';
|
|
14
21
|
export * from './AcApLogCmd';
|
|
15
22
|
export * from './AcApMTextCmd';
|
|
23
|
+
export * from './AcApMoveCmd';
|
|
24
|
+
export * from './AcApLayerCmd';
|
|
16
25
|
export * from './AcApOpenCmd';
|
|
17
26
|
export * from './AcApQNewCmd';
|
|
18
27
|
export * from './AcApRectCmd';
|
|
@@ -26,6 +35,8 @@ export * from './AcApSketchCmd';
|
|
|
26
35
|
export * from './AcApSysVarCmd';
|
|
27
36
|
export * from './AcApSwitchBgCmd';
|
|
28
37
|
export * from './AcApZoomCmd';
|
|
29
|
-
export * from './AcApZoomToBoxCmd';
|
|
30
38
|
export * from './AcApPanCmd';
|
|
39
|
+
export * from './AcApPolygonCmd';
|
|
40
|
+
export * from './AcApPolylineCmd';
|
|
41
|
+
export * from './AcApSplineCmd';
|
|
31
42
|
//# sourceMappingURL=index.js.map
|
package/lib/command/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/command/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oCAAoC,CAAA;AAClD,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/command/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oCAAoC,CAAA;AACl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EAAE,MAAM,oBAAoB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,WAAW,CAAA;CACrB;AACD;;;GAGG;AACH,qBAAa,
|
|
1
|
+
{"version":3,"file":"AcEdCommandIterator.d.ts","sourceRoot":"","sources":["../../../src/editor/command/AcEdCommandIterator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,WAAW,CAAA;CACrB;AACD;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,gBAAgB,CAAC,uBAAuB,CAAC;IACnF,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,SAAS,CAA2B;gBAEhC,aAAa,EAAE,gBAAgB,EAAE;IAc7C,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,uBAAuB,CAAC;IAI9D;;;OAGG;IACH,IAAI,OAAO,2BAIV;IAED;;;;OAIG;IACH,IAAI,YAAY,kBAIf;IAED;;;OAGG;IACH,IAAI,IAAI,cAAc,CAAC,uBAAuB,EAAE,IAAI,CAAC;CAQtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcEdCommandIterator.js","sourceRoot":"","sources":["../../../src/editor/command/AcEdCommandIterator.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH;
|
|
1
|
+
{"version":3,"file":"AcEdCommandIterator.js","sourceRoot":"","sources":["../../../src/editor/command/AcEdCommandIterator.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH;IAIE,6BAAY,aAAiC;QAA7C,iBAYC;QAXC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAA;QACf,IAAI,CAAC,SAAS,GAAG,EAAE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