@mlightcad/cad-simple-viewer 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +185 -180
  3. package/dist/cad-simple-viewer.js +17061 -12706
  4. package/dist/cad-simple-viewer.umd.cjs +981 -114
  5. package/dist/mtext-renderer-worker.js +1908 -1765
  6. package/icons.ts +7 -7
  7. package/lib/app/AcApContext.d.ts.map +1 -1
  8. package/lib/app/AcApContext.js +4 -3
  9. package/lib/app/AcApContext.js.map +1 -1
  10. package/lib/app/AcApDocManager.d.ts +38 -18
  11. package/lib/app/AcApDocManager.d.ts.map +1 -1
  12. package/lib/app/AcApDocManager.js +59 -45
  13. package/lib/app/AcApDocManager.js.map +1 -1
  14. package/lib/app/AcApOpenDatabaseOptions.d.ts +17 -1
  15. package/lib/app/AcApOpenDatabaseOptions.d.ts.map +1 -1
  16. package/lib/app/AcApOpenDatabaseOptions.js +1 -1
  17. package/lib/app/AcApOpenDatabaseOptions.js.map +1 -1
  18. package/lib/app/AcApOpenFileProgressController.d.ts +4 -2
  19. package/lib/app/AcApOpenFileProgressController.d.ts.map +1 -1
  20. package/lib/app/AcApOpenFileProgressController.js +4 -2
  21. package/lib/app/AcApOpenFileProgressController.js.map +1 -1
  22. package/lib/app/index.d.ts +1 -0
  23. package/lib/app/index.d.ts.map +1 -1
  24. package/lib/app/index.js +1 -0
  25. package/lib/app/index.js.map +1 -1
  26. package/lib/app/notification/AcApNotificationEventBridge.d.ts +130 -0
  27. package/lib/app/notification/AcApNotificationEventBridge.d.ts.map +1 -0
  28. package/lib/app/notification/AcApNotificationEventBridge.js +309 -0
  29. package/lib/app/notification/AcApNotificationEventBridge.js.map +1 -0
  30. package/lib/app/notification/AcApNotificationService.d.ts +185 -0
  31. package/lib/app/notification/AcApNotificationService.d.ts.map +1 -0
  32. package/lib/app/notification/AcApNotificationService.js +271 -0
  33. package/lib/app/notification/AcApNotificationService.js.map +1 -0
  34. package/lib/app/notification/AcApNotificationStore.d.ts +147 -0
  35. package/lib/app/notification/AcApNotificationStore.d.ts.map +1 -0
  36. package/lib/app/notification/AcApNotificationStore.js +345 -0
  37. package/lib/app/notification/AcApNotificationStore.js.map +1 -0
  38. package/lib/app/notification/AcApNotificationTypes.d.ts +195 -0
  39. package/lib/app/notification/AcApNotificationTypes.d.ts.map +1 -0
  40. package/lib/app/notification/AcApNotificationTypes.js +78 -0
  41. package/lib/app/notification/AcApNotificationTypes.js.map +1 -0
  42. package/lib/app/notification/index.d.ts +13 -0
  43. package/lib/app/notification/index.d.ts.map +1 -0
  44. package/lib/app/notification/index.js +13 -0
  45. package/lib/app/notification/index.js.map +1 -0
  46. package/lib/command/AcApInstallDrawStyleSessionAccessory.js +11 -7
  47. package/lib/command/AcApInstallDrawStyleSessionAccessory.js.map +1 -1
  48. package/lib/command/AcApSwitchBgCmd.d.ts.map +1 -1
  49. package/lib/command/AcApSwitchBgCmd.js +7 -2
  50. package/lib/command/AcApSwitchBgCmd.js.map +1 -1
  51. package/lib/command/AcApToolbarDocBind.d.ts +19 -0
  52. package/lib/command/AcApToolbarDocBind.d.ts.map +1 -0
  53. package/lib/command/AcApToolbarDocBind.js +62 -0
  54. package/lib/command/AcApToolbarDocBind.js.map +1 -0
  55. package/lib/command/convert/AcApConvertToBmpCmd.d.ts +14 -0
  56. package/lib/command/convert/AcApConvertToBmpCmd.d.ts.map +1 -0
  57. package/lib/command/convert/AcApConvertToBmpCmd.js +34 -0
  58. package/lib/command/convert/AcApConvertToBmpCmd.js.map +1 -0
  59. package/lib/command/convert/AcApConvertToJpgCmd.d.ts +14 -0
  60. package/lib/command/convert/AcApConvertToJpgCmd.d.ts.map +1 -0
  61. package/lib/command/convert/AcApConvertToJpgCmd.js +34 -0
  62. package/lib/command/convert/AcApConvertToJpgCmd.js.map +1 -0
  63. package/lib/command/convert/AcApConvertToPngCmd.d.ts +4 -36
  64. package/lib/command/convert/AcApConvertToPngCmd.d.ts.map +1 -1
  65. package/lib/command/convert/AcApConvertToPngCmd.js +4 -138
  66. package/lib/command/convert/AcApConvertToPngCmd.js.map +1 -1
  67. package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts +40 -0
  68. package/lib/command/convert/AcApConvertToRasterImageCmd.d.ts.map +1 -0
  69. package/lib/command/convert/AcApConvertToRasterImageCmd.js +161 -0
  70. package/lib/command/convert/AcApConvertToRasterImageCmd.js.map +1 -0
  71. package/lib/command/convert/{AcApPngConvertor.d.ts → AcApRasterImageConvertor.d.ts} +36 -12
  72. package/lib/command/convert/AcApRasterImageConvertor.d.ts.map +1 -0
  73. package/lib/command/convert/{AcApPngConvertor.js → AcApRasterImageConvertor.js} +163 -32
  74. package/lib/command/convert/AcApRasterImageConvertor.js.map +1 -0
  75. package/lib/command/convert/index.d.ts +4 -1
  76. package/lib/command/convert/index.d.ts.map +1 -1
  77. package/lib/command/convert/index.js +4 -1
  78. package/lib/command/convert/index.js.map +1 -1
  79. package/lib/command/index.d.ts +2 -0
  80. package/lib/command/index.d.ts.map +1 -1
  81. package/lib/command/index.js +2 -0
  82. package/lib/command/index.js.map +1 -1
  83. package/lib/command/markup/AcApMarkupCalloutCmd.d.ts.map +1 -1
  84. package/lib/command/markup/AcApMarkupCalloutCmd.js +51 -1
  85. package/lib/command/markup/AcApMarkupCalloutCmd.js.map +1 -1
  86. package/lib/command/markup/AcApMarkupCmdUtil.d.ts +5 -0
  87. package/lib/command/markup/AcApMarkupCmdUtil.d.ts.map +1 -1
  88. package/lib/command/markup/AcApMarkupCmdUtil.js +27 -9
  89. package/lib/command/markup/AcApMarkupCmdUtil.js.map +1 -1
  90. package/lib/command/markup/AcApMarkupShapeCallout.d.ts.map +1 -1
  91. package/lib/command/markup/AcApMarkupShapeCallout.js +49 -1
  92. package/lib/command/markup/AcApMarkupShapeCallout.js.map +1 -1
  93. package/lib/editor/global/AcEdUiLayout.d.ts +6 -0
  94. package/lib/editor/global/AcEdUiLayout.d.ts.map +1 -1
  95. package/lib/editor/global/AcEdUiLayout.js +6 -0
  96. package/lib/editor/global/AcEdUiLayout.js.map +1 -1
  97. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.d.ts +31 -0
  98. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.d.ts.map +1 -0
  99. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js +67 -0
  100. package/lib/editor/input/ui/AcEdCanvasTouchCalloutGuard.js.map +1 -0
  101. package/lib/editor/input/ui/AcEdFloatingInput.d.ts +2 -0
  102. package/lib/editor/input/ui/AcEdFloatingInput.d.ts.map +1 -1
  103. package/lib/editor/input/ui/AcEdFloatingInput.js +13 -2
  104. package/lib/editor/input/ui/AcEdFloatingInput.js.map +1 -1
  105. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts +6 -0
  106. package/lib/editor/input/ui/AcEdFloatingInputTypes.d.ts.map +1 -1
  107. package/lib/editor/input/ui/AcEdInputManager.d.ts.map +1 -1
  108. package/lib/editor/input/ui/AcEdInputManager.js +47 -7
  109. package/lib/editor/input/ui/AcEdInputManager.js.map +1 -1
  110. package/lib/editor/input/ui/AcEdMobileBoxGesture.d.ts.map +1 -1
  111. package/lib/editor/input/ui/AcEdMobileBoxGesture.js +2 -0
  112. package/lib/editor/input/ui/AcEdMobileBoxGesture.js.map +1 -1
  113. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts +18 -4
  114. package/lib/editor/input/ui/AcEdMobileCommandChrome.d.ts.map +1 -1
  115. package/lib/editor/input/ui/AcEdMobileCommandChrome.js +14 -0
  116. package/lib/editor/input/ui/AcEdMobileCommandChrome.js.map +1 -1
  117. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts +10 -2
  118. package/lib/editor/input/ui/AcEdSessionAccessoryController.d.ts.map +1 -1
  119. package/lib/editor/input/ui/AcEdSessionAccessoryController.js +15 -4
  120. package/lib/editor/input/ui/AcEdSessionAccessoryController.js.map +1 -1
  121. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts +1 -1
  122. package/lib/editor/input/ui/AcEdTouchPointTiming.d.ts.map +1 -1
  123. package/lib/editor/input/ui/AcEdTouchPointTiming.js +1 -1
  124. package/lib/editor/input/ui/AcEdTouchPointTiming.js.map +1 -1
  125. package/lib/editor/input/ui/index.d.ts +1 -0
  126. package/lib/editor/input/ui/index.d.ts.map +1 -1
  127. package/lib/editor/input/ui/index.js +1 -0
  128. package/lib/editor/input/ui/index.js.map +1 -1
  129. package/lib/editor/view/AcEdBaseView.d.ts +12 -0
  130. package/lib/editor/view/AcEdBaseView.d.ts.map +1 -1
  131. package/lib/editor/view/AcEdBaseView.js +19 -9
  132. package/lib/editor/view/AcEdBaseView.js.map +1 -1
  133. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts +36 -0
  134. package/lib/editor/view/AcEdSelectionBoxIntersect.d.ts.map +1 -0
  135. package/lib/editor/view/AcEdSelectionBoxIntersect.js +113 -0
  136. package/lib/editor/view/AcEdSelectionBoxIntersect.js.map +1 -0
  137. package/lib/editor/view/index.d.ts +1 -0
  138. package/lib/editor/view/index.d.ts.map +1 -1
  139. package/lib/editor/view/index.js +1 -0
  140. package/lib/editor/view/index.js.map +1 -1
  141. package/lib/i18n/AcApI18n.d.ts +2 -1
  142. package/lib/i18n/AcApI18n.d.ts.map +1 -1
  143. package/lib/i18n/AcApI18n.js +4 -1
  144. package/lib/i18n/AcApI18n.js.map +1 -1
  145. package/lib/i18n/ar/command.d.ts +9 -0
  146. package/lib/i18n/ar/command.d.ts.map +1 -1
  147. package/lib/i18n/ar/command.js +1 -1
  148. package/lib/i18n/ar/command.js.map +1 -1
  149. package/lib/i18n/ar/jig.d.ts +47 -0
  150. package/lib/i18n/ar/jig.d.ts.map +1 -1
  151. package/lib/i18n/ar/jig.js +17 -1
  152. package/lib/i18n/ar/jig.js.map +1 -1
  153. package/lib/i18n/ar/main.d.ts +30 -0
  154. package/lib/i18n/ar/main.d.ts.map +1 -1
  155. package/lib/i18n/ar/main.js +34 -4
  156. package/lib/i18n/ar/main.js.map +1 -1
  157. package/lib/i18n/cs/command.d.ts +9 -0
  158. package/lib/i18n/cs/command.d.ts.map +1 -1
  159. package/lib/i18n/cs/command.js +9 -0
  160. package/lib/i18n/cs/command.js.map +1 -1
  161. package/lib/i18n/cs/jig.d.ts +47 -0
  162. package/lib/i18n/cs/jig.d.ts.map +1 -1
  163. package/lib/i18n/cs/jig.js +47 -0
  164. package/lib/i18n/cs/jig.js.map +1 -1
  165. package/lib/i18n/cs/main.d.ts +30 -0
  166. package/lib/i18n/cs/main.d.ts.map +1 -1
  167. package/lib/i18n/cs/main.js +34 -4
  168. package/lib/i18n/cs/main.js.map +1 -1
  169. package/lib/i18n/en/command.d.ts +9 -0
  170. package/lib/i18n/en/command.d.ts.map +1 -1
  171. package/lib/i18n/en/command.js +9 -0
  172. package/lib/i18n/en/command.js.map +1 -1
  173. package/lib/i18n/en/jig.d.ts +47 -0
  174. package/lib/i18n/en/jig.d.ts.map +1 -1
  175. package/lib/i18n/en/jig.js +47 -0
  176. package/lib/i18n/en/jig.js.map +1 -1
  177. package/lib/i18n/en/main.d.ts +30 -0
  178. package/lib/i18n/en/main.d.ts.map +1 -1
  179. package/lib/i18n/en/main.js +34 -4
  180. package/lib/i18n/en/main.js.map +1 -1
  181. package/lib/i18n/index.d.ts +2 -2
  182. package/lib/i18n/index.d.ts.map +1 -1
  183. package/lib/i18n/index.js.map +1 -1
  184. package/lib/i18n/tr/command.d.ts +9 -0
  185. package/lib/i18n/tr/command.d.ts.map +1 -1
  186. package/lib/i18n/tr/command.js +9 -0
  187. package/lib/i18n/tr/command.js.map +1 -1
  188. package/lib/i18n/tr/jig.d.ts +47 -0
  189. package/lib/i18n/tr/jig.d.ts.map +1 -1
  190. package/lib/i18n/tr/jig.js +47 -0
  191. package/lib/i18n/tr/jig.js.map +1 -1
  192. package/lib/i18n/tr/main.d.ts +30 -0
  193. package/lib/i18n/tr/main.d.ts.map +1 -1
  194. package/lib/i18n/tr/main.js +34 -4
  195. package/lib/i18n/tr/main.js.map +1 -1
  196. package/lib/i18n/zh/command.d.ts +9 -0
  197. package/lib/i18n/zh/command.d.ts.map +1 -1
  198. package/lib/i18n/zh/command.js +9 -0
  199. package/lib/i18n/zh/command.js.map +1 -1
  200. package/lib/i18n/zh/jig.d.ts +47 -0
  201. package/lib/i18n/zh/jig.d.ts.map +1 -1
  202. package/lib/i18n/zh/jig.js +47 -0
  203. package/lib/i18n/zh/jig.js.map +1 -1
  204. package/lib/i18n/zh/main.d.ts +30 -0
  205. package/lib/i18n/zh/main.d.ts.map +1 -1
  206. package/lib/i18n/zh/main.js +34 -4
  207. package/lib/i18n/zh/main.js.map +1 -1
  208. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts +6 -0
  209. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.d.ts.map +1 -1
  210. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js +10 -0
  211. package/lib/spatialIndex/AcTrHierarchicalSpatialIndex.js.map +1 -1
  212. package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts +4 -0
  213. package/lib/spatialIndex/AcTrLinearSpatialIndex.d.ts.map +1 -1
  214. package/lib/spatialIndex/AcTrLinearSpatialIndex.js +9 -0
  215. package/lib/spatialIndex/AcTrLinearSpatialIndex.js.map +1 -1
  216. package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts +4 -0
  217. package/lib/spatialIndex/AcTrRBushSpatialIndex.d.ts.map +1 -1
  218. package/lib/spatialIndex/AcTrRBushSpatialIndex.js +9 -0
  219. package/lib/spatialIndex/AcTrRBushSpatialIndex.js.map +1 -1
  220. package/lib/ui/AcUiDefaultNotificationUi.d.ts +167 -0
  221. package/lib/ui/AcUiDefaultNotificationUi.d.ts.map +1 -0
  222. package/lib/ui/AcUiDefaultNotificationUi.js +603 -0
  223. package/lib/ui/AcUiDefaultNotificationUi.js.map +1 -0
  224. package/lib/ui/AcUiDrawStyle.d.ts +2 -1
  225. package/lib/ui/AcUiDrawStyle.d.ts.map +1 -1
  226. package/lib/ui/AcUiDrawStyle.js +2 -1
  227. package/lib/ui/AcUiDrawStyle.js.map +1 -1
  228. package/lib/ui/AcUiDrawStyleSessionAccessory.d.ts.map +1 -1
  229. package/lib/ui/AcUiDrawStyleSessionAccessory.js +5 -1
  230. package/lib/ui/AcUiDrawStyleSessionAccessory.js.map +1 -1
  231. package/lib/ui/AcUiMobileSessionPanel.d.ts +73 -8
  232. package/lib/ui/AcUiMobileSessionPanel.d.ts.map +1 -1
  233. package/lib/ui/AcUiMobileSessionPanel.js +314 -49
  234. package/lib/ui/AcUiMobileSessionPanel.js.map +1 -1
  235. package/lib/ui/AcUiShortCutToolbar.d.ts +24 -0
  236. package/lib/ui/AcUiShortCutToolbar.d.ts.map +1 -1
  237. package/lib/ui/AcUiShortCutToolbar.js +73 -5
  238. package/lib/ui/AcUiShortCutToolbar.js.map +1 -1
  239. package/lib/ui/index.d.ts +2 -0
  240. package/lib/ui/index.d.ts.map +1 -1
  241. package/lib/ui/index.js +2 -0
  242. package/lib/ui/index.js.map +1 -1
  243. package/lib/ui/toolbar/AcUiDropdownMenu.d.ts +48 -0
  244. package/lib/ui/toolbar/AcUiDropdownMenu.d.ts.map +1 -0
  245. package/lib/ui/toolbar/AcUiDropdownMenu.js +116 -0
  246. package/lib/ui/toolbar/AcUiDropdownMenu.js.map +1 -0
  247. package/lib/ui/toolbar/AcUiSubToolbar.d.ts +125 -0
  248. package/lib/ui/toolbar/AcUiSubToolbar.d.ts.map +1 -0
  249. package/lib/ui/toolbar/AcUiSubToolbar.js +625 -0
  250. package/lib/ui/toolbar/AcUiSubToolbar.js.map +1 -0
  251. package/lib/ui/toolbar/AcUiToolbar.d.ts +446 -0
  252. package/lib/ui/toolbar/AcUiToolbar.d.ts.map +1 -0
  253. package/lib/ui/toolbar/AcUiToolbar.js +1550 -0
  254. package/lib/ui/toolbar/AcUiToolbar.js.map +1 -0
  255. package/lib/ui/toolbar/AcUiToolbarStyles.d.ts +20 -0
  256. package/lib/ui/toolbar/AcUiToolbarStyles.d.ts.map +1 -0
  257. package/lib/ui/toolbar/AcUiToolbarStyles.js +34 -0
  258. package/lib/ui/toolbar/AcUiToolbarStyles.js.map +1 -0
  259. package/lib/ui/toolbar/acuiWrapPackLayout.d.ts +19 -0
  260. package/lib/ui/toolbar/acuiWrapPackLayout.d.ts.map +1 -0
  261. package/lib/ui/toolbar/acuiWrapPackLayout.js +36 -0
  262. package/lib/ui/toolbar/acuiWrapPackLayout.js.map +1 -0
  263. package/lib/ui/toolbar/index.d.ts +19 -0
  264. package/lib/ui/toolbar/index.d.ts.map +1 -0
  265. package/lib/ui/toolbar/index.js +15 -0
  266. package/lib/ui/toolbar/index.js.map +1 -0
  267. package/lib/ui/toolbar/resolveToolbarChrome.d.ts +14 -0
  268. package/lib/ui/toolbar/resolveToolbarChrome.d.ts.map +1 -0
  269. package/lib/ui/toolbar/resolveToolbarChrome.js +35 -0
  270. package/lib/ui/toolbar/resolveToolbarChrome.js.map +1 -0
  271. package/lib/ui/toolbar/resolveToolbarItemState.d.ts +63 -0
  272. package/lib/ui/toolbar/resolveToolbarItemState.d.ts.map +1 -0
  273. package/lib/ui/toolbar/resolveToolbarItemState.js +171 -0
  274. package/lib/ui/toolbar/resolveToolbarItemState.js.map +1 -0
  275. package/lib/ui/toolbar/toolbarItemUtils.d.ts +62 -0
  276. package/lib/ui/toolbar/toolbarItemUtils.d.ts.map +1 -0
  277. package/lib/ui/toolbar/toolbarItemUtils.js +184 -0
  278. package/lib/ui/toolbar/toolbarItemUtils.js.map +1 -0
  279. package/lib/ui/toolbar/types.d.ts +268 -0
  280. package/lib/ui/toolbar/types.d.ts.map +1 -0
  281. package/lib/ui/toolbar/types.js +8 -0
  282. package/lib/ui/toolbar/types.js.map +1 -0
  283. package/lib/ui-html-entry.d.ts +8 -1
  284. package/lib/ui-html-entry.d.ts.map +1 -1
  285. package/lib/ui-html-entry.js +6 -1
  286. package/lib/ui-html-entry.js.map +1 -1
  287. package/lib/util/AcApAnalyzeUnsupportedDrawing.d.ts +53 -0
  288. package/lib/util/AcApAnalyzeUnsupportedDrawing.d.ts.map +1 -0
  289. package/lib/util/AcApAnalyzeUnsupportedDrawing.js +164 -0
  290. package/lib/util/AcApAnalyzeUnsupportedDrawing.js.map +1 -0
  291. package/lib/util/AcApFormatFontMissedMessage.d.ts +32 -0
  292. package/lib/util/AcApFormatFontMissedMessage.d.ts.map +1 -0
  293. package/lib/util/AcApFormatFontMissedMessage.js +46 -0
  294. package/lib/util/AcApFormatFontMissedMessage.js.map +1 -0
  295. package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts +44 -0
  296. package/lib/util/AcApFormatUnsupportedEntitiesMessage.d.ts.map +1 -0
  297. package/lib/util/AcApFormatUnsupportedEntitiesMessage.js +105 -0
  298. package/lib/util/AcApFormatUnsupportedEntitiesMessage.js.map +1 -0
  299. package/lib/util/index.d.ts +3 -0
  300. package/lib/util/index.d.ts.map +1 -1
  301. package/lib/util/index.js +3 -0
  302. package/lib/util/index.js.map +1 -1
  303. package/lib/view/AcTrLayer.d.ts +13 -1
  304. package/lib/view/AcTrLayer.d.ts.map +1 -1
  305. package/lib/view/AcTrLayer.js +28 -11
  306. package/lib/view/AcTrLayer.js.map +1 -1
  307. package/lib/view/AcTrLayout.d.ts +17 -2
  308. package/lib/view/AcTrLayout.d.ts.map +1 -1
  309. package/lib/view/AcTrLayout.js +44 -3
  310. package/lib/view/AcTrLayout.js.map +1 -1
  311. package/lib/view/AcTrScene.d.ts +4 -0
  312. package/lib/view/AcTrScene.d.ts.map +1 -1
  313. package/lib/view/AcTrScene.js +6 -0
  314. package/lib/view/AcTrScene.js.map +1 -1
  315. package/lib/view/AcTrView2d.d.ts +93 -14
  316. package/lib/view/AcTrView2d.d.ts.map +1 -1
  317. package/lib/view/AcTrView2d.js +382 -102
  318. package/lib/view/AcTrView2d.js.map +1 -1
  319. package/package.json +8 -8
  320. package/src/ui/icons.ts +387 -387
  321. package/lib/command/convert/AcApPngConvertor.d.ts.map +0 -1
  322. package/lib/command/convert/AcApPngConvertor.js.map +0 -1
@@ -0,0 +1,446 @@
1
+ /**
2
+ * Plain-DOM floating toolbar with sub-toolbars, dropdown menus, and toggles.
3
+ *
4
+ * Document open / open-mode state is injected via {@link AcUiToolbar.setDocState}
5
+ * or {@link acapBindToolbarDocState} — this module never imports DocManager.
6
+ *
7
+ * @module AcUiToolbar
8
+ * @packageDocumentation
9
+ */
10
+ import type { AcUiSubToolbarOptions, AcUiToolbarDocState, AcUiToolbarI18n, AcUiToolbarItem, AcUiToolbarOverflow, AcUiToolbarPlacement, AcUiToolbarSize } from './types';
11
+ /** Constructor / runtime mount options for {@link AcUiToolbar}. */
12
+ export interface AcUiToolbarMountOptions {
13
+ /** Viewer canvas element that receives the toolbar root node. */
14
+ host: HTMLElement;
15
+ /** Theme host for dropdown menus; defaults to {@link host}. */
16
+ themeHost?: HTMLElement;
17
+ /** Edge placement of the toolbar. */
18
+ placement: AcUiToolbarPlacement;
19
+ /** Toolbar item definitions to render. */
20
+ items: AcUiToolbarItem[];
21
+ /** i18n helper for button labels and tooltips. */
22
+ i18n: AcUiToolbarI18n;
23
+ /** Invoked when a leaf item with a `command` is activated. */
24
+ onCommand: (command: string) => void;
25
+ /** When true, append a collapse/expand toggle at the end of the toolbar. */
26
+ collapsible?: boolean;
27
+ /** Initial collapsed state when {@link collapsible} is true. */
28
+ defaultCollapsed?: boolean;
29
+ /** Invoked when the toolbar is collapsed (e.g. close the dock panel). */
30
+ onCollapse?: () => void;
31
+ /** Distance from the canvas edge in px. @default 8 */
32
+ edgeOffset?: number;
33
+ /**
34
+ * Minimum inset from host edges orthogonal to {@link edgeOffset} in px.
35
+ * @default 0
36
+ */
37
+ sideOffset?: number;
38
+ /** When true, render button labels below icons (phone bottom bar). */
39
+ showLabels?: boolean;
40
+ /** Sizing along the layout axis: `auto` or `stretch` to fill host width/height. */
41
+ size?: AcUiToolbarSize;
42
+ /**
43
+ * Overflow behavior when buttons exceed the host bounds.
44
+ * @default 'menu'
45
+ */
46
+ overflow?: AcUiToolbarOverflow;
47
+ /** When false, hides the toolbar container border line. @default true */
48
+ showBorder?: boolean;
49
+ /**
50
+ * When true, each button draws a permanent outer border.
51
+ * @default false
52
+ */
53
+ showButtonBorder?: boolean;
54
+ /** When false, omits visual separators between toolbar groups. @default true */
55
+ showSeparators?: boolean;
56
+ /**
57
+ * When true, parent buttons with children show a corner triangle.
58
+ * @default true
59
+ */
60
+ showChildrenIndicator?: boolean;
61
+ /** Sub-toolbar chrome and position overrides; unset chrome inherits from this toolbar. */
62
+ subToolbar?: AcUiSubToolbarOptions;
63
+ /**
64
+ * When true, sit as a flex sibling of the canvas inside the mount host instead
65
+ * of floating over the drawing. @default false
66
+ */
67
+ inCanvasParent?: boolean;
68
+ /**
69
+ * Positioning host for sub-toolbars / strips. Defaults to {@link host}.
70
+ * Use a larger ancestor (for example the viewer root) when the mount host is
71
+ * only as tall as a phone bottom bar so strips can sit above the main bar.
72
+ */
73
+ overlayHost?: HTMLElement;
74
+ /**
75
+ * Called when a sub-toolbar or menu opens and
76
+ * {@link AcUiSubToolbarOptions.replaceOnNested} is true, so callers can hide
77
+ * mutually exclusive chrome such as the dock panel.
78
+ */
79
+ onExclusiveOpen?: () => void;
80
+ /**
81
+ * Optional initial document state. Prefer {@link AcUiToolbar.setDocState} or
82
+ * {@link acapBindToolbarDocState} after construction.
83
+ */
84
+ docState?: Partial<AcUiToolbarDocState>;
85
+ }
86
+ export declare class AcUiToolbar {
87
+ private options;
88
+ /** Canvas element receiving the toolbar root node. */
89
+ private mountHost;
90
+ /** Host element used for themed dropdown menus. */
91
+ private themeHost;
92
+ /** Root toolbar container appended to the mount host. */
93
+ private root;
94
+ /** Currently open popover submenu, if any. */
95
+ private openDropdown?;
96
+ /** Currently open icon sub-toolbar, if any. */
97
+ private openSubToolbar?;
98
+ /** Nested sub-toolbar opened from a strip item (e.g. locale under settings). */
99
+ private openNestedSubToolbar?;
100
+ /** Parent item id of the open children UI. */
101
+ private openParentId?;
102
+ /** Sticky sub-toolbar parent id restored after a full re-render. */
103
+ private stickyParentId?;
104
+ /** Parent button currently marked as expanded. */
105
+ private openParentButton?;
106
+ /** Whether the toolbar is globally disabled during document open. */
107
+ private isDisabled;
108
+ /** Current document open mode used for item visibility. */
109
+ private openMode;
110
+ /** Whether an active document is loaded. */
111
+ private hasDocument;
112
+ /** Item list last passed to {@link updateItems} or the constructor. */
113
+ private items;
114
+ /** Runtime submenu selection for parents with {@link AcUiToolbarItem.childIcon} `'selected'`. */
115
+ private selectedChildByParent;
116
+ /** Whether the toolbar is collapsed to show only the toggle button. */
117
+ private collapsed;
118
+ /** Whether the toolbar root is shown. */
119
+ private visible;
120
+ /** Inset from the canvas edge in px. */
121
+ private edgeOffset;
122
+ /** Cross-axis inset from host edges orthogonal to placement. */
123
+ private sideOffset;
124
+ /** Whether the toolbar container border is shown. */
125
+ private showBorder;
126
+ /** Whether each toolbar button draws a permanent outer border. */
127
+ private showButtonBorder;
128
+ /** Whether separator dividers are rendered between toolbar groups. */
129
+ private showSeparators;
130
+ /** Whether parent buttons with children show a corner triangle. */
131
+ private showChildrenIndicator;
132
+ /**
133
+ * When true, the toolbar is a flex sibling of the canvas rather than an overlay.
134
+ */
135
+ private inCanvasParent;
136
+ /** Canvas-slot wrapper used when {@link inCanvasParent} is enabled. */
137
+ private toolbarMain?;
138
+ /** Flex host that currently owns the in-canvas-parent layout classes. */
139
+ private inParentHost?;
140
+ /** Keeps the toolbar inside the canvas when the host is resized. */
141
+ private resizeObserver?;
142
+ private layoutFrame?;
143
+ /** Overflow ⋯ button (menu overflow mode). */
144
+ private readonly overflowButton;
145
+ /** Dropdown listing items that did not fit in the toolbar. */
146
+ private overflowDropdown?;
147
+ /** Items currently hidden behind the overflow menu. */
148
+ private overflowItems;
149
+ /** Whether menu overflow is showing the ⋯ button (used for vertical positioning). */
150
+ private overflowMenuActive;
151
+ /** Toolbar item nodes rendered in the last {@link renderButtons} pass. */
152
+ private renderedEntries;
153
+ /**
154
+ * @param options - Host, placement, items, i18n, and command callback.
155
+ */
156
+ constructor(options: AcUiToolbarMountOptions);
157
+ /**
158
+ * Updates document-related enablement and open-mode filtering.
159
+ *
160
+ * Hosts with DocManager should use {@link acapBindToolbarDocState}. Offline
161
+ * HTML / custom hosts call this directly.
162
+ *
163
+ * @param state - Partial document state to merge.
164
+ */
165
+ setDocState(state: Partial<AcUiToolbarDocState>): void;
166
+ /**
167
+ * Replaces the toolbar item list and re-renders buttons.
168
+ *
169
+ * @param items - New toolbar items.
170
+ */
171
+ updateItems(items: AcUiToolbarItem[]): void;
172
+ /**
173
+ * Applies layout-driven view options (placement, chrome flags, items).
174
+ *
175
+ * Used by {@link AcApSimpleUiPlugin} when switching phone / pad / desktop
176
+ * layouts without recreating the toolbar instance.
177
+ *
178
+ * @param view - Partial toolbar view state to merge.
179
+ */
180
+ applyViewOptions(view: Partial<Pick<AcUiToolbarMountOptions, 'placement' | 'edgeOffset' | 'sideOffset' | 'collapsible' | 'defaultCollapsed' | 'showLabels' | 'size' | 'overflow' | 'showBorder' | 'showButtonBorder' | 'showSeparators' | 'showChildrenIndicator' | 'subToolbar' | 'items' | 'inCanvasParent'>>): void;
181
+ /** Re-renders buttons (e.g. after locale or theme change). */
182
+ refresh(): void;
183
+ /** Updates button labels and tooltips after locale change. */
184
+ refreshLocale(): void;
185
+ /**
186
+ * Whether nested strips and dock panels replace an open ancestor strip.
187
+ *
188
+ * @see {@link AcUiSubToolbarOptions.replaceOnNested}
189
+ */
190
+ get replaceOnNested(): boolean;
191
+ /** Closes any open dropdown or sub-toolbar. */
192
+ dismissOpenChildren(): void;
193
+ /** Notifies the host to hide mutually exclusive chrome (e.g. dock panels). */
194
+ private notifyExclusiveOpen;
195
+ /**
196
+ * Moves the toolbar to another host edge and updates orientation classes.
197
+ *
198
+ * @param placement - Target edge placement.
199
+ */
200
+ setPlacement(placement: AcUiToolbarPlacement): void;
201
+ /** Current inset from the canvas edge in px. */
202
+ getEdgeOffset(): number;
203
+ /**
204
+ * Sets the inset from the canvas edge and reclamps toolbar position.
205
+ *
206
+ * @param offset - Distance in px (clamped to >= 0).
207
+ */
208
+ setEdgeOffset(offset: number): void;
209
+ /** Current cross-axis inset from host edges in px. */
210
+ getSideOffset(): number;
211
+ /**
212
+ * Sets the cross-axis inset from host edges and reclamps toolbar position.
213
+ *
214
+ * @param offset - Distance in px (clamped to >= 0).
215
+ */
216
+ setSideOffset(offset: number): void;
217
+ /** Resolved chrome options for sub-toolbars. */
218
+ resolveSubToolbarChrome(): import("./resolveToolbarChrome").AcUiResolvedToolbarChrome;
219
+ /**
220
+ * Cross-axis host margins for wrap sizing and sub-toolbar clamping.
221
+ *
222
+ * Horizontal toolbars use {@link sideOffset} on the top/bottom edges; vertical
223
+ * toolbars use it on the left/right edges. The dock edge keeps
224
+ * {@link edgeOffset}.
225
+ */
226
+ getCrossAxisInset(): {
227
+ near: number;
228
+ far: number;
229
+ };
230
+ /**
231
+ * Moves the toolbar to another canvas mount element.
232
+ *
233
+ * @param newHost - New canvas container.
234
+ */
235
+ reparentTo(newHost: HTMLElement): void;
236
+ /**
237
+ * Re-applies in-canvas-parent flex layout after the dock panel wraps or
238
+ * reparents the canvas slot.
239
+ */
240
+ syncInParentLayout(): void;
241
+ /**
242
+ * Sets the active submenu child for a parent button.
243
+ *
244
+ * @param parentId - Parent toolbar item id.
245
+ * @param childId - Selected child item id.
246
+ */
247
+ setSelectedChild(parentId: string, childId: string): void;
248
+ /** Current toolbar edge placement. */
249
+ get placement(): AcUiToolbarPlacement;
250
+ /** Whether the toolbar is collapsed to the toggle button only. */
251
+ get isCollapsed(): boolean;
252
+ /** Whether the toolbar root is visible. */
253
+ get isVisible(): boolean;
254
+ /** Whether the toolbar root node is still attached to the document. */
255
+ isRootConnected(): boolean;
256
+ /**
257
+ * Shows or hides the entire toolbar.
258
+ *
259
+ * @param visible - Target visibility.
260
+ */
261
+ setVisible(visible: boolean): void;
262
+ /**
263
+ * Returns the layer toolbar button, expanding a collapsed toolbar first.
264
+ */
265
+ getLayerButtonAnchor(): HTMLElement | undefined;
266
+ /**
267
+ * Sets collapsed state without toggling.
268
+ *
269
+ * @param collapsed - Target collapsed state.
270
+ */
271
+ setCollapsed(collapsed: boolean): void;
272
+ /** Closes dropdowns and detaches the toolbar DOM. */
273
+ destroy(): void;
274
+ /** Whether the toolbar stretches along its layout axis. */
275
+ private isStretchSize;
276
+ /**
277
+ * Returns the CSS orientation class suffix for the current placement.
278
+ *
279
+ * @returns `'vertical'` for left/right, `'horizontal'` for top/bottom.
280
+ */
281
+ private getOrientationClass;
282
+ /** Applies placement, collapsed, and disabled classes on the root element. */
283
+ private syncRootClasses;
284
+ /** Appends icon and optional label content to a toolbar button. */
285
+ private populateButtonContent;
286
+ /** Toggles collapsed state when {@link AcUiToolbarMountOptions.collapsible} is enabled. */
287
+ private toggleCollapsed;
288
+ /**
289
+ * Chevron for the collapse toggle: vertical placements use up/down;
290
+ * horizontal placements (top/bottom) use left/right.
291
+ */
292
+ private getCollapseToggleIcon;
293
+ /** Updates collapse toggle icon and labels after locale or state changes. */
294
+ private syncCollapseToggleButton;
295
+ /** Appends separator and collapse toggle when collapsible mode is enabled. */
296
+ private appendCollapseToggle;
297
+ /** Rebuilds all toolbar buttons from {@link items}. */
298
+ private renderButtons;
299
+ /**
300
+ * Runs a toolbar item action or opens its children UI.
301
+ *
302
+ * @param item - Source toolbar item definition.
303
+ * @param anchor - Button element used as the submenu anchor.
304
+ */
305
+ private activateToolbarItem;
306
+ /** Syncs overflow button tooltip with the active locale. */
307
+ private syncOverflowButtonLabels;
308
+ /** Applies overflow menu or wrap constraints after render or resize. */
309
+ private applyOverflowLayout;
310
+ /** Constrains wrap layout to the mount host and allows multi-row/column flow. */
311
+ private applyOverflowWrapLayout;
312
+ /** Returns the measured size of a toolbar child along the layout axis. */
313
+ private getEntryAxisSize;
314
+ /** Hides overflowing items behind a ⋯ menu button. */
315
+ private applyOverflowMenuLayout;
316
+ /** Forces layout so axis measurements reflect the current DOM state. */
317
+ private flushToolbarAxisMeasure;
318
+ /**
319
+ * Intrinsic axis size for overflow-menu decisions (padding + visible children).
320
+ *
321
+ * Stretch chrome forces the root box to the host size, so {@link getToolbarAxisSize}
322
+ * cannot detect overflow. This sums unstretched child sizes instead.
323
+ */
324
+ private getToolbarOverflowMeasureSize;
325
+ /**
326
+ * Returns the toolbar root size along the layout axis (padding and chrome included).
327
+ *
328
+ * Uses live layout metrics; falls back to child summation in test environments.
329
+ */
330
+ private getToolbarAxisSize;
331
+ /** Returns the host axis limit for toolbar content (inside edge offsets). */
332
+ private getOverflowHostLimit;
333
+ /** Opens or closes the overflow dropdown menu. */
334
+ private toggleOverflowMenu;
335
+ /** Closes the overflow dropdown when open. */
336
+ private closeOverflowMenu;
337
+ private ensureMountHostLayout;
338
+ /**
339
+ * Flex container used for overflow and in-canvas-parent sizing.
340
+ *
341
+ * Overlay toolbars measure the mount host. In-canvas-parent toolbars measure
342
+ * the canvas-slot flex host so the bar tracks the drawing area, not the
343
+ * outer dock chrome.
344
+ */
345
+ private getLayoutHost;
346
+ /**
347
+ * Positioning host for sub-toolbars: optional {@link AcUiToolbarMountOptions.overlayHost},
348
+ * otherwise the canvas slot when in-canvas-parent so strips overlay the drawing,
349
+ * otherwise {@link mountHost}.
350
+ */
351
+ private getOverlayHost;
352
+ private static readonly IN_PARENT_HOST_CLASSES;
353
+ /**
354
+ * Wraps canvas children and places the toolbar as a flex sibling when
355
+ * {@link inCanvasParent} is enabled. Prefers an existing dock-main slot so
356
+ * dock side changes do not pull the toolbar onto the dock axis.
357
+ */
358
+ private ensureInParentLayout;
359
+ /** Dock-main when present, otherwise the toolbar mount host. */
360
+ private resolveInParentWrapRoot;
361
+ private applyInParentHostClasses;
362
+ private clearInParentHostClasses;
363
+ private shouldSkipInParentMove;
364
+ private ensureToolbarMainWrapper;
365
+ private placeToolbarInWrapRoot;
366
+ /**
367
+ * Unwraps the canvas slot and restores overlay mounting.
368
+ *
369
+ * @param options.keepRoot - When true, leaves the toolbar root in the DOM.
370
+ */
371
+ private releaseInParentLayout;
372
+ private releaseToolbarMainWrapper;
373
+ private clearInParentOffsetStyles;
374
+ private setupResizeObserver;
375
+ private scheduleSyncPosition;
376
+ /** Positions the toolbar inside the canvas, clamped to the current host bounds. */
377
+ private syncPosition;
378
+ /**
379
+ * Applies edge/side offsets as margins so an in-canvas-parent toolbar sits
380
+ * against the canvas without overlay positioning.
381
+ */
382
+ private applyInParentPosition;
383
+ /** Seeds submenu selection from {@link AcUiToolbarItem.selectedChildId}. */
384
+ private seedSelectedChildren;
385
+ /**
386
+ * Resolves visible strip children, applying {@link acuiResolveParentToolbarDisplay}
387
+ * so nested parents (e.g. toolbar placement under settings) show the active
388
+ * child icon.
389
+ */
390
+ private resolveStripChildItems;
391
+ /** Closes any open dropdown or sub-toolbar and clears parent expanded state. */
392
+ private closeChildrenUi;
393
+ /** Removes `is-open` / `aria-expanded` from the last expanded parent button. */
394
+ private clearParentOpenState;
395
+ /**
396
+ * Marks a parent button as expanded while its children UI is open.
397
+ *
398
+ * @param button - Parent toolbar button.
399
+ */
400
+ private markParentOpen;
401
+ /**
402
+ * Opens a dropdown or sub-toolbar for a parent item.
403
+ *
404
+ * @param item - Parent toolbar item.
405
+ * @param button - Parent button used as the anchor.
406
+ * @param visibleChildren - Filtered, effective child items.
407
+ */
408
+ private openChildrenUi;
409
+ /**
410
+ * Re-opens a sticky sub-toolbar after the main toolbar is rebuilt.
411
+ *
412
+ * @param parentId - Parent item id that was sticky-open.
413
+ */
414
+ private openStickyChildrenByParentId;
415
+ /**
416
+ * Handles a sub-toolbar item click, opening nested strips when needed.
417
+ *
418
+ * @param stripParent - Root parent item that owns the first-level strip.
419
+ * @param child - Sub-toolbar item that was activated.
420
+ * @param button - Anchor button for nested UI positioning.
421
+ * @param stripSticky - Whether the first-level strip is sticky.
422
+ */
423
+ private handleSubToolbarSelect;
424
+ /**
425
+ * Opens a nested icon strip or dropdown for a sub-toolbar parent
426
+ * (e.g. locale under settings on the phone toolbar).
427
+ *
428
+ * @param item - Parent item with nested children.
429
+ * @param button - Sub-toolbar button used as the nested anchor.
430
+ * @param visibleChildren - Filtered child items to show.
431
+ * @param stripParent - First-level strip parent (for refresh after nested select).
432
+ * @param stripSticky - Whether the first-level strip is sticky.
433
+ */
434
+ private openNestedSubToolbarUi;
435
+ /** Closes the nested sub-toolbar opened from a parent strip item. */
436
+ private closeNestedSubToolbar;
437
+ /**
438
+ * Runs a child item's action/command and refreshes parent/child UI as needed.
439
+ *
440
+ * @param parent - Parent toolbar item.
441
+ * @param child - Selected child item.
442
+ * @param sticky - Whether the child UI should stay open.
443
+ */
444
+ private activateChild;
445
+ }
446
+ //# sourceMappingURL=AcUiToolbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcUiToolbar.d.ts","sourceRoot":"","sources":["../../../src/ui/toolbar/AcUiToolbar.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA4BH,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EAChB,MAAM,SAAS,CAAA;AAEhB,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,iEAAiE;IACjE,IAAI,EAAE,WAAW,CAAA;IACjB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,qCAAqC;IACrC,SAAS,EAAE,oBAAoB,CAAA;IAC/B,0CAA0C;IAC1C,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,kDAAkD;IAClD,IAAI,EAAE,eAAe,CAAA;IACrB,8DAA8D;IAC9D,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gEAAgE;IAChE,gBAAgB,CAAC,EA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