@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,455 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { AcCmColor, acdbHostApplicationServices } from '@mlightcad/data-model';
|
|
49
|
+
import { applyMarkupStyleToSelection } from '../command/markup/AcApMarkupPresenter';
|
|
50
|
+
import { getMarkupStore } from '../command/markup/AcApMarkupStore';
|
|
51
|
+
import { cssToMarkupColor, defaultMarkupColor, getMarkupCustomTextHeightWcs, getMarkupFontSize, getMarkupTextHeightMode, markupColorToCss, setMarkupDrawColor, setMarkupTextHeight } from '../command/markup/AcApMarkupUtil';
|
|
52
|
+
import { applyMeasurementStyleToSelection, getActiveMeasurementStyle, getMeasurementSnapshot, getSelectedMeasurementId } from '../command/measure/AcApMeasurementStore';
|
|
53
|
+
import { ACED_DRAW_STYLE_SESSION_PROVIDER_ID } from '../editor/command/AcEdSessionAccessory';
|
|
54
|
+
import { acedApplyUiTheme, resolveUiTheme } from '../editor/global/AcEdUiTheme';
|
|
55
|
+
import { AcApI18n } from '../i18n';
|
|
56
|
+
import { acapCssColor, acapCssToMeasurementColor, acapGetMeasurementColor, acapGetMeasurementCustomTextHeightWcs, acapGetMeasurementFontSize, acapGetMeasurementTextHeightMode, acapSetMeasurementDrawColor, acapSetMeasurementTextHeight } from '../util/AcApMeasurementUtil';
|
|
57
|
+
import { AcUiAciColorDialog } from './AcUiAciColorDialog';
|
|
58
|
+
import { acuiCreateAciPaletteStacks, acuiEnsureAciPaletteStyles } from './AcUiAciPaletteUi';
|
|
59
|
+
import { acuiOpenTextHeightDialog, acuiResolveTextHeightDialogInitials, acuiResolveTextHeightPatch } from './AcUiTextHeightDialogHelpers';
|
|
60
|
+
import { createIconElement, ICON_TEXT_HEIGHT } from './icons';
|
|
61
|
+
/** DOM id of the injected stylesheet for draw-style controls. */
|
|
62
|
+
var STYLE_ID = 'ml-draw-style-session-accessory-styles';
|
|
63
|
+
/** CSS rules for draw-style controls and the ACI popover. */
|
|
64
|
+
var CONTROLS_CSS = "\n .ml-draw-style-toolbar__controls {\n display: flex;\n align-items: center;\n gap: 8px;\n }\n .ml-draw-style-toolbar__swatch {\n position: relative;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 4px;\n background: var(--ml-ui-bg, #fff);\n cursor: pointer;\n }\n .ml-draw-style-toolbar__swatch-fill {\n display: block;\n width: 14px;\n height: 14px;\n margin: 0 auto;\n border-radius: 50%;\n border: 1px solid #666;\n }\n .ml-draw-style-toolbar__text-height {\n width: 28px;\n height: 28px;\n padding: 0;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 4px;\n background: var(--ml-ui-bg, #fff);\n color: inherit;\n cursor: pointer;\n box-sizing: border-box;\n }\n .ml-draw-style-toolbar__text-height .ml-ex-ui-icon {\n display: inline-flex;\n width: 18px;\n height: 18px;\n }\n .ml-draw-style-toolbar__text-height .ml-ex-ui-icon svg {\n width: 18px;\n height: 18px;\n }\n .ml-draw-style-toolbar__color {\n position: relative;\n }\n .ml-draw-style-toolbar__color-panel {\n display: none;\n position: absolute;\n top: calc(100% + 6px);\n left: 0;\n z-index: 1;\n padding: 8px;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 6px;\n background: var(--ml-ui-bg, rgba(255, 255, 255, 0.98));\n box-shadow: var(--ml-ui-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));\n --ml-aci-cell-size: 11px;\n }\n .ml-draw-style-toolbar__color-panel.is-open {\n display: block;\n }\n .ml-draw-style-toolbar__color-panel--drop-up {\n top: auto;\n bottom: calc(100% + 6px);\n }\n ";
|
|
65
|
+
/**
|
|
66
|
+
* Builds an {@link AcCmColor} from a 1-based ACI index.
|
|
67
|
+
*
|
|
68
|
+
* @param index - AutoCAD Color Index (1–255).
|
|
69
|
+
* @returns Color object with {@link AcCmColor.colorIndex} set.
|
|
70
|
+
*/
|
|
71
|
+
function colorFromAci(index) {
|
|
72
|
+
var color = new AcCmColor();
|
|
73
|
+
color.colorIndex = index;
|
|
74
|
+
return color;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Reads the ACI index from a color when it is stored as ByACI.
|
|
78
|
+
*
|
|
79
|
+
* @param color - Color to inspect.
|
|
80
|
+
* @returns 1-based ACI index, or `undefined` if not ByACI.
|
|
81
|
+
*/
|
|
82
|
+
function aciIndexOf(color) {
|
|
83
|
+
if (color.isByACI && color.colorIndex != null && color.colorIndex >= 1) {
|
|
84
|
+
return color.colorIndex;
|
|
85
|
+
}
|
|
86
|
+
return undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Injects draw-style control styles and shared ACI palette styles into the document head.
|
|
90
|
+
*/
|
|
91
|
+
function ensureStyles() {
|
|
92
|
+
acuiEnsureAciPaletteStyles();
|
|
93
|
+
if (typeof document === 'undefined')
|
|
94
|
+
return;
|
|
95
|
+
var style = document.getElementById(STYLE_ID);
|
|
96
|
+
if (!style) {
|
|
97
|
+
style = document.createElement('style');
|
|
98
|
+
style.id = STYLE_ID;
|
|
99
|
+
document.head.appendChild(style);
|
|
100
|
+
}
|
|
101
|
+
style.textContent = CONTROLS_CSS;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Color / font-size session accessory for measurement and markup drawing.
|
|
105
|
+
*
|
|
106
|
+
* Mounted into the desktop top-center slot or the phone/pad session panel.
|
|
107
|
+
*/
|
|
108
|
+
var AcUiDrawStyleSessionAccessory = /** @class */ (function () {
|
|
109
|
+
/**
|
|
110
|
+
* Creates controls and wires events. Install registers this on
|
|
111
|
+
* {@link AcEdBaseView.sessionProviders}.
|
|
112
|
+
*
|
|
113
|
+
* @param view - 2D view whose container supplies theme and dialog placement.
|
|
114
|
+
*/
|
|
115
|
+
function AcUiDrawStyleSessionAccessory(view) {
|
|
116
|
+
var _this = this;
|
|
117
|
+
this.view = view;
|
|
118
|
+
/** True when mounted in the mobile session panel (drop-up palette). */
|
|
119
|
+
this.mobileMounted = false;
|
|
120
|
+
/** Whether the inline ACI palette panel is open. */
|
|
121
|
+
this.colorPanelOpen = false;
|
|
122
|
+
/** True while the full-screen mobile ACI dialog is open. */
|
|
123
|
+
this.colorDialogOpen = false;
|
|
124
|
+
/** True while the text-height dialog is open. */
|
|
125
|
+
this.textHeightDialogOpen = false;
|
|
126
|
+
/** Refreshes titles when the application locale changes. */
|
|
127
|
+
this.onLocaleChanged = function () { return _this.relabel(); };
|
|
128
|
+
/** Tears down selection-sync subscriptions registered by install. */
|
|
129
|
+
this.selectionUnsubscribe = null;
|
|
130
|
+
ensureStyles();
|
|
131
|
+
this.colorWrap = document.createElement('div');
|
|
132
|
+
this.colorWrap.className = 'ml-draw-style-toolbar__color';
|
|
133
|
+
this.swatch = document.createElement('button');
|
|
134
|
+
this.swatch.type = 'button';
|
|
135
|
+
this.swatch.className = 'ml-draw-style-toolbar__swatch';
|
|
136
|
+
this.swatchFill = document.createElement('span');
|
|
137
|
+
this.swatchFill.className = 'ml-draw-style-toolbar__swatch-fill';
|
|
138
|
+
this.swatch.appendChild(this.swatchFill);
|
|
139
|
+
this.colorPanel = document.createElement('div');
|
|
140
|
+
this.colorPanel.className = 'ml-draw-style-toolbar__color-panel';
|
|
141
|
+
this.aciStacks = acuiCreateAciPaletteStacks({
|
|
142
|
+
onSelect: function (index) {
|
|
143
|
+
_this.applyColor(colorFromAci(index));
|
|
144
|
+
_this.hideColorPanel();
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
this.colorPanel.appendChild(this.aciStacks.root);
|
|
148
|
+
this.colorWrap.appendChild(this.swatch);
|
|
149
|
+
this.colorWrap.appendChild(this.colorPanel);
|
|
150
|
+
this.textHeightButton = document.createElement('button');
|
|
151
|
+
this.textHeightButton.type = 'button';
|
|
152
|
+
this.textHeightButton.className = 'ml-draw-style-toolbar__text-height';
|
|
153
|
+
this.textHeightButton.appendChild(createIconElement(ICON_TEXT_HEIGHT));
|
|
154
|
+
this.controlsRow = document.createElement('div');
|
|
155
|
+
this.controlsRow.className = 'ml-draw-style-toolbar__controls';
|
|
156
|
+
this.controlsRow.setAttribute('role', 'toolbar');
|
|
157
|
+
acedApplyUiTheme(resolveUiTheme(view.container), this.controlsRow);
|
|
158
|
+
this.controlsRow.append(this.colorWrap, this.textHeightButton);
|
|
159
|
+
this.swatch.addEventListener('click', function (event) {
|
|
160
|
+
event.preventDefault();
|
|
161
|
+
event.stopPropagation();
|
|
162
|
+
void _this.openSessionColorDialog();
|
|
163
|
+
});
|
|
164
|
+
this.textHeightButton.addEventListener('click', function (event) {
|
|
165
|
+
event.preventDefault();
|
|
166
|
+
event.stopPropagation();
|
|
167
|
+
void _this.openTextHeightDialog();
|
|
168
|
+
});
|
|
169
|
+
this.controlsRow.addEventListener('pointerdown', function (event) {
|
|
170
|
+
return event.stopPropagation();
|
|
171
|
+
});
|
|
172
|
+
this.controlsRow.addEventListener('mousedown', function (event) {
|
|
173
|
+
return event.stopPropagation();
|
|
174
|
+
});
|
|
175
|
+
this.onDocumentPointerDown = function (event) {
|
|
176
|
+
var target = event.target;
|
|
177
|
+
var inColor = !!target && _this.colorWrap.contains(target);
|
|
178
|
+
if (!_this.colorPanelOpen)
|
|
179
|
+
return;
|
|
180
|
+
if (!inColor) {
|
|
181
|
+
_this.hideColorPanel();
|
|
182
|
+
event.preventDefault();
|
|
183
|
+
event.stopPropagation();
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
document.addEventListener('pointerdown', this.onDocumentPointerDown, true);
|
|
187
|
+
AcApI18n.events.localeChanged.addEventListener(this.onLocaleChanged);
|
|
188
|
+
this.relabel();
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Stores selection-sync cleanup from install; run from {@link dispose}.
|
|
192
|
+
* Replaces any prior subscription before storing the new one.
|
|
193
|
+
*
|
|
194
|
+
* @param unsubscribe - Cleanup returned by selection binding.
|
|
195
|
+
*/
|
|
196
|
+
AcUiDrawStyleSessionAccessory.prototype.setSelectionUnsubscribe = function (unsubscribe) {
|
|
197
|
+
var _a;
|
|
198
|
+
(_a = this.selectionUnsubscribe) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
199
|
+
this.selectionUnsubscribe = unsubscribe;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Updates the active session kind before controls mount or sync.
|
|
203
|
+
*
|
|
204
|
+
* @param kind - `'measure'`, `'markup'`, or `undefined` when inactive.
|
|
205
|
+
*/
|
|
206
|
+
AcUiDrawStyleSessionAccessory.prototype.setActiveKind = function (kind) {
|
|
207
|
+
this.kind = kind;
|
|
208
|
+
if (this.controlsRow.isConnected) {
|
|
209
|
+
this.syncFromSession();
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
/** Removes listeners, unmounts controls, and clears the session provider. */
|
|
213
|
+
AcUiDrawStyleSessionAccessory.prototype.dispose = function () {
|
|
214
|
+
var _a;
|
|
215
|
+
this.hideColorPanel();
|
|
216
|
+
document.removeEventListener('pointerdown', this.onDocumentPointerDown, true);
|
|
217
|
+
AcApI18n.events.localeChanged.removeEventListener(this.onLocaleChanged);
|
|
218
|
+
this.unmount();
|
|
219
|
+
(_a = this.selectionUnsubscribe) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
220
|
+
this.selectionUnsubscribe = null;
|
|
221
|
+
if (this.view.sessionProviders.get(ACED_DRAW_STYLE_SESSION_PROVIDER_ID) ===
|
|
222
|
+
this) {
|
|
223
|
+
this.view.sessionProviders.delete(ACED_DRAW_STYLE_SESSION_PROVIDER_ID);
|
|
224
|
+
}
|
|
225
|
+
this.aciStacks.dispose();
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Builds the session accessory that reparents draw-style controls into a host slot.
|
|
229
|
+
*
|
|
230
|
+
* @returns Accessory with id `'draw-style'` and mount/unmount delegates.
|
|
231
|
+
*/
|
|
232
|
+
AcUiDrawStyleSessionAccessory.prototype.createSessionAccessory = function () {
|
|
233
|
+
var _this = this;
|
|
234
|
+
return {
|
|
235
|
+
id: 'draw-style',
|
|
236
|
+
mount: function (options) { return _this.mount(options.host); },
|
|
237
|
+
unmount: function () { return _this.unmount(); }
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Appends controls to a session host and syncs state from the active session.
|
|
242
|
+
*
|
|
243
|
+
* @param host - Desktop top-center slot or mobile session panel accessory element.
|
|
244
|
+
*/
|
|
245
|
+
AcUiDrawStyleSessionAccessory.prototype.mount = function (host) {
|
|
246
|
+
this.mobileMounted = host.classList.contains('ml-mobile-cmd-accessory');
|
|
247
|
+
this.hideColorPanel();
|
|
248
|
+
if (this.mobileMounted) {
|
|
249
|
+
this.colorPanel.classList.add('ml-draw-style-toolbar__color-panel--drop-up');
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
this.colorPanel.classList.remove('ml-draw-style-toolbar__color-panel--drop-up');
|
|
253
|
+
}
|
|
254
|
+
host.appendChild(this.controlsRow);
|
|
255
|
+
this.relabel();
|
|
256
|
+
this.syncFromSession();
|
|
257
|
+
};
|
|
258
|
+
/** Detaches controls from the current host and resets mobile palette layout. */
|
|
259
|
+
AcUiDrawStyleSessionAccessory.prototype.unmount = function () {
|
|
260
|
+
if (!this.controlsRow.isConnected)
|
|
261
|
+
return;
|
|
262
|
+
this.mobileMounted = false;
|
|
263
|
+
this.hideColorPanel();
|
|
264
|
+
this.colorPanel.classList.remove('ml-draw-style-toolbar__color-panel--drop-up');
|
|
265
|
+
this.controlsRow.remove();
|
|
266
|
+
};
|
|
267
|
+
/** Refreshes control titles from i18n strings. */
|
|
268
|
+
AcUiDrawStyleSessionAccessory.prototype.relabel = function () {
|
|
269
|
+
this.swatch.title = AcApI18n.t('main.drawStyle.color');
|
|
270
|
+
this.textHeightButton.title = AcApI18n.t('main.drawStyle.fontSize');
|
|
271
|
+
this.textHeightButton.setAttribute('aria-label', AcApI18n.t('main.drawStyle.fontSize'));
|
|
272
|
+
};
|
|
273
|
+
/**
|
|
274
|
+
* Reads color and font size from the active measure/markup session or defaults.
|
|
275
|
+
*/
|
|
276
|
+
AcUiDrawStyleSessionAccessory.prototype.syncFromSession = function () {
|
|
277
|
+
var _a;
|
|
278
|
+
if (this.kind === 'measure') {
|
|
279
|
+
var selected_1 = getActiveMeasurementStyle();
|
|
280
|
+
var db = acdbHostApplicationServices().workingDatabase;
|
|
281
|
+
var color_1 = (_a = selected_1 === null || selected_1 === void 0 ? void 0 : selected_1.color) !== null && _a !== void 0 ? _a : (db ? acapGetMeasurementColor(db) : acapCssToMeasurementColor('#7b8794'));
|
|
282
|
+
this.paint(color_1);
|
|
283
|
+
return;
|
|
284
|
+
}
|
|
285
|
+
var selected = getMarkupStore().selectedId
|
|
286
|
+
? getMarkupStore().get(getMarkupStore().selectedId)
|
|
287
|
+
: undefined;
|
|
288
|
+
var color = selected
|
|
289
|
+
? cssToMarkupColor(selected.style.color)
|
|
290
|
+
: defaultMarkupColor();
|
|
291
|
+
this.paint(color);
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Updates swatch and ACI selection to match session state.
|
|
295
|
+
*
|
|
296
|
+
* @param color - Active draw color.
|
|
297
|
+
*/
|
|
298
|
+
AcUiDrawStyleSessionAccessory.prototype.paint = function (color) {
|
|
299
|
+
var css = acapCssColor(color);
|
|
300
|
+
this.swatchFill.style.background = css;
|
|
301
|
+
this.aciStacks.setSelected(aciIndexOf(color));
|
|
302
|
+
};
|
|
303
|
+
/**
|
|
304
|
+
* Persists a new draw color for the active session and updates selection overlays.
|
|
305
|
+
*
|
|
306
|
+
* @param color - Color chosen from the palette or dialog.
|
|
307
|
+
*/
|
|
308
|
+
AcUiDrawStyleSessionAccessory.prototype.applyColor = function (color) {
|
|
309
|
+
this.swatchFill.style.background = acapCssColor(color);
|
|
310
|
+
this.aciStacks.setSelected(aciIndexOf(color));
|
|
311
|
+
if (this.kind === 'measure') {
|
|
312
|
+
acapSetMeasurementDrawColor(color);
|
|
313
|
+
applyMeasurementStyleToSelection(this.view, { color: color });
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
setMarkupDrawColor(color);
|
|
317
|
+
applyMarkupStyleToSelection(this.view, { color: markupColorToCss(color) });
|
|
318
|
+
};
|
|
319
|
+
/** Closes the inline ACI palette popover if it was left open. */
|
|
320
|
+
AcUiDrawStyleSessionAccessory.prototype.hideColorPanel = function () {
|
|
321
|
+
this.clearColorLeaveTimer();
|
|
322
|
+
this.colorPanelOpen = false;
|
|
323
|
+
this.colorPanel.classList.remove('is-open');
|
|
324
|
+
};
|
|
325
|
+
/**
|
|
326
|
+
* Opens the ACI color dialog (command and selection accessories).
|
|
327
|
+
*/
|
|
328
|
+
AcUiDrawStyleSessionAccessory.prototype.openSessionColorDialog = function () {
|
|
329
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
330
|
+
var selected, initial, index;
|
|
331
|
+
return __generator(this, function (_a) {
|
|
332
|
+
switch (_a.label) {
|
|
333
|
+
case 0:
|
|
334
|
+
if (this.colorDialogOpen)
|
|
335
|
+
return [2 /*return*/];
|
|
336
|
+
this.colorDialogOpen = true;
|
|
337
|
+
this.hideColorPanel();
|
|
338
|
+
_a.label = 1;
|
|
339
|
+
case 1:
|
|
340
|
+
_a.trys.push([1, , 3, 4]);
|
|
341
|
+
selected = this.aciStacks.root.querySelector('.ml-aci-cell.is-selected');
|
|
342
|
+
initial = selected ? Number(selected.dataset.aci) : null;
|
|
343
|
+
return [4 /*yield*/, AcUiAciColorDialog.open({
|
|
344
|
+
host: this.view.container,
|
|
345
|
+
theme: resolveUiTheme(this.view.container),
|
|
346
|
+
initialIndex: initial != null && Number.isFinite(initial) ? initial : null,
|
|
347
|
+
labels: {
|
|
348
|
+
title: AcApI18n.t('main.colorPicker.title'),
|
|
349
|
+
close: AcApI18n.t('main.colorPicker.close'),
|
|
350
|
+
ok: AcApI18n.t('main.colorPicker.ok'),
|
|
351
|
+
cancel: AcApI18n.t('main.colorPicker.cancel'),
|
|
352
|
+
index: AcApI18n.t('main.colorPicker.index'),
|
|
353
|
+
rgb: AcApI18n.t('main.colorPicker.rgb'),
|
|
354
|
+
input: AcApI18n.t('main.colorPicker.input'),
|
|
355
|
+
inputPlaceholder: AcApI18n.t('main.colorPicker.inputPlaceholder')
|
|
356
|
+
}
|
|
357
|
+
})];
|
|
358
|
+
case 2:
|
|
359
|
+
index = _a.sent();
|
|
360
|
+
if (index != null)
|
|
361
|
+
this.applyColor(colorFromAci(index));
|
|
362
|
+
return [3 /*break*/, 4];
|
|
363
|
+
case 3:
|
|
364
|
+
this.colorDialogOpen = false;
|
|
365
|
+
return [7 /*endfinally*/];
|
|
366
|
+
case 4: return [2 /*return*/];
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
});
|
|
370
|
+
};
|
|
371
|
+
/** Cancels a pending palette close timer. */
|
|
372
|
+
AcUiDrawStyleSessionAccessory.prototype.clearColorLeaveTimer = function () {
|
|
373
|
+
if (this.colorLeaveTimer == null)
|
|
374
|
+
return;
|
|
375
|
+
window.clearTimeout(this.colorLeaveTimer);
|
|
376
|
+
this.colorLeaveTimer = undefined;
|
|
377
|
+
};
|
|
378
|
+
/** Opens the text-height dialog for the active draw-style kind. */
|
|
379
|
+
AcUiDrawStyleSessionAccessory.prototype.openTextHeightDialog = function () {
|
|
380
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
381
|
+
var isMeasure, selectedMeasure, markupSelectedId, selectedMarkup, hasSelection, sessionMode, fontSizePx, measureId, selectedTextHeightWcs, initials, result, patch;
|
|
382
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
383
|
+
return __generator(this, function (_j) {
|
|
384
|
+
switch (_j.label) {
|
|
385
|
+
case 0:
|
|
386
|
+
if (this.textHeightDialogOpen || this.kind == null)
|
|
387
|
+
return [2 /*return*/];
|
|
388
|
+
this.textHeightDialogOpen = true;
|
|
389
|
+
this.hideColorPanel();
|
|
390
|
+
_j.label = 1;
|
|
391
|
+
case 1:
|
|
392
|
+
_j.trys.push([1, , 3, 4]);
|
|
393
|
+
isMeasure = this.kind === 'measure';
|
|
394
|
+
selectedMeasure = isMeasure
|
|
395
|
+
? getActiveMeasurementStyle()
|
|
396
|
+
: undefined;
|
|
397
|
+
markupSelectedId = getMarkupStore().selectedId;
|
|
398
|
+
selectedMarkup = !isMeasure && markupSelectedId
|
|
399
|
+
? getMarkupStore().get(markupSelectedId)
|
|
400
|
+
: undefined;
|
|
401
|
+
hasSelection = selectedMeasure != null || selectedMarkup != null;
|
|
402
|
+
sessionMode = isMeasure
|
|
403
|
+
? (_a = selectedMeasure === null || selectedMeasure === void 0 ? void 0 : selectedMeasure.textHeightMode) !== null && _a !== void 0 ? _a : acapGetMeasurementTextHeightMode()
|
|
404
|
+
: (_b = selectedMarkup === null || selectedMarkup === void 0 ? void 0 : selectedMarkup.style.textHeightMode) !== null && _b !== void 0 ? _b : getMarkupTextHeightMode();
|
|
405
|
+
fontSizePx = isMeasure
|
|
406
|
+
? (_c = selectedMeasure === null || selectedMeasure === void 0 ? void 0 : selectedMeasure.fontSize) !== null && _c !== void 0 ? _c : acapGetMeasurementFontSize()
|
|
407
|
+
: (_d = selectedMarkup === null || selectedMarkup === void 0 ? void 0 : selectedMarkup.style.fontSize) !== null && _d !== void 0 ? _d : getMarkupFontSize();
|
|
408
|
+
measureId = getSelectedMeasurementId();
|
|
409
|
+
selectedTextHeightWcs = isMeasure
|
|
410
|
+
? hasSelection
|
|
411
|
+
? (_e = selectedMeasure === null || selectedMeasure === void 0 ? void 0 : selectedMeasure.textHeightWcs) !== null && _e !== void 0 ? _e : (measureId
|
|
412
|
+
? (_f = getMeasurementSnapshot(measureId)) === null || _f === void 0 ? void 0 : _f.style.textHeightWcs
|
|
413
|
+
: undefined)
|
|
414
|
+
: acapGetMeasurementCustomTextHeightWcs()
|
|
415
|
+
: hasSelection
|
|
416
|
+
? selectedMarkup === null || selectedMarkup === void 0 ? void 0 : selectedMarkup.style.textHeightWcs
|
|
417
|
+
: getMarkupCustomTextHeightWcs();
|
|
418
|
+
initials = acuiResolveTextHeightDialogInitials({
|
|
419
|
+
hasSelection: hasSelection,
|
|
420
|
+
sessionMode: sessionMode !== null && sessionMode !== void 0 ? sessionMode : 'adaptive',
|
|
421
|
+
fontSizePx: fontSizePx,
|
|
422
|
+
selectedTextHeightWcs: selectedTextHeightWcs,
|
|
423
|
+
view: this.view
|
|
424
|
+
});
|
|
425
|
+
return [4 /*yield*/, acuiOpenTextHeightDialog(__assign({ view: this.view }, initials))];
|
|
426
|
+
case 2:
|
|
427
|
+
result = _j.sent();
|
|
428
|
+
if (!result)
|
|
429
|
+
return [2 /*return*/];
|
|
430
|
+
patch = acuiResolveTextHeightPatch(this.view, result, initials.initialFontSizePx);
|
|
431
|
+
if (isMeasure) {
|
|
432
|
+
acapSetMeasurementTextHeight(patch.textHeightMode, patch.textHeightMode === 'custom'
|
|
433
|
+
? ((_g = patch.textHeightWcs) !== null && _g !== void 0 ? _g : patch.fontSize)
|
|
434
|
+
: patch.fontSize);
|
|
435
|
+
applyMeasurementStyleToSelection(this.view, patch);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
setMarkupTextHeight(patch.textHeightMode, patch.textHeightMode === 'custom'
|
|
439
|
+
? ((_h = patch.textHeightWcs) !== null && _h !== void 0 ? _h : patch.fontSize)
|
|
440
|
+
: patch.fontSize);
|
|
441
|
+
applyMarkupStyleToSelection(this.view, patch);
|
|
442
|
+
}
|
|
443
|
+
return [3 /*break*/, 4];
|
|
444
|
+
case 3:
|
|
445
|
+
this.textHeightDialogOpen = false;
|
|
446
|
+
return [7 /*endfinally*/];
|
|
447
|
+
case 4: return [2 /*return*/];
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
});
|
|
451
|
+
};
|
|
452
|
+
return AcUiDrawStyleSessionAccessory;
|
|
453
|
+
}());
|
|
454
|
+
export { AcUiDrawStyleSessionAccessory };
|
|
455
|
+
//# sourceMappingURL=AcUiDrawStyleSessionAccessory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcUiDrawStyleSessionAccessory.js","sourceRoot":"","sources":["../../src/ui/AcUiDrawStyleSessionAccessory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,2BAA2B,EAC5B,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAm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ACpD,CAAC;6BAAM,CAAC;4BACN,mBAAmB,CACjB,KAAK,CAAC,cAAc,EACpB,KAAK,CAAC,cAAc,KAAK,QAAQ;gCAC/B,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,aAAa,mCAAI,KAAK,CAAC,QAAQ,CAAC;gCACzC,CAAC,CAAC,KAAK,CAAC,QAAQ,CACnB,CAAA;4BACD,2BAA2B,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;wBAC/C,CAAC;;;wBAED,IAAI,CAAC,oBAAoB,GAAG,KAAK,CAAA;;;;;;KAEpC;IACH,oCAAC;AAAD,CAAC,AAzYD,IAyYC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Portable full-screen panel chrome (DOM + CSS only).
|
|
3
|
+
*
|
|
4
|
+
* Base for mobile “push” screens: header with back (`<`) + centered title and a
|
|
5
|
+
* content region. The offline HTML viewer pulls this via the main package
|
|
6
|
+
* export and tree-shaking (same pattern as {@link AcUiDialog}).
|
|
7
|
+
*
|
|
8
|
+
* Callers supply localized labels — this module does not depend on i18n.
|
|
9
|
+
*/
|
|
10
|
+
/** Localized chrome strings for {@link AcUiFullscreenPanel}. */
|
|
11
|
+
export interface AcUiFullscreenPanelLabels {
|
|
12
|
+
/** Header title (centered). */
|
|
13
|
+
title: string;
|
|
14
|
+
/** Accessible name for the back (`<`) control. */
|
|
15
|
+
back: string;
|
|
16
|
+
}
|
|
17
|
+
/** Options for constructing {@link AcUiFullscreenPanel}. */
|
|
18
|
+
export interface AcUiFullscreenPanelOptions {
|
|
19
|
+
/**
|
|
20
|
+
* Element that receives the panel DOM. Defaults to `document.body`.
|
|
21
|
+
* Offline HTML typically passes `#mlcad-root`.
|
|
22
|
+
*/
|
|
23
|
+
host?: HTMLElement;
|
|
24
|
+
/**
|
|
25
|
+
* Extra CSS class on the root (in addition to `ml-ui-fullscreen-panel`).
|
|
26
|
+
* Useful for specialized subclasses (e.g. help).
|
|
27
|
+
*/
|
|
28
|
+
rootClassName?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Mobile-style full-screen overlay with a nav header and content body.
|
|
32
|
+
*
|
|
33
|
+
* Subclasses append widgets to {@link bodyEl}. Opening optionally pushes a
|
|
34
|
+
* history entry so the system / gesture back dismisses the panel; the header
|
|
35
|
+
* back control closes the UI immediately (iframe navigations can insert extra
|
|
36
|
+
* history entries that would otherwise consume the first `history.back()`).
|
|
37
|
+
*/
|
|
38
|
+
export declare class AcUiFullscreenPanel {
|
|
39
|
+
private static stylesInjected;
|
|
40
|
+
private static nextTitleId;
|
|
41
|
+
private readonly mountHost;
|
|
42
|
+
private readonly root;
|
|
43
|
+
private readonly titleEl;
|
|
44
|
+
private readonly backBtn;
|
|
45
|
+
private readonly body;
|
|
46
|
+
private readonly onPopState;
|
|
47
|
+
private visible;
|
|
48
|
+
private historyPushed;
|
|
49
|
+
private labels;
|
|
50
|
+
/**
|
|
51
|
+
* @param options - Optional mount host and root class.
|
|
52
|
+
*/
|
|
53
|
+
constructor(options?: AcUiFullscreenPanelOptions);
|
|
54
|
+
/** Content host for subclasses / callers. */
|
|
55
|
+
get bodyEl(): HTMLElement;
|
|
56
|
+
/** Root overlay element. */
|
|
57
|
+
get rootEl(): HTMLElement;
|
|
58
|
+
/** Whether the panel is currently shown. */
|
|
59
|
+
get isOpen(): boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Shows the panel. Pushes a history entry the first time so system back can
|
|
62
|
+
* dismiss it.
|
|
63
|
+
*
|
|
64
|
+
* @param labels - Localized title and back aria-label.
|
|
65
|
+
*/
|
|
66
|
+
show(labels: AcUiFullscreenPanelLabels): void;
|
|
67
|
+
/**
|
|
68
|
+
* Updates chrome labels without changing the open/closed state.
|
|
69
|
+
*
|
|
70
|
+
* @param labels - Localized title and back aria-label.
|
|
71
|
+
*/
|
|
72
|
+
setLabels(labels: AcUiFullscreenPanelLabels): void;
|
|
73
|
+
/**
|
|
74
|
+
* Closes via the header back control. Hides immediately, then unwinds at most
|
|
75
|
+
* one history entry we pushed (does not wait on `popstate`, so iframe-added
|
|
76
|
+
* history entries cannot steal the first tap).
|
|
77
|
+
*/
|
|
78
|
+
requestClose(): void;
|
|
79
|
+
/** Tears down DOM and history listeners. */
|
|
80
|
+
dispose(): void;
|
|
81
|
+
/** Hook for subclasses when the panel is hidden. */
|
|
82
|
+
protected onHidden(): void;
|
|
83
|
+
private applyLabels;
|
|
84
|
+
private onHistoryPop;
|
|
85
|
+
private detachHistory;
|
|
86
|
+
private hideUi;
|
|
87
|
+
private static injectCss;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=AcUiFullscreenPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcUiFullscreenPanel.d.ts","sourceRoot":"","sources":["../../src/ui/AcUiFullscreenPanel.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAQH,gEAAgE;AAChE,MAAM,WAAW,yBAAyB;IACxC,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAA;CACb;AAED,4DAA4D;AAC5D,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,MAAM,CAAC,cAAc,CAAQ;IACrC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAI;IAE9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAa;IACvC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IACrC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiB;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAgB;IACrC,OAAO,CAAC,QAA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