@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
@@ -0,0 +1,224 @@
1
+ /**
2
+ * Portable full-screen panel chrome (DOM + CSS only).
3
+ *
4
+ * Base for mobile “push” screens: header with back (`<`) + centered title and a
5
+ * content region. The offline HTML viewer pulls this via the main package
6
+ * export and tree-shaking (same pattern as {@link AcUiDialog}).
7
+ *
8
+ * Callers supply localized labels — this module does not depend on i18n.
9
+ */
10
+ /** DOM id of the injected stylesheet. */
11
+ var STYLE_ID = 'ml-ui-fullscreen-panel-styles';
12
+ /** History state marker written by {@link AcUiFullscreenPanel.show}. */
13
+ var HISTORY_STATE_KEY = 'mlcadFullscreenPanel';
14
+ /**
15
+ * Mobile-style full-screen overlay with a nav header and content body.
16
+ *
17
+ * Subclasses append widgets to {@link bodyEl}. Opening optionally pushes a
18
+ * history entry so the system / gesture back dismisses the panel; the header
19
+ * back control closes the UI immediately (iframe navigations can insert extra
20
+ * history entries that would otherwise consume the first `history.back()`).
21
+ */
22
+ var AcUiFullscreenPanel = /** @class */ (function () {
23
+ /**
24
+ * @param options - Optional mount host and root class.
25
+ */
26
+ function AcUiFullscreenPanel(options) {
27
+ if (options === void 0) { options = {}; }
28
+ var _this = this;
29
+ var _a;
30
+ this.onPopState = function () { return _this.onHistoryPop(); };
31
+ this.visible = false;
32
+ this.historyPushed = false;
33
+ this.labels = { title: '', back: 'Back' };
34
+ AcUiFullscreenPanel.injectCss();
35
+ this.mountHost = (_a = options.host) !== null && _a !== void 0 ? _a : document.body;
36
+ this.root = document.createElement('div');
37
+ this.root.className = ['ml-ui-fullscreen-panel', options.rootClassName]
38
+ .filter(Boolean)
39
+ .join(' ');
40
+ this.root.hidden = true;
41
+ this.root.setAttribute('aria-hidden', 'true');
42
+ this.root.setAttribute('role', 'dialog');
43
+ this.root.setAttribute('aria-modal', 'true');
44
+ var header = document.createElement('header');
45
+ header.className = 'ml-ui-fullscreen-panel__header';
46
+ this.backBtn = document.createElement('button');
47
+ this.backBtn.type = 'button';
48
+ this.backBtn.className = 'ml-ui-fullscreen-panel__back';
49
+ this.backBtn.innerHTML = backChevronIcon();
50
+ this.backBtn.addEventListener('click', function (e) {
51
+ e.preventDefault();
52
+ e.stopPropagation();
53
+ _this.requestClose();
54
+ });
55
+ this.titleEl = document.createElement('span');
56
+ this.titleEl.className = 'ml-ui-fullscreen-panel__title';
57
+ this.titleEl.id = "ml-ui-fullscreen-panel-title-".concat(AcUiFullscreenPanel.nextTitleId++);
58
+ this.root.setAttribute('aria-labelledby', this.titleEl.id);
59
+ // Trailing spacer mirrors the back button so the title stays optically centered.
60
+ var spacer = document.createElement('span');
61
+ spacer.className = 'ml-ui-fullscreen-panel__spacer';
62
+ spacer.setAttribute('aria-hidden', 'true');
63
+ header.append(this.backBtn, this.titleEl, spacer);
64
+ this.body = document.createElement('div');
65
+ this.body.className = 'ml-ui-fullscreen-panel__body';
66
+ this.root.append(header, this.body);
67
+ this.mountHost.appendChild(this.root);
68
+ this.applyLabels(this.labels);
69
+ }
70
+ Object.defineProperty(AcUiFullscreenPanel.prototype, "bodyEl", {
71
+ /** Content host for subclasses / callers. */
72
+ get: function () {
73
+ return this.body;
74
+ },
75
+ enumerable: false,
76
+ configurable: true
77
+ });
78
+ Object.defineProperty(AcUiFullscreenPanel.prototype, "rootEl", {
79
+ /** Root overlay element. */
80
+ get: function () {
81
+ return this.root;
82
+ },
83
+ enumerable: false,
84
+ configurable: true
85
+ });
86
+ Object.defineProperty(AcUiFullscreenPanel.prototype, "isOpen", {
87
+ /** Whether the panel is currently shown. */
88
+ get: function () {
89
+ return this.visible;
90
+ },
91
+ enumerable: false,
92
+ configurable: true
93
+ });
94
+ /**
95
+ * Shows the panel. Pushes a history entry the first time so system back can
96
+ * dismiss it.
97
+ *
98
+ * @param labels - Localized title and back aria-label.
99
+ */
100
+ AcUiFullscreenPanel.prototype.show = function (labels) {
101
+ var _a;
102
+ this.applyLabels(labels);
103
+ if (this.visible)
104
+ return;
105
+ this.visible = true;
106
+ this.root.hidden = false;
107
+ this.root.setAttribute('aria-hidden', 'false');
108
+ document.body.classList.add('ml-ui-fullscreen-panel-open');
109
+ try {
110
+ history.pushState((_a = {}, _a[HISTORY_STATE_KEY] = true, _a), '');
111
+ this.historyPushed = true;
112
+ window.addEventListener('popstate', this.onPopState);
113
+ }
114
+ catch (_b) {
115
+ this.historyPushed = false;
116
+ }
117
+ this.backBtn.focus();
118
+ };
119
+ /**
120
+ * Updates chrome labels without changing the open/closed state.
121
+ *
122
+ * @param labels - Localized title and back aria-label.
123
+ */
124
+ AcUiFullscreenPanel.prototype.setLabels = function (labels) {
125
+ this.applyLabels(labels);
126
+ };
127
+ /**
128
+ * Closes via the header back control. Hides immediately, then unwinds at most
129
+ * one history entry we pushed (does not wait on `popstate`, so iframe-added
130
+ * history entries cannot steal the first tap).
131
+ */
132
+ AcUiFullscreenPanel.prototype.requestClose = function () {
133
+ if (!this.visible)
134
+ return;
135
+ var pushed = this.historyPushed;
136
+ this.detachHistory();
137
+ this.hideUi();
138
+ if (!pushed)
139
+ return;
140
+ // Swallow the popstate from our intentional history.back() so it does not
141
+ // race with a later open.
142
+ var swallow = function () {
143
+ window.removeEventListener('popstate', swallow);
144
+ };
145
+ window.addEventListener('popstate', swallow);
146
+ try {
147
+ history.back();
148
+ }
149
+ catch (_a) {
150
+ window.removeEventListener('popstate', swallow);
151
+ }
152
+ };
153
+ /** Tears down DOM and history listeners. */
154
+ AcUiFullscreenPanel.prototype.dispose = function () {
155
+ if (this.visible && this.historyPushed) {
156
+ this.detachHistory();
157
+ var swallow_1 = function () {
158
+ window.removeEventListener('popstate', swallow_1);
159
+ };
160
+ window.addEventListener('popstate', swallow_1);
161
+ try {
162
+ history.back();
163
+ }
164
+ catch (_a) {
165
+ window.removeEventListener('popstate', swallow_1);
166
+ }
167
+ }
168
+ else {
169
+ this.detachHistory();
170
+ }
171
+ this.hideUi();
172
+ this.root.remove();
173
+ };
174
+ /** Hook for subclasses when the panel is hidden. */
175
+ AcUiFullscreenPanel.prototype.onHidden = function () {
176
+ // no-op
177
+ };
178
+ AcUiFullscreenPanel.prototype.applyLabels = function (labels) {
179
+ this.labels = labels;
180
+ this.titleEl.textContent = labels.title;
181
+ this.backBtn.setAttribute('aria-label', labels.back);
182
+ };
183
+ AcUiFullscreenPanel.prototype.onHistoryPop = function () {
184
+ this.historyPushed = false;
185
+ this.detachHistory();
186
+ this.hideUi();
187
+ };
188
+ AcUiFullscreenPanel.prototype.detachHistory = function () {
189
+ window.removeEventListener('popstate', this.onPopState);
190
+ this.historyPushed = false;
191
+ };
192
+ AcUiFullscreenPanel.prototype.hideUi = function () {
193
+ if (!this.visible) {
194
+ this.onHidden();
195
+ return;
196
+ }
197
+ this.visible = false;
198
+ this.root.hidden = true;
199
+ this.root.setAttribute('aria-hidden', 'true');
200
+ document.body.classList.remove('ml-ui-fullscreen-panel-open');
201
+ this.onHidden();
202
+ };
203
+ AcUiFullscreenPanel.injectCss = function () {
204
+ if (this.stylesInjected)
205
+ return;
206
+ if (typeof document === 'undefined')
207
+ return;
208
+ this.stylesInjected = true;
209
+ var style = document.createElement('style');
210
+ style.id = STYLE_ID;
211
+ style.textContent = FULLSCREEN_PANEL_CSS;
212
+ document.head.appendChild(style);
213
+ };
214
+ AcUiFullscreenPanel.stylesInjected = false;
215
+ AcUiFullscreenPanel.nextTitleId = 0;
216
+ return AcUiFullscreenPanel;
217
+ }());
218
+ export { AcUiFullscreenPanel };
219
+ /** Left-pointing chevron for the back control. */
220
+ function backChevronIcon() {
221
+ return '<svg viewBox="0 0 24 24" width="22" height="22" aria-hidden="true"><path fill="currentColor" d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>';
222
+ }
223
+ var FULLSCREEN_PANEL_CSS = "\n body.ml-ui-fullscreen-panel-open {\n overflow: hidden;\n }\n .ml-ui-fullscreen-panel {\n position: fixed;\n inset: 0;\n z-index: 10060;\n display: flex;\n flex-direction: column;\n background: var(--ml-ui-bg, var(--mlcad-ui-bg, #1c1e22));\n color: var(--ml-ui-text, var(--mlcad-ui-text, #e8eaed));\n font-family: system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\n }\n .ml-ui-fullscreen-panel[hidden] {\n display: none !important;\n }\n .ml-ui-fullscreen-panel__header {\n flex: 0 0 auto;\n display: grid;\n grid-template-columns: 44px 1fr 44px;\n align-items: center;\n column-gap: 4px;\n min-height: 48px;\n padding-top: env(safe-area-inset-top, 0px);\n padding-left: max(4px, env(safe-area-inset-left, 0px));\n padding-right: max(4px, env(safe-area-inset-right, 0px));\n border-bottom: 1px solid var(--ml-ui-border, var(--mlcad-ui-border, rgba(255, 255, 255, 0.12)));\n background: var(--ml-ui-bg-elevated, var(--mlcad-ui-bg-elevated, rgba(28, 30, 34, 0.98)));\n }\n .ml-ui-fullscreen-panel__back {\n box-sizing: border-box;\n grid-column: 1;\n justify-self: start;\n width: 44px;\n height: 44px;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: 50%;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n color: var(--ml-ui-accent, var(--mlcad-accent, #08e8de));\n cursor: pointer;\n line-height: 0;\n -webkit-tap-highlight-color: transparent;\n }\n .ml-ui-fullscreen-panel__back:active {\n background: rgba(255, 255, 255, 0.08);\n }\n .ml-ui-fullscreen-panel__back svg {\n display: block;\n }\n .ml-ui-fullscreen-panel__title {\n grid-column: 2;\n min-width: 0;\n font-size: 17px;\n font-weight: 600;\n line-height: 1.2;\n text-align: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .ml-ui-fullscreen-panel__spacer {\n grid-column: 3;\n width: 44px;\n height: 44px;\n justify-self: end;\n }\n .ml-ui-fullscreen-panel__body {\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n }\n";
224
+ //# sourceMappingURL=AcUiFullscreenPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcUiFullscreenPanel.js","sourceRoot":"","sources":["../../src/ui/AcUiFullscreenPanel.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,IAAM,QAAQ,GAAG,+BAA+B,CAAA;AAEhD,wEAAwE;AACxE,IAAM,iBAAiB,GAAG,sBAAsB,CAAA;AAwBhD;;;;;;;GAOG;AACH;IAcE;;OAEG;IACH,6BAAY,OAAwC;QAAxC,wBAAA,EAAA,YAAwC;QAApD,iBA6CC;;QArDgB,eAAU,GAAG,cAAM,OAAA,KAAI,CAAC,YAAY,EAAE,EAAnB,CAAmB,CAAA;QAC/C,YAAO,GAAG,KAAK,CAAA;QACf,kBAAa,GAAG,KAAK,CAAA;QACrB,WAAM,GAA8B,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAA;QAMrE,mBAAmB,CAAC,SAAS,EAAE,CAAA;QAE/B,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,CA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
4
+ * Loads a docs URL in an iframe. Portable (no i18n dependency).
5
+ */
6
+ import { AcUiFullscreenPanel, type AcUiFullscreenPanelLabels, type AcUiFullscreenPanelOptions } from './AcUiFullscreenPanel';
7
+ /** Localized chrome strings for {@link AcUiHelpPanel}. */
8
+ export type AcUiHelpPanelLabels = AcUiFullscreenPanelLabels;
9
+ /** Options for constructing {@link AcUiHelpPanel}. */
10
+ export type AcUiHelpPanelOptions = AcUiFullscreenPanelOptions;
11
+ /** Options for {@link AcUiHelpPanel.show}. */
12
+ export interface AcUiHelpPanelShowOptions {
13
+ /** Absolute docs URL loaded in the iframe. */
14
+ url: string;
15
+ /** Localized title and back aria-label. */
16
+ labels: AcUiHelpPanelLabels;
17
+ }
18
+ /**
19
+ * Mobile full-screen help overlay (nav chrome + docs iframe).
20
+ */
21
+ export declare class AcUiHelpPanel extends AcUiFullscreenPanel {
22
+ private readonly frameWrap;
23
+ private readonly iframe;
24
+ private readonly loadingEl;
25
+ private readonly onFrameLoad;
26
+ private loading;
27
+ /**
28
+ * @param options - Optional mount host for the overlay root.
29
+ */
30
+ constructor(options?: AcUiHelpPanelOptions);
31
+ /**
32
+ * Shows the panel and loads `url`.
33
+ *
34
+ * @param options - Docs URL and localized chrome labels.
35
+ */
36
+ showDocs(options: AcUiHelpPanelShowOptions): void;
37
+ /**
38
+ * Updates chrome labels without changing the open/closed state.
39
+ *
40
+ * @param labels - Localized title and back aria-label.
41
+ */
42
+ setLabels(labels: AcUiHelpPanelLabels): void;
43
+ dispose(): void;
44
+ protected onHidden(): void;
45
+ private setLoading;
46
+ private static helpStylesInjected;
47
+ private static injectHelpCss;
48
+ }
49
+ //# sourceMappingURL=AcUiHelpPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcUiHelpPanel.d.ts","sourceRoot":"","sources":["../../src/ui/AcUiHelpPanel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,mBAAmB,EACnB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAChC,MAAM,uBAAuB,CAAA;AAE9B,0DAA0D;AAC1D,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,CAAA;AAE3D,sDAAsD;AACtD,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAA;AAE7D,8CAA8C;AAC9C,MAAM,WAAW,wBAAwB;IACvC,8CAA8C;IAC9C,GAAG,EAAE,MAAM,CAAA;IACX,2CAA2C;IAC3C,MAAM,EAAE,mBAAmB,CAAA;CAC5B;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,mBAAmB;IACpD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAgB;IAC1C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAC3D,OAAO,CAAC,OAAO,CAAQ;IAEvB;;OAEG;gBACS,OAAO,GAAE,oBAAyB;IA4B9C;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI;IAcjD;;;;OAIG;IACM,SAAS,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI;IAK5C,OAAO,IAAI,IAAI;cAKL,QAAQ,IAAI,IAAI;IAMnC,OAAO,CAAC,UAAU;IAQlB,OAAO,CAAC,MAAM,CAAC,kBAAkB,CAAQ;IAEzC,OAAO,CAAC,MAAM,CAAC,aAAa;CA2D7B"}
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Full-screen help browser built on {@link AcUiFullscreenPanel}.
3
+ *
4
+ * Loads a docs URL in an iframe. Portable (no i18n dependency).
5
+ */
6
+ var __extends = (this && this.__extends) || (function () {
7
+ var extendStatics = function (d, b) {
8
+ extendStatics = Object.setPrototypeOf ||
9
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
10
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
11
+ return extendStatics(d, b);
12
+ };
13
+ return function (d, b) {
14
+ if (typeof b !== "function" && b !== null)
15
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16
+ extendStatics(d, b);
17
+ function __() { this.constructor = d; }
18
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
19
+ };
20
+ })();
21
+ var __assign = (this && this.__assign) || function () {
22
+ __assign = Object.assign || function(t) {
23
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
24
+ s = arguments[i];
25
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
26
+ t[p] = s[p];
27
+ }
28
+ return t;
29
+ };
30
+ return __assign.apply(this, arguments);
31
+ };
32
+ import { AcUiFullscreenPanel } from './AcUiFullscreenPanel';
33
+ /**
34
+ * Mobile full-screen help overlay (nav chrome + docs iframe).
35
+ */
36
+ var AcUiHelpPanel = /** @class */ (function (_super) {
37
+ __extends(AcUiHelpPanel, _super);
38
+ /**
39
+ * @param options - Optional mount host for the overlay root.
40
+ */
41
+ function AcUiHelpPanel(options) {
42
+ if (options === void 0) { options = {}; }
43
+ var _this = _super.call(this, __assign(__assign({}, options), { rootClassName: ['ml-ui-help-panel', options.rootClassName]
44
+ .filter(Boolean)
45
+ .join(' ') })) || this;
46
+ _this.onFrameLoad = function () { return _this.setLoading(false); };
47
+ _this.loading = false;
48
+ _this.frameWrap = document.createElement('div');
49
+ _this.frameWrap.className = 'ml-ui-help-panel__frame-wrap';
50
+ _this.iframe = document.createElement('iframe');
51
+ _this.iframe.className = 'ml-ui-help-panel__frame';
52
+ _this.iframe.title = 'Help';
53
+ _this.iframe.setAttribute('referrerpolicy', 'no-referrer-when-downgrade');
54
+ _this.iframe.addEventListener('load', _this.onFrameLoad);
55
+ _this.loadingEl = document.createElement('div');
56
+ _this.loadingEl.className = 'ml-ui-help-panel__loading';
57
+ _this.loadingEl.setAttribute('aria-hidden', 'true');
58
+ _this.loadingEl.innerHTML =
59
+ '<div class="ml-ui-help-panel__spinner" aria-hidden="true"></div>';
60
+ _this.frameWrap.append(_this.iframe, _this.loadingEl);
61
+ _this.bodyEl.appendChild(_this.frameWrap);
62
+ AcUiHelpPanel.injectHelpCss();
63
+ return _this;
64
+ }
65
+ /**
66
+ * Shows the panel and loads `url`.
67
+ *
68
+ * @param options - Docs URL and localized chrome labels.
69
+ */
70
+ AcUiHelpPanel.prototype.showDocs = function (options) {
71
+ this.iframe.title = options.labels.title;
72
+ var nextUrl = options.url;
73
+ var currentSrc = this.iframe.getAttribute('src');
74
+ if (currentSrc !== nextUrl) {
75
+ this.setLoading(true);
76
+ this.iframe.src = nextUrl;
77
+ }
78
+ else if (!this.loading) {
79
+ // Already showing this document — keep content visible.
80
+ this.setLoading(false);
81
+ }
82
+ this.show(options.labels);
83
+ };
84
+ /**
85
+ * Updates chrome labels without changing the open/closed state.
86
+ *
87
+ * @param labels - Localized title and back aria-label.
88
+ */
89
+ AcUiHelpPanel.prototype.setLabels = function (labels) {
90
+ this.iframe.title = labels.title;
91
+ _super.prototype.setLabels.call(this, labels);
92
+ };
93
+ AcUiHelpPanel.prototype.dispose = function () {
94
+ this.iframe.removeEventListener('load', this.onFrameLoad);
95
+ _super.prototype.dispose.call(this);
96
+ };
97
+ AcUiHelpPanel.prototype.onHidden = function () {
98
+ this.setLoading(false);
99
+ // Drop the document so a later open with the same URL still reloads if needed.
100
+ this.iframe.removeAttribute('src');
101
+ };
102
+ AcUiHelpPanel.prototype.setLoading = function (active) {
103
+ this.loading = active;
104
+ this.loadingEl.classList.toggle('is-active', active);
105
+ this.loadingEl.setAttribute('aria-hidden', active ? 'false' : 'true');
106
+ this.loadingEl.setAttribute('aria-busy', active ? 'true' : 'false');
107
+ this.rootEl.classList.toggle('is-loading', active);
108
+ };
109
+ AcUiHelpPanel.injectHelpCss = function () {
110
+ if (this.helpStylesInjected)
111
+ return;
112
+ if (typeof document === 'undefined')
113
+ return;
114
+ this.helpStylesInjected = true;
115
+ var style = document.createElement('style');
116
+ style.id = 'ml-ui-help-panel-styles';
117
+ style.textContent = "\n .ml-ui-help-panel__frame-wrap {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n background: #fff;\n }\n .ml-ui-help-panel__frame {\n flex: 1;\n width: 100%;\n min-height: 0;\n border: 0;\n background: #fff;\n opacity: 1;\n transition: opacity 0.18s ease;\n }\n .ml-ui-help-panel.is-loading .ml-ui-help-panel__frame {\n opacity: 0;\n }\n .ml-ui-help-panel__loading {\n position: absolute;\n inset: 0;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n background: var(--ml-ui-bg, var(--mlcad-ui-bg, #1c1e22));\n opacity: 0;\n visibility: hidden;\n transition: opacity 0.18s ease, visibility 0.18s ease;\n }\n .ml-ui-help-panel__loading.is-active {\n opacity: 1;\n visibility: visible;\n }\n .ml-ui-help-panel__spinner {\n box-sizing: border-box;\n width: 36px;\n height: 36px;\n border-radius: 50%;\n border: 3px solid rgba(255, 255, 255, 0.18);\n border-top-color: var(--ml-ui-accent, var(--mlcad-accent, #08e8de));\n animation: ml-ui-help-panel-spin 0.75s linear infinite;\n }\n @keyframes ml-ui-help-panel-spin {\n to { transform: rotate(360deg); }\n }\n ";
118
+ document.head.appendChild(style);
119
+ };
120
+ AcUiHelpPanel.helpStylesInjected = false;
121
+ return AcUiHelpPanel;
122
+ }(AcUiFullscreenPanel));
123
+ export { AcUiHelpPanel };
124
+ //# sourceMappingURL=AcUiHelpPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcUiHelpPanel.js","sourceRoot":"","sources":["../../src/ui/AcUiHelpPanel.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,EACL,mBAAmB,EAGpB,MAAM,uBAAuB,CAAA;AAgB9B;;GAEG;AACH;IAAmC,iCAAmB;IAOpD;;OAEG;IACH,uBAAY,OAAkC;QAAlC,wBAAA,EAAA,YAAkC;QAC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M,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;QACpD,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;QACrE,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QACnE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAA;IACpD,CAAC;IAIc,2BAAa,GAA5B;QACE,IAAI,IAAI,CAAC,kBAAkB;YAAE,OAAM;QACnC,IAAI,OAAO,QAAQ,KAAK,WAAW;YAAE,OAAM;QAC3C,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAA;QAC9B,IAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QAC7C,KAAK,CAAC,EAAE,GAAG,yBAAyB,CAAA;QACpC,KAAK,CAAC,WAAW,GAAG,28CAkDnB,CAAA;QACD,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IAClC,CAAC;IA5Dc,gCAAkB,GAAG,KAAK,AAAR,CAAQ;IA6D3C,oBAAC;CAAA,AAnJD,CAAmC,mBAAmB,GAmJrD;SAnJY,aAAa"}
@@ -0,0 +1,174 @@
1
+ /** Keyword / action chip on the mobile session panel. */
2
+ export interface AcUiMobileSessionKeyword {
3
+ /** Text shown on the chip. */
4
+ displayName: string;
5
+ /** Token passed to {@link AcUiMobileSessionPanelCallbacks.onKeyword}. */
6
+ id: string;
7
+ /** When false the chip is visible but not tappable. */
8
+ enabled: boolean;
9
+ }
10
+ /** Formatted metric strings ready to display. */
11
+ export interface AcUiMobileSessionMetricTexts {
12
+ length: string;
13
+ angle: string;
14
+ dx: string;
15
+ dy: string;
16
+ x: string;
17
+ y: string;
18
+ }
19
+ /** Localized chrome strings for the session panel. */
20
+ export interface AcUiMobileSessionPanelLabels {
21
+ length: string;
22
+ angle: string;
23
+ dx: string;
24
+ dy: string;
25
+ x: string;
26
+ y: string;
27
+ confirm: string;
28
+ cancel: string;
29
+ help: string;
30
+ back: string;
31
+ collapse: string;
32
+ expand: string;
33
+ }
34
+ /**
35
+ * Callbacks for the mobile session panel.
36
+ *
37
+ * `onConfirm` is empty-Enter / `allowNone` (panel ✓).
38
+ */
39
+ export interface AcUiMobileSessionPanelCallbacks {
40
+ onConfirm: () => void;
41
+ onCancel: () => void;
42
+ onKeyword: (id: string) => void;
43
+ }
44
+ /** Session content pushed into {@link AcUiMobileSessionPanel.show}. */
45
+ export interface AcUiMobileSessionPanelState {
46
+ prompt: string;
47
+ keywords: AcUiMobileSessionKeyword[];
48
+ allowNone: boolean;
49
+ /** When false, the metric row is hidden (actions-only). */
50
+ showMetrics: boolean;
51
+ }
52
+ /** Construction options for {@link AcUiMobileSessionPanel}. */
53
+ export interface AcUiMobileSessionPanelOptions {
54
+ /** View / canvas host that receives the overlay and CSS variables. */
55
+ host: HTMLElement;
56
+ /** Class toggled on `host` while the panel is open. */
57
+ activeClass?: string;
58
+ /** Phone layout detector (≤600px). */
59
+ isPhoneLayout: () => boolean;
60
+ /** Optional layout-change subscription used to re-place ✓/×. */
61
+ subscribeLayout?: (cb: () => void) => () => void;
62
+ /** Resolves the magnifier help docs URL for the current locale. */
63
+ helpDocsUrl: () => string;
64
+ /** Optional host for the full-screen help panel. */
65
+ helpHost?: HTMLElement | (() => HTMLElement | null);
66
+ /** Supplies localized labels (called on show / refreshLabels). */
67
+ labels: () => AcUiMobileSessionPanelLabels;
68
+ }
69
+ /**
70
+ * Shared phone/pad session chrome: bottom panel with title bar (accessory +
71
+ * help + collapse), in-panel prompt, live metrics, keyword chips, and ✓/×.
72
+ *
73
+ * Compact (collapsed) mode keeps a single-line prompt and confirm/cancel while
74
+ * hiding metrics to reclaim canvas height and cover the bottom toolbar.
75
+ */
76
+ export declare class AcUiMobileSessionPanel {
77
+ private readonly host;
78
+ private readonly activeClass;
79
+ private readonly isPhoneLayout;
80
+ private readonly subscribeLayout?;
81
+ private readonly helpDocsUrl;
82
+ private readonly helpHostOpt?;
83
+ private readonly labelsFn;
84
+ private readonly root;
85
+ private readonly panel;
86
+ private readonly accessoryEl;
87
+ private readonly accessoryContentEl;
88
+ private readonly helpBtn;
89
+ private readonly collapseBtn;
90
+ private readonly promptEl;
91
+ private readonly promptRow;
92
+ private readonly compactActions;
93
+ private readonly titleActions;
94
+ private readonly chipsEl;
95
+ private readonly absGroup;
96
+ private readonly polarGroup;
97
+ private readonly deltaGroup;
98
+ private readonly absStack;
99
+ private readonly polarStack;
100
+ private readonly deltaStack;
101
+ private readonly absActions;
102
+ private readonly polarActions;
103
+ private readonly deltaActions;
104
+ private readonly sharedActions;
105
+ private readonly cancelBtn;
106
+ private readonly confirmBtn;
107
+ private readonly metricButtons;
108
+ private helpPanel;
109
+ private callbacks;
110
+ private open;
111
+ private collapsed;
112
+ private showMetrics;
113
+ private hasBasePoint;
114
+ private frozenTexts;
115
+ private frozenHasBasePoint;
116
+ private layoutUnsub?;
117
+ private accessoryObserver?;
118
+ constructor(options: AcUiMobileSessionPanelOptions);
119
+ /** Whether the panel is currently shown. */
120
+ get isOpen(): boolean;
121
+ /** Whether the panel is in compact (collapsed) mode. */
122
+ get isCollapsed(): boolean;
123
+ /** Mount slot for custom session accessories (left of help / collapse). */
124
+ get accessoryHost(): HTMLElement;
125
+ /**
126
+ * Shows the panel for an input session.
127
+ *
128
+ * @param state - Prompt, keywords, and metric visibility.
129
+ * @param callbacks - Confirm / cancel / keyword handlers.
130
+ */
131
+ show(state: AcUiMobileSessionPanelState, callbacks: AcUiMobileSessionPanelCallbacks): void;
132
+ /**
133
+ * Updates prompt / keywords / ✓ without tearing down the session.
134
+ *
135
+ * @param partial - Fields to update; omitted fields keep current values.
136
+ */
137
+ update(partial: Partial<AcUiMobileSessionPanelState>): void;
138
+ /**
139
+ * Pushes live metric values (read-only; buttons stay disabled for keypad hook).
140
+ *
141
+ * @param hasBasePoint - Whether relative metrics apply.
142
+ * @param texts - Formatted strings for display.
143
+ */
144
+ setMetrics(hasBasePoint: boolean, texts: AcUiMobileSessionMetricTexts): void;
145
+ /** Expands or collapses the panel into compact mode. */
146
+ setCollapsed(collapsed: boolean): void;
147
+ /** Shows the accessory / title row (custom content slot + help + collapse). */
148
+ prepareAccessory(): void;
149
+ /** Clears custom accessory content; help / collapse stay while open. */
150
+ clearAccessory(): void;
151
+ /** Hides the panel and clears session callbacks. */
152
+ hide(): void;
153
+ /** Re-applies metric / action aria labels from {@link labels}. */
154
+ refreshLabels(): void;
155
+ /** Removes DOM. */
156
+ dispose(): void;
157
+ /** True when custom session widgets are mounted in the accessory slot. */
158
+ private hasAccessoryWidgets;
159
+ /**
160
+ * Places the prompt (and keyword chips) in the title row when there is no
161
+ * accessory widget; otherwise keeps them on the message row. Compact mode
162
+ * keeps widgets when present, otherwise shows a truncated prompt.
163
+ */
164
+ private syncPromptPlacement;
165
+ private refreshCollapseLabel;
166
+ private makeMetricButton;
167
+ private setMetricTexts;
168
+ private applyMetricVisibility;
169
+ private renderChips;
170
+ private openHelpPanel;
171
+ private sinkPointer;
172
+ private static injectCss;
173
+ }
174
+ //# sourceMappingURL=AcUiMobileSessionPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcUiMobileSessionPanel.d.ts","sourceRoot":"","sources":["../../src/ui/AcUiMobileSessionPanel.ts"],"names":[],"mappings":"AAOA,yDAAyD;AACzD,MAAM,WAAW,wBAAwB;IACvC,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAA;IACnB,yEAAyE;IACzE,EAAE,EAAE,MAAM,CAAA;IACV,uDAAuD;IACvD,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,iDAAiD;AACjD,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM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