@mlightcad/cad-simple-viewer 1.6.2 → 1.7.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/cad-simple-viewer.js +28736 -18706
- package/dist/cad-simple-viewer.umd.cjs +1639 -308
- package/dist/mtext-renderer-worker.js +14590 -14441
- package/icons.ts +7 -0
- package/lib/app/AcApBrand.d.ts +2 -2
- package/lib/app/AcApBrand.d.ts.map +1 -1
- package/lib/app/AcApBrand.js +2 -2
- package/lib/app/AcApBrand.js.map +1 -1
- package/lib/app/AcApBusyIndicator.d.ts +6 -0
- package/lib/app/AcApBusyIndicator.d.ts.map +1 -1
- package/lib/app/AcApBusyIndicator.js +8 -0
- package/lib/app/AcApBusyIndicator.js.map +1 -1
- package/lib/app/AcApContext.d.ts +24 -0
- package/lib/app/AcApContext.d.ts.map +1 -1
- package/lib/app/AcApContext.js +103 -18
- package/lib/app/AcApContext.js.map +1 -1
- package/lib/app/AcApDocManager.d.ts +293 -31
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +972 -184
- package/lib/app/AcApDocManager.js.map +1 -1
- package/lib/app/AcApDocSession.d.ts +41 -0
- package/lib/app/AcApDocSession.d.ts.map +1 -0
- package/lib/app/AcApDocSession.js +29 -0
- package/lib/app/AcApDocSession.js.map +1 -0
- package/lib/app/AcApDocsUrl.d.ts +57 -0
- package/lib/app/AcApDocsUrl.d.ts.map +1 -0
- package/lib/app/AcApDocsUrl.js +76 -0
- package/lib/app/AcApDocsUrl.js.map +1 -0
- package/lib/app/AcApDocument.d.ts +6 -1
- package/lib/app/AcApDocument.d.ts.map +1 -1
- package/lib/app/AcApDocument.js +21 -0
- package/lib/app/AcApDocument.js.map +1 -1
- package/lib/app/AcApFontLoader.d.ts +6 -0
- package/lib/app/AcApFontLoader.d.ts.map +1 -1
- package/lib/app/AcApFontLoader.js +11 -0
- package/lib/app/AcApFontLoader.js.map +1 -1
- package/lib/app/{AcDbOpenDatabaseOptions.d.ts → AcApOpenDatabaseOptions.d.ts} +35 -8
- package/lib/app/AcApOpenDatabaseOptions.d.ts.map +1 -0
- package/lib/app/{AcDbOpenDatabaseOptions.js → AcApOpenDatabaseOptions.js} +1 -1
- package/lib/app/AcApOpenDatabaseOptions.js.map +1 -0
- package/lib/app/AcApOpenFileDialog.d.ts +1 -1
- package/lib/app/AcApOpenFileProgressController.d.ts +14 -0
- package/lib/app/AcApOpenFileProgressController.d.ts.map +1 -1
- package/lib/app/AcApOpenFileProgressController.js +18 -0
- package/lib/app/AcApOpenFileProgressController.js.map +1 -1
- package/lib/app/AcApProgress.d.ts +6 -0
- package/lib/app/AcApProgress.d.ts.map +1 -1
- package/lib/app/AcApProgress.js +17 -0
- package/lib/app/AcApProgress.js.map +1 -1
- package/lib/app/AcApSettingManager.d.ts +156 -43
- package/lib/app/AcApSettingManager.d.ts.map +1 -1
- package/lib/app/AcApSettingManager.js +216 -66
- package/lib/app/AcApSettingManager.js.map +1 -1
- package/lib/app/index.d.ts +4 -2
- package/lib/app/index.d.ts.map +1 -1
- package/lib/app/index.js +3 -1
- package/lib/app/index.js.map +1 -1
- package/lib/command/AcApCloseCmd.d.ts +15 -0
- package/lib/command/AcApCloseCmd.d.ts.map +1 -0
- package/lib/command/AcApCloseCmd.js +83 -0
- package/lib/command/AcApCloseCmd.js.map +1 -0
- package/lib/command/AcApDrawOverlayInput.d.ts +6 -0
- package/lib/command/AcApDrawOverlayInput.d.ts.map +1 -0
- package/lib/command/AcApDrawOverlayInput.js +64 -0
- package/lib/command/AcApDrawOverlayInput.js.map +1 -0
- package/lib/command/AcApDrawStyleDrawCmd.d.ts +9 -0
- package/lib/command/AcApDrawStyleDrawCmd.d.ts.map +1 -0
- package/lib/command/AcApDrawStyleDrawCmd.js +32 -0
- package/lib/command/AcApDrawStyleDrawCmd.js.map +1 -0
- package/lib/command/AcApDrawStyleSession.d.ts +20 -0
- package/lib/command/AcApDrawStyleSession.d.ts.map +1 -0
- package/lib/command/AcApDrawStyleSession.js +2 -0
- package/lib/command/AcApDrawStyleSession.js.map +1 -0
- package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts +28 -0
- package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts.map +1 -0
- package/lib/command/AcApInstallDrawStyleSessionAccessory.js +174 -0
- package/lib/command/AcApInstallDrawStyleSessionAccessory.js.map +1 -0
- package/lib/command/AcApReadingModeCmd.d.ts +17 -0
- package/lib/command/AcApReadingModeCmd.d.ts.map +1 -0
- package/lib/command/AcApReadingModeCmd.js +82 -0
- package/lib/command/AcApReadingModeCmd.js.map +1 -0
- package/lib/command/AcApShortCutSelectionAccessory.d.ts +14 -0
- package/lib/command/AcApShortCutSelectionAccessory.d.ts.map +1 -0
- package/lib/command/AcApShortCutSelectionAccessory.js +266 -0
- package/lib/command/AcApShortCutSelectionAccessory.js.map +1 -0
- package/lib/command/AcApShortCutToolbarDocBind.d.ts +20 -0
- package/lib/command/AcApShortCutToolbarDocBind.d.ts.map +1 -0
- package/lib/command/AcApShortCutToolbarDocBind.js +155 -0
- package/lib/command/AcApShortCutToolbarDocBind.js.map +1 -0
- package/lib/command/AcApZoomCmd.d.ts +39 -1
- package/lib/command/AcApZoomCmd.d.ts.map +1 -1
- package/lib/command/AcApZoomCmd.js +70 -6
- package/lib/command/AcApZoomCmd.js.map +1 -1
- package/lib/command/draw/AcApHatchCmd.js +1 -1
- package/lib/command/draw/AcApHatchCmd.js.map +1 -1
- package/lib/command/draw/AcApMTextCmd.d.ts.map +1 -1
- package/lib/command/draw/AcApMTextCmd.js +11 -7
- package/lib/command/draw/AcApMTextCmd.js.map +1 -1
- package/lib/command/index.d.ts +4 -0
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +4 -0
- package/lib/command/index.js.map +1 -1
- package/lib/command/markup/AcApMarkupArrowCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupArrowCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupArrowCmd.js +8 -9
- package/lib/command/markup/AcApMarkupArrowCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupCalloutCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupCalloutCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupCalloutCmd.js +47 -22
- package/lib/command/markup/AcApMarkupCalloutCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupCircleCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupCircleCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupCircleCmd.js +8 -9
- package/lib/command/markup/AcApMarkupCircleCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupCloudCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupCloudCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupCloudCmd.js +8 -9
- package/lib/command/markup/AcApMarkupCloudCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupCmdUtil.d.ts +7 -1
- package/lib/command/markup/AcApMarkupCmdUtil.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupCmdUtil.js +10 -0
- package/lib/command/markup/AcApMarkupCmdUtil.js.map +1 -1
- package/lib/command/markup/AcApMarkupDrawCmd.d.ts +19 -0
- package/lib/command/markup/AcApMarkupDrawCmd.d.ts.map +1 -0
- package/lib/command/markup/AcApMarkupDrawCmd.js +47 -0
- package/lib/command/markup/AcApMarkupDrawCmd.js.map +1 -0
- package/lib/command/markup/AcApMarkupGeometry.d.ts +39 -3
- package/lib/command/markup/AcApMarkupGeometry.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupGeometry.js +127 -26
- package/lib/command/markup/AcApMarkupGeometry.js.map +1 -1
- package/lib/command/markup/AcApMarkupHighlightCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupHighlightCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupHighlightCmd.js +9 -10
- package/lib/command/markup/AcApMarkupHighlightCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupHistory.d.ts +1 -1
- package/lib/command/markup/AcApMarkupHistory.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupHistory.js +4 -11
- package/lib/command/markup/AcApMarkupHistory.js.map +1 -1
- package/lib/command/markup/AcApMarkupLineCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupLineCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupLineCmd.js +18 -11
- package/lib/command/markup/AcApMarkupLineCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupPresenter.d.ts +24 -4
- package/lib/command/markup/AcApMarkupPresenter.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupPresenter.js +100 -18
- package/lib/command/markup/AcApMarkupPresenter.js.map +1 -1
- package/lib/command/markup/AcApMarkupRectCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupRectCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupRectCmd.js +8 -9
- package/lib/command/markup/AcApMarkupRectCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupSession.d.ts +54 -0
- package/lib/command/markup/AcApMarkupSession.d.ts.map +1 -0
- package/lib/command/markup/AcApMarkupSession.js +85 -0
- package/lib/command/markup/AcApMarkupSession.js.map +1 -0
- package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts +2 -0
- package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts.map +1 -0
- package/lib/command/markup/AcApMarkupSessionBootstrap.js +12 -0
- package/lib/command/markup/AcApMarkupSessionBootstrap.js.map +1 -0
- package/lib/command/markup/AcApMarkupShapeBuilder.d.ts +7 -4
- package/lib/command/markup/AcApMarkupShapeBuilder.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupShapeBuilder.js +24 -11
- package/lib/command/markup/AcApMarkupShapeBuilder.js.map +1 -1
- package/lib/command/markup/AcApMarkupShapeCallout.d.ts +21 -1
- package/lib/command/markup/AcApMarkupShapeCallout.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupShapeCallout.js +41 -25
- package/lib/command/markup/AcApMarkupShapeCallout.js.map +1 -1
- package/lib/command/markup/AcApMarkupSidecar.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupSidecar.js +39 -5
- package/lib/command/markup/AcApMarkupSidecar.js.map +1 -1
- package/lib/command/markup/AcApMarkupStampCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupStampCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupStampCmd.js +6 -7
- package/lib/command/markup/AcApMarkupStampCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupStore.d.ts +1 -1
- package/lib/command/markup/AcApMarkupStore.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupStore.js +3 -6
- package/lib/command/markup/AcApMarkupStore.js.map +1 -1
- package/lib/command/markup/AcApMarkupTextCmd.d.ts +2 -3
- package/lib/command/markup/AcApMarkupTextCmd.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupTextCmd.js +13 -9
- package/lib/command/markup/AcApMarkupTextCmd.js.map +1 -1
- package/lib/command/markup/AcApMarkupTypes.d.ts +18 -2
- package/lib/command/markup/AcApMarkupTypes.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupUtil.d.ts +36 -7
- package/lib/command/markup/AcApMarkupUtil.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupUtil.js +149 -34
- package/lib/command/markup/AcApMarkupUtil.js.map +1 -1
- package/lib/command/markup/AcApRegisterMarkupCommands.d.ts +8 -0
- package/lib/command/markup/AcApRegisterMarkupCommands.d.ts.map +1 -0
- package/lib/command/markup/AcApRegisterMarkupCommands.js +35 -0
- package/lib/command/markup/AcApRegisterMarkupCommands.js.map +1 -0
- package/lib/command/markup/entity/AcApMarkupCalloutEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupCalloutEntity.js +16 -15
- package/lib/command/markup/entity/AcApMarkupCalloutEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupEntity.d.ts +5 -1
- package/lib/command/markup/entity/AcApMarkupEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupEntity.js +19 -5
- package/lib/command/markup/entity/AcApMarkupEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts +8 -3
- package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupEntityGrips.js +15 -7
- package/lib/command/markup/entity/AcApMarkupEntityGrips.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupHighlightEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupHighlightEntity.js +14 -12
- package/lib/command/markup/entity/AcApMarkupHighlightEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupSegmentEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupSegmentEntity.js +8 -6
- package/lib/command/markup/entity/AcApMarkupSegmentEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupShapeEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupShapeEntity.js +23 -21
- package/lib/command/markup/entity/AcApMarkupShapeEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupStampEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupStampEntity.js +1 -0
- package/lib/command/markup/entity/AcApMarkupStampEntity.js.map +1 -1
- package/lib/command/markup/entity/AcApMarkupTextEntity.d.ts.map +1 -1
- package/lib/command/markup/entity/AcApMarkupTextEntity.js +1 -0
- package/lib/command/markup/entity/AcApMarkupTextEntity.js.map +1 -1
- package/lib/command/markup/index.d.ts +4 -0
- package/lib/command/markup/index.d.ts.map +1 -1
- package/lib/command/markup/index.js +5 -0
- package/lib/command/markup/index.js.map +1 -1
- package/lib/command/measure/AcApMeasureAngleArc.d.ts +27 -0
- package/lib/command/measure/AcApMeasureAngleArc.d.ts.map +1 -0
- package/lib/command/measure/AcApMeasureAngleArc.js +22 -0
- package/lib/command/measure/AcApMeasureAngleArc.js.map +1 -0
- package/lib/command/measure/AcApMeasureAngleCmd.d.ts +2 -3
- package/lib/command/measure/AcApMeasureAngleCmd.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasureAngleCmd.js +46 -45
- package/lib/command/measure/AcApMeasureAngleCmd.js.map +1 -1
- package/lib/command/measure/AcApMeasureArcCmd.d.ts +2 -3
- package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasureArcCmd.js +71 -67
- package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -1
- package/lib/command/measure/AcApMeasureAreaCmd.d.ts +2 -3
- package/lib/command/measure/AcApMeasureAreaCmd.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasureAreaCmd.js +102 -99
- package/lib/command/measure/AcApMeasureAreaCmd.js.map +1 -1
- package/lib/command/measure/AcApMeasureContinuousCmd.d.ts +44 -0
- package/lib/command/measure/AcApMeasureContinuousCmd.d.ts.map +1 -0
- package/lib/command/measure/AcApMeasureContinuousCmd.js +317 -0
- package/lib/command/measure/AcApMeasureContinuousCmd.js.map +1 -0
- package/lib/command/measure/AcApMeasureDistanceCmd.d.ts +3 -3
- package/lib/command/measure/AcApMeasureDistanceCmd.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasureDistanceCmd.js +41 -37
- package/lib/command/measure/AcApMeasureDistanceCmd.js.map +1 -1
- package/lib/command/measure/AcApMeasureDrawCmd.d.ts +32 -0
- package/lib/command/measure/AcApMeasureDrawCmd.d.ts.map +1 -0
- package/lib/command/measure/AcApMeasureDrawCmd.js +56 -0
- package/lib/command/measure/AcApMeasureDrawCmd.js.map +1 -0
- package/lib/command/measure/AcApMeasurePointCmd.d.ts +2 -3
- package/lib/command/measure/AcApMeasurePointCmd.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurePointCmd.js +20 -23
- package/lib/command/measure/AcApMeasurePointCmd.js.map +1 -1
- package/lib/command/measure/AcApMeasurementGeometry.d.ts +19 -0
- package/lib/command/measure/AcApMeasurementGeometry.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurementGeometry.js +53 -3
- package/lib/command/measure/AcApMeasurementGeometry.js.map +1 -1
- package/lib/command/measure/AcApMeasurementHistory.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurementHistory.js +3 -1
- package/lib/command/measure/AcApMeasurementHistory.js.map +1 -1
- package/lib/command/measure/AcApMeasurementPlace.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurementPlace.js +22 -5
- package/lib/command/measure/AcApMeasurementPlace.js.map +1 -1
- package/lib/command/measure/AcApMeasurementRepublish.d.ts +35 -0
- package/lib/command/measure/AcApMeasurementRepublish.d.ts.map +1 -0
- package/lib/command/measure/AcApMeasurementRepublish.js +31 -0
- package/lib/command/measure/AcApMeasurementRepublish.js.map +1 -0
- package/lib/command/measure/AcApMeasurementSidecar.d.ts +2 -1
- package/lib/command/measure/AcApMeasurementSidecar.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurementSidecar.js +55 -10
- package/lib/command/measure/AcApMeasurementSidecar.js.map +1 -1
- package/lib/command/measure/AcApMeasurementStore.d.ts +45 -2
- package/lib/command/measure/AcApMeasurementStore.d.ts.map +1 -1
- package/lib/command/measure/AcApMeasurementStore.js +277 -33
- package/lib/command/measure/AcApMeasurementStore.js.map +1 -1
- package/lib/command/measure/AcApMeasurementTypes.d.ts +17 -1
- package/lib/command/measure/AcApMeasurementTypes.d.ts.map +1 -1
- package/lib/command/measure/AcApRegisterMeasureCommands.d.ts +8 -0
- package/lib/command/measure/AcApRegisterMeasureCommands.d.ts.map +1 -0
- package/lib/command/measure/AcApRegisterMeasureCommands.js +29 -0
- package/lib/command/measure/AcApRegisterMeasureCommands.js.map +1 -0
- package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts +3 -5
- package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureAngleEntity.js +165 -56
- package/lib/command/measure/entity/AcApMeasureAngleEntity.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts +5 -8
- package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureArcEntity.js +251 -53
- package/lib/command/measure/entity/AcApMeasureArcEntity.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts +4 -3
- package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureAreaEntity.js +154 -28
- package/lib/command/measure/entity/AcApMeasureAreaEntity.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts +5 -3
- package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureDistanceEntity.js +180 -28
- package/lib/command/measure/entity/AcApMeasureDistanceEntity.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts +20 -8
- package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureDrawUtil.js +45 -19
- package/lib/command/measure/entity/AcApMeasureDrawUtil.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureEntity.d.ts +41 -6
- package/lib/command/measure/entity/AcApMeasureEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureEntity.js +48 -2
- package/lib/command/measure/entity/AcApMeasureEntity.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts +2 -2
- package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasureEntityFactory.js +10 -3
- package/lib/command/measure/entity/AcApMeasureEntityFactory.js.map +1 -1
- package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts +33 -0
- package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts.map +1 -0
- package/lib/command/measure/entity/AcApMeasureEntityGrips.js +49 -0
- package/lib/command/measure/entity/AcApMeasureEntityGrips.js.map +1 -0
- package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts +3 -2
- package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts.map +1 -1
- package/lib/command/measure/entity/AcApMeasurePointEntity.js +130 -16
- package/lib/command/measure/entity/AcApMeasurePointEntity.js.map +1 -1
- package/lib/command/measure/entity/index.d.ts +1 -0
- package/lib/command/measure/entity/index.d.ts.map +1 -1
- package/lib/command/measure/entity/index.js +1 -0
- package/lib/command/measure/entity/index.js.map +1 -1
- package/lib/command/measure/index.d.ts +4 -0
- package/lib/command/measure/index.d.ts.map +1 -1
- package/lib/command/measure/index.js +4 -0
- package/lib/command/measure/index.js.map +1 -1
- package/lib/command/overlay/AcApHtmlLivePreview.d.ts +16 -4
- package/lib/command/overlay/AcApHtmlLivePreview.d.ts.map +1 -1
- package/lib/command/overlay/AcApHtmlLivePreview.js +42 -12
- package/lib/command/overlay/AcApHtmlLivePreview.js.map +1 -1
- package/lib/command/overlay/AcApOverlayDrawUtil.d.ts +113 -3
- package/lib/command/overlay/AcApOverlayDrawUtil.d.ts.map +1 -1
- package/lib/command/overlay/AcApOverlayDrawUtil.js +341 -7
- package/lib/command/overlay/AcApOverlayDrawUtil.js.map +1 -1
- package/lib/command/overlay/AcApOverlayGripHost.d.ts +19 -0
- package/lib/command/overlay/AcApOverlayGripHost.d.ts.map +1 -1
- package/lib/command/overlay/AcApOverlayGripHost.js +124 -6
- package/lib/command/overlay/AcApOverlayGripHost.js.map +1 -1
- package/lib/editor/command/AcEdCommand.d.ts +17 -0
- package/lib/editor/command/AcEdCommand.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommand.js +81 -1
- package/lib/editor/command/AcEdCommand.js.map +1 -1
- package/lib/editor/command/AcEdCommandStack.d.ts +14 -3
- package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
- package/lib/editor/command/AcEdCommandStack.js +39 -3
- package/lib/editor/command/AcEdCommandStack.js.map +1 -1
- package/lib/editor/command/AcEdSessionAccessory.d.ts +82 -0
- package/lib/editor/command/AcEdSessionAccessory.d.ts.map +1 -0
- package/lib/editor/command/AcEdSessionAccessory.js +15 -0
- package/lib/editor/command/AcEdSessionAccessory.js.map +1 -0
- package/lib/editor/command/AcEdSessionProviderRegistry.d.ts +42 -0
- package/lib/editor/command/AcEdSessionProviderRegistry.d.ts.map +1 -0
- package/lib/editor/command/AcEdSessionProviderRegistry.js +54 -0
- package/lib/editor/command/AcEdSessionProviderRegistry.js.map +1 -0
- package/lib/editor/command/index.d.ts +4 -0
- package/lib/editor/command/index.d.ts.map +1 -1
- package/lib/editor/command/index.js +3 -0
- package/lib/editor/command/index.js.map +1 -1
- package/lib/editor/global/AcEdUiColor.d.ts +10 -0
- package/lib/editor/global/AcEdUiColor.d.ts.map +1 -1
- package/lib/editor/global/AcEdUiColor.js +14 -0
- package/lib/editor/global/AcEdUiColor.js.map +1 -1
- package/lib/editor/global/AcEdUiLayout.d.ts +102 -0
- package/lib/editor/global/AcEdUiLayout.d.ts.map +1 -1
- package/lib/editor/global/AcEdUiLayout.js +137 -0
- package/lib/editor/global/AcEdUiLayout.js.map +1 -1
- package/lib/editor/global/AcEdUiTheme.d.ts +15 -3
- package/lib/editor/global/AcEdUiTheme.d.ts.map +1 -1
- package/lib/editor/global/AcEdUiTheme.js +113 -6
- package/lib/editor/global/AcEdUiTheme.js.map +1 -1
- package/lib/editor/grip/AcEdGripAppearance.d.ts +18 -0
- package/lib/editor/grip/AcEdGripAppearance.d.ts.map +1 -1
- package/lib/editor/grip/AcEdGripAppearance.js +23 -1
- package/lib/editor/grip/AcEdGripAppearance.js.map +1 -1
- package/lib/editor/grip/AcEdGripEditSession.js +2 -2
- package/lib/editor/grip/AcEdGripEditSession.js.map +1 -1
- package/lib/editor/grip/AcEdGripHandle.d.ts +1 -2
- package/lib/editor/grip/AcEdGripHandle.d.ts.map +1 -1
- package/lib/editor/grip/AcEdGripHandle.js +4 -13
- package/lib/editor/grip/AcEdGripHandle.js.map +1 -1
- package/lib/editor/grip/AcEdGripManager.d.ts +3 -1
- package/lib/editor/grip/AcEdGripManager.d.ts.map +1 -1
- package/lib/editor/grip/AcEdGripManager.js +30 -14
- package/lib/editor/grip/AcEdGripManager.js.map +1 -1
- package/lib/editor/grip/index.d.ts +1 -0
- package/lib/editor/grip/index.d.ts.map +1 -1
- package/lib/editor/grip/index.js +1 -0
- package/lib/editor/grip/index.js.map +1 -1
- package/lib/editor/input/AcEdDynamicInput.d.ts +15 -0
- package/lib/editor/input/AcEdDynamicInput.d.ts.map +1 -0
- package/lib/editor/input/AcEdDynamicInput.js +22 -0
- package/lib/editor/input/AcEdDynamicInput.js.map +1 -0
- package/lib/editor/input/AcEdOsnapCenterMarks.d.ts +19 -1
- package/lib/editor/input/AcEdOsnapCenterMarks.d.ts.map +1 -1
- package/lib/editor/input/AcEdOsnapCenterMarks.js +53 -9
- package/lib/editor/input/AcEdOsnapCenterMarks.js.map +1 -1
- package/lib/editor/input/AcEdOsnapResolver.d.ts.map +1 -1
- package/lib/editor/input/AcEdOsnapResolver.js +216 -35
- package/lib/editor/input/AcEdOsnapResolver.js.map +1 -1
- package/lib/editor/input/AcEditor.d.ts +14 -1
- package/lib/editor/input/AcEditor.d.ts.map +1 -1
- package/lib/editor/input/AcEditor.js +18 -2
- package/lib/editor/input/AcEditor.js.map +1 -1
- package/lib/editor/input/index.d.ts +1 -0
- package/lib/editor/input/index.d.ts.map +1 -1
- package/lib/editor/input/index.js +1 -0
- package/lib/editor/input/index.js.map +1 -1
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts +12 -0
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts.map +1 -1
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.js +53 -18
- package/lib/editor/input/marker/AcEdOSnapMarkerManager.js.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +15 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js +24 -0
- package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
- package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts +33 -0
- package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js +85 -0
- package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js.map +1 -0
- package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts +57 -0
- package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js +104 -0
- package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js.map +1 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts +144 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +412 -13
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +2 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingMessage.js +2 -2
- package/lib/editor/input/ui/AcEdFloatingMessage.js.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.d.ts +100 -7
- package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdInputManager.js +805 -164
- package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
- package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts +94 -0
- package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdInteractionStrategy.js +60 -0
- package/lib/editor/input/ui/AcEdInteractionStrategy.js.map +1 -0
- package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts +52 -0
- package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMobileBoxGesture.js +201 -0
- package/lib/editor/input/ui/AcEdMobileBoxGesture.js.map +1 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts +89 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.js +143 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.js.map +1 -0
- package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts +29 -0
- package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMobileSessionMetrics.js +37 -0
- package/lib/editor/input/ui/AcEdMobileSessionMetrics.js.map +1 -0
- package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts +45 -0
- package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMobileSnapLoupe.js +63 -0
- package/lib/editor/input/ui/AcEdMobileSnapLoupe.js.map +1 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts +113 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.js +295 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.js.map +1 -0
- package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts +28 -0
- package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js +86 -0
- package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js.map +1 -0
- package/lib/editor/input/ui/AcEdSnapLoupe.d.ts +60 -0
- package/lib/editor/input/ui/AcEdSnapLoupe.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdSnapLoupe.js +109 -0
- package/lib/editor/input/ui/AcEdSnapLoupe.js.map +1 -0
- package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts +47 -0
- package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdSnapLoupeMath.js +50 -0
- package/lib/editor/input/ui/AcEdSnapLoupeMath.js.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts +97 -0
- package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPickStrategy.js +74 -0
- package/lib/editor/input/ui/AcEdTouchPickStrategy.js.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPointSession.d.ts +198 -0
- package/lib/editor/input/ui/AcEdTouchPointSession.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPointSession.js +329 -0
- package/lib/editor/input/ui/AcEdTouchPointSession.js.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts +18 -0
- package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdTouchPointTiming.js +18 -0
- package/lib/editor/input/ui/AcEdTouchPointTiming.js.map +1 -0
- package/lib/editor/input/ui/index.d.ts +13 -0
- package/lib/editor/input/ui/index.d.ts.map +1 -1
- package/lib/editor/input/ui/index.js +13 -0
- package/lib/editor/input/ui/index.js.map +1 -1
- package/lib/editor/view/AcEdBaseView.d.ts +144 -39
- package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
- package/lib/editor/view/AcEdBaseView.js +210 -41
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/editor/view/AcEdViewMode.d.ts +34 -0
- package/lib/editor/view/AcEdViewMode.d.ts.map +1 -0
- package/lib/editor/view/AcEdViewMode.js +35 -0
- package/lib/editor/view/AcEdViewMode.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/AcApI18n.d.ts +1 -1
- package/lib/i18n/AcApI18n.d.ts.map +1 -1
- package/lib/i18n/AcApI18n.js +3 -2
- package/lib/i18n/AcApI18n.js.map +1 -1
- package/lib/i18n/ar/command.d.ts +465 -0
- package/lib/i18n/ar/command.d.ts.map +1 -0
- package/lib/i18n/ar/command.js +14 -0
- package/lib/i18n/ar/command.js.map +1 -0
- package/lib/i18n/ar/jig.d.ts +1251 -0
- package/lib/i18n/ar/jig.d.ts.map +1 -0
- package/lib/i18n/ar/jig.js +606 -0
- package/lib/i18n/ar/jig.js.map +1 -0
- package/lib/i18n/ar/main.d.ts +133 -0
- package/lib/i18n/ar/main.d.ts.map +1 -0
- package/lib/i18n/ar/main.js +132 -0
- package/lib/i18n/ar/main.js.map +1 -0
- package/lib/i18n/cs/command.d.ts +9 -0
- package/lib/i18n/cs/command.d.ts.map +1 -1
- package/lib/i18n/cs/command.js +9 -0
- package/lib/i18n/cs/command.js.map +1 -1
- package/lib/i18n/cs/jig.d.ts +20 -0
- package/lib/i18n/cs/jig.d.ts.map +1 -1
- package/lib/i18n/cs/jig.js +21 -1
- package/lib/i18n/cs/jig.js.map +1 -1
- package/lib/i18n/cs/main.d.ts +70 -1
- package/lib/i18n/cs/main.d.ts.map +1 -1
- package/lib/i18n/cs/main.js +71 -2
- package/lib/i18n/cs/main.js.map +1 -1
- package/lib/i18n/en/command.d.ts +12 -0
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +12 -0
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +20 -0
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +21 -1
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/en/main.d.ts +70 -1
- package/lib/i18n/en/main.d.ts.map +1 -1
- package/lib/i18n/en/main.js +71 -2
- package/lib/i18n/en/main.js.map +1 -1
- package/lib/i18n/index.d.ts.map +1 -1
- package/lib/i18n/index.js +8 -0
- package/lib/i18n/index.js.map +1 -1
- package/lib/i18n/tr/command.d.ts +9 -0
- package/lib/i18n/tr/command.d.ts.map +1 -1
- package/lib/i18n/tr/command.js +9 -0
- package/lib/i18n/tr/command.js.map +1 -1
- package/lib/i18n/tr/jig.d.ts +20 -0
- package/lib/i18n/tr/jig.d.ts.map +1 -1
- package/lib/i18n/tr/jig.js +21 -1
- package/lib/i18n/tr/jig.js.map +1 -1
- package/lib/i18n/tr/main.d.ts +70 -1
- package/lib/i18n/tr/main.d.ts.map +1 -1
- package/lib/i18n/tr/main.js +71 -2
- package/lib/i18n/tr/main.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +12 -0
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +12 -0
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +20 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +21 -1
- package/lib/i18n/zh/jig.js.map +1 -1
- package/lib/i18n/zh/main.d.ts +70 -1
- package/lib/i18n/zh/main.d.ts.map +1 -1
- package/lib/i18n/zh/main.js +72 -3
- package/lib/i18n/zh/main.js.map +1 -1
- package/lib/plugin/AcApPluginManager.d.ts +10 -0
- package/lib/plugin/AcApPluginManager.d.ts.map +1 -1
- package/lib/plugin/AcApPluginManager.js +18 -0
- package/lib/plugin/AcApPluginManager.js.map +1 -1
- package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts.map +1 -1
- package/lib/spatialIndex/AcTrRBushSpatialIndex.js +11 -4
- package/lib/spatialIndex/AcTrRBushSpatialIndex.js.map +1 -1
- package/lib/ui/AcUiAciColorDialog.d.ts +57 -0
- package/lib/ui/AcUiAciColorDialog.d.ts.map +1 -0
- package/lib/ui/AcUiAciColorDialog.js +91 -0
- package/lib/ui/AcUiAciColorDialog.js.map +1 -0
- package/lib/ui/AcUiAciPaletteUi.d.ts +118 -0
- package/lib/ui/AcUiAciPaletteUi.d.ts.map +1 -0
- package/lib/ui/AcUiAciPaletteUi.js +521 -0
- package/lib/ui/AcUiAciPaletteUi.js.map +1 -0
- package/lib/ui/AcUiDialog.d.ts +38 -2
- package/lib/ui/AcUiDialog.d.ts.map +1 -1
- package/lib/ui/AcUiDialog.js +45 -16
- package/lib/ui/AcUiDialog.js.map +1 -1
- package/lib/ui/AcUiDrawStyle.d.ts +59 -0
- package/lib/ui/AcUiDrawStyle.d.ts.map +1 -0
- package/lib/ui/AcUiDrawStyle.js +94 -0
- package/lib/ui/AcUiDrawStyle.js.map +1 -0
- package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts +108 -0
- package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts.map +1 -0
- package/lib/ui/AcUiDrawStyleSessionAccessory.js +455 -0
- package/lib/ui/AcUiDrawStyleSessionAccessory.js.map +1 -0
- package/lib/ui/AcUiFullscreenPanel.d.ts +89 -0
- package/lib/ui/AcUiFullscreenPanel.d.ts.map +1 -0
- package/lib/ui/AcUiFullscreenPanel.js +224 -0
- package/lib/ui/AcUiFullscreenPanel.js.map +1 -0
- package/lib/ui/AcUiHelpPanel.d.ts +49 -0
- package/lib/ui/AcUiHelpPanel.d.ts.map +1 -0
- package/lib/ui/AcUiHelpPanel.js +124 -0
- package/lib/ui/AcUiHelpPanel.js.map +1 -0
- package/lib/ui/AcUiMobileSessionPanel.d.ts +174 -0
- package/lib/ui/AcUiMobileSessionPanel.d.ts.map +1 -0
- package/lib/ui/AcUiMobileSessionPanel.js +557 -0
- package/lib/ui/AcUiMobileSessionPanel.js.map +1 -0
- package/lib/ui/AcUiShortCutToolbar.d.ts +136 -0
- package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -0
- package/lib/ui/AcUiShortCutToolbar.js +250 -0
- package/lib/ui/AcUiShortCutToolbar.js.map +1 -0
- package/lib/ui/AcUiSimpleToolbar.d.ts +110 -0
- package/lib/ui/AcUiSimpleToolbar.d.ts.map +1 -0
- package/lib/ui/AcUiSimpleToolbar.js +431 -0
- package/lib/ui/AcUiSimpleToolbar.js.map +1 -0
- package/lib/ui/AcUiTextHeightDialog.d.ts +85 -0
- package/lib/ui/AcUiTextHeightDialog.d.ts.map +1 -0
- package/lib/ui/AcUiTextHeightDialog.js +205 -0
- package/lib/ui/AcUiTextHeightDialog.js.map +1 -0
- package/lib/ui/AcUiTextHeightDialogHelpers.d.ts +54 -0
- package/lib/ui/AcUiTextHeightDialogHelpers.d.ts.map +1 -0
- package/lib/ui/AcUiTextHeightDialogHelpers.js +128 -0
- package/lib/ui/AcUiTextHeightDialogHelpers.js.map +1 -0
- package/lib/ui/AcUiTouchPointTutorialDialog.d.ts +18 -0
- package/lib/ui/AcUiTouchPointTutorialDialog.d.ts.map +1 -0
- package/lib/ui/AcUiTouchPointTutorialDialog.js +58 -0
- package/lib/ui/AcUiTouchPointTutorialDialog.js.map +1 -0
- package/lib/ui/icons.d.ts +175 -0
- package/lib/ui/icons.d.ts.map +1 -0
- package/lib/ui/icons.js +227 -0
- package/lib/ui/icons.js.map +1 -0
- package/lib/ui/index.d.ts +14 -2
- package/lib/ui/index.d.ts.map +1 -1
- package/lib/ui/index.js +14 -2
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/touch-point-tutorial.d.ts +64 -0
- package/lib/ui/touch-point-tutorial.d.ts.map +1 -0
- package/lib/ui/touch-point-tutorial.js +271 -0
- package/lib/ui/touch-point-tutorial.js.map +1 -0
- package/lib/ui-html-entry.d.ts +31 -0
- package/lib/ui-html-entry.d.ts.map +1 -0
- package/lib/ui-html-entry.js +23 -0
- package/lib/ui-html-entry.js.map +1 -0
- package/lib/util/AcApAciPalette.d.ts +7 -0
- package/lib/util/AcApAciPalette.d.ts.map +1 -0
- package/lib/util/AcApAciPalette.js +51 -0
- package/lib/util/AcApAciPalette.js.map +1 -0
- package/lib/util/AcApCommandUtil.d.ts +15 -0
- package/lib/util/AcApCommandUtil.d.ts.map +1 -0
- package/lib/util/AcApCommandUtil.js +38 -0
- package/lib/util/AcApCommandUtil.js.map +1 -0
- package/lib/util/AcApCssColor.d.ts +10 -0
- package/lib/util/AcApCssColor.d.ts.map +1 -1
- package/lib/util/AcApCssColor.js +52 -0
- package/lib/util/AcApCssColor.js.map +1 -1
- package/lib/util/AcApMeasurementUnits.d.ts +13 -1
- package/lib/util/AcApMeasurementUnits.d.ts.map +1 -1
- package/lib/util/AcApMeasurementUnits.js +144 -10
- package/lib/util/AcApMeasurementUnits.js.map +1 -1
- package/lib/util/AcApMeasurementUtil.d.ts +30 -9
- package/lib/util/AcApMeasurementUtil.d.ts.map +1 -1
- package/lib/util/AcApMeasurementUtil.js +70 -40
- package/lib/util/AcApMeasurementUtil.js.map +1 -1
- package/lib/util/AcApOpenFileErrorMessage.d.ts +25 -0
- package/lib/util/AcApOpenFileErrorMessage.d.ts.map +1 -0
- package/lib/util/AcApOpenFileErrorMessage.js +121 -0
- package/lib/util/AcApOpenFileErrorMessage.js.map +1 -0
- package/lib/util/index.d.ts +3 -0
- package/lib/util/index.d.ts.map +1 -1
- package/lib/util/index.js +3 -0
- package/lib/util/index.js.map +1 -1
- package/lib/view/AcApCompareDisplay.d.ts +37 -0
- package/lib/view/AcApCompareDisplay.d.ts.map +1 -0
- package/lib/view/AcApCompareDisplay.js +8 -0
- package/lib/view/AcApCompareDisplay.js.map +1 -0
- package/lib/view/AcApReadingMode.d.ts +52 -0
- package/lib/view/AcApReadingMode.d.ts.map +1 -0
- package/lib/view/AcApReadingMode.js +81 -0
- package/lib/view/AcApReadingMode.js.map +1 -0
- package/lib/view/AcEdReviewOverlayPick.d.ts +9 -0
- package/lib/view/AcEdReviewOverlayPick.d.ts.map +1 -1
- package/lib/view/AcEdReviewOverlayPick.js +30 -1
- package/lib/view/AcEdReviewOverlayPick.js.map +1 -1
- package/lib/view/AcEdViewKeyHandler.d.ts.map +1 -1
- package/lib/view/AcEdViewKeyHandler.js +6 -1
- package/lib/view/AcEdViewKeyHandler.js.map +1 -1
- package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts +6 -1
- package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts.map +1 -1
- package/lib/view/AcTrInheritedLayerMaterialMapper.js +9 -1
- package/lib/view/AcTrInheritedLayerMaterialMapper.js.map +1 -1
- package/lib/view/AcTrLayer.d.ts +6 -0
- package/lib/view/AcTrLayer.d.ts.map +1 -1
- package/lib/view/AcTrLayer.js +8 -0
- package/lib/view/AcTrLayer.js.map +1 -1
- package/lib/view/AcTrLayout.d.ts +12 -0
- package/lib/view/AcTrLayout.d.ts.map +1 -1
- package/lib/view/AcTrLayout.js +35 -12
- package/lib/view/AcTrLayout.js.map +1 -1
- package/lib/view/AcTrLayoutView.d.ts +25 -1
- package/lib/view/AcTrLayoutView.d.ts.map +1 -1
- package/lib/view/AcTrLayoutView.js +62 -1
- package/lib/view/AcTrLayoutView.js.map +1 -1
- package/lib/view/AcTrScene.d.ts +7 -0
- package/lib/view/AcTrScene.d.ts.map +1 -1
- package/lib/view/AcTrScene.js +13 -0
- package/lib/view/AcTrScene.js.map +1 -1
- package/lib/view/AcTrView2d.d.ts +79 -2
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +407 -57
- package/lib/view/AcTrView2d.js.map +1 -1
- package/lib/view/AcTrViewSessionState.d.ts +32 -0
- package/lib/view/AcTrViewSessionState.d.ts.map +1 -0
- package/lib/view/AcTrViewSessionState.js +2 -0
- package/lib/view/AcTrViewSessionState.js.map +1 -0
- package/lib/view/index.d.ts +3 -0
- package/lib/view/index.d.ts.map +1 -1
- package/lib/view/index.js +3 -0
- package/lib/view/index.js.map +1 -1
- package/package.json +15 -8
- package/src/ui/icons.ts +387 -0
- package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +0 -1
- package/lib/app/AcDbOpenDatabaseOptions.js.map +0 -1
- package/lib/ui/AcApDrawStyle.d.ts +0 -81
- package/lib/ui/AcApDrawStyle.d.ts.map +0 -1
- package/lib/ui/AcApDrawStyle.js +0 -170
- package/lib/ui/AcApDrawStyle.js.map +0 -1
- package/lib/ui/AcApDrawStyleToolbar.d.ts +0 -129
- package/lib/ui/AcApDrawStyleToolbar.d.ts.map +0 -1
- package/lib/ui/AcApDrawStyleToolbar.js +0 -607
- package/lib/ui/AcApDrawStyleToolbar.js.map +0 -1
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { ACED_TOUCH_POINT_LONG_PRESS_MS, acedArmTouchMouseGuard, acedShouldIgnoreCompatMouse, acedSinkFollowingClick, AcEdTouchPointSession } from './AcEdTouchPointSession';
|
|
2
|
+
/**
|
|
3
|
+
* Attaches a mobile long-press → drag → release box gesture to `host.element`.
|
|
4
|
+
*
|
|
5
|
+
* @returns Dispose function that removes listeners and cancels any in-flight
|
|
6
|
+
* gesture.
|
|
7
|
+
*/
|
|
8
|
+
export function acedAttachMobileBoxGesture(host) {
|
|
9
|
+
var _a;
|
|
10
|
+
var session = new AcEdTouchPointSession();
|
|
11
|
+
var clickThreshold = (_a = host.clickThresholdPx) !== null && _a !== void 0 ? _a : 8;
|
|
12
|
+
var activated = false;
|
|
13
|
+
var startClientX = 0;
|
|
14
|
+
var startClientY = 0;
|
|
15
|
+
var capturePointerId = null;
|
|
16
|
+
var restoreNavigation = function () {
|
|
17
|
+
var _a;
|
|
18
|
+
(_a = host.setNavigationEnabled) === null || _a === void 0 ? void 0 : _a.call(host, true);
|
|
19
|
+
};
|
|
20
|
+
var clearCapture = function () {
|
|
21
|
+
if (capturePointerId == null)
|
|
22
|
+
return;
|
|
23
|
+
try {
|
|
24
|
+
if (host.element.hasPointerCapture(capturePointerId)) {
|
|
25
|
+
host.element.releasePointerCapture(capturePointerId);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
catch (_a) {
|
|
29
|
+
// Pointer may already be released.
|
|
30
|
+
}
|
|
31
|
+
capturePointerId = null;
|
|
32
|
+
};
|
|
33
|
+
var finishCompat = function () {
|
|
34
|
+
acedArmTouchMouseGuard();
|
|
35
|
+
acedSinkFollowingClick();
|
|
36
|
+
};
|
|
37
|
+
var resetGesture = function () {
|
|
38
|
+
var _a;
|
|
39
|
+
var wasActivated = activated;
|
|
40
|
+
activated = false;
|
|
41
|
+
session.cancel();
|
|
42
|
+
clearCapture();
|
|
43
|
+
restoreNavigation();
|
|
44
|
+
if (wasActivated)
|
|
45
|
+
(_a = host.onAbort) === null || _a === void 0 ? void 0 : _a.call(host);
|
|
46
|
+
};
|
|
47
|
+
var onPointerDown = function (e) {
|
|
48
|
+
if (e.pointerType !== 'touch' || e.button !== 0)
|
|
49
|
+
return;
|
|
50
|
+
if (host.shouldStart && !host.shouldStart())
|
|
51
|
+
return;
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
acedArmTouchMouseGuard();
|
|
54
|
+
activated = false;
|
|
55
|
+
session.start(e.pointerId, e.clientX, e.clientY, function () {
|
|
56
|
+
var _a;
|
|
57
|
+
activated = true;
|
|
58
|
+
startClientX = session.x;
|
|
59
|
+
startClientY = session.y;
|
|
60
|
+
(_a = host.setNavigationEnabled) === null || _a === void 0 ? void 0 : _a.call(host, false);
|
|
61
|
+
host.onActivate(session.x, session.y);
|
|
62
|
+
});
|
|
63
|
+
capturePointerId = e.pointerId;
|
|
64
|
+
try {
|
|
65
|
+
host.element.setPointerCapture(e.pointerId);
|
|
66
|
+
}
|
|
67
|
+
catch (_a) {
|
|
68
|
+
capturePointerId = null;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
var applyMove = function (clientX, clientY) {
|
|
72
|
+
var moved = session.move(clientX, clientY, true);
|
|
73
|
+
if (moved === 'panning') {
|
|
74
|
+
clearCapture();
|
|
75
|
+
restoreNavigation();
|
|
76
|
+
return 'panning';
|
|
77
|
+
}
|
|
78
|
+
if (!activated || !session.isLoupe)
|
|
79
|
+
return 'continue';
|
|
80
|
+
host.onMove(clientX, clientY);
|
|
81
|
+
return 'continue';
|
|
82
|
+
};
|
|
83
|
+
var onPointerMove = function (e) {
|
|
84
|
+
if (e.pointerType !== 'touch')
|
|
85
|
+
return;
|
|
86
|
+
if (e.pointerId !== session.pointerId)
|
|
87
|
+
return;
|
|
88
|
+
applyMove(e.clientX, e.clientY);
|
|
89
|
+
};
|
|
90
|
+
var complete = function (clientX, clientY, commit, pointerId) {
|
|
91
|
+
var _a, _b;
|
|
92
|
+
if (session.phase === 'idle')
|
|
93
|
+
return;
|
|
94
|
+
if (pointerId !== session.pointerId)
|
|
95
|
+
return;
|
|
96
|
+
var wasActivated = activated;
|
|
97
|
+
var startX = startClientX;
|
|
98
|
+
var startY = startClientY;
|
|
99
|
+
var action = commit
|
|
100
|
+
? session.end()
|
|
101
|
+
: (session.cancel(), 'ignore');
|
|
102
|
+
activated = false;
|
|
103
|
+
clearCapture();
|
|
104
|
+
restoreNavigation();
|
|
105
|
+
finishCompat();
|
|
106
|
+
if (!commit || action === 'ignore') {
|
|
107
|
+
if (wasActivated)
|
|
108
|
+
(_a = host.onAbort) === null || _a === void 0 ? void 0 : _a.call(host);
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (wasActivated) {
|
|
112
|
+
var dx = clientX - startX;
|
|
113
|
+
var dy = clientY - startY;
|
|
114
|
+
var moved = Math.hypot(dx, dy) >= clickThreshold;
|
|
115
|
+
host.onBoxEnd(clientX, clientY, moved);
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
(_b = host.onTap) === null || _b === void 0 ? void 0 : _b.call(host, clientX, clientY);
|
|
119
|
+
};
|
|
120
|
+
var onPointerUp = function (e) {
|
|
121
|
+
if (e.pointerType !== 'touch')
|
|
122
|
+
return;
|
|
123
|
+
complete(e.clientX, e.clientY, true, e.pointerId);
|
|
124
|
+
};
|
|
125
|
+
var onPointerCancel = function (e) {
|
|
126
|
+
if (e.pointerType !== 'touch')
|
|
127
|
+
return;
|
|
128
|
+
if (session.phase === 'idle')
|
|
129
|
+
return;
|
|
130
|
+
if (e.pointerId !== session.pointerId)
|
|
131
|
+
return;
|
|
132
|
+
// Still waiting for long-press: keep the gesture alive (Chrome/Safari
|
|
133
|
+
// synthesize pointercancel for OS long-press). After activate, cancel.
|
|
134
|
+
if (!activated && session.isPicking) {
|
|
135
|
+
clearCapture();
|
|
136
|
+
finishCompat();
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
complete(e.clientX, e.clientY, false, e.pointerId);
|
|
140
|
+
};
|
|
141
|
+
var onTouchStart = function (e) {
|
|
142
|
+
if (session.phase === 'idle')
|
|
143
|
+
return;
|
|
144
|
+
if (e.touches.length !== 1)
|
|
145
|
+
return;
|
|
146
|
+
e.preventDefault();
|
|
147
|
+
};
|
|
148
|
+
var onTouchMove = function (e) {
|
|
149
|
+
var _a;
|
|
150
|
+
if (!session.isPicking)
|
|
151
|
+
return;
|
|
152
|
+
var touch = (_a = e.touches[0]) !== null && _a !== void 0 ? _a : e.changedTouches[0];
|
|
153
|
+
if (!touch)
|
|
154
|
+
return;
|
|
155
|
+
var result = applyMove(touch.clientX, touch.clientY);
|
|
156
|
+
if (result === 'panning')
|
|
157
|
+
return;
|
|
158
|
+
if (!session.isLoupe)
|
|
159
|
+
return;
|
|
160
|
+
e.preventDefault();
|
|
161
|
+
};
|
|
162
|
+
var onTouchEnd = function (e) {
|
|
163
|
+
if (session.phase === 'idle')
|
|
164
|
+
return;
|
|
165
|
+
if (e.touches.length > 0)
|
|
166
|
+
return;
|
|
167
|
+
var touch = e.changedTouches[0];
|
|
168
|
+
if (!touch)
|
|
169
|
+
return;
|
|
170
|
+
complete(touch.clientX, touch.clientY, true, session.pointerId);
|
|
171
|
+
};
|
|
172
|
+
var onContextMenu = function (e) {
|
|
173
|
+
if (session.phase === 'idle' && !acedShouldIgnoreCompatMouse())
|
|
174
|
+
return;
|
|
175
|
+
e.preventDefault();
|
|
176
|
+
e.stopImmediatePropagation();
|
|
177
|
+
};
|
|
178
|
+
var touchListenerOptions = { passive: false };
|
|
179
|
+
host.element.addEventListener('pointerdown', onPointerDown);
|
|
180
|
+
host.element.addEventListener('pointermove', onPointerMove);
|
|
181
|
+
window.addEventListener('pointerup', onPointerUp);
|
|
182
|
+
window.addEventListener('pointercancel', onPointerCancel);
|
|
183
|
+
host.element.addEventListener('touchstart', onTouchStart, touchListenerOptions);
|
|
184
|
+
window.addEventListener('touchmove', onTouchMove, touchListenerOptions);
|
|
185
|
+
window.addEventListener('touchend', onTouchEnd);
|
|
186
|
+
host.element.addEventListener('contextmenu', onContextMenu, true);
|
|
187
|
+
return function () {
|
|
188
|
+
resetGesture();
|
|
189
|
+
host.element.removeEventListener('pointerdown', onPointerDown);
|
|
190
|
+
host.element.removeEventListener('pointermove', onPointerMove);
|
|
191
|
+
window.removeEventListener('pointerup', onPointerUp);
|
|
192
|
+
window.removeEventListener('pointercancel', onPointerCancel);
|
|
193
|
+
host.element.removeEventListener('touchstart', onTouchStart);
|
|
194
|
+
window.removeEventListener('touchmove', onTouchMove);
|
|
195
|
+
window.removeEventListener('touchend', onTouchEnd);
|
|
196
|
+
host.element.removeEventListener('contextmenu', onContextMenu, true);
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
/** Re-export so callers can document the long-press delay without a second import. */
|
|
200
|
+
export { ACED_TOUCH_POINT_LONG_PRESS_MS };
|
|
201
|
+
//# sourceMappingURL=AcEdMobileBoxGesture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileBoxGesture.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileBoxGesture.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,sBAAsB,EACtB,2BAA2B,EAC3B,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,yBAAyB,CAAA;AA4ChC;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CACxC,IAA8B;;IAE9B,IAAM,OAAO,GAAG,IAAI,qBAAqB,EAAE,CAAA;IAC3C,IAAM,cAAc,GAAG,MAAA,IAAI,CAAC,gBAAgB,mCAAI,CAAC,CAAA;IACjD,IAAI,SAAS,GAAG,KAAK,C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AAA;IAC/C,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC,CAAA;IAEjE,OAAO;QACL,YAAY,EAAE,CAAA;QACd,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;QAC9D,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,aAAa,EAAE,aAAa,CAAC,CAAA;QAC9D,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAA;QACpD,MAAM,CAAC,mBAAmB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAA;QAC5D,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;QAC5D,MAAM,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,CAAC,CAAA;QACpD,MAAM,CAAC,mBAAmB,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;QAClD,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,aAAa,EAAE,aAAa,EAAE,IAAI,CAAC,CAAA;IACtE,CAAC,CAAA;AACH,CAAC;AAED,sFAAsF;AACtF,OAAO,EAAE,8BAA8B,EAAE,CAAA"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type AcUiMobileSessionMetricTexts } from '../../../ui/AcUiMobileSessionPanel';
|
|
2
|
+
import type { AcEdMobileSessionMetrics } from './AcEdMobileSessionMetrics';
|
|
3
|
+
/** Keyword chip shown on the mobile session panel. */
|
|
4
|
+
export interface AcEdMobileKeywordChip {
|
|
5
|
+
/** Text shown on the chip. */
|
|
6
|
+
displayName: string;
|
|
7
|
+
/** Canonical keyword token passed to {@link AcEdMobileCommandChromeCallbacks.onKeyword}. */
|
|
8
|
+
globalName: string;
|
|
9
|
+
/** When false the chip is visible but not tappable. */
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
}
|
|
12
|
+
/** Formatted metric strings ready to display. */
|
|
13
|
+
export type AcEdMobileMetricTexts = AcUiMobileSessionMetricTexts;
|
|
14
|
+
/**
|
|
15
|
+
* Callbacks for the mobile command chrome.
|
|
16
|
+
*
|
|
17
|
+
* `onConfirm` is empty-Enter / `allowNone` (panel ✓). Typed coordinate commit
|
|
18
|
+
* is a separate future path (numeric keypad) and must not use `onConfirm`.
|
|
19
|
+
*/
|
|
20
|
+
export interface AcEdMobileCommandChromeCallbacks {
|
|
21
|
+
/** Panel ✓ — empty Enter / None. */
|
|
22
|
+
onConfirm: () => void;
|
|
23
|
+
/** Panel × — Escape. */
|
|
24
|
+
onCancel: () => void;
|
|
25
|
+
/** Keyword chip tap. */
|
|
26
|
+
onKeyword: (globalName: string) => void;
|
|
27
|
+
}
|
|
28
|
+
/** Session content pushed into {@link AcEdMobileCommandChrome.show}. */
|
|
29
|
+
export interface AcEdMobileCommandChromeState {
|
|
30
|
+
/** Prompt text (without `[keywords]`). */
|
|
31
|
+
prompt: string;
|
|
32
|
+
/** Visible keyword chips. */
|
|
33
|
+
keywords: AcEdMobileKeywordChip[];
|
|
34
|
+
/** Enables the ✓ button (maps to empty Enter). */
|
|
35
|
+
allowNone: boolean;
|
|
36
|
+
/** When false, the metric row is hidden (typed-only numeric prompts). */
|
|
37
|
+
showMetrics: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Phone/pad replacement for the desktop command line and Dynamic Input.
|
|
41
|
+
*
|
|
42
|
+
* Thin editor-facing wrapper around {@link AcUiMobileSessionPanel}.
|
|
43
|
+
*/
|
|
44
|
+
export declare class AcEdMobileCommandChrome {
|
|
45
|
+
private readonly panel;
|
|
46
|
+
private localeUnsub?;
|
|
47
|
+
/**
|
|
48
|
+
* @param host - View container that receives the overlay (and CSS variables).
|
|
49
|
+
*/
|
|
50
|
+
constructor(host: HTMLElement);
|
|
51
|
+
private readonly boundRelabel;
|
|
52
|
+
/** Whether the chrome is currently shown. */
|
|
53
|
+
get isOpen(): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Shows the chrome for an input session. No-op on desktop layouts.
|
|
56
|
+
*
|
|
57
|
+
* @param state - Prompt, keywords, and metric visibility for the session.
|
|
58
|
+
* @param callbacks - Confirm / cancel / keyword handlers.
|
|
59
|
+
*/
|
|
60
|
+
show(state: AcEdMobileCommandChromeState, callbacks: AcEdMobileCommandChromeCallbacks): void;
|
|
61
|
+
/**
|
|
62
|
+
* Updates prompt / keywords / ✓ without tearing down the session.
|
|
63
|
+
*
|
|
64
|
+
* @param partial - Fields to update; omitted fields keep their current values.
|
|
65
|
+
*/
|
|
66
|
+
update(partial: Partial<AcEdMobileCommandChromeState>): void;
|
|
67
|
+
/**
|
|
68
|
+
* Pushes live metric values. Phase 1 displays them read-only; the metric
|
|
69
|
+
* buttons stay disabled as a hook for the numeric keypad.
|
|
70
|
+
*
|
|
71
|
+
* @param metrics - Live numeric metrics including base-point state.
|
|
72
|
+
* @param texts - Formatted strings for display.
|
|
73
|
+
*/
|
|
74
|
+
setMetrics(metrics: AcEdMobileSessionMetrics, texts: AcEdMobileMetricTexts): void;
|
|
75
|
+
/** Hides the chrome and clears session callbacks. */
|
|
76
|
+
hide(): void;
|
|
77
|
+
/** Removes DOM and locale listeners. */
|
|
78
|
+
dispose(): void;
|
|
79
|
+
/** Mount slot for custom session accessories (left of the help icon). */
|
|
80
|
+
get accessoryHost(): HTMLElement;
|
|
81
|
+
/** Shows the mobile accessory row (custom content slot + help). */
|
|
82
|
+
prepareAccessory(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Clears custom session accessory content without removing the help icon.
|
|
85
|
+
* The row stays visible while the panel is open.
|
|
86
|
+
*/
|
|
87
|
+
clearAccessory(): void;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=AcEdMobileCommandChrome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileCommandChrome.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileCommandChrome.ts"],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OAAO,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAa5D;;;;;;OAMG;IACH,UAAU,CAAC,OAAO,EAAE,wBAAwB,EAAE,KAAK,EAAE,qBAAqB;IAI1E,qDAAqD;IACrD,IAAI,IAAI,IAAI;IAIZ,wCAAwC;IACxC,OAAO,IAAI,IAAI;IAKf,yEAAyE;IACzE,IAAI,aAAa,IAAI,WAAW,CAE/B;IAED,mEAAmE;IACnE,gBAAgB,IAAI,IAAI;IAIxB;;;OAGG;IACH,cAAc,IAAI,IAAI;CAGvB"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { ACAP_DOCS_PATH_MAGNIFIER, acapDocsUrl } from '../../../app/AcApDocsUrl';
|
|
2
|
+
import { AcApI18n } from '../../../i18n/AcApI18n';
|
|
3
|
+
import { AcUiMobileSessionPanel } from '../../../ui/AcUiMobileSessionPanel';
|
|
4
|
+
import { acedIsMobileUiLayout, acedSubscribeUiLayout } from '../../global/AcEdUiLayout';
|
|
5
|
+
import { acedInteractionStrategy } from './AcEdInteractionStrategy';
|
|
6
|
+
/**
|
|
7
|
+
* Phone/pad replacement for the desktop command line and Dynamic Input.
|
|
8
|
+
*
|
|
9
|
+
* Thin editor-facing wrapper around {@link AcUiMobileSessionPanel}.
|
|
10
|
+
*/
|
|
11
|
+
var AcEdMobileCommandChrome = /** @class */ (function () {
|
|
12
|
+
/**
|
|
13
|
+
* @param host - View container that receives the overlay (and CSS variables).
|
|
14
|
+
*/
|
|
15
|
+
function AcEdMobileCommandChrome(host) {
|
|
16
|
+
var _this = this;
|
|
17
|
+
this.boundRelabel = function () { return _this.panel.refreshLabels(); };
|
|
18
|
+
this.panel = new AcUiMobileSessionPanel({
|
|
19
|
+
host: host,
|
|
20
|
+
isPhoneLayout: acedIsMobileUiLayout,
|
|
21
|
+
subscribeLayout: acedSubscribeUiLayout,
|
|
22
|
+
helpDocsUrl: function () {
|
|
23
|
+
return acapDocsUrl(ACAP_DOCS_PATH_MAGNIFIER, AcApI18n.currentLocale);
|
|
24
|
+
},
|
|
25
|
+
labels: function () { return chromeLabels(); }
|
|
26
|
+
});
|
|
27
|
+
AcApI18n.events.localeChanged.addEventListener(this.boundRelabel);
|
|
28
|
+
this.localeUnsub = function () {
|
|
29
|
+
AcApI18n.events.localeChanged.removeEventListener(_this.boundRelabel);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
Object.defineProperty(AcEdMobileCommandChrome.prototype, "isOpen", {
|
|
33
|
+
/** Whether the chrome is currently shown. */
|
|
34
|
+
get: function () {
|
|
35
|
+
return this.panel.isOpen;
|
|
36
|
+
},
|
|
37
|
+
enumerable: false,
|
|
38
|
+
configurable: true
|
|
39
|
+
});
|
|
40
|
+
/**
|
|
41
|
+
* Shows the chrome for an input session. No-op on desktop layouts.
|
|
42
|
+
*
|
|
43
|
+
* @param state - Prompt, keywords, and metric visibility for the session.
|
|
44
|
+
* @param callbacks - Confirm / cancel / keyword handlers.
|
|
45
|
+
*/
|
|
46
|
+
AcEdMobileCommandChrome.prototype.show = function (state, callbacks) {
|
|
47
|
+
if (!acedInteractionStrategy().point.usesSessionChrome) {
|
|
48
|
+
this.hide();
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
this.panel.show({
|
|
52
|
+
prompt: state.prompt,
|
|
53
|
+
allowNone: state.allowNone,
|
|
54
|
+
showMetrics: state.showMetrics,
|
|
55
|
+
keywords: state.keywords.map(function (kw) { return ({
|
|
56
|
+
displayName: kw.displayName,
|
|
57
|
+
id: kw.globalName,
|
|
58
|
+
enabled: kw.enabled
|
|
59
|
+
}); })
|
|
60
|
+
}, {
|
|
61
|
+
onConfirm: callbacks.onConfirm,
|
|
62
|
+
onCancel: callbacks.onCancel,
|
|
63
|
+
onKeyword: callbacks.onKeyword
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Updates prompt / keywords / ✓ without tearing down the session.
|
|
68
|
+
*
|
|
69
|
+
* @param partial - Fields to update; omitted fields keep their current values.
|
|
70
|
+
*/
|
|
71
|
+
AcEdMobileCommandChrome.prototype.update = function (partial) {
|
|
72
|
+
var _a;
|
|
73
|
+
this.panel.update({
|
|
74
|
+
prompt: partial.prompt,
|
|
75
|
+
allowNone: partial.allowNone,
|
|
76
|
+
showMetrics: partial.showMetrics,
|
|
77
|
+
keywords: (_a = partial.keywords) === null || _a === void 0 ? void 0 : _a.map(function (kw) { return ({
|
|
78
|
+
displayName: kw.displayName,
|
|
79
|
+
id: kw.globalName,
|
|
80
|
+
enabled: kw.enabled
|
|
81
|
+
}); })
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Pushes live metric values. Phase 1 displays them read-only; the metric
|
|
86
|
+
* buttons stay disabled as a hook for the numeric keypad.
|
|
87
|
+
*
|
|
88
|
+
* @param metrics - Live numeric metrics including base-point state.
|
|
89
|
+
* @param texts - Formatted strings for display.
|
|
90
|
+
*/
|
|
91
|
+
AcEdMobileCommandChrome.prototype.setMetrics = function (metrics, texts) {
|
|
92
|
+
this.panel.setMetrics(metrics.hasBasePoint, texts);
|
|
93
|
+
};
|
|
94
|
+
/** Hides the chrome and clears session callbacks. */
|
|
95
|
+
AcEdMobileCommandChrome.prototype.hide = function () {
|
|
96
|
+
this.panel.hide();
|
|
97
|
+
};
|
|
98
|
+
/** Removes DOM and locale listeners. */
|
|
99
|
+
AcEdMobileCommandChrome.prototype.dispose = function () {
|
|
100
|
+
var _a;
|
|
101
|
+
(_a = this.localeUnsub) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
102
|
+
this.panel.dispose();
|
|
103
|
+
};
|
|
104
|
+
Object.defineProperty(AcEdMobileCommandChrome.prototype, "accessoryHost", {
|
|
105
|
+
/** Mount slot for custom session accessories (left of the help icon). */
|
|
106
|
+
get: function () {
|
|
107
|
+
return this.panel.accessoryHost;
|
|
108
|
+
},
|
|
109
|
+
enumerable: false,
|
|
110
|
+
configurable: true
|
|
111
|
+
});
|
|
112
|
+
/** Shows the mobile accessory row (custom content slot + help). */
|
|
113
|
+
AcEdMobileCommandChrome.prototype.prepareAccessory = function () {
|
|
114
|
+
this.panel.prepareAccessory();
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Clears custom session accessory content without removing the help icon.
|
|
118
|
+
* The row stays visible while the panel is open.
|
|
119
|
+
*/
|
|
120
|
+
AcEdMobileCommandChrome.prototype.clearAccessory = function () {
|
|
121
|
+
this.panel.clearAccessory();
|
|
122
|
+
};
|
|
123
|
+
return AcEdMobileCommandChrome;
|
|
124
|
+
}());
|
|
125
|
+
export { AcEdMobileCommandChrome };
|
|
126
|
+
function chromeLabels() {
|
|
127
|
+
var t = function (key) { return AcApI18n.t(key); };
|
|
128
|
+
return {
|
|
129
|
+
length: t('main.mobileCommand.length'),
|
|
130
|
+
angle: t('main.mobileCommand.angle'),
|
|
131
|
+
dx: t('main.mobileCommand.dx'),
|
|
132
|
+
dy: t('main.mobileCommand.dy'),
|
|
133
|
+
x: t('main.mobileCommand.x'),
|
|
134
|
+
y: t('main.mobileCommand.y'),
|
|
135
|
+
confirm: t('main.mobileCommand.confirm'),
|
|
136
|
+
cancel: t('main.mobileCommand.cancel'),
|
|
137
|
+
help: t('main.mobileCommand.help'),
|
|
138
|
+
back: t('main.mobileCommand.back'),
|
|
139
|
+
collapse: t('main.mobileCommand.collapse'),
|
|
140
|
+
expand: t('main.mobileCommand.expand')
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=AcEdMobileCommandChrome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileCommandChrome.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileCommandChrome.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,WAAW,EACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACjD,OAAO,EAEL,sBAAsB,EA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IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAA;IACtB,CAAC;IAGD,sBAAI,kDAAa;QADjB,yEAAyE;aACzE;YACE,OAAO,IAAI,CAAC,KAAK,CAAC,aAAa,CAAA;QACjC,CAAC;;;OAAA;IAED,mEAAmE;IACnE,kDAAgB,GAAhB;QACE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE,CAAA;IAC/B,CAAC;IAED;;;OAGG;IACH,gDAAc,GAAd;QACE,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAA;IAC7B,CAAC;IACH,8BAAC;AAAD,CAAC,AAvHD,IAuHC;;AAED,SAAS,YAAY;IACnB,IAAM,CAAC,GAAG,UAAC,GAAW,IAAK,OAAA,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,EAAf,CAAe,CAAA;IAC1C,OAAO;QACL,MAAM,EAAE,CAAC,CAAC,2BAA2B,CAAC;QACtC,KAAK,EAAE,CAAC,CAAC,0BAA0B,CAAC;QACpC,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC;QAC9B,EAAE,EAAE,CAAC,CAAC,uBAAuB,CAAC;QAC9B,CAAC,EAAE,CAAC,CAAC,sBAAsB,CAAC;QAC5B,CAAC,EAAE,CAAC,CAAC,sBAAsB,CAAC;QAC5B,OAAO,EAAE,CAAC,CAAC,4BAA4B,CAAC;QACxC,MAAM,EAAE,CAAC,CAAC,2BAA2B,CAAC;QACtC,IAAI,EAAE,CAAC,CAAC,yBAAyB,CAAC;QAClC,IAAI,EAAE,CAAC,CAAC,yBAAyB,CAAC;QAClC,QAAQ,EAAE,CAAC,CAAC,6BAA6B,CAAC;QAC1C,MAAM,EAAE,CAAC,CAAC,2BAA2B,CAAC;KACvC,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AcGePoint2dLike } from '@mlightcad/data-model';
|
|
2
|
+
/**
|
|
3
|
+
* Live values shown on the mobile command session panel, replacing desktop
|
|
4
|
+
* Dynamic Input boxes next to the cursor.
|
|
5
|
+
*/
|
|
6
|
+
export interface AcEdMobileSessionMetrics {
|
|
7
|
+
/** True when a rubber-band / last-point reference exists. */
|
|
8
|
+
hasBasePoint: boolean;
|
|
9
|
+
/** Distance from the reference to the cursor (0 without a reference). */
|
|
10
|
+
length: number;
|
|
11
|
+
/** Polar angle in degrees, 0–360, from +X (0 without a reference). */
|
|
12
|
+
angleDeg: number;
|
|
13
|
+
/** Cursor X minus reference X (0 without a reference). */
|
|
14
|
+
dx: number;
|
|
15
|
+
/** Cursor Y minus reference Y (0 without a reference). */
|
|
16
|
+
dy: number;
|
|
17
|
+
/** Cursor X in WCS. */
|
|
18
|
+
x: number;
|
|
19
|
+
/** Cursor Y in WCS. */
|
|
20
|
+
y: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Computes length / angle / ΔX / ΔY for the mobile session panel.
|
|
24
|
+
*
|
|
25
|
+
* @param cursor - Current pick position in WCS (after OSNAP / ortho).
|
|
26
|
+
* @param basePoint - Rubber-band origin or last point; omit for absolute X/Y.
|
|
27
|
+
*/
|
|
28
|
+
export declare function acedComputeSessionMetrics(cursor: AcGePoint2dLike, basePoint?: AcGePoint2dLike | null): AcEdMobileSessionMetrics;
|
|
29
|
+
//# sourceMappingURL=AcEdMobileSessionMetrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileSessionMetrics.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileSessionMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,6DAA6D;IAC7D,YAAY,EAAE,OAAO,CAAA;IACrB,yEAAyE;IACzE,MAAM,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAA;IAChB,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV,0DAA0D;IAC1D,EAAE,EAAE,MAAM,CAAA;IACV,uBAAuB;IACvB,CAAC,EAAE,MAAM,CAAA;IACT,uBAAuB;IACvB,CAAC,EAAE,MAAM,CAAA;CACV;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,eAAe,EACvB,SAAS,CAAC,EAAE,eAAe,GAAG,IAAI,GACjC,wBAAwB,CA4B1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Computes length / angle / ΔX / ΔY for the mobile session panel.
|
|
3
|
+
*
|
|
4
|
+
* @param cursor - Current pick position in WCS (after OSNAP / ortho).
|
|
5
|
+
* @param basePoint - Rubber-band origin or last point; omit for absolute X/Y.
|
|
6
|
+
*/
|
|
7
|
+
export function acedComputeSessionMetrics(cursor, basePoint) {
|
|
8
|
+
var x = cursor.x;
|
|
9
|
+
var y = cursor.y;
|
|
10
|
+
if (basePoint == null) {
|
|
11
|
+
return {
|
|
12
|
+
hasBasePoint: false,
|
|
13
|
+
length: 0,
|
|
14
|
+
angleDeg: 0,
|
|
15
|
+
dx: 0,
|
|
16
|
+
dy: 0,
|
|
17
|
+
x: x,
|
|
18
|
+
y: y
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
var dx = x - basePoint.x;
|
|
22
|
+
var dy = y - basePoint.y;
|
|
23
|
+
var length = Math.hypot(dx, dy);
|
|
24
|
+
var angleDeg = (Math.atan2(dy, dx) * 180) / Math.PI;
|
|
25
|
+
if (angleDeg < 0)
|
|
26
|
+
angleDeg += 360;
|
|
27
|
+
return {
|
|
28
|
+
hasBasePoint: true,
|
|
29
|
+
length: length,
|
|
30
|
+
angleDeg: angleDeg,
|
|
31
|
+
dx: dx,
|
|
32
|
+
dy: dy,
|
|
33
|
+
x: x,
|
|
34
|
+
y: y
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=AcEdMobileSessionMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileSessionMetrics.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileSessionMetrics.ts"],"names":[],"mappings":"AAuBA;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAuB,EACvB,SAAkC;IAElC,IAAM,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAClB,IAAM,CAAC,GAAG,MAAM,CAAC,CAAC,CAAA;IAClB,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;QACtB,OAAO;YACL,YAAY,EAAE,KAAK;YACnB,MAAM,EAAE,CAAC;YACT,QAAQ,EAAE,CAAC;YACX,EAAE,EAAE,CAAC;YACL,EAAE,EAAE,CAAC;YACL,CAAC,GAAA;YACD,CAAC,GAAA;SACF,CAAA;IACH,CAAC;IACD,IAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,CAAC,CAAA;IAC1B,IAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,CAAC,CAAA;IAC1B,IAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;IACjC,IAAI,QAAQ,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,EAAE,CAAA;IACnD,IAAI,QAAQ,GAAG,CAAC;QAAE,QAAQ,IAAI,GAAG,CAAA;IACjC,OAAO;QACL,YAAY,EAAE,IAAI;QAClB,MAAM,QAAA;QACN,QAAQ,UAAA;QACR,EAAE,IAAA;QACF,EAAE,IAAA;QACF,CAAC,GAAA;QACD,CAAC,GAAA;KACF,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared mobile snap loupe: one HUD per view for point pick and osnap grip drag.
|
|
3
|
+
*
|
|
4
|
+
* On phone/pad, whenever a touch gesture needs precise object snap, callers
|
|
5
|
+
* refresh this loupe instead of owning their own {@link AcEdSnapLoupe}.
|
|
6
|
+
*/
|
|
7
|
+
import type { AcDbOsnapMode } from '@mlightcad/data-model';
|
|
8
|
+
import type { AcEdBaseView } from '../../view';
|
|
9
|
+
import type { AcEdMarkerType } from '../marker/AcEdMarker';
|
|
10
|
+
/**
|
|
11
|
+
* World-space snap sample used to place the OSNAP glyph inside the loupe.
|
|
12
|
+
* `type` may be an object-snap mode or an already-resolved marker shape.
|
|
13
|
+
*/
|
|
14
|
+
export interface AcEdMobileSnapLoupeSnap {
|
|
15
|
+
/** Snapped world X. */
|
|
16
|
+
x: number;
|
|
17
|
+
/** Snapped world Y. */
|
|
18
|
+
y: number;
|
|
19
|
+
/** Object-snap mode or marker shape for the glyph. */
|
|
20
|
+
type: AcDbOsnapMode | AcEdMarkerType;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Shows or repositions the shared snap loupe around a client sample.
|
|
24
|
+
*
|
|
25
|
+
* No-op on desktop UI. Creates the HUD on first use for this view.
|
|
26
|
+
*
|
|
27
|
+
* @param view - View that owns the overlay viewport and coordinate helpers.
|
|
28
|
+
* @param clientX - Sample X in viewport/client CSS pixels.
|
|
29
|
+
* @param clientY - Sample Y in viewport/client CSS pixels.
|
|
30
|
+
* @param snap - Active object snap in world space, if any.
|
|
31
|
+
*/
|
|
32
|
+
export declare function acedRefreshMobileSnapLoupe(view: AcEdBaseView, clientX: number, clientY: number, snap?: AcEdMobileSnapLoupeSnap | null): void;
|
|
33
|
+
/**
|
|
34
|
+
* Hides the shared snap loupe for `view` if it is visible.
|
|
35
|
+
*
|
|
36
|
+
* @param view - View whose loupe should be hidden.
|
|
37
|
+
*/
|
|
38
|
+
export declare function acedHideMobileSnapLoupe(view: AcEdBaseView): void;
|
|
39
|
+
/**
|
|
40
|
+
* Disposes the shared loupe HUD for `view` (tests / view teardown).
|
|
41
|
+
*
|
|
42
|
+
* @param view - View whose loupe should be destroyed.
|
|
43
|
+
*/
|
|
44
|
+
export declare function acedDisposeMobileSnapLoupe(view: AcEdBaseView): void;
|
|
45
|
+
//# sourceMappingURL=AcEdMobileSnapLoupe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileSnapLoupe.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileSnapLoupe.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAO1D;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,uBAAuB;IACvB,CAAC,EAAE,MAAM,CAAA;IACT,uBAAuB;IACvB,CAAC,EAAE,MAAM,CAAA;IACT,sDAAsD;IACtD,IAAI,EAAE,aAAa,GAAG,cAAc,CAAA;CACrC;AAED;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,uBAAuB,GAAG,IAAI,GACpC,IAAI,CAuBN;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAEhE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAKnE"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared mobile snap loupe: one HUD per view for point pick and osnap grip drag.
|
|
3
|
+
*
|
|
4
|
+
* On phone/pad, whenever a touch gesture needs precise object snap, callers
|
|
5
|
+
* refresh this loupe instead of owning their own {@link AcEdSnapLoupe}.
|
|
6
|
+
*/
|
|
7
|
+
import { AcEdOsnapResolver } from '../AcEdOsnapResolver';
|
|
8
|
+
import { acedInteractionStrategy } from './AcEdInteractionStrategy';
|
|
9
|
+
import { AcEdSnapLoupe } from './AcEdSnapLoupe';
|
|
10
|
+
/** Lazily created loupe HUD keyed by view. */
|
|
11
|
+
var loupes = new WeakMap();
|
|
12
|
+
/**
|
|
13
|
+
* Shows or repositions the shared snap loupe around a client sample.
|
|
14
|
+
*
|
|
15
|
+
* No-op on desktop UI. Creates the HUD on first use for this view.
|
|
16
|
+
*
|
|
17
|
+
* @param view - View that owns the overlay viewport and coordinate helpers.
|
|
18
|
+
* @param clientX - Sample X in viewport/client CSS pixels.
|
|
19
|
+
* @param clientY - Sample Y in viewport/client CSS pixels.
|
|
20
|
+
* @param snap - Active object snap in world space, if any.
|
|
21
|
+
*/
|
|
22
|
+
export function acedRefreshMobileSnapLoupe(view, clientX, clientY, snap) {
|
|
23
|
+
if (!acedInteractionStrategy().point.showsSnapLoupeOnTouchPick)
|
|
24
|
+
return;
|
|
25
|
+
var loupe = loupes.get(view);
|
|
26
|
+
if (!loupe) {
|
|
27
|
+
loupe = new AcEdSnapLoupe(view);
|
|
28
|
+
loupes.set(view, loupe);
|
|
29
|
+
}
|
|
30
|
+
var canvas = view.viewportToCanvas({ x: clientX, y: clientY });
|
|
31
|
+
if (snap) {
|
|
32
|
+
var snapScreen = view.worldToScreen(snap);
|
|
33
|
+
var markerType = typeof snap.type === 'string'
|
|
34
|
+
? snap.type
|
|
35
|
+
: AcEdOsnapResolver.osnapModeToMarkerType(snap.type);
|
|
36
|
+
loupe.show(canvas.x, canvas.y, { x: snapScreen.x, y: snapScreen.y }, markerType);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
loupe.show(canvas.x, canvas.y);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Hides the shared snap loupe for `view` if it is visible.
|
|
44
|
+
*
|
|
45
|
+
* @param view - View whose loupe should be hidden.
|
|
46
|
+
*/
|
|
47
|
+
export function acedHideMobileSnapLoupe(view) {
|
|
48
|
+
var _a;
|
|
49
|
+
(_a = loupes.get(view)) === null || _a === void 0 ? void 0 : _a.hide();
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Disposes the shared loupe HUD for `view` (tests / view teardown).
|
|
53
|
+
*
|
|
54
|
+
* @param view - View whose loupe should be destroyed.
|
|
55
|
+
*/
|
|
56
|
+
export function acedDisposeMobileSnapLoupe(view) {
|
|
57
|
+
var loupe = loupes.get(view);
|
|
58
|
+
if (!loupe)
|
|
59
|
+
return;
|
|
60
|
+
loupe.dispose();
|
|
61
|
+
loupes.delete(view);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=AcEdMobileSnapLoupe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdMobileSnapLoupe.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdMobileSnapLoupe.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,8CAA8C;AAC9C,IAAM,MAAM,GAAG,IAAI,OAAO,EAA+B,CAAA;AAezD;;;;;;;;;GASG;AACH,MAAM,UAAU,0BAA0B,CACxC,IAAkB,EAClB,OAAe,EACf,OAAe,EACf,IAAqC;IAErC,IAAI,CAAC,uBAAuB,EAAE,CAAC,KAAK,CAAC,yBAAyB;QAAE,OAAM;IACtE,IAAI,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IAC5B,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,KAAK,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAA;QAC/B,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;IACzB,CAAC;IACD,IAAM,MAAM,GAAG,IAAI,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