@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,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared inline SVG icons for CAD toolbar and menu buttons.
|
|
3
|
+
*
|
|
4
|
+
* Consumed by cad-simple-ui-plugin, cad-html-plugin, cad-diff-viewer, and
|
|
5
|
+
* cad-viewer. Import from `@mlightcad/cad-simple-viewer/icons` so HTML
|
|
6
|
+
* viewer bundles do not pull in the full viewer. Each `ICON_*` constant is
|
|
7
|
+
* an SVG snippet using `currentColor` for theming.
|
|
8
|
+
*/
|
|
9
|
+
/** Select tool icon. */
|
|
10
|
+
export declare const ICON_SELECT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M10.4379 15.2979h.002l4.86-4.86-9.722-4.86 4.86 9.72Zm7.562-5.298-3.434 3.434 3.2 3.2-1.132 1.132-3.2-3.2-3.434 3.434-7.6-15.6 15.6 7.6Z\"/></svg>";
|
|
11
|
+
/** Pan tool icon. */
|
|
12
|
+
export declare const ICON_PAN = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M15.08 12.8537l.002-.002V5.5897c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.6381-.414-.6381 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.4437c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.2317c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388-.26-.446-.518-.892-.776-1.338-.338-.482-1.1-.15-.794.38.326.566.652 1.132.978 1.698.006.012.014.026.02.04.552.946 1.106 1.89 1.658 2.834.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.7921-.124 2.5601-.612.3-.19.572-.416.816-.68.326-.368.57-.776.734-1.204.176-.482.258-.97.258-1.494Zm-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894-.216.564-.53 1.114-.964 1.576-.318.34-.666.632-1.046.884-.978.612-2.1461.862-3.2601.774-1.128-.102-2.228-.564-3.098-1.352-.326-.292-.612-.646-.87-1.034-.558-.96-1.114-1.92-1.672-2.88l-.012-.028c-.326-.568-.652-1.138-.978-1.706-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096.04.074.082.146.122.218V4.2337c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.9721-.51 2.2221.102 2.2221 1.284v.06c.022-.014.046-.026.068-.04Z\"/></svg>";
|
|
13
|
+
/** Zoom extents icon. */
|
|
14
|
+
export declare const ICON_ZOOM_EXTENT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M9.3333 14.125 5.875 10.6667V14.125H9.3333Zm4.7917-3.4583-3.4583 3.4583H14.125V10.6667ZM10.6667 5.875 14.125 9.3333V5.875H10.6667ZM5.875 9.3333 9.3333 5.875H5.875V9.3333Zm9.2083 5.475c1.2333-1.3 1.9083-3.0333 1.9083-4.825-.0083-3.325-2.35-6.1833-5.6083-6.8417C8.125 2.4833 4.85 4.2 3.55 7.2583c-1.3 3.0583-.275 6.6083 2.4583 8.5 2.725 1.8917 6.4167 1.6 8.8167-.6917.0917-.0833.175-.175.2583-.2583Zm1.2583.5917 2.575 2.575c-.3167.3167-.625.625-.9417.9417-.8583-.8583-1.7167-1.7167-2.575-2.575-3.4083 2.9-8.4917 2.5917-11.525-.6917S.9417 7.275 4.1083 4.1083C7.2667.9417 12.3667.8417 15.65 3.875s3.5917 8.1167.6917 11.525Z\"/></svg>";
|
|
15
|
+
/** Zoom window icon. */
|
|
16
|
+
export declare const ICON_ZOOM_WINDOW = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M15.0833 14.8083c1.2333-1.3 1.9083-3.0333 1.9083-4.825-.0083-3.325-2.35-6.1833-5.6083-6.8417C8.125 2.4833 4.85 4.2 3.55 7.2583c-1.3 3.0583-.275 6.6083 2.4583 8.5 2.725 1.8917 6.4167 1.6 8.8167-.6917.0917-.0833.175-.175.2583-.2583Zm1.2583.5917 2.575 2.575c-.3167.3167-.625.625-.9417.9417-.8583-.8583-1.7167-1.7167-2.575-2.575-3.4083 2.9-8.4917 2.5917-11.525-.6917C.8417 12.3667.9417 7.275 4.1083 4.1083 7.2667.9417 12.3667.8417 15.65 3.875s3.5917 8.1167.6917 11.525Zm-3.55-2.6083V7.2083H7.2083v5.5833h5.5833ZM5.875 5.875h8.25v8.25H5.875V5.875Z\"/></svg>";
|
|
17
|
+
/** Layer manager icon. */
|
|
18
|
+
export declare const ICON_LAYER = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 512 512\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"32\" d=\"m434.8 137.65l-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09M160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47\"/><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"32\" d=\"m160 204.48l-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48\"/></svg>";
|
|
19
|
+
/** Drawing layout switcher icon (staggered bento-box panels). */
|
|
20
|
+
export declare const ICON_LAYOUT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"2\" y=\"2\" width=\"8.2\" height=\"5\" rx=\"1.2\" fill=\"currentColor\"/><rect x=\"2\" y=\"8.5\" width=\"8.2\" height=\"9.5\" rx=\"1.2\" fill=\"currentColor\"/><rect x=\"11.7\" y=\"2\" width=\"6.3\" height=\"10\" rx=\"1.2\" fill=\"currentColor\"/><rect x=\"11.7\" y=\"13.5\" width=\"6.3\" height=\"4.5\" rx=\"1.2\" fill=\"currentColor\"/></svg>";
|
|
21
|
+
/** Measure tools parent menu icon. */
|
|
22
|
+
export declare const ICON_MEASURE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M1.5 7h17v6h-17ZM4.25 7h1v2.5h-1ZM7.5 7h.75v1.5H7.5ZM10.25 7h1v2.5h-1ZM13.5 7h.75v1.5H13.5ZM16.25 7h1v2.5h-1Z\"/></svg>";
|
|
23
|
+
/** Measure distance icon (dimension arrows over a ruler). */
|
|
24
|
+
export declare const ICON_MEASURE_DISTANCE: string;
|
|
25
|
+
/** Continuous distance icon (distance glyph with an "n" badge for n segments). */
|
|
26
|
+
export declare const ICON_MEASURE_CONTINUOUS: string;
|
|
27
|
+
/** Measure angle icon (two rays and a dimension arc over a ruler). */
|
|
28
|
+
export declare const ICON_MEASURE_ANGLE: string;
|
|
29
|
+
/** Measure area icon (filled quarter-circle sector over a ruler). */
|
|
30
|
+
export declare const ICON_MEASURE_AREA: string;
|
|
31
|
+
/** Measure arc length icon (quarter-arc with grips and a right-angle vertex over a ruler). */
|
|
32
|
+
export declare const ICON_MEASURE_ARC: string;
|
|
33
|
+
/** Measure point / coordinates icon (axes, dashed projections, and a point over a ruler). */
|
|
34
|
+
export declare const ICON_MEASURE_POINT: string;
|
|
35
|
+
/**
|
|
36
|
+
* Clear / sweep icon (Noun Project "clear" 5576267 by Alzam).
|
|
37
|
+
* https://thenounproject.com/icon/clear-5576267/
|
|
38
|
+
*/
|
|
39
|
+
export declare const ICON_CLEAR = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 512 512\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z \"/><path d=\"M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z \"/><path d=\"M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z \"/><path d=\"M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z \"/><path d=\"M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z \"/><path d=\"M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z \"/><path d=\"M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z \"/><path d=\"M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z \"/><path d=\"M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z \"/><path d=\"M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z \"/><path d=\"M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z \"/><path d=\"M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z \"/><path d=\"M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z \"/></svg>";
|
|
40
|
+
/** Clear measurements toolbar icon. */
|
|
41
|
+
export declare const ICON_CLEAR_MEASUREMENTS = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 512 512\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z \"/><path d=\"M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z \"/><path d=\"M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z \"/><path d=\"M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z \"/><path d=\"M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z \"/><path d=\"M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z \"/><path d=\"M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z \"/><path d=\"M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z \"/><path d=\"M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z \"/><path d=\"M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z \"/><path d=\"M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z \"/><path d=\"M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z \"/><path d=\"M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z \"/></svg>";
|
|
42
|
+
/** Switch background icon. */
|
|
43
|
+
export declare const ICON_SWITCH_BG = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\"><rect x=\"3\" y=\"3\" width=\"7\" height=\"7\" fill=\"currentColor\"/><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\"/><path d=\"M12 4a8 8 0 0 1 7.25 7.25\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\"/><path d=\"M20.75 10 L17.25 10 L19 12.5 Z\" fill=\"currentColor\"/><path d=\"M12 20a8 8 0 0 1-8-8\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\"/><path d=\"M6 14 L2.5 14 L4 11 Z\" fill=\"currentColor\"/></svg>";
|
|
44
|
+
/** Reading mode icon (black linework on white page; explicit #000/#fff for toolbar contrast). */
|
|
45
|
+
export declare const ICON_READING_MODE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"2.5\" y=\"2.5\" width=\"15\" height=\"15\" rx=\"1.5\" fill=\"#fff\" stroke=\"currentColor\" stroke-width=\"1.2\"/><g fill=\"none\" stroke=\"#000\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5.5 6.5h4.5M5.5 10h7M5.5 13.5h9\"/><path d=\"M13.25 6.5v4.25h-3.25\"/></g></svg>";
|
|
46
|
+
/** Review tools parent icon (pencil on a rounded square). */
|
|
47
|
+
export declare const ICON_ANNOTATION = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\" fill=\"none\" style=\"fill:none\"><g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12.4 3.25H5.5A2.25 2.25 0 0 0 3.25 5.5v9A2.25 2.25 0 0 0 5.5 16.75h9A2.25 2.25 0 0 0 16.75 14.5V8.6\"/><g transform=\"rotate(45 13.2 6.7)\"><rect x=\"11.7\" y=\"1.55\" width=\"3\" height=\"7.45\" rx=\"1.45\"/><path d=\"M11.7 3.2h3\"/><path d=\"M11.7 9 13.2 12.15 14.7 9\"/><rect x=\"12.8\" y=\"7.05\" width=\"0.8\" height=\"1.2\" rx=\"0.4\"/></g></g></svg>";
|
|
48
|
+
/** Markup / revision cloud icon (filled cloud over a callout base). */
|
|
49
|
+
export declare const ICON_REV_CLOUD: string;
|
|
50
|
+
/** Markup rectangle icon (outlined rect, corner grips, and pencil over a callout base). */
|
|
51
|
+
export declare const ICON_REV_RECT: string;
|
|
52
|
+
/** Markup circle icon (outlined ellipse, quadrant grips, and pencil over a callout base). */
|
|
53
|
+
export declare const ICON_REV_CIRCLE: string;
|
|
54
|
+
/** Markup callout / leader icon (text box and leader over a callout base). */
|
|
55
|
+
export declare const ICON_MARKUP_CALLOUT: string;
|
|
56
|
+
/** Markup text icon (capital A over a callout base). */
|
|
57
|
+
export declare const ICON_MARKUP_TEXT: string;
|
|
58
|
+
/** Markup line icon (diagonal segment with endpoints). */
|
|
59
|
+
export declare const ICON_MARKUP_LINE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" d=\"M4 16 16 4\"/><circle cx=\"4\" cy=\"16\" r=\"1.6\" fill=\"currentColor\"/><circle cx=\"16\" cy=\"4\" r=\"1.6\" fill=\"currentColor\"/></svg>";
|
|
60
|
+
/** Markup highlight icon (filled rounded rectangle). */
|
|
61
|
+
export declare const ICON_MARKUP_HIGHLIGHT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3\" y=\"5.5\" width=\"14\" height=\"9\" rx=\"1.5\" fill=\"currentColor\" fill-opacity=\"0.28\" stroke=\"currentColor\" stroke-width=\"1.5\"/></svg>";
|
|
62
|
+
/** Markup arrow icon (filled NE arrow over a callout base). */
|
|
63
|
+
export declare const ICON_MARKUP_ARROW: string;
|
|
64
|
+
/** Markup stamp icon (Element Plus Stamp, same as cad-viewer). */
|
|
65
|
+
export declare const ICON_MARKUP_STAMP: string;
|
|
66
|
+
/** Markup / review panel icon (list page with a search loupe). */
|
|
67
|
+
export declare const ICON_MARKUP_PANEL = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3.5\" y=\"3\" width=\"13\" height=\"14\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M3.5 6.5h13\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M6.5 9.5h7M6.5 12h7M6.5 14.5h3.2\"/><g fill=\"none\" stroke=\"var(--el-color-primary, var(--ml-ui-accent, #409eff))\" stroke-width=\"1.7\" stroke-linecap=\"round\"><circle cx=\"14.5\" cy=\"14.7\" r=\"4.2\"/><path d=\"M17.5 17.7 19.5 19.7\"/></g></svg>";
|
|
68
|
+
/** Measurement list panel icon (same list glyph as the review panel). */
|
|
69
|
+
export declare const ICON_MEASUREMENT_PANEL = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3.5\" y=\"3\" width=\"13\" height=\"14\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M3.5 6.5h13\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M6.5 9.5h7M6.5 12h7M6.5 14.5h3.2\"/><g fill=\"none\" stroke=\"var(--el-color-primary, var(--ml-ui-accent, #409eff))\" stroke-width=\"1.7\" stroke-linecap=\"round\"><circle cx=\"14.5\" cy=\"14.7\" r=\"4.2\"/><path d=\"M17.5 17.7 19.5 19.7\"/></g></svg>";
|
|
70
|
+
/**
|
|
71
|
+
* Import icon (document + down arrow).
|
|
72
|
+
* Inspired by Noun Project “import” 8131171 (Web Buttons by Elin Erkani).
|
|
73
|
+
*/
|
|
74
|
+
export declare const ICON_MARKUP_IMPORT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\"><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M4.5 2h6.4L15.5 6.6V16.5A1.5 1.5 0 0 1 14 18H4.5A1.5 1.5 0 0 1 3 16.5V3.5A1.5 1.5 0 0 1 4.5 2z\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M10.9 2v4.6h4.6\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M10 5.8v6M7.2 9.6 10 12.5l2.8-2.9\"/></svg>";
|
|
75
|
+
/**
|
|
76
|
+
* Export icon (mirrored document + up arrow).
|
|
77
|
+
* Inspired by Noun Project “export file” 8131193 (Web Buttons by Elin Erkani).
|
|
78
|
+
*/
|
|
79
|
+
export declare const ICON_MARKUP_EXPORT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\"><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M15.5 2H9.1L4.5 6.6V16.5A1.5 1.5 0 0 0 6 18h9.5A1.5 1.5 0 0 0 17 16.5V3.5A1.5 1.5 0 0 0 15.5 2z\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M9.1 2v4.6H4.5\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M10 14.2V8M7.2 10.4 10 7.5l2.8 2.9\"/></svg>";
|
|
80
|
+
/** Clear markups toolbar icon. */
|
|
81
|
+
export declare const ICON_CLEAR_MARKUPS = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 512 512\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z \"/><path d=\"M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z \"/><path d=\"M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z \"/><path d=\"M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z \"/><path d=\"M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z \"/><path d=\"M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z \"/><path d=\"M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z \"/><path d=\"M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z \"/><path d=\"M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z \"/><path d=\"M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z \"/><path d=\"M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z \"/><path d=\"M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z \"/><path d=\"M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z \"/></svg>";
|
|
82
|
+
/** Show markups icon (Element Plus View, same as cad-viewer). */
|
|
83
|
+
export declare const ICON_ANNOTATION_SHOW: string;
|
|
84
|
+
/** Hide markups icon (Element Plus Hide, same as cad-viewer). */
|
|
85
|
+
export declare const ICON_ANNOTATION_HIDE: string;
|
|
86
|
+
/** Language / locale picker parent icon (copied from cad-viewer `language.svg`). */
|
|
87
|
+
export declare const ICON_LANGUAGE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"m18.5 10 4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725 16.676 16.676 0 0 1 3.524 17.273l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877 16.165 16.165 0 0 0 11.91 6.001L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z\"/></svg>";
|
|
88
|
+
/** Light theme toggle icon (shown when light theme is active). */
|
|
89
|
+
export declare const ICON_THEME_LIGHT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><circle cx=\"10\" cy=\"10\" r=\"4\" fill=\"currentColor\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" d=\"M10 2v2M10 16v2M2 10h2M16 10h2M4.2 4.2l1.4 1.4M14.4 14.4l1.4 1.4M4.2 15.8l1.4-1.4M14.4 5.6l1.4-1.4\"/></svg>";
|
|
90
|
+
/** Dark theme toggle icon (shown when dark theme is active). */
|
|
91
|
+
export declare const ICON_THEME_DARK = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M10 3a7 7 0 1 0 0 14 9 9 0 0 1 0-14Z\"/></svg>";
|
|
92
|
+
/** Export parent icon (same document + up-arrow as cad-viewer toolbar/ribbon). */
|
|
93
|
+
export declare const ICON_EXPORT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\" fill=\"none\" aria-hidden=\"true\"><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M15.5 2H9.1L4.5 6.6V16.5A1.5 1.5 0 0 0 6 18h9.5A1.5 1.5 0 0 0 17 16.5V3.5A1.5 1.5 0 0 0 15.5 2z\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linejoin=\"round\" stroke-linecap=\"round\" d=\"M9.1 2v4.6H4.5\"/><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M10 14.2V8M7.2 10.4 10 7.5l2.8 2.9\"/></svg>";
|
|
94
|
+
/** Export HTML icon. */
|
|
95
|
+
export declare const ICON_EXPORT_HTML = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M4 3h12v14H4V3Zm2 2v2h8V5H6Zm0 4v6h8V9H6Z\"/></svg>";
|
|
96
|
+
/** Export PDF icon. */
|
|
97
|
+
export declare const ICON_EXPORT_PDF = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M5 3h7l3 3v11H5V3Zm6 0v3h3\"/><text x=\"6\" y=\"16\" fill=\"currentColor\" font-size=\"5\" font-family=\"Arial\">PDF</text></svg>";
|
|
98
|
+
/** Export SVG icon. */
|
|
99
|
+
export declare const ICON_EXPORT_SVG = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" d=\"M4 4h12v12H4z\"/><circle cx=\"8\" cy=\"10\" r=\"2\" fill=\"currentColor\"/></svg>";
|
|
100
|
+
/** Toolbar dock / placement parent button. */
|
|
101
|
+
export declare const ICON_TOOLBAR_PLACEMENT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3\" y=\"3\" width=\"14\" height=\"14\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><rect x=\"15\" y=\"5\" width=\"1.5\" height=\"10\" rx=\".5\" fill=\"currentColor\"/></svg>";
|
|
102
|
+
export declare const ICON_PLACEMENT_TOP = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3\" y=\"3\" width=\"14\" height=\"3\" rx=\".5\" fill=\"currentColor\"/><rect x=\"5\" y=\"8\" width=\"10\" height=\"9\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/></svg>";
|
|
103
|
+
export declare const ICON_PLACEMENT_BOTTOM = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"5\" y=\"3\" width=\"10\" height=\"9\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><rect x=\"3\" y=\"14\" width=\"14\" height=\"3\" rx=\".5\" fill=\"currentColor\"/></svg>";
|
|
104
|
+
export declare const ICON_PLACEMENT_LEFT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3\" y=\"3\" width=\"3\" height=\"14\" rx=\".5\" fill=\"currentColor\"/><rect x=\"8\" y=\"5\" width=\"9\" height=\"10\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/></svg>";
|
|
105
|
+
export declare const ICON_PLACEMENT_RIGHT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"5\" y=\"5\" width=\"9\" height=\"10\" rx=\"1\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><rect x=\"14\" y=\"3\" width=\"3\" height=\"14\" rx=\".5\" fill=\"currentColor\"/></svg>";
|
|
106
|
+
/** Dock panel close button icon. */
|
|
107
|
+
export declare const ICON_DOCK_CLOSE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" d=\"M5 5l10 10M15 5 5 15\"/></svg>";
|
|
108
|
+
/** Dock panel side menu button icon. */
|
|
109
|
+
export declare const ICON_DOCK_SIDE_MENU = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><circle cx=\"10\" cy=\"4\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"10\" cy=\"10\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"10\" cy=\"16\" r=\"1.5\" fill=\"currentColor\"/></svg>";
|
|
110
|
+
/** Collapse toolbar (chevron toward compact edge). */
|
|
111
|
+
export declare const ICON_CHEVRON_UP = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path fill=\"currentColor\" d=\"M10 6.5 5.5 11h9L10 6.5Z\"/></svg>";
|
|
112
|
+
/** Expand toolbar (chevron toward expanded edge). */
|
|
113
|
+
export declare const ICON_CHEVRON_DOWN = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path fill=\"currentColor\" d=\"M10 13.5 14.5 9h-9L10 13.5Z\"/></svg>";
|
|
114
|
+
/** Collapse horizontal toolbar (chevron toward compact edge). */
|
|
115
|
+
export declare const ICON_CHEVRON_RIGHT = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path fill=\"currentColor\" d=\"M13.5 10 9 14.5V5.5L13.5 10Z\"/></svg>";
|
|
116
|
+
/** Expand horizontal toolbar (chevron toward expanded edge). */
|
|
117
|
+
export declare const ICON_CHEVRON_LEFT = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" aria-hidden=\"true\"><path fill=\"currentColor\" d=\"M6.5 10 11 14.5V5.5L6.5 10Z\"/></svg>";
|
|
118
|
+
/** Restore the view captured when a layout was first framed (ZOOM Original). */
|
|
119
|
+
export declare const ICON_ZOOM_ORIGINAL = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M10 2.6 18 9.8h-2.1V17h-4.4v-4.4H8.5V17H4.1V9.8H2L10 2.6Zm0 1.8L5.3 9.8V15.8h2V11.4h5.4v4.4h2V9.8L10 4.4Z\"/></svg>";
|
|
120
|
+
/** Settings / gear parent icon for compact toolbars. */
|
|
121
|
+
export declare const ICON_SETTINGS = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M8.08 2.1h3.84l.32 1.52a6.4 6.4 0 0 1 1.36.78l1.48-.64 1.92 1.92-.64 1.48c.3.42.54.88.78 1.36l1.52.32v3.84l-1.52.32a6.4 6.4 0 0 1-.78 1.36l.64 1.48-1.92 1.92-1.48-.64a6.4 6.4 0 0 1-1.36.78l-.32 1.52H8.08l-.32-1.52a6.4 6.4 0 0 1-1.36-.78l-1.48.64-1.92-1.92.64-1.48a6.4 6.4 0 0 1-.78-1.36L1.34 11.92V8.08l1.52-.32c.24-.48.48-.94.78-1.36l-.64-1.48 1.92-1.92 1.48.64c.42-.3.88-.54 1.36-.78L8.08 2.1ZM10 7.2A2.8 2.8 0 1 0 10 12.8 2.8 2.8 0 0 0 10 7.2Z\"/></svg>";
|
|
122
|
+
/**
|
|
123
|
+
* Simulated-mouse touch pick toggle: crosshair above a touch contact so the
|
|
124
|
+
* fingertip does not obscure the sample point.
|
|
125
|
+
*/
|
|
126
|
+
export declare const ICON_SIMULATED_MOUSE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" d=\"M10 2.5v6M7 5.5h6\"/><circle cx=\"10\" cy=\"14.5\" r=\"3.2\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><circle cx=\"10\" cy=\"14.5\" r=\"1.1\" fill=\"currentColor\"/></svg>";
|
|
127
|
+
/** Show-all-layers action icon. */
|
|
128
|
+
export declare const ICON_LAYER_ON = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M10.09 3.53 16.09 6.97 10.09 10.29 4.18 7 10.09 3.56M10.09 2.4 2.17 7 3.31 7.65 10.09 11.45 17 7.62 18.17 7 10.08 2.37 10.09 2.4Z\"/><path fill=\"currentColor\" d=\"M10.25 14.83 18.17 10.22 17 9.57 10.22 13.57 3.32 9.59 2.17 10.22 10.25 14.83Z\"/><path fill=\"currentColor\" d=\"M10.25 17.63 18.17 13 17 12.37 10.22 16.37 3.32 12.38 2.17 13 10.25 17.63Z\"/></svg>";
|
|
129
|
+
/** Hide-all-layers action icon. */
|
|
130
|
+
export declare const ICON_LAYER_OFF = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M10.09 5.15 16.09 8.59 10.09 11.91 4.18 8.59 10.09 5.15ZM10.09 4 2.17 8.61 3.31 9.25 10.09 13.06 17 9.24 18.16 8.61 10.08 4 10.09 4Z\"/><path fill=\"currentColor\" d=\"M10.25 16.46 18.17 11.85 17 11.2 10.22 15.2 3.32 11.21 2.17 11.85 10.25 16.46Z\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" d=\"M3.5 3.5 16.5 16.5\"/></svg>";
|
|
131
|
+
/** Object snap parent icon (copied from cad-viewer status-bar `osnap.svg`). */
|
|
132
|
+
export declare const ICON_OSNAP = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.25 2.25h4.878v4.878H2.25V2.25Zm.978.978v2.924h2.924V3.228H3.228Z\"/><path fill=\"currentColor\" d=\"M5.175 20.773V7.128H4.204V21.75H21.75V4.204H7.128v.971H20.773v15.598H5.175Z\"/></svg>";
|
|
133
|
+
/** Orthogonal mode toggle icon. */
|
|
134
|
+
export declare const ICON_ORTHO_MODE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M3 2H2v16h16v-1H8v-5H3V2zm0 11v4h4v-4H3z\"/></svg>";
|
|
135
|
+
/** Polar tracking toggle icon. */
|
|
136
|
+
export declare const ICON_POLAR_TRACKING = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.98 11L18.5 11L18.5 10L16.98 10C16.86 8.13 16.05 6.44 14.8 5.2L16.88 2.83L16.12 2.17L14.05 4.54C12.79 3.57 11.21 3 9.5 3C5.36 3 2 6.36 2 10.5C2 14.64 5.36 18 9.5 18C13.47 18 16.73 14.91 16.98 11ZM15.98 10C15.86 8.43 15.18 7.01 14.14 5.95L10.6 10L15.98 10ZM13.39 5.29L8.4 11L15.98 11C15.73 14.36 12.92 17 9.5 17C5.91 17 3 14.09 3 10.5C3 6.91 5.91 4 9.5 4C10.96 4 12.31 4.48 13.39 5.29Z\"/></svg>";
|
|
137
|
+
/** Color picker / color wheel icon. */
|
|
138
|
+
export declare const ICON_COLOR = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\"><path fill=\"#e75958\" d=\"M22 12H12l5 8.66A10 10 0 0 0 22 12Z\"/><path fill=\"#814dff\" d=\"M17 20.66 12 12 7 20.66A10 10 0 0 0 17 20.66Z\"/><path fill=\"#13b0ce\" d=\"M7 20.66 12 12H2A10 10 0 0 0 7 20.66Z\"/><path fill=\"#4ecd83\" d=\"M2 12H12L7 3.34A10 10 0 0 0 2 12Z\"/><path fill=\"#ffc33f\" d=\"M7 3.34 12 12l5-8.66A10 10 0 0 0 7 3.34Z\"/><path fill=\"#ff9543\" d=\"M17 3.34 12 12H22A10 10 0 0 0 17 3.34Z\"/></svg>";
|
|
139
|
+
/** Alias for {@link ICON_ZOOM_WINDOW}. */
|
|
140
|
+
export declare const ICON_ZOOM_BOX = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M15.0833 14.8083c1.2333-1.3 1.9083-3.0333 1.9083-4.825-.0083-3.325-2.35-6.1833-5.6083-6.8417C8.125 2.4833 4.85 4.2 3.55 7.2583c-1.3 3.0583-.275 6.6083 2.4583 8.5 2.725 1.8917 6.4167 1.6 8.8167-.6917.0917-.0833.175-.175.2583-.2583Zm1.2583.5917 2.575 2.575c-.3167.3167-.625.625-.9417.9417-.8583-.8583-1.7167-1.7167-2.575-2.575-3.4083 2.9-8.4917 2.5917-11.525-.6917C.8417 12.3667.9417 7.275 4.1083 4.1083 7.2667.9417 12.3667.8417 15.65 3.875s3.5917 8.1167.6917 11.525Zm-3.55-2.6083V7.2083H7.2083v5.5833h5.5833ZM5.875 5.875h8.25v8.25H5.875V5.875Z\"/></svg>";
|
|
141
|
+
/** Alias for {@link ICON_MEASURE_POINT}. */
|
|
142
|
+
export declare const ICON_MEASURE_COORDINATE: string;
|
|
143
|
+
/** Alias for {@link ICON_REV_CLOUD}. */
|
|
144
|
+
export declare const ICON_MARKUP_CLOUD: string;
|
|
145
|
+
/** Alias for {@link ICON_REV_RECT}. */
|
|
146
|
+
export declare const ICON_MARKUP_RECT: string;
|
|
147
|
+
/** Alias for {@link ICON_REV_CIRCLE}. */
|
|
148
|
+
export declare const ICON_MARKUP_CIRCLE: string;
|
|
149
|
+
/** Alias for {@link ICON_ANNOTATION_SHOW}. */
|
|
150
|
+
export declare const ICON_MARKUP_SHOW: string;
|
|
151
|
+
/** Alias for {@link ICON_ANNOTATION_HIDE}. */
|
|
152
|
+
export declare const ICON_MARKUP_HIDE: string;
|
|
153
|
+
/** Overflow / more menu icon (horizontal ellipsis). */
|
|
154
|
+
export declare const ICON_MORE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><circle cx=\"4\" cy=\"10\" r=\"1.6\" fill=\"currentColor\"/><circle cx=\"10\" cy=\"10\" r=\"1.6\" fill=\"currentColor\"/><circle cx=\"16\" cy=\"10\" r=\"1.6\" fill=\"currentColor\"/></svg>";
|
|
155
|
+
/** Undo (curved arrow counter-clockwise). */
|
|
156
|
+
export declare const ICON_UNDO = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9 14 4 9l5-5\"/><path d=\"M4 9h10.5a5.5 5.5 0 0 1 0 11H11\"/></svg>";
|
|
157
|
+
/** Redo (curved arrow clockwise). */
|
|
158
|
+
export declare const ICON_REDO = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m15 14 5-5-5-5\"/><path d=\"M20 9H9.5a5.5 5.5 0 0 0 0 11H13\"/></svg>";
|
|
159
|
+
/** Erase / delete (trash can). */
|
|
160
|
+
export declare const ICON_ERASE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 6h18\"/><path d=\"M8 6V4h8v2\"/><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\"/><path d=\"M10 11v6\"/><path d=\"M14 11v6\"/></svg>";
|
|
161
|
+
/**
|
|
162
|
+
* Text height settings: capital A with a teal vertical double-headed arrow.
|
|
163
|
+
*/
|
|
164
|
+
export declare const ICON_TEXT_HEIGHT = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\"><text x=\"2\" y=\"18\" font-family=\"Georgia, Times New Roman, serif\" font-size=\"16\" font-weight=\"600\" fill=\"currentColor\">A</text><g stroke=\"#2dd4bf\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\" fill=\"none\"><path d=\"M18 4v16\"/><path d=\"M15.5 6.5 18 4l2.5 2.5\"/><path d=\"M15.5 17.5 18 20l2.5-2.5\"/></g></svg>";
|
|
165
|
+
/** Close / cancel (X). */
|
|
166
|
+
export declare const ICON_CLOSE = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M18 6 6 18\"/><path d=\"m6 6 12 12\"/></svg>";
|
|
167
|
+
/**
|
|
168
|
+
* Creates a DOM icon element from an SVG string, element, or factory.
|
|
169
|
+
*
|
|
170
|
+
* @param icon - Inline SVG markup, existing element, or factory function.
|
|
171
|
+
* @param className - Wrapper class. Defaults to `ml-ex-ui-icon`.
|
|
172
|
+
* @returns Wrapper span, or a cloned/factory element.
|
|
173
|
+
*/
|
|
174
|
+
export declare function createIconElement(icon: string | HTMLElement | (() => HTMLElement), className?: string): HTMLElement;
|
|
175
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/ui/icons.ts"],"names":[],"mappings":"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"}
|
package/lib/ui/icons.js
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared inline SVG icons for CAD toolbar and menu buttons.
|
|
3
|
+
*
|
|
4
|
+
* Consumed by cad-simple-ui-plugin, cad-html-plugin, cad-diff-viewer, and
|
|
5
|
+
* cad-viewer. Import from `@mlightcad/cad-simple-viewer/icons` so HTML
|
|
6
|
+
* viewer bundles do not pull in the full viewer. Each `ICON_*` constant is
|
|
7
|
+
* an SVG snippet using `currentColor` for theming.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Builds an Element Plus icon SVG so review toolbar buttons match cad-viewer.
|
|
11
|
+
*
|
|
12
|
+
* @param pathDs - Path `d` attributes from `@element-plus/icons-vue`.
|
|
13
|
+
*/
|
|
14
|
+
function elementPlusIcon() {
|
|
15
|
+
var pathDs = [];
|
|
16
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
17
|
+
pathDs[_i] = arguments[_i];
|
|
18
|
+
}
|
|
19
|
+
var paths = pathDs
|
|
20
|
+
.map(function (d) { return "<path fill=\"currentColor\" d=\"".concat(d, "\"/>"); })
|
|
21
|
+
.join('');
|
|
22
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 1024 1024\">".concat(paths, "</svg>");
|
|
23
|
+
}
|
|
24
|
+
/** Select tool icon. */
|
|
25
|
+
export var ICON_SELECT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.4379 15.2979h.002l4.86-4.86-9.722-4.86 4.86 9.72Zm7.562-5.298-3.434 3.434 3.2 3.2-1.132 1.132-3.2-3.2-3.434 3.434-7.6-15.6 15.6 7.6Z"/></svg>';
|
|
26
|
+
/** Pan tool icon. */
|
|
27
|
+
export var ICON_PAN = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M15.08 12.8537l.002-.002V5.5897c0-.422-.652-.414-.652 0v3.466c0 .938-1.482.95-1.482 0v-4.83c0-.414-.6381-.414-.6381 0h-.014v4.83c.014.95-1.482.95-1.482 0V3.4437c0-.42-.638-.414-.638 0v5.612c0 .95-1.494.95-1.494 0V4.2317c0-.408-.64-.42-.64 0v6.756c0 .802-1.094 1.088-1.494.388-.26-.446-.518-.892-.776-1.338-.338-.482-1.1-.15-.794.38.326.566.652 1.132.978 1.698.006.012.014.026.02.04.552.946 1.106 1.89 1.658 2.834.19.3.422.578.666.802h-.006c.672.61 1.528.964 2.418 1.052.888.06 1.7921-.124 2.5601-.612.3-.19.572-.416.816-.68.326-.368.57-.776.734-1.204.176-.482.258-.97.258-1.494Zm-.91-8.608-.004-.002c.958-.38 2.058.244 2.058 1.346v7.266c0 .652-.108 1.29-.332 1.894-.216.564-.53 1.114-.964 1.576-.318.34-.666.632-1.046.884-.978.612-2.1461.862-3.2601.774-1.128-.102-2.228-.564-3.098-1.352-.326-.292-.612-.646-.87-1.034-.558-.96-1.114-1.92-1.672-2.88l-.012-.028c-.326-.568-.652-1.138-.978-1.706-.59-1.018.068-2.186 1.156-2.336.536-.074 1.126.116 1.562.72.026.028.04.062.054.096.04.074.082.146.122.218V4.2337c0-1.176 1.244-1.788 2.202-1.278.42-1.278 2.378-1.264 2.792-.014.9721-.51 2.2221.102 2.2221 1.284v.06c.022-.014.046-.026.068-.04Z"/></svg>';
|
|
28
|
+
/** Zoom extents icon. */
|
|
29
|
+
export var ICON_ZOOM_EXTENT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M9.3333 14.125 5.875 10.6667V14.125H9.3333Zm4.7917-3.4583-3.4583 3.4583H14.125V10.6667ZM10.6667 5.875 14.125 9.3333V5.875H10.6667ZM5.875 9.3333 9.3333 5.875H5.875V9.3333Zm9.2083 5.475c1.2333-1.3 1.9083-3.0333 1.9083-4.825-.0083-3.325-2.35-6.1833-5.6083-6.8417C8.125 2.4833 4.85 4.2 3.55 7.2583c-1.3 3.0583-.275 6.6083 2.4583 8.5 2.725 1.8917 6.4167 1.6 8.8167-.6917.0917-.0833.175-.175.2583-.2583Zm1.2583.5917 2.575 2.575c-.3167.3167-.625.625-.9417.9417-.8583-.8583-1.7167-1.7167-2.575-2.575-3.4083 2.9-8.4917 2.5917-11.525-.6917S.9417 7.275 4.1083 4.1083C7.2667.9417 12.3667.8417 15.65 3.875s3.5917 8.1167.6917 11.525Z"/></svg>';
|
|
30
|
+
/** Zoom window icon. */
|
|
31
|
+
export var ICON_ZOOM_WINDOW = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M15.0833 14.8083c1.2333-1.3 1.9083-3.0333 1.9083-4.825-.0083-3.325-2.35-6.1833-5.6083-6.8417C8.125 2.4833 4.85 4.2 3.55 7.2583c-1.3 3.0583-.275 6.6083 2.4583 8.5 2.725 1.8917 6.4167 1.6 8.8167-.6917.0917-.0833.175-.175.2583-.2583Zm1.2583.5917 2.575 2.575c-.3167.3167-.625.625-.9417.9417-.8583-.8583-1.7167-1.7167-2.575-2.575-3.4083 2.9-8.4917 2.5917-11.525-.6917C.8417 12.3667.9417 7.275 4.1083 4.1083 7.2667.9417 12.3667.8417 15.65 3.875s3.5917 8.1167.6917 11.525Zm-3.55-2.6083V7.2083H7.2083v5.5833h5.5833ZM5.875 5.875h8.25v8.25H5.875V5.875Z"/></svg>';
|
|
32
|
+
/** Layer manager icon. */
|
|
33
|
+
export var ICON_LAYER = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m434.8 137.65l-149.36-68.1c-16.19-7.4-42.69-7.4-58.88 0L77.3 137.65c-17.6 8-17.6 21.09 0 29.09l148 67.5c16.89 7.7 44.69 7.7 61.58 0l148-67.5c17.52-8 17.52-21.1-.08-29.09M160 308.52l-82.7 37.11c-17.6 8-17.6 21.1 0 29.1l148 67.5c16.89 7.69 44.69 7.69 61.58 0l148-67.5c17.6-8 17.6-21.1 0-29.1l-79.94-38.47"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="m160 204.48l-82.8 37.16c-17.6 8-17.6 21.1 0 29.1l148 67.49c16.89 7.7 44.69 7.7 61.58 0l148-67.49c17.7-8 17.7-21.1.1-29.1L352 204.48"/></svg>';
|
|
34
|
+
/** Drawing layout switcher icon (staggered bento-box panels). */
|
|
35
|
+
export var ICON_LAYOUT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="2" y="2" width="8.2" height="5" rx="1.2" fill="currentColor"/><rect x="2" y="8.5" width="8.2" height="9.5" rx="1.2" fill="currentColor"/><rect x="11.7" y="2" width="6.3" height="10" rx="1.2" fill="currentColor"/><rect x="11.7" y="13.5" width="6.3" height="4.5" rx="1.2" fill="currentColor"/></svg>';
|
|
36
|
+
/** Measure tools parent menu icon. */
|
|
37
|
+
export var ICON_MEASURE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M1.5 7h17v6h-17ZM4.25 7h1v2.5h-1ZM7.5 7h.75v1.5H7.5ZM10.25 7h1v2.5h-1ZM13.5 7h.75v1.5H13.5ZM16.25 7h1v2.5h-1Z"/></svg>';
|
|
38
|
+
/**
|
|
39
|
+
* Shared ruler strip under each measure-tool glyph.
|
|
40
|
+
* Tick marks are evenodd cutouts so they stay visible on light and dark toolbars.
|
|
41
|
+
*/
|
|
42
|
+
var MEASURE_ICON_RULER = '<path fill="currentColor" fill-rule="evenodd" d="M2.25 15h15.5v3.4H2.25Zm1.5 0h.7v1.45h-.7Zm2.95 0h.7v1.45h-.7Zm2.95 0h.7v1.45h-.7Zm2.95 0h.7v1.45h-.7Zm2.95 0h.7v1.45h-.7Z"/>';
|
|
43
|
+
/**
|
|
44
|
+
* Accent for measure/markup grips and highlighted glyph parts.
|
|
45
|
+
*
|
|
46
|
+
* `--el-color-primary` is set by Element Plus in cad-viewer. cad-simple-viewer
|
|
47
|
+
* maps it through `--ml-ui-accent`. Exported HTML aliases both to `--mlcad-accent`.
|
|
48
|
+
*/
|
|
49
|
+
var TOOL_ICON_ACCENT = 'var(--el-color-primary, var(--ml-ui-accent, #409eff))';
|
|
50
|
+
/** Composes a measure-tool icon: unique glyph on top, shared ruler on the bottom. */
|
|
51
|
+
function measureToolIcon(glyph) {
|
|
52
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\">".concat(glyph).concat(MEASURE_ICON_RULER, "</svg>");
|
|
53
|
+
}
|
|
54
|
+
/** Measure distance icon (dimension arrows over a ruler). */
|
|
55
|
+
export var ICON_MEASURE_DISTANCE = measureToolIcon("<rect fill=\"".concat(TOOL_ICON_ACCENT, "\" x=\"2.9\" y=\"2.5\" width=\"1.25\" height=\"8.8\" rx=\".2\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"15.85\" y=\"2.5\" width=\"1.25\" height=\"8.8\" rx=\".2\"/><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M4.4 6.9 7.2 5.05v3.7Z\"/><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M15.6 6.9 12.8 5.05v3.7Z\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"6.7\" y=\"6.25\" width=\"6.6\" height=\"1.3\"/>"));
|
|
56
|
+
/** Continuous distance icon (distance glyph with an "n" badge for n segments). */
|
|
57
|
+
export var ICON_MEASURE_CONTINUOUS = measureToolIcon("<rect fill=\"".concat(TOOL_ICON_ACCENT, "\" x=\"2.9\" y=\"2.5\" width=\"1.25\" height=\"8.8\" rx=\".2\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"15.85\" y=\"2.5\" width=\"1.25\" height=\"8.8\" rx=\".2\"/><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M4.4 6.9 7.2 5.05v3.7Z\"/><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M15.6 6.9 12.8 5.05v3.7Z\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"6.7\" y=\"6.25\" width=\"6.6\" height=\"1.3\"/><circle fill=\"currentColor\" cx=\"10\" cy=\"3.45\" r=\"2.2\"/><text x=\"10\" y=\"4.42\" text-anchor=\"middle\" font-size=\"3.15\" font-weight=\"700\" font-family=\"Arial,Helvetica,sans-serif\" fill=\"").concat(TOOL_ICON_ACCENT, "\">n</text>"));
|
|
58
|
+
/** Measure angle icon (two rays and a dimension arc over a ruler). */
|
|
59
|
+
export var ICON_MEASURE_ANGLE = measureToolIcon("<g fill=\"none\" stroke=\"".concat(TOOL_ICON_ACCENT, "\" stroke-linejoin=\"miter\"><path stroke-width=\"1.55\" stroke-linecap=\"butt\" d=\"M16.9 12.25H4.9L11.6 3.03\"/><path stroke-width=\"1.7\" stroke-linecap=\"butt\" d=\"M11.05 12.25A6.15 6.15 0 0 0 8.51 7.27\"/></g><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M11.05 12.25 9.85 10.55h2.4Z\"/><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M8.51 7.27 10.46 7.39 9.23 9.09Z\"/>"));
|
|
60
|
+
/** Measure area icon (filled quarter-circle sector over a ruler). */
|
|
61
|
+
export var ICON_MEASURE_AREA = measureToolIcon("<path fill=\"".concat(TOOL_ICON_ACCENT, "\" d=\"M5 12V4.2A7.8 7.8 0 0 1 12.8 12Z\"/>"));
|
|
62
|
+
/** Measure arc length icon (quarter-arc with grips and a right-angle vertex over a ruler). */
|
|
63
|
+
export var ICON_MEASURE_ARC = measureToolIcon("<g fill=\"none\" stroke-linejoin=\"miter\"><path stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"butt\" d=\"M4.9 11.6A8.3 8.3 0 0 1 13.2 3.3\"/><path stroke=\"currentColor\" stroke-width=\"1.35\" stroke-linecap=\"square\" d=\"M10.4 11.6H13.2V8.8\"/><path stroke=\"currentColor\" stroke-width=\"1.35\" stroke-linecap=\"butt\" d=\"M13.2 11.6v1.7\"/><rect stroke=\"".concat(TOOL_ICON_ACCENT, "\" stroke-width=\"1.15\" x=\"3.65\" y=\"10.35\" width=\"2.5\" height=\"2.5\"/><rect stroke=\"").concat(TOOL_ICON_ACCENT, "\" stroke-width=\"1.15\" x=\"11.95\" y=\"2.05\" width=\"2.5\" height=\"2.5\"/></g>"));
|
|
64
|
+
/** Measure point / coordinates icon (axes, dashed projections, and a point over a ruler). */
|
|
65
|
+
export var ICON_MEASURE_POINT = measureToolIcon("<g fill=\"none\" stroke=\"".concat(TOOL_ICON_ACCENT, "\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke-width=\"1.4\" d=\"M4 4.8v7.4h7.6\"/><path stroke-width=\"1.2\" stroke-dasharray=\"1.7 1.2\" d=\"M4 6.9h7M11 12.2V6.9\"/></g><path fill=\"").concat(TOOL_ICON_ACCENT, "\" d=\"M4 2.5 2.45 4.8h3.1ZM13.8 12.2 11.5 10.7v3Z\"/><circle fill=\"").concat(TOOL_ICON_ACCENT, "\" cx=\"11\" cy=\"6.9\" r=\"1.3\"/>"));
|
|
66
|
+
/**
|
|
67
|
+
* Clear / sweep icon (Noun Project "clear" 5576267 by Alzam).
|
|
68
|
+
* https://thenounproject.com/icon/clear-5576267/
|
|
69
|
+
*/
|
|
70
|
+
export var ICON_CLEAR = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true"><path d="M 459.5 0 L 475.5 0 L 476.5 1 L 479.5 1 L 485.5 3 Q 487.8 6.2 492.5 7 L 501 14.5 L 505 19.5 L 511 32.5 Q 510.2 35.8 512 36.5 L 512 52.5 L 511 53.5 L 511 56.5 L 509 62.5 L 506 68.5 L 493 89.5 L 483 108.5 L 478 115.5 L 472 127.5 L 467 134.5 L 457 153.5 L 452 160.5 L 442 179.5 L 437 186.5 L 431 198.5 L 440 213.5 L 440 215.5 L 443 220.5 L 447 232.5 L 448 240.5 L 449 241.5 L 449 245.5 L 450 246.5 L 450 254.5 L 451 255.5 L 451 274.5 L 450 275.5 L 450 283.5 L 449 284.5 L 449 289.5 L 448 290.5 L 448 294.5 L 447 295.5 L 446 302.5 L 442 314.5 L 438 322.5 L 438 324.5 L 428 345.5 L 428 347.5 L 425 352.5 L 422 361.5 L 418 368.5 L 418 370.5 L 415 375.5 L 412 384.5 L 408 391.5 L 408 393.5 L 405 398.5 L 402 407.5 L 398 414.5 L 395 423.5 L 391 430.5 L 391 432.5 L 381 453.5 L 381 455.5 L 378 460.5 L 375 469.5 L 371 476.5 L 368 485.5 L 361.5 497 L 353.5 501 L 348.5 501 L 347.5 500 L 344.5 500 L 329.5 495 L 326.5 493 L 321.5 492 L 318.5 490 L 303.5 485 L 289.5 478 L 287.5 478 L 282 473.5 L 279 467.5 L 279 459.5 L 280 458.5 L 280 455.5 L 281 454.5 L 281 451.5 L 282 450.5 L 283 442.5 L 284 441.5 L 286 431.5 L 285.5 431 L 281.5 435 L 259.5 455 L 255.5 457 L 246.5 457 L 223.5 444 L 189.5 421 L 155.5 394 L 133 373.5 L 130 367.5 L 130 359.5 L 134 352.5 L 223 233.5 L 242 206.5 L 254.5 192 L 271.5 177 L 285.5 168 L 299.5 161 L 314.5 156 L 317.5 156 L 318.5 155 L 330.5 154 L 331.5 153 L 352.5 153 L 354 151.5 L 356 146.5 L 372 120.5 L 374 115.5 L 387 94.5 L 397 75.5 L 402 68.5 L 408 56.5 L 413 49.5 L 423 30.5 L 431 17.5 L 439.5 9 L 449.5 3 L 455.5 1 L 458.5 1 L 459.5 0 Z M 466 30 L 459 33 L 454 39 L 448 51 L 443 58 L 433 77 L 428 84 L 414 110 L 409 117 L 407 122 L 405 124 L 403 129 L 401 131 L 399 136 L 384 161 L 386 162 L 388 162 L 396 166 L 409 175 L 422 153 L 424 148 L 429 141 L 431 136 L 433 134 L 435 129 L 437 127 L 439 122 L 444 115 L 454 96 L 459 89 L 469 70 L 474 63 L 482 47 L 482 43 L 480 38 L 475 32 L 469 30 L 466 30 Z M 333 183 L 332 184 L 328 184 L 327 185 L 324 185 L 323 186 L 320 186 L 314 188 L 300 195 L 286 205 L 271 220 L 267 225 L 266 228 L 410 310 L 412 307 L 412 305 L 416 296 L 418 285 L 419 284 L 419 279 L 420 278 L 420 252 L 419 251 L 419 246 L 417 241 L 417 238 L 411 224 L 402 211 L 389 198 L 371 188 L 362 185 L 352 184 L 351 183 L 333 183 Z M 248 252 L 195 322 L 193 326 L 172 353 L 167 361 L 194 384 L 228 409 L 249 422 L 256 417 L 303 372 L 310 368 L 318 368 L 322 370 L 328 378 Q 327 381 329 382 L 329 386 L 326 395 L 326 399 L 323 408 L 323 411 L 322 412 L 322 416 L 319 425 L 319 428 L 318 429 L 318 432 L 317 433 L 317 437 L 314 446 L 314 449 L 313 450 L 313 453 L 312 454 L 316 456 L 318 456 L 331 462 L 343 466 L 351 448 L 351 446 L 354 441 L 354 439 L 357 434 L 357 432 L 364 418 L 364 416 L 367 411 L 367 409 L 370 404 L 370 402 L 377 388 L 377 386 L 380 381 L 380 379 L 383 374 L 383 372 L 387 365 L 390 356 L 393 351 L 393 349 L 396 344 L 397 339 L 375 326 L 373 324 L 368 322 L 366 320 L 361 318 L 354 313 L 349 311 L 347 309 L 342 307 L 340 305 L 335 303 L 321 294 L 316 292 L 314 290 L 309 288 L 307 286 L 302 284 L 295 279 L 276 269 L 248 252 Z "/><path d="M 170.5 100 L 179.5 100 Q 185 102 188 106.5 L 190 110.5 L 190 134.5 L 184.5 142 L 177.5 145 L 171.5 145 L 166.5 143 L 162 138.5 L 159 129.5 L 159 115.5 L 160 114.5 Q 159.2 109.7 161 107.5 L 166.5 102 L 170.5 100 Z "/><path d="M 131.5 140 L 151.5 140 L 156.5 142 L 162 147.5 L 164 151.5 L 164 159.5 L 163 162.5 L 158.5 168 L 152.5 171 L 130.5 171 L 124.5 168 L 122 165.5 L 119 159.5 L 119 151.5 Q 121.3 145.3 126.5 142 L 131.5 140 Z "/><path d="M 197.5 140 L 218.5 140 L 223.5 142 L 228 146.5 L 231 152.5 L 231 158.5 L 229 163.5 L 223.5 169 L 218.5 171 L 197.5 171 L 192.5 169 L 188 164.5 L 186 160.5 L 185 153.5 L 188 146.5 L 191.5 143 L 197.5 140 Z "/><path d="M 171.5 166 L 177.5 166 L 180.5 167 L 187 171.5 L 190 176.5 L 190 200.5 Q 188 206 183.5 209 L 179.5 211 L 173.5 212 L 167.5 210 L 161 203.5 Q 159.2 201.3 160 196.5 L 159 195.5 L 159 181.5 L 162 172.5 L 165.5 169 L 171.5 166 Z "/><path d="M 50.5 223 L 60.5 223 L 68 228.5 L 71 234.5 L 71 256.5 Q 69.1 262.6 64.5 266 L 59.5 268 L 51.5 268 Q 45.3 265.7 42 260.5 L 40 255.5 L 40 235.5 L 42 230.5 L 48.5 224 L 50.5 223 Z "/><path d="M 13.5 263 L 30.5 263 Q 31.5 265 35.5 264 L 43 270.5 L 45 274.5 L 45 282.5 Q 43.1 288.6 38.5 292 L 33.5 294 L 10.5 294 Q 5 292 2 287.5 L 0 283.5 L 0 274.5 Q 2.3 268.3 7.5 265 L 13.5 263 Z "/><path d="M 80.5 263 L 97.5 263 L 103.5 265 L 108 268.5 L 111 273.5 L 112 279.5 L 109 287.5 L 104.5 292 L 100.5 294 L 77.5 294 Q 71.3 291.7 68 286.5 L 66 281.5 L 66 276.5 L 69 269.5 L 72.5 266 L 80.5 263 Z "/><path d="M 54.5 289 L 61.5 290 L 69 296.5 L 71 301.5 L 71 322.5 L 69 327.5 L 63.5 333 L 58.5 335 L 53.5 335 L 46.5 332 L 43 328.5 L 40 321.5 L 40 302.5 Q 41.8 301.8 41 298.5 L 46.5 292 L 54.5 289 Z "/><path d="M 98.5 400 L 107.5 402 L 113 407.5 L 115 411.5 L 115 434.5 Q 112.7 440.7 107.5 444 L 101.5 446 L 96.5 446 L 90.5 443 L 87 439.5 L 84 430.5 L 84 415.5 L 85 414.5 Q 84.3 410.3 86 408.5 L 92.5 402 L 98.5 400 Z "/><path d="M 55.5 441 L 77.5 441 L 80.5 442 L 86 446.5 L 89 451.5 L 89 460.5 Q 86.7 466.7 81.5 470 L 76.5 472 L 56.5 472 L 51.5 470 L 46 464.5 L 44 460.5 L 44 452.5 L 45 449.5 L 49.5 444 L 55.5 441 Z "/><path d="M 121.5 441 L 144.5 441 Q 150.7 443.3 154 448.5 L 156 453.5 L 156 458.5 L 154 464.5 L 148.5 470 L 146.5 470 L 143.5 472 L 122.5 472 L 116.5 469 L 113 465.5 L 111 461.5 L 110 455.5 Q 112 454.5 111 450.5 L 117.5 443 L 121.5 441 Z "/><path d="M 96.5 467 L 103.5 467 L 106.5 468 L 113 473.5 L 115 478.5 L 115 501.5 Q 113 507 108.5 510 L 104.5 512 L 95.5 512 Q 89.3 509.7 86 504.5 Q 84.3 502.7 85 498.5 L 84 497.5 L 84 482.5 L 87 473.5 L 91.5 469 L 96.5 467 Z "/></svg>';
|
|
71
|
+
/** Clear measurements toolbar icon. */
|
|
72
|
+
export var ICON_CLEAR_MEASUREMENTS = ICON_CLEAR;
|
|
73
|
+
/** Switch background icon. */
|
|
74
|
+
export var ICON_SWITCH_BG = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><rect x="3" y="3" width="7" height="7" fill="currentColor"/><rect x="14" y="14" width="7" height="7" fill="none" stroke="currentColor" stroke-width="1"/><path d="M12 4a8 8 0 0 1 7.25 7.25" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M20.75 10 L17.25 10 L19 12.5 Z" fill="currentColor"/><path d="M12 20a8 8 0 0 1-8-8" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round"/><path d="M6 14 L2.5 14 L4 11 Z" fill="currentColor"/></svg>';
|
|
75
|
+
/** Reading mode icon (black linework on white page; explicit #000/#fff for toolbar contrast). */
|
|
76
|
+
export var ICON_READING_MODE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="2.5" y="2.5" width="15" height="15" rx="1.5" fill="#fff" stroke="currentColor" stroke-width="1.2"/><g fill="none" stroke="#000" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 6.5h4.5M5.5 10h7M5.5 13.5h9"/><path d="M13.25 6.5v4.25h-3.25"/></g></svg>';
|
|
77
|
+
/** Review tools parent icon (pencil on a rounded square). */
|
|
78
|
+
export var ICON_ANNOTATION = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" style="fill:none"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12.4 3.25H5.5A2.25 2.25 0 0 0 3.25 5.5v9A2.25 2.25 0 0 0 5.5 16.75h9A2.25 2.25 0 0 0 16.75 14.5V8.6"/><g transform="rotate(45 13.2 6.7)"><rect x="11.7" y="1.55" width="3" height="7.45" rx="1.45"/><path d="M11.7 3.2h3"/><path d="M11.7 9 13.2 12.15 14.7 9"/><rect x="12.8" y="7.05" width="0.8" height="1.2" rx="0.4"/></g></g></svg>';
|
|
79
|
+
/**
|
|
80
|
+
* Shared callout-corner base under each markup-tool glyph
|
|
81
|
+
* (L-stroke with a speech-bubble notch).
|
|
82
|
+
*/
|
|
83
|
+
var MARKUP_ICON_BASE = '<path fill="none" stroke="currentColor" stroke-width="1.35" stroke-linecap="butt" stroke-linejoin="miter" d="M2.6 6.8v8.5h5.2l2.2 2.4 2.2-2.4h5.2"/>';
|
|
84
|
+
/** Compact pencil used beside rectangle and ellipse markup glyphs. */
|
|
85
|
+
var MARKUP_ICON_PENCIL = '<g fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" transform="rotate(46 14.8 9)"><rect x="13.65" y="4.7" width="2.3" height="5.6" rx="1.05"/><path d="M13.65 10.3 14.8 12.9 15.95 10.3"/></g>';
|
|
86
|
+
/** Composes a markup-tool icon: unique glyph on top of the shared callout base. */
|
|
87
|
+
function markupToolIcon(glyph) {
|
|
88
|
+
return "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\">".concat(MARKUP_ICON_BASE).concat(glyph, "</svg>");
|
|
89
|
+
}
|
|
90
|
+
/** Markup / revision cloud icon (filled cloud over a callout base). */
|
|
91
|
+
export var ICON_REV_CLOUD = markupToolIcon('<path fill="currentColor" d="M6.4 12.2c-1.85 0-3.3-1.25-3.3-2.85 0-1.35.95-2.5 2.3-2.8.45-1.7 1.95-2.85 3.7-2.85 1.25 0 2.35.55 3.05 1.45.55-.7 1.45-1.15 2.5-1.15 1.85 0 3.25 1.3 3.25 2.95 0 .3-.05.55-.1.8 1.2.4 2.05 1.4 2.05 2.65 0 1.55-1.5 2.8-3.4 2.8H6.4Z"/>');
|
|
92
|
+
/** Markup rectangle icon (outlined rect, corner grips, and pencil over a callout base). */
|
|
93
|
+
export var ICON_REV_RECT = markupToolIcon("<rect fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.35\" x=\"5\" y=\"2.8\" width=\"8.2\" height=\"7.2\"/><rect fill=\"".concat(TOOL_ICON_ACCENT, "\" x=\"4.2\" y=\"2\" width=\"2\" height=\"2\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"12.2\" y=\"9\" width=\"2\" height=\"2\"/>").concat(MARKUP_ICON_PENCIL));
|
|
94
|
+
/** Markup circle icon (outlined ellipse, quadrant grips, and pencil over a callout base). */
|
|
95
|
+
export var ICON_REV_CIRCLE = markupToolIcon("<ellipse fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.35\" cx=\"9\" cy=\"6.6\" rx=\"4\" ry=\"3.6\"/><rect fill=\"".concat(TOOL_ICON_ACCENT, "\" x=\"8\" y=\"2.1\" width=\"2\" height=\"2\"/><rect fill=\"").concat(TOOL_ICON_ACCENT, "\" x=\"4\" y=\"5.6\" width=\"2\" height=\"2\"/>").concat(MARKUP_ICON_PENCIL));
|
|
96
|
+
/** Markup callout / leader icon (text box and leader over a callout base). */
|
|
97
|
+
export var ICON_MARKUP_CALLOUT = markupToolIcon('<path fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" d="M4.4 12.6 10.2 7"/><rect fill="currentColor" x="10.2" y="1.2" width="7.8" height="5.8" rx=".35"/>');
|
|
98
|
+
/** Markup text icon (capital A over a callout base). */
|
|
99
|
+
export var ICON_MARKUP_TEXT = markupToolIcon('<path fill="currentColor" fill-rule="evenodd" d="M10 2.2 15.3 13.1h-2.2l-1.05-2.95H7.95L6.9 13.1H4.7L10 2.2Zm0 3.4-1.15 3.2h2.3L10 5.6Z"/>');
|
|
100
|
+
/** Markup line icon (diagonal segment with endpoints). */
|
|
101
|
+
export var ICON_MARKUP_LINE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M4 16 16 4"/><circle cx="4" cy="16" r="1.6" fill="currentColor"/><circle cx="16" cy="4" r="1.6" fill="currentColor"/></svg>';
|
|
102
|
+
/** Markup highlight icon (filled rounded rectangle). */
|
|
103
|
+
export var ICON_MARKUP_HIGHLIGHT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="5.5" width="14" height="9" rx="1.5" fill="currentColor" fill-opacity="0.28" stroke="currentColor" stroke-width="1.5"/></svg>';
|
|
104
|
+
/** Markup arrow icon (filled NE arrow over a callout base). */
|
|
105
|
+
export var ICON_MARKUP_ARROW = markupToolIcon('<g transform="rotate(-40 10 7.6)" fill="currentColor"><path d="M3.5 6.75h9V5.15L16.7 7.6 12.5 10.05V8.45h-9Z"/></g>');
|
|
106
|
+
/** Markup stamp icon (Element Plus Stamp, same as cad-viewer). */
|
|
107
|
+
export var ICON_MARKUP_STAMP = elementPlusIcon('M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z');
|
|
108
|
+
/** Markup / review panel icon (list page with a search loupe). */
|
|
109
|
+
export var ICON_MARKUP_PANEL = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 20 20\"><rect x=\"3.5\" y=\"3\" width=\"13\" height=\"14\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M3.5 6.5h13\"/><path fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" d=\"M6.5 9.5h7M6.5 12h7M6.5 14.5h3.2\"/><g fill=\"none\" stroke=\"".concat(TOOL_ICON_ACCENT, "\" stroke-width=\"1.7\" stroke-linecap=\"round\"><circle cx=\"14.5\" cy=\"14.7\" r=\"4.2\"/><path d=\"M17.5 17.7 19.5 19.7\"/></g></svg>");
|
|
110
|
+
/** Measurement list panel icon (same list glyph as the review panel). */
|
|
111
|
+
export var ICON_MEASUREMENT_PANEL = ICON_MARKUP_PANEL;
|
|
112
|
+
/**
|
|
113
|
+
* Import icon (document + down arrow).
|
|
114
|
+
* Inspired by Noun Project “import” 8131171 (Web Buttons by Elin Erkani).
|
|
115
|
+
*/
|
|
116
|
+
export var ICON_MARKUP_IMPORT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M4.5 2h6.4L15.5 6.6V16.5A1.5 1.5 0 0 1 14 18H4.5A1.5 1.5 0 0 1 3 16.5V3.5A1.5 1.5 0 0 1 4.5 2z"/><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M10.9 2v4.6h4.6"/><path stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M10 5.8v6M7.2 9.6 10 12.5l2.8-2.9"/></svg>';
|
|
117
|
+
/**
|
|
118
|
+
* Export icon (mirrored document + up arrow).
|
|
119
|
+
* Inspired by Noun Project “export file” 8131193 (Web Buttons by Elin Erkani).
|
|
120
|
+
*/
|
|
121
|
+
export var ICON_MARKUP_EXPORT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20" fill="none" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M15.5 2H9.1L4.5 6.6V16.5A1.5 1.5 0 0 0 6 18h9.5A1.5 1.5 0 0 0 17 16.5V3.5A1.5 1.5 0 0 0 15.5 2z"/><path stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" stroke-linecap="round" d="M9.1 2v4.6H4.5"/><path stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" d="M10 14.2V8M7.2 10.4 10 7.5l2.8 2.9"/></svg>';
|
|
122
|
+
/** Clear markups toolbar icon. */
|
|
123
|
+
export var ICON_CLEAR_MARKUPS = ICON_CLEAR;
|
|
124
|
+
/** Show markups icon (Element Plus View, same as cad-viewer). */
|
|
125
|
+
export var ICON_ANNOTATION_SHOW = elementPlusIcon('M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160');
|
|
126
|
+
/** Hide markups icon (Element Plus Hide, same as cad-viewer). */
|
|
127
|
+
export var ICON_ANNOTATION_HIDE = elementPlusIcon('M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176', 'M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48');
|
|
128
|
+
/** Language / locale picker parent icon (copied from cad-viewer `language.svg`). */
|
|
129
|
+
export var ICON_LANGUAGE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="m18.5 10 4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16.5 10h2zM10 2v2h6v2h-1.968a18.222 18.222 0 0 1-3.62 6.301 14.864 14.864 0 0 0 2.336 1.707l-.751 1.878A17.015 17.015 0 0 1 9 13.725 16.676 16.676 0 0 1 3.524 17.273l-.536-1.929a14.7 14.7 0 0 0 5.327-3.042A18.078 18.078 0 0 1 4.767 8h2.24A16.032 16.032 0 0 0 9 10.877 16.165 16.165 0 0 0 11.91 6.001L2 6V4h6V2h2zm7.5 10.885L16.253 16h2.492L17.5 12.885z"/></svg>';
|
|
130
|
+
/** Light theme toggle icon (shown when light theme is active). */
|
|
131
|
+
export var ICON_THEME_LIGHT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="10" r="4" fill="currentColor"/><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2v2M10 16v2M2 10h2M16 10h2M4.2 4.2l1.4 1.4M14.4 14.4l1.4 1.4M4.2 15.8l1.4-1.4M14.4 5.6l1.4-1.4"/></svg>';
|
|
132
|
+
/** Dark theme toggle icon (shown when dark theme is active). */
|
|
133
|
+
export var ICON_THEME_DARK = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 3a7 7 0 1 0 0 14 9 9 0 0 1 0-14Z"/></svg>';
|
|
134
|
+
/** Export parent icon (same document + up-arrow as cad-viewer toolbar/ribbon). */
|
|
135
|
+
export var ICON_EXPORT = ICON_MARKUP_EXPORT;
|
|
136
|
+
/** Export HTML icon. */
|
|
137
|
+
export var ICON_EXPORT_HTML = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M4 3h12v14H4V3Zm2 2v2h8V5H6Zm0 4v6h8V9H6Z"/></svg>';
|
|
138
|
+
/** Export PDF icon. */
|
|
139
|
+
export var ICON_EXPORT_PDF = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M5 3h7l3 3v11H5V3Zm6 0v3h3"/><text x="6" y="16" fill="currentColor" font-size="5" font-family="Arial">PDF</text></svg>';
|
|
140
|
+
/** Export SVG icon. */
|
|
141
|
+
export var ICON_EXPORT_SVG = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M4 4h12v12H4z"/><circle cx="8" cy="10" r="2" fill="currentColor"/></svg>';
|
|
142
|
+
/** Toolbar dock / placement parent button. */
|
|
143
|
+
export var ICON_TOOLBAR_PLACEMENT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="14" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="15" y="5" width="1.5" height="10" rx=".5" fill="currentColor"/></svg>';
|
|
144
|
+
export var ICON_PLACEMENT_TOP = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="14" height="3" rx=".5" fill="currentColor"/><rect x="5" y="8" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>';
|
|
145
|
+
export var ICON_PLACEMENT_BOTTOM = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="3" width="10" height="9" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="3" y="14" width="14" height="3" rx=".5" fill="currentColor"/></svg>';
|
|
146
|
+
export var ICON_PLACEMENT_LEFT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="3" y="3" width="3" height="14" rx=".5" fill="currentColor"/><rect x="8" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/></svg>';
|
|
147
|
+
export var ICON_PLACEMENT_RIGHT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><rect x="5" y="5" width="9" height="10" rx="1" fill="none" stroke="currentColor" stroke-width="1.5"/><rect x="14" y="3" width="3" height="14" rx=".5" fill="currentColor"/></svg>';
|
|
148
|
+
/** Dock panel close button icon. */
|
|
149
|
+
export var ICON_DOCK_CLOSE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M5 5l10 10M15 5 5 15"/></svg>';
|
|
150
|
+
/** Dock panel side menu button icon. */
|
|
151
|
+
export var ICON_DOCK_SIDE_MENU = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="10" cy="4" r="1.5" fill="currentColor"/><circle cx="10" cy="10" r="1.5" fill="currentColor"/><circle cx="10" cy="16" r="1.5" fill="currentColor"/></svg>';
|
|
152
|
+
/** Collapse toolbar (chevron toward compact edge). */
|
|
153
|
+
export var ICON_CHEVRON_UP = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 6.5 5.5 11h9L10 6.5Z"/></svg>';
|
|
154
|
+
/** Expand toolbar (chevron toward expanded edge). */
|
|
155
|
+
export var ICON_CHEVRON_DOWN = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M10 13.5 14.5 9h-9L10 13.5Z"/></svg>';
|
|
156
|
+
/** Collapse horizontal toolbar (chevron toward compact edge). */
|
|
157
|
+
export var ICON_CHEVRON_RIGHT = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M13.5 10 9 14.5V5.5L13.5 10Z"/></svg>';
|
|
158
|
+
/** Expand horizontal toolbar (chevron toward expanded edge). */
|
|
159
|
+
export var ICON_CHEVRON_LEFT = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" d="M6.5 10 11 14.5V5.5L6.5 10Z"/></svg>';
|
|
160
|
+
/** Restore the view captured when a layout was first framed (ZOOM Original). */
|
|
161
|
+
export var ICON_ZOOM_ORIGINAL = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10 2.6 18 9.8h-2.1V17h-4.4v-4.4H8.5V17H4.1V9.8H2L10 2.6Zm0 1.8L5.3 9.8V15.8h2V11.4h5.4v4.4h2V9.8L10 4.4Z"/></svg>';
|
|
162
|
+
/** Settings / gear parent icon for compact toolbars. */
|
|
163
|
+
export var ICON_SETTINGS = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M8.08 2.1h3.84l.32 1.52a6.4 6.4 0 0 1 1.36.78l1.48-.64 1.92 1.92-.64 1.48c.3.42.54.88.78 1.36l1.52.32v3.84l-1.52.32a6.4 6.4 0 0 1-.78 1.36l.64 1.48-1.92 1.92-1.48-.64a6.4 6.4 0 0 1-1.36.78l-.32 1.52H8.08l-.32-1.52a6.4 6.4 0 0 1-1.36-.78l-1.48.64-1.92-1.92.64-1.48a6.4 6.4 0 0 1-.78-1.36L1.34 11.92V8.08l1.52-.32c.24-.48.48-.94.78-1.36l-.64-1.48 1.92-1.92 1.48.64c.42-.3.88-.54 1.36-.78L8.08 2.1ZM10 7.2A2.8 2.8 0 1 0 10 12.8 2.8 2.8 0 0 0 10 7.2Z"/></svg>';
|
|
164
|
+
/**
|
|
165
|
+
* Simulated-mouse touch pick toggle: crosshair above a touch contact so the
|
|
166
|
+
* fingertip does not obscure the sample point.
|
|
167
|
+
*/
|
|
168
|
+
export var ICON_SIMULATED_MOUSE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M10 2.5v6M7 5.5h6"/><circle cx="10" cy="14.5" r="3.2" fill="none" stroke="currentColor" stroke-width="1.5"/><circle cx="10" cy="14.5" r="1.1" fill="currentColor"/></svg>';
|
|
169
|
+
/** Show-all-layers action icon. */
|
|
170
|
+
export var ICON_LAYER_ON = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 3.53 16.09 6.97 10.09 10.29 4.18 7 10.09 3.56M10.09 2.4 2.17 7 3.31 7.65 10.09 11.45 17 7.62 18.17 7 10.08 2.37 10.09 2.4Z"/><path fill="currentColor" d="M10.25 14.83 18.17 10.22 17 9.57 10.22 13.57 3.32 9.59 2.17 10.22 10.25 14.83Z"/><path fill="currentColor" d="M10.25 17.63 18.17 13 17 12.37 10.22 16.37 3.32 12.38 2.17 13 10.25 17.63Z"/></svg>';
|
|
171
|
+
/** Hide-all-layers action icon. */
|
|
172
|
+
export var ICON_LAYER_OFF = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" d="M10.09 5.15 16.09 8.59 10.09 11.91 4.18 8.59 10.09 5.15ZM10.09 4 2.17 8.61 3.31 9.25 10.09 13.06 17 9.24 18.16 8.61 10.08 4 10.09 4Z"/><path fill="currentColor" d="M10.25 16.46 18.17 11.85 17 11.2 10.22 15.2 3.32 11.21 2.17 11.85 10.25 16.46Z"/><path fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" d="M3.5 3.5 16.5 16.5"/></svg>';
|
|
173
|
+
/** Object snap parent icon (copied from cad-viewer status-bar `osnap.svg`). */
|
|
174
|
+
export var ICON_OSNAP = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M2.25 2.25h4.878v4.878H2.25V2.25Zm.978.978v2.924h2.924V3.228H3.228Z"/><path fill="currentColor" d="M5.175 20.773V7.128H4.204V21.75H21.75V4.204H7.128v.971H20.773v15.598H5.175Z"/></svg>';
|
|
175
|
+
/** Orthogonal mode toggle icon. */
|
|
176
|
+
export var ICON_ORTHO_MODE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M3 2H2v16h16v-1H8v-5H3V2zm0 11v4h4v-4H3z"/></svg>';
|
|
177
|
+
/** Polar tracking toggle icon. */
|
|
178
|
+
export var ICON_POLAR_TRACKING = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><path fill="currentColor" fill-rule="evenodd" d="M16.98 11L18.5 11L18.5 10L16.98 10C16.86 8.13 16.05 6.44 14.8 5.2L16.88 2.83L16.12 2.17L14.05 4.54C12.79 3.57 11.21 3 9.5 3C5.36 3 2 6.36 2 10.5C2 14.64 5.36 18 9.5 18C13.47 18 16.73 14.91 16.98 11ZM15.98 10C15.86 8.43 15.18 7.01 14.14 5.95L10.6 10L15.98 10ZM13.39 5.29L8.4 11L15.98 11C15.73 14.36 12.92 17 9.5 17C5.91 17 3 14.09 3 10.5C3 6.91 5.91 4 9.5 4C10.96 4 12.31 4.48 13.39 5.29Z"/></svg>';
|
|
179
|
+
/** Color picker / color wheel icon. */
|
|
180
|
+
export var ICON_COLOR = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="#e75958" d="M22 12H12l5 8.66A10 10 0 0 0 22 12Z"/><path fill="#814dff" d="M17 20.66 12 12 7 20.66A10 10 0 0 0 17 20.66Z"/><path fill="#13b0ce" d="M7 20.66 12 12H2A10 10 0 0 0 7 20.66Z"/><path fill="#4ecd83" d="M2 12H12L7 3.34A10 10 0 0 0 2 12Z"/><path fill="#ffc33f" d="M7 3.34 12 12l5-8.66A10 10 0 0 0 7 3.34Z"/><path fill="#ff9543" d="M17 3.34 12 12H22A10 10 0 0 0 17 3.34Z"/></svg>';
|
|
181
|
+
/** Alias for {@link ICON_ZOOM_WINDOW}. */
|
|
182
|
+
export var ICON_ZOOM_BOX = ICON_ZOOM_WINDOW;
|
|
183
|
+
/** Alias for {@link ICON_MEASURE_POINT}. */
|
|
184
|
+
export var ICON_MEASURE_COORDINATE = ICON_MEASURE_POINT;
|
|
185
|
+
/** Alias for {@link ICON_REV_CLOUD}. */
|
|
186
|
+
export var ICON_MARKUP_CLOUD = ICON_REV_CLOUD;
|
|
187
|
+
/** Alias for {@link ICON_REV_RECT}. */
|
|
188
|
+
export var ICON_MARKUP_RECT = ICON_REV_RECT;
|
|
189
|
+
/** Alias for {@link ICON_REV_CIRCLE}. */
|
|
190
|
+
export var ICON_MARKUP_CIRCLE = ICON_REV_CIRCLE;
|
|
191
|
+
/** Alias for {@link ICON_ANNOTATION_SHOW}. */
|
|
192
|
+
export var ICON_MARKUP_SHOW = ICON_ANNOTATION_SHOW;
|
|
193
|
+
/** Alias for {@link ICON_ANNOTATION_HIDE}. */
|
|
194
|
+
export var ICON_MARKUP_HIDE = ICON_ANNOTATION_HIDE;
|
|
195
|
+
/** Overflow / more menu icon (horizontal ellipsis). */
|
|
196
|
+
export var ICON_MORE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><circle cx="4" cy="10" r="1.6" fill="currentColor"/><circle cx="10" cy="10" r="1.6" fill="currentColor"/><circle cx="16" cy="10" r="1.6" fill="currentColor"/></svg>';
|
|
197
|
+
/** Undo (curved arrow counter-clockwise). */
|
|
198
|
+
export var ICON_UNDO = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 0 11H11"/></svg>';
|
|
199
|
+
/** Redo (curved arrow clockwise). */
|
|
200
|
+
export var ICON_REDO = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 14 5-5-5-5"/><path d="M20 9H9.5a5.5 5.5 0 0 0 0 11H13"/></svg>';
|
|
201
|
+
/** Erase / delete (trash can). */
|
|
202
|
+
export var ICON_ERASE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18"/><path d="M8 6V4h8v2"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M10 11v6"/><path d="M14 11v6"/></svg>';
|
|
203
|
+
/**
|
|
204
|
+
* Text height settings: capital A with a teal vertical double-headed arrow.
|
|
205
|
+
*/
|
|
206
|
+
export var ICON_TEXT_HEIGHT = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none"><text x="2" y="18" font-family="Georgia, Times New Roman, serif" font-size="16" font-weight="600" fill="currentColor">A</text><g stroke="#2dd4bf" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M18 4v16"/><path d="M15.5 6.5 18 4l2.5 2.5"/><path d="M15.5 17.5 18 20l2.5-2.5"/></g></svg>';
|
|
207
|
+
/** Close / cancel (X). */
|
|
208
|
+
export var ICON_CLOSE = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6 6 18"/><path d="m6 6 12 12"/></svg>';
|
|
209
|
+
/**
|
|
210
|
+
* Creates a DOM icon element from an SVG string, element, or factory.
|
|
211
|
+
*
|
|
212
|
+
* @param icon - Inline SVG markup, existing element, or factory function.
|
|
213
|
+
* @param className - Wrapper class. Defaults to `ml-ex-ui-icon`.
|
|
214
|
+
* @returns Wrapper span, or a cloned/factory element.
|
|
215
|
+
*/
|
|
216
|
+
export function createIconElement(icon, className) {
|
|
217
|
+
if (className === void 0) { className = 'ml-ex-ui-icon'; }
|
|
218
|
+
if (typeof icon === 'function')
|
|
219
|
+
return icon();
|
|
220
|
+
if (icon instanceof HTMLElement)
|
|
221
|
+
return icon.cloneNode(true);
|
|
222
|
+
var wrapper = document.createElement('span');
|
|
223
|
+
wrapper.className = className;
|
|
224
|
+
wrapper.innerHTML = icon;
|
|
225
|
+
return wrapper;
|
|
226
|
+
}
|
|
227
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/ui/icons.ts"],"names":[],"mappings":"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"}
|