@mlightcad/cad-simple-viewer 1.6.2 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (728) hide show
  1. package/dist/cad-simple-viewer.js +28736 -18706
  2. package/dist/cad-simple-viewer.umd.cjs +1639 -308
  3. package/dist/mtext-renderer-worker.js +14590 -14441
  4. package/icons.ts +7 -0
  5. package/lib/app/AcApBrand.d.ts +2 -2
  6. package/lib/app/AcApBrand.d.ts.map +1 -1
  7. package/lib/app/AcApBrand.js +2 -2
  8. package/lib/app/AcApBrand.js.map +1 -1
  9. package/lib/app/AcApBusyIndicator.d.ts +6 -0
  10. package/lib/app/AcApBusyIndicator.d.ts.map +1 -1
  11. package/lib/app/AcApBusyIndicator.js +8 -0
  12. package/lib/app/AcApBusyIndicator.js.map +1 -1
  13. package/lib/app/AcApContext.d.ts +24 -0
  14. package/lib/app/AcApContext.d.ts.map +1 -1
  15. package/lib/app/AcApContext.js +103 -18
  16. package/lib/app/AcApContext.js.map +1 -1
  17. package/lib/app/AcApDocManager.d.ts +293 -31
  18. package/lib/app/AcApDocManager.d.ts.map +1 -1
  19. package/lib/app/AcApDocManager.js +972 -184
  20. package/lib/app/AcApDocManager.js.map +1 -1
  21. package/lib/app/AcApDocSession.d.ts +41 -0
  22. package/lib/app/AcApDocSession.d.ts.map +1 -0
  23. package/lib/app/AcApDocSession.js +29 -0
  24. package/lib/app/AcApDocSession.js.map +1 -0
  25. package/lib/app/AcApDocsUrl.d.ts +57 -0
  26. package/lib/app/AcApDocsUrl.d.ts.map +1 -0
  27. package/lib/app/AcApDocsUrl.js +76 -0
  28. package/lib/app/AcApDocsUrl.js.map +1 -0
  29. package/lib/app/AcApDocument.d.ts +6 -1
  30. package/lib/app/AcApDocument.d.ts.map +1 -1
  31. package/lib/app/AcApDocument.js +21 -0
  32. package/lib/app/AcApDocument.js.map +1 -1
  33. package/lib/app/AcApFontLoader.d.ts +6 -0
  34. package/lib/app/AcApFontLoader.d.ts.map +1 -1
  35. package/lib/app/AcApFontLoader.js +11 -0
  36. package/lib/app/AcApFontLoader.js.map +1 -1
  37. package/lib/app/{AcDbOpenDatabaseOptions.d.ts → AcApOpenDatabaseOptions.d.ts} +35 -8
  38. package/lib/app/AcApOpenDatabaseOptions.d.ts.map +1 -0
  39. package/lib/app/{AcDbOpenDatabaseOptions.js → AcApOpenDatabaseOptions.js} +1 -1
  40. package/lib/app/AcApOpenDatabaseOptions.js.map +1 -0
  41. package/lib/app/AcApOpenFileDialog.d.ts +1 -1
  42. package/lib/app/AcApOpenFileProgressController.d.ts +14 -0
  43. package/lib/app/AcApOpenFileProgressController.d.ts.map +1 -1
  44. package/lib/app/AcApOpenFileProgressController.js +18 -0
  45. package/lib/app/AcApOpenFileProgressController.js.map +1 -1
  46. package/lib/app/AcApProgress.d.ts +6 -0
  47. package/lib/app/AcApProgress.d.ts.map +1 -1
  48. package/lib/app/AcApProgress.js +17 -0
  49. package/lib/app/AcApProgress.js.map +1 -1
  50. package/lib/app/AcApSettingManager.d.ts +156 -43
  51. package/lib/app/AcApSettingManager.d.ts.map +1 -1
  52. package/lib/app/AcApSettingManager.js +216 -66
  53. package/lib/app/AcApSettingManager.js.map +1 -1
  54. package/lib/app/index.d.ts +4 -2
  55. package/lib/app/index.d.ts.map +1 -1
  56. package/lib/app/index.js +3 -1
  57. package/lib/app/index.js.map +1 -1
  58. package/lib/command/AcApCloseCmd.d.ts +15 -0
  59. package/lib/command/AcApCloseCmd.d.ts.map +1 -0
  60. package/lib/command/AcApCloseCmd.js +83 -0
  61. package/lib/command/AcApCloseCmd.js.map +1 -0
  62. package/lib/command/AcApDrawOverlayInput.d.ts +6 -0
  63. package/lib/command/AcApDrawOverlayInput.d.ts.map +1 -0
  64. package/lib/command/AcApDrawOverlayInput.js +64 -0
  65. package/lib/command/AcApDrawOverlayInput.js.map +1 -0
  66. package/lib/command/AcApDrawStyleDrawCmd.d.ts +9 -0
  67. package/lib/command/AcApDrawStyleDrawCmd.d.ts.map +1 -0
  68. package/lib/command/AcApDrawStyleDrawCmd.js +32 -0
  69. package/lib/command/AcApDrawStyleDrawCmd.js.map +1 -0
  70. package/lib/command/AcApDrawStyleSession.d.ts +20 -0
  71. package/lib/command/AcApDrawStyleSession.d.ts.map +1 -0
  72. package/lib/command/AcApDrawStyleSession.js +2 -0
  73. package/lib/command/AcApDrawStyleSession.js.map +1 -0
  74. package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts +28 -0
  75. package/lib/command/AcApInstallDrawStyleSessionAccessory.d.ts.map +1 -0
  76. package/lib/command/AcApInstallDrawStyleSessionAccessory.js +174 -0
  77. package/lib/command/AcApInstallDrawStyleSessionAccessory.js.map +1 -0
  78. package/lib/command/AcApReadingModeCmd.d.ts +17 -0
  79. package/lib/command/AcApReadingModeCmd.d.ts.map +1 -0
  80. package/lib/command/AcApReadingModeCmd.js +82 -0
  81. package/lib/command/AcApReadingModeCmd.js.map +1 -0
  82. package/lib/command/AcApShortCutSelectionAccessory.d.ts +14 -0
  83. package/lib/command/AcApShortCutSelectionAccessory.d.ts.map +1 -0
  84. package/lib/command/AcApShortCutSelectionAccessory.js +266 -0
  85. package/lib/command/AcApShortCutSelectionAccessory.js.map +1 -0
  86. package/lib/command/AcApShortCutToolbarDocBind.d.ts +20 -0
  87. package/lib/command/AcApShortCutToolbarDocBind.d.ts.map +1 -0
  88. package/lib/command/AcApShortCutToolbarDocBind.js +155 -0
  89. package/lib/command/AcApShortCutToolbarDocBind.js.map +1 -0
  90. package/lib/command/AcApZoomCmd.d.ts +39 -1
  91. package/lib/command/AcApZoomCmd.d.ts.map +1 -1
  92. package/lib/command/AcApZoomCmd.js +70 -6
  93. package/lib/command/AcApZoomCmd.js.map +1 -1
  94. package/lib/command/draw/AcApHatchCmd.js +1 -1
  95. package/lib/command/draw/AcApHatchCmd.js.map +1 -1
  96. package/lib/command/draw/AcApMTextCmd.d.ts.map +1 -1
  97. package/lib/command/draw/AcApMTextCmd.js +11 -7
  98. package/lib/command/draw/AcApMTextCmd.js.map +1 -1
  99. package/lib/command/index.d.ts +4 -0
  100. package/lib/command/index.d.ts.map +1 -1
  101. package/lib/command/index.js +4 -0
  102. package/lib/command/index.js.map +1 -1
  103. package/lib/command/markup/AcApMarkupArrowCmd.d.ts +2 -3
  104. package/lib/command/markup/AcApMarkupArrowCmd.d.ts.map +1 -1
  105. package/lib/command/markup/AcApMarkupArrowCmd.js +8 -9
  106. package/lib/command/markup/AcApMarkupArrowCmd.js.map +1 -1
  107. package/lib/command/markup/AcApMarkupCalloutCmd.d.ts +2 -3
  108. package/lib/command/markup/AcApMarkupCalloutCmd.d.ts.map +1 -1
  109. package/lib/command/markup/AcApMarkupCalloutCmd.js +47 -22
  110. package/lib/command/markup/AcApMarkupCalloutCmd.js.map +1 -1
  111. package/lib/command/markup/AcApMarkupCircleCmd.d.ts +2 -3
  112. package/lib/command/markup/AcApMarkupCircleCmd.d.ts.map +1 -1
  113. package/lib/command/markup/AcApMarkupCircleCmd.js +8 -9
  114. package/lib/command/markup/AcApMarkupCircleCmd.js.map +1 -1
  115. package/lib/command/markup/AcApMarkupCloudCmd.d.ts +2 -3
  116. package/lib/command/markup/AcApMarkupCloudCmd.d.ts.map +1 -1
  117. package/lib/command/markup/AcApMarkupCloudCmd.js +8 -9
  118. package/lib/command/markup/AcApMarkupCloudCmd.js.map +1 -1
  119. package/lib/command/markup/AcApMarkupCmdUtil.d.ts +7 -1
  120. package/lib/command/markup/AcApMarkupCmdUtil.d.ts.map +1 -1
  121. package/lib/command/markup/AcApMarkupCmdUtil.js +10 -0
  122. package/lib/command/markup/AcApMarkupCmdUtil.js.map +1 -1
  123. package/lib/command/markup/AcApMarkupDrawCmd.d.ts +19 -0
  124. package/lib/command/markup/AcApMarkupDrawCmd.d.ts.map +1 -0
  125. package/lib/command/markup/AcApMarkupDrawCmd.js +47 -0
  126. package/lib/command/markup/AcApMarkupDrawCmd.js.map +1 -0
  127. package/lib/command/markup/AcApMarkupGeometry.d.ts +39 -3
  128. package/lib/command/markup/AcApMarkupGeometry.d.ts.map +1 -1
  129. package/lib/command/markup/AcApMarkupGeometry.js +127 -26
  130. package/lib/command/markup/AcApMarkupGeometry.js.map +1 -1
  131. package/lib/command/markup/AcApMarkupHighlightCmd.d.ts +2 -3
  132. package/lib/command/markup/AcApMarkupHighlightCmd.d.ts.map +1 -1
  133. package/lib/command/markup/AcApMarkupHighlightCmd.js +9 -10
  134. package/lib/command/markup/AcApMarkupHighlightCmd.js.map +1 -1
  135. package/lib/command/markup/AcApMarkupHistory.d.ts +1 -1
  136. package/lib/command/markup/AcApMarkupHistory.d.ts.map +1 -1
  137. package/lib/command/markup/AcApMarkupHistory.js +4 -11
  138. package/lib/command/markup/AcApMarkupHistory.js.map +1 -1
  139. package/lib/command/markup/AcApMarkupLineCmd.d.ts +2 -3
  140. package/lib/command/markup/AcApMarkupLineCmd.d.ts.map +1 -1
  141. package/lib/command/markup/AcApMarkupLineCmd.js +18 -11
  142. package/lib/command/markup/AcApMarkupLineCmd.js.map +1 -1
  143. package/lib/command/markup/AcApMarkupPresenter.d.ts +24 -4
  144. package/lib/command/markup/AcApMarkupPresenter.d.ts.map +1 -1
  145. package/lib/command/markup/AcApMarkupPresenter.js +100 -18
  146. package/lib/command/markup/AcApMarkupPresenter.js.map +1 -1
  147. package/lib/command/markup/AcApMarkupRectCmd.d.ts +2 -3
  148. package/lib/command/markup/AcApMarkupRectCmd.d.ts.map +1 -1
  149. package/lib/command/markup/AcApMarkupRectCmd.js +8 -9
  150. package/lib/command/markup/AcApMarkupRectCmd.js.map +1 -1
  151. package/lib/command/markup/AcApMarkupSession.d.ts +54 -0
  152. package/lib/command/markup/AcApMarkupSession.d.ts.map +1 -0
  153. package/lib/command/markup/AcApMarkupSession.js +85 -0
  154. package/lib/command/markup/AcApMarkupSession.js.map +1 -0
  155. package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts +2 -0
  156. package/lib/command/markup/AcApMarkupSessionBootstrap.d.ts.map +1 -0
  157. package/lib/command/markup/AcApMarkupSessionBootstrap.js +12 -0
  158. package/lib/command/markup/AcApMarkupSessionBootstrap.js.map +1 -0
  159. package/lib/command/markup/AcApMarkupShapeBuilder.d.ts +7 -4
  160. package/lib/command/markup/AcApMarkupShapeBuilder.d.ts.map +1 -1
  161. package/lib/command/markup/AcApMarkupShapeBuilder.js +24 -11
  162. package/lib/command/markup/AcApMarkupShapeBuilder.js.map +1 -1
  163. package/lib/command/markup/AcApMarkupShapeCallout.d.ts +21 -1
  164. package/lib/command/markup/AcApMarkupShapeCallout.d.ts.map +1 -1
  165. package/lib/command/markup/AcApMarkupShapeCallout.js +41 -25
  166. package/lib/command/markup/AcApMarkupShapeCallout.js.map +1 -1
  167. package/lib/command/markup/AcApMarkupSidecar.d.ts.map +1 -1
  168. package/lib/command/markup/AcApMarkupSidecar.js +39 -5
  169. package/lib/command/markup/AcApMarkupSidecar.js.map +1 -1
  170. package/lib/command/markup/AcApMarkupStampCmd.d.ts +2 -3
  171. package/lib/command/markup/AcApMarkupStampCmd.d.ts.map +1 -1
  172. package/lib/command/markup/AcApMarkupStampCmd.js +6 -7
  173. package/lib/command/markup/AcApMarkupStampCmd.js.map +1 -1
  174. package/lib/command/markup/AcApMarkupStore.d.ts +1 -1
  175. package/lib/command/markup/AcApMarkupStore.d.ts.map +1 -1
  176. package/lib/command/markup/AcApMarkupStore.js +3 -6
  177. package/lib/command/markup/AcApMarkupStore.js.map +1 -1
  178. package/lib/command/markup/AcApMarkupTextCmd.d.ts +2 -3
  179. package/lib/command/markup/AcApMarkupTextCmd.d.ts.map +1 -1
  180. package/lib/command/markup/AcApMarkupTextCmd.js +13 -9
  181. package/lib/command/markup/AcApMarkupTextCmd.js.map +1 -1
  182. package/lib/command/markup/AcApMarkupTypes.d.ts +18 -2
  183. package/lib/command/markup/AcApMarkupTypes.d.ts.map +1 -1
  184. package/lib/command/markup/AcApMarkupUtil.d.ts +36 -7
  185. package/lib/command/markup/AcApMarkupUtil.d.ts.map +1 -1
  186. package/lib/command/markup/AcApMarkupUtil.js +149 -34
  187. package/lib/command/markup/AcApMarkupUtil.js.map +1 -1
  188. package/lib/command/markup/AcApRegisterMarkupCommands.d.ts +8 -0
  189. package/lib/command/markup/AcApRegisterMarkupCommands.d.ts.map +1 -0
  190. package/lib/command/markup/AcApRegisterMarkupCommands.js +35 -0
  191. package/lib/command/markup/AcApRegisterMarkupCommands.js.map +1 -0
  192. package/lib/command/markup/entity/AcApMarkupCalloutEntity.d.ts.map +1 -1
  193. package/lib/command/markup/entity/AcApMarkupCalloutEntity.js +16 -15
  194. package/lib/command/markup/entity/AcApMarkupCalloutEntity.js.map +1 -1
  195. package/lib/command/markup/entity/AcApMarkupEntity.d.ts +5 -1
  196. package/lib/command/markup/entity/AcApMarkupEntity.d.ts.map +1 -1
  197. package/lib/command/markup/entity/AcApMarkupEntity.js +19 -5
  198. package/lib/command/markup/entity/AcApMarkupEntity.js.map +1 -1
  199. package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts +8 -3
  200. package/lib/command/markup/entity/AcApMarkupEntityGrips.d.ts.map +1 -1
  201. package/lib/command/markup/entity/AcApMarkupEntityGrips.js +15 -7
  202. package/lib/command/markup/entity/AcApMarkupEntityGrips.js.map +1 -1
  203. package/lib/command/markup/entity/AcApMarkupHighlightEntity.d.ts.map +1 -1
  204. package/lib/command/markup/entity/AcApMarkupHighlightEntity.js +14 -12
  205. package/lib/command/markup/entity/AcApMarkupHighlightEntity.js.map +1 -1
  206. package/lib/command/markup/entity/AcApMarkupSegmentEntity.d.ts.map +1 -1
  207. package/lib/command/markup/entity/AcApMarkupSegmentEntity.js +8 -6
  208. package/lib/command/markup/entity/AcApMarkupSegmentEntity.js.map +1 -1
  209. package/lib/command/markup/entity/AcApMarkupShapeEntity.d.ts.map +1 -1
  210. package/lib/command/markup/entity/AcApMarkupShapeEntity.js +23 -21
  211. package/lib/command/markup/entity/AcApMarkupShapeEntity.js.map +1 -1
  212. package/lib/command/markup/entity/AcApMarkupStampEntity.d.ts.map +1 -1
  213. package/lib/command/markup/entity/AcApMarkupStampEntity.js +1 -0
  214. package/lib/command/markup/entity/AcApMarkupStampEntity.js.map +1 -1
  215. package/lib/command/markup/entity/AcApMarkupTextEntity.d.ts.map +1 -1
  216. package/lib/command/markup/entity/AcApMarkupTextEntity.js +1 -0
  217. package/lib/command/markup/entity/AcApMarkupTextEntity.js.map +1 -1
  218. package/lib/command/markup/index.d.ts +4 -0
  219. package/lib/command/markup/index.d.ts.map +1 -1
  220. package/lib/command/markup/index.js +5 -0
  221. package/lib/command/markup/index.js.map +1 -1
  222. package/lib/command/measure/AcApMeasureAngleArc.d.ts +27 -0
  223. package/lib/command/measure/AcApMeasureAngleArc.d.ts.map +1 -0
  224. package/lib/command/measure/AcApMeasureAngleArc.js +22 -0
  225. package/lib/command/measure/AcApMeasureAngleArc.js.map +1 -0
  226. package/lib/command/measure/AcApMeasureAngleCmd.d.ts +2 -3
  227. package/lib/command/measure/AcApMeasureAngleCmd.d.ts.map +1 -1
  228. package/lib/command/measure/AcApMeasureAngleCmd.js +46 -45
  229. package/lib/command/measure/AcApMeasureAngleCmd.js.map +1 -1
  230. package/lib/command/measure/AcApMeasureArcCmd.d.ts +2 -3
  231. package/lib/command/measure/AcApMeasureArcCmd.d.ts.map +1 -1
  232. package/lib/command/measure/AcApMeasureArcCmd.js +71 -67
  233. package/lib/command/measure/AcApMeasureArcCmd.js.map +1 -1
  234. package/lib/command/measure/AcApMeasureAreaCmd.d.ts +2 -3
  235. package/lib/command/measure/AcApMeasureAreaCmd.d.ts.map +1 -1
  236. package/lib/command/measure/AcApMeasureAreaCmd.js +102 -99
  237. package/lib/command/measure/AcApMeasureAreaCmd.js.map +1 -1
  238. package/lib/command/measure/AcApMeasureContinuousCmd.d.ts +44 -0
  239. package/lib/command/measure/AcApMeasureContinuousCmd.d.ts.map +1 -0
  240. package/lib/command/measure/AcApMeasureContinuousCmd.js +317 -0
  241. package/lib/command/measure/AcApMeasureContinuousCmd.js.map +1 -0
  242. package/lib/command/measure/AcApMeasureDistanceCmd.d.ts +3 -3
  243. package/lib/command/measure/AcApMeasureDistanceCmd.d.ts.map +1 -1
  244. package/lib/command/measure/AcApMeasureDistanceCmd.js +41 -37
  245. package/lib/command/measure/AcApMeasureDistanceCmd.js.map +1 -1
  246. package/lib/command/measure/AcApMeasureDrawCmd.d.ts +32 -0
  247. package/lib/command/measure/AcApMeasureDrawCmd.d.ts.map +1 -0
  248. package/lib/command/measure/AcApMeasureDrawCmd.js +56 -0
  249. package/lib/command/measure/AcApMeasureDrawCmd.js.map +1 -0
  250. package/lib/command/measure/AcApMeasurePointCmd.d.ts +2 -3
  251. package/lib/command/measure/AcApMeasurePointCmd.d.ts.map +1 -1
  252. package/lib/command/measure/AcApMeasurePointCmd.js +20 -23
  253. package/lib/command/measure/AcApMeasurePointCmd.js.map +1 -1
  254. package/lib/command/measure/AcApMeasurementGeometry.d.ts +19 -0
  255. package/lib/command/measure/AcApMeasurementGeometry.d.ts.map +1 -1
  256. package/lib/command/measure/AcApMeasurementGeometry.js +53 -3
  257. package/lib/command/measure/AcApMeasurementGeometry.js.map +1 -1
  258. package/lib/command/measure/AcApMeasurementHistory.d.ts.map +1 -1
  259. package/lib/command/measure/AcApMeasurementHistory.js +3 -1
  260. package/lib/command/measure/AcApMeasurementHistory.js.map +1 -1
  261. package/lib/command/measure/AcApMeasurementPlace.d.ts.map +1 -1
  262. package/lib/command/measure/AcApMeasurementPlace.js +22 -5
  263. package/lib/command/measure/AcApMeasurementPlace.js.map +1 -1
  264. package/lib/command/measure/AcApMeasurementRepublish.d.ts +35 -0
  265. package/lib/command/measure/AcApMeasurementRepublish.d.ts.map +1 -0
  266. package/lib/command/measure/AcApMeasurementRepublish.js +31 -0
  267. package/lib/command/measure/AcApMeasurementRepublish.js.map +1 -0
  268. package/lib/command/measure/AcApMeasurementSidecar.d.ts +2 -1
  269. package/lib/command/measure/AcApMeasurementSidecar.d.ts.map +1 -1
  270. package/lib/command/measure/AcApMeasurementSidecar.js +55 -10
  271. package/lib/command/measure/AcApMeasurementSidecar.js.map +1 -1
  272. package/lib/command/measure/AcApMeasurementStore.d.ts +45 -2
  273. package/lib/command/measure/AcApMeasurementStore.d.ts.map +1 -1
  274. package/lib/command/measure/AcApMeasurementStore.js +277 -33
  275. package/lib/command/measure/AcApMeasurementStore.js.map +1 -1
  276. package/lib/command/measure/AcApMeasurementTypes.d.ts +17 -1
  277. package/lib/command/measure/AcApMeasurementTypes.d.ts.map +1 -1
  278. package/lib/command/measure/AcApRegisterMeasureCommands.d.ts +8 -0
  279. package/lib/command/measure/AcApRegisterMeasureCommands.d.ts.map +1 -0
  280. package/lib/command/measure/AcApRegisterMeasureCommands.js +29 -0
  281. package/lib/command/measure/AcApRegisterMeasureCommands.js.map +1 -0
  282. package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts +3 -5
  283. package/lib/command/measure/entity/AcApMeasureAngleEntity.d.ts.map +1 -1
  284. package/lib/command/measure/entity/AcApMeasureAngleEntity.js +165 -56
  285. package/lib/command/measure/entity/AcApMeasureAngleEntity.js.map +1 -1
  286. package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts +5 -8
  287. package/lib/command/measure/entity/AcApMeasureArcEntity.d.ts.map +1 -1
  288. package/lib/command/measure/entity/AcApMeasureArcEntity.js +251 -53
  289. package/lib/command/measure/entity/AcApMeasureArcEntity.js.map +1 -1
  290. package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts +4 -3
  291. package/lib/command/measure/entity/AcApMeasureAreaEntity.d.ts.map +1 -1
  292. package/lib/command/measure/entity/AcApMeasureAreaEntity.js +154 -28
  293. package/lib/command/measure/entity/AcApMeasureAreaEntity.js.map +1 -1
  294. package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts +5 -3
  295. package/lib/command/measure/entity/AcApMeasureDistanceEntity.d.ts.map +1 -1
  296. package/lib/command/measure/entity/AcApMeasureDistanceEntity.js +180 -28
  297. package/lib/command/measure/entity/AcApMeasureDistanceEntity.js.map +1 -1
  298. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts +20 -8
  299. package/lib/command/measure/entity/AcApMeasureDrawUtil.d.ts.map +1 -1
  300. package/lib/command/measure/entity/AcApMeasureDrawUtil.js +45 -19
  301. package/lib/command/measure/entity/AcApMeasureDrawUtil.js.map +1 -1
  302. package/lib/command/measure/entity/AcApMeasureEntity.d.ts +41 -6
  303. package/lib/command/measure/entity/AcApMeasureEntity.d.ts.map +1 -1
  304. package/lib/command/measure/entity/AcApMeasureEntity.js +48 -2
  305. package/lib/command/measure/entity/AcApMeasureEntity.js.map +1 -1
  306. package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts +2 -2
  307. package/lib/command/measure/entity/AcApMeasureEntityFactory.d.ts.map +1 -1
  308. package/lib/command/measure/entity/AcApMeasureEntityFactory.js +10 -3
  309. package/lib/command/measure/entity/AcApMeasureEntityFactory.js.map +1 -1
  310. package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts +33 -0
  311. package/lib/command/measure/entity/AcApMeasureEntityGrips.d.ts.map +1 -0
  312. package/lib/command/measure/entity/AcApMeasureEntityGrips.js +49 -0
  313. package/lib/command/measure/entity/AcApMeasureEntityGrips.js.map +1 -0
  314. package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts +3 -2
  315. package/lib/command/measure/entity/AcApMeasurePointEntity.d.ts.map +1 -1
  316. package/lib/command/measure/entity/AcApMeasurePointEntity.js +130 -16
  317. package/lib/command/measure/entity/AcApMeasurePointEntity.js.map +1 -1
  318. package/lib/command/measure/entity/index.d.ts +1 -0
  319. package/lib/command/measure/entity/index.d.ts.map +1 -1
  320. package/lib/command/measure/entity/index.js +1 -0
  321. package/lib/command/measure/entity/index.js.map +1 -1
  322. package/lib/command/measure/index.d.ts +4 -0
  323. package/lib/command/measure/index.d.ts.map +1 -1
  324. package/lib/command/measure/index.js +4 -0
  325. package/lib/command/measure/index.js.map +1 -1
  326. package/lib/command/overlay/AcApHtmlLivePreview.d.ts +16 -4
  327. package/lib/command/overlay/AcApHtmlLivePreview.d.ts.map +1 -1
  328. package/lib/command/overlay/AcApHtmlLivePreview.js +42 -12
  329. package/lib/command/overlay/AcApHtmlLivePreview.js.map +1 -1
  330. package/lib/command/overlay/AcApOverlayDrawUtil.d.ts +113 -3
  331. package/lib/command/overlay/AcApOverlayDrawUtil.d.ts.map +1 -1
  332. package/lib/command/overlay/AcApOverlayDrawUtil.js +341 -7
  333. package/lib/command/overlay/AcApOverlayDrawUtil.js.map +1 -1
  334. package/lib/command/overlay/AcApOverlayGripHost.d.ts +19 -0
  335. package/lib/command/overlay/AcApOverlayGripHost.d.ts.map +1 -1
  336. package/lib/command/overlay/AcApOverlayGripHost.js +124 -6
  337. package/lib/command/overlay/AcApOverlayGripHost.js.map +1 -1
  338. package/lib/editor/command/AcEdCommand.d.ts +17 -0
  339. package/lib/editor/command/AcEdCommand.d.ts.map +1 -1
  340. package/lib/editor/command/AcEdCommand.js +81 -1
  341. package/lib/editor/command/AcEdCommand.js.map +1 -1
  342. package/lib/editor/command/AcEdCommandStack.d.ts +14 -3
  343. package/lib/editor/command/AcEdCommandStack.d.ts.map +1 -1
  344. package/lib/editor/command/AcEdCommandStack.js +39 -3
  345. package/lib/editor/command/AcEdCommandStack.js.map +1 -1
  346. package/lib/editor/command/AcEdSessionAccessory.d.ts +82 -0
  347. package/lib/editor/command/AcEdSessionAccessory.d.ts.map +1 -0
  348. package/lib/editor/command/AcEdSessionAccessory.js +15 -0
  349. package/lib/editor/command/AcEdSessionAccessory.js.map +1 -0
  350. package/lib/editor/command/AcEdSessionProviderRegistry.d.ts +42 -0
  351. package/lib/editor/command/AcEdSessionProviderRegistry.d.ts.map +1 -0
  352. package/lib/editor/command/AcEdSessionProviderRegistry.js +54 -0
  353. package/lib/editor/command/AcEdSessionProviderRegistry.js.map +1 -0
  354. package/lib/editor/command/index.d.ts +4 -0
  355. package/lib/editor/command/index.d.ts.map +1 -1
  356. package/lib/editor/command/index.js +3 -0
  357. package/lib/editor/command/index.js.map +1 -1
  358. package/lib/editor/global/AcEdUiColor.d.ts +10 -0
  359. package/lib/editor/global/AcEdUiColor.d.ts.map +1 -1
  360. package/lib/editor/global/AcEdUiColor.js +14 -0
  361. package/lib/editor/global/AcEdUiColor.js.map +1 -1
  362. package/lib/editor/global/AcEdUiLayout.d.ts +102 -0
  363. package/lib/editor/global/AcEdUiLayout.d.ts.map +1 -1
  364. package/lib/editor/global/AcEdUiLayout.js +137 -0
  365. package/lib/editor/global/AcEdUiLayout.js.map +1 -1
  366. package/lib/editor/global/AcEdUiTheme.d.ts +15 -3
  367. package/lib/editor/global/AcEdUiTheme.d.ts.map +1 -1
  368. package/lib/editor/global/AcEdUiTheme.js +113 -6
  369. package/lib/editor/global/AcEdUiTheme.js.map +1 -1
  370. package/lib/editor/grip/AcEdGripAppearance.d.ts +18 -0
  371. package/lib/editor/grip/AcEdGripAppearance.d.ts.map +1 -1
  372. package/lib/editor/grip/AcEdGripAppearance.js +23 -1
  373. package/lib/editor/grip/AcEdGripAppearance.js.map +1 -1
  374. package/lib/editor/grip/AcEdGripEditSession.js +2 -2
  375. package/lib/editor/grip/AcEdGripEditSession.js.map +1 -1
  376. package/lib/editor/grip/AcEdGripHandle.d.ts +1 -2
  377. package/lib/editor/grip/AcEdGripHandle.d.ts.map +1 -1
  378. package/lib/editor/grip/AcEdGripHandle.js +4 -13
  379. package/lib/editor/grip/AcEdGripHandle.js.map +1 -1
  380. package/lib/editor/grip/AcEdGripManager.d.ts +3 -1
  381. package/lib/editor/grip/AcEdGripManager.d.ts.map +1 -1
  382. package/lib/editor/grip/AcEdGripManager.js +30 -14
  383. package/lib/editor/grip/AcEdGripManager.js.map +1 -1
  384. package/lib/editor/grip/index.d.ts +1 -0
  385. package/lib/editor/grip/index.d.ts.map +1 -1
  386. package/lib/editor/grip/index.js +1 -0
  387. package/lib/editor/grip/index.js.map +1 -1
  388. package/lib/editor/input/AcEdDynamicInput.d.ts +15 -0
  389. package/lib/editor/input/AcEdDynamicInput.d.ts.map +1 -0
  390. package/lib/editor/input/AcEdDynamicInput.js +22 -0
  391. package/lib/editor/input/AcEdDynamicInput.js.map +1 -0
  392. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts +19 -1
  393. package/lib/editor/input/AcEdOsnapCenterMarks.d.ts.map +1 -1
  394. package/lib/editor/input/AcEdOsnapCenterMarks.js +53 -9
  395. package/lib/editor/input/AcEdOsnapCenterMarks.js.map +1 -1
  396. package/lib/editor/input/AcEdOsnapResolver.d.ts.map +1 -1
  397. package/lib/editor/input/AcEdOsnapResolver.js +216 -35
  398. package/lib/editor/input/AcEdOsnapResolver.js.map +1 -1
  399. package/lib/editor/input/AcEditor.d.ts +14 -1
  400. package/lib/editor/input/AcEditor.d.ts.map +1 -1
  401. package/lib/editor/input/AcEditor.js +18 -2
  402. package/lib/editor/input/AcEditor.js.map +1 -1
  403. package/lib/editor/input/index.d.ts +1 -0
  404. package/lib/editor/input/index.d.ts.map +1 -1
  405. package/lib/editor/input/index.js +1 -0
  406. package/lib/editor/input/index.js.map +1 -1
  407. package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts +12 -0
  408. package/lib/editor/input/marker/AcEdOSnapMarkerManager.d.ts.map +1 -1
  409. package/lib/editor/input/marker/AcEdOSnapMarkerManager.js +53 -18
  410. package/lib/editor/input/marker/AcEdOSnapMarkerManager.js.map +1 -1
  411. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts +15 -0
  412. package/lib/editor/input/prompt/AcEdPromptPointOptions.d.ts.map +1 -1
  413. package/lib/editor/input/prompt/AcEdPromptPointOptions.js +24 -0
  414. package/lib/editor/input/prompt/AcEdPromptPointOptions.js.map +1 -1
  415. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts +33 -0
  416. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.d.ts.map +1 -0
  417. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js +85 -0
  418. package/lib/editor/input/ui/AcEdDesktopSessionAccessoryChrome.js.map +1 -0
  419. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts +57 -0
  420. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.d.ts.map +1 -0
  421. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js +104 -0
  422. package/lib/editor/input/ui/AcEdEntityPickCancelChrome.js.map +1 -0
  423. package/lib/editor/input/ui/AcEdFloatingInput.d.ts +144 -0
  424. package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
  425. package/lib/editor/input/ui/AcEdFloatingInput.js +412 -13
  426. package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
  427. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +2 -1
  428. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
  429. package/lib/editor/input/ui/AcEdFloatingMessage.d.ts.map +1 -1
  430. package/lib/editor/input/ui/AcEdFloatingMessage.js +2 -2
  431. package/lib/editor/input/ui/AcEdFloatingMessage.js.map +1 -1
  432. package/lib/editor/input/ui/AcEdInputManager.d.ts +100 -7
  433. package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
  434. package/lib/editor/input/ui/AcEdInputManager.js +805 -164
  435. package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
  436. package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts +94 -0
  437. package/lib/editor/input/ui/AcEdInteractionStrategy.d.ts.map +1 -0
  438. package/lib/editor/input/ui/AcEdInteractionStrategy.js +60 -0
  439. package/lib/editor/input/ui/AcEdInteractionStrategy.js.map +1 -0
  440. package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts +52 -0
  441. package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts.map +1 -0
  442. package/lib/editor/input/ui/AcEdMobileBoxGesture.js +201 -0
  443. package/lib/editor/input/ui/AcEdMobileBoxGesture.js.map +1 -0
  444. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts +89 -0
  445. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts.map +1 -0
  446. package/lib/editor/input/ui/AcEdMobileCommandChrome.js +143 -0
  447. package/lib/editor/input/ui/AcEdMobileCommandChrome.js.map +1 -0
  448. package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts +29 -0
  449. package/lib/editor/input/ui/AcEdMobileSessionMetrics.d.ts.map +1 -0
  450. package/lib/editor/input/ui/AcEdMobileSessionMetrics.js +37 -0
  451. package/lib/editor/input/ui/AcEdMobileSessionMetrics.js.map +1 -0
  452. package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts +45 -0
  453. package/lib/editor/input/ui/AcEdMobileSnapLoupe.d.ts.map +1 -0
  454. package/lib/editor/input/ui/AcEdMobileSnapLoupe.js +63 -0
  455. package/lib/editor/input/ui/AcEdMobileSnapLoupe.js.map +1 -0
  456. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts +113 -0
  457. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts.map +1 -0
  458. package/lib/editor/input/ui/AcEdSessionAccessoryController.js +295 -0
  459. package/lib/editor/input/ui/AcEdSessionAccessoryController.js.map +1 -0
  460. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts +28 -0
  461. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.d.ts.map +1 -0
  462. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js +86 -0
  463. package/lib/editor/input/ui/AcEdSimulatedMouseCursor.js.map +1 -0
  464. package/lib/editor/input/ui/AcEdSnapLoupe.d.ts +60 -0
  465. package/lib/editor/input/ui/AcEdSnapLoupe.d.ts.map +1 -0
  466. package/lib/editor/input/ui/AcEdSnapLoupe.js +109 -0
  467. package/lib/editor/input/ui/AcEdSnapLoupe.js.map +1 -0
  468. package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts +47 -0
  469. package/lib/editor/input/ui/AcEdSnapLoupeMath.d.ts.map +1 -0
  470. package/lib/editor/input/ui/AcEdSnapLoupeMath.js +50 -0
  471. package/lib/editor/input/ui/AcEdSnapLoupeMath.js.map +1 -0
  472. package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts +97 -0
  473. package/lib/editor/input/ui/AcEdTouchPickStrategy.d.ts.map +1 -0
  474. package/lib/editor/input/ui/AcEdTouchPickStrategy.js +74 -0
  475. package/lib/editor/input/ui/AcEdTouchPickStrategy.js.map +1 -0
  476. package/lib/editor/input/ui/AcEdTouchPointSession.d.ts +198 -0
  477. package/lib/editor/input/ui/AcEdTouchPointSession.d.ts.map +1 -0
  478. package/lib/editor/input/ui/AcEdTouchPointSession.js +329 -0
  479. package/lib/editor/input/ui/AcEdTouchPointSession.js.map +1 -0
  480. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts +18 -0
  481. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts.map +1 -0
  482. package/lib/editor/input/ui/AcEdTouchPointTiming.js +18 -0
  483. package/lib/editor/input/ui/AcEdTouchPointTiming.js.map +1 -0
  484. package/lib/editor/input/ui/index.d.ts +13 -0
  485. package/lib/editor/input/ui/index.d.ts.map +1 -1
  486. package/lib/editor/input/ui/index.js +13 -0
  487. package/lib/editor/input/ui/index.js.map +1 -1
  488. package/lib/editor/view/AcEdBaseView.d.ts +144 -39
  489. package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
  490. package/lib/editor/view/AcEdBaseView.js +210 -41
  491. package/lib/editor/view/AcEdBaseView.js.map +1 -1
  492. package/lib/editor/view/AcEdViewMode.d.ts +34 -0
  493. package/lib/editor/view/AcEdViewMode.d.ts.map +1 -0
  494. package/lib/editor/view/AcEdViewMode.js +35 -0
  495. package/lib/editor/view/AcEdViewMode.js.map +1 -0
  496. package/lib/editor/view/index.d.ts +1 -0
  497. package/lib/editor/view/index.d.ts.map +1 -1
  498. package/lib/editor/view/index.js +1 -0
  499. package/lib/editor/view/index.js.map +1 -1
  500. package/lib/i18n/AcApI18n.d.ts +1 -1
  501. package/lib/i18n/AcApI18n.d.ts.map +1 -1
  502. package/lib/i18n/AcApI18n.js +3 -2
  503. package/lib/i18n/AcApI18n.js.map +1 -1
  504. package/lib/i18n/ar/command.d.ts +465 -0
  505. package/lib/i18n/ar/command.d.ts.map +1 -0
  506. package/lib/i18n/ar/command.js +14 -0
  507. package/lib/i18n/ar/command.js.map +1 -0
  508. package/lib/i18n/ar/jig.d.ts +1251 -0
  509. package/lib/i18n/ar/jig.d.ts.map +1 -0
  510. package/lib/i18n/ar/jig.js +606 -0
  511. package/lib/i18n/ar/jig.js.map +1 -0
  512. package/lib/i18n/ar/main.d.ts +133 -0
  513. package/lib/i18n/ar/main.d.ts.map +1 -0
  514. package/lib/i18n/ar/main.js +132 -0
  515. package/lib/i18n/ar/main.js.map +1 -0
  516. package/lib/i18n/cs/command.d.ts +9 -0
  517. package/lib/i18n/cs/command.d.ts.map +1 -1
  518. package/lib/i18n/cs/command.js +9 -0
  519. package/lib/i18n/cs/command.js.map +1 -1
  520. package/lib/i18n/cs/jig.d.ts +20 -0
  521. package/lib/i18n/cs/jig.d.ts.map +1 -1
  522. package/lib/i18n/cs/jig.js +21 -1
  523. package/lib/i18n/cs/jig.js.map +1 -1
  524. package/lib/i18n/cs/main.d.ts +70 -1
  525. package/lib/i18n/cs/main.d.ts.map +1 -1
  526. package/lib/i18n/cs/main.js +71 -2
  527. package/lib/i18n/cs/main.js.map +1 -1
  528. package/lib/i18n/en/command.d.ts +12 -0
  529. package/lib/i18n/en/command.d.ts.map +1 -1
  530. package/lib/i18n/en/command.js +12 -0
  531. package/lib/i18n/en/command.js.map +1 -1
  532. package/lib/i18n/en/jig.d.ts +20 -0
  533. package/lib/i18n/en/jig.d.ts.map +1 -1
  534. package/lib/i18n/en/jig.js +21 -1
  535. package/lib/i18n/en/jig.js.map +1 -1
  536. package/lib/i18n/en/main.d.ts +70 -1
  537. package/lib/i18n/en/main.d.ts.map +1 -1
  538. package/lib/i18n/en/main.js +71 -2
  539. package/lib/i18n/en/main.js.map +1 -1
  540. package/lib/i18n/index.d.ts.map +1 -1
  541. package/lib/i18n/index.js +8 -0
  542. package/lib/i18n/index.js.map +1 -1
  543. package/lib/i18n/tr/command.d.ts +9 -0
  544. package/lib/i18n/tr/command.d.ts.map +1 -1
  545. package/lib/i18n/tr/command.js +9 -0
  546. package/lib/i18n/tr/command.js.map +1 -1
  547. package/lib/i18n/tr/jig.d.ts +20 -0
  548. package/lib/i18n/tr/jig.d.ts.map +1 -1
  549. package/lib/i18n/tr/jig.js +21 -1
  550. package/lib/i18n/tr/jig.js.map +1 -1
  551. package/lib/i18n/tr/main.d.ts +70 -1
  552. package/lib/i18n/tr/main.d.ts.map +1 -1
  553. package/lib/i18n/tr/main.js +71 -2
  554. package/lib/i18n/tr/main.js.map +1 -1
  555. package/lib/i18n/zh/command.d.ts +12 -0
  556. package/lib/i18n/zh/command.d.ts.map +1 -1
  557. package/lib/i18n/zh/command.js +12 -0
  558. package/lib/i18n/zh/command.js.map +1 -1
  559. package/lib/i18n/zh/jig.d.ts +20 -0
  560. package/lib/i18n/zh/jig.d.ts.map +1 -1
  561. package/lib/i18n/zh/jig.js +21 -1
  562. package/lib/i18n/zh/jig.js.map +1 -1
  563. package/lib/i18n/zh/main.d.ts +70 -1
  564. package/lib/i18n/zh/main.d.ts.map +1 -1
  565. package/lib/i18n/zh/main.js +72 -3
  566. package/lib/i18n/zh/main.js.map +1 -1
  567. package/lib/plugin/AcApPluginManager.d.ts +10 -0
  568. package/lib/plugin/AcApPluginManager.d.ts.map +1 -1
  569. package/lib/plugin/AcApPluginManager.js +18 -0
  570. package/lib/plugin/AcApPluginManager.js.map +1 -1
  571. package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts.map +1 -1
  572. package/lib/spatialIndex/AcTrRBushSpatialIndex.js +11 -4
  573. package/lib/spatialIndex/AcTrRBushSpatialIndex.js.map +1 -1
  574. package/lib/ui/AcUiAciColorDialog.d.ts +57 -0
  575. package/lib/ui/AcUiAciColorDialog.d.ts.map +1 -0
  576. package/lib/ui/AcUiAciColorDialog.js +91 -0
  577. package/lib/ui/AcUiAciColorDialog.js.map +1 -0
  578. package/lib/ui/AcUiAciPaletteUi.d.ts +118 -0
  579. package/lib/ui/AcUiAciPaletteUi.d.ts.map +1 -0
  580. package/lib/ui/AcUiAciPaletteUi.js +521 -0
  581. package/lib/ui/AcUiAciPaletteUi.js.map +1 -0
  582. package/lib/ui/AcUiDialog.d.ts +38 -2
  583. package/lib/ui/AcUiDialog.d.ts.map +1 -1
  584. package/lib/ui/AcUiDialog.js +45 -16
  585. package/lib/ui/AcUiDialog.js.map +1 -1
  586. package/lib/ui/AcUiDrawStyle.d.ts +59 -0
  587. package/lib/ui/AcUiDrawStyle.d.ts.map +1 -0
  588. package/lib/ui/AcUiDrawStyle.js +94 -0
  589. package/lib/ui/AcUiDrawStyle.js.map +1 -0
  590. package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts +108 -0
  591. package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts.map +1 -0
  592. package/lib/ui/AcUiDrawStyleSessionAccessory.js +455 -0
  593. package/lib/ui/AcUiDrawStyleSessionAccessory.js.map +1 -0
  594. package/lib/ui/AcUiFullscreenPanel.d.ts +89 -0
  595. package/lib/ui/AcUiFullscreenPanel.d.ts.map +1 -0
  596. package/lib/ui/AcUiFullscreenPanel.js +224 -0
  597. package/lib/ui/AcUiFullscreenPanel.js.map +1 -0
  598. package/lib/ui/AcUiHelpPanel.d.ts +49 -0
  599. package/lib/ui/AcUiHelpPanel.d.ts.map +1 -0
  600. package/lib/ui/AcUiHelpPanel.js +124 -0
  601. package/lib/ui/AcUiHelpPanel.js.map +1 -0
  602. package/lib/ui/AcUiMobileSessionPanel.d.ts +174 -0
  603. package/lib/ui/AcUiMobileSessionPanel.d.ts.map +1 -0
  604. package/lib/ui/AcUiMobileSessionPanel.js +557 -0
  605. package/lib/ui/AcUiMobileSessionPanel.js.map +1 -0
  606. package/lib/ui/AcUiShortCutToolbar.d.ts +136 -0
  607. package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -0
  608. package/lib/ui/AcUiShortCutToolbar.js +250 -0
  609. package/lib/ui/AcUiShortCutToolbar.js.map +1 -0
  610. package/lib/ui/AcUiSimpleToolbar.d.ts +110 -0
  611. package/lib/ui/AcUiSimpleToolbar.d.ts.map +1 -0
  612. package/lib/ui/AcUiSimpleToolbar.js +431 -0
  613. package/lib/ui/AcUiSimpleToolbar.js.map +1 -0
  614. package/lib/ui/AcUiTextHeightDialog.d.ts +85 -0
  615. package/lib/ui/AcUiTextHeightDialog.d.ts.map +1 -0
  616. package/lib/ui/AcUiTextHeightDialog.js +205 -0
  617. package/lib/ui/AcUiTextHeightDialog.js.map +1 -0
  618. package/lib/ui/AcUiTextHeightDialogHelpers.d.ts +54 -0
  619. package/lib/ui/AcUiTextHeightDialogHelpers.d.ts.map +1 -0
  620. package/lib/ui/AcUiTextHeightDialogHelpers.js +128 -0
  621. package/lib/ui/AcUiTextHeightDialogHelpers.js.map +1 -0
  622. package/lib/ui/AcUiTouchPointTutorialDialog.d.ts +18 -0
  623. package/lib/ui/AcUiTouchPointTutorialDialog.d.ts.map +1 -0
  624. package/lib/ui/AcUiTouchPointTutorialDialog.js +58 -0
  625. package/lib/ui/AcUiTouchPointTutorialDialog.js.map +1 -0
  626. package/lib/ui/icons.d.ts +175 -0
  627. package/lib/ui/icons.d.ts.map +1 -0
  628. package/lib/ui/icons.js +227 -0
  629. package/lib/ui/icons.js.map +1 -0
  630. package/lib/ui/index.d.ts +14 -2
  631. package/lib/ui/index.d.ts.map +1 -1
  632. package/lib/ui/index.js +14 -2
  633. package/lib/ui/index.js.map +1 -1
  634. package/lib/ui/touch-point-tutorial.d.ts +64 -0
  635. package/lib/ui/touch-point-tutorial.d.ts.map +1 -0
  636. package/lib/ui/touch-point-tutorial.js +271 -0
  637. package/lib/ui/touch-point-tutorial.js.map +1 -0
  638. package/lib/ui-html-entry.d.ts +31 -0
  639. package/lib/ui-html-entry.d.ts.map +1 -0
  640. package/lib/ui-html-entry.js +23 -0
  641. package/lib/ui-html-entry.js.map +1 -0
  642. package/lib/util/AcApAciPalette.d.ts +7 -0
  643. package/lib/util/AcApAciPalette.d.ts.map +1 -0
  644. package/lib/util/AcApAciPalette.js +51 -0
  645. package/lib/util/AcApAciPalette.js.map +1 -0
  646. package/lib/util/AcApCommandUtil.d.ts +15 -0
  647. package/lib/util/AcApCommandUtil.d.ts.map +1 -0
  648. package/lib/util/AcApCommandUtil.js +38 -0
  649. package/lib/util/AcApCommandUtil.js.map +1 -0
  650. package/lib/util/AcApCssColor.d.ts +10 -0
  651. package/lib/util/AcApCssColor.d.ts.map +1 -1
  652. package/lib/util/AcApCssColor.js +52 -0
  653. package/lib/util/AcApCssColor.js.map +1 -1
  654. package/lib/util/AcApMeasurementUnits.d.ts +13 -1
  655. package/lib/util/AcApMeasurementUnits.d.ts.map +1 -1
  656. package/lib/util/AcApMeasurementUnits.js +144 -10
  657. package/lib/util/AcApMeasurementUnits.js.map +1 -1
  658. package/lib/util/AcApMeasurementUtil.d.ts +30 -9
  659. package/lib/util/AcApMeasurementUtil.d.ts.map +1 -1
  660. package/lib/util/AcApMeasurementUtil.js +70 -40
  661. package/lib/util/AcApMeasurementUtil.js.map +1 -1
  662. package/lib/util/AcApOpenFileErrorMessage.d.ts +25 -0
  663. package/lib/util/AcApOpenFileErrorMessage.d.ts.map +1 -0
  664. package/lib/util/AcApOpenFileErrorMessage.js +121 -0
  665. package/lib/util/AcApOpenFileErrorMessage.js.map +1 -0
  666. package/lib/util/index.d.ts +3 -0
  667. package/lib/util/index.d.ts.map +1 -1
  668. package/lib/util/index.js +3 -0
  669. package/lib/util/index.js.map +1 -1
  670. package/lib/view/AcApCompareDisplay.d.ts +37 -0
  671. package/lib/view/AcApCompareDisplay.d.ts.map +1 -0
  672. package/lib/view/AcApCompareDisplay.js +8 -0
  673. package/lib/view/AcApCompareDisplay.js.map +1 -0
  674. package/lib/view/AcApReadingMode.d.ts +52 -0
  675. package/lib/view/AcApReadingMode.d.ts.map +1 -0
  676. package/lib/view/AcApReadingMode.js +81 -0
  677. package/lib/view/AcApReadingMode.js.map +1 -0
  678. package/lib/view/AcEdReviewOverlayPick.d.ts +9 -0
  679. package/lib/view/AcEdReviewOverlayPick.d.ts.map +1 -1
  680. package/lib/view/AcEdReviewOverlayPick.js +30 -1
  681. package/lib/view/AcEdReviewOverlayPick.js.map +1 -1
  682. package/lib/view/AcEdViewKeyHandler.d.ts.map +1 -1
  683. package/lib/view/AcEdViewKeyHandler.js +6 -1
  684. package/lib/view/AcEdViewKeyHandler.js.map +1 -1
  685. package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts +6 -1
  686. package/lib/view/AcTrInheritedLayerMaterialMapper.d.ts.map +1 -1
  687. package/lib/view/AcTrInheritedLayerMaterialMapper.js +9 -1
  688. package/lib/view/AcTrInheritedLayerMaterialMapper.js.map +1 -1
  689. package/lib/view/AcTrLayer.d.ts +6 -0
  690. package/lib/view/AcTrLayer.d.ts.map +1 -1
  691. package/lib/view/AcTrLayer.js +8 -0
  692. package/lib/view/AcTrLayer.js.map +1 -1
  693. package/lib/view/AcTrLayout.d.ts +12 -0
  694. package/lib/view/AcTrLayout.d.ts.map +1 -1
  695. package/lib/view/AcTrLayout.js +35 -12
  696. package/lib/view/AcTrLayout.js.map +1 -1
  697. package/lib/view/AcTrLayoutView.d.ts +25 -1
  698. package/lib/view/AcTrLayoutView.d.ts.map +1 -1
  699. package/lib/view/AcTrLayoutView.js +62 -1
  700. package/lib/view/AcTrLayoutView.js.map +1 -1
  701. package/lib/view/AcTrScene.d.ts +7 -0
  702. package/lib/view/AcTrScene.d.ts.map +1 -1
  703. package/lib/view/AcTrScene.js +13 -0
  704. package/lib/view/AcTrScene.js.map +1 -1
  705. package/lib/view/AcTrView2d.d.ts +79 -2
  706. package/lib/view/AcTrView2d.d.ts.map +1 -1
  707. package/lib/view/AcTrView2d.js +407 -57
  708. package/lib/view/AcTrView2d.js.map +1 -1
  709. package/lib/view/AcTrViewSessionState.d.ts +32 -0
  710. package/lib/view/AcTrViewSessionState.d.ts.map +1 -0
  711. package/lib/view/AcTrViewSessionState.js +2 -0
  712. package/lib/view/AcTrViewSessionState.js.map +1 -0
  713. package/lib/view/index.d.ts +3 -0
  714. package/lib/view/index.d.ts.map +1 -1
  715. package/lib/view/index.js +3 -0
  716. package/lib/view/index.js.map +1 -1
  717. package/package.json +15 -8
  718. package/src/ui/icons.ts +387 -0
  719. package/lib/app/AcDbOpenDatabaseOptions.d.ts.map +0 -1
  720. package/lib/app/AcDbOpenDatabaseOptions.js.map +0 -1
  721. package/lib/ui/AcApDrawStyle.d.ts +0 -81
  722. package/lib/ui/AcApDrawStyle.d.ts.map +0 -1
  723. package/lib/ui/AcApDrawStyle.js +0 -170
  724. package/lib/ui/AcApDrawStyle.js.map +0 -1
  725. package/lib/ui/AcApDrawStyleToolbar.d.ts +0 -129
  726. package/lib/ui/AcApDrawStyleToolbar.d.ts.map +0 -1
  727. package/lib/ui/AcApDrawStyleToolbar.js +0 -607
  728. package/lib/ui/AcApDrawStyleToolbar.js.map +0 -1
@@ -9,18 +9,28 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ var __values = (this && this.__values) || function(o) {
13
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
14
+ if (m) return m.call(o);
15
+ if (o && typeof o.length === "number") return {
16
+ next: function () {
17
+ if (o && i >= o.length) o = void 0;
18
+ return { value: o && o[i++], done: !o };
19
+ }
20
+ };
21
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
22
+ };
12
23
  import { AcCmEventManager, AcDbOsnapMode, acdbOsnapModesToMask } from '@mlightcad/data-model';
13
- import { defaults } from 'lodash-es';
14
24
  /** Default values for all application settings */
15
25
  var DEFAULT_VALUES = {
16
26
  isDebug: false,
17
27
  isShowCommandLine: true,
18
28
  isShowCoordinate: true,
19
29
  isShowEntityInfo: false,
20
- isShowFileName: true,
21
30
  isShowLanguageSelector: true,
22
31
  isShowRibbon: true,
23
32
  isShowToolbar: true,
33
+ isShowShortCutToolbar: true,
24
34
  isShowStats: false,
25
35
  fontMapping: {},
26
36
  osnapModes: acdbOsnapModesToMask([
@@ -30,19 +40,24 @@ var DEFAULT_VALUES = {
30
40
  AcDbOsnapMode.Quadrant,
31
41
  AcDbOsnapMode.Intersection,
32
42
  AcDbOsnapMode.Nearest
33
- ])
43
+ ]),
44
+ hideTouchPointTutorial: false,
45
+ touchPointTutorialSnoozeDate: null,
46
+ useSimulatedMouseOnTouch: true
34
47
  };
35
- /** Local storage key for persisting settings */
36
- var SETTINGS_LS_KEY = 'settings';
48
+ /** Default localStorage key for persisting user preferences */
49
+ var DEFAULT_SETTINGS_LS_KEY = 'settings';
37
50
  /**
38
- * Maps the pre-ribbon `isShowMainMenu` key onto `isShowRibbon`.
51
+ * Maps the pre-ribbon `isShowMainMenu` key onto `isShowRibbon`, and drops
52
+ * obsolete keys such as `isShowFileName` (filename is always shown on the
53
+ * ribbon header now).
39
54
  *
40
55
  * Older builds persisted `isShowMainMenu`. After the main menu was replaced
41
56
  * by the command ribbon, that preference should keep hiding (or showing)
42
57
  * the ribbon for the same users.
43
58
  *
44
59
  * @param stored - Parsed localStorage object; not mutated.
45
- * @returns A copy with `isShowRibbon` filled in and `isShowMainMenu` removed.
60
+ * @returns A copy with `isShowRibbon` filled in and obsolete keys removed.
46
61
  */
47
62
  export function migrateStoredSettings(stored) {
48
63
  var next = __assign({}, stored);
@@ -55,39 +70,41 @@ export function migrateStoredSettings(stored) {
55
70
  delete next.isShowMainMenu;
56
71
  migrated = true;
57
72
  }
73
+ if ('isShowFileName' in next) {
74
+ delete next.isShowFileName;
75
+ migrated = true;
76
+ }
58
77
  return { settings: next, migrated: migrated };
59
78
  }
60
79
  /**
61
80
  * Singleton settings manager for the CAD application.
62
81
  *
63
- * This class manages application-wide settings with:
64
- * - Persistent storage using localStorage
65
- * - Event notification when settings change
66
- * - Type-safe setting access
67
- * - Default value fallbacks
82
+ * Settings resolve in three layers (later wins):
83
+ * 1. Built-in defaults
84
+ * 2. User preferences from localStorage
85
+ * 3. Session overrides (host layout; not persisted)
68
86
  *
69
- * The settings are automatically saved to localStorage and restored on application start.
87
+ * Only the user layer is written to localStorage. Use
88
+ * `{ persist: false }` for scene-specific layout so it does not leak into
89
+ * other products or later visits on the same origin.
70
90
  *
71
91
  * @template T - The settings interface type, defaults to AcApSettings
72
92
  *
73
93
  * @example
74
94
  * ```typescript
75
- * // Get the singleton instance
76
- * const settings = AcApSettingManager.instance;
77
- *
78
- * // Set a setting value
79
- * settings.set('isShowToolbar', false);
95
+ * // Isolate this product's preferences on a shared origin
96
+ * AcApSettingManager.configure({
97
+ * storageKey: 'mlightcad.settings.mobile-embed'
98
+ * })
80
99
  *
81
- * // Get a setting value
82
- * const showToolbar = settings.get('isShowToolbar');
100
+ * // Host layout: hide command line for this session only
101
+ * AcApSettingManager.instance.apply(
102
+ * { isShowCommandLine: false },
103
+ * { persist: false }
104
+ * )
83
105
  *
84
- * // Toggle a boolean setting
85
- * settings.toggle('isDebug');
86
- *
87
- * // Listen for setting changes
88
- * settings.events.modified.addEventListener(args => {
89
- * console.log(`Setting ${args.key} changed to:`, args.value);
90
- * });
106
+ * // User preference: persists across visits
107
+ * AcApSettingManager.instance.set('isShowToolbar', false)
91
108
  * ```
92
109
  */
93
110
  var AcApSettingManager = /** @class */ (function () {
@@ -97,7 +114,29 @@ var AcApSettingManager = /** @class */ (function () {
97
114
  /** Fired when any setting is modified */
98
115
  modified: new AcCmEventManager()
99
116
  };
117
+ /** User preferences loaded from / written to localStorage */
118
+ this._user = {};
119
+ /** Session-only overrides (host layout); never written to localStorage */
120
+ this._session = {};
121
+ this.reloadFromStorage();
100
122
  }
123
+ /**
124
+ * Configures the settings manager before the first read/write.
125
+ *
126
+ * Prefer calling this at host startup so each product on the same origin
127
+ * can use its own localStorage key. If an instance already exists, user
128
+ * prefs are reloaded from the new key and session overrides are cleared.
129
+ *
130
+ * @param options - Configuration options
131
+ */
132
+ AcApSettingManager.configure = function (options) {
133
+ if (options.storageKey != null && options.storageKey !== '') {
134
+ this._storageKey = options.storageKey;
135
+ }
136
+ if (this._instance) {
137
+ this._instance.reloadFromStorage();
138
+ }
139
+ };
101
140
  Object.defineProperty(AcApSettingManager, "instance", {
102
141
  /**
103
142
  * Gets the singleton instance of the settings manager.
@@ -116,33 +155,148 @@ var AcApSettingManager = /** @class */ (function () {
116
155
  configurable: true
117
156
  });
118
157
  /**
119
- * Sets a setting value and persists it to localStorage.
158
+ * Resets singleton state for unit tests.
159
+ *
160
+ * @internal
161
+ */
162
+ AcApSettingManager.resetInstanceForTesting = function () {
163
+ this._instance = undefined;
164
+ this._storageKey = DEFAULT_SETTINGS_LS_KEY;
165
+ };
166
+ /**
167
+ * Reloads the user preference layer from localStorage and clears session
168
+ * overrides.
169
+ */
170
+ AcApSettingManager.prototype.reloadFromStorage = function () {
171
+ this._user = this.readUserFromStorage();
172
+ this._session = {};
173
+ };
174
+ /**
175
+ * Reads and migrates user preferences from the configured storage key.
176
+ *
177
+ * @returns Partial user settings (may be empty)
178
+ */
179
+ AcApSettingManager.prototype.readUserFromStorage = function () {
180
+ var raw = localStorage.getItem(AcApSettingManager._storageKey);
181
+ if (raw == null) {
182
+ return {};
183
+ }
184
+ var stored;
185
+ try {
186
+ stored = JSON.parse(raw);
187
+ }
188
+ catch (_a) {
189
+ return {};
190
+ }
191
+ var _b = migrateStoredSettings(stored), migrated = _b.settings, didMigrate = _b.migrated;
192
+ if (didMigrate) {
193
+ localStorage.setItem(AcApSettingManager._storageKey, JSON.stringify(migrated));
194
+ }
195
+ return migrated;
196
+ };
197
+ /**
198
+ * Writes only the user preference layer to localStorage.
199
+ */
200
+ AcApSettingManager.prototype.persistUser = function () {
201
+ localStorage.setItem(AcApSettingManager._storageKey, JSON.stringify(this._user));
202
+ };
203
+ /**
204
+ * Merges defaults, user prefs, and session overrides into effective settings.
205
+ *
206
+ * @returns A new effective settings object
207
+ */
208
+ AcApSettingManager.prototype.computeEffective = function () {
209
+ return __assign(__assign(__assign({}, DEFAULT_VALUES), this._user), this._session);
210
+ };
211
+ /**
212
+ * Sets a setting value.
120
213
  *
121
- * Fires a modified event after the setting is saved.
214
+ * By default the change is persisted as a user preference. Pass
215
+ * `{ persist: false }` for a session-only override that does not touch
216
+ * localStorage.
217
+ *
218
+ * Fires a modified event after the setting is updated.
122
219
  *
123
220
  * @template K - The setting key type
124
221
  * @param key - The setting key to modify
125
222
  * @param value - The new value for the setting
223
+ * @param options - Optional write options (`persist` defaults to `true`)
126
224
  *
127
225
  * @example
128
226
  * ```typescript
129
227
  * settings.set('isShowToolbar', false);
130
- * settings.set('fontMapping', { 'Arial': 'Helvetica' });
228
+ * settings.set('isShowCommandLine', false, { persist: false });
131
229
  * ```
132
230
  */
133
- AcApSettingManager.prototype.set = function (key, value) {
134
- var toggles = this.settings;
135
- toggles[key] = value;
136
- localStorage.setItem(SETTINGS_LS_KEY, JSON.stringify(toggles));
231
+ AcApSettingManager.prototype.set = function (key, value, options) {
232
+ var persist = (options === null || options === void 0 ? void 0 : options.persist) !== false;
233
+ this._session[key] = value;
234
+ if (persist) {
235
+ this._user[key] = value;
236
+ this.persistUser();
237
+ }
137
238
  this.events.modified.dispatch({
138
239
  key: key,
139
240
  value: value
140
241
  });
141
242
  };
243
+ /**
244
+ * Applies multiple setting values at once.
245
+ *
246
+ * Each changed key fires a separate `modified` event so existing listeners
247
+ * keep working without a batch API.
248
+ *
249
+ * @param partial - Settings to update
250
+ * @param options - Optional write options (`persist` defaults to `true`)
251
+ *
252
+ * @example
253
+ * ```typescript
254
+ * settings.apply(
255
+ * { isShowCommandLine: false, isShowCoordinate: false },
256
+ * { persist: false }
257
+ * )
258
+ * ```
259
+ */
260
+ AcApSettingManager.prototype.apply = function (partial, options) {
261
+ var e_1, _a;
262
+ try {
263
+ for (var _b = __values(Object.keys(partial)), _c = _b.next(); !_c.done; _c = _b.next()) {
264
+ var key = _c.value;
265
+ var value = partial[key];
266
+ if (value !== undefined) {
267
+ this.set(key, value, options);
268
+ }
269
+ }
270
+ }
271
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
272
+ finally {
273
+ try {
274
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
275
+ }
276
+ finally { if (e_1) throw e_1.error; }
277
+ }
278
+ };
279
+ /**
280
+ * Removes a session-only override so the effective value falls back to
281
+ * user preferences / defaults.
282
+ *
283
+ * @template K - The setting key type
284
+ * @param key - The setting key whose session override should be cleared
285
+ */
286
+ AcApSettingManager.prototype.clearSessionOverride = function (key) {
287
+ if (!Object.prototype.hasOwnProperty.call(this._session, key)) {
288
+ return;
289
+ }
290
+ delete this._session[key];
291
+ this.events.modified.dispatch({
292
+ key: key,
293
+ value: this.get(key)
294
+ });
295
+ };
142
296
  /**
143
297
  * Gets a setting value.
144
298
  *
145
- * Returns the stored value or the default value if not set.
299
+ * Returns the effective value (defaults user session).
146
300
  *
147
301
  * @template K - The setting key type
148
302
  * @param key - The setting key to retrieve
@@ -161,6 +315,7 @@ var AcApSettingManager = /** @class */ (function () {
161
315
  * Toggles a boolean setting value.
162
316
  *
163
317
  * Only works with boolean settings. The caller should ensure the setting is boolean.
318
+ * The toggle is persisted as a user preference.
164
319
  *
165
320
  * @template K - The setting key type
166
321
  * @param key - The boolean setting key to toggle
@@ -256,26 +411,6 @@ var AcApSettingManager = /** @class */ (function () {
256
411
  enumerable: false,
257
412
  configurable: true
258
413
  });
259
- Object.defineProperty(AcApSettingManager.prototype, "isShowFileName", {
260
- /**
261
- * Gets whether file name is visible.
262
- *
263
- * @returns True if file name should be displayed
264
- */
265
- get: function () {
266
- return this.get('isShowFileName');
267
- },
268
- /**
269
- * Sets whether file name is visible.
270
- *
271
- * @param value - True to show file name
272
- */
273
- set: function (value) {
274
- this.set('isShowFileName', value);
275
- },
276
- enumerable: false,
277
- configurable: true
278
- });
279
414
  Object.defineProperty(AcApSettingManager.prototype, "isShowLanguageSelector", {
280
415
  /**
281
416
  * Gets whether language selector is visible.
@@ -336,6 +471,26 @@ var AcApSettingManager = /** @class */ (function () {
336
471
  enumerable: false,
337
472
  configurable: true
338
473
  });
474
+ Object.defineProperty(AcApSettingManager.prototype, "isShowShortCutToolbar", {
475
+ /**
476
+ * Gets whether the floating shortcut toolbar is visible.
477
+ *
478
+ * @returns True if the shortcut toolbar should be shown
479
+ */
480
+ get: function () {
481
+ return this.get('isShowShortCutToolbar');
482
+ },
483
+ /**
484
+ * Sets whether the floating shortcut toolbar is visible.
485
+ *
486
+ * @param value - True to show the shortcut toolbar
487
+ */
488
+ set: function (value) {
489
+ this.set('isShowShortCutToolbar', value);
490
+ },
491
+ enumerable: false,
492
+ configurable: true
493
+ });
339
494
  Object.defineProperty(AcApSettingManager.prototype, "isShowStats", {
340
495
  /**
341
496
  * Gets whether performance statistics are displayed.
@@ -383,7 +538,7 @@ var AcApSettingManager = /** @class */ (function () {
383
538
  * @param mappedFont - The replacement font name
384
539
  */
385
540
  AcApSettingManager.prototype.setFontMapping = function (originalFont, mappedFont) {
386
- var mapping = this.get('fontMapping');
541
+ var mapping = __assign({}, this.get('fontMapping'));
387
542
  mapping[originalFont] = mappedFont;
388
543
  this.set('fontMapping', mapping);
389
544
  };
@@ -409,25 +564,20 @@ var AcApSettingManager = /** @class */ (function () {
409
564
  });
410
565
  Object.defineProperty(AcApSettingManager.prototype, "settings", {
411
566
  /**
412
- * Gets the current settings object.
567
+ * Gets the current effective settings object.
413
568
  *
414
- * This method combines localStorage values with default values.
569
+ * Merges built-in defaults, user preferences, and session overrides.
415
570
  *
416
571
  * @returns The current settings object
417
572
  */
418
573
  get: function () {
419
- var values = localStorage.getItem(SETTINGS_LS_KEY);
420
- var stored = (values == null ? {} : JSON.parse(values));
421
- var _a = migrateStoredSettings(stored), migrated = _a.settings, didMigrate = _a.migrated;
422
- var results = defaults(migrated, DEFAULT_VALUES);
423
- if (didMigrate) {
424
- localStorage.setItem(SETTINGS_LS_KEY, JSON.stringify(results));
425
- }
426
- return results;
574
+ return this.computeEffective();
427
575
  },
428
576
  enumerable: false,
429
577
  configurable: true
430
578
  });
579
+ /** localStorage key for the user preference layer */
580
+ AcApSettingManager._storageKey = DEFAULT_SETTINGS_LS_KEY;
431
581
  return AcApSettingManager;
432
582
  }());
433
583
  export { AcApSettingManager };
@@ -1 +1 @@
1
- {"version":3,"file":"AcApSettingManager.js","sourceRoot":"","sources":["../../src/app/AcApSettingManager.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACrB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAiDpC,kDAAkD;AAClD,IAAM,cAAc,GAAiB;IACnC,OAAO,EAAE,KAAK;IACd,iBAAiB,EAAE,IAAI;IACvB,gBAAgB,EAAE,IAAI;IACtB,gBAAgB,EAAE,KAAK;IACvB,cAAc,EAAE,IAAI;IACpB,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,oBAAoB,CAAC;QAC/B,aAAa,CAAC,QAAQ;QACtB,aAAa,CAAC,QAAQ;QACtB,aAAa,CAAC,MAAM;QACpB,aAAa,CAAC,QAAQ;QACtB,aAAa,CAAC,YAAY;QAC1B,aAAa,CAAC,OAAO;KACtB,CAAC;CACH,CAAA;AAED,gDAAgD;AAChD,IAAM,eAAe,GAAG,UAAU,CAAA;AAElC;;;;;;;;;GASG;AACH,MAAM,UAAU,qBAAqB,CACnC,MAA+B;IAE/B,IAAM,IAAI,gBAAQ,MAAM,CAAE,CAAA;IAC1B,IAAI,QAAQ,GAAG,KAAK,CAAA;IACpB,IAAI,CAAC,CAAC,cAAc,IAAI,IAAI,CAAC,IAAI,OAAO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AM,OAAO,gBACP,IAAI,CAAC,GAAG,CAAC,aAAa,CAAqB,CAChD,CAAA;QACD,OAAO,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QAClC,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;IAClC,CAAC;IAOD,sBAAI,0CAAU;QALd;;;;WAIG;aACH;YACE,OAAO,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;QAC/B,CAAC;QAED;;;;WAIG;aACH,UAAe,KAAa;YAC1B,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,KAAK,CAAC,CAAA;QAC/B,CAAC;;;OATA;IAkBD,sBAAI,wCAAQ;QAPZ;;;;;;WAMG;aACH;YACE,OAAO,IAAI,CAAC,gBAAgB,EAAE,CAAA;QAChC,CAAC;;;OAAA;IA9cD,qDAAqD;IACtC,8BAAW,GAAG,uBAAuB,AAA1B,CAA0B;IA8ctD,yBAAC;CAAA,AAndD,IAmdC;SAndY,kBAAkB"}
@@ -1,5 +1,7 @@
1
1
  export * from './AcApBrand';
2
+ export * from './AcApDocsUrl';
2
3
  export * from './AcApContext';
4
+ export * from './AcApDocSession';
3
5
  export * from './AcApFontLoader';
4
6
  export * from './AcApCommandServices';
5
7
  export * from './AcApDocument';
@@ -12,8 +14,8 @@ export * from './AcApProgress';
12
14
  export * from './openFileProgress';
13
15
  export * from './AcApSettingManager';
14
16
  export * from './AcApLayerSessionState';
15
- export type { AcApOpenDatabaseOptions } from './AcDbOpenDatabaseOptions';
16
- export { AcApOpenViewMode } from './AcDbOpenDatabaseOptions';
17
+ export type { AcApOpenDatabaseOptions, AcApOpenSysVars } from './AcApOpenDatabaseOptions';
18
+ export { AcApOpenViewMode } from './AcApOpenDatabaseOptions';
17
19
  export type { AcApOpenDocumentDefaultsResolver, AcApOpenFileDialogOptions } from './AcApOpenFileDialog';
18
20
  export { acapInstallOpenFileDialog, acapUninstallOpenFileDialog, acapUpdateOpenFileDialogOptions } from './AcApOpenFileDialog';
19
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,YAAY,EACV,gCAAgC,EAChC,yBAAyB,EAC1B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,YAAY,EACV,uBAAuB,EACvB,eAAe,EAChB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAC5D,YAAY,EACV,gCAAgC,EAChC,yBAAyB,EAC1B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA"}
package/lib/app/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from './AcApBrand';
2
+ export * from './AcApDocsUrl';
2
3
  export * from './AcApContext';
4
+ export * from './AcApDocSession';
3
5
  export * from './AcApFontLoader';
4
6
  export * from './AcApCommandServices';
5
7
  export * from './AcApDocument';
@@ -12,6 +14,6 @@ export * from './AcApProgress';
12
14
  export * from './openFileProgress';
13
15
  export * from './AcApSettingManager';
14
16
  export * from './AcApLayerSessionState';
15
- export { AcApOpenViewMode } from './AcDbOpenDatabaseOptions';
17
+ export { AcApOpenViewMode } from './AcApOpenDatabaseOptions';
16
18
  export { acapInstallOpenFileDialog, acapUninstallOpenFileDialog, acapUpdateOpenFileDialogOptions } from './AcApOpenFileDialog';
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AAKvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAK5D,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,+BAA+B,EAChC,MAAM,sBAAsB,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { AcApContext } from '../app';
2
+ import { AcEdCommand } from '../editor';
3
+ /**
4
+ * Closes the current drawing, or the last remaining drawing after which a
5
+ * new untitled document is created.
6
+ */
7
+ export declare class AcApCloseCmd extends AcEdCommand {
8
+ /**
9
+ * Closes the current drawing via {@link AcApDocManager.closeDocument}.
10
+ *
11
+ * @param _context - Unused; the command always targets the active document.
12
+ */
13
+ execute(_context: AcApContext): Promise<void>;
14
+ }
15
+ //# sourceMappingURL=AcApCloseCmd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcApCloseCmd.d.ts","sourceRoot":"","sources":["../../src/command/AcApCloseCmd.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAkB,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC;;;GAGG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACG,OAAO,CAAC,QAAQ,EAAE,WAAW;CAGpC"}
@@ -0,0 +1,83 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
17
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
18
+ return new (P || (P = Promise))(function (resolve, reject) {
19
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
20
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
21
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
22
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
23
+ });
24
+ };
25
+ var __generator = (this && this.__generator) || function (thisArg, body) {
26
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
27
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
28
+ function verb(n) { return function (v) { return step([n, v]); }; }
29
+ function step(op) {
30
+ if (f) throw new TypeError("Generator is already executing.");
31
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
32
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
33
+ if (y = 0, t) op = [op[0] & 2, t.value];
34
+ switch (op[0]) {
35
+ case 0: case 1: t = op; break;
36
+ case 4: _.label++; return { value: op[1], done: false };
37
+ case 5: _.label++; y = op[1]; op = [0]; continue;
38
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
39
+ default:
40
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
41
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
42
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
43
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
44
+ if (t[2]) _.ops.pop();
45
+ _.trys.pop(); continue;
46
+ }
47
+ op = body.call(thisArg, _);
48
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
49
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
50
+ }
51
+ };
52
+ import { AcApDocManager } from '../app';
53
+ import { AcEdCommand } from '../editor';
54
+ /**
55
+ * Closes the current drawing, or the last remaining drawing after which a
56
+ * new untitled document is created.
57
+ */
58
+ var AcApCloseCmd = /** @class */ (function (_super) {
59
+ __extends(AcApCloseCmd, _super);
60
+ function AcApCloseCmd() {
61
+ return _super !== null && _super.apply(this, arguments) || this;
62
+ }
63
+ /**
64
+ * Closes the current drawing via {@link AcApDocManager.closeDocument}.
65
+ *
66
+ * @param _context - Unused; the command always targets the active document.
67
+ */
68
+ AcApCloseCmd.prototype.execute = function (_context) {
69
+ return __awaiter(this, void 0, void 0, function () {
70
+ return __generator(this, function (_a) {
71
+ switch (_a.label) {
72
+ case 0: return [4 /*yield*/, AcApDocManager.instance.closeDocument()];
73
+ case 1:
74
+ _a.sent();
75
+ return [2 /*return*/];
76
+ }
77
+ });
78
+ });
79
+ };
80
+ return AcApCloseCmd;
81
+ }(AcEdCommand));
82
+ export { AcApCloseCmd };
83
+ //# sourceMappingURL=AcApCloseCmd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcApCloseCmd.js","sourceRoot":"","sources":["../../src/command/AcApCloseCmd.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAe,cAAc,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC;;;GAGG;AACH;IAAkC,gCAAW;IAA7C;;IASA,CAAC;IARC;;;;OAIG;IACG,8BAAO,GAAb,UAAc,QAAqB;;;;4BACjC,qBAAM,cAAc,CAAC,QAAQ,CAAC,aAAa,EAAE,EAAA;;wBAA7C,SAA6C,CAAA;;;;;KAC9C;IACH,mBAAC;AAAD,CAAC,AATD,CAAkC,WAAW,GAS5C"}
@@ -0,0 +1,6 @@
1
+ import type { AcApContext } from '../app/AcApContext';
2
+ /**
3
+ * Selection mode + crosshair used by measure-draw and markup-draw commands.
4
+ */
5
+ export declare function withDrawOverlayInput(context: AcApContext, fn: () => Promise<void>): Promise<void>;
6
+ //# sourceMappingURL=AcApDrawOverlayInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcApDrawOverlayInput.d.ts","sourceRoot":"","sources":["../../src/command/AcApDrawOverlayInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAgBrD;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,WAAW,EACpB,EAAE,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GACtB,OAAO,CAAC,IAAI,CAAC,CAIf"}