@mlightcad/cad-simple-viewer 1.6.3 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (808) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +185 -180
  3. package/dist/cad-simple-viewer.js +34895 -23320
  4. package/dist/cad-simple-viewer.umd.cjs +2570 -372
  5. package/dist/mtext-renderer-worker.js +15359 -15067
  6. package/icons.ts +7 -7
  7. package/lib/app/AcApBrand.d.ts +2 -2
  8. package/lib/app/AcApBrand.d.ts.map +1 -1
  9. package/lib/app/AcApBrand.js +2 -2
  10. package/lib/app/AcApBrand.js.map +1 -1
  11. package/lib/app/AcApContext.d.ts.map +1 -1
  12. package/lib/app/AcApContext.js +4 -3
  13. package/lib/app/AcApContext.js.map +1 -1
  14. package/lib/app/AcApDocManager.d.ts +107 -25
  15. package/lib/app/AcApDocManager.d.ts.map +1 -1
  16. package/lib/app/AcApDocManager.js +209 -93
  17. package/lib/app/AcApDocManager.js.map +1 -1
  18. package/lib/app/AcApDocsUrl.d.ts +57 -0
  19. package/lib/app/AcApDocsUrl.d.ts.map +1 -0
  20. package/lib/app/AcApDocsUrl.js +76 -0
  21. package/lib/app/AcApDocsUrl.js.map +1 -0
  22. package/lib/app/AcApDocument.d.ts +1 -1
  23. package/lib/app/AcApDocument.d.ts.map +1 -1
  24. package/lib/app/AcApDocument.js.map +1 -1
  25. package/lib/app/AcApFontLoader.d.ts +6 -0
  26. package/lib/app/AcApFontLoader.d.ts.map +1 -1
  27. package/lib/app/AcApFontLoader.js +11 -0
  28. package/lib/app/AcApFontLoader.js.map +1 -1
  29. package/lib/app/AcApOpenDatabaseOptions.d.ts +106 -0
  30. package/lib/app/AcApOpenDatabaseOptions.d.ts.map +1 -0
  31. package/lib/app/{AcDbOpenDatabaseOptions.js → AcApOpenDatabaseOptions.js} +2 -2
  32. package/lib/app/AcApOpenDatabaseOptions.js.map +1 -0
  33. package/lib/app/AcApOpenFileDialog.d.ts +1 -1
  34. package/lib/app/AcApOpenFileProgressController.d.ts +4 -2
  35. package/lib/app/AcApOpenFileProgressController.d.ts.map +1 -1
  36. package/lib/app/AcApOpenFileProgressController.js +4 -2
  37. package/lib/app/AcApOpenFileProgressController.js.map +1 -1
  38. package/lib/app/AcApSettingManager.d.ts +156 -43
  39. package/lib/app/AcApSettingManager.d.ts.map +1 -1
  40. package/lib/app/AcApSettingManager.js +216 -66
  41. package/lib/app/AcApSettingManager.js.map +1 -1
  42. package/lib/app/index.d.ts +4 -2
  43. package/lib/app/index.d.ts.map +1 -1
  44. package/lib/app/index.js +3 -1
  45. package/lib/app/index.js.map +1 -1
  46. package/lib/app/notification/AcApNotificationEventBridge.d.ts +130 -0
  47. package/lib/app/notification/AcApNotificationEventBridge.d.ts.map +1 -0
  48. package/lib/app/notification/AcApNotificationEventBridge.js +309 -0
  49. package/lib/app/notification/AcApNotificationEventBridge.js.map +1 -0
  50. package/lib/app/notification/AcApNotificationService.d.ts +185 -0
  51. package/lib/app/notification/AcApNotificationService.d.ts.map +1 -0
  52. package/lib/app/notification/AcApNotificationService.js +271 -0
  53. package/lib/app/notification/AcApNotificationService.js.map +1 -0
  54. package/lib/app/notification/AcApNotificationStore.d.ts +147 -0
  55. package/lib/app/notification/AcApNotificationStore.d.ts.map +1 -0
  56. package/lib/app/notification/AcApNotificationStore.js +345 -0
  57. package/lib/app/notification/AcApNotificationStore.js.map +1 -0
  58. package/lib/app/notification/AcApNotificationTypes.d.ts +195 -0
  59. package/lib/app/notification/AcApNotificationTypes.d.ts.map +1 -0
  60. package/lib/app/notification/AcApNotificationTypes.js +78 -0
  61. package/lib/app/notification/AcApNotificationTypes.js.map +1 -0
  62. package/lib/app/notification/index.d.ts +13 -0
  63. package/lib/app/notification/index.d.ts.map +1 -0
  64. package/lib/app/notification/index.js +13 -0
  65. package/lib/app/notification/index.js.map +1 -0
  66. package/lib/command/AcApDrawOverlayInput.d.ts +6 -0
  67. package/lib/command/AcApDrawOverlayInput.d.ts.map +1 -0
  68. package/lib/command/AcApDrawOverlayInput.js +64 -0
  69. package/lib/command/AcApDrawOverlayInput.js.map +1 -0
  70. package/lib/command/AcApDrawStyleDrawCmd.d.ts +9 -0
  71. package/lib/command/AcApDrawStyleDrawCmd.d.ts.map +1 -0
  72. package/lib/command/AcApDrawStyleDrawCmd.js +32 -0
  73. package/lib/command/AcApDrawStyleDrawCmd.js.map +1 -0
  74. package/lib/command/AcApDrawStyleSession.d.ts +20 -0
  75. package/lib/command/AcApDrawStyleSession.d.ts.map +1 -0
  76. package/lib/command/AcApDrawStyleSession.js +2 -0
  77. package/lib/command/AcApDrawStyleSession.js.map +1 -0
  78. package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts +28 -0
  79. package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts.map +1 -0
  80. package/lib/command/AcApInstallDrawStyleSessionAccessory.js +178 -0
  81. package/lib/command/AcApInstallDrawStyleSessionAccessory.js.map +1 -0
  82. package/lib/command/AcApReadingModeCmd.d.ts +17 -0
  83. package/lib/command/AcApReadingModeCmd.d.ts.map +1 -0
  84. package/lib/command/AcApReadingModeCmd.js +82 -0
  85. package/lib/command/AcApReadingModeCmd.js.map +1 -0
  86. package/lib/command/AcApShortCutSelectionAccessory.d.ts +14 -0
  87. package/lib/command/AcApShortCutSelectionAccessory.d.ts.map +1 -0
  88. package/lib/command/AcApShortCutSelectionAccessory.js +266 -0
  89. package/lib/command/AcApShortCutSelectionAccessory.js.map +1 -0
  90. package/lib/command/AcApShortCutToolbarDocBind.d.ts +20 -0
  91. package/lib/command/AcApShortCutToolbarDocBind.d.ts.map +1 -0
  92. package/lib/command/AcApShortCutToolbarDocBind.js +155 -0
  93. package/lib/command/AcApShortCutToolbarDocBind.js.map +1 -0
  94. package/lib/command/AcApSwitchBgCmd.d.ts.map +1 -1
  95. package/lib/command/AcApSwitchBgCmd.js +7 -2
  96. package/lib/command/AcApSwitchBgCmd.js.map +1 -1
  97. package/lib/command/AcApToolbarDocBind.d.ts +19 -0
  98. package/lib/command/AcApToolbarDocBind.d.ts.map +1 -0
  99. package/lib/command/AcApToolbarDocBind.js +62 -0
  100. package/lib/command/AcApToolbarDocBind.js.map +1 -0
  101. package/lib/command/AcApZoomCmd.d.ts +39 -1
  102. package/lib/command/AcApZoomCmd.d.ts.map +1 -1
  103. package/lib/command/AcApZoomCmd.js +70 -6
  104. package/lib/command/AcApZoomCmd.js.map +1 -1
  105. package/lib/command/convert/AcApConvertToBmpCmd.d.ts +14 -0
  106. package/lib/command/convert/AcApConvertToBmpCmd.d.ts.map +1 -0
  107. package/lib/command/convert/AcApConvertToBmpCmd.js +34 -0
  108. package/lib/command/convert/AcApConvertToBmpCmd.js.map +1 -0
  109. package/lib/command/convert/AcApConvertToJpgCmd.d.ts +14 -0
  110. package/lib/command/convert/AcApConvertToJpgCmd.d.ts.map +1 -0
  111. package/lib/command/convert/AcApConvertToJpgCmd.js +34 -0
  112. package/lib/command/convert/AcApConvertToJpgCmd.js.map +1 -0
  113. package/lib/command/convert/AcApConvertToPngCmd.d.ts +4 -36
  114. package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -1
  115. package/lib/command/convert/AcApConvertToPngCmd.js +4 -138
  116. package/lib/command/convert/AcApConvertToPngCmd.js.map +1 -1
  117. package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts +40 -0
  118. package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts.map +1 -0
  119. package/lib/command/convert/AcApConvertToRasterImageCmd.js +161 -0
  120. package/lib/command/convert/AcApConvertToRasterImageCmd.js.map +1 -0
  121. package/lib/command/convert/{AcApPngConvertor.d.ts → AcApRasterImageConvertor.d.ts} +36 -12
  122. package/lib/command/convert/AcApRasterImageConvertor.d.ts.map +1 -0
  123. package/lib/command/convert/{AcApPngConvertor.js → AcApRasterImageConvertor.js} +163 -32
  124. package/lib/command/convert/AcApRasterImageConvertor.js.map +1 -0
  125. package/lib/command/convert/index.d.ts +4 -1
  126. package/lib/command/convert/index.d.ts.map +1 -1
  127. package/lib/command/convert/index.js +4 -1
  128. package/lib/command/convert/index.js.map +1 -1
  129. package/lib/command/draw/AcApHatchCmd.js +1 -1
  130. package/lib/command/draw/AcApHatchCmd.js.map +1 -1
  131. package/lib/command/draw/AcApMTextCmd.d.ts.map +1 -1
  132. package/lib/command/draw/AcApMTextCmd.js +11 -7
  133. package/lib/command/draw/AcApMTextCmd.js.map +1 -1
  134. package/lib/command/index.d.ts +5 -0
  135. package/lib/command/index.d.ts.map +1 -1
  136. package/lib/command/index.js +5 -0
  137. package/lib/command/index.js.map +1 -1
  138. package/lib/command/markup/AcApMarkupArrowCmd.d.ts +2 -3
  139. package/lib/command/markup/AcApMarkupArrowCmd.d.ts.map +1 -1
  140. package/lib/command/markup/AcApMarkupArrowCmd.js +8 -9
  141. package/lib/command/markup/AcApMarkupArrowCmd.js.map +1 -1
  142. package/lib/command/markup/AcApMarkupCalloutCmd.d.ts +2 -3
  143. package/lib/command/markup/AcApMarkupCalloutCmd.d.ts.map +1 -1
  144. package/lib/command/markup/AcApMarkupCalloutCmd.js +69 -13
  145. package/lib/command/markup/AcApMarkupCalloutCmd.js.map +1 -1
  146. package/lib/command/markup/AcApMarkupCircleCmd.d.ts +2 -3
  147. package/lib/command/markup/AcApMarkupCircleCmd.d.ts.map +1 -1
  148. package/lib/command/markup/AcApMarkupCircleCmd.js +8 -9
  149. package/lib/command/markup/AcApMarkupCircleCmd.js.map +1 -1
  150. package/lib/command/markup/AcApMarkupCloudCmd.d.ts +2 -3
  151. package/lib/command/markup/AcApMarkupCloudCmd.d.ts.map +1 -1
  152. package/lib/command/markup/AcApMarkupCloudCmd.js +8 -9
  153. package/lib/command/markup/AcApMarkupCloudCmd.js.map +1 -1
  154. package/lib/command/markup/AcApMarkupCmdUtil.d.ts +12 -1
  155. package/lib/command/markup/AcApMarkupCmdUtil.d.ts.map +1 -1
  156. package/lib/command/markup/AcApMarkupCmdUtil.js +37 -9
  157. package/lib/command/markup/AcApMarkupCmdUtil.js.map +1 -1
  158. package/lib/command/markup/AcApMarkupDrawCmd.d.ts +19 -0
  159. package/lib/command/markup/AcApMarkupDrawCmd.d.ts.map +1 -0
  160. package/lib/command/markup/AcApMarkupDrawCmd.js +47 -0
  161. package/lib/command/markup/AcApMarkupDrawCmd.js.map +1 -0
  162. package/lib/command/markup/AcApMarkupGeometry.d.ts +19 -2
  163. package/lib/command/markup/AcApMarkupGeometry.d.ts.map +1 -1
  164. package/lib/command/markup/AcApMarkupGeometry.js +43 -2
  165. package/lib/command/markup/AcApMarkupGeometry.js.map +1 -1
  166. package/lib/command/markup/AcApMarkupHighlightCmd.d.ts +2 -3
  167. package/lib/command/markup/AcApMarkupHighlightCmd.d.ts.map +1 -1
  168. package/lib/command/markup/AcApMarkupHighlightCmd.js +9 -10
  169. package/lib/command/markup/AcApMarkupHighlightCmd.js.map +1 -1
  170. package/lib/command/markup/AcApMarkupLineCmd.d.ts +2 -3
  171. package/lib/command/markup/AcApMarkupLineCmd.d.ts.map +1 -1
  172. package/lib/command/markup/AcApMarkupLineCmd.js +18 -11
  173. package/lib/command/markup/AcApMarkupLineCmd.js.map +1 -1
  174. package/lib/command/markup/AcApMarkupPresenter.d.ts +16 -2
  175. package/lib/command/markup/AcApMarkupPresenter.d.ts.map +1 -1
  176. package/lib/command/markup/AcApMarkupPresenter.js +66 -14
  177. package/lib/command/markup/AcApMarkupPresenter.js.map +1 -1
  178. package/lib/command/markup/AcApMarkupRectCmd.d.ts +2 -3
  179. package/lib/command/markup/AcApMarkupRectCmd.d.ts.map +1 -1
  180. package/lib/command/markup/AcApMarkupRectCmd.js +8 -9
  181. package/lib/command/markup/AcApMarkupRectCmd.js.map +1 -1
  182. package/lib/command/markup/AcApMarkupShapeBuilder.d.ts +7 -4
  183. package/lib/command/markup/AcApMarkupShapeBuilder.d.ts.map +1 -1
  184. package/lib/command/markup/AcApMarkupShapeBuilder.js +24 -11
  185. package/lib/command/markup/AcApMarkupShapeBuilder.js.map +1 -1
  186. package/lib/command/markup/AcApMarkupShapeCallout.d.ts.map +1 -1
  187. package/lib/command/markup/AcApMarkupShapeCallout.js +61 -4
  188. package/lib/command/markup/AcApMarkupShapeCallout.js.map +1 -1
  189. package/lib/command/markup/AcApMarkupSidecar.d.ts.map +1 -1
  190. package/lib/command/markup/AcApMarkupSidecar.js +39 -5
  191. package/lib/command/markup/AcApMarkupSidecar.js.map +1 -1
  192. package/lib/command/markup/AcApMarkupStampCmd.d.ts +2 -3
  193. package/lib/command/markup/AcApMarkupStampCmd.d.ts.map +1 -1
  194. package/lib/command/markup/AcApMarkupStampCmd.js +6 -7
  195. package/lib/command/markup/AcApMarkupStampCmd.js.map +1 -1
  196. package/lib/command/markup/AcApMarkupTextCmd.d.ts +2 -3
  197. package/lib/command/markup/AcApMarkupTextCmd.d.ts.map +1 -1
  198. package/lib/command/markup/AcApMarkupTextCmd.js +13 -9
  199. package/lib/command/markup/AcApMarkupTextCmd.js.map +1 -1
  200. package/lib/command/markup/AcApMarkupTypes.d.ts +18 -2
  201. package/lib/command/markup/AcApMarkupTypes.d.ts.map +1 -1
  202. package/lib/command/markup/AcApMarkupUtil.d.ts +36 -7
  203. package/lib/command/markup/AcApMarkupUtil.d.ts.map +1 -1
  204. package/lib/command/markup/AcApMarkupUtil.js +149 -34
  205. package/lib/command/markup/AcApMarkupUtil.js.map +1 -1
  206. package/lib/command/markup/AcApRegisterMarkupCommands.d.ts +8 -0
  207. package/lib/command/markup/AcApRegisterMarkupCommands.d.ts.map +1 -0
  208. package/lib/command/markup/AcApRegisterMarkupCommands.js +35 -0
  209. package/lib/command/markup/AcApRegisterMarkupCommands.js.map +1 -0
  210. package/lib/command/markup/entity/AcApMarkupCalloutEntity.d.ts.map +1 -1
  211. package/lib/command/markup/entity/AcApMarkupCalloutEntity.js +16 -15
  212. package/lib/command/markup/entity/AcApMarkupCalloutEntity.js.map +1 -1
  213. package/lib/command/markup/entity/AcApMarkupEntity.d.ts +5 -1
  214. package/lib/command/markup/entity/AcApMarkupEntity.d.ts.map +1 -1
  215. package/lib/command/markup/entity/AcApMarkupEntity.js +19 -5
  216. package/lib/command/markup/entity/AcApMarkupEntity.js.map +1 -1
  217. package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts +8 -3
  218. package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts.map +1 -1
  219. package/lib/command/markup/entity/AcApMarkupEntityGrips.js +15 -7
  220. package/lib/command/markup/entity/AcApMarkupEntityGrips.js.map +1 -1
  221. package/lib/command/markup/entity/AcApMarkupHighlightEntity.d.ts.map +1 -1
  222. package/lib/command/markup/entity/AcApMarkupHighlightEntity.js +14 -12
  223. package/lib/command/markup/entity/AcApMarkupHighlightEntity.js.map +1 -1
  224. package/lib/command/markup/entity/AcApMarkupSegmentEntity.d.ts.map +1 -1
  225. package/lib/command/markup/entity/AcApMarkupSegmentEntity.js +8 -6
  226. package/lib/command/markup/entity/AcApMarkupSegmentEntity.js.map +1 -1
  227. package/lib/command/markup/entity/AcApMarkupShapeEntity.d.ts.map +1 -1
  228. package/lib/command/markup/entity/AcApMarkupShapeEntity.js +23 -21
  229. package/lib/command/markup/entity/AcApMarkupShapeEntity.js.map +1 -1
  230. package/lib/command/markup/entity/AcApMarkupStampEntity.d.ts.map +1 -1
  231. package/lib/command/markup/entity/AcApMarkupStampEntity.js +1 -0
  232. package/lib/command/markup/entity/AcApMarkupStampEntity.js.map +1 -1
  233. package/lib/command/markup/entity/AcApMarkupTextEntity.d.ts.map +1 -1
  234. package/lib/command/markup/entity/AcApMarkupTextEntity.js +1 -0
  235. package/lib/command/markup/entity/AcApMarkupTextEntity.js.map +1 -1
  236. package/lib/command/markup/index.d.ts +2 -0
  237. package/lib/command/markup/index.d.ts.map +1 -1
  238. package/lib/command/markup/index.js +2 -0
  239. package/lib/command/markup/index.js.map +1 -1
  240. package/lib/command/measure/AcApMeasureAngleArc.d.ts +27 -0
  241. package/lib/command/measure/AcApMeasureAngleArc.d.ts.map +1 -0
  242. package/lib/command/measure/AcApMeasureAngleArc.js +22 -0
  243. package/lib/command/measure/AcApMeasureAngleArc.js.map +1 -0
  244. package/lib/command/measure/AcApMeasureAngleCmd.d.ts +2 -3
  245. package/lib/command/measure/AcApMeasureAngleCmd.d.ts.map +1 -1
  246. package/lib/command/measure/AcApMeasureAngleCmd.js +46 -45
  247. package/lib/command/measure/AcApMeasureAngleCmd.js.map +1 -1
  248. package/lib/command/measure/AcApMeasureArcCmd.d.ts +2 -3
  249. package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -1
  250. package/lib/command/measure/AcApMeasureArcCmd.js +71 -67
  251. package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -1
  252. package/lib/command/measure/AcApMeasureAreaCmd.d.ts +2 -3
  253. package/lib/command/measure/AcApMeasureAreaCmd.d.ts.map +1 -1
  254. package/lib/command/measure/AcApMeasureAreaCmd.js +102 -99
  255. package/lib/command/measure/AcApMeasureAreaCmd.js.map +1 -1
  256. package/lib/command/measure/AcApMeasureContinuousCmd.d.ts +44 -0
  257. package/lib/command/measure/AcApMeasureContinuousCmd.d.ts.map +1 -0
  258. package/lib/command/measure/AcApMeasureContinuousCmd.js +317 -0
  259. package/lib/command/measure/AcApMeasureContinuousCmd.js.map +1 -0
  260. package/lib/command/measure/AcApMeasureDistanceCmd.d.ts +3 -3
  261. package/lib/command/measure/AcApMeasureDistanceCmd.d.ts.map +1 -1
  262. package/lib/command/measure/AcApMeasureDistanceCmd.js +41 -37
  263. package/lib/command/measure/AcApMeasureDistanceCmd.js.map +1 -1
  264. package/lib/command/measure/AcApMeasureDrawCmd.d.ts +32 -0
  265. package/lib/command/measure/AcApMeasureDrawCmd.d.ts.map +1 -0
  266. package/lib/command/measure/AcApMeasureDrawCmd.js +56 -0
  267. package/lib/command/measure/AcApMeasureDrawCmd.js.map +1 -0
  268. package/lib/command/measure/AcApMeasurePointCmd.d.ts +2 -3
  269. package/lib/command/measure/AcApMeasurePointCmd.d.ts.map +1 -1
  270. package/lib/command/measure/AcApMeasurePointCmd.js +20 -23
  271. package/lib/command/measure/AcApMeasurePointCmd.js.map +1 -1
  272. package/lib/command/measure/AcApMeasurementGeometry.d.ts +19 -0
  273. package/lib/command/measure/AcApMeasurementGeometry.d.ts.map +1 -1
  274. package/lib/command/measure/AcApMeasurementGeometry.js +53 -3
  275. package/lib/command/measure/AcApMeasurementGeometry.js.map +1 -1
  276. package/lib/command/measure/AcApMeasurementHistory.d.ts.map +1 -1
  277. package/lib/command/measure/AcApMeasurementHistory.js +3 -1
  278. package/lib/command/measure/AcApMeasurementHistory.js.map +1 -1
  279. package/lib/command/measure/AcApMeasurementPlace.d.ts.map +1 -1
  280. package/lib/command/measure/AcApMeasurementPlace.js +22 -5
  281. package/lib/command/measure/AcApMeasurementPlace.js.map +1 -1
  282. package/lib/command/measure/AcApMeasurementRepublish.d.ts +35 -0
  283. package/lib/command/measure/AcApMeasurementRepublish.d.ts.map +1 -0
  284. package/lib/command/measure/AcApMeasurementRepublish.js +31 -0
  285. package/lib/command/measure/AcApMeasurementRepublish.js.map +1 -0
  286. package/lib/command/measure/AcApMeasurementSidecar.d.ts +2 -1
  287. package/lib/command/measure/AcApMeasurementSidecar.d.ts.map +1 -1
  288. package/lib/command/measure/AcApMeasurementSidecar.js +55 -10
  289. package/lib/command/measure/AcApMeasurementSidecar.js.map +1 -1
  290. package/lib/command/measure/AcApMeasurementStore.d.ts +45 -2
  291. package/lib/command/measure/AcApMeasurementStore.d.ts.map +1 -1
  292. package/lib/command/measure/AcApMeasurementStore.js +277 -33
  293. package/lib/command/measure/AcApMeasurementStore.js.map +1 -1
  294. package/lib/command/measure/AcApMeasurementTypes.d.ts +17 -1
  295. package/lib/command/measure/AcApMeasurementTypes.d.ts.map +1 -1
  296. package/lib/command/measure/AcApRegisterMeasureCommands.d.ts +8 -0
  297. package/lib/command/measure/AcApRegisterMeasureCommands.d.ts.map +1 -0
  298. package/lib/command/measure/AcApRegisterMeasureCommands.js +29 -0
  299. package/lib/command/measure/AcApRegisterMeasureCommands.js.map +1 -0
  300. package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts +3 -5
  301. package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts.map +1 -1
  302. package/lib/command/measure/entity/AcApMeasureAngleEntity.js +165 -56
  303. package/lib/command/measure/entity/AcApMeasureAngleEntity.js.map +1 -1
  304. package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts +5 -8
  305. package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts.map +1 -1
  306. package/lib/command/measure/entity/AcApMeasureArcEntity.js +251 -53
  307. package/lib/command/measure/entity/AcApMeasureArcEntity.js.map +1 -1
  308. package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts +4 -3
  309. package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts.map +1 -1
  310. package/lib/command/measure/entity/AcApMeasureAreaEntity.js +154 -28
  311. package/lib/command/measure/entity/AcApMeasureAreaEntity.js.map +1 -1
  312. package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts +5 -3
  313. package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts.map +1 -1
  314. package/lib/command/measure/entity/AcApMeasureDistanceEntity.js +180 -28
  315. package/lib/command/measure/entity/AcApMeasureDistanceEntity.js.map +1 -1
  316. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts +20 -8
  317. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts.map +1 -1
  318. package/lib/command/measure/entity/AcApMeasureDrawUtil.js +45 -19
  319. package/lib/command/measure/entity/AcApMeasureDrawUtil.js.map +1 -1
  320. package/lib/command/measure/entity/AcApMeasureEntity.d.ts +41 -6
  321. package/lib/command/measure/entity/AcApMeasureEntity.d.ts.map +1 -1
  322. package/lib/command/measure/entity/AcApMeasureEntity.js +48 -2
  323. package/lib/command/measure/entity/AcApMeasureEntity.js.map +1 -1
  324. package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts +2 -2
  325. package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts.map +1 -1
  326. package/lib/command/measure/entity/AcApMeasureEntityFactory.js +10 -3
  327. package/lib/command/measure/entity/AcApMeasureEntityFactory.js.map +1 -1
  328. package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts +33 -0
  329. package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts.map +1 -0
  330. package/lib/command/measure/entity/AcApMeasureEntityGrips.js +49 -0
  331. package/lib/command/measure/entity/AcApMeasureEntityGrips.js.map +1 -0
  332. package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts +3 -2
  333. package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts.map +1 -1
  334. package/lib/command/measure/entity/AcApMeasurePointEntity.js +130 -16
  335. package/lib/command/measure/entity/AcApMeasurePointEntity.js.map +1 -1
  336. package/lib/command/measure/entity/index.d.ts +1 -0
  337. package/lib/command/measure/entity/index.d.ts.map +1 -1
  338. package/lib/command/measure/entity/index.js +1 -0
  339. package/lib/command/measure/entity/index.js.map +1 -1
  340. package/lib/command/measure/index.d.ts +4 -0
  341. package/lib/command/measure/index.d.ts.map +1 -1
  342. package/lib/command/measure/index.js +4 -0
  343. package/lib/command/measure/index.js.map +1 -1
  344. package/lib/command/overlay/AcApHtmlLivePreview.d.ts +16 -4
  345. package/lib/command/overlay/AcApHtmlLivePreview.d.ts.map +1 -1
  346. package/lib/command/overlay/AcApHtmlLivePreview.js +42 -12
  347. package/lib/command/overlay/AcApHtmlLivePreview.js.map +1 -1
  348. package/lib/command/overlay/AcApOverlayDrawUtil.d.ts +113 -3
  349. package/lib/command/overlay/AcApOverlayDrawUtil.d.ts.map +1 -1
  350. package/lib/command/overlay/AcApOverlayDrawUtil.js +341 -7
  351. package/lib/command/overlay/AcApOverlayDrawUtil.js.map +1 -1
  352. package/lib/command/overlay/AcApOverlayGripHost.d.ts +19 -0
  353. package/lib/command/overlay/AcApOverlayGripHost.d.ts.map +1 -1
  354. package/lib/command/overlay/AcApOverlayGripHost.js +124 -6
  355. package/lib/command/overlay/AcApOverlayGripHost.js.map +1 -1
  356. package/lib/editor/command/AcEdCommand.d.ts +17 -0
  357. package/lib/editor/command/AcEdCommand.d.ts.map +1 -1
  358. package/lib/editor/command/AcEdCommand.js +81 -1
  359. package/lib/editor/command/AcEdCommand.js.map +1 -1
  360. package/lib/editor/command/AcEdCommandStack.d.ts +14 -3
  361. package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
  362. package/lib/editor/command/AcEdCommandStack.js +39 -3
  363. package/lib/editor/command/AcEdCommandStack.js.map +1 -1
  364. package/lib/editor/command/AcEdSessionAccessory.d.ts +82 -0
  365. package/lib/editor/command/AcEdSessionAccessory.d.ts.map +1 -0
  366. package/lib/editor/command/AcEdSessionAccessory.js +15 -0
  367. package/lib/editor/command/AcEdSessionAccessory.js.map +1 -0
  368. package/lib/editor/command/AcEdSessionProviderRegistry.d.ts +42 -0
  369. package/lib/editor/command/AcEdSessionProviderRegistry.d.ts.map +1 -0
  370. package/lib/editor/command/AcEdSessionProviderRegistry.js +54 -0
  371. package/lib/editor/command/AcEdSessionProviderRegistry.js.map +1 -0
  372. package/lib/editor/command/index.d.ts +4 -0
  373. package/lib/editor/command/index.d.ts.map +1 -1
  374. package/lib/editor/command/index.js +3 -0
  375. package/lib/editor/command/index.js.map +1 -1
  376. package/lib/editor/global/AcEdUiColor.d.ts +10 -0
  377. package/lib/editor/global/AcEdUiColor.d.ts.map +1 -1
  378. package/lib/editor/global/AcEdUiColor.js +14 -0
  379. package/lib/editor/global/AcEdUiColor.js.map +1 -1
  380. package/lib/editor/global/AcEdUiLayout.d.ts +108 -0
  381. package/lib/editor/global/AcEdUiLayout.d.ts.map +1 -1
  382. package/lib/editor/global/AcEdUiLayout.js +143 -0
  383. package/lib/editor/global/AcEdUiLayout.js.map +1 -1
  384. package/lib/editor/global/AcEdUiTheme.d.ts +15 -3
  385. package/lib/editor/global/AcEdUiTheme.d.ts.map +1 -1
  386. package/lib/editor/global/AcEdUiTheme.js +113 -6
  387. package/lib/editor/global/AcEdUiTheme.js.map +1 -1
  388. package/lib/editor/grip/AcEdGripAppearance.d.ts +18 -0
  389. package/lib/editor/grip/AcEdGripAppearance.d.ts.map +1 -1
  390. package/lib/editor/grip/AcEdGripAppearance.js +23 -1
  391. package/lib/editor/grip/AcEdGripAppearance.js.map +1 -1
  392. package/lib/editor/grip/AcEdGripEditSession.js +2 -2
  393. package/lib/editor/grip/AcEdGripEditSession.js.map +1 -1
  394. package/lib/editor/grip/AcEdGripHandle.d.ts +1 -2
  395. package/lib/editor/grip/AcEdGripHandle.d.ts.map +1 -1
  396. package/lib/editor/grip/AcEdGripHandle.js +4 -13
  397. package/lib/editor/grip/AcEdGripHandle.js.map +1 -1
  398. package/lib/editor/grip/AcEdGripManager.d.ts +3 -1
  399. package/lib/editor/grip/AcEdGripManager.d.ts.map +1 -1
  400. package/lib/editor/grip/AcEdGripManager.js +30 -14
  401. package/lib/editor/grip/AcEdGripManager.js.map +1 -1
  402. package/lib/editor/grip/index.d.ts +1 -0
  403. package/lib/editor/grip/index.d.ts.map +1 -1
  404. package/lib/editor/grip/index.js +1 -0
  405. package/lib/editor/grip/index.js.map +1 -1
  406. package/lib/editor/input/AcEdDynamicInput.d.ts +15 -0
  407. package/lib/editor/input/AcEdDynamicInput.d.ts.map +1 -0
  408. package/lib/editor/input/AcEdDynamicInput.js +22 -0
  409. package/lib/editor/input/AcEdDynamicInput.js.map +1 -0
  410. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts +19 -1
  411. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts.map +1 -1
  412. package/lib/editor/input/AcEdOsnapCenterMarks.js +53 -9
  413. package/lib/editor/input/AcEdOsnapCenterMarks.js.map +1 -1
  414. package/lib/editor/input/AcEdOsnapResolver.d.ts.map +1 -1
  415. package/lib/editor/input/AcEdOsnapResolver.js +216 -35
  416. package/lib/editor/input/AcEdOsnapResolver.js.map +1 -1
  417. package/lib/editor/input/AcEditor.d.ts +14 -1
  418. package/lib/editor/input/AcEditor.d.ts.map +1 -1
  419. package/lib/editor/input/AcEditor.js +18 -2
  420. package/lib/editor/input/AcEditor.js.map +1 -1
  421. package/lib/editor/input/index.d.ts +1 -0
  422. package/lib/editor/input/index.d.ts.map +1 -1
  423. package/lib/editor/input/index.js +1 -0
  424. package/lib/editor/input/index.js.map +1 -1
  425. package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts +12 -0
  426. package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts.map +1 -1
  427. package/lib/editor/input/marker/AcEdOSnapMarkerManager.js +53 -18
  428. package/lib/editor/input/marker/AcEdOSnapMarkerManager.js.map +1 -1
  429. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +15 -0
  430. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
  431. package/lib/editor/input/prompt/AcEdPromptPointOptions.js +24 -0
  432. package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
  433. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.d.ts +31 -0
  434. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.d.ts.map +1 -0
  435. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js +67 -0
  436. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js.map +1 -0
  437. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts +33 -0
  438. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts.map +1 -0
  439. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js +85 -0
  440. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js.map +1 -0
  441. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts +57 -0
  442. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts.map +1 -0
  443. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js +104 -0
  444. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js.map +1 -0
  445. package/lib/editor/input/ui/AcEdFloatingInput.d.ts +146 -0
  446. package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
  447. package/lib/editor/input/ui/AcEdFloatingInput.js +423 -13
  448. package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
  449. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +8 -1
  450. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
  451. package/lib/editor/input/ui/AcEdFloatingMessage.d.ts.map +1 -1
  452. package/lib/editor/input/ui/AcEdFloatingMessage.js +2 -2
  453. package/lib/editor/input/ui/AcEdFloatingMessage.js.map +1 -1
  454. package/lib/editor/input/ui/AcEdInputManager.d.ts +100 -7
  455. package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
  456. package/lib/editor/input/ui/AcEdInputManager.js +846 -165
  457. package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
  458. package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts +94 -0
  459. package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts.map +1 -0
  460. package/lib/editor/input/ui/AcEdInteractionStrategy.js +60 -0
  461. package/lib/editor/input/ui/AcEdInteractionStrategy.js.map +1 -0
  462. package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts +52 -0
  463. package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts.map +1 -0
  464. package/lib/editor/input/ui/AcEdMobileBoxGesture.js +203 -0
  465. package/lib/editor/input/ui/AcEdMobileBoxGesture.js.map +1 -0
  466. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts +103 -0
  467. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts.map +1 -0
  468. package/lib/editor/input/ui/AcEdMobileCommandChrome.js +157 -0
  469. package/lib/editor/input/ui/AcEdMobileCommandChrome.js.map +1 -0
  470. package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts +29 -0
  471. package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts.map +1 -0
  472. package/lib/editor/input/ui/AcEdMobileSessionMetrics.js +37 -0
  473. package/lib/editor/input/ui/AcEdMobileSessionMetrics.js.map +1 -0
  474. package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts +45 -0
  475. package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts.map +1 -0
  476. package/lib/editor/input/ui/AcEdMobileSnapLoupe.js +63 -0
  477. package/lib/editor/input/ui/AcEdMobileSnapLoupe.js.map +1 -0
  478. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts +121 -0
  479. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts.map +1 -0
  480. package/lib/editor/input/ui/AcEdSessionAccessoryController.js +306 -0
  481. package/lib/editor/input/ui/AcEdSessionAccessoryController.js.map +1 -0
  482. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts +28 -0
  483. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts.map +1 -0
  484. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js +86 -0
  485. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js.map +1 -0
  486. package/lib/editor/input/ui/AcEdSnapLoupe.d.ts +60 -0
  487. package/lib/editor/input/ui/AcEdSnapLoupe.d.ts.map +1 -0
  488. package/lib/editor/input/ui/AcEdSnapLoupe.js +109 -0
  489. package/lib/editor/input/ui/AcEdSnapLoupe.js.map +1 -0
  490. package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts +47 -0
  491. package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts.map +1 -0
  492. package/lib/editor/input/ui/AcEdSnapLoupeMath.js +50 -0
  493. package/lib/editor/input/ui/AcEdSnapLoupeMath.js.map +1 -0
  494. package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts +97 -0
  495. package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts.map +1 -0
  496. package/lib/editor/input/ui/AcEdTouchPickStrategy.js +74 -0
  497. package/lib/editor/input/ui/AcEdTouchPickStrategy.js.map +1 -0
  498. package/lib/editor/input/ui/AcEdTouchPointSession.d.ts +198 -0
  499. package/lib/editor/input/ui/AcEdTouchPointSession.d.ts.map +1 -0
  500. package/lib/editor/input/ui/AcEdTouchPointSession.js +329 -0
  501. package/lib/editor/input/ui/AcEdTouchPointSession.js.map +1 -0
  502. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts +18 -0
  503. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts.map +1 -0
  504. package/lib/editor/input/ui/AcEdTouchPointTiming.js +18 -0
  505. package/lib/editor/input/ui/AcEdTouchPointTiming.js.map +1 -0
  506. package/lib/editor/input/ui/index.d.ts +14 -0
  507. package/lib/editor/input/ui/index.d.ts.map +1 -1
  508. package/lib/editor/input/ui/index.js +14 -0
  509. package/lib/editor/input/ui/index.js.map +1 -1
  510. package/lib/editor/view/AcEdBaseView.d.ts +144 -39
  511. package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
  512. package/lib/editor/view/AcEdBaseView.js +200 -49
  513. package/lib/editor/view/AcEdBaseView.js.map +1 -1
  514. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts +36 -0
  515. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts.map +1 -0
  516. package/lib/editor/view/AcEdSelectionBoxIntersect.js +113 -0
  517. package/lib/editor/view/AcEdSelectionBoxIntersect.js.map +1 -0
  518. package/lib/editor/view/AcEdViewMode.d.ts +34 -0
  519. package/lib/editor/view/AcEdViewMode.d.ts.map +1 -0
  520. package/lib/editor/view/AcEdViewMode.js +35 -0
  521. package/lib/editor/view/AcEdViewMode.js.map +1 -0
  522. package/lib/editor/view/index.d.ts +2 -0
  523. package/lib/editor/view/index.d.ts.map +1 -1
  524. package/lib/editor/view/index.js +2 -0
  525. package/lib/editor/view/index.js.map +1 -1
  526. package/lib/i18n/AcApI18n.d.ts +2 -1
  527. package/lib/i18n/AcApI18n.d.ts.map +1 -1
  528. package/lib/i18n/AcApI18n.js +5 -2
  529. package/lib/i18n/AcApI18n.js.map +1 -1
  530. package/lib/i18n/ar/command.d.ts +18 -0
  531. package/lib/i18n/ar/command.d.ts.map +1 -1
  532. package/lib/i18n/ar/command.js +1 -1
  533. package/lib/i18n/ar/command.js.map +1 -1
  534. package/lib/i18n/ar/jig.d.ts +67 -0
  535. package/lib/i18n/ar/jig.d.ts.map +1 -1
  536. package/lib/i18n/ar/jig.js +31 -3
  537. package/lib/i18n/ar/jig.js.map +1 -1
  538. package/lib/i18n/ar/main.d.ts +100 -1
  539. package/lib/i18n/ar/main.d.ts.map +1 -1
  540. package/lib/i18n/ar/main.js +101 -2
  541. package/lib/i18n/ar/main.js.map +1 -1
  542. package/lib/i18n/cs/command.d.ts +15 -0
  543. package/lib/i18n/cs/command.d.ts.map +1 -1
  544. package/lib/i18n/cs/command.js +15 -0
  545. package/lib/i18n/cs/command.js.map +1 -1
  546. package/lib/i18n/cs/jig.d.ts +67 -0
  547. package/lib/i18n/cs/jig.d.ts.map +1 -1
  548. package/lib/i18n/cs/jig.js +67 -0
  549. package/lib/i18n/cs/jig.js.map +1 -1
  550. package/lib/i18n/cs/main.d.ts +100 -1
  551. package/lib/i18n/cs/main.d.ts.map +1 -1
  552. package/lib/i18n/cs/main.js +101 -2
  553. package/lib/i18n/cs/main.js.map +1 -1
  554. package/lib/i18n/en/command.d.ts +18 -0
  555. package/lib/i18n/en/command.d.ts.map +1 -1
  556. package/lib/i18n/en/command.js +18 -0
  557. package/lib/i18n/en/command.js.map +1 -1
  558. package/lib/i18n/en/jig.d.ts +67 -0
  559. package/lib/i18n/en/jig.d.ts.map +1 -1
  560. package/lib/i18n/en/jig.js +67 -0
  561. package/lib/i18n/en/jig.js.map +1 -1
  562. package/lib/i18n/en/main.d.ts +100 -1
  563. package/lib/i18n/en/main.d.ts.map +1 -1
  564. package/lib/i18n/en/main.js +101 -2
  565. package/lib/i18n/en/main.js.map +1 -1
  566. package/lib/i18n/index.d.ts +2 -2
  567. package/lib/i18n/index.d.ts.map +1 -1
  568. package/lib/i18n/index.js.map +1 -1
  569. package/lib/i18n/tr/command.d.ts +15 -0
  570. package/lib/i18n/tr/command.d.ts.map +1 -1
  571. package/lib/i18n/tr/command.js +15 -0
  572. package/lib/i18n/tr/command.js.map +1 -1
  573. package/lib/i18n/tr/jig.d.ts +67 -0
  574. package/lib/i18n/tr/jig.d.ts.map +1 -1
  575. package/lib/i18n/tr/jig.js +67 -0
  576. package/lib/i18n/tr/jig.js.map +1 -1
  577. package/lib/i18n/tr/main.d.ts +100 -1
  578. package/lib/i18n/tr/main.d.ts.map +1 -1
  579. package/lib/i18n/tr/main.js +101 -2
  580. package/lib/i18n/tr/main.js.map +1 -1
  581. package/lib/i18n/zh/command.d.ts +18 -0
  582. package/lib/i18n/zh/command.d.ts.map +1 -1
  583. package/lib/i18n/zh/command.js +18 -0
  584. package/lib/i18n/zh/command.js.map +1 -1
  585. package/lib/i18n/zh/jig.d.ts +67 -0
  586. package/lib/i18n/zh/jig.d.ts.map +1 -1
  587. package/lib/i18n/zh/jig.js +67 -0
  588. package/lib/i18n/zh/jig.js.map +1 -1
  589. package/lib/i18n/zh/main.d.ts +100 -1
  590. package/lib/i18n/zh/main.d.ts.map +1 -1
  591. package/lib/i18n/zh/main.js +102 -3
  592. package/lib/i18n/zh/main.js.map +1 -1
  593. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts +6 -0
  594. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts.map +1 -1
  595. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js +10 -0
  596. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js.map +1 -1
  597. package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts +4 -0
  598. package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts.map +1 -1
  599. package/lib/spatialIndex/AcTrLinearSpatialIndex.js +9 -0
  600. package/lib/spatialIndex/AcTrLinearSpatialIndex.js.map +1 -1
  601. package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts +4 -0
  602. package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts.map +1 -1
  603. package/lib/spatialIndex/AcTrRBushSpatialIndex.js +20 -4
  604. package/lib/spatialIndex/AcTrRBushSpatialIndex.js.map +1 -1
  605. package/lib/ui/AcUiAciColorDialog.d.ts +57 -0
  606. package/lib/ui/AcUiAciColorDialog.d.ts.map +1 -0
  607. package/lib/ui/AcUiAciColorDialog.js +91 -0
  608. package/lib/ui/AcUiAciColorDialog.js.map +1 -0
  609. package/lib/ui/AcUiAciPaletteUi.d.ts +118 -0
  610. package/lib/ui/AcUiAciPaletteUi.d.ts.map +1 -0
  611. package/lib/ui/AcUiAciPaletteUi.js +521 -0
  612. package/lib/ui/AcUiAciPaletteUi.js.map +1 -0
  613. package/lib/ui/AcUiDefaultNotificationUi.d.ts +167 -0
  614. package/lib/ui/AcUiDefaultNotificationUi.d.ts.map +1 -0
  615. package/lib/ui/AcUiDefaultNotificationUi.js +603 -0
  616. package/lib/ui/AcUiDefaultNotificationUi.js.map +1 -0
  617. package/lib/ui/AcUiDialog.d.ts +38 -2
  618. package/lib/ui/AcUiDialog.d.ts.map +1 -1
  619. package/lib/ui/AcUiDialog.js +45 -16
  620. package/lib/ui/AcUiDialog.js.map +1 -1
  621. package/lib/ui/AcUiDrawStyle.d.ts +60 -0
  622. package/lib/ui/AcUiDrawStyle.d.ts.map +1 -0
  623. package/lib/ui/AcUiDrawStyle.js +95 -0
  624. package/lib/ui/AcUiDrawStyle.js.map +1 -0
  625. package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts +108 -0
  626. package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts.map +1 -0
  627. package/lib/ui/AcUiDrawStyleSessionAccessory.js +459 -0
  628. package/lib/ui/AcUiDrawStyleSessionAccessory.js.map +1 -0
  629. package/lib/ui/AcUiFullscreenPanel.d.ts +89 -0
  630. package/lib/ui/AcUiFullscreenPanel.d.ts.map +1 -0
  631. package/lib/ui/AcUiFullscreenPanel.js +224 -0
  632. package/lib/ui/AcUiFullscreenPanel.js.map +1 -0
  633. package/lib/ui/AcUiHelpPanel.d.ts +49 -0
  634. package/lib/ui/AcUiHelpPanel.d.ts.map +1 -0
  635. package/lib/ui/AcUiHelpPanel.js +124 -0
  636. package/lib/ui/AcUiHelpPanel.js.map +1 -0
  637. package/lib/ui/AcUiMobileSessionPanel.d.ts +239 -0
  638. package/lib/ui/AcUiMobileSessionPanel.d.ts.map +1 -0
  639. package/lib/ui/AcUiMobileSessionPanel.js +822 -0
  640. package/lib/ui/AcUiMobileSessionPanel.js.map +1 -0
  641. package/lib/ui/AcUiShortCutToolbar.d.ts +160 -0
  642. package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -0
  643. package/lib/ui/AcUiShortCutToolbar.js +318 -0
  644. package/lib/ui/AcUiShortCutToolbar.js.map +1 -0
  645. package/lib/ui/AcUiSimpleToolbar.d.ts +110 -0
  646. package/lib/ui/AcUiSimpleToolbar.d.ts.map +1 -0
  647. package/lib/ui/AcUiSimpleToolbar.js +431 -0
  648. package/lib/ui/AcUiSimpleToolbar.js.map +1 -0
  649. package/lib/ui/AcUiTextHeightDialog.d.ts +85 -0
  650. package/lib/ui/AcUiTextHeightDialog.d.ts.map +1 -0
  651. package/lib/ui/AcUiTextHeightDialog.js +205 -0
  652. package/lib/ui/AcUiTextHeightDialog.js.map +1 -0
  653. package/lib/ui/AcUiTextHeightDialogHelpers.d.ts +54 -0
  654. package/lib/ui/AcUiTextHeightDialogHelpers.d.ts.map +1 -0
  655. package/lib/ui/AcUiTextHeightDialogHelpers.js +128 -0
  656. package/lib/ui/AcUiTextHeightDialogHelpers.js.map +1 -0
  657. package/lib/ui/AcUiTouchPointTutorialDialog.d.ts +18 -0
  658. package/lib/ui/AcUiTouchPointTutorialDialog.d.ts.map +1 -0
  659. package/lib/ui/AcUiTouchPointTutorialDialog.js +58 -0
  660. package/lib/ui/AcUiTouchPointTutorialDialog.js.map +1 -0
  661. package/lib/ui/icons.d.ts +54 -27
  662. package/lib/ui/icons.d.ts.map +1 -1
  663. package/lib/ui/icons.js +79 -25
  664. package/lib/ui/icons.js.map +1 -1
  665. package/lib/ui/index.d.ts +15 -2
  666. package/lib/ui/index.d.ts.map +1 -1
  667. package/lib/ui/index.js +15 -2
  668. package/lib/ui/index.js.map +1 -1
  669. package/lib/ui/toolbar/AcUiDropdownMenu.d.ts +48 -0
  670. package/lib/ui/toolbar/AcUiDropdownMenu.d.ts.map +1 -0
  671. package/lib/ui/toolbar/AcUiDropdownMenu.js +116 -0
  672. package/lib/ui/toolbar/AcUiDropdownMenu.js.map +1 -0
  673. package/lib/ui/toolbar/AcUiSubToolbar.d.ts +125 -0
  674. package/lib/ui/toolbar/AcUiSubToolbar.d.ts.map +1 -0
  675. package/lib/ui/toolbar/AcUiSubToolbar.js +625 -0
  676. package/lib/ui/toolbar/AcUiSubToolbar.js.map +1 -0
  677. package/lib/ui/toolbar/AcUiToolbar.d.ts +446 -0
  678. package/lib/ui/toolbar/AcUiToolbar.d.ts.map +1 -0
  679. package/lib/ui/toolbar/AcUiToolbar.js +1550 -0
  680. package/lib/ui/toolbar/AcUiToolbar.js.map +1 -0
  681. package/lib/ui/toolbar/AcUiToolbarStyles.d.ts +20 -0
  682. package/lib/ui/toolbar/AcUiToolbarStyles.d.ts.map +1 -0
  683. package/lib/ui/toolbar/AcUiToolbarStyles.js +34 -0
  684. package/lib/ui/toolbar/AcUiToolbarStyles.js.map +1 -0
  685. package/lib/ui/toolbar/acuiWrapPackLayout.d.ts +19 -0
  686. package/lib/ui/toolbar/acuiWrapPackLayout.d.ts.map +1 -0
  687. package/lib/ui/toolbar/acuiWrapPackLayout.js +36 -0
  688. package/lib/ui/toolbar/acuiWrapPackLayout.js.map +1 -0
  689. package/lib/ui/toolbar/index.d.ts +19 -0
  690. package/lib/ui/toolbar/index.d.ts.map +1 -0
  691. package/lib/ui/toolbar/index.js +15 -0
  692. package/lib/ui/toolbar/index.js.map +1 -0
  693. package/lib/ui/toolbar/resolveToolbarChrome.d.ts +14 -0
  694. package/lib/ui/toolbar/resolveToolbarChrome.d.ts.map +1 -0
  695. package/lib/ui/toolbar/resolveToolbarChrome.js +35 -0
  696. package/lib/ui/toolbar/resolveToolbarChrome.js.map +1 -0
  697. package/lib/ui/toolbar/resolveToolbarItemState.d.ts +63 -0
  698. package/lib/ui/toolbar/resolveToolbarItemState.d.ts.map +1 -0
  699. package/lib/ui/toolbar/resolveToolbarItemState.js +171 -0
  700. package/lib/ui/toolbar/resolveToolbarItemState.js.map +1 -0
  701. package/lib/ui/toolbar/toolbarItemUtils.d.ts +62 -0
  702. package/lib/ui/toolbar/toolbarItemUtils.d.ts.map +1 -0
  703. package/lib/ui/toolbar/toolbarItemUtils.js +184 -0
  704. package/lib/ui/toolbar/toolbarItemUtils.js.map +1 -0
  705. package/lib/ui/toolbar/types.d.ts +268 -0
  706. package/lib/ui/toolbar/types.d.ts.map +1 -0
  707. package/lib/ui/toolbar/types.js +8 -0
  708. package/lib/ui/toolbar/types.js.map +1 -0
  709. package/lib/ui/touch-point-tutorial.d.ts +64 -0
  710. package/lib/ui/touch-point-tutorial.d.ts.map +1 -0
  711. package/lib/ui/touch-point-tutorial.js +271 -0
  712. package/lib/ui/touch-point-tutorial.js.map +1 -0
  713. package/lib/ui-html-entry.d.ts +38 -0
  714. package/lib/ui-html-entry.d.ts.map +1 -0
  715. package/lib/ui-html-entry.js +28 -0
  716. package/lib/ui-html-entry.js.map +1 -0
  717. package/lib/util/AcApAciPalette.d.ts +7 -0
  718. package/lib/util/AcApAciPalette.d.ts.map +1 -0
  719. package/lib/util/AcApAciPalette.js +51 -0
  720. package/lib/util/AcApAciPalette.js.map +1 -0
  721. package/lib/util/AcApAnalyzeUnsupportedDrawing.d.ts +53 -0
  722. package/lib/util/AcApAnalyzeUnsupportedDrawing.d.ts.map +1 -0
  723. package/lib/util/AcApAnalyzeUnsupportedDrawing.js +164 -0
  724. package/lib/util/AcApAnalyzeUnsupportedDrawing.js.map +1 -0
  725. package/lib/util/AcApCommandUtil.d.ts +15 -0
  726. package/lib/util/AcApCommandUtil.d.ts.map +1 -0
  727. package/lib/util/AcApCommandUtil.js +38 -0
  728. package/lib/util/AcApCommandUtil.js.map +1 -0
  729. package/lib/util/AcApCssColor.d.ts +10 -0
  730. package/lib/util/AcApCssColor.d.ts.map +1 -1
  731. package/lib/util/AcApCssColor.js +52 -0
  732. package/lib/util/AcApCssColor.js.map +1 -1
  733. package/lib/util/AcApFormatFontMissedMessage.d.ts +32 -0
  734. package/lib/util/AcApFormatFontMissedMessage.d.ts.map +1 -0
  735. package/lib/util/AcApFormatFontMissedMessage.js +46 -0
  736. package/lib/util/AcApFormatFontMissedMessage.js.map +1 -0
  737. package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts +44 -0
  738. package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts.map +1 -0
  739. package/lib/util/AcApFormatUnsupportedEntitiesMessage.js +105 -0
  740. package/lib/util/AcApFormatUnsupportedEntitiesMessage.js.map +1 -0
  741. package/lib/util/AcApMeasurementUnits.d.ts +13 -1
  742. package/lib/util/AcApMeasurementUnits.d.ts.map +1 -1
  743. package/lib/util/AcApMeasurementUnits.js +144 -10
  744. package/lib/util/AcApMeasurementUnits.js.map +1 -1
  745. package/lib/util/AcApMeasurementUtil.d.ts +30 -9
  746. package/lib/util/AcApMeasurementUtil.d.ts.map +1 -1
  747. package/lib/util/AcApMeasurementUtil.js +70 -40
  748. package/lib/util/AcApMeasurementUtil.js.map +1 -1
  749. package/lib/util/AcApOpenFileErrorMessage.d.ts +25 -0
  750. package/lib/util/AcApOpenFileErrorMessage.d.ts.map +1 -0
  751. package/lib/util/AcApOpenFileErrorMessage.js +121 -0
  752. package/lib/util/AcApOpenFileErrorMessage.js.map +1 -0
  753. package/lib/util/index.d.ts +6 -0
  754. package/lib/util/index.d.ts.map +1 -1
  755. package/lib/util/index.js +6 -0
  756. package/lib/util/index.js.map +1 -1
  757. package/lib/view/AcApReadingMode.d.ts +52 -0
  758. package/lib/view/AcApReadingMode.d.ts.map +1 -0
  759. package/lib/view/AcApReadingMode.js +81 -0
  760. package/lib/view/AcApReadingMode.js.map +1 -0
  761. package/lib/view/AcEdViewKeyHandler.d.ts.map +1 -1
  762. package/lib/view/AcEdViewKeyHandler.js +6 -1
  763. package/lib/view/AcEdViewKeyHandler.js.map +1 -1
  764. package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts +6 -1
  765. package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts.map +1 -1
  766. package/lib/view/AcTrInheritedLayerMaterialMapper.js +9 -1
  767. package/lib/view/AcTrInheritedLayerMaterialMapper.js.map +1 -1
  768. package/lib/view/AcTrLayer.d.ts +13 -1
  769. package/lib/view/AcTrLayer.d.ts.map +1 -1
  770. package/lib/view/AcTrLayer.js +28 -11
  771. package/lib/view/AcTrLayer.js.map +1 -1
  772. package/lib/view/AcTrLayout.d.ts +17 -2
  773. package/lib/view/AcTrLayout.d.ts.map +1 -1
  774. package/lib/view/AcTrLayout.js +67 -15
  775. package/lib/view/AcTrLayout.js.map +1 -1
  776. package/lib/view/AcTrLayoutView.d.ts +25 -1
  777. package/lib/view/AcTrLayoutView.d.ts.map +1 -1
  778. package/lib/view/AcTrLayoutView.js +62 -1
  779. package/lib/view/AcTrLayoutView.js.map +1 -1
  780. package/lib/view/AcTrScene.d.ts +4 -0
  781. package/lib/view/AcTrScene.d.ts.map +1 -1
  782. package/lib/view/AcTrScene.js +6 -0
  783. package/lib/view/AcTrScene.js.map +1 -1
  784. package/lib/view/AcTrView2d.d.ts +128 -15
  785. package/lib/view/AcTrView2d.d.ts.map +1 -1
  786. package/lib/view/AcTrView2d.js +634 -149
  787. package/lib/view/AcTrView2d.js.map +1 -1
  788. package/lib/view/AcTrViewSessionState.d.ts +6 -0
  789. package/lib/view/AcTrViewSessionState.d.ts.map +1 -1
  790. package/lib/view/index.d.ts +1 -0
  791. package/lib/view/index.d.ts.map +1 -1
  792. package/lib/view/index.js +1 -0
  793. package/lib/view/index.js.map +1 -1
  794. package/package.json +8 -8
  795. package/src/ui/icons.ts +387 -293
  796. package/lib/app/AcDbOpenDatabaseOptions.d.ts +0 -63
  797. package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +0 -1
  798. package/lib/app/AcDbOpenDatabaseOptions.js.map +0 -1
  799. package/lib/command/convert/AcApPngConvertor.d.ts.map +0 -1
  800. package/lib/command/convert/AcApPngConvertor.js.map +0 -1
  801. package/lib/ui/AcApDrawStyle.d.ts +0 -81
  802. package/lib/ui/AcApDrawStyle.d.ts.map +0 -1
  803. package/lib/ui/AcApDrawStyle.js +0 -170
  804. package/lib/ui/AcApDrawStyle.js.map +0 -1
  805. package/lib/ui/AcApDrawStyleToolbar.d.ts +0 -129
  806. package/lib/ui/AcApDrawStyleToolbar.d.ts.map +0 -1
  807. package/lib/ui/AcApDrawStyleToolbar.js +0 -607
  808. package/lib/ui/AcApDrawStyleToolbar.js.map +0 -1
@@ -1,6 +1,101 @@
1
1
  /**
2
2
  * Shared canvas helpers for markup / measure overlay drawing.
3
3
  */
4
+ import type { AcTrHtmlElement } from '@mlightcad/three-renderer';
5
+ import type { AcEdBaseView } from '../../editor';
6
+ /** Dataset key storing stroke width in world units for view-synced canvas pens. */
7
+ export declare const ACAP_OVERLAY_STROKE_WCS = "overlayStrokeWcs";
8
+ /** Dataset key storing revision-cloud lobe diameter in world units. */
9
+ export declare const ACAP_OVERLAY_CLOUD_WCS = "overlayCloudWcs";
10
+ /** Target screen diameter in CSS pixels for each revision-cloud lobe at creation. */
11
+ export declare const ACAP_OVERLAY_CLOUD_DIAMETER_PX = 8;
12
+ /** Returns the active orthographic camera zoom, or `null` when unavailable. */
13
+ export declare function acapGetCameraZoom(view: AcEdBaseView): number | null;
14
+ /**
15
+ * CSS pixels per one world-space unit along +X (from {@link AcEdBaseView.worldToScreen}).
16
+ */
17
+ export declare function acapPixelsPerWorldUnit(view: AcEdBaseView): number;
18
+ /** Converts a screen-space size in CSS pixels to world units. */
19
+ export declare function acapScreenPxToWcs(px: number, view: AcEdBaseView): number;
20
+ /** Converts a world-space size to CSS pixels at the current view scale. */
21
+ export declare function acapWcsToScreenPx(wcs: number, view: AcEdBaseView): number;
22
+ /** Pre-seeds a canvas stroke width in world units (import / first layout). */
23
+ export declare function acapSeedOverlayStrokeWcs(anchor: HTMLElement, strokeWidthWcs: number): void;
24
+ /** Pre-seeds overlay arrow-head length in world units (import / first layout). */
25
+ export declare function acapSeedOverlayArrowWcs(anchor: HTMLElement, arrowSizeWcs: number): void;
26
+ /**
27
+ * View-synced canvas stroke width.
28
+ *
29
+ * Prefer an explicit world-space width; otherwise use a seeded dataset value,
30
+ * else convert `baseLineWidth` to WCS on first paint and keep that pen size as
31
+ * the camera zooms. Callers that re-seed after style edits should omit the
32
+ * explicit WCS argument so the dataset wins.
33
+ *
34
+ * A non-positive `baseLineWidth` is hairline: always 1 CSS pixel, with any
35
+ * stored WCS width cleared.
36
+ */
37
+ export declare function acapScaledOverlayLineWidth(baseLineWidth: number, anchor: HTMLElement, view: AcEdBaseView, strokeWidthWcs?: number): number;
38
+ /** Arrow-head length in CSS pixels at the overlay's creation-scale stroke. */
39
+ export declare const ACAP_OVERLAY_ARROW_SIZE_PX = 12;
40
+ /** Dataset key storing overlay arrow-head length in world units. */
41
+ export declare const ACAP_OVERLAY_ARROW_WCS = "overlayArrowWcs";
42
+ /**
43
+ * Screen length of an overlay arrow head, tracking the same WCS scale as the stroke.
44
+ *
45
+ * Hairline overlays (`baseLineWidth <= 0`) keep a constant
46
+ * {@link ACAP_OVERLAY_ARROW_SIZE_PX}. Use this during jig / live preview so
47
+ * the head stays a fixed screen size while the user zooms. After commit, use
48
+ * {@link acapScaledOverlayArrowSize} to freeze that size in world units.
49
+ *
50
+ * @param scaledLineWidth - Stroke width already converted to the current view.
51
+ * @param baseLineWidth - CSS stroke used when the overlay was authored (default `2`).
52
+ */
53
+ export declare function acapOverlayArrowSize(scaledLineWidth: number, baseLineWidth?: number): number;
54
+ /**
55
+ * Arrow-head length in CSS pixels that stays a fixed world size.
56
+ *
57
+ * Used by committed distance measurements and arrow markups. Seeds
58
+ * {@link ACAP_OVERLAY_ARROW_SIZE_PX} as WCS on first paint (the size shown
59
+ * during the jig) unless `arrowSizeWcs` is provided.
60
+ */
61
+ export declare function acapScaledOverlayArrowSize(canvas: HTMLElement, view: AcEdBaseView, arrowSizeWcs?: number): number;
62
+ /**
63
+ * Screen dash pattern that stays proportional to the current stroke width.
64
+ */
65
+ export declare function acapOverlayDash(scaledLineWidth: number, baseLineWidth?: number): number[];
66
+ /**
67
+ * Orthographic `baseZoom` that makes a fixed CSS size match a world-space size
68
+ * at the current view (for {@link AcTrHtmlElement.scaleWithView}).
69
+ */
70
+ export declare function acapBaseZoomFromWcsSize(screenPxAtCreate: number, sizeWcs: number, view: AcEdBaseView): number | null;
71
+ /**
72
+ * Seeds HTML overlays and canvases from sidecar world-space sizes so import
73
+ * matches creation scale regardless of the current camera zoom.
74
+ */
75
+ export declare function acapSeedOverlaySizesFromWcs(view: AcEdBaseView, options: {
76
+ textHeightWcs?: number;
77
+ strokeWidthWcs?: number;
78
+ arrowSizeWcs?: number;
79
+ /** CSS font size used when the overlay was authored (badge / callout). */
80
+ fontSizePx?: number;
81
+ /** Screen stroke width used when authored (from CAD line weight). */
82
+ strokeScreenPx?: number;
83
+ elements?: readonly AcTrHtmlElement[];
84
+ canvases?: readonly HTMLElement[];
85
+ }): void;
86
+ /**
87
+ * Keeps live draw-preview overlays sized for the active text-height mode.
88
+ *
89
+ * - `'custom'`: seed {@link AcTrHtmlElement.baseZoom} from WCS so capsules
90
+ * scale with camera zoom during drawing.
91
+ * - `'adaptive'` (or missing WCS): disable view sync so size stays constant
92
+ * in screen pixels while drawing.
93
+ */
94
+ export declare function acapSyncLiveOverlayTextHeight(view: AcEdBaseView, elements: readonly AcTrHtmlElement[], style: {
95
+ fontSize?: number;
96
+ textHeightMode?: 'adaptive' | 'custom';
97
+ textHeightWcs?: number;
98
+ }): void;
4
99
  /**
5
100
  * Fit a canvas to its container and return a 2D context cleared for this frame.
6
101
  *
@@ -12,6 +107,20 @@
12
107
  * @returns A 2D context ready to draw, or `null` if unavailable.
13
108
  */
14
109
  export declare function acapFitOverlayCanvas(canvas: HTMLCanvasElement, container: HTMLElement): CanvasRenderingContext2D | null;
110
+ /**
111
+ * Fit a canvas to the view's drawing surface (not the outer container).
112
+ *
113
+ * Live measure overlays must use this when stroking with
114
+ * {@link AcEdBaseView.worldToScreen}: those coordinates are canvas-local,
115
+ * while the view container can include chrome around the WebGL canvas.
116
+ * Positions the overlay with {@link AcEdBaseView.canvasToContainer} so
117
+ * confirmed segments stay aligned with CSS2D badges.
118
+ *
119
+ * @param canvas - Target canvas element owned by an overlay.
120
+ * @param view - View whose canvas bounds and container offset are used.
121
+ * @returns A 2D context ready to draw, or `null` if unavailable.
122
+ */
123
+ export declare function acapFitOverlayCanvasToView(canvas: HTMLCanvasElement, view: AcEdBaseView): CanvasRenderingContext2D | null;
15
124
  /**
16
125
  * Draw a filled arrow head at `to`, pointing along `from` → `to`.
17
126
  *
@@ -19,6 +128,7 @@ export declare function acapFitOverlayCanvas(canvas: HTMLCanvasElement, containe
19
128
  * @param from - Tail / direction reference in screen space.
20
129
  * @param to - Arrow tip in screen space.
21
130
  * @param color - CSS fill color.
131
+ * @param sizePx - Arrow length in CSS pixels (view-scaled by the caller).
22
132
  */
23
133
  export declare function acapDrawOverlayArrowHead(ctx: CanvasRenderingContext2D, from: {
24
134
  x: number;
@@ -26,7 +136,7 @@ export declare function acapDrawOverlayArrowHead(ctx: CanvasRenderingContext2D,
26
136
  }, to: {
27
137
  x: number;
28
138
  y: number;
29
- }, color: string): void;
139
+ }, color: string, sizePx?: number): void;
30
140
  /**
31
141
  * Draw a leader segment, optionally with an arrow head at the tip.
32
142
  *
@@ -43,7 +153,7 @@ export declare function acapDrawOverlayLeader(ctx: CanvasRenderingContext2D, tip
43
153
  }, anchor: {
44
154
  x: number;
45
155
  y: number;
46
- }, color: string, withArrow?: boolean, lineWidth?: number): void;
156
+ }, color: string, withArrow: boolean | undefined, lineWidth: number | undefined, view: AcEdBaseView, strokeWidthWcs?: number, arrowSizeWcs?: number): void;
47
157
  /**
48
158
  * Draw a translucent highlight rectangle with stroke.
49
159
  *
@@ -59,5 +169,5 @@ export declare function acapDrawOverlayHighlight(ctx: CanvasRenderingContext2D,
59
169
  }, b: {
60
170
  x: number;
61
171
  y: number;
62
- }, color: string, lineWidth?: number): void;
172
+ }, color: string, lineWidth: number | undefined, view: AcEdBaseView, strokeWidthWcs?: number): void;
63
173
  //# sourceMappingURL=AcApOverlayDrawUtil.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AcApOverlayDrawUtil.d.ts","sourceRoot":"","sources":["../../../src/command/overlay/AcApOverlayDrawUtil.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,iBAAiB,EACzB,SAAS,EAAE,WAAW,GACrB,wBAAwB,GAAG,IAAI,CAkBjC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,wBAAwB,EAC7B,IAAI,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC9B,EAAE,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC5B,KAAK,EAAE,MAAM,GACZ,IAAI,CAsBN;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,wBAAwB,EAC7B,GAAG,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC7B,MAAM,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAChC,KAAK,EAAE,MAAM,EACb,SAAS,UAAO,EAChB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N;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,wBAAwB,EAC7B,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3B,CAAC,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3B,KAAK,EAAE,MAAM,EACb,SAAS,oBAAM,EACf,IAAI,EAAE,YAAY,EAClB,cAAc,CAAC,EAAE,MAAM,GACtB,IAAI,CAkBN"}
@@ -1,6 +1,296 @@
1
1
  /**
2
2
  * Shared canvas helpers for markup / measure overlay drawing.
3
3
  */
4
+ var __values = (this && this.__values) || function(o) {
5
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
6
+ if (m) return m.call(o);
7
+ if (o && typeof o.length === "number") return {
8
+ next: function () {
9
+ if (o && i >= o.length) o = void 0;
10
+ return { value: o && o[i++], done: !o };
11
+ }
12
+ };
13
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
14
+ };
15
+ /** Dataset key storing stroke width in world units for view-synced canvas pens. */
16
+ export var ACAP_OVERLAY_STROKE_WCS = 'overlayStrokeWcs';
17
+ /** Dataset key storing revision-cloud lobe diameter in world units. */
18
+ export var ACAP_OVERLAY_CLOUD_WCS = 'overlayCloudWcs';
19
+ /** Target screen diameter in CSS pixels for each revision-cloud lobe at creation. */
20
+ export var ACAP_OVERLAY_CLOUD_DIAMETER_PX = 8;
21
+ /** Returns the active orthographic camera zoom, or `null` when unavailable. */
22
+ export function acapGetCameraZoom(view) {
23
+ var _a;
24
+ var zoom = (_a = view.internalCamera) === null || _a === void 0 ? void 0 : _a.zoom;
25
+ return typeof zoom === 'number' && zoom > 0 ? zoom : null;
26
+ }
27
+ /**
28
+ * CSS pixels per one world-space unit along +X (from {@link AcEdBaseView.worldToScreen}).
29
+ */
30
+ export function acapPixelsPerWorldUnit(view) {
31
+ var a = view.worldToScreen({ x: 0, y: 0 });
32
+ var b = view.worldToScreen({ x: 1, y: 0 });
33
+ var ppu = Math.hypot(b.x - a.x, b.y - a.y);
34
+ return ppu > 0 && Number.isFinite(ppu) ? ppu : 1;
35
+ }
36
+ /** Converts a screen-space size in CSS pixels to world units. */
37
+ export function acapScreenPxToWcs(px, view) {
38
+ return px / acapPixelsPerWorldUnit(view);
39
+ }
40
+ /** Converts a world-space size to CSS pixels at the current view scale. */
41
+ export function acapWcsToScreenPx(wcs, view) {
42
+ return wcs * acapPixelsPerWorldUnit(view);
43
+ }
44
+ /** Pre-seeds a canvas stroke width in world units (import / first layout). */
45
+ export function acapSeedOverlayStrokeWcs(anchor, strokeWidthWcs) {
46
+ if (!(strokeWidthWcs > 0) || !Number.isFinite(strokeWidthWcs))
47
+ return;
48
+ anchor.dataset[ACAP_OVERLAY_STROKE_WCS] = String(strokeWidthWcs);
49
+ }
50
+ /** Pre-seeds overlay arrow-head length in world units (import / first layout). */
51
+ export function acapSeedOverlayArrowWcs(anchor, arrowSizeWcs) {
52
+ if (!(arrowSizeWcs > 0) || !Number.isFinite(arrowSizeWcs))
53
+ return;
54
+ anchor.dataset[ACAP_OVERLAY_ARROW_WCS] = String(arrowSizeWcs);
55
+ }
56
+ /**
57
+ * View-synced canvas stroke width.
58
+ *
59
+ * Prefer an explicit world-space width; otherwise use a seeded dataset value,
60
+ * else convert `baseLineWidth` to WCS on first paint and keep that pen size as
61
+ * the camera zooms. Callers that re-seed after style edits should omit the
62
+ * explicit WCS argument so the dataset wins.
63
+ *
64
+ * A non-positive `baseLineWidth` is hairline: always 1 CSS pixel, with any
65
+ * stored WCS width cleared.
66
+ */
67
+ export function acapScaledOverlayLineWidth(baseLineWidth, anchor, view, strokeWidthWcs) {
68
+ if (!(baseLineWidth > 0)) {
69
+ delete anchor.dataset[ACAP_OVERLAY_STROKE_WCS];
70
+ return 1;
71
+ }
72
+ var ppu = acapPixelsPerWorldUnit(view);
73
+ var wcs = strokeWidthWcs != null && strokeWidthWcs > 0
74
+ ? strokeWidthWcs
75
+ : Number(anchor.dataset[ACAP_OVERLAY_STROKE_WCS]);
76
+ if (!Number.isFinite(wcs) || wcs <= 0) {
77
+ wcs = baseLineWidth / ppu;
78
+ anchor.dataset[ACAP_OVERLAY_STROKE_WCS] = String(wcs);
79
+ }
80
+ else if (strokeWidthWcs != null &&
81
+ strokeWidthWcs > 0 &&
82
+ anchor.dataset[ACAP_OVERLAY_STROKE_WCS] !== String(wcs)) {
83
+ anchor.dataset[ACAP_OVERLAY_STROKE_WCS] = String(wcs);
84
+ }
85
+ return Math.max(0.5, wcs * ppu);
86
+ }
87
+ /** Arrow-head length in CSS pixels at the overlay's creation-scale stroke. */
88
+ export var ACAP_OVERLAY_ARROW_SIZE_PX = 12;
89
+ /** Dataset key storing overlay arrow-head length in world units. */
90
+ export var ACAP_OVERLAY_ARROW_WCS = 'overlayArrowWcs';
91
+ /**
92
+ * Screen length of an overlay arrow head, tracking the same WCS scale as the stroke.
93
+ *
94
+ * Hairline overlays (`baseLineWidth <= 0`) keep a constant
95
+ * {@link ACAP_OVERLAY_ARROW_SIZE_PX}. Use this during jig / live preview so
96
+ * the head stays a fixed screen size while the user zooms. After commit, use
97
+ * {@link acapScaledOverlayArrowSize} to freeze that size in world units.
98
+ *
99
+ * @param scaledLineWidth - Stroke width already converted to the current view.
100
+ * @param baseLineWidth - CSS stroke used when the overlay was authored (default `2`).
101
+ */
102
+ export function acapOverlayArrowSize(scaledLineWidth, baseLineWidth) {
103
+ if (baseLineWidth === void 0) { baseLineWidth = 2; }
104
+ var base = baseLineWidth > 0 && Number.isFinite(baseLineWidth) ? baseLineWidth : 1;
105
+ return Math.max(1, scaledLineWidth * (ACAP_OVERLAY_ARROW_SIZE_PX / base));
106
+ }
107
+ /**
108
+ * Arrow-head length in CSS pixels that stays a fixed world size.
109
+ *
110
+ * Used by committed distance measurements and arrow markups. Seeds
111
+ * {@link ACAP_OVERLAY_ARROW_SIZE_PX} as WCS on first paint (the size shown
112
+ * during the jig) unless `arrowSizeWcs` is provided.
113
+ */
114
+ export function acapScaledOverlayArrowSize(canvas, view, arrowSizeWcs) {
115
+ var ppu = acapPixelsPerWorldUnit(view);
116
+ var wcs = arrowSizeWcs != null && arrowSizeWcs > 0
117
+ ? arrowSizeWcs
118
+ : Number(canvas.dataset[ACAP_OVERLAY_ARROW_WCS]);
119
+ if (!Number.isFinite(wcs) || wcs <= 0) {
120
+ wcs = ACAP_OVERLAY_ARROW_SIZE_PX / ppu;
121
+ canvas.dataset[ACAP_OVERLAY_ARROW_WCS] = String(wcs);
122
+ }
123
+ else if (arrowSizeWcs != null && arrowSizeWcs > 0) {
124
+ canvas.dataset[ACAP_OVERLAY_ARROW_WCS] = String(wcs);
125
+ }
126
+ return Math.max(0.5, wcs * ppu);
127
+ }
128
+ /**
129
+ * Screen dash pattern that stays proportional to the current stroke width.
130
+ */
131
+ export function acapOverlayDash(scaledLineWidth, baseLineWidth) {
132
+ if (baseLineWidth === void 0) { baseLineWidth = 2; }
133
+ var base = baseLineWidth > 0 && Number.isFinite(baseLineWidth) ? baseLineWidth : 1;
134
+ var s = scaledLineWidth / base;
135
+ return [8 * s, 5 * s];
136
+ }
137
+ /**
138
+ * Orthographic `baseZoom` that makes a fixed CSS size match a world-space size
139
+ * at the current view (for {@link AcTrHtmlElement.scaleWithView}).
140
+ */
141
+ export function acapBaseZoomFromWcsSize(screenPxAtCreate, sizeWcs, view) {
142
+ var zoom = acapGetCameraZoom(view);
143
+ var ppu = acapPixelsPerWorldUnit(view);
144
+ if (zoom == null || !(screenPxAtCreate > 0) || !(sizeWcs > 0))
145
+ return null;
146
+ var base = (screenPxAtCreate * zoom) / (sizeWcs * ppu);
147
+ return base > 0 && Number.isFinite(base) ? base : null;
148
+ }
149
+ /**
150
+ * Seeds HTML overlays and canvases from sidecar world-space sizes so import
151
+ * matches creation scale regardless of the current camera zoom.
152
+ */
153
+ export function acapSeedOverlaySizesFromWcs(view, options) {
154
+ var e_1, _a, e_2, _b, e_3, _c, e_4, _d, e_5, _e;
155
+ var textHeightWcs = options.textHeightWcs, strokeWidthWcs = options.strokeWidthWcs, fontSizePx = options.fontSizePx, elements = options.elements, canvases = options.canvases;
156
+ if (strokeWidthWcs != null && strokeWidthWcs > 0) {
157
+ try {
158
+ for (var _f = __values(canvases !== null && canvases !== void 0 ? canvases : []), _g = _f.next(); !_g.done; _g = _f.next()) {
159
+ var canvas = _g.value;
160
+ acapSeedOverlayStrokeWcs(canvas, strokeWidthWcs);
161
+ }
162
+ }
163
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
164
+ finally {
165
+ try {
166
+ if (_g && !_g.done && (_a = _f.return)) _a.call(_f);
167
+ }
168
+ finally { if (e_1) throw e_1.error; }
169
+ }
170
+ }
171
+ else if (options.strokeScreenPx === 0) {
172
+ try {
173
+ for (var _h = __values(canvases !== null && canvases !== void 0 ? canvases : []), _j = _h.next(); !_j.done; _j = _h.next()) {
174
+ var canvas = _j.value;
175
+ delete canvas.dataset[ACAP_OVERLAY_STROKE_WCS];
176
+ }
177
+ }
178
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
179
+ finally {
180
+ try {
181
+ if (_j && !_j.done && (_b = _h.return)) _b.call(_h);
182
+ }
183
+ finally { if (e_2) throw e_2.error; }
184
+ }
185
+ }
186
+ if (options.arrowSizeWcs != null && options.arrowSizeWcs > 0) {
187
+ try {
188
+ for (var _k = __values(canvases !== null && canvases !== void 0 ? canvases : []), _l = _k.next(); !_l.done; _l = _k.next()) {
189
+ var canvas = _l.value;
190
+ acapSeedOverlayArrowWcs(canvas, options.arrowSizeWcs);
191
+ }
192
+ }
193
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
194
+ finally {
195
+ try {
196
+ if (_l && !_l.done && (_c = _k.return)) _c.call(_k);
197
+ }
198
+ finally { if (e_3) throw e_3.error; }
199
+ }
200
+ }
201
+ if (strokeWidthWcs != null &&
202
+ strokeWidthWcs > 0 &&
203
+ options.strokeScreenPx != null &&
204
+ options.strokeScreenPx > 0) {
205
+ var cloudWcs = (ACAP_OVERLAY_CLOUD_DIAMETER_PX * strokeWidthWcs) / options.strokeScreenPx;
206
+ try {
207
+ for (var _m = __values(canvases !== null && canvases !== void 0 ? canvases : []), _o = _m.next(); !_o.done; _o = _m.next()) {
208
+ var canvas = _o.value;
209
+ canvas.dataset[ACAP_OVERLAY_CLOUD_WCS] = String(cloudWcs);
210
+ }
211
+ }
212
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
213
+ finally {
214
+ try {
215
+ if (_o && !_o.done && (_d = _m.return)) _d.call(_m);
216
+ }
217
+ finally { if (e_4) throw e_4.error; }
218
+ }
219
+ }
220
+ // Pair text screen/WCS axes only — never mix fontSize with strokeWidthWcs.
221
+ if (!(fontSizePx != null && fontSizePx > 0) ||
222
+ !(textHeightWcs != null && textHeightWcs > 0)) {
223
+ return;
224
+ }
225
+ var baseZoom = acapBaseZoomFromWcsSize(fontSizePx, textHeightWcs, view);
226
+ if (baseZoom == null)
227
+ return;
228
+ try {
229
+ for (var _p = __values(elements !== null && elements !== void 0 ? elements : []), _q = _p.next(); !_q.done; _q = _p.next()) {
230
+ var el = _q.value;
231
+ if (el.scaleWithView)
232
+ el.baseZoom = baseZoom;
233
+ }
234
+ }
235
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
236
+ finally {
237
+ try {
238
+ if (_q && !_q.done && (_e = _p.return)) _e.call(_p);
239
+ }
240
+ finally { if (e_5) throw e_5.error; }
241
+ }
242
+ }
243
+ /**
244
+ * Keeps live draw-preview overlays sized for the active text-height mode.
245
+ *
246
+ * - `'custom'`: seed {@link AcTrHtmlElement.baseZoom} from WCS so capsules
247
+ * scale with camera zoom during drawing.
248
+ * - `'adaptive'` (or missing WCS): disable view sync so size stays constant
249
+ * in screen pixels while drawing.
250
+ */
251
+ export function acapSyncLiveOverlayTextHeight(view, elements, style) {
252
+ var e_6, _a, e_7, _b;
253
+ var fontSize = style.fontSize != null && style.fontSize > 0 ? style.fontSize : 0;
254
+ var custom = style.textHeightMode === 'custom' &&
255
+ style.textHeightWcs != null &&
256
+ style.textHeightWcs > 0 &&
257
+ fontSize > 0;
258
+ if (custom) {
259
+ try {
260
+ for (var elements_1 = __values(elements), elements_1_1 = elements_1.next(); !elements_1_1.done; elements_1_1 = elements_1.next()) {
261
+ var el = elements_1_1.value;
262
+ el.scaleWithView = true;
263
+ }
264
+ }
265
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
266
+ finally {
267
+ try {
268
+ if (elements_1_1 && !elements_1_1.done && (_a = elements_1.return)) _a.call(elements_1);
269
+ }
270
+ finally { if (e_6) throw e_6.error; }
271
+ }
272
+ acapSeedOverlaySizesFromWcs(view, {
273
+ textHeightWcs: style.textHeightWcs,
274
+ fontSizePx: fontSize,
275
+ elements: elements
276
+ });
277
+ return;
278
+ }
279
+ try {
280
+ for (var elements_2 = __values(elements), elements_2_1 = elements_2.next(); !elements_2_1.done; elements_2_1 = elements_2.next()) {
281
+ var el = elements_2_1.value;
282
+ el.scaleWithView = false;
283
+ el.baseZoom = undefined;
284
+ }
285
+ }
286
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
287
+ finally {
288
+ try {
289
+ if (elements_2_1 && !elements_2_1.done && (_b = elements_2.return)) _b.call(elements_2);
290
+ }
291
+ finally { if (e_7) throw e_7.error; }
292
+ }
293
+ }
4
294
  /**
5
295
  * Fit a canvas to its container and return a 2D context cleared for this frame.
6
296
  *
@@ -35,6 +325,46 @@ export function acapFitOverlayCanvas(canvas, container) {
35
325
  ctx.clearRect(0, 0, rect.width, rect.height);
36
326
  return ctx;
37
327
  }
328
+ /**
329
+ * Fit a canvas to the view's drawing surface (not the outer container).
330
+ *
331
+ * Live measure overlays must use this when stroking with
332
+ * {@link AcEdBaseView.worldToScreen}: those coordinates are canvas-local,
333
+ * while the view container can include chrome around the WebGL canvas.
334
+ * Positions the overlay with {@link AcEdBaseView.canvasToContainer} so
335
+ * confirmed segments stay aligned with CSS2D badges.
336
+ *
337
+ * @param canvas - Target canvas element owned by an overlay.
338
+ * @param view - View whose canvas bounds and container offset are used.
339
+ * @returns A 2D context ready to draw, or `null` if unavailable.
340
+ */
341
+ export function acapFitOverlayCanvasToView(canvas, view) {
342
+ var rect = view.canvas.getBoundingClientRect();
343
+ var dpr = window.devicePixelRatio || 1;
344
+ var w = Math.round(rect.width);
345
+ var h = Math.round(rect.height);
346
+ var origin = view.canvasToContainer({ x: 0, y: 0 });
347
+ canvas.style.left = "".concat(origin.x, "px");
348
+ canvas.style.top = "".concat(origin.y, "px");
349
+ var cssWidth = "".concat(w, "px");
350
+ var cssHeight = "".concat(h, "px");
351
+ if (canvas.style.width !== cssWidth)
352
+ canvas.style.width = cssWidth;
353
+ if (canvas.style.height !== cssHeight)
354
+ canvas.style.height = cssHeight;
355
+ var bufferWidth = Math.max(1, Math.floor(w * dpr));
356
+ var bufferHeight = Math.max(1, Math.floor(h * dpr));
357
+ if (canvas.width !== bufferWidth)
358
+ canvas.width = bufferWidth;
359
+ if (canvas.height !== bufferHeight)
360
+ canvas.height = bufferHeight;
361
+ var ctx = canvas.getContext('2d');
362
+ if (!ctx)
363
+ return null;
364
+ ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
365
+ ctx.clearRect(0, 0, w, h);
366
+ return ctx;
367
+ }
38
368
  /**
39
369
  * Draw a filled arrow head at `to`, pointing along `from` → `to`.
40
370
  *
@@ -42,14 +372,16 @@ export function acapFitOverlayCanvas(canvas, container) {
42
372
  * @param from - Tail / direction reference in screen space.
43
373
  * @param to - Arrow tip in screen space.
44
374
  * @param color - CSS fill color.
375
+ * @param sizePx - Arrow length in CSS pixels (view-scaled by the caller).
45
376
  */
46
- export function acapDrawOverlayArrowHead(ctx, from, to, color) {
377
+ export function acapDrawOverlayArrowHead(ctx, from, to, color, sizePx) {
378
+ if (sizePx === void 0) { sizePx = ACAP_OVERLAY_ARROW_SIZE_PX; }
47
379
  var dx = to.x - from.x;
48
380
  var dy = to.y - from.y;
49
381
  var len = Math.hypot(dx, dy) || 1;
50
382
  var ux = dx / len;
51
383
  var uy = dy / len;
52
- var size = 12;
384
+ var size = sizePx;
53
385
  var left = {
54
386
  x: to.x - ux * size - uy * size * 0.45,
55
387
  y: to.y - uy * size + ux * size * 0.45
@@ -76,17 +408,18 @@ export function acapDrawOverlayArrowHead(ctx, from, to, color) {
76
408
  * @param withArrow - When `true`, draws an arrow head at `tip`.
77
409
  * @param lineWidth - Stroke width in CSS pixels.
78
410
  */
79
- export function acapDrawOverlayLeader(ctx, tip, anchor, color, withArrow, lineWidth) {
411
+ export function acapDrawOverlayLeader(ctx, tip, anchor, color, withArrow, lineWidth, view, strokeWidthWcs, arrowSizeWcs) {
80
412
  if (withArrow === void 0) { withArrow = true; }
81
413
  if (lineWidth === void 0) { lineWidth = 2; }
414
+ var strokeWidth = acapScaledOverlayLineWidth(lineWidth, ctx.canvas, view, strokeWidthWcs);
82
415
  ctx.strokeStyle = color;
83
- ctx.lineWidth = lineWidth;
416
+ ctx.lineWidth = strokeWidth;
84
417
  ctx.beginPath();
85
418
  ctx.moveTo(tip.x, tip.y);
86
419
  ctx.lineTo(anchor.x, anchor.y);
87
420
  ctx.stroke();
88
421
  if (withArrow) {
89
- acapDrawOverlayArrowHead(ctx, anchor, tip, color);
422
+ acapDrawOverlayArrowHead(ctx, anchor, tip, color, acapScaledOverlayArrowSize(ctx.canvas, view, arrowSizeWcs));
90
423
  }
91
424
  }
92
425
  /**
@@ -98,8 +431,9 @@ export function acapDrawOverlayLeader(ctx, tip, anchor, color, withArrow, lineWi
98
431
  * @param color - CSS fill / stroke color.
99
432
  * @param lineWidth - Outline stroke width in CSS pixels.
100
433
  */
101
- export function acapDrawOverlayHighlight(ctx, a, b, color, lineWidth) {
434
+ export function acapDrawOverlayHighlight(ctx, a, b, color, lineWidth, view, strokeWidthWcs) {
102
435
  if (lineWidth === void 0) { lineWidth = 1.5; }
436
+ var strokeWidth = acapScaledOverlayLineWidth(lineWidth, ctx.canvas, view, strokeWidthWcs);
103
437
  var x = Math.min(a.x, b.x);
104
438
  var y = Math.min(a.y, b.y);
105
439
  var w = Math.abs(a.x - b.x);
@@ -109,7 +443,7 @@ export function acapDrawOverlayHighlight(ctx, a, b, color, lineWidth) {
109
443
  ctx.fillRect(x, y, w, h);
110
444
  ctx.globalAlpha = 1;
111
445
  ctx.strokeStyle = color;
112
- ctx.lineWidth = lineWidth;
446
+ ctx.lineWidth = strokeWidth;
113
447
  ctx.strokeRect(x, y, w, h);
114
448
  }
115
449
  //# sourceMappingURL=AcApOverlayDrawUtil.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AcApOverlayDrawUtil.js","sourceRoot":"","sources":["../../../src/command/overlay/AcApOverlayDrawUtil.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,MAAM,UAAU,oBAAoB,CAClC,MAAyB,EACzB,SAAsB;IAEtB,IAAM,IAAI,GAAG,SAAS,CAAC,qBAAqB,EAAE,CAAA;IAC9C,IAAM,GAAG,GAAG,MAAM,CAAC,gBAAgB,IAAI,CAAC,CAAA;IACxC,IAAM,QAAQ,GAAG,UAAG,IAAI,CAAC,KAAK,OAAI,CAAA;IAClC,IAAM,SAAS,GAAG,UAAG,IAAI,CAAC,MAAM,OAAI,CAAA;IACpC,IAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAA;IAC7D,IAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,CAAC,CAAA;IAC/D,MAAM,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAA;IACvB,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAA;IACtB,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,KA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AC;AACH,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,wBAAwB,CACtC,GAA6B,EAC7B,CAA2B,EAC3B,CAA2B,EAC3B,KAAa,EACb,SAAe,EACf,IAAkB,EAClB,cAAuB;IAFvB,0BAAA,EAAA,eAAe;IAIf,IAAM,WAAW,GAAG,0BAA0B,CAC5C,SAAS,EACT,GAAG,CAAC,MAAM,EACV,IAAI,EACJ,cAAc,CACf,CAAA;IACD,IAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5B,IAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5B,IAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;IAC7B,IAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;IAC7B,GAAG,CAAC,SAAS,GAAG,KAAK,CAAA;IACrB,GAAG,CAAC,WAAW,GAAG,IAAI,CAAA;IACtB,GAAG,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;IACxB,GAAG,CAAC,WAAW,GAAG,CAAC,CAAA;IACnB,GAAG,CAAC,WAAW,GAAG,KAAK,CAAA;IACvB,GAAG,CAAC,SAAS,GAAG,WAAW,CAAA;IAC3B,GAAG,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAC5B,CAAC"}
@@ -45,14 +45,33 @@ export interface AcApOverlayPointerDragOptions {
45
45
  onMove: (world: AcApOverlayPoint2d, ev: PointerEvent) => void;
46
46
  /** Invoked on pointerup / cancel after a drag occurred. */
47
47
  onCommit: () => void;
48
+ /**
49
+ * When true (default), pointer world points go through object snap so
50
+ * measurement / markup endpoint edits match create-tool snapping.
51
+ * Set false for whole-object moves that should follow the cursor
52
+ * (callout bubble, text/stamp). Shape center grips pass true.
53
+ */
54
+ useOsnap?: boolean;
55
+ /**
56
+ * When false, pointerdown is ignored. Overlay grips also require the
57
+ * handle to already be selected (`ml-html-selected`).
58
+ */
59
+ isEnabled?: () => boolean;
48
60
  }
49
61
  /**
50
62
  * Bind pointer-drag on one HTML overlay handle.
51
63
  *
64
+ * Overlay endpoint grips (`ml-html-grip`) only drag when already selected, and
65
+ * all overlay endpoint grips are hidden for the duration of the drag (same as
66
+ * CAD entity grips).
67
+ *
52
68
  * Drag starts only after a small move so a double-click can still edit text.
53
69
  * Move / up listeners attach to `window` so CSS2D repositioning does not lose
54
70
  * events.
55
71
  *
72
+ * On phone/pad touch, osnap grips also drive the shared mobile snap loupe so
73
+ * the user can see the magnified sample while moving an endpoint.
74
+ *
56
75
  * @param options - Handle element and drag callbacks.
57
76
  * @returns Cleanup that removes listeners and cancels an in-progress drag.
58
77
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AcApOverlayGripHost.d.ts","sourceRoot":"","sources":["../../../src/command/overlay/AcApOverlayGripHost.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE/E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAA;IACT,0BAA0B;IAC1B,CAAC,EAAE,MAAM,CAAA;CACV;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,UAAU,EAChB,EAAE,EAAE,YAAY,GACf,kBAAkB,CAOpB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,UAAU,EAChB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