@mlightcad/cad-simple-viewer 1.4.12 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/dist/index.js +35505 -24550
  2. package/dist/index.umd.cjs +180 -49
  3. package/dist/libredwg-parser-worker.js +4874 -4548
  4. package/dist/mtext-renderer-worker.js +3587 -3534
  5. package/lib/app/AcApDocManager.d.ts +73 -8
  6. package/lib/app/AcApDocManager.d.ts.map +1 -1
  7. package/lib/app/AcApDocManager.js +216 -46
  8. package/lib/app/AcApDocManager.js.map +1 -1
  9. package/lib/command/AcApLogCmd.d.ts +1 -1
  10. package/lib/command/AcApLogCmd.d.ts.map +1 -1
  11. package/lib/command/AcApLogCmd.js +1 -1
  12. package/lib/command/AcApLogCmd.js.map +1 -1
  13. package/lib/command/AcApOpenCmd.d.ts +1 -1
  14. package/lib/command/AcApOpenCmd.d.ts.map +1 -1
  15. package/lib/command/AcApOpenCmd.js +1 -2
  16. package/lib/command/AcApOpenCmd.js.map +1 -1
  17. package/lib/command/AcApPanCmd.d.ts +1 -1
  18. package/lib/command/AcApPanCmd.d.ts.map +1 -1
  19. package/lib/command/AcApPanCmd.js +1 -2
  20. package/lib/command/AcApPanCmd.js.map +1 -1
  21. package/lib/command/AcApQNewCmd.d.ts +1 -1
  22. package/lib/command/AcApQNewCmd.d.ts.map +1 -1
  23. package/lib/command/AcApQNewCmd.js +1 -1
  24. package/lib/command/AcApQNewCmd.js.map +1 -1
  25. package/lib/command/AcApRegenCmd.d.ts +1 -1
  26. package/lib/command/AcApRegenCmd.d.ts.map +1 -1
  27. package/lib/command/AcApRegenCmd.js +1 -1
  28. package/lib/command/AcApRegenCmd.js.map +1 -1
  29. package/lib/command/AcApSelectCmd.d.ts +1 -1
  30. package/lib/command/AcApSelectCmd.d.ts.map +1 -1
  31. package/lib/command/AcApSelectCmd.js +1 -2
  32. package/lib/command/AcApSelectCmd.js.map +1 -1
  33. package/lib/command/AcApZoomCmd.d.ts +91 -20
  34. package/lib/command/AcApZoomCmd.d.ts.map +1 -1
  35. package/lib/command/AcApZoomCmd.js +288 -23
  36. package/lib/command/AcApZoomCmd.js.map +1 -1
  37. package/lib/command/{AcApConvertToDxfCmd.d.ts → convert/AcApConvertToDxfCmd.d.ts} +2 -2
  38. package/lib/command/convert/AcApConvertToDxfCmd.d.ts.map +1 -0
  39. package/lib/command/{AcApConvertToDxfCmd.js → convert/AcApConvertToDxfCmd.js} +1 -1
  40. package/lib/command/convert/AcApConvertToDxfCmd.js.map +1 -0
  41. package/lib/command/convert/AcApConvertToPngCmd.d.ts +53 -0
  42. package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -0
  43. package/lib/command/convert/AcApConvertToPngCmd.js +200 -0
  44. package/lib/command/convert/AcApConvertToPngCmd.js.map +1 -0
  45. package/lib/command/{AcApConvertToSvgCmd.d.ts → convert/AcApConvertToSvgCmd.d.ts} +2 -2
  46. package/lib/command/convert/AcApConvertToSvgCmd.d.ts.map +1 -0
  47. package/lib/command/{AcApConvertToSvgCmd.js → convert/AcApConvertToSvgCmd.js} +1 -1
  48. package/lib/command/convert/AcApConvertToSvgCmd.js.map +1 -0
  49. package/lib/command/convert/AcApDxfConvertor.d.ts.map +1 -0
  50. package/lib/command/{AcApDxfConvertor.js → convert/AcApDxfConvertor.js} +1 -1
  51. package/lib/command/convert/AcApDxfConvertor.js.map +1 -0
  52. package/lib/command/convert/AcApPngConvertor.d.ts +80 -0
  53. package/lib/command/convert/AcApPngConvertor.d.ts.map +1 -0
  54. package/lib/command/convert/AcApPngConvertor.js +233 -0
  55. package/lib/command/convert/AcApPngConvertor.js.map +1 -0
  56. package/lib/command/convert/AcApSvgConvertor.d.ts.map +1 -0
  57. package/lib/command/{AcApSvgConvertor.js → convert/AcApSvgConvertor.js} +1 -1
  58. package/lib/command/convert/AcApSvgConvertor.js.map +1 -0
  59. package/lib/command/convert/index.d.ts +6 -0
  60. package/lib/command/convert/index.d.ts.map +1 -0
  61. package/lib/command/convert/index.js +6 -0
  62. package/lib/command/convert/index.js.map +1 -0
  63. package/lib/command/draw/AcApArcCmd.d.ts +297 -0
  64. package/lib/command/draw/AcApArcCmd.d.ts.map +1 -0
  65. package/lib/command/{AcApArcCmd.js → draw/AcApArcCmd.js} +794 -13
  66. package/lib/command/draw/AcApArcCmd.js.map +1 -0
  67. package/lib/command/draw/AcApCircleCmd.d.ts +81 -0
  68. package/lib/command/draw/AcApCircleCmd.d.ts.map +1 -0
  69. package/lib/command/draw/AcApCircleCmd.js +594 -0
  70. package/lib/command/draw/AcApCircleCmd.js.map +1 -0
  71. package/lib/command/{AcApDimLinearCmd.d.ts → draw/AcApDimLinearCmd.d.ts} +2 -2
  72. package/lib/command/draw/AcApDimLinearCmd.d.ts.map +1 -0
  73. package/lib/command/{AcApDimLinearCmd.js → draw/AcApDimLinearCmd.js} +3 -3
  74. package/lib/command/draw/AcApDimLinearCmd.js.map +1 -0
  75. package/lib/command/draw/AcApEllipseCmd.d.ts +87 -0
  76. package/lib/command/draw/AcApEllipseCmd.d.ts.map +1 -0
  77. package/lib/command/draw/AcApEllipseCmd.js +583 -0
  78. package/lib/command/draw/AcApEllipseCmd.js.map +1 -0
  79. package/lib/command/draw/AcApHatchCmd.d.ts +247 -0
  80. package/lib/command/draw/AcApHatchCmd.d.ts.map +1 -0
  81. package/lib/command/draw/AcApHatchCmd.js +900 -0
  82. package/lib/command/draw/AcApHatchCmd.js.map +1 -0
  83. package/lib/command/draw/AcApLineCmd.d.ts +57 -0
  84. package/lib/command/draw/AcApLineCmd.d.ts.map +1 -0
  85. package/lib/command/draw/AcApLineCmd.js +263 -0
  86. package/lib/command/draw/AcApLineCmd.js.map +1 -0
  87. package/lib/command/draw/AcApMLineCmd.d.ts +31 -0
  88. package/lib/command/draw/AcApMLineCmd.d.ts.map +1 -0
  89. package/lib/command/draw/AcApMLineCmd.js +531 -0
  90. package/lib/command/draw/AcApMLineCmd.js.map +1 -0
  91. package/lib/command/{AcApMTextCmd.d.ts → draw/AcApMTextCmd.d.ts} +2 -2
  92. package/lib/command/draw/AcApMTextCmd.d.ts.map +1 -0
  93. package/lib/command/{AcApMTextCmd.js → draw/AcApMTextCmd.js} +3 -3
  94. package/lib/command/draw/AcApMTextCmd.js.map +1 -0
  95. package/lib/command/draw/AcApPointCmd.d.ts +16 -0
  96. package/lib/command/draw/AcApPointCmd.d.ts.map +1 -0
  97. package/lib/command/{AcApZoomToBoxCmd.js → draw/AcApPointCmd.js} +32 -37
  98. package/lib/command/draw/AcApPointCmd.js.map +1 -0
  99. package/lib/command/draw/AcApPolygonCmd.d.ts +69 -0
  100. package/lib/command/draw/AcApPolygonCmd.d.ts.map +1 -0
  101. package/lib/command/draw/AcApPolygonCmd.js +422 -0
  102. package/lib/command/draw/AcApPolygonCmd.js.map +1 -0
  103. package/lib/command/{AcApPolylineCmd.d.ts → draw/AcApPolylineCmd.d.ts} +2 -2
  104. package/lib/command/draw/AcApPolylineCmd.d.ts.map +1 -0
  105. package/lib/command/{AcApPolylineCmd.js → draw/AcApPolylineCmd.js} +3 -3
  106. package/lib/command/draw/AcApPolylineCmd.js.map +1 -0
  107. package/lib/command/draw/AcApRayCmd.d.ts +10 -0
  108. package/lib/command/draw/AcApRayCmd.d.ts.map +1 -0
  109. package/lib/command/{AcApLineCmd.js → draw/AcApRayCmd.js} +63 -44
  110. package/lib/command/draw/AcApRayCmd.js.map +1 -0
  111. package/lib/command/draw/AcApRectCmd.d.ts +168 -0
  112. package/lib/command/draw/AcApRectCmd.d.ts.map +1 -0
  113. package/lib/command/draw/AcApRectCmd.js +822 -0
  114. package/lib/command/draw/AcApRectCmd.js.map +1 -0
  115. package/lib/command/draw/AcApSplineCmd.d.ts +85 -0
  116. package/lib/command/draw/AcApSplineCmd.d.ts.map +1 -0
  117. package/lib/command/draw/AcApSplineCmd.js +620 -0
  118. package/lib/command/draw/AcApSplineCmd.js.map +1 -0
  119. package/lib/command/draw/AcApXLineCmd.d.ts +25 -0
  120. package/lib/command/draw/AcApXLineCmd.d.ts.map +1 -0
  121. package/lib/command/draw/AcApXLineCmd.js +210 -0
  122. package/lib/command/draw/AcApXLineCmd.js.map +1 -0
  123. package/lib/command/draw/index.d.ts +16 -0
  124. package/lib/command/draw/index.d.ts.map +1 -0
  125. package/lib/command/draw/index.js +16 -0
  126. package/lib/command/draw/index.js.map +1 -0
  127. package/lib/command/index.d.ts +6 -26
  128. package/lib/command/index.d.ts.map +1 -1
  129. package/lib/command/index.js +6 -26
  130. package/lib/command/index.js.map +1 -1
  131. package/lib/command/layer/AcApLayerCloseCmd.d.ts +23 -0
  132. package/lib/command/layer/AcApLayerCloseCmd.d.ts.map +1 -0
  133. package/lib/command/{AcApRevRectCmd.js → layer/AcApLayerCloseCmd.js} +27 -24
  134. package/lib/command/layer/AcApLayerCloseCmd.js.map +1 -0
  135. package/lib/command/layer/AcApLayerCmd.d.ts +215 -0
  136. package/lib/command/layer/AcApLayerCmd.d.ts.map +1 -0
  137. package/lib/command/layer/AcApLayerCmd.js +765 -0
  138. package/lib/command/layer/AcApLayerCmd.js.map +1 -0
  139. package/lib/command/layer/AcApLayerCurCmd.d.ts +43 -0
  140. package/lib/command/layer/AcApLayerCurCmd.d.ts.map +1 -0
  141. package/lib/command/layer/AcApLayerCurCmd.js +183 -0
  142. package/lib/command/layer/AcApLayerCurCmd.js.map +1 -0
  143. package/lib/command/layer/AcApLayerDelCmd.d.ts +112 -0
  144. package/lib/command/layer/AcApLayerDelCmd.d.ts.map +1 -0
  145. package/lib/command/layer/AcApLayerDelCmd.js +446 -0
  146. package/lib/command/layer/AcApLayerDelCmd.js.map +1 -0
  147. package/lib/command/layer/AcApLayerFreezeCmd.d.ts +103 -0
  148. package/lib/command/layer/AcApLayerFreezeCmd.d.ts.map +1 -0
  149. package/lib/command/layer/AcApLayerFreezeCmd.js +398 -0
  150. package/lib/command/layer/AcApLayerFreezeCmd.js.map +1 -0
  151. package/lib/command/layer/AcApLayerIsoCmd.d.ts +99 -0
  152. package/lib/command/layer/AcApLayerIsoCmd.d.ts.map +1 -0
  153. package/lib/command/layer/AcApLayerIsoCmd.js +485 -0
  154. package/lib/command/layer/AcApLayerIsoCmd.js.map +1 -0
  155. package/lib/command/layer/AcApLayerIsoState.d.ts +68 -0
  156. package/lib/command/layer/AcApLayerIsoState.d.ts.map +1 -0
  157. package/lib/command/layer/AcApLayerIsoState.js +53 -0
  158. package/lib/command/layer/AcApLayerIsoState.js.map +1 -0
  159. package/lib/command/layer/AcApLayerLockCmd.d.ts +50 -0
  160. package/lib/command/layer/AcApLayerLockCmd.d.ts.map +1 -0
  161. package/lib/command/layer/AcApLayerLockCmd.js +175 -0
  162. package/lib/command/layer/AcApLayerLockCmd.js.map +1 -0
  163. package/lib/command/layer/AcApLayerOffCmd.d.ts +95 -0
  164. package/lib/command/layer/AcApLayerOffCmd.d.ts.map +1 -0
  165. package/lib/command/layer/AcApLayerOffCmd.js +384 -0
  166. package/lib/command/layer/AcApLayerOffCmd.js.map +1 -0
  167. package/lib/command/layer/AcApLayerOnCmd.d.ts +30 -0
  168. package/lib/command/layer/AcApLayerOnCmd.d.ts.map +1 -0
  169. package/lib/command/layer/AcApLayerOnCmd.js +138 -0
  170. package/lib/command/layer/AcApLayerOnCmd.js.map +1 -0
  171. package/lib/command/layer/AcApLayerPCmd.d.ts +83 -0
  172. package/lib/command/layer/AcApLayerPCmd.d.ts.map +1 -0
  173. package/lib/command/layer/AcApLayerPCmd.js +241 -0
  174. package/lib/command/layer/AcApLayerPCmd.js.map +1 -0
  175. package/lib/command/layer/AcApLayerThawCmd.d.ts +37 -0
  176. package/lib/command/layer/AcApLayerThawCmd.d.ts.map +1 -0
  177. package/lib/command/layer/AcApLayerThawCmd.js +150 -0
  178. package/lib/command/layer/AcApLayerThawCmd.js.map +1 -0
  179. package/lib/command/layer/AcApLayerUnisoCmd.d.ts +52 -0
  180. package/lib/command/layer/AcApLayerUnisoCmd.d.ts.map +1 -0
  181. package/lib/command/layer/AcApLayerUnisoCmd.js +199 -0
  182. package/lib/command/layer/AcApLayerUnisoCmd.js.map +1 -0
  183. package/lib/command/layer/AcApLayerUnlockCmd.d.ts +50 -0
  184. package/lib/command/layer/AcApLayerUnlockCmd.d.ts.map +1 -0
  185. package/lib/command/layer/AcApLayerUnlockCmd.js +175 -0
  186. package/lib/command/layer/AcApLayerUnlockCmd.js.map +1 -0
  187. package/lib/command/layer/index.d.ts +14 -0
  188. package/lib/command/layer/index.d.ts.map +1 -0
  189. package/lib/command/layer/index.js +14 -0
  190. package/lib/command/layer/index.js.map +1 -0
  191. package/lib/command/{AcApClearMeasurementsCmd.d.ts → measure/AcApClearMeasurementsCmd.d.ts} +2 -2
  192. package/lib/command/measure/AcApClearMeasurementsCmd.d.ts.map +1 -0
  193. package/lib/command/{AcApClearMeasurementsCmd.js → measure/AcApClearMeasurementsCmd.js} +1 -1
  194. package/lib/command/measure/AcApClearMeasurementsCmd.js.map +1 -0
  195. package/lib/command/{AcApMeasureAngleCmd.d.ts → measure/AcApMeasureAngleCmd.d.ts} +2 -2
  196. package/lib/command/measure/AcApMeasureAngleCmd.d.ts.map +1 -0
  197. package/lib/command/{AcApMeasureAngleCmd.js → measure/AcApMeasureAngleCmd.js} +3 -3
  198. package/lib/command/measure/AcApMeasureAngleCmd.js.map +1 -0
  199. package/lib/command/{AcApMeasureArcCmd.d.ts → measure/AcApMeasureArcCmd.d.ts} +2 -2
  200. package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -0
  201. package/lib/command/{AcApMeasureArcCmd.js → measure/AcApMeasureArcCmd.js} +3 -3
  202. package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -0
  203. package/lib/command/{AcApMeasureAreaCmd.d.ts → measure/AcApMeasureAreaCmd.d.ts} +2 -2
  204. package/lib/command/measure/AcApMeasureAreaCmd.d.ts.map +1 -0
  205. package/lib/command/{AcApMeasureAreaCmd.js → measure/AcApMeasureAreaCmd.js} +6 -3
  206. package/lib/command/measure/AcApMeasureAreaCmd.js.map +1 -0
  207. package/lib/command/{AcApMeasureDistanceCmd.d.ts → measure/AcApMeasureDistanceCmd.d.ts} +2 -2
  208. package/lib/command/measure/AcApMeasureDistanceCmd.d.ts.map +1 -0
  209. package/lib/command/{AcApMeasureDistanceCmd.js → measure/AcApMeasureDistanceCmd.js} +3 -3
  210. package/lib/command/measure/AcApMeasureDistanceCmd.js.map +1 -0
  211. package/lib/command/measure/index.d.ts +6 -0
  212. package/lib/command/measure/index.d.ts.map +1 -0
  213. package/lib/command/measure/index.js +6 -0
  214. package/lib/command/measure/index.js.map +1 -0
  215. package/lib/command/modify/AcApCopyCmd.d.ts +94 -0
  216. package/lib/command/modify/AcApCopyCmd.d.ts.map +1 -0
  217. package/lib/command/modify/AcApCopyCmd.js +549 -0
  218. package/lib/command/modify/AcApCopyCmd.js.map +1 -0
  219. package/lib/command/{AcApEraseCmd.d.ts → modify/AcApEraseCmd.d.ts} +2 -2
  220. package/lib/command/modify/AcApEraseCmd.d.ts.map +1 -0
  221. package/lib/command/{AcApEraseCmd.js → modify/AcApEraseCmd.js} +3 -5
  222. package/lib/command/modify/AcApEraseCmd.js.map +1 -0
  223. package/lib/command/modify/AcApMoveCmd.d.ts +16 -0
  224. package/lib/command/modify/AcApMoveCmd.d.ts.map +1 -0
  225. package/lib/command/modify/AcApMoveCmd.js +277 -0
  226. package/lib/command/modify/AcApMoveCmd.js.map +1 -0
  227. package/lib/command/modify/AcApRotateCmd.d.ts +81 -0
  228. package/lib/command/modify/AcApRotateCmd.d.ts.map +1 -0
  229. package/lib/command/modify/AcApRotateCmd.js +487 -0
  230. package/lib/command/modify/AcApRotateCmd.js.map +1 -0
  231. package/lib/command/modify/index.d.ts +5 -0
  232. package/lib/command/modify/index.d.ts.map +1 -0
  233. package/lib/command/modify/index.js +5 -0
  234. package/lib/command/modify/index.js.map +1 -0
  235. package/lib/command/{AcApBaseRevCmd.d.ts → review/AcApBaseRevCmd.d.ts} +2 -2
  236. package/lib/command/review/AcApBaseRevCmd.d.ts.map +1 -0
  237. package/lib/command/{AcApBaseRevCmd.js → review/AcApBaseRevCmd.js} +2 -2
  238. package/lib/command/review/AcApBaseRevCmd.js.map +1 -0
  239. package/lib/command/review/AcApRevCircleCmd.d.ts +18 -0
  240. package/lib/command/review/AcApRevCircleCmd.d.ts.map +1 -0
  241. package/lib/command/{AcApCircleCmd.js → review/AcApRevCircleCmd.js} +26 -42
  242. package/lib/command/review/AcApRevCircleCmd.js.map +1 -0
  243. package/lib/command/{AcApRevCloudCmd.d.ts → review/AcApRevCloudCmd.d.ts} +2 -2
  244. package/lib/command/review/AcApRevCloudCmd.d.ts.map +1 -0
  245. package/lib/command/{AcApRevCloudCmd.js → review/AcApRevCloudCmd.js} +3 -3
  246. package/lib/command/review/AcApRevCloudCmd.js.map +1 -0
  247. package/lib/command/review/AcApRevRectCmd.d.ts +18 -0
  248. package/lib/command/review/AcApRevRectCmd.d.ts.map +1 -0
  249. package/lib/command/{AcApRectCmd.js → review/AcApRevRectCmd.js} +43 -28
  250. package/lib/command/review/AcApRevRectCmd.js.map +1 -0
  251. package/lib/command/{AcApRevVisibilityCmd.d.ts → review/AcApRevVisibilityCmd.d.ts} +1 -1
  252. package/lib/command/review/AcApRevVisibilityCmd.d.ts.map +1 -0
  253. package/lib/command/{AcApRevVisibilityCmd.js → review/AcApRevVisibilityCmd.js} +2 -2
  254. package/lib/command/review/AcApRevVisibilityCmd.js.map +1 -0
  255. package/lib/command/{AcApSketchCmd.d.ts → review/AcApSketchCmd.d.ts} +2 -2
  256. package/lib/command/review/AcApSketchCmd.d.ts.map +1 -0
  257. package/lib/command/{AcApSketchCmd.js → review/AcApSketchCmd.js} +3 -3
  258. package/lib/command/review/AcApSketchCmd.js.map +1 -0
  259. package/lib/command/review/index.d.ts +7 -0
  260. package/lib/command/review/index.d.ts.map +1 -0
  261. package/lib/command/review/index.js +7 -0
  262. package/lib/command/review/index.js.map +1 -0
  263. package/lib/editor/command/AcEdCommandStack.d.ts +54 -1
  264. package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
  265. package/lib/editor/command/AcEdCommandStack.js +207 -25
  266. package/lib/editor/command/AcEdCommandStack.js.map +1 -1
  267. package/lib/editor/global/eventBus.d.ts +4 -6
  268. package/lib/editor/global/eventBus.d.ts.map +1 -1
  269. package/lib/editor/global/eventBus.js.map +1 -1
  270. package/lib/editor/input/AcEdSelectionFilter.d.ts +79 -0
  271. package/lib/editor/input/AcEdSelectionFilter.d.ts.map +1 -0
  272. package/lib/editor/input/AcEdSelectionFilter.js +231 -0
  273. package/lib/editor/input/AcEdSelectionFilter.js.map +1 -0
  274. package/lib/editor/input/AcEditor.d.ts +37 -2
  275. package/lib/editor/input/AcEditor.d.ts.map +1 -1
  276. package/lib/editor/input/AcEditor.js +89 -0
  277. package/lib/editor/input/AcEditor.js.map +1 -1
  278. package/lib/editor/input/index.d.ts +1 -0
  279. package/lib/editor/input/index.d.ts.map +1 -1
  280. package/lib/editor/input/index.js +1 -0
  281. package/lib/editor/input/index.js.map +1 -1
  282. package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts +47 -0
  283. package/lib/editor/input/prompt/AcEdKeywordCollection.d.ts.map +1 -1
  284. package/lib/editor/input/prompt/AcEdKeywordCollection.js +19 -0
  285. package/lib/editor/input/prompt/AcEdKeywordCollection.js.map +1 -1
  286. package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts +7 -0
  287. package/lib/editor/input/prompt/AcEdPromptAngleOptions.d.ts.map +1 -1
  288. package/lib/editor/input/prompt/AcEdPromptAngleOptions.js +17 -0
  289. package/lib/editor/input/prompt/AcEdPromptAngleOptions.js.map +1 -1
  290. package/lib/editor/input/prompt/AcEdPromptBoxOptions.d.ts +6 -0
  291. package/lib/editor/input/prompt/AcEdPromptBoxOptions.d.ts.map +1 -1
  292. package/lib/editor/input/prompt/AcEdPromptBoxOptions.js +16 -0
  293. package/lib/editor/input/prompt/AcEdPromptBoxOptions.js.map +1 -1
  294. package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts +17 -0
  295. package/lib/editor/input/prompt/AcEdPromptEntityOptions.d.ts.map +1 -1
  296. package/lib/editor/input/prompt/AcEdPromptEntityOptions.js +30 -3
  297. package/lib/editor/input/prompt/AcEdPromptEntityOptions.js.map +1 -1
  298. package/lib/editor/input/prompt/AcEdPromptOptions.d.ts +6 -1
  299. package/lib/editor/input/prompt/AcEdPromptOptions.d.ts.map +1 -1
  300. package/lib/editor/input/prompt/AcEdPromptOptions.js +7 -0
  301. package/lib/editor/input/prompt/AcEdPromptOptions.js.map +1 -1
  302. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +6 -0
  303. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
  304. package/lib/editor/input/prompt/AcEdPromptPointOptions.js +16 -0
  305. package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
  306. package/lib/editor/input/session/AcEdKeywordSession.d.ts +65 -0
  307. package/lib/editor/input/session/AcEdKeywordSession.d.ts.map +1 -1
  308. package/lib/editor/input/session/AcEdKeywordSession.js +71 -0
  309. package/lib/editor/input/session/AcEdKeywordSession.js.map +1 -1
  310. package/lib/editor/input/ui/AcEdCommandLine.d.ts +29 -4
  311. package/lib/editor/input/ui/AcEdCommandLine.d.ts.map +1 -1
  312. package/lib/editor/input/ui/AcEdCommandLine.js +118 -24
  313. package/lib/editor/input/ui/AcEdCommandLine.js.map +1 -1
  314. package/lib/editor/input/ui/AcEdFloatingInput.d.ts +1 -0
  315. package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
  316. package/lib/editor/input/ui/AcEdFloatingInput.js +12 -4
  317. package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
  318. package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts +23 -1
  319. package/lib/editor/input/ui/AcEdFloatingInputBoxes.d.ts.map +1 -1
  320. package/lib/editor/input/ui/AcEdFloatingInputBoxes.js +32 -9
  321. package/lib/editor/input/ui/AcEdFloatingInputBoxes.js.map +1 -1
  322. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +28 -0
  323. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
  324. package/lib/editor/input/ui/AcEdInputManager.d.ts +377 -16
  325. package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
  326. package/lib/editor/input/ui/AcEdInputManager.js +994 -529
  327. package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
  328. package/lib/editor/input/ui/AcEdMessageType.d.ts +10 -0
  329. package/lib/editor/input/ui/AcEdMessageType.d.ts.map +1 -0
  330. package/lib/editor/input/ui/AcEdMessageType.js +2 -0
  331. package/lib/editor/input/ui/AcEdMessageType.js.map +1 -0
  332. package/lib/editor/input/ui/AcEdRubberBand.d.ts +15 -1
  333. package/lib/editor/input/ui/AcEdRubberBand.d.ts.map +1 -1
  334. package/lib/editor/input/ui/AcEdRubberBand.js +42 -10
  335. package/lib/editor/input/ui/AcEdRubberBand.js.map +1 -1
  336. package/lib/editor/input/ui/index.d.ts +1 -0
  337. package/lib/editor/input/ui/index.d.ts.map +1 -1
  338. package/lib/editor/input/ui/index.js +1 -0
  339. package/lib/editor/input/ui/index.js.map +1 -1
  340. package/lib/editor/view/AcEdBaseView.d.ts +3 -8
  341. package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
  342. package/lib/editor/view/AcEdBaseView.js +3 -5
  343. package/lib/editor/view/AcEdBaseView.js.map +1 -1
  344. package/lib/editor/view/AcEdHoverController.d.ts +2 -3
  345. package/lib/editor/view/AcEdHoverController.d.ts.map +1 -1
  346. package/lib/editor/view/AcEdHoverController.js +7 -0
  347. package/lib/editor/view/AcEdHoverController.js.map +1 -1
  348. package/lib/editor/view/AcEdSelectionAction.d.ts +108 -0
  349. package/lib/editor/view/AcEdSelectionAction.d.ts.map +1 -0
  350. package/lib/editor/view/AcEdSelectionAction.js +74 -0
  351. package/lib/editor/view/AcEdSelectionAction.js.map +1 -0
  352. package/lib/editor/view/index.d.ts +1 -0
  353. package/lib/editor/view/index.d.ts.map +1 -1
  354. package/lib/editor/view/index.js +1 -0
  355. package/lib/editor/view/index.js.map +1 -1
  356. package/lib/i18n/en/command.d.ts +148 -10
  357. package/lib/i18n/en/command.d.ts.map +1 -1
  358. package/lib/i18n/en/command.js +153 -15
  359. package/lib/i18n/en/command.js.map +1 -1
  360. package/lib/i18n/en/jig.d.ts +838 -36
  361. package/lib/i18n/en/jig.d.ts.map +1 -1
  362. package/lib/i18n/en/jig.js +827 -25
  363. package/lib/i18n/en/jig.js.map +1 -1
  364. package/lib/i18n/zh/command.d.ts +148 -10
  365. package/lib/i18n/zh/command.d.ts.map +1 -1
  366. package/lib/i18n/zh/command.js +155 -17
  367. package/lib/i18n/zh/command.js.map +1 -1
  368. package/lib/i18n/zh/jig.d.ts +851 -49
  369. package/lib/i18n/zh/jig.d.ts.map +1 -1
  370. package/lib/i18n/zh/jig.js +829 -27
  371. package/lib/i18n/zh/jig.js.map +1 -1
  372. package/lib/plugin/AcApPluginManager.d.ts.map +1 -1
  373. package/lib/plugin/AcApPluginManager.js.map +1 -1
  374. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts +136 -2
  375. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts.map +1 -1
  376. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js +154 -16
  377. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js.map +1 -1
  378. package/lib/view/AcTrLayer.d.ts.map +1 -1
  379. package/lib/view/AcTrLayer.js +5 -3
  380. package/lib/view/AcTrLayer.js.map +1 -1
  381. package/lib/view/AcTrLayout.d.ts +17 -0
  382. package/lib/view/AcTrLayout.d.ts.map +1 -1
  383. package/lib/view/AcTrLayout.js +34 -2
  384. package/lib/view/AcTrLayout.js.map +1 -1
  385. package/lib/view/AcTrPickResultUtil.d.ts +4 -0
  386. package/lib/view/AcTrPickResultUtil.d.ts.map +1 -0
  387. package/lib/view/AcTrPickResultUtil.js +54 -0
  388. package/lib/view/AcTrPickResultUtil.js.map +1 -0
  389. package/lib/view/AcTrView2d.d.ts +25 -1
  390. package/lib/view/AcTrView2d.d.ts.map +1 -1
  391. package/lib/view/AcTrView2d.js +242 -104
  392. package/lib/view/AcTrView2d.js.map +1 -1
  393. package/package.json +11 -9
  394. package/lib/command/AcApArcCmd.d.ts +0 -140
  395. package/lib/command/AcApArcCmd.d.ts.map +0 -1
  396. package/lib/command/AcApArcCmd.js.map +0 -1
  397. package/lib/command/AcApBaseRevCmd.d.ts.map +0 -1
  398. package/lib/command/AcApBaseRevCmd.js.map +0 -1
  399. package/lib/command/AcApCircleCmd.d.ts +0 -22
  400. package/lib/command/AcApCircleCmd.d.ts.map +0 -1
  401. package/lib/command/AcApCircleCmd.js.map +0 -1
  402. package/lib/command/AcApClearMeasurementsCmd.d.ts.map +0 -1
  403. package/lib/command/AcApClearMeasurementsCmd.js.map +0 -1
  404. package/lib/command/AcApConvertToDxfCmd.d.ts.map +0 -1
  405. package/lib/command/AcApConvertToDxfCmd.js.map +0 -1
  406. package/lib/command/AcApConvertToSvgCmd.d.ts.map +0 -1
  407. package/lib/command/AcApConvertToSvgCmd.js.map +0 -1
  408. package/lib/command/AcApDimLinearCmd.d.ts.map +0 -1
  409. package/lib/command/AcApDimLinearCmd.js.map +0 -1
  410. package/lib/command/AcApDxfConvertor.d.ts.map +0 -1
  411. package/lib/command/AcApDxfConvertor.js.map +0 -1
  412. package/lib/command/AcApEraseCmd.d.ts.map +0 -1
  413. package/lib/command/AcApEraseCmd.js.map +0 -1
  414. package/lib/command/AcApLineCmd.d.ts +0 -22
  415. package/lib/command/AcApLineCmd.d.ts.map +0 -1
  416. package/lib/command/AcApLineCmd.js.map +0 -1
  417. package/lib/command/AcApMTextCmd.d.ts.map +0 -1
  418. package/lib/command/AcApMTextCmd.js.map +0 -1
  419. package/lib/command/AcApMeasureAngleCmd.d.ts.map +0 -1
  420. package/lib/command/AcApMeasureAngleCmd.js.map +0 -1
  421. package/lib/command/AcApMeasureArcCmd.d.ts.map +0 -1
  422. package/lib/command/AcApMeasureArcCmd.js.map +0 -1
  423. package/lib/command/AcApMeasureAreaCmd.d.ts.map +0 -1
  424. package/lib/command/AcApMeasureAreaCmd.js.map +0 -1
  425. package/lib/command/AcApMeasureDistanceCmd.d.ts.map +0 -1
  426. package/lib/command/AcApMeasureDistanceCmd.js.map +0 -1
  427. package/lib/command/AcApPolylineCmd.d.ts.map +0 -1
  428. package/lib/command/AcApPolylineCmd.js.map +0 -1
  429. package/lib/command/AcApRectCmd.d.ts +0 -23
  430. package/lib/command/AcApRectCmd.d.ts.map +0 -1
  431. package/lib/command/AcApRectCmd.js.map +0 -1
  432. package/lib/command/AcApRevCircleCmd.d.ts +0 -10
  433. package/lib/command/AcApRevCircleCmd.d.ts.map +0 -1
  434. package/lib/command/AcApRevCircleCmd.js +0 -83
  435. package/lib/command/AcApRevCircleCmd.js.map +0 -1
  436. package/lib/command/AcApRevCloudCmd.d.ts.map +0 -1
  437. package/lib/command/AcApRevCloudCmd.js.map +0 -1
  438. package/lib/command/AcApRevRectCmd.d.ts +0 -10
  439. package/lib/command/AcApRevRectCmd.d.ts.map +0 -1
  440. package/lib/command/AcApRevRectCmd.js.map +0 -1
  441. package/lib/command/AcApRevVisibilityCmd.d.ts.map +0 -1
  442. package/lib/command/AcApRevVisibilityCmd.js.map +0 -1
  443. package/lib/command/AcApSketchCmd.d.ts.map +0 -1
  444. package/lib/command/AcApSketchCmd.js.map +0 -1
  445. package/lib/command/AcApSplineCmd.d.ts +0 -20
  446. package/lib/command/AcApSplineCmd.d.ts.map +0 -1
  447. package/lib/command/AcApSplineCmd.js +0 -213
  448. package/lib/command/AcApSplineCmd.js.map +0 -1
  449. package/lib/command/AcApSvgConvertor.d.ts.map +0 -1
  450. package/lib/command/AcApSvgConvertor.js.map +0 -1
  451. package/lib/command/AcApZoomToBoxCmd.d.ts +0 -29
  452. package/lib/command/AcApZoomToBoxCmd.d.ts.map +0 -1
  453. package/lib/command/AcApZoomToBoxCmd.js.map +0 -1
  454. /package/lib/command/{AcApDxfConvertor.d.ts → convert/AcApDxfConvertor.d.ts} +0 -0
  455. /package/lib/command/{AcApSvgConvertor.d.ts → convert/AcApSvgConvertor.d.ts} +0 -0
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Describes how a new selection result should be applied to the current
3
+ * selection set.
4
+ *
5
+ * - `'replace'`: clear the current selection set, then add the new ids.
6
+ * - `'add'`: keep the current selection set and append any new ids.
7
+ * - `'remove'`: remove matching ids from the current selection set.
8
+ *
9
+ * This type is used by the view layer to unify click selection, box
10
+ * selection, and command-driven selection behavior.
11
+ */
12
+ export type AcEdSelectionAction = 'replace' | 'add' | 'remove';
13
+ /**
14
+ * Minimal modifier-key snapshot needed to resolve selection behavior from a
15
+ * mouse or pointer event.
16
+ *
17
+ * The full DOM {@link MouseEvent} object is intentionally not required here so
18
+ * the resolver can stay lightweight, reusable, and easy to test in isolation.
19
+ */
20
+ export interface AcEdSelectionModifierState {
21
+ /**
22
+ * Whether the Shift key was pressed when the selection event occurred.
23
+ *
24
+ * In this viewer, Shift has the highest priority and maps to
25
+ * {@link AcEdSelectionAction | `'remove'`}.
26
+ */
27
+ shiftKey: boolean;
28
+ /**
29
+ * Whether the Control key was pressed when the selection event occurred.
30
+ *
31
+ * When `true` and {@link shiftKey} is `false`, the selection resolves to
32
+ * {@link AcEdSelectionAction | `'add'`}.
33
+ */
34
+ ctrlKey: boolean;
35
+ /**
36
+ * Whether the Meta/Command key was pressed when the selection event
37
+ * occurred.
38
+ *
39
+ * This provides macOS-friendly additive selection behavior equivalent to
40
+ * {@link ctrlKey}.
41
+ */
42
+ metaKey: boolean;
43
+ }
44
+ /**
45
+ * Resolves the selection action implied by the current modifier-key state.
46
+ *
47
+ * Precedence is evaluated in the following order:
48
+ * 1. `Shift` returns `'remove'`.
49
+ * 2. `Ctrl` or `Meta` returns `'add'`.
50
+ * 3. If no modifier is active, `defaultAction` is returned.
51
+ *
52
+ * This lets different call sites share the same modifier semantics while still
53
+ * choosing their own non-modified default, such as `'replace'` for generic
54
+ * selection flows or `'add'` for pointer interactions that should preserve the
55
+ * existing selection set.
56
+ *
57
+ * @param e - Modifier-key state captured from the triggering input event.
58
+ * @param defaultAction - Action to use when no supported modifier key is
59
+ * active. Defaults to `'replace'`.
60
+ * @returns The normalized selection action to apply.
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * resolveSelectionActionFromEvent(
65
+ * { shiftKey: false, ctrlKey: false, metaKey: false },
66
+ * 'replace'
67
+ * )
68
+ * // => 'replace'
69
+ * ```
70
+ *
71
+ * @example
72
+ * ```ts
73
+ * resolveSelectionActionFromEvent({
74
+ * shiftKey: true,
75
+ * ctrlKey: false,
76
+ * metaKey: false
77
+ * })
78
+ * // => 'remove'
79
+ * ```
80
+ */
81
+ export declare function resolveSelectionActionFromEvent(e: AcEdSelectionModifierState, defaultAction?: AcEdSelectionAction): AcEdSelectionAction;
82
+ /**
83
+ * Resolves the default action for direct pointer-based selection in the 2D
84
+ * viewer.
85
+ *
86
+ * Unlike the generic resolver, pointer selection without modifiers defaults to
87
+ * `'add'` so repeated clicks or drag selections preserve the existing
88
+ * selection set instead of replacing it.
89
+ *
90
+ * Modifier precedence remains the same as
91
+ * {@link resolveSelectionActionFromEvent}:
92
+ * `Shift` removes, while `Ctrl`/`Meta` adds.
93
+ *
94
+ * @param e - Modifier-key state captured from the pointer event.
95
+ * @returns The selection action that should be used for pointer selection.
96
+ *
97
+ * @example
98
+ * ```ts
99
+ * resolvePointerSelectionAction({
100
+ * shiftKey: false,
101
+ * ctrlKey: false,
102
+ * metaKey: false
103
+ * })
104
+ * // => 'add'
105
+ * ```
106
+ */
107
+ export declare function resolvePointerSelectionAction(e: AcEdSelectionModifierState): AcEdSelectionAction;
108
+ //# sourceMappingURL=AcEdSelectionAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcEdSelectionAction.d.ts","sourceRoot":"","sources":["../../../src/editor/view/AcEdSelectionAction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,KAAK,GAAG,QAAQ,CAAA;AAE9D;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;;;OAKG;IACH,QAAQ,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAA;IAEhB;;;;;;OAMG;IACH,OAAO,EAAE,OAAO,CAAA;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,+BAA+B,CAC7C,CAAC,EAAE,0BAA0B,EAC7B,aAAa,GAAE,mBAA+B,GAC7C,mBAAmB,CAIrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,6BAA6B,CAC3C,CAAC,EAAE,0BAA0B,GAC5B,mBAAmB,CAErB"}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Resolves the selection action implied by the current modifier-key state.
3
+ *
4
+ * Precedence is evaluated in the following order:
5
+ * 1. `Shift` returns `'remove'`.
6
+ * 2. `Ctrl` or `Meta` returns `'add'`.
7
+ * 3. If no modifier is active, `defaultAction` is returned.
8
+ *
9
+ * This lets different call sites share the same modifier semantics while still
10
+ * choosing their own non-modified default, such as `'replace'` for generic
11
+ * selection flows or `'add'` for pointer interactions that should preserve the
12
+ * existing selection set.
13
+ *
14
+ * @param e - Modifier-key state captured from the triggering input event.
15
+ * @param defaultAction - Action to use when no supported modifier key is
16
+ * active. Defaults to `'replace'`.
17
+ * @returns The normalized selection action to apply.
18
+ *
19
+ * @example
20
+ * ```ts
21
+ * resolveSelectionActionFromEvent(
22
+ * { shiftKey: false, ctrlKey: false, metaKey: false },
23
+ * 'replace'
24
+ * )
25
+ * // => 'replace'
26
+ * ```
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * resolveSelectionActionFromEvent({
31
+ * shiftKey: true,
32
+ * ctrlKey: false,
33
+ * metaKey: false
34
+ * })
35
+ * // => 'remove'
36
+ * ```
37
+ */
38
+ export function resolveSelectionActionFromEvent(e, defaultAction) {
39
+ if (defaultAction === void 0) { defaultAction = 'replace'; }
40
+ if (e.shiftKey)
41
+ return 'remove';
42
+ if (e.ctrlKey || e.metaKey)
43
+ return 'add';
44
+ return defaultAction;
45
+ }
46
+ /**
47
+ * Resolves the default action for direct pointer-based selection in the 2D
48
+ * viewer.
49
+ *
50
+ * Unlike the generic resolver, pointer selection without modifiers defaults to
51
+ * `'add'` so repeated clicks or drag selections preserve the existing
52
+ * selection set instead of replacing it.
53
+ *
54
+ * Modifier precedence remains the same as
55
+ * {@link resolveSelectionActionFromEvent}:
56
+ * `Shift` removes, while `Ctrl`/`Meta` adds.
57
+ *
58
+ * @param e - Modifier-key state captured from the pointer event.
59
+ * @returns The selection action that should be used for pointer selection.
60
+ *
61
+ * @example
62
+ * ```ts
63
+ * resolvePointerSelectionAction({
64
+ * shiftKey: false,
65
+ * ctrlKey: false,
66
+ * metaKey: false
67
+ * })
68
+ * // => 'add'
69
+ * ```
70
+ */
71
+ export function resolvePointerSelectionAction(e) {
72
+ return resolveSelectionActionFromEvent(e, 'add');
73
+ }
74
+ //# sourceMappingURL=AcEdSelectionAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcEdSelectionAction.js","sourceRoot":"","sources":["../../../src/editor/view/AcEdSelectionAction.ts"],"names":[],"mappings":"AA+CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,UAAU,+BAA+B,CAC7C,CAA6B,EAC7B,aAA8C;IAA9C,8BAAA,EAAA,yBAA8C;IAE9C,IAAI,CAAC,CAAC,QAAQ;QAAE,OAAO,QAAQ,CAAA;IAC/B,IAAI,CAAC,CAAC,OAAO,IAAI,CAAC,CAAC,OAAO;QAAE,OAAO,KAAK,CAAA;IACxC,OAAO,aAAa,CAAA;AACtB,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,6BAA6B,CAC3C,CAA6B;IAE7B,OAAO,+BAA+B,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA;AAClD,CAAC"}
@@ -2,5 +2,6 @@ export * from './AcEdBaseView';
2
2
  export * from './AcEdHoverController';
3
3
  export * from './AcEdLayerInfo';
4
4
  export * from './AcEdOpenMode';
5
+ export * from './AcEdSelectionAction';
5
6
  export * from './AcEdSpatialQueryResult';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA"}
@@ -2,5 +2,6 @@ export * from './AcEdBaseView';
2
2
  export * from './AcEdHoverController';
3
3
  export * from './AcEdLayerInfo';
4
4
  export * from './AcEdOpenMode';
5
+ export * from './AcEdSelectionAction';
5
6
  export * from './AcEdSpatialQueryResult';
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/editor/view/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA"}
@@ -1,8 +1,17 @@
1
1
  declare const _default: {
2
2
  ACAD: {
3
+ '-hatch': {
4
+ description: string;
5
+ };
6
+ '-layer': {
7
+ description: string;
8
+ };
3
9
  arc: {
4
10
  description: string;
5
11
  };
12
+ cdxf: {
13
+ description: string;
14
+ };
6
15
  cecolor: {
7
16
  description: string;
8
17
  };
@@ -12,17 +21,27 @@ declare const _default: {
12
21
  celweight: {
13
22
  description: string;
14
23
  };
24
+ circle: {
25
+ description: string;
26
+ };
15
27
  clayer: {
16
28
  description: string;
17
29
  };
18
- circle: {
30
+ cmleaderstyle: {
31
+ description: string;
32
+ };
33
+ cmlscale: {
34
+ description: string;
35
+ };
36
+ cmlstyle: {
19
37
  description: string;
20
38
  };
21
39
  colortheme: {
22
40
  description: string;
23
41
  };
24
- cdxf: {
42
+ copy: {
25
43
  description: string;
44
+ prompt: string;
26
45
  };
27
46
  csvg: {
28
47
  description: string;
@@ -30,28 +49,125 @@ declare const _default: {
30
49
  dimlinear: {
31
50
  description: string;
32
51
  };
52
+ measurearea: {
53
+ description: string;
54
+ };
55
+ measureangle: {
56
+ description: string;
57
+ };
58
+ measurearc: {
59
+ description: string;
60
+ };
61
+ measuredistance: {
62
+ description: string;
63
+ };
64
+ measurementcolor: {
65
+ description: string;
66
+ };
67
+ ellipse: {
68
+ description: string;
69
+ };
33
70
  erase: {
34
71
  description: string;
35
72
  prompt: string;
36
73
  };
37
- line: {
74
+ hatch: {
38
75
  description: string;
39
76
  };
40
- lwdisplay: {
77
+ hpang: {
41
78
  description: string;
42
79
  };
43
- pline: {
80
+ hpassoc: {
44
81
  description: string;
45
82
  };
46
- spline: {
83
+ hpbackgroundcolor: {
47
84
  description: string;
48
85
  };
49
- mtext: {
86
+ hpcolor: {
87
+ description: string;
88
+ };
89
+ hpdouble: {
90
+ description: string;
91
+ };
92
+ hpislanddetection: {
93
+ description: string;
94
+ };
95
+ hplayer: {
96
+ description: string;
97
+ };
98
+ hpname: {
99
+ description: string;
100
+ };
101
+ hpscale: {
102
+ description: string;
103
+ };
104
+ hpseparate: {
105
+ description: string;
106
+ };
107
+ hptransparency: {
108
+ description: string;
109
+ };
110
+ laycur: {
111
+ description: string;
112
+ prompt: string;
113
+ };
114
+ laydel: {
115
+ description: string;
116
+ };
117
+ layerclose: {
118
+ description: string;
119
+ };
120
+ layerp: {
121
+ description: string;
122
+ };
123
+ layfrz: {
124
+ description: string;
125
+ prompt: string;
126
+ };
127
+ layiso: {
128
+ description: string;
129
+ prompt: string;
130
+ };
131
+ laylck: {
132
+ description: string;
133
+ prompt: string;
134
+ };
135
+ layoff: {
136
+ description: string;
137
+ prompt: string;
138
+ };
139
+ layon: {
140
+ description: string;
141
+ };
142
+ laythw: {
143
+ description: string;
144
+ };
145
+ layulk: {
146
+ description: string;
147
+ prompt: string;
148
+ };
149
+ layuniso: {
150
+ description: string;
151
+ };
152
+ line: {
50
153
  description: string;
51
154
  };
52
155
  log: {
53
156
  description: string;
54
157
  };
158
+ lwdisplay: {
159
+ description: string;
160
+ };
161
+ mline: {
162
+ description: string;
163
+ };
164
+ move: {
165
+ description: string;
166
+ prompt: string;
167
+ };
168
+ mtext: {
169
+ description: string;
170
+ };
55
171
  open: {
56
172
  description: string;
57
173
  };
@@ -61,10 +177,25 @@ declare const _default: {
61
177
  pickbox: {
62
178
  description: string;
63
179
  };
180
+ pline: {
181
+ description: string;
182
+ };
183
+ pngout: {
184
+ description: string;
185
+ };
186
+ point: {
187
+ description: string;
188
+ };
189
+ polygon: {
190
+ description: string;
191
+ };
64
192
  qnew: {
65
193
  description: string;
66
194
  };
67
- rectangle: {
195
+ ray: {
196
+ description: string;
197
+ };
198
+ rectang: {
68
199
  description: string;
69
200
  };
70
201
  regen: {
@@ -73,19 +204,26 @@ declare const _default: {
73
204
  revcloud: {
74
205
  description: string;
75
206
  };
207
+ rotate: {
208
+ description: string;
209
+ prompt: string;
210
+ };
76
211
  select: {
77
212
  description: string;
78
213
  };
79
214
  sketch: {
80
215
  description: string;
81
216
  };
217
+ spline: {
218
+ description: string;
219
+ };
82
220
  whitebkcolor: {
83
221
  description: string;
84
222
  };
85
- zoom: {
223
+ xline: {
86
224
  description: string;
87
225
  };
88
- zoomw: {
226
+ zoom: {
89
227
  description: string;
90
228
  };
91
229
  };
@@ -1 +1 @@
1
- {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAkGC"}
1
+ {"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/i18n/en/command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4PC"}
@@ -1,8 +1,17 @@
1
1
  export default {
2
2
  ACAD: {
3
+ '-hatch': {
4
+ description: 'Creates hatch fills through command-line options without the ribbon UI'
5
+ },
6
+ '-layer': {
7
+ description: 'Manages layers through command-line options'
8
+ },
3
9
  arc: {
4
10
  description: 'Creates an arc'
5
11
  },
12
+ cdxf: {
13
+ description: 'Exports current drawing to DXF'
14
+ },
6
15
  cecolor: {
7
16
  description: 'Sets the current default color for newly created objects'
8
17
  },
@@ -12,17 +21,27 @@ export default {
12
21
  celweight: {
13
22
  description: 'Sets the default lineweight for newly created objects'
14
23
  },
24
+ circle: {
25
+ description: 'Creates one circle by center and radius'
26
+ },
15
27
  clayer: {
16
28
  description: 'Sets the current layer for new objects and editing operations'
17
29
  },
18
- circle: {
19
- description: 'Creates one circle by center and radius'
30
+ cmleaderstyle: {
31
+ description: 'Sets the name of the current multileader style'
32
+ },
33
+ cmlscale: {
34
+ description: 'Controls the overall width of a multiline'
35
+ },
36
+ cmlstyle: {
37
+ description: 'Sets the name of the current multiline style'
20
38
  },
21
39
  colortheme: {
22
40
  description: 'Controls the color theme of the user interface (dark or light)'
23
41
  },
24
- cdxf: {
25
- description: 'Exports current drawing to DXF'
42
+ copy: {
43
+ description: 'Copies selected entities by cloning them to new positions',
44
+ prompt: 'Select entities'
26
45
  },
27
46
  csvg: {
28
47
  description: 'Converts current drawing to SVG'
@@ -30,28 +49,125 @@ export default {
30
49
  dimlinear: {
31
50
  description: 'Creates linear dimensions'
32
51
  },
52
+ measurearea: {
53
+ description: 'Calculates the area and perimeter of selected objects or points'
54
+ },
55
+ measureangle: {
56
+ description: 'Measures the angle between two lines or three points'
57
+ },
58
+ measurearc: {
59
+ description: 'Measures the length of an arc segment'
60
+ },
61
+ measuredistance: {
62
+ description: 'Measures the distance and delta values between two points'
63
+ },
64
+ measurementcolor: {
65
+ description: 'Sets the color used for measurement overlays'
66
+ },
67
+ ellipse: {
68
+ description: 'Creates an ellipse or elliptical arc by axis endpoints or center'
69
+ },
33
70
  erase: {
34
71
  description: 'Deletes selected entities from the drawing',
35
72
  prompt: 'Select entities'
36
73
  },
74
+ hatch: {
75
+ description: 'Fills an enclosed area or selected objects with a hatch pattern'
76
+ },
77
+ hpang: {
78
+ description: 'Sets the default angle, in radians, for newly created hatch patterns'
79
+ },
80
+ hpassoc: {
81
+ description: 'Controls whether newly created hatches are associative'
82
+ },
83
+ hpbackgroundcolor: {
84
+ description: 'Sets the default background color for newly created hatch patterns'
85
+ },
86
+ hpcolor: {
87
+ description: 'Sets the default color for newly created hatches'
88
+ },
89
+ hpdouble: {
90
+ description: 'Controls whether user-defined hatch patterns are doubled'
91
+ },
92
+ hpislanddetection: {
93
+ description: 'Controls how islands within newly created hatch boundaries are treated'
94
+ },
95
+ hplayer: {
96
+ description: 'Sets the default layer for newly created hatches and fills'
97
+ },
98
+ hpname: {
99
+ description: 'Sets the default pattern name for newly created hatches in this session'
100
+ },
101
+ hpscale: {
102
+ description: 'Sets the default scale factor for newly created hatch patterns'
103
+ },
104
+ hpseparate: {
105
+ description: 'Controls whether one or separate hatch objects are created for multiple boundaries'
106
+ },
107
+ hptransparency: {
108
+ description: 'Sets the default transparency for newly created hatches and fills'
109
+ },
110
+ laycur: {
111
+ description: 'Changes the layer property of selected objects to the current layer',
112
+ prompt: 'Select objects to be changed to the current layer'
113
+ },
114
+ laydel: {
115
+ description: 'Deletes a layer and all objects on that layer'
116
+ },
117
+ layerclose: {
118
+ description: 'Closes the Layer Properties Manager'
119
+ },
120
+ layerp: {
121
+ description: 'Undoes the last change or set of changes made to layer settings'
122
+ },
123
+ layfrz: {
124
+ description: 'Freezes the layer of selected objects',
125
+ prompt: 'Select object on layer to freeze'
126
+ },
127
+ layiso: {
128
+ description: 'Isolates the layers of selected objects',
129
+ prompt: 'Select objects on layers to isolate'
130
+ },
131
+ laylck: {
132
+ description: 'Locks the layer of selected objects',
133
+ prompt: 'Select object on layer to lock'
134
+ },
135
+ layoff: {
136
+ description: 'Turns off the layer of selected objects',
137
+ prompt: 'Select object on layer to turn off'
138
+ },
139
+ layon: {
140
+ description: 'Turns on all layers in the drawing'
141
+ },
142
+ laythw: {
143
+ description: 'Thaws all frozen layers in the drawing'
144
+ },
145
+ layulk: {
146
+ description: 'Unlocks the layer of selected objects',
147
+ prompt: 'Select object on layer to unlock'
148
+ },
149
+ layuniso: {
150
+ description: 'Restores layers hidden or locked by LAYISO'
151
+ },
37
152
  line: {
38
153
  description: 'Draws straight line segments between points'
39
154
  },
155
+ log: {
156
+ description: 'Logs debug information in console'
157
+ },
40
158
  lwdisplay: {
41
159
  description: 'Controls whether lineweights are displayed in the drawing'
42
160
  },
43
- pline: {
44
- description: 'Creates a polyline by specifying multiple points'
161
+ mline: {
162
+ description: 'Creates multiple parallel lines as one multiline object'
45
163
  },
46
- spline: {
47
- description: 'Creates a smooth spline curve by specifying control points'
164
+ move: {
165
+ description: 'Moves selected entities by a displacement vector',
166
+ prompt: 'Select entities'
48
167
  },
49
168
  mtext: {
50
169
  description: 'Creates one mtext entity'
51
170
  },
52
- log: {
53
- description: 'Logs debug information in console'
54
- },
55
171
  open: {
56
172
  description: 'Opens an existing drawing file'
57
173
  },
@@ -61,10 +177,25 @@ export default {
61
177
  pickbox: {
62
178
  description: 'Sets the size (in pixels) of the selection box used to pick objects'
63
179
  },
180
+ pline: {
181
+ description: 'Creates a polyline by specifying multiple points'
182
+ },
183
+ pngout: {
184
+ description: 'Exports to PNG'
185
+ },
186
+ point: {
187
+ description: 'Creates points'
188
+ },
189
+ polygon: {
190
+ description: 'Creates a regular polygon by center/radius or by one polygon edge'
191
+ },
64
192
  qnew: {
65
193
  description: 'Starts a new drawing'
66
194
  },
67
- rectangle: {
195
+ ray: {
196
+ description: 'Creates a ray that starts at a point and extends to infinity'
197
+ },
198
+ rectang: {
68
199
  description: 'Creates a rectangle by specifying two opposite corners'
69
200
  },
70
201
  regen: {
@@ -73,20 +204,27 @@ export default {
73
204
  revcloud: {
74
205
  description: 'Creates a revision cloud (cloud line) in rectangular shape'
75
206
  },
207
+ rotate: {
208
+ description: 'Rotates selected entities around a base point',
209
+ prompt: 'Select entities'
210
+ },
76
211
  select: {
77
212
  description: 'Selects entities'
78
213
  },
79
214
  sketch: {
80
215
  description: 'Creates a sketch line using polyline that tracks mouse movement'
81
216
  },
217
+ spline: {
218
+ description: 'Creates a smooth spline curve by specifying control points'
219
+ },
82
220
  whitebkcolor: {
83
221
  description: 'Toggles the drawing area background between white and black'
84
222
  },
223
+ xline: {
224
+ description: 'Creates a construction line that extends infinitely in both directions'
225
+ },
85
226
  zoom: {
86
227
  description: 'Zooms to display the maximum extents of all entities'
87
- },
88
- zoomw: {
89
- description: 'Zooms to display an area specified by a rectangular window'
90
228
  }
91
229
  },
92
230
  USER: {}