@mlightcad/cad-simple-viewer 1.6.3 → 1.7.1
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/LICENSE +21 -21
- package/README.md +185 -180
- package/dist/cad-simple-viewer.js +34895 -23320
- package/dist/cad-simple-viewer.umd.cjs +2570 -372
- package/dist/mtext-renderer-worker.js +15359 -15067
- package/icons.ts +7 -7
- 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/AcApContext.d.ts.map +1 -1
- package/lib/app/AcApContext.js +4 -3
- package/lib/app/AcApContext.js.map +1 -1
- package/lib/app/AcApDocManager.d.ts +107 -25
- package/lib/app/AcApDocManager.d.ts.map +1 -1
- package/lib/app/AcApDocManager.js +209 -93
- package/lib/app/AcApDocManager.js.map +1 -1
- 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 +1 -1
- package/lib/app/AcApDocument.d.ts.map +1 -1
- 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/AcApOpenDatabaseOptions.d.ts +106 -0
- package/lib/app/AcApOpenDatabaseOptions.d.ts.map +1 -0
- package/lib/app/{AcDbOpenDatabaseOptions.js → AcApOpenDatabaseOptions.js} +2 -2
- package/lib/app/AcApOpenDatabaseOptions.js.map +1 -0
- package/lib/app/AcApOpenFileDialog.d.ts +1 -1
- package/lib/app/AcApOpenFileProgressController.d.ts +4 -2
- package/lib/app/AcApOpenFileProgressController.d.ts.map +1 -1
- package/lib/app/AcApOpenFileProgressController.js +4 -2
- package/lib/app/AcApOpenFileProgressController.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/app/notification/AcApNotificationEventBridge.d.ts +130 -0
- package/lib/app/notification/AcApNotificationEventBridge.d.ts.map +1 -0
- package/lib/app/notification/AcApNotificationEventBridge.js +309 -0
- package/lib/app/notification/AcApNotificationEventBridge.js.map +1 -0
- package/lib/app/notification/AcApNotificationService.d.ts +185 -0
- package/lib/app/notification/AcApNotificationService.d.ts.map +1 -0
- package/lib/app/notification/AcApNotificationService.js +271 -0
- package/lib/app/notification/AcApNotificationService.js.map +1 -0
- package/lib/app/notification/AcApNotificationStore.d.ts +147 -0
- package/lib/app/notification/AcApNotificationStore.d.ts.map +1 -0
- package/lib/app/notification/AcApNotificationStore.js +345 -0
- package/lib/app/notification/AcApNotificationStore.js.map +1 -0
- package/lib/app/notification/AcApNotificationTypes.d.ts +195 -0
- package/lib/app/notification/AcApNotificationTypes.d.ts.map +1 -0
- package/lib/app/notification/AcApNotificationTypes.js +78 -0
- package/lib/app/notification/AcApNotificationTypes.js.map +1 -0
- package/lib/app/notification/index.d.ts +13 -0
- package/lib/app/notification/index.d.ts.map +1 -0
- package/lib/app/notification/index.js +13 -0
- package/lib/app/notification/index.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 +178 -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/AcApSwitchBgCmd.d.ts.map +1 -1
- package/lib/command/AcApSwitchBgCmd.js +7 -2
- package/lib/command/AcApSwitchBgCmd.js.map +1 -1
- package/lib/command/AcApToolbarDocBind.d.ts +19 -0
- package/lib/command/AcApToolbarDocBind.d.ts.map +1 -0
- package/lib/command/AcApToolbarDocBind.js +62 -0
- package/lib/command/AcApToolbarDocBind.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/convert/AcApConvertToBmpCmd.d.ts +14 -0
- package/lib/command/convert/AcApConvertToBmpCmd.d.ts.map +1 -0
- package/lib/command/convert/AcApConvertToBmpCmd.js +34 -0
- package/lib/command/convert/AcApConvertToBmpCmd.js.map +1 -0
- package/lib/command/convert/AcApConvertToJpgCmd.d.ts +14 -0
- package/lib/command/convert/AcApConvertToJpgCmd.d.ts.map +1 -0
- package/lib/command/convert/AcApConvertToJpgCmd.js +34 -0
- package/lib/command/convert/AcApConvertToJpgCmd.js.map +1 -0
- package/lib/command/convert/AcApConvertToPngCmd.d.ts +4 -36
- package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -1
- package/lib/command/convert/AcApConvertToPngCmd.js +4 -138
- package/lib/command/convert/AcApConvertToPngCmd.js.map +1 -1
- package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts +40 -0
- package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts.map +1 -0
- package/lib/command/convert/AcApConvertToRasterImageCmd.js +161 -0
- package/lib/command/convert/AcApConvertToRasterImageCmd.js.map +1 -0
- package/lib/command/convert/{AcApPngConvertor.d.ts → AcApRasterImageConvertor.d.ts} +36 -12
- package/lib/command/convert/AcApRasterImageConvertor.d.ts.map +1 -0
- package/lib/command/convert/{AcApPngConvertor.js → AcApRasterImageConvertor.js} +163 -32
- package/lib/command/convert/AcApRasterImageConvertor.js.map +1 -0
- package/lib/command/convert/index.d.ts +4 -1
- package/lib/command/convert/index.d.ts.map +1 -1
- package/lib/command/convert/index.js +4 -1
- package/lib/command/convert/index.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 +5 -0
- package/lib/command/index.d.ts.map +1 -1
- package/lib/command/index.js +5 -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 +69 -13
- 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 +12 -1
- package/lib/command/markup/AcApMarkupCmdUtil.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupCmdUtil.js +37 -9
- 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 +19 -2
- package/lib/command/markup/AcApMarkupGeometry.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupGeometry.js +43 -2
- 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/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 +16 -2
- package/lib/command/markup/AcApMarkupPresenter.d.ts.map +1 -1
- package/lib/command/markup/AcApMarkupPresenter.js +66 -14
- 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/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.map +1 -1
- package/lib/command/markup/AcApMarkupShapeCallout.js +61 -4
- 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/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 +2 -0
- package/lib/command/markup/index.d.ts.map +1 -1
- package/lib/command/markup/index.js +2 -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 +108 -0
- package/lib/editor/global/AcEdUiLayout.d.ts.map +1 -1
- package/lib/editor/global/AcEdUiLayout.js +143 -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/AcEdCanvasTouchCalloutGuard.d.ts +31 -0
- package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js +67 -0
- package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js.map +1 -0
- 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 +146 -0
- package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInput.js +423 -13
- package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
- package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +8 -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 +846 -165
- 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 +203 -0
- package/lib/editor/input/ui/AcEdMobileBoxGesture.js.map +1 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts +103 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdMobileCommandChrome.js +157 -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 +121 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts.map +1 -0
- package/lib/editor/input/ui/AcEdSessionAccessoryController.js +306 -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 +14 -0
- package/lib/editor/input/ui/index.d.ts.map +1 -1
- package/lib/editor/input/ui/index.js +14 -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 +200 -49
- package/lib/editor/view/AcEdBaseView.js.map +1 -1
- package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts +36 -0
- package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts.map +1 -0
- package/lib/editor/view/AcEdSelectionBoxIntersect.js +113 -0
- package/lib/editor/view/AcEdSelectionBoxIntersect.js.map +1 -0
- 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 +2 -0
- package/lib/editor/view/index.d.ts.map +1 -1
- package/lib/editor/view/index.js +2 -0
- package/lib/editor/view/index.js.map +1 -1
- package/lib/i18n/AcApI18n.d.ts +2 -1
- package/lib/i18n/AcApI18n.d.ts.map +1 -1
- package/lib/i18n/AcApI18n.js +5 -2
- package/lib/i18n/AcApI18n.js.map +1 -1
- package/lib/i18n/ar/command.d.ts +18 -0
- package/lib/i18n/ar/command.d.ts.map +1 -1
- package/lib/i18n/ar/command.js +1 -1
- package/lib/i18n/ar/command.js.map +1 -1
- package/lib/i18n/ar/jig.d.ts +67 -0
- package/lib/i18n/ar/jig.d.ts.map +1 -1
- package/lib/i18n/ar/jig.js +31 -3
- package/lib/i18n/ar/jig.js.map +1 -1
- package/lib/i18n/ar/main.d.ts +100 -1
- package/lib/i18n/ar/main.d.ts.map +1 -1
- package/lib/i18n/ar/main.js +101 -2
- package/lib/i18n/ar/main.js.map +1 -1
- package/lib/i18n/cs/command.d.ts +15 -0
- package/lib/i18n/cs/command.d.ts.map +1 -1
- package/lib/i18n/cs/command.js +15 -0
- package/lib/i18n/cs/command.js.map +1 -1
- package/lib/i18n/cs/jig.d.ts +67 -0
- package/lib/i18n/cs/jig.d.ts.map +1 -1
- package/lib/i18n/cs/jig.js +67 -0
- package/lib/i18n/cs/jig.js.map +1 -1
- package/lib/i18n/cs/main.d.ts +100 -1
- package/lib/i18n/cs/main.d.ts.map +1 -1
- package/lib/i18n/cs/main.js +101 -2
- package/lib/i18n/cs/main.js.map +1 -1
- package/lib/i18n/en/command.d.ts +18 -0
- package/lib/i18n/en/command.d.ts.map +1 -1
- package/lib/i18n/en/command.js +18 -0
- package/lib/i18n/en/command.js.map +1 -1
- package/lib/i18n/en/jig.d.ts +67 -0
- package/lib/i18n/en/jig.d.ts.map +1 -1
- package/lib/i18n/en/jig.js +67 -0
- package/lib/i18n/en/jig.js.map +1 -1
- package/lib/i18n/en/main.d.ts +100 -1
- package/lib/i18n/en/main.d.ts.map +1 -1
- package/lib/i18n/en/main.js +101 -2
- package/lib/i18n/en/main.js.map +1 -1
- package/lib/i18n/index.d.ts +2 -2
- package/lib/i18n/index.d.ts.map +1 -1
- package/lib/i18n/index.js.map +1 -1
- package/lib/i18n/tr/command.d.ts +15 -0
- package/lib/i18n/tr/command.d.ts.map +1 -1
- package/lib/i18n/tr/command.js +15 -0
- package/lib/i18n/tr/command.js.map +1 -1
- package/lib/i18n/tr/jig.d.ts +67 -0
- package/lib/i18n/tr/jig.d.ts.map +1 -1
- package/lib/i18n/tr/jig.js +67 -0
- package/lib/i18n/tr/jig.js.map +1 -1
- package/lib/i18n/tr/main.d.ts +100 -1
- package/lib/i18n/tr/main.d.ts.map +1 -1
- package/lib/i18n/tr/main.js +101 -2
- package/lib/i18n/tr/main.js.map +1 -1
- package/lib/i18n/zh/command.d.ts +18 -0
- package/lib/i18n/zh/command.d.ts.map +1 -1
- package/lib/i18n/zh/command.js +18 -0
- package/lib/i18n/zh/command.js.map +1 -1
- package/lib/i18n/zh/jig.d.ts +67 -0
- package/lib/i18n/zh/jig.d.ts.map +1 -1
- package/lib/i18n/zh/jig.js +67 -0
- package/lib/i18n/zh/jig.js.map +1 -1
- package/lib/i18n/zh/main.d.ts +100 -1
- package/lib/i18n/zh/main.d.ts.map +1 -1
- package/lib/i18n/zh/main.js +102 -3
- package/lib/i18n/zh/main.js.map +1 -1
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts +6 -0
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts.map +1 -1
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js +10 -0
- package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js.map +1 -1
- package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts +4 -0
- package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts.map +1 -1
- package/lib/spatialIndex/AcTrLinearSpatialIndex.js +9 -0
- package/lib/spatialIndex/AcTrLinearSpatialIndex.js.map +1 -1
- package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts +4 -0
- package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts.map +1 -1
- package/lib/spatialIndex/AcTrRBushSpatialIndex.js +20 -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/AcUiDefaultNotificationUi.d.ts +167 -0
- package/lib/ui/AcUiDefaultNotificationUi.d.ts.map +1 -0
- package/lib/ui/AcUiDefaultNotificationUi.js +603 -0
- package/lib/ui/AcUiDefaultNotificationUi.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 +60 -0
- package/lib/ui/AcUiDrawStyle.d.ts.map +1 -0
- package/lib/ui/AcUiDrawStyle.js +95 -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 +459 -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 +239 -0
- package/lib/ui/AcUiMobileSessionPanel.d.ts.map +1 -0
- package/lib/ui/AcUiMobileSessionPanel.js +822 -0
- package/lib/ui/AcUiMobileSessionPanel.js.map +1 -0
- package/lib/ui/AcUiShortCutToolbar.d.ts +160 -0
- package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -0
- package/lib/ui/AcUiShortCutToolbar.js +318 -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 +54 -27
- package/lib/ui/icons.d.ts.map +1 -1
- package/lib/ui/icons.js +79 -25
- package/lib/ui/icons.js.map +1 -1
- package/lib/ui/index.d.ts +15 -2
- package/lib/ui/index.d.ts.map +1 -1
- package/lib/ui/index.js +15 -2
- package/lib/ui/index.js.map +1 -1
- package/lib/ui/toolbar/AcUiDropdownMenu.d.ts +48 -0
- package/lib/ui/toolbar/AcUiDropdownMenu.d.ts.map +1 -0
- package/lib/ui/toolbar/AcUiDropdownMenu.js +116 -0
- package/lib/ui/toolbar/AcUiDropdownMenu.js.map +1 -0
- package/lib/ui/toolbar/AcUiSubToolbar.d.ts +125 -0
- package/lib/ui/toolbar/AcUiSubToolbar.d.ts.map +1 -0
- package/lib/ui/toolbar/AcUiSubToolbar.js +625 -0
- package/lib/ui/toolbar/AcUiSubToolbar.js.map +1 -0
- package/lib/ui/toolbar/AcUiToolbar.d.ts +446 -0
- package/lib/ui/toolbar/AcUiToolbar.d.ts.map +1 -0
- package/lib/ui/toolbar/AcUiToolbar.js +1550 -0
- package/lib/ui/toolbar/AcUiToolbar.js.map +1 -0
- package/lib/ui/toolbar/AcUiToolbarStyles.d.ts +20 -0
- package/lib/ui/toolbar/AcUiToolbarStyles.d.ts.map +1 -0
- package/lib/ui/toolbar/AcUiToolbarStyles.js +34 -0
- package/lib/ui/toolbar/AcUiToolbarStyles.js.map +1 -0
- package/lib/ui/toolbar/acuiWrapPackLayout.d.ts +19 -0
- package/lib/ui/toolbar/acuiWrapPackLayout.d.ts.map +1 -0
- package/lib/ui/toolbar/acuiWrapPackLayout.js +36 -0
- package/lib/ui/toolbar/acuiWrapPackLayout.js.map +1 -0
- package/lib/ui/toolbar/index.d.ts +19 -0
- package/lib/ui/toolbar/index.d.ts.map +1 -0
- package/lib/ui/toolbar/index.js +15 -0
- package/lib/ui/toolbar/index.js.map +1 -0
- package/lib/ui/toolbar/resolveToolbarChrome.d.ts +14 -0
- package/lib/ui/toolbar/resolveToolbarChrome.d.ts.map +1 -0
- package/lib/ui/toolbar/resolveToolbarChrome.js +35 -0
- package/lib/ui/toolbar/resolveToolbarChrome.js.map +1 -0
- package/lib/ui/toolbar/resolveToolbarItemState.d.ts +63 -0
- package/lib/ui/toolbar/resolveToolbarItemState.d.ts.map +1 -0
- package/lib/ui/toolbar/resolveToolbarItemState.js +171 -0
- package/lib/ui/toolbar/resolveToolbarItemState.js.map +1 -0
- package/lib/ui/toolbar/toolbarItemUtils.d.ts +62 -0
- package/lib/ui/toolbar/toolbarItemUtils.d.ts.map +1 -0
- package/lib/ui/toolbar/toolbarItemUtils.js +184 -0
- package/lib/ui/toolbar/toolbarItemUtils.js.map +1 -0
- package/lib/ui/toolbar/types.d.ts +268 -0
- package/lib/ui/toolbar/types.d.ts.map +1 -0
- package/lib/ui/toolbar/types.js +8 -0
- package/lib/ui/toolbar/types.js.map +1 -0
- 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 +38 -0
- package/lib/ui-html-entry.d.ts.map +1 -0
- package/lib/ui-html-entry.js +28 -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/AcApAnalyzeUnsupportedDrawing.d.ts +53 -0
- package/lib/util/AcApAnalyzeUnsupportedDrawing.d.ts.map +1 -0
- package/lib/util/AcApAnalyzeUnsupportedDrawing.js +164 -0
- package/lib/util/AcApAnalyzeUnsupportedDrawing.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/AcApFormatFontMissedMessage.d.ts +32 -0
- package/lib/util/AcApFormatFontMissedMessage.d.ts.map +1 -0
- package/lib/util/AcApFormatFontMissedMessage.js +46 -0
- package/lib/util/AcApFormatFontMissedMessage.js.map +1 -0
- package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts +44 -0
- package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts.map +1 -0
- package/lib/util/AcApFormatUnsupportedEntitiesMessage.js +105 -0
- package/lib/util/AcApFormatUnsupportedEntitiesMessage.js.map +1 -0
- 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 +6 -0
- package/lib/util/index.d.ts.map +1 -1
- package/lib/util/index.js +6 -0
- package/lib/util/index.js.map +1 -1
- 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/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 +13 -1
- package/lib/view/AcTrLayer.d.ts.map +1 -1
- package/lib/view/AcTrLayer.js +28 -11
- package/lib/view/AcTrLayer.js.map +1 -1
- package/lib/view/AcTrLayout.d.ts +17 -2
- package/lib/view/AcTrLayout.d.ts.map +1 -1
- package/lib/view/AcTrLayout.js +67 -15
- 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 +4 -0
- package/lib/view/AcTrScene.d.ts.map +1 -1
- package/lib/view/AcTrScene.js +6 -0
- package/lib/view/AcTrScene.js.map +1 -1
- package/lib/view/AcTrView2d.d.ts +128 -15
- package/lib/view/AcTrView2d.d.ts.map +1 -1
- package/lib/view/AcTrView2d.js +634 -149
- package/lib/view/AcTrView2d.js.map +1 -1
- package/lib/view/AcTrViewSessionState.d.ts +6 -0
- package/lib/view/AcTrViewSessionState.d.ts.map +1 -1
- package/lib/view/index.d.ts +1 -0
- package/lib/view/index.d.ts.map +1 -1
- package/lib/view/index.js +1 -0
- package/lib/view/index.js.map +1 -1
- package/package.json +8 -8
- package/src/ui/icons.ts +387 -293
- package/lib/app/AcDbOpenDatabaseOptions.d.ts +0 -63
- package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +0 -1
- package/lib/app/AcDbOpenDatabaseOptions.js.map +0 -1
- package/lib/command/convert/AcApPngConvertor.d.ts.map +0 -1
- package/lib/command/convert/AcApPngConvertor.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,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,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1
|
+
import type { AcCmEventManager } from '@mlightcad/data-model';
|
|
2
|
+
import type { AcEdSessionAccessory, AcEdSessionAccessoryEventArgs, AcEdSessionAccessoryHostInfo } from '../../command/AcEdSessionAccessory';
|
|
3
|
+
import type { AcEdBaseView } from '../../view/AcEdBaseView';
|
|
4
|
+
import type { AcEdMobileCommandChrome } from './AcEdMobileCommandChrome';
|
|
5
|
+
/** Subset of editor events used by the session accessory controller. */
|
|
6
|
+
export interface AcEdSessionAccessoryEditorEvents {
|
|
7
|
+
/** Fired just before a session accessory is mounted. */
|
|
8
|
+
beforeMountSessionAccessory: AcCmEventManager<AcEdSessionAccessoryEventArgs>;
|
|
9
|
+
/** Fired after a session accessory has been mounted. */
|
|
10
|
+
afterMountSessionAccessory: AcCmEventManager<AcEdSessionAccessoryEventArgs>;
|
|
11
|
+
/** Fired just before a session accessory is unmounted. */
|
|
12
|
+
beforeUnmountSessionAccessory: AcCmEventManager<AcEdSessionAccessoryEventArgs>;
|
|
13
|
+
/** Fired after a session accessory has been unmounted. */
|
|
14
|
+
afterUnmountSessionAccessory: AcCmEventManager<AcEdSessionAccessoryEventArgs>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Owns desktop/mobile accessory chrome shells, resolves the active mount host,
|
|
18
|
+
* and coordinates selection vs command accessory priority.
|
|
19
|
+
*/
|
|
20
|
+
export declare class AcEdSessionAccessoryController {
|
|
21
|
+
/** View whose container hosts desktop chrome and appears in mount options. */
|
|
22
|
+
private readonly view;
|
|
23
|
+
/** Top-center desktop accessory shell. */
|
|
24
|
+
private readonly desktopChrome;
|
|
25
|
+
/** Lazy accessor for mobile session-panel chrome. */
|
|
26
|
+
private readonly getMobileChrome;
|
|
27
|
+
/** Whether the mobile session panel is currently open. */
|
|
28
|
+
private readonly isMobilePromptOpen;
|
|
29
|
+
/** Editor event bus for mount/unmount notifications. */
|
|
30
|
+
private readonly getEditorEvents;
|
|
31
|
+
/** Selection-driven accessory to show when no command accessory is mounted. */
|
|
32
|
+
private selectionAccessory;
|
|
33
|
+
/** Currently mounted accessory state, or `null` when the slot is empty. */
|
|
34
|
+
private mounted;
|
|
35
|
+
/** True while a remount or command-over-selection swap is in progress. */
|
|
36
|
+
private remounting;
|
|
37
|
+
/** Whether editor event listeners have been attached. */
|
|
38
|
+
private bound;
|
|
39
|
+
/**
|
|
40
|
+
* Tears down a selection mount before a command accessory mounts into the
|
|
41
|
+
* same chrome slot. Must run in `beforeMount` — doing this in `afterMount`
|
|
42
|
+
* would unmount/clear the command accessory that just attached (draw-style
|
|
43
|
+
* selection and command wrappers share one host `unmount`).
|
|
44
|
+
*
|
|
45
|
+
* @param args - Mount event payload from the editor.
|
|
46
|
+
*/
|
|
47
|
+
private readonly onBeforeMount;
|
|
48
|
+
/**
|
|
49
|
+
* Records mount state after an accessory mounts and shows the chrome shell.
|
|
50
|
+
*
|
|
51
|
+
* @param args - Mount event payload from the editor.
|
|
52
|
+
*/
|
|
53
|
+
private readonly onAfterMount;
|
|
54
|
+
/**
|
|
55
|
+
* Clears chrome after unmount and remounts the selection accessory when a
|
|
56
|
+
* command accessory ends.
|
|
57
|
+
*
|
|
58
|
+
* @param args - Unmount event payload from the editor.
|
|
59
|
+
*/
|
|
60
|
+
private readonly onAfterUnmount;
|
|
61
|
+
/**
|
|
62
|
+
* @param options.view - Owning view (used in mount options and container).
|
|
63
|
+
* @param options.getMobileChrome - Lazy mobile chrome accessor.
|
|
64
|
+
* @param options.isMobilePromptOpen - Whether the mobile session panel is open.
|
|
65
|
+
* @param options.getEditorEvents - Editor session-accessory event bus.
|
|
66
|
+
*/
|
|
67
|
+
constructor(options: {
|
|
68
|
+
view: AcEdBaseView;
|
|
69
|
+
getMobileChrome: () => AcEdMobileCommandChrome;
|
|
70
|
+
isMobilePromptOpen: () => boolean;
|
|
71
|
+
getEditorEvents: () => AcEdSessionAccessoryEditorEvents;
|
|
72
|
+
});
|
|
73
|
+
/** Wires chrome prepare/clear and selection remount to editor events. */
|
|
74
|
+
bindEditorEvents(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Active mount target for the current layout / mobile-prompt state.
|
|
77
|
+
*
|
|
78
|
+
* Phone and pad use the session-panel accessory slot for draw commands even
|
|
79
|
+
* before the panel is shown, so `command.trigger` can mount controls there
|
|
80
|
+
* (and `beginMobilePrompt` remount stays a no-op when the host is unchanged).
|
|
81
|
+
* Desktop keeps the top-center chrome until a mobile prompt is open.
|
|
82
|
+
*/
|
|
83
|
+
get sessionAccessoryHost(): AcEdSessionAccessoryHostInfo;
|
|
84
|
+
/** Selection-driven accessory shown when no command accessory is mounted. */
|
|
85
|
+
get selectionSessionAccessory(): AcEdSessionAccessory | null;
|
|
86
|
+
/**
|
|
87
|
+
* Updates the selection-driven accessory and mounts or unmounts it when no
|
|
88
|
+
* command accessory currently owns the slot.
|
|
89
|
+
*
|
|
90
|
+
* @param value - Accessory to show on selection, or `null` to clear.
|
|
91
|
+
*/
|
|
92
|
+
set selectionSessionAccessory(value: AcEdSessionAccessory | null);
|
|
93
|
+
/**
|
|
94
|
+
* Remounts the active accessory when the host slot changes (mobile prompt
|
|
95
|
+
* open/close or layout flip), or when the current host was emptied without
|
|
96
|
+
* an unmount (e.g. a stale clear).
|
|
97
|
+
*/
|
|
98
|
+
remountActiveSessionAccessory(): void;
|
|
99
|
+
/** Tears down chrome and listeners. */
|
|
100
|
+
dispose(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Mounts {@link selectionAccessory} on the desktop slot when no command
|
|
103
|
+
* accessory is active. Selection draw-style stays desktop-only.
|
|
104
|
+
*/
|
|
105
|
+
private mountSelectionAccessory;
|
|
106
|
+
/** Unmounts the currently mounted accessory and clears its chrome. */
|
|
107
|
+
private unmountMounted;
|
|
108
|
+
/**
|
|
109
|
+
* Shows the chrome for `type` and clears the opposite slot.
|
|
110
|
+
*
|
|
111
|
+
* @param type - Slot that should become visible.
|
|
112
|
+
*/
|
|
113
|
+
private prepareChrome;
|
|
114
|
+
/**
|
|
115
|
+
* Hides and empties the chrome for `type`.
|
|
116
|
+
*
|
|
117
|
+
* @param type - Slot to clear.
|
|
118
|
+
*/
|
|
119
|
+
private clearChrome;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=AcEdSessionAccessoryController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSessionAccessoryController.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdSessionAccessoryController.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAG7D,OAAO,KAAK,EACV,oBAAoB,EACpB,6BAA6B,EAC7B,4BAA4B,EAG7B,MAAM,oCAAoC,CAAA;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAG3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAExE,wEAAwE;AACxE,MAAM,WAAW,gCAAgC;IAC/C,wDAAwD;IACxD,2BAA2B,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,CAAA;IAC5E,wDAAwD;IACxD,0BAA0B,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,CAAA;IAC3E,0DAA0D;IAC1D,6BAA6B,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,CAAA;IAC9E,0DAA0D;IAC1D,4BAA4B,EAAE,gBAAgB,CAAC,6BAA6B,CAAC,CAAA;CAC9E;AAcD;;;GAGG;AACH,qBAAa,8BAA8B;IACzC,8EAA8E;IAC9E,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAc;IACnC,0CAA0C;IAC1C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAmC;IACjE,qDAAqD;IACrD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA+B;IAC/D,0DAA0D;IAC1D,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAe;IAClD,wDAAwD;IACxD,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAwC;IAExE,+EAA+E;IAC/E,OAAO,CAAC,kBAAkB,CAAoC;IAC9D,2EAA2E;IAC3E,OAAO,CAAC,OAAO,CAA4B;IAC3C,0EAA0E;IAC1E,OAAO,CAAC,UAAU,CAAQ;IAC1B,yDAAyD;IACzD,OAAO,CAAC,KAAK,CAAQ;IAErB;;;;;;;OAOG;IACH,OAAO,CAAC,QAAQ,CAAC,aAAa,CAU7B;IAED;;;;OAIG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAU5B;IAED;;;;;OAKG;IACH,OAAO,CAAC,QAAQ,CAAC,cAAc,CAS9B;IAED;;;;;OAKG;gBACS,OAAO,EAAE;QACnB,IAAI,EAAE,YAAY,CAAA;QAClB,eAAe,EAAE,MAAM,uBAAuB,CAAA;QAC9C,kBAAkB,EAAE,MAAM,OAAO,CAAA;QACjC,eAAe,EAAE,MAAM,gCAAgC,CAAA;KACxD;IAUD,yEAAyE;IACzE,gBAAgB,IAAI,IAAI;IASxB;;;;;;;OAOG;IACH,IAAI,oBAAoB,IAAI,4BAA4B,CAcvD;IAED,6EAA6E;IAC7E,IAAI,yBAAyB,IAAI,oBAAoB,GAAG,IAAI,CAE3D;IAED;;;;;OAKG;IACH,IAAI,yBAAyB,CAAC,KAAK,EAAE,oBAAoB,GAAG,IAAI,EAyB/D;IAED;;;;OAIG;IACH,6BAA6B,IAAI,IAAI;IAyCrC,uCAAuC;IACvC,OAAO,IAAI,IAAI;IAqBf;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAiC/B,sEAAsE;IACtE,OAAO,CAAC,cAAc;IAiBtB;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAUrB;;;;OAIG;IACH,OAAO,CAAC,WAAW;CAOpB"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { AcEdDesktopSessionAccessoryChrome } from './AcEdDesktopSessionAccessoryChrome';
|
|
2
|
+
import { acedInteractionStrategy } from './AcEdInteractionStrategy';
|
|
3
|
+
/**
|
|
4
|
+
* Owns desktop/mobile accessory chrome shells, resolves the active mount host,
|
|
5
|
+
* and coordinates selection vs command accessory priority.
|
|
6
|
+
*/
|
|
7
|
+
var AcEdSessionAccessoryController = /** @class */ (function () {
|
|
8
|
+
/**
|
|
9
|
+
* @param options.view - Owning view (used in mount options and container).
|
|
10
|
+
* @param options.getMobileChrome - Lazy mobile chrome accessor.
|
|
11
|
+
* @param options.isMobilePromptOpen - Whether the mobile session panel is open.
|
|
12
|
+
* @param options.getEditorEvents - Editor session-accessory event bus.
|
|
13
|
+
*/
|
|
14
|
+
function AcEdSessionAccessoryController(options) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
/** Selection-driven accessory to show when no command accessory is mounted. */
|
|
17
|
+
this.selectionAccessory = null;
|
|
18
|
+
/** Currently mounted accessory state, or `null` when the slot is empty. */
|
|
19
|
+
this.mounted = null;
|
|
20
|
+
/** True while a remount or command-over-selection swap is in progress. */
|
|
21
|
+
this.remounting = false;
|
|
22
|
+
/** Whether editor event listeners have been attached. */
|
|
23
|
+
this.bound = false;
|
|
24
|
+
/**
|
|
25
|
+
* Tears down a selection mount before a command accessory mounts into the
|
|
26
|
+
* same chrome slot. Must run in `beforeMount` — doing this in `afterMount`
|
|
27
|
+
* would unmount/clear the command accessory that just attached (draw-style
|
|
28
|
+
* selection and command wrappers share one host `unmount`).
|
|
29
|
+
*
|
|
30
|
+
* @param args - Mount event payload from the editor.
|
|
31
|
+
*/
|
|
32
|
+
this.onBeforeMount = function (args) {
|
|
33
|
+
var _a;
|
|
34
|
+
if (args.source !== 'command')
|
|
35
|
+
return;
|
|
36
|
+
if (((_a = _this.mounted) === null || _a === void 0 ? void 0 : _a.source) !== 'selection')
|
|
37
|
+
return;
|
|
38
|
+
_this.remounting = true;
|
|
39
|
+
try {
|
|
40
|
+
_this.unmountMounted();
|
|
41
|
+
}
|
|
42
|
+
finally {
|
|
43
|
+
_this.remounting = false;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Records mount state after an accessory mounts and shows the chrome shell.
|
|
48
|
+
*
|
|
49
|
+
* @param args - Mount event payload from the editor.
|
|
50
|
+
*/
|
|
51
|
+
this.onAfterMount = function (args) {
|
|
52
|
+
if (!args.options)
|
|
53
|
+
return;
|
|
54
|
+
_this.prepareChrome(args.options.type);
|
|
55
|
+
_this.mounted = {
|
|
56
|
+
accessory: args.accessory,
|
|
57
|
+
source: args.source,
|
|
58
|
+
options: args.options,
|
|
59
|
+
command: args.command
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Clears chrome after unmount and remounts the selection accessory when a
|
|
64
|
+
* command accessory ends.
|
|
65
|
+
*
|
|
66
|
+
* @param args - Unmount event payload from the editor.
|
|
67
|
+
*/
|
|
68
|
+
this.onAfterUnmount = function (args) {
|
|
69
|
+
var _a;
|
|
70
|
+
if (_this.remounting)
|
|
71
|
+
return;
|
|
72
|
+
if (((_a = _this.mounted) === null || _a === void 0 ? void 0 : _a.accessory) === args.accessory) {
|
|
73
|
+
_this.clearChrome(_this.mounted.options.type);
|
|
74
|
+
_this.mounted = null;
|
|
75
|
+
}
|
|
76
|
+
if (args.source === 'command' && _this.selectionAccessory) {
|
|
77
|
+
_this.mountSelectionAccessory();
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
this.view = options.view;
|
|
81
|
+
this.desktopChrome = new AcEdDesktopSessionAccessoryChrome(options.view.container);
|
|
82
|
+
this.getMobileChrome = options.getMobileChrome;
|
|
83
|
+
this.isMobilePromptOpen = options.isMobilePromptOpen;
|
|
84
|
+
this.getEditorEvents = options.getEditorEvents;
|
|
85
|
+
}
|
|
86
|
+
/** Wires chrome prepare/clear and selection remount to editor events. */
|
|
87
|
+
AcEdSessionAccessoryController.prototype.bindEditorEvents = function () {
|
|
88
|
+
if (this.bound)
|
|
89
|
+
return;
|
|
90
|
+
this.bound = true;
|
|
91
|
+
var events = this.getEditorEvents();
|
|
92
|
+
events.beforeMountSessionAccessory.addEventListener(this.onBeforeMount);
|
|
93
|
+
events.afterMountSessionAccessory.addEventListener(this.onAfterMount);
|
|
94
|
+
events.afterUnmountSessionAccessory.addEventListener(this.onAfterUnmount);
|
|
95
|
+
};
|
|
96
|
+
Object.defineProperty(AcEdSessionAccessoryController.prototype, "sessionAccessoryHost", {
|
|
97
|
+
/**
|
|
98
|
+
* Active mount target for the current layout / mobile-prompt state.
|
|
99
|
+
*
|
|
100
|
+
* Phone and pad use the session-panel accessory slot for draw commands even
|
|
101
|
+
* before the panel is shown, so `command.trigger` can mount controls there
|
|
102
|
+
* (and `beginMobilePrompt` remount stays a no-op when the host is unchanged).
|
|
103
|
+
* Desktop keeps the top-center chrome until a mobile prompt is open.
|
|
104
|
+
*/
|
|
105
|
+
get: function () {
|
|
106
|
+
if (this.isMobilePromptOpen() ||
|
|
107
|
+
acedInteractionStrategy().point.usesSessionChrome) {
|
|
108
|
+
return {
|
|
109
|
+
host: this.getMobileChrome().accessoryHost,
|
|
110
|
+
type: 'mobile'
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
host: this.desktopChrome.host,
|
|
115
|
+
type: 'desktop'
|
|
116
|
+
};
|
|
117
|
+
},
|
|
118
|
+
enumerable: false,
|
|
119
|
+
configurable: true
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(AcEdSessionAccessoryController.prototype, "selectionSessionAccessory", {
|
|
122
|
+
/** Selection-driven accessory shown when no command accessory is mounted. */
|
|
123
|
+
get: function () {
|
|
124
|
+
return this.selectionAccessory;
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
* Updates the selection-driven accessory and mounts or unmounts it when no
|
|
128
|
+
* command accessory currently owns the slot.
|
|
129
|
+
*
|
|
130
|
+
* @param value - Accessory to show on selection, or `null` to clear.
|
|
131
|
+
*/
|
|
132
|
+
set: function (value) {
|
|
133
|
+
var _a, _b;
|
|
134
|
+
if (this.selectionAccessory === value) {
|
|
135
|
+
if (value && !this.mounted) {
|
|
136
|
+
this.mountSelectionAccessory();
|
|
137
|
+
}
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
var wasMountedSelection = ((_a = this.mounted) === null || _a === void 0 ? void 0 : _a.source) === 'selection' &&
|
|
141
|
+
this.mounted.accessory === this.selectionAccessory;
|
|
142
|
+
if (wasMountedSelection) {
|
|
143
|
+
this.unmountMounted();
|
|
144
|
+
}
|
|
145
|
+
this.selectionAccessory = value;
|
|
146
|
+
if (((_b = this.mounted) === null || _b === void 0 ? void 0 : _b.source) === 'command') {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if (value) {
|
|
150
|
+
this.mountSelectionAccessory();
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
enumerable: false,
|
|
154
|
+
configurable: true
|
|
155
|
+
});
|
|
156
|
+
/**
|
|
157
|
+
* Remounts the active accessory when the host slot changes (mobile prompt
|
|
158
|
+
* open/close or layout flip), or when the current host was emptied without
|
|
159
|
+
* an unmount (e.g. a stale clear).
|
|
160
|
+
*/
|
|
161
|
+
AcEdSessionAccessoryController.prototype.remountActiveSessionAccessory = function () {
|
|
162
|
+
if (!this.mounted || this.remounting)
|
|
163
|
+
return;
|
|
164
|
+
var _a = this.mounted, accessory = _a.accessory, source = _a.source, command = _a.command, prev = _a.options;
|
|
165
|
+
var next = this.sessionAccessoryHost;
|
|
166
|
+
var sameSlot = prev.host === next.host && prev.type === next.type;
|
|
167
|
+
if (sameSlot && next.host.childElementCount > 0)
|
|
168
|
+
return;
|
|
169
|
+
this.remounting = true;
|
|
170
|
+
try {
|
|
171
|
+
var events = this.getEditorEvents();
|
|
172
|
+
var unmountArgs = {
|
|
173
|
+
command: command,
|
|
174
|
+
accessory: accessory,
|
|
175
|
+
options: prev,
|
|
176
|
+
source: source
|
|
177
|
+
};
|
|
178
|
+
events.beforeUnmountSessionAccessory.dispatch(unmountArgs);
|
|
179
|
+
accessory.unmount();
|
|
180
|
+
this.clearChrome(prev.type);
|
|
181
|
+
events.afterUnmountSessionAccessory.dispatch(unmountArgs);
|
|
182
|
+
var mountOptions = {
|
|
183
|
+
host: next.host,
|
|
184
|
+
type: next.type,
|
|
185
|
+
view: this.view
|
|
186
|
+
};
|
|
187
|
+
var mountArgs = {
|
|
188
|
+
command: command,
|
|
189
|
+
accessory: accessory,
|
|
190
|
+
options: mountOptions,
|
|
191
|
+
source: source
|
|
192
|
+
};
|
|
193
|
+
events.beforeMountSessionAccessory.dispatch(mountArgs);
|
|
194
|
+
accessory.mount(mountOptions);
|
|
195
|
+
events.afterMountSessionAccessory.dispatch(mountArgs);
|
|
196
|
+
}
|
|
197
|
+
finally {
|
|
198
|
+
this.remounting = false;
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
/** Tears down chrome and listeners. */
|
|
202
|
+
AcEdSessionAccessoryController.prototype.dispose = function () {
|
|
203
|
+
if (this.bound) {
|
|
204
|
+
var events = this.getEditorEvents();
|
|
205
|
+
events.beforeMountSessionAccessory.removeEventListener(this.onBeforeMount);
|
|
206
|
+
events.afterMountSessionAccessory.removeEventListener(this.onAfterMount);
|
|
207
|
+
events.afterUnmountSessionAccessory.removeEventListener(this.onAfterUnmount);
|
|
208
|
+
this.bound = false;
|
|
209
|
+
}
|
|
210
|
+
if (this.mounted) {
|
|
211
|
+
try {
|
|
212
|
+
this.mounted.accessory.unmount();
|
|
213
|
+
}
|
|
214
|
+
catch (_a) {
|
|
215
|
+
// ignore dispose-time unmount errors
|
|
216
|
+
}
|
|
217
|
+
this.clearChrome(this.mounted.options.type);
|
|
218
|
+
this.mounted = null;
|
|
219
|
+
}
|
|
220
|
+
this.selectionAccessory = null;
|
|
221
|
+
this.desktopChrome.dispose();
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Mounts {@link selectionAccessory} on the desktop slot when no command
|
|
225
|
+
* accessory is active. Selection draw-style stays desktop-only.
|
|
226
|
+
*/
|
|
227
|
+
AcEdSessionAccessoryController.prototype.mountSelectionAccessory = function () {
|
|
228
|
+
var _a, _b;
|
|
229
|
+
var accessory = this.selectionAccessory;
|
|
230
|
+
if (!accessory || ((_a = this.mounted) === null || _a === void 0 ? void 0 : _a.source) === 'command')
|
|
231
|
+
return;
|
|
232
|
+
if (((_b = this.mounted) === null || _b === void 0 ? void 0 : _b.accessory) === accessory)
|
|
233
|
+
return;
|
|
234
|
+
if (this.mounted) {
|
|
235
|
+
this.unmountMounted();
|
|
236
|
+
}
|
|
237
|
+
var hostInfo = this.sessionAccessoryHost;
|
|
238
|
+
// Selection draw-style stays desktop-only (matches prior Source behavior).
|
|
239
|
+
if (hostInfo.type === 'mobile') {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
var options = {
|
|
243
|
+
host: hostInfo.host,
|
|
244
|
+
type: hostInfo.type,
|
|
245
|
+
view: this.view
|
|
246
|
+
};
|
|
247
|
+
var events = this.getEditorEvents();
|
|
248
|
+
var args = {
|
|
249
|
+
command: null,
|
|
250
|
+
accessory: accessory,
|
|
251
|
+
options: options,
|
|
252
|
+
source: 'selection'
|
|
253
|
+
};
|
|
254
|
+
events.beforeMountSessionAccessory.dispatch(args);
|
|
255
|
+
accessory.mount(options);
|
|
256
|
+
events.afterMountSessionAccessory.dispatch(args);
|
|
257
|
+
};
|
|
258
|
+
/** Unmounts the currently mounted accessory and clears its chrome. */
|
|
259
|
+
AcEdSessionAccessoryController.prototype.unmountMounted = function () {
|
|
260
|
+
if (!this.mounted)
|
|
261
|
+
return;
|
|
262
|
+
var _a = this.mounted, accessory = _a.accessory, source = _a.source, command = _a.command, options = _a.options;
|
|
263
|
+
var events = this.getEditorEvents();
|
|
264
|
+
var args = {
|
|
265
|
+
command: command,
|
|
266
|
+
accessory: accessory,
|
|
267
|
+
options: options,
|
|
268
|
+
source: source
|
|
269
|
+
};
|
|
270
|
+
events.beforeUnmountSessionAccessory.dispatch(args);
|
|
271
|
+
accessory.unmount();
|
|
272
|
+
this.clearChrome(options.type);
|
|
273
|
+
this.mounted = null;
|
|
274
|
+
events.afterUnmountSessionAccessory.dispatch(args);
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* Shows the chrome for `type` and clears the opposite slot.
|
|
278
|
+
*
|
|
279
|
+
* @param type - Slot that should become visible.
|
|
280
|
+
*/
|
|
281
|
+
AcEdSessionAccessoryController.prototype.prepareChrome = function (type) {
|
|
282
|
+
if (type === 'mobile') {
|
|
283
|
+
this.desktopChrome.clear();
|
|
284
|
+
this.getMobileChrome().prepareAccessory();
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
this.getMobileChrome().clearAccessory();
|
|
288
|
+
this.desktopChrome.prepare();
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Hides and empties the chrome for `type`.
|
|
292
|
+
*
|
|
293
|
+
* @param type - Slot to clear.
|
|
294
|
+
*/
|
|
295
|
+
AcEdSessionAccessoryController.prototype.clearChrome = function (type) {
|
|
296
|
+
if (type === 'mobile') {
|
|
297
|
+
this.getMobileChrome().clearAccessory();
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
this.desktopChrome.clear();
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
return AcEdSessionAccessoryController;
|
|
304
|
+
}());
|
|
305
|
+
export { AcEdSessionAccessoryController };
|
|
306
|
+
//# sourceMappingURL=AcEdSessionAccessoryController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSessionAccessoryController.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdSessionAccessoryController.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAA;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AA2BnE;;;GAGG;AACH;IA2EE;;;;;OAKG;IACH,wCAAY,OAKX;QALD,iBAaC;QAlFD,+EAA+E;QACvE,uBAAkB,GAAgC,IAAI,CAAA;QAC9D,2EAA2E;QACnE,YAAO,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AgB,EAAE,CAAA;YACzC,OAAM;QACR,CAAC;QACD,IAAI,CAAC,eAAe,EAAE,CAAC,cAAc,EAAE,CAAA;QACvC,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAA;IAC9B,CAAC;IAED;;;;OAIG;IACK,oDAAW,GAAnB,UAAoB,IAA8B;QAChD,IAAI,IAAI,KAAK,QAAQ,EAAE,CAAC;YACtB,IAAI,CAAC,eAAe,EAAE,CAAC,cAAc,EAAE,CAAA;QACzC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,CAAA;QAC5B,CAAC;IACH,CAAC;IACH,qCAAC;AAAD,CAAC,AA9TD,IA8TC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DOM crosshair for simulated-mouse touch picking.
|
|
3
|
+
*
|
|
4
|
+
* Positioned at the pick sample (above the finger). One HUD per view, shared
|
|
5
|
+
* across point prompts the same way as {@link acedRefreshMobileSnapLoupe}.
|
|
6
|
+
*/
|
|
7
|
+
import type { AcEdBaseView } from '../../view';
|
|
8
|
+
/**
|
|
9
|
+
* Shows or repositions the simulated-mouse crosshair at a client sample.
|
|
10
|
+
*
|
|
11
|
+
* @param view - View that owns the overlay host.
|
|
12
|
+
* @param clientX - Sample X in viewport/client CSS pixels.
|
|
13
|
+
* @param clientY - Sample Y in viewport/client CSS pixels.
|
|
14
|
+
*/
|
|
15
|
+
export declare function acedRefreshSimulatedMouseCursor(view: AcEdBaseView, clientX: number, clientY: number): void;
|
|
16
|
+
/**
|
|
17
|
+
* Hides the simulated-mouse crosshair for `view` if visible.
|
|
18
|
+
*
|
|
19
|
+
* @param view - View whose cursor should be hidden.
|
|
20
|
+
*/
|
|
21
|
+
export declare function acedHideSimulatedMouseCursor(view: AcEdBaseView): void;
|
|
22
|
+
/**
|
|
23
|
+
* Disposes the simulated-mouse cursor HUD for `view` (tests / view teardown).
|
|
24
|
+
*
|
|
25
|
+
* @param view - View whose cursor should be destroyed.
|
|
26
|
+
*/
|
|
27
|
+
export declare function acedDisposeSimulatedMouseCursor(view: AcEdBaseView): void;
|
|
28
|
+
//# sourceMappingURL=AcEdSimulatedMouseCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSimulatedMouseCursor.d.ts","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdSimulatedMouseCursor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAkE9C;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAIrE;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI,CAKxE"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DOM crosshair for simulated-mouse touch picking.
|
|
3
|
+
*
|
|
4
|
+
* Positioned at the pick sample (above the finger). One HUD per view, shared
|
|
5
|
+
* across point prompts the same way as {@link acedRefreshMobileSnapLoupe}.
|
|
6
|
+
*/
|
|
7
|
+
/** Crosshair arm length in CSS pixels (full size is 2× this). */
|
|
8
|
+
var CROSS_ARM_PX = 9;
|
|
9
|
+
/** Lazily created cursor HUD keyed by view. */
|
|
10
|
+
var cursors = new WeakMap();
|
|
11
|
+
/** Whether the shared stylesheet has been injected. */
|
|
12
|
+
var stylesInjected = false;
|
|
13
|
+
/**
|
|
14
|
+
* Injects simulated-mouse cursor CSS once.
|
|
15
|
+
*/
|
|
16
|
+
function injectCss() {
|
|
17
|
+
if (stylesInjected)
|
|
18
|
+
return;
|
|
19
|
+
stylesInjected = true;
|
|
20
|
+
var style = document.createElement('style');
|
|
21
|
+
style.id = 'ml-simulated-mouse-cursor-styles';
|
|
22
|
+
style.textContent = "\n.ml-simulated-mouse-cursor {\n position: absolute;\n width: ".concat(CROSS_ARM_PX * 2, "px;\n height: ").concat(CROSS_ARM_PX * 2, "px;\n margin: -").concat(CROSS_ARM_PX, "px 0 0 -").concat(CROSS_ARM_PX, "px;\n pointer-events: none;\n z-index: 40;\n color: var(--ml-ui-canvas-line, #0f0);\n display: none;\n}\n.ml-simulated-mouse-cursor svg {\n display: block;\n width: 100%;\n height: 100%;\n filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.85));\n}\n").trim();
|
|
23
|
+
document.head.appendChild(style);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Ensures a cursor element exists for `view` and returns it.
|
|
27
|
+
*
|
|
28
|
+
* @param view - View that owns the overlay host.
|
|
29
|
+
* @returns The cursor root element.
|
|
30
|
+
*/
|
|
31
|
+
function ensureCursor(view) {
|
|
32
|
+
var root = cursors.get(view);
|
|
33
|
+
if (root)
|
|
34
|
+
return root;
|
|
35
|
+
injectCss();
|
|
36
|
+
root = document.createElement('div');
|
|
37
|
+
root.className = 'ml-simulated-mouse-cursor';
|
|
38
|
+
root.setAttribute('aria-hidden', 'true');
|
|
39
|
+
root.innerHTML = "<svg viewBox=\"0 0 18 18\" aria-hidden=\"true\">\n <path fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"\n d=\"M9 1v16M1 9h16\"/>\n </svg>";
|
|
40
|
+
var hostPosition = getComputedStyle(view.container).position;
|
|
41
|
+
if (hostPosition === 'static') {
|
|
42
|
+
view.container.style.position = 'relative';
|
|
43
|
+
}
|
|
44
|
+
view.container.appendChild(root);
|
|
45
|
+
cursors.set(view, root);
|
|
46
|
+
return root;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Shows or repositions the simulated-mouse crosshair at a client sample.
|
|
50
|
+
*
|
|
51
|
+
* @param view - View that owns the overlay host.
|
|
52
|
+
* @param clientX - Sample X in viewport/client CSS pixels.
|
|
53
|
+
* @param clientY - Sample Y in viewport/client CSS pixels.
|
|
54
|
+
*/
|
|
55
|
+
export function acedRefreshSimulatedMouseCursor(view, clientX, clientY) {
|
|
56
|
+
var root = ensureCursor(view);
|
|
57
|
+
var canvas = view.viewportToCanvas({ x: clientX, y: clientY });
|
|
58
|
+
var host = view.canvasToContainer(canvas);
|
|
59
|
+
root.style.left = "".concat(host.x, "px");
|
|
60
|
+
root.style.top = "".concat(host.y, "px");
|
|
61
|
+
root.style.display = 'block';
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Hides the simulated-mouse crosshair for `view` if visible.
|
|
65
|
+
*
|
|
66
|
+
* @param view - View whose cursor should be hidden.
|
|
67
|
+
*/
|
|
68
|
+
export function acedHideSimulatedMouseCursor(view) {
|
|
69
|
+
var root = cursors.get(view);
|
|
70
|
+
if (!root)
|
|
71
|
+
return;
|
|
72
|
+
root.style.display = 'none';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Disposes the simulated-mouse cursor HUD for `view` (tests / view teardown).
|
|
76
|
+
*
|
|
77
|
+
* @param view - View whose cursor should be destroyed.
|
|
78
|
+
*/
|
|
79
|
+
export function acedDisposeSimulatedMouseCursor(view) {
|
|
80
|
+
var root = cursors.get(view);
|
|
81
|
+
if (!root)
|
|
82
|
+
return;
|
|
83
|
+
root.remove();
|
|
84
|
+
cursors.delete(view);
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=AcEdSimulatedMouseCursor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcEdSimulatedMouseCursor.js","sourceRoot":"","sources":["../../../../src/editor/input/ui/AcEdSimulatedMouseCursor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,iEAAiE;AACjE,IAAM,YAAY,GAAG,CAAC,CAAA;AAEtB,+CAA+C;AAC/C,IAAM,OAAO,GAAG,IAAI,OAAO,EAAgC,CAAA;AAE3D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