@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,607 +0,0 @@
1
- var __values = (this && this.__values) || function(o) {
2
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
3
- if (m) return m.call(o);
4
- if (o && typeof o.length === "number") return {
5
- next: function () {
6
- if (o && i >= o.length) o = void 0;
7
- return { value: o && o[i++], done: !o };
8
- }
9
- };
10
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
11
- };
12
- var __read = (this && this.__read) || function (o, n) {
13
- var m = typeof Symbol === "function" && o[Symbol.iterator];
14
- if (!m) return o;
15
- var i = m.call(o), r, ar = [], e;
16
- try {
17
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
18
- }
19
- catch (error) { e = { error: error }; }
20
- finally {
21
- try {
22
- if (r && !r.done && (m = i["return"])) m.call(i);
23
- }
24
- finally { if (e) throw e.error; }
25
- }
26
- return ar;
27
- };
28
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
29
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
30
- if (ar || !(i in from)) {
31
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
32
- ar[i] = from[i];
33
- }
34
- }
35
- return to.concat(ar || Array.prototype.slice.call(from));
36
- };
37
- import { AcCmColor, acdbHostApplicationServices, AcGiLineWeight } from '@mlightcad/data-model';
38
- import { AcApSettingManager } from '../app/AcApSettingManager';
39
- import { applyMarkupStyleToSelection } from '../command/markup/AcApMarkupPresenter';
40
- import { getMarkupStore } from '../command/markup/AcApMarkupStore';
41
- import { cssToMarkupColor, defaultMarkupColor, getMarkupFontSize, getMarkupLineWeight, markupColorToCss, setMarkupDrawColor, setMarkupDrawFontSize, setMarkupDrawLineWeight } from '../command/markup/AcApMarkupUtil';
42
- import { applyMeasurementStyleToSelection, getActiveMeasurementStyle, getSelectedMeasurementId, subscribeMeasurementSelection } from '../command/measure/AcApMeasurementStore';
43
- import { acedApplyUiTheme, resolveUiTheme } from '../editor/global/AcEdUiTheme';
44
- import { AcApI18n } from '../i18n';
45
- import { acapCssColor, acapCssToMeasurementColor, acapGetMeasurementColor, acapGetMeasurementFontSize, acapGetMeasurementLineWeight, acapSetMeasurementDrawColor, acapSetMeasurementDrawFontSize, acapSetMeasurementDrawLineWeight } from '../util/AcApMeasurementUtil';
46
- import { acapDrawStyleKindForCommand, acapResolveDrawStyleKind, acapSetDrawStyleToolbarVisible, acapShouldShowDrawStyleToolbar } from './AcApDrawStyle';
47
- /** Font-size choices shown in the overlay dropdown, in CSS pixels. */
48
- var FONT_SIZE_OPTIONS = [10, 12, 13, 14, 16, 18, 20, 24, 28, 32];
49
- /** DOM id of the injected stylesheet for the overlay. */
50
- var STYLE_ID = 'ml-draw-style-toolbar-styles';
51
- /** CSS rules for the overlay, color panel, and ACI swatches. */
52
- var TOOLBAR_CSS = "\n .ml-draw-style-toolbar {\n position: absolute;\n top: 20px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 99999;\n display: none;\n align-items: center;\n gap: 8px;\n padding: 4px 8px;\n box-sizing: border-box;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 6px;\n background: var(--ml-ui-bg, rgba(255, 255, 255, 0.96));\n box-shadow: var(--ml-ui-shadow, 0 2px 6px rgba(0, 0, 0, 0.12));\n color: var(--ml-ui-text, #303133);\n pointer-events: auto;\n }\n .ml-draw-style-toolbar.is-visible {\n display: inline-flex;\n }\n .ml-draw-style-toolbar__swatch {\n position: relative;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 4px;\n background: var(--ml-ui-bg, #fff);\n cursor: pointer;\n }\n .ml-draw-style-toolbar__swatch-fill {\n display: block;\n width: 14px;\n height: 14px;\n margin: 0 auto;\n border-radius: 50%;\n border: 1px solid #666;\n }\n .ml-draw-style-toolbar__select {\n height: 28px;\n min-width: 92px;\n max-width: 140px;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 4px;\n background: var(--ml-ui-bg, #fff);\n color: inherit;\n font-size: 12px;\n padding: 0 6px;\n }\n .ml-draw-style-toolbar__lineweight {\n position: relative;\n width: 120px;\n flex: 0 0 120px;\n }\n .ml-draw-style-toolbar__lineweight-trigger {\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n height: 28px;\n box-sizing: border-box;\n padding: 0 6px;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 4px;\n background: var(--ml-ui-bg, #fff);\n color: inherit;\n font-family: inherit;\n font-size: 12px;\n line-height: 1;\n text-align: left;\n cursor: pointer;\n }\n .ml-draw-style-toolbar__lineweight-label {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n }\n .ml-draw-style-toolbar__lineweight-caret {\n flex: 0 0 auto;\n margin-left: auto;\n width: 0;\n height: 0;\n border-left: 3.5px solid transparent;\n border-right: 3.5px solid transparent;\n border-top: 4px solid currentColor;\n opacity: 0.55;\n }\n .ml-draw-style-toolbar__lineweight-preview {\n position: relative;\n display: inline-flex;\n width: 36px;\n height: 14px;\n flex: 0 0 36px;\n }\n .ml-draw-style-toolbar__lineweight-preview::before {\n content: '';\n position: absolute;\n left: 0;\n right: 0;\n top: 50%;\n height: var(--ml-lineweight-height, 2px);\n transform: translateY(-50%);\n background-color: currentColor;\n border-radius: 999px;\n }\n .ml-draw-style-toolbar__lineweight-menu {\n display: none;\n position: absolute;\n top: calc(100% + 4px);\n left: 0;\n z-index: 2;\n min-width: 148px;\n max-height: 260px;\n overflow-y: auto;\n padding: 4px 0;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 6px;\n background: var(--ml-ui-bg, rgba(255, 255, 255, 0.98));\n box-shadow: var(--ml-ui-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));\n }\n .ml-draw-style-toolbar__lineweight-menu.is-open {\n display: block;\n }\n .ml-draw-style-toolbar__lineweight-item {\n display: flex;\n align-items: center;\n gap: 6px;\n width: 100%;\n box-sizing: border-box;\n padding: 4px 10px;\n border: 0;\n background: transparent;\n color: inherit;\n font-family: inherit;\n font-size: 12px;\n cursor: pointer;\n }\n .ml-draw-style-toolbar__lineweight-item:hover,\n .ml-draw-style-toolbar__lineweight-item.is-selected {\n background: var(--ml-ui-hover, rgba(64, 158, 255, 0.12));\n }\n .ml-draw-style-toolbar__lineweight-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n }\n .ml-draw-style-toolbar__color {\n position: relative;\n }\n .ml-draw-style-toolbar__color-panel {\n display: none;\n position: absolute;\n top: calc(100% + 6px);\n left: 0;\n z-index: 1;\n padding: 8px;\n border: 1px solid var(--ml-ui-border, #dcdfe6);\n border-radius: 6px;\n background: var(--ml-ui-bg, rgba(255, 255, 255, 0.98));\n box-shadow: var(--ml-ui-shadow, 0 4px 12px rgba(0, 0, 0, 0.16));\n --ml-draw-style-aci-cell: 11px;\n }\n .ml-draw-style-toolbar__color-panel.is-open {\n display: block;\n }\n .ml-draw-style-toolbar__aci-large {\n display: grid;\n grid-template-columns: repeat(24, var(--ml-draw-style-aci-cell));\n gap: 1px;\n margin-bottom: 6px;\n }\n .ml-draw-style-toolbar__aci-small {\n display: grid;\n grid-template-columns: repeat(9, var(--ml-draw-style-aci-cell));\n gap: 1px;\n margin-bottom: 6px;\n }\n .ml-draw-style-toolbar__aci-gray {\n display: flex;\n gap: 4px;\n }\n .ml-draw-style-toolbar__aci-cell {\n width: var(--ml-draw-style-aci-cell);\n height: var(--ml-draw-style-aci-cell);\n padding: 0;\n border: 1px solid #999;\n box-sizing: border-box;\n cursor: pointer;\n }\n .ml-draw-style-toolbar__aci-cell:hover {\n outline: 1px solid #00a8ff;\n }\n .ml-draw-style-toolbar__aci-cell.is-selected {\n outline: 2px solid var(--ml-ui-accent, #409eff);\n outline-offset: -1px;\n }\n ";
53
- /**
54
- * Builds an ACI indexed color.
55
- *
56
- * @param index - AutoCAD Color Index (1–255).
57
- * @returns Color whose `colorIndex` is `index`.
58
- */
59
- function colorFromAci(index) {
60
- var color = new AcCmColor();
61
- color.colorIndex = index;
62
- return color;
63
- }
64
- /**
65
- * CSS hex for an ACI index.
66
- *
67
- * @param index - AutoCAD Color Index.
68
- * @returns CSS color string, falling back to white.
69
- */
70
- function aciCss(index) {
71
- return colorFromAci(index).cssColor || '#ffffff';
72
- }
73
- /**
74
- * ACI index of a color when it is stored as ByACI.
75
- *
76
- * @param color - Color to inspect.
77
- * @returns Index ≥ 1, or `undefined` if the color is not ByACI.
78
- */
79
- function aciIndexOf(color) {
80
- if (color.isByACI && color.colorIndex != null && color.colorIndex >= 1) {
81
- return color.colorIndex;
82
- }
83
- return undefined;
84
- }
85
- /** ACI indices 1–9 (standard small palette). */
86
- var SMALL_ACI = Array.from({ length: 9 }, function (_, i) { return i + 1; });
87
- /** ACI indices 10–249 (large palette). */
88
- var LARGE_ACI = Array.from({ length: 240 }, function (_, i) { return i + 10; });
89
- /** ACI indices 250–255 (gray ramp). */
90
- var GRAY_ACI = Array.from({ length: 6 }, function (_, i) { return i + 250; });
91
- /**
92
- * Unique numeric line weights from {@link AcGiLineWeight}, sorted ascending.
93
- *
94
- * @returns Positive values in hundredths of a millimeter (for example 25 = 0.25 mm).
95
- */
96
- function numericLineWeights() {
97
- return Array.from(new Set(Object.values(AcGiLineWeight).filter(function (value) {
98
- return typeof value === 'number' && value > 0;
99
- }))).sort(function (a, b) { return a - b; });
100
- }
101
- /**
102
- * Formats a line weight for the dropdown label.
103
- *
104
- * @param value - Line weight in hundredths of a millimeter.
105
- * @returns Label such as `"0.25 mm"`.
106
- */
107
- function formatLineWeight(value) {
108
- return "".concat((value / 100).toFixed(2), " mm");
109
- }
110
- /**
111
- * Converts a numeric line weight into a clamped preview stroke thickness.
112
- *
113
- * @param value - Line weight in hundredths of a millimeter.
114
- * @returns Stroke height in CSS pixels.
115
- */
116
- function previewLineHeightPx(value) {
117
- return Math.max(1, Math.min(6, value / 40));
118
- }
119
- /**
120
- * Builds a compact line-weight dropdown with a stroke preview in each row.
121
- *
122
- * @param onChange - Called when the user picks a weight.
123
- * @param onOpen - Called just before the menu opens (used to close other popovers).
124
- * @returns Picker controller.
125
- */
126
- function createLineWeightPicker(onChange, onOpen) {
127
- var e_1, _a;
128
- var _b, _c;
129
- var prefix = 'ml-draw-style-toolbar';
130
- var weights = numericLineWeights();
131
- var open = false;
132
- var root = document.createElement('div');
133
- root.className = "".concat(prefix, "__lineweight");
134
- var trigger = document.createElement('button');
135
- trigger.type = 'button';
136
- trigger.className = "".concat(prefix, "__lineweight-trigger");
137
- trigger.setAttribute('aria-haspopup', 'listbox');
138
- trigger.setAttribute('aria-expanded', 'false');
139
- var preview = document.createElement('span');
140
- preview.className = "".concat(prefix, "__lineweight-preview");
141
- var label = document.createElement('span');
142
- label.className = "".concat(prefix, "__lineweight-label");
143
- var caret = document.createElement('span');
144
- caret.className = "".concat(prefix, "__lineweight-caret");
145
- caret.setAttribute('aria-hidden', 'true');
146
- trigger.append(preview, label, caret);
147
- var menu = document.createElement('div');
148
- menu.className = "".concat(prefix, "__lineweight-menu");
149
- menu.setAttribute('role', 'listbox');
150
- var paintTrigger = function (weight) {
151
- preview.style.setProperty('--ml-lineweight-height', "".concat(previewLineHeightPx(weight), "px"));
152
- label.textContent = formatLineWeight(weight);
153
- };
154
- var markSelected = function (weight) {
155
- menu.querySelectorAll(".".concat(prefix, "__lineweight-item")).forEach(function (node) {
156
- var item = node;
157
- item.classList.toggle('is-selected', item.dataset.value === String(weight));
158
- });
159
- };
160
- var close = function () {
161
- open = false;
162
- menu.classList.remove('is-open');
163
- trigger.setAttribute('aria-expanded', 'false');
164
- };
165
- var openMenu = function () {
166
- onOpen();
167
- open = true;
168
- menu.classList.add('is-open');
169
- trigger.setAttribute('aria-expanded', 'true');
170
- };
171
- var addItem = function (weight) {
172
- var item = document.createElement('button');
173
- item.type = 'button';
174
- item.className = "".concat(prefix, "__lineweight-item");
175
- item.dataset.value = String(weight);
176
- item.setAttribute('role', 'option');
177
- var itemPreview = document.createElement('span');
178
- itemPreview.className = "".concat(prefix, "__lineweight-preview");
179
- itemPreview.style.setProperty('--ml-lineweight-height', "".concat(previewLineHeightPx(weight), "px"));
180
- var itemLabel = document.createElement('span');
181
- itemLabel.className = "".concat(prefix, "__lineweight-text");
182
- itemLabel.textContent = formatLineWeight(weight);
183
- item.append(itemPreview, itemLabel);
184
- item.addEventListener('click', function (event) {
185
- event.preventDefault();
186
- event.stopPropagation();
187
- paintTrigger(weight);
188
- markSelected(weight);
189
- close();
190
- onChange(weight);
191
- });
192
- menu.appendChild(item);
193
- };
194
- try {
195
- for (var weights_1 = __values(weights), weights_1_1 = weights_1.next(); !weights_1_1.done; weights_1_1 = weights_1.next()) {
196
- var weight = weights_1_1.value;
197
- addItem(weight);
198
- }
199
- }
200
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
201
- finally {
202
- try {
203
- if (weights_1_1 && !weights_1_1.done && (_a = weights_1.return)) _a.call(weights_1);
204
- }
205
- finally { if (e_1) throw e_1.error; }
206
- }
207
- trigger.addEventListener('click', function (event) {
208
- event.preventDefault();
209
- event.stopPropagation();
210
- if (open)
211
- close();
212
- else
213
- openMenu();
214
- });
215
- root.append(trigger, menu);
216
- paintTrigger((_b = weights[0]) !== null && _b !== void 0 ? _b : 25);
217
- markSelected((_c = weights[0]) !== null && _c !== void 0 ? _c : 25);
218
- return {
219
- root: root,
220
- setValue: function (weight) {
221
- if (!(weight > 0))
222
- return;
223
- if (!menu.querySelector("[data-value=\"".concat(weight, "\"]")))
224
- addItem(weight);
225
- paintTrigger(weight);
226
- markSelected(weight);
227
- },
228
- setTitle: function (title) {
229
- trigger.title = title;
230
- },
231
- close: close,
232
- isOpen: function () { return open; },
233
- contains: function (node) { return !!node && root.contains(node); }
234
- };
235
- }
236
- /**
237
- * Injects overlay CSS into `document.head` once.
238
- */
239
- function ensureStyles() {
240
- if (typeof document === 'undefined')
241
- return;
242
- var style = document.getElementById(STYLE_ID);
243
- if (!style) {
244
- style = document.createElement('style');
245
- style.id = STYLE_ID;
246
- document.head.appendChild(style);
247
- }
248
- style.textContent = TOOLBAR_CSS;
249
- }
250
- /**
251
- * Compact color / lineweight / font-size overlay shown during measurement
252
- * and markup drawing commands, and while a measurement or markup overlay
253
- * is selected, when the host ribbon is hidden.
254
- */
255
- var AcApDrawStyleToolbar = /** @class */ (function () {
256
- /**
257
- * Creates the overlay, injects CSS, and listens for command start/end.
258
- *
259
- * @param view - 2D view whose container hosts the toolbar.
260
- */
261
- function AcApDrawStyleToolbar(
262
- /** 2D view whose container hosts this overlay. */
263
- view) {
264
- var _this = this;
265
- this.view = view;
266
- /** Whether the ACI popover is open. */
267
- this.colorPanelOpen = false;
268
- ensureStyles();
269
- this.root = document.createElement('div');
270
- this.root.className = 'ml-draw-style-toolbar';
271
- this.root.setAttribute('role', 'toolbar');
272
- acedApplyUiTheme(resolveUiTheme(view.container), this.root);
273
- this.colorWrap = document.createElement('div');
274
- this.colorWrap.className = 'ml-draw-style-toolbar__color';
275
- this.swatch = document.createElement('button');
276
- this.swatch.type = 'button';
277
- this.swatch.className = 'ml-draw-style-toolbar__swatch';
278
- this.swatchFill = document.createElement('span');
279
- this.swatchFill.className = 'ml-draw-style-toolbar__swatch-fill';
280
- this.swatch.appendChild(this.swatchFill);
281
- this.colorPanel = document.createElement('div');
282
- this.colorPanel.className = 'ml-draw-style-toolbar__color-panel';
283
- this.colorPanel.appendChild(this.createAciPalette(LARGE_ACI, 'ml-draw-style-toolbar__aci-large'));
284
- this.colorPanel.appendChild(this.createAciPalette(SMALL_ACI, 'ml-draw-style-toolbar__aci-small'));
285
- this.colorPanel.appendChild(this.createAciPalette(GRAY_ACI, 'ml-draw-style-toolbar__aci-gray'));
286
- this.colorWrap.appendChild(this.swatch);
287
- this.colorWrap.appendChild(this.colorPanel);
288
- this.root.appendChild(this.colorWrap);
289
- this.lineWeightPicker = createLineWeightPicker(function (weight) { return _this.applyLineWeight(weight); }, function () { return _this.hideColorPanel(); });
290
- this.root.appendChild(this.lineWeightPicker.root);
291
- this.fontSizeSelect = document.createElement('select');
292
- this.fontSizeSelect.className = 'ml-draw-style-toolbar__select';
293
- this.root.appendChild(this.fontSizeSelect);
294
- this.swatch.addEventListener('click', function (event) {
295
- event.preventDefault();
296
- event.stopPropagation();
297
- if (_this.colorPanelOpen)
298
- _this.hideColorPanel();
299
- else
300
- _this.showColorPanel();
301
- });
302
- this.colorWrap.addEventListener('mouseenter', function () {
303
- return _this.clearColorLeaveTimer();
304
- });
305
- this.colorWrap.addEventListener('mouseleave', function () {
306
- return _this.scheduleHideColorPanel();
307
- });
308
- this.fontSizeSelect.addEventListener('change', function () {
309
- var size = Number(_this.fontSizeSelect.value);
310
- if (size > 0)
311
- _this.applyFontSize(size);
312
- });
313
- this.root.addEventListener('pointerdown', function (event) { return event.stopPropagation(); });
314
- this.root.addEventListener('mousedown', function (event) { return event.stopPropagation(); });
315
- this.onDocumentPointerDown = function (event) {
316
- var target = event.target;
317
- var inColor = !!target && _this.colorWrap.contains(target);
318
- var inLineWeight = _this.lineWeightPicker.contains(target);
319
- var colorOpen = _this.colorPanelOpen;
320
- var weightOpen = _this.lineWeightPicker.isOpen();
321
- if (!colorOpen && !weightOpen)
322
- return;
323
- if (colorOpen && !inColor)
324
- _this.hideColorPanel();
325
- if (weightOpen && !inLineWeight)
326
- _this.lineWeightPicker.close();
327
- if (!inColor && !inLineWeight) {
328
- event.preventDefault();
329
- event.stopPropagation();
330
- }
331
- };
332
- document.addEventListener('pointerdown', this.onDocumentPointerDown, true);
333
- this.onCommandWillStart = function (args) {
334
- _this.commandKind = acapDrawStyleKindForCommand(args.command.globalName);
335
- _this.refreshKindAndVisibility();
336
- };
337
- this.onCommandEnded = function () {
338
- _this.commandKind = undefined;
339
- _this.refreshKindAndVisibility();
340
- };
341
- var host = view.container;
342
- if (getComputedStyle(host).position === 'static') {
343
- host.style.position = 'relative';
344
- }
345
- host.appendChild(this.root);
346
- view.editor.events.commandWillStart.addEventListener(this.onCommandWillStart);
347
- view.editor.events.commandEnded.addEventListener(this.onCommandEnded);
348
- this.onSettingsModified = function (args) {
349
- if (args.key === 'isShowRibbon')
350
- _this.refreshKindAndVisibility();
351
- };
352
- AcApSettingManager.instance.events.modified.addEventListener(this.onSettingsModified);
353
- this.unsubscribeMarkupStore = getMarkupStore().subscribe(function () {
354
- _this.refreshKindAndVisibility();
355
- });
356
- this.unsubscribeMeasurementSelection = subscribeMeasurementSelection(function () {
357
- _this.refreshKindAndVisibility();
358
- });
359
- this.relabel();
360
- }
361
- /**
362
- * Detaches DOM, editor, and setting listeners.
363
- */
364
- AcApDrawStyleToolbar.prototype.dispose = function () {
365
- this.hideColorPanel();
366
- this.lineWeightPicker.close();
367
- document.removeEventListener('pointerdown', this.onDocumentPointerDown, true);
368
- this.view.editor.events.commandWillStart.removeEventListener(this.onCommandWillStart);
369
- this.view.editor.events.commandEnded.removeEventListener(this.onCommandEnded);
370
- AcApSettingManager.instance.events.modified.removeEventListener(this.onSettingsModified);
371
- this.unsubscribeMarkupStore();
372
- this.unsubscribeMeasurementSelection();
373
- this.root.remove();
374
- acapSetDrawStyleToolbarVisible(false);
375
- };
376
- /**
377
- * Resolves command vs selection and shows or hides the overlay.
378
- */
379
- AcApDrawStyleToolbar.prototype.refreshKindAndVisibility = function () {
380
- this.kind = acapResolveDrawStyleKind({
381
- commandKind: this.commandKind,
382
- markupSelected: getMarkupStore().selectedId != null,
383
- measurementSelected: getSelectedMeasurementId() != null
384
- });
385
- this.refreshVisibility();
386
- };
387
- /**
388
- * Shows or hides the overlay based on {@link acapShouldShowDrawStyleToolbar}.
389
- */
390
- AcApDrawStyleToolbar.prototype.refreshVisibility = function () {
391
- var visible = acapShouldShowDrawStyleToolbar(this.kind);
392
- this.root.classList.toggle('is-visible', visible);
393
- acapSetDrawStyleToolbarVisible(visible);
394
- if (visible) {
395
- this.relabel();
396
- this.syncFromSession();
397
- }
398
- else {
399
- this.hideColorPanel();
400
- this.lineWeightPicker.close();
401
- }
402
- };
403
- /**
404
- * Applies localized titles to the color, line-weight, and font-size controls.
405
- */
406
- AcApDrawStyleToolbar.prototype.relabel = function () {
407
- this.swatch.title = AcApI18n.t('main.drawStyle.color');
408
- this.lineWeightPicker.setTitle(AcApI18n.t('main.drawStyle.lineWeight'));
409
- this.fontSizeSelect.title = AcApI18n.t('main.drawStyle.fontSize');
410
- };
411
- /**
412
- * Reads the current session (or selection) style and paints the controls.
413
- */
414
- AcApDrawStyleToolbar.prototype.syncFromSession = function () {
415
- var _a, _b, _c, _d, _e;
416
- if (this.kind === 'measure') {
417
- var selected_1 = getActiveMeasurementStyle();
418
- var db = acdbHostApplicationServices().workingDatabase;
419
- var color_1 = (_a = selected_1 === null || selected_1 === void 0 ? void 0 : selected_1.color) !== null && _a !== void 0 ? _a : (db ? acapGetMeasurementColor(db) : acapCssToMeasurementColor('#7b8794'));
420
- var lineWeight_1 = (_b = selected_1 === null || selected_1 === void 0 ? void 0 : selected_1.lineWeight) !== null && _b !== void 0 ? _b : acapGetMeasurementLineWeight();
421
- var fontSize_1 = (_c = selected_1 === null || selected_1 === void 0 ? void 0 : selected_1.fontSize) !== null && _c !== void 0 ? _c : acapGetMeasurementFontSize();
422
- this.paint(color_1, lineWeight_1, fontSize_1);
423
- return;
424
- }
425
- var selected = getMarkupStore().selectedId
426
- ? getMarkupStore().get(getMarkupStore().selectedId)
427
- : undefined;
428
- var color = selected
429
- ? cssToMarkupColor(selected.style.color)
430
- : defaultMarkupColor();
431
- var lineWeight = (_d = selected === null || selected === void 0 ? void 0 : selected.style.lineWeight) !== null && _d !== void 0 ? _d : getMarkupLineWeight();
432
- var fontSize = (_e = selected === null || selected === void 0 ? void 0 : selected.style.fontSize) !== null && _e !== void 0 ? _e : getMarkupFontSize();
433
- this.paint(color, lineWeight, fontSize);
434
- };
435
- /**
436
- * Updates swatch, line-weight, and font-size controls to match a style.
437
- *
438
- * @param color - Current draw color.
439
- * @param lineWeight - Current line weight.
440
- * @param fontSize - Current font size in CSS pixels.
441
- */
442
- AcApDrawStyleToolbar.prototype.paint = function (color, lineWeight, fontSize) {
443
- var e_2, _a;
444
- var css = acapCssColor(color);
445
- this.swatchFill.style.background = css;
446
- this.markSelectedAci(aciIndexOf(color));
447
- this.lineWeightPicker.setValue(lineWeight);
448
- var sizes = new Set(FONT_SIZE_OPTIONS);
449
- if (Number.isFinite(fontSize) && fontSize > 0)
450
- sizes.add(Math.round(fontSize));
451
- var sorted = __spreadArray([], __read(sizes), false).sort(function (a, b) { return a - b; });
452
- this.fontSizeSelect.replaceChildren();
453
- try {
454
- for (var sorted_1 = __values(sorted), sorted_1_1 = sorted_1.next(); !sorted_1_1.done; sorted_1_1 = sorted_1.next()) {
455
- var size = sorted_1_1.value;
456
- var option = document.createElement('option');
457
- option.value = String(size);
458
- option.textContent = "".concat(size, " px");
459
- this.fontSizeSelect.appendChild(option);
460
- }
461
- }
462
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
463
- finally {
464
- try {
465
- if (sorted_1_1 && !sorted_1_1.done && (_a = sorted_1.return)) _a.call(sorted_1);
466
- }
467
- finally { if (e_2) throw e_2.error; }
468
- }
469
- this.fontSizeSelect.value = String(Number.isFinite(fontSize) && fontSize > 0 ? Math.round(fontSize) : 12);
470
- };
471
- /**
472
- * Applies a color to the current session and any selected entities.
473
- *
474
- * @param color - Color chosen from the ACI panel.
475
- */
476
- AcApDrawStyleToolbar.prototype.applyColor = function (color) {
477
- this.swatchFill.style.background = acapCssColor(color);
478
- this.markSelectedAci(aciIndexOf(color));
479
- if (this.kind === 'measure') {
480
- acapSetMeasurementDrawColor(color);
481
- applyMeasurementStyleToSelection(this.view, { color: color });
482
- return;
483
- }
484
- setMarkupDrawColor(color);
485
- applyMarkupStyleToSelection(this.view, { color: markupColorToCss(color) });
486
- };
487
- /**
488
- * Builds a grid of ACI color cells.
489
- *
490
- * @param indices - ACI indices to show.
491
- * @param className - Layout class (`large`, `small`, or `gray`).
492
- * @returns Palette container.
493
- */
494
- AcApDrawStyleToolbar.prototype.createAciPalette = function (indices, className) {
495
- var e_3, _a;
496
- var _this = this;
497
- var palette = document.createElement('div');
498
- palette.className = className;
499
- var _loop_1 = function (index) {
500
- var cell = document.createElement('button');
501
- cell.type = 'button';
502
- cell.className = 'ml-draw-style-toolbar__aci-cell';
503
- cell.dataset.aci = String(index);
504
- cell.style.background = aciCss(index);
505
- cell.title = String(index);
506
- cell.addEventListener('click', function (event) {
507
- event.preventDefault();
508
- event.stopPropagation();
509
- _this.applyColor(colorFromAci(index));
510
- _this.hideColorPanel();
511
- });
512
- palette.appendChild(cell);
513
- };
514
- try {
515
- for (var indices_1 = __values(indices), indices_1_1 = indices_1.next(); !indices_1_1.done; indices_1_1 = indices_1.next()) {
516
- var index = indices_1_1.value;
517
- _loop_1(index);
518
- }
519
- }
520
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
521
- finally {
522
- try {
523
- if (indices_1_1 && !indices_1_1.done && (_a = indices_1.return)) _a.call(indices_1);
524
- }
525
- finally { if (e_3) throw e_3.error; }
526
- }
527
- return palette;
528
- };
529
- /**
530
- * Highlights the cell matching the current ACI index.
531
- *
532
- * @param index - Selected ACI index, or `undefined` to clear.
533
- */
534
- AcApDrawStyleToolbar.prototype.markSelectedAci = function (index) {
535
- this.colorPanel
536
- .querySelectorAll('.ml-draw-style-toolbar__aci-cell')
537
- .forEach(function (node) {
538
- var cell = node;
539
- cell.classList.toggle('is-selected', cell.dataset.aci === String(index));
540
- });
541
- };
542
- /**
543
- * Opens the ACI color popover.
544
- */
545
- AcApDrawStyleToolbar.prototype.showColorPanel = function () {
546
- this.lineWeightPicker.close();
547
- this.clearColorLeaveTimer();
548
- this.colorPanelOpen = true;
549
- this.colorPanel.classList.add('is-open');
550
- };
551
- /**
552
- * Closes the ACI color popover.
553
- */
554
- AcApDrawStyleToolbar.prototype.hideColorPanel = function () {
555
- this.clearColorLeaveTimer();
556
- this.colorPanelOpen = false;
557
- this.colorPanel.classList.remove('is-open');
558
- };
559
- /**
560
- * Starts a short delay before closing the popover after mouse leave.
561
- */
562
- AcApDrawStyleToolbar.prototype.scheduleHideColorPanel = function () {
563
- var _this = this;
564
- this.clearColorLeaveTimer();
565
- this.colorLeaveTimer = window.setTimeout(function () { return _this.hideColorPanel(); }, 180);
566
- };
567
- /**
568
- * Cancels a pending popover hide timer.
569
- */
570
- AcApDrawStyleToolbar.prototype.clearColorLeaveTimer = function () {
571
- if (this.colorLeaveTimer == null)
572
- return;
573
- window.clearTimeout(this.colorLeaveTimer);
574
- this.colorLeaveTimer = undefined;
575
- };
576
- /**
577
- * Applies a line weight to the current session and any selected entities.
578
- *
579
- * @param weight - Line weight in hundredths of a millimeter.
580
- */
581
- AcApDrawStyleToolbar.prototype.applyLineWeight = function (weight) {
582
- if (this.kind === 'measure') {
583
- acapSetMeasurementDrawLineWeight(weight);
584
- applyMeasurementStyleToSelection(this.view, { lineWeight: weight });
585
- return;
586
- }
587
- setMarkupDrawLineWeight(weight);
588
- applyMarkupStyleToSelection(this.view, { lineWeight: weight });
589
- };
590
- /**
591
- * Applies a font size to the current session and any selected entities.
592
- *
593
- * @param size - Font size in CSS pixels.
594
- */
595
- AcApDrawStyleToolbar.prototype.applyFontSize = function (size) {
596
- if (this.kind === 'measure') {
597
- acapSetMeasurementDrawFontSize(size);
598
- applyMeasurementStyleToSelection(this.view, { fontSize: size });
599
- return;
600
- }
601
- setMarkupDrawFontSize(size);
602
- applyMarkupStyleToSelection(this.view, { fontSize: size });
603
- };
604
- return AcApDrawStyleToolbar;
605
- }());
606
- export { AcApDrawStyleToolbar };
607
- //# sourceMappingURL=AcApDrawStyleToolbar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AcApDrawStyleToolbar.js","sourceRoot":"","sources":["../../src/ui/AcApDrawStyleToolbar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,2BAA2B,EAC3B,cAAc,EACf,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EACL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAA;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAClE,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,gCAAgC,EAChC,yBAAyB,EACzB,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,yCAAyC,CAAA;AAEhD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAA;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,EACL,YAAY,EACZ,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,4BAA4B,EAC5B,2BAA2B,EAC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